/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/core/ |
H A D | subdev.c | 42 subdev->func->intr(subdev); in nvkm_subdev_intr() 49 return subdev->func->info(subdev, mthd, data); in nvkm_subdev_info() 64 int ret = subdev->func->fini(subdev, suspend); in nvkm_subdev_fini() 73 nvkm_mc_reset(device, subdev->type, subdev->inst); in nvkm_subdev_fini() 89 int ret = subdev->func->preinit(subdev); in nvkm_subdev_preinit() 107 if (!subdev->func->oneinit || subdev->oneinit) in nvkm_subdev_oneinit_() 112 ret = subdev->func->oneinit(subdev); in nvkm_subdev_oneinit_() 145 ret = subdev->func->init(subdev); in nvkm_subdev_init_() 221 if (subdev && !WARN_ON(!subdev->func)) { in nvkm_subdev_del() 226 *psubdev = subdev->func->dtor(subdev); in nvkm_subdev_del() [all …]
|
H A 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 110 nvkm_engine_init(struct nvkm_subdev *subdev) in nvkm_engine_init() argument 113 struct nvkm_fb *fb = subdev->device->fb; in nvkm_engine_init() 125 nvkm_engine_oneinit(struct nvkm_subdev *subdev) in nvkm_engine_oneinit() argument 145 nvkm_engine_dtor(struct nvkm_subdev *subdev) in nvkm_engine_dtor() argument [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/nvfw/ |
H A D | acr.c | 28 nvkm_debug(subdev, "wprHeader\n"); in wpr_header_dump() 39 nvkm_debug(subdev, "wprHeader\n"); in wpr_header_v1_dump() 51 nvkm_debug(subdev, "wprGenericHeader\n"); in wpr_generic_header_dump() 60 wpr_generic_header_dump(subdev, &hdr->hdr); in wpr_header_v2_dump() 61 wpr_header_v1_dump(subdev, &hdr->wpr); in wpr_header_v2_dump() 68 nvkm_debug(subdev, "lsbHeader\n"); in lsb_header_v2_dump() 92 nvkm_debug(subdev, "lsbHeader\n"); in lsb_header_tail_dump() 110 lsb_header_tail_dump(subdev, &hdr->tail); in lsb_header_dump() 116 lsb_header_tail_dump(subdev, &hdr->tail); in lsb_header_v1_dump() 124 nvkm_debug(subdev, "acrDesc\n"); in flcn_acr_desc_dump() [all …]
|
H A D | flcn.c | 28 nvkm_debug(subdev, "loaderConfig\n"); in loader_config_dump() 29 nvkm_debug(subdev, "\tdmaIdx : %d\n", hdr->dma_idx); in loader_config_dump() 45 loader_config_v1_dump(struct nvkm_subdev *subdev, in loader_config_v1_dump() argument 48 nvkm_debug(subdev, "loaderConfig\n"); in loader_config_v1_dump() 50 nvkm_debug(subdev, "\tdmaIdx : %d\n", hdr->dma_idx); in loader_config_v1_dump() 63 flcn_bl_dmem_desc_dump(struct nvkm_subdev *subdev, in flcn_bl_dmem_desc_dump() argument 66 nvkm_debug(subdev, "flcnBlDmemDesc\n"); in flcn_bl_dmem_desc_dump() 87 flcn_bl_dmem_desc_v1_dump(struct nvkm_subdev *subdev, in flcn_bl_dmem_desc_v1_dump() argument 90 nvkm_debug(subdev, "flcnBlDmemDesc\n"); in flcn_bl_dmem_desc_v1_dump() 109 flcn_bl_dmem_desc_v2_dump(struct nvkm_subdev *subdev, in flcn_bl_dmem_desc_v2_dump() argument [all …]
|
H A 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() 35 nvkm_debug(subdev, "\ttoolsVersion : 0x%x\n", in nvfw_ls_desc_head() 77 nvfw_ls_desc_head(subdev, &hdr->head); in nvfw_ls_desc() 95 nvfw_ls_desc_head(subdev, &hdr->head); in nvfw_ls_desc_v1() 97 nvkm_debug(subdev, "\tnbImemOverlays : %d\n", in nvfw_ls_desc_v1() 99 nvkm_debug(subdev, "\tnbDmemOverlays : %d\n", in nvfw_ls_desc_v1() 117 nvkm_debug(subdev, "lsUcodeImgDesc:\n"); in nvfw_ls_desc_v2() 158 nvkm_debug(subdev, "lsHsblBinHdr:\n"); in nvfw_ls_hsbl_bin_hdr() [all …]
|
H A 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() 42 nvfw_hs_header_v2(struct nvkm_subdev *subdev, const void *data) in nvfw_hs_header_v2() argument 46 nvkm_debug(subdev, "hsHeader:\n"); in nvfw_hs_header_v2() 53 nvkm_debug(subdev, "\tnumSig : 0x%x\n", hdr->num_sig); in nvfw_hs_header_v2() 65 nvkm_debug(subdev, "hsLoadHeader:\n"); in nvfw_hs_load_header() 66 nvkm_debug(subdev, "\tnonSecCodeOff : 0x%x\n", in nvfw_hs_load_header() 68 nvkm_debug(subdev, "\tnonSecCodeSize : 0x%x\n", in nvfw_hs_load_header() 74 nvkm_debug(subdev, in nvfw_hs_load_header() 88 nvkm_debug(subdev, "hsLoadHeader:\n"); in nvfw_hs_load_header_v2() [all …]
|
H A 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() 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() 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() 44 nvkm_debug(subdev, "\tstartTag : 0x%x\n", hdr->start_tag); in nvfw_bl_desc() 46 nvkm_debug(subdev, "\tcodeOff : 0x%x\n", hdr->code_off); in nvfw_bl_desc() 47 nvkm_debug(subdev, "\tcodeSize : 0x%x\n", hdr->code_size); in nvfw_bl_desc() [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
H A 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 …]
|
/openbmc/u-boot/drivers/mtd/ |
H A D | mtdconcat.c | 73 struct mtd_info *subdev = concat->subdev[i]; in concat_read() local 129 struct mtd_info *subdev = concat->subdev[i]; in concat_write() local 188 struct mtd_info *subdev = concat->subdev[i]; in concat_writev() local 245 struct mtd_info *subdev = concat->subdev[i]; in concat_read_oob() local 305 struct mtd_info *subdev = concat->subdev[i]; in concat_write_oob() local 449 subdev = concat->subdev[i]; in concat_erase() 509 struct mtd_info *subdev = concat->subdev[i]; in concat_lock() local 543 struct mtd_info *subdev = concat->subdev[i]; in concat_unlock() local 577 struct mtd_info *subdev = concat->subdev[i]; in concat_sync() local 753 concat->subdev[0] = subdev[0]; in mtd_concat_create() [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
H A 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 11 nvkm-y += nvkm/subdev/bios/fan.o 12 nvkm-y += nvkm/subdev/bios/gpio.o [all …]
|
/openbmc/linux/drivers/mtd/ |
H A D | mtdconcat.c | 62 struct mtd_info *subdev = concat->subdev[i]; in concat_read() local 113 struct mtd_info *subdev = concat->subdev[i]; in concat_panic_write() local 155 struct mtd_info *subdev = concat->subdev[i]; in concat_write() local 213 struct mtd_info *subdev = concat->subdev[i]; in concat_writev() local 269 struct mtd_info *subdev = concat->subdev[i]; in concat_read_oob() local 329 struct mtd_info *subdev = concat->subdev[i]; in concat_write_oob() local 432 subdev = concat->subdev[i]; in concat_erase() 488 struct mtd_info *subdev = concat->subdev[i]; in concat_xxlock() local 535 struct mtd_info *subdev = concat->subdev[i]; in concat_is_locked() local 704 concat->subdev[0] = subdev[0]; in mtd_concat_create() [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
H A 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 …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/ |
H A 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 8 include $(src)/nvkm/subdev/fault/Kbuild 9 include $(src)/nvkm/subdev/fb/Kbuild 10 include $(src)/nvkm/subdev/fuse/Kbuild 12 include $(src)/nvkm/subdev/gsp/Kbuild 13 include $(src)/nvkm/subdev/i2c/Kbuild [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/ |
H A 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 13 nvkm-y += nvkm/subdev/i2c/pad.o [all …]
|
/openbmc/linux/drivers/mtd/maps/ |
H A D | sa1100-flash.c | 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() 64 release_mem_region(subdev->map.phys, subdev->map.size); in sa1100_destroy_subdev() 102 subdev->map.phys = phys; in sa1100_probe_subdev() 103 subdev->map.size = size; in sa1100_probe_subdev() 105 if (!subdev->map.virt) { in sa1100_probe_subdev() 116 subdev->mtd = do_map_probe(subdev->plat->map_name, &subdev->map); in sa1100_probe_subdev() 191 struct sa_subdev_info *subdev = &info->subdev[i]; in sa1100_setup_mtd() local 198 subdev->map.name = subdev->name; in sa1100_setup_mtd() [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/therm/ |
H A 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 …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/ |
H A 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 …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/ce/ |
H A 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 …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/mc/ |
H A 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 …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/timer/ |
H A 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() 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() 93 struct nvkm_subdev *subdev = &tmr->subdev; in nv04_timer_init() local [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/pci/ |
H A 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 …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/ |
H A 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 …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/clk/ |
H A 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 …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
H A D | nv50.c | 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() 284 struct nvkm_subdev *subdev = &gr->base.engine.subdev; in nv50_gr_mp_trap() local 328 struct nvkm_subdev *subdev = &gr->base.engine.subdev; in nv50_gr_tp_trap() local 351 nvkm_error(subdev, "\t%08x: %08x\n", r, in nv50_gr_tp_trap() 356 nvkm_error(subdev, in nv50_gr_tp_trap() 398 struct nvkm_subdev *subdev = &gr->base.engine.subdev; in nv50_gr_trap_handler() local 432 nvkm_error(subdev, in nv50_gr_trap_handler() 458 nvkm_error(subdev, in nv50_gr_trap_handler() 473 nvkm_error(subdev, "TRAP_DISPATCH " in nv50_gr_trap_handler() [all …]
|
/openbmc/linux/drivers/staging/media/tegra-video/ |
H A D | vip.c | 31 return container_of(subdev, struct tegra_vip_channel, subdev); in subdev_to_vip_channel() 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 163 subdev = &vip->chan.subdev; in tegra_vip_channel_init() 165 subdev->dev = vip->dev; in tegra_vip_channel_init() 169 v4l2_set_subdevdata(subdev, &vip->chan); in tegra_vip_channel_init() 186 media_entity_cleanup(&subdev->entity); in tegra_vip_channel_init() 213 struct v4l2_subdev *subdev = &vip->chan.subdev; in tegra_vip_exit() local 215 v4l2_async_unregister_subdev(subdev); in tegra_vip_exit() [all …]
|