Home
last modified time | relevance | path

Searched refs:valp (Results 1 – 25 of 67) sorted by relevance

123

/Linux-v5.4/arch/ia64/include/asm/
Dunwind.h142 unw_get_ip (struct unw_frame_info *info, unsigned long *valp) in unw_get_ip() argument
144 *valp = (info)->ip; in unw_get_ip()
149 unw_get_sp (struct unw_frame_info *info, unsigned long *valp) in unw_get_sp() argument
151 *valp = (info)->sp; in unw_get_sp()
156 unw_get_psp (struct unw_frame_info *info, unsigned long *valp) in unw_get_psp() argument
158 *valp = (info)->psp; in unw_get_psp()
163 unw_get_bsp (struct unw_frame_info *info, unsigned long *valp) in unw_get_bsp() argument
165 *valp = (info)->bsp; in unw_get_bsp()
170 unw_get_cfm (struct unw_frame_info *info, unsigned long *valp) in unw_get_cfm() argument
172 *valp = *(info)->cfm_loc; in unw_get_cfm()
/Linux-v5.4/drivers/cpufreq/
Dpmac64-cpufreq.c346 const u32 *valp; in g5_neo2_cpufreq_init() local
364 valp = of_get_property(cpunode, "cpu-version", NULL); in g5_neo2_cpufreq_init()
365 if (!valp) { in g5_neo2_cpufreq_init()
369 pvr_hi = (*valp) >> 16; in g5_neo2_cpufreq_init()
433 valp = of_get_property(cpunode, "clock-frequency", NULL); in g5_neo2_cpufreq_init()
434 if (!valp) in g5_neo2_cpufreq_init()
436 max_freq = (*valp)/1000; in g5_neo2_cpufreq_init()
483 const u32 *valp; in g5_pm72_cpufreq_init() local
567 valp = of_get_property(cpunode, "clock-frequency", NULL); in g5_pm72_cpufreq_init()
568 if (!valp) { in g5_pm72_cpufreq_init()
[all …]
Dmaple-cpufreq.c162 const u32 *valp; in maple_cpufreq_init() local
209 valp = of_get_property(cpunode, "clock-frequency", NULL); in maple_cpufreq_init()
210 if (!valp) in maple_cpufreq_init()
212 max_freq = (*valp)/1000; in maple_cpufreq_init()
/Linux-v5.4/drivers/macintosh/
Dmac_hid.c189 int *valp = table->data; in mac_hid_toggle_emumouse() local
190 int old_val = *valp; in mac_hid_toggle_emumouse()
199 if (rc == 0 && write && *valp != old_val) { in mac_hid_toggle_emumouse()
200 if (*valp == 1) in mac_hid_toggle_emumouse()
202 else if (*valp == 0) in mac_hid_toggle_emumouse()
210 *valp = old_val; in mac_hid_toggle_emumouse()
/Linux-v5.4/scripts/
Dunifdef.c825 eval_unary(const struct ops *ops, int *valp, const char **cpp) in eval_unary() argument
837 lt = eval_unary(ops, valp, &cp); in eval_unary()
841 *valp = !*valp; in eval_unary()
842 lt = *valp ? LT_TRUE : LT_FALSE; in eval_unary()
847 lt = eval_table(eval_ops, valp, &cp); in eval_unary()
855 *valp = strtol(cp, &ep, 0); in eval_unary()
858 lt = *valp ? LT_TRUE : LT_FALSE; in eval_unary()
873 *valp = (value[sym] != NULL); in eval_unary()
874 lt = *valp ? LT_TRUE : LT_FALSE; in eval_unary()
889 *valp = 0; in eval_unary()
[all …]
/Linux-v5.4/sound/synth/emux/
Demux_effect.c86 effect_set_byte(unsigned char *valp, struct snd_midi_channel *chan, int type) in effect_set_byte() argument
94 effect += *(char*)valp; in effect_set_byte()
96 effect += *valp; in effect_set_byte()
102 *valp = (unsigned char)effect; in effect_set_byte()
107 effect_set_word(unsigned short *valp, struct snd_midi_channel *chan, int type) in effect_set_word() argument
114 effect += *valp; in effect_set_word()
119 *valp = (unsigned short)effect; in effect_set_word()
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb/
Dcphy.h111 unsigned int *valp) in cphy_mdio_read() argument
115 *valp = (rc >= 0) ? rc : -1; in cphy_mdio_read()
127 unsigned int *valp) in simple_mdio_read() argument
129 return cphy_mdio_read(cphy, MDIO_DEVAD_NONE, reg, valp); in simple_mdio_read()
Despi.c345 int t1_espi_get_mon_t204(adapter_t *adapter, u32 *valp, u8 wait) in t1_espi_get_mon_t204() argument
361 for (i = 0 ; i < nport; i++, valp++) { in t1_espi_get_mon_t204()
366 *valp = readl(adapter->regs + A_ESPI_SCH_TOKEN3); in t1_espi_get_mon_t204()
/Linux-v5.4/drivers/staging/vc04_services/bcm2835-audio/
Dbcm2835-ctl.c74 int val, *valp; in snd_bcm2835_ctl_put() local
78 valp = &chip->volume; in snd_bcm2835_ctl_put()
80 valp = &chip->mute; in snd_bcm2835_ctl_put()
82 valp = &chip->dest; in snd_bcm2835_ctl_put()
88 if (val != *valp) { in snd_bcm2835_ctl_put()
89 *valp = val; in snd_bcm2835_ctl_put()
/Linux-v5.4/tools/perf/util/
Dunwind-libunwind-local.c486 unw_word_t addr, unw_word_t *valp, in access_mem() argument
497 *valp = 0; in access_mem()
513 ret = access_dso_mem(ui, addr, valp); in access_mem()
518 *valp = 0; in access_mem()
525 *valp = *(unw_word_t *)&stack->data[offset]; in access_mem()
527 (void *) (uintptr_t) addr, (unsigned long)*valp, offset); in access_mem()
532 unw_regnum_t regnum, unw_word_t *valp, in access_reg() argument
546 *valp = 0; in access_reg()
560 *valp = (unw_word_t) val; in access_reg()
561 pr_debug("unwind: reg %d, val %lx\n", regnum, (unsigned long)*valp); in access_reg()
Dperf_regs.c27 int perf_reg_value(u64 *valp, struct regs_dump *regs, int id) in perf_reg_value() argument
47 *valp = regs->cache_regs[id]; in perf_reg_value()
Dperf_regs.h34 int perf_reg_value(u64 *valp, struct regs_dump *regs, int id);
47 static inline int perf_reg_value(u64 *valp __maybe_unused, in perf_reg_value()
/Linux-v5.4/kernel/
Dsysctl.c2290 int *valp, in do_proc_dointvec_conv() argument
2297 *valp = -*lvalp; in do_proc_dointvec_conv()
2301 *valp = *lvalp; in do_proc_dointvec_conv()
2304 int val = *valp; in do_proc_dointvec_conv()
2317 unsigned int *valp, in do_proc_douintvec_conv() argument
2323 *valp = *lvalp; in do_proc_douintvec_conv()
2325 unsigned int val = *valp; in do_proc_douintvec_conv()
2336 int (*conv)(bool *negp, unsigned long *lvalp, int *valp, in __do_proc_dointvec() argument
2417 int (*conv)(bool *negp, unsigned long *lvalp, int *valp, in do_proc_dointvec() argument
2430 unsigned int *valp, in do_proc_douintvec_w() argument
[all …]
/Linux-v5.4/fs/xfs/
Dxfs_sysctl.c20 int ret, *valp = ctl->data; in xfs_stats_clear_proc_handler() local
24 if (!ret && write && *valp) { in xfs_stats_clear_proc_handler()
40 int ret, *valp = ctl->data; in xfs_panic_mask_proc_handler() local
44 xfs_panic_mask = *valp; in xfs_panic_mask_proc_handler()
/Linux-v5.4/arch/mips/dec/
Dtc.c30 int tc_preadb(u8 *valp, void __iomem *addr) in tc_preadb() argument
32 return get_dbe(*valp, (u8 *)addr); in tc_preadb()
/Linux-v5.4/sound/pci/hda/
Dhda_beep.c315 long *valp = ucontrol->value.integer.value; in snd_hda_mixer_amp_switch_put_beep() local
317 enable |= *valp; in snd_hda_mixer_amp_switch_put_beep()
318 valp++; in snd_hda_mixer_amp_switch_put_beep()
321 enable |= *valp; in snd_hda_mixer_amp_switch_put_beep()
Dpatch_ca0132.c3856 long *valp = ucontrol->value.integer.value; in tuning_ctl_get() local
3859 *valp = spec->cur_ctl_vals[idx]; in tuning_ctl_get()
3882 long *valp = ucontrol->value.integer.value; in voice_focus_ctl_put() local
3887 if (spec->cur_ctl_vals[idx] == *valp) in voice_focus_ctl_put()
3890 spec->cur_ctl_vals[idx] = *valp; in voice_focus_ctl_put()
3892 idx = *valp - 20; in voice_focus_ctl_put()
3917 long *valp = ucontrol->value.integer.value; in mic_svm_ctl_put() local
3922 if (spec->cur_ctl_vals[idx] == *valp) in mic_svm_ctl_put()
3925 spec->cur_ctl_vals[idx] = *valp; in mic_svm_ctl_put()
3927 idx = *valp; in mic_svm_ctl_put()
[all …]
/Linux-v5.4/tools/testing/selftests/net/
Dudpgso_bench_tx.c300 uint32_t *valp; in send_ts_cmsg() local
305 valp = (void *)CMSG_DATA(cm); in send_ts_cmsg()
306 *valp = cfg_tx_ts; in send_ts_cmsg()
364 uint16_t *valp; in send_udp_segment_cmsg() local
369 valp = (void *)CMSG_DATA(cm); in send_udp_segment_cmsg()
370 *valp = cfg_gso_size; in send_udp_segment_cmsg()
/Linux-v5.4/include/linux/
Dgenl_magic_func.h56 const char *name, void *valp) in dprint_field() argument
58 __u64 val = valp ? *(__u32 *)valp : 1; in dprint_field()
67 val = *(__u64*)valp; in dprint_field()
Dtc.h138 extern int tc_preadb(u8 *valp, void __iomem *addr);
/Linux-v5.4/fs/fuse/
Dcuse.c217 static int cuse_parse_one(char **pp, char *end, char **keyp, char **valp) in cuse_parse_one() argument
235 if (valp) { in cuse_parse_one()
251 if (valp) in cuse_parse_one()
252 *valp = val; in cuse_parse_one()
/Linux-v5.4/arch/csky/abiv1/
Dalignment.c32 static int ldb_asm(uint32_t addr, uint32_t *valp) in ldb_asm() argument
54 *valp = val; in ldb_asm()
/Linux-v5.4/arch/powerpc/perf/
Dmpc7450-pmu.c151 unsigned long *valp) in mpc7450_get_constraint() argument
182 *valp = value; in mpc7450_get_constraint()
/Linux-v5.4/arch/arm64/kvm/
Dguest.c156 void *valp = &tmp; in set_core_reg() local
172 if (copy_from_user(valp, uaddr, KVM_REG_SIZE(reg->id))) { in set_core_reg()
178 u64 mode = (*(u64 *)valp) & PSR_AA32_MODE_MASK; in set_core_reg()
204 memcpy((u32 *)regs + off, valp, KVM_REG_SIZE(reg->id)); in set_core_reg()
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb3/
Dcommon.h562 unsigned int *valp) in t3_mdio_read() argument
565 *valp = (rc >= 0) ? rc : -1; in t3_mdio_read()
647 int polarity, int attempts, int delay, u32 *valp);
701 unsigned int n, unsigned int *valp);

123