Lines Matching refs:hw_ports
1911 kfree(xhci->hw_ports); in xhci_mem_cleanup()
1921 xhci->hw_ports = NULL; in xhci_mem_cleanup()
2214 struct xhci_port *hw_port = &xhci->hw_ports[i]; in xhci_add_in_port()
2254 if (xhci->hw_ports[i].rhub != rhub || in xhci_create_rhub_port_array()
2255 xhci->hw_ports[i].hcd_portnum == DUPLICATE_ENTRY) in xhci_create_rhub_port_array()
2257 xhci->hw_ports[i].hcd_portnum = port_index; in xhci_create_rhub_port_array()
2258 rhub->ports[port_index] = &xhci->hw_ports[i]; in xhci_create_rhub_port_array()
2283 xhci->hw_ports = kcalloc_node(num_ports, sizeof(*xhci->hw_ports), in xhci_setup_port_arrays()
2285 if (!xhci->hw_ports) in xhci_setup_port_arrays()
2289 xhci->hw_ports[i].addr = &xhci->op_regs->port_status_base + in xhci_setup_port_arrays()
2291 xhci->hw_ports[i].hw_portnum = i; in xhci_setup_port_arrays()