Searched refs:numports (Results 1 – 4 of 4) sorted by relevance
103 int numports, numshmems, *port; in com90xx_probe() local125 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 …]
389 int numports, ret; in extcon_cros_ec_probe() local411 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()
2048 int i, numports, err_ports = 0, ret = 0; in ddb_ports_attach() local2059 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()
2669 int numports; member2893 for (n = 0; n < cards[i].numports; n++) { in parport_pc_pci_probe()