Lines Matching defs:prueth_emac
106 struct prueth_emac *emac;
136 struct prueth_emac {
247 struct prueth_emac *emac[PRUETH_NUM_MACS];
275 /* get PRUSS SLICE number from prueth_emac */
276 static inline int prueth_emac_slice(struct prueth_emac *emac)
303 void icssg_config_ipg(struct prueth_emac *emac);
304 int icssg_config(struct prueth *prueth, struct prueth_emac *emac,
306 int emac_set_port_state(struct prueth_emac *emac,
308 void icssg_config_set_speed(struct prueth_emac *emac);
309 void icssg_config_half_duplex(struct prueth_emac *emac);
320 void emac_update_hardware_stats(struct prueth_emac *emac);
321 int emac_get_stat_by_name(struct prueth_emac *emac, char *stat_name);
324 void prueth_cleanup_rx_chns(struct prueth_emac *emac,
327 void prueth_cleanup_tx_chns(struct prueth_emac *emac);
328 void prueth_ndev_del_tx_napi(struct prueth_emac *emac, int num);
331 int emac_tx_complete_packets(struct prueth_emac *emac, int chn,
333 int prueth_ndev_add_tx_napi(struct prueth_emac *emac);
334 int prueth_init_tx_chns(struct prueth_emac *emac);
335 int prueth_init_rx_chns(struct prueth_emac *emac,
339 int prueth_dma_rx_push(struct prueth_emac *emac,
342 void emac_rx_timestamp(struct prueth_emac *emac,
346 void prueth_emac_stop(struct prueth_emac *emac);
347 void prueth_cleanup_tx_ts(struct prueth_emac *emac);
349 int prueth_prepare_rx_chan(struct prueth_emac *emac,
352 void prueth_reset_tx_chan(struct prueth_emac *emac, int ch_num,