Home
last modified time | relevance | path

Searched refs:prueth_emac (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/drivers/net/ethernet/ti/icssg/
H A Dicssg_prueth.h104 struct prueth_emac *emac;
129 struct prueth_emac { struct
224 struct prueth_emac *emac[PRUETH_NUM_MACS];
246 static inline int prueth_emac_slice(struct prueth_emac *emac) in prueth_emac_slice()
280 void icssg_config_ipg(struct prueth_emac *emac);
281 int icssg_config(struct prueth *prueth, struct prueth_emac *emac,
283 int emac_set_port_state(struct prueth_emac *emac,
285 void icssg_config_set_speed(struct prueth_emac *emac);
296 void emac_update_hardware_stats(struct prueth_emac *emac);
297 int emac_get_stat_by_name(struct prueth_emac *emac, char *stat_name);
H A Dicssg_ethtool.c14 struct prueth_emac *emac = netdev_priv(ndev); in emac_get_drvinfo()
24 struct prueth_emac *emac = netdev_priv(ndev); in emac_get_msglevel()
31 struct prueth_emac *emac = netdev_priv(ndev); in emac_set_msglevel()
102 struct prueth_emac *emac = netdev_priv(ndev); in emac_get_ethtool_stats()
115 struct prueth_emac *emac = netdev_priv(ndev); in emac_get_ts_info()
135 struct prueth_emac *emac = netdev_priv(ndev); in emac_set_channels()
151 struct prueth_emac *emac = netdev_priv(ndev); in emac_get_channels()
172 struct prueth_emac *emac = netdev_priv(ndev); in emac_get_rmon_stats()
H A Dicssg_stats.c19 void emac_update_hardware_stats(struct prueth_emac *emac) in emac_update_hardware_stats()
47 struct prueth_emac *emac = container_of(work, struct prueth_emac, in emac_stats_work_handler()
55 int emac_get_stat_by_name(struct prueth_emac *emac, char *stat_name) in emac_get_stat_by_name()
H A Dicssg_prueth.c55 #define prueth_napi_to_emac(napi) container_of(napi, struct prueth_emac, napi_rx)
62 static void prueth_cleanup_rx_chns(struct prueth_emac *emac, in prueth_cleanup_rx_chns()
73 static void prueth_cleanup_tx_chns(struct prueth_emac *emac) in prueth_cleanup_tx_chns()
93 static void prueth_ndev_del_tx_napi(struct prueth_emac *emac, int num) in prueth_ndev_del_tx_napi()
142 static int emac_tx_complete_packets(struct prueth_emac *emac, int chn, in emac_tx_complete_packets()
208 struct prueth_emac *emac = tx_chn->emac; in emac_napi_tx_poll()
232 static int prueth_ndev_add_tx_napi(struct prueth_emac *emac) in prueth_ndev_add_tx_napi()
258 static int prueth_init_tx_chns(struct prueth_emac *emac) in prueth_init_tx_chns()
338 static int prueth_init_rx_chns(struct prueth_emac *emac, in prueth_init_rx_chns()
442 static int prueth_dma_rx_push(struct prueth_emac *emac, in prueth_dma_rx_push()
[all …]
H A Dicssg_config.c108 static void icssg_config_mii_init(struct prueth_emac *emac) in icssg_config_mii_init()
201 void icssg_config_ipg(struct prueth_emac *emac) in icssg_config_ipg()
224 static void emac_r30_cmd_init(struct prueth_emac *emac) in emac_r30_cmd_init()
235 static int emac_r30_is_done(struct prueth_emac *emac) in emac_r30_is_done()
252 static int prueth_emac_buffer_setup(struct prueth_emac *emac) in prueth_emac_buffer_setup()
328 int icssg_config(struct prueth *prueth, struct prueth_emac *emac, int slice) in icssg_config()
403 int emac_set_port_state(struct prueth_emac *emac, in emac_set_port_state()
436 void icssg_config_set_speed(struct prueth_emac *emac) in icssg_config_set_speed()
H A Dicssg_mii_rt.h141 struct prueth_emac;
145 void icssg_update_rgmii_cfg(struct regmap *miig_rt, struct prueth_emac *emac);
H A Dicssg_mii_cfg.c44 void icssg_update_rgmii_cfg(struct regmap *miig_rt, struct prueth_emac *emac) in icssg_update_rgmii_cfg()