/openbmc/qemu/target/s390x/tcg/ |
H A D | vec_int_helper.c | 100 #define DEF_VAVG(BITS) \ argument 101 void HELPER(gvec_vavg##BITS)(void *v1, const void *v2, const void *v3, \ 106 for (i = 0; i < (128 / BITS); i++) { \ 107 const int32_t a = (int##BITS##_t)s390_vec_read_element##BITS(v2, i); \ 108 const int32_t b = (int##BITS##_t)s390_vec_read_element##BITS(v3, i); \ 110 s390_vec_write_element##BITS(v1, i, (a + b + 1) >> 1); \ 116 #define DEF_VAVGL(BITS) \ argument 117 void HELPER(gvec_vavgl##BITS)(void *v1, const void *v2, const void *v3, \ 122 for (i = 0; i < (128 / BITS); i++) { \ 123 const uint##BITS##_t a = s390_vec_read_element##BITS(v2, i); \ [all …]
|
H A D | vec_helper.c | 68 #define DEF_VPK_HFN(BITS, TBITS) \ argument 69 typedef uint##TBITS##_t (*vpk##BITS##_fn)(uint##BITS##_t, int *); \ 70 static int vpk##BITS##_hfn(S390Vector *v1, const S390Vector *v2, \ 71 const S390Vector *v3, vpk##BITS##_fn fn) \ 77 uint##BITS##_t src; \ 79 if (i < (128 / BITS)) { \ 80 src = s390_vec_read_element##BITS(v2, i); \ 82 src = s390_vec_read_element##BITS(v3, i - (128 / BITS)); \ 93 #define DEF_VPK(BITS, TBITS) \ argument 94 static uint##TBITS##_t vpk##BITS##e(uint##BITS##_t src, int *saturated) \ [all …]
|
H A D | vec_string_helper.c | 136 #define DEF_VFAE_HELPER(BITS) \ argument 137 void HELPER(gvec_vfae##BITS)(void *v1, const void *v2, const void *v3, \ 144 vfae(v1, v2, v3, in, rt, zs, MO_##BITS); \ 150 #define DEF_VFAE_CC_HELPER(BITS) \ argument 151 void HELPER(gvec_vfae_cc##BITS)(void *v1, const void *v2, const void *v3, \ 158 env->cc_op = vfae(v1, v2, v3, in, rt, zs, MO_##BITS); \ 197 #define DEF_VFEE_HELPER(BITS) \ argument 198 void HELPER(gvec_vfee##BITS)(void *v1, const void *v2, const void *v3, \ 203 vfee(v1, v2, v3, zs, MO_##BITS); \ 209 #define DEF_VFEE_CC_HELPER(BITS) \ argument [all …]
|
H A D | vec_fpu_helper.c | 226 #define DEF_GVEC_VOP2_FN(NAME, FN, BITS) \ argument 227 void HELPER(gvec_##NAME##BITS)(void *v1, const void *v2, CPUS390XState *env, \ 234 vop##BITS##_2(v1, v2, env, se, XxC, erm, FN, GETPC()); \ 321 #define DEF_GVEC_VOP3_B(NAME, OP, BITS) \ argument 322 void HELPER(gvec_##NAME##BITS)(void *v1, const void *v2, const void *v3, \ 327 vop##BITS##_3(v1, v2, v3, env, se, float##BITS##_##OP, GETPC()); \ 400 #define DEF_GVEC_WFC_B(NAME, SIGNAL, BITS) \ argument 401 void HELPER(gvec_##NAME##BITS)(const void *v1, const void *v2, \ 404 env->cc_op = wfc##BITS(v1, v2, env, SIGNAL, GETPC()); \ 501 #define DEF_GVEC_VFC_B(NAME, OP, BITS) \ argument [all …]
|
/openbmc/linux/arch/arc/include/asm/ |
H A D | disasm.h | 32 #define BITS(word, s, e) (((word) >> (s)) & (~((-2) << ((e) - (s))))) macro 34 #define MAJOR_OPCODE(word) (BITS((word), 27, 31)) 35 #define MINOR_OPCODE(word) (BITS((word), 16, 21)) 36 #define FIELD_A(word) (BITS((word), 0, 5)) 37 #define FIELD_B(word) ((BITS((word), 12, 14)<<3) | \ 38 (BITS((word), 24, 26))) 39 #define FIELD_C(word) (BITS((word), 6, 11)) 41 #define FIELD_s12(word) sign_extend(((BITS((word), 0, 5) << 6) | \ 42 BITS((word), 6, 11)), 12) 46 #define FIELD_s9(word) sign_extend(((BITS(word, 15, 15) << 8) | \ [all …]
|
/openbmc/linux/drivers/mfd/ |
H A D | db8500-prcmu-regs.h | 15 #define BITS(_start, _end) ((BIT(_end) - BIT(_start)) + BIT(_end)) macro 120 #define PRCM_PLL_FREQ_D_MASK BITS(0, 7) 122 #define PRCM_PLL_FREQ_N_MASK BITS(8, 13) 124 #define PRCM_PLL_FREQ_R_MASK BITS(16, 18) 143 #define PRCM_DSI_PLLOUT_SEL_DSI0_PLLOUT_DIVSEL_MASK BITS(0, 2) 145 #define PRCM_DSI_PLLOUT_SEL_DSI1_PLLOUT_DIVSEL_MASK BITS(8, 10) 153 #define PRCM_DSITVCLK_DIV_DSI0_ESC_CLK_DIV_MASK BITS(0, 7) 155 #define PRCM_DSITVCLK_DIV_DSI1_ESC_CLK_DIV_MASK BITS(8, 15) 157 #define PRCM_DSITVCLK_DIV_DSI2_ESC_CLK_DIV_MASK BITS(16, 23) 166 #define PRCM_CLKOCR_CLKOUT0_MASK BITS(0, 13) [all …]
|
/openbmc/linux/arch/sparc/kernel/ |
H A D | Makefile | 12 CPPFLAGS_vmlinux.lds := -Usparc -m$(BITS) 18 CFLAGS_REMOVE_time_$(BITS).o := -pg 23 obj-y := head_$(BITS).o 28 obj-y += traps_$(BITS).o 31 obj-y += irq_$(BITS).o 34 obj-y += process_$(BITS).o 36 obj-y += signal_$(BITS).o 37 obj-y += sigutil_$(BITS).o 39 obj-y += setup_$(BITS).o 41 obj-y += sys_sparc_$(BITS).o [all …]
|
/openbmc/linux/arch/x86/um/ |
H A D | Makefile | 7 BITS := 32 macro 9 BITS := 64 macro 12 obj-y = bugs_$(BITS).o delay.o fault.o ldt.o \ 13 ptrace_$(BITS).o ptrace_user.o setjmp_$(BITS).o signal.o \ 14 stub_$(BITS).o stub_segv.o \ 15 sys_call_table_$(BITS).o sysrq_$(BITS).o tls_$(BITS).o \ 16 mem_$(BITS).o subarch.o os-Linux/ 40 USER_OBJS := bugs_$(BITS).o ptrace_user.o fault.o
|
/openbmc/linux/arch/powerpc/kexec/ |
H A D | Makefile | 6 obj-y += core.o crash.o core_$(BITS).o 10 obj-$(CONFIG_KEXEC_FILE) += file_load.o ranges.o file_load_$(BITS).o elf_$(BITS).o 13 GCOV_PROFILE_core_$(BITS).o := n 14 KCOV_INSTRUMENT_core_$(BITS).o := n 15 UBSAN_SANITIZE_core_$(BITS).o := n 17 KASAN_SANITIZE_core_$(BITS) := n
|
/openbmc/linux/arch/x86/kernel/ |
H A D | Makefile | 23 KASAN_SANITIZE_head$(BITS).o := n 25 KASAN_SANITIZE_dumpstack_$(BITS).o := n 33 KMSAN_SANITIZE_head$(BITS).o := n 38 KCOV_INSTRUMENT_head$(BITS).o := n 43 obj-y += head_$(BITS).o 44 obj-y += head$(BITS).o 47 obj-y += process_$(BITS).o signal.o signal_$(BITS).o 48 obj-y += traps.o idt.o irq.o irq_$(BITS).o dumpstack_$(BITS).o 94 obj-$(CONFIG_FUNCTION_TRACER) += ftrace_$(BITS).o 100 obj-$(CONFIG_CRASH_CORE) += crash_core_$(BITS).o [all …]
|
/openbmc/linux/arch/arc/kernel/ |
H A D | disasm.c | 103 state->di = BITS(state->words[0], 11, 11); in disasm_instr() 106 state->x = BITS(state->words[0], 6, 6); in disasm_instr() 107 state->zz = BITS(state->words[0], 7, 8); in disasm_instr() 108 state->aa = BITS(state->words[0], 9, 10); in disasm_instr() 124 state->di = BITS(state->words[0], 5, 5); in disasm_instr() 127 state->aa = BITS(state->words[0], 3, 4); in disasm_instr() 128 state->zz = BITS(state->words[0], 1, 2); in disasm_instr() 163 op_format = BITS(state->words[0], 22, 23); in disasm_instr() 195 if (BITS(state->words[0], 22, 23) == 3) { in disasm_instr() 210 state->di = BITS(state->words[0], 15, 15); in disasm_instr() [all …]
|
/openbmc/linux/arch/sparc/prom/ |
H A D | Makefile | 8 lib-y := bootstr_$(BITS).o 9 lib-y += init_$(BITS).o 11 lib-y += misc_$(BITS).o 14 lib-y += console_$(BITS).o 16 lib-y += tree_$(BITS).o
|
/openbmc/linux/drivers/scsi/ |
H A D | scsi_logging.h | 44 #define SCSI_LOG_LEVEL(SHIFT, BITS) \ argument 45 ((scsi_logging_level >> (SHIFT)) & ((1 << (BITS)) - 1)) 47 #define SCSI_CHECK_LOGGING(SHIFT, BITS, LEVEL, CMD) \ argument 49 if (unlikely((SCSI_LOG_LEVEL(SHIFT, BITS)) > (LEVEL))) \ 55 #define SCSI_LOG_LEVEL(SHIFT, BITS) 0 argument 56 #define SCSI_CHECK_LOGGING(SHIFT, BITS, LEVEL, CMD) do { } while (0) argument
|
H A D | aha152x.h | 291 #define SETBITS(PORT, BITS) outb( (inb(PORT) | (BITS)), (PORT) ) argument 292 #define CLRBITS(PORT, BITS) outb( (inb(PORT) & ~(BITS)), (PORT) ) argument 293 #define TESTHI(PORT, BITS) ((inb(PORT) & (BITS)) == (BITS)) argument 294 #define TESTLO(PORT, BITS) ((inb(PORT) & (BITS)) == 0) argument
|
/openbmc/linux/lib/zlib_inflate/ |
H A D | inflate.c | 232 #define BITS(n) \ macro 372 ((BITS(8) << 8) + (hold >> 8)) % 31) { in zlib_inflate() 377 if (BITS(4) != Z_DEFLATED) { in zlib_inflate() 383 len = BITS(4) + 8; in zlib_inflate() 419 state->last = BITS(1); in zlib_inflate() 421 switch (BITS(2)) { in zlib_inflate() 468 state->nlen = BITS(5) + 257; in zlib_inflate() 470 state->ndist = BITS(5) + 1; in zlib_inflate() 472 state->ncode = BITS(4) + 4; in zlib_inflate() 487 state->lens[order[state->have++]] = (unsigned short)BITS(3); in zlib_inflate() [all …]
|
/openbmc/openbmc/poky/scripts/ |
H A D | oe-git-proxy | 84 BITS=${CIDR##*/} 85 [ "$BITS" != "$CIDR" ] || BITS=32 86 if [ -z "$BITS" ]; then 94 for i in $(seq 0 $((32-$BITS))); do
|
/openbmc/qemu/tests/functional/acpi-bits/bits-config/ |
H A D | bits-cfg.txt | 1 # BITS configuration file 4 # To run BITS in batch mode, set batch to a list of one or more of the 5 # following keywords; BITS will then run all of the requested operations, then 8 # test: Run the full BITS testsuite.
|
/openbmc/linux/arch/x86/platform/efi/ |
H A D | Makefile | 5 obj-$(CONFIG_EFI) += memmap.o quirks.o efi.o efi_$(BITS).o \ 6 efi_stub_$(BITS).o 7 obj-$(CONFIG_EFI_MIXED) += efi_thunk_$(BITS).o
|
/openbmc/linux/arch/x86/entry/ |
H A D | Makefile | 14 obj-y := entry.o entry_$(BITS).o syscall_$(BITS).o 20 obj-$(CONFIG_PREEMPTION) += thunk_$(BITS).o
|
/openbmc/u-boot/lib/zlib/ |
H A D | inflate.c | 225 #define BITS(n) \ macro 382 ((BITS(8) << 8) + (hold >> 8)) % 31) { in inflate() 387 if (BITS(4) != Z_DEFLATED) { in inflate() 393 len = BITS(4) + 8; in inflate() 555 state->last = BITS(1); in inflate() 557 switch (BITS(2)) { in inflate() 612 state->nlen = BITS(5) + 257; in inflate() 614 state->ndist = BITS(5) + 1; in inflate() 616 state->ncode = BITS(4) + 4; in inflate() 631 state->lens[order[state->have++]] = (unsigned short)BITS(3); in inflate() [all …]
|
/openbmc/linux/arch/powerpc/mm/ |
H A D | Makefile | 9 init_$(BITS).o pgtable_$(BITS).o \ 10 pgtable-frag.o ioremap.o ioremap_$(BITS).o \
|
/openbmc/linux/arch/x86/mm/ |
H A D | Makefile | 27 obj-y := init.o init_$(BITS).o fault.o ioremap.o extable.o mmap.o \ 46 KASAN_SANITIZE_kasan_init_$(BITS).o := n 47 obj-$(CONFIG_KASAN) += kasan_init_$(BITS).o 56 obj-$(CONFIG_NUMA) += numa.o numa_$(BITS).o
|
/openbmc/linux/arch/sparc/net/ |
H A D | Makefile | 5 obj-$(CONFIG_BPF_JIT) += bpf_jit_comp_$(BITS).o 6 ifeq ($(BITS),32)
|
/openbmc/linux/arch/x86/power/ |
H A D | Makefile | 12 obj-$(CONFIG_HIBERNATION) += hibernate_$(BITS).o hibernate_asm_$(BITS).o hibernate.o
|
/openbmc/linux/arch/powerpc/ |
H A D | Makefile | 32 export BITS 35 BITS := 64 macro 37 BITS := 32 macro 87 KBUILD_CFLAGS += -m$(BITS) 88 KBUILD_AFLAGS += -m$(BITS) 89 KBUILD_LDFLAGS += -m elf$(BITS)$(LDEMULATION) 163 CHECKFLAGS += -m$(BITS) -D__powerpc__ -D__powerpc$(BITS)__
|