Home
last modified time | relevance | path

Searched refs:nip (Results 1 – 7 of 7) sorted by relevance

/drivers/staging/lustre/lnet/lnet/
Dconfig.c850 lnet_match_network_token(char *token, int len, __u32 *ipaddrs, int nip) in lnet_match_network_token() argument
860 for (rc = i = 0; !rc && i < nip; i++) in lnet_match_network_token()
869 lnet_match_network_tokens(char *net_entry, __u32 *ipaddrs, int nip) in lnet_match_network_tokens() argument
908 rc = lnet_match_network_token(token, len, ipaddrs, nip); in lnet_match_network_tokens()
1024 lnet_match_networks(char **networksp, char *ip2nets, __u32 *ipaddrs, int nip) in lnet_match_networks() argument
1063 rc = lnet_match_network_tokens(tb->ltb_text, ipaddrs, nip); in lnet_match_networks()
1148 int nip; in lnet_ipaddr_enumerate() local
1164 for (i = nip = 0; i < nif; i++) { in lnet_ipaddr_enumerate()
1168 rc = lnet_ipif_query(ifnames[i], &up, &ipaddrs[nip], &netmask); in lnet_ipaddr_enumerate()
1181 nip++; in lnet_ipaddr_enumerate()
[all …]
/drivers/media/platform/sti/bdisp/
Dbdisp-hw.c789 node->nip = 0; in bdisp_hw_build_node()
1015 ctx->node[nid - 1]->nip = ctx->node_paddr[nid]; in bdisp_hw_build_all_nodes()
1022 ctx->node[nid - 1]->nip = ctx->node_paddr[nid]; in bdisp_hw_build_all_nodes()
1033 ctx->node[nid - 1]->nip = 0; in bdisp_hw_build_all_nodes()
1112 if (!ctx->node[node_id]->nip) in bdisp_hw_update()
Dbdisp-debug.c336 seq_printf(s, "NIP\t0x%08X\n", node->nip); in bdisp_dbg_last_nodes()
386 } while ((++i < MAX_NB_NODE) && node->nip); in bdisp_dbg_last_nodes()
412 } while ((++i < MAX_NB_NODE) && node->nip); in bdisp_dbg_last_nodes_raw()
Dbdisp-reg.h9 u32 nip; member
/drivers/infiniband/hw/qib/
Dqib_mad.c281 struct ib_node_info *nip = (struct ib_node_info *)&smp->data; in subn_get_nodeinfo() local
291 nip->port_guid = dd->pport[pidx].guid; in subn_get_nodeinfo()
293 nip->base_version = 1; in subn_get_nodeinfo()
294 nip->class_version = 1; in subn_get_nodeinfo()
295 nip->node_type = 1; /* channel adapter */ in subn_get_nodeinfo()
296 nip->num_ports = ibdev->phys_port_cnt; in subn_get_nodeinfo()
298 nip->sys_guid = ib_qib_sys_image_guid; in subn_get_nodeinfo()
299 nip->node_guid = dd->pport->guid; /* Use first-port GUID as node */ in subn_get_nodeinfo()
300 nip->partition_cap = cpu_to_be16(qib_get_npkeys(dd)); in subn_get_nodeinfo()
301 nip->device_id = cpu_to_be16(dd->deviceid); in subn_get_nodeinfo()
[all …]
/drivers/infiniband/hw/hfi1/
Dmad.c636 struct ib_node_info *nip = (struct ib_node_info *)&smp->data; in subn_get_nodeinfo() local
648 nip->port_guid = get_sguid(to_iport(ibdev, port), HFI1_PORT_GUID_INDEX); in subn_get_nodeinfo()
649 nip->base_version = OPA_MGMT_BASE_VERSION; in subn_get_nodeinfo()
650 nip->class_version = OPA_SM_CLASS_VERSION; in subn_get_nodeinfo()
651 nip->node_type = 1; /* channel adapter */ in subn_get_nodeinfo()
652 nip->num_ports = ibdev->phys_port_cnt; in subn_get_nodeinfo()
654 nip->sys_guid = ib_hfi1_sys_image_guid; in subn_get_nodeinfo()
655 nip->node_guid = ibdev->node_guid; in subn_get_nodeinfo()
656 nip->partition_cap = cpu_to_be16(hfi1_get_npkeys(dd)); in subn_get_nodeinfo()
657 nip->device_id = cpu_to_be16(dd->pcidev->device); in subn_get_nodeinfo()
[all …]
/drivers/staging/lustre/lnet/klnds/socklnd/
Dsocklnd.c695 int nip; in ksocknal_local_ipvec() local
699 nip = net->ksnn_ninterfaces; in ksocknal_local_ipvec()
700 LASSERT(nip <= LNET_MAX_INTERFACES); in ksocknal_local_ipvec()
706 if (nip < 2) { in ksocknal_local_ipvec()
711 for (i = 0; i < nip; i++) { in ksocknal_local_ipvec()
717 return nip; in ksocknal_local_ipvec()