/linux-6.3-rc2/drivers/net/ethernet/microchip/lan966x/ |
A D | lan966x_vlan.c | 10 static int lan966x_vlan_get_status(struct lan966x *lan966x) in lan966x_vlan_get_status() 15 static int lan966x_vlan_wait_for_completion(struct lan966x *lan966x) in lan966x_vlan_wait_for_completion() 26 static void lan966x_vlan_set_mask(struct lan966x *lan966x, u16 vid) in lan966x_vlan_set_mask() 56 struct lan966x *lan966x = port->lan966x; in lan966x_vlan_port_add_vlan_mask() local 65 struct lan966x *lan966x = port->lan966x; in lan966x_vlan_port_del_vlan_mask() local 106 struct lan966x *lan966x = port->lan966x; in lan966x_vlan_port_get_pvid() local 117 struct lan966x *lan966x = port->lan966x; in lan966x_vlan_port_set_vid() local 154 struct lan966x *lan966x = port->lan966x; in lan966x_vlan_port_apply() local 218 struct lan966x *lan966x = port->lan966x; in lan966x_vlan_port_add_vlan() local 238 struct lan966x *lan966x = port->lan966x; in lan966x_vlan_port_del_vlan() local [all …]
|
A D | lan966x_fdma.c | 70 struct lan966x *lan966x = rx->lan966x; in lan966x_fdma_rx_alloc_page_pool() local 105 struct lan966x *lan966x = rx->lan966x; in lan966x_fdma_rx_alloc() local 157 struct lan966x *lan966x = rx->lan966x; in lan966x_fdma_rx_free() local 168 struct lan966x *lan966x = rx->lan966x; in lan966x_fdma_rx_start() local 206 struct lan966x *lan966x = rx->lan966x; in lan966x_fdma_rx_disable() local 225 struct lan966x *lan966x = rx->lan966x; in lan966x_fdma_rx_reload() local 241 struct lan966x *lan966x = tx->lan966x; in lan966x_fdma_tx_alloc() local 281 struct lan966x *lan966x = tx->lan966x; in lan966x_fdma_tx_free() local 293 struct lan966x *lan966x = tx->lan966x; in lan966x_fdma_tx_activate() local 331 struct lan966x *lan966x = tx->lan966x; in lan966x_fdma_tx_disable() local [all …]
|
A D | lan966x_main.h | 162 struct lan966x *lan966x; member 217 struct lan966x *lan966x; member 258 struct lan966x { struct 262 struct lan966x_port **ports; argument 283 const struct lan966x_stat_layout *stats_layout; argument 284 u32 num_stats; 309 struct lan966x_phc phc[LAN966X_PHC_COUNT]; argument 318 struct lan966x_rx rx; argument 319 struct lan966x_tx tx; argument 323 struct lan966x_port *mirror_monitor; argument [all …]
|
A D | lan966x_fdb.c | 12 struct lan966x *lan966x; member 24 lan966x_fdb_find_entry(struct lan966x *lan966x, in lan966x_fdb_find_entry() 38 static void lan966x_fdb_add_entry(struct lan966x *lan966x, in lan966x_fdb_add_entry() 59 static bool lan966x_fdb_del_entry(struct lan966x *lan966x, in lan966x_fdb_del_entry() 115 int lan966x_fdb_init(struct lan966x *lan966x) in lan966x_fdb_init() 125 void lan966x_fdb_deinit(struct lan966x *lan966x) in lan966x_fdb_deinit() 131 void lan966x_fdb_flush_workqueue(struct lan966x *lan966x) in lan966x_fdb_flush_workqueue() 140 struct lan966x *lan966x; in lan966x_fdb_port_event_work() local 165 struct lan966x *lan966x; in lan966x_fdb_bridge_event_work() local 206 struct lan966x *lan966x; in lan966x_fdb_lag_event_work() local [all …]
|
A D | lan966x_mac.c | 35 static int lan966x_mac_get_status(struct lan966x *lan966x) in lan966x_mac_get_status() 40 static int lan966x_mac_wait_for_completion(struct lan966x *lan966x) in lan966x_mac_wait_for_completion() 52 static void lan966x_mac_select(struct lan966x *lan966x, in lan966x_mac_select() 113 int lan966x_mac_ip_learn(struct lan966x *lan966x, in lan966x_mac_ip_learn() 124 int lan966x_mac_learn(struct lan966x *lan966x, int port, in lan966x_mac_learn() 144 static int lan966x_mac_forget_locked(struct lan966x *lan966x, in lan966x_mac_forget_locked() 161 int lan966x_mac_forget(struct lan966x *lan966x, in lan966x_mac_forget() 185 void lan966x_mac_set_ageing(struct lan966x *lan966x, in lan966x_mac_set_ageing() 193 void lan966x_mac_init(struct lan966x *lan966x) in lan966x_mac_init() 240 static int lan966x_mac_lookup(struct lan966x *lan966x, in lan966x_mac_lookup() [all …]
|
A D | lan966x_mdb.c | 23 void lan966x_mdb_init(struct lan966x *lan966x) in lan966x_mdb_init() 49 void lan966x_mdb_deinit(struct lan966x *lan966x) in lan966x_mdb_deinit() 56 lan966x_mdb_entry_get(struct lan966x *lan966x, in lan966x_mdb_entry_get() 72 lan966x_mdb_entry_add(struct lan966x *lan966x, in lan966x_mdb_entry_add() 110 struct lan966x *lan966x = port->lan966x; in lan966x_mdb_ip_add() local 145 struct lan966x *lan966x = port->lan966x; in lan966x_mdb_ip_del() local 201 lan966x_pgid_entry_get(struct lan966x *lan966x, in lan966x_pgid_entry_get() 253 struct lan966x *lan966x = port->lan966x; in lan966x_mdb_l2_add() local 302 struct lan966x *lan966x = port->lan966x; in lan966x_mdb_l2_del() local 508 void lan966x_mdb_clear_entries(struct lan966x *lan966x) in lan966x_mdb_clear_entries() [all …]
|
A D | lan966x_main.c | 68 struct lan966x *lan966x) in lan966x_create_targets() 110 struct lan966x *lan966x = port->lan966x; in lan966x_port_unique_address() local 128 struct lan966x *lan966x = port->lan966x; in lan966x_port_set_mac_address() local 172 struct lan966x *lan966x = port->lan966x; in lan966x_port_open() local 230 struct lan966x *lan966x = port->lan966x; in lan966x_port_ifh_xmit() local 354 struct lan966x *lan966x = port->lan966x; in lan966x_port_xmit() local 388 struct lan966x *lan966x = port->lan966x; in lan966x_port_change_mtu() local 412 struct lan966x *lan966x = port->lan966x; in lan966x_mc_unsync() local 605 struct lan966x *lan966x = args; in lan966x_xtr_irq_handler() local 699 struct lan966x *lan966x = args; in lan966x_ana_irq_handler() local [all …]
|
A D | lan966x_lag.c | 7 static void lan966x_lag_set_aggr_pgids(struct lan966x *lan966x) in lan966x_lag_set_aggr_pgids() 88 static void lan966x_lag_set_port_ids(struct lan966x *lan966x) in lan966x_lag_set_port_ids() 112 static void lan966x_lag_update_ids(struct lan966x *lan966x) in lan966x_lag_update_ids() 124 struct lan966x *lan966x = port->lan966x; in lan966x_lag_port_join() local 163 struct lan966x *lan966x = port->lan966x; in lan966x_lag_port_leave() local 184 static bool lan966x_lag_port_check_hash_types(struct lan966x *lan966x, in lan966x_lag_port_check_hash_types() 206 struct lan966x *lan966x = port->lan966x; in lan966x_lag_port_prechangeupper() local 264 struct lan966x *lan966x = port->lan966x; in lan966x_lag_port_changelowerstate() local 331 struct lan966x *lan966x = port->lan966x; in lan966x_lag_first_port() local 344 u32 lan966x_lag_get_mask(struct lan966x *lan966x, struct net_device *bond) in lan966x_lag_get_mask()
|
A D | lan966x_ptp.c | 57 struct lan966x *lan966x = port->lan966x; in lan966x_ptp_add_trap() local 103 struct lan966x *lan966x = port->lan966x; in lan966x_ptp_del_trap() local 266 struct lan966x *lan966x = port->lan966x; in lan966x_ptp_hwtstamp_set() local 321 struct lan966x *lan966x = port->lan966x; in lan966x_ptp_hwtstamp_get() local 379 struct lan966x *lan966x = port->lan966x; in lan966x_ptp_txtstamp_request() local 459 struct lan966x *lan966x = args; in lan966x_ptp_irq_handler() local 545 struct lan966x *lan966x = args; in lan966x_ptp_ext_irq_handler() local 603 struct lan966x *lan966x = phc->lan966x; in lan966x_ptp_adjfine() local 651 struct lan966x *lan966x = phc->lan966x; in lan966x_ptp_settime64() local 689 struct lan966x *lan966x = phc->lan966x; in lan966x_ptp_gettime64() local [all …]
|
A D | lan966x_taprio.c | 48 struct lan966x *lan966x = port->lan966x; in lan966x_taprio_list_state_get() local 58 struct lan966x *lan966x = port->lan966x; in lan966x_taprio_list_index_state_get() local 70 struct lan966x *lan966x = port->lan966x; in lan966x_taprio_list_state_set() local 80 struct lan966x *lan966x = port->lan966x; in lan966x_taprio_list_shutdown() local 271 struct lan966x *lan966x = port->lan966x; in lan966x_taprio_gcl_free_get() local 312 struct lan966x *lan966x = port->lan966x; in lan966x_taprio_gcl_setup_entry() local 332 struct lan966x *lan966x = port->lan966x; in lan966x_taprio_gcl_setup() local 414 struct lan966x *lan966x = port->lan966x; in lan966x_taprio_speed_set() local 444 struct lan966x *lan966x = port->lan966x; in lan966x_taprio_add() local 493 void lan966x_taprio_init(struct lan966x *lan966x) in lan966x_taprio_init() [all …]
|
A D | lan966x_vcap_impl.c | 34 struct lan966x *lan966x; member 54 static void __lan966x_vcap_range_init(struct lan966x *lan966x, in __lan966x_vcap_range_init() 90 struct lan966x *lan966x = port->lan966x; in lan966x_vcap_is2_get_port_keysets() local 241 struct lan966x *lan966x = port->lan966x; in lan966x_vcap_cache_write() local 279 struct lan966x *lan966x = port->lan966x; in lan966x_vcap_cache_read() local 314 struct lan966x *lan966x = port->lan966x; in lan966x_vcap_range_init() local 326 struct lan966x *lan966x = port->lan966x; in lan966x_vcap_update() local 352 struct lan966x *lan966x = port->lan966x; in lan966x_vcap_move() local 446 static void lan966x_vcap_block_init(struct lan966x *lan966x, in lan966x_vcap_block_init() 471 int lan966x_vcap_init(struct lan966x *lan966x) in lan966x_vcap_init() [all …]
|
A D | lan966x_port.c | 27 struct lan966x *lan966x = port->lan966x; in lan966x_port_link_down() local 147 struct lan966x *lan966x = port->lan966x; in lan966x_port_link_up() local 289 struct lan966x *lan966x = port->lan966x; in lan966x_port_status_get() local 333 struct lan966x *lan966x = port->lan966x; in lan966x_port_pcs_set() local 400 struct lan966x *lan966x = port->lan966x; in lan966x_port_init() local
|
A D | lan966x_switchdev.c | 13 struct lan966x *lan966x = port->lan966x; in lan966x_port_set_mcast_ip_flood() local 133 void lan966x_update_fwd_mask(struct lan966x *lan966x) in lan966x_update_fwd_mask() 158 struct lan966x *lan966x = port->lan966x; in lan966x_port_stp_state_set() local 188 struct lan966x *lan966x = port->lan966x; in lan966x_port_mc_set() local 252 struct lan966x *lan966x = port->lan966x; in lan966x_port_bridge_join() local 285 struct lan966x *lan966x = port->lan966x; in lan966x_port_bridge_leave() local 362 struct lan966x *lan966x = NULL; in lan966x_foreign_bridging_check() local 491 struct lan966x *lan966x = port->lan966x; in lan966x_foreign_dev_check() local 535 struct lan966x *lan966x = port->lan966x; in lan966x_handle_port_vlan_add() local 577 struct lan966x *lan966x = port->lan966x; in lan966x_handle_port_vlan_del() local
|
A D | lan966x_xdp.c | 12 struct lan966x *lan966x = port->lan966x; in lan966x_xdp_setup() local 78 struct lan966x *lan966x = port->lan966x; in lan966x_xdp_run() local 115 bool lan966x_xdp_present(struct lan966x *lan966x) in lan966x_xdp_present() 130 struct lan966x *lan966x = port->lan966x; in lan966x_xdp_port_init() local
|
A D | lan966x_police.c | 22 struct lan966x *lan966x = port->lan966x; in lan966x_police_add() local 55 struct lan966x *lan966x = port->lan966x; in lan966x_police_del() local 142 struct lan966x *lan966x = port->lan966x; in lan966x_police_port_add() local 188 struct lan966x *lan966x = port->lan966x; in lan966x_police_port_del() local
|
A D | lan966x_ethtool.c | 293 static void lan966x_stats_update(struct lan966x *lan966x) in lan966x_stats_update() 319 struct lan966x *lan966x = port->lan966x; in lan966x_get_sset_count() local 330 struct lan966x *lan966x = port->lan966x; in lan966x_get_strings() local 345 struct lan966x *lan966x = port->lan966x; in lan966x_get_ethtool_stats() local 361 struct lan966x *lan966x = port->lan966x; in lan966x_get_eth_mac_stats() local 446 struct lan966x *lan966x = port->lan966x; in lan966x_get_eth_rmon_stats() local 552 struct lan966x *lan966x = port->lan966x; in lan966x_get_ts_info() local 598 struct lan966x *lan966x = container_of(del_work, struct lan966x, in lan966x_check_stats_work() local 611 struct lan966x *lan966x = port->lan966x; in lan966x_stats_get() local 702 int lan966x_stats_init(struct lan966x *lan966x) in lan966x_stats_init()
|
A D | lan966x_cbs.c | 8 struct lan966x *lan966x = port->lan966x; in lan966x_cbs_add() local 54 struct lan966x *lan966x = port->lan966x; in lan966x_cbs_del() local
|
A D | lan966x_goto.c | 11 struct lan966x *lan966x = port->lan966x; in lan966x_goto_port_add() local 39 struct lan966x *lan966x = port->lan966x; in lan966x_goto_port_del() local
|
A D | lan966x_vcap_debugfs.c | 12 struct lan966x *lan966x = port->lan966x; in lan966x_vcap_port_keys() local 83 struct lan966x *lan966x = port->lan966x; in lan966x_vcap_port_info() local
|
A D | lan966x_tbf.c | 8 struct lan966x *lan966x = port->lan966x; in lan966x_tbf_add() local 58 struct lan966x *lan966x = port->lan966x; in lan966x_tbf_del() local
|
A D | lan966x_mirror.c | 11 struct lan966x *lan966x = port->lan966x; in lan966x_mirror_port_add() local 69 struct lan966x *lan966x = port->lan966x; in lan966x_mirror_port_del() local
|
A D | lan966x_ets.c | 22 struct lan966x *lan966x = port->lan966x; in lan966x_ets_add() local 80 struct lan966x *lan966x = port->lan966x; in lan966x_ets_del() local
|
A D | lan966x_phylink.c | 73 struct lan966x *lan966x = port->lan966x; in lan966x_phylink_mac_link_down() local
|