Lines Matching refs:rh_bw
828 tt_list_head = &(xhci->rh_bw[virt_dev->real_port - 1].tts); in xhci_free_tt_info()
865 &xhci->rh_bw[virt_dev->real_port - 1].tts); in xhci_alloc_tt_info()
962 tt_list_head = &(xhci->rh_bw[vdev->real_port - 1].tts); in xhci_free_virt_devices_depth_first()
1173 dev->bw_table = &xhci->rh_bw[port_num - 1].bw_table; in xhci_setup_addressable_virt_dev()
1175 struct xhci_root_port_bw_info *rh_bw; in xhci_setup_addressable_virt_dev() local
1178 rh_bw = &xhci->rh_bw[port_num - 1]; in xhci_setup_addressable_virt_dev()
1180 list_for_each_entry(tt_bw, &rh_bw->tts, tt_list) { in xhci_setup_addressable_virt_dev()
1873 for (i = 0; i < num_ports && xhci->rh_bw; i++) { in xhci_mem_cleanup()
1874 struct xhci_interval_bw_table *bwt = &xhci->rh_bw[i].bw_table; in xhci_mem_cleanup()
1910 if (!xhci->rh_bw) in xhci_mem_cleanup()
1915 list_for_each_entry_safe(tt, n, &xhci->rh_bw[i].tts, tt_list) { in xhci_mem_cleanup()
1929 kfree(xhci->rh_bw); in xhci_mem_cleanup()
1939 xhci->rh_bw = NULL; in xhci_mem_cleanup()
2311 xhci->rh_bw = kcalloc_node(num_ports, sizeof(*xhci->rh_bw), flags, in xhci_setup_port_arrays()
2313 if (!xhci->rh_bw) in xhci_setup_port_arrays()
2318 INIT_LIST_HEAD(&xhci->rh_bw[i].tts); in xhci_setup_port_arrays()
2319 bw_table = &xhci->rh_bw[i].bw_table; in xhci_setup_port_arrays()