Home
last modified time | relevance | path

Searched refs:node_type (Results 1 – 25 of 26) sorted by relevance

12

/drivers/pci/hotplug/
Drpadlpar_core.c83 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/
Dxgene_enet_cle.c67 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()
Dxgene_enet_cle.h223 u8 node_type; member
240 u8 node_type; member
/drivers/media/platform/vivid/
Dvivid-core.c659 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/
Dsysfs.c1149 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);
Dverbs.c181 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()
Dnldev.c84 if (nla_put_u8(msg, RDMA_NLDEV_ATTR_DEV_NODE_TYPE, device->node_type)) in fill_dev_info()
Dcma.c508 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/
Docrdma_main.c153 dev->ibdev.node_type = RDMA_NODE_IB_CA; in ocrdma_register_device()
/drivers/gpu/drm/amd/amdkfd/
Dkfd_topology.c740 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/
Dvt.c831 rdi->ibdev.node_type = RDMA_NODE_IB_CA; in rvt_register_device()
/drivers/infiniband/hw/usnic/
Dusnic_ib_main.c380 us_ibdev->ib_dev.node_type = RDMA_NODE_USNIC_UDP; in usnic_ib_device_add()
/drivers/infiniband/hw/cxgb4/
Dprovider.c567 dev->ibdev.node_type = RDMA_NODE_RNIC; in c4iw_register_device()
/drivers/infiniband/hw/hns/
Dhns_roce_main.c438 ib_dev->node_type = RDMA_NODE_IB_CA; in hns_roce_register_device()
/drivers/infiniband/hw/qedr/
Dmain.c126 dev->ibdev.node_type = RDMA_NODE_IB_CA; in qedr_register_device()
/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_main.c203 dev->ib_dev.node_type = RDMA_NODE_IB_CA; in pvrdma_register_device()
/drivers/infiniband/hw/bnxt_re/
Dmain.c434 ibdev->node_type = RDMA_NODE_IB_CA; in bnxt_re_register_ib()
/drivers/infiniband/sw/rxe/
Drxe_verbs.c1200 dev->node_type = RDMA_NODE_IB_CA; in rxe_register_device()
/drivers/infiniband/hw/mthca/
Dmthca_provider.c1222 dev->ib_dev.node_type = RDMA_NODE_IB_CA; in mthca_register_device()
/drivers/infiniband/hw/cxgb3/
Diwch_provider.c1385 dev->ibdev.node_type = RDMA_NODE_RNIC; in iwch_register_device()
/drivers/infiniband/hw/hfi1/
Dmad.c614 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/
Dqib_mad.c295 nip->node_type = 1; /* channel adapter */ in subn_get_nodeinfo()
/drivers/infiniband/hw/i40iw/
Di40iw_verbs.c2763 iwibdev->ibdev.node_type = RDMA_NODE_RNIC; in i40iw_init_rdma_device()
/drivers/infiniband/hw/mlx4/
Dmain.c2654 ibdev->ib_dev.node_type = RDMA_NODE_IB_CA; in mlx4_ib_add()
/drivers/infiniband/hw/mlx5/
Dmain.c3953 dev->ib_dev.node_type = RDMA_NODE_IB_CA; in mlx5_ib_add()

12