Lines Matching full:emac
100 * In emac mode there are 2 real ports i.e. 2 mac addrs.
122 struct prueth_emac *emac; member
177 /* data for each emac port */
281 * @emac: private EMAC data structure
307 * @icssg_emac_firmwares: Firmware names for EMAC mode, indexed per MAC
323 struct prueth_emac *emac[PRUETH_NUM_MACS]; member
376 static inline int prueth_emac_slice(struct prueth_emac *emac) in prueth_emac_slice() argument
378 switch (emac->port_id) { in prueth_emac_slice()
415 void icssg_config_ipg(struct prueth_emac *emac);
416 int icssg_config(struct prueth *prueth, struct prueth_emac *emac,
418 int icssg_set_port_state(struct prueth_emac *emac,
420 void icssg_config_set_speed(struct prueth_emac *emac);
421 void icssg_config_half_duplex(struct prueth_emac *emac);
430 int icssg_send_fdb_msg(struct prueth_emac *emac, struct mgmt_cmd *cmd,
432 int icssg_fdb_add_del(struct prueth_emac *emac, const unsigned char *addr,
434 int icssg_fdb_lookup(struct prueth_emac *emac, const unsigned char *addr,
436 void icssg_vtbl_modify(struct prueth_emac *emac, u8 vid, u8 port_mask,
438 u16 icssg_get_pvid(struct prueth_emac *emac);
440 int emac_fdb_flow_id_updated(struct prueth_emac *emac);
445 void emac_update_hardware_stats(struct prueth_emac *emac);
446 int emac_get_stat_by_name(struct prueth_emac *emac, char *stat_name);
449 void prueth_cleanup_rx_chns(struct prueth_emac *emac,
452 void prueth_cleanup_tx_chns(struct prueth_emac *emac);
453 void prueth_ndev_del_tx_napi(struct prueth_emac *emac, int num);
456 int emac_tx_complete_packets(struct prueth_emac *emac, int chn,
458 int prueth_ndev_add_tx_napi(struct prueth_emac *emac);
459 int prueth_init_tx_chns(struct prueth_emac *emac);
460 int prueth_init_rx_chns(struct prueth_emac *emac,
464 int prueth_dma_rx_push_mapped(struct prueth_emac *emac,
468 void emac_rx_timestamp(struct prueth_emac *emac,
472 void prueth_cleanup_tx_ts(struct prueth_emac *emac);
474 int prueth_prepare_rx_chan(struct prueth_emac *emac,
477 void prueth_reset_tx_chan(struct prueth_emac *emac, int ch_num,
496 u32 emac_xmit_xdp_frame(struct prueth_emac *emac,