Home
last modified time | relevance | path

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

/openbmc/linux/drivers/char/hw_random/
H A Damd-rng.c38 #define PMBASE_OFFSET 0xF0 macro
163 if (!request_region(pmbase + PMBASE_OFFSET, PMBASE_SIZE, DRV_NAME)) { in amd_rng_mod_init()
170 priv->iobase = ioport_map(pmbase + PMBASE_OFFSET, PMBASE_SIZE); in amd_rng_mod_init()
192 release_region(pmbase + PMBASE_OFFSET, PMBASE_SIZE); in amd_rng_mod_init()
210 release_region(priv->pmbase + PMBASE_OFFSET, PMBASE_SIZE); in amd_rng_mod_exit()
/openbmc/linux/drivers/gpio/
H A Dgpio-amd8111.c32 #define PMBASE_OFFSET 0xb0 macro
204 if (!devm_request_region(&pdev->dev, gp.pmbase + PMBASE_OFFSET, in amd_gpio_init()
207 gp.pmbase + PMBASE_OFFSET); in amd_gpio_init()
211 gp.pm = ioport_map(gp.pmbase + PMBASE_OFFSET, PMBASE_SIZE); in amd_gpio_init()