/Linux-v6.1/drivers/net/ethernet/marvell/prestera/ |
D | prestera_hw.h | 133 struct prestera_port; 158 int prestera_hw_port_info_get(const struct prestera_port *port, 161 int prestera_hw_port_mac_mode_get(const struct prestera_port *port, 163 int prestera_hw_port_mac_mode_set(const struct prestera_port *port, 166 int prestera_hw_port_phy_mode_get(const struct prestera_port *port, 169 int prestera_hw_port_phy_mode_set(const struct prestera_port *port, 173 int prestera_hw_port_mtu_set(const struct prestera_port *port, u32 mtu); 174 int prestera_hw_port_mtu_get(const struct prestera_port *port, u32 *mtu); 175 int prestera_hw_port_mac_set(const struct prestera_port *port, const char *mac); 176 int prestera_hw_port_mac_get(const struct prestera_port *port, char *mac); [all …]
|
D | prestera_main.c | 50 int prestera_port_learning_set(struct prestera_port *port, bool learn) in prestera_port_learning_set() 55 int prestera_port_uc_flood_set(struct prestera_port *port, bool flood) in prestera_port_uc_flood_set() 60 int prestera_port_mc_flood_set(struct prestera_port *port, bool flood) in prestera_port_mc_flood_set() 65 int prestera_port_br_locked_set(struct prestera_port *port, bool br_locked) in prestera_port_br_locked_set() 70 int prestera_port_pvid_set(struct prestera_port *port, u16 vid) in prestera_port_pvid_set() 93 struct prestera_port *prestera_port_find_by_hwid(struct prestera_switch *sw, in prestera_port_find_by_hwid() 96 struct prestera_port *port = NULL, *tmp; in prestera_port_find_by_hwid() 110 struct prestera_port *prestera_find_port(struct prestera_switch *sw, u32 id) in prestera_find_port() 112 struct prestera_port *port = NULL, *tmp; in prestera_find_port() 128 struct prestera_port *port; in prestera_switch_get() [all …]
|
D | prestera.h | 129 struct prestera_port { struct 354 struct prestera_port *prestera_port_find_by_hwid(struct prestera_switch *sw, 357 int prestera_port_autoneg_set(struct prestera_port *port, u64 link_modes); 362 struct prestera_port *prestera_find_port(struct prestera_switch *sw, u32 id); 366 int prestera_port_cfg_mac_read(struct prestera_port *port, 369 int prestera_port_cfg_mac_write(struct prestera_port *port, 372 struct prestera_port *prestera_port_dev_lower_find(struct net_device *dev); 378 int prestera_port_learning_set(struct prestera_port *port, bool learn_enable); 379 int prestera_port_uc_flood_set(struct prestera_port *port, bool flood); 380 int prestera_port_mc_flood_set(struct prestera_port *port, bool flood); [all …]
|
D | prestera_devlink.h | 15 int prestera_devlink_port_register(struct prestera_port *port); 16 void prestera_devlink_port_unregister(struct prestera_port *port); 18 void prestera_devlink_port_set(struct prestera_port *port); 19 void prestera_devlink_port_clear(struct prestera_port *port); 23 void prestera_devlink_trap_report(struct prestera_port *port,
|
D | prestera_switchdev.c | 70 struct prestera_port *port; 93 static int prestera_port_vid_stp_set(struct prestera_port *port, u16 vid, 141 struct prestera_port *port) in prestera_br_port_flags_reset() 150 struct prestera_port *port) in prestera_br_port_flags_set() 240 prestera_port_vlan_by_vid(struct prestera_port *port, u16 vid) in prestera_port_vlan_by_vid() 253 prestera_port_vlan_create(struct prestera_port *port, u16 vid, bool untagged) in prestera_port_vlan_create() 284 static int prestera_fdb_add(struct prestera_port *port, in prestera_fdb_add() 294 static int prestera_fdb_del(struct prestera_port *port, in prestera_fdb_del() 304 static int prestera_fdb_flush_port_vlan(struct prestera_port *port, u16 vid, in prestera_fdb_flush_port_vlan() 314 static int prestera_fdb_flush_port(struct prestera_port *port, u32 mode) in prestera_fdb_flush_port() [all …]
|
D | prestera_rxtx.h | 10 struct prestera_port; 15 int prestera_rxtx_port_init(struct prestera_port *port); 17 netdev_tx_t prestera_rxtx_xmit(struct prestera_port *port, struct sk_buff *skb);
|
D | prestera_flow.h | 9 struct prestera_port; 14 struct prestera_port *port; 34 int prestera_flow_block_setup(struct prestera_port *port,
|
D | prestera_flow.c | 116 struct prestera_port *port) in prestera_flow_block_lookup() 128 struct prestera_port *port) in prestera_flow_block_bind() 155 struct prestera_port *port) in prestera_flow_block_unbind() 219 static int prestera_setup_flow_block_bind(struct prestera_port *port, in prestera_setup_flow_block_bind() 256 static void prestera_setup_flow_block_unbind(struct prestera_port *port, in prestera_setup_flow_block_unbind() 287 static int prestera_setup_flow_block_clsact(struct prestera_port *port, in prestera_setup_flow_block_clsact() 304 int prestera_flow_block_setup(struct prestera_port *port, in prestera_flow_block_setup()
|
D | prestera_span.c | 15 struct prestera_port *port; 26 prestera_span_entry_create(struct prestera_port *port, u8 span_id) in prestera_span_entry_create() 63 struct prestera_port *port) in prestera_span_entry_find_by_port() 75 static int prestera_span_get(struct prestera_port *port, u8 *span_id) in prestera_span_get() 124 struct prestera_port *to_port, in prestera_span_rule_add()
|
D | prestera_ethtool.c | 300 struct prestera_port *port = netdev_priv(dev); in prestera_ethtool_get_drvinfo() 313 static u8 prestera_port_type_get(struct prestera_port *port) in prestera_port_type_get() 322 struct prestera_port *port) in prestera_port_type_set() 412 struct prestera_port *port) in prestera_port_supp_types_get() 429 struct prestera_port *port) in prestera_port_remote_cap_get() 470 struct prestera_port *port) in prestera_port_link_mode_get() 498 struct prestera_port *port) in prestera_port_mdix_get() 516 struct prestera_port *port = netdev_priv(dev); in prestera_ethtool_get_link_ksettings() 571 struct prestera_port *port) in prestera_port_mdix_set() 587 static int prestera_port_link_mode_set(struct prestera_port *port, in prestera_port_link_mode_set() [all …]
|
D | prestera_switchdev.h | 11 struct prestera_port *port, 15 struct prestera_port *port);
|
D | prestera_span.h | 11 struct prestera_port; 19 struct prestera_port *to_port,
|
D | prestera_hw.c | 1021 int prestera_hw_port_info_get(const struct prestera_port *port, in prestera_hw_port_info_get() 1103 int prestera_hw_port_mac_mode_get(const struct prestera_port *port, in prestera_hw_port_mac_mode_get() 1134 int prestera_hw_port_mac_mode_set(const struct prestera_port *port, in prestera_hw_port_mac_mode_set() 1160 int prestera_hw_port_phy_mode_get(const struct prestera_port *port, in prestera_hw_port_phy_mode_get() 1190 int prestera_hw_port_phy_mode_set(const struct prestera_port *port, in prestera_hw_port_phy_mode_set() 1216 int prestera_hw_port_mtu_set(const struct prestera_port *port, u32 mtu) in prestera_hw_port_mtu_set() 1231 int prestera_hw_port_mac_set(const struct prestera_port *port, const char *mac) in prestera_hw_port_mac_set() 1245 int prestera_hw_port_accept_frm_type(struct prestera_port *port, in prestera_hw_port_accept_frm_type() 1261 int prestera_hw_port_cap_get(const struct prestera_port *port, in prestera_hw_port_cap_get() 1471 int prestera_hw_span_get(const struct prestera_port *port, u8 *span_id) in prestera_hw_span_get() [all …]
|
D | prestera_acl.h | 142 struct prestera_port *port; 194 struct prestera_port *port); 196 struct prestera_port *port);
|
D | prestera_devlink.c | 420 int prestera_devlink_port_register(struct prestera_port *port) in prestera_devlink_port_register() 443 void prestera_devlink_port_unregister(struct prestera_port *port) in prestera_devlink_port_unregister() 448 void prestera_devlink_port_set(struct prestera_port *port) in prestera_devlink_port_set() 453 void prestera_devlink_port_clear(struct prestera_port *port) in prestera_devlink_port_clear() 460 struct prestera_port *port = netdev_priv(dev); in prestera_devlink_get_port() 535 void prestera_devlink_trap_report(struct prestera_port *port, in prestera_devlink_trap_report()
|
D | prestera_ethtool.h | 10 struct prestera_port;
|
D | prestera_matchall.c | 68 struct prestera_port *port; in prestera_mall_replace()
|
D | prestera_rxtx.c | 218 struct prestera_port *port; in prestera_rxtx_process_skb() 800 int prestera_rxtx_port_init(struct prestera_port *port) in prestera_rxtx_port_init() 806 netdev_tx_t prestera_rxtx_xmit(struct prestera_port *port, struct sk_buff *skb) in prestera_rxtx_xmit()
|
D | prestera_acl.c | 322 struct prestera_port *port) in prestera_acl_ruleset_bind() 334 struct prestera_port *port) in prestera_acl_ruleset_unbind()
|
D | prestera_flower.c | 145 struct prestera_port *port; in prestera_flower_parse_meta()
|
D | prestera_router.c | 434 struct prestera_port *port; in prestera_neigh_iface_init() 1271 struct prestera_port *port = netdev_priv(port_dev); in __prestera_inetaddr_port_event()
|