Lines Matching refs:rh_bw
857 tt_list_head = &(xhci->rh_bw[virt_dev->real_port - 1].tts); in xhci_free_tt_info()
892 &xhci->rh_bw[virt_dev->real_port - 1].tts); in xhci_alloc_tt_info()
1156 dev->bw_table = &xhci->rh_bw[port_num - 1].bw_table; in xhci_setup_addressable_virt_dev()
1158 struct xhci_root_port_bw_info *rh_bw; in xhci_setup_addressable_virt_dev() local
1161 rh_bw = &xhci->rh_bw[port_num - 1]; in xhci_setup_addressable_virt_dev()
1163 list_for_each_entry(tt_bw, &rh_bw->tts, tt_list) { in xhci_setup_addressable_virt_dev()
1819 for (i = 0; i < num_ports && xhci->rh_bw; i++) { in xhci_mem_cleanup()
1820 struct xhci_interval_bw_table *bwt = &xhci->rh_bw[i].bw_table; in xhci_mem_cleanup()
1860 if (!xhci->rh_bw) in xhci_mem_cleanup()
1865 list_for_each_entry_safe(tt, n, &xhci->rh_bw[i].tts, tt_list) { in xhci_mem_cleanup()
1879 kfree(xhci->rh_bw); in xhci_mem_cleanup()
1885 xhci->rh_bw = NULL; in xhci_mem_cleanup()
2186 xhci->rh_bw = kzalloc(sizeof(*xhci->rh_bw)*num_ports, flags); in xhci_setup_port_arrays()
2187 if (!xhci->rh_bw) in xhci_setup_port_arrays()
2192 INIT_LIST_HEAD(&xhci->rh_bw[i].tts); in xhci_setup_port_arrays()
2193 bw_table = &xhci->rh_bw[i].bw_table; in xhci_setup_port_arrays()