/drivers/pci/hotplug/ |
D | rpadlpar_core.c | 83 static struct device_node *find_dlpar_node(char *drc_name, int *node_type) in find_dlpar_node() argument 89 *node_type = NODE_TYPE_SLOT; in find_dlpar_node() 95 *node_type = NODE_TYPE_PHB; in find_dlpar_node() 101 *node_type = NODE_TYPE_VIO; in find_dlpar_node() 294 int node_type; in dlpar_add_slot() local 301 dn = find_dlpar_node(drc_name, &node_type); in dlpar_add_slot() 307 switch (node_type) { in dlpar_add_slot() 429 int node_type; in dlpar_remove_slot() local 435 dn = find_dlpar_node(drc_name, &node_type); in dlpar_remove_slot() 441 switch (node_type) { in dlpar_remove_slot()
|
/drivers/net/ethernet/apm/xgene/ |
D | xgene_enet_cle.c | 67 buf[j++] = SET_VAL(CLE_TYPE, kn->node_type); in xgene_cle_kn_to_hw() 89 buf[j++] = SET_VAL(CLE_DN_TYPE, dn->node_type) | in xgene_cle_dn_to_hw() 211 .node_type = EWDN, 247 .node_type = EWDN, 295 .node_type = EWDN, 380 .node_type = EWDN, 465 .node_type = EWDN, 551 .node_type = EWDN, 819 kn.node_type = KN; in xgene_enet_cle_init()
|
D | xgene_enet_cle.h | 223 u8 node_type; member 240 u8 node_type; member
|
/drivers/media/platform/vivid/ |
D | vivid-core.c | 659 unsigned node_type = node_types[inst]; in vivid_create_instance() local 728 dev->has_vid_cap = node_type & 0x0001; in vivid_create_instance() 732 dev->has_raw_vbi_cap = node_type & 0x0004; in vivid_create_instance() 733 dev->has_sliced_vbi_cap = node_type & 0x0008; in vivid_create_instance() 738 dev->has_vid_out = node_type & 0x0100; in vivid_create_instance() 742 dev->has_raw_vbi_out = node_type & 0x0400; in vivid_create_instance() 743 dev->has_sliced_vbi_out = node_type & 0x0800; in vivid_create_instance() 748 dev->has_radio_rx = node_type & 0x0010; in vivid_create_instance() 751 dev->has_radio_tx = node_type & 0x1000; in vivid_create_instance() 754 dev->has_sdr_cap = node_type & 0x0020; in vivid_create_instance() [all …]
|
/drivers/infiniband/core/ |
D | sysfs.c | 1149 switch (dev->node_type) { in show_node_type() 1150 case RDMA_NODE_IB_CA: return sprintf(buf, "%d: CA\n", dev->node_type); in show_node_type() 1151 case RDMA_NODE_RNIC: return sprintf(buf, "%d: RNIC\n", dev->node_type); in show_node_type() 1152 case RDMA_NODE_USNIC: return sprintf(buf, "%d: usNIC\n", dev->node_type); in show_node_type() 1153 case RDMA_NODE_USNIC_UDP: return sprintf(buf, "%d: usNIC UDP\n", dev->node_type); in show_node_type() 1154 case RDMA_NODE_IB_SWITCH: return sprintf(buf, "%d: switch\n", dev->node_type); in show_node_type() 1155 case RDMA_NODE_IB_ROUTER: return sprintf(buf, "%d: router\n", dev->node_type); in show_node_type() 1156 default: return sprintf(buf, "%d: <unknown>\n", dev->node_type); in show_node_type() 1221 static DEVICE_ATTR(node_type, S_IRUGO, show_node_type, NULL);
|
D | verbs.c | 181 rdma_node_get_transport(enum rdma_node_type node_type) in rdma_node_get_transport() argument 184 if (node_type == RDMA_NODE_USNIC) in rdma_node_get_transport() 186 if (node_type == RDMA_NODE_USNIC_UDP) in rdma_node_get_transport() 188 if (node_type == RDMA_NODE_RNIC) in rdma_node_get_transport() 201 lt = rdma_node_get_transport(device->node_type); in rdma_port_get_link_layer()
|
D | nldev.c | 84 if (nla_put_u8(msg, RDMA_NLDEV_ATTR_DEV_NODE_TYPE, device->node_type)) in fill_dev_info()
|
D | cma.c | 508 rdma_node_get_transport(cma_dev->device->node_type); in _cma_attach_to_dev() 1439 rdma_node_get_transport(device->node_type); in cma_protocol_roce_dev_port() 3819 switch (id->device->node_type) { in rdma_notify() 4471 id_stats->node_type = id->route.addr.dev_addr.dev_type; in cma_get_id_stats()
|
/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_main.c | 153 dev->ibdev.node_type = RDMA_NODE_IB_CA; in ocrdma_register_device()
|
/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_topology.c | 740 static struct kobj_type node_type = { variable 822 ret = kobject_init_and_add(dev->kobj_node, &node_type, in kfd_build_sysfs_node_entry()
|
/drivers/infiniband/sw/rdmavt/ |
D | vt.c | 831 rdi->ibdev.node_type = RDMA_NODE_IB_CA; in rvt_register_device()
|
/drivers/infiniband/hw/usnic/ |
D | usnic_ib_main.c | 380 us_ibdev->ib_dev.node_type = RDMA_NODE_USNIC_UDP; in usnic_ib_device_add()
|
/drivers/infiniband/hw/cxgb4/ |
D | provider.c | 567 dev->ibdev.node_type = RDMA_NODE_RNIC; in c4iw_register_device()
|
/drivers/infiniband/hw/hns/ |
D | hns_roce_main.c | 438 ib_dev->node_type = RDMA_NODE_IB_CA; in hns_roce_register_device()
|
/drivers/infiniband/hw/qedr/ |
D | main.c | 126 dev->ibdev.node_type = RDMA_NODE_IB_CA; in qedr_register_device()
|
/drivers/infiniband/hw/vmw_pvrdma/ |
D | pvrdma_main.c | 203 dev->ib_dev.node_type = RDMA_NODE_IB_CA; in pvrdma_register_device()
|
/drivers/infiniband/hw/bnxt_re/ |
D | main.c | 434 ibdev->node_type = RDMA_NODE_IB_CA; in bnxt_re_register_ib()
|
/drivers/infiniband/sw/rxe/ |
D | rxe_verbs.c | 1200 dev->node_type = RDMA_NODE_IB_CA; in rxe_register_device()
|
/drivers/infiniband/hw/mthca/ |
D | mthca_provider.c | 1222 dev->ib_dev.node_type = RDMA_NODE_IB_CA; in mthca_register_device()
|
/drivers/infiniband/hw/cxgb3/ |
D | iwch_provider.c | 1385 dev->ibdev.node_type = RDMA_NODE_RNIC; in iwch_register_device()
|
/drivers/infiniband/hw/hfi1/ |
D | mad.c | 614 ni->node_type = 1; /* channel adapter */ in __subn_get_opa_nodeinfo() 651 nip->node_type = 1; /* channel adapter */ in subn_get_nodeinfo()
|
/drivers/infiniband/hw/qib/ |
D | qib_mad.c | 295 nip->node_type = 1; /* channel adapter */ in subn_get_nodeinfo()
|
/drivers/infiniband/hw/i40iw/ |
D | i40iw_verbs.c | 2763 iwibdev->ibdev.node_type = RDMA_NODE_RNIC; in i40iw_init_rdma_device()
|
/drivers/infiniband/hw/mlx4/ |
D | main.c | 2654 ibdev->ib_dev.node_type = RDMA_NODE_IB_CA; in mlx4_ib_add()
|
/drivers/infiniband/hw/mlx5/ |
D | main.c | 3953 dev->ib_dev.node_type = RDMA_NODE_IB_CA; in mlx5_ib_add()
|