num_pports 9875 drivers/infiniband/hw/hfi1/chip.c for (i = 0; i < dd->num_pports; i++, ppd++) { num_pports 12195 drivers/infiniband/hw/hfi1/chip.c for (i = 0; i < dd->num_pports; i++, ppd++) { num_pports 12435 drivers/infiniband/hw/hfi1/chip.c for (i = 0; i < dd->num_pports; i++, ppd++) { num_pports 12696 drivers/infiniband/hw/hfi1/chip.c for (i = 0; i < dd->num_pports; i++, ppd++) { num_pports 14019 drivers/infiniband/hw/hfi1/chip.c for (i = 0; i < dd->num_pports; i++) { num_pports 14839 drivers/infiniband/hw/hfi1/chip.c for (i = 0; i < dd->num_pports; i++, ppd++) { num_pports 15079 drivers/infiniband/hw/hfi1/chip.c for (i = 0; i < dd->num_pports; ++i) { num_pports 1275 drivers/infiniband/hw/hfi1/debugfs.c for (ppd = dd->pport, j = 0; j < dd->num_pports; j++, ppd++) num_pports 183 drivers/infiniband/hw/hfi1/driver.c for (pidx = 0; pidx < dd->num_pports; ++pidx) { num_pports 1386 drivers/infiniband/hw/hfi1/driver.c for (pidx = 0; pidx < dd->num_pports; ++pidx) { num_pports 1370 drivers/infiniband/hw/hfi1/hfi.h u8 num_pports; num_pports 1852 drivers/infiniband/hw/hfi1/hfi.h WARN_ON(pidx >= dd->num_pports); num_pports 2271 drivers/infiniband/hw/hfi1/hfi.h for (i = 0; i < dd->num_pports; i++, ppd++) { num_pports 802 drivers/infiniband/hw/hfi1/init.c for (pidx = 0; pidx < dd->num_pports; ++pidx) { num_pports 833 drivers/infiniband/hw/hfi1/init.c for (pidx = 0; pidx < dd->num_pports; ++pidx) { num_pports 902 drivers/infiniband/hw/hfi1/init.c for (pidx = 0; pidx < dd->num_pports; ++pidx) { num_pports 967 drivers/infiniband/hw/hfi1/init.c for (pidx = 0; pidx < dd->num_pports; ++pidx) { num_pports 993 drivers/infiniband/hw/hfi1/init.c for (pidx = 0; pidx < dd->num_pports; ++pidx) { num_pports 1036 drivers/infiniband/hw/hfi1/init.c for (pidx = 0; pidx < dd->num_pports; ++pidx) { num_pports 1065 drivers/infiniband/hw/hfi1/init.c for (pidx = 0; pidx < dd->num_pports; ++pidx) { num_pports 1079 drivers/infiniband/hw/hfi1/init.c for (pidx = 0; pidx < dd->num_pports; ++pidx) { num_pports 1104 drivers/infiniband/hw/hfi1/init.c for (pidx = 0; pidx < dd->num_pports; ++pidx) { num_pports 1289 drivers/infiniband/hw/hfi1/init.c dd->num_pports = nports; num_pports 1372 drivers/infiniband/hw/hfi1/init.c for (pidx = 0; pidx < dd->num_pports; ++pidx) { num_pports 1537 drivers/infiniband/hw/hfi1/init.c for (pidx = 0; pidx < dd->num_pports; ++pidx) { num_pports 1748 drivers/infiniband/hw/hfi1/init.c for (pidx = 0; pidx < dd->num_pports; ++pidx) { num_pports 614 drivers/infiniband/hw/hfi1/mad.c if (am || pidx >= dd->num_pports || ibdev->node_guid == 0 || num_pports 651 drivers/infiniband/hw/hfi1/mad.c if (smp->attr_mod || pidx >= dd->num_pports || num_pports 770 drivers/infiniband/hw/hfi1/qp.c for (n = 0; n < dd->num_pports; n++) { num_pports 714 drivers/infiniband/hw/hfi1/qsfp.c if (port_num > dd->num_pports || port_num < 1) { num_pports 663 drivers/infiniband/hw/hfi1/sysfs.c if (!port_num || port_num > dd->num_pports) { num_pports 882 drivers/infiniband/hw/hfi1/sysfs.c for (i = 0; i < dd->num_pports; i++) { num_pports 1463 drivers/infiniband/hw/hfi1/verbs.c for (i = 0; i < dd->num_pports; i++) { num_pports 1473 drivers/infiniband/hw/hfi1/verbs.c for (i = 0; i < dd->num_pports; i++) { num_pports 1812 drivers/infiniband/hw/hfi1/verbs.c for (i = 0; i < dd->num_pports; i++) num_pports 1838 drivers/infiniband/hw/hfi1/verbs.c ibdev->phys_port_cnt = dd->num_pports; num_pports 1907 drivers/infiniband/hw/hfi1/verbs.c dd->verbs_dev.rdi.dparms.nports = dd->num_pports; num_pports 1922 drivers/infiniband/hw/hfi1/verbs.c for (i = 0; i < dd->num_pports; i++, ppd++) num_pports 810 drivers/infiniband/hw/hfi1/vnic_main.c if (!port_num || (port_num > dd->num_pports)) num_pports 1045 drivers/infiniband/hw/qib/qib.h u8 num_pports; num_pports 1208 drivers/infiniband/hw/qib/qib.h WARN_ON(pidx >= dd->num_pports); num_pports 590 drivers/infiniband/hw/qib/qib_diag.c if (!dp.port || dp.port > dd->num_pports) { num_pports 104 drivers/infiniband/hw/qib/qib_driver.c for (pidx = 0; pidx < dd->num_pports; ++pidx) { num_pports 135 drivers/infiniband/hw/qib/qib_driver.c for (pidx = 0; pidx < dd->num_pports; ++pidx) { num_pports 772 drivers/infiniband/hw/qib/qib_driver.c for (pidx = 0; pidx < dd->num_pports; ++pidx) { num_pports 1375 drivers/infiniband/hw/qib/qib_file_ops.c u32 pidx = ctxt % dd->num_pports; num_pports 1380 drivers/infiniband/hw/qib/qib_file_ops.c for (pidx = 0; pidx < dd->num_pports && !ppd; num_pports 1397 drivers/infiniband/hw/qib/qib_file_ops.c if (!dd || (uinfo->spu_port && uinfo->spu_port > dd->num_pports)) num_pports 1432 drivers/infiniband/hw/qib/qib_file_ops.c if (port && port <= dd->num_pports && num_pports 1436 drivers/infiniband/hw/qib/qib_file_ops.c for (i = 0; i < dd->num_pports; i++) num_pports 252 drivers/infiniband/hw/qib/qib_fs.c if (dd->num_pports < 2) num_pports 397 drivers/infiniband/hw/qib/qib_fs.c for (i = 1; i <= dd->num_pports; i++) { num_pports 483 drivers/infiniband/hw/qib/qib_fs.c for (i = 0; i < dd->num_pports; i++) { num_pports 2040 drivers/infiniband/hw/qib/qib_iba6120.c dd->first_user_ctxt = qib_n_krcv_queues * dd->num_pports; num_pports 2045 drivers/infiniband/hw/qib/qib_iba6120.c dd->first_user_ctxt = dd->num_pports; num_pports 3175 drivers/infiniband/hw/qib/qib_iba6120.c dd->num_pports = 1; num_pports 3177 drivers/infiniband/hw/qib/qib_iba6120.c dd->cspec = (struct qib_chip_specific *)(ppd + dd->num_pports); num_pports 2276 drivers/infiniband/hw/qib/qib_iba7220.c dd->first_user_ctxt = qib_n_krcv_queues * dd->num_pports; num_pports 2280 drivers/infiniband/hw/qib/qib_iba7220.c dd->first_user_ctxt = dd->num_pports; num_pports 3965 drivers/infiniband/hw/qib/qib_iba7220.c dd->num_pports = 1; num_pports 3967 drivers/infiniband/hw/qib/qib_iba7220.c dd->cspec = (struct qib_chip_specific *)(cpspec + dd->num_pports); num_pports 1709 drivers/infiniband/hw/qib/qib_iba7322.c for (pidx = 0; pidx < dd->num_pports; ++pidx) num_pports 2054 drivers/infiniband/hw/qib/qib_iba7322.c for (pidx = 0; pidx < dd->num_pports; ++pidx) num_pports 2076 drivers/infiniband/hw/qib/qib_iba7322.c for (pidx = 0; pidx < dd->num_pports; ++pidx) { num_pports 2171 drivers/infiniband/hw/qib/qib_iba7322.c for (; pidx < dd->num_pports; ++pidx, ppd++) { num_pports 2232 drivers/infiniband/hw/qib/qib_iba7322.c for (pidx = 0; pidx < dd->num_pports; ++pidx) num_pports 2314 drivers/infiniband/hw/qib/qib_iba7322.c #define NUM_RCV_BUF_UNITS(dd) ((64 * 1024) / (RCV_BUF_UNITSZ * dd->num_pports)) num_pports 2880 drivers/infiniband/hw/qib/qib_iba7322.c for (i = 0; i < dd->num_pports; i++) { num_pports 2977 drivers/infiniband/hw/qib/qib_iba7322.c for (pidx = 0; pidx < dd->num_pports && (dd->flags & QIB_HAS_QSFP); num_pports 3386 drivers/infiniband/hw/qib/qib_iba7322.c if (!dd->num_pports) num_pports 3451 drivers/infiniband/hw/qib/qib_iba7322.c if (irq_table[i].port > dd->num_pports) num_pports 3735 drivers/infiniband/hw/qib/qib_iba7322.c for (i = 0; i < dd->num_pports; ++i) num_pports 3746 drivers/infiniband/hw/qib/qib_iba7322.c for (i = 0; i < dd->num_pports; ++i) { num_pports 3905 drivers/infiniband/hw/qib/qib_iba7322.c if (qib_n_krcv_queues > 1 && dd->num_pports) { num_pports 3907 drivers/infiniband/hw/qib/qib_iba7322.c (qib_n_krcv_queues - 1) * dd->num_pports; num_pports 3910 drivers/infiniband/hw/qib/qib_iba7322.c dd->n_krcv_queues = dd->first_user_ctxt / dd->num_pports; num_pports 3925 drivers/infiniband/hw/qib/qib_iba7322.c } else if (qib_cfgctxts < dd->num_pports) num_pports 3926 drivers/infiniband/hw/qib/qib_iba7322.c dd->ctxtcnt = dd->num_pports; num_pports 3960 drivers/infiniband/hw/qib/qib_iba7322.c dd->num_pports > 1 ? 1024U : 2048U); num_pports 5016 drivers/infiniband/hw/qib/qib_iba7322.c for (i = 0; i < dd->num_pports; ++i) { num_pports 5118 drivers/infiniband/hw/qib/qib_iba7322.c for (pidx = 0; pidx < dd->num_pports; ++pidx) { num_pports 5853 drivers/infiniband/hw/qib/qib_iba7322.c for (pidx = 0; pidx < dd->num_pports; ++pidx) { num_pports 5868 drivers/infiniband/hw/qib/qib_iba7322.c if (pidx >= dd->num_pports) num_pports 6061 drivers/infiniband/hw/qib/qib_iba7322.c for (pidx = 0; pidx < dd->num_pports; ++pidx) num_pports 6103 drivers/infiniband/hw/qib/qib_iba7322.c for (pidx = 0; dd->unit == unit && pidx < dd->num_pports; num_pports 6130 drivers/infiniband/hw/qib/qib_iba7322.c for (pidx = 0; pidx < dd->num_pports; ++pidx) num_pports 6202 drivers/infiniband/hw/qib/qib_iba7322.c for (n = 0; n < dd->num_pports; ++n) { num_pports 6292 drivers/infiniband/hw/qib/qib_iba7322.c for (pidx = 0; pidx < dd->num_pports; ++pidx) { num_pports 6310 drivers/infiniband/hw/qib/qib_iba7322.c if (dd->num_pports > 1) num_pports 6311 drivers/infiniband/hw/qib/qib_iba7322.c n = dd->first_user_ctxt / dd->num_pports; num_pports 6317 drivers/infiniband/hw/qib/qib_iba7322.c if (dd->num_pports > 1) num_pports 6318 drivers/infiniband/hw/qib/qib_iba7322.c ctxt = (i % n) * dd->num_pports + pidx; num_pports 6363 drivers/infiniband/hw/qib/qib_iba7322.c if (dd->num_pports) num_pports 6364 drivers/infiniband/hw/qib/qib_iba7322.c setup_7322_link_recovery(dd->pport, dd->num_pports > 1); num_pports 6508 drivers/infiniband/hw/qib/qib_iba7322.c dd->num_pports++; num_pports 6509 drivers/infiniband/hw/qib/qib_iba7322.c ret = qib_init_pportdata(ppd, dd, pidx, dd->num_pports); num_pports 6511 drivers/infiniband/hw/qib/qib_iba7322.c dd->num_pports--; num_pports 6645 drivers/infiniband/hw/qib/qib_iba7322.c if (!dd->num_pports) { num_pports 6887 drivers/infiniband/hw/qib/qib_iba7322.c if (dd->num_pports) num_pports 6888 drivers/infiniband/hw/qib/qib_iba7322.c n = dd->cspec->sdmabufcnt / dd->num_pports; /* no remainder */ num_pports 6892 drivers/infiniband/hw/qib/qib_iba7322.c ((dd->num_pports == 1 || ppd->port == 2) ? n : num_pports 7010 drivers/infiniband/hw/qib/qib_iba7322.c if (rcd->dd->num_pports > 1) { num_pports 7271 drivers/infiniband/hw/qib/qib_iba7322.c if (qib_mini_init || !dd->num_pports) num_pports 7283 drivers/infiniband/hw/qib/qib_iba7322.c irq_table[i].port <= dd->num_pports) || num_pports 7289 drivers/infiniband/hw/qib/qib_iba7322.c actual_cnt -= dd->num_pports; num_pports 108 drivers/infiniband/hw/qib/qib_init.c } else if (qib_cfgctxts < dd->num_pports) num_pports 146 drivers/infiniband/hw/qib/qib_init.c ppd = dd->pport + (i % dd->num_pports); num_pports 333 drivers/infiniband/hw/qib/qib_init.c for (pidx = 0; pidx < dd->num_pports; ++pidx) { num_pports 452 drivers/infiniband/hw/qib/qib_init.c for (i = 0; i < dd->num_pports; ++i) { num_pports 476 drivers/infiniband/hw/qib/qib_init.c for (i = 0; i < dd->num_pports; ++i) num_pports 530 drivers/infiniband/hw/qib/qib_init.c for (pidx = 0; pidx < dd->num_pports; ++pidx) num_pports 581 drivers/infiniband/hw/qib/qib_init.c for (pidx = 0; pidx < dd->num_pports; ++pidx) { num_pports 598 drivers/infiniband/hw/qib/qib_init.c for (pidx = 0; pidx < dd->num_pports; ++pidx) { num_pports 642 drivers/infiniband/hw/qib/qib_init.c for (pidx = 0; pidx < dd->num_pports; ++pidx) { num_pports 686 drivers/infiniband/hw/qib/qib_init.c for (pidx = 0; pidx < dd->num_pports; ++pidx) { num_pports 740 drivers/infiniband/hw/qib/qib_init.c for (pidx = 0; pidx < dd->num_pports; ++pidx) { num_pports 805 drivers/infiniband/hw/qib/qib_init.c for (pidx = 0; pidx < dd->num_pports; ++pidx) { num_pports 836 drivers/infiniband/hw/qib/qib_init.c for (pidx = 0; pidx < dd->num_pports; ++pidx) { num_pports 851 drivers/infiniband/hw/qib/qib_init.c for (pidx = 0; pidx < dd->num_pports; ++pidx) { num_pports 870 drivers/infiniband/hw/qib/qib_init.c for (pidx = 0; pidx < dd->num_pports; ++pidx) { num_pports 1137 drivers/infiniband/hw/qib/qib_init.c for (pidx = 0; pidx < dd->num_pports; ++pidx) { num_pports 1299 drivers/infiniband/hw/qib/qib_init.c for (pidx = 0; pidx < dd->num_pports; ++pidx) { num_pports 1468 drivers/infiniband/hw/qib/qib_init.c for (pidx = 0; pidx < dd->num_pports; ++pidx) num_pports 287 drivers/infiniband/hw/qib/qib_mad.c if (smp->attr_mod || pidx >= dd->num_pports || num_pports 325 drivers/infiniband/hw/qib/qib_mad.c if (startgx == 0 && pidx < dd->num_pports) { num_pports 630 drivers/infiniband/hw/qib/qib_mad.c if (startgx == 0 && pidx < dd->num_pports) { num_pports 220 drivers/infiniband/hw/qib/qib_qp.c for (n = 0; n < dd->num_pports; n++) { num_pports 748 drivers/infiniband/hw/qib/qib_sysfs.c if (!port_num || port_num > dd->num_pports) { num_pports 847 drivers/infiniband/hw/qib/qib_sysfs.c for (i = 0; i < dd->num_pports; i++) { num_pports 119 drivers/infiniband/hw/qib/qib_tx.c for (pidx = 0; pidx < dd->num_pports; pidx++) { num_pports 178 drivers/infiniband/hw/qib/qib_tx.c for (i = 0; i < dd->num_pports; i++) num_pports 209 drivers/infiniband/hw/qib/qib_tx.c for (i = 0; i < dd->num_pports; i++) num_pports 1254 drivers/infiniband/hw/qib/qib_verbs.c for (i = 0; i < dd->num_pports; i++) { num_pports 1264 drivers/infiniband/hw/qib/qib_verbs.c for (i = 0; i < dd->num_pports; i++) { num_pports 1507 drivers/infiniband/hw/qib/qib_verbs.c for (i = 0; i < dd->num_pports; i++) num_pports 1552 drivers/infiniband/hw/qib/qib_verbs.c ibdev->phys_port_cnt = dd->num_pports; num_pports 1601 drivers/infiniband/hw/qib/qib_verbs.c dd->verbs_dev.rdi.dparms.nports = dd->num_pports; num_pports 1611 drivers/infiniband/hw/qib/qib_verbs.c for (i = 0; i < dd->num_pports; i++, ppd++) { num_pports 1420 drivers/scsi/csiostor/csio_hw.c hw->num_pports = hweight32(hw->port_vec); num_pports 1423 drivers/scsi/csiostor/csio_hw.c hw->port_vec, hw->num_pports); num_pports 1425 drivers/scsi/csiostor/csio_hw.c for (i = 0; i < hw->num_pports; i++) { num_pports 1791 drivers/scsi/csiostor/csio_hw.c for (i = 0; i < hw->num_pports; i++) { num_pports 2650 drivers/scsi/csiostor/csio_hw.c for (i = 0; i < hw->num_pports; i++) num_pports 516 drivers/scsi/csiostor/csio_hw.h uint8_t num_pports; /* Number of physical num_pports 298 drivers/scsi/csiostor/csio_init.c for (i = 0; i < hw->num_pports; i++) { num_pports 351 drivers/scsi/csiostor/csio_init.c hw->num_sqsets = num_online_cpus() * hw->num_pports; num_pports 359 drivers/scsi/csiostor/csio_init.c for (i = 0; i < hw->num_pports; i++) num_pports 404 drivers/scsi/csiostor/csio_init.c for (i = 0; i < hw->num_pports; i++) { num_pports 987 drivers/scsi/csiostor/csio_init.c for (i = 0; i < hw->num_pports; i++) { num_pports 1132 drivers/scsi/csiostor/csio_init.c for (i = 0; i < hw->num_pports; i++) { num_pports 424 drivers/scsi/csiostor/csio_isr.c for (i = 0; i < hw->num_pports; i++) { num_pports 463 drivers/scsi/csiostor/csio_isr.c for (i = 0; i < hw->num_pports; i++) { num_pports 485 drivers/scsi/csiostor/csio_isr.c if (nvecs < hw->num_pports) { num_pports 491 drivers/scsi/csiostor/csio_isr.c affd->nr_sets = hw->num_pports; num_pports 492 drivers/scsi/csiostor/csio_isr.c for (i = 0; i < hw->num_pports; i++) num_pports 493 drivers/scsi/csiostor/csio_isr.c affd->set_size[i] = nvecs / hw->num_pports; num_pports 508 drivers/scsi/csiostor/csio_isr.c if (hw->num_pports > IRQ_AFFINITY_MAX_SETS) num_pports 511 drivers/scsi/csiostor/csio_isr.c min = hw->num_pports + extra; num_pports 536 drivers/scsi/csiostor/csio_isr.c for (i = 0; i < hw->num_pports; i++) {