Searched refs:ds (Results 1 – 4 of 4) sorted by relevance
92 struct dsa_switch *ds[DSA_MAX_SWITCHES]; member126 static inline bool dsa_is_cpu_port(struct dsa_switch *ds, int p) in dsa_is_cpu_port() argument128 return !!(ds->index == ds->dst->cpu_switch && p == ds->dst->cpu_port); in dsa_is_cpu_port()131 static inline u8 dsa_upstream_port(struct dsa_switch *ds) in dsa_upstream_port() argument133 struct dsa_switch_tree *dst = ds->dst; in dsa_upstream_port()141 if (dst->cpu_switch == ds->index) in dsa_upstream_port()144 return ds->pd->rtable[dst->cpu_switch]; in dsa_upstream_port()157 int (*setup)(struct dsa_switch *ds);158 int (*set_addr)(struct dsa_switch *ds, u8 *addr);163 int (*phy_read)(struct dsa_switch *ds, int port, int regnum);[all …]
36 ds, enumerator
20 __u16 ds; member
110 __u8 ds; member