/dports/emulators/qemu42/qemu-4.2.1/hw/char/ |
H A D | serial-pci-multi.c | 86 int i, nr_ports = 0; in multi_serial_pci_realize() local 90 nr_ports = 2; in multi_serial_pci_realize() 93 nr_ports = 4; in multi_serial_pci_realize() 96 assert(nr_ports > 0); in multi_serial_pci_realize() 97 assert(nr_ports <= PCI_SERIAL_MAX_PORTS); in multi_serial_pci_realize() 101 memory_region_init(&pci->iobar, OBJECT(pci), "multiserial", 8 * nr_ports); in multi_serial_pci_realize() 104 nr_ports); in multi_serial_pci_realize() 106 for (i = 0; i < nr_ports; i++) { in multi_serial_pci_realize()
|
/dports/emulators/qemu-utils/qemu-4.2.1/hw/char/ |
H A D | serial-pci-multi.c | 86 int i, nr_ports = 0; in multi_serial_pci_realize() local 90 nr_ports = 2; in multi_serial_pci_realize() 93 nr_ports = 4; in multi_serial_pci_realize() 96 assert(nr_ports > 0); in multi_serial_pci_realize() 97 assert(nr_ports <= PCI_SERIAL_MAX_PORTS); in multi_serial_pci_realize() 101 memory_region_init(&pci->iobar, OBJECT(pci), "multiserial", 8 * nr_ports); in multi_serial_pci_realize() 104 nr_ports); in multi_serial_pci_realize() 106 for (i = 0; i < nr_ports; i++) { in multi_serial_pci_realize()
|
/dports/emulators/qemu-powernv/qemu-powernv-3.0.50/hw/char/ |
H A D | serial-pci.c | 95 int i, nr_ports = 0; in multi_serial_pci_realize() local 99 nr_ports = 2; in multi_serial_pci_realize() 102 nr_ports = 4; in multi_serial_pci_realize() 105 assert(nr_ports > 0); in multi_serial_pci_realize() 106 assert(nr_ports <= PCI_SERIAL_MAX_PORTS); in multi_serial_pci_realize() 110 memory_region_init(&pci->iobar, OBJECT(pci), "multiserial", 8 * nr_ports); in multi_serial_pci_realize() 113 nr_ports); in multi_serial_pci_realize() 115 for (i = 0; i < nr_ports; i++) { in multi_serial_pci_realize()
|
/dports/games/libretro-uae/libretro-uae-8333daa/sources/src/jd-beos/ |
H A D | joystick.cpp | 145 unsigned int nr_ports; in init_joysticks() local 150 nr_ports = joy.CountDevices (); in init_joysticks() 151 if (nr_ports > MAX_JOYSTICKS) in init_joysticks() 152 nr_ports = MAX_JOYSTICKS; in init_joysticks() 158 for (i = 0; i < nr_ports; i++) { in init_joysticks()
|
/dports/science/nest/nest-simulator-3.1/pynest/examples/ |
H A D | brunel_exp_multisynapse_nest.py | 111 nr_ports = 100 # number of receptor types variable 114 tau_syn = [0.1 + 0.01 * i for i in range(nr_ports)] 200 "receptor_type": nest.random.uniform_int(max=nr_ports - 1) + 1 203 "receptor_type": nest.random.uniform_int(max=nr_ports - 1) + 1
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/arch/sh/drivers/pci/ |
H A D | pcie-sh7786.c | 33 static unsigned int nr_ports; variable 556 nr_ports = sh7786_pcie_hwops->core_init(); in sh7786_pcie_init() 557 BUG_ON(nr_ports > ARRAY_SIZE(sh7786_pci_channels)); in sh7786_pcie_init() 559 if (unlikely(nr_ports == 0)) in sh7786_pcie_init() 562 sh7786_pcie_ports = kcalloc(nr_ports, sizeof(struct sh7786_pcie_port), in sh7786_pcie_init() 593 printk(KERN_NOTICE "PCI: probing %d ports.\n", nr_ports); in sh7786_pcie_init() 595 for (i = 0; i < nr_ports; i++) { in sh7786_pcie_init()
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/arch/sh/drivers/pci/ |
H A D | pcie-sh7786.c | 33 static unsigned int nr_ports; variable 556 nr_ports = sh7786_pcie_hwops->core_init(); in sh7786_pcie_init() 557 BUG_ON(nr_ports > ARRAY_SIZE(sh7786_pci_channels)); in sh7786_pcie_init() 559 if (unlikely(nr_ports == 0)) in sh7786_pcie_init() 562 sh7786_pcie_ports = kcalloc(nr_ports, sizeof(struct sh7786_pcie_port), in sh7786_pcie_init() 593 printk(KERN_NOTICE "PCI: probing %d ports.\n", nr_ports); in sh7786_pcie_init() 595 for (i = 0; i < nr_ports; i++) { in sh7786_pcie_init()
|
/dports/multimedia/libv4l/linux-5.13-rc2/arch/sh/drivers/pci/ |
H A D | pcie-sh7786.c | 33 static unsigned int nr_ports; variable 556 nr_ports = sh7786_pcie_hwops->core_init(); in sh7786_pcie_init() 557 BUG_ON(nr_ports > ARRAY_SIZE(sh7786_pci_channels)); in sh7786_pcie_init() 559 if (unlikely(nr_ports == 0)) in sh7786_pcie_init() 562 sh7786_pcie_ports = kcalloc(nr_ports, sizeof(struct sh7786_pcie_port), in sh7786_pcie_init() 593 printk(KERN_NOTICE "PCI: probing %d ports.\n", nr_ports); in sh7786_pcie_init() 595 for (i = 0; i < nr_ports; i++) { in sh7786_pcie_init()
|
/dports/devel/avr-gdb/gdb-7.3.1/sim/common/ |
H A D | hw-ports.c | 264 if (ports->nr_ports > 0) in hw_port_decode() 275 if (port >= ports->number + ports->nr_ports) in hw_port_decode() 310 if (ports->nr_ports > 0) in hw_port_encode() 313 && port_number < ports->number + ports->nr_ports) in hw_port_encode()
|
/dports/devel/gdb761/gdb-7.6.1/sim/common/ |
H A D | hw-ports.c | 263 if (ports->nr_ports > 0) in hw_port_decode() 274 if (port >= ports->number + ports->nr_ports) in hw_port_decode() 309 if (ports->nr_ports > 0) in hw_port_encode() 312 && port_number < ports->number + ports->nr_ports) in hw_port_encode()
|
/dports/devel/zpu-binutils/zpu-toolchain-1.0/toolchain/gdb/sim/common/ |
H A D | hw-ports.c | 263 if (ports->nr_ports > 0) 274 if (port >= ports->number + ports->nr_ports) 309 if (ports->nr_ports > 0) 312 && port_number < ports->number + ports->nr_ports)
|
/dports/devel/zpu-gcc/zpu-toolchain-1.0/toolchain/gdb/sim/common/ |
H A D | hw-ports.c | 263 if (ports->nr_ports > 0) in hw_port_decode() 274 if (port >= ports->number + ports->nr_ports) in hw_port_decode() 309 if (ports->nr_ports > 0) in hw_port_encode() 312 && port_number < ports->number + ports->nr_ports) in hw_port_encode()
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/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()
|
/dports/multimedia/libv4l/linux-5.13-rc2/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()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/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()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/ata/ |
H A D | libata-pmp.c | 266 int nr_ports, rc; in sata_pmp_configure() local 268 nr_ports = sata_pmp_gscr_ports(gscr); in sata_pmp_configure() 270 if (nr_ports <= 0 || nr_ports > SATA_PMP_MAX_PORTS) { in sata_pmp_configure() 318 nr_ports, gscr[SATA_PMP_GSCR_FEAT_EN], in sata_pmp_configure() 336 static int sata_pmp_init_links (struct ata_port *ap, int nr_ports) in sata_pmp_init_links() argument 360 for (i = 0; i < nr_ports; i++) { in sata_pmp_init_links()
|
H A D | pata_buddha.c | 160 unsigned int nr_ports = (type == BOARD_CATWEASEL) ? 3 : 2; in pata_buddha_probe() local 189 host = ata_host_alloc(&z->dev, nr_ports); in pata_buddha_probe() 201 for (i = 0; i < nr_ports; i++) { in pata_buddha_probe()
|
H A D | pata_icside.c | 70 unsigned int nr_ports; member 391 info->nr_ports = 1; in pata_icside_register_v5() 432 info->nr_ports = 2; in pata_icside_register_v6() 460 host = ata_host_alloc(&ec->dev, info->nr_ports); in pata_icside_add_ports() 467 for (i = 0; i < info->nr_ports; i++) { in pata_icside_add_ports()
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/ata/ |
H A D | libata-pmp.c | 266 int nr_ports, rc; in sata_pmp_configure() local 268 nr_ports = sata_pmp_gscr_ports(gscr); in sata_pmp_configure() 270 if (nr_ports <= 0 || nr_ports > SATA_PMP_MAX_PORTS) { in sata_pmp_configure() 318 nr_ports, gscr[SATA_PMP_GSCR_FEAT_EN], in sata_pmp_configure() 336 static int sata_pmp_init_links (struct ata_port *ap, int nr_ports) in sata_pmp_init_links() argument 360 for (i = 0; i < nr_ports; i++) { in sata_pmp_init_links()
|
H A D | pata_buddha.c | 160 unsigned int nr_ports = (type == BOARD_CATWEASEL) ? 3 : 2; in pata_buddha_probe() local 189 host = ata_host_alloc(&z->dev, nr_ports); in pata_buddha_probe() 201 for (i = 0; i < nr_ports; i++) { in pata_buddha_probe()
|
H A D | pata_icside.c | 70 unsigned int nr_ports; member 391 info->nr_ports = 1; in pata_icside_register_v5() 432 info->nr_ports = 2; in pata_icside_register_v6() 460 host = ata_host_alloc(&ec->dev, info->nr_ports); in pata_icside_add_ports() 467 for (i = 0; i < info->nr_ports; i++) { in pata_icside_add_ports()
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/ata/ |
H A D | libata-pmp.c | 266 int nr_ports, rc; in sata_pmp_configure() local 268 nr_ports = sata_pmp_gscr_ports(gscr); in sata_pmp_configure() 270 if (nr_ports <= 0 || nr_ports > SATA_PMP_MAX_PORTS) { in sata_pmp_configure() 318 nr_ports, gscr[SATA_PMP_GSCR_FEAT_EN], in sata_pmp_configure() 336 static int sata_pmp_init_links (struct ata_port *ap, int nr_ports) in sata_pmp_init_links() argument 360 for (i = 0; i < nr_ports; i++) { in sata_pmp_init_links()
|
H A D | pata_buddha.c | 160 unsigned int nr_ports = (type == BOARD_CATWEASEL) ? 3 : 2; in pata_buddha_probe() local 189 host = ata_host_alloc(&z->dev, nr_ports); in pata_buddha_probe() 201 for (i = 0; i < nr_ports; i++) { in pata_buddha_probe()
|
H A D | pata_icside.c | 70 unsigned int nr_ports; member 391 info->nr_ports = 1; in pata_icside_register_v5() 432 info->nr_ports = 2; in pata_icside_register_v6() 460 host = ata_host_alloc(&ec->dev, info->nr_ports); in pata_icside_add_ports() 467 for (i = 0; i < info->nr_ports; i++) { in pata_icside_add_ports()
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/gpio/ |
H A D | gpio-dwapb.c | 107 unsigned int nr_ports; member 161 for (i = 0; i < gpio->nr_ports; i++) { in dwapb_offs_to_port() 699 gpio->nr_ports = pdata->nports; in dwapb_gpio_probe() 705 gpio->ports = devm_kcalloc(&pdev->dev, gpio->nr_ports, in dwapb_gpio_probe() 720 for (i = 0; i < gpio->nr_ports; i++) { in dwapb_gpio_probe() 740 for (i = 0; i < gpio->nr_ports; i++) { in dwapb_gpio_suspend() 787 for (i = 0; i < gpio->nr_ports; i++) { in dwapb_gpio_resume()
|