Home
last modified time | relevance | path

Searched refs:helper (Results 1 – 25 of 69) sorted by relevance

123

/drivers/gpu/drm/rockchip/
Drockchip_drm_fbdev.c32 struct drm_fb_helper *helper = info->par; in rockchip_fbdev_mmap() local
33 struct rockchip_drm_private *private = to_drm_private(helper); in rockchip_fbdev_mmap()
51 static int rockchip_drm_fbdev_create(struct drm_fb_helper *helper, in rockchip_drm_fbdev_create() argument
54 struct rockchip_drm_private *private = to_drm_private(helper); in rockchip_drm_fbdev_create()
56 struct drm_device *dev = helper->dev; in rockchip_drm_fbdev_create()
81 fbi = drm_fb_helper_alloc_fbi(helper); in rockchip_drm_fbdev_create()
88 helper->fb = rockchip_drm_framebuffer_init(dev, &mode_cmd, in rockchip_drm_fbdev_create()
90 if (IS_ERR(helper->fb)) { in rockchip_drm_fbdev_create()
92 ret = PTR_ERR(helper->fb); in rockchip_drm_fbdev_create()
96 fbi->par = helper; in rockchip_drm_fbdev_create()
[all …]
/drivers/gpu/drm/omapdrm/
Domap_fbdev.c61 struct drm_fb_helper *helper = get_fb(fbi); in omap_fbdev_pan_display() local
62 struct omap_fbdev *fbdev = to_omap_fbdev(helper); in omap_fbdev_pan_display()
64 if (!helper) in omap_fbdev_pan_display()
73 struct omap_drm_private *priv = helper->dev->dev_private; in omap_fbdev_pan_display()
102 static int omap_fbdev_create(struct drm_fb_helper *helper, in omap_fbdev_create() argument
105 struct omap_fbdev *fbdev = to_omap_fbdev(helper); in omap_fbdev_create()
106 struct drm_device *dev = helper->dev; in omap_fbdev_create()
178 fbi = drm_fb_helper_alloc_fbi(helper); in omap_fbdev_create()
188 helper->fb = fb; in omap_fbdev_create()
190 fbi->par = helper; in omap_fbdev_create()
[all …]
/drivers/gpu/drm/msm/
Dmsm_fbdev.c62 struct drm_fb_helper *helper = (struct drm_fb_helper *)info->par; in msm_fbdev_mmap() local
63 struct msm_fbdev *fbdev = to_msm_fbdev(helper); in msm_fbdev_mmap()
76 static int msm_fbdev_create(struct drm_fb_helper *helper, in msm_fbdev_create() argument
79 struct msm_fbdev *fbdev = to_msm_fbdev(helper); in msm_fbdev_create()
80 struct drm_device *dev = helper->dev; in msm_fbdev_create()
138 fbi = drm_fb_helper_alloc_fbi(helper); in msm_fbdev_create()
148 helper->fb = fb; in msm_fbdev_create()
150 fbi->par = helper; in msm_fbdev_create()
157 drm_fb_helper_fill_var(fbi, helper, sizes->fb_width, sizes->fb_height); in msm_fbdev_create()
200 struct drm_fb_helper *helper; in msm_fbdev_init() local
[all …]
/drivers/gpu/drm/exynos/
Dexynos_drm_fbdev.c40 struct drm_fb_helper *helper = info->par; in exynos_drm_fb_mmap() local
41 struct exynos_drm_fbdev *exynos_fbd = to_exynos_fbdev(helper); in exynos_drm_fb_mmap()
53 ret = dma_mmap_attrs(to_dma_dev(helper->dev), vma, exynos_gem->cookie, in exynos_drm_fb_mmap()
77 static int exynos_drm_fbdev_update(struct drm_fb_helper *helper, in exynos_drm_fbdev_update() argument
82 struct drm_framebuffer *fb = helper->fb; in exynos_drm_fbdev_update()
87 fbi = drm_fb_helper_alloc_fbi(helper); in exynos_drm_fbdev_update()
93 fbi->par = helper; in exynos_drm_fbdev_update()
98 drm_fb_helper_fill_var(fbi, helper, sizes->fb_width, sizes->fb_height); in exynos_drm_fbdev_update()
106 drm_fb_helper_release_fbi(helper); in exynos_drm_fbdev_update()
120 static int exynos_drm_fbdev_create(struct drm_fb_helper *helper, in exynos_drm_fbdev_create() argument
[all …]
/drivers/gpu/drm/bochs/
Dbochs_fbdev.c17 container_of(fb_helper, struct bochs_device, fb.helper); in bochsfb_mmap()
54 static int bochsfb_create(struct drm_fb_helper *helper, in bochsfb_create() argument
58 container_of(helper, struct bochs_device, fb.helper); in bochsfb_create()
107 info = drm_fb_helper_alloc_fbi(helper); in bochsfb_create()
111 info->par = &bochs->fb.helper; in bochsfb_create()
115 drm_fb_helper_release_fbi(helper); in bochsfb_create()
123 bochs->fb.helper.fb = fb; in bochsfb_create()
131 drm_fb_helper_fill_var(info, &bochs->fb.helper, sizes->fb_width, in bochsfb_create()
150 drm_fb_helper_unregister_fbi(&bochs->fb.helper); in bochs_fbdev_destroy()
151 drm_fb_helper_release_fbi(&bochs->fb.helper); in bochs_fbdev_destroy()
[all …]
/drivers/net/wireless/marvell/libertas/
Dfirmware.c15 const struct firmware *helper, const struct firmware *mainfw) in lbs_fw_loaded() argument
22 priv->fw_callback(priv, ret, helper, mainfw); in lbs_fw_loaded()
98 if (!iter->helper) { in load_next_firmware_from_table()
110 do_load_firmware(priv, iter->helper, helper_firmware_cb); in load_next_firmware_from_table()
173 const struct firmware **helper, in lbs_get_firmware() argument
179 BUG_ON(helper == NULL); in lbs_get_firmware()
184 while (iter && iter->helper) { in lbs_get_firmware()
188 if (*helper == NULL) { in lbs_get_firmware()
189 ret = request_firmware(helper, iter->helper, dev); in lbs_get_firmware()
207 release_firmware(*helper); in lbs_get_firmware()
[all …]
Ddecl.h17 const char *helper; member
23 const struct firmware *helper, const struct firmware *mainfw);
75 const struct firmware **helper,
/drivers/gpu/drm/ast/
Dast_fb.c168 struct drm_device *dev = afbdev->helper.dev; in astfb_create_object()
182 static int astfb_create(struct drm_fb_helper *helper, in astfb_create() argument
186 container_of(helper, struct ast_fbdev, helper); in astfb_create()
187 struct drm_device *dev = afbdev->helper.dev; in astfb_create()
215 info = drm_fb_helper_alloc_fbi(helper); in astfb_create()
230 afbdev->helper.fb = fb; in astfb_create()
241 drm_fb_helper_fill_var(info, &afbdev->helper, sizes->fb_width, sizes->fb_height); in astfb_create()
254 drm_fb_helper_release_fbi(helper); in astfb_create()
289 drm_fb_helper_unregister_fbi(&afbdev->helper); in ast_fbdev_destroy()
290 drm_fb_helper_release_fbi(&afbdev->helper); in ast_fbdev_destroy()
[all …]
/drivers/gpu/drm/radeon/
Dradeon_fb.c45 struct drm_fb_helper helper; member
215 static int radeonfb_create(struct drm_fb_helper *helper, in radeonfb_create() argument
219 container_of(helper, struct radeon_fbdev, helper); in radeonfb_create()
248 info = drm_fb_helper_alloc_fbi(helper); in radeonfb_create()
265 rfbdev->helper.fb = fb; in radeonfb_create()
282 drm_fb_helper_fill_var(info, &rfbdev->helper, sizes->fb_width, sizes->fb_height); in radeonfb_create()
305 drm_fb_helper_release_fbi(helper); in radeonfb_create()
322 drm_fb_helper_hotplug_event(&rdev->mode_info.rfbdev->helper); in radeon_fb_output_poll_changed()
329 drm_fb_helper_unregister_fbi(&rfbdev->helper); in radeon_fbdev_destroy()
330 drm_fb_helper_release_fbi(&rfbdev->helper); in radeon_fbdev_destroy()
[all …]
/drivers/gpu/drm/i915/
Dintel_fbdev.c52 container_of(fb_helper, struct intel_fbdev, helper); in intel_fbdev_set_par()
70 container_of(fb_helper, struct intel_fbdev, helper); in intel_fbdev_blank()
89 container_of(fb_helper, struct intel_fbdev, helper); in intel_fbdev_pan_display()
117 static int intelfb_alloc(struct drm_fb_helper *helper, in intelfb_alloc() argument
121 container_of(helper, struct intel_fbdev, helper); in intelfb_alloc()
123 struct drm_device *dev = helper->dev; in intelfb_alloc()
178 static int intelfb_create(struct drm_fb_helper *helper, in intelfb_create() argument
182 container_of(helper, struct intel_fbdev, helper); in intelfb_create()
184 struct drm_device *dev = helper->dev; in intelfb_create()
207 ret = intelfb_alloc(helper, sizes); in intelfb_create()
[all …]
/drivers/gpu/drm/mgag200/
Dmgag200_fb.c142 struct drm_device *dev = afbdev->helper.dev; in mgag200fb_create_object()
156 static int mgag200fb_create(struct drm_fb_helper *helper, in mgag200fb_create() argument
160 container_of(helper, struct mga_fbdev, helper); in mgag200fb_create()
161 struct drm_device *dev = mfbdev->helper.dev; in mgag200fb_create()
191 info = drm_fb_helper_alloc_fbi(helper); in mgag200fb_create()
209 mfbdev->helper.fb = fb; in mgag200fb_create()
221 drm_fb_helper_fill_var(info, &mfbdev->helper, sizes->fb_width, in mgag200fb_create()
234 drm_fb_helper_release_fbi(helper); in mgag200fb_create()
248 drm_fb_helper_unregister_fbi(&mfbdev->helper); in mga_fbdev_destroy()
249 drm_fb_helper_release_fbi(&mfbdev->helper); in mga_fbdev_destroy()
[all …]
/drivers/gpu/drm/nouveau/
Dnouveau_fbcon.c238 drm->fbcon->saved_flags = drm->fbcon->helper.fbdev->flags; in nouveau_fbcon_accel_save_disable()
239 drm->fbcon->helper.fbdev->flags |= FBINFO_HWACCEL_DISABLED; in nouveau_fbcon_accel_save_disable()
248 drm->fbcon->helper.fbdev->flags = drm->fbcon->saved_flags; in nouveau_fbcon_accel_restore()
259 fbcon->helper.fbdev->flags |= FBINFO_HWACCEL_DISABLED; in nouveau_fbcon_accel_fini()
277 struct fb_info *info = fbcon->helper.fbdev; in nouveau_fbcon_accel_init()
315 struct fb_info *info = fbcon->helper.fbdev; in nouveau_fbcon_zfill()
331 nouveau_fbcon_create(struct drm_fb_helper *helper, in nouveau_fbcon_create() argument
335 container_of(helper, struct nouveau_fbdev, helper); in nouveau_fbcon_create()
388 info = drm_fb_helper_alloc_fbi(helper); in nouveau_fbcon_create()
403 fbcon->helper.fb = fb; in nouveau_fbcon_create()
[all …]
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_fb.c46 struct drm_fb_helper helper; member
198 static int amdgpufb_create(struct drm_fb_helper *helper, in amdgpufb_create() argument
201 struct amdgpu_fbdev *rfbdev = (struct amdgpu_fbdev *)helper; in amdgpufb_create()
229 info = drm_fb_helper_alloc_fbi(helper); in amdgpufb_create()
247 rfbdev->helper.fb = fb; in amdgpufb_create()
264 drm_fb_helper_fill_var(info, &rfbdev->helper, sizes->fb_width, sizes->fb_height); in amdgpufb_create()
287 drm_fb_helper_release_fbi(helper); in amdgpufb_create()
304 drm_fb_helper_hotplug_event(&adev->mode_info.rfbdev->helper); in amdgpu_fb_output_poll_changed()
311 drm_fb_helper_unregister_fbi(&rfbdev->helper); in amdgpu_fbdev_destroy()
312 drm_fb_helper_release_fbi(&rfbdev->helper); in amdgpu_fbdev_destroy()
[all …]
/drivers/gpu/drm/qxl/
Dqxl_fb.c40 struct drm_fb_helper helper; member
269 info = drm_fb_helper_alloc_fbi(&qfbdev->helper); in qxlfb_create()
283 qfbdev->helper.fb = fb; in qxlfb_create()
302 drm_fb_helper_fill_var(info, &qfbdev->helper, sizes->fb_width, in qxlfb_create()
329 drm_fb_helper_release_fbi(&qfbdev->helper); in qxlfb_create()
349 struct drm_fb_helper *helper, in qxl_fb_find_or_create_single() argument
353 container_of(helper, struct qxl_fbdev, helper); in qxl_fb_find_or_create_single()
357 if (!helper->fb) { in qxl_fb_find_or_create_single()
370 drm_fb_helper_unregister_fbi(&qfbdev->helper); in qxl_fbdev_destroy()
371 drm_fb_helper_release_fbi(&qfbdev->helper); in qxl_fbdev_destroy()
[all …]
/drivers/gpu/drm/
Ddrm_fb_cma_helper.c97 static inline struct drm_fbdev_cma *to_fbdev_cma(struct drm_fb_helper *helper) in to_fbdev_cma() argument
99 return container_of(helper, struct drm_fbdev_cma, fb_helper); in to_fbdev_cma()
419 int drm_fbdev_cma_create_with_funcs(struct drm_fb_helper *helper, in drm_fbdev_cma_create_with_funcs() argument
423 struct drm_fbdev_cma *fbdev_cma = to_fbdev_cma(helper); in drm_fbdev_cma_create_with_funcs()
425 struct drm_device *dev = helper->dev; in drm_fbdev_cma_create_with_funcs()
451 fbi = drm_fb_helper_alloc_fbi(helper); in drm_fbdev_cma_create_with_funcs()
465 helper->fb = fb; in drm_fbdev_cma_create_with_funcs()
467 fbi->par = helper; in drm_fbdev_cma_create_with_funcs()
472 drm_fb_helper_fill_var(fbi, helper, sizes->fb_width, sizes->fb_height); in drm_fbdev_cma_create_with_funcs()
495 drm_fb_helper_release_fbi(helper); in drm_fbdev_cma_create_with_funcs()
[all …]
Ddrm_fb_helper.c210 static void drm_fb_helper_save_lut_atomic(struct drm_crtc *crtc, struct drm_fb_helper *helper) in drm_fb_helper_save_lut_atomic() argument
215 if (helper->funcs->gamma_get == NULL) in drm_fb_helper_save_lut_atomic()
223 helper->funcs->gamma_get(crtc, &r_base[i], &g_base[i], &b_base[i], i); in drm_fb_helper_save_lut_atomic()
246 struct drm_fb_helper *helper = info->par; in drm_fb_helper_debug_enter() local
250 list_for_each_entry(helper, &kernel_fb_helper_list, kernel_fb_list) { in drm_fb_helper_debug_enter()
251 for (i = 0; i < helper->crtc_count; i++) { in drm_fb_helper_debug_enter()
253 &helper->crtc_info[i].mode_set; in drm_fb_helper_debug_enter()
259 drm_fb_helper_save_lut_atomic(mode_set->crtc, helper); in drm_fb_helper_debug_enter()
292 struct drm_fb_helper *helper = info->par; in drm_fb_helper_debug_leave() local
298 for (i = 0; i < helper->crtc_count; i++) { in drm_fb_helper_debug_leave()
[all …]
/drivers/gpu/drm/cirrus/
Dcirrus_fbdev.c139 struct drm_device *dev = afbdev->helper.dev; in cirrusfb_create_object()
161 static int cirrusfb_create(struct drm_fb_helper *helper, in cirrusfb_create() argument
165 container_of(helper, struct cirrus_fbdev, helper); in cirrusfb_create()
166 struct cirrus_device *cdev = gfbdev->helper.dev->dev_private; in cirrusfb_create()
194 info = drm_fb_helper_alloc_fbi(helper); in cirrusfb_create()
214 gfbdev->helper.fb = fb; in cirrusfb_create()
222 drm_fb_helper_fill_var(info, &gfbdev->helper, sizes->fb_width, in cirrusfb_create()
252 drm_fb_helper_unregister_fbi(&gfbdev->helper); in cirrus_fbdev_destroy()
253 drm_fb_helper_release_fbi(&gfbdev->helper); in cirrus_fbdev_destroy()
261 drm_fb_helper_fini(&gfbdev->helper); in cirrus_fbdev_destroy()
[all …]
/drivers/gpu/drm/virtio/
Dvirtgpu_fb.c33 struct drm_fb_helper helper; member
221 static int virtio_gpufb_create(struct drm_fb_helper *helper, in virtio_gpufb_create() argument
225 container_of(helper, struct virtio_gpu_fbdev, helper); in virtio_gpufb_create()
226 struct drm_device *dev = helper->dev; in virtio_gpufb_create()
318 info = drm_fb_helper_alloc_fbi(helper); in virtio_gpufb_create()
324 info->par = helper; in virtio_gpufb_create()
333 vfbdev->helper.fb = fb; in virtio_gpufb_create()
343 drm_fb_helper_fill_var(info, &vfbdev->helper, in virtio_gpufb_create()
351 drm_fb_helper_release_fbi(helper); in virtio_gpufb_create()
365 drm_fb_helper_unregister_fbi(&vgfbdev->helper); in virtio_gpu_fbdev_destroy()
[all …]
/drivers/gpu/drm/udl/
Dudl_fb.c34 struct drm_fb_helper helper; member
350 static int udlfb_create(struct drm_fb_helper *helper, in udlfb_create() argument
354 container_of(helper, struct udl_fbdev, helper); in udlfb_create()
355 struct drm_device *dev = ufbdev->helper.dev; in udlfb_create()
386 info = drm_fb_helper_alloc_fbi(helper); in udlfb_create()
399 ufbdev->helper.fb = fb; in udlfb_create()
410 drm_fb_helper_fill_var(info, &ufbdev->helper, sizes->fb_width, sizes->fb_height); in udlfb_create()
418 drm_fb_helper_release_fbi(helper); in udlfb_create()
432 drm_fb_helper_unregister_fbi(&ufbdev->helper); in udl_fbdev_destroy()
433 drm_fb_helper_release_fbi(&ufbdev->helper); in udl_fbdev_destroy()
[all …]
/drivers/gpu/drm/tegra/
Dfb.c24 static inline struct tegra_fbdev *to_tegra_fbdev(struct drm_fb_helper *helper) in to_tegra_fbdev() argument
26 return container_of(helper, struct tegra_fbdev, base); in to_tegra_fbdev()
199 static int tegra_fbdev_probe(struct drm_fb_helper *helper, in tegra_fbdev_probe() argument
202 struct tegra_fbdev *fbdev = to_tegra_fbdev(helper); in tegra_fbdev_probe()
203 struct tegra_drm *tegra = helper->dev->dev_private; in tegra_fbdev_probe()
204 struct drm_device *drm = helper->dev; in tegra_fbdev_probe()
229 info = drm_fb_helper_alloc_fbi(helper); in tegra_fbdev_probe()
246 helper->fb = fb; in tegra_fbdev_probe()
247 helper->fbdev = info; in tegra_fbdev_probe()
249 info->par = helper; in tegra_fbdev_probe()
[all …]
/drivers/staging/media/lirc/
Dlirc_parallel.c287 __u64 helper; in lirc_lirc_irq_handler() local
289 helper = ((__u64)signal) * 1000000; in lirc_lirc_irq_handler()
290 do_div(helper, timer); in lirc_lirc_irq_handler()
291 signal = (long)helper; in lirc_lirc_irq_handler()
394 __u64 helper; in lirc_write() local
396 helper = ((__u64)wbuf[i]) * timer; in lirc_write()
397 do_div(helper, 1000000); in lirc_write()
398 wbuf[i] = (int)helper; in lirc_write()
/drivers/gpu/drm/nouveau/dispnv04/
Ddac.c366 const struct drm_encoder_helper_funcs *helper = encoder->helper_private; in nv04_dac_prepare() local
370 helper->dpms(encoder, DRM_MODE_DPMS_OFF); in nv04_dac_prepare()
417 const struct drm_encoder_helper_funcs *helper = encoder->helper_private; in nv04_dac_commit() local
419 helper->dpms(encoder, DRM_MODE_DPMS_ON); in nv04_dac_commit()
530 const struct drm_encoder_helper_funcs *helper; in nv04_dac_create() local
548 helper = &nv17_dac_helper_funcs; in nv04_dac_create()
550 helper = &nv04_dac_helper_funcs; in nv04_dac_create()
554 drm_encoder_helper_add(encoder, helper); in nv04_dac_create()
Dtvnv04.c129 const struct drm_encoder_helper_funcs *helper = encoder->helper_private; in nv04_tv_prepare() local
131 helper->dpms(encoder, DRM_MODE_DPMS_OFF); in nv04_tv_prepare()
171 const struct drm_encoder_helper_funcs *helper = encoder->helper_private; in nv04_tv_commit() local
173 helper->dpms(encoder, DRM_MODE_DPMS_ON); in nv04_tv_commit()
Ddfp.c247 const struct drm_encoder_helper_funcs *helper = encoder->helper_private; in nv04_dfp_prepare() local
254 helper->dpms(encoder, DRM_MODE_DPMS_OFF); in nv04_dfp_prepare()
448 const struct drm_encoder_helper_funcs *helper = encoder->helper_private; in nv04_dfp_commit() local
477 helper->dpms(encoder, DRM_MODE_DPMS_ON); in nv04_dfp_commit()
678 const struct drm_encoder_helper_funcs *helper; in nv04_dfp_create() local
686 helper = &nv04_tmds_helper_funcs; in nv04_dfp_create()
690 helper = &nv04_lvds_helper_funcs; in nv04_dfp_create()
709 drm_encoder_helper_add(encoder, helper); in nv04_dfp_create()
/drivers/bluetooth/
Dbtmrvl_sdio.c235 .helper = "mrvl/sd8688_helper.bin",
244 .helper = NULL,
253 .helper = NULL,
262 .helper = NULL,
271 .helper = NULL,
280 .helper = NULL,
445 const u8 *helper = NULL; in btmrvl_sdio_download_helper() local
452 ret = request_firmware(&fw_helper, card->helper, in btmrvl_sdio_download_helper()
461 helper = fw_helper->data; in btmrvl_sdio_download_helper()
506 memcpy(&helperbuf[SDIO_HEADER_LEN], &helper[hlprblknow], in btmrvl_sdio_download_helper()
[all …]

123