Home
last modified time | relevance | path

Searched refs:otgsc (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/usb/phy/
H A Dphy-fsl-usb.c122 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 …]
H A Dphy-mv-usb.h121 u32 otgsc; member
H A Dphy-fsl-usb.h317 u32 otgsc; /* On-The-Go Status and Control */ member
/linux/drivers/usb/chipidea/
H A Dotg_fsm.c742 u32 otgsc, otg_int_src = 0; in ci_otg_fsm_irq() local
745 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()
H A Dcore.c524 u32 otgsc = 0; in ci_irq_handler() local
541 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() local
1342 (otgsc & OTGSC_IDIE) && (otgsc & OTGSC_IDIS)) in ci_extcon_wakeup_int()
1347 (otgsc & OTGSC_BSVIE) && (otgsc & OTGSC_BSVIS)) in ci_extcon_wakeup_int()
/linux/drivers/usb/gadget/udc/
H A Dfsl_usb2_udc.h46 u32 otgsc; /* On-The-Go Status and Control */ member
83 u32 otgsc; /* On-The-Go Status and Control */ member