Lines Matching defs:ds
256 struct dsa_switch *ds; member
491 static inline struct dsa_port *dsa_to_port(struct dsa_switch *ds, int p) in dsa_to_port()
529 static inline bool dsa_is_unused_port(struct dsa_switch *ds, int p) in dsa_is_unused_port()
534 static inline bool dsa_is_cpu_port(struct dsa_switch *ds, int p) in dsa_is_cpu_port()
539 static inline bool dsa_is_dsa_port(struct dsa_switch *ds, int p) in dsa_is_dsa_port()
544 static inline bool dsa_is_user_port(struct dsa_switch *ds, int p) in dsa_is_user_port()
589 static inline u32 dsa_user_ports(struct dsa_switch *ds) in dsa_user_ports()
600 static inline u32 dsa_cpu_ports(struct dsa_switch *ds) in dsa_cpu_ports()
612 static inline unsigned int dsa_routing_port(struct dsa_switch *ds, int device) in dsa_routing_port()
625 static inline unsigned int dsa_towards_port(struct dsa_switch *ds, int device, in dsa_towards_port()
635 static inline unsigned int dsa_upstream_port(struct dsa_switch *ds, int port) in dsa_upstream_port()
647 static inline bool dsa_is_upstream_port(struct dsa_switch *ds, int port) in dsa_is_upstream_port()
656 static inline bool dsa_is_downstream_port(struct dsa_switch *ds, int port) in dsa_is_downstream_port()
662 static inline unsigned int dsa_switch_upstream_port(struct dsa_switch *ds) in dsa_switch_upstream_port()
692 const struct dsa_switch *ds = dp->ds; in dsa_port_is_vlan_filtering() local
1275 struct dsa_switch *ds; member
1355 static inline int dsa_switch_suspend(struct dsa_switch *ds) in dsa_switch_suspend()
1359 static inline int dsa_switch_resume(struct dsa_switch *ds) in dsa_switch_resume()