Home
last modified time | relevance | path

Searched defs:lan966x (Results 1 – 24 of 24) sorted by relevance

/Linux-v6.6/drivers/net/ethernet/microchip/lan966x/
Dlan966x_vlan.c10 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
72 static bool lan966x_vlan_port_any_vlan_mask(struct lan966x *lan966x, u16 vid) in lan966x_vlan_port_any_vlan_mask()
77 static void lan966x_vlan_cpu_add_vlan_mask(struct lan966x *lan966x, u16 vid) in lan966x_vlan_cpu_add_vlan_mask()
83 static void lan966x_vlan_cpu_del_vlan_mask(struct lan966x *lan966x, u16 vid) in lan966x_vlan_cpu_del_vlan_mask()
89 static void lan966x_vlan_cpu_add_cpu_vlan_mask(struct lan966x *lan966x, u16 vid) in lan966x_vlan_cpu_add_cpu_vlan_mask()
94 static void lan966x_vlan_cpu_del_cpu_vlan_mask(struct lan966x *lan966x, u16 vid) in lan966x_vlan_cpu_del_cpu_vlan_mask()
[all …]
Dlan966x_fdma.c9 static int lan966x_fdma_channel_active(struct lan966x *lan966x) in lan966x_fdma_channel_active()
71 struct lan966x *lan966x = rx->lan966x; in lan966x_fdma_rx_alloc_page_pool() local
106 struct lan966x *lan966x = rx->lan966x; in lan966x_fdma_rx_alloc() local
158 struct lan966x *lan966x = rx->lan966x; in lan966x_fdma_rx_free() local
169 struct lan966x *lan966x = rx->lan966x; in lan966x_fdma_rx_start() local
207 struct lan966x *lan966x = rx->lan966x; in lan966x_fdma_rx_disable() local
226 struct lan966x *lan966x = rx->lan966x; in lan966x_fdma_rx_reload() local
242 struct lan966x *lan966x = tx->lan966x; in lan966x_fdma_tx_alloc() local
282 struct lan966x *lan966x = tx->lan966x; in lan966x_fdma_tx_free() local
294 struct lan966x *lan966x = tx->lan966x; in lan966x_fdma_tx_activate() local
[all …]
Dlan966x_fdb.c12 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()
81 void lan966x_fdb_write_entries(struct lan966x *lan966x, u16 vid) in lan966x_fdb_write_entries()
93 void lan966x_fdb_erase_entries(struct lan966x *lan966x, u16 vid) in lan966x_fdb_erase_entries()
105 static void lan966x_fdb_purge_entries(struct lan966x *lan966x) in lan966x_fdb_purge_entries()
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()
[all …]
Dlan966x_mac.c35 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()
73 static int __lan966x_mac_learn_locked(struct lan966x *lan966x, int pgid, in __lan966x_mac_learn_locked()
95 static int __lan966x_mac_learn(struct lan966x *lan966x, int pgid, in __lan966x_mac_learn()
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()
134 static int lan966x_mac_learn_locked(struct lan966x *lan966x, int port, in lan966x_mac_learn_locked()
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()
[all …]
Dlan966x_mdb.c23 void lan966x_mdb_init(struct lan966x *lan966x) in lan966x_mdb_init()
29 static void lan966x_mdb_purge_mdb_entries(struct lan966x *lan966x) in lan966x_mdb_purge_mdb_entries()
39 static void lan966x_mdb_purge_pgid_entries(struct lan966x *lan966x) in lan966x_mdb_purge_pgid_entries()
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
183 lan966x_pgid_entry_add(struct lan966x *lan966x, int index, u16 ports) in lan966x_pgid_entry_add()
201 lan966x_pgid_entry_get(struct lan966x *lan966x, in lan966x_pgid_entry_get()
[all …]
Dlan966x_main.h220 struct lan966x *lan966x; member
276 struct lan966x *lan966x; member
303 struct lan966x *lan966x; member
317 struct lan966x { struct
321 struct lan966x_port **ports; argument
342 const struct lan966x_stat_layout *stats_layout; argument
343 u32 num_stats;
368 struct lan966x_phc phc[LAN966X_PHC_COUNT]; argument
377 struct lan966x_rx rx; argument
378 struct lan966x_tx tx; argument
[all …]
Dlan966x_main.c68 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
208 static int lan966x_port_inj_status(struct lan966x *lan966x) in lan966x_port_inj_status()
213 static int lan966x_port_inj_ready(struct lan966x *lan966x, u8 grp) in lan966x_port_inj_ready()
230 struct lan966x *lan966x = port->lan966x; in lan966x_port_ifh_xmit() local
365 struct lan966x *lan966x = port->lan966x; in lan966x_port_xmit() local
399 struct lan966x *lan966x = port->lan966x; in lan966x_port_change_mtu() local
423 struct lan966x *lan966x = port->lan966x; in lan966x_mc_unsync() local
[all …]
Dlan966x_lag.c7 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()
Dlan966x_vcap_impl.c58 struct lan966x *lan966x; member
67 static void lan966x_vcap_wait_update(struct lan966x *lan966x, int instance) in lan966x_vcap_wait_update()
78 static void __lan966x_vcap_range_init(struct lan966x *lan966x, in __lan966x_vcap_range_init()
129 struct lan966x *lan966x = port->lan966x; in lan966x_vcap_is1_get_port_keysets() local
189 struct lan966x *lan966x = port->lan966x; in lan966x_vcap_is2_get_port_keysets() local
400 static void lan966x_es0_read_esdx_counter(struct lan966x *lan966x, in lan966x_es0_read_esdx_counter()
415 static void lan966x_es0_write_esdx_counter(struct lan966x *lan966x, in lan966x_es0_write_esdx_counter()
437 struct lan966x *lan966x = port->lan966x; in lan966x_vcap_cache_write() local
478 struct lan966x *lan966x = port->lan966x; in lan966x_vcap_cache_read() local
516 struct lan966x *lan966x = port->lan966x; in lan966x_vcap_range_init() local
[all …]
Dlan966x_ptp.c57 struct lan966x *lan966x = port->lan966x; in lan966x_ptp_add_trap() local
103 struct lan966x *lan966x = port->lan966x; in lan966x_ptp_del_trap() local
264 struct lan966x *lan966x = port->lan966x; in lan966x_ptp_hwtstamp_set() local
318 struct lan966x *lan966x = port->lan966x; in lan966x_ptp_hwtstamp_get() local
375 struct lan966x *lan966x = port->lan966x; in lan966x_ptp_txtstamp_request() local
412 struct lan966x *lan966x = port->lan966x; in lan966x_ptp_txtstamp_release() local
422 static void lan966x_get_hwtimestamp(struct lan966x *lan966x, in lan966x_get_hwtimestamp()
455 struct lan966x *lan966x = args; in lan966x_ptp_irq_handler() local
541 struct lan966x *lan966x = args; in lan966x_ptp_ext_irq_handler() local
599 struct lan966x *lan966x = phc->lan966x; in lan966x_ptp_adjfine() local
[all …]
Dlan966x_taprio.c48 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
372 static void lan966x_taprio_new_base_time(struct lan966x *lan966x, in lan966x_taprio_new_base_time()
414 struct lan966x *lan966x = port->lan966x; in lan966x_taprio_speed_set() local
444 struct lan966x *lan966x = port->lan966x; in lan966x_taprio_add() local
[all …]
Dlan966x_switchdev.c13 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
Dlan966x_vcap_debugfs.c12 struct lan966x *lan966x = port->lan966x; in lan966x_vcap_is1_port_keys() local
127 struct lan966x *lan966x = port->lan966x; in lan966x_vcap_is2_port_keys() local
197 struct lan966x *lan966x = port->lan966x; in lan966x_vcap_es0_port_keys() local
218 struct lan966x *lan966x = port->lan966x; in lan966x_vcap_port_info() local
Dlan966x_port.c27 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
424 struct lan966x *lan966x = port->lan966x; in lan966x_port_qos_dscp_set() local
549 struct lan966x *lan966x = port->lan966x; in lan966x_port_init() local
Dlan966x_xdp.c12 struct lan966x *lan966x = port->lan966x; in lan966x_xdp_setup() local
78 struct lan966x *lan966x = port->lan966x; in lan966x_xdp_run() local
111 bool lan966x_xdp_present(struct lan966x *lan966x) in lan966x_xdp_present()
126 struct lan966x *lan966x = port->lan966x; in lan966x_xdp_port_init() local
Dlan966x_police.c22 struct lan966x *lan966x = port->lan966x; in lan966x_police_add() local
54 struct lan966x *lan966x = port->lan966x; in lan966x_police_del() local
139 struct lan966x *lan966x = port->lan966x; in lan966x_police_port_add() local
185 struct lan966x *lan966x = port->lan966x; in lan966x_police_port_del() local
Dlan966x_ethtool.c293 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()
Dlan966x_cbs.c8 struct lan966x *lan966x = port->lan966x; in lan966x_cbs_add() local
54 struct lan966x *lan966x = port->lan966x; in lan966x_cbs_del() local
Dlan966x_goto.c11 struct lan966x *lan966x = port->lan966x; in lan966x_goto_port_add() local
39 struct lan966x *lan966x = port->lan966x; in lan966x_goto_port_del() local
Dlan966x_tbf.c8 struct lan966x *lan966x = port->lan966x; in lan966x_tbf_add() local
58 struct lan966x *lan966x = port->lan966x; in lan966x_tbf_del() local
Dlan966x_mirror.c11 struct lan966x *lan966x = port->lan966x; in lan966x_mirror_port_add() local
69 struct lan966x *lan966x = port->lan966x; in lan966x_mirror_port_del() local
Dlan966x_ets.c22 struct lan966x *lan966x = port->lan966x; in lan966x_ets_add() local
80 struct lan966x *lan966x = port->lan966x; in lan966x_ets_del() local
Dlan966x_dcb.c124 struct lan966x *lan966x = port->lan966x; in lan966x_dcb_ieee_dscp_setdel() local
345 void lan966x_dcb_init(struct lan966x *lan966x) in lan966x_dcb_init()
Dlan966x_phylink.c73 struct lan966x *lan966x = port->lan966x; in lan966x_phylink_mac_link_down() local