Searched refs:state (Results 1 - 25 of 487) sorted by relevance

1234567891011>>

/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/arc/kernel/
H A Ddisasm.c22 * findings in *state
24 void __kprobes disasm_instr(unsigned long addr, struct disasm_state *state, argument
35 memset(state, 0, sizeof(struct disasm_state));
51 state->major_opcode = (word1 >> 11) & 0x1F;
54 if (state->major_opcode < 0x0B) {
57 state->instr_len = 4;
59 state->words[0] = (word1 << 16) | word0;
61 state->instr_len = 2;
62 state->words[0] = word1;
66 word1 = *((uint16_t *)(addr + state
[all...]
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...]
/arch/arm64/include/asm/
H A Dfpsimdmacros.h2 * FP/SIMD state saving and restoring macros
20 .macro fpsimd_save state, tmpnr
21 stp q0, q1, [\state, #16 * 0]
22 stp q2, q3, [\state, #16 * 2]
23 stp q4, q5, [\state, #16 * 4]
24 stp q6, q7, [\state, #16 * 6]
25 stp q8, q9, [\state, #16 * 8]
26 stp q10, q11, [\state, #16 * 10]
27 stp q12, q13, [\state, #16 * 12]
28 stp q14, q15, [\state, #1
86 add \\state, \\state, x\\numnr, lsl #4 variable
103 add \\state, \\state, x\\tmpnr2, lsl #4 variable
[all...]
/arch/powerpc/boot/
H A Dgunzip_util.h23 * - use gunzip_start() to initialize the state, associating it
39 void gunzip_start(struct gunzip_state *state, void *src, int srclen);
40 int gunzip_partial(struct gunzip_state *state, void *dst, int dstlen);
41 void gunzip_exactly(struct gunzip_state *state, void *dst, int len);
42 void gunzip_discard(struct gunzip_state *state, int len);
43 int gunzip_finish(struct gunzip_state *state, void *dst, int len);
H A Dgunzip_util.c25 * @state: decompressor state structure to be initialized
31 * state in @state. The other functions in this file can then be used
36 * in @state and the other functions in this file will simply copy
42 void gunzip_start(struct gunzip_state *state, void *src, int srclen) argument
47 memset(state, 0, sizeof(*state));
54 state->s.workspace = state
102 gunzip_partial(struct gunzip_state *state, void *dst, int dstlen) argument
140 gunzip_exactly(struct gunzip_state *state, void *dst, int dstlen) argument
165 gunzip_discard(struct gunzip_state *state, int len) argument
193 gunzip_finish(struct gunzip_state *state, void *dst, int dstlen) argument
[all...]
/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/powerpc/platforms/powernv/
H A Dsubcore.h17 void split_core_secondary_loop(u8 *state);
/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/ia64/sn/kernel/
H A Didle.c11 void snidle(int state) argument
13 if (state) {
/arch/mips/include/asm/
H A Dpm-cps.h34 * cps_pm_support_state - determine whether the system supports a PM state
35 * @state: the state to test for support
37 * Returns true if the system supports the given state, otherwise false.
39 extern bool cps_pm_support_state(enum cps_pm_state state);
42 * cps_pm_enter_state - enter a PM state
43 * @state: the state to enter
45 * Enter the given PM state. If coupled_coherence is non-zero then it is
49 extern int cps_pm_enter_state(enum cps_pm_state state);
[all...]
/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/arm/mach-pxa/include/mach/
H A Dpm.h16 int (*valid)(suspend_state_t state);
17 void (*enter)(suspend_state_t state);
28 extern int pxa_pm_enter(suspend_state_t state);
/arch/unicore32/include/mach/
H A Dpm.h21 int (*valid)(suspend_state_t state);
22 void (*enter)(suspend_state_t state);
34 extern int puv3_pm_enter(suspend_state_t state);
/arch/x86/boot/
H A Dcmdline.c42 } state = st_wordstart; local
51 switch (state) {
57 state = st_wordcmp;
65 state = st_bufcpy;
67 state = st_wordstart;
69 state = st_wordskip;
75 state = st_wordstart;
80 state = st_wordstart;
112 } state = st_wordstart; local
124 switch (state) {
[all...]
/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/arm/include/asm/mach/
H A Dirda.h16 int (*set_power)(struct device *, unsigned int state);
/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/c6x/include/asm/
H A Ddscr.h19 * Set the device state of the device with the given ID.
25 extern void dscr_set_devstate(int devid, enum dscr_devstate_t state);
/arch/sh/include/asm/
H A Dspi.h10 void (*chip_select)(struct sh_spi_info *spi, int cs, int state);
/arch/s390/crypto/
H A Dsha256_s390.c28 sctx->state[0] = SHA256_H0;
29 sctx->state[1] = SHA256_H1;
30 sctx->state[2] = SHA256_H2;
31 sctx->state[3] = SHA256_H3;
32 sctx->state[4] = SHA256_H4;
33 sctx->state[5] = SHA256_H5;
34 sctx->state[6] = SHA256_H6;
35 sctx->state[7] = SHA256_H7;
48 memcpy(octx->state, sctx->state, sizeo
[all...]
H A Dsha512_s390.c29 *(__u64 *)&ctx->state[0] = 0x6a09e667f3bcc908ULL;
30 *(__u64 *)&ctx->state[2] = 0xbb67ae8584caa73bULL;
31 *(__u64 *)&ctx->state[4] = 0x3c6ef372fe94f82bULL;
32 *(__u64 *)&ctx->state[6] = 0xa54ff53a5f1d36f1ULL;
33 *(__u64 *)&ctx->state[8] = 0x510e527fade682d1ULL;
34 *(__u64 *)&ctx->state[10] = 0x9b05688c2b3e6c1fULL;
35 *(__u64 *)&ctx->state[12] = 0x1f83d9abfb41bd6bULL;
36 *(__u64 *)&ctx->state[14] = 0x5be0cd19137e2179ULL;
50 memcpy(octx->state, sctx->state, sizeo
[all...]
H A Dsha1_s390.c38 sctx->state[0] = SHA1_H0;
39 sctx->state[1] = SHA1_H1;
40 sctx->state[2] = SHA1_H2;
41 sctx->state[3] = SHA1_H3;
42 sctx->state[4] = SHA1_H4;
55 memcpy(octx->state, sctx->state, sizeof(octx->state));
66 memcpy(sctx->state, ictx->state, sizeo
[all...]
/arch/arm/mach-mxs/
H A Dpm.c20 static int mxs_suspend_enter(suspend_state_t state) argument
22 switch (state) {
/arch/blackfin/include/asm/
H A Dpm.h17 int (*valid)(suspend_state_t state);
18 void (*enter)(suspend_state_t state);

Completed in 594 milliseconds

1234567891011>>