Searched refs:pep (Results 1 – 8 of 8) sorted by relevance
| /linux/drivers/net/ethernet/marvell/ |
| H A D | pxa168_eth.c | 266 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/drivers/usb/gadget/udc/cdns2/ |
| H A D | cdns2-gadget.c | 76 struct cdns2_endpoint *pep) in cdns2_get_dma_pos() argument 80 dma_index = readl(&pdev->adma_regs->ep_traddr) - pep->ring.dma; in cdns2_get_dma_pos() 100 dma_addr_t cdns2_trb_virt_to_dma(struct cdns2_endpoint *pep, in cdns2_trb_virt_to_dma() argument 103 u32 offset = (char *)trb - (char *)pep->ring.trbs; in cdns2_trb_virt_to_dma() 105 return pep->ring.dma + offset; in cdns2_trb_virt_to_dma() 108 static void cdns2_free_tr_segment(struct cdns2_endpoint *pep) in cdns2_free_tr_segment() argument 110 struct cdns2_device *pdev = pep->pdev; in cdns2_free_tr_segment() 111 struct cdns2_ring *ring = &pep->ring; in cdns2_free_tr_segment() 113 if (pep->ring.trbs) { in cdns2_free_tr_segment() 120 static int cdns2_alloc_tr_segment(struct cdns2_endpoint *pep) in cdns2_alloc_tr_segment() argument [all …]
|
| H A D | cdns2-ep0.c | 45 struct cdns2_endpoint *pep = &pdev->eps[0]; in cdns2_ep0_enqueue() local 46 struct cdns2_ring *ring = &pep->ring; in cdns2_ep0_enqueue() 64 trace_cdns2_queue_trb(pep, ring->trbs); in cdns2_ep0_enqueue() 66 if (!pep->dir) in cdns2_ep0_enqueue() 69 cdns2_select_ep(pdev, pep->dir); in cdns2_ep0_enqueue() 72 writel(pep->ring.dma, ®s->ep_traddr); in cdns2_ep0_enqueue() 74 trace_cdns2_doorbell_ep0(pep, readl(®s->ep_traddr)); in cdns2_ep0_enqueue() 92 struct cdns2_endpoint *pep = &pdev->eps[0]; in cdns2_ep0_stall() local 95 preq = cdns2_next_preq(&pep->pending_list); in cdns2_ep0_stall() 99 cdns2_gadget_giveback(pep, preq, -ECONNRESET); in cdns2_ep0_stall() [all …]
|
| H A D | cdns2-debug.h | 98 static inline const char *cdns2_raw_ring(struct cdns2_endpoint *pep, in cdns2_raw_ring() argument 102 struct cdns2_ring *ring = &pep->ring; in cdns2_raw_ring() 108 ret = scnprintf(str, size, "\n\t\tTR for %s:", pep->name); in cdns2_raw_ring() 111 dma = cdns2_trb_virt_to_dma(pep, trb); in cdns2_raw_ring() 117 dma = cdns2_trb_virt_to_dma(pep, trb); in cdns2_raw_ring()
|
| H A D | cdns2-gadget.h | 600 struct cdns2_endpoint *pep; member 691 dma_addr_t cdns2_trb_virt_to_dma(struct cdns2_endpoint *pep, 701 void cdns2_gadget_giveback(struct cdns2_endpoint *pep, 704 void cdns2_init_ep0(struct cdns2_device *pdev, struct cdns2_endpoint *pep); 713 int cdns2_halt_endpoint(struct cdns2_device *pdev, struct cdns2_endpoint *pep,
|
| /linux/drivers/usb/cdns3/ |
| H A D | cdnsp-ep0.c | 21 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 …]
|
| /linux/drivers/scsi/ |
| H A D | am53c974.c | 120 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/net/phonet/ |
| H A D | Makefile | 12 pn_pep-y := pep.o pep-gprs.o
|