Searched defs:state (Results 1 - 25 of 213) sorted by relevance

123456789

/arch/ia64/sn/kernel/
H A Didle.c11 void snidle(int state) argument
13 if (state) {
/arch/arm/mach-mxs/
H A Dpm.c20 static int mxs_suspend_enter(suspend_state_t state) argument
22 switch (state) {
/arch/mips/include/asm/mach-malta/
H A Dmalta-pm.h19 * mips_pm_suspend - enter a suspend state
20 * @state: the state to enter, one of PIIX4_FUNC3IO_PMCNTRL_SUS_TYP_*
22 * Enters a suspend state via the Malta's PIIX4. If the state to be entered
26 extern int mips_pm_suspend(unsigned state);
30 static inline int mips_pm_suspend(unsigned state) argument
/arch/mips/jz4740/
H A Dpm.c25 static int jz4740_pm_enter(suspend_state_t state) argument
/arch/x86/crypto/sha-mb/
H A Dsha1_mb_mgr_init_avx2.c56 void sha1_mb_mgr_init_avx2(struct sha1_mb_mgr *state) argument
59 state->unused_lanes = 0xF76543210;
61 state->lens[j] = 0xFFFFFFFF;
62 state->ldata[j].job_in_lane = NULL;
/arch/arm/mach-imx/
H A Dpm-imx27.c16 static int mx27_suspend_enter(suspend_state_t state) argument
19 switch (state) {
/arch/arm/mach-highbank/
H A Dpm.c34 static int highbank_pm_enter(suspend_state_t state) argument
/arch/arm/mach-shmobile/
H A Dsuspend.c26 static int shmobile_suspend_begin(suspend_state_t state) argument
/arch/metag/include/asm/
H A Dtraps.h30 static inline TBIRES tail_end(TBIRES state) argument
32 return tail_end_sys(state, -1, NULL);
/arch/arm/mach-lpc32xx/
H A Dpm.c36 * key scanner, etc.) still operate if enabled. In this state, an enabled
37 * system event (ie, GPIO state change, RTC match, key press, etc.) will
55 * Save state of HCLK_PLL PLL
59 * HCLK PLL state is restored
82 * loss of CPU or memory state
84 static int lpc32xx_pm_enter(suspend_state_t state) argument
/arch/arm/mach-mvebu/
H A Dkirkwood-pm.c38 * Set CPU in wait-for-interrupt state.
47 static int kirkwood_suspend_enter(suspend_state_t state) argument
49 switch (state) {
59 static int kirkwood_pm_valid_standby(suspend_state_t state) argument
61 return state == PM_SUSPEND_STANDBY;
/arch/mips/mti-malta/
H A Dmalta-pm.c21 int mips_pm_suspend(unsigned state) argument
38 outw(state | PIIX4_FUNC3IO_PMCNTRL_SUS_EN,
45 * The PIIX4 will enter the suspend state only after seeing a special
/arch/s390/crypto/
H A Dsha.h27 u32 state[SHA_MAX_STATE_SIZE]; member in struct:s390_sha_ctx
/arch/x86/kernel/acpi/
H A Dsleep.c29 * x86_acpi_enter_sleep_state - enter sleep state
30 * @state: Sleep state to enter.
34 acpi_status asmlinkage __visible x86_acpi_enter_sleep_state(u8 state) argument
36 return acpi_enter_sleep_state(state);
40 * x86_acpi_suspend_lowlevel - save kernel state
/arch/arm/mach-mmp/
H A Dpm-pxa910.c133 void pxa910_pm_enter_lowpower_mode(int state) argument
145 switch (state) {
188 static int pxa910_pm_enter(suspend_state_t state) argument
241 static int pxa910_pm_valid(suspend_state_t state) argument
243 return ((state == PM_SUSPEND_STANDBY) || (state == PM_SUSPEND_MEM));
/arch/arm/mach-pxa/
H A Dpm.c24 int pxa_pm_enter(suspend_state_t state) argument
36 if (state != PM_SUSPEND_STANDBY && pxa_cpu_pm_fns->save) {
44 pxa_cpu_pm_fns->enter(state);
46 if (state != PM_SUSPEND_STANDBY && pxa_cpu_pm_fns->restore) {
57 pxa_cpu_pm_fns->enter(state);
69 static int pxa_pm_valid(suspend_state_t state) argument
72 return pxa_cpu_pm_fns->valid(state);
/arch/arm/mach-sa1100/
H A Dpm.c55 static int sa11x0_pm_enter(suspend_state_t state) argument
/arch/mips/cavium-octeon/executive/
H A Dcvmx-sysinfo.c39 * This structure defines the private state maintained by sysinfo module.
46 } state = { variable in typeref:struct:__anon1950
71 return &(state.sysinfo);
106 if (state.sysinfo.board_type)
109 memset(&(state.sysinfo), 0x0, sizeof(state.sysinfo));
110 state.sysinfo.phy_mem_desc_ptr = phy_mem_desc_ptr;
111 state.sysinfo.board_type = board_type;
112 state.sysinfo.board_rev_major = board_rev_major;
113 state
[all...]
/arch/powerpc/kernel/
H A Deeh_sysfs.c62 int state; local
67 state = eeh_ops->get_state(edev->pe, NULL);
69 state, edev->pe->state);
83 if (!(edev->pe->state & EEH_PE_ISOLATED))
/arch/powerpc/platforms/pseries/
H A Doffline_states.h14 extern void set_cpu_current_state(int cpu, enum cpu_state_vals state);
15 extern void set_preferred_offline_state(int cpu, enum cpu_state_vals state);
23 static inline void set_cpu_current_state(int cpu, enum cpu_state_vals state) argument
27 static inline void set_preferred_offline_state(int cpu, enum cpu_state_vals state) argument
/arch/sh/include/asm/
H A Dpush-switch.h10 /* switch state */
11 unsigned int state:1; member in struct:push_switch
/arch/tile/kernel/
H A Dmessaging.c31 HV_MsgState *state = this_cpu_ptr(&msg_state); local
32 int rc = hv_register_message_state(state);
71 HV_MsgState *state = this_cpu_ptr(&msg_state); local
72 rmi = hv_receive_message(*state, (HV_VirtAddr) message,
/arch/unicore32/kernel/
H A Dpm.c28 int puv3_pm_enter(suspend_state_t state) argument
34 if (state != PM_SUSPEND_STANDBY) {
42 puv3_cpu_pm_fns->enter(state);
50 if (state != PM_SUSPEND_STANDBY) {
58 puv3_cpu_pm_fns->enter(state);
74 static int puv3_pm_valid(suspend_state_t state) argument
77 return puv3_cpu_pm_fns->valid(state);
/arch/x86/lib/
H A Dcmdline.c35 } state = st_wordstart; local
48 switch (state) {
55 state = st_wordcmp;
65 state = st_wordskip;
69 state = st_wordskip;
78 state = st_wordstart;
/arch/arc/kernel/
H A Dunaligned.c135 static void fixup_load(struct disasm_state *state, struct pt_regs *regs, argument
141 if ((state->aa == 1) || (state->aa == 2)) {
142 set_reg(state->wb_reg, state->src1 + state->src2, regs, cregs);
144 if (state->aa == 2)
145 state->src2 = 0;
148 if (state->zz == 0) {
149 get32_unaligned_check(val, state
165 fixup_store(struct disasm_state *state, struct pt_regs *regs, struct callee_regs *cregs) argument
204 struct disasm_state state; local
[all...]

Completed in 666 milliseconds

123456789