Searched refs:ports_max (Results 1 – 6 of 6) sorted by relevance
148 size = DIV_ROUND_UP(wusbhc->ports_max + 1, 8); in wusbhc_rh_status_data()153 for (cnt = 0; cnt < wusbhc->ports_max; cnt++) { in wusbhc_rh_status_data()179 u16 temp = 1 + (wusbhc->ports_max / 8); in wusbhc_rh_get_hub_descr()186 descr->bNbrPorts = wusbhc->ports_max; in wusbhc_rh_get_hub_descr()251 if (port_idx > wusbhc->ports_max) in wusbhc_rh_set_port_feat()296 if (port_idx > wusbhc->ports_max) in wusbhc_rh_clear_port_feat()344 if (port_idx > wusbhc->ports_max) in wusbhc_rh_get_port_status()426 port_size = wusbhc->ports_max * sizeof(wusbhc->port[0]); in wusbhc_rh_create()430 for (itr = 0; itr < wusbhc->ports_max; itr++) in wusbhc_rh_create()
292 for (idx = 0; idx < wusbhc->ports_max; idx++) { in wusbhc_devconnect_ack()299 for (idx = 0; idx < wusbhc->ports_max; idx++) { in wusbhc_devconnect_ack()305 if (idx >= wusbhc->ports_max) { in wusbhc_devconnect_ack()308 wusbhc->ports_max, pr_cdid); in wusbhc_devconnect_ack()415 keep_alives < WUIE_ELT_MAX && cnt < wusbhc->ports_max; in __wusbhc_keep_alive()478 if (port < 0 || port >= wusbhc->ports_max) in wusbhc_find_dev_by_addr()484 for (p = 0; p < wusbhc->ports_max; p++) { in wusbhc_find_dev_by_addr()969 BUG_ON(port_idx > wusbhc->ports_max); in __wusb_dev_get_by_usb_dev()1065 for (i = 0; i < wusbhc->ports_max; i++) { in wusbhc_devconnect_stop()
265 u8 ports_max; member
558 for (port_idx = 0; port_idx < wusbhc->ports_max; port_idx++) { in wusbhc_gtk_rekey_work()
273 wusbhc->ports_max = USB_MAXCHILDREN; in whc_probe()275 wusbhc->ports_max = whc->n_devices; in whc_probe()
738 wusbhc->ports_max = USB_MAXCHILDREN; in hwahc_create()740 wusbhc->ports_max = wa->wa_descr->bNumPorts; in hwahc_create()