| /src/lib/libc/sys/ |
| eventfd_read.c | 43 eventfd_read(int efd, eventfd_t *valp) 52 *valp = val;
|
| /src/sys/arch/usermode/usermode/ |
| copy.c | 90 _ufetch_8(const uint8_t *uaddr, uint8_t *valp) 92 *valp = *uaddr; 97 _ufetch_16(const uint16_t *uaddr, uint16_t *valp) 99 *valp = *uaddr; 104 _ufetch_32(const uint32_t *uaddr, uint32_t *valp) 106 *valp = *uaddr; 112 _ufetch_64(const uint64_t *uaddr, uint64_t *valp) 114 *valp = *uaddr;
|
| /src/lib/libpci/ |
| pci_device.c | 58 pcidev_conf_read(int fd, u_int reg, uint32_t *valp) 71 *valp = r.val;
|
| pci_bus.c | 59 uint32_t *valp) 75 *valp = bdfr.cfgreg.val;
|
| /src/sbin/wsconsctl/ |
| util.c | 233 if (field_tab[i].valp == addr) 290 (void)printf("%u", *((unsigned int *) f->valp)); 293 (void)printf("%d", *((int *) f->valp)); 296 (void)printf("\"%s\"", *((char **) f->valp)); 299 pr_bitfield(*((unsigned int *) f->valp)); 302 p = int2name(*((unsigned int *) f->valp), 1, 307 p = int2name(*((unsigned int *) f->valp), 1, 312 p = int2name(*((unsigned int *) f->valp), 1, 317 p = int2name(KB_ENCODING(*((unsigned int *) f->valp)), 1, 321 flags = KB_VARIANT(*((unsigned int *) f->valp)); [all...] |
| wsconsctl.h | 54 void *valp; member in struct:field
|
| /src/sys/dev/i2c/ |
| zl10353.c | 139 zl10353_read(struct zl10353 *zl, uint8_t reg, uint8_t *valp) 147 rv = iic_exec(zl->zl_i2c, op, zl->zl_i2c_addr, ®, 1, valp, 1, 0); 422 zl10353_get_guard(fe_guard_interval_t fg, uint16_t *valp) 428 *valp |= ZL10353_TPS_GUARD_1_4; 432 *valp |= ZL10353_TPS_GUARD_1_8; 436 *valp |= ZL10353_TPS_GUARD_1_16; 440 *valp |= ZL10353_TPS_GUARD_1_32; 444 *valp |= ZL10353_TPS_GUARD_AUTO; 455 zl10353_get_mode(fe_transmit_mode_t fm, uint16_t *valp) 461 *valp |= ZL10353_TPS_MODE_2K [all...] |
| i2c_exec.c | 355 uint8_t *valp, int flags) 359 valp, 1, flags)); 369 uint16_t *valp, int flags) 373 (uint8_t *)valp, 2, flags)); 382 iic_smbus_receive_byte(i2c_tag_t tag, i2c_addr_t addr, uint8_t *valp, 387 valp, 1, flags));
|
| mcp23xxxgpio_i2c.c | 106 uint8_t reg, uint8_t *valp) 114 ®, 1, valp, 1, 0);
|
| i2c_bitbang.c | 159 i2c_bitbang_read_byte(void *v, uint8_t *valp, int flags, i2c_bitbang_ops_t ops) 210 *valp = val;
|
| sdtemp.c | 504 sdtemp_read_8(struct sdtemp_softc *sc, uint8_t reg, uint8_t *valp) 509 sc->sc_address, ®, 1, valp, sizeof(*valp), 0); 524 sdtemp_read_16(struct sdtemp_softc *sc, uint8_t reg, uint16_t *valp) 529 sc->sc_address, ®, 1, valp, sizeof(*valp), 0); 533 *valp = be16toh(*valp);
|
| /src/sys/arch/atari/stand/binpatch/ |
| binpatch.c | 121 void *valp; local 248 valp = mappedfile + valoff; 257 uval8 = *(uint8_t *)valp; 258 sval8 = *(int8_t *)valp; 265 uval16 = *(uint16_t *)valp; 266 sval16 = *(int16_t *)valp; 273 uval32 = *(uint32_t *)valp; 274 sval32 = *(int32_t *)valp; 281 uval64 = *(uint64_t *)valp; 282 sval64 = *(int64_t *)valp; [all...] |
| /src/usr.bin/audio/ctl/ |
| ctl.c | 73 void *valp; member in struct:field 175 printf("%s", (const char*)p->valp); 178 printf("%d", *(const int*)p->valp); 181 printf("%u", *(const u_int*)p->valp); 184 printf("0x%x", *(const u_int*)p->valp); 187 printf("%u", *(const u_char*)p->valp); 190 printf("%lu", *(const u_long*)p->valp); 193 v = *(const u_int*)p->valp; 206 v = *(u_int*)p->valp; 214 v = *(u_int*)p->valp; [all...] |
| /src/sys/arch/riscv/riscv/ |
| trap.c | 669 fetch_user_data(const void *uaddr, void *valp, size_t size) 684 *(uint8_t *)valp = *(volatile const uint8_t *)uaddr; 687 *(uint16_t *)valp = *(volatile const uint16_t *)uaddr; 690 *(uint32_t *)valp = *(volatile const uint32_t *)uaddr; 694 *(uint64_t *)valp = *(volatile const uint64_t *)uaddr; 708 _ufetch_8(const uint8_t *uaddr, uint8_t *valp) 710 return fetch_user_data(uaddr, valp, sizeof(*valp)); 714 _ufetch_16(const uint16_t *uaddr, uint16_t *valp) 716 return fetch_user_data(uaddr, valp, sizeof(*valp)) [all...] |
| db_machdep.c | 97 db_rw_ddbreg(const struct db_variable *vp, db_expr_t *valp, int rw) 103 *valp = *(const uint32_t *)addr; 105 *(uint32_t *)addr = *valp; 109 *valp = *(const register_t *)addr; 111 *(register_t *)addr = *valp;
|
| /src/sys/fs/nfs/common/ |
| nfsclstate.h | 341 uint8_t *valp; local 345 valp = (uint8_t *)&ndi->nfsdi_data[ndi->nfsdi_addrcnt]; 346 valp += pos; 347 return ((int)*valp); 356 uint8_t *valp; local 360 valp = (uint8_t *)&ndi->nfsdi_data[ndi->nfsdi_addrcnt]; 361 valp += pos; 362 *valp = val;
|
| /src/sys/arch/powerpc/booke/ |
| copyin.c | 204 _ufetch_8(const uint8_t *vusaddr, uint8_t *valp) 214 *valp = copyin_byte(vusaddr, mfmsr() | PSL_DS); 222 _ufetch_16(const uint16_t *vusaddr, uint16_t *valp) 232 *valp = copyin_halfword(vusaddr, mfmsr() | PSL_DS); 240 _ufetch_32(const uint32_t *vusaddr, uint32_t *valp) 250 *valp = copyin_word(vusaddr, mfmsr() | PSL_DS);
|
| /src/sys/kern/ |
| subr_device.c | 853 uint64_t *valp) 859 * the least-significant propsize bytes in *valp into the 895 if ((*valp & mask) == bit) { 896 *valp |= mask; 897 } else if ((*valp & mask) != mask) { 913 device_getprop_int32_internal(device_t dev, const char *prop, int32_t *valp) 937 *valp = (int32_t)val64; 942 device_getprop_uint32_internal(device_t dev, const char *prop, uint32_t *valp) 962 *valp = (uint32_t)val64; 967 device_getprop_int64_internal(device_t dev, const char *prop, int64_t *valp) [all...] |
| /src/usr.bin/mixerctl/ |
| mixerctl.c | 54 mixer_ctrl_t *valp; member in struct:field 93 m = p->valp; 157 m = p->valp; 223 m = p->valp; 295 val = *p->valp; 301 if (ioctl(fd, AUDIO_MIXER_WRITE, p->valp) == -1) 304 *p->valp = val; 306 if (ioctl(fd, AUDIO_MIXER_READ, p->valp) == -1) 410 rfields[i].valp = &values[i];
|
| /src/sys/arch/alpha/pci/ |
| tsciic.c | 141 tsciic_read_byte(void *cookie, uint8_t *valp, int flags) 143 return (i2c_bitbang_read_byte(cookie, valp, flags, &tsciicbb_ops));
|
| /src/usr.sbin/i2cscan/ |
| i2cscan.c | 77 iic_smbus_receive_byte(int fd, i2c_addr_t addr, uint8_t *valp, int flags) 85 iie.iie_buf = valp;
|
| /src/usr.bin/unifdef/ |
| unifdef.c | 728 eval_unary(const struct ops *ops, int *valp, const char **cpp) 738 if (eval_unary(ops, valp, &cp) == LT_IF) 740 *valp = !*valp; 744 if (eval_table(eval_ops, valp, &cp) == LT_IF) 751 *valp = strtol(cp, &ep, 0); 762 *valp = (value[sym] != NULL); 774 *valp = 0; 776 *valp = strtol(value[sym], &ep, 0); 788 debug("eval%td = %d", ops - eval_ops, *valp); [all...] |
| /src/common/lib/libprop/ |
| prop_dictionary_util.c | 59 prop_dictionary_get_bool(prop_dictionary_t dict, const char *key, bool *valp) 67 *valp = prop_bool_true(b); 83 typ *valp) \ 86 prop_dictionary_get(dict, key), valp); \
|
| /src/sys/net/npf/ |
| npf_params.c | 148 const uint64_t val = *param->valp; 211 *param->valp = param->default_val; 253 *val = *param->valp; 268 *param->valp = val;
|
| /src/sys/rump/librump/rumpkern/ |
| rumpcopy.c | 241 _ufetch_ ## sz(const uint ## sz ##_t *uaddr, uint ## sz ## _t *valp) \ 246 *valp = *uaddr; \ 250 uaddr, valp, sizeof(*valp)); \
|