/drivers/infiniband/core/ |
D | smi.c | 156 int phys_port_cnt, in __smi_handle_dr_smp_recv() argument 181 return (initial_path[*hop_ptr+1] <= phys_port_cnt ? in __smi_handle_dr_smp_recv() 215 return (return_path[*hop_ptr-1] <= phys_port_cnt ? in __smi_handle_dr_smp_recv() 241 u32 port_num, int phys_port_cnt) in smi_handle_dr_smp_recv() argument 243 return __smi_handle_dr_smp_recv(is_switch, port_num, phys_port_cnt, in smi_handle_dr_smp_recv() 257 u32 port_num, int phys_port_cnt) in opa_smi_handle_dr_smp_recv() argument 259 return __smi_handle_dr_smp_recv(is_switch, port_num, phys_port_cnt, in opa_smi_handle_dr_smp_recv()
|
D | opa_smi.h | 43 u32 port_num, int phys_port_cnt);
|
D | smi.h | 55 u32 port_num, int phys_port_cnt);
|
D | cma_configfs.c | 213 ports_num = ibdev->phys_port_cnt; in make_cma_ports()
|
D | multicast.c | 826 dev = kmalloc(struct_size(dev, port, device->phys_port_cnt), in mcast_add_one()
|
D | device.c | 791 if (WARN_ON(!device->phys_port_cnt)) in alloc_port_data() 795 if (WARN_ON(device->phys_port_cnt == U32_MAX)) in alloc_port_data()
|
/drivers/infiniband/sw/rdmavt/ |
D | ah.c | 34 port_num > ibdev->phys_port_cnt) in rvt_check_ah()
|
D | qp.c | 1072 init_attr->port_num > ibqp->device->phys_port_cnt) in rvt_create_qp() 1478 attr->port_num > ibqp->device->phys_port_cnt) in rvt_modify_qp() 2661 i->specials = rdi->ibdev.phys_port_cnt * 2; in rvt_qp_iter_init() 2712 pidx = n % rdi->ibdev.phys_port_cnt; in rvt_qp_iter_next() 2755 .specials = rdi->ibdev.phys_port_cnt * 2, in rvt_qp_iter()
|
/drivers/infiniband/ulp/srpt/ |
D | ib_srpt.c | 153 if (port_num < sdev->device->phys_port_cnt) { in srpt_event_handler() 160 sdev->device->phys_port_cnt); in srpt_event_handler() 171 if (port_num < sdev->device->phys_port_cnt) { in srpt_event_handler() 178 sdev->device->phys_port_cnt); in srpt_event_handler() 3012 for (i = 0; i < dev->phys_port_cnt; i++) { in __srpt_lookup_port() 3156 sdev = kzalloc(struct_size(sdev, port, device->phys_port_cnt), in srpt_add_one() 3214 for (i = 1; i <= sdev->device->phys_port_cnt; i++) { in srpt_add_one() 3268 srpt_unregister_mad_agent(sdev, sdev->device->phys_port_cnt); in srpt_remove_one() 3273 for (i = 0; i < sdev->device->phys_port_cnt; i++) in srpt_remove_one() 3290 for (i = 0; i < sdev->device->phys_port_cnt; i++) in srpt_remove_one()
|
/drivers/infiniband/hw/vmw_pvrdma/ |
D | pvrdma_main.c | 212 dev->ib_dev.phys_port_cnt = dev->dsr->caps.phys_port_cnt; in pvrdma_register_device() 379 if (port < 1 || port > dev->dsr->caps.phys_port_cnt) { in pvrdma_dev_event()
|
D | pvrdma_dev_api.h | 258 u8 phys_port_cnt; member
|
D | pvrdma_qp.c | 234 init_attr->port_num > ibqp->device->phys_port_cnt) { in pvrdma_create_qp() 553 attr->port_num > ibqp->device->phys_port_cnt) { in pvrdma_modify_qp()
|
/drivers/infiniband/ulp/opa_vnic/ |
D | opa_vnic_vema.c | 999 size += device->phys_port_cnt * sizeof(struct opa_vnic_vema_port); in opa_vnic_vema_add_one() 1004 cport->num_ports = device->phys_port_cnt; in opa_vnic_vema_add_one()
|
/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_main.c | 212 dev->ibdev.phys_port_cnt = 1; in ocrdma_register_device()
|
/drivers/infiniband/sw/siw/ |
D | siw_main.c | 346 base_dev->phys_port_cnt = 1; in siw_device_create()
|
/drivers/infiniband/hw/efa/ |
D | efa_main.c | 308 dev->ibdev.phys_port_cnt = 1; in efa_ib_device_add()
|
/drivers/infiniband/hw/qib/ |
D | qib_mad.c | 296 nip->num_ports = ibdev->phys_port_cnt; in subn_get_nodeinfo() 469 if (port_num > ibdev->phys_port_cnt) { in subn_get_portinfo() 676 if (port_num > ibdev->phys_port_cnt) in subn_set_portinfo() 1890 port_num && port_num <= ibdev->phys_port_cnt && in process_subn()
|
/drivers/infiniband/hw/cxgb4/ |
D | provider.c | 537 dev->ibdev.phys_port_cnt = dev->rdev.lldi.nports; in c4iw_register_device()
|
/drivers/infiniband/hw/usnic/ |
D | usnic_ib_main.c | 399 us_ibdev->ib_dev.phys_port_cnt = USNIC_IB_PORT_CNT; in usnic_ib_device_add()
|
/drivers/infiniband/hw/hns/ |
D | hns_roce_main.c | 514 ib_dev->phys_port_cnt = hr_dev->caps.num_ports; in hns_roce_register_device()
|
/drivers/scsi/qla4xxx/ |
D | ql4_fw.h | 975 uint16_t phys_port_cnt; /* 12-13 number of physical network ports */ member
|
/drivers/infiniband/hw/qedr/ |
D | main.c | 257 dev->ibdev.phys_port_cnt = 1; in qedr_register_device()
|
/drivers/infiniband/hw/hfi1/ |
D | mad.c | 583 ni->num_ports = ibdev->phys_port_cnt; in __subn_get_opa_nodeinfo() 620 nip->num_ports = ibdev->phys_port_cnt; in subn_get_nodeinfo() 4508 port_num && port_num <= ibdev->phys_port_cnt && in process_subn_opa() 4605 port_num && port_num <= ibdev->phys_port_cnt && in process_subn()
|
/drivers/infiniband/hw/mthca/ |
D | mthca_provider.c | 1151 dev->ib_dev.phys_port_cnt = dev->limits.num_ports; in mthca_register_device()
|
/drivers/infiniband/sw/rxe/ |
D | rxe_verbs.c | 1119 dev->phys_port_cnt = 1; in rxe_register_device()
|