Home
last modified time | relevance | path

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

/linux-6.1.9/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.c5 static int lan966x_fdma_channel_active(struct lan966x *lan966x) in lan966x_fdma_channel_active()
13 struct lan966x *lan966x = rx->lan966x; in lan966x_fdma_rx_alloc_page() local
38 struct lan966x *lan966x = rx->lan966x; in lan966x_fdma_rx_free_pages() local
78 struct lan966x *lan966x = rx->lan966x; in lan966x_fdma_rx_alloc() local
121 struct lan966x *lan966x = rx->lan966x; in lan966x_fdma_rx_free() local
132 struct lan966x *lan966x = rx->lan966x; in lan966x_fdma_rx_start() local
170 struct lan966x *lan966x = rx->lan966x; in lan966x_fdma_rx_disable() local
189 struct lan966x *lan966x = rx->lan966x; in lan966x_fdma_rx_reload() local
205 struct lan966x *lan966x = tx->lan966x; in lan966x_fdma_tx_alloc() local
245 struct lan966x *lan966x = tx->lan966x; in lan966x_fdma_tx_free() local
[all …]
Dlan966x_main.h123 struct lan966x *lan966x; member
165 struct lan966x *lan966x; member
192 struct lan966x *lan966x; member
206 struct lan966x { struct
210 struct lan966x_port **ports; argument
231 const struct lan966x_stat_layout *stats_layout; argument
232 u32 num_stats;
257 struct lan966x_phc phc[LAN966X_PHC_COUNT]; argument
266 struct lan966x_rx rx; argument
267 struct lan966x_tx tx; argument
[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.c65 struct lan966x *lan966x) in lan966x_create_targets()
107 struct lan966x *lan966x = port->lan966x; in lan966x_port_unique_address() local
125 struct lan966x *lan966x = port->lan966x; in lan966x_port_set_mac_address() local
169 struct lan966x *lan966x = port->lan966x; in lan966x_port_open() local
205 static int lan966x_port_inj_status(struct lan966x *lan966x) in lan966x_port_inj_status()
210 static int lan966x_port_inj_ready(struct lan966x *lan966x, u8 grp) in lan966x_port_inj_ready()
227 struct lan966x *lan966x = port->lan966x; in lan966x_port_ifh_xmit() local
351 struct lan966x *lan966x = port->lan966x; in lan966x_port_xmit() local
385 struct lan966x *lan966x = port->lan966x; in lan966x_port_change_mtu() local
409 struct lan966x *lan966x = port->lan966x; in lan966x_mc_unsync() local
[all …]
Dlan966x_ptp.c40 struct lan966x *lan966x = port->lan966x; in lan966x_ptp_hwtstamp_set() local
102 struct lan966x *lan966x = port->lan966x; in lan966x_ptp_hwtstamp_get() local
160 struct lan966x *lan966x = port->lan966x; in lan966x_ptp_txtstamp_request() local
197 struct lan966x *lan966x = port->lan966x; in lan966x_ptp_txtstamp_release() local
207 static void lan966x_get_hwtimestamp(struct lan966x *lan966x, in lan966x_get_hwtimestamp()
240 struct lan966x *lan966x = args; in lan966x_ptp_irq_handler() local
326 struct lan966x *lan966x = args; in lan966x_ptp_ext_irq_handler() local
384 struct lan966x *lan966x = phc->lan966x; in lan966x_ptp_adjfine() local
432 struct lan966x *lan966x = phc->lan966x; in lan966x_ptp_settime64() local
470 struct lan966x *lan966x = phc->lan966x; in lan966x_ptp_gettime64() 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_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_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
400 struct lan966x *lan966x = port->lan966x; in lan966x_port_init() local
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_police.c22 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
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_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_phylink.c74 struct lan966x *lan966x = port->lan966x; in lan966x_phylink_mac_link_down() local