Searched refs:lan966x_port (Results 1 - 25 of 29) sorted by relevance

12

/linux-master/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_mqprio.c5 int lan966x_mqprio_add(struct lan966x_port *port, u8 num_tc)
23 int lan966x_mqprio_del(struct lan966x_port *port)
H A Dlan966x_main.h200 struct lan966x_port;
321 struct lan966x_port **ports;
382 struct lan966x_port *mirror_monitor;
440 struct lan966x_port { struct
496 void lan966x_port_config_down(struct lan966x_port *port);
497 void lan966x_port_config_up(struct lan966x_port *port);
498 void lan966x_port_status_get(struct lan966x_port *port,
500 int lan966x_port_pcs_set(struct lan966x_port *port,
502 void lan966x_port_init(struct lan966x_port *port);
504 void lan966x_port_qos_set(struct lan966x_port *por
[all...]
H A Dlan966x_phylink.c14 struct lan966x_port *port = netdev_priv(to_net_dev(config->dev));
29 struct lan966x_port *port = netdev_priv(to_net_dev(config->dev));
53 struct lan966x_port *port = netdev_priv(to_net_dev(config->dev));
72 struct lan966x_port *port = netdev_priv(to_net_dev(config->dev));
85 static struct lan966x_port *lan966x_pcs_to_port(struct phylink_pcs *pcs)
87 return container_of(pcs, struct lan966x_port, phylink_pcs);
93 struct lan966x_port *port = lan966x_pcs_to_port(pcs);
103 struct lan966x_port *port = lan966x_pcs_to_port(pcs);
H A Dlan966x_tc.c10 static int lan966x_tc_setup_qdisc_mqprio(struct lan966x_port *port,
21 static int lan966x_tc_setup_qdisc_taprio(struct lan966x_port *port,
34 static int lan966x_tc_setup_qdisc_tbf(struct lan966x_port *port,
49 static int lan966x_tc_setup_qdisc_cbs(struct lan966x_port *port,
56 static int lan966x_tc_setup_qdisc_ets(struct lan966x_port *port,
74 struct lan966x_port *port = cb_priv;
98 static int lan966x_tc_setup_block(struct lan966x_port *port,
122 struct lan966x_port *port = netdev_priv(dev);
H A Dlan966x_goto.c6 int lan966x_goto_port_add(struct lan966x_port *port,
35 int lan966x_goto_port_del(struct lan966x_port *port,
H A Dlan966x_tc_matchall.c5 static int lan966x_tc_matchall_add(struct lan966x_port *port,
39 static int lan966x_tc_matchall_del(struct lan966x_port *port,
57 static int lan966x_tc_matchall_stats(struct lan966x_port *port,
75 int lan966x_tc_matchall(struct lan966x_port *port,
H A Dlan966x_xdp.c11 struct lan966x_port *port = netdev_priv(dev);
58 struct lan966x_port *port = netdev_priv(dev);
75 int lan966x_xdp_run(struct lan966x_port *port, struct page *page, u32 data_len)
124 int lan966x_xdp_port_init(struct lan966x_port *port)
132 void lan966x_xdp_port_deinit(struct lan966x_port *port)
H A Dlan966x_lag.c30 struct lan966x_port *port = lan966x->ports[p];
40 struct lan966x_port *port = lan966x->ports[lag];
53 struct lan966x_port *port = lan966x->ports[p];
82 struct lan966x_port *port = lan966x->ports[p];
95 struct lan966x_port *port;
124 int lan966x_lag_port_join(struct lan966x_port *port,
166 void lan966x_lag_port_leave(struct lan966x_port *port, struct net_device *bond)
195 struct lan966x_port *port = lan966x->ports[p];
210 struct lan966x_port *port = netdev_priv(dev);
268 struct lan966x_port *por
[all...]
H A Dlan966x_mirror.c5 int lan966x_mirror_port_add(struct lan966x_port *port,
12 struct lan966x_port *monitor_port;
65 int lan966x_mirror_port_del(struct lan966x_port *port,
103 void lan966x_mirror_port_stats(struct lan966x_port *port,
H A Dlan966x_vlan.c54 static void lan966x_vlan_port_add_vlan_mask(struct lan966x_port *port, u16 vid)
63 static void lan966x_vlan_port_del_vlan_mask(struct lan966x_port *port, u16 vid)
104 static u16 lan966x_vlan_port_get_pvid(struct lan966x_port *port)
114 int lan966x_vlan_port_set_vid(struct lan966x_port *port, u16 vid,
137 static void lan966x_vlan_port_remove_vid(struct lan966x_port *port, u16 vid)
146 void lan966x_vlan_port_set_vlan_aware(struct lan966x_port *port,
152 void lan966x_vlan_port_apply(struct lan966x_port *port)
213 void lan966x_vlan_port_add_vlan(struct lan966x_port *port,
236 void lan966x_vlan_port_del_vlan(struct lan966x_port *port, u16 vid)
H A Dlan966x_switchdev.c10 static void lan966x_port_set_mcast_ip_flood(struct lan966x_port *port,
41 static void lan966x_port_set_mcast_flood(struct lan966x_port *port,
62 static void lan966x_port_set_ucast_flood(struct lan966x_port *port,
78 static void lan966x_port_set_bcast_flood(struct lan966x_port *port,
94 static void lan966x_port_set_learning(struct lan966x_port *port, bool enabled)
103 static void lan966x_port_bridge_flags(struct lan966x_port *port,
123 static int lan966x_port_pre_bridge_flags(struct lan966x_port *port,
138 struct lan966x_port *port = lan966x->ports[i];
156 void lan966x_port_stp_state_set(struct lan966x_port *port, u8 state)
177 void lan966x_port_ageing_set(struct lan966x_port *por
[all...]
H A Dlan966x_cbs.c5 int lan966x_cbs_add(struct lan966x_port *port,
51 int lan966x_cbs_del(struct lan966x_port *port,
H A Dlan966x_port.c25 static void lan966x_port_link_down(struct lan966x_port *port)
144 static void lan966x_port_link_up(struct lan966x_port *port)
277 void lan966x_port_config_down(struct lan966x_port *port)
282 void lan966x_port_config_up(struct lan966x_port *port)
287 void lan966x_port_status_get(struct lan966x_port *port,
331 int lan966x_port_pcs_set(struct lan966x_port *port,
398 static void lan966x_port_qos_pcp_set(struct lan966x_port *port,
422 static void lan966x_port_qos_dscp_set(struct lan966x_port *port,
447 static int lan966x_port_qos_default_set(struct lan966x_port *port,
467 static void lan966x_port_qos_pcp_rewr_set(struct lan966x_port *por
[all...]
H A Dlan966x_taprio.c41 static u32 lan966x_taprio_list_index(struct lan966x_port *port, u8 entry)
46 static u32 lan966x_taprio_list_state_get(struct lan966x_port *port)
55 static u32 lan966x_taprio_list_index_state_get(struct lan966x_port *port,
67 static void lan966x_taprio_list_state_set(struct lan966x_port *port,
77 static int lan966x_taprio_list_shutdown(struct lan966x_port *port,
150 static int lan966x_taprio_shutdown(struct lan966x_port *port)
172 static int lan966x_taprio_find_list(struct lan966x_port *port,
268 static int lan966x_taprio_gcl_free_get(struct lan966x_port *port,
308 static void lan966x_taprio_gcl_setup_entry(struct lan966x_port *port,
327 static int lan966x_taprio_gcl_setup(struct lan966x_port *por
[all...]
H A DMakefile8 lan966x-switch-objs := lan966x_main.o lan966x_phylink.o lan966x_port.o \
H A Dlan966x_tbf.c5 int lan966x_tbf_add(struct lan966x_port *port,
55 int lan966x_tbf_del(struct lan966x_port *port,
H A Dlan966x_ets.c18 int lan966x_ets_add(struct lan966x_port *port,
77 int lan966x_ets_del(struct lan966x_port *port,
H A Dlan966x_police.c18 static int lan966x_police_add(struct lan966x_port *port,
52 static void lan966x_police_del(struct lan966x_port *port, u16 pol_idx)
71 static int lan966x_police_validate(struct lan966x_port *port,
132 int lan966x_police_port_add(struct lan966x_port *port,
181 int lan966x_police_port_del(struct lan966x_port *port,
206 void lan966x_police_port_stats(struct lan966x_port *port,
H A Dlan966x_ptp.c51 static int lan966x_ptp_add_trap(struct lan966x_port *port, argument
53 struct lan966x_port*),
100 static int lan966x_ptp_del_trap(struct lan966x_port *port,
130 struct lan966x_port *port)
136 struct lan966x_port *port)
143 struct lan966x_port *port)
149 static int lan966x_ptp_add_l2_rule(struct lan966x_port *port)
155 static int lan966x_ptp_add_ipv4_rules(struct lan966x_port *port)
172 static int lan966x_ptp_add_ipv6_rules(struct lan966x_port *port)
189 static int lan966x_ptp_del_l2_rule(struct lan966x_port *por
[all...]
H A Dlan966x_vcap_debugfs.c8 static void lan966x_vcap_is1_port_keys(struct lan966x_port *port,
125 static void lan966x_vcap_is2_port_keys(struct lan966x_port *port,
195 static void lan966x_vcap_es0_port_keys(struct lan966x_port *port,
219 struct lan966x_port *port = netdev_priv(dev);
H A Dlan966x_dcb.c51 struct lan966x_port *port = netdev_priv(dev);
123 struct lan966x_port *port = netdev_priv(dev);
260 struct lan966x_port *port = netdev_priv(dev);
276 struct lan966x_port *port = netdev_priv(dev);
348 struct lan966x_port *port;
H A Dlan966x_main.c109 struct lan966x_port *port = netdev_priv(dev);
127 struct lan966x_port *port = netdev_priv(dev);
159 struct lan966x_port *port = netdev_priv(dev);
171 struct lan966x_port *port = netdev_priv(dev);
199 struct lan966x_port *port = netdev_priv(dev);
229 struct lan966x_port *port = netdev_priv(dev);
364 struct lan966x_port *port = netdev_priv(dev);
398 struct lan966x_port *port = netdev_priv(dev);
422 struct lan966x_port *port = netdev_priv(dev);
430 struct lan966x_port *por
[all...]
H A Dlan966x_fdb.c139 struct lan966x_port *port;
205 struct lan966x_port *port;
251 struct lan966x_port *port = netdev_priv(dev);
H A Dlan966x_ethtool.c318 struct lan966x_port *port = netdev_priv(dev);
329 struct lan966x_port *port = netdev_priv(netdev);
344 struct lan966x_port *port = netdev_priv(dev);
360 struct lan966x_port *port = netdev_priv(dev);
445 struct lan966x_port *port = netdev_priv(dev);
519 struct lan966x_port *port = netdev_priv(ndev);
527 struct lan966x_port *port = netdev_priv(ndev);
535 struct lan966x_port *port = netdev_priv(dev);
543 struct lan966x_port *port = netdev_priv(dev);
551 struct lan966x_port *por
[all...]
H A Dlan966x_vcap_impl.c128 struct lan966x_port *port = netdev_priv(ndev);
188 struct lan966x_port *port = netdev_priv(dev);
322 static void lan966x_vcap_is1_add_default_fields(struct lan966x_port *port,
338 static void lan966x_vcap_is2_add_default_fields(struct lan966x_port *port,
357 static void lan966x_vcap_es0_add_default_fields(struct lan966x_port *port,
369 struct lan966x_port *port = netdev_priv(dev);
436 struct lan966x_port *port = netdev_priv(dev);
477 struct lan966x_port *port = netdev_priv(dev);
515 struct lan966x_port *port = netdev_priv(dev);
527 struct lan966x_port *por
[all...]

Completed in 197 milliseconds

12