Lines Matching refs:num_ports
194 int num_ports; member
461 int I = u132->num_ports; in read_roothub_info()
1579 if (u132->num_ports == 0) { in u132_init()
1584 u132->num_ports = rh_a & RH_A_NDP; in u132_init()
1589 if (u132->num_ports > MAX_U132_PORTS) in u132_init()
1656 for (temp = 0; temp < u132->num_ports; temp++) { in u132_run()
2590 desc->bNbrPorts = u132->num_ports; in u132_roothub_descriptor()
2591 temp = 1 + (u132->num_ports / 8); in u132_roothub_descriptor()
2609 if (u132->num_ports > 7) { in u132_roothub_descriptor()
2627 if (wIndex == 0 || wIndex > u132->num_ports) { in u132_roothub_portstatus()
2701 if (wIndex == 0 || wIndex > u132->num_ports) { in u132_roothub_setportfeature()
2735 if (wIndex == 0 || wIndex > u132->num_ports) { in u132_roothub_clearportfeature()
2811 if (u132->num_ports > 7) { in u132_hub_status_data()
2815 for (i = 0; i < u132->num_ports; i++) { in u132_hub_status_data()
3093 u32 num_ports; in u132_probe() local
3108 num_ports = rh_a & RH_A_NDP; /* refuse to confuse usbcore */ in u132_probe()