Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/extcon/
Dextcon-usbc-cros-ec.c388 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-4.19.296/drivers/parport/
Dparport_serial.c69 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()
Dparport_pc.c2656 int numports; member
2840 for (n = 0; n < cards[i].numports; n++) { in parport_pc_pci_probe()