Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/usb/gadget/udc/
H A Dtegra-xudc.c75 #define PORTSC_PLS_MASK GENMASK(8, 5) macro
83 #define PORTSC_PLS(x) (((x) << PORTSC_PLS_SHIFT) & PORTSC_PLS_MASK)
736 pls = (xudc_readl(xudc, PORTSC) & PORTSC_PLS_MASK) >> in tegra_xudc_device_mode_off()
747 val &= ~(PORTSC_CHANGE_MASK | PORTSC_PLS_MASK); in tegra_xudc_device_mode_off()
839 u32 pls = (xudc_readl(xudc, PORTSC) & PORTSC_PLS_MASK) >> in tegra_xudc_plc_reset_work()
868 pls = (xudc_readl(xudc, PORTSC) & PORTSC_PLS_MASK) >> in tegra_xudc_port_reset_war_work()
1972 if (((val & PORTSC_PLS_MASK) >> PORTSC_PLS_SHIFT) != PORTSC_PLS_U0) { in tegra_xudc_resume_device_state()
1973 val &= ~(PORTSC_CHANGE_MASK | PORTSC_PLS_MASK); in tegra_xudc_resume_device_state()
3025 u32 pls = (portsc & PORTSC_PLS_MASK) >> PORTSC_PLS_SHIFT; in __tegra_xudc_handle_port_status()
3439 val &= ~(PORTSC_CHANGE_MASK | PORTSC_PLS_MASK); in tegra_xudc_device_params_init()
[all …]