Searched defs:a5psw (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/net/dsa/ |
H A 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_tx_enable(struct a5psw *a5psw, int port, bool enable) in a5psw_port_tx_enable() 139 static void a5psw_port_enable_set(struct a5psw *a5psw, int port, bool enable) in a5psw_port_enable_set() 150 static int a5psw_lk_execute_ctrl(struct a5psw *a5psw, u32 *ctrl) in a5psw_lk_execute_ctrl() 165 static void a5psw_port_fdb_flush(struct a5psw *a5psw, int port) in a5psw_port_fdb_flush() 174 static void a5psw_port_authorize_set(struct a5psw *a5psw, int port, in a5psw_port_authorize_set() [all …]
|
H A D | rzn1_a5psw.h | 250 struct a5psw { struct 251 void __iomem *base; 252 struct clk *hclk; 253 struct clk *clk; 254 struct device *dev; 255 struct mii_bus *mii_bus; 256 struct phylink_pcs *pcs[A5PSW_PORTS_NUM - 1]; 257 struct dsa_switch ds; 258 struct mutex lk_lock; 259 spinlock_t reg_lock; [all …]
|