Searched refs:tuple (Results 1 - 15 of 15) sorted by relevance

/drivers/pcmcia/
H A Dpcmcia_cis.c30 * pccard_read_tuple() - internal CIS tuple access
34 * @parse: buffer where the tuple shall be parsed (or NULL, if no parse)
36 * pccard_read_tuple() reads out one tuple and attempts to parse it
41 tuple_t tuple; local
47 dev_printk(KERN_WARNING, &s->dev, "no memory to read tuple\n");
50 tuple.DesiredTuple = code;
51 tuple.Attributes = 0;
53 tuple.Attributes = TUPLE_RETURN_COMMON;
54 ret = pccard_get_first_tuple(s, function, &tuple);
57 tuple
85 pccard_loop_tuple(struct pcmcia_socket *s, unsigned int function, cisdata_t code, cisparse_t *parse, void *priv_data, int (*loop_tuple) (tuple_t *tuple, cisparse_t *parse, void *priv_data)) argument
91 tuple_t tuple; local
157 pcmcia_do_loop_config(tuple_t *tuple, cisparse_t *parse, void *priv) argument
303 pcmcia_do_loop_tuple(tuple_t *tuple, cisparse_t *parse, void *priv) argument
322 pcmcia_loop_tuple(struct pcmcia_device *p_dev, cisdata_t code, int (*loop_tuple) (struct pcmcia_device *p_dev, tuple_t *tuple, void *priv_data), void *priv_data) argument
353 pcmcia_do_get_tuple(struct pcmcia_device *p_dev, tuple_t *tuple, void *priv) argument
401 pcmcia_do_get_mac(struct pcmcia_device *p_dev, tuple_t *tuple, void *priv) argument
[all...]
H A Dcistpl.c432 /* The high-level CIS tuple services */
447 tuple_t *tuple)
454 tuple->TupleLink = tuple->Flags = 0;
457 tuple->CISOffset = tuple->LinkOffset = 0;
458 SPACE(tuple->Flags) = HAS_LINK(tuple->Flags) = 1;
460 if ((s->functions > 1) && !(tuple->Attributes & TUPLE_RETURN_COMMON)) {
461 cisdata_t req = tuple
446 pccard_get_first_tuple(struct pcmcia_socket *s, unsigned int function, tuple_t *tuple) argument
474 follow_link(struct pcmcia_socket *s, tuple_t *tuple) argument
521 pccard_get_next_tuple(struct pcmcia_socket *s, unsigned int function, tuple_t *tuple) argument
633 pccard_get_tuple_data(struct pcmcia_socket *s, tuple_t *tuple) argument
659 parse_device(tuple_t *tuple, cistpl_device_t *device) argument
720 parse_checksum(tuple_t *tuple, cistpl_checksum_t *csum) argument
733 parse_longlink(tuple_t *tuple, cistpl_longlink_t *link) argument
742 parse_longlink_mfc(tuple_t *tuple, cistpl_longlink_mfc_t *link) argument
793 parse_vers_1(tuple_t *tuple, cistpl_vers_1_t *vers_1) argument
810 parse_altstr(tuple_t *tuple, cistpl_altstr_t *altstr) argument
822 parse_jedec(tuple_t *tuple, cistpl_jedec_t *jedec) argument
842 parse_manfid(tuple_t *tuple, cistpl_manfid_t *m) argument
852 parse_funcid(tuple_t *tuple, cistpl_funcid_t *f) argument
864 parse_funce(tuple_t *tuple, cistpl_funce_t *f) argument
878 parse_config(tuple_t *tuple, cistpl_config_t *config) argument
1078 parse_cftable_entry(tuple_t *tuple, cistpl_cftable_entry_t *entry) argument
1202 parse_device_geo(tuple_t *tuple, cistpl_device_geo_t *geo) argument
1226 parse_vers_2(tuple_t *tuple, cistpl_vers_2_t *v2) argument
1247 parse_org(tuple_t *tuple, cistpl_org_t *org) argument
1270 parse_format(tuple_t *tuple, cistpl_format_t *fmt) argument
1288 pcmcia_parse_tuple(tuple_t *tuple, cisparse_t *parse) argument
1378 tuple_t *tuple; local
1470 tuple_t tuple; local
[all...]
H A Dcs_internal.h172 int (*loop_tuple) (tuple_t *tuple,
177 tuple_t *tuple);
180 tuple_t *tuple);
182 int pccard_get_tuple_data(struct pcmcia_socket *s, tuple_t *tuple);
/drivers/ssb/
H A Dsdio.c478 struct sdio_func_tuple *tuple; local
485 tuple = bus->host_sdio->tuples;
486 while (tuple) {
487 switch (tuple->code) {
489 switch (tuple->data[0]) {
491 GOTO_ERROR_ON((tuple->size != 7) &&
492 (tuple->data[1] != 6),
495 mac = tuple->data + 2;
503 case 0x80: /* vendor specific tuple */
504 switch (tuple
[all...]
H A Dpcmcia.c609 tuple_t *tuple,
614 if (tuple->TupleData[0] != CISTPL_FUNCE_LAN_NODE_ID)
616 if (tuple->TupleDataLen != ETH_ALEN + 2)
618 if (tuple->TupleData[1] != ETH_ALEN)
620 memcpy(sprom->il0mac, &tuple->TupleData[2], ETH_ALEN);
625 tuple_t *tuple,
633 GOTO_ERROR_ON(tuple->TupleDataLen < 1, "VEN tpl < 1");
634 switch (tuple->TupleData[0]) {
636 GOTO_ERROR_ON((tuple->TupleDataLen != 5) &&
637 (tuple
608 ssb_pcmcia_get_mac(struct pcmcia_device *p_dev, tuple_t *tuple, void *priv) argument
624 ssb_pcmcia_do_get_invariants(struct pcmcia_device *p_dev, tuple_t *tuple, void *priv) argument
[all...]
/drivers/net/wireless/b43/
H A Dsdio.c100 struct sdio_func_tuple *tuple; local
105 tuple = func->tuples;
106 while (tuple) {
107 switch (tuple->code) {
109 switch (tuple->data[0]) {
111 if (tuple->size != 5)
113 vendor = tuple->data[1] | (tuple->data[2]<<8);
114 device = tuple->data[3] | (tuple
[all...]
/drivers/mmc/core/
H A Dsdio_cis.c129 ret = -EILSEQ; /* known tuple, not parsed */
131 /* invalid tuple */
135 pr_err("%s: bad %s tuple 0x%02x (%u bytes)\n",
139 /* unknown tuple */
174 * This tuple has a different length depending on the SDIO spec
299 /* Try to parse the CIS tuple */
305 * The tuple is unknown or known but not parsed.
306 * Queue the tuple for the function driver.
317 " CIS tuple 0x%02x (%u bytes)\n",
326 * We don't need the tuple anymor
353 struct sdio_func_tuple *tuple, *victim; local
394 struct sdio_func_tuple *tuple, *victim; local
[all...]
/drivers/net/ethernet/8390/
H A Dapne.c124 char tuple[8]; local
157 if ((pcmcia_copy_tuple(CISTPL_FUNCID, tuple, 8) < 3) ||
158 (tuple[2] != CISTPL_FUNCID_NETWORK)) {
582 u_char tuple[32]; local
597 if (pcmcia_copy_tuple(CISTPL_CFTABLE_ENTRY, tuple, 32) < 3)
600 config = tuple[2] & 0x3f;
605 if (pcmcia_copy_tuple(CISTPL_CONFIG, tuple, 32) < 6)
608 offset_len = (tuple[2] & 0x3) + 1;
611 offset = (offset << 8) | tuple[4+offset_len];
/drivers/bluetooth/
H A Dbtsdio.c306 struct sdio_func_tuple *tuple = func->tuples; local
311 while (tuple) {
312 BT_DBG("code 0x%x size %d", tuple->code, tuple->size);
313 tuple = tuple->next;
/drivers/media/dvb/dvb-core/
H A Ddvb_ca_en50221.c346 * Read a tuple from attribute memory.
353 * @param tuple Dest buffer for tuple (must be 256 bytes). Updated.
358 int *address, int *tupleType, int *tupleLength, u8 * tuple)
365 /* grab the next tuple length and type */
381 /* read in the whole tuple */
383 tuple[i] = ca->pub->read_attribute_mem(ca->pub, slot, _address + (i * 2));
385 i, tuple[i] & 0xff,
386 ((tuple[i] > 31) && (tuple[
357 dvb_ca_en50221_read_tuple(struct dvb_ca_private *ca, int slot, int *address, int *tupleType, int *tupleLength, u8 * tuple) argument
412 u8 tuple[257]; local
[all...]
/drivers/mtd/maps/
H A Dpcmciamtd.c325 tuple_t *tuple,
330 if (!pcmcia_parse_tuple(tuple, &parse)) {
340 tuple_t *tuple,
346 if (!pcmcia_parse_tuple(tuple, &parse)) {
356 tuple_t *tuple,
364 if (pcmcia_parse_tuple(tuple, &parse))
380 tuple_t *tuple,
388 if (pcmcia_parse_tuple(tuple, &parse))
324 pcmciamtd_cistpl_format(struct pcmcia_device *p_dev, tuple_t *tuple, void *priv_data) argument
339 pcmciamtd_cistpl_jedec(struct pcmcia_device *p_dev, tuple_t *tuple, void *priv_data) argument
355 pcmciamtd_cistpl_device(struct pcmcia_device *p_dev, tuple_t *tuple, void *priv_data) argument
379 pcmciamtd_cistpl_geo(struct pcmcia_device *p_dev, tuple_t *tuple, void *priv_data) argument
/drivers/net/ethernet/xircom/
H A Dxirc2ps_cs.c520 * Detect the type of the card. s is the buffer with the data of tuple 0x20
673 tuple_t *tuple,
679 if (tuple->TupleDataLen != 13)
681 if ((tuple->TupleData[0] != 2) || (tuple->TupleData[1] != 1) ||
682 (tuple->TupleData[2] != 6))
686 dev->dev_addr[i] = tuple->TupleData[i+2];
743 /* not found: try to get the node-id from tuple 0x89 */
746 /* data layout looks like tuple 0x22 */
672 pcmcia_get_mac_ce(struct pcmcia_device *p_dev, tuple_t *tuple, void *priv) argument
/drivers/net/ethernet/smsc/
H A Dsmc91c92_cs.c460 tuple_t *tuple,
467 if (pcmcia_parse_tuple(tuple, &parse))
486 (fourth) string in the Version 1 Version/ID tuple. */
496 /* Another possibility: for the EM3288, in a special tuple */
601 /* Check for a LAN function extension tuple */
605 /* Try the third string in the Version 1 Version/ID tuple. */
667 tuple_t *tuple,
673 if (tuple->TupleDataLen < 8)
675 if (tuple->TupleData[0] != 0x04)
678 dev->dev_addr[i] = tuple
459 pcmcia_get_versmac(struct pcmcia_device *p_dev, tuple_t *tuple, void *priv) argument
666 pcmcia_osi_mac(struct pcmcia_device *p_dev, tuple_t *tuple, void *priv) argument
[all...]
/drivers/net/ethernet/dec/tulip/
H A Dxircom_cb.c973 unsigned char j, tuple, link, data_id, data_count; local
982 tuple = inl(card->io_port + CSR9) & 0xff;
989 if ((tuple == 0x22) && (data_id == 0x04) && (data_count == 0x06)) {
/drivers/tty/serial/8250/
H A Dserial_cs.c95 tuple_t tuple; member in struct:serial_cfg_mem

Completed in 236 milliseconds