Home
last modified time | relevance | path

Searched refs:prestera_port (Results 1 – 18 of 18) sorted by relevance

/linux/drivers/net/ethernet/marvell/prestera/
A Dprestera_hw.h115 struct prestera_port;
134 int prestera_hw_port_info_get(const struct prestera_port *port,
137 int prestera_hw_port_mac_mode_get(const struct prestera_port *port,
153 int prestera_hw_port_cap_get(const struct prestera_port *port,
156 int prestera_hw_port_autoneg_restart(struct prestera_port *port);
157 int prestera_hw_port_stats_get(const struct prestera_port *port,
163 int prestera_hw_port_accept_frm_type(struct prestera_port *port,
168 int prestera_hw_vlan_port_set(struct prestera_port *port, u16 vid,
200 int prestera_hw_acl_port_bind(const struct prestera_port *port,
202 int prestera_hw_acl_port_unbind(const struct prestera_port *port,
[all …]
A Dprestera_main.c57 struct prestera_port *port = NULL, *tmp; in prestera_port_find_by_hwid()
73 struct prestera_port *port = NULL, *tmp; in prestera_find_port()
111 struct prestera_port *port = netdev_priv(dev); in prestera_port_open()
249 struct prestera_port *port = in prestera_port_stats_update()
250 container_of(work, struct prestera_port, in prestera_port_stats_update()
322 struct prestera_port *port; in prestera_port_create()
473 struct prestera_port *port, *tmp; in prestera_destroy_ports()
481 struct prestera_port *port, *tmp; in prestera_create_ports()
504 struct prestera_port *port; in prestera_port_handle_event()
711 struct prestera_port **pport = (struct prestera_port **)priv->data; in prestera_lower_dev_walk()
[all …]
A Dprestera_switchdev.c65 struct prestera_port *port;
226 struct prestera_port *port = port_vlan->port; in prestera_port_vlan_bridge_leave()
255 struct prestera_port *port = port_vlan->port; in prestera_port_vlan_destroy()
483 struct prestera_port *port, in prestera_bridge_port_join()
572 struct prestera_port *port) in prestera_bridge_port_leave()
723 struct prestera_port *port = netdev_priv(dev); in prestera_port_obj_attr_set()
802 struct prestera_port *port; in prestera_fdb_event_work()
913 struct prestera_port *port = port_vlan->port; in prestera_port_vlan_bridge_join()
1055 struct prestera_port *port = netdev_priv(dev); in prestera_port_obj_add()
1092 struct prestera_port *port = netdev_priv(dev); in prestera_port_obj_del()
[all …]
A Dprestera_devlink.h15 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,
A Dprestera.h107 struct prestera_port { struct
277 struct prestera_port *prestera_port_find_by_hwid(struct prestera_switch *sw,
280 int prestera_port_autoneg_set(struct prestera_port *port, u64 link_modes);
282 struct prestera_port *prestera_find_port(struct prestera_switch *sw, u32 id);
284 int prestera_port_cfg_mac_read(struct prestera_port *port,
287 int prestera_port_cfg_mac_write(struct prestera_port *port,
290 struct prestera_port *prestera_port_dev_lower_find(struct net_device *dev);
292 int prestera_port_pvid_set(struct prestera_port *port, u16 vid);
296 bool prestera_port_is_lag_member(const struct prestera_port *port);
300 u16 prestera_port_lag_id(const struct prestera_port *port);
A Dprestera_ethtool.c300 struct prestera_port *port = netdev_priv(dev); in prestera_ethtool_get_drvinfo()
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()
568 struct prestera_port *port) in prestera_port_mdix_set()
630 struct prestera_port *port) in prestera_port_speed_duplex_set()
646 struct prestera_port *port = netdev_priv(dev); in prestera_ethtool_set_link_ksettings()
[all …]
A Dprestera_hw.c764 int prestera_hw_port_info_get(const struct prestera_port *port, in prestera_hw_port_info_get()
844 int prestera_hw_port_mac_mode_get(const struct prestera_port *port, in prestera_hw_port_mac_mode_get()
875 int prestera_hw_port_mac_mode_set(const struct prestera_port *port, in prestera_hw_port_mac_mode_set()
901 int prestera_hw_port_phy_mode_get(const struct prestera_port *port, in prestera_hw_port_phy_mode_get()
986 int prestera_hw_port_accept_frm_type(struct prestera_port *port, in prestera_hw_port_accept_frm_type()
1002 int prestera_hw_port_cap_get(const struct prestera_port *port, in prestera_hw_port_cap_get()
1256 int prestera_hw_acl_port_unbind(const struct prestera_port *port, in prestera_hw_acl_port_unbind()
1300 int prestera_hw_span_unbind(const struct prestera_port *port) in prestera_hw_span_unbind()
1361 int prestera_hw_port_autoneg_restart(struct prestera_port *port) in prestera_hw_port_autoneg_restart()
1374 int prestera_hw_port_stats_get(const struct prestera_port *port, in prestera_hw_port_stats_get()
[all …]
A Dprestera_span.c14 struct prestera_port *port;
25 prestera_span_entry_create(struct prestera_port *port, u8 span_id) in prestera_span_entry_create()
62 struct prestera_port *port) in prestera_span_entry_find_by_port()
74 static int prestera_span_get(struct prestera_port *port, u8 *span_id) in prestera_span_get()
123 struct prestera_port *to_port) in prestera_span_rule_add()
169 struct prestera_port *port; in prestera_span_replace()
A Dprestera_rxtx.h10 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);
A Dprestera_acl.h32 struct prestera_port;
38 struct prestera_port *port;
90 struct prestera_port *port);
92 struct prestera_port *port);
A Dprestera_flow.h9 struct prestera_port;
11 int prestera_flow_block_setup(struct prestera_port *port,
A Dprestera_ethtool.h10 struct prestera_port;
14 void prestera_ethtool_port_state_changed(struct prestera_port *port,
A Dprestera_switchdev.h11 struct prestera_port *port,
15 struct prestera_port *port);
A Dprestera_flow.c116 static int prestera_setup_flow_block_bind(struct prestera_port *port, in prestera_setup_flow_block_bind()
149 static void prestera_setup_flow_block_unbind(struct prestera_port *port, in prestera_setup_flow_block_unbind()
177 int prestera_flow_block_setup(struct prestera_port *port, in prestera_flow_block_setup()
A Dprestera_devlink.c420 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()
A Dprestera_acl.c108 struct prestera_port *port) in prestera_acl_block_lookup()
120 struct prestera_port *port) in prestera_acl_block_bind()
147 struct prestera_port *port) in prestera_acl_block_unbind()
A Dprestera_rxtx.c218 struct prestera_port *port; in prestera_rxtx_process_skb()
795 int prestera_rxtx_port_init(struct prestera_port *port) in prestera_rxtx_port_init()
801 netdev_tx_t prestera_rxtx_xmit(struct prestera_port *port, struct sk_buff *skb) in prestera_rxtx_xmit()
A Dprestera_flower.c55 struct prestera_port *port; in prestera_flower_parse_meta()

Completed in 34 milliseconds