Lines Matching refs:PORTSC

70 #define PORTSC 0x03c  macro
727 connected = !!(xudc_readl(xudc, PORTSC) & PORTSC_CCS); in tegra_xudc_device_mode_off()
736 pls = (xudc_readl(xudc, PORTSC) & PORTSC_PLS_MASK) >> in tegra_xudc_device_mode_off()
746 val = xudc_readl(xudc, PORTSC); in tegra_xudc_device_mode_off()
749 xudc_writel(xudc, val, PORTSC); 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()
1971 val = xudc_readl(xudc, PORTSC); in tegra_xudc_resume_device_state()
1975 xudc_writel(xudc, val, PORTSC); in tegra_xudc_resume_device_state()
2840 val = (xudc_readl(xudc, PORTSC) & PORTSC_PS_MASK) >> PORTSC_PS_SHIFT; in tegra_xudc_port_connect()
2961 val = xudc_readl(xudc, PORTSC); in clear_port_change()
2964 xudc_writel(xudc, val, PORTSC); in clear_port_change()
2979 portsc = xudc_readl(xudc, PORTSC); in __tegra_xudc_handle_port_status()
2999 portsc = xudc_readl(xudc, PORTSC); in __tegra_xudc_handle_port_status()
3003 if (!(xudc_readl(xudc, PORTSC) & PORTSC_WPR)) in __tegra_xudc_handle_port_status()
3007 portsc = xudc_readl(xudc, PORTSC); in __tegra_xudc_handle_port_status()
3023 portsc = xudc_readl(xudc, PORTSC); in __tegra_xudc_handle_port_status()
3056 dev_dbg(xudc->dev, "PORTSC = %#x\n", xudc_readl(xudc, PORTSC)); in __tegra_xudc_handle_port_status()
3061 while ((xudc_readl(xudc, PORTSC) & PORTSC_CHANGE_MASK) || in tegra_xudc_handle_port_status()
3438 val = xudc_readl(xudc, PORTSC); in tegra_xudc_device_params_init()
3441 xudc_writel(xudc, val, PORTSC); in tegra_xudc_device_params_init()
3449 val = xudc_readl(xudc, PORTSC); in tegra_xudc_device_params_init()
3452 xudc_writel(xudc, val, PORTSC); in tegra_xudc_device_params_init()