/linux-6.1.9/drivers/net/ethernet/microchip/lan966x/ |
D | lan966x_main.h | 103 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 …]
|
D | lan966x_tc.c | 9 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()
|
D | lan966x_phylink.c | 15 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()
|
D | lan966x_switchdev.c | 10 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 …]
|
D | lan966x_lag.c | 30 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 …]
|
D | lan966x_taprio.c | 41 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 …]
|
D | lan966x_vlan.c | 54 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()
|
D | lan966x_tc_matchall.c | 5 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()
|
D | lan966x_police.c | 18 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()
|
D | lan966x_mirror.c | 5 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()
|
D | lan966x_port.c | 25 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()
|
D | lan966x_mqprio.c | 5 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()
|
D | lan966x_main.c | 106 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 …]
|
D | lan966x_ethtool.c | 318 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 …]
|
D | lan966x_cbs.c | 5 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()
|
D | lan966x_tbf.c | 5 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()
|
D | lan966x_ets.c | 18 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()
|
D | lan966x_ptp.c | 38 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()
|
D | lan966x_mac.c | 203 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()
|
D | lan966x_mdb.c | 105 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()
|
D | lan966x_fdb.c | 139 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()
|
D | Makefile | 8 lan966x-switch-objs := lan966x_main.o lan966x_phylink.o lan966x_port.o \
|
D | lan966x_fdma.c | 327 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()
|