Home
last modified time | relevance | path

Searched defs:prueth (Results 1 – 13 of 13) sorted by relevance

/linux/drivers/net/ethernet/ti/icssg/ !
H A Dicssg_prueth.h193 struct prueth *prueth; member
325 struct prueth { struct
336 struct prueth_emac *emac[PRUETH_NUM_MACS]; argument
344 struct prueth_pdata pdata; argument
349 struct prueth_vlan_tbl *vlan_tbl; argument
356 struct notifier_block prueth_netdevice_nb; argument
357 struct notifier_block prueth_switchdev_nb; argument
358 struct notifier_block prueth_switchdev_bl_nb; argument
359 bool is_switch_mode;
360 bool is_hsr_offload_mode;
[all …]
H A Dicssg_prueth.c61 struct prueth *prueth = emac->prueth; in emac_get_tx_ts() local
148 static int prueth_emac_start(struct prueth *prueth) in prueth_emac_start()
198 static void prueth_emac_stop(struct prueth *prueth) in prueth_emac_stop()
209 static void icssg_enable_fw_offload(struct prueth *prueth) in icssg_enable_fw_offload()
247 static int prueth_emac_common_start(struct prueth *prueth) in prueth_emac_common_start()
314 static int prueth_emac_common_stop(struct prueth *prueth) in prueth_emac_common_stop()
338 struct prueth *prueth = emac->prueth; in emac_adjust_link() local
416 struct prueth *prueth = emac->prueth; in emac_phy_connect() local
449 struct prueth *prueth = emac->prueth; in prueth_iep_gettime() local
898 struct prueth *prueth = emac->prueth; in emac_ndo_open() local
[all …]
H A Dicssg_prueth_sr1.c54 static void icssg_config_sr1(struct prueth *prueth, struct prueth_emac *emac, in icssg_config_sr1()
156 struct prueth *prueth = emac->prueth; in icssg_config_set_speed_sr1() local
177 struct prueth *prueth = emac->prueth; in emac_adjust_link_sr1() local
235 struct prueth *prueth = emac->prueth; in emac_phy_connect() local
411 static int prueth_emac_start(struct prueth *prueth, struct prueth_emac *emac) in prueth_emac_start()
451 struct prueth *prueth = emac->prueth; in prueth_emac_stop() local
484 struct prueth *prueth = emac->prueth; in emac_ndo_open() local
654 struct prueth *prueth = emac->prueth; in emac_ndo_stop() local
722 struct prueth *prueth = emac->prueth; in emac_ndo_set_rx_mode_sr1() local
757 static int prueth_netdev_init(struct prueth *prueth, in prueth_netdev_init()
[all …]
H A Dicssg_config.c115 struct prueth *prueth = emac->prueth; in icssg_config_mii_init_fw_offload() local
142 struct prueth *prueth = emac->prueth; in icssg_config_mii_init() local
168 static void icssg_miig_queues_init(struct prueth *prueth, int slice) in icssg_miig_queues_init()
228 struct prueth *prueth = emac->prueth; in icssg_config_ipg() local
288 struct prueth *prueth = emac->prueth; in prueth_fw_offload_buffer_setup() local
375 struct prueth *prueth = emac->prueth; in prueth_emac_buffer_setup() local
457 void icssg_init_emac_mode(struct prueth *prueth) in icssg_init_emac_mode()
484 void icssg_init_fw_offload_mode(struct prueth *prueth) in icssg_init_fw_offload_mode()
509 int icssg_config(struct prueth *prueth, struct prueth_emac *emac, int slice) in icssg_config()
667 struct prueth *prueth = emac->prueth; in icssg_send_fdb_msg() local
[all …]
H A Dicssg_queues.c16 int icssg_queue_pop(struct prueth *prueth, u8 queue) in icssg_queue_pop()
33 void icssg_queue_push(struct prueth *prueth, int queue, u16 addr) in icssg_queue_push()
42 u32 icssg_queue_level(struct prueth *prueth, int queue) in icssg_queue_level()
H A Dicssg_ethtool.c15 struct prueth *prueth = emac->prueth; in emac_get_drvinfo() local
248 struct prueth *prueth = emac->prueth; in emac_set_coalesce() local
277 struct prueth *prueth = emac->prueth; in emac_set_per_queue_coalesce() local
H A Dicssg_common.c360 struct prueth *prueth = emac->prueth; in prueth_ndev_add_tx_napi() local
1185 struct prueth *prueth = emac->prueth; in icssg_ndo_start_xmit() local
1708 void prueth_netdev_exit(struct prueth *prueth, in prueth_netdev_exit()
1733 int prueth_get_cores(struct prueth *prueth, int slice, bool is_sr1) in prueth_get_cores()
1784 void prueth_put_cores(struct prueth *prueth, int slice) in prueth_put_cores()
1800 struct prueth *prueth = dev_get_drvdata(dev); in prueth_suspend() local
1825 struct prueth *prueth = dev_get_drvdata(dev); in prueth_resume() local
H A Dicssg_stats.c21 struct prueth *prueth = emac->prueth; in emac_update_hardware_stats() local
H A Dicssg_switchdev.c450 int prueth_switchdev_register_notifiers(struct prueth *prueth) in prueth_switchdev_register_notifiers()
473 void prueth_switchdev_unregister_notifiers(struct prueth *prueth) in prueth_switchdev_unregister_notifiers()
/linux/drivers/net/ethernet/ti/icssm/ !
H A Dicssm_prueth.h205 struct prueth *prueth; member
241 struct prueth { struct
250 const struct prueth_private_data *fw_data; argument
251 struct prueth_fw_offsets *fw_offsets; argument
254 struct prueth_emac *emac[PRUETH_NUM_MACS]; argument
260 struct notifier_block prueth_netdevice_nb; argument
261 struct notifier_block prueth_switchdev_nb; argument
262 struct notifier_block prueth_switchdev_bl_nb; argument
272 void icssm_parse_packet_info(struct prueth *prueth, u32 buffer_descriptor, argument
H A Dicssm_prueth.c43 static void icssm_prueth_write_reg(struct prueth *prueth, in icssm_prueth_write_reg()
171 static void icssm_prueth_hostconfig(struct prueth *prueth) in icssm_prueth_hostconfig()
208 static void icssm_prueth_mii_init(struct prueth *prueth) in icssm_prueth_mii_init()
283 static void icssm_prueth_clearmem(struct prueth *prueth, enum prueth_mem region) in icssm_prueth_clearmem()
288 static void icssm_prueth_hostinit(struct prueth *prueth) in icssm_prueth_hostinit()
315 static void icssm_prueth_init_ethernet_mode(struct prueth *prueth) in icssm_prueth_init_ethernet_mode()
322 struct prueth *prueth = emac->prueth; in icssm_prueth_port_enable() local
333 struct prueth *prueth = emac->prueth; in icssm_prueth_emac_config() local
382 struct prueth *prueth = emac->prueth; in icssm_emac_adjust_link() local
513 struct prueth *prueth = emac->prueth; in icssm_prueth_tx_enqueue() local
[all …]
H A Dicssm_prueth_switch.c202 void icssm_prueth_sw_free_fdb_table(struct prueth *prueth) in icssm_prueth_sw_free_fdb_table()
211 void icssm_prueth_sw_fdb_tbl_init(struct prueth *prueth) in icssm_prueth_sw_fdb_tbl_init()
307 icssm_prueth_sw_find_fdb_insert(struct fdb_tbl *fdb, struct prueth *prueth, in icssm_prueth_sw_find_fdb_insert()
378 static void icssm_prueth_sw_fdb_move_range_left(struct prueth *prueth, in icssm_prueth_sw_fdb_move_range_left()
392 static void icssm_prueth_sw_fdb_move_range_right(struct prueth *prueth, in icssm_prueth_sw_fdb_move_range_right()
406 static void icssm_prueth_sw_fdb_update_index_tbl(struct prueth *prueth, in icssm_prueth_sw_fdb_update_index_tbl()
438 icssm_prueth_sw_find_free_mac(struct prueth *prueth, struct fdb_index_tbl_entry in icssm_prueth_sw_find_free_mac()
531 struct prueth *prueth = emac->prueth; in icssm_prueth_sw_insert_fdb_entry() local
635 struct prueth *prueth; in icssm_prueth_sw_delete_fdb_entry() local
704 struct prueth *prueth = emac->prueth; in icssm_prueth_sw_do_purge_fdb() local
[all …]
H A Dicssm_switchdev.c27 void icssm_prueth_sw_set_stp_state(struct prueth *prueth, in icssm_prueth_sw_set_stp_state()
36 u8 icssm_prueth_sw_get_stp_state(struct prueth *prueth, enum prueth_port port) in icssm_prueth_sw_get_stp_state()
51 struct prueth *prueth = emac->prueth; in icssm_prueth_sw_attr_set() local
102 struct prueth *prueth = emac->prueth; in icssm_sw_event_work() local
211 struct prueth *prueth = emac->prueth; in icssm_prueth_switchdev_obj_add() local
236 struct prueth *prueth = emac->prueth; in icssm_prueth_switchdev_obj_del() local
302 int icssm_prueth_sw_register_notifiers(struct prueth *prueth) in icssm_prueth_sw_register_notifiers()
329 void icssm_prueth_sw_unregister_notifiers(struct prueth *prueth) in icssm_prueth_sw_unregister_notifiers()