Searched refs:mep (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/scsi/
H A Dmac_esp.c127 struct mac_esp_priv *mep = MAC_ESP_GET_PRIV(esp); mac_esp_wait_for_empty_fifo() local
142 mep->error = 1; mac_esp_wait_for_empty_fifo()
148 struct mac_esp_priv *mep = MAC_ESP_GET_PRIV(esp); mac_esp_wait_for_dreq() local
152 if (mep->pdma_regs == NULL) { mac_esp_wait_for_dreq()
156 if (nubus_readl(mep->pdma_regs) & 0x200) mac_esp_wait_for_dreq()
168 mep->error = 1; mac_esp_wait_for_dreq()
228 : "g" (count1), "a" (mep->pdma_io))
233 struct mac_esp_priv *mep = MAC_ESP_GET_PRIV(esp); mac_esp_send_pdma_cmd() local
235 mep->error = 0; mac_esp_send_pdma_cmd()
297 struct mac_esp_priv *mep = MAC_ESP_GET_PRIV(esp); mac_esp_wait_for_intr() local
309 mep->error = 1; mac_esp_wait_for_intr()
349 struct mac_esp_priv *mep = MAC_ESP_GET_PRIV(esp); mac_esp_send_pio_cmd() local
353 mep->error = 0; mac_esp_send_pio_cmd()
490 struct mac_esp_priv *mep; esp_mac_probe() local
520 mep = kzalloc(sizeof(struct mac_esp_priv), GFP_KERNEL); esp_mac_probe()
521 if (!mep) esp_mac_probe()
523 mep->esp = esp; esp_mac_probe()
524 platform_set_drvdata(dev, mep); esp_mac_probe()
530 mep->pdma_io = esp->regs + MAC_ESP_PDMA_IO_OFFSET; esp_mac_probe()
531 mep->pdma_regs = NULL; esp_mac_probe()
537 mep->pdma_io = esp->regs + MAC_ESP_PDMA_IO_OFFSET; esp_mac_probe()
538 mep->pdma_regs = (void __iomem *)(MAC_ESP_PDMA_REG + esp_mac_probe()
540 nubus_writel(0x1d1, mep->pdma_regs); esp_mac_probe()
548 mep->pdma_io = NULL; esp_mac_probe()
549 mep->pdma_regs = NULL; esp_mac_probe()
554 if (mep->pdma_io == NULL) { esp_mac_probe()
585 kfree(mep); esp_mac_probe()
596 struct mac_esp_priv *mep = platform_get_drvdata(dev); esp_mac_remove() local
597 struct esp *esp = mep->esp; esp_mac_remove()
606 kfree(mep); esp_mac_remove()

Completed in 55 milliseconds