Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpio/
Dgpio-xgene.c90 u32 dirval, bit_offset; in xgene_gpio_dir_in() local
97 dirval = ioread32(chip->base + bank_offset); in xgene_gpio_dir_in()
98 dirval |= BIT(bit_offset); in xgene_gpio_dir_in()
99 iowrite32(dirval, chip->base + bank_offset); in xgene_gpio_dir_in()
111 u32 dirval, bit_offset; in xgene_gpio_dir_out() local
118 dirval = ioread32(chip->base + bank_offset); in xgene_gpio_dir_out()
119 dirval &= ~BIT(bit_offset); in xgene_gpio_dir_out()
120 iowrite32(dirval, chip->base + bank_offset); in xgene_gpio_dir_out()