idle 292 arch/alpha/kernel/smp.c secondary_cpu_start(int cpuid, struct task_struct *idle) idle 303 arch/alpha/kernel/smp.c ipcb = &task_thread_info(idle)->pcb; idle 323 arch/alpha/kernel/smp.c cpuid, idle->state, ipcb->flags)); idle 363 arch/alpha/kernel/smp.c smp_boot_one_cpu(int cpuid, struct task_struct *idle) idle 371 arch/alpha/kernel/smp.c if (secondary_cpu_start(cpuid, idle)) idle 206 arch/arc/kernel/smp.c int __cpu_up(unsigned int cpu, struct task_struct *idle) idle 210 arch/arc/kernel/smp.c secondary_idle_tsk = idle; idle 212 arch/arc/kernel/smp.c pr_info("Idle Task [%d] %p", cpu, idle); idle 29 arch/arm/common/mcpm_platsmp.c static int mcpm_boot_secondary(unsigned int cpu, struct task_struct *idle) idle 99 arch/arm/include/asm/smp.h int (*smp_boot_secondary)(unsigned int cpu, struct task_struct *idle); idle 45 arch/arm/kernel/psci_smp.c static int psci_boot_secondary(unsigned int cpu, struct task_struct *idle) idle 125 arch/arm/kernel/smp.c int __cpu_up(unsigned int cpu, struct task_struct *idle) idle 140 arch/arm/kernel/smp.c secondary_data.stack = task_stack_page(idle) + THREAD_START_SP; idle 154 arch/arm/kernel/smp.c ret = smp_ops.smp_boot_secondary(cpu, idle); idle 77 arch/arm/mach-actions/platsmp.c static int s500_smp_boot_secondary(unsigned int cpu, struct task_struct *idle) idle 17 arch/arm/mach-alpine/platsmp.c static int alpine_boot_secondary(unsigned int cpu, struct task_struct *idle) idle 15 arch/arm/mach-aspeed/platsmp.c static int aspeed_g6_boot_secondary(unsigned int cpu, struct task_struct *idle) idle 500 arch/arm/mach-at91/pm.c void (*idle)(void); idle 505 arch/arm/mach-at91/pm.c { .idle = at91rm9200_standby, .memctrl = AT91_MEMCTRL_MC}, idle 506 arch/arm/mach-at91/pm.c { .idle = at91sam9_sdram_standby, .memctrl = AT91_MEMCTRL_SDRAMC}, idle 507 arch/arm/mach-at91/pm.c { .idle = at91_ddr_standby, .memctrl = AT91_MEMCTRL_DDRSDR}, idle 508 arch/arm/mach-at91/pm.c { .idle = sama5d3_ddr_standby, .memctrl = AT91_MEMCTRL_DDRSDR}, idle 534 arch/arm/mach-at91/pm.c standby = ramc->idle; idle 31 arch/arm/mach-axxia/platsmp.c static int axxia_boot_secondary(unsigned int cpu, struct task_struct *idle) idle 107 arch/arm/mach-bcm/bcm63xx_smp.c struct task_struct *idle) idle 347 arch/arm/mach-bcm/platsmp-brcmstb.c static int brcmstb_boot_secondary(unsigned int cpu, struct task_struct *idle) idle 156 arch/arm/mach-bcm/platsmp.c static int kona_boot_secondary(unsigned int cpu, struct task_struct *idle) idle 221 arch/arm/mach-bcm/platsmp.c static int bcm23550_boot_secondary(unsigned int cpu, struct task_struct *idle) idle 247 arch/arm/mach-bcm/platsmp.c ret = kona_boot_secondary(cpu, idle); idle 262 arch/arm/mach-bcm/platsmp.c static int nsp_boot_secondary(unsigned int cpu, struct task_struct *idle) idle 283 arch/arm/mach-bcm/platsmp.c static int bcm2836_boot_secondary(unsigned int cpu, struct task_struct *idle) idle 44 arch/arm/mach-berlin/platsmp.c static int berlin_boot_secondary(unsigned int cpu, struct task_struct *idle) idle 321 arch/arm/mach-exynos/platsmp.c static int exynos_boot_secondary(unsigned int cpu, struct task_struct *idle) idle 98 arch/arm/mach-hisi/platmcpm.c static int hip04_boot_secondary(unsigned int l_cpu, struct task_struct *idle) idle 81 arch/arm/mach-hisi/platsmp.c static int hi3xxx_boot_secondary(unsigned int cpu, struct task_struct *idle) idle 114 arch/arm/mach-hisi/platsmp.c static int hix5hd2_boot_secondary(unsigned int cpu, struct task_struct *idle) idle 149 arch/arm/mach-hisi/platsmp.c static int hip01_boot_secondary(unsigned int cpu, struct task_struct *idle) idle 43 arch/arm/mach-imx/platsmp.c static int imx_boot_secondary(unsigned int cpu, struct task_struct *idle) idle 97 arch/arm/mach-imx/platsmp.c static int ls1021a_boot_secondary(unsigned int cpu, struct task_struct *idle) idle 24 arch/arm/mach-keystone/platsmp.c struct task_struct *idle) idle 61 arch/arm/mach-mediatek/platsmp.c static int mtk_boot_secondary(unsigned int cpu, struct task_struct *idle) idle 154 arch/arm/mach-meson/platsmp.c struct task_struct *idle) idle 210 arch/arm/mach-meson/platsmp.c struct task_struct *idle) idle 23 arch/arm/mach-milbeaut/platsmp.c static int m10v_boot_secondary(unsigned int l_cpu, struct task_struct *idle) idle 28 arch/arm/mach-mvebu/platsmp-a9.c struct task_struct *idle) idle 53 arch/arm/mach-mvebu/platsmp.c static int armada_xp_boot_secondary(unsigned int cpu, struct task_struct *idle) idle 219 arch/arm/mach-mvebu/platsmp.c static int mv98dx3236_boot_secondary(unsigned int cpu, struct task_struct *idle) idle 25 arch/arm/mach-npcm/platsmp.c struct task_struct *idle) idle 173 arch/arm/mach-omap2/omap-smp.c static int omap4_boot_secondary(unsigned int cpu, struct task_struct *idle) idle 331 arch/arm/mach-omap2/vc.c struct omap3_vc_timings *c, u32 idle) idle 335 arch/arm/mach-omap2/vc.c val = (voltdm->vc_param->on - idle) / voltdm->pmic->slew_rate; idle 30 arch/arm/mach-oxnas/platsmp.c int __init ox820_boot_secondary(unsigned int cpu, struct task_struct *idle) idle 50 arch/arm/mach-prima2/platsmp.c static int sirfsoc_boot_secondary(unsigned int cpu, struct task_struct *idle) idle 279 arch/arm/mach-qcom/platsmp.c static int msm8660_boot_secondary(unsigned int cpu, struct task_struct *idle) idle 284 arch/arm/mach-qcom/platsmp.c static int kpssv1_boot_secondary(unsigned int cpu, struct task_struct *idle) idle 289 arch/arm/mach-qcom/platsmp.c static int kpssv2_boot_secondary(unsigned int cpu, struct task_struct *idle) idle 116 arch/arm/mach-rockchip/platsmp.c static int rockchip_boot_secondary(unsigned int cpu, struct task_struct *idle) idle 260 arch/arm/mach-shmobile/platsmp-apmu.c struct task_struct *idle) idle 24 arch/arm/mach-shmobile/smp-emev2.c static int emev2_boot_secondary(unsigned int cpu, struct task_struct *idle) idle 26 arch/arm/mach-shmobile/smp-r8a7779.c static int r8a7779_boot_secondary(unsigned int cpu, struct task_struct *idle) idle 27 arch/arm/mach-shmobile/smp-sh73a0.c static int sh73a0_boot_secondary(unsigned int cpu, struct task_struct *idle) idle 21 arch/arm/mach-socfpga/platsmp.c static int socfpga_boot_secondary(unsigned int cpu, struct task_struct *idle) idle 46 arch/arm/mach-socfpga/platsmp.c static int socfpga_a10_boot_secondary(unsigned int cpu, struct task_struct *idle) idle 56 arch/arm/mach-spear/platsmp.c static int spear13xx_boot_secondary(unsigned int cpu, struct task_struct *idle) idle 30 arch/arm/mach-sti/platsmp.c static int sti_boot_secondary(unsigned int cpu, struct task_struct *idle) idle 392 arch/arm/mach-sunxi/mc_smp.c static int sunxi_mc_smp_boot_secondary(unsigned int l_cpu, struct task_struct *idle) idle 74 arch/arm/mach-sunxi/platsmp.c struct task_struct *idle) idle 159 arch/arm/mach-sunxi/platsmp.c struct task_struct *idle) idle 7 arch/arm/mach-tango/platsmp.c static int tango_boot_secondary(unsigned int cpu, struct task_struct *idle) idle 42 arch/arm/mach-tegra/platsmp.c static int tegra20_boot_secondary(unsigned int cpu, struct task_struct *idle) idle 70 arch/arm/mach-tegra/platsmp.c static int tegra30_boot_secondary(unsigned int cpu, struct task_struct *idle) idle 129 arch/arm/mach-tegra/platsmp.c static int tegra114_boot_secondary(unsigned int cpu, struct task_struct *idle) idle 159 arch/arm/mach-tegra/platsmp.c struct task_struct *idle) idle 162 arch/arm/mach-tegra/platsmp.c return tegra20_boot_secondary(cpu, idle); idle 164 arch/arm/mach-tegra/platsmp.c return tegra30_boot_secondary(cpu, idle); idle 166 arch/arm/mach-tegra/platsmp.c return tegra114_boot_secondary(cpu, idle); idle 168 arch/arm/mach-tegra/platsmp.c return tegra114_boot_secondary(cpu, idle); idle 69 arch/arm/mach-ux500/platsmp.c static int ux500_boot_secondary(unsigned int cpu, struct task_struct *idle) idle 98 arch/arm/mach-zx/platsmp.c static int zx_boot_secondary(unsigned int cpu, struct task_struct *idle) idle 82 arch/arm/mach-zynq/platsmp.c static int zynq_boot_secondary(unsigned int cpu, struct task_struct *idle) idle 12 arch/arm/plat-versatile/include/plat/platsmp.h extern int versatile_boot_secondary(unsigned int cpu, struct task_struct *idle); idle 68 arch/arm/plat-versatile/platsmp.c int versatile_boot_secondary(unsigned int cpu, struct task_struct *idle) idle 92 arch/arm64/kernel/smp.c static int boot_secondary(unsigned int cpu, struct task_struct *idle) idle 102 arch/arm64/kernel/smp.c int __cpu_up(unsigned int cpu, struct task_struct *idle) idle 111 arch/arm64/kernel/smp.c secondary_data.task = idle; idle 112 arch/arm64/kernel/smp.c secondary_data.stack = task_stack_page(idle) + THREAD_SIZE; idle 119 arch/arm64/kernel/smp.c ret = boot_secondary(cpu, idle); idle 181 arch/hexagon/kernel/smp.c int __cpu_up(unsigned int cpu, struct task_struct *idle) idle 183 arch/hexagon/kernel/smp.c struct thread_info *thread = (struct thread_info *)idle->stack; idle 461 arch/ia64/kernel/smpboot.c do_boot_cpu (int sapicid, int cpu, struct task_struct *idle) idle 465 arch/ia64/kernel/smpboot.c task_for_booting_cpu = idle; idle 60 arch/m68k/fpsp040/fpsp.h | if the FPU state after the exception is idle. idle 335 arch/m68k/fpsp040/fpsp.h .set IDLE_SIZE,4 | size of idle frame idle 336 arch/m68k/fpsp040/fpsp.h .set IDLE_FRAME,LV-IDLE_SIZE | start of idle frame idle 209 arch/mips/cavium-octeon/smp.c static int octeon_boot_secondary(int cpu, struct task_struct *idle) idle 216 arch/mips/cavium-octeon/smp.c octeon_processor_sp = __KSTK_TOS(idle); idle 217 arch/mips/cavium-octeon/smp.c octeon_processor_gp = (unsigned long)(task_thread_info(idle)); idle 184 arch/mips/include/asm/octeon/cvmx-dpi-defs.h uint64_t idle:1; idle 190 arch/mips/include/asm/octeon/cvmx-dpi-defs.h uint64_t idle:1; idle 201 arch/mips/include/asm/octeon/cvmx-dpi-defs.h uint64_t idle:1; idle 209 arch/mips/include/asm/octeon/cvmx-dpi-defs.h uint64_t idle:1; idle 966 arch/mips/include/asm/octeon/cvmx-npei-defs.h uint64_t idle:1; idle 972 arch/mips/include/asm/octeon/cvmx-npei-defs.h uint64_t idle:1; idle 29 arch/mips/include/asm/smp-ops.h int (*boot_secondary)(int cpu, struct task_struct *idle); idle 183 arch/mips/kernel/smp-bmips.c static int bmips_boot_secondary(int cpu, struct task_struct *idle) idle 185 arch/mips/kernel/smp-bmips.c bmips_smp_boot_sp = __KSTK_TOS(idle); idle 186 arch/mips/kernel/smp-bmips.c bmips_smp_boot_gp = (unsigned long)task_thread_info(idle); idle 69 arch/mips/kernel/smp-cmp.c static int cmp_boot_secondary(int cpu, struct task_struct *idle) idle 71 arch/mips/kernel/smp-cmp.c struct thread_info *gp = task_thread_info(idle); idle 72 arch/mips/kernel/smp-cmp.c unsigned long sp = __KSTK_TOS(idle); idle 294 arch/mips/kernel/smp-cps.c static int cps_boot_secondary(int cpu, struct task_struct *idle) idle 309 arch/mips/kernel/smp-cps.c vpe_cfg->sp = __KSTK_TOS(idle); idle 310 arch/mips/kernel/smp-cps.c vpe_cfg->gp = (unsigned long)task_thread_info(idle); idle 142 arch/mips/kernel/smp-mt.c static int vsmp_boot_secondary(int cpu, struct task_struct *idle) idle 144 arch/mips/kernel/smp-mt.c struct thread_info *gp = task_thread_info(idle); idle 162 arch/mips/kernel/smp-mt.c write_tc_gpr_sp( __KSTK_TOS(idle)); idle 42 arch/mips/kernel/smp-up.c static int up_boot_secondary(int cpu, struct task_struct *idle) idle 394 arch/mips/loongson64/loongson-3/smp.c static int loongson3_boot_secondary(int cpu, struct task_struct *idle) idle 402 arch/mips/loongson64/loongson-3/smp.c startargs[1] = (unsigned long)__KSTK_TOS(idle); idle 403 arch/mips/loongson64/loongson-3/smp.c startargs[2] = (unsigned long)task_thread_info(idle); idle 150 arch/mips/netlogic/common/smp.c int nlm_boot_secondary(int logical_cpu, struct task_struct *idle) idle 158 arch/mips/netlogic/common/smp.c nlm_next_sp = (unsigned long)__KSTK_TOS(idle); idle 159 arch/mips/netlogic/common/smp.c nlm_next_gp = (unsigned long)task_thread_info(idle); idle 103 arch/mips/paravirt/paravirt-smp.c static int paravirt_boot_secondary(int cpu, struct task_struct *idle) idle 105 arch/mips/paravirt/paravirt-smp.c paravirt_smp_gp[cpu] = (unsigned long)task_thread_info(idle); idle 107 arch/mips/paravirt/paravirt-smp.c paravirt_smp_sp[cpu] = __KSTK_TOS(idle); idle 198 arch/mips/sgi-ip27/ip27-smp.c static int ip27_boot_secondary(int cpu, struct task_struct *idle) idle 200 arch/mips/sgi-ip27/ip27-smp.c unsigned long gp = (unsigned long)task_thread_info(idle); idle 201 arch/mips/sgi-ip27/ip27-smp.c unsigned long sp = __KSTK_TOS(idle); idle 107 arch/mips/sibyte/bcm1480/smp.c static int bcm1480_boot_secondary(int cpu, struct task_struct *idle) idle 112 arch/mips/sibyte/bcm1480/smp.c __KSTK_TOS(idle), idle 113 arch/mips/sibyte/bcm1480/smp.c (unsigned long)task_thread_info(idle), 0); idle 96 arch/mips/sibyte/sb1250/smp.c static int sb1250_boot_secondary(int cpu, struct task_struct *idle) idle 101 arch/mips/sibyte/sb1250/smp.c __KSTK_TOS(idle), idle 102 arch/mips/sibyte/sb1250/smp.c (unsigned long)task_thread_info(idle), 0); idle 38 arch/openrisc/kernel/smp.c static void boot_secondary(unsigned int cpu, struct task_struct *idle) idle 86 arch/openrisc/kernel/smp.c int __cpu_up(unsigned int cpu, struct task_struct *idle) idle 94 arch/openrisc/kernel/smp.c secondary_thread_info = task_thread_info(idle); idle 97 arch/openrisc/kernel/smp.c boot_secondary(cpu, idle); idle 320 arch/parisc/kernel/smp.c int smp_boot_one_cpu(int cpuid, struct task_struct *idle) idle 325 arch/parisc/kernel/smp.c task_thread_info(idle)->cpu = cpuid; idle 336 arch/parisc/kernel/smp.c smp_init_current_idle_task = idle ; idle 91 arch/powerpc/include/asm/lppaca.h u8 idle; /* Indicate OS is idle */ idle 978 arch/powerpc/kernel/smp.c static void cpu_idle_thread_init(unsigned int cpu, struct task_struct *idle) idle 981 arch/powerpc/kernel/smp.c paca_ptrs[cpu]->__current = idle; idle 982 arch/powerpc/kernel/smp.c paca_ptrs[cpu]->kstack = (unsigned long)task_stack_page(idle) + idle 985 arch/powerpc/kernel/smp.c idle->cpu = cpu; idle 986 arch/powerpc/kernel/smp.c secondary_current = current_set[cpu] = idle; idle 164 arch/powerpc/platforms/4xx/cpm.c __ATTR(idle, 0644, cpm_idle_show, cpm_idle_store); idle 122 arch/powerpc/platforms/pseries/hotplug-cpu.c get_lppaca()->idle = 1; idle 139 arch/powerpc/platforms/pseries/hotplug-cpu.c get_lppaca()->idle = 0; idle 331 arch/powerpc/platforms/pseries/setup.c get_lppaca()->idle = 1; idle 342 arch/powerpc/platforms/pseries/setup.c get_lppaca()->idle = 0; idle 68 arch/powerpc/sysdev/mpic_timer.c unsigned int idle; idle 121 arch/powerpc/sysdev/mpic_timer.c map = casc_priv->cascade_map & priv->idle; idle 127 arch/powerpc/sysdev/mpic_timer.c priv->idle &= ~casc_priv->cascade_map; idle 222 arch/powerpc/sysdev/mpic_timer.c if (priv->idle & (1 << i)) { idle 224 arch/powerpc/sysdev/mpic_timer.c priv->idle &= ~(1 << i); idle 340 arch/powerpc/sysdev/mpic_timer.c priv->idle |= casc_priv->cascade_map; idle 343 arch/powerpc/sysdev/mpic_timer.c priv->idle |= TIMER_OFFSET(handle->num); idle 452 arch/powerpc/sysdev/mpic_timer.c priv->idle |= TIMER_OFFSET((offset + j)); idle 25 arch/s390/kernel/idle.c struct s390_idle_data *idle = this_cpu_ptr(&s390_idle); idle 37 arch/s390/kernel/idle.c psw_idle(idle, psw_mask); idle 42 arch/s390/kernel/idle.c write_seqcount_begin(&idle->seqcount); idle 43 arch/s390/kernel/idle.c idle_time = idle->clock_idle_exit - idle->clock_idle_enter; idle 44 arch/s390/kernel/idle.c idle->clock_idle_enter = idle->clock_idle_exit = 0ULL; idle 45 arch/s390/kernel/idle.c idle->idle_time += idle_time; idle 46 arch/s390/kernel/idle.c idle->idle_count++; idle 48 arch/s390/kernel/idle.c write_seqcount_end(&idle->seqcount); idle 55 arch/s390/kernel/idle.c struct s390_idle_data *idle = &per_cpu(s390_idle, dev->id); idle 60 arch/s390/kernel/idle.c seq = read_seqcount_begin(&idle->seqcount); idle 61 arch/s390/kernel/idle.c idle_count = READ_ONCE(idle->idle_count); idle 62 arch/s390/kernel/idle.c if (READ_ONCE(idle->clock_idle_enter)) idle 64 arch/s390/kernel/idle.c } while (read_seqcount_retry(&idle->seqcount, seq)); idle 73 arch/s390/kernel/idle.c struct s390_idle_data *idle = &per_cpu(s390_idle, dev->id); idle 77 arch/s390/kernel/idle.c seq = read_seqcount_begin(&idle->seqcount); idle 78 arch/s390/kernel/idle.c idle_time = READ_ONCE(idle->idle_time); idle 79 arch/s390/kernel/idle.c idle_enter = READ_ONCE(idle->clock_idle_enter); idle 80 arch/s390/kernel/idle.c idle_exit = READ_ONCE(idle->clock_idle_exit); idle 81 arch/s390/kernel/idle.c } while (read_seqcount_retry(&idle->seqcount, seq)); idle 98 arch/s390/kernel/idle.c struct s390_idle_data *idle = &per_cpu(s390_idle, cpu); idle 103 arch/s390/kernel/idle.c seq = read_seqcount_begin(&idle->seqcount); idle 104 arch/s390/kernel/idle.c idle_enter = READ_ONCE(idle->clock_idle_enter); idle 105 arch/s390/kernel/idle.c idle_exit = READ_ONCE(idle->clock_idle_exit); idle 106 arch/s390/kernel/idle.c } while (read_seqcount_retry(&idle->seqcount, seq)); idle 73 arch/s390/kvm/sigp.c bool idle; idle 75 arch/s390/kvm/sigp.c idle = is_vcpu_idle(vcpu); idle 83 arch/s390/kvm/sigp.c || (idle && psw->addr != 0) idle 84 arch/s390/kvm/sigp.c || (!idle && (asn == p_asn || asn == s_asn))) { idle 37 arch/s390/lib/delay.c struct s390_idle_data idle; idle 48 arch/s390/lib/delay.c psw_idle(&idle, psw_mask); idle 100 arch/sparc/kernel/kernel.h int smp4m_boot_one_cpu(int i, struct task_struct *idle); idle 121 arch/sparc/kernel/kernel.h int smp4d_boot_one_cpu(int i, struct task_struct *idle); idle 183 arch/sparc/kernel/leon_smp.c int leon_boot_one_cpu(int i, struct task_struct *idle) idle 187 arch/sparc/kernel/leon_smp.c current_set[i] = task_thread_info(idle); idle 353 arch/sparc/kernel/smp_64.c static int smp_boot_one_cpu(unsigned int cpu, struct task_struct *idle) idle 363 arch/sparc/kernel/smp_64.c cpu_new_thread = task_thread_info(idle); idle 122 arch/sparc/kernel/sun4d_smp.c int smp4d_boot_one_cpu(int i, struct task_struct *idle) idle 129 arch/sparc/kernel/sun4d_smp.c current_set[i] = task_thread_info(idle); idle 79 arch/sparc/kernel/sun4m_smp.c int smp4m_boot_one_cpu(int i, struct task_struct *idle) idle 86 arch/sparc/kernel/sun4m_smp.c current_set[i] = task_thread_info(idle); idle 149 arch/x86/include/asm/smp.h void x86_idle_thread_init(unsigned int cpu, struct task_struct *idle); idle 1002 arch/x86/kernel/smpboot.c int common_cpu_up(unsigned int cpu, struct task_struct *idle) idle 1009 arch/x86/kernel/smpboot.c per_cpu(current_task, cpu) = idle; idle 1018 arch/x86/kernel/smpboot.c per_cpu(cpu_current_top_of_stack, cpu) = task_top_of_stack(idle); idle 1031 arch/x86/kernel/smpboot.c static int do_boot_cpu(int apicid, int cpu, struct task_struct *idle, idle 1040 arch/x86/kernel/smpboot.c idle->thread.sp = (unsigned long)task_pt_regs(idle); idle 1043 arch/x86/kernel/smpboot.c initial_stack = idle->thread.sp; idle 285 arch/x86/xen/smp_pv.c cpu_initialize_context(unsigned int cpu, struct task_struct *idle) idle 320 arch/x86/xen/smp_pv.c ctxt->user_regs.esp = (unsigned long)task_pt_regs(idle); idle 341 arch/x86/xen/smp_pv.c ctxt->kernel_sp = task_top_of_stack(idle); idle 363 arch/x86/xen/smp_pv.c static int xen_pv_cpu_up(unsigned int cpu, struct task_struct *idle) idle 367 arch/x86/xen/smp_pv.c rc = common_cpu_up(cpu, idle); idle 384 arch/x86/xen/smp_pv.c rc = cpu_initialize_context(cpu, idle); idle 35 arch/xtensa/kernel/platform.c _F(void, idle, (void), { __asm__ __volatile__ ("waiti 0" ::: "memory"); }); idle 237 arch/xtensa/kernel/smp.c int __cpu_up(unsigned int cpu, struct task_struct *idle) idle 244 arch/xtensa/kernel/smp.c start_info.stack = (unsigned long)task_pt_regs(idle); idle 248 arch/xtensa/kernel/smp.c __func__, cpu, idle, start_info.stack); idle 251 arch/xtensa/kernel/smp.c ret = boot_secondary(cpu, idle); idle 49 block/bfq-iosched.h struct rb_root idle; idle 360 block/bfq-wf2q.c bfq_extract(&st->idle, entity); idle 626 block/bfq-wf2q.c bfq_insert(&st->idle, entity); idle 989 block/bfq-wf2q.c if (entity->tree == &st->idle) { idle 1205 block/bfq-wf2q.c else if (!is_in_service && entity->tree == &st->idle) idle 1534 drivers/ata/libata-sff.c unsigned int handled, idle, polling; idle 1541 drivers/ata/libata-sff.c handled = idle = polling = 0; idle 1553 drivers/ata/libata-sff.c idle |= 1 << i; idle 1574 drivers/ata/libata-sff.c if (idle & (1 << i)) { idle 1533 drivers/atm/idt77252.c unsigned long base, idle, jump; idle 1541 drivers/atm/idt77252.c idle = card->tst[card->tst_index ^ 1]; idle 1547 drivers/atm/idt77252.c if ((pc ^ idle) & ~(card->tst_size - 1)) { idle 1558 drivers/atm/idt77252.c idle = card->tst[card->tst_index ^ 1]; idle 1562 drivers/atm/idt77252.c write_sram(card, idle + e, idle 1573 drivers/atm/idt77252.c write_sram(card, idle + e, idle 1597 drivers/atm/idt77252.c unsigned long idle; idle 1620 drivers/atm/idt77252.c idle = card->tst[card->tst_index ^ 1]; idle 1636 drivers/atm/idt77252.c write_sram(card, idle + e, data); idle 1673 drivers/atm/idt77252.c unsigned long idle; idle 1676 drivers/atm/idt77252.c idle = card->tst[card->tst_index ^ 1]; idle 1686 drivers/atm/idt77252.c write_sram(card, idle + e, TSTE_OPC_VAR); idle 316 drivers/block/swim3.c if (fs->cur_req || fs->state != idle) { idle 477 drivers/block/swim3.c case idle: idle 519 drivers/block/swim3.c fs->state = idle; idle 555 drivers/block/swim3.c fs->state = idle; idle 578 drivers/block/swim3.c fs->state = idle; idle 606 drivers/block/swim3.c fs->state = idle; idle 634 drivers/block/swim3.c fs->state = idle; idle 670 drivers/block/swim3.c fs->state = idle; idle 752 drivers/block/swim3.c fs->state = idle; idle 761 drivers/block/swim3.c fs->state = idle; idle 776 drivers/block/swim3.c fs->state = idle; idle 801 drivers/block/swim3.c if (fs->state != idle && fs->state != available) { idle 831 drivers/block/swim3.c fs->state = idle; idle 1116 drivers/block/swim3.c fs->state = idle; idle 1827 drivers/block/zram/zram_drv.c static DEVICE_ATTR_WO(idle); idle 42 drivers/cpuidle/cpuidle-pseries.c get_lppaca()->idle = 1; idle 52 drivers/cpuidle/cpuidle-pseries.c get_lppaca()->idle = 0; idle 177 drivers/dma/altera-msgdma.c bool idle; idle 490 drivers/dma/altera-msgdma.c mdev->idle = true; idle 519 drivers/dma/altera-msgdma.c mdev->idle = false; idle 550 drivers/dma/altera-msgdma.c if (!mdev->idle) idle 662 drivers/dma/altera-msgdma.c mdev->idle = true; idle 729 drivers/dma/altera-msgdma.c mdev->idle = true; idle 164 drivers/dma/fsl-edma-common.c fsl_chan->idle = true; idle 181 drivers/dma/fsl-edma-common.c fsl_chan->idle = true; idle 197 drivers/dma/fsl-edma-common.c fsl_chan->idle = false; idle 594 drivers/dma/fsl-edma-common.c fsl_chan->idle = false; idle 118 drivers/dma/fsl-edma-common.h bool idle; idle 53 drivers/dma/fsl-edma.c fsl_chan->idle = true; idle 82 drivers/dma/fsl-edma.c fsl_edma->chans[ch].idle = true; idle 343 drivers/dma/fsl-edma.c fsl_chan->idle = true; idle 430 drivers/dma/fsl-edma.c if (unlikely(!fsl_chan->idle)) { idle 584 drivers/dma/fsldma.c if (!chan->idle) { idle 623 drivers/dma/fsldma.c chan->idle = false; idle 841 drivers/dma/fsldma.c chan->idle = true; idle 988 drivers/dma/fsldma.c chan->idle = true; idle 1178 drivers/dma/fsldma.c chan->idle = true; idle 1337 drivers/dma/fsldma.c if (unlikely(!chan->idle)) idle 177 drivers/dma/fsldma.h bool idle; /* DMA controller is idle */ idle 43 drivers/dma/mcf-edma.c mcf_chan->idle = true; idle 73 drivers/dma/mcf-edma.c mcf_edma->chans[ch].idle = true; idle 86 drivers/dma/mcf-edma.c mcf_edma->chans[ch].idle = true; idle 221 drivers/dma/mcf-edma.c mcf_chan->idle = true; idle 111 drivers/dma/mmp_pdma.c bool idle; /* channel statue machine */ idle 302 drivers/dma/mmp_pdma.c if (!chan->idle) { idle 336 drivers/dma/mmp_pdma.c chan->idle = false; idle 410 drivers/dma/mmp_pdma.c chan->idle = true; idle 438 drivers/dma/mmp_pdma.c chan->idle = true; idle 764 drivers/dma/mmp_pdma.c chan->idle = true; idle 922 drivers/dma/mmp_pdma.c chan->idle = list_empty(&chan->chain_running); idle 372 drivers/dma/xilinx/xilinx_dma.c bool idle; idle 1110 drivers/dma/xilinx/xilinx_dma.c if (!chan->idle) idle 1194 drivers/dma/xilinx/xilinx_dma.c chan->idle = false; idle 1210 drivers/dma/xilinx/xilinx_dma.c if (!chan->idle) idle 1266 drivers/dma/xilinx/xilinx_dma.c chan->idle = false; idle 1285 drivers/dma/xilinx/xilinx_dma.c if (!chan->idle) idle 1370 drivers/dma/xilinx/xilinx_dma.c chan->idle = false; idle 1435 drivers/dma/xilinx/xilinx_dma.c chan->idle = true; idle 1519 drivers/dma/xilinx/xilinx_dma.c chan->idle = true; idle 2078 drivers/dma/xilinx/xilinx_dma.c chan->idle = true; idle 2409 drivers/dma/xilinx/xilinx_dma.c chan->idle = true; idle 232 drivers/dma/xilinx/zynqmp_dma.c bool idle; idle 360 drivers/dma/xilinx/zynqmp_dma.c chan->idle = true; idle 477 drivers/dma/xilinx/zynqmp_dma.c chan->idle = true; idle 516 drivers/dma/xilinx/zynqmp_dma.c chan->idle = false; idle 577 drivers/dma/xilinx/zynqmp_dma.c if (!chan->idle) idle 720 drivers/dma/xilinx/zynqmp_dma.c chan->idle = true; idle 764 drivers/dma/xilinx/zynqmp_dma.c if (chan->idle) idle 927 drivers/dma/xilinx/zynqmp_dma.c chan->idle = true; idle 655 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c void amdgpu_amdkfd_set_compute_idle(struct kgd_dev *kgd, bool idle) idle 662 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c !idle); idle 667 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c !idle); idle 137 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h void amdgpu_amdkfd_set_compute_idle(struct kgd_dev *kgd, bool idle); idle 199 drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c struct amdgpu_vmid **idle) idle 217 drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c list_for_each_entry((*idle), &id_mgr->ids_lru, list) { idle 218 drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c fences[i] = amdgpu_sync_peek_fence(&(*idle)->active, ring); idle 225 drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c if (&(*idle)->list == &id_mgr->ids_lru) { idle 231 drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c *idle = NULL; idle 413 drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c struct amdgpu_vmid *idle = NULL; idle 418 drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c r = amdgpu_vmid_grab_idle(vm, ring, sync, &idle); idle 419 drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c if (r || !idle) idle 435 drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c id = idle; idle 472 drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c struct amdgpu_vmid *idle; idle 487 drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c idle = list_first_entry(&id_mgr->ids_lru, struct amdgpu_vmid, list); idle 488 drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c list_del_init(&idle->list); idle 489 drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c vm->reserved_vmid[vmhub] = idle; idle 247 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c list_move(&vm_bo->vm_status, &vm_bo->vm->idle); idle 616 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c list_for_each_entry(bo_base, &vm->idle, vm_status) { idle 2686 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c INIT_LIST_HEAD(&vm->idle); idle 244 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h struct list_head idle; idle 307 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c s.idle); idle 403 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer_debug.c s.idle); idle 131 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_mpc.c unsigned int idle; idle 135 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_mpc.c REG_GET(MPCC_STATUS[mpcc_id], MPCC_IDLE, &idle); idle 136 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_mpc.c if (top_sel == 0xf && opp_id == 0xf && idle) idle 445 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_mpc.c REG_GET_2(MPCC_STATUS[mpcc_inst], MPCC_IDLE, &s->idle, idle 143 drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h uint32_t idle; idle 469 drivers/gpu/drm/etnaviv/etnaviv_gpu.c u32 control, idle; idle 507 drivers/gpu/drm/etnaviv/etnaviv_gpu.c idle = gpu_read(gpu, VIVS_HI_IDLE_STATE); idle 510 drivers/gpu/drm/etnaviv/etnaviv_gpu.c if ((idle & VIVS_HI_IDLE_STATE_FE) == 0) { idle 534 drivers/gpu/drm/etnaviv/etnaviv_gpu.c idle = gpu_read(gpu, VIVS_HI_IDLE_STATE); idle 538 drivers/gpu/drm/etnaviv/etnaviv_gpu.c idle & VIVS_HI_IDLE_STATE_FE ? "" : "not ", idle 838 drivers/gpu/drm/etnaviv/etnaviv_gpu.c u32 dma_lo, dma_hi, axi, idle; idle 850 drivers/gpu/drm/etnaviv/etnaviv_gpu.c idle = gpu_read(gpu, VIVS_HI_IDLE_STATE); idle 907 drivers/gpu/drm/etnaviv/etnaviv_gpu.c seq_printf(m, "\tidle: 0x%08x\n", idle); idle 908 drivers/gpu/drm/etnaviv/etnaviv_gpu.c idle |= ~gpu->idle_mask & ~VIVS_HI_IDLE_STATE_AXI_LP; idle 909 drivers/gpu/drm/etnaviv/etnaviv_gpu.c if ((idle & VIVS_HI_IDLE_STATE_FE) == 0) idle 911 drivers/gpu/drm/etnaviv/etnaviv_gpu.c if ((idle & VIVS_HI_IDLE_STATE_DE) == 0) idle 913 drivers/gpu/drm/etnaviv/etnaviv_gpu.c if ((idle & VIVS_HI_IDLE_STATE_PE) == 0) idle 915 drivers/gpu/drm/etnaviv/etnaviv_gpu.c if ((idle & VIVS_HI_IDLE_STATE_SH) == 0) idle 917 drivers/gpu/drm/etnaviv/etnaviv_gpu.c if ((idle & VIVS_HI_IDLE_STATE_PA) == 0) idle 919 drivers/gpu/drm/etnaviv/etnaviv_gpu.c if ((idle & VIVS_HI_IDLE_STATE_SE) == 0) idle 921 drivers/gpu/drm/etnaviv/etnaviv_gpu.c if ((idle & VIVS_HI_IDLE_STATE_RA) == 0) idle 923 drivers/gpu/drm/etnaviv/etnaviv_gpu.c if ((idle & VIVS_HI_IDLE_STATE_TX) == 0) idle 925 drivers/gpu/drm/etnaviv/etnaviv_gpu.c if ((idle & VIVS_HI_IDLE_STATE_VG) == 0) idle 927 drivers/gpu/drm/etnaviv/etnaviv_gpu.c if ((idle & VIVS_HI_IDLE_STATE_IM) == 0) idle 929 drivers/gpu/drm/etnaviv/etnaviv_gpu.c if ((idle & VIVS_HI_IDLE_STATE_FP) == 0) idle 931 drivers/gpu/drm/etnaviv/etnaviv_gpu.c if ((idle & VIVS_HI_IDLE_STATE_TS) == 0) idle 933 drivers/gpu/drm/etnaviv/etnaviv_gpu.c if (idle & VIVS_HI_IDLE_STATE_AXI_LP) idle 1506 drivers/gpu/drm/etnaviv/etnaviv_gpu.c u32 idle = gpu_read(gpu, VIVS_HI_IDLE_STATE); idle 1508 drivers/gpu/drm/etnaviv/etnaviv_gpu.c if ((idle & gpu->idle_mask) == gpu->idle_mask) idle 1514 drivers/gpu/drm/etnaviv/etnaviv_gpu.c idle); idle 1801 drivers/gpu/drm/etnaviv/etnaviv_gpu.c u32 idle, mask; idle 1809 drivers/gpu/drm/etnaviv/etnaviv_gpu.c idle = gpu_read(gpu, VIVS_HI_IDLE_STATE) & mask; idle 1810 drivers/gpu/drm/etnaviv/etnaviv_gpu.c if (idle != mask) idle 1011 drivers/gpu/drm/i915/gt/intel_engine_cs.c bool idle = true; idle 1022 drivers/gpu/drm/i915/gt/intel_engine_cs.c idle = false; idle 1027 drivers/gpu/drm/i915/gt/intel_engine_cs.c idle = false; idle 1031 drivers/gpu/drm/i915/gt/intel_engine_cs.c return idle; idle 485 drivers/gpu/drm/i915/i915_gpu_error.c err_printf(m, " IDLE?: %s\n", yesno(ee->idle)); idle 1138 drivers/gpu/drm/i915/i915_gpu_error.c ee->idle = intel_engine_is_idle(engine); idle 1139 drivers/gpu/drm/i915/i915_gpu_error.c if (!ee->idle) idle 87 drivers/gpu/drm/i915/i915_gpu_error.h bool idle; idle 121 drivers/gpu/drm/nouveau/nvkm/engine/gr/g84.c bool idle, timeout = false; idle 132 drivers/gpu/drm/nouveau/nvkm/engine/gr/g84.c idle = true; idle 134 drivers/gpu/drm/nouveau/nvkm/engine/gr/g84.c for (tmp = nvkm_rd32(device, 0x400380); tmp && idle; tmp >>= 3) { idle 136 drivers/gpu/drm/nouveau/nvkm/engine/gr/g84.c idle = false; idle 139 drivers/gpu/drm/nouveau/nvkm/engine/gr/g84.c for (tmp = nvkm_rd32(device, 0x400384); tmp && idle; tmp >>= 3) { idle 141 drivers/gpu/drm/nouveau/nvkm/engine/gr/g84.c idle = false; idle 144 drivers/gpu/drm/nouveau/nvkm/engine/gr/g84.c for (tmp = nvkm_rd32(device, 0x400388); tmp && idle; tmp >>= 3) { idle 146 drivers/gpu/drm/nouveau/nvkm/engine/gr/g84.c idle = false; idle 148 drivers/gpu/drm/nouveau/nvkm/engine/gr/g84.c } while (!idle && idle 698 drivers/gpu/drm/r128/r128_cce.c if (stop->idle) { idle 631 drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c bool idle = false; idle 643 drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c idle = list_empty(&man->error); idle 648 drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c return idle; idle 610 drivers/gpu/host1x/cdma.c bool idle = list_empty(&cdma->sync_queue); idle 620 drivers/gpu/host1x/cdma.c if (job->timeout && idle) idle 657 drivers/hid/usbhid/hid-core.c static int hid_set_idle(struct usb_device *dev, int ifnum, int report, int idle) idle 660 drivers/hid/usbhid/hid-core.c HID_REQ_SET_IDLE, USB_TYPE_CLASS | USB_RECIP_INTERFACE, (idle << 8) | report, idle 1291 drivers/hid/usbhid/hid-core.c static int usbhid_idle(struct hid_device *hid, int report, int idle, idle 1302 drivers/hid/usbhid/hid-core.c return hid_set_idle(dev, ifnum, report, idle); idle 1316 drivers/hid/usbhid/hid-core.c .idle = usbhid_idle, idle 1423 drivers/i2c/busses/i2c-i801.c gpio_data.idle = I2C_MUX_GPIO_NO_IDLE; idle 47 drivers/i2c/muxes/i2c-mux-gpio.c i2c_mux_gpio_set(mux, mux->data.idle); idle 94 drivers/i2c/muxes/i2c-mux-gpio.c if (of_property_read_u32(np, "idle-state", &mux->data.idle)) idle 95 drivers/i2c/muxes/i2c-mux-gpio.c mux->data.idle = I2C_MUX_GPIO_NO_IDLE; idle 156 drivers/i2c/muxes/i2c-mux-gpio.c if (mux->data.idle != I2C_MUX_GPIO_NO_IDLE) { idle 157 drivers/i2c/muxes/i2c-mux-gpio.c initial_state = mux->data.idle; idle 73 drivers/i2c/muxes/i2c-mux-reg.c return i2c_mux_reg_set(mux, mux->data.idle); idle 135 drivers/i2c/muxes/i2c-mux-reg.c if (!of_property_read_u32(np, "idle-state", &mux->data.idle)) idle 699 drivers/iio/adc/ti_am335x_adc.c unsigned int idle; idle 701 drivers/iio/adc/ti_am335x_adc.c idle = tiadc_readl(adc_dev, REG_CTRL); idle 702 drivers/iio/adc/ti_am335x_adc.c idle &= ~(CNTRLREG_TSCSSENB); idle 703 drivers/iio/adc/ti_am335x_adc.c tiadc_writel(adc_dev, REG_CTRL, (idle | idle 137 drivers/infiniband/sw/rxe/rxe_task.c bool idle; idle 147 drivers/infiniband/sw/rxe/rxe_task.c idle = (task->state == TASK_STATE_START); idle 149 drivers/infiniband/sw/rxe/rxe_task.c } while (!idle); idle 95 drivers/input/touchscreen/atmel_mxt_ts.c u8 idle; idle 2162 drivers/input/touchscreen/atmel_mxt_ts.c struct t7_config deepsleep = { .active = 0, .idle = 0 }; idle 2175 drivers/input/touchscreen/atmel_mxt_ts.c new_config->active, new_config->idle); idle 2192 drivers/input/touchscreen/atmel_mxt_ts.c if (data->t7_cfg.active == 0 || data->t7_cfg.idle == 0) { idle 2201 drivers/input/touchscreen/atmel_mxt_ts.c data->t7_cfg.idle = 100; idle 2207 drivers/input/touchscreen/atmel_mxt_ts.c data->t7_cfg.active, data->t7_cfg.idle); idle 510 drivers/input/touchscreen/ti_am335x_tsc.c unsigned int idle; idle 514 drivers/input/touchscreen/ti_am335x_tsc.c idle = titsc_readl(ts_dev, REG_IRQENABLE); idle 516 drivers/input/touchscreen/ti_am335x_tsc.c (idle | IRQENB_HW_PEN)); idle 239 drivers/input/touchscreen/zforce_ts.c static int zforce_scan_frequency(struct zforce_ts *ts, u16 idle, u16 finger, idle 244 drivers/input/touchscreen/zforce_ts.c (idle & 0xff), ((idle >> 8) & 0xff), idle 250 drivers/input/touchscreen/zforce_ts.c idle, finger, stylus); idle 60 drivers/irqchip/irq-omap-intc.c u32 idle; idle 90 drivers/irqchip/irq-omap-intc.c intc_context.idle = idle 109 drivers/irqchip/irq-omap-intc.c intc_writel(INTC_IDLE, intc_context.idle); idle 133 drivers/macintosh/adb-iop.c if (req && (adb_iop_state != idle)) { idle 134 drivers/macintosh/adb-iop.c adb_iop_end_req(req, idle); idle 260 drivers/macintosh/adb-iop.c if (adb_iop_state == idle) idle 273 drivers/macintosh/adb-iop.c if (adb_iop_state == idle) idle 214 drivers/macintosh/via-cuda.c cuda_state = idle; idle 261 drivers/macintosh/via-cuda.c cuda_state = idle; idle 526 drivers/macintosh/via-cuda.c if (cuda_state == idle) idle 597 drivers/macintosh/via-cuda.c case idle: idle 622 drivers/macintosh/via-cuda.c cuda_state = idle; idle 648 drivers/macintosh/via-cuda.c cuda_state = idle; idle 714 drivers/macintosh/via-cuda.c cuda_state = idle; idle 716 drivers/macintosh/via-cuda.c if (cuda_state == idle && TREQ_asserted(in_8(&via[B]))) { idle 152 drivers/macintosh/via-macii.c macii_state = idle; idle 257 drivers/macintosh/via-macii.c if (macii_state == idle) idle 389 drivers/macintosh/via-macii.c case idle: idle 420 drivers/macintosh/via-macii.c macii_state = idle; idle 436 drivers/macintosh/via-macii.c if (macii_state == idle) { idle 511 drivers/macintosh/via-macii.c macii_state = idle; idle 522 drivers/macintosh/via-macii.c if (macii_state == idle) idle 369 drivers/macintosh/via-pmu.c pmu_state = idle; idle 404 drivers/macintosh/via-pmu.c pmu_state = idle; idle 506 drivers/macintosh/via-pmu.c } while (pmu_state != idle); idle 607 drivers/macintosh/via-pmu.c while (interrupt_data[0][0] || pmu_state != idle) { idle 612 drivers/macintosh/via-pmu.c if (pmu_state == idle) idle 1185 drivers/macintosh/via-pmu.c if (pmu_state == idle) idle 1250 drivers/macintosh/via-pmu.c if (!req || pmu_state != idle idle 1287 drivers/macintosh/via-pmu.c } while (pmu_suspended && (adb_int_pending || pmu_state != idle idle 1296 drivers/macintosh/via-pmu.c while((pmu_state != idle && pmu_state != locked) || !req->complete) idle 1326 drivers/macintosh/via-pmu.c if (!adb_int_pending && pmu_state == idle && !req_awaiting_reply) { idle 1516 drivers/macintosh/via-pmu.c pmu_state = idle; idle 1557 drivers/macintosh/via-pmu.c pmu_state = idle; idle 1572 drivers/macintosh/via-pmu.c pmu_state = idle; idle 1642 drivers/macintosh/via-pmu.c if (pmu_state == idle) { idle 1699 drivers/macintosh/via-pmu.c pmu_state = idle; idle 2553 drivers/macintosh/via-pmu.c while (pmu_state != idle) idle 35 drivers/md/dm-cache-policy-internal.h bool idle, struct policy_work **result) idle 37 drivers/md/dm-cache-policy-internal.h return p->get_background_work(p, idle, result); idle 1130 drivers/md/dm-cache-policy-smq.c static bool clean_target_met(struct smq_policy *mq, bool idle) idle 1136 drivers/md/dm-cache-policy-smq.c if (idle) { idle 1174 drivers/md/dm-cache-policy-smq.c static void queue_writeback(struct smq_policy *mq, bool idle) idle 1180 drivers/md/dm-cache-policy-smq.c e = q_peek(&mq->dirty, mq->dirty.nr_levels, idle); idle 1434 drivers/md/dm-cache-policy-smq.c static int smq_get_background_work(struct dm_cache_policy *p, bool idle, idle 1444 drivers/md/dm-cache-policy-smq.c if (!clean_target_met(mq, idle)) { idle 1445 drivers/md/dm-cache-policy-smq.c queue_writeback(mq, idle); idle 77 drivers/md/dm-cache-policy.h int (*get_background_work)(struct dm_cache_policy *p, bool idle, idle 1671 drivers/md/dm-cache-target.c bool idle = iot_idle_for(&cache->tracker, HZ); idle 1675 drivers/md/dm-cache-target.c if (idle && current_volume <= cache->migration_threshold) idle 8220 drivers/md/md.c int idle; idle 8223 drivers/md/md.c idle = 1; idle 8253 drivers/md/md.c idle = 0; idle 8257 drivers/md/md.c return idle; idle 3780 drivers/media/dvb-frontends/stv090x.c u32 reg, idle = 0, fifo_full = 1; idle 3815 drivers/media/dvb-frontends/stv090x.c while ((!idle) && (i < 10)) { idle 3817 drivers/media/dvb-frontends/stv090x.c idle = STV090x_GETFIELD_Px(reg, TX_IDLE_FIELD); idle 3832 drivers/media/dvb-frontends/stv090x.c u32 reg, idle = 0, fifo_full = 1; idle 3873 drivers/media/dvb-frontends/stv090x.c while ((!idle) && (i < 10)) { idle 3875 drivers/media/dvb-frontends/stv090x.c idle = STV090x_GETFIELD_Px(reg, TX_IDLE_FIELD); idle 4271 drivers/media/pci/bt8xx/bttv-driver.c struct bttv_buffer_set idle; idle 4278 drivers/media/pci/bt8xx/bttv-driver.c memset(&idle, 0, sizeof(idle)); idle 4282 drivers/media/pci/bt8xx/bttv-driver.c btv->curr = idle; idle 4284 drivers/media/pci/bt8xx/bttv-driver.c bttv_buffer_activate_video(btv, &idle); idle 541 drivers/media/pci/cx88/cx88-input.c if (samples == 0xff && ir->dev->idle) idle 401 drivers/media/platform/omap3isp/isp.c static void isp_core_init(struct isp_device *isp, int idle) idle 404 drivers/media/platform/omap3isp/isp.c ((idle ? ISP_SYSCONFIG_MIDLEMODE_SMARTSTANDBY : idle 945 drivers/media/rc/ene_ir.c static void ene_set_idle(struct rc_dev *rdev, bool idle) idle 949 drivers/media/rc/ene_ir.c if (idle) { idle 88 drivers/media/rc/imon_raw.c if (packet_no == 0x0a && !imon->rcdev->idle) { idle 175 drivers/media/rc/rc-ir-raw.c if (dev->idle && !ev->pulse) idle 177 drivers/media/rc/rc-ir-raw.c else if (dev->idle) idle 203 drivers/media/rc/rc-ir-raw.c void ir_raw_event_set_idle(struct rc_dev *dev, bool idle) idle 208 drivers/media/rc/rc-ir-raw.c dev_dbg(&dev->dev, "%s idle mode\n", idle ? "enter" : "leave"); idle 210 drivers/media/rc/rc-ir-raw.c if (idle) { idle 217 drivers/media/rc/rc-ir-raw.c dev->s_idle(dev, idle); idle 219 drivers/media/rc/rc-ir-raw.c dev->idle = idle; idle 625 drivers/media/rc/rc-ir-raw.c dev->idle = true; idle 30 drivers/media/rc/rc-loopback.c bool idle; idle 136 drivers/media/rc/rc-loopback.c if (lodev->idle != enable) { idle 138 drivers/media/rc/rc-loopback.c lodev->idle = enable; idle 242 drivers/media/rc/rc-loopback.c loopdev.idle = true; idle 83 drivers/media/rc/streamzap.c bool idle; idle 126 drivers/media/rc/streamzap.c if (sz->idle) { idle 146 drivers/media/rc/streamzap.c sz->idle = false; idle 247 drivers/media/rc/streamzap.c sz->idle = true; idle 402 drivers/media/rc/streamzap.c sz->idle = true; idle 334 drivers/media/rc/winbond-cir.c wbcir_idle_rx(struct rc_dev *dev, bool idle) idle 338 drivers/media/rc/winbond-cir.c if (!idle && data->rxstate == WBCIR_RXSTATE_INACTIVE) idle 341 drivers/media/rc/winbond-cir.c if (idle && data->rxstate != WBCIR_RXSTATE_INACTIVE) { idle 516 drivers/media/rc/winbond-cir.c if (enable && data->dev->idle) idle 636 drivers/memory/emif.c u32 idle = 0, val = 0; idle 651 drivers/memory/emif.c idle |= val << DLL_CALIB_INTERVAL_SHIFT; idle 652 drivers/memory/emif.c idle |= EMIF_READ_IDLE_LEN_VAL << ACK_WAIT_SHIFT; idle 654 drivers/memory/emif.c return idle; idle 1225 drivers/mfd/db8500-prcmu.c struct prcmu_auto_pm_config *idle) idle 1231 drivers/mfd/db8500-prcmu.c BUG_ON((sleep == NULL) || (idle == NULL)); idle 1240 drivers/mfd/db8500-prcmu.c idle_cfg = (idle->sva_auto_pm_enable & 0xF); idle 1241 drivers/mfd/db8500-prcmu.c idle_cfg = ((idle_cfg << 4) | (idle->sia_auto_pm_enable & 0xF)); idle 1242 drivers/mfd/db8500-prcmu.c idle_cfg = ((idle_cfg << 8) | (idle->sva_power_on & 0xFF)); idle 1243 drivers/mfd/db8500-prcmu.c idle_cfg = ((idle_cfg << 8) | (idle->sia_power_on & 0xFF)); idle 1244 drivers/mfd/db8500-prcmu.c idle_cfg = ((idle_cfg << 4) | (idle->sva_policy & 0xF)); idle 1245 drivers/mfd/db8500-prcmu.c idle_cfg = ((idle_cfg << 4) | (idle->sia_policy & 0xF)); idle 1260 drivers/mfd/db8500-prcmu.c (idle->sva_auto_pm_enable == PRCMU_AUTO_PM_ON) || idle 1261 drivers/mfd/db8500-prcmu.c (idle->sia_auto_pm_enable == PRCMU_AUTO_PM_ON)); idle 332 drivers/misc/mei/init.c bool idle = (dev->dev_state == MEI_DEV_ENABLED && idle 338 drivers/misc/mei/init.c idle, idle 344 drivers/misc/mei/init.c return idle; idle 612 drivers/misc/sgi-xp/xpc_main.c int idle = atomic_read(&ch->kthreads_idle); idle 618 drivers/misc/sgi-xp/xpc_main.c if (idle > 0) { idle 619 drivers/misc/sgi-xp/xpc_main.c wakeup = (needed > idle) ? idle : needed; idle 661 drivers/net/appletalk/ltpc.c idle(dev); idle 685 drivers/net/appletalk/ltpc.c idle(dev); idle 799 drivers/net/appletalk/ltpc.c idle(dev); /* handle whatever is coming in */ idle 884 drivers/net/appletalk/ltpc.c idle(ltpc_timer_dev); idle 399 drivers/net/ethernet/natsemi/ns83820.c unsigned long idle; idle 461 drivers/net/ethernet/natsemi/ns83820.c if (test_and_clear_bit(0, &dev->rx_info.idle)) { idle 713 drivers/net/ethernet/natsemi/ns83820.c dev->rx_info.idle = 1; idle 809 drivers/net/ethernet/natsemi/ns83820.c if (dev->rx_info.idle) idle 1417 drivers/net/ethernet/natsemi/ns83820.c dev->rx_info.idle = 1; idle 586 drivers/net/ppp/ppp_generic.c struct ppp_idle idle; idle 705 drivers/net/ppp/ppp_generic.c idle.xmit_idle = (jiffies - ppp->last_xmit) / HZ; idle 706 drivers/net/ppp/ppp_generic.c idle.recv_idle = (jiffies - ppp->last_recv) / HZ; idle 707 drivers/net/ppp/ppp_generic.c if (copy_to_user(argp, &idle, sizeof(idle))) idle 166 drivers/net/wireless/ath/wil6210/debugfs.c uint64_t idle = txdata->idle * 100; idle 170 drivers/net/wireless/ath/wil6210/debugfs.c do_div(idle, total); idle 172 drivers/net/wireless/ath/wil6210/debugfs.c (int)idle); idle 177 drivers/net/wireless/ath/wil6210/debugfs.c txdata->idle = 0ULL; idle 1155 drivers/net/wireless/ath/wil6210/txrx.c txdata->idle = 0; idle 1986 drivers/net/wireless/ath/wil6210/txrx.c txdata->idle += get_cycles() - txdata->last_idle; idle 2139 drivers/net/wireless/ath/wil6210/txrx.c txdata->idle += get_cycles() - txdata->last_idle; idle 1507 drivers/net/wireless/ath/wil6210/txrx_edma.c txdata->idle += get_cycles() - txdata->last_idle; idle 645 drivers/net/wireless/ath/wil6210/wil6210.h cycles_t idle, last_idle, begin; idle 4738 drivers/net/wireless/broadcom/b43/main.c static void b43_set_synth_pu_delay(struct b43_wldev *dev, bool idle) idle 4744 drivers/net/wireless/broadcom/b43/main.c if (b43_is_mode(dev->wl, NL80211_IFTYPE_ADHOC) || idle) idle 626 drivers/net/wireless/broadcom/b43/phy_ht.c u8 *idle = phy_ht->idle_tssi; idle 687 drivers/net/wireless/broadcom/b43/phy_ht.c idle[0] << B43_PHY_HT_TXPCTL_IDLE_TSSI_C1_SHIFT); idle 690 drivers/net/wireless/broadcom/b43/phy_ht.c idle[1] << B43_PHY_HT_TXPCTL_IDLE_TSSI_C2_SHIFT); idle 693 drivers/net/wireless/broadcom/b43/phy_ht.c idle[2] << B43_PHY_HT_TXPCTL_IDLE_TSSI2_C3_SHIFT); idle 4050 drivers/net/wireless/broadcom/b43/phy_n.c u8 idle[2]; idle 4082 drivers/net/wireless/broadcom/b43/phy_n.c idle[0] = nphy->pwr_ctl_info[0].idle_tssi_2g; idle 4083 drivers/net/wireless/broadcom/b43/phy_n.c idle[1] = nphy->pwr_ctl_info[1].idle_tssi_2g; idle 4091 drivers/net/wireless/broadcom/b43/phy_n.c idle[c] = nphy->pwr_ctl_info[c].idle_tssi_2g; idle 4099 drivers/net/wireless/broadcom/b43/phy_n.c idle[c] = nphy->pwr_ctl_info[c].idle_tssi_5g; idle 4107 drivers/net/wireless/broadcom/b43/phy_n.c idle[c] = nphy->pwr_ctl_info[c].idle_tssi_5g; idle 4115 drivers/net/wireless/broadcom/b43/phy_n.c idle[c] = nphy->pwr_ctl_info[c].idle_tssi_5g; idle 4122 drivers/net/wireless/broadcom/b43/phy_n.c idle[0] = nphy->pwr_ctl_info[0].idle_tssi_5g; idle 4123 drivers/net/wireless/broadcom/b43/phy_n.c idle[1] = nphy->pwr_ctl_info[1].idle_tssi_5g; idle 4190 drivers/net/wireless/broadcom/b43/phy_n.c idle[0] << B43_NPHY_TXPCTL_ITSSI_0_SHIFT | idle 4191 drivers/net/wireless/broadcom/b43/phy_n.c idle[1] << B43_NPHY_TXPCTL_ITSSI_1_SHIFT | idle 4202 drivers/net/wireless/broadcom/b43/phy_n.c if (dev->phy.rev < 3 && (i <= (31 - idle[c] + 1))) idle 3143 drivers/net/wireless/broadcom/b43legacy/main.c bool idle) { idle 3146 drivers/net/wireless/broadcom/b43legacy/main.c if (b43legacy_is_mode(dev->wl, NL80211_IFTYPE_ADHOC) || idle) idle 314 drivers/net/wireless/broadcom/brcm80211/brcmfmac/btcoex.c goto idle; idle 334 drivers/net/wireless/broadcom/brcm80211/brcmfmac/btcoex.c goto idle; idle 338 drivers/net/wireless/broadcom/brcm80211/brcmfmac/btcoex.c goto idle; idle 343 drivers/net/wireless/broadcom/brcm80211/brcmfmac/btcoex.c idle: idle 2642 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c sinfo->inactive_time = le32_to_cpu(sta_info_le.idle) * 1000; idle 539 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil_types.h __le32 idle; /* time since data pkt rx'd from sta */ idle 570 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c (!ctx_bss->vif->bss_conf.idle && idle 574 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c } else if (!ctx_pan->vif->bss_conf.idle && idle 1400 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c if (changes & BSS_CHANGED_IDLE && bss_conf->idle) { idle 2667 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (changes & BSS_CHANGED_IDLE && !bss_conf->idle) idle 3277 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (!vif->bss_conf.idle) { idle 77 drivers/net/wireless/intersil/orinoco/spectrum_cs.c spectrum_reset(struct pcmcia_device *link, int idle) idle 108 drivers/net/wireless/intersil/orinoco/spectrum_cs.c ccsr = (idle ? HCR_IDLE : HCR_RUN) | (ccsr & HCR_MEM16); idle 143 drivers/net/wireless/intersil/orinoco/spectrum_cs.c spectrum_cs_stop_firmware(struct orinoco_private *priv, int idle) idle 148 drivers/net/wireless/intersil/orinoco/spectrum_cs.c return spectrum_reset(link, idle); idle 521 drivers/net/wireless/mac80211_hwsim.c bool started, idle, scanning; idle 1294 drivers/net/wireless/mac80211_hwsim.c if (!data2->started || (data2->idle && !data2->tmp_chan) || idle 1390 drivers/net/wireless/mac80211_hwsim.c if (data->idle && !data->tmp_chan) { idle 1646 drivers/net/wireless/mac80211_hwsim.c data->idle = !!(conf->flags & IEEE80211_CONF_IDLE); idle 3365 drivers/net/wireless/mac80211_hwsim.c if (data2->idle || !data2->started) idle 10512 drivers/net/wireless/ralink/rt2x00/rt2800lib.c u32 idle, busy, busy_ext; idle 10519 drivers/net/wireless/ralink/rt2x00/rt2800lib.c idle = rt2800_register_read(rt2x00dev, CH_IDLE_STA); idle 10523 drivers/net/wireless/ralink/rt2x00/rt2800lib.c if (idle || busy) { idle 10528 drivers/net/wireless/ralink/rt2x00/rt2800lib.c survey->time = (idle + busy) / 1000; idle 3076 drivers/net/wireless/ti/wlcore/main.c bool idle) idle 3080 drivers/net/wireless/ti/wlcore/main.c if (idle == cur_idle) idle 3083 drivers/net/wireless/ti/wlcore/main.c if (idle) { idle 4419 drivers/net/wireless/ti/wlcore/main.c wl1271_sta_handle_idle(wl, wlvif, bss_conf->idle); idle 562 drivers/perf/xgene_pmu.c XGENE_PMU_EVENT_ATTR(rank-idle, 0x1f), idle 613 drivers/phy/motorola/phy-mapphone-mdm6600.c goto idle; idle 624 drivers/phy/motorola/phy-mapphone-mdm6600.c idle: idle 386 drivers/phy/tegra/xusb-tegra124.c unsigned int index, bool idle) idle 392 drivers/phy/tegra/xusb-tegra124.c if (idle) idle 778 drivers/phy/tegra/xusb-tegra210.c unsigned int index, bool idle) idle 788 drivers/phy/tegra/xusb-tegra210.c if (idle) idle 1039 drivers/phy/tegra/xusb.c unsigned int port, bool idle) idle 1042 drivers/phy/tegra/xusb.c return padctl->soc->ops->hsic_set_idle(padctl, port, idle); idle 372 drivers/phy/tegra/xusb.h unsigned int index, bool idle); idle 2789 drivers/scsi/aha152x.c for (i = idle; i<maxstate; i++) { idle 975 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c static long ibmvscsis_ready_for_suspend(struct scsi_info *vscsi, bool idle) idle 998 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c if (idle) { idle 97 drivers/scsi/mac53c94.c if (state->phase == idle) idle 153 drivers/scsi/mac53c94.c if (state->phase != idle || state->current_req != NULL) idle 355 drivers/scsi/mac53c94.c state->phase = idle; idle 400 drivers/scsi/mesh.c ms->phase = idle; idle 476 drivers/scsi/mesh.c ms->phase = idle; idle 562 drivers/scsi/mesh.c if (ms->phase != idle || ms->current_req != NULL) { idle 568 drivers/scsi/mesh.c while (ms->phase == idle) { idle 621 drivers/scsi/mesh.c ms->phase = idle; idle 864 drivers/scsi/mesh.c case idle: idle 1009 drivers/scsi/mesh.c ms->phase = idle; idle 1541 drivers/scsi/mesh.c case idle: idle 1612 drivers/scsi/mesh.c ms->phase = idle; idle 1644 drivers/scsi/mesh.c if (ms->phase == idle) idle 1773 drivers/scsi/mesh.c while(ms->phase != idle) { idle 1829 drivers/scsi/ncr53c8xx.c ncrcmd idle [ 2]; idle 3441 drivers/scsi/ncr53c8xx.c *p++ =PADDR (idle); idle 4451 drivers/scsi/ncr53c8xx.c np->scripth->tryloop [qidx] = cpu_to_scr(NCB_SCRIPT_PHYS (np, idle)); idle 5225 drivers/scsi/ncr53c8xx.c cpu_to_scr(NCB_SCRIPT_PHYS (np, idle)); idle 7337 drivers/scsi/ncr53c8xx.c cp->start.schedule.l_paddr = cpu_to_scr(NCB_SCRIPT_PHYS (np, idle)); idle 8419 drivers/scsi/ncr53c8xx.c np->script0->idle[0] = idle 494 drivers/scsi/pcmcia/sym53c500_cs.c curSC->SCp.phase = idle; idle 107 drivers/scsi/sym53c8xx_2/sym_fw.c scripta0->idle[0] = cpu_to_scr(SCR_NO_OP); idle 151 drivers/scsi/sym53c8xx_2/sym_fw.c scripta0->idle[0] = cpu_to_scr(SCR_NO_OP); idle 40 drivers/scsi/sym53c8xx_2/sym_fw.h SYM_GEN_A(s, idle) SYM_GEN_A(s, ungetjob) \ idle 93 drivers/scsi/sym53c8xx_2/sym_fw1.h u32 idle [ 4]; idle 95 drivers/scsi/sym53c8xx_2/sym_fw1.h u32 idle [ 2]; idle 89 drivers/scsi/sym53c8xx_2/sym_fw2.h u32 idle [ 4]; idle 91 drivers/scsi/sym53c8xx_2/sym_fw2.h u32 idle [ 2]; idle 4903 drivers/scsi/sym53c8xx_2/sym_hipd.c cp->phys.head.go.start = cpu_to_scr(SCRIPTA_BA(np, idle)); idle 5731 drivers/scsi/sym53c8xx_2/sym_hipd.c np->idletask.start = cpu_to_scr(SCRIPTA_BA(np, idle)); idle 5735 drivers/scsi/sym53c8xx_2/sym_hipd.c np->notask.start = cpu_to_scr(SCRIPTA_BA(np, idle)); idle 5739 drivers/scsi/sym53c8xx_2/sym_hipd.c np->bad_itl.start = cpu_to_scr(SCRIPTA_BA(np, idle)); idle 5743 drivers/scsi/sym53c8xx_2/sym_hipd.c np->bad_itlq.start = cpu_to_scr(SCRIPTA_BA(np, idle)); idle 36 drivers/soc/renesas/r9a06g032-smp.c struct task_struct *idle) idle 88 drivers/soc/rockchip/pm_domains.c #define DOMAIN(pwr, status, req, idle, ack, wakeup) \ idle 93 drivers/soc/rockchip/pm_domains.c .idle_mask = (idle), \ idle 98 drivers/soc/rockchip/pm_domains.c #define DOMAIN_M(pwr, status, req, idle, ack, wakeup) \ idle 105 drivers/soc/rockchip/pm_domains.c .idle_mask = (idle), \ idle 110 drivers/soc/rockchip/pm_domains.c #define DOMAIN_RK3036(req, ack, idle, wakeup) \ idle 115 drivers/soc/rockchip/pm_domains.c .idle_mask = (idle), \ idle 153 drivers/soc/rockchip/pm_domains.c bool idle) idle 167 drivers/soc/rockchip/pm_domains.c idle ? (pd_info->req_mask | pd_info->req_w_mask) : idle 171 drivers/soc/rockchip/pm_domains.c pd_info->req_mask, idle ? -1U : 0); idle 176 drivers/soc/rockchip/pm_domains.c target_ack = idle ? pd_info->ack_mask : 0; idle 188 drivers/soc/rockchip/pm_domains.c is_idle, is_idle == idle, 0, 10000); idle 308 drivers/staging/isdn/gigaset/gigaset.h unsigned char idle; idle 657 drivers/staging/isdn/gigaset/gigaset.h void gigaset_isowbuf_init(struct isowbuf_t *iwb, unsigned char idle); idle 21 drivers/staging/isdn/gigaset/isocdata.c void gigaset_isowbuf_init(struct isowbuf_t *iwb, unsigned char idle) idle 28 drivers/staging/isdn/gigaset/isocdata.c iwb->idle = idle; idle 29 drivers/staging/isdn/gigaset/isocdata.c memset(iwb->data + BAS_OUTBUFSIZE, idle, BAS_OUTBUFPAD); idle 119 drivers/staging/isdn/gigaset/isocdata.c iwb->idle = iwb->data[write]; idle 120 drivers/staging/isdn/gigaset/isocdata.c gig_dbg(DEBUG_ISO, "idle fill byte %02x", iwb->idle); idle 168 drivers/staging/isdn/gigaset/isocdata.c __func__, write, limit, iwb->idle); idle 170 drivers/staging/isdn/gigaset/isocdata.c memset(iwb->data + write, iwb->idle, idle 174 drivers/staging/isdn/gigaset/isocdata.c memset(iwb->data + write, iwb->idle, idle 198 drivers/staging/isdn/gigaset/isocdata.c memset(iwb->data + dst, iwb->idle, idle 472 drivers/staging/isdn/gigaset/isocdata.c iwb->idle = c; idle 500 drivers/thermal/rcar_thermal.c int idle = IDLE_INTERVAL; idle 532 drivers/thermal/rcar_thermal.c idle = 0; /* polling delay is not needed */ idle 583 drivers/thermal/rcar_thermal.c idle); idle 467 drivers/usb/host/xhci-tegra.c bool idle, enable; idle 524 drivers/usb/host/xhci-tegra.c idle = false; idle 526 drivers/usb/host/xhci-tegra.c idle = true; idle 533 drivers/usb/host/xhci-tegra.c idle); idle 540 drivers/usb/host/xhci-tegra.c idle ? "idle" : "busy", err); idle 2018 drivers/usb/musb/musb_host.c int idle = 0; idle 2116 drivers/usb/musb/musb_host.c idle = 1; idle 2122 drivers/usb/musb/musb_host.c idle = list_empty(head); idle 2128 drivers/usb/musb/musb_host.c if (idle) idle 324 fs/compat_ioctl.c struct ppp_idle __user *idle; idle 328 fs/compat_ioctl.c idle = compat_alloc_user_space(sizeof(*idle)); idle 330 fs/compat_ioctl.c err = do_ioctl(file, PPPIOCGIDLE, (unsigned long) idle); idle 333 fs/compat_ioctl.c if (get_user(xmit, &idle->xmit_idle) || idle 334 fs/compat_ioctl.c get_user(recv, &idle->recv_idle) || idle 28 fs/proc/stat.c u64 idle; idle 30 fs/proc/stat.c idle = kcs->cpustat[CPUTIME_IDLE]; idle 32 fs/proc/stat.c idle += arch_idle_time(cpu); idle 33 fs/proc/stat.c return idle; idle 50 fs/proc/stat.c u64 idle, idle_usecs = -1ULL; idle 57 fs/proc/stat.c idle = kcs->cpustat[CPUTIME_IDLE]; idle 59 fs/proc/stat.c idle = idle_usecs * NSEC_PER_USEC; idle 61 fs/proc/stat.c return idle; idle 110 fs/proc/stat.c u64 user, nice, system, idle, iowait, irq, softirq, steal; idle 117 fs/proc/stat.c user = nice = system = idle = iowait = idle 128 fs/proc/stat.c idle += get_idle_time(kcs, i); idle 150 fs/proc/stat.c seq_put_decimal_ull(p, " ", nsec_to_clock_t(idle)); idle 166 fs/proc/stat.c idle = get_idle_time(kcs, i); idle 177 fs/proc/stat.c seq_put_decimal_ull(p, " ", nsec_to_clock_t(idle)); idle 13 fs/proc/uptime.c struct timespec64 idle; idle 23 fs/proc/uptime.c idle.tv_sec = div_u64_rem(nsec, NSEC_PER_SEC, &rem); idle 24 fs/proc/uptime.c idle.tv_nsec = rem; idle 28 fs/proc/uptime.c (unsigned long) idle.tv_sec, idle 29 fs/proc/uptime.c (idle.tv_nsec / (NSEC_PER_SEC / 100))); idle 818 include/linux/hid.h int (*idle)(struct hid_device *hdev, int report, int idle, int reqtype); idle 1112 include/linux/hid.h static inline int hid_hw_idle(struct hid_device *hdev, int report, int idle, idle 1115 include/linux/hid.h if (hdev->ll_driver->idle) idle 1116 include/linux/hid.h return hdev->ll_driver->idle(hdev, report, idle, reqtype); idle 500 include/linux/mfd/db8500-prcmu.h struct prcmu_auto_pm_config *idle); idle 602 include/linux/mfd/db8500-prcmu.h struct prcmu_auto_pm_config *idle) idle 120 include/linux/mfd/wm8994/pdata.h bool idle; idle 431 include/linux/page-flags.h PAGEFLAG(Idle, idle, PF_ANY) idle 18 include/linux/phy/tegra/xusb.h unsigned int port, bool idle); idle 30 include/linux/platform_data/i2c-mux-gpio.h unsigned idle; idle 34 include/linux/platform_data/i2c-mux-reg.h u32 idle; idle 48 include/linux/sched/task.h extern void init_idle(struct task_struct *idle, int cpu); idle 177 include/media/rc-core.h bool idle; idle 325 include/media/rc-core.h void ir_raw_event_set_idle(struct rc_dev *dev, bool idle); idle 333 include/media/rc-core.h dev->idle = true; idle 252 include/net/ax25.h unsigned long t1, t2, t3, idle, rtt; idle 648 include/net/mac80211.h bool idle; idle 75 include/net/netrom.h unsigned long t1, t2, t4, idle; idle 139 include/net/rose.h unsigned long t1, t2, t3, hb, idle; idle 255 include/uapi/drm/r128_drm.h int idle; idle 595 include/uapi/drm/radeon_drm.h int idle; idle 94 include/uapi/linux/ax25.h unsigned int idle, idletimer; idle 104 include/uapi/linux/ax25.h unsigned int idle, idletimer; idle 549 kernel/cpu.c struct task_struct *idle = idle_thread_get(cpu); idle 560 kernel/cpu.c ret = __cpu_up(cpu, idle); idle 1116 kernel/cpu.c struct task_struct *idle; idle 1135 kernel/cpu.c idle = idle_thread_get(cpu); idle 1136 kernel/cpu.c if (IS_ERR(idle)) { idle 1137 kernel/cpu.c ret = PTR_ERR(idle); idle 2288 kernel/debug/kdb/kdb_main.c int idle = 0, daemon = 0; idle 2296 kernel/debug/kdb/kdb_main.c ++idle; idle 2302 kernel/debug/kdb/kdb_main.c if (idle || daemon) { idle 2303 kernel/debug/kdb/kdb_main.c if (idle) idle 2305 kernel/debug/kdb/kdb_main.c idle, idle == 1 ? "" : "es", idle 2290 kernel/fork.c static inline void init_idle_pids(struct task_struct *idle) idle 2295 kernel/fork.c INIT_HLIST_NODE(&idle->pid_links[type]); /* not really needed */ idle 2296 kernel/fork.c init_task_pid(idle, type, &init_struct_pid); idle 597 kernel/sched/core.c if (set_nr_and_not_polling(rq->idle)) idle 2353 kernel/sched/core.c if (!set_nr_if_polling(rq->idle)) idle 2370 kernel/sched/core.c if (set_nr_if_polling(rq->idle)) { idle 4419 kernel/sched/core.c if (unlikely(p == rq->idle)) { idle 4620 kernel/sched/core.c if (rq->curr != rq->idle) idle 4659 kernel/sched/core.c return cpu_rq(cpu)->idle; idle 6016 kernel/sched/core.c void init_idle(struct task_struct *idle, int cpu) idle 6021 kernel/sched/core.c __sched_fork(0, idle); idle 6023 kernel/sched/core.c raw_spin_lock_irqsave(&idle->pi_lock, flags); idle 6026 kernel/sched/core.c idle->state = TASK_RUNNING; idle 6027 kernel/sched/core.c idle->se.exec_start = sched_clock(); idle 6028 kernel/sched/core.c idle->flags |= PF_IDLE; idle 6030 kernel/sched/core.c kasan_unpoison_task_stack(idle); idle 6039 kernel/sched/core.c set_cpus_allowed_common(idle, cpumask_of(cpu)); idle 6052 kernel/sched/core.c __set_task_cpu(idle, cpu); idle 6055 kernel/sched/core.c rq->idle = idle; idle 6056 kernel/sched/core.c rcu_assign_pointer(rq->curr, idle); idle 6057 kernel/sched/core.c idle->on_rq = TASK_ON_RQ_QUEUED; idle 6059 kernel/sched/core.c idle->on_cpu = 1; idle 6062 kernel/sched/core.c raw_spin_unlock_irqrestore(&idle->pi_lock, flags); idle 6065 kernel/sched/core.c init_idle_preempt_count(idle, cpu); idle 6070 kernel/sched/core.c idle->sched_class = &idle_sched_class; idle 6071 kernel/sched/core.c ftrace_graph_init_idle_task(idle, cpu); idle 6072 kernel/sched/core.c vtime_init_idle(idle, cpu); idle 6074 kernel/sched/core.c sprintf(idle->comm, "%s/%d", INIT_TASK_COMM, cpu); idle 384 kernel/sched/cputime.c } else if (p == rq->idle) { idle 498 kernel/sched/cputime.c else if ((p != rq->idle) || (irq_count() != HARDIRQ_OFFSET)) idle 4400 kernel/sched/fair.c cfs_b->idle = 0; idle 4616 kernel/sched/fair.c if (rq->curr == rq->idle && rq->cfs.nr_running) idle 4683 kernel/sched/fair.c if (cfs_b->idle && !throttled) idle 4690 kernel/sched/fair.c cfs_b->idle = 1; idle 4724 kernel/sched/fair.c cfs_b->idle = 0; idle 4936 kernel/sched/fair.c int idle = 0; idle 4975 kernel/sched/fair.c idle = do_sched_cfs_period_timer(cfs_b, overrun, flags); idle 4977 kernel/sched/fair.c if (idle) idle 4981 kernel/sched/fair.c return idle ? HRTIMER_NORESTART : HRTIMER_RESTART; idle 5731 kernel/sched/fair.c struct cpuidle_state *idle = idle_get_state(rq); idle 5732 kernel/sched/fair.c if (idle && idle->exit_latency < min_exit_latency) { idle 5738 kernel/sched/fair.c min_exit_latency = idle->exit_latency; idle 5741 kernel/sched/fair.c } else if ((!idle || idle->exit_latency == min_exit_latency) && idle 5897 kernel/sched/fair.c bool idle = true; idle 5902 kernel/sched/fair.c idle = false; idle 5905 kernel/sched/fair.c if (idle) idle 6768 kernel/sched/fair.c if (unlikely(!se->on_rq || curr == rq->idle)) idle 6785 kernel/sched/fair.c goto idle; idle 6824 kernel/sched/fair.c goto idle; idle 6893 kernel/sched/fair.c idle: idle 7133 kernel/sched/fair.c enum cpu_idle_type idle; idle 7219 kernel/sched/fair.c if (env->idle == CPU_IDLE) idle 7277 kernel/sched/fair.c if (env->idle == CPU_NEWLY_IDLE || (env->flags & LBF_DST_PINNED)) idle 7313 kernel/sched/fair.c schedstat_inc(env->sd->lb_hot_gained[env->idle]); idle 7359 kernel/sched/fair.c schedstat_inc(env->sd->lb_gained[env->idle]); idle 7390 kernel/sched/fair.c if (env->idle != CPU_NOT_IDLE && env->src_rq->nr_running <= 1) idle 7430 kernel/sched/fair.c if (env->idle == CPU_NEWLY_IDLE) idle 7451 kernel/sched/fair.c schedstat_add(env->sd->lb_gained[env->idle], detached); idle 8174 kernel/sched/fair.c if (env->idle == CPU_NOT_IDLE) idle 8240 kernel/sched/fair.c if (env->idle == CPU_NEWLY_IDLE && READ_ONCE(nohz.has_blocked)) idle 8253 kernel/sched/fair.c if (env->idle != CPU_NEWLY_IDLE || idle 8353 kernel/sched/fair.c if (env->idle == CPU_NOT_IDLE) idle 8579 kernel/sched/fair.c if (env->idle != CPU_NOT_IDLE && group_has_capacity(env, local) && idle 8601 kernel/sched/fair.c if (env->idle == CPU_IDLE) { idle 8744 kernel/sched/fair.c return env->idle != CPU_NOT_IDLE && (env->sd->flags & SD_ASYM_PACKING) && idle 8762 kernel/sched/fair.c if ((env->idle != CPU_NOT_IDLE) && idle 8803 kernel/sched/fair.c if (env->idle == CPU_NEWLY_IDLE) idle 8830 kernel/sched/fair.c struct sched_domain *sd, enum cpu_idle_type idle, idle 8845 kernel/sched/fair.c .idle = idle, idle 8854 kernel/sched/fair.c schedstat_inc(sd->lb_count[idle]); idle 8864 kernel/sched/fair.c schedstat_inc(sd->lb_nobusyg[idle]); idle 8870 kernel/sched/fair.c schedstat_inc(sd->lb_nobusyq[idle]); idle 8876 kernel/sched/fair.c schedstat_add(sd->lb_imbalance[idle], env.imbalance); idle 8992 kernel/sched/fair.c schedstat_inc(sd->lb_failed[idle]); idle 8999 kernel/sched/fair.c if (idle != CPU_NEWLY_IDLE) idle 9078 kernel/sched/fair.c schedstat_inc(sd->lb_balanced[idle]); idle 9091 kernel/sched/fair.c if (env.idle == CPU_NEWLY_IDLE) idle 9187 kernel/sched/fair.c .idle = CPU_IDLE, idle 9239 kernel/sched/fair.c static void rebalance_domains(struct rq *rq, enum cpu_idle_type idle) idle 9279 kernel/sched/fair.c interval = get_sd_balance_interval(sd, idle != CPU_IDLE); idle 9288 kernel/sched/fair.c if (load_balance(cpu, rq, sd, idle, &continue_balancing)) { idle 9294 kernel/sched/fair.c idle = idle_cpu(cpu) ? CPU_IDLE : CPU_NOT_IDLE; idle 9297 kernel/sched/fair.c interval = get_sd_balance_interval(sd, idle != CPU_IDLE); idle 9334 kernel/sched/fair.c if ((idle == CPU_IDLE) && time_after(nohz.next_balance, rq->next_balance)) idle 9625 kernel/sched/fair.c enum cpu_idle_type idle) idle 9695 kernel/sched/fair.c if (idle != CPU_NEWLY_IDLE) { idle 9729 kernel/sched/fair.c static bool nohz_idle_balance(struct rq *this_rq, enum cpu_idle_type idle) idle 9737 kernel/sched/fair.c if (idle != CPU_IDLE) { idle 9747 kernel/sched/fair.c _nohz_idle_balance(this_rq, flags, idle); idle 9787 kernel/sched/fair.c static inline bool nohz_idle_balance(struct rq *this_rq, enum cpu_idle_type idle) idle 9920 kernel/sched/fair.c enum cpu_idle_type idle = this_rq->idle_balance ? idle 9931 kernel/sched/fair.c if (nohz_idle_balance(this_rq, idle)) idle 9936 kernel/sched/fair.c rebalance_domains(this_rq, idle); idle 397 kernel/sched/idle.c struct task_struct *next = rq->idle; idle 21 kernel/sched/rt.c int idle = 0; idle 31 kernel/sched/rt.c idle = do_sched_rt_period_timer(rt_b, overrun); idle 34 kernel/sched/rt.c if (idle) idle 38 kernel/sched/rt.c return idle ? HRTIMER_NORESTART : HRTIMER_RESTART; idle 814 kernel/sched/rt.c int i, idle = 1, throttled = 0; idle 871 kernel/sched/rt.c if (rt_rq->rt_nr_running && rq->curr == rq->idle) idle 875 kernel/sched/rt.c idle = 0; idle 878 kernel/sched/rt.c idle = 0; idle 893 kernel/sched/rt.c return idle; idle 345 kernel/sched/sched.h u8 idle; idle 906 kernel/sched/sched.h struct task_struct *idle; idle 233 kernel/sched/stats.h if (prev != rq->idle) idle 236 kernel/sched/stats.h if (next != rq->idle) idle 569 kernel/time/tick-sched.c ktime_t now, idle; idle 577 kernel/time/tick-sched.c idle = ts->idle_sleeptime; idle 582 kernel/time/tick-sched.c idle = ktime_add(ts->idle_sleeptime, delta); idle 584 kernel/time/tick-sched.c idle = ts->idle_sleeptime; idle 588 kernel/time/tick-sched.c return ktime_to_us(idle); idle 4745 kernel/workqueue.c bool idle = true; idle 4749 kernel/workqueue.c idle = false; idle 4753 kernel/workqueue.c if (idle) idle 423 net/ax25/af_ax25.c ax25->idle = ax25_ctl.arg * 60 * HZ; idle 453 net/ax25/af_ax25.c ax25->idle = msecs_to_jiffies(ax25_dev->values[AX25_VALUES_IDLE]); idle 487 net/ax25/af_ax25.c ax25->idle = msecs_to_jiffies(AX25_DEF_IDLE); idle 606 net/ax25/af_ax25.c ax25->idle = opt * 60 * HZ; idle 729 net/ax25/af_ax25.c val = ax25->idle / (60 * HZ); idle 934 net/ax25/af_ax25.c ax25->idle = oax25->idle; idle 1775 net/ax25/af_ax25.c ax25_info.idle = ax25->idle / (60 * HZ); idle 1904 net/ax25/af_ax25.c ax25->idle / (60 * HZ), idle 73 net/ax25/ax25_timer.c if (ax25->idle > 0) idle 74 net/ax25/ax25_timer.c mod_timer(&ax25->idletimer, jiffies + ax25->idle); idle 551 net/core/pktgen.c u64 idle; idle 667 net/core/pktgen.c idle = pkt_dev->idle_acc; idle 668 net/core/pktgen.c do_div(idle, NSEC_PER_USEC); idle 679 net/core/pktgen.c (unsigned long long) idle); idle 3148 net/core/pktgen.c ktime_t idle = ns_to_ktime(pkt_dev->idle_acc); idle 3152 net/core/pktgen.c (unsigned long long)ktime_to_us(ktime_sub(elapsed, idle)), idle 3153 net/core/pktgen.c (unsigned long long)ktime_to_us(idle), idle 675 net/mac80211/chan.c sdata->vif.bss_conf.idle = !conf; idle 1404 net/mac80211/iface.c sdata->vif.bss_conf.idle = true; idle 421 net/mac80211/trace.h __field(bool, idle); idle 461 net/mac80211/trace.h __entry->idle = info->idle; idle 318 net/netrom/af_netrom.c nr->idle = opt * 60 * HZ; idle 361 net/netrom/af_netrom.c val = nr->idle / (60 * HZ); idle 436 net/netrom/af_netrom.c nr->idle = idle 482 net/netrom/af_netrom.c nr->idle = onr->idle; idle 1291 net/netrom/af_netrom.c nr->idle / (60 * HZ), idle 73 net/netrom/nr_timer.c if (nr->idle > 0) idle 74 net/netrom/nr_timer.c sk_reset_timer(sk, &nr->idletimer, jiffies + nr->idle); idle 393 net/rose/af_rose.c rose->idle = opt * 60 * HZ; idle 444 net/rose/af_rose.c val = rose->idle / (60 * HZ); idle 524 net/rose/af_rose.c rose->idle = msecs_to_jiffies(sysctl_rose_no_activity_timeout); idle 569 net/rose/af_rose.c rose->idle = orose->idle; idle 1412 net/rose/af_rose.c rose->idle / (60 * HZ), idle 96 net/rose/rose_timer.c if (rose->idle > 0) { idle 98 net/rose/rose_timer.c rose->idletimer.expires = jiffies + rose->idle; idle 723 net/rxrpc/ar-internal.h u32 idle; /* Max time since last data packet (msec) */ idle 570 net/rxrpc/sendmsg.c if (p->call.nr_timeouts >= 2 && p->call.timeouts.idle > 60 * 60 * 1000) idle 725 net/rxrpc/sendmsg.c j = msecs_to_jiffies(p.call.timeouts.idle); idle 726 net/rxrpc/sendmsg.c if (p.call.timeouts.idle > 0 && j == 0) idle 566 net/sched/sch_cbq.c long idle; idle 578 net/sched/sch_cbq.c idle = now - cl->last; idle 579 net/sched/sch_cbq.c if ((unsigned long)idle > 128*1024*1024) { idle 582 net/sched/sch_cbq.c idle -= L2T(cl, len); idle 589 net/sched/sch_cbq.c avgidle += idle - (avgidle>>cl->ewma_log); idle 608 net/sched/sch_cbq.c idle = (-avgidle) - ((-avgidle) >> cl->ewma_log); idle 619 net/sched/sch_cbq.c idle -= L2T(&q->link, len); idle 620 net/sched/sch_cbq.c idle += L2T(cl, len); idle 622 net/sched/sch_cbq.c cl->undertime = now + idle; idle 110 sound/soc/codecs/wm8994.c bool idle; idle 114 sound/soc/codecs/wm8994.c idle = !wm8994->jack_mic; idle 135 sound/soc/codecs/wm8994.c if (rates[i].idle != idle) idle 140 sound/soc/codecs/wm8994.c else if (rates[best].idle != idle) idle 149 sound/soc/codecs/wm8994.c idle ? "idle" : "active"); idle 480 sound/soc/ti/omap-mcbsp.c int idle; idle 503 sound/soc/ti/omap-mcbsp.c idle = !((MCBSP_READ_CACHE(mcbsp, SPCR2) | idle 506 sound/soc/ti/omap-mcbsp.c if (idle) { idle 2315 tools/perf/builtin-sched.c struct thread *idle; idle 2318 tools/perf/builtin-sched.c idle = get_idle_thread(sample->cpu); idle 2319 tools/perf/builtin-sched.c if (idle == NULL) { idle 2324 tools/perf/builtin-sched.c itr = thread__priv(idle); idle 814 tools/perf/builtin-top.c if (al.sym == NULL || !al.sym->idle) { idle 334 tools/perf/util/symbol.c sym->idle = symbol__is_idle(name); idle 52 tools/perf/util/symbol.h u8 idle:1; idle 91 tools/testing/selftests/powerpc/vphn/asm/lppaca.h u8 idle; /* Indicate OS is idle */ idle 25 tools/testing/selftests/proc/proc-uptime.h static void proc_uptime(int fd, uint64_t *uptime, uint64_t *idle) idle 57 tools/testing/selftests/proc/proc-uptime.h *idle = val1 * 100 + val2;