Home
last modified time | relevance | path

Searched refs:numports (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/drivers/net/arcnet/
Dcom90xx.c103 int numports, numshmems, *port; in com90xx_probe() local
125 numports = numshmems = 0; in com90xx_probe()
127 ports[numports++] = io; in com90xx_probe()
130 ports[numports++] = count; in com90xx_probe()
141 for (port = &ports[0]; port - ports < numports; port++) { in com90xx_probe()
158 *port-- = ports[--numports]; in com90xx_probe()
167 *port-- = ports[--numports]; in com90xx_probe()
180 if (!numports) { in com90xx_probe()
191 for (port = &ports[0]; port < ports + numports; port++) { in com90xx_probe()
271 for (port = &ports[0]; port < ports + numports; port++) in com90xx_probe()
[all …]
/linux-6.1.9/drivers/extcon/
Dextcon-usbc-cros-ec.c389 int numports, ret; in extcon_cros_ec_probe() local
411 numports = cros_ec_pd_get_num_ports(info); in extcon_cros_ec_probe()
412 if (numports < 0) { in extcon_cros_ec_probe()
414 numports); in extcon_cros_ec_probe()
415 return numports; in extcon_cros_ec_probe()
418 if (info->port_id >= numports) { in extcon_cros_ec_probe()
419 dev_err(dev, "This system only supports %d ports\n", numports); in extcon_cros_ec_probe()
/linux-6.1.9/drivers/parport/
Dparport_serial.c72 int numports; member
102 par->numports = 1; in netmos_parallel_init()
109 par->numports = (dev->subsystem_device & 0xf0) >> 4; in netmos_parallel_init()
110 if (par->numports > ARRAY_SIZE(par->addr)) in netmos_parallel_init()
111 par->numports = ARRAY_SIZE(par->addr); in netmos_parallel_init()
586 for (n = 0; n < card->numports; n++) { in parport_register()
596 ARRAY_SIZE(priv->port), card->numports); in parport_register()
Dparport_pc.c2623 int numports; member
2810 for (n = 0; n < cards[i].numports; n++) { in parport_pc_pci_probe()
/linux-6.1.9/drivers/tty/
Dmoxa.c466 static unsigned int numports[MAX_BOARDS]; variable
480 module_param_array(numports, uint, NULL, 0);
481 MODULE_PARM_DESC(numports, "numports (ignored for C218)");
1372 numports[i]; in moxa_init()
/linux-6.1.9/drivers/media/pci/ddbridge/
Dddbridge-core.c2048 int i, numports, err_ports = 0, ret = 0; in ddb_ports_attach() local
2059 numports = dev->port_num; in ddb_ports_attach()
2068 numports--; in ddb_ports_attach()
2073 if (err_ports == numports) { in ddb_ports_attach()
2079 err_ports, numports); in ddb_ports_attach()