/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 int 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 int 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 int port_num, int phys_port_cnt);
|
D | smi.h | 55 int port_num, int phys_port_cnt);
|
D | cache.c | 460 for (p = 0; p < ib_dev->phys_port_cnt; p++) { in _ib_cache_gid_table_find() 761 for (port = 0; port < ib_dev->phys_port_cnt; port++) { in _gid_table_setup_one() 783 for (port = 0; port < ib_dev->phys_port_cnt; port++) { in _gid_table_setup_one() 799 for (port = 0; port < ib_dev->phys_port_cnt; port++) { in gid_table_release_one() 811 for (port = 0; port < ib_dev->phys_port_cnt; port++) { in gid_table_cleanup_one()
|
D | cma_configfs.c | 208 ports_num = ibdev->phys_port_cnt; in make_cma_ports()
|
D | cma.c | 685 for (port = 1; port <= cma_dev->device->phys_port_cnt; ++port) { in cma_acquire_dev() 735 for (p = 1; p <= cur_dev->device->phys_port_cnt; ++p) { in cma_resolve_ib_dev() 2735 for (p = 1; p <= cur_dev->device->phys_port_cnt; ++p) { in cma_bind_loopback() 4317 cma_dev->default_gid_type = kcalloc(device->phys_port_cnt, in cma_add_one() 4323 cma_dev->default_roce_tos = kcalloc(device->phys_port_cnt, in cma_add_one()
|
D | multicast.c | 816 dev = kmalloc(sizeof *dev + device->phys_port_cnt * sizeof *port, in mcast_add_one()
|
D | sysfs.c | 1296 for (i = 1; i <= device->phys_port_cnt; ++i) { in ib_device_register_sysfs()
|
/drivers/infiniband/sw/rdmavt/ |
D | ah.c | 76 port_num > ibdev->phys_port_cnt) in rvt_check_ah()
|
D | qp.c | 809 init_attr->port_num > ibpd->device->phys_port_cnt) in rvt_create_qp() 1236 attr->port_num > ibqp->device->phys_port_cnt) in rvt_modify_qp() 2208 i->specials = rdi->ibdev.phys_port_cnt * 2; in rvt_qp_iter_init() 2259 pidx = n % rdi->ibdev.phys_port_cnt; in rvt_qp_iter_next() 2302 .specials = rdi->ibdev.phys_port_cnt * 2, in rvt_qp_iter()
|
/drivers/infiniband/ulp/srpt/ |
D | ib_srpt.c | 145 if (event->element.port_num <= sdev->device->phys_port_cnt) { in srpt_event_handler() 158 if (event->element.port_num <= sdev->device->phys_port_cnt) { in srpt_event_handler() 585 for (i = 1; i <= sdev->device->phys_port_cnt; i++) { in srpt_unregister_mad_agent() 2481 for (i = 0; i < dev->phys_port_cnt; i++) { in __srpt_lookup_wwn() 2582 WARN_ON(sdev->device->phys_port_cnt > ARRAY_SIZE(sdev->port)); in srpt_add_one() 2584 for (i = 1; i <= sdev->device->phys_port_cnt; i++) { in srpt_add_one() 2647 for (i = 0; i < sdev->device->phys_port_cnt; i++) in srpt_remove_one()
|
/drivers/infiniband/hw/vmw_pvrdma/ |
D | pvrdma_main.c | 204 dev->ib_dev.phys_port_cnt = dev->dsr->caps.phys_port_cnt; in pvrdma_register_device() 370 if (port < 1 || port > dev->dsr->caps.phys_port_cnt) { in pvrdma_dev_event()
|
D | pvrdma_dev_api.h | 256 u8 phys_port_cnt; member
|
D | pvrdma_qp.c | 223 init_attr->port_num > pd->device->phys_port_cnt || in pvrdma_create_qp() 484 attr->port_num > ibqp->device->phys_port_cnt) { in pvrdma_modify_qp()
|
/drivers/infiniband/ulp/opa_vnic/ |
D | opa_vnic_vema.c | 1014 size += device->phys_port_cnt * sizeof(struct opa_vnic_vema_port); in opa_vnic_vema_add_one() 1019 cport->num_ports = device->phys_port_cnt; in opa_vnic_vema_add_one()
|
/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_main.c | 154 dev->ibdev.phys_port_cnt = 1; in ocrdma_register_device()
|
/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/usnic/ |
D | usnic_ib_main.c | 381 us_ibdev->ib_dev.phys_port_cnt = USNIC_IB_PORT_CNT; in usnic_ib_device_add()
|
/drivers/infiniband/hw/cxgb4/ |
D | provider.c | 570 dev->ibdev.phys_port_cnt = dev->rdev.lldi.nports; in c4iw_register_device()
|
/drivers/infiniband/hw/hns/ |
D | hns_roce_main.c | 441 ib_dev->phys_port_cnt = hr_dev->caps.num_ports; in hns_roce_register_device()
|
/drivers/infiniband/hw/mlx4/ |
D | sysfs.c | 832 for (i = 1; i <= dev->ib_dev.phys_port_cnt; ++i) { in mlx4_ib_device_register_sysfs()
|
/drivers/scsi/qla4xxx/ |
D | ql4_fw.h | 976 uint16_t phys_port_cnt; /* 12-13 number of physical network ports */ member
|
/drivers/infiniband/hw/qedr/ |
D | main.c | 124 dev->ibdev.phys_port_cnt = 1; in qedr_register_device()
|
/drivers/infiniband/hw/hfi1/ |
D | mad.c | 615 ni->num_ports = ibdev->phys_port_cnt; in __subn_get_opa_nodeinfo() 652 nip->num_ports = ibdev->phys_port_cnt; in subn_get_nodeinfo() 4362 port_num && port_num <= ibdev->phys_port_cnt && in process_subn_opa() 4459 port_num && port_num <= ibdev->phys_port_cnt && in process_subn()
|
/drivers/infiniband/hw/bnxt_re/ |
D | main.c | 438 ibdev->phys_port_cnt = 1; in bnxt_re_register_ib()
|