/linux-6.12.1/drivers/net/wireless/realtek/rtw89/ |
D | rtw8852bt.c | 279 ret = rtw89_mac_write_xtal_si(rtwdev, XTAL_SI_ANAPAR_WL, in rtw8852bt_pwr_on_func() 286 ret = rtw89_mac_write_xtal_si(rtwdev, XTAL_SI_ANAPAR_WL, in rtw8852bt_pwr_on_func() 290 ret = rtw89_mac_write_xtal_si(rtwdev, XTAL_SI_ANAPAR_WL, XTAL_SI_OFF_WEI, in rtw8852bt_pwr_on_func() 294 ret = rtw89_mac_write_xtal_si(rtwdev, XTAL_SI_ANAPAR_WL, XTAL_SI_OFF_EI, in rtw8852bt_pwr_on_func() 298 ret = rtw89_mac_write_xtal_si(rtwdev, XTAL_SI_ANAPAR_WL, 0, XTAL_SI_RFC2RF); in rtw8852bt_pwr_on_func() 301 ret = rtw89_mac_write_xtal_si(rtwdev, XTAL_SI_ANAPAR_WL, XTAL_SI_PON_WEI, in rtw8852bt_pwr_on_func() 305 ret = rtw89_mac_write_xtal_si(rtwdev, XTAL_SI_ANAPAR_WL, XTAL_SI_PON_EI, in rtw8852bt_pwr_on_func() 309 ret = rtw89_mac_write_xtal_si(rtwdev, XTAL_SI_ANAPAR_WL, 0, XTAL_SI_SRAM2RFC); in rtw8852bt_pwr_on_func() 312 ret = rtw89_mac_write_xtal_si(rtwdev, XTAL_SI_SRAM_CTRL, 0, XTAL_SI_SRAM_DIS); in rtw8852bt_pwr_on_func() 315 ret = rtw89_mac_write_xtal_si(rtwdev, XTAL_SI_XTAL_XMD_2, 0, XTAL_SI_LDO_LPS); in rtw8852bt_pwr_on_func() [all …]
|
D | rtw8852b.c | 299 ret = rtw89_mac_write_xtal_si(rtwdev, XTAL_SI_ANAPAR_WL, in rtw8852b_pwr_on_func() 306 ret = rtw89_mac_write_xtal_si(rtwdev, XTAL_SI_ANAPAR_WL, in rtw8852b_pwr_on_func() 310 ret = rtw89_mac_write_xtal_si(rtwdev, XTAL_SI_ANAPAR_WL, XTAL_SI_OFF_WEI, in rtw8852b_pwr_on_func() 314 ret = rtw89_mac_write_xtal_si(rtwdev, XTAL_SI_ANAPAR_WL, XTAL_SI_OFF_EI, in rtw8852b_pwr_on_func() 318 ret = rtw89_mac_write_xtal_si(rtwdev, XTAL_SI_ANAPAR_WL, 0, XTAL_SI_RFC2RF); in rtw8852b_pwr_on_func() 321 ret = rtw89_mac_write_xtal_si(rtwdev, XTAL_SI_ANAPAR_WL, XTAL_SI_PON_WEI, in rtw8852b_pwr_on_func() 325 ret = rtw89_mac_write_xtal_si(rtwdev, XTAL_SI_ANAPAR_WL, XTAL_SI_PON_EI, in rtw8852b_pwr_on_func() 329 ret = rtw89_mac_write_xtal_si(rtwdev, XTAL_SI_ANAPAR_WL, 0, XTAL_SI_SRAM2RFC); in rtw8852b_pwr_on_func() 332 ret = rtw89_mac_write_xtal_si(rtwdev, XTAL_SI_SRAM_CTRL, 0, XTAL_SI_SRAM_DIS); in rtw8852b_pwr_on_func() 335 ret = rtw89_mac_write_xtal_si(rtwdev, XTAL_SI_XTAL_XMD_2, 0, XTAL_SI_LDO_LPS); in rtw8852b_pwr_on_func() [all …]
|
D | efuse.c | 131 ret = rtw89_mac_write_xtal_si(rtwdev, XTAL_SI_CTRL, 0x40, FULL_BIT_MASK); in rtw89_dump_physical_efuse_map_dav() 134 ret = rtw89_mac_write_xtal_si(rtwdev, XTAL_SI_LOW_ADDR, in rtw89_dump_physical_efuse_map_dav() 138 ret = rtw89_mac_write_xtal_si(rtwdev, XTAL_SI_CTRL, addr >> 8, in rtw89_dump_physical_efuse_map_dav() 142 ret = rtw89_mac_write_xtal_si(rtwdev, XTAL_SI_CTRL, 0, in rtw89_dump_physical_efuse_map_dav()
|
D | rtw8922a.c | 313 ret = rtw89_mac_write_xtal_si(rtwdev, XTAL_SI_PLL, 0x02, 0x02); in rtw8922a_pwr_on_func() 316 ret = rtw89_mac_write_xtal_si(rtwdev, XTAL_SI_PLL, 0x01, 0x01); in rtw8922a_pwr_on_func() 322 ret = rtw89_mac_write_xtal_si(rtwdev, XTAL_SI_ANAPAR_WL, 0x40, 0x40); in rtw8922a_pwr_on_func() 328 ret = rtw89_mac_write_xtal_si(rtwdev, XTAL_SI_ANAPAR_WL, 0x20, 0x20); in rtw8922a_pwr_on_func() 331 ret = rtw89_mac_write_xtal_si(rtwdev, XTAL_SI_ANAPAR_WL, 0x04, 0x04); in rtw8922a_pwr_on_func() 334 ret = rtw89_mac_write_xtal_si(rtwdev, XTAL_SI_ANAPAR_WL, 0x08, 0x08); in rtw8922a_pwr_on_func() 337 ret = rtw89_mac_write_xtal_si(rtwdev, XTAL_SI_ANAPAR_WL, 0, 0x10); in rtw8922a_pwr_on_func() 340 ret = rtw89_mac_write_xtal_si(rtwdev, XTAL_SI_WL_RFC_S0, 0xEB, 0xFF); in rtw8922a_pwr_on_func() 343 ret = rtw89_mac_write_xtal_si(rtwdev, XTAL_SI_WL_RFC_S1, 0xEB, 0xFF); in rtw8922a_pwr_on_func() 346 ret = rtw89_mac_write_xtal_si(rtwdev, XTAL_SI_ANAPAR_WL, 0x01, 0x01); in rtw8922a_pwr_on_func() [all …]
|
D | rtw8851b.c | 315 ret = rtw89_mac_write_xtal_si(rtwdev, XTAL_SI_ANAPAR_WL, XTAL_SI_OFF_WEI, in rtw8851b_pwr_on_func() 319 ret = rtw89_mac_write_xtal_si(rtwdev, XTAL_SI_ANAPAR_WL, XTAL_SI_OFF_EI, in rtw8851b_pwr_on_func() 323 ret = rtw89_mac_write_xtal_si(rtwdev, XTAL_SI_ANAPAR_WL, 0, XTAL_SI_RFC2RF); in rtw8851b_pwr_on_func() 326 ret = rtw89_mac_write_xtal_si(rtwdev, XTAL_SI_ANAPAR_WL, XTAL_SI_PON_WEI, in rtw8851b_pwr_on_func() 330 ret = rtw89_mac_write_xtal_si(rtwdev, XTAL_SI_ANAPAR_WL, XTAL_SI_PON_EI, in rtw8851b_pwr_on_func() 334 ret = rtw89_mac_write_xtal_si(rtwdev, XTAL_SI_ANAPAR_WL, 0, XTAL_SI_SRAM2RFC); in rtw8851b_pwr_on_func() 337 ret = rtw89_mac_write_xtal_si(rtwdev, XTAL_SI_SRAM_CTRL, 0, XTAL_SI_SRAM_DIS); in rtw8851b_pwr_on_func() 340 ret = rtw89_mac_write_xtal_si(rtwdev, XTAL_SI_XTAL_XMD_2, 0, XTAL_SI_LDO_LPS); in rtw8851b_pwr_on_func() 343 ret = rtw89_mac_write_xtal_si(rtwdev, XTAL_SI_XTAL_XMD_4, 0, XTAL_SI_LPS_CAP); in rtw8851b_pwr_on_func() 346 ret = rtw89_mac_write_xtal_si(rtwdev, XTAL_SI_XTAL_DRV, 0, XTAL_SI_DRV_LATCH); in rtw8851b_pwr_on_func() [all …]
|
D | rtw8852c.c | 252 ret = rtw89_mac_write_xtal_si(rtwdev, XTAL_SI_ANAPAR_WL, in rtw8852c_pwr_on_func() 259 ret = rtw89_mac_write_xtal_si(rtwdev, XTAL_SI_ANAPAR_WL, in rtw8852c_pwr_on_func() 263 ret = rtw89_mac_write_xtal_si(rtwdev, XTAL_SI_ANAPAR_WL, XTAL_SI_OFF_WEI, in rtw8852c_pwr_on_func() 267 ret = rtw89_mac_write_xtal_si(rtwdev, XTAL_SI_ANAPAR_WL, XTAL_SI_OFF_EI, in rtw8852c_pwr_on_func() 271 ret = rtw89_mac_write_xtal_si(rtwdev, XTAL_SI_ANAPAR_WL, 0, XTAL_SI_RFC2RF); in rtw8852c_pwr_on_func() 274 ret = rtw89_mac_write_xtal_si(rtwdev, XTAL_SI_ANAPAR_WL, XTAL_SI_PON_WEI, in rtw8852c_pwr_on_func() 278 ret = rtw89_mac_write_xtal_si(rtwdev, XTAL_SI_ANAPAR_WL, XTAL_SI_PON_EI, in rtw8852c_pwr_on_func() 282 ret = rtw89_mac_write_xtal_si(rtwdev, XTAL_SI_ANAPAR_WL, 0, XTAL_SI_SRAM2RFC); in rtw8852c_pwr_on_func() 285 ret = rtw89_mac_write_xtal_si(rtwdev, XTAL_SI_XTAL_XMD_2, 0x10, XTAL_SI_LDO_LPS); in rtw8852c_pwr_on_func() 288 ret = rtw89_mac_write_xtal_si(rtwdev, XTAL_SI_XTAL_XMD_4, 0, XTAL_SI_LPS_CAP); in rtw8852c_pwr_on_func() [all …]
|
D | efuse_be.c | 120 ret = rtw89_mac_write_xtal_si(rtwdev, XTAL_SI_CTRL, 0x40, in rtw89_dump_physical_efuse_map_dav_be() 124 ret = rtw89_mac_write_xtal_si(rtwdev, XTAL_SI_LOW_ADDR, addr & 0xff, in rtw89_dump_physical_efuse_map_dav_be() 128 ret = rtw89_mac_write_xtal_si(rtwdev, XTAL_SI_CTRL, addr >> 8, in rtw89_dump_physical_efuse_map_dav_be() 132 ret = rtw89_mac_write_xtal_si(rtwdev, XTAL_SI_CTRL, 0, in rtw89_dump_physical_efuse_map_dav_be()
|
D | rtw8922a_rfk.c | 343 ret = rtw89_mac_write_xtal_si(rtwdev, XTAL_SI_PLL_1, tmp | 0xf8, 0xFF); in rtw8922a_rfk_pll_init() 350 ret = rtw89_mac_write_xtal_si(rtwdev, XTAL_SI_APBT, tmp & ~0x60, 0xFF); in rtw8922a_rfk_pll_init() 357 ret = rtw89_mac_write_xtal_si(rtwdev, XTAL_SI_XTAL_PLL, tmp | 0x38, 0xFF); in rtw8922a_rfk_pll_init()
|
D | rtw8852b_common.c | 1983 ret = rtw89_mac_write_xtal_si(rtwdev, XTAL_SI_WL_RFC_S0, 0xC7, in __rtw8852bx_mac_enable_bb_rf() 1988 ret = rtw89_mac_write_xtal_si(rtwdev, XTAL_SI_WL_RFC_S1, 0xC7, in __rtw8852bx_mac_enable_bb_rf() 2012 ret = rtw89_mac_write_xtal_si(rtwdev, XTAL_SI_WL_RFC_S0, wl_rfc_s0, in __rtw8852bx_mac_disable_bb_rf() 2021 ret = rtw89_mac_write_xtal_si(rtwdev, XTAL_SI_WL_RFC_S1, wl_rfc_s1, in __rtw8852bx_mac_disable_bb_rf()
|
D | mac.h | 1442 int rtw89_mac_write_xtal_si(struct rtw89_dev *rtwdev, u8 offset, u8 val, u8 mask) in rtw89_mac_write_xtal_si() function
|
D | phy.c | 3838 rtw89_mac_write_xtal_si(rtwdev, XTAL_SI_XTAL_SC_XO, in rtw89_phy_cfo_set_crystal_cap() 3840 rtw89_mac_write_xtal_si(rtwdev, XTAL_SI_XTAL_SC_XI, in rtw89_phy_cfo_set_crystal_cap()
|