Lines Matching refs:mep

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