/drivers/pcmcia/ |
D | cistpl.c | 447 tuple_t *tuple) in pccard_get_first_tuple() argument 454 tuple->TupleLink = tuple->Flags = 0; in pccard_get_first_tuple() 457 tuple->CISOffset = tuple->LinkOffset = 0; in pccard_get_first_tuple() 458 SPACE(tuple->Flags) = HAS_LINK(tuple->Flags) = 1; in pccard_get_first_tuple() 460 if ((s->functions > 1) && !(tuple->Attributes & TUPLE_RETURN_COMMON)) { in pccard_get_first_tuple() 461 cisdata_t req = tuple->DesiredTuple; in pccard_get_first_tuple() 462 tuple->DesiredTuple = CISTPL_LONGLINK_MFC; in pccard_get_first_tuple() 463 if (pccard_get_next_tuple(s, function, tuple) == 0) { in pccard_get_first_tuple() 464 tuple->DesiredTuple = CISTPL_LINKTARGET; in pccard_get_first_tuple() 465 if (pccard_get_next_tuple(s, function, tuple) != 0) in pccard_get_first_tuple() [all …]
|
D | pcmcia_cis.c | 37 tuple_t tuple; in pccard_read_tuple() local 46 tuple.DesiredTuple = code; in pccard_read_tuple() 47 tuple.Attributes = 0; in pccard_read_tuple() 49 tuple.Attributes = TUPLE_RETURN_COMMON; in pccard_read_tuple() 50 ret = pccard_get_first_tuple(s, function, &tuple); in pccard_read_tuple() 53 tuple.TupleData = buf; in pccard_read_tuple() 54 tuple.TupleOffset = 0; in pccard_read_tuple() 55 tuple.TupleDataMax = 255; in pccard_read_tuple() 56 ret = pccard_get_tuple_data(s, &tuple); in pccard_read_tuple() 59 ret = pcmcia_parse_tuple(&tuple, parse); in pccard_read_tuple() [all …]
|
D | cs_internal.h | 168 tuple_t *tuple); 171 tuple_t *tuple); 173 int pccard_get_tuple_data(struct pcmcia_socket *s, tuple_t *tuple);
|
/drivers/ssb/ |
D | sdio.c | 477 struct sdio_func_tuple *tuple; in ssb_sdio_get_invariants() local 484 tuple = bus->host_sdio->tuples; in ssb_sdio_get_invariants() 485 while (tuple) { in ssb_sdio_get_invariants() 486 switch (tuple->code) { in ssb_sdio_get_invariants() 488 switch (tuple->data[0]) { in ssb_sdio_get_invariants() 490 GOTO_ERROR_ON((tuple->size != 7) && in ssb_sdio_get_invariants() 491 (tuple->data[1] != 6), in ssb_sdio_get_invariants() 494 mac = tuple->data + 2; in ssb_sdio_get_invariants() 503 switch (tuple->data[0]) { in ssb_sdio_get_invariants() 505 GOTO_ERROR_ON(tuple->size != 2, in ssb_sdio_get_invariants() [all …]
|
D | pcmcia.c | 597 tuple_t *tuple, in ssb_pcmcia_get_mac() argument 602 if (tuple->TupleData[0] != CISTPL_FUNCE_LAN_NODE_ID) in ssb_pcmcia_get_mac() 604 if (tuple->TupleDataLen != ETH_ALEN + 2) in ssb_pcmcia_get_mac() 606 if (tuple->TupleData[1] != ETH_ALEN) in ssb_pcmcia_get_mac() 608 memcpy(sprom->il0mac, &tuple->TupleData[2], ETH_ALEN); in ssb_pcmcia_get_mac() 613 tuple_t *tuple, in ssb_pcmcia_do_get_invariants() argument 621 GOTO_ERROR_ON(tuple->TupleDataLen < 1, "VEN tpl < 1"); in ssb_pcmcia_do_get_invariants() 622 switch (tuple->TupleData[0]) { in ssb_pcmcia_do_get_invariants() 624 GOTO_ERROR_ON((tuple->TupleDataLen != 5) && in ssb_pcmcia_do_get_invariants() 625 (tuple->TupleDataLen != 7), in ssb_pcmcia_do_get_invariants() [all …]
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_arfs.c | 90 struct arfs_tuple tuple; member 482 struct arfs_tuple *tuple = &arfs_rule->tuple; in arfs_add_rule() local 500 ntohs(tuple->etype)); in arfs_add_rule() 501 arfs_table = arfs_get_table(arfs, tuple->ip_proto, tuple->etype); in arfs_add_rule() 508 if (tuple->ip_proto == IPPROTO_TCP) { in arfs_add_rule() 514 ntohs(tuple->dst_port)); in arfs_add_rule() 516 ntohs(tuple->src_port)); in arfs_add_rule() 523 ntohs(tuple->dst_port)); in arfs_add_rule() 525 ntohs(tuple->src_port)); in arfs_add_rule() 527 if (tuple->etype == htons(ETH_P_IP)) { in arfs_add_rule() [all …]
|
/drivers/net/wireless/broadcom/b43/ |
D | sdio.c | 96 struct sdio_func_tuple *tuple; in b43_sdio_probe() local 101 tuple = func->tuples; in b43_sdio_probe() 102 while (tuple) { in b43_sdio_probe() 103 switch (tuple->code) { in b43_sdio_probe() 105 switch (tuple->data[0]) { in b43_sdio_probe() 107 if (tuple->size != 5) in b43_sdio_probe() 109 vendor = tuple->data[1] | (tuple->data[2]<<8); in b43_sdio_probe() 110 device = tuple->data[3] | (tuple->data[4]<<8); in b43_sdio_probe() 121 tuple = tuple->next; in b43_sdio_probe()
|
/drivers/net/ethernet/qlogic/qede/ |
D | qede_filter.c | 58 struct qede_arfs_tuple tuple; member 111 if (n->tuple.stringify) { in qede_configure_arfs_fltr() 114 n->tuple.stringify(&n->tuple, tuple_buffer); in qede_configure_arfs_fltr() 158 fltr->tuple.mode); in qede_enqueue_fltr_and_config_searcher() 159 edev->arfs->mode = fltr->tuple.mode; in qede_enqueue_fltr_and_config_searcher() 197 ntohs(fltr->tuple.src_port), in qede_arfs_filter_op() 198 ntohs(fltr->tuple.dst_port), fltr->rxq_id); in qede_arfs_filter_op() 370 if (tpos->tuple.src_ipv4 == ip_hdr(skb)->saddr && in qede_compare_ip_addr() 371 tpos->tuple.dst_ipv4 == ip_hdr(skb)->daddr) in qede_compare_ip_addr() 376 struct in6_addr *src = &tpos->tuple.src_ipv6; in qede_compare_ip_addr() [all …]
|
/drivers/mmc/core/ |
D | sdio_cis.c | 385 struct sdio_func_tuple *tuple, *victim; in sdio_free_common_cis() local 387 tuple = card->tuples; in sdio_free_common_cis() 389 while (tuple) { in sdio_free_common_cis() 390 victim = tuple; in sdio_free_common_cis() 391 tuple = tuple->next; in sdio_free_common_cis() 420 struct sdio_func_tuple *tuple, *victim; in sdio_free_func_cis() local 422 tuple = func->tuples; in sdio_free_func_cis() 424 while (tuple && tuple != func->card->tuples) { in sdio_free_func_cis() 425 victim = tuple; in sdio_free_func_cis() 426 tuple = tuple->next; in sdio_free_func_cis()
|
/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | tc_ct.c | 136 struct mlx5_ct_tuple tuple; member 169 .key_offset = offsetof(struct mlx5_ct_entry, tuple), 170 .key_len = sizeof(((struct mlx5_ct_entry *)0)->tuple), 212 mlx5_tc_ct_rule_to_tuple(struct mlx5_ct_tuple *tuple, struct flow_rule *rule) in mlx5_tc_ct_rule_to_tuple() argument 220 tuple->n_proto = basic.key->n_proto; in mlx5_tc_ct_rule_to_tuple() 221 tuple->ip_proto = basic.key->ip_proto; in mlx5_tc_ct_rule_to_tuple() 222 tuple->addr_type = control.key->addr_type; in mlx5_tc_ct_rule_to_tuple() 224 if (tuple->addr_type == FLOW_DISSECTOR_KEY_IPV4_ADDRS) { in mlx5_tc_ct_rule_to_tuple() 228 tuple->ip.src_v4 = match.key->src; in mlx5_tc_ct_rule_to_tuple() 229 tuple->ip.dst_v4 = match.key->dst; in mlx5_tc_ct_rule_to_tuple() [all …]
|
/drivers/media/dvb-core/ |
D | dvb_ca_en50221.c | 404 int *tuple_length, u8 *tuple) in dvb_ca_en50221_read_tuple() argument 432 tuple[i] = ca->pub->read_attribute_mem(ca->pub, slot, in dvb_ca_en50221_read_tuple() 435 i, tuple[i] & 0xff, in dvb_ca_en50221_read_tuple() 436 ((tuple[i] > 31) && (tuple[i] < 127)) ? tuple[i] : '.'); in dvb_ca_en50221_read_tuple() 462 u8 tuple[257]; in dvb_ca_en50221_parse_attributes() local 474 &tuple_length, tuple); in dvb_ca_en50221_parse_attributes() 482 &tuple_length, tuple); in dvb_ca_en50221_parse_attributes() 490 &tuple_length, tuple); in dvb_ca_en50221_parse_attributes() 498 &tuple_length, tuple); in dvb_ca_en50221_parse_attributes() 505 manfid = (tuple[1] << 8) | tuple[0]; in dvb_ca_en50221_parse_attributes() [all …]
|
/drivers/net/ethernet/8390/ |
D | apne.c | 128 char tuple[8]; in apne_probe() local 159 if ((pcmcia_copy_tuple(CISTPL_FUNCID, tuple, 8) < 3) || in apne_probe() 160 (tuple[2] != CISTPL_FUNCID_NETWORK)) { in apne_probe() 581 u_char tuple[32]; in init_pcmcia() local 596 if (pcmcia_copy_tuple(CISTPL_CFTABLE_ENTRY, tuple, 32) < 3) in init_pcmcia() 599 config = tuple[2] & 0x3f; in init_pcmcia() 604 if (pcmcia_copy_tuple(CISTPL_CONFIG, tuple, 32) < 6) in init_pcmcia() 607 offset_len = (tuple[2] & 0x3) + 1; in init_pcmcia() 610 offset = (offset << 8) | tuple[4+offset_len]; in init_pcmcia()
|
/drivers/bluetooth/ |
D | btsdio.c | 280 struct sdio_func_tuple *tuple = func->tuples; in btsdio_probe() local 285 while (tuple) { in btsdio_probe() 286 BT_DBG("code 0x%x size %d", tuple->code, tuple->size); in btsdio_probe() 287 tuple = tuple->next; in btsdio_probe()
|
/drivers/mtd/maps/ |
D | pcmciamtd.c | 334 tuple_t *tuple, in pcmciamtd_cistpl_format() argument 339 if (!pcmcia_parse_tuple(tuple, &parse)) { in pcmciamtd_cistpl_format() 349 tuple_t *tuple, in pcmciamtd_cistpl_jedec() argument 355 if (!pcmcia_parse_tuple(tuple, &parse)) { in pcmciamtd_cistpl_jedec() 365 tuple_t *tuple, in pcmciamtd_cistpl_device() argument 373 if (pcmcia_parse_tuple(tuple, &parse)) in pcmciamtd_cistpl_device() 389 tuple_t *tuple, in pcmciamtd_cistpl_geo() argument 397 if (pcmcia_parse_tuple(tuple, &parse)) in pcmciamtd_cistpl_geo()
|
/drivers/net/ethernet/xircom/ |
D | xirc2ps_cs.c | 675 tuple_t *tuple, in pcmcia_get_mac_ce() argument 681 if (tuple->TupleDataLen != 13) in pcmcia_get_mac_ce() 683 if ((tuple->TupleData[0] != 2) || (tuple->TupleData[1] != 1) || in pcmcia_get_mac_ce() 684 (tuple->TupleData[2] != 6)) in pcmcia_get_mac_ce() 688 dev->dev_addr[i] = tuple->TupleData[i+2]; in pcmcia_get_mac_ce()
|
/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_ethtool.c | 1133 int tuple, rc = 0; in bnxt_srxfh() local 1136 tuple = 4; in bnxt_srxfh() 1138 tuple = 2; in bnxt_srxfh() 1140 tuple = 0; in bnxt_srxfh() 1146 if (tuple == 4) in bnxt_srxfh() 1149 if (tuple == 4 && !(bp->flags & BNXT_FLAG_UDP_RSS_CAP)) in bnxt_srxfh() 1152 if (tuple == 4) in bnxt_srxfh() 1156 if (tuple == 4) in bnxt_srxfh() 1159 if (tuple == 4 && !(bp->flags & BNXT_FLAG_UDP_RSS_CAP)) in bnxt_srxfh() 1162 if (tuple == 4) in bnxt_srxfh() [all …]
|
/drivers/net/ethernet/smsc/ |
D | smc91c92_cs.c | 458 tuple_t *tuple, in pcmcia_get_versmac() argument 465 if (pcmcia_parse_tuple(tuple, &parse)) in pcmcia_get_versmac() 665 tuple_t *tuple, in pcmcia_osi_mac() argument 671 if (tuple->TupleDataLen < 8) in pcmcia_osi_mac() 673 if (tuple->TupleData[0] != 0x04) in pcmcia_osi_mac() 676 dev->dev_addr[i] = tuple->TupleData[i+2]; in pcmcia_osi_mac()
|
/drivers/net/ethernet/dec/tulip/ |
D | xircom_cb.c | 1007 u8 tuple, data_id, data_count; in read_mac_address() local 1010 tuple = xr32(CSR9); in read_mac_address() 1017 if ((tuple == 0x22) && (data_id == 0x04) && (data_count == 0x06)) { in read_mac_address()
|
/drivers/comedi/drivers/ni_routing/tools/ |
D | convert_csv_to_c.py | 233 sheets = sorted(self.items(), key=lambda i : tuple(i[0].split('-')[::-1]) )
|
/drivers/visorbus/ |
D | visorchipset.c | 1160 static int unisys_vmcall(unsigned long tuple, unsigned long param) in unisys_vmcall() argument 1173 "a"(tuple), "b"(reg_ebx), "c"(reg_ecx)); in unisys_vmcall()
|
/drivers/tty/serial/8250/ |
D | serial_cs.c | 94 tuple_t tuple; member
|