phys_port_cnt 4334 drivers/infiniband/core/cm.c cm_dev = kzalloc(struct_size(cm_dev, port, ib_device->phys_port_cnt), phys_port_cnt 4344 drivers/infiniband/core/cm.c for (i = 1; i <= ib_device->phys_port_cnt; i++) { phys_port_cnt 4436 drivers/infiniband/core/cm.c for (i = 1; i <= ib_device->phys_port_cnt; i++) { phys_port_cnt 782 drivers/infiniband/core/cma.c for (port = 1; port <= cma_dev->device->phys_port_cnt; ++port) { phys_port_cnt 827 drivers/infiniband/core/cma.c for (p = 1; p <= cur_dev->device->phys_port_cnt; ++p) { phys_port_cnt 2986 drivers/infiniband/core/cma.c for (p = 1; p <= cur_dev->device->phys_port_cnt; ++p) { phys_port_cnt 4574 drivers/infiniband/core/cma.c cma_dev->default_gid_type = kcalloc(device->phys_port_cnt, phys_port_cnt 4580 drivers/infiniband/core/cma.c cma_dev->default_roce_tos = kcalloc(device->phys_port_cnt, phys_port_cnt 211 drivers/infiniband/core/cma_configfs.c ports_num = ibdev->phys_port_cnt; phys_port_cnt 743 drivers/infiniband/core/device.c if (WARN_ON(!device->phys_port_cnt)) phys_port_cnt 2110 drivers/infiniband/core/mad.c port_priv->device->phys_port_cnt) == phys_port_cnt 2197 drivers/infiniband/core/mad.c port_priv->device->phys_port_cnt) == phys_port_cnt 825 drivers/infiniband/core/multicast.c dev = kmalloc(struct_size(dev, port, device->phys_port_cnt), phys_port_cnt 43 drivers/infiniband/core/opa_smi.h int port_num, int phys_port_cnt); phys_port_cnt 156 drivers/infiniband/core/smi.c int phys_port_cnt, phys_port_cnt 181 drivers/infiniband/core/smi.c return (initial_path[*hop_ptr+1] <= phys_port_cnt ? phys_port_cnt 215 drivers/infiniband/core/smi.c return (return_path[*hop_ptr-1] <= phys_port_cnt ? phys_port_cnt 241 drivers/infiniband/core/smi.c int port_num, int phys_port_cnt) phys_port_cnt 243 drivers/infiniband/core/smi.c return __smi_handle_dr_smp_recv(is_switch, port_num, phys_port_cnt, phys_port_cnt 257 drivers/infiniband/core/smi.c int port_num, int phys_port_cnt) phys_port_cnt 259 drivers/infiniband/core/smi.c return __smi_handle_dr_smp_recv(is_switch, port_num, phys_port_cnt, phys_port_cnt 55 drivers/infiniband/core/smi.h int port_num, int phys_port_cnt); phys_port_cnt 353 drivers/infiniband/core/uverbs_cmd.c resp->phys_port_cnt = ib_dev->phys_port_cnt; phys_port_cnt 2165 drivers/infiniband/core/verbs.c for (port = 0; port < qp->device->phys_port_cnt; port++) phys_port_cnt 660 drivers/infiniband/hw/bnxt_re/main.c ibdev->phys_port_cnt = 1; phys_port_cnt 1300 drivers/infiniband/hw/cxgb3/iwch_provider.c dev->ibdev.phys_port_cnt = dev->rdev.port_info.nports; phys_port_cnt 573 drivers/infiniband/hw/cxgb4/provider.c dev->ibdev.phys_port_cnt = dev->rdev.lldi.nports; phys_port_cnt 270 drivers/infiniband/hw/efa/efa_main.c dev->ibdev.phys_port_cnt = 1; phys_port_cnt 625 drivers/infiniband/hw/hfi1/mad.c ni->num_ports = ibdev->phys_port_cnt; phys_port_cnt 662 drivers/infiniband/hw/hfi1/mad.c nip->num_ports = ibdev->phys_port_cnt; phys_port_cnt 4551 drivers/infiniband/hw/hfi1/mad.c port_num && port_num <= ibdev->phys_port_cnt && phys_port_cnt 4648 drivers/infiniband/hw/hfi1/mad.c port_num && port_num <= ibdev->phys_port_cnt && phys_port_cnt 1838 drivers/infiniband/hw/hfi1/verbs.c ibdev->phys_port_cnt = dd->num_pports; phys_port_cnt 492 drivers/infiniband/hw/hns/hns_roce_main.c ib_dev->phys_port_cnt = hr_dev->caps.num_ports; phys_port_cnt 2724 drivers/infiniband/hw/i40iw/i40iw_verbs.c iwibdev->ibdev.phys_port_cnt = 1; phys_port_cnt 1715 drivers/infiniband/hw/mlx4/main.c if (flow_attr->port < 1 || flow_attr->port > qp->device->phys_port_cnt) phys_port_cnt 2668 drivers/infiniband/hw/mlx4/main.c ibdev->ib_dev.phys_port_cnt = mlx4_is_bonded(dev) ? phys_port_cnt 830 drivers/infiniband/hw/mlx4/sysfs.c for (i = 1; i <= dev->ib_dev.phys_port_cnt; ++i) { phys_port_cnt 6193 drivers/infiniband/hw/mlx5/main.c dev->ib_dev.phys_port_cnt = dev->num_ports; phys_port_cnt 1261 drivers/infiniband/hw/mthca/mthca_provider.c dev->ib_dev.phys_port_cnt = dev->limits.num_ports; phys_port_cnt 236 drivers/infiniband/hw/ocrdma/ocrdma_main.c dev->ibdev.phys_port_cnt = 1; phys_port_cnt 279 drivers/infiniband/hw/qedr/main.c dev->ibdev.phys_port_cnt = 1; phys_port_cnt 296 drivers/infiniband/hw/qib/qib_mad.c nip->num_ports = ibdev->phys_port_cnt; phys_port_cnt 469 drivers/infiniband/hw/qib/qib_mad.c if (port_num > ibdev->phys_port_cnt) { phys_port_cnt 676 drivers/infiniband/hw/qib/qib_mad.c if (port_num > ibdev->phys_port_cnt) phys_port_cnt 1890 drivers/infiniband/hw/qib/qib_mad.c port_num && port_num <= ibdev->phys_port_cnt && phys_port_cnt 1552 drivers/infiniband/hw/qib/qib_verbs.c ibdev->phys_port_cnt = dd->num_pports; phys_port_cnt 399 drivers/infiniband/hw/usnic/usnic_ib_main.c us_ibdev->ib_dev.phys_port_cnt = USNIC_IB_PORT_CNT; phys_port_cnt 257 drivers/infiniband/hw/vmw_pvrdma/pvrdma_dev_api.h u8 phys_port_cnt; phys_port_cnt 231 drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c dev->ib_dev.phys_port_cnt = dev->dsr->caps.phys_port_cnt; phys_port_cnt 406 drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c if (port < 1 || port > dev->dsr->caps.phys_port_cnt) { phys_port_cnt 230 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c init_attr->port_num > pd->device->phys_port_cnt || phys_port_cnt 500 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c attr->port_num > ibqp->device->phys_port_cnt) { phys_port_cnt 76 drivers/infiniband/sw/rdmavt/ah.c port_num > ibdev->phys_port_cnt) phys_port_cnt 1106 drivers/infiniband/sw/rdmavt/qp.c init_attr->port_num > ibpd->device->phys_port_cnt) phys_port_cnt 1519 drivers/infiniband/sw/rdmavt/qp.c attr->port_num > ibqp->device->phys_port_cnt) phys_port_cnt 2723 drivers/infiniband/sw/rdmavt/qp.c i->specials = rdi->ibdev.phys_port_cnt * 2; phys_port_cnt 2774 drivers/infiniband/sw/rdmavt/qp.c pidx = n % rdi->ibdev.phys_port_cnt; phys_port_cnt 2817 drivers/infiniband/sw/rdmavt/qp.c .specials = rdi->ibdev.phys_port_cnt * 2, phys_port_cnt 1167 drivers/infiniband/sw/rxe/rxe_verbs.c dev->phys_port_cnt = 1; phys_port_cnt 377 drivers/infiniband/sw/siw/siw_main.c base_dev->phys_port_cnt = 1; phys_port_cnt 1002 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c size += device->phys_port_cnt * sizeof(struct opa_vnic_vema_port); phys_port_cnt 1007 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c cport->num_ports = device->phys_port_cnt; phys_port_cnt 152 drivers/infiniband/ulp/srpt/ib_srpt.c if (port_num < sdev->device->phys_port_cnt) { phys_port_cnt 159 drivers/infiniband/ulp/srpt/ib_srpt.c sdev->device->phys_port_cnt); phys_port_cnt 170 drivers/infiniband/ulp/srpt/ib_srpt.c if (port_num < sdev->device->phys_port_cnt) { phys_port_cnt 177 drivers/infiniband/ulp/srpt/ib_srpt.c sdev->device->phys_port_cnt); phys_port_cnt 635 drivers/infiniband/ulp/srpt/ib_srpt.c for (i = 1; i <= sdev->device->phys_port_cnt; i++) { phys_port_cnt 2999 drivers/infiniband/ulp/srpt/ib_srpt.c for (i = 0; i < dev->phys_port_cnt; i++) { phys_port_cnt 3117 drivers/infiniband/ulp/srpt/ib_srpt.c sdev = kzalloc(struct_size(sdev, port, device->phys_port_cnt), phys_port_cnt 3171 drivers/infiniband/ulp/srpt/ib_srpt.c for (i = 1; i <= sdev->device->phys_port_cnt; i++) { phys_port_cnt 3237 drivers/infiniband/ulp/srpt/ib_srpt.c for (i = 0; i < sdev->device->phys_port_cnt; i++) phys_port_cnt 3254 drivers/infiniband/ulp/srpt/ib_srpt.c for (i = 0; i < sdev->device->phys_port_cnt; i++) phys_port_cnt 976 drivers/scsi/qla4xxx/ql4_fw.h uint16_t phys_port_cnt; /* 12-13 number of physical network ports */ phys_port_cnt 4094 drivers/scsi/qla4xxx/ql4_nx.c ha->phy_port_cnt = sys_info->phys_port_cnt; phys_port_cnt 2633 include/rdma/ib_verbs.h u8 phys_port_cnt; phys_port_cnt 2958 include/rdma/ib_verbs.h return rdma_cap_ib_switch(device) ? 0 : device->phys_port_cnt; phys_port_cnt 215 include/uapi/rdma/ib_user_verbs.h __u8 phys_port_cnt; phys_port_cnt 545 net/smc/smc_ib.c port_cnt = smcibdev->ibdev->phys_port_cnt;