HCS_MAX_PORTS
port_num = HCS_MAX_PORTS(reg);
xhci->max_ports = min(HCS_MAX_PORTS(hcs_params1), MAX_HC_PORTS);