Lines Matching defs:emac0
1612 struct prueth_emac *emac0 = prueth->emac[PRUETH_MAC0];
1617 if (netif_running(emac0->ndev))
1618 netif_device_detach(emac0->ndev);
1623 ret = icssg_set_port_state(emac0, ICSSG_EMAC_PORT_DISABLE);
1643 ret = icssg_set_port_state(emac0, ICSSG_EMAC_PORT_FORWARD);
1647 netif_device_attach(emac0->ndev);
1736 struct prueth_emac *emac0;
1739 emac0 = prueth->emac[PRUETH_MAC0];
1749 if (!(emac0->ndev->features &
1756 emac0->port_vlan = prueth->default_vlan;
1770 struct prueth_emac *emac0;
1774 emac0 = prueth->emac[PRUETH_MAC0];
1780 emac0->port_vlan = 0;