/linux-4.19.296/include/linux/ |
D | tick.h | 188 extern void tick_nohz_dep_set(enum tick_dep_bits bit); 189 extern void tick_nohz_dep_clear(enum tick_dep_bits bit); 190 extern void tick_nohz_dep_set_cpu(int cpu, enum tick_dep_bits bit); 191 extern void tick_nohz_dep_clear_cpu(int cpu, enum tick_dep_bits bit); 193 enum tick_dep_bits bit); 195 enum tick_dep_bits bit); 197 enum tick_dep_bits bit); 199 enum tick_dep_bits bit); 206 static inline void tick_dep_set(enum tick_dep_bits bit) in tick_dep_set() argument 209 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 …]
|
D | bitops.h | 22 #define for_each_set_bit(bit, addr, size) \ argument 23 for ((bit) = find_first_bit((addr), (size)); \ 24 (bit) < (size); \ 25 (bit) = find_next_bit((addr), (size), (bit) + 1)) 28 #define for_each_set_bit_from(bit, addr, size) \ argument 29 for ((bit) = find_next_bit((addr), (size), (bit)); \ 30 (bit) < (size); \ 31 (bit) = find_next_bit((addr), (size), (bit) + 1)) 33 #define for_each_clear_bit(bit, addr, size) \ argument 34 for ((bit) = find_first_zero_bit((addr), (size)); \ [all …]
|
/linux-4.19.296/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-4.19.296/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-4.19.296/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-4.19.296/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-4.19.296/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-4.19.296/drivers/auxdisplay/ |
D | ks0108.c | 61 #define bit(n) (((unsigned char)1)<<(n)) macro 71 parport_write_control(ks0108_parport, byte ^ (bit(0) | bit(1) | bit(3))); in ks0108_writecontrol() 76 ks0108_writedata((state ? bit(0) : 0) | bit(1) | bit(2) | bit(3) | bit(4) | bit(5)); in ks0108_displaystate() 81 ks0108_writedata(min_t(unsigned char, startline, 63) | bit(6) | in ks0108_startline() 82 bit(7)); in ks0108_startline() 87 ks0108_writedata(min_t(unsigned char, address, 63) | bit(6)); in ks0108_address() 92 ks0108_writedata(min_t(unsigned char, page, 7) | bit(3) | bit(4) | in ks0108_page() 93 bit(5) | bit(7)); in ks0108_page()
|
/linux-4.19.296/lib/ |
D | atomic64_test.c | 24 #define TEST(bit, op, c_op, val) \ argument 26 atomic##bit##_set(&v, v0); \ 28 atomic##bit##_##op(val, &v); \ 30 WARN(atomic##bit##_read(&v) != r, "%Lx != %Lx\n", \ 31 (unsigned long long)atomic##bit##_read(&v), \ 40 #define FAMILY_TEST(test, bit, op, args...) \ argument 42 test(bit, op, ##args); \ 43 test(bit, op##_acquire, ##args); \ 44 test(bit, op##_release, ##args); \ 45 test(bit, op##_relaxed, ##args); \ [all …]
|
/linux-4.19.296/drivers/irqchip/ |
D | irq-renesas-h8300h.c | 31 int bit; in h8300h_disable_irq() local 34 bit = ipr_bit[irq]; in h8300h_disable_irq() 35 if (bit >= 0) { in h8300h_disable_irq() 36 if (bit < 8) in h8300h_disable_irq() 37 ctrl_bclr(bit & 7, IPR); in h8300h_disable_irq() 39 ctrl_bclr(bit & 7, (IPR+1)); in h8300h_disable_irq() 45 int bit; in h8300h_enable_irq() local 48 bit = ipr_bit[irq]; in h8300h_enable_irq() 49 if (bit >= 0) { in h8300h_enable_irq() 50 if (bit < 8) in h8300h_enable_irq() [all …]
|
/linux-4.19.296/drivers/media/rc/ |
D | imon_raw.c | 24 static inline int is_bit_set(const u8 *buf, int bit) in is_bit_set() argument 26 return buf[bit / 8] & (0x80 >> (bit & 7)); in is_bit_set() 33 int bit; in imon_ir_data() local 38 bit = offset; in imon_ir_data() 39 while (!is_bit_set(imon->ir_buf, bit) && bit < size) in imon_ir_data() 40 bit++; in imon_ir_data() 41 dev_dbg(imon->dev, "pulse: %d bits", bit - offset); in imon_ir_data() 42 if (bit > offset) { in imon_ir_data() 44 rawir.duration = (bit - offset) * BIT_DURATION; in imon_ir_data() 48 if (bit >= size) in imon_ir_data() [all …]
|
/linux-4.19.296/drivers/s390/cio/ |
D | airq.c | 201 unsigned long bit, i, flags; in airq_iv_alloc() local 206 bit = find_first_bit_inv(iv->avail, iv->bits); in airq_iv_alloc() 207 while (bit + num <= iv->bits) { in airq_iv_alloc() 209 if (!test_bit_inv(bit + i, iv->avail)) in airq_iv_alloc() 214 clear_bit_inv(bit + i, iv->avail); in airq_iv_alloc() 215 if (bit + num >= iv->end) in airq_iv_alloc() 216 iv->end = bit + num + 1; in airq_iv_alloc() 219 bit = find_next_bit_inv(iv->avail, iv->bits, bit + i + 1); in airq_iv_alloc() 221 if (bit + num > iv->bits) in airq_iv_alloc() 222 bit = -1UL; in airq_iv_alloc() [all …]
|
/linux-4.19.296/drivers/gpio/ |
D | gpio-sta2x11.c | 70 u32 bit = BIT(nr % GSTA_GPIO_PER_BLOCK); in gsta_gpio_set() local 73 writel(bit, ®s->dats); in gsta_gpio_set() 75 writel(bit, ®s->datc); in gsta_gpio_set() 82 u32 bit = BIT(nr % GSTA_GPIO_PER_BLOCK); in gsta_gpio_get() local 84 return !!(readl(®s->dat) & bit); in gsta_gpio_get() 92 u32 bit = BIT(nr % GSTA_GPIO_PER_BLOCK); in gsta_gpio_direction_output() local 94 writel(bit, ®s->dirs); in gsta_gpio_direction_output() 97 writel(bit, ®s->dats); in gsta_gpio_direction_output() 99 writel(bit, ®s->datc); in gsta_gpio_direction_output() 107 u32 bit = BIT(nr % GSTA_GPIO_PER_BLOCK); in gsta_gpio_direction_input() local [all …]
|
D | gpio-mc9s08dz60.c | 32 static void mc9s_gpio_to_reg_and_bit(int offset, u8 *reg, u8 *bit) in mc9s_gpio_to_reg_and_bit() argument 35 *bit = offset % GPIO_NUM_PER_GROUP; in mc9s_gpio_to_reg_and_bit() 40 u8 reg, bit; in mc9s08dz60_get_value() local 44 mc9s_gpio_to_reg_and_bit(offset, ®, &bit); in mc9s08dz60_get_value() 47 return (value >= 0) ? (value >> bit) & 0x1 : 0; in mc9s08dz60_get_value() 52 u8 reg, bit; in mc9s08dz60_set() local 55 mc9s_gpio_to_reg_and_bit(offset, ®, &bit); in mc9s08dz60_set() 59 value |= 1 << bit; in mc9s08dz60_set() 61 value &= ~(1 << bit); in mc9s08dz60_set()
|
/linux-4.19.296/drivers/media/tuners/ |
D | mxl5005s.c | 237 u16 bit[25]; /* Array of bit pos in Reg Addr for each bit pos */ member 301 static void MXL_RegWriteBit(struct dvb_frontend *fe, u8 address, u8 bit, 730 state->Init_Ctrl[0].bit[0] = 7; in MXL5005_ControlInit() 736 state->Init_Ctrl[1].bit[0] = 2; in MXL5005_ControlInit() 742 state->Init_Ctrl[2].bit[0] = 1; in MXL5005_ControlInit() 745 state->Init_Ctrl[2].bit[1] = 0; in MXL5005_ControlInit() 751 state->Init_Ctrl[3].bit[0] = 0; in MXL5005_ControlInit() 757 state->Init_Ctrl[4].bit[0] = 5; in MXL5005_ControlInit() 760 state->Init_Ctrl[4].bit[1] = 6; in MXL5005_ControlInit() 763 state->Init_Ctrl[4].bit[2] = 7; in MXL5005_ControlInit() [all …]
|
/linux-4.19.296/fs/ntfs/ |
D | bitmap.c | 56 u8 bit; in __ntfs_bitmap_set_bits_in_run() local 88 bit = start_bit & 7; in __ntfs_bitmap_set_bits_in_run() 91 if (bit) { in __ntfs_bitmap_set_bits_in_run() 93 while ((bit & 7) && cnt) { in __ntfs_bitmap_set_bits_in_run() 96 *byte |= 1 << bit++; in __ntfs_bitmap_set_bits_in_run() 98 *byte &= ~(1 << bit++); in __ntfs_bitmap_set_bits_in_run() 149 bit = cnt; in __ntfs_bitmap_set_bits_in_run() 151 while (bit--) { in __ntfs_bitmap_set_bits_in_run() 153 *byte |= 1 << bit; in __ntfs_bitmap_set_bits_in_run() 155 *byte &= ~(1 << bit); in __ntfs_bitmap_set_bits_in_run()
|
/linux-4.19.296/drivers/clk/hisilicon/ |
D | reset.c | 46 u8 bit; in hisi_reset_of_xlate() local 50 bit = reset_spec->args[1] & HISI_RESET_BIT_MASK; in hisi_reset_of_xlate() 52 return (offset | bit); in hisi_reset_of_xlate() 61 u8 bit; in hisi_reset_assert() local 64 bit = id & HISI_RESET_BIT_MASK; in hisi_reset_assert() 69 writel(reg | BIT(bit), rstc->membase + offset); in hisi_reset_assert() 82 u8 bit; in hisi_reset_deassert() local 85 bit = id & HISI_RESET_BIT_MASK; in hisi_reset_deassert() 90 writel(reg & ~BIT(bit), rstc->membase + offset); in hisi_reset_deassert()
|
/linux-4.19.296/fs/udf/ |
D | balloc.c | 139 unsigned long bit; in udf_bitmap_free_blocks() local 161 bit = block % (sb->s_blocksize << 3); in udf_bitmap_free_blocks() 166 if (bit + count > (sb->s_blocksize << 3)) { in udf_bitmap_free_blocks() 167 overflow = bit + count - (sb->s_blocksize << 3); in udf_bitmap_free_blocks() 176 if (udf_set_bit(bit + i, bh->b_data)) { in udf_bitmap_free_blocks() 177 udf_debug("bit %lu already set\n", bit + i); in udf_bitmap_free_blocks() 179 ((__u8 *)bh->b_data)[(bit + i) >> 3]); in udf_bitmap_free_blocks() 201 int bit, block, block_group, group_start; in udf_bitmap_prealloc_blocks() local 225 bit = block % (sb->s_blocksize << 3); in udf_bitmap_prealloc_blocks() 227 while (bit < (sb->s_blocksize << 3) && block_count > 0) { in udf_bitmap_prealloc_blocks() [all …]
|
/linux-4.19.296/drivers/char/ |
D | pc8736x_gpio.c | 154 int port, bit, val; in pc8736x_gpio_get() local 157 bit = minor & 7; in pc8736x_gpio_get() 159 val >>= bit; in pc8736x_gpio_get() 163 minor, pc8736x_gpio_base + port_offset[port] + PORT_IN, bit, in pc8736x_gpio_get() 171 int port, bit, curval; in pc8736x_gpio_set() local 175 bit = minor & 7; in pc8736x_gpio_set() 180 curval, bit, (curval & ~(1 << bit)), val, (val << bit)); in pc8736x_gpio_set() 182 val = (curval & ~(1 << bit)) | (val << bit); in pc8736x_gpio_set() 185 " %2x -> %2x\n", minor, port, bit, curval, val); in pc8736x_gpio_set() 198 int port, bit; in pc8736x_gpio_current() local [all …]
|