Searched refs:valp (Results 1 - 25 of 77) sorted by relevance

1234

/linux-master/drivers/gpu/drm/i915/display/
H A Dintel_display_params.c176 __maybe_unused static void _param_dup_charp(char **valp) argument
178 *valp = kstrdup(*valp ? *valp : "", GFP_ATOMIC);
181 __maybe_unused static void _param_nop(void *valp) argument
185 #define _param_dup(valp) \
186 _Generic(valp, \
189 (valp)
199 __maybe_unused static void _param_free_charp(char **valp) argument
201 kfree(*valp);
[all...]
H A Dintel_display_debugfs_params.c141 #define _intel_display_param_create_file(parent, name, mode, valp) \
144 _Generic(valp, \
150 (name, mode, parent, valp); \
/linux-master/drivers/gpu/drm/i915/
H A Di915_params.c189 static void _param_dup_charp(char **valp) argument
191 *valp = kstrdup(*valp, GFP_ATOMIC);
194 static void _param_nop(void *valp) argument
198 #define _param_dup(valp) \
199 _Generic(valp, \
201 default: _param_nop)(valp)
211 static void _param_free_charp(char **valp) argument
213 kfree(*valp);
214 *valp
[all...]
H A Di915_debugfs_params.c236 #define _i915_param_create_file(parent, name, mode, valp) \
239 _Generic(valp, \
244 char **: i915_debugfs_create_charp)(name, mode, parent, valp); \
/linux-master/drivers/macintosh/
H A Dmac_hid.c188 int *valp = table->data; local
189 int old_val = *valp;
198 if (rc == 0 && write && *valp != old_val) {
199 if (*valp == 1)
201 else if (*valp == 0)
209 *valp = old_val;
/linux-master/drivers/net/ethernet/chelsio/cxgb/
H A Dcphy.h102 unsigned int *valp)
106 *valp = (rc >= 0) ? rc : -1;
118 unsigned int *valp)
120 return cphy_mdio_read(cphy, MDIO_DEVAD_NONE, reg, valp);
101 cphy_mdio_read(struct cphy *cphy, int mmd, int reg, unsigned int *valp) argument
117 simple_mdio_read(struct cphy *cphy, int reg, unsigned int *valp) argument
/linux-master/arch/mips/dec/
H A Dtc.c30 int tc_preadb(u8 *valp, void __iomem *addr) argument
32 return get_dbe(*valp, (u8 *)addr);
/linux-master/drivers/cpufreq/
H A Dmaple-cpufreq.c162 const u32 *valp; local
209 valp = of_get_property(cpunode, "clock-frequency", NULL);
210 if (!valp)
212 max_freq = (*valp)/1000;
H A Dpmac64-cpufreq.c346 const u32 *valp; local
364 valp = of_get_property(cpunode, "cpu-version", NULL);
365 if (!valp) {
369 pvr_hi = (*valp) >> 16;
433 valp = of_get_property(cpunode, "clock-frequency", NULL);
434 if (!valp)
436 max_freq = (*valp)/1000;
483 const u32 *valp; local
567 valp = of_get_property(cpunode, "clock-frequency", NULL);
568 if (!valp) {
[all...]
/linux-master/drivers/staging/vc04_services/bcm2835-audio/
H A Dbcm2835-ctl.c74 int val, *valp; local
78 valp = &chip->volume;
80 valp = &chip->mute;
82 valp = &chip->dest;
88 if (val != *valp) {
89 *valp = val;
/linux-master/sound/synth/emux/
H A Demux_effect.c86 effect_set_byte(unsigned char *valp, struct snd_midi_channel *chan, int type) argument
94 effect += *(char*)valp;
96 effect += *valp;
102 *valp = (unsigned char)effect;
107 effect_set_word(unsigned short *valp, struct snd_midi_channel *chan, int type) argument
114 effect += *valp;
119 *valp = (unsigned short)effect;
/linux-master/scripts/
H A Dunifdef.c825 eval_unary(const struct ops *ops, int *valp, const char **cpp) argument
837 lt = eval_unary(ops, valp, &cp);
841 *valp = !*valp;
842 lt = *valp ? LT_TRUE : LT_FALSE;
847 lt = eval_table(eval_ops, valp, &cp);
855 *valp = strtol(cp, &ep, 0);
858 lt = *valp ? LT_TRUE : LT_FALSE;
873 *valp = (value[sym] != NULL);
874 lt = *valp
913 eval_table(const struct ops *ops, int *valp, const char **cpp) argument
[all...]
/linux-master/tools/perf/util/
H A Dperf_regs.c59 int perf_reg_value(u64 *valp, struct regs_dump *regs, int id) argument
82 *valp = regs->cache_regs[id];
H A Dunwind-libunwind-local.c566 unw_word_t addr, unw_word_t *valp,
578 *valp = 0;
594 ret = access_dso_mem(ui, addr, valp);
599 *valp = 0;
606 *valp = *(unw_word_t *)&stack->data[offset];
608 (void *) (uintptr_t) addr, (unsigned long)*valp, offset);
613 unw_regnum_t regnum, unw_word_t *valp,
627 *valp = 0;
642 *valp = (unw_word_t) val;
643 pr_debug("unwind: reg %d, val %lx\n", regnum, (unsigned long)*valp);
565 access_mem(unw_addr_space_t __maybe_unused as, unw_word_t addr, unw_word_t *valp, int __write, void *arg) argument
612 access_reg(unw_addr_space_t __maybe_unused as, unw_regnum_t regnum, unw_word_t *valp, int __write, void *arg) argument
[all...]
H A Dperf_regs.h32 int perf_reg_value(u64 *valp, struct regs_dump *regs, int id);
/linux-master/kernel/
H A Dsysctl.c428 int *valp,
435 WRITE_ONCE(*valp, -*lvalp);
439 WRITE_ONCE(*valp, *lvalp);
442 int val = READ_ONCE(*valp);
455 unsigned int *valp,
461 WRITE_ONCE(*valp, *lvalp);
463 unsigned int val = READ_ONCE(*valp);
474 int (*conv)(bool *negp, unsigned long *lvalp, int *valp,
546 int (*conv)(bool *negp, unsigned long *lvalp, int *valp,
559 unsigned int *valp,
427 do_proc_dointvec_conv(bool *negp, unsigned long *lvalp, int *valp, int write, void *data) argument
454 do_proc_douintvec_conv(unsigned long *lvalp, unsigned int *valp, int write, void *data) argument
471 __do_proc_dointvec(void *tbl_data, struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos, int (*conv)(bool *negp, unsigned long *lvalp, int *valp, int write, void *data), void *data) argument
544 do_proc_dointvec(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos, int (*conv)(bool *negp, unsigned long *lvalp, int *valp, int write, void *data), void *data) argument
554 do_proc_douintvec_w(unsigned int *tbl_data, struct ctl_table *table, void *buffer, size_t *lenp, loff_t *ppos, int (*conv)(unsigned long *lvalp, unsigned int *valp, int write, void *data), void *data) argument
611 do_proc_douintvec_r(unsigned int *tbl_data, void *buffer, size_t *lenp, loff_t *ppos, int (*conv)(unsigned long *lvalp, unsigned int *valp, int write, void *data), void *data) argument
642 __do_proc_douintvec(void *tbl_data, struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos, int (*conv)(unsigned long *lvalp, unsigned int *valp, int write, void *data), void *data) argument
678 do_proc_douintvec(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos, int (*conv)(unsigned long *lvalp, unsigned int *valp, int write, void *data), void *data) argument
825 do_proc_dointvec_minmax_conv(bool *negp, unsigned long *lvalp, int *valp, int write, void *data) argument
892 do_proc_douintvec_minmax_conv(unsigned long *lvalp, unsigned int *valp, int write, void *data) argument
1154 do_proc_dointvec_jiffies_conv(bool *negp, unsigned long *lvalp, int *valp, int write, void *data) argument
1180 do_proc_dointvec_userhz_jiffies_conv(bool *negp, unsigned long *lvalp, int *valp, int write, void *data) argument
1203 do_proc_dointvec_ms_jiffies_conv(bool *negp, unsigned long *lvalp, int *valp, int write, void *data) argument
1228 do_proc_dointvec_ms_jiffies_minmax_conv(bool *negp, unsigned long *lvalp, int *valp, int write, void *data) argument
[all...]
/linux-master/fs/xfs/
H A Dxfs_sysctl.c20 int ret, *valp = ctl->data; local
24 if (!ret && write && *valp) {
40 int ret, *valp = ctl->data; local
44 xfs_panic_mask = *valp;
/linux-master/sound/pci/hda/
H A Dhda_beep.c329 long *valp = ucontrol->value.integer.value; local
331 enable |= *valp;
332 valp++;
335 enable |= *valp;
/linux-master/include/linux/
H A Dtc.h138 extern int tc_preadb(u8 *valp, void __iomem *addr);
H A Dgenl_magic_func.h57 const char *name, void *valp)
59 __u64 val = valp ? *(__u32 *)valp : 1;
68 val = *(__u64*)valp;
56 dprint_field(const char *dir, int nla_type, const char *name, void *valp) argument
/linux-master/drivers/media/platform/ti/cal/
H A Dcal.h306 static inline void cal_set_field(u32 *valp, u32 field, u32 mask) argument
308 u32 val = *valp;
312 *valp = val;
/linux-master/tools/testing/selftests/net/
H A Dudpgso_bench_tx.c316 uint32_t *valp; local
321 valp = (void *)CMSG_DATA(cm);
322 *valp = cfg_tx_ts;
380 uint16_t *valp; local
385 valp = (void *)CMSG_DATA(cm);
386 *valp = cfg_gso_size;
/linux-master/arch/powerpc/include/asm/
H A Dperf_event_server.h41 unsigned long *valp, u64 event_config1);
/linux-master/drivers/base/regmap/
H A Dregmap-mmio.c193 const u16 *valp = (const u16 *)val; local
195 writew(swab16(valp[i]), ctx->regs + reg);
200 const u32 *valp = (const u32 *)val; local
202 writel(swab32(valp[i]), ctx->regs + reg);
/linux-master/fs/nfs/
H A Dnfs42xattr.c179 void *valp; local
216 valp = kvmalloc(len, GFP_KERNEL);
217 if (valp == NULL) {
222 valp = buf + sizeof(struct nfs4_xattr_entry) + slen;
224 valp = NULL;
226 if (valp != NULL) {
228 memcpy(valp, value, len);
230 _copy_from_pages(valp, pages, 0, len);
234 entry->xattr_value = valp;

Completed in 223 milliseconds

1234