Home
last modified time | relevance | path

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

12345678910>>...44

/linux-6.3-rc2/arch/um/include/asm/
A 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
61 #define setup_force_cpu_cap(bit) do { \ argument
76 static __always_inline bool _static_cpu_has(u16 bit) in _static_cpu_has()
120 #define static_cpu_has(bit) \ argument
127 #define cpu_has_bug(c, bit) cpu_has(c, (bit)) argument
[all …]
/linux-6.3-rc2/arch/x86/include/asm/
A Dcpufeature.h57 #define test_cpu_cap(c, bit) \ argument
67 #define CHECK_BIT_IN_MASK_WORD(maskname, word, bit) \ argument
127 #define cpu_has(c, bit) \ argument
131 #define this_cpu_has(bit) \ argument
144 #define cpu_feature_enabled(bit) \ argument
147 #define boot_cpu_has(bit) cpu_has(&boot_cpu_data, bit) argument
154 #define setup_force_cpu_cap(bit) do { \ argument
174 static __always_inline bool _static_cpu_has(u16 bit) in _static_cpu_has()
194 #define static_cpu_has(bit) \ argument
201 #define cpu_has_bug(c, bit) cpu_has(c, (bit)) argument
[all …]
/linux-6.3-rc2/include/linux/
A Dtick.h224 static inline void tick_dep_set(enum tick_dep_bits bit) in tick_dep_set()
230 static inline void tick_dep_clear(enum tick_dep_bits bit) in tick_dep_clear()
249 enum tick_dep_bits bit) in tick_dep_set_task()
255 enum tick_dep_bits bit) in tick_dep_clear_task()
261 enum tick_dep_bits bit) in tick_dep_set_signal()
267 enum tick_dep_bits bit) in tick_dep_clear_signal()
284 static inline void tick_dep_set(enum tick_dep_bits bit) { } in tick_dep_set()
289 enum tick_dep_bits bit) { } in tick_dep_set_task()
291 enum tick_dep_bits bit) { } in tick_dep_clear_task()
293 enum tick_dep_bits bit) { } in tick_dep_set_signal()
[all …]
A 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()
A 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()
A Dfind.h374 unsigned long bit = find_next_and_bit(addr1, addr2, size, offset); in find_next_and_bit_wrap() local
396 unsigned long bit = find_next_bit(addr, size, offset); in find_next_bit_wrap() local
413 unsigned long bit; in __for_each_wrap() local
526 #define for_each_set_bit(bit, addr, size) \ argument
529 #define for_each_and_bit(bit, addr1, addr2, size) \ argument
534 #define for_each_andnot_bit(bit, addr1, addr2, size) \ argument
540 #define for_each_set_bit_from(bit, addr, size) \ argument
543 #define for_each_clear_bit(bit, addr, size) \ argument
549 #define for_each_clear_bit_from(bit, addr, size) \ argument
616 #define for_each_set_bit_wrap(bit, addr, size, start) \ argument
/linux-6.3-rc2/lib/
A 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.3-rc2/arch/sh/boards/mach-x3proto/
A 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.3-rc2/include/dt-bindings/mfd/
A 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
45 #define STM32F4_AHB2_RESET(bit) (STM32F4_RCC_AHB2_##bit + (0x14 * 8)) argument
46 #define STM32F4_AHB2_CLOCK(bit) (STM32F4_RCC_AHB2_##bit + 0x20) argument
52 #define STM32F4_AHB3_RESET(bit) (STM32F4_RCC_AHB3_##bit + (0x18 * 8)) argument
53 #define STM32F4_AHB3_CLOCK(bit) (STM32F4_RCC_AHB3_##bit + 0x40) argument
82 #define STM32F4_APB1_RESET(bit) (STM32F4_RCC_APB1_##bit + (0x20 * 8)) argument
83 #define STM32F4_APB1_CLOCK(bit) (STM32F4_RCC_APB1_##bit + 0x80) argument
106 #define STM32F4_APB2_RESET(bit) (STM32F4_RCC_APB2_##bit + (0x24 * 8)) argument
107 #define STM32F4_APB2_CLOCK(bit) (STM32F4_RCC_APB2_##bit + 0xA0) argument
A 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
86 #define STM32F7_APB1_RESET(bit) (STM32F7_RCC_APB1_##bit + (0x20 * 8)) argument
87 #define STM32F7_APB1_CLOCK(bit) (STM32F7_RCC_APB1_##bit + 0x80) argument
111 #define STM32F7_APB2_RESET(bit) (STM32F7_RCC_APB2_##bit + (0x24 * 8)) argument
112 #define STM32F7_APB2_CLOCK(bit) (STM32F7_RCC_APB2_##bit + 0xA0) argument
A 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.3-rc2/drivers/gpio/
A Dgpio-xilinx.c78 static inline int xgpio_from_bit(struct xgpio_instance *chip, int bit) in xgpio_from_bit()
133 int bit, lastbit = xgpio_to_bit(chip, chip->gc.ngpio - 1); in xgpio_read_ch_all() local
141 int bit, lastbit = xgpio_to_bit(chip, chip->gc.ngpio - 1); in xgpio_write_ch_all() local
161 int bit = xgpio_to_bit(chip, gpio); in xgpio_get() local
182 int bit = xgpio_to_bit(chip, gpio); in xgpio_set() local
239 int bit = xgpio_to_bit(chip, gpio); in xgpio_dir_in() local
268 int bit = xgpio_to_bit(chip, gpio); in xgpio_dir_out() local
405 int bit = xgpio_to_bit(chip, irq_offset); in xgpio_irq_mask() local
430 int bit = xgpio_to_bit(chip, irq_offset); in xgpio_irq_unmask() local
468 int bit = xgpio_to_bit(chip, irq_offset); in xgpio_set_irq_type() local
[all …]
/linux-6.3-rc2/arch/mips/alchemy/common/
A 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
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
552 unsigned long bit; in au1300_pinfunc_to_dev() local
603 unsigned long bit, irq = d->irq; in au1300_gpic_mask() local
617 unsigned long bit, irq = d->irq; in au1300_gpic_unmask() local
632 unsigned long bit, irq = d->irq; in au1300_gpic_maskack() local
647 unsigned long bit, irq = d->irq; in au1300_gpic_ack() local
[all …]
/linux-6.3-rc2/arch/mips/lib/
A 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.3-rc2/arch/alpha/kernel/
A 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.3-rc2/security/selinux/ss/
A 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.3-rc2/arch/s390/include/asm/
A Dairq.h65 static inline void airq_iv_free_bit(struct airq_iv *iv, unsigned long bit) in airq_iv_free_bit()
75 static inline void airq_iv_lock(struct airq_iv *iv, unsigned long bit) in airq_iv_lock()
81 static inline void airq_iv_unlock(struct airq_iv *iv, unsigned long bit) in airq_iv_unlock()
87 static inline void airq_iv_set_data(struct airq_iv *iv, unsigned long bit, in airq_iv_set_data()
94 unsigned long bit) in airq_iv_get_data()
99 static inline void airq_iv_set_ptr(struct airq_iv *iv, unsigned long bit, in airq_iv_set_ptr()
106 unsigned long bit) in airq_iv_get_ptr()
/linux-6.3-rc2/drivers/clk/ux500/
A 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.3-rc2/arch/arm/mach-shmobile/
A Dplatsmp-apmu.c27 int bit; member
46 static int __maybe_unused apmu_power_on(void __iomem *p, int bit) in apmu_power_on()
58 static int __maybe_unused apmu_power_off(void __iomem *p, int bit) in apmu_power_off()
65 static int __maybe_unused apmu_power_off_poll(void __iomem *p, int bit) in apmu_power_off_poll()
185 static void apmu_init_cpu(struct resource *res, int cpu, int bit) in apmu_init_cpu()
208 static void apmu_parse_dt(void (*fn)(struct resource *res, int cpu, int bit)) in apmu_parse_dt()
212 int bit, index; in apmu_parse_dt() local
/linux-6.3-rc2/drivers/clk/rockchip/
A 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.3-rc2/lib/zstd/common/
A 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.3-rc2/arch/mips/include/asm/
A 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.3-rc2/arch/mips/loongson32/common/
A 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.3-rc2/drivers/gpu/drm/tidss/
A 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.3-rc2/fs/omfs/
A 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

Completed in 38 milliseconds

12345678910>>...44