/kernel/linux/linux-6.6/drivers/i2c/muxes/ |
H A D | i2c-mux-reg.c | 73 return i2c_mux_reg_set(mux, mux->data.idle); in i2c_mux_reg_deselect() 135 if (!of_property_read_u32(np, "idle-state", &mux->data.idle)) in i2c_mux_reg_probe_dt()
|
/kernel/linux/linux-6.6/kernel/sched/ |
H A D | core.c | 265 * Migrating the last task off the cpu, with the cpu in forced idle in sched_core_dequeue() 266 * state. Reschedule to create an accounting edge for forced idle, in sched_core_dequeue() 267 * and re-examine whether the core is still in forced idle state. in sched_core_dequeue() 270 rq->core->core_forceidle_count && rq->curr == rq->idle) in sched_core_dequeue() 920 * If this returns true, then the idle task promises to call 1085 * In the semi idle case, use the nearest busy CPU for migrating timers 1086 * from an idle CPU. This is good for power-savings. 1088 * We don't do similar optimization for completely idle system, as 1089 * selecting an idle CPU will add more delays to the timers than intended 1126 * idle CP 9479 init_idle(struct task_struct *idle, int cpu) init_idle() argument 11945 cpu_idle_write_s64(struct cgroup_subsys_state *css, struct cftype *cft, s64 idle) cpu_idle_write_s64() argument [all...] |
/kernel/linux/linux-5.10/drivers/dma/ |
H A D | fsldma.c | 230 /* wait for the DMA controller to become idle */ in dma_halt() 563 * HARDWARE STATE: idle 580 * The DMA controller is not idle, which means that the interrupt in fsl_chan_xfer_ld_queue() 584 if (!chan->idle) { in fsl_chan_xfer_ld_queue() 598 chan_dbg(chan, "idle, starting controller\n"); in fsl_chan_xfer_ld_queue() 623 chan->idle = false; in fsl_chan_xfer_ld_queue() 841 chan->idle = true; in fsl_dma_device_terminate_all() 961 /* check that the DMA controller is really idle */ in fsldma_chan_irq() 963 chan_err(chan, "irq: controller not idle!\n"); in fsldma_chan_irq() 987 /* the hardware is now idle an in dma_do_tasklet() [all...] |
H A D | fsl-edma-common.c | 169 fsl_chan->idle = true; in fsl_edma_terminate_all() 186 fsl_chan->idle = true; in fsl_edma_pause() 202 fsl_chan->idle = false; in fsl_edma_resume() 603 fsl_chan->idle = false; in fsl_edma_xfer_desc()
|
/kernel/linux/linux-5.10/net/netrom/ |
H A D | af_netrom.c | 340 nr->idle = opt * 60 * HZ; in nr_setsockopt() 383 val = nr->idle / (60 * HZ); in nr_getsockopt() 463 nr->idle = in nr_create() 509 nr->idle = onr->idle; in nr_make_new() 1292 "user_addr dest_node src_node dev my your st vs vr va t1 t2 t4 idle n2 wnd Snd-Q Rcv-Q inode\n"); in nr_info_show() 1325 nr->idle / (60 * HZ), in nr_info_show()
|
/kernel/linux/linux-5.10/kernel/debug/kdb/ |
H A D | kdb_main.c | 2280 state = 'I'; /* idle task */ in kdb_cpu_status() 2341 /* The user may not realize that ps/bta with no parameters does not print idle 2346 int idle = 0, daemon = 0; in kdb_ps_suppressed() local 2354 ++idle; in kdb_ps_suppressed() 2360 if (idle || daemon) { in kdb_ps_suppressed() 2361 if (idle) in kdb_ps_suppressed() 2362 kdb_printf("%d idle process%s (state I)%s\n", in kdb_ps_suppressed() 2363 idle, idle == 1 ? "" : "es", in kdb_ps_suppressed()
|
/kernel/linux/linux-6.6/kernel/debug/kdb/ |
H A D | kdb_main.c | 2212 state = '-'; /* idle task */ in kdb_cpu_status() 2273 /* The user may not realize that ps/bta with no parameters does not print idle 2278 int idle = 0, daemon = 0; in kdb_ps_suppressed() local 2284 ++idle; in kdb_ps_suppressed() 2290 if (idle || daemon) { in kdb_ps_suppressed() 2291 if (idle) in kdb_ps_suppressed() 2292 kdb_printf("%d idle process%s (state -)%s\n", in kdb_ps_suppressed() 2293 idle, idle == 1 ? "" : "es", in kdb_ps_suppressed()
|
/kernel/linux/linux-6.6/drivers/dma/ |
H A D | fsldma.c | 231 /* wait for the DMA controller to become idle */ in dma_halt() 564 * HARDWARE STATE: idle 581 * The DMA controller is not idle, which means that the interrupt in fsl_chan_xfer_ld_queue() 585 if (!chan->idle) { in fsl_chan_xfer_ld_queue() 599 chan_dbg(chan, "idle, starting controller\n"); in fsl_chan_xfer_ld_queue() 624 chan->idle = false; in fsl_chan_xfer_ld_queue() 842 chan->idle = true; in fsl_dma_device_terminate_all() 962 /* check that the DMA controller is really idle */ in fsldma_chan_irq() 964 chan_err(chan, "irq: controller not idle!\n"); in fsldma_chan_irq() 988 /* the hardware is now idle an in dma_do_tasklet() [all...] |
/kernel/linux/linux-6.6/block/ |
H A D | mq-deadline.c | 1128 u32 rt, be, idle; in dd_queued_show() local 1133 idle = dd_queued(dd, DD_IDLE_PRIO); in dd_queued_show() 1136 seq_printf(m, "%u %u %u\n", rt, be, idle); in dd_queued_show() 1156 u32 rt, be, idle; in dd_owned_by_driver_show() local 1161 idle = dd_owned_by_driver(dd, DD_IDLE_PRIO); in dd_owned_by_driver_show() 1164 seq_printf(m, "%u %u %u\n", rt, be, idle); in dd_owned_by_driver_show()
|
H A D | bfq-wf2q.c | 345 * bfq_idle_extract - extract an entity from the idle tree. 365 bfq_extract(&st->idle, entity); in bfq_idle_extract() 376 * This is used for the idle and the active tree, since they are both 588 * bfq_idle_insert - insert an entity into the idle tree. 604 bfq_insert(&st->idle, entity); in bfq_idle_insert() 638 * bfq_put_idle_entity - release the idle tree ref of an entity. 650 * bfq_forget_idle - update the idle tree if necessary. 654 * as the idle tree will not grow indefinitely this can be done safely. 664 * Forget the whole idle tree, increasing the vtime past in bfq_forget_idle() 665 * the last finish time of idle entitie in bfq_forget_idle() [all...] |
/kernel/linux/linux-6.6/net/netrom/ |
H A D | af_netrom.c | 340 nr->idle = opt * 60 * HZ; in nr_setsockopt() 383 val = nr->idle / (60 * HZ); in nr_getsockopt() 463 nr->idle = in nr_create() 509 nr->idle = onr->idle; in nr_make_new() 1293 "user_addr dest_node src_node dev my your st vs vr va t1 t2 t4 idle n2 wnd Snd-Q Rcv-Q inode\n"); in nr_info_show() 1326 nr->idle / (60 * HZ), in nr_info_show()
|
/device/soc/rockchip/common/sdk_linux/kernel/sched/ |
H A D | rt.c | 31 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...] |
/kernel/linux/linux-5.10/net/sched/ |
H A D | sch_cbq.c | 62 idle time. Workaround is to consider the next dequeue event 78 unsigned char ewma_log; /* time constant for idle time calculation */ 566 long idle; in cbq_update() local 575 * idle = (now - last) - last_pktlen/rate in cbq_update() 578 idle = now - cl->last; in cbq_update() 579 if ((unsigned long)idle > 128*1024*1024) { in cbq_update() 582 idle -= L2T(cl, len); in cbq_update() 584 /* true_avgidle := (1-W)*true_avgidle + W*idle, in cbq_update() 589 avgidle += idle - (avgidle>>cl->ewma_log); in cbq_update() 604 * idle in cbq_update() [all...] |
/kernel/linux/linux-5.10/kernel/sched/ |
H A D | rt.c | 32 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() 49 return idle ? HRTIMER_NORESTART : HRTIMER_RESTART; in sched_rt_period_timer() 868 int i, idle = 1, throttled = 0; in do_sched_rt_period_timer() local 917 * When we're idle and a woken (rt) task is in do_sched_rt_period_timer() 923 if (rt_rq->rt_nr_running && rq->curr == rq->idle) in do_sched_rt_period_timer() 927 idle = 0; in do_sched_rt_period_timer() 930 idle = 0; in do_sched_rt_period_timer() 945 return idle; in do_sched_rt_period_timer() [all...] |
/kernel/linux/linux-5.10/block/ |
H A D | bfq-wf2q.c | 337 * bfq_idle_extract - extract an entity from the idle tree. 357 bfq_extract(&st->idle, entity); in bfq_idle_extract() 368 * This is used for the idle and the active tree, since they are both 605 * bfq_idle_insert - insert an entity into the idle tree. 621 bfq_insert(&st->idle, entity); in bfq_idle_insert() 655 * bfq_put_idle_entity - release the idle tree ref of an entity. 667 * bfq_forget_idle - update the idle tree if necessary. 671 * as the idle tree will not grow indefinitely this can be done safely. 681 * Forget the whole idle tree, increasing the vtime past in bfq_forget_idle() 682 * the last finish time of idle entitie in bfq_forget_idle() [all...] |
/kernel/linux/linux-5.10/arch/m68k/fpsp040/ |
H A D | gen_except.S | 58 cmpib #IDLE_SIZE-4,1(%a7) |test for idle frame 59 beq do_check |go handle idle frame 124 | Frame is idle, so check for exceptions reported through 127 | idle fsave vector to the unimp vector. 427 tstb 1(%sp) | check to see if idle 442 tstb 1(%sp) | check to see if idle
|
/kernel/linux/linux-6.6/arch/m68k/fpsp040/ |
H A D | gen_except.S | 58 cmpib #IDLE_SIZE-4,1(%a7) |test for idle frame 59 beq do_check |go handle idle frame 124 | Frame is idle, so check for exceptions reported through 127 | idle fsave vector to the unimp vector. 427 tstb 1(%sp) | check to see if idle 442 tstb 1(%sp) | check to see if idle
|
/kernel/linux/linux-5.10/drivers/input/touchscreen/ |
H A D | zforce_ts.c | 239 static int zforce_scan_frequency(struct zforce_ts *ts, u16 idle, u16 finger, in zforce_scan_frequency() argument 244 (idle & 0xff), ((idle >> 8) & 0xff), in zforce_scan_frequency() 249 "set scan frequency to (idle: %d, finger: %d, stylus: %d)\n", in zforce_scan_frequency() 250 idle, finger, stylus); in zforce_scan_frequency()
|
/kernel/linux/linux-5.10/drivers/misc/sgi-xp/ |
H A D | xpc_main.c | 613 int idle = atomic_read(&ch->kthreads_idle); in xpc_activate_kthreads() local 619 if (idle > 0) { in xpc_activate_kthreads() 620 wakeup = (needed > idle) ? idle : needed; in xpc_activate_kthreads() 623 dev_dbg(xpc_chan, "wakeup %d idle kthreads, partid=%d, " in xpc_activate_kthreads() 664 /* too many idle kthreads on this channel */ in xpc_kthread_waitmsgs() 669 dev_dbg(xpc_chan, "idle kthread calling " in xpc_kthread_waitmsgs()
|
/kernel/linux/linux-6.6/drivers/misc/sgi-xp/ |
H A D | xpc_main.c | 604 int idle = atomic_read(&ch->kthreads_idle); in xpc_activate_kthreads() local 610 if (idle > 0) { in xpc_activate_kthreads() 611 wakeup = (needed > idle) ? idle : needed; in xpc_activate_kthreads() 614 dev_dbg(xpc_chan, "wakeup %d idle kthreads, partid=%d, " in xpc_activate_kthreads() 655 /* too many idle kthreads on this channel */ in xpc_kthread_waitmsgs() 660 dev_dbg(xpc_chan, "idle kthread calling " in xpc_kthread_waitmsgs()
|
/kernel/linux/linux-6.6/drivers/input/touchscreen/ |
H A D | zforce_ts.c | 239 static int zforce_scan_frequency(struct zforce_ts *ts, u16 idle, u16 finger, in zforce_scan_frequency() argument 244 (idle & 0xff), ((idle >> 8) & 0xff), in zforce_scan_frequency() 249 "set scan frequency to (idle: %d, finger: %d, stylus: %d)\n", in zforce_scan_frequency() 250 idle, finger, stylus); in zforce_scan_frequency()
|
/kernel/linux/linux-6.6/kernel/time/ |
H A D | tick-sched.c | 7 * No idle tick implementation for low and high resolution timers 105 /* Slow path for long idle sleep times */ in tick_do_update_jiffies64() 235 * When we are idle and the tick is stopped, we have to touch in tick_sched_handle() 237 * time. This happens on complete idle SMP systems while in tick_sched_handle() 239 * idle" jiffy stamp so the idle accounting adjustment we do in tick_sched_handle() 639 * tick_nohz_update_jiffies - update jiffies when idle was interrupted 641 * Called from interrupt entry when the CPU was idle 696 ktime_t now, idle; in get_cpu_sleep_time_us() local 712 idle in get_cpu_sleep_time_us() [all...] |
/kernel/linux/linux-5.10/drivers/cpufreq/ |
H A D | loongson2_cpufreq.c | 23 #include <asm/idle.h>
|
/kernel/linux/linux-5.10/arch/loongarch/kernel/ |
H A D | proc.c | 12 #include <asm/idle.h>
|
/kernel/linux/linux-5.10/arch/mips/alchemy/common/ |
H A D | time.c | 27 #include <asm/idle.h>
|