Home
last modified time | relevance | path

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

12345678910>>...23

/linux/drivers/gpu/drm/nouveau/nvkm/core/
H A 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()
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 …]
H A Dengine.c44 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 …]
H A Dintr.c29 nvkm_intr_xlat(struct nvkm_subdev *subdev, struct nvkm_intr *intr, in nvkm_intr_xlat() argument
32 struct nvkm_device *device = subdev->device; in nvkm_intr_xlat()
43 tdev->type == subdev->type && in nvkm_intr_xlat()
44 tdev->inst == subdev->inst) { in nvkm_intr_xlat()
53 if (data->type == subdev->type && data->inst == subdev->inst) { in nvkm_intr_xlat()
76 nvkm_intr_find(struct nvkm_subdev *subdev, enum nvkm_intr_type type, int *leaf, u32 *mask) in nvkm_intr_find() argument
81 list_for_each_entry(intr, &subdev->device->intr.intr, head) { in nvkm_intr_find()
82 ret = nvkm_intr_xlat(subdev, intr, type, leaf, mask); in nvkm_intr_find()
102 nvkm_intr_allow(struct nvkm_subdev *subdev, enum nvkm_intr_type type) in nvkm_intr_allow() argument
104 struct nvkm_device *device = subdev->device; in nvkm_intr_allow()
[all …]
/linux/drivers/gpu/drm/nouveau/nvkm/nvfw/
H A 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 …]
H A 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 …]
H A 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 …]
H A 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 …]
H A 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 …]
/linux/drivers/mtd/
H A 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 …]
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
H A 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 …]
/linux/drivers/mtd/maps/
H A 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 …]
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/
H A 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 …]
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/therm/
H A 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 …]
H A 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/drivers/remoteproc/
H A Dqcom_common.c26 #define to_glink_subdev(d) container_of(d, struct qcom_rproc_glink, subdev)
27 #define to_smd_subdev(d) container_of(d, struct qcom_rproc_subdev, subdev)
28 #define to_ssr_subdev(d) container_of(d, struct qcom_rproc_ssr, subdev)
29 #define to_pdm_subdev(d) container_of(d, struct qcom_rproc_pdm, subdev)
199 static int glink_subdev_start(struct rproc_subdev *subdev) in glink_subdev_start() argument
201 struct qcom_rproc_glink *glink = to_glink_subdev(subdev); in glink_subdev_start()
208 static void glink_subdev_stop(struct rproc_subdev *subdev, bool crashed) in glink_subdev_stop() argument
210 struct qcom_rproc_glink *glink = to_glink_subdev(subdev); in glink_subdev_stop()
216 static void glink_subdev_unprepare(struct rproc_subdev *subdev) in glink_subdev_unprepare() argument
218 struct qcom_rproc_glink *glink = to_glink_subdev(subdev); in glink_subdev_unprepare()
[all …]
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/timer/
H A 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/drivers/gpu/drm/nouveau/nvkm/engine/gr/
H A 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/drivers/gpu/drm/nouveau/nvkm/subdev/mc/
H A 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 …]
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
H A Dbase.c50 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/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/
H A 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 …]
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bus/
H A 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/drivers/gpu/drm/nouveau/nvkm/subdev/mxm/
H A 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 …]
/linux/drivers/gpu/drm/nouveau/nvkm/engine/sec2/
H A Dbase.c43 struct nvkm_subdev *subdev = &sec2->engine.subdev; in nvkm_sec2_fini() local
52 if (!subdev->use.enabled) in nvkm_sec2_fini()
60 nvkm_msec(subdev->device, 2000, in nvkm_sec2_fini()
66 nvkm_inth_block(&subdev->inth); in nvkm_sec2_fini()
70 nvkm_falcon_put(falcon, subdev); in nvkm_sec2_fini()
78 struct nvkm_subdev *subdev = &sec2->engine.subdev; in nvkm_sec2_init() local
82 ret = nvkm_falcon_get(falcon, subdev); in nvkm_sec2_init()
89 nvkm_inth_allow(&subdev->inth); in nvkm_sec2_init()
99 struct nvkm_subdev *subdev = &sec2->engine.subdev; in nvkm_sec2_oneinit() local
100 struct nvkm_intr *intr = &sec2->engine.subdev.device->mc->intr; in nvkm_sec2_oneinit()
[all …]
/linux/drivers/media/i2c/
H A Dad5820.c37 #define to_ad5820_device(sd) container_of(sd, struct ad5820_device, subdev)
40 struct v4l2_subdev subdev; member
59 struct i2c_client *client = v4l2_get_subdevdata(&coil->subdev); in ad5820_write()
201 coil->subdev.ctrl_handler = &coil->ctrls; in ad5820_init_controls()
209 static int ad5820_registered(struct v4l2_subdev *subdev) in ad5820_registered() argument
211 struct ad5820_device *coil = to_ad5820_device(subdev); in ad5820_registered()
217 ad5820_set_power(struct v4l2_subdev *subdev, int on) in ad5820_set_power() argument
219 struct ad5820_device *coil = to_ad5820_device(subdev); in ad5820_set_power()
273 struct v4l2_subdev *subdev = dev_get_drvdata(dev); in ad5820_suspend() local
274 struct ad5820_device *coil = to_ad5820_device(subdev); in ad5820_suspend()
[all …]
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/acr/
H A Dbase.c48 struct nvkm_subdev *subdev = &acr->subdev; in nvkm_acr_hsfw_boot() local
55 return nvkm_falcon_fw_boot(&hsfw->fw, subdev, true, NULL, NULL, in nvkm_acr_hsfw_boot()
91 struct nvkm_subdev *subdev = &acr->subdev; in nvkm_acr_load() local
97 nvkm_debug(subdev, "No LSF(s) present.\n"); in nvkm_acr_load()
108 nvkm_error(subdev, "WPR not configured as expected: " in nvkm_acr_load()
185 nvkm_acr_fini(struct nvkm_subdev *subdev, bool suspend) in nvkm_acr_fini() argument
187 if (!subdev->use.enabled) in nvkm_acr_fini()
190 nvkm_acr_unload(nvkm_acr(subdev)); in nvkm_acr_fini()
195 nvkm_acr_init(struct nvkm_subdev *subdev) in nvkm_acr_init() argument
197 struct nvkm_acr *acr = nvkm_acr(subdev); in nvkm_acr_init()
[all …]

12345678910>>...23