Searched refs:m66592 (Results 1 – 3 of 3) sorted by relevance
/linux-6.6.21/drivers/usb/gadget/udc/ |
D | m66592-udc.c | 34 static void disable_controller(struct m66592 *m66592); 44 static inline u16 get_usb_speed(struct m66592 *m66592) in get_usb_speed() argument 46 return (m66592_read(m66592, M66592_DVSTCTR) & M66592_RHST); in get_usb_speed() 49 static void enable_pipe_irq(struct m66592 *m66592, u16 pipenum, in enable_pipe_irq() argument 54 tmp = m66592_read(m66592, M66592_INTENB0); in enable_pipe_irq() 55 m66592_bclr(m66592, M66592_BEMPE | M66592_NRDYE | M66592_BRDYE, in enable_pipe_irq() 57 m66592_bset(m66592, (1 << pipenum), reg); in enable_pipe_irq() 58 m66592_write(m66592, tmp, M66592_INTENB0); in enable_pipe_irq() 61 static void disable_pipe_irq(struct m66592 *m66592, u16 pipenum, in disable_pipe_irq() argument 66 tmp = m66592_read(m66592, M66592_INTENB0); in disable_pipe_irq() [all …]
|
D | m66592-udc.h | 443 struct m66592 *m66592; member 462 struct m66592 { struct 492 #define to_m66592(g) (container_of((g), struct m66592, gadget)) argument 494 #define gadget_to_m66592(_gadget) container_of(_gadget, struct m66592, gadget) 495 #define m66592_to_gadget(m66592) (&m66592->gadget) argument 507 #define enable_irq_ready(m66592, pipenum) \ argument 508 enable_pipe_irq(m66592, pipenum, M66592_BRDYENB) 509 #define disable_irq_ready(m66592, pipenum) \ argument 510 disable_pipe_irq(m66592, pipenum, M66592_BRDYENB) 511 #define enable_irq_empty(m66592, pipenum) \ argument [all …]
|
D | Makefile | 26 obj-$(CONFIG_USB_M66592) += m66592-udc.o
|