Home
last modified time | relevance | path

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

/drivers/gpu/drm/gma500/
Dpsb_drv.h486 uint8_t __iomem *vdc_reg; member
925 return ioread32(dev_priv->vdc_reg + reg); in REGISTER_READ()
934 iowrite32((val), dev_priv->vdc_reg + (reg)); in REGISTER_WRITE()
943 iowrite16((val), dev_priv->vdc_reg + (reg)); in REGISTER_WRITE16()
952 iowrite8((val), dev_priv->vdc_reg + (reg)); in REGISTER_WRITE8()
957 #define PSB_WVDC32(_val, _offs) iowrite32(_val, dev_priv->vdc_reg + (_offs))
958 #define PSB_RVDC32(_offs) ioread32(dev_priv->vdc_reg + (_offs))
Dpsb_drv.c246 if (dev_priv->vdc_reg) { in psb_driver_unload()
247 iounmap(dev_priv->vdc_reg); in psb_driver_unload()
248 dev_priv->vdc_reg = NULL; in psb_driver_unload()
289 dev_priv->vdc_reg = in psb_driver_load()
291 if (!dev_priv->vdc_reg) in psb_driver_load()