usbf_ep
static void usbf_epn_enable_out_end_int(struct usbf_ep *epn)
static void usbf_epn_process_queue(struct usbf_ep *epn);
static void usbf_epn_dma_out_send_dma(struct usbf_ep *epn, dma_addr_t addr, u32 npkt, bool is_short)
static size_t usbf_epn_dma_out_complete_dma(struct usbf_ep *epn, bool is_short)
static int usbf_epn_dma_out(struct usbf_ep *epn, struct usbf_req *req)
static void usbf_epn_dma_stop(struct usbf_ep *epn)
static void usbf_epn_dma_abort(struct usbf_ep *epn, struct usbf_req *req)
static void usbf_epn_fifo_flush(struct usbf_ep *epn)
static void usbf_ep_req_done(struct usbf_ep *ep, struct usbf_req *req,
static void usbf_ep_nuke(struct usbf_ep *ep, int status)
static bool usbf_ep_is_stalled(struct usbf_ep *ep)
static int usbf_epn_start_queue(struct usbf_ep *epn)
static int usbf_ep_process_queue(struct usbf_ep *ep)
int (*usbf_ep_xfer)(struct usbf_ep *ep, struct usbf_req *req);
static void usbf_ep_stall(struct usbf_ep *ep, bool stall)
static void usbf_ep0_enable(struct usbf_ep *ep0)
static int usbf_epn_enable(struct usbf_ep *epn)
struct usbf_ep *ep = container_of(_ep, struct usbf_ep, ep);
static int usbf_epn_disable(struct usbf_ep *epn)
struct usbf_ep *ep = container_of(_ep, struct usbf_ep, ep);
static int usbf_ep0_queue(struct usbf_ep *ep0, struct usbf_req *req,
static int usbf_epn_queue(struct usbf_ep *ep, struct usbf_req *req,
struct usbf_ep *ep = container_of(_ep, struct usbf_ep, ep);
struct usbf_ep *ep = container_of(_ep, struct usbf_ep, ep);
struct usbf_ep *ep;
ep = container_of(_ep, struct usbf_ep, ep);
struct usbf_ep *ep = container_of(_ep, struct usbf_ep, ep);
struct usbf_ep *ep = container_of(_ep, struct usbf_ep, ep);
static void usbf_ep0_fill_req(struct usbf_ep *ep0, struct usbf_req *req,
static struct usbf_ep *usbf_get_ep_by_addr(struct usbf_udc *udc, u8 address)
struct usbf_ep *ep;
struct usbf_ep *ep;
struct usbf_ep *ep;
struct usbf_ep *ep = container_of(_ep, struct usbf_ep, ep);
static int usbf_handle_ep0_setup(struct usbf_ep *ep0)
static int usbf_handle_ep0_data_status(struct usbf_ep *ep0,
static int usbf_handle_ep0_out_status_start(struct usbf_ep *ep0)
static int usbf_handle_ep0_in_status_start(struct usbf_ep *ep0)
static void usbf_ep0_interrupt(struct usbf_ep *ep0)
static void usbf_epn_process_queue(struct usbf_ep *epn)
static void usbf_epn_interrupt(struct usbf_ep *epn)
static void usbf_ep_reset(struct usbf_ep *ep)
void (*bridge_on_dma_end)(struct usbf_ep *ep);
struct usbf_ep *ep;
struct usbf_ep *epn;
void (*ep_action)(struct usbf_ep *epn);
struct usbf_ep ep[USBF_NUM_ENDPOINTS];
static int usbf_epn_check(struct usbf_ep *epn)
struct usbf_ep *ep;
static inline u32 usbf_ep_reg_readl(struct usbf_ep *ep, uint offset)
static inline void usbf_ep_reg_read_rep(struct usbf_ep *ep, uint offset,
static inline void usbf_ep_reg_writel(struct usbf_ep *ep, uint offset, u32 val)
static inline void usbf_ep_reg_write_rep(struct usbf_ep *ep, uint offset,
static inline void usbf_ep_reg_bitset(struct usbf_ep *ep, uint offset, u32 set)
static inline void usbf_ep_reg_bitclr(struct usbf_ep *ep, uint offset, u32 clr)
static inline void usbf_ep_reg_clrset(struct usbf_ep *ep, uint offset,
static inline u32 usbf_ep_dma_reg_readl(struct usbf_ep *ep, uint offset)
static inline void usbf_ep_dma_reg_writel(struct usbf_ep *ep, uint offset,
static inline void usbf_ep_dma_reg_bitset(struct usbf_ep *ep, uint offset,
static inline void usbf_ep_dma_reg_bitclr(struct usbf_ep *ep, uint offset,
static void usbf_ep0_send_null(struct usbf_ep *ep0, bool is_data1)
static int usbf_ep0_pio_in(struct usbf_ep *ep0, struct usbf_req *req)
static int usbf_ep0_pio_out(struct usbf_ep *ep0, struct usbf_req *req)
static void usbf_ep0_fifo_flush(struct usbf_ep *ep0)
static void usbf_epn_send_null(struct usbf_ep *epn)
static void usbf_epn_send_residue(struct usbf_ep *epn, const void *buf,
static int usbf_epn_pio_in(struct usbf_ep *epn, struct usbf_req *req)
static void usbf_epn_enable_in_end_int(struct usbf_ep *epn)
static int usbf_epn_dma_in(struct usbf_ep *epn, struct usbf_req *req)
static void usbf_epn_recv_residue(struct usbf_ep *epn, void *buf,
static int usbf_epn_pio_out(struct usbf_ep *epn, struct usbf_req *req)