Searched refs:sgx_reg (Results 1 – 2 of 2) sorted by relevance
206 if (dev_priv->sgx_reg) { in psb_driver_unload()207 iounmap(dev_priv->sgx_reg); in psb_driver_unload()208 dev_priv->sgx_reg = NULL; in psb_driver_unload()258 dev_priv->sgx_reg = ioremap(resource_start + dev_priv->ops->sgx_offset, in psb_driver_load()260 if (!dev_priv->sgx_reg) in psb_driver_load()
474 uint8_t __iomem *sgx_reg; member911 ioread32(dev_priv->sgx_reg + (_offs)); \914 #define PSB_RSGX32(_offs) ioread32(dev_priv->sgx_reg + (_offs))916 #define PSB_WSGX32(_val, _offs) iowrite32(_val, dev_priv->sgx_reg + (_offs))