/Linux-v6.6/drivers/gpu/drm/nouveau/nvkm/core/ |
D | ramht.c | 27 nvkm_ramht_hash(struct nvkm_ramht *ramht, int chid, u32 handle) in nvkm_ramht_hash() argument 32 hash ^= (handle & ((1 << ramht->bits) - 1)); in nvkm_ramht_hash() 33 handle >>= ramht->bits; in nvkm_ramht_hash() 36 hash ^= chid << (ramht->bits - 4); in nvkm_ramht_hash() 41 nvkm_ramht_search(struct nvkm_ramht *ramht, int chid, u32 handle) in nvkm_ramht_search() argument 45 co = ho = nvkm_ramht_hash(ramht, chid, handle); in nvkm_ramht_search() 47 if (ramht->data[co].chid == chid) { in nvkm_ramht_search() 48 if (ramht->data[co].handle == handle) in nvkm_ramht_search() 49 return ramht->data[co].inst; in nvkm_ramht_search() 52 if (++co >= ramht->size) in nvkm_ramht_search() [all …]
|
D | Kbuild | 15 nvkm-y += nvkm/core/ramht.o
|
/Linux-v6.6/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
D | nv17.c | 97 struct nvkm_ramht *ramht = imem->ramht; in nv17_fifo_init() local 105 ((ramht->bits - 9) << 16) | in nv17_fifo_init() 106 (ramht->gpuobj->addr >> 8)); in nv17_fifo_init()
|
D | nv40.c | 119 hash = nvkm_ramht_insert(imem->ramht, eobj, chan->id, 4, eobj->handle, context); in nv40_eobj_ramht_add() 186 struct nvkm_ramht *ramht = imem->ramht; in nv40_fifo_init() local 195 ((ramht->bits - 9) << 16) | in nv40_fifo_init() 196 (ramht->gpuobj->addr >> 8)); in nv40_fifo_init()
|
D | nv50.c | 38 nvkm_ramht_remove(chan->ramht, hash); in nv50_eobj_ramht_del() 44 return nvkm_ramht_insert(chan->ramht, eobj, 0, 4, eobj->handle, engn->id << 20); in nv50_eobj_ramht_add() 98 ret = nvkm_ramht_new(device, 0x8000, 16, chan->inst, &chan->ramht); in nv50_chan_ramfc_write() 111 nvkm_wo32(chan->ramfc, 0x80, ((chan->ramht->bits - 9) << 27) | in nv50_chan_ramfc_write() 113 (chan->ramht->gpuobj->node->offset >> 4)); in nv50_chan_ramfc_write()
|
D | nv04.c | 187 nvkm_ramht_remove(imem->ramht, hash); in nv04_eobj_ramht_del() 200 hash = nvkm_ramht_insert(imem->ramht, eobj, chan->id, 4, eobj->handle, context); in nv04_eobj_ramht_add() 470 struct nvkm_ramht *ramht = imem->ramht; in nv04_fifo_init() local 478 ((ramht->bits - 9) << 16) | in nv04_fifo_init() 479 (ramht->gpuobj->addr >> 8)); in nv04_fifo_init()
|
D | g84.c | 65 ret = nvkm_ramht_new(device, 0x8000, 16, chan->inst, &chan->ramht); in g84_chan_ramfc_write() 78 nvkm_wo32(chan->ramfc, 0x80, ((chan->ramht->bits - 9) << 27) | in g84_chan_ramfc_write() 80 (chan->ramht->gpuobj->node->offset >> 4)); in g84_chan_ramfc_write()
|
D | chan.c | 272 nvkm_ramht_del(&chan->ramht); in nvkm_chan_del()
|
/Linux-v6.6/drivers/gpu/drm/nouveau/include/nvkm/subdev/ |
D | instmem.h | 22 struct nvkm_ramht *ramht; member
|
/Linux-v6.6/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/ |
D | nv04.c | 178 ret = nvkm_ramht_new(device, 0x08000, 0, NULL, &imem->base.ramht); in nv04_instmem_oneinit() 203 nvkm_ramht_del(&imem->base.ramht); in nv04_instmem_dtor()
|
D | nv40.c | 190 ret = nvkm_ramht_new(device, 0x08000, 0, NULL, &imem->base.ramht); in nv40_instmem_oneinit() 219 nvkm_ramht_del(&imem->base.ramht); in nv40_instmem_dtor()
|
/Linux-v6.6/drivers/gpu/drm/nouveau/include/nvkm/engine/ |
D | disp.h | 44 struct nvkm_ramht *ramht; member
|
D | fifo.h | 32 struct nvkm_ramht *ramht; member
|
/Linux-v6.6/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
D | chan.c | 92 nvkm_ramht_remove(object->disp->ramht, object->hash); in nvkm_disp_chan_child_del_()
|
D | base.c | 315 nvkm_ramht_del(&disp->ramht); in nvkm_disp_dtor()
|
D | nv50.c | 594 return nvkm_ramht_insert(chan->disp->ramht, object, chan->chid.user, -10, handle, in nv50_disp_dmac_bind() 1614 0x1000, 0, disp->inst, &disp->ramht); in nv50_disp_oneinit()
|
D | gf119.c | 569 return nvkm_ramht_insert(chan->disp->ramht, object, chan->chid.user, -9, handle, in gf119_disp_dmac_bind()
|
D | gv100.c | 355 return nvkm_ramht_insert(chan->disp->ramht, object, chan->chid.user, -9, handle, in gv100_disp_dmac_bind()
|