Home
last modified time | relevance | path

Searched refs:lmt (Results 1 – 25 of 59) sorted by relevance

123

/OK3568_Linux_fs/u-boot/drivers/power/dvfs/
H A Drockchip_wtemp_dvfs.c107 struct lmt_param lmt; member
211 if ((e->lmt.max_volt != -ENODATA) && (tgt_volt > e->lmt.max_volt)) { in wtemp_dvfs_low_temp_adjust()
212 tgt_volt = e->lmt.max_volt; in wtemp_dvfs_low_temp_adjust()
273 if (e->lmt.ltemp_limit && temp <= e->lmt.low_temp) in wtemp_dvfs_is_effect()
278 if (e->lmt.tztemp_limit && temp >= e->lmt.tz_temp) in wtemp_dvfs_is_effect()
280 else if (e->lmt.htemp_limit && temp >= e->lmt.high_temp) in wtemp_dvfs_is_effect()
294 if (e->lmt.ltemp_limit && temp <= e->lmt.low_temp) { in __wtemp_dvfs_apply()
302 if (e->lmt.tztemp_limit && temp >= e->lmt.tz_temp) { in __wtemp_dvfs_apply()
305 } else if (e->lmt.htemp_limit && temp >= e->lmt.high_temp) { in __wtemp_dvfs_apply()
345 e->lmt.low_temp = ofnode_read_s32_default(opp_node, in __wtemp_common_ofdata_to_platdata()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/phy/rf/halrf_8852b/
H A Dhalrf_set_pwr_table_8852b.c259 struct rtw_tpu_pwr_imt_info *lmt = &rf->hal_com->band[phy].rtw_tpu_i.rtw_tpu_pwr_imt_i; in halrf_get_power_limit_to_struct_20m_8852b() local
265 hal_mem_set(hal, lmt, 0, sizeof(*lmt)); in halrf_get_power_limit_to_struct_20m_8852b()
268 lmt->pwr_lmt_cck_20m[PW_LMT_PH_1T][PW_LMT_NONBF] = in halrf_get_power_limit_to_struct_20m_8852b()
272 lmt->pwr_lmt_cck_20m[PW_LMT_PH_1T][PW_LMT_BF] = in halrf_get_power_limit_to_struct_20m_8852b()
276 lmt->pwr_lmt_cck_40m[PW_LMT_PH_1T][PW_LMT_NONBF] = in halrf_get_power_limit_to_struct_20m_8852b()
280 lmt->pwr_lmt_cck_40m[PW_LMT_PH_1T][PW_LMT_BF] = in halrf_get_power_limit_to_struct_20m_8852b()
284 lmt->pwr_lmt_lgcy_20m[PW_LMT_PH_1T][PW_LMT_NONBF] = in halrf_get_power_limit_to_struct_20m_8852b()
288 lmt->pwr_lmt_lgcy_20m[PW_LMT_PH_1T][PW_LMT_BF] = in halrf_get_power_limit_to_struct_20m_8852b()
292 lmt->pwr_lmt_20m[PW_LMT_PH_1T][0][PW_LMT_NONBF] = in halrf_get_power_limit_to_struct_20m_8852b()
296 lmt->pwr_lmt_20m[PW_LMT_PH_1T][0][PW_LMT_BF] = in halrf_get_power_limit_to_struct_20m_8852b()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/phy/rf/halrf_8852b/
H A Dhalrf_set_pwr_table_8852b.c259 struct rtw_tpu_pwr_imt_info *lmt = &rf->hal_com->band[phy].rtw_tpu_i.rtw_tpu_pwr_imt_i; in halrf_get_power_limit_to_struct_20m_8852b() local
265 hal_mem_set(hal, lmt, 0, sizeof(*lmt)); in halrf_get_power_limit_to_struct_20m_8852b()
268 lmt->pwr_lmt_cck_20m[PW_LMT_PH_1T][PW_LMT_NONBF] = in halrf_get_power_limit_to_struct_20m_8852b()
272 lmt->pwr_lmt_cck_20m[PW_LMT_PH_1T][PW_LMT_BF] = in halrf_get_power_limit_to_struct_20m_8852b()
276 lmt->pwr_lmt_cck_40m[PW_LMT_PH_1T][PW_LMT_NONBF] = in halrf_get_power_limit_to_struct_20m_8852b()
280 lmt->pwr_lmt_cck_40m[PW_LMT_PH_1T][PW_LMT_BF] = in halrf_get_power_limit_to_struct_20m_8852b()
284 lmt->pwr_lmt_lgcy_20m[PW_LMT_PH_1T][PW_LMT_NONBF] = in halrf_get_power_limit_to_struct_20m_8852b()
288 lmt->pwr_lmt_lgcy_20m[PW_LMT_PH_1T][PW_LMT_BF] = in halrf_get_power_limit_to_struct_20m_8852b()
292 lmt->pwr_lmt_20m[PW_LMT_PH_1T][0][PW_LMT_NONBF] = in halrf_get_power_limit_to_struct_20m_8852b()
296 lmt->pwr_lmt_20m[PW_LMT_PH_1T][0][PW_LMT_BF] = in halrf_get_power_limit_to_struct_20m_8852b()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188fu/core/
H A Drtw_rf.c909 s8 lmt; in dump_txpwr_lmt() local
930 lmt = phy_get_txpwr_lmt_abs(adapter, ent->regd_name, band, bw, tlrs, ntx_idx, ch, 0); in dump_txpwr_lmt()
931 if (lmt == hal_spec->txgi_max) { in dump_txpwr_lmt()
935 } else if (lmt > -hal_spec->txgi_pdbm && lmt < 0) { /* -0.xx */ in dump_txpwr_lmt()
937 …snprintf(tmp_str, TMP_STR_LEN, fmt, "", (rtw_abs(lmt) % hal_spec->txgi_pdbm) * 100 / hal_spec->txg… in dump_txpwr_lmt()
939 } else if (lmt % hal_spec->txgi_pdbm) { /* d.xx */ in dump_txpwr_lmt()
941 …snprintf(tmp_str, TMP_STR_LEN, fmt, lmt / hal_spec->txgi_pdbm, (rtw_abs(lmt) % hal_spec->txgi_pdbm… in dump_txpwr_lmt()
945 snprintf(tmp_str, TMP_STR_LEN, fmt, lmt / hal_spec->txgi_pdbm); in dump_txpwr_lmt()
949 lmt = phy_get_txpwr_lmt_abs(adapter, regd_str(TXPWR_LMT_WW), band, bw, tlrs, ntx_idx, ch, 0); in dump_txpwr_lmt()
950 if (lmt == hal_spec->txgi_max) { in dump_txpwr_lmt()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189fs/core/
H A Drtw_rf.c908 s8 lmt; in dump_txpwr_lmt() local
929 lmt = phy_get_txpwr_lmt_abs(adapter, ent->regd_name, band, bw, tlrs, ntx_idx, ch, 0); in dump_txpwr_lmt()
930 if (lmt == hal_spec->txgi_max) { in dump_txpwr_lmt()
934 } else if (lmt > -hal_spec->txgi_pdbm && lmt < 0) { /* -0.xx */ in dump_txpwr_lmt()
936 …snprintf(tmp_str, TMP_STR_LEN, fmt, "", (rtw_abs(lmt) % hal_spec->txgi_pdbm) * 100 / hal_spec->txg… in dump_txpwr_lmt()
938 } else if (lmt % hal_spec->txgi_pdbm) { /* d.xx */ in dump_txpwr_lmt()
940 …snprintf(tmp_str, TMP_STR_LEN, fmt, lmt / hal_spec->txgi_pdbm, (rtw_abs(lmt) % hal_spec->txgi_pdbm… in dump_txpwr_lmt()
944 snprintf(tmp_str, TMP_STR_LEN, fmt, lmt / hal_spec->txgi_pdbm); in dump_txpwr_lmt()
948 lmt = phy_get_txpwr_lmt_abs(adapter, regd_str(TXPWR_LMT_WW), band, bw, tlrs, ntx_idx, ch, 0); in dump_txpwr_lmt()
949 if (lmt == hal_spec->txgi_max) { in dump_txpwr_lmt()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/core/
H A Drtw_rf.c909 s8 lmt; in dump_txpwr_lmt() local
930 lmt = phy_get_txpwr_lmt_abs(adapter, ent->regd_name, band, bw, tlrs, ntx_idx, ch, 0); in dump_txpwr_lmt()
931 if (lmt == hal_spec->txgi_max) { in dump_txpwr_lmt()
935 } else if (lmt > -hal_spec->txgi_pdbm && lmt < 0) { /* -0.xx */ in dump_txpwr_lmt()
937 …snprintf(tmp_str, TMP_STR_LEN, fmt, "", (rtw_abs(lmt) % hal_spec->txgi_pdbm) * 100 / hal_spec->txg… in dump_txpwr_lmt()
939 } else if (lmt % hal_spec->txgi_pdbm) { /* d.xx */ in dump_txpwr_lmt()
941 …snprintf(tmp_str, TMP_STR_LEN, fmt, lmt / hal_spec->txgi_pdbm, (rtw_abs(lmt) % hal_spec->txgi_pdbm… in dump_txpwr_lmt()
945 snprintf(tmp_str, TMP_STR_LEN, fmt, lmt / hal_spec->txgi_pdbm); in dump_txpwr_lmt()
949 lmt = phy_get_txpwr_lmt_abs(adapter, regd_str(TXPWR_LMT_WW), band, bw, tlrs, ntx_idx, ch, 0); in dump_txpwr_lmt()
950 if (lmt == hal_spec->txgi_max) { in dump_txpwr_lmt()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/phy/bb/
H A Dhalbb_pwr_ctrl.c558 struct rtw_tpu_pwr_imt_info *lmt = &tpu->rtw_tpu_pwr_imt_i; in halbb_pwr_dbg()
691 i, lmt->pwr_lmt_cck_20m[i][j]); in halbb_pwr_dbg()
694 i, lmt->pwr_lmt_cck_40m[i][j]); in halbb_pwr_dbg()
697 i, lmt->pwr_lmt_lgcy_20m[i][j]); in halbb_pwr_dbg()
700 i, lmt->pwr_lmt_20m[i][0][j], lmt->pwr_lmt_20m[i][1][j], in halbb_pwr_dbg()
701 lmt->pwr_lmt_20m[i][2][j], lmt->pwr_lmt_20m[i][3][j], in halbb_pwr_dbg()
702 lmt->pwr_lmt_20m[i][4][j], lmt->pwr_lmt_20m[i][5][j], in halbb_pwr_dbg()
703 lmt->pwr_lmt_20m[i][6][j], lmt->pwr_lmt_20m[i][7][j]); in halbb_pwr_dbg()
706 i, lmt->pwr_lmt_40m[i][0][j], lmt->pwr_lmt_40m[i][1][j], in halbb_pwr_dbg()
707 lmt->pwr_lmt_40m[i][2][j], lmt->pwr_lmt_40m[i][3][j]); in halbb_pwr_dbg()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/phy/bb/
H A Dhalbb_pwr_ctrl.c558 struct rtw_tpu_pwr_imt_info *lmt = &tpu->rtw_tpu_pwr_imt_i; in halbb_pwr_dbg()
691 i, lmt->pwr_lmt_cck_20m[i][j]); in halbb_pwr_dbg()
694 i, lmt->pwr_lmt_cck_40m[i][j]); in halbb_pwr_dbg()
697 i, lmt->pwr_lmt_lgcy_20m[i][j]); in halbb_pwr_dbg()
700 i, lmt->pwr_lmt_20m[i][0][j], lmt->pwr_lmt_20m[i][1][j], in halbb_pwr_dbg()
701 lmt->pwr_lmt_20m[i][2][j], lmt->pwr_lmt_20m[i][3][j], in halbb_pwr_dbg()
702 lmt->pwr_lmt_20m[i][4][j], lmt->pwr_lmt_20m[i][5][j], in halbb_pwr_dbg()
703 lmt->pwr_lmt_20m[i][6][j], lmt->pwr_lmt_20m[i][7][j]); in halbb_pwr_dbg()
706 i, lmt->pwr_lmt_40m[i][0][j], lmt->pwr_lmt_40m[i][1][j], in halbb_pwr_dbg()
707 lmt->pwr_lmt_40m[i][2][j], lmt->pwr_lmt_40m[i][3][j]); in halbb_pwr_dbg()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bs/core/
H A Drtw_rf.c1359 s8 lmt; in dump_txpwr_lmt() local
1380 lmt = phy_get_txpwr_lmt_abs(adapter, ent->regd_name, band, bw, tlrs, ntx_idx, ch, 0); in dump_txpwr_lmt()
1381 if (lmt == MAX_POWER_INDEX) { in dump_txpwr_lmt()
1385 if (lmt % 2) { in dump_txpwr_lmt()
1387 _RTW_PRINT_SEL(sel, fmt, lmt / 2); in dump_txpwr_lmt()
1390 _RTW_PRINT_SEL(sel, fmt, lmt / 2); in dump_txpwr_lmt()
1394 lmt = phy_get_txpwr_lmt_abs(adapter, regd_str(TXPWR_LMT_WW), band, bw, tlrs, ntx_idx, ch, 0); in dump_txpwr_lmt()
1395 if (lmt == MAX_POWER_INDEX) { in dump_txpwr_lmt()
1399 if (lmt % 2) { in dump_txpwr_lmt()
1401 _RTW_PRINT_SEL(sel, fmt, lmt / 2); in dump_txpwr_lmt()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/hal/
H A Dhal_com_phycfg.c2960 s8 lmt = hal_spec->txgi_max; in phy_get_txpwr_lmt() local
3002 lmt = ent->lmt_2g[bw][tlrs][ch_idx][ntx_idx]; in phy_get_txpwr_lmt()
3003 if (lmt != ww_lmt_val) in phy_get_txpwr_lmt()
3008 lmt = hal_spec->txgi_max; in phy_get_txpwr_lmt()
3015 lmt = rtw_min(lmt, ent->lmt_2g[bw][tlrs][ch_idx][ntx_idx]); in phy_get_txpwr_lmt()
3021 lmt = ent->lmt_5g[bw][tlrs - 1][ch_idx][ntx_idx]; in phy_get_txpwr_lmt()
3022 if (lmt != ww_lmt_val) in phy_get_txpwr_lmt()
3027 lmt = hal_spec->txgi_max; in phy_get_txpwr_lmt()
3034 lmt = rtw_min(lmt, ent->lmt_5g[bw][tlrs - 1][ch_idx][ntx_idx]); in phy_get_txpwr_lmt()
3044 return lmt; in phy_get_txpwr_lmt()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723ds/hal/
H A Dhal_com_phycfg.c2961 s8 lmt = hal_spec->txgi_max; in phy_get_txpwr_lmt() local
3003 lmt = ent->lmt_2g[bw][tlrs][ch_idx][ntx_idx]; in phy_get_txpwr_lmt()
3004 if (lmt != ww_lmt_val) in phy_get_txpwr_lmt()
3009 lmt = hal_spec->txgi_max; in phy_get_txpwr_lmt()
3016 lmt = rtw_min(lmt, ent->lmt_2g[bw][tlrs][ch_idx][ntx_idx]); in phy_get_txpwr_lmt()
3022 lmt = ent->lmt_5g[bw][tlrs - 1][ch_idx][ntx_idx]; in phy_get_txpwr_lmt()
3023 if (lmt != ww_lmt_val) in phy_get_txpwr_lmt()
3028 lmt = hal_spec->txgi_max; in phy_get_txpwr_lmt()
3035 lmt = rtw_min(lmt, ent->lmt_5g[bw][tlrs - 1][ch_idx][ntx_idx]); in phy_get_txpwr_lmt()
3045 return lmt; in phy_get_txpwr_lmt()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/hal/
H A Dhal_com_phycfg.c2951 s8 lmt = hal_spec->txgi_max; in phy_get_txpwr_lmt() local
2993 lmt = ent->lmt_2g[bw][tlrs][ch_idx][ntx_idx]; in phy_get_txpwr_lmt()
2994 if (lmt != ww_lmt_val) in phy_get_txpwr_lmt()
2999 lmt = hal_spec->txgi_max; in phy_get_txpwr_lmt()
3006 lmt = rtw_min(lmt, ent->lmt_2g[bw][tlrs][ch_idx][ntx_idx]); in phy_get_txpwr_lmt()
3012 lmt = ent->lmt_5g[bw][tlrs - 1][ch_idx][ntx_idx]; in phy_get_txpwr_lmt()
3013 if (lmt != ww_lmt_val) in phy_get_txpwr_lmt()
3018 lmt = hal_spec->txgi_max; in phy_get_txpwr_lmt()
3025 lmt = rtw_min(lmt, ent->lmt_5g[bw][tlrs - 1][ch_idx][ntx_idx]); in phy_get_txpwr_lmt()
3035 return lmt; in phy_get_txpwr_lmt()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/hal/
H A Dhal_com_phycfg.c2960 s8 lmt = hal_spec->txgi_max; in phy_get_txpwr_lmt() local
3002 lmt = ent->lmt_2g[bw][tlrs][ch_idx][ntx_idx]; in phy_get_txpwr_lmt()
3003 if (lmt != ww_lmt_val) in phy_get_txpwr_lmt()
3008 lmt = hal_spec->txgi_max; in phy_get_txpwr_lmt()
3015 lmt = rtw_min(lmt, ent->lmt_2g[bw][tlrs][ch_idx][ntx_idx]); in phy_get_txpwr_lmt()
3021 lmt = ent->lmt_5g[bw][tlrs - 1][ch_idx][ntx_idx]; in phy_get_txpwr_lmt()
3022 if (lmt != ww_lmt_val) in phy_get_txpwr_lmt()
3027 lmt = hal_spec->txgi_max; in phy_get_txpwr_lmt()
3034 lmt = rtw_min(lmt, ent->lmt_5g[bw][tlrs - 1][ch_idx][ntx_idx]); in phy_get_txpwr_lmt()
3044 return lmt; in phy_get_txpwr_lmt()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/hal/
H A Dhal_com_phycfg.c2897 s8 lmt = hal_spec->txgi_max; in phy_get_txpwr_lmt() local
2946 lmt = ent->lmt_2g[bw][tlrs][ch_idx][ntx_idx]; in phy_get_txpwr_lmt()
2947 if (lmt != ww_lmt_val) in phy_get_txpwr_lmt()
2952 lmt = hal_spec->txgi_max; in phy_get_txpwr_lmt()
2959 lmt = rtw_min(lmt, ent->lmt_2g[bw][tlrs][ch_idx][ntx_idx]); in phy_get_txpwr_lmt()
2965 lmt = ent->lmt_5g[bw][tlrs - 1][ch_idx][ntx_idx]; in phy_get_txpwr_lmt()
2966 if (lmt != ww_lmt_val) in phy_get_txpwr_lmt()
2971 lmt = hal_spec->txgi_max; in phy_get_txpwr_lmt()
2978 lmt = rtw_min(lmt, ent->lmt_5g[bw][tlrs - 1][ch_idx][ntx_idx]); in phy_get_txpwr_lmt()
2993 return lmt; in phy_get_txpwr_lmt()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/hal/
H A Dhal_com_phycfg.c2872 s8 lmt = hal_spec->txgi_max; in phy_get_txpwr_lmt() local
2914 lmt = ent->lmt_2g[bw][tlrs][ch_idx][ntx_idx]; in phy_get_txpwr_lmt()
2915 if (lmt != ww_lmt_val) in phy_get_txpwr_lmt()
2920 lmt = hal_spec->txgi_max; in phy_get_txpwr_lmt()
2927 lmt = rtw_min(lmt, ent->lmt_2g[bw][tlrs][ch_idx][ntx_idx]); in phy_get_txpwr_lmt()
2933 lmt = ent->lmt_5g[bw][tlrs - 1][ch_idx][ntx_idx]; in phy_get_txpwr_lmt()
2934 if (lmt != ww_lmt_val) in phy_get_txpwr_lmt()
2939 lmt = hal_spec->txgi_max; in phy_get_txpwr_lmt()
2946 lmt = rtw_min(lmt, ent->lmt_5g[bw][tlrs - 1][ch_idx][ntx_idx]); in phy_get_txpwr_lmt()
2956 return lmt; in phy_get_txpwr_lmt()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/hal/
H A Dhal_com_phycfg.c2897 s8 lmt = hal_spec->txgi_max; in phy_get_txpwr_lmt() local
2946 lmt = ent->lmt_2g[bw][tlrs][ch_idx][ntx_idx]; in phy_get_txpwr_lmt()
2947 if (lmt != ww_lmt_val) in phy_get_txpwr_lmt()
2952 lmt = hal_spec->txgi_max; in phy_get_txpwr_lmt()
2959 lmt = rtw_min(lmt, ent->lmt_2g[bw][tlrs][ch_idx][ntx_idx]); in phy_get_txpwr_lmt()
2965 lmt = ent->lmt_5g[bw][tlrs - 1][ch_idx][ntx_idx]; in phy_get_txpwr_lmt()
2966 if (lmt != ww_lmt_val) in phy_get_txpwr_lmt()
2971 lmt = hal_spec->txgi_max; in phy_get_txpwr_lmt()
2978 lmt = rtw_min(lmt, ent->lmt_5g[bw][tlrs - 1][ch_idx][ntx_idx]); in phy_get_txpwr_lmt()
2993 return lmt; in phy_get_txpwr_lmt()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/hal/
H A Dhal_com_phycfg.c2873 s8 lmt = hal_spec->txgi_max; in phy_get_txpwr_lmt() local
2915 lmt = ent->lmt_2g[bw][tlrs][ch_idx][ntx_idx]; in phy_get_txpwr_lmt()
2916 if (lmt != ww_lmt_val) in phy_get_txpwr_lmt()
2921 lmt = hal_spec->txgi_max; in phy_get_txpwr_lmt()
2928 lmt = rtw_min(lmt, ent->lmt_2g[bw][tlrs][ch_idx][ntx_idx]); in phy_get_txpwr_lmt()
2934 lmt = ent->lmt_5g[bw][tlrs - 1][ch_idx][ntx_idx]; in phy_get_txpwr_lmt()
2935 if (lmt != ww_lmt_val) in phy_get_txpwr_lmt()
2940 lmt = hal_spec->txgi_max; in phy_get_txpwr_lmt()
2947 lmt = rtw_min(lmt, ent->lmt_5g[bw][tlrs - 1][ch_idx][ntx_idx]); in phy_get_txpwr_lmt()
2957 return lmt; in phy_get_txpwr_lmt()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/hal/
H A Dhal_com_phycfg.c2874 s8 lmt = hal_spec->txgi_max; in phy_get_txpwr_lmt() local
2916 lmt = ent->lmt_2g[bw][tlrs][ch_idx][ntx_idx]; in phy_get_txpwr_lmt()
2917 if (lmt != ww_lmt_val) in phy_get_txpwr_lmt()
2922 lmt = hal_spec->txgi_max; in phy_get_txpwr_lmt()
2929 lmt = rtw_min(lmt, ent->lmt_2g[bw][tlrs][ch_idx][ntx_idx]); in phy_get_txpwr_lmt()
2935 lmt = ent->lmt_5g[bw][tlrs - 1][ch_idx][ntx_idx]; in phy_get_txpwr_lmt()
2936 if (lmt != ww_lmt_val) in phy_get_txpwr_lmt()
2941 lmt = hal_spec->txgi_max; in phy_get_txpwr_lmt()
2948 lmt = rtw_min(lmt, ent->lmt_5g[bw][tlrs - 1][ch_idx][ntx_idx]); in phy_get_txpwr_lmt()
2958 return lmt; in phy_get_txpwr_lmt()
[all …]
/OK3568_Linux_fs/app/forlinx/flapp/src/keyboard/pinyin/share/
H A Duserdict.cpp137 uint64 lmt = ((raw_score & 0xffff0000) >> 16); in extract_score_lmt() local
140 lmt &= mask; in extract_score_lmt()
142 lmt = lmt * kUserDictLMTGranularity + kUserDictLMTSince; in extract_score_lmt()
143 return lmt; in extract_score_lmt()
146 inline int UserDict::build_score(uint64 lmt, int freq) { in build_score() argument
147 lmt = (lmt - kUserDictLMTSince) / kUserDictLMTGranularity; in build_score()
148 lmt = (lmt << (64 - kUserDictLMTBitWidth)); in build_score()
149 lmt = (lmt >> (64 - kUserDictLMTBitWidth)); in build_score()
150 uint16 lmt16 = (uint16)lmt; in build_score()
1736 uint16 lemma_len, uint16 count, uint64 lmt) { in _get_lpis() argument
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188fu/hal/
H A Dhal_com_phycfg.c2941 s8 lmt = hal_spec->txgi_max; in phy_get_txpwr_lmt_abs() local
2983 lmt = ent->lmt_2g[bw][tlrs][ch_idx][ntx_idx]; in phy_get_txpwr_lmt_abs()
2984 if (lmt != ww_lmt_val) in phy_get_txpwr_lmt_abs()
2989 lmt = hal_spec->txgi_max; in phy_get_txpwr_lmt_abs()
2996 lmt = rtw_min(lmt, ent->lmt_2g[bw][tlrs][ch_idx][ntx_idx]); in phy_get_txpwr_lmt_abs()
3002 lmt = ent->lmt_5g[bw][tlrs - 1][ch_idx][ntx_idx]; in phy_get_txpwr_lmt_abs()
3003 if (lmt != ww_lmt_val) in phy_get_txpwr_lmt_abs()
3008 lmt = hal_spec->txgi_max; in phy_get_txpwr_lmt_abs()
3015 lmt = rtw_min(lmt, ent->lmt_5g[bw][tlrs - 1][ch_idx][ntx_idx]); in phy_get_txpwr_lmt_abs()
3025 return lmt; in phy_get_txpwr_lmt_abs()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/hal/
H A Dhal_com_phycfg.c2931 s8 lmt = hal_spec->txgi_max; in phy_get_txpwr_lmt_abs() local
2973 lmt = ent->lmt_2g[bw][tlrs][ch_idx][ntx_idx]; in phy_get_txpwr_lmt_abs()
2974 if (lmt != ww_lmt_val) in phy_get_txpwr_lmt_abs()
2979 lmt = hal_spec->txgi_max; in phy_get_txpwr_lmt_abs()
2986 lmt = rtw_min(lmt, ent->lmt_2g[bw][tlrs][ch_idx][ntx_idx]); in phy_get_txpwr_lmt_abs()
2992 lmt = ent->lmt_5g[bw][tlrs - 1][ch_idx][ntx_idx]; in phy_get_txpwr_lmt_abs()
2993 if (lmt != ww_lmt_val) in phy_get_txpwr_lmt_abs()
2998 lmt = hal_spec->txgi_max; in phy_get_txpwr_lmt_abs()
3005 lmt = rtw_min(lmt, ent->lmt_5g[bw][tlrs - 1][ch_idx][ntx_idx]); in phy_get_txpwr_lmt_abs()
3015 return lmt; in phy_get_txpwr_lmt_abs()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189fs/hal/
H A Dhal_com_phycfg.c2983 s8 lmt = hal_spec->txgi_max; in phy_get_txpwr_lmt_abs() local
3025 lmt = ent->lmt_2g[bw][tlrs][ch_idx][ntx_idx]; in phy_get_txpwr_lmt_abs()
3026 if (lmt != ww_lmt_val) in phy_get_txpwr_lmt_abs()
3031 lmt = hal_spec->txgi_max; in phy_get_txpwr_lmt_abs()
3038 lmt = rtw_min(lmt, ent->lmt_2g[bw][tlrs][ch_idx][ntx_idx]); in phy_get_txpwr_lmt_abs()
3044 lmt = ent->lmt_5g[bw][tlrs - 1][ch_idx][ntx_idx]; in phy_get_txpwr_lmt_abs()
3045 if (lmt != ww_lmt_val) in phy_get_txpwr_lmt_abs()
3050 lmt = hal_spec->txgi_max; in phy_get_txpwr_lmt_abs()
3057 lmt = rtw_min(lmt, ent->lmt_5g[bw][tlrs - 1][ch_idx][ntx_idx]); in phy_get_txpwr_lmt_abs()
3067 return lmt; in phy_get_txpwr_lmt_abs()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/core/
H A Drtw_rf.c1176 s8 lmt; in dump_txpwr_lmt() local
1197 lmt = phy_get_txpwr_lmt(adapter, ent->regd_name, band, bw, tlrs, ntx_idx, ch, 0); in dump_txpwr_lmt()
1198 …txpwr_idx_get_dbm_str(lmt, hal_spec->txgi_max, hal_spec->txgi_pdbm, strlen(ent->regd_name), tmp_st… in dump_txpwr_lmt()
1201 lmt = phy_get_txpwr_lmt(adapter, regd_str(TXPWR_LMT_WW), band, bw, tlrs, ntx_idx, ch, 0); in dump_txpwr_lmt()
1202 …txpwr_idx_get_dbm_str(lmt, hal_spec->txgi_max, hal_spec->txgi_pdbm, strlen(regd_str(TXPWR_LMT_WW))… in dump_txpwr_lmt()
1270 , u8 band, u8 bw, u8 tlrs, u8 ntx_idx, u8 ch_idx, s8 lmt) in rtw_txpwr_lmt_add_with_nlen() argument
1339 lmt = rtw_min(pre_lmt, lmt); in rtw_txpwr_lmt_add_with_nlen()
1341 ent->lmt_2g[bw][tlrs][ch_idx][ntx_idx] = lmt; in rtw_txpwr_lmt_add_with_nlen()
1344 ent->lmt_5g[bw][tlrs - 1][ch_idx][ntx_idx] = lmt; in rtw_txpwr_lmt_add_with_nlen()
1351 , lmt); in rtw_txpwr_lmt_add_with_nlen()
[all …]
/OK3568_Linux_fs/app/forlinx/DWKeyboard/include/pinyin/include/
H A Duserdict.h102 uint16 lemma_len, uint16 count, uint64 lmt);
302 inline int build_score(uint64 lmt, int freq);
309 uint16 lemma_len, uint16 count, uint64 lmt);
365 uint16 lemma_len, uint16 count, uint64 lmt);
/OK3568_Linux_fs/app/forlinx/flapp/src/keyboard/pinyin/include/
H A Duserdict.h102 uint16 lemma_len, uint16 count, uint64 lmt);
302 inline int build_score(uint64 lmt, int freq);
309 uint16 lemma_len, uint16 count, uint64 lmt);
365 uint16 lemma_len, uint16 count, uint64 lmt);

123