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

/linux-4.1.27/drivers/gpio/
H A Dgpio-xgene.c97 u32 dirval, bit_offset; xgene_gpio_dir_in() local
104 dirval = ioread32(chip->base + bank_offset); xgene_gpio_dir_in()
105 dirval |= BIT(bit_offset); xgene_gpio_dir_in()
106 iowrite32(dirval, chip->base + bank_offset); xgene_gpio_dir_in()
118 u32 dirval, bit_offset; xgene_gpio_dir_out() local
125 dirval = ioread32(chip->base + bank_offset); xgene_gpio_dir_out()
126 dirval &= ~BIT(bit_offset); xgene_gpio_dir_out()
127 iowrite32(dirval, chip->base + bank_offset); xgene_gpio_dir_out()

Completed in 98 milliseconds