Home
last modified time | relevance | path

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

/linux-4.4.14/arch/arc/include/asm/
Ddisasm.h35 #define BITS(word, s, e) (((word) >> (s)) & (~((-2) << ((e) - (s))))) macro
37 #define MAJOR_OPCODE(word) (BITS((word), 27, 31))
38 #define MINOR_OPCODE(word) (BITS((word), 16, 21))
39 #define FIELD_A(word) (BITS((word), 0, 5))
40 #define FIELD_B(word) ((BITS((word), 12, 14)<<3) | \
41 (BITS((word), 24, 26)))
42 #define FIELD_C(word) (BITS((word), 6, 11))
44 #define FIELD_s12(word) sign_extend(((BITS((word), 0, 5) << 6) | \
45 BITS((word), 6, 11)), 12)
49 #define FIELD_s9(word) sign_extend(((BITS(word, 15, 15) << 8) | \
[all …]
/linux-4.4.14/drivers/mfd/
Ddbx500-prcmu-regs.h16 #define BITS(_start, _end) ((BIT(_end) - BIT(_start)) + BIT(_end)) macro
121 #define PRCM_PLL_FREQ_D_MASK BITS(0, 7)
123 #define PRCM_PLL_FREQ_N_MASK BITS(8, 13)
125 #define PRCM_PLL_FREQ_R_MASK BITS(16, 18)
144 #define PRCM_DSI_PLLOUT_SEL_DSI0_PLLOUT_DIVSEL_MASK BITS(0, 2)
146 #define PRCM_DSI_PLLOUT_SEL_DSI1_PLLOUT_DIVSEL_MASK BITS(8, 10)
154 #define PRCM_DSITVCLK_DIV_DSI0_ESC_CLK_DIV_MASK BITS(0, 7)
156 #define PRCM_DSITVCLK_DIV_DSI1_ESC_CLK_DIV_MASK BITS(8, 15)
158 #define PRCM_DSITVCLK_DIV_DSI2_ESC_CLK_DIV_MASK BITS(16, 23)
167 #define PRCM_CLKOCR_CLKOUT0_MASK BITS(0, 13)
[all …]
/linux-4.4.14/arch/sparc/kernel/
DMakefile9 extra-y := head_$(BITS).o
13 CPPFLAGS_vmlinux.lds := -Usparc -m$(BITS)
19 CFLAGS_REMOVE_time_$(BITS).o := -pg
28 obj-y += traps_$(BITS).o
31 obj-y += irq_$(BITS).o
34 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-4.4.14/arch/x86/um/
DMakefile6 BITS := 32 macro
8 BITS := 64 macro
11 obj-y = bug.o bugs_$(BITS).o delay.o fault.o ksyms.o ldt.o \
12 ptrace_$(BITS).o ptrace_user.o setjmp_$(BITS).o signal.o \
13 stub_$(BITS).o stub_segv.o \
14 sys_call_table_$(BITS).o sysrq_$(BITS).o tls_$(BITS).o \
15 mem_$(BITS).o subarch.o os-$(OS)/
36 USER_OBJS := bugs_$(BITS).o ptrace_user.o fault.o
/linux-4.4.14/arch/tile/lib/
DMakefile6 memmove.o memcpy_$(BITS).o memchr_$(BITS).o memset_$(BITS).o \
7 strchr_$(BITS).o strlen_$(BITS).o strnlen_$(BITS).o
11 lib-$(CONFIG_SMP) += spinlock_$(BITS).o usercopy_$(BITS).o
/linux-4.4.14/arch/sh/kernel/
DMakefile5 extra-y := head_$(BITS).o vmlinux.lds
15 idle.o io.o irq.o irq_$(BITS).o kdebugfs.o \
17 process_$(BITS).o ptrace.o ptrace_$(BITS).o \
19 setup.o signal_$(BITS).o sys_sh.o \
20 syscalls_$(BITS).o time.o topology.o traps.o \
21 traps_$(BITS).o unwinder.o
34 obj-$(CONFIG_MODULES) += sh_ksyms_$(BITS).o module.o
/linux-4.4.14/arch/arc/kernel/
Ddisasm.c106 state->di = BITS(state->words[0], 11, 11); in disasm_instr()
109 state->x = BITS(state->words[0], 6, 6); in disasm_instr()
110 state->zz = BITS(state->words[0], 7, 8); in disasm_instr()
111 state->aa = BITS(state->words[0], 9, 10); in disasm_instr()
127 state->di = BITS(state->words[0], 5, 5); in disasm_instr()
130 state->aa = BITS(state->words[0], 3, 4); in disasm_instr()
131 state->zz = BITS(state->words[0], 1, 2); in disasm_instr()
166 op_format = BITS(state->words[0], 22, 23); in disasm_instr()
198 if (BITS(state->words[0], 22, 23) == 3) { in disasm_instr()
213 state->di = BITS(state->words[0], 15, 15); in disasm_instr()
[all …]
/linux-4.4.14/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-4.4.14/drivers/scsi/
Dscsi_logging.h43 #define SCSI_LOG_LEVEL(SHIFT, BITS) \ argument
44 ((scsi_logging_level >> (SHIFT)) & ((1 << (BITS)) - 1))
46 #define SCSI_CHECK_LOGGING(SHIFT, BITS, LEVEL, CMD) \ argument
48 if (unlikely((SCSI_LOG_LEVEL(SHIFT, BITS)) > (LEVEL))) \
54 #define SCSI_LOG_LEVEL(SHIFT, BITS) 0 argument
55 #define SCSI_CHECK_LOGGING(SHIFT, BITS, LEVEL, CMD) argument
Daha152x.h290 #define SETBITS(PORT, BITS) outb( (inb(PORT) | (BITS)), (PORT) ) argument
291 #define CLRBITS(PORT, BITS) outb( (inb(PORT) & ~(BITS)), (PORT) ) argument
292 #define TESTHI(PORT, BITS) ((inb(PORT) & (BITS)) == (BITS)) argument
293 #define TESTLO(PORT, BITS) ((inb(PORT) & (BITS)) == 0) argument
/linux-4.4.14/arch/x86/kernel/
DMakefile5 extra-y := head_$(BITS).o head$(BITS).o head.o vmlinux.lds
19 KASAN_SANITIZE_head$(BITS).o := n
21 KASAN_SANITIZE_dumpstack_$(BITS).o := n
25 obj-y := process_$(BITS).o signal.o
27 obj-y += traps.o irq.o irq_$(BITS).o dumpstack_$(BITS).o
74 obj-$(CONFIG_KEXEC_CORE) += machine_kexec_$(BITS).o
75 obj-$(CONFIG_KEXEC_CORE) += relocate_kernel_$(BITS).o crash.o
77 obj-$(CONFIG_CRASH_DUMP) += crash_dump_$(BITS).o
94 obj-$(CONFIG_PARAVIRT) += paravirt.o paravirt_patch_$(BITS).o
/linux-4.4.14/arch/tile/kernel/
DMakefile5 extra-y := vmlinux.lds head_$(BITS).o
10 intvec_$(BITS).o regs_$(BITS).o tile-desc_$(BITS).o
22 obj-$(CONFIG_KEXEC) += machine_kexec.o relocate_kernel_$(BITS).o
/linux-4.4.14/lib/zlib_inflate/
Dinflate.c213 #define BITS(n) \ macro
358 ((BITS(8) << 8) + (hold >> 8)) % 31) { in zlib_inflate()
363 if (BITS(4) != Z_DEFLATED) { in zlib_inflate()
369 len = BITS(4) + 8; in zlib_inflate()
401 state->last = BITS(1); in zlib_inflate()
403 switch (BITS(2)) { in zlib_inflate()
449 state->nlen = BITS(5) + 257; in zlib_inflate()
451 state->ndist = BITS(5) + 1; in zlib_inflate()
453 state->ncode = BITS(4) + 4; in zlib_inflate()
467 state->lens[order[state->have++]] = (unsigned short)BITS(3); in zlib_inflate()
[all …]
/linux-4.4.14/arch/x86/entry/
DMakefile4 obj-y := entry_$(BITS).o thunk_$(BITS).o syscall_$(BITS).o
/linux-4.4.14/arch/x86/platform/efi/
DMakefile1 obj-$(CONFIG_EFI) += quirks.o efi.o efi_$(BITS).o efi_stub_$(BITS).o
4 obj-$(CONFIG_EFI_MIXED) += efi_thunk_$(BITS).o
/linux-4.4.14/arch/tile/
DMakefile47 export BITS
49 BITS := 64 macro
51 BITS := 32 macro
54 head-y := arch/tile/kernel/head_$(BITS).o
/linux-4.4.14/arch/x86/mm/
DMakefile1 obj-y := init.o init_$(BITS).o fault.o ioremap.o extable.o pageattr.o mmap.o \
23 KASAN_SANITIZE_kasan_init_$(BITS).o := n
24 obj-$(CONFIG_KASAN) += kasan_init_$(BITS).o
30 obj-$(CONFIG_NUMA) += numa.o numa_$(BITS).o
/linux-4.4.14/arch/sh/boot/compressed/
DMakefile10 head_$(BITS).o misc.o piggy.o
12 OBJECTS = $(obj)/head_$(BITS).o $(obj)/misc.o $(obj)/cache.o
47 ifeq ($(BITS),64)
48 lib1funcs-dir := $(addsuffix $(BITS), $(lib1funcs-dir))
/linux-4.4.14/arch/x86/power/
DMakefile7 obj-$(CONFIG_HIBERNATION) += hibernate_$(BITS).o hibernate_asm_$(BITS).o
/linux-4.4.14/arch/sparc/
DMakefile24 export BITS := 32 macro
37 export BITS := 64 macro
52 head-y := arch/sparc/kernel/head_$(BITS).o
/linux-4.4.14/arch/sparc/mm/
DMakefile8 obj-y += fault_$(BITS).o
9 obj-y += init_$(BITS).o
/linux-4.4.14/arch/x86/boot/compressed/
DMakefile24 KBUILD_CFLAGS := -m$(BITS) -D__KERNEL__ $(LINUX_INCLUDE) -O2
43 vmlinux-objs-y := $(obj)/vmlinux.lds $(obj)/head_$(BITS).o $(obj)/misc.o \
52 vmlinux-objs-$(CONFIG_EFI_STUB) += $(obj)/eboot.o $(obj)/efi_stub_$(BITS).o \
54 vmlinux-objs-$(CONFIG_EFI_MIXED) += $(obj)/efi_thunk_$(BITS).o
/linux-4.4.14/arch/sparc/lib/
DMakefile10 lib-y += checksum_$(BITS).o
12 lib-y += memscan_$(BITS).o memcmp.o strncmp_$(BITS).o
/linux-4.4.14/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-4.4.14/arch/sh/mm/
DMakefile18 mmu-$(CONFIG_MMU) := extable_$(BITS).o fault.o gup.o ioremap.o kmap.o \
19 pgtable.o tlbex_$(BITS).o tlbflush_$(BITS).o
/linux-4.4.14/arch/x86/purgatory/
DMakefile1 purgatory-y := purgatory.o stack.o setup-x86_$(BITS).o sha256.o entry64.o string.o
14 KBUILD_CFLAGS += -m$(BITS)
/linux-4.4.14/arch/x86/
DMakefile36 export BITS
53 BITS := 32 macro
82 BITS := 64 macro
131 cc_has_sp := $(srctree)/scripts/gcc-x86_$(BITS)-has-stack-protector.sh
209 head-y := arch/x86/kernel/head_$(BITS).o
210 head-y += arch/x86/kernel/head$(BITS).o
/linux-4.4.14/tools/testing/ktest/examples/include/
Ddefaults.conf24 DEFAULTS IF NOT DEFINED BITS
25 BITS := 64
/linux-4.4.14/arch/x86/lib/
DMakefile20 lib-y += usercopy_$(BITS).o usercopy.o getuser.o putuser.o
21 lib-y += memcpy_$(BITS).o
/linux-4.4.14/arch/sh/
DMakefile104 BITS := 32 macro
109 BITS := 64 macro
126 export ld-bfd BITS
128 head-y := arch/sh/kernel/head_$(BITS).o
/linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/
Dfw-api-coex.h71 #define BITS(nb) (BIT(nb) - 1) macro
94 BT_COEX_MODE_MSK = BITS(3) << BT_COEX_MODE_POS,
286 BT_MBOX##n_dw##_##_msg = BITS(_nbits) << BT_MBOX##n_dw##_##_msg##_POS
/linux-4.4.14/drivers/message/fusion/
Dmptdebug.h68 #define MPT_CHECK_LOGGING(IOC, CMD, BITS) \ argument
70 if (IOC->debug_level & BITS) \
74 #define MPT_CHECK_LOGGING(IOC, CMD, BITS) argument
/linux-4.4.14/arch/sparc/math-emu/
DMakefile8 obj-y := math_$(BITS).o
/linux-4.4.14/drivers/scsi/mpt3sas/
Dmpt3sas_debug.h71 #define MPT_CHECK_LOGGING(IOC, CMD, BITS) \ argument
73 if (IOC->logging_level & BITS) \
/linux-4.4.14/arch/x86/kernel/acpi/
DMakefile2 obj-$(CONFIG_ACPI_SLEEP) += sleep.o wakeup_$(BITS).o
/linux-4.4.14/arch/tile/mm/
DMakefile6 mmap.o homecache.o migrate_$(BITS).o
/linux-4.4.14/tools/testing/ktest/examples/
Dtest.conf35 BITS := 64
Dkvm.conf35 BITS := 64
/linux-4.4.14/arch/x86/kernel/apic/
DMakefile26 obj-$(CONFIG_X86_LOCAL_APIC) += probe_$(BITS).o
/linux-4.4.14/arch/cris/include/arch-v32/mach-a3/mach/
Dstartup.inc10 .macro GIO_SET_P BITS, OUTREG
13 or.d \BITS, \OUTREG
/linux-4.4.14/arch/x86/pci/
DMakefile4 obj-$(CONFIG_PCI_MMCONFIG) += mmconfig_$(BITS).o direct.o mmconfig-shared.o
/linux-4.4.14/arch/x86/xen/
DMakefile14 time.o xen-asm.o xen-asm_$(BITS).o \
/linux-4.4.14/arch/sparc/boot/
DMakefile16 cmd_piggy = $(obj)/piggyback $(BITS) $@ System.map $(ROOT_IMG)
/linux-4.4.14/drivers/firmware/efi/libstub/
DMakefile9 cflags-$(CONFIG_X86) += -m$(BITS) -D__KERNEL__ $(LINUX_INCLUDE) -O2 \
/linux-4.4.14/drivers/input/keyboard/
Dlkkbd.c266 #define CHECK_LED(LK, VAR_ON, VAR_OFF, LED, BITS) do { \ argument
268 VAR_ON |= BITS; \
270 VAR_OFF |= BITS; \
/linux-4.4.14/arch/m68k/fpsp040/
Dsatan.S281 andil #0xF8000000,XFRAC(%a6) | ...FIRST 5 BITS
296 movel %d0,%d2 | ...THE EXPO AND 16 BITS OF X
297 andil #0x00007800,%d0 | ...4 VARYING BITS OF F'S FRACTION
Dslogn.S343 |--WE DEFINE F = 1.XXXXXX1, I.E. FIRST 7 BITS OF Y AND ATTACH A 1.
353 asrl #8,%d0 | ...SHIFTED 16 BITS, BIASED EXPO. OF X
362 andil #0xFE000000,FFRAC(%a6) | ...FIRST 7 BITS OF Y
Dstan.S85 |--MOST 69 BITS LONG.
/linux-4.4.14/arch/x86/realmode/rm/
DMakefile24 realmode-y += trampoline_$(BITS).o
/linux-4.4.14/fs/
Dselect.c340 #define BITS(fds, n) (*FDS_IN(fds, n)|*FDS_OUT(fds, n)|*FDS_EX(fds, n)) macro
356 set &= BITS(fds, n); in max_select_fd()
366 set = BITS(fds, n); in max_select_fd()
/linux-4.4.14/drivers/net/ethernet/sun/
Dniu.c130 #define niu_set_and_wait_clear_mac(NP, REG, BITS, LIMIT, DELAY, REG_NAME) \ argument
132 __niu_set_and_wait_clear_mac(NP, REG, BITS, LIMIT, DELAY, REG_NAME); \
169 #define niu_set_and_wait_clear_ipp(NP, REG, BITS, LIMIT, DELAY, REG_NAME) \ argument
171 __niu_set_and_wait_clear_ipp(NP, REG, BITS, LIMIT, DELAY, REG_NAME); \
189 #define niu_wait_bits_clear(NP, REG, BITS, LIMIT, DELAY) \ argument
191 __niu_wait_bits_clear(NP, REG, BITS, LIMIT, DELAY); \
209 #define niu_set_and_wait_clear(NP, REG, BITS, LIMIT, DELAY, REG_NAME) \ argument
211 __niu_set_and_wait_clear(NP, REG, BITS, LIMIT, DELAY, REG_NAME); \
/linux-4.4.14/drivers/spi/
Dspi-atmel.c1219 csr = SPI_BF(BITS, bits - 8); in atmel_spi_setup()
/linux-4.4.14/arch/m68k/ifpsp060/src/
Dfplsp.S5683 #--MOST 69 BITS LONG.
6272 #--NOW WE SEE X AS +-2^K * 1.BBBBBBB....B <- 1. + 63 BITS
6274 #--THAT IS IT MATCHES THE EXPONENT AND FIRST 5 BITS OF X, THE
6275 #--SIXTH BITS IS SET TO BE 1. SINCE K = -4, -3, ..., 3, THERE
6301 add.l %d2,%d1 # THE 7 BITS IDENTIFYING F
8240 #--WE DEFINE F = 1.XXXXXX1, I.E. FIRST 7 BITS OF Y AND ATTACH A 1.
8250 asr.l &8,%d1 # SHIFTED 16 BITS, BIASED EXPO. OF X
8259 and.l &0xFE000000,FFRAC(%a6) # FIRST 7 BITS OF Y
8466 #--CONTAINS AT LEAST 63 BITS OF INFORMATION OF Z. IN THAT CASE,
8486 #--TAKEN BECAUSE 1+Z CAN HAVE 67 BITS OF INFORMATION AND WE MUST
Dfpsp.S6387 and.l &0xF8000000,XFRAC(%a6) # FIRST 5 BITS
6402 mov.l %d1,%d2 # THE EXP AND 16 BITS OF X
6403 and.l &0x00007800,%d1 # 4 VARYING BITS OF F'S FRACTION