Home
last modified time | relevance | path

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

12345

/openbmc/linux/drivers/gpu/drm/i915/
H A Di915_params.c283 static void _param_dup_charp(char **valp) in _param_dup_charp() argument
285 *valp = kstrdup(*valp, GFP_ATOMIC); in _param_dup_charp()
288 static void _param_nop(void *valp) in _param_nop() argument
292 #define _param_dup(valp) \ argument
293 _Generic(valp, \
295 default: _param_nop)(valp)
307 kfree(*valp); in _param_free_charp()
308 *valp = NULL; in _param_free_charp()
311 #define _param_free(valp) \ argument
312 _Generic(valp, \
[all …]
/openbmc/linux/arch/ia64/include/asm/
H A 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()
/openbmc/qemu/target/xtensa/core-lx106/
H A Dxtensa-modules.c.inc1380 *valp = r_0;
1427 *valp -= pc;
1434 *valp += pc;
1472 *valp = t_0;
1510 *valp = r_0;
1548 *valp = r_0;
1755 *valp -= pc;
1762 *valp += pc;
1789 *valp -= pc;
1796 *valp += pc;
[all …]
/openbmc/qemu/fsdev/
H A D9p-iov-marshal.c83 copied = v9fs_unpack(valp, out_sg, out_num, offset, sizeof(*valp)); in v9fs_iov_vunmarshal()
87 uint16_t val, *valp; in v9fs_iov_vunmarshal() local
88 valp = va_arg(ap, uint16_t *); in v9fs_iov_vunmarshal()
91 *valp = le16_to_cpu(val); in v9fs_iov_vunmarshal()
93 *valp = val; in v9fs_iov_vunmarshal()
98 uint32_t val, *valp; in v9fs_iov_vunmarshal() local
102 *valp = le32_to_cpu(val); in v9fs_iov_vunmarshal()
104 *valp = val; in v9fs_iov_vunmarshal()
109 uint64_t val, *valp; in v9fs_iov_vunmarshal() local
113 *valp = le64_to_cpu(val); in v9fs_iov_vunmarshal()
[all …]
/openbmc/u-boot/include/
H A Dregmap.h122 int regmap_read(struct regmap *map, uint offset, uint *valp);
156 int regmap_raw_read(struct regmap *map, uint offset, void *valp,
188 void *valp, size_t val_len);
226 #define regmap_range_get(map, range, type, member, valp) \ argument
228 (void *)valp, sizeof(((type *)0)->member))
239 #define regmap_get(map, type, member, valp) \ argument
240 regmap_range_get(map, 0, type, member, valp)
/openbmc/qemu/target/xtensa/core-fsf/
H A Dxtensa-modules.c.inc1485 *valp = r_0;
1505 *valp = r_0;
1552 *valp -= pc;
1559 *valp += pc;
1597 *valp = t_0;
1635 *valp = r_0;
1673 *valp = r_0;
1880 *valp -= pc;
1887 *valp += pc;
1914 *valp -= pc;
[all …]
/openbmc/qemu/target/xtensa/core-sample_controller/
H A Dxtensa-modules.c.inc2323 *valp -= pc;
2330 *valp += pc;
2337 *valp -= pc;
2344 *valp += pc;
2351 *valp -= pc;
2358 *valp += pc;
2365 *valp -= pc;
2372 *valp += pc;
2393 *valp -= pc;
2400 *valp += pc;
[all …]
/openbmc/qemu/target/xtensa/core-de212/
H A Dxtensa-modules.c.inc1713 *valp += 2;
1721 error = ((*valp & ~0x3) != 0) || ((*valp & 0x2) == 0);
1722 *valp = *valp & 1;
2645 *valp -= pc;
2652 *valp += pc;
2659 *valp -= pc;
2666 *valp += pc;
2673 *valp -= pc;
2680 *valp += pc;
2687 *valp -= pc;
[all …]
/openbmc/qemu/target/xtensa/core-dc233c/
H A Dxtensa-modules.c.inc1923 *valp = r_0;
1943 *valp = r_0;
1990 *valp -= pc;
1997 *valp += pc;
2035 *valp = t_0;
2073 *valp = r_0;
2111 *valp = r_0;
2318 *valp -= pc;
2480 *valp += 2;
2488 error = ((*valp & ~0x3) != 0) || ((*valp & 0x2) == 0);
[all …]
/openbmc/qemu/target/xtensa/core-dc232b/
H A Dxtensa-modules.c.inc1842 *valp = r_0;
1862 *valp = r_0;
1909 *valp -= pc;
1916 *valp += pc;
1954 *valp = t_0;
1992 *valp = r_0;
2030 *valp = r_0;
2237 *valp -= pc;
2399 *valp += 2;
2407 error = ((*valp & ~0x3) != 0) || ((*valp & 0x2) == 0);
[all …]
/openbmc/qemu/hw/rdma/
H A Drdma_utils.c81 int64_t *valp; in rdma_protected_gqueue_pop_int64() local
86 valp = g_queue_pop_head(list->list); in rdma_protected_gqueue_pop_int64()
89 if (!valp) { in rdma_protected_gqueue_pop_int64()
93 val = *valp; in rdma_protected_gqueue_pop_int64()
94 g_free(valp); in rdma_protected_gqueue_pop_int64()
/openbmc/qemu/target/xtensa/core-de233_fpu/
H A Dxtensa-modules.c.inc2729 *valp = *valp & 1;
3610 *valp = *valp << 1;
3618 error = (*valp >= 16) || ((*valp & 1) != 0);
3619 *valp = *valp >> 1;
3626 *valp = *valp << 2;
3634 error = (*valp >= 16) || ((*valp & 3) != 0);
3635 *valp = *valp >> 2;
3642 *valp = *valp << 3;
3651 *valp = *valp >> 3;
3658 *valp = *valp << 4;
[all …]
/openbmc/linux/drivers/cpufreq/
H A 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 …]
H A 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()
/openbmc/linux/kernel/
H A Dsysctl.c428 int *valp, in do_proc_dointvec_conv() argument
455 unsigned int *valp, in do_proc_douintvec_conv() argument
681 unsigned int *valp, in do_proc_douintvec() argument
826 int *valp, in do_proc_dointvec_minmax_conv() argument
845 WRITE_ONCE(*valp, tmp); in do_proc_dointvec_minmax_conv()
893 unsigned int *valp, in do_proc_douintvec_minmax_conv() argument
1155 int *valp, in do_proc_dointvec_jiffies_conv() argument
1181 int *valp, in do_proc_dointvec_userhz_jiffies_conv() argument
1189 int val = *valp; in do_proc_dointvec_userhz_jiffies_conv()
1204 int *valp, in do_proc_dointvec_ms_jiffies_conv() argument
[all …]
/openbmc/linux/drivers/macintosh/
H A Dmac_hid.c188 int *valp = table->data; in mac_hid_toggle_emumouse() local
189 int old_val = *valp; in mac_hid_toggle_emumouse()
198 if (rc == 0 && write && *valp != old_val) { in mac_hid_toggle_emumouse()
199 if (*valp == 1) in mac_hid_toggle_emumouse()
201 else if (*valp == 0) in mac_hid_toggle_emumouse()
209 *valp = old_val; in mac_hid_toggle_emumouse()
/openbmc/u-boot/drivers/core/
H A Dregmap.c250 void *valp, size_t val_len) in regmap_raw_read_range() argument
271 *((u8 *)valp) = __read_8(ptr, map->endianness); in regmap_raw_read_range()
274 *((u16 *)valp) = __read_16(ptr, map->endianness); in regmap_raw_read_range()
277 *((u32 *)valp) = __read_32(ptr, map->endianness); in regmap_raw_read_range()
281 *((u64 *)valp) = __read_64(ptr, map->endianness); in regmap_raw_read_range()
292 int regmap_raw_read(struct regmap *map, uint offset, void *valp, size_t val_len) in regmap_raw_read() argument
294 return regmap_raw_read_range(map, 0, offset, valp, val_len); in regmap_raw_read()
297 int regmap_read(struct regmap *map, uint offset, uint *valp) in regmap_read() argument
299 return regmap_raw_read(map, offset, valp, REGMAP_SIZE_32); in regmap_read()
/openbmc/linux/drivers/staging/vc04_services/bcm2835-audio/
H A 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()
/openbmc/linux/scripts/
H A Dunifdef.c837 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()
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()
895 lt = *valp ? LT_TRUE : LT_FALSE; in eval_unary()
922 lt = ops->inner(ops+1, valp, &cp); in eval_table()
[all …]
/openbmc/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()
/openbmc/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()
/openbmc/u-boot/drivers/misc/
H A Dihs_fpga.h48 #define ihs_fpga_get(map, member, valp) \ argument
49 regmap_get(map, struct ihs_fpga_regs, member, valp)
/openbmc/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()
/openbmc/linux/fs/xfs/
H A 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()
/openbmc/linux/tools/perf/util/
H A Dunwind-libunwind-local.c552 unw_word_t addr, unw_word_t *valp, in access_mem() argument
564 *valp = 0; in access_mem()
580 ret = access_dso_mem(ui, addr, valp); in access_mem()
585 *valp = 0; in access_mem()
592 *valp = *(unw_word_t *)&stack->data[offset]; in access_mem()
594 (void *) (uintptr_t) addr, (unsigned long)*valp, offset); in access_mem()
599 unw_regnum_t regnum, unw_word_t *valp, in access_reg() argument
613 *valp = 0; in access_reg()
628 *valp = (unw_word_t) val; in access_reg()
629 pr_debug("unwind: reg %d, val %lx\n", regnum, (unsigned long)*valp); in access_reg()

12345