Home
last modified time | relevance | path

Searched refs:active (Results 1 - 25 of 64) sorted by relevance

123

/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/linux/
H A Dmali_linux_trace.h98 * @param active If the core is active (1) or not (0)
99 * @param core_type The type of core active, either GP (1) or PP (0)
100 * @param core_id The core id that is active for the core_type
106 TP_PROTO(pid_t pid, unsigned int active, unsigned int core_type, unsigned int core_id,
109 TP_ARGS(pid, active, core_type, core_id, frame_builder_id, flush_id),
111 TP_STRUCT__entry(__field(pid_t, pid) __field(unsigned int, active) __field(unsigned int, core_type)
115 TP_fast_assign(__entry->pid = pid; __entry->active = active; __entry->core_type = core_type;
119 TP_printk("%s|%d|%s%i:%x|%d", __entry->active
[all...]
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/linux/
H A Dmali_linux_trace.h124 * @param active If the core is active (1) or not (0)
125 * @param core_type The type of core active, either GP (1) or PP (0)
126 * @param core_id The core id that is active for the core_type
132 TP_PROTO(pid_t pid, unsigned int active, unsigned int core_type, unsigned int core_id, unsigned int frame_builder_id, unsigned int flush_id),
134 TP_ARGS(pid, active, core_type, core_id, frame_builder_id, flush_id),
138 __field(unsigned int, active)
147 __entry->active = active;
154 TP_printk("%s|%d|%s%i:%x|%d", __entry->active
[all...]
/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/
H A Dmali_timeline.h88 TP_PROTO(u64 ts_sec, u32 ts_nsec, int event_type, int active),
90 TP_ARGS(ts_sec, ts_nsec, event_type, active),
92 TP_STRUCT__entry(__field(u64, ts_sec) __field(u32, ts_nsec) __field(int, event_type) __field(int, active)),
95 __entry->active = active;),
98 __entry->active)
H A Dmali_kbase_trace_timeline.h107 #define KBASE_TIMELINE_GPU_POWER(kbdev, active) \
111 trace_mali_timeline_gpu_power_active(ts.tv_sec, ts.tv_nsec, SW_SET_GPU_POWER_ACTIVE, active); \
197 /* Trace number of contexts active */
263 #define KBASE_TIMELINE_GPU_POWER(kbdev, active) CSTD_NOP()
269 #define KBASE_TIMELINE_POWER_L2(kbdev, active) CSTD_NOP()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/
H A Dmali_timeline.h189 int active),
194 active),
200 __field(int, active)
207 __entry->active = active;
213 __entry->active)
H A Dmali_kbase_trace_timeline.h124 #define KBASE_TIMELINE_GPU_POWER(kbdev, active) \
129 SW_SET_GPU_POWER_ACTIVE, active); \
234 /* Trace number of contexts active */
304 #define KBASE_TIMELINE_GPU_POWER(kbdev, active) CSTD_NOP()
310 #define KBASE_TIMELINE_POWER_L2(kbdev, active) CSTD_NOP()
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/backend/gpu/
H A Dmali_kbase_pm_policy.c64 bool active; in kbase_pm_update_active() local
73 active = backend->pm_current_policy->get_core_active(kbdev); in kbase_pm_update_active()
74 WARN((kbase_pm_is_active(kbdev) && !active), in kbase_pm_update_active()
75 "GPU is active but policy '%s' is indicating that it can be powered off", in kbase_pm_update_active()
78 if (active) { in kbase_pm_update_active()
104 * when there are contexts active */ in kbase_pm_update_active()
233 /* During a policy change we pretend the GPU is active */ in kbase_pm_set_policy()
268 /* Now the policy change is finished, we release our fake context active in kbase_pm_set_policy()
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/i915/gt/
H A Dintel_engine_cs.c590 execlists->active = memset(execlists->inflight, 0, sizeof(execlists->inflight)); in intel_engine_init_execlists()
767 spin_lock_irq(&engine->active.lock); in measure_breadcrumb_dw()
771 spin_unlock_irq(&engine->active.lock); in measure_breadcrumb_dw()
782 INIT_LIST_HEAD(&engine->active.requests); in intel_engine_init_active()
783 INIT_LIST_HEAD(&engine->active.hold); in intel_engine_init_active()
785 spin_lock_init(&engine->active.lock); in intel_engine_init_active()
786 lockdep_set_subclass(&engine->active.lock, subclass); in intel_engine_init_active()
795 lock_map_acquire(&engine->active.lock.dep_map); in intel_engine_init_active()
796 lock_map_release(&engine->active.lock.dep_map); in intel_engine_init_active()
930 GEM_BUG_ON(!list_empty(&engine->active in intel_engine_cleanup_common()
1702 struct i915_request *request, *active = NULL; intel_engine_find_active_request() local
[all...]
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/csf/ipa_control/
H A Dmali_kbase_csf_ipa_control.c312 if (session->active) { in kbase_ipa_control_rate_change_notify()
327 /* Update the timer for automatic sampling if active sessions in kbase_ipa_control_rate_change_notify()
360 ipa_ctrl->sessions[i].active = false; in kbase_ipa_control_init()
437 * If a single session is given, it is assumed to be active, regardless of
438 * the number of active sessions. The number of performance counters belonging
442 * The function does nothing if there are no active sessions.
458 * but there are no active sessions. It's important that no operation in session_gpu_start()
504 if (session_to_check->active) in session_gpu_start()
605 if (!session->active) in kbase_ipa_control_register()
688 session->active in kbase_ipa_control_register()
[all...]
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/backend/gpu/
H A Dmali_kbase_pm_policy.c95 bool active; in kbase_pm_update_active() local
104 active = backend->pm_current_policy->get_core_active(kbdev); in kbase_pm_update_active()
105 WARN((kbase_pm_is_active(kbdev) && !active), in kbase_pm_update_active()
106 "GPU is active but policy '%s' is indicating that it can be powered off", in kbase_pm_update_active()
109 if (active) { in kbase_pm_update_active()
136 * when there are contexts active in kbase_pm_update_active()
331 /* If the current active policy is always_on, one needs to clamp the in kbase_pm_set_policy()
345 /* During a policy change we pretend the GPU is active */ in kbase_pm_set_policy()
389 /* Now the policy change is finished, we release our fake context active in kbase_pm_set_policy()
/device/soc/rockchip/common/vendor/drivers/video/rockchip/mpp/hack/
H A Dmpp_hack_px30.c47 bool active = true; in mpp_iommu_is_paged() local
50 active &= !!(status & RK_MMU_STATUS_PAGING_ENABLED); in mpp_iommu_is_paged()
52 return active; in mpp_iommu_is_paged()
/device/soc/rockchip/rk3588/kernel/drivers/video/rockchip/mpp/hack/
H A Dmpp_hack_px30.c47 bool active = true; in mpp_iommu_is_paged() local
51 active &= !!(status & RK_MMU_STATUS_PAGING_ENABLED); in mpp_iommu_is_paged()
54 return active; in mpp_iommu_is_paged()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/
H A Dmali_kbase_kinstr_prfcnt.c150 * @sample_flags: Flags for the current active dumping sample, marking
152 * @active: True if the client has been started.
181 bool active; member
330 /* Ignore clients that are not periodic or not active. */ in kbasep_kinstr_prfcnt_reschedule_worker()
331 if (pos->active && pos->dump_interval_ns > 0) { in kbasep_kinstr_prfcnt_reschedule_worker()
609 /* For periodic sampling, the current active dump in kbasep_kinstr_prfcnt_client_dump()
673 if (cli->active) in kbasep_kinstr_prfcnt_client_start()
686 cli->active = true; in kbasep_kinstr_prfcnt_client_start()
725 if (!cli->active) in kbasep_kinstr_prfcnt_client_stop()
773 cli->active in kbasep_kinstr_prfcnt_client_stop()
[all...]
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/rockchip/
H A Dcdn-dp-core.c333 DRM_DEV_ERROR(dp->dev, "active ucpu failed: %d\n", ret); in cdn_dp_firmware_init()
430 if (!dp->active) { in cdn_dp_disable()
446 dp->active = false; in cdn_dp_disable()
468 if (dp->active) { in cdn_dp_enable()
497 dp->active = true; in cdn_dp_enable()
619 if (dp->active) { in cdn_dp_encoder_disable()
743 if (!dp->active) { in cdn_dp_audio_hw_params()
777 if (!dp->active) { in cdn_dp_audio_shutdown()
795 if (!dp->active) { in cdn_dp_audio_mute_stream()
904 } else if (!dp->active) { in cdn_dp_pd_event_work()
[all...]
H A Dcdn-dp-core.h75 bool active; member
/device/soc/rockchip/common/sdk_linux/drivers/dma-buf/
H A Ddma-buf.c102 BUG_ON(dmabuf->cb_shared.active || dmabuf->cb_excl.active); in dma_buf_release()
290 wake_up_locked_poll(dcb->poll, dcb->active); in dma_buf_poll_cb()
291 dcb->active = 0; in dma_buf_poll_cb()
344 if (dcb->active) { in dma_buf_poll()
345 dcb->active |= pevents; in dma_buf_poll()
348 dcb->active = pevents; in dma_buf_poll()
377 if (dcb->active) { in dma_buf_poll()
380 dcb->active = EPOLLOUT; in dma_buf_poll()
666 dmabuf->cb_excl.active in dma_buf_export()
[all...]
/device/soc/rockchip/common/sdk_linux/drivers/video/backlight/
H A Dpwm_bl.c415 bool active = true; in pwm_backlight_initial_power_state() local
419 * or output) and off then the backlight is not currently active. in pwm_backlight_initial_power_state()
422 active = false; in pwm_backlight_initial_power_state()
426 active = false; in pwm_backlight_initial_power_state()
430 active = false; in pwm_backlight_initial_power_state()
438 gpiod_direction_output(pb->enable_gpio, active); in pwm_backlight_initial_power_state()
458 return active ? FB_BLANK_UNBLANK : FB_BLANK_POWERDOWN; in pwm_backlight_initial_power_state()
/device/soc/rockchip/common/sdk_linux/include/linux/usb/
H A Dtypec.h152 void typec_altmode_update_active(struct typec_altmode *alt, bool active);
173 * @active: Is the cable active or passive
181 unsigned int active : 1; member
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/mbedtls/include/mbedtls/
H A Dssl_ticket.h67 unsigned char active; /*!< index of the currently active key */ member
/device/soc/rockchip/rk2206/hardware/include/lz_hardware/
H A Dpwm.h65 bool active; member
/device/soc/rockchip/common/sdk_linux/include/linux/
H A Dwakelock.h23 * states when active. If the type is set to WAKE_LOCK_SUSPEND, the wake_lock
72 return lock->ws.active; in wake_lock_active()
/device/soc/rockchip/rk3588/kernel/include/linux/
H A Dwakelock.h23 * states when active. If the type is set to WAKE_LOCK_SUSPEND, the wake_lock
73 return lock->ws.active; in wake_lock_active()
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/
H A Ddrm_atomic_helper.c201 crtc_state->active = false; in handle_conflicting_encoders()
329 if (!state->duplicated && drm_connector_is_unregistered(connector) && crtc_state->active) { in update_connector_routing()
560 * &drm_crtc_state.active changes, which is used for DPMS.
612 if (old_crtc_state->active != new_crtc_state->active) { in drm_atomic_helper_check_modeset()
613 DRM_DEBUG_ATOMIC("[CRTC:%d:%s] active changed\n", crtc->base.id, crtc->name); in drm_atomic_helper_check_modeset()
683 DRM_DEBUG_ATOMIC("[CRTC:%d:%s] needs all connectors, enable: %c, active: %c\n", crtc->base.id, crtc->name, in drm_atomic_helper_check_modeset()
684 new_crtc_state->enable ? 'y' : 'n', new_crtc_state->active ? 'y' : 'n'); in drm_atomic_helper_check_modeset()
913 * it's currently active or in self refresh mode. in crtc_needs_disable()
927 return old_state->active || (old_stat in crtc_needs_disable()
[all...]
/device/qemu/SmartL_E802/liteos_m/board/hals/csky_driver/include/
H A Ddrv_rtc.h46 uint32_t active : 1; ///< rtc is running or not member
H A Ddrv_timer.h46 uint32_t active : 1; ///< timer active flag member

Completed in 30 milliseconds

123