Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpio/
H A Dgpio-xgene.c93 u32 dirval, bit_offset; in xgene_gpio_dir_in() local
100 dirval = ioread32(chip->base + bank_offset); in xgene_gpio_dir_in()
101 dirval |= BIT(bit_offset); in xgene_gpio_dir_in()
102 iowrite32(dirval, chip->base + bank_offset); in xgene_gpio_dir_in()
114 u32 dirval, bit_offset; in xgene_gpio_dir_out() local
121 dirval = ioread32(chip->base + bank_offset); in xgene_gpio_dir_out()
122 dirval &= ~BIT(bit_offset); in xgene_gpio_dir_out()
123 iowrite32(dirval, chip->base + bank_offset); in xgene_gpio_dir_out()