Lines Matching full:emac

95  * In emac mode there are 2 real ports i.e. 2 mac addrs.
117 struct prueth_emac *emac; member
146 /* data for each emac port */
242 * @emac: private EMAC data structure
279 struct prueth_emac *emac[PRUETH_NUM_MACS]; member
327 static inline int prueth_emac_slice(struct prueth_emac *emac) in prueth_emac_slice() argument
329 switch (emac->port_id) { in prueth_emac_slice()
366 void icssg_config_ipg(struct prueth_emac *emac);
367 int icssg_config(struct prueth *prueth, struct prueth_emac *emac,
369 int icssg_set_port_state(struct prueth_emac *emac,
371 void icssg_config_set_speed(struct prueth_emac *emac);
372 void icssg_config_half_duplex(struct prueth_emac *emac);
381 int icssg_send_fdb_msg(struct prueth_emac *emac, struct mgmt_cmd *cmd,
383 int icssg_fdb_add_del(struct prueth_emac *emac, const unsigned char *addr,
385 int icssg_fdb_lookup(struct prueth_emac *emac, const unsigned char *addr,
387 void icssg_vtbl_modify(struct prueth_emac *emac, u8 vid, u8 port_mask,
389 u16 icssg_get_pvid(struct prueth_emac *emac);
391 int emac_fdb_flow_id_updated(struct prueth_emac *emac);
396 void emac_update_hardware_stats(struct prueth_emac *emac);
397 int emac_get_stat_by_name(struct prueth_emac *emac, char *stat_name);
400 void prueth_cleanup_rx_chns(struct prueth_emac *emac,
403 void prueth_cleanup_tx_chns(struct prueth_emac *emac);
404 void prueth_ndev_del_tx_napi(struct prueth_emac *emac, int num);
407 int emac_tx_complete_packets(struct prueth_emac *emac, int chn,
409 int prueth_ndev_add_tx_napi(struct prueth_emac *emac);
410 int prueth_init_tx_chns(struct prueth_emac *emac);
411 int prueth_init_rx_chns(struct prueth_emac *emac,
415 int prueth_dma_rx_push(struct prueth_emac *emac,
418 void emac_rx_timestamp(struct prueth_emac *emac,
422 void prueth_cleanup_tx_ts(struct prueth_emac *emac);
424 int prueth_prepare_rx_chan(struct prueth_emac *emac,
427 void prueth_reset_tx_chan(struct prueth_emac *emac, int ch_num,