Lines Matching refs:emac
111 struct prueth_emac *emac; member
272 struct prueth_emac *emac[PRUETH_NUM_MACS]; member
318 static inline int prueth_emac_slice(struct prueth_emac *emac) in prueth_emac_slice() argument
320 switch (emac->port_id) { in prueth_emac_slice()
357 void icssg_config_ipg(struct prueth_emac *emac);
358 int icssg_config(struct prueth *prueth, struct prueth_emac *emac,
360 int icssg_set_port_state(struct prueth_emac *emac,
362 void icssg_config_set_speed(struct prueth_emac *emac);
363 void icssg_config_half_duplex(struct prueth_emac *emac);
370 int icssg_send_fdb_msg(struct prueth_emac *emac, struct mgmt_cmd *cmd,
372 int icssg_fdb_add_del(struct prueth_emac *emac, const unsigned char *addr,
374 int icssg_fdb_lookup(struct prueth_emac *emac, const unsigned char *addr,
376 void icssg_vtbl_modify(struct prueth_emac *emac, u8 vid, u8 port_mask,
378 u16 icssg_get_pvid(struct prueth_emac *emac);
384 void emac_update_hardware_stats(struct prueth_emac *emac);
385 int emac_get_stat_by_name(struct prueth_emac *emac, char *stat_name);
388 void prueth_cleanup_rx_chns(struct prueth_emac *emac,
391 void prueth_cleanup_tx_chns(struct prueth_emac *emac);
392 void prueth_ndev_del_tx_napi(struct prueth_emac *emac, int num);
395 int emac_tx_complete_packets(struct prueth_emac *emac, int chn,
397 int prueth_ndev_add_tx_napi(struct prueth_emac *emac);
398 int prueth_init_tx_chns(struct prueth_emac *emac);
399 int prueth_init_rx_chns(struct prueth_emac *emac,
403 int prueth_dma_rx_push(struct prueth_emac *emac,
406 void emac_rx_timestamp(struct prueth_emac *emac,
410 void prueth_emac_stop(struct prueth_emac *emac);
411 void prueth_cleanup_tx_ts(struct prueth_emac *emac);
413 int prueth_prepare_rx_chan(struct prueth_emac *emac,
416 void prueth_reset_tx_chan(struct prueth_emac *emac, int ch_num,