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 */
201 * @emac: private EMAC data structure
224 struct prueth_emac *emac[PRUETH_NUM_MACS]; member
246 static inline int prueth_emac_slice(struct prueth_emac *emac) in prueth_emac_slice() argument
248 switch (emac->port_id) { in prueth_emac_slice()
280 void icssg_config_ipg(struct prueth_emac *emac);
281 int icssg_config(struct prueth *prueth, struct prueth_emac *emac,
283 int emac_set_port_state(struct prueth_emac *emac,
285 void icssg_config_set_speed(struct prueth_emac *emac);
296 void emac_update_hardware_stats(struct prueth_emac *emac);
297 int emac_get_stat_by_name(struct prueth_emac *emac, char *stat_name);