nports 350 drivers/ata/ahci.h unsigned nports; /* Number of ports */ nports 288 drivers/ata/ahci_brcm.c for (i = 0; i < hpriv->nports; i++) { nports 50 drivers/ata/libahci_platform.c for (i = 0; i < hpriv->nports; i++) { nports 89 drivers/ata/libahci_platform.c for (i = 0; i < hpriv->nports; i++) { nports 166 drivers/ata/libahci_platform.c for (i = 0; i < hpriv->nports; i++) { nports 200 drivers/ata/libahci_platform.c for (i = 0; i < hpriv->nports; i++) { nports 302 drivers/ata/libahci_platform.c for (c = 0; c < hpriv->nports; c++) nports 457 drivers/ata/libahci_platform.c hpriv->nports = child_nodes = of_get_child_count(dev->of_node); nports 465 drivers/ata/libahci_platform.c hpriv->nports = 1; nports 467 drivers/ata/libahci_platform.c hpriv->phys = devm_kcalloc(dev, hpriv->nports, sizeof(*hpriv->phys), GFP_KERNEL); nports 476 drivers/ata/libahci_platform.c hpriv->target_pwrs = kcalloc(hpriv->nports, sizeof(*hpriv->target_pwrs), GFP_KERNEL); nports 496 drivers/ata/libahci_platform.c if (port >= hpriv->nports) { nports 421 drivers/ata/sata_sil24.c #define SIL24_NPORTS2FLAG(nports) ((((unsigned)(nports) - 1) & 0x3) << 30) nports 95 drivers/crypto/chelsio/chcr_ipsec.c for (i = 0; i < lld->nports; i++) { nports 135 drivers/crypto/chelsio/chtls/chtls_main.c for (i = 0; i < cdev->lldi->nports; i++) { nports 233 drivers/crypto/chelsio/chtls/chtls_main.c cdev = kzalloc(sizeof(*cdev) + info->nports * nports 564 drivers/gpio/gpio-dwapb.c int nports; nports 567 drivers/gpio/gpio-dwapb.c nports = device_get_child_node_count(dev); nports 568 drivers/gpio/gpio-dwapb.c if (nports == 0) nports 575 drivers/gpio/gpio-dwapb.c pdata->properties = devm_kcalloc(dev, nports, sizeof(*pp), GFP_KERNEL); nports 579 drivers/gpio/gpio-dwapb.c pdata->nports = nports; nports 667 drivers/gpio/gpio-dwapb.c if (!pdata->nports) nports 675 drivers/gpio/gpio-dwapb.c gpio->nr_ports = pdata->nports; nports 453 drivers/gpu/drm/drm_dp_mst_topology.c repmsg->u.link_addr.nports = raw->msg[idx] & 0xf; nports 457 drivers/gpu/drm/drm_dp_mst_topology.c for (i = 0; i < repmsg->u.link_addr.nports; i++) { nports 2130 drivers/gpu/drm/drm_dp_mst_topology.c DRM_DEBUG_KMS("link address reply: %d\n", txmsg->reply.u.link_addr.nports); nports 2131 drivers/gpu/drm/drm_dp_mst_topology.c for (i = 0; i < txmsg->reply.u.link_addr.nports; i++) { nports 2146 drivers/gpu/drm/drm_dp_mst_topology.c for (i = 0; i < txmsg->reply.u.link_addr.nports; i++) { nports 1256 drivers/infiniband/hw/cxgb3/iwch_provider.c for (i = 0; i < rdev->port_info.nports; i++) { nports 1300 drivers/infiniband/hw/cxgb3/iwch_provider.c dev->ibdev.phys_port_cnt = dev->rdev.port_info.nports; nports 1091 drivers/infiniband/hw/cxgb4/device.c ctx->lldi.ntxq, ctx->lldi.nports); nports 526 drivers/infiniband/hw/cxgb4/provider.c for (i = 0; i < rdev->lldi.nports; i++) { nports 573 drivers/infiniband/hw/cxgb4/provider.c dev->ibdev.phys_port_cnt = dev->rdev.lldi.nports; nports 1280 drivers/infiniband/hw/hfi1/init.c int ret, nports; nports 1283 drivers/infiniband/hw/hfi1/init.c nports = extra / sizeof(struct hfi1_pportdata); nports 1286 drivers/infiniband/hw/hfi1/init.c nports); nports 1289 drivers/infiniband/hw/hfi1/init.c dd->num_pports = nports; nports 2048 drivers/infiniband/hw/hfi1/mad.c u32 nports = OPA_AM_NPORT(am); nports 2055 drivers/infiniband/hw/hfi1/mad.c if (nports != 1 || smp_length_check(sizeof(*psi), max_len)) { nports 2090 drivers/infiniband/hw/hfi1/mad.c u32 nports = OPA_AM_NPORT(am); nports 2099 drivers/infiniband/hw/hfi1/mad.c if (nports != 1 || smp_length_check(sizeof(*psi), max_len)) { nports 2735 drivers/infiniband/hw/hfi1/mad.c u32 nports = be32_to_cpu(pmp->mad_hdr.attr_mod) >> 24; nports 2752 drivers/infiniband/hw/hfi1/mad.c if (nports != 1 || (port_num && port_num != port) || nports 3479 drivers/infiniband/hw/hfi1/mad.c u32 nports = be32_to_cpu(pmp->mad_hdr.attr_mod) >> 24; nports 3485 drivers/infiniband/hw/hfi1/mad.c if ((nports != 1) || (portn != 1 << port)) { nports 1907 drivers/infiniband/hw/hfi1/verbs.c dd->verbs_dev.rdi.dparms.nports = dd->num_pports; nports 1080 drivers/infiniband/hw/qib/qib_init.c int ret, nports; nports 1083 drivers/infiniband/hw/qib/qib_init.c nports = extra / sizeof(struct qib_pportdata); nports 1085 drivers/infiniband/hw/qib/qib_init.c nports); nports 1601 drivers/infiniband/hw/qib/qib_verbs.c dd->verbs_dev.rdi.dparms.nports = dd->num_pports; nports 109 drivers/infiniband/sw/rdmavt/mad.c for (p = 0; p < rdi->dparms.nports; p++) { nports 129 drivers/infiniband/sw/rdmavt/mad.c for (p = 0; p < rdi->dparms.nports; p++) { nports 155 drivers/infiniband/sw/rdmavt/mad.c for (p = 0; p < rdi->dparms.nports; p++) { nports 439 drivers/infiniband/sw/rdmavt/mcast.c for (i = 0; i < rdi->dparms.nports; i++) nports 90 drivers/infiniband/sw/rdmavt/vt.c struct rvt_dev_info *rvt_alloc_device(size_t size, int nports) nports 98 drivers/infiniband/sw/rdmavt/vt.c rdi->ports = kcalloc(nports, nports 105 drivers/infiniband/sw/rdmavt/vt.h if ((port_index < 0) || (port_index >= rdi->dparms.nports)) nports 714 drivers/media/platform/xilinx/xilinx-tpg.c unsigned int nports = 0; nports 744 drivers/media/platform/xilinx/xilinx-tpg.c if (nports == 0) { nports 752 drivers/media/platform/xilinx/xilinx-tpg.c nports++; nports 755 drivers/media/platform/xilinx/xilinx-tpg.c if (nports != 1 && nports != 2) { nports 756 drivers/media/platform/xilinx/xilinx-tpg.c dev_err(dev, "invalid number of ports %u\n", nports); nports 760 drivers/media/platform/xilinx/xilinx-tpg.c xtpg->npads = nports; nports 761 drivers/media/platform/xilinx/xilinx-tpg.c if (nports == 2 && has_endpoint) nports 206 drivers/mfd/intel_quark_i2c_gpio.c pdata->nports = INTEL_QUARK_GPIO_NPORTS; nports 207 drivers/mfd/intel_quark_i2c_gpio.c pdata->properties = devm_kcalloc(dev, pdata->nports, nports 86 drivers/mfd/omap-usb-host.c int nports; nports 291 drivers/mfd/omap-usb-host.c for (i = 0; i < omap->nports; i++) { nports 339 drivers/mfd/omap-usb-host.c for (i = 0; i < omap->nports; i++) { nports 372 drivers/mfd/omap-usb-host.c for (i = 0; i < omap->nports; i++) { nports 404 drivers/mfd/omap-usb-host.c for (i = 0; i < omap->nports; i++) { nports 421 drivers/mfd/omap-usb-host.c for (i = 0; i < omap->nports; i++) { nports 478 drivers/mfd/omap-usb-host.c ret = of_property_read_u32(node, "num-ports", &pdata->nports); nports 480 drivers/mfd/omap-usb-host.c pdata->nports = 0; nports 482 drivers/mfd/omap-usb-host.c if (pdata->nports > OMAP3_HS_USB_PORTS) { nports 484 drivers/mfd/omap-usb-host.c pdata->nports, OMAP3_HS_USB_PORTS); nports 558 drivers/mfd/omap-usb-host.c if (pdata->nports > OMAP3_HS_USB_PORTS) { nports 560 drivers/mfd/omap-usb-host.c pdata->nports, OMAP3_HS_USB_PORTS); nports 596 drivers/mfd/omap-usb-host.c if (pdata->nports) { nports 597 drivers/mfd/omap-usb-host.c omap->nports = pdata->nports; nports 601 drivers/mfd/omap-usb-host.c omap->nports = 3; nports 604 drivers/mfd/omap-usb-host.c omap->nports = 2; nports 607 drivers/mfd/omap-usb-host.c omap->nports = OMAP3_HS_USB_PORTS; nports 610 drivers/mfd/omap-usb-host.c omap->usbhs_rev, omap->nports); nports 613 drivers/mfd/omap-usb-host.c pdata->nports = omap->nports; nports 616 drivers/mfd/omap-usb-host.c i = sizeof(struct clk *) * omap->nports; nports 635 drivers/mfd/omap-usb-host.c for (i = 0; i < omap->nports; i++) { nports 644 drivers/mfd/omap-usb-host.c for (i = 0; i < omap->nports; i++) { nports 701 drivers/mfd/omap-usb-host.c for (i = 0; i < omap->nports; i++) { nports 699 drivers/net/bonding/bond_3ad.c int nports = __agg_active_ports(aggregator); nports 702 drivers/net/bonding/bond_3ad.c if (nports) { nports 705 drivers/net/bonding/bond_3ad.c bandwidth = nports; nports 708 drivers/net/bonding/bond_3ad.c bandwidth = nports * 10; nports 711 drivers/net/bonding/bond_3ad.c bandwidth = nports * 100; nports 714 drivers/net/bonding/bond_3ad.c bandwidth = nports * 1000; nports 717 drivers/net/bonding/bond_3ad.c bandwidth = nports * 2500; nports 720 drivers/net/bonding/bond_3ad.c bandwidth = nports * 5000; nports 723 drivers/net/bonding/bond_3ad.c bandwidth = nports * 10000; nports 726 drivers/net/bonding/bond_3ad.c bandwidth = nports * 14000; nports 729 drivers/net/bonding/bond_3ad.c bandwidth = nports * 20000; nports 732 drivers/net/bonding/bond_3ad.c bandwidth = nports * 25000; nports 735 drivers/net/bonding/bond_3ad.c bandwidth = nports * 40000; nports 738 drivers/net/bonding/bond_3ad.c bandwidth = nports * 50000; nports 741 drivers/net/bonding/bond_3ad.c bandwidth = nports * 56000; nports 744 drivers/net/bonding/bond_3ad.c bandwidth = nports * 100000; nports 51 drivers/net/ethernet/brocade/bna/bfa_defs.h u8 nports; nports 2760 drivers/net/ethernet/brocade/bna/bfa_ioc.c ad_attr->nports = bfa_ioc_get_nports(ioc); nports 198 drivers/net/ethernet/chelsio/cxgb/common.h unsigned int nports; /* # of ethernet ports */ nports 319 drivers/net/ethernet/chelsio/cxgb/common.h for (iter = 0; iter < (adapter)->params.nports; ++iter) nports 157 drivers/net/ethernet/chelsio/cxgb/cxgb2.c if ((speed > 0) && (adapter->params.nports > 1)) { nports 737 drivers/net/ethernet/chelsio/cxgb/cxgb2.c e->tx_pending < (adapter->params.nports + 1) * (MAX_SKB_FRAGS + 1)) nports 218 drivers/net/ethernet/chelsio/cxgb/espi.c static void espi_setup_for_ixf1010(adapter_t *adapter, int nports) nports 221 drivers/net/ethernet/chelsio/cxgb/espi.c if (nports == 4) { nports 233 drivers/net/ethernet/chelsio/cxgb/espi.c writel(V_RX_NPORTS(nports) | V_TX_NPORTS(nports), adapter->regs + A_PORT_CONFIG); nports 237 drivers/net/ethernet/chelsio/cxgb/espi.c int t1_espi_init(struct peespi *espi, int mac_type, int nports) nports 249 drivers/net/ethernet/chelsio/cxgb/espi.c writel(nports == 4 ? 0x200040 : 0x1000080, nports 260 drivers/net/ethernet/chelsio/cxgb/espi.c espi_setup_for_ixf1010(adapter, nports); nports 276 drivers/net/ethernet/chelsio/cxgb/espi.c if (adapter->params.nports == 1) nports 348 drivers/net/ethernet/chelsio/cxgb/espi.c u8 i, nport = (u8)adapter->params.nports; nports 56 drivers/net/ethernet/chelsio/cxgb/espi.h int t1_espi_init(struct peespi *espi, int mac_type, int nports); nports 709 drivers/net/ethernet/chelsio/cxgb/sge.c sge->cmdQ[0].stop_thres = sge->adapter->params.nports * nports 1367 drivers/net/ethernet/chelsio/cxgb/sge.c if (p->iff >= adapter->params.nports) { nports 1984 drivers/net/ethernet/chelsio/cxgb/sge.c unsigned int nports = adapter->params.nports; nports 1993 drivers/net/ethernet/chelsio/cxgb/sge.c for (i = 0; i < nports; i++) { nports 2081 drivers/net/ethernet/chelsio/cxgb/sge.c adapter->params.nports > 1 ? espibug_workaround_t204 : espibug_workaround, nports 2084 drivers/net/ethernet/chelsio/cxgb/sge.c if (adapter->params.nports > 1) nports 2089 drivers/net/ethernet/chelsio/cxgb/sge.c if (adapter->params.nports > 1) nports 631 drivers/net/ethernet/chelsio/cxgb/subr.c (mac->adapter->params.nports < 2))) nports 1056 drivers/net/ethernet/chelsio/cxgb/subr.c adapter->params.nports = bi->port_number; nports 44 drivers/net/ethernet/chelsio/cxgb/tp.c if (is_T2(ap) && ap->params.nports > 1) { nports 325 drivers/net/ethernet/chelsio/cxgb3/adapter.h int t3_sge_alloc_qset(struct adapter *adapter, unsigned int id, int nports, nports 394 drivers/net/ethernet/chelsio/cxgb3/common.h unsigned int nports; /* # of ethernet ports */ nports 613 drivers/net/ethernet/chelsio/cxgb3/common.h for (iter = 0; iter < (adapter)->params.nports; ++iter) nports 111 drivers/net/ethernet/chelsio/cxgb3/cxgb3_ctl_defs.h unsigned int nports; /* number of ports on this adapter */ nports 1983 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c e->tx_pending < adapter->params.nports * MIN_TXQ_ENTRIES) nports 3090 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c int hwports = adap->params.nports; nports 3128 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c adap->params.nports + 1, vectors); nports 430 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c ports->nports = adapter->params.nports; nports 2657 drivers/net/ethernet/chelsio/cxgb3/sge.c if (adap->params.nports == 2 && nports 2702 drivers/net/ethernet/chelsio/cxgb3/sge.c if (adap->params.nports == 2) nports 2741 drivers/net/ethernet/chelsio/cxgb3/sge.c w1 = adap->params.nports == 2 && nports 3035 drivers/net/ethernet/chelsio/cxgb3/sge.c int t3_sge_alloc_qset(struct adapter *adapter, unsigned int id, int nports, nports 3101 drivers/net/ethernet/chelsio/cxgb3/sge.c q->txq[TXQ_ETH].stop_thres = nports * nports 3664 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c adapter->params.nports = ai->nports0 + ai->nports1; nports 3030 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c for (i = 0; i < padap->params.nports; i++) nports 389 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h unsigned char nports; /* # of ethernet ports */ nports 1442 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h for (iter = 0; iter < (adapter)->params.nports; ++iter) nports 2524 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c return (pos <= adap->params.nports nports 2948 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c n = min(4, adap->params.nports - 4 * r); nports 302 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c fs->eport >= adapter->params.nports) nports 306 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c if (fs->val.iport >= adapter->params.nports) nports 4465 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c adap->params.nports = hweight32(port_vec); nports 5115 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c if (avail_eth_qsets < adap->params.nports) { nports 5117 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c avail_eth_qsets, adap->params.nports); nports 5130 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c if (adap->params.nports * 8 > avail_eth_qsets) { nports 5132 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c avail_eth_qsets, adap->params.nports * 8); nports 5149 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c q10g = (avail_eth_qsets - (adap->params.nports - n10g)) / n10g; nports 5176 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c s->ofldqsets = roundup(i, adap->params.nports); nports 5178 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c s->ofldqsets = adap->params.nports; nports 5278 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c unsigned int nchan = adap->params.nports; nports 5313 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c need = 8 * adap->params.nports + EXTRA_VECS + ofld_need + uld_need; nports 5315 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c need = adap->params.nports + EXTRA_VECS + ofld_need + uld_need; nports 5920 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c } else if (adapter->params.nports == 1) { nports 147 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c per_chan = rxq_info->nrxq / adap->params.nports; nports 157 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c per_chan = rxq_info->nciq / adap->params.nports; nports 281 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c rxq_info->nrxq = roundup(i, adap->params.nports); nports 285 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c rxq_info->nrxq = roundup(i, adap->params.nports); nports 296 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c rxq_info->nciq = ((rxq_info->nciq / adap->params.nports) * nports 297 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c adap->params.nports); nports 299 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c adap->params.nports); nports 486 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c j = nq / adap->params.nports; nports 538 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c txq_info->ntxq = rounddown(i, adap->params.nports); nports 547 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c txq_info->ntxq = roundup(i, adap->params.nports); nports 662 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c lld->nchan = adap->params.nports; nports 663 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c lld->nports = adap->params.nports; nports 330 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h unsigned char nports:4; /* # of ports */ nports 6118 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c unsigned int chip_version, nports; nports 6121 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c nports = 1 << NUMPORTS_G(t4_read_reg(adapter, MPS_CMN_CTL_A)); nports 6126 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c switch (nports) { nports 6134 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c switch (nports) { nports 6141 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c chip_version, nports); nports 6158 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c unsigned int nports; nports 6160 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c nports = 1 << NUMPORTS_G(t4_read_reg(adapter, MPS_CMN_CTL_A)); nports 6161 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c if (pidx >= nports) { nports 6163 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c pidx, nports); nports 6219 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c unsigned int nports; nports 6223 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c nports = 1 << NUMPORTS_G(t4_read_reg(adapter, MPS_CMN_CTL_A)); nports 6224 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c if (pidx >= nports) { nports 6226 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c pidx, nports); nports 6255 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c unsigned int nports = 1 << NUMPORTS_G(t4_read_reg(adap, MPS_CMN_CTL_A)); nports 6257 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c if (pidx >= nports) { nports 6259 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c pidx, nports); nports 6270 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c switch (nports) { nports 6278 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c switch (nports) { nports 6286 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c chip_version, nports); nports 9178 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c adapter->params.nports = 1; nports 2397 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c return pos <= adapter->params.nports nports 2518 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c adapter->params.nports = vfres->nvi; nports 2519 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c if (adapter->params.nports > MAX_NPORTS) { nports 2522 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c adapter->params.nports); nports 2523 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c adapter->params.nports = MAX_NPORTS; nports 2532 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c if (pmask_nports < adapter->params.nports) { nports 2535 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c " mask %#x\n", pmask_nports, adapter->params.nports, nports 2537 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c adapter->params.nports = pmask_nports; nports 2565 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c if (adapter->sge.max_ethqsets < adapter->params.nports) { nports 2568 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c adapter->sge.max_ethqsets, adapter->params.nports); nports 2569 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c adapter->params.nports = adapter->sge.max_ethqsets; nports 2759 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c int n1g = (adapter->params.nports - n10g); nports 2836 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c BUG_ON(n < adapter->params.nports); nports 2883 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c need = adapter->params.nports + MSIX_EXTRAS; nports 268 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_common.h u8 nports; /* # of Ethernet "ports" */ nports 307 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_common.h for (iter = 0; iter < (adapter)->params.nports; iter++) nports 2156 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c adapter->params.nports = 1; nports 84 drivers/net/ethernet/chelsio/libcxgb/libcxgb_cm.c for (i = 0; i < lldi->nports; i++) nports 269 drivers/net/ethernet/pensando/ionic/ionic_if.h u8 nports; nports 249 drivers/net/ethernet/sfc/falcon/falcon.c __le16 nports; nports 107 drivers/net/ethernet/sun/sunvnet.c + (NUM_VNET_PORT_STATS * vp->nports); nports 177 drivers/net/ethernet/sun/sunvnet.c data[i++] = vp->nports; nports 1819 drivers/net/ethernet/sun/sunvnet_common.c vp->nports++; nports 1827 drivers/net/ethernet/sun/sunvnet_common.c port->vp->nports--; nports 125 drivers/net/ethernet/sun/sunvnet_common.h int nports; nports 451 drivers/net/wan/farsync.c unsigned int nports; /* Number of serial ports */ nports 1335 drivers/net/wan/farsync.c for (pi = 0, port = card->ports; pi < card->nports; pi++, port++) { nports 1434 drivers/net/wan/farsync.c for (pi = 0, port = card->ports; pi < card->nports; pi++, port++) { nports 1654 drivers/net/wan/farsync.c if (FST_RDL(card, numberOfPorts) != card->nports) { nports 1657 drivers/net/wan/farsync.c FST_RDL(card, numberOfPorts), card->nports); nports 1761 drivers/net/wan/farsync.c info->nports = card->nports; nports 2370 drivers/net/wan/farsync.c for (i = 0; i < card->nports; i++) { nports 2383 drivers/net/wan/farsync.c port_to_dev(&card->ports[card->nports - 1])->name, nports 2384 drivers/net/wan/farsync.c type_strings[card->type], card->irq, card->nports); nports 2479 drivers/net/wan/farsync.c card->nports = 1; nports 2481 drivers/net/wan/farsync.c card->nports = ((ent->driver_data == FST_TYPE_T2P) || nports 2487 drivers/net/wan/farsync.c for ( i = 0 ; i < card->nports ; i++ ) { nports 2526 drivers/net/wan/farsync.c card->nports, card->irq); nports 2580 drivers/net/wan/farsync.c for (i = 0 ; i < card->nports ; i++) nports 2585 drivers/net/wan/farsync.c for (i = 0 ; i < card->nports ; i++) nports 2613 drivers/net/wan/farsync.c for (i = 0; i < card->nports; i++) { nports 96 drivers/net/wan/farsync.h unsigned int nports; /* Number of serial ports */ nports 79 drivers/pci/controller/pci-mvebu.c int nports; nports 600 drivers/pci/controller/pci-mvebu.c for (i = 0; i < pcie->nports; i++) { nports 777 drivers/pci/controller/pci-mvebu.c for (i = 0; i < pcie->nports; i++) { nports 791 drivers/pci/controller/pci-mvebu.c for (i = 0; i < pcie->nports; i++) { nports 1093 drivers/pci/controller/pci-mvebu.c pcie->nports = i; nports 1095 drivers/pci/controller/pci-mvebu.c for (i = 0; i < pcie->nports; i++) { nports 1119 drivers/pci/controller/pci-mvebu.c pcie->nports = i; nports 503 drivers/pinctrl/actions/pinctrl-owl.c for (i = 0; i < pctrl->soc->nports; i++) { nports 838 drivers/pinctrl/actions/pinctrl-owl.c for (i = 0; i < pctrl->soc->nports; i++) { nports 897 drivers/pinctrl/actions/pinctrl-owl.c for (i = 0, offset = 0; i < pctrl->soc->nports; i++) { nports 300 drivers/pinctrl/actions/pinctrl-owl.h unsigned int nports; nports 1875 drivers/pinctrl/actions/pinctrl-s700.c .nports = ARRAY_SIZE(s700_gpio_ports), nports 1792 drivers/pinctrl/actions/pinctrl-s900.c .nports = ARRAY_SIZE(s900_gpio_ports), nports 280 drivers/scsi/bfa/bfa_defs.h u8 nports; nports 435 drivers/scsi/bfa/bfa_defs.h u32 nports; /* Number of NPorts */ nports 786 drivers/scsi/bfa/bfa_defs.h u8 nports; nports 798 drivers/scsi/bfa/bfa_fcs.h void bfa_fcs_vf_get_ports(bfa_fcs_vf_t *vf, wwn_t vpwwn[], int *nports); nports 2707 drivers/scsi/bfa/bfa_ioc.c ad_attr->nports = bfa_ioc_get_nports(ioc); nports 2733 drivers/scsi/bfa/bfa_ioc.c ad_attr->trunk_capable = (ad_attr->nports > 1) && nports 2803 drivers/scsi/bfa/bfa_ioc.c u8 nports = bfa_ioc_get_nports(ioc); nports 2813 drivers/scsi/bfa/bfa_ioc.c BFA_MFG_NAME, ioc_attr->card_type, nports, "p"); nports 741 drivers/scsi/bfa/bfad_attr.c int nports = 0; nports 744 drivers/scsi/bfa/bfad_attr.c nports = bfa_get_nports(&bfad->bfa); nports 785 drivers/scsi/bfa/bfad_attr.c if (nports == 1 && bfa_ioc_is_cna(&bfad->bfa.ioc)) nports 788 drivers/scsi/bfa/bfad_attr.c else if (nports == 1 && !bfa_ioc_is_cna(&bfad->bfa.ioc)) nports 791 drivers/scsi/bfa/bfad_attr.c else if (nports == 2 && bfa_ioc_is_cna(&bfad->bfa.ioc)) nports 794 drivers/scsi/bfa/bfad_attr.c else if (nports == 2 && !bfa_ioc_is_cna(&bfad->bfa.ioc)) nports 798 drivers/scsi/bfa/bfad_attr.c if (nports == 1 && !bfa_ioc_is_cna(&bfad->bfa.ioc)) nports 801 drivers/scsi/bfa/bfad_attr.c else if (nports == 2 && !bfa_ioc_is_cna(&bfad->bfa.ioc)) nports 875 drivers/scsi/bfa/bfad_bsg.c uint32_t nports = iocmd->nports; nports 879 drivers/scsi/bfa/bfad_bsg.c if (nports == 0) { nports 886 drivers/scsi/bfa/bfad_bsg.c sizeof(wwn_t) * iocmd->nports) != BFA_STATUS_OK) { nports 901 drivers/scsi/bfa/bfad_bsg.c bfa_fcs_vf_get_ports(fcs_vf, (wwn_t *)iocmd_bufptr, &nports); nports 904 drivers/scsi/bfa/bfad_bsg.c iocmd->nports = nports; nports 401 drivers/scsi/bfa/bfad_bsg.h u32 nports; nports 1305 drivers/scsi/cxgbi/cxgb3i/cxgb3i.c cdev = cxgbi_device_register(0, adapter->params.nports); nports 1315 drivers/scsi/cxgbi/cxgb3i/cxgb3i.c cdev->nports = adapter->params.nports; nports 1340 drivers/scsi/cxgbi/cxgb3i/cxgb3i.c for (i = 0; i < cdev->nports; i++) nports 2123 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c cdev = cxgbi_device_register(sizeof(*lldi), lldi->nports); nports 2129 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c cdev, lldi->adapter_type, lldi->nports, nports 2141 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c cdev->nports = lldi->nports; nports 2171 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c for (i = 0; i < cdev->nports; i++) { nports 121 drivers/scsi/cxgbi/libcxgbi.c "cdev 0x%p, p# %u.\n", cdev, cdev->nports); nports 132 drivers/scsi/cxgbi/libcxgbi.c unsigned int nports) nports 136 drivers/scsi/cxgbi/libcxgbi.c cdev = kzalloc(sizeof(*cdev) + extra + nports * nports 141 drivers/scsi/cxgbi/libcxgbi.c pr_warn("nport %d, OOM.\n", nports); nports 145 drivers/scsi/cxgbi/libcxgbi.c cdev->hbas = (struct cxgbi_hba **)(((char*)cdev->ports) + nports * nports 149 drivers/scsi/cxgbi/libcxgbi.c nports * sizeof(struct cxgbi_hba *); nports 161 drivers/scsi/cxgbi/libcxgbi.c "cdev 0x%p, p# %u.\n", cdev, nports); nports 170 drivers/scsi/cxgbi/libcxgbi.c cdev, cdev->nports, cdev->nports ? cdev->ports[0]->name : ""); nports 236 drivers/scsi/cxgbi/libcxgbi.c for (i = 0; i < cdev->nports; i++) { nports 268 drivers/scsi/cxgbi/libcxgbi.c for (i = 0; i < cdev->nports; i++) { nports 301 drivers/scsi/cxgbi/libcxgbi.c for (i = 0; i < cdev->nports; i++) { nports 325 drivers/scsi/cxgbi/libcxgbi.c "cdev 0x%p, p#%u.\n", cdev, cdev->nports); nports 327 drivers/scsi/cxgbi/libcxgbi.c for (i = 0; i < cdev->nports; i++) { nports 347 drivers/scsi/cxgbi/libcxgbi.c log_debug(1 << CXGBI_DBG_DEV, "cdev 0x%p, p#%u.\n", cdev, cdev->nports); nports 349 drivers/scsi/cxgbi/libcxgbi.c for (i = 0; i < cdev->nports; i++) { nports 471 drivers/scsi/cxgbi/libcxgbi.h unsigned char nports; nports 889 drivers/scsi/cxlflash/vlun.c u32 nports; nports 900 drivers/scsi/cxlflash/vlun.c nports = get_num_ports(lli->port_sel); nports 901 drivers/scsi/cxlflash/vlun.c if (nports == 0 || nports > cfg->num_fc_ports) { nports 902 drivers/scsi/cxlflash/vlun.c WARN(1, "Unsupported port configuration nports=%u", nports); nports 907 drivers/scsi/cxlflash/vlun.c if (nports > 1) { nports 236 drivers/target/iscsi/cxgbit/cxgbit_cm.c for (i = 0; i < lldi->nports; i++) { nports 976 drivers/target/iscsi/cxgbit/cxgbit_cm.c cdev->lldi.nports; nports 981 drivers/target/iscsi/cxgbit/cxgbit_cm.c cdev->lldi.nports; nports 1240 drivers/tty/cyclades.c for (port = 0; port < cinfo->nports; port++) { nports 1499 drivers/tty/cyclades.c if (line < cy_card[i].first_line + cy_card[i].nports && nports 1555 drivers/tty/cyclades.c if (info->line > (cinfo->first_line + cinfo->nports - 1)) nports 3057 drivers/tty/cyclades.c cinfo->ports = kcalloc(cinfo->nports, sizeof(*cinfo->ports), nports 3064 drivers/tty/cyclades.c for (channel = 0, port = cinfo->first_line; channel < cinfo->nports; nports 3325 drivers/tty/cyclades.c card->nports = cy_isa_nchan; nports 3827 drivers/tty/cyclades.c card->nports = nchan; nports 3909 drivers/tty/cyclades.c cinfo->nports; i++, channel++) { nports 3913 drivers/tty/cyclades.c cinfo->nports = 0; nports 3936 drivers/tty/cyclades.c for (j = 0; j < cy_card[i].nports; j++) { nports 4104 drivers/tty/cyclades.c card->nports; e1++) nports 103 drivers/tty/mxser.c unsigned int nports; nports 2232 drivers/tty/mxser.c max = brd->info->nports; nports 2355 drivers/tty/mxser.c brd->vector < brd->ports[0].ioaddr + 8 * brd->info->nports; nports 2374 drivers/tty/mxser.c release_region(brd->ports[0].ioaddr, 8 * brd->info->nports); nports 2387 drivers/tty/mxser.c for (i = 0; i < brd->info->nports; i++) { nports 2419 drivers/tty/mxser.c for (i = 0; i < brd->info->nports; i++) nports 2433 drivers/tty/mxser.c for (i = 0; i < brd->info->nports; i++) { nports 2475 drivers/tty/mxser.c if (brd->info->nports == 2 || (brd->info->flags & MXSER_HAS2)) { nports 2480 drivers/tty/mxser.c } else if (brd->info->nports == 4) { nports 2486 drivers/tty/mxser.c } else if (brd->info->nports == 8) { nports 2530 drivers/tty/mxser.c if (!request_region(brd->ports[0].ioaddr, 8 * brd->info->nports, nports 2535 drivers/tty/mxser.c 8 * brd->info->nports - 1); nports 2541 drivers/tty/mxser.c release_region(brd->ports[0].ioaddr, 8 * brd->info->nports); nports 2545 drivers/tty/mxser.c 8 * brd->info->nports - 1); nports 2548 drivers/tty/mxser.c return brd->info->nports; nports 2594 drivers/tty/mxser.c for (i = 0; i < brd->info->nports; i++) nports 2611 drivers/tty/mxser.c for (i = 0; i < brd->info->nports; i++) { nports 2626 drivers/tty/mxser.c for (i = 0; i < brd->info->nports; i++) { nports 2636 drivers/tty/mxser.c for (i = 0; i < brd->info->nports; i++) { nports 2646 drivers/tty/mxser.c for (i = 0; i < brd->info->nports; i++) { nports 2662 drivers/tty/mxser.c for (i = 0; i < brd->info->nports; i++) nports 2755 drivers/tty/mxser.c for (i = 0; i < brd->info->nports; i++) { nports 2762 drivers/tty/mxser.c for (i = 0; i < brd->info->nports; i++) nports 1902 drivers/usb/core/hub.c info->nports = 0; nports 1904 drivers/usb/core/hub.c info->nports = hdev->maxchild; nports 1905 drivers/usb/core/hub.c for (i = 0; i < info->nports; i++) { nports 1915 drivers/usb/core/hub.c return info->nports + 1; nports 57 drivers/usb/host/ehci-omap.c int nports; nports 149 drivers/usb/host/ehci-omap.c omap->nports = pdata->nports; nports 154 drivers/usb/host/ehci-omap.c for (i = 0 ; i < omap->nports ; i++) { nports 209 drivers/usb/host/ehci-omap.c for (i = 0; i < omap->nports; i++) { nports 225 drivers/usb/host/ehci-omap.c for (i = 0; i < omap->nports; i++) { nports 253 drivers/usb/host/ehci-omap.c for (i = 0; i < omap->nports; i++) { nports 15 drivers/usb/host/ehci-sysfs.c int nports, index, n; nports 20 drivers/usb/host/ehci-sysfs.c nports = HCS_N_PORTS(ehci->hcs_params); nports 22 drivers/usb/host/ehci-sysfs.c for (index = 0; index < nports; ++index) { nports 177 drivers/usb/usbip/vhci_sysfs.c static DEVICE_ATTR_RO(nports); nports 188 include/drm/drm_dp_mst_helper.h u8 nports; nports 84 include/linux/cyclades.h unsigned int nports; /* Number of ports in the card */ nports 21 include/linux/platform_data/gpio-dwapb.h unsigned int nports; nports 58 include/linux/platform_data/usb-omap.h int nports; nports 177 include/rdma/rdma_vt.h int nports; nports 556 include/rdma/rdma_vt.h struct rvt_dev_info *rvt_alloc_device(size_t size, int nports); nports 148 include/uapi/linux/usbdevice_fs.h char nports; /* number of downstream ports in this hub */ nports 148 tools/include/uapi/linux/usbdevice_fs.h char nports; /* number of downstream ports in this hub */ nports 245 tools/usb/usbip/libsrc/vhci_driver.c int nports; nports 264 tools/usb/usbip/libsrc/vhci_driver.c nports = get_nports(hc_device); nports 265 tools/usb/usbip/libsrc/vhci_driver.c if (nports <= 0) { nports 269 tools/usb/usbip/libsrc/vhci_driver.c dbg("available ports: %d", nports); nports 272 tools/usb/usbip/libsrc/vhci_driver.c nports * sizeof(struct usbip_imported_device)); nports 278 tools/usb/usbip/libsrc/vhci_driver.c vhci_driver->nports = nports; nports 337 tools/usb/usbip/libsrc/vhci_driver.c for (int i = 0; i < vhci_driver->nports; i++) { nports 42 tools/usb/usbip/libsrc/vhci_driver.h int nports; nports 58 tools/usb/usbip/src/usbip_detach.c for (i = 0; i < vhci_driver->nports; i++) { nports 72 tools/usb/usbip/src/usbip_detach.c port, vhci_driver->nports); nports 28 tools/usb/usbip/src/usbip_port.c for (i = 0; i < vhci_driver->nports; i++) {