/src/sys/arch/hpcarm/dev/ |
uda1341.h | 88 #define DATA0_VC(val) (63 - (((val)+1) * 63) / 100) 89 /* Volume control val=(0<->100) */ 92 #define DATA1_BB(val) (((((val)+1) * 15) / 100) << 3) 93 /* Bass Boost control val=(0<->100) */ 94 #define DATA1_TR(val) ((((val)+1) * 3) / 100) 95 /* Treble control val=(0<->100) */ 115 #define DATA_E0_MA(val) ((((val) + 1) * 31) / 100 [all...] |
/src/lib/libc/arch/hppa/gen/ |
fabs.c | 18 fabs(double val) 21 __asm volatile("fabs,dbl %0,%0" : "+f" (val)); 22 return (val);
|
/src/lib/libc/gen/ |
Lint_ldexp.c | 12 ldexp(double val, int exp)
|
Lint___setjmp14.c | 19 __longjmp14(jmp_buf env, int val)
|
Lint___sigsetjmp14.c | 19 __siglongjmp14(sigjmp_buf env, int val)
|
/src/lib/libc/sys/ |
eventfd_read.c | 45 eventfd_t val; local in function:eventfd_read 47 switch (read(efd, &val, sizeof(val))) { 51 case sizeof(val): 52 *valp = val;
|
eventfd_write.c | 43 eventfd_write(int efd, eventfd_t val) 46 switch (write(efd, &val, sizeof(val))) { 50 case sizeof(val):
|
/src/sys/lib/libsa/ |
byteorder.c | 41 uint16_t val; member in union:__anonc92d9a1c010a 46 uint32_t val; member in union:__anonc92d9a1c020a 51 uint64_t val; member in union:__anonc92d9a1c030a 58 sa_htobe16(uint16_t val) 62 un.bytes[1] = val & 0xff; 63 un.bytes[0] = (val >> 8) & 0xff; 65 return un.val; 69 sa_htole16(uint16_t val) 73 un.bytes[0] = val & 0xff; 74 un.bytes[1] = (val >> 8) & 0xff [all...] |
/src/tests/usr.bin/xlint/lint1/ |
msg_368.c | 19 example(uint64_t val) 27 val); 33 val);
|
/src/sys/dev/ic/ |
wd33c93reg.h | 170 * [val in msecs, input clk in 0.1 MHz] 173 #define SBIC_TIMEOUT(val,clk) ((((val) * (clk)) / 800) + 1) 379 #define wd33c93_read_reg(sc,regno,val) \ 382 (val) = bus_space_read_1((sc)->sc_regt,(sc)->sc_data_regh, 0); \ 385 #define wd33c93_write_reg(sc,regno,val) \ 388 bus_space_write_1((sc)->sc_regt, (sc)->sc_data_regh, 0, (val)); \ 391 #define SET_SBIC_myid(sc,val) wd33c93_write_reg(sc,SBIC_myid,val) 392 #define GET_SBIC_myid(sc,val) wd33c93_read_reg(sc,SBIC_myid,val [all...] |
/src/sys/arch/acorn32/podulebus/ |
sbicreg.h | 129 * [val in msecs, input clk in 0.1 MHz] 132 #define SBIC_TIMEOUT(val,clk) ((((val) * (clk)) / 800) + 1) 316 #define sbic_read_reg(regs,regno,val) do { \ 321 (val) = bus_space_read_1((regs)->sc_sbiciot, (regs)->sc_sbicioh, \ 327 #define sbic_write_reg(regs,regno,val) do { \ 333 (val)); \ 338 #define SET_SBIC_myid(regs,val) sbic_write_reg(regs,SBIC_myid,val) 339 #define GET_SBIC_myid(regs,val) sbic_read_reg(regs,SBIC_myid,val [all...] |
/src/sys/arch/amiga/dev/ |
sbicreg.h | 129 * [val in msecs, input clk in 0.1 MHz] 132 #define SBIC_TIMEOUT(val,clk) ((((val) * (clk)) / 800) + 1) 315 #define sbic_read_reg(regs,regno,val) do { \ 318 (val) = *((regs).sbic_value_p); \ 322 #define sbic_write_reg(regs,regno,val) do { \ 325 *((regs).sbic_value_p) = (val); \ 329 #define SET_SBIC_myid(regs,val) sbic_write_reg(regs,SBIC_myid,val) 330 #define GET_SBIC_myid(regs,val) sbic_read_reg(regs,SBIC_myid,val [all...] |
/src/sys/arch/mvme68k/dev/ |
sbicreg.h | 129 * [val in msecs, input clk in 0.1 MHz] 132 #define SBIC_TIMEOUT(val,clk) ((((val) * (clk)) / 800) + 1) 315 #define sbic_read_reg(regs,regno,val) \ 318 (val) = (regs)->sbic_value; \ 321 #define sbic_write_reg(regs,regno,val) \ 324 (regs)->sbic_value = (val); \ 327 #define SET_SBIC_myid(regs,val) sbic_write_reg(regs,SBIC_myid,val) 328 #define GET_SBIC_myid(regs,val) sbic_read_reg(regs,SBIC_myid,val [all...] |
/src/sys/arch/sgimips/stand/common/ |
iris_scsireg.h | 196 * [val in msecs, input clk in 0.1 MHz] 199 #define SBIC_TIMEOUT(val,clk) ((((val) * (clk)) / 800) + 1) 398 #define wd33c93_read_reg(sc, regno, val) \ 401 (val) = *(volatile uint8_t *)(sc)->sc_data_regh; \ 404 #define wd33c93_write_reg(sc, regno, val) \ 407 *(volatile uint8_t *)(sc)->sc_data_regh = (val); \ 410 #define SET_SBIC_myid(sc,val) wd33c93_write_reg(sc,SBIC_myid,val) 411 #define GET_SBIC_myid(sc,val) wd33c93_read_reg(sc,SBIC_myid,val [all...] |
/src/sys/external/bsd/drm2/dist/drm/i915/ |
i915_fixed.h | 17 u32 val; member in struct:__anond91fc8920108 20 #define FP_16_16_MAX ((uint_fixed_16_16_t){ .val = UINT_MAX }) 22 static inline bool is_fixed16_zero(uint_fixed_16_16_t val) 24 return val.val == 0; 27 static inline uint_fixed_16_16_t u32_to_fixed16(u32 val) 29 uint_fixed_16_16_t fp = { .val = val << 16 }; 31 WARN_ON(val > U16_MAX); 38 return DIV_ROUND_UP(fp.val, 1 << 16) [all...] |
/src/sys/external/gpl2/dts/dist/include/dt-bindings/pinctrl/ |
omap.h | 61 #define OMAP2420_CORE_IOPAD(pa, val) OMAP_IOPAD_OFFSET((pa), 0x0030) (val) 62 #define OMAP2430_CORE_IOPAD(pa, val) OMAP_IOPAD_OFFSET((pa), 0x2030) (val) 63 #define OMAP3_CORE1_IOPAD(pa, val) OMAP_IOPAD_OFFSET((pa), 0x2030) (val) 64 #define OMAP3430_CORE2_IOPAD(pa, val) OMAP_IOPAD_OFFSET((pa), 0x25d8) (val) 65 #define OMAP3630_CORE2_IOPAD(pa, val) OMAP_IOPAD_OFFSET((pa), 0x25a0) (val) [all...] |
/src/lib/libc/string/ |
wcscspn_bloom.h | 62 size_t val; local in function:wcsspn_bloom_init 66 val = wcscspn_bloom1((size_t)*charset); 67 bloom[val / BLOOM_DIV] |= (size_t)1 << (val % BLOOM_DIV); 68 val = wcscspn_bloom2((size_t)*charset); 69 bloom[val / BLOOM_DIV] |= (size_t)1 << (val % BLOOM_DIV); 77 size_t val; local in function:wcsspn_in_bloom 79 val = wcscspn_bloom1((size_t)ch); 80 if (bloom[val / BLOOM_DIV] & ((size_t)1 << (val % BLOOM_DIV)) [all...] |
/src/common/lib/libc/inet/ |
inet_addr.c | 111 struct in_addr val; local in function:__weak_alias 113 if (inet_aton(cp, &val)) 114 return (val.s_addr); 127 uint32_t val; local in function:inet_aton 144 val = 0; base = 10; digit = 0; 158 val = (val * base) + (c - '0'); 163 val = (val << 4) | 177 if (pp >= parts + 3 || val > 0xffU [all...] |
/src/usr.bin/cksum/ |
print.c | 50 pcrc(char *fn, uint32_t val, off_t len) 52 (void)printf("%lu %lld", (unsigned long)val, (long long)len); 59 psum1(char *fn, uint32_t val, off_t len) 61 (void)printf("%lu %lld", (unsigned long)val, 69 psum2(char *fn, uint32_t val, off_t len) 71 (void)printf("%lu %lld", (unsigned long)val,
|
/src/usr.sbin/gspa/gspa/ |
gsp_pseu.c | 48 int32_t val; local in function:pseudo 60 if( !eval_expr(ops->op_u.value, &val, &ln) ){ 66 line_pc = pc = val; 94 eval_expr(o->op_u.value, &val, &ln); 95 words[0] = val; 97 words[1] = val >> 16; 100 if( val < -32768 || val > 65535 ) 126 if( !eval_expr(ops->op_u.value, &val, &ln) ){ 131 val *= 8 [all...] |
/src/sys/arch/arm/arm32/ |
arm11_pmc.c | 65 uint32_t val; local in function:arm11_pmc_ctrl_read 67 __asm volatile ("mrc p15, 0, %0, c15, c12, 0" : "=r" (val)); 69 return val; 73 arm11_pmc_ctrl_write(uint32_t val) 75 __asm volatile ("mcr p15, 0, %0, c15, c12, 0" :: "r" (val)); 81 uint32_t val; local in function:arm11_pmc_ccnt_read 83 __asm volatile ("mrc p15, 0, %0, c15, c12, 1" : "=r" (val)); 85 return val; 89 arm11_pmc_ccnt_write(uint32_t val) 91 __asm volatile ("mcr p15, 0, %0, c15, c12, 1;" :: "r" (val)); 100 uint32_t val; local in function:arm11_pmc_ccnt_init [all...] |
/src/usr.sbin/sysinst/ |
factor.c | 52 void factor (long val, long *fact_list, int fact_size, int *num_fact); 81 /* factor: prepare a list of prime factors of val. 86 factor(long val, long *fact_list, int fact_size, int *num_fact) 91 build_primes(val); 95 while (*num_fact < fact_size-1 && val > 1 && i < num_primes) { 97 while (i < num_primes && val % primes[i] != 0) i++; 101 val % primes[i] == 0) { 103 val /= primes[i]; 106 if (val > 1) 107 fact_list[(*num_fact)++] = val; 119 long val; local in function:main [all...] |
/src/lib/libc/inet/ |
inet_network.c | 64 in_addr_t val; local in function:__weak_alias 73 val = 0; base = 10; digit = 0; 83 val = (val * base) + (c - '0'); 89 val = (val << 4) + (c + 10 - (islower(c) ? 'a' : 'A')); 98 if (pp >= parts + 4 || val > 0xff) 101 *pp++ = val, cp++; 106 *pp++ = val; 110 for (val = 0, i = 0; i < n; i++) [all...] |
/src/sys/arch/mips/sibyte/include/ |
ui_bitfields.h | 53 char *showfields(bitfield_t *fields,uint64_t val);
|
/src/sys/dev/raidframe/ |
rf_hist.h | 48 RF_Hist_t val; \ 49 val = ((RF_Hist_t)(_val_)) / 1000; \ 50 if (val >= RF_HIST_MAX_VAL) \ 53 _hist_[(val - RF_HIST_MIN_VAL) / RF_HIST_RESOLUTION]++; \
|