Home
last modified time | relevance | path

Searched refs:bitfield (Results 1 – 36 of 36) sorted by relevance

/linux-4.1.27/drivers/gpu/drm/i2c/
Dch7006_priv.h142 #define __mask(src, bitfield) \ argument
143 (((2 << (1 ? bitfield)) - 1) & ~((1 << (0 ? bitfield)) - 1))
144 #define mask(bitfield) __mask(bitfield) argument
146 #define __bitf(src, bitfield, x) \ argument
147 (((x) >> (src) << (0 ? bitfield)) & __mask(src, bitfield))
148 #define bitf(bitfield, x) __bitf(bitfield, x) argument
149 #define bitfs(bitfield, s) __bitf(bitfield, bitfield##_##s) argument
150 #define setbitf(state, reg, bitfield, x) \ argument
151 state->regs[reg] = (state->regs[reg] & ~mask(reg##_##bitfield)) \
152 | bitf(reg##_##bitfield, x)
[all …]
/linux-4.1.27/Documentation/devicetree/bindings/interrupt-controller/
Drenesas,intc-irqpin.txt24 - sense-bitfield-width: width of a single sense bitfield in the SENSE register,
/linux-4.1.27/arch/x86/include/asm/
Dapicdef.h256 /*170*/ u32 bitfield; member
261 /*1F0*/ u32 bitfield; member
266 /*270*/ u32 bitfield; member
/linux-4.1.27/include/linux/
Dring_buffer.h16 kmemcheck_bitfield_begin(bitfield);
18 kmemcheck_bitfield_end(bitfield);
/linux-4.1.27/kernel/trace/
Dtrace_probe.c176 void FETCH_FUNC_NAME(bitfield, type)(struct pt_regs *regs, \
188 NOKPROBE_SYMBOL(FETCH_FUNC_NAME(bitfield, type));
189 DEFINE_BASIC_FETCH_FUNCS(bitfield) in DEFINE_BASIC_FETCH_FUNCS() argument
567 if (CHECK_FETCH_FUNCS(bitfield, arg->fetch.fn)) in traceprobe_update_arg()
577 if (CHECK_FETCH_FUNCS(bitfield, arg->fetch.fn)) in traceprobe_free_probe_arg()
Dtrace_probe.h182 DECLARE_BASIC_FETCH_FUNCS(bitfield);
219 ASSIGN_FETCH_FUNC(bitfield, ftype), \
Dring_buffer.c2264 kmemcheck_annotate_bitfield(event, bitfield); in rb_reset_tail()
2457 kmemcheck_annotate_bitfield(event, bitfield); in __rb_reserve_next()
/linux-4.1.27/Documentation/devicetree/bindings/powerpc/fsl/cpm_qe/qe/
Dfirmware.txt13 - extended-modes: The Extended Modes bitfield, taken from the
/linux-4.1.27/Documentation/devicetree/bindings/spi/
Defm32-spi.txt14 bitfield to configure the pinmux for the device, see
/linux-4.1.27/arch/mips/include/uapi/asm/
DKbuild7 header-y += bitfield.h
/linux-4.1.27/scripts/
DMakefile.extrawarn46 warning-3 += $(call cc-option, -Wpacked-bitfield-compat)
/linux-4.1.27/Documentation/input/
Dgpio-tilt.txt21 values to report. The gpio state is represented as a bitfield where the
Dinput-programming.txt224 These three macros from bitops.h help some bitfield computations:
226 BITS_TO_LONGS(x) - returns the length of a bitfield array in longs for
Dff.txt59 Returns the features supported by the device. features is a bitfield with the
/linux-4.1.27/Documentation/devicetree/bindings/c6x/
Ddscr.txt66 more devices (one bitfield per device). The layout of each tuple is:
83 bitfield per device). The layout of each tuple is:
/linux-4.1.27/Documentation/fb/
Dapi.txt192 struct fb_bitfield red; /* bitfield in fb mem if true color, */
261 __u32 offset; /* beginning of bitfield */
262 __u32 length; /* length of bitfield */
/linux-4.1.27/drivers/staging/comedi/drivers/
Dni_mio_common.c686 unsigned bitfield; in ni_set_ai_dma_channel() local
689 bitfield = in ni_set_ai_dma_channel()
693 bitfield = 0; in ni_set_ai_dma_channel()
694 ni_set_bitfield(dev, AI_AO_Select, AI_DMA_Select_Mask, bitfield); in ni_set_ai_dma_channel()
700 unsigned bitfield; in ni_set_ao_dma_channel() local
703 bitfield = in ni_set_ao_dma_channel()
707 bitfield = 0; in ni_set_ao_dma_channel()
708 ni_set_bitfield(dev, AI_AO_Select, AO_DMA_Select_Mask, bitfield); in ni_set_ao_dma_channel()
716 unsigned bitfield; in ni_set_gpct_dma_channel() local
719 bitfield = GPCT_DMA_Select_Bits(gpct_index, mite_channel); in ni_set_gpct_dma_channel()
[all …]
/linux-4.1.27/drivers/gpu/drm/msm/
DNOTES77 the downstream android fbdev driver), bitfield sizes, etc. My current
/linux-4.1.27/Documentation/i2c/
Dinstantiating-devices197 them (by the means of the class bitfield), while all I2C buses were
199 that no probing happens. The purpose of the class bitfield is to limit
/linux-4.1.27/Documentation/
Dkmemcheck.txt181 the kmemcheck-/bitfield-annotations for the code in question. The
663 bitfield. Additionally, this will assign the bitfield a name, which
668 which parts of the allocation is part of a bitfield.
685 /* No warnings will trigger on accessing the bitfield of x */
Dparport-lowlevel.txt136 unsigned int modes; /* bitfield of hardware modes */
Dmemory-barriers.txt280 in a given bitfield must be protected by one lock. If two fields
281 in a given bitfield are protected by different locks, the compiler's
/linux-4.1.27/Documentation/hwmon/
Ddme1737243 mapping. This attribute is a bitfield
295 This attribute is a bitfield and
/linux-4.1.27/Documentation/trace/
Duprobetracer.txt42 (u8/u16/u32/u64/s8/s16/s32/s64), "string" and bitfield
Dkprobetrace.txt46 (u8/u16/u32/u64/s8/s16/s32/s64), "string" and bitfield
/linux-4.1.27/drivers/atm/
Dfore200e.h82 #error unknown bitfield endianess
/linux-4.1.27/arch/arm/boot/dts/
Dr8a7779.dtsi165 sense-bitfield-width = <2>;
Dr8a7778.dtsi85 sense-bitfield-width = <2>;
/linux-4.1.27/Documentation/devicetree/bindings/arm/
Dcpus.txt22 - square brackets define bitfields, eg reg[7:0] value of the bitfield in
/linux-4.1.27/Documentation/powerpc/
Dqe_firmware.txt231 'extended_modes' is a bitfield that defines special functionality which has an
/linux-4.1.27/arch/tile/kernel/
Dtile-desc_64.c2146 unsigned int bitfield = in find_opcode() local
2149 unsigned short next = table[index + 1 + bitfield]; in find_opcode()
Dtile-desc_32.c2534 unsigned int bitfield = in find_opcode() local
2537 unsigned short next = table[index + 1 + bitfield]; in find_opcode()
/linux-4.1.27/Documentation/filesystems/
Dext4.txt526 The ioctl argument is an integer bitfield, with
531 The ioctl argument is an integer bitfield, with
/linux-4.1.27/drivers/net/vmxnet3/
Dvmxnet3_drv.c264 static u32 get_bitfield32(const __le32 *bitfield, u32 pos, u32 size) in get_bitfield32() argument
266 u32 temp = le32_to_cpu(*bitfield); in get_bitfield32()
/linux-4.1.27/Documentation/ioctl/
Dhdio.txt599 bitfield flips depending on endianness; fortunately, TASKFILE
/linux-4.1.27/Documentation/virtual/kvm/
Dapi.txt984 A bitfield indicating future enhancements. Has to be 0 for now.
2661 first a control bitfield indicates the type of debug events to handle