Home
last modified time | relevance | path

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

123

/linux/drivers/macintosh/
H A Dmac_hid.c189 int *valp = table->data; in mac_hid_toggle_emumouse() local
197 old_val = *valp; in mac_hid_toggle_emumouse()
200 if (rc == 0 && write && *valp != old_val) { in mac_hid_toggle_emumouse()
201 if (*valp == 1) in mac_hid_toggle_emumouse()
203 else if (*valp == 0) in mac_hid_toggle_emumouse()
211 *valp = old_val; in mac_hid_toggle_emumouse()
/linux/scripts/
H A 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/drivers/staging/vc04_services/bcm2835-audio/
H A Dbcm2835-ctl.c75 int val, *valp; in snd_bcm2835_ctl_put() local
79 valp = &chip->volume; in snd_bcm2835_ctl_put()
81 valp = &chip->mute; in snd_bcm2835_ctl_put()
83 valp = &chip->dest; in snd_bcm2835_ctl_put()
94 if (val != *valp) { in snd_bcm2835_ctl_put()
95 *valp = val; in snd_bcm2835_ctl_put()
/linux/sound/synth/emux/
H A 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/drivers/net/ethernet/chelsio/cxgb/
H A Dcphy.h102 unsigned int *valp) in cphy_mdio_read() argument
106 *valp = (rc >= 0) ? rc : -1; in cphy_mdio_read()
118 unsigned int *valp) in simple_mdio_read() argument
120 return cphy_mdio_read(cphy, MDIO_DEVAD_NONE, reg, valp); in simple_mdio_read()
H A Despi.c336 int t1_espi_get_mon_t204(adapter_t *adapter, u32 *valp, u8 wait) in t1_espi_get_mon_t204() argument
352 for (i = 0 ; i < nport; i++, valp++) { in t1_espi_get_mon_t204()
357 *valp = readl(adapter->regs + A_ESPI_SCH_TOKEN3); in t1_espi_get_mon_t204()
/linux/tools/perf/util/
H A Dunwind-libunwind-local.c571 unw_word_t addr, unw_word_t *valp, in access_mem() argument
582 *valp = 0; in access_mem()
600 ret = access_dso_mem(ui, addr, valp); in access_mem()
605 *valp = 0; in access_mem()
612 *valp = *(unw_word_t *)&stack->data[offset]; in access_mem()
614 (void *) (uintptr_t) addr, (unsigned long)*valp, offset); in access_mem()
619 unw_regnum_t regnum, unw_word_t *valp, in access_reg() argument
633 *valp = 0; in access_reg()
648 *valp = (unw_word_t) val; in access_reg()
649 pr_debug("unwind: reg %d, val %lx\n", regnum, (unsigned long)*valp); in access_reg()
H A Dperf_regs.c165 int perf_reg_value(u64 *valp, struct regs_dump *regs, int id) in perf_reg_value() argument
188 *valp = regs->cache_regs[id]; in perf_reg_value()
H A Dperf_regs.h20 int perf_reg_value(u64 *valp, struct regs_dump *regs, int id);
/linux/arch/mips/dec/
H A 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/sound/hda/common/
H A Dbeep.c332 long *valp = ucontrol->value.integer.value; in snd_hda_mixer_amp_switch_put_beep() local
334 enable |= *valp; in snd_hda_mixer_amp_switch_put_beep()
335 valp++; in snd_hda_mixer_amp_switch_put_beep()
338 enable |= *valp; in snd_hda_mixer_amp_switch_put_beep()
H A Dcodec.c1512 long *valp = ucontrol->value.integer.value; in snd_hda_mixer_amp_volume_get() local
1515 *valp++ = read_amp_value(codec, nid, 0, dir, idx, ofs); in snd_hda_mixer_amp_volume_get()
1517 *valp = read_amp_value(codec, nid, 1, dir, idx, ofs); in snd_hda_mixer_amp_volume_get()
1539 long *valp = ucontrol->value.integer.value; in snd_hda_mixer_amp_volume_put() local
1544 err = update_amp_value(codec, nid, 0, dir, idx, ofs, *valp); in snd_hda_mixer_amp_volume_put()
1548 valp++; in snd_hda_mixer_amp_volume_put()
1551 err = update_amp_value(codec, nid, 1, dir, idx, ofs, *valp); in snd_hda_mixer_amp_volume_put()
2084 long *valp = ucontrol->value.integer.value; in snd_hda_mixer_amp_switch_get() local
2087 *valp++ = (snd_hda_codec_amp_read(codec, nid, 0, dir, idx) & in snd_hda_mixer_amp_switch_get()
2090 *valp = (snd_hda_codec_amp_read(codec, nid, 1, dir, idx) & in snd_hda_mixer_amp_switch_get()
[all …]
/linux/sound/hda/codecs/
H A Dca0132.c4235 long *valp = ucontrol->value.integer.value; in tuning_ctl_get() local
4238 *valp = spec->cur_ctl_vals[idx]; in tuning_ctl_get()
4261 long *valp = ucontrol->value.integer.value; in voice_focus_ctl_put() local
4266 if (spec->cur_ctl_vals[idx] == *valp) in voice_focus_ctl_put()
4269 spec->cur_ctl_vals[idx] = *valp; in voice_focus_ctl_put()
4271 idx = *valp - 20; in voice_focus_ctl_put()
4296 long *valp = ucontrol->value.integer.value; in mic_svm_ctl_put() local
4301 if (spec->cur_ctl_vals[idx] == *valp) in mic_svm_ctl_put()
4304 spec->cur_ctl_vals[idx] = *valp; in mic_svm_ctl_put()
4306 idx = *valp; in mic_svm_ctl_put()
[all …]
/linux/tools/testing/selftests/net/
H A Dudpgso_bench_tx.c316 uint32_t *valp; in send_ts_cmsg() local
321 valp = (void *)CMSG_DATA(cm); in send_ts_cmsg()
322 *valp = cfg_tx_ts; in send_ts_cmsg()
380 uint16_t *valp; in send_udp_segment_cmsg() local
385 valp = (void *)CMSG_DATA(cm); in send_udp_segment_cmsg()
386 *valp = cfg_gso_size; in send_udp_segment_cmsg()
/linux/include/linux/
H A Dgenl_magic_func.h57 const char *name, void *valp) in dprint_field() argument
59 __u64 val = valp ? *(__u32 *)valp : 1; in dprint_field()
68 val = *(__u64*)valp; in dprint_field()
H A Dtc.h138 extern int tc_preadb(u8 *valp, void __iomem *addr);
/linux/drivers/base/regmap/
H A Dregmap-mmio.c193 const u16 *valp = (const u16 *)val; in regmap_mmio_noinc_write() local
195 writew(swab16(valp[i]), ctx->regs + reg); in regmap_mmio_noinc_write()
200 const u32 *valp = (const u32 *)val; in regmap_mmio_noinc_write() local
202 writel(swab32(valp[i]), ctx->regs + reg); in regmap_mmio_noinc_write()
/linux/fs/fuse/
H A Dcuse.c219 static int cuse_parse_one(char **pp, char *end, char **keyp, char **valp) in cuse_parse_one() argument
237 if (valp) { in cuse_parse_one()
253 if (valp) in cuse_parse_one()
254 *valp = val; in cuse_parse_one()
/linux/sound/hda/codecs/cirrus/
H A Dcs8409.c489 long *valp = uctrl->value.integer.value; in cs42l42_volume_get() local
494 *valp++ = cs42l42->vol[ofs]; in cs42l42_volume_get()
496 *valp = cs42l42->vol[ofs+1]; in cs42l42_volume_get()
500 *valp = cs42l42->vol[ofs]; in cs42l42_volume_get()
548 long *valp = uctrl->value.integer.value; in cs42l42_volume_put() local
553 cs42l42->vol[ofs] = *valp; in cs42l42_volume_put()
555 valp++; in cs42l42_volume_put()
556 cs42l42->vol[ofs + 1] = *valp; in cs42l42_volume_put()
563 cs42l42->vol[ofs] = *valp; in cs42l42_volume_put()
/linux/arch/csky/abiv1/
H A Dalignment.c32 static int ldb_asm(uint32_t addr, uint32_t *valp) in ldb_asm() argument
54 *valp = val; in ldb_asm()
/linux/net/netfilter/ipvs/
H A Dip_vs_ctl.c1853 int *valp = table->data; in proc_do_defense_mode() local
1854 int val = *valp; in proc_do_defense_mode()
1864 if (write && (*valp != val)) { in proc_do_defense_mode()
1868 *valp = val; in proc_do_defense_mode()
1880 int *valp = table->data; in proc_do_sync_threshold() local
1890 memcpy(val, valp, sizeof(val)); in proc_do_sync_threshold()
1897 memcpy(valp, val, sizeof(val)); in proc_do_sync_threshold()
1907 int *valp = table->data; in proc_do_sync_ports() local
1908 int val = *valp; in proc_do_sync_ports()
1918 if (write && (*valp != val)) { in proc_do_sync_ports()
[all …]
/linux/arch/powerpc/perf/
H A Dmpc7450-pmu.c151 unsigned long *valp, u64 event_config1 __maybe_unused) in mpc7450_get_constraint() argument
182 *valp = value; in mpc7450_get_constraint()
H A Dpower7-pmu.c84 unsigned long *valp, u64 event_config1 __maybe_unused) in power7_get_constraint() argument
114 *valp = value; in power7_get_constraint()
H A Dppc970-pmu.c193 unsigned long *valp, u64 event_config1 __maybe_unused) in p970_get_constraint() argument
240 *valp = value; in p970_get_constraint()
/linux/scripts/dtc/libfdt/
H A Dfdt_sw.c293 int fdt_property_placeholder(void *fdt, const char *name, int len, void **valp) in fdt_property_placeholder() argument
321 *valp = prop->data; in fdt_property_placeholder()

123