/arch/powerpc/boot/ |
H A D | gunzip_util.h | 23 * - 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 D | gunzip_util.c | 25 * @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/arm/common/ |
H A D | fiq_debugger.c | 126 static inline void enable_wakeup_irq(struct fiq_debugger_state *state) {} argument 127 static inline void disable_wakeup_irq(struct fiq_debugger_state *state) {} argument 129 static inline void enable_wakeup_irq(struct fiq_debugger_state *state) argument 131 if (state->wakeup_irq < 0) 133 enable_irq(state->wakeup_irq); 134 if (!state->wakeup_irq_no_set_wake) 135 enable_irq_wake(state->wakeup_irq); 137 static inline void disable_wakeup_irq(struct fiq_debugger_state *state) argument 139 if (state->wakeup_irq < 0) 141 disable_irq_nosync(state 147 debug_have_fiq(struct fiq_debugger_state *state) argument 152 debug_force_irq(struct fiq_debugger_state *state) argument 167 debug_uart_enable(struct fiq_debugger_state *state) argument 175 debug_uart_disable(struct fiq_debugger_state *state) argument 183 debug_uart_flush(struct fiq_debugger_state *state) argument 189 debug_putc(struct fiq_debugger_state *state, char c) argument 194 debug_puts(struct fiq_debugger_state *state, char *s) argument 204 debug_prompt(struct fiq_debugger_state *state) argument 210 dump_kernel_log(struct fiq_debugger_state *state) argument 250 struct fiq_debugger_state *state = cookie; local 265 struct fiq_debugger_state *state = cookie; local 281 dump_regs(struct fiq_debugger_state *state, unsigned *regs) argument 352 dump_allregs(struct fiq_debugger_state *state, unsigned *regs) argument 373 dump_irqs(struct fiq_debugger_state *state) argument 392 struct fiq_debugger_state *state; member in struct:stacktrace_state 419 user_backtrace(struct fiq_debugger_state *state, struct frame_tail *tail) argument 445 dump_stacktrace(struct fiq_debugger_state *state, struct pt_regs * const regs, unsigned int depth, void *ssp) argument 482 do_ps(struct fiq_debugger_state *state) argument 506 begin_syslog_dump(struct fiq_debugger_state *state) argument 511 end_syslog_dump(struct fiq_debugger_state *state) argument 517 begin_syslog_dump(struct fiq_debugger_state *state) argument 522 end_syslog_dump(struct fiq_debugger_state *state) argument 539 do_sysrq(struct fiq_debugger_state *state, char rq) argument 551 do_kgdb(struct fiq_debugger_state *state) argument 564 debug_schedule_work(struct fiq_debugger_state *state, char *cmd) argument 583 struct fiq_debugger_state *state; local 612 debug_irq_exec(struct fiq_debugger_state *state, char *cmd) argument 628 debug_help(struct fiq_debugger_state *state) argument 655 struct fiq_debugger_state *state = info; local 664 switch_cpu(struct fiq_debugger_state *state, int cpu) argument 671 debug_fiq_exec(struct fiq_debugger_state *state, const char *cmd, unsigned *regs, void *svc_sp) argument 742 struct fiq_debugger_state *state = (struct fiq_debugger_state *)data; local 760 handle_wakeup(struct fiq_debugger_state *state) argument 779 struct fiq_debugger_state *state = dev; local 789 debug_handle_irq_context(struct fiq_debugger_state *state) argument 820 debug_getc(struct fiq_debugger_state *state) argument 825 debug_handle_uart_interrupt(struct fiq_debugger_state *state, int this_cpu, void *regs, void *svc_sp) argument 915 struct fiq_debugger_state *state = local 932 struct fiq_debugger_state *state = dev; local 954 struct fiq_debugger_state *state = dev; local 966 struct fiq_debugger_state *state = local 982 struct fiq_debugger_state *state; local 1010 struct fiq_debugger_state *state = states[line]; local 1021 struct fiq_debugger_state *state = tty->driver_data; local 1030 struct fiq_debugger_state *state = tty->driver_data; local 1056 struct fiq_debugger_state *state = driver->ttys[line]->driver_data; local 1078 struct fiq_debugger_state *state = driver->ttys[line]->driver_data; local 1149 fiq_debugger_tty_init_one(struct fiq_debugger_state *state) argument 1188 struct fiq_debugger_state *state = platform_get_drvdata(pdev); local 1198 struct fiq_debugger_state *state = platform_get_drvdata(pdev); local 1209 struct fiq_debugger_state *state; local [all...] |
/arch/arm/mach-pxa/include/mach/ |
H A D | arcom-pcmcia.h | 8 void (*reset)(int state);
|
H A D | pm.h | 16 int (*valid)(suspend_state_t state); 17 void (*enter)(suspend_state_t state); 28 extern int pxa_pm_enter(suspend_state_t state);
|
/arch/sparc/include/asm/ |
H A D | smpprim.h | 20 char state = 0; local 23 "=r" (addr), "=r" (state) : 24 "0" (addr), "1" (state) : "memory"); 26 return state;
|
/arch/sh/kernel/cpu/shmobile/ |
H A D | cpuidle.c | 36 /* convert allowed mode to allowed state */ 65 struct cpuidle_state *state; local 76 state = &drv->states[i++]; 77 snprintf(state->name, CPUIDLE_NAME_LEN, "C1"); 78 strncpy(state->desc, "SuperH Sleep Mode", CPUIDLE_DESC_LEN); 79 state->exit_latency = 1; 80 state->target_residency = 1 * 2; 81 state->power_usage = 3; 82 state->flags = 0; 83 state [all...] |
/arch/mips/cavium-octeon/executive/ |
H A D | cvmx-sysinfo.c | 39 * This structure defines the private state maintained by sysinfo module. 46 } state = { variable in typeref:struct:__anon1999 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 D | idle.c | 11 void snidle(int state) argument 13 if (state) {
|
/arch/powerpc/platforms/pseries/ |
H A D | offline_states.h | 14 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/x86/boot/ |
H A D | cmdline.c | 42 } 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/unicore32/include/mach/ |
H A D | pm.h | 21 int (*valid)(suspend_state_t state); 22 void (*enter)(suspend_state_t state); 34 extern int puv3_pm_enter(suspend_state_t state);
|
/arch/arm/include/asm/mach/ |
H A D | irda.h | 16 int (*set_power)(struct device *, unsigned int state);
|
/arch/arm/mach-s3c24xx/include/mach/ |
H A D | h1940.h | 20 extern int h1940_led_blink_set(unsigned gpio, int state,
|
H A D | hardware.h | 28 extern int s3c2412_gpio_set_sleepcfg(unsigned int pin, unsigned int state);
|
/arch/c6x/include/asm/ |
H A D | dscr.h | 19 * 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 D | spi.h | 10 void (*chip_select)(struct sh_spi_info *spi, int cs, int state);
|
/arch/s390/crypto/ |
H A D | sha256_s390.c | 28 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 D | sha512_s390.c | 29 *(__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 D | sha1_s390.c | 38 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 D | pm.c | 19 static int mxs_suspend_enter(suspend_state_t state) argument 21 switch (state) {
|
/arch/arm/mach-pxa/ |
H A D | pm.c | 24 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/um/drivers/ |
H A D | hostaudio_kern.c | 73 struct hostaudio_state *state = file->private_data; local 85 err = os_read_file(state->fd, kbuf, count); 100 struct hostaudio_state *state = file->private_data; local 116 err = os_write_file(state->fd, kbuf, count); 141 struct hostaudio_state *state = file->private_data; local 162 err = os_ioctl_generic(state->fd, cmd, (unsigned long) &data); 183 struct hostaudio_state *state; local 193 state = kmalloc(sizeof(struct hostaudio_state), GFP_KERNEL); 194 if (state == NULL) 209 kfree(state); 219 struct hostaudio_state *state = file->private_data; local 235 struct hostmixer_state *state = file->private_data; local 246 struct hostmixer_state *state; local 284 struct hostmixer_state *state = file->private_data; local [all...] |
/arch/x86/mm/kmemcheck/ |
H A D | error.h | 8 void kmemcheck_error_save(enum kmemcheck_shadow state,
|
/arch/x86/include/asm/ |
H A D | fpu-internal.h | 5 * General FPU state handling cleanups 167 : "=m" (fpu->state->fxsave)); 174 : "=m" (fpu->state->fxsave)); 178 : "=m" (fpu->state->fxsave) 179 : [fx] "R" (&fpu->state->fxsave)); 204 : [fx] "=m" (fpu->state->fxsave)); 211 * 'true' if the FPU state is still intact. 219 * xsave header may indicate the init state of the FP. 221 if (!(fpu->state->xsave.xsave_hdr.xstate_bv & XSTATE_FP)) 227 : [fx] "=m" (fpu->state [all...] |