Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/gpio/
Dgpio-amd8111.c37 #define AMD_REG_GPIO(i) (0x10 + (i)) macro
84 agp->orig[offset] = ioread8(agp->pm + AMD_REG_GPIO(offset)) & in amd_gpio_request()
98 iowrite8(agp->orig[offset], agp->pm + AMD_REG_GPIO(offset)); in amd_gpio_free()
108 temp = ioread8(agp->pm + AMD_REG_GPIO(offset)); in amd_gpio_set()
110 iowrite8(temp, agp->pm + AMD_REG_GPIO(offset)); in amd_gpio_set()
121 temp = ioread8(agp->pm + AMD_REG_GPIO(offset)); in amd_gpio_get()
135 temp = ioread8(agp->pm + AMD_REG_GPIO(offset)); in amd_gpio_dirout()
137 iowrite8(temp, agp->pm + AMD_REG_GPIO(offset)); in amd_gpio_dirout()
152 temp = ioread8(agp->pm + AMD_REG_GPIO(offset)); in amd_gpio_dirin()
154 iowrite8(temp, agp->pm + AMD_REG_GPIO(offset)); in amd_gpio_dirin()