Lines Matching refs:mac
41 struct mac_device_info *mac = priv->hw;
46 mac->mode = &chain_mode_ops;
50 mac->mode = &ring_mode_ops;
56 struct mac_device_info *mac = priv->hw;
69 mac->desc = &enh_desc_ops;
72 mac->desc = &ndesc_ops;
113 const void *mac;
134 .mac = &dwmac100_ops,
152 .mac = &dwmac1000_ops,
171 .mac = &dwmac4_ops,
191 .mac = &dwmac410_ops,
211 .mac = &dwmac410_ops,
231 .mac = &dwmac510_ops,
252 .mac = &dwxgmac210_ops,
273 .mac = &dwxlgmac2_ops,
290 struct mac_device_info *mac;
320 mac = priv->plat->setup(priv);
323 mac = devm_kzalloc(priv->device, sizeof(*mac), GFP_KERNEL);
326 if (!mac)
346 mac->desc = mac->desc ? : entry->desc;
347 mac->dma = mac->dma ? : entry->dma;
348 mac->mac = mac->mac ? : entry->mac;
349 mac->ptp = mac->ptp ? : entry->hwtimestamp;
350 mac->mode = mac->mode ? : entry->mode;
351 mac->tc = mac->tc ? : entry->tc;
352 mac->mmc = mac->mmc ? : entry->mmc;
353 mac->est = mac->est ? : entry->est;
355 priv->hw = mac;