| /freebsd/sys/dev/pms/RefTisa/sat/src/ |
| H A D | smdefs.h | 584 #define OSSA_WRITE_LE_16(AGROOT, DMA_ADDR, OFFSET, VALUE16) \ argument 585 (*((bit16 *)(((bit8 *)DMA_ADDR)+(OFFSET)))) = (bit16)(VALUE16); 587 #define OSSA_WRITE_LE_32(AGROOT, DMA_ADDR, OFFSET, VALUE32) \ argument 588 (*((bit32 *)(((bit8 *)DMA_ADDR)+(OFFSET)))) = (bit32)(VALUE32); 590 #define OSSA_READ_LE_16(AGROOT, ADDR16, DMA_ADDR, OFFSET) \ argument 591 (*((bit16 *)ADDR16)) = (*((bit16 *)(((bit8 *)DMA_ADDR)+(OFFSET)))) 593 #define OSSA_READ_LE_32(AGROOT, ADDR32, DMA_ADDR, OFFSET) \ argument 594 (*((bit32 *)ADDR32)) = (*((bit32 *)(((bit8 *)DMA_ADDR)+(OFFSET)))) 596 #define OSSA_WRITE_BE_16(AGROOT, DMA_ADDR, OFFSET, VALUE16) \ argument 597 (*((bit8 *)(((bit8 *)DMA_ADDR)+(OFFSET)))) = (bit8)((((bit16)VALUE16)>>8)&0xFF); \ [all …]
|
| /freebsd/sys/dev/pms/RefTisa/tisa/sassata/common/ |
| H A D | tddefs.h | 859 #define OSSA_WRITE_LE_16(AGROOT, DMA_ADDR, OFFSET, VALUE16) \ argument 860 (*((bit16 *)(((bit8 *)DMA_ADDR)+(OFFSET)))) = (bit16)(VALUE16); 862 #define OSSA_WRITE_LE_32(AGROOT, DMA_ADDR, OFFSET, VALUE32) \ argument 863 (*((bit32 *)(((bit8 *)DMA_ADDR)+(OFFSET)))) = (bit32)(VALUE32); 865 #define OSSA_READ_LE_16(AGROOT, ADDR16, DMA_ADDR, OFFSET) \ argument 866 (*((bit16 *)ADDR16)) = (*((bit16 *)(((bit8 *)DMA_ADDR)+(OFFSET)))) 868 #define OSSA_READ_LE_32(AGROOT, ADDR32, DMA_ADDR, OFFSET) \ argument 869 (*((bit32 *)ADDR32)) = (*((bit32 *)(((bit8 *)DMA_ADDR)+(OFFSET)))) 871 #define OSSA_WRITE_BE_16(AGROOT, DMA_ADDR, OFFSET, VALUE16) \ argument 872 (*((bit8 *)(((bit8 *)DMA_ADDR)+(OFFSET)))) = (bit8)((((bit16)VALUE16)>>8)&0xFF); \ [all …]
|
| /freebsd/sys/contrib/openzfs/module/zfs/ |
| H A D | vdev_raidz_math_powerpc_altivec_common.h | 128 #define OFFSET(ptr, val) (((unsigned char *)(ptr))+val) macro 161 : [SRC0] "r" ((OFFSET(src, 0))), \ 162 [SRC1] "r" ((OFFSET(src, 16))), \ 163 [SRC2] "r" ((OFFSET(src, 32))), \ 164 [SRC3] "r" ((OFFSET(src, 48))), \ 165 [SRC4] "r" ((OFFSET(src, 64))), \ 166 [SRC5] "r" ((OFFSET(src, 80))), \ 167 [SRC6] "r" ((OFFSET(src, 96))), \ 168 [SRC7] "r" ((OFFSET(src, 112))) \ 182 : [SRC0] "r" ((OFFSET(src, 0))), \ [all …]
|
| H A D | vdev_raidz_math_aarch64_neon_common.h | 131 #define OFFSET(ptr, val) (((unsigned char *)(ptr))+val) macro 164 : [SRC0] "Q" (*(OFFSET(src, 0))), \ 165 [SRC1] "Q" (*(OFFSET(src, 16))), \ 166 [SRC2] "Q" (*(OFFSET(src, 32))), \ 167 [SRC3] "Q" (*(OFFSET(src, 48))), \ 168 [SRC4] "Q" (*(OFFSET(src, 64))), \ 169 [SRC5] "Q" (*(OFFSET(src, 80))), \ 170 [SRC6] "Q" (*(OFFSET(src, 96))), \ 171 [SRC7] "Q" (*(OFFSET(src, 112))) \ 185 : [SRC0] "Q" (*(OFFSET(src, 0))), \ [all …]
|
| /freebsd/contrib/netbsd-tests/lib/libc/stdio/ |
| H A D | t_open_memstream.c | 34 #define OFFSET 16384 macro 57 ATF_CHECK(fseek(fp, OFFSET, SEEK_SET) == 0); in ATF_TC_BODY() 60 ATF_CHECK(size == OFFSET + sizeof(hello)-1); in ATF_TC_BODY() 68 for (i = sizeof(start)-1; i < OFFSET; i++) in ATF_TC_BODY() 71 ATF_CHECK(memcmp(buf + OFFSET, hello, sizeof(hello)-1) == 0); in ATF_TC_BODY() 76 ATF_CHECK(size == OFFSET + sizeof(hello)-1); in ATF_TC_BODY()
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/Process/minidump/ |
| H A D | RegisterContextMinidump_ARM.cpp | 28 #define OFFSET(r) (offsetof(RegisterContextMinidump_ARM::Context, r)) macro 32 "r" #i, nullptr, 4, OFFSET(r) + i * 4, eEncodingUint, eFormatHex, \ 39 "r" #i, "arg" #n, 4, OFFSET(r) + i * 4, eEncodingUint, eFormatHex, \ 47 "d" #i, nullptr, 8, OFFSET(d) + i * 8, eEncodingVector, \ 54 "s" #i, nullptr, 4, OFFSET(s) + i * 4, eEncodingIEEE754, eFormatFloat, \ 61 "q" #i, nullptr, 16, OFFSET(q) + i * 16, eEncodingVector, \ 175 OFFSET(r) + 7 * 4, 188 OFFSET(r) + 11 * 4, 215 OFFSET(r) + 13 * 4, 226 OFFSET(r) + 14 * 4, [all …]
|
| H A D | RegisterContextMinidump_ARM64.cpp | 26 #define OFFSET(r) (offsetof(RegisterContextMinidump_ARM64::Context, r)) macro 30 "x" #i, nullptr, 8, OFFSET(x) + i * 8, eEncodingUint, eFormatHex, \ 37 "w" #i, nullptr, 4, OFFSET(x) + i * 8, eEncodingUint, eFormatHex, \ 43 "x" #i, "arg" #n, 8, OFFSET(x) + i * 8, eEncodingUint, eFormatHex, \ 50 "v" #i, nullptr, 16, OFFSET(v) + i * 16, eEncodingVector, \ 57 "d" #i, nullptr, 8, OFFSET(v) + i * 16, eEncodingVector, \ 64 "s" #i, nullptr, 4, OFFSET(v) + i * 16, eEncodingVector, \ 71 "h" #i, nullptr, 2, OFFSET(v) + i * 16, eEncodingVector, \ 313 OFFSET(x) + 29 * 8, 324 OFFSET(x) + 30 * 8, [all …]
|
| /freebsd/sys/dev/pms/RefTisa/sallsdk/api/ |
| H A D | sa.h | 43 #define OSSA_WRITE_LE_16(AGROOT, DMA_ADDR, OFFSET, VALUE16) \ argument 44 (*((bit16 *)(((bit8 *)DMA_ADDR)+(OFFSET)))) = (bit16)(VALUE16); 46 #define OSSA_WRITE_LE_32(AGROOT, DMA_ADDR, OFFSET, VALUE32) \ argument 47 (*((bit32 *)(((bit8 *)DMA_ADDR)+(OFFSET)))) = (bit32)(VALUE32); 49 #define OSSA_READ_LE_16(AGROOT, ADDR16, DMA_ADDR, OFFSET) \ argument 50 (*((bit16 *)ADDR16)) = (*((bit16 *)(((bit8 *)DMA_ADDR)+(OFFSET)))) 52 #define OSSA_READ_LE_32(AGROOT, ADDR32, DMA_ADDR, OFFSET) \ argument 53 (*((bit32 *)ADDR32)) = (*((bit32 *)(((bit8 *)DMA_ADDR)+(OFFSET)))) 55 #define OSSA_WRITE_BE_16(AGROOT, DMA_ADDR, OFFSET, VALUE16) \ argument 56 (*((bit8 *)(((bit8 *)DMA_ADDR)+(OFFSET)))) = (bit8)((((bit16)VALUE16)>>8)&0xFF); \ [all …]
|
| /freebsd/release/powerpc/ |
| H A D | mkisoimages.sh | 77 OFFSET=$(hd $BOOTBLOCK | grep 'Loader START' | cut -f 1 -d ' ') 78 OFFSET=$((0x${OFFSET} / 512)) 79 dd if="$BASEBITSDIR/boot/loader" of=$BOOTBLOCK seek=$OFFSET conv=notrunc
|
| /freebsd/crypto/krb5/src/plugins/kdb/db2/libdb2/hash/ |
| H A D | page.h.patch | 9 ((OFFSET((P)) - PAGE_OVERHEAD - (NUM_ENT((P)) * PAIR_OVERHEAD))) 23 ((OFFSET((P)) + 1 - PAGE_OVERHEAD - (NUM_ENT((P)) * PAIR_OVERHEAD))) 30 ! ((OFFSET((P)) - PAGE_OVERHEAD - (NUM_ENT((P)) * PAIR_OVERHEAD))) 39 ! ((OFFSET((P)) + 1 - PAGE_OVERHEAD - (NUM_ENT((P)) * PAIR_OVERHEAD)))
|
| H A D | page.h | 100 #define OFFSET(P) (REFERENCE((P), indx_t, I_HF_OFFSET)) macro 168 ((OFFSET((P)) + 1 - PAGE_OVERHEAD - (NUM_ENT((P)) * PAIR_OVERHEAD)))
|
| H A D | hash_page.c | 222 off = OFFSET(pagep) - key->size + 1; in putpair() 232 OFFSET(pagep) = off - 1; in putpair() 316 src = (u_int8_t *)pagep + OFFSET(pagep) + 1; in __delpair() 321 len = DATA_OFF(pagep, ndx) - (OFFSET(pagep) + 1); in __delpair() 347 OFFSET(pagep) = OFFSET(pagep) + delta; in __delpair() 737 OFFSET(pagep) = hashp->hdr.bsize - 1; 928 M_16_SWAP(OFFSET(pagep)); in swap_page_header_in() 951 M_16_SWAP(OFFSET(pagep)); in swap_page_header_out()
|
| /freebsd/lib/libc/db/hash/ |
| H A D | hash_bigkey.c | 102 off = OFFSET(p) - move_bytes; in __big_insert() 110 OFFSET(p) = off; in __big_insert() 129 off = OFFSET(p) - move_bytes; in __big_insert() 136 OFFSET(p) = off; in __big_insert() 157 off = OFFSET(p) - move_bytes; in __big_insert() 165 OFFSET(p) = off; in __big_insert() 250 OFFSET(bp) = hashp->BSIZE; in __big_delete() 596 off = OFFSET(tp); in __big_split() 601 OFFSET(tp) = off; in __big_split() 626 off = OFFSET(tp); in __big_split() [all …]
|
| H A D | hash_page.c | 101 off = OFFSET(bp) - key->size; in putpair() 141 char *src = bufp->page + (int)OFFSET(bp); in __delpair() 143 memmove(dst, src, bp[ndx + 1] - OFFSET(bp)); in __delpair() 165 bp[n] = OFFSET(bp) + pairlen; in __delpair() 244 OFFSET(ino) = copyto; in __split_page() 327 OFFSET(ino) = scopyto; in ugly_split() 497 sp[ndx + 4] = OFFSET(sp); in __add_ovflpage() 885 off = OFFSET(sp); in squeeze_key() 898 OFFSET(sp) = off; in squeeze_key()
|
| H A D | page.h | 77 #define OFFSET(P) ((P)[(P)[0]+2]) macro
|
| /freebsd/usr.bin/locate/locate/ |
| H A D | fastfind.c | 60 count += getwf(fp) - OFFSET; in statistic() 64 count += c - OFFSET; in statistic() 215 count += getwm(paddr) - OFFSET; 219 count += getwf(fp) - OFFSET; 222 count += c - OFFSET;
|
| H A D | util.c | 222 int i_max = LOCATE_PATH_MAX + OFFSET; in getwm() 223 int i_min = -(LOCATE_PATH_MAX - OFFSET); in getwm() 252 int i_max = LOCATE_PATH_MAX + OFFSET; in getwf() 253 int i_min = -(LOCATE_PATH_MAX - OFFSET); in getwf()
|
| H A D | locate.h | 36 #define OFFSET 14 /* abs value of max likely diff */ macro
|
| /freebsd/contrib/ntp/scripts/deprecated/ |
| H A D | ntp-status | 32 OFFSET=`$EGREP '^offset' $FILE | $AWK '{print $2}'` 37 echo "$HOSTNAME: stratum:$STRATUM delay:$DELAY offset:$OFFSET $TIMESTAMP"
|
| /freebsd/sys/cddl/dev/dtrace/powerpc/ |
| H A D | dtrace_isa.c | 56 #define OFFSET 4 /* Account for the TOC reload slot */ 59 #define OFFSET 0 89 if (callpc + OFFSET == (vm_offset_t) &trapexit || in dtrace_sp_inkernel() 90 callpc + OFFSET == (vm_offset_t) &asttrapexit) { in dtrace_sp_inkernel() 118 if ((callpc + OFFSET == (vm_offset_t) &trapexit || in dtrace_next_sp_pc() 119 callpc + OFFSET == (vm_offset_t) &asttrapexit)) { in dtrace_next_sp_pc() 54 #define OFFSET global() macro 57 #define OFFSET global() macro
|
| /freebsd/contrib/ntp/ntpd/ |
| H A D | refclock_irig.c | 157 #define OFFSET 128 /* companded sample offset */ macro 363 up->comp[0] = up->comp[OFFSET] = 0.; in irig_start() 364 up->comp[1] = 1; up->comp[OFFSET + 1] = -1.; in irig_start() 365 up->comp[2] = 3; up->comp[OFFSET + 2] = -3.; in irig_start() 367 for (i = 3; i < OFFSET; i++) { in irig_start() 369 up->comp[OFFSET + i] = -up->comp[i]; in irig_start()
|
| H A D | refclock_chu.c | 227 #define OFFSET 128 /* companded sample offset */ macro 545 up->comp[0] = up->comp[OFFSET] = 0.; in chu_start() 546 up->comp[1] = 1; up->comp[OFFSET + 1] = -1.; in chu_start() 547 up->comp[2] = 3; up->comp[OFFSET + 2] = -3.; in chu_start() 549 for (i = 3; i < OFFSET; i++) { in chu_start() 551 up->comp[OFFSET + i] = -up->comp[i]; in chu_start()
|
| /freebsd/usr.bin/locate/code/ |
| H A D | locate.code.c | 164 diffcount = count - oldcount + OFFSET; in main() 166 if (diffcount < 0 || diffcount > 2 * OFFSET) { in main()
|
| /freebsd/sys/dev/hwpmc/ |
| H A D | hwpmc_powerpc.c | 48 #define OFFSET 4 /* Account for the TOC reload slot */ macro 50 #define OFFSET 0 macro 94 if (pc + OFFSET == (uintptr_t) &trapexit || in pmc_save_kernel_callchain() 95 pc + OFFSET == (uintptr_t) &asttrapexit) in pmc_save_kernel_callchain()
|
| /freebsd/contrib/wpa/wpa_supplicant/ |
| H A D | config.c | 2426 #ifdef OFFSET 2427 #undef OFFSET 2430 #define OFFSET(v) ((void *) &((struct wpa_ssid *) 0)->v) macro 2434 #define _STR(f) #f, wpa_config_parse_str, OFFSET(f) 2435 #define _STRe(f, m) #f, wpa_config_parse_str, OFFSET(eap.m) 2437 #define _STR(f) #f, wpa_config_parse_str, wpa_config_write_str, OFFSET(f) 2439 OFFSET(eap.m) 2449 #define _STR_LEN(f) _STR(f), OFFSET(f ## _len) 2450 #define _STR_LENe(f, m) _STRe(f, m), OFFSET(eap.m ## _len) 2462 #define _INT(f) #f, wpa_config_parse_int, OFFSET(f), (void *) 0 [all …]
|