Home
last modified time | relevance | path

Searched refs:fusb300 (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/usb/gadget/udc/
Dfusb300_udc.c36 static void fusb300_enable_bit(struct fusb300 *fusb300, u32 offset, in fusb300_enable_bit() argument
39 u32 reg = ioread32(fusb300->reg + offset); in fusb300_enable_bit()
42 iowrite32(reg, fusb300->reg + offset); in fusb300_enable_bit()
45 static void fusb300_disable_bit(struct fusb300 *fusb300, u32 offset, in fusb300_disable_bit() argument
48 u32 reg = ioread32(fusb300->reg + offset); in fusb300_disable_bit()
51 iowrite32(reg, fusb300->reg + offset); in fusb300_disable_bit()
72 static void fusb300_set_fifo_entry(struct fusb300 *fusb300, in fusb300_set_fifo_entry() argument
75 u32 val = ioread32(fusb300->reg + FUSB300_OFFSET_EPSET1(ep)); in fusb300_set_fifo_entry()
79 iowrite32(val, fusb300->reg + FUSB300_OFFSET_EPSET1(ep)); in fusb300_set_fifo_entry()
82 static void fusb300_set_start_entry(struct fusb300 *fusb300, in fusb300_set_start_entry() argument
[all …]
Dfusb300_udc.h641 struct fusb300 *fusb300; member
652 struct fusb300 { struct
673 #define to_fusb300(g) (container_of((g), struct fusb300, gadget)) argument