Home
last modified time | relevance | path

Searched refs:mthd (Results 1 – 25 of 98) sorted by relevance

1234

/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
A Dshadow.c61 image.size = mthd->func->size(mthd->data); in shadow_image()
123 mthd->score = shadow_image(bios, 0, 0, mthd); in shadow_method()
132 return mthd->score; in shadow_method()
190 for (mthd = mthds; mthd->func; mthd++) { in nvbios_shadow()
193 best = mthd; in nvbios_shadow()
203 mthd->func = NULL; in nvbios_shadow()
215 for (mthd = mthds, best = mthd; mthd->func; mthd++) { in nvbios_shadow()
216 if (!mthd->skip || best->score < mthd->skip) { in nvbios_shadow()
219 best = mthd; in nvbios_shadow()
226 for (mthd = mthds; mthd->func; mthd++) { in nvbios_shadow()
[all …]
/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/
A Dchannv50.c49 u32 mthd = list->data[i].mthd + (list->mthd * inst); in nv50_disp_mthd_list() local
71 const struct nv50_disp_chan_mthd *mthd = chan->mthd; in nv50_disp_chan_mthd() local
77 if (!mthd) in nv50_disp_chan_mthd()
80 for (i = 0; (list = mthd->data[i].mthd) != NULL; i++) { in nv50_disp_chan_mthd()
81 u32 base = chan->head * mthd->addr; in nv50_disp_chan_mthd()
83 const char *cname = mthd->name; in nv50_disp_chan_mthd()
87 if (mthd->addr) { in nv50_disp_chan_mthd()
89 mthd->name, chan->chid.user); in nv50_disp_chan_mthd()
93 if (mthd->data[i].nr > 1) { in nv50_disp_chan_mthd()
95 mthd->data[i].name, j); in nv50_disp_chan_mthd()
[all …]
A Dcorenv50.c34 const struct nv50_disp_chan_mthd *mthd, in nv50_disp_core_new_() argument
55 return nv50_disp_dmac_new_(func, mthd, disp, chid, 0, in nv50_disp_core_new_()
61 .mthd = 0x0000,
74 .mthd = 0x0080,
86 .mthd = 0x0040,
96 .mthd = 0x0040,
106 .mthd = 0x0400,
A Dcoregf119.c30 .mthd = 0x0000,
43 .mthd = 0x0020,
56 .mthd = 0x0020,
69 .mthd = 0x0020,
82 .mthd = 0x0300,
A Dgp102.c35 u32 mthd = nvkm_rd32(device, 0x6111f0 + (chid * 12)); in gp102_disp_intr_error() local
40 chid, (mthd & 0x0000ffc), data, mthd, unkn); in gp102_disp_intr_error()
43 switch (mthd & 0xffc) { in gp102_disp_intr_error()
A Dbasenv50.c34 const struct nv50_disp_chan_mthd *mthd, in nv50_disp_base_new_() argument
58 return nv50_disp_dmac_new_(func, mthd, disp, chid + head, in nv50_disp_base_new_()
64 .mthd = 0x0000,
89 .mthd = 0x0400,
A Drootnv04.c40 nv04_disp_mthd(struct nvkm_object *object, u32 mthd, void *data, u32 size) in nv04_disp_mthd() argument
53 mthd = args->v0.method; in nv04_disp_mthd()
61 switch (mthd) { in nv04_disp_mthd()
73 .mthd = nv04_disp_mthd,
A Dcoregv100.c28 .mthd = 0x0000,
44 .mthd = 0x0020,
57 .mthd = 0x0080,
71 .mthd = 0x0400,
A Dovlynv50.c34 const struct nv50_disp_chan_mthd *mthd, in nv50_disp_ovly_new_() argument
58 return nv50_disp_dmac_new_(func, mthd, disp, chid + head, in nv50_disp_ovly_new_()
64 .mthd = 0x0000,
/linux/drivers/gpu/drm/nouveau/nvkm/engine/sw/
A Dnvsw.c30 nvkm_nvsw_mthd_(struct nvkm_object *object, u32 mthd, void *data, u32 size) in nvkm_nvsw_mthd_() argument
33 if (nvsw->func->mthd) in nvkm_nvsw_mthd_()
34 return nvsw->func->mthd(nvsw, mthd, data, size); in nvkm_nvsw_mthd_()
39 nvkm_nvsw_ntfy_(struct nvkm_object *object, u32 mthd, in nvkm_nvsw_ntfy_() argument
43 switch (mthd) { in nvkm_nvsw_ntfy_()
55 .mthd = nvkm_nvsw_mthd_,
A Dnv04.c60 nv04_nvsw_mthd(struct nvkm_nvsw *nvsw, u32 mthd, void *data, u32 size) in nv04_nvsw_mthd() argument
62 switch (mthd) { in nv04_nvsw_mthd()
73 .mthd = nv04_nvsw_mthd,
88 nv04_sw_chan_mthd(struct nvkm_sw_chan *base, int subc, u32 mthd, u32 data) in nv04_sw_chan_mthd() argument
92 switch (mthd) { in nv04_sw_chan_mthd()
105 .mthd = nv04_sw_chan_mthd,
A Dchan.c33 nvkm_sw_chan_mthd(struct nvkm_sw_chan *chan, int subc, u32 mthd, u32 data) in nvkm_sw_chan_mthd() argument
35 switch (mthd) { in nvkm_sw_chan_mthd()
42 if (chan->func->mthd) in nvkm_sw_chan_mthd()
43 return chan->func->mthd(chan, subc, mthd, data); in nvkm_sw_chan_mthd()
A Dchan.h22 bool (*mthd)(struct nvkm_sw_chan *, int subc, u32 mthd, u32 data); member
28 bool nvkm_sw_chan_mthd(struct nvkm_sw_chan *, int subc, u32 mthd, u32 data);
/linux/drivers/gpu/drm/nouveau/nvkm/engine/gr/
A Dnv04.c761 switch (mthd) { in nv03_gr_mthd_gdi()
777 switch (mthd) { in nv04_gr_mthd_gdi()
794 switch (mthd) { in nv01_gr_mthd_blit()
813 switch (mthd) { in nv04_gr_mthd_blit()
832 switch (mthd) { in nv04_gr_mthd_iifc()
851 switch (mthd) { in nv01_gr_mthd_ifc()
869 switch (mthd) { in nv04_gr_mthd_ifc()
888 switch (mthd) { in nv03_gr_mthd_sifc()
905 switch (mthd) { in nv04_gr_mthd_sifc()
923 switch (mthd) { in nv03_gr_mthd_sifm()
[all …]
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/
A Dmemx.c11 u32 mthd; member
23 if (memx->c.mthd) { in memx_out()
24 nvkm_wr32(device, 0x10a1c4, (memx->c.size << 16) | memx->c.mthd); in memx_out()
27 memx->c.mthd = 0; in memx_out()
33 memx_cmd(struct nvkm_memx *memx, u32 mthd, u32 size, u32 data[]) in memx_cmd() argument
36 (memx->c.mthd && memx->c.mthd != mthd)) in memx_cmd()
40 memx->c.mthd = mthd; in memx_cmd()
/linux/drivers/gpu/drm/nouveau/nvkm/engine/mpeg/
A Dnv31.c125 nv31_mpeg_mthd_dma(struct nvkm_device *device, u32 mthd, u32 data) in nv31_mpeg_mthd_dma() argument
143 if (mthd == 0x0190) { in nv31_mpeg_mthd_dma()
150 if (mthd == 0x01a0) { in nv31_mpeg_mthd_dma()
169 nv31_mpeg_mthd(struct nv31_mpeg *mpeg, u32 mthd, u32 data) in nv31_mpeg_mthd() argument
172 switch (mthd) { in nv31_mpeg_mthd()
176 return mpeg->func->mthd_dma(device, mthd, data); in nv31_mpeg_mthd()
191 u32 mthd = nvkm_rd32(device, 0x00b234); in nv31_mpeg_intr() local
200 if (type == 0x00000020 && mthd == 0x0000) { in nv31_mpeg_intr()
206 if (nv31_mpeg_mthd(mpeg, mthd, data)) in nv31_mpeg_intr()
218 "unknown", stat, type, mthd, data); in nv31_mpeg_intr()
A Dnv44.c129 nv44_mpeg_mthd(struct nvkm_device *device, u32 mthd, u32 data) in nv44_mpeg_mthd() argument
131 switch (mthd) { in nv44_mpeg_mthd()
135 return nv40_mpeg_mthd_dma(device, mthd, data); in nv44_mpeg_mthd()
153 u32 mthd = nvkm_rd32(device, 0x00b234); in nv44_mpeg_intr() local
169 if (type == 0x00000020 && mthd == 0x0000) { in nv44_mpeg_intr()
175 if (nv44_mpeg_mthd(subdev->device, mthd, data)) in nv44_mpeg_intr()
187 stat, type, mthd, data); in nv44_mpeg_intr()
A Dnv40.c31 nv40_mpeg_mthd_dma(struct nvkm_device *device, u32 mthd, u32 data) in nv40_mpeg_mthd_dma() argument
50 if (mthd == 0x0190) { in nv40_mpeg_mthd_dma()
56 if (mthd == 0x01a0) { in nv40_mpeg_mthd_dma()
/linux/drivers/gpu/drm/nouveau/nvkm/engine/device/
A Duser.c43 nvkm_udevice_info_subdev(struct nvkm_device *device, u64 mthd, u64 *data) in nvkm_udevice_info_subdev() argument
48 switch (mthd & NV_DEVICE_INFO_UNIT) { in nvkm_udevice_info_subdev()
56 return nvkm_subdev_info(subdev, mthd, data); in nvkm_udevice_info_subdev()
64 if (args->mthd & NV_DEVICE_INFO_UNIT) { in nvkm_udevice_info_v1()
65 if (nvkm_udevice_info_subdev(device, args->mthd, &args->data)) in nvkm_udevice_info_v1()
66 args->mthd = NV_DEVICE_INFO_INVALID; in nvkm_udevice_info_v1()
69 args->mthd = NV_DEVICE_INFO_INVALID; in nvkm_udevice_info_v1()
192 nvif_ioctl(object, "device mthd %08x\n", mthd); in nvkm_udevice_mthd()
193 switch (mthd) { in nvkm_udevice_mthd()
360 .mthd = nvkm_udevice_mthd,
[all …]
/linux/drivers/gpu/drm/nouveau/include/nvkm/core/
A Dobject.h32 int (*mthd)(struct nvkm_object *, u32 mthd, void *data, u32 size); member
33 int (*ntfy)(struct nvkm_object *, u32 mthd, struct nvkm_event **);
59 int nvkm_object_mthd(struct nvkm_object *, u32 mthd, void *data, u32 size);
60 int nvkm_object_ntfy(struct nvkm_object *, u32 mthd, struct nvkm_event **);
/linux/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
A Dnv04.c144 const int mthd = (addr & 0x00001ffc); in nv04_fifo_swmthd() local
149 switch (mthd) { in nv04_fifo_swmthd()
159 handled = nvkm_sw_mthd(sw, chid, subc, mthd, data); in nv04_fifo_swmthd()
176 u32 mthd, data; in nv04_fifo_cache_error() local
187 mthd = nvkm_rd32(device, NV04_PFIFO_CACHE1_METHOD(ptr)); in nv04_fifo_cache_error()
190 mthd = nvkm_rd32(device, NV40_PFIFO_CACHE1_METHOD(ptr)); in nv04_fifo_cache_error()
195 !nv04_fifo_swmthd(device, chid, mthd, data)) { in nv04_fifo_cache_error()
200 (mthd >> 13) & 7, mthd & 0x1ffc, data); in nv04_fifo_cache_error()
A Dgpfifogv100.c129 u64 usermem, mthd; in gv100_fifo_gpfifo_new_() local
182 &chan->mthd); in gv100_fifo_gpfifo_new_()
186 mthd = nvkm_memory_bar2(chan->mthd); in gv100_fifo_gpfifo_new_()
187 if (mthd == ~0ULL) in gv100_fifo_gpfifo_new_()
206 nvkm_wo32(chan->base.inst, 0x220, lower_32_bits(mthd)); in gv100_fifo_gpfifo_new_()
207 nvkm_wo32(chan->base.inst, 0x224, upper_32_bits(mthd)); in gv100_fifo_gpfifo_new_()
A Dga102.c48 struct nvkm_memory *mthd; member
135 nvkm_memory_unref(&chan->mthd); in ga102_chan_dtor()
187 ret = nvkm_memory_new(device, NVKM_MEM_TARGET_INST, 0x1000, 0x1000, true, &chan->mthd); in ga102_chan_new()
209 nvkm_wo32(chan->inst, 0x220, lower_32_bits(nvkm_memory_bar2(chan->mthd))); in ga102_chan_new()
210 nvkm_wo32(chan->inst, 0x224, upper_32_bits(nvkm_memory_bar2(chan->mthd))); in ga102_chan_new()
275 ga102_fifo_info(struct nvkm_engine *engine, u64 mthd, u64 *data) in ga102_fifo_info() argument
277 switch (mthd) { in ga102_fifo_info()
/linux/drivers/gpu/drm/nouveau/nvif/
A Dobject.c139 nvif_object_mthd(struct nvif_object *object, u32 mthd, void *data, u32 size) in nvif_object_mthd() argument
143 struct nvif_ioctl_mthd_v0 mthd; in nvif_object_mthd() member
156 args->mthd.version = 0; in nvif_object_mthd()
157 args->mthd.method = mthd; in nvif_object_mthd()
159 memcpy(args->mthd.data, data, size); in nvif_object_mthd()
161 memcpy(data, args->mthd.data, size); in nvif_object_mthd()
/linux/drivers/gpu/drm/nouveau/nvkm/core/
A Doproxy.c27 nvkm_oproxy_mthd(struct nvkm_object *object, u32 mthd, void *data, u32 size) in nvkm_oproxy_mthd() argument
29 return nvkm_object_mthd(nvkm_oproxy(object)->object, mthd, data, size); in nvkm_oproxy_mthd()
33 nvkm_oproxy_ntfy(struct nvkm_object *object, u32 mthd, in nvkm_oproxy_ntfy() argument
36 return nvkm_object_ntfy(nvkm_oproxy(object)->object, mthd, pevent); in nvkm_oproxy_ntfy()
179 .mthd = nvkm_oproxy_mthd,

Completed in 41 milliseconds

1234