Lines Matching refs:mep
126 struct mac_esp_priv *mep = MAC_ESP_GET_PRIV(esp);
141 mep->error = 1;
147 struct mac_esp_priv *mep = MAC_ESP_GET_PRIV(esp);
151 if (mep->pdma_regs == NULL) {
155 if (nubus_readl(mep->pdma_regs) & 0x200)
167 mep->error = 1;
227 : "g" (count1), "a" (mep->pdma_io))
232 struct mac_esp_priv *mep = MAC_ESP_GET_PRIV(esp);
237 mep->error = 0;
301 struct mac_esp_priv *mep = MAC_ESP_GET_PRIV(esp);
313 mep->error = 1;
353 struct mac_esp_priv *mep = MAC_ESP_GET_PRIV(esp);
359 mep->error = 0;
498 struct mac_esp_priv *mep;
528 mep = kzalloc(sizeof(struct mac_esp_priv), GFP_KERNEL);
529 if (!mep)
531 mep->esp = esp;
532 platform_set_drvdata(dev, mep);
538 mep->pdma_io = esp->regs + MAC_ESP_PDMA_IO_OFFSET;
539 mep->pdma_regs = NULL;
545 mep->pdma_io = esp->regs + MAC_ESP_PDMA_IO_OFFSET;
546 mep->pdma_regs = (void __iomem *)(MAC_ESP_PDMA_REG +
548 nubus_writel(0x1d1, mep->pdma_regs);
556 mep->pdma_io = NULL;
557 mep->pdma_regs = NULL;
562 if (mep->pdma_io == NULL) {
594 kfree(mep);
605 struct mac_esp_priv *mep = platform_get_drvdata(dev);
606 struct esp *esp = mep->esp;
615 kfree(mep);