Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bs/hal/phydm/
H A Dphydm_cck_pd.c28 u8 cca_th, in phydm_write_cck_cca_th_new_cs_ratio() argument
36 PHYDM_DBG(p_dm, DBG_CCKPD, ("[New] pd_th=0x%x, cs_ratio=0x%x\n\n", cca_th, cca_th_aaa)); in phydm_write_cck_cca_th_new_cs_ratio()
38 if (p_cckpd_t->cur_cck_cca_thres != cca_th) { in phydm_write_cck_cca_th_new_cs_ratio()
40 p_cckpd_t->cur_cck_cca_thres = cca_th; in phydm_write_cck_cca_th_new_cs_ratio()
41 odm_set_bb_reg(p_dm, 0xa08, 0xf0000, cca_th); in phydm_write_cck_cca_th_new_cs_ratio()
58 u8 cca_th in phydm_write_cck_cca_th() argument
65 PHYDM_DBG(p_dm, DBG_CCKPD, ("New cck_cca_th=((0x%x))\n\n", cca_th)); in phydm_write_cck_cca_th()
67 if (p_cckpd_t->cur_cck_cca_thres != cca_th) { in phydm_write_cck_cca_th()
69 odm_write_1byte(p_dm, ODM_REG(CCK_CCA, p_dm), cca_th); in phydm_write_cck_cca_th()
72 p_cckpd_t->cur_cck_cca_thres = cca_th; in phydm_write_cck_cca_th()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/hal/phydm/
H A Dphydm_cck_pd.c36 void phydm_write_cck_pd_type1(void *dm_void, u8 cca_th) in phydm_write_cck_pd_type1() argument
42 __func__, cca_th); in phydm_write_cck_pd_type1()
44 odm_write_1byte(dm, R_0xa0a, cca_th); in phydm_write_cck_pd_type1()
45 cckpd_t->cur_cck_cca_thres = cca_th; in phydm_write_cck_pd_type1()
157 void phydm_write_cck_pd_type2(void *dm_void, u8 cca_th, u8 cca_th_aaa) in phydm_write_cck_pd_type2() argument
163 __func__, cca_th, cca_th_aaa); in phydm_write_cck_pd_type2()
165 odm_set_bb_reg(dm, R_0xa08, 0x3f0000, cca_th); in phydm_write_cck_pd_type2()
167 cckpd_t->cur_cck_cca_thres = cca_th; in phydm_write_cck_pd_type2()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189fs/hal/phydm/
H A Dphydm_cck_pd.c36 void phydm_write_cck_pd_type1(void *dm_void, u8 cca_th) in phydm_write_cck_pd_type1() argument
42 __func__, cca_th); in phydm_write_cck_pd_type1()
44 odm_write_1byte(dm, R_0xa0a, cca_th); in phydm_write_cck_pd_type1()
45 cckpd_t->cur_cck_cca_thres = cca_th; in phydm_write_cck_pd_type1()
157 void phydm_write_cck_pd_type2(void *dm_void, u8 cca_th, u8 cca_th_aaa) in phydm_write_cck_pd_type2() argument
163 __func__, cca_th, cca_th_aaa); in phydm_write_cck_pd_type2()
165 odm_set_bb_reg(dm, R_0xa08, 0x3f0000, cca_th); in phydm_write_cck_pd_type2()
167 cckpd_t->cur_cck_cca_thres = cca_th; in phydm_write_cck_pd_type2()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/hal/phydm/
H A Dphydm_cck_pd.c35 void phydm_write_cck_pd_type1(void *dm_void, u8 cca_th) in phydm_write_cck_pd_type1() argument
41 __func__, cca_th); in phydm_write_cck_pd_type1()
43 odm_write_1byte(dm, R_0xa0a, cca_th); in phydm_write_cck_pd_type1()
44 cckpd_t->cur_cck_cca_thres = cca_th; in phydm_write_cck_pd_type1()
156 void phydm_write_cck_pd_type2(void *dm_void, u8 cca_th, u8 cca_th_aaa) in phydm_write_cck_pd_type2() argument
162 __func__, cca_th, cca_th_aaa); in phydm_write_cck_pd_type2()
164 odm_set_bb_reg(dm, R_0xa08, 0x3f0000, cca_th); in phydm_write_cck_pd_type2()
166 cckpd_t->cur_cck_cca_thres = cca_th; in phydm_write_cck_pd_type2()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188fu/hal/phydm/
H A Dphydm_cck_pd.c36 void phydm_write_cck_pd_type1(void *dm_void, u8 cca_th) in phydm_write_cck_pd_type1() argument
42 __func__, cca_th); in phydm_write_cck_pd_type1()
44 odm_write_1byte(dm, R_0xa0a, cca_th); in phydm_write_cck_pd_type1()
45 cckpd_t->cur_cck_cca_thres = cca_th; in phydm_write_cck_pd_type1()
157 void phydm_write_cck_pd_type2(void *dm_void, u8 cca_th, u8 cca_th_aaa) in phydm_write_cck_pd_type2() argument
163 __func__, cca_th, cca_th_aaa); in phydm_write_cck_pd_type2()
165 odm_set_bb_reg(dm, R_0xa08, 0x3f0000, cca_th); in phydm_write_cck_pd_type2()
167 cckpd_t->cur_cck_cca_thres = cca_th; in phydm_write_cck_pd_type2()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/hal/phydm/
H A Dphydm_cck_pd.c35 void phydm_write_cck_pd_type1(void *dm_void, u8 cca_th) in phydm_write_cck_pd_type1() argument
41 __func__, cca_th); in phydm_write_cck_pd_type1()
43 odm_write_1byte(dm, R_0xa0a, cca_th); in phydm_write_cck_pd_type1()
44 cckpd_t->cur_cck_cca_thres = cca_th; in phydm_write_cck_pd_type1()
171 void phydm_write_cck_pd_type2(void *dm_void, u8 cca_th, u8 cca_th_aaa) in phydm_write_cck_pd_type2() argument
177 __func__, cca_th, cca_th_aaa); in phydm_write_cck_pd_type2()
179 odm_set_bb_reg(dm, R_0xa08, 0x3f0000, cca_th); in phydm_write_cck_pd_type2()
181 cckpd_t->cur_cck_cca_thres = cca_th; in phydm_write_cck_pd_type2()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/hal/phydm/
H A Dphydm_cck_pd.c35 void phydm_write_cck_pd_type1(void *dm_void, u8 cca_th) in phydm_write_cck_pd_type1() argument
41 __func__, cca_th); in phydm_write_cck_pd_type1()
43 odm_write_1byte(dm, R_0xa0a, cca_th); in phydm_write_cck_pd_type1()
44 cckpd_t->cur_cck_cca_thres = cca_th; in phydm_write_cck_pd_type1()
156 void phydm_write_cck_pd_type2(void *dm_void, u8 cca_th, u8 cca_th_aaa) in phydm_write_cck_pd_type2() argument
162 __func__, cca_th, cca_th_aaa); in phydm_write_cck_pd_type2()
164 odm_set_bb_reg(dm, R_0xa08, 0x3f0000, cca_th); in phydm_write_cck_pd_type2()
166 cckpd_t->cur_cck_cca_thres = cca_th; in phydm_write_cck_pd_type2()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723ds/hal/phydm/
H A Dphydm_cck_pd.c36 void phydm_write_cck_pd_type1(void *dm_void, u8 cca_th) in phydm_write_cck_pd_type1() argument
42 __func__, cca_th); in phydm_write_cck_pd_type1()
44 odm_write_1byte(dm, R_0xa0a, cca_th); in phydm_write_cck_pd_type1()
45 cckpd_t->cur_cck_cca_thres = cca_th; in phydm_write_cck_pd_type1()
157 void phydm_write_cck_pd_type2(void *dm_void, u8 cca_th, u8 cca_th_aaa) in phydm_write_cck_pd_type2() argument
163 __func__, cca_th, cca_th_aaa); in phydm_write_cck_pd_type2()
165 odm_set_bb_reg(dm, R_0xa08, 0x3f0000, cca_th); in phydm_write_cck_pd_type2()
167 cckpd_t->cur_cck_cca_thres = cca_th; in phydm_write_cck_pd_type2()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/phy/bb/
H A Dhalbb_pwr_ctrl.h55 s8 cca_th; member
H A Dhalbb_pwr_ctrl.c30 void halbb_set_ccath_macid(struct bb_info *bb, u16 macid, s8 cca_th, bool cca_th_en) in halbb_set_ccath_macid() argument
52 ret_v |= rtw_hal_mac_write_msk_pwr_reg(bb->hal_com, hw_band, reg_ofst, mask_ccath, cca_th); in halbb_set_ccath_macid()
54 BB_DBG(bb, DBG_PWR_CTRL, "halbb_set_ccath_macid = %x %x\n", cca_th, cca_th_en); in halbb_set_ccath_macid()
69 dyncca_i->macidcca_i[i].cca_th = 0; in halbb_ccath_init()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/phy/bb/
H A Dhalbb_pwr_ctrl.h55 s8 cca_th; member
H A Dhalbb_pwr_ctrl.c30 void halbb_set_ccath_macid(struct bb_info *bb, u16 macid, s8 cca_th, bool cca_th_en) in halbb_set_ccath_macid() argument
52 ret_v |= rtw_hal_mac_write_msk_pwr_reg(bb->hal_com, hw_band, reg_ofst, mask_ccath, cca_th); in halbb_set_ccath_macid()
54 BB_DBG(bb, DBG_PWR_CTRL, "halbb_set_ccath_macid = %x %x\n", cca_th, cca_th_en); in halbb_set_ccath_macid()
69 dyncca_i->macidcca_i[i].cca_th = 0; in halbb_ccath_init()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/hal/phydm/
H A Dphydm_cck_pd.c35 void phydm_write_cck_pd_type1(void *dm_void, u8 cca_th) in phydm_write_cck_pd_type1() argument
41 __func__, cca_th); in phydm_write_cck_pd_type1()
43 odm_write_1byte(dm, R_0xa0a, cca_th); in phydm_write_cck_pd_type1()
44 cckpd_t->cur_cck_cca_thres = cca_th; in phydm_write_cck_pd_type1()
156 void phydm_write_cck_pd_type2(void *dm_void, u8 cca_th, u8 cca_th_aaa) in phydm_write_cck_pd_type2() argument
162 __func__, cca_th, cca_th_aaa); in phydm_write_cck_pd_type2()
164 odm_set_bb_reg(dm, R_0xa08, 0x3f0000, cca_th); in phydm_write_cck_pd_type2()
166 cckpd_t->cur_cck_cca_thres = cca_th; in phydm_write_cck_pd_type2()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/hal/phydm/
H A Dphydm_cck_pd.c36 void phydm_write_cck_pd_type1(void *dm_void, u8 cca_th) in phydm_write_cck_pd_type1() argument
42 __func__, cca_th); in phydm_write_cck_pd_type1()
44 odm_write_1byte(dm, R_0xa0a, cca_th); in phydm_write_cck_pd_type1()
45 cckpd_t->cur_cck_cca_thres = cca_th; in phydm_write_cck_pd_type1()
157 void phydm_write_cck_pd_type2(void *dm_void, u8 cca_th, u8 cca_th_aaa) in phydm_write_cck_pd_type2() argument
163 __func__, cca_th, cca_th_aaa); in phydm_write_cck_pd_type2()
165 odm_set_bb_reg(dm, R_0xa08, 0x3f0000, cca_th); in phydm_write_cck_pd_type2()
167 cckpd_t->cur_cck_cca_thres = cca_th; in phydm_write_cck_pd_type2()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/hal/phydm/
H A Dphydm_cck_pd.c35 void phydm_write_cck_pd_type1(void *dm_void, u8 cca_th) in phydm_write_cck_pd_type1() argument
41 __func__, cca_th); in phydm_write_cck_pd_type1()
43 odm_write_1byte(dm, R_0xa0a, cca_th); in phydm_write_cck_pd_type1()
44 cckpd_t->cur_cck_cca_thres = cca_th; in phydm_write_cck_pd_type1()
176 void phydm_write_cck_pd_type2(void *dm_void, u8 cca_th, u8 cca_th_aaa) in phydm_write_cck_pd_type2() argument
182 __func__, cca_th, cca_th_aaa); in phydm_write_cck_pd_type2()
184 odm_set_bb_reg(dm, R_0xa08, 0x3f0000, cca_th); in phydm_write_cck_pd_type2()
186 cckpd_t->cur_cck_cca_thres = cca_th; in phydm_write_cck_pd_type2()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/hal/phydm/
H A Dphydm_cck_pd.c35 void phydm_write_cck_pd_type1(void *dm_void, u8 cca_th) in phydm_write_cck_pd_type1() argument
41 __func__, cca_th); in phydm_write_cck_pd_type1()
43 odm_write_1byte(dm, R_0xa0a, cca_th); in phydm_write_cck_pd_type1()
44 cckpd_t->cur_cck_cca_thres = cca_th; in phydm_write_cck_pd_type1()
176 void phydm_write_cck_pd_type2(void *dm_void, u8 cca_th, u8 cca_th_aaa) in phydm_write_cck_pd_type2() argument
182 __func__, cca_th, cca_th_aaa); in phydm_write_cck_pd_type2()
184 odm_set_bb_reg(dm, R_0xa08, 0x3f0000, cca_th); in phydm_write_cck_pd_type2()
186 cckpd_t->cur_cck_cca_thres = cca_th; in phydm_write_cck_pd_type2()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/hal/phydm/
H A Dphydm_cck_pd.c35 void phydm_write_cck_pd_type1(void *dm_void, u8 cca_th) in phydm_write_cck_pd_type1() argument
41 __func__, cca_th); in phydm_write_cck_pd_type1()
43 odm_write_1byte(dm, R_0xa0a, cca_th); in phydm_write_cck_pd_type1()
44 cckpd_t->cur_cck_cca_thres = cca_th; in phydm_write_cck_pd_type1()
156 void phydm_write_cck_pd_type2(void *dm_void, u8 cca_th, u8 cca_th_aaa) in phydm_write_cck_pd_type2() argument
162 __func__, cca_th, cca_th_aaa); in phydm_write_cck_pd_type2()
164 odm_set_bb_reg(dm, R_0xa08, 0x3f0000, cca_th); in phydm_write_cck_pd_type2()
166 cckpd_t->cur_cck_cca_thres = cca_th; in phydm_write_cck_pd_type2()