Searched refs:otgsc (Results 1 – 7 of 7) sorted by relevance
/linux-2.6.39/drivers/usb/otg/ |
D | msm_otg.c | 570 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 …]
|
D | langwell_otg.c | 289 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/ |
D | msp_usb.h | 103 u32 otgsc; /* 0xa4: OTG status & control */ member 116 u32 otgsc; /* 0xa4: OTG status & control */ member
|
/linux-2.6.39/drivers/usb/gadget/ |
D | fsl_usb2_udc.h | 39 u32 otgsc; /* On-The-Go Status and Control */ member 76 u32 otgsc; /* On-The-Go Status and Control */ member
|
D | mv_udc.h | 152 u32 otgsc; member
|
D | langwell_udc.c | 143 readl(&dev->op_regs->otgsc)); in print_all_registers()
|
/linux-2.6.39/include/linux/usb/ |
D | langwell_udc.h | 216 u32 otgsc; /* On-The-Go status and control */ member
|