Home
last modified time | relevance | path

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

12345678910>>...108

/linux/drivers/clk/bcm/
H A 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/arch/um/include/asm/
H A 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, cpu_info.x86_capability))
51 #define cpu_feature_enabled(bit) \ argument
[all …]
/linux/arch/x86/include/asm/
H A Dcpufeature.h54 #define test_cpu_cap(c, bit) \ argument
55 arch_test_bit(bit, (unsigned long *)((c)->x86_capability))
64 #define CHECK_BIT_IN_MASK_WORD(maskname, word, bit) \ argument
65 (((bit)>>5)==(word) && (1UL<<((bit)&31) & maskname##word ))
126 #define cpu_has(c, bit) \ argument
127 (__builtin_constant_p(bit) && REQUIRED_MASK_BIT_SET(bit) ? 1 : \
128 test_cpu_cap(c, bit))
130 #define this_cpu_has(bit) \ argument
131 (__builtin_constant_p(bit) && REQUIRED_MASK_BIT_SET(bit) ? 1 : \
132 x86_this_cpu_test_bit(bit, cpu_info.x86_capability))
[all …]
/linux/drivers/pmdomain/bcm/
H A 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/arch/nios2/include/asm/
H A 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/drivers/acpi/pmic/
H A 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 …]
H A 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 …]
H A 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/Documentation/devicetree/bindings/mfd/
H A 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/include/linux/
H A Dfind.h47 * find_next_bit - find the next set bit in a memory region
52 * Returns the bit number for the next set bit
75 * find_next_and_bit - find the next set bit in both memory regions
81 * Returns the bit number for the next set bit
105 * find_next_andnot_bit - find the next set bit in *addr1 excluding all the bits
112 * Returns the bit number for the next set bit
136 * find_next_or_bit - find the next set bit i
433 unsigned long bit = find_next_and_bit(addr1, addr2, size, offset); find_next_and_bit_wrap() local
455 unsigned long bit = find_next_bit(addr, size, offset); find_next_bit_wrap() local
472 unsigned long bit; __for_each_wrap() local
585 for_each_set_bit(bit,addr,size) global() argument
588 for_each_and_bit(bit,addr1,addr2,size) global() argument
593 for_each_andnot_bit(bit,addr1,addr2,size) global() argument
598 for_each_or_bit(bit,addr1,addr2,size) global() argument
604 for_each_set_bit_from(bit,addr,size) global() argument
607 for_each_clear_bit(bit,addr,size) global() argument
613 for_each_clear_bit_from(bit,addr,size) global() argument
680 for_each_set_bit_wrap(bit,addr,size,start) global() argument
[all...]
H A 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 …]
H A 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 …]
H 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
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/arch/alpha/kernel/
H A 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/include/dt-bindings/mfd/
H 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
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
H 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
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
113 #define STM32F7_APB2_RESET(bit) (STM32F7_RCC_APB2_##bit + (0x24 * 8)) argument
114 #define STM32F7_APB2_CLOCK(bit) (STM32F7_RCC_APB2_##bit + 0xA0) argument
H 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/arch/sh/boards/mach-x3proto/
H A 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/fs/omfs/
H A 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/arch/powerpc/sysdev/
H A 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/drivers/net/wireless/zydas/zd1211rw/
H A 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/drivers/memory/tegra/
H A 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 …]
H A 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/include/trace/events/
H A 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 …]
/linux/arch/arm/mach-shmobile/
H A Dplatsmp-apmu.c28 int bit; member
47 static int __maybe_unused apmu_power_on(void __iomem *p, int bit) in apmu_power_on() argument
50 writel_relaxed(BIT(bit), p + WUPCR_OFFS); in apmu_power_on()
59 static int __maybe_unused apmu_power_off(void __iomem *p, int bit) in apmu_power_off() argument
62 writel_relaxed(3, p + CPUNCR_OFFS(bit)); in apmu_power_off()
66 static int __maybe_unused apmu_power_off_poll(void __iomem *p, int bit) in apmu_power_off_poll() argument
71 if (CPUNST(readl_relaxed(p + PSTR_OFFS), bit) == CPUST_STANDBY) in apmu_power_off_poll()
84 return p ? fn(p, apmu_cpus[cpu].bit) : -EINVAL; in apmu_wrap()
186 static void apmu_init_cpu(struct resource *res, int cpu, int bit) in apmu_init_cpu() argument
194 apmu_cpus[cpu].bit = bit; in apmu_init_cpu()
[all …]

12345678910>>...108