/linux/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_port.h | 74 struct sparx5_port *spx5_port, 78 struct sparx5_port *spx5_port, 82 struct sparx5_port *port, 86 struct sparx5_port *spx5_port, 99 struct sparx5_port *port, 102 void sparx5_port_enable(struct sparx5_port *port, bool enable); 157 int sparx5_port_qos_set(struct sparx5_port *port, struct sparx5_port_qos *qos); 159 int sparx5_port_qos_pcp_set(const struct sparx5_port *port, 162 int sparx5_port_qos_pcp_rewr_set(const struct sparx5_port *port, 165 int sparx5_port_qos_dscp_set(const struct sparx5_port *port, [all …]
|
H A D | sparx5_netdev.c | 100 struct sparx5_port *port = netdev_priv(ndev); in sparx5_port_open() 138 struct sparx5_port *port = netdev_priv(ndev); in sparx5_port_stop() 160 struct sparx5_port *port = netdev_priv(dev); in sparx5_set_rx_mode() 170 struct sparx5_port *port = netdev_priv(dev); in sparx5_port_get_phys_port_name() 182 struct sparx5_port *port = netdev_priv(dev); in sparx5_set_mac_address() 204 struct sparx5_port *sparx5_port = netdev_priv(dev); in sparx5_get_port_parent_id() local 205 struct sparx5 *sparx5 = sparx5_port->sparx5; in sparx5_get_port_parent_id() 216 struct sparx5_port *sparx5_port = netdev_priv(dev); in sparx5_port_hwtstamp_get() local 217 struct sparx5 *sparx5 = sparx5_port->sparx5; in sparx5_port_hwtstamp_get() 222 sparx5_ptp_hwtstamp_get(sparx5_port, cfg); in sparx5_port_hwtstamp_get() [all …]
|
H A D | sparx5_qos.h | 70 int sparx5_tc_tbf_add(struct sparx5_port *port, 73 int sparx5_tc_tbf_del(struct sparx5_port *port, u32 layer, u32 idx); 77 int sparx5_tc_ets_add(struct sparx5_port *port, 80 int sparx5_tc_ets_del(struct sparx5_port *port);
|
H A D | sparx5_phylink.c | 33 struct sparx5_port *port = netdev_priv(to_net_dev(config->dev)); in sparx5_phylink_mac_select_pcs() 52 struct sparx5_port *port = netdev_priv(to_net_dev(config->dev)); in sparx5_phylink_mac_link_up() 75 static struct sparx5_port *sparx5_pcs_to_port(struct phylink_pcs *pcs) in sparx5_pcs_to_port() 77 return container_of(pcs, struct sparx5_port, phylink_pcs); in sparx5_pcs_to_port() 83 struct sparx5_port *port = sparx5_pcs_to_port(pcs); in sparx5_pcs_get_state() 99 struct sparx5_port *port = sparx5_pcs_to_port(pcs); in sparx5_pcs_config()
|
H A D | sparx5_port.c | 79 struct sparx5_port *port, in sparx5_get_dev2g5_status() 122 struct sparx5_port *port, in sparx5_get_sfi_status() 161 struct sparx5_port *port, in sparx5_get_port_status() 189 static int sparx5_port_error(struct sparx5_port *port, in sparx5_port_error() 213 struct sparx5_port *port, in sparx5_port_verify_speed() 265 struct sparx5_port *port, in sparx5_dev_change() 316 static int sparx5_port_disable(struct sparx5 *sparx5, struct sparx5_port *port, bool high_spd_dev) in sparx5_port_disable() 517 struct sparx5_port *port, in sparx5_port_mux_set() 553 struct sparx5_port *port) in sparx5_port_max_tags_set() 636 struct sparx5_port *port, in sparx5_port_fc_setup() [all …]
|
H A D | sparx5_switchdev.c | 23 static int sparx5_port_attr_pre_bridge_flags(struct sparx5_port *port, in sparx5_port_attr_pre_bridge_flags() 32 static void sparx5_port_update_mcast_ip_flood(struct sparx5_port *port, bool flood_flag) in sparx5_port_update_mcast_ip_flood() 41 static void sparx5_port_attr_bridge_flags(struct sparx5_port *port, in sparx5_port_attr_bridge_flags() 55 static void sparx5_attr_stp_state_set(struct sparx5_port *port, in sparx5_attr_stp_state_set() 85 static void sparx5_port_attr_ageing_set(struct sparx5_port *port, in sparx5_port_attr_ageing_set() 94 static void sparx5_port_attr_mrouter_set(struct sparx5_port *port, in sparx5_port_attr_mrouter_set() 129 struct sparx5_port *port = netdev_priv(dev); in sparx5_port_attr_set() 165 static int sparx5_port_bridge_join(struct sparx5_port *port, in sparx5_port_bridge_join() 205 static void sparx5_port_bridge_leave(struct sparx5_port *port, in sparx5_port_bridge_leave() 231 struct sparx5_port *port = netdev_priv(dev); in sparx5_port_changeupper() [all …]
|
H A D | sparx5_main.h | 145 struct sparx5_port { struct 211 struct sparx5_port *port; 216 struct sparx5_port *port; 238 struct sparx5_port *ports[SPX5_PORTS]; 313 void sparx5_port_inj_timer_setup(struct sparx5_port *port); 344 void sparx5_pgid_update_mask(struct sparx5_port *port, int pgid, bool enable); 350 int sparx5_vlan_vid_add(struct sparx5_port *port, u16 vid, bool pvid, 352 int sparx5_vlan_vid_del(struct sparx5_port *port, u16 vid); 353 void sparx5_vlan_port_apply(struct sparx5 *sparx5, struct sparx5_port *port); 388 int sparx5_ptp_hwtstamp_set(struct sparx5_port *port, [all …]
|
H A D | sparx5_mirror.c | 113 static int sparx5_mirror_get(struct sparx5_port *sport, in sparx5_mirror_get() 114 struct sparx5_port *mport, u32 dir, u32 *idx) in sparx5_mirror_get() 149 struct sparx5_port *sport, *mport; in sparx5_mirror_add() 185 struct sparx5_port *port = entry->port; in sparx5_mirror_del() 203 struct sparx5_port *port = entry->port; in sparx5_mirror_stats()
|
H A D | sparx5_dcb.c | 138 struct sparx5_port *port = netdev_priv(dev); in sparx5_dcb_app_update() 236 struct sparx5_port *port = netdev_priv(dev); in sparx5_dcb_ieee_dscp_setdel() 237 struct sparx5_port *port_itr; in sparx5_dcb_ieee_dscp_setdel() 302 struct sparx5_port *port = netdev_priv(dev); in sparx5_dcb_setapptrust() 317 struct sparx5_port *port = netdev_priv(dev); in sparx5_dcb_getapptrust() 386 struct sparx5_port *port; in sparx5_dcb_init()
|
H A D | sparx5_vlan.c | 44 struct sparx5_port *port = sparx5->ports[portno]; in sparx5_vlan_port_setup() 55 int sparx5_vlan_vid_add(struct sparx5_port *port, u16 vid, bool pvid, in sparx5_vlan_vid_add() 87 int sparx5_vlan_vid_del(struct sparx5_port *port, u16 vid) in sparx5_vlan_vid_del() 118 void sparx5_pgid_update_mask(struct sparx5_port *port, int pgid, bool enable) in sparx5_pgid_update_mask() 200 struct sparx5_port *port) in sparx5_vlan_port_apply()
|
H A D | sparx5_tc_matchall.c | 27 static void sparx5_tc_matchall_parse_action(struct sparx5_port *port, in sparx5_tc_matchall_parse_action() 50 struct sparx5_port *port = netdev_priv(ndev); in sparx5_tc_matchall_replace() 142 struct sparx5_port *port = netdev_priv(ndev); in sparx5_tc_matchall_destroy() 171 struct sparx5_port *port = netdev_priv(ndev); in sparx5_tc_matchall_stats()
|
H A D | sparx5_ptp.c | 77 int sparx5_ptp_hwtstamp_set(struct sparx5_port *port, in sparx5_ptp_hwtstamp_set() 138 void sparx5_ptp_hwtstamp_get(struct sparx5_port *port, in sparx5_ptp_hwtstamp_get() 148 static void sparx5_ptp_classify(struct sparx5_port *port, struct sk_buff *skb, in sparx5_ptp_classify() 203 static void sparx5_ptp_txtstamp_old_release(struct sparx5_port *port) in sparx5_ptp_txtstamp_old_release() 220 int sparx5_ptp_txtstamp_request(struct sparx5_port *port, in sparx5_ptp_txtstamp_request() 259 void sparx5_ptp_txtstamp_release(struct sparx5_port *port, in sparx5_ptp_txtstamp_release() 310 struct sparx5_port *port; in sparx5_ptp_irq_handler() 595 struct sparx5_port *port; in sparx5_ptp_init() 646 struct sparx5_port *port; in sparx5_ptp_deinit()
|
H A D | sparx5_packet.c | 63 struct sparx5_port *port; in sparx5_xtr_grp() 217 struct sparx5_port *port = netdev_priv(ndev); in sparx5_inject() 232 struct sparx5_port *port = netdev_priv(dev); in sparx5_port_xmit_impl() 287 struct sparx5_port *port = container_of(tmr, struct sparx5_port, in sparx5_injection_timeout() 361 void sparx5_port_inj_timer_setup(struct sparx5_port *port) in sparx5_port_inj_timer_setup()
|
H A D | sparx5_vcap_impl.c | 276 struct sparx5_port *port = netdev_priv(ndev); in sparx5_vcap_keyset_name() 311 struct sparx5_port *port = netdev_priv(ndev); in sparx5_vcap_add_ingress_range_port_mask() 327 struct sparx5_port *port = netdev_priv(ndev); in sparx5_vcap_add_wide_port_mask() 342 struct sparx5_port *port = netdev_priv(ndev); in sparx5_vcap_add_egress_range_port_mask() 426 struct sparx5_port *port = netdev_priv(ndev); in sparx5_vcap_is0_get_port_keysets() 480 struct sparx5_port *port = netdev_priv(ndev); in sparx5_vcap_is2_get_port_keysets() 609 struct sparx5_port *port = netdev_priv(ndev); in sparx5_vcap_es0_get_port_keysets() 634 struct sparx5_port *port = netdev_priv(ndev); in sparx5_vcap_es2_get_port_keysets() 699 struct sparx5_port *port; in sparx5_vcap_get_port_keyset() 768 struct sparx5_port *port; in sparx5_vcap_validate_keyset() [all …]
|
H A D | sparx5_qos.c | 325 static int sparx5_shaper_conf_set(struct sparx5_port *port, in sparx5_shaper_conf_set() 362 static int sparx5_dwrr_conf_set(struct sparx5_port *port, in sparx5_dwrr_conf_set() 489 int sparx5_tc_tbf_add(struct sparx5_port *port, in sparx5_tc_tbf_add() 525 int sparx5_tc_tbf_del(struct sparx5_port *port, u32 layer, u32 idx) in sparx5_tc_tbf_del() 535 int sparx5_tc_ets_add(struct sparx5_port *port, in sparx5_tc_ets_add() 571 int sparx5_tc_ets_del(struct sparx5_port *port) in sparx5_tc_ets_del()
|
H A D | sparx5_vcap_debugfs.c | 78 struct sparx5_port *port, in sparx5_vcap_is0_port_keys() 121 struct sparx5_port *port, in sparx5_vcap_is2_port_keys() 289 struct sparx5_port *port, in sparx5_vcap_es0_port_keys() 327 struct sparx5_port *port, in sparx5_vcap_es2_port_keys() 443 struct sparx5_port *port = netdev_priv(ndev); in sparx5_port_info()
|
H A D | sparx5_tc.c | 90 struct sparx5_port *port = netdev_priv(ndev); in sparx5_tc_setup_qdisc_tbf() 116 struct sparx5_port *port = netdev_priv(ndev); in sparx5_tc_setup_qdisc_ets()
|
H A D | sparx5_ethtool.c | 814 struct sparx5_port *port = netdev_priv(ndev); in sparx5_get_eth_phy_stats() 839 struct sparx5_port *port = netdev_priv(ndev); in sparx5_get_eth_mac_stats() 907 struct sparx5_port *port = netdev_priv(ndev); in sparx5_get_eth_mac_ctrl_stats() 939 struct sparx5_port *port = netdev_priv(ndev); in sparx5_get_eth_rmon_stats() 997 struct sparx5_port *port = netdev_priv(ndev); in sparx5_get_sset_count() 1007 struct sparx5_port *port = netdev_priv(ndev); in sparx5_get_sset_strings() 1021 struct sparx5_port *port = netdev_priv(ndev); in sparx5_get_sset_data() 1051 struct sparx5_port *port = netdev_priv(ndev); in sparx5_get_stats64() 1146 struct sparx5_port *port = netdev_priv(ndev); in sparx5_get_link_settings() 1154 struct sparx5_port *port = netdev_priv(ndev); in sparx5_set_link_settings() [all …]
|
H A D | sparx5_tc_flower.c | 401 struct sparx5_port *port = netdev_priv(ndev); in sparx5_tc_select_protocol_keyset() 1033 struct sparx5_port *port = netdev_priv(ndev); in sparx5_tc_flower_set_port_mask() 1141 struct sparx5_port *port = netdev_priv(ndev); in sparx5_tc_flower_use_template() 1168 struct sparx5_port *port = netdev_priv(ndev); in sparx5_tc_flower_replace() 1362 struct sparx5_port *port = netdev_priv(ndev); in sparx5_tc_free_rule_resources() 1381 struct sparx5_port *port = netdev_priv(ndev); in sparx5_tc_flower_destroy() 1415 struct sparx5_port *port = netdev_priv(ndev); in sparx5_tc_flower_stats() 1434 struct sparx5_port *port = netdev_priv(ndev); in sparx5_tc_flower_template_create() 1524 struct sparx5_port *port = netdev_priv(ndev); in sparx5_tc_flower_template_destroy() 1547 struct sparx5_port *port = netdev_priv(ndev); in sparx5_tc_flower()
|
H A D | Makefile | 9 sparx5_netdev.o sparx5_phylink.o sparx5_port.o sparx5_mactable.o sparx5_vlan.o \
|
H A D | sparx5_mactable.c | 120 struct sparx5_port *port = netdev_priv(dev); in sparx5_mc_unsync() 128 struct sparx5_port *port = netdev_priv(dev); in sparx5_mc_sync()
|
H A D | sparx5_fdma.c | 145 struct sparx5_port *port; in sparx5_fdma_rx_get_frame() 300 struct sparx5_port *port = sparx5->ports[idx]; in sparx5_fdma_rx_init()
|
H A D | sparx5_calendar.c | 132 struct sparx5_port *port; in sparx5_get_port_cal_speed()
|
H A D | sparx5_main.c | 261 struct sparx5_port *spx5_port; in sparx5_create_port()
|