Home
last modified time | relevance | path

Searched refs:lan966x_port (Results 1 – 23 of 23) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/microchip/lan966x/
Dlan966x_main.h103 struct lan966x_port;
210 struct lan966x_port **ports;
271 struct lan966x_port *mirror_monitor;
295 struct lan966x_port { struct
345 void lan966x_port_config_down(struct lan966x_port *port);
346 void lan966x_port_config_up(struct lan966x_port *port);
347 void lan966x_port_status_get(struct lan966x_port *port,
349 int lan966x_port_pcs_set(struct lan966x_port *port,
351 void lan966x_port_init(struct lan966x_port *port);
375 struct lan966x_port *port,
[all …]
Dlan966x_tc.c9 static int lan966x_tc_setup_qdisc_mqprio(struct lan966x_port *port, in lan966x_tc_setup_qdisc_mqprio()
20 static int lan966x_tc_setup_qdisc_taprio(struct lan966x_port *port, in lan966x_tc_setup_qdisc_taprio()
27 static int lan966x_tc_setup_qdisc_tbf(struct lan966x_port *port, in lan966x_tc_setup_qdisc_tbf()
42 static int lan966x_tc_setup_qdisc_cbs(struct lan966x_port *port, in lan966x_tc_setup_qdisc_cbs()
49 static int lan966x_tc_setup_qdisc_ets(struct lan966x_port *port, in lan966x_tc_setup_qdisc_ets()
67 struct lan966x_port *port = cb_priv; in lan966x_tc_block_cb()
89 static int lan966x_tc_setup_block(struct lan966x_port *port, in lan966x_tc_setup_block()
113 struct lan966x_port *port = netdev_priv(dev); in lan966x_tc_setup()
Dlan966x_phylink.c15 struct lan966x_port *port = netdev_priv(to_net_dev(config->dev)); in lan966x_phylink_mac_select()
30 struct lan966x_port *port = netdev_priv(to_net_dev(config->dev)); in lan966x_phylink_mac_prepare()
54 struct lan966x_port *port = netdev_priv(to_net_dev(config->dev)); in lan966x_phylink_mac_link_up()
73 struct lan966x_port *port = netdev_priv(to_net_dev(config->dev)); in lan966x_phylink_mac_link_down()
86 static struct lan966x_port *lan966x_pcs_to_port(struct phylink_pcs *pcs) in lan966x_pcs_to_port()
88 return container_of(pcs, struct lan966x_port, phylink_pcs); in lan966x_pcs_to_port()
94 struct lan966x_port *port = lan966x_pcs_to_port(pcs); in lan966x_pcs_get_state()
105 struct lan966x_port *port = lan966x_pcs_to_port(pcs); in lan966x_pcs_config()
Dlan966x_switchdev.c10 static void lan966x_port_set_mcast_ip_flood(struct lan966x_port *port, in lan966x_port_set_mcast_ip_flood()
41 static void lan966x_port_set_mcast_flood(struct lan966x_port *port, in lan966x_port_set_mcast_flood()
62 static void lan966x_port_set_ucast_flood(struct lan966x_port *port, in lan966x_port_set_ucast_flood()
78 static void lan966x_port_set_bcast_flood(struct lan966x_port *port, in lan966x_port_set_bcast_flood()
94 static void lan966x_port_set_learning(struct lan966x_port *port, bool enabled) in lan966x_port_set_learning()
103 static void lan966x_port_bridge_flags(struct lan966x_port *port, in lan966x_port_bridge_flags()
123 static int lan966x_port_pre_bridge_flags(struct lan966x_port *port, in lan966x_port_pre_bridge_flags()
138 struct lan966x_port *port = lan966x->ports[i]; in lan966x_update_fwd_mask()
156 void lan966x_port_stp_state_set(struct lan966x_port *port, u8 state) in lan966x_port_stp_state_set()
177 void lan966x_port_ageing_set(struct lan966x_port *port, in lan966x_port_ageing_set()
[all …]
Dlan966x_lag.c30 struct lan966x_port *port = lan966x->ports[p]; in lan966x_lag_set_aggr_pgids()
51 struct lan966x_port *port = lan966x->ports[p]; in lan966x_lag_set_aggr_pgids()
77 struct lan966x_port *port = lan966x->ports[p]; in lan966x_lag_set_aggr_pgids()
90 struct lan966x_port *port; in lan966x_lag_set_port_ids()
119 int lan966x_lag_port_join(struct lan966x_port *port, in lan966x_lag_port_join()
161 void lan966x_lag_port_leave(struct lan966x_port *port, struct net_device *bond) in lan966x_lag_port_leave()
190 struct lan966x_port *port = lan966x->ports[p]; in lan966x_lag_port_check_hash_types()
205 struct lan966x_port *port = netdev_priv(dev); in lan966x_lag_port_prechangeupper()
263 struct lan966x_port *port = netdev_priv(dev); in lan966x_lag_port_changelowerstate()
283 struct lan966x_port *port; in lan966x_lag_netdev_prechangeupper()
[all …]
Dlan966x_taprio.c41 static u32 lan966x_taprio_list_index(struct lan966x_port *port, u8 entry) in lan966x_taprio_list_index()
46 static u32 lan966x_taprio_list_state_get(struct lan966x_port *port) in lan966x_taprio_list_state_get()
55 static u32 lan966x_taprio_list_index_state_get(struct lan966x_port *port, in lan966x_taprio_list_index_state_get()
67 static void lan966x_taprio_list_state_set(struct lan966x_port *port, in lan966x_taprio_list_state_set()
77 static int lan966x_taprio_list_shutdown(struct lan966x_port *port, in lan966x_taprio_list_shutdown()
150 static int lan966x_taprio_shutdown(struct lan966x_port *port) in lan966x_taprio_shutdown()
172 static int lan966x_taprio_find_list(struct lan966x_port *port, in lan966x_taprio_find_list()
268 static int lan966x_taprio_gcl_free_get(struct lan966x_port *port, in lan966x_taprio_gcl_free_get()
308 static void lan966x_taprio_gcl_setup_entry(struct lan966x_port *port, in lan966x_taprio_gcl_setup_entry()
327 static int lan966x_taprio_gcl_setup(struct lan966x_port *port, in lan966x_taprio_gcl_setup()
[all …]
Dlan966x_vlan.c54 static void lan966x_vlan_port_add_vlan_mask(struct lan966x_port *port, u16 vid) in lan966x_vlan_port_add_vlan_mask()
63 static void lan966x_vlan_port_del_vlan_mask(struct lan966x_port *port, u16 vid) in lan966x_vlan_port_del_vlan_mask()
104 static u16 lan966x_vlan_port_get_pvid(struct lan966x_port *port) in lan966x_vlan_port_get_pvid()
114 int lan966x_vlan_port_set_vid(struct lan966x_port *port, u16 vid, in lan966x_vlan_port_set_vid()
137 static void lan966x_vlan_port_remove_vid(struct lan966x_port *port, u16 vid) in lan966x_vlan_port_remove_vid()
146 void lan966x_vlan_port_set_vlan_aware(struct lan966x_port *port, in lan966x_vlan_port_set_vlan_aware()
152 void lan966x_vlan_port_apply(struct lan966x_port *port) in lan966x_vlan_port_apply()
213 void lan966x_vlan_port_add_vlan(struct lan966x_port *port, in lan966x_vlan_port_add_vlan()
236 void lan966x_vlan_port_del_vlan(struct lan966x_port *port, u16 vid) in lan966x_vlan_port_del_vlan()
Dlan966x_tc_matchall.c5 static int lan966x_tc_matchall_add(struct lan966x_port *port, in lan966x_tc_matchall_add()
35 static int lan966x_tc_matchall_del(struct lan966x_port *port, in lan966x_tc_matchall_del()
55 static int lan966x_tc_matchall_stats(struct lan966x_port *port, in lan966x_tc_matchall_stats()
73 int lan966x_tc_matchall(struct lan966x_port *port, in lan966x_tc_matchall()
Dlan966x_police.c18 static int lan966x_police_add(struct lan966x_port *port, in lan966x_police_add()
52 static int lan966x_police_del(struct lan966x_port *port, in lan966x_police_del()
74 static int lan966x_police_validate(struct lan966x_port *port, in lan966x_police_validate()
135 int lan966x_police_port_add(struct lan966x_port *port, in lan966x_police_port_add()
184 int lan966x_police_port_del(struct lan966x_port *port, in lan966x_police_port_del()
215 void lan966x_police_port_stats(struct lan966x_port *port, in lan966x_police_port_stats()
Dlan966x_mirror.c5 int lan966x_mirror_port_add(struct lan966x_port *port, in lan966x_mirror_port_add()
12 struct lan966x_port *monitor_port; in lan966x_mirror_port_add()
65 int lan966x_mirror_port_del(struct lan966x_port *port, in lan966x_mirror_port_del()
103 void lan966x_mirror_port_stats(struct lan966x_port *port, in lan966x_mirror_port_stats()
Dlan966x_port.c25 static void lan966x_port_link_down(struct lan966x_port *port) in lan966x_port_link_down()
144 static void lan966x_port_link_up(struct lan966x_port *port) in lan966x_port_link_up()
276 void lan966x_port_config_down(struct lan966x_port *port) in lan966x_port_config_down()
281 void lan966x_port_config_up(struct lan966x_port *port) in lan966x_port_config_up()
286 void lan966x_port_status_get(struct lan966x_port *port, in lan966x_port_status_get()
330 int lan966x_port_pcs_set(struct lan966x_port *port, in lan966x_port_pcs_set()
397 void lan966x_port_init(struct lan966x_port *port) in lan966x_port_init()
Dlan966x_mqprio.c5 int lan966x_mqprio_add(struct lan966x_port *port, u8 num_tc) in lan966x_mqprio_add()
23 int lan966x_mqprio_del(struct lan966x_port *port) in lan966x_mqprio_del()
Dlan966x_main.c106 struct lan966x_port *port = netdev_priv(dev); in lan966x_port_unique_address()
124 struct lan966x_port *port = netdev_priv(dev); in lan966x_port_set_mac_address()
156 struct lan966x_port *port = netdev_priv(dev); in lan966x_port_get_phys_port_name()
168 struct lan966x_port *port = netdev_priv(dev); in lan966x_port_open()
196 struct lan966x_port *port = netdev_priv(dev); in lan966x_port_stop()
226 struct lan966x_port *port = netdev_priv(dev); in lan966x_port_ifh_xmit()
350 struct lan966x_port *port = netdev_priv(dev); in lan966x_port_xmit()
384 struct lan966x_port *port = netdev_priv(dev); in lan966x_port_change_mtu()
408 struct lan966x_port *port = netdev_priv(dev); in lan966x_mc_unsync()
416 struct lan966x_port *port = netdev_priv(dev); in lan966x_mc_sync()
[all …]
Dlan966x_ethtool.c318 struct lan966x_port *port = netdev_priv(dev); in lan966x_get_sset_count()
329 struct lan966x_port *port = netdev_priv(netdev); in lan966x_get_strings()
344 struct lan966x_port *port = netdev_priv(dev); in lan966x_get_ethtool_stats()
360 struct lan966x_port *port = netdev_priv(dev); in lan966x_get_eth_mac_stats()
445 struct lan966x_port *port = netdev_priv(dev); in lan966x_get_eth_rmon_stats()
519 struct lan966x_port *port = netdev_priv(ndev); in lan966x_get_link_ksettings()
527 struct lan966x_port *port = netdev_priv(ndev); in lan966x_set_link_ksettings()
535 struct lan966x_port *port = netdev_priv(dev); in lan966x_get_pauseparam()
543 struct lan966x_port *port = netdev_priv(dev); in lan966x_set_pauseparam()
551 struct lan966x_port *port = netdev_priv(dev); in lan966x_get_ts_info()
[all …]
Dlan966x_cbs.c5 int lan966x_cbs_add(struct lan966x_port *port, in lan966x_cbs_add()
51 int lan966x_cbs_del(struct lan966x_port *port, in lan966x_cbs_del()
Dlan966x_tbf.c5 int lan966x_tbf_add(struct lan966x_port *port, in lan966x_tbf_add()
55 int lan966x_tbf_del(struct lan966x_port *port, in lan966x_tbf_del()
Dlan966x_ets.c18 int lan966x_ets_add(struct lan966x_port *port, in lan966x_ets_add()
77 int lan966x_ets_del(struct lan966x_port *port, in lan966x_ets_del()
Dlan966x_ptp.c38 int lan966x_ptp_hwtstamp_set(struct lan966x_port *port, struct ifreq *ifr) in lan966x_ptp_hwtstamp_set()
100 int lan966x_ptp_hwtstamp_get(struct lan966x_port *port, struct ifreq *ifr) in lan966x_ptp_hwtstamp_get()
110 static int lan966x_ptp_classify(struct lan966x_port *port, struct sk_buff *skb) in lan966x_ptp_classify()
140 static void lan966x_ptp_txtstamp_old_release(struct lan966x_port *port) in lan966x_ptp_txtstamp_old_release()
157 int lan966x_ptp_txtstamp_request(struct lan966x_port *port, in lan966x_ptp_txtstamp_request()
194 void lan966x_ptp_txtstamp_release(struct lan966x_port *port, in lan966x_ptp_txtstamp_release()
245 struct lan966x_port *port; in lan966x_ptp_irq_handler()
802 struct lan966x_port *port; in lan966x_ptp_init()
853 struct lan966x_port *port; in lan966x_ptp_deinit()
Dlan966x_mac.c203 static struct lan966x_mac_entry *lan966x_mac_alloc_entry(struct lan966x_port *port, in lan966x_mac_alloc_entry()
273 int lan966x_mac_add_entry(struct lan966x *lan966x, struct lan966x_port *port, in lan966x_mac_add_entry()
338 struct lan966x_port *src, in lan966x_mac_lag_replace_port_entry()
339 struct lan966x_port *dst) in lan966x_mac_lag_replace_port_entry()
361 struct lan966x_port *src) in lan966x_mac_lag_remove_port_entry()
426 struct lan966x_port *port; in lan966x_mac_irq_process()
Dlan966x_mdb.c105 static int lan966x_mdb_ip_add(struct lan966x_port *port, in lan966x_mdb_ip_add()
140 static int lan966x_mdb_ip_del(struct lan966x_port *port, in lan966x_mdb_ip_del()
248 static int lan966x_mdb_l2_add(struct lan966x_port *port, in lan966x_mdb_l2_add()
297 static int lan966x_mdb_l2_del(struct lan966x_port *port, in lan966x_mdb_l2_del()
364 int lan966x_handle_port_mdb_add(struct lan966x_port *port, in lan966x_handle_port_mdb_add()
381 int lan966x_handle_port_mdb_del(struct lan966x_port *port, in lan966x_handle_port_mdb_del()
Dlan966x_fdb.c139 struct lan966x_port *port; in lan966x_fdb_port_event_work()
205 struct lan966x_port *port; in lan966x_fdb_lag_event_work()
251 struct lan966x_port *port = netdev_priv(dev); in lan966x_handle_fdb()
DMakefile8 lan966x-switch-objs := lan966x_main.o lan966x_phylink.o lan966x_port.o \
Dlan966x_fdma.c327 struct lan966x_port *port; in lan966x_fdma_wakeup_netdev()
342 struct lan966x_port *port; in lan966x_fdma_stop_netdev()
570 struct lan966x_port *port = netdev_priv(dev); in lan966x_fdma_xmit()
677 struct lan966x_port *port; in lan966x_fdma_get_max_mtu()