Home
last modified time | relevance | path

Searched refs:BITS (Results 1 – 25 of 67) sorted by relevance

123

/linux-6.12.1/arch/arc/include/asm/
Ddisasm.h32 #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 …]
/linux-6.12.1/drivers/mfd/
Ddb8500-prcmu-regs.h15 #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 …]
/linux-6.12.1/arch/sparc/kernel/
DMakefile11 CPPFLAGS_vmlinux.lds := -Usparc -m$(BITS)
17 CFLAGS_REMOVE_time_$(BITS).o := -pg
22 obj-y := head_$(BITS).o
27 obj-y += traps_$(BITS).o
30 obj-y += irq_$(BITS).o
33 obj-y += process_$(BITS).o
35 obj-y += signal_$(BITS).o
36 obj-y += sigutil_$(BITS).o
38 obj-y += setup_$(BITS).o
40 obj-y += sys_sparc_$(BITS).o
[all …]
/linux-6.12.1/arch/x86/um/
DMakefile7 BITS := 32 macro
9 BITS := 64 macro
12 obj-y = bugs_$(BITS).o delay.o fault.o \
13 ptrace_$(BITS).o ptrace_user.o setjmp_$(BITS).o signal.o \
15 sys_call_table_$(BITS).o sysrq_$(BITS).o tls_$(BITS).o \
16 mem_$(BITS).o subarch.o os-Linux/
39 USER_OBJS := bugs_$(BITS).o ptrace_user.o fault.o
/linux-6.12.1/arch/powerpc/kexec/
DMakefile6 obj-y += core.o core_$(BITS).o ranges.o
10 obj-$(CONFIG_KEXEC_FILE) += file_load.o file_load_$(BITS).o elf_$(BITS).o
15 GCOV_PROFILE_core_$(BITS).o := n
16 KCOV_INSTRUMENT_core_$(BITS).o := n
17 UBSAN_SANITIZE_core_$(BITS).o := n
19 KASAN_SANITIZE_core_$(BITS) := n
/linux-6.12.1/arch/x86/kernel/
DMakefile23 KASAN_SANITIZE_head$(BITS).o := n
25 KASAN_SANITIZE_dumpstack_$(BITS).o := n
32 KMSAN_SANITIZE_head$(BITS).o := n
37 KCOV_INSTRUMENT_head$(BITS).o := n
42 KCOV_INSTRUMENT_dumpstack_$(BITS).o := n
49 obj-y += head_$(BITS).o
50 obj-y += head$(BITS).o
53 obj-y += process_$(BITS).o signal.o signal_$(BITS).o
54 obj-y += traps.o idt.o irq.o irq_$(BITS).o dumpstack_$(BITS).o
101 obj-$(CONFIG_FUNCTION_TRACER) += ftrace_$(BITS).o
[all …]
/linux-6.12.1/arch/arc/kernel/
Ddisasm.c103 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 …]
/linux-6.12.1/arch/sparc/prom/
DMakefile7 lib-y := bootstr_$(BITS).o
8 lib-y += init_$(BITS).o
10 lib-y += misc_$(BITS).o
13 lib-y += console_$(BITS).o
15 lib-y += tree_$(BITS).o
/linux-6.12.1/drivers/scsi/
Dscsi_logging.h44 #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
Daha152x.h291 #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
/linux-6.12.1/lib/zlib_inflate/
Dinflate.c232 #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 …]
/linux-6.12.1/arch/x86/platform/efi/
DMakefile5 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
/linux-6.12.1/arch/powerpc/mm/
DMakefile7 init_$(BITS).o pgtable_$(BITS).o \
8 pgtable-frag.o ioremap.o ioremap_$(BITS).o \
/linux-6.12.1/arch/x86/mm/
DMakefile28 obj-y := init.o init_$(BITS).o fault.o ioremap.o extable.o mmap.o \
47 KASAN_SANITIZE_kasan_init_$(BITS).o := n
48 obj-$(CONFIG_KASAN) += kasan_init_$(BITS).o
57 obj-$(CONFIG_NUMA) += numa.o numa_$(BITS).o
/linux-6.12.1/arch/sparc/net/
DMakefile5 obj-$(CONFIG_BPF_JIT) += bpf_jit_comp_$(BITS).o
6 ifeq ($(BITS),32)
/linux-6.12.1/arch/x86/power/
DMakefile12 obj-$(CONFIG_HIBERNATION) += hibernate_$(BITS).o hibernate_asm_$(BITS).o hibernate.o
/linux-6.12.1/arch/powerpc/
DMakefile43 export BITS
46 BITS := 64 macro
48 BITS := 32 macro
98 KBUILD_CFLAGS += -m$(BITS)
99 KBUILD_AFLAGS += -m$(BITS)
100 KBUILD_LDFLAGS += -m elf$(BITS)$(LDEMULATION)
180 CHECKFLAGS += -m$(BITS) -D__powerpc__ -D__powerpc$(BITS)__
/linux-6.12.1/arch/powerpc/purgatory/
DMakefile3 targets += trampoline_$(BITS).o purgatory.ro
12 $(obj)/purgatory.ro: $(obj)/trampoline_$(BITS).o FORCE
/linux-6.12.1/sound/core/oss/
Drate.c28 #define BITS (1<<SHIFT) macro
29 #define R_MASK (BITS-1)
107 val = S1 + ((S2 - S1) * (signed int)pos) / BITS; in resample_expand()
165 val = S1 + ((S2 - S1) * (signed int)pos) / BITS; in resample_shrink()
194 res = (((frames * data->pitch) + (BITS/2)) >> SHIFT); in rate_src_frames()
229 res = (((frames * data->pitch) + (BITS/2)) >> SHIFT); in rate_dst_frames()
/linux-6.12.1/arch/arm64/crypto/
Dsha512-armv8.pl79 $BITS=512;
88 $BITS=256;
98 $func="sha${BITS}_block_data_order";
240 adr $Ktbl,.LK$BITS
290 .type .LK$BITS,%object
291 .LK$BITS:
356 .size .LK$BITS,.-.LK$BITS
366 .asciz "SHA$BITS block transform for ARMv8, CRYPTOGAMS by <appro\@openssl.org>"
/linux-6.12.1/arch/sparc/mm/
DMakefile8 obj-y += fault_$(BITS).o
9 obj-y += init_$(BITS).o
/linux-6.12.1/arch/powerpc/lib/
DMakefile33 obj-y += string.o memcmp_$(BITS).o
65 obj-y += checksum_$(BITS).o checksum_wrappers.o \
66 string_$(BITS).o
/linux-6.12.1/arch/x86/entry/
DMakefile14 obj-y := entry.o entry_$(BITS).o syscall_$(BITS).o
/linux-6.12.1/arch/sparc/lib/
DMakefile10 lib-y += checksum_$(BITS).o
12 lib-y += memscan_$(BITS).o memcmp.o strncmp_$(BITS).o
/linux-6.12.1/arch/powerpc/kernel/
DMakefile68 irq.o align.o signal_$(BITS).o pmc.o vdso.o \
72 udbg.o misc.o io.o misc_$(BITS).o \
115 obj-$(CONFIG_HIBERNATION) += swsusp_$(BITS).o
118 obj-$(CONFIG_MODULES) += module.o module_$(BITS).o
131 obj-$(CONFIG_RELOCATABLE) += reloc_$(BITS).o
148 obj-$(CONFIG_PCI) += pci_$(BITS).o $(pci64-y) \

123