Home
last modified time | relevance | path

Searched defs:bit (Results 1 – 25 of 1126) sorted by relevance

12345678910>>...46

/linux-6.6.21/arch/um/include/asm/
Dcpufeature.h23 #define test_cpu_cap(c, bit) \ argument
33 #define CHECK_BIT_IN_MASK_WORD(maskname, word, bit) \ argument
36 #define cpu_has(c, bit) \ argument
39 #define this_cpu_has(bit) \ argument
52 #define cpu_feature_enabled(bit) \ argument
55 #define boot_cpu_has(bit) cpu_has(&boot_cpu_data, bit) argument
57 #define set_cpu_cap(c, bit) set_bit(bit, (unsigned long *)((c)->x86_capability)) argument
61 #define setup_force_cpu_cap(bit) do { \ argument
66 #define setup_force_cpu_bug(bit) setup_force_cpu_cap(bit) argument
76 static __always_inline bool _static_cpu_has(u16 bit) in _static_cpu_has()
[all …]
/linux-6.6.21/arch/x86/include/asm/
Dcpufeature.h52 #define test_cpu_cap(c, bit) \ argument
62 #define CHECK_BIT_IN_MASK_WORD(maskname, word, bit) \ argument
122 #define cpu_has(c, bit) \ argument
126 #define this_cpu_has(bit) \ argument
139 #define cpu_feature_enabled(bit) \ argument
142 #define boot_cpu_has(bit) cpu_has(&boot_cpu_data, bit) argument
144 #define set_cpu_cap(c, bit) set_bit(bit, (unsigned long *)((c)->x86_capability)) argument
149 #define setup_force_cpu_cap(bit) do { \ argument
154 #define setup_force_cpu_bug(bit) setup_force_cpu_cap(bit) argument
169 static __always_inline bool _static_cpu_has(u16 bit) in _static_cpu_has()
[all …]
/linux-6.6.21/include/linux/
Dtick.h225 static inline void tick_dep_set(enum tick_dep_bits bit) in tick_dep_set()
231 static inline void tick_dep_clear(enum tick_dep_bits bit) in tick_dep_clear()
237 static inline void tick_dep_set_cpu(int cpu, enum tick_dep_bits bit) in tick_dep_set_cpu()
243 static inline void tick_dep_clear_cpu(int cpu, enum tick_dep_bits bit) in tick_dep_clear_cpu()
250 enum tick_dep_bits bit) in tick_dep_set_task()
256 enum tick_dep_bits bit) in tick_dep_clear_task()
262 enum tick_dep_bits bit) in tick_dep_set_signal()
268 enum tick_dep_bits bit) in tick_dep_clear_signal()
282 static inline void tick_nohz_dep_set_cpu(int cpu, enum tick_dep_bits bit) { } in tick_nohz_dep_set_cpu()
283 static inline void tick_nohz_dep_clear_cpu(int cpu, enum tick_dep_bits bit) { } in tick_nohz_dep_clear_cpu()
[all …]
Dwait_bit.h21 #define __WAIT_BIT_KEY_INITIALIZER(word, bit) \ argument
38 #define DEFINE_WAIT_BIT(name, word, bit) \ argument
71 wait_on_bit(unsigned long *word, int bit, unsigned mode) in wait_on_bit()
96 wait_on_bit_io(unsigned long *word, int bit, unsigned mode) in wait_on_bit_io()
122 wait_on_bit_timeout(unsigned long *word, int bit, unsigned mode, in wait_on_bit_timeout()
150 wait_on_bit_action(unsigned long *word, int bit, wait_bit_action_f *action, in wait_on_bit_action()
179 wait_on_bit_lock(unsigned long *word, int bit, unsigned mode) in wait_on_bit_lock()
203 wait_on_bit_lock_io(unsigned long *word, int bit, unsigned mode) in wait_on_bit_lock_io()
229 wait_on_bit_lock_action(unsigned long *word, int bit, wait_bit_action_f *action, in wait_on_bit_lock_action()
330 static inline void clear_and_wake_up_bit(int bit, void *word) in clear_and_wake_up_bit()
Dtrace_recursion.h80 #define trace_recursion_set(bit) do { (current)->trace_recursion |= (1<<(bit)); } while (0) argument
81 #define trace_recursion_clear(bit) do { (current)->trace_recursion &= ~(1<<(bit)); } while (0) argument
82 #define trace_recursion_test(bit) ((current)->trace_recursion & (1<<(bit))) argument
119 unsigned char bit = interrupt_context_level(); in trace_get_context_bit() local
160 int bit; in trace_test_and_set_recursion() local
194 static __always_inline void trace_clear_recursion(int bit) in trace_clear_recursion()
222 static __always_inline void ftrace_test_recursion_unlock(int bit) in ftrace_test_recursion_unlock()
Dfind.h406 unsigned long bit = find_next_and_bit(addr1, addr2, size, offset); in find_next_and_bit_wrap() local
428 unsigned long bit = find_next_bit(addr, size, offset); in find_next_bit_wrap() local
445 unsigned long bit; in __for_each_wrap() local
558 #define for_each_set_bit(bit, addr, size) \ argument
561 #define for_each_and_bit(bit, addr1, addr2, size) \ argument
566 #define for_each_andnot_bit(bit, addr1, addr2, size) \ argument
571 #define for_each_or_bit(bit, addr1, addr2, size) \ argument
577 #define for_each_set_bit_from(bit, addr, size) \ argument
580 #define for_each_clear_bit(bit, addr, size) \ argument
586 #define for_each_clear_bit_from(bit, addr, size) \ argument
[all …]
/linux-6.6.21/lib/
Datomic64_test.c20 #define TEST(bit, op, c_op, val) \ argument
36 #define FAMILY_TEST(test, bit, op, args...) \ argument
44 #define TEST_RETURN(bit, op, c_op, val) \ argument
53 #define TEST_FETCH(bit, op, c_op, val) \ argument
62 #define RETURN_FAMILY_TEST(bit, op, c_op, val) \ argument
67 #define FETCH_FAMILY_TEST(bit, op, c_op, val) \ argument
72 #define TEST_ARGS(bit, op, init, ret, expect, args...) \ argument
79 #define XCHG_FAMILY_TEST(bit, init, new) \ argument
84 #define CMPXCHG_FAMILY_TEST(bit, init, new, wrong) \ argument
92 #define INC_RETURN_FAMILY_TEST(bit, i) \ argument
[all …]
/linux-6.6.21/arch/sh/boards/mach-x3proto/
Dilsel.c46 static inline unsigned int ilsel_offset(unsigned int bit) in ilsel_offset()
51 static inline unsigned long mk_ilsel_addr(unsigned int bit) in mk_ilsel_addr()
56 static inline unsigned int mk_ilsel_shift(unsigned int bit) in mk_ilsel_shift()
61 static void __ilsel_enable(ilsel_source_t set, unsigned int bit) in __ilsel_enable()
94 unsigned int bit; in ilsel_enable() local
124 unsigned int bit = ilsel_offset(level - 1); in ilsel_enable_fixed() local
/linux-6.6.21/include/dt-bindings/mfd/
Dstm32f4-rcc.h34 #define STM32F4_AHB1_RESET(bit) (STM32F4_RCC_AHB1_##bit + (0x10 * 8)) argument
35 #define STM32F4_AHB1_CLOCK(bit) (STM32F4_RCC_AHB1_##bit) argument
44 #define STM32F4_AHB2_RESET(bit) (STM32F4_RCC_AHB2_##bit + (0x14 * 8)) argument
45 #define STM32F4_AHB2_CLOCK(bit) (STM32F4_RCC_AHB2_##bit + 0x20) argument
51 #define STM32F4_AHB3_RESET(bit) (STM32F4_RCC_AHB3_##bit + (0x18 * 8)) argument
52 #define STM32F4_AHB3_CLOCK(bit) (STM32F4_RCC_AHB3_##bit + 0x40) argument
81 #define STM32F4_APB1_RESET(bit) (STM32F4_RCC_APB1_##bit + (0x20 * 8)) argument
82 #define STM32F4_APB1_CLOCK(bit) (STM32F4_RCC_APB1_##bit + 0x80) argument
105 #define STM32F4_APB2_RESET(bit) (STM32F4_RCC_APB2_##bit + (0x24 * 8)) argument
106 #define STM32F4_APB2_CLOCK(bit) (STM32F4_RCC_APB2_##bit + 0xA0) argument
Dstm32f7-rcc.h34 #define STM32F7_AHB1_RESET(bit) (STM32F7_RCC_AHB1_##bit + (0x10 * 8)) argument
35 #define STM32F7_AHB1_CLOCK(bit) (STM32F7_RCC_AHB1_##bit) argument
45 #define STM32F7_AHB2_RESET(bit) (STM32F7_RCC_AHB2_##bit + (0x14 * 8)) argument
46 #define STM32F7_AHB2_CLOCK(bit) (STM32F7_RCC_AHB2_##bit + 0x20) argument
52 #define STM32F7_AHB3_RESET(bit) (STM32F7_RCC_AHB3_##bit + (0x18 * 8)) argument
53 #define STM32F7_AHB3_CLOCK(bit) (STM32F7_RCC_AHB3_##bit + 0x40) argument
87 #define STM32F7_APB1_RESET(bit) (STM32F7_RCC_APB1_##bit + (0x20 * 8)) argument
88 #define STM32F7_APB1_CLOCK(bit) (STM32F7_RCC_APB1_##bit + 0x80) argument
112 #define STM32F7_APB2_RESET(bit) (STM32F7_RCC_APB2_##bit + (0x24 * 8)) argument
113 #define STM32F7_APB2_CLOCK(bit) (STM32F7_RCC_APB2_##bit + 0xA0) argument
Dstm32h7-rcc.h17 #define STM32H7_AHB3_RESET(bit) (STM32H7_RCC_AHB3_##bit + (0x7C * 8)) argument
28 #define STM32H7_AHB1_RESET(bit) (STM32H7_RCC_AHB1_##bit + (0x80 * 8)) argument
37 #define STM32H7_AHB2_RESET(bit) (STM32H7_RCC_AHB2_##bit + (0x84 * 8)) argument
56 #define STM32H7_AHB4_RESET(bit) (STM32H7_RCC_AHB4_##bit + (0x88 * 8)) argument
62 #define STM32H7_APB3_RESET(bit) (STM32H7_RCC_APB3_##bit + (0x8C * 8)) argument
90 #define STM32H7_APB1L_RESET(bit) (STM32H7_RCC_APB1L_##bit + (0x90 * 8)) argument
99 #define STM32H7_APB1H_RESET(bit) (STM32H7_RCC_APB1H_##bit + (0x94 * 8)) argument
118 #define STM32H7_APB2_RESET(bit) (STM32H7_RCC_APB2_##bit + (0x98 * 8)) argument
134 #define STM32H7_APB4_RESET(bit) (STM32H7_RCC_APB4_##bit + (0x9C * 8)) argument
/linux-6.6.21/drivers/gpio/
Dgpio-xilinx.c77 static inline int xgpio_from_bit(struct xgpio_instance *chip, int bit) in xgpio_from_bit()
87 static inline u32 xgpio_get_value32(const unsigned long *map, int bit) in xgpio_get_value32()
95 static inline void xgpio_set_value32(unsigned long *map, int bit, u32 v) in xgpio_set_value32()
116 static void xgpio_read_ch(struct xgpio_instance *chip, int reg, int bit, unsigned long *a) in xgpio_read_ch()
123 static void xgpio_write_ch(struct xgpio_instance *chip, int reg, int bit, unsigned long *a) in xgpio_write_ch()
132 int bit, lastbit = xgpio_to_bit(chip, chip->gc.ngpio - 1); in xgpio_read_ch_all() local
140 int bit, lastbit = xgpio_to_bit(chip, chip->gc.ngpio - 1); in xgpio_write_ch_all() local
160 int bit = xgpio_to_bit(chip, gpio); in xgpio_get() local
181 int bit = xgpio_to_bit(chip, gpio); in xgpio_set() local
238 int bit = xgpio_to_bit(chip, gpio); in xgpio_dir_in() local
[all …]
/linux-6.6.21/arch/mips/alchemy/common/
Dirq.c290 unsigned int bit = d->irq - AU1000_INTC0_INT_BASE; in au1x_ic0_unmask() local
300 unsigned int bit = d->irq - AU1000_INTC1_INT_BASE; in au1x_ic1_unmask() local
310 unsigned int bit = d->irq - AU1000_INTC0_INT_BASE; in au1x_ic0_mask() local
320 unsigned int bit = d->irq - AU1000_INTC1_INT_BASE; in au1x_ic1_mask() local
330 unsigned int bit = d->irq - AU1000_INTC0_INT_BASE; in au1x_ic0_ack() local
344 unsigned int bit = d->irq - AU1000_INTC1_INT_BASE; in au1x_ic1_ack() local
358 unsigned int bit = d->irq - AU1000_INTC0_INT_BASE; in au1x_ic0_maskack() local
370 unsigned int bit = d->irq - AU1000_INTC1_INT_BASE; in au1x_ic1_maskack() local
382 int bit = d->irq - AU1000_INTC1_INT_BASE; in au1x_ic1_setwake() local
429 unsigned int bit, irq = d->irq; in au1x_ic_settype() local
[all …]
/linux-6.6.21/arch/mips/lib/
Dbitops.c24 unsigned int bit = nr % BITS_PER_LONG; in __mips_set_bit() local
45 unsigned int bit = nr % BITS_PER_LONG; in __mips_clear_bit() local
66 unsigned int bit = nr % BITS_PER_LONG; in __mips_change_bit() local
88 unsigned int bit = nr % BITS_PER_LONG; in __mips_test_and_set_bit_lock() local
112 unsigned int bit = nr % BITS_PER_LONG; in __mips_test_and_clear_bit() local
136 unsigned int bit = nr % BITS_PER_LONG; in __mips_test_and_change_bit() local
/linux-6.6.21/arch/alpha/kernel/
Dsys_sable.c93 sable_update_irq_hw(unsigned long bit, unsigned long mask) in sable_update_irq_hw()
109 sable_ack_irq_hw(unsigned long bit) in sable_ack_irq_hw()
292 lynx_update_irq_hw(unsigned long bit, unsigned long mask) in lynx_update_irq_hw()
308 lynx_ack_irq_hw(unsigned long bit) in lynx_ack_irq_hw()
447 unsigned long bit, mask; in sable_lynx_enable_irq() local
463 unsigned long bit, mask; in sable_lynx_disable_irq() local
479 unsigned long bit, mask; in sable_lynx_mask_and_ack_irq() local
503 int bit, irq; in sable_lynx_srm_device_interrupt() local
/linux-6.6.21/security/selinux/ss/
Debitmap.h67 unsigned int bit) in ebitmap_next_positive()
83 #define EBITMAP_NODE_INDEX(node, bit) \ argument
85 #define EBITMAP_NODE_OFFSET(node, bit) \ argument
89 unsigned int bit) in ebitmap_node_get_bit()
101 unsigned int bit) in ebitmap_node_set_bit()
111 unsigned int bit) in ebitmap_node_clr_bit()
120 #define ebitmap_for_each_positive_bit(e, n, bit) \ argument
/linux-6.6.21/arch/s390/include/asm/
Dairq.h64 static inline void airq_iv_free_bit(struct airq_iv *iv, unsigned long bit) in airq_iv_free_bit()
74 static inline void airq_iv_lock(struct airq_iv *iv, unsigned long bit) in airq_iv_lock()
80 static inline void airq_iv_unlock(struct airq_iv *iv, unsigned long bit) in airq_iv_unlock()
86 static inline void airq_iv_set_data(struct airq_iv *iv, unsigned long bit, in airq_iv_set_data()
93 unsigned long bit) in airq_iv_get_data()
98 static inline void airq_iv_set_ptr(struct airq_iv *iv, unsigned long bit, in airq_iv_set_ptr()
105 unsigned long bit) in airq_iv_get_ptr()
/linux-6.6.21/drivers/clk/ux500/
Dreset-prcc.c22 #define PRCC_RESET_LINE(prcc_num, bit) \ argument
72 unsigned int bit = id % PRCC_PERIPHS_PER_CLUSTER; in u8500_prcc_reset() local
93 unsigned int bit = id % PRCC_PERIPHS_PER_CLUSTER; in u8500_prcc_reset_assert() local
106 unsigned int bit = id % PRCC_PERIPHS_PER_CLUSTER; in u8500_prcc_reset_deassert() local
119 unsigned int bit = id % PRCC_PERIPHS_PER_CLUSTER; in u8500_prcc_reset_status() local
139 unsigned int prcc_num, bit; in u8500_prcc_reset_xlate() local
/linux-6.6.21/arch/arm/mach-shmobile/
Dplatsmp-apmu.c28 int bit; member
47 static int __maybe_unused apmu_power_on(void __iomem *p, int bit) in apmu_power_on()
59 static int __maybe_unused apmu_power_off(void __iomem *p, int bit) in apmu_power_off()
66 static int __maybe_unused apmu_power_off_poll(void __iomem *p, int bit) in apmu_power_off_poll()
186 static void apmu_init_cpu(struct resource *res, int cpu, int bit) in apmu_init_cpu()
209 static void apmu_parse_dt(void (*fn)(struct resource *res, int cpu, int bit)) in apmu_parse_dt()
213 int bit, index; in apmu_parse_dt() local
/linux-6.6.21/drivers/clk/rockchip/
Drst-rk3588.c14 #define RK3588_CRU_RESET_OFFSET(id, reg, bit) [id] = (0 + reg * 16 + bit) argument
17 #define RK3588_PHPTOPCRU_RESET_OFFSET(id, reg, bit) [id] = (0x8000*4 + reg * 16 + bit) argument
20 #define RK3588_SECURECRU_RESET_OFFSET(id, reg, bit) [id] = (0x10000*4 + reg * 16 + bit) argument
23 #define RK3588_PMU1CRU_RESET_OFFSET(id, reg, bit) [id] = (0x30000*4 + reg * 16 + bit) argument
/linux-6.6.21/lib/zstd/common/
Dcpu.h91 #define X(name, r, bit) \ argument
97 #define C(name, bit) X(name, f1c, bit) argument
128 #define D(name, bit) X(name, f1d, bit) argument
161 #define B(name, bit) X(name, f7b, bit) argument
187 #define C(name, bit) X(name, f7c, bit) argument
/linux-6.6.21/arch/mips/include/asm/
Dbitops.h91 int bit = nr % BITS_PER_LONG; in set_bit() local
119 int bit = nr % BITS_PER_LONG; in clear_bit() local
160 int bit = nr % BITS_PER_LONG; in change_bit() local
182 int bit = nr % BITS_PER_LONG; in test_and_set_bit_lock() local
226 int bit = nr % BITS_PER_LONG; in test_and_clear_bit() local
263 int bit = nr % BITS_PER_LONG; in test_and_change_bit() local
/linux-6.6.21/arch/mips/loongson32/common/
Dirq.c25 unsigned int bit = (d->irq - LS1X_IRQ_BASE) & 0x1f; in ls1x_irq_ack() local
34 unsigned int bit = (d->irq - LS1X_IRQ_BASE) & 0x1f; in ls1x_irq_mask() local
43 unsigned int bit = (d->irq - LS1X_IRQ_BASE) & 0x1f; in ls1x_irq_mask_ack() local
54 unsigned int bit = (d->irq - LS1X_IRQ_BASE) & 0x1f; in ls1x_irq_unmask() local
63 unsigned int bit = (d->irq - LS1X_IRQ_BASE) & 0x1f; in ls1x_irq_settype() local
/linux-6.6.21/drivers/gpu/drm/tidss/
Dtidss_irq.h36 #define DSS_IRQ_VP_BIT_N(ch, bit) (4 + 4 * (ch) + (bit)) argument
37 #define DSS_IRQ_PLANE_BIT_N(plane, bit) \ argument
40 #define DSS_IRQ_VP_BIT(ch, bit) BIT(DSS_IRQ_VP_BIT_N((ch), (bit))) argument
41 #define DSS_IRQ_PLANE_BIT(plane, bit) \ argument
/linux-6.6.21/fs/omfs/
Dbitmap.c27 int addrlen, int bit, int max) in count_run()
49 int nbits, int bit, int count, int set) in set_run()
96 unsigned int map, bit; in omfs_allocate_block() local
139 int i, run, bit; in omfs_allocate_range() local
180 unsigned int map, bit; in omfs_clear_range() local

12345678910>>...46