Home
last modified time | relevance | path

Searched refs:bits_to_set (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/util/
H A Dbitmap.c164 int bits_to_set = BITS_PER_LONG - (start % BITS_PER_LONG); in bitmap_set() local
169 while (nr - bits_to_set >= 0) { in bitmap_set()
171 nr -= bits_to_set; in bitmap_set()
172 bits_to_set = BITS_PER_LONG; in bitmap_set()
186 int bits_to_set = BITS_PER_LONG - (start % BITS_PER_LONG); in bitmap_set_atomic() local
192 if (nr - bits_to_set > 0) { in bitmap_set_atomic()
194 nr -= bits_to_set; in bitmap_set_atomic()
195 bits_to_set = BITS_PER_LONG; in bitmap_set_atomic()
201 if (bits_to_set == BITS_PER_LONG) { in bitmap_set_atomic()
/openbmc/qemu/hw/gpio/
H A Dstm32l4x5_gpio.c300 uint32_t bits_to_set = value & ~RESERVED_BITS_MASK; in stm32l4x5_gpio_write() local
303 s->odr |= bits_to_set; in stm32l4x5_gpio_write()