/drivers/net/ethernet/microchip/sparx5/ |
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_ioctl() local 217 struct sparx5 *sparx5 = sparx5_port->sparx5; in sparx5_port_ioctl() 222 return sparx5_ptp_hwtstamp_set(sparx5_port, ifr); in sparx5_port_ioctl() [all …]
|
D | sparx5_port.h | 63 struct sparx5_port *spx5_port, 67 struct sparx5_port *spx5_port, 71 struct sparx5_port *port, 75 struct sparx5_port *spx5_port, 88 struct sparx5_port *port, 91 void sparx5_port_enable(struct sparx5_port *port, bool enable);
|
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() 100 struct sparx5_port *port = sparx5_pcs_to_port(pcs); in sparx5_pcs_config()
|
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 …]
|
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);
|
D | sparx5_port.c | 78 struct sparx5_port *port, in sparx5_get_dev2g5_status() 121 struct sparx5_port *port, in sparx5_get_sfi_status() 160 struct sparx5_port *port, in sparx5_get_port_status() 188 static int sparx5_port_error(struct sparx5_port *port, in sparx5_port_error() 212 struct sparx5_port *port, in sparx5_port_verify_speed() 264 struct sparx5_port *port, in sparx5_dev_change() 315 static int sparx5_port_disable(struct sparx5 *sparx5, struct sparx5_port *port, bool high_spd_dev) in sparx5_port_disable() 516 struct sparx5_port *port, in sparx5_port_mux_set() 552 struct sparx5_port *port) in sparx5_port_max_tags_set() 635 struct sparx5_port *port, in sparx5_port_fc_setup() [all …]
|
D | sparx5_main.h | 166 struct sparx5_port { struct 241 struct sparx5_port *ports[SPX5_PORTS]; 311 void sparx5_port_inj_timer_setup(struct sparx5_port *port); 342 void sparx5_pgid_update_mask(struct sparx5_port *port, int pgid, bool enable); 348 int sparx5_vlan_vid_add(struct sparx5_port *port, u16 vid, bool pvid, 350 int sparx5_vlan_vid_del(struct sparx5_port *port, u16 vid); 351 void sparx5_vlan_port_apply(struct sparx5 *sparx5, struct sparx5_port *port); 376 int sparx5_ptp_hwtstamp_set(struct sparx5_port *port, struct ifreq *ifr); 377 int sparx5_ptp_hwtstamp_get(struct sparx5_port *port, struct ifreq *ifr); 380 int sparx5_ptp_txtstamp_request(struct sparx5_port *port, [all …]
|
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()
|
D | sparx5_ptp.c | 77 int sparx5_ptp_hwtstamp_set(struct sparx5_port *port, struct ifreq *ifr) in sparx5_ptp_hwtstamp_set() 140 int sparx5_ptp_hwtstamp_get(struct sparx5_port *port, struct ifreq *ifr) in sparx5_ptp_hwtstamp_get() 150 static void sparx5_ptp_classify(struct sparx5_port *port, struct sk_buff *skb, in sparx5_ptp_classify() 205 static void sparx5_ptp_txtstamp_old_release(struct sparx5_port *port) in sparx5_ptp_txtstamp_old_release() 222 int sparx5_ptp_txtstamp_request(struct sparx5_port *port, in sparx5_ptp_txtstamp_request() 261 void sparx5_ptp_txtstamp_release(struct sparx5_port *port, in sparx5_ptp_txtstamp_release() 312 struct sparx5_port *port; in sparx5_ptp_irq_handler() 598 struct sparx5_port *port; in sparx5_ptp_init() 649 struct sparx5_port *port; in sparx5_ptp_deinit()
|
D | sparx5_packet.c | 59 struct sparx5_port *port; in sparx5_xtr_grp() 213 struct sparx5_port *port = netdev_priv(ndev); in sparx5_inject() 228 struct sparx5_port *port = netdev_priv(dev); in sparx5_port_xmit_impl() 283 struct sparx5_port *port = container_of(tmr, struct sparx5_port, in sparx5_injection_timeout() 357 void sparx5_port_inj_timer_setup(struct sparx5_port *port) in sparx5_port_inj_timer_setup()
|
D | sparx5_qos.c | 268 static int sparx5_shaper_conf_set(struct sparx5_port *port, in sparx5_shaper_conf_set() 305 static int sparx5_dwrr_conf_set(struct sparx5_port *port, in sparx5_dwrr_conf_set() 426 int sparx5_tc_tbf_add(struct sparx5_port *port, in sparx5_tc_tbf_add() 462 int sparx5_tc_tbf_del(struct sparx5_port *port, u32 layer, u32 idx) in sparx5_tc_tbf_del() 472 int sparx5_tc_ets_add(struct sparx5_port *port, in sparx5_tc_ets_add() 508 int sparx5_tc_ets_del(struct sparx5_port *port) in sparx5_tc_ets_del()
|
D | sparx5_tc.c | 40 struct sparx5_port *port = netdev_priv(ndev); in sparx5_tc_setup_qdisc_tbf() 66 struct sparx5_port *port = netdev_priv(ndev); in sparx5_tc_setup_qdisc_ets()
|
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() 1022 struct sparx5_port *port = netdev_priv(ndev); in sparx5_get_sset_data() 1052 struct sparx5_port *port = netdev_priv(ndev); in sparx5_get_stats64() 1147 struct sparx5_port *port = netdev_priv(ndev); in sparx5_get_link_settings() 1155 struct sparx5_port *port = netdev_priv(ndev); in sparx5_set_link_settings() [all …]
|
D | Makefile | 9 sparx5_netdev.o sparx5_phylink.o sparx5_port.o sparx5_mactable.o sparx5_vlan.o \
|
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()
|
D | sparx5_fdma.c | 209 struct sparx5_port *port; in sparx5_fdma_rx_get_frame() 447 struct sparx5_port *port = sparx5->ports[idx]; in sparx5_fdma_rx_init()
|
D | sparx5_calendar.c | 132 struct sparx5_port *port; in sparx5_get_port_cal_speed()
|
D | sparx5_main.c | 258 struct sparx5_port *spx5_port; in sparx5_create_port()
|