n_ports 33 arch/arm/mach-dove/cm-a510.c .n_ports = 1, n_ports 35 arch/arm/mach-dove/dove-db-setup.c .n_ports = 1, n_ports 41 arch/arm/mach-mv78xx0/buffalo-wxl-setup.c .n_ports = 2, n_ports 40 arch/arm/mach-mv78xx0/db78x00-bp-setup.c .n_ports = 2, n_ports 37 arch/arm/mach-mv78xx0/rd78x00-masa-setup.c .n_ports = 2, n_ports 359 arch/arm/mach-orion5x/dns323-setup.c .n_ports = 2, n_ports 177 arch/arm/mach-orion5x/kurobox_pro-setup.c .n_ports = 2, n_ports 171 arch/arm/mach-orion5x/ls_hgl-setup.c .n_ports = 2, n_ports 45 arch/arm/mach-orion5x/mv2120-setup.c .n_ports = 2, n_ports 113 arch/arm/mach-orion5x/net2big-setup.c .n_ports = 2, n_ports 208 arch/arm/mach-orion5x/rd88f5182-setup.c .n_ports = 2, n_ports 235 arch/arm/mach-orion5x/ts209-setup.c .n_ports = 2, n_ports 75 arch/arm/mach-orion5x/ts78xx-setup.c .n_ports = 2, n_ports 363 drivers/ata/acard-ahci.c int n_ports, i, rc; n_ports 414 drivers/ata/acard-ahci.c n_ports = max(ahci_nr_ports(hpriv->cap), fls(hpriv->port_map)); n_ports 416 drivers/ata/acard-ahci.c host = ata_host_alloc_pinfo(&pdev->dev, ppi, n_ports); n_ports 426 drivers/ata/acard-ahci.c for (i = 0; i < host->n_ports; i++) { n_ports 1389 drivers/ata/ahci.c for (i = 0; i < host->n_ports; i++) { n_ports 1522 drivers/ata/ahci.c static int ahci_init_msi(struct pci_dev *pdev, unsigned int n_ports, n_ports 1535 drivers/ata/ahci.c if (n_ports > 1) { n_ports 1536 drivers/ata/ahci.c nvec = pci_alloc_irq_vectors(pdev, n_ports, INT_MAX, n_ports 1634 drivers/ata/ahci.c int n_ports, i, rc; n_ports 1803 drivers/ata/ahci.c n_ports = max(ahci_nr_ports(hpriv->cap), fls(hpriv->port_map)); n_ports 1805 drivers/ata/ahci.c host = ata_host_alloc_pinfo(&pdev->dev, ppi, n_ports); n_ports 1810 drivers/ata/ahci.c if (ahci_init_msi(pdev, n_ports, hpriv) < 0) { n_ports 1824 drivers/ata/ahci.c for (i = 0; i < host->n_ports; i++) { n_ports 570 drivers/ata/ahci_xgene.c for (i = 0; i < host->n_ports; i++) { n_ports 1238 drivers/ata/libahci.c for (i = 0; i < host->n_ports; i++) { n_ports 1919 drivers/ata/libahci.c for (i = 0; i < host->n_ports; i++) { n_ports 2331 drivers/ata/libahci.c if (ap->host->n_ports > 1) { n_ports 2545 drivers/ata/libahci.c for (i = 0; i < host->n_ports; i++) { n_ports 582 drivers/ata/libahci_platform.c int i, irq, n_ports, rc; n_ports 611 drivers/ata/libahci_platform.c n_ports = max(ahci_nr_ports(hpriv->cap), fls(hpriv->port_map)); n_ports 613 drivers/ata/libahci_platform.c host = ata_host_alloc_pinfo(dev, ppi, n_ports); n_ports 627 drivers/ata/libahci_platform.c for (i = 0; i < host->n_ports; i++) { n_ports 689 drivers/ata/libahci_platform.c for (i = 0; i < host->n_ports; i++) { n_ports 704 drivers/ata/libahci_platform.c writel(GENMASK(host->n_ports, 0), mmio + HOST_IRQ_STAT); n_ports 265 drivers/ata/libata-acpi.c for (i = 0; i < host->n_ports; i++) { n_ports 6063 drivers/ata/libata-core.c for (i = 0; i < host->n_ports; i++) { n_ports 6083 drivers/ata/libata-core.c for (i = 0; i < host->n_ports; i++) { n_ports 6152 drivers/ata/libata-core.c host->n_ports = max_ports; n_ports 6195 drivers/ata/libata-core.c int n_ports) n_ports 6201 drivers/ata/libata-core.c host = ata_host_alloc(dev, n_ports); n_ports 6205 drivers/ata/libata-core.c for (i = 0, j = 0, pi = NULL; i < host->n_ports; i++) { n_ports 6294 drivers/ata/libata-core.c for (i = 0; i < host->n_ports; i++) { n_ports 6382 drivers/ata/libata-core.c for (i = 0; i < host->n_ports; i++) { n_ports 6403 drivers/ata/libata-core.c for (i = 0; i < host->n_ports; i++) { n_ports 6543 drivers/ata/libata-core.c for (i = host->n_ports; host->ports[i]; i++) n_ports 6547 drivers/ata/libata-core.c for (i = 0; i < host->n_ports; i++) { n_ports 6553 drivers/ata/libata-core.c for (i = 0; i < host->n_ports; i++) { n_ports 6565 drivers/ata/libata-core.c for (i = 0; i < host->n_ports; i++) { n_ports 6593 drivers/ata/libata-core.c for (i = 0; i < host->n_ports; i++) { n_ports 6659 drivers/ata/libata-core.c for (i = 0; i < host->n_ports; i++) n_ports 6738 drivers/ata/libata-core.c for (i = 0; i < host->n_ports; i++) n_ports 6770 drivers/ata/libata-core.c for (i = 0; i < host->n_ports; i++) { n_ports 4529 drivers/ata/libata-scsi.c for (i = 0; i < host->n_ports; i++) { n_ports 1542 drivers/ata/libata-sff.c for (i = 0; i < host->n_ports; i++) { n_ports 1564 drivers/ata/libata-sff.c for (i = 0; i < host->n_ports; i++) { n_ports 433 drivers/ata/pata_atp867x.c for (i = 0; i < host->n_ports; i++) { n_ports 517 drivers/ata/pata_ftide010.c for (i = 0; i < ftide->host->n_ports; i++) { n_ports 230 drivers/ata/pata_hpt3x3.c for (i = 0; i < host->n_ports; i++) { n_ports 682 drivers/ata/pata_octeon_cf.c for (i = 0; i < host->n_ports; i++) { n_ports 193 drivers/ata/pata_pcmcia.c int n_ports = 1; n_ports 239 drivers/ata/pata_pcmcia.c n_ports = 2; n_ports 248 drivers/ata/pata_pcmcia.c host = ata_host_alloc(&pdev->dev, n_ports); n_ports 252 drivers/ata/pata_pcmcia.c for (p = 0; p < n_ports; p++) { n_ports 413 drivers/ata/pdc_adma.c for (port_no = 0; port_no < host->n_ports; ++port_no) { n_ports 463 drivers/ata/pdc_adma.c for (port_no = 0; port_no < host->n_ports; ++port_no) { n_ports 72 drivers/ata/sata_highbank.c u32 n_ports; n_ports 162 drivers/ata/sata_highbank.c for (i = 0; i < (SGPIO_SIGNALS * pdata->n_ports); i++) { n_ports 200 drivers/ata/sata_highbank.c pdata->n_ports); n_ports 461 drivers/ata/sata_highbank.c u32 n_ports; n_ports 519 drivers/ata/sata_highbank.c n_ports = max(ahci_nr_ports(hpriv->cap), fls(hpriv->port_map)); n_ports 521 drivers/ata/sata_highbank.c pdata->n_ports = n_ports; n_ports 525 drivers/ata/sata_highbank.c host = ata_host_alloc_pinfo(dev, ppi, n_ports); n_ports 536 drivers/ata/sata_highbank.c for (i = 0; i < host->n_ports; i++) { n_ports 543 drivers/ata/sata_mv.c int n_ports; n_ports 1094 drivers/ata/sata_mv.c unsigned int clks, is_dual_hc = hpriv->n_ports > MV_PORTS_PER_HC; n_ports 1587 drivers/ata/sata_mv.c for (port = 0; port < hpriv->n_ports; port++) { n_ports 2891 drivers/ata/sata_mv.c for (port = 0; port < hpriv->n_ports; port++) { n_ports 2926 drivers/ata/sata_mv.c if ((port + p) >= hpriv->n_ports) n_ports 2964 drivers/ata/sata_mv.c for (i = 0; i < host->n_ports; i++) { n_ports 3481 drivers/ata/sata_mv.c for (port = 0; port < hpriv->n_ports; port++) n_ports 3947 drivers/ata/sata_mv.c for (port = 0; port < host->n_ports; port++) n_ports 3959 drivers/ata/sata_mv.c for (port = 0; port < host->n_ports; port++) { n_ports 4055 drivers/ata/sata_mv.c int n_ports = 0, irq = 0; n_ports 4079 drivers/ata/sata_mv.c &n_ports); n_ports 4086 drivers/ata/sata_mv.c if (n_ports <= 0) { n_ports 4088 drivers/ata/sata_mv.c n_ports); n_ports 4095 drivers/ata/sata_mv.c n_ports = mv_platform_data->n_ports; n_ports 4099 drivers/ata/sata_mv.c host = ata_host_alloc_pinfo(&pdev->dev, ppi, n_ports); n_ports 4105 drivers/ata/sata_mv.c n_ports, sizeof(struct clk *), n_ports 4110 drivers/ata/sata_mv.c n_ports, sizeof(struct phy *), n_ports 4131 drivers/ata/sata_mv.c for (port = 0; port < n_ports; port++) { n_ports 4148 drivers/ata/sata_mv.c hpriv->n_ports = port; n_ports 4155 drivers/ata/sata_mv.c hpriv->n_ports = n_ports; n_ports 4183 drivers/ata/sata_mv.c (unsigned)MV_MAX_Q_DEPTH, host->n_ports); n_ports 4194 drivers/ata/sata_mv.c for (port = 0; port < hpriv->n_ports; port++) { n_ports 4224 drivers/ata/sata_mv.c for (port = 0; port < host->n_ports; port++) { n_ports 4354 drivers/ata/sata_mv.c gen, (unsigned)MV_MAX_Q_DEPTH, host->n_ports, n_ports 4373 drivers/ata/sata_mv.c int n_ports, port, rc; n_ports 4378 drivers/ata/sata_mv.c n_ports = mv_get_hc_count(ppi[0]->flags) * MV_PORTS_PER_HC; n_ports 4380 drivers/ata/sata_mv.c host = ata_host_alloc_pinfo(&pdev->dev, ppi, n_ports); n_ports 4385 drivers/ata/sata_mv.c hpriv->n_ports = n_ports; n_ports 4411 drivers/ata/sata_mv.c for (port = 0; port < host->n_ports; port++) { n_ports 877 drivers/ata/sata_nv.c for (i = 0; i < host->n_ports; i++) { n_ports 1285 drivers/ata/sata_nv.c for (i = 0; i < host->n_ports; i++) n_ports 1447 drivers/ata/sata_nv.c for (i = 0; i < host->n_ports; i++) { n_ports 1472 drivers/ata/sata_nv.c for (i = 0; i < host->n_ports; i++) { n_ports 2294 drivers/ata/sata_nv.c for (i = 0; i < host->n_ports; i++) { n_ports 968 drivers/ata/sata_promise.c for (i = 0; i < host->n_ports; i++) { n_ports 1175 drivers/ata/sata_promise.c int n_ports, i, rc; n_ports 1193 drivers/ata/sata_promise.c n_ports = 2; n_ports 1195 drivers/ata/sata_promise.c n_ports = 4; n_ports 1196 drivers/ata/sata_promise.c for (i = 0; i < n_ports; i++) n_ports 1202 drivers/ata/sata_promise.c ppi[n_ports++] = pi + 1; n_ports 1205 drivers/ata/sata_promise.c host = ata_host_alloc_pinfo(&pdev->dev, ppi, n_ports); n_ports 1218 drivers/ata/sata_promise.c for (i = 0; i < host->n_ports; i++) { n_ports 401 drivers/ata/sata_qstor.c for (port_no = 0; port_no < host->n_ports; ++port_no) { n_ports 506 drivers/ata/sata_qstor.c for (port_no = 0; port_no < host->n_ports; ++port_no) { n_ports 514 drivers/ata/sata_qstor.c for (port_no = 0; port_no < host->n_ports; ++port_no) { n_ports 581 drivers/ata/sata_qstor.c for (port_no = 0; port_no < host->n_ports; ++port_no) { n_ports 514 drivers/ata/sata_sil.c for (i = 0; i < host->n_ports; i++) { n_ports 662 drivers/ata/sata_sil.c for (i = 0; i < host->n_ports; i++) n_ports 673 drivers/ata/sata_sil.c for (i = 0, cnt = 0; i < host->n_ports; i++) { n_ports 685 drivers/ata/sata_sil.c if (host->n_ports == 4) { n_ports 727 drivers/ata/sata_sil.c int n_ports, rc; n_ports 733 drivers/ata/sata_sil.c n_ports = 2; n_ports 735 drivers/ata/sata_sil.c n_ports = 4; n_ports 744 drivers/ata/sata_sil.c host = ata_host_alloc_pinfo(&pdev->dev, ppi, n_ports); n_ports 766 drivers/ata/sata_sil.c for (i = 0; i < host->n_ports; i++) { n_ports 1158 drivers/ata/sata_sil24.c for (i = 0; i < host->n_ports; i++) n_ports 1230 drivers/ata/sata_sil24.c for (i = 0; i < host->n_ports; i++) { n_ports 415 drivers/ata/sata_svw.c int n_ports, i, rc, bar_pos; n_ports 420 drivers/ata/sata_svw.c n_ports = 4; n_ports 422 drivers/ata/sata_svw.c n_ports = 8; n_ports 424 drivers/ata/sata_svw.c host = ata_host_alloc_pinfo(&pdev->dev, ppi, n_ports); n_ports 464 drivers/ata/sata_svw.c for (i = 0; i < host->n_ports; i++) { n_ports 812 drivers/ata/sata_sx4.c if (port_no >= host->n_ports) n_ports 137 drivers/ata/sata_uli.c int n_ports, rc; n_ports 145 drivers/ata/sata_uli.c n_ports = 2; n_ports 147 drivers/ata/sata_uli.c n_ports = 4; n_ports 150 drivers/ata/sata_uli.c host = ata_host_alloc_pinfo(&pdev->dev, ppi, n_ports); n_ports 505 drivers/ata/sata_via.c for (i = 0; i < host->n_ports; i++) n_ports 529 drivers/ata/sata_via.c for (i = 0; i < host->n_ports; i++) n_ports 266 drivers/ata/sata_vsc.c for (i = 0; i < host->n_ports; i++) { n_ports 361 drivers/ata/sata_vsc.c for (i = 0; i < host->n_ports; i++) { n_ports 462 drivers/hsi/hsi_core.c struct hsi_controller *hsi_alloc_controller(unsigned int n_ports, gfp_t flags) n_ports 468 drivers/hsi/hsi_core.c if (!n_ports) n_ports 474 drivers/hsi/hsi_core.c port = kcalloc(n_ports, sizeof(*port), flags); n_ports 479 drivers/hsi/hsi_core.c hsi->num_ports = n_ports; n_ports 484 drivers/hsi/hsi_core.c for (i = 0; i < n_ports; i++) { n_ports 1348 drivers/ide/ide-probe.c struct ide_hw **hws, unsigned int n_ports) n_ports 1359 drivers/ide/ide-probe.c for (i = 0; i < n_ports; i++) { n_ports 1389 drivers/ide/ide-probe.c host->n_ports++; n_ports 1392 drivers/ide/ide-probe.c if (host->n_ports == 0) { n_ports 1428 drivers/ide/ide-probe.c host->n_ports--; n_ports 1536 drivers/ide/ide-probe.c unsigned int n_ports, struct ide_host **hostp) n_ports 1541 drivers/ide/ide-probe.c host = ide_host_alloc(d, hws, n_ports); n_ports 538 drivers/ide/setup-pci.c int ret, i, n_ports = dev2 ? 4 : 2, bars; n_ports 553 drivers/ide/setup-pci.c for (i = 0; i < n_ports / 2; i++) { n_ports 564 drivers/ide/setup-pci.c host = ide_host_alloc(d, hws, n_ports); n_ports 581 drivers/ide/setup-pci.c for (i = 0; i < n_ports / 2; i++) { n_ports 606 drivers/ide/setup-pci.c i = n_ports / 2; n_ports 2786 drivers/net/ethernet/mellanox/mlx4/cmd.c min((int)dev->dev_vfs[mlx4_get_vf_indx(dev, slave)].n_ports, n_ports 3554 drivers/net/ethernet/mellanox/mlx4/main.c dev->dev_vfs[sum].n_ports = i < 2 ? 1 : n_ports 97 drivers/net/wan/pc300too.c int n_ports; /* 1 or 2 ports */ n_ports 111 drivers/net/wan/pc300too.c #define get_port(card, port) ((port) < (card)->n_ports ? \ n_ports 364 drivers/net/wan/pc300too.c card->n_ports = 1; n_ports 366 drivers/net/wan/pc300too.c card->n_ports = 2; n_ports 368 drivers/net/wan/pc300too.c for (i = 0; i < card->n_ports; i++) n_ports 404 drivers/net/wan/pc300too.c i = ramsize / (card->n_ports * (sizeof(pkt_desc) + HDLC_MAX_MRU)); n_ports 408 drivers/net/wan/pc300too.c card->buff_offset = card->n_ports * sizeof(pkt_desc) * n_ports 441 drivers/net/wan/pc300too.c for (i = 0; i < card->n_ports; i++) { n_ports 72 drivers/net/wan/wanxl.c int n_ports; /* 1, 2 or 4 ports */ n_ports 198 drivers/net/wan/wanxl.c if ((desc->stat & PACKET_PORT_MASK) > card->n_ports) n_ports 255 drivers/net/wan/wanxl.c for (i = 0; i < card->n_ports; i++) { n_ports 514 drivers/net/wan/wanxl.c for (i = 0; i < card->n_ports; i++) { n_ports 791 drivers/net/wan/wanxl.c card->n_ports++; n_ports 191 drivers/tty/serial/rp2.c int n_ports; n_ports 214 drivers/tty/serial/rp2.c static int rp2_alloc_ports(int n_ports) n_ports 219 drivers/tty/serial/rp2.c if (rp2_minor_next + n_ports <= CONFIG_SERIAL_RP2_NR_UARTS) { n_ports 222 drivers/tty/serial/rp2.c rp2_minor_next += n_ports; n_ports 505 drivers/tty/serial/rp2.c if (card->n_ports >= PORTS_PER_ASIC) n_ports 624 drivers/tty/serial/rp2.c if (card->n_ports >= PORTS_PER_ASIC) n_ports 681 drivers/tty/serial/rp2.c for (i = 0; i < card->n_ports; i++) { n_ports 765 drivers/tty/serial/rp2.c rp2_decode_cap(id, &card->n_ports, &card->smpte); n_ports 766 drivers/tty/serial/rp2.c dev_info(&pdev->dev, "found new card with %d ports\n", card->n_ports); n_ports 768 drivers/tty/serial/rp2.c card->minor_start = rp2_alloc_ports(card->n_ports); n_ports 777 drivers/tty/serial/rp2.c ports = devm_kcalloc(&pdev->dev, card->n_ports, sizeof(*ports), n_ports 759 drivers/usb/early/ehci-dbgp.c u32 debug_port, new_debug_port = 0, n_ports; n_ports 774 drivers/usb/early/ehci-dbgp.c n_ports = HCS_N_PORTS(hcs_params); n_ports 777 drivers/usb/early/ehci-dbgp.c dbgp_printk("n_ports: %d\n", n_ports); n_ports 780 drivers/usb/early/ehci-dbgp.c for (i = 1; i <= n_ports; i++) { n_ports 817 drivers/usb/early/ehci-dbgp.c new_debug_port = ((debug_port-1+1)%n_ports) + 1; n_ports 818 drivers/usb/early/ehci-dbgp.c if (port_map_tried != ((1<<n_ports) - 1)) { n_ports 96 drivers/usb/gadget/legacy/serial.c static unsigned n_ports = 1; n_ports 97 drivers/usb/gadget/legacy/serial.c module_param(n_ports, uint, 0); n_ports 98 drivers/usb/gadget/legacy/serial.c MODULE_PARM_DESC(n_ports, "number of ports to create, default=1"); n_ports 122 drivers/usb/gadget/legacy/serial.c for (i = 0; i < n_ports; i++) { n_ports 223 drivers/usb/gadget/legacy/serial.c for (i = 0; i < n_ports; i++) { n_ports 29 include/linux/ata_platform.h int n_ports; /* number of sata ports */ n_ports 279 include/linux/hsi/hsi.h struct hsi_controller *hsi_alloc_controller(unsigned int n_ports, gfp_t flags); n_ports 827 include/linux/ide.h unsigned int n_ports; n_ports 599 include/linux/libata.h unsigned int n_ports; n_ports 1096 include/linux/libata.h const struct ata_port_info * const * ppi, int n_ports); n_ports 853 include/linux/mlx4/device.h u8 n_ports;