Home
last modified time | relevance | path

Searched full:vc4 (Results 1 – 25 of 40) sorted by relevance

12

/linux/drivers/gpu/drm/vc4/
H A Dvc4_bo.c7 * DOC: VC4 GEM BO management support
9 * The VC4 GPU architecture (both scanout and rendering) has direct
45 static void vc4_bo_stats_print(struct drm_printer *p, struct vc4_dev *vc4) in vc4_bo_stats_print() argument
49 for (i = 0; i < vc4->num_labels; i++) { in vc4_bo_stats_print()
50 if (!vc4->bo_labels[i].num_allocated) in vc4_bo_stats_print()
54 vc4->bo_labels[i].name, in vc4_bo_stats_print()
55 vc4->bo_labels[i].size_allocated / 1024, in vc4_bo_stats_print()
56 vc4->bo_labels[i].num_allocated); in vc4_bo_stats_print()
59 mutex_lock(&vc4->purgeable.lock); in vc4_bo_stats_print()
60 if (vc4 in vc4_bo_stats_print()
75 struct vc4_dev *vc4 = to_vc4_dev(dev); vc4_bo_stats_debugfs() local
91 vc4_get_user_label(struct vc4_dev * vc4,const char * name) vc4_get_user_label() argument
136 struct vc4_dev *vc4 = to_vc4_dev(gem_obj->dev); vc4_bo_set_label() local
170 struct vc4_dev *vc4 = to_vc4_dev(obj->dev); vc4_bo_destroy() local
189 struct vc4_dev *vc4 = to_vc4_dev(bo->base.base.dev); vc4_bo_remove_from_cache() local
199 struct vc4_dev *vc4 = to_vc4_dev(dev); vc4_get_cache_list_for_size() local
238 struct vc4_dev *vc4 = to_vc4_dev(dev); vc4_bo_cache_purge() local
252 struct vc4_dev *vc4 = to_vc4_dev(bo->base.base.dev); vc4_bo_add_to_purgeable_pool() local
266 struct vc4_dev *vc4 = to_vc4_dev(bo->base.base.dev); vc4_bo_remove_from_purgeable_pool_locked() local
290 struct vc4_dev *vc4 = to_vc4_dev(bo->base.base.dev); vc4_bo_remove_from_purgeable_pool() local
314 struct vc4_dev *vc4 = to_vc4_dev(dev); vc4_bo_userspace_cache_purge() local
363 struct vc4_dev *vc4 = to_vc4_dev(dev); vc4_bo_get_from_cache() local
396 struct vc4_dev *vc4 = to_vc4_dev(dev); vc4_create_object() local
426 struct vc4_dev *vc4 = to_vc4_dev(dev); vc4_bo_create() local
495 struct vc4_dev *vc4 = to_vc4_dev(dev); vc4_bo_dumb_create() local
520 struct vc4_dev *vc4 = to_vc4_dev(dev); vc4_bo_cache_free_old() local
546 struct vc4_dev *vc4 = to_vc4_dev(dev); vc4_free_object() local
611 struct vc4_dev *vc4 = vc4_bo_cache_time_work() local
622 struct vc4_dev *vc4 = to_vc4_dev(bo->base.base.dev); vc4_bo_inc_usecnt() local
662 struct vc4_dev *vc4 = to_vc4_dev(bo->base.base.dev); vc4_bo_dec_usecnt() local
682 struct vc4_dev *vc4 = timer_container_of(vc4, t, bo_cache.time_timer); vc4_bo_cache_time_timer() local
766 vc4_grab_bin_bo(struct vc4_dev * vc4,struct vc4_file * vc4file) vc4_grab_bin_bo() argument
782 struct vc4_dev *vc4 = to_vc4_dev(dev); vc4_create_bo_ioctl() local
812 struct vc4_dev *vc4 = to_vc4_dev(dev); vc4_mmap_bo_ioctl() local
838 struct vc4_dev *vc4 = to_vc4_dev(dev); vc4_create_shader_bo_ioctl() local
915 struct vc4_dev *vc4 = to_vc4_dev(dev); vc4_set_tiling_ioctl() local
962 struct vc4_dev *vc4 = to_vc4_dev(dev); vc4_get_tiling_ioctl() local
993 struct vc4_dev *vc4 = to_vc4_dev(drm); vc4_bo_debugfs_init() local
1006 struct vc4_dev *vc4 = to_vc4_dev(dev); vc4_bo_cache_init() local
1043 struct vc4_dev *vc4 = to_vc4_dev(dev); vc4_bo_cache_destroy() local
1068 struct vc4_dev *vc4 = to_vc4_dev(dev); vc4_label_bo_ioctl() local
[all...]
H A Dvc4_perfmon.c7 * DOC: VC4 V3D performance monitor module
22 struct vc4_dev *vc4; in vc4_perfmon_get() local
27 vc4 = perfmon->dev; in vc4_perfmon_get()
28 if (WARN_ON_ONCE(vc4->gen > VC4_GEN_4)) in vc4_perfmon_get()
36 struct vc4_dev *vc4; in vc4_perfmon_put() local
41 vc4 = perfmon->dev; in vc4_perfmon_put()
42 if (WARN_ON_ONCE(vc4->gen > VC4_GEN_4)) in vc4_perfmon_put()
49 void vc4_perfmon_start(struct vc4_dev *vc4, struct vc4_perfmon *perfmon) in vc4_perfmon_start() argument
54 if (WARN_ON_ONCE(vc4->gen > VC4_GEN_4)) in vc4_perfmon_start()
57 if (WARN_ON_ONCE(!perfmon || vc4 in vc4_perfmon_start()
69 vc4_perfmon_stop(struct vc4_dev * vc4,struct vc4_perfmon * perfmon,bool capture) vc4_perfmon_stop() argument
92 struct vc4_dev *vc4 = vc4file->dev; vc4_perfmon_find() local
108 struct vc4_dev *vc4 = vc4file->dev; vc4_perfmon_open_file() local
121 struct vc4_dev *vc4 = (struct vc4_dev *)data; vc4_perfmon_idr_del() local
134 struct vc4_dev *vc4 = vc4file->dev; vc4_perfmon_close_file() local
149 struct vc4_dev *vc4 = to_vc4_dev(dev); vc4_perfmon_create_ioctl() local
204 struct vc4_dev *vc4 = to_vc4_dev(dev); vc4_perfmon_destroy_ioctl() local
231 struct vc4_dev *vc4 = to_vc4_dev(dev); vc4_perfmon_get_values_ioctl() local
[all...]
H A Dvc4_gem.c44 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_queue_hangcheck() local
46 mod_timer(&vc4->hangcheck.timer, in vc4_queue_hangcheck()
76 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_get_hang_state_ioctl() local
81 if (WARN_ON_ONCE(vc4->gen > VC4_GEN_4)) in vc4_get_hang_state_ioctl()
84 if (!vc4->v3d) { in vc4_get_hang_state_ioctl()
85 DRM_DEBUG("VC4_GET_HANG_STATE with no VC4 V3D probed\n"); in vc4_get_hang_state_ioctl()
89 spin_lock_irqsave(&vc4->job_lock, irqflags); in vc4_get_hang_state_ioctl()
90 kernel_state = vc4->hang_state; in vc4_get_hang_state_ioctl()
92 spin_unlock_irqrestore(&vc4->job_lock, irqflags); in vc4_get_hang_state_ioctl()
102 spin_unlock_irqrestore(&vc4 in vc4_get_hang_state_ioctl()
156 struct vc4_dev *vc4 = to_vc4_dev(dev); vc4_save_hang_state() local
293 struct vc4_dev *vc4 = to_vc4_dev(dev); vc4_reset() local
319 struct vc4_dev *vc4 = vc4_reset_work() local
330 struct vc4_dev *vc4 = timer_container_of(vc4, t, hangcheck.timer); vc4_hangcheck_elapsed() local
376 struct vc4_dev *vc4 = to_vc4_dev(dev); submit_cl() local
389 struct vc4_dev *vc4 = to_vc4_dev(dev); vc4_wait_for_seqno() local
439 struct vc4_dev *vc4 = to_vc4_dev(dev); vc4_flush_caches() local
458 struct vc4_dev *vc4 = to_vc4_dev(dev); vc4_flush_texture_caches() local
476 struct vc4_dev *vc4 = to_vc4_dev(dev); vc4_submit_next_bin_job() local
521 struct vc4_dev *vc4 = to_vc4_dev(dev); vc4_submit_next_render_job() local
545 struct vc4_dev *vc4 = to_vc4_dev(dev); vc4_move_job_to_render() local
619 struct vc4_dev *vc4 = to_vc4_dev(dev); vc4_queue_submit() local
736 struct vc4_dev *vc4 = to_vc4_dev(dev); vc4_get_bcl() local
849 struct vc4_dev *vc4 = to_vc4_dev(dev); vc4_complete_exec() local
896 vc4_job_handle_completed(struct vc4_dev * vc4) vc4_job_handle_completed() argument
925 struct vc4_dev *vc4 = vc4_job_done_work() local
953 struct vc4_dev *vc4 = to_vc4_dev(dev); vc4_wait_seqno_ioctl() local
967 struct vc4_dev *vc4 = to_vc4_dev(dev); vc4_wait_bo_ioctl() local
1012 struct vc4_dev *vc4 = to_vc4_dev(dev); vc4_submit_cl_ioctl() local
1160 struct vc4_dev *vc4 = to_vc4_dev(dev); vc4_gem_init() local
1193 struct vc4_dev *vc4 = to_vc4_dev(dev); vc4_gem_destroy() local
1215 struct vc4_dev *vc4 = to_vc4_dev(dev); vc4_gem_madvise_ioctl() local
[all...]
H A Dvc4_kms.c7 * DOC: VC4 KMS
51 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_get_ctm_state() local
55 ret = drm_modeset_lock(&vc4->ctm_state_lock, state->acquire_ctx); in vc4_get_ctm_state()
95 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_ctm_obj_fini() local
97 drm_atomic_private_obj_fini(&vc4->ctm_manager); in vc4_ctm_obj_fini()
100 static int vc4_ctm_obj_init(struct vc4_dev *vc4) in vc4_ctm_obj_init() argument
104 drm_modeset_lock_init(&vc4->ctm_state_lock); in vc4_ctm_obj_init()
110 drm_atomic_private_obj_init(&vc4->base, &vc4->ctm_manager, &ctm_state->base, in vc4_ctm_obj_init()
113 return drmm_add_action_or_reset(&vc4 in vc4_ctm_obj_init()
136 vc4_ctm_commit(struct vc4_dev * vc4,struct drm_atomic_state * state) vc4_ctm_commit() argument
175 struct vc4_dev *vc4 = to_vc4_dev(state->dev); vc4_hvs_get_new_global_state() local
188 struct vc4_dev *vc4 = to_vc4_dev(state->dev); vc4_hvs_get_old_global_state() local
201 struct vc4_dev *vc4 = to_vc4_dev(state->dev); vc4_hvs_get_global_state() local
211 vc4_hvs_pv_muxing_commit(struct vc4_dev * vc4,struct drm_atomic_state * state) vc4_hvs_pv_muxing_commit() argument
254 vc5_hvs_pv_muxing_commit(struct vc4_dev * vc4,struct drm_atomic_state * state) vc5_hvs_pv_muxing_commit() argument
330 vc6_hvs_pv_muxing_commit(struct vc4_dev * vc4,struct drm_atomic_state * state) vc6_hvs_pv_muxing_commit() argument
381 struct vc4_dev *vc4 = to_vc4_dev(dev); vc4_atomic_commit_tail() local
537 struct vc4_dev *vc4 = to_vc4_dev(dev); vc4_fb_create() local
583 struct vc4_dev *vc4 = to_vc4_dev(dev); vc4_ctm_atomic_check() local
650 struct vc4_dev *vc4 = to_vc4_dev(state->dev); vc4_load_tracker_atomic_check() local
728 struct vc4_dev *vc4 = to_vc4_dev(dev); vc4_load_tracker_obj_fini() local
733 vc4_load_tracker_obj_init(struct vc4_dev * vc4) vc4_load_tracker_obj_init() argument
811 struct vc4_dev *vc4 = to_vc4_dev(dev); vc4_hvs_channels_obj_fini() local
816 vc4_hvs_channels_obj_init(struct vc4_dev * vc4) vc4_hvs_channels_obj_init() argument
999 struct vc4_dev *vc4 = to_vc4_dev(state->dev); vc4_core_clock_atomic_check() local
1111 struct vc4_dev *vc4 = to_vc4_dev(dev); vc4_kms_load() local
[all...]
H A Dvc4_drv.c8 * DOC: Broadcom VC4 Graphics Driver
49 #define DRIVER_NAME "vc4"
50 #define DRIVER_DESC "Broadcom VC4 graphics"
96 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_get_param_ioctl() local
103 if (WARN_ON_ONCE(vc4->gen > VC4_GEN_4)) in vc4_get_param_ioctl()
106 if (!vc4->v3d) in vc4_get_param_ioctl()
111 ret = vc4_v3d_pm_get(vc4); in vc4_get_param_ioctl()
115 vc4_v3d_pm_put(vc4); in vc4_get_param_ioctl()
118 ret = vc4_v3d_pm_get(vc4); in vc4_get_param_ioctl()
122 vc4_v3d_pm_put(vc4); in vc4_get_param_ioctl()
149 struct vc4_dev *vc4 = to_vc4_dev(dev); vc4_open() local
167 struct vc4_dev *vc4 = to_vc4_dev(dev); vc4_close() local
273 struct vc4_dev *vc4 = ptr; vc4_component_unbind_all() local
294 struct vc4_dev *vc4; vc4_drm_bind() local
[all...]
H A Dvc4_crtc.c7 * DOC: VC4 CRTC module
9 * In VC4, the Pixel Valve is what most closely corresponds to the
83 vc4_crtc_get_cob_allocation(struct vc4_dev *vc4, unsigned int channel) in vc4_crtc_get_cob_allocation() argument
85 struct vc4_hvs *hvs = vc4->hvs; in vc4_crtc_get_cob_allocation()
93 if (vc4->gen >= VC4_GEN_6_C) { in vc4_crtc_get_cob_allocation()
113 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_crtc_get_scanout_position() local
114 struct vc4_hvs *hvs = vc4->hvs; in vc4_crtc_get_scanout_position()
134 if (vc4->gen >= VC4_GEN_6_C) in vc4_crtc_get_scanout_position()
147 if (vc4->gen >= VC4_GEN_6_C) in vc4_crtc_get_scanout_position()
162 cob_size = vc4_crtc_get_cob_allocation(vc4, channe in vc4_crtc_get_scanout_position()
242 struct vc4_dev *vc4 = to_vc4_dev(vc4_crtc->base.dev); vc4_get_fifo_full_level() local
349 struct vc4_dev *vc4 = to_vc4_dev(dev); vc4_crtc_config_pv() local
489 struct vc4_dev *vc4 = to_vc4_dev(dev); require_hvs_enabled() local
506 struct vc4_dev *vc4 = to_vc4_dev(dev); vc4_crtc_disable() local
552 struct vc4_dev *vc4 = to_vc4_dev(drm); vc4_crtc_disable_at_boot() local
826 struct vc4_dev *vc4 = to_vc4_dev(dev); vc4_crtc_handle_page_flip() local
963 struct vc4_dev *vc4 = to_vc4_dev(dev); vc4_async_set_fence_cb() local
1047 struct vc4_dev *vc4 = to_vc4_dev(dev); vc4_async_page_flip() local
1093 struct vc4_dev *vc4 = to_vc4_dev(dev); vc4_page_flip() local
1123 struct vc4_dev *vc4 = to_vc4_dev(crtc->dev); vc4_crtc_destroy_state() local
1402 struct vc4_dev *vc4 = to_vc4_dev(drm); __vc4_crtc_init() local
[all...]
H A Dvc4_plane.c7 * DOC: VC4 plane module
282 struct vc4_dev *vc4 = to_vc4_dev(plane->dev); in vc4_plane_duplicate_state() local
283 struct vc4_hvs *hvs = vc4->hvs; in vc4_plane_duplicate_state()
337 struct vc4_dev *vc4 = to_vc4_dev(plane->dev); in vc4_plane_destroy_state() local
338 struct vc4_hvs *hvs = vc4->hvs; in vc4_plane_destroy_state()
572 struct vc4_dev *vc4 = to_vc4_dev(vc4_state->base.plane->dev); in vc4_write_tpz() local
575 WARN_ON_ONCE(vc4->gen > VC4_GEN_6_D); in vc4_write_tpz()
602 struct vc4_dev *vc4 = to_vc4_dev(vc4_state->base.plane->dev); in vc4_write_ppf() local
607 WARN_ON_ONCE(vc4->gen > VC4_GEN_6_D); in vc4_write_ppf()
664 struct vc4_dev *vc4 in __vc4_lbm_size() local
803 struct vc4_dev *vc4 = to_vc4_dev(state->plane->dev); vc4_lbm_size() local
837 struct vc4_dev *vc4 = to_vc4_dev(state->plane->dev); vc4_write_scaling_parameters() local
927 struct vc4_dev *vc4 = to_vc4_dev(drm); vc4_plane_allocate_lbm() local
982 struct vc4_dev *vc4 = to_vc4_dev(drm); vc6_plane_allocate_upm() local
1061 struct vc4_dev *vc4 = to_vc4_dev(drm); vc6_plane_free_upm() local
1128 struct vc4_dev *vc4 = to_vc4_dev(dev); vc4_hvs4_get_alpha_blend_mode() local
1154 struct vc4_dev *vc4 = to_vc4_dev(dev); vc4_hvs5_get_alpha_blend_mode() local
1190 struct vc4_dev *vc4 = to_vc4_dev(dev); vc4_hvs6_get_alpha_mask_mode() local
1209 struct vc4_dev *vc4 = to_vc4_dev(plane->dev); vc4_plane_mode_set() local
1702 struct vc4_dev *vc4 = to_vc4_dev(state->plane->dev); vc6_plane_get_csc_mode() local
1740 struct vc4_dev *vc4 = to_vc4_dev(drm); vc6_plane_mode_set() local
2130 struct vc4_dev *vc4 = to_vc4_dev(plane->dev); vc4_plane_atomic_check() local
2218 struct vc4_dev *vc4 = to_vc4_dev(plane->dev); vc4_plane_async_set_fb() local
2342 struct vc4_dev *vc4 = to_vc4_dev(plane->dev); vc4_plane_atomic_async_check() local
2510 struct vc4_dev *vc4 = to_vc4_dev(dev); vc4_plane_init() local
[all...]
H A DMakefile5 vc4-y := \
28 vc4-$(CONFIG_DRM_VC4_KUNIT_TEST) += \
35 vc4-$(CONFIG_DEBUG_FS) += vc4_debugfs.o
37 obj-$(CONFIG_DRM_VC4) += vc4.o
H A Dvc4_fence.c28 return "vc4"; in vc4_fence_get_driver_name()
33 return "vc4-v3d"; in vc4_fence_get_timeline_name()
39 struct vc4_dev *vc4 = to_vc4_dev(f->dev); in vc4_fence_signaled() local
41 return vc4->finished_seqno >= f->seqno; in vc4_fence_signaled()
H A Dvc4_hdmi.c10 * DOC: VC4 Falcon HDMI module
437 struct vc4_dev *vc4 = to_vc4_dev(connector->dev); in vc4_hdmi_connector_get_modes() local
442 if (!vc4->hvs->vc5_hdmi_enable_hdmi_20) { in vc4_hdmi_connector_get_modes()
884 struct vc4_dev *vc4 = to_vc4_dev(drm); in vc4_hdmi_encoder_post_crtc_disable() local
901 if (vc4->gen >= VC4_GEN_6_C) in vc4_hdmi_encoder_post_crtc_disable()
913 if (vc4->gen < VC4_GEN_6_C) { in vc4_hdmi_encoder_post_crtc_disable()
1500 * As stated in RPi's vc4 firmware "HDMI state machine (HSM) clock must in vc4_hdmi_encoder_pre_crtc_configure()
1503 * operation." This conflicts with bcm2835's vc4 documentation, which in vc4_hdmi_encoder_pre_crtc_configure()
1506 * Real life tests reveal that vc4's firmware statement holds up, and in vc4_hdmi_encoder_pre_crtc_configure()
1725 struct vc4_dev *vc4 in vc4_hdmi_connector_clock_valid() local
2117 struct vc4_dev *vc4 = to_vc4_dev(drm); vc4_hdmi_audio_prepare() local
[all...]
H A Dvc4_regs.h24 WARN_ON(!FIELD_FIT(hvs->vc4->gen == VC4_GEN_6_C ? \
27 FIELD_PREP(hvs->vc4->gen == VC4_GEN_6_C ? \
32 #define VC6_GET_FIELD(word, field) FIELD_GET(hvs->vc4->gen == VC4_GEN_6_C ? \
565 #define SCALER6_DISPX_CTRL0(x) ((hvs->vc4->gen == VC4_GEN_6_C) ? \
576 #define SCALER6_DISPX_CTRL1(x) ((hvs->vc4->gen == VC4_GEN_6_C) ? \
583 #define SCALER6_DISPX_BGND(x) ((hvs->vc4->gen == VC4_GEN_6_C) ? \
588 #define SCALER6_DISPX_LPTRS(x) ((hvs->vc4->gen == VC4_GEN_6_C) ? \
594 #define SCALER6_DISPX_COB(x) ((hvs->vc4->gen == VC4_GEN_6_C) ? \
601 #define SCALER6_DISPX_STATUS(x) ((hvs->vc4->gen == VC4_GEN_6_C) ? \
616 #define SCALER6_DISPX_DL(x) ((hvs->vc4->gen == VC4_GEN_6_C) ? \
[all …]
H A Dvc4_trace.h14 #define TRACE_SYSTEM vc4
154 #define TRACE_INCLUDE_PATH ../../drivers/gpu/drm/vc4
/linux/Documentation/gpu/
H A Dvc4.rst2 drm/vc4 Broadcom VC4 Graphics Driver
5 .. kernel-doc:: drivers/gpu/drm/vc4/vc4_drv.c
6 :doc: Broadcom VC4 Graphics Driver
18 .. kernel-doc:: drivers/gpu/drm/vc4/vc4_crtc.c
19 :doc: VC4 CRTC module
24 .. kernel-doc:: drivers/gpu/drm/vc4/vc4_hvs.c
25 :doc: VC4 HVS module.
30 .. kernel-doc:: drivers/gpu/drm/vc4/vc4_plane.c
31 :doc: VC4 plane module
36 .. kernel-doc:: drivers/gpu/drm/vc4/vc4_hdmi.c
[all …]
/linux/Documentation/devicetree/bindings/display/
H A Dbrcm,bcm2835-vc4.yaml4 $id: http://devicetree.org/schemas/display/brcm,bcm2835-vc4.yaml#
7 title: Broadcom VC4 (VideoCore4) GPU
13 The VC4 device present on the Raspberry Pi includes a display system
22 - brcm,bcm2835-vc4
23 - brcm,cygnus-vc4
32 vc4: gpu {
33 compatible = "brcm,bcm2835-vc4";
H A Dbrcm,bcm2835-txp.yaml7 title: Broadcom VC4 (VideoCore4) TXP (writeback) Controller
H A Dbrcm,bcm2835-v3d.yaml7 title: Broadcom VC4 (VideoCore4) V3D GPU
H A Dbrcm,bcm2835-vec.yaml7 title: Broadcom VC4 (VideoCore4) VEC
H A Dbrcm,bcm2835-pixelvalve0.yaml7 title: Broadcom VC4 (VideoCore4) PixelValve
H A Dbrcm,bcm2835-dpi.yaml7 title: Broadcom VC4 (VideoCore4) DPI Controller
/linux/drivers/gpu/drm/vc4/tests/
H A Dvc4_mock.c163 struct vc4_dev *vc4; in __mock_device() local
170 vc4 = drm_kunit_helper_alloc_drm_device_with_driver(test, dev, in __mock_device()
173 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, vc4); in __mock_device()
175 vc4->dev = dev; in __mock_device()
176 vc4->gen = gen; in __mock_device()
178 vc4->hvs = __vc4_hvs_alloc(vc4, NULL, NULL); in __mock_device()
179 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, vc4->hvs); in __mock_device()
181 drm = &vc4->base; in __mock_device()
196 return vc4; in __mock_device()
/linux/include/uapi/drm/
H A Dvc4_drm.h83 * their associated state. However, because the VC4 lacks an MMU, we have to
227 * struct drm_vc4_create_bo - ioctl argument for creating VC4 BOs.
241 * struct drm_vc4_mmap_bo - ioctl argument for mapping VC4 BOs.
260 * struct drm_vc4_create_shader_bo - ioctl argument for creating VC4
/linux/arch/arm/boot/dts/broadcom/
H A Dbcm2835-common.dtsi144 vc4: gpu { label
145 compatible = "brcm,bcm2835-vc4";
/linux/drivers/net/dsa/b53/
H A Db53_common.c386 u8 mgmt, vc0, vc1, vc4 = 0, vc5; in b53_enable_vlan() local
393 b53_read8(dev, B53_VLAN_PAGE, B53_VLAN_CTRL4_25, &vc4); in b53_enable_vlan()
396 b53_read8(dev, B53_VLAN_PAGE, B53_VLAN_CTRL4_63XX, &vc4); in b53_enable_vlan()
399 b53_read8(dev, B53_VLAN_PAGE, B53_VLAN_CTRL4, &vc4); in b53_enable_vlan()
408 vc4 &= ~VC4_ING_VID_CHECK_MASK; in b53_enable_vlan()
410 vc4 |= VC4_ING_VID_VIO_DROP << VC4_ING_VID_CHECK_S; in b53_enable_vlan()
413 vc4 |= VC4_NO_ING_VID_CHK << VC4_ING_VID_CHECK_S; in b53_enable_vlan()
426 vc4 &= ~VC4_ING_VID_CHECK_MASK; in b53_enable_vlan()
430 vc4 |= VC4_ING_VID_VIO_FWD << VC4_ING_VID_CHECK_S; in b53_enable_vlan()
432 vc4 |= VC4_ING_VID_VIO_TO_IMP << VC4_ING_VID_CHECK_S; in b53_enable_vlan()
[all …]
/linux/drivers/media/platform/broadcom/
H A DKconfig15 independently from the VC4 firmware.
/linux/Documentation/hwmon/
H A Draspberrypi-hwmon.rst17 This driver periodically polls a mailbox property of the VC4 firmware to detect

12