Home
last modified time | relevance | path

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

/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)
742 pls = (xudc_readl(xudc, PORTSC) & PORTSC_PLS_MASK) >> in tegra_xudc_device_mode_off()
753 val &= ~(PORTSC_CHANGE_MASK | PORTSC_PLS_MASK); in tegra_xudc_device_mode_off()
853 u32 pls = (xudc_readl(xudc, PORTSC) & PORTSC_PLS_MASK) >> in tegra_xudc_plc_reset_work()
882 pls = (xudc_readl(xudc, PORTSC) & PORTSC_PLS_MASK) >> in tegra_xudc_port_reset_war_work()
1986 if (((val & PORTSC_PLS_MASK) >> PORTSC_PLS_SHIFT) != PORTSC_PLS_U0) { in tegra_xudc_resume_device_state()
1987 val &= ~(PORTSC_CHANGE_MASK | PORTSC_PLS_MASK); in tegra_xudc_resume_device_state()
3038 u32 pls = (portsc & PORTSC_PLS_MASK) >> PORTSC_PLS_SHIFT; in __tegra_xudc_handle_port_status()
3453 val &= ~(PORTSC_CHANGE_MASK | PORTSC_PLS_MASK); in tegra_xudc_device_params_init()
[all …]