/kernel/linux/linux-5.10/drivers/usb/phy/ |
H A D | phy-mv-usb.c | 167 u32 otgsc; in mv_otg_init_irq() local 186 otgsc = readl(&mvotg->op_regs->otgsc); in mv_otg_init_irq() 187 otgsc |= mvotg->irq_en; in mv_otg_init_irq() 188 writel(otgsc, &mvotg->op_regs->otgsc); in mv_otg_init_irq() 291 u32 otgsc; in mv_otg_update_inputs() local 293 otgsc = readl(&mvotg->op_regs->otgsc); in mv_otg_update_inputs() 304 otg_ctrl->b_sess_vld = !!(otgsc in mv_otg_update_inputs() 480 u32 otgsc; mv_otg_irq() local 855 u32 otgsc; mv_otg_resume() local [all...] |
H A D | phy-fsl-usb.c | 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...] |
H A D | phy-mv-usb.h | 15 /* otgsc Register Bit Masks */ 121 u32 otgsc; member
|
H A D | phy-fsl-usb.h | 317 u32 otgsc; /* On-The-Go Status and Control */ member
|
/kernel/linux/linux-6.6/drivers/usb/phy/ |
H A D | phy-mv-usb.c | 167 u32 otgsc; in mv_otg_init_irq() local 186 otgsc = readl(&mvotg->op_regs->otgsc); in mv_otg_init_irq() 187 otgsc |= mvotg->irq_en; in mv_otg_init_irq() 188 writel(otgsc, &mvotg->op_regs->otgsc); in mv_otg_init_irq() 291 u32 otgsc; in mv_otg_update_inputs() local 293 otgsc = readl(&mvotg->op_regs->otgsc); in mv_otg_update_inputs() 304 otg_ctrl->b_sess_vld = !!(otgsc in mv_otg_update_inputs() 480 u32 otgsc; mv_otg_irq() local 850 u32 otgsc; mv_otg_resume() local [all...] |
H A D | phy-fsl-usb.c | 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...] |
H A D | phy-mv-usb.h | 15 /* otgsc Register Bit Masks */ 121 u32 otgsc; member
|
H A D | phy-fsl-usb.h | 317 u32 otgsc; /* On-The-Go Status and Control */ member
|
/kernel/linux/linux-5.10/drivers/usb/chipidea/ |
H A D | otg_fsm.c | 737 u32 otgsc, otg_int_src = 0; in ci_otg_fsm_irq() local 740 otgsc = hw_read_otgsc(ci, ~0); in ci_otg_fsm_irq() 741 otg_int_src = otgsc & OTGSC_INT_STATUS_BITS & (otgsc >> 8); in ci_otg_fsm_irq() 742 fsm->id = (otgsc & OTGSC_ID) ? 1 : 0; in ci_otg_fsm_irq() 758 if (otgsc & OTGSC_BSV) { in ci_otg_fsm_irq() 770 if (otgsc & OTGSC_AVV) { in ci_otg_fsm_irq()
|
H A D | core.c | 516 u32 otgsc = 0; in ci_irq_handler() local 533 otgsc = hw_read_otgsc(ci, ~0); in ci_irq_handler() 545 if (ci->is_otg && (otgsc & OTGSC_IDIE) && (otgsc & OTGSC_IDIS)) { in ci_irq_handler() 557 if (ci->is_otg && (otgsc & OTGSC_BSVIE) && (otgsc & OTGSC_BSVIS)) { in ci_irq_handler() 1308 u32 otgsc = hw_read_otgsc(ci, ~0); in ci_extcon_wakeup_int() local 1314 (otgsc & OTGSC_IDIE) && (otgsc & OTGSC_IDIS)) in ci_extcon_wakeup_int() 1318 (otgsc in ci_extcon_wakeup_int() [all...] |
/kernel/linux/linux-6.6/drivers/usb/chipidea/ |
H A D | otg_fsm.c | 744 u32 otgsc, otg_int_src = 0; in ci_otg_fsm_irq() local 747 otgsc = hw_read_otgsc(ci, ~0); in ci_otg_fsm_irq() 748 otg_int_src = otgsc & OTGSC_INT_STATUS_BITS & (otgsc >> 8); in ci_otg_fsm_irq() 749 fsm->id = (otgsc & OTGSC_ID) ? 1 : 0; in ci_otg_fsm_irq() 765 if (otgsc & OTGSC_BSV) { in ci_otg_fsm_irq() 777 if (otgsc & OTGSC_AVV) { in ci_otg_fsm_irq()
|
H A D | core.c | 523 u32 otgsc = 0; in ci_irq_handler() local 540 otgsc = hw_read_otgsc(ci, ~0); in ci_irq_handler() 552 if (ci->is_otg && (otgsc & OTGSC_IDIE) && (otgsc & OTGSC_IDIS)) { in ci_irq_handler() 564 if (ci->is_otg && (otgsc & OTGSC_BSVIE) && (otgsc & OTGSC_BSVIS)) { in ci_irq_handler() 1330 u32 otgsc = hw_read_otgsc(ci, ~0); in ci_extcon_wakeup_int() local 1337 (otgsc & OTGSC_IDIE) && (otgsc & OTGSC_IDIS)) in ci_extcon_wakeup_int() 1342 (otgsc in ci_extcon_wakeup_int() [all...] |
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/ |
H A D | fsl_usb2_udc.h | 46 u32 otgsc; /* On-The-Go Status and Control */ member 83 u32 otgsc; /* On-The-Go Status and Control */ member 254 /* otgsc Register Bit Masks */
|
H A D | mv_udc.h | 156 u32 otgsc; member
|
H A D | fsl_udc_core.c | 387 if (!(fsl_readl(&dr_regs->otgsc) & OTGSC_STS_USB_ID)) { in dr_controller_stop()
|
/kernel/linux/linux-6.6/drivers/usb/gadget/udc/ |
H A D | fsl_usb2_udc.h | 46 u32 otgsc; /* On-The-Go Status and Control */ member 83 u32 otgsc; /* On-The-Go Status and Control */ member 254 /* otgsc Register Bit Masks */
|
H A D | mv_udc.h | 156 u32 otgsc; member
|
H A D | fsl_udc_core.c | 383 if (!(fsl_readl(&dr_regs->otgsc) & OTGSC_STS_USB_ID)) { in dr_controller_stop()
|