Searched refs:numports (Results 1 – 8 of 8) sorted by relevance
/Linux-v4.19/drivers/net/arcnet/ |
D | com90xx.c | 103 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-v4.19/drivers/extcon/ |
D | extcon-usbc-cros-ec.c | 388 int numports, ret; in extcon_cros_ec_probe() local 410 numports = cros_ec_pd_get_num_ports(info); in extcon_cros_ec_probe() 411 if (numports < 0) { in extcon_cros_ec_probe() 413 numports); in extcon_cros_ec_probe() 414 return numports; in extcon_cros_ec_probe() 417 if (info->port_id >= numports) { in extcon_cros_ec_probe() 418 dev_err(dev, "This system only supports %d ports\n", numports); in extcon_cros_ec_probe()
|
/Linux-v4.19/drivers/parport/ |
D | parport_serial.c | 69 int numports; member 99 par->numports = 1; in netmos_parallel_init() 106 par->numports = (dev->subsystem_device & 0xf0) >> 4; in netmos_parallel_init() 107 if (par->numports > ARRAY_SIZE(par->addr)) in netmos_parallel_init() 108 par->numports = ARRAY_SIZE(par->addr); in netmos_parallel_init() 566 for (n = 0; n < card->numports; n++) { in parport_register() 576 ARRAY_SIZE(priv->port), card->numports); in parport_register()
|
D | parport_pc.c | 2656 int numports; member 2840 for (n = 0; n < cards[i].numports; n++) { in parport_pc_pci_probe()
|
/Linux-v4.19/arch/arm/mach-imx/ |
D | iomux-v1.c | 181 int __init imx_iomuxv1_init(void __iomem *base, int numports) in imx_iomuxv1_init() argument 184 imx_iomuxv1_numports = numports; in imx_iomuxv1_init()
|
D | iomux-v1.h | 92 extern int imx_iomuxv1_init(void __iomem *base, int numports);
|
/Linux-v4.19/drivers/tty/ |
D | moxa.c | 166 static unsigned int numports[MAX_BOARDS]; variable 180 module_param_array(numports, uint, NULL, 0); 181 MODULE_PARM_DESC(numports, "numports (ignored for C218)"); 1080 numports[i]; in moxa_init()
|
/Linux-v4.19/drivers/media/pci/ddbridge/ |
D | ddbridge-core.c | 2061 int i, numports, err_ports = 0, ret = 0; in ddb_ports_attach() local 2072 numports = dev->port_num; in ddb_ports_attach() 2081 numports--; in ddb_ports_attach() 2086 if (err_ports == numports) { in ddb_ports_attach() 2092 err_ports, numports); in ddb_ports_attach()
|