Home
last modified time | relevance | path

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

/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/hal/phydm/
Dphydm_smt_ant.c295 u32 dm_value[10] = {0}; in phydm_cumitek_smt_ant_debug() local
298 PHYDM_SSCANF(input[1], DCMD_DECIMAL, &dm_value[0]); in phydm_cumitek_smt_ant_debug()
310 } else if (dm_value[0] == 1) { /*@fix rx_idle pattern*/ in phydm_cumitek_smt_ant_debug()
312 PHYDM_SSCANF(input[2], DCMD_DECIMAL, &dm_value[1]); in phydm_cumitek_smt_ant_debug()
313 PHYDM_SSCANF(input[3], DCMD_DECIMAL, &dm_value[2]); in phydm_cumitek_smt_ant_debug()
315 phydm_cumitek_smt_rx_default_ant_update(dm, (u8)dm_value[1], (u8)dm_value[2]); in phydm_cumitek_smt_ant_debug()
317 "RX Ant{A, B}={%d, %d}\n", dm_value[1], dm_value[2]); in phydm_cumitek_smt_ant_debug()
319 } else if (dm_value[0] == 2) { /*@fix tx pattern*/ in phydm_cumitek_smt_ant_debug()
323 PHYDM_SSCANF(input[i + 1], DCMD_DECIMAL, &dm_value[i]); in phydm_cumitek_smt_ant_debug()
327 "STA[%d] TX Ant{A, B}={%d, %d}\n", dm_value[3], in phydm_cumitek_smt_ant_debug()
[all …]
Dphydm_adaptivity.c701 u32 dm_value[10] = {0}; in phydm_adaptivity_debug() local
707 PHYDM_SSCANF(input[i + 1], DCMD_HEX, &dm_value[i]); in phydm_adaptivity_debug()
725 if (dm_value[0] == PHYDM_ADAPT_DEBUG) { in phydm_adaptivity_debug()
727 if (dm_value[1] != 0) in phydm_adaptivity_debug()
728 dm->th_l2h_ini = (s8)dm_value[1]; in phydm_adaptivity_debug()
729 if (dm_value[2] != 0) in phydm_adaptivity_debug()
730 dm->th_edcca_hl_diff = (s8)dm_value[2]; in phydm_adaptivity_debug()
734 } else if (dm_value[0] == PHYDM_ADAPT_RESUME) { in phydm_adaptivity_debug()
738 } else if (dm_value[0] == PHYDM_ADAPT_MSG) { in phydm_adaptivity_debug()
763 } else if (dm_value[0] == PHYDM_L2H_INI_DEBUG) { in phydm_adaptivity_debug()
[all …]
Dphydm_antdiv.c6438 u32 dm_value[10] = {0}; in phydm_antdiv_debug() local
6444 PHYDM_SSCANF(input[i + 1], DCMD_HEX, &dm_value[i]); in phydm_antdiv_debug()
6462 } else if (dm_value[0] == 1) { in phydm_antdiv_debug()
6464 if (dm_value[1] == 0) { in phydm_antdiv_debug()
6468 } else if (dm_value[1] == 1) { in phydm_antdiv_debug()
6477 } else if (dm_value[1] == 2) { in phydm_antdiv_debug()
6498 } else if (dm_value[0] == 2) { in phydm_antdiv_debug()
6500 dm->antdiv_period = (u8)dm_value[1]; in phydm_antdiv_debug()
6505 else if (dm_value[0] == 3 && in phydm_antdiv_debug()
6508 if (dm_value[1] == 0) { in phydm_antdiv_debug()
[all …]
Dphydm.c1915 u32 dm_value[10] = {0}; in phydm_supportability_en() local
1923 PHYDM_SSCANF(input[i + 1], DCMD_DECIMAL, &dm_value[i]); in phydm_supportability_en()
1932 if (dm_value[0] == 100) { in phydm_supportability_en()
2012 } else if (dm_value[0] == 101) { in phydm_supportability_en()
2017 if (dm_value[1] == 1) { /* @enable */ in phydm_supportability_en()
2018 dm->support_ability |= (one << dm_value[0]); in phydm_supportability_en()
2019 } else if (dm_value[1] == 2) {/* @disable */ in phydm_supportability_en()
2020 dm->support_ability &= ~(one << dm_value[0]); in phydm_supportability_en()
Dphydm_pathdiv.c518 u32 dm_value[10] = {0}; in phydm_pathdiv_debug_8814a() local
523 PHYDM_SSCANF(input[i + 1], DCMD_HEX, &dm_value[i]); in phydm_pathdiv_debug_8814a()
531 dm->path_select = (u8)(dm_value[0] & 0xf); in phydm_pathdiv_debug_8814a()
Dphydm_rainfo.c135 u32 dm_value[10] = {0}; in phydm_h2C_debug() local
141 PHYDM_SSCANF(input[i + 1], DCMD_HEX, &dm_value[i]); in phydm_h2C_debug()
148 phydm_h2c_id = (u8)dm_value[0]; in phydm_h2C_debug()
154 h2c_parameter[i] = (u8)dm_value[i + 1]; in phydm_h2C_debug()
Dphydm_debug.c4188 u32 dm_value[10] = {0}; in phydm_enable_big_jump() local
4197 PHYDM_SSCANF(input[i + 1], DCMD_HEX, &dm_value[i]); in phydm_enable_big_jump()
4205 if (dm_value[0] == 0) { in phydm_enable_big_jump()
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/hal/phydm/halrf/
Dhalrf.c684 void halrf_iqk_debug(void *dm_void, u32 *const dm_value, u32 *_used, in halrf_iqk_debug() argument
703 if (dm_value[0] == 0x0) in halrf_iqk_debug()
705 else if (dm_value[0] == 0x1) in halrf_iqk_debug()
707 else if (dm_value[0] == 0x2) in halrf_iqk_debug()
709 else if (dm_value[0] == 0x3) in halrf_iqk_debug()
711 else if (dm_value[0] == 0x10) in halrf_iqk_debug()
712 halrf_iqk_dbg_cfir_write(dm, 0, dm_value[1], dm_value[2], in halrf_iqk_debug()
713 dm_value[3], dm_value[4]); in halrf_iqk_debug()
714 else if (dm_value[0] == 0x11) in halrf_iqk_debug()
715 halrf_iqk_dbg_cfir_write(dm, 1, dm_value[1], dm_value[2], in halrf_iqk_debug()
[all …]
Dhalrf_debug.c210 u32 dm_value[10] = {0}; in halrf_dack_debug_cmd() local
215 PHYDM_SSCANF(input[i + 2], DCMD_DECIMAL, &dm_value[i]); in halrf_dack_debug_cmd()
217 if (dm_value[0] == 1) in halrf_dack_debug_cmd()
Dhalrf.h674 void halrf_iqk_debug(void *dm_void, u32 *const dm_value, u32 *_used,