Searched refs:usb_ctx (Results 1 – 5 of 5) sorted by relevance
/linux-4.1.27/drivers/staging/ozwpan/ |
D | ozusbsvc.c | 55 struct oz_usb_ctx *usb_ctx; in oz_usb_start() local 66 usb_ctx = kzalloc(sizeof(struct oz_usb_ctx), GFP_ATOMIC); in oz_usb_start() 67 if (usb_ctx == NULL) in oz_usb_start() 69 atomic_set(&usb_ctx->ref_count, 1); in oz_usb_start() 70 usb_ctx->pd = pd; in oz_usb_start() 71 usb_ctx->stopped = 0; in oz_usb_start() 79 pd->app_ctx[OZ_APPID_USB] = usb_ctx; in oz_usb_start() 84 kfree(usb_ctx); in oz_usb_start() 85 usb_ctx = old_ctx; in oz_usb_start() 86 } else if (usb_ctx) { in oz_usb_start() [all …]
|
D | ozusbsvc1.c | 30 struct oz_usb_ctx *usb_ctx, u8 strid, u8 isoc) in oz_usb_submit_elt() argument 42 app_hdr->elt_seq_num = usb_ctx->tx_seq_num++; in oz_usb_submit_elt() 43 if (usb_ctx->tx_seq_num == 0) in oz_usb_submit_elt() 44 usb_ctx->tx_seq_num = 1; in oz_usb_submit_elt() 59 struct oz_usb_ctx *usb_ctx = hpd; in oz_usb_get_desc_req() local 60 struct oz_pd *pd = usb_ctx->pd; in oz_usb_get_desc_req() 87 return oz_usb_submit_elt(eb, ei, usb_ctx, 0, 0); in oz_usb_get_desc_req() 95 struct oz_usb_ctx *usb_ctx = hpd; in oz_usb_set_config_req() local 96 struct oz_pd *pd = usb_ctx->pd; in oz_usb_set_config_req() 110 return oz_usb_submit_elt(eb, ei, usb_ctx, 0, 0); in oz_usb_set_config_req() [all …]
|
/linux-4.1.27/drivers/usb/host/ |
D | ohci-tilegx.c | 110 if (gxio_usb_host_init(&pdata->usb_ctx, pdata->dev_index, 0) != 0) in ohci_hcd_tilegx_drv_probe() 125 (ulong) gxio_usb_host_get_reg_start(&pdata->usb_ctx); in ohci_hcd_tilegx_drv_probe() 126 hcd->rsrc_len = gxio_usb_host_get_reg_len(&pdata->usb_ctx); in ohci_hcd_tilegx_drv_probe() 127 hcd->regs = gxio_usb_host_get_reg_start(&pdata->usb_ctx); in ohci_hcd_tilegx_drv_probe() 141 ret = gxio_usb_host_cfg_interrupt(&pdata->usb_ctx, in ohci_hcd_tilegx_drv_probe() 151 ret = gxio_usb_host_register_client_memory(&pdata->usb_ctx, pte, 0); in ohci_hcd_tilegx_drv_probe() 172 gxio_usb_host_destroy(&pdata->usb_ctx); in ohci_hcd_tilegx_drv_probe() 184 gxio_usb_host_destroy(&pdata->usb_ctx); in ohci_hcd_tilegx_drv_remove()
|
D | ehci-tilegx.c | 116 if (gxio_usb_host_init(&pdata->usb_ctx, pdata->dev_index, 1) != 0) in ehci_hcd_tilegx_drv_probe() 131 (ulong) gxio_usb_host_get_reg_start(&pdata->usb_ctx); in ehci_hcd_tilegx_drv_probe() 132 hcd->rsrc_len = gxio_usb_host_get_reg_len(&pdata->usb_ctx); in ehci_hcd_tilegx_drv_probe() 133 hcd->regs = gxio_usb_host_get_reg_start(&pdata->usb_ctx); in ehci_hcd_tilegx_drv_probe() 154 ret = gxio_usb_host_cfg_interrupt(&pdata->usb_ctx, in ehci_hcd_tilegx_drv_probe() 164 ret = gxio_usb_host_register_client_memory(&pdata->usb_ctx, pte, 0); in ehci_hcd_tilegx_drv_probe() 183 gxio_usb_host_destroy(&pdata->usb_ctx); in ehci_hcd_tilegx_drv_probe() 195 gxio_usb_host_destroy(&pdata->usb_ctx); in ehci_hcd_tilegx_drv_remove()
|
/linux-4.1.27/include/linux/usb/ |
D | tilegx.h | 28 gxio_usb_host_context_t usb_ctx; member
|