/freebsd-11-stable/sys/arm/versatile/ |
H A D | versatile_scm.h | 46 int versatile_scm_reg_read_4(uint32_t reg, uint32_t *val); 47 int versatile_scm_reg_write_4(uint32_t reg, uint32_t val);
|
/freebsd-11-stable/usr.sbin/bhyve/ |
H A D | ps2mouse.h | 38 int ps2mouse_read(struct ps2mouse_softc *sc, uint8_t *val); 39 void ps2mouse_write(struct ps2mouse_softc *sc, uint8_t val, int insert);
|
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/ |
H A D | DWARFDefines.h | 21 const char *DW_TAG_value_to_name(uint32_t val); 23 const char *DW_AT_value_to_name(uint32_t val); 25 const char *DW_FORM_value_to_name(uint32_t val); 27 const char *DW_OP_value_to_name(uint32_t val); 29 DRC_class DW_OP_value_to_class(uint32_t val); 31 const char *DW_ATE_value_to_name(uint32_t val); 33 const char *DW_LANG_value_to_name(uint32_t val); 35 const char *DW_LNS_value_to_name(uint32_t val);
|
/freebsd-11-stable/contrib/apr/include/ |
H A D | apr_atomic.h | 64 * @param val value that the object will assume 66 APR_DECLARE(void) apr_atomic_set32(volatile apr_uint32_t *mem, apr_uint32_t val); 69 * atomically add 'val' to an apr_uint32_t 71 * @param val amount to add 74 APR_DECLARE(apr_uint32_t) apr_atomic_add32(volatile apr_uint32_t *mem, apr_uint32_t val); 77 * atomically subtract 'val' from an apr_uint32_t 79 * @param val amount to subtract 81 APR_DECLARE(void) apr_atomic_sub32(volatile apr_uint32_t *mem, apr_uint32_t val); 109 * exchange an apr_uint32_t's value with 'val'. 111 * @param val wha [all...] |
/freebsd-11-stable/sys/arm/nvidia/ |
H A D | tegra_usbphy.c | 316 #define WR4(sc, offs, val) \ 317 bus_write_4(sc->mem_res, offs, val) 320 reg_wait(struct usbphy_softc *sc, uint32_t reg, uint32_t mask, uint32_t val) argument 325 if ((RD4(sc, reg) & mask) == val) 335 uint32_t val; local 338 val = RD4(sc, CTRL_USB_HOSTPC1_DEVLC); 340 val &= ~USB_HOSTPC1_DEVLC_PHCD; 342 val |= USB_HOSTPC1_DEVLC_PHCD; 343 WR4(sc, CTRL_USB_HOSTPC1_DEVLC, val); 358 uint32_t val; local 512 uint32_t val; local [all...] |
/freebsd-11-stable/crypto/heimdal/lib/asn1/ |
H A D | der_length.c | 41 _heim_len_unsigned (unsigned val) argument 48 last_val_gt_128 = (val >= 128); 49 val /= 256; 50 } while (val); 59 _heim_len_int (int val) argument 64 if (val >= 0) { 66 q = val % 256; 68 val /= 256; 69 } while(val); 73 val [all...] |
/freebsd-11-stable/tools/tools/locale/tools/ |
H A D | convert_map.pl | 132 $val = $words[0]; 133 if (defined ($map{$val})) { 134 $map{$val} .= " ".$utf8; 136 $map{$val} = $utf8; 143 my $val = shift; 145 $val = hex($val); 147 if ($val == 0) { 150 while ($val) { 151 $str = sprintf("\\x%02x", $val [all...] |
/freebsd-11-stable/contrib/gdb/gdb/ |
H A D | mem-break.c | 47 int val; local 57 val = target_read_memory (addr, contents_cache, bplen); 60 if (val == 0) 61 val = target_write_memory (addr, (char *) bp, bplen); 63 return val;
|
H A D | remote-hms.c | 33 hms_supply_register (char *regname, int regnamelen, char *val, int vallen) argument 43 val = monitor_supply_register (PC_REGNUM, val); 45 while (*val != '=' && *val) 46 val++; 48 val = monitor_supply_register (CCR_REGNUM, val + 1); 51 while (*val != '=' && *val) [all...] |
/freebsd-11-stable/sys/dev/io/ |
H A D | iodev.c | 127 req->val = iodev_read_1(req->port); 131 req->val = iodev_read_1(req->port); 132 req->val |= iodev_read_1(req->port + 1) << 8; 134 req->val = iodev_read_2(req->port); 138 req->val = iodev_read_1(req->port); 139 req->val |= iodev_read_2(req->port + 1) << 8; 140 req->val |= iodev_read_1(req->port + 3) << 24; 142 req->val = iodev_read_2(req->port); 143 req->val |= iodev_read_2(req->port + 2) << 16; 145 req->val [all...] |
/freebsd-11-stable/sys/dev/mlx4/ |
H A D | doorbell.h | 55 static inline void mlx4_write64(__be32 val[2], void __iomem *dest, argument 58 __raw_writeq(*(u64 *) val, dest); 73 static inline void mlx4_write64(__be32 val[2], void __iomem *dest, argument 79 __raw_writel((__force u32) val[0], dest); 80 __raw_writel((__force u32) val[1], (u8 *)dest + 4);
|
/freebsd-11-stable/sys/dev/mlx5/ |
H A D | doorbell.h | 44 static inline void mlx5_write64(__be32 val[2], void __iomem *dest, argument 47 __raw_writeq(*(u64 *)val, dest); 61 static inline void mlx5_write64(__be32 val[2], void __iomem *dest, argument 67 __raw_writel((__force u32) val[0], dest); 68 __raw_writel((__force u32) val[1], dest + 4);
|
/freebsd-11-stable/sys/dev/drm2/i915/ |
H A D | dvo_ivch.c | 380 uint16_t val; local 382 ivch_read(dvo, VR00, &val); 383 DRM_LOG_KMS("VR00: 0x%04x\n", val); 384 ivch_read(dvo, VR01, &val); 385 DRM_LOG_KMS("VR01: 0x%04x\n", val); 386 ivch_read(dvo, VR30, &val); 387 DRM_LOG_KMS("VR30: 0x%04x\n", val); 388 ivch_read(dvo, VR40, &val); 389 DRM_LOG_KMS("VR40: 0x%04x\n", val); 392 ivch_read(dvo, VR80, &val); [all...] |
/freebsd-11-stable/sys/sparc64/include/ |
H A D | cpufunc.h | 87 #define mov(val, reg) do { \ 88 __asm __volatile("mov %0, %" __XSTRING(reg) : : "r" (val)); \ 121 o ## _nc(caddr_t va, int asi, tp val) \ 124 : : "r" (val), "r" (va), "r" (asi)); \ 132 #define ST_GENERIC(va, asi, val, op) \ 134 : : "r" (val), "r" (va), "n" (asi)); \ 136 #define stba(va, asi, val) ST_GENERIC(va, asi, val, stba) 137 #define stha(va, asi, val) ST_GENERIC(va, asi, val, sth [all...] |
/freebsd-11-stable/sys/mips/nlm/dev/net/ |
H A D | xaui.c | 142 uint32_t val; local 144 val = ((broadcast_en & 0x1) << 10) | 150 nlm_write_nae_reg(base, XAUI_MAC_FILTER_CFG(nblock), val); 201 uint32_t val; local 203 val = nlm_read_nae_reg(nae_base, XAUI_NETIOR_XGMAC_CTRL1(nblock)); 204 val &= ~(0x1 << 11); /* clear soft reset */ 205 nlm_write_nae_reg(nae_base, XAUI_NETIOR_XGMAC_CTRL1(nblock), val); 207 val = nlm_read_nae_reg(nae_base, XAUI_NETIOR_XGMAC_CTRL1(nblock)); 208 val &= ~(0x3 << 11); /* clear soft reset and hard reset */ 209 nlm_write_nae_reg(nae_base, XAUI_NETIOR_XGMAC_CTRL1(nblock), val); [all...] |
/freebsd-11-stable/usr.bin/factor/ |
H A D | factor.c | 119 BIGNUM *val; local 124 val = BN_new(); 125 if (val == NULL) 153 if (BN_dec2bn(&val, buf) == 0 && 154 BN_hex2bn(&val, buf) == 0) 156 pr_fact(val); 163 if (BN_dec2bn(&val, argv[0]) == 0 && 164 BN_hex2bn(&val, argv[0]) == 0) 166 pr_fact(val); 181 pr_fact(BIGNUM *val) argument 242 pr_print(BIGNUM *val) argument 264 pollard_pminus1(BIGNUM *val) argument [all...] |
/freebsd-11-stable/contrib/dma/ |
H A D | base64.c | 97 unsigned int val = 0; local 102 val *= 64; 108 val += pos(token[i]); 112 return (marker << 24) | val; 123 unsigned int val = token_decode(p); local 124 unsigned int marker = (val >> 24) & 0xff; 125 if (val == DECODE_ERROR) 127 *q++ = (val >> 16) & 0xff; 129 *q++ = (val >> 8) & 0xff; 131 *q++ = val [all...] |
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/aggs/ |
H A D | tst.negorder.d | 35 val = (-a * b) + a; 40 incr = val % b; 41 val += a; 45 /val == 0/ 47 val += a;
|
/freebsd-11-stable/sys/dev/atkbdc/ |
H A D | atkbdc_subr.c | 73 atkbdc_read_ivar(device_t bus, device_t dev, int index, uintptr_t *val) argument 80 *val = (u_long)ivar->vendorid; 83 *val = (u_long)ivar->serial; 86 *val = (u_long)ivar->logicalid; 89 *val = (u_long)ivar->compatid; 98 atkbdc_write_ivar(device_t bus, device_t dev, int index, uintptr_t val) argument 105 ivar->vendorid = (u_int32_t)val; 108 ivar->serial = (u_int32_t)val; 111 ivar->logicalid = (u_int32_t)val; 114 ivar->compatid = (u_int32_t)val; [all...] |
/freebsd-11-stable/crypto/heimdal/lib/roken/ |
H A D | base64.c | 105 unsigned int val = 0; local 110 val *= 64; 116 val += pos(token[i]); 120 return (marker << 24) | val; 131 unsigned int val = token_decode(p); local 132 unsigned int marker = (val >> 24) & 0xff; 133 if (val == DECODE_ERROR) 135 *q++ = (val >> 16) & 0xff; 137 *q++ = (val >> 8) & 0xff; 139 *q++ = val [all...] |
/freebsd-11-stable/contrib/ntp/libntp/ |
H A D | dofptoa.c | 21 register u_long val; local 43 val = fpv; 48 if (!(val & 0xffff0000)) 51 register u_short sv = (u_short)(val >> 16); 80 val &= 0xffff; 81 val = (val << 3) + (val << 1); 82 *cpend++ = (u_char)(val >> 16); 86 if (val [all...] |
/freebsd-11-stable/contrib/apr/atomic/unix/ |
H A D | ia32.c | 35 APR_DECLARE(void) apr_atomic_set32(volatile apr_uint32_t *mem, apr_uint32_t val) argument 37 *mem = val; 40 APR_DECLARE(apr_uint32_t) apr_atomic_add32(volatile apr_uint32_t *mem, apr_uint32_t val) 43 : "=r" (val), "=m" (*mem) 44 : "0" (val), "m" (*mem) 46 return val; 49 APR_DECLARE(void) apr_atomic_sub32(volatile apr_uint32_t *mem, apr_uint32_t val) argument 53 : "m" (*(mem)), "r" (val) 86 APR_DECLARE(apr_uint32_t) apr_atomic_xchg32(volatile apr_uint32_t *mem, apr_uint32_t val) 88 apr_uint32_t prev = val; [all...] |
/freebsd-11-stable/contrib/bsnmp/snmp_target/ |
H A D | target_snmp.c | 82 op_snmp_target(struct snmp_context *ctx __unused, struct snmp_value *val, argument 87 if (val->var.subs[sub - 1] == LEAF_snmpTargetSpinLock) { 92 val->v.integer = target_lock; 97 if (val->v.integer != target_lock) 113 switch (val->var.subs[sub - 1]) { 115 val->v.uint32 = ctx_stats->unavail_contexts; 118 val->v.uint32 = ctx_stats->unknown_contexts; 129 op_snmp_target_addrs(struct snmp_context *ctx __unused, struct snmp_value *val, argument 137 if ((addrs = target_get_address(&val->var, sub)) == NULL) 142 if ((addrs = target_get_next_address(&val 339 op_snmp_target_params(struct snmp_context *ctx __unused, struct snmp_value *val, uint32_t sub, uint32_t iidx __unused, enum snmp_op op) argument 521 op_snmp_notify(struct snmp_context *ctx __unused, struct snmp_value *val, uint32_t sub, uint32_t iidx __unused, enum snmp_op op) argument [all...] |
/freebsd-11-stable/crypto/heimdal/lib/krb5/ |
H A D | test_store.c | 41 int8_t val[] = { local 47 for (i = 0; i < sizeof(val[0])/sizeof(val); i++) { 49 ret = krb5_store_int8(sp, val[i]); 56 if (v != val[i]) 66 int16_t val[] = { local 72 for (i = 0; i < sizeof(val[0])/sizeof(val); i++) { 74 ret = krb5_store_int16(sp, val[i]); 81 if (v != val[ 91 int32_t val[] = { local 116 uint8_t val[] = { local 141 uint16_t val[] = { local 166 uint32_t val[] = { local [all...] |
/freebsd-11-stable/sys/dev/ath/ath_hal/ar5312/ |
H A D | ar5312_gpio.c | 72 ar5312GpioSet(struct ath_hal *ah, uint32_t gpio, uint32_t val) argument 81 reg |= (val&1) << gpio; 96 uint32_t val = OS_REG_READ(ah, gpioOffset+AR5312_GPIODI); local 97 val = ((val & AR5312_GPIOD_MASK) >> gpio) & 0x1; 98 return val; 110 uint32_t val; local 114 val = OS_REG_READ(ah, gpioOffset+AR5312_GPIOCR); 115 val &= ~(AR_GPIOCR_CR_A(gpio) | 117 val | [all...] |