Displaying 1 result from an estimated 1 matches for "nv_wf32".
Did you mean:
nv_rf32
2009 Aug 02
3
[PATCH 1/4] drm/nouveau: refactor VGA font save/restore
...(mask), (val))
-/*
- * VRAM access for the first 64kB
- * see nouveau_state.c
- */
-static inline u32 nv_rf32(struct drm_device *dev, unsigned offset)
-{
- struct drm_nouveau_private *dev_priv = dev->dev_private;
- return ioread32_native(dev_priv->fb + offset);
-}
-
-static inline void nv_wf32(struct drm_device *dev, unsigned offset, u32 val)
-{
- struct drm_nouveau_private *dev_priv = dev->dev_private;
- iowrite32_native(val, dev_priv->fb + offset);
-}
-
/* PRAMIN access */
static inline u32 nv_ri32(struct drm_device *dev, unsigned offset)
{
diff --git a/drivers/gpu/drm/nouveau...