Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/usb/otg/
Dmsm_otg.c570 u32 otgsc = readl(USB_OTGSC); in msm_otg_init_sm() local
575 if (otgsc & OTGSC_ID) in msm_otg_init_sm()
580 if (otgsc & OTGSC_BSV) in msm_otg_init_sm()
601 if (otgsc & OTGSC_BSV) in msm_otg_init_sm()
664 u32 otgsc = 0; in msm_otg_irq() local
673 otgsc = readl(USB_OTGSC); in msm_otg_irq()
674 if (!(otgsc & (OTGSC_IDIS | OTGSC_BSVIS))) in msm_otg_irq()
677 if ((otgsc & OTGSC_IDIS) && (otgsc & OTGSC_IDIE)) { in msm_otg_irq()
678 if (otgsc & OTGSC_ID) in msm_otg_irq()
684 } else if ((otgsc & OTGSC_BSVIS) && (otgsc & OTGSC_BSVIE)) { in msm_otg_irq()
[all …]
Dlangwell_otg.c289 u32 otgsc, usbcfg; in langwell_otg_check_otgsc() local
293 otgsc = readl(lnw->iotg.base + CI_OTGSC); in langwell_otg_check_otgsc()
297 otgsc, usbcfg); in langwell_otg_check_otgsc()
298 dev_dbg(lnw->dev, "OTGSC_AVV = %d\n", !!(otgsc & OTGSC_AVV)); in langwell_otg_check_otgsc()
301 dev_dbg(lnw->dev, "OTGSC_ASV = %d\n", !!(otgsc & OTGSC_ASV)); in langwell_otg_check_otgsc()
304 dev_dbg(lnw->dev, "OTGSC_BSV = %d\n", !!(otgsc & OTGSC_BSV)); in langwell_otg_check_otgsc()
307 dev_dbg(lnw->dev, "OTGSC_BSE = %d\n", !!(otgsc & OTGSC_BSE)); in langwell_otg_check_otgsc()
312 if (!!(otgsc & OTGSC_AVV) ^ !!(usbcfg & USBCFG_VBUSVAL)) { in langwell_otg_check_otgsc()
316 if (!!(otgsc & OTGSC_ASV) ^ !!(usbcfg & USBCFG_AVALID)) { in langwell_otg_check_otgsc()
320 if (!!(otgsc & OTGSC_BSV) ^ !!(usbcfg & USBCFG_BVALID)) { in langwell_otg_check_otgsc()
[all …]
/linux-2.6.39/arch/mips/include/asm/pmc-sierra/msp71xx/
Dmsp_usb.h103 u32 otgsc; /* 0xa4: OTG status & control */ member
116 u32 otgsc; /* 0xa4: OTG status & control */ member
/linux-2.6.39/drivers/usb/gadget/
Dfsl_usb2_udc.h39 u32 otgsc; /* On-The-Go Status and Control */ member
76 u32 otgsc; /* On-The-Go Status and Control */ member
Dmv_udc.h152 u32 otgsc; member
Dlangwell_udc.c143 readl(&dev->op_regs->otgsc)); in print_all_registers()
/linux-2.6.39/include/linux/usb/
Dlangwell_udc.h216 u32 otgsc; /* On-The-Go status and control */ member