Home
last modified time | relevance | path

Searched refs:trb_pool (Results 1 – 10 of 10) sorted by relevance

/linux/drivers/usb/cdns3/
A Dcdns3-ep0.c41 priv_ep->trb_pool[0].buffer = cpu_to_le32(TRB_BUFFER(dma_addr)); in cdns3_ep0_run_transfer()
42 priv_ep->trb_pool[0].length = cpu_to_le32(TRB_LEN(length)); in cdns3_ep0_run_transfer()
45 priv_ep->trb_pool[0].control = cpu_to_le32(TRB_CYCLE | TRB_TYPE(TRB_NORMAL)); in cdns3_ep0_run_transfer()
46 priv_ep->trb_pool[1].buffer = cpu_to_le32(TRB_BUFFER(dma_addr)); in cdns3_ep0_run_transfer()
47 priv_ep->trb_pool[1].length = cpu_to_le32(TRB_LEN(0)); in cdns3_ep0_run_transfer()
48 priv_ep->trb_pool[1].control = cpu_to_le32(TRB_CYCLE | TRB_IOC | in cdns3_ep0_run_transfer()
51 priv_ep->trb_pool[0].control = cpu_to_le32(TRB_CYCLE | TRB_IOC | in cdns3_ep0_run_transfer()
53 priv_ep->trb_pool[1].control = 0; in cdns3_ep0_run_transfer()
56 trace_cdns3_prepare_trb(priv_ep, priv_ep->trb_pool); in cdns3_ep0_run_transfer()
576 trace_cdns3_complete_trb(priv_ep, priv_ep->trb_pool); in cdns3_transfer_completed()
[all …]
A Dcdns3-gadget.c198 if (priv_ep->trb_pool) { in cdns3_free_trb_pool()
201 priv_ep->trb_pool = NULL; in cdns3_free_trb_pool()
221 if (!priv_ep->trb_pool) { in cdns3_allocate_trb_pool()
226 if (!priv_ep->trb_pool) in cdns3_allocate_trb_pool()
232 memset(priv_ep->trb_pool, 0, ring_size); in cdns3_allocate_trb_pool()
1010 trb = priv_ep->trb_pool + priv_ep->enqueue; in cdns3_ep_run_stream_transfer()
1149 trb = priv_ep->trb_pool + priv_ep->enqueue; in cdns3_ep_run_transfer()
1261 trb = priv_ep->trb_pool + priv_ep->enqueue; in cdns3_ep_run_transfer()
1308 trb = priv_ep->trb_pool; in cdns3_ep_run_transfer()
1459 trb = &priv_ep->trb_pool[priv_ep->dequeue]; in cdns3_trb_handled()
[all …]
A Dcdns3-debug.h121 trb = &priv_ep->trb_pool[priv_ep->dequeue]; in cdns3_dbg_ring()
129 trb = &priv_ep->trb_pool[priv_ep->enqueue]; in cdns3_dbg_ring()
A Dcdns3-trace.h449 memcpy(__get_dynamic_array(ring), priv_ep->trb_pool,
A Dcdns3-gadget.h1142 struct cdns3_trb *trb_pool; member
/linux/drivers/usb/dwc3/
A Dgadget.c456 if (dep->trb_pool) in dwc3_alloc_trb_pool()
462 if (!dep->trb_pool) { in dwc3_alloc_trb_pool()
476 dep->trb_pool, dep->trb_pool_dma); in dwc3_free_trb_pool()
478 dep->trb_pool = NULL; in dwc3_free_trb_pool()
879 memset(dep->trb_pool, 0, in __dwc3_gadget_ep_enable()
883 trb_st_hw = &dep->trb_pool[0]; in __dwc3_gadget_ep_enable()
904 trb = &dep->trb_pool[0]; in __dwc3_gadget_ep_enable()
1140 return &dep->trb_pool[tmp - 1]; in dwc3_ep_prev_trb()
1310 trb = &dep->trb_pool[dep->trb_enqueue]; in dwc3_prepare_one_trb()
1934 trb = &dep->trb_pool[dep->trb_dequeue]; in dwc3_gadget_ep_skip_trbs()
[all …]
A Ddebugfs.c806 struct dwc3_trb *trb = &dep->trb_pool[i]; in dwc3_trb_ring_show()
A Dcore.h712 struct dwc3_trb *trb_pool; member
/linux/drivers/usb/gadget/udc/
A Dmv_u3d_core.c192 dma_pool_free(u3d->trb_pool, in mv_u3d_done()
291 trb_hw = dma_pool_alloc(u3d->trb_pool, GFP_ATOMIC, dma); in mv_u3d_build_trb_one()
1757 dma_pool_destroy(u3d->trb_pool); in mv_u3d_remove()
1881 u3d->trb_pool = dma_pool_create("u3d_trb", in mv_u3d_probe()
1887 if (!u3d->trb_pool) { in mv_u3d_probe()
1974 dma_pool_destroy(u3d->trb_pool); in mv_u3d_probe()
A Dmv_u3d.h258 struct dma_pool *trb_pool; /* for TRB data structure */ member

Completed in 43 milliseconds