/openbmc/linux/drivers/gpu/drm/i915/ |
H A D | i915_params.c | 283 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) 305 static void _param_free_charp(char **valp) in _param_free_charp() argument 307 kfree(*valp); in _param_free_charp() 308 *valp = NULL; in _param_free_charp() 311 #define _param_free(valp) \ argument [all …]
|
/openbmc/linux/arch/ia64/include/asm/ |
H A D | unwind.h | 142 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 D | xtensa-modules.c.inc | 1275 Operand_art_decode (uint32 *valp ATTRIBUTE_UNUSED) 1281 Operand_art_encode (uint32 *valp) 1284 error = (*valp & ~0xf) != 0; 1289 Operand_ars_decode (uint32 *valp ATTRIBUTE_UNUSED) 1295 Operand_ars_encode (uint32 *valp) 1298 error = (*valp & ~0xf) != 0; 1303 Operand_arr_decode (uint32 *valp ATTRIBUTE_UNUSED) 1309 Operand_arr_encode (uint32 *valp) 1312 error = (*valp & ~0xf) != 0; 1317 Operand_ar0_decode (uint32 *valp ATTRIBUTE_UNUSED) [all …]
|
/openbmc/qemu/fsdev/ |
H A D | 9p-iov-marshal.c | 82 uint8_t *valp = va_arg(ap, uint8_t *); in v9fs_iov_vunmarshal() local 83 copied = v9fs_unpack(valp, out_sg, out_num, offset, sizeof(*valp)); in v9fs_iov_vunmarshal() 87 uint16_t val = 0, *valp; in v9fs_iov_vunmarshal() local 88 valp = va_arg(ap, uint16_t *); in v9fs_iov_vunmarshal() 94 *valp = le16_to_cpu(val); in v9fs_iov_vunmarshal() 96 *valp = val; in v9fs_iov_vunmarshal() 101 uint32_t val = 0, *valp; in v9fs_iov_vunmarshal() local 102 valp = va_arg(ap, uint32_t *); in v9fs_iov_vunmarshal() 108 *valp = le32_to_cpu(val); in v9fs_iov_vunmarshal() 110 *valp = val; in v9fs_iov_vunmarshal() [all …]
|
/openbmc/qemu/target/xtensa/core-fsf/ |
H A D | xtensa-modules.c.inc | 1300 Operand_soffsetx4_decode (uint32 *valp) 1303 offset_0 = *valp & 0x3ffff; 1305 *valp = soffsetx4_0; 1310 Operand_soffsetx4_encode (uint32 *valp) 1313 soffsetx4_0 = *valp; 1315 *valp = offset_0; 1320 Operand_soffsetx4_ator (uint32 *valp, uint32 pc) 1322 *valp -= (pc & ~0x3); 1327 Operand_soffsetx4_rtoa (uint32 *valp, uint32 pc) 1329 *valp += (pc & ~0x3); [all …]
|
/openbmc/qemu/target/xtensa/core-sample_controller/ |
H A D | xtensa-modules.c.inc | 1499 OperandSem_opnd_sem_soffsetx4_decode (uint32 *valp) 1503 soffsetx4_in_0 = *valp & 0x3ffff; 1505 *valp = soffsetx4_out_0; 1510 OperandSem_opnd_sem_soffsetx4_encode (uint32 *valp) 1514 soffsetx4_out_0 = *valp; 1516 *valp = soffsetx4_in_0; 1521 OperandSem_opnd_sem_uimm12x8_decode (uint32 *valp) 1525 uimm12x8_in_0 = *valp & 0xfff; 1527 *valp = uimm12x8_out_0; 1532 OperandSem_opnd_sem_uimm12x8_encode (uint32 *valp) [all …]
|
/openbmc/u-boot/include/ |
H A D | regmap.h | 122 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-de212/ |
H A D | xtensa-modules.c.inc | 1711 OperandSem_opnd_sem_MR_0_decode (uint32 *valp) 1713 *valp += 2; 1718 OperandSem_opnd_sem_MR_0_encode (uint32 *valp) 1721 error = ((*valp & ~0x3) != 0) || ((*valp & 0x2) == 0); 1722 *valp = *valp & 1; 1727 OperandSem_opnd_sem_soffsetx4_decode (uint32 *valp) 1731 soffsetx4_in_0 = *valp & 0x3ffff; 1733 *valp = soffsetx4_out_0; 1738 OperandSem_opnd_sem_soffsetx4_encode (uint32 *valp) 1742 soffsetx4_out_0 = *valp; [all …]
|
/openbmc/qemu/target/xtensa/core-dc233c/ |
H A D | xtensa-modules.c.inc | 1738 Operand_soffsetx4_decode (uint32 *valp) 1741 offset_0 = *valp & 0x3ffff; 1743 *valp = soffsetx4_0; 1748 Operand_soffsetx4_encode (uint32 *valp) 1751 soffsetx4_0 = *valp; 1753 *valp = offset_0; 1758 Operand_soffsetx4_ator (uint32 *valp, uint32 pc) 1760 *valp -= (pc & ~0x3); 1765 Operand_soffsetx4_rtoa (uint32 *valp, uint32 pc) 1767 *valp += (pc & ~0x3); [all …]
|
/openbmc/qemu/target/xtensa/core-dc232b/ |
H A D | xtensa-modules.c.inc | 1657 Operand_soffsetx4_decode (uint32 *valp) 1660 offset_0 = *valp & 0x3ffff; 1662 *valp = soffsetx4_0; 1667 Operand_soffsetx4_encode (uint32 *valp) 1670 soffsetx4_0 = *valp; 1672 *valp = offset_0; 1677 Operand_soffsetx4_ator (uint32 *valp, uint32 pc) 1679 *valp -= (pc & ~0x3); 1684 Operand_soffsetx4_rtoa (uint32 *valp, uint32 pc) 1686 *valp += (pc & ~0x3); [all …]
|
/openbmc/qemu/target/xtensa/core-de233_fpu/ |
H A D | xtensa-modules.c.inc | 2718 OperandSem_opnd_sem_MR_0_decode (uint32 *valp) 2720 *valp += 2; 2725 OperandSem_opnd_sem_MR_0_encode (uint32 *valp) 2728 error = ((*valp & ~0x3) != 0) || ((*valp & 0x2) == 0); 2729 *valp = *valp & 1; 2734 OperandSem_opnd_sem_soffsetx4_decode (uint32 *valp) 2738 soffsetx4_in_0 = *valp & 0x3ffff; 2740 *valp = soffsetx4_out_0; 2745 OperandSem_opnd_sem_soffsetx4_encode (uint32 *valp) 2749 soffsetx4_out_0 = *valp; [all …]
|
/openbmc/linux/kernel/ |
H A D | sysctl.c | 428 int *valp, in do_proc_dointvec_conv() argument 435 WRITE_ONCE(*valp, -*lvalp); in do_proc_dointvec_conv() 439 WRITE_ONCE(*valp, *lvalp); in do_proc_dointvec_conv() 442 int val = READ_ONCE(*valp); in do_proc_dointvec_conv() 455 unsigned int *valp, in do_proc_douintvec_conv() argument 461 WRITE_ONCE(*valp, *lvalp); in do_proc_douintvec_conv() 463 unsigned int val = READ_ONCE(*valp); in do_proc_douintvec_conv() 474 int (*conv)(bool *negp, unsigned long *lvalp, int *valp, in __do_proc_dointvec() argument 546 int (*conv)(bool *negp, unsigned long *lvalp, int *valp, in do_proc_dointvec() argument 559 unsigned int *valp, in do_proc_douintvec_w() argument [all …]
|
/openbmc/linux/drivers/cpufreq/ |
H A D | pmac64-cpufreq.c | 346 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 D | maple-cpufreq.c | 162 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/u-boot/drivers/core/ |
H A D | regmap.c | 250 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/macintosh/ |
H A D | mac_hid.c | 188 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/linux/scripts/ |
H A D | unifdef.c | 825 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 …]
|
/openbmc/linux/drivers/staging/vc04_services/bcm2835-audio/ |
H A D | bcm2835-ctl.c | 74 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/sound/synth/emux/ |
H A D | emux_effect.c | 86 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/linux/drivers/net/ethernet/chelsio/cxgb/ |
H A D | cphy.h | 102 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/u-boot/drivers/misc/ |
H A D | ihs_fpga.h | 48 #define ihs_fpga_get(map, member, valp) \ argument 49 regmap_get(map, struct ihs_fpga_regs, member, valp)
|
/openbmc/linux/tools/perf/util/ |
H A D | unwind-libunwind-local.c | 552 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()
|
/openbmc/linux/fs/xfs/ |
H A D | xfs_sysctl.c | 20 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/qemu/include/hw/xtensa/ |
H A D | xtensa-isa.h | 492 const xtensa_insnbuf slotbuf, uint32_t *valp); 507 uint32_t *valp); 510 uint32_t *valp); 578 uint32_t *valp, uint32_t pc); 581 uint32_t *valp, uint32_t pc);
|
/openbmc/linux/arch/mips/dec/ |
H A D | tc.c | 30 int tc_preadb(u8 *valp, void __iomem *addr) in tc_preadb() argument 32 return get_dbe(*valp, (u8 *)addr); in tc_preadb()
|