Home
last modified time | relevance | path

Searched refs:nvsw (Results 1 – 10 of 10) sorted by relevance

/linux/drivers/gpu/drm/nouveau/nvkm/engine/sw/
H A Dnvsw.c24 #include "nvsw.h"
46 struct nvkm_nvsw *nvsw = nvkm_nvsw(object); in nvkm_nvsw_mthd() local
48 if (nvsw->func->mthd) in nvkm_nvsw_mthd()
49 return nvsw->func->mthd(nvsw, mthd, data, size); in nvkm_nvsw_mthd()
65 struct nvkm_nvsw *nvsw; in nvkm_nvsw_new_() local
67 if (!(nvsw = kzalloc(sizeof(*nvsw), GFP_KERNEL))) in nvkm_nvsw_new_()
69 *pobject = &nvsw->object; in nvkm_nvsw_new_()
71 nvkm_object_ctor(&nvkm_nvsw_, oclass, &nvsw in nvkm_nvsw_new_()
[all...]
H A Dnv04.c27 #include "nvsw.h"
44 nv04_nvsw_mthd_get_ref(struct nvkm_nvsw *nvsw, void *data, u32 size) in nv04_nvsw_mthd_get_ref() argument
46 struct nv04_sw_chan *chan = nv04_sw_chan(nvsw->chan); in nv04_nvsw_mthd_get_ref()
60 nv04_nvsw_mthd(struct nvkm_nvsw *nvsw, u32 mthd, void *data, u32 size) in nv04_nvsw_mthd() argument
64 return nv04_nvsw_mthd_get_ref(nvsw, data, size); in nv04_nvsw_mthd()
H A DKbuild10 nvkm-y += nvkm/engine/sw/nvsw.o
/linux/drivers/platform/mellanox/
H A DMakefile14 obj-$(CONFIG_NVSW_SN2201) += nvsw-sn2201.o
/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_chan.h25 struct nvif_object nvsw; member
H A Dnv04_fence.c62 WARN_ON(nvif_object_mthd(&chan->nvsw, NV04_NVSW_GET_REF, in nv04_fence_read()
H A Dnouveau_chan.c100 nvif_object_dtor(&chan->nvsw); in nouveau_channel_del()
477 NULL, 0, &chan->nvsw); in nouveau_channel_init()
485 PUSH_NVSQ(&chan->chan.push, NV_SW, 0x0000, chan->nvsw.handle); in nouveau_channel_init()
H A Dnouveau_drm.c390 if (!drm->channel->nvsw.client && device->info.family < NV_DEVICE_INFO_V0_TESLA) { in nouveau_accel_gr_init()
393 NULL, 0, &drm->channel->nvsw); in nouveau_accel_gr_init()
412 PUSH_NVSQ(push, NV_SW, 0x0000, drm->channel->nvsw.handle); in nouveau_accel_gr_init()
H A Dnouveau_abi16.c438 init->subchan[1].handle = chan->chan->nvsw.handle; in nouveau_abi16_ioctl_channel_alloc()
552 /* nvsw: compatibility with older 0x*6e class identifier */ in nouveau_abi16_ioctl_grobj_alloc()
/linux/drivers/gpu/drm/nouveau/dispnv04/
H A Ddisp.c239 ret = nvif_event_ctor(&drm->channel->nvsw, "kmsFlip", 0, nv04_flip_complete, in nv04_display_create()