Lines Matching refs:mac
45 struct mac_device_info *mac = priv->hw;
50 mac->mode = &chain_mode_ops;
54 mac->mode = &ring_mode_ops;
60 struct mac_device_info *mac = priv->hw;
73 mac->desc = &enh_desc_ops;
76 mac->desc = &ndesc_ops;
117 const void *mac;
140 .mac = &dwmac100_ops,
159 .mac = &dwmac1000_ops,
179 .mac = &dwmac4_ops,
202 .mac = &dwmac410_ops,
225 .mac = &dwmac410_ops,
248 .mac = &dwmac510_ops,
272 .mac = &dwxgmac210_ops,
296 .mac = &dwxlgmac2_ops,
315 struct mac_device_info *mac;
345 mac = priv->plat->setup(priv);
348 mac = devm_kzalloc(priv->device, sizeof(*mac), GFP_KERNEL);
351 if (!mac)
371 mac->desc = mac->desc ? : entry->desc;
372 mac->dma = mac->dma ? : entry->dma;
373 mac->mac = mac->mac ? : entry->mac;
374 mac->ptp = mac->ptp ? : entry->hwtimestamp;
375 mac->mode = mac->mode ? : entry->mode;
376 mac->tc = mac->tc ? : entry->tc;
377 mac->mmc = mac->mmc ? : entry->mmc;
378 mac->est = mac->est ? : entry->est;
379 mac->vlan = mac->vlan ? : entry->vlan;
381 priv->hw = mac;