/kernel/linux/linux-5.10/fs/ubifs/ |
H A D | lprops.c | 53 int val1, val2, hpos; in move_up_lpt_heap() local 58 val1 = get_heap_comp_val(lprops, cat); in move_up_lpt_heap() 64 if (val2 >= val1) in move_up_lpt_heap() 90 int val1, val2, val3, cpos; in adjust_lpt_heap() local 92 val1 = get_heap_comp_val(lprops, cat); in adjust_lpt_heap() 98 if (val1 > val2) { in adjust_lpt_heap() 110 if (val1 <= val2) in adjust_lpt_heap() 124 if (val1 < val2) { in adjust_lpt_heap() 144 if (val1 < val3) { in adjust_lpt_heap() 173 int cpos, val1, val in add_to_lpt_heap() local [all...] |
/kernel/linux/linux-6.6/fs/ubifs/ |
H A D | lprops.c | 53 int val1, val2, hpos; in move_up_lpt_heap() local 58 val1 = get_heap_comp_val(lprops, cat); in move_up_lpt_heap() 64 if (val2 >= val1) in move_up_lpt_heap() 90 int val1, val2, val3, cpos; in adjust_lpt_heap() local 92 val1 = get_heap_comp_val(lprops, cat); in adjust_lpt_heap() 98 if (val1 > val2) { in adjust_lpt_heap() 110 if (val1 <= val2) in adjust_lpt_heap() 124 if (val1 < val2) { in adjust_lpt_heap() 144 if (val1 < val3) { in adjust_lpt_heap() 173 int cpos, val1, val in add_to_lpt_heap() local [all...] |
/kernel/linux/linux-5.10/drivers/hwmon/ |
H A D | w83792d.c | 238 #define TEMP_ADD_FROM_REG(val1, val2) \ 239 ((((val1) & 0x80 ? (val1)-0x100 \ 240 : (val1)) * 1000) + ((val2 & 0x80) ? 500 : 0)) 1313 int val1, val2; in w83792d_detect() local 1322 val1 = w83792d_read_value(client, W83792D_REG_BANK); in w83792d_detect() 1325 if (!(val1 & 0x07)) { /* is Bank0 */ in w83792d_detect() 1326 if ((!(val1 & 0x80) && val2 != 0xa3) || in w83792d_detect() 1327 ((val1 & 0x80) && val2 != 0x5c)) in w83792d_detect() 1344 val1 in w83792d_detect() 1359 int i, val1, err; w83792d_probe() local [all...] |
H A D | w83791d.c | 1301 int val1, val2; in w83791d_detect() local 1310 val1 = w83791d_read(client, W83791D_REG_BANK); in w83791d_detect() 1313 if (!(val1 & 0x07)) { in w83791d_detect() 1314 if ((!(val1 & 0x80) && val2 != 0xa3) || in w83791d_detect() 1315 ((val1 & 0x80) && val2 != 0x5c)) { in w83791d_detect() 1327 val1 = w83791d_read(client, W83791D_REG_BANK) & 0x78; in w83791d_detect() 1328 w83791d_write(client, W83791D_REG_BANK, val1 | 0x80); in w83791d_detect() 1331 val1 = w83791d_read(client, W83791D_REG_WCHIPID); in w83791d_detect() 1333 if (val1 != 0x71 || val2 != 0x5c) in w83791d_detect() 1349 int val1; in w83791d_probe() local [all...] |
/kernel/linux/linux-6.6/drivers/hwmon/ |
H A D | w83792d.c | 238 #define TEMP_ADD_FROM_REG(val1, val2) \ 239 ((((val1) & 0x80 ? (val1)-0x100 \ 240 : (val1)) * 1000) + ((val2 & 0x80) ? 500 : 0)) 1313 int val1, val2; in w83792d_detect() local 1322 val1 = w83792d_read_value(client, W83792D_REG_BANK); in w83792d_detect() 1325 if (!(val1 & 0x07)) { /* is Bank0 */ in w83792d_detect() 1326 if ((!(val1 & 0x80) && val2 != 0xa3) || in w83792d_detect() 1327 ((val1 & 0x80) && val2 != 0x5c)) in w83792d_detect() 1344 val1 in w83792d_detect() 1359 int i, val1, err; w83792d_probe() local [all...] |
H A D | w83791d.c | 1301 int val1, val2; in w83791d_detect() local 1310 val1 = w83791d_read(client, W83791D_REG_BANK); in w83791d_detect() 1313 if (!(val1 & 0x07)) { in w83791d_detect() 1314 if ((!(val1 & 0x80) && val2 != 0xa3) || in w83791d_detect() 1315 ((val1 & 0x80) && val2 != 0x5c)) { in w83791d_detect() 1327 val1 = w83791d_read(client, W83791D_REG_BANK) & 0x78; in w83791d_detect() 1328 w83791d_write(client, W83791D_REG_BANK, val1 | 0x80); in w83791d_detect() 1331 val1 = w83791d_read(client, W83791D_REG_WCHIPID); in w83791d_detect() 1333 if (val1 != 0x71 || val2 != 0x5c) in w83791d_detect() 1349 int val1; in w83791d_probe() local [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
H A D | core_autosize.c | 12 unsigned long long val1; member 74 * unsigned long long val1; in test_core_autosize() 103 err = err ?: btf__add_field(btf, "val1", long_long_id, 64, 0); in test_core_autosize() 181 ASSERT_EQ(out.output_samesized.val1, 0x1020304050607080, "val1_samesized"); in test_core_autosize() 192 ASSERT_EQ(out.output_downsized.val1, 0x1020304050607080, "val1_downsized"); in test_core_autosize()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/ |
H A D | core_autosize.c | 12 unsigned long long val1; member 74 * unsigned long long val1; in test_core_autosize() 103 err = err ?: btf__add_field(btf, "val1", long_long_id, 64, 0); in test_core_autosize() 180 ASSERT_EQ(out.output_samesized.val1, 0x1020304050607080, "val1_samesized"); in test_core_autosize() 191 ASSERT_EQ(out.output_downsized.val1, 0x1020304050607080, "val1_downsized"); in test_core_autosize()
|
/kernel/liteos_a/testsuites/unittest/process/basic/process/full/ |
H A D | process_test_058.cpp | 112 struct sched_param val1 = { -1 }; in TestSpawnAttrPrio() local 121 posix_spawnattr_getschedparam(attr, &val1); in TestSpawnAttrPrio() 122 ICUNIT_GOTO_EQUAL(val1.sched_priority, HIGH_PRIORITY, ret, EXIT); in TestSpawnAttrPrio()
|
H A D | process_test_059.cpp | 112 struct sched_param val1 = { -1 }; in TestSpawnAttrPrio() local 121 posix_spawnattr_getschedparam(attr, &val1); in TestSpawnAttrPrio() 122 ICUNIT_GOTO_EQUAL(val1.sched_priority, HIGH_PRIORITY, ret, EXIT); in TestSpawnAttrPrio()
|
/third_party/ffmpeg/libavcodec/ |
H A D | dct.c | 114 float val1 = data[i]; in dct_calc_III_c() local 119 data[i] = c * val1 + s * val2; in dct_calc_III_c() 120 data[i + 1] = s * val1 - c * val2; in dct_calc_III_c()
|
/third_party/selinux/libsepol/src/ |
H A D | module_to_cil.c | 1260 char *val1 = NULL; in cond_expr_to_cil() local 1275 val1 = pdb->p_bool_val_to_name[curr->bool - 1]; in cond_expr_to_cil() 1277 len = strlen(val1) + 2 + 1; in cond_expr_to_cil() 1284 rlen = snprintf(new_val, len, "(%s)", val1); in cond_expr_to_cil() 1306 val1 = stack_pop(stack); in cond_expr_to_cil() 1316 val1 = stack_pop(stack); in cond_expr_to_cil() 1320 if (val1 == NULL || val2 == NULL) { in cond_expr_to_cil() 1331 len = strlen(val1) + strlen(val2) + strlen(op) + (num_params * 1) + 2 + 1; in cond_expr_to_cil() 1339 rlen = snprintf(new_val, len, "(%s %s%s%s)", op, val1, sep, val2); in cond_expr_to_cil() 1346 free(val1); in cond_expr_to_cil() 1716 char *val1 = NULL; constraint_expr_to_string() local [all...] |
H A D | services.c | 392 uint32_t val1, val2; in constraint_expr_eval_reason() local 513 val1 = scontext->user; in constraint_expr_eval_reason() 519 val1 = scontext->type; in constraint_expr_eval_reason() 525 val1 = scontext->role; in constraint_expr_eval_reason() 527 r1 = policydb->role_val_to_struct[val1 - 1]; in constraint_expr_eval_reason() 539 s[++sp] = ebitmap_get_bit(&r2->dominates, val1 - 1); in constraint_expr_eval_reason() 545 && !ebitmap_get_bit(&r2->dominates, val1 - 1)); in constraint_expr_eval_reason() 627 s[++sp] = (val1 == val2); in constraint_expr_eval_reason() 631 s[++sp] = (val1 != val2); in constraint_expr_eval_reason() 657 val1 in constraint_expr_eval_reason() [all...] |
/kernel/linux/linux-5.10/drivers/media/tuners/ |
H A D | qt1010.c | 218 u8 i, val1, val2; in qt1010_init_meas1() local 238 val1 = val2; in qt1010_init_meas1() 244 __func__, reg, val1, val2); in qt1010_init_meas1() 245 } while (val1 != val2); in qt1010_init_meas1() 246 *retval = val1; in qt1010_init_meas1()
|
/kernel/linux/linux-5.10/drivers/staging/gasket/ |
H A D | apex_driver.c | 311 u32 val0, val1; in apex_quit_reset() local 371 val1 = gasket_dev_read_32(gasket_dev, APEX_BAR_INDEX, in apex_quit_reset() 374 "Disallow HW clock gating 0x%x -> 0x%x\n", val0, val1); in apex_quit_reset() 383 val1 = gasket_dev_read_32(gasket_dev, APEX_BAR_INDEX, in apex_quit_reset() 386 val0, val1); in apex_quit_reset()
|
/kernel/linux/linux-6.6/drivers/media/tuners/ |
H A D | qt1010.c | 218 u8 i, val1, val2; in qt1010_init_meas1() local 238 val1 = val2; in qt1010_init_meas1() 244 __func__, reg, val1, val2); in qt1010_init_meas1() 245 } while (val1 != val2); in qt1010_init_meas1() 246 *retval = val1; in qt1010_init_meas1()
|
/kernel/linux/linux-6.6/drivers/soc/rockchip/ |
H A D | io-domain.c | 86 u32 val0, val1; in rk3568_iodomain_write() local 96 val1 = BIT(16 + b) | (is_3v3 ? BIT(b) : 0); in rk3568_iodomain_write() 99 regmap_write(iod->grf, RK3568_PMU_GRF_IO_VSEL2, val1); in rk3568_iodomain_write() 111 val1 = BIT(16 + b) | (is_3v3 ? BIT(b) : 0); in rk3568_iodomain_write() 114 regmap_write(iod->grf, RK3568_PMU_GRF_IO_VSEL1, val1); in rk3568_iodomain_write()
|
/kernel/linux/linux-5.10/sound/pci/ |
H A D | ak4531_codec.c | 238 int val1, val2; in snd_ak4531_put_input_sw() local 241 val1 = ak4531->regs[reg1] & ~((1 << left_shift) | (1 << right_shift)); in snd_ak4531_put_input_sw() 243 val1 |= (ucontrol->value.integer.value[0] & 1) << left_shift; in snd_ak4531_put_input_sw() 245 val1 |= (ucontrol->value.integer.value[2] & 1) << right_shift; in snd_ak4531_put_input_sw() 247 change = val1 != ak4531->regs[reg1] || val2 != ak4531->regs[reg2]; in snd_ak4531_put_input_sw() 248 ak4531->write(ak4531, reg1, ak4531->regs[reg1] = val1); in snd_ak4531_put_input_sw()
|
/kernel/linux/linux-5.10/sound/pci/emu10k1/ |
H A D | emuproc.c | 173 unsigned int val, val1; in snd_emu10k1_proc_read() local 189 val1 = emu->audigy ? in snd_emu10k1_proc_read() 200 val1 & 0x3f, in snd_emu10k1_proc_read() 201 (val1 >> 8) & 0x3f, in snd_emu10k1_proc_read() 202 (val1 >> 16) & 0x3f, in snd_emu10k1_proc_read() 203 (val1 >> 24) & 0x3f); in snd_emu10k1_proc_read()
|
/kernel/linux/linux-6.6/sound/pci/ |
H A D | ak4531_codec.c | 238 int val1, val2; in snd_ak4531_put_input_sw() local 241 val1 = ak4531->regs[reg1] & ~((1 << left_shift) | (1 << right_shift)); in snd_ak4531_put_input_sw() 243 val1 |= (ucontrol->value.integer.value[0] & 1) << left_shift; in snd_ak4531_put_input_sw() 245 val1 |= (ucontrol->value.integer.value[2] & 1) << right_shift; in snd_ak4531_put_input_sw() 247 change = val1 != ak4531->regs[reg1] || val2 != ak4531->regs[reg2]; in snd_ak4531_put_input_sw() 248 ak4531->write(ak4531, reg1, ak4531->regs[reg1] = val1); in snd_ak4531_put_input_sw()
|
/third_party/backends/backend/ |
H A D | sm3840_lib.h | 84 static void write_regs (p_usb_dev_handle udev, int regs, int reg1, int val1, 124 static void write_regs (p_usb_dev_handle udev, int regs, int reg1, int val1,
|
/third_party/mesa3d/src/util/ |
H A D | futex.h | 41 static inline long sys_futex(void *addr1, int op, int val1, const struct timespec *timeout, void *addr2, int val3) in sys_futex() argument 43 return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); in sys_futex()
|
/kernel/linux/linux-5.10/drivers/watchdog/ |
H A D | i6300esb.c | 250 u8 val1; in esb_initdevice() local 268 pci_read_config_byte(edev->pdev, ESB_LOCK_REG, &val1); in esb_initdevice() 269 if (val1 & ESB_WDT_LOCK) in esb_initdevice()
|
/kernel/linux/linux-5.10/drivers/media/usb/dvb-usb-v2/ |
H A D | mxl111sf-tuner.c | 358 u8 val1, val2; in mxl111sf_get_rf_strength() local 366 ret = mxl111sf_tuner_read_reg(state, V6_DIG_RF_PWR_LSB_REG, &val1); in mxl111sf_get_rf_strength() 373 *strength = val1 | ((val2 & 0x07) << 8); in mxl111sf_get_rf_strength()
|
/kernel/linux/linux-6.6/drivers/media/usb/dvb-usb-v2/ |
H A D | mxl111sf-tuner.c | 358 u8 val1, val2; in mxl111sf_get_rf_strength() local 366 ret = mxl111sf_tuner_read_reg(state, V6_DIG_RF_PWR_LSB_REG, &val1); in mxl111sf_get_rf_strength() 373 *strength = val1 | ((val2 & 0x07) << 8); in mxl111sf_get_rf_strength()
|