Home
last modified time | relevance | path

Searched refs:n_ports (Results 1 – 23 of 23) sorted by relevance

/linux/drivers/usb/gadget/legacy/
H A Dserial.c97 static unsigned n_ports = 1; variable
98 module_param(n_ports, uint, 0);
99 MODULE_PARM_DESC(n_ports, "number of ports to create, default=1");
153 for (i = 0; i < n_ports; i++) { in serial_register_ports()
254 for (i = 0; i < n_ports; i++) { in gs_unbind()
/linux/drivers/ata/
H A Dsata_highbank.c72 u32 n_ports; member
162 for (i = 0; i < (SGPIO_SIGNALS * pdata->n_ports); i++) { in ecx_transmit_led_message()
200 pdata->n_ports); in highbank_set_em_messages()
462 u32 n_ports; in ahci_highbank_probe() local
520 n_ports = max(ahci_nr_ports(hpriv->cap), fls(hpriv->port_map)); in ahci_highbank_probe()
522 pdata->n_ports = n_ports; in ahci_highbank_probe()
526 host = ata_host_alloc_pinfo(dev, ppi, n_ports); in ahci_highbank_probe()
537 for (i = 0; i < host->n_ports; i++) { in ahci_highbank_probe()
H A Dpata_pcmcia.c193 int n_ports = 1; in pcmcia_init_one() local
239 n_ports = 2; in pcmcia_init_one()
248 host = ata_host_alloc(&pdev->dev, n_ports); in pcmcia_init_one()
252 for (p = 0; p < n_ports; p++) { in pcmcia_init_one()
H A Dpata_hpt3x3.c230 for (i = 0; i < host->n_ports; i++) { in hpt3x3_init_one()
H A Dlibata-acpi.c332 for (i = 0; i < host->n_ports; i++) { in ata_acpi_dissociate()
H A Dpata_octeon_cf.c648 for (i = 0; i < host->n_ports; i++) { in octeon_cf_interrupt()
/linux/include/linux/
H A Data_platform.h29 int n_ports; /* number of sata ports */ member
/linux/arch/arm/mach-dove/
H A Dcm-a510.c30 .n_ports = 1,
/linux/drivers/usb/early/
H A Dehci-dbgp.c754 u32 debug_port, new_debug_port = 0, n_ports; in ehci_setup() local
769 n_ports = HCS_N_PORTS(hcs_params); in ehci_setup()
772 dbgp_printk("n_ports: %d\n", n_ports); in ehci_setup()
775 for (i = 1; i <= n_ports; i++) { in ehci_setup()
812 new_debug_port = ((debug_port-1+1)%n_ports) + 1; in ehci_setup()
813 if (port_map_tried != ((1<<n_ports) - 1)) { in ehci_setup()
/linux/arch/arm/mach-mv78xx0/
H A Dbuffalo-wxl-setup.c46 .n_ports = 2,
/linux/arch/arm/mach-orion5x/
H A Dmv2120-setup.c46 .n_ports = 2,
H A Dts209-setup.c235 .n_ports = 2,
H A Dnet2big-setup.c111 .n_ports = 2,
H A Dkurobox_pro-setup.c174 .n_ports = 2,
H A Ddns323-setup.c387 .n_ports = 2,
H A Dts78xx-setup.c72 .n_ports = 2,
/linux/drivers/net/ethernet/microchip/sparx5/lan969x/
H A Dlan969x_fdma.c115 port = fi.src_port < consts->n_ports ? sparx5->ports[fi.src_port] : in lan969x_fdma_rx_get_frame()
220 for (int idx = 0; idx < sparx5->data->consts->n_ports; ++idx) { in lan969x_fdma_rx_init()
H A Dlan969x.c308 .n_ports = 30,
/linux/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_mirror.c202 sparx5->data->consts->n_ports); in sparx5_mirror_del()
H A Dsparx5_vlan.c171 for (port = 0; port < sparx5->data->consts->n_ports; port++) { in sparx5_update_fwd()
H A Dsparx5_main.h306 u32 n_ports; /* Number of front ports */ member
H A Dsparx5_port.c1424 return sparx5->data->consts->n_ports + port; in sparx5_get_internal_port()
/linux/include/linux/mlx4/
H A Ddevice.h842 u8 n_ports; member