Lines Matching refs:pm
72 void __iomem *pm; member
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()
215 gp.pm = ioport_map(gp.pmbase + PMBASE_OFFSET, PMBASE_SIZE); in amd_gpio_init()
216 if (!gp.pm) { in amd_gpio_init()
232 ioport_unmap(gp.pm); in amd_gpio_init()
243 ioport_unmap(gp.pm); in amd_gpio_exit()