Searched refs:nb_ports (Results 1 – 2 of 2) sorted by relevance
39 int nb_ports; member258 data[22] = (s->nb_ports + 1 + 7) / 8; in usb_hub_handle_control()318 if (n >= s->nb_ports) in usb_hub_handle_control()341 if (n >= s->nb_ports) in usb_hub_handle_control()370 if (n >= s->nb_ports) in usb_hub_handle_control()407 data[2] = s->nb_ports; in usb_hub_handle_control()410 limit = ((s->nb_ports + 1 + 7) / 8) + 7; in usb_hub_handle_control()417 limit = limit + ((s->nb_ports + 7) / 8); in usb_hub_handle_control()446 n = (s->nb_ports + 1 + 7) / 8; in usb_hub_handle_data()453 for(i = 0; i < s->nb_ports; i++) { in usb_hub_handle_data()[all …]
245 USBDevice *usb_hub_init(int nb_ports);