ep_data
struct c67x00_ep_data *ep_data;
ep_data = hep->hcpriv;
if (frame_after(c67x00->current_frame, ep_data->next_frame))
ep_data->next_frame =
ep_data = kzalloc_obj(*ep_data, GFP_ATOMIC);
if (!ep_data)
INIT_LIST_HEAD(&ep_data->queue);
INIT_LIST_HEAD(&ep_data->node);
ep_data->hep = hep;
ep_data->dev = usb_get_dev(urb->dev);
hep->hcpriv = ep_data;
ep_data->next_frame = frame_add(c67x00->current_frame, 1);
if (list_empty(&ep_data->node)) {
list_add(&ep_data->node, &c67x00->list[type]);
list_add(&ep_data->node, prev->node.prev);
return ep_data;
struct c67x00_ep_data *ep_data = hep->hcpriv;
if (!ep_data)
if (!list_empty(&ep_data->queue))
usb_put_dev(ep_data->dev);
list_del(&ep_data->queue);
list_del(&ep_data->node);
kfree(ep_data);
urbp->ep_data = c67x00_ep_data_alloc(c67x00, urb);
if (!urbp->ep_data) {
if (list_empty(&urbp->ep_data->queue))
urb->start_frame = urbp->ep_data->next_frame;
last_urb = list_entry(urbp->ep_data->queue.prev,
list_add_tail(&urbp->hep_node, &urbp->ep_data->queue);
if (urbp->ep_data->dev->speed == USB_SPEED_LOW) {
td->ep_data = urbp->ep_data;
struct c67x00_ep_data *ep_data;
if (frame_after_eq(c67x00->current_frame, urbp->ep_data->next_frame)) {
urbp->ep_data->next_frame =
frame_add(urbp->ep_data->next_frame, urb->interval);
if (frame_after_eq(c67x00->current_frame, urbp->ep_data->next_frame)) {
urbp->ep_data->next_frame =
frame_add(urbp->ep_data->next_frame, urb->interval);
struct c67x00_ep_data *ep_data;
list_for_each_entry(ep_data, &c67x00->list[type], node) {
if (!list_empty(&ep_data->queue)) {
urb = list_entry(ep_data->queue.next,
struct c67x00_ep_data *ep_data;
#define td_udev(td) ((td)->ep_data->dev)
struct ep_data *ep;
ep = list_first_entry (&dev->epfiles, struct ep_data, epfiles);
struct ep_data *data;
static inline void get_ep (struct ep_data *data)
static void put_ep (struct ep_data *data)
struct ep_data *epdata = ep->driver_data;
get_ready_ep (unsigned f_flags, struct ep_data *epdata, bool is_write)
ep_io (struct ep_data *epdata, void *buf, unsigned len)
struct ep_data *data = fd->private_data;
struct ep_data *data = fd->private_data;
struct ep_data *epdata;
struct ep_data *epdata;
struct ep_data *epdata = priv->epdata;
struct ep_data *epdata,
struct ep_data *epdata = file->private_data;
static ssize_t ep_config(struct ep_data *, const char *, size_t);
struct ep_data *epdata = file->private_data;
ep_config (struct ep_data *data, const char *buf, size_t len)
struct ep_data *data = inode->i_private;
writel((__force u32) status, &dev->epregs[0].ep_data);
writel((__force u32) status, &dev->epregs[0].ep_data);
writel((__force u32)status, &dev->epregs[0].ep_data);
writel(tmp, ®s->ep_data);
writel(tmp, ®s->ep_data);
tmp = readl(®s->ep_data);
tmp = readl(®s->ep_data);
u32 ep_data;