Home
last modified time | relevance | path

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

/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 …]
/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 …]