Searched refs:MT7530_PMCR_P (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.6/drivers/net/dsa/ |
D | mt7530.c | 954 mt7530_write(priv, MT7530_PMCR_P(5), 0x56300); in mt7530_setup_port5() 1084 mt7530_clear(priv, MT7530_PMCR_P(port), PMCR_LINK_SETTINGS_MASK); in mt7530_port_enable() 1104 mt7530_clear(priv, MT7530_PMCR_P(port), PMCR_LINK_SETTINGS_MASK); in mt7530_port_disable() 2480 mt7530_write(priv, MT7530_PMCR_P(i), MT7531_FORCE_LNK); in mt7531_setup() 2804 mcr_cur = mt7530_read(priv, MT7530_PMCR_P(port)); in mt753x_phylink_mac_config() 2815 mt7530_write(priv, MT7530_PMCR_P(port), mcr_new); in mt753x_phylink_mac_config() 2824 mt7530_clear(priv, MT7530_PMCR_P(port), PMCR_LINK_SETTINGS_MASK); in mt753x_phylink_mac_link_down() 2885 mt7530_set(priv, MT7530_PMCR_P(port), mcr); in mt753x_phylink_mac_link_up() 2922 mt7530_write(priv, MT7530_PMCR_P(port), in mt7531_cpu_port_config() 2937 mt7530_write(priv, MT7530_PMCR_P(port), in mt7988_cpu_port_config()
|
D | mt7530.h | 278 #define MT7530_PMCR_P(x) (0x3000 + ((x) * 0x100)) macro
|