Lines Matching refs:num_ports
194 int num_ports; member
461 int I = u132->num_ports; in read_roothub_info()
1576 if (u132->num_ports == 0) { in u132_init()
1581 u132->num_ports = rh_a & RH_A_NDP; in u132_init()
1586 if (u132->num_ports > MAX_U132_PORTS) in u132_init()
1653 for (temp = 0; temp < u132->num_ports; temp++) { in u132_run()
2586 desc->bNbrPorts = u132->num_ports; in u132_roothub_descriptor()
2587 temp = 1 + (u132->num_ports / 8); in u132_roothub_descriptor()
2605 if (u132->num_ports > 7) { in u132_roothub_descriptor()
2623 if (wIndex == 0 || wIndex > u132->num_ports) { in u132_roothub_portstatus()
2697 if (wIndex == 0 || wIndex > u132->num_ports) { in u132_roothub_setportfeature()
2721 if (wIndex == 0 || wIndex > u132->num_ports) { in u132_roothub_clearportfeature()
2793 if (u132->num_ports > 7) { in u132_hub_status_data()
2797 for (i = 0; i < u132->num_ports; i++) { in u132_hub_status_data()
3075 u32 num_ports; in u132_probe() local
3090 num_ports = rh_a & RH_A_NDP; /* refuse to confuse usbcore */ in u132_probe()