Searched refs:ep_data (Results 1 - 5 of 5) sorted by relevance
/linux-4.1.27/drivers/usb/c67x00/ |
H A D | c67x00-sched.c | 83 struct c67x00_ep_data *ep_data; member in struct:c67x00_td 93 struct c67x00_ep_data *ep_data; member in struct:c67x00_urb_priv 96 #define td_udev(td) ((td)->ep_data->dev) 248 struct c67x00_ep_data *ep_data; c67x00_ep_data_alloc() local 255 ep_data = hep->hcpriv; c67x00_ep_data_alloc() 256 if (frame_after(c67x00->current_frame, ep_data->next_frame)) c67x00_ep_data_alloc() 257 ep_data->next_frame = c67x00_ep_data_alloc() 263 ep_data = kzalloc(sizeof(*ep_data), GFP_ATOMIC); c67x00_ep_data_alloc() 264 if (!ep_data) c67x00_ep_data_alloc() 267 INIT_LIST_HEAD(&ep_data->queue); c67x00_ep_data_alloc() 268 INIT_LIST_HEAD(&ep_data->node); c67x00_ep_data_alloc() 269 ep_data->hep = hep; c67x00_ep_data_alloc() 273 ep_data->dev = usb_get_dev(urb->dev); c67x00_ep_data_alloc() 274 hep->hcpriv = ep_data; c67x00_ep_data_alloc() 277 ep_data->next_frame = frame_add(c67x00->current_frame, 1); c67x00_ep_data_alloc() 282 if (list_empty(&ep_data->node)) { c67x00_ep_data_alloc() 283 list_add(&ep_data->node, &c67x00->list[type]); c67x00_ep_data_alloc() 290 list_add(&ep_data->node, prev->node.prev); c67x00_ep_data_alloc() 296 return ep_data; c67x00_ep_data_alloc() 301 struct c67x00_ep_data *ep_data = hep->hcpriv; c67x00_ep_data_free() local 303 if (!ep_data) c67x00_ep_data_free() 306 if (!list_empty(&ep_data->queue)) c67x00_ep_data_free() 309 usb_put_dev(ep_data->dev); c67x00_ep_data_free() 310 list_del(&ep_data->queue); c67x00_ep_data_free() 311 list_del(&ep_data->node); c67x00_ep_data_free() 313 kfree(ep_data); c67x00_ep_data_free() 388 urbp->ep_data = c67x00_ep_data_alloc(c67x00, urb); c67x00_urb_enqueue() 390 if (!urbp->ep_data) { c67x00_urb_enqueue() 415 if (list_empty(&urbp->ep_data->queue)) c67x00_urb_enqueue() 416 urb->start_frame = urbp->ep_data->next_frame; c67x00_urb_enqueue() 421 last_urb = list_entry(urbp->ep_data->queue.prev, c67x00_urb_enqueue() 434 list_add_tail(&urbp->hep_node, &urbp->ep_data->queue); c67x00_urb_enqueue() 530 if (urbp->ep_data->dev->speed == USB_SPEED_LOW) { c67x00_claim_frame_bw() 596 td->ep_data = urbp->ep_data; c67x00_create_td() 747 if (frame_after_eq(c67x00->current_frame, urbp->ep_data->next_frame)) { c67x00_add_int_urb() 748 urbp->ep_data->next_frame = c67x00_add_int_urb() 749 frame_add(urbp->ep_data->next_frame, urb->interval); c67x00_add_int_urb() 759 if (frame_after_eq(c67x00->current_frame, urbp->ep_data->next_frame)) { c67x00_add_iso_urb() 781 urbp->ep_data->next_frame = c67x00_add_iso_urb() 782 frame_add(urbp->ep_data->next_frame, urb->interval); c67x00_add_iso_urb() 793 struct c67x00_ep_data *ep_data; c67x00_fill_from_list() local 797 list_for_each_entry(ep_data, &c67x00->list[type], node) { c67x00_fill_from_list() 798 if (!list_empty(&ep_data->queue)) { c67x00_fill_from_list() 801 urb = list_entry(ep_data->queue.next, c67x00_fill_from_list()
|
/linux-4.1.27/drivers/usb/gadget/legacy/ |
H A D | inode.c | 190 struct ep_data { struct 206 static inline void get_ep (struct ep_data *data) get_ep() 211 static void put_ep (struct ep_data *data) put_ep() 274 struct ep_data *epdata = ep->driver_data; epio_complete() 289 get_ready_ep (unsigned f_flags, struct ep_data *epdata, bool is_write) get_ready_ep() 329 ep_io (struct ep_data *epdata, void *buf, unsigned len) ep_io() 375 struct ep_data *data = fd->private_data; ep_release() 396 struct ep_data *data = fd->private_data; ep_ioctl() 430 struct ep_data *epdata; 443 struct ep_data *epdata; ep_aio_cancel() 484 struct ep_data *epdata = priv->epdata; ep_aio_complete() 523 struct ep_data *epdata, ep_aio() 577 struct ep_data *epdata = file->private_data; ep_read_iter() 630 static ssize_t ep_config(struct ep_data *, const char *, size_t); 636 struct ep_data *epdata = file->private_data; ep_write_iter() 721 ep_config (struct ep_data *data, const char *buf, size_t len) ep_config() 812 struct ep_data *data = inode->i_private; ep_open() 1499 struct ep_data *ep; destroy_ep_files() 1504 ep = list_first_entry (&dev->epfiles, struct ep_data, epfiles); destroy_ep_files() 1540 struct ep_data *data; activate_ep_files()
|
/linux-4.1.27/drivers/usb/gadget/udc/ |
H A D | net2272.c | 406 u16 __iomem *ep_data = net2272_reg_addr(ep->dev, EP_DATA); net2272_write_packet() local 423 writew(*bufp++, ep_data); net2272_write_packet() 432 writeb(*buf, ep_data); net2272_write_packet() 514 u16 __iomem *ep_data = net2272_reg_addr(ep->dev, EP_DATA); net2272_read_packet() local 528 (void)readw(ep_data); net2272_read_packet() 538 *bufp++ = readw(ep_data); net2272_read_packet()
|
H A D | net2280.c | 578 writel(tmp, ®s->ep_data); write_fifo() 591 writel(tmp, ®s->ep_data); write_fifo() 706 tmp = readl(®s->ep_data); read_fifo() 713 tmp = readl(®s->ep_data); read_fifo() 2696 writel((__force u32) status, &dev->epregs[0].ep_data); handle_stat0_irqs_superspeed() 2708 writel((__force u32) status, &dev->epregs[0].ep_data); handle_stat0_irqs_superspeed() 3017 writel((__force u32)status, &dev->epregs[0].ep_data); handle_stat0_irqs()
|
/linux-4.1.27/include/linux/usb/ |
H A D | net2280.h | 439 u32 ep_data; member in struct:net2280_ep_regs
|
Completed in 233 milliseconds