/Linux-v4.19/arch/x86/include/asm/ |
D | cpufeature.h | 51 #define test_cpu_cap(c, bit) \ argument 52 test_bit(bit, (unsigned long *)((c)->x86_capability)) 61 #define CHECK_BIT_IN_MASK_WORD(maskname, word, bit) \ argument 62 (((bit)>>5)==(word) && (1UL<<((bit)&31) & maskname##word )) 110 #define cpu_has(c, bit) \ argument 111 (__builtin_constant_p(bit) && REQUIRED_MASK_BIT_SET(bit) ? 1 : \ 112 test_cpu_cap(c, bit)) 114 #define this_cpu_has(bit) \ argument 115 (__builtin_constant_p(bit) && REQUIRED_MASK_BIT_SET(bit) ? 1 : \ 116 x86_this_cpu_test_bit(bit, (unsigned long *)&cpu_info.x86_capability)) [all …]
|
/Linux-v4.19/arch/nios2/include/asm/ |
D | asm-macros.h | 89 .macro BT reg1, reg2, bit 90 .if \bit > 31 93 .if \bit < 16 94 andi \reg1, \reg2, (1 << \bit) 96 andhi \reg1, \reg2, (1 << (\bit - 16)) 108 .macro BTBZ reg1, reg2, bit, label 109 BT \reg1, \reg2, \bit 120 .macro BTBNZ reg1, reg2, bit, label 121 BT \reg1, \reg2, \bit 132 .macro BTC reg1, reg2, bit [all …]
|
/Linux-v4.19/drivers/acpi/pmic/ |
D | intel_pmic_bxtwc.c | 39 .bit = VR_MODE_AUTO, 44 .bit = VR_MODE_AUTO, 49 .bit = VR_MODE_AUTO, 54 .bit = VR_MODE_AUTO, 59 .bit = VR_MODE_NORMAL, 64 .bit = VR_MODE_NORMAL, 69 .bit = VR_MODE_NORMAL, 74 .bit = VR_MODE_NORMAL, 79 .bit = VR_MODE_NORMAL, 84 .bit = VR_MODE_NORMAL, [all …]
|
D | intel_pmic_chtwc.c | 85 .bit = 0x01, 90 .bit = 0x07, 95 .bit = 0x01, 100 .bit = 0x07, 105 .bit = 0x07, 110 .bit = 0x07, 115 .bit = 0x01, 120 .bit = 0x07, 125 .bit = 0x07, 150 .bit = 0x07, [all …]
|
D | intel_pmic_crc.c | 36 .bit = 0x00, 41 .bit = 0x00, 46 .bit = 0x00, 51 .bit = 0x00, 56 .bit = 0x00, 61 .bit = 0x00, 66 .bit = 0x00, 76 .bit = 0x00, 86 .bit = 0x00, 91 .bit = 0x00, [all …]
|
D | intel_pmic_xpower.c | 37 .bit = 0x05, 42 .bit = 0x06, 47 .bit = 0x07, 52 .bit = 0x03, 57 .bit = 0x04, 62 .bit = 0x05, 67 .bit = 0x06, 72 .bit = 0x00, 77 .bit = 0x01, 82 .bit = 0x02, [all …]
|
/Linux-v4.19/Documentation/devicetree/bindings/mfd/ |
D | mc13xxx.txt | 55 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-v4.19/include/dt-bindings/mfd/ |
D | stm32f4-rcc.h | 34 #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
|
D | stm32f7-rcc.h | 34 #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
|
D | stm32h7-rcc.h | 17 #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-v4.19/include/linux/ |
D | tick.h | 186 extern void tick_nohz_dep_set(enum tick_dep_bits bit); 187 extern void tick_nohz_dep_clear(enum tick_dep_bits bit); 188 extern void tick_nohz_dep_set_cpu(int cpu, enum tick_dep_bits bit); 189 extern void tick_nohz_dep_clear_cpu(int cpu, enum tick_dep_bits bit); 191 enum tick_dep_bits bit); 193 enum tick_dep_bits bit); 195 enum tick_dep_bits bit); 197 enum tick_dep_bits bit); 203 static inline void tick_dep_set(enum tick_dep_bits bit) in tick_dep_set() argument 206 tick_nohz_dep_set(bit); in tick_dep_set() [all …]
|
D | wait_bit.h | 21 #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(bit, word)) in wait_on_bit() 76 return out_of_line_wait_on_bit(word, bit, in wait_on_bit() [all …]
|
/Linux-v4.19/arch/sh/boards/mach-x3proto/ |
D | ilsel.c | 49 static inline unsigned int ilsel_offset(unsigned int bit) in ilsel_offset() argument 51 return ILSEL_LEVELS - bit - 1; in ilsel_offset() 54 static inline unsigned long mk_ilsel_addr(unsigned int bit) in mk_ilsel_addr() argument 56 return ILSEL_BASE + ((ilsel_offset(bit) >> 1) & ~0x1); in mk_ilsel_addr() 59 static inline unsigned int mk_ilsel_shift(unsigned int bit) in mk_ilsel_shift() argument 61 return (ilsel_offset(bit) & 0x3) << 2; in mk_ilsel_shift() 64 static void __ilsel_enable(ilsel_source_t set, unsigned int bit) in __ilsel_enable() argument 71 addr = mk_ilsel_addr(bit); in __ilsel_enable() 72 shift = mk_ilsel_shift(bit); in __ilsel_enable() 75 __func__, bit, addr, shift, set); in __ilsel_enable() [all …]
|
/Linux-v4.19/drivers/memory/tegra/ |
D | tegra210.c | 24 .bit = 1, 38 .bit = 2, 52 .bit = 3, 66 .bit = 4, 80 .bit = 5, 94 .bit = 6, 108 .bit = 14, 122 .bit = 15, 136 .bit = 16, 150 .bit = 17, [all …]
|
D | tegra30.c | 27 .bit = 1, 41 .bit = 2, 55 .bit = 3, 69 .bit = 4, 83 .bit = 5, 97 .bit = 6, 111 .bit = 7, 125 .bit = 8, 139 .bit = 9, 153 .bit = 10, [all …]
|
D | tegra114.c | 27 .bit = 1, 41 .bit = 2, 55 .bit = 3, 69 .bit = 4, 83 .bit = 5, 97 .bit = 6, 111 .bit = 9, 125 .bit = 10, 139 .bit = 11, 153 .bit = 15, [all …]
|
D | tegra124.c | 69 .bit = 1, 83 .bit = 2, 97 .bit = 3, 111 .bit = 4, 125 .bit = 5, 139 .bit = 6, 153 .bit = 14, 167 .bit = 15, 181 .bit = 16, 195 .bit = 17, [all …]
|
/Linux-v4.19/fs/omfs/ |
D | bitmap.c | 27 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-v4.19/drivers/net/wireless/zydas/zd1211rw/ |
D | zd_rf_rf2959.c | 51 static int bit(u32 rw, int bit) 53 return bits(rw, bit, bit); 66 bits(rw, 14, 15), bit(rw, 3), bit(rw, 2), bit(rw, 1), 67 bit(rw, 0)); 73 bit(rw, 17), bit(rw, 16), bit(rw, 15), bit(rw, 14), 74 bit(rw, 13), bit(rw, 12), bit(rw, 11), bit(rw, 10), 92 bit(rw, 17), bit(rw, 16), bit(rw, 15), bit(rw, 14), 93 bit(rw, 13), bit(rw, 12), bit(rw, 11), bit(rw, 10), 116 bit(rw, 17), bits(rw, 15, 16), bits(rw, 10, 14), 117 bits(rw, 7, 9), bits(rw, 4, 6), bit(rw, 3), bit(rw, 2), [all …]
|
/Linux-v4.19/arch/alpha/kernel/ |
D | sys_sable.c | 43 void (*update_irq_hw)(unsigned long bit, unsigned long mask); 44 void (*ack_irq_hw)(unsigned long bit); 94 sable_update_irq_hw(unsigned long bit, unsigned long mask) in sable_update_irq_hw() argument 98 if (bit >= 16) { in sable_update_irq_hw() 101 } else if (bit >= 8) { in sable_update_irq_hw() 110 sable_ack_irq_hw(unsigned long bit) in sable_ack_irq_hw() argument 114 if (bit >= 16) { in sable_ack_irq_hw() 116 val1 = 0xE0 | (bit - 16); in sable_ack_irq_hw() 118 } else if (bit >= 8) { in sable_ack_irq_hw() 120 val1 = 0xE0 | (bit - 8); in sable_ack_irq_hw() [all …]
|
/Linux-v4.19/fs/ocfs2/ |
D | heartbeat.c | 44 int bit); 46 int bit); 85 int bit) in __ocfs2_node_map_set_bit() argument 87 set_bit(bit, map->map); in __ocfs2_node_map_set_bit() 92 int bit) in ocfs2_node_map_set_bit() argument 94 if (bit==-1) in ocfs2_node_map_set_bit() 96 BUG_ON(bit >= map->num_nodes); in ocfs2_node_map_set_bit() 98 __ocfs2_node_map_set_bit(map, bit); in ocfs2_node_map_set_bit() 103 int bit) in __ocfs2_node_map_clear_bit() argument 105 clear_bit(bit, map->map); in __ocfs2_node_map_clear_bit() [all …]
|
/Linux-v4.19/arch/xtensa/include/asm/ |
D | bitops.h | 103 static inline void set_bit(unsigned int bit, volatile unsigned long *p) in set_bit() argument 106 unsigned long mask = 1UL << (bit & 31); in set_bit() 108 p += bit >> 5; in set_bit() 121 static inline void clear_bit(unsigned int bit, volatile unsigned long *p) in clear_bit() argument 124 unsigned long mask = 1UL << (bit & 31); in clear_bit() 126 p += bit >> 5; in clear_bit() 139 static inline void change_bit(unsigned int bit, volatile unsigned long *p) in change_bit() argument 142 unsigned long mask = 1UL << (bit & 31); in change_bit() 144 p += bit >> 5; in change_bit() 158 test_and_set_bit(unsigned int bit, volatile unsigned long *p) in test_and_set_bit() argument [all …]
|
/Linux-v4.19/include/trace/events/ |
D | irq_matrix.h | 39 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-v4.19/tools/include/linux/ |
D | bitops.h | 37 #define for_each_set_bit(bit, addr, size) \ argument 38 for ((bit) = find_first_bit((addr), (size)); \ 39 (bit) < (size); \ 40 (bit) = find_next_bit((addr), (size), (bit) + 1)) 42 #define for_each_clear_bit(bit, addr, size) \ argument 43 for ((bit) = find_first_zero_bit((addr), (size)); \ 44 (bit) < (size); \ 45 (bit) = find_next_zero_bit((addr), (size), (bit) + 1)) 48 #define for_each_set_bit_from(bit, addr, size) \ argument 49 for ((bit) = find_next_bit((addr), (size), (bit)); \ [all …]
|
/Linux-v4.19/arch/arm/mach-shmobile/ |
D | platsmp-apmu.c | 27 int bit; member 46 static int __maybe_unused apmu_power_on(void __iomem *p, int bit) in apmu_power_on() argument 49 writel_relaxed(BIT(bit), p + WUPCR_OFFS); in apmu_power_on() 58 static int __maybe_unused apmu_power_off(void __iomem *p, int bit) in apmu_power_off() argument 61 writel_relaxed(3, p + CPUNCR_OFFS(bit)); in apmu_power_off() 65 static int __maybe_unused apmu_power_off_poll(void __iomem *p, int bit) in apmu_power_off_poll() argument 70 if (CPUNST(readl_relaxed(p + PSTR_OFFS), bit) == CPUST_STANDBY) in apmu_power_off_poll() 83 return p ? fn(p, apmu_cpus[cpu].bit) : -EINVAL; in apmu_wrap() 185 static void apmu_init_cpu(struct resource *res, int cpu, int bit) in apmu_init_cpu() argument 193 apmu_cpus[cpu].bit = bit; in apmu_init_cpu() [all …]
|