Home
last modified time | relevance | path

Searched refs:idle (Results 1 - 19 of 19) sorted by relevance

/device/soc/rockchip/common/vendor/drivers/rockchip/
H A Dpm_domains.c125 #define DOMAIN(_name, pwr, status, req, idle, ack, wakeup, keepon) \
127 .name = (_name), .pwr_mask = (pwr), .status_mask = (status), .req_mask = (req), .idle_mask = (idle), \
131 #define DOMAIN_M(_name, pwr, status, req, idle, ack, wakeup, keepon) \
134 .req_w_mask = (req) << 16, .req_mask = (req), .idle_mask = (idle), .ack_mask = (ack), \
138 #define DOMAIN_M_O(_name, pwr, status, p_offset, req, idle, ack, r_offset, wakeup, keepon) \
141 .req_w_mask = (req) << 16, .req_mask = (req), .idle_mask = (idle), .ack_mask = (ack), \
145 #define DOMAIN_M_O_R(_name, p_offset, pwr, status, r_status, r_offset, req, idle, ack, wakeup, keepon) \
149 .req_w_mask = (req) << 16, .req_mask = (req), .idle_mask = (idle), .ack_mask = (ack), \
153 #define DOMAIN_RK3036(_name, req, ack, idle, wakeup) \
155 .name = (_name), .req_mask = (req), .req_w_mask = (req) << 16, .ack_mask = (ack), .idle_mask = (idle), \
215 rockchip_pmu_set_idle_request(struct rockchip_pm_domain *pd, bool idle) rockchip_pmu_set_idle_request() argument
263 rockchip_pmu_idle_request(struct device *dev, bool idle) rockchip_pmu_idle_request() argument
[all...]
/device/soc/rockchip/common/sdk_linux/drivers/soc/rockchip/
H A Dpm_domains.c136 #define DOMAIN(_name, pwr, status, req, idle, ack, wakeup, keepon) \
138 .name = (_name), .pwr_mask = (pwr), .status_mask = (status), .req_mask = (req), .idle_mask = (idle), \
142 #define DOMAIN_M(_name, pwr, status, req, idle, ack, wakeup, keepon) \
145 .req_w_mask = (req) << 16, .req_mask = (req), .idle_mask = (idle), .ack_mask = (ack), \
149 #define DOMAIN_M_O(_name, pwr, status, p_offset, req, idle, ack, r_offset, wakeup, keepon) \
152 .req_w_mask = (req) << 16, .req_mask = (req), .idle_mask = (idle), .ack_mask = (ack), \
156 #define DOMAIN_M_O_R(_name, p_offset, pwr, status, r_status, r_offset, req, idle, ack, wakeup, keepon) \
160 .req_w_mask = (req) << 16, .req_mask = (req), .idle_mask = (idle), .ack_mask = (ack), \
164 #define DOMAIN_RK3036(_name, req, ack, idle, wakeup) \
166 .name = (_name), .req_mask = (req), .req_w_mask = (req) << 16, .ack_mask = (ack), .idle_mask = (idle), \
226 rockchip_pmu_set_idle_request(struct rockchip_pm_domain *pd, bool idle) rockchip_pmu_set_idle_request() argument
275 rockchip_pmu_idle_request(struct device *dev, bool idle) rockchip_pmu_idle_request() argument
[all...]
/device/soc/rockchip/common/sdk_linux/include/soc/rockchip/
H A Dpm_domains.h13 int rockchip_pmu_idle_request(struct device *dev, bool idle);
33 static inline int rockchip_pmu_idle_request(struct device *dev, bool idle) in rockchip_pmu_idle_request() argument
/device/soc/rockchip/rk3588/kernel/include/soc/rockchip/
H A Dpm_domains.h13 int rockchip_pmu_idle_request(struct device *dev, bool idle);
33 static inline int rockchip_pmu_idle_request(struct device *dev, bool idle) in rockchip_pmu_idle_request() argument
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/tests/mali_kutf_clk_rate_trace/kernel/
H A Dmali_kutf_clk_rate_trace_test.c242 bool idle; in kutf_clk_trace_do_get_rate() local
259 idle = kbdev->pm.clk_rtm.gpu_idle; in kutf_clk_trace_do_get_rate()
265 rate, idle); in kutf_clk_trace_do_get_rate()
610 * 1). GPU idle on test start, trace rate should be 0 (low power state)
621 bool idle[2] = { false }; in kutf_clk_trace_barebone_check() local
625 /* Check consistency if gpu happens to be idle */ in kutf_clk_trace_barebone_check()
627 idle[0] = kbdev->pm.clk_rtm.gpu_idle; in kutf_clk_trace_barebone_check()
641 pr_err("Trace did not see idle rate\n"); in kutf_clk_trace_barebone_check()
651 idle[1] = kbdev->pm.clk_rtm.gpu_idle; in kutf_clk_trace_barebone_check()
662 if (idle[ in kutf_clk_trace_barebone_check()
[all...]
/device/soc/rockchip/common/sdk_linux/kernel/sched/
H A Dfair.c1718 /* Find alternative idle CPU. */ in task_numa_assign()
1732 /* Failed to find an alternative idle CPU */ in task_numa_assign()
1939 /* Evaluate an idle CPU for a task numa move. */ in task_numa_compare()
1943 /* Nothing cached so current CPU went idle since the search. */ in task_numa_compare()
1949 * If the CPU is no longer truly idle and the previous best CPU in task_numa_compare()
1962 * If a move to idle is allowed because there is capacity or load in task_numa_compare()
2006 /* Use idle CPU if there is no imbalance */ in task_numa_find_cpu()
2262 * completely idle or all activity is areas that are not of interest in update_task_scan_period()
3276 * conditions. In specific, the case where the group was idle and we start the
3286 * That is, the sum collapses because all other CPUs are idle; th
5464 int idle = 0; sched_cfs_period_timer() local
6245 struct cpuidle_state *idle = idle_get_state(rq); find_idlest_group_cpu() local
6417 bool idle = true; select_idle_core() local
7867 enum cpu_idle_type idle; global() member
10151 load_balance(int this_cpu, struct rq *this_rq, struct sched_domain *sd, enum cpu_idle_type idle, int *continue_balancing) load_balance() argument
10632 rebalance_domains(struct rq *rq, enum cpu_idle_type idle) rebalance_domains() argument
11063 _nohz_idle_balance(struct rq *this_rq, unsigned int flags, enum cpu_idle_type idle) _nohz_idle_balance() argument
11179 nohz_idle_balance(struct rq *this_rq, enum cpu_idle_type idle) nohz_idle_balance() argument
11238 nohz_idle_balance(struct rq *this_rq, enum cpu_idle_type idle) nohz_idle_balance() argument
11385 enum cpu_idle_type idle = this_rq->idle_balance ? CPU_IDLE : CPU_NOT_IDLE; run_rebalance_domains() local
[all...]
H A Dcore.c495 * If this returns true, then the idle task promises to call
671 * In the semi idle case, use the nearest busy CPU for migrating timers
672 * from an idle CPU. This is good for power-savings.
674 * We don't do similar optimization for completely idle system, as
675 * selecting an idle CPU will add more delays to the timers than intended
721 /* no active, not-idle, housekpeeing CPU found. */ in get_nohz_timer_target()
736 * idle CPU then this timer might expire before the next timer event
738 * idle system the next event might even be infinite time into the
740 * leaves the inner idle loop so the newly added timer is taken into
741 * account when the CPU goes back to idle an
7118 init_idle(struct task_struct *idle, int cpu) init_idle() argument
[all...]
H A Drt.c31 int idle = 0; in sched_rt_period_timer() local
42 idle = do_sched_rt_period_timer(rt_b, overrun); in sched_rt_period_timer()
45 if (idle) { in sched_rt_period_timer()
50 return idle ? HRTIMER_NORESTART : HRTIMER_RESTART; in sched_rt_period_timer()
895 int i, idle = 1, throttled = 0; in do_sched_rt_period_timer() local
948 * When we're idle and a woken (rt) task is in do_sched_rt_period_timer()
954 if (rt_rq->rt_nr_running && rq->curr == rq->idle) { in do_sched_rt_period_timer()
959 idle = 0; in do_sched_rt_period_timer()
963 idle = 0; in do_sched_rt_period_timer()
982 return idle; in do_sched_rt_period_timer()
[all...]
H A Dsched.h17 #include <linux/sched/idle.h>
433 u8 idle; member
1034 struct task_struct *idle; member
/device/soc/rockchip/common/sdk_linux/kernel/
H A Dcpu.c580 struct task_struct *idle = idle_thread_get(cpu); in bringup_cpu() local
586 scs_task_reset(idle); in bringup_cpu()
587 kasan_unpoison_task_stack(idle); in bringup_cpu()
597 ret = __cpu_up(cpu, idle); in bringup_cpu()
607 struct task_struct *idle = idle_thread_get(cpu); in finish_cpu() local
608 struct mm_struct *mm = idle->active_mm; in finish_cpu()
615 idle->active_mm = &init_mm; in finish_cpu()
1020 * all runnable tasks from the CPU, there's only the idle task left now in takedown_cpu()
1275 * Called from the idle task. Wake up the controlling task which brings the
1289 * Unpart the stopper thread before we start the idle loo in cpuhp_online_idle()
1302 struct task_struct *idle; _cpu_up() local
[all...]
/device/soc/rockchip/rk3588/kernel/drivers/video/rockchip/mpp/
H A Dmpp_common.h297 /* the flag for pmu idle request before device reset */
755 static inline int mpp_pmu_idle_request(struct mpp_dev *mpp, bool idle) in mpp_pmu_idle_request() argument
760 return rockchip_pmu_idle_request(mpp->dev, idle); in mpp_pmu_idle_request()
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/include/
H A Dhnd_pktpool.h105 uint8 idle; /* avail in pool */ member
H A Dwlioctl.h1763 uint32 idle; /**< time since data pkt rx'd from sta */ member
1836 uint32 idle; /**< time since data pkt rx'd from sta */ member
1912 uint32 idle; /**< time since data pkt rx'd from sta */ member
2922 uint32 idle_slotcnt_mimo; /* MIMO idle slotcnt raw SHM value */
2924 uint32 idle_slotcnt_siso; /* SISO idle slotcnt raw SHM value */
5563 /* 1/2 second precision since idle time is a seconds counter anyway */
8120 /* Total time(us) idle in MIMO RX chain configuration */
8122 /* Total time(us) idle in SISO RX chain configuration */
8139 /* Total time(us) idle in MIMO RX chain configuration */
8141 /* Total time(us) idle i
[all...]
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/i915/gt/
H A Dintel_engine_cs.c1008 * leave the engine idle. So they should not be caught unaware by in stop_timeout()
1165 bool idle = true; in ring_is_idle() local
1177 idle = false; in ring_is_idle()
1180 /* No bit for gen2, so assume the CS parser is idle */ in ring_is_idle()
1182 idle = false; in ring_is_idle()
1187 return idle; in ring_is_idle()
1218 * to hardware, and that the engine is idle.
1264 /* Already parked (and passed an idleness test); must still be idle */ in intel_engines_are_idle()
1434 ENGINE_READ(engine, RING_MI_MODE) & (MODE_IDLE) ? " [idle]" : ""); in intel_engine_print_registers()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/csf/
H A Dmali_kbase_csf_scheduler.c74 /* CS suspended and is idle (empty ring buffer) */
730 * This function is called on the GPU idle notification. It releases the
812 * update_idle_suspended_group_state() - Move the queue group to a non-idle
816 * This function is called to change the state of queue group to non-idle
819 * empty. The group is also moved to the runnable list from idle wait list in
842 * idle groups, schedule an async tock. in update_idle_suspended_group_state()
1404 * Enable the CSG idle notification once the CS's ringbuffer in program_cs()
1725 * The group to which queue is bound shall be in idle state.
1768 * this queue was blocked when the group (in idle state) was in save_slot_cs()
1947 dev_dbg(kctx->kbdev->dev, "Scheduler idle ha in remove_group_from_runnable()
2137 bool idle = kbase_csf_firmware_csg_output(ginfo, CSG_STATUS_STATE) & save_csg_slot() local
3227 bool idle = kbase_csf_firmware_csg_output(ginfo, CSG_STATUS_STATE) & group_on_slot_is_idle() local
[all...]
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/common/
H A Dmali_executor.c325 * mali_executor_complete_XX() leaves jobs in idle state. in mali_executor_suspend()
842 /* Move group from inactive to idle list */ in mali_executor_group_power_up()
865 /* Move group from inactive to idle */ in mali_executor_group_power_up()
1030 * If a physical group is inactive or idle, we should disable it immediately,
1031 * if group is in virtual, and virtual group is idle, disable given physical group in it.
1368 /* Remove group from idle list */ in mali_executor_physical_rejoin_virtual()
1535 /* Set GP group state to idle */ in mali_executor_schedule()
1548 /* We have enough groups on idle list already */ in mali_executor_schedule()
1566 /* Move from inactive to idle */ in mali_executor_schedule()
1598 /* Group is ready, add to idle lis in mali_executor_schedule()
2432 mali_bool idle; mali_executor_change_group_status_disabled() local
[all...]
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/common/
H A Dmali_executor.c334 * mali_executor_complete_XX() leaves jobs in idle state. in mali_executor_suspend()
889 /* Move group from inactive to idle list */ in mali_executor_group_power_up()
919 /* Move group from inactive to idle */ in mali_executor_group_power_up()
1090 * If a physical group is inactive or idle, we should disable it immediately,
1091 * if group is in virtual, and virtual group is idle, disable given physical group in it.
1446 /* Remove group from idle list */ in mali_executor_physical_rejoin_virtual()
1618 /* Set GP group state to idle */ in mali_executor_schedule()
1633 /* We have enough groups on idle list already */ in mali_executor_schedule()
1654 /* Move from inactive to idle */ in mali_executor_schedule()
1690 /* Group is ready, add to idle lis in mali_executor_schedule()
2561 mali_bool idle; mali_executor_change_group_status_disabled() local
[all...]
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
H A Dhnd_pktpool.c856 stats->idle++; break; in pktpool_stats_dump()
H A Dwl_cfg80211.c1175 u32 idle; member
8083 sta->idle = dtoh32(sta->idle); in wl_cfg80211_get_station()
8085 sinfo->inactive_time = sta->idle * 1000; in wl_cfg80211_get_station()
8092 WL_INFORM_MEM(("STA %s, flags 0x%x, idle time %ds, connected time %ds\n", in wl_cfg80211_get_station()
8094 sta->flags, sta->idle, sta->in)); in wl_cfg80211_get_station()
12590 survey->idle = simple_strtoul(token, NULL, 10); in wl_parse_dump_obss()
12731 info->channel_time_busy = ACS_MSRMNT_DELAY - survey->idle; in wl_cfg80211_dump_survey()

Completed in 116 milliseconds