Home
last modified time | relevance | path

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

/linux/drivers/gpio/
H A Dgpio-amd8111.c35 #define AMD_REG_GPIO(i) (0x10 + (i)) macro
80 agp->orig[offset] = ioread8(agp->pm + AMD_REG_GPIO(offset)) & in amd_gpio_request()
94 iowrite8(agp->orig[offset], agp->pm + AMD_REG_GPIO(offset)); in amd_gpio_free()
104 temp = ioread8(agp->pm + AMD_REG_GPIO(offset)); in amd_gpio_set()
106 iowrite8(temp, agp->pm + AMD_REG_GPIO(offset)); in amd_gpio_set()
117 temp = ioread8(agp->pm + AMD_REG_GPIO(offset)); in amd_gpio_get()
131 temp = ioread8(agp->pm + AMD_REG_GPIO(offset)); in amd_gpio_dirout()
133 iowrite8(temp, agp->pm + AMD_REG_GPIO(offset)); in amd_gpio_dirout()
148 temp = ioread8(agp->pm + AMD_REG_GPIO(offset)); in amd_gpio_dirin()
150 iowrite8(temp, agp->pm + AMD_REG_GPIO(offset)); in amd_gpio_dirin()