/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/core/ |
D | subdev.c | 39 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() 57 const char *action = suspend ? "suspend" : subdev->use.enabled ? "fini" : "reset"; in nvkm_subdev_fini() 60 nvkm_trace(subdev, "%s running...\n", action); in nvkm_subdev_fini() [all …]
|
D | engine.c | 44 nvkm_subdev_fini(&engine->subdev, false); in nvkm_engine_reset() 45 return nvkm_subdev_init(&engine->subdev); in nvkm_engine_reset() 54 nvkm_subdev_unref(&engine->subdev); in nvkm_engine_unref() 65 ret = nvkm_subdev_ref(&engine->subdev); in nvkm_engine_ref() 76 struct nvkm_fb *fb = engine->subdev.device->fb; in nvkm_engine_tile() 82 nvkm_engine_intr(struct nvkm_subdev *subdev) in nvkm_engine_intr() argument 84 struct nvkm_engine *engine = nvkm_engine(subdev); in nvkm_engine_intr() 90 nvkm_engine_info(struct nvkm_subdev *subdev, u64 mthd, u64 *data) in nvkm_engine_info() argument 92 struct nvkm_engine *engine = nvkm_engine(subdev); in nvkm_engine_info() 101 nvkm_engine_fini(struct nvkm_subdev *subdev, bool suspend) in nvkm_engine_fini() argument [all …]
|
/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/nvfw/ |
D | acr.c | 26 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 …]
|
D | flcn.c | 26 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 …]
|
D | ls.c | 26 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 …]
|
D | hs.c | 26 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 …]
|
D | fw.c | 26 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 …]
|
/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
D | Kbuild | 2 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 …]
|
D | base.c | 50 struct nvkm_device *device = fb->subdev.device; in nvkm_fb_tile_prog() 72 struct nvkm_subdev *subdev = &bios->subdev; in nvkm_fb_bios_memtype() local 73 struct nvkm_device *device = subdev->device; in nvkm_fb_bios_memtype() 88 nvkm_warn(subdev, "M0203E type %02x\n", M0203E.type); in nvkm_fb_bios_memtype() 93 nvkm_warn(subdev, "M0203E not matched!\n"); in nvkm_fb_bios_memtype() 98 nvkm_fb_intr(struct nvkm_subdev *subdev) in nvkm_fb_intr() argument 100 struct nvkm_fb *fb = nvkm_fb(subdev); in nvkm_fb_intr() 106 nvkm_fb_oneinit(struct nvkm_subdev *subdev) in nvkm_fb_oneinit() argument 108 struct nvkm_fb *fb = nvkm_fb(subdev); in nvkm_fb_oneinit() 114 nvkm_error(subdev, "vram setup failed, %d\n", ret); in nvkm_fb_oneinit() [all …]
|
/linux-6.6.21/drivers/mtd/ |
D | mtdconcat.c | 32 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 …]
|
/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
D | Kbuild | 2 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 …]
|
/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
D | Kbuild | 2 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 …]
|
/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/subdev/ |
D | Kbuild | 2 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 …]
|
/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/ |
D | Kbuild | 2 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 …]
|
/linux-6.6.21/drivers/mtd/maps/ |
D | sa1100-flash.c | 37 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 …]
|
/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/ |
D | Kbuild | 2 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 …]
|
/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/subdev/therm/ |
D | Kbuild | 2 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 …]
|
/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/engine/ce/ |
D | ga100.c | 31 struct nvkm_subdev *subdev = container_of(inth, typeof(*subdev), inth); in ga100_ce_intr() local 34 nvkm_error(subdev, "intr\n"); in ga100_ce_intr() 41 struct nvkm_subdev *subdev = &engine->subdev; in ga100_ce_nonstall() local 42 struct nvkm_device *device = subdev->device; in ga100_ce_nonstall() 44 return nvkm_rd32(device, 0x104424 + (subdev->inst * 0x80)) & 0x00000fff; in ga100_ce_nonstall() 50 nvkm_inth_block(&engine->subdev.inth); in ga100_ce_fini() 57 nvkm_inth_allow(&engine->subdev.inth); in ga100_ce_init() 64 struct nvkm_subdev *subdev = &engine->subdev; in ga100_ce_oneinit() local 65 struct nvkm_device *device = subdev->device; in ga100_ce_oneinit() 68 vector = nvkm_rd32(device, 0x10442c + (subdev->inst * 0x80)) & 0x00000fff; in ga100_ce_oneinit() [all …]
|
/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/subdev/mc/ |
D | Kbuild | 2 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 …]
|
/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/subdev/timer/ |
D | nv04.c | 30 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 …]
|
/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/subdev/pci/ |
D | Kbuild | 2 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 …]
|
/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/ |
D | Kbuild | 2 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 …]
|
/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
D | nv50.c | 35 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 …]
|
/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/subdev/clk/ |
D | Kbuild | 2 nvkm-y += nvkm/subdev/clk/base.o 3 nvkm-y += nvkm/subdev/clk/nv04.o 4 nvkm-y += nvkm/subdev/clk/nv40.o 5 nvkm-y += nvkm/subdev/clk/nv50.o 6 nvkm-y += nvkm/subdev/clk/g84.o 7 nvkm-y += nvkm/subdev/clk/gt215.o 8 nvkm-y += nvkm/subdev/clk/mcp77.o 9 nvkm-y += nvkm/subdev/clk/gf100.o 10 nvkm-y += nvkm/subdev/clk/gk104.o 11 nvkm-y += nvkm/subdev/clk/gk20a.o [all …]
|
/linux-6.6.21/drivers/staging/media/tegra-video/ |
D | vip.c | 29 static inline struct tegra_vip_channel *subdev_to_vip_channel(struct v4l2_subdev *subdev) in subdev_to_vip_channel() argument 31 return container_of(subdev, struct tegra_vip_channel, subdev); in subdev_to_vip_channel() 51 static int tegra_vip_enable_stream(struct v4l2_subdev *subdev) in tegra_vip_enable_stream() argument 53 struct tegra_vip_channel *vip_chan = subdev_to_vip_channel(subdev); in tegra_vip_enable_stream() 78 static int tegra_vip_disable_stream(struct v4l2_subdev *subdev) in tegra_vip_disable_stream() argument 80 struct tegra_vip_channel *vip_chan = subdev_to_vip_channel(subdev); in tegra_vip_disable_stream() 91 static int tegra_vip_s_stream(struct v4l2_subdev *subdev, int enable) in tegra_vip_s_stream() argument 96 err = tegra_vip_enable_stream(subdev); in tegra_vip_s_stream() 98 err = tegra_vip_disable_stream(subdev); in tegra_vip_s_stream() 160 struct v4l2_subdev *subdev; in tegra_vip_channel_init() local [all …]
|