Searched refs:sl811 (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.10/drivers/usb/host/ |
D | sl811-hcd.c | 78 static void port_power(struct sl811 *sl811, int is_on) in port_power() argument 80 struct usb_hcd *hcd = sl811_to_hcd(sl811); in port_power() 84 if (sl811->port1 & USB_PORT_STAT_POWER) in port_power() 87 sl811->port1 = USB_PORT_STAT_POWER; in port_power() 88 sl811->irq_enable = SL11H_INTMASK_INSRMV; in port_power() 90 sl811->port1 = 0; in port_power() 91 sl811->irq_enable = 0; in port_power() 94 sl811->ctrl1 = 0; in port_power() 95 sl811_write(sl811, SL11H_IRQ_ENABLE, 0); in port_power() 96 sl811_write(sl811, SL11H_IRQ_STATUS, ~0); in port_power() [all …]
|
D | sl811.h | 121 struct sl811 { struct 159 static inline struct sl811 *hcd_to_sl811(struct usb_hcd *hcd) in hcd_to_sl811() argument 161 return (struct sl811 *) (hcd->hcd_priv); in hcd_to_sl811() 164 static inline struct usb_hcd *sl811_to_hcd(struct sl811 *sl811) in sl811_to_hcd() argument 166 return container_of((void *) sl811, struct usb_hcd, hcd_priv); in sl811_to_hcd() 198 static inline u8 sl811_read(struct sl811 *sl811, int reg) in sl811_read() argument 200 writeb(reg, sl811->addr_reg); in sl811_read() 201 return readb(sl811->data_reg); in sl811_read() 204 static inline void sl811_write(struct sl811 *sl811, int reg, u8 val) in sl811_write() argument 206 writeb(reg, sl811->addr_reg); in sl811_write() [all …]
|
D | Makefile | 80 obj-$(CONFIG_USB_SL811_HCD) += sl811-hcd.o
|
D | Kconfig | 698 module will be called sl811-hcd.
|