Searched refs:otgsc (Results 1 – 11 of 11) sorted by relevance
178 u32 otgsc; in mv_otg_init_irq() local197 otgsc = readl(&mvotg->op_regs->otgsc); in mv_otg_init_irq()198 otgsc |= mvotg->irq_en; in mv_otg_init_irq()199 writel(otgsc, &mvotg->op_regs->otgsc); in mv_otg_init_irq()302 u32 otgsc; in mv_otg_update_inputs() local304 otgsc = readl(&mvotg->op_regs->otgsc); in mv_otg_update_inputs()315 otg_ctrl->b_sess_vld = !!(otgsc & OTGSC_STS_B_SESSION_VALID); in mv_otg_update_inputs()316 otg_ctrl->b_sess_end = !!(otgsc & OTGSC_STS_B_SESSION_END); in mv_otg_update_inputs()322 otg_ctrl->id = !!(otgsc & OTGSC_STS_USB_ID); in mv_otg_update_inputs()327 otg_ctrl->a_sess_vld = !!(otgsc & OTGSC_STS_A_SESSION_VALID); in mv_otg_update_inputs()[all …]
127 tmp = fsl_readl(&usb_dr_regs->otgsc) & ~OTGSC_INTSTS_MASK; in fsl_otg_chrg_vbus()137 fsl_writel(tmp, &usb_dr_regs->otgsc); in fsl_otg_chrg_vbus()145 tmp = fsl_readl(&usb_dr_regs->otgsc) & ~OTGSC_INTSTS_MASK; in fsl_otg_dischrg_vbus()155 fsl_writel(tmp, &usb_dr_regs->otgsc); in fsl_otg_dischrg_vbus()181 tmp = fsl_readl(&usb_dr_regs->otgsc) & ~OTGSC_INTSTS_MASK; in fsl_otg_loc_conn()188 fsl_writel(tmp, &usb_dr_regs->otgsc); in fsl_otg_loc_conn()217 tmp = fsl_readl(&usb_dr_regs->otgsc) & ~OTGSC_INTSTS_MASK; in fsl_otg_start_pulse()219 fsl_writel(tmp, &usb_dr_regs->otgsc); in fsl_otg_start_pulse()480 !!(fsl_readl(&usb_dr_regs->otgsc) & OTGSC_STS_A_VBUS_VALID); in fsl_otg_start_host()587 if (!(fsl_readl(&otg_dev->dr_mem_map->otgsc) & in fsl_otg_set_host()[all …]
1126 u32 otgsc = readl(USB_OTGSC); in msm_otg_init_sm() local1131 if (otgsc & OTGSC_ID) in msm_otg_init_sm()1136 if (otgsc & OTGSC_BSV) in msm_otg_init_sm()1150 if (otgsc & OTGSC_BSV) in msm_otg_init_sm()1261 u32 otgsc = 0; in msm_otg_irq() local1270 otgsc = readl(USB_OTGSC); in msm_otg_irq()1271 if (!(otgsc & (OTGSC_IDIS | OTGSC_BSVIS))) in msm_otg_irq()1274 if ((otgsc & OTGSC_IDIS) && (otgsc & OTGSC_IDIE)) { in msm_otg_irq()1275 if (otgsc & OTGSC_ID) in msm_otg_irq()1281 } else if ((otgsc & OTGSC_BSVIS) && (otgsc & OTGSC_BSVIE)) { in msm_otg_irq()[all …]
125 u32 otgsc; member
331 u32 otgsc; /* On-The-Go Status and Control */ member
99 u32 otgsc; /* 0xa4: OTG status & control */ member112 u32 otgsc; /* 0xa4: OTG status & control */ member
711 u32 otgsc, otg_int_src = 0; in ci_otg_fsm_irq() local714 otgsc = hw_read_otgsc(ci, ~0); in ci_otg_fsm_irq()715 otg_int_src = otgsc & OTGSC_INT_STATUS_BITS & (otgsc >> 8); in ci_otg_fsm_irq()716 fsm->id = (otgsc & OTGSC_ID) ? 1 : 0; in ci_otg_fsm_irq()732 if (otgsc & OTGSC_BSV) { in ci_otg_fsm_irq()744 if (otgsc & OTGSC_AVV) { in ci_otg_fsm_irq()
511 u32 otgsc = 0; in ci_irq() local521 otgsc = hw_read_otgsc(ci, ~0); in ci_irq()533 if (ci->is_otg && (otgsc & OTGSC_IDIE) && (otgsc & OTGSC_IDIS)) { in ci_irq()545 if (ci->is_otg && (otgsc & OTGSC_BSVIE) && (otgsc & OTGSC_BSVIS)) { in ci_irq()
50 u32 otgsc; /* On-The-Go Status and Control */ member87 u32 otgsc; /* On-The-Go Status and Control */ member
160 u32 otgsc; member
391 if (!(fsl_readl(&dr_regs->otgsc) & OTGSC_STS_USB_ID)) { in dr_controller_stop()