Searched defs:a5psw (Results 1 – 2 of 2) sorted by relevance
| /Linux-v6.1/drivers/net/dsa/ |
| D | rzn1_a5psw.c | 71 static void a5psw_reg_writel(struct a5psw *a5psw, int offset, u32 value) in a5psw_reg_writel() 76 static u32 a5psw_reg_readl(struct a5psw *a5psw, int offset) in a5psw_reg_readl() 81 static void a5psw_reg_rmw(struct a5psw *a5psw, int offset, u32 mask, u32 val) in a5psw_reg_rmw() 102 static void a5psw_port_pattern_set(struct a5psw *a5psw, int port, int pattern, in a5psw_port_pattern_set() 114 static void a5psw_port_mgmtfwd_set(struct a5psw *a5psw, int port, bool enable) in a5psw_port_mgmtfwd_set() 123 static void a5psw_port_enable_set(struct a5psw *a5psw, int port, bool enable) in a5psw_port_enable_set() 134 static int a5psw_lk_execute_ctrl(struct a5psw *a5psw, u32 *ctrl) in a5psw_lk_execute_ctrl() 149 static void a5psw_port_fdb_flush(struct a5psw *a5psw, int port) in a5psw_port_fdb_flush() 158 static void a5psw_port_authorize_set(struct a5psw *a5psw, int port, in a5psw_port_authorize_set() 173 struct a5psw *a5psw = ds->priv; in a5psw_port_disable() local [all …]
|
| D | rzn1_a5psw.h | 247 struct a5psw { struct 248 void __iomem *base; 249 struct clk *hclk; 250 struct clk *clk; 251 struct device *dev; 252 struct mii_bus *mii_bus; 253 struct phylink_pcs *pcs[A5PSW_PORTS_NUM - 1]; 254 struct dsa_switch ds; 255 struct mutex lk_lock; 256 spinlock_t reg_lock; [all …]
|