/kernel/linux/linux-5.10/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(wor [all...] |
/kernel/linux/linux-6.6/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(wor [all...] |
/kernel/linux/linux-5.10/arch/sparc/kernel/ |
H A D | Makefile | 10 extra-y := head_$(BITS).o 13 # And teach CPP we are doing $(BITS) builds (for this case) 14 CPPFLAGS_vmlinux.lds := -Usparc -m$(BITS) 20 CFLAGS_REMOVE_time_$(BITS).o := -pg 29 obj-y += traps_$(BITS).o 32 obj-y += irq_$(BITS).o 35 obj-y += process_$(BITS).o 37 obj-y += signal_$(BITS).o 38 obj-y += sigutil_$(BITS).o 40 obj-y += setup_$(BITS) [all...] |
/kernel/linux/linux-6.6/arch/sparc/kernel/ |
H A D | Makefile | 11 # And teach CPP we are doing $(BITS) builds (for this case) 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) [all...] |
/kernel/linux/linux-5.10/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) [all...] |
/kernel/linux/linux-5.10/drivers/mfd/ |
H A D | dbx500-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( [all...] |
/kernel/linux/linux-6.6/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( [all...] |
/kernel/linux/linux-6.6/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
|
/kernel/linux/linux-6.6/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) [all...] |
/kernel/linux/linux-5.10/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 20 GCOV_PROFILE_core_$(BITS).o := n 21 KCOV_INSTRUMENT_core_$(BITS).o := n 22 UBSAN_SANITIZE_core_$(BITS).o := n
|
/kernel/linux/linux-5.10/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(stat in disasm_instr() [all...] |
/kernel/linux/linux-6.6/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(stat in disasm_instr() [all...] |
/kernel/linux/linux-6.6/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) [all...] |
/kernel/linux/linux-5.10/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
|
/kernel/linux/linux-6.6/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
|
/kernel/linux/linux-5.10/arch/x86/kernel/ |
H A D | Makefile | 6 extra-y := head_$(BITS).o 7 extra-y += head$(BITS).o 27 KASAN_SANITIZE_head$(BITS).o := n 29 KASAN_SANITIZE_dumpstack_$(BITS).o := n 43 OBJECT_FILES_NON_STANDARD_ftrace_$(BITS).o := y 52 CFLAGS_head$(BITS).o += -fno-stack-protector 57 obj-y := process_$(BITS).o signal.o 59 obj-y += traps.o idt.o irq.o irq_$(BITS).o dumpstack_$(BITS).o 105 obj-$(CONFIG_FUNCTION_TRACER) += ftrace_$(BITS) [all...] |
/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | scsi_logging.h | 44 #define SCSI_LOG_LEVEL(SHIFT, BITS) \ 45 ((scsi_logging_level >> (SHIFT)) & ((1 << (BITS)) - 1)) 47 #define SCSI_CHECK_LOGGING(SHIFT, BITS, LEVEL, CMD) \ 49 if (unlikely((SCSI_LOG_LEVEL(SHIFT, BITS)) > (LEVEL))) \ 55 #define SCSI_LOG_LEVEL(SHIFT, BITS) 0 56 #define SCSI_CHECK_LOGGING(SHIFT, BITS, LEVEL, CMD) do { } while (0)
|
H A D | aha152x.h | 291 #define SETBITS(PORT, BITS) outb( (inb(PORT) | (BITS)), (PORT) ) 292 #define CLRBITS(PORT, BITS) outb( (inb(PORT) & ~(BITS)), (PORT) ) 293 #define TESTHI(PORT, BITS) ((inb(PORT) & (BITS)) == (BITS)) 294 #define TESTLO(PORT, BITS) ((inb(PORT) & (BITS)) == 0)
|
/kernel/linux/linux-6.6/drivers/scsi/ |
H A D | scsi_logging.h | 44 #define SCSI_LOG_LEVEL(SHIFT, BITS) \ 45 ((scsi_logging_level >> (SHIFT)) & ((1 << (BITS)) - 1)) 47 #define SCSI_CHECK_LOGGING(SHIFT, BITS, LEVEL, CMD) \ 49 if (unlikely((SCSI_LOG_LEVEL(SHIFT, BITS)) > (LEVEL))) \ 55 #define SCSI_LOG_LEVEL(SHIFT, BITS) 0 56 #define SCSI_CHECK_LOGGING(SHIFT, BITS, LEVEL, CMD) do { } while (0)
|
H A D | aha152x.h | 291 #define SETBITS(PORT, BITS) outb( (inb(PORT) | (BITS)), (PORT) ) 292 #define CLRBITS(PORT, BITS) outb( (inb(PORT) & ~(BITS)), (PORT) ) 293 #define TESTHI(PORT, BITS) ((inb(PORT) & (BITS)) == (BITS)) 294 #define TESTLO(PORT, BITS) ((inb(PORT) & (BITS)) == 0)
|
/kernel/linux/linux-5.10/arch/x86/platform/efi/ |
H A D | Makefile | 2 OBJECT_FILES_NON_STANDARD_efi_thunk_$(BITS).o := y 6 obj-$(CONFIG_EFI) += quirks.o efi.o efi_$(BITS).o efi_stub_$(BITS).o 7 obj-$(CONFIG_EFI_MIXED) += efi_thunk_$(BITS).o
|
/kernel/linux/linux-5.10/lib/zlib_inflate/ |
H A D | inflate.c | 232 #define BITS(n) \ macro 269 the requested bits are not available. The typical use of the BITS macros 273 ... do something with BITS(n) ... 277 input left to load n bits into the accumulator, or it continues. BITS(n) 282 and a NEEDBITS(8), then BITS(8) would return the next byte in the stream. 298 keep[want++] = BITS(n); 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( in zlib_inflate() [all...] |
/kernel/linux/linux-6.6/lib/zlib_inflate/ |
H A D | inflate.c | 232 #define BITS(n) \ macro 269 the requested bits are not available. The typical use of the BITS macros 273 ... do something with BITS(n) ... 277 input left to load n bits into the accumulator, or it continues. BITS(n) 282 and a NEEDBITS(8), then BITS(8) would return the next byte in the stream. 298 keep[want++] = BITS(n); 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( in zlib_inflate() [all...] |
/kernel/linux/linux-5.10/arch/x86/power/ |
H A D | Makefile | 2 OBJECT_FILES_NON_STANDARD_hibernate_asm_$(BITS).o := y 9 obj-$(CONFIG_HIBERNATION) += hibernate_$(BITS).o hibernate_asm_$(BITS).o hibernate.o
|
/kernel/linux/linux-6.6/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
|