Home
last modified time | relevance | path

Searched refs:subdev (Results 1 – 25 of 679) sorted by relevance

12345678910>>...28

/drivers/gpu/drm/nouveau/nvkm/core/
Dsubdev.c39 nvkm_subdev_intr(struct nvkm_subdev *subdev) in nvkm_subdev_intr() argument
41 if (subdev->func->intr) in nvkm_subdev_intr()
42 subdev->func->intr(subdev); in nvkm_subdev_intr()
46 nvkm_subdev_info(struct nvkm_subdev *subdev, u64 mthd, u64 *data) in nvkm_subdev_info() argument
48 if (subdev->func->info) in nvkm_subdev_info()
49 return subdev->func->info(subdev, mthd, data); in nvkm_subdev_info()
54 nvkm_subdev_fini(struct nvkm_subdev *subdev, bool suspend) in nvkm_subdev_fini() argument
56 struct nvkm_device *device = subdev->device; in nvkm_subdev_fini()
60 nvkm_trace(subdev, "%s running...\n", action); in nvkm_subdev_fini()
63 if (subdev->func->fini) { in nvkm_subdev_fini()
[all …]
Dengine.c44 nvkm_subdev_fini(&engine->subdev, false); in nvkm_engine_unref()
61 if ((ret = nvkm_subdev_init(&engine->subdev))) { in nvkm_engine_ref()
77 struct nvkm_fb *fb = engine->subdev.device->fb; in nvkm_engine_tile()
83 nvkm_engine_intr(struct nvkm_subdev *subdev) in nvkm_engine_intr() argument
85 struct nvkm_engine *engine = nvkm_engine(subdev); in nvkm_engine_intr()
91 nvkm_engine_info(struct nvkm_subdev *subdev, u64 mthd, u64 *data) in nvkm_engine_info() argument
93 struct nvkm_engine *engine = nvkm_engine(subdev); in nvkm_engine_info()
106 nvkm_engine_fini(struct nvkm_subdev *subdev, bool suspend) in nvkm_engine_fini() argument
108 struct nvkm_engine *engine = nvkm_engine(subdev); in nvkm_engine_fini()
115 nvkm_engine_init(struct nvkm_subdev *subdev) in nvkm_engine_init() argument
[all …]
/drivers/gpu/drm/nouveau/nvkm/nvfw/
Dacr.c26 wpr_header_dump(struct nvkm_subdev *subdev, const struct wpr_header *hdr) in wpr_header_dump() argument
28 nvkm_debug(subdev, "wprHeader\n"); in wpr_header_dump()
29 nvkm_debug(subdev, "\tfalconID : %d\n", hdr->falcon_id); in wpr_header_dump()
30 nvkm_debug(subdev, "\tlsbOffset : 0x%x\n", hdr->lsb_offset); in wpr_header_dump()
31 nvkm_debug(subdev, "\tbootstrapOwner: %d\n", hdr->bootstrap_owner); in wpr_header_dump()
32 nvkm_debug(subdev, "\tlazyBootstrap : %d\n", hdr->lazy_bootstrap); in wpr_header_dump()
33 nvkm_debug(subdev, "\tstatus : %d\n", hdr->status); in wpr_header_dump()
37 wpr_header_v1_dump(struct nvkm_subdev *subdev, const struct wpr_header_v1 *hdr) in wpr_header_v1_dump() argument
39 nvkm_debug(subdev, "wprHeader\n"); in wpr_header_v1_dump()
40 nvkm_debug(subdev, "\tfalconID : %d\n", hdr->falcon_id); in wpr_header_v1_dump()
[all …]
Dflcn.c26 loader_config_dump(struct nvkm_subdev *subdev, const struct loader_config *hdr) in loader_config_dump() argument
28 nvkm_debug(subdev, "loaderConfig\n"); in loader_config_dump()
29 nvkm_debug(subdev, "\tdmaIdx : %d\n", hdr->dma_idx); in loader_config_dump()
30 nvkm_debug(subdev, "\tcodeDmaBase : 0x%xx\n", hdr->code_dma_base); in loader_config_dump()
31 nvkm_debug(subdev, "\tcodeSizeTotal : 0x%x\n", hdr->code_size_total); in loader_config_dump()
32 nvkm_debug(subdev, "\tcodeSizeToLoad: 0x%x\n", hdr->code_size_to_load); in loader_config_dump()
33 nvkm_debug(subdev, "\tcodeEntryPoint: 0x%x\n", hdr->code_entry_point); in loader_config_dump()
34 nvkm_debug(subdev, "\tdataDmaBase : 0x%x\n", hdr->data_dma_base); in loader_config_dump()
35 nvkm_debug(subdev, "\tdataSize : 0x%x\n", hdr->data_size); in loader_config_dump()
36 nvkm_debug(subdev, "\toverlayDmaBase: 0x%x\n", hdr->overlay_dma_base); in loader_config_dump()
[all …]
Dls.c26 nvfw_ls_desc_head(struct nvkm_subdev *subdev, in nvfw_ls_desc_head() argument
31 nvkm_debug(subdev, "lsUcodeImgDesc:\n"); in nvfw_ls_desc_head()
32 nvkm_debug(subdev, "\tdescriptorSize : %d\n", in nvfw_ls_desc_head()
34 nvkm_debug(subdev, "\timageSize : %d\n", hdr->image_size); in nvfw_ls_desc_head()
35 nvkm_debug(subdev, "\ttoolsVersion : 0x%x\n", in nvfw_ls_desc_head()
37 nvkm_debug(subdev, "\tappVersion : 0x%x\n", hdr->app_version); in nvfw_ls_desc_head()
40 nvkm_debug(subdev, "\tdate : %s\n", date); in nvfw_ls_desc_head()
43 nvkm_debug(subdev, "\tbootloaderStartOffset: 0x%x\n", in nvfw_ls_desc_head()
45 nvkm_debug(subdev, "\tbootloaderSize : 0x%x\n", in nvfw_ls_desc_head()
47 nvkm_debug(subdev, "\tbootloaderImemOffset : 0x%x\n", in nvfw_ls_desc_head()
[all …]
Dhs.c26 nvfw_hs_header(struct nvkm_subdev *subdev, const void *data) in nvfw_hs_header() argument
29 nvkm_debug(subdev, "hsHeader:\n"); in nvfw_hs_header()
30 nvkm_debug(subdev, "\tsigDbgOffset : 0x%x\n", hdr->sig_dbg_offset); in nvfw_hs_header()
31 nvkm_debug(subdev, "\tsigDbgSize : 0x%x\n", hdr->sig_dbg_size); in nvfw_hs_header()
32 nvkm_debug(subdev, "\tsigProdOffset : 0x%x\n", hdr->sig_prod_offset); in nvfw_hs_header()
33 nvkm_debug(subdev, "\tsigProdSize : 0x%x\n", hdr->sig_prod_size); in nvfw_hs_header()
34 nvkm_debug(subdev, "\tpatchLoc : 0x%x\n", hdr->patch_loc); in nvfw_hs_header()
35 nvkm_debug(subdev, "\tpatchSig : 0x%x\n", hdr->patch_sig); in nvfw_hs_header()
36 nvkm_debug(subdev, "\thdrOffset : 0x%x\n", hdr->hdr_offset); in nvfw_hs_header()
37 nvkm_debug(subdev, "\thdrSize : 0x%x\n", hdr->hdr_size); in nvfw_hs_header()
[all …]
Dfw.c26 nvfw_bin_hdr(struct nvkm_subdev *subdev, const void *data) in nvfw_bin_hdr() argument
29 nvkm_debug(subdev, "binHdr:\n"); in nvfw_bin_hdr()
30 nvkm_debug(subdev, "\tbinMagic : 0x%08x\n", hdr->bin_magic); in nvfw_bin_hdr()
31 nvkm_debug(subdev, "\tbinVer : %d\n", hdr->bin_ver); in nvfw_bin_hdr()
32 nvkm_debug(subdev, "\tbinSize : %d\n", hdr->bin_size); in nvfw_bin_hdr()
33 nvkm_debug(subdev, "\theaderOffset : 0x%x\n", hdr->header_offset); in nvfw_bin_hdr()
34 nvkm_debug(subdev, "\tdataOffset : 0x%x\n", hdr->data_offset); in nvfw_bin_hdr()
35 nvkm_debug(subdev, "\tdataSize : 0x%x\n", hdr->data_size); in nvfw_bin_hdr()
40 nvfw_bl_desc(struct nvkm_subdev *subdev, const void *data) in nvfw_bl_desc() argument
43 nvkm_debug(subdev, "blDesc\n"); in nvfw_bl_desc()
[all …]
/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
DKbuild2 nvkm-y += nvkm/subdev/fb/base.o
3 nvkm-y += nvkm/subdev/fb/nv04.o
4 nvkm-y += nvkm/subdev/fb/nv10.o
5 nvkm-y += nvkm/subdev/fb/nv1a.o
6 nvkm-y += nvkm/subdev/fb/nv20.o
7 nvkm-y += nvkm/subdev/fb/nv25.o
8 nvkm-y += nvkm/subdev/fb/nv30.o
9 nvkm-y += nvkm/subdev/fb/nv35.o
10 nvkm-y += nvkm/subdev/fb/nv36.o
11 nvkm-y += nvkm/subdev/fb/nv40.o
[all …]
/drivers/mtd/
Dmtdconcat.c32 struct mtd_info **subdev; member
62 struct mtd_info *subdev = concat->subdev[i]; in concat_read() local
65 if (from >= subdev->size) { in concat_read()
68 from -= subdev->size; in concat_read()
71 if (from + len > subdev->size) in concat_read()
73 size = subdev->size - from; in concat_read()
78 err = mtd_read(subdev, from, size, &retsize, buf); in concat_read()
113 struct mtd_info *subdev = concat->subdev[i]; in concat_panic_write() local
116 if (to >= subdev->size) { in concat_panic_write()
117 to -= subdev->size; in concat_panic_write()
[all …]
/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
DKbuild2 nvkm-y += nvkm/subdev/bios/base.o
3 nvkm-y += nvkm/subdev/bios/bit.o
4 nvkm-y += nvkm/subdev/bios/boost.o
5 nvkm-y += nvkm/subdev/bios/conn.o
6 nvkm-y += nvkm/subdev/bios/cstep.o
7 nvkm-y += nvkm/subdev/bios/dcb.o
8 nvkm-y += nvkm/subdev/bios/disp.o
9 nvkm-y += nvkm/subdev/bios/dp.o
10 nvkm-y += nvkm/subdev/bios/extdev.o
11 nvkm-y += nvkm/subdev/bios/fan.o
[all …]
/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
DKbuild2 nvkm-y += nvkm/subdev/mmu/base.o
3 nvkm-y += nvkm/subdev/mmu/nv04.o
4 nvkm-y += nvkm/subdev/mmu/nv41.o
5 nvkm-y += nvkm/subdev/mmu/nv44.o
6 nvkm-y += nvkm/subdev/mmu/nv50.o
7 nvkm-y += nvkm/subdev/mmu/g84.o
8 nvkm-y += nvkm/subdev/mmu/mcp77.o
9 nvkm-y += nvkm/subdev/mmu/gf100.o
10 nvkm-y += nvkm/subdev/mmu/gk104.o
11 nvkm-y += nvkm/subdev/mmu/gk20a.o
[all …]
/drivers/mtd/maps/
Dsa1100-flash.c37 struct sa_subdev_info subdev[]; member
44 struct sa_subdev_info *subdev = container_of(map, struct sa_subdev_info, map); in sa1100_set_vpp() local
50 subdev->plat->set_vpp(1); in sa1100_set_vpp()
53 subdev->plat->set_vpp(0); in sa1100_set_vpp()
58 static void sa1100_destroy_subdev(struct sa_subdev_info *subdev) in sa1100_destroy_subdev() argument
60 if (subdev->mtd) in sa1100_destroy_subdev()
61 map_destroy(subdev->mtd); in sa1100_destroy_subdev()
62 if (subdev->map.virt) in sa1100_destroy_subdev()
63 iounmap(subdev->map.virt); in sa1100_destroy_subdev()
64 release_mem_region(subdev->map.phys, subdev->map.size); in sa1100_destroy_subdev()
[all …]
/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/
DKbuild2 nvkm-y += nvkm/subdev/i2c/base.o
3 nvkm-y += nvkm/subdev/i2c/nv04.o
4 nvkm-y += nvkm/subdev/i2c/nv4e.o
5 nvkm-y += nvkm/subdev/i2c/nv50.o
6 nvkm-y += nvkm/subdev/i2c/g94.o
7 nvkm-y += nvkm/subdev/i2c/gf117.o
8 nvkm-y += nvkm/subdev/i2c/gf119.o
9 nvkm-y += nvkm/subdev/i2c/gk104.o
10 nvkm-y += nvkm/subdev/i2c/gk110.o
11 nvkm-y += nvkm/subdev/i2c/gm200.o
[all …]
/drivers/gpu/drm/nouveau/nvkm/subdev/
DKbuild2 include $(src)/nvkm/subdev/acr/Kbuild
3 include $(src)/nvkm/subdev/bar/Kbuild
4 include $(src)/nvkm/subdev/bios/Kbuild
5 include $(src)/nvkm/subdev/bus/Kbuild
6 include $(src)/nvkm/subdev/clk/Kbuild
7 include $(src)/nvkm/subdev/devinit/Kbuild
8 include $(src)/nvkm/subdev/fault/Kbuild
9 include $(src)/nvkm/subdev/fb/Kbuild
10 include $(src)/nvkm/subdev/fuse/Kbuild
11 include $(src)/nvkm/subdev/gpio/Kbuild
[all …]
/drivers/gpu/drm/nouveau/nvkm/subdev/therm/
DKbuild2 nvkm-y += nvkm/subdev/therm/base.o
3 nvkm-y += nvkm/subdev/therm/fan.o
4 nvkm-y += nvkm/subdev/therm/fannil.o
5 nvkm-y += nvkm/subdev/therm/fanpwm.o
6 nvkm-y += nvkm/subdev/therm/fantog.o
7 nvkm-y += nvkm/subdev/therm/ic.o
8 nvkm-y += nvkm/subdev/therm/temp.o
9 nvkm-y += nvkm/subdev/therm/nv40.o
10 nvkm-y += nvkm/subdev/therm/nv50.o
11 nvkm-y += nvkm/subdev/therm/g84.o
[all …]
/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/
DKbuild2 nvkm-y += nvkm/subdev/devinit/base.o
3 nvkm-y += nvkm/subdev/devinit/nv04.o
4 nvkm-y += nvkm/subdev/devinit/nv05.o
5 nvkm-y += nvkm/subdev/devinit/nv10.o
6 nvkm-y += nvkm/subdev/devinit/nv1a.o
7 nvkm-y += nvkm/subdev/devinit/nv20.o
8 nvkm-y += nvkm/subdev/devinit/nv50.o
9 nvkm-y += nvkm/subdev/devinit/g84.o
10 nvkm-y += nvkm/subdev/devinit/g98.o
11 nvkm-y += nvkm/subdev/devinit/gt215.o
[all …]
/drivers/gpu/drm/nouveau/nvkm/engine/gr/
Dnv50.c35 return nvkm_rd32(gr->engine.subdev.device, 0x1540); in nv50_gr_units()
46 int ret = nvkm_gpuobj_new(object->engine->subdev.device, 16, in nv50_gr_object_bind()
73 int ret = nvkm_gpuobj_new(gr->base.engine.subdev.device, gr->size, in nv50_gr_chan_bind()
77 nv50_grctx_fill(gr->base.engine.subdev.device, *pgpuobj); in nv50_gr_chan_bind()
242 struct nvkm_subdev *subdev = &gr->base.engine.subdev; in nv50_gr_prop_trap() local
243 struct nvkm_device *device = subdev->device; in nv50_gr_prop_trap()
257 nvkm_error(subdev, "TRAP_PROP - TP %d - CUDA_FAULT - Global read fault at address %02x%08x\n", in nv50_gr_prop_trap()
262 nvkm_error(subdev, "TRAP_PROP - TP %d - CUDA_FAULT - Global write fault at address %02x%08x\n", in nv50_gr_prop_trap()
266 nvkm_error(subdev, "TRAP_PROP - TP %d - Unknown CUDA fault at address %02x%08x\n", in nv50_gr_prop_trap()
273 nvkm_error(subdev, "TRAP_PROP - TP %d - %08x [%s] - " in nv50_gr_prop_trap()
[all …]
/drivers/gpu/drm/nouveau/nvkm/subdev/mc/
DKbuild2 nvkm-y += nvkm/subdev/mc/base.o
3 nvkm-y += nvkm/subdev/mc/nv04.o
4 nvkm-y += nvkm/subdev/mc/nv11.o
5 nvkm-y += nvkm/subdev/mc/nv17.o
6 nvkm-y += nvkm/subdev/mc/nv44.o
7 nvkm-y += nvkm/subdev/mc/nv50.o
8 nvkm-y += nvkm/subdev/mc/g84.o
9 nvkm-y += nvkm/subdev/mc/g98.o
10 nvkm-y += nvkm/subdev/mc/gt215.o
11 nvkm-y += nvkm/subdev/mc/gf100.o
[all …]
/drivers/gpu/drm/nouveau/nvkm/subdev/timer/
Dnv04.c30 struct nvkm_subdev *subdev = &tmr->subdev; in nv04_timer_time() local
31 struct nvkm_device *device = subdev->device; in nv04_timer_time()
35 nvkm_debug(subdev, "time low : %08x\n", lo); in nv04_timer_time()
36 nvkm_debug(subdev, "time high : %08x\n", hi); in nv04_timer_time()
45 struct nvkm_device *device = tmr->subdev.device; in nv04_timer_read()
59 struct nvkm_device *device = tmr->subdev.device; in nv04_timer_alarm_fini()
66 struct nvkm_device *device = tmr->subdev.device; in nv04_timer_alarm_init()
74 struct nvkm_subdev *subdev = &tmr->subdev; in nv04_timer_intr() local
75 struct nvkm_device *device = subdev->device; in nv04_timer_intr()
85 nvkm_error(subdev, "intr %08x\n", stat); in nv04_timer_intr()
[all …]
/drivers/remoteproc/
Dqcom_common.c25 #define to_glink_subdev(d) container_of(d, struct qcom_rproc_glink, subdev)
26 #define to_smd_subdev(d) container_of(d, struct qcom_rproc_subdev, subdev)
27 #define to_ssr_subdev(d) container_of(d, struct qcom_rproc_ssr, subdev)
183 static int glink_subdev_start(struct rproc_subdev *subdev) in glink_subdev_start() argument
185 struct qcom_rproc_glink *glink = to_glink_subdev(subdev); in glink_subdev_start()
192 static void glink_subdev_stop(struct rproc_subdev *subdev, bool crashed) in glink_subdev_stop() argument
194 struct qcom_rproc_glink *glink = to_glink_subdev(subdev); in glink_subdev_stop()
200 static void glink_subdev_unprepare(struct rproc_subdev *subdev) in glink_subdev_unprepare() argument
202 struct qcom_rproc_glink *glink = to_glink_subdev(subdev); in glink_subdev_unprepare()
227 glink->subdev.start = glink_subdev_start; in qcom_add_glink_subdev()
[all …]
/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
Dgk104.c44 struct nvkm_subdev *subdev = &fifo->base.engine.subdev; in gk104_fifo_engine_status() local
45 struct nvkm_device *device = subdev->device; in gk104_fifo_engine_status()
76 nvkm_debug(subdev, "engine %02d: busy %d faulted %d chsw %d " in gk104_fifo_engine_status()
128 struct nvkm_device *device = fifo->engine.subdev.device; in gk104_fifo_uevent_fini()
135 struct nvkm_device *device = fifo->engine.subdev.device; in gk104_fifo_uevent_init()
143 struct nvkm_subdev *subdev = &fifo->base.engine.subdev; in gk104_fifo_runlist_commit() local
144 struct nvkm_device *device = subdev->device; in gk104_fifo_runlist_commit()
163 nvkm_error(subdev, "runlist %d update timeout\n", runl); in gk104_fifo_runlist_commit()
242 struct nvkm_device *device = fifo->base.engine.subdev.device; in gk104_fifo_pbdma_init()
249 struct nvkm_device *device = fifo->base.engine.subdev.device; in gk104_fifo_pbdma_nr()
[all …]
Dgf100.c39 struct nvkm_device *device = fifo->engine.subdev.device; in gf100_fifo_uevent_init()
46 struct nvkm_device *device = fifo->engine.subdev.device; in gf100_fifo_uevent_fini()
54 struct nvkm_subdev *subdev = &fifo->base.engine.subdev; in gf100_fifo_runlist_commit() local
55 struct nvkm_device *device = subdev->device; in gf100_fifo_runlist_commit()
88 nvkm_error(subdev, "runlist update timeout\n"); in gf100_fifo_runlist_commit()
127 return nvkm_device_engine(fifo->engine.subdev.device, type, inst); in gf100_fifo_id_engine()
133 switch (engine->subdev.type) { in gf100_fifo_engine_id()
138 case NVKM_ENGINE_CE : return GF100_FIFO_ENGN_CE0 + engine->subdev.inst; in gf100_fifo_engine_id()
150 struct nvkm_device *device = fifo->base.engine.subdev.device; in gf100_fifo_recover_work()
164 nvkm_subdev_fini(&engine->subdev, false); in gf100_fifo_recover_work()
[all …]
/drivers/gpu/drm/nouveau/nvkm/subdev/acr/
Dbase.c42 struct nvkm_subdev *subdev = &acr->subdev; in nvkm_acr_hsf_boot() local
50 nvkm_debug(subdev, "executing %s binary\n", hsf->name); in nvkm_acr_hsf_boot()
51 ret = nvkm_falcon_get(hsf->falcon, subdev); in nvkm_acr_hsf_boot()
56 nvkm_falcon_put(hsf->falcon, subdev); in nvkm_acr_hsf_boot()
58 nvkm_error(subdev, "%s binary failed\n", hsf->name); in nvkm_acr_hsf_boot()
62 nvkm_debug(subdev, "%s binary completed successfully\n", hsf->name); in nvkm_acr_hsf_boot()
78 struct nvkm_subdev *subdev = &acr->subdev; in nvkm_acr_load() local
84 nvkm_debug(subdev, "No LSF(s) present.\n"); in nvkm_acr_load()
95 nvkm_error(subdev, "WPR not configured as expected: " in nvkm_acr_load()
190 nvkm_acr_fini(struct nvkm_subdev *subdev, bool suspend) in nvkm_acr_fini() argument
[all …]
/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/
DKbuild2 nvkm-y += nvkm/subdev/pmu/base.o
3 nvkm-y += nvkm/subdev/pmu/memx.o
4 nvkm-y += nvkm/subdev/pmu/gt215.o
5 nvkm-y += nvkm/subdev/pmu/gf100.o
6 nvkm-y += nvkm/subdev/pmu/gf119.o
7 nvkm-y += nvkm/subdev/pmu/gk104.o
8 nvkm-y += nvkm/subdev/pmu/gk110.o
9 nvkm-y += nvkm/subdev/pmu/gk208.o
10 nvkm-y += nvkm/subdev/pmu/gk20a.o
11 nvkm-y += nvkm/subdev/pmu/gm107.o
[all …]
/drivers/gpu/drm/nouveau/nvkm/subdev/pci/
DKbuild2 nvkm-y += nvkm/subdev/pci/agp.o
3 nvkm-y += nvkm/subdev/pci/base.o
4 nvkm-y += nvkm/subdev/pci/pcie.o
5 nvkm-y += nvkm/subdev/pci/nv04.o
6 nvkm-y += nvkm/subdev/pci/nv40.o
7 nvkm-y += nvkm/subdev/pci/nv46.o
8 nvkm-y += nvkm/subdev/pci/nv4c.o
9 nvkm-y += nvkm/subdev/pci/g84.o
10 nvkm-y += nvkm/subdev/pci/g92.o
11 nvkm-y += nvkm/subdev/pci/g94.o
[all …]

12345678910>>...28