Searched refs:ksz_cfg (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/net/dsa/microchip/ |
H A D | ksz8795.c | 65 ksz_cfg(dev, KSZ8863_REG_SW_RESET, in ksz8_reset_switch() 67 ksz_cfg(dev, KSZ8863_REG_SW_RESET, in ksz8_reset_switch() 299 ksz_cfg(dev, REG_SW_CTRL_6, BIT(port), true); in ksz8_freeze_mib() 304 ksz_cfg(dev, REG_SW_CTRL_6, BIT(port), false); in ksz8_freeze_mib() 314 ksz_cfg(dev, REG_SW_CTRL_6, BIT(port), true); in ksz8_port_init_cnt() 315 ksz_cfg(dev, REG_SW_CTRL_6, SW_MIB_COUNTER_FLUSH, true); in ksz8_port_init_cnt() 316 ksz_cfg(dev, REG_SW_CTRL_6, BIT(port), false); in ksz8_port_init_cnt() 1111 ksz_cfg(dev, S_MIRROR_CTRL, SW_VLAN_ENABLE, flag); in ksz8_port_vlan_filtering() 1124 ksz_cfg(dev, REG_SW_INSERT_SRC_PVID, in ksz8_port_enable_pvid() 1410 ksz_cfg(dev, S_REPLACE_VID_CTRL, SW_FLOW_CTRL, true); in ksz8_setup() [all …]
|
H A D | ksz9477.c | 22 static void ksz_cfg(struct ksz_device *dev, u32 addr, u8 bits, bool set) in ksz_cfg() function 170 ksz_cfg(dev, REG_SW_OPERATION, SW_RESET, true); in ksz9477_reset_switch() 377 ksz_cfg(dev, S_FLUSH_TABLE_CTRL, SW_FLUSH_STP_TABLE, true); in ksz9477_flush_dyn_mac_table() 387 ksz_cfg(dev, REG_SW_LUE_CTRL_0, SW_VLAN_ENABLE, true); in ksz9477_port_vlan_filtering() 389 ksz_cfg(dev, REG_SW_LUE_CTRL_0, SW_VLAN_ENABLE, false); in ksz9477_port_vlan_filtering() 857 ksz_cfg(dev, S_MIRROR_CTRL, SW_MIRROR_RX_TX, false); in ksz9477_port_mirror_add() 1074 ksz_cfg(dev, REG_SW_LUE_CTRL_0, SW_RESV_MCAST_ENABLE, true); in ksz9477_enable_stp_addr() 1110 ksz_cfg(dev, REG_SW_MAC_CTRL_0, SW_CHECK_LENGTH, false); in ksz9477_setup() 1113 ksz_cfg(dev, REG_SW_MAC_CTRL_1, SW_JUMBO_PACKET, true); in ksz9477_setup() 1116 ksz_cfg(dev, REG_SW_MAC_CTRL_1, SW_BACK_PRESSURE, in ksz9477_setup() [all …]
|