Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/microchip/lan966x/
H A 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
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 …]
H A Dlan966x_fdma.c71 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
332 struct lan966x *lan966x = tx->lan966x; in lan966x_fdma_tx_disable() local
[all …]
H A 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()
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 …]
H A 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()
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 …]
H A Dlan966x_mdb.c23 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 …]
H A Dlan966x_main.h220 struct lan966x *lan966x; member
276 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
382 struct lan966x_port *mirror_monitor; argument
[all …]
H A 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
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
641 struct lan966x *lan966x = args; in lan966x_xtr_irq_handler() local
735 struct lan966x *lan966x = args; in lan966x_ana_irq_handler() local
[all …]
H A Dlan966x_lag.c7 static void lan966x_lag_set_aggr_pgids(struct lan966x *lan966x) in lan966x_lag_set_aggr_pgids()
93 static void lan966x_lag_set_port_ids(struct lan966x *lan966x) in lan966x_lag_set_port_ids()
117 static void lan966x_lag_update_ids(struct lan966x *lan966x) in lan966x_lag_update_ids()
129 struct lan966x *lan966x = port->lan966x; in lan966x_lag_port_join() local
168 struct lan966x *lan966x = port->lan966x; in lan966x_lag_port_leave() local
189 static bool lan966x_lag_port_check_hash_types(struct lan966x *lan966x, in lan966x_lag_port_check_hash_types()
211 struct lan966x *lan966x = port->lan966x; in lan966x_lag_port_prechangeupper() local
269 struct lan966x *lan966x = port->lan966x; in lan966x_lag_port_changelowerstate() local
336 struct lan966x *lan966x = port->lan966x; in lan966x_lag_first_port() local
349 u32 lan966x_lag_get_mask(struct lan966x *lan966x, struct net_device *bond) in lan966x_lag_get_mask()
H A Dlan966x_vcap_impl.c58 struct lan966x *lan966x; member
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
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
528 struct lan966x *lan966x = port->lan966x; in lan966x_vcap_update() local
554 struct lan966x *lan966x = port->lan966x; in lan966x_vcap_move() local
708 int lan966x_vcap_init(struct lan966x *lan966x) in lan966x_vcap_init()
[all …]
H A 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
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 …]
H A 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
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
647 struct lan966x *lan966x = phc->lan966x; in lan966x_ptp_settime64() local
685 struct lan966x *lan966x = phc->lan966x; in lan966x_ptp_gettime64() local
[all …]
H A 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
H A 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
290 struct lan966x *lan966x = port->lan966x; in lan966x_port_status_get() local
334 struct lan966x *lan966x = port->lan966x; in lan966x_port_pcs_set() local
425 struct lan966x *lan966x = port->lan966x; in lan966x_port_qos_dscp_set() local
550 struct lan966x *lan966x = port->lan966x; in lan966x_port_init() local
H A 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
H A 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
H A 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
H A 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()
H A Dlan966x_cbs.c8 struct lan966x *lan966x = port->lan966x; in lan966x_cbs_add() local
54 struct lan966x *lan966x = port->lan966x; in lan966x_cbs_del() local
H A 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
H A Dlan966x_tbf.c8 struct lan966x *lan966x = port->lan966x; in lan966x_tbf_add() local
58 struct lan966x *lan966x = port->lan966x; in lan966x_tbf_del() local
H A 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
H A Dlan966x_ets.c22 struct lan966x *lan966x = port->lan966x; in lan966x_ets_add() local
80 struct lan966x *lan966x = port->lan966x; in lan966x_ets_del() local
H A 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()
H A Dlan966x_phylink.c73 struct lan966x *lan966x = port->lan966x; in lan966x_phylink_mac_link_down() local