/linux-master/include/xen/interface/ |
H A D | sched.h | 123 unsigned int nr_ports; member in struct:sched_poll
|
H A D | physdev.h | 82 uint32_t nr_ports; member in struct:physdev_set_iobitmap
|
/linux-master/arch/sh/drivers/pci/ |
H A D | pcie-sh7786.c | 33 static unsigned int nr_ports; variable 555 nr_ports = sh7786_pcie_hwops->core_init(); 556 BUG_ON(nr_ports > ARRAY_SIZE(sh7786_pci_channels)); 558 if (unlikely(nr_ports == 0)) 561 sh7786_pcie_ports = kcalloc(nr_ports, sizeof(struct sh7786_pcie_port), 592 printk(KERN_NOTICE "PCI: probing %d ports.\n", nr_ports); 594 for (i = 0; i < nr_ports; i++) {
|
/linux-master/samples/vfio-mdev/ |
H A D | mtty.c | 136 u32 nr_ports; member in struct:mtty_data 167 int nr_ports; member in struct:mdev_state 179 int nr_ports; member in struct:mtty_type 181 { .nr_ports = 1, .type.sysfs_name = "1", 183 { .nr_ports = 2, .type.sysfs_name = "2", 274 if (mdev_state->nr_ports == 2) { 336 if ((mdev_state->nr_ports == 1) && (bar_index == 1)) { 780 (mdev_state->nr_ports * sizeof(struct serial_port)); 939 for (i = 0; i < mdev_state->nr_ports; i++) { 964 for (i = 0; i < mdev_state->nr_ports; [all...] |
/linux-master/drivers/ssb/ |
H A D | driver_extif.c | 57 u32 i, nr_ports = 0; local 73 nr_ports++; 82 return nr_ports;
|
H A D | driver_chipcommon.c | 605 int nr_ports = 0; local 688 nr_ports++; 695 return nr_ports;
|
/linux-master/drivers/ata/ |
H A D | pata_buddha.c | 159 unsigned int nr_ports = (type == BOARD_CATWEASEL) ? 3 : 2; local 188 host = ata_host_alloc(&z->dev, nr_ports); 200 for (i = 0; i < nr_ports; i++) {
|
H A D | pata_icside.c | 70 unsigned int nr_ports; member in struct:pata_icside_info 391 info->nr_ports = 1; 432 info->nr_ports = 2; 460 host = ata_host_alloc(&ec->dev, info->nr_ports); 467 for (i = 0; i < info->nr_ports; i++) {
|
H A D | libata-pmp.c | 266 int nr_ports, rc; local 268 nr_ports = sata_pmp_gscr_ports(gscr); 270 if (nr_ports <= 0 || nr_ports > SATA_PMP_MAX_PORTS) { 272 reason = "invalid nr_ports"; 318 nr_ports, gscr[SATA_PMP_GSCR_FEAT_EN], 336 static int sata_pmp_init_links (struct ata_port *ap, int nr_ports) argument 360 for (i = 0; i < nr_ports; i++) { 626 "Port Multiplier nr_ports mismatch '0x%x' != '0x%x'\n",
|
H A D | sata_promise.c | 685 unsigned int nr_ports = pdc_sata_nr_ports(ap); local 688 for (i = 0; i < nr_ports && host->ports[i] != ap; ++i) 690 BUG_ON(i >= nr_ports);
|
/linux-master/drivers/tty/serial/8250/ |
H A D | 8250_pci1xxxx.c | 707 unsigned int nr_ports, i; local 718 nr_ports = pci1xxxx_get_num_ports(pdev); 720 priv = devm_kzalloc(dev, struct_size(priv, line, nr_ports), GFP_KERNEL); 734 priv->nr = nr_ports; 752 for (i = 0; i < nr_ports; i++) {
|
H A D | 8250_exar.c | 678 unsigned int nr_ports, i, bar = 0, maxnr; local 695 nr_ports = BIT(((pcidev->device & 0x38) >> 3) - 1); 697 nr_ports = board->num_ports; 699 nr_ports = pcidev->device & 0x0f; 701 priv = devm_kzalloc(&pcidev->dev, struct_size(priv, line, nr_ports), GFP_KERNEL); 729 for (i = 0; i < nr_ports && i < maxnr; i++) {
|
H A D | 8250_pci.c | 4062 int rc, nr_ports, i; local 4064 nr_ports = board->num_ports; 4085 nr_ports = rc; 4088 priv = kzalloc(struct_size(priv, line, nr_ports), GFP_KERNEL); 4124 for (i = 0; i < nr_ports; i++) {
|
/linux-master/drivers/gpio/ |
H A D | gpio-dwapb.c | 117 unsigned int nr_ports; member in struct:dwapb_gpio 171 for (i = 0; i < gpio->nr_ports; i++) { 718 gpio->nr_ports = pdata->nports; 724 gpio->ports = devm_kcalloc(&pdev->dev, gpio->nr_ports, 739 for (i = 0; i < gpio->nr_ports; i++) { 759 for (i = 0; i < gpio->nr_ports; i++) { 806 for (i = 0; i < gpio->nr_ports; i++) {
|
/linux-master/arch/x86/kvm/ |
H A D | xen.h | 238 unsigned int nr_ports; member in struct:compat_sched_poll
|
H A D | xen.c | 1379 static bool wait_pending_event(struct kvm_vcpu *vcpu, int nr_ports, argument 1403 for (i = 0; i < nr_ports; i++) { 1446 sched_poll.nr_ports = sp32.nr_ports; 1456 if (unlikely(sched_poll.nr_ports > 1)) { 1458 if (sched_poll.nr_ports > 128) { 1463 ports = kmalloc_array(sched_poll.nr_ports, 1473 sched_poll.nr_ports * sizeof(*ports), &e)) { 1478 for (i = 0; i < sched_poll.nr_ports; i++) { 1485 if (sched_poll.nr_ports [all...] |
/linux-master/drivers/char/ |
H A D | virtio_console.c | 1810 u32 i, j, nr_ports, nr_queues; local 1813 nr_ports = portdev->max_nr_ports; 1814 nr_queues = use_multiport(portdev) ? (nr_ports + 1) * 2 : 2; 1820 portdev->in_vqs = kmalloc_array(nr_ports, sizeof(struct virtqueue *), 1822 portdev->out_vqs = kmalloc_array(nr_ports, sizeof(struct virtqueue *), 1848 for (i = 1; i < nr_ports; i++) { 1871 for (i = 1; i < nr_ports; i++) {
|
/linux-master/drivers/atm/ |
H A D | solos-pci.c | 108 int nr_ports; member in struct:solos_card 771 for (port = 0; port < card->nr_ports; port++) { 1273 card->nr_ports = (data32 & 0x000000FF); 1280 card->dma_bounce = kmalloc_array(card->nr_ports, 1356 for (i = 0; i < card->nr_ports; i++) { 1404 for (i = 0; i < card->nr_ports; i++) {
|
/linux-master/tools/testing/selftests/kvm/x86_64/ |
H A D | xen_shinfo_test.c | 97 unsigned int nr_ports; member in struct:sched_poll 305 .nr_ports = 1, 354 .nr_ports = 1,
|
/linux-master/arch/x86/xen/ |
H A D | enlighten_pv.c | 959 .nr_ports = 0, 976 iobitmap.nr_ports = 0; 978 iobitmap.nr_ports = IO_BITMAP_BITS;
|
/linux-master/drivers/tty/serial/ |
H A D | qcom_geni_serial.c | 249 int nr_ports = console ? GENI_UART_CONS_PORTS : GENI_UART_PORTS; local 251 if (line < 0 || line >= nr_ports)
|
/linux-master/drivers/xen/events/ |
H A D | events_base.c | 2048 poll.nr_ports = 1;
|