Home
last modified time | relevance | path

Searched defs:bits (Results 1 – 25 of 790) sorted by relevance

12345678910>>...32

/linux/arch/x86/include/asm/
H A Dword-at-a-time.h15 static inline unsigned long has_zero(unsigned long a, unsigned long *bits, const struct word_at_a_t… in has_zero()
22 static inline unsigned long prep_zero_mask(unsigned long a, unsigned long bits, const struct word_a… in prep_zero_mask()
30 #define create_zero_mask(bits) (bits) argument
32 static inline unsigned long zero_bytemask(unsigned long bits) in zero_bytemask()
38 #define find_zero(bits) (__ffs(bits) >> 3) argument
43 static inline unsigned long create_zero_mask(unsigned long bits) in create_zero_mask()
/linux/arch/arm64/include/asm/
H A Dword-at-a-time.h21 static inline unsigned long has_zero(unsigned long a, unsigned long *bits, in has_zero()
29 #define prep_zero_mask(a, bits, c) (bits) argument
30 #define create_zero_mask(bits) (bits) argument
31 #define find_zero(bits) (__ffs(bits) >> 3) argument
33 static inline unsigned long zero_bytemask(unsigned long bits) in zero_bytemask()
/linux/include/linux/
H A Dhash.h16 #define hash_long(val, bits) hash_32(val, bits) argument
18 #define hash_long(val, bits) hash_64(val, bits) argument
65 static inline u32 hash_32(u32 val, unsigned int bits) in hash_32()
74 static __always_inline u32 hash_64_generic(u64 val, unsigned int bits) in hash_64_generic()
85 static inline u32 hash_ptr(const void *ptr, unsigned int bits) in hash_ptr()
H A Dhashtable.h16 #define DEFINE_HASHTABLE(name, bits) \ argument
20 #define DEFINE_READ_MOSTLY_HASHTABLE(name, bits) \ argument
24 #define DECLARE_HASHTABLE(name, bits) \ argument
31 #define hash_min(val, bits) \ argument
/linux/tools/include/linux/
H A Dhash.h16 #define hash_long(val, bits) hash_32(val, bits) argument
18 #define hash_long(val, bits) hash_64(val, bits) argument
65 static inline u32 hash_32(u32 val, unsigned int bits) in hash_32()
74 static __always_inline u32 hash_64_generic(u64 val, unsigned int bits) in hash_64_generic()
85 static inline u32 hash_ptr(const void *ptr, unsigned int bits) in hash_ptr()
/linux/tools/lib/
H A Dbitmap.c8 unsigned int __bitmap_weight(const unsigned long *bitmap, int bits) in __bitmap_weight()
22 const unsigned long *bitmap2, int bits) in __bitmap_or()
61 const unsigned long *bitmap2, unsigned int bits) in __bitmap_and()
76 const unsigned long *bitmap2, unsigned int bits) in __bitmap_equal()
91 const unsigned long *bitmap2, unsigned int bits) in __bitmap_intersects()
145 const unsigned long *bitmap2, unsigned int bits) in __bitmap_andnot()
160 const unsigned long *bitmap2, unsigned int bits) in __bitmap_subset()
/linux/include/sound/
H A Dcs8403.h24 SND_CS8403_DECL void SND_CS8403_DECODE(struct snd_aes_iec958 *diga, unsigned char bits) in SND_CS8403_DECODE()
69 unsigned char bits; in SND_CS8403_ENCODE() local
154 SND_CS8404_DECL void SND_CS8404_DECODE(struct snd_aes_iec958 *diga, unsigned char bits) in SND_CS8404_DECODE()
195 unsigned char bits; in SND_CS8404_ENCODE() local
/linux/arch/alpha/include/asm/
H A Dword-at-a-time.h22 static inline unsigned long has_zero(unsigned long val, unsigned long *bits, const struct word_at_a… in has_zero()
29 static inline unsigned long prep_zero_mask(unsigned long val, unsigned long bits, const struct word… in prep_zero_mask()
34 #define create_zero_mask(bits) (bits) argument
36 static inline unsigned long find_zero(unsigned long bits) in find_zero()
/linux/tools/testing/selftests/powerpc/primitives/
H A Dword-at-a-time.h60 static inline unsigned long has_zero(unsigned long a, unsigned long *bits, const struct word_at_a_t… in has_zero()
71 static inline unsigned long prep_zero_mask(unsigned long a, unsigned long bits, const struct word_a… in prep_zero_mask()
77 static inline unsigned long create_zero_mask(unsigned long bits) in create_zero_mask()
127 static inline unsigned long create_zero_mask(unsigned long bits) in create_zero_mask()
139 static inline unsigned long has_zero(unsigned long a, unsigned long *bits, const struct word_at_a_t… in has_zero()
146 static inline unsigned long prep_zero_mask(unsigned long a, unsigned long bits, const struct word_a… in prep_zero_mask()
/linux/arch/powerpc/include/asm/
H A Dword-at-a-time.h60 static inline unsigned long has_zero(unsigned long a, unsigned long *bits, const struct word_at_a_t… in has_zero()
71 static inline unsigned long prep_zero_mask(unsigned long a, unsigned long bits, const struct word_a… in prep_zero_mask()
77 static inline unsigned long create_zero_mask(unsigned long bits) in create_zero_mask()
127 static inline unsigned long create_zero_mask(unsigned long bits) in create_zero_mask()
139 static inline unsigned long has_zero(unsigned long a, unsigned long *bits, const struct word_at_a_t… in has_zero()
146 static inline unsigned long prep_zero_mask(unsigned long a, unsigned long bits, const struct word_a… in prep_zero_mask()
/linux/arch/sparc/vdso/
H A Dvdso2c.c100 #define GBE(x, bits, ifnot) \ argument
111 #define PBE(x, val, bits, ifnot) \ argument
124 #define BITSFUNC3(name, bits, suffix) name##bits##suffix argument
125 #define BITSFUNC2(name, bits, suffix) BITSFUNC3(name, bits, suffix) argument
130 #define ELF_BITS_XFORM2(bits, x) Elf##bits##_##x argument
131 #define ELF_BITS_XFORM(bits, x) ELF_BITS_XFORM2(bits, x) argument
/linux/drivers/spi/
H A Dspi-bitbang-txrx.h51 u32 word, u8 bits) in bitbang_txrx_be_cpha0()
83 u32 word, u8 bits) in bitbang_txrx_be_cpha1()
115 u32 word, u8 bits) in bitbang_txrx_le_cpha0()
148 u32 word, u8 bits) in bitbang_txrx_le_cpha1()
/linux/drivers/net/fjes/
H A Dfjes_regs.h49 } bits; member
57 } bits; member
67 } bits; member
78 } bits; member
88 } bits; member
97 } bits; member
/linux/drivers/iio/dac/
H A Dad5686.c191 #define AD5868_CHANNEL(chan, addr, bits, _shift) { \ argument
208 #define DECLARE_AD5693_CHANNELS(name, bits, _shift) \ argument
213 #define DECLARE_AD5338_CHANNELS(name, bits, _shift) \ argument
219 #define DECLARE_AD5686_CHANNELS(name, bits, _shift) \ argument
227 #define DECLARE_AD5676_CHANNELS(name, bits, _shift) \ argument
239 #define DECLARE_AD5679_CHANNELS(name, bits, _shift) \ argument
H A Dad5446.h15 #define _AD5446_CHANNEL(bits, storage, _shift, ext) { \ argument
31 #define AD5446_CHANNEL(bits, storage, shift) \ argument
34 #define AD5446_CHANNEL_POWERDOWN(bits, storage, shift) \ argument
/linux/fs/jffs2/
H A Dcompr_rubin.c44 int bits[8]; member
88 static void init_rubin(struct rubin_state *rs, int div, int *bits) in init_rubin()
151 static void init_decode(struct rubin_state *rs, int div, int *bits) in init_decode()
168 int c, bits = 0; in __do_decode() local
262 static int rubin_do_compress(int bit_divider, int *bits, unsigned char *data_in, in rubin_do_compress()
303 int bits[8]; in jffs2_dynrubin_compress() local
363 static void rubin_do_decompress(int bit_divider, int *bits, in rubin_do_decompress()
392 int bits[8]; in jffs2_dynrubin_decompress() local
/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A Duconn.c34 nvkm_uconn_uevent_gsp(struct nvkm_object *object, u64 token, u32 bits) in nvkm_uconn_uevent_gsp()
51 nvkm_uconn_uevent_aux(struct nvkm_object *object, u64 token, u32 bits) in nvkm_uconn_uevent_aux()
68 nvkm_uconn_uevent_gpio(struct nvkm_object *object, u64 token, u32 bits) in nvkm_uconn_uevent_gpio()
102 u64 bits = 0; in nvkm_uconn_uevent() local
/linux/arch/riscv/include/asm/
H A Dword-at-a-time.h23 unsigned long *bits, const struct word_at_a_time *c) in has_zero()
31 unsigned long bits, const struct word_at_a_time *c) in prep_zero_mask()
36 static inline unsigned long create_zero_mask(unsigned long bits) in create_zero_mask()
/linux/arch/sh/include/asm/
H A Dword-at-a-time.h29 static inline unsigned long has_zero(unsigned long a, unsigned long *bits, const struct word_at_a_t… in has_zero()
36 static inline unsigned long prep_zero_mask(unsigned long a, unsigned long bits, const struct word_a… in prep_zero_mask()
41 static inline unsigned long create_zero_mask(unsigned long bits) in create_zero_mask()
/linux/arch/arm/include/asm/
H A Dword-at-a-time.h20 static inline unsigned long has_zero(unsigned long a, unsigned long *bits, in has_zero()
28 #define prep_zero_mask(a, bits, c) (bits) argument
30 static inline unsigned long create_zero_mask(unsigned long bits) in create_zero_mask()
/linux/drivers/block/drbd/
H A Ddrbd_vli.h207 static inline void bitstream_cursor_advance(struct bitstream_cursor *cur, unsigned int bits) in bitstream_cursor_advance()
248 static inline int bitstream_put_bits(struct bitstream *bs, u64 val, const unsigned int bits) in bitstream_put_bits()
281 static inline int bitstream_get_bits(struct bitstream *bs, u64 *out, int bits) in bitstream_get_bits()
331 int bits = __vli_encode_bits(&code, in); in vli_encode_bits() local
/linux/drivers/clk/at91/
H A Dsckc.c34 const struct clk_slow_bits *bits; member
43 const struct clk_slow_bits *bits; member
53 const struct clk_slow_bits *bits; member
64 const struct clk_slow_bits *bits; member
125 const struct clk_slow_bits *bits) in at91_clk_register_slow_osc()
232 const struct clk_slow_bits *bits) in at91_clk_register_slow_rc_osc()
325 const struct clk_slow_bits *bits) in at91_clk_register_sam9x5_slow()
370 const struct clk_slow_bits *bits) in at91sam9x5_sckc_register()
/linux/drivers/clocksource/
H A Dtimer-stm32.c50 int bits; member
62 static void stm32_timer_of_bits_set(struct timer_of *to, int bits) in stm32_timer_of_bits_set()
233 u32 bits = stm32_timer_of_bits_get(to); in stm32_clocksource_init() local
270 u32 bits = stm32_timer_of_bits_get(to); in stm32_clockevent_init() local
/linux/include/linux/iio/imu/
H A Dadis.h460 #define ADIS_VOLTAGE_CHAN(addr, si, chan, name, info_all, bits) { \ argument
478 #define ADIS_SUPPLY_CHAN(addr, si, info_all, bits) \ argument
481 #define ADIS_AUX_ADC_CHAN(addr, si, info_all, bits) \ argument
484 #define ADIS_TEMP_CHAN(addr, si, info_all, bits) { \ argument
502 #define ADIS_MOD_CHAN(_type, mod, addr, si, info_sep, info_all, bits) { \ argument
520 #define ADIS_ACCEL_CHAN(mod, addr, si, info_sep, info_all, bits) \ argument
523 #define ADIS_GYRO_CHAN(mod, addr, si, info_sep, info_all, bits) \ argument
526 #define ADIS_INCLI_CHAN(mod, addr, si, info_sep, info_all, bits) \ argument
529 #define ADIS_ROT_CHAN(mod, addr, si, info_sep, info_all, bits) \ argument
/linux/drivers/acpi/pmic/
H A Dtps68470_pmic.c273 u32 bits, u64 *value, in tps68470_pmic_common_handler()
309 u32 bits, u64 *value, in tps68470_pmic_cfreq_handler()
322 acpi_physical_address address, u32 bits, in tps68470_pmic_clk_handler()
336 u32 bits, u64 *value, in tps68470_pmic_vrval_handler()
350 u32 bits, u64 *value, in tps68470_pmic_pwr_handler()

12345678910>>...32