/kernel/linux/linux-6.6/drivers/macintosh/ |
H A D | via-macii.c | 76 #define ST_IDLE 0x30 /* ADB state: idle, nothing to send */ 108 idle, enumerator 157 macii_state = idle; in macii_init() 171 /* Set up state: idle */ in macii_init_via() 216 * as long as it is idle. in macii_queue_poll() 275 if (macii_state == idle) in macii_write() 296 if (current_req && macii_state == idle) in macii_autopoll() 391 case idle: in macii_interrupt() 403 /* /CTLR_IRQ asserted in idle state means we must in macii_interrupt() 480 macii_state = idle; in macii_interrupt() [all...] |
/third_party/libuv/test/ |
H A D | test-tcp-oob.c | 34 static uv_idle_t idle; variable 47 static void idle_cb(uv_idle_t* idle) { in idle_cb() argument 54 uv_close((uv_handle_t*) idle, NULL); in idle_cb() 66 ASSERT_OK(uv_idle_start(&idle, idle_cb)); in read_cb() 123 ASSERT_OK(uv_idle_init(loop, &idle)); in TEST_IMPL()
|
H A D | test-poll-oob.c | 37 static uv_idle_t idle; variable 55 static void idle_cb(uv_idle_t* idle) { in idle_cb() argument 65 uv_close((uv_handle_t*) idle, NULL); in idle_cb() 163 ASSERT_OK(uv_idle_start(&idle, idle_cb)); in connection_cb() 178 ASSERT_OK(uv_idle_init(loop, &idle)); in TEST_IMPL()
|
H A D | test-handle-fileno.c | 55 uv_idle_t idle; in TEST_IMPL() local 61 r = uv_idle_init(loop, &idle); in TEST_IMPL() 63 r = uv_fileno((uv_handle_t*) &idle, &fd); in TEST_IMPL() 65 uv_close((uv_handle_t*) &idle, NULL); in TEST_IMPL()
|
/third_party/node/test/node-api/test_uv_loop/ |
H A D | test_uv_loop.cc | 30 uv_idle_t* idle = new uv_idle_t; in SetImmediate() local 31 uv_idle_init(loop, idle); in SetImmediate() 32 uv_idle_start(idle, [](uv_idle_t* idle) { in SetImmediate() 33 uv_close(reinterpret_cast<uv_handle_t*>(idle), [](uv_handle_t* handle) { in SetImmediate()
|
/third_party/node/test/sequential/ |
H A D | test-worker-eventlooputil.js | 50 // Force some idle time to accumulate before proceeding with test. 51 if (eventLoopUtilization().idle <= 0) 67 { idle: 0, active: 0, utilization: 0 }); 88 // Cutting the idle time in half since it's possible that the call took a 90 assert.ok(wElu.idle >= 25, `${wElu.idle} < 25`); 113 return elu.idle + elu.active;
|
/kernel/linux/linux-5.10/drivers/gpu/drm/etnaviv/ |
H A D | etnaviv_gpu.c | 450 /* GC600/300 idle register reports zero bits where modules aren't present */ in etnaviv_hw_identify() 492 u32 control, idle; in etnaviv_hw_reset() local 529 /* read idle register. */ in etnaviv_hw_reset() 530 idle = gpu_read(gpu, VIVS_HI_IDLE_STATE); in etnaviv_hw_reset() 532 /* try resetting again if FE is not idle */ in etnaviv_hw_reset() 533 if ((idle & VIVS_HI_IDLE_STATE_FE) == 0) { in etnaviv_hw_reset() 534 dev_dbg(gpu->dev, "FE is not idle\n"); in etnaviv_hw_reset() 541 /* is the GPU idle? */ in etnaviv_hw_reset() 544 dev_dbg(gpu->dev, "GPU is not idle\n"); in etnaviv_hw_reset() 557 idle in etnaviv_hw_reset() 879 u32 dma_lo, dma_hi, axi, idle; etnaviv_gpu_debugfs() local 1558 u32 idle = gpu_read(gpu, VIVS_HI_IDLE_STATE); etnaviv_gpu_wait_idle() local 1855 u32 idle, mask; etnaviv_gpu_rpm_suspend() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/etnaviv/ |
H A D | etnaviv_gpu.c | 458 /* GC600/300 idle register reports zero bits where modules aren't present */ in etnaviv_hw_identify() 499 * until new work is picked up by the FE when it polls in the idle loop. in etnaviv_gpu_update_clock() 508 u32 control, idle; in etnaviv_hw_reset() local 545 /* read idle register. */ in etnaviv_hw_reset() 546 idle = gpu_read(gpu, VIVS_HI_IDLE_STATE); in etnaviv_hw_reset() 548 /* try resetting again if FE is not idle */ in etnaviv_hw_reset() 549 if ((idle & VIVS_HI_IDLE_STATE_FE) == 0) { in etnaviv_hw_reset() 550 dev_dbg(gpu->dev, "FE is not idle\n"); in etnaviv_hw_reset() 557 /* is the GPU idle? */ in etnaviv_hw_reset() 560 dev_dbg(gpu->dev, "GPU is not idle\ in etnaviv_hw_reset() 917 u32 dma_lo, dma_hi, axi, idle; etnaviv_gpu_debugfs() local 1636 u32 idle = gpu_read(gpu, VIVS_HI_IDLE_STATE); etnaviv_gpu_wait_idle() local 1917 u32 idle, mask; etnaviv_gpu_rpm_suspend() local [all...] |
/kernel/linux/linux-5.10/arch/arm/mach-omap2/ |
H A D | pm33xx-core.c | 81 static int amx3_common_init(int (*idle)(u32 wfi_flags)) in amx3_common_init() 101 idle_fn = idle; in amx3_common_init() 106 static int am33xx_suspend_init(int (*idle)(u32 wfi_flags)) in am33xx_suspend_init() 117 ret = amx3_common_init(idle); in am33xx_suspend_init() 122 static int am43xx_suspend_init(int (*idle)(u32 wfi_flags)) in am43xx_suspend_init() 132 ret = amx3_common_init(idle); in am43xx_suspend_init() 392 state_node = of_parse_phandle(cpu_node, "cpu-idle-states", i); in amx3_idle_init() 407 if (of_property_read_bool(state_node, "ti,idle-wkup-m3")) in amx3_idle_init()
|
/kernel/linux/linux-6.6/arch/arm/mach-omap2/ |
H A D | pm33xx-core.c | 80 static int amx3_common_init(int (*idle)(u32 wfi_flags)) in amx3_common_init() 100 idle_fn = idle; in amx3_common_init() 105 static int am33xx_suspend_init(int (*idle)(u32 wfi_flags)) in am33xx_suspend_init() 114 return amx3_common_init(idle); in am33xx_suspend_init() 117 static int am43xx_suspend_init(int (*idle)(u32 wfi_flags)) in am43xx_suspend_init() 127 ret = amx3_common_init(idle); in am43xx_suspend_init() 387 state_node = of_parse_phandle(cpu_node, "cpu-idle-states", i); in amx3_idle_init() 402 if (of_property_read_bool(state_node, "ti,idle-wkup-m3")) in amx3_idle_init()
|
/third_party/backends/backend/escl/ |
H A D | escl_status.c | 35 struct idle struct 51 struct idle *mem = (struct idle *)userp; in memory_callback_s() 200 struct idle *var = NULL; in escl_status() 213 var = (struct idle*)calloc(1, sizeof(struct idle)); in escl_status()
|
/third_party/mesa3d/src/gallium/drivers/r600/ |
H A D | r600_gpu_load.c | 30 * frequency and the "busy" or "idle" counter is incremented based on 79 p_atomic_inc(&counters->named.field.idle); \ 172 unsigned idle = p_atomic_read(&rscreen->mmio_counters.array[busy_index + 1]); in r600_read_mmio_counter() local 174 return busy | ((uint64_t)idle << 32); in r600_read_mmio_counter() 182 unsigned idle = (end >> 32) - (begin >> 32); in r600_end_mmio_counter() local 190 if (idle || busy) { in r600_end_mmio_counter() 191 return busy*100 / (busy + idle); in r600_end_mmio_counter()
|
/third_party/python/PCbuild/ |
H A D | idle.bat | 2 rem start idle
3 rem Usage: idle [-d]
16 set cmd=%exedir%\%exe% %PCBUILD%\..\Lib\idlelib\idle.py %1 %2 %3 %4 %5 %6 %7 %8 %9
|
/kernel/linux/linux-5.10/drivers/media/rc/ |
H A D | rc-ir-raw.c | 166 * if the event was added, and zero if the event was ignored due to idle 174 /* Ignore spaces in idle mode */ in ir_raw_event_store_with_filter() 175 if (dev->idle && !ev->pulse) in ir_raw_event_store_with_filter() 177 else if (dev->idle) in ir_raw_event_store_with_filter() 189 /* Enter idle mode if necessary */ in ir_raw_event_store_with_filter() 199 * ir_raw_event_set_idle() - provide hint to rc-core when the device is idle or not 201 * @idle: whether the device is idle or not 203 void ir_raw_event_set_idle(struct rc_dev *dev, bool idle) in ir_raw_event_set_idle() argument 208 dev_dbg(&dev->dev, "%s idle mod in ir_raw_event_set_idle() [all...] |
/kernel/linux/linux-6.6/drivers/media/rc/ |
H A D | rc-ir-raw.c | 164 * if the event was added, and zero if the event was ignored due to idle 172 /* Ignore spaces in idle mode */ in ir_raw_event_store_with_filter() 173 if (dev->idle && !ev->pulse) in ir_raw_event_store_with_filter() 175 else if (dev->idle) in ir_raw_event_store_with_filter() 187 /* Enter idle mode if necessary */ in ir_raw_event_store_with_filter() 197 * ir_raw_event_set_idle() - provide hint to rc-core when the device is idle or not 199 * @idle: whether the device is idle or not 201 void ir_raw_event_set_idle(struct rc_dev *dev, bool idle) in ir_raw_event_set_idle() argument 206 dev_dbg(&dev->dev, "%s idle mod in ir_raw_event_set_idle() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_ids.c | 189 * amdgpu_vmid_grab_idle - grab idle VMID 193 * @idle: resulting idle VMID 196 * Try to find an idle VMID, if none is idle add a fence to wait to the sync 201 struct amdgpu_vmid **idle, in amdgpu_vmid_grab_idle() 219 /* Check if we have an idle VMID */ in amdgpu_vmid_grab_idle() 221 list_for_each_entry((*idle), &id_mgr->ids_lru, list) { in amdgpu_vmid_grab_idle() 226 fences[i] = amdgpu_sync_peek_fence(&(*idle)->active, r); in amdgpu_vmid_grab_idle() 232 /* If we can't find a idle VMI in amdgpu_vmid_grab_idle() 199 amdgpu_vmid_grab_idle(struct amdgpu_vm *vm, struct amdgpu_ring *ring, struct amdgpu_vmid **idle, struct dma_fence **fence) amdgpu_vmid_grab_idle() argument 403 struct amdgpu_vmid *idle = NULL; amdgpu_vmid_grab() local [all...] |
/third_party/libwebsockets/lib/event-libs/glib/ |
H A D | glib.c | 76 if (lws_gs_valid(pt_to_priv_glib(pt)->idle)) in lws_glib_set_idle() 79 pt_to_priv_glib(pt)->idle.gs = g_idle_source_new(); in lws_glib_set_idle() 80 if (!pt_to_priv_glib(pt)->idle.gs) in lws_glib_set_idle() 83 g_source_set_callback(pt_to_priv_glib(pt)->idle.gs, in lws_glib_set_idle() 85 pt_to_priv_glib(pt)->idle.tag = g_source_attach( in lws_glib_set_idle() 86 pt_to_priv_glib(pt)->idle.gs, pt_to_g_main_context(pt)); in lws_glib_set_idle() 144 if (!lws_gs_valid(pt_to_priv_glib(pt)->idle)) in lws_glib_dispatch() 220 * For glib, this disables the idle callback. Otherwise we keep in lws_glib_idle_timer_cb() 223 * We reenable the idle callback on the next network or scheduled event in lws_glib_idle_timer_cb() 226 lws_gs_destroy(pt_to_priv_glib(pt)->idle); in lws_glib_idle_timer_cb() [all...] |
/kernel/linux/linux-5.10/arch/arm/mach-bcm/ |
H A D | platsmp.c | 158 static int kona_boot_secondary(unsigned int cpu, struct task_struct *idle) in kona_boot_secondary() argument 220 * idle state. A command needs to be sent to the block to bring the CPU 223 static int bcm23550_boot_secondary(unsigned int cpu, struct task_struct *idle) in bcm23550_boot_secondary() argument 249 ret = kona_boot_secondary(cpu, idle); in bcm23550_boot_secondary() 264 static int nsp_boot_secondary(unsigned int cpu, struct task_struct *idle) in nsp_boot_secondary() argument 285 static int bcm2836_boot_secondary(unsigned int cpu, struct task_struct *idle) in bcm2836_boot_secondary() argument
|
/kernel/linux/linux-6.6/arch/arm/mach-bcm/ |
H A D | platsmp.c | 158 static int kona_boot_secondary(unsigned int cpu, struct task_struct *idle) in kona_boot_secondary() argument 220 * idle state. A command needs to be sent to the block to bring the CPU 223 static int bcm23550_boot_secondary(unsigned int cpu, struct task_struct *idle) in bcm23550_boot_secondary() argument 249 ret = kona_boot_secondary(cpu, idle); in bcm23550_boot_secondary() 264 static int nsp_boot_secondary(unsigned int cpu, struct task_struct *idle) in nsp_boot_secondary() argument 285 static int bcm2836_boot_secondary(unsigned int cpu, struct task_struct *idle) in bcm2836_boot_secondary() argument
|
/kernel/linux/linux-5.10/drivers/i2c/muxes/ |
H A D | i2c-mux-gpio.c | 47 i2c_mux_gpio_set(mux, mux->data.idle); in i2c_mux_gpio_deselect() 94 if (of_property_read_u32(np, "idle-state", &mux->data.idle)) in i2c_mux_gpio_probe_dt() 95 mux->data.idle = I2C_MUX_GPIO_NO_IDLE; in i2c_mux_gpio_probe_dt() 156 if (mux->data.idle != I2C_MUX_GPIO_NO_IDLE) { in i2c_mux_gpio_probe() 157 initial_state = mux->data.idle; in i2c_mux_gpio_probe()
|
/kernel/linux/linux-6.6/drivers/i2c/muxes/ |
H A D | i2c-mux-gpio.c | 48 i2c_mux_gpio_set(mux, mux->data.idle); in i2c_mux_gpio_deselect() 118 if (device_property_read_u32(dev, "idle-state", &mux->data.idle)) in i2c_mux_gpio_probe_fw() 119 mux->data.idle = I2C_MUX_GPIO_NO_IDLE; in i2c_mux_gpio_probe_fw() 173 if (mux->data.idle != I2C_MUX_GPIO_NO_IDLE) { in i2c_mux_gpio_probe() 174 initial_state = mux->data.idle; in i2c_mux_gpio_probe()
|
/kernel/linux/linux-5.10/arch/s390/lib/ |
H A D | delay.c | 19 #include <asm/idle.h> 37 struct s390_idle_data idle; in __udelay_disabled() local 48 psw_idle(&idle, psw_mask); in __udelay_disabled()
|
/kernel/linux/linux-5.10/arch/x86/xen/ |
H A D | smp_pv.c | 262 cpu_initialize_context(unsigned int cpu, struct task_struct *idle) in cpu_initialize_context() argument 293 ctxt->user_regs.esp = (unsigned long)task_pt_regs(idle); in cpu_initialize_context() 314 ctxt->kernel_sp = task_top_of_stack(idle); in cpu_initialize_context() 331 static int xen_pv_cpu_up(unsigned int cpu, struct task_struct *idle) in xen_pv_cpu_up() argument 335 rc = common_cpu_up(cpu, idle); in xen_pv_cpu_up() 352 rc = cpu_initialize_context(cpu, idle); in xen_pv_cpu_up()
|
/kernel/linux/linux-6.6/arch/x86/xen/ |
H A D | smp_pv.c | 253 cpu_initialize_context(unsigned int cpu, struct task_struct *idle) in cpu_initialize_context() argument 282 ctxt->user_regs.esp = (unsigned long)task_pt_regs(idle); in cpu_initialize_context() 301 ctxt->kernel_sp = task_top_of_stack(idle); in cpu_initialize_context() 318 static int xen_pv_kick_ap(unsigned int cpu, struct task_struct *idle) in xen_pv_kick_ap() argument 322 rc = common_cpu_up(cpu, idle); in xen_pv_kick_ap() 331 rc = cpu_initialize_context(cpu, idle); in xen_pv_kick_ap()
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
H A D | si_gpu_load.c | 28 * frequency and the "busy" or "idle" counter is incremented based on 77 p_atomic_inc(&counters->named.field.idle); \ 185 unsigned idle = p_atomic_read(&sscreen->mmio_counters.array[busy_index + 1]); in si_read_mmio_counter() local 187 return busy | ((uint64_t)idle << 32); in si_read_mmio_counter() 194 unsigned idle = (end >> 32) - (begin >> 32); in si_end_mmio_counter() local 202 if (idle || busy) { in si_end_mmio_counter() 203 return busy * 100 / (busy + idle); in si_end_mmio_counter()
|