Lines Matching refs:prueth_emac
121 struct prueth_emac *emac;
177 struct prueth_emac { struct
315 struct prueth_emac *emac[PRUETH_NUM_MACS];
363 static inline int prueth_emac_slice(struct prueth_emac *emac) in prueth_emac_slice()
402 void icssg_config_ipg(struct prueth_emac *emac);
403 int icssg_config(struct prueth *prueth, struct prueth_emac *emac,
405 int icssg_set_port_state(struct prueth_emac *emac,
407 void icssg_config_set_speed(struct prueth_emac *emac);
408 void icssg_config_half_duplex(struct prueth_emac *emac);
417 int icssg_send_fdb_msg(struct prueth_emac *emac, struct mgmt_cmd *cmd,
419 int icssg_fdb_add_del(struct prueth_emac *emac, const unsigned char *addr,
421 int icssg_fdb_lookup(struct prueth_emac *emac, const unsigned char *addr,
423 void icssg_vtbl_modify(struct prueth_emac *emac, u8 vid, u8 port_mask,
425 u16 icssg_get_pvid(struct prueth_emac *emac);
427 int emac_fdb_flow_id_updated(struct prueth_emac *emac);
432 void emac_update_hardware_stats(struct prueth_emac *emac);
433 int emac_get_stat_by_name(struct prueth_emac *emac, char *stat_name);
436 void prueth_cleanup_rx_chns(struct prueth_emac *emac,
439 void prueth_cleanup_tx_chns(struct prueth_emac *emac);
440 void prueth_ndev_del_tx_napi(struct prueth_emac *emac, int num);
443 int emac_tx_complete_packets(struct prueth_emac *emac, int chn,
445 int prueth_ndev_add_tx_napi(struct prueth_emac *emac);
446 int prueth_init_tx_chns(struct prueth_emac *emac);
447 int prueth_init_rx_chns(struct prueth_emac *emac,
451 int prueth_dma_rx_push_mapped(struct prueth_emac *emac,
455 void emac_rx_timestamp(struct prueth_emac *emac,
459 void prueth_cleanup_tx_ts(struct prueth_emac *emac);
461 int prueth_prepare_rx_chan(struct prueth_emac *emac,
464 void prueth_reset_tx_chan(struct prueth_emac *emac, int ch_num,
483 u32 emac_xmit_xdp_frame(struct prueth_emac *emac,