Home
last modified time | relevance | path

Searched refs:cur_val (Results 1 – 13 of 13) sorted by relevance

/linux/drivers/clk/bcm/
H A Dclk-bcm53573-ilp.c48 u32 last_val, cur_val; in bcm53573_ilp_recalc_rate() local
65 regmap_read(regmap, PMU_XTAL_FREQ_RATIO, &cur_val); in bcm53573_ilp_recalc_rate()
66 cur_val &= XTAL_ALP_PER_4ILP; in bcm53573_ilp_recalc_rate()
68 if (cur_val != last_val) { in bcm53573_ilp_recalc_rate()
70 sum += cur_val; in bcm53573_ilp_recalc_rate()
73 last_val = cur_val; in bcm53573_ilp_recalc_rate()
76 sum += cur_val; in bcm53573_ilp_recalc_rate()
/linux/tools/testing/selftests/net/packetdrill/
H A Dset_sysctls.py31 cur_val = subprocess.check_output(['cat', sysctl[0]], universal_newlines=True) variable
32 print('echo "%s" > %s' % (cur_val.strip(), sysctl[0]), file=restore_file)
/linux/drivers/net/wireless/ath/ath5k/
H A Dattach.c47 u32 cur_val; in ath5k_hw_post() local
59 cur_val = ath5k_hw_reg_read(ah, cur_reg); in ath5k_hw_post()
61 if (cur_val != var_pattern) { in ath5k_hw_post()
74 cur_val = ath5k_hw_reg_read(ah, cur_reg); in ath5k_hw_post()
76 if (cur_val != var_pattern) { in ath5k_hw_post()
/linux/arch/arm64/include/asm/
H A Dgcs.h73 unsigned long cur_val = task->thread.gcs_el0_mode; in gcs_check_locked() local
75 cur_val &= task->thread.gcs_el0_locked; in gcs_check_locked()
78 if (cur_val != new_val) in gcs_check_locked()
/linux/drivers/watchdog/
H A Dbcm_kona_wdt.c95 int ctl_val, cur_val; in bcm_kona_show() local
106 cur_val = secure_register_read(wdt, SECWDOG_COUNT_REG); in bcm_kona_show()
109 if (ctl_val < 0 || cur_val < 0) { in bcm_kona_show()
116 cur = cur_val & SECWDOG_COUNT_MASK; in bcm_kona_show()
/linux/sound/soc/codecs/
H A Dwm8903.c1451 int cur_val; in wm8903_hw_params()
1471 cur_val = abs(sample_rates[i].rate - fs); in wm8903_hw_params()
1472 if (cur_val <= best_val) { in wm8903_hw_params()
1474 best_val = cur_val; in wm8903_hw_params()
1516 cur_val = abs((wm8903->sysclk / in wm8903_hw_params()
1520 if (cur_val <= best_val) { in wm8903_hw_params()
1522 best_val = cur_val; in wm8903_hw_params()
1554 cur_val = ((clk_sys * 10) / bclk_divs[i].ratio) - bclk; in wm8903_hw_params()
1555 if (cur_val < 0) /* BCLK table is sorted */ in wm8903_hw_params()
1450 int cur_val; wm8903_hw_params() local
/linux/net/sched/
H A Dact_pedit.c404 u32 cur_val, val; in tcf_pedit_act() local
473 cur_val = get_unaligned(ptr); in tcf_pedit_act()
480 val = (cur_val + tkey->val) & ~tkey->mask; in tcf_pedit_act()
487 put_unaligned((cur_val & tkey->mask) ^ val, ptr); in tcf_pedit_act()
/linux/kernel/bpf/
H A Dcgroup.c1962 .cur_val = NULL, in __cgroup_bpf_run_filter_sysctl()
1972 ctx.cur_val = kmalloc_track_caller(ctx.cur_len, GFP_KERNEL); in __cgroup_bpf_run_filter_sysctl()
1973 if (!ctx.cur_val || in __cgroup_bpf_run_filter_sysctl()
1974 table->proc_handler(table, 0, ctx.cur_val, &ctx.cur_len, &pos)) { in __cgroup_bpf_run_filter_sysctl()
1999 kfree(ctx.cur_val); in __cgroup_bpf_run_filter_sysctl()
2366 return copy_sysctl_value(buf, buf_len, ctx->cur_val, ctx->cur_len); in BPF_CALL_3()
/linux/sound/usb/
H A Dmixer_quirks.c977 bool cur_val, new_val; in snd_mbox1_clk_switch_put() local
979 cur_val = kctl->private_value; in snd_mbox1_clk_switch_put()
981 if (cur_val == new_val) in snd_mbox1_clk_switch_put()
1044 bool cur_val, new_val; in snd_mbox1_src_switch_put() local
1046 cur_val = kctl->private_value; in snd_mbox1_src_switch_put()
1048 if (cur_val == new_val) in snd_mbox1_src_switch_put()
1332 int cur_val, err, new_val; in snd_ftu_eff_switch_put() local
1334 cur_val = pval >> 24; in snd_ftu_eff_switch_put()
1336 if (cur_val == new_val) in snd_ftu_eff_switch_put()
/linux/sound/hda/common/
H A Dhda_local.h191 unsigned int *cur_val);
H A Dcodec.c3545 * @cur_val: pointer to get/store the current imux value
3551 unsigned int *cur_val) in snd_hda_input_mux_put()
3560 if (*cur_val == idx) in snd_hda_input_mux_put()
3564 *cur_val = idx; in snd_hda_input_mux_put()
3550 snd_hda_input_mux_put(struct hda_codec * codec,const struct hda_input_mux * imux,struct snd_ctl_elem_value * ucontrol,hda_nid_t nid,unsigned int * cur_val) snd_hda_input_mux_put() argument
/linux/sound/hda/codecs/
H A Dca0132.c5726 long *cur_val; in ca0132_alt_xbass_xover_slider_put()
5730 cur_val = &spec->bass_redirect_xover_freq; in ca0132_alt_effect_slider_put()
5732 cur_val = &spec->xbass_xover_freq; in ca0132_alt_effect_slider_put()
5735 if (*cur_val == *valp) in ca0132_alt_effect_slider_put()
5738 *cur_val = *valp; in ca0132_alt_effect_slider_put()
5742 ca0132_alt_bass_redirection_xover_set(codec, *cur_val); in ca0132_alt_effect_slider_put()
5706 long *cur_val; ca0132_alt_xbass_xover_slider_put() local
/linux/include/linux/
H A Dfilter.h1682 void *cur_val; member