Home
last modified time | relevance | path

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

/linux/net/dccp/
H A Dfeat.c
/linux/net/ipv6/ila/
H A Dila_common.c44 __wsum diff, fval; in ila_csum_do_neutral_fmt() local
48 fval = (__force __wsum)(ila_csum_neutral_set(iaddr->ident) ? in ila_csum_do_neutral_fmt()
51 diff = csum_add(diff, fval); in ila_csum_do_neutral_fmt()
/linux/net/dccp/ccids/lib/
H A Dtfrc_equation.c
/linux/drivers/hwmon/
H A Dmacsmc-hwmon.c146 u32 fval; in macsmc_hwmon_read_f32_scaled() local
150 ret = apple_smc_read_u32(smc, key, &fval); in macsmc_hwmon_read_f32_scaled()
154 val = ((u64)((fval & FLT_MANT_MASK) | BIT(23))); in macsmc_hwmon_read_f32_scaled()
155 exp = ((fval >> 23) & 0xff) - FLT_EXP_BIAS - FLT_MANT_BIAS; in macsmc_hwmon_read_f32_scaled()
171 if (fval & FLT_SIGN_MASK) { in macsmc_hwmon_read_f32_scaled()
234 u32 fval = 0; in macsmc_hwmon_write_f32() local
248 fval = FIELD_PREP(FLT_SIGN_MASK, neg) | in macsmc_hwmon_write_f32()
253 return apple_smc_write_u32(smc, key, fval); in macsmc_hwmon_write_f32()
/linux/net/dccp/ccids/
H A Dccid3.c
/linux/drivers/mfd/
H A Dmenelaus.c523 int fval, rval, val, ret; in menelaus_set_vcore_hw() local
530 fval = menelaus_get_vtg_value(floor_mV, vcore_values, in menelaus_set_vcore_hw()
532 if (fval < 0) in menelaus_set_vcore_hw()
539 ret = menelaus_write_reg(MENELAUS_VCORE_CTRL3, fval); in menelaus_set_vcore_hw()
/linux/tools/perf/util/
H A Dbpf_counter.c621 struct bperf_filter_value fval = { i, 0 }; in bperf__load() local
632 bpf_map_update_elem(filter_map_fd, &key, &fval, BPF_ANY); in bperf__load()
/linux/drivers/net/wireless/broadcom/b43legacy/
H A Dphy.c1126 s16 fval; in b43legacy_phy_lo_b_measure() local
1181 fval = (0x0100 * i) + j + 0x0100; in b43legacy_phy_lo_b_measure()
1183 fval = (0x0100 * i) + j; in b43legacy_phy_lo_b_measure()
1184 b43legacy_phy_write(dev, 0x002F, fval); in b43legacy_phy_lo_b_measure()
1188 phy->minlowsigpos[1] = fval; in b43legacy_phy_lo_b_measure()
/linux/sound/soc/codecs/
H A Dwm5100.c1514 int fval, audio_rate, ret, reg; in wm5100_set_sysclk() local
1596 fval = 0; in wm5100_set_sysclk()
1600 fval = 1; in wm5100_set_sysclk()
1604 fval = 2; in wm5100_set_sysclk()
1636 fval << WM5100_SYSCLK_FREQ_SHIFT | source); in wm5100_set_sysclk()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_tc.c190 void *headers_c = spec->match_criteria, *headers_v = spec->match_value, *fmask, *fval; in mlx5e_tc_match_to_reg_match() local
199 fval = headers_v + soffset; in mlx5e_tc_match_to_reg_match()
202 memcpy(&curr_val_be, fval, 4); in mlx5e_tc_match_to_reg_match()
226 memcpy(fval, &curr_val_be, 4); in mlx5e_tc_match_to_reg_match()
237 void *headers_c = spec->match_criteria, *headers_v = spec->match_value, *fmask, *fval; in mlx5e_tc_match_to_reg_get_match() local
246 fval = headers_v + soffset; in mlx5e_tc_match_to_reg_get_match()
249 memcpy(&curr_val_be, fval, 4); in mlx5e_tc_match_to_reg_get_match()