Home
last modified time | relevance | path

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

1234567

/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bs/hal/phydm/
H A Dphydm_smt_ant.c271 u32 dm_value[10] = {0}; in phydm_cumitek_smt_ant_debug() local
274 PHYDM_SSCANF(input[1], DCMD_DECIMAL, &dm_value[0]); in phydm_cumitek_smt_ant_debug()
282 } else if (dm_value[0] == 1) { /*fix rx_idle pattern*/ in phydm_cumitek_smt_ant_debug()
284 PHYDM_SSCANF(input[2], DCMD_DECIMAL, &dm_value[1]); in phydm_cumitek_smt_ant_debug()
285 PHYDM_SSCANF(input[3], DCMD_DECIMAL, &dm_value[2]); in phydm_cumitek_smt_ant_debug()
287 phydm_cumitek_smt_rx_default_ant_update(p_dm, (u8)dm_value[1], (u8)dm_value[2]); in phydm_cumitek_smt_ant_debug()
288 …PHYDM_SNPRINTF((output + used, out_len - used, "RX Ant{A, B}={%d, %d}\n", dm_value[1], dm_value[2]… in phydm_cumitek_smt_ant_debug()
290 } else if (dm_value[0] == 2) { /*fix tx pattern*/ in phydm_cumitek_smt_ant_debug()
295 PHYDM_SSCANF(input[i + 1], DCMD_DECIMAL, &dm_value[i]); in phydm_cumitek_smt_ant_debug()
298 … + used, out_len - used, "STA[%d] TX Ant{A, B}={%d, %d}\n",dm_value[3], dm_value[1], dm_value[2])); in phydm_cumitek_smt_ant_debug()
[all …]
H A Dphydm_api.c212 u32 *const dm_value, in phydm_config_trx_path() argument
223 if (dm_value[0] == 0) { in phydm_config_trx_path()
225 if (dm_value[1] == 1) { /*TX*/ in phydm_config_trx_path()
226 if (dm_value[2] == 1) in phydm_config_trx_path()
228 else if (dm_value[2] == 2) in phydm_config_trx_path()
230 else if (dm_value[2] == 3) in phydm_config_trx_path()
232 } else if (dm_value[1] == 2) { /*RX*/ in phydm_config_trx_path()
236 if (dm_value[2] == 1) in phydm_config_trx_path()
238 else if (dm_value[2] == 2) in phydm_config_trx_path()
240 else if (dm_value[2] == 3) { in phydm_config_trx_path()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723ds/hal/phydm/
H A Dphydm_smt_ant.c296 u32 dm_value[10] = {0}; in phydm_cumitek_smt_ant_debug() local
299 PHYDM_SSCANF(input[1], DCMD_DECIMAL, &dm_value[0]); in phydm_cumitek_smt_ant_debug()
311 } else if (dm_value[0] == 1) { /*@fix rx_idle pattern*/ in phydm_cumitek_smt_ant_debug()
313 PHYDM_SSCANF(input[2], DCMD_DECIMAL, &dm_value[1]); in phydm_cumitek_smt_ant_debug()
314 PHYDM_SSCANF(input[3], DCMD_DECIMAL, &dm_value[2]); in phydm_cumitek_smt_ant_debug()
316 phydm_cumitek_smt_rx_default_ant_update(dm, (u8)dm_value[1], (u8)dm_value[2]); in phydm_cumitek_smt_ant_debug()
318 "RX Ant{A, B}={%d, %d}\n", dm_value[1], dm_value[2]); in phydm_cumitek_smt_ant_debug()
320 } else if (dm_value[0] == 2) { /*@fix tx pattern*/ in phydm_cumitek_smt_ant_debug()
324 PHYDM_SSCANF(input[i + 1], DCMD_DECIMAL, &dm_value[i]); in phydm_cumitek_smt_ant_debug()
328 "STA[%d] TX Ant{A, B}={%d, %d}\n", dm_value[3], in phydm_cumitek_smt_ant_debug()
[all …]
H A Dphydm_soml.c313 u32 dm_value[10] = {0}; in phydm_soml_debug() local
318 PHYDM_SSCANF(input[i + 1], DCMD_DECIMAL, &dm_value[i]); in phydm_soml_debug()
326 if (dm_value[0] == 1) { /*Turn on/off SOML*/ in phydm_soml_debug()
327 soml_tab->soml_select = (u8)dm_value[1]; in phydm_soml_debug()
329 } else if (dm_value[0] == 2) { /*training number for SOML*/ in phydm_soml_debug()
331 soml_tab->soml_train_num = (u8)dm_value[1]; in phydm_soml_debug()
335 } else if (dm_value[0] == 3) { /*training interval for SOML*/ in phydm_soml_debug()
337 soml_tab->soml_intvl = (u8)dm_value[1]; in phydm_soml_debug()
340 } else if (dm_value[0] == 4) { /*@function period for SOML*/ in phydm_soml_debug()
342 soml_tab->soml_period = (u8)dm_value[1]; in phydm_soml_debug()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188fu/hal/phydm/
H A Dphydm_smt_ant.c296 u32 dm_value[10] = {0}; in phydm_cumitek_smt_ant_debug() local
299 PHYDM_SSCANF(input[1], DCMD_DECIMAL, &dm_value[0]); in phydm_cumitek_smt_ant_debug()
311 } else if (dm_value[0] == 1) { /*@fix rx_idle pattern*/ in phydm_cumitek_smt_ant_debug()
313 PHYDM_SSCANF(input[2], DCMD_DECIMAL, &dm_value[1]); in phydm_cumitek_smt_ant_debug()
314 PHYDM_SSCANF(input[3], DCMD_DECIMAL, &dm_value[2]); in phydm_cumitek_smt_ant_debug()
316 phydm_cumitek_smt_rx_default_ant_update(dm, (u8)dm_value[1], (u8)dm_value[2]); in phydm_cumitek_smt_ant_debug()
318 "RX Ant{A, B}={%d, %d}\n", dm_value[1], dm_value[2]); in phydm_cumitek_smt_ant_debug()
320 } else if (dm_value[0] == 2) { /*@fix tx pattern*/ in phydm_cumitek_smt_ant_debug()
324 PHYDM_SSCANF(input[i + 1], DCMD_DECIMAL, &dm_value[i]); in phydm_cumitek_smt_ant_debug()
328 "STA[%d] TX Ant{A, B}={%d, %d}\n", dm_value[3], in phydm_cumitek_smt_ant_debug()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/hal/phydm/
H A 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 …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/hal/phydm/
H A 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 …]
H A Dphydm_soml.c312 u32 dm_value[10] = {0}; in phydm_soml_debug() local
320 PHYDM_SSCANF(input[i + 1], DCMD_DECIMAL, &dm_value[i]); in phydm_soml_debug()
328 if (dm_value[0] == 1) { /*Turn on/off SOML*/ in phydm_soml_debug()
329 soml_tab->soml_select = (u8)dm_value[1]; in phydm_soml_debug()
331 } else if (dm_value[0] == 2) { /*training number for SOML*/ in phydm_soml_debug()
333 soml_tab->soml_train_num = (u8)dm_value[1]; in phydm_soml_debug()
337 } else if (dm_value[0] == 3) { /*training interval for SOML*/ in phydm_soml_debug()
339 soml_tab->soml_intvl = (u8)dm_value[1]; in phydm_soml_debug()
342 } else if (dm_value[0] == 4) { /*@function period for SOML*/ in phydm_soml_debug()
344 soml_tab->soml_period = (u8)dm_value[1]; in phydm_soml_debug()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/hal/phydm/
H A Dphydm_smt_ant.c296 u32 dm_value[10] = {0}; in phydm_cumitek_smt_ant_debug() local
299 PHYDM_SSCANF(input[1], DCMD_DECIMAL, &dm_value[0]); in phydm_cumitek_smt_ant_debug()
311 } else if (dm_value[0] == 1) { /*@fix rx_idle pattern*/ in phydm_cumitek_smt_ant_debug()
313 PHYDM_SSCANF(input[2], DCMD_DECIMAL, &dm_value[1]); in phydm_cumitek_smt_ant_debug()
314 PHYDM_SSCANF(input[3], DCMD_DECIMAL, &dm_value[2]); in phydm_cumitek_smt_ant_debug()
316 phydm_cumitek_smt_rx_default_ant_update(dm, (u8)dm_value[1], (u8)dm_value[2]); in phydm_cumitek_smt_ant_debug()
318 "RX Ant{A, B}={%d, %d}\n", dm_value[1], dm_value[2]); in phydm_cumitek_smt_ant_debug()
320 } else if (dm_value[0] == 2) { /*@fix tx pattern*/ in phydm_cumitek_smt_ant_debug()
324 PHYDM_SSCANF(input[i + 1], DCMD_DECIMAL, &dm_value[i]); in phydm_cumitek_smt_ant_debug()
328 "STA[%d] TX Ant{A, B}={%d, %d}\n", dm_value[3], in phydm_cumitek_smt_ant_debug()
[all …]
H A Dphydm_soml.c313 u32 dm_value[10] = {0}; in phydm_soml_debug() local
321 PHYDM_SSCANF(input[i + 1], DCMD_DECIMAL, &dm_value[i]); in phydm_soml_debug()
329 if (dm_value[0] == 1) { /*Turn on/off SOML*/ in phydm_soml_debug()
330 soml_tab->soml_select = (u8)dm_value[1]; in phydm_soml_debug()
332 } else if (dm_value[0] == 2) { /*training number for SOML*/ in phydm_soml_debug()
334 soml_tab->soml_train_num = (u8)dm_value[1]; in phydm_soml_debug()
338 } else if (dm_value[0] == 3) { /*training interval for SOML*/ in phydm_soml_debug()
340 soml_tab->soml_intvl = (u8)dm_value[1]; in phydm_soml_debug()
343 } else if (dm_value[0] == 4) { /*@function period for SOML*/ in phydm_soml_debug()
345 soml_tab->soml_period = (u8)dm_value[1]; in phydm_soml_debug()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/hal/phydm/
H A 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 …]
H A Dphydm_soml.c312 u32 dm_value[10] = {0}; in phydm_soml_debug() local
320 PHYDM_SSCANF(input[i + 1], DCMD_DECIMAL, &dm_value[i]); in phydm_soml_debug()
328 if (dm_value[0] == 1) { /*Turn on/off SOML*/ in phydm_soml_debug()
329 soml_tab->soml_select = (u8)dm_value[1]; in phydm_soml_debug()
331 } else if (dm_value[0] == 2) { /*training number for SOML*/ in phydm_soml_debug()
333 soml_tab->soml_train_num = (u8)dm_value[1]; in phydm_soml_debug()
337 } else if (dm_value[0] == 3) { /*training interval for SOML*/ in phydm_soml_debug()
339 soml_tab->soml_intvl = (u8)dm_value[1]; in phydm_soml_debug()
342 } else if (dm_value[0] == 4) { /*@function period for SOML*/ in phydm_soml_debug()
344 soml_tab->soml_period = (u8)dm_value[1]; in phydm_soml_debug()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/hal/phydm/
H A Dphydm_smt_ant.c296 u32 dm_value[10] = {0}; in phydm_cumitek_smt_ant_debug() local
299 PHYDM_SSCANF(input[1], DCMD_DECIMAL, &dm_value[0]); in phydm_cumitek_smt_ant_debug()
311 } else if (dm_value[0] == 1) { /*@fix rx_idle pattern*/ in phydm_cumitek_smt_ant_debug()
313 PHYDM_SSCANF(input[2], DCMD_DECIMAL, &dm_value[1]); in phydm_cumitek_smt_ant_debug()
314 PHYDM_SSCANF(input[3], DCMD_DECIMAL, &dm_value[2]); in phydm_cumitek_smt_ant_debug()
316 phydm_cumitek_smt_rx_default_ant_update(dm, (u8)dm_value[1], (u8)dm_value[2]); in phydm_cumitek_smt_ant_debug()
318 "RX Ant{A, B}={%d, %d}\n", dm_value[1], dm_value[2]); in phydm_cumitek_smt_ant_debug()
320 } else if (dm_value[0] == 2) { /*@fix tx pattern*/ in phydm_cumitek_smt_ant_debug()
324 PHYDM_SSCANF(input[i + 1], DCMD_DECIMAL, &dm_value[i]); in phydm_cumitek_smt_ant_debug()
328 "STA[%d] TX Ant{A, B}={%d, %d}\n", dm_value[3], in phydm_cumitek_smt_ant_debug()
[all …]
H A Dphydm_soml.c313 u32 dm_value[10] = {0}; in phydm_soml_debug() local
318 PHYDM_SSCANF(input[i + 1], DCMD_DECIMAL, &dm_value[i]); in phydm_soml_debug()
326 if (dm_value[0] == 1) { /*Turn on/off SOML*/ in phydm_soml_debug()
327 soml_tab->soml_select = (u8)dm_value[1]; in phydm_soml_debug()
329 } else if (dm_value[0] == 2) { /*training number for SOML*/ in phydm_soml_debug()
331 soml_tab->soml_train_num = (u8)dm_value[1]; in phydm_soml_debug()
335 } else if (dm_value[0] == 3) { /*training interval for SOML*/ in phydm_soml_debug()
337 soml_tab->soml_intvl = (u8)dm_value[1]; in phydm_soml_debug()
340 } else if (dm_value[0] == 4) { /*@function period for SOML*/ in phydm_soml_debug()
342 soml_tab->soml_period = (u8)dm_value[1]; in phydm_soml_debug()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/hal/phydm/
H A 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 …]
H A Dphydm_soml.c312 u32 dm_value[10] = {0}; in phydm_soml_debug() local
320 PHYDM_SSCANF(input[i + 1], DCMD_DECIMAL, &dm_value[i]); in phydm_soml_debug()
328 if (dm_value[0] == 1) { /*Turn on/off SOML*/ in phydm_soml_debug()
329 soml_tab->soml_select = (u8)dm_value[1]; in phydm_soml_debug()
331 } else if (dm_value[0] == 2) { /*training number for SOML*/ in phydm_soml_debug()
333 soml_tab->soml_train_num = (u8)dm_value[1]; in phydm_soml_debug()
337 } else if (dm_value[0] == 3) { /*training interval for SOML*/ in phydm_soml_debug()
339 soml_tab->soml_intvl = (u8)dm_value[1]; in phydm_soml_debug()
342 } else if (dm_value[0] == 4) { /*@function period for SOML*/ in phydm_soml_debug()
344 soml_tab->soml_period = (u8)dm_value[1]; in phydm_soml_debug()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/hal/phydm/
H A 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 …]
H A Dphydm_soml.c312 u32 dm_value[10] = {0}; in phydm_soml_debug() local
320 PHYDM_SSCANF(input[i + 1], DCMD_DECIMAL, &dm_value[i]); in phydm_soml_debug()
328 if (dm_value[0] == 1) { /*Turn on/off SOML*/ in phydm_soml_debug()
329 soml_tab->soml_select = (u8)dm_value[1]; in phydm_soml_debug()
331 } else if (dm_value[0] == 2) { /*training number for SOML*/ in phydm_soml_debug()
333 soml_tab->soml_train_num = (u8)dm_value[1]; in phydm_soml_debug()
337 } else if (dm_value[0] == 3) { /*training interval for SOML*/ in phydm_soml_debug()
339 soml_tab->soml_intvl = (u8)dm_value[1]; in phydm_soml_debug()
342 } else if (dm_value[0] == 4) { /*@function period for SOML*/ in phydm_soml_debug()
344 soml_tab->soml_period = (u8)dm_value[1]; in phydm_soml_debug()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189fs/hal/phydm/
H A Dphydm_smt_ant.c296 u32 dm_value[10] = {0}; in phydm_cumitek_smt_ant_debug() local
299 PHYDM_SSCANF(input[1], DCMD_DECIMAL, &dm_value[0]); in phydm_cumitek_smt_ant_debug()
311 } else if (dm_value[0] == 1) { /*@fix rx_idle pattern*/ in phydm_cumitek_smt_ant_debug()
313 PHYDM_SSCANF(input[2], DCMD_DECIMAL, &dm_value[1]); in phydm_cumitek_smt_ant_debug()
314 PHYDM_SSCANF(input[3], DCMD_DECIMAL, &dm_value[2]); in phydm_cumitek_smt_ant_debug()
316 phydm_cumitek_smt_rx_default_ant_update(dm, (u8)dm_value[1], (u8)dm_value[2]); in phydm_cumitek_smt_ant_debug()
318 "RX Ant{A, B}={%d, %d}\n", dm_value[1], dm_value[2]); in phydm_cumitek_smt_ant_debug()
320 } else if (dm_value[0] == 2) { /*@fix tx pattern*/ in phydm_cumitek_smt_ant_debug()
324 PHYDM_SSCANF(input[i + 1], DCMD_DECIMAL, &dm_value[i]); in phydm_cumitek_smt_ant_debug()
328 "STA[%d] TX Ant{A, B}={%d, %d}\n", dm_value[3], in phydm_cumitek_smt_ant_debug()
[all …]
H A Dphydm_soml.c313 u32 dm_value[10] = {0}; in phydm_soml_debug() local
318 PHYDM_SSCANF(input[i + 1], DCMD_DECIMAL, &dm_value[i]); in phydm_soml_debug()
326 if (dm_value[0] == 1) { /*Turn on/off SOML*/ in phydm_soml_debug()
327 soml_tab->soml_select = (u8)dm_value[1]; in phydm_soml_debug()
329 } else if (dm_value[0] == 2) { /*training number for SOML*/ in phydm_soml_debug()
331 soml_tab->soml_train_num = (u8)dm_value[1]; in phydm_soml_debug()
335 } else if (dm_value[0] == 3) { /*training interval for SOML*/ in phydm_soml_debug()
337 soml_tab->soml_intvl = (u8)dm_value[1]; in phydm_soml_debug()
340 } else if (dm_value[0] == 4) { /*@function period for SOML*/ in phydm_soml_debug()
342 soml_tab->soml_period = (u8)dm_value[1]; in phydm_soml_debug()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/hal/phydm/
H A 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 …]
H A Dphydm_soml.c312 u32 dm_value[10] = {0}; in phydm_soml_debug() local
320 PHYDM_SSCANF(input[i + 1], DCMD_DECIMAL, &dm_value[i]); in phydm_soml_debug()
328 if (dm_value[0] == 1) { /*Turn on/off SOML*/ in phydm_soml_debug()
329 soml_tab->soml_select = (u8)dm_value[1]; in phydm_soml_debug()
331 } else if (dm_value[0] == 2) { /*training number for SOML*/ in phydm_soml_debug()
333 soml_tab->soml_train_num = (u8)dm_value[1]; in phydm_soml_debug()
337 } else if (dm_value[0] == 3) { /*training interval for SOML*/ in phydm_soml_debug()
339 soml_tab->soml_intvl = (u8)dm_value[1]; in phydm_soml_debug()
342 } else if (dm_value[0] == 4) { /*@function period for SOML*/ in phydm_soml_debug()
344 soml_tab->soml_period = (u8)dm_value[1]; in phydm_soml_debug()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/hal/phydm/
H A 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 …]
H A Dphydm_soml.c312 u32 dm_value[10] = {0}; in phydm_soml_debug() local
320 PHYDM_SSCANF(input[i + 1], DCMD_DECIMAL, &dm_value[i]); in phydm_soml_debug()
328 if (dm_value[0] == 1) { /*Turn on/off SOML*/ in phydm_soml_debug()
329 soml_tab->soml_select = (u8)dm_value[1]; in phydm_soml_debug()
331 } else if (dm_value[0] == 2) { /*training number for SOML*/ in phydm_soml_debug()
333 soml_tab->soml_train_num = (u8)dm_value[1]; in phydm_soml_debug()
337 } else if (dm_value[0] == 3) { /*training interval for SOML*/ in phydm_soml_debug()
339 soml_tab->soml_intvl = (u8)dm_value[1]; in phydm_soml_debug()
342 } else if (dm_value[0] == 4) { /*@function period for SOML*/ in phydm_soml_debug()
344 soml_tab->soml_period = (u8)dm_value[1]; in phydm_soml_debug()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bs/hal/phydm/halrf/
H A Dhalrf.c686 u32 *const dm_value, in halrf_iqk_debug() argument
708 if (dm_value[0] == 0x0) in halrf_iqk_debug()
710 else if (dm_value[0] == 0x1) in halrf_iqk_debug()
712 else if (dm_value[0] == 0x2) in halrf_iqk_debug()
714 else if (dm_value[0] == 0x3) in halrf_iqk_debug()
716 else if (dm_value[0] == 0x10) in halrf_iqk_debug()
717 halrf_iqk_dbg_cfir_write(p_dm, 0, dm_value[1], dm_value[2], dm_value[3], dm_value[4]); in halrf_iqk_debug()
718 else if (dm_value[0] == 0x11) in halrf_iqk_debug()
719 halrf_iqk_dbg_cfir_write(p_dm, 1, dm_value[1], dm_value[2], dm_value[3], dm_value[4]); in halrf_iqk_debug()
720 else if (dm_value[0] == 0x20) in halrf_iqk_debug()
[all …]

1234567