Home
last modified time | relevance | path

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

12345678910>>...28

/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/core/
Dsubdev.c92 nvkm_subdev_intr(struct nvkm_subdev *subdev) in nvkm_subdev_intr() argument
94 if (subdev->func->intr) in nvkm_subdev_intr()
95 subdev->func->intr(subdev); in nvkm_subdev_intr()
99 nvkm_subdev_info(struct nvkm_subdev *subdev, u64 mthd, u64 *data) in nvkm_subdev_info() argument
101 if (subdev->func->info) in nvkm_subdev_info()
102 return subdev->func->info(subdev, mthd, data); in nvkm_subdev_info()
107 nvkm_subdev_fini(struct nvkm_subdev *subdev, bool suspend) in nvkm_subdev_fini() argument
109 struct nvkm_device *device = subdev->device; in nvkm_subdev_fini()
113 nvkm_trace(subdev, "%s running...\n", action); in nvkm_subdev_fini()
116 if (subdev->func->fini) { in nvkm_subdev_fini()
[all …]
Dengine.c43 mutex_lock(&engine->subdev.mutex); in nvkm_engine_unref()
45 nvkm_subdev_fini(&engine->subdev, false); in nvkm_engine_unref()
46 mutex_unlock(&engine->subdev.mutex); in nvkm_engine_unref()
55 mutex_lock(&engine->subdev.mutex); in nvkm_engine_ref()
57 int ret = nvkm_subdev_init(&engine->subdev); in nvkm_engine_ref()
60 mutex_unlock(&engine->subdev.mutex); in nvkm_engine_ref()
64 mutex_unlock(&engine->subdev.mutex); in nvkm_engine_ref()
72 struct nvkm_fb *fb = engine->subdev.device->fb; in nvkm_engine_tile()
78 nvkm_engine_intr(struct nvkm_subdev *subdev) in nvkm_engine_intr() argument
80 struct nvkm_engine *engine = nvkm_engine(subdev); in nvkm_engine_intr()
[all …]
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
DKbuild1 nvkm-y += nvkm/subdev/fb/base.o
2 nvkm-y += nvkm/subdev/fb/nv04.o
3 nvkm-y += nvkm/subdev/fb/nv10.o
4 nvkm-y += nvkm/subdev/fb/nv1a.o
5 nvkm-y += nvkm/subdev/fb/nv20.o
6 nvkm-y += nvkm/subdev/fb/nv25.o
7 nvkm-y += nvkm/subdev/fb/nv30.o
8 nvkm-y += nvkm/subdev/fb/nv35.o
9 nvkm-y += nvkm/subdev/fb/nv36.o
10 nvkm-y += nvkm/subdev/fb/nv40.o
[all …]
/Linux-v4.19/drivers/mtd/
Dmtdconcat.c46 struct mtd_info **subdev; member
76 struct mtd_info *subdev = concat->subdev[i]; in concat_read() local
79 if (from >= subdev->size) { in concat_read()
82 from -= subdev->size; in concat_read()
85 if (from + len > subdev->size) in concat_read()
87 size = subdev->size - from; in concat_read()
92 err = mtd_read(subdev, from, size, &retsize, buf); in concat_read()
128 struct mtd_info *subdev = concat->subdev[i]; in concat_write() local
131 if (to >= subdev->size) { in concat_write()
133 to -= subdev->size; in concat_write()
[all …]
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
DKbuild1 nvkm-y += nvkm/subdev/bios/base.o
2 nvkm-y += nvkm/subdev/bios/bit.o
3 nvkm-y += nvkm/subdev/bios/boost.o
4 nvkm-y += nvkm/subdev/bios/conn.o
5 nvkm-y += nvkm/subdev/bios/cstep.o
6 nvkm-y += nvkm/subdev/bios/dcb.o
7 nvkm-y += nvkm/subdev/bios/disp.o
8 nvkm-y += nvkm/subdev/bios/dp.o
9 nvkm-y += nvkm/subdev/bios/extdev.o
10 nvkm-y += nvkm/subdev/bios/fan.o
[all …]
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
DKbuild1 nvkm-y += nvkm/subdev/mmu/base.o
2 nvkm-y += nvkm/subdev/mmu/nv04.o
3 nvkm-y += nvkm/subdev/mmu/nv41.o
4 nvkm-y += nvkm/subdev/mmu/nv44.o
5 nvkm-y += nvkm/subdev/mmu/nv50.o
6 nvkm-y += nvkm/subdev/mmu/g84.o
7 nvkm-y += nvkm/subdev/mmu/mcp77.o
8 nvkm-y += nvkm/subdev/mmu/gf100.o
9 nvkm-y += nvkm/subdev/mmu/gk104.o
10 nvkm-y += nvkm/subdev/mmu/gk20a.o
[all …]
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/
DKbuild1 nvkm-y += nvkm/subdev/i2c/base.o
2 nvkm-y += nvkm/subdev/i2c/nv04.o
3 nvkm-y += nvkm/subdev/i2c/nv4e.o
4 nvkm-y += nvkm/subdev/i2c/nv50.o
5 nvkm-y += nvkm/subdev/i2c/g94.o
6 nvkm-y += nvkm/subdev/i2c/gf117.o
7 nvkm-y += nvkm/subdev/i2c/gf119.o
8 nvkm-y += nvkm/subdev/i2c/gk104.o
9 nvkm-y += nvkm/subdev/i2c/gm200.o
11 nvkm-y += nvkm/subdev/i2c/pad.o
[all …]
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/subdev/
DKbuild1 include $(src)/nvkm/subdev/bar/Kbuild
2 include $(src)/nvkm/subdev/bios/Kbuild
3 include $(src)/nvkm/subdev/bus/Kbuild
4 include $(src)/nvkm/subdev/clk/Kbuild
5 include $(src)/nvkm/subdev/devinit/Kbuild
6 include $(src)/nvkm/subdev/fault/Kbuild
7 include $(src)/nvkm/subdev/fb/Kbuild
8 include $(src)/nvkm/subdev/fuse/Kbuild
9 include $(src)/nvkm/subdev/gpio/Kbuild
10 include $(src)/nvkm/subdev/i2c/Kbuild
[all …]
/Linux-v4.19/drivers/mtd/maps/
Dsa1100-flash.c36 struct sa_subdev_info subdev[0]; member
43 struct sa_subdev_info *subdev = container_of(map, struct sa_subdev_info, map); in sa1100_set_vpp() local
49 subdev->plat->set_vpp(1); in sa1100_set_vpp()
52 subdev->plat->set_vpp(0); in sa1100_set_vpp()
57 static void sa1100_destroy_subdev(struct sa_subdev_info *subdev) in sa1100_destroy_subdev() argument
59 if (subdev->mtd) in sa1100_destroy_subdev()
60 map_destroy(subdev->mtd); in sa1100_destroy_subdev()
61 if (subdev->map.virt) in sa1100_destroy_subdev()
62 iounmap(subdev->map.virt); in sa1100_destroy_subdev()
63 release_mem_region(subdev->map.phys, subdev->map.size); in sa1100_destroy_subdev()
[all …]
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/subdev/therm/
DKbuild1 nvkm-y += nvkm/subdev/therm/base.o
2 nvkm-y += nvkm/subdev/therm/fan.o
3 nvkm-y += nvkm/subdev/therm/fannil.o
4 nvkm-y += nvkm/subdev/therm/fanpwm.o
5 nvkm-y += nvkm/subdev/therm/fantog.o
6 nvkm-y += nvkm/subdev/therm/ic.o
7 nvkm-y += nvkm/subdev/therm/temp.o
8 nvkm-y += nvkm/subdev/therm/nv40.o
9 nvkm-y += nvkm/subdev/therm/nv50.o
10 nvkm-y += nvkm/subdev/therm/g84.o
[all …]
Dnv40.c32 switch (therm->subdev.device->chipset) { in nv40_sensor_style()
55 struct nvkm_device *device = therm->subdev.device; in nv40_sensor_setup()
75 struct nvkm_device *device = therm->subdev.device; in nv40_temp_get()
108 struct nvkm_subdev *subdev = &therm->subdev; in nv40_fan_pwm_ctrl() local
109 struct nvkm_device *device = subdev->device; in nv40_fan_pwm_ctrl()
114 nvkm_error(subdev, "unknown pwm ctrl for gpio %d\n", line); in nv40_fan_pwm_ctrl()
123 struct nvkm_subdev *subdev = &therm->subdev; in nv40_fan_pwm_get() local
124 struct nvkm_device *device = subdev->device; in nv40_fan_pwm_get()
141 nvkm_error(subdev, "unknown pwm ctrl for gpio %d\n", line); in nv40_fan_pwm_get()
151 struct nvkm_subdev *subdev = &therm->subdev; in nv40_fan_pwm_set() local
[all …]
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/subdev/secboot/
DKbuild1 nvkm-y += nvkm/subdev/secboot/base.o
2 nvkm-y += nvkm/subdev/secboot/hs_ucode.o
3 nvkm-y += nvkm/subdev/secboot/ls_ucode_gr.o
4 nvkm-y += nvkm/subdev/secboot/ls_ucode_msgqueue.o
5 nvkm-y += nvkm/subdev/secboot/acr.o
6 nvkm-y += nvkm/subdev/secboot/acr_r352.o
7 nvkm-y += nvkm/subdev/secboot/acr_r361.o
8 nvkm-y += nvkm/subdev/secboot/acr_r364.o
9 nvkm-y += nvkm/subdev/secboot/acr_r367.o
10 nvkm-y += nvkm/subdev/secboot/acr_r370.o
[all …]
Dbase.c109 nvkm_error(&sb->subdev, "cannot reset unmanaged falcon!\n"); in nvkm_secboot_reset()
129 nvkm_secboot_oneinit(struct nvkm_subdev *subdev) in nvkm_secboot_oneinit() argument
131 struct nvkm_secboot *sb = nvkm_secboot(subdev); in nvkm_secboot_oneinit()
136 sb->halt_falcon = sb->boot_falcon = subdev->device->pmu->falcon; in nvkm_secboot_oneinit()
140 nvkm_engine_ref(&subdev->device->sec2->engine); in nvkm_secboot_oneinit()
141 sb->boot_falcon = subdev->device->sec2->falcon; in nvkm_secboot_oneinit()
142 sb->halt_falcon = subdev->device->pmu->falcon; in nvkm_secboot_oneinit()
145 nvkm_error(subdev, "Unmanaged boot falcon %s!\n", in nvkm_secboot_oneinit()
149 nvkm_debug(subdev, "using %s falcon for ACR\n", sb->boot_falcon->name); in nvkm_secboot_oneinit()
155 nvkm_error(subdev, "Secure Boot initialization failed: %d\n", in nvkm_secboot_oneinit()
[all …]
/Linux-v4.19/drivers/remoteproc/
Dqcom_common.c30 #define to_glink_subdev(d) container_of(d, struct qcom_rproc_glink, subdev)
31 #define to_smd_subdev(d) container_of(d, struct qcom_rproc_subdev, subdev)
32 #define to_ssr_subdev(d) container_of(d, struct qcom_rproc_ssr, subdev)
36 static int glink_subdev_start(struct rproc_subdev *subdev) in glink_subdev_start() argument
38 struct qcom_rproc_glink *glink = to_glink_subdev(subdev); in glink_subdev_start()
45 static void glink_subdev_stop(struct rproc_subdev *subdev, bool crashed) in glink_subdev_stop() argument
47 struct qcom_rproc_glink *glink = to_glink_subdev(subdev); in glink_subdev_stop()
67 glink->subdev.start = glink_subdev_start; in qcom_add_glink_subdev()
68 glink->subdev.stop = glink_subdev_stop; in qcom_add_glink_subdev()
70 rproc_add_subdev(rproc, &glink->subdev); in qcom_add_glink_subdev()
[all …]
/Linux-v4.19/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 …]
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/
DKbuild1 nvkm-y += nvkm/subdev/devinit/base.o
2 nvkm-y += nvkm/subdev/devinit/nv04.o
3 nvkm-y += nvkm/subdev/devinit/nv05.o
4 nvkm-y += nvkm/subdev/devinit/nv10.o
5 nvkm-y += nvkm/subdev/devinit/nv1a.o
6 nvkm-y += nvkm/subdev/devinit/nv20.o
7 nvkm-y += nvkm/subdev/devinit/nv50.o
8 nvkm-y += nvkm/subdev/devinit/g84.o
9 nvkm-y += nvkm/subdev/devinit/g98.o
10 nvkm-y += nvkm/subdev/devinit/gt215.o
[all …]
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/subdev/pci/
DKbuild1 nvkm-y += nvkm/subdev/pci/agp.o
2 nvkm-y += nvkm/subdev/pci/base.o
3 nvkm-y += nvkm/subdev/pci/pcie.o
4 nvkm-y += nvkm/subdev/pci/nv04.o
5 nvkm-y += nvkm/subdev/pci/nv40.o
6 nvkm-y += nvkm/subdev/pci/nv46.o
7 nvkm-y += nvkm/subdev/pci/nv4c.o
8 nvkm-y += nvkm/subdev/pci/g84.o
9 nvkm-y += nvkm/subdev/pci/g92.o
10 nvkm-y += nvkm/subdev/pci/g94.o
[all …]
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/subdev/mc/
DKbuild1 nvkm-y += nvkm/subdev/mc/base.o
2 nvkm-y += nvkm/subdev/mc/nv04.o
3 nvkm-y += nvkm/subdev/mc/nv11.o
4 nvkm-y += nvkm/subdev/mc/nv17.o
5 nvkm-y += nvkm/subdev/mc/nv44.o
6 nvkm-y += nvkm/subdev/mc/nv50.o
7 nvkm-y += nvkm/subdev/mc/g84.o
8 nvkm-y += nvkm/subdev/mc/g98.o
9 nvkm-y += nvkm/subdev/mc/gt215.o
10 nvkm-y += nvkm/subdev/mc/gf100.o
[all …]
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/
DKbuild1 nvkm-y += nvkm/subdev/pmu/base.o
2 nvkm-y += nvkm/subdev/pmu/memx.o
3 nvkm-y += nvkm/subdev/pmu/gt215.o
4 nvkm-y += nvkm/subdev/pmu/gf100.o
5 nvkm-y += nvkm/subdev/pmu/gf119.o
6 nvkm-y += nvkm/subdev/pmu/gk104.o
7 nvkm-y += nvkm/subdev/pmu/gk110.o
8 nvkm-y += nvkm/subdev/pmu/gk208.o
9 nvkm-y += nvkm/subdev/pmu/gk20a.o
10 nvkm-y += nvkm/subdev/pmu/gm107.o
[all …]
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
DKbuild1 nvkm-y += nvkm/subdev/clk/base.o
2 nvkm-y += nvkm/subdev/clk/nv04.o
3 nvkm-y += nvkm/subdev/clk/nv40.o
4 nvkm-y += nvkm/subdev/clk/nv50.o
5 nvkm-y += nvkm/subdev/clk/g84.o
6 nvkm-y += nvkm/subdev/clk/gt215.o
7 nvkm-y += nvkm/subdev/clk/mcp77.o
8 nvkm-y += nvkm/subdev/clk/gf100.o
9 nvkm-y += nvkm/subdev/clk/gk104.o
10 nvkm-y += nvkm/subdev/clk/gk20a.o
[all …]
/Linux-v4.19/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 …]
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
Dgf100.c38 struct nvkm_device *device = fifo->engine.subdev.device; in gf100_fifo_uevent_init()
45 struct nvkm_device *device = fifo->engine.subdev.device; in gf100_fifo_uevent_fini()
53 struct nvkm_subdev *subdev = &fifo->base.engine.subdev; in gf100_fifo_runlist_commit() local
54 struct nvkm_device *device = subdev->device; in gf100_fifo_runlist_commit()
59 mutex_lock(&subdev->mutex); in gf100_fifo_runlist_commit()
75 mutex_unlock(&subdev->mutex); in gf100_fifo_runlist_commit()
87 nvkm_error(subdev, "runlist update timeout\n"); in gf100_fifo_runlist_commit()
88 mutex_unlock(&subdev->mutex); in gf100_fifo_runlist_commit()
94 mutex_lock(&fifo->base.engine.subdev.mutex); in gf100_fifo_runlist_remove()
96 mutex_unlock(&fifo->base.engine.subdev.mutex); in gf100_fifo_runlist_remove()
[all …]
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/engine/disp/
Dgv100.c34 struct nvkm_device *device = disp->engine.subdev.device; in gv100_disp_wndw_cnt()
44 struct nvkm_subdev *subdev = &disp->base.engine.subdev; in gv100_disp_super() local
45 struct nvkm_device *device = subdev->device; in gv100_disp_super()
50 nvkm_debug(subdev, "supervisor %d: %08x\n", ffs(disp->super), stat); in gv100_disp_super()
99 struct nvkm_subdev *subdev = &disp->base.engine.subdev; in gv100_disp_exception() local
100 struct nvkm_device *device = subdev->device; in gv100_disp_exception()
107 nvkm_error(subdev, "chid %d %08x [type %d mthd %04x] " in gv100_disp_exception()
127 struct nvkm_subdev *subdev = &disp->base.engine.subdev; in gv100_disp_intr_ctrl_disp() local
128 struct nvkm_device *device = subdev->device; in gv100_disp_intr_ctrl_disp()
163 nvkm_warn(subdev, "ctrl %08x\n", stat); in gv100_disp_intr_ctrl_disp()
[all …]
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/subdev/bus/
Dhwsq.c27 struct nvkm_subdev *subdev; member
44 nvkm_hwsq_init(struct nvkm_subdev *subdev, struct nvkm_hwsq **phwsq) in nvkm_hwsq_init() argument
50 hwsq->subdev = subdev; in nvkm_hwsq_init()
66 struct nvkm_subdev *subdev = hwsq->subdev; in nvkm_hwsq_fini() local
67 struct nvkm_bus *bus = subdev->device->bus; in nvkm_hwsq_fini()
75 nvkm_error(subdev, "hwsq exec failed: %d\n", ret); in nvkm_hwsq_fini()
77 nvkm_error(subdev, "hwsq ucode too large\n"); in nvkm_hwsq_fini()
82 nvkm_error(subdev, "\t%08x\n", ((u32 *)hwsq->c.data)[i]); in nvkm_hwsq_fini()
93 nvkm_debug(hwsq->subdev, "R[%06x] = %08x\n", addr, data); in nvkm_hwsq_wr32()
118 nvkm_debug(hwsq->subdev, " FLAG[%02x] = %d\n", flag, data); in nvkm_hwsq_setf()
[all …]
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/subdev/mxm/
Dbase.c46 struct nvkm_device *device = mxm->subdev.device; in mxm_shadow_rom()
82 struct nvkm_subdev *subdev = &mxm->subdev; in mxm_shadow_dsm() local
83 struct nvkm_device *device = subdev->device; in mxm_shadow_dsm()
109 nvkm_debug(subdev, "DSM MXMS failed\n"); in mxm_shadow_dsm()
117 nvkm_debug(subdev, "DSM MXMS returned 0x%llx\n", in mxm_shadow_dsm()
133 struct nvkm_subdev *subdev = &mxm->subdev; in wmi_wmmx_mxmi() local
142 nvkm_debug(subdev, "WMMX MXMI returned %d\n", status); in wmi_wmmx_mxmi()
149 nvkm_debug(subdev, "WMMX MXMI version %d.%d\n", in wmi_wmmx_mxmi()
153 nvkm_debug(subdev, "WMMX MXMI returned non-integer\n"); in wmi_wmmx_mxmi()
163 struct nvkm_subdev *subdev = &mxm->subdev; in mxm_shadow_wmi() local
[all …]

12345678910>>...28