Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/ti/icssg/
H A Dicssg_prueth.h111 struct prueth_emac *emac;
141 struct prueth_emac { struct
272 struct prueth_emac *emac[PRUETH_NUM_MACS];
318 static inline int prueth_emac_slice(struct prueth_emac *emac) 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,
[all …]
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()
71 struct prueth_emac *emac = netdev_priv(ndev); in emac_get_sset_count()
85 struct prueth_emac *emac = netdev_priv(ndev); in emac_get_strings()
106 struct prueth_emac *emac = netdev_priv(ndev); in emac_get_ethtool_stats()
123 struct prueth_emac *emac = netdev_priv(ndev); in emac_get_ts_info()
141 struct prueth_emac *emac = netdev_priv(ndev); in emac_set_channels()
160 struct prueth_emac *emac = netdev_priv(ndev); in emac_get_channels()
190 struct prueth_emac *emac = netdev_priv(ndev); in emac_get_rmon_stats()
[all …]
H A Dicssg_switchdev.c22 struct prueth_emac *emac;
26 static int prueth_switchdev_stp_state_set(struct prueth_emac *emac, in prueth_switchdev_stp_state_set()
53 static int prueth_switchdev_attr_br_flags_set(struct prueth_emac *emac, in prueth_switchdev_attr_br_flags_set()
85 struct prueth_emac *emac = netdev_priv(ndev); in prueth_switchdev_attr_set()
129 struct prueth_emac *emac = switchdev_work->emac; in prueth_switchdev_event_work()
183 struct prueth_emac *emac = netdev_priv(ndev); in prueth_switchdev_event()
230 static int prueth_switchdev_vlan_add(struct prueth_emac *emac, bool untag, bool pvid, in prueth_switchdev_vlan_add()
259 static int prueth_switchdev_vlan_del(struct prueth_emac *emac, u16 vid, in prueth_switchdev_vlan_del()
286 static int prueth_switchdev_vlans_add(struct prueth_emac *emac, in prueth_switchdev_vlans_add()
307 static int prueth_switchdev_vlans_del(struct prueth_emac *emac, in prueth_switchdev_vlans_del()
[all …]
H A Dicssg_prueth.c53 static int emac_get_tx_ts(struct prueth_emac *emac, in emac_get_tx_ts()
73 static void tx_ts_work(struct prueth_emac *emac) in tx_ts_work()
120 struct prueth_emac *emac = dev_id; in prueth_tx_ts_irq()
167 static int prueth_emac_start(struct prueth *prueth, struct prueth_emac *emac) in prueth_emac_start()
226 struct prueth_emac *emac = netdev_priv(ndev); in emac_adjust_link()
292 struct prueth_emac *emac = in emac_rx_timer_callback()
293 container_of(timer, struct prueth_emac, rx_hrtimer); in emac_rx_timer_callback()
300 static int emac_phy_connect(struct prueth_emac *emac) in emac_phy_connect()
334 struct prueth_emac *emac = clockops_data; in prueth_iep_gettime()
371 struct prueth_emac *emac = clockops_data; in prueth_iep_settime()
[all …]
H A Dicssg_config.c110 static void icssg_config_mii_init_fw_offload(struct prueth_emac *emac) in icssg_config_mii_init_fw_offload()
137 static void icssg_config_mii_init(struct prueth_emac *emac) in icssg_config_mii_init()
223 void icssg_config_ipg(struct prueth_emac *emac) in icssg_config_ipg()
253 static void emac_r30_cmd_init(struct prueth_emac *emac) in emac_r30_cmd_init()
264 static int emac_r30_is_done(struct prueth_emac *emac) in emac_r30_is_done()
281 static int prueth_fw_offload_buffer_setup(struct prueth_emac *emac) in prueth_fw_offload_buffer_setup()
341 static int prueth_emac_buffer_setup(struct prueth_emac *emac) in prueth_emac_buffer_setup()
452 int icssg_config(struct prueth *prueth, struct prueth_emac *emac, int slice) in icssg_config()
539 int icssg_set_port_state(struct prueth_emac *emac, in icssg_set_port_state()
573 void icssg_config_half_duplex(struct prueth_emac *emac) in icssg_config_half_duplex()
[all …]
H A Dicssg_common.c42 #define prueth_napi_to_emac(napi) container_of(napi, struct prueth_emac, napi_rx)
44 void prueth_cleanup_rx_chns(struct prueth_emac *emac, in prueth_cleanup_rx_chns()
56 void prueth_cleanup_tx_chns(struct prueth_emac *emac) in prueth_cleanup_tx_chns()
77 void prueth_ndev_del_tx_napi(struct prueth_emac *emac, int num) in prueth_ndev_del_tx_napi()
128 int emac_tx_complete_packets(struct prueth_emac *emac, int chn, in emac_tx_complete_packets()
210 struct prueth_emac *emac = tx_chn->emac; in emac_napi_tx_poll()
243 int prueth_ndev_add_tx_napi(struct prueth_emac *emac) in prueth_ndev_add_tx_napi()
273 int prueth_init_tx_chns(struct prueth_emac *emac) in prueth_init_tx_chns()
354 int prueth_init_rx_chns(struct prueth_emac *emac, in prueth_init_rx_chns()
464 int prueth_dma_rx_push(struct prueth_emac *emac, in prueth_dma_rx_push()
[all …]
H A Dicssg_stats.c20 void emac_update_hardware_stats(struct prueth_emac *emac) in emac_update_hardware_stats()
58 struct prueth_emac *emac = container_of(work, struct prueth_emac, in icssg_stats_work_handler()
67 int emac_get_stat_by_name(struct prueth_emac *emac, char *stat_name) in emac_get_stat_by_name()
H A Dicssg_prueth_sr1.c54 static void icssg_config_sr1(struct prueth *prueth, struct prueth_emac *emac, in icssg_config_sr1()
80 static int emac_send_command_sr1(struct prueth_emac *emac, u32 cmd) in emac_send_command_sr1()
152 static void icssg_config_set_speed_sr1(struct prueth_emac *emac) in icssg_config_set_speed_sr1()
174 struct prueth_emac *emac = netdev_priv(ndev); in emac_adjust_link_sr1()
232 static int emac_phy_connect(struct prueth_emac *emac) in emac_phy_connect()
271 static struct sk_buff *prueth_process_rx_mgm(struct prueth_emac *emac, in prueth_process_rx_mgm()
332 static void prueth_tx_ts_sr1(struct prueth_emac *emac, in prueth_tx_ts_sr1()
364 struct prueth_emac *emac = dev_id; in prueth_rx_mgm_ts_thread_sr1()
379 struct prueth_emac *emac = dev_id; in prueth_rx_mgm_rsp_thread()
413 static int prueth_emac_start(struct prueth *prueth, struct prueth_emac *emac) in prueth_emac_start()
[all …]
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.c45 void icssg_update_rgmii_cfg(struct regmap *miig_rt, struct prueth_emac *emac) in icssg_update_rgmii_cfg()