Lines Matching refs:PORTSC
69 #define PORTSC 0x03c macro
728 connected = !!(xudc_readl(xudc, PORTSC) & PORTSC_CCS); in tegra_xudc_device_mode_off()
737 pls = (xudc_readl(xudc, PORTSC) & PORTSC_PLS_MASK) >> in tegra_xudc_device_mode_off()
747 val = xudc_readl(xudc, PORTSC); in tegra_xudc_device_mode_off()
750 xudc_writel(xudc, val, PORTSC); 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()
1983 val = xudc_readl(xudc, PORTSC); in tegra_xudc_resume_device_state()
1987 xudc_writel(xudc, val, PORTSC); in tegra_xudc_resume_device_state()
2851 val = (xudc_readl(xudc, PORTSC) & PORTSC_PS_MASK) >> PORTSC_PS_SHIFT; in tegra_xudc_port_connect()
2972 val = xudc_readl(xudc, PORTSC); in clear_port_change()
2975 xudc_writel(xudc, val, PORTSC); in clear_port_change()
2990 portsc = xudc_readl(xudc, PORTSC); in __tegra_xudc_handle_port_status()
3010 portsc = xudc_readl(xudc, PORTSC); in __tegra_xudc_handle_port_status()
3014 if (!(xudc_readl(xudc, PORTSC) & PORTSC_WPR)) in __tegra_xudc_handle_port_status()
3018 portsc = xudc_readl(xudc, PORTSC); in __tegra_xudc_handle_port_status()
3034 portsc = xudc_readl(xudc, PORTSC); in __tegra_xudc_handle_port_status()
3067 dev_dbg(xudc->dev, "PORTSC = %#x\n", xudc_readl(xudc, PORTSC)); in __tegra_xudc_handle_port_status()
3072 while ((xudc_readl(xudc, PORTSC) & PORTSC_CHANGE_MASK) || in tegra_xudc_handle_port_status()
3449 val = xudc_readl(xudc, PORTSC); in tegra_xudc_device_params_init()
3452 xudc_writel(xudc, val, PORTSC); in tegra_xudc_device_params_init()
3460 val = xudc_readl(xudc, PORTSC); in tegra_xudc_device_params_init()
3463 xudc_writel(xudc, val, PORTSC); in tegra_xudc_device_params_init()