44 struct io_mapping *
fb;
47 fb = fbmem_init(nv_device(priv)->
pdev);
49 nv_error(priv,
"failed to map fb\n");
58 amount = nv_rd32(priv, 0x10020c);
59 for (off = amount; off > 0x2000000; off -= 0x2000000)
60 fbmem_poke(fb, off - 4, off);
62 amount = nv_rd32(priv, 0x10020c);
63 if (amount != fbmem_peek(fb, amount - 4))
79 *pobject = nv_object(priv);
83 priv->
base.meminit = nv20_devinit_meminit;
91 .ctor = nv20_devinit_ctor,