Home
last modified time | relevance | path

Searched refs:is_1g (Results 1 – 1 of 1) sorted by relevance

/linux-6.12.1/drivers/phy/mediatek/
Dphy-mtk-xfi-tphy.c96 bool is_1g, is_2p5g, is_5g, is_10g, da_war, use_lynxi_pcs; in mtk_xfi_tphy_setup() local
99 is_1g = interface == PHY_INTERFACE_MODE_1000BASEX || in mtk_xfi_tphy_setup()
113 use_lynxi_pcs = is_1g || is_2p5g; in mtk_xfi_tphy_setup()
120 mtk_phy_update_bits(xfi_tphy->base + 0x2030, 0x500, is_1g ? 0x0 : 0x500); in mtk_xfi_tphy_setup()
121 mtk_phy_update_bits(xfi_tphy->base + 0x2034, 0xa00, is_1g ? 0x0 : 0xa00); in mtk_xfi_tphy_setup()
122 mtk_phy_update_bits(xfi_tphy->base + 0x2040, 0x340000, is_1g ? 0x200000 : 0x140000); in mtk_xfi_tphy_setup()
125 mtk_phy_update_bits(xfi_tphy->base + 0x50f0, 0xc10, is_1g ? 0x410 : is_5g ? 0x800 : 0x400); in mtk_xfi_tphy_setup()
136 mtk_phy_update_bits(xfi_tphy->base + 0x5080, 0x1410, is_1g ? 0x400 : is_5g ? 0x1010 : 0x0); in mtk_xfi_tphy_setup()
137 mtk_phy_update_bits(xfi_tphy->base + 0x5084, 0x30300, is_1g ? 0x30300 : in mtk_xfi_tphy_setup()
140 mtk_phy_update_bits(xfi_tphy->base + 0x5088, 0x60200, is_1g ? 0x20200 : in mtk_xfi_tphy_setup()
[all …]