Home
last modified time | relevance | path

Searched refs:idle_state (Results 1 – 23 of 23) sorted by relevance

/linux/drivers/cpuidle/
A Ddt_idle_states.c21 static int init_state_node(struct cpuidle_state *idle_state, in init_state_node() argument
33 idle_state->enter = match_id->data; in init_state_node()
39 idle_state->enter_s2idle = match_id->data; in init_state_node()
42 &idle_state->exit_latency); in init_state_node()
65 idle_state->exit_latency = entry_latency + exit_latency; in init_state_node()
69 &idle_state->target_residency); in init_state_node()
80 idle_state->flags = 0; in init_state_node()
82 idle_state->flags |= CPUIDLE_FLAG_TIMER_STOP; in init_state_node()
89 strncpy(idle_state->desc, desc, CPUIDLE_DESC_LEN - 1); in init_state_node()
153 struct cpuidle_state *idle_state; in dt_init_idle_driver() local
[all …]
A Dcpuidle-pseries.c327 int idle_state; in pseries_cpuidle_driver_init() local
332 for (idle_state = 0; idle_state < max_idle_state; ++idle_state) { in pseries_cpuidle_driver_init()
334 if (cpuidle_state_table[idle_state].enter == NULL) in pseries_cpuidle_driver_init()
338 cpuidle_state_table[idle_state]; in pseries_cpuidle_driver_init()
A Dcpuidle-powernv.c190 int idle_state; in powernv_cpuidle_driver_init() local
195 for (idle_state = 0; idle_state < max_idle_state; ++idle_state) { in powernv_cpuidle_driver_init()
197 if (cpuidle_state_table[idle_state].enter == NULL) in powernv_cpuidle_driver_init()
201 cpuidle_state_table[idle_state]; in powernv_cpuidle_driver_init()
/linux/drivers/mux/
A Dgpio.c54 s32 idle_state; in mux_gpio_probe() local
75 ret = device_property_read_u32(dev, "idle-state", (u32 *)&idle_state); in mux_gpio_probe()
76 if (ret >= 0 && idle_state != MUX_IDLE_AS_IS) { in mux_gpio_probe()
77 if (idle_state < 0 || idle_state >= mux_chip->mux->states) { in mux_gpio_probe()
78 dev_err(dev, "invalid idle-state %u\n", idle_state); in mux_gpio_probe()
82 mux_chip->mux->idle_state = idle_state; in mux_gpio_probe()
A Dadg792a.c65 s32 idle_state[3]; in adg792a_probe() local
90 (u32 *)idle_state, in adg792a_probe()
93 idle_state[0] = MUX_IDLE_AS_IS; in adg792a_probe()
94 idle_state[1] = MUX_IDLE_AS_IS; in adg792a_probe()
95 idle_state[2] = MUX_IDLE_AS_IS; in adg792a_probe()
103 switch (idle_state[i]) { in adg792a_probe()
107 mux->idle_state = idle_state[i]; in adg792a_probe()
110 dev_err(dev, "invalid idle-state %d\n", idle_state[i]); in adg792a_probe()
A Dadgs1408.c59 s32 idle_state; in adgs1408_probe() local
76 ret = device_property_read_u32(dev, "idle-state", (u32 *)&idle_state); in adgs1408_probe()
78 idle_state = MUX_IDLE_AS_IS; in adgs1408_probe()
87 switch (idle_state) { in adgs1408_probe()
92 if (idle_state < mux->states) { in adgs1408_probe()
93 mux->idle_state = idle_state; in adgs1408_probe()
98 dev_err(dev, "invalid idle-state %d\n", idle_state); in adgs1408_probe()
A Dmmio.c77 s32 idle_state = MUX_IDLE_AS_IS; in mux_mmio_probe() local
114 (u32 *)&idle_state); in mux_mmio_probe()
115 if (idle_state != MUX_IDLE_AS_IS) { in mux_mmio_probe()
116 if (idle_state < 0 || idle_state >= mux->states) { in mux_mmio_probe()
118 i, idle_state); in mux_mmio_probe()
122 mux->idle_state = idle_state; in mux_mmio_probe()
A Dcore.c119 mux->idle_state = MUX_IDLE_AS_IS; in mux_chip_alloc()
159 if (mux->idle_state == mux->cached_state) in mux_chip_register()
162 ret = mux_control_set(mux, mux->idle_state); in mux_chip_register()
315 if (mux->idle_state != MUX_IDLE_AS_IS) in __mux_control_select()
316 mux_control_set(mux, mux->idle_state); in __mux_control_select()
424 if (mux->idle_state != MUX_IDLE_AS_IS && in mux_control_deselect()
425 mux->idle_state != mux->cached_state) in mux_control_deselect()
426 ret = mux_control_set(mux, mux->idle_state); in mux_control_deselect()
/linux/drivers/i2c/muxes/
A Di2c-mux-pca954x.c84 s32 idle_state; member
255 s32 idle_state; in pca954x_deselect_mux() local
257 idle_state = READ_ONCE(data->idle_state); in pca954x_deselect_mux()
258 if (idle_state >= 0) in pca954x_deselect_mux()
260 return pca954x_select_chan(muxc, idle_state); in pca954x_deselect_mux()
262 if (idle_state == MUX_IDLE_DISCONNECT) { in pca954x_deselect_mux()
305 WRITE_ONCE(data->idle_state, val); in idle_state_store()
318 static DEVICE_ATTR_RW(idle_state);
399 if (data->idle_state >= 0) in pca954x_init()
469 data->idle_state = MUX_IDLE_AS_IS; in pca954x_probe()
[all …]
/linux/arch/powerpc/platforms/powernv/
A Didle.c231 unsigned long *state = &paca_ptrs[first]->idle_state; in atomic_start_thread_idle()
241 unsigned long *state = &paca_ptrs[first]->idle_state; in atomic_stop_thread_idle()
250 unsigned long *state = &paca_ptrs[first]->idle_state; in atomic_lock_thread_idle()
261 unsigned long *state = &paca_ptrs[first]->idle_state; in atomic_unlock_and_stop_thread_idle()
281 unsigned long *state = &paca_ptrs[first]->idle_state; in atomic_unlock_thread_idle()
317 unsigned long *state = &paca_ptrs[first]->idle_state; in power7_idle_insn()
611 unsigned long *state = &paca_ptrs[first]->idle_state; in power9_idle_stop()
897 unsigned long *state = &paca_ptrs[first]->idle_state; in power10_idle_stop()
1436 p->idle_state = 0; in pnv_init_idle_states()
1438 p->idle_state = (1 << threads_per_core) - 1; in pnv_init_idle_states()
/linux/drivers/base/
A Dpinctrl.c76 dev->pins->idle_state = pinctrl_lookup_state(dev->pins->p, in pinctrl_bind_pins()
78 if (IS_ERR(dev->pins->idle_state)) in pinctrl_bind_pins()
/linux/arch/arm/mach-omap2/
A Dpm33xx-core.c426 struct amx3_idle_state *idle_state = &idle_states[index]; in amx3_idle_enter() local
428 if (!idle_state) in amx3_idle_enter()
432 idle_fn(idle_state->wfi_flags); in amx3_idle_enter()
/linux/include/linux/pinctrl/
A Ddevinfo.h36 struct pinctrl_state *idle_state; member
/linux/kernel/sched/
A Didle.c20 void sched_idle_set_state(struct cpuidle_state *idle_state) in sched_idle_set_state() argument
22 idle_set_state(this_rq(), idle_state); in sched_idle_set_state()
A Dsched.h1093 struct cpuidle_state *idle_state; member
2265 struct cpuidle_state *idle_state) in idle_set_state() argument
2267 rq->idle_state = idle_state; in idle_set_state()
2274 return rq->idle_state; in idle_get_state()
2278 struct cpuidle_state *idle_state) in idle_set_state() argument
/linux/include/linux/mux/
A Ddriver.h51 int idle_state; member
/linux/Documentation/ABI/testing/
A Dsysfs-bus-i2c-devices-pca954x1 What: /sys/bus/i2c/.../idle_state
/linux/arch/powerpc/include/asm/
A Dpaca.h192 unsigned long idle_state; member
/linux/drivers/macintosh/
A Dvia-cuda.c600 idle_state: in cuda_interrupt()
625 goto idle_state; in cuda_interrupt()
/linux/include/linux/
A Dcpuidle.h237 extern void sched_idle_set_state(struct cpuidle_state *idle_state);
/linux/Documentation/i2c/
A Di2c-sysfs.rst211 channel-2 idle_state of_node uevent
248 channel-1 channel-5 idle_state power
/linux/drivers/pinctrl/
A Dcore.c1616 return pinctrl_select_bound_state(dev, dev->pins->idle_state); in pinctrl_pm_select_idle_state()
/linux/arch/powerpc/xmon/
A Dxmon.c2716 DUMP(p, idle_state, "%#-*lx"); in dump_one_paca()

Completed in 56 milliseconds