Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/net/ethernet/marvell/
Dpxa168_eth.c266 static int pxa168_init_hw(struct pxa168_eth_private *pep);
273 static inline u32 rdl(struct pxa168_eth_private *pep, int offset) in rdl() argument
275 return readl_relaxed(pep->base + offset); in rdl()
278 static inline void wrl(struct pxa168_eth_private *pep, int offset, u32 data) in wrl() argument
280 writel_relaxed(data, pep->base + offset); in wrl()
283 static void abort_dma(struct pxa168_eth_private *pep) in abort_dma() argument
289 wrl(pep, SDMA_CMD, SDMA_CMD_AR | SDMA_CMD_AT); in abort_dma()
293 while ((rdl(pep, SDMA_CMD) & (SDMA_CMD_AR | SDMA_CMD_AT)) in abort_dma()
300 netdev_err(pep->dev, "%s : DMA Stuck\n", __func__); in abort_dma()
305 struct pxa168_eth_private *pep = netdev_priv(dev); in rxq_refill() local
[all …]
/Linux-v5.15/drivers/usb/cdns3/
Dcdnsp-gadget.c344 int cdnsp_ep_enqueue(struct cdnsp_ep *pep, struct cdnsp_request *preq) in cdnsp_ep_enqueue() argument
346 struct cdnsp_device *pdev = pep->pdev; in cdnsp_ep_enqueue()
350 if (preq->epnum == 0 && !list_empty(&pep->pending_list)) { in cdnsp_ep_enqueue()
358 preq->direction = pep->direction; in cdnsp_ep_enqueue()
359 preq->epnum = pep->number; in cdnsp_ep_enqueue()
362 ret = usb_gadget_map_request_by_dev(pdev->dev, request, pep->direction); in cdnsp_ep_enqueue()
368 list_add_tail(&preq->list, &pep->pending_list); in cdnsp_ep_enqueue()
372 switch (usb_endpoint_type(pep->endpoint.desc)) { in cdnsp_ep_enqueue()
391 pep->direction); in cdnsp_ep_enqueue()
423 int cdnsp_ep_dequeue(struct cdnsp_ep *pep, struct cdnsp_request *preq) in cdnsp_ep_dequeue() argument
[all …]
Dcdnsp-ring.c277 struct cdnsp_ep *pep, in cdnsp_ring_ep_doorbell() argument
281 unsigned int ep_state = pep->ep_state; in cdnsp_ring_ep_doorbell()
292 if (pep->ep_state & EP_HAS_STREAMS) { in cdnsp_ring_ep_doorbell()
293 if (pep->stream_info.drbls_count >= 2) in cdnsp_ring_ep_doorbell()
296 pep->stream_info.drbls_count++; in cdnsp_ring_ep_doorbell()
299 pep->ep_state &= ~EP_STOPPED; in cdnsp_ring_ep_doorbell()
301 if (pep->idx == 0 && pdev->ep0_stage == CDNSP_DATA_STAGE && in cdnsp_ring_ep_doorbell()
303 db_value = DB_VALUE_EP0_OUT(pep->idx, stream_id); in cdnsp_ring_ep_doorbell()
305 db_value = DB_VALUE(pep->idx, stream_id); in cdnsp_ring_ep_doorbell()
307 trace_cdnsp_tr_drbl(pep, stream_id); in cdnsp_ring_ep_doorbell()
[all …]
Dcdnsp-mem.c22 struct cdnsp_ep *pep);
410 void cdnsp_free_endpoint_rings(struct cdnsp_device *pdev, struct cdnsp_ep *pep) in cdnsp_free_endpoint_rings() argument
412 cdnsp_ring_free(pdev, pep->ring); in cdnsp_free_endpoint_rings()
413 pep->ring = NULL; in cdnsp_free_endpoint_rings()
414 cdnsp_free_stream_info(pdev, pep); in cdnsp_free_endpoint_rings()
518 struct cdnsp_ep *pep) in cdnsp_free_stream_ctx() argument
520 dma_pool_free(pdev->device_pool, pep->stream_info.stream_ctx_array, in cdnsp_free_stream_ctx()
521 pep->stream_info.ctx_array_dma); in cdnsp_free_stream_ctx()
526 *cdnsp_alloc_stream_ctx(struct cdnsp_device *pdev, struct cdnsp_ep *pep) in cdnsp_alloc_stream_ctx() argument
529 pep->stream_info.num_stream_ctxs; in cdnsp_alloc_stream_ctx()
[all …]
Dcdnsp-ep0.c21 struct cdnsp_ep *pep; in cdnsp_ep0_stall() local
23 pep = &pdev->eps[0]; in cdnsp_ep0_stall()
24 preq = next_request(&pep->pending_list); in cdnsp_ep0_stall()
27 cdnsp_halt_endpoint(pdev, pep, true); in cdnsp_ep0_stall()
30 cdnsp_gadget_giveback(pep, preq, -ECONNRESET); in cdnsp_ep0_stall()
32 pep->ep_state |= EP0_HALTED_STATUS; in cdnsp_ep0_stall()
132 return cdnsp_ep_enqueue(pdev->ep0_preq.pep, &pdev->ep0_preq); in cdnsp_status_stage()
147 struct cdnsp_ep *pep; in cdnsp_ep0_handle_status() local
173 pep = &pdev->eps[ep_sts]; in cdnsp_ep0_handle_status()
174 ep_sts = GET_EP_CTX_STATE(pep->out_ctx); in cdnsp_ep0_handle_status()
[all …]
Dcdnsp-trace.h38 TP_PROTO(struct cdnsp_ep *pep, u32 stream_id),
39 TP_ARGS(pep, stream_id),
41 __string(name, pep->name)
51 __assign_str(name, pep->name);
52 __entry->state = pep->ep_state;
54 __entry->enabled = pep->ep_state & EP_HAS_STREAMS;
55 __entry->num_streams = pep->stream_info.num_streams;
56 __entry->td_count = pep->stream_info.td_count;
57 __entry->first_prime_det = pep->stream_info.first_prime_det;
58 __entry->drbls_count = pep->stream_info.drbls_count;
[all …]
Dcdnsp-gadget.h1308 struct cdnsp_ep *pep; member
1490 struct cdnsp_ep *pep,
1497 struct cdnsp_ep *pep,
1500 int cdnsp_alloc_streams(struct cdnsp_device *pdev, struct cdnsp_ep *pep);
1501 void cdnsp_free_endpoint_rings(struct cdnsp_device *pdev, struct cdnsp_ep *pep);
1547 struct cdnsp_ep *pep,
1550 struct cdnsp_ep *pep);
1568 void cdnsp_gadget_giveback(struct cdnsp_ep *pep, struct cdnsp_request *preq,
1570 int cdnsp_ep_enqueue(struct cdnsp_ep *pep, struct cdnsp_request *preq);
1571 int cdnsp_ep_dequeue(struct cdnsp_ep *pep, struct cdnsp_request *preq);
[all …]
/Linux-v5.15/drivers/scsi/
Dam53c974.c120 struct pci_esp_priv *pep = pci_esp_get_priv(esp); in pci_esp_irq_pending() local
122 pep->dma_status = pci_esp_read8(esp, ESP_DMA_STATUS); in pci_esp_irq_pending()
123 esp_dma_log("dma intr dreg[%02x]\n", pep->dma_status); in pci_esp_irq_pending()
125 if (pep->dma_status & (ESP_DMA_STAT_ERROR | in pci_esp_irq_pending()
183 struct pci_esp_priv *pep = pci_esp_get_priv(esp); in pci_esp_dma_invalidate() local
188 pep->dma_status = 0; in pci_esp_dma_invalidate()
193 struct pci_esp_priv *pep = pci_esp_get_priv(esp); in pci_esp_dma_error() local
195 if (pep->dma_status & ESP_DMA_STAT_ERROR) { in pci_esp_dma_error()
203 if (pep->dma_status & ESP_DMA_STAT_ABORT) { in pci_esp_dma_error()
205 pep->dma_status = pci_esp_read8(esp, ESP_DMA_CMD); in pci_esp_dma_error()
[all …]
/Linux-v5.15/net/phonet/
DMakefile12 pn_pep-y := pep.o pep-gprs.o
/Linux-v5.15/fs/
Deventpoll.c929 static int ep_alloc(struct eventpoll **pep) in ep_alloc() argument
950 *pep = ep; in ep_alloc()