Searched refs:USBMODE_CM (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.4/drivers/usb/chipidea/ |
D | bits.h | 132 #define USBMODE_CM (0x03UL << 0) macro
|
D | core.c | 425 is_device_mode = hw_read(ci, OP_USBMODE, USBMODE_CM) == USBMODE_CM_DC; in ci_platform_configure() 426 is_host_mode = hw_read(ci, OP_USBMODE, USBMODE_CM) == USBMODE_CM_HC; in ci_platform_configure() 520 hw_write(ci, OP_USBMODE, USBMODE_CM, USBMODE_CM_IDLE); in hw_device_reset() 521 hw_write(ci, OP_USBMODE, USBMODE_CM, USBMODE_CM_DC); in hw_device_reset() 525 if (hw_read(ci, OP_USBMODE, USBMODE_CM) != USBMODE_CM_DC) { in hw_device_reset()
|
D | udc.c | 1868 if (hw_read(ci, OP_USBMODE, USBMODE_CM) != in udc_irq()
|