/linux-6.12.1/drivers/net/ethernet/microchip/lan966x/ |
D | lan966x_main.h | 192 struct lan966x_port; 269 struct lan966x_port **ports; 330 struct lan966x_port *mirror_monitor; 388 struct lan966x_port { struct 444 void lan966x_port_config_down(struct lan966x_port *port); 445 void lan966x_port_config_up(struct lan966x_port *port); 446 void lan966x_port_status_get(struct lan966x_port *port, 448 int lan966x_port_pcs_set(struct lan966x_port *port, 450 void lan966x_port_init(struct lan966x_port *port); 452 void lan966x_port_qos_set(struct lan966x_port *port, [all …]
|
D | lan966x_tc.c | 10 static int lan966x_tc_setup_qdisc_mqprio(struct lan966x_port *port, in lan966x_tc_setup_qdisc_mqprio() 21 static int lan966x_tc_setup_qdisc_taprio(struct lan966x_port *port, in lan966x_tc_setup_qdisc_taprio() 34 static int lan966x_tc_setup_qdisc_tbf(struct lan966x_port *port, in lan966x_tc_setup_qdisc_tbf() 49 static int lan966x_tc_setup_qdisc_cbs(struct lan966x_port *port, in lan966x_tc_setup_qdisc_cbs() 56 static int lan966x_tc_setup_qdisc_ets(struct lan966x_port *port, in lan966x_tc_setup_qdisc_ets() 74 struct lan966x_port *port = cb_priv; in lan966x_tc_block_cb() 98 static int lan966x_tc_setup_block(struct lan966x_port *port, in lan966x_tc_setup_block() 122 struct lan966x_port *port = netdev_priv(dev); in lan966x_tc_setup()
|
D | lan966x_phylink.c | 14 struct lan966x_port *port = netdev_priv(to_net_dev(config->dev)); in lan966x_phylink_mac_select() 29 struct lan966x_port *port = netdev_priv(to_net_dev(config->dev)); in lan966x_phylink_mac_prepare() 53 struct lan966x_port *port = netdev_priv(to_net_dev(config->dev)); in lan966x_phylink_mac_link_up() 72 struct lan966x_port *port = netdev_priv(to_net_dev(config->dev)); in lan966x_phylink_mac_link_down() 85 static struct lan966x_port *lan966x_pcs_to_port(struct phylink_pcs *pcs) in lan966x_pcs_to_port() 87 return container_of(pcs, struct lan966x_port, phylink_pcs); in lan966x_pcs_to_port() 93 struct lan966x_port *port = lan966x_pcs_to_port(pcs); in lan966x_pcs_get_state() 103 struct lan966x_port *port = lan966x_pcs_to_port(pcs); in lan966x_pcs_config()
|
D | lan966x_lag.c | 30 struct lan966x_port *port = lan966x->ports[p]; in lan966x_lag_set_aggr_pgids() 40 struct lan966x_port *port = lan966x->ports[lag]; in lan966x_lag_set_aggr_pgids() 53 struct lan966x_port *port = lan966x->ports[p]; in lan966x_lag_set_aggr_pgids() 82 struct lan966x_port *port = lan966x->ports[p]; in lan966x_lag_set_aggr_pgids() 95 struct lan966x_port *port; in lan966x_lag_set_port_ids() 124 int lan966x_lag_port_join(struct lan966x_port *port, in lan966x_lag_port_join() 166 void lan966x_lag_port_leave(struct lan966x_port *port, struct net_device *bond) in lan966x_lag_port_leave() 195 struct lan966x_port *port = lan966x->ports[p]; in lan966x_lag_port_check_hash_types() 210 struct lan966x_port *port = netdev_priv(dev); in lan966x_lag_port_prechangeupper() 268 struct lan966x_port *port = netdev_priv(dev); in lan966x_lag_port_changelowerstate() [all …]
|
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_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_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() 277 void lan966x_port_config_down(struct lan966x_port *port) in lan966x_port_config_down() 282 void lan966x_port_config_up(struct lan966x_port *port) in lan966x_port_config_up() 287 void lan966x_port_status_get(struct lan966x_port *port, in lan966x_port_status_get() 331 int lan966x_port_pcs_set(struct lan966x_port *port, in lan966x_port_pcs_set() 398 static void lan966x_port_qos_pcp_set(struct lan966x_port *port, in lan966x_port_qos_pcp_set() 422 static void lan966x_port_qos_dscp_set(struct lan966x_port *port, in lan966x_port_qos_dscp_set() 447 static int lan966x_port_qos_default_set(struct lan966x_port *port, in lan966x_port_qos_default_set() 467 static void lan966x_port_qos_pcp_rewr_set(struct lan966x_port *port, in lan966x_port_qos_pcp_rewr_set() [all …]
|
D | lan966x_ptp.c | 51 static int lan966x_ptp_add_trap(struct lan966x_port *port, in lan966x_ptp_add_trap() 53 struct lan966x_port*), in lan966x_ptp_add_trap() argument 100 static int lan966x_ptp_del_trap(struct lan966x_port *port, in lan966x_ptp_del_trap() 130 struct lan966x_port *port) in lan966x_ptp_add_l2_key() 136 struct lan966x_port *port) in lan966x_ptp_add_ip_event_key() 143 struct lan966x_port *port) in lan966x_ptp_add_ip_general_key() 149 static int lan966x_ptp_add_l2_rule(struct lan966x_port *port) in lan966x_ptp_add_l2_rule() 155 static int lan966x_ptp_add_ipv4_rules(struct lan966x_port *port) in lan966x_ptp_add_ipv4_rules() 172 static int lan966x_ptp_add_ipv6_rules(struct lan966x_port *port) in lan966x_ptp_add_ipv6_rules() 189 static int lan966x_ptp_del_l2_rule(struct lan966x_port *port) in lan966x_ptp_del_l2_rule() [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_xdp.c | 11 struct lan966x_port *port = netdev_priv(dev); in lan966x_xdp_setup() 58 struct lan966x_port *port = netdev_priv(dev); in lan966x_xdp_xmit() 75 int lan966x_xdp_run(struct lan966x_port *port, struct page *page, u32 data_len) in lan966x_xdp_run() 124 int lan966x_xdp_port_init(struct lan966x_port *port) in lan966x_xdp_port_init() 132 void lan966x_xdp_port_deinit(struct lan966x_port *port) in lan966x_xdp_port_deinit()
|
D | lan966x_police.c | 18 static int lan966x_police_add(struct lan966x_port *port, in lan966x_police_add() 52 static void lan966x_police_del(struct lan966x_port *port, u16 pol_idx) in lan966x_police_del() 71 static int lan966x_police_validate(struct lan966x_port *port, in lan966x_police_validate() 132 int lan966x_police_port_add(struct lan966x_port *port, in lan966x_police_port_add() 181 int lan966x_police_port_del(struct lan966x_port *port, in lan966x_police_port_del() 206 void lan966x_police_port_stats(struct lan966x_port *port, in lan966x_police_port_stats()
|
D | lan966x_tc_matchall.c | 5 static int lan966x_tc_matchall_add(struct lan966x_port *port, in lan966x_tc_matchall_add() 39 static int lan966x_tc_matchall_del(struct lan966x_port *port, in lan966x_tc_matchall_del() 57 static int lan966x_tc_matchall_stats(struct lan966x_port *port, in lan966x_tc_matchall_stats() 75 int lan966x_tc_matchall(struct lan966x_port *port, in lan966x_tc_matchall()
|
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_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 | 109 struct lan966x_port *port = netdev_priv(dev); in lan966x_port_unique_address() 127 struct lan966x_port *port = netdev_priv(dev); in lan966x_port_set_mac_address() 159 struct lan966x_port *port = netdev_priv(dev); in lan966x_port_get_phys_port_name() 171 struct lan966x_port *port = netdev_priv(dev); in lan966x_port_open() 199 struct lan966x_port *port = netdev_priv(dev); in lan966x_port_stop() 229 struct lan966x_port *port = netdev_priv(dev); in lan966x_port_ifh_xmit() 364 struct lan966x_port *port = netdev_priv(dev); in lan966x_port_xmit() 398 struct lan966x_port *port = netdev_priv(dev); in lan966x_port_change_mtu() 422 struct lan966x_port *port = netdev_priv(dev); in lan966x_mc_unsync() 430 struct lan966x_port *port = netdev_priv(dev); in lan966x_mc_sync() [all …]
|
D | lan966x_vcap_impl.c | 128 struct lan966x_port *port = netdev_priv(ndev); in lan966x_vcap_is1_get_port_keysets() 188 struct lan966x_port *port = netdev_priv(dev); in lan966x_vcap_is2_get_port_keysets() 322 static void lan966x_vcap_is1_add_default_fields(struct lan966x_port *port, in lan966x_vcap_is1_add_default_fields() 338 static void lan966x_vcap_is2_add_default_fields(struct lan966x_port *port, in lan966x_vcap_is2_add_default_fields() 357 static void lan966x_vcap_es0_add_default_fields(struct lan966x_port *port, in lan966x_vcap_es0_add_default_fields() 369 struct lan966x_port *port = netdev_priv(dev); in lan966x_vcap_add_default_fields() 436 struct lan966x_port *port = netdev_priv(dev); in lan966x_vcap_cache_write() 477 struct lan966x_port *port = netdev_priv(dev); in lan966x_vcap_cache_read() 515 struct lan966x_port *port = netdev_priv(dev); in lan966x_vcap_range_init() 527 struct lan966x_port *port = netdev_priv(dev); in lan966x_vcap_update() [all …]
|
D | lan966x_goto.c | 6 int lan966x_goto_port_add(struct lan966x_port *port, in lan966x_goto_port_add() 35 int lan966x_goto_port_del(struct lan966x_port *port, in lan966x_goto_port_del()
|
D | lan966x_dcb.c | 51 struct lan966x_port *port = netdev_priv(dev); in lan966x_dcb_app_update() 123 struct lan966x_port *port = netdev_priv(dev); in lan966x_dcb_ieee_dscp_setdel() 260 struct lan966x_port *port = netdev_priv(dev); in lan966x_dcb_setapptrust() 276 struct lan966x_port *port = netdev_priv(dev); in lan966x_dcb_getapptrust() 348 struct lan966x_port *port; in lan966x_dcb_init()
|
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() 437 struct lan966x_port *port = netdev_priv(dev); in lan966x_get_eth_rmon_stats() 511 struct lan966x_port *port = netdev_priv(ndev); in lan966x_get_link_ksettings() 519 struct lan966x_port *port = netdev_priv(ndev); in lan966x_set_link_ksettings() 527 struct lan966x_port *port = netdev_priv(dev); in lan966x_get_pauseparam() 535 struct lan966x_port *port = netdev_priv(dev); in lan966x_set_pauseparam() 543 struct lan966x_port *port = netdev_priv(dev); in lan966x_get_ts_info() [all …]
|
D | lan966x_vcap_debugfs.c | 8 static void lan966x_vcap_is1_port_keys(struct lan966x_port *port, in lan966x_vcap_is1_port_keys() 125 static void lan966x_vcap_is2_port_keys(struct lan966x_port *port, in lan966x_vcap_is2_port_keys() 195 static void lan966x_vcap_es0_port_keys(struct lan966x_port *port, in lan966x_vcap_es0_port_keys() 219 struct lan966x_port *port = netdev_priv(dev); in lan966x_vcap_port_info()
|
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_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_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()
|