Searched refs:otgsc (Results 1 – 10 of 10) 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 …]
140 tmp = fsl_readl(&usb_dr_regs->otgsc) & ~OTGSC_INTSTS_MASK; in fsl_otg_chrg_vbus()150 fsl_writel(tmp, &usb_dr_regs->otgsc); in fsl_otg_chrg_vbus()158 tmp = fsl_readl(&usb_dr_regs->otgsc) & ~OTGSC_INTSTS_MASK; in fsl_otg_dischrg_vbus()168 fsl_writel(tmp, &usb_dr_regs->otgsc); in fsl_otg_dischrg_vbus()194 tmp = fsl_readl(&usb_dr_regs->otgsc) & ~OTGSC_INTSTS_MASK; in fsl_otg_loc_conn()201 fsl_writel(tmp, &usb_dr_regs->otgsc); in fsl_otg_loc_conn()230 tmp = fsl_readl(&usb_dr_regs->otgsc) & ~OTGSC_INTSTS_MASK; in fsl_otg_start_pulse()232 fsl_writel(tmp, &usb_dr_regs->otgsc); in fsl_otg_start_pulse()514 !!(fsl_readl(&usb_dr_regs->otgsc) & OTGSC_STS_A_VBUS_VALID); in fsl_otg_start_host()621 if (!(fsl_readl(&otg_dev->dr_mem_map->otgsc) & in fsl_otg_set_host()[all …]
1134 u32 otgsc = readl(USB_OTGSC); in msm_otg_init_sm() local1139 if (otgsc & OTGSC_ID) in msm_otg_init_sm()1144 if (otgsc & OTGSC_BSV) in msm_otg_init_sm()1158 if (otgsc & OTGSC_BSV) in msm_otg_init_sm()1267 u32 otgsc = 0; in msm_otg_irq() local1276 otgsc = readl(USB_OTGSC); in msm_otg_irq()1277 if (!(otgsc & (OTGSC_IDIS | OTGSC_BSVIS))) in msm_otg_irq()1280 if ((otgsc & OTGSC_IDIS) && (otgsc & OTGSC_IDIE)) { in msm_otg_irq()1281 if (otgsc & OTGSC_ID) in msm_otg_irq()1287 } 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
415 u32 otgsc = 0; in ci_irq() local418 otgsc = hw_read_otgsc(ci, ~0); in ci_irq()430 if (ci->is_otg && (otgsc & OTGSC_IDIE) && (otgsc & OTGSC_IDIS)) { in ci_irq()442 if (ci->is_otg && (otgsc & OTGSC_BSVIE) && (otgsc & OTGSC_BSVIS)) { in ci_irq()
716 u32 otgsc, otg_int_src = 0; in ci_otg_fsm_irq() local719 otgsc = hw_read_otgsc(ci, ~0); in ci_otg_fsm_irq()720 otg_int_src = otgsc & OTGSC_INT_STATUS_BITS & (otgsc >> 8); in ci_otg_fsm_irq()721 fsm->id = (otgsc & OTGSC_ID) ? 1 : 0; in ci_otg_fsm_irq()741 if (otgsc & OTGSC_BSV) { in ci_otg_fsm_irq()753 if (otgsc & OTGSC_AVV) { in ci_otg_fsm_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()