Lines Matching +defs:val +defs:ds
86 static void xrs700x_get_strings(struct dsa_switch *ds, int port, in xrs700x_get_strings()
98 static int xrs700x_get_sset_count(struct dsa_switch *ds, int port, int sset) in xrs700x_get_sset_count()
159 static void xrs700x_get_ethtool_stats(struct dsa_switch *ds, int port, in xrs700x_get_ethtool_stats()
172 static void xrs700x_get_stats64(struct dsa_switch *ds, int port, in xrs700x_get_stats64()
226 static enum dsa_tag_protocol xrs700x_get_tag_protocol(struct dsa_switch *ds, in xrs700x_get_tag_protocol()
233 static int xrs700x_reset(struct dsa_switch *ds) in xrs700x_reset()
236 unsigned int val; in xrs700x_reset() local
255 static void xrs700x_port_stp_state_set(struct dsa_switch *ds, int port, in xrs700x_port_stp_state_set()
260 unsigned int val; in xrs700x_port_stp_state_set() local
297 static int xrs700x_port_add_bpdu_ipf(struct dsa_switch *ds, int port) in xrs700x_port_add_bpdu_ipf()
300 unsigned int val = 0; in xrs700x_port_add_bpdu_ipf() local
340 static int xrs700x_port_add_hsrsup_ipf(struct dsa_switch *ds, int port, in xrs700x_port_add_hsrsup_ipf()
344 unsigned int val = 0; in xrs700x_port_add_hsrsup_ipf() local
383 static int xrs700x_port_setup(struct dsa_switch *ds, int port) in xrs700x_port_setup()
387 unsigned int val = 0; in xrs700x_port_setup() local
417 static int xrs700x_setup(struct dsa_switch *ds) in xrs700x_setup()
437 static void xrs700x_teardown(struct dsa_switch *ds) in xrs700x_teardown()
444 static void xrs700x_phylink_get_caps(struct dsa_switch *ds, int port, in xrs700x_phylink_get_caps()
486 unsigned int val; in xrs700x_mac_link_up() local
508 static int xrs700x_bridge_common(struct dsa_switch *ds, int port, in xrs700x_bridge_common()
547 static int xrs700x_bridge_join(struct dsa_switch *ds, int port, in xrs700x_bridge_join()
554 static void xrs700x_bridge_leave(struct dsa_switch *ds, int port, in xrs700x_bridge_leave()
560 static int xrs700x_hsr_join(struct dsa_switch *ds, int port, in xrs700x_hsr_join()
564 unsigned int val = XRS_HSR_CFG_HSR_PRP; in xrs700x_hsr_join() local
658 static int xrs700x_hsr_leave(struct dsa_switch *ds, int port, in xrs700x_hsr_leave()
665 unsigned int val; in xrs700x_hsr_leave() local
765 struct dsa_switch *ds; in xrs700x_switch_alloc() local