Lines Matching full:emac
82 * In emac mode there are 2 real ports i.e. 2 mac addrs.
104 struct prueth_emac *emac; member
128 /* data for each emac port */
202 * @emac: private EMAC data structure
225 struct prueth_emac *emac[PRUETH_NUM_MACS]; member
247 static inline int prueth_emac_slice(struct prueth_emac *emac) in prueth_emac_slice() argument
249 switch (emac->port_id) { in prueth_emac_slice()
269 void icssg_config_ipg(struct prueth_emac *emac);
270 int icssg_config(struct prueth *prueth, struct prueth_emac *emac,
272 int emac_set_port_state(struct prueth_emac *emac,
274 void icssg_config_set_speed(struct prueth_emac *emac);
275 void icssg_config_half_duplex(struct prueth_emac *emac);
286 void emac_update_hardware_stats(struct prueth_emac *emac);
287 int emac_get_stat_by_name(struct prueth_emac *emac, char *stat_name);