Home
last modified time | relevance | path

Searched refs:bits_offset (Results 1 – 6 of 6) sorted by relevance

/linux-4.19.296/drivers/gpio/
Dgpio-pcie-idio-24.c245 unsigned int bits_offset; in idio_24_gpio_get_multiple() local
264 bits_offset = i * gpio_reg_size; in idio_24_gpio_get_multiple()
267 word_index = BIT_WORD(bits_offset); in idio_24_gpio_get_multiple()
270 word_offset = bits_offset % BITS_PER_LONG; in idio_24_gpio_get_multiple()
340 unsigned long bits_offset; in idio_24_gpio_set_multiple() local
360 bits_offset = i * gpio_reg_size; in idio_24_gpio_set_multiple()
363 gpio_mask = (*mask >> bits_offset) & port_mask; in idio_24_gpio_set_multiple()
373 out_state |= (*bits >> bits_offset) & gpio_mask; in idio_24_gpio_set_multiple()
Dgpio-104-idi-48.c99 unsigned int bits_offset; in idi_48_gpio_get_multiple() local
112 bits_offset = i * gpio_reg_size; in idi_48_gpio_get_multiple()
115 word_index = BIT_WORD(bits_offset); in idi_48_gpio_get_multiple()
118 word_offset = bits_offset % BITS_PER_LONG; in idi_48_gpio_get_multiple()
Dgpio-gpio-mm.c182 unsigned int bits_offset; in gpiomm_gpio_get_multiple() local
195 bits_offset = i * gpio_reg_size; in gpiomm_gpio_get_multiple()
198 word_index = BIT_WORD(bits_offset); in gpiomm_gpio_get_multiple()
201 word_offset = bits_offset % BITS_PER_LONG; in gpiomm_gpio_get_multiple()
Dgpio-pci-idio-16.c113 unsigned int bits_offset; in idio_16_gpio_get_multiple() local
130 bits_offset = i * gpio_reg_size; in idio_16_gpio_get_multiple()
133 word_index = BIT_WORD(bits_offset); in idio_16_gpio_get_multiple()
136 word_offset = bits_offset % BITS_PER_LONG; in idio_16_gpio_get_multiple()
Dgpio-ws16c48.c140 unsigned int bits_offset; in ws16c48_gpio_get_multiple() local
153 bits_offset = i * gpio_reg_size; in ws16c48_gpio_get_multiple()
156 word_index = BIT_WORD(bits_offset); in ws16c48_gpio_get_multiple()
159 word_offset = bits_offset % BITS_PER_LONG; in ws16c48_gpio_get_multiple()
Dgpio-104-dio-48e.c193 unsigned int bits_offset; in dio48e_gpio_get_multiple() local
206 bits_offset = i * gpio_reg_size; in dio48e_gpio_get_multiple()
209 word_index = BIT_WORD(bits_offset); in dio48e_gpio_get_multiple()
212 word_offset = bits_offset % BITS_PER_LONG; in dio48e_gpio_get_multiple()