Lines Matching defs:mep
115 struct mac_esp_priv *mep = MAC_ESP_GET_PRIV(esp);
119 if (mep->pdma_regs == NULL) {
123 if (nubus_readl(mep->pdma_regs) & 0x200)
195 : "g" (count1), "a" (mep->pdma_io))
200 struct mac_esp_priv *mep = MAC_ESP_GET_PRIV(esp);
296 struct mac_esp_priv *mep;
326 mep = kzalloc(sizeof(struct mac_esp_priv), GFP_KERNEL);
327 if (!mep)
329 mep->esp = esp;
330 platform_set_drvdata(dev, mep);
336 mep->pdma_io = esp->regs + MAC_ESP_PDMA_IO_OFFSET;
337 mep->pdma_regs = NULL;
343 mep->pdma_io = esp->regs + MAC_ESP_PDMA_IO_OFFSET;
344 mep->pdma_regs = (void __iomem *)(MAC_ESP_PDMA_REG +
346 nubus_writel(0x1d1, mep->pdma_regs);
354 mep->pdma_io = NULL;
355 mep->pdma_regs = NULL;
362 if (mep->pdma_io == NULL) {
401 kfree(mep);
412 struct mac_esp_priv *mep = platform_get_drvdata(dev);
413 struct esp *esp = mep->esp;
426 kfree(mep);