Searched refs:numports (Results 1 – 3 of 3) sorted by relevance
388 int numports, ret; in extcon_cros_ec_probe() local410 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()
69 int numports; member99 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()
2656 int numports; member2840 for (n = 0; n < cards[i].numports; n++) { in parport_pc_pci_probe()