/drivers/of/ |
D | fdt_address.c | 26 #define OF_CHECK_COUNTS(na, ns) ((na) > 0 && (na) <= OF_MAX_ADDR_CELLS && \ argument 31 static void __init of_dump_addr(const char *s, const __be32 *addr, int na) in of_dump_addr() argument 34 while(na--) in of_dump_addr() 39 static void __init of_dump_addr(const char *s, const __be32 *addr, int na) { } in of_dump_addr() argument 47 int na, int ns, int pna); 48 int (*translate)(__be32 *addr, u64 offset, int na); 75 int na, int ns, int pna) in fdt_bus_default_map() argument 79 cp = of_read_number(range, na); in fdt_bus_default_map() 80 s = of_read_number(range + na + pna, ns); in fdt_bus_default_map() 81 da = of_read_number(addr, na); in fdt_bus_default_map() [all …]
|
D | address.c | 17 #define OF_CHECK_ADDR_COUNT(na) ((na) > 0 && (na) <= OF_MAX_ADDR_CELLS) argument 18 #define OF_CHECK_COUNTS(na, ns) (OF_CHECK_ADDR_COUNT(na) && (ns) > 0) argument 27 static void of_dump_addr(const char *s, const __be32 *addr, int na) in of_dump_addr() argument 30 while (na--) in of_dump_addr() 35 static void of_dump_addr(const char *s, const __be32 *addr, int na) { } in of_dump_addr() argument 46 int na, int ns, int pna); 47 int (*translate)(__be32 *addr, u64 offset, int na); 65 int na, int ns, int pna) in of_bus_default_map() argument 69 cp = of_read_number(range, na); in of_bus_default_map() 70 s = of_read_number(range + na + pna, ns); in of_bus_default_map() [all …]
|
/drivers/staging/gdm724x/ |
D | gdm_lte.c | 227 struct neighbour_advertisement na; in gdm_lte_emulate_ndp() local 284 memcpy(&na.target_address, ns->target_address, 16); in gdm_lte_emulate_ndp() 285 na.type = 0x02; in gdm_lte_emulate_ndp() 286 na.length = 1; in gdm_lte_emulate_ndp() 287 na.link_layer_address[0] = 0x00; in gdm_lte_emulate_ndp() 288 na.link_layer_address[1] = 0x0a; in gdm_lte_emulate_ndp() 289 na.link_layer_address[2] = 0x3b; in gdm_lte_emulate_ndp() 290 na.link_layer_address[3] = 0xaf; in gdm_lte_emulate_ndp() 291 na.link_layer_address[4] = 0x63; in gdm_lte_emulate_ndp() 292 na.link_layer_address[5] = 0xc7; in gdm_lte_emulate_ndp() [all …]
|
/drivers/target/iscsi/ |
D | iscsi_target_util.c | 929 struct iscsi_node_attrib *na = iscsit_tpg_get_node_attrib(sess); in iscsit_mod_nopin_response_timer() local 938 (get_jiffies_64() + na->nopin_response_timeout * HZ)); in iscsit_mod_nopin_response_timer() 948 struct iscsi_node_attrib *na = iscsit_tpg_get_node_attrib(sess); in iscsit_start_nopin_response_timer() local 958 (get_jiffies_64() + na->nopin_response_timeout * HZ); in iscsit_start_nopin_response_timer() 966 " seconds\n", conn->cid, na->nopin_response_timeout); in iscsit_start_nopin_response_timer() 1012 struct iscsi_node_attrib *na = iscsit_tpg_get_node_attrib(sess); in __iscsit_start_nopin_timer() local 1016 if (!na->nopin_timeout) in __iscsit_start_nopin_timer() 1023 conn->nopin_timer.expires = (get_jiffies_64() + na->nopin_timeout * HZ); in __iscsit_start_nopin_timer() 1031 " interval\n", conn->cid, na->nopin_timeout); in __iscsit_start_nopin_timer() 1037 struct iscsi_node_attrib *na = iscsit_tpg_get_node_attrib(sess); in iscsit_start_nopin_timer() local [all …]
|
D | iscsi_target_erl1.c | 1158 struct iscsi_node_attrib *na; in iscsit_handle_dataout_timeout() local 1170 na = iscsit_tpg_get_node_attrib(sess); in iscsit_handle_dataout_timeout() 1178 if (++cmd->dataout_timeout_retries == na->dataout_timeout_retries) { in iscsit_handle_dataout_timeout() 1181 cmd->init_task_tag, na->dataout_timeout_retries); in iscsit_handle_dataout_timeout() 1236 struct iscsi_node_attrib *na = iscsit_tpg_get_node_attrib(sess); in iscsit_mod_dataout_timer() local 1245 (get_jiffies_64() + na->dataout_timeout * HZ)); in iscsit_mod_dataout_timer() 1259 struct iscsi_node_attrib *na = iscsit_tpg_get_node_attrib(sess); in iscsit_start_dataout_timer() local 1268 cmd->dataout_timer.expires = (get_jiffies_64() + na->dataout_timeout * HZ); in iscsit_start_dataout_timer()
|
D | iscsi_target_seq_pdu_list.c | 507 struct iscsi_node_attrib *na; in iscsit_build_pdu_and_seq_lists() local 519 na = iscsit_tpg_get_node_attrib(sess); in iscsit_build_pdu_and_seq_lists() 525 if (na->random_datain_pdu_offsets) in iscsit_build_pdu_and_seq_lists() 527 if (na->random_datain_seq_offsets) in iscsit_build_pdu_and_seq_lists() 532 if (na->random_r2t_offsets) in iscsit_build_pdu_and_seq_lists()
|
D | iscsi_target_tmr.c | 79 struct iscsi_node_attrib *na = iscsit_tpg_get_node_attrib(sess); in iscsit_tmr_task_warm_reset() local 81 if (!na->tmr_warm_reset) { in iscsit_tmr_task_warm_reset() 99 struct iscsi_node_attrib *na = iscsit_tpg_get_node_attrib(sess); in iscsit_tmr_task_cold_reset() local 101 if (!na->tmr_cold_reset) { in iscsit_tmr_task_cold_reset()
|
D | iscsi_target_login.c | 389 struct iscsi_node_attrib *na; in iscsi_login_zero_tsih_s2() local 422 na = iscsit_tpg_get_node_attrib(sess); in iscsi_login_zero_tsih_s2() 439 if (iscsi_change_param_sprintf(conn, "ErrorRecoveryLevel=%d", na->default_erl)) in iscsi_login_zero_tsih_s2()
|
/drivers/media/dvb-frontends/ |
D | bcm3510_priv.h | 97 u8 na :1; member 108 u8 na :3; member 119 u8 na :5; member 143 u8 na :2; member
|
/drivers/net/ |
D | vxlan.c | 1585 struct nd_msg *ns, *na; in vxlan_na_create() local 1596 sizeof(*na) + na_olen + dev->needed_tailroom; in vxlan_na_create() 1644 na = skb_put_zero(reply, sizeof(*na) + na_olen); in vxlan_na_create() 1645 na->icmph.icmp6_type = NDISC_NEIGHBOUR_ADVERTISEMENT; in vxlan_na_create() 1646 na->icmph.icmp6_router = isrouter; in vxlan_na_create() 1647 na->icmph.icmp6_override = 1; in vxlan_na_create() 1648 na->icmph.icmp6_solicited = 1; in vxlan_na_create() 1649 na->target = ns->target; in vxlan_na_create() 1650 ether_addr_copy(&na->opt[2], n->ha); in vxlan_na_create() 1651 na->opt[0] = ND_OPT_TARGET_LL_ADDR; in vxlan_na_create() [all …]
|
/drivers/pci/host/ |
D | pci-rcar-gen2.c | 299 const int na = 3, ns = 2; in pci_dma_range_parser_init() local 304 parser->np = parser->pna + na + ns; in pci_dma_range_parser_init()
|
D | pci-ftpci100.c | 379 const int na = 3, ns = 2; in pci_dma_range_parser_init() local 384 parser->np = parser->pna + na + ns; in pci_dma_range_parser_init()
|
D | pci-xgene.c | 548 const int na = 3, ns = 2; in pci_dma_range_parser_init() local 553 parser->np = parser->pna + na + ns; in pci_dma_range_parser_init()
|
D | pci-mvebu.c | 971 const int na = 3, ns = 2; in mvebu_get_tgt_attr() local 983 rangesz = pna + na + ns; in mvebu_get_tgt_attr() 989 u64 cpuaddr = of_read_number(range + na, pna); in mvebu_get_tgt_attr()
|
D | pcie-rcar.c | 1037 const int na = 3, ns = 2; in pci_dma_range_parser_init() local 1042 parser->np = parser->pna + na + ns; in pci_dma_range_parser_init()
|
D | pcie-iproc.c | 1095 const int na = 3, ns = 2; in pci_dma_range_parser_init() local 1100 parser->np = parser->pna + na + ns; in pci_dma_range_parser_init()
|
/drivers/scsi/ |
D | scsi_debug.c | 1665 int k, offset, len, errsts, count, bump, na; in resp_rsup_opcodes() local 1705 na = oip->num_attached; in resp_rsup_opcodes() 1716 for (k = 0, oip = oip->arrp; k < na; ++k, ++oip) { in resp_rsup_opcodes() 1763 na = oip->num_attached; in resp_rsup_opcodes() 1764 for (k = 0, oip = oip->arrp; k < na; in resp_rsup_opcodes() 1769 supp = (k >= na) ? 1 : 3; in resp_rsup_opcodes() 1771 na = oip->num_attached; in resp_rsup_opcodes() 1772 for (k = 0, oip = oip->arrp; k < na; in resp_rsup_opcodes() 1777 supp = (k >= na) ? 1 : 3; in resp_rsup_opcodes() 5290 int k, na; in scsi_debug_queuecommand() local [all …]
|
/drivers/base/ |
D | node.c | 645 struct node_attr *na = container_of(attr, struct node_attr, attr); in show_node_state() local 646 return print_nodes_state(na->state, buf); in show_node_state()
|
/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_main.c | 2599 u8 *na; in fill_vf_station_mac_addr() local 2604 na = adap->params.vpd.na; in fill_vf_station_mac_addr() 2606 hw_addr[i] = (hex2val(na[2 * i + 0]) * 16 + in fill_vf_station_mac_addr() 2607 hex2val(na[2 * i + 1])); in fill_vf_station_mac_addr() 5019 u8 *na = adapter->params.vpd.na; in init_one() local 5024 hw_addr[i] = (hex2val(na[2 * i + 0]) * 16 + in init_one() 5025 hex2val(na[2 * i + 1])); in init_one()
|
D | t4_hw.c | 2664 int ec, sn, pn, na; in t4_get_raw_vpd_params() local 2740 FIND_VPD_KW(na, "NA"); in t4_get_raw_vpd_params() 2753 memcpy(p->na, vpd + na, min(i, MACADDR_LEN)); in t4_get_raw_vpd_params() 2754 strim((char *)p->na); in t4_get_raw_vpd_params()
|
D | cxgb4.h | 302 u8 na[MACADDR_LEN + 1]; member
|
/drivers/net/ethernet/chelsio/cxgb3/ |
D | t3_hw.c | 582 VPD_ENTRY(na, 12); /* MAC address base */
|