Searched refs:nr_ports (Results 1 – 11 of 11) sorted by relevance
| /linux/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(); in sh7786_pcie_init() 556 BUG_ON(nr_ports > ARRAY_SIZE(sh7786_pci_channels)); in sh7786_pcie_init() 558 if (unlikely(nr_ports == 0)) in sh7786_pcie_init() 561 sh7786_pcie_ports = kzalloc_objs(struct sh7786_pcie_port, nr_ports); in sh7786_pcie_init() 591 printk(KERN_NOTICE "PCI: probing %d ports.\n", nr_ports); in sh7786_pcie_init() 593 for (i = 0; i < nr_ports; i++) { in sh7786_pcie_init()
|
| /linux/samples/vfio-mdev/ |
| H A D | mtty.c | 139 u32 nr_ports; 170 int nr_ports; 182 int nr_ports; 184 { .nr_ports = 1, .type.sysfs_name = "1", 186 { .nr_ports = 2, .type.sysfs_name = "2", 277 if (mdev_state->nr_ports == 2) { in mtty_create_config_space() 339 if ((mdev_state->nr_ports == 1) && (bar_index == 1)) { in handle_pci_cfg_write() 783 (mdev_state->nr_ports * sizeof(struct serial_port)); in mtty_disable_file() 935 for (i = 0; i < mdev_state->nr_ports; i++) { in mtty_save_state() 960 for (i = 0; i < mdev_state->nr_ports; in mtty_load_state() 136 u32 nr_ports; global() member 167 int nr_ports; global() member 179 int nr_ports; global() member [all...] |
| /linux/drivers/ssb/ |
| H A D | driver_extif.c | 57 u32 i, nr_ports = 0; in ssb_extif_serial_init() local 73 nr_ports++; in ssb_extif_serial_init() 82 return nr_ports; in ssb_extif_serial_init()
|
| H A D | driver_chipcommon.c | 605 int nr_ports = 0; in ssb_chipco_serial_init() local 688 nr_ports++; in ssb_chipco_serial_init() 695 return nr_ports; in ssb_chipco_serial_init()
|
| /linux/drivers/ata/ |
| H A D | pata_buddha.c | 159 unsigned int nr_ports = (type == BOARD_CATWEASEL) ? 3 : 2; in pata_buddha_probe() local 188 host = ata_host_alloc(&z->dev, nr_ports); in pata_buddha_probe() 200 for (i = 0; i < nr_ports; i++) { in pata_buddha_probe()
|
| H A D | pata_icside.c | 70 unsigned int nr_ports; member 389 info->nr_ports = 1; in pata_icside_register_v5() 430 info->nr_ports = 2; in pata_icside_register_v6() 458 host = ata_host_alloc(&ec->dev, info->nr_ports); in pata_icside_add_ports() 465 for (i = 0; i < info->nr_ports; i++) { in pata_icside_add_ports()
|
| /linux/include/xen/interface/ |
| H A D | sched.h | 123 unsigned int nr_ports; member
|
| H A D | physdev.h | 82 uint32_t nr_ports; member
|
| /linux/drivers/tty/serial/8250/ |
| H A D | 8250_pci1xxxx.c | 769 unsigned int nr_ports, i; in pci1xxxx_serial_probe() local 780 nr_ports = pci1xxxx_get_num_ports(pdev); in pci1xxxx_serial_probe() 782 priv = devm_kzalloc(dev, struct_size(priv, line, nr_ports), GFP_KERNEL); in pci1xxxx_serial_probe() 796 priv->nr = nr_ports; in pci1xxxx_serial_probe() 814 for (i = 0; i < nr_ports; i++) { in pci1xxxx_serial_probe()
|
| H A D | 8250_exar.c | 1450 unsigned int nr_ports, i, bar = 0, maxnr; in exar_pci_probe() local 1466 nr_ports = exar_get_nr_ports(board, pcidev); in exar_pci_probe() 1467 if (nr_ports == 0) in exar_pci_probe() 1470 priv = devm_kzalloc(&pcidev->dev, struct_size(priv, line, nr_ports), GFP_KERNEL); in exar_pci_probe() 1500 for (i = 0; i < nr_ports && i < maxnr; i++) { in exar_pci_probe()
|
| /linux/tools/testing/selftests/kvm/x86/ |
| H A D | xen_shinfo_test.c | 97 unsigned int nr_ports; member 303 .nr_ports = 1, in guest_code() 352 .nr_ports = 1, in guest_code()
|