Searched refs:GPIO_BANK_OFFSET (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/gpio/
H A Dgpio-xgene.c39 #define GPIO_BANK_OFFSET(x) ((x / XGENE_GPIOS_PER_BANK) * GPIO_BANK_STRIDE) macro
61 bank_offset = GPIO_DATA_OFFSET + GPIO_BANK_OFFSET(offset); xgene_gpio_get()
72 bank_offset = GPIO_SET_DR_OFFSET + GPIO_BANK_OFFSET(offset); __xgene_gpio_set()
99 bank_offset = GPIO_SET_DR_OFFSET + GPIO_BANK_OFFSET(offset); xgene_gpio_dir_in()
120 bank_offset = GPIO_SET_DR_OFFSET + GPIO_BANK_OFFSET(offset); xgene_gpio_dir_out()

Completed in 82 milliseconds