/drivers/infiniband/core/ |
D | smi.c | 47 u8 node_type, int port_num) in smi_handle_dr_smp_send() argument 69 if (node_type != RDMA_NODE_IB_SWITCH) in smi_handle_dr_smp_send() 82 return (node_type == RDMA_NODE_IB_SWITCH || in smi_handle_dr_smp_send() 101 if (node_type != RDMA_NODE_IB_SWITCH) in smi_handle_dr_smp_send() 113 return (node_type == RDMA_NODE_IB_SWITCH || in smi_handle_dr_smp_send() 131 enum smi_action smi_handle_dr_smp_recv(struct ib_smp *smp, u8 node_type, in smi_handle_dr_smp_recv() argument 151 if (node_type != RDMA_NODE_IB_SWITCH) in smi_handle_dr_smp_recv() 166 return (node_type == RDMA_NODE_IB_SWITCH || in smi_handle_dr_smp_recv() 186 if (node_type != RDMA_NODE_IB_SWITCH) in smi_handle_dr_smp_recv() 202 return (node_type == RDMA_NODE_IB_SWITCH ? in smi_handle_dr_smp_recv()
|
D | smi.h | 54 enum smi_action smi_handle_dr_smp_recv(struct ib_smp *smp, u8 node_type, 59 u8 node_type, int port_num);
|
D | sysfs.c | 608 switch (dev->node_type) { in show_node_type() 609 case RDMA_NODE_IB_CA: return sprintf(buf, "%d: CA\n", dev->node_type); in show_node_type() 610 case RDMA_NODE_RNIC: return sprintf(buf, "%d: RNIC\n", dev->node_type); in show_node_type() 611 case RDMA_NODE_IB_SWITCH: return sprintf(buf, "%d: switch\n", dev->node_type); in show_node_type() 612 case RDMA_NODE_IB_ROUTER: return sprintf(buf, "%d: router\n", dev->node_type); in show_node_type() 613 default: return sprintf(buf, "%d: <unknown>\n", dev->node_type); in show_node_type() 674 static DEVICE_ATTR(node_type, S_IRUGO, show_node_type, NULL); 838 if (device->node_type == RDMA_NODE_IB_SWITCH) { in ib_device_register_sysfs() 850 if (device->node_type == RDMA_NODE_RNIC && device->get_protocol_stats) { in ib_device_register_sysfs()
|
D | agent.c | 91 if (device->node_type == RDMA_NODE_IB_SWITCH) in agent_send_response() 120 if (device->node_type == RDMA_NODE_IB_SWITCH) { in agent_send_response()
|
D | cma.c | 286 rdma_node_get_transport(cma_dev->device->node_type); in cma_attach_to_dev() 382 if (rdma_node_get_transport(cma_dev->device->node_type) == RDMA_TRANSPORT_IB && in cma_acquire_dev() 653 switch (rdma_node_get_transport(id_priv->id.device->node_type)) { in rdma_init_qp_attr() 928 switch (rdma_node_get_transport(id_priv->id.device->node_type)) { in rdma_destroy_id() 1885 switch (rdma_node_get_transport(id->device->node_type)) { in rdma_resolve_route() 2342 switch (rdma_node_get_transport(id->device->node_type)) { in rdma_listen() 2714 switch (rdma_node_get_transport(id->device->node_type)) { in rdma_connect() 2830 switch (rdma_node_get_transport(id->device->node_type)) { in rdma_accept() 2875 switch (id->device->node_type) { in rdma_notify() 2897 switch (rdma_node_get_transport(id->device->node_type)) { in rdma_reject() [all …]
|
D | cache.c | 63 return (device->node_type == RDMA_NODE_IB_SWITCH) ? 0 : 1; in start_port() 68 return (device->node_type == RDMA_NODE_IB_SWITCH) ? in end_port()
|
D | mad.c | 692 if (device->node_type == RDMA_NODE_IB_SWITCH && in handle_outgoing_dr_smp() 706 smi_handle_dr_smp_send(smp, device->node_type, port_num) == in handle_outgoing_dr_smp() 1910 if (port_priv->device->node_type == RDMA_NODE_IB_SWITCH) in ib_mad_recv_done_handler() 1920 port_priv->device->node_type, in ib_mad_recv_done_handler() 1932 port_priv->device->node_type, in ib_mad_recv_done_handler() 1938 } else if (port_priv->device->node_type == RDMA_NODE_IB_SWITCH) { in ib_mad_recv_done_handler() 2954 if (rdma_node_get_transport(device->node_type) != RDMA_TRANSPORT_IB) in ib_mad_init_device() 2957 if (device->node_type == RDMA_NODE_IB_SWITCH) { in ib_mad_init_device() 3004 if (rdma_node_get_transport(device->node_type) != RDMA_TRANSPORT_IB) in ib_mad_remove_device() 3007 if (device->node_type == RDMA_NODE_IB_SWITCH) { in ib_mad_remove_device()
|
D | device.c | 156 return (device->node_type == RDMA_NODE_IB_SWITCH) ? 0 : 1; in start_port() 162 return (device->node_type == RDMA_NODE_IB_SWITCH) ? in end_port()
|
D | verbs.c | 108 rdma_node_get_transport(enum rdma_node_type node_type) in rdma_node_get_transport() argument 110 switch (node_type) { in rdma_node_get_transport() 129 switch (rdma_node_get_transport(device->node_type)) { in rdma_port_get_link_layer()
|
D | multicast.c | 806 if (rdma_node_get_transport(device->node_type) != RDMA_TRANSPORT_IB) in mcast_add_one() 814 if (device->node_type == RDMA_NODE_IB_SWITCH) in mcast_add_one()
|
D | sa_query.c | 1141 if (rdma_node_get_transport(device->node_type) != RDMA_TRANSPORT_IB) in ib_sa_add_one() 1144 if (device->node_type == RDMA_NODE_IB_SWITCH) in ib_sa_add_one()
|
D | user_mad.c | 1125 if (rdma_node_get_transport(device->node_type) != RDMA_TRANSPORT_IB) in ib_umad_add_one() 1128 if (device->node_type == RDMA_NODE_IB_SWITCH) in ib_umad_add_one()
|
D | ucm.c | 1257 rdma_node_get_transport(device->node_type) != RDMA_TRANSPORT_IB) in ib_ucm_add_one()
|
/drivers/staging/tidspbridge/rmgr/ |
D | node.c | 195 enum node_type ntype; /* Type of node: message, task, etc */ 296 enum node_type node_type = NODE_TASK; in node_allocate() local 475 node_type = node_get_type(pnode); in node_allocate() 478 if (node_type != NODE_MESSAGE) { in node_allocate() 487 if (!status && (node_type == NODE_TASK || in node_allocate() 488 node_type == NODE_DAISSOCKET)) { in node_allocate() 510 if (!status && (node_type != NODE_DEVICE)) { in node_allocate() 549 if (!status && node_type != NODE_DEVICE) { in node_allocate() 769 enum node_type node_type; in node_change_priority() local 778 node_type = node_get_type(hnode); in node_change_priority() [all …]
|
D | disp.c | 211 enum node_type node_type; in disp_node_create() local 240 node_type = node_get_type(hnode); in disp_node_create() 327 if (node_type == NODE_TASK || node_type == NODE_DAISSOCKET) { in disp_node_create()
|
/drivers/pci/hotplug/ |
D | rpadlpar_core.c | 81 static struct device_node *find_dlpar_node(char *drc_name, int *node_type) in find_dlpar_node() argument 87 *node_type = NODE_TYPE_SLOT; in find_dlpar_node() 93 *node_type = NODE_TYPE_PHB; in find_dlpar_node() 99 *node_type = NODE_TYPE_VIO; in find_dlpar_node() 289 int node_type; in dlpar_add_slot() local 296 dn = find_dlpar_node(drc_name, &node_type); in dlpar_add_slot() 302 switch (node_type) { in dlpar_add_slot() 412 int node_type; in dlpar_remove_slot() local 418 dn = find_dlpar_node(drc_name, &node_type); in dlpar_remove_slot() 424 switch (node_type) { in dlpar_remove_slot()
|
/drivers/staging/tidspbridge/include/dspbridge/ |
D | dbdefs.h | 136 enum node_type { enum 287 enum node_type ntype;
|
D | nodepriv.h | 149 extern enum node_type node_get_type(struct node_object *hnode);
|
/drivers/infiniband/hw/qib/ |
D | qib_mad.h | 47 u8 node_type; member
|
/drivers/infiniband/ulp/ipoib/ |
D | ipoib_main.c | 1662 if (rdma_node_get_transport(device->node_type) != RDMA_TRANSPORT_IB) in ipoib_add_one() 1671 if (device->node_type == RDMA_NODE_IB_SWITCH) { in ipoib_add_one() 1697 if (rdma_node_get_transport(device->node_type) != RDMA_TRANSPORT_IB) in ipoib_remove_one()
|
/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_main.c | 295 dev->ibdev.node_type = RDMA_NODE_IB_CA; in ocrdma_register_device()
|
/drivers/infiniband/hw/ipath/ |
D | ipath_mad.c | 72 u8 node_type; member 97 nip->node_type = 1; /* channel adapter */ in recv_subn_get_nodeinfo()
|
/drivers/infiniband/hw/cxgb4/ |
D | provider.c | 458 dev->ibdev.node_type = RDMA_NODE_RNIC; in c4iw_register_device()
|
/drivers/infiniband/hw/amso1100/ |
D | c2_provider.c | 801 dev->ibdev.node_type = RDMA_NODE_RNIC; in c2_register_device()
|
/drivers/infiniband/hw/ehca/ |
D | ehca_main.c | 463 shca->ib_device.node_type = RDMA_NODE_IB_CA; in ehca_init_device()
|