Lines Matching refs:word
354 unsigned int word = bank; in atmel_gpio_get_multiple() local
359 word = BIT_WORD(bank * ATMEL_PIO_NPINS_PER_BANK); in atmel_gpio_get_multiple()
362 if (!mask[word]) in atmel_gpio_get_multiple()
366 bits[word] |= mask[word] & (reg << offset); in atmel_gpio_get_multiple()
411 unsigned int word = bank; in atmel_gpio_set_multiple() local
418 word = BIT_WORD(bank * ATMEL_PIO_NPINS_PER_BANK); in atmel_gpio_set_multiple()
420 if (!mask[word]) in atmel_gpio_set_multiple()
423 bitmask = mask[word] & bits[word]; in atmel_gpio_set_multiple()
426 bitmask = mask[word] & ~bits[word]; in atmel_gpio_set_multiple()
430 mask[word] >>= ATMEL_PIO_NPINS_PER_BANK; in atmel_gpio_set_multiple()
431 bits[word] >>= ATMEL_PIO_NPINS_PER_BANK; in atmel_gpio_set_multiple()