Home
last modified time | relevance | path

Searched refs:USBMODE_CM (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/usb/chipidea/
H A Dbits.h132 #define USBMODE_CM (0x03UL << 0) macro
H A Dcore.c407 is_device_mode = hw_read(ci, OP_USBMODE, USBMODE_CM) == USBMODE_CM_DC; in ci_platform_configure()
408 is_host_mode = hw_read(ci, OP_USBMODE, USBMODE_CM) == USBMODE_CM_HC; in ci_platform_configure()
502 hw_write(ci, OP_USBMODE, USBMODE_CM, USBMODE_CM_IDLE); in hw_device_reset()
503 hw_write(ci, OP_USBMODE, USBMODE_CM, USBMODE_CM_DC); in hw_device_reset()
507 if (hw_read(ci, OP_USBMODE, USBMODE_CM) != USBMODE_CM_DC) { in hw_device_reset()
H A Dudc.c2034 if (hw_read(ci, OP_USBMODE, USBMODE_CM) != in udc_irq()