nr_ports 32 arch/sh/drivers/pci/pcie-sh7786.c static unsigned int nr_ports; nr_ports 555 arch/sh/drivers/pci/pcie-sh7786.c nr_ports = sh7786_pcie_hwops->core_init(); nr_ports 556 arch/sh/drivers/pci/pcie-sh7786.c BUG_ON(nr_ports > ARRAY_SIZE(sh7786_pci_channels)); nr_ports 558 arch/sh/drivers/pci/pcie-sh7786.c if (unlikely(nr_ports == 0)) nr_ports 561 arch/sh/drivers/pci/pcie-sh7786.c sh7786_pcie_ports = kcalloc(nr_ports, sizeof(struct sh7786_pcie_port), nr_ports 592 arch/sh/drivers/pci/pcie-sh7786.c printk(KERN_NOTICE "PCI: probing %d ports.\n", nr_ports); nr_ports 594 arch/sh/drivers/pci/pcie-sh7786.c for (i = 0; i < nr_ports; i++) { nr_ports 266 drivers/ata/libata-pmp.c int nr_ports, rc; nr_ports 268 drivers/ata/libata-pmp.c nr_ports = sata_pmp_gscr_ports(gscr); nr_ports 270 drivers/ata/libata-pmp.c if (nr_ports <= 0 || nr_ports > SATA_PMP_MAX_PORTS) { nr_ports 318 drivers/ata/libata-pmp.c nr_ports, gscr[SATA_PMP_GSCR_FEAT_EN], nr_ports 336 drivers/ata/libata-pmp.c static int sata_pmp_init_links (struct ata_port *ap, int nr_ports) nr_ports 360 drivers/ata/libata-pmp.c for (i = 0; i < nr_ports; i++) { nr_ports 160 drivers/ata/pata_buddha.c unsigned int nr_ports = (type == BOARD_CATWEASEL) ? 3 : 2; nr_ports 189 drivers/ata/pata_buddha.c host = ata_host_alloc(&z->dev, nr_ports); nr_ports 201 drivers/ata/pata_buddha.c for (i = 0; i < nr_ports; i++) { nr_ports 70 drivers/ata/pata_icside.c unsigned int nr_ports; nr_ports 386 drivers/ata/pata_icside.c info->nr_ports = 1; nr_ports 427 drivers/ata/pata_icside.c info->nr_ports = 2; nr_ports 455 drivers/ata/pata_icside.c host = ata_host_alloc(&ec->dev, info->nr_ports); nr_ports 462 drivers/ata/pata_icside.c for (i = 0; i < info->nr_ports; i++) { nr_ports 691 drivers/ata/sata_promise.c unsigned int nr_ports = pdc_sata_nr_ports(ap); nr_ports 694 drivers/ata/sata_promise.c for (i = 0; i < nr_ports && host->ports[i] != ap; ++i) nr_ports 696 drivers/ata/sata_promise.c BUG_ON(i >= nr_ports); nr_ports 108 drivers/atm/solos-pci.c int nr_ports; nr_ports 771 drivers/atm/solos-pci.c for (port = 0; port < card->nr_ports; port++) { nr_ports 1275 drivers/atm/solos-pci.c card->nr_ports = (data32 & 0x000000FF); nr_ports 1282 drivers/atm/solos-pci.c card->dma_bounce = kmalloc_array(card->nr_ports, nr_ports 1358 drivers/atm/solos-pci.c for (i = 0; i < card->nr_ports; i++) { nr_ports 1406 drivers/atm/solos-pci.c for (i = 0; i < card->nr_ports; i++) { nr_ports 1850 drivers/char/virtio_console.c u32 i, j, nr_ports, nr_queues; nr_ports 1853 drivers/char/virtio_console.c nr_ports = portdev->max_nr_ports; nr_ports 1854 drivers/char/virtio_console.c nr_queues = use_multiport(portdev) ? (nr_ports + 1) * 2 : 2; nr_ports 1860 drivers/char/virtio_console.c portdev->in_vqs = kmalloc_array(nr_ports, sizeof(struct virtqueue *), nr_ports 1862 drivers/char/virtio_console.c portdev->out_vqs = kmalloc_array(nr_ports, sizeof(struct virtqueue *), nr_ports 1888 drivers/char/virtio_console.c for (i = 1; i < nr_ports; i++) { nr_ports 1911 drivers/char/virtio_console.c for (i = 1; i < nr_ports; i++) { nr_ports 96 drivers/gpio/gpio-dwapb.c unsigned int nr_ports; nr_ports 159 drivers/gpio/gpio-dwapb.c for (i = 0; i < gpio->nr_ports; i++) { nr_ports 553 drivers/gpio/gpio-dwapb.c for (m = 0; m < gpio->nr_ports; ++m) nr_ports 675 drivers/gpio/gpio-dwapb.c gpio->nr_ports = pdata->nports; nr_ports 683 drivers/gpio/gpio-dwapb.c gpio->ports = devm_kcalloc(&pdev->dev, gpio->nr_ports, nr_ports 715 drivers/gpio/gpio-dwapb.c for (i = 0; i < gpio->nr_ports; i++) { nr_ports 753 drivers/gpio/gpio-dwapb.c for (i = 0; i < gpio->nr_ports; i++) { nr_ports 800 drivers/gpio/gpio-dwapb.c for (i = 0; i < gpio->nr_ports; i++) { nr_ports 107 drivers/soundwire/cadence_master.h int nr_ports; nr_ports 662 drivers/soundwire/intel.c for (i = 0; i < dma->nr_ports; i++) { nr_ports 696 drivers/soundwire/intel.c dma->nr_ports = sdw_cdns_get_stream(cdns, &cdns->pdm, ch, dir); nr_ports 699 drivers/soundwire/intel.c dma->nr_ports = sdw_cdns_get_stream(cdns, &cdns->pcm, ch, dir); nr_ports 702 drivers/soundwire/intel.c if (!dma->nr_ports) { nr_ports 707 drivers/soundwire/intel.c dma->port = kcalloc(dma->nr_ports, sizeof(*dma->port), GFP_KERNEL); nr_ports 711 drivers/soundwire/intel.c for (i = 0; i < dma->nr_ports; i++) { nr_ports 720 drivers/soundwire/intel.c for (i = 0; i < dma->nr_ports; i++) { nr_ports 740 drivers/soundwire/intel.c pconfig = kcalloc(dma->nr_ports, sizeof(*pconfig), GFP_KERNEL); nr_ports 746 drivers/soundwire/intel.c for (i = 0; i < dma->nr_ports; i++) { nr_ports 752 drivers/soundwire/intel.c pconfig, dma->nr_ports, dma->stream); nr_ports 605 drivers/ssb/driver_chipcommon.c int nr_ports = 0; nr_ports 688 drivers/ssb/driver_chipcommon.c nr_ports++; nr_ports 695 drivers/ssb/driver_chipcommon.c return nr_ports; nr_ports 57 drivers/ssb/driver_extif.c u32 i, nr_ports = 0; nr_ports 73 drivers/ssb/driver_extif.c nr_ports++; nr_ports 82 drivers/ssb/driver_extif.c return nr_ports; nr_ports 554 drivers/tty/serial/8250/8250_exar.c unsigned int nr_ports, i, bar = 0, maxnr; nr_ports 570 drivers/tty/serial/8250/8250_exar.c nr_ports = board->num_ports ? board->num_ports : pcidev->device & 0x0f; nr_ports 572 drivers/tty/serial/8250/8250_exar.c priv = devm_kzalloc(&pcidev->dev, struct_size(priv, line, nr_ports), GFP_KERNEL); nr_ports 600 drivers/tty/serial/8250/8250_exar.c for (i = 0; i < nr_ports && i < maxnr; i++) { nr_ports 3871 drivers/tty/serial/8250/8250_pci.c int rc, nr_ports, i; nr_ports 3873 drivers/tty/serial/8250/8250_pci.c nr_ports = board->num_ports; nr_ports 3894 drivers/tty/serial/8250/8250_pci.c nr_ports = rc; nr_ports 3898 drivers/tty/serial/8250/8250_pci.c sizeof(unsigned int) * nr_ports, nr_ports 3929 drivers/tty/serial/8250/8250_pci.c for (i = 0; i < nr_ports; i++) { nr_ports 255 drivers/tty/serial/qcom_geni_serial.c int nr_ports = console ? GENI_UART_CONS_PORTS : GENI_UART_PORTS; nr_ports 257 drivers/tty/serial/qcom_geni_serial.c if (line < 0 || line >= nr_ports) nr_ports 1536 drivers/xen/events/events_base.c poll.nr_ports = 1; nr_ports 100 include/xen/interface/physdev.h uint32_t nr_ports; nr_ports 140 include/xen/interface/sched.h unsigned int nr_ports; nr_ports 143 samples/vfio-mdev/mtty.c int nr_ports; nr_ports 201 samples/vfio-mdev/mtty.c if (mdev_state->nr_ports == 2) { nr_ports 263 samples/vfio-mdev/mtty.c if ((mdev_state->nr_ports == 1) && (bar_index == 1)) { nr_ports 715 samples/vfio-mdev/mtty.c int nr_ports = 0, i; nr_ports 724 samples/vfio-mdev/mtty.c nr_ports = i + 1; nr_ports 729 samples/vfio-mdev/mtty.c if (!nr_ports) nr_ports 736 samples/vfio-mdev/mtty.c mdev_state->nr_ports = nr_ports; nr_ports 1072 samples/vfio-mdev/mtty.c if (mdev_state->nr_ports == 2) nr_ports 1351 samples/vfio-mdev/mtty.c used += mds->nr_ports;