Searched refs:otgsc (Results 1 – 10 of 10) sorted by relevance
169 u32 otgsc; in mv_otg_init_irq() local188 otgsc = readl(&mvotg->op_regs->otgsc); in mv_otg_init_irq()189 otgsc |= mvotg->irq_en; in mv_otg_init_irq()190 writel(otgsc, &mvotg->op_regs->otgsc); in mv_otg_init_irq()293 u32 otgsc; in mv_otg_update_inputs() local295 otgsc = readl(&mvotg->op_regs->otgsc); in mv_otg_update_inputs()306 otg_ctrl->b_sess_vld = !!(otgsc & OTGSC_STS_B_SESSION_VALID); in mv_otg_update_inputs()307 otg_ctrl->b_sess_end = !!(otgsc & OTGSC_STS_B_SESSION_END); in mv_otg_update_inputs()313 otg_ctrl->id = !!(otgsc & OTGSC_STS_USB_ID); in mv_otg_update_inputs()318 otg_ctrl->a_sess_vld = !!(otgsc & OTGSC_STS_A_SESSION_VALID); in mv_otg_update_inputs()[all …]
121 tmp = fsl_readl(&usb_dr_regs->otgsc) & ~OTGSC_INTSTS_MASK; in fsl_otg_chrg_vbus()131 fsl_writel(tmp, &usb_dr_regs->otgsc); in fsl_otg_chrg_vbus()139 tmp = fsl_readl(&usb_dr_regs->otgsc) & ~OTGSC_INTSTS_MASK; in fsl_otg_dischrg_vbus()149 fsl_writel(tmp, &usb_dr_regs->otgsc); in fsl_otg_dischrg_vbus()175 tmp = fsl_readl(&usb_dr_regs->otgsc) & ~OTGSC_INTSTS_MASK; in fsl_otg_loc_conn()182 fsl_writel(tmp, &usb_dr_regs->otgsc); in fsl_otg_loc_conn()211 tmp = fsl_readl(&usb_dr_regs->otgsc) & ~OTGSC_INTSTS_MASK; in fsl_otg_start_pulse()213 fsl_writel(tmp, &usb_dr_regs->otgsc); in fsl_otg_start_pulse()474 !!(fsl_readl(&usb_dr_regs->otgsc) & OTGSC_STS_A_VBUS_VALID); in fsl_otg_start_host()581 if (!(fsl_readl(&otg_dev->dr_mem_map->otgsc) & in fsl_otg_set_host()[all …]
121 u32 otgsc; member
317 u32 otgsc; /* On-The-Go Status and Control */ member
99 u32 otgsc; /* 0xa4: OTG status & control */ member112 u32 otgsc; /* 0xa4: OTG status & control */ member
735 u32 otgsc, otg_int_src = 0; in ci_otg_fsm_irq() local738 otgsc = hw_read_otgsc(ci, ~0); in ci_otg_fsm_irq()739 otg_int_src = otgsc & OTGSC_INT_STATUS_BITS & (otgsc >> 8); in ci_otg_fsm_irq()740 fsm->id = (otgsc & OTGSC_ID) ? 1 : 0; in ci_otg_fsm_irq()756 if (otgsc & OTGSC_BSV) { in ci_otg_fsm_irq()768 if (otgsc & OTGSC_AVV) { in ci_otg_fsm_irq()
539 u32 otgsc = 0; in ci_irq() local549 otgsc = hw_read_otgsc(ci, ~0); in ci_irq()561 if (ci->is_otg && (otgsc & OTGSC_IDIE) && (otgsc & OTGSC_IDIS)) { in ci_irq()573 if (ci->is_otg && (otgsc & OTGSC_BSVIE) && (otgsc & OTGSC_BSVIS)) { in ci_irq()
46 u32 otgsc; /* On-The-Go Status and Control */ member83 u32 otgsc; /* On-The-Go Status and Control */ member
156 u32 otgsc; member
388 if (!(fsl_readl(&dr_regs->otgsc) & OTGSC_STS_USB_ID)) { in dr_controller_stop()