pxa_ep
static int write_ep0_fifo(struct pxa_ep *ep, struct pxa27x_request *req)
struct pxa_ep *ep;
ep = udc_usb_ep->pxa_ep;
struct pxa_ep *ep;
ep = udc_usb_ep->pxa_ep;
struct pxa_ep *ep;
ep = udc_usb_ep->pxa_ep;
struct pxa_ep *ep;
ep = udc_usb_ep->pxa_ep;
struct pxa_ep *ep;
ep = udc_usb_ep->pxa_ep;
struct pxa_ep *ep;
if (udc_usb_ep->pxa_ep) {
ep = udc_usb_ep->pxa_ep;
udc_usb_ep->pxa_ep = ep;
struct pxa_ep *ep;
ep = udc_usb_ep->pxa_ep;
struct pxa_ep *ep;
udc_usb_ep->pxa_ep = NULL;
ep = &udc->pxa_ep[i];
struct pxa_ep *ep;
dev->udc_usb_ep[0].pxa_ep = &dev->pxa_ep[0];
ep = &dev->pxa_ep[i];
ep_write_UDCCSR(&udc->pxa_ep[0], UDCCSR0_ACM);
struct pxa_ep *ep;
pio_irq_enable(&udc->pxa_ep[0]);
ep = &udc->pxa_ep[0];
struct pxa_ep *ep = &udc->pxa_ep[0];
ep = &udc->pxa_ep[i];
struct pxa_ep *ep = &udc->pxa_ep[0];
static void handle_ep(struct pxa_ep *ep)
ep_write_UDCCSR(&udc->pxa_ep[0], UDCCSR0_AREN);
ep_write_UDCCSR(&udc->pxa_ep[0], UDCCSR0_AREN);
struct pxa_ep *ep;
udc->pxa_ep[0].stats.irqs++;
WARN_ON(i >= ARRAY_SIZE(udc->pxa_ep));
if (i < ARRAY_SIZE(udc->pxa_ep)) {
ep = &udc->pxa_ep[i];
WARN_ON(i >= ARRAY_SIZE(udc->pxa_ep));
if (i < ARRAY_SIZE(udc->pxa_ep)) {
ep = &udc->pxa_ep[i];
struct pxa_ep *ep = &udc->pxa_ep[0];
.pxa_ep = {
static int is_match_usb_pxa(struct udc_usb_ep *udc_usb_ep, struct pxa_ep *ep,
struct pxa_ep *ep;
ep = &udc->pxa_ep[0];
struct pxa_ep *ep;
ep = &udc->pxa_ep[0];
static struct pxa_ep *find_pxa_ep(struct pxa_udc *udc,
struct pxa_ep *ep;
return &udc->pxa_ep[0];
ep = &udc->pxa_ep[i];
if (udc_usb_ep->pxa_ep)
udc_usb_ep->pxa_ep = find_pxa_ep(udc, udc_usb_ep);
static void pio_irq_enable(struct pxa_ep *ep)
static void pio_irq_disable(struct pxa_ep *ep)
static inline void ep_write_UDCCSR(struct pxa_ep *ep, int mask)
static int ep_count_bytes_remain(struct pxa_ep *ep)
static int ep_is_empty(struct pxa_ep *ep)
static int ep_is_full(struct pxa_ep *ep)
static int epout_has_pkt(struct pxa_ep *ep)
struct pxa_ep *ep = &udc->pxa_ep[0];
static void inc_ep_stats_reqs(struct pxa_ep *ep, int is_in)
static void inc_ep_stats_bytes(struct pxa_ep *ep, int count, int is_in)
static void pxa_ep_setup(struct pxa_ep *ep)
pxa_ep_setup(&dev->pxa_ep[i]);
static void ep_add_request(struct pxa_ep *ep, struct pxa27x_request *req)
static void ep_del_request(struct pxa_ep *ep, struct pxa27x_request *req)
static void req_done(struct pxa_ep *ep, struct pxa27x_request *req, int status,
static void ep_end_out_req(struct pxa_ep *ep, struct pxa27x_request *req,
static void ep0_end_out_req(struct pxa_ep *ep, struct pxa27x_request *req,
static void ep_end_in_req(struct pxa_ep *ep, struct pxa27x_request *req,
static void ep0_end_in_req(struct pxa_ep *ep, struct pxa27x_request *req,
static void nuke(struct pxa_ep *ep, int status)
static void handle_ep(struct pxa_ep *ep);
static int read_packet(struct pxa_ep *ep, struct pxa27x_request *req)
static int write_packet(struct pxa_ep *ep, struct pxa27x_request *req,
static int read_fifo(struct pxa_ep *ep, struct pxa27x_request *req)
static int write_fifo(struct pxa_ep *ep, struct pxa27x_request *req)
static int read_ep0_fifo(struct pxa_ep *ep, struct pxa27x_request *req)
struct pxa_ep *pxa_ep;
struct pxa_ep pxa_ep[NR_PXA_ENDPOINTS];