Home
last modified time | relevance | path

Searched refs:var1 (Results 1 – 7 of 7) sorted by relevance

/drivers/staging/rtlwifi/phydm/
Dphydm_psd.c366 u32 var1[10] = {0}; in phydm_psd_debug() local
380 PHYDM_SSCANF(input[1], DCMD_DECIMAL, &var1[0]); in phydm_psd_debug()
382 if (var1[0] == 0) { in phydm_psd_debug()
386 &var1[i]); in phydm_psd_debug()
392 var1[1], var1[2], var1[3], var1[4], var1[5], var1[6], in phydm_psd_debug()
393 (u8)var1[7], (u8)var1[8]); in phydm_psd_debug()
394 phydm_psd_para_setting(dm, (u8)var1[1], (u8)var1[2], in phydm_psd_debug()
395 (u8)var1[3], (u16)var1[4], (u8)var1[5], in phydm_psd_debug()
396 (u8)var1[6], (u8)var1[7], (u8)var1[8]); in phydm_psd_debug()
398 } else if (var1[0] == 1) { in phydm_psd_debug()
[all …]
Dphydm_adc_sampling.c555 u32 var1[10] = {0}; in phydm_lamode_trigger_setting() local
560 PHYDM_SSCANF(input[1], DCMD_DECIMAL, &var1[0]); in phydm_lamode_trigger_setting()
561 is_enable_la_mode = (bool)var1[0]; in phydm_lamode_trigger_setting()
570 PHYDM_SSCANF(input[2], DCMD_DECIMAL, &var1[1]); in phydm_lamode_trigger_setting()
572 trig_mode = (u8)var1[1]; in phydm_lamode_trigger_setting()
575 PHYDM_SSCANF(input[3], DCMD_HEX, &var1[2]); in phydm_lamode_trigger_setting()
577 PHYDM_SSCANF(input[3], DCMD_DECIMAL, &var1[2]); in phydm_lamode_trigger_setting()
578 trig_sig_sel = var1[2]; in phydm_lamode_trigger_setting()
580 PHYDM_SSCANF(input[4], DCMD_DECIMAL, &var1[3]); in phydm_lamode_trigger_setting()
581 PHYDM_SSCANF(input[5], DCMD_DECIMAL, &var1[4]); in phydm_lamode_trigger_setting()
[all …]
Dphydm_debug.c2093 int var1[10] = {0}; in phydm_cmd_parser() local
2159 &var1[i]); in phydm_cmd_parser()
2166 phydm_RA_debug_PCR(dm, (u32 *)var1, &used, output, in phydm_cmd_parser()
2176 PHYDM_SSCANF(input[i + 1], DCMD_HEX, &var1[i]); in phydm_cmd_parser()
2188 PHYDM_SSCANF(input[i + 1], DCMD_HEX, &var1[i]); in phydm_cmd_parser()
2201 &var1[i]); in phydm_cmd_parser()
2208 phydm_debug_trace(dm, (u32 *)var1, &used, output, in phydm_cmd_parser()
2219 &var1[i]); in phydm_cmd_parser()
2225 phydm_fw_debug_trace(dm, (u32 *)var1, &used, output, in phydm_cmd_parser()
2235 &var1[i]); in phydm_cmd_parser()
[all …]
/drivers/staging/media/atomisp/pci/atomisp2/include/hmm/
Dhmm_common.h32 #define var_equal_return(var1, var2, exp, fmt, arg ...) \ argument
34 if ((var1) == (var2)) { \
41 #define var_equal_return_void(var1, var2, fmt, arg ...) \ argument
43 if ((var1) == (var2)) { \
50 #define var_equal_goto(var1, var2, label, fmt, arg ...) \ argument
52 if ((var1) == (var2)) { \
59 #define var_not_equal_goto(var1, var2, label, fmt, arg ...) \ argument
61 if ((var1) != (var2)) { \
/drivers/iio/pressure/
Dbmp280-core.c199 s32 var1, var2; in bmp280_compensate_temp() local
218 var1 = (((adc_temp >> 3) - ((s32)le16_to_cpu(buf[T1]) << 1)) * in bmp280_compensate_temp()
223 data->t_fine = var1 + var2; in bmp280_compensate_temp()
239 s64 var1, var2, p; in bmp280_compensate_press() local
250 var1 = ((s64)data->t_fine) - 128000; in bmp280_compensate_press()
251 var2 = var1 * var1 * (s64)(s16)le16_to_cpu(buf[P6]); in bmp280_compensate_press()
252 var2 += (var1 * (s64)(s16)le16_to_cpu(buf[P5])) << 17; in bmp280_compensate_press()
254 var1 = ((var1 * var1 * (s64)(s16)le16_to_cpu(buf[P3])) >> 8) + in bmp280_compensate_press()
255 ((var1 * (s64)(s16)le16_to_cpu(buf[P2])) << 12); in bmp280_compensate_press()
256 var1 = ((((s64)1) << 47) + var1) * ((s64)le16_to_cpu(buf[P1])) >> 33; in bmp280_compensate_press()
[all …]
/drivers/acpi/apei/
Derst.c123 return __apei_exec_read_register(entry, &ctx->var1); in erst_exec_load_var1()
135 return __apei_exec_write_register(entry, ctx->var1); in erst_exec_store_var1()
141 ctx->var1 += ctx->var2; in erst_exec_add()
148 ctx->var1 -= ctx->var2; in erst_exec_subtract()
205 if (ctx->var1 > FIRMWARE_MAX_STALL) { in erst_exec_stall_while_true()
209 ctx->var1); in erst_exec_stall_while_true()
212 stall_time = ctx->var1; in erst_exec_stall_while_true()
Dapei-internal.h28 u64 var1; member