Searched refs:otgsc (Results 1 – 6 of 6) sorted by relevance
122 tmp = fsl_readl(&usb_dr_regs->otgsc) & ~OTGSC_INTSTS_MASK; in fsl_otg_chrg_vbus()132 fsl_writel(tmp, &usb_dr_regs->otgsc); in fsl_otg_chrg_vbus()140 tmp = fsl_readl(&usb_dr_regs->otgsc) & ~OTGSC_INTSTS_MASK; in fsl_otg_dischrg_vbus()150 fsl_writel(tmp, &usb_dr_regs->otgsc); in fsl_otg_dischrg_vbus()176 tmp = fsl_readl(&usb_dr_regs->otgsc) & ~OTGSC_INTSTS_MASK; in fsl_otg_loc_conn()183 fsl_writel(tmp, &usb_dr_regs->otgsc); in fsl_otg_loc_conn()212 tmp = fsl_readl(&usb_dr_regs->otgsc) & ~OTGSC_INTSTS_MASK; in fsl_otg_start_pulse()214 fsl_writel(tmp, &usb_dr_regs->otgsc); in fsl_otg_start_pulse()475 !!(fsl_readl(&usb_dr_regs->otgsc) & OTGSC_STS_A_VBUS_VALID); in fsl_otg_start_host()582 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
742 u32 otgsc, otg_int_src = 0; in ci_otg_fsm_irq() local745 otgsc = hw_read_otgsc(ci, ~0); in ci_otg_fsm_irq()746 otg_int_src = otgsc & OTGSC_INT_STATUS_BITS & (otgsc >> 8); in ci_otg_fsm_irq()747 fsm->id = (otgsc & OTGSC_ID) ? 1 : 0; in ci_otg_fsm_irq()763 if (otgsc & OTGSC_BSV) { in ci_otg_fsm_irq()775 if (otgsc & OTGSC_AVV) { in ci_otg_fsm_irq()
524 u32 otgsc = 0; in ci_irq_handler() local541 otgsc = hw_read_otgsc(ci, ~0); in ci_irq_handler()553 if (ci->is_otg && (otgsc & OTGSC_IDIE) && (otgsc & OTGSC_IDIS)) { in ci_irq_handler()565 if (ci->is_otg && (otgsc & OTGSC_BSVIE) && (otgsc & OTGSC_BSVIS)) { in ci_irq_handler()1335 u32 otgsc = hw_read_otgsc(ci, ~0); in ci_extcon_wakeup_int() local1342 (otgsc & OTGSC_IDIE) && (otgsc & OTGSC_IDIS)) in ci_extcon_wakeup_int()1347 (otgsc & OTGSC_BSVIE) && (otgsc & OTGSC_BSVIS)) in ci_extcon_wakeup_int()
46 u32 otgsc; /* On-The-Go Status and Control */ member83 u32 otgsc; /* On-The-Go Status and Control */ member