Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/mfd/
Ddbx500-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 …]
/kernel/linux/linux-5.10/arch/sparc/kernel/
DMakefile10 extra-y := head_$(BITS).o
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).o
42 obj-y += sys_sparc_$(BITS).o
[all …]
/kernel/linux/linux-5.10/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-$(OS)/
36 USER_OBJS := bugs_$(BITS).o ptrace_user.o fault.o
/kernel/linux/linux-5.10/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
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/
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 …]
/kernel/linux/linux-5.10/arch/x86/kernel/
DMakefile6 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).o
109 obj-$(CONFIG_CRASH_CORE) += crash_core_$(BITS).o
[all …]
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/arch/x86/platform/efi/
DMakefile2 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/
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 …]
/kernel/linux/linux-5.10/arch/x86/power/
DMakefile2 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-5.10/arch/x86/mm/
DMakefile19 obj-y := init.o init_$(BITS).o fault.o ioremap.o extable.o mmap.o \
39 KASAN_SANITIZE_kasan_init_$(BITS).o := n
40 obj-$(CONFIG_KASAN) += kasan_init_$(BITS).o
46 obj-$(CONFIG_NUMA) += numa.o numa_$(BITS).o
/kernel/linux/linux-5.10/arch/powerpc/mm/
DMakefile9 init_$(BITS).o pgtable_$(BITS).o \
10 pgtable-frag.o ioremap.o ioremap_$(BITS).o \
/kernel/linux/linux-5.10/arch/x86/entry/
DMakefile24 obj-y := entry.o entry_$(BITS).o thunk_$(BITS).o syscall_$(BITS).o
/kernel/linux/linux-5.10/arch/riscv/
DMakefile21 export BITS
23 BITS := 64 macro
31 BITS := 32 macro
78 CHECKFLAGS += -D__riscv -D__riscv_xlen=$(BITS)
/kernel/linux/linux-5.10/arch/sparc/net/
DMakefile5 obj-$(CONFIG_BPF_JIT) += bpf_jit_comp_$(BITS).o
6 ifeq ($(BITS),32)
/kernel/linux/linux-5.10/arch/x86/kernel/acpi/
DMakefile2 OBJECT_FILES_NON_STANDARD_wakeup_$(BITS).o := y
5 obj-$(CONFIG_ACPI_SLEEP) += sleep.o wakeup_$(BITS).o
/kernel/linux/linux-5.10/arch/sparc/
DMakefile25 export BITS := 32 macro
44 export BITS := 64 macro
59 head-y := arch/sparc/kernel/head_$(BITS).o
/kernel/linux/linux-5.10/arch/powerpc/purgatory/
DMakefile5 targets += trampoline_$(BITS).o purgatory.ro kexec-purgatory.c
9 $(obj)/purgatory.ro: $(obj)/trampoline_$(BITS).o FORCE
/kernel/linux/linux-5.10/arch/powerpc/lib/
DMakefile28 obj-y += string.o memcmp_$(BITS).o
58 obj-y += checksum_$(BITS).o checksum_wrappers.o \
59 string_$(BITS).o
/kernel/linux/linux-5.10/arch/sparc/mm/
DMakefile9 obj-y += fault_$(BITS).o
10 obj-y += init_$(BITS).o
/kernel/linux/linux-5.10/arch/powerpc/kernel/
DMakefile44 irq.o align.o signal_$(BITS).o pmc.o vdso.o \
48 udbg.o misc.o io.o misc_$(BITS).o \
90 obj-$(CONFIG_HIBERNATION) += swsusp_$(BITS).o
93 obj-$(CONFIG_MODULES) += module.o module_$(BITS).o
107 obj-$(CONFIG_RELOCATABLE) += reloc_$(BITS).o
124 obj-$(CONFIG_PCI) += pci_$(BITS).o $(pci64-y) \
/kernel/linux/linux-5.10/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()

123