| /linux/drivers/clk/bcm/ |
| H A D | clk-bcm53573-ilp.c | 48 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 D | set_sysctls.py | 31 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 D | attach.c | 47 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 D | gcs.h | 73 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 D | bcm_kona_wdt.c | 95 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 D | wm8903.c | 1451 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 D | act_pedit.c | 404 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 D | cgroup.c | 1962 .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 D | mixer_quirks.c | 977 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 D | hda_local.h | 191 unsigned int *cur_val);
|
| H A D | codec.c | 3545 * @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 D | ca0132.c | 5726 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 D | filter.h | 1682 void *cur_val; member
|