Lines Matching refs:ksz_cfg
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()
373 ksz_cfg(dev, S_FLUSH_TABLE_CTRL, SW_FLUSH_DYN_MAC_TABLE, true); in ksz9477_flush_dyn_mac_table()
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()
1126 ksz_cfg(dev, REG_SW_MAC_CTRL_5, SW_OUT_RATE_LIMIT_QUEUE_BASED, true); in ksz9477_setup()
1129 ksz_cfg(dev, REG_SW_MAC_CTRL_6, SW_MIB_COUNTER_FREEZE, true); in ksz9477_setup()