Lines Matching refs:pm_val
4433 u32 pm_val, hlpm_val, field; in xhci_set_usb2_hardware_lpm() local
4458 pm_val = readl(pm_addr); in xhci_set_usb2_hardware_lpm()
4495 pm_val &= ~PORT_HIRD_MASK; in xhci_set_usb2_hardware_lpm()
4496 pm_val |= PORT_HIRD(hird) | PORT_RWE | PORT_L1DS(udev->slot_id); in xhci_set_usb2_hardware_lpm()
4497 writel(pm_val, pm_addr); in xhci_set_usb2_hardware_lpm()
4498 pm_val = readl(pm_addr); in xhci_set_usb2_hardware_lpm()
4499 pm_val |= PORT_HLE; in xhci_set_usb2_hardware_lpm()
4500 writel(pm_val, pm_addr); in xhci_set_usb2_hardware_lpm()
4504 pm_val &= ~(PORT_HLE | PORT_RWE | PORT_HIRD_MASK | PORT_L1DS_MASK); in xhci_set_usb2_hardware_lpm()
4505 writel(pm_val, pm_addr); in xhci_set_usb2_hardware_lpm()
4511 readl_poll_timeout(ports[port_num]->addr, pm_val, in xhci_set_usb2_hardware_lpm()
4512 (pm_val & PORT_PLS_MASK) == XDEV_U0, in xhci_set_usb2_hardware_lpm()