35 hash ^= (handle & ((1 << ramht->
bits) - 1));
36 handle >>= ramht->
bits;
39 hash ^= chid << (ramht->
bits - 4);
51 co = ho = nouveau_ramht_hash(ramht, chid, handle);
53 if (!nv_ro32(ramht, co + 4)) {
54 nv_wo32(ramht, co + 0, handle);
55 nv_wo32(ramht, co + 4, context);
62 if (co >= nv_gpuobj(ramht)->
size)
73 nv_wo32(ramht, cookie + 0, 0x00000000);
74 nv_wo32(ramht, cookie + 4, 0x00000000);
80 nouveau_ramht_oclass = {
101 &nouveau_ramht_oclass, 0, pargpu, size,
107 ramht->
bits = log2i(nv_gpuobj(ramht)->size >> 3);