Lines Matching refs:rh_bw
787 tt_list_head = &(xhci->rh_bw[virt_dev->rhub_port->hw_portnum].tts); in xhci_free_tt_info()
824 &xhci->rh_bw[virt_dev->rhub_port->hw_portnum].tts); in xhci_alloc_tt_info()
926 tt_list_head = &(xhci->rh_bw[vdev->rhub_port->hw_portnum].tts); in xhci_free_virt_devices_depth_first()
1131 dev->bw_table = &xhci->rh_bw[dev->rhub_port->hw_portnum].bw_table; in xhci_setup_addressable_virt_dev()
1133 struct xhci_root_port_bw_info *rh_bw; in xhci_setup_addressable_virt_dev() local
1136 rh_bw = &xhci->rh_bw[dev->rhub_port->hw_portnum]; in xhci_setup_addressable_virt_dev()
1138 list_for_each_entry(tt_bw, &rh_bw->tts, tt_list) { in xhci_setup_addressable_virt_dev()
1891 for (i = 0; i < num_ports && xhci->rh_bw; i++) { in xhci_mem_cleanup()
1892 struct xhci_interval_bw_table *bwt = &xhci->rh_bw[i].bw_table; in xhci_mem_cleanup()
1928 if (!xhci->rh_bw) in xhci_mem_cleanup()
1933 list_for_each_entry_safe(tt, n, &xhci->rh_bw[i].tts, tt_list) { in xhci_mem_cleanup()
1947 kfree(xhci->rh_bw); in xhci_mem_cleanup()
1957 xhci->rh_bw = NULL; in xhci_mem_cleanup()
2177 xhci->rh_bw = kcalloc_node(num_ports, sizeof(*xhci->rh_bw), flags, in xhci_setup_port_arrays()
2179 if (!xhci->rh_bw) in xhci_setup_port_arrays()
2184 INIT_LIST_HEAD(&xhci->rh_bw[i].tts); in xhci_setup_port_arrays()
2185 bw_table = &xhci->rh_bw[i].bw_table; in xhci_setup_port_arrays()