[go: nahoru, domu]

Searched refs:usb_ctx (Results 1 - 4 of 4) sorted by relevance

/drivers/staging/ozwpan/
H A Dozusbsvc.c55 struct oz_usb_ctx *usb_ctx; local
66 usb_ctx = kzalloc(sizeof(struct oz_usb_ctx), GFP_ATOMIC);
67 if (usb_ctx == NULL)
69 atomic_set(&usb_ctx->ref_count, 1);
70 usb_ctx->pd = pd;
71 usb_ctx->stopped = 0;
79 pd->app_ctx[OZ_APPID_USB] = usb_ctx;
84 kfree(usb_ctx);
85 usb_ctx = old_ctx;
86 } else if (usb_ctx) {
119 struct oz_usb_ctx *usb_ctx; local
162 struct oz_usb_ctx *usb_ctx = (struct oz_usb_ctx *)hpd; local
174 struct oz_usb_ctx *usb_ctx = (struct oz_usb_ctx *)hpd; local
188 struct oz_usb_ctx *usb_ctx; local
213 struct oz_usb_ctx *usb_ctx = (struct oz_usb_ctx *)hpd; local
235 struct oz_usb_ctx *usb_ctx = (struct oz_usb_ctx *)hpd; local
259 struct oz_usb_ctx *usb_ctx = (struct oz_usb_ctx *)hpd; local
[all...]
H A Dozusbsvc1.c30 struct oz_usb_ctx *usb_ctx, u8 strid, u8 isoc)
42 app_hdr->elt_seq_num = usb_ctx->tx_seq_num++;
43 if (usb_ctx->tx_seq_num == 0)
44 usb_ctx->tx_seq_num = 1;
59 struct oz_usb_ctx *usb_ctx = (struct oz_usb_ctx *)hpd; local
60 struct oz_pd *pd = usb_ctx->pd;
87 return oz_usb_submit_elt(eb, ei, usb_ctx, 0, 0);
95 struct oz_usb_ctx *usb_ctx = (struct oz_usb_ctx *)hpd; local
96 struct oz_pd *pd = usb_ctx->pd;
110 return oz_usb_submit_elt(eb, ei, usb_ctx,
29 oz_usb_submit_elt(struct oz_elt_buf *eb, struct oz_elt_info *ei, struct oz_usb_ctx *usb_ctx, u8 strid, u8 isoc) argument
118 struct oz_usb_ctx *usb_ctx = (struct oz_usb_ctx *)hpd; local
143 struct oz_usb_ctx *usb_ctx = (struct oz_usb_ctx *)hpd; local
169 struct oz_usb_ctx *usb_ctx = (struct oz_usb_ctx *)hpd; local
247 struct oz_usb_ctx *usb_ctx = (struct oz_usb_ctx *)hpd; local
319 oz_usb_handle_ep_data(struct oz_usb_ctx *usb_ctx, struct oz_usb_hdr *usb_hdr, int len) argument
369 struct oz_usb_ctx *usb_ctx; local
439 struct oz_usb_ctx *usb_ctx; local
[all...]
/drivers/usb/host/
H A Dehci-tilegx.c116 if (gxio_usb_host_init(&pdata->usb_ctx, pdata->dev_index, 1) != 0)
131 (ulong) gxio_usb_host_get_reg_start(&pdata->usb_ctx);
132 hcd->rsrc_len = gxio_usb_host_get_reg_len(&pdata->usb_ctx);
133 hcd->regs = gxio_usb_host_get_reg_start(&pdata->usb_ctx);
154 ret = gxio_usb_host_cfg_interrupt(&pdata->usb_ctx,
164 ret = gxio_usb_host_register_client_memory(&pdata->usb_ctx, pte, 0);
183 gxio_usb_host_destroy(&pdata->usb_ctx);
195 gxio_usb_host_destroy(&pdata->usb_ctx);
H A Dohci-tilegx.c110 if (gxio_usb_host_init(&pdata->usb_ctx, pdata->dev_index, 0) != 0)
125 (ulong) gxio_usb_host_get_reg_start(&pdata->usb_ctx);
126 hcd->rsrc_len = gxio_usb_host_get_reg_len(&pdata->usb_ctx);
127 hcd->regs = gxio_usb_host_get_reg_start(&pdata->usb_ctx);
141 ret = gxio_usb_host_cfg_interrupt(&pdata->usb_ctx,
151 ret = gxio_usb_host_register_client_memory(&pdata->usb_ctx, pte, 0);
172 gxio_usb_host_destroy(&pdata->usb_ctx);
184 gxio_usb_host_destroy(&pdata->usb_ctx);

Completed in 66 milliseconds