Searched refs:ports_max (Results 1 – 6 of 6) sorted by relevance
146 size = wusbhc->ports_max + 1 /* hub bit */; in wusbhc_rh_status_data()148 for (cnt = 0; cnt < wusbhc->ports_max; cnt++) in wusbhc_rh_status_data()169 u16 temp = 1 + (wusbhc->ports_max / 8); in wusbhc_rh_get_hub_descr()176 descr->bNbrPorts = wusbhc->ports_max; in wusbhc_rh_get_hub_descr()241 if (port_idx > wusbhc->ports_max) in wusbhc_rh_set_port_feat()286 if (port_idx > wusbhc->ports_max) in wusbhc_rh_clear_port_feat()334 if (port_idx > wusbhc->ports_max) in wusbhc_rh_get_port_status()436 port_size = wusbhc->ports_max * sizeof(wusbhc->port[0]); in wusbhc_rh_create()440 for (itr = 0; itr < wusbhc->ports_max; itr++) in wusbhc_rh_create()
311 for (idx = 0; idx < wusbhc->ports_max; idx++) { in wusbhc_devconnect_ack()318 for (idx = 0; idx < wusbhc->ports_max; idx++) { in wusbhc_devconnect_ack()324 if (idx >= wusbhc->ports_max) { in wusbhc_devconnect_ack()327 wusbhc->ports_max, pr_cdid); in wusbhc_devconnect_ack()438 keep_alives <= WUIE_ELT_MAX && cnt < wusbhc->ports_max; in __wusbhc_keep_alive()501 if (port < 0 || port >= wusbhc->ports_max) in wusbhc_find_dev_by_addr()507 for (p = 0; p < wusbhc->ports_max; p++) { in wusbhc_find_dev_by_addr()997 BUG_ON(port_idx > wusbhc->ports_max); in __wusb_dev_get_by_usb_dev()
262 u8 ports_max; member
559 for (p = 0; p < wusbhc->ports_max; p++) { in wusbhc_gtk_rekey()
246 wusbhc->ports_max = USB_MAXCHILDREN; in whc_probe()248 wusbhc->ports_max = whc->n_devices; in whc_probe()
721 wusbhc->ports_max = USB_MAXCHILDREN; in hwahc_create()723 wusbhc->ports_max = wa->wa_descr->bNumPorts; in hwahc_create()