Home
last modified time | relevance | path

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

123

/linux-6.6.21/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.6.21/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.6.21/arch/sparc/kernel/
DMakefile12 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 …]
/linux-6.6.21/arch/x86/um/
DMakefile7 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
/linux-6.6.21/arch/powerpc/kexec/
DMakefile6 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
/linux-6.6.21/arch/x86/kernel/
DMakefile23 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 …]
/linux-6.6.21/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.6.21/arch/sparc/prom/
DMakefile8 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
/linux-6.6.21/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.6.21/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.6.21/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.6.21/arch/x86/entry/
DMakefile14 obj-y := entry.o entry_$(BITS).o syscall_$(BITS).o
20 obj-$(CONFIG_PREEMPTION) += thunk_$(BITS).o
/linux-6.6.21/arch/powerpc/mm/
DMakefile9 init_$(BITS).o pgtable_$(BITS).o \
10 pgtable-frag.o ioremap.o ioremap_$(BITS).o \
/linux-6.6.21/arch/x86/mm/
DMakefile27 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
/linux-6.6.21/arch/sparc/net/
DMakefile5 obj-$(CONFIG_BPF_JIT) += bpf_jit_comp_$(BITS).o
6 ifeq ($(BITS),32)
/linux-6.6.21/arch/x86/power/
DMakefile12 obj-$(CONFIG_HIBERNATION) += hibernate_$(BITS).o hibernate_asm_$(BITS).o hibernate.o
/linux-6.6.21/arch/powerpc/purgatory/
DMakefile6 targets += trampoline_$(BITS).o purgatory.ro
15 $(obj)/purgatory.ro: $(obj)/trampoline_$(BITS).o FORCE
/linux-6.6.21/arch/powerpc/
DMakefile32 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)
170 CHECKFLAGS += -m$(BITS) -D__powerpc__ -D__powerpc$(BITS)__
/linux-6.6.21/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.6.21/arch/sparc/mm/
DMakefile9 obj-y += fault_$(BITS).o
10 obj-y += init_$(BITS).o
/linux-6.6.21/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.6.21/arch/powerpc/lib/
DMakefile35 obj-y += string.o memcmp_$(BITS).o
67 obj-y += checksum_$(BITS).o checksum_wrappers.o \
68 string_$(BITS).o
/linux-6.6.21/arch/sparc/lib/
DMakefile11 lib-y += checksum_$(BITS).o
13 lib-y += memscan_$(BITS).o memcmp.o strncmp_$(BITS).o
/linux-6.6.21/arch/powerpc/kernel/
DMakefile72 irq.o align.o signal_$(BITS).o pmc.o vdso.o \
76 udbg.o misc.o io.o misc_$(BITS).o \
118 obj-$(CONFIG_HIBERNATION) += swsusp_$(BITS).o
121 obj-$(CONFIG_MODULES) += module.o module_$(BITS).o
135 obj-$(CONFIG_RELOCATABLE) += reloc_$(BITS).o
151 obj-$(CONFIG_PCI) += pci_$(BITS).o $(pci64-y) \

123