Home
last modified time | relevance | path

Searched refs:bit (Results 1 – 25 of 2067) sorted by relevance

12345678910>>...83

/linux-6.6.21/drivers/clk/bcm/
Dclk-bcm63xx-gate.c18 u8 bit; member
32 .bit = BCM3368_CLK_MAC,
35 .bit = BCM3368_CLK_TC,
38 .bit = BCM3368_CLK_US_TOP,
41 .bit = BCM3368_CLK_DS_TOP,
44 .bit = BCM3368_CLK_ACM,
47 .bit = BCM3368_CLK_SPI,
50 .bit = BCM3368_CLK_USBS,
53 .bit = BCM3368_CLK_BMU,
56 .bit = BCM3368_CLK_PCM,
[all …]
/linux-6.6.21/arch/um/include/asm/
Dcpufeature.h23 #define test_cpu_cap(c, bit) \ argument
24 test_bit(bit, (unsigned long *)((c)->x86_capability))
33 #define CHECK_BIT_IN_MASK_WORD(maskname, word, bit) \ argument
34 (((bit)>>5)==(word) && (1UL<<((bit)&31) & maskname##word ))
36 #define cpu_has(c, bit) \ argument
37 test_cpu_cap(c, bit)
39 #define this_cpu_has(bit) \ argument
40 (__builtin_constant_p(bit) && REQUIRED_MASK_BIT_SET(bit) ? 1 : \
41 x86_this_cpu_test_bit(bit, \
52 #define cpu_feature_enabled(bit) \ argument
[all …]
/linux-6.6.21/arch/x86/include/asm/
Dcpufeature.h52 #define test_cpu_cap(c, bit) \ argument
53 arch_test_bit(bit, (unsigned long *)((c)->x86_capability))
62 #define CHECK_BIT_IN_MASK_WORD(maskname, word, bit) \ argument
63 (((bit)>>5)==(word) && (1UL<<((bit)&31) & maskname##word ))
122 #define cpu_has(c, bit) \ argument
123 (__builtin_constant_p(bit) && REQUIRED_MASK_BIT_SET(bit) ? 1 : \
124 test_cpu_cap(c, bit))
126 #define this_cpu_has(bit) \ argument
127 (__builtin_constant_p(bit) && REQUIRED_MASK_BIT_SET(bit) ? 1 : \
128 x86_this_cpu_test_bit(bit, \
[all …]
/linux-6.6.21/drivers/pmdomain/bcm/
Dbcm63xx-power.c34 uint8_t bit; member
114 max_bit = max(max_bit, entry->bit); in bcm63xx_power_probe()
143 pmd->mask = BIT(entry->bit); in bcm63xx_power_probe()
156 power->genpd[entry->bit] = &pmd->genpd; in bcm63xx_power_probe()
177 .bit = BCM6318_POWER_DOMAIN_PCIE,
180 .bit = BCM6318_POWER_DOMAIN_USB,
183 .bit = BCM6318_POWER_DOMAIN_EPHY0,
186 .bit = BCM6318_POWER_DOMAIN_EPHY1,
189 .bit = BCM6318_POWER_DOMAIN_EPHY2,
192 .bit = BCM6318_POWER_DOMAIN_EPHY3,
[all …]
/linux-6.6.21/arch/nios2/include/asm/
Dasm-macros.h78 .macro BT reg1, reg2, bit
79 .if \bit > 31
82 .if \bit < 16
83 andi \reg1, \reg2, (1 << \bit)
85 andhi \reg1, \reg2, (1 << (\bit - 16))
97 .macro BTBZ reg1, reg2, bit, label
98 BT \reg1, \reg2, \bit
109 .macro BTBNZ reg1, reg2, bit, label
110 BT \reg1, \reg2, \bit
121 .macro BTC reg1, reg2, bit
[all …]
/linux-6.6.21/drivers/acpi/pmic/
Dintel_pmic_bxtwc.c31 .bit = VR_MODE_AUTO,
36 .bit = VR_MODE_AUTO,
41 .bit = VR_MODE_AUTO,
46 .bit = VR_MODE_AUTO,
51 .bit = VR_MODE_NORMAL,
56 .bit = VR_MODE_NORMAL,
61 .bit = VR_MODE_NORMAL,
66 .bit = VR_MODE_NORMAL,
71 .bit = VR_MODE_NORMAL,
76 .bit = VR_MODE_NORMAL,
[all …]
Dintel_pmic_chtwc.c77 .bit = 0x01,
82 .bit = 0x07,
87 .bit = 0x01,
92 .bit = 0x07,
97 .bit = 0x07,
102 .bit = 0x07,
107 .bit = 0x01,
112 .bit = 0x07,
117 .bit = 0x07,
142 .bit = 0x07,
[all …]
Dintel_pmic_bytcrc.c28 .bit = 0x00,
33 .bit = 0x00,
38 .bit = 0x00,
43 .bit = 0x00,
48 .bit = 0x00,
53 .bit = 0x00,
58 .bit = 0x00,
68 .bit = 0x00,
78 .bit = 0x00,
83 .bit = 0x00,
[all …]
/linux-6.6.21/Documentation/devicetree/bindings/mfd/
Dmc13xxx.txt55 sw1a : regulator SW1A (register 24, bit 0)
56 sw1b : regulator SW1B (register 25, bit 0)
57 sw2a : regulator SW2A (register 26, bit 0)
58 sw2b : regulator SW2B (register 27, bit 0)
59 sw3 : regulator SW3 (register 29, bit 20)
60 vaudio : regulator VAUDIO (register 32, bit 0)
61 viohi : regulator VIOHI (register 32, bit 3)
62 violo : regulator VIOLO (register 32, bit 6)
63 vdig : regulator VDIG (register 32, bit 9)
64 vgen : regulator VGEN (register 32, bit 12)
[all …]
/linux-6.6.21/include/linux/
Dfind.h406 unsigned long bit = find_next_and_bit(addr1, addr2, size, offset); in find_next_and_bit_wrap() local
408 if (bit < size) in find_next_and_bit_wrap()
409 return bit; in find_next_and_bit_wrap()
411 bit = find_first_and_bit(addr1, addr2, offset); in find_next_and_bit_wrap()
412 return bit < offset ? bit : size; in find_next_and_bit_wrap()
428 unsigned long bit = find_next_bit(addr, size, offset); in find_next_bit_wrap() local
430 if (bit < size) in find_next_bit_wrap()
431 return bit; in find_next_bit_wrap()
433 bit = find_first_bit(addr, offset); in find_next_bit_wrap()
434 return bit < offset ? bit : size; in find_next_bit_wrap()
[all …]
Dtick.h207 extern void tick_nohz_dep_set(enum tick_dep_bits bit);
208 extern void tick_nohz_dep_clear(enum tick_dep_bits bit);
209 extern void tick_nohz_dep_set_cpu(int cpu, enum tick_dep_bits bit);
210 extern void tick_nohz_dep_clear_cpu(int cpu, enum tick_dep_bits bit);
212 enum tick_dep_bits bit);
214 enum tick_dep_bits bit);
216 enum tick_dep_bits bit);
218 enum tick_dep_bits bit);
225 static inline void tick_dep_set(enum tick_dep_bits bit) in tick_dep_set() argument
228 tick_nohz_dep_set(bit); in tick_dep_set()
[all …]
Dwait_bit.h21 #define __WAIT_BIT_KEY_INITIALIZER(word, bit) \ argument
22 { .flags = word, .bit_nr = bit, }
26 void __wake_up_bit(struct wait_queue_head *wq_head, void *word, int bit);
29 void wake_up_bit(void *word, int bit);
33 struct wait_queue_head *bit_waitqueue(void *word, int bit);
38 #define DEFINE_WAIT_BIT(name, word, bit) \ argument
40 .key = __WAIT_BIT_KEY_INITIALIZER(word, bit), \
71 wait_on_bit(unsigned long *word, int bit, unsigned mode) in wait_on_bit() argument
74 if (!test_bit_acquire(bit, word)) in wait_on_bit()
76 return out_of_line_wait_on_bit(word, bit, in wait_on_bit()
[all …]
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
121 return TRACE_CTX_NORMAL - bit; in trace_get_context_bit()
160 int bit; in trace_test_and_set_recursion() local
165 bit = trace_get_context_bit() + start; in trace_test_and_set_recursion()
166 if (unlikely(val & (1 << bit))) { in trace_test_and_set_recursion()
175 bit = TRACE_CTX_TRANSITION + start; in trace_test_and_set_recursion()
176 if (val & (1 << bit)) { in trace_test_and_set_recursion()
[all …]
/linux-6.6.21/Documentation/devicetree/bindings/timer/
Drenesas,cmt.yaml14 The CMT is a multi-channel 16/32/48-bit timer/counter with configurable clock
28 - renesas,r8a7740-cmt0 # 32-bit CMT0 on R-Mobile A1
29 - renesas,r8a7740-cmt1 # 48-bit CMT1 on R-Mobile A1
30 - renesas,r8a7740-cmt2 # 32-bit CMT2 on R-Mobile A1
31 - renesas,r8a7740-cmt3 # 32-bit CMT3 on R-Mobile A1
32 - renesas,r8a7740-cmt4 # 32-bit CMT4 on R-Mobile A1
33 - renesas,sh73a0-cmt0 # 32-bit CMT0 on SH-Mobile AG5
34 - renesas,sh73a0-cmt1 # 48-bit CMT1 on SH-Mobile AG5
35 - renesas,sh73a0-cmt2 # 32-bit CMT2 on SH-Mobile AG5
36 - renesas,sh73a0-cmt3 # 32-bit CMT3 on SH-Mobile AG5
[all …]
/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/arch/sh/boards/mach-x3proto/
Dilsel.c46 static inline unsigned int ilsel_offset(unsigned int bit) in ilsel_offset() argument
48 return ILSEL_LEVELS - bit - 1; in ilsel_offset()
51 static inline unsigned long mk_ilsel_addr(unsigned int bit) in mk_ilsel_addr() argument
53 return ILSEL_BASE + ((ilsel_offset(bit) >> 1) & ~0x1); in mk_ilsel_addr()
56 static inline unsigned int mk_ilsel_shift(unsigned int bit) in mk_ilsel_shift() argument
58 return (ilsel_offset(bit) & 0x3) << 2; in mk_ilsel_shift()
61 static void __ilsel_enable(ilsel_source_t set, unsigned int bit) in __ilsel_enable() argument
68 addr = mk_ilsel_addr(bit); in __ilsel_enable()
69 shift = mk_ilsel_shift(bit); in __ilsel_enable()
72 __func__, bit, addr, shift, set); in __ilsel_enable()
[all …]
/linux-6.6.21/fs/omfs/
Dbitmap.c27 int addrlen, int bit, int max) in count_run() argument
33 x = find_next_bit(*addr, nbits, bit); in count_run()
34 count += x - bit; in count_run()
39 bit = 0; in count_run()
49 int nbits, int bit, int count, int set) in set_run() argument
61 for (i = 0; i < count; i++, bit++) { in set_run()
62 if (bit >= nbits) { in set_run()
63 bit = 0; in set_run()
74 set_bit(bit, sbi->s_imap[map]); in set_run()
75 set_bit(bit, (unsigned long *)bh->b_data); in set_run()
[all …]
/linux-6.6.21/drivers/net/wireless/zydas/zd1211rw/
Dzd_rf_rf2959.c39 static int bit(u32 rw, int bit)
41 return bits(rw, bit, bit);
54 bits(rw, 14, 15), bit(rw, 3), bit(rw, 2), bit(rw, 1),
55 bit(rw, 0));
61 bit(rw, 17), bit(rw, 16), bit(rw, 15), bit(rw, 14),
62 bit(rw, 13), bit(rw, 12), bit(rw, 11), bit(rw, 10),
80 bit(rw, 17), bit(rw, 16), bit(rw, 15), bit(rw, 14),
81 bit(rw, 13), bit(rw, 12), bit(rw, 11), bit(rw, 10),
104 bit(rw, 17), bits(rw, 15, 16), bits(rw, 10, 14),
105 bits(rw, 7, 9), bits(rw, 4, 6), bit(rw, 3), bit(rw, 2),
[all …]
/linux-6.6.21/arch/powerpc/sysdev/
Dipic.c38 .bit = 16,
45 .bit = 17,
52 .bit = 18,
59 .bit = 19,
66 .bit = 20,
73 .bit = 21,
80 .bit = 22,
87 .bit = 23,
94 .bit = 24,
101 .bit = 25,
[all …]
/linux-6.6.21/arch/alpha/kernel/
Dsys_sable.c42 void (*update_irq_hw)(unsigned long bit, unsigned long mask);
43 void (*ack_irq_hw)(unsigned long bit);
93 sable_update_irq_hw(unsigned long bit, unsigned long mask) in sable_update_irq_hw() argument
97 if (bit >= 16) { in sable_update_irq_hw()
100 } else if (bit >= 8) { in sable_update_irq_hw()
109 sable_ack_irq_hw(unsigned long bit) in sable_ack_irq_hw() argument
113 if (bit >= 16) { in sable_ack_irq_hw()
115 val1 = 0xE0 | (bit - 16); in sable_ack_irq_hw()
117 } else if (bit >= 8) { in sable_ack_irq_hw()
119 val1 = 0xE0 | (bit - 8); in sable_ack_irq_hw()
[all …]
/linux-6.6.21/drivers/memory/tegra/
Dtegra210.c22 .bit = 1,
38 .bit = 2,
54 .bit = 3,
70 .bit = 4,
86 .bit = 5,
102 .bit = 6,
118 .bit = 14,
134 .bit = 15,
150 .bit = 16,
166 .bit = 17,
[all …]
Dtegra114.c33 .bit = 1,
49 .bit = 2,
65 .bit = 3,
81 .bit = 4,
97 .bit = 5,
113 .bit = 6,
129 .bit = 9,
145 .bit = 10,
161 .bit = 11,
177 .bit = 15,
[all …]
/linux-6.6.21/include/trace/events/
Dirq_matrix.h39 TP_PROTO(int bit, struct irq_matrix *matrix),
41 TP_ARGS(bit, matrix),
44 __field( int, bit )
52 __entry->bit = bit;
60 __entry->bit, __entry->online_maps,
67 TP_PROTO(int bit, unsigned int cpu, struct irq_matrix *matrix,
70 TP_ARGS(bit, cpu, matrix, cmap),
73 __field( int, bit )
86 __entry->bit = bit;
99 __entry->bit, __entry->cpu, __entry->online,
[all …]

12345678910>>...83