Home
last modified time | relevance | path

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

12345678910>>...41

/Linux-v5.10/arch/x86/include/asm/
Dcpufeature.h51 #define test_cpu_cap(c, bit) \ argument
61 #define CHECK_BIT_IN_MASK_WORD(maskname, word, bit) \ argument
117 #define cpu_has(c, bit) \ argument
121 #define this_cpu_has(bit) \ argument
134 #define cpu_feature_enabled(bit) \ argument
137 #define boot_cpu_has(bit) cpu_has(&boot_cpu_data, bit) argument
139 #define set_cpu_cap(c, bit) set_bit(bit, (unsigned long *)((c)->x86_capability)) argument
144 #define setup_force_cpu_cap(bit) do { \ argument
149 #define setup_force_cpu_bug(bit) setup_force_cpu_cap(bit) argument
161 #define static_cpu_has(bit) boot_cpu_has(bit) argument
[all …]
/Linux-v5.10/include/linux/
Dtick.h219 static inline void tick_dep_set(enum tick_dep_bits bit) in tick_dep_set()
225 static inline void tick_dep_clear(enum tick_dep_bits bit) in tick_dep_clear()
231 static inline void tick_dep_set_cpu(int cpu, enum tick_dep_bits bit) in tick_dep_set_cpu()
237 static inline void tick_dep_clear_cpu(int cpu, enum tick_dep_bits bit) in tick_dep_clear_cpu()
244 enum tick_dep_bits bit) in tick_dep_set_task()
250 enum tick_dep_bits bit) in tick_dep_clear_task()
256 enum tick_dep_bits bit) in tick_dep_set_signal()
262 enum tick_dep_bits bit) in tick_dep_clear_signal()
276 static inline void tick_nohz_dep_set_cpu(int cpu, enum tick_dep_bits bit) { } in tick_nohz_dep_set_cpu()
277 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()
/Linux-v5.10/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-v5.10/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-v5.10/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
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
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
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-v5.10/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-v5.10/fs/ocfs2/
Dheartbeat.c71 int bit) in __ocfs2_node_map_set_bit()
78 int bit) in ocfs2_node_map_set_bit()
89 int bit) in __ocfs2_node_map_clear_bit()
96 int bit) in ocfs2_node_map_clear_bit()
108 int bit) in ocfs2_node_map_test_bit()
/Linux-v5.10/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-v5.10/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-v5.10/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-v5.10/arch/s390/include/asm/
Dairq.h62 static inline void airq_iv_free_bit(struct airq_iv *iv, unsigned long bit) in airq_iv_free_bit()
72 static inline void airq_iv_lock(struct airq_iv *iv, unsigned long bit) in airq_iv_lock()
78 static inline void airq_iv_unlock(struct airq_iv *iv, unsigned long bit) in airq_iv_unlock()
84 static inline void airq_iv_set_data(struct airq_iv *iv, unsigned long bit, in airq_iv_set_data()
91 unsigned long bit) in airq_iv_get_data()
96 static inline void airq_iv_set_ptr(struct airq_iv *iv, unsigned long bit, in airq_iv_set_ptr()
103 unsigned long bit) in airq_iv_get_ptr()
/Linux-v5.10/arch/arm/mach-shmobile/
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-v5.10/arch/mips/include/asm/
Dbitops.h93 int bit = nr % BITS_PER_LONG; in set_bit() local
121 int bit = nr % BITS_PER_LONG; in clear_bit() local
162 int bit = nr % BITS_PER_LONG; in change_bit() local
184 int bit = nr % BITS_PER_LONG; in test_and_set_bit_lock() local
228 int bit = nr % BITS_PER_LONG; in test_and_clear_bit() local
265 int bit = nr % BITS_PER_LONG; in test_and_change_bit() local
/Linux-v5.10/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-v5.10/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-v5.10/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
/Linux-v5.10/kernel/sched/
Dwait_bit.c12 wait_queue_head_t *bit_waitqueue(void *word, int bit) in bit_waitqueue()
58 int __sched out_of_line_wait_on_bit(void *word, int bit, in out_of_line_wait_on_bit()
69 void *word, int bit, wait_bit_action_f *action, in out_of_line_wait_on_bit_timeout()
111 int __sched out_of_line_wait_on_bit_lock(void *word, int bit, in out_of_line_wait_on_bit_lock()
121 void __wake_up_bit(struct wait_queue_head *wq_head, void *word, int bit) in __wake_up_bit()
147 void wake_up_bit(void *word, int bit) in wake_up_bit()
/Linux-v5.10/drivers/acpi/pmic/
Dintel_pmic_bytcrc.c189 int bit, u64 *value) in intel_crc_pmic_get_power()
201 int bit, bool on) in intel_crc_pmic_update_power()
242 int reg, int bit, u64 *value) in intel_crc_pmic_get_policy()
253 int reg, int bit, int enable) in intel_crc_pmic_update_policy()
/Linux-v5.10/drivers/clk/ux500/
Du8500_of_clk.c22 #define PRCC_SHOW(clk, base, bit) \ argument
24 #define PRCC_PCLK_STORE(clk, base, bit) \ argument
26 #define PRCC_KCLK_STORE(clk, base, bit) \ argument
33 unsigned int base, bit; in ux500_twocell_get() local
/Linux-v5.10/arch/mips/sgi-ip32/
Dip32-irq.c123 unsigned int bit = d->irq - CRIME_IRQ_BASE; in crime_enable_irq() local
131 unsigned int bit = d->irq - CRIME_IRQ_BASE; in crime_disable_irq() local
146 unsigned int bit = d->irq - CRIME_IRQ_BASE; in crime_edge_mask_and_ack_irq() local
310 unsigned int bit = d->irq - CRIME_IRQ_BASE; in enable_mace_irq() local
318 unsigned int bit = d->irq - CRIME_IRQ_BASE; in disable_mace_irq() local
/Linux-v5.10/include/linux/ceph/
Dceph_features.h13 #define DEFINE_CEPH_FEATURE(bit, incarnation, name) \ argument
19 #define DEFINE_CEPH_FEATURE_DEPRECATED(bit, incarnation, name, when) \ argument
28 #define DEFINE_CEPH_FEATURE_RETIRED(bit, inc, name, unused, unadvertised) argument
/Linux-v5.10/arch/powerpc/sysdev/
Dcpm2_pic.c81 int bit, word; in cpm2_mask_irq() local
93 int bit, word; in cpm2_unmask_irq() local
105 int bit, word; in cpm2_ack() local
116 int bit, word; in cpm2_end_irq() local

12345678910>>...41