Home
last modified time | relevance | path

Searched refs:PORTSC_PLS_MASK (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/usb/gadget/udc/
H A Dtegra-xudc.c74 #define PORTSC_PLS_MASK GENMASK(8, 5) macro
82 #define PORTSC_PLS(x) (((x) << PORTSC_PLS_SHIFT) & PORTSC_PLS_MASK)
737 pls = (xudc_readl(xudc, PORTSC) & PORTSC_PLS_MASK) >> in tegra_xudc_device_mode_off()
748 val &= ~(PORTSC_CHANGE_MASK | PORTSC_PLS_MASK); in tegra_xudc_device_mode_off()
849 u32 pls = (xudc_readl(xudc, PORTSC) & PORTSC_PLS_MASK) >> in tegra_xudc_plc_reset_work()
878 pls = (xudc_readl(xudc, PORTSC) & PORTSC_PLS_MASK) >> in tegra_xudc_port_reset_war_work()
1984 if (((val & PORTSC_PLS_MASK) >> PORTSC_PLS_SHIFT) != PORTSC_PLS_U0) { in tegra_xudc_resume_device_state()
1985 val &= ~(PORTSC_CHANGE_MASK | PORTSC_PLS_MASK); in tegra_xudc_resume_device_state()
3036 u32 pls = (portsc & PORTSC_PLS_MASK) >> PORTSC_PLS_SHIFT; in __tegra_xudc_handle_port_status()
3450 val &= ~(PORTSC_CHANGE_MASK | PORTSC_PLS_MASK); in tegra_xudc_device_params_init()
[all …]
/openbmc/qemu/hw/usb/
H A Dhcd-xhci.c95 #define PORTSC_PLS_MASK 0xf macro