regs                9 arch/alpha/include/asm/ptrace.h #define user_mode(regs) (((regs)->ps & 8) != 0)
regs               10 arch/alpha/include/asm/ptrace.h #define instruction_pointer(regs) ((regs)->pc)
regs               11 arch/alpha/include/asm/ptrace.h #define profile_pc(regs) instruction_pointer(regs)
regs               23 arch/alpha/include/asm/ptrace.h static inline unsigned long regs_return_value(struct pt_regs *regs)
regs               25 arch/alpha/include/asm/ptrace.h 	return regs->r0;
regs               35 arch/alpha/include/asm/user.h 	unsigned long	regs[EF_SIZE/8+32];	/* integer and fp regs */
regs               31 arch/alpha/kernel/irq_alpha.c dummy_perf(unsigned long vector, struct pt_regs *regs)
regs               46 arch/alpha/kernel/irq_alpha.c 	  unsigned long la_ptr, struct pt_regs *regs)
regs               60 arch/alpha/kernel/irq_alpha.c 		handle_ipi(regs);
regs               69 arch/alpha/kernel/irq_alpha.c 		old_regs = set_irq_regs(regs);
regs               74 arch/alpha/kernel/irq_alpha.c 		old_regs = set_irq_regs(regs);
regs               79 arch/alpha/kernel/irq_alpha.c 		old_regs = set_irq_regs(regs);
regs               84 arch/alpha/kernel/irq_alpha.c 		perf_irq(la_ptr, regs);
regs               90 arch/alpha/kernel/irq_alpha.c 	printk(KERN_CRIT "PC = %016lx PS=%04lx\n", regs->pc, regs->ps);
regs              805 arch/alpha/kernel/perf_event.c 					struct pt_regs *regs)
regs              860 arch/alpha/kernel/perf_event.c 		if (perf_event_overflow(event, &data, regs)) {
regs              199 arch/alpha/kernel/process.c show_regs(struct pt_regs *regs)
regs              202 arch/alpha/kernel/process.c 	dik_show_regs(regs, NULL);
regs              209 arch/alpha/kernel/process.c start_thread(struct pt_regs * regs, unsigned long pc, unsigned long sp)
regs              211 arch/alpha/kernel/process.c 	regs->pc = pc;
regs              212 arch/alpha/kernel/process.c 	regs->ps = 8;
regs              247 arch/alpha/kernel/process.c 	struct pt_regs *regs = current_pt_regs();
regs              271 arch/alpha/kernel/process.c 		childti->pcb.unique = regs->r20;
regs              273 arch/alpha/kernel/process.c 		regs->r20 = 0;	/* OSF/1 has some strange fork() semantics.  */
regs              275 arch/alpha/kernel/process.c 	*childregs = *regs;
regs              279 arch/alpha/kernel/process.c 	stack = ((struct switch_stack *) regs) - 1;
regs              182 arch/alpha/kernel/proto.h extern void dik_show_regs(struct pt_regs *regs, unsigned long *r9_15);
regs              325 arch/alpha/kernel/ptrace.c 	struct pt_regs *regs = current_pt_regs();
regs              329 arch/alpha/kernel/ptrace.c 	audit_syscall_entry(regs->r0, regs->r16, regs->r17, regs->r18, regs->r19);
regs              149 arch/alpha/kernel/signal.c restore_sigcontext(struct sigcontext __user *sc, struct pt_regs *regs)
regs              152 arch/alpha/kernel/signal.c 	struct switch_stack *sw = (struct switch_stack *)regs - 1;
regs              153 arch/alpha/kernel/signal.c 	long i, err = __get_user(regs->pc, &sc->sc_pc);
regs              159 arch/alpha/kernel/signal.c 	err |= __get_user(regs->r0, sc->sc_regs+0);
regs              160 arch/alpha/kernel/signal.c 	err |= __get_user(regs->r1, sc->sc_regs+1);
regs              161 arch/alpha/kernel/signal.c 	err |= __get_user(regs->r2, sc->sc_regs+2);
regs              162 arch/alpha/kernel/signal.c 	err |= __get_user(regs->r3, sc->sc_regs+3);
regs              163 arch/alpha/kernel/signal.c 	err |= __get_user(regs->r4, sc->sc_regs+4);
regs              164 arch/alpha/kernel/signal.c 	err |= __get_user(regs->r5, sc->sc_regs+5);
regs              165 arch/alpha/kernel/signal.c 	err |= __get_user(regs->r6, sc->sc_regs+6);
regs              166 arch/alpha/kernel/signal.c 	err |= __get_user(regs->r7, sc->sc_regs+7);
regs              167 arch/alpha/kernel/signal.c 	err |= __get_user(regs->r8, sc->sc_regs+8);
regs              175 arch/alpha/kernel/signal.c 	err |= __get_user(regs->r16, sc->sc_regs+16);
regs              176 arch/alpha/kernel/signal.c 	err |= __get_user(regs->r17, sc->sc_regs+17);
regs              177 arch/alpha/kernel/signal.c 	err |= __get_user(regs->r18, sc->sc_regs+18);
regs              178 arch/alpha/kernel/signal.c 	err |= __get_user(regs->r19, sc->sc_regs+19);
regs              179 arch/alpha/kernel/signal.c 	err |= __get_user(regs->r20, sc->sc_regs+20);
regs              180 arch/alpha/kernel/signal.c 	err |= __get_user(regs->r21, sc->sc_regs+21);
regs              181 arch/alpha/kernel/signal.c 	err |= __get_user(regs->r22, sc->sc_regs+22);
regs              182 arch/alpha/kernel/signal.c 	err |= __get_user(regs->r23, sc->sc_regs+23);
regs              183 arch/alpha/kernel/signal.c 	err |= __get_user(regs->r24, sc->sc_regs+24);
regs              184 arch/alpha/kernel/signal.c 	err |= __get_user(regs->r25, sc->sc_regs+25);
regs              185 arch/alpha/kernel/signal.c 	err |= __get_user(regs->r26, sc->sc_regs+26);
regs              186 arch/alpha/kernel/signal.c 	err |= __get_user(regs->r27, sc->sc_regs+27);
regs              187 arch/alpha/kernel/signal.c 	err |= __get_user(regs->r28, sc->sc_regs+28);
regs              188 arch/alpha/kernel/signal.c 	err |= __get_user(regs->gp, sc->sc_regs+29);
regs              206 arch/alpha/kernel/signal.c 	struct pt_regs *regs = current_pt_regs();
regs              217 arch/alpha/kernel/signal.c 	if (restore_sigcontext(sc, regs))
regs              222 arch/alpha/kernel/signal.c 		send_sig_fault(SIGTRAP, TRAP_BRKPT, (void __user *) regs->pc, 0,
regs              234 arch/alpha/kernel/signal.c 	struct pt_regs *regs = current_pt_regs();
regs              245 arch/alpha/kernel/signal.c 	if (restore_sigcontext(&frame->uc.uc_mcontext, regs))
regs              250 arch/alpha/kernel/signal.c 		send_sig_fault(SIGTRAP, TRAP_BRKPT, (void __user *) regs->pc, 0,
regs              271 arch/alpha/kernel/signal.c setup_sigcontext(struct sigcontext __user *sc, struct pt_regs *regs, 
regs              274 arch/alpha/kernel/signal.c 	struct switch_stack *sw = (struct switch_stack *)regs - 1;
regs              279 arch/alpha/kernel/signal.c 	err |= __put_user(regs->pc, &sc->sc_pc);
regs              282 arch/alpha/kernel/signal.c 	err |= __put_user(regs->r0 , sc->sc_regs+0);
regs              283 arch/alpha/kernel/signal.c 	err |= __put_user(regs->r1 , sc->sc_regs+1);
regs              284 arch/alpha/kernel/signal.c 	err |= __put_user(regs->r2 , sc->sc_regs+2);
regs              285 arch/alpha/kernel/signal.c 	err |= __put_user(regs->r3 , sc->sc_regs+3);
regs              286 arch/alpha/kernel/signal.c 	err |= __put_user(regs->r4 , sc->sc_regs+4);
regs              287 arch/alpha/kernel/signal.c 	err |= __put_user(regs->r5 , sc->sc_regs+5);
regs              288 arch/alpha/kernel/signal.c 	err |= __put_user(regs->r6 , sc->sc_regs+6);
regs              289 arch/alpha/kernel/signal.c 	err |= __put_user(regs->r7 , sc->sc_regs+7);
regs              290 arch/alpha/kernel/signal.c 	err |= __put_user(regs->r8 , sc->sc_regs+8);
regs              298 arch/alpha/kernel/signal.c 	err |= __put_user(regs->r16, sc->sc_regs+16);
regs              299 arch/alpha/kernel/signal.c 	err |= __put_user(regs->r17, sc->sc_regs+17);
regs              300 arch/alpha/kernel/signal.c 	err |= __put_user(regs->r18, sc->sc_regs+18);
regs              301 arch/alpha/kernel/signal.c 	err |= __put_user(regs->r19, sc->sc_regs+19);
regs              302 arch/alpha/kernel/signal.c 	err |= __put_user(regs->r20, sc->sc_regs+20);
regs              303 arch/alpha/kernel/signal.c 	err |= __put_user(regs->r21, sc->sc_regs+21);
regs              304 arch/alpha/kernel/signal.c 	err |= __put_user(regs->r22, sc->sc_regs+22);
regs              305 arch/alpha/kernel/signal.c 	err |= __put_user(regs->r23, sc->sc_regs+23);
regs              306 arch/alpha/kernel/signal.c 	err |= __put_user(regs->r24, sc->sc_regs+24);
regs              307 arch/alpha/kernel/signal.c 	err |= __put_user(regs->r25, sc->sc_regs+25);
regs              308 arch/alpha/kernel/signal.c 	err |= __put_user(regs->r26, sc->sc_regs+26);
regs              309 arch/alpha/kernel/signal.c 	err |= __put_user(regs->r27, sc->sc_regs+27);
regs              310 arch/alpha/kernel/signal.c 	err |= __put_user(regs->r28, sc->sc_regs+28);
regs              311 arch/alpha/kernel/signal.c 	err |= __put_user(regs->gp , sc->sc_regs+29);
regs              320 arch/alpha/kernel/signal.c 	err |= __put_user(regs->trap_a0, &sc->sc_traparg_a0);
regs              321 arch/alpha/kernel/signal.c 	err |= __put_user(regs->trap_a1, &sc->sc_traparg_a1);
regs              322 arch/alpha/kernel/signal.c 	err |= __put_user(regs->trap_a2, &sc->sc_traparg_a2);
regs              328 arch/alpha/kernel/signal.c setup_frame(struct ksignal *ksig, sigset_t *set, struct pt_regs *regs)
regs              338 arch/alpha/kernel/signal.c 	err |= setup_sigcontext(&frame->sc, regs, set->sig[0], oldsp);
regs              358 arch/alpha/kernel/signal.c 	regs->r26 = r26;
regs              359 arch/alpha/kernel/signal.c 	regs->r27 = regs->pc = (unsigned long) ksig->ka.sa.sa_handler;
regs              360 arch/alpha/kernel/signal.c 	regs->r16 = ksig->sig;			/* a0: signal number */
regs              361 arch/alpha/kernel/signal.c 	regs->r17 = 0;				/* a1: exception code */
regs              362 arch/alpha/kernel/signal.c 	regs->r18 = (unsigned long) &frame->sc;	/* a2: sigcontext pointer */
regs              367 arch/alpha/kernel/signal.c 		current->comm, current->pid, frame, regs->pc, regs->r26);
regs              373 arch/alpha/kernel/signal.c setup_rt_frame(struct ksignal *ksig, sigset_t *set, struct pt_regs *regs)
regs              390 arch/alpha/kernel/signal.c 	err |= setup_sigcontext(&frame->uc.uc_mcontext, regs, 
regs              412 arch/alpha/kernel/signal.c 	regs->r26 = r26;
regs              413 arch/alpha/kernel/signal.c 	regs->r27 = regs->pc = (unsigned long) ksig->ka.sa.sa_handler;
regs              414 arch/alpha/kernel/signal.c 	regs->r16 = ksig->sig;			  /* a0: signal number */
regs              415 arch/alpha/kernel/signal.c 	regs->r17 = (unsigned long) &frame->info; /* a1: siginfo pointer */
regs              416 arch/alpha/kernel/signal.c 	regs->r18 = (unsigned long) &frame->uc;	  /* a2: ucontext pointer */
regs              421 arch/alpha/kernel/signal.c 		current->comm, current->pid, frame, regs->pc, regs->r26);
regs              432 arch/alpha/kernel/signal.c handle_signal(struct ksignal *ksig, struct pt_regs *regs)
regs              438 arch/alpha/kernel/signal.c 		ret = setup_rt_frame(ksig, oldset, regs);
regs              440 arch/alpha/kernel/signal.c 		ret = setup_frame(ksig, oldset, regs);
regs              447 arch/alpha/kernel/signal.c 		struct pt_regs *regs, struct k_sigaction *ka)
regs              449 arch/alpha/kernel/signal.c 	switch (regs->r0) {
regs              453 arch/alpha/kernel/signal.c 			regs->r0 = EINTR;
regs              458 arch/alpha/kernel/signal.c 		regs->r0 = r0;	/* reset v0 and a3 and replay syscall */
regs              459 arch/alpha/kernel/signal.c 		regs->r19 = r19;
regs              460 arch/alpha/kernel/signal.c 		regs->pc -= 4;
regs              463 arch/alpha/kernel/signal.c 		regs->r0 = EINTR;
regs              483 arch/alpha/kernel/signal.c do_signal(struct pt_regs *regs, unsigned long r0, unsigned long r19)
regs              494 arch/alpha/kernel/signal.c 			syscall_restart(r0, r19, regs, &ksig.ka);
regs              495 arch/alpha/kernel/signal.c 		handle_signal(&ksig, regs);
regs              499 arch/alpha/kernel/signal.c 			switch (regs->r0) {
regs              504 arch/alpha/kernel/signal.c 				regs->r0 = r0;
regs              505 arch/alpha/kernel/signal.c 				regs->r19 = r19;
regs              506 arch/alpha/kernel/signal.c 				regs->pc -= 4;
regs              510 arch/alpha/kernel/signal.c 				regs->r0 = __NR_restart_syscall;
regs              511 arch/alpha/kernel/signal.c 				regs->pc -= 4;
regs              522 arch/alpha/kernel/signal.c do_work_pending(struct pt_regs *regs, unsigned long thread_flags,
regs              531 arch/alpha/kernel/signal.c 				do_signal(regs, r0, r19);
regs              535 arch/alpha/kernel/signal.c 				tracehook_notify_resume(regs);
regs              524 arch/alpha/kernel/smp.c handle_ipi(struct pt_regs *regs)
regs              532 arch/alpha/kernel/smp.c 	      this_cpu, *pending_ipis, regs->pc));
regs              122 arch/alpha/kernel/sys_nautilus.c 		       struct pt_regs *regs)
regs              124 arch/alpha/kernel/sys_nautilus.c 	printk("PC %lx RA %lx\n", regs->pc, regs->r26);
regs               66 arch/alpha/kernel/traps.c dik_show_regs(struct pt_regs *regs, unsigned long *r9_15)
regs               69 arch/alpha/kernel/traps.c 	       regs->pc, regs->r26, regs->ps, print_tainted());
regs               70 arch/alpha/kernel/traps.c 	printk("pc is at %pSR\n", (void *)regs->pc);
regs               71 arch/alpha/kernel/traps.c 	printk("ra is at %pSR\n", (void *)regs->r26);
regs               73 arch/alpha/kernel/traps.c 	       regs->r0, regs->r1, regs->r2);
regs               75 arch/alpha/kernel/traps.c  	       regs->r3, regs->r4, regs->r5);
regs               77 arch/alpha/kernel/traps.c 	       regs->r6, regs->r7, regs->r8);
regs               88 arch/alpha/kernel/traps.c 	       regs->r16, regs->r17, regs->r18);
regs               90 arch/alpha/kernel/traps.c  	       regs->r19, regs->r20, regs->r21);
regs               92 arch/alpha/kernel/traps.c 	       regs->r22, regs->r23, regs->r24);
regs               94 arch/alpha/kernel/traps.c 	       regs->r25, regs->r27, regs->r28);
regs               95 arch/alpha/kernel/traps.c 	printk("gp = %016lx  sp = %p\n", regs->gp, regs+1);
regs              177 arch/alpha/kernel/traps.c die_if_kernel(char * str, struct pt_regs *regs, long err, unsigned long *r9_15)
regs              179 arch/alpha/kernel/traps.c 	if (regs->ps & 8)
regs              185 arch/alpha/kernel/traps.c 	dik_show_regs(regs, r9_15);
regs              187 arch/alpha/kernel/traps.c 	dik_show_trace((unsigned long *)(regs+1));
regs              188 arch/alpha/kernel/traps.c 	dik_show_code((unsigned int *)regs->pc);
regs              200 arch/alpha/kernel/traps.c long (*alpha_fp_emul_imprecise)(struct pt_regs *regs, unsigned long writemask)
regs              207 arch/alpha/kernel/traps.c long alpha_fp_emul_imprecise(struct pt_regs *regs, unsigned long writemask);
regs              213 arch/alpha/kernel/traps.c 	    struct pt_regs *regs)
regs              222 arch/alpha/kernel/traps.c 			si_code = alpha_fp_emul(regs->pc - 4);
regs              224 arch/alpha/kernel/traps.c 			si_code = alpha_fp_emul_imprecise(regs, write_mask);
regs              228 arch/alpha/kernel/traps.c 	die_if_kernel("Arithmetic fault", regs, 0, NULL);
regs              230 arch/alpha/kernel/traps.c 	send_sig_fault(SIGFPE, si_code, (void __user *) regs->pc, 0, current);
regs              234 arch/alpha/kernel/traps.c do_entIF(unsigned long type, struct pt_regs *regs)
regs              238 arch/alpha/kernel/traps.c 	if ((regs->ps & ~IPL_MAX) == 0) {
regs              241 arch/alpha/kernel/traps.c 			  = (const unsigned int *) regs->pc;
regs              252 arch/alpha/kernel/traps.c 			  = (unsigned int *) regs->pc - 1;
regs              256 arch/alpha/kernel/traps.c 				regs->r0 = 0;
regs              262 arch/alpha/kernel/traps.c 			      regs, type, NULL);
regs              268 arch/alpha/kernel/traps.c 			regs->pc -= 4;	/* make pc point to former bpt */
regs              271 arch/alpha/kernel/traps.c 		send_sig_fault(SIGTRAP, TRAP_BRKPT, (void __user *)regs->pc, 0,
regs              276 arch/alpha/kernel/traps.c 		send_sig_fault(SIGTRAP, TRAP_UNK, (void __user *) regs->pc, 0,
regs              281 arch/alpha/kernel/traps.c 		switch ((long) regs->r16) {
regs              338 arch/alpha/kernel/traps.c 		send_sig_fault(signo, code, (void __user *) regs->pc, regs->r16,
regs              354 arch/alpha/kernel/traps.c 			regs->pc += opDEC_fix; 
regs              359 arch/alpha/kernel/traps.c 			si_code = alpha_fp_emul(regs->pc - 4);
regs              364 arch/alpha/kernel/traps.c 					       (void __user *) regs->pc, 0,
regs              390 arch/alpha/kernel/traps.c 	send_sig_fault(SIGILL, ILL_ILLOPC, (void __user *)regs->pc, 0, current);
regs              401 arch/alpha/kernel/traps.c do_entDbg(struct pt_regs *regs)
regs              403 arch/alpha/kernel/traps.c 	die_if_kernel("Instruction fault", regs, 0, NULL);
regs              405 arch/alpha/kernel/traps.c 	force_sig_fault(SIGILL, ILL_ILLOPC, (void __user *)regs->pc, 0);
regs              423 arch/alpha/kernel/traps.c 	unsigned long regs[32];
regs              438 arch/alpha/kernel/traps.c 	  struct allregs *regs)
regs              441 arch/alpha/kernel/traps.c 	unsigned long pc = regs->pc - 4;
regs              442 arch/alpha/kernel/traps.c 	unsigned long *_regs = regs->regs;
regs              592 arch/alpha/kernel/traps.c 		regs->pc = newpc;
regs              605 arch/alpha/kernel/traps.c 	       pc, una_reg(26), regs->ps);
regs              625 arch/alpha/kernel/traps.c 	printk("gp = %016lx  sp = %p\n", regs->gp, regs+1);
regs              628 arch/alpha/kernel/traps.c 	dik_show_trace((unsigned long *)(regs+1));
regs              723 arch/alpha/kernel/traps.c 	      unsigned long reg, struct pt_regs *regs)
regs              739 arch/alpha/kernel/traps.c 			       regs->pc - 4, va, opcode, reg);
regs              756 arch/alpha/kernel/traps.c 	unaligned[1].pc = regs->pc - 4;
regs              762 arch/alpha/kernel/traps.c 			  ((char *)regs + unauser_reg_offsets[reg]);
regs              951 arch/alpha/kernel/traps.c 	regs->pc -= 4;  /* make pc point to faulting insn */
regs              971 arch/alpha/kernel/traps.c 	regs->pc -= 4;
regs              340 arch/alpha/math-emu/math.c alpha_fp_emul_imprecise (struct pt_regs *regs, unsigned long write_mask)
regs              342 arch/alpha/math-emu/math.c 	unsigned long trigger_pc = regs->pc - 4;
regs              394 arch/alpha/math-emu/math.c 			regs->pc = trigger_pc + 4;
regs               80 arch/alpha/mm/fault.c 	(((unsigned long *)regs)[(r) <= 8 ? (r) : (r) <= 15 ? (r)-16 :	\
regs               85 arch/alpha/mm/fault.c 	      long cause, struct pt_regs *regs)
regs               99 arch/alpha/mm/fault.c 		__get_user(insn, (unsigned int __user *)regs->pc);
regs              103 arch/alpha/mm/fault.c 			regs->pc += 4;
regs              117 arch/alpha/mm/fault.c 	if (user_mode(regs))
regs              192 arch/alpha/mm/fault.c 	if (user_mode(regs))
regs              197 arch/alpha/mm/fault.c 	if ((fixup = search_exception_tables(regs->pc)) != 0) {
regs              199 arch/alpha/mm/fault.c 		newpc = fixup_exception(dpf_reg, fixup, regs->pc);
regs              200 arch/alpha/mm/fault.c 		regs->pc = newpc;
regs              208 arch/alpha/mm/fault.c 	die_if_kernel("Oops", regs, cause, (unsigned long*)regs - 16);
regs              215 arch/alpha/mm/fault.c 	if (!user_mode(regs))
regs              225 arch/alpha/mm/fault.c 	if (!user_mode(regs))
regs              235 arch/alpha/mm/fault.c 	if (user_mode(regs))
regs               37 arch/alpha/oprofile/common.c op_handle_interrupt(unsigned long which, struct pt_regs *regs)
regs               39 arch/alpha/oprofile/common.c 	model->handle_interrupt(which, regs, ctr);
regs               93 arch/alpha/oprofile/op_model_ev4.c ev4_handle_interrupt(unsigned long which, struct pt_regs *regs,
regs              102 arch/alpha/oprofile/op_model_ev4.c 	oprofile_add_sample(regs, which);
regs              183 arch/alpha/oprofile/op_model_ev5.c ev5_handle_interrupt(unsigned long which, struct pt_regs *regs,
regs              187 arch/alpha/oprofile/op_model_ev5.c 	oprofile_add_sample(regs, which);
regs               85 arch/alpha/oprofile/op_model_ev6.c ev6_handle_interrupt(unsigned long which, struct pt_regs *regs,
regs               89 arch/alpha/oprofile/op_model_ev6.c 	oprofile_add_sample(regs, which);
regs              143 arch/alpha/oprofile/op_model_ev67.c ev67_handle_interrupt(unsigned long which, struct pt_regs *regs,
regs              147 arch/alpha/oprofile/op_model_ev67.c 	int kern = !user_mode(regs);
regs              197 arch/alpha/oprofile/op_model_ev67.c 			oprofile_add_pc(regs->pc, kern, which);
regs              199 arch/alpha/oprofile/op_model_ev67.c 				op_add_pm(regs->pc, kern, which,
regs               15 arch/arc/include/asm/bug.h void show_regs(struct pt_regs *regs);
regs               16 arch/arc/include/asm/bug.h void show_stacktrace(struct task_struct *tsk, struct pt_regs *regs);
regs               17 arch/arc/include/asm/bug.h void show_kernel_fault_diag(const char *str, struct pt_regs *regs,
regs               19 arch/arc/include/asm/bug.h void die(const char *str, struct pt_regs *regs, unsigned long address);
regs              106 arch/arc/include/asm/disasm.h 	int userspace, struct pt_regs *regs, struct callee_regs *cregs);
regs              107 arch/arc/include/asm/disasm.h int disasm_next_pc(unsigned long pc, struct pt_regs *regs, struct callee_regs
regs              109 arch/arc/include/asm/disasm.h long get_reg(int reg, struct pt_regs *regs, struct callee_regs *cregs);
regs              110 arch/arc/include/asm/disasm.h void set_reg(int reg, long val, struct pt_regs *regs,
regs               58 arch/arc/include/asm/entry-arcv2.h 	; (B) Manually saved some regs: r12,r25,r30, sp,fp,gp, ACCL pair
regs               31 arch/arc/include/asm/kgdb.h extern void kgdb_trap(struct pt_regs *regs);
regs               57 arch/arc/include/asm/kgdb.h #define kgdb_trap(regs)
regs               48 arch/arc/include/asm/kprobes.h int kprobe_fault_handler(struct pt_regs *regs, unsigned long cause);
regs               50 arch/arc/include/asm/kprobes.h void trap_is_kprobe(unsigned long address, struct pt_regs *regs);
regs               52 arch/arc/include/asm/kprobes.h #define trap_is_kprobe(address, regs)
regs               93 arch/arc/include/asm/processor.h extern void start_thread(struct pt_regs * regs, unsigned long pc,
regs              115 arch/arc/include/asm/ptrace.h #define instruction_pointer(regs)	((regs)->ret)
regs              116 arch/arc/include/asm/ptrace.h #define profile_pc(regs)		instruction_pointer(regs)
regs              119 arch/arc/include/asm/ptrace.h #define user_mode(regs) (regs->status32 & STATUS_U_MASK)
regs              121 arch/arc/include/asm/ptrace.h #define user_stack_pointer(regs)\
regs              123 arch/arc/include/asm/ptrace.h 	if (user_mode(regs))	\
regs              124 arch/arc/include/asm/ptrace.h 		sp = (regs)->sp;\
regs              131 arch/arc/include/asm/ptrace.h #define delay_mode(regs) ((regs->status32 & STATUS_DE_MASK) == STATUS_DE_MASK)
regs              133 arch/arc/include/asm/ptrace.h #define in_syscall(regs)    ((regs->ecr_vec == ECR_V_TRAP) && !regs->ecr_param)
regs              134 arch/arc/include/asm/ptrace.h #define in_brkpt_trap(regs) ((regs->ecr_vec == ECR_V_TRAP) && regs->ecr_param)
regs              149 arch/arc/include/asm/ptrace.h static inline long regs_return_value(struct pt_regs *regs)
regs              151 arch/arc/include/asm/ptrace.h 	return (long)regs->r0;
regs               30 arch/arc/include/asm/stacktrace.h 	struct task_struct *tsk, struct pt_regs *regs,
regs               16 arch/arc/include/asm/syscall.h syscall_get_nr(struct task_struct *task, struct pt_regs *regs)
regs               18 arch/arc/include/asm/syscall.h 	if (user_mode(regs) && in_syscall(regs))
regs               19 arch/arc/include/asm/syscall.h 		return regs->r8;
regs               25 arch/arc/include/asm/syscall.h syscall_rollback(struct task_struct *task, struct pt_regs *regs)
regs               27 arch/arc/include/asm/syscall.h 	regs->r0 = regs->orig_r0;
regs               31 arch/arc/include/asm/syscall.h syscall_get_error(struct task_struct *task, struct pt_regs *regs)
regs               34 arch/arc/include/asm/syscall.h 	return IS_ERR_VALUE(regs->r0) ? regs->r0 : 0;
regs               38 arch/arc/include/asm/syscall.h syscall_get_return_value(struct task_struct *task, struct pt_regs *regs)
regs               40 arch/arc/include/asm/syscall.h 	return regs->r0;
regs               44 arch/arc/include/asm/syscall.h syscall_set_return_value(struct task_struct *task, struct pt_regs *regs,
regs               47 arch/arc/include/asm/syscall.h 	regs->r0 = (long) error ?: val;
regs               55 arch/arc/include/asm/syscall.h syscall_get_arguments(struct task_struct *task, struct pt_regs *regs,
regs               58 arch/arc/include/asm/syscall.h 	unsigned long *inside_ptregs = &(regs->r0);
regs               15 arch/arc/include/asm/unaligned.h int misaligned_fixup(unsigned long address, struct pt_regs *regs,
regs               19 arch/arc/include/asm/unaligned.h misaligned_fixup(unsigned long address, struct pt_regs *regs,
regs               50 arch/arc/include/asm/unwind.h 	struct arc700_regs regs;
regs               55 arch/arc/include/asm/unwind.h #define UNW_PC(frame)		((frame)->regs.r63)
regs               56 arch/arc/include/asm/unwind.h #define UNW_SP(frame)		((frame)->regs.r28)
regs               57 arch/arc/include/asm/unwind.h #define UNW_BLINK(frame)	((frame)->regs.r31)
regs               61 arch/arc/include/asm/unwind.h #define UNW_FP(frame)		((frame)->regs.r27)
regs              136 arch/arc/include/asm/unwind.h 					    struct pt_regs *regs)
regs               20 arch/arc/include/uapi/asm/sigcontext.h 	struct user_regs_struct regs;
regs               22 arch/arc/kernel/disasm.c 	int userspace, struct pt_regs *regs, struct callee_regs *cregs)
regs              115 arch/arc/kernel/disasm.c 			state->src1 = get_reg(state->wb_reg, regs, cregs);
regs              134 arch/arc/kernel/disasm.c 			state->src1 = get_reg(state->src1, regs, cregs);
regs              142 arch/arc/kernel/disasm.c 			state->src2 = get_reg(state->wb_reg, regs, cregs);
regs              187 arch/arc/kernel/disasm.c 				state->target = get_reg(fieldC, regs, cregs);
regs              221 arch/arc/kernel/disasm.c 				state->src1 = get_reg(state->wb_reg, regs,
regs              229 arch/arc/kernel/disasm.c 				state->src2 = get_reg(state->src2, regs,
regs              285 arch/arc/kernel/disasm.c 		state->src1 = get_reg(FIELD_S_B(state->words[0]), regs, cregs);
regs              286 arch/arc/kernel/disasm.c 		state->src2 = get_reg(FIELD_S_C(state->words[0]), regs, cregs);
regs              305 arch/arc/kernel/disasm.c 						regs, cregs);
regs              318 arch/arc/kernel/disasm.c 				state->target = get_reg(31, regs, cregs);
regs              328 arch/arc/kernel/disasm.c 		state->src1 = get_reg(FIELD_S_B(state->words[0]), regs, cregs);
regs              346 arch/arc/kernel/disasm.c 		state->src1 = get_reg(FIELD_S_B(state->words[0]), regs, cregs);
regs              353 arch/arc/kernel/disasm.c 		state->src1 = get_reg(FIELD_S_C(state->words[0]), regs, cregs);
regs              354 arch/arc/kernel/disasm.c 		state->src2 = get_reg(FIELD_S_B(state->words[0]), regs, cregs);
regs              361 arch/arc/kernel/disasm.c 		state->src1 = get_reg(FIELD_S_C(state->words[0]), regs, cregs);
regs              362 arch/arc/kernel/disasm.c 		state->src2 = get_reg(FIELD_S_B(state->words[0]), regs, cregs);
regs              375 arch/arc/kernel/disasm.c 			state->src1 = get_reg(28, regs, cregs);
regs              379 arch/arc/kernel/disasm.c 			state->src1 = get_reg(FIELD_S_B(state->words[0]), regs,
regs              381 arch/arc/kernel/disasm.c 			state->src2 = get_reg(28, regs, cregs);
regs              389 arch/arc/kernel/disasm.c 		state->src1 = get_reg(26, regs, cregs);
regs              396 arch/arc/kernel/disasm.c 		state->src1 = regs->ret & ~3;
regs              432 arch/arc/kernel/disasm.c long __kprobes get_reg(int reg, struct pt_regs *regs,
regs              438 arch/arc/kernel/disasm.c 		p = &regs->r0;
regs              448 arch/arc/kernel/disasm.c 		return regs->r26;
regs              450 arch/arc/kernel/disasm.c 		return regs->fp;
regs              452 arch/arc/kernel/disasm.c 		return regs->sp;
regs              454 arch/arc/kernel/disasm.c 		return regs->blink;
regs              459 arch/arc/kernel/disasm.c void __kprobes set_reg(int reg, long val, struct pt_regs *regs,
regs              466 arch/arc/kernel/disasm.c 		p = &regs->r0;
regs              476 arch/arc/kernel/disasm.c 		regs->r26 = val;
regs              479 arch/arc/kernel/disasm.c 		regs->fp = val;
regs              482 arch/arc/kernel/disasm.c 		regs->sp = val;
regs              485 arch/arc/kernel/disasm.c 		regs->blink = val;
regs              500 arch/arc/kernel/disasm.c int __kprobes disasm_next_pc(unsigned long pc, struct pt_regs *regs,
regs              507 arch/arc/kernel/disasm.c 	disasm_instr(pc, &instr, 0, regs, cregs);
regs              521 arch/arc/kernel/disasm.c 		disasm_instr(*next_pc, &instr_d, 0, regs, cregs);
regs              527 arch/arc/kernel/disasm.c 	if (!(regs->status32 & STATUS32_L) && (*next_pc == regs->lp_end)
regs              528 arch/arc/kernel/disasm.c 		&& (regs->lp_count > 1)) {
regs              529 arch/arc/kernel/disasm.c 		*next_pc = regs->lp_start;
regs               40 arch/arc/kernel/irq.c void arch_do_IRQ(unsigned int hwirq, struct pt_regs *regs)
regs               42 arch/arc/kernel/irq.c 	handle_domain_irq(NULL, hwirq, regs);
regs               84 arch/arc/kernel/kgdb.c static void undo_single_step(struct pt_regs *regs)
regs              110 arch/arc/kernel/kgdb.c static void do_single_step(struct pt_regs *regs)
regs              113 arch/arc/kernel/kgdb.c 		regs->ret, regs, (struct callee_regs *)
regs              130 arch/arc/kernel/kgdb.c 			       struct pt_regs *regs)
regs              135 arch/arc/kernel/kgdb.c 	undo_single_step(regs);
regs              142 arch/arc/kernel/kgdb.c 			regs->ret = addr;
regs              149 arch/arc/kernel/kgdb.c 			do_single_step(regs);
regs              165 arch/arc/kernel/kgdb.c void kgdb_trap(struct pt_regs *regs)
regs              177 arch/arc/kernel/kgdb.c 	if (regs->ecr_param == 3)
regs              178 arch/arc/kernel/kgdb.c 		instruction_pointer(regs) -= BREAK_INSTR_SIZE;
regs              180 arch/arc/kernel/kgdb.c 	kgdb_handle_exception(1, SIGTRAP, 0, regs);
regs              187 arch/arc/kernel/kgdb.c void kgdb_arch_set_pc(struct pt_regs *regs, unsigned long ip)
regs              189 arch/arc/kernel/kgdb.c 	instruction_pointer(regs) = ip;
regs               97 arch/arc/kernel/kprobes.c 				       struct pt_regs *regs)
regs              125 arch/arc/kernel/kprobes.c static void __kprobes setup_singlestep(struct kprobe *p, struct pt_regs *regs)
regs              146 arch/arc/kernel/kprobes.c 	bta = regs->bta;
regs              148 arch/arc/kernel/kprobes.c 	if (regs->status32 & 0x40) {
regs              155 arch/arc/kernel/kprobes.c 				regs->blink += 2;
regs              163 arch/arc/kernel/kprobes.c 				regs->bta += 2;
regs              170 arch/arc/kernel/kprobes.c 		    disasm_next_pc((unsigned long)p->addr, regs,
regs              193 arch/arc/kernel/kprobes.c int __kprobes arc_kprobe_handler(unsigned long addr, struct pt_regs *regs)
regs              215 arch/arc/kernel/kprobes.c 			setup_singlestep(p, regs);
regs              228 arch/arc/kernel/kprobes.c 		if (!p->pre_handler || !p->pre_handler(p, regs)) {
regs              229 arch/arc/kernel/kprobes.c 			setup_singlestep(p, regs);
regs              245 arch/arc/kernel/kprobes.c 					 struct pt_regs *regs)
regs              253 arch/arc/kernel/kprobes.c 	resume_execution(cur, addr, regs);
regs              263 arch/arc/kernel/kprobes.c 	regs->ret = addr;
regs              267 arch/arc/kernel/kprobes.c 		cur->post_handler(cur, regs, 0);
regs              289 arch/arc/kernel/kprobes.c int __kprobes kprobe_fault_handler(struct pt_regs *regs, unsigned long trapnr)
regs              303 arch/arc/kernel/kprobes.c 		resume_execution(cur, (unsigned long)cur->addr, regs);
regs              333 arch/arc/kernel/kprobes.c 		if (cur->fault_handler && cur->fault_handler(cur, regs, trapnr))
regs              340 arch/arc/kernel/kprobes.c 		if (fixup_exception(regs))
regs              364 arch/arc/kernel/kprobes.c 		if (arc_kprobe_handler(addr, args->regs))
regs              369 arch/arc/kernel/kprobes.c 		if (arc_post_kprobe_handler(addr, args->regs))
regs              387 arch/arc/kernel/kprobes.c 				      struct pt_regs *regs)
regs              390 arch/arc/kernel/kprobes.c 	ri->ret_addr = (kprobe_opcode_t *) regs->blink;
regs              393 arch/arc/kernel/kprobes.c 	regs->blink = (unsigned long)&kretprobe_trampoline;
regs              397 arch/arc/kernel/kprobes.c 					      struct pt_regs *regs)
regs              427 arch/arc/kernel/kprobes.c 			ri->rp->handler(ri, regs);
regs              443 arch/arc/kernel/kprobes.c 	regs->ret = orig_ret_address;
regs              477 arch/arc/kernel/kprobes.c void trap_is_kprobe(unsigned long address, struct pt_regs *regs)
regs              479 arch/arc/kernel/kprobes.c 	notify_die(DIE_TRAP, "kprobe_trap", regs, address, 0, SIGTRAP);
regs               76 arch/arc/kernel/perf_event.c 			   struct pt_regs *regs)
regs               83 arch/arc/kernel/perf_event.c 	arc_unwind_core(NULL, regs, callchain_trace, &ctrl);
regs               87 arch/arc/kernel/perf_event.c 			 struct pt_regs *regs)
regs               93 arch/arc/kernel/perf_event.c 	perf_callchain_store(entry, instruction_pointer(regs));
regs              404 arch/arc/kernel/perf_event.c 	struct pt_regs *regs;
regs              414 arch/arc/kernel/perf_event.c 	regs = get_irq_regs();
regs              441 arch/arc/kernel/perf_event.c 			if (perf_event_overflow(event, &data, regs))
regs               46 arch/arc/kernel/process.c 	struct pt_regs *regs = current_pt_regs();
regs               59 arch/arc/kernel/process.c 	regs->status32 &= ~STATUS_Z_MASK;
regs               79 arch/arc/kernel/process.c 	regs->status32 |= STATUS_Z_MASK;
regs              182 arch/arc/kernel/process.c 	struct pt_regs *regs = current_pt_regs();
regs              219 arch/arc/kernel/process.c 	*c_regs = *regs;
regs              226 arch/arc/kernel/process.c 	parent_callee = ((struct callee_regs *)regs) - 1;
regs              234 arch/arc/kernel/process.c 		task_thread_info(p)->thr_ptr = regs->r3;
regs              267 arch/arc/kernel/process.c void start_thread(struct pt_regs * regs, unsigned long pc, unsigned long usp)
regs              269 arch/arc/kernel/process.c 	regs->sp = usp;
regs              270 arch/arc/kernel/process.c 	regs->ret = pc;
regs              277 arch/arc/kernel/process.c 	regs->status32 = STATUS_U_MASK | STATUS_L_MASK | ISA_INIT_STATUS_BITS;
regs              280 arch/arc/kernel/process.c 	regs->eflags = 0;
regs              284 arch/arc/kernel/process.c 	regs->lp_start = 0x10;
regs              285 arch/arc/kernel/process.c 	regs->lp_end = 0x80;
regs              295 arch/arc/kernel/process.c int dump_fpu(struct pt_regs *regs, elf_fpregset_t *fpu)
regs              190 arch/arc/kernel/ptrace.c 	const struct pt_regs *regs = task_pt_regs(target);
regs              202 arch/arc/kernel/ptrace.c 	ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf, &regs->r30,
regs              213 arch/arc/kernel/ptrace.c 	const struct pt_regs *regs = task_pt_regs(target);
regs              221 arch/arc/kernel/ptrace.c 	ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, (void *)&regs->r30,
regs              291 arch/arc/kernel/ptrace.c asmlinkage int syscall_trace_entry(struct pt_regs *regs)
regs              293 arch/arc/kernel/ptrace.c 	if (tracehook_report_syscall_entry(regs))
regs              296 arch/arc/kernel/ptrace.c 	return regs->r8;
regs              299 arch/arc/kernel/ptrace.c asmlinkage void syscall_trace_exit(struct pt_regs *regs)
regs              301 arch/arc/kernel/ptrace.c 	tracehook_report_syscall_exit(regs, 0);
regs               65 arch/arc/kernel/signal.c stash_usr_regs(struct rt_sigframe __user *sf, struct pt_regs *regs,
regs               71 arch/arc/kernel/signal.c 	uregs.scratch.bta	= regs->bta;
regs               72 arch/arc/kernel/signal.c 	uregs.scratch.lp_start	= regs->lp_start;
regs               73 arch/arc/kernel/signal.c 	uregs.scratch.lp_end	= regs->lp_end;
regs               74 arch/arc/kernel/signal.c 	uregs.scratch.lp_count	= regs->lp_count;
regs               75 arch/arc/kernel/signal.c 	uregs.scratch.status32	= regs->status32;
regs               76 arch/arc/kernel/signal.c 	uregs.scratch.ret	= regs->ret;
regs               77 arch/arc/kernel/signal.c 	uregs.scratch.blink	= regs->blink;
regs               78 arch/arc/kernel/signal.c 	uregs.scratch.fp	= regs->fp;
regs               79 arch/arc/kernel/signal.c 	uregs.scratch.gp	= regs->r26;
regs               80 arch/arc/kernel/signal.c 	uregs.scratch.r12	= regs->r12;
regs               81 arch/arc/kernel/signal.c 	uregs.scratch.r11	= regs->r11;
regs               82 arch/arc/kernel/signal.c 	uregs.scratch.r10	= regs->r10;
regs               83 arch/arc/kernel/signal.c 	uregs.scratch.r9	= regs->r9;
regs               84 arch/arc/kernel/signal.c 	uregs.scratch.r8	= regs->r8;
regs               85 arch/arc/kernel/signal.c 	uregs.scratch.r7	= regs->r7;
regs               86 arch/arc/kernel/signal.c 	uregs.scratch.r6	= regs->r6;
regs               87 arch/arc/kernel/signal.c 	uregs.scratch.r5	= regs->r5;
regs               88 arch/arc/kernel/signal.c 	uregs.scratch.r4	= regs->r4;
regs               89 arch/arc/kernel/signal.c 	uregs.scratch.r3	= regs->r3;
regs               90 arch/arc/kernel/signal.c 	uregs.scratch.r2	= regs->r2;
regs               91 arch/arc/kernel/signal.c 	uregs.scratch.r1	= regs->r1;
regs               92 arch/arc/kernel/signal.c 	uregs.scratch.r0	= regs->r0;
regs               93 arch/arc/kernel/signal.c 	uregs.scratch.sp	= regs->sp;
regs               95 arch/arc/kernel/signal.c 	err = __copy_to_user(&(sf->uc.uc_mcontext.regs.scratch), &uregs.scratch,
regs               96 arch/arc/kernel/signal.c 			     sizeof(sf->uc.uc_mcontext.regs.scratch));
regs              102 arch/arc/kernel/signal.c static int restore_usr_regs(struct pt_regs *regs, struct rt_sigframe __user *sf)
regs              110 arch/arc/kernel/signal.c 				&(sf->uc.uc_mcontext.regs.scratch),
regs              111 arch/arc/kernel/signal.c 				sizeof(sf->uc.uc_mcontext.regs.scratch));
regs              116 arch/arc/kernel/signal.c 	regs->bta	= uregs.scratch.bta;
regs              117 arch/arc/kernel/signal.c 	regs->lp_start	= uregs.scratch.lp_start;
regs              118 arch/arc/kernel/signal.c 	regs->lp_end	= uregs.scratch.lp_end;
regs              119 arch/arc/kernel/signal.c 	regs->lp_count	= uregs.scratch.lp_count;
regs              120 arch/arc/kernel/signal.c 	regs->status32	= uregs.scratch.status32;
regs              121 arch/arc/kernel/signal.c 	regs->ret	= uregs.scratch.ret;
regs              122 arch/arc/kernel/signal.c 	regs->blink	= uregs.scratch.blink;
regs              123 arch/arc/kernel/signal.c 	regs->fp	= uregs.scratch.fp;
regs              124 arch/arc/kernel/signal.c 	regs->r26	= uregs.scratch.gp;
regs              125 arch/arc/kernel/signal.c 	regs->r12	= uregs.scratch.r12;
regs              126 arch/arc/kernel/signal.c 	regs->r11	= uregs.scratch.r11;
regs              127 arch/arc/kernel/signal.c 	regs->r10	= uregs.scratch.r10;
regs              128 arch/arc/kernel/signal.c 	regs->r9	= uregs.scratch.r9;
regs              129 arch/arc/kernel/signal.c 	regs->r8	= uregs.scratch.r8;
regs              130 arch/arc/kernel/signal.c 	regs->r7	= uregs.scratch.r7;
regs              131 arch/arc/kernel/signal.c 	regs->r6	= uregs.scratch.r6;
regs              132 arch/arc/kernel/signal.c 	regs->r5	= uregs.scratch.r5;
regs              133 arch/arc/kernel/signal.c 	regs->r4	= uregs.scratch.r4;
regs              134 arch/arc/kernel/signal.c 	regs->r3	= uregs.scratch.r3;
regs              135 arch/arc/kernel/signal.c 	regs->r2	= uregs.scratch.r2;
regs              136 arch/arc/kernel/signal.c 	regs->r1	= uregs.scratch.r1;
regs              137 arch/arc/kernel/signal.c 	regs->r0	= uregs.scratch.r0;
regs              138 arch/arc/kernel/signal.c 	regs->sp	= uregs.scratch.sp;
regs              155 arch/arc/kernel/signal.c 	struct pt_regs *regs = current_pt_regs();
regs              164 arch/arc/kernel/signal.c 	if (regs->sp & 3)
regs              167 arch/arc/kernel/signal.c 	sf = (struct rt_sigframe __force __user *)(regs->sp);
regs              179 arch/arc/kernel/signal.c 	if (restore_usr_regs(regs, sf))
regs              183 arch/arc/kernel/signal.c 	syscall_wont_restart(regs);
regs              192 arch/arc/kernel/signal.c 	regs->status32 |= STATUS_U_MASK;
regs              194 arch/arc/kernel/signal.c 	return regs->r0;
regs              205 arch/arc/kernel/signal.c 					struct pt_regs *regs,
regs              208 arch/arc/kernel/signal.c 	unsigned long sp = sigsp(regs->sp, ksig);
regs              226 arch/arc/kernel/signal.c setup_rt_frame(struct ksignal *ksig, sigset_t *set, struct pt_regs *regs)
regs              232 arch/arc/kernel/signal.c 	sf = get_sigframe(ksig, regs, sizeof(struct rt_sigframe));
regs              243 arch/arc/kernel/signal.c 	err |= stash_usr_regs(sf, regs, set);
regs              255 arch/arc/kernel/signal.c 		err |= __save_altstack(&sf->uc.uc_stack, regs->sp);
regs              258 arch/arc/kernel/signal.c 		regs->r1 = (unsigned long)&sf->info;
regs              259 arch/arc/kernel/signal.c 		regs->r2 = (unsigned long)&sf->uc;
regs              273 arch/arc/kernel/signal.c 	regs->r0 = ksig->sig;
regs              276 arch/arc/kernel/signal.c 	regs->ret = (unsigned long)ksig->ka.sa.sa_handler;
regs              285 arch/arc/kernel/signal.c 	regs->blink = (unsigned long)ksig->ka.sa.sa_restorer;
regs              288 arch/arc/kernel/signal.c 	regs->sp = (unsigned long)sf;
regs              294 arch/arc/kernel/signal.c 	regs->status32 &= ~STATUS_DE_MASK;
regs              295 arch/arc/kernel/signal.c 	regs->status32 |= STATUS_L_MASK;
regs              300 arch/arc/kernel/signal.c static void arc_restart_syscall(struct k_sigaction *ka, struct pt_regs *regs)
regs              302 arch/arc/kernel/signal.c 	switch (regs->r0) {
regs              311 arch/arc/kernel/signal.c 		regs->r0 = -EINTR;   /* ERESTART_xxx is internal */
regs              321 arch/arc/kernel/signal.c 			regs->r0 = -EINTR;
regs              337 arch/arc/kernel/signal.c 		regs->r0 = regs->orig_r0;
regs              338 arch/arc/kernel/signal.c 		regs->ret -= is_isa_arcv2() ? 2 : 4;
regs              347 arch/arc/kernel/signal.c handle_signal(struct ksignal *ksig, struct pt_regs *regs)
regs              353 arch/arc/kernel/signal.c 	failed = setup_rt_frame(ksig, oldset, regs);
regs              358 arch/arc/kernel/signal.c void do_signal(struct pt_regs *regs)
regs              363 arch/arc/kernel/signal.c 	restart_scall = in_syscall(regs) && syscall_restartable(regs);
regs              367 arch/arc/kernel/signal.c 			arc_restart_syscall(&ksig.ka, regs);
regs              368 arch/arc/kernel/signal.c 			syscall_wont_restart(regs);	/* No more restarts */
regs              370 arch/arc/kernel/signal.c 		handle_signal(&ksig, regs);
regs              376 arch/arc/kernel/signal.c 		if (regs->r0 == -ERESTARTNOHAND ||
regs              377 arch/arc/kernel/signal.c 		    regs->r0 == -ERESTARTSYS || regs->r0 == -ERESTARTNOINTR) {
regs              378 arch/arc/kernel/signal.c 			regs->r0 = regs->orig_r0;
regs              379 arch/arc/kernel/signal.c 			regs->ret -= is_isa_arcv2() ? 2 : 4;
regs              380 arch/arc/kernel/signal.c 		} else if (regs->r0 == -ERESTART_RESTARTBLOCK) {
regs              381 arch/arc/kernel/signal.c 			regs->r8 = __NR_restart_syscall;
regs              382 arch/arc/kernel/signal.c 			regs->ret -= is_isa_arcv2() ? 2 : 4;
regs              384 arch/arc/kernel/signal.c 		syscall_wont_restart(regs);	/* No more restarts */
regs              391 arch/arc/kernel/signal.c void do_notify_resume(struct pt_regs *regs)
regs              398 arch/arc/kernel/signal.c 		tracehook_notify_resume(regs);
regs               42 arch/arc/kernel/stacktrace.c 				   struct pt_regs *regs,
regs               49 arch/arc/kernel/stacktrace.c 	if (tsk == NULL && regs == NULL) {
regs               61 arch/arc/kernel/stacktrace.c 		frame_info->regs.r27 = fp;
regs               62 arch/arc/kernel/stacktrace.c 		frame_info->regs.r28 = sp;
regs               63 arch/arc/kernel/stacktrace.c 		frame_info->regs.r31 = blink;
regs               64 arch/arc/kernel/stacktrace.c 		frame_info->regs.r63 = ret;
regs               66 arch/arc/kernel/stacktrace.c 	} else if (regs == NULL) {
regs               75 arch/arc/kernel/stacktrace.c 		frame_info->regs.r27 = TSK_K_FP(tsk);
regs               76 arch/arc/kernel/stacktrace.c 		frame_info->regs.r28 = TSK_K_ESP(tsk);
regs               77 arch/arc/kernel/stacktrace.c 		frame_info->regs.r31 = TSK_K_BLINK(tsk);
regs               78 arch/arc/kernel/stacktrace.c 		frame_info->regs.r63 = (unsigned int)__switch_to;
regs               89 arch/arc/kernel/stacktrace.c 		frame_info->regs.r27 = 0;
regs               90 arch/arc/kernel/stacktrace.c 		frame_info->regs.r28 += 60;
regs              100 arch/arc/kernel/stacktrace.c 		frame_info->regs.r27 = regs->fp;
regs              101 arch/arc/kernel/stacktrace.c 		frame_info->regs.r28 = regs->sp;
regs              102 arch/arc/kernel/stacktrace.c 		frame_info->regs.r31 = regs->blink;
regs              103 arch/arc/kernel/stacktrace.c 		frame_info->regs.r63 = regs->ret;
regs              111 arch/arc/kernel/stacktrace.c arc_unwind_core(struct task_struct *tsk, struct pt_regs *regs,
regs              119 arch/arc/kernel/stacktrace.c 	seed_unwind_frame_info(tsk, regs, &frame_info);
regs              134 arch/arc/kernel/stacktrace.c 		frame_info.regs.r63 = frame_info.regs.r31;
regs              220 arch/arc/kernel/stacktrace.c noinline void show_stacktrace(struct task_struct *tsk, struct pt_regs *regs)
regs              223 arch/arc/kernel/stacktrace.c 	arc_unwind_core(tsk, regs, __print_sym, NULL);
regs               28 arch/arc/kernel/traps.c void die(const char *str, struct pt_regs *regs, unsigned long address)
regs               30 arch/arc/kernel/traps.c 	show_kernel_fault_diag(str, regs, address);
regs               42 arch/arc/kernel/traps.c unhandled_exception(const char *str, struct pt_regs *regs,
regs               45 arch/arc/kernel/traps.c 	if (user_mode(regs)) {
regs               54 arch/arc/kernel/traps.c 		if (fixup_exception(regs))
regs               57 arch/arc/kernel/traps.c 		die(str, regs, (unsigned long)addr);
regs               64 arch/arc/kernel/traps.c int name(unsigned long address, struct pt_regs *regs) \
regs               66 arch/arc/kernel/traps.c 	return unhandled_exception(str, regs, signr, sicode,	\
regs               84 arch/arc/kernel/traps.c int do_misaligned_access(unsigned long address, struct pt_regs *regs,
regs               88 arch/arc/kernel/traps.c 	if (misaligned_fixup(address, regs, cregs) != 0)
regs               89 arch/arc/kernel/traps.c 		return do_misaligned_error(address, regs);
regs               98 arch/arc/kernel/traps.c void do_machine_check_fault(unsigned long address, struct pt_regs *regs)
regs              100 arch/arc/kernel/traps.c 	die("Unhandled Machine Check Exception", regs, address);
regs              115 arch/arc/kernel/traps.c void do_non_swi_trap(unsigned long address, struct pt_regs *regs)
regs              117 arch/arc/kernel/traps.c 	unsigned int param = regs->ecr_param;
regs              121 arch/arc/kernel/traps.c 		trap_is_brkpt(address, regs);
regs              125 arch/arc/kernel/traps.c 		trap_is_kprobe(address, regs);
regs              130 arch/arc/kernel/traps.c 		kgdb_trap(regs);
regs              134 arch/arc/kernel/traps.c 		do_trap5_error(address, regs);
regs              146 arch/arc/kernel/traps.c void do_insterror_or_kprobe(unsigned long address, struct pt_regs *regs)
regs              151 arch/arc/kernel/traps.c 	rc = notify_die(DIE_IERR, "kprobe_ierr", regs, address, 0, SIGILL);
regs              155 arch/arc/kernel/traps.c 	insterror_is_error(address, regs);
regs              118 arch/arc/kernel/troubleshoot.c static void show_ecr_verbose(struct pt_regs *regs)
regs              123 arch/arc/kernel/troubleshoot.c 	pr_info("\n[ECR   ]: 0x%08lx => ", regs->event);
regs              128 arch/arc/kernel/troubleshoot.c 	vec = regs->ecr_vec;
regs              129 arch/arc/kernel/troubleshoot.c 	cause_code = regs->ecr_cause;
regs              136 arch/arc/kernel/troubleshoot.c 		       address, regs->ret);
regs              167 arch/arc/kernel/troubleshoot.c 		if (regs->ecr_param == 5)
regs              178 arch/arc/kernel/troubleshoot.c void show_regs(struct pt_regs *regs)
regs              192 arch/arc/kernel/troubleshoot.c 	show_ecr_verbose(regs);
regs              196 arch/arc/kernel/troubleshoot.c 		(void *)regs->blink, (void *)regs->ret);
regs              198 arch/arc/kernel/troubleshoot.c 	if (user_mode(regs))
regs              199 arch/arc/kernel/troubleshoot.c 		show_faulting_vma(regs->ret); /* faulting code, not data */
regs              201 arch/arc/kernel/troubleshoot.c 	pr_info("[STAT32]: 0x%08lx", regs->status32);
regs              207 arch/arc/kernel/troubleshoot.c 			(regs->status32 & STATUS_U_MASK) ? "U " : "K ",
regs              208 arch/arc/kernel/troubleshoot.c 			STS_BIT(regs, DE), STS_BIT(regs, AE),
regs              209 arch/arc/kernel/troubleshoot.c 			STS_BIT(regs, A2), STS_BIT(regs, A1),
regs              210 arch/arc/kernel/troubleshoot.c 			STS_BIT(regs, E2), STS_BIT(regs, E1));
regs              213 arch/arc/kernel/troubleshoot.c 			STS_BIT(regs, IE),
regs              214 arch/arc/kernel/troubleshoot.c 			(regs->status32 & STATUS_U_MASK) ? "U " : "K ",
regs              215 arch/arc/kernel/troubleshoot.c 			STS_BIT(regs, DE), STS_BIT(regs, AE));
regs              218 arch/arc/kernel/troubleshoot.c 		regs->bta, regs->sp, regs->fp);
regs              220 arch/arc/kernel/troubleshoot.c 	       regs->lp_start, regs->lp_end, regs->lp_count);
regs              225 arch/arc/kernel/troubleshoot.c 	print_reg_file(&(regs->r0), 0);
regs              235 arch/arc/kernel/troubleshoot.c void show_kernel_fault_diag(const char *str, struct pt_regs *regs,
regs              244 arch/arc/kernel/troubleshoot.c 	show_regs(regs);
regs              247 arch/arc/kernel/troubleshoot.c 	if (!user_mode(regs))
regs              248 arch/arc/kernel/troubleshoot.c 		show_stacktrace(current, regs);
regs              132 arch/arc/kernel/unaligned.c static void fixup_load(struct disasm_state *state, struct pt_regs *regs,
regs              139 arch/arc/kernel/unaligned.c 		set_reg(state->wb_reg, state->src1 + state->src2, regs, cregs);
regs              155 arch/arc/kernel/unaligned.c 		set_reg(state->dest, val, regs, cregs);
regs              162 arch/arc/kernel/unaligned.c static void fixup_store(struct disasm_state *state, struct pt_regs *regs,
regs              167 arch/arc/kernel/unaligned.c 		set_reg(state->wb_reg, state->src2 + state->src3, regs, cregs);
regs              174 arch/arc/kernel/unaligned.c 				regs, cregs);
regs              177 arch/arc/kernel/unaligned.c 				regs, cregs);
regs              198 arch/arc/kernel/unaligned.c int misaligned_fixup(unsigned long address, struct pt_regs *regs,
regs              205 arch/arc/kernel/unaligned.c 	if (!user_mode(regs) || !unaligned_enabled)
regs              219 arch/arc/kernel/unaligned.c 			address, regs->ret);
regs              223 arch/arc/kernel/unaligned.c 	disasm_instr(regs->ret, &state, 1, regs, cregs);
regs              233 arch/arc/kernel/unaligned.c 		fixup_load(&state, regs, cregs);
regs              235 arch/arc/kernel/unaligned.c 		fixup_store(&state, regs, cregs);
regs              241 arch/arc/kernel/unaligned.c 	if (delay_mode(regs)) {
regs              242 arch/arc/kernel/unaligned.c 		regs->ret = regs->bta & ~1U;
regs              243 arch/arc/kernel/unaligned.c 		regs->status32 &= ~STATUS_DE_MASK;
regs              245 arch/arc/kernel/unaligned.c 		regs->ret += state.instr_len;
regs              248 arch/arc/kernel/unaligned.c 		if ((regs->ret == regs->lp_end) && (regs->lp_count)) {
regs              249 arch/arc/kernel/unaligned.c 			regs->ret = regs->lp_start;
regs              250 arch/arc/kernel/unaligned.c 			regs->lp_count--;
regs              254 arch/arc/kernel/unaligned.c 	perf_sw_event(PERF_COUNT_SW_ALIGNMENT_FAULTS, 1, regs, address);
regs               50 arch/arc/kernel/unwind.c #define PTREGS_INFO(f) EXTRA_INFO(regs.f)
regs              147 arch/arc/kernel/unwind.c 	struct unwind_item regs[ARRAY_SIZE(reg_info)];
regs              678 arch/arc/kernel/unwind.c 	if (reg < ARRAY_SIZE(state->regs)) {
regs              679 arch/arc/kernel/unwind.c 		state->regs[reg].where = where;
regs              680 arch/arc/kernel/unwind.c 		state->regs[reg].value = value;
regs              816 arch/arc/kernel/unwind.c 					memset(state->regs, 0,
regs              817 arch/arc/kernel/unwind.c 					       sizeof(state->regs));
regs             1157 arch/arc/kernel/unwind.c 	for (i = 0; i < ARRAY_SIZE(state.regs); ++i) {
regs             1162 arch/arc/kernel/unwind.c 		switch (state.regs[i].where) {
regs             1166 arch/arc/kernel/unwind.c 			unw_debug(" r%d: c(%lu),", i, state.regs[i].value);
regs             1169 arch/arc/kernel/unwind.c 			unw_debug(" r%d: r(%lu),", i, state.regs[i].value);
regs             1172 arch/arc/kernel/unwind.c 			unw_debug(" r%d: v(%lu),", i, state.regs[i].value);
regs             1183 arch/arc/kernel/unwind.c 	    && !UNW_DEFAULT_RA(state.regs[retAddrReg], state.dataAlign))
regs             1197 arch/arc/kernel/unwind.c 	for (i = 0; i < ARRAY_SIZE(state.regs); ++i) {
regs             1199 arch/arc/kernel/unwind.c 			if (state.regs[i].where == Nowhere)
regs             1203 arch/arc/kernel/unwind.c 		switch (state.regs[i].where) {
regs             1207 arch/arc/kernel/unwind.c 			if (state.regs[i].value >= ARRAY_SIZE(reg_info)
regs             1208 arch/arc/kernel/unwind.c 			    || REG_INVALID(state.regs[i].value)
regs             1210 arch/arc/kernel/unwind.c 			    reg_info[state.regs[i].value].width)
regs             1212 arch/arc/kernel/unwind.c 			switch (reg_info[state.regs[i].value].width) {
regs             1214 arch/arc/kernel/unwind.c 				state.regs[i].value =
regs             1215 arch/arc/kernel/unwind.c 				FRAME_REG(state.regs[i].value, const u8);
regs             1218 arch/arc/kernel/unwind.c 				state.regs[i].value =
regs             1219 arch/arc/kernel/unwind.c 				FRAME_REG(state.regs[i].value, const u16);
regs             1222 arch/arc/kernel/unwind.c 				state.regs[i].value =
regs             1223 arch/arc/kernel/unwind.c 				FRAME_REG(state.regs[i].value, const u32);
regs             1227 arch/arc/kernel/unwind.c 				state.regs[i].value =
regs             1228 arch/arc/kernel/unwind.c 				FRAME_REG(state.regs[i].value, const u64);
regs             1239 arch/arc/kernel/unwind.c 	fptr = (unsigned long *)(&frame->regs);
regs             1240 arch/arc/kernel/unwind.c 	for (i = 0; i < ARRAY_SIZE(state.regs); ++i, fptr++) {
regs             1244 arch/arc/kernel/unwind.c 		switch (state.regs[i].where) {
regs             1255 arch/arc/kernel/unwind.c 				FRAME_REG(i, u8) = state.regs[i].value;
regs             1258 arch/arc/kernel/unwind.c 				FRAME_REG(i, u16) = state.regs[i].value;
regs             1261 arch/arc/kernel/unwind.c 				FRAME_REG(i, u32) = state.regs[i].value;
regs             1265 arch/arc/kernel/unwind.c 				FRAME_REG(i, u64) = state.regs[i].value;
regs             1275 arch/arc/kernel/unwind.c 			FRAME_REG(i, unsigned long) = cfa + state.regs[i].value
regs             1279 arch/arc/kernel/unwind.c 			addr = cfa + state.regs[i].value * state.dataAlign;
regs             1281 arch/arc/kernel/unwind.c 			if ((state.regs[i].value * state.dataAlign)
regs               12 arch/arc/mm/extable.c int fixup_exception(struct pt_regs *regs)
regs               16 arch/arc/mm/extable.c 	fixup = search_exception_tables(instruction_pointer(regs));
regs               18 arch/arc/mm/extable.c 		regs->ret = fixup->fixup;
regs               61 arch/arc/mm/fault.c void do_page_fault(unsigned long address, struct pt_regs *regs)
regs               77 arch/arc/mm/fault.c 	if (address >= VMALLOC_START && !user_mode(regs)) {
regs               91 arch/arc/mm/fault.c 	if (regs->ecr_cause & ECR_C_PROTV_STORE)	/* ST/EX */
regs               93 arch/arc/mm/fault.c 	else if ((regs->ecr_vec == ECR_V_PROTV) &&
regs               94 arch/arc/mm/fault.c 	         (regs->ecr_cause == ECR_C_PROTV_INST_FETCH))
regs               98 arch/arc/mm/fault.c 	if (user_mode(regs))
regs              141 arch/arc/mm/fault.c 			if (!user_mode(regs))
regs              162 arch/arc/mm/fault.c 	perf_sw_event(PERF_COUNT_SW_PAGE_FAULTS, 1, regs, address);
regs              168 arch/arc/mm/fault.c 				      regs, address);
regs              172 arch/arc/mm/fault.c 				      regs, address);
regs              179 arch/arc/mm/fault.c 	if (!user_mode(regs))
regs              200 arch/arc/mm/fault.c 	if (fixup_exception(regs))
regs              203 arch/arc/mm/fault.c 	die("Oops", regs, address);
regs              908 arch/arc/mm/tlb.c 			  struct pt_regs *regs)
regs               23 arch/arc/plat-eznps/mtm.c int do_memory_error(unsigned long address, struct pt_regs *regs)
regs               25 arch/arc/plat-eznps/mtm.c 	die("Invalid Mem Access", regs, address);
regs               63 arch/arm/include/asm/bug.h void die(const char *msg, struct pt_regs *regs, int err);
regs               65 arch/arm/include/asm/bug.h void arm_notify_die(const char *str, struct pt_regs *regs,
regs               44 arch/arm/include/asm/fiq.h extern void __set_fiq_regs(unsigned long const *regs);
regs               45 arch/arm/include/asm/fiq.h extern void __get_fiq_regs(unsigned long *regs);
regs               47 arch/arm/include/asm/fiq.h static inline void set_fiq_regs(struct pt_regs const *regs)
regs               49 arch/arm/include/asm/fiq.h 	__set_fiq_regs(&regs->ARM_r8);
regs               52 arch/arm/include/asm/fiq.h static inline void get_fiq_regs(struct pt_regs *regs)
regs               54 arch/arm/include/asm/fiq.h 	__get_fiq_regs(&regs->ARM_r8);
regs               42 arch/arm/include/asm/kprobes.h int kprobe_fault_handler(struct pt_regs *regs, unsigned int fsr);
regs               13 arch/arm/include/asm/perf_event.h extern unsigned long perf_instruction_pointer(struct pt_regs *regs);
regs               14 arch/arm/include/asm/perf_event.h extern unsigned long perf_misc_flags(struct pt_regs *regs);
regs               15 arch/arm/include/asm/perf_event.h #define perf_misc_flags(regs)	perf_misc_flags(regs)
regs               18 arch/arm/include/asm/perf_event.h #define perf_arch_fetch_caller_regs(regs, __ip) { \
regs               19 arch/arm/include/asm/perf_event.h 	(regs)->ARM_pc = (__ip); \
regs               20 arch/arm/include/asm/perf_event.h 	(regs)->ARM_fp = (unsigned long) __builtin_frame_address(0); \
regs               21 arch/arm/include/asm/perf_event.h 	(regs)->ARM_sp = current_stack_pointer; \
regs               22 arch/arm/include/asm/perf_event.h 	(regs)->ARM_cpsr = SVC_MODE; \
regs               51 arch/arm/include/asm/processor.h #define start_thread(regs,pc,sp)					\
regs               56 arch/arm/include/asm/processor.h 		r7 = regs->ARM_r7;					\
regs               57 arch/arm/include/asm/processor.h 		r8 = regs->ARM_r8;					\
regs               58 arch/arm/include/asm/processor.h 		r9 = regs->ARM_r9;					\
regs               60 arch/arm/include/asm/processor.h 	memset(regs->uregs, 0, sizeof(regs->uregs));			\
regs               63 arch/arm/include/asm/processor.h 		regs->ARM_r7 = r7;					\
regs               64 arch/arm/include/asm/processor.h 		regs->ARM_r8 = r8;					\
regs               65 arch/arm/include/asm/processor.h 		regs->ARM_r9 = r9;					\
regs               66 arch/arm/include/asm/processor.h 		regs->ARM_r10 = current->mm->start_data;		\
regs               68 arch/arm/include/asm/processor.h 		regs->ARM_r10 = current->mm->start_data;		\
regs               70 arch/arm/include/asm/processor.h 		regs->ARM_cpsr = USR_MODE;				\
regs               72 arch/arm/include/asm/processor.h 		regs->ARM_cpsr = USR26_MODE;				\
regs               74 arch/arm/include/asm/processor.h 		regs->ARM_cpsr |= PSR_T_BIT;				\
regs               75 arch/arm/include/asm/processor.h 	regs->ARM_cpsr |= PSR_ENDSTATE;					\
regs               76 arch/arm/include/asm/processor.h 	regs->ARM_pc = pc & ~1;		/* pc */			\
regs               77 arch/arm/include/asm/processor.h 	regs->ARM_sp = sp;		/* sp */			\
regs               20 arch/arm/include/asm/ptrace.h 	struct pt_regs regs;
regs               25 arch/arm/include/asm/ptrace.h #define to_svc_pt_regs(r) container_of(r, struct svc_pt_regs, regs)
regs               27 arch/arm/include/asm/ptrace.h #define user_mode(regs)	\
regs               28 arch/arm/include/asm/ptrace.h 	(((regs)->ARM_cpsr & 0xf) == 0)
regs               31 arch/arm/include/asm/ptrace.h #define thumb_mode(regs) \
regs               32 arch/arm/include/asm/ptrace.h 	(((regs)->ARM_cpsr & PSR_T_BIT))
regs               34 arch/arm/include/asm/ptrace.h #define thumb_mode(regs) (0)
regs               38 arch/arm/include/asm/ptrace.h #define isa_mode(regs) \
regs               39 arch/arm/include/asm/ptrace.h 	((((regs)->ARM_cpsr & PSR_J_BIT) >> (__ffs(PSR_J_BIT) - 1)) | \
regs               40 arch/arm/include/asm/ptrace.h 	 (((regs)->ARM_cpsr & PSR_T_BIT) >> (__ffs(PSR_T_BIT))))
regs               42 arch/arm/include/asm/ptrace.h #define isa_mode(regs) 1 /* Thumb */
regs               45 arch/arm/include/asm/ptrace.h #define processor_mode(regs) \
regs               46 arch/arm/include/asm/ptrace.h 	((regs)->ARM_cpsr & MODE_MASK)
regs               48 arch/arm/include/asm/ptrace.h #define interrupts_enabled(regs) \
regs               49 arch/arm/include/asm/ptrace.h 	(!((regs)->ARM_cpsr & PSR_I_BIT))
regs               51 arch/arm/include/asm/ptrace.h #define fast_interrupts_enabled(regs) \
regs               52 arch/arm/include/asm/ptrace.h 	(!((regs)->ARM_cpsr & PSR_F_BIT))
regs               57 arch/arm/include/asm/ptrace.h static inline int valid_user_regs(struct pt_regs *regs)
regs               60 arch/arm/include/asm/ptrace.h 	unsigned long mode = regs->ARM_cpsr & MODE_MASK;
regs               65 arch/arm/include/asm/ptrace.h 	regs->ARM_cpsr &= ~(PSR_F_BIT | PSR_A_BIT);
regs               67 arch/arm/include/asm/ptrace.h 	if ((regs->ARM_cpsr & PSR_I_BIT) == 0) {
regs               77 arch/arm/include/asm/ptrace.h 	regs->ARM_cpsr &= PSR_f | PSR_s | PSR_x | PSR_T_BIT | MODE32_BIT;
regs               79 arch/arm/include/asm/ptrace.h 		regs->ARM_cpsr |= USR_MODE;
regs               87 arch/arm/include/asm/ptrace.h static inline long regs_return_value(struct pt_regs *regs)
regs               89 arch/arm/include/asm/ptrace.h 	return regs->ARM_r0;
regs               92 arch/arm/include/asm/ptrace.h #define instruction_pointer(regs)	(regs)->ARM_pc
regs               95 arch/arm/include/asm/ptrace.h #define frame_pointer(regs) (regs)->ARM_r7
regs               97 arch/arm/include/asm/ptrace.h #define frame_pointer(regs) (regs)->ARM_fp
regs              100 arch/arm/include/asm/ptrace.h static inline void instruction_pointer_set(struct pt_regs *regs,
regs              103 arch/arm/include/asm/ptrace.h 	instruction_pointer(regs) = val;
regs              107 arch/arm/include/asm/ptrace.h extern unsigned long profile_pc(struct pt_regs *regs);
regs              109 arch/arm/include/asm/ptrace.h #define profile_pc(regs) instruction_pointer(regs)
regs              131 arch/arm/include/asm/ptrace.h extern bool regs_within_kernel_stack(struct pt_regs *regs, unsigned long addr);
regs              132 arch/arm/include/asm/ptrace.h extern unsigned long regs_get_kernel_stack_nth(struct pt_regs *regs,
regs              144 arch/arm/include/asm/ptrace.h static inline unsigned long regs_get_register(struct pt_regs *regs,
regs              149 arch/arm/include/asm/ptrace.h 	return *(unsigned long *)((unsigned long)regs + offset);
regs              153 arch/arm/include/asm/ptrace.h static inline unsigned long kernel_stack_pointer(struct pt_regs *regs)
regs              155 arch/arm/include/asm/ptrace.h 	return regs->ARM_sp;
regs              158 arch/arm/include/asm/ptrace.h static inline unsigned long user_stack_pointer(struct pt_regs *regs)
regs              160 arch/arm/include/asm/ptrace.h 	return regs->ARM_sp;
regs               30 arch/arm/include/asm/smp.h asmlinkage void do_IPI(int ipinr, struct pt_regs *regs);
regs               35 arch/arm/include/asm/smp.h void handle_IPI(int ipinr, struct pt_regs *regs);
regs               19 arch/arm/include/asm/stacktrace.h void arm_get_current_stackframe(struct pt_regs *regs, struct stackframe *frame)
regs               21 arch/arm/include/asm/stacktrace.h 		frame->fp = frame_pointer(regs);
regs               22 arch/arm/include/asm/stacktrace.h 		frame->sp = regs->ARM_sp;
regs               23 arch/arm/include/asm/stacktrace.h 		frame->lr = regs->ARM_lr;
regs               24 arch/arm/include/asm/stacktrace.h 		frame->pc = regs->ARM_pc;
regs               23 arch/arm/include/asm/syscall.h 				 struct pt_regs *regs)
regs               29 arch/arm/include/asm/syscall.h 				    struct pt_regs *regs)
regs               31 arch/arm/include/asm/syscall.h 	regs->ARM_r0 = regs->ARM_ORIG_r0;
regs               35 arch/arm/include/asm/syscall.h 				     struct pt_regs *regs)
regs               37 arch/arm/include/asm/syscall.h 	unsigned long error = regs->ARM_r0;
regs               42 arch/arm/include/asm/syscall.h 					    struct pt_regs *regs)
regs               44 arch/arm/include/asm/syscall.h 	return regs->ARM_r0;
regs               48 arch/arm/include/asm/syscall.h 					    struct pt_regs *regs,
regs               51 arch/arm/include/asm/syscall.h 	regs->ARM_r0 = (long) error ? error : val;
regs               57 arch/arm/include/asm/syscall.h 					 struct pt_regs *regs,
regs               60 arch/arm/include/asm/syscall.h 	args[0] = regs->ARM_ORIG_r0;
regs               63 arch/arm/include/asm/syscall.h 	memcpy(args, &regs->ARM_r0 + 1, 5 * sizeof(args[0]));
regs               67 arch/arm/include/asm/syscall.h 					 struct pt_regs *regs,
regs               70 arch/arm/include/asm/syscall.h 	regs->ARM_ORIG_r0 = args[0];
regs               73 arch/arm/include/asm/syscall.h 	memcpy(&regs->ARM_r0 + 1, args, 5 * sizeof(args[0]));
regs              320 arch/arm/include/asm/tlbflush.h #define tlb_op(f, regs, arg)	__tlb_op(f, "p15, 0, %0, " regs, arg)
regs              321 arch/arm/include/asm/tlbflush.h #define tlb_l2_op(f, regs, arg)	__tlb_op(f, "p15, 1, %0, " regs, arg)
regs               16 arch/arm/include/asm/traps.h 	int (*fn)(struct pt_regs *regs, unsigned int instr);
regs               33 arch/arm/include/asm/traps.h extern void ptrace_break(struct pt_regs *regs);
regs               39 arch/arm/include/asm/unwind.h extern void unwind_backtrace(struct pt_regs *regs, struct task_struct *tsk);
regs               35 arch/arm/include/asm/uprobes.h 			   struct pt_regs *regs);
regs               38 arch/arm/include/asm/uprobes.h 			    struct pt_regs *regs);
regs               56 arch/arm/include/asm/user.h   struct pt_regs regs;		/* Where the registers are actually stored */
regs               29 arch/arm/include/asm/vfpmacros.h 	ldr	\tmp, =elf_hwcap		    @ may not have MVFR regs
regs               53 arch/arm/include/asm/vfpmacros.h 	ldr	\tmp, =elf_hwcap		    @ may not have MVFR regs
regs               15 arch/arm/include/asm/xen/events.h static inline int xen_irqs_disabled(struct pt_regs *regs)
regs               17 arch/arm/include/asm/xen/events.h 	return raw_irqs_disabled_flags(regs->ARM_cpsr);
regs              684 arch/arm/kernel/hw_breakpoint.c 			       struct pt_regs *regs)
regs              742 arch/arm/kernel/hw_breakpoint.c 		perf_bp_event(wp, regs);
regs              750 arch/arm/kernel/hw_breakpoint.c 			enable_single_step(wp, instruction_pointer(regs));
regs              789 arch/arm/kernel/hw_breakpoint.c static void breakpoint_handler(unsigned long unknown, struct pt_regs *regs)
regs              800 arch/arm/kernel/hw_breakpoint.c 	addr = regs->ARM_pc;
regs              824 arch/arm/kernel/hw_breakpoint.c 			perf_bp_event(bp, regs);
regs              847 arch/arm/kernel/hw_breakpoint.c 				 struct pt_regs *regs)
regs              854 arch/arm/kernel/hw_breakpoint.c 	if (interrupts_enabled(regs))
regs              863 arch/arm/kernel/hw_breakpoint.c 		breakpoint_handler(addr, regs);
regs              869 arch/arm/kernel/hw_breakpoint.c 		watchpoint_handler(addr, fsr, regs);
regs              885 arch/arm/kernel/hw_breakpoint.c static int debug_reg_trap(struct pt_regs *regs, unsigned int instr)
regs              894 arch/arm/kernel/hw_breakpoint.c 	instruction_pointer(regs) += 4;
regs               65 arch/arm/kernel/irq.c void handle_IRQ(unsigned int irq, struct pt_regs *regs)
regs               67 arch/arm/kernel/irq.c 	__handle_domain_irq(NULL, irq, false, regs);
regs               74 arch/arm/kernel/irq.c asm_do_IRQ(unsigned int irq, struct pt_regs *regs)
regs               76 arch/arm/kernel/irq.c 	handle_IRQ(irq, regs);
regs               51 arch/arm/kernel/kgdb.c char *dbg_get_reg(int regno, void *mem, struct pt_regs *regs)
regs               57 arch/arm/kernel/kgdb.c 		memcpy(mem, (void *)regs + dbg_reg_def[regno].offset,
regs               64 arch/arm/kernel/kgdb.c int dbg_set_reg(int regno, void *mem, struct pt_regs *regs)
regs               70 arch/arm/kernel/kgdb.c 		memcpy((void *)regs + dbg_reg_def[regno].offset, mem,
regs              103 arch/arm/kernel/kgdb.c void kgdb_arch_set_pc(struct pt_regs *regs, unsigned long pc)
regs              105 arch/arm/kernel/kgdb.c 	regs->ARM_pc = pc;
regs              142 arch/arm/kernel/kgdb.c static int kgdb_brk_fn(struct pt_regs *regs, unsigned int instr)
regs              144 arch/arm/kernel/kgdb.c 	kgdb_handle_exception(1, SIGTRAP, 0, regs);
regs              149 arch/arm/kernel/kgdb.c static int kgdb_compiled_brk_fn(struct pt_regs *regs, unsigned int instr)
regs              152 arch/arm/kernel/kgdb.c 	kgdb_handle_exception(1, SIGTRAP, 0, regs);
regs              175 arch/arm/kernel/kgdb.c 	struct pt_regs *regs = args->regs;
regs              177 arch/arm/kernel/kgdb.c 	if (kgdb_handle_exception(1, args->signr, cmd, regs))
regs               84 arch/arm/kernel/machine_kexec.c 	struct pt_regs regs;
regs               86 arch/arm/kernel/machine_kexec.c 	crash_setup_regs(&regs, get_irq_regs());
regs               89 arch/arm/kernel/machine_kexec.c 	crash_save_cpu(&regs, smp_processor_id());
regs              145 arch/arm/kernel/machine_kexec.c void machine_crash_shutdown(struct pt_regs *regs)
regs              150 arch/arm/kernel/machine_kexec.c 	crash_save_cpu(regs, smp_processor_id());
regs               63 arch/arm/kernel/perf_callchain.c perf_callchain_user(struct perf_callchain_entry_ctx *entry, struct pt_regs *regs)
regs               72 arch/arm/kernel/perf_callchain.c 	perf_callchain_store(entry, regs->ARM_pc);
regs               77 arch/arm/kernel/perf_callchain.c 	tail = (struct frame_tail __user *)regs->ARM_fp - 1;
regs               99 arch/arm/kernel/perf_callchain.c perf_callchain_kernel(struct perf_callchain_entry_ctx *entry, struct pt_regs *regs)
regs              108 arch/arm/kernel/perf_callchain.c 	arm_get_current_stackframe(regs, &fr);
regs              112 arch/arm/kernel/perf_callchain.c unsigned long perf_instruction_pointer(struct pt_regs *regs)
regs              117 arch/arm/kernel/perf_callchain.c 	return instruction_pointer(regs);
regs              120 arch/arm/kernel/perf_callchain.c unsigned long perf_misc_flags(struct pt_regs *regs)
regs              130 arch/arm/kernel/perf_callchain.c 		if (user_mode(regs))
regs              311 arch/arm/kernel/perf_event_v6.c 	struct pt_regs *regs;
regs              317 arch/arm/kernel/perf_event_v6.c 	regs = get_irq_regs();
regs              347 arch/arm/kernel/perf_event_v6.c 		if (perf_event_overflow(event, &data, regs))
regs              954 arch/arm/kernel/perf_event_v7.c 	struct pt_regs *regs;
regs              971 arch/arm/kernel/perf_event_v7.c 	regs = get_irq_regs();
regs              994 arch/arm/kernel/perf_event_v7.c 		if (perf_event_overflow(event, &data, regs))
regs              150 arch/arm/kernel/perf_event_xscale.c 	struct pt_regs *regs;
regs              171 arch/arm/kernel/perf_event_xscale.c 	regs = get_irq_regs();
regs              189 arch/arm/kernel/perf_event_xscale.c 		if (perf_event_overflow(event, &data, regs))
regs              502 arch/arm/kernel/perf_event_xscale.c 	struct pt_regs *regs;
regs              517 arch/arm/kernel/perf_event_xscale.c 	regs = get_irq_regs();
regs              535 arch/arm/kernel/perf_event_xscale.c 		if (perf_event_overflow(event, &data, regs))
regs               11 arch/arm/kernel/perf_regs.c u64 perf_reg_value(struct pt_regs *regs, int idx)
regs               16 arch/arm/kernel/perf_regs.c 	return regs->uregs[idx];
regs               35 arch/arm/kernel/perf_regs.c 			struct pt_regs *regs,
regs               38 arch/arm/kernel/perf_regs.c 	regs_user->regs = task_pt_regs(current);
regs               93 arch/arm/kernel/process.c void __show_regs(struct pt_regs *regs)
regs              105 arch/arm/kernel/process.c 	if (user_mode(regs)) {
regs              109 arch/arm/kernel/process.c 		domain = to_svc_pt_regs(regs)->dacr;
regs              110 arch/arm/kernel/process.c 		fs = to_svc_pt_regs(regs)->addr_limit;
regs              120 arch/arm/kernel/process.c 	printk("PC is at %pS\n", (void *)instruction_pointer(regs));
regs              121 arch/arm/kernel/process.c 	printk("LR is at %pS\n", (void *)regs->ARM_lr);
regs              123 arch/arm/kernel/process.c 	       regs->ARM_pc, regs->ARM_lr, regs->ARM_cpsr);
regs              125 arch/arm/kernel/process.c 	       regs->ARM_sp, regs->ARM_ip, regs->ARM_fp);
regs              127 arch/arm/kernel/process.c 		regs->ARM_r10, regs->ARM_r9,
regs              128 arch/arm/kernel/process.c 		regs->ARM_r8);
regs              130 arch/arm/kernel/process.c 		regs->ARM_r7, regs->ARM_r6,
regs              131 arch/arm/kernel/process.c 		regs->ARM_r5, regs->ARM_r4);
regs              133 arch/arm/kernel/process.c 		regs->ARM_r3, regs->ARM_r2,
regs              134 arch/arm/kernel/process.c 		regs->ARM_r1, regs->ARM_r0);
regs              136 arch/arm/kernel/process.c 	flags = regs->ARM_cpsr;
regs              156 arch/arm/kernel/process.c 			buf, interrupts_enabled(regs) ? "n" : "ff",
regs              157 arch/arm/kernel/process.c 			fast_interrupts_enabled(regs) ? "n" : "ff",
regs              158 arch/arm/kernel/process.c 			processor_modes[processor_mode(regs)],
regs              159 arch/arm/kernel/process.c 			isa_modes[isa_mode(regs)], segment);
regs              162 arch/arm/kernel/process.c 	printk("xPSR: %08lx\n", regs->ARM_cpsr);
regs              186 arch/arm/kernel/process.c void show_regs(struct pt_regs * regs)
regs              188 arch/arm/kernel/process.c 	__show_regs(regs);
regs              286 arch/arm/kernel/process.c int dump_fpu (struct pt_regs *regs, struct user_fp *fp)
regs              131 arch/arm/kernel/ptrace.c bool regs_within_kernel_stack(struct pt_regs *regs, unsigned long addr)
regs              134 arch/arm/kernel/ptrace.c 		(kernel_stack_pointer(regs) & ~(THREAD_SIZE - 1)));
regs              146 arch/arm/kernel/ptrace.c unsigned long regs_get_kernel_stack_nth(struct pt_regs *regs, unsigned int n)
regs              148 arch/arm/kernel/ptrace.c 	unsigned long *addr = (unsigned long *)kernel_stack_pointer(regs);
regs              150 arch/arm/kernel/ptrace.c 	if (regs_within_kernel_stack(regs, (unsigned long)addr))
regs              176 arch/arm/kernel/ptrace.c 	struct pt_regs newregs, *regs = task_pt_regs(task);
regs              179 arch/arm/kernel/ptrace.c 	newregs = *regs;
regs              183 arch/arm/kernel/ptrace.c 		regs->uregs[offset] = data;
regs              201 arch/arm/kernel/ptrace.c void ptrace_break(struct pt_regs *regs)
regs              204 arch/arm/kernel/ptrace.c 			(void __user *)instruction_pointer(regs));
regs              207 arch/arm/kernel/ptrace.c static int break_trap(struct pt_regs *regs, unsigned int instr)
regs              209 arch/arm/kernel/ptrace.c 	ptrace_break(regs);
regs              379 arch/arm/kernel/ptrace.c 				     struct pt_regs *regs)
regs              576 arch/arm/kernel/ptrace.c 	struct pt_regs *regs = task_pt_regs(target);
regs              579 arch/arm/kernel/ptrace.c 				   regs,
regs              580 arch/arm/kernel/ptrace.c 				   0, sizeof(*regs));
regs              897 arch/arm/kernel/ptrace.c static void tracehook_report_syscall(struct pt_regs *regs,
regs              906 arch/arm/kernel/ptrace.c 	ip = regs->ARM_ip;
regs              907 arch/arm/kernel/ptrace.c 	regs->ARM_ip = dir;
regs              910 arch/arm/kernel/ptrace.c 		tracehook_report_syscall_exit(regs, 0);
regs              911 arch/arm/kernel/ptrace.c 	else if (tracehook_report_syscall_entry(regs))
regs              914 arch/arm/kernel/ptrace.c 	regs->ARM_ip = ip;
regs              917 arch/arm/kernel/ptrace.c asmlinkage int syscall_trace_enter(struct pt_regs *regs, int scno)
regs              922 arch/arm/kernel/ptrace.c 		tracehook_report_syscall(regs, PTRACE_SYSCALL_ENTER);
regs              937 arch/arm/kernel/ptrace.c 		trace_sys_enter(regs, scno);
regs              939 arch/arm/kernel/ptrace.c 	audit_syscall_entry(scno, regs->ARM_r0, regs->ARM_r1, regs->ARM_r2,
regs              940 arch/arm/kernel/ptrace.c 			    regs->ARM_r3);
regs              945 arch/arm/kernel/ptrace.c asmlinkage void syscall_trace_exit(struct pt_regs *regs)
regs              951 arch/arm/kernel/ptrace.c 	audit_syscall_exit(regs);
regs              960 arch/arm/kernel/ptrace.c 		trace_sys_exit(regs, regs_return_value(regs));
regs              963 arch/arm/kernel/ptrace.c 		tracehook_report_syscall(regs, PTRACE_SYSCALL_EXIT);
regs              173 arch/arm/kernel/signal.c static int restore_sigframe(struct pt_regs *regs, struct sigframe __user *sf)
regs              186 arch/arm/kernel/signal.c 		regs->ARM_r0 = context.arm_r0;
regs              187 arch/arm/kernel/signal.c 		regs->ARM_r1 = context.arm_r1;
regs              188 arch/arm/kernel/signal.c 		regs->ARM_r2 = context.arm_r2;
regs              189 arch/arm/kernel/signal.c 		regs->ARM_r3 = context.arm_r3;
regs              190 arch/arm/kernel/signal.c 		regs->ARM_r4 = context.arm_r4;
regs              191 arch/arm/kernel/signal.c 		regs->ARM_r5 = context.arm_r5;
regs              192 arch/arm/kernel/signal.c 		regs->ARM_r6 = context.arm_r6;
regs              193 arch/arm/kernel/signal.c 		regs->ARM_r7 = context.arm_r7;
regs              194 arch/arm/kernel/signal.c 		regs->ARM_r8 = context.arm_r8;
regs              195 arch/arm/kernel/signal.c 		regs->ARM_r9 = context.arm_r9;
regs              196 arch/arm/kernel/signal.c 		regs->ARM_r10 = context.arm_r10;
regs              197 arch/arm/kernel/signal.c 		regs->ARM_fp = context.arm_fp;
regs              198 arch/arm/kernel/signal.c 		regs->ARM_ip = context.arm_ip;
regs              199 arch/arm/kernel/signal.c 		regs->ARM_sp = context.arm_sp;
regs              200 arch/arm/kernel/signal.c 		regs->ARM_lr = context.arm_lr;
regs              201 arch/arm/kernel/signal.c 		regs->ARM_pc = context.arm_pc;
regs              202 arch/arm/kernel/signal.c 		regs->ARM_cpsr = context.arm_cpsr;
regs              205 arch/arm/kernel/signal.c 	err |= !valid_user_regs(regs);
regs              224 arch/arm/kernel/signal.c asmlinkage int sys_sigreturn(struct pt_regs *regs)
regs              236 arch/arm/kernel/signal.c 	if (regs->ARM_sp & 7)
regs              239 arch/arm/kernel/signal.c 	frame = (struct sigframe __user *)regs->ARM_sp;
regs              244 arch/arm/kernel/signal.c 	if (restore_sigframe(regs, frame))
regs              247 arch/arm/kernel/signal.c 	return regs->ARM_r0;
regs              254 arch/arm/kernel/signal.c asmlinkage int sys_rt_sigreturn(struct pt_regs *regs)
regs              266 arch/arm/kernel/signal.c 	if (regs->ARM_sp & 7)
regs              269 arch/arm/kernel/signal.c 	frame = (struct rt_sigframe __user *)regs->ARM_sp;
regs              274 arch/arm/kernel/signal.c 	if (restore_sigframe(regs, &frame->sig))
regs              280 arch/arm/kernel/signal.c 	return regs->ARM_r0;
regs              288 arch/arm/kernel/signal.c setup_sigframe(struct sigframe __user *sf, struct pt_regs *regs, sigset_t *set)
regs              295 arch/arm/kernel/signal.c 		.arm_r0        = regs->ARM_r0,
regs              296 arch/arm/kernel/signal.c 		.arm_r1        = regs->ARM_r1,
regs              297 arch/arm/kernel/signal.c 		.arm_r2        = regs->ARM_r2,
regs              298 arch/arm/kernel/signal.c 		.arm_r3        = regs->ARM_r3,
regs              299 arch/arm/kernel/signal.c 		.arm_r4        = regs->ARM_r4,
regs              300 arch/arm/kernel/signal.c 		.arm_r5        = regs->ARM_r5,
regs              301 arch/arm/kernel/signal.c 		.arm_r6        = regs->ARM_r6,
regs              302 arch/arm/kernel/signal.c 		.arm_r7        = regs->ARM_r7,
regs              303 arch/arm/kernel/signal.c 		.arm_r8        = regs->ARM_r8,
regs              304 arch/arm/kernel/signal.c 		.arm_r9        = regs->ARM_r9,
regs              305 arch/arm/kernel/signal.c 		.arm_r10       = regs->ARM_r10,
regs              306 arch/arm/kernel/signal.c 		.arm_fp        = regs->ARM_fp,
regs              307 arch/arm/kernel/signal.c 		.arm_ip        = regs->ARM_ip,
regs              308 arch/arm/kernel/signal.c 		.arm_sp        = regs->ARM_sp,
regs              309 arch/arm/kernel/signal.c 		.arm_lr        = regs->ARM_lr,
regs              310 arch/arm/kernel/signal.c 		.arm_pc        = regs->ARM_pc,
regs              311 arch/arm/kernel/signal.c 		.arm_cpsr      = regs->ARM_cpsr,
regs              342 arch/arm/kernel/signal.c get_sigframe(struct ksignal *ksig, struct pt_regs *regs, int framesize)
regs              344 arch/arm/kernel/signal.c 	unsigned long sp = sigsp(regs->ARM_sp, ksig);
regs              362 arch/arm/kernel/signal.c setup_return(struct pt_regs *regs, struct ksignal *ksig,
regs              369 arch/arm/kernel/signal.c 	unsigned long cpsr = regs->ARM_cpsr & ~(PSR_f | PSR_E_BIT);
regs              476 arch/arm/kernel/signal.c 	regs->ARM_r0 = ksig->sig;
regs              477 arch/arm/kernel/signal.c 	regs->ARM_sp = (unsigned long)frame;
regs              478 arch/arm/kernel/signal.c 	regs->ARM_lr = retcode;
regs              479 arch/arm/kernel/signal.c 	regs->ARM_pc = handler;
regs              481 arch/arm/kernel/signal.c 		regs->ARM_r9 = handler_fdpic_GOT;
regs              482 arch/arm/kernel/signal.c 	regs->ARM_cpsr = cpsr;
regs              488 arch/arm/kernel/signal.c setup_frame(struct ksignal *ksig, sigset_t *set, struct pt_regs *regs)
regs              490 arch/arm/kernel/signal.c 	struct sigframe __user *frame = get_sigframe(ksig, regs, sizeof(*frame));
regs              501 arch/arm/kernel/signal.c 	err |= setup_sigframe(frame, regs, set);
regs              503 arch/arm/kernel/signal.c 		err = setup_return(regs, ksig, frame->retcode, frame);
regs              509 arch/arm/kernel/signal.c setup_rt_frame(struct ksignal *ksig, sigset_t *set, struct pt_regs *regs)
regs              511 arch/arm/kernel/signal.c 	struct rt_sigframe __user *frame = get_sigframe(ksig, regs, sizeof(*frame));
regs              522 arch/arm/kernel/signal.c 	err |= __save_altstack(&frame->sig.uc.uc_stack, regs->ARM_sp);
regs              523 arch/arm/kernel/signal.c 	err |= setup_sigframe(&frame->sig, regs, set);
regs              525 arch/arm/kernel/signal.c 		err = setup_return(regs, ksig, frame->sig.retcode, frame);
regs              533 arch/arm/kernel/signal.c 		regs->ARM_r1 = (unsigned long)&frame->info;
regs              534 arch/arm/kernel/signal.c 		regs->ARM_r2 = (unsigned long)&frame->sig.uc;
regs              543 arch/arm/kernel/signal.c static void handle_signal(struct ksignal *ksig, struct pt_regs *regs)
regs              551 arch/arm/kernel/signal.c 	rseq_signal_deliver(ksig, regs);
regs              557 arch/arm/kernel/signal.c 		ret = setup_rt_frame(ksig, oldset, regs);
regs              559 arch/arm/kernel/signal.c 		ret = setup_frame(ksig, oldset, regs);
regs              564 arch/arm/kernel/signal.c 	ret |= !valid_user_regs(regs);
regs              578 arch/arm/kernel/signal.c static int do_signal(struct pt_regs *regs, int syscall)
regs              588 arch/arm/kernel/signal.c 		continue_addr = regs->ARM_pc;
regs              589 arch/arm/kernel/signal.c 		restart_addr = continue_addr - (thumb_mode(regs) ? 2 : 4);
regs              590 arch/arm/kernel/signal.c 		retval = regs->ARM_r0;
regs              604 arch/arm/kernel/signal.c 			regs->ARM_r0 = regs->ARM_ORIG_r0;
regs              605 arch/arm/kernel/signal.c 			regs->ARM_pc = restart_addr;
regs              621 arch/arm/kernel/signal.c 		if (unlikely(restart) && regs->ARM_pc == restart_addr) {
regs              626 arch/arm/kernel/signal.c 				regs->ARM_r0 = -EINTR;
regs              627 arch/arm/kernel/signal.c 				regs->ARM_pc = continue_addr;
regs              630 arch/arm/kernel/signal.c 		handle_signal(&ksig, regs);
regs              634 arch/arm/kernel/signal.c 		if (unlikely(restart) && regs->ARM_pc == restart_addr) {
regs              635 arch/arm/kernel/signal.c 			regs->ARM_pc = continue_addr;
regs              643 arch/arm/kernel/signal.c do_work_pending(struct pt_regs *regs, unsigned int thread_flags, int syscall)
regs              655 arch/arm/kernel/signal.c 			if (unlikely(!user_mode(regs)))
regs              659 arch/arm/kernel/signal.c 				int restart = do_signal(regs, syscall);
regs              670 arch/arm/kernel/signal.c 				uprobe_notify_resume(regs);
regs              673 arch/arm/kernel/signal.c 				tracehook_notify_resume(regs);
regs              674 arch/arm/kernel/signal.c 				rseq_handle_notify_resume(NULL, regs);
regs              720 arch/arm/kernel/signal.c asmlinkage void do_rseq_syscall(struct pt_regs *regs)
regs              722 arch/arm/kernel/signal.c 	rseq_syscall(regs);
regs              627 arch/arm/kernel/smp.c asmlinkage void __exception_irq_entry do_IPI(int ipinr, struct pt_regs *regs)
regs              629 arch/arm/kernel/smp.c 	handle_IPI(ipinr, regs);
regs              632 arch/arm/kernel/smp.c void handle_IPI(int ipinr, struct pt_regs *regs)
regs              635 arch/arm/kernel/smp.c 	struct pt_regs *old_regs = set_irq_regs(regs);
regs              687 arch/arm/kernel/smp.c 		nmi_cpu_backtrace(regs);
regs               76 arch/arm/kernel/stacktrace.c 	struct pt_regs *regs;
regs               94 arch/arm/kernel/stacktrace.c 	regs = (struct pt_regs *)frame->sp;
regs               96 arch/arm/kernel/stacktrace.c 	trace->entries[trace->nr_entries++] = regs->ARM_pc;
regs              138 arch/arm/kernel/stacktrace.c void save_stack_trace_regs(struct pt_regs *regs, struct stack_trace *trace)
regs              147 arch/arm/kernel/stacktrace.c 	frame.fp = regs->ARM_fp;
regs              148 arch/arm/kernel/stacktrace.c 	frame.sp = regs->ARM_sp;
regs              149 arch/arm/kernel/stacktrace.c 	frame.lr = regs->ARM_lr;
regs              150 arch/arm/kernel/stacktrace.c 	frame.pc = regs->ARM_pc;
regs               96 arch/arm/kernel/swp_emulate.c static void set_segfault(struct pt_regs *regs, unsigned long addr)
regs              108 arch/arm/kernel/swp_emulate.c 	arm_notify_die("Illegal memory access", regs,
regs              110 arch/arm/kernel/swp_emulate.c 		       (void __user *)instruction_pointer(regs),
regs              159 arch/arm/kernel/swp_emulate.c static int swp_handler(struct pt_regs *regs, unsigned int instr)
regs              164 arch/arm/kernel/swp_emulate.c 	perf_sw_event(PERF_COUNT_SW_EMULATION_FAULTS, 1, regs, regs->ARM_pc);
regs              166 arch/arm/kernel/swp_emulate.c 	res = arm_check_condition(instr, regs->ARM_cpsr);
regs              172 arch/arm/kernel/swp_emulate.c 		regs->ARM_pc += 4;
regs              187 arch/arm/kernel/swp_emulate.c 	address = regs->uregs[EXTRACT_REG_NUM(instr, RN_OFFSET)];
regs              188 arch/arm/kernel/swp_emulate.c 	data	= regs->uregs[EXTRACT_REG_NUM(instr, RT2_OFFSET)];
regs              212 arch/arm/kernel/swp_emulate.c 		regs->ARM_pc += 4;
regs              213 arch/arm/kernel/swp_emulate.c 		regs->uregs[destreg] = data;
regs              219 arch/arm/kernel/swp_emulate.c 		set_segfault(regs, address);
regs              237 arch/arm/kernel/tcm.c static int __init tcm_handler(struct pt_regs *regs, unsigned int instr)
regs              239 arch/arm/kernel/tcm.c 	regs->uregs[(instr >> DEST_REG_SHIFT) & DEST_REG_MASK] = 0;
regs              240 arch/arm/kernel/tcm.c 	regs->ARM_pc += 4;
regs               43 arch/arm/kernel/time.c unsigned long profile_pc(struct pt_regs *regs)
regs               47 arch/arm/kernel/time.c 	if (!in_lock_functions(regs->ARM_pc))
regs               48 arch/arm/kernel/time.c 		return regs->ARM_pc;
regs               50 arch/arm/kernel/time.c 	arm_get_current_stackframe(regs, &frame);
regs              155 arch/arm/kernel/traps.c static void __dump_instr(const char *lvl, struct pt_regs *regs)
regs              157 arch/arm/kernel/traps.c 	unsigned long addr = instruction_pointer(regs);
regs              158 arch/arm/kernel/traps.c 	const int thumb = thumb_mode(regs);
regs              187 arch/arm/kernel/traps.c static void dump_instr(const char *lvl, struct pt_regs *regs)
regs              191 arch/arm/kernel/traps.c 	if (!user_mode(regs)) {
regs              194 arch/arm/kernel/traps.c 		__dump_instr(lvl, regs);
regs              197 arch/arm/kernel/traps.c 		__dump_instr(lvl, regs);
regs              202 arch/arm/kernel/traps.c static inline void dump_backtrace(struct pt_regs *regs, struct task_struct *tsk)
regs              204 arch/arm/kernel/traps.c 	unwind_backtrace(regs, tsk);
regs              207 arch/arm/kernel/traps.c static void dump_backtrace(struct pt_regs *regs, struct task_struct *tsk)
regs              217 arch/arm/kernel/traps.c 	if (regs) {
regs              218 arch/arm/kernel/traps.c 		fp = frame_pointer(regs);
regs              219 arch/arm/kernel/traps.c 		mode = processor_mode(regs);
regs              265 arch/arm/kernel/traps.c static int __die(const char *str, int err, struct pt_regs *regs)
regs              275 arch/arm/kernel/traps.c 	ret = notify_die(DIE_OOPS, str, regs, err, tsk->thread.trap_no, SIGSEGV);
regs              280 arch/arm/kernel/traps.c 	__show_regs(regs);
regs              284 arch/arm/kernel/traps.c 	if (!user_mode(regs) || in_interrupt()) {
regs              285 arch/arm/kernel/traps.c 		dump_mem(KERN_EMERG, "Stack: ", regs->ARM_sp,
regs              287 arch/arm/kernel/traps.c 		dump_backtrace(regs, tsk);
regs              288 arch/arm/kernel/traps.c 		dump_instr(KERN_EMERG, regs);
regs              321 arch/arm/kernel/traps.c static void oops_end(unsigned long flags, struct pt_regs *regs, int signr)
regs              323 arch/arm/kernel/traps.c 	if (regs && kexec_should_crash(current))
regs              324 arch/arm/kernel/traps.c 		crash_kexec(regs);
regs              347 arch/arm/kernel/traps.c void die(const char *str, struct pt_regs *regs, int err)
regs              353 arch/arm/kernel/traps.c 	if (!user_mode(regs))
regs              354 arch/arm/kernel/traps.c 		bug_type = report_bug(regs->ARM_pc, regs);
regs              358 arch/arm/kernel/traps.c 	if (__die(str, err, regs))
regs              361 arch/arm/kernel/traps.c 	oops_end(flags, regs, sig);
regs              364 arch/arm/kernel/traps.c void arm_notify_die(const char *str, struct pt_regs *regs,
regs              368 arch/arm/kernel/traps.c 	if (user_mode(regs)) {
regs              374 arch/arm/kernel/traps.c 		die(str, regs, err);
regs              420 arch/arm/kernel/traps.c int call_undef_hook(struct pt_regs *regs, unsigned int instr)
regs              424 arch/arm/kernel/traps.c 	int (*fn)(struct pt_regs *regs, unsigned int instr) = NULL;
regs              429 arch/arm/kernel/traps.c 		    (regs->ARM_cpsr & hook->cpsr_mask) == hook->cpsr_val)
regs              433 arch/arm/kernel/traps.c 	return fn ? fn(regs, instr) : 1;
regs              436 arch/arm/kernel/traps.c asmlinkage void do_undefinstr(struct pt_regs *regs)
regs              441 arch/arm/kernel/traps.c 	pc = (void __user *)instruction_pointer(regs);
regs              443 arch/arm/kernel/traps.c 	if (processor_mode(regs) == SVC_MODE) {
regs              445 arch/arm/kernel/traps.c 		if (thumb_mode(regs)) {
regs              455 arch/arm/kernel/traps.c 	} else if (thumb_mode(regs)) {
regs              472 arch/arm/kernel/traps.c 	if (call_undef_hook(regs, instr) == 0)
regs              480 arch/arm/kernel/traps.c 		__show_regs(regs);
regs              481 arch/arm/kernel/traps.c 		dump_instr(KERN_INFO, regs);
regs              484 arch/arm/kernel/traps.c 	arm_notify_die("Oops - undefined instruction", regs,
regs              501 arch/arm/kernel/traps.c asmlinkage void __exception_irq_entry handle_fiq_as_nmi(struct pt_regs *regs)
regs              503 arch/arm/kernel/traps.c 	struct pt_regs *old_regs = set_irq_regs(regs);
regs              520 arch/arm/kernel/traps.c asmlinkage void bad_mode(struct pt_regs *regs, int reason)
regs              526 arch/arm/kernel/traps.c 	die("Oops - bad mode", regs, 0);
regs              531 arch/arm/kernel/traps.c static int bad_syscall(int n, struct pt_regs *regs)
regs              535 arch/arm/kernel/traps.c 		return regs->ARM_r0;
regs              542 arch/arm/kernel/traps.c 		dump_instr(KERN_ERR, regs);
regs              546 arch/arm/kernel/traps.c 	arm_notify_die("Oops - bad syscall", regs, SIGILL, ILL_ILLTRP,
regs              547 arch/arm/kernel/traps.c 		       (void __user *)instruction_pointer(regs) -
regs              548 arch/arm/kernel/traps.c 			 (thumb_mode(regs) ? 2 : 4),
regs              551 arch/arm/kernel/traps.c 	return regs->ARM_r0;
regs              593 arch/arm/kernel/traps.c asmlinkage int arm_syscall(int no, struct pt_regs *regs)
regs              596 arch/arm/kernel/traps.c 		return bad_syscall(no, regs);
regs              600 arch/arm/kernel/traps.c 		arm_notify_die("branch through zero", regs,
regs              605 arch/arm/kernel/traps.c 		regs->ARM_pc -= thumb_mode(regs) ? 2 : 4;
regs              606 arch/arm/kernel/traps.c 		ptrace_break(regs);
regs              607 arch/arm/kernel/traps.c 		return regs->ARM_r0;
regs              624 arch/arm/kernel/traps.c 		return do_cache_op(regs->ARM_r0, regs->ARM_r1, regs->ARM_r2);
regs              629 arch/arm/kernel/traps.c 		regs->ARM_cpsr &= ~MODE32_BIT;
regs              630 arch/arm/kernel/traps.c 		return regs->ARM_r0;
regs              635 arch/arm/kernel/traps.c 		regs->ARM_cpsr |= MODE32_BIT;
regs              636 arch/arm/kernel/traps.c 		return regs->ARM_r0;
regs              639 arch/arm/kernel/traps.c 		set_tls(regs->ARM_r0);
regs              662 arch/arm/kernel/traps.c 		dump_instr("", regs);
regs              663 arch/arm/kernel/traps.c 		if (user_mode(regs)) {
regs              664 arch/arm/kernel/traps.c 			__show_regs(regs);
regs              665 arch/arm/kernel/traps.c 			c_backtrace(frame_pointer(regs), processor_mode(regs));
regs              669 arch/arm/kernel/traps.c 	arm_notify_die("Oops - bad syscall(2)", regs, SIGILL, ILL_ILLTRP,
regs              670 arch/arm/kernel/traps.c 		       (void __user *)instruction_pointer(regs) -
regs              671 arch/arm/kernel/traps.c 			 (thumb_mode(regs) ? 2 : 4),
regs              686 arch/arm/kernel/traps.c static int get_tp_trap(struct pt_regs *regs, unsigned int instr)
regs              691 arch/arm/kernel/traps.c 	regs->uregs[reg] = current_thread_info()->tp_value[0];
regs              692 arch/arm/kernel/traps.c 	regs->ARM_pc += 4;
regs              719 arch/arm/kernel/traps.c baddataabort(int code, unsigned long instr, struct pt_regs *regs)
regs              721 arch/arm/kernel/traps.c 	unsigned long addr = instruction_pointer(regs);
regs              728 arch/arm/kernel/traps.c 		dump_instr(KERN_ERR, regs);
regs              733 arch/arm/kernel/traps.c 	arm_notify_die("unknown data abort code", regs,
regs              458 arch/arm/kernel/unwind.c void unwind_backtrace(struct pt_regs *regs, struct task_struct *tsk)
regs              462 arch/arm/kernel/unwind.c 	pr_debug("%s(regs = %p tsk = %p)\n", __func__, regs, tsk);
regs              467 arch/arm/kernel/unwind.c 	if (regs) {
regs              468 arch/arm/kernel/unwind.c 		arm_get_current_stackframe(regs, &frame);
regs              470 arch/arm/kernel/unwind.c 		if (!kernel_text_address(regs->ARM_pc))
regs              471 arch/arm/kernel/unwind.c 			frame.pc = regs->ARM_lr;
regs               46 arch/arm/kvm/guest.c 	struct kvm_regs *regs = &vcpu->arch.ctxt.gp_regs;
regs               54 arch/arm/kvm/guest.c 	if (off >= sizeof(*regs) / KVM_REG_SIZE(reg->id))
regs               57 arch/arm/kvm/guest.c 	return put_user(((u32 *)regs)[off], uaddr);
regs               63 arch/arm/kvm/guest.c 	struct kvm_regs *regs = &vcpu->arch.ctxt.gp_regs;
regs               71 arch/arm/kvm/guest.c 	if (off >= sizeof(*regs) / KVM_REG_SIZE(reg->id))
regs               92 arch/arm/kvm/guest.c 	((u32 *)regs)[off] = val;
regs               96 arch/arm/kvm/guest.c int kvm_arch_vcpu_ioctl_get_regs(struct kvm_vcpu *vcpu, struct kvm_regs *regs)
regs              101 arch/arm/kvm/guest.c int kvm_arch_vcpu_ioctl_set_regs(struct kvm_vcpu *vcpu, struct kvm_regs *regs)
regs               25 arch/arm/mach-bcm/bcm_5301x.c 				  struct pt_regs *regs)
regs              255 arch/arm/mach-cns3xxx/pcie.c 				      struct pt_regs *regs)
regs              258 arch/arm/mach-cns3xxx/pcie.c 		regs->ARM_pc += 4;
regs               46 arch/arm/mach-dove/irq.c __exception_irq_entry dove_legacy_handle_irq(struct pt_regs *regs)
regs               54 arch/arm/mach-dove/irq.c 		handle_IRQ(hwirq, regs);
regs               61 arch/arm/mach-dove/irq.c 		handle_IRQ(hwirq, regs);
regs              181 arch/arm/mach-exynos/firmware.c static void exynos_l2_configure(const struct l2x0_regs *regs)
regs              183 arch/arm/mach-exynos/firmware.c 	exynos_smc(SMC_CMD_L2X0SETUP1, regs->tag_latency, regs->data_latency,
regs              184 arch/arm/mach-exynos/firmware.c 		   regs->prefetch_ctrl);
regs              185 arch/arm/mach-exynos/firmware.c 	exynos_smc(SMC_CMD_L2X0SETUP2, regs->pwr_ctrl, regs->aux_ctrl, 0);
regs               87 arch/arm/mach-imx/avic.c 	avic_saved_mask_reg[idx] = imx_readl(avic_base + ct->regs.mask);
regs               88 arch/arm/mach-imx/avic.c 	imx_writel(gc->wake_active, avic_base + ct->regs.mask);
regs              109 arch/arm/mach-imx/avic.c 	imx_writel(avic_saved_mask_reg[idx], avic_base + ct->regs.mask);
regs              141 arch/arm/mach-imx/avic.c 	ct->regs.mask = !idx ? AVIC_INTENABLEL : AVIC_INTENABLEH;
regs              142 arch/arm/mach-imx/avic.c 	ct->regs.ack = ct->regs.mask;
regs              147 arch/arm/mach-imx/avic.c static void __exception_irq_entry avic_handle_irq(struct pt_regs *regs)
regs              156 arch/arm/mach-imx/avic.c 		handle_domain_irq(domain, nivector, regs);
regs              209 arch/arm/mach-imx/mach-qong.c 	void __iomem *regs;
regs              212 arch/arm/mach-imx/mach-qong.c 	regs = ioremap(QONG_FPGA_CTRL_BASEADDR, QONG_FPGA_CTRL_SIZE);
regs              213 arch/arm/mach-imx/mach-qong.c 	if (!regs) {
regs              219 arch/arm/mach-imx/mach-qong.c 	fpga_ver = readl(regs + QONG_FPGA_CTRL_VERSION);
regs              220 arch/arm/mach-imx/mach-qong.c 	iounmap(regs);
regs              116 arch/arm/mach-imx/tzic.c 	ct->regs.disable = TZIC_ENCLEAR0(idx);
regs              117 arch/arm/mach-imx/tzic.c 	ct->regs.enable = TZIC_ENSET0(idx);
regs              122 arch/arm/mach-imx/tzic.c static void __exception_irq_entry tzic_handle_irq(struct pt_regs *regs)
regs              137 arch/arm/mach-imx/tzic.c 				handle_domain_irq(domain, irqofs + i * 32, regs);
regs               10 arch/arm/mach-iop32x/cp6.c static int cp6_trap(struct pt_regs *regs, unsigned int instr)
regs              170 arch/arm/mach-iop32x/pci.c iop3xx_pci_abort(unsigned long addr, unsigned int fsr, struct pt_regs *regs)
regs              173 arch/arm/mach-iop32x/pci.c 		addr, fsr, regs->ARM_pc, regs->ARM_lr);
regs              180 arch/arm/mach-iop32x/pci.c 		regs->ARM_pc += 4;
regs              290 arch/arm/mach-ixp4xx/common-pci.c static int abort_handler(unsigned long addr, unsigned int fsr, struct pt_regs *regs)
regs              309 arch/arm/mach-ixp4xx/common-pci.c 		regs->ARM_pc += 4;
regs               30 arch/arm/mach-mv78xx0/irq.c __exception_irq_entry mv78xx0_legacy_handle_irq(struct pt_regs *regs)
regs               38 arch/arm/mach-mv78xx0/irq.c 		handle_IRQ(hwirq, regs);
regs               45 arch/arm/mach-mv78xx0/irq.c 		handle_IRQ(hwirq, regs);
regs               52 arch/arm/mach-mv78xx0/irq.c 		handle_IRQ(hwirq, regs);
regs               78 arch/arm/mach-omap1/common.h void __exception_irq_entry omap1_handle_irq(struct pt_regs *regs);
regs               55 arch/arm/mach-omap1/gpio15xx.c 	.regs			= &omap15xx_mpuio_regs,
regs               95 arch/arm/mach-omap1/gpio15xx.c 	.regs                   = &omap15xx_gpio_regs,
regs               63 arch/arm/mach-omap1/gpio16xx.c 	.regs                   = &omap16xx_mpuio_regs,
regs              107 arch/arm/mach-omap1/gpio16xx.c 	.regs                   = &omap16xx_gpio_regs,
regs              135 arch/arm/mach-omap1/gpio16xx.c 	.regs                   = &omap16xx_gpio_regs,
regs              163 arch/arm/mach-omap1/gpio16xx.c 	.regs                   = &omap16xx_gpio_regs,
regs              191 arch/arm/mach-omap1/gpio16xx.c 	.regs                   = &omap16xx_gpio_regs,
regs               62 arch/arm/mach-omap1/gpio7xx.c 	.regs                   = &omap7xx_mpuio_regs,
regs              101 arch/arm/mach-omap1/gpio7xx.c 	.regs			= &omap7xx_gpio_regs,
regs              129 arch/arm/mach-omap1/gpio7xx.c 	.regs			= &omap7xx_gpio_regs,
regs              157 arch/arm/mach-omap1/gpio7xx.c 	.regs			= &omap7xx_gpio_regs,
regs              185 arch/arm/mach-omap1/gpio7xx.c 	.regs			= &omap7xx_gpio_regs,
regs              213 arch/arm/mach-omap1/gpio7xx.c 	.regs			= &omap7xx_gpio_regs,
regs              241 arch/arm/mach-omap1/gpio7xx.c 	.regs			= &omap7xx_gpio_regs,
regs              144 arch/arm/mach-omap1/irq.c asmlinkage void __exception_irq_entry omap1_handle_irq(struct pt_regs *regs)
regs              168 arch/arm/mach-omap1/irq.c 			handle_domain_irq(domain, irqnr, regs);
regs              187 arch/arm/mach-omap1/irq.c 	ct->regs.mask = IRQ_MIR_REG_OFFSET;
regs             3465 arch/arm/mach-omap2/omap_hwmod.c 	void __iomem *regs = NULL;
regs             3481 arch/arm/mach-omap2/omap_hwmod.c 		regs = ioremap(data->module_pa,
regs             3483 arch/arm/mach-omap2/omap_hwmod.c 		if (!regs)
regs             3512 arch/arm/mach-omap2/omap_hwmod.c 	if (regs)
regs             3513 arch/arm/mach-omap2/omap_hwmod.c 		oh->_mpu_rt_va = regs;
regs              147 arch/arm/mach-omap2/prm.h 	int (*clear_mod_irqs)(s16 module, u8 regs, u32 wkst_mask);
regs              165 arch/arm/mach-omap2/prm.h int omap_prm_clear_mod_irqs(s16 module, u8 regs, u32 wkst_mask);
regs              123 arch/arm/mach-omap2/prm2xxx.c static int omap2xxx_prm_clear_mod_irqs(s16 module, u8 regs, u32 wkst_mask)
regs              127 arch/arm/mach-omap2/prm2xxx.c 	wkst = omap2_prm_read_mod_reg(module, regs);
regs              129 arch/arm/mach-omap2/prm2xxx.c 	omap2_prm_write_mod_reg(wkst, module, regs);
regs              227 arch/arm/mach-omap2/prm3xxx.c static int omap3xxx_prm_clear_mod_irqs(s16 module, u8 regs, u32 wkst_mask)
regs              230 arch/arm/mach-omap2/prm3xxx.c 	u16 wkst_off = (regs == 3) ? OMAP3430ES2_PM_WKST3 : PM_WKST1;
regs              231 arch/arm/mach-omap2/prm3xxx.c 	u16 fclk_off = (regs == 3) ? OMAP3430ES2_CM_FCLKEN3 : CM_FCLKEN1;
regs              232 arch/arm/mach-omap2/prm3xxx.c 	u16 iclk_off = (regs == 3) ? CM_ICLKEN3 : CM_ICLKEN1;
regs              233 arch/arm/mach-omap2/prm3xxx.c 	u16 grpsel_off = (regs == 3) ?
regs              330 arch/arm/mach-omap2/prm_common.c 		ct->regs.ack = irq_setup->ack + i * 4;
regs              331 arch/arm/mach-omap2/prm_common.c 		ct->regs.mask = irq_setup->mask + i * 4;
regs              538 arch/arm/mach-omap2/prm_common.c int omap_prm_clear_mod_irqs(s16 module, u8 regs, u32 wkst_mask)
regs              546 arch/arm/mach-omap2/prm_common.c 	return prm_ll_data->clear_mod_irqs(module, regs, wkst_mask);
regs               30 arch/arm/mach-orion5x/irq.c __exception_irq_entry orion5x_legacy_handle_irq(struct pt_regs *regs)
regs               38 arch/arm/mach-orion5x/irq.c 		handle_IRQ(hwirq, regs);
regs               24 arch/arm/mach-prima2/common.h extern asmlinkage void __exception_irq_entry sirfsoc_handle_irq(struct pt_regs *regs);
regs              268 arch/arm/mach-pxa/corgi.c 	.regs       = &corgi_fb_regs,
regs              408 arch/arm/mach-pxa/eseries.c 	.regs       = &e740_lcd_regs,
regs              604 arch/arm/mach-pxa/eseries.c 	.regs       = &e750_lcd_regs,
regs              864 arch/arm/mach-pxa/eseries.c 	.regs       = &e800_lcd_regs,
regs               96 arch/arm/mach-pxa/himalaya.c 	.regs       = &himalaya_lcd_regs,
regs              512 arch/arm/mach-pxa/hx4700.c 	.regs      = &w3220_regs,
regs               91 arch/arm/mach-pxa/irq.c asmlinkage void __exception_irq_entry icip_handle_irq(struct pt_regs *regs)
regs              103 arch/arm/mach-pxa/irq.c 		handle_IRQ(PXA_IRQ(fls(mask) - 1), regs);
regs              107 arch/arm/mach-pxa/irq.c asmlinkage void __exception_irq_entry ichp_handle_irq(struct pt_regs *regs)
regs              117 arch/arm/mach-pxa/irq.c 		handle_IRQ(PXA_IRQ(ICHP_IRQ(ichp)), regs);
regs              270 arch/arm/mach-rpc/dma.c 	struct pt_regs regs;
regs              285 arch/arm/mach-rpc/dma.c 	regs.ARM_r9  = fdma->dma.count;
regs              286 arch/arm/mach-rpc/dma.c 	regs.ARM_r10 = (unsigned long)fdma->dma.addr;
regs              287 arch/arm/mach-rpc/dma.c 	regs.ARM_fp  = (unsigned long)FLOPPYDMA_BASE;
regs              295 arch/arm/mach-rpc/dma.c 	set_fiq_regs(&regs);
regs              308 arch/arm/mach-rpc/dma.c 	struct pt_regs regs;
regs              309 arch/arm/mach-rpc/dma.c 	get_fiq_regs(&regs);
regs              310 arch/arm/mach-rpc/dma.c 	return regs.ARM_r9;
regs               78 arch/arm/mach-s3c24xx/include/mach/pm-core.h static inline void s3c_pm_arch_update_uart(void __iomem *regs,
regs              175 arch/arm/mach-s3c24xx/iotiming-s3c2412.c 	void __iomem *regs;
regs              185 arch/arm/mach-s3c24xx/iotiming-s3c2412.c 		regs = S3C2412_SSMC_BANK(bank);
regs              187 arch/arm/mach-s3c24xx/iotiming-s3c2412.c 		__raw_writel(bt->smbidcyr, regs + SMBIDCYR);
regs              188 arch/arm/mach-s3c24xx/iotiming-s3c2412.c 		__raw_writel(bt->smbwstrd, regs + SMBWSTRDR);
regs              189 arch/arm/mach-s3c24xx/iotiming-s3c2412.c 		__raw_writel(bt->smbwstwr, regs + SMBWSTWRR);
regs              190 arch/arm/mach-s3c24xx/iotiming-s3c2412.c 		__raw_writel(bt->smbwstoen, regs + SMBWSTOENR);
regs              191 arch/arm/mach-s3c24xx/iotiming-s3c2412.c 		__raw_writel(bt->smbwstwen, regs + SMBWSTWENR);
regs              192 arch/arm/mach-s3c24xx/iotiming-s3c2412.c 		__raw_writel(bt->smbwstbrd, regs + SMBWSTBRDR);
regs              206 arch/arm/mach-s3c24xx/iotiming-s3c2412.c 	void __iomem *regs = S3C2412_SSMC_BANK(bank);
regs              208 arch/arm/mach-s3c24xx/iotiming-s3c2412.c 	bt->idcy = s3c2412_decode_timing(clk, __raw_readl(regs + SMBIDCYR));
regs              209 arch/arm/mach-s3c24xx/iotiming-s3c2412.c 	bt->wstrd = s3c2412_decode_timing(clk, __raw_readl(regs + SMBWSTRDR));
regs              210 arch/arm/mach-s3c24xx/iotiming-s3c2412.c 	bt->wstoen = s3c2412_decode_timing(clk, __raw_readl(regs + SMBWSTOENR));
regs              211 arch/arm/mach-s3c24xx/iotiming-s3c2412.c 	bt->wstwen = s3c2412_decode_timing(clk, __raw_readl(regs + SMBWSTWENR));
regs              212 arch/arm/mach-s3c24xx/iotiming-s3c2412.c 	bt->wstbrd = s3c2412_decode_timing(clk, __raw_readl(regs + SMBWSTBRDR));
regs               66 arch/arm/mach-s3c64xx/include/mach/pm-core.h static inline void s3c_pm_arch_update_uart(void __iomem *regs,
regs               69 arch/arm/mach-s3c64xx/include/mach/pm-core.h 	u32 ucon = __raw_readl(regs + S3C2410_UCON);
regs               10 arch/arm/mach-s3c64xx/irq-uart.h 	void __iomem	*regs;
regs              102 arch/arm/mach-s3c64xx/mach-crag6410-module.c 		.regs = {
regs              111 arch/arm/mach-s3c64xx/mach-crag6410-module.c 		.regs = {
regs              327 arch/arm/mm/alignment.c do_alignment_finish_ldst(unsigned long addr, u32 instr, struct pt_regs *regs, union offset_union offset)
regs              336 arch/arm/mm/alignment.c 		regs->uregs[RN_BITS(instr)] = addr;
regs              340 arch/arm/mm/alignment.c do_alignment_ldrhstrh(unsigned long addr, u32 instr, struct pt_regs *regs)
regs              346 arch/arm/mm/alignment.c 	if (user_mode(regs))
regs              357 arch/arm/mm/alignment.c 		regs->uregs[rd] = val;
regs              359 arch/arm/mm/alignment.c 		put16_unaligned_check(regs->uregs[rd], addr);
regs              375 arch/arm/mm/alignment.c 		regs->uregs[rd] = val;
regs              378 arch/arm/mm/alignment.c 		put16t_unaligned_check(regs->uregs[rd], addr);
regs              389 arch/arm/mm/alignment.c do_alignment_ldrdstrd(unsigned long addr, u32 instr, struct pt_regs *regs)
regs              408 arch/arm/mm/alignment.c 	if (user_mode(regs))
regs              414 arch/arm/mm/alignment.c 		regs->uregs[rd] = val;
regs              416 arch/arm/mm/alignment.c 		regs->uregs[rd2] = val;
regs              418 arch/arm/mm/alignment.c 		put32_unaligned_check(regs->uregs[rd], addr);
regs              419 arch/arm/mm/alignment.c 		put32_unaligned_check(regs->uregs[rd2], addr + 4);
regs              434 arch/arm/mm/alignment.c 		regs->uregs[rd] = val;
regs              435 arch/arm/mm/alignment.c 		regs->uregs[rd2] = val2;
regs              438 arch/arm/mm/alignment.c 		put32t_unaligned_check(regs->uregs[rd], addr);
regs              439 arch/arm/mm/alignment.c 		put32t_unaligned_check(regs->uregs[rd2], addr + 4);
regs              451 arch/arm/mm/alignment.c do_alignment_ldrstr(unsigned long addr, u32 instr, struct pt_regs *regs)
regs              457 arch/arm/mm/alignment.c 	if ((!LDST_P_BIT(instr) && LDST_W_BIT(instr)) || user_mode(regs))
regs              463 arch/arm/mm/alignment.c 		regs->uregs[rd] = val;
regs              465 arch/arm/mm/alignment.c 		put32_unaligned_check(regs->uregs[rd], addr);
regs              474 arch/arm/mm/alignment.c 		regs->uregs[rd] = val;
regs              477 arch/arm/mm/alignment.c 		put32t_unaligned_check(regs->uregs[rd], addr);
regs              500 arch/arm/mm/alignment.c do_alignment_ldmstm(unsigned long addr, u32 instr, struct pt_regs *regs)
regs              509 arch/arm/mm/alignment.c 	regs->ARM_pc += correction;
regs              517 arch/arm/mm/alignment.c 	newaddr = eaddr = regs->uregs[rn];
regs              543 arch/arm/mm/alignment.c 			 instruction_pointer(regs), instr, addr, eaddr);
regs              544 arch/arm/mm/alignment.c 		show_regs(regs);
regs              548 arch/arm/mm/alignment.c 	if (user_mode(regs)) {
regs              556 arch/arm/mm/alignment.c 					regs->uregs[rd] = val;
regs              558 arch/arm/mm/alignment.c 					put32t_unaligned_check(regs->uregs[rd], eaddr);
regs              569 arch/arm/mm/alignment.c 					regs->uregs[rd] = val;
regs              571 arch/arm/mm/alignment.c 					put32_unaligned_check(regs->uregs[rd], eaddr);
regs              577 arch/arm/mm/alignment.c 		regs->uregs[rn] = newaddr;
regs              579 arch/arm/mm/alignment.c 		regs->ARM_pc -= correction;
regs              583 arch/arm/mm/alignment.c 	regs->ARM_pc -= correction;
regs              718 arch/arm/mm/alignment.c do_alignment_t32_to_handler(u32 *pinstr, struct pt_regs *regs,
regs              769 arch/arm/mm/alignment.c static int alignment_get_arm(struct pt_regs *regs, u32 *ip, u32 *inst)
regs              774 arch/arm/mm/alignment.c 	if (user_mode(regs))
regs              784 arch/arm/mm/alignment.c static int alignment_get_thumb(struct pt_regs *regs, u16 *ip, u16 *inst)
regs              789 arch/arm/mm/alignment.c 	if (user_mode(regs))
regs              800 arch/arm/mm/alignment.c do_alignment(unsigned long addr, unsigned int fsr, struct pt_regs *regs)
regs              804 arch/arm/mm/alignment.c 	int (*handler)(unsigned long addr, u32 instr, struct pt_regs *regs);
regs              812 arch/arm/mm/alignment.c 	if (interrupts_enabled(regs))
regs              815 arch/arm/mm/alignment.c 	instrptr = instruction_pointer(regs);
regs              817 arch/arm/mm/alignment.c 	if (thumb_mode(regs)) {
regs              820 arch/arm/mm/alignment.c 		fault = alignment_get_thumb(regs, ptr, &tinstr);
regs              826 arch/arm/mm/alignment.c 				fault = alignment_get_thumb(regs, ptr + 1, &tinst2);
regs              835 arch/arm/mm/alignment.c 		fault = alignment_get_arm(regs, (void *)instrptr, &instr);
regs              843 arch/arm/mm/alignment.c 	if (user_mode(regs))
regs              847 arch/arm/mm/alignment.c 	ai_sys_last_pc = (void *)instruction_pointer(regs);
regs              851 arch/arm/mm/alignment.c 	regs->ARM_pc += isize;
regs              858 arch/arm/mm/alignment.c 			offset.un = regs->uregs[RM_BITS(instr)];
regs              880 arch/arm/mm/alignment.c 		offset.un = regs->uregs[RM_BITS(instr)];
regs              901 arch/arm/mm/alignment.c 					if (regs->ARM_cpsr & PSR_C_BIT)
regs              915 arch/arm/mm/alignment.c 			handler = do_alignment_t32_to_handler(&instr, regs, &offset);
regs              928 arch/arm/mm/alignment.c 	type = handler(addr, instr, regs);
regs              931 arch/arm/mm/alignment.c 		regs->ARM_pc -= isize;
regs              936 arch/arm/mm/alignment.c 		do_alignment_finish_ldst(addr, instr, regs, offset);
regs              946 arch/arm/mm/alignment.c 	do_bad_area(addr, fsr, regs);
regs                8 arch/arm/mm/extable.c int fixup_exception(struct pt_regs *regs)
regs               12 arch/arm/mm/extable.c 	fixup = search_exception_tables(instruction_pointer(regs));
regs               14 arch/arm/mm/extable.c 		regs->ARM_pc = fixup->fixup;
regs               17 arch/arm/mm/extable.c 		regs->ARM_cpsr &= ~PSR_IT_MASK;
regs              107 arch/arm/mm/fault.c 		  struct pt_regs *regs)
regs              112 arch/arm/mm/fault.c 	if (fixup_exception(regs))
regs              125 arch/arm/mm/fault.c 	die("Oops", regs, fsr);
regs              136 arch/arm/mm/fault.c 		int code, struct pt_regs *regs)
regs              150 arch/arm/mm/fault.c 		show_regs(regs);
regs              166 arch/arm/mm/fault.c void do_bad_area(unsigned long addr, unsigned int fsr, struct pt_regs *regs)
regs              175 arch/arm/mm/fault.c 	if (user_mode(regs))
regs              176 arch/arm/mm/fault.c 		__do_user_fault(addr, fsr, SIGSEGV, SEGV_MAPERR, regs);
regs              178 arch/arm/mm/fault.c 		__do_kernel_fault(mm, addr, fsr, regs);
regs              238 arch/arm/mm/fault.c do_page_fault(unsigned long addr, unsigned int fsr, struct pt_regs *regs)
regs              246 arch/arm/mm/fault.c 	if (kprobe_page_fault(regs, fsr))
regs              253 arch/arm/mm/fault.c 	if (interrupts_enabled(regs))
regs              263 arch/arm/mm/fault.c 	if (user_mode(regs))
regs              274 arch/arm/mm/fault.c 		if (!user_mode(regs) && !search_exception_tables(regs->ARM_pc))
regs              286 arch/arm/mm/fault.c 		if (!user_mode(regs) &&
regs              287 arch/arm/mm/fault.c 		    !search_exception_tables(regs->ARM_pc))
regs              299 arch/arm/mm/fault.c 		if (!user_mode(regs))
regs              310 arch/arm/mm/fault.c 	perf_sw_event(PERF_COUNT_SW_PAGE_FAULTS, 1, regs, addr);
regs              315 arch/arm/mm/fault.c 					regs, addr);
regs              319 arch/arm/mm/fault.c 					regs, addr);
regs              342 arch/arm/mm/fault.c 	if (!user_mode(regs))
regs              372 arch/arm/mm/fault.c 	__do_user_fault(addr, fsr, sig, code, regs);
regs              376 arch/arm/mm/fault.c 	__do_kernel_fault(mm, addr, fsr, regs);
regs              381 arch/arm/mm/fault.c do_page_fault(unsigned long addr, unsigned int fsr, struct pt_regs *regs)
regs              407 arch/arm/mm/fault.c 		     struct pt_regs *regs)
regs              415 arch/arm/mm/fault.c 		return do_page_fault(addr, fsr, regs);
regs              417 arch/arm/mm/fault.c 	if (user_mode(regs))
regs              464 arch/arm/mm/fault.c 	do_bad_area(addr, fsr, regs);
regs              470 arch/arm/mm/fault.c 		     struct pt_regs *regs)
regs              482 arch/arm/mm/fault.c do_sect_fault(unsigned long addr, unsigned int fsr, struct pt_regs *regs)
regs              484 arch/arm/mm/fault.c 	do_bad_area(addr, fsr, regs);
regs              493 arch/arm/mm/fault.c do_bad(unsigned long addr, unsigned int fsr, struct pt_regs *regs)
regs              499 arch/arm/mm/fault.c 	int	(*fn)(unsigned long addr, unsigned int fsr, struct pt_regs *regs);
regs              529 arch/arm/mm/fault.c do_DataAbort(unsigned long addr, unsigned int fsr, struct pt_regs *regs)
regs              533 arch/arm/mm/fault.c 	if (!inf->fn(addr, fsr & ~FSR_LNX_PF, regs))
regs              541 arch/arm/mm/fault.c 	arm_notify_die("", regs, inf->sig, inf->code, (void __user *)addr,
regs              559 arch/arm/mm/fault.c do_PrefetchAbort(unsigned long addr, unsigned int ifsr, struct pt_regs *regs)
regs              563 arch/arm/mm/fault.c 	if (!inf->fn(addr, ifsr | FSR_LNX_PF, regs))
regs              569 arch/arm/mm/fault.c 	arm_notify_die("", regs, inf->sig, inf->code, (void __user *)addr,
regs              579 arch/arm/mm/fault.c 				      struct pt_regs *regs)
regs               31 arch/arm/mm/fault.h void do_bad_area(unsigned long addr, unsigned int fsr, struct pt_regs *regs);
regs              203 arch/arm/net/bpf_jit_32.h #define ARM_LDM(rn, regs)	(ARM_INST_LDM | (rn) << 16 | (regs))
regs              204 arch/arm/net/bpf_jit_32.h #define ARM_LDM_IA(rn, regs)	(ARM_INST_LDM_IA | (rn) << 16 | (regs))
regs              230 arch/arm/net/bpf_jit_32.h #define ARM_POP(regs)		(ARM_INST_POP | (regs))
regs              231 arch/arm/net/bpf_jit_32.h #define ARM_PUSH(regs)		(ARM_INST_PUSH | (regs))
regs              106 arch/arm/oprofile/common.c static void arm_backtrace(struct pt_regs * const regs, unsigned int depth)
regs              108 arch/arm/oprofile/common.c 	struct frame_tail *tail = ((struct frame_tail *) regs->ARM_fp) - 1;
regs              110 arch/arm/oprofile/common.c 	if (!user_mode(regs)) {
regs              112 arch/arm/oprofile/common.c 		arm_get_current_stackframe(regs, &frame);
regs              503 arch/arm/plat-orion/gpio.c 	reg_val = irq_reg_readl(gc, ct->regs.mask);
regs              505 arch/arm/plat-orion/gpio.c 	irq_reg_writel(gc, reg_val, ct->regs.mask);
regs              517 arch/arm/plat-orion/gpio.c 	reg_val = irq_reg_readl(gc, ct->regs.mask);
regs              519 arch/arm/plat-orion/gpio.c 	irq_reg_writel(gc, reg_val, ct->regs.mask);
regs              590 arch/arm/plat-orion/gpio.c 	ct->regs.mask = ochip->mask_offset + GPIO_LEVEL_MASK_OFF;
regs              598 arch/arm/plat-orion/gpio.c 	ct->regs.mask = ochip->mask_offset + GPIO_EDGE_MASK_OFF;
regs              599 arch/arm/plat-orion/gpio.c 	ct->regs.ack = GPIO_EDGE_CAUSE_OFF;
regs               68 arch/arm/plat-samsung/adc.c 	void __iomem		*regs;
regs               85 arch/arm/plat-samsung/adc.c 	unsigned con = readl(adc->regs + S3C2410_ADCCON);
regs               88 arch/arm/plat-samsung/adc.c 	writel(con, adc->regs + S3C2410_ADCCON);
regs               94 arch/arm/plat-samsung/adc.c 	unsigned con = readl(adc->regs + S3C2410_ADCCON);
regs              106 arch/arm/plat-samsung/adc.c 			writel(client->channel & 0xf, adc->regs + S5P_ADCMUX);
regs              109 arch/arm/plat-samsung/adc.c 						adc->regs + S3C2443_ADCMUX);
regs              114 arch/arm/plat-samsung/adc.c 	writel(con, adc->regs + S3C2410_ADCCON);
regs              120 arch/arm/plat-samsung/adc.c 		readl(adc->regs + S3C2410_ADCCON),
regs              121 arch/arm/plat-samsung/adc.c 		readl(adc->regs + S3C2410_ADCTSC),
regs              122 arch/arm/plat-samsung/adc.c 		readl(adc->regs + S3C2410_ADCDLY));
regs              292 arch/arm/plat-samsung/adc.c 	data0 = readl(adc->regs + S3C2410_ADCDAT0);
regs              293 arch/arm/plat-samsung/adc.c 	data1 = readl(adc->regs + S3C2410_ADCDAT1);
regs              327 arch/arm/plat-samsung/adc.c 		writel(0, adc->regs + S3C64XX_ADCCLRINT);
regs              336 arch/arm/plat-samsung/adc.c 	struct resource *regs;
regs              375 arch/arm/plat-samsung/adc.c 	regs = platform_get_resource(pdev, IORESOURCE_MEM, 0);
regs              376 arch/arm/plat-samsung/adc.c 	adc->regs = devm_ioremap_resource(dev, regs);
regs              377 arch/arm/plat-samsung/adc.c 	if (IS_ERR(adc->regs))
regs              378 arch/arm/plat-samsung/adc.c 		return PTR_ERR(adc->regs);
regs              394 arch/arm/plat-samsung/adc.c 	writel(tmp, adc->regs + S3C2410_ADCCON);
regs              423 arch/arm/plat-samsung/adc.c 	con = readl(adc->regs + S3C2410_ADCCON);
regs              425 arch/arm/plat-samsung/adc.c 	writel(con, adc->regs + S3C2410_ADCCON);
regs              457 arch/arm/plat-samsung/adc.c 	writel(tmp, adc->regs + S3C2410_ADCCON);
regs               26 arch/arm/plat-samsung/pm-debug.c static inline void s3c_pm_arch_update_uart(void __iomem *regs,
regs               64 arch/arm/plat-samsung/pm-debug.c 	void __iomem *regs = s3c_pm_uart_base();
regs               67 arch/arm/plat-samsung/pm-debug.c 	save->ulcon = __raw_readl(regs + S3C2410_ULCON);
regs               68 arch/arm/plat-samsung/pm-debug.c 	save->ucon = __raw_readl(regs + S3C2410_UCON);
regs               69 arch/arm/plat-samsung/pm-debug.c 	save->ufcon = __raw_readl(regs + S3C2410_UFCON);
regs               70 arch/arm/plat-samsung/pm-debug.c 	save->umcon = __raw_readl(regs + S3C2410_UMCON);
regs               71 arch/arm/plat-samsung/pm-debug.c 	save->ubrdiv = __raw_readl(regs + S3C2410_UBRDIV);
regs               74 arch/arm/plat-samsung/pm-debug.c 		save->udivslot = __raw_readl(regs + S3C2443_DIVSLOT);
regs               77 arch/arm/plat-samsung/pm-debug.c 		  regs, save->ulcon, save->ucon, save->ufcon, save->ubrdiv);
regs               82 arch/arm/plat-samsung/pm-debug.c 	void __iomem *regs = s3c_pm_uart_base();
regs               85 arch/arm/plat-samsung/pm-debug.c 	s3c_pm_arch_update_uart(regs, save);
regs               87 arch/arm/plat-samsung/pm-debug.c 	__raw_writel(save->ulcon, regs + S3C2410_ULCON);
regs               88 arch/arm/plat-samsung/pm-debug.c 	__raw_writel(save->ucon,  regs + S3C2410_UCON);
regs               89 arch/arm/plat-samsung/pm-debug.c 	__raw_writel(save->ufcon, regs + S3C2410_UFCON);
regs               90 arch/arm/plat-samsung/pm-debug.c 	__raw_writel(save->umcon, regs + S3C2410_UMCON);
regs               91 arch/arm/plat-samsung/pm-debug.c 	__raw_writel(save->ubrdiv, regs + S3C2410_UBRDIV);
regs               94 arch/arm/plat-samsung/pm-debug.c 		__raw_writel(save->udivslot, regs + S3C2443_DIVSLOT);
regs               54 arch/arm/probes/decode-arm.c 		struct arch_probes_insn *asi, struct pt_regs *regs)
regs               56 arch/arm/probes/decode-arm.c 	long iaddr = (long) regs->ARM_pc - 4;
regs               60 arch/arm/probes/decode-arm.c 		regs->ARM_lr = iaddr + 4;
regs               62 arch/arm/probes/decode-arm.c 	regs->ARM_pc = iaddr + 8 + disp;
regs               66 arch/arm/probes/decode-arm.c 		struct arch_probes_insn *asi, struct pt_regs *regs)
regs               68 arch/arm/probes/decode-arm.c 	long iaddr = (long) regs->ARM_pc - 4;
regs               71 arch/arm/probes/decode-arm.c 	regs->ARM_lr = iaddr + 4;
regs               72 arch/arm/probes/decode-arm.c 	regs->ARM_pc = iaddr + 8 + disp + ((insn >> 23) & 0x2);
regs               73 arch/arm/probes/decode-arm.c 	regs->ARM_cpsr |= PSR_T_BIT;
regs               77 arch/arm/probes/decode-arm.c 		struct arch_probes_insn *asi, struct pt_regs *regs)
regs               80 arch/arm/probes/decode-arm.c 	long rmv = regs->uregs[rm];
regs               83 arch/arm/probes/decode-arm.c 		regs->ARM_lr = (long) regs->ARM_pc;
regs               85 arch/arm/probes/decode-arm.c 	regs->ARM_pc = rmv & ~0x1;
regs               86 arch/arm/probes/decode-arm.c 	regs->ARM_cpsr &= ~PSR_T_BIT;
regs               88 arch/arm/probes/decode-arm.c 		regs->ARM_cpsr |= PSR_T_BIT;
regs               92 arch/arm/probes/decode-arm.c 		struct arch_probes_insn *asi, struct pt_regs *regs)
regs               96 arch/arm/probes/decode-arm.c 	regs->uregs[rd] = regs->ARM_cpsr & mask;
regs              100 arch/arm/probes/decode-arm.c 		struct arch_probes_insn *asi, struct pt_regs *regs)
regs              102 arch/arm/probes/decode-arm.c 	regs->uregs[12] = regs->uregs[13];
regs              701 arch/arm/probes/decode-arm.c 		struct arch_probes_insn *asi, struct pt_regs *regs)
regs              703 arch/arm/probes/decode-arm.c 	regs->ARM_pc += 4;
regs              704 arch/arm/probes/decode-arm.c 	asi->insn_handler(insn, asi, regs);
regs               51 arch/arm/probes/decode-arm.h 	struct arch_probes_insn *asi, struct pt_regs *regs);
regs               53 arch/arm/probes/decode-arm.h 	struct arch_probes_insn *asi, struct pt_regs *regs);
regs               55 arch/arm/probes/decode-arm.h 	struct arch_probes_insn *asi, struct pt_regs *regs);
regs               57 arch/arm/probes/decode-arm.h 	struct arch_probes_insn *asi, struct pt_regs *regs);
regs               59 arch/arm/probes/decode-arm.h 	struct arch_probes_insn *asi, struct pt_regs *regs);
regs              845 arch/arm/probes/decode-thumb.c 		struct pt_regs *regs)
regs              847 arch/arm/probes/decode-thumb.c 	regs->ARM_pc += 2;
regs              848 arch/arm/probes/decode-thumb.c 	asi->insn_handler(opcode, asi, regs);
regs              849 arch/arm/probes/decode-thumb.c 	regs->ARM_cpsr = it_advance(regs->ARM_cpsr);
regs              854 arch/arm/probes/decode-thumb.c 		struct pt_regs *regs)
regs              856 arch/arm/probes/decode-thumb.c 	regs->ARM_pc += 4;
regs              857 arch/arm/probes/decode-thumb.c 	asi->insn_handler(opcode, asi, regs);
regs              858 arch/arm/probes/decode-thumb.c 	regs->ARM_cpsr = it_advance(regs->ARM_cpsr);
regs              177 arch/arm/probes/decode.c 	struct pt_regs *regs)
regs              183 arch/arm/probes/decode.c 	struct pt_regs *regs)
regs              258 arch/arm/probes/decode.c static bool __kprobes decode_regs(probes_opcode_t *pinsn, u32 regs, bool modify)
regs              263 arch/arm/probes/decode.c 	for (; regs != 0; regs >>= 4, mask <<= 4) {
regs              267 arch/arm/probes/decode.c 		switch (regs & 0xf) {
regs              447 arch/arm/probes/decode.c 		u32 regs = h->type_regs.bits >> DECODE_TYPE_BITS;
regs              458 arch/arm/probes/decode.c 		if (!decode_regs(&insn, regs, emulate))
regs               63 arch/arm/probes/decode.h static inline void __kprobes bx_write_pc(long pcv, struct pt_regs *regs)
regs               65 arch/arm/probes/decode.h 	long cpsr = regs->ARM_cpsr;
regs               73 arch/arm/probes/decode.h 	regs->ARM_cpsr = cpsr;
regs               74 arch/arm/probes/decode.h 	regs->ARM_pc = pcv;
regs               92 arch/arm/probes/decode.h static inline void __kprobes load_write_pc(long pcv, struct pt_regs *regs)
regs               95 arch/arm/probes/decode.h 		bx_write_pc(pcv, regs);
regs               97 arch/arm/probes/decode.h 		regs->ARM_pc = pcv;
regs              120 arch/arm/probes/decode.h static inline void __kprobes alu_write_pc(long pcv, struct pt_regs *regs)
regs              123 arch/arm/probes/decode.h 		bx_write_pc(pcv, regs);
regs              125 arch/arm/probes/decode.h 		regs->ARM_pc = pcv;
regs               70 arch/arm/probes/kprobes/actions-arm.c 	struct arch_probes_insn *asi, struct pt_regs *regs)
regs               72 arch/arm/probes/kprobes/actions-arm.c 	unsigned long pc = regs->ARM_pc + 4;
regs               77 arch/arm/probes/kprobes/actions-arm.c 	register unsigned long rtv asm("r0") = regs->uregs[rt];
regs               78 arch/arm/probes/kprobes/actions-arm.c 	register unsigned long rt2v asm("r1") = regs->uregs[rt+1];
regs               80 arch/arm/probes/kprobes/actions-arm.c 							  : regs->uregs[rn];
regs               81 arch/arm/probes/kprobes/actions-arm.c 	register unsigned long rmv asm("r3") = regs->uregs[rm];
regs               91 arch/arm/probes/kprobes/actions-arm.c 	regs->uregs[rt] = rtv;
regs               92 arch/arm/probes/kprobes/actions-arm.c 	regs->uregs[rt+1] = rt2v;
regs               94 arch/arm/probes/kprobes/actions-arm.c 		regs->uregs[rn] = rnv;
regs               99 arch/arm/probes/kprobes/actions-arm.c 	struct arch_probes_insn *asi, struct pt_regs *regs)
regs              101 arch/arm/probes/kprobes/actions-arm.c 	unsigned long pc = regs->ARM_pc + 4;
regs              108 arch/arm/probes/kprobes/actions-arm.c 							  : regs->uregs[rn];
regs              109 arch/arm/probes/kprobes/actions-arm.c 	register unsigned long rmv asm("r3") = regs->uregs[rm];
regs              119 arch/arm/probes/kprobes/actions-arm.c 		load_write_pc(rtv, regs);
regs              121 arch/arm/probes/kprobes/actions-arm.c 		regs->uregs[rt] = rtv;
regs              124 arch/arm/probes/kprobes/actions-arm.c 		regs->uregs[rn] = rnv;
regs              129 arch/arm/probes/kprobes/actions-arm.c 	struct arch_probes_insn *asi, struct pt_regs *regs)
regs              131 arch/arm/probes/kprobes/actions-arm.c 	unsigned long rtpc = regs->ARM_pc - 4 + str_pc_offset;
regs              132 arch/arm/probes/kprobes/actions-arm.c 	unsigned long rnpc = regs->ARM_pc + 4;
regs              138 arch/arm/probes/kprobes/actions-arm.c 							  : regs->uregs[rt];
regs              140 arch/arm/probes/kprobes/actions-arm.c 							  : regs->uregs[rn];
regs              141 arch/arm/probes/kprobes/actions-arm.c 	register unsigned long rmv asm("r3") = regs->uregs[rm];
regs              151 arch/arm/probes/kprobes/actions-arm.c 		regs->uregs[rn] = rnv;
regs              156 arch/arm/probes/kprobes/actions-arm.c 	struct arch_probes_insn *asi, struct pt_regs *regs)
regs              158 arch/arm/probes/kprobes/actions-arm.c 	unsigned long pc = regs->ARM_pc + 4;
regs              164 arch/arm/probes/kprobes/actions-arm.c 	register unsigned long rdv asm("r0") = regs->uregs[rd];
regs              166 arch/arm/probes/kprobes/actions-arm.c 							  : regs->uregs[rn];
regs              168 arch/arm/probes/kprobes/actions-arm.c 							  : regs->uregs[rm];
regs              169 arch/arm/probes/kprobes/actions-arm.c 	register unsigned long rsv asm("r1") = regs->uregs[rs];
regs              170 arch/arm/probes/kprobes/actions-arm.c 	unsigned long cpsr = regs->ARM_cpsr;
regs              183 arch/arm/probes/kprobes/actions-arm.c 		alu_write_pc(rdv, regs);
regs              185 arch/arm/probes/kprobes/actions-arm.c 		regs->uregs[rd] = rdv;
regs              186 arch/arm/probes/kprobes/actions-arm.c 	regs->ARM_cpsr = (regs->ARM_cpsr & ~APSR_MASK) | (cpsr & APSR_MASK);
regs              191 arch/arm/probes/kprobes/actions-arm.c 	struct arch_probes_insn *asi, struct pt_regs *regs)
regs              197 arch/arm/probes/kprobes/actions-arm.c 	register unsigned long rdv asm("r0") = regs->uregs[rd];
regs              198 arch/arm/probes/kprobes/actions-arm.c 	register unsigned long rnv asm("r2") = regs->uregs[rn];
regs              199 arch/arm/probes/kprobes/actions-arm.c 	register unsigned long rmv asm("r3") = regs->uregs[rm];
regs              200 arch/arm/probes/kprobes/actions-arm.c 	unsigned long cpsr = regs->ARM_cpsr;
regs              212 arch/arm/probes/kprobes/actions-arm.c 	regs->uregs[rd] = rdv;
regs              213 arch/arm/probes/kprobes/actions-arm.c 	regs->ARM_cpsr = (regs->ARM_cpsr & ~APSR_MASK) | (cpsr & APSR_MASK);
regs              219 arch/arm/probes/kprobes/actions-arm.c 	struct pt_regs *regs)
regs              226 arch/arm/probes/kprobes/actions-arm.c 	register unsigned long rdv asm("r2") = regs->uregs[rd];
regs              227 arch/arm/probes/kprobes/actions-arm.c 	register unsigned long rnv asm("r0") = regs->uregs[rn];
regs              228 arch/arm/probes/kprobes/actions-arm.c 	register unsigned long rmv asm("r3") = regs->uregs[rm];
regs              229 arch/arm/probes/kprobes/actions-arm.c 	register unsigned long rsv asm("r1") = regs->uregs[rs];
regs              230 arch/arm/probes/kprobes/actions-arm.c 	unsigned long cpsr = regs->ARM_cpsr;
regs              242 arch/arm/probes/kprobes/actions-arm.c 	regs->uregs[rd] = rdv;
regs              243 arch/arm/probes/kprobes/actions-arm.c 	regs->ARM_cpsr = (regs->ARM_cpsr & ~APSR_MASK) | (cpsr & APSR_MASK);
regs              248 arch/arm/probes/kprobes/actions-arm.c 	struct arch_probes_insn *asi, struct pt_regs *regs)
regs              253 arch/arm/probes/kprobes/actions-arm.c 	register unsigned long rdv asm("r0") = regs->uregs[rd];
regs              254 arch/arm/probes/kprobes/actions-arm.c 	register unsigned long rmv asm("r3") = regs->uregs[rm];
regs              263 arch/arm/probes/kprobes/actions-arm.c 	regs->uregs[rd] = rdv;
regs              269 arch/arm/probes/kprobes/actions-arm.c 	struct pt_regs *regs)
regs              276 arch/arm/probes/kprobes/actions-arm.c 	register unsigned long rdlov asm("r0") = regs->uregs[rdlo];
regs              277 arch/arm/probes/kprobes/actions-arm.c 	register unsigned long rdhiv asm("r2") = regs->uregs[rdhi];
regs              278 arch/arm/probes/kprobes/actions-arm.c 	register unsigned long rnv asm("r3") = regs->uregs[rn];
regs              279 arch/arm/probes/kprobes/actions-arm.c 	register unsigned long rmv asm("r1") = regs->uregs[rm];
regs              280 arch/arm/probes/kprobes/actions-arm.c 	unsigned long cpsr = regs->ARM_cpsr;
regs              292 arch/arm/probes/kprobes/actions-arm.c 	regs->uregs[rdlo] = rdlov;
regs              293 arch/arm/probes/kprobes/actions-arm.c 	regs->uregs[rdhi] = rdhiv;
regs              294 arch/arm/probes/kprobes/actions-arm.c 	regs->ARM_cpsr = (regs->ARM_cpsr & ~APSR_MASK) | (cpsr & APSR_MASK);
regs               20 arch/arm/probes/kprobes/actions-common.c 		struct pt_regs *regs)
regs               27 arch/arm/probes/kprobes/actions-common.c 	long *addr = (long *)regs->uregs[rn];
regs               47 arch/arm/probes/kprobes/actions-common.c 			regs->uregs[reg] = *addr++;
regs               49 arch/arm/probes/kprobes/actions-common.c 			*addr++ = regs->uregs[reg];
regs               56 arch/arm/probes/kprobes/actions-common.c 		regs->uregs[rn] = (long)addr;
regs               62 arch/arm/probes/kprobes/actions-common.c 	struct pt_regs *regs)
regs               64 arch/arm/probes/kprobes/actions-common.c 	unsigned long addr = regs->ARM_pc - 4;
regs               66 arch/arm/probes/kprobes/actions-common.c 	regs->ARM_pc = (long)addr + str_pc_offset;
regs               67 arch/arm/probes/kprobes/actions-common.c 	simulate_ldm1stm1(insn, asi, regs);
regs               68 arch/arm/probes/kprobes/actions-common.c 	regs->ARM_pc = (long)addr + 4;
regs               73 arch/arm/probes/kprobes/actions-common.c 	struct pt_regs *regs)
regs               75 arch/arm/probes/kprobes/actions-common.c 	simulate_ldm1stm1(insn, asi, regs);
regs               76 arch/arm/probes/kprobes/actions-common.c 	load_write_pc(regs->ARM_pc, regs);
regs               81 arch/arm/probes/kprobes/actions-common.c 	struct arch_probes_insn *asi, struct pt_regs *regs)
regs               83 arch/arm/probes/kprobes/actions-common.c 	register void *rregs asm("r1") = regs;
regs              100 arch/arm/probes/kprobes/actions-common.c 		: [regs] "=r" (rregs), [fn] "=r" (rfn)
regs              109 arch/arm/probes/kprobes/actions-common.c 	struct arch_probes_insn *asi, struct pt_regs *regs)
regs              112 arch/arm/probes/kprobes/actions-common.c 		(struct pt_regs *)(regs->uregs+2));
regs              117 arch/arm/probes/kprobes/actions-common.c 	struct arch_probes_insn *asi, struct pt_regs *regs)
regs              120 arch/arm/probes/kprobes/actions-common.c 		(struct pt_regs *)(regs->uregs+3));
regs              121 arch/arm/probes/kprobes/actions-common.c 	load_write_pc(regs->ARM_pc, regs);
regs               25 arch/arm/probes/kprobes/actions-thumb.c 		struct arch_probes_insn *asi, struct pt_regs *regs)
regs               27 arch/arm/probes/kprobes/actions-thumb.c 	unsigned long pc = regs->ARM_pc;
regs               31 arch/arm/probes/kprobes/actions-thumb.c 	unsigned long rnv = (rn == 15) ? pc : regs->uregs[rn];
regs               32 arch/arm/probes/kprobes/actions-thumb.c 	unsigned long rmv = regs->uregs[rm];
regs               40 arch/arm/probes/kprobes/actions-thumb.c 	regs->ARM_pc = pc + 2 * halfwords;
regs               45 arch/arm/probes/kprobes/actions-thumb.c 		struct arch_probes_insn *asi, struct pt_regs *regs)
regs               49 arch/arm/probes/kprobes/actions-thumb.c 	regs->uregs[rd] = regs->ARM_cpsr & mask;
regs               54 arch/arm/probes/kprobes/actions-thumb.c 		struct arch_probes_insn *asi, struct pt_regs *regs)
regs               56 arch/arm/probes/kprobes/actions-thumb.c 	unsigned long pc = regs->ARM_pc;
regs               64 arch/arm/probes/kprobes/actions-thumb.c 	regs->ARM_pc = pc + (offset * 2);
regs               79 arch/arm/probes/kprobes/actions-thumb.c 		    struct arch_probes_insn *asi, struct pt_regs *regs)
regs               81 arch/arm/probes/kprobes/actions-thumb.c 	unsigned long pc = regs->ARM_pc;
regs               94 arch/arm/probes/kprobes/actions-thumb.c 		regs->ARM_lr = regs->ARM_pc | 1;
regs               97 arch/arm/probes/kprobes/actions-thumb.c 			regs->ARM_cpsr &= ~PSR_T_BIT;
regs              102 arch/arm/probes/kprobes/actions-thumb.c 	regs->ARM_pc = pc + (offset * 2);
regs              107 arch/arm/probes/kprobes/actions-thumb.c 		struct arch_probes_insn *asi, struct pt_regs *regs)
regs              109 arch/arm/probes/kprobes/actions-thumb.c 	unsigned long addr = regs->ARM_pc & ~3;
regs              123 arch/arm/probes/kprobes/actions-thumb.c 			bx_write_pc(rtv, regs);
regs              140 arch/arm/probes/kprobes/actions-thumb.c 	regs->uregs[rt] = rtv;
regs              159 arch/arm/probes/kprobes/actions-thumb.c 		struct arch_probes_insn *asi, struct pt_regs *regs)
regs              161 arch/arm/probes/kprobes/actions-thumb.c 	unsigned long pc = regs->ARM_pc & ~3;
regs              166 arch/arm/probes/kprobes/actions-thumb.c 	register unsigned long rt1v asm("r0") = regs->uregs[rt1];
regs              167 arch/arm/probes/kprobes/actions-thumb.c 	register unsigned long rt2v asm("r1") = regs->uregs[rt2];
regs              169 arch/arm/probes/kprobes/actions-thumb.c 							  : regs->uregs[rn];
regs              179 arch/arm/probes/kprobes/actions-thumb.c 		regs->uregs[rn] = rnv; /* Writeback base register */
regs              180 arch/arm/probes/kprobes/actions-thumb.c 	regs->uregs[rt1] = rt1v;
regs              181 arch/arm/probes/kprobes/actions-thumb.c 	regs->uregs[rt2] = rt2v;
regs              186 arch/arm/probes/kprobes/actions-thumb.c 		struct arch_probes_insn *asi, struct pt_regs *regs)
regs              192 arch/arm/probes/kprobes/actions-thumb.c 	register unsigned long rtv asm("r0") = regs->uregs[rt];
regs              193 arch/arm/probes/kprobes/actions-thumb.c 	register unsigned long rnv asm("r2") = regs->uregs[rn];
regs              194 arch/arm/probes/kprobes/actions-thumb.c 	register unsigned long rmv asm("r3") = regs->uregs[rm];
regs              203 arch/arm/probes/kprobes/actions-thumb.c 	regs->uregs[rn] = rnv; /* Writeback base register */
regs              205 arch/arm/probes/kprobes/actions-thumb.c 		bx_write_pc(rtv, regs);
regs              207 arch/arm/probes/kprobes/actions-thumb.c 		regs->uregs[rt] = rtv;
regs              212 arch/arm/probes/kprobes/actions-thumb.c 		struct arch_probes_insn *asi, struct pt_regs *regs)
regs              218 arch/arm/probes/kprobes/actions-thumb.c 	register unsigned long rdv asm("r1") = regs->uregs[rd];
regs              219 arch/arm/probes/kprobes/actions-thumb.c 	register unsigned long rnv asm("r2") = regs->uregs[rn];
regs              220 arch/arm/probes/kprobes/actions-thumb.c 	register unsigned long rmv asm("r3") = regs->uregs[rm];
regs              221 arch/arm/probes/kprobes/actions-thumb.c 	unsigned long cpsr = regs->ARM_cpsr;
regs              233 arch/arm/probes/kprobes/actions-thumb.c 	regs->uregs[rd] = rdv;
regs              234 arch/arm/probes/kprobes/actions-thumb.c 	regs->ARM_cpsr = (regs->ARM_cpsr & ~APSR_MASK) | (cpsr & APSR_MASK);
regs              239 arch/arm/probes/kprobes/actions-thumb.c 		struct arch_probes_insn *asi, struct pt_regs *regs)
regs              241 arch/arm/probes/kprobes/actions-thumb.c 	unsigned long pc = regs->ARM_pc;
regs              244 arch/arm/probes/kprobes/actions-thumb.c 	register unsigned long rdv asm("r1") = regs->uregs[rd];
regs              254 arch/arm/probes/kprobes/actions-thumb.c 	regs->uregs[rd] = rdv;
regs              259 arch/arm/probes/kprobes/actions-thumb.c 		struct arch_probes_insn *asi, struct pt_regs *regs)
regs              264 arch/arm/probes/kprobes/actions-thumb.c 	register unsigned long rdv asm("r1") = regs->uregs[rd];
regs              265 arch/arm/probes/kprobes/actions-thumb.c 	register unsigned long rnv asm("r2") = regs->uregs[rn];
regs              274 arch/arm/probes/kprobes/actions-thumb.c 	regs->uregs[rd] = rdv;
regs              280 arch/arm/probes/kprobes/actions-thumb.c 		struct pt_regs *regs)
regs              287 arch/arm/probes/kprobes/actions-thumb.c 	register unsigned long rdlov asm("r0") = regs->uregs[rdlo];
regs              288 arch/arm/probes/kprobes/actions-thumb.c 	register unsigned long rdhiv asm("r1") = regs->uregs[rdhi];
regs              289 arch/arm/probes/kprobes/actions-thumb.c 	register unsigned long rnv asm("r2") = regs->uregs[rn];
regs              290 arch/arm/probes/kprobes/actions-thumb.c 	register unsigned long rmv asm("r3") = regs->uregs[rm];
regs              300 arch/arm/probes/kprobes/actions-thumb.c 	regs->uregs[rdlo] = rdlov;
regs              301 arch/arm/probes/kprobes/actions-thumb.c 	regs->uregs[rdhi] = rdhiv;
regs              307 arch/arm/probes/kprobes/actions-thumb.c 		struct arch_probes_insn *asi, struct pt_regs *regs)
regs              309 arch/arm/probes/kprobes/actions-thumb.c 	unsigned long pc = regs->ARM_pc + 2;
regs              311 arch/arm/probes/kprobes/actions-thumb.c 	unsigned long rmv = (rm == 15) ? pc : regs->uregs[rm];
regs              314 arch/arm/probes/kprobes/actions-thumb.c 		regs->ARM_lr = regs->ARM_pc | 1;
regs              316 arch/arm/probes/kprobes/actions-thumb.c 	bx_write_pc(rmv, regs);
regs              321 arch/arm/probes/kprobes/actions-thumb.c 		struct arch_probes_insn *asi, struct pt_regs *regs)
regs              323 arch/arm/probes/kprobes/actions-thumb.c 	unsigned long *base = (unsigned long *)((regs->ARM_pc + 2) & ~3);
regs              326 arch/arm/probes/kprobes/actions-thumb.c 	regs->uregs[rt] = base[index];
regs              331 arch/arm/probes/kprobes/actions-thumb.c 		struct arch_probes_insn *asi, struct pt_regs *regs)
regs              333 arch/arm/probes/kprobes/actions-thumb.c 	unsigned long* base = (unsigned long *)regs->ARM_sp;
regs              337 arch/arm/probes/kprobes/actions-thumb.c 		regs->uregs[rt] = base[index];
regs              339 arch/arm/probes/kprobes/actions-thumb.c 		base[index] = regs->uregs[rt];
regs              344 arch/arm/probes/kprobes/actions-thumb.c 		struct arch_probes_insn *asi, struct pt_regs *regs)
regs              346 arch/arm/probes/kprobes/actions-thumb.c 	unsigned long base = (insn & 0x800) ? regs->ARM_sp
regs              347 arch/arm/probes/kprobes/actions-thumb.c 					    : ((regs->ARM_pc + 2) & ~3);
regs              350 arch/arm/probes/kprobes/actions-thumb.c 	regs->uregs[rt] = base + offset * 4;
regs              355 arch/arm/probes/kprobes/actions-thumb.c 		struct arch_probes_insn *asi, struct pt_regs *regs)
regs              359 arch/arm/probes/kprobes/actions-thumb.c 		regs->ARM_sp -= imm * 4;
regs              361 arch/arm/probes/kprobes/actions-thumb.c 		regs->ARM_sp += imm * 4;
regs              366 arch/arm/probes/kprobes/actions-thumb.c 		struct arch_probes_insn *asi, struct pt_regs *regs)
regs              369 arch/arm/probes/kprobes/actions-thumb.c 	probes_opcode_t nonzero = regs->uregs[rn] ? insn : ~insn;
regs              373 arch/arm/probes/kprobes/actions-thumb.c 		unsigned long pc = regs->ARM_pc + 2;
regs              374 arch/arm/probes/kprobes/actions-thumb.c 		regs->ARM_pc = pc + (i >> 3) + (imm5 >> 2);
regs              380 arch/arm/probes/kprobes/actions-thumb.c 		struct arch_probes_insn *asi, struct pt_regs *regs)
regs              388 arch/arm/probes/kprobes/actions-thumb.c 	unsigned long cpsr = regs->ARM_cpsr;
regs              392 arch/arm/probes/kprobes/actions-thumb.c 	regs->ARM_cpsr = cpsr;
regs              397 arch/arm/probes/kprobes/actions-thumb.c 		  struct arch_probes_insn *asi, struct pt_regs *regs)
regs              399 arch/arm/probes/kprobes/actions-thumb.c 	regs->ARM_pc += 2;
regs              400 arch/arm/probes/kprobes/actions-thumb.c 	t16_simulate_it(insn, asi, regs);
regs              413 arch/arm/probes/kprobes/actions-thumb.c 		struct arch_probes_insn *asi, struct pt_regs *regs)
regs              415 arch/arm/probes/kprobes/actions-thumb.c 	unsigned long pc = regs->ARM_pc + 2;
regs              418 arch/arm/probes/kprobes/actions-thumb.c 	regs->ARM_pc = pc + (offset * 2);
regs              433 arch/arm/probes/kprobes/actions-thumb.c 		   struct arch_probes_insn *asi, struct pt_regs *regs)
regs              435 arch/arm/probes/kprobes/actions-thumb.c 	unsigned long pc = regs->ARM_pc + 2;
regs              438 arch/arm/probes/kprobes/actions-thumb.c 	regs->ARM_pc = pc + (offset * 2);
regs              443 arch/arm/probes/kprobes/actions-thumb.c 		   struct arch_probes_insn *asi, struct pt_regs *regs)
regs              445 arch/arm/probes/kprobes/actions-thumb.c 	unsigned long oldcpsr = regs->ARM_cpsr;
regs              455 arch/arm/probes/kprobes/actions-thumb.c 		: [oldcpsr] "r" (oldcpsr), [regs] "r" (regs),
regs              466 arch/arm/probes/kprobes/actions-thumb.c 		struct arch_probes_insn *asi, struct pt_regs *regs)
regs              468 arch/arm/probes/kprobes/actions-thumb.c 	regs->ARM_cpsr = t16_emulate_loregs(insn, asi, regs);
regs              473 arch/arm/probes/kprobes/actions-thumb.c 		struct arch_probes_insn *asi, struct pt_regs *regs)
regs              475 arch/arm/probes/kprobes/actions-thumb.c 	unsigned long cpsr = t16_emulate_loregs(insn, asi, regs);
regs              477 arch/arm/probes/kprobes/actions-thumb.c 		regs->ARM_cpsr = cpsr;
regs              482 arch/arm/probes/kprobes/actions-thumb.c 		struct arch_probes_insn *asi, struct pt_regs *regs)
regs              484 arch/arm/probes/kprobes/actions-thumb.c 	unsigned long pc = regs->ARM_pc + 2;
regs              490 arch/arm/probes/kprobes/actions-thumb.c 	unsigned long cpsr = regs->ARM_cpsr;
regs              492 arch/arm/probes/kprobes/actions-thumb.c 	rdnv = (rdn == 15) ? pc : regs->uregs[rdn];
regs              493 arch/arm/probes/kprobes/actions-thumb.c 	rmv = (rm == 15) ? pc : regs->uregs[rm];
regs              507 arch/arm/probes/kprobes/actions-thumb.c 	regs->uregs[rdn] = rdnv;
regs              508 arch/arm/probes/kprobes/actions-thumb.c 	regs->ARM_cpsr = (regs->ARM_cpsr & ~APSR_MASK) | (cpsr & APSR_MASK);
regs              524 arch/arm/probes/kprobes/actions-thumb.c 		struct arch_probes_insn *asi, struct pt_regs *regs)
regs              533 arch/arm/probes/kprobes/actions-thumb.c 		: [regs] "r" (regs), [fn] "r" (asi->insn_fn)
regs              558 arch/arm/probes/kprobes/actions-thumb.c 		struct arch_probes_insn *asi, struct pt_regs *regs)
regs              567 arch/arm/probes/kprobes/actions-thumb.c 		: [regs] "r" (regs), [fn] "r" (asi->insn_fn)
regs              575 arch/arm/probes/kprobes/actions-thumb.c 		struct arch_probes_insn *asi, struct pt_regs *regs)
regs              586 arch/arm/probes/kprobes/actions-thumb.c 		: [regs] "r" (regs), [fn] "r" (asi->insn_fn)
regs              591 arch/arm/probes/kprobes/actions-thumb.c 	bx_write_pc(pc, regs);
regs              105 arch/arm/probes/kprobes/checkers-arm.c 	u32 regs = h->type_regs.bits >> DECODE_TYPE_BITS;
regs              109 arch/arm/probes/kprobes/checkers-arm.c 	for (i = 0; i < 5; regs >>= 4, insn >>= 4, i++)
regs              110 arch/arm/probes/kprobes/checkers-arm.c 		if (regs & 0xf)
regs              208 arch/arm/probes/kprobes/core.c singlestep_skip(struct kprobe *p, struct pt_regs *regs)
regs              211 arch/arm/probes/kprobes/core.c 	regs->ARM_cpsr = it_advance(regs->ARM_cpsr);
regs              213 arch/arm/probes/kprobes/core.c 		regs->ARM_pc += 4;
regs              215 arch/arm/probes/kprobes/core.c 		regs->ARM_pc += 2;
regs              217 arch/arm/probes/kprobes/core.c 	regs->ARM_pc += 4;
regs              222 arch/arm/probes/kprobes/core.c singlestep(struct kprobe *p, struct pt_regs *regs, struct kprobe_ctlblk *kcb)
regs              224 arch/arm/probes/kprobes/core.c 	p->ainsn.insn_singlestep(p->opcode, &p->ainsn, regs);
regs              234 arch/arm/probes/kprobes/core.c void __kprobes kprobe_handler(struct pt_regs *regs)
regs              248 arch/arm/probes/kprobes/core.c 	p = get_kprobe((kprobe_opcode_t *)(regs->ARM_pc | 1));
regs              250 arch/arm/probes/kprobes/core.c 		p = get_kprobe((kprobe_opcode_t *)regs->ARM_pc);
regs              253 arch/arm/probes/kprobes/core.c 	p = get_kprobe((kprobe_opcode_t *)regs->ARM_pc);
regs              257 arch/arm/probes/kprobes/core.c 		if (!p->ainsn.insn_check_cc(regs->ARM_cpsr)) {
regs              264 arch/arm/probes/kprobes/core.c 			singlestep_skip(p, regs);
regs              276 arch/arm/probes/kprobes/core.c 				singlestep(p, regs, kcb);
regs              300 arch/arm/probes/kprobes/core.c 			if (!p->pre_handler || !p->pre_handler(p, regs)) {
regs              302 arch/arm/probes/kprobes/core.c 				singlestep(p, regs, kcb);
regs              305 arch/arm/probes/kprobes/core.c 					p->post_handler(p, regs, 0);
regs              320 arch/arm/probes/kprobes/core.c static int __kprobes kprobe_trap_handler(struct pt_regs *regs, unsigned int instr)
regs              324 arch/arm/probes/kprobes/core.c 	kprobe_handler(regs);
regs              329 arch/arm/probes/kprobes/core.c int __kprobes kprobe_fault_handler(struct pt_regs *regs, unsigned int fsr)
regs              344 arch/arm/probes/kprobes/core.c 		regs->ARM_pc = (long)cur->addr;
regs              368 arch/arm/probes/kprobes/core.c 		if (cur->fault_handler && cur->fault_handler(cur, regs, fsr))
regs              414 arch/arm/probes/kprobes/core.c static __used __kprobes void *trampoline_handler(struct pt_regs *regs)
regs              468 arch/arm/probes/kprobes/core.c 			ri->rp->handler(ri, regs);
regs              494 arch/arm/probes/kprobes/core.c 				      struct pt_regs *regs)
regs              496 arch/arm/probes/kprobes/core.c 	ri->ret_addr = (kprobe_opcode_t *)regs->ARM_lr;
regs              499 arch/arm/probes/kprobes/core.c 	regs->ARM_lr = (unsigned long)&kretprobe_trampoline;
regs              148 arch/arm/probes/kprobes/opt-arm.c extern void kprobe_handler(struct pt_regs *regs);
regs              151 arch/arm/probes/kprobes/opt-arm.c optimized_callback(struct optimized_kprobe *op, struct pt_regs *regs)
regs              158 arch/arm/probes/kprobes/opt-arm.c 	regs->ARM_pc = (unsigned long)op->kp.addr;
regs              159 arch/arm/probes/kprobes/opt-arm.c 	regs->ARM_ORIG_r0 = ~0UL;
regs              169 arch/arm/probes/kprobes/opt-arm.c 		opt_pre_handler(&op->kp, regs);
regs              178 arch/arm/probes/kprobes/opt-arm.c 		op->kp.ainsn.insn_singlestep(p->opcode, &p->ainsn, regs);
regs              310 arch/arm/probes/kprobes/test-core.c static int __kprobes pre_handler(struct kprobe *p, struct pt_regs *regs)
regs              313 arch/arm/probes/kprobes/test-core.c 	if (regs->ARM_r0 == FUNC_ARG1 && regs->ARM_r1 == FUNC_ARG2)
regs              318 arch/arm/probes/kprobes/test-core.c static void __kprobes post_handler(struct kprobe *p, struct pt_regs *regs,
regs              322 arch/arm/probes/kprobes/test-core.c 	if (regs->ARM_r0 != FUNC_ARG1 + FUNC_ARG2 || regs->ARM_r1 != FUNC_ARG2)
regs              370 arch/arm/probes/kprobes/test-core.c kretprobe_handler(struct kretprobe_instance *ri, struct pt_regs *regs)
regs              373 arch/arm/probes/kprobes/test-core.c 	if (regs_return_value(regs) == FUNC_ARG1 + FUNC_ARG2)
regs              498 arch/arm/probes/kprobes/test-core.c benchmark_pre_handler(struct kprobe *p, struct pt_regs *regs)
regs              692 arch/arm/probes/kprobes/test-core.c 	unsigned			regs;
regs              725 arch/arm/probes/kprobes/test-core.c 	unsigned regs = 0;
regs              729 arch/arm/probes/kprobes/test-core.c 		regs |= coverage_register_lookup[r] << i;
regs              731 arch/arm/probes/kprobes/test-core.c 	return regs;
regs              748 arch/arm/probes/kprobes/test-core.c 	entry->regs = coverage_start_registers(h);
regs              777 arch/arm/probes/kprobes/test-core.c 	int regs = entry->header->type_regs.bits >> DECODE_TYPE_BITS;
regs              780 arch/arm/probes/kprobes/test-core.c 		enum decode_reg_type reg_type = (regs >> i) & 0xf;
regs              793 arch/arm/probes/kprobes/test-core.c 		entry->regs &= ~(flag << i);
regs              827 arch/arm/probes/kprobes/test-core.c 				entry->regs &= ~(COVERAGE_PCWB << i);
regs              898 arch/arm/probes/kprobes/test-core.c 		if (entry->regs) {
regs              900 arch/arm/probes/kprobes/test-core.c 				mask, value, entry->regs);
regs             1097 arch/arm/probes/kprobes/test-core.c static void setup_test_context(struct pt_regs *regs)
regs             1120 arch/arm/probes/kprobes/test-core.c 		regs->uregs[i] = val ^ (i << 8);
regs             1121 arch/arm/probes/kprobes/test-core.c 	regs->ARM_lr = val ^ (14 << 8);
regs             1122 arch/arm/probes/kprobes/test-core.c 	regs->ARM_cpsr &= ~(APSR_MASK | PSR_IT_MASK);
regs             1123 arch/arm/probes/kprobes/test-core.c 	regs->ARM_cpsr |= test_context_cpsr(scenario);
regs             1132 arch/arm/probes/kprobes/test-core.c 			regs->uregs[arg->reg] = arg->val;
regs             1138 arch/arm/probes/kprobes/test-core.c 			regs->uregs[arg->reg] =
regs             1147 arch/arm/probes/kprobes/test-core.c 				regs->ARM_cpsr |= PSR_I_BIT;
regs             1191 arch/arm/probes/kprobes/test-core.c test_before_pre_handler(struct kprobe *p, struct pt_regs *regs)
regs             1198 arch/arm/probes/kprobes/test-core.c test_before_post_handler(struct kprobe *p, struct pt_regs *regs,
regs             1201 arch/arm/probes/kprobes/test-core.c 	setup_test_context(regs);
regs             1202 arch/arm/probes/kprobes/test-core.c 	initial_regs = *regs;
regs             1207 arch/arm/probes/kprobes/test-core.c test_case_pre_handler(struct kprobe *p, struct pt_regs *regs)
regs             1214 arch/arm/probes/kprobes/test-core.c test_after_pre_handler(struct kprobe *p, struct pt_regs *regs)
regs             1221 arch/arm/probes/kprobes/test-core.c 	result_regs = *regs;
regs             1233 arch/arm/probes/kprobes/test-core.c 	regs->ARM_sp = (unsigned long)current_stack;
regs             1235 arch/arm/probes/kprobes/test-core.c 	regs->ARM_cpsr &= ~PSR_I_BIT;
regs             1266 arch/arm/probes/kprobes/test-core.c static void print_registers(struct pt_regs *regs)
regs             1269 arch/arm/probes/kprobes/test-core.c 		regs->ARM_r0, regs->ARM_r1, regs->ARM_r2, regs->ARM_r3);
regs             1271 arch/arm/probes/kprobes/test-core.c 		regs->ARM_r4, regs->ARM_r5, regs->ARM_r6, regs->ARM_r7);
regs             1273 arch/arm/probes/kprobes/test-core.c 		regs->ARM_r8, regs->ARM_r9, regs->ARM_r10, regs->ARM_fp);
regs             1275 arch/arm/probes/kprobes/test-core.c 		regs->ARM_ip, regs->ARM_sp, regs->ARM_lr, regs->ARM_pc);
regs             1276 arch/arm/probes/kprobes/test-core.c 	pr_err("cpsr %08lx\n", regs->ARM_cpsr);
regs               24 arch/arm/probes/uprobes/actions-arm.c 	u32 regs;
regs               26 arch/arm/probes/uprobes/actions-arm.c 	for (regs = oregs; regs; regs >>= 4, insn >>= 4) {
regs               27 arch/arm/probes/uprobes/actions-arm.c 		if ((regs & 0xf) == REG_TYPE_NONE)
regs               48 arch/arm/probes/uprobes/actions-arm.c 	regs = oregs;
regs               51 arch/arm/probes/uprobes/actions-arm.c 	for (; regs; regs >>= 4, mask <<= 4, free <<= 4, temp >>= 4) {
regs               52 arch/arm/probes/uprobes/actions-arm.c 		if ((regs & 0xf) == REG_TYPE_NONE)
regs               68 arch/arm/probes/uprobes/actions-arm.c 			  struct pt_regs *regs)
regs               72 arch/arm/probes/uprobes/actions-arm.c 	autask->backup = regs->uregs[pcreg];
regs               73 arch/arm/probes/uprobes/actions-arm.c 	regs->uregs[pcreg] = regs->ARM_pc + 8;
regs               78 arch/arm/probes/uprobes/actions-arm.c 			    struct pt_regs *regs)
regs               81 arch/arm/probes/uprobes/actions-arm.c 	regs->uregs[auprobe->pcreg] = autask->backup;
regs               86 arch/arm/probes/uprobes/actions-arm.c 			       struct pt_regs *regs)
regs               90 arch/arm/probes/uprobes/actions-arm.c 	alu_write_pc(regs->uregs[pcreg], regs);
regs               91 arch/arm/probes/uprobes/actions-arm.c 	regs->uregs[pcreg] = autask->backup;
regs               96 arch/arm/probes/uprobes/actions-arm.c 			    struct pt_regs *regs)
regs              100 arch/arm/probes/uprobes/actions-arm.c 	load_write_pc(regs->uregs[pcreg], regs);
regs              101 arch/arm/probes/uprobes/actions-arm.c 	regs->uregs[pcreg] = autask->backup;
regs              111 arch/arm/probes/uprobes/actions-arm.c 	u32 regs = decode->header.type_regs.bits >> DECODE_TYPE_BITS;
regs              114 arch/arm/probes/uprobes/actions-arm.c 	reg = uprobes_substitute_pc(&auprobe->ixol[0], regs);
regs               36 arch/arm/probes/uprobes/core.c bool arch_uprobe_ignore(struct arch_uprobe *auprobe, struct pt_regs *regs)
regs               38 arch/arm/probes/uprobes/core.c 	if (!auprobe->asi.insn_check_cc(regs->ARM_cpsr)) {
regs               39 arch/arm/probes/uprobes/core.c 		regs->ARM_pc += 4;
regs               46 arch/arm/probes/uprobes/core.c bool arch_uprobe_skip_sstep(struct arch_uprobe *auprobe, struct pt_regs *regs)
regs               55 arch/arm/probes/uprobes/core.c 	auprobe->asi.insn_singlestep(opcode, &auprobe->asi, regs);
regs               62 arch/arm/probes/uprobes/core.c 				  struct pt_regs *regs)
regs               66 arch/arm/probes/uprobes/core.c 	orig_ret_vaddr = regs->ARM_lr;
regs               68 arch/arm/probes/uprobes/core.c 	regs->ARM_lr = trampoline_vaddr;
regs              133 arch/arm/probes/uprobes/core.c int arch_uprobe_pre_xol(struct arch_uprobe *auprobe, struct pt_regs *regs)
regs              138 arch/arm/probes/uprobes/core.c 		auprobe->prehandler(auprobe, &utask->autask, regs);
regs              142 arch/arm/probes/uprobes/core.c 	regs->ARM_pc = utask->xol_vaddr;
regs              147 arch/arm/probes/uprobes/core.c int arch_uprobe_post_xol(struct arch_uprobe *auprobe, struct pt_regs *regs)
regs              154 arch/arm/probes/uprobes/core.c 	regs->ARM_pc = utask->vaddr + 4;
regs              157 arch/arm/probes/uprobes/core.c 		auprobe->posthandler(auprobe, &utask->autask, regs);
regs              170 arch/arm/probes/uprobes/core.c void arch_uprobe_abort_xol(struct arch_uprobe *auprobe, struct pt_regs *regs)
regs              175 arch/arm/probes/uprobes/core.c 	instruction_pointer_set(regs, utask->vaddr);
regs              184 arch/arm/probes/uprobes/core.c static int uprobe_trap_handler(struct pt_regs *regs, unsigned int instr)
regs              191 arch/arm/probes/uprobes/core.c 		uprobe_pre_sstep_notifier(regs);
regs              193 arch/arm/probes/uprobes/core.c 		uprobe_post_sstep_notifier(regs);
regs              199 arch/arm/probes/uprobes/core.c unsigned long uprobe_get_swbp_addr(struct pt_regs *regs)
regs              201 arch/arm/probes/uprobes/core.c 	return instruction_pointer(regs);
regs               83 arch/arm/vfp/vfpinstr.h u32 vfp_single_cprt(u32 inst, u32 fpscr, struct pt_regs *regs);
regs              214 arch/arm/vfp/vfpmodule.c static void vfp_raise_sigfpe(unsigned int sicode, struct pt_regs *regs)
regs              224 arch/arm/vfp/vfpmodule.c 		       (void __user *)(instruction_pointer(regs) - 4),
regs              243 arch/arm/vfp/vfpmodule.c static void vfp_raise_exceptions(u32 exceptions, u32 inst, u32 fpscr, struct pt_regs *regs)
regs              251 arch/arm/vfp/vfpmodule.c 		vfp_raise_sigfpe(FPE_FLTINV, regs);
regs              281 arch/arm/vfp/vfpmodule.c 		vfp_raise_sigfpe(si_code, regs);
regs              287 arch/arm/vfp/vfpmodule.c static u32 vfp_emulate_instruction(u32 inst, u32 fpscr, struct pt_regs *regs)
regs              323 arch/arm/vfp/vfpmodule.c void VFP_bounce(u32 trigger, u32 fpexc, struct pt_regs *regs)
regs              365 arch/arm/vfp/vfpmodule.c 		regs->ARM_pc -= 4;
regs              373 arch/arm/vfp/vfpmodule.c 		 vfp_raise_exceptions(VFP_EXCEPTION_ERROR, trigger, fpscr, regs);
regs              396 arch/arm/vfp/vfpmodule.c 	exceptions = vfp_emulate_instruction(trigger, fpscr, regs);
regs              398 arch/arm/vfp/vfpmodule.c 		vfp_raise_exceptions(exceptions, trigger, orig_fpscr, regs);
regs              415 arch/arm/vfp/vfpmodule.c 	exceptions = vfp_emulate_instruction(trigger, orig_fpscr, regs);
regs              417 arch/arm/vfp/vfpmodule.c 		vfp_raise_exceptions(exceptions, trigger, orig_fpscr, regs);
regs              115 arch/arm64/include/asm/acpi.h int apei_claim_sea(struct pt_regs *regs);
regs              118 arch/arm64/include/asm/acpi.h static inline int apei_claim_sea(struct pt_regs *regs) { return -ENOENT; }
regs              640 arch/arm64/include/asm/cpufeature.h extern int do_emulate_mrs(struct pt_regs *regs, u32 sys_reg, u32 rt);
regs               78 arch/arm64/include/asm/debug-monitors.h 	int (*fn)(struct pt_regs *regs, unsigned int esr);
regs               89 arch/arm64/include/asm/debug-monitors.h 	int (*fn)(struct pt_regs *regs, unsigned int esr);
regs              113 arch/arm64/include/asm/debug-monitors.h void kernel_enable_single_step(struct pt_regs *regs);
regs              118 arch/arm64/include/asm/debug-monitors.h int reinstall_suspended_bps(struct pt_regs *regs);
regs              120 arch/arm64/include/asm/debug-monitors.h static inline int reinstall_suspended_bps(struct pt_regs *regs)
regs              126 arch/arm64/include/asm/debug-monitors.h int aarch32_break_handler(struct pt_regs *regs);
regs              123 arch/arm64/include/asm/elf.h #define ELF_CORE_COPY_REGS(dest, regs)	\
regs              124 arch/arm64/include/asm/elf.h 	*(struct user_pt_regs *)&(dest) = (regs)->user_regs;
regs              134 arch/arm64/include/asm/elf.h #define ELF_PLAT_INIT(_r, load_addr)	(_r)->regs[0] = 0
regs               25 arch/arm64/include/asm/extable.h extern int fixup_exception(struct pt_regs *regs);
regs               66 arch/arm64/include/asm/ftrace.h static inline bool arch_trace_is_compat_syscall(struct pt_regs *regs)
regs               46 arch/arm64/include/asm/kprobes.h int kprobe_fault_handler(struct pt_regs *regs, unsigned int fsr);
regs               50 arch/arm64/include/asm/kprobes.h void __kprobes *trampoline_probe_handler(struct pt_regs *regs);
regs              112 arch/arm64/include/asm/kvm_emulate.h 	return (unsigned long *)&vcpu_gp_regs(vcpu)->regs.pc;
regs              138 arch/arm64/include/asm/kvm_emulate.h 	return (unsigned long *)&vcpu_gp_regs(vcpu)->regs.pstate;
regs              167 arch/arm64/include/asm/kvm_emulate.h 	return (reg_num == 31) ? 0 : vcpu_gp_regs(vcpu)->regs.regs[reg_num];
regs              174 arch/arm64/include/asm/kvm_emulate.h 		vcpu_gp_regs(vcpu)->regs.regs[reg_num] = val;
regs              500 arch/arm64/include/asm/kvm_emulate.h 	vcpu->arch.ctxt.gp_regs.regs.pstate = read_sysreg_el2(SYS_SPSR);
regs              504 arch/arm64/include/asm/kvm_emulate.h 	write_sysreg_el2(vcpu->arch.ctxt.gp_regs.regs.pstate, SYS_SPSR);
regs              287 arch/arm64/include/asm/kvm_host.h 		struct kvm_guest_debug_arch regs;
regs              213 arch/arm64/include/asm/perf_event.h extern unsigned long perf_instruction_pointer(struct pt_regs *regs);
regs              214 arch/arm64/include/asm/perf_event.h extern unsigned long perf_misc_flags(struct pt_regs *regs);
regs              215 arch/arm64/include/asm/perf_event.h #define perf_misc_flags(regs)	perf_misc_flags(regs)
regs              216 arch/arm64/include/asm/perf_event.h #define perf_arch_bpf_user_pt_regs(regs) &regs->user_regs
regs              219 arch/arm64/include/asm/perf_event.h #define perf_arch_fetch_caller_regs(regs, __ip) { \
regs              220 arch/arm64/include/asm/perf_event.h 	(regs)->pc = (__ip);    \
regs              221 arch/arm64/include/asm/perf_event.h 	(regs)->regs[29] = (unsigned long) __builtin_frame_address(0); \
regs              222 arch/arm64/include/asm/perf_event.h 	(regs)->sp = current_stack_pointer; \
regs              223 arch/arm64/include/asm/perf_event.h 	(regs)->pstate = PSR_MODE_EL1h;	\
regs              185 arch/arm64/include/asm/processor.h static inline void start_thread_common(struct pt_regs *regs, unsigned long pc)
regs              187 arch/arm64/include/asm/processor.h 	memset(regs, 0, sizeof(*regs));
regs              188 arch/arm64/include/asm/processor.h 	forget_syscall(regs);
regs              189 arch/arm64/include/asm/processor.h 	regs->pc = pc;
regs              192 arch/arm64/include/asm/processor.h 		regs->pmr_save = GIC_PRIO_IRQON;
regs              195 arch/arm64/include/asm/processor.h static inline void set_ssbs_bit(struct pt_regs *regs)
regs              197 arch/arm64/include/asm/processor.h 	regs->pstate |= PSR_SSBS_BIT;
regs              200 arch/arm64/include/asm/processor.h static inline void set_compat_ssbs_bit(struct pt_regs *regs)
regs              202 arch/arm64/include/asm/processor.h 	regs->pstate |= PSR_AA32_SSBS_BIT;
regs              205 arch/arm64/include/asm/processor.h static inline void start_thread(struct pt_regs *regs, unsigned long pc,
regs              208 arch/arm64/include/asm/processor.h 	start_thread_common(regs, pc);
regs              209 arch/arm64/include/asm/processor.h 	regs->pstate = PSR_MODE_EL0t;
regs              212 arch/arm64/include/asm/processor.h 		set_ssbs_bit(regs);
regs              214 arch/arm64/include/asm/processor.h 	regs->sp = sp;
regs              218 arch/arm64/include/asm/processor.h static inline void compat_start_thread(struct pt_regs *regs, unsigned long pc,
regs              221 arch/arm64/include/asm/processor.h 	start_thread_common(regs, pc);
regs              222 arch/arm64/include/asm/processor.h 	regs->pstate = PSR_AA32_MODE_USR;
regs              224 arch/arm64/include/asm/processor.h 		regs->pstate |= PSR_AA32_T_BIT;
regs              227 arch/arm64/include/asm/processor.h 	regs->pstate |= PSR_AA32_E_BIT;
regs              231 arch/arm64/include/asm/processor.h 		set_compat_ssbs_bit(regs);
regs              233 arch/arm64/include/asm/processor.h 	regs->compat_sp = sp;
regs              110 arch/arm64/include/asm/ptrace.h #define compat_usr(x)	regs[(x)]
regs              111 arch/arm64/include/asm/ptrace.h #define compat_fp	regs[11]
regs              112 arch/arm64/include/asm/ptrace.h #define compat_sp	regs[13]
regs              113 arch/arm64/include/asm/ptrace.h #define compat_lr	regs[14]
regs              114 arch/arm64/include/asm/ptrace.h #define compat_sp_hyp	regs[15]
regs              115 arch/arm64/include/asm/ptrace.h #define compat_lr_irq	regs[16]
regs              116 arch/arm64/include/asm/ptrace.h #define compat_sp_irq	regs[17]
regs              117 arch/arm64/include/asm/ptrace.h #define compat_lr_svc	regs[18]
regs              118 arch/arm64/include/asm/ptrace.h #define compat_sp_svc	regs[19]
regs              119 arch/arm64/include/asm/ptrace.h #define compat_lr_abt	regs[20]
regs              120 arch/arm64/include/asm/ptrace.h #define compat_sp_abt	regs[21]
regs              121 arch/arm64/include/asm/ptrace.h #define compat_lr_und	regs[22]
regs              122 arch/arm64/include/asm/ptrace.h #define compat_sp_und	regs[23]
regs              123 arch/arm64/include/asm/ptrace.h #define compat_r8_fiq	regs[24]
regs              124 arch/arm64/include/asm/ptrace.h #define compat_r9_fiq	regs[25]
regs              125 arch/arm64/include/asm/ptrace.h #define compat_r10_fiq	regs[26]
regs              126 arch/arm64/include/asm/ptrace.h #define compat_r11_fiq	regs[27]
regs              127 arch/arm64/include/asm/ptrace.h #define compat_r12_fiq	regs[28]
regs              128 arch/arm64/include/asm/ptrace.h #define compat_sp_fiq	regs[29]
regs              129 arch/arm64/include/asm/ptrace.h #define compat_lr_fiq	regs[30]
regs              164 arch/arm64/include/asm/ptrace.h 			u64 regs[31];
regs              185 arch/arm64/include/asm/ptrace.h static inline bool in_syscall(struct pt_regs const *regs)
regs              187 arch/arm64/include/asm/ptrace.h 	return regs->syscallno != NO_SYSCALL;
regs              190 arch/arm64/include/asm/ptrace.h static inline void forget_syscall(struct pt_regs *regs)
regs              192 arch/arm64/include/asm/ptrace.h 	regs->syscallno = NO_SYSCALL;
regs              200 arch/arm64/include/asm/ptrace.h #define compat_thumb_mode(regs) \
regs              201 arch/arm64/include/asm/ptrace.h 	(((regs)->pstate & PSR_AA32_T_BIT))
regs              203 arch/arm64/include/asm/ptrace.h #define compat_thumb_mode(regs) (0)
regs              206 arch/arm64/include/asm/ptrace.h #define user_mode(regs)	\
regs              207 arch/arm64/include/asm/ptrace.h 	(((regs)->pstate & PSR_MODE_MASK) == PSR_MODE_EL0t)
regs              209 arch/arm64/include/asm/ptrace.h #define compat_user_mode(regs)	\
regs              210 arch/arm64/include/asm/ptrace.h 	(((regs)->pstate & (PSR_MODE32_BIT | PSR_MODE_MASK)) == \
regs              213 arch/arm64/include/asm/ptrace.h #define processor_mode(regs) \
regs              214 arch/arm64/include/asm/ptrace.h 	((regs)->pstate & PSR_MODE_MASK)
regs              216 arch/arm64/include/asm/ptrace.h #define irqs_priority_unmasked(regs)					\
regs              218 arch/arm64/include/asm/ptrace.h 		(regs)->pmr_save == GIC_PRIO_IRQON :			\
regs              221 arch/arm64/include/asm/ptrace.h #define interrupts_enabled(regs)			\
regs              222 arch/arm64/include/asm/ptrace.h 	(!((regs)->pstate & PSR_I_BIT) && irqs_priority_unmasked(regs))
regs              224 arch/arm64/include/asm/ptrace.h #define fast_interrupts_enabled(regs) \
regs              225 arch/arm64/include/asm/ptrace.h 	(!((regs)->pstate & PSR_F_BIT))
regs              227 arch/arm64/include/asm/ptrace.h static inline unsigned long user_stack_pointer(struct pt_regs *regs)
regs              229 arch/arm64/include/asm/ptrace.h 	if (compat_user_mode(regs))
regs              230 arch/arm64/include/asm/ptrace.h 		return regs->compat_sp;
regs              231 arch/arm64/include/asm/ptrace.h 	return regs->sp;
regs              235 arch/arm64/include/asm/ptrace.h extern unsigned long regs_get_kernel_stack_nth(struct pt_regs *regs,
regs              247 arch/arm64/include/asm/ptrace.h static inline u64 regs_get_register(struct pt_regs *regs, unsigned int offset)
regs              256 arch/arm64/include/asm/ptrace.h 		val = regs->regs[offset];
regs              259 arch/arm64/include/asm/ptrace.h 		val = regs->sp;
regs              262 arch/arm64/include/asm/ptrace.h 		val = regs->pc;
regs              265 arch/arm64/include/asm/ptrace.h 		val = regs->pstate;
regs              278 arch/arm64/include/asm/ptrace.h static inline unsigned long pt_regs_read_reg(const struct pt_regs *regs, int r)
regs              280 arch/arm64/include/asm/ptrace.h 	return (r == 31) ? 0 : regs->regs[r];
regs              287 arch/arm64/include/asm/ptrace.h static inline void pt_regs_write_reg(struct pt_regs *regs, int r,
regs              291 arch/arm64/include/asm/ptrace.h 		regs->regs[r] = val;
regs              295 arch/arm64/include/asm/ptrace.h static inline unsigned long kernel_stack_pointer(struct pt_regs *regs)
regs              297 arch/arm64/include/asm/ptrace.h 	return regs->sp;
regs              300 arch/arm64/include/asm/ptrace.h static inline unsigned long regs_return_value(struct pt_regs *regs)
regs              302 arch/arm64/include/asm/ptrace.h 	return regs->regs[0];
regs              305 arch/arm64/include/asm/ptrace.h static inline void regs_set_return_value(struct pt_regs *regs, unsigned long rc)
regs              307 arch/arm64/include/asm/ptrace.h 	regs->regs[0] = rc;
regs              323 arch/arm64/include/asm/ptrace.h static inline unsigned long regs_get_kernel_argument(struct pt_regs *regs,
regs              328 arch/arm64/include/asm/ptrace.h 		return pt_regs_read_reg(regs, n);
regs              334 arch/arm64/include/asm/ptrace.h int valid_user_regs(struct user_pt_regs *regs, struct task_struct *task);
regs              336 arch/arm64/include/asm/ptrace.h static inline unsigned long instruction_pointer(struct pt_regs *regs)
regs              338 arch/arm64/include/asm/ptrace.h 	return regs->pc;
regs              340 arch/arm64/include/asm/ptrace.h static inline void instruction_pointer_set(struct pt_regs *regs,
regs              343 arch/arm64/include/asm/ptrace.h 	regs->pc = val;
regs              346 arch/arm64/include/asm/ptrace.h static inline unsigned long frame_pointer(struct pt_regs *regs)
regs              348 arch/arm64/include/asm/ptrace.h 	return regs->regs[29];
regs              351 arch/arm64/include/asm/ptrace.h #define procedure_link_pointer(regs)	((regs)->regs[30])
regs              353 arch/arm64/include/asm/ptrace.h static inline void procedure_link_pointer_set(struct pt_regs *regs,
regs              356 arch/arm64/include/asm/ptrace.h 	procedure_link_pointer(regs) = val;
regs              359 arch/arm64/include/asm/ptrace.h extern unsigned long profile_pc(struct pt_regs *regs);
regs               37 arch/arm64/include/asm/sdei.h asmlinkage unsigned long __sdei_handler(struct pt_regs *regs,
regs               58 arch/arm64/include/asm/signal32.h 		       struct pt_regs *regs);
regs               60 arch/arm64/include/asm/signal32.h 			  struct pt_regs *regs);
regs               62 arch/arm64/include/asm/signal32.h void compat_setup_restart_syscall(struct pt_regs *regs);
regs               66 arch/arm64/include/asm/signal32.h 				     sigset_t *set, struct pt_regs *regs)
regs               72 arch/arm64/include/asm/signal32.h 					struct pt_regs *regs)
regs               77 arch/arm64/include/asm/signal32.h static inline void compat_setup_restart_syscall(struct pt_regs *regs)
regs               61 arch/arm64/include/asm/smp.h extern void handle_IPI(int ipinr, struct pt_regs *regs);
regs               67 arch/arm64/include/asm/stacktrace.h extern void dump_backtrace(struct pt_regs *regs, struct task_struct *tsk);
regs               12 arch/arm64/include/asm/syscall.h typedef long (*syscall_fn_t)(const struct pt_regs *regs);
regs               21 arch/arm64/include/asm/syscall.h 				 struct pt_regs *regs)
regs               23 arch/arm64/include/asm/syscall.h 	return regs->syscallno;
regs               27 arch/arm64/include/asm/syscall.h 				    struct pt_regs *regs)
regs               29 arch/arm64/include/asm/syscall.h 	regs->regs[0] = regs->orig_x0;
regs               34 arch/arm64/include/asm/syscall.h 				     struct pt_regs *regs)
regs               36 arch/arm64/include/asm/syscall.h 	unsigned long error = regs->regs[0];
regs               41 arch/arm64/include/asm/syscall.h 					    struct pt_regs *regs)
regs               43 arch/arm64/include/asm/syscall.h 	return regs->regs[0];
regs               47 arch/arm64/include/asm/syscall.h 					    struct pt_regs *regs,
regs               50 arch/arm64/include/asm/syscall.h 	regs->regs[0] = (long) error ? error : val;
regs               56 arch/arm64/include/asm/syscall.h 					 struct pt_regs *regs,
regs               59 arch/arm64/include/asm/syscall.h 	args[0] = regs->orig_x0;
regs               62 arch/arm64/include/asm/syscall.h 	memcpy(args, &regs->regs[1], 5 * sizeof(args[0]));
regs               66 arch/arm64/include/asm/syscall.h 					 struct pt_regs *regs,
regs               69 arch/arm64/include/asm/syscall.h 	regs->orig_x0 = args[0];
regs               72 arch/arm64/include/asm/syscall.h 	memcpy(&regs->regs[1], args, 5 * sizeof(args[0]));
regs               15 arch/arm64/include/asm/syscall_wrapper.h 	      ,,regs->regs[0],,regs->regs[1],,regs->regs[2]	\
regs               16 arch/arm64/include/asm/syscall_wrapper.h 	      ,,regs->regs[3],,regs->regs[4],,regs->regs[5])
regs               21 arch/arm64/include/asm/syscall_wrapper.h 	asmlinkage long __arm64_compat_sys##name(const struct pt_regs *regs);		\
regs               25 arch/arm64/include/asm/syscall_wrapper.h 	asmlinkage long __arm64_compat_sys##name(const struct pt_regs *regs)		\
regs               41 arch/arm64/include/asm/syscall_wrapper.h 	asmlinkage long __weak __arm64_compat_sys_##name(const struct pt_regs *regs)	\
regs               52 arch/arm64/include/asm/syscall_wrapper.h 	asmlinkage long __arm64_sys##name(const struct pt_regs *regs);		\
regs               56 arch/arm64/include/asm/syscall_wrapper.h 	asmlinkage long __arm64_sys##name(const struct pt_regs *regs)		\
regs               79 arch/arm64/include/asm/syscall_wrapper.h 	asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs)	\
regs               21 arch/arm64/include/asm/system_misc.h void die(const char *msg, struct pt_regs *regs, int err);
regs               24 arch/arm64/include/asm/system_misc.h void arm64_notify_die(const char *str, struct pt_regs *regs,
regs               22 arch/arm64/include/asm/traps.h 	int (*fn)(struct pt_regs *regs, u32 instr);
regs               37 arch/arm64/include/asm/traps.h void arm64_skip_faulting_instruction(struct pt_regs *regs, unsigned long size);
regs              111 arch/arm64/include/asm/traps.h bool arm64_is_fatal_ras_serror(struct pt_regs *regs, unsigned int esr);
regs              112 arch/arm64/include/asm/traps.h void __noreturn arm64_serror_panic(struct pt_regs *regs, u32 esr);
regs               15 arch/arm64/include/asm/xen/events.h static inline int xen_irqs_disabled(struct pt_regs *regs)
regs               17 arch/arm64/include/asm/xen/events.h 	return !interrupts_enabled(regs);
regs               51 arch/arm64/include/uapi/asm/kvm.h 	struct user_pt_regs regs;	/* sp = sp_el0 */
regs               76 arch/arm64/include/uapi/asm/ptrace.h 	__u64		regs[31];
regs               31 arch/arm64/include/uapi/asm/sigcontext.h 	__u64 regs[31];
regs              269 arch/arm64/kernel/acpi.c int apei_claim_sea(struct pt_regs *regs)
regs              371 arch/arm64/kernel/armv8_deprecated.c static int swp_handler(struct pt_regs *regs, u32 instr)
regs              377 arch/arm64/kernel/armv8_deprecated.c 	perf_sw_event(PERF_COUNT_SW_EMULATION_FAULTS, 1, regs, regs->pc);
regs              381 arch/arm64/kernel/armv8_deprecated.c 	switch (aarch32_check_condition(instr, regs->pstate)) {
regs              397 arch/arm64/kernel/armv8_deprecated.c 	address = (u32)regs->user_regs.regs[rn];
regs              398 arch/arm64/kernel/armv8_deprecated.c 	data	= (u32)regs->user_regs.regs[rt2];
regs              417 arch/arm64/kernel/armv8_deprecated.c 		regs->user_regs.regs[destreg] = data;
regs              421 arch/arm64/kernel/armv8_deprecated.c 		trace_instruction_emulation("swpb", regs->pc);
regs              423 arch/arm64/kernel/armv8_deprecated.c 		trace_instruction_emulation("swp", regs->pc);
regs              426 arch/arm64/kernel/armv8_deprecated.c 			current->comm, (unsigned long)current->pid, regs->pc);
regs              428 arch/arm64/kernel/armv8_deprecated.c 	arm64_skip_faulting_instruction(regs, 4);
regs              460 arch/arm64/kernel/armv8_deprecated.c static int cp15barrier_handler(struct pt_regs *regs, u32 instr)
regs              462 arch/arm64/kernel/armv8_deprecated.c 	perf_sw_event(PERF_COUNT_SW_EMULATION_FAULTS, 1, regs, regs->pc);
regs              464 arch/arm64/kernel/armv8_deprecated.c 	switch (aarch32_check_condition(instr, regs->pstate)) {
regs              486 arch/arm64/kernel/armv8_deprecated.c 				"mcr p15, 0, Rt, c7, c10, 5 ; dmb", regs->pc);
regs              490 arch/arm64/kernel/armv8_deprecated.c 				"mcr p15, 0, Rt, c7, c10, 4 ; dsb", regs->pc);
regs              501 arch/arm64/kernel/armv8_deprecated.c 			"mcr p15, 0, Rt, c7, c5, 4 ; isb", regs->pc);
regs              507 arch/arm64/kernel/armv8_deprecated.c 			current->comm, (unsigned long)current->pid, regs->pc);
regs              509 arch/arm64/kernel/armv8_deprecated.c 	arm64_skip_faulting_instruction(regs, 4);
regs              559 arch/arm64/kernel/armv8_deprecated.c static int compat_setend_handler(struct pt_regs *regs, u32 big_endian)
regs              563 arch/arm64/kernel/armv8_deprecated.c 	perf_sw_event(PERF_COUNT_SW_EMULATION_FAULTS, 1, regs, regs->pc);
regs              567 arch/arm64/kernel/armv8_deprecated.c 		regs->pstate |= PSR_AA32_E_BIT;
regs              570 arch/arm64/kernel/armv8_deprecated.c 		regs->pstate &= ~PSR_AA32_E_BIT;
regs              573 arch/arm64/kernel/armv8_deprecated.c 	trace_instruction_emulation(insn, regs->pc);
regs              575 arch/arm64/kernel/armv8_deprecated.c 			current->comm, (unsigned long)current->pid, regs->pc);
regs              580 arch/arm64/kernel/armv8_deprecated.c static int a32_setend_handler(struct pt_regs *regs, u32 instr)
regs              582 arch/arm64/kernel/armv8_deprecated.c 	int rc = compat_setend_handler(regs, (instr >> 9) & 1);
regs              583 arch/arm64/kernel/armv8_deprecated.c 	arm64_skip_faulting_instruction(regs, 4);
regs              587 arch/arm64/kernel/armv8_deprecated.c static int t16_setend_handler(struct pt_regs *regs, u32 instr)
regs              589 arch/arm64/kernel/armv8_deprecated.c 	int rc = compat_setend_handler(regs, (instr >> 3) & 1);
regs              590 arch/arm64/kernel/armv8_deprecated.c 	arm64_skip_faulting_instruction(regs, 2);
regs               44 arch/arm64/kernel/asm-offsets.c   DEFINE(S_X0,			offsetof(struct pt_regs, regs[0]));
regs               45 arch/arm64/kernel/asm-offsets.c   DEFINE(S_X2,			offsetof(struct pt_regs, regs[2]));
regs               46 arch/arm64/kernel/asm-offsets.c   DEFINE(S_X4,			offsetof(struct pt_regs, regs[4]));
regs               47 arch/arm64/kernel/asm-offsets.c   DEFINE(S_X6,			offsetof(struct pt_regs, regs[6]));
regs               48 arch/arm64/kernel/asm-offsets.c   DEFINE(S_X8,			offsetof(struct pt_regs, regs[8]));
regs               49 arch/arm64/kernel/asm-offsets.c   DEFINE(S_X10,			offsetof(struct pt_regs, regs[10]));
regs               50 arch/arm64/kernel/asm-offsets.c   DEFINE(S_X12,			offsetof(struct pt_regs, regs[12]));
regs               51 arch/arm64/kernel/asm-offsets.c   DEFINE(S_X14,			offsetof(struct pt_regs, regs[14]));
regs               52 arch/arm64/kernel/asm-offsets.c   DEFINE(S_X16,			offsetof(struct pt_regs, regs[16]));
regs               53 arch/arm64/kernel/asm-offsets.c   DEFINE(S_X18,			offsetof(struct pt_regs, regs[18]));
regs               54 arch/arm64/kernel/asm-offsets.c   DEFINE(S_X20,			offsetof(struct pt_regs, regs[20]));
regs               55 arch/arm64/kernel/asm-offsets.c   DEFINE(S_X22,			offsetof(struct pt_regs, regs[22]));
regs               56 arch/arm64/kernel/asm-offsets.c   DEFINE(S_X24,			offsetof(struct pt_regs, regs[24]));
regs               57 arch/arm64/kernel/asm-offsets.c   DEFINE(S_X26,			offsetof(struct pt_regs, regs[26]));
regs               58 arch/arm64/kernel/asm-offsets.c   DEFINE(S_X28,			offsetof(struct pt_regs, regs[28]));
regs               59 arch/arm64/kernel/asm-offsets.c   DEFINE(S_LR,			offsetof(struct pt_regs, regs[30]));
regs              102 arch/arm64/kernel/asm-offsets.c   DEFINE(CPU_USER_PT_REGS,	offsetof(struct kvm_regs, regs));
regs             1180 arch/arm64/kernel/cpufeature.c static int ssbs_emulation_handler(struct pt_regs *regs, u32 instr)
regs             1182 arch/arm64/kernel/cpufeature.c 	if (user_mode(regs))
regs             1186 arch/arm64/kernel/cpufeature.c 		regs->pstate |= PSR_SSBS_BIT;
regs             1188 arch/arm64/kernel/cpufeature.c 		regs->pstate &= ~PSR_SSBS_BIT;
regs             1190 arch/arm64/kernel/cpufeature.c 	arm64_skip_faulting_instruction(regs, 4);
regs             2183 arch/arm64/kernel/cpufeature.c int do_emulate_mrs(struct pt_regs *regs, u32 sys_reg, u32 rt)
regs             2190 arch/arm64/kernel/cpufeature.c 		pt_regs_write_reg(regs, rt, val);
regs             2191 arch/arm64/kernel/cpufeature.c 		arm64_skip_faulting_instruction(regs, AARCH64_INSN_SIZE);
regs             2196 arch/arm64/kernel/cpufeature.c static int emulate_mrs(struct pt_regs *regs, u32 insn)
regs             2206 arch/arm64/kernel/cpufeature.c 	return do_emulate_mrs(regs, sys_reg, rt);
regs              144 arch/arm64/kernel/debug-monitors.c static void set_regs_spsr_ss(struct pt_regs *regs)
regs              146 arch/arm64/kernel/debug-monitors.c 	regs->pstate |= DBG_SPSR_SS;
regs              150 arch/arm64/kernel/debug-monitors.c static void clear_regs_spsr_ss(struct pt_regs *regs)
regs              152 arch/arm64/kernel/debug-monitors.c 	regs->pstate &= ~DBG_SPSR_SS;
regs              202 arch/arm64/kernel/debug-monitors.c static int call_step_hook(struct pt_regs *regs, unsigned int esr)
regs              208 arch/arm64/kernel/debug-monitors.c 	list = user_mode(regs) ? &user_step_hook : &kernel_step_hook;
regs              215 arch/arm64/kernel/debug-monitors.c 		retval = hook->fn(regs, esr);
regs              226 arch/arm64/kernel/debug-monitors.c 	struct pt_regs *regs = current_pt_regs();
regs              228 arch/arm64/kernel/debug-monitors.c 	if (WARN_ON(!user_mode(regs)))
regs              231 arch/arm64/kernel/debug-monitors.c 	if (interrupts_enabled(regs))
regs              235 arch/arm64/kernel/debug-monitors.c 			     (void __user *)instruction_pointer(regs),
regs              240 arch/arm64/kernel/debug-monitors.c 			       struct pt_regs *regs)
regs              248 arch/arm64/kernel/debug-monitors.c 	if (!reinstall_suspended_bps(regs))
regs              251 arch/arm64/kernel/debug-monitors.c 	if (!handler_found && call_step_hook(regs, esr) == DBG_HOOK_HANDLED)
regs              254 arch/arm64/kernel/debug-monitors.c 	if (!handler_found && user_mode(regs)) {
regs              270 arch/arm64/kernel/debug-monitors.c 		set_regs_spsr_ss(regs);
regs              300 arch/arm64/kernel/debug-monitors.c static int call_break_hook(struct pt_regs *regs, unsigned int esr)
regs              304 arch/arm64/kernel/debug-monitors.c 	int (*fn)(struct pt_regs *regs, unsigned int esr) = NULL;
regs              306 arch/arm64/kernel/debug-monitors.c 	list = user_mode(regs) ? &user_break_hook : &kernel_break_hook;
regs              319 arch/arm64/kernel/debug-monitors.c 	return fn ? fn(regs, esr) : DBG_HOOK_ERROR;
regs              324 arch/arm64/kernel/debug-monitors.c 		       struct pt_regs *regs)
regs              326 arch/arm64/kernel/debug-monitors.c 	if (call_break_hook(regs, esr) == DBG_HOOK_HANDLED)
regs              329 arch/arm64/kernel/debug-monitors.c 	if (user_mode(regs)) {
regs              340 arch/arm64/kernel/debug-monitors.c int aarch32_break_handler(struct pt_regs *regs)
regs              345 arch/arm64/kernel/debug-monitors.c 	void __user *pc = (void __user *)instruction_pointer(regs);
regs              347 arch/arm64/kernel/debug-monitors.c 	if (!compat_user_mode(regs))
regs              350 arch/arm64/kernel/debug-monitors.c 	if (compat_thumb_mode(regs)) {
regs              408 arch/arm64/kernel/debug-monitors.c void kernel_enable_single_step(struct pt_regs *regs)
regs              411 arch/arm64/kernel/debug-monitors.c 	set_regs_spsr_ss(regs);
regs              925 arch/arm64/kernel/fpsimd.c asmlinkage void do_sve_acc(unsigned int esr, struct pt_regs *regs)
regs              929 arch/arm64/kernel/fpsimd.c 		force_signal_inject(SIGILL, ILL_ILLOPC, regs->pc);
regs              952 arch/arm64/kernel/fpsimd.c asmlinkage void do_fpsimd_acc(unsigned int esr, struct pt_regs *regs)
regs              961 arch/arm64/kernel/fpsimd.c asmlinkage void do_fpsimd_exc(unsigned int esr, struct pt_regs *regs)
regs              979 arch/arm64/kernel/fpsimd.c 		       (void __user *)instruction_pointer(regs),
regs              621 arch/arm64/kernel/hw_breakpoint.c 			      struct pt_regs *regs)
regs              631 arch/arm64/kernel/hw_breakpoint.c 	addr = instruction_pointer(regs);
regs              654 arch/arm64/kernel/hw_breakpoint.c 		perf_bp_event(bp, regs);
regs              666 arch/arm64/kernel/hw_breakpoint.c 	if (user_mode(regs)) {
regs              689 arch/arm64/kernel/hw_breakpoint.c 			kernel_enable_single_step(regs);
regs              734 arch/arm64/kernel/hw_breakpoint.c 			      struct pt_regs *regs)
regs              782 arch/arm64/kernel/hw_breakpoint.c 		perf_bp_event(wp, regs);
regs              793 arch/arm64/kernel/hw_breakpoint.c 		perf_bp_event(wp, regs);
regs              810 arch/arm64/kernel/hw_breakpoint.c 	if (user_mode(regs)) {
regs              832 arch/arm64/kernel/hw_breakpoint.c 			kernel_enable_single_step(regs);
regs              843 arch/arm64/kernel/hw_breakpoint.c int reinstall_suspended_bps(struct pt_regs *regs)
regs              855 arch/arm64/kernel/hw_breakpoint.c 	if (user_mode(regs)) {
regs               23 arch/arm64/kernel/kgdb.c 	{ "x0", 8, offsetof(struct pt_regs, regs[0])},
regs               24 arch/arm64/kernel/kgdb.c 	{ "x1", 8, offsetof(struct pt_regs, regs[1])},
regs               25 arch/arm64/kernel/kgdb.c 	{ "x2", 8, offsetof(struct pt_regs, regs[2])},
regs               26 arch/arm64/kernel/kgdb.c 	{ "x3", 8, offsetof(struct pt_regs, regs[3])},
regs               27 arch/arm64/kernel/kgdb.c 	{ "x4", 8, offsetof(struct pt_regs, regs[4])},
regs               28 arch/arm64/kernel/kgdb.c 	{ "x5", 8, offsetof(struct pt_regs, regs[5])},
regs               29 arch/arm64/kernel/kgdb.c 	{ "x6", 8, offsetof(struct pt_regs, regs[6])},
regs               30 arch/arm64/kernel/kgdb.c 	{ "x7", 8, offsetof(struct pt_regs, regs[7])},
regs               31 arch/arm64/kernel/kgdb.c 	{ "x8", 8, offsetof(struct pt_regs, regs[8])},
regs               32 arch/arm64/kernel/kgdb.c 	{ "x9", 8, offsetof(struct pt_regs, regs[9])},
regs               33 arch/arm64/kernel/kgdb.c 	{ "x10", 8, offsetof(struct pt_regs, regs[10])},
regs               34 arch/arm64/kernel/kgdb.c 	{ "x11", 8, offsetof(struct pt_regs, regs[11])},
regs               35 arch/arm64/kernel/kgdb.c 	{ "x12", 8, offsetof(struct pt_regs, regs[12])},
regs               36 arch/arm64/kernel/kgdb.c 	{ "x13", 8, offsetof(struct pt_regs, regs[13])},
regs               37 arch/arm64/kernel/kgdb.c 	{ "x14", 8, offsetof(struct pt_regs, regs[14])},
regs               38 arch/arm64/kernel/kgdb.c 	{ "x15", 8, offsetof(struct pt_regs, regs[15])},
regs               39 arch/arm64/kernel/kgdb.c 	{ "x16", 8, offsetof(struct pt_regs, regs[16])},
regs               40 arch/arm64/kernel/kgdb.c 	{ "x17", 8, offsetof(struct pt_regs, regs[17])},
regs               41 arch/arm64/kernel/kgdb.c 	{ "x18", 8, offsetof(struct pt_regs, regs[18])},
regs               42 arch/arm64/kernel/kgdb.c 	{ "x19", 8, offsetof(struct pt_regs, regs[19])},
regs               43 arch/arm64/kernel/kgdb.c 	{ "x20", 8, offsetof(struct pt_regs, regs[20])},
regs               44 arch/arm64/kernel/kgdb.c 	{ "x21", 8, offsetof(struct pt_regs, regs[21])},
regs               45 arch/arm64/kernel/kgdb.c 	{ "x22", 8, offsetof(struct pt_regs, regs[22])},
regs               46 arch/arm64/kernel/kgdb.c 	{ "x23", 8, offsetof(struct pt_regs, regs[23])},
regs               47 arch/arm64/kernel/kgdb.c 	{ "x24", 8, offsetof(struct pt_regs, regs[24])},
regs               48 arch/arm64/kernel/kgdb.c 	{ "x25", 8, offsetof(struct pt_regs, regs[25])},
regs               49 arch/arm64/kernel/kgdb.c 	{ "x26", 8, offsetof(struct pt_regs, regs[26])},
regs               50 arch/arm64/kernel/kgdb.c 	{ "x27", 8, offsetof(struct pt_regs, regs[27])},
regs               51 arch/arm64/kernel/kgdb.c 	{ "x28", 8, offsetof(struct pt_regs, regs[28])},
regs               52 arch/arm64/kernel/kgdb.c 	{ "x29", 8, offsetof(struct pt_regs, regs[29])},
regs               53 arch/arm64/kernel/kgdb.c 	{ "x30", 8, offsetof(struct pt_regs, regs[30])},
regs              103 arch/arm64/kernel/kgdb.c char *dbg_get_reg(int regno, void *mem, struct pt_regs *regs)
regs              109 arch/arm64/kernel/kgdb.c 		memcpy(mem, (void *)regs + dbg_reg_def[regno].offset,
regs              116 arch/arm64/kernel/kgdb.c int dbg_set_reg(int regno, void *mem, struct pt_regs *regs)
regs              122 arch/arm64/kernel/kgdb.c 		memcpy((void *)regs + dbg_reg_def[regno].offset, mem,
regs              151 arch/arm64/kernel/kgdb.c void kgdb_arch_set_pc(struct pt_regs *regs, unsigned long pc)
regs              153 arch/arm64/kernel/kgdb.c 	regs->pc = pc;
regs              158 arch/arm64/kernel/kgdb.c static void kgdb_arch_update_addr(struct pt_regs *regs,
regs              166 arch/arm64/kernel/kgdb.c 		kgdb_arch_set_pc(regs, addr);
regs              168 arch/arm64/kernel/kgdb.c 		kgdb_arch_set_pc(regs, regs->pc + 4);
regs              234 arch/arm64/kernel/kgdb.c static int kgdb_brk_fn(struct pt_regs *regs, unsigned int esr)
regs              236 arch/arm64/kernel/kgdb.c 	kgdb_handle_exception(1, SIGTRAP, 0, regs);
regs              241 arch/arm64/kernel/kgdb.c static int kgdb_compiled_brk_fn(struct pt_regs *regs, unsigned int esr)
regs              244 arch/arm64/kernel/kgdb.c 	kgdb_handle_exception(1, SIGTRAP, 0, regs);
regs              250 arch/arm64/kernel/kgdb.c static int kgdb_step_brk_fn(struct pt_regs *regs, unsigned int esr)
regs              255 arch/arm64/kernel/kgdb.c 	kgdb_handle_exception(1, SIGTRAP, 0, regs);
regs              276 arch/arm64/kernel/kgdb.c 	struct pt_regs *regs = args->regs;
regs              278 arch/arm64/kernel/kgdb.c 	if (kgdb_handle_exception(1, args->signr, cmd, regs))
regs              262 arch/arm64/kernel/machine_kexec.c void machine_crash_shutdown(struct pt_regs *regs)
regs              270 arch/arm64/kernel/machine_kexec.c 	crash_save_cpu(regs, smp_processor_id());
regs              103 arch/arm64/kernel/perf_callchain.c 			 struct pt_regs *regs)
regs              110 arch/arm64/kernel/perf_callchain.c 	perf_callchain_store(entry, regs->pc);
regs              112 arch/arm64/kernel/perf_callchain.c 	if (!compat_user_mode(regs)) {
regs              116 arch/arm64/kernel/perf_callchain.c 		tail = (struct frame_tail __user *)regs->regs[29];
regs              126 arch/arm64/kernel/perf_callchain.c 		tail = (struct compat_frame_tail __user *)regs->compat_fp - 1;
regs              148 arch/arm64/kernel/perf_callchain.c 			   struct pt_regs *regs)
regs              157 arch/arm64/kernel/perf_callchain.c 	start_backtrace(&frame, regs->regs[29], regs->pc);
regs              161 arch/arm64/kernel/perf_callchain.c unsigned long perf_instruction_pointer(struct pt_regs *regs)
regs              166 arch/arm64/kernel/perf_callchain.c 	return instruction_pointer(regs);
regs              169 arch/arm64/kernel/perf_callchain.c unsigned long perf_misc_flags(struct pt_regs *regs)
regs              179 arch/arm64/kernel/perf_callchain.c 		if (user_mode(regs))
regs              694 arch/arm64/kernel/perf_event.c 	struct pt_regs *regs;
regs              711 arch/arm64/kernel/perf_event.c 	regs = get_irq_regs();
regs              739 arch/arm64/kernel/perf_event.c 		if (perf_event_overflow(event, &data, regs))
regs               12 arch/arm64/kernel/perf_regs.c u64 perf_reg_value(struct pt_regs *regs, int idx)
regs               22 arch/arm64/kernel/perf_regs.c 	if (compat_user_mode(regs)) {
regs               24 arch/arm64/kernel/perf_regs.c 			return regs->compat_sp;
regs               26 arch/arm64/kernel/perf_regs.c 			return regs->compat_lr;
regs               30 arch/arm64/kernel/perf_regs.c 		return regs->sp;
regs               33 arch/arm64/kernel/perf_regs.c 		return regs->pc;
regs               35 arch/arm64/kernel/perf_regs.c 	return regs->regs[idx];
regs               57 arch/arm64/kernel/perf_regs.c 			struct pt_regs *regs,
regs               60 arch/arm64/kernel/perf_regs.c 	regs_user->regs = task_pt_regs(current);
regs               72 arch/arm64/kernel/probes/kprobes.c static void __kprobes arch_simulate_insn(struct kprobe *p, struct pt_regs *regs)
regs               77 arch/arm64/kernel/probes/kprobes.c 		p->ainsn.api.handler((u32)p->opcode, (long)p->addr, regs);
regs               80 arch/arm64/kernel/probes/kprobes.c 	post_kprobe_handler(kcb, regs);
regs              180 arch/arm64/kernel/probes/kprobes.c 						struct pt_regs *regs)
regs              182 arch/arm64/kernel/probes/kprobes.c 	kcb->saved_irqflag = regs->pstate & DAIF_MASK;
regs              183 arch/arm64/kernel/probes/kprobes.c 	regs->pstate |= PSR_I_BIT;
regs              185 arch/arm64/kernel/probes/kprobes.c 	regs->pstate &= ~PSR_D_BIT;
regs              189 arch/arm64/kernel/probes/kprobes.c 						struct pt_regs *regs)
regs              191 arch/arm64/kernel/probes/kprobes.c 	regs->pstate &= ~DAIF_MASK;
regs              192 arch/arm64/kernel/probes/kprobes.c 	regs->pstate |= kcb->saved_irqflag;
regs              209 arch/arm64/kernel/probes/kprobes.c 				       struct pt_regs *regs,
regs              230 arch/arm64/kernel/probes/kprobes.c 		kprobes_save_local_irqflag(kcb, regs);
regs              231 arch/arm64/kernel/probes/kprobes.c 		kernel_enable_single_step(regs);
regs              232 arch/arm64/kernel/probes/kprobes.c 		instruction_pointer_set(regs, slot);
regs              235 arch/arm64/kernel/probes/kprobes.c 		arch_simulate_insn(p, regs);
regs              240 arch/arm64/kernel/probes/kprobes.c 				    struct pt_regs *regs,
regs              247 arch/arm64/kernel/probes/kprobes.c 		setup_singlestep(p, regs, kcb, 1);
regs              264 arch/arm64/kernel/probes/kprobes.c post_kprobe_handler(struct kprobe_ctlblk *kcb, struct pt_regs *regs)
regs              273 arch/arm64/kernel/probes/kprobes.c 		instruction_pointer_set(regs, cur->ainsn.api.restore);
regs              286 arch/arm64/kernel/probes/kprobes.c 		cur->post_handler(cur, regs, 0);
regs              292 arch/arm64/kernel/probes/kprobes.c int __kprobes kprobe_fault_handler(struct pt_regs *regs, unsigned int fsr)
regs              307 arch/arm64/kernel/probes/kprobes.c 		instruction_pointer_set(regs, (unsigned long) cur->addr);
regs              308 arch/arm64/kernel/probes/kprobes.c 		if (!instruction_pointer(regs))
regs              335 arch/arm64/kernel/probes/kprobes.c 		if (cur->fault_handler && cur->fault_handler(cur, regs, fsr))
regs              342 arch/arm64/kernel/probes/kprobes.c 		if (fixup_exception(regs))
regs              348 arch/arm64/kernel/probes/kprobes.c static void __kprobes kprobe_handler(struct pt_regs *regs)
regs              352 arch/arm64/kernel/probes/kprobes.c 	unsigned long addr = instruction_pointer(regs);
regs              361 arch/arm64/kernel/probes/kprobes.c 			if (reenter_kprobe(p, regs, kcb))
regs              379 arch/arm64/kernel/probes/kprobes.c 			if (!p->pre_handler || !p->pre_handler(p, regs)) {
regs              380 arch/arm64/kernel/probes/kprobes.c 				setup_singlestep(p, regs, kcb, 0);
regs              408 arch/arm64/kernel/probes/kprobes.c kprobe_single_step_handler(struct pt_regs *regs, unsigned int esr)
regs              414 arch/arm64/kernel/probes/kprobes.c 	retval = kprobe_ss_hit(kcb, instruction_pointer(regs));
regs              417 arch/arm64/kernel/probes/kprobes.c 		kprobes_restore_local_irqflag(kcb, regs);
regs              420 arch/arm64/kernel/probes/kprobes.c 		post_kprobe_handler(kcb, regs);
regs              431 arch/arm64/kernel/probes/kprobes.c kprobe_breakpoint_handler(struct pt_regs *regs, unsigned int esr)
regs              433 arch/arm64/kernel/probes/kprobes.c 	kprobe_handler(regs);
regs              475 arch/arm64/kernel/probes/kprobes.c void __kprobes __used *trampoline_probe_handler(struct pt_regs *regs)
regs              530 arch/arm64/kernel/probes/kprobes.c 			ri->rp->handler(ri, regs);
regs              555 arch/arm64/kernel/probes/kprobes.c 				      struct pt_regs *regs)
regs              557 arch/arm64/kernel/probes/kprobes.c 	ri->ret_addr = (kprobe_opcode_t *)regs->regs[30];
regs              560 arch/arm64/kernel/probes/kprobes.c 	regs->regs[30] = (long)&kretprobe_trampoline;
regs               31 arch/arm64/kernel/probes/simulate-insn.c static inline void set_x_reg(struct pt_regs *regs, int reg, u64 val)
regs               33 arch/arm64/kernel/probes/simulate-insn.c 	pt_regs_write_reg(regs, reg, val);
regs               36 arch/arm64/kernel/probes/simulate-insn.c static inline void set_w_reg(struct pt_regs *regs, int reg, u64 val)
regs               38 arch/arm64/kernel/probes/simulate-insn.c 	pt_regs_write_reg(regs, reg, lower_32_bits(val));
regs               41 arch/arm64/kernel/probes/simulate-insn.c static inline u64 get_x_reg(struct pt_regs *regs, int reg)
regs               43 arch/arm64/kernel/probes/simulate-insn.c 	return pt_regs_read_reg(regs, reg);
regs               46 arch/arm64/kernel/probes/simulate-insn.c static inline u32 get_w_reg(struct pt_regs *regs, int reg)
regs               48 arch/arm64/kernel/probes/simulate-insn.c 	return lower_32_bits(pt_regs_read_reg(regs, reg));
regs               51 arch/arm64/kernel/probes/simulate-insn.c static bool __kprobes check_cbz(u32 opcode, struct pt_regs *regs)
regs               56 arch/arm64/kernel/probes/simulate-insn.c 	    (get_x_reg(regs, xn) == 0) : (get_w_reg(regs, xn) == 0);
regs               59 arch/arm64/kernel/probes/simulate-insn.c static bool __kprobes check_cbnz(u32 opcode, struct pt_regs *regs)
regs               64 arch/arm64/kernel/probes/simulate-insn.c 	    (get_x_reg(regs, xn) != 0) : (get_w_reg(regs, xn) != 0);
regs               67 arch/arm64/kernel/probes/simulate-insn.c static bool __kprobes check_tbz(u32 opcode, struct pt_regs *regs)
regs               72 arch/arm64/kernel/probes/simulate-insn.c 	return ((get_x_reg(regs, xn) >> bit_pos) & 0x1) == 0;
regs               75 arch/arm64/kernel/probes/simulate-insn.c static bool __kprobes check_tbnz(u32 opcode, struct pt_regs *regs)
regs               80 arch/arm64/kernel/probes/simulate-insn.c 	return ((get_x_reg(regs, xn) >> bit_pos) & 0x1) != 0;
regs               87 arch/arm64/kernel/probes/simulate-insn.c simulate_adr_adrp(u32 opcode, long addr, struct pt_regs *regs)
regs               99 arch/arm64/kernel/probes/simulate-insn.c 	set_x_reg(regs, xn, val);
regs              101 arch/arm64/kernel/probes/simulate-insn.c 	instruction_pointer_set(regs, instruction_pointer(regs) + 4);
regs              105 arch/arm64/kernel/probes/simulate-insn.c simulate_b_bl(u32 opcode, long addr, struct pt_regs *regs)
regs              111 arch/arm64/kernel/probes/simulate-insn.c 		set_x_reg(regs, 30, addr + 4);
regs              113 arch/arm64/kernel/probes/simulate-insn.c 	instruction_pointer_set(regs, addr + disp);
regs              117 arch/arm64/kernel/probes/simulate-insn.c simulate_b_cond(u32 opcode, long addr, struct pt_regs *regs)
regs              121 arch/arm64/kernel/probes/simulate-insn.c 	if (aarch32_opcode_cond_checks[opcode & 0xf](regs->pstate & 0xffffffff))
regs              124 arch/arm64/kernel/probes/simulate-insn.c 	instruction_pointer_set(regs, addr + disp);
regs              128 arch/arm64/kernel/probes/simulate-insn.c simulate_br_blr_ret(u32 opcode, long addr, struct pt_regs *regs)
regs              133 arch/arm64/kernel/probes/simulate-insn.c 	instruction_pointer_set(regs, get_x_reg(regs, xn));
regs              137 arch/arm64/kernel/probes/simulate-insn.c 		set_x_reg(regs, 30, addr + 4);
regs              141 arch/arm64/kernel/probes/simulate-insn.c simulate_cbz_cbnz(u32 opcode, long addr, struct pt_regs *regs)
regs              146 arch/arm64/kernel/probes/simulate-insn.c 		if (check_cbnz(opcode, regs))
regs              149 arch/arm64/kernel/probes/simulate-insn.c 		if (check_cbz(opcode, regs))
regs              152 arch/arm64/kernel/probes/simulate-insn.c 	instruction_pointer_set(regs, addr + disp);
regs              156 arch/arm64/kernel/probes/simulate-insn.c simulate_tbz_tbnz(u32 opcode, long addr, struct pt_regs *regs)
regs              161 arch/arm64/kernel/probes/simulate-insn.c 		if (check_tbnz(opcode, regs))
regs              164 arch/arm64/kernel/probes/simulate-insn.c 		if (check_tbz(opcode, regs))
regs              167 arch/arm64/kernel/probes/simulate-insn.c 	instruction_pointer_set(regs, addr + disp);
regs              171 arch/arm64/kernel/probes/simulate-insn.c simulate_ldr_literal(u32 opcode, long addr, struct pt_regs *regs)
regs              181 arch/arm64/kernel/probes/simulate-insn.c 		set_x_reg(regs, xn, *load_addr);
regs              183 arch/arm64/kernel/probes/simulate-insn.c 		set_w_reg(regs, xn, *load_addr);
regs              185 arch/arm64/kernel/probes/simulate-insn.c 	instruction_pointer_set(regs, instruction_pointer(regs) + 4);
regs              189 arch/arm64/kernel/probes/simulate-insn.c simulate_ldrsw_literal(u32 opcode, long addr, struct pt_regs *regs)
regs              198 arch/arm64/kernel/probes/simulate-insn.c 	set_x_reg(regs, xn, *load_addr);
regs              200 arch/arm64/kernel/probes/simulate-insn.c 	instruction_pointer_set(regs, instruction_pointer(regs) + 4);
regs               11 arch/arm64/kernel/probes/simulate-insn.h void simulate_adr_adrp(u32 opcode, long addr, struct pt_regs *regs);
regs               12 arch/arm64/kernel/probes/simulate-insn.h void simulate_b_bl(u32 opcode, long addr, struct pt_regs *regs);
regs               13 arch/arm64/kernel/probes/simulate-insn.h void simulate_b_cond(u32 opcode, long addr, struct pt_regs *regs);
regs               14 arch/arm64/kernel/probes/simulate-insn.h void simulate_br_blr_ret(u32 opcode, long addr, struct pt_regs *regs);
regs               15 arch/arm64/kernel/probes/simulate-insn.h void simulate_cbz_cbnz(u32 opcode, long addr, struct pt_regs *regs);
regs               16 arch/arm64/kernel/probes/simulate-insn.h void simulate_tbz_tbnz(u32 opcode, long addr, struct pt_regs *regs);
regs               17 arch/arm64/kernel/probes/simulate-insn.h void simulate_ldr_literal(u32 opcode, long addr, struct pt_regs *regs);
regs               18 arch/arm64/kernel/probes/simulate-insn.h void simulate_ldrsw_literal(u32 opcode, long addr, struct pt_regs *regs);
regs               29 arch/arm64/kernel/probes/uprobes.c unsigned long uprobe_get_swbp_addr(struct pt_regs *regs)
regs               31 arch/arm64/kernel/probes/uprobes.c 	return instruction_pointer(regs);
regs               62 arch/arm64/kernel/probes/uprobes.c int arch_uprobe_pre_xol(struct arch_uprobe *auprobe, struct pt_regs *regs)
regs               70 arch/arm64/kernel/probes/uprobes.c 	instruction_pointer_set(regs, utask->xol_vaddr);
regs               77 arch/arm64/kernel/probes/uprobes.c int arch_uprobe_post_xol(struct arch_uprobe *auprobe, struct pt_regs *regs)
regs               84 arch/arm64/kernel/probes/uprobes.c 	instruction_pointer_set(regs, utask->vaddr + 4);
regs              103 arch/arm64/kernel/probes/uprobes.c bool arch_uprobe_skip_sstep(struct arch_uprobe *auprobe, struct pt_regs *regs)
regs              112 arch/arm64/kernel/probes/uprobes.c 	addr = instruction_pointer(regs);
regs              115 arch/arm64/kernel/probes/uprobes.c 		auprobe->api.handler(insn, addr, regs);
regs              120 arch/arm64/kernel/probes/uprobes.c void arch_uprobe_abort_xol(struct arch_uprobe *auprobe, struct pt_regs *regs)
regs              128 arch/arm64/kernel/probes/uprobes.c 	instruction_pointer_set(regs, utask->vaddr);
regs              134 arch/arm64/kernel/probes/uprobes.c 		struct pt_regs *regs)
regs              144 arch/arm64/kernel/probes/uprobes.c 		return regs->sp <= ret->stack;
regs              146 arch/arm64/kernel/probes/uprobes.c 		return regs->sp < ret->stack;
regs              151 arch/arm64/kernel/probes/uprobes.c 				  struct pt_regs *regs)
regs              155 arch/arm64/kernel/probes/uprobes.c 	orig_ret_vaddr = procedure_link_pointer(regs);
regs              157 arch/arm64/kernel/probes/uprobes.c 	procedure_link_pointer_set(regs, trampoline_vaddr);
regs              168 arch/arm64/kernel/probes/uprobes.c static int uprobe_breakpoint_handler(struct pt_regs *regs,
regs              171 arch/arm64/kernel/probes/uprobes.c 	if (uprobe_pre_sstep_notifier(regs))
regs              177 arch/arm64/kernel/probes/uprobes.c static int uprobe_single_step_handler(struct pt_regs *regs,
regs              182 arch/arm64/kernel/probes/uprobes.c 	WARN_ON(utask && (instruction_pointer(regs) != utask->xol_vaddr + 4));
regs              183 arch/arm64/kernel/probes/uprobes.c 	if (uprobe_post_sstep_notifier(regs))
regs              212 arch/arm64/kernel/process.c static void print_pstate(struct pt_regs *regs)
regs              214 arch/arm64/kernel/process.c 	u64 pstate = regs->pstate;
regs              216 arch/arm64/kernel/process.c 	if (compat_user_mode(regs)) {
regs              245 arch/arm64/kernel/process.c void __show_regs(struct pt_regs *regs)
regs              250 arch/arm64/kernel/process.c 	if (compat_user_mode(regs)) {
regs              251 arch/arm64/kernel/process.c 		lr = regs->compat_lr;
regs              252 arch/arm64/kernel/process.c 		sp = regs->compat_sp;
regs              255 arch/arm64/kernel/process.c 		lr = regs->regs[30];
regs              256 arch/arm64/kernel/process.c 		sp = regs->sp;
regs              261 arch/arm64/kernel/process.c 	print_pstate(regs);
regs              263 arch/arm64/kernel/process.c 	if (!user_mode(regs)) {
regs              264 arch/arm64/kernel/process.c 		printk("pc : %pS\n", (void *)regs->pc);
regs              267 arch/arm64/kernel/process.c 		printk("pc : %016llx\n", regs->pc);
regs              274 arch/arm64/kernel/process.c 		printk("pmr_save: %08llx\n", regs->pmr_save);
regs              279 arch/arm64/kernel/process.c 		printk("x%-2d: %016llx ", i, regs->regs[i]);
regs              283 arch/arm64/kernel/process.c 			pr_cont("x%-2d: %016llx ", i, regs->regs[i]);
regs              291 arch/arm64/kernel/process.c void show_regs(struct pt_regs * regs)
regs              293 arch/arm64/kernel/process.c 	__show_regs(regs);
regs              294 arch/arm64/kernel/process.c 	dump_backtrace(regs, NULL);
regs              381 arch/arm64/kernel/process.c 		childregs->regs[0] = 0;
regs              460 arch/arm64/kernel/process.c 	struct pt_regs *regs = task_pt_regs(next);
regs              481 arch/arm64/kernel/process.c 	if (compat_user_mode(regs))
regs              482 arch/arm64/kernel/process.c 		set_compat_ssbs_bit(regs);
regs              483 arch/arm64/kernel/process.c 	else if (user_mode(regs))
regs              484 arch/arm64/kernel/process.c 		set_ssbs_bit(regs);
regs               55 arch/arm64/kernel/ptrace.c 	{.name = "x" #r, .offset = offsetof(struct pt_regs, regs[r])}
regs               89 arch/arm64/kernel/ptrace.c 	{.name = "lr", .offset = offsetof(struct pt_regs, regs[30])},
regs              121 arch/arm64/kernel/ptrace.c static bool regs_within_kernel_stack(struct pt_regs *regs, unsigned long addr)
regs              124 arch/arm64/kernel/ptrace.c 		(kernel_stack_pointer(regs) & ~(THREAD_SIZE - 1))) ||
regs              137 arch/arm64/kernel/ptrace.c unsigned long regs_get_kernel_stack_nth(struct pt_regs *regs, unsigned int n)
regs              139 arch/arm64/kernel/ptrace.c 	unsigned long *addr = (unsigned long *)kernel_stack_pointer(regs);
regs              142 arch/arm64/kernel/ptrace.c 	if (regs_within_kernel_stack(regs, (unsigned long)addr))
regs              172 arch/arm64/kernel/ptrace.c 				struct pt_regs *regs)
regs             1274 arch/arm64/kernel/ptrace.c 			reg = task_pt_regs(target)->regs[idx];
regs             1343 arch/arm64/kernel/ptrace.c 			newregs.regs[idx] = reg;
regs             1808 arch/arm64/kernel/ptrace.c static void tracehook_report_syscall(struct pt_regs *regs,
regs             1819 arch/arm64/kernel/ptrace.c 	saved_reg = regs->regs[regno];
regs             1820 arch/arm64/kernel/ptrace.c 	regs->regs[regno] = dir;
regs             1823 arch/arm64/kernel/ptrace.c 		tracehook_report_syscall_exit(regs, 0);
regs             1824 arch/arm64/kernel/ptrace.c 	else if (tracehook_report_syscall_entry(regs))
regs             1825 arch/arm64/kernel/ptrace.c 		forget_syscall(regs);
regs             1827 arch/arm64/kernel/ptrace.c 	regs->regs[regno] = saved_reg;
regs             1830 arch/arm64/kernel/ptrace.c int syscall_trace_enter(struct pt_regs *regs)
regs             1835 arch/arm64/kernel/ptrace.c 		tracehook_report_syscall(regs, PTRACE_SYSCALL_ENTER);
regs             1836 arch/arm64/kernel/ptrace.c 		if (!in_syscall(regs) || (flags & _TIF_SYSCALL_EMU))
regs             1845 arch/arm64/kernel/ptrace.c 		trace_sys_enter(regs, regs->syscallno);
regs             1847 arch/arm64/kernel/ptrace.c 	audit_syscall_entry(regs->syscallno, regs->orig_x0, regs->regs[1],
regs             1848 arch/arm64/kernel/ptrace.c 			    regs->regs[2], regs->regs[3]);
regs             1850 arch/arm64/kernel/ptrace.c 	return regs->syscallno;
regs             1853 arch/arm64/kernel/ptrace.c void syscall_trace_exit(struct pt_regs *regs)
regs             1855 arch/arm64/kernel/ptrace.c 	audit_syscall_exit(regs);
regs             1858 arch/arm64/kernel/ptrace.c 		trace_sys_exit(regs, regs_return_value(regs));
regs             1861 arch/arm64/kernel/ptrace.c 		tracehook_report_syscall(regs, PTRACE_SYSCALL_EXIT);
regs             1863 arch/arm64/kernel/ptrace.c 	rseq_syscall(regs);
regs             1882 arch/arm64/kernel/ptrace.c static int valid_compat_regs(struct user_pt_regs *regs)
regs             1884 arch/arm64/kernel/ptrace.c 	regs->pstate &= ~SPSR_EL1_AARCH32_RES0_BITS;
regs             1888 arch/arm64/kernel/ptrace.c 			regs->pstate |= PSR_AA32_E_BIT;
regs             1890 arch/arm64/kernel/ptrace.c 			regs->pstate &= ~PSR_AA32_E_BIT;
regs             1893 arch/arm64/kernel/ptrace.c 	if (user_mode(regs) && (regs->pstate & PSR_MODE32_BIT) &&
regs             1894 arch/arm64/kernel/ptrace.c 	    (regs->pstate & PSR_AA32_A_BIT) == 0 &&
regs             1895 arch/arm64/kernel/ptrace.c 	    (regs->pstate & PSR_AA32_I_BIT) == 0 &&
regs             1896 arch/arm64/kernel/ptrace.c 	    (regs->pstate & PSR_AA32_F_BIT) == 0) {
regs             1904 arch/arm64/kernel/ptrace.c 	regs->pstate &= PSR_AA32_N_BIT | PSR_AA32_Z_BIT |
regs             1909 arch/arm64/kernel/ptrace.c 	regs->pstate |= PSR_MODE32_BIT;
regs             1914 arch/arm64/kernel/ptrace.c static int valid_native_regs(struct user_pt_regs *regs)
regs             1916 arch/arm64/kernel/ptrace.c 	regs->pstate &= ~SPSR_EL1_AARCH64_RES0_BITS;
regs             1918 arch/arm64/kernel/ptrace.c 	if (user_mode(regs) && !(regs->pstate & PSR_MODE32_BIT) &&
regs             1919 arch/arm64/kernel/ptrace.c 	    (regs->pstate & PSR_D_BIT) == 0 &&
regs             1920 arch/arm64/kernel/ptrace.c 	    (regs->pstate & PSR_A_BIT) == 0 &&
regs             1921 arch/arm64/kernel/ptrace.c 	    (regs->pstate & PSR_I_BIT) == 0 &&
regs             1922 arch/arm64/kernel/ptrace.c 	    (regs->pstate & PSR_F_BIT) == 0) {
regs             1927 arch/arm64/kernel/ptrace.c 	regs->pstate &= PSR_N_BIT | PSR_Z_BIT | PSR_C_BIT | PSR_V_BIT;
regs             1936 arch/arm64/kernel/ptrace.c int valid_user_regs(struct user_pt_regs *regs, struct task_struct *task)
regs             1939 arch/arm64/kernel/ptrace.c 		regs->pstate &= ~DBG_SPSR_SS;
regs             1942 arch/arm64/kernel/ptrace.c 		return valid_compat_regs(regs);
regs             1944 arch/arm64/kernel/ptrace.c 		return valid_native_regs(regs);
regs              185 arch/arm64/kernel/sdei.c static __kprobes unsigned long _sdei_handler(struct pt_regs *regs,
regs              201 arch/arm64/kernel/sdei.c 		sdei_api_event_context(i, &regs->regs[i]);
regs              210 arch/arm64/kernel/sdei.c 	err = sdei_event_handler(regs, arg);
regs              223 arch/arm64/kernel/sdei.c 	mode = regs->pstate & (PSR_MODE32_BIT | PSR_MODE_MASK);
regs              229 arch/arm64/kernel/sdei.c 	if (mode == kernel_mode && !interrupts_enabled(regs))
regs              250 arch/arm64/kernel/sdei.c __sdei_handler(struct pt_regs *regs, struct sdei_registered_event *arg)
regs              265 arch/arm64/kernel/sdei.c 	ret = _sdei_handler(regs, arg);
regs              482 arch/arm64/kernel/signal.c static int restore_sigframe(struct pt_regs *regs,
regs              494 arch/arm64/kernel/signal.c 		__get_user_error(regs->regs[i], &sf->uc.uc_mcontext.regs[i],
regs              496 arch/arm64/kernel/signal.c 	__get_user_error(regs->sp, &sf->uc.uc_mcontext.sp, err);
regs              497 arch/arm64/kernel/signal.c 	__get_user_error(regs->pc, &sf->uc.uc_mcontext.pc, err);
regs              498 arch/arm64/kernel/signal.c 	__get_user_error(regs->pstate, &sf->uc.uc_mcontext.pstate, err);
regs              503 arch/arm64/kernel/signal.c 	forget_syscall(regs);
regs              505 arch/arm64/kernel/signal.c 	err |= !valid_user_regs(&regs->user_regs, current);
regs              528 arch/arm64/kernel/signal.c 	struct pt_regs *regs = current_pt_regs();
regs              538 arch/arm64/kernel/signal.c 	if (regs->sp & 15)
regs              541 arch/arm64/kernel/signal.c 	frame = (struct rt_sigframe __user *)regs->sp;
regs              546 arch/arm64/kernel/signal.c 	if (restore_sigframe(regs, frame))
regs              552 arch/arm64/kernel/signal.c 	return regs->regs[0];
regs              555 arch/arm64/kernel/signal.c 	arm64_notify_segfault(regs->sp);
regs              606 arch/arm64/kernel/signal.c 			  struct pt_regs *regs, sigset_t *set)
regs              612 arch/arm64/kernel/signal.c 	__put_user_error(regs->regs[29], &user->next_frame->fp, err);
regs              613 arch/arm64/kernel/signal.c 	__put_user_error(regs->regs[30], &user->next_frame->lr, err);
regs              616 arch/arm64/kernel/signal.c 		__put_user_error(regs->regs[i], &sf->uc.uc_mcontext.regs[i],
regs              618 arch/arm64/kernel/signal.c 	__put_user_error(regs->sp, &sf->uc.uc_mcontext.sp, err);
regs              619 arch/arm64/kernel/signal.c 	__put_user_error(regs->pc, &sf->uc.uc_mcontext.pc, err);
regs              620 arch/arm64/kernel/signal.c 	__put_user_error(regs->pstate, &sf->uc.uc_mcontext.pstate, err);
regs              696 arch/arm64/kernel/signal.c 			 struct ksignal *ksig, struct pt_regs *regs)
regs              706 arch/arm64/kernel/signal.c 	sp = sp_top = sigsp(regs->sp, ksig);
regs              723 arch/arm64/kernel/signal.c static void setup_return(struct pt_regs *regs, struct k_sigaction *ka,
regs              728 arch/arm64/kernel/signal.c 	regs->regs[0] = usig;
regs              729 arch/arm64/kernel/signal.c 	regs->sp = (unsigned long)user->sigframe;
regs              730 arch/arm64/kernel/signal.c 	regs->regs[29] = (unsigned long)&user->next_frame->fp;
regs              731 arch/arm64/kernel/signal.c 	regs->pc = (unsigned long)ka->sa.sa_handler;
regs              738 arch/arm64/kernel/signal.c 	regs->regs[30] = (unsigned long)sigtramp;
regs              742 arch/arm64/kernel/signal.c 			  struct pt_regs *regs)
regs              750 arch/arm64/kernel/signal.c 	if (get_sigframe(&user, ksig, regs))
regs              758 arch/arm64/kernel/signal.c 	err |= __save_altstack(&frame->uc.uc_stack, regs->sp);
regs              759 arch/arm64/kernel/signal.c 	err |= setup_sigframe(&user, regs, set);
regs              761 arch/arm64/kernel/signal.c 		setup_return(regs, &ksig->ka, &user, usig);
regs              764 arch/arm64/kernel/signal.c 			regs->regs[1] = (unsigned long)&frame->info;
regs              765 arch/arm64/kernel/signal.c 			regs->regs[2] = (unsigned long)&frame->uc;
regs              772 arch/arm64/kernel/signal.c static void setup_restart_syscall(struct pt_regs *regs)
regs              775 arch/arm64/kernel/signal.c 		compat_setup_restart_syscall(regs);
regs              777 arch/arm64/kernel/signal.c 		regs->regs[8] = __NR_restart_syscall;
regs              783 arch/arm64/kernel/signal.c static void handle_signal(struct ksignal *ksig, struct pt_regs *regs)
regs              790 arch/arm64/kernel/signal.c 	rseq_signal_deliver(ksig, regs);
regs              797 arch/arm64/kernel/signal.c 			ret = compat_setup_rt_frame(usig, ksig, oldset, regs);
regs              799 arch/arm64/kernel/signal.c 			ret = compat_setup_frame(usig, ksig, oldset, regs);
regs              801 arch/arm64/kernel/signal.c 		ret = setup_rt_frame(usig, ksig, oldset, regs);
regs              807 arch/arm64/kernel/signal.c 	ret |= !valid_user_regs(&regs->user_regs, current);
regs              828 arch/arm64/kernel/signal.c static void do_signal(struct pt_regs *regs)
regs              833 arch/arm64/kernel/signal.c 	bool syscall = in_syscall(regs);
regs              839 arch/arm64/kernel/signal.c 		continue_addr = regs->pc;
regs              840 arch/arm64/kernel/signal.c 		restart_addr = continue_addr - (compat_thumb_mode(regs) ? 2 : 4);
regs              841 arch/arm64/kernel/signal.c 		retval = regs->regs[0];
regs              846 arch/arm64/kernel/signal.c 		forget_syscall(regs);
regs              857 arch/arm64/kernel/signal.c 			regs->regs[0] = regs->orig_x0;
regs              858 arch/arm64/kernel/signal.c 			regs->pc = restart_addr;
regs              873 arch/arm64/kernel/signal.c 		if (regs->pc == restart_addr &&
regs              878 arch/arm64/kernel/signal.c 			regs->regs[0] = -EINTR;
regs              879 arch/arm64/kernel/signal.c 			regs->pc = continue_addr;
regs              882 arch/arm64/kernel/signal.c 		handle_signal(&ksig, regs);
regs              890 arch/arm64/kernel/signal.c 	if (syscall && regs->pc == restart_addr) {
regs              892 arch/arm64/kernel/signal.c 			setup_restart_syscall(regs);
regs              899 arch/arm64/kernel/signal.c asmlinkage void do_notify_resume(struct pt_regs *regs,
regs              922 arch/arm64/kernel/signal.c 				uprobe_notify_resume(regs);
regs              925 arch/arm64/kernel/signal.c 				do_signal(regs);
regs              929 arch/arm64/kernel/signal.c 				tracehook_notify_resume(regs);
regs              930 arch/arm64/kernel/signal.c 				rseq_handle_notify_resume(NULL, regs);
regs              184 arch/arm64/kernel/signal32.c static int compat_restore_sigframe(struct pt_regs *regs,
regs              198 arch/arm64/kernel/signal32.c 	__get_user_error(regs->regs[0], &sf->uc.uc_mcontext.arm_r0, err);
regs              199 arch/arm64/kernel/signal32.c 	__get_user_error(regs->regs[1], &sf->uc.uc_mcontext.arm_r1, err);
regs              200 arch/arm64/kernel/signal32.c 	__get_user_error(regs->regs[2], &sf->uc.uc_mcontext.arm_r2, err);
regs              201 arch/arm64/kernel/signal32.c 	__get_user_error(regs->regs[3], &sf->uc.uc_mcontext.arm_r3, err);
regs              202 arch/arm64/kernel/signal32.c 	__get_user_error(regs->regs[4], &sf->uc.uc_mcontext.arm_r4, err);
regs              203 arch/arm64/kernel/signal32.c 	__get_user_error(regs->regs[5], &sf->uc.uc_mcontext.arm_r5, err);
regs              204 arch/arm64/kernel/signal32.c 	__get_user_error(regs->regs[6], &sf->uc.uc_mcontext.arm_r6, err);
regs              205 arch/arm64/kernel/signal32.c 	__get_user_error(regs->regs[7], &sf->uc.uc_mcontext.arm_r7, err);
regs              206 arch/arm64/kernel/signal32.c 	__get_user_error(regs->regs[8], &sf->uc.uc_mcontext.arm_r8, err);
regs              207 arch/arm64/kernel/signal32.c 	__get_user_error(regs->regs[9], &sf->uc.uc_mcontext.arm_r9, err);
regs              208 arch/arm64/kernel/signal32.c 	__get_user_error(regs->regs[10], &sf->uc.uc_mcontext.arm_r10, err);
regs              209 arch/arm64/kernel/signal32.c 	__get_user_error(regs->regs[11], &sf->uc.uc_mcontext.arm_fp, err);
regs              210 arch/arm64/kernel/signal32.c 	__get_user_error(regs->regs[12], &sf->uc.uc_mcontext.arm_ip, err);
regs              211 arch/arm64/kernel/signal32.c 	__get_user_error(regs->compat_sp, &sf->uc.uc_mcontext.arm_sp, err);
regs              212 arch/arm64/kernel/signal32.c 	__get_user_error(regs->compat_lr, &sf->uc.uc_mcontext.arm_lr, err);
regs              213 arch/arm64/kernel/signal32.c 	__get_user_error(regs->pc, &sf->uc.uc_mcontext.arm_pc, err);
regs              216 arch/arm64/kernel/signal32.c 	regs->pstate = compat_psr_to_pstate(psr);
regs              221 arch/arm64/kernel/signal32.c 	forget_syscall(regs);
regs              223 arch/arm64/kernel/signal32.c 	err |= !valid_user_regs(&regs->user_regs, current);
regs              234 arch/arm64/kernel/signal32.c 	struct pt_regs *regs = current_pt_regs();
regs              245 arch/arm64/kernel/signal32.c 	if (regs->compat_sp & 7)
regs              248 arch/arm64/kernel/signal32.c 	frame = (struct compat_sigframe __user *)regs->compat_sp;
regs              253 arch/arm64/kernel/signal32.c 	if (compat_restore_sigframe(regs, frame))
regs              256 arch/arm64/kernel/signal32.c 	return regs->regs[0];
regs              259 arch/arm64/kernel/signal32.c 	arm64_notify_segfault(regs->compat_sp);
regs              265 arch/arm64/kernel/signal32.c 	struct pt_regs *regs = current_pt_regs();
regs              276 arch/arm64/kernel/signal32.c 	if (regs->compat_sp & 7)
regs              279 arch/arm64/kernel/signal32.c 	frame = (struct compat_rt_sigframe __user *)regs->compat_sp;
regs              284 arch/arm64/kernel/signal32.c 	if (compat_restore_sigframe(regs, &frame->sig))
regs              290 arch/arm64/kernel/signal32.c 	return regs->regs[0];
regs              293 arch/arm64/kernel/signal32.c 	arm64_notify_segfault(regs->compat_sp);
regs              298 arch/arm64/kernel/signal32.c 					struct pt_regs *regs,
regs              301 arch/arm64/kernel/signal32.c 	compat_ulong_t sp = sigsp(regs->compat_sp, ksig);
regs              318 arch/arm64/kernel/signal32.c static void compat_setup_return(struct pt_regs *regs, struct k_sigaction *ka,
regs              324 arch/arm64/kernel/signal32.c 	compat_ulong_t spsr = regs->pstate & ~(PSR_f | PSR_AA32_E_BIT);
regs              379 arch/arm64/kernel/signal32.c 	regs->regs[0]	= usig;
regs              380 arch/arm64/kernel/signal32.c 	regs->compat_sp	= ptr_to_compat(frame);
regs              381 arch/arm64/kernel/signal32.c 	regs->compat_lr	= retcode;
regs              382 arch/arm64/kernel/signal32.c 	regs->pc	= handler;
regs              383 arch/arm64/kernel/signal32.c 	regs->pstate	= spsr;
regs              387 arch/arm64/kernel/signal32.c 				 struct pt_regs *regs, sigset_t *set)
regs              390 arch/arm64/kernel/signal32.c 	unsigned long psr = pstate_to_compat_psr(regs->pstate);
regs              393 arch/arm64/kernel/signal32.c 	__put_user_error(regs->regs[0], &sf->uc.uc_mcontext.arm_r0, err);
regs              394 arch/arm64/kernel/signal32.c 	__put_user_error(regs->regs[1], &sf->uc.uc_mcontext.arm_r1, err);
regs              395 arch/arm64/kernel/signal32.c 	__put_user_error(regs->regs[2], &sf->uc.uc_mcontext.arm_r2, err);
regs              396 arch/arm64/kernel/signal32.c 	__put_user_error(regs->regs[3], &sf->uc.uc_mcontext.arm_r3, err);
regs              397 arch/arm64/kernel/signal32.c 	__put_user_error(regs->regs[4], &sf->uc.uc_mcontext.arm_r4, err);
regs              398 arch/arm64/kernel/signal32.c 	__put_user_error(regs->regs[5], &sf->uc.uc_mcontext.arm_r5, err);
regs              399 arch/arm64/kernel/signal32.c 	__put_user_error(regs->regs[6], &sf->uc.uc_mcontext.arm_r6, err);
regs              400 arch/arm64/kernel/signal32.c 	__put_user_error(regs->regs[7], &sf->uc.uc_mcontext.arm_r7, err);
regs              401 arch/arm64/kernel/signal32.c 	__put_user_error(regs->regs[8], &sf->uc.uc_mcontext.arm_r8, err);
regs              402 arch/arm64/kernel/signal32.c 	__put_user_error(regs->regs[9], &sf->uc.uc_mcontext.arm_r9, err);
regs              403 arch/arm64/kernel/signal32.c 	__put_user_error(regs->regs[10], &sf->uc.uc_mcontext.arm_r10, err);
regs              404 arch/arm64/kernel/signal32.c 	__put_user_error(regs->regs[11], &sf->uc.uc_mcontext.arm_fp, err);
regs              405 arch/arm64/kernel/signal32.c 	__put_user_error(regs->regs[12], &sf->uc.uc_mcontext.arm_ip, err);
regs              406 arch/arm64/kernel/signal32.c 	__put_user_error(regs->compat_sp, &sf->uc.uc_mcontext.arm_sp, err);
regs              407 arch/arm64/kernel/signal32.c 	__put_user_error(regs->compat_lr, &sf->uc.uc_mcontext.arm_lr, err);
regs              408 arch/arm64/kernel/signal32.c 	__put_user_error(regs->pc, &sf->uc.uc_mcontext.arm_pc, err);
regs              433 arch/arm64/kernel/signal32.c 			  sigset_t *set, struct pt_regs *regs)
regs              438 arch/arm64/kernel/signal32.c 	frame = compat_get_sigframe(ksig, regs, sizeof(*frame));
regs              448 arch/arm64/kernel/signal32.c 	err |= __compat_save_altstack(&frame->sig.uc.uc_stack, regs->compat_sp);
regs              450 arch/arm64/kernel/signal32.c 	err |= compat_setup_sigframe(&frame->sig, regs, set);
regs              453 arch/arm64/kernel/signal32.c 		compat_setup_return(regs, &ksig->ka, frame->sig.retcode, frame, usig);
regs              454 arch/arm64/kernel/signal32.c 		regs->regs[1] = (compat_ulong_t)(unsigned long)&frame->info;
regs              455 arch/arm64/kernel/signal32.c 		regs->regs[2] = (compat_ulong_t)(unsigned long)&frame->sig.uc;
regs              462 arch/arm64/kernel/signal32.c 		       struct pt_regs *regs)
regs              467 arch/arm64/kernel/signal32.c 	frame = compat_get_sigframe(ksig, regs, sizeof(*frame));
regs              474 arch/arm64/kernel/signal32.c 	err |= compat_setup_sigframe(frame, regs, set);
regs              476 arch/arm64/kernel/signal32.c 		compat_setup_return(regs, &ksig->ka, frame->retcode, frame, usig);
regs              481 arch/arm64/kernel/signal32.c void compat_setup_restart_syscall(struct pt_regs *regs)
regs              483 arch/arm64/kernel/signal32.c        regs->regs[7] = __NR_compat_restart_syscall;
regs              853 arch/arm64/kernel/smp.c static void ipi_cpu_crash_stop(unsigned int cpu, struct pt_regs *regs)
regs              856 arch/arm64/kernel/smp.c 	crash_save_cpu(regs, cpu);
regs              876 arch/arm64/kernel/smp.c void handle_IPI(int ipinr, struct pt_regs *regs)
regs              879 arch/arm64/kernel/smp.c 	struct pt_regs *old_regs = set_irq_regs(regs);
regs              906 arch/arm64/kernel/smp.c 			ipi_cpu_crash_stop(cpu, regs);
regs              157 arch/arm64/kernel/stacktrace.c void save_stack_trace_regs(struct pt_regs *regs, struct stack_trace *trace)
regs              166 arch/arm64/kernel/stacktrace.c 	start_backtrace(&frame, regs->regs[29], regs->pc);
regs               69 arch/arm64/kernel/sys_compat.c long compat_arm_syscall(struct pt_regs *regs, int scno)
regs               89 arch/arm64/kernel/sys_compat.c 		return do_compat_cache_op(regs->regs[0], regs->regs[1], regs->regs[2]);
regs               92 arch/arm64/kernel/sys_compat.c 		current->thread.uw.tp_value = regs->regs[0];
regs               99 arch/arm64/kernel/sys_compat.c 		write_sysreg(regs->regs[0], tpidrro_el0);
regs              114 arch/arm64/kernel/sys_compat.c 	addr  = (void __user *)instruction_pointer(regs) -
regs              115 arch/arm64/kernel/sys_compat.c 		(compat_thumb_mode(regs) ? 2 : 4);
regs              117 arch/arm64/kernel/sys_compat.c 	arm64_notify_die("Oops - bad compat syscall(2)", regs,
regs               17 arch/arm64/kernel/syscall.c long compat_arm_syscall(struct pt_regs *regs, int scno);
regs               20 arch/arm64/kernel/syscall.c static long do_ni_syscall(struct pt_regs *regs, int scno)
regs               25 arch/arm64/kernel/syscall.c 		ret = compat_arm_syscall(regs, scno);
regs               34 arch/arm64/kernel/syscall.c static long __invoke_syscall(struct pt_regs *regs, syscall_fn_t syscall_fn)
regs               36 arch/arm64/kernel/syscall.c 	return syscall_fn(regs);
regs               39 arch/arm64/kernel/syscall.c static void invoke_syscall(struct pt_regs *regs, unsigned int scno,
regs               48 arch/arm64/kernel/syscall.c 		ret = __invoke_syscall(regs, syscall_fn);
regs               50 arch/arm64/kernel/syscall.c 		ret = do_ni_syscall(regs, scno);
regs               53 arch/arm64/kernel/syscall.c 	regs->regs[0] = ret;
regs               61 arch/arm64/kernel/syscall.c int syscall_trace_enter(struct pt_regs *regs);
regs               62 arch/arm64/kernel/syscall.c void syscall_trace_exit(struct pt_regs *regs);
regs               93 arch/arm64/kernel/syscall.c static void el0_svc_common(struct pt_regs *regs, int scno, int sc_nr,
regs               98 arch/arm64/kernel/syscall.c 	regs->orig_x0 = regs->regs[0];
regs               99 arch/arm64/kernel/syscall.c 	regs->syscallno = scno;
regs              108 arch/arm64/kernel/syscall.c 			regs->regs[0] = -ENOSYS;
regs              109 arch/arm64/kernel/syscall.c 		scno = syscall_trace_enter(regs);
regs              114 arch/arm64/kernel/syscall.c 	invoke_syscall(regs, scno, sc_nr, syscall_table);
regs              137 arch/arm64/kernel/syscall.c 	syscall_trace_exit(regs);
regs              157 arch/arm64/kernel/syscall.c asmlinkage void el0_svc_handler(struct pt_regs *regs)
regs              160 arch/arm64/kernel/syscall.c 	el0_svc_common(regs, regs->regs[8], __NR_syscalls, sys_call_table);
regs              164 arch/arm64/kernel/syscall.c asmlinkage void el0_svc_compat_handler(struct pt_regs *regs)
regs              166 arch/arm64/kernel/syscall.c 	el0_svc_common(regs, regs->regs[7], __NR_compat_syscalls,
regs               34 arch/arm64/kernel/time.c unsigned long profile_pc(struct pt_regs *regs)
regs               38 arch/arm64/kernel/time.c 	if (!in_lock_functions(regs->pc))
regs               39 arch/arm64/kernel/time.c 		return regs->pc;
regs               41 arch/arm64/kernel/time.c 	start_backtrace(&frame, regs->regs[29], regs->pc);
regs               60 arch/arm64/kernel/traps.c static void dump_kernel_instr(const char *lvl, struct pt_regs *regs)
regs               62 arch/arm64/kernel/traps.c 	unsigned long addr = instruction_pointer(regs);
regs               66 arch/arm64/kernel/traps.c 	if (user_mode(regs))
regs               85 arch/arm64/kernel/traps.c void dump_backtrace(struct pt_regs *regs, struct task_struct *tsk)
regs               90 arch/arm64/kernel/traps.c 	pr_debug("%s(regs = %p tsk = %p)\n", __func__, regs, tsk);
regs               92 arch/arm64/kernel/traps.c 	if (regs) {
regs               93 arch/arm64/kernel/traps.c 		if (user_mode(regs))
regs              122 arch/arm64/kernel/traps.c 		} else if (frame.fp == regs->regs[29]) {
regs              131 arch/arm64/kernel/traps.c 			dump_backtrace_entry(regs->pc);
regs              151 arch/arm64/kernel/traps.c static int __die(const char *str, int err, struct pt_regs *regs)
regs              160 arch/arm64/kernel/traps.c 	ret = notify_die(DIE_OOPS, str, regs, err, 0, SIGSEGV);
regs              165 arch/arm64/kernel/traps.c 	show_regs(regs);
regs              167 arch/arm64/kernel/traps.c 	dump_kernel_instr(KERN_EMERG, regs);
regs              177 arch/arm64/kernel/traps.c void die(const char *str, struct pt_regs *regs, int err)
regs              188 arch/arm64/kernel/traps.c 	ret = __die(str, err, regs);
regs              190 arch/arm64/kernel/traps.c 	if (regs && kexec_should_crash(current))
regs              191 arch/arm64/kernel/traps.c 		crash_kexec(regs);
regs              214 arch/arm64/kernel/traps.c 	struct pt_regs *regs = task_pt_regs(tsk);
regs              227 arch/arm64/kernel/traps.c 	print_vma_addr(KERN_CONT " in ", regs->pc);
regs              229 arch/arm64/kernel/traps.c 	__show_regs(regs);
regs              256 arch/arm64/kernel/traps.c void arm64_notify_die(const char *str, struct pt_regs *regs,
regs              260 arch/arm64/kernel/traps.c 	if (user_mode(regs)) {
regs              261 arch/arm64/kernel/traps.c 		WARN_ON(regs != current_pt_regs());
regs              267 arch/arm64/kernel/traps.c 		die(str, regs, err);
regs              271 arch/arm64/kernel/traps.c void arm64_skip_faulting_instruction(struct pt_regs *regs, unsigned long size)
regs              273 arch/arm64/kernel/traps.c 	regs->pc += size;
regs              279 arch/arm64/kernel/traps.c 	if (user_mode(regs))
regs              304 arch/arm64/kernel/traps.c static int call_undef_hook(struct pt_regs *regs)
regs              309 arch/arm64/kernel/traps.c 	int (*fn)(struct pt_regs *regs, u32 instr) = NULL;
regs              310 arch/arm64/kernel/traps.c 	void __user *pc = (void __user *)instruction_pointer(regs);
regs              312 arch/arm64/kernel/traps.c 	if (!user_mode(regs)) {
regs              317 arch/arm64/kernel/traps.c 	} else if (compat_thumb_mode(regs)) {
regs              342 arch/arm64/kernel/traps.c 			(regs->pstate & hook->pstate_mask) == hook->pstate_val)
regs              347 arch/arm64/kernel/traps.c 	return fn ? fn(regs, instr) : 1;
regs              353 arch/arm64/kernel/traps.c 	struct pt_regs *regs = current_pt_regs();
regs              355 arch/arm64/kernel/traps.c 	if (WARN_ON(!user_mode(regs)))
regs              376 arch/arm64/kernel/traps.c 	arm64_notify_die(desc, regs, signal, code, (void __user *)address, 0);
regs              396 arch/arm64/kernel/traps.c asmlinkage void __exception do_undefinstr(struct pt_regs *regs)
regs              399 arch/arm64/kernel/traps.c 	if (!aarch32_break_handler(regs))
regs              402 arch/arm64/kernel/traps.c 	if (call_undef_hook(regs) == 0)
regs              405 arch/arm64/kernel/traps.c 	BUG_ON(!user_mode(regs));
regs              406 arch/arm64/kernel/traps.c 	force_signal_inject(SIGILL, ILL_ILLOPC, regs->pc);
regs              429 arch/arm64/kernel/traps.c static void user_cache_maint_handler(unsigned int esr, struct pt_regs *regs)
regs              436 arch/arm64/kernel/traps.c 	address = untagged_addr(pt_regs_read_reg(regs, rt));
regs              458 arch/arm64/kernel/traps.c 		force_signal_inject(SIGILL, ILL_ILLOPC, regs->pc);
regs              465 arch/arm64/kernel/traps.c 		arm64_skip_faulting_instruction(regs, AARCH64_INSN_SIZE);
regs              468 arch/arm64/kernel/traps.c static void ctr_read_handler(unsigned int esr, struct pt_regs *regs)
regs              482 arch/arm64/kernel/traps.c 	pt_regs_write_reg(regs, rt, val);
regs              484 arch/arm64/kernel/traps.c 	arm64_skip_faulting_instruction(regs, AARCH64_INSN_SIZE);
regs              487 arch/arm64/kernel/traps.c static void cntvct_read_handler(unsigned int esr, struct pt_regs *regs)
regs              491 arch/arm64/kernel/traps.c 	pt_regs_write_reg(regs, rt, arch_timer_read_counter());
regs              492 arch/arm64/kernel/traps.c 	arm64_skip_faulting_instruction(regs, AARCH64_INSN_SIZE);
regs              495 arch/arm64/kernel/traps.c static void cntfrq_read_handler(unsigned int esr, struct pt_regs *regs)
regs              499 arch/arm64/kernel/traps.c 	pt_regs_write_reg(regs, rt, arch_timer_get_rate());
regs              500 arch/arm64/kernel/traps.c 	arm64_skip_faulting_instruction(regs, AARCH64_INSN_SIZE);
regs              503 arch/arm64/kernel/traps.c static void mrs_handler(unsigned int esr, struct pt_regs *regs)
regs              510 arch/arm64/kernel/traps.c 	if (do_emulate_mrs(regs, sysreg, rt) != 0)
regs              511 arch/arm64/kernel/traps.c 		force_signal_inject(SIGILL, ILL_ILLOPC, regs->pc);
regs              514 arch/arm64/kernel/traps.c static void wfi_handler(unsigned int esr, struct pt_regs *regs)
regs              516 arch/arm64/kernel/traps.c 	arm64_skip_faulting_instruction(regs, AARCH64_INSN_SIZE);
regs              522 arch/arm64/kernel/traps.c 	void (*handler)(unsigned int esr, struct pt_regs *regs);
regs              571 arch/arm64/kernel/traps.c static u32 compat_get_it_state(struct pt_regs *regs)
regs              573 arch/arm64/kernel/traps.c 	u32 it, pstate = regs->pstate;
regs              581 arch/arm64/kernel/traps.c static void compat_set_it_state(struct pt_regs *regs, u32 it)
regs              588 arch/arm64/kernel/traps.c 	regs->pstate &= ~PSR_AA32_IT_MASK;
regs              589 arch/arm64/kernel/traps.c 	regs->pstate |= pstate_it;
regs              592 arch/arm64/kernel/traps.c static bool cp15_cond_valid(unsigned int esr, struct pt_regs *regs)
regs              600 arch/arm64/kernel/traps.c 		it = compat_get_it_state(regs);
regs              609 arch/arm64/kernel/traps.c 	return aarch32_opcode_cond_checks[cond](regs->pstate);
regs              612 arch/arm64/kernel/traps.c static void advance_itstate(struct pt_regs *regs)
regs              617 arch/arm64/kernel/traps.c 	if (!(regs->pstate & PSR_AA32_T_BIT) ||
regs              618 arch/arm64/kernel/traps.c 	    !(regs->pstate & PSR_AA32_IT_MASK))
regs              621 arch/arm64/kernel/traps.c 	it  = compat_get_it_state(regs);
regs              632 arch/arm64/kernel/traps.c 	compat_set_it_state(regs, it);
regs              635 arch/arm64/kernel/traps.c static void arm64_compat_skip_faulting_instruction(struct pt_regs *regs,
regs              638 arch/arm64/kernel/traps.c 	advance_itstate(regs);
regs              639 arch/arm64/kernel/traps.c 	arm64_skip_faulting_instruction(regs, sz);
regs              642 arch/arm64/kernel/traps.c static void compat_cntfrq_read_handler(unsigned int esr, struct pt_regs *regs)
regs              646 arch/arm64/kernel/traps.c 	pt_regs_write_reg(regs, reg, arch_timer_get_rate());
regs              647 arch/arm64/kernel/traps.c 	arm64_compat_skip_faulting_instruction(regs, 4);
regs              659 arch/arm64/kernel/traps.c static void compat_cntvct_read_handler(unsigned int esr, struct pt_regs *regs)
regs              665 arch/arm64/kernel/traps.c 	pt_regs_write_reg(regs, rt, lower_32_bits(val));
regs              666 arch/arm64/kernel/traps.c 	pt_regs_write_reg(regs, rt2, upper_32_bits(val));
regs              667 arch/arm64/kernel/traps.c 	arm64_compat_skip_faulting_instruction(regs, 4);
regs              679 arch/arm64/kernel/traps.c asmlinkage void __exception do_cp15instr(unsigned int esr, struct pt_regs *regs)
regs              683 arch/arm64/kernel/traps.c 	if (!cp15_cond_valid(esr, regs)) {
regs              688 arch/arm64/kernel/traps.c 		arm64_compat_skip_faulting_instruction(regs, 4);
regs              700 arch/arm64/kernel/traps.c 		do_undefinstr(regs);
regs              706 arch/arm64/kernel/traps.c 			hook->handler(esr, regs);
regs              715 arch/arm64/kernel/traps.c 	do_undefinstr(regs);
regs              719 arch/arm64/kernel/traps.c asmlinkage void __exception do_sysinstr(unsigned int esr, struct pt_regs *regs)
regs              725 arch/arm64/kernel/traps.c 			hook->handler(esr, regs);
regs              734 arch/arm64/kernel/traps.c 	do_undefinstr(regs);
regs              789 arch/arm64/kernel/traps.c asmlinkage void bad_mode(struct pt_regs *regs, int reason, unsigned int esr)
regs              805 arch/arm64/kernel/traps.c asmlinkage void bad_el0_sync(struct pt_regs *regs, int reason, unsigned int esr)
regs              807 arch/arm64/kernel/traps.c 	void __user *pc = (void __user *)instruction_pointer(regs);
regs              821 arch/arm64/kernel/traps.c asmlinkage void handle_bad_stack(struct pt_regs *regs)
regs              842 arch/arm64/kernel/traps.c 	__show_regs(regs);
regs              853 arch/arm64/kernel/traps.c void __noreturn arm64_serror_panic(struct pt_regs *regs, u32 esr)
regs              859 arch/arm64/kernel/traps.c 	if (regs)
regs              860 arch/arm64/kernel/traps.c 		__show_regs(regs);
regs              862 arch/arm64/kernel/traps.c 	nmi_panic(regs, "Asynchronous SError Interrupt");
regs              868 arch/arm64/kernel/traps.c bool arm64_is_fatal_ras_serror(struct pt_regs *regs, unsigned int esr)
regs              896 arch/arm64/kernel/traps.c 		arm64_serror_panic(regs, esr);
regs              900 arch/arm64/kernel/traps.c asmlinkage void do_serror(struct pt_regs *regs, unsigned int esr)
regs              908 arch/arm64/kernel/traps.c 	if (!arm64_is_ras_serror(esr) || arm64_is_fatal_ras_serror(regs, esr))
regs              909 arch/arm64/kernel/traps.c 		arm64_serror_panic(regs, esr);
regs              956 arch/arm64/kernel/traps.c static int bug_handler(struct pt_regs *regs, unsigned int esr)
regs              958 arch/arm64/kernel/traps.c 	switch (report_bug(regs->pc, regs)) {
regs              960 arch/arm64/kernel/traps.c 		die("Oops - BUG", regs, 0);
regs              972 arch/arm64/kernel/traps.c 	arm64_skip_faulting_instruction(regs, AARCH64_INSN_SIZE);
regs              988 arch/arm64/kernel/traps.c static int kasan_handler(struct pt_regs *regs, unsigned int esr)
regs              993 arch/arm64/kernel/traps.c 	u64 addr = regs->regs[0];
regs              994 arch/arm64/kernel/traps.c 	u64 pc = regs->pc;
regs             1013 arch/arm64/kernel/traps.c 		die("Oops - KASAN", regs, 0);
regs             1016 arch/arm64/kernel/traps.c 	arm64_skip_faulting_instruction(regs, AARCH64_INSN_SIZE);
regs             1032 arch/arm64/kernel/traps.c 		struct pt_regs *regs)
regs             1038 arch/arm64/kernel/traps.c 		return kasan_handler(regs, esr) != DBG_HOOK_HANDLED;
regs             1040 arch/arm64/kernel/traps.c 	return bug_handler(regs, esr) != DBG_HOOK_HANDLED;
regs               67 arch/arm64/kvm/guest.c 	case KVM_REG_ARM_CORE_REG(regs.regs[0]) ...
regs               68 arch/arm64/kvm/guest.c 	     KVM_REG_ARM_CORE_REG(regs.regs[30]):
regs               69 arch/arm64/kvm/guest.c 	case KVM_REG_ARM_CORE_REG(regs.sp):
regs               70 arch/arm64/kvm/guest.c 	case KVM_REG_ARM_CORE_REG(regs.pc):
regs               71 arch/arm64/kvm/guest.c 	case KVM_REG_ARM_CORE_REG(regs.pstate):
regs              131 arch/arm64/kvm/guest.c 	struct kvm_regs *regs = vcpu_gp_regs(vcpu);
regs              132 arch/arm64/kvm/guest.c 	int nr_regs = sizeof(*regs) / sizeof(__u32);
regs              144 arch/arm64/kvm/guest.c 	if (copy_to_user(uaddr, ((u32 *)regs) + off, KVM_REG_SIZE(reg->id)))
regs              153 arch/arm64/kvm/guest.c 	struct kvm_regs *regs = vcpu_gp_regs(vcpu);
regs              154 arch/arm64/kvm/guest.c 	int nr_regs = sizeof(*regs) / sizeof(__u32);
regs              177 arch/arm64/kvm/guest.c 	if (off == KVM_REG_ARM_CORE_REG(regs.pstate)) {
regs              204 arch/arm64/kvm/guest.c 	memcpy((u32 *)regs + off, valp, KVM_REG_SIZE(reg->id));
regs              443 arch/arm64/kvm/guest.c int kvm_arch_vcpu_ioctl_get_regs(struct kvm_vcpu *vcpu, struct kvm_regs *regs)
regs              448 arch/arm64/kvm/guest.c int kvm_arch_vcpu_ioctl_set_regs(struct kvm_vcpu *vcpu, struct kvm_regs *regs)
regs              190 arch/arm64/kvm/hyp/debug-sr.c 	host_dbg = &vcpu->arch.host_debug_state.regs;
regs              212 arch/arm64/kvm/hyp/debug-sr.c 	host_dbg = &vcpu->arch.host_debug_state.regs;
regs               34 arch/arm64/kvm/hyp/sysreg-sr.c 	ctxt->gp_regs.regs.sp		= read_sysreg(sp_el0);
regs               71 arch/arm64/kvm/hyp/sysreg-sr.c 	ctxt->gp_regs.regs.pc		= read_sysreg_el2(SYS_ELR);
regs               72 arch/arm64/kvm/hyp/sysreg-sr.c 	ctxt->gp_regs.regs.pstate	= read_sysreg_el2(SYS_SPSR);
regs              107 arch/arm64/kvm/hyp/sysreg-sr.c 	write_sysreg(ctxt->gp_regs.regs.sp,	  sp_el0);
regs              146 arch/arm64/kvm/hyp/sysreg-sr.c 	u64 pstate = ctxt->gp_regs.regs.pstate;
regs              163 arch/arm64/kvm/hyp/sysreg-sr.c 	write_sysreg_el2(ctxt->gp_regs.regs.pc,		SYS_ELR);
regs              103 arch/arm64/kvm/regmap.c 	unsigned long *reg_array = (unsigned long *)&vcpu->arch.ctxt.gp_regs.regs;
regs               40 arch/arm64/kvm/reset.c 	.regs.pstate = (PSR_MODE_EL1h | PSR_A_BIT | PSR_I_BIT |
regs               45 arch/arm64/kvm/reset.c 	.regs.pstate = (PSR_AA32_MODE_SVC | PSR_AA32_A_BIT |
regs                6 arch/arm64/lib/error-inject.c void override_function_with_return(struct pt_regs *regs)
regs               16 arch/arm64/lib/error-inject.c 	instruction_pointer_set(regs, procedure_link_pointer(regs));
regs                9 arch/arm64/mm/extable.c int fixup_exception(struct pt_regs *regs)
regs               13 arch/arm64/mm/extable.c 	fixup = search_exception_tables(instruction_pointer(regs));
regs               15 arch/arm64/mm/extable.c 		regs->pc = (unsigned long)&fixup->fixup + fixup->fixup;
regs               44 arch/arm64/mm/fault.c 		      struct pt_regs *regs);
regs              236 arch/arm64/mm/fault.c 					   struct pt_regs *regs)
regs              249 arch/arm64/mm/fault.c 			(regs->pstate & PSR_PAN_BIT);
regs              256 arch/arm64/mm/fault.c 							struct pt_regs *regs)
regs              287 arch/arm64/mm/fault.c 			     unsigned int esr, struct pt_regs *regs)
regs              297 arch/arm64/mm/fault.c 	die("Oops", regs, esr);
regs              303 arch/arm64/mm/fault.c 			      struct pt_regs *regs)
regs              311 arch/arm64/mm/fault.c 	if (!is_el1_instruction_abort(esr) && fixup_exception(regs))
regs              314 arch/arm64/mm/fault.c 	if (WARN_RATELIMIT(is_spurious_el1_translation_fault(addr, esr, regs),
regs              318 arch/arm64/mm/fault.c 	if (is_el1_permission_fault(addr, esr, regs)) {
regs              329 arch/arm64/mm/fault.c 	die_kernel_fault(msg, addr, esr, regs);
regs              389 arch/arm64/mm/fault.c static void do_bad_area(unsigned long addr, unsigned int esr, struct pt_regs *regs)
regs              395 arch/arm64/mm/fault.c 	if (user_mode(regs)) {
regs              402 arch/arm64/mm/fault.c 		__do_kernel_fault(addr, esr, regs);
regs              452 arch/arm64/mm/fault.c 				   struct pt_regs *regs)
regs              460 arch/arm64/mm/fault.c 	if (kprobe_page_fault(regs, esr))
regs              470 arch/arm64/mm/fault.c 	if (user_mode(regs))
regs              481 arch/arm64/mm/fault.c 	if (is_ttbr0_addr(addr) && is_el1_permission_fault(addr, esr, regs)) {
regs              483 arch/arm64/mm/fault.c 		if (regs->orig_addr_limit == KERNEL_DS)
regs              485 arch/arm64/mm/fault.c 					 addr, esr, regs);
regs              489 arch/arm64/mm/fault.c 					 addr, esr, regs);
regs              491 arch/arm64/mm/fault.c 		if (!search_exception_tables(regs->pc))
regs              493 arch/arm64/mm/fault.c 					 addr, esr, regs);
regs              496 arch/arm64/mm/fault.c 	perf_sw_event(PERF_COUNT_SW_PAGE_FAULTS, 1, regs, addr);
regs              504 arch/arm64/mm/fault.c 		if (!user_mode(regs) && !search_exception_tables(regs->pc))
regs              515 arch/arm64/mm/fault.c 		if (!user_mode(regs) && !search_exception_tables(regs->pc)) {
regs              533 arch/arm64/mm/fault.c 			if (!user_mode(regs))
regs              563 arch/arm64/mm/fault.c 			perf_sw_event(PERF_COUNT_SW_PAGE_FAULTS_MAJ, 1, regs,
regs              567 arch/arm64/mm/fault.c 			perf_sw_event(PERF_COUNT_SW_PAGE_FAULTS_MIN, 1, regs,
regs              578 arch/arm64/mm/fault.c 	if (!user_mode(regs))
regs              623 arch/arm64/mm/fault.c 	__do_kernel_fault(addr, esr, regs);
regs              629 arch/arm64/mm/fault.c 					  struct pt_regs *regs)
regs              632 arch/arm64/mm/fault.c 		return do_page_fault(addr, esr, regs);
regs              634 arch/arm64/mm/fault.c 	do_bad_area(addr, esr, regs);
regs              639 arch/arm64/mm/fault.c 			      struct pt_regs *regs)
regs              641 arch/arm64/mm/fault.c 	do_bad_area(addr, esr, regs);
regs              645 arch/arm64/mm/fault.c static int do_bad(unsigned long addr, unsigned int esr, struct pt_regs *regs)
regs              650 arch/arm64/mm/fault.c static int do_sea(unsigned long addr, unsigned int esr, struct pt_regs *regs)
regs              661 arch/arm64/mm/fault.c 	apei_claim_sea(regs);
regs              667 arch/arm64/mm/fault.c 	arm64_notify_die(inf->name, regs, inf->sig, inf->code, siaddr, esr);
regs              740 arch/arm64/mm/fault.c 					 struct pt_regs *regs)
regs              744 arch/arm64/mm/fault.c 	if (!inf->fn(addr, esr, regs))
regs              747 arch/arm64/mm/fault.c 	if (!user_mode(regs)) {
regs              753 arch/arm64/mm/fault.c 	arm64_notify_die(inf->name, regs,
regs              765 arch/arm64/mm/fault.c 						   struct pt_regs *regs)
regs              776 arch/arm64/mm/fault.c 	do_mem_abort(addr, esr, regs);
regs              782 arch/arm64/mm/fault.c 					   struct pt_regs *regs)
regs              784 arch/arm64/mm/fault.c 	if (user_mode(regs)) {
regs              785 arch/arm64/mm/fault.c 		if (!is_ttbr0_addr(instruction_pointer(regs)))
regs              790 arch/arm64/mm/fault.c 	arm64_notify_die("SP/PC alignment exception", regs,
regs              795 arch/arm64/mm/fault.c 		       struct pt_regs *regs);
regs              832 arch/arm64/mm/fault.c static void debug_exception_enter(struct pt_regs *regs)
regs              838 arch/arm64/mm/fault.c 	if (interrupts_enabled(regs))
regs              841 arch/arm64/mm/fault.c 	if (user_mode(regs)) {
regs              860 arch/arm64/mm/fault.c static void debug_exception_exit(struct pt_regs *regs)
regs              864 arch/arm64/mm/fault.c 	if (!user_mode(regs))
regs              867 arch/arm64/mm/fault.c 	if (interrupts_enabled(regs))
regs              876 arch/arm64/mm/fault.c cortex_a76_erratum_1463225_debug_handler(struct pt_regs *regs)
regs              878 arch/arm64/mm/fault.c 	if (user_mode(regs))
regs              891 arch/arm64/mm/fault.c 	regs->pstate |= PSR_D_BIT;
regs              896 arch/arm64/mm/fault.c cortex_a76_erratum_1463225_debug_handler(struct pt_regs *regs)
regs              904 arch/arm64/mm/fault.c 					       struct pt_regs *regs)
regs              907 arch/arm64/mm/fault.c 	unsigned long pc = instruction_pointer(regs);
regs              909 arch/arm64/mm/fault.c 	if (cortex_a76_erratum_1463225_debug_handler(regs))
regs              912 arch/arm64/mm/fault.c 	debug_exception_enter(regs);
regs              914 arch/arm64/mm/fault.c 	if (user_mode(regs) && !is_ttbr0_addr(pc))
regs              917 arch/arm64/mm/fault.c 	if (inf->fn(addr_if_watchpoint, esr, regs)) {
regs              918 arch/arm64/mm/fault.c 		arm64_notify_die(inf->name, regs,
regs              922 arch/arm64/mm/fault.c 	debug_exception_exit(regs);
regs               17 arch/c6x/include/asm/bug.h extern asmlinkage int process_exception(struct pt_regs *regs);
regs               46 arch/c6x/include/asm/irq.h extern asmlinkage void c6x_do_IRQ(unsigned int prio, struct pt_regs *regs);
regs               73 arch/c6x/include/asm/processor.h extern void start_thread(struct pt_regs *regs, unsigned int pc,
regs               20 arch/c6x/include/asm/ptrace.h #define user_mode(regs)	((((regs)->tsr) & 0x40) != 0)
regs               22 arch/c6x/include/asm/ptrace.h #define instruction_pointer(regs) ((regs)->pc)
regs               23 arch/c6x/include/asm/ptrace.h #define profile_pc(regs) instruction_pointer(regs)
regs               24 arch/c6x/include/asm/ptrace.h #define user_stack_pointer(regs) ((regs)->sp)
regs               28 arch/c6x/include/asm/ptrace.h extern asmlinkage unsigned long syscall_trace_entry(struct pt_regs *regs);
regs               29 arch/c6x/include/asm/ptrace.h extern asmlinkage void syscall_trace_exit(struct pt_regs *regs);
regs               15 arch/c6x/include/asm/syscall.h 				 struct pt_regs *regs)
regs               17 arch/c6x/include/asm/syscall.h 	return regs->b0;
regs               21 arch/c6x/include/asm/syscall.h 				    struct pt_regs *regs)
regs               27 arch/c6x/include/asm/syscall.h 				     struct pt_regs *regs)
regs               29 arch/c6x/include/asm/syscall.h 	return IS_ERR_VALUE(regs->a4) ? regs->a4 : 0;
regs               33 arch/c6x/include/asm/syscall.h 					    struct pt_regs *regs)
regs               35 arch/c6x/include/asm/syscall.h 	return regs->a4;
regs               39 arch/c6x/include/asm/syscall.h 					    struct pt_regs *regs,
regs               42 arch/c6x/include/asm/syscall.h 	regs->a4 = error ?: val;
regs               46 arch/c6x/include/asm/syscall.h 					 struct pt_regs *regs,
regs               49 arch/c6x/include/asm/syscall.h 	*args++ = regs->a4;
regs               50 arch/c6x/include/asm/syscall.h 	*args++ = regs->b4;
regs               51 arch/c6x/include/asm/syscall.h 	*args++ = regs->a6;
regs               52 arch/c6x/include/asm/syscall.h 	*args++ = regs->b6;
regs               53 arch/c6x/include/asm/syscall.h 	*args++ = regs->a8;
regs               54 arch/c6x/include/asm/syscall.h 	*args   = regs->b8;
regs               58 arch/c6x/include/asm/syscall.h 					 struct pt_regs *regs,
regs               61 arch/c6x/include/asm/syscall.h 	regs->a4 = *args++;
regs               62 arch/c6x/include/asm/syscall.h 	regs->b4 = *args++;
regs               63 arch/c6x/include/asm/syscall.h 	regs->a6 = *args++;
regs               64 arch/c6x/include/asm/syscall.h 	regs->b6 = *args++;
regs               65 arch/c6x/include/asm/syscall.h 	regs->a8 = *args++;
regs               66 arch/c6x/include/asm/syscall.h 	regs->a9 = *args;
regs               31 arch/c6x/include/asm/traps.h extern int (*c6x_nmi_handler)(struct pt_regs *regs);
regs               58 arch/c6x/kernel/irq.c asmlinkage void c6x_do_IRQ(unsigned int prio, struct pt_regs *regs)
regs               60 arch/c6x/kernel/irq.c 	struct pt_regs *old_regs = set_irq_regs(regs);
regs               86 arch/c6x/kernel/process.c void start_thread(struct pt_regs *regs, unsigned int pc, unsigned long usp)
regs               98 arch/c6x/kernel/process.c 	regs->pc  = pc;
regs               99 arch/c6x/kernel/process.c 	regs->sp  = usp;
regs              100 arch/c6x/kernel/process.c 	regs->tsr |= 0x40; /* set user mode */
regs               63 arch/c6x/kernel/ptrace.c 	struct pt_regs *regs = task_pt_regs(target);
regs               66 arch/c6x/kernel/ptrace.c 				   regs,
regs               67 arch/c6x/kernel/ptrace.c 				   0, sizeof(*regs));
regs              125 arch/c6x/kernel/ptrace.c asmlinkage unsigned long syscall_trace_entry(struct pt_regs *regs)
regs              127 arch/c6x/kernel/ptrace.c 	if (tracehook_report_syscall_entry(regs))
regs              135 arch/c6x/kernel/ptrace.c 	return regs->b0;
regs              141 arch/c6x/kernel/ptrace.c asmlinkage void syscall_trace_exit(struct pt_regs *regs)
regs              143 arch/c6x/kernel/ptrace.c 	tracehook_report_syscall_exit(regs, 0);
regs               34 arch/c6x/kernel/signal.c static int restore_sigcontext(struct pt_regs *regs,
regs               40 arch/c6x/kernel/signal.c #define COPY(x)  (err |= __get_user(regs->x, &sc->sc_##x))
regs               62 arch/c6x/kernel/signal.c asmlinkage int do_rt_sigreturn(struct pt_regs *regs)
regs               75 arch/c6x/kernel/signal.c 	if (regs->sp & 7)
regs               78 arch/c6x/kernel/signal.c 	frame = (struct rt_sigframe __user *) ((unsigned long) regs->sp + 8);
regs               87 arch/c6x/kernel/signal.c 	if (restore_sigcontext(regs, &frame->uc.uc_mcontext))
regs               90 arch/c6x/kernel/signal.c 	return regs->a4;
regs               97 arch/c6x/kernel/signal.c static int setup_sigcontext(struct sigcontext __user *sc, struct pt_regs *regs,
regs              105 arch/c6x/kernel/signal.c #define COPY(x) (err |= __put_user(regs->x, &sc->sc_##x))
regs              128 arch/c6x/kernel/signal.c 					struct pt_regs *regs,
regs              131 arch/c6x/kernel/signal.c 	unsigned long sp = sigsp(regs->sp, ksig);
regs              141 arch/c6x/kernel/signal.c 			  struct pt_regs *regs)
regs              147 arch/c6x/kernel/signal.c 	frame = get_sigframe(ksig, regs, sizeof(*frame));
regs              159 arch/c6x/kernel/signal.c 	err |= setup_sigcontext(&frame->uc.uc_mcontext,	regs, set->sig[0]);
regs              190 arch/c6x/kernel/signal.c 	regs->sp = (unsigned long) frame - 8;
regs              191 arch/c6x/kernel/signal.c 	regs->b3 = (unsigned long) retcode;
regs              192 arch/c6x/kernel/signal.c 	regs->pc = (unsigned long) ksig->ka.sa.sa_handler;
regs              195 arch/c6x/kernel/signal.c 	regs->a4 = ksig->sig;
regs              202 arch/c6x/kernel/signal.c 	regs->b4 = (unsigned long)&frame->info;
regs              203 arch/c6x/kernel/signal.c 	regs->a6 = (unsigned long)&frame->uc;
regs              209 arch/c6x/kernel/signal.c handle_restart(struct pt_regs *regs, struct k_sigaction *ka, int has_handler)
regs              211 arch/c6x/kernel/signal.c 	switch (regs->a4) {
regs              215 arch/c6x/kernel/signal.c 		regs->a4 = -EINTR;
regs              220 arch/c6x/kernel/signal.c 			regs->a4 = -EINTR;
regs              226 arch/c6x/kernel/signal.c 		regs->a4 = regs->orig_a4;
regs              227 arch/c6x/kernel/signal.c 		regs->pc -= 4;
regs              235 arch/c6x/kernel/signal.c static void handle_signal(struct ksignal *ksig, struct pt_regs *regs,
regs              243 arch/c6x/kernel/signal.c 		switch (regs->a4) {
regs              246 arch/c6x/kernel/signal.c 			regs->a4 = -EINTR;
regs              251 arch/c6x/kernel/signal.c 				regs->a4 = -EINTR;
regs              257 arch/c6x/kernel/signal.c 			regs->a4 = regs->orig_a4;
regs              258 arch/c6x/kernel/signal.c 			regs->pc -= 4;
regs              263 arch/c6x/kernel/signal.c 	ret = setup_rt_frame(ksig, sigmask_to_save(), regs);
regs              270 arch/c6x/kernel/signal.c static void do_signal(struct pt_regs *regs, int syscall)
regs              276 arch/c6x/kernel/signal.c 	if (!user_mode(regs))
regs              280 arch/c6x/kernel/signal.c 		handle_signal(&ksig, regs, syscall);
regs              287 arch/c6x/kernel/signal.c 		switch (regs->a4) {
regs              291 arch/c6x/kernel/signal.c 			regs->a4 = regs->orig_a4;
regs              292 arch/c6x/kernel/signal.c 			regs->pc -= 4;
regs              296 arch/c6x/kernel/signal.c 			regs->a4 = regs->orig_a4;
regs              297 arch/c6x/kernel/signal.c 			regs->b0 = __NR_restart_syscall;
regs              298 arch/c6x/kernel/signal.c 			regs->pc -= 4;
regs              312 arch/c6x/kernel/signal.c asmlinkage void do_notify_resume(struct pt_regs *regs, u32 thread_info_flags,
regs              317 arch/c6x/kernel/signal.c 		do_signal(regs, syscall);
regs              321 arch/c6x/kernel/signal.c 		tracehook_notify_resume(regs);
regs               17 arch/c6x/kernel/traps.c int (*c6x_nmi_handler)(struct pt_regs *regs);
regs               28 arch/c6x/kernel/traps.c void show_regs(struct pt_regs *regs)
regs               32 arch/c6x/kernel/traps.c 	pr_err("PC: %08lx SP: %08lx\n", regs->pc, regs->sp);
regs               33 arch/c6x/kernel/traps.c 	pr_err("Status: %08lx ORIG_A4: %08lx\n", regs->csr, regs->orig_a4);
regs               34 arch/c6x/kernel/traps.c 	pr_err("A0: %08lx  B0: %08lx\n", regs->a0, regs->b0);
regs               35 arch/c6x/kernel/traps.c 	pr_err("A1: %08lx  B1: %08lx\n", regs->a1, regs->b1);
regs               36 arch/c6x/kernel/traps.c 	pr_err("A2: %08lx  B2: %08lx\n", regs->a2, regs->b2);
regs               37 arch/c6x/kernel/traps.c 	pr_err("A3: %08lx  B3: %08lx\n", regs->a3, regs->b3);
regs               38 arch/c6x/kernel/traps.c 	pr_err("A4: %08lx  B4: %08lx\n", regs->a4, regs->b4);
regs               39 arch/c6x/kernel/traps.c 	pr_err("A5: %08lx  B5: %08lx\n", regs->a5, regs->b5);
regs               40 arch/c6x/kernel/traps.c 	pr_err("A6: %08lx  B6: %08lx\n", regs->a6, regs->b6);
regs               41 arch/c6x/kernel/traps.c 	pr_err("A7: %08lx  B7: %08lx\n", regs->a7, regs->b7);
regs               42 arch/c6x/kernel/traps.c 	pr_err("A8: %08lx  B8: %08lx\n", regs->a8, regs->b8);
regs               43 arch/c6x/kernel/traps.c 	pr_err("A9: %08lx  B9: %08lx\n", regs->a9, regs->b9);
regs               44 arch/c6x/kernel/traps.c 	pr_err("A10: %08lx  B10: %08lx\n", regs->a10, regs->b10);
regs               45 arch/c6x/kernel/traps.c 	pr_err("A11: %08lx  B11: %08lx\n", regs->a11, regs->b11);
regs               46 arch/c6x/kernel/traps.c 	pr_err("A12: %08lx  B12: %08lx\n", regs->a12, regs->b12);
regs               47 arch/c6x/kernel/traps.c 	pr_err("A13: %08lx  B13: %08lx\n", regs->a13, regs->b13);
regs               48 arch/c6x/kernel/traps.c 	pr_err("A14: %08lx  B14: %08lx\n", regs->a14, regs->dp);
regs               49 arch/c6x/kernel/traps.c 	pr_err("A15: %08lx  B15: %08lx\n", regs->a15, regs->sp);
regs               50 arch/c6x/kernel/traps.c 	pr_err("A16: %08lx  B16: %08lx\n", regs->a16, regs->b16);
regs               51 arch/c6x/kernel/traps.c 	pr_err("A17: %08lx  B17: %08lx\n", regs->a17, regs->b17);
regs               52 arch/c6x/kernel/traps.c 	pr_err("A18: %08lx  B18: %08lx\n", regs->a18, regs->b18);
regs               53 arch/c6x/kernel/traps.c 	pr_err("A19: %08lx  B19: %08lx\n", regs->a19, regs->b19);
regs               54 arch/c6x/kernel/traps.c 	pr_err("A20: %08lx  B20: %08lx\n", regs->a20, regs->b20);
regs               55 arch/c6x/kernel/traps.c 	pr_err("A21: %08lx  B21: %08lx\n", regs->a21, regs->b21);
regs               56 arch/c6x/kernel/traps.c 	pr_err("A22: %08lx  B22: %08lx\n", regs->a22, regs->b22);
regs               57 arch/c6x/kernel/traps.c 	pr_err("A23: %08lx  B23: %08lx\n", regs->a23, regs->b23);
regs               58 arch/c6x/kernel/traps.c 	pr_err("A24: %08lx  B24: %08lx\n", regs->a24, regs->b24);
regs               59 arch/c6x/kernel/traps.c 	pr_err("A25: %08lx  B25: %08lx\n", regs->a25, regs->b25);
regs               60 arch/c6x/kernel/traps.c 	pr_err("A26: %08lx  B26: %08lx\n", regs->a26, regs->b26);
regs               61 arch/c6x/kernel/traps.c 	pr_err("A27: %08lx  B27: %08lx\n", regs->a27, regs->b27);
regs               62 arch/c6x/kernel/traps.c 	pr_err("A28: %08lx  B28: %08lx\n", regs->a28, regs->b28);
regs               63 arch/c6x/kernel/traps.c 	pr_err("A29: %08lx  B29: %08lx\n", regs->a29, regs->b29);
regs               64 arch/c6x/kernel/traps.c 	pr_err("A30: %08lx  B30: %08lx\n", regs->a30, regs->b30);
regs               65 arch/c6x/kernel/traps.c 	pr_err("A31: %08lx  B31: %08lx\n", regs->a31, regs->b31);
regs              241 arch/c6x/kernel/traps.c static void do_trap(struct exception_info *except_info, struct pt_regs *regs)
regs              243 arch/c6x/kernel/traps.c 	unsigned long addr = instruction_pointer(regs);
regs              247 arch/c6x/kernel/traps.c 		       except_info->kernel_str, regs->pc,
regs              250 arch/c6x/kernel/traps.c 	die_if_kernel(except_info->kernel_str, regs, addr);
regs              259 arch/c6x/kernel/traps.c static int process_iexcept(struct pt_regs *regs)
regs              266 arch/c6x/kernel/traps.c 	pr_err("IEXCEPT: PC[0x%lx]\n", regs->pc);
regs              272 arch/c6x/kernel/traps.c 		if (*(unsigned int *)regs->pc == BKPT_OPCODE) {
regs              278 arch/c6x/kernel/traps.c 			do_trap(&bkpt_exception, regs);
regs              284 arch/c6x/kernel/traps.c 		do_trap(&iexcept_table[iexcept_num], regs);
regs              292 arch/c6x/kernel/traps.c static void process_eexcept(struct pt_regs *regs)
regs              296 arch/c6x/kernel/traps.c 	pr_err("EEXCEPT: PC[0x%lx]\n", regs->pc);
regs              299 arch/c6x/kernel/traps.c 		do_trap(&eexcept_table[evt], regs);
regs              307 arch/c6x/kernel/traps.c asmlinkage int process_exception(struct pt_regs *regs)
regs              320 arch/c6x/kernel/traps.c 				(c6x_nmi_handler)(regs);
regs              326 arch/c6x/kernel/traps.c 			if (process_iexcept(regs))
regs              331 arch/c6x/kernel/traps.c 			process_eexcept(regs);
regs              338 arch/c6x/kernel/traps.c 			do_trap(&iexcept_table[ie_num], regs);
regs               43 arch/c6x/platforms/emif.c 	struct emifa_regs __iomem *regs;
regs               53 arch/c6x/platforms/emif.c 	regs = of_iomap(node, 0);
regs               54 arch/c6x/platforms/emif.c 	if (!regs)
regs               69 arch/c6x/platforms/emif.c 			soc_writel(be32_to_cpup(&p[i]), &regs->cecfg[i]);
regs               74 arch/c6x/platforms/emif.c 		soc_writel(val, &regs->bprio);
regs               78 arch/c6x/platforms/emif.c 		soc_writel(val, &regs->awcc);
regs               80 arch/c6x/platforms/emif.c 	iounmap(regs);
regs               49 arch/c6x/platforms/megamod-pic.c 	struct megamod_regs __iomem *regs;
regs               69 arch/c6x/platforms/megamod-pic.c 	u32 __iomem *evtmask = &pic->regs->evtmask[src / 32];
regs               80 arch/c6x/platforms/megamod-pic.c 	u32 __iomem *evtmask = &pic->regs->evtmask[src / 32];
regs              106 arch/c6x/platforms/megamod-pic.c 	while ((events = soc_readl(&pic->regs->mevtflag[idx])) != 0) {
regs              111 arch/c6x/platforms/megamod-pic.c 		soc_writel(1 << n, &pic->regs->evtclr[idx]);
regs              156 arch/c6x/platforms/megamod-pic.c 	val = soc_readl(&pic->regs->intmux[index]);
regs              159 arch/c6x/platforms/megamod-pic.c 	soc_writel(val, &pic->regs->intmux[index]);
regs              223 arch/c6x/platforms/megamod-pic.c 	pic->regs = of_iomap(np, 0);
regs              224 arch/c6x/platforms/megamod-pic.c 	if (!pic->regs) {
regs              280 arch/c6x/platforms/megamod-pic.c 		soc_writel(~0, &pic->regs->evtmask[i]);
regs              281 arch/c6x/platforms/megamod-pic.c 		soc_writel(~0, &pic->regs->evtclr[i]);
regs              314 arch/c6x/platforms/megamod-pic.c 		mask = soc_readl(&mm_pic->regs->mexpflag[i]);
regs              317 arch/c6x/platforms/megamod-pic.c 			soc_writel(1 << bit, &mm_pic->regs->evtclr[i]);
regs              326 arch/c6x/platforms/megamod-pic.c 	soc_writel(val, &mm_pic->regs->evtasrt);
regs               13 arch/csky/abiv1/alignment.c static inline uint32_t get_ptreg(struct pt_regs *regs, uint32_t rx)
regs               15 arch/csky/abiv1/alignment.c 	return rx == 15 ? regs->lr : *((uint32_t *)&(regs->a0) - 2 + rx);
regs               18 arch/csky/abiv1/alignment.c static inline void put_ptreg(struct pt_regs *regs, uint32_t rx, uint32_t val)
regs               21 arch/csky/abiv1/alignment.c 		regs->lr = val;
regs               23 arch/csky/abiv1/alignment.c 		*((uint32_t *)&(regs->a0) - 2 + rx) = val;
regs               95 arch/csky/abiv1/alignment.c static int ldh_c(struct pt_regs *regs, uint32_t rz, uint32_t addr)
regs              106 arch/csky/abiv1/alignment.c 	put_ptreg(regs, rz, byte0);
regs              117 arch/csky/abiv1/alignment.c static int sth_c(struct pt_regs *regs, uint32_t rz, uint32_t addr)
regs              121 arch/csky/abiv1/alignment.c 	byte0 = byte1 = get_ptreg(regs, rz);
regs              142 arch/csky/abiv1/alignment.c static int ldw_c(struct pt_regs *regs, uint32_t rz, uint32_t addr)
regs              165 arch/csky/abiv1/alignment.c 	put_ptreg(regs, rz, byte0);
regs              176 arch/csky/abiv1/alignment.c static int stw_c(struct pt_regs *regs, uint32_t rz, uint32_t addr)
regs              180 arch/csky/abiv1/alignment.c 	byte0 = byte1 = byte2 = byte3 = get_ptreg(regs, rz);
regs              205 arch/csky/abiv1/alignment.c extern int fixup_exception(struct pt_regs *regs);
regs              212 arch/csky/abiv1/alignment.c void csky_alignment(struct pt_regs *regs)
regs              222 arch/csky/abiv1/alignment.c 	if (!user_mode(regs))
regs              232 arch/csky/abiv1/alignment.c 	ret = get_user(tmp, (uint16_t *)instruction_pointer(regs));
regs              248 arch/csky/abiv1/alignment.c 	tmp = *(uint16_t *)instruction_pointer(regs);
regs              263 arch/csky/abiv1/alignment.c 		addr = get_ptreg(regs, rx) + (imm << 1);
regs              264 arch/csky/abiv1/alignment.c 		ret = ldh_c(regs, rz, addr);
regs              267 arch/csky/abiv1/alignment.c 		addr = get_ptreg(regs, rx) + (imm << 2);
regs              268 arch/csky/abiv1/alignment.c 		ret = ldw_c(regs, rz, addr);
regs              271 arch/csky/abiv1/alignment.c 		addr = get_ptreg(regs, rx) + (imm << 1);
regs              272 arch/csky/abiv1/alignment.c 		ret = sth_c(regs, rz, addr);
regs              275 arch/csky/abiv1/alignment.c 		addr = get_ptreg(regs, rx) + (imm << 2);
regs              276 arch/csky/abiv1/alignment.c 		ret = stw_c(regs, rz, addr);
regs              283 arch/csky/abiv1/alignment.c 	regs->pc += 2;
regs              288 arch/csky/abiv1/alignment.c 	if (!user_mode(regs)) {
regs              289 arch/csky/abiv1/alignment.c 		if (fixup_exception(regs))
regs              295 arch/csky/abiv1/alignment.c 		show_regs(regs);
regs                6 arch/csky/abiv1/inc/abi/elf.h #define ELF_CORE_COPY_REGS(pr_reg, regs) do {	\
regs                7 arch/csky/abiv1/inc/abi/elf.h 	pr_reg[0] = regs->pc;			\
regs                8 arch/csky/abiv1/inc/abi/elf.h 	pr_reg[1] = regs->regs[9];		\
regs                9 arch/csky/abiv1/inc/abi/elf.h 	pr_reg[2] = regs->usp;			\
regs               10 arch/csky/abiv1/inc/abi/elf.h 	pr_reg[3] = regs->sr;			\
regs               11 arch/csky/abiv1/inc/abi/elf.h 	pr_reg[4] = regs->a0;			\
regs               12 arch/csky/abiv1/inc/abi/elf.h 	pr_reg[5] = regs->a1;			\
regs               13 arch/csky/abiv1/inc/abi/elf.h 	pr_reg[6] = regs->a2;			\
regs               14 arch/csky/abiv1/inc/abi/elf.h 	pr_reg[7] = regs->a3;			\
regs               15 arch/csky/abiv1/inc/abi/elf.h 	pr_reg[8] = regs->regs[0];		\
regs               16 arch/csky/abiv1/inc/abi/elf.h 	pr_reg[9] = regs->regs[1];		\
regs               17 arch/csky/abiv1/inc/abi/elf.h 	pr_reg[10] = regs->regs[2];		\
regs               18 arch/csky/abiv1/inc/abi/elf.h 	pr_reg[11] = regs->regs[3];		\
regs               19 arch/csky/abiv1/inc/abi/elf.h 	pr_reg[12] = regs->regs[4];		\
regs               20 arch/csky/abiv1/inc/abi/elf.h 	pr_reg[13] = regs->regs[5];		\
regs               21 arch/csky/abiv1/inc/abi/elf.h 	pr_reg[14] = regs->regs[6];		\
regs               22 arch/csky/abiv1/inc/abi/elf.h 	pr_reg[15] = regs->regs[7];		\
regs               23 arch/csky/abiv1/inc/abi/elf.h 	pr_reg[16] = regs->regs[8];		\
regs               24 arch/csky/abiv1/inc/abi/elf.h 	pr_reg[17] = regs->lr;			\
regs                8 arch/csky/abiv1/inc/abi/regdef.h #define regs_syscallid(regs) regs->regs[9]
regs                9 arch/csky/abiv1/inc/abi/regdef.h #define regs_fp(regs) regs->regs[2]
regs               20 arch/csky/abiv2/fpu.c int fpu_libc_helper(struct pt_regs *regs)
regs               28 arch/csky/abiv2/fpu.c 	instrptr = instruction_pointer(regs);
regs               54 arch/csky/abiv2/fpu.c 		regx =  *(&regs->a0 + index);
regs               63 arch/csky/abiv2/fpu.c 		regs->pc += 4;
regs               83 arch/csky/abiv2/fpu.c 		*(&regs->a0 + index) = regx;
regs               85 arch/csky/abiv2/fpu.c 		regs->pc += 4;
regs               92 arch/csky/abiv2/fpu.c void fpu_fpe(struct pt_regs *regs)
regs              122 arch/csky/abiv2/fpu.c 	force_sig_fault(sig, code, (void __user *)regs->pc);
regs                7 arch/csky/abiv2/inc/abi/elf.h #define ELF_CORE_COPY_REGS(pr_reg, regs) do {	\
regs                8 arch/csky/abiv2/inc/abi/elf.h 	pr_reg[0] = regs->pc;			\
regs                9 arch/csky/abiv2/inc/abi/elf.h 	pr_reg[1] = regs->a1;			\
regs               10 arch/csky/abiv2/inc/abi/elf.h 	pr_reg[2] = regs->a0;			\
regs               11 arch/csky/abiv2/inc/abi/elf.h 	pr_reg[3] = regs->sr;			\
regs               12 arch/csky/abiv2/inc/abi/elf.h 	pr_reg[4] = regs->a2;			\
regs               13 arch/csky/abiv2/inc/abi/elf.h 	pr_reg[5] = regs->a3;			\
regs               14 arch/csky/abiv2/inc/abi/elf.h 	pr_reg[6] = regs->regs[0];		\
regs               15 arch/csky/abiv2/inc/abi/elf.h 	pr_reg[7] = regs->regs[1];		\
regs               16 arch/csky/abiv2/inc/abi/elf.h 	pr_reg[8] = regs->regs[2];		\
regs               17 arch/csky/abiv2/inc/abi/elf.h 	pr_reg[9] = regs->regs[3];		\
regs               18 arch/csky/abiv2/inc/abi/elf.h 	pr_reg[10] = regs->regs[4];		\
regs               19 arch/csky/abiv2/inc/abi/elf.h 	pr_reg[11] = regs->regs[5];		\
regs               20 arch/csky/abiv2/inc/abi/elf.h 	pr_reg[12] = regs->regs[6];		\
regs               21 arch/csky/abiv2/inc/abi/elf.h 	pr_reg[13] = regs->regs[7];		\
regs               22 arch/csky/abiv2/inc/abi/elf.h 	pr_reg[14] = regs->regs[8];		\
regs               23 arch/csky/abiv2/inc/abi/elf.h 	pr_reg[15] = regs->regs[9];		\
regs               24 arch/csky/abiv2/inc/abi/elf.h 	pr_reg[16] = regs->usp;			\
regs               25 arch/csky/abiv2/inc/abi/elf.h 	pr_reg[17] = regs->lr;			\
regs               26 arch/csky/abiv2/inc/abi/elf.h 	pr_reg[18] = regs->exregs[0];		\
regs               27 arch/csky/abiv2/inc/abi/elf.h 	pr_reg[19] = regs->exregs[1];		\
regs               28 arch/csky/abiv2/inc/abi/elf.h 	pr_reg[20] = regs->exregs[2];		\
regs               29 arch/csky/abiv2/inc/abi/elf.h 	pr_reg[21] = regs->exregs[3];		\
regs               30 arch/csky/abiv2/inc/abi/elf.h 	pr_reg[22] = regs->exregs[4];		\
regs               31 arch/csky/abiv2/inc/abi/elf.h 	pr_reg[23] = regs->exregs[5];		\
regs               32 arch/csky/abiv2/inc/abi/elf.h 	pr_reg[24] = regs->exregs[6];		\
regs               33 arch/csky/abiv2/inc/abi/elf.h 	pr_reg[25] = regs->exregs[7];		\
regs               34 arch/csky/abiv2/inc/abi/elf.h 	pr_reg[26] = regs->exregs[8];		\
regs               35 arch/csky/abiv2/inc/abi/elf.h 	pr_reg[27] = regs->exregs[9];		\
regs               36 arch/csky/abiv2/inc/abi/elf.h 	pr_reg[28] = regs->exregs[10];		\
regs               37 arch/csky/abiv2/inc/abi/elf.h 	pr_reg[29] = regs->exregs[11];		\
regs               38 arch/csky/abiv2/inc/abi/elf.h 	pr_reg[30] = regs->exregs[12];		\
regs               39 arch/csky/abiv2/inc/abi/elf.h 	pr_reg[31] = regs->exregs[13];		\
regs               40 arch/csky/abiv2/inc/abi/elf.h 	pr_reg[32] = regs->exregs[14];		\
regs               41 arch/csky/abiv2/inc/abi/elf.h 	pr_reg[33] = regs->tls;			\
regs               10 arch/csky/abiv2/inc/abi/fpu.h int fpu_libc_helper(struct pt_regs *regs);
regs               11 arch/csky/abiv2/inc/abi/fpu.h void fpu_fpe(struct pt_regs *regs);
regs                8 arch/csky/abiv2/inc/abi/regdef.h #define regs_syscallid(regs) regs->regs[3]
regs                9 arch/csky/abiv2/inc/abi/regdef.h #define regs_fp(regs) regs->regs[4]
regs               23 arch/csky/include/asm/bug.h void die_if_kernel(char *str, struct pt_regs *regs, int nr);
regs               24 arch/csky/include/asm/bug.h void show_regs(struct pt_regs *regs);
regs                9 arch/csky/include/asm/perf_event.h #define perf_arch_fetch_caller_regs(regs, __ip) { \
regs               10 arch/csky/include/asm/perf_event.h 	(regs)->pc = (__ip); \
regs               11 arch/csky/include/asm/perf_event.h 	regs_fp(regs) = (unsigned long) __builtin_frame_address(0); \
regs               12 arch/csky/include/asm/perf_event.h 	asm volatile("mov %0, sp\n":"=r"((regs)->usp)); \
regs               67 arch/csky/include/asm/processor.h 	(_regs)->regs[1] = 0; /* ABIV1 is R7, uClibc_main rtdl arg */	\
regs               68 arch/csky/include/asm/processor.h 	(_regs)->regs[2] = 0;						\
regs               69 arch/csky/include/asm/processor.h 	(_regs)->regs[3] = 0; /* ABIV2 is R7, use it? */		\
regs               19 arch/csky/include/asm/ptrace.h #define user_stack_pointer(regs) ((regs)->usp)
regs               21 arch/csky/include/asm/ptrace.h #define user_mode(regs) (!((regs)->sr & PS_S))
regs               22 arch/csky/include/asm/ptrace.h #define instruction_pointer(regs) ((regs)->pc)
regs               23 arch/csky/include/asm/ptrace.h #define profile_pc(regs) instruction_pointer(regs)
regs               25 arch/csky/include/asm/ptrace.h static inline bool in_syscall(struct pt_regs const *regs)
regs               27 arch/csky/include/asm/ptrace.h 	return ((regs->sr >> 16) & 0xff) == VEC_TRAP0;
regs               30 arch/csky/include/asm/ptrace.h static inline void forget_syscall(struct pt_regs *regs)
regs               32 arch/csky/include/asm/ptrace.h 	regs->sr &= ~(0xff << 16);
regs               35 arch/csky/include/asm/ptrace.h static inline unsigned long regs_return_value(struct pt_regs *regs)
regs               37 arch/csky/include/asm/ptrace.h 	return regs->a0;
regs               14 arch/csky/include/asm/syscall.h syscall_get_nr(struct task_struct *task, struct pt_regs *regs)
regs               16 arch/csky/include/asm/syscall.h 	return regs_syscallid(regs);
regs               20 arch/csky/include/asm/syscall.h syscall_set_nr(struct task_struct *task, struct pt_regs *regs,
regs               23 arch/csky/include/asm/syscall.h 	regs_syscallid(regs) = sysno;
regs               27 arch/csky/include/asm/syscall.h syscall_rollback(struct task_struct *task, struct pt_regs *regs)
regs               29 arch/csky/include/asm/syscall.h 	regs->a0 = regs->orig_a0;
regs               33 arch/csky/include/asm/syscall.h syscall_get_error(struct task_struct *task, struct pt_regs *regs)
regs               35 arch/csky/include/asm/syscall.h 	unsigned long error = regs->a0;
regs               41 arch/csky/include/asm/syscall.h syscall_get_return_value(struct task_struct *task, struct pt_regs *regs)
regs               43 arch/csky/include/asm/syscall.h 	return regs->a0;
regs               47 arch/csky/include/asm/syscall.h syscall_set_return_value(struct task_struct *task, struct pt_regs *regs,
regs               50 arch/csky/include/asm/syscall.h 	regs->a0 = (long) error ?: val;
regs               54 arch/csky/include/asm/syscall.h syscall_get_arguments(struct task_struct *task, struct pt_regs *regs,
regs               57 arch/csky/include/asm/syscall.h 	args[0] = regs->orig_a0;
regs               59 arch/csky/include/asm/syscall.h 	memcpy(args, &regs->a1, 5 * sizeof(args[0]));
regs               63 arch/csky/include/asm/syscall.h syscall_set_arguments(struct task_struct *task, struct pt_regs *regs,
regs               66 arch/csky/include/asm/syscall.h 	regs->orig_a0 = args[0];
regs               68 arch/csky/include/asm/syscall.h 	memcpy(&regs->a1, args, 5 * sizeof(regs->a1));
regs               23 arch/csky/include/asm/thread_info.h 	struct pt_regs		*regs;
regs               42 arch/csky/include/asm/traps.h void csky_alignment(struct pt_regs *regs);
regs              409 arch/csky/include/asm/uaccess.h extern int fixup_exception(struct pt_regs *regs);
regs               31 arch/csky/include/uapi/asm/ptrace.h 	unsigned long	regs[10];
regs               43 arch/csky/kernel/asm-offsets.c 	DEFINE(PT_REGS0,          offsetof(struct pt_regs, regs[0]));
regs               44 arch/csky/kernel/asm-offsets.c 	DEFINE(PT_REGS1,          offsetof(struct pt_regs, regs[1]));
regs               45 arch/csky/kernel/asm-offsets.c 	DEFINE(PT_REGS2,          offsetof(struct pt_regs, regs[2]));
regs               46 arch/csky/kernel/asm-offsets.c 	DEFINE(PT_REGS3,          offsetof(struct pt_regs, regs[3]));
regs               47 arch/csky/kernel/asm-offsets.c 	DEFINE(PT_REGS4,          offsetof(struct pt_regs, regs[4]));
regs               48 arch/csky/kernel/asm-offsets.c 	DEFINE(PT_REGS5,          offsetof(struct pt_regs, regs[5]));
regs               49 arch/csky/kernel/asm-offsets.c 	DEFINE(PT_REGS6,          offsetof(struct pt_regs, regs[6]));
regs               50 arch/csky/kernel/asm-offsets.c 	DEFINE(PT_REGS7,          offsetof(struct pt_regs, regs[7]));
regs               51 arch/csky/kernel/asm-offsets.c 	DEFINE(PT_REGS8,          offsetof(struct pt_regs, regs[8]));
regs               52 arch/csky/kernel/asm-offsets.c 	DEFINE(PT_REGS9,          offsetof(struct pt_regs, regs[9]));
regs               19 arch/csky/kernel/irq.c asmlinkage void __irq_entry csky_do_IRQ(struct pt_regs *regs)
regs               21 arch/csky/kernel/irq.c 	handle_arch_irq(regs);
regs               87 arch/csky/kernel/perf_callchain.c 			 struct pt_regs *regs)
regs               95 arch/csky/kernel/perf_callchain.c 	fp = regs->regs[4];
regs               96 arch/csky/kernel/perf_callchain.c 	perf_callchain_store(entry, regs->pc);
regs              104 arch/csky/kernel/perf_callchain.c 	fp = user_backtrace(entry, fp, regs->lr);
regs              111 arch/csky/kernel/perf_callchain.c 			   struct pt_regs *regs)
regs              121 arch/csky/kernel/perf_callchain.c 	fr.fp = regs->regs[4];
regs              122 arch/csky/kernel/perf_callchain.c 	fr.lr = regs->lr;
regs             1107 arch/csky/kernel/perf_event.c 	struct pt_regs *regs;
regs             1119 arch/csky/kernel/perf_event.c 	regs = get_irq_regs();
regs             1142 arch/csky/kernel/perf_event.c 		if (perf_event_overflow(event, &data, regs))
regs               11 arch/csky/kernel/perf_regs.c u64 perf_reg_value(struct pt_regs *regs, int idx)
regs               16 arch/csky/kernel/perf_regs.c 	return (u64)*((u32 *)regs + idx);
regs               35 arch/csky/kernel/perf_regs.c 			struct pt_regs *regs,
regs               38 arch/csky/kernel/perf_regs.c 	regs_user->regs = task_pt_regs(current);
regs               78 arch/csky/kernel/process.c int dump_fpu(struct pt_regs *regs, struct user_fp *fpu)
regs               87 arch/csky/kernel/process.c 	struct pt_regs *regs = task_pt_regs(tsk);
regs               90 arch/csky/kernel/process.c 	ELF_CORE_COPY_REGS((*pr_regs), regs)
regs               40 arch/csky/kernel/ptrace.c 	struct pt_regs *regs;
regs               42 arch/csky/kernel/ptrace.c 	regs = task_pt_regs(tsk);
regs               43 arch/csky/kernel/ptrace.c 	regs->sr = (regs->sr & TRACE_MODE_MASK) | TRACE_MODE_RUN;
regs               48 arch/csky/kernel/ptrace.c 	struct pt_regs *regs;
regs               50 arch/csky/kernel/ptrace.c 	regs = task_pt_regs(tsk);
regs               51 arch/csky/kernel/ptrace.c 	regs->sr = (regs->sr & TRACE_MODE_MASK) | TRACE_MODE_SI;
regs               77 arch/csky/kernel/ptrace.c 	struct pt_regs *regs;
regs               79 arch/csky/kernel/ptrace.c 	regs = task_pt_regs(target);
regs               82 arch/csky/kernel/ptrace.c 	regs->tls = task_thread_info(target)->tp_value;
regs               84 arch/csky/kernel/ptrace.c 	return user_regset_copyout(&pos, &count, &kbuf, &ubuf, regs, 0, -1);
regs               93 arch/csky/kernel/ptrace.c 	struct pt_regs regs;
regs               95 arch/csky/kernel/ptrace.c 	ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &regs, 0, -1);
regs               99 arch/csky/kernel/ptrace.c 	regs.sr = task_pt_regs(target)->sr;
regs              101 arch/csky/kernel/ptrace.c 	regs.dcsr = task_pt_regs(target)->dcsr;
regs              103 arch/csky/kernel/ptrace.c 	task_thread_info(target)->tp_value = regs.tls;
regs              105 arch/csky/kernel/ptrace.c 	*task_pt_regs(target) = regs;
regs              115 arch/csky/kernel/ptrace.c 	struct user_fp *regs = (struct user_fp *)&target->thread.user_fp;
regs              119 arch/csky/kernel/ptrace.c 	struct user_fp tmp = *regs;
regs              122 arch/csky/kernel/ptrace.c 		tmp.vr[i*4] = regs->vr[i*2];
regs              123 arch/csky/kernel/ptrace.c 		tmp.vr[i*4 + 1] = regs->vr[i*2 + 1];
regs              127 arch/csky/kernel/ptrace.c 		tmp.vr[64 + i] = regs->vr[32 + i];
regs              131 arch/csky/kernel/ptrace.c 	return user_regset_copyout(&pos, &count, &kbuf, &ubuf, regs, 0, -1);
regs              141 arch/csky/kernel/ptrace.c 	struct user_fp *regs = (struct user_fp *)&target->thread.user_fp;
regs              149 arch/csky/kernel/ptrace.c 	*regs = tmp;
regs              152 arch/csky/kernel/ptrace.c 		regs->vr[i*2] = tmp.vr[i*4];
regs              153 arch/csky/kernel/ptrace.c 		regs->vr[i*2 + 1] = tmp.vr[i*4 + 1];
regs              157 arch/csky/kernel/ptrace.c 		regs->vr[32 + i] = tmp.vr[64 + i];
regs              159 arch/csky/kernel/ptrace.c 	ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, regs, 0, -1);
regs              215 arch/csky/kernel/ptrace.c asmlinkage void syscall_trace_enter(struct pt_regs *regs)
regs              218 arch/csky/kernel/ptrace.c 		if (tracehook_report_syscall_entry(regs))
regs              219 arch/csky/kernel/ptrace.c 			syscall_set_nr(current, regs, -1);
regs              222 arch/csky/kernel/ptrace.c 		trace_sys_enter(regs, syscall_get_nr(current, regs));
regs              224 arch/csky/kernel/ptrace.c 	audit_syscall_entry(regs_syscallid(regs), regs->a0, regs->a1, regs->a2, regs->a3);
regs              227 arch/csky/kernel/ptrace.c asmlinkage void syscall_trace_exit(struct pt_regs *regs)
regs              229 arch/csky/kernel/ptrace.c 	audit_syscall_exit(regs);
regs              232 arch/csky/kernel/ptrace.c 		tracehook_report_syscall_exit(regs, 0);
regs              235 arch/csky/kernel/ptrace.c 		trace_sys_exit(regs, syscall_get_return_value(current, regs));
regs              271 arch/csky/kernel/ptrace.c 		fp->regs[0], fp->regs[1], fp->regs[2], fp->regs[3]);
regs              273 arch/csky/kernel/ptrace.c 		fp->regs[4], fp->regs[5], fp->regs[6], fp->regs[7]);
regs              275 arch/csky/kernel/ptrace.c 		fp->regs[8], fp->regs[9], fp->lr);
regs              288 arch/csky/kernel/ptrace.c 		fp->regs[0], fp->regs[1], fp->regs[2], fp->regs[3]);
regs              290 arch/csky/kernel/ptrace.c 		fp->regs[4], fp->regs[5], fp->regs[6], fp->regs[7]);
regs              292 arch/csky/kernel/ptrace.c 		fp->regs[8], fp->regs[9], fp->lr);
regs              314 arch/csky/kernel/ptrace.c 	show_stack(NULL, (unsigned long *)fp->regs[4]);
regs               51 arch/csky/kernel/signal.c static long restore_sigcontext(struct pt_regs *regs,
regs               57 arch/csky/kernel/signal.c 	err |= __copy_from_user(regs, &sc->sc_pt_regs, sizeof(struct pt_regs));
regs               67 arch/csky/kernel/signal.c 	struct pt_regs *regs = current_pt_regs();
regs               74 arch/csky/kernel/signal.c 	frame = (struct rt_sigframe __user *)regs->usp;
regs               84 arch/csky/kernel/signal.c 	if (restore_sigcontext(regs, &frame->uc.uc_mcontext))
regs               90 arch/csky/kernel/signal.c 	return regs->a0;
regs               98 arch/csky/kernel/signal.c 	struct pt_regs *regs)
regs              103 arch/csky/kernel/signal.c 	err |= __copy_to_user(&sc->sc_pt_regs, regs, sizeof(struct pt_regs));
regs              110 arch/csky/kernel/signal.c 	struct pt_regs *regs, size_t framesize)
regs              114 arch/csky/kernel/signal.c 	sp = regs->usp;
regs              133 arch/csky/kernel/signal.c setup_rt_frame(struct ksignal *ksig, sigset_t *set, struct pt_regs *regs)
regs              139 arch/csky/kernel/signal.c 	frame = get_sigframe(ksig, regs, sizeof(*frame));
regs              148 arch/csky/kernel/signal.c 	err |= __save_altstack(&frame->uc.uc_stack, regs->usp);
regs              149 arch/csky/kernel/signal.c 	err |= setup_sigcontext(frame, regs);
regs              155 arch/csky/kernel/signal.c 	regs->lr = (unsigned long)(vdso->rt_signal_retcode);
regs              164 arch/csky/kernel/signal.c 	regs->pc  = (unsigned long)ksig->ka.sa.sa_handler;
regs              165 arch/csky/kernel/signal.c 	regs->usp = (unsigned long)frame;
regs              166 arch/csky/kernel/signal.c 	regs->a0  = ksig->sig;				/* a0: signal number */
regs              167 arch/csky/kernel/signal.c 	regs->a1  = (unsigned long)(&(frame->info));	/* a1: siginfo pointer */
regs              168 arch/csky/kernel/signal.c 	regs->a2  = (unsigned long)(&(frame->uc));	/* a2: ucontext pointer */
regs              173 arch/csky/kernel/signal.c static void handle_signal(struct ksignal *ksig, struct pt_regs *regs)
regs              179 arch/csky/kernel/signal.c 	if (in_syscall(regs)) {
regs              181 arch/csky/kernel/signal.c 		forget_syscall(regs);
regs              184 arch/csky/kernel/signal.c 		switch (regs->a0) {
regs              187 arch/csky/kernel/signal.c 			regs->a0 = -EINTR;
regs              192 arch/csky/kernel/signal.c 				regs->a0 = -EINTR;
regs              197 arch/csky/kernel/signal.c 			regs->a0 = regs->orig_a0;
regs              198 arch/csky/kernel/signal.c 			regs->pc -= TRAP0_SIZE;
regs              204 arch/csky/kernel/signal.c 	ret = setup_rt_frame(ksig, oldset, regs);
regs              209 arch/csky/kernel/signal.c static void do_signal(struct pt_regs *regs)
regs              215 arch/csky/kernel/signal.c 		handle_signal(&ksig, regs);
regs              220 arch/csky/kernel/signal.c 	if (in_syscall(regs)) {
regs              222 arch/csky/kernel/signal.c 		forget_syscall(regs);
regs              225 arch/csky/kernel/signal.c 		switch (regs->a0) {
regs              229 arch/csky/kernel/signal.c 			regs->a0 = regs->orig_a0;
regs              230 arch/csky/kernel/signal.c 			regs->pc -= TRAP0_SIZE;
regs              233 arch/csky/kernel/signal.c 			regs->a0 = regs->orig_a0;
regs              234 arch/csky/kernel/signal.c 			regs_syscallid(regs) = __NR_restart_syscall;
regs              235 arch/csky/kernel/signal.c 			regs->pc -= TRAP0_SIZE;
regs              251 arch/csky/kernel/signal.c asmlinkage void do_notify_resume(struct pt_regs *regs,
regs              256 arch/csky/kernel/signal.c 		do_signal(regs);
regs              260 arch/csky/kernel/signal.c 		tracehook_notify_resume(regs);
regs               79 arch/csky/kernel/traps.c void die_if_kernel(char *str, struct pt_regs *regs, int nr)
regs               81 arch/csky/kernel/traps.c 	if (user_mode(regs))
regs               86 arch/csky/kernel/traps.c 	show_regs(regs);
regs               91 arch/csky/kernel/traps.c void buserr(struct pt_regs *regs)
regs               96 arch/csky/kernel/traps.c 	if ((regs->pc == prev_pc) && prev_pc != 0) {
regs               99 arch/csky/kernel/traps.c 		prev_pc = regs->pc;
regs              104 arch/csky/kernel/traps.c 	die_if_kernel("Kernel mode BUS error", regs, 0);
regs              107 arch/csky/kernel/traps.c 	show_regs(regs);
regs              109 arch/csky/kernel/traps.c 	force_sig_fault(SIGSEGV, 0, (void __user *)regs->pc);
regs              113 arch/csky/kernel/traps.c asmlinkage void trap_c(struct pt_regs *regs)
regs              120 arch/csky/kernel/traps.c 	vector = (regs->sr >> 16) & 0xff;
regs              124 arch/csky/kernel/traps.c 		die_if_kernel("Kernel mode ZERO DIV", regs, vector);
regs              134 arch/csky/kernel/traps.c 		die_if_kernel("Kernel mode ILLEGAL", regs, vector);
regs              136 arch/csky/kernel/traps.c 		if (*(uint16_t *)instruction_pointer(regs) != USR_BKPT)
regs              146 arch/csky/kernel/traps.c 		die_if_kernel("Kernel mode BKPT", regs, vector);
regs              152 arch/csky/kernel/traps.c 		return buserr(regs);
regs              156 arch/csky/kernel/traps.c 		return csky_alignment(regs);
regs              161 arch/csky/kernel/traps.c 		die_if_kernel("Kernel mode FPE", regs, vector);
regs              162 arch/csky/kernel/traps.c 		return fpu_fpe(regs);
regs              165 arch/csky/kernel/traps.c 		die_if_kernel("Kernel mode PRIV", regs, vector);
regs              166 arch/csky/kernel/traps.c 		if (fpu_libc_helper(regs))
regs               27 arch/csky/mm/fault.c int fixup_exception(struct pt_regs *regs)
regs               31 arch/csky/mm/fault.c 	fixup = search_exception_tables(instruction_pointer(regs));
regs               33 arch/csky/mm/fault.c 		regs->pc = fixup->nextinsn;
regs               46 arch/csky/mm/fault.c asmlinkage void do_page_fault(struct pt_regs *regs, unsigned long write,
regs              111 arch/csky/mm/fault.c 	perf_sw_event(PERF_COUNT_SW_PAGE_FAULTS, 1, regs, address);
regs              161 arch/csky/mm/fault.c 		perf_sw_event(PERF_COUNT_SW_PAGE_FAULTS_MAJ, 1, regs,
regs              165 arch/csky/mm/fault.c 		perf_sw_event(PERF_COUNT_SW_PAGE_FAULTS_MIN, 1, regs,
regs              181 arch/csky/mm/fault.c 	if (user_mode(regs)) {
regs              182 arch/csky/mm/fault.c 		tsk->thread.trap_no = (regs->sr >> 16) & 0xff;
regs              188 arch/csky/mm/fault.c 	tsk->thread.trap_no = (regs->sr >> 16) & 0xff;
regs              191 arch/csky/mm/fault.c 	if (fixup_exception(regs))
regs              200 arch/csky/mm/fault.c 		 "address 0x%08lx, pc: 0x%08lx\n", address, regs->pc);
regs              201 arch/csky/mm/fault.c 	die_if_kernel("Oops", regs, write);
regs              204 arch/csky/mm/fault.c 	tsk->thread.trap_no = (regs->sr >> 16) & 0xff;
regs              214 arch/csky/mm/fault.c 	tsk->thread.trap_no = (regs->sr >> 16) & 0xff;
regs              219 arch/csky/mm/fault.c 	if (!user_mode(regs))
regs               23 arch/h8300/include/asm/ptrace.h #define user_mode(regs) (!((regs)->ccr & PS_S))
regs               24 arch/h8300/include/asm/ptrace.h #define instruction_pointer(regs) ((regs)->pc)
regs               25 arch/h8300/include/asm/ptrace.h #define profile_pc(regs) instruction_pointer(regs)
regs               26 arch/h8300/include/asm/ptrace.h #define user_stack_pointer(regs) ((regs)->sp)
regs               14 arch/h8300/include/asm/syscall.h syscall_get_nr(struct task_struct *task, struct pt_regs *regs)
regs               16 arch/h8300/include/asm/syscall.h 	return regs->orig_er0;
regs               20 arch/h8300/include/asm/syscall.h syscall_get_arguments(struct task_struct *task, struct pt_regs *regs,
regs               23 arch/h8300/include/asm/syscall.h 	*args++ = regs->er1;
regs               24 arch/h8300/include/asm/syscall.h 	*args++ = regs->er2;
regs               25 arch/h8300/include/asm/syscall.h 	*args++ = regs->er3;
regs               26 arch/h8300/include/asm/syscall.h 	*args++ = regs->er4;
regs               27 arch/h8300/include/asm/syscall.h 	*args++ = regs->er5;
regs               28 arch/h8300/include/asm/syscall.h 	*args   = regs->er6;
regs               39 arch/h8300/include/asm/syscall.h asmlinkage long do_syscall_trace_enter(struct pt_regs *regs);
regs               40 arch/h8300/include/asm/syscall.h asmlinkage void do_syscall_trace_leave(struct pt_regs *regs);
regs               52 arch/h8300/include/asm/user.h 	struct user_regs_struct regs;	/* Where the registers are actually stored */
regs               35 arch/h8300/kernel/kgdb.c char *dbg_get_reg(int regno, void *mem, struct pt_regs *regs)
regs               45 arch/h8300/kernel/kgdb.c 		*(u32 *)mem = *(u16 *)((void *)regs +
regs               50 arch/h8300/kernel/kgdb.c 			memcpy(mem, (void *)regs + dbg_reg_def[regno].offset,
regs               59 arch/h8300/kernel/kgdb.c int dbg_set_reg(int regno, void *mem, struct pt_regs *regs)
regs               69 arch/h8300/kernel/kgdb.c 		*(u16 *)((void *)regs +
regs               73 arch/h8300/kernel/kgdb.c 		memcpy((void *)regs + dbg_reg_def[regno].offset, mem,
regs               79 arch/h8300/kernel/kgdb.c asmlinkage void h8300_kgdb_trap(struct pt_regs *regs)
regs               81 arch/h8300/kernel/kgdb.c 	regs->pc &= 0x00ffffff;
regs               82 arch/h8300/kernel/kgdb.c 	if (kgdb_handle_exception(10, SIGTRAP, 0, regs))
regs               84 arch/h8300/kernel/kgdb.c 	if (*(u16 *)(regs->pc) == *(u16 *)&arch_kgdb_ops.gdb_bpt_instr)
regs               85 arch/h8300/kernel/kgdb.c 		regs->pc += BREAK_INSTR_SIZE;
regs               86 arch/h8300/kernel/kgdb.c 	regs->pc |= regs->ccr << 24;
regs               96 arch/h8300/kernel/kgdb.c void kgdb_arch_set_pc(struct pt_regs *regs, unsigned long pc)
regs               98 arch/h8300/kernel/kgdb.c 	regs->pc = pc;
regs              103 arch/h8300/kernel/kgdb.c 				struct pt_regs *regs)
regs              114 arch/h8300/kernel/kgdb.c 			regs->pc = addr;
regs               87 arch/h8300/kernel/process.c void show_regs(struct pt_regs *regs)
regs               93 arch/h8300/kernel/process.c 	       regs->pc, regs->ccr);
regs               95 arch/h8300/kernel/process.c 	       regs->orig_er0, regs->er0, regs->er1);
regs               97 arch/h8300/kernel/process.c 	       regs->er2, regs->er3, regs->er4, regs->er5);
regs               98 arch/h8300/kernel/process.c 	pr_notice("ER6' %08lx ", regs->er6);
regs               99 arch/h8300/kernel/process.c 	if (user_mode(regs))
regs               94 arch/h8300/kernel/ptrace.c 	struct user_regs_struct regs;
regs               95 arch/h8300/kernel/ptrace.c 	long *reg = (long *)&regs;
regs               98 arch/h8300/kernel/ptrace.c 	BUILD_BUG_ON(sizeof(regs) % sizeof(long) != 0);
regs               99 arch/h8300/kernel/ptrace.c 	for (r = 0; r < sizeof(regs) / sizeof(long); r++)
regs              103 arch/h8300/kernel/ptrace.c 				   &regs, 0, sizeof(regs));
regs              113 arch/h8300/kernel/ptrace.c 	struct user_regs_struct regs;
regs              117 arch/h8300/kernel/ptrace.c 	BUILD_BUG_ON(sizeof(regs) % sizeof(long) != 0);
regs              118 arch/h8300/kernel/ptrace.c 	for (reg = (long *)&regs, r = 0; r < sizeof(regs) / sizeof(long); r++)
regs              122 arch/h8300/kernel/ptrace.c 				 &regs, 0, sizeof(regs));
regs              127 arch/h8300/kernel/ptrace.c 	for (reg = (long *)&regs, r = 0; r < sizeof(regs) / sizeof(long); r++)
regs              177 arch/h8300/kernel/ptrace.c asmlinkage long do_syscall_trace_enter(struct pt_regs *regs)
regs              182 arch/h8300/kernel/ptrace.c 	    tracehook_report_syscall_entry(regs))
regs              190 arch/h8300/kernel/ptrace.c 	audit_syscall_entry(regs->er1, regs->er2, regs->er3,
regs              191 arch/h8300/kernel/ptrace.c 			    regs->er4, regs->er5);
regs              193 arch/h8300/kernel/ptrace.c 	return ret ?: regs->er0;
regs              196 arch/h8300/kernel/ptrace.c asmlinkage void do_syscall_trace_leave(struct pt_regs *regs)
regs              200 arch/h8300/kernel/ptrace.c 	audit_syscall_exit(regs);
regs              204 arch/h8300/kernel/ptrace.c 		tracehook_report_syscall_exit(regs, step);
regs               76 arch/h8300/kernel/signal.c 	struct pt_regs *regs = current_pt_regs();
regs               86 arch/h8300/kernel/signal.c #define COPY(r)  do { err |= get_user(regs->r, &usc->sc_##r); } while (0)
regs               92 arch/h8300/kernel/signal.c 	ccr = regs->ccr & 0x10;
regs               95 arch/h8300/kernel/signal.c 	regs->ccr &= 0xef;
regs               96 arch/h8300/kernel/signal.c 	regs->ccr |= ccr;
regs               97 arch/h8300/kernel/signal.c 	regs->orig_er0 = -1;		/* disable syscall checks */
regs               99 arch/h8300/kernel/signal.c 	regs->sp = usp;
regs              133 arch/h8300/kernel/signal.c static int setup_sigcontext(struct sigcontext __user *sc, struct pt_regs *regs,
regs              138 arch/h8300/kernel/signal.c 	err |= __put_user(regs->er0, &sc->sc_er0);
regs              139 arch/h8300/kernel/signal.c 	err |= __put_user(regs->er1, &sc->sc_er1);
regs              140 arch/h8300/kernel/signal.c 	err |= __put_user(regs->er2, &sc->sc_er2);
regs              141 arch/h8300/kernel/signal.c 	err |= __put_user(regs->er3, &sc->sc_er3);
regs              142 arch/h8300/kernel/signal.c 	err |= __put_user(regs->er4, &sc->sc_er4);
regs              143 arch/h8300/kernel/signal.c 	err |= __put_user(regs->er5, &sc->sc_er5);
regs              144 arch/h8300/kernel/signal.c 	err |= __put_user(regs->er6, &sc->sc_er6);
regs              146 arch/h8300/kernel/signal.c 	err |= __put_user(regs->pc,  &sc->sc_pc);
regs              147 arch/h8300/kernel/signal.c 	err |= __put_user(regs->ccr, &sc->sc_ccr);
regs              154 arch/h8300/kernel/signal.c get_sigframe(struct ksignal *ksig, struct pt_regs *regs, size_t frame_size)
regs              160 arch/h8300/kernel/signal.c 			  struct pt_regs *regs)
regs              166 arch/h8300/kernel/signal.c 	frame = get_sigframe(ksig, regs, sizeof(*frame));
regs              178 arch/h8300/kernel/signal.c 	err |= setup_sigcontext(&frame->uc.uc_mcontext, regs, set->sig[0]);
regs              200 arch/h8300/kernel/signal.c 	regs->sp  = (unsigned long)frame;
regs              201 arch/h8300/kernel/signal.c 	regs->pc  = (unsigned long)ksig->ka.sa.sa_handler;
regs              202 arch/h8300/kernel/signal.c 	regs->er0 = ksig->sig;
regs              203 arch/h8300/kernel/signal.c 	regs->er1 = (unsigned long)&(frame->info);
regs              204 arch/h8300/kernel/signal.c 	regs->er2 = (unsigned long)&frame->uc;
regs              205 arch/h8300/kernel/signal.c 	regs->er5 = current->mm->start_data;	/* GOT base */
regs              211 arch/h8300/kernel/signal.c handle_restart(struct pt_regs *regs, struct k_sigaction *ka)
regs              213 arch/h8300/kernel/signal.c 	switch (regs->er0) {
regs              217 arch/h8300/kernel/signal.c 		regs->er0 = -EINTR;
regs              221 arch/h8300/kernel/signal.c 			regs->er0 = __NR_restart_syscall;
regs              222 arch/h8300/kernel/signal.c 			regs->pc -= 2;
regs              224 arch/h8300/kernel/signal.c 			regs->er0 = -EINTR;
regs              228 arch/h8300/kernel/signal.c 			regs->er0 = -EINTR;
regs              234 arch/h8300/kernel/signal.c 		regs->er0 = regs->orig_er0;
regs              235 arch/h8300/kernel/signal.c 		regs->pc -= 2;
regs              244 arch/h8300/kernel/signal.c handle_signal(struct ksignal *ksig, struct pt_regs *regs)
regs              249 arch/h8300/kernel/signal.c 	if (regs->orig_er0 >= 0)
regs              250 arch/h8300/kernel/signal.c 		handle_restart(regs, &ksig->ka);
regs              252 arch/h8300/kernel/signal.c 	ret = setup_rt_frame(ksig, oldset, regs);
regs              262 arch/h8300/kernel/signal.c static void do_signal(struct pt_regs *regs)
regs              266 arch/h8300/kernel/signal.c 	current->thread.esp0 = (unsigned long) regs;
regs              270 arch/h8300/kernel/signal.c 		handle_signal(&ksig, regs);
regs              274 arch/h8300/kernel/signal.c 	if (regs->orig_er0 >= 0)
regs              275 arch/h8300/kernel/signal.c 		handle_restart(regs, NULL);
regs              281 arch/h8300/kernel/signal.c asmlinkage void do_notify_resume(struct pt_regs *regs, u32 thread_info_flags)
regs              284 arch/h8300/kernel/signal.c 		do_signal(regs);
regs              288 arch/h8300/kernel/signal.c 		tracehook_notify_resume(regs);
regs               36 arch/h8300/mm/fault.c asmlinkage int do_page_fault(struct pt_regs *regs, unsigned long address,
regs               41 arch/h8300/mm/fault.c 		 regs->sr, regs->pc, address, error_code);
regs               53 arch/h8300/mm/fault.c 	if (!user_mode(regs))
regs               54 arch/h8300/mm/fault.c 		die("Oops", regs, error_code);
regs              182 arch/hexagon/include/asm/elf.h #define ELF_PLAT_INIT(regs, load_addr) do { } while (0)
regs               24 arch/hexagon/include/asm/syscall.h 				  struct pt_regs *regs)
regs               26 arch/hexagon/include/asm/syscall.h 	return regs->r06;
regs               30 arch/hexagon/include/asm/syscall.h 					 struct pt_regs *regs,
regs               33 arch/hexagon/include/asm/syscall.h 	memcpy(args, &(&regs->r00)[0], 6 * sizeof(args[0]));
regs               37 arch/hexagon/include/asm/syscall.h 				     struct pt_regs *regs)
regs               39 arch/hexagon/include/asm/syscall.h 	return IS_ERR_VALUE(regs->r00) ? regs->r00 : 0;
regs               43 arch/hexagon/include/asm/syscall.h 					    struct pt_regs *regs)
regs               45 arch/hexagon/include/asm/syscall.h 	return regs->r00;
regs               46 arch/hexagon/include/asm/thread_info.h 	struct pt_regs		*regs;
regs               71 arch/hexagon/include/asm/thread_info.h 	.regs = NULL,			\
regs               13 arch/hexagon/include/asm/traps.h extern int die(const char *str, struct pt_regs *regs, long err);
regs               14 arch/hexagon/include/asm/traps.h extern int die_if_kernel(char *str, struct pt_regs *regs, long err);
regs               27 arch/hexagon/include/uapi/asm/ptrace.h #define instruction_pointer(regs) pt_elr(regs)
regs               28 arch/hexagon/include/uapi/asm/ptrace.h #define user_stack_pointer(regs) ((regs)->r29)
regs               30 arch/hexagon/include/uapi/asm/ptrace.h #define profile_pc(regs) instruction_pointer(regs)
regs              203 arch/hexagon/include/uapi/asm/registers.h #define pt_elr(regs) ((regs)->hvmer.vmel)
regs              204 arch/hexagon/include/uapi/asm/registers.h #define pt_set_elr(regs, val) ((regs)->hvmer.vmel = (val))
regs              205 arch/hexagon/include/uapi/asm/registers.h #define pt_cause(regs) ((regs)->hvmer.vmest & (HVM_VMEST_CAUSE_MSK))
regs              206 arch/hexagon/include/uapi/asm/registers.h #define user_mode(regs) \
regs              207 arch/hexagon/include/uapi/asm/registers.h 	(((regs)->hvmer.vmest & (HVM_VMEST_UM_MSK << HVM_VMEST_UM_SFT)) != 0)
regs              208 arch/hexagon/include/uapi/asm/registers.h #define ints_enabled(regs) \
regs              209 arch/hexagon/include/uapi/asm/registers.h 	(((regs)->hvmer.vmest & (HVM_VMEST_IE_MSK << HVM_VMEST_IE_SFT)) != 0)
regs              210 arch/hexagon/include/uapi/asm/registers.h #define pt_psp(regs) ((regs)->hvmer.vmpsp)
regs              211 arch/hexagon/include/uapi/asm/registers.h #define pt_badva(regs) ((regs)->hvmer.vmbadva)
regs              213 arch/hexagon/include/uapi/asm/registers.h #define pt_set_singlestep(regs) ((regs)->hvmer.vmest |= (1<<HVM_VMEST_SS_SFT))
regs              214 arch/hexagon/include/uapi/asm/registers.h #define pt_clr_singlestep(regs) ((regs)->hvmer.vmest &= ~(1<<HVM_VMEST_SS_SFT))
regs              216 arch/hexagon/include/uapi/asm/registers.h #define pt_set_rte_sp(regs, sp) do {\
regs              217 arch/hexagon/include/uapi/asm/registers.h 	pt_psp(regs) = (regs)->r29 = (sp);\
regs              220 arch/hexagon/include/uapi/asm/registers.h #define pt_set_kmode(regs) \
regs              221 arch/hexagon/include/uapi/asm/registers.h 	(regs)->hvmer.vmest = (HVM_VMEST_IE_MSK << HVM_VMEST_IE_SFT)
regs              223 arch/hexagon/include/uapi/asm/registers.h #define pt_set_usermode(regs) \
regs              224 arch/hexagon/include/uapi/asm/registers.h 	(regs)->hvmer.vmest = (HVM_VMEST_UM_MSK << HVM_VMEST_UM_SFT) \
regs               25 arch/hexagon/include/uapi/asm/signal.h void do_signal(struct pt_regs *regs);
regs               65 arch/hexagon/kernel/asm-offsets.c 	OFFSET(_THREAD_INFO_PT_REGS, thread_info, regs);
regs               78 arch/hexagon/kernel/kgdb.c char *dbg_get_reg(int regno, void *mem, struct pt_regs *regs)
regs               83 arch/hexagon/kernel/kgdb.c 	*((unsigned long *) mem) = *((unsigned long *) ((void *)regs +
regs               89 arch/hexagon/kernel/kgdb.c int dbg_set_reg(int regno, void *mem, struct pt_regs *regs)
regs               94 arch/hexagon/kernel/kgdb.c 	*((unsigned long *) ((void *)regs + dbg_reg_def[regno].offset)) =
regs              100 arch/hexagon/kernel/kgdb.c void kgdb_arch_set_pc(struct pt_regs *regs, unsigned long pc)
regs              102 arch/hexagon/kernel/kgdb.c 	instruction_pointer(regs) = pc;
regs              158 arch/hexagon/kernel/kgdb.c 		kgdb_nmicallback(smp_processor_id(), args->regs);
regs              162 arch/hexagon/kernel/kgdb.c 	if (user_mode(args->regs))
regs              166 arch/hexagon/kernel/kgdb.c 				    args->regs))
regs               28 arch/hexagon/kernel/process.c void start_thread(struct pt_regs *regs, unsigned long pc, unsigned long sp)
regs               31 arch/hexagon/kernel/process.c 	memset(regs, 0, sizeof(*regs));
regs               33 arch/hexagon/kernel/process.c 	pt_set_usermode(regs);
regs               34 arch/hexagon/kernel/process.c 	pt_set_elr(regs, pc);
regs               35 arch/hexagon/kernel/process.c 	pt_set_rte_sp(regs, sp);
regs               64 arch/hexagon/kernel/process.c 	ti->regs = childregs;
regs              159 arch/hexagon/kernel/process.c int dump_fpu(struct pt_regs *regs, elf_fpregset_t *fpu)
regs              173 arch/hexagon/kernel/process.c int do_work_pending(struct pt_regs *regs, u32 thread_info_flags)
regs              187 arch/hexagon/kernel/process.c 		do_signal(regs);
regs              193 arch/hexagon/kernel/process.c 		tracehook_notify_resume(regs);
regs               43 arch/hexagon/kernel/ptrace.c 	struct pt_regs *regs = task_pt_regs(target);
regs               46 arch/hexagon/kernel/ptrace.c 	if (!regs)
regs               56 arch/hexagon/kernel/ptrace.c 				  &regs->r00, 0, 32*sizeof(unsigned long));
regs               66 arch/hexagon/kernel/ptrace.c 	ONEXT(&regs->sa0, sa0);
regs               67 arch/hexagon/kernel/ptrace.c 	ONEXT(&regs->lc0, lc0);
regs               68 arch/hexagon/kernel/ptrace.c 	ONEXT(&regs->sa1, sa1);
regs               69 arch/hexagon/kernel/ptrace.c 	ONEXT(&regs->lc1, lc1);
regs               70 arch/hexagon/kernel/ptrace.c 	ONEXT(&regs->m0, m0);
regs               71 arch/hexagon/kernel/ptrace.c 	ONEXT(&regs->m1, m1);
regs               72 arch/hexagon/kernel/ptrace.c 	ONEXT(&regs->usr, usr);
regs               73 arch/hexagon/kernel/ptrace.c 	ONEXT(&regs->preds, p3_0);
regs               74 arch/hexagon/kernel/ptrace.c 	ONEXT(&regs->gp, gp);
regs               75 arch/hexagon/kernel/ptrace.c 	ONEXT(&regs->ugp, ugp);
regs               76 arch/hexagon/kernel/ptrace.c 	ONEXT(&pt_elr(regs), pc);
regs               77 arch/hexagon/kernel/ptrace.c 	dummy = pt_cause(regs);
regs               79 arch/hexagon/kernel/ptrace.c 	ONEXT(&pt_badva(regs), badva);
regs               81 arch/hexagon/kernel/ptrace.c 	ONEXT(&regs->cs0, cs0);
regs               82 arch/hexagon/kernel/ptrace.c 	ONEXT(&regs->cs1, cs1);
regs               99 arch/hexagon/kernel/ptrace.c 	struct pt_regs *regs = task_pt_regs(target);
regs              101 arch/hexagon/kernel/ptrace.c 	if (!regs)
regs              105 arch/hexagon/kernel/ptrace.c 				 &regs->r00, 0, 32*sizeof(unsigned long));
regs              115 arch/hexagon/kernel/ptrace.c 	INEXT(&regs->sa0, sa0);
regs              116 arch/hexagon/kernel/ptrace.c 	INEXT(&regs->lc0, lc0);
regs              117 arch/hexagon/kernel/ptrace.c 	INEXT(&regs->sa1, sa1);
regs              118 arch/hexagon/kernel/ptrace.c 	INEXT(&regs->lc1, lc1);
regs              119 arch/hexagon/kernel/ptrace.c 	INEXT(&regs->m0, m0);
regs              120 arch/hexagon/kernel/ptrace.c 	INEXT(&regs->m1, m1);
regs              121 arch/hexagon/kernel/ptrace.c 	INEXT(&regs->usr, usr);
regs              122 arch/hexagon/kernel/ptrace.c 	INEXT(&regs->preds, p3_0);
regs              123 arch/hexagon/kernel/ptrace.c 	INEXT(&regs->gp, gp);
regs              124 arch/hexagon/kernel/ptrace.c 	INEXT(&regs->ugp, ugp);
regs              125 arch/hexagon/kernel/ptrace.c 	INEXT(&pt_elr(regs), pc);
regs              132 arch/hexagon/kernel/ptrace.c 	INEXT(&regs->cs0, cs0);
regs              133 arch/hexagon/kernel/ptrace.c 	INEXT(&regs->cs1, cs1);
regs              148 arch/hexagon/kernel/ptrace.c 	regs->hvmer.vmpsp = regs->r29;
regs               28 arch/hexagon/kernel/signal.c static void __user *get_sigframe(struct ksignal *ksig, struct pt_regs *regs,
regs               31 arch/hexagon/kernel/signal.c 	unsigned long sp = sigsp(regs->r29, ksig);
regs               36 arch/hexagon/kernel/signal.c static int setup_sigcontext(struct pt_regs *regs, struct sigcontext __user *sc)
regs               41 arch/hexagon/kernel/signal.c 	err |= copy_to_user(&sc->sc_regs.r0, &regs->r00,
regs               44 arch/hexagon/kernel/signal.c 	err |= __put_user(regs->sa0, &sc->sc_regs.sa0);
regs               45 arch/hexagon/kernel/signal.c 	err |= __put_user(regs->lc0, &sc->sc_regs.lc0);
regs               46 arch/hexagon/kernel/signal.c 	err |= __put_user(regs->sa1, &sc->sc_regs.sa1);
regs               47 arch/hexagon/kernel/signal.c 	err |= __put_user(regs->lc1, &sc->sc_regs.lc1);
regs               48 arch/hexagon/kernel/signal.c 	err |= __put_user(regs->m0, &sc->sc_regs.m0);
regs               49 arch/hexagon/kernel/signal.c 	err |= __put_user(regs->m1, &sc->sc_regs.m1);
regs               50 arch/hexagon/kernel/signal.c 	err |= __put_user(regs->usr, &sc->sc_regs.usr);
regs               51 arch/hexagon/kernel/signal.c 	err |= __put_user(regs->preds, &sc->sc_regs.p3_0);
regs               52 arch/hexagon/kernel/signal.c 	err |= __put_user(regs->gp, &sc->sc_regs.gp);
regs               53 arch/hexagon/kernel/signal.c 	err |= __put_user(regs->ugp, &sc->sc_regs.ugp);
regs               55 arch/hexagon/kernel/signal.c 	err |= __put_user(regs->cs0, &sc->sc_regs.cs0);
regs               56 arch/hexagon/kernel/signal.c 	err |= __put_user(regs->cs1, &sc->sc_regs.cs1);
regs               58 arch/hexagon/kernel/signal.c 	tmp = pt_elr(regs); err |= __put_user(tmp, &sc->sc_regs.pc);
regs               59 arch/hexagon/kernel/signal.c 	tmp = pt_cause(regs); err |= __put_user(tmp, &sc->sc_regs.cause);
regs               60 arch/hexagon/kernel/signal.c 	tmp = pt_badva(regs); err |= __put_user(tmp, &sc->sc_regs.badva);
regs               65 arch/hexagon/kernel/signal.c static int restore_sigcontext(struct pt_regs *regs,
regs               71 arch/hexagon/kernel/signal.c 	err |= copy_from_user(&regs->r00, &sc->sc_regs.r0,
regs               74 arch/hexagon/kernel/signal.c 	err |= __get_user(regs->sa0, &sc->sc_regs.sa0);
regs               75 arch/hexagon/kernel/signal.c 	err |= __get_user(regs->lc0, &sc->sc_regs.lc0);
regs               76 arch/hexagon/kernel/signal.c 	err |= __get_user(regs->sa1, &sc->sc_regs.sa1);
regs               77 arch/hexagon/kernel/signal.c 	err |= __get_user(regs->lc1, &sc->sc_regs.lc1);
regs               78 arch/hexagon/kernel/signal.c 	err |= __get_user(regs->m0, &sc->sc_regs.m0);
regs               79 arch/hexagon/kernel/signal.c 	err |= __get_user(regs->m1, &sc->sc_regs.m1);
regs               80 arch/hexagon/kernel/signal.c 	err |= __get_user(regs->usr, &sc->sc_regs.usr);
regs               81 arch/hexagon/kernel/signal.c 	err |= __get_user(regs->preds, &sc->sc_regs.p3_0);
regs               82 arch/hexagon/kernel/signal.c 	err |= __get_user(regs->gp, &sc->sc_regs.gp);
regs               83 arch/hexagon/kernel/signal.c 	err |= __get_user(regs->ugp, &sc->sc_regs.ugp);
regs               85 arch/hexagon/kernel/signal.c 	err |= __get_user(regs->cs0, &sc->sc_regs.cs0);
regs               86 arch/hexagon/kernel/signal.c 	err |= __get_user(regs->cs1, &sc->sc_regs.cs1);
regs               88 arch/hexagon/kernel/signal.c 	err |= __get_user(tmp, &sc->sc_regs.pc); pt_set_elr(regs, tmp);
regs               97 arch/hexagon/kernel/signal.c 			  struct pt_regs *regs)
regs              103 arch/hexagon/kernel/signal.c 	frame = get_sigframe(ksig, regs, sizeof(struct rt_sigframe));
regs              117 arch/hexagon/kernel/signal.c 	err |= setup_sigcontext(regs, &frame->uc.uc_mcontext);
regs              119 arch/hexagon/kernel/signal.c 	err |= __save_altstack(&frame->uc.uc_stack, user_stack_pointer(regs));
regs              124 arch/hexagon/kernel/signal.c 	regs->r0100 = ((unsigned long long)((unsigned long)&frame->info) << 32)
regs              126 arch/hexagon/kernel/signal.c 	regs->r02 = (unsigned long) &frame->uc;
regs              127 arch/hexagon/kernel/signal.c 	regs->r31 = (unsigned long) vdso->rt_signal_trampoline;
regs              128 arch/hexagon/kernel/signal.c 	pt_psp(regs) = (unsigned long) frame;
regs              129 arch/hexagon/kernel/signal.c 	pt_set_elr(regs, (unsigned long)ksig->ka.sa.sa_handler);
regs              137 arch/hexagon/kernel/signal.c static void handle_signal(struct ksignal *ksig, struct pt_regs *regs)
regs              147 arch/hexagon/kernel/signal.c 	if (regs->syscall_nr >= 0) {
regs              148 arch/hexagon/kernel/signal.c 		switch (regs->r00) {
regs              151 arch/hexagon/kernel/signal.c 			regs->r00 = -EINTR;
regs              155 arch/hexagon/kernel/signal.c 				regs->r00 = -EINTR;
regs              160 arch/hexagon/kernel/signal.c 			regs->r06 = regs->syscall_nr;
regs              161 arch/hexagon/kernel/signal.c 			pt_set_elr(regs, pt_elr(regs) - 4);
regs              162 arch/hexagon/kernel/signal.c 			regs->r00 = regs->restart_r0;
regs              174 arch/hexagon/kernel/signal.c 	ret = setup_rt_frame(ksig, sigmask_to_save(), regs);
regs              182 arch/hexagon/kernel/signal.c void do_signal(struct pt_regs *regs)
regs              186 arch/hexagon/kernel/signal.c 	if (!user_mode(regs))
regs              190 arch/hexagon/kernel/signal.c 		handle_signal(&ksig, regs);
regs              198 arch/hexagon/kernel/signal.c 	if (regs->syscall_nr >= 0) {
regs              199 arch/hexagon/kernel/signal.c 		switch (regs->r00) {
regs              203 arch/hexagon/kernel/signal.c 			regs->r06 = regs->syscall_nr;
regs              206 arch/hexagon/kernel/signal.c 			regs->r06 = __NR_restart_syscall;
regs              211 arch/hexagon/kernel/signal.c 		pt_set_elr(regs, pt_elr(regs) - 4);
regs              212 arch/hexagon/kernel/signal.c 		regs->r00 = regs->restart_r0;
regs              226 arch/hexagon/kernel/signal.c 	struct pt_regs *regs = current_pt_regs();
regs              233 arch/hexagon/kernel/signal.c 	frame = (struct rt_sigframe __user *)pt_psp(regs);
regs              241 arch/hexagon/kernel/signal.c 	if (restore_sigcontext(regs, &frame->uc.uc_mcontext))
regs              245 arch/hexagon/kernel/signal.c 	pt_psp(regs) = regs->r29;
regs              247 arch/hexagon/kernel/signal.c 	regs->syscall_nr = -1;
regs              252 arch/hexagon/kernel/signal.c 	return regs->r00;
regs              146 arch/hexagon/kernel/traps.c 			struct pt_regs *regs = (struct pt_regs *) (((void *)fp)
regs              149 arch/hexagon/kernel/traps.c 			if (regs->syscall_nr != -1) {
regs              151 arch/hexagon/kernel/traps.c 					regs->syscall_nr);
regs              153 arch/hexagon/kernel/traps.c 					 pt_psp(regs), pt_elr(regs));
regs              159 arch/hexagon/kernel/traps.c 					ex_name(pt_cause(regs)), pt_cause(regs),
regs              160 arch/hexagon/kernel/traps.c 					pt_badva(regs));
regs              163 arch/hexagon/kernel/traps.c 			newfp = (unsigned long *) regs->r30;
regs              164 arch/hexagon/kernel/traps.c 			ip = pt_elr(regs);
regs              187 arch/hexagon/kernel/traps.c int die(const char *str, struct pt_regs *regs, long err)
regs              204 arch/hexagon/kernel/traps.c 	if (notify_die(DIE_OOPS, str, regs, err, pt_cause(regs), SIGSEGV) ==
regs              209 arch/hexagon/kernel/traps.c 	show_regs(regs);
regs              210 arch/hexagon/kernel/traps.c 	do_show_stack(current, &regs->r30, pt_elr(regs));
regs              228 arch/hexagon/kernel/traps.c int die_if_kernel(char *str, struct pt_regs *regs, long err)
regs              230 arch/hexagon/kernel/traps.c 	if (!user_mode(regs))
regs              231 arch/hexagon/kernel/traps.c 		return die(str, regs, err);
regs              239 arch/hexagon/kernel/traps.c static void misaligned_instruction(struct pt_regs *regs)
regs              241 arch/hexagon/kernel/traps.c 	die_if_kernel("Misaligned Instruction", regs, 0);
regs              250 arch/hexagon/kernel/traps.c static void misaligned_data_load(struct pt_regs *regs)
regs              252 arch/hexagon/kernel/traps.c 	die_if_kernel("Misaligned Data Load", regs, 0);
regs              256 arch/hexagon/kernel/traps.c static void misaligned_data_store(struct pt_regs *regs)
regs              258 arch/hexagon/kernel/traps.c 	die_if_kernel("Misaligned Data Store", regs, 0);
regs              262 arch/hexagon/kernel/traps.c static void illegal_instruction(struct pt_regs *regs)
regs              264 arch/hexagon/kernel/traps.c 	die_if_kernel("Illegal Instruction", regs, 0);
regs              272 arch/hexagon/kernel/traps.c static void precise_bus_error(struct pt_regs *regs)
regs              274 arch/hexagon/kernel/traps.c 	die_if_kernel("Precise Bus Error", regs, 0);
regs              283 arch/hexagon/kernel/traps.c static void cache_error(struct pt_regs *regs)
regs              285 arch/hexagon/kernel/traps.c 	die("Cache Error", regs, 0);
regs              291 arch/hexagon/kernel/traps.c void do_genex(struct pt_regs *regs)
regs              296 arch/hexagon/kernel/traps.c 	switch (pt_cause(regs)) {
regs              299 arch/hexagon/kernel/traps.c 		execute_protection_fault(regs);
regs              303 arch/hexagon/kernel/traps.c 		read_protection_fault(regs);
regs              307 arch/hexagon/kernel/traps.c 		write_protection_fault(regs);
regs              310 arch/hexagon/kernel/traps.c 		misaligned_instruction(regs);
regs              313 arch/hexagon/kernel/traps.c 		illegal_instruction(regs);
regs              316 arch/hexagon/kernel/traps.c 		misaligned_instruction(regs);
regs              319 arch/hexagon/kernel/traps.c 		misaligned_data_load(regs);
regs              322 arch/hexagon/kernel/traps.c 		misaligned_data_store(regs);
regs              326 arch/hexagon/kernel/traps.c 		illegal_instruction(regs);
regs              329 arch/hexagon/kernel/traps.c 		precise_bus_error(regs);
regs              332 arch/hexagon/kernel/traps.c 		cache_error(regs);
regs              336 arch/hexagon/kernel/traps.c 		panic("Unrecognized exception 0x%lx\n", pt_cause(regs));
regs              348 arch/hexagon/kernel/traps.c void do_trap0(struct pt_regs *regs)
regs              352 arch/hexagon/kernel/traps.c 	switch (pt_cause(regs)) {
regs              358 arch/hexagon/kernel/traps.c 			tracehook_report_syscall_entry(regs)))
regs              374 arch/hexagon/kernel/traps.c 		regs->syscall_nr = regs->r06;
regs              382 arch/hexagon/kernel/traps.c 		regs->restart_r0 = regs->r00;
regs              384 arch/hexagon/kernel/traps.c 		if ((unsigned long) regs->syscall_nr >= __NR_syscalls) {
regs              385 arch/hexagon/kernel/traps.c 			regs->r00 = -1;
regs              388 arch/hexagon/kernel/traps.c 				  (sys_call_table[regs->syscall_nr]);
regs              389 arch/hexagon/kernel/traps.c 			regs->r00 = syscall(regs->r00, regs->r01,
regs              390 arch/hexagon/kernel/traps.c 				   regs->r02, regs->r03,
regs              391 arch/hexagon/kernel/traps.c 				   regs->r04, regs->r05);
regs              396 arch/hexagon/kernel/traps.c 			tracehook_report_syscall_exit(regs, 0);
regs              401 arch/hexagon/kernel/traps.c 		if (user_mode(regs)) {
regs              410 arch/hexagon/kernel/traps.c 					(void __user *) pt_elr(regs));
regs              413 arch/hexagon/kernel/traps.c 			kgdb_handle_exception(pt_cause(regs), SIGTRAP,
regs              414 arch/hexagon/kernel/traps.c 					      TRAP_BRKPT, regs);
regs              425 arch/hexagon/kernel/traps.c void do_machcheck(struct pt_regs *regs)
regs              435 arch/hexagon/kernel/traps.c void do_debug_exception(struct pt_regs *regs)
regs              437 arch/hexagon/kernel/traps.c 	regs->hvmer.vmest &= ~HVM_VMEST_CAUSE_MSK;
regs              438 arch/hexagon/kernel/traps.c 	regs->hvmer.vmest |= (TRAP_DEBUG << HVM_VMEST_CAUSE_SFT);
regs              439 arch/hexagon/kernel/traps.c 	do_trap0(regs);
regs               22 arch/hexagon/kernel/vm_events.c void show_regs(struct pt_regs *regs)
regs               27 arch/hexagon/kernel/vm_events.c 	       regs->restart_r0, regs->syscall_nr);
regs               28 arch/hexagon/kernel/vm_events.c 	printk(KERN_EMERG "preds: \t\t0x%08lx\n", regs->preds);
regs               30 arch/hexagon/kernel/vm_events.c 	       regs->lc0, regs->sa0, regs->m0);
regs               32 arch/hexagon/kernel/vm_events.c 	       regs->lc1, regs->sa1, regs->m1);
regs               34 arch/hexagon/kernel/vm_events.c 	       regs->gp, regs->ugp, regs->usr);
regs               36 arch/hexagon/kernel/vm_events.c 	       regs->cs0, regs->cs1);
regs               37 arch/hexagon/kernel/vm_events.c 	printk(KERN_EMERG "r0: \t0x%08lx %08lx %08lx %08lx\n", regs->r00,
regs               38 arch/hexagon/kernel/vm_events.c 		regs->r01,
regs               39 arch/hexagon/kernel/vm_events.c 		regs->r02,
regs               40 arch/hexagon/kernel/vm_events.c 		regs->r03);
regs               41 arch/hexagon/kernel/vm_events.c 	printk(KERN_EMERG "r4:  \t0x%08lx %08lx %08lx %08lx\n", regs->r04,
regs               42 arch/hexagon/kernel/vm_events.c 		regs->r05,
regs               43 arch/hexagon/kernel/vm_events.c 		regs->r06,
regs               44 arch/hexagon/kernel/vm_events.c 		regs->r07);
regs               45 arch/hexagon/kernel/vm_events.c 	printk(KERN_EMERG "r8:  \t0x%08lx %08lx %08lx %08lx\n", regs->r08,
regs               46 arch/hexagon/kernel/vm_events.c 		regs->r09,
regs               47 arch/hexagon/kernel/vm_events.c 		regs->r10,
regs               48 arch/hexagon/kernel/vm_events.c 		regs->r11);
regs               49 arch/hexagon/kernel/vm_events.c 	printk(KERN_EMERG "r12: \t0x%08lx %08lx %08lx %08lx\n", regs->r12,
regs               50 arch/hexagon/kernel/vm_events.c 		regs->r13,
regs               51 arch/hexagon/kernel/vm_events.c 		regs->r14,
regs               52 arch/hexagon/kernel/vm_events.c 		regs->r15);
regs               53 arch/hexagon/kernel/vm_events.c 	printk(KERN_EMERG "r16: \t0x%08lx %08lx %08lx %08lx\n", regs->r16,
regs               54 arch/hexagon/kernel/vm_events.c 		regs->r17,
regs               55 arch/hexagon/kernel/vm_events.c 		regs->r18,
regs               56 arch/hexagon/kernel/vm_events.c 		regs->r19);
regs               57 arch/hexagon/kernel/vm_events.c 	printk(KERN_EMERG "r20: \t0x%08lx %08lx %08lx %08lx\n", regs->r20,
regs               58 arch/hexagon/kernel/vm_events.c 		regs->r21,
regs               59 arch/hexagon/kernel/vm_events.c 		regs->r22,
regs               60 arch/hexagon/kernel/vm_events.c 		regs->r23);
regs               61 arch/hexagon/kernel/vm_events.c 	printk(KERN_EMERG "r24: \t0x%08lx %08lx %08lx %08lx\n", regs->r24,
regs               62 arch/hexagon/kernel/vm_events.c 		regs->r25,
regs               63 arch/hexagon/kernel/vm_events.c 		regs->r26,
regs               64 arch/hexagon/kernel/vm_events.c 		regs->r27);
regs               65 arch/hexagon/kernel/vm_events.c 	printk(KERN_EMERG "r28: \t0x%08lx %08lx %08lx %08lx\n", regs->r28,
regs               66 arch/hexagon/kernel/vm_events.c 		regs->r29,
regs               67 arch/hexagon/kernel/vm_events.c 		regs->r30,
regs               68 arch/hexagon/kernel/vm_events.c 		regs->r31);
regs               71 arch/hexagon/kernel/vm_events.c 		pt_elr(regs), pt_cause(regs), user_mode(regs));
regs               73 arch/hexagon/kernel/vm_events.c 		pt_psp(regs), pt_badva(regs), ints_enabled(regs));
regs               76 arch/hexagon/kernel/vm_events.c void dummy_handler(struct pt_regs *regs)
regs               78 arch/hexagon/kernel/vm_events.c 	unsigned int elr = pt_elr(regs);
regs               83 arch/hexagon/kernel/vm_events.c void arch_do_IRQ(struct pt_regs *regs)
regs               85 arch/hexagon/kernel/vm_events.c 	int irq = pt_cause(regs);
regs               86 arch/hexagon/kernel/vm_events.c 	struct pt_regs *old_regs = set_irq_regs(regs);
regs               36 arch/hexagon/mm/vm_fault.c void do_page_fault(unsigned long address, long cause, struct pt_regs *regs)
regs               55 arch/hexagon/mm/vm_fault.c 	if (user_mode(regs))
regs              118 arch/hexagon/mm/vm_fault.c 	if (!user_mode(regs))
regs              144 arch/hexagon/mm/vm_fault.c 	if (user_mode(regs)) {
regs              151 arch/hexagon/mm/vm_fault.c 	fixup = search_exception_tables(pt_elr(regs));
regs              153 arch/hexagon/mm/vm_fault.c 		pt_set_elr(regs, fixup->fixup);
regs              160 arch/hexagon/mm/vm_fault.c 		"virtual address 0x%08lx, regs %p\n", address, regs);
regs              161 arch/hexagon/mm/vm_fault.c 	die("Bad Kernel VA", regs, SIGKILL);
regs              165 arch/hexagon/mm/vm_fault.c void read_protection_fault(struct pt_regs *regs)
regs              167 arch/hexagon/mm/vm_fault.c 	unsigned long badvadr = pt_badva(regs);
regs              169 arch/hexagon/mm/vm_fault.c 	do_page_fault(badvadr, FLT_LOAD, regs);
regs              172 arch/hexagon/mm/vm_fault.c void write_protection_fault(struct pt_regs *regs)
regs              174 arch/hexagon/mm/vm_fault.c 	unsigned long badvadr = pt_badva(regs);
regs              176 arch/hexagon/mm/vm_fault.c 	do_page_fault(badvadr, FLT_STORE, regs);
regs              179 arch/hexagon/mm/vm_fault.c void execute_protection_fault(struct pt_regs *regs)
regs              181 arch/hexagon/mm/vm_fault.c 	unsigned long badvadr = pt_badva(regs);
regs              183 arch/hexagon/mm/vm_fault.c 	do_page_fault(badvadr, FLT_IFETCH, regs);
regs                8 arch/ia64/include/asm/exception.h extern void ia64_handle_exception(struct pt_regs *regs,
regs               11 arch/ia64/include/asm/exception.h #define ia64_done_with_exception(regs)					  \
regs               15 arch/ia64/include/asm/exception.h 	e = search_exception_tables((regs)->cr_iip + ia64_psr(regs)->ri); \
regs               17 arch/ia64/include/asm/exception.h 		ia64_handle_exception(regs, e);				  \
regs              109 arch/ia64/include/asm/kprobes.h extern int kprobe_fault_handler(struct pt_regs *regs, int trapnr);
regs               15 arch/ia64/include/asm/perfmon.h 	void (*handler)(int irq, void *arg, struct pt_regs *regs);
regs               25 arch/ia64/include/asm/perfmon.h extern void pfm_inherit(struct task_struct *task, struct pt_regs *regs);
regs               73 arch/ia64/include/asm/perfmon.h 	int		(*fmt_handler)(struct task_struct *task, void *buf, pfm_ovfl_arg_t *arg, struct pt_regs *regs, unsigned long stamp);
regs               74 arch/ia64/include/asm/perfmon.h 	int		(*fmt_restart)(struct task_struct *task, pfm_ovfl_ctrl_t *ctrl, void *buf, struct pt_regs *regs);
regs               75 arch/ia64/include/asm/perfmon.h 	int		(*fmt_restart_active)(struct task_struct *task, pfm_ovfl_ctrl_t *ctrl, void *buf, struct pt_regs *regs);
regs               76 arch/ia64/include/asm/perfmon.h 	int		(*fmt_exit)(struct task_struct *task, void *buf, struct pt_regs *regs);
regs               87 arch/ia64/include/asm/perfmon.h extern int pfm_mod_read_pmds(struct task_struct *, void *req, unsigned int nreq, struct pt_regs *regs);
regs               88 arch/ia64/include/asm/perfmon.h extern int pfm_mod_write_pmcs(struct task_struct *, void *req, unsigned int nreq, struct pt_regs *regs);
regs               89 arch/ia64/include/asm/perfmon.h extern int pfm_mod_write_ibrs(struct task_struct *task, void *req, unsigned int nreq, struct pt_regs *regs);
regs               90 arch/ia64/include/asm/perfmon.h extern int pfm_mod_write_dbrs(struct task_struct *task, void *req, unsigned int nreq, struct pt_regs *regs);
regs              310 arch/ia64/include/asm/processor.h #define start_thread(regs,new_ip,new_sp) do {							\
regs              311 arch/ia64/include/asm/processor.h 	regs->cr_ipsr = ((regs->cr_ipsr | (IA64_PSR_BITS_TO_SET | IA64_PSR_CPL))		\
regs              313 arch/ia64/include/asm/processor.h 	regs->cr_iip = new_ip;									\
regs              314 arch/ia64/include/asm/processor.h 	regs->ar_rsc = 0xf;		/* eager mode, privilege level 3 */			\
regs              315 arch/ia64/include/asm/processor.h 	regs->ar_rnat = 0;									\
regs              316 arch/ia64/include/asm/processor.h 	regs->ar_bspstore = current->thread.rbs_bot;						\
regs              317 arch/ia64/include/asm/processor.h 	regs->ar_fpsr = FPSR_DEFAULT;								\
regs              318 arch/ia64/include/asm/processor.h 	regs->loadrs = 0;									\
regs              319 arch/ia64/include/asm/processor.h 	regs->r8 = get_dumpable(current->mm);	/* set "don't zap registers" flag */		\
regs              320 arch/ia64/include/asm/processor.h 	regs->r12 = new_sp - 16;	/* allocate 16 byte scratch area */			\
regs              326 arch/ia64/include/asm/processor.h 		regs->ar_pfs = 0; regs->b0 = 0; regs->pr = 0;					\
regs              327 arch/ia64/include/asm/processor.h 		regs->r1 = 0; regs->r9  = 0; regs->r11 = 0; regs->r13 = 0; regs->r15 = 0;	\
regs               53 arch/ia64/include/asm/ptrace.h # define instruction_pointer(regs) ((regs)->cr_iip + ia64_psr(regs)->ri)
regs               55 arch/ia64/include/asm/ptrace.h static inline unsigned long user_stack_pointer(struct pt_regs *regs)
regs               58 arch/ia64/include/asm/ptrace.h 	return regs->ar_bspstore;
regs               61 arch/ia64/include/asm/ptrace.h static inline int is_syscall_success(struct pt_regs *regs)
regs               63 arch/ia64/include/asm/ptrace.h 	return regs->r10 != -1;
regs               66 arch/ia64/include/asm/ptrace.h static inline long regs_return_value(struct pt_regs *regs)
regs               68 arch/ia64/include/asm/ptrace.h 	if (is_syscall_success(regs))
regs               69 arch/ia64/include/asm/ptrace.h 		return regs->r8;
regs               71 arch/ia64/include/asm/ptrace.h 		return -regs->r8;
regs               77 arch/ia64/include/asm/ptrace.h #define profile_pc(regs)						\
regs               79 arch/ia64/include/asm/ptrace.h 	unsigned long __ip = instruction_pointer(regs);			\
regs               90 arch/ia64/include/asm/ptrace.h # define ia64_psr(regs)			((struct ia64_psr *) &(regs)->cr_ipsr)
regs               91 arch/ia64/include/asm/ptrace.h # define user_mode(regs)		(((struct ia64_psr *) &(regs)->cr_ipsr)->cpl != 0)
regs               92 arch/ia64/include/asm/ptrace.h # define user_stack(task,regs)	((long) regs - (long) task == IA64_STK_OFFSET - sizeof(*regs))
regs               93 arch/ia64/include/asm/ptrace.h # define fsys_mode(task,regs)					\
regs               96 arch/ia64/include/asm/ptrace.h 	  struct pt_regs *_regs = (regs);			\
regs              397 arch/ia64/include/asm/sal.h 	u64 regs[5];
regs              122 arch/ia64/include/asm/smp.h extern void smp_do_timer (struct pt_regs *regs);
regs               18 arch/ia64/include/asm/syscall.h 				  struct pt_regs *regs)
regs               20 arch/ia64/include/asm/syscall.h 	if ((long)regs->cr_ifs < 0) /* Not a syscall */
regs               23 arch/ia64/include/asm/syscall.h 	return regs->r15;
regs               27 arch/ia64/include/asm/syscall.h 				    struct pt_regs *regs)
regs               33 arch/ia64/include/asm/syscall.h 				     struct pt_regs *regs)
regs               35 arch/ia64/include/asm/syscall.h 	return regs->r10 == -1 ? regs->r8:0;
regs               39 arch/ia64/include/asm/syscall.h 					    struct pt_regs *regs)
regs               41 arch/ia64/include/asm/syscall.h 	return regs->r8;
regs               45 arch/ia64/include/asm/syscall.h 					    struct pt_regs *regs,
regs               50 arch/ia64/include/asm/syscall.h 		regs->r8 = -error;
regs               51 arch/ia64/include/asm/syscall.h 		regs->r10 = -1;
regs               53 arch/ia64/include/asm/syscall.h 		regs->r8 = val;
regs               54 arch/ia64/include/asm/syscall.h 		regs->r10 = 0;
regs               59 arch/ia64/include/asm/syscall.h 	struct pt_regs *regs, unsigned long *args, int rw);
regs               61 arch/ia64/include/asm/syscall.h 					 struct pt_regs *regs,
regs               64 arch/ia64/include/asm/syscall.h 	ia64_syscall_get_set_arguments(task, regs, args, 0);
regs               68 arch/ia64/include/asm/syscall.h 					 struct pt_regs *regs,
regs               71 arch/ia64/include/asm/syscall.h 	ia64_syscall_get_set_arguments(task, regs, args, 1);
regs               40 arch/ia64/include/asm/user.h 	unsigned long	regs[EF_SIZE/8+32];	/* integer and fp regs */
regs               56 arch/ia64/kernel/brl_emu.c ia64_emulate_brl (struct pt_regs *regs, unsigned long ar_ec)
regs               70 arch/ia64/kernel/brl_emu.c 	if (copy_from_user(bundle, (void *) (regs->cr_iip), sizeof(bundle)))
regs               73 arch/ia64/kernel/brl_emu.c 	next_ip = (unsigned long) regs->cr_iip + 16;
regs               76 arch/ia64/kernel/brl_emu.c 	if (ia64_psr(regs)->ri != 1) return rv;
regs               89 arch/ia64/kernel/brl_emu.c 	tmp_taken = regs->pr & (1L << qp);
regs              104 arch/ia64/kernel/brl_emu.c 				regs->cr_iip = next_ip;
regs              105 arch/ia64/kernel/brl_emu.c 				ia64_psr(regs)->ri = 0;
regs              120 arch/ia64/kernel/brl_emu.c 				regs->cr_iip = next_ip;
regs              121 arch/ia64/kernel/brl_emu.c 				ia64_psr(regs)->ri = 0;
regs              130 arch/ia64/kernel/brl_emu.c 					regs->b0 = next_ip;
regs              148 arch/ia64/kernel/brl_emu.c 					regs->b6 = next_ip;
regs              151 arch/ia64/kernel/brl_emu.c 					regs->b7 = next_ip;
regs              161 arch/ia64/kernel/brl_emu.c 			cpl = ia64_psr(regs)->cpl;
regs              162 arch/ia64/kernel/brl_emu.c 			regs->ar_pfs = ((regs->cr_ifs & 0x3fffffffff)
regs              173 arch/ia64/kernel/brl_emu.c 			regs->cr_ifs = ((regs->cr_ifs & 0xffffffc00000007f)
regs              174 arch/ia64/kernel/brl_emu.c 					- ((regs->cr_ifs >> 7) & 0x7f));
regs              186 arch/ia64/kernel/brl_emu.c 	regs->cr_iip += offset;
regs              187 arch/ia64/kernel/brl_emu.c 	ia64_psr(regs)->ri = 0;
regs              189 arch/ia64/kernel/brl_emu.c 	if (ia64_psr(regs)->it == 0)
regs              190 arch/ia64/kernel/brl_emu.c 		unimplemented_address = unimplemented_physical_address(regs->cr_iip);
regs              192 arch/ia64/kernel/brl_emu.c 		unimplemented_address = unimplemented_virtual_address(regs->cr_iip);
regs              201 arch/ia64/kernel/brl_emu.c 	} else if (ia64_psr(regs)->tb) {
regs              208 arch/ia64/kernel/brl_emu.c 	} else if (ia64_psr(regs)->ss) {
regs              438 arch/ia64/kernel/irq_ia64.c ia64_handle_irq (ia64_vector vector, struct pt_regs *regs)
regs              440 arch/ia64/kernel/irq_ia64.c 	struct pt_regs *old_regs = set_irq_regs(regs);
regs              407 arch/ia64/kernel/kprobes.c int __kprobes trampoline_probe_handler(struct kprobe *p, struct pt_regs *regs)
regs              447 arch/ia64/kernel/kprobes.c 	regs->cr_iip = orig_ret_address;
regs              455 arch/ia64/kernel/kprobes.c 			ri->rp->handler(ri, regs);
regs              485 arch/ia64/kernel/kprobes.c 				      struct pt_regs *regs)
regs              487 arch/ia64/kernel/kprobes.c 	ri->ret_addr = (kprobe_opcode_t *)regs->b0;
regs              490 arch/ia64/kernel/kprobes.c 	regs->b0 = ((struct fnptr *)kretprobe_trampoline)->ip;
regs              669 arch/ia64/kernel/kprobes.c static void __kprobes resume_execution(struct kprobe *p, struct pt_regs *regs)
regs              685 arch/ia64/kernel/kprobes.c 			regs->cr_iip = (regs->cr_iip - bundle_addr) +
regs              697 arch/ia64/kernel/kprobes.c 				if ((regs->b0 == bundle_addr) ||
regs              698 arch/ia64/kernel/kprobes.c 					(regs->b0 == bundle_addr + 0x10)) {
regs              699 arch/ia64/kernel/kprobes.c 					regs->b0 = (regs->b0 - bundle_addr) +
regs              704 arch/ia64/kernel/kprobes.c 				if ((regs->b6 == bundle_addr) ||
regs              705 arch/ia64/kernel/kprobes.c 					(regs->b6 == bundle_addr + 0x10)) {
regs              706 arch/ia64/kernel/kprobes.c 					regs->b6 = (regs->b6 - bundle_addr) +
regs              711 arch/ia64/kernel/kprobes.c 				if ((regs->b7 == bundle_addr) ||
regs              712 arch/ia64/kernel/kprobes.c 					(regs->b7 == bundle_addr + 0x10)) {
regs              713 arch/ia64/kernel/kprobes.c 					regs->b7 = (regs->b7 - bundle_addr) +
regs              723 arch/ia64/kernel/kprobes.c 		if (regs->cr_iip == bundle_addr + 0x10) {
regs              724 arch/ia64/kernel/kprobes.c 			regs->cr_iip = resume_addr + 0x10;
regs              727 arch/ia64/kernel/kprobes.c 		if (regs->cr_iip == bundle_addr) {
regs              728 arch/ia64/kernel/kprobes.c 			regs->cr_iip = resume_addr;
regs              734 arch/ia64/kernel/kprobes.c 	ia64_psr(regs)->ss = 0;
regs              737 arch/ia64/kernel/kprobes.c static void __kprobes prepare_ss(struct kprobe *p, struct pt_regs *regs)
regs              744 arch/ia64/kernel/kprobes.c 		regs->cr_iip = (unsigned long)p->addr & ~0xFULL;
regs              746 arch/ia64/kernel/kprobes.c 		regs->cr_iip = bundle_addr & ~0xFULL;
regs              751 arch/ia64/kernel/kprobes.c 	ia64_psr(regs)->ri = slot;
regs              754 arch/ia64/kernel/kprobes.c 	ia64_psr(regs)->ss = 1;
regs              757 arch/ia64/kernel/kprobes.c static int __kprobes is_ia64_break_inst(struct pt_regs *regs)
regs              759 arch/ia64/kernel/kprobes.c 	unsigned int slot = ia64_psr(regs)->ri;
regs              760 arch/ia64/kernel/kprobes.c 	unsigned long *kprobe_addr = (unsigned long *)regs->cr_iip;
regs              772 arch/ia64/kernel/kprobes.c 	struct pt_regs *regs = args->regs;
regs              773 arch/ia64/kernel/kprobes.c 	kprobe_opcode_t *addr = (kprobe_opcode_t *)instruction_pointer(regs);
regs              789 arch/ia64/kernel/kprobes.c 				ia64_psr(regs)->ss = 0;
regs              801 arch/ia64/kernel/kprobes.c 			prepare_ss(p, regs);
regs              804 arch/ia64/kernel/kprobes.c 		} else if (!is_ia64_break_inst(regs)) {
regs              819 arch/ia64/kernel/kprobes.c 		if (!is_ia64_break_inst(regs)) {
regs              838 arch/ia64/kernel/kprobes.c 	if (p->pre_handler && p->pre_handler(p, regs)) {
regs              847 arch/ia64/kernel/kprobes.c 		ia64_psr(regs)->ri = p->ainsn.slot;
regs              848 arch/ia64/kernel/kprobes.c 		regs->cr_iip = (unsigned long)&p->ainsn.insn->bundle & ~0xFULL;
regs              850 arch/ia64/kernel/kprobes.c 		ia64_psr(regs)->ss = 0;
regs              857 arch/ia64/kernel/kprobes.c 	prepare_ss(p, regs);
regs              866 arch/ia64/kernel/kprobes.c static int __kprobes post_kprobes_handler(struct pt_regs *regs)
regs              876 arch/ia64/kernel/kprobes.c 		cur->post_handler(cur, regs, 0);
regs              879 arch/ia64/kernel/kprobes.c 	resume_execution(cur, regs);
regs              893 arch/ia64/kernel/kprobes.c int __kprobes kprobe_fault_handler(struct pt_regs *regs, int trapnr)
regs              909 arch/ia64/kernel/kprobes.c 		regs->cr_iip = ((unsigned long)cur->addr) & ~0xFULL;
regs              910 arch/ia64/kernel/kprobes.c 		ia64_psr(regs)->ri = ((unsigned long)cur->addr) & 0xf;
regs              933 arch/ia64/kernel/kprobes.c 		if (cur->fault_handler && cur->fault_handler(cur, regs, trapnr))
regs              939 arch/ia64/kernel/kprobes.c 		if (ia64_done_with_exception(regs))
regs              959 arch/ia64/kernel/kprobes.c 	if (args->regs && user_mode(args->regs))
regs              973 arch/ia64/kernel/kprobes.c 			if (post_kprobes_handler(args->regs))
regs              114 arch/ia64/kernel/mca.c #define NOTIFY_INIT(event, regs, arg, spin)				\
regs              116 arch/ia64/kernel/mca.c 	if ((notify_die((event), "INIT", (regs), (arg), 0, 0)		\
regs              121 arch/ia64/kernel/mca.c #define NOTIFY_MCA(event, regs, arg, spin)				\
regs              123 arch/ia64/kernel/mca.c 	if ((notify_die((event), "MCA", (regs), (arg), 0, 0)		\
regs              893 arch/ia64/kernel/mca.c finish_pt_regs(struct pt_regs *regs, struct ia64_sal_os_state *sos,
regs              902 arch/ia64/kernel/mca.c 	if (ia64_psr(regs)->ic) {
regs              903 arch/ia64/kernel/mca.c 		regs->cr_iip = ms->pmsa_iip;
regs              904 arch/ia64/kernel/mca.c 		regs->cr_ipsr = ms->pmsa_ipsr;
regs              905 arch/ia64/kernel/mca.c 		regs->cr_ifs = ms->pmsa_ifs;
regs              907 arch/ia64/kernel/mca.c 		regs->cr_iip = ms->pmsa_xip;
regs              908 arch/ia64/kernel/mca.c 		regs->cr_ipsr = ms->pmsa_xpsr;
regs              909 arch/ia64/kernel/mca.c 		regs->cr_ifs = ms->pmsa_xfs;
regs              915 arch/ia64/kernel/mca.c 	regs->pr = ms->pmsa_pr;
regs              916 arch/ia64/kernel/mca.c 	regs->b0 = ms->pmsa_br0;
regs              917 arch/ia64/kernel/mca.c 	regs->ar_rsc = ms->pmsa_rsc;
regs              918 arch/ia64/kernel/mca.c 	copy_reg(&ms->pmsa_gr[1-1], ms->pmsa_nat_bits, &regs->r1, nat);
regs              919 arch/ia64/kernel/mca.c 	copy_reg(&ms->pmsa_gr[2-1], ms->pmsa_nat_bits, &regs->r2, nat);
regs              920 arch/ia64/kernel/mca.c 	copy_reg(&ms->pmsa_gr[3-1], ms->pmsa_nat_bits, &regs->r3, nat);
regs              921 arch/ia64/kernel/mca.c 	copy_reg(&ms->pmsa_gr[8-1], ms->pmsa_nat_bits, &regs->r8, nat);
regs              922 arch/ia64/kernel/mca.c 	copy_reg(&ms->pmsa_gr[9-1], ms->pmsa_nat_bits, &regs->r9, nat);
regs              923 arch/ia64/kernel/mca.c 	copy_reg(&ms->pmsa_gr[10-1], ms->pmsa_nat_bits, &regs->r10, nat);
regs              924 arch/ia64/kernel/mca.c 	copy_reg(&ms->pmsa_gr[11-1], ms->pmsa_nat_bits, &regs->r11, nat);
regs              925 arch/ia64/kernel/mca.c 	copy_reg(&ms->pmsa_gr[12-1], ms->pmsa_nat_bits, &regs->r12, nat);
regs              926 arch/ia64/kernel/mca.c 	copy_reg(&ms->pmsa_gr[13-1], ms->pmsa_nat_bits, &regs->r13, nat);
regs              927 arch/ia64/kernel/mca.c 	copy_reg(&ms->pmsa_gr[14-1], ms->pmsa_nat_bits, &regs->r14, nat);
regs              928 arch/ia64/kernel/mca.c 	copy_reg(&ms->pmsa_gr[15-1], ms->pmsa_nat_bits, &regs->r15, nat);
regs              929 arch/ia64/kernel/mca.c 	if (ia64_psr(regs)->bn)
regs              933 arch/ia64/kernel/mca.c 	copy_reg(&bank[16-16], ms->pmsa_nat_bits, &regs->r16, nat);
regs              934 arch/ia64/kernel/mca.c 	copy_reg(&bank[17-16], ms->pmsa_nat_bits, &regs->r17, nat);
regs              935 arch/ia64/kernel/mca.c 	copy_reg(&bank[18-16], ms->pmsa_nat_bits, &regs->r18, nat);
regs              936 arch/ia64/kernel/mca.c 	copy_reg(&bank[19-16], ms->pmsa_nat_bits, &regs->r19, nat);
regs              937 arch/ia64/kernel/mca.c 	copy_reg(&bank[20-16], ms->pmsa_nat_bits, &regs->r20, nat);
regs              938 arch/ia64/kernel/mca.c 	copy_reg(&bank[21-16], ms->pmsa_nat_bits, &regs->r21, nat);
regs              939 arch/ia64/kernel/mca.c 	copy_reg(&bank[22-16], ms->pmsa_nat_bits, &regs->r22, nat);
regs              940 arch/ia64/kernel/mca.c 	copy_reg(&bank[23-16], ms->pmsa_nat_bits, &regs->r23, nat);
regs              941 arch/ia64/kernel/mca.c 	copy_reg(&bank[24-16], ms->pmsa_nat_bits, &regs->r24, nat);
regs              942 arch/ia64/kernel/mca.c 	copy_reg(&bank[25-16], ms->pmsa_nat_bits, &regs->r25, nat);
regs              943 arch/ia64/kernel/mca.c 	copy_reg(&bank[26-16], ms->pmsa_nat_bits, &regs->r26, nat);
regs              944 arch/ia64/kernel/mca.c 	copy_reg(&bank[27-16], ms->pmsa_nat_bits, &regs->r27, nat);
regs              945 arch/ia64/kernel/mca.c 	copy_reg(&bank[28-16], ms->pmsa_nat_bits, &regs->r28, nat);
regs              946 arch/ia64/kernel/mca.c 	copy_reg(&bank[29-16], ms->pmsa_nat_bits, &regs->r29, nat);
regs              947 arch/ia64/kernel/mca.c 	copy_reg(&bank[30-16], ms->pmsa_nat_bits, &regs->r30, nat);
regs              948 arch/ia64/kernel/mca.c 	copy_reg(&bank[31-16], ms->pmsa_nat_bits, &regs->r31, nat);
regs              964 arch/ia64/kernel/mca.c ia64_mca_modify_original_stack(struct pt_regs *regs,
regs              981 arch/ia64/kernel/mca.c 	u64 slots, loadrs = regs->loadrs;
regs              983 arch/ia64/kernel/mca.c 	u64 ar_bspstore = regs->ar_bspstore;
regs              984 arch/ia64/kernel/mca.c 	u64 ar_bsp = regs->ar_bspstore + (loadrs >> 16);
regs              996 arch/ia64/kernel/mca.c 	regs->cr_ipsr = ms->pmsa_ipsr;
regs              997 arch/ia64/kernel/mca.c 	if (ia64_psr(regs)->dt == 0) {
regs             1009 arch/ia64/kernel/mca.c 	if (ia64_psr(regs)->rt == 0) {
regs             1036 arch/ia64/kernel/mca.c 	regs->loadrs = (new_bsp - new_bspstore) * 8 << 16;
regs             1039 arch/ia64/kernel/mca.c 	if (user_mode(regs)) {
regs             1084 arch/ia64/kernel/mca.c 	p = (char *)r12 - sizeof(*regs);
regs             1086 arch/ia64/kernel/mca.c 	memcpy(old_regs, regs, sizeof(*regs));
regs             1136 arch/ia64/kernel/mca.c 	old_rnat = regs->ar_rnat;
regs             1159 arch/ia64/kernel/mca.c 	old_unat = regs->ar_unat;
regs             1160 arch/ia64/kernel/mca.c 	finish_pt_regs(regs, sos, &old_unat);
regs             1282 arch/ia64/kernel/mca.c ia64_mca_handler(struct pt_regs *regs, struct switch_stack *sw,
regs             1302 arch/ia64/kernel/mca.c 	previous_current = ia64_mca_modify_original_stack(regs, sw, sos, "MCA");
regs             1304 arch/ia64/kernel/mca.c 	NOTIFY_MCA(DIE_MCA_MONARCH_ENTER, regs, (long)&nd, 1);
regs             1323 arch/ia64/kernel/mca.c 	NOTIFY_MCA(DIE_MCA_MONARCH_PROCESS, regs, (long)&nd, 1);
regs             1349 arch/ia64/kernel/mca.c 	NOTIFY_MCA(DIE_MCA_MONARCH_LEAVE, regs, (long)&nd, 1);
regs             1660 arch/ia64/kernel/mca.c ia64_init_handler(struct pt_regs *regs, struct switch_stack *sw,
regs             1670 arch/ia64/kernel/mca.c 	NOTIFY_INIT(DIE_INIT_ENTER, regs, (long)&nd, 0);
regs             1676 arch/ia64/kernel/mca.c 	previous_current = ia64_mca_modify_original_stack(regs, sw, sos, "INIT");
regs             1714 arch/ia64/kernel/mca.c 		NOTIFY_INIT(DIE_INIT_SLAVE_ENTER, regs, (long)&nd, 1);
regs             1715 arch/ia64/kernel/mca.c 		NOTIFY_INIT(DIE_INIT_SLAVE_PROCESS, regs, (long)&nd, 1);
regs             1725 arch/ia64/kernel/mca.c 		NOTIFY_INIT(DIE_INIT_SLAVE_LEAVE, regs, (long)&nd, 1);
regs             1735 arch/ia64/kernel/mca.c 	NOTIFY_INIT(DIE_INIT_MONARCH_ENTER, regs, (long)&nd, 1);
regs             1750 arch/ia64/kernel/mca.c 	NOTIFY_INIT(DIE_INIT_MONARCH_PROCESS, regs, (long)&nd, 1);
regs             1751 arch/ia64/kernel/mca.c 	NOTIFY_INIT(DIE_INIT_MONARCH_LEAVE, regs, (long)&nd, 1);
regs               40 arch/ia64/kernel/mca_drv.h 	sal_processor_static_info_t     *regs;
regs               45 arch/ia64/kernel/mca_drv.h #define peidx_bottom(p) (((p)->regs))
regs              392 arch/ia64/kernel/perfmon.c typedef int (*pfm_reg_check_t)(struct task_struct *task, pfm_context_t *ctx, unsigned int cnum, unsigned long *val, struct pt_regs *regs);
regs              473 arch/ia64/kernel/perfmon.c 	int		(*cmd_func)(pfm_context_t *ctx, void *arg, int count, struct pt_regs *regs);
regs              577 arch/ia64/kernel/perfmon.c static int pfm_context_unload(pfm_context_t *ctx, void *arg, int count, struct pt_regs *regs);
regs              638 arch/ia64/kernel/perfmon.c static int pfm_write_ibr_dbr(int mode, pfm_context_t *ctx, void *arg, int count, struct pt_regs *regs);
regs             1151 arch/ia64/kernel/perfmon.c pfm_buf_fmt_exit(pfm_buffer_fmt_t *fmt, struct task_struct *task, void *buf, struct pt_regs *regs)
regs             1154 arch/ia64/kernel/perfmon.c 	if (fmt->fmt_exit) ret = (*fmt->fmt_exit)(task, buf, regs);
regs             1186 arch/ia64/kernel/perfmon.c pfm_buf_fmt_restart(pfm_buffer_fmt_t *fmt, struct task_struct *task, pfm_ovfl_ctrl_t *ctrl, void *buf, struct pt_regs *regs)
regs             1189 arch/ia64/kernel/perfmon.c 	if (fmt->fmt_restart) ret = (*fmt->fmt_restart)(task, ctrl, buf, regs);
regs             1194 arch/ia64/kernel/perfmon.c pfm_buf_fmt_restart_active(pfm_buffer_fmt_t *fmt, struct task_struct *task, pfm_ovfl_ctrl_t *ctrl, void *buf, struct pt_regs *regs)
regs             1197 arch/ia64/kernel/perfmon.c 	if (fmt->fmt_restart_active) ret = (*fmt->fmt_restart_active)(task, ctrl, buf, regs);
regs             1707 arch/ia64/kernel/perfmon.c 	struct pt_regs *regs = task_pt_regs(current);
regs             1740 arch/ia64/kernel/perfmon.c 	ret = pfm_context_unload(ctx, NULL, 0, regs);
regs             1771 arch/ia64/kernel/perfmon.c 	struct pt_regs *regs;
regs             1807 arch/ia64/kernel/perfmon.c 	regs = task_pt_regs(task);
regs             1856 arch/ia64/kernel/perfmon.c 			pfm_context_unload(ctx, NULL, 0, regs);
regs             1910 arch/ia64/kernel/perfmon.c 	struct pt_regs *regs;
regs             1937 arch/ia64/kernel/perfmon.c 	regs = task_pt_regs(task);
regs             2031 arch/ia64/kernel/perfmon.c 		pfm_context_unload(ctx, NULL, 0, regs);
regs             2582 arch/ia64/kernel/perfmon.c pfm_context_create(pfm_context_t *ctx, void *arg, int count, struct pt_regs *regs)
regs             2649 arch/ia64/kernel/perfmon.c 		pfm_buf_fmt_exit(ctx->ctx_buf_fmt, current, NULL, regs);
regs             2766 arch/ia64/kernel/perfmon.c pfm_write_pmcs(pfm_context_t *ctx, void *arg, int count, struct pt_regs *regs)
regs             2880 arch/ia64/kernel/perfmon.c 			ret = (*wr_func)(task, ctx, cnum, &value, regs);
regs             3006 arch/ia64/kernel/perfmon.c pfm_write_pmds(pfm_context_t *ctx, void *arg, int count, struct pt_regs *regs)
regs             3062 arch/ia64/kernel/perfmon.c 			ret = (*wr_func)(task, ctx, cnum, &v, regs);
regs             3202 arch/ia64/kernel/perfmon.c pfm_read_pmds(pfm_context_t *ctx, void *arg, int count, struct pt_regs *regs)
regs             3305 arch/ia64/kernel/perfmon.c 			ret = (*rd_func)(ctx->ctx_task, ctx, cnum, &v, regs);
regs             3333 arch/ia64/kernel/perfmon.c pfm_mod_write_pmcs(struct task_struct *task, void *req, unsigned int nreq, struct pt_regs *regs)
regs             3349 arch/ia64/kernel/perfmon.c 	return pfm_write_pmcs(ctx, req, nreq, regs);
regs             3354 arch/ia64/kernel/perfmon.c pfm_mod_read_pmds(struct task_struct *task, void *req, unsigned int nreq, struct pt_regs *regs)
regs             3370 arch/ia64/kernel/perfmon.c 	return pfm_read_pmds(ctx, req, nreq, regs);
regs             3455 arch/ia64/kernel/perfmon.c pfm_restart(pfm_context_t *ctx, void *arg, int count, struct pt_regs *regs)
regs             3515 arch/ia64/kernel/perfmon.c 				ret = pfm_buf_fmt_restart_active(fmt, task, &rst_ctrl, ctx->ctx_smpl_hdr, regs);
regs             3517 arch/ia64/kernel/perfmon.c 				ret = pfm_buf_fmt_restart(fmt, task, &rst_ctrl, ctx->ctx_smpl_hdr, regs);
regs             3608 arch/ia64/kernel/perfmon.c pfm_debug(pfm_context_t *ctx, void *arg, int count, struct pt_regs *regs)
regs             3627 arch/ia64/kernel/perfmon.c pfm_write_ibr_dbr(int mode, pfm_context_t *ctx, void *arg, int count, struct pt_regs *regs)
regs             3822 arch/ia64/kernel/perfmon.c pfm_write_ibrs(pfm_context_t *ctx, void *arg, int count, struct pt_regs *regs)
regs             3824 arch/ia64/kernel/perfmon.c 	return pfm_write_ibr_dbr(PFM_CODE_RR, ctx, arg, count, regs);
regs             3828 arch/ia64/kernel/perfmon.c pfm_write_dbrs(pfm_context_t *ctx, void *arg, int count, struct pt_regs *regs)
regs             3830 arch/ia64/kernel/perfmon.c 	return pfm_write_ibr_dbr(PFM_DATA_RR, ctx, arg, count, regs);
regs             3834 arch/ia64/kernel/perfmon.c pfm_mod_write_ibrs(struct task_struct *task, void *req, unsigned int nreq, struct pt_regs *regs)
regs             3850 arch/ia64/kernel/perfmon.c 	return pfm_write_ibrs(ctx, req, nreq, regs);
regs             3855 arch/ia64/kernel/perfmon.c pfm_mod_write_dbrs(struct task_struct *task, void *req, unsigned int nreq, struct pt_regs *regs)
regs             3871 arch/ia64/kernel/perfmon.c 	return pfm_write_dbrs(ctx, req, nreq, regs);
regs             3877 arch/ia64/kernel/perfmon.c pfm_get_features(pfm_context_t *ctx, void *arg, int count, struct pt_regs *regs)
regs             3886 arch/ia64/kernel/perfmon.c pfm_stop(pfm_context_t *ctx, void *arg, int count, struct pt_regs *regs)
regs             3940 arch/ia64/kernel/perfmon.c 		ia64_psr(regs)->pp = 0;
regs             3955 arch/ia64/kernel/perfmon.c 		ia64_psr(regs)->up = 0;
regs             3975 arch/ia64/kernel/perfmon.c pfm_start(pfm_context_t *ctx, void *arg, int count, struct pt_regs *regs)
regs             4005 arch/ia64/kernel/perfmon.c 		ia64_psr(regs)->pp = 1;
regs             4036 arch/ia64/kernel/perfmon.c 		ia64_psr(regs)->up = 1;
regs             4056 arch/ia64/kernel/perfmon.c pfm_get_pmc_reset(pfm_context_t *ctx, void *arg, int count, struct pt_regs *regs)
regs             4105 arch/ia64/kernel/perfmon.c pfm_context_load(pfm_context_t *ctx, void *arg, int count, struct pt_regs *regs)
regs             4269 arch/ia64/kernel/perfmon.c 			ia64_psr(regs)->sp = 0;
regs             4310 arch/ia64/kernel/perfmon.c 		regs = task_pt_regs(task);
regs             4318 arch/ia64/kernel/perfmon.c 		ia64_psr(regs)->up = ia64_psr(regs)->pp = 0;
regs             4362 arch/ia64/kernel/perfmon.c pfm_context_unload(pfm_context_t *ctx, void *arg, int count, struct pt_regs *regs)
regs             4385 arch/ia64/kernel/perfmon.c 	ret = pfm_stop(ctx, NULL, 0, regs);
regs             4436 arch/ia64/kernel/perfmon.c 	tregs = task == current ? regs : task_pt_regs(task);
regs             4442 arch/ia64/kernel/perfmon.c 		ia64_psr(regs)->sp = 1;
regs             4499 arch/ia64/kernel/perfmon.c 	struct pt_regs *regs = task_pt_regs(task);
regs             4520 arch/ia64/kernel/perfmon.c 			ret = pfm_context_unload(ctx, NULL, 0, regs);
regs             4529 arch/ia64/kernel/perfmon.c 			ret = pfm_context_unload(ctx, NULL, 0, regs);
regs             4544 arch/ia64/kernel/perfmon.c 	  BUG_ON(ia64_psr(regs)->up);
regs             4545 arch/ia64/kernel/perfmon.c 	  BUG_ON(ia64_psr(regs)->pp);
regs             4716 arch/ia64/kernel/perfmon.c 	int (*func)(pfm_context_t *ctx, void *arg, int count, struct pt_regs *regs);
regs             4857 arch/ia64/kernel/perfmon.c pfm_resume_after_ovfl(pfm_context_t *ctx, unsigned long ovfl_regs, struct pt_regs *regs)
regs             4875 arch/ia64/kernel/perfmon.c 			ret = pfm_buf_fmt_restart_active(fmt, current, &rst_ctrl, ctx->ctx_smpl_hdr, regs);
regs             4877 arch/ia64/kernel/perfmon.c 			ret = pfm_buf_fmt_restart(fmt, current, &rst_ctrl, ctx->ctx_smpl_hdr, regs);
regs             4903 arch/ia64/kernel/perfmon.c pfm_context_force_terminate(pfm_context_t *ctx, struct pt_regs *regs)
regs             4909 arch/ia64/kernel/perfmon.c 	ret = pfm_context_unload(ctx, NULL, 0, regs);
regs             4941 arch/ia64/kernel/perfmon.c 	struct pt_regs *regs;
regs             4958 arch/ia64/kernel/perfmon.c 	regs = task_pt_regs(current);
regs             5019 arch/ia64/kernel/perfmon.c 		pfm_context_force_terminate(ctx, regs);
regs             5029 arch/ia64/kernel/perfmon.c 	pfm_resume_after_ovfl(ctx, ovfl_regs, regs);
regs             5121 arch/ia64/kernel/perfmon.c 				unsigned long pmc0, struct pt_regs *regs)
regs             5148 arch/ia64/kernel/perfmon.c 			(regs ? regs->cr_iip : 0),
regs             5250 arch/ia64/kernel/perfmon.c 			ret = (*ctx->ctx_buf_fmt->fmt_handler)(task, ctx->ctx_smpl_hdr, ovfl_arg, regs, tstamp);
regs             5396 arch/ia64/kernel/perfmon.c 	ia64_psr(regs)->up = 0;
regs             5397 arch/ia64/kernel/perfmon.c 	ia64_psr(regs)->sp = 1;
regs             5402 arch/ia64/kernel/perfmon.c pfm_do_interrupt_handler(void *arg, struct pt_regs *regs)
regs             5438 arch/ia64/kernel/perfmon.c 		pfm_overflow_handler(task, ctx, pmc0, regs);
regs             5473 arch/ia64/kernel/perfmon.c 	struct pt_regs *regs = get_irq_regs();
regs             5482 arch/ia64/kernel/perfmon.c 		ret = pfm_do_interrupt_handler(arg, regs);
regs             5499 arch/ia64/kernel/perfmon.c 		(*pfm_alt_intr_handler->handler)(irq, arg, regs);
regs             5671 arch/ia64/kernel/perfmon.c 	struct pt_regs *regs;
regs             5682 arch/ia64/kernel/perfmon.c 		regs = task_pt_regs(task);
regs             5683 arch/ia64/kernel/perfmon.c 		ia64_psr(regs)->pp = is_ctxswin ? dcr_pp : 0;
regs             5717 arch/ia64/kernel/perfmon.c pfm_force_cleanup(pfm_context_t *ctx, struct pt_regs *regs)
regs             5721 arch/ia64/kernel/perfmon.c 	ia64_psr(regs)->up = 0;
regs             5722 arch/ia64/kernel/perfmon.c 	ia64_psr(regs)->sp = 1;
regs             5764 arch/ia64/kernel/perfmon.c 		struct pt_regs *regs = task_pt_regs(task);
regs             5768 arch/ia64/kernel/perfmon.c 		pfm_force_cleanup(ctx, regs);
regs             5960 arch/ia64/kernel/perfmon.c 		struct pt_regs *regs = task_pt_regs(task);
regs             5964 arch/ia64/kernel/perfmon.c 		pfm_force_cleanup(ctx, regs);
regs             6324 arch/ia64/kernel/perfmon.c 	struct pt_regs *regs;
regs             6326 arch/ia64/kernel/perfmon.c 	regs = task_pt_regs(current);
regs             6336 arch/ia64/kernel/perfmon.c 	ia64_psr(regs)->pp = 0;
regs             6350 arch/ia64/kernel/perfmon.c 	struct pt_regs *regs;
regs             6352 arch/ia64/kernel/perfmon.c 	regs = task_pt_regs(current);
regs             6362 arch/ia64/kernel/perfmon.c 	ia64_psr(regs)->pp = 0;
regs             6609 arch/ia64/kernel/perfmon.c 	struct pt_regs *regs;
regs             6617 arch/ia64/kernel/perfmon.c 	regs     = task_pt_regs(current);
regs             6621 arch/ia64/kernel/perfmon.c 	if (info == 0 && ia64_psr(regs)->pp == 0 && (dcr & IA64_DCR_PP) == 0) {
regs             6630 arch/ia64/kernel/perfmon.c 		regs->cr_iip,
regs             6647 arch/ia64/kernel/perfmon.c 		ia64_psr(regs)->up,
regs             6648 arch/ia64/kernel/perfmon.c 		ia64_psr(regs)->pp);
regs             6650 arch/ia64/kernel/perfmon.c 	ia64_psr(regs)->up = 0;
regs             6651 arch/ia64/kernel/perfmon.c 	ia64_psr(regs)->pp = 0;
regs             6680 arch/ia64/kernel/perfmon.c pfm_inherit(struct task_struct *task, struct pt_regs *regs)
regs              103 arch/ia64/kernel/perfmon_default_smpl.c default_handler(struct task_struct *task, void *buf, pfm_ovfl_arg_t *arg, struct pt_regs *regs, unsigned long stamp)
regs              113 arch/ia64/kernel/perfmon_default_smpl.c 	if (unlikely(buf == NULL || arg == NULL|| regs == NULL || task == NULL)) {
regs              167 arch/ia64/kernel/perfmon_default_smpl.c 	ent->ip = regs->cr_iip | ((regs->cr_ipsr >> 41) & 0x3);
regs              231 arch/ia64/kernel/perfmon_default_smpl.c default_restart(struct task_struct *task, pfm_ovfl_ctrl_t *ctrl, void *buf, struct pt_regs *regs)
regs              247 arch/ia64/kernel/perfmon_default_smpl.c default_exit(struct task_struct *task, void *buf, struct pt_regs *regs)
regs                9 arch/ia64/kernel/perfmon_itanium.h static int pfm_ita_pmc_check(struct task_struct *task, pfm_context_t *ctx, unsigned int cnum, unsigned long *val, struct pt_regs *regs);
regs               52 arch/ia64/kernel/perfmon_itanium.h pfm_ita_pmc_check(struct task_struct *task, pfm_context_t *ctx, unsigned int cnum, unsigned long *val, struct pt_regs *regs)
regs               77 arch/ia64/kernel/perfmon_itanium.h 		ret = pfm_write_ibr_dbr(1, ctx, NULL, 0, regs);
regs               96 arch/ia64/kernel/perfmon_itanium.h 		ret = pfm_write_ibr_dbr(0, ctx, NULL, 0, regs);
regs                9 arch/ia64/kernel/perfmon_mckinley.h static int pfm_mck_pmc_check(struct task_struct *task, pfm_context_t *ctx, unsigned int cnum, unsigned long *val, struct pt_regs *regs);
regs               57 arch/ia64/kernel/perfmon_mckinley.h pfm_mck_reserved(unsigned int cnum, unsigned long *val, struct pt_regs *regs)
regs               78 arch/ia64/kernel/perfmon_mckinley.h pfm_mck_pmc_check(struct task_struct *task, pfm_context_t *ctx, unsigned int cnum, unsigned long *val, struct pt_regs *regs)
regs               85 arch/ia64/kernel/perfmon_mckinley.h 	pfm_mck_reserved(cnum, val, regs);
regs              116 arch/ia64/kernel/perfmon_mckinley.h 		ret = pfm_write_ibr_dbr(PFM_DATA_RR, ctx, NULL, 0, regs);
regs              134 arch/ia64/kernel/perfmon_mckinley.h 		ret = pfm_write_ibr_dbr(PFM_CODE_RR, ctx, NULL, 0, regs);
regs                9 arch/ia64/kernel/perfmon_montecito.h static int pfm_mont_pmc_check(struct task_struct *task, pfm_context_t *ctx, unsigned int cnum, unsigned long *val, struct pt_regs *regs);
regs              135 arch/ia64/kernel/perfmon_montecito.h pfm_mont_reserved(unsigned int cnum, unsigned long *val, struct pt_regs *regs)
regs              156 arch/ia64/kernel/perfmon_montecito.h pfm_mont_pmc_check(struct task_struct *task, pfm_context_t *ctx, unsigned int cnum, unsigned long *val, struct pt_regs *regs)
regs              165 arch/ia64/kernel/perfmon_montecito.h 	pfm_mont_reserved(cnum, val, regs);
regs              200 arch/ia64/kernel/perfmon_montecito.h 		ret = pfm_write_ibr_dbr(PFM_DATA_RR, ctx, NULL, 0, regs);
regs              220 arch/ia64/kernel/perfmon_montecito.h 		ret = pfm_write_ibr_dbr(PFM_CODE_RR, ctx, NULL, 0, regs);
regs              100 arch/ia64/kernel/process.c show_regs (struct pt_regs *regs)
regs              102 arch/ia64/kernel/process.c 	unsigned long ip = regs->cr_iip + ia64_psr(regs)->ri;
regs              108 arch/ia64/kernel/process.c 	       regs->cr_ipsr, regs->cr_ifs, ip, print_tainted(),
regs              112 arch/ia64/kernel/process.c 	       regs->ar_unat, regs->ar_pfs, regs->ar_rsc);
regs              114 arch/ia64/kernel/process.c 	       regs->ar_rnat, regs->ar_bspstore, regs->pr);
regs              116 arch/ia64/kernel/process.c 	       regs->loadrs, regs->ar_ccv, regs->ar_fpsr);
regs              117 arch/ia64/kernel/process.c 	printk("csd : %016lx ssd : %016lx\n", regs->ar_csd, regs->ar_ssd);
regs              118 arch/ia64/kernel/process.c 	printk("b0  : %016lx b6  : %016lx b7  : %016lx\n", regs->b0, regs->b6, regs->b7);
regs              120 arch/ia64/kernel/process.c 	       regs->f6.u.bits[1], regs->f6.u.bits[0],
regs              121 arch/ia64/kernel/process.c 	       regs->f7.u.bits[1], regs->f7.u.bits[0]);
regs              123 arch/ia64/kernel/process.c 	       regs->f8.u.bits[1], regs->f8.u.bits[0],
regs              124 arch/ia64/kernel/process.c 	       regs->f9.u.bits[1], regs->f9.u.bits[0]);
regs              126 arch/ia64/kernel/process.c 	       regs->f10.u.bits[1], regs->f10.u.bits[0],
regs              127 arch/ia64/kernel/process.c 	       regs->f11.u.bits[1], regs->f11.u.bits[0]);
regs              129 arch/ia64/kernel/process.c 	printk("r1  : %016lx r2  : %016lx r3  : %016lx\n", regs->r1, regs->r2, regs->r3);
regs              130 arch/ia64/kernel/process.c 	printk("r8  : %016lx r9  : %016lx r10 : %016lx\n", regs->r8, regs->r9, regs->r10);
regs              131 arch/ia64/kernel/process.c 	printk("r11 : %016lx r12 : %016lx r13 : %016lx\n", regs->r11, regs->r12, regs->r13);
regs              132 arch/ia64/kernel/process.c 	printk("r14 : %016lx r15 : %016lx r16 : %016lx\n", regs->r14, regs->r15, regs->r16);
regs              133 arch/ia64/kernel/process.c 	printk("r17 : %016lx r18 : %016lx r19 : %016lx\n", regs->r17, regs->r18, regs->r19);
regs              134 arch/ia64/kernel/process.c 	printk("r20 : %016lx r21 : %016lx r22 : %016lx\n", regs->r20, regs->r21, regs->r22);
regs              135 arch/ia64/kernel/process.c 	printk("r23 : %016lx r24 : %016lx r25 : %016lx\n", regs->r23, regs->r24, regs->r25);
regs              136 arch/ia64/kernel/process.c 	printk("r26 : %016lx r27 : %016lx r28 : %016lx\n", regs->r26, regs->r27, regs->r28);
regs              137 arch/ia64/kernel/process.c 	printk("r29 : %016lx r30 : %016lx r31 : %016lx\n", regs->r29, regs->r30, regs->r31);
regs              139 arch/ia64/kernel/process.c 	if (user_mode(regs)) {
regs              144 arch/ia64/kernel/process.c 		sof = regs->cr_ifs & 0x7f;	/* size of frame */
regs              145 arch/ia64/kernel/process.c 		ndirty = (regs->loadrs >> 19);
regs              146 arch/ia64/kernel/process.c 		bsp = ia64_rse_skip_regs((unsigned long *) regs->ar_bspstore, ndirty);
regs              343 arch/ia64/kernel/process.c 	struct pt_regs *regs = current_pt_regs();
regs              410 arch/ia64/kernel/process.c 	stack = ((struct switch_stack *) regs) - 1;
regs              418 arch/ia64/kernel/process.c 		child_ptregs->r13 = regs->r16;	/* see sys_clone2() in entry.S */
regs              154 arch/ia64/kernel/ptrace.c ia64_increment_ip (struct pt_regs *regs)
regs              156 arch/ia64/kernel/ptrace.c 	unsigned long w0, ri = ia64_psr(regs)->ri + 1;
regs              160 arch/ia64/kernel/ptrace.c 		regs->cr_iip += 16;
regs              162 arch/ia64/kernel/ptrace.c 		get_user(w0, (char __user *) regs->cr_iip + 0);
regs              170 arch/ia64/kernel/ptrace.c 			regs->cr_iip += 16;
regs              173 arch/ia64/kernel/ptrace.c 	ia64_psr(regs)->ri = ri;
regs              177 arch/ia64/kernel/ptrace.c ia64_decrement_ip (struct pt_regs *regs)
regs              179 arch/ia64/kernel/ptrace.c 	unsigned long w0, ri = ia64_psr(regs)->ri - 1;
regs              181 arch/ia64/kernel/ptrace.c 	if (ia64_psr(regs)->ri == 0) {
regs              182 arch/ia64/kernel/ptrace.c 		regs->cr_iip -= 16;
regs              184 arch/ia64/kernel/ptrace.c 		get_user(w0, (char __user *) regs->cr_iip + 0);
regs              194 arch/ia64/kernel/ptrace.c 	ia64_psr(regs)->ri = ri;
regs             1218 arch/ia64/kernel/ptrace.c 		     struct pt_regs regs)
regs             1221 arch/ia64/kernel/ptrace.c 		if (tracehook_report_syscall_entry(&regs))
regs             1229 arch/ia64/kernel/ptrace.c 	audit_syscall_entry(regs.r15, arg0, arg1, arg2, arg3);
regs             1239 arch/ia64/kernel/ptrace.c 		     struct pt_regs regs)
regs             1243 arch/ia64/kernel/ptrace.c 	audit_syscall_exit(&regs);
regs             1247 arch/ia64/kernel/ptrace.c 		tracehook_report_syscall_exit(&regs, step);
regs             2142 arch/ia64/kernel/ptrace.c 	struct pt_regs *regs;
regs             2149 arch/ia64/kernel/ptrace.c 	struct pt_regs *pt = args->regs;
regs             2182 arch/ia64/kernel/ptrace.c 	struct pt_regs *regs, unsigned long *args, int rw)
regs             2188 arch/ia64/kernel/ptrace.c 		.regs = regs,
regs              105 arch/ia64/kernel/sys_ia64.c 	struct pt_regs *regs = task_pt_regs(current);
regs              113 arch/ia64/kernel/sys_ia64.c 	regs->r9 = fd[1];
regs               43 arch/ia64/kernel/traps.c die (const char *str, struct pt_regs *regs, long err)
regs               69 arch/ia64/kernel/traps.c 		if (notify_die(DIE_OOPS, str, regs, err, 255, SIGSEGV)
regs               71 arch/ia64/kernel/traps.c 			show_regs(regs);
regs               73 arch/ia64/kernel/traps.c 			regs = NULL;
regs               82 arch/ia64/kernel/traps.c 	if (!regs)
regs               93 arch/ia64/kernel/traps.c die_if_kernel (char *str, struct pt_regs *regs, long err)
regs               95 arch/ia64/kernel/traps.c 	if (!user_mode(regs))
regs               96 arch/ia64/kernel/traps.c 		return die(str, regs, err);
regs              101 arch/ia64/kernel/traps.c __kprobes ia64_bad_break (unsigned long break_num, struct pt_regs *regs)
regs              107 arch/ia64/kernel/traps.c 		if (notify_die(DIE_BREAK, "break 0", regs, break_num, TRAP_BRKPT, SIGTRAP)
regs              110 arch/ia64/kernel/traps.c 		if (die_if_kernel("bugcheck!", regs, break_num))
regs              165 arch/ia64/kernel/traps.c 		    && die_if_kernel("Bad break", regs, break_num))
regs              171 arch/ia64/kernel/traps.c 			if (notify_die(DIE_BREAK, "bad break", regs, break_num, TRAP_BRKPT, SIGTRAP)
regs              178 arch/ia64/kernel/traps.c 			(void __user *) (regs->cr_iip + ia64_psr(regs)->ri),
regs              191 arch/ia64/kernel/traps.c disabled_fph_fault (struct pt_regs *regs)
regs              193 arch/ia64/kernel/traps.c 	struct ia64_psr *psr = ia64_psr(regs);
regs              234 arch/ia64/kernel/traps.c 	    struct pt_regs *regs)
regs              251 arch/ia64/kernel/traps.c 	fp_state.fp_state_low_volatile = (fp_state_low_volatile_t *) &regs->f6;
regs              284 arch/ia64/kernel/traps.c handle_fpu_swa (int fp_fault, struct pt_regs *regs, unsigned long isr)
regs              289 arch/ia64/kernel/traps.c 	fault_ip = regs->cr_iip;
regs              290 arch/ia64/kernel/traps.c 	if (!fp_fault && (ia64_psr(regs)->ri == 0))
regs              323 arch/ia64/kernel/traps.c 		       			current->comm, task_pid_nr(current), regs->cr_iip + ia64_psr(regs)->ri, isr);
regs              328 arch/ia64/kernel/traps.c 	exception = fp_emulate(fp_fault, bundle, &regs->cr_ipsr, &regs->ar_fpsr, &isr, &regs->pr,
regs              329 arch/ia64/kernel/traps.c 			       &regs->cr_ifs, regs);
regs              333 arch/ia64/kernel/traps.c 			ia64_increment_ip(regs);
regs              342 arch/ia64/kernel/traps.c 				ia64_increment_ip(regs);
regs              355 arch/ia64/kernel/traps.c 					(void __user *) (regs->cr_iip + ia64_psr(regs)->ri),
regs              375 arch/ia64/kernel/traps.c 					(void __user *) (regs->cr_iip + ia64_psr(regs)->ri),
regs              389 arch/ia64/kernel/traps.c 		       struct pt_regs regs)
regs              398 arch/ia64/kernel/traps.c 		rv = ia64_emulate_brl(&regs, ec);
regs              406 arch/ia64/kernel/traps.c 	if (die_if_kernel(buf, &regs, 0))
regs              410 arch/ia64/kernel/traps.c 			(void __user *) (regs.cr_iip + ia64_psr(&regs)->ri),
regs              418 arch/ia64/kernel/traps.c 	    long arg7, struct pt_regs regs)
regs              439 arch/ia64/kernel/traps.c 		ia64_psr(&regs)->ed = 1;
regs              443 arch/ia64/kernel/traps.c 	iip = regs.cr_iip + ia64_psr(&regs)->ri;
regs              455 arch/ia64/kernel/traps.c 			       regs.cr_iip + ia64_psr(&regs)->ri, regs.pr);
regs              463 arch/ia64/kernel/traps.c 			disabled_fph_fault(&regs);
regs              470 arch/ia64/kernel/traps.c 		if (user_mode(&regs)) {
regs              482 arch/ia64/kernel/traps.c 				addr = (void __user *) (regs.cr_iip
regs              483 arch/ia64/kernel/traps.c 							+ ia64_psr(&regs)->ri);
regs              488 arch/ia64/kernel/traps.c 		} else if (ia64_done_with_exception(&regs))
regs              494 arch/ia64/kernel/traps.c 		if (user_mode(&regs)) {
regs              505 arch/ia64/kernel/traps.c 		if (fsys_mode(current, &regs)) {
regs              515 arch/ia64/kernel/traps.c 				ia64_psr(&regs)->db = 0;
regs              516 arch/ia64/kernel/traps.c 				ia64_psr(&regs)->lp = 1;
regs              520 arch/ia64/kernel/traps.c 			regs.cr_iip = (unsigned long) __kernel_syscall_via_break;
regs              521 arch/ia64/kernel/traps.c 			ia64_psr(&regs)->ri = 0;
regs              522 arch/ia64/kernel/traps.c 			ia64_psr(&regs)->cpl = 3;
regs              534 arch/ia64/kernel/traps.c 			if (ia64_psr(&regs)->is == 0)
regs              535 arch/ia64/kernel/traps.c 			  ifa = regs.cr_iip;
regs              541 arch/ia64/kernel/traps.c 		if (notify_die(DIE_FAULT, "ia64_fault", &regs, vector, si_code, SIGTRAP)
regs              550 arch/ia64/kernel/traps.c 		result = handle_fpu_swa((vector == 32) ? 1 : 0, &regs, isr);
regs              566 arch/ia64/kernel/traps.c 				ia64_psr(&regs)->db = 1;
regs              574 arch/ia64/kernel/traps.c 			ia64_psr(&regs)->lp = 0;
regs              578 arch/ia64/kernel/traps.c 			if (user_mode(&regs)) {
regs              610 arch/ia64/kernel/traps.c 	if (!die_if_kernel(buf, &regs, error))
regs               31 arch/ia64/kernel/unaligned.c extern int die_if_kernel(char *str, struct pt_regs *regs, long err);
regs              308 arch/ia64/kernel/unaligned.c set_rse_reg (struct pt_regs *regs, unsigned long r1, unsigned long val, int nat)
regs              310 arch/ia64/kernel/unaligned.c 	struct switch_stack *sw = (struct switch_stack *) regs - 1;
regs              315 arch/ia64/kernel/unaligned.c 	long sof = (regs->cr_ifs) & 0x7f;
regs              316 arch/ia64/kernel/unaligned.c 	long sor = 8 * ((regs->cr_ifs >> 14) & 0xf);
regs              317 arch/ia64/kernel/unaligned.c 	long rrb_gr = (regs->cr_ifs >> 18) & 0x7f;
regs              330 arch/ia64/kernel/unaligned.c 	       r1, sw->ar_bspstore, regs->ar_bspstore, sof, (regs->cr_ifs >> 7) & 0x7f, ridx);
regs              349 arch/ia64/kernel/unaligned.c 	if (!user_stack(current, regs)) {
regs              354 arch/ia64/kernel/unaligned.c 	bspstore = (unsigned long *)regs->ar_bspstore;
regs              381 arch/ia64/kernel/unaligned.c get_rse_reg (struct pt_regs *regs, unsigned long r1, unsigned long *val, int *nat)
regs              383 arch/ia64/kernel/unaligned.c 	struct switch_stack *sw = (struct switch_stack *) regs - 1;
regs              388 arch/ia64/kernel/unaligned.c 	long sof = (regs->cr_ifs) & 0x7f;
regs              389 arch/ia64/kernel/unaligned.c 	long sor = 8 * ((regs->cr_ifs >> 14) & 0xf);
regs              390 arch/ia64/kernel/unaligned.c 	long rrb_gr = (regs->cr_ifs >> 18) & 0x7f;
regs              403 arch/ia64/kernel/unaligned.c 	       r1, sw->ar_bspstore, regs->ar_bspstore, sof, (regs->cr_ifs >> 7) & 0x7f, ridx);
regs              420 arch/ia64/kernel/unaligned.c 	if (!user_stack(current, regs)) {
regs              425 arch/ia64/kernel/unaligned.c 	bspstore = (unsigned long *)regs->ar_bspstore;
regs              454 arch/ia64/kernel/unaligned.c setreg (unsigned long regnum, unsigned long val, int nat, struct pt_regs *regs)
regs              456 arch/ia64/kernel/unaligned.c 	struct switch_stack *sw = (struct switch_stack *) regs - 1;
regs              465 arch/ia64/kernel/unaligned.c 		set_rse_reg(regs, regnum, val, nat);
regs              481 arch/ia64/kernel/unaligned.c 		addr = (unsigned long)regs;
regs              513 arch/ia64/kernel/unaligned.c fph_index (struct pt_regs *regs, long regnum)
regs              515 arch/ia64/kernel/unaligned.c 	unsigned long rrb_fr = (regs->cr_ifs >> 25) & 0x7f;
regs              520 arch/ia64/kernel/unaligned.c setfpreg (unsigned long regnum, struct ia64_fpreg *fpval, struct pt_regs *regs)
regs              522 arch/ia64/kernel/unaligned.c 	struct switch_stack *sw = (struct switch_stack *)regs - 1;
regs              538 arch/ia64/kernel/unaligned.c 		current->thread.fph[fph_index(regs, regnum)] = *fpval;
regs              546 arch/ia64/kernel/unaligned.c 			addr = (unsigned long)regs;
regs              560 arch/ia64/kernel/unaligned.c 		regs->cr_ipsr |= IA64_PSR_MFL;
regs              581 arch/ia64/kernel/unaligned.c getfpreg (unsigned long regnum, struct ia64_fpreg *fpval, struct pt_regs *regs)
regs              583 arch/ia64/kernel/unaligned.c 	struct switch_stack *sw = (struct switch_stack *) regs - 1;
regs              597 arch/ia64/kernel/unaligned.c 		*fpval = current->thread.fph[fph_index(regs, regnum)];
regs              615 arch/ia64/kernel/unaligned.c 						 : (unsigned long)regs;
regs              628 arch/ia64/kernel/unaligned.c getreg (unsigned long regnum, unsigned long *val, int *nat, struct pt_regs *regs)
regs              630 arch/ia64/kernel/unaligned.c 	struct switch_stack *sw = (struct switch_stack *) regs - 1;
regs              634 arch/ia64/kernel/unaligned.c 		get_rse_reg(regs, regnum, val, nat);
regs              655 arch/ia64/kernel/unaligned.c 		addr = (unsigned long)regs;
regs              673 arch/ia64/kernel/unaligned.c emulate_load_updates (update_t type, load_store_t ld, struct pt_regs *regs, unsigned long ifa)
regs              684 arch/ia64/kernel/unaligned.c 				  regs, 30))
regs              715 arch/ia64/kernel/unaligned.c 		setreg(ld.r3, ifa, 0, regs);
regs              739 arch/ia64/kernel/unaligned.c 		getreg(ld.imm, &r2, &nat_r2, regs);
regs              746 arch/ia64/kernel/unaligned.c 		setreg(ld.r3, ifa, nat_r2, regs);
regs              754 arch/ia64/kernel/unaligned.c emulate_load_int (unsigned long ifa, load_store_t ld, struct pt_regs *regs)
regs              779 arch/ia64/kernel/unaligned.c 	setreg(ld.r1, val, 0, regs);
regs              785 arch/ia64/kernel/unaligned.c 		emulate_load_updates(ld.op == 0x5 ? UPD_IMMEDIATE: UPD_REG, ld, regs, ifa);
regs              875 arch/ia64/kernel/unaligned.c emulate_store_int (unsigned long ifa, load_store_t ld, struct pt_regs *regs)
regs              886 arch/ia64/kernel/unaligned.c 	getreg(ld.imm, &r2, NULL, regs);
regs              932 arch/ia64/kernel/unaligned.c 		setreg(ld.r3, ifa, 0, regs);
regs             1024 arch/ia64/kernel/unaligned.c emulate_load_floatpair (unsigned long ifa, load_store_t ld, struct pt_regs *regs)
regs             1089 arch/ia64/kernel/unaligned.c 		setfpreg(ld.r1, &fpr_final[0], regs);
regs             1090 arch/ia64/kernel/unaligned.c 		setfpreg(ld.imm, &fpr_final[1], regs);
regs             1114 arch/ia64/kernel/unaligned.c 		setreg(ld.r3, ifa, 0, regs);
regs             1129 arch/ia64/kernel/unaligned.c emulate_load_float (unsigned long ifa, load_store_t ld, struct pt_regs *regs)
regs             1185 arch/ia64/kernel/unaligned.c 		setfpreg(ld.r1, &fpr_final, regs);
regs             1192 arch/ia64/kernel/unaligned.c 		emulate_load_updates(ld.op == 0x7 ? UPD_IMMEDIATE: UPD_REG, ld, regs, ifa);
regs             1205 arch/ia64/kernel/unaligned.c emulate_store_float (unsigned long ifa, load_store_t ld, struct pt_regs *regs)
regs             1223 arch/ia64/kernel/unaligned.c 	getfpreg(ld.imm, &fpr_init, regs);
regs             1276 arch/ia64/kernel/unaligned.c 		setreg(ld.r3, ifa, 0, regs);
regs             1295 arch/ia64/kernel/unaligned.c ia64_handle_unaligned (unsigned long ifa, struct pt_regs *regs)
regs             1297 arch/ia64/kernel/unaligned.c 	struct ia64_psr *ipsr = ia64_psr(regs);
regs             1308 arch/ia64/kernel/unaligned.c 	if (ia64_psr(regs)->be) {
regs             1310 arch/ia64/kernel/unaligned.c 		if (die_if_kernel("big-endian unaligned accesses are not supported", regs, 0))
regs             1320 arch/ia64/kernel/unaligned.c 	if (!user_mode(regs))
regs             1321 arch/ia64/kernel/unaligned.c 		eh = search_exception_tables(regs->cr_iip + ia64_psr(regs)->ri);
regs             1322 arch/ia64/kernel/unaligned.c 	if (user_mode(regs) || eh) {
regs             1336 arch/ia64/kernel/unaligned.c 				      ifa, regs->cr_iip + ipsr->ri);
regs             1341 arch/ia64/kernel/unaligned.c 			if (user_mode(regs)) {
regs             1366 arch/ia64/kernel/unaligned.c 			       ifa, regs->cr_iip + ipsr->ri);
regs             1374 arch/ia64/kernel/unaligned.c 	       regs->cr_iip, ifa, regs->cr_ipsr, ipsr->ri, ipsr->it);
regs             1376 arch/ia64/kernel/unaligned.c 	if (__copy_from_user(bundle, (void __user *) regs->cr_iip, 16))
regs             1449 arch/ia64/kernel/unaligned.c 		regs->cr_ipsr |= IA64_PSR_ED;
regs             1470 arch/ia64/kernel/unaligned.c 		ret = emulate_load_int(ifa, u.insn, regs);
regs             1481 arch/ia64/kernel/unaligned.c 		ret = emulate_store_int(ifa, u.insn, regs);
regs             1489 arch/ia64/kernel/unaligned.c 			ret = emulate_load_floatpair(ifa, u.insn, regs);
regs             1491 arch/ia64/kernel/unaligned.c 			ret = emulate_load_float(ifa, u.insn, regs);
regs             1498 arch/ia64/kernel/unaligned.c 		ret = emulate_load_float(ifa, u.insn, regs);
regs             1503 arch/ia64/kernel/unaligned.c 		ret = emulate_store_float(ifa, u.insn, regs);
regs             1519 arch/ia64/kernel/unaligned.c 		regs->cr_iip += 16;
regs             1522 arch/ia64/kernel/unaligned.c 	DPRINT("ipsr->ri=%d iip=%lx\n", ipsr->ri, regs->cr_iip);
regs             1529 arch/ia64/kernel/unaligned.c 	if (!user_mode(regs)) {
regs             1531 arch/ia64/kernel/unaligned.c 			ia64_handle_exception(regs, eh);
regs             1534 arch/ia64/kernel/unaligned.c 		if (die_if_kernel("error during unaligned kernel access\n", regs, ret))
regs              776 arch/ia64/kernel/unwind.c 		struct unw_reg_info *(regs[3]);
regs              778 arch/ia64/kernel/unwind.c 		regs[0] = sr->curr.reg + UNW_REG_F2;
regs              779 arch/ia64/kernel/unwind.c 		regs[1] = sr->curr.reg + UNW_REG_R4;
regs              780 arch/ia64/kernel/unwind.c 		regs[2] = sr->curr.reg + UNW_REG_B1;
regs              787 arch/ia64/kernel/unwind.c 				spill_next_when(&regs[kind - 1], sr->curr.reg + limit[kind - 1],
regs               15 arch/ia64/mm/extable.c ia64_handle_exception (struct pt_regs *regs, const struct exception_table_entry *e)
regs               19 arch/ia64/mm/extable.c 	regs->r8 = -EFAULT;
regs               21 arch/ia64/mm/extable.c 		regs->r9 = 0;
regs               22 arch/ia64/mm/extable.c 	regs->cr_iip = fix & ~0xf;
regs               23 arch/ia64/mm/extable.c 	ia64_psr(regs)->ri = fix & 0x3;		/* set continuation slot number */
regs               61 arch/ia64/mm/fault.c ia64_do_page_fault (unsigned long address, unsigned long isr, struct pt_regs *regs)
regs               90 arch/ia64/mm/fault.c 	if ((REGION_NUMBER(address) == 5) && !user_mode(regs))
regs               97 arch/ia64/mm/fault.c 	if (kprobe_page_fault(regs, TRAP_BRKPT))
regs              100 arch/ia64/mm/fault.c 	if (user_mode(regs))
regs              225 arch/ia64/mm/fault.c 		ia64_psr(regs)->ed = 1;
regs              228 arch/ia64/mm/fault.c 	if (user_mode(regs)) {
regs              243 arch/ia64/mm/fault.c 		ia64_psr(regs)->ed = 1;
regs              257 arch/ia64/mm/fault.c 	if (ia64_done_with_exception(regs))
regs              271 arch/ia64/mm/fault.c 	if (die("Oops", regs, isr))
regs              272 arch/ia64/mm/fault.c 		regs = NULL;
regs              274 arch/ia64/mm/fault.c 	if (regs)
regs              280 arch/ia64/mm/fault.c 	if (!user_mode(regs))
regs               29 arch/ia64/oprofile/backtrace.c 	struct pt_regs *regs;
regs               62 arch/ia64/oprofile/backtrace.c 	if (bt->prev_pfs_loc && bt->regs && bt->frame.pfs_loc == bt->prev_pfs_loc)
regs               63 arch/ia64/oprofile/backtrace.c 		bt->frame.pfs_loc = &bt->regs->ar_pfs;
regs               86 arch/ia64/oprofile/backtrace.c 		if (sp >= (u_long)bt->regs)
regs              112 arch/ia64/oprofile/backtrace.c ia64_backtrace(struct pt_regs * const regs, unsigned int depth)
regs              122 arch/ia64/oprofile/backtrace.c 	if (user_mode(regs))
regs              126 arch/ia64/oprofile/backtrace.c 	bt.regs = regs;
regs               17 arch/ia64/oprofile/init.c extern void ia64_backtrace(struct pt_regs * const regs, unsigned int depth);
regs               21 arch/ia64/oprofile/perfmon.c                 struct pt_regs *regs, unsigned long stamp)
regs               31 arch/ia64/oprofile/perfmon.c 		oprofile_add_sample(regs, event);
regs              113 arch/m68k/include/asm/dvma.h 	struct sparc_dma_registers *regs;
regs              197 arch/m68k/include/asm/dvma.h #define DMA_ERROR_P(regs)  ((((regs)->cond_reg) & DMA_HNDL_ERROR))
regs              198 arch/m68k/include/asm/dvma.h #define DMA_IRQ_P(regs)    ((((regs)->cond_reg) & (DMA_HNDL_INTR | DMA_HNDL_ERROR)))
regs              199 arch/m68k/include/asm/dvma.h #define DMA_WRITE_P(regs)  ((((regs)->cond_reg) & DMA_ST_WRITE))
regs              200 arch/m68k/include/asm/dvma.h #define DMA_OFF(regs)      ((((regs)->cond_reg) &= (~DMA_ENABLE)))
regs              201 arch/m68k/include/asm/dvma.h #define DMA_INTSOFF(regs)  ((((regs)->cond_reg) &= (~DMA_INT_ENAB)))
regs              202 arch/m68k/include/asm/dvma.h #define DMA_INTSON(regs)   ((((regs)->cond_reg) |= (DMA_INT_ENAB)))
regs              203 arch/m68k/include/asm/dvma.h #define DMA_PUNTFIFO(regs) ((((regs)->cond_reg) |= DMA_FIFO_INV))
regs              204 arch/m68k/include/asm/dvma.h #define DMA_SETSTART(regs, addr)  ((((regs)->st_addr) = (char *) addr))
regs              205 arch/m68k/include/asm/dvma.h #define DMA_BEGINDMA_W(regs) \
regs              206 arch/m68k/include/asm/dvma.h         ((((regs)->cond_reg |= (DMA_ST_WRITE|DMA_ENABLE|DMA_INT_ENAB))))
regs              207 arch/m68k/include/asm/dvma.h #define DMA_BEGINDMA_R(regs) \
regs              208 arch/m68k/include/asm/dvma.h         ((((regs)->cond_reg |= ((DMA_ENABLE|DMA_INT_ENAB)&(~DMA_ST_WRITE)))))
regs              225 arch/m68k/include/asm/dvma.h 	struct sparc_dma_registers *regs = dma->regs;                      \
regs              227 arch/m68k/include/asm/dvma.h 	sparc_dma_pause(regs, (DMA_FIFO_ISDRAIN));                         \
regs              229 arch/m68k/include/asm/dvma.h 	regs->cond_reg |= (DMA_RST_SCSI);     /* assert */                 \
regs              231 arch/m68k/include/asm/dvma.h 	regs->cond_reg &= ~(DMA_RST_SCSI);    /* de-assert */              \
regs              232 arch/m68k/include/asm/dvma.h 	sparc_dma_enable_interrupts(regs);    /* Re-enable interrupts */   \
regs              234 arch/m68k/include/asm/dvma.h 	if(dma->revision>dvmarev1) regs->cond_reg |= DMA_3CLKS;            \
regs               80 arch/m68k/include/asm/elf.h #define ELF_CORE_COPY_REGS(pr_reg, regs)				\
regs               82 arch/m68k/include/asm/elf.h 	pr_reg[0] = regs->d1;						\
regs               83 arch/m68k/include/asm/elf.h 	pr_reg[1] = regs->d2;						\
regs               84 arch/m68k/include/asm/elf.h 	pr_reg[2] = regs->d3;						\
regs               85 arch/m68k/include/asm/elf.h 	pr_reg[3] = regs->d4;						\
regs               86 arch/m68k/include/asm/elf.h 	pr_reg[4] = regs->d5;						\
regs               87 arch/m68k/include/asm/elf.h 	pr_reg[7] = regs->a0;						\
regs               88 arch/m68k/include/asm/elf.h 	pr_reg[8] = regs->a1;						\
regs               89 arch/m68k/include/asm/elf.h 	pr_reg[9] = regs->a2;						\
regs               90 arch/m68k/include/asm/elf.h 	pr_reg[14] = regs->d0;						\
regs               92 arch/m68k/include/asm/elf.h 	pr_reg[16] = regs->orig_d0;					\
regs               93 arch/m68k/include/asm/elf.h 	pr_reg[17] = regs->sr;						\
regs               94 arch/m68k/include/asm/elf.h 	pr_reg[18] = regs->pc;						\
regs               95 arch/m68k/include/asm/elf.h 	pr_reg[19] = (regs->format << 12) | regs->vector;		\
regs               97 arch/m68k/include/asm/elf.h 	  struct switch_stack *sw = ((struct switch_stack *)regs) - 1;	\
regs               11 arch/m68k/include/asm/flat.h #define FLAT_PLAT_INIT(regs) \
regs               14 arch/m68k/include/asm/flat.h 			(regs)->d5 = current->mm->start_data; \
regs               77 arch/m68k/include/asm/irq.h asmlinkage void do_IRQ(int irq, struct pt_regs *regs);
regs              110 arch/m68k/include/asm/mcfmmu.h int cf_tlb_miss(struct pt_regs *regs, int write, int dtlb, int extension_word);
regs              111 arch/m68k/include/asm/processor.h static inline void start_thread(struct pt_regs * regs, unsigned long pc,
regs              114 arch/m68k/include/asm/processor.h 	regs->pc = pc;
regs              115 arch/m68k/include/asm/processor.h 	regs->sr &= ~0x2000;
regs              116 arch/m68k/include/asm/processor.h 	setframeformat(regs);
regs               14 arch/m68k/include/asm/ptrace.h #define user_mode(regs) (!((regs)->sr & PS_S))
regs               15 arch/m68k/include/asm/ptrace.h #define instruction_pointer(regs) ((regs)->pc)
regs               16 arch/m68k/include/asm/ptrace.h #define profile_pc(regs) instruction_pointer(regs)
regs               60 arch/m68k/include/asm/user.h   struct user_regs_struct regs;	/* Where the registers are actually stored */
regs              165 arch/m68k/kernel/ints.c asmlinkage void handle_badint(struct pt_regs *regs)
regs              168 arch/m68k/kernel/ints.c 	pr_warn("unexpected interrupt from %u\n", regs->vector);
regs               20 arch/m68k/kernel/irq.c asmlinkage void do_IRQ(int irq, struct pt_regs *regs)
regs               22 arch/m68k/kernel/irq.c 	struct pt_regs *oldregs = set_irq_regs(regs);
regs               30 arch/m68k/kernel/machine_kexec.c void machine_crash_shutdown(struct pt_regs *regs)
regs               78 arch/m68k/kernel/process.c void show_regs(struct pt_regs * regs)
regs               81 arch/m68k/kernel/process.c 		regs->format, regs->vector, regs->pc, regs->sr,
regs               84 arch/m68k/kernel/process.c 		regs->orig_d0, regs->d0, regs->a2, regs->a1);
regs               85 arch/m68k/kernel/process.c 	pr_info("A0: %08lx  D5: %08lx  D4: %08lx\n", regs->a0, regs->d5,
regs               86 arch/m68k/kernel/process.c 		regs->d4);
regs               87 arch/m68k/kernel/process.c 	pr_info("D3: %08lx  D2: %08lx  D1: %08lx\n", regs->d3, regs->d2,
regs               88 arch/m68k/kernel/process.c 		regs->d1);
regs               89 arch/m68k/kernel/process.c 	if (!(regs->sr & PS_S))
regs              115 arch/m68k/kernel/process.c asmlinkage int m68k_clone(struct pt_regs *regs)
regs              118 arch/m68k/kernel/process.c 	return do_fork(regs->d1, regs->d2, 0,
regs              119 arch/m68k/kernel/process.c 		       (int __user *)regs->d3, (int __user *)regs->d4);
regs              127 arch/m68k/kernel/process.c 		struct pt_regs regs;
regs              133 arch/m68k/kernel/process.c 	p->thread.esp0 = (unsigned long)&frame->regs;
regs              144 arch/m68k/kernel/process.c 		frame->regs.sr = PS_S;
regs              151 arch/m68k/kernel/process.c 	memcpy(frame, container_of(current_pt_regs(), struct fork_frame, regs),
regs              153 arch/m68k/kernel/process.c 	frame->regs.d0 = 0;
regs              158 arch/m68k/kernel/process.c 		task_thread_info(p)->tp_value = frame->regs.d5;
regs              196 arch/m68k/kernel/process.c int dump_fpu (struct pt_regs *regs, struct user_m68kfp_struct *fpu)
regs               91 arch/m68k/kernel/signal.c int fixup_exception(struct pt_regs *regs)
regs               97 arch/m68k/kernel/signal.c 	fixup = search_exception_tables(regs->pc);
regs              102 arch/m68k/kernel/signal.c 	regs->stkadj = frame_extra_sizes(regs->format);
regs              103 arch/m68k/kernel/signal.c 	tregs =	(struct pt_regs *)((long)regs + regs->stkadj);
regs              104 arch/m68k/kernel/signal.c 	tregs->vector = regs->vector;
regs              107 arch/m68k/kernel/signal.c 	tregs->sr = regs->sr;
regs              179 arch/m68k/kernel/signal.c static inline void adjustformat(struct pt_regs *regs)
regs              183 arch/m68k/kernel/signal.c static inline void save_a5_state(struct sigcontext *sc, struct pt_regs *regs)
regs              198 arch/m68k/kernel/signal.c static inline void adjustformat(struct pt_regs *regs)
regs              204 arch/m68k/kernel/signal.c 	regs->format = 0x4;
regs              207 arch/m68k/kernel/signal.c static inline void save_a5_state(struct sigcontext *sc, struct pt_regs *regs)
regs              209 arch/m68k/kernel/signal.c 	sc->sc_a5 = ((struct switch_stack *)regs - 1)->a5;
regs              430 arch/m68k/kernel/signal.c static inline void save_fpu_state(struct sigcontext *sc, struct pt_regs *regs)
regs              452 arch/m68k/kernel/signal.c 		    regs->vector >= (VEC_FPBRUC * 4) &&
regs              453 arch/m68k/kernel/signal.c 		    regs->vector <= (VEC_FPNAN * 4)) {
regs              483 arch/m68k/kernel/signal.c static inline int rt_save_fpu_state(struct ucontext __user *uc, struct pt_regs *regs)
regs              515 arch/m68k/kernel/signal.c 		    regs->vector >= (VEC_FPBRUC * 4) &&
regs              516 arch/m68k/kernel/signal.c 		    regs->vector <= (VEC_FPNAN * 4)) {
regs              566 arch/m68k/kernel/signal.c static inline void save_fpu_state(struct sigcontext *sc, struct pt_regs *regs)
regs              570 arch/m68k/kernel/signal.c static inline int rt_save_fpu_state(struct ucontext __user *uc, struct pt_regs *regs)
regs              638 arch/m68k/kernel/signal.c static int mangle_kernel_stack(struct pt_regs *regs, int formatvec,
regs              650 arch/m68k/kernel/signal.c 		regs->format = formatvec >> 12;
regs              651 arch/m68k/kernel/signal.c 		regs->vector = formatvec & 0xfff;
regs              653 arch/m68k/kernel/signal.c 		struct switch_stack *sw = (struct switch_stack *)regs - 1;
regs              662 arch/m68k/kernel/signal.c 		regs->format = formatvec >> 12;
regs              663 arch/m68k/kernel/signal.c 		regs->vector = formatvec & 0xfff;
regs              694 arch/m68k/kernel/signal.c restore_sigcontext(struct pt_regs *regs, struct sigcontext __user *usc, void __user *fp)
regs              710 arch/m68k/kernel/signal.c 	regs->d0 = context.sc_d0;
regs              711 arch/m68k/kernel/signal.c 	regs->d1 = context.sc_d1;
regs              712 arch/m68k/kernel/signal.c 	regs->a0 = context.sc_a0;
regs              713 arch/m68k/kernel/signal.c 	regs->a1 = context.sc_a1;
regs              714 arch/m68k/kernel/signal.c 	regs->sr = (regs->sr & 0xff00) | (context.sc_sr & 0xff);
regs              715 arch/m68k/kernel/signal.c 	regs->pc = context.sc_pc;
regs              716 arch/m68k/kernel/signal.c 	regs->orig_d0 = -1;		/* disable syscall checks */
regs              722 arch/m68k/kernel/signal.c 	if (err || mangle_kernel_stack(regs, formatvec, fp))
regs              732 arch/m68k/kernel/signal.c rt_restore_ucontext(struct pt_regs *regs, struct switch_stack *sw,
regs              747 arch/m68k/kernel/signal.c 	err |= __get_user(regs->d0, &gregs[0]);
regs              748 arch/m68k/kernel/signal.c 	err |= __get_user(regs->d1, &gregs[1]);
regs              749 arch/m68k/kernel/signal.c 	err |= __get_user(regs->d2, &gregs[2]);
regs              750 arch/m68k/kernel/signal.c 	err |= __get_user(regs->d3, &gregs[3]);
regs              751 arch/m68k/kernel/signal.c 	err |= __get_user(regs->d4, &gregs[4]);
regs              752 arch/m68k/kernel/signal.c 	err |= __get_user(regs->d5, &gregs[5]);
regs              755 arch/m68k/kernel/signal.c 	err |= __get_user(regs->a0, &gregs[8]);
regs              756 arch/m68k/kernel/signal.c 	err |= __get_user(regs->a1, &gregs[9]);
regs              757 arch/m68k/kernel/signal.c 	err |= __get_user(regs->a2, &gregs[10]);
regs              764 arch/m68k/kernel/signal.c 	err |= __get_user(regs->pc, &gregs[16]);
regs              766 arch/m68k/kernel/signal.c 	regs->sr = (regs->sr & 0xff00) | (temp & 0xff);
regs              767 arch/m68k/kernel/signal.c 	regs->orig_d0 = -1;		/* disable syscall checks */
regs              776 arch/m68k/kernel/signal.c 	if (mangle_kernel_stack(regs, temp, &uc->uc_extra))
regs              785 arch/m68k/kernel/signal.c asmlinkage int do_sigreturn(struct pt_regs *regs, struct switch_stack *sw)
regs              801 arch/m68k/kernel/signal.c 	if (restore_sigcontext(regs, &frame->sc, frame + 1))
regs              803 arch/m68k/kernel/signal.c 	return regs->d0;
regs              810 arch/m68k/kernel/signal.c asmlinkage int do_rt_sigreturn(struct pt_regs *regs, struct switch_stack *sw)
regs              823 arch/m68k/kernel/signal.c 	if (rt_restore_ucontext(regs, sw, &frame->uc))
regs              825 arch/m68k/kernel/signal.c 	return regs->d0;
regs              832 arch/m68k/kernel/signal.c static void setup_sigcontext(struct sigcontext *sc, struct pt_regs *regs,
regs              837 arch/m68k/kernel/signal.c 	sc->sc_d0 = regs->d0;
regs              838 arch/m68k/kernel/signal.c 	sc->sc_d1 = regs->d1;
regs              839 arch/m68k/kernel/signal.c 	sc->sc_a0 = regs->a0;
regs              840 arch/m68k/kernel/signal.c 	sc->sc_a1 = regs->a1;
regs              841 arch/m68k/kernel/signal.c 	sc->sc_sr = regs->sr;
regs              842 arch/m68k/kernel/signal.c 	sc->sc_pc = regs->pc;
regs              843 arch/m68k/kernel/signal.c 	sc->sc_formatvec = regs->format << 12 | regs->vector;
regs              844 arch/m68k/kernel/signal.c 	save_a5_state(sc, regs);
regs              845 arch/m68k/kernel/signal.c 	save_fpu_state(sc, regs);
regs              848 arch/m68k/kernel/signal.c static inline int rt_setup_ucontext(struct ucontext __user *uc, struct pt_regs *regs)
regs              850 arch/m68k/kernel/signal.c 	struct switch_stack *sw = (struct switch_stack *)regs - 1;
regs              855 arch/m68k/kernel/signal.c 	err |= __put_user(regs->d0, &gregs[0]);
regs              856 arch/m68k/kernel/signal.c 	err |= __put_user(regs->d1, &gregs[1]);
regs              857 arch/m68k/kernel/signal.c 	err |= __put_user(regs->d2, &gregs[2]);
regs              858 arch/m68k/kernel/signal.c 	err |= __put_user(regs->d3, &gregs[3]);
regs              859 arch/m68k/kernel/signal.c 	err |= __put_user(regs->d4, &gregs[4]);
regs              860 arch/m68k/kernel/signal.c 	err |= __put_user(regs->d5, &gregs[5]);
regs              863 arch/m68k/kernel/signal.c 	err |= __put_user(regs->a0, &gregs[8]);
regs              864 arch/m68k/kernel/signal.c 	err |= __put_user(regs->a1, &gregs[9]);
regs              865 arch/m68k/kernel/signal.c 	err |= __put_user(regs->a2, &gregs[10]);
regs              871 arch/m68k/kernel/signal.c 	err |= __put_user(regs->pc, &gregs[16]);
regs              872 arch/m68k/kernel/signal.c 	err |= __put_user(regs->sr, &gregs[17]);
regs              873 arch/m68k/kernel/signal.c 	err |= __put_user((regs->format << 12) | regs->vector, &uc->uc_formatvec);
regs              874 arch/m68k/kernel/signal.c 	err |= rt_save_fpu_state(uc, regs);
regs              887 arch/m68k/kernel/signal.c 			struct pt_regs *regs)
regs              890 arch/m68k/kernel/signal.c 	int fsize = frame_extra_sizes(regs->format);
regs              896 arch/m68k/kernel/signal.c 			 regs->format);
regs              903 arch/m68k/kernel/signal.c 		err |= copy_to_user (frame + 1, regs + 1, fsize);
regs              907 arch/m68k/kernel/signal.c 	err |= __put_user(regs->vector, &frame->code);
regs              914 arch/m68k/kernel/signal.c 	setup_sigcontext(&context, regs, set->sig[0]);
regs              937 arch/m68k/kernel/signal.c 	regs->pc = (unsigned long) ksig->ka.sa.sa_handler;
regs              938 arch/m68k/kernel/signal.c 	adjustformat(regs);
regs              946 arch/m68k/kernel/signal.c 		regs->stkadj = fsize;
regs              949 arch/m68k/kernel/signal.c 	if (regs->stkadj) {
regs              951 arch/m68k/kernel/signal.c 			(struct pt_regs *)((ulong)regs + regs->stkadj);
regs              952 arch/m68k/kernel/signal.c 		pr_debug("Performing stackadjust=%04lx\n", regs->stkadj);
regs              957 arch/m68k/kernel/signal.c 		tregs->pc = regs->pc;
regs              958 arch/m68k/kernel/signal.c 		tregs->sr = regs->sr;
regs              964 arch/m68k/kernel/signal.c 			   struct pt_regs *regs)
regs              967 arch/m68k/kernel/signal.c 	int fsize = frame_extra_sizes(regs->format);
regs              972 arch/m68k/kernel/signal.c 			 regs->format);
regs              979 arch/m68k/kernel/signal.c 		err |= copy_to_user (&frame->uc.uc_extra, regs + 1, fsize);
regs              990 arch/m68k/kernel/signal.c 	err |= rt_setup_ucontext(&frame->uc, regs);
regs             1021 arch/m68k/kernel/signal.c 	regs->pc = (unsigned long) ksig->ka.sa.sa_handler;
regs             1022 arch/m68k/kernel/signal.c 	adjustformat(regs);
regs             1030 arch/m68k/kernel/signal.c 		regs->stkadj = fsize;
regs             1033 arch/m68k/kernel/signal.c 	if (regs->stkadj) {
regs             1035 arch/m68k/kernel/signal.c 			(struct pt_regs *)((ulong)regs + regs->stkadj);
regs             1036 arch/m68k/kernel/signal.c 		pr_debug("Performing stackadjust=%04lx\n", regs->stkadj);
regs             1041 arch/m68k/kernel/signal.c 		tregs->pc = regs->pc;
regs             1042 arch/m68k/kernel/signal.c 		tregs->sr = regs->sr;
regs             1048 arch/m68k/kernel/signal.c handle_restart(struct pt_regs *regs, struct k_sigaction *ka, int has_handler)
regs             1050 arch/m68k/kernel/signal.c 	switch (regs->d0) {
regs             1054 arch/m68k/kernel/signal.c 		regs->d0 = -EINTR;
regs             1059 arch/m68k/kernel/signal.c 			regs->d0 = __NR_restart_syscall;
regs             1060 arch/m68k/kernel/signal.c 			regs->pc -= 2;
regs             1063 arch/m68k/kernel/signal.c 		regs->d0 = -EINTR;
regs             1068 arch/m68k/kernel/signal.c 			regs->d0 = -EINTR;
regs             1074 arch/m68k/kernel/signal.c 		regs->d0 = regs->orig_d0;
regs             1075 arch/m68k/kernel/signal.c 		regs->pc -= 2;
regs             1084 arch/m68k/kernel/signal.c handle_signal(struct ksignal *ksig, struct pt_regs *regs)
regs             1089 arch/m68k/kernel/signal.c 	if (regs->orig_d0 >= 0)
regs             1091 arch/m68k/kernel/signal.c 		handle_restart(regs, &ksig->ka, 1);
regs             1095 arch/m68k/kernel/signal.c 		err = setup_rt_frame(ksig, oldset, regs);
regs             1097 arch/m68k/kernel/signal.c 		err = setup_frame(ksig, oldset, regs);
regs             1102 arch/m68k/kernel/signal.c 		regs->sr &= ~0x8000;
regs             1112 arch/m68k/kernel/signal.c static void do_signal(struct pt_regs *regs)
regs             1116 arch/m68k/kernel/signal.c 	current->thread.esp0 = (unsigned long) regs;
regs             1120 arch/m68k/kernel/signal.c 		handle_signal(&ksig, regs);
regs             1125 arch/m68k/kernel/signal.c 	if (regs->orig_d0 >= 0)
regs             1127 arch/m68k/kernel/signal.c 		handle_restart(regs, NULL, 0);
regs             1133 arch/m68k/kernel/signal.c void do_notify_resume(struct pt_regs *regs)
regs             1136 arch/m68k/kernel/signal.c 		do_signal(regs);
regs             1139 arch/m68k/kernel/signal.c 		tracehook_notify_resume(regs);
regs               37 arch/m68k/kernel/sys_m68k.c asmlinkage int do_page_fault(struct pt_regs *regs, unsigned long address,
regs              126 arch/m68k/kernel/traps.c asmlinkage int do_page_fault(struct pt_regs *regs, unsigned long address,
regs              128 arch/m68k/kernel/traps.c int send_fault_sig(struct pt_regs *regs);
regs              846 arch/m68k/kernel/traps.c void show_registers(struct pt_regs *regs)
regs              848 arch/m68k/kernel/traps.c 	struct frame *fp = (struct frame *)regs;
regs              855 arch/m68k/kernel/traps.c 	pr_info("PC: [<%08lx>] %pS\n", regs->pc, (void *)regs->pc);
regs              856 arch/m68k/kernel/traps.c 	pr_info("SR: %04x  SP: %p  a2: %08lx\n", regs->sr, regs, regs->a2);
regs              858 arch/m68k/kernel/traps.c 	       regs->d0, regs->d1, regs->d2, regs->d3);
regs              860 arch/m68k/kernel/traps.c 	       regs->d4, regs->d5, regs->a0, regs->a1);
regs              865 arch/m68k/kernel/traps.c 	pr_info("Frame format=%X ", regs->format);
regs              866 arch/m68k/kernel/traps.c 	switch (regs->format) {
regs              923 arch/m68k/kernel/traps.c 	cp = (u16 *)regs->pc;
regs               22 arch/m68k/mm/fault.c int send_fault_sig(struct pt_regs *regs)
regs               32 arch/m68k/mm/fault.c 	if (user_mode(regs)) {
regs               35 arch/m68k/mm/fault.c 		if (fixup_exception(regs))
regs               50 arch/m68k/mm/fault.c 		die_if_kernel("Oops", regs, 0 /*error_code*/);
regs               68 arch/m68k/mm/fault.c int do_page_fault(struct pt_regs *regs, unsigned long address,
regs               77 arch/m68k/mm/fault.c 		regs->sr, regs->pc, address, error_code, mm ? mm->pgd : NULL);
regs               86 arch/m68k/mm/fault.c 	if (user_mode(regs))
regs              100 arch/m68k/mm/fault.c 	if (user_mode(regs)) {
regs              189 arch/m68k/mm/fault.c 	if (!user_mode(regs))
regs              197 arch/m68k/mm/fault.c 	return send_fault_sig(regs);
regs              218 arch/m68k/mm/fault.c 	return send_fault_sig(regs);
regs               90 arch/m68k/mm/mcfmmu.c int cf_tlb_miss(struct pt_regs *regs, int write, int dtlb, int extension_word)
regs              102 arch/m68k/mm/mcfmmu.c 		regs->pc + (extension_word * sizeof(long));
regs              104 arch/m68k/mm/mcfmmu.c 	mm = (!user_mode(regs) && KMAPAREA(mmuar)) ? &init_mm : current->mm;
regs               34 arch/microblaze/include/asm/entry.h extern asmlinkage void do_notify_resume(struct pt_regs *regs, int in_syscall);
regs               66 arch/microblaze/include/asm/exceptions.h asmlinkage void full_exception(struct pt_regs *regs, unsigned int type,
regs               69 arch/microblaze/include/asm/exceptions.h asmlinkage void sw_exception(struct pt_regs *regs);
regs               70 arch/microblaze/include/asm/exceptions.h void bad_page_fault(struct pt_regs *regs, unsigned long address, int sig);
regs               73 arch/microblaze/include/asm/exceptions.h void _exception(int signr, struct pt_regs *regs, int code, unsigned long addr);
regs               16 arch/microblaze/include/asm/irq.h extern void do_IRQ(struct pt_regs *regs);
regs               28 arch/microblaze/include/asm/kgdb.h asmlinkage void microblaze_kgdb_break(struct pt_regs *regs);
regs              527 arch/microblaze/include/asm/pgtable.h void do_page_fault(struct pt_regs *regs, unsigned long address,
regs               30 arch/microblaze/include/asm/processor.h void start_thread(struct pt_regs *regs, unsigned long pc, unsigned long usp);
regs               97 arch/microblaze/include/asm/processor.h 	struct pt_regs	*regs;		/* Pointer to saved register state */
regs               14 arch/microblaze/include/asm/ptrace.h #define kernel_mode(regs)		((regs)->pt_mode)
regs               15 arch/microblaze/include/asm/ptrace.h #define user_mode(regs)			(!kernel_mode(regs))
regs               17 arch/microblaze/include/asm/ptrace.h #define instruction_pointer(regs)	((regs)->pc)
regs               18 arch/microblaze/include/asm/ptrace.h #define profile_pc(regs)		instruction_pointer(regs)
regs               19 arch/microblaze/include/asm/ptrace.h #define user_stack_pointer(regs)	((regs)->r1)
regs               21 arch/microblaze/include/asm/ptrace.h static inline long regs_return_value(struct pt_regs *regs)
regs               23 arch/microblaze/include/asm/ptrace.h 	return regs->r3;
regs               12 arch/microblaze/include/asm/syscall.h 				  struct pt_regs *regs)
regs               14 arch/microblaze/include/asm/syscall.h 	return regs->r12;
regs               18 arch/microblaze/include/asm/syscall.h 				    struct pt_regs *regs)
regs               24 arch/microblaze/include/asm/syscall.h 				     struct pt_regs *regs)
regs               26 arch/microblaze/include/asm/syscall.h 	return IS_ERR_VALUE(regs->r3) ? regs->r3 : 0;
regs               30 arch/microblaze/include/asm/syscall.h 					    struct pt_regs *regs)
regs               32 arch/microblaze/include/asm/syscall.h 	return regs->r3;
regs               36 arch/microblaze/include/asm/syscall.h 					    struct pt_regs *regs,
regs               40 arch/microblaze/include/asm/syscall.h 		regs->r3 = -error;
regs               42 arch/microblaze/include/asm/syscall.h 		regs->r3 = val;
regs               45 arch/microblaze/include/asm/syscall.h static inline microblaze_reg_t microblaze_get_syscall_arg(struct pt_regs *regs,
regs               49 arch/microblaze/include/asm/syscall.h 	case 5: return regs->r10;
regs               50 arch/microblaze/include/asm/syscall.h 	case 4: return regs->r9;
regs               51 arch/microblaze/include/asm/syscall.h 	case 3: return regs->r8;
regs               52 arch/microblaze/include/asm/syscall.h 	case 2: return regs->r7;
regs               53 arch/microblaze/include/asm/syscall.h 	case 1: return regs->r6;
regs               54 arch/microblaze/include/asm/syscall.h 	case 0: return regs->r5;
regs               61 arch/microblaze/include/asm/syscall.h static inline void microblaze_set_syscall_arg(struct pt_regs *regs,
regs               67 arch/microblaze/include/asm/syscall.h 		regs->r10 = val;
regs               69 arch/microblaze/include/asm/syscall.h 		regs->r9 = val;
regs               71 arch/microblaze/include/asm/syscall.h 		regs->r8 = val;
regs               73 arch/microblaze/include/asm/syscall.h 		regs->r7 = val;
regs               75 arch/microblaze/include/asm/syscall.h 		regs->r6 = val;
regs               77 arch/microblaze/include/asm/syscall.h 		regs->r5 = val;
regs               84 arch/microblaze/include/asm/syscall.h 					 struct pt_regs *regs,
regs               91 arch/microblaze/include/asm/syscall.h 		*args++ = microblaze_get_syscall_arg(regs, i++);
regs               95 arch/microblaze/include/asm/syscall.h 					 struct pt_regs *regs,
regs              102 arch/microblaze/include/asm/syscall.h 		microblaze_set_syscall_arg(regs, i++, *args++);
regs              105 arch/microblaze/include/asm/syscall.h asmlinkage unsigned long do_syscall_trace_enter(struct pt_regs *regs);
regs              106 arch/microblaze/include/asm/syscall.h asmlinkage void do_syscall_trace_leave(struct pt_regs *regs);
regs               17 arch/microblaze/include/uapi/asm/sigcontext.h 	struct pt_regs regs;
regs               54 arch/microblaze/kernel/exceptions.c asmlinkage void sw_exception(struct pt_regs *regs)
regs               56 arch/microblaze/kernel/exceptions.c 	_exception(SIGTRAP, regs, TRAP_BRKPT, regs->r16);
regs               57 arch/microblaze/kernel/exceptions.c 	flush_dcache_range(regs->r16, regs->r16 + 0x4);
regs               58 arch/microblaze/kernel/exceptions.c 	flush_icache_range(regs->r16, regs->r16 + 0x4);
regs               61 arch/microblaze/kernel/exceptions.c void _exception(int signr, struct pt_regs *regs, int code, unsigned long addr)
regs               63 arch/microblaze/kernel/exceptions.c 	if (kernel_mode(regs))
regs               64 arch/microblaze/kernel/exceptions.c 		die("Exception in kernel mode", regs, signr);
regs               69 arch/microblaze/kernel/exceptions.c asmlinkage void full_exception(struct pt_regs *regs, unsigned int type,
regs               73 arch/microblaze/kernel/exceptions.c 	addr = regs->pc;
regs               78 arch/microblaze/kernel/exceptions.c 			type, user_mode(regs) ? "user" : "kernel", fsr,
regs               79 arch/microblaze/kernel/exceptions.c 			(unsigned int) regs->pc, (unsigned int) regs->esr);
regs               84 arch/microblaze/kernel/exceptions.c 		if (user_mode(regs)) {
regs               86 arch/microblaze/kernel/exceptions.c 			_exception(SIGILL, regs, ILL_ILLOPC, addr);
regs               90 arch/microblaze/kernel/exceptions.c 		die("opcode exception", regs, SIGBUS);
regs               93 arch/microblaze/kernel/exceptions.c 		if (user_mode(regs)) {
regs               95 arch/microblaze/kernel/exceptions.c 			_exception(SIGBUS, regs, BUS_ADRERR, addr);
regs               99 arch/microblaze/kernel/exceptions.c 		die("bus exception", regs, SIGBUS);
regs              102 arch/microblaze/kernel/exceptions.c 		if (user_mode(regs)) {
regs              104 arch/microblaze/kernel/exceptions.c 			_exception(SIGBUS, regs, BUS_ADRERR, addr);
regs              108 arch/microblaze/kernel/exceptions.c 		die("bus exception", regs, SIGBUS);
regs              111 arch/microblaze/kernel/exceptions.c 		if (user_mode(regs)) {
regs              113 arch/microblaze/kernel/exceptions.c 			_exception(SIGFPE, regs, FPE_INTDIV, addr);
regs              117 arch/microblaze/kernel/exceptions.c 		die("Divide by zero exception", regs, SIGBUS);
regs              133 arch/microblaze/kernel/exceptions.c 		_exception(SIGFPE, regs, fsr, addr);
regs              139 arch/microblaze/kernel/exceptions.c 		_exception(SIGILL, regs, ILL_PRVOPC, addr);
regs              146 arch/microblaze/kernel/exceptions.c 			kernel_mode(regs) ? "kernel" : "user");
regs               25 arch/microblaze/kernel/irq.c void __irq_entry do_IRQ(struct pt_regs *regs)
regs               28 arch/microblaze/kernel/irq.c 	struct pt_regs *old_regs = set_irq_regs(regs);
regs               37 arch/microblaze/kernel/kgdb.c void pt_regs_to_gdb_regs(unsigned long *gdb_regs, struct pt_regs *regs)
regs               40 arch/microblaze/kernel/kgdb.c 	unsigned long *pt_regb = (unsigned long *)regs;
regs               70 arch/microblaze/kernel/kgdb.c void gdb_regs_to_pt_regs(unsigned long *gdb_regs, struct pt_regs *regs)
regs               73 arch/microblaze/kernel/kgdb.c 	unsigned long *pt_regb = (unsigned long *)regs;
regs               82 arch/microblaze/kernel/kgdb.c asmlinkage void microblaze_kgdb_break(struct pt_regs *regs)
regs               84 arch/microblaze/kernel/kgdb.c 	if (kgdb_handle_exception(1, SIGTRAP, 0, regs) != 0)
regs               89 arch/microblaze/kernel/kgdb.c 	if (*(u32 *) (regs->pc) == *(u32 *) (&arch_kgdb_ops.gdb_bpt_instr))
regs               90 arch/microblaze/kernel/kgdb.c 		regs->pc += BREAK_INSTR_SIZE;
regs               97 arch/microblaze/kernel/kgdb.c 	unsigned long *pt_regb = (unsigned long *)(p->thread.regs);
regs              108 arch/microblaze/kernel/kgdb.c void kgdb_arch_set_pc(struct pt_regs *regs, unsigned long ip)
regs              110 arch/microblaze/kernel/kgdb.c 	regs->pc = ip;
regs              115 arch/microblaze/kernel/kgdb.c 			       struct pt_regs *regs)
regs              125 arch/microblaze/kernel/kgdb.c 			regs->pc = address;
regs               25 arch/microblaze/kernel/process.c void show_regs(struct pt_regs *regs)
regs               29 arch/microblaze/kernel/process.c 	pr_info(" Registers dump: mode=%X\r\n", regs->pt_mode);
regs               31 arch/microblaze/kernel/process.c 				regs->r1, regs->r2, regs->r3, regs->r4);
regs               33 arch/microblaze/kernel/process.c 				regs->r5, regs->r6, regs->r7, regs->r8);
regs               35 arch/microblaze/kernel/process.c 				regs->r9, regs->r10, regs->r11, regs->r12);
regs               37 arch/microblaze/kernel/process.c 				regs->r13, regs->r14, regs->r15, regs->r16);
regs               39 arch/microblaze/kernel/process.c 				regs->r17, regs->r18, regs->r19, regs->r20);
regs               41 arch/microblaze/kernel/process.c 				regs->r21, regs->r22, regs->r23, regs->r24);
regs               43 arch/microblaze/kernel/process.c 				regs->r25, regs->r26, regs->r27, regs->r28);
regs               45 arch/microblaze/kernel/process.c 				regs->r29, regs->r30, regs->r31, regs->pc);
regs               47 arch/microblaze/kernel/process.c 				regs->msr, regs->ear, regs->esr, regs->fsr);
regs              129 arch/microblaze/kernel/process.c void start_thread(struct pt_regs *regs, unsigned long pc, unsigned long usp)
regs              131 arch/microblaze/kernel/process.c 	regs->pc = pc;
regs              132 arch/microblaze/kernel/process.c 	regs->r1 = usp;
regs              133 arch/microblaze/kernel/process.c 	regs->pt_mode = 0;
regs              135 arch/microblaze/kernel/process.c 	regs->msr |= MSR_UMS;
regs              136 arch/microblaze/kernel/process.c 	regs->msr &= ~MSR_VM;
regs              145 arch/microblaze/kernel/process.c int dump_fpu(struct pt_regs *regs, elf_fpregset_t *fpregs)
regs               50 arch/microblaze/kernel/ptrace.c 	struct pt_regs *regs;
regs               73 arch/microblaze/kernel/ptrace.c 	regs = task_pt_regs(t);
regs               75 arch/microblaze/kernel/ptrace.c 	return (microblaze_reg_t *)((char *)regs + reg_offs);
regs              136 arch/microblaze/kernel/ptrace.c asmlinkage unsigned long do_syscall_trace_enter(struct pt_regs *regs)
regs              140 arch/microblaze/kernel/ptrace.c 	secure_computing_strict(regs->r12);
regs              143 arch/microblaze/kernel/ptrace.c 	    tracehook_report_syscall_entry(regs))
regs              151 arch/microblaze/kernel/ptrace.c 	audit_syscall_entry(regs->r12, regs->r5, regs->r6, regs->r7, regs->r8);
regs              153 arch/microblaze/kernel/ptrace.c 	return ret ?: regs->r12;
regs              156 arch/microblaze/kernel/ptrace.c asmlinkage void do_syscall_trace_leave(struct pt_regs *regs)
regs              160 arch/microblaze/kernel/ptrace.c 	audit_syscall_exit(regs);
regs              164 arch/microblaze/kernel/ptrace.c 		tracehook_report_syscall_exit(regs, step);
regs               59 arch/microblaze/kernel/signal.c static int restore_sigcontext(struct pt_regs *regs,
regs               64 arch/microblaze/kernel/signal.c #define COPY(x)		{err |= __get_user(regs->x, &sc->regs.x); }
regs               78 arch/microblaze/kernel/signal.c 	*rval_p = regs->r3;
regs               83 arch/microblaze/kernel/signal.c asmlinkage long sys_rt_sigreturn(struct pt_regs *regs)
regs               86 arch/microblaze/kernel/signal.c 		(struct rt_sigframe __user *)(regs->r1);
regs              102 arch/microblaze/kernel/signal.c 	if (restore_sigcontext(regs, &frame->uc.uc_mcontext, &rval))
regs              120 arch/microblaze/kernel/signal.c setup_sigcontext(struct sigcontext __user *sc, struct pt_regs *regs,
regs              125 arch/microblaze/kernel/signal.c #define COPY(x)		{err |= __put_user(regs->x, &sc->regs.x); }
regs              148 arch/microblaze/kernel/signal.c get_sigframe(struct ksignal *ksig, struct pt_regs *regs, size_t frame_size)
regs              151 arch/microblaze/kernel/signal.c 	unsigned long sp = sigsp(regs->r1, ksig);
regs              157 arch/microblaze/kernel/signal.c 			  struct pt_regs *regs)
regs              167 arch/microblaze/kernel/signal.c 	frame = get_sigframe(ksig, regs, sizeof(*frame));
regs              178 arch/microblaze/kernel/signal.c 	err |= __save_altstack(&frame->uc.uc_stack, regs->r1);
regs              180 arch/microblaze/kernel/signal.c 			regs, set->sig[0]);
regs              194 arch/microblaze/kernel/signal.c 	regs->r15 = ((unsigned long)frame->tramp)-8;
regs              223 arch/microblaze/kernel/signal.c 	regs->r1 = (unsigned long) frame;
regs              226 arch/microblaze/kernel/signal.c 	regs->r5 = sig; /* arg 0: signum */
regs              227 arch/microblaze/kernel/signal.c 	regs->r6 = (unsigned long) &frame->info; /* arg 1: siginfo */
regs              228 arch/microblaze/kernel/signal.c 	regs->r7 = (unsigned long) &frame->uc; /* arg2: ucontext */
regs              230 arch/microblaze/kernel/signal.c 	regs->pc = (unsigned long)ksig->ka.sa.sa_handler;
regs              234 arch/microblaze/kernel/signal.c 		current->comm, current->pid, frame, regs->pc);
regs              242 arch/microblaze/kernel/signal.c handle_restart(struct pt_regs *regs, struct k_sigaction *ka, int has_handler)
regs              244 arch/microblaze/kernel/signal.c 	switch (regs->r3) {
regs              249 arch/microblaze/kernel/signal.c 		regs->r3 = -EINTR;
regs              253 arch/microblaze/kernel/signal.c 			regs->r3 = -EINTR;
regs              260 arch/microblaze/kernel/signal.c 		regs->pc -= 4;
regs              270 arch/microblaze/kernel/signal.c handle_signal(struct ksignal *ksig, struct pt_regs *regs)
regs              276 arch/microblaze/kernel/signal.c 	ret = setup_rt_frame(ksig, oldset, regs);
regs              290 arch/microblaze/kernel/signal.c static void do_signal(struct pt_regs *regs, int in_syscall)
regs              295 arch/microblaze/kernel/signal.c 	pr_info("do signal: %p %d\n", regs, in_syscall);
regs              296 arch/microblaze/kernel/signal.c 	pr_info("do signal2: %lx %lx %ld [%lx]\n", regs->pc, regs->r1,
regs              297 arch/microblaze/kernel/signal.c 			regs->r12, current_thread_info()->flags);
regs              303 arch/microblaze/kernel/signal.c 			handle_restart(regs, &ksig.ka, 1);
regs              304 arch/microblaze/kernel/signal.c 		handle_signal(&ksig, regs);
regs              309 arch/microblaze/kernel/signal.c 		handle_restart(regs, NULL, 0);
regs              318 arch/microblaze/kernel/signal.c asmlinkage void do_notify_resume(struct pt_regs *regs, int in_syscall)
regs              321 arch/microblaze/kernel/signal.c 		do_signal(regs, in_syscall);
regs              324 arch/microblaze/kernel/signal.c 		tracehook_notify_resume(regs);
regs              173 arch/microblaze/kernel/unwind.c 	const struct pt_regs *regs = (const struct pt_regs *) fp;
regs              174 arch/microblaze/kernel/unwind.c 	microblaze_unwind_inner(task, regs->pc, regs->r1, regs->r15, trace);
regs              214 arch/microblaze/kernel/unwind.c 			const struct pt_regs *regs =
regs              219 arch/microblaze/kernel/unwind.c 			microblaze_unwind_inner(task, regs->r17 - 4,
regs              221 arch/microblaze/kernel/unwind.c 						regs->r15, trace);
regs              290 arch/microblaze/kernel/unwind.c 			const struct pt_regs *regs = task_pt_regs(task);
regs              291 arch/microblaze/kernel/unwind.c 			microblaze_unwind_inner(task, regs->pc, regs->r1,
regs              292 arch/microblaze/kernel/unwind.c 						regs->r15, trace);
regs               46 arch/microblaze/mm/fault.c static int store_updates_sp(struct pt_regs *regs)
regs               50 arch/microblaze/mm/fault.c 	if (get_user(inst, (unsigned int __user *)regs->pc))
regs               67 arch/microblaze/mm/fault.c void bad_page_fault(struct pt_regs *regs, unsigned long address, int sig)
regs               72 arch/microblaze/mm/fault.c 	fixup = search_exception_tables(regs->pc);
regs               74 arch/microblaze/mm/fault.c 		regs->pc = fixup->fixup;
regs               79 arch/microblaze/mm/fault.c 	die("kernel access of bad area", regs, sig);
regs               86 arch/microblaze/mm/fault.c void do_page_fault(struct pt_regs *regs, unsigned long address,
regs               96 arch/microblaze/mm/fault.c 	regs->ear = address;
regs               97 arch/microblaze/mm/fault.c 	regs->esr = error_code;
regs              100 arch/microblaze/mm/fault.c 	if (unlikely(kernel_mode(regs) && (address >= TASK_SIZE))) {
regs              102 arch/microblaze/mm/fault.c 		_exception(SIGSEGV, regs, code, address);
regs              110 arch/microblaze/mm/fault.c 		if (kernel_mode(regs))
regs              118 arch/microblaze/mm/fault.c 		       regs->r15, regs->msr);
regs              119 arch/microblaze/mm/fault.c 		die("Weird page fault", regs, SIGSEGV);
regs              122 arch/microblaze/mm/fault.c 	if (user_mode(regs))
regs              141 arch/microblaze/mm/fault.c 		if (kernel_mode(regs) && !search_exception_tables(regs->pc))
regs              173 arch/microblaze/mm/fault.c 		struct pt_regs *uregs = current->thread.regs;
regs              190 arch/microblaze/mm/fault.c 			&& (kernel_mode(regs) || !store_updates_sp(regs)))
regs              269 arch/microblaze/mm/fault.c 	if (user_mode(regs)) {
regs              270 arch/microblaze/mm/fault.c 		_exception(SIGSEGV, regs, code, address);
regs              274 arch/microblaze/mm/fault.c 	bad_page_fault(regs, address, SIGSEGV);
regs              283 arch/microblaze/mm/fault.c 	if (!user_mode(regs))
regs              284 arch/microblaze/mm/fault.c 		bad_page_fault(regs, address, SIGKILL);
regs              291 arch/microblaze/mm/fault.c 	if (user_mode(regs)) {
regs              295 arch/microblaze/mm/fault.c 	bad_page_fault(regs, address, SIGBUS);
regs               18 arch/mips/ar7/gpio.c 	void __iomem		*regs;
regs               25 arch/mips/ar7/gpio.c 	void __iomem *gpio_in = gpch->regs + AR7_GPIO_INPUT;
regs               33 arch/mips/ar7/gpio.c 	void __iomem *gpio_in0 = gpch->regs + TITAN_GPIO_INPUT_0;
regs               34 arch/mips/ar7/gpio.c 	void __iomem *gpio_in1 = gpch->regs + TITAN_GPIO_INPUT_1;
regs               43 arch/mips/ar7/gpio.c 	void __iomem *gpio_out = gpch->regs + AR7_GPIO_OUTPUT;
regs               56 arch/mips/ar7/gpio.c 	void __iomem *gpio_out0 = gpch->regs + TITAN_GPIO_OUTPUT_0;
regs               57 arch/mips/ar7/gpio.c 	void __iomem *gpio_out1 = gpch->regs + TITAN_GPIO_OUTPUT_1;
regs               69 arch/mips/ar7/gpio.c 	void __iomem *gpio_dir = gpch->regs + AR7_GPIO_DIR;
regs               79 arch/mips/ar7/gpio.c 	void __iomem *gpio_dir0 = gpch->regs + TITAN_GPIO_DIR_0;
regs               80 arch/mips/ar7/gpio.c 	void __iomem *gpio_dir1 = gpch->regs + TITAN_GPIO_DIR_1;
regs               94 arch/mips/ar7/gpio.c 	void __iomem *gpio_dir = gpch->regs + AR7_GPIO_DIR;
regs              106 arch/mips/ar7/gpio.c 	void __iomem *gpio_dir0 = gpch->regs + TITAN_GPIO_DIR_0;
regs              107 arch/mips/ar7/gpio.c 	void __iomem *gpio_dir1 = gpch->regs + TITAN_GPIO_DIR_1;
regs              145 arch/mips/ar7/gpio.c 	void __iomem *gpio_en = ar7_gpio_chip.regs + AR7_GPIO_ENABLE;
regs              154 arch/mips/ar7/gpio.c 	void __iomem *gpio_en0 = titan_gpio_chip.regs  + TITAN_GPIO_ENBL_0;
regs              155 arch/mips/ar7/gpio.c 	void __iomem *gpio_en1 = titan_gpio_chip.regs  + TITAN_GPIO_ENBL_1;
regs              172 arch/mips/ar7/gpio.c 	void __iomem *gpio_en = ar7_gpio_chip.regs + AR7_GPIO_ENABLE;
regs              181 arch/mips/ar7/gpio.c 	void __iomem *gpio_en0 = titan_gpio_chip.regs + TITAN_GPIO_ENBL_0;
regs              182 arch/mips/ar7/gpio.c 	void __iomem *gpio_en1 = titan_gpio_chip.regs + TITAN_GPIO_ENBL_1;
regs              311 arch/mips/ar7/gpio.c 	gpch->regs = ioremap_nocache(AR7_REGS_GPIO, size);
regs              312 arch/mips/ar7/gpio.c 	if (!gpch->regs) {
regs               41 arch/mips/bcm47xx/serial.c 		p->mapbase = (unsigned int)ssb_port->regs;
regs               42 arch/mips/bcm47xx/serial.c 		p->membase = (void *)ssb_port->regs;
regs               67 arch/mips/bcm47xx/serial.c 		p->mapbase = (unsigned int)bcma_port->regs;
regs               68 arch/mips/bcm47xx/serial.c 		p->membase = (void *)bcma_port->regs;
regs              267 arch/mips/cavium-octeon/setup.c static void octeon_crash_shutdown(struct pt_regs *regs)
regs              270 arch/mips/cavium-octeon/setup.c 	default_machine_crash_shutdown(regs);
regs               40 arch/mips/dec/ecc-berr.c static int dec_ecc_be_backend(struct pt_regs *regs, int is_fixup, int invoker)
regs              193 arch/mips/dec/ecc-berr.c int dec_ecc_be_handler(struct pt_regs *regs, int is_fixup)
regs              195 arch/mips/dec/ecc-berr.c 	return dec_ecc_be_backend(regs, is_fixup, 0);
regs              200 arch/mips/dec/ecc-berr.c 	struct pt_regs *regs = get_irq_regs();
regs              202 arch/mips/dec/ecc-berr.c 	int action = dec_ecc_be_backend(regs, 0, 1);
regs              215 arch/mips/dec/ecc-berr.c 	       regs->cp0_epc, regs->regs[31]);
regs              216 arch/mips/dec/ecc-berr.c 	die("Unrecoverable bus error", regs);
regs               60 arch/mips/dec/kn01-berr.c static int dec_kn01_be_backend(struct pt_regs *regs, int is_fixup, int invoker)
regs               74 arch/mips/dec/kn01-berr.c 	int data = regs->cp0_cause & 4;
regs               75 arch/mips/dec/kn01-berr.c 	unsigned int __user *pc = (unsigned int __user *)regs->cp0_epc +
regs               76 arch/mips/dec/kn01-berr.c 				  ((regs->cp0_cause & CAUSEF_BD) != 0);
regs              101 arch/mips/dec/kn01-berr.c 			vaddr = regs->regs[insn.i_format.rs] +
regs              143 arch/mips/dec/kn01-berr.c int dec_kn01_be_handler(struct pt_regs *regs, int is_fixup)
regs              145 arch/mips/dec/kn01-berr.c 	return dec_kn01_be_backend(regs, is_fixup, 0);
regs              151 arch/mips/dec/kn01-berr.c 	struct pt_regs *regs = get_irq_regs();
regs              157 arch/mips/dec/kn01-berr.c 	action = dec_kn01_be_backend(regs, 0, 1);
regs              170 arch/mips/dec/kn01-berr.c 	       regs->cp0_epc, regs->regs[31]);
regs              171 arch/mips/dec/kn01-berr.c 	die("Unrecoverable bus error", regs);
regs               37 arch/mips/dec/kn02xa-berr.c static int dec_kn02xa_be_backend(struct pt_regs *regs, int is_fixup,
regs               98 arch/mips/dec/kn02xa-berr.c int dec_kn02xa_be_handler(struct pt_regs *regs, int is_fixup)
regs              100 arch/mips/dec/kn02xa-berr.c 	return dec_kn02xa_be_backend(regs, is_fixup, 0);
regs              105 arch/mips/dec/kn02xa-berr.c 	struct pt_regs *regs = get_irq_regs();
regs              106 arch/mips/dec/kn02xa-berr.c 	int action = dec_kn02xa_be_backend(regs, 0, 1);
regs              119 arch/mips/dec/kn02xa-berr.c 	       regs->cp0_epc, regs->regs[31]);
regs              120 arch/mips/dec/kn02xa-berr.c 	die("Unrecoverable bus error", regs);
regs               20 arch/mips/include/asm/abi.h 				  struct pt_regs *regs, sigset_t *set);
regs               22 arch/mips/include/asm/abi.h 				     struct pt_regs *regs, sigset_t *set);
regs               16 arch/mips/include/asm/branch.h extern int __isa_exception_epc(struct pt_regs *regs);
regs               17 arch/mips/include/asm/branch.h extern int __compute_return_epc(struct pt_regs *regs);
regs               18 arch/mips/include/asm/branch.h extern int __compute_return_epc_for_insn(struct pt_regs *regs,
regs               20 arch/mips/include/asm/branch.h extern int __microMIPS_compute_return_epc(struct pt_regs *regs);
regs               21 arch/mips/include/asm/branch.h extern int __MIPS16e_compute_return_epc(struct pt_regs *regs);
regs               30 arch/mips/include/asm/branch.h extern int __mm_isBranchInstr(struct pt_regs *regs,
regs               33 arch/mips/include/asm/branch.h static inline int mm_isBranchInstr(struct pt_regs *regs,
regs               39 arch/mips/include/asm/branch.h 	return __mm_isBranchInstr(regs, dec_insn, contpc);
regs               42 arch/mips/include/asm/branch.h static inline int delay_slot(struct pt_regs *regs)
regs               44 arch/mips/include/asm/branch.h 	return regs->cp0_cause & CAUSEF_BD;
regs               47 arch/mips/include/asm/branch.h static inline void clear_delay_slot(struct pt_regs *regs)
regs               49 arch/mips/include/asm/branch.h 	regs->cp0_cause &= ~CAUSEF_BD;
regs               52 arch/mips/include/asm/branch.h static inline void set_delay_slot(struct pt_regs *regs)
regs               54 arch/mips/include/asm/branch.h 	regs->cp0_cause |= CAUSEF_BD;
regs               57 arch/mips/include/asm/branch.h static inline unsigned long exception_epc(struct pt_regs *regs)
regs               59 arch/mips/include/asm/branch.h 	if (likely(!delay_slot(regs)))
regs               60 arch/mips/include/asm/branch.h 		return regs->cp0_epc;
regs               62 arch/mips/include/asm/branch.h 	if (get_isa16_mode(regs->cp0_epc))
regs               63 arch/mips/include/asm/branch.h 		return __isa_exception_epc(regs);
regs               65 arch/mips/include/asm/branch.h 	return regs->cp0_epc + 4;
regs               70 arch/mips/include/asm/branch.h static inline int compute_return_epc(struct pt_regs *regs)
regs               72 arch/mips/include/asm/branch.h 	if (get_isa16_mode(regs->cp0_epc)) {
regs               74 arch/mips/include/asm/branch.h 			return __microMIPS_compute_return_epc(regs);
regs               76 arch/mips/include/asm/branch.h 			return __MIPS16e_compute_return_epc(regs);
regs               77 arch/mips/include/asm/branch.h 	} else if (!delay_slot(regs)) {
regs               78 arch/mips/include/asm/branch.h 		regs->cp0_epc += 4;
regs               82 arch/mips/include/asm/branch.h 	return __compute_return_epc(regs);
regs               85 arch/mips/include/asm/branch.h static inline int MIPS16e_compute_return_epc(struct pt_regs *regs,
regs               88 arch/mips/include/asm/branch.h 	if (likely(!delay_slot(regs))) {
regs               90 arch/mips/include/asm/branch.h 			regs->cp0_epc += 4;
regs               93 arch/mips/include/asm/branch.h 		regs->cp0_epc += 2;
regs               97 arch/mips/include/asm/branch.h 	return __MIPS16e_compute_return_epc(regs);
regs              123 arch/mips/include/asm/compat.h 	struct pt_regs *regs = (struct pt_regs *)
regs              126 arch/mips/include/asm/compat.h 	return (void __user *) (regs->regs[29] - len);
regs               47 arch/mips/include/asm/dec/ecc.h extern int dec_ecc_be_handler(struct pt_regs *regs, int is_fixup);
regs               85 arch/mips/include/asm/dec/kn01.h extern int dec_kn01_be_handler(struct pt_regs *regs, int is_fixup);
regs               80 arch/mips/include/asm/dec/kn02xa.h extern int dec_kn02xa_be_handler(struct pt_regs *regs, int is_fixup);
regs               37 arch/mips/include/asm/dsemul.h extern int mips_dsemul(struct pt_regs *regs, mips_instruction ir,
regs               90 arch/mips/include/asm/dsemul.h extern bool dsemul_thread_rollback(struct pt_regs *regs);
regs               92 arch/mips/include/asm/dsemul.h static inline bool dsemul_thread_rollback(struct pt_regs *regs)
regs              215 arch/mips/include/asm/elf.h void mips_dump_regs32(u32 *uregs, const struct pt_regs *regs);
regs              216 arch/mips/include/asm/elf.h void mips_dump_regs64(u64 *uregs, const struct pt_regs *regs);
regs              229 arch/mips/include/asm/elf.h #define ELF_CORE_COPY_REGS(dest, regs) \
regs              230 arch/mips/include/asm/elf.h 	mips_dump_regs32((u32 *)&(dest), (regs));
regs              245 arch/mips/include/asm/elf.h #define ELF_CORE_COPY_REGS(dest, regs) \
regs              246 arch/mips/include/asm/elf.h 	mips_dump_regs64((u64 *)&(dest), (regs));
regs              453 arch/mips/include/asm/elf.h 	_r->regs[1] = _r->regs[2] = _r->regs[3] = _r->regs[4] = 0;	\
regs              454 arch/mips/include/asm/elf.h 	_r->regs[5] = _r->regs[6] = _r->regs[7] = _r->regs[8] = 0;	\
regs              455 arch/mips/include/asm/elf.h 	_r->regs[9] = _r->regs[10] = _r->regs[11] = _r->regs[12] = 0;	\
regs              456 arch/mips/include/asm/elf.h 	_r->regs[13] = _r->regs[14] = _r->regs[15] = _r->regs[16] = 0;	\
regs              457 arch/mips/include/asm/elf.h 	_r->regs[17] = _r->regs[18] = _r->regs[19] = _r->regs[20] = 0;	\
regs              458 arch/mips/include/asm/elf.h 	_r->regs[21] = _r->regs[22] = _r->regs[23] = _r->regs[24] = 0;	\
regs              459 arch/mips/include/asm/elf.h 	_r->regs[25] = _r->regs[26] = _r->regs[27] = _r->regs[28] = 0;	\
regs              460 arch/mips/include/asm/elf.h 	_r->regs[30] = _r->regs[31] = 0;				\
regs               12 arch/mips/include/asm/extable.h extern int fixup_exception(struct pt_regs *regs);
regs              175 arch/mips/include/asm/fpu_emulator.h int isBranchInstr(struct pt_regs *regs, struct mm_decoded_insn dec_insn,
regs              177 arch/mips/include/asm/fpu_emulator.h int mm_isBranchInstr(struct pt_regs *regs, struct mm_decoded_insn dec_insn,
regs               15 arch/mips/include/asm/irq_regs.h 	return current_thread_info()->regs;
regs               23 arch/mips/include/asm/irq_regs.h 	current_thread_info()->regs = new_regs;
regs               39 arch/mips/include/asm/kexec.h extern void (*_machine_crash_shutdown)(struct pt_regs *regs);
regs               40 arch/mips/include/asm/kexec.h void default_machine_crash_shutdown(struct pt_regs *regs);
regs               38 arch/mips/include/asm/kgdb.h extern void handle_exception(struct pt_regs *regs);
regs               41 arch/mips/include/asm/kgdb.h 			struct pt_regs *regs, long err, int trap, int sig);
regs               44 arch/mips/include/asm/kprobes.h int kprobe_fault_handler(struct pt_regs *regs, int trapnr);
regs               41 arch/mips/include/asm/mach-loongson64/irq.h extern void loongson3_ipi_interrupt(struct pt_regs *regs);
regs               53 arch/mips/include/asm/mips-r2-to-r6-emul.h 	err = __get_user(nir, (u32 __user *)regs->cp0_epc);		\
regs               78 arch/mips/include/asm/mips-r2-to-r6-emul.h 	int     (*func)(struct pt_regs *regs, u32 inst);
regs               82 arch/mips/include/asm/mips-r2-to-r6-emul.h extern void do_trap_or_bp(struct pt_regs *regs, unsigned int code, int si_code,
regs               87 arch/mips/include/asm/mips-r2-to-r6-emul.h static inline int mipsr2_decoder(struct pt_regs *regs, u32 inst,
regs               95 arch/mips/include/asm/mips-r2-to-r6-emul.h extern int mipsr2_decoder(struct pt_regs *regs, u32 inst,
regs              373 arch/mips/include/asm/processor.h extern void start_thread(struct pt_regs * regs, unsigned long pc, unsigned long sp);
regs              385 arch/mips/include/asm/processor.h #define KSTK_ESP(tsk) (task_pt_regs(tsk)->regs[29])
regs               35 arch/mips/include/asm/ptrace.h 	unsigned long regs[32];
regs               54 arch/mips/include/asm/ptrace.h static inline unsigned long kernel_stack_pointer(struct pt_regs *regs)
regs               56 arch/mips/include/asm/ptrace.h 	return regs->regs[31];
regs               59 arch/mips/include/asm/ptrace.h static inline void instruction_pointer_set(struct pt_regs *regs,
regs               62 arch/mips/include/asm/ptrace.h 	regs->cp0_epc = val;
regs               78 arch/mips/include/asm/ptrace.h static inline unsigned long regs_get_register(struct pt_regs *regs,
regs               84 arch/mips/include/asm/ptrace.h 	return *(unsigned long *)((unsigned long)regs + offset);
regs               95 arch/mips/include/asm/ptrace.h static inline int regs_within_kernel_stack(struct pt_regs *regs,
regs               99 arch/mips/include/asm/ptrace.h 		(kernel_stack_pointer(regs) & ~(THREAD_SIZE - 1)));
regs              111 arch/mips/include/asm/ptrace.h static inline unsigned long regs_get_kernel_stack_nth(struct pt_regs *regs,
regs              114 arch/mips/include/asm/ptrace.h 	unsigned long *addr = (unsigned long *)kernel_stack_pointer(regs);
regs              117 arch/mips/include/asm/ptrace.h 	if (regs_within_kernel_stack(regs, (unsigned long)addr))
regs              141 arch/mips/include/asm/ptrace.h #define user_mode(regs) (((regs)->cp0_status & KU_MASK) == KU_USER)
regs              143 arch/mips/include/asm/ptrace.h static inline int is_syscall_success(struct pt_regs *regs)
regs              145 arch/mips/include/asm/ptrace.h 	return !regs->regs[7];
regs              148 arch/mips/include/asm/ptrace.h static inline long regs_return_value(struct pt_regs *regs)
regs              150 arch/mips/include/asm/ptrace.h 	if (is_syscall_success(regs) || !user_mode(regs))
regs              151 arch/mips/include/asm/ptrace.h 		return regs->regs[2];
regs              153 arch/mips/include/asm/ptrace.h 		return -regs->regs[2];
regs              156 arch/mips/include/asm/ptrace.h #define instruction_pointer(regs) ((regs)->cp0_epc)
regs              157 arch/mips/include/asm/ptrace.h #define profile_pc(regs) instruction_pointer(regs)
regs              159 arch/mips/include/asm/ptrace.h extern asmlinkage long syscall_trace_enter(struct pt_regs *regs, long syscall);
regs              160 arch/mips/include/asm/ptrace.h extern asmlinkage void syscall_trace_leave(struct pt_regs *regs);
regs              164 arch/mips/include/asm/ptrace.h static inline void die_if_kernel(const char *str, struct pt_regs *regs)
regs              166 arch/mips/include/asm/ptrace.h 	if (unlikely(!user_mode(regs)))
regs              167 arch/mips/include/asm/ptrace.h 		die(str, regs);
regs              178 arch/mips/include/asm/ptrace.h static inline unsigned long user_stack_pointer(struct pt_regs *regs)
regs              180 arch/mips/include/asm/ptrace.h 	return regs->regs[29];
regs              183 arch/mips/include/asm/ptrace.h static inline void user_stack_pointer_set(struct pt_regs *regs,
regs              186 arch/mips/include/asm/ptrace.h 	regs->regs[29] = val;
regs               34 arch/mips/include/asm/stacktrace.h static __always_inline void prepare_frametrace(struct pt_regs *regs)
regs               41 arch/mips/include/asm/stacktrace.h 	memset(regs, 0, sizeof(*regs));
regs               84 arch/mips/include/asm/stacktrace.h 		: "=m" (regs->cp0_epc)
regs               85 arch/mips/include/asm/stacktrace.h 		: "r" (regs->regs)
regs               30 arch/mips/include/asm/syscall.h 					    struct pt_regs *regs)
regs               35 arch/mips/include/asm/syscall.h 		(regs->regs[2] == __NR_syscall);
regs               39 arch/mips/include/asm/syscall.h 				  struct pt_regs *regs)
regs               45 arch/mips/include/asm/syscall.h 					  struct pt_regs *regs)
regs               51 arch/mips/include/asm/syscall.h 	if (mips_syscall_is_indirect(task, regs))
regs               52 arch/mips/include/asm/syscall.h 		task_thread_info(task)->syscall = regs->regs[4];
regs               54 arch/mips/include/asm/syscall.h 		task_thread_info(task)->syscall = regs->regs[2];
regs               58 arch/mips/include/asm/syscall.h 	struct task_struct *task, struct pt_regs *regs, unsigned int n)
regs               60 arch/mips/include/asm/syscall.h 	unsigned long usp __maybe_unused = regs->regs[29];
regs               64 arch/mips/include/asm/syscall.h 		*arg = regs->regs[4 + n];
regs               81 arch/mips/include/asm/syscall.h 			*arg = regs->regs[4 + n];
regs               94 arch/mips/include/asm/syscall.h 				     struct pt_regs *regs)
regs               96 arch/mips/include/asm/syscall.h 	return regs->regs[7] ? -regs->regs[2] : 0;
regs              100 arch/mips/include/asm/syscall.h 					    struct pt_regs *regs)
regs              102 arch/mips/include/asm/syscall.h 	return regs->regs[2];
regs              106 arch/mips/include/asm/syscall.h 				    struct pt_regs *regs)
regs              112 arch/mips/include/asm/syscall.h 					    struct pt_regs *regs,
regs              116 arch/mips/include/asm/syscall.h 		regs->regs[2] = -error;
regs              117 arch/mips/include/asm/syscall.h 		regs->regs[7] = 1;
regs              119 arch/mips/include/asm/syscall.h 		regs->regs[2] = val;
regs              120 arch/mips/include/asm/syscall.h 		regs->regs[7] = 0;
regs              125 arch/mips/include/asm/syscall.h 					 struct pt_regs *regs,
regs              132 arch/mips/include/asm/syscall.h 	if (mips_syscall_is_indirect(task, regs))
regs              136 arch/mips/include/asm/syscall.h 		mips_get_syscall_arg(args++, task, regs, i++);
regs               36 arch/mips/include/asm/thread_info.h 	struct pt_regs		*regs;
regs               18 arch/mips/include/asm/traps.h extern int (*board_be_handler)(struct pt_regs *regs, int is_fixup);
regs               39 arch/mips/include/uapi/asm/ptrace.h 	__u64 regs[32];
regs               29 arch/mips/kernel/asm-offsets.c 	OFFSET(PT_R0, pt_regs, regs[0]);
regs               30 arch/mips/kernel/asm-offsets.c 	OFFSET(PT_R1, pt_regs, regs[1]);
regs               31 arch/mips/kernel/asm-offsets.c 	OFFSET(PT_R2, pt_regs, regs[2]);
regs               32 arch/mips/kernel/asm-offsets.c 	OFFSET(PT_R3, pt_regs, regs[3]);
regs               33 arch/mips/kernel/asm-offsets.c 	OFFSET(PT_R4, pt_regs, regs[4]);
regs               34 arch/mips/kernel/asm-offsets.c 	OFFSET(PT_R5, pt_regs, regs[5]);
regs               35 arch/mips/kernel/asm-offsets.c 	OFFSET(PT_R6, pt_regs, regs[6]);
regs               36 arch/mips/kernel/asm-offsets.c 	OFFSET(PT_R7, pt_regs, regs[7]);
regs               37 arch/mips/kernel/asm-offsets.c 	OFFSET(PT_R8, pt_regs, regs[8]);
regs               38 arch/mips/kernel/asm-offsets.c 	OFFSET(PT_R9, pt_regs, regs[9]);
regs               39 arch/mips/kernel/asm-offsets.c 	OFFSET(PT_R10, pt_regs, regs[10]);
regs               40 arch/mips/kernel/asm-offsets.c 	OFFSET(PT_R11, pt_regs, regs[11]);
regs               41 arch/mips/kernel/asm-offsets.c 	OFFSET(PT_R12, pt_regs, regs[12]);
regs               42 arch/mips/kernel/asm-offsets.c 	OFFSET(PT_R13, pt_regs, regs[13]);
regs               43 arch/mips/kernel/asm-offsets.c 	OFFSET(PT_R14, pt_regs, regs[14]);
regs               44 arch/mips/kernel/asm-offsets.c 	OFFSET(PT_R15, pt_regs, regs[15]);
regs               45 arch/mips/kernel/asm-offsets.c 	OFFSET(PT_R16, pt_regs, regs[16]);
regs               46 arch/mips/kernel/asm-offsets.c 	OFFSET(PT_R17, pt_regs, regs[17]);
regs               47 arch/mips/kernel/asm-offsets.c 	OFFSET(PT_R18, pt_regs, regs[18]);
regs               48 arch/mips/kernel/asm-offsets.c 	OFFSET(PT_R19, pt_regs, regs[19]);
regs               49 arch/mips/kernel/asm-offsets.c 	OFFSET(PT_R20, pt_regs, regs[20]);
regs               50 arch/mips/kernel/asm-offsets.c 	OFFSET(PT_R21, pt_regs, regs[21]);
regs               51 arch/mips/kernel/asm-offsets.c 	OFFSET(PT_R22, pt_regs, regs[22]);
regs               52 arch/mips/kernel/asm-offsets.c 	OFFSET(PT_R23, pt_regs, regs[23]);
regs               53 arch/mips/kernel/asm-offsets.c 	OFFSET(PT_R24, pt_regs, regs[24]);
regs               54 arch/mips/kernel/asm-offsets.c 	OFFSET(PT_R25, pt_regs, regs[25]);
regs               55 arch/mips/kernel/asm-offsets.c 	OFFSET(PT_R26, pt_regs, regs[26]);
regs               56 arch/mips/kernel/asm-offsets.c 	OFFSET(PT_R27, pt_regs, regs[27]);
regs               57 arch/mips/kernel/asm-offsets.c 	OFFSET(PT_R28, pt_regs, regs[28]);
regs               58 arch/mips/kernel/asm-offsets.c 	OFFSET(PT_R29, pt_regs, regs[29]);
regs               59 arch/mips/kernel/asm-offsets.c 	OFFSET(PT_R30, pt_regs, regs[30]);
regs               60 arch/mips/kernel/asm-offsets.c 	OFFSET(PT_R31, pt_regs, regs[31]);
regs              102 arch/mips/kernel/asm-offsets.c 	OFFSET(TI_REGS, thread_info, regs);
regs               27 arch/mips/kernel/branch.c int __isa_exception_epc(struct pt_regs *regs)
regs               30 arch/mips/kernel/branch.c 	long epc = regs->cp0_epc;
regs               57 arch/mips/kernel/branch.c int __mm_isBranchInstr(struct pt_regs *regs, struct mm_decoded_insn dec_insn,
regs               77 arch/mips/kernel/branch.c 					regs->regs[insn.mm_i_format.rt] =
regs               78 arch/mips/kernel/branch.c 						regs->cp0_epc +
regs               81 arch/mips/kernel/branch.c 				*contpc = regs->regs[insn.mm_i_format.rs];
regs               90 arch/mips/kernel/branch.c 			regs->regs[31] = regs->cp0_epc +
regs               95 arch/mips/kernel/branch.c 			if ((long)regs->regs[insn.mm_i_format.rs] < 0)
regs               96 arch/mips/kernel/branch.c 				*contpc = regs->cp0_epc +
regs              100 arch/mips/kernel/branch.c 				*contpc = regs->cp0_epc +
regs              106 arch/mips/kernel/branch.c 			regs->regs[31] = regs->cp0_epc +
regs              111 arch/mips/kernel/branch.c 			if ((long)regs->regs[insn.mm_i_format.rs] >= 0)
regs              112 arch/mips/kernel/branch.c 				*contpc = regs->cp0_epc +
regs              116 arch/mips/kernel/branch.c 				*contpc = regs->cp0_epc +
regs              121 arch/mips/kernel/branch.c 			if ((long)regs->regs[insn.mm_i_format.rs] <= 0)
regs              122 arch/mips/kernel/branch.c 				*contpc = regs->cp0_epc +
regs              126 arch/mips/kernel/branch.c 				*contpc = regs->cp0_epc +
regs              131 arch/mips/kernel/branch.c 			if ((long)regs->regs[insn.mm_i_format.rs] <= 0)
regs              132 arch/mips/kernel/branch.c 				*contpc = regs->cp0_epc +
regs              136 arch/mips/kernel/branch.c 				*contpc = regs->cp0_epc +
regs              164 arch/mips/kernel/branch.c 				*contpc = regs->cp0_epc +
regs              168 arch/mips/kernel/branch.c 				*contpc = regs->cp0_epc +
regs              179 arch/mips/kernel/branch.c 			regs->regs[31] = regs->cp0_epc +
regs              183 arch/mips/kernel/branch.c 			*contpc = regs->regs[insn.mm_i_format.rs];
regs              188 arch/mips/kernel/branch.c 		if ((long)regs->regs[reg16to32map[insn.mm_b1_format.rs]] == 0)
regs              189 arch/mips/kernel/branch.c 			*contpc = regs->cp0_epc +
regs              193 arch/mips/kernel/branch.c 			*contpc = regs->cp0_epc +
regs              197 arch/mips/kernel/branch.c 		if ((long)regs->regs[reg16to32map[insn.mm_b1_format.rs]] != 0)
regs              198 arch/mips/kernel/branch.c 			*contpc = regs->cp0_epc +
regs              202 arch/mips/kernel/branch.c 			*contpc = regs->cp0_epc +
regs              206 arch/mips/kernel/branch.c 		*contpc = regs->cp0_epc + dec_insn.pc_inc +
regs              210 arch/mips/kernel/branch.c 		if (regs->regs[insn.mm_i_format.rs] ==
regs              211 arch/mips/kernel/branch.c 		    regs->regs[insn.mm_i_format.rt])
regs              212 arch/mips/kernel/branch.c 			*contpc = regs->cp0_epc +
regs              216 arch/mips/kernel/branch.c 			*contpc = regs->cp0_epc +
regs              221 arch/mips/kernel/branch.c 		if (regs->regs[insn.mm_i_format.rs] !=
regs              222 arch/mips/kernel/branch.c 		    regs->regs[insn.mm_i_format.rt])
regs              223 arch/mips/kernel/branch.c 			*contpc = regs->cp0_epc +
regs              227 arch/mips/kernel/branch.c 			*contpc = regs->cp0_epc +
regs              231 arch/mips/kernel/branch.c 		regs->regs[31] = regs->cp0_epc +
regs              233 arch/mips/kernel/branch.c 		*contpc = regs->cp0_epc + dec_insn.pc_inc;
regs              240 arch/mips/kernel/branch.c 		regs->regs[31] = regs->cp0_epc +
regs              244 arch/mips/kernel/branch.c 		*contpc = regs->cp0_epc + dec_insn.pc_inc;
regs              260 arch/mips/kernel/branch.c int __microMIPS_compute_return_epc(struct pt_regs *regs)
regs              271 arch/mips/kernel/branch.c 	pc16 = (unsigned short __user *)msk_isa16_mode(regs->cp0_epc);
regs              274 arch/mips/kernel/branch.c 	contpc = regs->cp0_epc + 2;
regs              281 arch/mips/kernel/branch.c 		contpc = regs->cp0_epc + 4;
regs              301 arch/mips/kernel/branch.c 	mm_isBranchInstr(regs, mminsn, &contpc);
regs              303 arch/mips/kernel/branch.c 	regs->cp0_epc = contpc;
regs              318 arch/mips/kernel/branch.c int __MIPS16e_compute_return_epc(struct pt_regs *regs)
regs              326 arch/mips/kernel/branch.c 	epc = regs->cp0_epc;
regs              337 arch/mips/kernel/branch.c 		regs->cp0_epc += 4;
regs              350 arch/mips/kernel/branch.c 		regs->regs[31] = epc + 6;
regs              365 arch/mips/kernel/branch.c 		regs->cp0_epc = epc;
regs              375 arch/mips/kernel/branch.c 				regs->cp0_epc = regs->regs[31];
regs              377 arch/mips/kernel/branch.c 				regs->cp0_epc =
regs              378 arch/mips/kernel/branch.c 				    regs->regs[reg16to32[inst.rr.rx]];
regs              382 arch/mips/kernel/branch.c 					regs->regs[31] = epc + 2;
regs              384 arch/mips/kernel/branch.c 					regs->regs[31] = epc + 4;
regs              395 arch/mips/kernel/branch.c 	regs->cp0_epc += 2;
regs              420 arch/mips/kernel/branch.c int __compute_return_epc_for_insn(struct pt_regs *regs,
regs              423 arch/mips/kernel/branch.c 	long epc = regs->cp0_epc;
regs              434 arch/mips/kernel/branch.c 			regs->regs[insn.r_format.rd] = epc + 8;
regs              439 arch/mips/kernel/branch.c 			regs->cp0_epc = regs->regs[insn.r_format.rs];
regs              456 arch/mips/kernel/branch.c 			if ((long)regs->regs[insn.i_format.rs] < 0) {
regs              462 arch/mips/kernel/branch.c 			regs->cp0_epc = epc;
regs              470 arch/mips/kernel/branch.c 			if ((long)regs->regs[insn.i_format.rs] >= 0) {
regs              476 arch/mips/kernel/branch.c 			regs->cp0_epc = epc;
regs              484 arch/mips/kernel/branch.c 			regs->regs[31] = epc + 8;
regs              497 arch/mips/kernel/branch.c 				regs->cp0_epc += 4 +
regs              502 arch/mips/kernel/branch.c 			if ((long)regs->regs[insn.i_format.rs] < 0) {
regs              508 arch/mips/kernel/branch.c 			regs->cp0_epc = epc;
regs              516 arch/mips/kernel/branch.c 			regs->regs[31] = epc + 8;
regs              529 arch/mips/kernel/branch.c 				regs->cp0_epc += 4 +
regs              534 arch/mips/kernel/branch.c 			if ((long)regs->regs[insn.i_format.rs] >= 0) {
regs              540 arch/mips/kernel/branch.c 			regs->cp0_epc = epc;
regs              553 arch/mips/kernel/branch.c 			regs->cp0_epc = epc;
regs              563 arch/mips/kernel/branch.c 		regs->regs[31] = regs->cp0_epc + 8;
regs              570 arch/mips/kernel/branch.c 		regs->cp0_epc = epc;
regs              572 arch/mips/kernel/branch.c 			set_isa16_mode(regs->cp0_epc);
regs              583 arch/mips/kernel/branch.c 		if (regs->regs[insn.i_format.rs] ==
regs              584 arch/mips/kernel/branch.c 		    regs->regs[insn.i_format.rt]) {
regs              590 arch/mips/kernel/branch.c 		regs->cp0_epc = epc;
regs              598 arch/mips/kernel/branch.c 		if (regs->regs[insn.i_format.rs] !=
regs              599 arch/mips/kernel/branch.c 		    regs->regs[insn.i_format.rt]) {
regs              605 arch/mips/kernel/branch.c 		regs->cp0_epc = epc;
regs              630 arch/mips/kernel/branch.c 				regs->regs[31] = epc + 4;
regs              631 arch/mips/kernel/branch.c 			regs->cp0_epc += 8;
regs              635 arch/mips/kernel/branch.c 		if ((long)regs->regs[insn.i_format.rs] <= 0) {
regs              641 arch/mips/kernel/branch.c 		regs->cp0_epc = epc;
regs              666 arch/mips/kernel/branch.c 				regs->regs[31] = epc + 4;
regs              667 arch/mips/kernel/branch.c 			regs->cp0_epc += 8;
regs              672 arch/mips/kernel/branch.c 		if ((long)regs->regs[insn.i_format.rs] > 0) {
regs              678 arch/mips/kernel/branch.c 		regs->cp0_epc = epc;
regs              703 arch/mips/kernel/branch.c 			regs->cp0_epc = epc;
regs              728 arch/mips/kernel/branch.c 				regs->cp0_epc = epc;
regs              740 arch/mips/kernel/branch.c 				regs->cp0_epc = epc;
regs              750 arch/mips/kernel/branch.c 		if ((regs->regs[insn.i_format.rs] & (1ull<<insn.i_format.rt))
regs              755 arch/mips/kernel/branch.c 		regs->cp0_epc = epc;
regs              758 arch/mips/kernel/branch.c 		if ((regs->regs[insn.i_format.rs] &
regs              763 arch/mips/kernel/branch.c 		regs->cp0_epc = epc;
regs              766 arch/mips/kernel/branch.c 		if (regs->regs[insn.i_format.rs] & (1ull<<insn.i_format.rt))
regs              770 arch/mips/kernel/branch.c 		regs->cp0_epc = epc;
regs              773 arch/mips/kernel/branch.c 		if (regs->regs[insn.i_format.rs] &
regs              778 arch/mips/kernel/branch.c 		regs->cp0_epc = epc;
regs              785 arch/mips/kernel/branch.c 		regs->cp0_epc += 8;
regs              791 arch/mips/kernel/branch.c 		regs->regs[31] = epc + 4;
regs              793 arch/mips/kernel/branch.c 		regs->cp0_epc = epc;
regs              799 arch/mips/kernel/branch.c 		regs->cp0_epc += 8;
regs              807 arch/mips/kernel/branch.c 			regs->regs[31] = epc + 4;
regs              809 arch/mips/kernel/branch.c 		regs->cp0_epc += 8;
regs              822 arch/mips/kernel/branch.c 			regs->regs[31] = epc + 4;
regs              823 arch/mips/kernel/branch.c 		regs->cp0_epc += 8;
regs              847 arch/mips/kernel/branch.c int __compute_return_epc(struct pt_regs *regs)
regs              853 arch/mips/kernel/branch.c 	epc = regs->cp0_epc;
regs              866 arch/mips/kernel/branch.c 	return __compute_return_epc_for_insn(regs, insn);
regs              171 arch/mips/kernel/cpu-bugs64.c asmlinkage void __init do_daddi_ov(struct pt_regs *regs)
regs              177 arch/mips/kernel/cpu-bugs64.c 	regs->cp0_epc += 4;
regs               21 arch/mips/kernel/crash.c 	struct pt_regs *regs = passed_regs;
regs               31 arch/mips/kernel/crash.c 	if (!regs)
regs               32 arch/mips/kernel/crash.c 		regs = get_irq_regs();
regs               33 arch/mips/kernel/crash.c 	if (!regs)
regs               34 arch/mips/kernel/crash.c 		regs = task_pt_regs(current);
regs               44 arch/mips/kernel/crash.c 		crash_save_cpu(regs, cpu);
regs               96 arch/mips/kernel/crash.c void default_machine_crash_shutdown(struct pt_regs *regs)
regs              100 arch/mips/kernel/crash.c 	crash_save_cpu(regs, crashing_cpu);
regs               57 arch/mips/kernel/kgdb.c 	{ "zero", GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[0]) },
regs               58 arch/mips/kernel/kgdb.c 	{ "at", GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[1]) },
regs               59 arch/mips/kernel/kgdb.c 	{ "v0", GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[2]) },
regs               60 arch/mips/kernel/kgdb.c 	{ "v1", GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[3]) },
regs               61 arch/mips/kernel/kgdb.c 	{ "a0", GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[4]) },
regs               62 arch/mips/kernel/kgdb.c 	{ "a1", GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[5]) },
regs               63 arch/mips/kernel/kgdb.c 	{ "a2", GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[6]) },
regs               64 arch/mips/kernel/kgdb.c 	{ "a3", GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[7]) },
regs               65 arch/mips/kernel/kgdb.c 	{ "t0", GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[8]) },
regs               66 arch/mips/kernel/kgdb.c 	{ "t1", GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[9]) },
regs               67 arch/mips/kernel/kgdb.c 	{ "t2", GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[10]) },
regs               68 arch/mips/kernel/kgdb.c 	{ "t3", GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[11]) },
regs               69 arch/mips/kernel/kgdb.c 	{ "t4", GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[12]) },
regs               70 arch/mips/kernel/kgdb.c 	{ "t5", GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[13]) },
regs               71 arch/mips/kernel/kgdb.c 	{ "t6", GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[14]) },
regs               72 arch/mips/kernel/kgdb.c 	{ "t7", GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[15]) },
regs               73 arch/mips/kernel/kgdb.c 	{ "s0", GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[16]) },
regs               74 arch/mips/kernel/kgdb.c 	{ "s1", GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[17]) },
regs               75 arch/mips/kernel/kgdb.c 	{ "s2", GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[18]) },
regs               76 arch/mips/kernel/kgdb.c 	{ "s3", GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[19]) },
regs               77 arch/mips/kernel/kgdb.c 	{ "s4", GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[20]) },
regs               78 arch/mips/kernel/kgdb.c 	{ "s5", GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[21]) },
regs               79 arch/mips/kernel/kgdb.c 	{ "s6", GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[22]) },
regs               80 arch/mips/kernel/kgdb.c 	{ "s7", GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[23]) },
regs               81 arch/mips/kernel/kgdb.c 	{ "t8", GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[24]) },
regs               82 arch/mips/kernel/kgdb.c 	{ "t9", GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[25]) },
regs               83 arch/mips/kernel/kgdb.c 	{ "k0", GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[26]) },
regs               84 arch/mips/kernel/kgdb.c 	{ "k1", GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[27]) },
regs               85 arch/mips/kernel/kgdb.c 	{ "gp", GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[28]) },
regs               86 arch/mips/kernel/kgdb.c 	{ "sp", GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[29]) },
regs               87 arch/mips/kernel/kgdb.c 	{ "s8", GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[30]) },
regs               88 arch/mips/kernel/kgdb.c 	{ "ra", GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[31]) },
regs              131 arch/mips/kernel/kgdb.c int dbg_set_reg(int regno, void *mem, struct pt_regs *regs)
regs              139 arch/mips/kernel/kgdb.c 		memcpy((void *)regs + dbg_reg_def[regno].offset, mem,
regs              143 arch/mips/kernel/kgdb.c 		if (!(regs->cp0_status & ST0_CU1))
regs              164 arch/mips/kernel/kgdb.c char *dbg_get_reg(int regno, void *mem, struct pt_regs *regs)
regs              173 arch/mips/kernel/kgdb.c 		memcpy(mem, (void *)regs + dbg_reg_def[regno].offset,
regs              177 arch/mips/kernel/kgdb.c 		if (!(regs->cp0_status & ST0_CU1))
regs              290 arch/mips/kernel/kgdb.c void kgdb_arch_set_pc(struct pt_regs *regs, unsigned long pc)
regs              292 arch/mips/kernel/kgdb.c 	regs->cp0_epc = pc;
regs              303 arch/mips/kernel/kgdb.c 	struct pt_regs *regs = args->regs;
regs              304 arch/mips/kernel/kgdb.c 	int trap = (regs->cp0_cause & 0x7c) >> 2;
regs              317 arch/mips/kernel/kgdb.c 	if (user_mode(regs))
regs              325 arch/mips/kernel/kgdb.c 		kgdb_nmicallback(smp_processor_id(), regs);
regs              327 arch/mips/kernel/kgdb.c 	if (kgdb_handle_exception(trap, compute_signal(trap), cmd, regs)) {
regs              333 arch/mips/kernel/kgdb.c 		if ((trap == 9) && (regs->cp0_epc == (unsigned long)breakinst))
regs              334 arch/mips/kernel/kgdb.c 			regs->cp0_epc += 4;
regs              346 arch/mips/kernel/kgdb.c 		 struct pt_regs *regs, long err, int trap, int sig)
regs              349 arch/mips/kernel/kgdb.c 		.regs	= regs,
regs              373 arch/mips/kernel/kgdb.c 			       struct pt_regs *regs)
regs              383 arch/mips/kernel/kgdb.c 			regs->cp0_epc = address;
regs              173 arch/mips/kernel/kprobes.c static void set_current_kprobe(struct kprobe *p, struct pt_regs *regs,
regs              177 arch/mips/kernel/kprobes.c 	kcb->kprobe_saved_SR = kcb->kprobe_old_SR = (regs->cp0_status & ST0_IE);
regs              178 arch/mips/kernel/kprobes.c 	kcb->kprobe_saved_epc = regs->cp0_epc;
regs              194 arch/mips/kernel/kprobes.c static int evaluate_branch_instruction(struct kprobe *p, struct pt_regs *regs,
regs              201 arch/mips/kernel/kprobes.c 	epc = regs->cp0_epc;
regs              210 arch/mips/kernel/kprobes.c 	ret = __compute_return_epc_for_insn(regs, insn);
regs              217 arch/mips/kernel/kprobes.c 	kcb->target_epc = regs->cp0_epc;
regs              228 arch/mips/kernel/kprobes.c static void prepare_singlestep(struct kprobe *p, struct pt_regs *regs,
regs              233 arch/mips/kernel/kprobes.c 	regs->cp0_status &= ~ST0_IE;
regs              238 arch/mips/kernel/kprobes.c 		regs->cp0_epc = (unsigned long)p->addr;
regs              240 arch/mips/kernel/kprobes.c 		ret = evaluate_branch_instruction(p, regs, kcb);
regs              246 arch/mips/kernel/kprobes.c 	regs->cp0_epc = (unsigned long)&p->ainsn.insn[0];
regs              262 arch/mips/kernel/kprobes.c 				       struct pt_regs *regs,
regs              266 arch/mips/kernel/kprobes.c 		regs->cp0_epc = kcb->target_epc;
regs              269 arch/mips/kernel/kprobes.c 		regs->cp0_epc = orig_epc + 4;
regs              273 arch/mips/kernel/kprobes.c static int __kprobes kprobe_handler(struct pt_regs *regs)
regs              280 arch/mips/kernel/kprobes.c 	addr = (kprobe_opcode_t *) regs->cp0_epc;
regs              295 arch/mips/kernel/kprobes.c 				regs->cp0_status &= ~ST0_IE;
regs              296 arch/mips/kernel/kprobes.c 				regs->cp0_status |= kcb->kprobe_saved_SR;
regs              307 arch/mips/kernel/kprobes.c 			set_current_kprobe(p, regs, kcb);
regs              309 arch/mips/kernel/kprobes.c 			prepare_singlestep(p, regs, kcb);
regs              312 arch/mips/kernel/kprobes.c 				resume_execution(p, regs, kcb);
regs              344 arch/mips/kernel/kprobes.c 	set_current_kprobe(p, regs, kcb);
regs              347 arch/mips/kernel/kprobes.c 	if (p->pre_handler && p->pre_handler(p, regs)) {
regs              354 arch/mips/kernel/kprobes.c 	prepare_singlestep(p, regs, kcb);
regs              358 arch/mips/kernel/kprobes.c 			p->post_handler(p, regs, 0);
regs              359 arch/mips/kernel/kprobes.c 		resume_execution(p, regs, kcb);
regs              372 arch/mips/kernel/kprobes.c static inline int post_kprobe_handler(struct pt_regs *regs)
regs              382 arch/mips/kernel/kprobes.c 		cur->post_handler(cur, regs, 0);
regs              385 arch/mips/kernel/kprobes.c 	resume_execution(cur, regs, kcb);
regs              387 arch/mips/kernel/kprobes.c 	regs->cp0_status |= kcb->kprobe_saved_SR;
regs              401 arch/mips/kernel/kprobes.c int kprobe_fault_handler(struct pt_regs *regs, int trapnr)
regs              406 arch/mips/kernel/kprobes.c 	if (cur->fault_handler && cur->fault_handler(cur, regs, trapnr))
regs              410 arch/mips/kernel/kprobes.c 		resume_execution(cur, regs, kcb);
regs              411 arch/mips/kernel/kprobes.c 		regs->cp0_status |= kcb->kprobe_old_SR;
regs              431 arch/mips/kernel/kprobes.c 		if (kprobe_handler(args->regs))
regs              435 arch/mips/kernel/kprobes.c 		if (post_kprobe_handler(args->regs))
regs              444 arch/mips/kernel/kprobes.c 		    && kprobe_fault_handler(args->regs, args->trapnr))
regs              477 arch/mips/kernel/kprobes.c 				      struct pt_regs *regs)
regs              479 arch/mips/kernel/kprobes.c 	ri->ret_addr = (kprobe_opcode_t *) regs->regs[31];
regs              482 arch/mips/kernel/kprobes.c 	regs->regs[31] = (unsigned long)kretprobe_trampoline;
regs              489 arch/mips/kernel/kprobes.c 						struct pt_regs *regs)
regs              519 arch/mips/kernel/kprobes.c 			ri->rp->handler(ri, regs);
regs              534 arch/mips/kernel/kprobes.c 	instruction_pointer(regs) = orig_ret_address;
regs               31 arch/mips/kernel/machine_kexec.c void (*_machine_crash_shutdown)(struct pt_regs *regs) = NULL;
regs              152 arch/mips/kernel/machine_kexec.c machine_crash_shutdown(struct pt_regs *regs)
regs              155 arch/mips/kernel/machine_kexec.c 		_machine_crash_shutdown(regs);
regs              157 arch/mips/kernel/machine_kexec.c 		default_machine_crash_shutdown(regs);
regs               78 arch/mips/kernel/mips-r2-to-r6-emul.c static inline int mipsr6_emul(struct pt_regs *regs, u32 ir)
regs               83 arch/mips/kernel/mips-r2-to-r6-emul.c 			regs->regs[MIPSInst_RT(ir)] =
regs               84 arch/mips/kernel/mips-r2-to-r6-emul.c 				(s32)regs->regs[MIPSInst_RS(ir)] +
regs               92 arch/mips/kernel/mips-r2-to-r6-emul.c 			regs->regs[MIPSInst_RT(ir)] =
regs               93 arch/mips/kernel/mips-r2-to-r6-emul.c 				(s64)regs->regs[MIPSInst_RS(ir)] +
regs              106 arch/mips/kernel/mips-r2-to-r6-emul.c 				regs->regs[MIPSInst_RD(ir)] =
regs              107 arch/mips/kernel/mips-r2-to-r6-emul.c 					regs->regs[MIPSInst_RS(ir)] |
regs              108 arch/mips/kernel/mips-r2-to-r6-emul.c 					regs->regs[MIPSInst_RT(ir)];
regs              115 arch/mips/kernel/mips-r2-to-r6-emul.c 				regs->regs[MIPSInst_RD(ir)] =
regs              116 arch/mips/kernel/mips-r2-to-r6-emul.c 					(s32)(((u32)regs->regs[MIPSInst_RT(ir)]) <<
regs              124 arch/mips/kernel/mips-r2-to-r6-emul.c 				regs->regs[MIPSInst_RD(ir)] =
regs              125 arch/mips/kernel/mips-r2-to-r6-emul.c 					(s32)(((u32)regs->regs[MIPSInst_RT(ir)]) >>
regs              133 arch/mips/kernel/mips-r2-to-r6-emul.c 				regs->regs[MIPSInst_RD(ir)] =
regs              134 arch/mips/kernel/mips-r2-to-r6-emul.c 					(s32)((u32)regs->regs[MIPSInst_RS(ir)] +
regs              135 arch/mips/kernel/mips-r2-to-r6-emul.c 					      (u32)regs->regs[MIPSInst_RT(ir)]);
regs              142 arch/mips/kernel/mips-r2-to-r6-emul.c 				regs->regs[MIPSInst_RD(ir)] =
regs              143 arch/mips/kernel/mips-r2-to-r6-emul.c 					(s32)((u32)regs->regs[MIPSInst_RS(ir)] -
regs              144 arch/mips/kernel/mips-r2-to-r6-emul.c 					      (u32)regs->regs[MIPSInst_RT(ir)]);
regs              151 arch/mips/kernel/mips-r2-to-r6-emul.c 				regs->regs[MIPSInst_RD(ir)] =
regs              152 arch/mips/kernel/mips-r2-to-r6-emul.c 					(s64)(((u64)regs->regs[MIPSInst_RT(ir)]) <<
regs              160 arch/mips/kernel/mips-r2-to-r6-emul.c 				regs->regs[MIPSInst_RD(ir)] =
regs              161 arch/mips/kernel/mips-r2-to-r6-emul.c 					(s64)(((u64)regs->regs[MIPSInst_RT(ir)]) >>
regs              169 arch/mips/kernel/mips-r2-to-r6-emul.c 				regs->regs[MIPSInst_RD(ir)] =
regs              170 arch/mips/kernel/mips-r2-to-r6-emul.c 					(u64)regs->regs[MIPSInst_RS(ir)] +
regs              171 arch/mips/kernel/mips-r2-to-r6-emul.c 					(u64)regs->regs[MIPSInst_RT(ir)];
regs              178 arch/mips/kernel/mips-r2-to-r6-emul.c 				regs->regs[MIPSInst_RD(ir)] =
regs              179 arch/mips/kernel/mips-r2-to-r6-emul.c 					(s64)((u64)regs->regs[MIPSInst_RS(ir)] -
regs              180 arch/mips/kernel/mips-r2-to-r6-emul.c 					      (u64)regs->regs[MIPSInst_RT(ir)]);
regs              199 arch/mips/kernel/mips-r2-to-r6-emul.c static int movf_func(struct pt_regs *regs, u32 ir)
regs              208 arch/mips/kernel/mips-r2-to-r6-emul.c 		regs->regs[MIPSInst_RD(ir)] = regs->regs[MIPSInst_RS(ir)];
regs              222 arch/mips/kernel/mips-r2-to-r6-emul.c static int movt_func(struct pt_regs *regs, u32 ir)
regs              231 arch/mips/kernel/mips-r2-to-r6-emul.c 		regs->regs[MIPSInst_RD(ir)] = regs->regs[MIPSInst_RS(ir)];
regs              247 arch/mips/kernel/mips-r2-to-r6-emul.c static int jr_func(struct pt_regs *regs, u32 ir)
regs              253 arch/mips/kernel/mips-r2-to-r6-emul.c 	if (delay_slot(regs))
regs              257 arch/mips/kernel/mips-r2-to-r6-emul.c 	nepc = regs->cp0_epc;
regs              259 arch/mips/kernel/mips-r2-to-r6-emul.c 	regs->cp0_epc -= 4;
regs              260 arch/mips/kernel/mips-r2-to-r6-emul.c 	epc = regs->cp0_epc;
regs              261 arch/mips/kernel/mips-r2-to-r6-emul.c 	err = __compute_return_epc(regs);
regs              268 arch/mips/kernel/mips-r2-to-r6-emul.c 	cepc = regs->cp0_epc;
regs              284 arch/mips/kernel/mips-r2-to-r6-emul.c 		err = mipsr6_emul(regs, nir);
regs              286 arch/mips/kernel/mips-r2-to-r6-emul.c 			regs->cp0_epc = nepc;
regs              287 arch/mips/kernel/mips-r2-to-r6-emul.c 			err = mips_dsemul(regs, nir, epc, cepc);
regs              304 arch/mips/kernel/mips-r2-to-r6-emul.c static int movz_func(struct pt_regs *regs, u32 ir)
regs              306 arch/mips/kernel/mips-r2-to-r6-emul.c 	if (((regs->regs[MIPSInst_RT(ir)]) == 0) && MIPSInst_RD(ir))
regs              307 arch/mips/kernel/mips-r2-to-r6-emul.c 		regs->regs[MIPSInst_RD(ir)] = regs->regs[MIPSInst_RS(ir)];
regs              320 arch/mips/kernel/mips-r2-to-r6-emul.c static int movn_func(struct pt_regs *regs, u32 ir)
regs              322 arch/mips/kernel/mips-r2-to-r6-emul.c 	if (((regs->regs[MIPSInst_RT(ir)]) != 0) && MIPSInst_RD(ir))
regs              323 arch/mips/kernel/mips-r2-to-r6-emul.c 		regs->regs[MIPSInst_RD(ir)] = regs->regs[MIPSInst_RS(ir)];
regs              336 arch/mips/kernel/mips-r2-to-r6-emul.c static int mfhi_func(struct pt_regs *regs, u32 ir)
regs              339 arch/mips/kernel/mips-r2-to-r6-emul.c 		regs->regs[MIPSInst_RD(ir)] = regs->hi;
regs              353 arch/mips/kernel/mips-r2-to-r6-emul.c static int mthi_func(struct pt_regs *regs, u32 ir)
regs              355 arch/mips/kernel/mips-r2-to-r6-emul.c 	regs->hi = regs->regs[MIPSInst_RS(ir)];
regs              369 arch/mips/kernel/mips-r2-to-r6-emul.c static int mflo_func(struct pt_regs *regs, u32 ir)
regs              372 arch/mips/kernel/mips-r2-to-r6-emul.c 		regs->regs[MIPSInst_RD(ir)] = regs->lo;
regs              386 arch/mips/kernel/mips-r2-to-r6-emul.c static int mtlo_func(struct pt_regs *regs, u32 ir)
regs              388 arch/mips/kernel/mips-r2-to-r6-emul.c 	regs->lo = regs->regs[MIPSInst_RS(ir)];
regs              402 arch/mips/kernel/mips-r2-to-r6-emul.c static int mult_func(struct pt_regs *regs, u32 ir)
regs              407 arch/mips/kernel/mips-r2-to-r6-emul.c 	rt = regs->regs[MIPSInst_RT(ir)];
regs              408 arch/mips/kernel/mips-r2-to-r6-emul.c 	rs = regs->regs[MIPSInst_RS(ir)];
regs              412 arch/mips/kernel/mips-r2-to-r6-emul.c 	regs->lo = (s64)rs;
regs              415 arch/mips/kernel/mips-r2-to-r6-emul.c 	regs->hi = res;
regs              429 arch/mips/kernel/mips-r2-to-r6-emul.c static int multu_func(struct pt_regs *regs, u32 ir)
regs              434 arch/mips/kernel/mips-r2-to-r6-emul.c 	rt = regs->regs[MIPSInst_RT(ir)];
regs              435 arch/mips/kernel/mips-r2-to-r6-emul.c 	rs = regs->regs[MIPSInst_RS(ir)];
regs              438 arch/mips/kernel/mips-r2-to-r6-emul.c 	regs->lo = (s64)(s32)rt;
regs              439 arch/mips/kernel/mips-r2-to-r6-emul.c 	regs->hi = (s64)(s32)(res >> 32);
regs              453 arch/mips/kernel/mips-r2-to-r6-emul.c static int div_func(struct pt_regs *regs, u32 ir)
regs              457 arch/mips/kernel/mips-r2-to-r6-emul.c 	rt = regs->regs[MIPSInst_RT(ir)];
regs              458 arch/mips/kernel/mips-r2-to-r6-emul.c 	rs = regs->regs[MIPSInst_RS(ir)];
regs              460 arch/mips/kernel/mips-r2-to-r6-emul.c 	regs->lo = (s64)(rs / rt);
regs              461 arch/mips/kernel/mips-r2-to-r6-emul.c 	regs->hi = (s64)(rs % rt);
regs              475 arch/mips/kernel/mips-r2-to-r6-emul.c static int divu_func(struct pt_regs *regs, u32 ir)
regs              479 arch/mips/kernel/mips-r2-to-r6-emul.c 	rt = regs->regs[MIPSInst_RT(ir)];
regs              480 arch/mips/kernel/mips-r2-to-r6-emul.c 	rs = regs->regs[MIPSInst_RS(ir)];
regs              482 arch/mips/kernel/mips-r2-to-r6-emul.c 	regs->lo = (s64)(rs / rt);
regs              483 arch/mips/kernel/mips-r2-to-r6-emul.c 	regs->hi = (s64)(rs % rt);
regs              497 arch/mips/kernel/mips-r2-to-r6-emul.c static int dmult_func(struct pt_regs *regs, u32 ir)
regs              505 arch/mips/kernel/mips-r2-to-r6-emul.c 	rt = regs->regs[MIPSInst_RT(ir)];
regs              506 arch/mips/kernel/mips-r2-to-r6-emul.c 	rs = regs->regs[MIPSInst_RS(ir)];
regs              509 arch/mips/kernel/mips-r2-to-r6-emul.c 	regs->lo = res;
regs              515 arch/mips/kernel/mips-r2-to-r6-emul.c 	regs->hi = res;
regs              529 arch/mips/kernel/mips-r2-to-r6-emul.c static int dmultu_func(struct pt_regs *regs, u32 ir)
regs              537 arch/mips/kernel/mips-r2-to-r6-emul.c 	rt = regs->regs[MIPSInst_RT(ir)];
regs              538 arch/mips/kernel/mips-r2-to-r6-emul.c 	rs = regs->regs[MIPSInst_RS(ir)];
regs              541 arch/mips/kernel/mips-r2-to-r6-emul.c 	regs->lo = res;
regs              547 arch/mips/kernel/mips-r2-to-r6-emul.c 	regs->hi = res;
regs              561 arch/mips/kernel/mips-r2-to-r6-emul.c static int ddiv_func(struct pt_regs *regs, u32 ir)
regs              568 arch/mips/kernel/mips-r2-to-r6-emul.c 	rt = regs->regs[MIPSInst_RT(ir)];
regs              569 arch/mips/kernel/mips-r2-to-r6-emul.c 	rs = regs->regs[MIPSInst_RS(ir)];
regs              571 arch/mips/kernel/mips-r2-to-r6-emul.c 	regs->lo = rs / rt;
regs              572 arch/mips/kernel/mips-r2-to-r6-emul.c 	regs->hi = rs % rt;
regs              586 arch/mips/kernel/mips-r2-to-r6-emul.c static int ddivu_func(struct pt_regs *regs, u32 ir)
regs              593 arch/mips/kernel/mips-r2-to-r6-emul.c 	rt = regs->regs[MIPSInst_RT(ir)];
regs              594 arch/mips/kernel/mips-r2-to-r6-emul.c 	rs = regs->regs[MIPSInst_RS(ir)];
regs              596 arch/mips/kernel/mips-r2-to-r6-emul.c 	regs->lo = rs / rt;
regs              597 arch/mips/kernel/mips-r2-to-r6-emul.c 	regs->hi = rs % rt;
regs              633 arch/mips/kernel/mips-r2-to-r6-emul.c static int madd_func(struct pt_regs *regs, u32 ir)
regs              638 arch/mips/kernel/mips-r2-to-r6-emul.c 	rt = regs->regs[MIPSInst_RT(ir)];
regs              639 arch/mips/kernel/mips-r2-to-r6-emul.c 	rs = regs->regs[MIPSInst_RS(ir)];
regs              641 arch/mips/kernel/mips-r2-to-r6-emul.c 	rt = regs->hi;
regs              642 arch/mips/kernel/mips-r2-to-r6-emul.c 	rs = regs->lo;
regs              646 arch/mips/kernel/mips-r2-to-r6-emul.c 	regs->lo = (s64)rt;
regs              648 arch/mips/kernel/mips-r2-to-r6-emul.c 	regs->hi = (s64)rs;
regs              662 arch/mips/kernel/mips-r2-to-r6-emul.c static int maddu_func(struct pt_regs *regs, u32 ir)
regs              667 arch/mips/kernel/mips-r2-to-r6-emul.c 	rt = regs->regs[MIPSInst_RT(ir)];
regs              668 arch/mips/kernel/mips-r2-to-r6-emul.c 	rs = regs->regs[MIPSInst_RS(ir)];
regs              670 arch/mips/kernel/mips-r2-to-r6-emul.c 	rt = regs->hi;
regs              671 arch/mips/kernel/mips-r2-to-r6-emul.c 	rs = regs->lo;
regs              675 arch/mips/kernel/mips-r2-to-r6-emul.c 	regs->lo = (s64)(s32)rt;
regs              677 arch/mips/kernel/mips-r2-to-r6-emul.c 	regs->hi = (s64)(s32)rs;
regs              691 arch/mips/kernel/mips-r2-to-r6-emul.c static int msub_func(struct pt_regs *regs, u32 ir)
regs              696 arch/mips/kernel/mips-r2-to-r6-emul.c 	rt = regs->regs[MIPSInst_RT(ir)];
regs              697 arch/mips/kernel/mips-r2-to-r6-emul.c 	rs = regs->regs[MIPSInst_RS(ir)];
regs              699 arch/mips/kernel/mips-r2-to-r6-emul.c 	rt = regs->hi;
regs              700 arch/mips/kernel/mips-r2-to-r6-emul.c 	rs = regs->lo;
regs              704 arch/mips/kernel/mips-r2-to-r6-emul.c 	regs->lo = (s64)rt;
regs              706 arch/mips/kernel/mips-r2-to-r6-emul.c 	regs->hi = (s64)rs;
regs              720 arch/mips/kernel/mips-r2-to-r6-emul.c static int msubu_func(struct pt_regs *regs, u32 ir)
regs              725 arch/mips/kernel/mips-r2-to-r6-emul.c 	rt = regs->regs[MIPSInst_RT(ir)];
regs              726 arch/mips/kernel/mips-r2-to-r6-emul.c 	rs = regs->regs[MIPSInst_RS(ir)];
regs              728 arch/mips/kernel/mips-r2-to-r6-emul.c 	rt = regs->hi;
regs              729 arch/mips/kernel/mips-r2-to-r6-emul.c 	rs = regs->lo;
regs              733 arch/mips/kernel/mips-r2-to-r6-emul.c 	regs->lo = (s64)(s32)rt;
regs              735 arch/mips/kernel/mips-r2-to-r6-emul.c 	regs->hi = (s64)(s32)rs;
regs              749 arch/mips/kernel/mips-r2-to-r6-emul.c static int mul_func(struct pt_regs *regs, u32 ir)
regs              756 arch/mips/kernel/mips-r2-to-r6-emul.c 	rt = regs->regs[MIPSInst_RT(ir)];
regs              757 arch/mips/kernel/mips-r2-to-r6-emul.c 	rs = regs->regs[MIPSInst_RS(ir)];
regs              761 arch/mips/kernel/mips-r2-to-r6-emul.c 	regs->regs[MIPSInst_RD(ir)] = (s64)rs;
regs              775 arch/mips/kernel/mips-r2-to-r6-emul.c static int clz_func(struct pt_regs *regs, u32 ir)
regs              783 arch/mips/kernel/mips-r2-to-r6-emul.c 	rs = regs->regs[MIPSInst_RS(ir)];
regs              785 arch/mips/kernel/mips-r2-to-r6-emul.c 	regs->regs[MIPSInst_RD(ir)] = res;
regs              800 arch/mips/kernel/mips-r2-to-r6-emul.c static int clo_func(struct pt_regs *regs, u32 ir)
regs              808 arch/mips/kernel/mips-r2-to-r6-emul.c 	rs = regs->regs[MIPSInst_RS(ir)];
regs              810 arch/mips/kernel/mips-r2-to-r6-emul.c 	regs->regs[MIPSInst_RD(ir)] = res;
regs              824 arch/mips/kernel/mips-r2-to-r6-emul.c static int dclz_func(struct pt_regs *regs, u32 ir)
regs              835 arch/mips/kernel/mips-r2-to-r6-emul.c 	rs = regs->regs[MIPSInst_RS(ir)];
regs              837 arch/mips/kernel/mips-r2-to-r6-emul.c 	regs->regs[MIPSInst_RD(ir)] = res;
regs              851 arch/mips/kernel/mips-r2-to-r6-emul.c static int dclo_func(struct pt_regs *regs, u32 ir)
regs              862 arch/mips/kernel/mips-r2-to-r6-emul.c 	rs = regs->regs[MIPSInst_RS(ir)];
regs              864 arch/mips/kernel/mips-r2-to-r6-emul.c 	regs->regs[MIPSInst_RD(ir)] = res;
regs              885 arch/mips/kernel/mips-r2-to-r6-emul.c static inline int mipsr2_find_op_func(struct pt_regs *regs, u32 inst,
regs              893 arch/mips/kernel/mips-r2-to-r6-emul.c 			err = (p->func)(regs, inst);
regs              906 arch/mips/kernel/mips-r2-to-r6-emul.c int mipsr2_decoder(struct pt_regs *regs, u32 inst, unsigned long *fcr31)
regs              917 arch/mips/kernel/mips-r2-to-r6-emul.c 	r31 = regs->regs[31];
regs              918 arch/mips/kernel/mips-r2-to-r6-emul.c 	epc = regs->cp0_epc;
regs              919 arch/mips/kernel/mips-r2-to-r6-emul.c 	err = compute_return_epc(regs);
regs              929 arch/mips/kernel/mips-r2-to-r6-emul.c 		err = mipsr2_find_op_func(regs, inst, spec_op_table);
regs              932 arch/mips/kernel/mips-r2-to-r6-emul.c 			regs->cp0_cause |= CAUSEF_BD;
regs              937 arch/mips/kernel/mips-r2-to-r6-emul.c 		err = mipsr2_find_op_func(regs, inst, spec2_op_table);
regs              944 arch/mips/kernel/mips-r2-to-r6-emul.c 			if ((long)regs->regs[rs] >= MIPSInst_SIMM(inst))
regs              945 arch/mips/kernel/mips-r2-to-r6-emul.c 				do_trap_or_bp(regs, 0, 0, "TGEI");
regs              951 arch/mips/kernel/mips-r2-to-r6-emul.c 			if (regs->regs[rs] >= MIPSInst_UIMM(inst))
regs              952 arch/mips/kernel/mips-r2-to-r6-emul.c 				do_trap_or_bp(regs, 0, 0, "TGEIU");
regs              958 arch/mips/kernel/mips-r2-to-r6-emul.c 			if ((long)regs->regs[rs] < MIPSInst_SIMM(inst))
regs              959 arch/mips/kernel/mips-r2-to-r6-emul.c 				do_trap_or_bp(regs, 0, 0, "TLTI");
regs              965 arch/mips/kernel/mips-r2-to-r6-emul.c 			if (regs->regs[rs] < MIPSInst_UIMM(inst))
regs              966 arch/mips/kernel/mips-r2-to-r6-emul.c 				do_trap_or_bp(regs, 0, 0, "TLTIU");
regs              972 arch/mips/kernel/mips-r2-to-r6-emul.c 			if (regs->regs[rs] == MIPSInst_SIMM(inst))
regs              973 arch/mips/kernel/mips-r2-to-r6-emul.c 				do_trap_or_bp(regs, 0, 0, "TEQI");
regs              979 arch/mips/kernel/mips-r2-to-r6-emul.c 			if (regs->regs[rs] != MIPSInst_SIMM(inst))
regs              980 arch/mips/kernel/mips-r2-to-r6-emul.c 				do_trap_or_bp(regs, 0, 0, "TNEI");
regs              989 arch/mips/kernel/mips-r2-to-r6-emul.c 			if (delay_slot(regs)) {
regs              993 arch/mips/kernel/mips-r2-to-r6-emul.c 			regs->regs[31] = r31;
regs              994 arch/mips/kernel/mips-r2-to-r6-emul.c 			regs->cp0_epc = epc;
regs              995 arch/mips/kernel/mips-r2-to-r6-emul.c 			err = __compute_return_epc(regs);
regs             1000 arch/mips/kernel/mips-r2-to-r6-emul.c 			cpc = regs->cp0_epc;
regs             1031 arch/mips/kernel/mips-r2-to-r6-emul.c 				regs->cp0_cause |= CAUSEF_BD;
regs             1035 arch/mips/kernel/mips-r2-to-r6-emul.c 				err = mipsr6_emul(regs, nir);
regs             1037 arch/mips/kernel/mips-r2-to-r6-emul.c 					err = mips_dsemul(regs, nir, epc, cpc);
regs             1046 arch/mips/kernel/mips-r2-to-r6-emul.c 			if (delay_slot(regs)) {
regs             1050 arch/mips/kernel/mips-r2-to-r6-emul.c 			regs->regs[31] = r31;
regs             1051 arch/mips/kernel/mips-r2-to-r6-emul.c 			regs->cp0_epc = epc;
regs             1052 arch/mips/kernel/mips-r2-to-r6-emul.c 			err = __compute_return_epc(regs);
regs             1055 arch/mips/kernel/mips-r2-to-r6-emul.c 			cpc = regs->cp0_epc;
regs             1080 arch/mips/kernel/mips-r2-to-r6-emul.c 				regs->cp0_cause |= CAUSEF_BD;
regs             1084 arch/mips/kernel/mips-r2-to-r6-emul.c 				err = mipsr6_emul(regs, nir);
regs             1086 arch/mips/kernel/mips-r2-to-r6-emul.c 					err = mips_dsemul(regs, nir, epc, cpc);
regs             1094 arch/mips/kernel/mips-r2-to-r6-emul.c 			regs->regs[31] = r31;
regs             1095 arch/mips/kernel/mips-r2-to-r6-emul.c 			regs->cp0_epc = epc;
regs             1115 arch/mips/kernel/mips-r2-to-r6-emul.c 		if (delay_slot(regs)) {
regs             1119 arch/mips/kernel/mips-r2-to-r6-emul.c 		regs->regs[31] = r31;
regs             1120 arch/mips/kernel/mips-r2-to-r6-emul.c 		regs->cp0_epc = epc;
regs             1121 arch/mips/kernel/mips-r2-to-r6-emul.c 		err = __compute_return_epc(regs);
regs             1126 arch/mips/kernel/mips-r2-to-r6-emul.c 		cpc = regs->cp0_epc;
regs             1157 arch/mips/kernel/mips-r2-to-r6-emul.c 			regs->cp0_cause |= CAUSEF_BD;
regs             1161 arch/mips/kernel/mips-r2-to-r6-emul.c 			err = mipsr6_emul(regs, nir);
regs             1163 arch/mips/kernel/mips-r2-to-r6-emul.c 				err = mips_dsemul(regs, nir, epc, cpc);
regs             1175 arch/mips/kernel/mips-r2-to-r6-emul.c 		regs->regs[31] = r31;
regs             1176 arch/mips/kernel/mips-r2-to-r6-emul.c 		regs->cp0_epc = epc;
regs             1178 arch/mips/kernel/mips-r2-to-r6-emul.c 		err = fpu_emulator_cop1Handler(regs, &current->thread.fpu, 0,
regs             1206 arch/mips/kernel/mips-r2-to-r6-emul.c 		rt = regs->regs[MIPSInst_RT(inst)];
regs             1207 arch/mips/kernel/mips-r2-to-r6-emul.c 		vaddr = regs->regs[MIPSInst_RS(inst)] + MIPSInst_SIMM(inst);
regs             1272 arch/mips/kernel/mips-r2-to-r6-emul.c 			regs->regs[MIPSInst_RT(inst)] = rt;
regs             1279 arch/mips/kernel/mips-r2-to-r6-emul.c 		rt = regs->regs[MIPSInst_RT(inst)];
regs             1280 arch/mips/kernel/mips-r2-to-r6-emul.c 		vaddr = regs->regs[MIPSInst_RS(inst)] + MIPSInst_SIMM(inst);
regs             1346 arch/mips/kernel/mips-r2-to-r6-emul.c 			regs->regs[MIPSInst_RT(inst)] = rt;
regs             1353 arch/mips/kernel/mips-r2-to-r6-emul.c 		rt = regs->regs[MIPSInst_RT(inst)];
regs             1354 arch/mips/kernel/mips-r2-to-r6-emul.c 		vaddr = regs->regs[MIPSInst_RS(inst)] + MIPSInst_SIMM(inst);
regs             1423 arch/mips/kernel/mips-r2-to-r6-emul.c 		rt = regs->regs[MIPSInst_RT(inst)];
regs             1424 arch/mips/kernel/mips-r2-to-r6-emul.c 		vaddr = regs->regs[MIPSInst_RS(inst)] + MIPSInst_SIMM(inst);
regs             1498 arch/mips/kernel/mips-r2-to-r6-emul.c 		rt = regs->regs[MIPSInst_RT(inst)];
regs             1499 arch/mips/kernel/mips-r2-to-r6-emul.c 		vaddr = regs->regs[MIPSInst_RS(inst)] + MIPSInst_SIMM(inst);
regs             1606 arch/mips/kernel/mips-r2-to-r6-emul.c 			regs->regs[MIPSInst_RT(inst)] = rt;
regs             1617 arch/mips/kernel/mips-r2-to-r6-emul.c 		rt = regs->regs[MIPSInst_RT(inst)];
regs             1618 arch/mips/kernel/mips-r2-to-r6-emul.c 		vaddr = regs->regs[MIPSInst_RS(inst)] + MIPSInst_SIMM(inst);
regs             1725 arch/mips/kernel/mips-r2-to-r6-emul.c 			regs->regs[MIPSInst_RT(inst)] = rt;
regs             1736 arch/mips/kernel/mips-r2-to-r6-emul.c 		rt = regs->regs[MIPSInst_RT(inst)];
regs             1737 arch/mips/kernel/mips-r2-to-r6-emul.c 		vaddr = regs->regs[MIPSInst_RS(inst)] + MIPSInst_SIMM(inst);
regs             1854 arch/mips/kernel/mips-r2-to-r6-emul.c 		rt = regs->regs[MIPSInst_RT(inst)];
regs             1855 arch/mips/kernel/mips-r2-to-r6-emul.c 		vaddr = regs->regs[MIPSInst_RS(inst)] + MIPSInst_SIMM(inst);
regs             1967 arch/mips/kernel/mips-r2-to-r6-emul.c 		vaddr = regs->regs[MIPSInst_RS(inst)] + MIPSInst_SIMM(inst);
regs             2017 arch/mips/kernel/mips-r2-to-r6-emul.c 			regs->regs[MIPSInst_RT(inst)] = res;
regs             2023 arch/mips/kernel/mips-r2-to-r6-emul.c 		vaddr = regs->regs[MIPSInst_RS(inst)] + MIPSInst_SIMM(inst);
regs             2055 arch/mips/kernel/mips-r2-to-r6-emul.c 		res = regs->regs[MIPSInst_RT(inst)];
regs             2074 arch/mips/kernel/mips-r2-to-r6-emul.c 			regs->regs[MIPSInst_RT(inst)] = res;
regs             2086 arch/mips/kernel/mips-r2-to-r6-emul.c 		vaddr = regs->regs[MIPSInst_RS(inst)] + MIPSInst_SIMM(inst);
regs             2135 arch/mips/kernel/mips-r2-to-r6-emul.c 			regs->regs[MIPSInst_RT(inst)] = res;
regs             2147 arch/mips/kernel/mips-r2-to-r6-emul.c 		vaddr = regs->regs[MIPSInst_RS(inst)] + MIPSInst_SIMM(inst);
regs             2179 arch/mips/kernel/mips-r2-to-r6-emul.c 		res = regs->regs[MIPSInst_RT(inst)];
regs             2198 arch/mips/kernel/mips-r2-to-r6-emul.c 			regs->regs[MIPSInst_RT(inst)] = res;
regs             2215 arch/mips/kernel/mips-r2-to-r6-emul.c 		regs->cp0_cause &= ~CAUSEF_BD;
regs             2216 arch/mips/kernel/mips-r2-to-r6-emul.c 		err = get_user(inst, (u32 __user *)regs->cp0_epc);
regs             2225 arch/mips/kernel/mips-r2-to-r6-emul.c 		regs->regs[31] = r31;
regs             2226 arch/mips/kernel/mips-r2-to-r6-emul.c 		regs->cp0_epc = epc;
regs               43 arch/mips/kernel/perf_event.c 			   struct pt_regs *regs)
regs               45 arch/mips/kernel/perf_event.c 	unsigned long sp = regs->regs[29];
regs               47 arch/mips/kernel/perf_event.c 	unsigned long ra = regs->regs[31];
regs               48 arch/mips/kernel/perf_event.c 	unsigned long pc = regs->cp0_epc;
regs              735 arch/mips/kernel/perf_event_mipsxx.c 				    struct pt_regs *regs)
regs              745 arch/mips/kernel/perf_event_mipsxx.c 	if (perf_event_overflow(event, data, regs))
regs             1388 arch/mips/kernel/perf_event_mipsxx.c 	struct pt_regs *regs;
regs             1404 arch/mips/kernel/perf_event_mipsxx.c 	regs = get_irq_regs();
regs             1416 arch/mips/kernel/perf_event_mipsxx.c 		handle_associated_event(cpuc, n, &data, regs);
regs               67 arch/mips/kernel/process.c void start_thread(struct pt_regs * regs, unsigned long pc, unsigned long sp)
regs               72 arch/mips/kernel/process.c 	status = regs->cp0_status & ~(ST0_CU0|ST0_CU1|ST0_FR|KU_MASK);
regs               74 arch/mips/kernel/process.c 	regs->cp0_status = status;
regs               80 arch/mips/kernel/process.c 	regs->cp0_epc = pc;
regs               81 arch/mips/kernel/process.c 	regs->regs[29] = sp;
regs              125 arch/mips/kernel/process.c 	struct pt_regs *childregs, *regs = current_pt_regs();
regs              155 arch/mips/kernel/process.c 	*childregs = *regs;
regs              156 arch/mips/kernel/process.c 	childregs->regs[7] = 0; /* Clear error flag */
regs              157 arch/mips/kernel/process.c 	childregs->regs[2] = 0; /* Child gets zero as return value */
regs              159 arch/mips/kernel/process.c 		childregs->regs[29] = usp;
regs              516 arch/mips/kernel/process.c 	struct pt_regs *regs;
regs              553 arch/mips/kernel/process.c 		regs = (struct pt_regs *)task_sp;
regs              554 arch/mips/kernel/process.c 		pc = regs->cp0_epc;
regs              555 arch/mips/kernel/process.c 		if (!user_mode(regs) && __kernel_text_address(pc)) {
regs              556 arch/mips/kernel/process.c 			*sp = regs->regs[29];
regs              557 arch/mips/kernel/process.c 			*ra = regs->regs[31];
regs              834 arch/mips/kernel/process.c void mips_dump_regs32(u32 *uregs, const struct pt_regs *regs)
regs              843 arch/mips/kernel/process.c 			uregs[i] = regs->regs[i - MIPS32_EF_R0];
regs              846 arch/mips/kernel/process.c 	uregs[MIPS32_EF_LO] = regs->lo;
regs              847 arch/mips/kernel/process.c 	uregs[MIPS32_EF_HI] = regs->hi;
regs              848 arch/mips/kernel/process.c 	uregs[MIPS32_EF_CP0_EPC] = regs->cp0_epc;
regs              849 arch/mips/kernel/process.c 	uregs[MIPS32_EF_CP0_BADVADDR] = regs->cp0_badvaddr;
regs              850 arch/mips/kernel/process.c 	uregs[MIPS32_EF_CP0_STATUS] = regs->cp0_status;
regs              851 arch/mips/kernel/process.c 	uregs[MIPS32_EF_CP0_CAUSE] = regs->cp0_cause;
regs              856 arch/mips/kernel/process.c void mips_dump_regs64(u64 *uregs, const struct pt_regs *regs)
regs              865 arch/mips/kernel/process.c 			uregs[i] = regs->regs[i - MIPS64_EF_R0];
regs              868 arch/mips/kernel/process.c 	uregs[MIPS64_EF_LO] = regs->lo;
regs              869 arch/mips/kernel/process.c 	uregs[MIPS64_EF_HI] = regs->hi;
regs              870 arch/mips/kernel/process.c 	uregs[MIPS64_EF_CP0_EPC] = regs->cp0_epc;
regs              871 arch/mips/kernel/process.c 	uregs[MIPS64_EF_CP0_BADVADDR] = regs->cp0_badvaddr;
regs              872 arch/mips/kernel/process.c 	uregs[MIPS64_EF_CP0_STATUS] = regs->cp0_status;
regs              873 arch/mips/kernel/process.c 	uregs[MIPS64_EF_CP0_CAUSE] = regs->cp0_cause;
regs               71 arch/mips/kernel/ptrace.c 	struct pt_regs *regs;
regs               77 arch/mips/kernel/ptrace.c 	regs = task_pt_regs(child);
regs               80 arch/mips/kernel/ptrace.c 		__put_user((long)regs->regs[i], (__s64 __user *)&data->regs[i]);
regs               81 arch/mips/kernel/ptrace.c 	__put_user((long)regs->lo, (__s64 __user *)&data->lo);
regs               82 arch/mips/kernel/ptrace.c 	__put_user((long)regs->hi, (__s64 __user *)&data->hi);
regs               83 arch/mips/kernel/ptrace.c 	__put_user((long)regs->cp0_epc, (__s64 __user *)&data->cp0_epc);
regs               84 arch/mips/kernel/ptrace.c 	__put_user((long)regs->cp0_badvaddr, (__s64 __user *)&data->cp0_badvaddr);
regs               85 arch/mips/kernel/ptrace.c 	__put_user((long)regs->cp0_status, (__s64 __user *)&data->cp0_status);
regs               86 arch/mips/kernel/ptrace.c 	__put_user((long)regs->cp0_cause, (__s64 __user *)&data->cp0_cause);
regs               98 arch/mips/kernel/ptrace.c 	struct pt_regs *regs;
regs              104 arch/mips/kernel/ptrace.c 	regs = task_pt_regs(child);
regs              107 arch/mips/kernel/ptrace.c 		__get_user(regs->regs[i], (__s64 __user *)&data->regs[i]);
regs              108 arch/mips/kernel/ptrace.c 	__get_user(regs->lo, (__s64 __user *)&data->lo);
regs              109 arch/mips/kernel/ptrace.c 	__get_user(regs->hi, (__s64 __user *)&data->hi);
regs              110 arch/mips/kernel/ptrace.c 	__get_user(regs->cp0_epc, (__s64 __user *)&data->cp0_epc);
regs              115 arch/mips/kernel/ptrace.c 	mips_syscall_update_nr(child, regs);
regs              217 arch/mips/kernel/ptrace.c 	struct pt_regs *regs = task_pt_regs(target);
regs              220 arch/mips/kernel/ptrace.c 	mips_dump_regs32(uregs, regs);
regs              230 arch/mips/kernel/ptrace.c 	struct pt_regs *regs = task_pt_regs(target);
regs              255 arch/mips/kernel/ptrace.c 			regs->regs[i - MIPS32_EF_R0] = (s32)uregs[i];
regs              258 arch/mips/kernel/ptrace.c 			regs->lo = (s32)uregs[i];
regs              261 arch/mips/kernel/ptrace.c 			regs->hi = (s32)uregs[i];
regs              264 arch/mips/kernel/ptrace.c 			regs->cp0_epc = (s32)uregs[i];
regs              270 arch/mips/kernel/ptrace.c 	mips_syscall_update_nr(target, regs);
regs              284 arch/mips/kernel/ptrace.c 	struct pt_regs *regs = task_pt_regs(target);
regs              287 arch/mips/kernel/ptrace.c 	mips_dump_regs64(uregs, regs);
regs              297 arch/mips/kernel/ptrace.c 	struct pt_regs *regs = task_pt_regs(target);
regs              318 arch/mips/kernel/ptrace.c 			regs->regs[i - MIPS64_EF_R0] = uregs[i];
regs              321 arch/mips/kernel/ptrace.c 			regs->lo = uregs[i];
regs              324 arch/mips/kernel/ptrace.c 			regs->hi = uregs[i];
regs              327 arch/mips/kernel/ptrace.c 			regs->cp0_epc = uregs[i];
regs              333 arch/mips/kernel/ptrace.c 	mips_syscall_update_nr(target, regs);
regs              946 arch/mips/kernel/ptrace.c 	REG_OFFSET_NAME(r0, regs[0]),
regs              947 arch/mips/kernel/ptrace.c 	REG_OFFSET_NAME(r1, regs[1]),
regs              948 arch/mips/kernel/ptrace.c 	REG_OFFSET_NAME(r2, regs[2]),
regs              949 arch/mips/kernel/ptrace.c 	REG_OFFSET_NAME(r3, regs[3]),
regs              950 arch/mips/kernel/ptrace.c 	REG_OFFSET_NAME(r4, regs[4]),
regs              951 arch/mips/kernel/ptrace.c 	REG_OFFSET_NAME(r5, regs[5]),
regs              952 arch/mips/kernel/ptrace.c 	REG_OFFSET_NAME(r6, regs[6]),
regs              953 arch/mips/kernel/ptrace.c 	REG_OFFSET_NAME(r7, regs[7]),
regs              954 arch/mips/kernel/ptrace.c 	REG_OFFSET_NAME(r8, regs[8]),
regs              955 arch/mips/kernel/ptrace.c 	REG_OFFSET_NAME(r9, regs[9]),
regs              956 arch/mips/kernel/ptrace.c 	REG_OFFSET_NAME(r10, regs[10]),
regs              957 arch/mips/kernel/ptrace.c 	REG_OFFSET_NAME(r11, regs[11]),
regs              958 arch/mips/kernel/ptrace.c 	REG_OFFSET_NAME(r12, regs[12]),
regs              959 arch/mips/kernel/ptrace.c 	REG_OFFSET_NAME(r13, regs[13]),
regs              960 arch/mips/kernel/ptrace.c 	REG_OFFSET_NAME(r14, regs[14]),
regs              961 arch/mips/kernel/ptrace.c 	REG_OFFSET_NAME(r15, regs[15]),
regs              962 arch/mips/kernel/ptrace.c 	REG_OFFSET_NAME(r16, regs[16]),
regs              963 arch/mips/kernel/ptrace.c 	REG_OFFSET_NAME(r17, regs[17]),
regs              964 arch/mips/kernel/ptrace.c 	REG_OFFSET_NAME(r18, regs[18]),
regs              965 arch/mips/kernel/ptrace.c 	REG_OFFSET_NAME(r19, regs[19]),
regs              966 arch/mips/kernel/ptrace.c 	REG_OFFSET_NAME(r20, regs[20]),
regs              967 arch/mips/kernel/ptrace.c 	REG_OFFSET_NAME(r21, regs[21]),
regs              968 arch/mips/kernel/ptrace.c 	REG_OFFSET_NAME(r22, regs[22]),
regs              969 arch/mips/kernel/ptrace.c 	REG_OFFSET_NAME(r23, regs[23]),
regs              970 arch/mips/kernel/ptrace.c 	REG_OFFSET_NAME(r24, regs[24]),
regs              971 arch/mips/kernel/ptrace.c 	REG_OFFSET_NAME(r25, regs[25]),
regs              972 arch/mips/kernel/ptrace.c 	REG_OFFSET_NAME(r26, regs[26]),
regs              973 arch/mips/kernel/ptrace.c 	REG_OFFSET_NAME(r27, regs[27]),
regs              974 arch/mips/kernel/ptrace.c 	REG_OFFSET_NAME(r28, regs[28]),
regs              975 arch/mips/kernel/ptrace.c 	REG_OFFSET_NAME(r29, regs[29]),
regs              976 arch/mips/kernel/ptrace.c 	REG_OFFSET_NAME(r30, regs[30]),
regs              977 arch/mips/kernel/ptrace.c 	REG_OFFSET_NAME(r31, regs[31]),
regs             1181 arch/mips/kernel/ptrace.c 		struct pt_regs *regs;
regs             1184 arch/mips/kernel/ptrace.c 		regs = task_pt_regs(child);
regs             1189 arch/mips/kernel/ptrace.c 			tmp = regs->regs[addr];
regs             1226 arch/mips/kernel/ptrace.c 			tmp = regs->cp0_epc;
regs             1229 arch/mips/kernel/ptrace.c 			tmp = regs->cp0_cause;
regs             1232 arch/mips/kernel/ptrace.c 			tmp = regs->cp0_badvaddr;
regs             1235 arch/mips/kernel/ptrace.c 			tmp = regs->hi;
regs             1238 arch/mips/kernel/ptrace.c 			tmp = regs->lo;
regs             1242 arch/mips/kernel/ptrace.c 			tmp = regs->acx;
regs             1281 arch/mips/kernel/ptrace.c 		struct pt_regs *regs;
regs             1283 arch/mips/kernel/ptrace.c 		regs = task_pt_regs(child);
regs             1287 arch/mips/kernel/ptrace.c 			regs->regs[addr] = data;
regs             1290 arch/mips/kernel/ptrace.c 				mips_syscall_update_nr(child, regs);
regs             1292 arch/mips/kernel/ptrace.c 				 mips_syscall_is_indirect(child, regs))
regs             1293 arch/mips/kernel/ptrace.c 				mips_syscall_update_nr(child, regs);
regs             1321 arch/mips/kernel/ptrace.c 			regs->cp0_epc = data;
regs             1324 arch/mips/kernel/ptrace.c 			regs->hi = data;
regs             1327 arch/mips/kernel/ptrace.c 			regs->lo = data;
regs             1331 arch/mips/kernel/ptrace.c 			regs->acx = data;
regs             1402 arch/mips/kernel/ptrace.c asmlinkage long syscall_trace_enter(struct pt_regs *regs, long syscall)
regs             1409 arch/mips/kernel/ptrace.c 		if (tracehook_report_syscall_entry(regs))
regs             1422 arch/mips/kernel/ptrace.c 		syscall_get_arguments(current, regs, args);
regs             1435 arch/mips/kernel/ptrace.c 		trace_sys_enter(regs, regs->regs[2]);
regs             1437 arch/mips/kernel/ptrace.c 	audit_syscall_entry(syscall, regs->regs[4], regs->regs[5],
regs             1438 arch/mips/kernel/ptrace.c 			    regs->regs[6], regs->regs[7]);
regs             1445 arch/mips/kernel/ptrace.c 		syscall_set_return_value(current, regs, -ENOSYS, 0);
regs             1453 arch/mips/kernel/ptrace.c asmlinkage void syscall_trace_leave(struct pt_regs *regs)
regs             1462 arch/mips/kernel/ptrace.c 	audit_syscall_exit(regs);
regs             1465 arch/mips/kernel/ptrace.c 		trace_sys_exit(regs, regs_return_value(regs));
regs             1468 arch/mips/kernel/ptrace.c 		tracehook_report_syscall_exit(regs, 0);
regs               84 arch/mips/kernel/ptrace32.c 		struct pt_regs *regs;
regs               87 arch/mips/kernel/ptrace32.c 		regs = task_pt_regs(child);
regs               92 arch/mips/kernel/ptrace32.c 			tmp = regs->regs[addr];
regs              126 arch/mips/kernel/ptrace32.c 			tmp = regs->cp0_epc;
regs              129 arch/mips/kernel/ptrace32.c 			tmp = regs->cp0_cause;
regs              132 arch/mips/kernel/ptrace32.c 			tmp = regs->cp0_badvaddr;
regs              135 arch/mips/kernel/ptrace32.c 			tmp = regs->hi;
regs              138 arch/mips/kernel/ptrace32.c 			tmp = regs->lo;
regs              196 arch/mips/kernel/ptrace32.c 		struct pt_regs *regs;
regs              198 arch/mips/kernel/ptrace32.c 		regs = task_pt_regs(child);
regs              202 arch/mips/kernel/ptrace32.c 			regs->regs[addr] = data;
regs              205 arch/mips/kernel/ptrace32.c 				mips_syscall_update_nr(child, regs);
regs              207 arch/mips/kernel/ptrace32.c 				 mips_syscall_is_indirect(child, regs))
regs              208 arch/mips/kernel/ptrace32.c 				mips_syscall_update_nr(child, regs);
regs              238 arch/mips/kernel/ptrace32.c 			regs->cp0_epc = data;
regs              241 arch/mips/kernel/ptrace32.c 			regs->hi = data;
regs              244 arch/mips/kernel/ptrace32.c 			regs->lo = data;
regs               25 arch/mips/kernel/signal-common.h extern void __user *get_sigframe(struct ksignal *ksig, struct pt_regs *regs,
regs              439 arch/mips/kernel/signal.c int setup_sigcontext(struct pt_regs *regs, struct sigcontext __user *sc)
regs              444 arch/mips/kernel/signal.c 	err |= __put_user(regs->cp0_epc, &sc->sc_pc);
regs              448 arch/mips/kernel/signal.c 		err |= __put_user(regs->regs[i], &sc->sc_regs[i]);
regs              451 arch/mips/kernel/signal.c 	err |= __put_user(regs->acx, &sc->sc_acx);
regs              453 arch/mips/kernel/signal.c 	err |= __put_user(regs->hi, &sc->sc_mdhi);
regs              454 arch/mips/kernel/signal.c 	err |= __put_user(regs->lo, &sc->sc_mdlo);
regs              516 arch/mips/kernel/signal.c int restore_sigcontext(struct pt_regs *regs, struct sigcontext __user *sc)
regs              525 arch/mips/kernel/signal.c 	err |= __get_user(regs->cp0_epc, &sc->sc_pc);
regs              528 arch/mips/kernel/signal.c 	err |= __get_user(regs->acx, &sc->sc_acx);
regs              530 arch/mips/kernel/signal.c 	err |= __get_user(regs->hi, &sc->sc_mdhi);
regs              531 arch/mips/kernel/signal.c 	err |= __get_user(regs->lo, &sc->sc_mdlo);
regs              543 arch/mips/kernel/signal.c 		err |= __get_user(regs->regs[i], &sc->sc_regs[i]);
regs              548 arch/mips/kernel/signal.c void __user *get_sigframe(struct ksignal *ksig, struct pt_regs *regs,
regs              557 arch/mips/kernel/signal.c 	sp = regs->regs[29];
regs              627 arch/mips/kernel/signal.c 	struct pt_regs *regs;
regs              631 arch/mips/kernel/signal.c 	regs = current_pt_regs();
regs              632 arch/mips/kernel/signal.c 	frame = (struct sigframe __user *)regs->regs[29];
regs              640 arch/mips/kernel/signal.c 	sig = restore_sigcontext(regs, &frame->sf_sc);
regs              653 arch/mips/kernel/signal.c 		: "r" (regs));
regs              664 arch/mips/kernel/signal.c 	struct pt_regs *regs;
regs              668 arch/mips/kernel/signal.c 	regs = current_pt_regs();
regs              669 arch/mips/kernel/signal.c 	frame = (struct rt_sigframe __user *)regs->regs[29];
regs              677 arch/mips/kernel/signal.c 	sig = restore_sigcontext(regs, &frame->rs_uc.uc_mcontext);
regs              693 arch/mips/kernel/signal.c 		: "r" (regs));
regs              702 arch/mips/kernel/signal.c 		       struct pt_regs *regs, sigset_t *set)
regs              707 arch/mips/kernel/signal.c 	frame = get_sigframe(ksig, regs, sizeof(*frame));
regs              711 arch/mips/kernel/signal.c 	err |= setup_sigcontext(regs, &frame->sf_sc);
regs              726 arch/mips/kernel/signal.c 	regs->regs[ 4] = ksig->sig;
regs              727 arch/mips/kernel/signal.c 	regs->regs[ 5] = 0;
regs              728 arch/mips/kernel/signal.c 	regs->regs[ 6] = (unsigned long) &frame->sf_sc;
regs              729 arch/mips/kernel/signal.c 	regs->regs[29] = (unsigned long) frame;
regs              730 arch/mips/kernel/signal.c 	regs->regs[31] = (unsigned long) sig_return;
regs              731 arch/mips/kernel/signal.c 	regs->cp0_epc = regs->regs[25] = (unsigned long) ksig->ka.sa.sa_handler;
regs              735 arch/mips/kernel/signal.c 	       frame, regs->cp0_epc, regs->regs[31]);
regs              741 arch/mips/kernel/signal.c 			  struct pt_regs *regs, sigset_t *set)
regs              746 arch/mips/kernel/signal.c 	frame = get_sigframe(ksig, regs, sizeof(*frame));
regs              756 arch/mips/kernel/signal.c 	err |= __save_altstack(&frame->rs_uc.uc_stack, regs->regs[29]);
regs              757 arch/mips/kernel/signal.c 	err |= setup_sigcontext(regs, &frame->rs_uc.uc_mcontext);
regs              773 arch/mips/kernel/signal.c 	regs->regs[ 4] = ksig->sig;
regs              774 arch/mips/kernel/signal.c 	regs->regs[ 5] = (unsigned long) &frame->rs_info;
regs              775 arch/mips/kernel/signal.c 	regs->regs[ 6] = (unsigned long) &frame->rs_uc;
regs              776 arch/mips/kernel/signal.c 	regs->regs[29] = (unsigned long) frame;
regs              777 arch/mips/kernel/signal.c 	regs->regs[31] = (unsigned long) sig_return;
regs              778 arch/mips/kernel/signal.c 	regs->cp0_epc = regs->regs[25] = (unsigned long) ksig->ka.sa.sa_handler;
regs              782 arch/mips/kernel/signal.c 	       frame, regs->cp0_epc, regs->regs[31]);
regs              801 arch/mips/kernel/signal.c static void handle_signal(struct ksignal *ksig, struct pt_regs *regs)
regs              814 arch/mips/kernel/signal.c 	dsemul_thread_rollback(regs);
regs              816 arch/mips/kernel/signal.c 	if (regs->regs[0]) {
regs              817 arch/mips/kernel/signal.c 		switch(regs->regs[2]) {
regs              820 arch/mips/kernel/signal.c 			regs->regs[2] = EINTR;
regs              824 arch/mips/kernel/signal.c 				regs->regs[2] = EINTR;
regs              829 arch/mips/kernel/signal.c 			regs->regs[7] = regs->regs[26];
regs              830 arch/mips/kernel/signal.c 			regs->regs[2] = regs->regs[0];
regs              831 arch/mips/kernel/signal.c 			regs->cp0_epc -= 4;
regs              834 arch/mips/kernel/signal.c 		regs->regs[0] = 0;		/* Don't deal with this again.	*/
regs              837 arch/mips/kernel/signal.c 	rseq_signal_deliver(ksig, regs);
regs              841 arch/mips/kernel/signal.c 					  ksig, regs, oldset);
regs              844 arch/mips/kernel/signal.c 				       ksig, regs, oldset);
regs              849 arch/mips/kernel/signal.c static void do_signal(struct pt_regs *regs)
regs              855 arch/mips/kernel/signal.c 		handle_signal(&ksig, regs);
regs              859 arch/mips/kernel/signal.c 	if (regs->regs[0]) {
regs              860 arch/mips/kernel/signal.c 		switch (regs->regs[2]) {
regs              864 arch/mips/kernel/signal.c 			regs->regs[2] = regs->regs[0];
regs              865 arch/mips/kernel/signal.c 			regs->regs[7] = regs->regs[26];
regs              866 arch/mips/kernel/signal.c 			regs->cp0_epc -= 4;
regs              870 arch/mips/kernel/signal.c 			regs->regs[2] = current->thread.abi->restart;
regs              871 arch/mips/kernel/signal.c 			regs->regs[7] = regs->regs[26];
regs              872 arch/mips/kernel/signal.c 			regs->cp0_epc -= 4;
regs              875 arch/mips/kernel/signal.c 		regs->regs[0] = 0;	/* Don't deal with this again.	*/
regs              889 arch/mips/kernel/signal.c asmlinkage void do_notify_resume(struct pt_regs *regs, void *unused,
regs              897 arch/mips/kernel/signal.c 		uprobe_notify_resume(regs);
regs              901 arch/mips/kernel/signal.c 		do_signal(regs);
regs              905 arch/mips/kernel/signal.c 		tracehook_notify_resume(regs);
regs              906 arch/mips/kernel/signal.c 		rseq_handle_notify_resume(NULL, regs);
regs               57 arch/mips/kernel/signal_n32.c 	struct pt_regs *regs;
regs               61 arch/mips/kernel/signal_n32.c 	regs = current_pt_regs();
regs               62 arch/mips/kernel/signal_n32.c 	frame = (struct rt_sigframe_n32 __user *)regs->regs[29];
regs               70 arch/mips/kernel/signal_n32.c 	sig = restore_sigcontext(regs, &frame->rs_uc.uc_mcontext);
regs               86 arch/mips/kernel/signal_n32.c 		: "r" (regs));
regs               94 arch/mips/kernel/signal_n32.c 			      struct pt_regs *regs, sigset_t *set)
regs               99 arch/mips/kernel/signal_n32.c 	frame = get_sigframe(ksig, regs, sizeof(*frame));
regs              109 arch/mips/kernel/signal_n32.c 	err |= __compat_save_altstack(&frame->rs_uc.uc_stack, regs->regs[29]);
regs              110 arch/mips/kernel/signal_n32.c 	err |= setup_sigcontext(regs, &frame->rs_uc.uc_mcontext);
regs              126 arch/mips/kernel/signal_n32.c 	regs->regs[ 4] = ksig->sig;
regs              127 arch/mips/kernel/signal_n32.c 	regs->regs[ 5] = (unsigned long) &frame->rs_info;
regs              128 arch/mips/kernel/signal_n32.c 	regs->regs[ 6] = (unsigned long) &frame->rs_uc;
regs              129 arch/mips/kernel/signal_n32.c 	regs->regs[29] = (unsigned long) frame;
regs              130 arch/mips/kernel/signal_n32.c 	regs->regs[31] = (unsigned long) sig_return;
regs              131 arch/mips/kernel/signal_n32.c 	regs->cp0_epc = regs->regs[25] = (unsigned long) ksig->ka.sa.sa_handler;
regs              135 arch/mips/kernel/signal_n32.c 	       frame, regs->cp0_epc, regs->regs[31]);
regs               52 arch/mips/kernel/signal_o32.c static int setup_sigcontext32(struct pt_regs *regs,
regs               58 arch/mips/kernel/signal_o32.c 	err |= __put_user(regs->cp0_epc, &sc->sc_pc);
regs               62 arch/mips/kernel/signal_o32.c 		err |= __put_user(regs->regs[i], &sc->sc_regs[i]);
regs               64 arch/mips/kernel/signal_o32.c 	err |= __put_user(regs->hi, &sc->sc_mdhi);
regs               65 arch/mips/kernel/signal_o32.c 	err |= __put_user(regs->lo, &sc->sc_mdlo);
regs               85 arch/mips/kernel/signal_o32.c static int restore_sigcontext32(struct pt_regs *regs,
regs               95 arch/mips/kernel/signal_o32.c 	err |= __get_user(regs->cp0_epc, &sc->sc_pc);
regs               96 arch/mips/kernel/signal_o32.c 	err |= __get_user(regs->hi, &sc->sc_mdhi);
regs               97 arch/mips/kernel/signal_o32.c 	err |= __get_user(regs->lo, &sc->sc_mdlo);
regs              109 arch/mips/kernel/signal_o32.c 		err |= __get_user(regs->regs[i], &sc->sc_regs[i]);
regs              115 arch/mips/kernel/signal_o32.c 			  struct pt_regs *regs, sigset_t *set)
regs              120 arch/mips/kernel/signal_o32.c 	frame = get_sigframe(ksig, regs, sizeof(*frame));
regs              124 arch/mips/kernel/signal_o32.c 	err |= setup_sigcontext32(regs, &frame->sf_sc);
regs              140 arch/mips/kernel/signal_o32.c 	regs->regs[ 4] = ksig->sig;
regs              141 arch/mips/kernel/signal_o32.c 	regs->regs[ 5] = 0;
regs              142 arch/mips/kernel/signal_o32.c 	regs->regs[ 6] = (unsigned long) &frame->sf_sc;
regs              143 arch/mips/kernel/signal_o32.c 	regs->regs[29] = (unsigned long) frame;
regs              144 arch/mips/kernel/signal_o32.c 	regs->regs[31] = (unsigned long) sig_return;
regs              145 arch/mips/kernel/signal_o32.c 	regs->cp0_epc = regs->regs[25] = (unsigned long) ksig->ka.sa.sa_handler;
regs              149 arch/mips/kernel/signal_o32.c 	       frame, regs->cp0_epc, regs->regs[31]);
regs              157 arch/mips/kernel/signal_o32.c 	struct pt_regs *regs;
regs              161 arch/mips/kernel/signal_o32.c 	regs = current_pt_regs();
regs              162 arch/mips/kernel/signal_o32.c 	frame = (struct rt_sigframe32 __user *)regs->regs[29];
regs              170 arch/mips/kernel/signal_o32.c 	sig = restore_sigcontext32(regs, &frame->rs_uc.uc_mcontext);
regs              186 arch/mips/kernel/signal_o32.c 		: "r" (regs));
regs              194 arch/mips/kernel/signal_o32.c 			     struct pt_regs *regs, sigset_t *set)
regs              199 arch/mips/kernel/signal_o32.c 	frame = get_sigframe(ksig, regs, sizeof(*frame));
regs              209 arch/mips/kernel/signal_o32.c 	err |= __compat_save_altstack(&frame->rs_uc.uc_stack, regs->regs[29]);
regs              210 arch/mips/kernel/signal_o32.c 	err |= setup_sigcontext32(regs, &frame->rs_uc.uc_mcontext);
regs              226 arch/mips/kernel/signal_o32.c 	regs->regs[ 4] = ksig->sig;
regs              227 arch/mips/kernel/signal_o32.c 	regs->regs[ 5] = (unsigned long) &frame->rs_info;
regs              228 arch/mips/kernel/signal_o32.c 	regs->regs[ 6] = (unsigned long) &frame->rs_uc;
regs              229 arch/mips/kernel/signal_o32.c 	regs->regs[29] = (unsigned long) frame;
regs              230 arch/mips/kernel/signal_o32.c 	regs->regs[31] = (unsigned long) sig_return;
regs              231 arch/mips/kernel/signal_o32.c 	regs->cp0_epc = regs->regs[25] = (unsigned long) ksig->ka.sa.sa_handler;
regs              235 arch/mips/kernel/signal_o32.c 	       frame, regs->cp0_epc, regs->regs[31]);
regs              259 arch/mips/kernel/signal_o32.c 	struct pt_regs *regs;
regs              263 arch/mips/kernel/signal_o32.c 	regs = current_pt_regs();
regs              264 arch/mips/kernel/signal_o32.c 	frame = (struct sigframe32 __user *)regs->regs[29];
regs              272 arch/mips/kernel/signal_o32.c 	sig = restore_sigcontext32(regs, &frame->sf_sc);
regs              285 arch/mips/kernel/signal_o32.c 		: "r" (regs));
regs               38 arch/mips/kernel/stacktrace.c 	struct task_struct *tsk, struct pt_regs *regs, int savesched)
regs               40 arch/mips/kernel/stacktrace.c 	unsigned long sp = regs->regs[29];
regs               42 arch/mips/kernel/stacktrace.c 	unsigned long ra = regs->regs[31];
regs               43 arch/mips/kernel/stacktrace.c 	unsigned long pc = regs->cp0_epc;
regs               81 arch/mips/kernel/stacktrace.c 	struct pt_regs *regs = &dummyregs;
regs               86 arch/mips/kernel/stacktrace.c 		regs->regs[29] = tsk->thread.reg29;
regs               87 arch/mips/kernel/stacktrace.c 		regs->regs[31] = 0;
regs               88 arch/mips/kernel/stacktrace.c 		regs->cp0_epc = tsk->thread.reg31;
regs               90 arch/mips/kernel/stacktrace.c 		prepare_frametrace(regs);
regs               91 arch/mips/kernel/stacktrace.c 	save_context_stack(trace, tsk, regs, tsk == current);
regs               56 arch/mips/kernel/syscall.c 	current_pt_regs()->regs[3] = fd[1];
regs               99 arch/mips/kernel/syscall.c 	struct pt_regs *regs;
regs              183 arch/mips/kernel/syscall.c 	regs = current_pt_regs();
regs              184 arch/mips/kernel/syscall.c 	regs->regs[2] = old;
regs              185 arch/mips/kernel/syscall.c 	regs->regs[7] = 0;	/* No error */
regs              194 arch/mips/kernel/syscall.c 	: "r" (regs));
regs              102 arch/mips/kernel/traps.c int (*board_be_handler)(struct pt_regs *regs, int is_fixup);
regs              141 arch/mips/kernel/traps.c static void show_backtrace(struct task_struct *task, const struct pt_regs *regs)
regs              143 arch/mips/kernel/traps.c 	unsigned long sp = regs->regs[29];
regs              144 arch/mips/kernel/traps.c 	unsigned long ra = regs->regs[31];
regs              145 arch/mips/kernel/traps.c 	unsigned long pc = regs->cp0_epc;
regs              150 arch/mips/kernel/traps.c 	if (raw_show_trace || user_mode(regs) || !__kernel_text_address(pc)) {
regs              167 arch/mips/kernel/traps.c 	const struct pt_regs *regs)
regs              172 arch/mips/kernel/traps.c 	unsigned long __user *sp = (unsigned long __user *)regs->regs[29];
regs              195 arch/mips/kernel/traps.c 	show_backtrace(task, regs);
regs              200 arch/mips/kernel/traps.c 	struct pt_regs regs;
regs              203 arch/mips/kernel/traps.c 	regs.cp0_status = KSU_KERNEL;
regs              205 arch/mips/kernel/traps.c 		regs.regs[29] = (unsigned long)sp;
regs              206 arch/mips/kernel/traps.c 		regs.regs[31] = 0;
regs              207 arch/mips/kernel/traps.c 		regs.cp0_epc = 0;
regs              210 arch/mips/kernel/traps.c 			regs.regs[29] = task->thread.reg29;
regs              211 arch/mips/kernel/traps.c 			regs.regs[31] = 0;
regs              212 arch/mips/kernel/traps.c 			regs.cp0_epc = task->thread.reg31;
regs              216 arch/mips/kernel/traps.c 			memcpy(&regs, kdb_current_regs, sizeof(regs));
regs              219 arch/mips/kernel/traps.c 			prepare_frametrace(&regs);
regs              227 arch/mips/kernel/traps.c 	show_stacktrace(task, &regs);
regs              251 arch/mips/kernel/traps.c static void __show_regs(const struct pt_regs *regs)
regs              254 arch/mips/kernel/traps.c 	unsigned int cause = regs->cp0_cause;
regs              271 arch/mips/kernel/traps.c 			pr_cont(" %0*lx", field, regs->regs[i]);
regs              279 arch/mips/kernel/traps.c 	printk("Acx    : %0*lx\n", field, regs->acx);
regs              282 arch/mips/kernel/traps.c 		printk("Hi    : %0*lx\n", field, regs->hi);
regs              283 arch/mips/kernel/traps.c 		printk("Lo    : %0*lx\n", field, regs->lo);
regs              289 arch/mips/kernel/traps.c 	printk("epc   : %0*lx %pS\n", field, regs->cp0_epc,
regs              290 arch/mips/kernel/traps.c 	       (void *) regs->cp0_epc);
regs              291 arch/mips/kernel/traps.c 	printk("ra    : %0*lx %pS\n", field, regs->regs[31],
regs              292 arch/mips/kernel/traps.c 	       (void *) regs->regs[31]);
regs              294 arch/mips/kernel/traps.c 	printk("Status: %08x	", (uint32_t) regs->cp0_status);
regs              297 arch/mips/kernel/traps.c 		if (regs->cp0_status & ST0_KUO)
regs              299 arch/mips/kernel/traps.c 		if (regs->cp0_status & ST0_IEO)
regs              301 arch/mips/kernel/traps.c 		if (regs->cp0_status & ST0_KUP)
regs              303 arch/mips/kernel/traps.c 		if (regs->cp0_status & ST0_IEP)
regs              305 arch/mips/kernel/traps.c 		if (regs->cp0_status & ST0_KUC)
regs              307 arch/mips/kernel/traps.c 		if (regs->cp0_status & ST0_IEC)
regs              310 arch/mips/kernel/traps.c 		if (regs->cp0_status & ST0_KX)
regs              312 arch/mips/kernel/traps.c 		if (regs->cp0_status & ST0_SX)
regs              314 arch/mips/kernel/traps.c 		if (regs->cp0_status & ST0_UX)
regs              316 arch/mips/kernel/traps.c 		switch (regs->cp0_status & ST0_KSU) {
regs              330 arch/mips/kernel/traps.c 		if (regs->cp0_status & ST0_ERL)
regs              332 arch/mips/kernel/traps.c 		if (regs->cp0_status & ST0_EXL)
regs              334 arch/mips/kernel/traps.c 		if (regs->cp0_status & ST0_IE)
regs              343 arch/mips/kernel/traps.c 		printk("BadVA : %0*lx\n", field, regs->cp0_badvaddr);
regs              352 arch/mips/kernel/traps.c void show_regs(struct pt_regs *regs)
regs              354 arch/mips/kernel/traps.c 	__show_regs(regs);
regs              358 arch/mips/kernel/traps.c void show_registers(struct pt_regs *regs)
regs              363 arch/mips/kernel/traps.c 	__show_regs(regs);
regs              376 arch/mips/kernel/traps.c 	if (!user_mode(regs))
regs              379 arch/mips/kernel/traps.c 	show_stacktrace(current, regs);
regs              380 arch/mips/kernel/traps.c 	show_code((unsigned int __user *) regs->cp0_epc);
regs              387 arch/mips/kernel/traps.c void __noreturn die(const char *str, struct pt_regs *regs)
regs              394 arch/mips/kernel/traps.c 	if (notify_die(DIE_OOPS, str, regs, 0, current->thread.trap_nr,
regs              403 arch/mips/kernel/traps.c 	show_registers(regs);
regs              415 arch/mips/kernel/traps.c 	if (regs && kexec_should_crash(current))
regs              416 arch/mips/kernel/traps.c 		crash_kexec(regs);
regs              440 arch/mips/kernel/traps.c asmlinkage void do_be(struct pt_regs *regs)
regs              444 arch/mips/kernel/traps.c 	int data = regs->cp0_cause & 4;
regs              450 arch/mips/kernel/traps.c 	if (data && !user_mode(regs))
regs              451 arch/mips/kernel/traps.c 		fixup = search_dbe_tables(exception_epc(regs));
regs              457 arch/mips/kernel/traps.c 		action = board_be_handler(regs, fixup != NULL);
regs              466 arch/mips/kernel/traps.c 			regs->cp0_epc = fixup->nextinsn;
regs              479 arch/mips/kernel/traps.c 	       field, regs->cp0_epc, field, regs->regs[31]);
regs              480 arch/mips/kernel/traps.c 	if (notify_die(DIE_OOPS, "bus error", regs, 0, current->thread.trap_nr,
regs              484 arch/mips/kernel/traps.c 	die_if_kernel("Oops", regs);
regs              521 arch/mips/kernel/traps.c static inline int simulate_ll(struct pt_regs *regs, unsigned int opcode)
regs              537 arch/mips/kernel/traps.c 		((unsigned long)(regs->regs[(opcode & BASE) >> 21]) + offset);
regs              555 arch/mips/kernel/traps.c 	regs->regs[(opcode & RT) >> 16] = value;
regs              560 arch/mips/kernel/traps.c static inline int simulate_sc(struct pt_regs *regs, unsigned int opcode)
regs              577 arch/mips/kernel/traps.c 		((unsigned long)(regs->regs[(opcode & BASE) >> 21]) + offset);
regs              586 arch/mips/kernel/traps.c 		regs->regs[reg] = 0;
regs              593 arch/mips/kernel/traps.c 	if (put_user(regs->regs[reg], vaddr))
regs              596 arch/mips/kernel/traps.c 	regs->regs[reg] = 1;
regs              608 arch/mips/kernel/traps.c static int simulate_llsc(struct pt_regs *regs, unsigned int opcode)
regs              612 arch/mips/kernel/traps.c 				1, regs, 0);
regs              613 arch/mips/kernel/traps.c 		return simulate_ll(regs, opcode);
regs              617 arch/mips/kernel/traps.c 				1, regs, 0);
regs              618 arch/mips/kernel/traps.c 		return simulate_sc(regs, opcode);
regs              628 arch/mips/kernel/traps.c static int simulate_rdhwr(struct pt_regs *regs, int rd, int rt)
regs              633 arch/mips/kernel/traps.c 			1, regs, 0);
regs              636 arch/mips/kernel/traps.c 		regs->regs[rt] = smp_processor_id();
regs              639 arch/mips/kernel/traps.c 		regs->regs[rt] = min(current_cpu_data.dcache.linesz,
regs              643 arch/mips/kernel/traps.c 		regs->regs[rt] = read_c0_count();
regs              649 arch/mips/kernel/traps.c 			regs->regs[rt] = 1;
regs              652 arch/mips/kernel/traps.c 			regs->regs[rt] = 2;
regs              656 arch/mips/kernel/traps.c 		regs->regs[rt] = ti->tp_value;
regs              663 arch/mips/kernel/traps.c static int simulate_rdhwr_normal(struct pt_regs *regs, unsigned int opcode)
regs              669 arch/mips/kernel/traps.c 		simulate_rdhwr(regs, rd, rt);
regs              677 arch/mips/kernel/traps.c static int simulate_rdhwr_mm(struct pt_regs *regs, unsigned int opcode)
regs              682 arch/mips/kernel/traps.c 		simulate_rdhwr(regs, rd, rt);
regs              690 arch/mips/kernel/traps.c static int simulate_sync(struct pt_regs *regs, unsigned int opcode)
regs              694 arch/mips/kernel/traps.c 				1, regs, 0);
regs              701 arch/mips/kernel/traps.c asmlinkage void do_ov(struct pt_regs *regs)
regs              706 arch/mips/kernel/traps.c 	die_if_kernel("Integer overflow", regs);
regs              708 arch/mips/kernel/traps.c 	force_sig_fault(SIGFPE, FPE_INTOVF, (void __user *)regs->cp0_epc);
regs              773 arch/mips/kernel/traps.c static int simulate_fp(struct pt_regs *regs, unsigned int opcode,
regs              799 arch/mips/kernel/traps.c 	regs->cp0_epc = old_epc;
regs              800 arch/mips/kernel/traps.c 	regs->regs[31] = old_ra;
regs              803 arch/mips/kernel/traps.c 	sig = fpu_emulator_cop1Handler(regs, &current->thread.fpu, 1,
regs              825 arch/mips/kernel/traps.c asmlinkage void do_fpe(struct pt_regs *regs, unsigned long fcr31)
regs              832 arch/mips/kernel/traps.c 	if (notify_die(DIE_FP, "FP exception", regs, 0, current->thread.trap_nr,
regs              840 arch/mips/kernel/traps.c 	die_if_kernel("FP exception in kernel code", regs);
regs              855 arch/mips/kernel/traps.c 		sig = fpu_emulator_cop1Handler(regs, &current->thread.fpu, 1,
regs              869 arch/mips/kernel/traps.c 		fault_addr = (void __user *) regs->cp0_epc;
regs              910 arch/mips/kernel/traps.c static int simulate_fp(struct pt_regs *regs, unsigned int opcode,
regs              918 arch/mips/kernel/traps.c void do_trap_or_bp(struct pt_regs *regs, unsigned int code, int si_code,
regs              924 arch/mips/kernel/traps.c 	if (kgdb_ll_trap(DIE_TRAP, str, regs, code, current->thread.trap_nr,
regs              929 arch/mips/kernel/traps.c 	if (notify_die(DIE_TRAP, str, regs, code, current->thread.trap_nr,
regs              943 arch/mips/kernel/traps.c 		die_if_kernel(b, regs);
regs              946 arch/mips/kernel/traps.c 				(void __user *) regs->cp0_epc);
regs              949 arch/mips/kernel/traps.c 		die_if_kernel("Kernel bug detected", regs);
regs              961 arch/mips/kernel/traps.c 		if (do_dsemulret(regs))
regs              964 arch/mips/kernel/traps.c 		die_if_kernel("Math emu break/trap", regs);
regs              969 arch/mips/kernel/traps.c 		die_if_kernel(b, regs);
regs              978 arch/mips/kernel/traps.c asmlinkage void do_bp(struct pt_regs *regs)
regs              980 arch/mips/kernel/traps.c 	unsigned long epc = msk_isa16_mode(exception_epc(regs));
regs              986 arch/mips/kernel/traps.c 	if (!user_mode(regs))
regs              990 arch/mips/kernel/traps.c 	current->thread.trap_nr = (regs->cp0_cause >> 2) & 0x1f;
regs              991 arch/mips/kernel/traps.c 	if (get_isa16_mode(regs->cp0_epc)) {
regs             1031 arch/mips/kernel/traps.c 		if (notify_die(DIE_UPROBE, "uprobe", regs, bcode,
regs             1037 arch/mips/kernel/traps.c 		if (notify_die(DIE_UPROBE_XOL, "uprobe_xol", regs, bcode,
regs             1043 arch/mips/kernel/traps.c 		if (notify_die(DIE_BREAK, "debug", regs, bcode,
regs             1049 arch/mips/kernel/traps.c 		if (notify_die(DIE_SSTEPBP, "single_step", regs, bcode,
regs             1058 arch/mips/kernel/traps.c 	do_trap_or_bp(regs, bcode, TRAP_BRKPT, "Break");
regs             1070 arch/mips/kernel/traps.c asmlinkage void do_tr(struct pt_regs *regs)
regs             1076 arch/mips/kernel/traps.c 	unsigned long epc = msk_isa16_mode(exception_epc(regs));
regs             1079 arch/mips/kernel/traps.c 	if (!user_mode(regs))
regs             1083 arch/mips/kernel/traps.c 	current->thread.trap_nr = (regs->cp0_cause >> 2) & 0x1f;
regs             1084 arch/mips/kernel/traps.c 	if (get_isa16_mode(regs->cp0_epc)) {
regs             1100 arch/mips/kernel/traps.c 	do_trap_or_bp(regs, tcode, 0, "Trap");
regs             1112 arch/mips/kernel/traps.c asmlinkage void do_ri(struct pt_regs *regs)
regs             1114 arch/mips/kernel/traps.c 	unsigned int __user *epc = (unsigned int __user *)exception_epc(regs);
regs             1115 arch/mips/kernel/traps.c 	unsigned long old_epc = regs->cp0_epc;
regs             1116 arch/mips/kernel/traps.c 	unsigned long old31 = regs->regs[31];
regs             1126 arch/mips/kernel/traps.c 	    likely(user_mode(regs)) &&
regs             1130 arch/mips/kernel/traps.c 		status = mipsr2_decoder(regs, opcode, &fcr31);
regs             1148 arch/mips/kernel/traps.c 	current->thread.trap_nr = (regs->cp0_cause >> 2) & 0x1f;
regs             1150 arch/mips/kernel/traps.c 	if (notify_die(DIE_RI, "RI Fault", regs, 0, current->thread.trap_nr,
regs             1154 arch/mips/kernel/traps.c 	die_if_kernel("Reserved instruction in kernel code", regs);
regs             1156 arch/mips/kernel/traps.c 	if (unlikely(compute_return_epc(regs) < 0))
regs             1159 arch/mips/kernel/traps.c 	if (!get_isa16_mode(regs->cp0_epc)) {
regs             1164 arch/mips/kernel/traps.c 			status = simulate_llsc(regs, opcode);
regs             1167 arch/mips/kernel/traps.c 			status = simulate_rdhwr_normal(regs, opcode);
regs             1170 arch/mips/kernel/traps.c 			status = simulate_sync(regs, opcode);
regs             1173 arch/mips/kernel/traps.c 			status = simulate_fp(regs, opcode, old_epc, old31);
regs             1185 arch/mips/kernel/traps.c 			status = simulate_rdhwr_mm(regs, opcode);
regs             1192 arch/mips/kernel/traps.c 		regs->cp0_epc = old_epc;		/* Undo skip-over.  */
regs             1193 arch/mips/kernel/traps.c 		regs->regs[31] = old31;
regs             1219 arch/mips/kernel/traps.c 	struct pt_regs *regs = data;
regs             1222 arch/mips/kernel/traps.c 			      "instruction", regs);
regs             1346 arch/mips/kernel/traps.c asmlinkage void do_cpu(struct pt_regs *regs)
regs             1356 arch/mips/kernel/traps.c 	cpid = (regs->cp0_cause >> CAUSEB_CE) & 3;
regs             1359 arch/mips/kernel/traps.c 		die_if_kernel("do_cpu invoked from kernel context!", regs);
regs             1363 arch/mips/kernel/traps.c 		epc = (unsigned int __user *)exception_epc(regs);
regs             1364 arch/mips/kernel/traps.c 		old_epc = regs->cp0_epc;
regs             1365 arch/mips/kernel/traps.c 		old31 = regs->regs[31];
regs             1369 arch/mips/kernel/traps.c 		if (unlikely(compute_return_epc(regs) < 0))
regs             1372 arch/mips/kernel/traps.c 		if (!get_isa16_mode(regs->cp0_epc)) {
regs             1377 arch/mips/kernel/traps.c 				status = simulate_llsc(regs, opcode);
regs             1384 arch/mips/kernel/traps.c 			regs->cp0_epc = old_epc;	/* Undo skip-over.  */
regs             1385 arch/mips/kernel/traps.c 			regs->regs[31] = old31;
regs             1421 arch/mips/kernel/traps.c 		sig = fpu_emulator_cop1Handler(regs, &current->thread.fpu, 0,
regs             1445 arch/mips/kernel/traps.c 		raw_notifier_call_chain(&cu2_chain, CU2_EXCEPTION, regs);
regs             1452 arch/mips/kernel/traps.c asmlinkage void do_msa_fpe(struct pt_regs *regs, unsigned int msacsr)
regs             1457 arch/mips/kernel/traps.c 	current->thread.trap_nr = (regs->cp0_cause >> 2) & 0x1f;
regs             1458 arch/mips/kernel/traps.c 	if (notify_die(DIE_MSAFP, "MSA FP exception", regs, 0,
regs             1466 arch/mips/kernel/traps.c 	die_if_kernel("do_msa_fpe invoked from kernel context!", regs);
regs             1472 arch/mips/kernel/traps.c asmlinkage void do_msa(struct pt_regs *regs)
regs             1484 arch/mips/kernel/traps.c 	die_if_kernel("do_msa invoked from kernel context!", regs);
regs             1493 arch/mips/kernel/traps.c asmlinkage void do_mdmx(struct pt_regs *regs)
regs             1505 arch/mips/kernel/traps.c asmlinkage void do_watch(struct pt_regs *regs)
regs             1532 arch/mips/kernel/traps.c asmlinkage void do_mcheck(struct pt_regs *regs)
regs             1534 arch/mips/kernel/traps.c 	int multi_match = regs->cp0_status & ST0_TS;
regs             1539 arch/mips/kernel/traps.c 	show_regs(regs);
regs             1547 arch/mips/kernel/traps.c 	if (!user_mode(regs))
regs             1550 arch/mips/kernel/traps.c 	show_code((unsigned int __user *) regs->cp0_epc);
regs             1563 arch/mips/kernel/traps.c asmlinkage void do_mt(struct pt_regs *regs)
regs             1593 arch/mips/kernel/traps.c 	die_if_kernel("MIPS MT Thread exception in kernel", regs);
regs             1599 arch/mips/kernel/traps.c asmlinkage void do_dsp(struct pt_regs *regs)
regs             1607 arch/mips/kernel/traps.c asmlinkage void do_reserved(struct pt_regs *regs)
regs             1614 arch/mips/kernel/traps.c 	show_regs(regs);
regs             1616 arch/mips/kernel/traps.c 	      (regs->cp0_cause & 0x7f) >> 2);
regs             1864 arch/mips/kernel/traps.c void ejtag_exception_handler(struct pt_regs *regs)
regs             1881 arch/mips/kernel/traps.c 		old_epc = regs->cp0_epc;
regs             1882 arch/mips/kernel/traps.c 		old_ra = regs->regs[31];
regs             1883 arch/mips/kernel/traps.c 		regs->cp0_epc = depc;
regs             1884 arch/mips/kernel/traps.c 		compute_return_epc(regs);
regs             1885 arch/mips/kernel/traps.c 		depc = regs->cp0_epc;
regs             1886 arch/mips/kernel/traps.c 		regs->cp0_epc = old_epc;
regs             1887 arch/mips/kernel/traps.c 		regs->regs[31] = old_ra;
regs             1909 arch/mips/kernel/traps.c void __noreturn nmi_exception_handler(struct pt_regs *regs)
regs             1914 arch/mips/kernel/traps.c 	raw_notifier_call_chain(&nmi_chain, 0, regs);
regs             1917 arch/mips/kernel/traps.c 		 smp_processor_id(), regs->cp0_epc);
regs             1918 arch/mips/kernel/traps.c 	regs->cp0_epc = read_c0_errorepc();
regs             1919 arch/mips/kernel/traps.c 	die(str, regs);
regs              109 arch/mips/kernel/unaligned.c extern void show_registers(struct pt_regs *regs);
regs              883 arch/mips/kernel/unaligned.c static void emulate_load_store_insn(struct pt_regs *regs,
regs              893 arch/mips/kernel/unaligned.c 	orig31 = regs->regs[31];
regs              895 arch/mips/kernel/unaligned.c 	perf_sw_event(PERF_COUNT_SW_EMULATION_FAULTS, 1, regs, 0);
regs              945 arch/mips/kernel/unaligned.c 				compute_return_epc(regs);
regs              946 arch/mips/kernel/unaligned.c 				regs->regs[insn.dsp_format.rd] = value;
regs              954 arch/mips/kernel/unaligned.c 				compute_return_epc(regs);
regs              955 arch/mips/kernel/unaligned.c 				regs->regs[insn.dsp_format.rd] = value;
regs              981 arch/mips/kernel/unaligned.c 				compute_return_epc(regs);
regs              982 arch/mips/kernel/unaligned.c 				regs->regs[insn.spec3_format.rt] = value;
regs              994 arch/mips/kernel/unaligned.c 				compute_return_epc(regs);
regs              995 arch/mips/kernel/unaligned.c 				regs->regs[insn.spec3_format.rt] = value;
regs             1007 arch/mips/kernel/unaligned.c 				compute_return_epc(regs);
regs             1008 arch/mips/kernel/unaligned.c 				regs->regs[insn.spec3_format.rt] = value;
regs             1015 arch/mips/kernel/unaligned.c 				compute_return_epc(regs);
regs             1016 arch/mips/kernel/unaligned.c 				value = regs->regs[insn.spec3_format.rt];
regs             1028 arch/mips/kernel/unaligned.c 				compute_return_epc(regs);
regs             1029 arch/mips/kernel/unaligned.c 				value = regs->regs[insn.spec3_format.rt];
regs             1059 arch/mips/kernel/unaligned.c 		compute_return_epc(regs);
regs             1060 arch/mips/kernel/unaligned.c 		regs->regs[insn.i_format.rt] = value;
regs             1078 arch/mips/kernel/unaligned.c 		compute_return_epc(regs);
regs             1079 arch/mips/kernel/unaligned.c 		regs->regs[insn.i_format.rt] = value;
regs             1097 arch/mips/kernel/unaligned.c 		compute_return_epc(regs);
regs             1098 arch/mips/kernel/unaligned.c 		regs->regs[insn.i_format.rt] = value;
regs             1116 arch/mips/kernel/unaligned.c 		compute_return_epc(regs);
regs             1117 arch/mips/kernel/unaligned.c 		regs->regs[insn.i_format.rt] = value;
regs             1139 arch/mips/kernel/unaligned.c 		compute_return_epc(regs);
regs             1140 arch/mips/kernel/unaligned.c 		regs->regs[insn.i_format.rt] = value;
regs             1151 arch/mips/kernel/unaligned.c 		compute_return_epc(regs);
regs             1152 arch/mips/kernel/unaligned.c 		value = regs->regs[insn.i_format.rt];
regs             1171 arch/mips/kernel/unaligned.c 		compute_return_epc(regs);
regs             1172 arch/mips/kernel/unaligned.c 		value = regs->regs[insn.i_format.rt];
regs             1199 arch/mips/kernel/unaligned.c 		compute_return_epc(regs);
regs             1200 arch/mips/kernel/unaligned.c 		value = regs->regs[insn.i_format.rt];
regs             1219 arch/mips/kernel/unaligned.c 		die_if_kernel("Unaligned FP access in kernel code", regs);
regs             1222 arch/mips/kernel/unaligned.c 		res = fpu_emulator_cop1Handler(regs, &current->thread.fpu, 1,
regs             1316 arch/mips/kernel/unaligned.c 		compute_return_epc(regs);
regs             1330 arch/mips/kernel/unaligned.c 		cu2_notifier_call_chain(CU2_LWC2_OP, regs);
regs             1334 arch/mips/kernel/unaligned.c 		cu2_notifier_call_chain(CU2_LDC2_OP, regs);
regs             1338 arch/mips/kernel/unaligned.c 		cu2_notifier_call_chain(CU2_SWC2_OP, regs);
regs             1342 arch/mips/kernel/unaligned.c 		cu2_notifier_call_chain(CU2_SDC2_OP, regs);
regs             1361 arch/mips/kernel/unaligned.c 	regs->cp0_epc = origpc;
regs             1362 arch/mips/kernel/unaligned.c 	regs->regs[31] = orig31;
regs             1364 arch/mips/kernel/unaligned.c 	if (fixup_exception(regs))
regs             1367 arch/mips/kernel/unaligned.c 	die_if_kernel("Unhandled kernel unaligned access", regs);
regs             1373 arch/mips/kernel/unaligned.c 	die_if_kernel("Unhandled kernel unaligned access", regs);
regs             1380 arch/mips/kernel/unaligned.c 	    ("Unhandled kernel unaligned access or invalid instruction", regs);
regs             1390 arch/mips/kernel/unaligned.c static void emulate_load_store_microMIPS(struct pt_regs *regs,
regs             1405 arch/mips/kernel/unaligned.c 	origpc = regs->cp0_epc;
regs             1406 arch/mips/kernel/unaligned.c 	orig31 = regs->regs[31];
regs             1413 arch/mips/kernel/unaligned.c 	pc16 = (unsigned short __user *)msk_isa16_mode(regs->cp0_epc);
regs             1416 arch/mips/kernel/unaligned.c 	contpc = regs->cp0_epc + 2;
regs             1423 arch/mips/kernel/unaligned.c 		contpc = regs->cp0_epc + 4;
regs             1444 arch/mips/kernel/unaligned.c 	if (mm_isBranchInstr(regs, mminsn, &contpc))
regs             1473 arch/mips/kernel/unaligned.c 			regs->regs[reg] = value;
regs             1478 arch/mips/kernel/unaligned.c 			regs->regs[reg + 1] = value;
regs             1489 arch/mips/kernel/unaligned.c 			value = regs->regs[reg];
regs             1494 arch/mips/kernel/unaligned.c 			value = regs->regs[reg + 1];
regs             1512 arch/mips/kernel/unaligned.c 			regs->regs[reg] = value;
regs             1517 arch/mips/kernel/unaligned.c 			regs->regs[reg + 1] = value;
regs             1532 arch/mips/kernel/unaligned.c 			value = regs->regs[reg];
regs             1537 arch/mips/kernel/unaligned.c 			value = regs->regs[reg + 1];
regs             1565 arch/mips/kernel/unaligned.c 				regs->regs[i] = value;
regs             1572 arch/mips/kernel/unaligned.c 				regs->regs[30] = value;
regs             1578 arch/mips/kernel/unaligned.c 				regs->regs[31] = value;
regs             1597 arch/mips/kernel/unaligned.c 				value = regs->regs[i];
regs             1604 arch/mips/kernel/unaligned.c 				value = regs->regs[30];
regs             1611 arch/mips/kernel/unaligned.c 				value = regs->regs[31];
regs             1639 arch/mips/kernel/unaligned.c 				regs->regs[i] = value;
regs             1646 arch/mips/kernel/unaligned.c 				regs->regs[30] = value;
regs             1652 arch/mips/kernel/unaligned.c 				regs->regs[31] = value;
regs             1676 arch/mips/kernel/unaligned.c 				value = regs->regs[i];
regs             1683 arch/mips/kernel/unaligned.c 				value = regs->regs[30];
regs             1690 arch/mips/kernel/unaligned.c 				value = regs->regs[31];
regs             1735 arch/mips/kernel/unaligned.c 		regs->cp0_epc = origpc;
regs             1736 arch/mips/kernel/unaligned.c 		regs->regs[31] = orig31;
regs             1738 arch/mips/kernel/unaligned.c 		die_if_kernel("Unaligned FP access in kernel code", regs);
regs             1742 arch/mips/kernel/unaligned.c 		res = fpu_emulator_cop1Handler(regs, &current->thread.fpu, 1,
regs             1796 arch/mips/kernel/unaligned.c 				regs->regs[i] = value;
regs             1801 arch/mips/kernel/unaligned.c 			regs->regs[31] = value;
regs             1812 arch/mips/kernel/unaligned.c 				value = regs->regs[i];
regs             1818 arch/mips/kernel/unaligned.c 			value = regs->regs[31];
regs             1868 arch/mips/kernel/unaligned.c 	regs->regs[reg] = value;
regs             1878 arch/mips/kernel/unaligned.c 	regs->regs[reg] = value;
regs             1888 arch/mips/kernel/unaligned.c 	regs->regs[reg] = value;
regs             1906 arch/mips/kernel/unaligned.c 	regs->regs[reg] = value;
regs             1928 arch/mips/kernel/unaligned.c 	regs->regs[reg] = value;
regs             1939 arch/mips/kernel/unaligned.c 	value = regs->regs[reg];
regs             1949 arch/mips/kernel/unaligned.c 	value = regs->regs[reg];
regs             1967 arch/mips/kernel/unaligned.c 	value = regs->regs[reg];
regs             1978 arch/mips/kernel/unaligned.c 	regs->cp0_epc = contpc;	/* advance or branch */
regs             1987 arch/mips/kernel/unaligned.c 	regs->cp0_epc = origpc;
regs             1988 arch/mips/kernel/unaligned.c 	regs->regs[31] = orig31;
regs             1990 arch/mips/kernel/unaligned.c 	if (fixup_exception(regs))
regs             1993 arch/mips/kernel/unaligned.c 	die_if_kernel("Unhandled kernel unaligned access", regs);
regs             1999 arch/mips/kernel/unaligned.c 	die_if_kernel("Unhandled kernel unaligned access", regs);
regs             2006 arch/mips/kernel/unaligned.c 	    ("Unhandled kernel unaligned access or invalid instruction", regs);
regs             2010 arch/mips/kernel/unaligned.c static void emulate_load_store_MIPS16e(struct pt_regs *regs, void __user * addr)
regs             2022 arch/mips/kernel/unaligned.c 	origpc = regs->cp0_epc;
regs             2023 arch/mips/kernel/unaligned.c 	orig31 = regs->regs[31];
regs             2036 arch/mips/kernel/unaligned.c 	} else if (delay_slot(regs)) {
regs             2128 arch/mips/kernel/unaligned.c 		MIPS16e_compute_return_epc(regs, &oldinst);
regs             2129 arch/mips/kernel/unaligned.c 		regs->regs[reg] = value;
regs             2139 arch/mips/kernel/unaligned.c 		MIPS16e_compute_return_epc(regs, &oldinst);
regs             2140 arch/mips/kernel/unaligned.c 		regs->regs[reg] = value;
regs             2152 arch/mips/kernel/unaligned.c 		MIPS16e_compute_return_epc(regs, &oldinst);
regs             2153 arch/mips/kernel/unaligned.c 		regs->regs[reg] = value;
regs             2171 arch/mips/kernel/unaligned.c 		MIPS16e_compute_return_epc(regs, &oldinst);
regs             2172 arch/mips/kernel/unaligned.c 		regs->regs[reg] = value;
regs             2195 arch/mips/kernel/unaligned.c 		MIPS16e_compute_return_epc(regs, &oldinst);
regs             2196 arch/mips/kernel/unaligned.c 		regs->regs[reg] = value;
regs             2207 arch/mips/kernel/unaligned.c 		MIPS16e_compute_return_epc(regs, &oldinst);
regs             2208 arch/mips/kernel/unaligned.c 		value = regs->regs[reg];
regs             2220 arch/mips/kernel/unaligned.c 		MIPS16e_compute_return_epc(regs, &oldinst);
regs             2221 arch/mips/kernel/unaligned.c 		value = regs->regs[reg];
regs             2240 arch/mips/kernel/unaligned.c 		MIPS16e_compute_return_epc(regs, &oldinst);
regs             2241 arch/mips/kernel/unaligned.c 		value = regs->regs[reg];
regs             2267 arch/mips/kernel/unaligned.c 	regs->cp0_epc = origpc;
regs             2268 arch/mips/kernel/unaligned.c 	regs->regs[31] = orig31;
regs             2270 arch/mips/kernel/unaligned.c 	if (fixup_exception(regs))
regs             2273 arch/mips/kernel/unaligned.c 	die_if_kernel("Unhandled kernel unaligned access", regs);
regs             2279 arch/mips/kernel/unaligned.c 	die_if_kernel("Unhandled kernel unaligned access", regs);
regs             2286 arch/mips/kernel/unaligned.c 	    ("Unhandled kernel unaligned access or invalid instruction", regs);
regs             2290 arch/mips/kernel/unaligned.c asmlinkage void do_ade(struct pt_regs *regs)
regs             2298 arch/mips/kernel/unaligned.c 			1, regs, regs->cp0_badvaddr);
regs             2302 arch/mips/kernel/unaligned.c 	if (regs->cp0_badvaddr == regs->cp0_epc)
regs             2305 arch/mips/kernel/unaligned.c 	if (user_mode(regs) && !test_thread_flag(TIF_FIXADE))
regs             2318 arch/mips/kernel/unaligned.c 	if (get_isa16_mode(regs->cp0_epc)) {
regs             2323 arch/mips/kernel/unaligned.c 		if (regs->cp0_badvaddr == msk_isa16_mode(regs->cp0_epc))
regs             2326 arch/mips/kernel/unaligned.c 			show_registers(regs);
regs             2330 arch/mips/kernel/unaligned.c 			if (!user_mode(regs))
regs             2332 arch/mips/kernel/unaligned.c 			emulate_load_store_microMIPS(regs,
regs             2333 arch/mips/kernel/unaligned.c 				(void __user *)regs->cp0_badvaddr);
regs             2341 arch/mips/kernel/unaligned.c 			if (!user_mode(regs))
regs             2343 arch/mips/kernel/unaligned.c 			emulate_load_store_MIPS16e(regs,
regs             2344 arch/mips/kernel/unaligned.c 				(void __user *)regs->cp0_badvaddr);
regs             2354 arch/mips/kernel/unaligned.c 		show_registers(regs);
regs             2355 arch/mips/kernel/unaligned.c 	pc = (unsigned int __user *)exception_epc(regs);
regs             2358 arch/mips/kernel/unaligned.c 	if (!user_mode(regs))
regs             2360 arch/mips/kernel/unaligned.c 	emulate_load_store_insn(regs, (void __user *)regs->cp0_badvaddr, pc);
regs             2366 arch/mips/kernel/unaligned.c 	die_if_kernel("Kernel unaligned instruction access", regs);
regs              105 arch/mips/kernel/uprobes.c int arch_uprobe_pre_xol(struct arch_uprobe *aup, struct pt_regs *regs)
regs              113 arch/mips/kernel/uprobes.c 	aup->resume_epc = regs->cp0_epc + 4;
regs              115 arch/mips/kernel/uprobes.c 		__compute_return_epc_for_insn(regs,
regs              117 arch/mips/kernel/uprobes.c 		aup->resume_epc = regs->cp0_epc;
regs              121 arch/mips/kernel/uprobes.c 	regs->cp0_epc = current->utask->xol_vaddr;
regs              126 arch/mips/kernel/uprobes.c int arch_uprobe_post_xol(struct arch_uprobe *aup, struct pt_regs *regs)
regs              131 arch/mips/kernel/uprobes.c 	regs->cp0_epc = aup->resume_epc;
regs              158 arch/mips/kernel/uprobes.c 	struct pt_regs *regs = args->regs;
regs              161 arch/mips/kernel/uprobes.c 	if (WARN_ON(!regs))
regs              165 arch/mips/kernel/uprobes.c 	if (!user_mode(regs))
regs              170 arch/mips/kernel/uprobes.c 		if (uprobe_pre_sstep_notifier(regs))
regs              174 arch/mips/kernel/uprobes.c 		if (uprobe_post_sstep_notifier(regs))
regs              189 arch/mips/kernel/uprobes.c 	struct pt_regs *regs)
regs              193 arch/mips/kernel/uprobes.c 	instruction_pointer_set(regs, utask->vaddr);
regs              197 arch/mips/kernel/uprobes.c 	unsigned long trampoline_vaddr, struct pt_regs *regs)
regs              201 arch/mips/kernel/uprobes.c 	ra = regs->regs[31];
regs              204 arch/mips/kernel/uprobes.c 	regs->regs[31] = trampoline_vaddr;
regs              248 arch/mips/kernel/uprobes.c unsigned long uprobe_get_swbp_addr(struct pt_regs *regs)
regs              250 arch/mips/kernel/uprobes.c 	return instruction_pointer(regs);
regs              259 arch/mips/kernel/uprobes.c bool arch_uprobe_skip_sstep(struct arch_uprobe *auprobe, struct pt_regs *regs)
regs              229 arch/mips/kvm/entry.c 		UASM_i_SW(&p, i, offsetof(struct pt_regs, regs[i]), K1);
regs              928 arch/mips/kvm/entry.c 		UASM_i_LW(&p, i, offsetof(struct pt_regs, regs[i]), K1);
regs              937 arch/mips/kvm/entry.c 	UASM_i_LW(&p, RA, offsetof(struct pt_regs, regs[RA]), K1);
regs             1181 arch/mips/kvm/mips.c int kvm_arch_vcpu_ioctl_set_regs(struct kvm_vcpu *vcpu, struct kvm_regs *regs)
regs             1188 arch/mips/kvm/mips.c 		vcpu->arch.gprs[i] = regs->gpr[i];
regs             1190 arch/mips/kvm/mips.c 	vcpu->arch.hi = regs->hi;
regs             1191 arch/mips/kvm/mips.c 	vcpu->arch.lo = regs->lo;
regs             1192 arch/mips/kvm/mips.c 	vcpu->arch.pc = regs->pc;
regs             1198 arch/mips/kvm/mips.c int kvm_arch_vcpu_ioctl_get_regs(struct kvm_vcpu *vcpu, struct kvm_regs *regs)
regs             1205 arch/mips/kvm/mips.c 		regs->gpr[i] = vcpu->arch.gprs[i];
regs             1207 arch/mips/kvm/mips.c 	regs->hi = vcpu->arch.hi;
regs             1208 arch/mips/kvm/mips.c 	regs->lo = vcpu->arch.lo;
regs             1209 arch/mips/kvm/mips.c 	regs->pc = vcpu->arch.pc;
regs             1675 arch/mips/kvm/mips.c 	struct pt_regs *regs = args->regs;
regs             1687 arch/mips/kvm/mips.c 	BUG_ON(user_mode(regs));
regs             1689 arch/mips/kvm/mips.c 	pc = instruction_pointer(regs);
regs             1706 arch/mips/kvm/mips.c 	instruction_pointer(regs) += 4;
regs              255 arch/mips/loongson64/loongson-3/smp.c void loongson3_ipi_interrupt(struct pt_regs *regs)
regs              424 arch/mips/math-emu/cp1emu.c int isBranchInstr(struct pt_regs *regs, struct mm_decoded_insn dec_insn,
regs              438 arch/mips/math-emu/cp1emu.c 				regs->regs[insn.r_format.rd] =
regs              439 arch/mips/math-emu/cp1emu.c 					regs->cp0_epc + dec_insn.pc_inc +
regs              447 arch/mips/math-emu/cp1emu.c 			*contpc = regs->regs[insn.r_format.rs];
regs              459 arch/mips/math-emu/cp1emu.c 			regs->regs[31] = regs->cp0_epc +
regs              468 arch/mips/math-emu/cp1emu.c 			if ((long)regs->regs[insn.i_format.rs] < 0)
regs              469 arch/mips/math-emu/cp1emu.c 				*contpc = regs->cp0_epc +
regs              473 arch/mips/math-emu/cp1emu.c 				*contpc = regs->cp0_epc +
regs              483 arch/mips/math-emu/cp1emu.c 			regs->regs[31] = regs->cp0_epc +
regs              492 arch/mips/math-emu/cp1emu.c 			if ((long)regs->regs[insn.i_format.rs] >= 0)
regs              493 arch/mips/math-emu/cp1emu.c 				*contpc = regs->cp0_epc +
regs              497 arch/mips/math-emu/cp1emu.c 				*contpc = regs->cp0_epc +
regs              507 arch/mips/math-emu/cp1emu.c 		regs->regs[31] = regs->cp0_epc +
regs              512 arch/mips/math-emu/cp1emu.c 		*contpc = regs->cp0_epc + dec_insn.pc_inc;
regs              524 arch/mips/math-emu/cp1emu.c 		if (regs->regs[insn.i_format.rs] ==
regs              525 arch/mips/math-emu/cp1emu.c 		    regs->regs[insn.i_format.rt])
regs              526 arch/mips/math-emu/cp1emu.c 			*contpc = regs->cp0_epc +
regs              530 arch/mips/math-emu/cp1emu.c 			*contpc = regs->cp0_epc +
regs              539 arch/mips/math-emu/cp1emu.c 		if (regs->regs[insn.i_format.rs] !=
regs              540 arch/mips/math-emu/cp1emu.c 		    regs->regs[insn.i_format.rt])
regs              541 arch/mips/math-emu/cp1emu.c 			*contpc = regs->cp0_epc +
regs              545 arch/mips/math-emu/cp1emu.c 			*contpc = regs->cp0_epc +
regs              571 arch/mips/math-emu/cp1emu.c 				regs->regs[31] = regs->cp0_epc +
regs              573 arch/mips/math-emu/cp1emu.c 			*contpc = regs->cp0_epc + dec_insn.pc_inc +
regs              578 arch/mips/math-emu/cp1emu.c 		if ((long)regs->regs[insn.i_format.rs] <= 0)
regs              579 arch/mips/math-emu/cp1emu.c 			*contpc = regs->cp0_epc +
regs              583 arch/mips/math-emu/cp1emu.c 			*contpc = regs->cp0_epc +
regs              609 arch/mips/math-emu/cp1emu.c 				regs->regs[31] = regs->cp0_epc +
regs              611 arch/mips/math-emu/cp1emu.c 			*contpc = regs->cp0_epc + dec_insn.pc_inc +
regs              617 arch/mips/math-emu/cp1emu.c 		if ((long)regs->regs[insn.i_format.rs] > 0)
regs              618 arch/mips/math-emu/cp1emu.c 			*contpc = regs->cp0_epc +
regs              622 arch/mips/math-emu/cp1emu.c 			*contpc = regs->cp0_epc +
regs              631 arch/mips/math-emu/cp1emu.c 			regs->regs[31] = regs->cp0_epc + 4;
regs              632 arch/mips/math-emu/cp1emu.c 		*contpc = regs->cp0_epc + dec_insn.pc_inc +
regs              638 arch/mips/math-emu/cp1emu.c 		if ((regs->regs[insn.i_format.rs] & (1ull<<insn.i_format.rt)) == 0)
regs              639 arch/mips/math-emu/cp1emu.c 			*contpc = regs->cp0_epc + 4 + (insn.i_format.simmediate << 2);
regs              641 arch/mips/math-emu/cp1emu.c 			*contpc = regs->cp0_epc + 8;
regs              644 arch/mips/math-emu/cp1emu.c 		if ((regs->regs[insn.i_format.rs] & (1ull<<(insn.i_format.rt + 32))) == 0)
regs              645 arch/mips/math-emu/cp1emu.c 			*contpc = regs->cp0_epc + 4 + (insn.i_format.simmediate << 2);
regs              647 arch/mips/math-emu/cp1emu.c 			*contpc = regs->cp0_epc + 8;
regs              650 arch/mips/math-emu/cp1emu.c 		if (regs->regs[insn.i_format.rs] & (1ull<<insn.i_format.rt))
regs              651 arch/mips/math-emu/cp1emu.c 			*contpc = regs->cp0_epc + 4 + (insn.i_format.simmediate << 2);
regs              653 arch/mips/math-emu/cp1emu.c 			*contpc = regs->cp0_epc + 8;
regs              656 arch/mips/math-emu/cp1emu.c 		if (regs->regs[insn.i_format.rs] & (1ull<<(insn.i_format.rt + 32)))
regs              657 arch/mips/math-emu/cp1emu.c 			*contpc = regs->cp0_epc + 4 + (insn.i_format.simmediate << 2);
regs              659 arch/mips/math-emu/cp1emu.c 			*contpc = regs->cp0_epc + 8;
regs              670 arch/mips/math-emu/cp1emu.c 		*contpc = regs->cp0_epc + dec_insn.pc_inc +
regs              677 arch/mips/math-emu/cp1emu.c 		regs->regs[31] = regs->cp0_epc + 4;
regs              678 arch/mips/math-emu/cp1emu.c 		*contpc = regs->cp0_epc + dec_insn.pc_inc +
regs              685 arch/mips/math-emu/cp1emu.c 		*contpc = regs->cp0_epc + dec_insn.pc_inc +
regs              693 arch/mips/math-emu/cp1emu.c 			regs->regs[31] = regs->cp0_epc + 4;
regs              694 arch/mips/math-emu/cp1emu.c 		*contpc = regs->cp0_epc + dec_insn.pc_inc +
regs              717 arch/mips/math-emu/cp1emu.c 				*contpc = regs->cp0_epc +
regs              721 arch/mips/math-emu/cp1emu.c 				*contpc = regs->cp0_epc +
regs              746 arch/mips/math-emu/cp1emu.c 					*contpc = regs->cp0_epc +
regs              750 arch/mips/math-emu/cp1emu.c 					*contpc = regs->cp0_epc +
regs              757 arch/mips/math-emu/cp1emu.c 					*contpc = regs->cp0_epc +
regs              761 arch/mips/math-emu/cp1emu.c 					*contpc = regs->cp0_epc +
regs              899 arch/mips/math-emu/cp1emu.c 		xcp->regs[MIPSInst_RT(ir)] = value;
regs              915 arch/mips/math-emu/cp1emu.c 		value = xcp->regs[MIPSInst_RT(ir)];
regs             1050 arch/mips/math-emu/cp1emu.c 		dva = (u64 __user *) (xcp->regs[MIPSInst_RS(ir)] +
regs             1068 arch/mips/math-emu/cp1emu.c 		dva = (u64 __user *) (xcp->regs[MIPSInst_RS(ir)] +
regs             1085 arch/mips/math-emu/cp1emu.c 		wva = (u32 __user *) (xcp->regs[MIPSInst_RS(ir)] +
regs             1102 arch/mips/math-emu/cp1emu.c 		wva = (u32 __user *) (xcp->regs[MIPSInst_RS(ir)] +
regs             1126 arch/mips/math-emu/cp1emu.c 				DIFROMREG(xcp->regs[MIPSInst_RT(ir)],
regs             1136 arch/mips/math-emu/cp1emu.c 			DITOREG(xcp->regs[MIPSInst_RT(ir)], MIPSInst_RD(ir));
regs             1145 arch/mips/math-emu/cp1emu.c 				SIFROMHREG(xcp->regs[MIPSInst_RT(ir)],
regs             1155 arch/mips/math-emu/cp1emu.c 			SITOHREG(xcp->regs[MIPSInst_RT(ir)], MIPSInst_RD(ir));
regs             1161 arch/mips/math-emu/cp1emu.c 				SIFROMREG(xcp->regs[MIPSInst_RT(ir)],
regs             1168 arch/mips/math-emu/cp1emu.c 			SITOREG(xcp->regs[MIPSInst_RT(ir)], MIPSInst_RD(ir));
regs             1376 arch/mips/math-emu/cp1emu.c 			xcp->regs[MIPSInst_RD(ir)] =
regs             1377 arch/mips/math-emu/cp1emu.c 				xcp->regs[MIPSInst_RS(ir)];
regs             1480 arch/mips/math-emu/cp1emu.c 			va = (void __user *) (xcp->regs[MIPSInst_FR(ir)] +
regs             1481 arch/mips/math-emu/cp1emu.c 				xcp->regs[MIPSInst_FT(ir)]);
regs             1498 arch/mips/math-emu/cp1emu.c 			va = (void __user *) (xcp->regs[MIPSInst_FR(ir)] +
regs             1499 arch/mips/math-emu/cp1emu.c 				xcp->regs[MIPSInst_FT(ir)]);
regs             1577 arch/mips/math-emu/cp1emu.c 			va = (void __user *) (xcp->regs[MIPSInst_FR(ir)] +
regs             1578 arch/mips/math-emu/cp1emu.c 				xcp->regs[MIPSInst_FT(ir)]);
regs             1595 arch/mips/math-emu/cp1emu.c 			va = (void __user *) (xcp->regs[MIPSInst_FR(ir)] +
regs             1596 arch/mips/math-emu/cp1emu.c 				xcp->regs[MIPSInst_FT(ir)]);
regs             1747 arch/mips/math-emu/cp1emu.c 			if (xcp->regs[MIPSInst_FT(ir)] != 0)
regs             1756 arch/mips/math-emu/cp1emu.c 			if (xcp->regs[MIPSInst_FT(ir)] == 0)
regs             2119 arch/mips/math-emu/cp1emu.c 			if (xcp->regs[MIPSInst_FT(ir)] != 0)
regs             2127 arch/mips/math-emu/cp1emu.c 			if (xcp->regs[MIPSInst_FT(ir)] == 0)
regs              140 arch/mips/math-emu/dsemul.c static bool within_emuframe(struct pt_regs *regs)
regs              144 arch/mips/math-emu/dsemul.c 	if (regs->cp0_epc < base)
regs              146 arch/mips/math-emu/dsemul.c 	if (regs->cp0_epc >= (base + PAGE_SIZE))
regs              173 arch/mips/math-emu/dsemul.c bool dsemul_thread_rollback(struct pt_regs *regs)
regs              179 arch/mips/math-emu/dsemul.c 	if (!within_emuframe(regs))
regs              195 arch/mips/math-emu/dsemul.c 	if (msk_isa16_mode(regs->cp0_epc) == (unsigned long)&fr->emul)
regs              196 arch/mips/math-emu/dsemul.c 		regs->cp0_epc = current->thread.bd_emu_branch_pc;
regs              197 arch/mips/math-emu/dsemul.c 	else if (msk_isa16_mode(regs->cp0_epc) == (unsigned long)&fr->badinst)
regs              198 arch/mips/math-emu/dsemul.c 		regs->cp0_epc = current->thread.bd_emu_cont_pc;
regs              212 arch/mips/math-emu/dsemul.c int mips_dsemul(struct pt_regs *regs, mips_instruction ir,
regs              215 arch/mips/math-emu/dsemul.c 	int isa16 = get_isa16_mode(regs->cp0_epc);
regs              239 arch/mips/math-emu/dsemul.c 			v = regs->cp0_epc & ~3;
regs              241 arch/mips/math-emu/dsemul.c 			regs->regs[rs] = (long)v;
regs              246 arch/mips/math-emu/dsemul.c 	pr_debug("dsemul 0x%08lx cont at 0x%08lx\n", regs->cp0_epc, cont_pc);
regs              290 arch/mips/math-emu/dsemul.c 	regs->cp0_epc = fr_uaddr | isa16;
regs               13 arch/mips/mm/extable.c int fixup_exception(struct pt_regs *regs)
regs               17 arch/mips/mm/extable.c 	fixup = search_exception_tables(exception_epc(regs));
regs               19 arch/mips/mm/extable.c 		regs->cp0_epc = fixup->nextinsn;
regs               38 arch/mips/mm/fault.c static void __kprobes __do_page_fault(struct pt_regs *regs, unsigned long write,
regs               54 arch/mips/mm/fault.c 	       field, regs->cp0_epc);
regs               61 arch/mips/mm/fault.c 	if (notify_die(DIE_PAGE_FAULT, "page fault", regs, -1,
regs               97 arch/mips/mm/fault.c 	if (user_mode(regs))
regs              123 arch/mips/mm/fault.c 			if (address == regs->cp0_epc && !(vma->vm_flags & VM_EXEC)) {
regs              129 arch/mips/mm/fault.c 					  field, regs->cp0_epc);
regs              134 arch/mips/mm/fault.c 			    exception_epc(regs) != address) {
regs              140 arch/mips/mm/fault.c 					  field, regs->cp0_epc);
regs              160 arch/mips/mm/fault.c 	perf_sw_event(PERF_COUNT_SW_PAGE_FAULTS, 1, regs, address);
regs              173 arch/mips/mm/fault.c 						  regs, address);
regs              177 arch/mips/mm/fault.c 						  regs, address);
regs              206 arch/mips/mm/fault.c 	if (user_mode(regs)) {
regs              217 arch/mips/mm/fault.c 				(unsigned long) regs->cp0_epc);
regs              218 arch/mips/mm/fault.c 			print_vma_addr(KERN_CONT " ", regs->cp0_epc);
regs              221 arch/mips/mm/fault.c 				(unsigned long) regs->regs[31]);
regs              222 arch/mips/mm/fault.c 			print_vma_addr(KERN_CONT " ", regs->regs[31]);
regs              225 arch/mips/mm/fault.c 		current->thread.trap_nr = (regs->cp0_cause >> 2) & 0x1f;
regs              232 arch/mips/mm/fault.c 	if (fixup_exception(regs)) {
regs              245 arch/mips/mm/fault.c 	       raw_smp_processor_id(), field, address, field, regs->cp0_epc,
regs              246 arch/mips/mm/fault.c 	       field,  regs->regs[31]);
regs              247 arch/mips/mm/fault.c 	die("Oops", regs);
regs              255 arch/mips/mm/fault.c 	if (!user_mode(regs))
regs              264 arch/mips/mm/fault.c 	if (!user_mode(regs))
regs              277 arch/mips/mm/fault.c 	       field, (unsigned long) regs->cp0_epc,
regs              278 arch/mips/mm/fault.c 	       field, (unsigned long) regs->regs[31]);
regs              280 arch/mips/mm/fault.c 	current->thread.trap_nr = (regs->cp0_cause >> 2) & 0x1f;
regs              327 arch/mips/mm/fault.c asmlinkage void __kprobes do_page_fault(struct pt_regs *regs,
regs              333 arch/mips/mm/fault.c 	__do_page_fault(regs, write, address);
regs               90 arch/mips/mti-malta/malta-int.c 	struct pt_regs *regs = get_irq_regs();
regs               95 arch/mips/mti-malta/malta-int.c 		 regs->cp0_epc, regs->cp0_status,
regs               96 arch/mips/mti-malta/malta-int.c 		 regs->cp0_cause, regs->cp0_badvaddr);
regs              138 arch/mips/mti-malta/malta-int.c 	die("CoreHi interrupt", regs);
regs              165 arch/mips/oprofile/backtrace.c void notrace op_mips_backtrace(struct pt_regs *const regs, unsigned int depth)
regs              167 arch/mips/oprofile/backtrace.c 	struct stackframe frame = { .sp = regs->regs[29],
regs              168 arch/mips/oprofile/backtrace.c 				    .pc = regs->cp0_epc,
regs              169 arch/mips/oprofile/backtrace.c 				    .ra = regs->regs[31] };
regs              170 arch/mips/oprofile/backtrace.c 	const int userspace = user_mode(regs);
regs               39 arch/mips/oprofile/op_impl.h void op_mips_backtrace(struct pt_regs * const regs, unsigned int depth);
regs              109 arch/mips/oprofile/op_model_loongson2.c 	struct pt_regs *regs = get_irq_regs();
regs              126 arch/mips/oprofile/op_model_loongson2.c 			oprofile_add_sample(regs, 0);
regs              131 arch/mips/oprofile/op_model_loongson2.c 			oprofile_add_sample(regs, 1);
regs              138 arch/mips/oprofile/op_model_loongson3.c 	struct pt_regs *regs = get_irq_regs();
regs              151 arch/mips/oprofile/op_model_loongson3.c 			oprofile_add_sample(regs, 0);
regs              156 arch/mips/oprofile/op_model_loongson3.c 			oprofile_add_sample(regs, 1);
regs              204 arch/mips/pci/ops-tx3927.c 	struct pt_regs *regs = get_irq_regs();
regs              208 arch/mips/pci/ops-tx3927.c 		       regs->cp0_epc);
regs              470 arch/mips/pci/ops-tx4927.c 	struct pt_regs *regs = get_irq_regs();
regs              476 arch/mips/pci/ops-tx4927.c 		       (int)(2 * sizeof(unsigned long)), regs->cp0_epc);
regs               36 arch/mips/pci/pci-alchemy.c 	void __iomem *regs;			/* ctrl base */
regs              114 arch/mips/pci/pci-alchemy.c 	r = __raw_readl(ctx->regs + PCI_REG_STATCMD) & 0x0000ffff;
regs              116 arch/mips/pci/pci-alchemy.c 	__raw_writel(r, ctx->regs + PCI_REG_STATCMD);
regs              164 arch/mips/pci/pci-alchemy.c 	status = __raw_readl(ctx->regs + PCI_REG_STATCMD);
regs              175 arch/mips/pci/pci-alchemy.c 		__raw_writel(status & 0xf000ffff, ctx->regs + PCI_REG_STATCMD);
regs              313 arch/mips/pci/pci-alchemy.c 	ctx->pm[0]  = __raw_readl(ctx->regs + PCI_REG_CMEM);
regs              314 arch/mips/pci/pci-alchemy.c 	ctx->pm[1]  = __raw_readl(ctx->regs + PCI_REG_CONFIG) & 0x0009ffff;
regs              315 arch/mips/pci/pci-alchemy.c 	ctx->pm[2]  = __raw_readl(ctx->regs + PCI_REG_B2BMASK_CCH);
regs              316 arch/mips/pci/pci-alchemy.c 	ctx->pm[3]  = __raw_readl(ctx->regs + PCI_REG_B2BBASE0_VID);
regs              317 arch/mips/pci/pci-alchemy.c 	ctx->pm[4]  = __raw_readl(ctx->regs + PCI_REG_B2BBASE1_SID);
regs              318 arch/mips/pci/pci-alchemy.c 	ctx->pm[5]  = __raw_readl(ctx->regs + PCI_REG_MWMASK_DEV);
regs              319 arch/mips/pci/pci-alchemy.c 	ctx->pm[6]  = __raw_readl(ctx->regs + PCI_REG_MWBASE_REV_CCL);
regs              320 arch/mips/pci/pci-alchemy.c 	ctx->pm[7]  = __raw_readl(ctx->regs + PCI_REG_ID);
regs              321 arch/mips/pci/pci-alchemy.c 	ctx->pm[8]  = __raw_readl(ctx->regs + PCI_REG_CLASSREV);
regs              322 arch/mips/pci/pci-alchemy.c 	ctx->pm[9]  = __raw_readl(ctx->regs + PCI_REG_PARAM);
regs              323 arch/mips/pci/pci-alchemy.c 	ctx->pm[10] = __raw_readl(ctx->regs + PCI_REG_MBAR);
regs              324 arch/mips/pci/pci-alchemy.c 	ctx->pm[11] = __raw_readl(ctx->regs + PCI_REG_TIMEOUT);
regs              335 arch/mips/pci/pci-alchemy.c 	__raw_writel(ctx->pm[0],  ctx->regs + PCI_REG_CMEM);
regs              336 arch/mips/pci/pci-alchemy.c 	__raw_writel(ctx->pm[2],  ctx->regs + PCI_REG_B2BMASK_CCH);
regs              337 arch/mips/pci/pci-alchemy.c 	__raw_writel(ctx->pm[3],  ctx->regs + PCI_REG_B2BBASE0_VID);
regs              338 arch/mips/pci/pci-alchemy.c 	__raw_writel(ctx->pm[4],  ctx->regs + PCI_REG_B2BBASE1_SID);
regs              339 arch/mips/pci/pci-alchemy.c 	__raw_writel(ctx->pm[5],  ctx->regs + PCI_REG_MWMASK_DEV);
regs              340 arch/mips/pci/pci-alchemy.c 	__raw_writel(ctx->pm[6],  ctx->regs + PCI_REG_MWBASE_REV_CCL);
regs              341 arch/mips/pci/pci-alchemy.c 	__raw_writel(ctx->pm[7],  ctx->regs + PCI_REG_ID);
regs              342 arch/mips/pci/pci-alchemy.c 	__raw_writel(ctx->pm[8],  ctx->regs + PCI_REG_CLASSREV);
regs              343 arch/mips/pci/pci-alchemy.c 	__raw_writel(ctx->pm[9],  ctx->regs + PCI_REG_PARAM);
regs              344 arch/mips/pci/pci-alchemy.c 	__raw_writel(ctx->pm[10], ctx->regs + PCI_REG_MBAR);
regs              345 arch/mips/pci/pci-alchemy.c 	__raw_writel(ctx->pm[11], ctx->regs + PCI_REG_TIMEOUT);
regs              347 arch/mips/pci/pci-alchemy.c 	__raw_writel(ctx->pm[1],  ctx->regs + PCI_REG_CONFIG);
regs              412 arch/mips/pci/pci-alchemy.c 	ctx->regs = ioremap_nocache(r->start, resource_size(r));
regs              413 arch/mips/pci/pci-alchemy.c 	if (!ctx->regs) {
regs              435 arch/mips/pci/pci-alchemy.c 		val = __raw_readl(ctx->regs + PCI_REG_CONFIG);
regs              437 arch/mips/pci/pci-alchemy.c 		__raw_writel(val, ctx->regs + PCI_REG_CONFIG);
regs              473 arch/mips/pci/pci-alchemy.c 	val = __raw_readl(ctx->regs + PCI_REG_CONFIG);
regs              477 arch/mips/pci/pci-alchemy.c 	__raw_writel(val, ctx->regs + PCI_REG_CONFIG);
regs              493 arch/mips/pci/pci-alchemy.c 	iounmap(ctx->regs);
regs               92 arch/mips/sgi-ip22/ip22-berr.c 	struct pt_regs *regs = get_irq_regs();
regs               97 arch/mips/sgi-ip22/ip22-berr.c 	       (regs->cp0_cause & 4) ? "Data" : "Instruction",
regs               98 arch/mips/sgi-ip22/ip22-berr.c 	       field, regs->cp0_epc, field, regs->regs[31]);
regs              100 arch/mips/sgi-ip22/ip22-berr.c 	die_if_kernel("Oops", regs);
regs              104 arch/mips/sgi-ip22/ip22-berr.c static int ip22_be_handler(struct pt_regs *regs, int is_fixup)
regs              239 arch/mips/sgi-ip22/ip28-berr.c static void print_buserr(const struct pt_regs *regs)
regs              300 arch/mips/sgi-ip22/ip28-berr.c 	       cause_excode_text(regs->cp0_cause),
regs              301 arch/mips/sgi-ip22/ip28-berr.c 	       field, regs->cp0_epc, field, regs->regs[31]);
regs              369 arch/mips/sgi-ip22/ip28-berr.c static int ip28_be_interrupt(const struct pt_regs *regs)
regs              379 arch/mips/sgi-ip22/ip28-berr.c 	if (regs->cp0_cause & CAUSEF_EXCCODE)
regs              383 arch/mips/sgi-ip22/ip28-berr.c 	if ((regs->cp0_cause & CAUSEF_IP6) != CAUSEF_IP6)
regs              430 arch/mips/sgi-ip22/ip28-berr.c 		print_buserr(regs);
regs              436 arch/mips/sgi-ip22/ip28-berr.c 	print_buserr(regs);
regs              442 arch/mips/sgi-ip22/ip28-berr.c 	struct pt_regs *regs = get_irq_regs();
regs              446 arch/mips/sgi-ip22/ip28-berr.c 	if (ip28_be_interrupt(regs) != MIPS_BE_DISCARD) {
regs              448 arch/mips/sgi-ip22/ip28-berr.c 		die_if_kernel("Oops", regs);
regs              451 arch/mips/sgi-ip22/ip28-berr.c 		show_regs(regs);
regs              454 arch/mips/sgi-ip22/ip28-berr.c static int ip28_be_handler(struct pt_regs *regs, int is_fixup)
regs              466 arch/mips/sgi-ip22/ip28-berr.c 	return ip28_be_interrupt(regs);
regs               58 arch/mips/sgi-ip27/ip27-berr.c int ip27_be_handler(struct pt_regs *regs, int is_fixup)
regs               61 arch/mips/sgi-ip27/ip27-berr.c 	int data = regs->cp0_cause & 4;
regs               68 arch/mips/sgi-ip27/ip27-berr.c 	       regs->cp0_epc);
regs               74 arch/mips/sgi-ip27/ip27-berr.c 	show_regs(regs);
regs               21 arch/mips/sgi-ip32/ip32-berr.c static int ip32_be_handler(struct pt_regs *regs, int is_fixup)
regs               23 arch/mips/sgi-ip32/ip32-berr.c 	int data = regs->cp0_cause & 4;
regs               28 arch/mips/sgi-ip32/ip32-berr.c 	printk("Got %cbe at 0x%lx\n", data ? 'd' : 'i', regs->cp0_epc);
regs               29 arch/mips/sgi-ip32/ip32-berr.c 	show_regs(regs);
regs               59 arch/mips/sibyte/swarm/setup.c int swarm_be_handler(struct pt_regs *regs, int is_fixup)
regs               61 arch/mips/sibyte/swarm/setup.c 	if (!is_fixup && (regs->cp0_cause & 4)) {
regs              304 arch/mips/txx9/generic/pci.c 	int regs[2] = {0x41, 0x43};
regs              312 arch/mips/txx9/generic/pci.c 	for (i = 0; i < ARRAY_SIZE(regs); i++) {
regs              313 arch/mips/txx9/generic/pci.c 		pci_read_config_byte(dev, regs[i], &dat);
regs              314 arch/mips/txx9/generic/pci.c 		pci_write_config_byte(dev, regs[i], dat | 0x80);
regs              315 arch/mips/txx9/generic/pci.c 		pci_read_config_byte(dev, regs[i], &dat);
regs               66 arch/mips/txx9/generic/setup_tx4927.c void show_registers(struct pt_regs *regs);
regs               67 arch/mips/txx9/generic/setup_tx4927.c static int tx4927_be_handler(struct pt_regs *regs, int is_fixup)
regs               69 arch/mips/txx9/generic/setup_tx4927.c 	int data = regs->cp0_cause & 4;
regs               71 arch/mips/txx9/generic/setup_tx4927.c 	pr_err("%cBE exception at %#lx\n", data ? 'D' : 'I', regs->cp0_epc);
regs               78 arch/mips/txx9/generic/setup_tx4927.c 	show_registers(regs);
regs               68 arch/mips/txx9/generic/setup_tx4938.c void show_registers(struct pt_regs *regs);
regs               69 arch/mips/txx9/generic/setup_tx4938.c static int tx4938_be_handler(struct pt_regs *regs, int is_fixup)
regs               71 arch/mips/txx9/generic/setup_tx4938.c 	int data = regs->cp0_cause & 4;
regs               73 arch/mips/txx9/generic/setup_tx4938.c 	pr_err("%cBE exception at %#lx\n", data ? 'D' : 'I', regs->cp0_epc);
regs               80 arch/mips/txx9/generic/setup_tx4938.c 	show_registers(regs);
regs               72 arch/mips/txx9/generic/setup_tx4939.c void show_registers(struct pt_regs *regs);
regs               73 arch/mips/txx9/generic/setup_tx4939.c static int tx4939_be_handler(struct pt_regs *regs, int is_fixup)
regs               75 arch/mips/txx9/generic/setup_tx4939.c 	int data = regs->cp0_cause & 4;
regs               78 arch/mips/txx9/generic/setup_tx4939.c 	       data ? 'D' : 'I', regs->cp0_epc);
regs               85 arch/mips/txx9/generic/setup_tx4939.c 	show_registers(regs);
regs               77 arch/nds32/include/asm/elf.h #define ELF_CORE_COPY_REGS(dest, regs)	\
regs               78 arch/nds32/include/asm/elf.h 	*(struct user_pt_regs *)&(dest) = (regs)->user_regs;
regs               17 arch/nds32/include/asm/fpu.h extern bool do_fpu_exception(unsigned int subtype, struct pt_regs *regs);
regs               18 arch/nds32/include/asm/fpu.h extern int do_fpuemu(struct pt_regs *regs, struct fpu_struct *fpu);
regs               20 arch/nds32/include/asm/fpu.h #define test_tsk_fpu(regs)	(regs->fucop_ctl & FUCOP_CTL_mskCP0EN)
regs               46 arch/nds32/include/asm/fpu.h static inline void disable_ptreg_fpu(struct pt_regs *regs)
regs               48 arch/nds32/include/asm/fpu.h 	regs->fucop_ctl &= ~FUCOP_CTL_mskCP0EN;
regs               51 arch/nds32/include/asm/fpu.h static inline void enable_ptreg_fpu(struct pt_regs *regs)
regs               53 arch/nds32/include/asm/fpu.h 	regs->fucop_ctl |= FUCOP_CTL_mskCP0EN;
regs              117 arch/nds32/include/asm/fpu.h static inline void clear_fpu(struct pt_regs *regs)
regs              120 arch/nds32/include/asm/fpu.h 	if (test_tsk_fpu(regs))
regs              121 arch/nds32/include/asm/fpu.h 		disable_ptreg_fpu(regs);
regs               12 arch/nds32/include/asm/perf_event.h unsigned long perf_instruction_pointer(struct pt_regs *regs);
regs               13 arch/nds32/include/asm/perf_event.h unsigned long perf_misc_flags(struct pt_regs *regs);
regs               14 arch/nds32/include/asm/perf_event.h #define perf_misc_flags(regs)   perf_misc_flags(regs)
regs               62 arch/nds32/include/asm/processor.h #define start_thread(regs,pc,stack)			\
regs               64 arch/nds32/include/asm/processor.h 	memzero(regs, sizeof(struct pt_regs));		\
regs               65 arch/nds32/include/asm/processor.h 	forget_syscall(regs);				\
regs               66 arch/nds32/include/asm/processor.h 	regs->ipsw = PSW_valINIT;			\
regs               67 arch/nds32/include/asm/processor.h 	regs->ir0 = (PSW_CPL_ANY | PSW_valWBNA | PSW_mskDT | PSW_mskIT | PSW_DE | PSW_SYSTEM | PSW_INTL_1);	\
regs               68 arch/nds32/include/asm/processor.h 	regs->ipc = pc;					\
regs               69 arch/nds32/include/asm/processor.h 	regs->sp = stack;				\
regs               52 arch/nds32/include/asm/ptrace.h static inline bool in_syscall(struct pt_regs const *regs)
regs               54 arch/nds32/include/asm/ptrace.h 	return regs->syscallno != NO_SYSCALL;
regs               57 arch/nds32/include/asm/ptrace.h static inline void forget_syscall(struct pt_regs *regs)
regs               59 arch/nds32/include/asm/ptrace.h 	regs->syscallno = NO_SYSCALL;
regs               61 arch/nds32/include/asm/ptrace.h static inline unsigned long regs_return_value(struct pt_regs *regs)
regs               63 arch/nds32/include/asm/ptrace.h 	return regs->uregs[0];
regs               70 arch/nds32/include/asm/ptrace.h #define user_mode(regs)			(((regs)->ipsw & PSW_mskPOM) == 0)
regs               71 arch/nds32/include/asm/ptrace.h #define interrupts_enabled(regs)	(!!((regs)->ipsw & PSW_mskGIE))
regs               72 arch/nds32/include/asm/ptrace.h #define user_stack_pointer(regs)	((regs)->sp)
regs               73 arch/nds32/include/asm/ptrace.h #define instruction_pointer(regs)	((regs)->ipc)
regs               74 arch/nds32/include/asm/ptrace.h #define profile_pc(regs) 		instruction_pointer(regs)
regs               30 arch/nds32/include/asm/syscall.h syscall_get_nr(struct task_struct *task, struct pt_regs *regs)
regs               32 arch/nds32/include/asm/syscall.h 	return regs->syscallno;
regs               52 arch/nds32/include/asm/syscall.h syscall_rollback(struct task_struct *task, struct pt_regs *regs)
regs               54 arch/nds32/include/asm/syscall.h 	regs->uregs[0] = regs->orig_r0;
regs               68 arch/nds32/include/asm/syscall.h syscall_get_error(struct task_struct *task, struct pt_regs *regs)
regs               70 arch/nds32/include/asm/syscall.h 	unsigned long error = regs->uregs[0];
regs               86 arch/nds32/include/asm/syscall.h syscall_get_return_value(struct task_struct *task, struct pt_regs *regs)
regs               88 arch/nds32/include/asm/syscall.h 	return regs->uregs[0];
regs              107 arch/nds32/include/asm/syscall.h syscall_set_return_value(struct task_struct *task, struct pt_regs *regs,
regs              110 arch/nds32/include/asm/syscall.h 	regs->uregs[0] = (long)error ? error : val;
regs              127 arch/nds32/include/asm/syscall.h syscall_get_arguments(struct task_struct *task, struct pt_regs *regs,
regs              130 arch/nds32/include/asm/syscall.h 	args[0] = regs->orig_r0;
regs              132 arch/nds32/include/asm/syscall.h 	memcpy(args, &regs->uregs[0] + 1, 5 * sizeof(args[0]));
regs              148 arch/nds32/include/asm/syscall.h syscall_set_arguments(struct task_struct *task, struct pt_regs *regs,
regs              151 arch/nds32/include/asm/syscall.h 	regs->orig_r0 = args[0];
regs              154 arch/nds32/include/asm/syscall.h 	memcpy(&regs->uregs[0] + 1, args, 5 * sizeof(args[0]));
regs               35 arch/nds32/include/asm/uaccess.h extern int fixup_exception(struct pt_regs *regs);
regs              156 arch/nds32/kernel/fpu.c inline void do_fpu_context_switch(struct pt_regs *regs)
regs              160 arch/nds32/kernel/fpu.c 	if (!user_mode(regs)) {
regs              166 arch/nds32/kernel/fpu.c 	enable_ptreg_fpu(regs);
regs              204 arch/nds32/kernel/fpu.c inline void handle_fpu_exception(struct pt_regs *regs)
regs              218 arch/nds32/kernel/fpu.c 		si_signo = do_fpuemu(regs, &current->thread.fpu);
regs              225 arch/nds32/kernel/fpu.c 		if (!user_mode(regs))
regs              235 arch/nds32/kernel/fpu.c 		show_regs(regs);
regs              246 arch/nds32/kernel/fpu.c 			(void __user *)instruction_pointer(regs));
regs              251 arch/nds32/kernel/fpu.c bool do_fpu_exception(unsigned int subtype, struct pt_regs *regs)
regs              257 arch/nds32/kernel/fpu.c 		do_fpu_context_switch(regs);
regs              262 arch/nds32/kernel/fpu.c 		handle_fpu_exception(regs);
regs               13 arch/nds32/kernel/ftrace.c 				  struct ftrace_ops *op, struct pt_regs *regs)
regs               41 arch/nds32/kernel/ftrace.c 				  struct ftrace_ops *op, struct pt_regs *regs)
regs              231 arch/nds32/kernel/perf_event_cpu.c 	struct pt_regs *regs;
regs              247 arch/nds32/kernel/perf_event_cpu.c 	regs = get_irq_regs();
regs              271 arch/nds32/kernel/perf_event_cpu.c 		if (perf_event_overflow(event, &data, regs))
regs             1364 arch/nds32/kernel/perf_event_cpu.c 		    struct pt_regs *regs)
regs             1379 arch/nds32/kernel/perf_event_cpu.c 	perf_callchain_store(entry, regs->ipc);
regs             1380 arch/nds32/kernel/perf_event_cpu.c 	fp = regs->fp;
regs             1381 arch/nds32/kernel/perf_event_cpu.c 	gp = regs->gp;
regs             1382 arch/nds32/kernel/perf_event_cpu.c 	lp = regs->lp;
regs             1383 arch/nds32/kernel/perf_event_cpu.c 	sp = regs->sp;
regs             1480 arch/nds32/kernel/perf_event_cpu.c 		      struct pt_regs *regs)
regs             1488 arch/nds32/kernel/perf_event_cpu.c 	fr.fp = regs->fp;
regs             1489 arch/nds32/kernel/perf_event_cpu.c 	fr.lp = regs->lp;
regs             1490 arch/nds32/kernel/perf_event_cpu.c 	fr.sp = regs->sp;
regs             1494 arch/nds32/kernel/perf_event_cpu.c unsigned long perf_instruction_pointer(struct pt_regs *regs)
regs             1500 arch/nds32/kernel/perf_event_cpu.c 	return instruction_pointer(regs);
regs             1503 arch/nds32/kernel/perf_event_cpu.c unsigned long perf_misc_flags(struct pt_regs *regs)
regs             1514 arch/nds32/kernel/perf_event_cpu.c 		if (user_mode(regs))
regs               96 arch/nds32/kernel/process.c void show_regs(struct pt_regs *regs)
regs               98 arch/nds32/kernel/process.c 	printk("PC is at %pS\n", (void *)instruction_pointer(regs));
regs               99 arch/nds32/kernel/process.c 	printk("LP is at %pS\n", (void *)regs->lp);
regs              102 arch/nds32/kernel/process.c 		instruction_pointer(regs),
regs              103 arch/nds32/kernel/process.c 		regs->lp, print_tainted(), regs->sp, regs->fp, regs->gp);
regs              104 arch/nds32/kernel/process.c 	pr_info("r25: %08lx  r24: %08lx\n", regs->uregs[25], regs->uregs[24]);
regs              107 arch/nds32/kernel/process.c 		regs->uregs[23], regs->uregs[22],
regs              108 arch/nds32/kernel/process.c 		regs->uregs[21], regs->uregs[20]);
regs              110 arch/nds32/kernel/process.c 		regs->uregs[19], regs->uregs[18],
regs              111 arch/nds32/kernel/process.c 		regs->uregs[17], regs->uregs[16]);
regs              113 arch/nds32/kernel/process.c 		regs->uregs[15], regs->uregs[14],
regs              114 arch/nds32/kernel/process.c 		regs->uregs[13], regs->uregs[12]);
regs              116 arch/nds32/kernel/process.c 		regs->uregs[11], regs->uregs[10],
regs              117 arch/nds32/kernel/process.c 		regs->uregs[9], regs->uregs[8]);
regs              119 arch/nds32/kernel/process.c 		regs->uregs[7], regs->uregs[6], regs->uregs[5], regs->uregs[4]);
regs              121 arch/nds32/kernel/process.c 		regs->uregs[3], regs->uregs[2], regs->uregs[1], regs->uregs[0]);
regs              123 arch/nds32/kernel/process.c 		interrupts_enabled(regs) ? "n" : "ff",
regs              219 arch/nds32/kernel/process.c int dump_fpu(struct pt_regs *regs, elf_fpregset_t * fpu)
regs               85 arch/nds32/kernel/ptrace.c 	struct pt_regs *regs;
regs               86 arch/nds32/kernel/ptrace.c 	regs = task_pt_regs(child);
regs               87 arch/nds32/kernel/ptrace.c 	regs->ipsw |= PSW_mskHSS;
regs               93 arch/nds32/kernel/ptrace.c 	struct pt_regs *regs;
regs               94 arch/nds32/kernel/ptrace.c 	regs = task_pt_regs(child);
regs               95 arch/nds32/kernel/ptrace.c 	regs->ipsw &= ~PSW_mskHSS;
regs              104 arch/nds32/kernel/ptrace.c asmlinkage int syscall_trace_enter(struct pt_regs *regs)
regs              107 arch/nds32/kernel/ptrace.c 		if (tracehook_report_syscall_entry(regs))
regs              108 arch/nds32/kernel/ptrace.c 			forget_syscall(regs);
regs              110 arch/nds32/kernel/ptrace.c 	return regs->syscallno;
regs              113 arch/nds32/kernel/ptrace.c asmlinkage void syscall_trace_leave(struct pt_regs *regs)
regs              117 arch/nds32/kernel/ptrace.c 		tracehook_report_syscall_exit(regs, step);
regs               25 arch/nds32/kernel/signal.c static inline int restore_sigcontext_fpu(struct pt_regs *regs,
regs               43 arch/nds32/kernel/signal.c 		disable_ptreg_fpu(regs);
regs               47 arch/nds32/kernel/signal.c 	clear_fpu(regs);
regs               54 arch/nds32/kernel/signal.c static inline int setup_sigcontext_fpu(struct pt_regs *regs,
regs               79 arch/nds32/kernel/signal.c static int restore_sigframe(struct pt_regs *regs,
regs               90 arch/nds32/kernel/signal.c 	__get_user_error(regs->uregs[0], &sf->uc.uc_mcontext.nds32_r0, err);
regs               91 arch/nds32/kernel/signal.c 	__get_user_error(regs->uregs[1], &sf->uc.uc_mcontext.nds32_r1, err);
regs               92 arch/nds32/kernel/signal.c 	__get_user_error(regs->uregs[2], &sf->uc.uc_mcontext.nds32_r2, err);
regs               93 arch/nds32/kernel/signal.c 	__get_user_error(regs->uregs[3], &sf->uc.uc_mcontext.nds32_r3, err);
regs               94 arch/nds32/kernel/signal.c 	__get_user_error(regs->uregs[4], &sf->uc.uc_mcontext.nds32_r4, err);
regs               95 arch/nds32/kernel/signal.c 	__get_user_error(regs->uregs[5], &sf->uc.uc_mcontext.nds32_r5, err);
regs               96 arch/nds32/kernel/signal.c 	__get_user_error(regs->uregs[6], &sf->uc.uc_mcontext.nds32_r6, err);
regs               97 arch/nds32/kernel/signal.c 	__get_user_error(regs->uregs[7], &sf->uc.uc_mcontext.nds32_r7, err);
regs               98 arch/nds32/kernel/signal.c 	__get_user_error(regs->uregs[8], &sf->uc.uc_mcontext.nds32_r8, err);
regs               99 arch/nds32/kernel/signal.c 	__get_user_error(regs->uregs[9], &sf->uc.uc_mcontext.nds32_r9, err);
regs              100 arch/nds32/kernel/signal.c 	__get_user_error(regs->uregs[10], &sf->uc.uc_mcontext.nds32_r10, err);
regs              101 arch/nds32/kernel/signal.c 	__get_user_error(regs->uregs[11], &sf->uc.uc_mcontext.nds32_r11, err);
regs              102 arch/nds32/kernel/signal.c 	__get_user_error(regs->uregs[12], &sf->uc.uc_mcontext.nds32_r12, err);
regs              103 arch/nds32/kernel/signal.c 	__get_user_error(regs->uregs[13], &sf->uc.uc_mcontext.nds32_r13, err);
regs              104 arch/nds32/kernel/signal.c 	__get_user_error(regs->uregs[14], &sf->uc.uc_mcontext.nds32_r14, err);
regs              105 arch/nds32/kernel/signal.c 	__get_user_error(regs->uregs[15], &sf->uc.uc_mcontext.nds32_r15, err);
regs              106 arch/nds32/kernel/signal.c 	__get_user_error(regs->uregs[16], &sf->uc.uc_mcontext.nds32_r16, err);
regs              107 arch/nds32/kernel/signal.c 	__get_user_error(regs->uregs[17], &sf->uc.uc_mcontext.nds32_r17, err);
regs              108 arch/nds32/kernel/signal.c 	__get_user_error(regs->uregs[18], &sf->uc.uc_mcontext.nds32_r18, err);
regs              109 arch/nds32/kernel/signal.c 	__get_user_error(regs->uregs[19], &sf->uc.uc_mcontext.nds32_r19, err);
regs              110 arch/nds32/kernel/signal.c 	__get_user_error(regs->uregs[20], &sf->uc.uc_mcontext.nds32_r20, err);
regs              111 arch/nds32/kernel/signal.c 	__get_user_error(regs->uregs[21], &sf->uc.uc_mcontext.nds32_r21, err);
regs              112 arch/nds32/kernel/signal.c 	__get_user_error(regs->uregs[22], &sf->uc.uc_mcontext.nds32_r22, err);
regs              113 arch/nds32/kernel/signal.c 	__get_user_error(regs->uregs[23], &sf->uc.uc_mcontext.nds32_r23, err);
regs              114 arch/nds32/kernel/signal.c 	__get_user_error(regs->uregs[24], &sf->uc.uc_mcontext.nds32_r24, err);
regs              115 arch/nds32/kernel/signal.c 	__get_user_error(regs->uregs[25], &sf->uc.uc_mcontext.nds32_r25, err);
regs              117 arch/nds32/kernel/signal.c 	__get_user_error(regs->fp, &sf->uc.uc_mcontext.nds32_fp, err);
regs              118 arch/nds32/kernel/signal.c 	__get_user_error(regs->gp, &sf->uc.uc_mcontext.nds32_gp, err);
regs              119 arch/nds32/kernel/signal.c 	__get_user_error(regs->lp, &sf->uc.uc_mcontext.nds32_lp, err);
regs              120 arch/nds32/kernel/signal.c 	__get_user_error(regs->sp, &sf->uc.uc_mcontext.nds32_sp, err);
regs              121 arch/nds32/kernel/signal.c 	__get_user_error(regs->ipc, &sf->uc.uc_mcontext.nds32_ipc, err);
regs              123 arch/nds32/kernel/signal.c 	__get_user_error(regs->lc, &sf->uc.uc_mcontext.zol.nds32_lc, err);
regs              124 arch/nds32/kernel/signal.c 	__get_user_error(regs->le, &sf->uc.uc_mcontext.zol.nds32_le, err);
regs              125 arch/nds32/kernel/signal.c 	__get_user_error(regs->lb, &sf->uc.uc_mcontext.zol.nds32_lb, err);
regs              128 arch/nds32/kernel/signal.c 	err |= restore_sigcontext_fpu(regs, &sf->uc.uc_mcontext);
regs              133 arch/nds32/kernel/signal.c 	forget_syscall(regs);
regs              137 arch/nds32/kernel/signal.c asmlinkage long sys_rt_sigreturn(struct pt_regs *regs)
regs              149 arch/nds32/kernel/signal.c 	if (regs->sp & 7)
regs              152 arch/nds32/kernel/signal.c 	frame = (struct rt_sigframe __user *)regs->sp;
regs              157 arch/nds32/kernel/signal.c 	if (restore_sigframe(regs, frame))
regs              163 arch/nds32/kernel/signal.c 	return regs->uregs[0];
regs              171 arch/nds32/kernel/signal.c setup_sigframe(struct rt_sigframe __user * sf, struct pt_regs *regs,
regs              176 arch/nds32/kernel/signal.c 	__put_user_error(regs->uregs[0], &sf->uc.uc_mcontext.nds32_r0, err);
regs              177 arch/nds32/kernel/signal.c 	__put_user_error(regs->uregs[1], &sf->uc.uc_mcontext.nds32_r1, err);
regs              178 arch/nds32/kernel/signal.c 	__put_user_error(regs->uregs[2], &sf->uc.uc_mcontext.nds32_r2, err);
regs              179 arch/nds32/kernel/signal.c 	__put_user_error(regs->uregs[3], &sf->uc.uc_mcontext.nds32_r3, err);
regs              180 arch/nds32/kernel/signal.c 	__put_user_error(regs->uregs[4], &sf->uc.uc_mcontext.nds32_r4, err);
regs              181 arch/nds32/kernel/signal.c 	__put_user_error(regs->uregs[5], &sf->uc.uc_mcontext.nds32_r5, err);
regs              182 arch/nds32/kernel/signal.c 	__put_user_error(regs->uregs[6], &sf->uc.uc_mcontext.nds32_r6, err);
regs              183 arch/nds32/kernel/signal.c 	__put_user_error(regs->uregs[7], &sf->uc.uc_mcontext.nds32_r7, err);
regs              184 arch/nds32/kernel/signal.c 	__put_user_error(regs->uregs[8], &sf->uc.uc_mcontext.nds32_r8, err);
regs              185 arch/nds32/kernel/signal.c 	__put_user_error(regs->uregs[9], &sf->uc.uc_mcontext.nds32_r9, err);
regs              186 arch/nds32/kernel/signal.c 	__put_user_error(regs->uregs[10], &sf->uc.uc_mcontext.nds32_r10, err);
regs              187 arch/nds32/kernel/signal.c 	__put_user_error(regs->uregs[11], &sf->uc.uc_mcontext.nds32_r11, err);
regs              188 arch/nds32/kernel/signal.c 	__put_user_error(regs->uregs[12], &sf->uc.uc_mcontext.nds32_r12, err);
regs              189 arch/nds32/kernel/signal.c 	__put_user_error(regs->uregs[13], &sf->uc.uc_mcontext.nds32_r13, err);
regs              190 arch/nds32/kernel/signal.c 	__put_user_error(regs->uregs[14], &sf->uc.uc_mcontext.nds32_r14, err);
regs              191 arch/nds32/kernel/signal.c 	__put_user_error(regs->uregs[15], &sf->uc.uc_mcontext.nds32_r15, err);
regs              192 arch/nds32/kernel/signal.c 	__put_user_error(regs->uregs[16], &sf->uc.uc_mcontext.nds32_r16, err);
regs              193 arch/nds32/kernel/signal.c 	__put_user_error(regs->uregs[17], &sf->uc.uc_mcontext.nds32_r17, err);
regs              194 arch/nds32/kernel/signal.c 	__put_user_error(regs->uregs[18], &sf->uc.uc_mcontext.nds32_r18, err);
regs              195 arch/nds32/kernel/signal.c 	__put_user_error(regs->uregs[19], &sf->uc.uc_mcontext.nds32_r19, err);
regs              196 arch/nds32/kernel/signal.c 	__put_user_error(regs->uregs[20], &sf->uc.uc_mcontext.nds32_r20, err);
regs              198 arch/nds32/kernel/signal.c 	__put_user_error(regs->uregs[21], &sf->uc.uc_mcontext.nds32_r21, err);
regs              199 arch/nds32/kernel/signal.c 	__put_user_error(regs->uregs[22], &sf->uc.uc_mcontext.nds32_r22, err);
regs              200 arch/nds32/kernel/signal.c 	__put_user_error(regs->uregs[23], &sf->uc.uc_mcontext.nds32_r23, err);
regs              201 arch/nds32/kernel/signal.c 	__put_user_error(regs->uregs[24], &sf->uc.uc_mcontext.nds32_r24, err);
regs              202 arch/nds32/kernel/signal.c 	__put_user_error(regs->uregs[25], &sf->uc.uc_mcontext.nds32_r25, err);
regs              203 arch/nds32/kernel/signal.c 	__put_user_error(regs->fp, &sf->uc.uc_mcontext.nds32_fp, err);
regs              204 arch/nds32/kernel/signal.c 	__put_user_error(regs->gp, &sf->uc.uc_mcontext.nds32_gp, err);
regs              205 arch/nds32/kernel/signal.c 	__put_user_error(regs->lp, &sf->uc.uc_mcontext.nds32_lp, err);
regs              206 arch/nds32/kernel/signal.c 	__put_user_error(regs->sp, &sf->uc.uc_mcontext.nds32_sp, err);
regs              207 arch/nds32/kernel/signal.c 	__put_user_error(regs->ipc, &sf->uc.uc_mcontext.nds32_ipc, err);
regs              209 arch/nds32/kernel/signal.c 	__put_user_error(regs->lc, &sf->uc.uc_mcontext.zol.nds32_lc, err);
regs              210 arch/nds32/kernel/signal.c 	__put_user_error(regs->le, &sf->uc.uc_mcontext.zol.nds32_le, err);
regs              211 arch/nds32/kernel/signal.c 	__put_user_error(regs->lb, &sf->uc.uc_mcontext.zol.nds32_lb, err);
regs              214 arch/nds32/kernel/signal.c 	err |= setup_sigcontext_fpu(regs, &sf->uc.uc_mcontext);
regs              231 arch/nds32/kernel/signal.c 					struct pt_regs *regs, int framesize)
regs              236 arch/nds32/kernel/signal.c 	sp = regs->sp;
regs              257 arch/nds32/kernel/signal.c setup_return(struct pt_regs *regs, struct ksignal *ksig, void __user * frame)
regs              263 arch/nds32/kernel/signal.c 	regs->uregs[0] = ksig->sig;
regs              264 arch/nds32/kernel/signal.c 	regs->sp = (unsigned long)frame;
regs              265 arch/nds32/kernel/signal.c 	regs->lp = retcode;
regs              266 arch/nds32/kernel/signal.c 	regs->ipc = handler;
regs              272 arch/nds32/kernel/signal.c setup_rt_frame(struct ksignal *ksig, sigset_t * set, struct pt_regs *regs)
regs              275 arch/nds32/kernel/signal.c 	    get_sigframe(ksig, regs, sizeof(*frame));
regs              284 arch/nds32/kernel/signal.c 	err |= __save_altstack(&frame->uc.uc_stack, regs->sp);
regs              285 arch/nds32/kernel/signal.c 	err |= setup_sigframe(frame, regs, set);
regs              287 arch/nds32/kernel/signal.c 		setup_return(regs, ksig, frame);
regs              290 arch/nds32/kernel/signal.c 			regs->uregs[1] = (unsigned long)&frame->info;
regs              291 arch/nds32/kernel/signal.c 			regs->uregs[2] = (unsigned long)&frame->uc;
regs              300 arch/nds32/kernel/signal.c static void handle_signal(struct ksignal *ksig, struct pt_regs *regs)
regs              305 arch/nds32/kernel/signal.c 	if (in_syscall(regs)) {
regs              307 arch/nds32/kernel/signal.c 		forget_syscall(regs);
regs              309 arch/nds32/kernel/signal.c 		switch (regs->uregs[0]) {
regs              312 arch/nds32/kernel/signal.c 			regs->uregs[0] = -EINTR;
regs              316 arch/nds32/kernel/signal.c 				regs->uregs[0] = -EINTR;
regs              321 arch/nds32/kernel/signal.c 			regs->uregs[0] = regs->orig_r0;
regs              322 arch/nds32/kernel/signal.c 			regs->ipc -= 4;
regs              329 arch/nds32/kernel/signal.c 	ret = setup_rt_frame(ksig, oldset, regs);
regs              343 arch/nds32/kernel/signal.c static void do_signal(struct pt_regs *regs)
regs              348 arch/nds32/kernel/signal.c 		handle_signal(&ksig, regs);
regs              355 arch/nds32/kernel/signal.c 	if (in_syscall(regs)) {
regs              359 arch/nds32/kernel/signal.c 		forget_syscall(regs);
regs              361 arch/nds32/kernel/signal.c 		switch (regs->uregs[0]) {
regs              363 arch/nds32/kernel/signal.c 			regs->uregs[15] = __NR_restart_syscall;
regs              368 arch/nds32/kernel/signal.c 			regs->uregs[0] = regs->orig_r0;
regs              369 arch/nds32/kernel/signal.c 			regs->ipc -= 0x4;
regs              377 arch/nds32/kernel/signal.c do_notify_resume(struct pt_regs *regs, unsigned int thread_flags)
regs              380 arch/nds32/kernel/signal.c 		do_signal(regs);
regs              384 arch/nds32/kernel/signal.c 		tracehook_notify_resume(regs);
regs               65 arch/nds32/kernel/traps.c static void dump_instr(struct pt_regs *regs)
regs               67 arch/nds32/kernel/traps.c 	unsigned long addr = instruction_pointer(regs);
regs              163 arch/nds32/kernel/traps.c void die(const char *str, struct pt_regs *regs, int err)
regs              175 arch/nds32/kernel/traps.c 	show_regs(regs);
regs              179 arch/nds32/kernel/traps.c 	if (!user_mode(regs) || in_interrupt()) {
regs              180 arch/nds32/kernel/traps.c 		dump_mem("Stack: ", regs->sp, (regs->sp + PAGE_SIZE) & PAGE_MASK);
regs              181 arch/nds32/kernel/traps.c 		dump_instr(regs);
regs              192 arch/nds32/kernel/traps.c void die_if_kernel(const char *str, struct pt_regs *regs, int err)
regs              194 arch/nds32/kernel/traps.c 	if (user_mode(regs))
regs              197 arch/nds32/kernel/traps.c 	die(str, regs, err);
regs              200 arch/nds32/kernel/traps.c int bad_syscall(int n, struct pt_regs *regs)
regs              204 arch/nds32/kernel/traps.c 		return regs->uregs[0];
regs              208 arch/nds32/kernel/traps.c 			(void __user *)instruction_pointer(regs) - 4);
regs              209 arch/nds32/kernel/traps.c 	die_if_kernel("Oops - bad syscall", regs, n);
regs              210 arch/nds32/kernel/traps.c 	return regs->uregs[0];
regs              258 arch/nds32/kernel/traps.c static void send_sigtrap(struct pt_regs *regs, int error_code, int si_code)
regs              266 arch/nds32/kernel/traps.c 			(void __user *)instruction_pointer(regs));
regs              270 arch/nds32/kernel/traps.c 		   unsigned long type, struct pt_regs *regs)
regs              272 arch/nds32/kernel/traps.c 	if (notify_die(DIE_OOPS, "Oops", regs, addr, type, SIGTRAP)
regs              276 arch/nds32/kernel/traps.c 	if (user_mode(regs)) {
regs              278 arch/nds32/kernel/traps.c 		send_sigtrap(regs, 0, TRAP_BRKPT);
regs              281 arch/nds32/kernel/traps.c 		if (!fixup_exception(regs))
regs              282 arch/nds32/kernel/traps.c 			die("unexpected kernel_trap", regs, 0);
regs              286 arch/nds32/kernel/traps.c void unhandled_interruption(struct pt_regs *regs)
regs              289 arch/nds32/kernel/traps.c 	show_regs(regs);
regs              290 arch/nds32/kernel/traps.c 	if (!user_mode(regs))
regs              296 arch/nds32/kernel/traps.c 			  unsigned long type, struct pt_regs *regs)
regs              300 arch/nds32/kernel/traps.c 	show_regs(regs);
regs              301 arch/nds32/kernel/traps.c 	if (!user_mode(regs))
regs              307 arch/nds32/kernel/traps.c 			 unsigned int error_code, struct pt_regs *regs);
regs              314 arch/nds32/kernel/traps.c 			  unsigned long type, struct pt_regs *regs)
regs              319 arch/nds32/kernel/traps.c 		do_page_fault(entry, addr, type, regs);
regs              321 arch/nds32/kernel/traps.c 		unhandled_exceptions(entry, addr, type, regs);
regs              324 arch/nds32/kernel/traps.c void do_revinsn(struct pt_regs *regs)
regs              327 arch/nds32/kernel/traps.c 	show_regs(regs);
regs              328 arch/nds32/kernel/traps.c 	if (!user_mode(regs))
regs              335 arch/nds32/kernel/traps.c extern int do_unaligned_access(unsigned long addr, struct pt_regs *regs);
regs              338 arch/nds32/kernel/traps.c 			 unsigned long itype, struct pt_regs *regs,
regs              346 arch/nds32/kernel/traps.c 		if (user_mode(regs) && unalign_access_mode) {
regs              348 arch/nds32/kernel/traps.c 			ret = do_unaligned_access(addr, regs);
regs              358 arch/nds32/kernel/traps.c 		do_page_fault(entry, addr, type, regs);
regs              361 arch/nds32/kernel/traps.c 		do_revinsn(regs);
regs              372 arch/nds32/kernel/traps.c 			if (true == do_fpu_exception(subtype, regs))
regs              376 arch/nds32/kernel/traps.c 		unhandled_exceptions(entry, addr, type, regs);
regs              390 arch/nds32/kernel/traps.c 		regs->ipc = oipc;
regs              391 arch/nds32/kernel/traps.c 		if (regs->pipsw & PSW_mskDEX) {
regs              395 arch/nds32/kernel/traps.c 				 (unsigned int)regs->ipc,
regs              396 arch/nds32/kernel/traps.c 				 (unsigned int)regs->pipc);
regs              398 arch/nds32/kernel/traps.c 		do_debug_trap(entry, addr, itype, regs);
regs              399 arch/nds32/kernel/traps.c 		regs->ipsw &= ~PSW_mskDEX;
regs              401 arch/nds32/kernel/traps.c 		unhandled_exceptions(entry, addr, type, regs);
regs              366 arch/nds32/math-emu/fpuemu.c int do_fpuemu(struct pt_regs *regs, struct fpu_struct *fpu)
regs              368 arch/nds32/math-emu/fpuemu.c 	unsigned long insn = 0, addr = regs->ipc;
regs              382 arch/nds32/math-emu/fpuemu.c 	emulpc = regs->ipc;
regs              383 arch/nds32/math-emu/fpuemu.c 	contpc = regs->ipc + 4;
regs              397 arch/nds32/math-emu/fpuemu.c 				regs->ipc = contpc;
regs              150 arch/nds32/mm/alignment.c extern int va_readable(struct pt_regs *regs, unsigned long addr);
regs              151 arch/nds32/mm/alignment.c extern int va_writable(struct pt_regs *regs, unsigned long addr);
regs              155 arch/nds32/mm/alignment.c static inline unsigned long *idx_to_addr(struct pt_regs *regs, int idx)
regs              159 arch/nds32/mm/alignment.c 		return &regs->uregs[0] + idx;
regs              161 arch/nds32/mm/alignment.c 		return &regs->fp + (idx - 28);
regs              163 arch/nds32/mm/alignment.c 		return &regs->sp;
regs              196 arch/nds32/mm/alignment.c static inline int do_16(unsigned long inst, struct pt_regs *regs)
regs              273 arch/nds32/mm/alignment.c 		unaligned_addr = *idx_to_addr(regs, RA3(inst));
regs              276 arch/nds32/mm/alignment.c 		unaligned_addr = *idx_to_addr(regs, RA5(inst));
regs              296 arch/nds32/mm/alignment.c 		*idx_to_addr(regs, target_idx) = target_val;
regs              300 arch/nds32/mm/alignment.c 		target_val = *idx_to_addr(regs, target_idx);
regs              305 arch/nds32/mm/alignment.c 		*idx_to_addr(regs, source_idx) = unaligned_addr + shift;
regs              306 arch/nds32/mm/alignment.c 	regs->ipc += 2;
regs              313 arch/nds32/mm/alignment.c static inline int do_32(unsigned long inst, struct pt_regs *regs)
regs              318 arch/nds32/mm/alignment.c 	unaligned_addr = *idx_to_addr(regs, RA(inst));
regs              475 arch/nds32/mm/alignment.c 		shift = *idx_to_addr(regs, RB(inst)) << SV(inst);
regs              488 arch/nds32/mm/alignment.c 			*idx_to_addr(regs, RT(inst)) =
regs              491 arch/nds32/mm/alignment.c 			*idx_to_addr(regs, RT(inst)) = target_val;
regs              497 arch/nds32/mm/alignment.c 		target_val = *idx_to_addr(regs, RT(inst));
regs              502 arch/nds32/mm/alignment.c 		*idx_to_addr(regs, RA(inst)) = unaligned_addr + shift;
regs              504 arch/nds32/mm/alignment.c 	regs->ipc += 4;
regs              511 arch/nds32/mm/alignment.c int do_unaligned_access(unsigned long addr, struct pt_regs *regs)
regs              517 arch/nds32/mm/alignment.c 	inst = get_inst(regs->ipc);
regs              521 arch/nds32/mm/alignment.c 	      regs->ipc, inst);
regs              526 arch/nds32/mm/alignment.c 		ret = do_16((inst >> 16) & 0xffff, regs);
regs              528 arch/nds32/mm/alignment.c 		ret = do_32(inst, regs);
regs                7 arch/nds32/mm/extable.c int fixup_exception(struct pt_regs *regs)
regs               11 arch/nds32/mm/extable.c 	fixup = search_exception_tables(instruction_pointer(regs));
regs               13 arch/nds32/mm/extable.c 		regs->ipc = fixup->fixup;
regs               17 arch/nds32/mm/fault.c extern void die(const char *str, struct pt_regs *regs, long err);
regs               71 arch/nds32/mm/fault.c 		   unsigned int error_code, struct pt_regs *regs)
regs               95 arch/nds32/mm/fault.c 		if (user_mode(regs))
regs              108 arch/nds32/mm/fault.c 		if (user_mode(regs))
regs              127 arch/nds32/mm/fault.c 		if (!user_mode(regs) &&
regs              128 arch/nds32/mm/fault.c 		    !search_exception_tables(instruction_pointer(regs)))
regs              139 arch/nds32/mm/fault.c 			if (!user_mode(regs) &&
regs              140 arch/nds32/mm/fault.c 			    !search_exception_tables(instruction_pointer(regs)))
regs              214 arch/nds32/mm/fault.c 		if (!user_mode(regs))
regs              233 arch/nds32/mm/fault.c 	perf_sw_event(PERF_COUNT_SW_PAGE_FAULTS, 1, regs, addr);
regs              238 arch/nds32/mm/fault.c 				      1, regs, addr);
regs              242 arch/nds32/mm/fault.c 				      1, regs, addr);
regs              270 arch/nds32/mm/fault.c 	if (user_mode(regs)) {
regs              293 arch/nds32/mm/fault.c 		     search_exception_tables(instruction_pointer(regs))) !=
regs              296 arch/nds32/mm/fault.c 			instruction_pointer(regs) = entry->fixup;
regs              312 arch/nds32/mm/fault.c 	die("Oops", regs, error_code);
regs              325 arch/nds32/mm/fault.c 	if (!user_mode(regs))
regs              334 arch/nds32/mm/fault.c 	if (!user_mode(regs))
regs               56 arch/nds32/mm/proc.c int va_readable(struct pt_regs *regs, unsigned long addr)
regs               62 arch/nds32/mm/proc.c 	if (user_mode(regs)) {
regs               75 arch/nds32/mm/proc.c int va_writable(struct pt_regs *regs, unsigned long addr)
regs               81 arch/nds32/mm/proc.c 	if (user_mode(regs)) {
regs               35 arch/nios2/include/asm/elf.h #define ELF_CORE_COPY_REGS(pr_reg, regs)				\
regs               38 arch/nios2/include/asm/elf.h 	pr_reg[0]  = regs->r8;						\
regs               39 arch/nios2/include/asm/elf.h 	pr_reg[1]  = regs->r9;						\
regs               40 arch/nios2/include/asm/elf.h 	pr_reg[2]  = regs->r10;						\
regs               41 arch/nios2/include/asm/elf.h 	pr_reg[3]  = regs->r11;						\
regs               42 arch/nios2/include/asm/elf.h 	pr_reg[4]  = regs->r12;						\
regs               43 arch/nios2/include/asm/elf.h 	pr_reg[5]  = regs->r13;						\
regs               44 arch/nios2/include/asm/elf.h 	pr_reg[6]  = regs->r14;						\
regs               45 arch/nios2/include/asm/elf.h 	pr_reg[7]  = regs->r15;						\
regs               46 arch/nios2/include/asm/elf.h 	pr_reg[8]  = regs->r1;						\
regs               47 arch/nios2/include/asm/elf.h 	pr_reg[9]  = regs->r2;						\
regs               48 arch/nios2/include/asm/elf.h 	pr_reg[10] = regs->r3;						\
regs               49 arch/nios2/include/asm/elf.h 	pr_reg[11] = regs->r4;						\
regs               50 arch/nios2/include/asm/elf.h 	pr_reg[12] = regs->r5;						\
regs               51 arch/nios2/include/asm/elf.h 	pr_reg[13] = regs->r6;						\
regs               52 arch/nios2/include/asm/elf.h 	pr_reg[14] = regs->r7;						\
regs               53 arch/nios2/include/asm/elf.h 	pr_reg[15] = regs->orig_r2;					\
regs               54 arch/nios2/include/asm/elf.h 	pr_reg[16] = regs->ra;						\
regs               55 arch/nios2/include/asm/elf.h 	pr_reg[17] = regs->fp;						\
regs               56 arch/nios2/include/asm/elf.h 	pr_reg[18] = regs->sp;						\
regs               57 arch/nios2/include/asm/elf.h 	pr_reg[19] = regs->gp;						\
regs               58 arch/nios2/include/asm/elf.h 	pr_reg[20] = regs->estatus;					\
regs               59 arch/nios2/include/asm/elf.h 	pr_reg[21] = regs->ea;						\
regs               60 arch/nios2/include/asm/elf.h 	pr_reg[22] = regs->orig_r7;					\
regs               62 arch/nios2/include/asm/elf.h 		struct switch_stack *sw = ((struct switch_stack *)regs) - 1; \
regs               62 arch/nios2/include/asm/processor.h extern void start_thread(struct pt_regs *regs, unsigned long pc,
regs               66 arch/nios2/include/asm/ptrace.h #define user_mode(regs)	(((regs)->estatus & ESTATUS_EU))
regs               68 arch/nios2/include/asm/ptrace.h #define instruction_pointer(regs)	((regs)->ra)
regs               69 arch/nios2/include/asm/ptrace.h #define profile_pc(regs)		instruction_pointer(regs)
regs               70 arch/nios2/include/asm/ptrace.h #define user_stack_pointer(regs)	((regs)->sp)
regs               13 arch/nios2/include/asm/syscall.h static inline int syscall_get_nr(struct task_struct *task, struct pt_regs *regs)
regs               15 arch/nios2/include/asm/syscall.h 	return regs->r2;
regs               19 arch/nios2/include/asm/syscall.h 				struct pt_regs *regs)
regs               21 arch/nios2/include/asm/syscall.h 	regs->r2 = regs->orig_r2;
regs               22 arch/nios2/include/asm/syscall.h 	regs->r7 = regs->orig_r7;
regs               26 arch/nios2/include/asm/syscall.h 				struct pt_regs *regs)
regs               28 arch/nios2/include/asm/syscall.h 	return regs->r7 ? regs->r2 : 0;
regs               32 arch/nios2/include/asm/syscall.h 	struct pt_regs *regs)
regs               34 arch/nios2/include/asm/syscall.h 	return regs->r2;
regs               38 arch/nios2/include/asm/syscall.h 	struct pt_regs *regs, int error, long val)
regs               42 arch/nios2/include/asm/syscall.h 		regs->r2 = -error;
regs               43 arch/nios2/include/asm/syscall.h 		regs->r7 = 1;
regs               45 arch/nios2/include/asm/syscall.h 		regs->r2 = val;
regs               46 arch/nios2/include/asm/syscall.h 		regs->r7 = 0;
regs               51 arch/nios2/include/asm/syscall.h 	struct pt_regs *regs, unsigned long *args)
regs               53 arch/nios2/include/asm/syscall.h 	*args++ = regs->r4;
regs               54 arch/nios2/include/asm/syscall.h 	*args++ = regs->r5;
regs               55 arch/nios2/include/asm/syscall.h 	*args++ = regs->r6;
regs               56 arch/nios2/include/asm/syscall.h 	*args++ = regs->r7;
regs               57 arch/nios2/include/asm/syscall.h 	*args++ = regs->r8;
regs               58 arch/nios2/include/asm/syscall.h 	*args   = regs->r9;
regs               62 arch/nios2/include/asm/syscall.h 	struct pt_regs *regs, const unsigned long *args)
regs               64 arch/nios2/include/asm/syscall.h 	regs->r4 = *args++;
regs               65 arch/nios2/include/asm/syscall.h 	regs->r5 = *args++;
regs               66 arch/nios2/include/asm/syscall.h 	regs->r6 = *args++;
regs               67 arch/nios2/include/asm/syscall.h 	regs->r7 = *args++;
regs               68 arch/nios2/include/asm/syscall.h 	regs->r8 = *args++;
regs               69 arch/nios2/include/asm/syscall.h 	regs->r9 = *args;
regs               49 arch/nios2/include/asm/thread_info.h 	struct pt_regs		*regs;
regs               16 arch/nios2/include/asm/traps.h void _exception(int signo, struct pt_regs *regs, int code, unsigned long addr);
regs               80 arch/nios2/include/uapi/asm/ptrace.h 	__u32		regs[49];
regs               18 arch/nios2/kernel/irq.c asmlinkage void do_IRQ(int hwirq, struct pt_regs *regs)
regs               20 arch/nios2/kernel/irq.c 	struct pt_regs *oldregs = set_irq_regs(regs);
regs               71 arch/nios2/kernel/kgdb.c char *dbg_get_reg(int regno, void *mem, struct pt_regs *regs)
regs               77 arch/nios2/kernel/kgdb.c 		memcpy(mem, (void *)regs + dbg_reg_def[regno].offset,
regs               85 arch/nios2/kernel/kgdb.c int dbg_set_reg(int regno, void *mem, struct pt_regs *regs)
regs               91 arch/nios2/kernel/kgdb.c 		memcpy((void *)regs + dbg_reg_def[regno].offset, mem,
regs              104 arch/nios2/kernel/kgdb.c void kgdb_arch_set_pc(struct pt_regs *regs, unsigned long pc)
regs              106 arch/nios2/kernel/kgdb.c 	regs->ea = pc;
regs              111 arch/nios2/kernel/kgdb.c 				struct pt_regs *regs)
regs              122 arch/nios2/kernel/kgdb.c 			regs->ea = addr;
regs              130 arch/nios2/kernel/kgdb.c asmlinkage void kgdb_breakpoint_c(struct pt_regs *regs)
regs              137 arch/nios2/kernel/kgdb.c 		regs->ea -= 4;
regs              141 arch/nios2/kernel/kgdb.c 	kgdb_handle_exception(30, SIGTRAP, 0, regs);
regs               75 arch/nios2/kernel/process.c void show_regs(struct pt_regs *regs)
regs               81 arch/nios2/kernel/process.c 		regs->r1,  regs->r2,  regs->r3,  regs->r4);
regs               84 arch/nios2/kernel/process.c 		regs->r5,  regs->r6,  regs->r7,  regs->r8);
regs               87 arch/nios2/kernel/process.c 		regs->r9,  regs->r10, regs->r11, regs->r12);
regs               90 arch/nios2/kernel/process.c 		regs->r13, regs->r14, regs->r15);
regs               93 arch/nios2/kernel/process.c 		regs->ra,  regs->fp,  regs->sp,  regs->gp);
regs               96 arch/nios2/kernel/process.c 		regs->ea,  regs->estatus);
regs              107 arch/nios2/kernel/process.c 	struct pt_regs *regs;
regs              127 arch/nios2/kernel/process.c 	regs = current_pt_regs();
regs              128 arch/nios2/kernel/process.c 	*childregs = *regs;
regs              132 arch/nios2/kernel/process.c 	stack = ((struct switch_stack *) regs) - 1;
regs              143 arch/nios2/kernel/process.c 		childstack->r23 = regs->r8;
regs              247 arch/nios2/kernel/process.c void start_thread(struct pt_regs *regs, unsigned long pc, unsigned long sp)
regs              249 arch/nios2/kernel/process.c 	memset((void *) regs, 0, sizeof(struct pt_regs));
regs              250 arch/nios2/kernel/process.c 	regs->estatus = ESTATUS_EPIE | ESTATUS_EU;
regs              251 arch/nios2/kernel/process.c 	regs->ea = pc;
regs              252 arch/nios2/kernel/process.c 	regs->sp = sp;
regs              258 arch/nios2/kernel/process.c int dump_fpu(struct pt_regs *regs, elf_fpregset_t *r)
regs               27 arch/nios2/kernel/ptrace.c 	const struct pt_regs *regs = task_pt_regs(target);
regs               28 arch/nios2/kernel/ptrace.c 	const struct switch_stack *sw = (struct switch_stack *)regs - 1;
regs               47 arch/nios2/kernel/ptrace.c 	REG_O_RANGE(&regs->r1, PTR_R1, PTR_R7);
regs               48 arch/nios2/kernel/ptrace.c 	REG_O_RANGE(&regs->r8, PTR_R8, PTR_R15);
regs               51 arch/nios2/kernel/ptrace.c 	REG_O_ONE(&regs->gp, PTR_GP);
regs               52 arch/nios2/kernel/ptrace.c 	REG_O_ONE(&regs->sp, PTR_SP);
regs               53 arch/nios2/kernel/ptrace.c 	REG_O_ONE(&regs->fp, PTR_FP);
regs               54 arch/nios2/kernel/ptrace.c 	REG_O_ONE(&regs->ea, PTR_EA);
regs               56 arch/nios2/kernel/ptrace.c 	REG_O_ONE(&regs->ra, PTR_RA);
regs               57 arch/nios2/kernel/ptrace.c 	REG_O_ONE(&regs->ea, PTR_PC); /* use ea for PC */
regs               73 arch/nios2/kernel/ptrace.c 	struct pt_regs *regs = task_pt_regs(target);
regs               74 arch/nios2/kernel/ptrace.c 	const struct switch_stack *sw = (struct switch_stack *)regs - 1;
regs               93 arch/nios2/kernel/ptrace.c 	REG_IN_RANGE(&regs->r1, PTR_R1, PTR_R7);
regs               94 arch/nios2/kernel/ptrace.c 	REG_IN_RANGE(&regs->r8, PTR_R8, PTR_R15);
regs               97 arch/nios2/kernel/ptrace.c 	REG_IN_ONE(&regs->gp, PTR_GP);
regs               98 arch/nios2/kernel/ptrace.c 	REG_IN_ONE(&regs->sp, PTR_SP);
regs               99 arch/nios2/kernel/ptrace.c 	REG_IN_ONE(&regs->fp, PTR_FP);
regs              100 arch/nios2/kernel/ptrace.c 	REG_IN_ONE(&regs->ea, PTR_EA);
regs              102 arch/nios2/kernel/ptrace.c 	REG_IN_ONE(&regs->ra, PTR_RA);
regs              103 arch/nios2/kernel/ptrace.c 	REG_IN_ONE(&regs->ea, PTR_PC); /* use ea for PC */
regs               37 arch/nios2/kernel/signal.c static inline int rt_restore_ucontext(struct pt_regs *regs,
regs               52 arch/nios2/kernel/signal.c 	err |= __get_user(regs->r1, &gregs[0]);
regs               53 arch/nios2/kernel/signal.c 	err |= __get_user(regs->r2, &gregs[1]);
regs               54 arch/nios2/kernel/signal.c 	err |= __get_user(regs->r3, &gregs[2]);
regs               55 arch/nios2/kernel/signal.c 	err |= __get_user(regs->r4, &gregs[3]);
regs               56 arch/nios2/kernel/signal.c 	err |= __get_user(regs->r5, &gregs[4]);
regs               57 arch/nios2/kernel/signal.c 	err |= __get_user(regs->r6, &gregs[5]);
regs               58 arch/nios2/kernel/signal.c 	err |= __get_user(regs->r7, &gregs[6]);
regs               59 arch/nios2/kernel/signal.c 	err |= __get_user(regs->r8, &gregs[7]);
regs               60 arch/nios2/kernel/signal.c 	err |= __get_user(regs->r9, &gregs[8]);
regs               61 arch/nios2/kernel/signal.c 	err |= __get_user(regs->r10, &gregs[9]);
regs               62 arch/nios2/kernel/signal.c 	err |= __get_user(regs->r11, &gregs[10]);
regs               63 arch/nios2/kernel/signal.c 	err |= __get_user(regs->r12, &gregs[11]);
regs               64 arch/nios2/kernel/signal.c 	err |= __get_user(regs->r13, &gregs[12]);
regs               65 arch/nios2/kernel/signal.c 	err |= __get_user(regs->r14, &gregs[13]);
regs               66 arch/nios2/kernel/signal.c 	err |= __get_user(regs->r15, &gregs[14]);
regs               83 arch/nios2/kernel/signal.c 	err |= __get_user(regs->ea, &gregs[27]);
regs               85 arch/nios2/kernel/signal.c 	err |= __get_user(regs->ra, &gregs[23]);
regs               86 arch/nios2/kernel/signal.c 	err |= __get_user(regs->sp, &gregs[28]);
regs               88 arch/nios2/kernel/signal.c 	regs->orig_r2 = -1;		/* disable syscall checks */
regs               94 arch/nios2/kernel/signal.c 	*pr2 = regs->r2;
regs              103 arch/nios2/kernel/signal.c 	struct pt_regs *regs = (struct pt_regs *)(sw + 1);
regs              105 arch/nios2/kernel/signal.c 	struct rt_sigframe *frame = (struct rt_sigframe *) regs->sp;
regs              117 arch/nios2/kernel/signal.c 	if (rt_restore_ucontext(regs, sw, &frame->uc, &rval))
regs              127 arch/nios2/kernel/signal.c static inline int rt_setup_ucontext(struct ucontext *uc, struct pt_regs *regs)
regs              129 arch/nios2/kernel/signal.c 	struct switch_stack *sw = (struct switch_stack *)regs - 1;
regs              134 arch/nios2/kernel/signal.c 	err |= __put_user(regs->r1, &gregs[0]);
regs              135 arch/nios2/kernel/signal.c 	err |= __put_user(regs->r2, &gregs[1]);
regs              136 arch/nios2/kernel/signal.c 	err |= __put_user(regs->r3, &gregs[2]);
regs              137 arch/nios2/kernel/signal.c 	err |= __put_user(regs->r4, &gregs[3]);
regs              138 arch/nios2/kernel/signal.c 	err |= __put_user(regs->r5, &gregs[4]);
regs              139 arch/nios2/kernel/signal.c 	err |= __put_user(regs->r6, &gregs[5]);
regs              140 arch/nios2/kernel/signal.c 	err |= __put_user(regs->r7, &gregs[6]);
regs              141 arch/nios2/kernel/signal.c 	err |= __put_user(regs->r8, &gregs[7]);
regs              142 arch/nios2/kernel/signal.c 	err |= __put_user(regs->r9, &gregs[8]);
regs              143 arch/nios2/kernel/signal.c 	err |= __put_user(regs->r10, &gregs[9]);
regs              144 arch/nios2/kernel/signal.c 	err |= __put_user(regs->r11, &gregs[10]);
regs              145 arch/nios2/kernel/signal.c 	err |= __put_user(regs->r12, &gregs[11]);
regs              146 arch/nios2/kernel/signal.c 	err |= __put_user(regs->r13, &gregs[12]);
regs              147 arch/nios2/kernel/signal.c 	err |= __put_user(regs->r14, &gregs[13]);
regs              148 arch/nios2/kernel/signal.c 	err |= __put_user(regs->r15, &gregs[14]);
regs              157 arch/nios2/kernel/signal.c 	err |= __put_user(regs->ra, &gregs[23]);
regs              160 arch/nios2/kernel/signal.c 	err |= __put_user(regs->ea, &gregs[27]);
regs              161 arch/nios2/kernel/signal.c 	err |= __put_user(regs->sp, &gregs[28]);
regs              165 arch/nios2/kernel/signal.c static inline void *get_sigframe(struct ksignal *ksig, struct pt_regs *regs,
regs              171 arch/nios2/kernel/signal.c 	usp = regs->sp;
regs              181 arch/nios2/kernel/signal.c 			  struct pt_regs *regs)
regs              186 arch/nios2/kernel/signal.c 	frame = get_sigframe(ksig, regs, sizeof(*frame));
regs              194 arch/nios2/kernel/signal.c 	err |= __save_altstack(&frame->uc.uc_stack, regs->sp);
regs              195 arch/nios2/kernel/signal.c 	err |= rt_setup_ucontext(&frame->uc, regs);
regs              203 arch/nios2/kernel/signal.c 	regs->ra = (unsigned long) (0x1044);
regs              206 arch/nios2/kernel/signal.c 	regs->sp = (unsigned long) frame;
regs              207 arch/nios2/kernel/signal.c 	regs->r4 = (unsigned long) ksig->sig;
regs              208 arch/nios2/kernel/signal.c 	regs->r5 = (unsigned long) &frame->info;
regs              209 arch/nios2/kernel/signal.c 	regs->r6 = (unsigned long) &frame->uc;
regs              210 arch/nios2/kernel/signal.c 	regs->ea = (unsigned long) ksig->ka.sa.sa_handler;
regs              221 arch/nios2/kernel/signal.c static void handle_signal(struct ksignal *ksig, struct pt_regs *regs)
regs              227 arch/nios2/kernel/signal.c 	ret = setup_rt_frame(ksig, oldset, regs);
regs              232 arch/nios2/kernel/signal.c static int do_signal(struct pt_regs *regs)
regs              238 arch/nios2/kernel/signal.c 	current->thread.kregs = regs;
regs              243 arch/nios2/kernel/signal.c 	if (regs->orig_r2 >= 0) {
regs              244 arch/nios2/kernel/signal.c 		continue_addr = regs->ea;
regs              246 arch/nios2/kernel/signal.c 		retval = regs->r2;
regs              259 arch/nios2/kernel/signal.c 			regs->r2 = regs->orig_r2;
regs              260 arch/nios2/kernel/signal.c 			regs->r7 = regs->orig_r7;
regs              261 arch/nios2/kernel/signal.c 			regs->ea = restart_addr;
regs              268 arch/nios2/kernel/signal.c 		if (unlikely(restart && regs->ea == restart_addr)) {
regs              273 arch/nios2/kernel/signal.c 				regs->r2 = EINTR;
regs              274 arch/nios2/kernel/signal.c 				regs->r7 = 1;
regs              275 arch/nios2/kernel/signal.c 				regs->ea = continue_addr;
regs              278 arch/nios2/kernel/signal.c 		handle_signal(&ksig, regs);
regs              285 arch/nios2/kernel/signal.c 	if (unlikely(restart) && regs->ea == restart_addr) {
regs              286 arch/nios2/kernel/signal.c 		regs->ea = continue_addr;
regs              287 arch/nios2/kernel/signal.c 		regs->r2 = __NR_restart_syscall;
regs              298 arch/nios2/kernel/signal.c asmlinkage int do_notify_resume(struct pt_regs *regs)
regs              305 arch/nios2/kernel/signal.c 	if (!user_mode(regs))
regs              309 arch/nios2/kernel/signal.c 		int restart = do_signal(regs);
regs              320 arch/nios2/kernel/signal.c 		tracehook_notify_resume(regs);
regs               32 arch/nios2/kernel/traps.c void die(const char *str, struct pt_regs *regs, long err)
regs               37 arch/nios2/kernel/traps.c 	show_regs(regs);
regs               46 arch/nios2/kernel/traps.c void _exception(int signo, struct pt_regs *regs, int code, unsigned long addr)
regs               48 arch/nios2/kernel/traps.c 	if (!user_mode(regs))
regs               49 arch/nios2/kernel/traps.c 		die("Exception in kernel mode", regs, signo);
regs              172 arch/nios2/kernel/traps.c asmlinkage void unhandled_exception(struct pt_regs *regs, int cause)
regs              179 arch/nios2/kernel/traps.c 			cause, user_mode(regs) ? "user" : "kernel", addr);
regs              181 arch/nios2/kernel/traps.c 	regs->ea -= 4;
regs              182 arch/nios2/kernel/traps.c 	show_regs(regs);
regs              184 arch/nios2/kernel/traps.c 	pr_emerg("opcode: 0x%08lx\n", *(unsigned long *)(regs->ea));
regs               14 arch/nios2/mm/extable.c int fixup_exception(struct pt_regs *regs)
regs               18 arch/nios2/mm/extable.c 	fixup = search_exception_tables(regs->ea);
regs               20 arch/nios2/mm/extable.c 		regs->ea = fixup->fixup;
regs               42 arch/nios2/mm/fault.c asmlinkage void do_page_fault(struct pt_regs *regs, unsigned long cause,
regs               55 arch/nios2/mm/fault.c 	regs->ea -= 4;
regs               67 arch/nios2/mm/fault.c 		if (user_mode(regs))
regs               83 arch/nios2/mm/fault.c 	if (user_mode(regs))
regs               87 arch/nios2/mm/fault.c 		if (!user_mode(regs) && !search_exception_tables(regs->ea))
regs              187 arch/nios2/mm/fault.c 	if (user_mode(regs)) {
regs              191 arch/nios2/mm/fault.c 			show_regs(regs);
regs              193 arch/nios2/mm/fault.c 		_exception(SIGSEGV, regs, code, address);
regs              199 arch/nios2/mm/fault.c 	if (fixup_exception(regs))
regs              211 arch/nios2/mm/fault.c 	pr_alert("ea = %08lx, ra = %08lx, cause = %ld\n", regs->ea, regs->ra,
regs              222 arch/nios2/mm/fault.c 	if (!user_mode(regs))
regs              231 arch/nios2/mm/fault.c 	if (!user_mode(regs))
regs              234 arch/nios2/mm/fault.c 	_exception(SIGBUS, regs, BUS_ADRERR, address);
regs               44 arch/openrisc/include/asm/elf.h #define ELF_CORE_COPY_REGS(dest, regs) dump_elf_thread(dest, regs);
regs               74 arch/openrisc/include/asm/processor.h void start_thread(struct pt_regs *regs, unsigned long nip, unsigned long sp);
regs               69 arch/openrisc/include/asm/ptrace.h #define instruction_pointer(regs)	((regs)->pc)
regs               70 arch/openrisc/include/asm/ptrace.h #define user_mode(regs)			(((regs)->sr & SPR_SR_SM) == 0)
regs               71 arch/openrisc/include/asm/ptrace.h #define user_stack_pointer(regs)	((unsigned long)(regs)->sp)
regs               72 arch/openrisc/include/asm/ptrace.h #define profile_pc(regs)		instruction_pointer(regs)
regs               74 arch/openrisc/include/asm/ptrace.h static inline long regs_return_value(struct pt_regs *regs)
regs               76 arch/openrisc/include/asm/ptrace.h 	return regs->gpr[11];
regs               23 arch/openrisc/include/asm/syscall.h syscall_get_nr(struct task_struct *task, struct pt_regs *regs)
regs               25 arch/openrisc/include/asm/syscall.h 	return regs->orig_gpr11;
regs               29 arch/openrisc/include/asm/syscall.h syscall_rollback(struct task_struct *task, struct pt_regs *regs)
regs               31 arch/openrisc/include/asm/syscall.h 	regs->gpr[11] = regs->orig_gpr11;
regs               35 arch/openrisc/include/asm/syscall.h syscall_get_error(struct task_struct *task, struct pt_regs *regs)
regs               37 arch/openrisc/include/asm/syscall.h 	return IS_ERR_VALUE(regs->gpr[11]) ? regs->gpr[11] : 0;
regs               41 arch/openrisc/include/asm/syscall.h syscall_get_return_value(struct task_struct *task, struct pt_regs *regs)
regs               43 arch/openrisc/include/asm/syscall.h 	return regs->gpr[11];
regs               47 arch/openrisc/include/asm/syscall.h syscall_set_return_value(struct task_struct *task, struct pt_regs *regs,
regs               50 arch/openrisc/include/asm/syscall.h 	regs->gpr[11] = (long) error ?: val;
regs               54 arch/openrisc/include/asm/syscall.h syscall_get_arguments(struct task_struct *task, struct pt_regs *regs,
regs               57 arch/openrisc/include/asm/syscall.h 	memcpy(args, &regs->gpr[3], 6 * sizeof(args[0]));
regs               61 arch/openrisc/include/asm/syscall.h syscall_set_arguments(struct task_struct *task, struct pt_regs *regs,
regs               64 arch/openrisc/include/asm/syscall.h 	memcpy(&regs->gpr[3], args, 6 * sizeof(args[0]));
regs               30 arch/openrisc/include/uapi/asm/sigcontext.h 	struct user_regs_struct regs;  /* needs to be first */
regs               40 arch/openrisc/kernel/irq.c void __irq_entry do_IRQ(struct pt_regs *regs)
regs               42 arch/openrisc/kernel/irq.c 	handle_arch_irq(regs);
regs              100 arch/openrisc/kernel/process.c void show_regs(struct pt_regs *regs)
regs              102 arch/openrisc/kernel/process.c 	extern void show_registers(struct pt_regs *regs);
regs              106 arch/openrisc/kernel/process.c 	show_registers(regs);
regs              213 arch/openrisc/kernel/process.c void start_thread(struct pt_regs *regs, unsigned long pc, unsigned long sp)
regs              217 arch/openrisc/kernel/process.c 	memset(regs, 0, sizeof(struct pt_regs));
regs              219 arch/openrisc/kernel/process.c 	regs->pc = pc;
regs              220 arch/openrisc/kernel/process.c 	regs->sr = sr;
regs              221 arch/openrisc/kernel/process.c 	regs->sp = sp;
regs              225 arch/openrisc/kernel/process.c int dump_fpu(struct pt_regs *regs, elf_fpregset_t * fpu)
regs              265 arch/openrisc/kernel/process.c void dump_elf_thread(elf_greg_t *dest, struct pt_regs* regs)
regs              268 arch/openrisc/kernel/process.c 	memcpy(dest+1, regs->gpr+1, 31*sizeof(unsigned long));
regs              269 arch/openrisc/kernel/process.c 	dest[32] = regs->pc;
regs              270 arch/openrisc/kernel/process.c 	dest[33] = regs->sr;
regs               51 arch/openrisc/kernel/ptrace.c 	const struct pt_regs *regs = task_pt_regs(target);
regs               59 arch/openrisc/kernel/ptrace.c 					  regs->gpr+1, 4, 4*32);
regs               62 arch/openrisc/kernel/ptrace.c 				  &regs->pc, 4*32, 4*33);
regs               65 arch/openrisc/kernel/ptrace.c 					  &regs->sr, 4*33, 4*34);
regs               81 arch/openrisc/kernel/ptrace.c 	struct pt_regs *regs = task_pt_regs(target);
regs               89 arch/openrisc/kernel/ptrace.c 					 regs->gpr+1, 4, 4*32);
regs               93 arch/openrisc/kernel/ptrace.c 				 &regs->pc, 4*32, 4*33);
regs              172 arch/openrisc/kernel/ptrace.c asmlinkage long do_syscall_trace_enter(struct pt_regs *regs)
regs              177 arch/openrisc/kernel/ptrace.c 	    tracehook_report_syscall_entry(regs))
regs              185 arch/openrisc/kernel/ptrace.c 	audit_syscall_entry(regs->gpr[11], regs->gpr[3], regs->gpr[4],
regs              186 arch/openrisc/kernel/ptrace.c 			    regs->gpr[5], regs->gpr[6]);
regs              188 arch/openrisc/kernel/ptrace.c 	return ret ? : regs->gpr[11];
regs              191 arch/openrisc/kernel/ptrace.c asmlinkage void do_syscall_trace_leave(struct pt_regs *regs)
regs              195 arch/openrisc/kernel/ptrace.c 	audit_syscall_exit(regs);
regs              199 arch/openrisc/kernel/ptrace.c 		tracehook_report_syscall_exit(regs, step);
regs               39 arch/openrisc/kernel/signal.c static int restore_sigcontext(struct pt_regs *regs,
regs               52 arch/openrisc/kernel/signal.c 	err |= __copy_from_user(regs, sc->regs.gpr, 32 * sizeof(unsigned long));
regs               53 arch/openrisc/kernel/signal.c 	err |= __copy_from_user(&regs->pc, &sc->regs.pc, sizeof(unsigned long));
regs               54 arch/openrisc/kernel/signal.c 	err |= __copy_from_user(&regs->sr, &sc->regs.sr, sizeof(unsigned long));
regs               57 arch/openrisc/kernel/signal.c 	regs->sr &= ~SPR_SR_SM;
regs               59 arch/openrisc/kernel/signal.c 	regs->orig_gpr11 = -1;	/* Avoid syscall restart checks */
regs               69 arch/openrisc/kernel/signal.c asmlinkage long _sys_rt_sigreturn(struct pt_regs *regs)
regs               71 arch/openrisc/kernel/signal.c 	struct rt_sigframe *frame = (struct rt_sigframe __user *)regs->sp;
regs               89 arch/openrisc/kernel/signal.c 	if (restore_sigcontext(regs, &frame->uc.uc_mcontext))
regs               95 arch/openrisc/kernel/signal.c 	return regs->gpr[11];
regs              106 arch/openrisc/kernel/signal.c static int setup_sigcontext(struct pt_regs *regs, struct sigcontext __user *sc)
regs              114 arch/openrisc/kernel/signal.c 	err |= __copy_to_user(sc->regs.gpr, regs, 32 * sizeof(unsigned long));
regs              115 arch/openrisc/kernel/signal.c 	err |= __copy_to_user(&sc->regs.pc, &regs->pc, sizeof(unsigned long));
regs              116 arch/openrisc/kernel/signal.c 	err |= __copy_to_user(&sc->regs.sr, &regs->sr, sizeof(unsigned long));
regs              132 arch/openrisc/kernel/signal.c 					struct pt_regs *regs, size_t frame_size)
regs              134 arch/openrisc/kernel/signal.c 	unsigned long sp = regs->sp;
regs              152 arch/openrisc/kernel/signal.c 			  struct pt_regs *regs)
regs              158 arch/openrisc/kernel/signal.c 	frame = get_sigframe(ksig, regs, sizeof(*frame));
regs              170 arch/openrisc/kernel/signal.c 	err |= __save_altstack(&frame->uc.uc_stack, regs->sp);
regs              171 arch/openrisc/kernel/signal.c 	err |= setup_sigcontext(regs, &frame->uc.uc_mcontext);
regs              193 arch/openrisc/kernel/signal.c 	regs->pc = (unsigned long)ksig->ka.sa.sa_handler; /* what we enter NOW */
regs              194 arch/openrisc/kernel/signal.c 	regs->gpr[9] = (unsigned long)return_ip;     /* what we enter LATER */
regs              195 arch/openrisc/kernel/signal.c 	regs->gpr[3] = (unsigned long)ksig->sig;           /* arg 1: signo */
regs              196 arch/openrisc/kernel/signal.c 	regs->gpr[4] = (unsigned long)&frame->info;  /* arg 2: (siginfo_t*) */
regs              197 arch/openrisc/kernel/signal.c 	regs->gpr[5] = (unsigned long)&frame->uc;    /* arg 3: ucontext */
regs              200 arch/openrisc/kernel/signal.c 	regs->sp = (unsigned long)frame;
regs              206 arch/openrisc/kernel/signal.c handle_signal(struct ksignal *ksig, struct pt_regs *regs)
regs              210 arch/openrisc/kernel/signal.c 	ret = setup_rt_frame(ksig, sigmask_to_save(), regs);
regs              227 arch/openrisc/kernel/signal.c int do_signal(struct pt_regs *regs, int syscall)
regs              236 arch/openrisc/kernel/signal.c 		continue_addr = regs->pc;
regs              238 arch/openrisc/kernel/signal.c 		retval = regs->gpr[11];
regs              252 arch/openrisc/kernel/signal.c 			regs->gpr[11] = regs->orig_gpr11;
regs              253 arch/openrisc/kernel/signal.c 			regs->pc = restart_addr;
regs              265 arch/openrisc/kernel/signal.c 		if (unlikely(restart) && regs->pc == restart_addr) {
regs              271 arch/openrisc/kernel/signal.c 				regs->gpr[11] = -EINTR;
regs              272 arch/openrisc/kernel/signal.c 				regs->pc = continue_addr;
regs              275 arch/openrisc/kernel/signal.c 		handle_signal(&ksig, regs);
regs              283 arch/openrisc/kernel/signal.c 		if (unlikely(restart) && regs->pc == restart_addr) {
regs              284 arch/openrisc/kernel/signal.c 			regs->pc = continue_addr;
regs              293 arch/openrisc/kernel/signal.c do_work_pending(struct pt_regs *regs, unsigned int thread_flags, int syscall)
regs              299 arch/openrisc/kernel/signal.c 			if (unlikely(!user_mode(regs)))
regs              303 arch/openrisc/kernel/signal.c 				int restart = do_signal(regs, syscall);
regs              315 arch/openrisc/kernel/signal.c 				tracehook_notify_resume(regs);
regs               81 arch/openrisc/kernel/stacktrace.c save_stack_trace_regs(struct pt_regs *regs, struct stack_trace *trace)
regs               83 arch/openrisc/kernel/stacktrace.c 	unwind_stack(trace, (unsigned long *) regs->sp,
regs              109 arch/openrisc/kernel/time.c irqreturn_t __irq_entry timer_interrupt(struct pt_regs *regs)
regs              111 arch/openrisc/kernel/time.c 	struct pt_regs *old_regs = set_irq_regs(regs);
regs               65 arch/openrisc/kernel/traps.c void show_registers(struct pt_regs *regs)
regs               71 arch/openrisc/kernel/traps.c 	esp = (unsigned long)(regs->sp);
regs               72 arch/openrisc/kernel/traps.c 	if (user_mode(regs))
regs               77 arch/openrisc/kernel/traps.c 	       smp_processor_id(), regs->pc, regs->sr, regs->sp);
regs               79 arch/openrisc/kernel/traps.c 	       0L, regs->gpr[1], regs->gpr[2], regs->gpr[3]);
regs               81 arch/openrisc/kernel/traps.c 	       regs->gpr[4], regs->gpr[5], regs->gpr[6], regs->gpr[7]);
regs               83 arch/openrisc/kernel/traps.c 	       regs->gpr[8], regs->gpr[9], regs->gpr[10], regs->gpr[11]);
regs               85 arch/openrisc/kernel/traps.c 	       regs->gpr[12], regs->gpr[13], regs->gpr[14], regs->gpr[15]);
regs               87 arch/openrisc/kernel/traps.c 	       regs->gpr[16], regs->gpr[17], regs->gpr[18], regs->gpr[19]);
regs               89 arch/openrisc/kernel/traps.c 	       regs->gpr[20], regs->gpr[21], regs->gpr[22], regs->gpr[23]);
regs               91 arch/openrisc/kernel/traps.c 	       regs->gpr[24], regs->gpr[25], regs->gpr[26], regs->gpr[27]);
regs               93 arch/openrisc/kernel/traps.c 	       regs->gpr[28], regs->gpr[29], regs->gpr[30], regs->gpr[31]);
regs               95 arch/openrisc/kernel/traps.c 	       regs->gpr[11], regs->orig_gpr11);
regs              109 arch/openrisc/kernel/traps.c 		if (regs->pc < PAGE_OFFSET)
regs              114 arch/openrisc/kernel/traps.c 			if (__get_user(c, &((unsigned char *)regs->pc)[i])) {
regs              129 arch/openrisc/kernel/traps.c void nommu_dump_state(struct pt_regs *regs,
regs              133 arch/openrisc/kernel/traps.c 	unsigned long addr, stack = regs->sp;
regs              139 arch/openrisc/kernel/traps.c 	       0, regs->pc, regs->sr, regs->sp);
regs              141 arch/openrisc/kernel/traps.c 	       0L, regs->gpr[1], regs->gpr[2], regs->gpr[3]);
regs              143 arch/openrisc/kernel/traps.c 	       regs->gpr[4], regs->gpr[5], regs->gpr[6], regs->gpr[7]);
regs              145 arch/openrisc/kernel/traps.c 	       regs->gpr[8], regs->gpr[9], regs->gpr[10], regs->gpr[11]);
regs              147 arch/openrisc/kernel/traps.c 	       regs->gpr[12], regs->gpr[13], regs->gpr[14], regs->gpr[15]);
regs              149 arch/openrisc/kernel/traps.c 	       regs->gpr[16], regs->gpr[17], regs->gpr[18], regs->gpr[19]);
regs              151 arch/openrisc/kernel/traps.c 	       regs->gpr[20], regs->gpr[21], regs->gpr[22], regs->gpr[23]);
regs              153 arch/openrisc/kernel/traps.c 	       regs->gpr[24], regs->gpr[25], regs->gpr[26], regs->gpr[27]);
regs              155 arch/openrisc/kernel/traps.c 	       regs->gpr[28], regs->gpr[29], regs->gpr[30], regs->gpr[31]);
regs              157 arch/openrisc/kernel/traps.c 	       regs->gpr[11], regs->orig_gpr11);
regs              195 arch/openrisc/kernel/traps.c 		c = ((unsigned char *)(__pa(regs->pc)))[i];
regs              206 arch/openrisc/kernel/traps.c void die(const char *str, struct pt_regs *regs, long err)
regs              211 arch/openrisc/kernel/traps.c 	show_registers(regs);
regs              225 arch/openrisc/kernel/traps.c void die_if_kernel(const char *str, struct pt_regs *regs, long err)
regs              227 arch/openrisc/kernel/traps.c 	if (user_mode(regs))
regs              230 arch/openrisc/kernel/traps.c 	die(str, regs, err);
regs              233 arch/openrisc/kernel/traps.c void unhandled_exception(struct pt_regs *regs, int ea, int vector)
regs              237 arch/openrisc/kernel/traps.c 	die("Oops", regs, 9);
regs              245 arch/openrisc/kernel/traps.c asmlinkage void do_trap(struct pt_regs *regs, unsigned long address)
regs              249 arch/openrisc/kernel/traps.c 	regs->pc += 4;
regs              252 arch/openrisc/kernel/traps.c asmlinkage void do_unaligned_access(struct pt_regs *regs, unsigned long address)
regs              254 arch/openrisc/kernel/traps.c 	if (user_mode(regs)) {
regs              259 arch/openrisc/kernel/traps.c 		show_registers(regs);
regs              260 arch/openrisc/kernel/traps.c 		die("Die:", regs, address);
regs              265 arch/openrisc/kernel/traps.c asmlinkage void do_bus_fault(struct pt_regs *regs, unsigned long address)
regs              267 arch/openrisc/kernel/traps.c 	if (user_mode(regs)) {
regs              272 arch/openrisc/kernel/traps.c 		show_registers(regs);
regs              273 arch/openrisc/kernel/traps.c 		die("Die:", regs, address);
regs              277 arch/openrisc/kernel/traps.c static inline int in_delay_slot(struct pt_regs *regs)
regs              283 arch/openrisc/kernel/traps.c 	insn = *((unsigned int *)regs->pc);
regs              301 arch/openrisc/kernel/traps.c static inline void adjust_pc(struct pt_regs *regs, unsigned long address)
regs              306 arch/openrisc/kernel/traps.c 	if (unlikely(in_delay_slot(regs))) {
regs              308 arch/openrisc/kernel/traps.c 		jmp = *((unsigned int *)regs->pc);
regs              316 arch/openrisc/kernel/traps.c 			regs->pc += displacement;
regs              319 arch/openrisc/kernel/traps.c 			regs->pc += displacement;
regs              320 arch/openrisc/kernel/traps.c 			regs->gpr[9] = regs->pc + 8;
regs              323 arch/openrisc/kernel/traps.c 			if (regs->sr & SPR_SR_F)
regs              324 arch/openrisc/kernel/traps.c 				regs->pc += 8;
regs              326 arch/openrisc/kernel/traps.c 				regs->pc += displacement;
regs              329 arch/openrisc/kernel/traps.c 			if (regs->sr & SPR_SR_F)
regs              330 arch/openrisc/kernel/traps.c 				regs->pc += displacement;
regs              332 arch/openrisc/kernel/traps.c 				regs->pc += 8;
regs              335 arch/openrisc/kernel/traps.c 			regs->pc = regs->gpr[rb];
regs              338 arch/openrisc/kernel/traps.c 			regs->pc = regs->gpr[rb];
regs              339 arch/openrisc/kernel/traps.c 			regs->gpr[9] = regs->pc + 8;
regs              345 arch/openrisc/kernel/traps.c 		regs->pc += 4;
regs              349 arch/openrisc/kernel/traps.c static inline void simulate_lwa(struct pt_regs *regs, unsigned long address,
regs              359 arch/openrisc/kernel/traps.c 	orig_pc = regs->pc;
regs              360 arch/openrisc/kernel/traps.c 	adjust_pc(regs, address);
regs              365 arch/openrisc/kernel/traps.c 	lwa_addr = (unsigned long __user *)(regs->gpr[ra] + imm);
regs              368 arch/openrisc/kernel/traps.c 		do_unaligned_access(regs, address);
regs              373 arch/openrisc/kernel/traps.c 		if (user_mode(regs)) {
regs              379 arch/openrisc/kernel/traps.c 			regs->pc = entry->fixup;
regs              388 arch/openrisc/kernel/traps.c 	regs->gpr[rd] = value;
regs              391 arch/openrisc/kernel/traps.c static inline void simulate_swa(struct pt_regs *regs, unsigned long address,
regs              401 arch/openrisc/kernel/traps.c 	orig_pc = regs->pc;
regs              402 arch/openrisc/kernel/traps.c 	adjust_pc(regs, address);
regs              407 arch/openrisc/kernel/traps.c 	vaddr = (unsigned long __user *)(regs->gpr[ra] + imm);
regs              410 arch/openrisc/kernel/traps.c 		regs->sr &= ~SPR_SR_F;
regs              415 arch/openrisc/kernel/traps.c 		do_unaligned_access(regs, address);
regs              419 arch/openrisc/kernel/traps.c 	if (put_user(regs->gpr[rb], vaddr)) {
regs              420 arch/openrisc/kernel/traps.c 		if (user_mode(regs)) {
regs              426 arch/openrisc/kernel/traps.c 			regs->pc = entry->fixup;
regs              431 arch/openrisc/kernel/traps.c 		*((unsigned long *)vaddr) = regs->gpr[rb];
regs              435 arch/openrisc/kernel/traps.c 	regs->sr |= SPR_SR_F;
regs              441 arch/openrisc/kernel/traps.c asmlinkage void do_illegal_instruction(struct pt_regs *regs,
regs              451 arch/openrisc/kernel/traps.c 		simulate_lwa(regs, address, insn);
regs              455 arch/openrisc/kernel/traps.c 		simulate_swa(regs, address, insn);
regs              462 arch/openrisc/kernel/traps.c 	if (user_mode(regs)) {
regs              468 arch/openrisc/kernel/traps.c 		show_registers(regs);
regs              469 arch/openrisc/kernel/traps.c 		die("Die:", regs, address);
regs               45 arch/openrisc/mm/fault.c asmlinkage void do_page_fault(struct pt_regs *regs, unsigned long address,
regs               78 arch/openrisc/mm/fault.c 	    !user_mode(regs))
regs               82 arch/openrisc/mm/fault.c 	if (user_mode(regs)) {
regs               91 arch/openrisc/mm/fault.c 		if (regs->sr && (SPR_SR_IEE | SPR_SR_TEE))
regs              119 arch/openrisc/mm/fault.c 	if (user_mode(regs)) {
regs              126 arch/openrisc/mm/fault.c 		if (address + PAGE_SIZE < regs->sp)
regs              211 arch/openrisc/mm/fault.c 	if (user_mode(regs)) {
regs              232 arch/openrisc/mm/fault.c 		if ((entry = search_exception_tables(regs->pc)) != NULL) {
regs              234 arch/openrisc/mm/fault.c 			regs->pc = entry->fixup;
regs              251 arch/openrisc/mm/fault.c 	die("Oops", regs, write_acc);
regs              265 arch/openrisc/mm/fault.c 	if (!user_mode(regs))
regs              280 arch/openrisc/mm/fault.c 	if (!user_mode(regs))
regs              162 arch/parisc/include/asm/assembly.h 	.macro	save_general	regs
regs              196 arch/parisc/include/asm/assembly.h 	.macro	rest_general	regs
regs              230 arch/parisc/include/asm/assembly.h 	.macro	save_fp 	regs
regs              265 arch/parisc/include/asm/assembly.h 	.macro	rest_fp 	regs
regs              414 arch/parisc/include/asm/assembly.h 	.macro	save_specials	regs
regs              453 arch/parisc/include/asm/assembly.h 	.macro	rest_specials	regs
regs              195 arch/parisc/include/asm/compat.h 	struct pt_regs *regs = &current->thread.regs;
regs              196 arch/parisc/include/asm/compat.h 	return (void __user *)regs->gr[30];
regs               52 arch/parisc/include/asm/floppy.h static void floppy_hardint(int irq, void *dev_id, struct pt_regs * regs)
regs               64 arch/parisc/include/asm/floppy.h 		floppy_interrupt(irq, dev_id, regs);
regs              109 arch/parisc/include/asm/floppy.h 		floppy_interrupt(irq, dev_id, regs);
regs               51 arch/parisc/include/asm/kprobes.h int __kprobes parisc_kprobe_break_handler(struct pt_regs *regs);
regs               52 arch/parisc/include/asm/kprobes.h int __kprobes parisc_kprobe_ss_handler(struct pt_regs *regs);
regs               53 arch/parisc/include/asm/kprobes.h static inline int kprobe_fault_handler(struct pt_regs *regs, int trapnr)
regs              115 arch/parisc/include/asm/processor.h 	struct pt_regs regs;
regs              121 arch/parisc/include/asm/processor.h #define task_pt_regs(tsk) ((struct pt_regs *)&((tsk)->thread.regs))
regs              146 arch/parisc/include/asm/processor.h 	.regs = {	.gr	= { 0, }, \
regs              250 arch/parisc/include/asm/processor.h #define start_thread(regs, new_pc, new_sp) do {		\
regs              256 arch/parisc/include/asm/processor.h 	regs->iasq[0] = spaceid;			\
regs              257 arch/parisc/include/asm/processor.h 	regs->iasq[1] = spaceid;			\
regs              258 arch/parisc/include/asm/processor.h 	regs->iaoq[0] = pc;				\
regs              259 arch/parisc/include/asm/processor.h 	regs->iaoq[1] = pc + 4;                         \
regs              260 arch/parisc/include/asm/processor.h 	regs->sr[2] = LINUX_GATEWAY_SPACE;              \
regs              261 arch/parisc/include/asm/processor.h 	regs->sr[3] = 0xffff;				\
regs              262 arch/parisc/include/asm/processor.h 	regs->sr[4] = spaceid;				\
regs              263 arch/parisc/include/asm/processor.h 	regs->sr[5] = spaceid;				\
regs              264 arch/parisc/include/asm/processor.h 	regs->sr[6] = spaceid;				\
regs              265 arch/parisc/include/asm/processor.h 	regs->sr[7] = spaceid;				\
regs              266 arch/parisc/include/asm/processor.h 	regs->gr[ 0] = USER_PSW | (USER_WIDE_MODE ? PSW_W : 0); \
regs              267 arch/parisc/include/asm/processor.h 	regs->fr[ 0] = 0LL;                            	\
regs              268 arch/parisc/include/asm/processor.h 	regs->fr[ 1] = 0LL;                            	\
regs              269 arch/parisc/include/asm/processor.h 	regs->fr[ 2] = 0LL;                            	\
regs              270 arch/parisc/include/asm/processor.h 	regs->fr[ 3] = 0LL;                            	\
regs              271 arch/parisc/include/asm/processor.h 	regs->gr[30] = (((unsigned long)sp + 63) &~ 63) | (USER_WIDE_MODE ? 1 : 0); \
regs              272 arch/parisc/include/asm/processor.h 	regs->gr[31] = pc;				\
regs              274 arch/parisc/include/asm/processor.h 	get_user(regs->gr[25], (argv - 1));		\
regs              275 arch/parisc/include/asm/processor.h 	regs->gr[24] = (long) argv;			\
regs              276 arch/parisc/include/asm/processor.h 	regs->gr[23] = 0;				\
regs              287 arch/parisc/include/asm/processor.h #define KSTK_EIP(tsk)	((tsk)->thread.regs.iaoq[0])
regs              288 arch/parisc/include/asm/processor.h #define KSTK_ESP(tsk)	((tsk)->thread.regs.gr[30])
regs               17 arch/parisc/include/asm/ptrace.h #define user_mode(regs)			(((regs)->iaoq[0] & 3) ? 1 : 0)
regs               18 arch/parisc/include/asm/ptrace.h #define user_space(regs)		(((regs)->iasq[1] != 0) ? 1 : 0)
regs               19 arch/parisc/include/asm/ptrace.h #define instruction_pointer(regs)	((regs)->iaoq[0] & ~3)
regs               20 arch/parisc/include/asm/ptrace.h #define user_stack_pointer(regs)	((regs)->gr[30])
regs               23 arch/parisc/include/asm/ptrace.h static inline unsigned long regs_return_value(struct pt_regs *regs)
regs               25 arch/parisc/include/asm/ptrace.h 	return regs->gr[28];
regs               28 arch/parisc/include/asm/ptrace.h static inline void instruction_pointer_set(struct pt_regs *regs,
regs               31 arch/parisc/include/asm/ptrace.h 	regs->iaoq[0] = val;
regs               32 arch/parisc/include/asm/ptrace.h 	regs->iaoq[1] = val + 4;
regs               40 arch/parisc/include/asm/ptrace.h #define kernel_stack_pointer(regs) ((regs)->gr[30])
regs               42 arch/parisc/include/asm/ptrace.h static inline unsigned long regs_get_register(struct pt_regs *regs,
regs               47 arch/parisc/include/asm/ptrace.h 	return *(unsigned long *)((unsigned long)regs + offset);
regs               50 arch/parisc/include/asm/ptrace.h unsigned long regs_get_kernel_stack_nth(struct pt_regs *regs, unsigned int n);
regs               51 arch/parisc/include/asm/ptrace.h int regs_within_kernel_stack(struct pt_regs *regs, unsigned long addr);
regs               15 arch/parisc/include/asm/syscall.h 				  struct pt_regs *regs)
regs               17 arch/parisc/include/asm/syscall.h 	return regs->gr[20];
regs               21 arch/parisc/include/asm/syscall.h 					 struct pt_regs *regs,
regs               24 arch/parisc/include/asm/syscall.h 	args[5] = regs->gr[21];
regs               25 arch/parisc/include/asm/syscall.h 	args[4] = regs->gr[22];
regs               26 arch/parisc/include/asm/syscall.h 	args[3] = regs->gr[23];
regs               27 arch/parisc/include/asm/syscall.h 	args[2] = regs->gr[24];
regs               28 arch/parisc/include/asm/syscall.h 	args[1] = regs->gr[25];
regs               29 arch/parisc/include/asm/syscall.h 	args[0] = regs->gr[26];
regs               33 arch/parisc/include/asm/syscall.h 				     struct pt_regs *regs)
regs               35 arch/parisc/include/asm/syscall.h 	unsigned long error = regs->gr[28];
regs               40 arch/parisc/include/asm/syscall.h 						struct pt_regs *regs)
regs               42 arch/parisc/include/asm/syscall.h 	return regs->gr[28];
regs               46 arch/parisc/include/asm/syscall.h 					    struct pt_regs *regs,
regs               49 arch/parisc/include/asm/syscall.h 	regs->gr[28] = error ? error : val;
regs               53 arch/parisc/include/asm/syscall.h 				    struct pt_regs *regs)
regs               11 arch/parisc/include/asm/traps.h void parisc_terminate(char *msg, struct pt_regs *regs,
regs               14 arch/parisc/include/asm/traps.h void die_if_kernel(char *str, struct pt_regs *regs, long err);
regs               18 arch/parisc/include/asm/traps.h void do_page_fault(struct pt_regs *regs, unsigned long code,
regs              224 arch/parisc/include/asm/uaccess.h int fixup_exception(struct pt_regs *regs);
regs               13 arch/parisc/include/asm/unaligned.h void handle_unaligned(struct pt_regs *regs);
regs               14 arch/parisc/include/asm/unaligned.h int check_unaligned(struct pt_regs *regs);
regs               75 arch/parisc/include/asm/unwind.h 		       struct pt_regs *regs);
regs               79 arch/parisc/include/asm/unwind.h 			struct task_struct *task, struct pt_regs *regs);
regs               53 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_REGS, offsetof(struct task_struct, thread.regs));
regs               54 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PT_PSW, offsetof(struct task_struct, thread.regs.gr[ 0]));
regs               55 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PT_GR1, offsetof(struct task_struct, thread.regs.gr[ 1]));
regs               56 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PT_GR2, offsetof(struct task_struct, thread.regs.gr[ 2]));
regs               57 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PT_GR3, offsetof(struct task_struct, thread.regs.gr[ 3]));
regs               58 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PT_GR4, offsetof(struct task_struct, thread.regs.gr[ 4]));
regs               59 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PT_GR5, offsetof(struct task_struct, thread.regs.gr[ 5]));
regs               60 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PT_GR6, offsetof(struct task_struct, thread.regs.gr[ 6]));
regs               61 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PT_GR7, offsetof(struct task_struct, thread.regs.gr[ 7]));
regs               62 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PT_GR8, offsetof(struct task_struct, thread.regs.gr[ 8]));
regs               63 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PT_GR9, offsetof(struct task_struct, thread.regs.gr[ 9]));
regs               64 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PT_GR10, offsetof(struct task_struct, thread.regs.gr[10]));
regs               65 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PT_GR11, offsetof(struct task_struct, thread.regs.gr[11]));
regs               66 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PT_GR12, offsetof(struct task_struct, thread.regs.gr[12]));
regs               67 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PT_GR13, offsetof(struct task_struct, thread.regs.gr[13]));
regs               68 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PT_GR14, offsetof(struct task_struct, thread.regs.gr[14]));
regs               69 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PT_GR15, offsetof(struct task_struct, thread.regs.gr[15]));
regs               70 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PT_GR16, offsetof(struct task_struct, thread.regs.gr[16]));
regs               71 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PT_GR17, offsetof(struct task_struct, thread.regs.gr[17]));
regs               72 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PT_GR18, offsetof(struct task_struct, thread.regs.gr[18]));
regs               73 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PT_GR19, offsetof(struct task_struct, thread.regs.gr[19]));
regs               74 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PT_GR20, offsetof(struct task_struct, thread.regs.gr[20]));
regs               75 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PT_GR21, offsetof(struct task_struct, thread.regs.gr[21]));
regs               76 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PT_GR22, offsetof(struct task_struct, thread.regs.gr[22]));
regs               77 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PT_GR23, offsetof(struct task_struct, thread.regs.gr[23]));
regs               78 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PT_GR24, offsetof(struct task_struct, thread.regs.gr[24]));
regs               79 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PT_GR25, offsetof(struct task_struct, thread.regs.gr[25]));
regs               80 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PT_GR26, offsetof(struct task_struct, thread.regs.gr[26]));
regs               81 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PT_GR27, offsetof(struct task_struct, thread.regs.gr[27]));
regs               82 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PT_GR28, offsetof(struct task_struct, thread.regs.gr[28]));
regs               83 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PT_GR29, offsetof(struct task_struct, thread.regs.gr[29]));
regs               84 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PT_GR30, offsetof(struct task_struct, thread.regs.gr[30]));
regs               85 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PT_GR31, offsetof(struct task_struct, thread.regs.gr[31]));
regs               86 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PT_FR0, offsetof(struct task_struct, thread.regs.fr[ 0]));
regs               87 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PT_FR1, offsetof(struct task_struct, thread.regs.fr[ 1]));
regs               88 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PT_FR2, offsetof(struct task_struct, thread.regs.fr[ 2]));
regs               89 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PT_FR3, offsetof(struct task_struct, thread.regs.fr[ 3]));
regs               90 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PT_FR4, offsetof(struct task_struct, thread.regs.fr[ 4]));
regs               91 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PT_FR5, offsetof(struct task_struct, thread.regs.fr[ 5]));
regs               92 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PT_FR6, offsetof(struct task_struct, thread.regs.fr[ 6]));
regs               93 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PT_FR7, offsetof(struct task_struct, thread.regs.fr[ 7]));
regs               94 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PT_FR8, offsetof(struct task_struct, thread.regs.fr[ 8]));
regs               95 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PT_FR9, offsetof(struct task_struct, thread.regs.fr[ 9]));
regs               96 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PT_FR10, offsetof(struct task_struct, thread.regs.fr[10]));
regs               97 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PT_FR11, offsetof(struct task_struct, thread.regs.fr[11]));
regs               98 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PT_FR12, offsetof(struct task_struct, thread.regs.fr[12]));
regs               99 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PT_FR13, offsetof(struct task_struct, thread.regs.fr[13]));
regs              100 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PT_FR14, offsetof(struct task_struct, thread.regs.fr[14]));
regs              101 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PT_FR15, offsetof(struct task_struct, thread.regs.fr[15]));
regs              102 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PT_FR16, offsetof(struct task_struct, thread.regs.fr[16]));
regs              103 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PT_FR17, offsetof(struct task_struct, thread.regs.fr[17]));
regs              104 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PT_FR18, offsetof(struct task_struct, thread.regs.fr[18]));
regs              105 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PT_FR19, offsetof(struct task_struct, thread.regs.fr[19]));
regs              106 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PT_FR20, offsetof(struct task_struct, thread.regs.fr[20]));
regs              107 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PT_FR21, offsetof(struct task_struct, thread.regs.fr[21]));
regs              108 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PT_FR22, offsetof(struct task_struct, thread.regs.fr[22]));
regs              109 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PT_FR23, offsetof(struct task_struct, thread.regs.fr[23]));
regs              110 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PT_FR24, offsetof(struct task_struct, thread.regs.fr[24]));
regs              111 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PT_FR25, offsetof(struct task_struct, thread.regs.fr[25]));
regs              112 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PT_FR26, offsetof(struct task_struct, thread.regs.fr[26]));
regs              113 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PT_FR27, offsetof(struct task_struct, thread.regs.fr[27]));
regs              114 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PT_FR28, offsetof(struct task_struct, thread.regs.fr[28]));
regs              115 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PT_FR29, offsetof(struct task_struct, thread.regs.fr[29]));
regs              116 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PT_FR30, offsetof(struct task_struct, thread.regs.fr[30]));
regs              117 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PT_FR31, offsetof(struct task_struct, thread.regs.fr[31]));
regs              118 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PT_SR0, offsetof(struct task_struct, thread.regs.sr[ 0]));
regs              119 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PT_SR1, offsetof(struct task_struct, thread.regs.sr[ 1]));
regs              120 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PT_SR2, offsetof(struct task_struct, thread.regs.sr[ 2]));
regs              121 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PT_SR3, offsetof(struct task_struct, thread.regs.sr[ 3]));
regs              122 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PT_SR4, offsetof(struct task_struct, thread.regs.sr[ 4]));
regs              123 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PT_SR5, offsetof(struct task_struct, thread.regs.sr[ 5]));
regs              124 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PT_SR6, offsetof(struct task_struct, thread.regs.sr[ 6]));
regs              125 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PT_SR7, offsetof(struct task_struct, thread.regs.sr[ 7]));
regs              126 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PT_IASQ0, offsetof(struct task_struct, thread.regs.iasq[0]));
regs              127 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PT_IASQ1, offsetof(struct task_struct, thread.regs.iasq[1]));
regs              128 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PT_IAOQ0, offsetof(struct task_struct, thread.regs.iaoq[0]));
regs              129 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PT_IAOQ1, offsetof(struct task_struct, thread.regs.iaoq[1]));
regs              130 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PT_CR27, offsetof(struct task_struct, thread.regs.cr27));
regs              131 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PT_ORIG_R28, offsetof(struct task_struct, thread.regs.orig_r28));
regs              132 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PT_KSP, offsetof(struct task_struct, thread.regs.ksp));
regs              133 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PT_KPC, offsetof(struct task_struct, thread.regs.kpc));
regs              134 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PT_SAR, offsetof(struct task_struct, thread.regs.sar));
regs              135 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PT_IIR, offsetof(struct task_struct, thread.regs.iir));
regs              136 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PT_ISR, offsetof(struct task_struct, thread.regs.isr));
regs              137 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PT_IOR, offsetof(struct task_struct, thread.regs.ior));
regs               54 arch/parisc/kernel/ftrace.c 				struct pt_regs *regs)
regs               64 arch/parisc/kernel/ftrace.c 				function_trace_op, regs);
regs              206 arch/parisc/kernel/ftrace.c 			   struct ftrace_ops *ops, struct pt_regs *regs)
regs              224 arch/parisc/kernel/ftrace.c 	regs->iaoq[0] = ip;
regs              225 arch/parisc/kernel/ftrace.c 	regs->iaoq[1] = ip + 4;
regs              227 arch/parisc/kernel/ftrace.c 	if (!p->pre_handler || !p->pre_handler(p, regs)) {
regs              228 arch/parisc/kernel/ftrace.c 		regs->iaoq[0] = ip + 4;
regs              229 arch/parisc/kernel/ftrace.c 		regs->iaoq[1] = ip + 8;
regs              233 arch/parisc/kernel/ftrace.c 			p->post_handler(p, regs, 0);
regs              395 arch/parisc/kernel/irq.c static inline void stack_overflow_check(struct pt_regs *regs)
regs              402 arch/parisc/kernel/irq.c 	unsigned long sp = regs->gr[30];
regs              409 arch/parisc/kernel/irq.c 	if (regs->sr[7])
regs              507 arch/parisc/kernel/irq.c void do_cpu_irq_mask(struct pt_regs *regs)
regs              517 arch/parisc/kernel/irq.c 	old_regs = set_irq_regs(regs);
regs              545 arch/parisc/kernel/irq.c 	stack_overflow_check(regs);
regs               56 arch/parisc/kernel/kexec.c void machine_crash_shutdown(struct pt_regs *regs)
regs               27 arch/parisc/kernel/kgdb.c 	struct pt_regs *regs = args->regs;
regs               29 arch/parisc/kernel/kgdb.c 	if (kgdb_handle_exception(1, args->signr, cmd, regs))
regs               62 arch/parisc/kernel/kgdb.c void pt_regs_to_gdb_regs(unsigned long *gdb_regs, struct pt_regs *regs)
regs               68 arch/parisc/kernel/kgdb.c 	memcpy(gr->gpr, regs->gr, sizeof(gr->gpr));
regs               69 arch/parisc/kernel/kgdb.c 	memcpy(gr->fr, regs->fr, sizeof(gr->fr));
regs               71 arch/parisc/kernel/kgdb.c 	gr->sr0 = regs->sr[0];
regs               72 arch/parisc/kernel/kgdb.c 	gr->sr1 = regs->sr[1];
regs               73 arch/parisc/kernel/kgdb.c 	gr->sr2 = regs->sr[2];
regs               74 arch/parisc/kernel/kgdb.c 	gr->sr3 = regs->sr[3];
regs               75 arch/parisc/kernel/kgdb.c 	gr->sr4 = regs->sr[4];
regs               76 arch/parisc/kernel/kgdb.c 	gr->sr5 = regs->sr[5];
regs               77 arch/parisc/kernel/kgdb.c 	gr->sr6 = regs->sr[6];
regs               78 arch/parisc/kernel/kgdb.c 	gr->sr7 = regs->sr[7];
regs               80 arch/parisc/kernel/kgdb.c 	gr->sar = regs->sar;
regs               81 arch/parisc/kernel/kgdb.c 	gr->iir = regs->iir;
regs               82 arch/parisc/kernel/kgdb.c 	gr->isr = regs->isr;
regs               83 arch/parisc/kernel/kgdb.c 	gr->ior = regs->ior;
regs               84 arch/parisc/kernel/kgdb.c 	gr->ipsw = regs->ipsw;
regs               85 arch/parisc/kernel/kgdb.c 	gr->cr27 = regs->cr27;
regs               87 arch/parisc/kernel/kgdb.c 	gr->iaoq_f = regs->iaoq[0];
regs               88 arch/parisc/kernel/kgdb.c 	gr->iasq_f = regs->iasq[0];
regs               90 arch/parisc/kernel/kgdb.c 	gr->iaoq_b = regs->iaoq[1];
regs               91 arch/parisc/kernel/kgdb.c 	gr->iasq_b = regs->iasq[1];
regs               94 arch/parisc/kernel/kgdb.c void gdb_regs_to_pt_regs(unsigned long *gdb_regs, struct pt_regs *regs)
regs               99 arch/parisc/kernel/kgdb.c 	memcpy(regs->gr, gr->gpr, sizeof(regs->gr));
regs              100 arch/parisc/kernel/kgdb.c 	memcpy(regs->fr, gr->fr, sizeof(regs->fr));
regs              102 arch/parisc/kernel/kgdb.c 	regs->sr[0] = gr->sr0;
regs              103 arch/parisc/kernel/kgdb.c 	regs->sr[1] = gr->sr1;
regs              104 arch/parisc/kernel/kgdb.c 	regs->sr[2] = gr->sr2;
regs              105 arch/parisc/kernel/kgdb.c 	regs->sr[3] = gr->sr3;
regs              106 arch/parisc/kernel/kgdb.c 	regs->sr[4] = gr->sr4;
regs              107 arch/parisc/kernel/kgdb.c 	regs->sr[5] = gr->sr5;
regs              108 arch/parisc/kernel/kgdb.c 	regs->sr[6] = gr->sr6;
regs              109 arch/parisc/kernel/kgdb.c 	regs->sr[7] = gr->sr7;
regs              111 arch/parisc/kernel/kgdb.c 	regs->sar = gr->sar;
regs              112 arch/parisc/kernel/kgdb.c 	regs->iir = gr->iir;
regs              113 arch/parisc/kernel/kgdb.c 	regs->isr = gr->isr;
regs              114 arch/parisc/kernel/kgdb.c 	regs->ior = gr->ior;
regs              115 arch/parisc/kernel/kgdb.c 	regs->ipsw = gr->ipsw;
regs              116 arch/parisc/kernel/kgdb.c 	regs->cr27 = gr->cr27;
regs              118 arch/parisc/kernel/kgdb.c 	regs->iaoq[0] = gr->iaoq_f;
regs              119 arch/parisc/kernel/kgdb.c 	regs->iasq[0] = gr->iasq_f;
regs              121 arch/parisc/kernel/kgdb.c 	regs->iaoq[1] = gr->iaoq_b;
regs              122 arch/parisc/kernel/kgdb.c 	regs->iasq[1] = gr->iasq_b;
regs              128 arch/parisc/kernel/kgdb.c 	struct pt_regs *regs = task_pt_regs(task);
regs              131 arch/parisc/kernel/kgdb.c 	gr30 = regs->gr[30];
regs              132 arch/parisc/kernel/kgdb.c 	iaoq = regs->iaoq[0];
regs              134 arch/parisc/kernel/kgdb.c 	regs->gr[30] = regs->ksp;
regs              135 arch/parisc/kernel/kgdb.c 	regs->iaoq[0] = regs->kpc;
regs              136 arch/parisc/kernel/kgdb.c 	pt_regs_to_gdb_regs(gdb_regs, regs);
regs              138 arch/parisc/kernel/kgdb.c 	regs->gr[30] = gr30;
regs              139 arch/parisc/kernel/kgdb.c 	regs->iaoq[0] = iaoq;
regs              143 arch/parisc/kernel/kgdb.c static void step_instruction_queue(struct pt_regs *regs)
regs              145 arch/parisc/kernel/kgdb.c 	regs->iaoq[0] = regs->iaoq[1];
regs              146 arch/parisc/kernel/kgdb.c 	regs->iaoq[1] += 4;
regs              149 arch/parisc/kernel/kgdb.c void kgdb_arch_set_pc(struct pt_regs *regs, unsigned long ip)
regs              151 arch/parisc/kernel/kgdb.c 	regs->iaoq[0] = ip;
regs              152 arch/parisc/kernel/kgdb.c 	regs->iaoq[1] = ip + 4;
regs              175 arch/parisc/kernel/kgdb.c 		struct pt_regs *regs)
regs              188 arch/parisc/kernel/kgdb.c 			kgdb_arch_set_pc(regs, addr);
regs              189 arch/parisc/kernel/kgdb.c 		else if (trap == 9 && regs->iir ==
regs              191 arch/parisc/kernel/kgdb.c 			step_instruction_queue(regs);
regs              196 arch/parisc/kernel/kgdb.c 			kgdb_arch_set_pc(regs, addr);
regs              197 arch/parisc/kernel/kgdb.c 		} else if (trap == 9 && regs->iir ==
regs              199 arch/parisc/kernel/kgdb.c 			step_instruction_queue(regs);
regs              204 arch/parisc/kernel/kgdb.c 		regs->gr[0] |= PSW_R;
regs               72 arch/parisc/kernel/kprobes.c 		struct kprobe_ctlblk *kcb, struct pt_regs *regs)
regs               74 arch/parisc/kernel/kprobes.c 	kcb->iaoq[0] = regs->iaoq[0];
regs               75 arch/parisc/kernel/kprobes.c 	kcb->iaoq[1] = regs->iaoq[1];
regs               76 arch/parisc/kernel/kprobes.c 	regs->iaoq[0] = (unsigned long)p->ainsn.insn;
regs               78 arch/parisc/kernel/kprobes.c 	regs->gr[0] |= PSW_R;
regs               81 arch/parisc/kernel/kprobes.c int __kprobes parisc_kprobe_break_handler(struct pt_regs *regs)
regs               89 arch/parisc/kernel/kprobes.c 	p = get_kprobe((unsigned long *)regs->iaoq[0]);
regs              107 arch/parisc/kernel/kprobes.c 		setup_singlestep(p, kcb, regs);
regs              121 arch/parisc/kernel/kprobes.c 	if (!p->pre_handler || !p->pre_handler(p, regs)) {
regs              122 arch/parisc/kernel/kprobes.c 		setup_singlestep(p, kcb, regs);
regs              131 arch/parisc/kernel/kprobes.c int __kprobes parisc_kprobe_ss_handler(struct pt_regs *regs)
regs              139 arch/parisc/kernel/kprobes.c 	if (regs->iaoq[0] != (unsigned long)p->ainsn.insn+4)
regs              155 arch/parisc/kernel/kprobes.c 		p->post_handler(p, regs, 0);
regs              157 arch/parisc/kernel/kprobes.c 	switch (regs->iir >> 26) {
regs              165 arch/parisc/kernel/kprobes.c 		regs->iaoq[0] = kcb->iaoq[1];
regs              168 arch/parisc/kernel/kprobes.c 		regs->iaoq[1] = kcb->iaoq[0];
regs              169 arch/parisc/kernel/kprobes.c 		regs->iaoq[1] += (regs->iaoq[1] - regs->iaoq[0]) + 4;
regs              170 arch/parisc/kernel/kprobes.c 		regs->iaoq[0] = kcb->iaoq[1];
regs              185 arch/parisc/kernel/kprobes.c 					      struct pt_regs *regs);
regs              192 arch/parisc/kernel/kprobes.c 					      struct pt_regs *regs)
regs              246 arch/parisc/kernel/kprobes.c 			ri->rp->handler(ri, regs);
regs              267 arch/parisc/kernel/kprobes.c 	instruction_pointer_set(regs, orig_ret_address);
regs              272 arch/parisc/kernel/kprobes.c 				      struct pt_regs *regs)
regs              274 arch/parisc/kernel/kprobes.c 	ri->ret_addr = (kprobe_opcode_t *)regs->gr[2];
regs              277 arch/parisc/kernel/kprobes.c 	regs->gr[2] = (unsigned long)trampoline_p.addr;
regs               31 arch/parisc/kernel/pa7300lc.c static void pa7300lc_lpmc(int code, struct pt_regs *regs)
regs               36 arch/parisc/kernel/pa7300lc.c 	show_regs(regs);
regs              159 arch/parisc/kernel/process.c int dump_fpu (struct pt_regs * regs, elf_fpregset_t *r)
regs              161 arch/parisc/kernel/process.c 	if (regs == NULL)
regs              164 arch/parisc/kernel/process.c 	memcpy(r, regs->fr, sizeof *r);
regs              170 arch/parisc/kernel/process.c 	memcpy(r, tsk->thread.regs.fr, sizeof(*r));
regs              214 arch/parisc/kernel/process.c 	struct pt_regs *cregs = &(p->thread.regs);
regs              317 arch/parisc/kernel/ptrace.c long do_syscall_trace_enter(struct pt_regs *regs)
regs              320 arch/parisc/kernel/ptrace.c 		int rc = tracehook_report_syscall_entry(regs);
regs              326 arch/parisc/kernel/ptrace.c 		regs->gr[28] = -ENOSYS;
regs              339 arch/parisc/kernel/ptrace.c 			regs->gr[20] = -1UL;
regs              350 arch/parisc/kernel/ptrace.c 		trace_sys_enter(regs, regs->gr[20]);
regs              355 arch/parisc/kernel/ptrace.c 		audit_syscall_entry(regs->gr[20], regs->gr[26], regs->gr[25],
regs              356 arch/parisc/kernel/ptrace.c 				    regs->gr[24], regs->gr[23]);
regs              359 arch/parisc/kernel/ptrace.c 		audit_syscall_entry(regs->gr[20] & 0xffffffff,
regs              360 arch/parisc/kernel/ptrace.c 			regs->gr[26] & 0xffffffff,
regs              361 arch/parisc/kernel/ptrace.c 			regs->gr[25] & 0xffffffff,
regs              362 arch/parisc/kernel/ptrace.c 			regs->gr[24] & 0xffffffff,
regs              363 arch/parisc/kernel/ptrace.c 			regs->gr[23] & 0xffffffff);
regs              369 arch/parisc/kernel/ptrace.c 	return (int) ((u32) regs->gr[20]);
regs              372 arch/parisc/kernel/ptrace.c void do_syscall_trace_exit(struct pt_regs *regs)
regs              377 arch/parisc/kernel/ptrace.c 	audit_syscall_exit(regs);
regs              381 arch/parisc/kernel/ptrace.c 		trace_sys_exit(regs, regs->gr[20]);
regs              385 arch/parisc/kernel/ptrace.c 		tracehook_report_syscall_exit(regs, stepping);
regs              398 arch/parisc/kernel/ptrace.c 	struct pt_regs *regs = task_regs(target);
regs              408 arch/parisc/kernel/ptrace.c 			*k++ = regs->fr[pos++];
regs              411 arch/parisc/kernel/ptrace.c 			if (__put_user(regs->fr[pos++], u++))
regs              427 arch/parisc/kernel/ptrace.c 	struct pt_regs *regs = task_regs(target);
regs              437 arch/parisc/kernel/ptrace.c 			regs->fr[pos++] = *k++;
regs              442 arch/parisc/kernel/ptrace.c 			regs->fr[pos++] = reg;
regs              455 arch/parisc/kernel/ptrace.c static unsigned long get_reg(struct pt_regs *regs, int num)
regs              458 arch/parisc/kernel/ptrace.c 	case RI(gr[0]) ... RI(gr[31]):	return regs->gr[num - RI(gr[0])];
regs              459 arch/parisc/kernel/ptrace.c 	case RI(sr[0]) ... RI(sr[7]):	return regs->sr[num - RI(sr[0])];
regs              460 arch/parisc/kernel/ptrace.c 	case RI(iasq[0]):		return regs->iasq[0];
regs              461 arch/parisc/kernel/ptrace.c 	case RI(iasq[1]):		return regs->iasq[1];
regs              462 arch/parisc/kernel/ptrace.c 	case RI(iaoq[0]):		return regs->iaoq[0];
regs              463 arch/parisc/kernel/ptrace.c 	case RI(iaoq[1]):		return regs->iaoq[1];
regs              464 arch/parisc/kernel/ptrace.c 	case RI(sar):			return regs->sar;
regs              465 arch/parisc/kernel/ptrace.c 	case RI(iir):			return regs->iir;
regs              466 arch/parisc/kernel/ptrace.c 	case RI(isr):			return regs->isr;
regs              467 arch/parisc/kernel/ptrace.c 	case RI(ior):			return regs->ior;
regs              468 arch/parisc/kernel/ptrace.c 	case RI(ipsw):			return regs->ipsw;
regs              469 arch/parisc/kernel/ptrace.c 	case RI(cr27):			return regs->cr27;
regs              488 arch/parisc/kernel/ptrace.c static void set_reg(struct pt_regs *regs, int num, unsigned long val)
regs              499 arch/parisc/kernel/ptrace.c 			regs->gr[0] &= ~USER_PSW_BITS;
regs              500 arch/parisc/kernel/ptrace.c 			regs->gr[0] |= val;
regs              503 arch/parisc/kernel/ptrace.c 			regs->gr[num - RI(gr[0])] = val;
regs              508 arch/parisc/kernel/ptrace.c 			regs->iaoq[num - RI(iaoq[0])] = val | 3;
regs              510 arch/parisc/kernel/ptrace.c 	case RI(sar):	regs->sar = val;
regs              515 arch/parisc/kernel/ptrace.c 	case RI(sr[0]) ... RI(sr[7]):	return regs->sr[num - RI(sr[0])];
regs              516 arch/parisc/kernel/ptrace.c 	case RI(iasq[0]):		return regs->iasq[0];
regs              517 arch/parisc/kernel/ptrace.c 	case RI(iasq[1]):		return regs->iasq[1];
regs              518 arch/parisc/kernel/ptrace.c 	case RI(iir):			return regs->iir;
regs              519 arch/parisc/kernel/ptrace.c 	case RI(isr):			return regs->isr;
regs              520 arch/parisc/kernel/ptrace.c 	case RI(ior):			return regs->ior;
regs              521 arch/parisc/kernel/ptrace.c 	case RI(ipsw):			return regs->ipsw;
regs              522 arch/parisc/kernel/ptrace.c 	case RI(cr27):			return regs->cr27;
regs              534 arch/parisc/kernel/ptrace.c 	struct pt_regs *regs = task_regs(target);
regs              544 arch/parisc/kernel/ptrace.c 			*k++ = get_reg(regs, pos++);
regs              547 arch/parisc/kernel/ptrace.c 			if (__put_user(get_reg(regs, pos++), u++))
regs              562 arch/parisc/kernel/ptrace.c 	struct pt_regs *regs = task_regs(target);
regs              572 arch/parisc/kernel/ptrace.c 			set_reg(regs, pos++, *k++);
regs              577 arch/parisc/kernel/ptrace.c 			set_reg(regs, pos++, reg);
regs              614 arch/parisc/kernel/ptrace.c 	struct pt_regs *regs = task_regs(target);
regs              624 arch/parisc/kernel/ptrace.c 			*k++ = get_reg(regs, pos++);
regs              627 arch/parisc/kernel/ptrace.c 			if (__put_user((compat_ulong_t) get_reg(regs, pos++), u++))
regs              643 arch/parisc/kernel/ptrace.c 	struct pt_regs *regs = task_regs(target);
regs              653 arch/parisc/kernel/ptrace.c 			set_reg(regs, pos++, *k++);
regs              658 arch/parisc/kernel/ptrace.c 			set_reg(regs, pos++, reg);
regs              810 arch/parisc/kernel/ptrace.c int regs_within_kernel_stack(struct pt_regs *regs, unsigned long addr)
regs              813 arch/parisc/kernel/ptrace.c 		(kernel_stack_pointer(regs) & ~(THREAD_SIZE - 1)));
regs              825 arch/parisc/kernel/ptrace.c unsigned long regs_get_kernel_stack_nth(struct pt_regs *regs, unsigned int n)
regs              827 arch/parisc/kernel/ptrace.c 	unsigned long *addr = (unsigned long *)kernel_stack_pointer(regs);
regs              831 arch/parisc/kernel/ptrace.c 	if (!regs_within_kernel_stack(regs, (unsigned long)addr))
regs               72 arch/parisc/kernel/signal.c restore_sigcontext(struct sigcontext __user *sc, struct pt_regs *regs)
regs               76 arch/parisc/kernel/signal.c 	err |= __copy_from_user(regs->gr, sc->sc_gr, sizeof(regs->gr));
regs               77 arch/parisc/kernel/signal.c 	err |= __copy_from_user(regs->fr, sc->sc_fr, sizeof(regs->fr));
regs               78 arch/parisc/kernel/signal.c 	err |= __copy_from_user(regs->iaoq, sc->sc_iaoq, sizeof(regs->iaoq));
regs               79 arch/parisc/kernel/signal.c 	err |= __copy_from_user(regs->iasq, sc->sc_iasq, sizeof(regs->iasq));
regs               80 arch/parisc/kernel/signal.c 	err |= __get_user(regs->sar, &sc->sc_sar);
regs               82 arch/parisc/kernel/signal.c 			regs->iaoq[0],regs->iaoq[1]);
regs               83 arch/parisc/kernel/signal.c 	DBG(2,"restore_sigcontext: r28 is %ld\n", regs->gr[28]);
regs               88 arch/parisc/kernel/signal.c sys_rt_sigreturn(struct pt_regs *regs, int in_syscall)
regs               92 arch/parisc/kernel/signal.c 	unsigned long usp = (regs->gr[30] & ~(0x01UL));
regs              108 arch/parisc/kernel/signal.c 	regs->orig_r28 = 1; /* no restarts for sigreturn */
regs              133 arch/parisc/kernel/signal.c 					&compat_frame->regs, regs))
regs              144 arch/parisc/kernel/signal.c 		if (restore_sigcontext(&frame->uc.uc_mcontext, regs))
regs              158 arch/parisc/kernel/signal.c 		regs->gr[31] = regs->iaoq[0];
regs              160 arch/parisc/kernel/signal.c 	DBG(1,"sys_rt_sigreturn: returning to %#lx, DUMPING REGS:\n", regs->iaoq[0]);
regs              161 arch/parisc/kernel/signal.c 	show_regs(regs);
regs              194 arch/parisc/kernel/signal.c setup_sigcontext(struct sigcontext __user *sc, struct pt_regs *regs, int in_syscall)
regs              205 arch/parisc/kernel/signal.c 		err |= __put_user(regs->gr[31], &sc->sc_iaoq[0]);
regs              206 arch/parisc/kernel/signal.c 		err |= __put_user(regs->gr[31]+4, &sc->sc_iaoq[1]);
regs              207 arch/parisc/kernel/signal.c 		err |= __put_user(regs->sr[3], &sc->sc_iasq[0]);
regs              208 arch/parisc/kernel/signal.c 		err |= __put_user(regs->sr[3], &sc->sc_iasq[1]);
regs              210 arch/parisc/kernel/signal.c 			regs->gr[31], regs->gr[31]+4);
regs              212 arch/parisc/kernel/signal.c 		err |= __copy_to_user(sc->sc_iaoq, regs->iaoq, sizeof(regs->iaoq));
regs              213 arch/parisc/kernel/signal.c 		err |= __copy_to_user(sc->sc_iasq, regs->iasq, sizeof(regs->iasq));
regs              215 arch/parisc/kernel/signal.c 			regs->iaoq[0], regs->iaoq[1]);
regs              219 arch/parisc/kernel/signal.c 	err |= __copy_to_user(sc->sc_gr, regs->gr, sizeof(regs->gr));
regs              220 arch/parisc/kernel/signal.c 	err |= __copy_to_user(sc->sc_fr, regs->fr, sizeof(regs->fr));
regs              221 arch/parisc/kernel/signal.c 	err |= __put_user(regs->sar, &sc->sc_sar);
regs              222 arch/parisc/kernel/signal.c 	DBG(1,"setup_sigcontext: r28 is %ld\n", regs->gr[28]);
regs              228 arch/parisc/kernel/signal.c setup_rt_frame(struct ksignal *ksig, sigset_t *set, struct pt_regs *regs,
regs              240 arch/parisc/kernel/signal.c 	usp = (regs->gr[30] & ~(0x01UL));
regs              255 arch/parisc/kernel/signal.c 		err |= __compat_save_altstack( &compat_frame->uc.uc_stack, regs->gr[30]);
regs              259 arch/parisc/kernel/signal.c 					&compat_frame->regs, regs, in_syscall);
regs              267 arch/parisc/kernel/signal.c 		err |= __save_altstack(&frame->uc.uc_stack, regs->gr[30]);
regs              270 arch/parisc/kernel/signal.c 		err |= setup_sigcontext(&frame->uc.uc_mcontext, regs, in_syscall);
regs              330 arch/parisc/kernel/signal.c 			regs->gr[19] = fdesc.gp;
regs              343 arch/parisc/kernel/signal.c 		regs->gr[19] = fdesc.gp;
regs              345 arch/parisc/kernel/signal.c 		     haddr, regs->gr[19], in_syscall);
regs              357 arch/parisc/kernel/signal.c 		regs->gr[31] = haddr;
regs              381 arch/parisc/kernel/signal.c 		regs->gr[0] = psw;
regs              382 arch/parisc/kernel/signal.c 		regs->iaoq[0] = haddr | 3;
regs              383 arch/parisc/kernel/signal.c 		regs->iaoq[1] = regs->iaoq[0] + 4;
regs              386 arch/parisc/kernel/signal.c 	regs->gr[2]  = rp;                /* userland return pointer */
regs              387 arch/parisc/kernel/signal.c 	regs->gr[26] = ksig->sig;               /* signal number */
regs              391 arch/parisc/kernel/signal.c 		regs->gr[25] = A(&compat_frame->info); /* siginfo pointer */
regs              392 arch/parisc/kernel/signal.c 		regs->gr[24] = A(&compat_frame->uc);   /* ucontext pointer */
regs              396 arch/parisc/kernel/signal.c 		regs->gr[25] = A(&frame->info); /* siginfo pointer */
regs              397 arch/parisc/kernel/signal.c 		regs->gr[24] = A(&frame->uc);   /* ucontext pointer */
regs              401 arch/parisc/kernel/signal.c 	       regs->gr[30], sigframe_size,
regs              402 arch/parisc/kernel/signal.c 	       regs->gr[30] + sigframe_size);
regs              404 arch/parisc/kernel/signal.c 	regs->gr[30] = (A(frame) + sigframe_size);
regs              408 arch/parisc/kernel/signal.c 	       current->comm, current->pid, frame, regs->gr[30],
regs              409 arch/parisc/kernel/signal.c 	       regs->iaoq[0], regs->iaoq[1], rp);
regs              419 arch/parisc/kernel/signal.c handle_signal(struct ksignal *ksig, struct pt_regs *regs, int in_syscall)
regs              425 arch/parisc/kernel/signal.c 	       ksig->sig, ksig->ka, ksig->info, oldset, regs);
regs              428 arch/parisc/kernel/signal.c 	ret = setup_rt_frame(ksig, oldset, regs, in_syscall);
regs              434 arch/parisc/kernel/signal.c 		regs->gr[28]);
regs              442 arch/parisc/kernel/signal.c static void check_syscallno_in_delay_branch(struct pt_regs *regs)
regs              459 arch/parisc/kernel/signal.c 	regs->gr[31] -= 8; /* delayed branching */
regs              462 arch/parisc/kernel/signal.c 	uaddr = (unsigned int *) ((regs->gr[31] & ~3) + 4);
regs              478 arch/parisc/kernel/signal.c 		regs->gr[source_reg] = regs->gr[20];
regs              487 arch/parisc/kernel/signal.c syscall_restart(struct pt_regs *regs, struct k_sigaction *ka)
regs              489 arch/parisc/kernel/signal.c 	if (regs->orig_r28)
regs              491 arch/parisc/kernel/signal.c 	regs->orig_r28 = 1; /* no more restarts */
regs              493 arch/parisc/kernel/signal.c 	switch (regs->gr[28]) {
regs              497 arch/parisc/kernel/signal.c 		regs->gr[28] = -EINTR;
regs              503 arch/parisc/kernel/signal.c 			regs->gr[28] = -EINTR;
regs              508 arch/parisc/kernel/signal.c 		check_syscallno_in_delay_branch(regs);
regs              514 arch/parisc/kernel/signal.c insert_restart_trampoline(struct pt_regs *regs)
regs              516 arch/parisc/kernel/signal.c 	if (regs->orig_r28)
regs              518 arch/parisc/kernel/signal.c 	regs->orig_r28 = 1; /* no more restarts */
regs              519 arch/parisc/kernel/signal.c 	switch(regs->gr[28]) {
regs              522 arch/parisc/kernel/signal.c 		unsigned int *usp = (unsigned int *)regs->gr[30];
regs              537 arch/parisc/kernel/signal.c 		err |= put_user(regs->gr[31] >> 32, &usp[0]);
regs              538 arch/parisc/kernel/signal.c 		err |= put_user(regs->gr[31] & 0xffffffff, &usp[1]);
regs              541 arch/parisc/kernel/signal.c 		err |= put_user(regs->gr[31], &usp[0]);
regs              553 arch/parisc/kernel/signal.c 		regs->gr[31] = regs->gr[30] + 8;
regs              559 arch/parisc/kernel/signal.c 		check_syscallno_in_delay_branch(regs);
regs              578 arch/parisc/kernel/signal.c do_signal(struct pt_regs *regs, long in_syscall)
regs              583 arch/parisc/kernel/signal.c 	       regs, regs->sr[7], in_syscall);
regs              586 arch/parisc/kernel/signal.c 		DBG(3,"do_signal: signr = %d, regs->gr[28] = %ld\n", signr, regs->gr[28]);
regs              589 arch/parisc/kernel/signal.c 			syscall_restart(regs, &ksig.ka);
regs              591 arch/parisc/kernel/signal.c 		handle_signal(&ksig, regs, in_syscall);
regs              597 arch/parisc/kernel/signal.c 		insert_restart_trampoline(regs);
regs              600 arch/parisc/kernel/signal.c 		regs->gr[28]);
regs              605 arch/parisc/kernel/signal.c void do_notify_resume(struct pt_regs *regs, long in_syscall)
regs              608 arch/parisc/kernel/signal.c 		do_signal(regs, in_syscall);
regs              612 arch/parisc/kernel/signal.c 		tracehook_notify_resume(regs);
regs               37 arch/parisc/kernel/signal32.c 		struct pt_regs *regs)
regs               47 arch/parisc/kernel/signal32.c 	DBG(2,"restore_sigcontext32: sc = 0x%p, rf = 0x%p, regs = 0x%p\n", sc, rf, regs);
regs               51 arch/parisc/kernel/signal32.c 		regs->gr[regn] = compat_reg;
regs               54 arch/parisc/kernel/signal32.c 		regs->gr[regn] = ((u64)compat_regt << 32) | (u64)compat_reg;
regs               56 arch/parisc/kernel/signal32.c 				regn, regs->gr[regn], compat_regt, compat_reg);
regs               60 arch/parisc/kernel/signal32.c 	err |= __copy_from_user(regs->fr, sc->sc_fr, sizeof(regs->fr));
regs               68 arch/parisc/kernel/signal32.c 	regs->iaoq[0] = ((u64)compat_regt << 32) | (u64)compat_reg;
regs               76 arch/parisc/kernel/signal32.c 	regs->iaoq[1] = ((u64)compat_regt << 32) | (u64)compat_reg;
regs               81 arch/parisc/kernel/signal32.c 			regs->iaoq[0],regs->iaoq[1]);		
regs               86 arch/parisc/kernel/signal32.c 	regs->iasq[0] = ((u64)compat_regt << 32) | (u64)compat_reg;
regs               92 arch/parisc/kernel/signal32.c 	regs->iasq[1] = ((u64)compat_regt << 32) | (u64)compat_reg;
regs               95 arch/parisc/kernel/signal32.c 		regs->iasq[0],regs->iasq[1]);		
regs              100 arch/parisc/kernel/signal32.c 	regs->sar = ((u64)compat_regt << 32) | (u64)compat_reg;	
regs              102 arch/parisc/kernel/signal32.c 	DBG(2,"restore_sigcontext32: sar is %#lx\n", regs->sar);		
regs              103 arch/parisc/kernel/signal32.c 	DBG(2,"restore_sigcontext32: r28 is %ld\n", regs->gr[28]);
regs              116 arch/parisc/kernel/signal32.c 		struct pt_regs *regs, int in_syscall)		 
regs              133 arch/parisc/kernel/signal32.c 		compat_reg = (compat_uint_t)(regs->gr[31]);
regs              140 arch/parisc/kernel/signal32.c 		compat_reg = (compat_uint_t)(regs->gr[31] >> 32);
regs              145 arch/parisc/kernel/signal32.c 		compat_reg = (compat_uint_t)(regs->gr[31]+4);
regs              150 arch/parisc/kernel/signal32.c 		compat_reg = (compat_uint_t)((regs->gr[31]+4) >> 32);
regs              155 arch/parisc/kernel/signal32.c 		compat_reg = (compat_uint_t)(regs->sr[3]);
regs              160 arch/parisc/kernel/signal32.c 		compat_reg = (compat_uint_t)(regs->sr[3] >> 32);
regs              167 arch/parisc/kernel/signal32.c 			regs->gr[31], regs->gr[31]+4);
regs              171 arch/parisc/kernel/signal32.c 		compat_reg = (compat_uint_t)(regs->iaoq[0]);
regs              176 arch/parisc/kernel/signal32.c 		compat_reg = (compat_uint_t)(regs->iaoq[0] >> 32);
regs              180 arch/parisc/kernel/signal32.c 		compat_reg = (compat_uint_t)(regs->iaoq[1]);
regs              185 arch/parisc/kernel/signal32.c 		compat_reg = (compat_uint_t)(regs->iaoq[1] >> 32);
regs              190 arch/parisc/kernel/signal32.c 		compat_reg = (compat_uint_t)(regs->iasq[0]);
regs              195 arch/parisc/kernel/signal32.c 		compat_reg = (compat_uint_t)(regs->iasq[0] >> 32);
regs              200 arch/parisc/kernel/signal32.c 		compat_reg = (compat_uint_t)(regs->iasq[1]);
regs              205 arch/parisc/kernel/signal32.c 		compat_reg = (compat_uint_t)(regs->iasq[1] >> 32);
regs              211 arch/parisc/kernel/signal32.c 			regs->iaoq[0], regs->iaoq[1]);
regs              220 arch/parisc/kernel/signal32.c 		compat_reg = (compat_uint_t)(regs->gr[regn]);
regs              223 arch/parisc/kernel/signal32.c 		compat_regb = (compat_uint_t)(regs->gr[regn] >> 32);
regs              235 arch/parisc/kernel/signal32.c 		sizeof(regs->fr), sizeof(sc->sc_fr));
regs              236 arch/parisc/kernel/signal32.c 	err |= __copy_to_user(sc->sc_fr, regs->fr, sizeof(regs->fr));
regs              238 arch/parisc/kernel/signal32.c 	compat_reg = (compat_uint_t)(regs->sar);
regs              242 arch/parisc/kernel/signal32.c 	compat_reg = (compat_uint_t)(regs->sar >> 32);
regs              245 arch/parisc/kernel/signal32.c 	DBG(1,"setup_sigcontext32: r28 is %ld\n", regs->gr[28]);
regs               53 arch/parisc/kernel/signal32.h         struct compat_regfile regs;
regs               68 arch/parisc/kernel/signal32.h 		struct pt_regs *regs);
regs               71 arch/parisc/kernel/signal32.h 		struct pt_regs *regs, int in_syscall);
regs              124 arch/parisc/kernel/time.c unsigned long profile_pc(struct pt_regs *regs)
regs              126 arch/parisc/kernel/time.c 	unsigned long pc = instruction_pointer(regs);
regs              128 arch/parisc/kernel/time.c 	if (regs->gr[0] & PSW_N)
regs              133 arch/parisc/kernel/time.c 		pc = regs->gr[2];
regs               52 arch/parisc/kernel/traps.c 	struct pt_regs *regs);
regs               78 arch/parisc/kernel/traps.c static void print_gr(char *level, struct pt_regs *regs)
regs               85 arch/parisc/kernel/traps.c 	printbinary(buf, regs->gr[0], 32);
regs               89 arch/parisc/kernel/traps.c 		PRINTREGS(level, regs->gr, "r", RFMT, i);
regs               92 arch/parisc/kernel/traps.c static void print_fr(char *level, struct pt_regs *regs)
regs              116 arch/parisc/kernel/traps.c 		PRINTREGS(level, regs->fr, "fr", FFMT, i);
regs              119 arch/parisc/kernel/traps.c void show_regs(struct pt_regs *regs)
regs              125 arch/parisc/kernel/traps.c 	user = user_mode(regs);
regs              130 arch/parisc/kernel/traps.c 	print_gr(level, regs);
regs              133 arch/parisc/kernel/traps.c 		PRINTREGS(level, regs->sr, "sr", RFMT, i);
regs              136 arch/parisc/kernel/traps.c 		print_fr(level, regs);
regs              142 arch/parisc/kernel/traps.c 	       level, regs->iasq[0], regs->iasq[1], regs->iaoq[0], regs->iaoq[1]);
regs              144 arch/parisc/kernel/traps.c 	       level, regs->iir, regs->isr, regs->ior);
regs              147 arch/parisc/kernel/traps.c 	printk("%s ORIG_R28: " RFMT "\n", level, regs->orig_r28);
regs              150 arch/parisc/kernel/traps.c 		printk("%s IAOQ[0]: " RFMT "\n", level, regs->iaoq[0]);
regs              151 arch/parisc/kernel/traps.c 		printk("%s IAOQ[1]: " RFMT "\n", level, regs->iaoq[1]);
regs              152 arch/parisc/kernel/traps.c 		printk("%s RP(r2): " RFMT "\n", level, regs->gr[2]);
regs              154 arch/parisc/kernel/traps.c 		printk("%s IAOQ[0]: %pS\n", level, (void *) regs->iaoq[0]);
regs              155 arch/parisc/kernel/traps.c 		printk("%s IAOQ[1]: %pS\n", level, (void *) regs->iaoq[1]);
regs              156 arch/parisc/kernel/traps.c 		printk("%s RP(r2): %pS\n", level, (void *) regs->gr[2]);
regs              158 arch/parisc/kernel/traps.c 		parisc_show_stack(current, regs);
regs              165 arch/parisc/kernel/traps.c #define parisc_printk_ratelimited(critical, regs, fmt, ...)	{	      \
regs              168 arch/parisc/kernel/traps.c 		show_regs(regs);					      \
regs              192 arch/parisc/kernel/traps.c 	struct pt_regs *regs)
regs              196 arch/parisc/kernel/traps.c 	unwind_frame_init_task(&info, task, regs);
regs              211 arch/parisc/kernel/traps.c void die_if_kernel(char *str, struct pt_regs *regs, long err)
regs              213 arch/parisc/kernel/traps.c 	if (user_mode(regs)) {
regs              217 arch/parisc/kernel/traps.c 		parisc_printk_ratelimited(1, regs,
regs              219 arch/parisc/kernel/traps.c 			current->comm, task_pid_nr(current), str, err, regs->iaoq[0]);
regs              260 arch/parisc/kernel/traps.c 	show_regs(regs);
regs              276 arch/parisc/kernel/traps.c static void handle_gdb_break(struct pt_regs *regs, int wot)
regs              279 arch/parisc/kernel/traps.c 			(void __user *) (regs->iaoq[0] & ~3));
regs              282 arch/parisc/kernel/traps.c static void handle_break(struct pt_regs *regs)
regs              284 arch/parisc/kernel/traps.c 	unsigned iir = regs->iir;
regs              286 arch/parisc/kernel/traps.c 	if (unlikely(iir == PARISC_BUG_BREAK_INSN && !user_mode(regs))) {
regs              289 arch/parisc/kernel/traps.c 		tt = report_bug(regs->iaoq[0] & ~3, regs);
regs              291 arch/parisc/kernel/traps.c 			regs->iaoq[0] += 4;
regs              292 arch/parisc/kernel/traps.c 			regs->iaoq[1] += 4;
regs              295 arch/parisc/kernel/traps.c 		die_if_kernel("Unknown kernel breakpoint", regs,
regs              301 arch/parisc/kernel/traps.c 		parisc_kprobe_break_handler(regs);
regs              310 arch/parisc/kernel/traps.c 		kgdb_handle_exception(9, SIGTRAP, 0, regs);
regs              316 arch/parisc/kernel/traps.c 		parisc_printk_ratelimited(0, regs,
regs              322 arch/parisc/kernel/traps.c 	handle_gdb_break(regs, TRAP_BRKPT);
regs              325 arch/parisc/kernel/traps.c static void default_trap(int code, struct pt_regs *regs)
regs              328 arch/parisc/kernel/traps.c 	show_regs(regs);
regs              331 arch/parisc/kernel/traps.c void (*cpu_lpmc) (int code, struct pt_regs *regs) __read_mostly = default_trap;
regs              334 arch/parisc/kernel/traps.c void transfer_pim_to_trap_frame(struct pt_regs *regs)
regs              352 arch/parisc/kernel/traps.c 	regs->gr[0] = pim_wide->cr[22];
regs              355 arch/parisc/kernel/traps.c 	    regs->gr[i] = pim_wide->gr[i];
regs              358 arch/parisc/kernel/traps.c 	    regs->fr[i] = pim_wide->fr[i];
regs              361 arch/parisc/kernel/traps.c 	    regs->sr[i] = pim_wide->sr[i];
regs              363 arch/parisc/kernel/traps.c 	regs->iasq[0] = pim_wide->cr[17];
regs              364 arch/parisc/kernel/traps.c 	regs->iasq[1] = pim_wide->iasq_back;
regs              365 arch/parisc/kernel/traps.c 	regs->iaoq[0] = pim_wide->cr[18];
regs              366 arch/parisc/kernel/traps.c 	regs->iaoq[1] = pim_wide->iaoq_back;
regs              368 arch/parisc/kernel/traps.c 	regs->sar  = pim_wide->cr[11];
regs              369 arch/parisc/kernel/traps.c 	regs->iir  = pim_wide->cr[19];
regs              370 arch/parisc/kernel/traps.c 	regs->isr  = pim_wide->cr[20];
regs              371 arch/parisc/kernel/traps.c 	regs->ior  = pim_wide->cr[21];
regs              376 arch/parisc/kernel/traps.c 	regs->gr[0] = pim_narrow->cr[22];
regs              379 arch/parisc/kernel/traps.c 	    regs->gr[i] = pim_narrow->gr[i];
regs              382 arch/parisc/kernel/traps.c 	    regs->fr[i] = pim_narrow->fr[i];
regs              385 arch/parisc/kernel/traps.c 	    regs->sr[i] = pim_narrow->sr[i];
regs              387 arch/parisc/kernel/traps.c 	regs->iasq[0] = pim_narrow->cr[17];
regs              388 arch/parisc/kernel/traps.c 	regs->iasq[1] = pim_narrow->iasq_back;
regs              389 arch/parisc/kernel/traps.c 	regs->iaoq[0] = pim_narrow->cr[18];
regs              390 arch/parisc/kernel/traps.c 	regs->iaoq[1] = pim_narrow->iaoq_back;
regs              392 arch/parisc/kernel/traps.c 	regs->sar  = pim_narrow->cr[11];
regs              393 arch/parisc/kernel/traps.c 	regs->iir  = pim_narrow->cr[19];
regs              394 arch/parisc/kernel/traps.c 	regs->isr  = pim_narrow->cr[20];
regs              395 arch/parisc/kernel/traps.c 	regs->ior  = pim_narrow->cr[21];
regs              403 arch/parisc/kernel/traps.c     regs->ksp = 0;
regs              404 arch/parisc/kernel/traps.c     regs->kpc = 0;
regs              405 arch/parisc/kernel/traps.c     regs->orig_r28 = 0;
regs              414 arch/parisc/kernel/traps.c void parisc_terminate(char *msg, struct pt_regs *regs, int code, unsigned long offset)
regs              418 arch/parisc/kernel/traps.c 	(void)notify_die(DIE_OOPS, msg, regs, 0, code, SIGTRAP);
regs              436 arch/parisc/kernel/traps.c 		transfer_pim_to_trap_frame(regs);
regs              448 arch/parisc/kernel/traps.c 		unwind_frame_init(&info, current, regs);
regs              455 arch/parisc/kernel/traps.c 	show_regs(regs);
regs              476 arch/parisc/kernel/traps.c void notrace handle_interruption(int code, struct pt_regs *regs)
regs              507 arch/parisc/kernel/traps.c 	if (((unsigned long)regs->iaoq[0] & 3) &&
regs              508 arch/parisc/kernel/traps.c 	    ((unsigned long)regs->iasq[0] != (unsigned long)regs->sr[7])) { 
regs              510 arch/parisc/kernel/traps.c 		regs->iaoq[0] = 0 | 3;
regs              511 arch/parisc/kernel/traps.c 		regs->iaoq[1] = regs->iaoq[0] + 4;
regs              512 arch/parisc/kernel/traps.c 		regs->iasq[0] = regs->iasq[1] = regs->sr[7];
regs              513 arch/parisc/kernel/traps.c 		regs->gr[0] &= ~PSW_B;
regs              530 arch/parisc/kernel/traps.c 				regs, code, 0);
regs              540 arch/parisc/kernel/traps.c 		regs->gr[0] &= ~PSW_R;
regs              543 arch/parisc/kernel/traps.c 		if (parisc_kprobe_ss_handler(regs))
regs              549 arch/parisc/kernel/traps.c 			kgdb_handle_exception(0, SIGTRAP, 0, regs);
regs              554 arch/parisc/kernel/traps.c 		if (user_space(regs))
regs              555 arch/parisc/kernel/traps.c 			handle_gdb_break(regs, TRAP_TRACE);
regs              565 arch/parisc/kernel/traps.c 		cpu_lpmc(5, regs);
regs              570 arch/parisc/kernel/traps.c 		fault_address = regs->iaoq[0];
regs              571 arch/parisc/kernel/traps.c 		fault_space   = regs->iasq[0];
regs              576 arch/parisc/kernel/traps.c 		die_if_kernel("Illegal instruction", regs, code);
regs              582 arch/parisc/kernel/traps.c 		handle_break(regs);
regs              587 arch/parisc/kernel/traps.c 		die_if_kernel("Privileged operation", regs, code);
regs              593 arch/parisc/kernel/traps.c 		if ((regs->iir & 0xffdfffe0) == 0x034008a0) {
regs              599 arch/parisc/kernel/traps.c 			if (regs->iir & 0x00200000)
regs              600 arch/parisc/kernel/traps.c 				regs->gr[regs->iir & 0x1f] = mfctl(27);
regs              602 arch/parisc/kernel/traps.c 				regs->gr[regs->iir & 0x1f] = mfctl(26);
regs              604 arch/parisc/kernel/traps.c 			regs->iaoq[0] = regs->iaoq[1];
regs              605 arch/parisc/kernel/traps.c 			regs->iaoq[1] += 4;
regs              606 arch/parisc/kernel/traps.c 			regs->iasq[0] = regs->iasq[1];
regs              610 arch/parisc/kernel/traps.c 		die_if_kernel("Privileged register usage", regs, code);
regs              614 arch/parisc/kernel/traps.c 				(void __user *) regs->iaoq[0]);
regs              620 arch/parisc/kernel/traps.c 				(void __user *) regs->iaoq[0]);
regs              627 arch/parisc/kernel/traps.c 		if(user_mode(regs)){
regs              632 arch/parisc/kernel/traps.c 					(void __user *) regs->iaoq[0]);
regs              640 arch/parisc/kernel/traps.c 		die_if_kernel("Floating point exception", regs, 0); /* quiet */
regs              642 arch/parisc/kernel/traps.c 		handle_fpe(regs);
regs              665 arch/parisc/kernel/traps.c 		fault_address = regs->ior;
regs              666 arch/parisc/kernel/traps.c 		fault_space = regs->isr;
regs              672 arch/parisc/kernel/traps.c 		if (check_unaligned(regs)) {
regs              673 arch/parisc/kernel/traps.c 			handle_unaligned(regs);
regs              679 arch/parisc/kernel/traps.c 		fault_address = regs->ior;
regs              680 arch/parisc/kernel/traps.c 		fault_space   = regs->isr;
regs              685 arch/parisc/kernel/traps.c 		regs->gr[0] |= PSW_X; /* So we can single-step over the trap */
regs              689 arch/parisc/kernel/traps.c 		handle_gdb_break(regs, TRAP_HWBKPT);
regs              694 arch/parisc/kernel/traps.c 		regs->gr[0] &= ~PSW_T;
regs              695 arch/parisc/kernel/traps.c 		if (user_space(regs))
regs              696 arch/parisc/kernel/traps.c 			handle_gdb_break(regs, TRAP_BRANCH);
regs              717 arch/parisc/kernel/traps.c 		if (user_mode(regs)) {
regs              721 arch/parisc/kernel/traps.c 			vma = find_vma(current->mm,regs->iaoq[0]);
regs              722 arch/parisc/kernel/traps.c 			if (vma && (regs->iaoq[0] >= vma->vm_start)
regs              725 arch/parisc/kernel/traps.c 				fault_address = regs->iaoq[0];
regs              726 arch/parisc/kernel/traps.c 				fault_space = regs->iasq[0];
regs              736 arch/parisc/kernel/traps.c 		if (code == 27 && !user_mode(regs) &&
regs              737 arch/parisc/kernel/traps.c 			fixup_exception(regs))
regs              740 arch/parisc/kernel/traps.c 		die_if_kernel("Protection id trap", regs, code);
regs              743 arch/parisc/kernel/traps.c 				((void __user *) regs->iaoq[0]) :
regs              744 arch/parisc/kernel/traps.c 				((void __user *) regs->ior));
regs              749 arch/parisc/kernel/traps.c 		handle_unaligned(regs);
regs              753 arch/parisc/kernel/traps.c 		if (user_mode(regs)) {
regs              754 arch/parisc/kernel/traps.c 			parisc_printk_ratelimited(0, regs, KERN_DEBUG
regs              759 arch/parisc/kernel/traps.c 					(void __user *)regs->ior);
regs              764 arch/parisc/kernel/traps.c 		parisc_terminate("Unexpected interruption", regs, code, 0);
regs              768 arch/parisc/kernel/traps.c 	if (user_mode(regs)) {
regs              769 arch/parisc/kernel/traps.c 	    if ((fault_space >> SPACEID_SHIFT) != (regs->sr[7] >> SPACEID_SHIFT)) {
regs              770 arch/parisc/kernel/traps.c 		parisc_printk_ratelimited(0, regs, KERN_DEBUG
regs              775 arch/parisc/kernel/traps.c 				(void __user *)regs->ior);
regs              789 arch/parisc/kernel/traps.c 		if (fixup_exception(regs))
regs              792 arch/parisc/kernel/traps.c 		parisc_terminate("Kernel Fault", regs, code, fault_address);
regs              796 arch/parisc/kernel/traps.c 	do_page_fault(regs, code, fault_address);
regs              121 arch/parisc/kernel/unaligned.c static int emulate_ldh(struct pt_regs *regs, int toreg)
regs              123 arch/parisc/kernel/unaligned.c 	unsigned long saddr = regs->ior;
regs              128 arch/parisc/kernel/unaligned.c 		regs->isr, regs->ior, toreg);
regs              144 arch/parisc/kernel/unaligned.c 	: "0" (val), "r" (saddr), "r" (regs->isr)
regs              150 arch/parisc/kernel/unaligned.c 		regs->gr[toreg] = val;
regs              155 arch/parisc/kernel/unaligned.c static int emulate_ldw(struct pt_regs *regs, int toreg, int flop)
regs              157 arch/parisc/kernel/unaligned.c 	unsigned long saddr = regs->ior;
regs              162 arch/parisc/kernel/unaligned.c 		regs->isr, regs->ior, toreg);
regs              182 arch/parisc/kernel/unaligned.c 	: "0" (val), "r" (saddr), "r" (regs->isr)
regs              188 arch/parisc/kernel/unaligned.c 		((__u32*)(regs->fr))[toreg] = val;
regs              190 arch/parisc/kernel/unaligned.c 		regs->gr[toreg] = val;
regs              194 arch/parisc/kernel/unaligned.c static int emulate_ldd(struct pt_regs *regs, int toreg, int flop)
regs              196 arch/parisc/kernel/unaligned.c 	unsigned long saddr = regs->ior;
regs              201 arch/parisc/kernel/unaligned.c 		regs->isr, regs->ior, toreg);
regs              226 arch/parisc/kernel/unaligned.c 	: "0" (val), "r" (saddr), "r" (regs->isr)
regs              252 arch/parisc/kernel/unaligned.c 	: "0" (valh), "1" (vall), "r" (saddr), "r" (regs->isr)
regs              261 arch/parisc/kernel/unaligned.c 		regs->fr[toreg] = val;
regs              263 arch/parisc/kernel/unaligned.c 		regs->gr[toreg] = val;
regs              268 arch/parisc/kernel/unaligned.c static int emulate_sth(struct pt_regs *regs, int frreg)
regs              270 arch/parisc/kernel/unaligned.c 	unsigned long val = regs->gr[frreg];
regs              277 arch/parisc/kernel/unaligned.c 		val, regs->isr, regs->ior);
regs              293 arch/parisc/kernel/unaligned.c 	: "r" (val), "r" (regs->ior), "r" (regs->isr)
regs              299 arch/parisc/kernel/unaligned.c static int emulate_stw(struct pt_regs *regs, int frreg, int flop)
regs              305 arch/parisc/kernel/unaligned.c 		val = ((__u32*)(regs->fr))[frreg];
regs              307 arch/parisc/kernel/unaligned.c 		val = regs->gr[frreg];
regs              312 arch/parisc/kernel/unaligned.c 		val, regs->isr, regs->ior);
regs              340 arch/parisc/kernel/unaligned.c 	: "r" (val), "r" (regs->ior), "r" (regs->isr)
regs              345 arch/parisc/kernel/unaligned.c static int emulate_std(struct pt_regs *regs, int frreg, int flop)
regs              351 arch/parisc/kernel/unaligned.c 		val = regs->fr[frreg];
regs              353 arch/parisc/kernel/unaligned.c 		val = regs->gr[frreg];
regs              358 arch/parisc/kernel/unaligned.c 		val,  regs->isr, regs->ior);
regs              392 arch/parisc/kernel/unaligned.c 	: "r" (val), "r" (regs->ior), "r" (regs->isr)
regs              427 arch/parisc/kernel/unaligned.c 	: "r" (valh), "r" (vall), "r" (regs->ior), "r" (regs->isr)
regs              435 arch/parisc/kernel/unaligned.c void handle_unaligned(struct pt_regs *regs)
regs              438 arch/parisc/kernel/unaligned.c 	unsigned long newbase = R1(regs->iir)?regs->gr[R1(regs->iir)]:0;
regs              446 arch/parisc/kernel/unaligned.c 	if (user_mode(regs)) {
regs              455 arch/parisc/kernel/unaligned.c 				current->comm, task_pid_nr(current), regs->ior, regs->iaoq[0]);
regs              458 arch/parisc/kernel/unaligned.c 			show_regs(regs);
regs              467 arch/parisc/kernel/unaligned.c 	switch (MAJOR_OP(regs->iir))
regs              472 arch/parisc/kernel/unaligned.c 		if (regs->iir&0x20)
regs              475 arch/parisc/kernel/unaligned.c 			if (regs->iir&0x1000)		/* short loads */
regs              476 arch/parisc/kernel/unaligned.c 				if (regs->iir&0x200)
regs              477 arch/parisc/kernel/unaligned.c 					newbase += IM5_3(regs->iir);
regs              479 arch/parisc/kernel/unaligned.c 					newbase += IM5_2(regs->iir);
regs              480 arch/parisc/kernel/unaligned.c 			else if (regs->iir&0x2000)	/* scaled indexed */
regs              483 arch/parisc/kernel/unaligned.c 				switch (regs->iir & OPCODE1_MASK)
regs              493 arch/parisc/kernel/unaligned.c 				newbase += (R2(regs->iir)?regs->gr[R2(regs->iir)]:0)<<shift;
regs              495 arch/parisc/kernel/unaligned.c 				newbase += (R2(regs->iir)?regs->gr[R2(regs->iir)]:0);
regs              501 arch/parisc/kernel/unaligned.c 		newbase += IM14(regs->iir);
regs              505 arch/parisc/kernel/unaligned.c 		if (regs->iir&8)
regs              508 arch/parisc/kernel/unaligned.c 			newbase += IM14(regs->iir&~0xe);
regs              514 arch/parisc/kernel/unaligned.c 		newbase += IM14(regs->iir&6);
regs              518 arch/parisc/kernel/unaligned.c 		if (regs->iir&4)
regs              521 arch/parisc/kernel/unaligned.c 			newbase += IM14(regs->iir&~4);
regs              527 arch/parisc/kernel/unaligned.c 	switch (regs->iir & OPCODE1_MASK)
regs              531 arch/parisc/kernel/unaligned.c 		ret = emulate_ldh(regs, R3(regs->iir));
regs              538 arch/parisc/kernel/unaligned.c 		ret = emulate_ldw(regs, R3(regs->iir),0);
regs              542 arch/parisc/kernel/unaligned.c 		ret = emulate_sth(regs, R2(regs->iir));
regs              547 arch/parisc/kernel/unaligned.c 		ret = emulate_stw(regs, R2(regs->iir),0);
regs              555 arch/parisc/kernel/unaligned.c 		ret = emulate_ldd(regs, R3(regs->iir),0);
regs              560 arch/parisc/kernel/unaligned.c 		ret = emulate_std(regs, R2(regs->iir),0);
regs              569 arch/parisc/kernel/unaligned.c 		ret = emulate_ldw(regs,FR3(regs->iir),1);
regs              575 arch/parisc/kernel/unaligned.c 		ret = emulate_ldd(regs,R3(regs->iir),1);
regs              583 arch/parisc/kernel/unaligned.c 		ret = emulate_stw(regs,FR3(regs->iir),1);
regs              589 arch/parisc/kernel/unaligned.c 		ret = emulate_std(regs,R3(regs->iir),1);
regs              600 arch/parisc/kernel/unaligned.c 	switch (regs->iir & OPCODE2_MASK)
regs              604 arch/parisc/kernel/unaligned.c 		ret = emulate_ldd(regs,R2(regs->iir),1);
regs              608 arch/parisc/kernel/unaligned.c 		ret = emulate_std(regs, R2(regs->iir),1);
regs              611 arch/parisc/kernel/unaligned.c 		ret = emulate_ldd(regs, R2(regs->iir),0);
regs              614 arch/parisc/kernel/unaligned.c 		ret = emulate_std(regs, R2(regs->iir),0);
regs              618 arch/parisc/kernel/unaligned.c 	switch (regs->iir & OPCODE3_MASK)
regs              622 arch/parisc/kernel/unaligned.c 		ret = emulate_ldw(regs, R2(regs->iir),0);
regs              625 arch/parisc/kernel/unaligned.c 		ret = emulate_ldw(regs, R2(regs->iir),1);
regs              630 arch/parisc/kernel/unaligned.c 		ret = emulate_stw(regs, R2(regs->iir),1);
regs              633 arch/parisc/kernel/unaligned.c 		ret = emulate_stw(regs, R2(regs->iir),0);
regs              636 arch/parisc/kernel/unaligned.c 	switch (regs->iir & OPCODE4_MASK)
regs              639 arch/parisc/kernel/unaligned.c 		ret = emulate_ldh(regs, R2(regs->iir));
regs              643 arch/parisc/kernel/unaligned.c 		ret = emulate_ldw(regs, R2(regs->iir),0);
regs              646 arch/parisc/kernel/unaligned.c 		ret = emulate_sth(regs, R2(regs->iir));
regs              650 arch/parisc/kernel/unaligned.c 		ret = emulate_stw(regs, R2(regs->iir),0);
regs              654 arch/parisc/kernel/unaligned.c 	if (ret == 0 && modify && R1(regs->iir))
regs              655 arch/parisc/kernel/unaligned.c 		regs->gr[R1(regs->iir)] = newbase;
regs              659 arch/parisc/kernel/unaligned.c 		printk(KERN_CRIT "Not-handled unaligned insn 0x%08lx\n", regs->iir);
regs              670 arch/parisc/kernel/unaligned.c 		if (!user_mode(regs) && fixup_exception(regs))
regs              674 arch/parisc/kernel/unaligned.c 		die_if_kernel("Unaligned data reference", regs, 28);
regs              679 arch/parisc/kernel/unaligned.c 					(void __user *)regs->ior);
regs              686 arch/parisc/kernel/unaligned.c 					(void __user *)regs->ior);
regs              693 arch/parisc/kernel/unaligned.c 	regs->gr[0]|=PSW_N;
regs              702 arch/parisc/kernel/unaligned.c check_unaligned(struct pt_regs *regs)
regs              709 arch/parisc/kernel/unaligned.c 	switch (regs->iir & OPCODE1_MASK) {
regs              727 arch/parisc/kernel/unaligned.c 		switch (regs->iir & OPCODE4_MASK) {
regs              742 arch/parisc/kernel/unaligned.c 	return (int)(regs->ior & align_mask);
regs              225 arch/parisc/kernel/unwind.c 		struct pt_regs *regs = (struct pt_regs *)(info->sp - frame_size - PT_SZ_ALGN);
regs              227 arch/parisc/kernel/unwind.c 		info->prev_sp = regs->gr[30];
regs              228 arch/parisc/kernel/unwind.c 		info->prev_ip = regs->iaoq[0];
regs              239 arch/parisc/kernel/unwind.c 		struct pt_regs *regs;
regs              242 arch/parisc/kernel/unwind.c 		regs = (struct pt_regs *)(info->sp - PT_SZ_ALGN);
regs              243 arch/parisc/kernel/unwind.c 		info->prev_sp = regs->gr[30];
regs              244 arch/parisc/kernel/unwind.c 		info->prev_ip = regs->iaoq[0];
regs              245 arch/parisc/kernel/unwind.c 		info->rp = regs->gr[2];
regs              380 arch/parisc/kernel/unwind.c 		       struct pt_regs *regs)
regs              384 arch/parisc/kernel/unwind.c 	info->sp = regs->gr[30];
regs              385 arch/parisc/kernel/unwind.c 	info->ip = regs->iaoq[0];
regs              386 arch/parisc/kernel/unwind.c 	info->rp = regs->gr[2];
regs              387 arch/parisc/kernel/unwind.c 	info->r31 = regs->gr[31];
regs              395 arch/parisc/kernel/unwind.c 	struct pt_regs *r = &t->thread.regs;
regs              415 arch/parisc/kernel/unwind.c 	struct task_struct *task, struct pt_regs *regs)
regs              422 arch/parisc/kernel/unwind.c 		if (!regs) {
regs              427 arch/parisc/kernel/unwind.c 			regs = &r;
regs              429 arch/parisc/kernel/unwind.c 		unwind_frame_init(info, task, regs);
regs               68 arch/parisc/math-emu/driver.c handle_fpe(struct pt_regs *regs)
regs               82 arch/parisc/math-emu/driver.c 	memcpy(frcopy, regs->fr, sizeof regs->fr);
regs              104 arch/parisc/math-emu/driver.c 	memcpy(regs->fr, frcopy, sizeof regs->fr);
regs              107 arch/parisc/math-emu/driver.c 			    (void __user *) regs->iaoq[0]);
regs               12 arch/parisc/math-emu/math-emu.h extern int handle_fpe(struct pt_regs *regs);
regs              140 arch/parisc/mm/fault.c int fixup_exception(struct pt_regs *regs)
regs              144 arch/parisc/mm/fault.c 	fix = search_exception_tables(regs->iaoq[0]);
regs              154 arch/parisc/mm/fault.c 			regs->gr[8] = -EFAULT;
regs              157 arch/parisc/mm/fault.c 			if (parisc_acctyp(0, regs->iir) == VM_READ) {
regs              158 arch/parisc/mm/fault.c 				int treg = regs->iir & 0x1f;
regs              160 arch/parisc/mm/fault.c 				regs->gr[treg] = 0;
regs              164 arch/parisc/mm/fault.c 		regs->iaoq[0] = (unsigned long)&fix->fixup + fix->fixup;
regs              165 arch/parisc/mm/fault.c 		regs->iaoq[0] &= ~3;
regs              173 arch/parisc/mm/fault.c 		regs->iaoq[1] = regs->iaoq[0] + 4;
regs              174 arch/parisc/mm/fault.c 		regs->gr[0] &= ~PSW_B; /* IPSW in gr[0] */
regs              234 arch/parisc/mm/fault.c show_signal_msg(struct pt_regs *regs, unsigned long code,
regs              247 arch/parisc/mm/fault.c 	print_vma_addr(KERN_CONT " in ", regs->iaoq[0]);
regs              256 arch/parisc/mm/fault.c 	show_regs(regs);
regs              259 arch/parisc/mm/fault.c void do_page_fault(struct pt_regs *regs, unsigned long code,
regs              278 arch/parisc/mm/fault.c 	if (user_mode(regs))
regs              281 arch/parisc/mm/fault.c 	acc_type = parisc_acctyp(code, regs->iir);
regs              356 arch/parisc/mm/fault.c 	if (user_mode(regs)) {
regs              411 arch/parisc/mm/fault.c 		show_signal_msg(regs, code, address, tsk, vma);
regs              419 arch/parisc/mm/fault.c 	if (!user_mode(regs) && fixup_exception(regs)) {
regs              423 arch/parisc/mm/fault.c 	parisc_terminate("Bad Address (null pointer deref?)", regs, code, address);
regs              427 arch/parisc/mm/fault.c 	if (!user_mode(regs))
regs               66 arch/powerpc/boot/cuboot-hotfoot.c 		u32 regs[NUM_REGS];
regs               74 arch/powerpc/boot/cuboot-hotfoot.c 		getprop(devp, "reg", regs, sizeof(regs));
regs               75 arch/powerpc/boot/cuboot-hotfoot.c 		regs[0] = 0;
regs               76 arch/powerpc/boot/cuboot-hotfoot.c 		regs[1] = 0xffc00000;
regs               77 arch/powerpc/boot/cuboot-hotfoot.c 		regs[2] = 0x00400000;
regs               78 arch/powerpc/boot/cuboot-hotfoot.c 		setprop(devp, "reg", regs, sizeof(regs));
regs               84 arch/powerpc/boot/cuboot-hotfoot.c 		getprop(devp, "reg", regs, 2*sizeof(u32));
regs               85 arch/powerpc/boot/cuboot-hotfoot.c 		regs[0] -= 0x400000;
regs               86 arch/powerpc/boot/cuboot-hotfoot.c 		setprop(devp, "reg", regs,  2*sizeof(u32));
regs               91 arch/powerpc/boot/cuboot-hotfoot.c 		getprop(devp, "reg", regs, 2*sizeof(u32));
regs               92 arch/powerpc/boot/cuboot-hotfoot.c 		regs[0] -= 0x400000;
regs               93 arch/powerpc/boot/cuboot-hotfoot.c 		setprop(devp, "reg", regs,  2*sizeof(u32));
regs               98 arch/powerpc/boot/cuboot-hotfoot.c 		getprop(devp, "reg", regs, 2*sizeof(u32));
regs               99 arch/powerpc/boot/cuboot-hotfoot.c 		regs[0] -= 0x400000;
regs              100 arch/powerpc/boot/cuboot-hotfoot.c 		setprop(devp, "reg", regs,  2*sizeof(u32));
regs              105 arch/powerpc/boot/cuboot-hotfoot.c 		getprop(devp, "reg", regs, 2*sizeof(u32));
regs              106 arch/powerpc/boot/cuboot-hotfoot.c 		regs[0] -= 0x400000;
regs              107 arch/powerpc/boot/cuboot-hotfoot.c 		setprop(devp, "reg", regs,  2*sizeof(u32));
regs              112 arch/powerpc/boot/cuboot-hotfoot.c 		getprop(devp, "reg", regs, 2*sizeof(u32));
regs              113 arch/powerpc/boot/cuboot-hotfoot.c 		regs[0] -= 0x400000;
regs              114 arch/powerpc/boot/cuboot-hotfoot.c 		setprop(devp, "reg", regs,  2*sizeof(u32));
regs              119 arch/powerpc/boot/cuboot-hotfoot.c 		getprop(devp, "reg", regs, 2*sizeof(u32));
regs              120 arch/powerpc/boot/cuboot-hotfoot.c 		regs[0] -= 0x400000;
regs              121 arch/powerpc/boot/cuboot-hotfoot.c 		setprop(devp, "reg", regs,  2*sizeof(u32));
regs               60 arch/powerpc/include/asm/asm-prototypes.h long machine_check_early(struct pt_regs *regs);
regs               61 arch/powerpc/include/asm/asm-prototypes.h long hmi_exception_realmode(struct pt_regs *regs);
regs               62 arch/powerpc/include/asm/asm-prototypes.h void SMIException(struct pt_regs *regs);
regs               63 arch/powerpc/include/asm/asm-prototypes.h void handle_hmi_exception(struct pt_regs *regs);
regs               64 arch/powerpc/include/asm/asm-prototypes.h void instruction_breakpoint_exception(struct pt_regs *regs);
regs               65 arch/powerpc/include/asm/asm-prototypes.h void RunModeException(struct pt_regs *regs);
regs               66 arch/powerpc/include/asm/asm-prototypes.h void single_step_exception(struct pt_regs *regs);
regs               67 arch/powerpc/include/asm/asm-prototypes.h void program_check_exception(struct pt_regs *regs);
regs               68 arch/powerpc/include/asm/asm-prototypes.h void alignment_exception(struct pt_regs *regs);
regs               69 arch/powerpc/include/asm/asm-prototypes.h void StackOverflow(struct pt_regs *regs);
regs               70 arch/powerpc/include/asm/asm-prototypes.h void kernel_fp_unavailable_exception(struct pt_regs *regs);
regs               71 arch/powerpc/include/asm/asm-prototypes.h void altivec_unavailable_exception(struct pt_regs *regs);
regs               72 arch/powerpc/include/asm/asm-prototypes.h void vsx_unavailable_exception(struct pt_regs *regs);
regs               73 arch/powerpc/include/asm/asm-prototypes.h void fp_unavailable_tm(struct pt_regs *regs);
regs               74 arch/powerpc/include/asm/asm-prototypes.h void altivec_unavailable_tm(struct pt_regs *regs);
regs               75 arch/powerpc/include/asm/asm-prototypes.h void vsx_unavailable_tm(struct pt_regs *regs);
regs               76 arch/powerpc/include/asm/asm-prototypes.h void facility_unavailable_exception(struct pt_regs *regs);
regs               77 arch/powerpc/include/asm/asm-prototypes.h void TAUException(struct pt_regs *regs);
regs               78 arch/powerpc/include/asm/asm-prototypes.h void altivec_assist_exception(struct pt_regs *regs);
regs               79 arch/powerpc/include/asm/asm-prototypes.h void unrecoverable_exception(struct pt_regs *regs);
regs               80 arch/powerpc/include/asm/asm-prototypes.h void kernel_bad_stack(struct pt_regs *regs);
regs               81 arch/powerpc/include/asm/asm-prototypes.h void system_reset_exception(struct pt_regs *regs);
regs               82 arch/powerpc/include/asm/asm-prototypes.h void machine_check_exception(struct pt_regs *regs);
regs               83 arch/powerpc/include/asm/asm-prototypes.h void emulation_assist_interrupt(struct pt_regs *regs);
regs               84 arch/powerpc/include/asm/asm-prototypes.h long do_slb_fault(struct pt_regs *regs, unsigned long ea);
regs               85 arch/powerpc/include/asm/asm-prototypes.h void do_bad_slb_fault(struct pt_regs *regs, unsigned long ea, long err);
regs              107 arch/powerpc/include/asm/asm-prototypes.h long do_syscall_trace_enter(struct pt_regs *regs);
regs              108 arch/powerpc/include/asm/asm-prototypes.h void do_syscall_trace_leave(struct pt_regs *regs);
regs              111 arch/powerpc/include/asm/asm-prototypes.h void restore_math(struct pt_regs *regs);
regs              112 arch/powerpc/include/asm/asm-prototypes.h void restore_tm_state(struct pt_regs *regs);
regs              142 arch/powerpc/include/asm/book3s/32/kup.h bad_kuap_fault(struct pt_regs *regs, unsigned long address, bool is_write)
regs              144 arch/powerpc/include/asm/book3s/32/kup.h 	unsigned long begin = regs->kuap & 0xf0000000;
regs              145 arch/powerpc/include/asm/book3s/32/kup.h 	unsigned long end = regs->kuap << 28;
regs              100 arch/powerpc/include/asm/book3s/64/kup-radix.h bad_kuap_fault(struct pt_regs *regs, unsigned long address, bool is_write)
regs              103 arch/powerpc/include/asm/book3s/64/kup-radix.h 		    (regs->kuap & (is_write ? AMR_KUAP_BLOCK_WRITE : AMR_KUAP_BLOCK_READ)),
regs              118 arch/powerpc/include/asm/compat.h 	struct pt_regs *regs = current->thread.regs;
regs              119 arch/powerpc/include/asm/compat.h 	unsigned long usp = regs->gpr[1];
regs               39 arch/powerpc/include/asm/cputable.h extern int machine_check_generic(struct pt_regs *regs);
regs               40 arch/powerpc/include/asm/cputable.h extern int machine_check_4xx(struct pt_regs *regs);
regs               41 arch/powerpc/include/asm/cputable.h extern int machine_check_440A(struct pt_regs *regs);
regs               42 arch/powerpc/include/asm/cputable.h extern int machine_check_e500mc(struct pt_regs *regs);
regs               43 arch/powerpc/include/asm/cputable.h extern int machine_check_e500(struct pt_regs *regs);
regs               44 arch/powerpc/include/asm/cputable.h extern int machine_check_e200(struct pt_regs *regs);
regs               45 arch/powerpc/include/asm/cputable.h extern int machine_check_47x(struct pt_regs *regs);
regs               46 arch/powerpc/include/asm/cputable.h int machine_check_8xx(struct pt_regs *regs);
regs               47 arch/powerpc/include/asm/cputable.h int machine_check_83xx(struct pt_regs *regs);
regs              103 arch/powerpc/include/asm/cputable.h 	int		(*machine_check)(struct pt_regs *regs);
regs              109 arch/powerpc/include/asm/cputable.h 	long		(*machine_check_early)(struct pt_regs *regs);
regs               96 arch/powerpc/include/asm/dbdma.h #define DBDMA_DO_STOP(regs) do {				\
regs               97 arch/powerpc/include/asm/dbdma.h 	out_le32(&((regs)->control), (RUN|FLUSH)<<16);		\
regs               98 arch/powerpc/include/asm/dbdma.h 	while(in_le32(&((regs)->status)) & (ACTIVE|FLUSH))	\
regs              102 arch/powerpc/include/asm/dbdma.h #define DBDMA_DO_RESET(regs) do {				\
regs              103 arch/powerpc/include/asm/dbdma.h 	out_le32(&((regs)->control), (ACTIVE|DEAD|WAKE|FLUSH|PAUSE|RUN)<<16);\
regs              104 arch/powerpc/include/asm/dbdma.h 	while(in_le32(&((regs)->status)) & (RUN)) \
regs               93 arch/powerpc/include/asm/dbell.h extern void doorbell_exception(struct pt_regs *regs);
regs               14 arch/powerpc/include/asm/debug.h extern int (*__debugger)(struct pt_regs *regs);
regs               15 arch/powerpc/include/asm/debug.h extern int (*__debugger_ipi)(struct pt_regs *regs);
regs               16 arch/powerpc/include/asm/debug.h extern int (*__debugger_bpt)(struct pt_regs *regs);
regs               17 arch/powerpc/include/asm/debug.h extern int (*__debugger_sstep)(struct pt_regs *regs);
regs               18 arch/powerpc/include/asm/debug.h extern int (*__debugger_iabr_match)(struct pt_regs *regs);
regs               19 arch/powerpc/include/asm/debug.h extern int (*__debugger_break_match)(struct pt_regs *regs);
regs               20 arch/powerpc/include/asm/debug.h extern int (*__debugger_fault_handler)(struct pt_regs *regs);
regs               23 arch/powerpc/include/asm/debug.h static inline int __NAME(struct pt_regs *regs) \
regs               26 arch/powerpc/include/asm/debug.h 		return __ ## __NAME(regs); \
regs               39 arch/powerpc/include/asm/debug.h static inline int debugger(struct pt_regs *regs) { return 0; }
regs               40 arch/powerpc/include/asm/debug.h static inline int debugger_ipi(struct pt_regs *regs) { return 0; }
regs               41 arch/powerpc/include/asm/debug.h static inline int debugger_bpt(struct pt_regs *regs) { return 0; }
regs               42 arch/powerpc/include/asm/debug.h static inline int debugger_sstep(struct pt_regs *regs) { return 0; }
regs               43 arch/powerpc/include/asm/debug.h static inline int debugger_iabr_match(struct pt_regs *regs) { return 0; }
regs               44 arch/powerpc/include/asm/debug.h static inline int debugger_break_match(struct pt_regs *regs) { return 0; }
regs               45 arch/powerpc/include/asm/debug.h static inline int debugger_fault_handler(struct pt_regs *regs) { return 0; }
regs               51 arch/powerpc/include/asm/debug.h extern void do_send_trap(struct pt_regs *regs, unsigned long address,
regs               55 arch/powerpc/include/asm/debug.h extern void do_break(struct pt_regs *regs, unsigned long address,
regs               41 arch/powerpc/include/asm/elf.h #define PPC_ELF_CORE_COPY_REGS(elf_regs, regs) \
regs               42 arch/powerpc/include/asm/elf.h 	int i, nregs = min(sizeof(*regs) / sizeof(unsigned long), \
regs               45 arch/powerpc/include/asm/elf.h 		elf_regs[i] = ((unsigned long *) regs)[i]; \
regs               50 arch/powerpc/include/asm/elf.h 					  struct pt_regs *regs)
regs               52 arch/powerpc/include/asm/elf.h 	PPC_ELF_CORE_COPY_REGS(elf_regs, regs);
regs               54 arch/powerpc/include/asm/elf.h #define ELF_CORE_COPY_REGS(gregs, regs) ppc_elf_core_copy_regs(gregs, regs);
regs               70 arch/powerpc/include/asm/emulated_ops.h #define PPC_WARN_EMULATED(type, regs)					\
regs               73 arch/powerpc/include/asm/emulated_ops.h 			1, regs, 0);					\
regs               77 arch/powerpc/include/asm/emulated_ops.h #define PPC_WARN_ALIGNMENT(type, regs)					\
regs               80 arch/powerpc/include/asm/emulated_ops.h 			1, regs, regs->dar);				\
regs               57 arch/powerpc/include/asm/fadump-internal.h 	struct pt_regs	regs;
regs              140 arch/powerpc/include/asm/fadump-internal.h u32 *fadump_regs_to_elf_notes(u32 *buf, struct pt_regs *regs);
regs               26 arch/powerpc/include/asm/fadump.h static inline void crash_fadump(struct pt_regs *regs, const char *str) { }
regs              277 arch/powerpc/include/asm/fsl_lbc.h 	struct fsl_lbc_regs __iomem	*regs;
regs               35 arch/powerpc/include/asm/hmi.h extern long hmi_handle_debugtrig(struct pt_regs *regs);
regs               65 arch/powerpc/include/asm/hw_breakpoint.h 			struct perf_sample_data *data, struct pt_regs *regs);
regs               76 arch/powerpc/include/asm/hw_breakpoint.h extern void thread_change_pc(struct task_struct *tsk, struct pt_regs *regs);
regs               82 arch/powerpc/include/asm/hw_breakpoint.h 					struct pt_regs *regs) { }
regs               59 arch/powerpc/include/asm/hw_irq.h extern void performance_monitor_exception(struct pt_regs *regs);
regs               60 arch/powerpc/include/asm/hw_irq.h extern void WatchdogException(struct pt_regs *regs);
regs               61 arch/powerpc/include/asm/hw_irq.h extern void unknown_exception(struct pt_regs *regs);
regs              268 arch/powerpc/include/asm/hw_irq.h static inline bool arch_irq_disabled_regs(struct pt_regs *regs)
regs              270 arch/powerpc/include/asm/hw_irq.h 	return (regs->softe & IRQS_DISABLED);
regs              347 arch/powerpc/include/asm/hw_irq.h static inline bool arch_irq_disabled_regs(struct pt_regs *regs)
regs              349 arch/powerpc/include/asm/hw_irq.h 	return !(regs->msr & MSR_EE);
regs               60 arch/powerpc/include/asm/irq.h void call_do_irq(struct pt_regs *regs, void *sp);
regs               61 arch/powerpc/include/asm/irq.h extern void do_IRQ(struct pt_regs *regs);
regs               63 arch/powerpc/include/asm/irq.h extern void __do_irq(struct pt_regs *regs);
regs               83 arch/powerpc/include/asm/kexec.h extern void default_machine_crash_shutdown(struct pt_regs *regs);
regs               87 arch/powerpc/include/asm/kexec.h extern void crash_kexec_secondary(struct pt_regs *regs);
regs              122 arch/powerpc/include/asm/kexec.h static inline void crash_kexec_secondary(struct pt_regs *regs) { }
regs              146 arch/powerpc/include/asm/kexec.h static inline void crash_ipi_callback(struct pt_regs *regs) { }
regs               89 arch/powerpc/include/asm/kprobes.h extern int kprobe_fault_handler(struct pt_regs *regs, int trapnr);
regs               90 arch/powerpc/include/asm/kprobes.h extern int kprobe_handler(struct pt_regs *regs);
regs               91 arch/powerpc/include/asm/kprobes.h extern int kprobe_post_handler(struct pt_regs *regs);
regs               93 arch/powerpc/include/asm/kprobes.h static inline int kprobe_handler(struct pt_regs *regs) { return 0; }
regs               94 arch/powerpc/include/asm/kprobes.h static inline int kprobe_post_handler(struct pt_regs *regs) { return 0; }
regs               53 arch/powerpc/include/asm/kup.h bad_kuap_fault(struct pt_regs *regs, unsigned long address, bool is_write)
regs              330 arch/powerpc/include/asm/kvm_book3s.h 	vcpu->arch.regs.gpr[num] = val;
regs              335 arch/powerpc/include/asm/kvm_book3s.h 	return vcpu->arch.regs.gpr[num];
regs              340 arch/powerpc/include/asm/kvm_book3s.h 	vcpu->arch.regs.ccr = val;
regs              345 arch/powerpc/include/asm/kvm_book3s.h 	return vcpu->arch.regs.ccr;
regs              350 arch/powerpc/include/asm/kvm_book3s.h 	vcpu->arch.regs.xer = val;
regs              355 arch/powerpc/include/asm/kvm_book3s.h 	return vcpu->arch.regs.xer;
regs              360 arch/powerpc/include/asm/kvm_book3s.h 	vcpu->arch.regs.ctr = val;
regs              365 arch/powerpc/include/asm/kvm_book3s.h 	return vcpu->arch.regs.ctr;
regs              370 arch/powerpc/include/asm/kvm_book3s.h 	vcpu->arch.regs.link = val;
regs              375 arch/powerpc/include/asm/kvm_book3s.h 	return vcpu->arch.regs.link;
regs              380 arch/powerpc/include/asm/kvm_book3s.h 	vcpu->arch.regs.nip = val;
regs              385 arch/powerpc/include/asm/kvm_book3s.h 	return vcpu->arch.regs.nip;
regs              590 arch/powerpc/include/asm/kvm_book3s_64.h 	vcpu->arch.regs.ccr  = vcpu->arch.cr_tm;
regs              591 arch/powerpc/include/asm/kvm_book3s_64.h 	vcpu->arch.regs.xer = vcpu->arch.xer_tm;
regs              592 arch/powerpc/include/asm/kvm_book3s_64.h 	vcpu->arch.regs.link  = vcpu->arch.lr_tm;
regs              593 arch/powerpc/include/asm/kvm_book3s_64.h 	vcpu->arch.regs.ctr = vcpu->arch.ctr_tm;
regs              598 arch/powerpc/include/asm/kvm_book3s_64.h 	memcpy(vcpu->arch.regs.gpr, vcpu->arch.gpr_tm,
regs              599 arch/powerpc/include/asm/kvm_book3s_64.h 	       sizeof(vcpu->arch.regs.gpr));
regs              607 arch/powerpc/include/asm/kvm_book3s_64.h 	vcpu->arch.cr_tm  = vcpu->arch.regs.ccr;
regs              608 arch/powerpc/include/asm/kvm_book3s_64.h 	vcpu->arch.xer_tm = vcpu->arch.regs.xer;
regs              609 arch/powerpc/include/asm/kvm_book3s_64.h 	vcpu->arch.lr_tm  = vcpu->arch.regs.link;
regs              610 arch/powerpc/include/asm/kvm_book3s_64.h 	vcpu->arch.ctr_tm = vcpu->arch.regs.ctr;
regs              615 arch/powerpc/include/asm/kvm_book3s_64.h 	memcpy(vcpu->arch.gpr_tm, vcpu->arch.regs.gpr,
regs              616 arch/powerpc/include/asm/kvm_book3s_64.h 	       sizeof(vcpu->arch.regs.gpr));
regs               28 arch/powerpc/include/asm/kvm_booke.h 	vcpu->arch.regs.gpr[num] = val;
regs               33 arch/powerpc/include/asm/kvm_booke.h 	return vcpu->arch.regs.gpr[num];
regs               38 arch/powerpc/include/asm/kvm_booke.h 	vcpu->arch.regs.ccr = val;
regs               43 arch/powerpc/include/asm/kvm_booke.h 	return vcpu->arch.regs.ccr;
regs               48 arch/powerpc/include/asm/kvm_booke.h 	vcpu->arch.regs.xer = val;
regs               53 arch/powerpc/include/asm/kvm_booke.h 	return vcpu->arch.regs.xer;
regs               64 arch/powerpc/include/asm/kvm_booke.h 	vcpu->arch.regs.ctr = val;
regs               69 arch/powerpc/include/asm/kvm_booke.h 	return vcpu->arch.regs.ctr;
regs               74 arch/powerpc/include/asm/kvm_booke.h 	vcpu->arch.regs.link = val;
regs               79 arch/powerpc/include/asm/kvm_booke.h 	return vcpu->arch.regs.link;
regs               84 arch/powerpc/include/asm/kvm_booke.h 	vcpu->arch.regs.nip = val;
regs               89 arch/powerpc/include/asm/kvm_booke.h 	return vcpu->arch.regs.nip;
regs              528 arch/powerpc/include/asm/kvm_host.h 	struct pt_regs regs;
regs               15 arch/powerpc/include/asm/livepatch.h static inline void klp_arch_set_pc(struct pt_regs *regs, unsigned long ip)
regs               17 arch/powerpc/include/asm/livepatch.h 	regs->nip = ip;
regs               93 arch/powerpc/include/asm/machdep.h 	int		(*system_reset_exception)(struct pt_regs *regs);
regs               94 arch/powerpc/include/asm/machdep.h 	int 		(*machine_check_exception)(struct pt_regs *regs);
regs               95 arch/powerpc/include/asm/machdep.h 	int		(*handle_hmi_exception)(struct pt_regs *regs);
regs               98 arch/powerpc/include/asm/machdep.h 	int		(*hmi_exception_early)(struct pt_regs *regs);
regs               99 arch/powerpc/include/asm/machdep.h 	long		(*machine_check_early)(struct pt_regs *regs);
regs              102 arch/powerpc/include/asm/machdep.h 	bool		(*mce_check_early_recovery)(struct pt_regs *regs);
regs              212 arch/powerpc/include/asm/mce.h extern void save_mce_event(struct pt_regs *regs, long handled,
regs              220 arch/powerpc/include/asm/mce.h unsigned long addr_to_pfn(struct pt_regs *regs, unsigned long addr);
regs               17 arch/powerpc/include/asm/nmi.h extern void hv_nmi_check_nonrecoverable(struct pt_regs *regs);
regs               49 arch/powerpc/include/asm/nohash/32/kup-8xx.h bad_kuap_fault(struct pt_regs *regs, unsigned long address, bool is_write)
regs               51 arch/powerpc/include/asm/nohash/32/kup-8xx.h 	return WARN(!((regs->kuap ^ MD_APG_KUAP) & 0xf0000000),
regs              359 arch/powerpc/include/asm/opal.h extern int opal_machine_check(struct pt_regs *regs);
regs              360 arch/powerpc/include/asm/opal.h extern bool opal_mce_check_early_recovery(struct pt_regs *regs);
regs              361 arch/powerpc/include/asm/opal.h extern int opal_hmi_exception_early(struct pt_regs *regs);
regs              362 arch/powerpc/include/asm/opal.h extern int opal_hmi_exception_early2(struct pt_regs *regs);
regs              363 arch/powerpc/include/asm/opal.h extern int opal_handle_hmi_exception(struct pt_regs *regs);
regs              132 arch/powerpc/include/asm/oprofile_impl.h extern void op_powerpc_backtrace(struct pt_regs * const regs, unsigned int depth);
regs               25 arch/powerpc/include/asm/perf_event.h #define perf_arch_bpf_user_pt_regs(regs) &regs->user_regs
regs               31 arch/powerpc/include/asm/perf_event.h #define perf_arch_fetch_caller_regs(regs, __ip)			\
regs               33 arch/powerpc/include/asm/perf_event.h 		(regs)->result = 0;				\
regs               34 arch/powerpc/include/asm/perf_event.h 		(regs)->nip = __ip;				\
regs               35 arch/powerpc/include/asm/perf_event.h 		(regs)->gpr[1] = current_stack_pointer();	\
regs               36 arch/powerpc/include/asm/perf_event.h 		asm volatile("mfmsr %0" : "=r" ((regs)->msr));	\
regs               38 arch/powerpc/include/asm/perf_event_server.h 				u32 flags, struct pt_regs *regs);
regs               83 arch/powerpc/include/asm/perf_event_server.h extern unsigned long perf_misc_flags(struct pt_regs *regs);
regs               84 arch/powerpc/include/asm/perf_event_server.h extern unsigned long perf_instruction_pointer(struct pt_regs *regs);
regs               92 arch/powerpc/include/asm/perf_event_server.h #define perf_misc_flags(regs)	perf_misc_flags(regs)
regs               35 arch/powerpc/include/asm/probes.h static inline void enable_single_step(struct pt_regs *regs)
regs               37 arch/powerpc/include/asm/probes.h 	regs->msr |= MSR_SINGLESTEP;
regs               44 arch/powerpc/include/asm/probes.h 	regs->msr &= ~MSR_CE;
regs               83 arch/powerpc/include/asm/processor.h void start_thread(struct pt_regs *regs, unsigned long fdptr, unsigned long sp);
regs              150 arch/powerpc/include/asm/processor.h 	struct pt_regs	*regs;		/* Pointer to saved register state */
regs              294 arch/powerpc/include/asm/processor.h 	.regs = (struct pt_regs *)INIT_SP - 1, /* XXX bogus, I think */ \
regs              301 arch/powerpc/include/asm/processor.h #define task_pt_regs(tsk)	((struct pt_regs *)(tsk)->thread.regs)
regs              305 arch/powerpc/include/asm/processor.h #define KSTK_EIP(tsk)  ((tsk)->thread.regs? (tsk)->thread.regs->nip: 0)
regs              306 arch/powerpc/include/asm/processor.h #define KSTK_ESP(tsk)  ((tsk)->thread.regs? (tsk)->thread.regs->gpr[1]: 0)
regs              114 arch/powerpc/include/asm/ptrace.h static inline unsigned long instruction_pointer(struct pt_regs *regs)
regs              116 arch/powerpc/include/asm/ptrace.h 	return regs->nip;
regs              119 arch/powerpc/include/asm/ptrace.h static inline void instruction_pointer_set(struct pt_regs *regs,
regs              122 arch/powerpc/include/asm/ptrace.h 	regs->nip = val;
regs              125 arch/powerpc/include/asm/ptrace.h static inline unsigned long user_stack_pointer(struct pt_regs *regs)
regs              127 arch/powerpc/include/asm/ptrace.h 	return regs->gpr[1];
regs              130 arch/powerpc/include/asm/ptrace.h static inline unsigned long frame_pointer(struct pt_regs *regs)
regs              136 arch/powerpc/include/asm/ptrace.h extern unsigned long profile_pc(struct pt_regs *regs);
regs              138 arch/powerpc/include/asm/ptrace.h #define profile_pc(regs) instruction_pointer(regs)
regs              141 arch/powerpc/include/asm/ptrace.h #define kernel_stack_pointer(regs) ((regs)->gpr[1])
regs              142 arch/powerpc/include/asm/ptrace.h static inline int is_syscall_success(struct pt_regs *regs)
regs              144 arch/powerpc/include/asm/ptrace.h 	return !(regs->ccr & 0x10000000);
regs              147 arch/powerpc/include/asm/ptrace.h static inline long regs_return_value(struct pt_regs *regs)
regs              149 arch/powerpc/include/asm/ptrace.h 	if (is_syscall_success(regs))
regs              150 arch/powerpc/include/asm/ptrace.h 		return regs->gpr[3];
regs              152 arch/powerpc/include/asm/ptrace.h 		return -regs->gpr[3];
regs              155 arch/powerpc/include/asm/ptrace.h static inline void regs_set_return_value(struct pt_regs *regs, unsigned long rc)
regs              157 arch/powerpc/include/asm/ptrace.h 	regs->gpr[3] = rc;
regs              161 arch/powerpc/include/asm/ptrace.h #define user_mode(regs) ((((regs)->msr) >> MSR_PR_LG) & 0x1)
regs              163 arch/powerpc/include/asm/ptrace.h #define user_mode(regs) (((regs)->msr & MSR_PR) != 0)
regs              186 arch/powerpc/include/asm/ptrace.h #define FULL_REGS(regs)		(((regs)->trap & 1) == 0)
regs              188 arch/powerpc/include/asm/ptrace.h #define IS_CRITICAL_EXC(regs)	(((regs)->trap & 2) != 0)
regs              189 arch/powerpc/include/asm/ptrace.h #define IS_MCHECK_EXC(regs)	(((regs)->trap & 4) != 0)
regs              190 arch/powerpc/include/asm/ptrace.h #define IS_DEBUG_EXC(regs)	(((regs)->trap & 8) != 0)
regs              192 arch/powerpc/include/asm/ptrace.h #define TRAP(regs)		((regs)->trap & ~0xF)
regs              195 arch/powerpc/include/asm/ptrace.h #define CHECK_FULL_REGS(regs)	BUG_ON(regs->trap & 1)
regs              198 arch/powerpc/include/asm/ptrace.h #define CHECK_FULL_REGS(regs)						      \
regs              200 arch/powerpc/include/asm/ptrace.h 	if ((regs)->trap & 1)						      \
regs              232 arch/powerpc/include/asm/ptrace.h static inline unsigned long regs_get_register(struct pt_regs *regs,
regs              237 arch/powerpc/include/asm/ptrace.h 	return *(unsigned long *)((unsigned long)regs + offset);
regs              249 arch/powerpc/include/asm/ptrace.h static inline bool regs_within_kernel_stack(struct pt_regs *regs,
regs              253 arch/powerpc/include/asm/ptrace.h 		(kernel_stack_pointer(regs) & ~(THREAD_SIZE - 1)));
regs              265 arch/powerpc/include/asm/ptrace.h static inline unsigned long regs_get_kernel_stack_nth(struct pt_regs *regs,
regs              268 arch/powerpc/include/asm/ptrace.h 	unsigned long *addr = (unsigned long *)kernel_stack_pointer(regs);
regs              270 arch/powerpc/include/asm/ptrace.h 	if (regs_within_kernel_stack(regs, (unsigned long)addr))
regs             1450 arch/powerpc/include/asm/reg.h extern void ppc_save_regs(struct pt_regs *regs);
regs               15 arch/powerpc/include/asm/rio.h static inline int fsl_rio_mcheck_exception(struct pt_regs *regs) {return 0; }
regs              153 arch/powerpc/include/asm/smp.h extern int smp_handle_nmi_ipi(struct pt_regs *regs);
regs              155 arch/powerpc/include/asm/smp.h static inline int smp_handle_nmi_ipi(struct pt_regs *regs) { return 0; }
regs              134 arch/powerpc/include/asm/sstep.h extern int analyse_instr(struct instruction_op *op, const struct pt_regs *regs,
regs              152 arch/powerpc/include/asm/sstep.h extern int emulate_step(struct pt_regs *regs, unsigned int instr);
regs              161 arch/powerpc/include/asm/sstep.h extern int emulate_loadstore(struct pt_regs *regs, struct instruction_op *op);
regs              168 arch/powerpc/include/asm/sstep.h extern int emulate_dcbz(unsigned long ea, struct pt_regs *regs);
regs               11 arch/powerpc/include/asm/stacktrace.h void show_user_instructions(struct pt_regs *regs);
regs               21 arch/powerpc/include/asm/syscall.h static inline int syscall_get_nr(struct task_struct *task, struct pt_regs *regs)
regs               29 arch/powerpc/include/asm/syscall.h 	return TRAP(regs) == 0xc00 ? regs->gpr[0] : -1;
regs               33 arch/powerpc/include/asm/syscall.h 				    struct pt_regs *regs)
regs               35 arch/powerpc/include/asm/syscall.h 	regs->gpr[3] = regs->orig_gpr3;
regs               39 arch/powerpc/include/asm/syscall.h 				     struct pt_regs *regs)
regs               45 arch/powerpc/include/asm/syscall.h 	return (regs->ccr & 0x10000000UL) ? -regs->gpr[3] : 0;
regs               49 arch/powerpc/include/asm/syscall.h 					    struct pt_regs *regs)
regs               51 arch/powerpc/include/asm/syscall.h 	return regs->gpr[3];
regs               55 arch/powerpc/include/asm/syscall.h 					    struct pt_regs *regs,
regs               65 arch/powerpc/include/asm/syscall.h 		regs->ccr |= 0x10000000L;
regs               66 arch/powerpc/include/asm/syscall.h 		regs->gpr[3] = error;
regs               68 arch/powerpc/include/asm/syscall.h 		regs->ccr &= ~0x10000000L;
regs               69 arch/powerpc/include/asm/syscall.h 		regs->gpr[3] = val;
regs               74 arch/powerpc/include/asm/syscall.h 					 struct pt_regs *regs,
regs               86 arch/powerpc/include/asm/syscall.h 			val = regs->orig_gpr3;
regs               88 arch/powerpc/include/asm/syscall.h 			val = regs->gpr[3 + n];
regs               95 arch/powerpc/include/asm/syscall.h 					 struct pt_regs *regs,
regs               98 arch/powerpc/include/asm/syscall.h 	memcpy(&regs->gpr[3], args, 6 * sizeof(args[0]));
regs              101 arch/powerpc/include/asm/syscall.h 	regs->orig_gpr3 = args[0];
regs               27 arch/powerpc/include/asm/time.h extern void hdec_interrupt(struct pt_regs *regs);
regs               14 arch/powerpc/include/asm/trace.h 	TP_PROTO(struct pt_regs *regs),
regs               16 arch/powerpc/include/asm/trace.h 	TP_ARGS(regs),
regs               19 arch/powerpc/include/asm/trace.h 		__field(struct pt_regs *, regs)
regs               23 arch/powerpc/include/asm/trace.h 		__entry->regs = regs;
regs               26 arch/powerpc/include/asm/trace.h 	TP_printk("pt_regs=%p", __entry->regs)
regs               31 arch/powerpc/include/asm/trace.h 	TP_PROTO(struct pt_regs *regs),
regs               33 arch/powerpc/include/asm/trace.h 	TP_ARGS(regs)
regs               38 arch/powerpc/include/asm/trace.h 	TP_PROTO(struct pt_regs *regs),
regs               40 arch/powerpc/include/asm/trace.h 	TP_ARGS(regs)
regs               45 arch/powerpc/include/asm/trace.h 	TP_PROTO(struct pt_regs *regs),
regs               47 arch/powerpc/include/asm/trace.h 	TP_ARGS(regs)
regs               52 arch/powerpc/include/asm/trace.h 	TP_PROTO(struct pt_regs *regs),
regs               54 arch/powerpc/include/asm/trace.h 	TP_ARGS(regs)
regs               60 arch/powerpc/include/asm/trace.h 	TP_PROTO(struct pt_regs *regs),
regs               62 arch/powerpc/include/asm/trace.h 	TP_ARGS(regs)
regs               67 arch/powerpc/include/asm/trace.h 	TP_PROTO(struct pt_regs *regs),
regs               69 arch/powerpc/include/asm/trace.h 	TP_ARGS(regs)
regs               92 arch/powerpc/include/asm/tsi108.h 	u32 regs;		/* hw registers base address */
regs               34 arch/powerpc/include/asm/user.h 	struct user_pt_regs regs;		/* entire machine state */
regs               26 arch/powerpc/include/uapi/asm/sigcontext.h 	struct user_pt_regs __user *regs;
regs               28 arch/powerpc/include/uapi/asm/sigcontext.h 	struct pt_regs	*regs;
regs              106 arch/powerpc/kernel/align.c static int emulate_spe(struct pt_regs *regs, unsigned int reg,
regs              123 arch/powerpc/kernel/align.c 	addr = (unsigned char __user *)regs->dar;
regs              129 arch/powerpc/kernel/align.c 	if (unlikely(user_mode(regs) &&
regs              134 arch/powerpc/kernel/align.c 	if (unlikely(!user_mode(regs)))
regs              149 arch/powerpc/kernel/align.c 			data.w[1] = regs->gpr[reg];
regs              153 arch/powerpc/kernel/align.c 			data.h[3] = regs->gpr[reg] >> 16;
regs              157 arch/powerpc/kernel/align.c 			data.h[3] = regs->gpr[reg] & 0xffff;
regs              163 arch/powerpc/kernel/align.c 			data.w[1] = regs->gpr[reg];
regs              277 arch/powerpc/kernel/align.c 		regs->gpr[reg] = data.w[1];
regs              294 arch/powerpc/kernel/align.c int fix_alignment(struct pt_regs *regs)
regs              304 arch/powerpc/kernel/align.c 	CHECK_FULL_REGS(regs);
regs              306 arch/powerpc/kernel/align.c 	if (unlikely(__get_user(instr, (unsigned int __user *)regs->nip)))
regs              308 arch/powerpc/kernel/align.c 	if ((regs->msr & MSR_LE) != (MSR_KERNEL & MSR_LE)) {
regs              318 arch/powerpc/kernel/align.c 		PPC_WARN_ALIGNMENT(spe, regs);
regs              319 arch/powerpc/kernel/align.c 		return emulate_spe(regs, reg, instr);
regs              337 arch/powerpc/kernel/align.c 	r = analyse_instr(&op, regs, instr);
regs              345 arch/powerpc/kernel/align.c 		PPC_WARN_ALIGNMENT(dcbz, regs);
regs              346 arch/powerpc/kernel/align.c 		r = emulate_dcbz(op.ea, regs);
regs              350 arch/powerpc/kernel/align.c 		PPC_WARN_ALIGNMENT(unaligned, regs);
regs              351 arch/powerpc/kernel/align.c 		r = emulate_loadstore(regs, &op);
regs              106 arch/powerpc/kernel/asm-offsets.c 	OFFSET(PT_REGS, thread_struct, regs);
regs              437 arch/powerpc/kernel/asm-offsets.c 	OFFSET(VCPU_GPRS, kvm_vcpu, arch.regs.gpr);
regs              443 arch/powerpc/kernel/asm-offsets.c 	OFFSET(VCPU_XER, kvm_vcpu, arch.regs.xer);
regs              444 arch/powerpc/kernel/asm-offsets.c 	OFFSET(VCPU_CTR, kvm_vcpu, arch.regs.ctr);
regs              445 arch/powerpc/kernel/asm-offsets.c 	OFFSET(VCPU_LR, kvm_vcpu, arch.regs.link);
regs              449 arch/powerpc/kernel/asm-offsets.c 	OFFSET(VCPU_CR, kvm_vcpu, arch.regs.ccr);
regs              450 arch/powerpc/kernel/asm-offsets.c 	OFFSET(VCPU_PC, kvm_vcpu, arch.regs.nip);
regs              708 arch/powerpc/kernel/asm-offsets.c 	OFFSET(VCPU_CR, kvm_vcpu, arch.regs.ccr);
regs              709 arch/powerpc/kernel/asm-offsets.c 	OFFSET(VCPU_XER, kvm_vcpu, arch.regs.xer);
regs              710 arch/powerpc/kernel/asm-offsets.c 	OFFSET(VCPU_LR, kvm_vcpu, arch.regs.link);
regs              711 arch/powerpc/kernel/asm-offsets.c 	OFFSET(VCPU_CTR, kvm_vcpu, arch.regs.ctr);
regs              712 arch/powerpc/kernel/asm-offsets.c 	OFFSET(VCPU_PC, kvm_vcpu, arch.regs.nip);
regs               73 arch/powerpc/kernel/cputable.c extern long __machine_check_early_realmode_p7(struct pt_regs *regs);
regs               74 arch/powerpc/kernel/cputable.c extern long __machine_check_early_realmode_p8(struct pt_regs *regs);
regs               75 arch/powerpc/kernel/cputable.c extern long __machine_check_early_realmode_p9(struct pt_regs *regs);
regs               60 arch/powerpc/kernel/crash.c static int handle_fault(struct pt_regs *regs)
regs               70 arch/powerpc/kernel/crash.c void crash_ipi_callback(struct pt_regs *regs)
regs               78 arch/powerpc/kernel/crash.c 		crash_save_cpu(regs, cpu);
regs              109 arch/powerpc/kernel/crash.c 	int (*old_handler)(struct pt_regs *regs);
regs              182 arch/powerpc/kernel/crash.c void crash_kexec_secondary(struct pt_regs *regs)
regs              200 arch/powerpc/kernel/crash.c 	crash_ipi_callback(regs);
regs              220 arch/powerpc/kernel/crash.c void crash_kexec_secondary(struct pt_regs *regs)
regs              309 arch/powerpc/kernel/crash.c void default_machine_crash_shutdown(struct pt_regs *regs)
regs              312 arch/powerpc/kernel/crash.c 	int (*old_handler)(struct pt_regs *regs);
regs              336 arch/powerpc/kernel/crash.c 	if (TRAP(regs) == 0x100)
regs              341 arch/powerpc/kernel/crash.c 	crash_save_cpu(regs, crashing_cpu);
regs               76 arch/powerpc/kernel/dbell.c void doorbell_exception(struct pt_regs *regs)
regs               78 arch/powerpc/kernel/dbell.c 	struct pt_regs *old_regs = set_irq_regs(regs);
regs               81 arch/powerpc/kernel/dbell.c 	trace_doorbell_entry(regs);
regs               92 arch/powerpc/kernel/dbell.c 	trace_doorbell_exit(regs);
regs               97 arch/powerpc/kernel/dbell.c void doorbell_exception(struct pt_regs *regs)
regs               67 arch/powerpc/kernel/dt_cpu_ftrs.c extern long __machine_check_early_realmode_p8(struct pt_regs *regs);
regs               68 arch/powerpc/kernel/dt_cpu_ftrs.c extern long __machine_check_early_realmode_p9(struct pt_regs *regs);
regs              595 arch/powerpc/kernel/fadump.c void crash_fadump(struct pt_regs *regs, const char *str)
regs              630 arch/powerpc/kernel/fadump.c 	if (regs)
regs              631 arch/powerpc/kernel/fadump.c 		fdh->regs = *regs;
regs              633 arch/powerpc/kernel/fadump.c 		ppc_save_regs(&fdh->regs);
regs              640 arch/powerpc/kernel/fadump.c u32 *fadump_regs_to_elf_notes(u32 *buf, struct pt_regs *regs)
regs              649 arch/powerpc/kernel/fadump.c 	elf_core_copy_kernel_regs(&prstatus.pr_reg, regs);
regs              185 arch/powerpc/kernel/hw_breakpoint.c void thread_change_pc(struct task_struct *tsk, struct pt_regs *regs)
regs              193 arch/powerpc/kernel/hw_breakpoint.c 	regs->msr &= ~MSR_SE;
regs              198 arch/powerpc/kernel/hw_breakpoint.c static bool is_larx_stcx_instr(struct pt_regs *regs, unsigned int instr)
regs              203 arch/powerpc/kernel/hw_breakpoint.c 	ret = analyse_instr(&op, regs, instr);
regs              211 arch/powerpc/kernel/hw_breakpoint.c static bool stepping_handler(struct pt_regs *regs, struct perf_event *bp,
regs              216 arch/powerpc/kernel/hw_breakpoint.c 	if (__get_user_inatomic(instr, (unsigned int *)regs->nip))
regs              219 arch/powerpc/kernel/hw_breakpoint.c 	if (is_larx_stcx_instr(regs, instr)) {
regs              226 arch/powerpc/kernel/hw_breakpoint.c 	if (user_mode(regs)) {
regs              228 arch/powerpc/kernel/hw_breakpoint.c 		regs->msr |= MSR_SE;
regs              232 arch/powerpc/kernel/hw_breakpoint.c 	if (!emulate_step(regs, instr))
regs              254 arch/powerpc/kernel/hw_breakpoint.c 	struct pt_regs *regs = args->regs;
regs              256 arch/powerpc/kernel/hw_breakpoint.c 	unsigned long dar = regs->dar;
regs              283 arch/powerpc/kernel/hw_breakpoint.c 		perf_bp_event(bp, regs);
regs              299 arch/powerpc/kernel/hw_breakpoint.c 	if (!IS_ENABLED(CONFIG_PPC_8xx) && !stepping_handler(regs, bp, info->address))
regs              307 arch/powerpc/kernel/hw_breakpoint.c 		perf_bp_event(bp, regs);
regs              321 arch/powerpc/kernel/hw_breakpoint.c 	struct pt_regs *regs = args->regs;
regs              340 arch/powerpc/kernel/hw_breakpoint.c 		perf_bp_event(bp, regs);
regs              437 arch/powerpc/kernel/irq.c 	struct pt_regs regs;
regs              439 arch/powerpc/kernel/irq.c 	ppc_save_regs(&regs);
regs              440 arch/powerpc/kernel/irq.c 	regs.trap = 0x100;
regs              442 arch/powerpc/kernel/irq.c 	system_reset_exception(&regs);
regs              614 arch/powerpc/kernel/irq.c void __do_irq(struct pt_regs *regs)
regs              620 arch/powerpc/kernel/irq.c 	trace_irq_entry(regs);
regs              638 arch/powerpc/kernel/irq.c 	trace_irq_exit(regs);
regs              643 arch/powerpc/kernel/irq.c void do_IRQ(struct pt_regs *regs)
regs              645 arch/powerpc/kernel/irq.c 	struct pt_regs *old_regs = set_irq_regs(regs);
regs              657 arch/powerpc/kernel/irq.c 		__do_irq(regs);
regs              662 arch/powerpc/kernel/irq.c 	call_do_irq(regs, irqsp);
regs              115 arch/powerpc/kernel/kgdb.c int kgdb_skipexception(int exception, struct pt_regs *regs)
regs              117 arch/powerpc/kernel/kgdb.c 	return kgdb_isremovedbreak(regs->nip);
regs              120 arch/powerpc/kernel/kgdb.c static int kgdb_debugger_ipi(struct pt_regs *regs)
regs              122 arch/powerpc/kernel/kgdb.c 	kgdb_nmicallback(raw_smp_processor_id(), regs);
regs              134 arch/powerpc/kernel/kgdb.c static int kgdb_debugger(struct pt_regs *regs)
regs              136 arch/powerpc/kernel/kgdb.c 	return !kgdb_handle_exception(1, computeSignal(TRAP(regs)),
regs              137 arch/powerpc/kernel/kgdb.c 				      DIE_OOPS, regs);
regs              140 arch/powerpc/kernel/kgdb.c static int kgdb_handle_breakpoint(struct pt_regs *regs)
regs              142 arch/powerpc/kernel/kgdb.c 	if (user_mode(regs))
regs              145 arch/powerpc/kernel/kgdb.c 	if (kgdb_handle_exception(1, SIGTRAP, 0, regs) != 0)
regs              148 arch/powerpc/kernel/kgdb.c 	if (*(u32 *)regs->nip == BREAK_INSTR)
regs              149 arch/powerpc/kernel/kgdb.c 		regs->nip += BREAK_INSTR_SIZE;
regs              154 arch/powerpc/kernel/kgdb.c static int kgdb_singlestep(struct pt_regs *regs)
regs              156 arch/powerpc/kernel/kgdb.c 	if (user_mode(regs))
regs              159 arch/powerpc/kernel/kgdb.c 	kgdb_handle_exception(0, SIGTRAP, 0, regs);
regs              164 arch/powerpc/kernel/kgdb.c static int kgdb_iabr_match(struct pt_regs *regs)
regs              166 arch/powerpc/kernel/kgdb.c 	if (user_mode(regs))
regs              169 arch/powerpc/kernel/kgdb.c 	if (kgdb_handle_exception(0, computeSignal(TRAP(regs)), 0, regs) != 0)
regs              174 arch/powerpc/kernel/kgdb.c static int kgdb_break_match(struct pt_regs *regs)
regs              176 arch/powerpc/kernel/kgdb.c 	if (user_mode(regs))
regs              179 arch/powerpc/kernel/kgdb.c 	if (kgdb_handle_exception(0, computeSignal(TRAP(regs)), 0, regs) != 0)
regs              195 arch/powerpc/kernel/kgdb.c 	struct pt_regs *regs = (struct pt_regs *)(p->thread.ksp +
regs              204 arch/powerpc/kernel/kgdb.c 		PACK64(ptr, regs->gpr[reg]);
regs              211 arch/powerpc/kernel/kgdb.c 		PACK64(ptr, regs->gpr[reg]);
regs              225 arch/powerpc/kernel/kgdb.c 	PACK64(ptr, regs->nip);
regs              226 arch/powerpc/kernel/kgdb.c 	PACK64(ptr, regs->msr);
regs              227 arch/powerpc/kernel/kgdb.c 	PACK32(ptr, regs->ccr);
regs              228 arch/powerpc/kernel/kgdb.c 	PACK64(ptr, regs->link);
regs              229 arch/powerpc/kernel/kgdb.c 	PACK64(ptr, regs->ctr);
regs              230 arch/powerpc/kernel/kgdb.c 	PACK32(ptr, regs->xer);
regs              321 arch/powerpc/kernel/kgdb.c char *dbg_get_reg(int regno, void *mem, struct pt_regs *regs)
regs              329 arch/powerpc/kernel/kgdb.c 		memcpy(mem, (void *)regs + dbg_reg_def[regno].offset,
regs              347 arch/powerpc/kernel/kgdb.c int dbg_set_reg(int regno, void *mem, struct pt_regs *regs)
regs              355 arch/powerpc/kernel/kgdb.c 		memcpy((void *)regs + dbg_reg_def[regno].offset, mem,
regs              372 arch/powerpc/kernel/kgdb.c void kgdb_arch_set_pc(struct pt_regs *regs, unsigned long pc)
regs              374 arch/powerpc/kernel/kgdb.c 	regs->nip = pc;
regs              454 arch/powerpc/kernel/kgdb.c static int kgdb_not_implemented(struct pt_regs *regs)
regs               17 arch/powerpc/kernel/kprobes-ftrace.c 			   struct ftrace_ops *ops, struct pt_regs *regs)
regs               34 arch/powerpc/kernel/kprobes-ftrace.c 		regs->nip -= MCOUNT_INSN_SIZE;
regs               38 arch/powerpc/kernel/kprobes-ftrace.c 		if (!p->pre_handler || !p->pre_handler(p, regs)) {
regs               43 arch/powerpc/kernel/kprobes-ftrace.c 			regs->nip += MCOUNT_INSN_SIZE;
regs               46 arch/powerpc/kernel/kprobes-ftrace.c 				p->post_handler(p, regs, 0);
regs              160 arch/powerpc/kernel/kprobes.c static nokprobe_inline void prepare_singlestep(struct kprobe *p, struct pt_regs *regs)
regs              162 arch/powerpc/kernel/kprobes.c 	enable_single_step(regs);
regs              170 arch/powerpc/kernel/kprobes.c 	regs->nip = (unsigned long)p->ainsn.insn;
regs              187 arch/powerpc/kernel/kprobes.c static nokprobe_inline void set_current_kprobe(struct kprobe *p, struct pt_regs *regs,
regs              191 arch/powerpc/kernel/kprobes.c 	kcb->kprobe_saved_msr = regs->msr;
regs              207 arch/powerpc/kernel/kprobes.c void arch_prepare_kretprobe(struct kretprobe_instance *ri, struct pt_regs *regs)
regs              209 arch/powerpc/kernel/kprobes.c 	ri->ret_addr = (kprobe_opcode_t *)regs->link;
regs              212 arch/powerpc/kernel/kprobes.c 	regs->link = (unsigned long)kretprobe_trampoline;
regs              216 arch/powerpc/kernel/kprobes.c static int try_to_emulate(struct kprobe *p, struct pt_regs *regs)
regs              222 arch/powerpc/kernel/kprobes.c 	ret = emulate_step(regs, insn);
regs              257 arch/powerpc/kernel/kprobes.c int kprobe_handler(struct pt_regs *regs)
regs              261 arch/powerpc/kernel/kprobes.c 	unsigned int *addr = (unsigned int *)regs->nip;
regs              264 arch/powerpc/kernel/kprobes.c 	if (user_mode(regs))
regs              267 arch/powerpc/kernel/kprobes.c 	if (!(regs->msr & MSR_IR) || !(regs->msr & MSR_DR))
regs              285 arch/powerpc/kernel/kprobes.c 				regs->msr &= ~MSR_SINGLESTEP;
regs              286 arch/powerpc/kernel/kprobes.c 				regs->msr |= kcb->kprobe_saved_msr;
regs              296 arch/powerpc/kernel/kprobes.c 			set_current_kprobe(p, regs, kcb);
regs              300 arch/powerpc/kernel/kprobes.c 				ret = try_to_emulate(p, regs);
regs              308 arch/powerpc/kernel/kprobes.c 			prepare_singlestep(p, regs);
regs              350 arch/powerpc/kernel/kprobes.c 	set_current_kprobe(p, regs, kcb);
regs              351 arch/powerpc/kernel/kprobes.c 	if (p->pre_handler && p->pre_handler(p, regs)) {
regs              359 arch/powerpc/kernel/kprobes.c 		ret = try_to_emulate(p, regs);
regs              363 arch/powerpc/kernel/kprobes.c 				p->post_handler(p, regs, 0);
regs              371 arch/powerpc/kernel/kprobes.c 	prepare_singlestep(p, regs);
regs              397 arch/powerpc/kernel/kprobes.c static int trampoline_probe_handler(struct kprobe *p, struct pt_regs *regs)
regs              427 arch/powerpc/kernel/kprobes.c 			ri->rp->handler(ri, regs);
regs              458 arch/powerpc/kernel/kprobes.c 	regs->nip = orig_ret_address - 4;
regs              459 arch/powerpc/kernel/kprobes.c 	regs->link = orig_ret_address;
regs              480 arch/powerpc/kernel/kprobes.c int kprobe_post_handler(struct pt_regs *regs)
regs              485 arch/powerpc/kernel/kprobes.c 	if (!cur || user_mode(regs))
regs              489 arch/powerpc/kernel/kprobes.c 	if (((unsigned long)cur->ainsn.insn + 4) != regs->nip)
regs              494 arch/powerpc/kernel/kprobes.c 		cur->post_handler(cur, regs, 0);
regs              498 arch/powerpc/kernel/kprobes.c 	regs->nip = (unsigned long)cur->addr + 4;
regs              499 arch/powerpc/kernel/kprobes.c 	regs->msr |= kcb->kprobe_saved_msr;
regs              515 arch/powerpc/kernel/kprobes.c 	if (regs->msr & MSR_SINGLESTEP)
regs              522 arch/powerpc/kernel/kprobes.c int kprobe_fault_handler(struct pt_regs *regs, int trapnr)
regs              538 arch/powerpc/kernel/kprobes.c 		regs->nip = (unsigned long)cur->addr;
regs              539 arch/powerpc/kernel/kprobes.c 		regs->msr &= ~MSR_SINGLESTEP; /* Turn off 'trace' bits */
regs              540 arch/powerpc/kernel/kprobes.c 		regs->msr |= kcb->kprobe_saved_msr;
regs              563 arch/powerpc/kernel/kprobes.c 		if (cur->fault_handler && cur->fault_handler(cur, regs, trapnr))
regs              570 arch/powerpc/kernel/kprobes.c 		if ((entry = search_exception_tables(regs->nip)) != NULL) {
regs              571 arch/powerpc/kernel/kprobes.c 			regs->nip = extable_fixup(entry);
regs               46 arch/powerpc/kernel/machine_kexec.c void machine_crash_shutdown(struct pt_regs *regs)
regs               48 arch/powerpc/kernel/machine_kexec.c 	default_machine_crash_shutdown(regs);
regs               86 arch/powerpc/kernel/mce.c void save_mce_event(struct pt_regs *regs, long handled,
regs              104 arch/powerpc/kernel/mce.c 	mce->srr1 = regs->msr;
regs              105 arch/powerpc/kernel/mce.c 	mce->gpr3 = regs->gpr[3];
regs              110 arch/powerpc/kernel/mce.c 	if (handled && (regs->msr & MSR_RI))
regs              560 arch/powerpc/kernel/mce.c long machine_check_early(struct pt_regs *regs)
regs              564 arch/powerpc/kernel/mce.c 	hv_nmi_check_nonrecoverable(regs);
regs              570 arch/powerpc/kernel/mce.c 		handled = ppc_md.machine_check_early(regs);
regs              640 arch/powerpc/kernel/mce.c long hmi_handle_debugtrig(struct pt_regs *regs)
regs              661 arch/powerpc/kernel/mce.c 		if (regs && user_mode(regs))
regs              682 arch/powerpc/kernel/mce.c long hmi_exception_realmode(struct pt_regs *regs)
regs              688 arch/powerpc/kernel/mce.c 	ret = hmi_handle_debugtrig(regs);
regs              695 arch/powerpc/kernel/mce.c 		ppc_md.hmi_exception_early(regs);
regs               28 arch/powerpc/kernel/mce_power.c unsigned long addr_to_pfn(struct pt_regs *regs, unsigned long addr)
regs               35 arch/powerpc/kernel/mce_power.c 	if (user_mode(regs))
regs              359 arch/powerpc/kernel/mce_power.c static int mce_find_instr_ea_and_phys(struct pt_regs *regs, uint64_t *addr,
regs              371 arch/powerpc/kernel/mce_power.c 	struct pt_regs tmp = *regs;
regs              373 arch/powerpc/kernel/mce_power.c 	pfn = addr_to_pfn(regs, regs->nip);
regs              375 arch/powerpc/kernel/mce_power.c 		instr_addr = (pfn << PAGE_SHIFT) + (regs->nip & ~PAGE_MASK);
regs              378 arch/powerpc/kernel/mce_power.c 			pfn = addr_to_pfn(regs, op.ea);
regs              394 arch/powerpc/kernel/mce_power.c static int mce_handle_ierror(struct pt_regs *regs,
regs              399 arch/powerpc/kernel/mce_power.c 	uint64_t srr1 = regs->msr;
regs              454 arch/powerpc/kernel/mce_power.c 			*addr = regs->nip;
regs              460 arch/powerpc/kernel/mce_power.c 					pfn = addr_to_pfn(regs, regs->nip);
regs              480 arch/powerpc/kernel/mce_power.c static int mce_handle_derror(struct pt_regs *regs,
regs              485 arch/powerpc/kernel/mce_power.c 	uint64_t dsisr = regs->dsisr;
regs              552 arch/powerpc/kernel/mce_power.c 			*addr = regs->dar;
regs              560 arch/powerpc/kernel/mce_power.c 				mce_find_instr_ea_and_phys(regs, addr,
regs              578 arch/powerpc/kernel/mce_power.c static long mce_handle_ue_error(struct pt_regs *regs,
regs              584 arch/powerpc/kernel/mce_power.c 	entry = search_kernel_exception_table(regs->nip);
regs              587 arch/powerpc/kernel/mce_power.c 		regs->nip = extable_fixup(entry);
regs              599 arch/powerpc/kernel/mce_power.c 		if (ppc_md.mce_check_early_recovery(regs))
regs              605 arch/powerpc/kernel/mce_power.c static long mce_handle_error(struct pt_regs *regs,
regs              611 arch/powerpc/kernel/mce_power.c 	uint64_t srr1 = regs->msr;
regs              615 arch/powerpc/kernel/mce_power.c 		handled = mce_handle_derror(regs, dtable, &mce_err, &addr,
regs              618 arch/powerpc/kernel/mce_power.c 		handled = mce_handle_ierror(regs, itable, &mce_err, &addr,
regs              622 arch/powerpc/kernel/mce_power.c 		handled = mce_handle_ue_error(regs, &mce_err);
regs              624 arch/powerpc/kernel/mce_power.c 	save_mce_event(regs, handled, &mce_err, regs->nip, addr, phys_addr);
regs              629 arch/powerpc/kernel/mce_power.c long __machine_check_early_realmode_p7(struct pt_regs *regs)
regs              632 arch/powerpc/kernel/mce_power.c 	regs->dsisr &= 0x0000ffff;
regs              634 arch/powerpc/kernel/mce_power.c 	return mce_handle_error(regs, mce_p7_derror_table, mce_p7_ierror_table);
regs              637 arch/powerpc/kernel/mce_power.c long __machine_check_early_realmode_p8(struct pt_regs *regs)
regs              639 arch/powerpc/kernel/mce_power.c 	return mce_handle_error(regs, mce_p8_derror_table, mce_p8_ierror_table);
regs              642 arch/powerpc/kernel/mce_power.c long __machine_check_early_realmode_p9(struct pt_regs *regs)
regs              654 arch/powerpc/kernel/mce_power.c 	if (SRR1_MC_LOADSTORE(regs->msr) && regs->dsisr == 0x02000000)
regs              657 arch/powerpc/kernel/mce_power.c 	return mce_handle_error(regs, mce_p9_derror_table, mce_p9_ierror_table);
regs               65 arch/powerpc/kernel/optprobes.c 	struct pt_regs regs;
regs               86 arch/powerpc/kernel/optprobes.c 	memset(&regs, 0, sizeof(struct pt_regs));
regs               87 arch/powerpc/kernel/optprobes.c 	regs.nip = (unsigned long)p->addr;
regs               88 arch/powerpc/kernel/optprobes.c 	regs.trap = 0x0;
regs               89 arch/powerpc/kernel/optprobes.c 	regs.msr = MSR_KERNEL;
regs              103 arch/powerpc/kernel/optprobes.c 			analyse_instr(&op, &regs, *p->ainsn.insn) == 1) {
regs              104 arch/powerpc/kernel/optprobes.c 		emulate_update_regs(&regs, &op);
regs              105 arch/powerpc/kernel/optprobes.c 		nip = regs.nip;
regs              112 arch/powerpc/kernel/optprobes.c 			       struct pt_regs *regs)
regs              124 arch/powerpc/kernel/optprobes.c 		regs->nip = (unsigned long)op->kp.addr;
regs              126 arch/powerpc/kernel/optprobes.c 		opt_pre_handler(&op->kp, regs);
regs              281 arch/powerpc/kernel/pci_dn.c 	const __be32 *regs;
regs              294 arch/powerpc/kernel/pci_dn.c 	regs = of_get_property(dn, "reg", NULL);
regs              295 arch/powerpc/kernel/pci_dn.c 	if (regs) {
regs              296 arch/powerpc/kernel/pci_dn.c 		u32 addr = of_read_number(regs, 1);
regs              304 arch/powerpc/kernel/pci_dn.c 	regs = of_get_property(dn, "vendor-id", NULL);
regs              305 arch/powerpc/kernel/pci_dn.c 	pdn->vendor_id = regs ? of_read_number(regs, 1) : 0;
regs              306 arch/powerpc/kernel/pci_dn.c 	regs = of_get_property(dn, "device-id", NULL);
regs              307 arch/powerpc/kernel/pci_dn.c 	pdn->device_id = regs ? of_read_number(regs, 1) : 0;
regs              308 arch/powerpc/kernel/pci_dn.c 	regs = of_get_property(dn, "class-code", NULL);
regs              309 arch/powerpc/kernel/pci_dn.c 	pdn->class_code = regs ? of_read_number(regs, 1) : 0;
regs               24 arch/powerpc/kernel/pmc.c static void dummy_perf(struct pt_regs *regs)
regs               36 arch/powerpc/kernel/ppc32.h 	compat_uptr_t	regs;  /* 4 byte pointer to the pt_regs32 structure. */
regs               96 arch/powerpc/kernel/process.c 	if (tsk == current && tsk->thread.regs &&
regs               97 arch/powerpc/kernel/process.c 	    MSR_TM_ACTIVE(tsk->thread.regs->msr) &&
regs               99 arch/powerpc/kernel/process.c 		tsk->thread.ckpt_regs.msr = tsk->thread.regs->msr;
regs              164 arch/powerpc/kernel/process.c 	msr = tsk->thread.regs->msr;
regs              170 arch/powerpc/kernel/process.c 	tsk->thread.regs->msr = msr;
regs              189 arch/powerpc/kernel/process.c 	if (tsk->thread.regs) {
regs              199 arch/powerpc/kernel/process.c 		if (tsk->thread.regs->msr & MSR_FP) {
regs              223 arch/powerpc/kernel/process.c 	if (current->thread.regs && (current->thread.regs->msr & MSR_FP)) {
regs              233 arch/powerpc/kernel/process.c 		     MSR_TM_ACTIVE(current->thread.regs->msr))
regs              261 arch/powerpc/kernel/process.c 	msr = tsk->thread.regs->msr;
regs              267 arch/powerpc/kernel/process.c 	tsk->thread.regs->msr = msr;
regs              288 arch/powerpc/kernel/process.c 	if (current->thread.regs && (current->thread.regs->msr & MSR_VEC)) {
regs              298 arch/powerpc/kernel/process.c 		     MSR_TM_ACTIVE(current->thread.regs->msr))
regs              311 arch/powerpc/kernel/process.c 	if (tsk->thread.regs) {
regs              313 arch/powerpc/kernel/process.c 		if (tsk->thread.regs->msr & MSR_VEC) {
regs              341 arch/powerpc/kernel/process.c 	unsigned long msr = tsk->thread.regs->msr;
regs              373 arch/powerpc/kernel/process.c 	if (current->thread.regs &&
regs              374 arch/powerpc/kernel/process.c 	    (current->thread.regs->msr & (MSR_VSX|MSR_VEC|MSR_FP))) {
regs              384 arch/powerpc/kernel/process.c 		     MSR_TM_ACTIVE(current->thread.regs->msr))
regs              393 arch/powerpc/kernel/process.c 	if (tsk->thread.regs) {
regs              395 arch/powerpc/kernel/process.c 		if (tsk->thread.regs->msr & (MSR_VSX|MSR_VEC|MSR_FP)) {
regs              434 arch/powerpc/kernel/process.c 	if (current->thread.regs && (current->thread.regs->msr & MSR_SPE)) {
regs              443 arch/powerpc/kernel/process.c 	if (tsk->thread.regs) {
regs              445 arch/powerpc/kernel/process.c 		if (tsk->thread.regs->msr & MSR_SPE) {
regs              483 arch/powerpc/kernel/process.c 	if (!tsk->thread.regs)
regs              488 arch/powerpc/kernel/process.c 	usermsr = tsk->thread.regs->msr;
regs              524 arch/powerpc/kernel/process.c void notrace restore_math(struct pt_regs *regs)
regs              528 arch/powerpc/kernel/process.c 	if (!MSR_TM_ACTIVE(regs->msr) &&
regs              532 arch/powerpc/kernel/process.c 	msr = regs->msr;
regs              552 arch/powerpc/kernel/process.c 	regs->msr = msr;
regs              559 arch/powerpc/kernel/process.c 	if (!tsk->thread.regs)
regs              562 arch/powerpc/kernel/process.c 	usermsr = tsk->thread.regs->msr;
regs              586 arch/powerpc/kernel/process.c 	if (tsk->thread.regs) {
regs              590 arch/powerpc/kernel/process.c 		if (tsk->thread.regs->msr & MSR_SPE)
regs              601 arch/powerpc/kernel/process.c void do_send_trap(struct pt_regs *regs, unsigned long address,
regs              605 arch/powerpc/kernel/process.c 	if (notify_die(DIE_DABR_MATCH, "dabr_match", regs, error_code,
regs              614 arch/powerpc/kernel/process.c void do_break (struct pt_regs *regs, unsigned long address,
regs              618 arch/powerpc/kernel/process.c 	if (notify_die(DIE_DABR_MATCH, "dabr_match", regs, error_code,
regs              622 arch/powerpc/kernel/process.c 	if (debugger_break_match(regs))
regs              826 arch/powerpc/kernel/process.c 	return tsk && tsk->thread.regs && (tsk->thread.regs->msr & MSR_TM);
regs              893 arch/powerpc/kernel/process.c 	if (!thr->regs)
regs              896 arch/powerpc/kernel/process.c 	if (!MSR_TM_ACTIVE(thr->regs->msr))
regs              903 arch/powerpc/kernel/process.c 		 tsk->pid, thr->regs->nip,
regs              904 arch/powerpc/kernel/process.c 		 thr->regs->ccr, thr->regs->msr,
regs              905 arch/powerpc/kernel/process.c 		 thr->regs->trap);
regs              927 arch/powerpc/kernel/process.c 	if (!(thread->regs->msr & MSR_TM))
regs              963 arch/powerpc/kernel/process.c 	if (!MSR_TM_ACTIVE(new->thread.regs->msr)){
regs              969 arch/powerpc/kernel/process.c 		 new->pid, new->thread.regs->msr);
regs              978 arch/powerpc/kernel/process.c 	new->thread.regs->msr &= ~(MSR_FP | MSR_VEC | MSR_VSX);
regs              995 arch/powerpc/kernel/process.c 			if (!MSR_TM_ACTIVE(prev->thread.regs->msr) && prev->thread.load_tm == 0)
regs              996 arch/powerpc/kernel/process.c 				prev->thread.regs->msr &= ~MSR_TM;
regs             1017 arch/powerpc/kernel/process.c void restore_tm_state(struct pt_regs *regs)
regs             1028 arch/powerpc/kernel/process.c 	if (!MSR_TM_ACTIVE(regs->msr))
regs             1031 arch/powerpc/kernel/process.c 	msr_diff = current->thread.ckpt_regs.msr & ~regs->msr;
regs             1041 arch/powerpc/kernel/process.c 	restore_math(regs);
regs             1043 arch/powerpc/kernel/process.c 	regs->msr |= msr_diff;
regs             1197 arch/powerpc/kernel/process.c 	if (current->thread.regs) {
regs             1198 arch/powerpc/kernel/process.c 		restore_math(current->thread.regs);
regs             1218 arch/powerpc/kernel/process.c static void show_instructions(struct pt_regs *regs)
regs             1221 arch/powerpc/kernel/process.c 	unsigned long pc = regs->nip - (NR_INSN_TO_PRINT * 3 / 4 * sizeof(int));
regs             1235 arch/powerpc/kernel/process.c 		if (!(regs->msr & MSR_IR))
regs             1243 arch/powerpc/kernel/process.c 			if (regs->nip == pc)
regs             1255 arch/powerpc/kernel/process.c void show_user_instructions(struct pt_regs *regs)
regs             1262 arch/powerpc/kernel/process.c 	pc = regs->nip - (NR_INSN_TO_PRINT * 3 / 4 * sizeof(int));
regs             1288 arch/powerpc/kernel/process.c 			seq_buf_printf(&s, regs->nip == pc ? "<%08x> " : "%08x ", instr);
regs             1388 arch/powerpc/kernel/process.c void show_regs(struct pt_regs * regs)
regs             1395 arch/powerpc/kernel/process.c 	       regs->nip, regs->link, regs->ctr);
regs             1397 arch/powerpc/kernel/process.c 	       regs, regs->trap, print_tainted(), init_utsname()->release);
regs             1398 arch/powerpc/kernel/process.c 	printk("MSR:  "REG" ", regs->msr);
regs             1399 arch/powerpc/kernel/process.c 	print_msr_bits(regs->msr);
regs             1400 arch/powerpc/kernel/process.c 	pr_cont("  CR: %08lx  XER: %08lx\n", regs->ccr, regs->xer);
regs             1401 arch/powerpc/kernel/process.c 	trap = TRAP(regs);
regs             1402 arch/powerpc/kernel/process.c 	if ((TRAP(regs) != 0xc00) && cpu_has_feature(CPU_FTR_CFAR))
regs             1403 arch/powerpc/kernel/process.c 		pr_cont("CFAR: "REG" ", regs->orig_gpr3);
regs             1406 arch/powerpc/kernel/process.c 		pr_cont("DEAR: "REG" ESR: "REG" ", regs->dar, regs->dsisr);
regs             1408 arch/powerpc/kernel/process.c 		pr_cont("DAR: "REG" DSISR: %08lx ", regs->dar, regs->dsisr);
regs             1411 arch/powerpc/kernel/process.c 	pr_cont("IRQMASK: %lx ", regs->softe);
regs             1414 arch/powerpc/kernel/process.c 	if (MSR_TM_ACTIVE(regs->msr))
regs             1421 arch/powerpc/kernel/process.c 		pr_cont(REG " ", regs->gpr[i]);
regs             1422 arch/powerpc/kernel/process.c 		if (i == LAST_VOLATILE && !FULL_REGS(regs))
regs             1431 arch/powerpc/kernel/process.c 	printk("NIP ["REG"] %pS\n", regs->nip, (void *)regs->nip);
regs             1432 arch/powerpc/kernel/process.c 	printk("LR ["REG"] %pS\n", regs->link, (void *)regs->link);
regs             1434 arch/powerpc/kernel/process.c 	show_stack(current, (unsigned long *) regs->gpr[1]);
regs             1435 arch/powerpc/kernel/process.c 	if (!user_mode(regs))
regs             1436 arch/powerpc/kernel/process.c 		show_instructions(regs);
regs             1618 arch/powerpc/kernel/process.c 		p->thread.regs = NULL;	/* no user register state */
regs             1623 arch/powerpc/kernel/process.c 		struct pt_regs *regs = current_pt_regs();
regs             1624 arch/powerpc/kernel/process.c 		CHECK_FULL_REGS(regs);
regs             1625 arch/powerpc/kernel/process.c 		*childregs = *regs;
regs             1628 arch/powerpc/kernel/process.c 		p->thread.regs = childregs;
regs             1690 arch/powerpc/kernel/process.c void start_thread(struct pt_regs *regs, unsigned long start, unsigned long sp)
regs             1693 arch/powerpc/kernel/process.c 	unsigned long load_addr = regs->gpr[2];	/* saved by ELF_PLAT_INIT */
regs             1705 arch/powerpc/kernel/process.c 	if (!current->thread.regs) {
regs             1706 arch/powerpc/kernel/process.c 		struct pt_regs *regs = task_stack_page(current) + THREAD_SIZE;
regs             1707 arch/powerpc/kernel/process.c 		current->thread.regs = regs - 1;
regs             1720 arch/powerpc/kernel/process.c 	memset(regs->gpr, 0, sizeof(regs->gpr));
regs             1721 arch/powerpc/kernel/process.c 	regs->ctr = 0;
regs             1722 arch/powerpc/kernel/process.c 	regs->link = 0;
regs             1723 arch/powerpc/kernel/process.c 	regs->xer = 0;
regs             1724 arch/powerpc/kernel/process.c 	regs->ccr = 0;
regs             1725 arch/powerpc/kernel/process.c 	regs->gpr[1] = sp;
regs             1732 arch/powerpc/kernel/process.c 	regs->trap &= ~1UL;
regs             1735 arch/powerpc/kernel/process.c 	regs->mq = 0;
regs             1736 arch/powerpc/kernel/process.c 	regs->nip = start;
regs             1737 arch/powerpc/kernel/process.c 	regs->msr = MSR_USER;
regs             1754 arch/powerpc/kernel/process.c 			regs->gpr[12] = start;
regs             1776 arch/powerpc/kernel/process.c 			regs->gpr[2] = toc;
regs             1778 arch/powerpc/kernel/process.c 		regs->nip = entry;
regs             1779 arch/powerpc/kernel/process.c 		regs->msr = MSR_USER64;
regs             1781 arch/powerpc/kernel/process.c 		regs->nip = start;
regs             1782 arch/powerpc/kernel/process.c 		regs->gpr[2] = 0;
regs             1783 arch/powerpc/kernel/process.c 		regs->msr = MSR_USER32;
regs             1823 arch/powerpc/kernel/process.c 	struct pt_regs *regs = tsk->thread.regs;
regs             1864 arch/powerpc/kernel/process.c 	if (regs != NULL && (regs->msr & MSR_FP) != 0)
regs             1865 arch/powerpc/kernel/process.c 		regs->msr = (regs->msr & ~(MSR_FE0|MSR_FE1))
regs             1903 arch/powerpc/kernel/process.c 	struct pt_regs *regs = tsk->thread.regs;
regs             1909 arch/powerpc/kernel/process.c 	if (regs == NULL)
regs             1913 arch/powerpc/kernel/process.c 		regs->msr &= ~MSR_LE;
regs             1915 arch/powerpc/kernel/process.c 		regs->msr |= MSR_LE;
regs             1924 arch/powerpc/kernel/process.c 	struct pt_regs *regs = tsk->thread.regs;
regs             1931 arch/powerpc/kernel/process.c 	if (regs == NULL)
regs             1934 arch/powerpc/kernel/process.c 	if (regs->msr & MSR_LE) {
regs             2084 arch/powerpc/kernel/process.c 			struct pt_regs *regs = (struct pt_regs *)
regs             2086 arch/powerpc/kernel/process.c 			lr = regs->link;
regs             2088 arch/powerpc/kernel/process.c 			       regs->trap, (void *)regs->nip, (void *)lr);
regs              209 arch/powerpc/kernel/ptrace.c 	return task->thread.regs->msr | task->thread.fpexc_mode;
regs              214 arch/powerpc/kernel/ptrace.c 	task->thread.regs->msr &= ~MSR_DEBUGCHANGE;
regs              215 arch/powerpc/kernel/ptrace.c 	task->thread.regs->msr |= msr & MSR_DEBUGCHANGE;
regs              270 arch/powerpc/kernel/ptrace.c 	task->thread.regs->trap = trap & 0xfff0;
regs              281 arch/powerpc/kernel/ptrace.c 	if ((task->thread.regs == NULL) || !data)
regs              307 arch/powerpc/kernel/ptrace.c 		*data = ((unsigned long *)task->thread.regs)[regno];
regs              319 arch/powerpc/kernel/ptrace.c 	if (task->thread.regs == NULL)
regs              331 arch/powerpc/kernel/ptrace.c 		((unsigned long *)task->thread.regs)[regno] = data;
regs              343 arch/powerpc/kernel/ptrace.c 	if (target->thread.regs == NULL)
regs              346 arch/powerpc/kernel/ptrace.c 	if (!FULL_REGS(target->thread.regs)) {
regs              349 arch/powerpc/kernel/ptrace.c 			target->thread.regs->gpr[i] = NV_REG_POISON;
regs              353 arch/powerpc/kernel/ptrace.c 				  target->thread.regs,
regs              368 arch/powerpc/kernel/ptrace.c 					  &target->thread.regs->orig_gpr3,
regs              385 arch/powerpc/kernel/ptrace.c 	if (target->thread.regs == NULL)
regs              388 arch/powerpc/kernel/ptrace.c 	CHECK_FULL_REGS(target->thread.regs);
regs              391 arch/powerpc/kernel/ptrace.c 				 target->thread.regs,
regs              407 arch/powerpc/kernel/ptrace.c 					 &target->thread.regs->orig_gpr3,
regs              807 arch/powerpc/kernel/ptrace.c 	if (!MSR_TM_ACTIVE(target->thread.regs->msr))
regs              843 arch/powerpc/kernel/ptrace.c 	if (!MSR_TM_ACTIVE(target->thread.regs->msr))
regs              908 arch/powerpc/kernel/ptrace.c 	if (!MSR_TM_ACTIVE(target->thread.regs->msr))
regs              972 arch/powerpc/kernel/ptrace.c 	if (!MSR_TM_ACTIVE(target->thread.regs->msr))
regs             1010 arch/powerpc/kernel/ptrace.c 	if (!MSR_TM_ACTIVE(target->thread.regs->msr))
regs             1056 arch/powerpc/kernel/ptrace.c 	if (!MSR_TM_ACTIVE(target->thread.regs->msr))
regs             1091 arch/powerpc/kernel/ptrace.c 	if (!MSR_TM_ACTIVE(target->thread.regs->msr))
regs             1131 arch/powerpc/kernel/ptrace.c 	if (!MSR_TM_ACTIVE(target->thread.regs->msr))
regs             1193 arch/powerpc/kernel/ptrace.c 	if (!MSR_TM_ACTIVE(target->thread.regs->msr))
regs             1236 arch/powerpc/kernel/ptrace.c 	if (!MSR_TM_ACTIVE(target->thread.regs->msr))
regs             1274 arch/powerpc/kernel/ptrace.c 	if (!MSR_TM_ACTIVE(target->thread.regs->msr))
regs             1322 arch/powerpc/kernel/ptrace.c 	if (!MSR_TM_ACTIVE(target->thread.regs->msr))
regs             1478 arch/powerpc/kernel/ptrace.c 	if (MSR_TM_ACTIVE(target->thread.regs->msr))
regs             1494 arch/powerpc/kernel/ptrace.c 	if (!MSR_TM_ACTIVE(target->thread.regs->msr))
regs             1512 arch/powerpc/kernel/ptrace.c 	if (!MSR_TM_ACTIVE(target->thread.regs->msr))
regs             1526 arch/powerpc/kernel/ptrace.c 	if (MSR_TM_ACTIVE(target->thread.regs->msr))
regs             1543 arch/powerpc/kernel/ptrace.c 	if (!MSR_TM_ACTIVE(target->thread.regs->msr))
regs             1561 arch/powerpc/kernel/ptrace.c 	if (!MSR_TM_ACTIVE(target->thread.regs->msr))
regs             1575 arch/powerpc/kernel/ptrace.c 	if (MSR_TM_ACTIVE(target->thread.regs->msr))
regs             1591 arch/powerpc/kernel/ptrace.c 	if (!MSR_TM_ACTIVE(target->thread.regs->msr))
regs             1609 arch/powerpc/kernel/ptrace.c 	if (!MSR_TM_ACTIVE(target->thread.regs->msr))
regs             1625 arch/powerpc/kernel/ptrace.c 				   &target->thread.regs->ppr, 0, sizeof(u64));
regs             1634 arch/powerpc/kernel/ptrace.c 				  &target->thread.regs->ppr, 0, sizeof(u64));
regs             2023 arch/powerpc/kernel/ptrace.c 			    unsigned long *regs)
regs             2034 arch/powerpc/kernel/ptrace.c 			*k++ = regs[pos++];
regs             2037 arch/powerpc/kernel/ptrace.c 			if (__put_user((compat_ulong_t) regs[pos++], u++))
regs             2052 arch/powerpc/kernel/ptrace.c 			*k++ = regs[pos++];
regs             2055 arch/powerpc/kernel/ptrace.c 			if (__put_user((compat_ulong_t) regs[pos++], u++))
regs             2070 arch/powerpc/kernel/ptrace.c 		     unsigned long *regs)
regs             2081 arch/powerpc/kernel/ptrace.c 			regs[pos++] = *k++;
regs             2086 arch/powerpc/kernel/ptrace.c 			regs[pos++] = reg;
regs             2102 arch/powerpc/kernel/ptrace.c 			regs[pos++] = *k++;
regs             2109 arch/powerpc/kernel/ptrace.c 			regs[pos++] = reg;
regs             2161 arch/powerpc/kernel/ptrace.c 	if (target->thread.regs == NULL)
regs             2164 arch/powerpc/kernel/ptrace.c 	if (!FULL_REGS(target->thread.regs)) {
regs             2170 arch/powerpc/kernel/ptrace.c 			target->thread.regs->gpr[i] = NV_REG_POISON;
regs             2173 arch/powerpc/kernel/ptrace.c 			&target->thread.regs->gpr[0]);
regs             2181 arch/powerpc/kernel/ptrace.c 	if (target->thread.regs == NULL)
regs             2184 arch/powerpc/kernel/ptrace.c 	CHECK_FULL_REGS(target->thread.regs);
regs             2186 arch/powerpc/kernel/ptrace.c 			&target->thread.regs->gpr[0]);
regs             2304 arch/powerpc/kernel/ptrace.c 	struct pt_regs *regs = task->thread.regs;
regs             2306 arch/powerpc/kernel/ptrace.c 	if (regs != NULL) {
regs             2310 arch/powerpc/kernel/ptrace.c 		regs->msr |= MSR_DE;
regs             2312 arch/powerpc/kernel/ptrace.c 		regs->msr &= ~MSR_BE;
regs             2313 arch/powerpc/kernel/ptrace.c 		regs->msr |= MSR_SE;
regs             2321 arch/powerpc/kernel/ptrace.c 	struct pt_regs *regs = task->thread.regs;
regs             2323 arch/powerpc/kernel/ptrace.c 	if (regs != NULL) {
regs             2327 arch/powerpc/kernel/ptrace.c 		regs->msr |= MSR_DE;
regs             2329 arch/powerpc/kernel/ptrace.c 		regs->msr &= ~MSR_SE;
regs             2330 arch/powerpc/kernel/ptrace.c 		regs->msr |= MSR_BE;
regs             2338 arch/powerpc/kernel/ptrace.c 	struct pt_regs *regs = task->thread.regs;
regs             2340 arch/powerpc/kernel/ptrace.c 	if (regs != NULL) {
regs             2358 arch/powerpc/kernel/ptrace.c 			regs->msr &= ~MSR_DE;
regs             2361 arch/powerpc/kernel/ptrace.c 		regs->msr &= ~(MSR_SE | MSR_BE);
regs             2369 arch/powerpc/kernel/ptrace.c 		      struct perf_sample_data *data, struct pt_regs *regs)
regs             2488 arch/powerpc/kernel/ptrace.c 			task->thread.regs->msr &= ~MSR_DE;
regs             2510 arch/powerpc/kernel/ptrace.c 	task->thread.regs->msr |= MSR_DE;
regs             2610 arch/powerpc/kernel/ptrace.c 	child->thread.regs->msr |= MSR_DE;
regs             2725 arch/powerpc/kernel/ptrace.c 	child->thread.regs->msr |= MSR_DE;
regs             2819 arch/powerpc/kernel/ptrace.c 	child->thread.regs->msr |= MSR_DE;
regs             2955 arch/powerpc/kernel/ptrace.c 			child->thread.regs->msr &= ~MSR_DE;
regs             3000 arch/powerpc/kernel/ptrace.c 		    || (child->thread.regs == NULL))
regs             3007 arch/powerpc/kernel/ptrace.c 		CHECK_FULL_REGS(child->thread.regs);
regs             3035 arch/powerpc/kernel/ptrace.c 		    || (child->thread.regs == NULL))
regs             3042 arch/powerpc/kernel/ptrace.c 		CHECK_FULL_REGS(child->thread.regs);
regs             3220 arch/powerpc/kernel/ptrace.c static int do_seccomp(struct pt_regs *regs)
regs             3231 arch/powerpc/kernel/ptrace.c 	regs->gpr[3] = -ENOSYS;
regs             3249 arch/powerpc/kernel/ptrace.c 	regs->gpr[3] = regs->orig_gpr3;
regs             3254 arch/powerpc/kernel/ptrace.c static inline int do_seccomp(struct pt_regs *regs) { return 0; }
regs             3276 arch/powerpc/kernel/ptrace.c long do_syscall_trace_enter(struct pt_regs *regs)
regs             3286 arch/powerpc/kernel/ptrace.c 		int rc = tracehook_report_syscall_entry(regs);
regs             3314 arch/powerpc/kernel/ptrace.c 	if (do_seccomp(regs))
regs             3318 arch/powerpc/kernel/ptrace.c 	if (regs->gpr[0] >= NR_syscalls)
regs             3322 arch/powerpc/kernel/ptrace.c 		trace_sys_enter(regs, regs->gpr[0]);
regs             3326 arch/powerpc/kernel/ptrace.c 		audit_syscall_entry(regs->gpr[0], regs->gpr[3], regs->gpr[4],
regs             3327 arch/powerpc/kernel/ptrace.c 				    regs->gpr[5], regs->gpr[6]);
regs             3330 arch/powerpc/kernel/ptrace.c 		audit_syscall_entry(regs->gpr[0],
regs             3331 arch/powerpc/kernel/ptrace.c 				    regs->gpr[3] & 0xffffffff,
regs             3332 arch/powerpc/kernel/ptrace.c 				    regs->gpr[4] & 0xffffffff,
regs             3333 arch/powerpc/kernel/ptrace.c 				    regs->gpr[5] & 0xffffffff,
regs             3334 arch/powerpc/kernel/ptrace.c 				    regs->gpr[6] & 0xffffffff);
regs             3337 arch/powerpc/kernel/ptrace.c 	return regs->gpr[0];
regs             3344 arch/powerpc/kernel/ptrace.c 	regs->gpr[3] = -ENOSYS;
regs             3348 arch/powerpc/kernel/ptrace.c void do_syscall_trace_leave(struct pt_regs *regs)
regs             3352 arch/powerpc/kernel/ptrace.c 	audit_syscall_exit(regs);
regs             3355 arch/powerpc/kernel/ptrace.c 		trace_sys_exit(regs, regs->result);
regs             3359 arch/powerpc/kernel/ptrace.c 		tracehook_report_syscall_exit(regs, step);
regs               95 arch/powerpc/kernel/ptrace32.c 		CHECK_FULL_REGS(child->thread.regs);
regs              145 arch/powerpc/kernel/ptrace32.c 		CHECK_FULL_REGS(child->thread.regs);
regs              199 arch/powerpc/kernel/ptrace32.c 		CHECK_FULL_REGS(child->thread.regs);
regs              238 arch/powerpc/kernel/ptrace32.c 		CHECK_FULL_REGS(child->thread.regs);
regs               53 arch/powerpc/kernel/signal.c static void check_syscall_restart(struct pt_regs *regs, struct k_sigaction *ka,
regs               56 arch/powerpc/kernel/signal.c 	unsigned long ret = regs->gpr[3];
regs               60 arch/powerpc/kernel/signal.c 	if (TRAP(regs) != 0x0C00)
regs               64 arch/powerpc/kernel/signal.c 	if (!(regs->ccr & 0x10000000))
regs               92 arch/powerpc/kernel/signal.c 			regs->gpr[0] = __NR_restart_syscall;
regs               94 arch/powerpc/kernel/signal.c 			regs->gpr[3] = regs->orig_gpr3;
regs               95 arch/powerpc/kernel/signal.c 		regs->nip -= 4;
regs               96 arch/powerpc/kernel/signal.c 		regs->result = 0;
regs               98 arch/powerpc/kernel/signal.c 		regs->result = -EINTR;
regs               99 arch/powerpc/kernel/signal.c 		regs->gpr[3] = EINTR;
regs              100 arch/powerpc/kernel/signal.c 		regs->ccr |= 0x10000000;
regs              116 arch/powerpc/kernel/signal.c 	check_syscall_restart(tsk->thread.regs, &ksig.ka, ksig.sig > 0);
regs              121 arch/powerpc/kernel/signal.c 		tsk->thread.regs->trap = 0;
regs              135 arch/powerpc/kernel/signal.c 	thread_change_pc(tsk, tsk->thread.regs);
regs              137 arch/powerpc/kernel/signal.c 	rseq_signal_deliver(&ksig, tsk->thread.regs);
regs              148 arch/powerpc/kernel/signal.c 	tsk->thread.regs->trap = 0;
regs              152 arch/powerpc/kernel/signal.c void do_notify_resume(struct pt_regs *regs, unsigned long thread_info_flags)
regs              160 arch/powerpc/kernel/signal.c 		uprobe_notify_resume(regs);
regs              166 arch/powerpc/kernel/signal.c 		BUG_ON(regs != current->thread.regs);
regs              172 arch/powerpc/kernel/signal.c 		tracehook_notify_resume(regs);
regs              173 arch/powerpc/kernel/signal.c 		rseq_handle_notify_resume(NULL, regs);
regs              203 arch/powerpc/kernel/signal.c 	unsigned long ret = tsk->thread.regs->gpr[1];
regs              208 arch/powerpc/kernel/signal.c 	if (MSR_TM_ACTIVE(tsk->thread.regs->msr)) {
regs              211 arch/powerpc/kernel/signal.c 		if (MSR_TM_TRANSACTIONAL(tsk->thread.regs->msr))
regs              221 arch/powerpc/kernel/signal.c 		tsk->thread.regs->msr &= ~MSR_TS_MASK;
regs               13 arch/powerpc/kernel/signal.h extern void do_notify_resume(struct pt_regs *regs, unsigned long thread_info_flags);
regs              102 arch/powerpc/kernel/signal_32.c static inline int save_general_regs(struct pt_regs *regs,
regs              105 arch/powerpc/kernel/signal_32.c 	elf_greg_t64 *gregs = (elf_greg_t64 *)regs;
regs              110 arch/powerpc/kernel/signal_32.c 	WARN_ON(!FULL_REGS(regs));
regs              113 arch/powerpc/kernel/signal_32.c 		if (i == 14 && !FULL_REGS(regs))
regs              127 arch/powerpc/kernel/signal_32.c static inline int restore_general_regs(struct pt_regs *regs,
regs              130 arch/powerpc/kernel/signal_32.c 	elf_greg_t64 *gregs = (elf_greg_t64 *)regs;
regs              159 arch/powerpc/kernel/signal_32.c static inline int save_general_regs(struct pt_regs *regs,
regs              162 arch/powerpc/kernel/signal_32.c 	WARN_ON(!FULL_REGS(regs));
regs              163 arch/powerpc/kernel/signal_32.c 	return __copy_to_user(&frame->mc_gregs, regs, GP_REGS_SIZE);
regs              166 arch/powerpc/kernel/signal_32.c static inline int restore_general_regs(struct pt_regs *regs,
regs              170 arch/powerpc/kernel/signal_32.c 	if (__copy_from_user(regs, &sr->mc_gregs,
regs              174 arch/powerpc/kernel/signal_32.c 	if (__copy_from_user(&regs->orig_gpr3, &sr->mc_gregs[PT_ORIG_R3],
regs              383 arch/powerpc/kernel/signal_32.c static int save_user_regs(struct pt_regs *regs, struct mcontext __user *frame,
regs              387 arch/powerpc/kernel/signal_32.c 	unsigned long msr = regs->msr;
regs              393 arch/powerpc/kernel/signal_32.c 	if (save_general_regs(regs, frame))
regs              490 arch/powerpc/kernel/signal_32.c static int save_tm_user_regs(struct pt_regs *regs,
regs              499 arch/powerpc/kernel/signal_32.c 	    || save_general_regs(regs, tm_frame))
regs              626 arch/powerpc/kernel/signal_32.c static long restore_user_regs(struct pt_regs *regs,
regs              641 arch/powerpc/kernel/signal_32.c 		save_r2 = (unsigned int)regs->gpr[2];
regs              642 arch/powerpc/kernel/signal_32.c 	err = restore_general_regs(regs, sr);
regs              643 arch/powerpc/kernel/signal_32.c 	regs->trap = 0;
regs              646 arch/powerpc/kernel/signal_32.c 		regs->gpr[2] = (unsigned long) save_r2;
regs              652 arch/powerpc/kernel/signal_32.c 		regs->msr = (regs->msr & ~MSR_LE) | (msr & MSR_LE);
regs              659 arch/powerpc/kernel/signal_32.c 	regs->msr &= ~MSR_VEC;
regs              684 arch/powerpc/kernel/signal_32.c 	regs->msr &= ~MSR_VSX;
regs              701 arch/powerpc/kernel/signal_32.c 	regs->msr &= ~(MSR_FP | MSR_FE0 | MSR_FE1);
regs              706 arch/powerpc/kernel/signal_32.c 	regs->msr &= ~MSR_SPE;
regs              730 arch/powerpc/kernel/signal_32.c static long restore_tm_user_regs(struct pt_regs *regs,
regs              749 arch/powerpc/kernel/signal_32.c 	err = restore_general_regs(regs, tm_sr);
regs              759 arch/powerpc/kernel/signal_32.c 	regs->msr = (regs->msr & ~MSR_LE) | (msr & MSR_LE);
regs              762 arch/powerpc/kernel/signal_32.c 	regs->msr &= ~MSR_VEC;
regs              789 arch/powerpc/kernel/signal_32.c 	regs->msr &= ~(MSR_FP | MSR_FE0 | MSR_FE1);
regs              796 arch/powerpc/kernel/signal_32.c 	regs->msr &= ~MSR_VSX;
regs              817 arch/powerpc/kernel/signal_32.c 	regs->msr &= ~MSR_SPE;
regs              856 arch/powerpc/kernel/signal_32.c 	regs->msr = (regs->msr & ~MSR_TS_MASK) | (msr_hi & MSR_TS_MASK);
regs              871 arch/powerpc/kernel/signal_32.c 		regs->msr |= (MSR_FP | current->thread.fpexc_mode);
regs              876 arch/powerpc/kernel/signal_32.c 		regs->msr |= MSR_VEC;
regs              906 arch/powerpc/kernel/signal_32.c 	struct pt_regs *regs = tsk->thread.regs;
regs              909 arch/powerpc/kernel/signal_32.c 	unsigned long msr = regs->msr;
regs              924 arch/powerpc/kernel/signal_32.c 	    || __save_altstack(&rt_sf->uc.uc_stack, regs->gpr[1])
regs              949 arch/powerpc/kernel/signal_32.c 		if (save_tm_user_regs(regs, frame, tm_frame, sigret, msr))
regs              957 arch/powerpc/kernel/signal_32.c 		if (save_user_regs(regs, frame, tm_frame, sigret, 1))
regs              960 arch/powerpc/kernel/signal_32.c 	regs->link = tramp;
regs              966 arch/powerpc/kernel/signal_32.c 	addr = (void __user *)regs->gpr[1];
regs              967 arch/powerpc/kernel/signal_32.c 	if (put_user(regs->gpr[1], (u32 __user *)newsp))
regs              971 arch/powerpc/kernel/signal_32.c 	regs->gpr[1] = newsp;
regs              972 arch/powerpc/kernel/signal_32.c 	regs->gpr[3] = ksig->sig;
regs              973 arch/powerpc/kernel/signal_32.c 	regs->gpr[4] = (unsigned long) &rt_sf->info;
regs              974 arch/powerpc/kernel/signal_32.c 	regs->gpr[5] = (unsigned long) &rt_sf->uc;
regs              975 arch/powerpc/kernel/signal_32.c 	regs->gpr[6] = (unsigned long) rt_sf;
regs              976 arch/powerpc/kernel/signal_32.c 	regs->nip = (unsigned long) ksig->ka.sa.sa_handler;
regs              978 arch/powerpc/kernel/signal_32.c 	regs->msr &= ~MSR_LE;
regs              979 arch/powerpc/kernel/signal_32.c 	regs->msr |= (MSR_KERNEL & MSR_LE);
regs              988 arch/powerpc/kernel/signal_32.c 				   addr, regs->nip, regs->link);
regs              993 arch/powerpc/kernel/signal_32.c static int do_setcontext(struct ucontext __user *ucp, struct pt_regs *regs, int sig)
regs             1016 arch/powerpc/kernel/signal_32.c 	if (restore_user_regs(regs, mcp, sig))
regs             1025 arch/powerpc/kernel/signal_32.c 			    struct pt_regs *regs)
regs             1044 arch/powerpc/kernel/signal_32.c 	if (restore_tm_user_regs(regs, mcp, tm_mcp))
regs             1059 arch/powerpc/kernel/signal_32.c 	struct pt_regs *regs = current_pt_regs();
regs             1116 arch/powerpc/kernel/signal_32.c 		    || save_user_regs(regs, mctx, NULL, 0, ctx_has_vsx_region)
regs             1138 arch/powerpc/kernel/signal_32.c 	if (do_setcontext(new_ctx, regs, 0))
regs             1152 arch/powerpc/kernel/signal_32.c 	struct pt_regs *regs = current_pt_regs();
regs             1163 arch/powerpc/kernel/signal_32.c 		(regs->gpr[1] + __SIGNAL_FRAMESIZE + 16);
regs             1204 arch/powerpc/kernel/signal_32.c 			if (do_setcontext_tm(&rt_sf->uc, uc_transact, regs))
regs             1214 arch/powerpc/kernel/signal_32.c 		regs->msr &= ~MSR_TS_MASK;
regs             1219 arch/powerpc/kernel/signal_32.c 		if (do_setcontext(&rt_sf->uc, regs, 1))
regs             1245 arch/powerpc/kernel/signal_32.c 				   rt_sf, regs->nip, regs->link);
regs             1255 arch/powerpc/kernel/signal_32.c 	struct pt_regs *regs = current_pt_regs();
regs             1258 arch/powerpc/kernel/signal_32.c 	unsigned long new_msr = regs->msr;
regs             1308 arch/powerpc/kernel/signal_32.c 	regs->msr = new_msr;
regs             1328 arch/powerpc/kernel/signal_32.c 	if (do_setcontext(ctx, regs, 1)) {
regs             1334 arch/powerpc/kernel/signal_32.c 					   ctx, regs->nip, regs->link);
regs             1367 arch/powerpc/kernel/signal_32.c 	struct pt_regs *regs = tsk->thread.regs;
regs             1370 arch/powerpc/kernel/signal_32.c 	unsigned long msr = regs->msr;
regs             1391 arch/powerpc/kernel/signal_32.c 	    || __put_user(to_user_ptr(&frame->mctx), &sc->regs)
regs             1406 arch/powerpc/kernel/signal_32.c 		if (save_tm_user_regs(regs, &frame->mctx, &frame->mctx_transact,
regs             1413 arch/powerpc/kernel/signal_32.c 		if (save_user_regs(regs, &frame->mctx, tm_mctx, sigret, 1))
regs             1417 arch/powerpc/kernel/signal_32.c 	regs->link = tramp;
regs             1423 arch/powerpc/kernel/signal_32.c 	if (put_user(regs->gpr[1], (u32 __user *)newsp))
regs             1426 arch/powerpc/kernel/signal_32.c 	regs->gpr[1] = newsp;
regs             1427 arch/powerpc/kernel/signal_32.c 	regs->gpr[3] = ksig->sig;
regs             1428 arch/powerpc/kernel/signal_32.c 	regs->gpr[4] = (unsigned long) sc;
regs             1429 arch/powerpc/kernel/signal_32.c 	regs->nip = (unsigned long) (unsigned long)ksig->ka.sa.sa_handler;
regs             1431 arch/powerpc/kernel/signal_32.c 	regs->msr &= ~MSR_LE;
regs             1440 arch/powerpc/kernel/signal_32.c 				   frame, regs->nip, regs->link);
regs             1454 arch/powerpc/kernel/signal_32.c 	struct pt_regs *regs = current_pt_regs();
regs             1469 arch/powerpc/kernel/signal_32.c 	sf = (struct sigframe __user *)(regs->gpr[1] + __SIGNAL_FRAMESIZE);
regs             1495 arch/powerpc/kernel/signal_32.c 		if (restore_tm_user_regs(regs, mcp, tm_mcp))
regs             1500 arch/powerpc/kernel/signal_32.c 		sr = (struct mcontext __user *)from_user_ptr(sigctx.regs);
regs             1503 arch/powerpc/kernel/signal_32.c 		    || restore_user_regs(regs, sr, 1))
regs             1516 arch/powerpc/kernel/signal_32.c 				   addr, regs->nip, regs->link);
regs              107 arch/powerpc/kernel/signal_64.c 	struct pt_regs *regs = tsk->thread.regs;
regs              108 arch/powerpc/kernel/signal_64.c 	unsigned long msr = regs->msr;
regs              167 arch/powerpc/kernel/signal_64.c 	err |= __put_user(&sc->gp_regs, &sc->regs);
regs              168 arch/powerpc/kernel/signal_64.c 	WARN_ON(!FULL_REGS(regs));
regs              169 arch/powerpc/kernel/signal_64.c 	err |= __copy_to_user(&sc->gp_regs, regs, GP_REGS_SIZE);
regs              210 arch/powerpc/kernel/signal_64.c 	struct pt_regs *regs = tsk->thread.regs;
regs              300 arch/powerpc/kernel/signal_64.c 	err |= __put_user(&sc->gp_regs, &sc->regs);
regs              301 arch/powerpc/kernel/signal_64.c 	err |= __put_user(&tm_sc->gp_regs, &tm_sc->regs);
regs              302 arch/powerpc/kernel/signal_64.c 	WARN_ON(!FULL_REGS(regs));
regs              303 arch/powerpc/kernel/signal_64.c 	err |= __copy_to_user(&tm_sc->gp_regs, regs, GP_REGS_SIZE);
regs              330 arch/powerpc/kernel/signal_64.c 	struct pt_regs *regs = tsk->thread.regs;
regs              339 arch/powerpc/kernel/signal_64.c 		save_r13 = regs->gpr[13];
regs              342 arch/powerpc/kernel/signal_64.c 	err |= __copy_from_user(regs->gpr, sc->gp_regs, sizeof(regs->gpr));
regs              343 arch/powerpc/kernel/signal_64.c 	err |= __get_user(regs->nip, &sc->gp_regs[PT_NIP]);
regs              347 arch/powerpc/kernel/signal_64.c 		regs->msr = (regs->msr & ~MSR_LE) | (msr & MSR_LE);
regs              348 arch/powerpc/kernel/signal_64.c 	err |= __get_user(regs->orig_gpr3, &sc->gp_regs[PT_ORIG_R3]);
regs              349 arch/powerpc/kernel/signal_64.c 	err |= __get_user(regs->ctr, &sc->gp_regs[PT_CTR]);
regs              350 arch/powerpc/kernel/signal_64.c 	err |= __get_user(regs->link, &sc->gp_regs[PT_LNK]);
regs              351 arch/powerpc/kernel/signal_64.c 	err |= __get_user(regs->xer, &sc->gp_regs[PT_XER]);
regs              352 arch/powerpc/kernel/signal_64.c 	err |= __get_user(regs->ccr, &sc->gp_regs[PT_CCR]);
regs              354 arch/powerpc/kernel/signal_64.c 	regs->trap = 0;
regs              355 arch/powerpc/kernel/signal_64.c 	err |= __get_user(regs->dar, &sc->gp_regs[PT_DAR]);
regs              356 arch/powerpc/kernel/signal_64.c 	err |= __get_user(regs->dsisr, &sc->gp_regs[PT_DSISR]);
regs              357 arch/powerpc/kernel/signal_64.c 	err |= __get_user(regs->result, &sc->gp_regs[PT_RESULT]);
regs              360 arch/powerpc/kernel/signal_64.c 		regs->gpr[13] = save_r13;
regs              369 arch/powerpc/kernel/signal_64.c 	regs->msr &= ~(MSR_FP | MSR_FE0 | MSR_FE1 | MSR_VEC | MSR_VSX);
regs              427 arch/powerpc/kernel/signal_64.c 	struct pt_regs *regs = tsk->thread.regs;
regs              438 arch/powerpc/kernel/signal_64.c 	err |= __copy_from_user(regs->gpr, tm_sc->gp_regs, sizeof(regs->gpr));
regs              440 arch/powerpc/kernel/signal_64.c 				sizeof(regs->gpr));
regs              450 arch/powerpc/kernel/signal_64.c 	err |= __get_user(regs->nip, &tm_sc->gp_regs[PT_NIP]);
regs              460 arch/powerpc/kernel/signal_64.c 	regs->msr = (regs->msr & ~MSR_LE) | (msr & MSR_LE);
regs              463 arch/powerpc/kernel/signal_64.c 	err |= __get_user(regs->ctr, &tm_sc->gp_regs[PT_CTR]);
regs              464 arch/powerpc/kernel/signal_64.c 	err |= __get_user(regs->link, &tm_sc->gp_regs[PT_LNK]);
regs              465 arch/powerpc/kernel/signal_64.c 	err |= __get_user(regs->xer, &tm_sc->gp_regs[PT_XER]);
regs              466 arch/powerpc/kernel/signal_64.c 	err |= __get_user(regs->ccr, &tm_sc->gp_regs[PT_CCR]);
regs              477 arch/powerpc/kernel/signal_64.c 	regs->trap = 0;
regs              480 arch/powerpc/kernel/signal_64.c 	err |= __get_user(regs->dar, &sc->gp_regs[PT_DAR]);
regs              481 arch/powerpc/kernel/signal_64.c 	err |= __get_user(regs->dsisr, &sc->gp_regs[PT_DSISR]);
regs              482 arch/powerpc/kernel/signal_64.c 	err |= __get_user(regs->result, &sc->gp_regs[PT_RESULT]);
regs              489 arch/powerpc/kernel/signal_64.c 	regs->msr &= ~(MSR_FP | MSR_FE0 | MSR_FE1 | MSR_VEC | MSR_VSX);
regs              559 arch/powerpc/kernel/signal_64.c 	regs->msr |= msr & MSR_TS_MASK;
regs              577 arch/powerpc/kernel/signal_64.c 	regs->msr |= MSR_TM;
regs              585 arch/powerpc/kernel/signal_64.c 		regs->msr |= (MSR_FP | tsk->thread.fpexc_mode);
regs              589 arch/powerpc/kernel/signal_64.c 		regs->msr |= MSR_VEC;
regs              708 arch/powerpc/kernel/signal_64.c 	struct pt_regs *regs = current_pt_regs();
regs              709 arch/powerpc/kernel/signal_64.c 	struct ucontext __user *uc = (struct ucontext __user *)regs->gpr[1];
regs              762 arch/powerpc/kernel/signal_64.c 	regs->msr &= ~MSR_TS_MASK;
regs              794 arch/powerpc/kernel/signal_64.c 		current->thread.regs->msr &= ~MSR_TS_MASK;
regs              807 arch/powerpc/kernel/signal_64.c 		printk_ratelimited(regs->msr & MSR_64BIT ? fmt64 : fmt32,
regs              809 arch/powerpc/kernel/signal_64.c 				   (long)uc, regs->nip, regs->link);
regs              821 arch/powerpc/kernel/signal_64.c 	struct pt_regs *regs = tsk->thread.regs;
regs              824 arch/powerpc/kernel/signal_64.c 	unsigned long msr = regs->msr;
regs              841 arch/powerpc/kernel/signal_64.c 	err |= __save_altstack(&frame->uc.uc_stack, regs->gpr[1]);
regs              870 arch/powerpc/kernel/signal_64.c 		regs->link = tsk->mm->context.vdso_base + vdso64_rt_sigtramp;
regs              875 arch/powerpc/kernel/signal_64.c 		regs->link = (unsigned long) &frame->tramp[0];
regs              880 arch/powerpc/kernel/signal_64.c 	err |= put_user(regs->gpr[1], (unsigned long __user *)newsp);
regs              884 arch/powerpc/kernel/signal_64.c 		regs->nip = (unsigned long) ksig->ka.sa.sa_handler;
regs              885 arch/powerpc/kernel/signal_64.c 		regs->gpr[12] = regs->nip;
regs              895 arch/powerpc/kernel/signal_64.c 		err |= get_user(regs->nip, &funct_desc_ptr->entry);
regs              896 arch/powerpc/kernel/signal_64.c 		err |= get_user(regs->gpr[2], &funct_desc_ptr->toc);
regs              900 arch/powerpc/kernel/signal_64.c 	regs->msr &= ~MSR_LE;
regs              901 arch/powerpc/kernel/signal_64.c 	regs->msr |= (MSR_KERNEL & MSR_LE);
regs              902 arch/powerpc/kernel/signal_64.c 	regs->gpr[1] = newsp;
regs              903 arch/powerpc/kernel/signal_64.c 	regs->gpr[3] = ksig->sig;
regs              904 arch/powerpc/kernel/signal_64.c 	regs->result = 0;
regs              906 arch/powerpc/kernel/signal_64.c 		err |= get_user(regs->gpr[4], (unsigned long __user *)&frame->pinfo);
regs              907 arch/powerpc/kernel/signal_64.c 		err |= get_user(regs->gpr[5], (unsigned long __user *)&frame->puc);
regs              908 arch/powerpc/kernel/signal_64.c 		regs->gpr[6] = (unsigned long) frame;
regs              910 arch/powerpc/kernel/signal_64.c 		regs->gpr[4] = (unsigned long)&frame->uc.uc_mcontext;
regs              919 arch/powerpc/kernel/signal_64.c 		printk_ratelimited(regs->msr & MSR_64BIT ? fmt64 : fmt32,
regs              921 arch/powerpc/kernel/signal_64.c 				   (long)frame, regs->nip, regs->link);
regs              411 arch/powerpc/kernel/smp.c int smp_handle_nmi_ipi(struct pt_regs *regs)
regs              433 arch/powerpc/kernel/smp.c 		fn(regs);
regs              549 arch/powerpc/kernel/smp.c void debugger_ipi_callback(struct pt_regs *regs)
regs              551 arch/powerpc/kernel/smp.c 	debugger_ipi(regs);
regs              586 arch/powerpc/kernel/smp.c static void nmi_stop_this_cpu(struct pt_regs *regs)
regs               85 arch/powerpc/kernel/stacktrace.c save_stack_trace_regs(struct pt_regs *regs, struct stack_trace *trace)
regs               87 arch/powerpc/kernel/stacktrace.c 	save_context_stack(trace, regs->gpr[1], current, 0);
regs              226 arch/powerpc/kernel/stacktrace.c static void handle_backtrace_ipi(struct pt_regs *regs)
regs              228 arch/powerpc/kernel/stacktrace.c 	nmi_cpu_backtrace(regs);
regs              125 arch/powerpc/kernel/syscalls.c 	current->thread.regs->msr ^= MSR_LE;
regs              127 arch/powerpc/kernel/tau_6xx.c void TAUException(struct pt_regs * regs)
regs              483 arch/powerpc/kernel/time.c unsigned long profile_pc(struct pt_regs *regs)
regs              485 arch/powerpc/kernel/time.c 	unsigned long pc = instruction_pointer(regs);
regs              488 arch/powerpc/kernel/time.c 		return regs->link;
regs              565 arch/powerpc/kernel/time.c void timer_interrupt(struct pt_regs *regs)
regs              603 arch/powerpc/kernel/time.c 		do_IRQ(regs);
regs              606 arch/powerpc/kernel/time.c 	old_regs = set_irq_regs(regs);
regs              608 arch/powerpc/kernel/time.c 	trace_timer_interrupt_entry(regs);
regs              631 arch/powerpc/kernel/time.c 	trace_timer_interrupt_exit(regs);
regs              653 arch/powerpc/kernel/time.c void hdec_interrupt(struct pt_regs *regs)
regs               73 arch/powerpc/kernel/traps.c int (*__debugger)(struct pt_regs *regs) __read_mostly;
regs               74 arch/powerpc/kernel/traps.c int (*__debugger_ipi)(struct pt_regs *regs) __read_mostly;
regs               75 arch/powerpc/kernel/traps.c int (*__debugger_bpt)(struct pt_regs *regs) __read_mostly;
regs               76 arch/powerpc/kernel/traps.c int (*__debugger_sstep)(struct pt_regs *regs) __read_mostly;
regs               77 arch/powerpc/kernel/traps.c int (*__debugger_iabr_match)(struct pt_regs *regs) __read_mostly;
regs               78 arch/powerpc/kernel/traps.c int (*__debugger_break_match)(struct pt_regs *regs) __read_mostly;
regs               79 arch/powerpc/kernel/traps.c int (*__debugger_fault_handler)(struct pt_regs *regs) __read_mostly;
regs              181 arch/powerpc/kernel/traps.c static unsigned long oops_begin(struct pt_regs *regs)
regs              207 arch/powerpc/kernel/traps.c static void oops_end(unsigned long flags, struct pt_regs *regs,
regs              225 arch/powerpc/kernel/traps.c 	if (TRAP(regs) == 0x100)
regs              228 arch/powerpc/kernel/traps.c 	crash_fadump(regs, "die oops");
regs              231 arch/powerpc/kernel/traps.c 		crash_kexec(regs);
regs              262 arch/powerpc/kernel/traps.c static int __die(const char *str, struct pt_regs *regs, long err)
regs              276 arch/powerpc/kernel/traps.c 	if (notify_die(DIE_OOPS, str, regs, err, 255, SIGSEGV) == NOTIFY_STOP)
regs              280 arch/powerpc/kernel/traps.c 	show_regs(regs);
regs              286 arch/powerpc/kernel/traps.c void die(const char *str, struct pt_regs *regs, long err)
regs              293 arch/powerpc/kernel/traps.c 	if (TRAP(regs) != 0x100) {
regs              294 arch/powerpc/kernel/traps.c 		if (debugger(regs))
regs              298 arch/powerpc/kernel/traps.c 	flags = oops_begin(regs);
regs              299 arch/powerpc/kernel/traps.c 	if (__die(str, regs, err))
regs              301 arch/powerpc/kernel/traps.c 	oops_end(flags, regs, err);
regs              305 arch/powerpc/kernel/traps.c void user_single_step_report(struct pt_regs *regs)
regs              307 arch/powerpc/kernel/traps.c 	force_sig_fault(SIGTRAP, TRAP_TRACE, (void __user *)regs->nip);
regs              310 arch/powerpc/kernel/traps.c static void show_signal_msg(int signr, struct pt_regs *regs, int code,
regs              327 arch/powerpc/kernel/traps.c 		addr, regs->nip, regs->link, code);
regs              329 arch/powerpc/kernel/traps.c 	print_vma_addr(KERN_CONT " in ", regs->nip);
regs              333 arch/powerpc/kernel/traps.c 	show_user_instructions(regs);
regs              336 arch/powerpc/kernel/traps.c static bool exception_common(int signr, struct pt_regs *regs, int code,
regs              339 arch/powerpc/kernel/traps.c 	if (!user_mode(regs)) {
regs              340 arch/powerpc/kernel/traps.c 		die("Exception in kernel mode", regs, signr);
regs              344 arch/powerpc/kernel/traps.c 	show_signal_msg(signr, regs, code, addr);
regs              346 arch/powerpc/kernel/traps.c 	if (arch_irqs_disabled() && !arch_irq_disabled_regs(regs))
regs              360 arch/powerpc/kernel/traps.c void _exception_pkey(struct pt_regs *regs, unsigned long addr, int key)
regs              362 arch/powerpc/kernel/traps.c 	if (!exception_common(SIGSEGV, regs, SEGV_PKUERR, addr))
regs              368 arch/powerpc/kernel/traps.c void _exception(int signr, struct pt_regs *regs, int code, unsigned long addr)
regs              370 arch/powerpc/kernel/traps.c 	if (!exception_common(signr, regs, code, addr))
regs              397 arch/powerpc/kernel/traps.c void hv_nmi_check_nonrecoverable(struct pt_regs *regs)
regs              401 arch/powerpc/kernel/traps.c 	unsigned long nip = regs->nip;
regs              403 arch/powerpc/kernel/traps.c 	if (!(regs->msr & MSR_RI))
regs              405 arch/powerpc/kernel/traps.c 	if (!(regs->msr & MSR_HV))
regs              407 arch/powerpc/kernel/traps.c 	if (regs->msr & MSR_PR)
regs              437 arch/powerpc/kernel/traps.c 	regs->msr &= ~MSR_RI;
regs              441 arch/powerpc/kernel/traps.c void system_reset_exception(struct pt_regs *regs)
regs              469 arch/powerpc/kernel/traps.c 	hv_nmi_check_nonrecoverable(regs);
regs              475 arch/powerpc/kernel/traps.c 		if (ppc_md.system_reset_exception(regs))
regs              479 arch/powerpc/kernel/traps.c 	if (debugger(regs))
regs              488 arch/powerpc/kernel/traps.c 	crash_fadump(regs, "System Reset");
regs              490 arch/powerpc/kernel/traps.c 	crash_kexec(regs);
regs              497 arch/powerpc/kernel/traps.c 	crash_kexec_secondary(regs);
regs              503 arch/powerpc/kernel/traps.c 	die("System Reset", regs, SIGABRT);
regs              507 arch/powerpc/kernel/traps.c 	nmi_panic(regs, "System Reset");
regs              513 arch/powerpc/kernel/traps.c 		nmi_panic(regs, "Unrecoverable nested System Reset");
regs              516 arch/powerpc/kernel/traps.c 	if (!(regs->msr & MSR_RI))
regs              517 arch/powerpc/kernel/traps.c 		nmi_panic(regs, "Unrecoverable System Reset");
regs              540 arch/powerpc/kernel/traps.c static inline int check_io_access(struct pt_regs *regs)
regs              543 arch/powerpc/kernel/traps.c 	unsigned long msr = regs->msr;
regs              545 arch/powerpc/kernel/traps.c 	unsigned int *nip = (unsigned int *)regs->nip;
regs              548 arch/powerpc/kernel/traps.c 	    && (entry = search_exception_tables(regs->nip)) != NULL) {
regs              568 arch/powerpc/kernel/traps.c 			       regs->gpr[rb] - _IO_BASE, nip);
regs              569 arch/powerpc/kernel/traps.c 			regs->msr |= MSR_RI;
regs              570 arch/powerpc/kernel/traps.c 			regs->nip = extable_fixup(entry);
regs              581 arch/powerpc/kernel/traps.c #define get_reason(regs)	((regs)->dsisr)
regs              588 arch/powerpc/kernel/traps.c #define single_stepping(regs)	(current->thread.debug.dbcr0 & DBCR0_IC)
regs              589 arch/powerpc/kernel/traps.c #define clear_single_step(regs)	(current->thread.debug.dbcr0 &= ~DBCR0_IC)
regs              590 arch/powerpc/kernel/traps.c #define clear_br_trace(regs)	do {} while(0)
regs              594 arch/powerpc/kernel/traps.c #define get_reason(regs)	((regs)->msr)
regs              601 arch/powerpc/kernel/traps.c #define single_stepping(regs)	((regs)->msr & MSR_SE)
regs              602 arch/powerpc/kernel/traps.c #define clear_single_step(regs)	((regs)->msr &= ~MSR_SE)
regs              603 arch/powerpc/kernel/traps.c #define clear_br_trace(regs)	((regs)->msr &= ~MSR_BE)
regs              607 arch/powerpc/kernel/traps.c int machine_check_e500mc(struct pt_regs *regs)
regs              615 arch/powerpc/kernel/traps.c 		recoverable = fsl_rio_mcheck_exception(regs);
regs              714 arch/powerpc/kernel/traps.c int machine_check_e500(struct pt_regs *regs)
regs              719 arch/powerpc/kernel/traps.c 		if (fsl_rio_mcheck_exception(regs))
regs              721 arch/powerpc/kernel/traps.c 		if (fsl_pci_mcheck_exception(regs))
regs              756 arch/powerpc/kernel/traps.c int machine_check_generic(struct pt_regs *regs)
regs              761 arch/powerpc/kernel/traps.c int machine_check_e200(struct pt_regs *regs)
regs              786 arch/powerpc/kernel/traps.c int machine_check_generic(struct pt_regs *regs)
regs              788 arch/powerpc/kernel/traps.c 	unsigned long reason = regs->msr;
regs              823 arch/powerpc/kernel/traps.c void machine_check_exception(struct pt_regs *regs)
regs              841 arch/powerpc/kernel/traps.c 		recover = ppc_md.machine_check_exception(regs);
regs              843 arch/powerpc/kernel/traps.c 		recover = cur_cpu_spec->machine_check(regs);
regs              848 arch/powerpc/kernel/traps.c 	if (debugger_fault_handler(regs))
regs              851 arch/powerpc/kernel/traps.c 	if (check_io_access(regs))
regs              857 arch/powerpc/kernel/traps.c 	die("Machine check", regs, SIGBUS);
regs              860 arch/powerpc/kernel/traps.c 	if (!(regs->msr & MSR_RI))
regs              861 arch/powerpc/kernel/traps.c 		nmi_panic(regs, "Unrecoverable Machine check");
regs              870 arch/powerpc/kernel/traps.c void SMIException(struct pt_regs *regs)
regs              872 arch/powerpc/kernel/traps.c 	die("System Management Interrupt", regs, SIGABRT);
regs              876 arch/powerpc/kernel/traps.c static void p9_hmi_special_emu(struct pt_regs *regs)
regs              884 arch/powerpc/kernel/traps.c 	if (__get_user_inatomic(instr, (unsigned int __user *)regs->nip))
regs              897 arch/powerpc/kernel/traps.c 			 regs->nip, instr);
regs              902 arch/powerpc/kernel/traps.c 	msr = regs->msr; /* Grab msr before we flush the bits */
regs              922 arch/powerpc/kernel/traps.c 	ea = regs->gpr[rb] + (ra ? regs->gpr[ra] : 0);
regs              932 arch/powerpc/kernel/traps.c 			 regs->nip, instr, (unsigned long)addr);
regs              947 arch/powerpc/kernel/traps.c 			 regs->nip, instr, (unsigned long)addr);
regs              953 arch/powerpc/kernel/traps.c 		 smp_processor_id(), current->comm, current->pid, regs->nip,
regs              973 arch/powerpc/kernel/traps.c 			 regs->nip, instr, msr);
regs              980 arch/powerpc/kernel/traps.c 		PPC_WARN_EMULATED(lxvw4x, regs);
regs              983 arch/powerpc/kernel/traps.c 		PPC_WARN_EMULATED(lxvh8x, regs);
regs              986 arch/powerpc/kernel/traps.c 		PPC_WARN_EMULATED(lxvd2x, regs);
regs              989 arch/powerpc/kernel/traps.c 		PPC_WARN_EMULATED(lxvb16x, regs);
regs             1052 arch/powerpc/kernel/traps.c 	regs->nip += 4;
regs             1056 arch/powerpc/kernel/traps.c void handle_hmi_exception(struct pt_regs *regs)
regs             1060 arch/powerpc/kernel/traps.c 	old_regs = set_irq_regs(regs);
regs             1073 arch/powerpc/kernel/traps.c 		p9_hmi_special_emu(regs);
regs             1079 arch/powerpc/kernel/traps.c 		ppc_md.handle_hmi_exception(regs);
regs             1085 arch/powerpc/kernel/traps.c void unknown_exception(struct pt_regs *regs)
regs             1090 arch/powerpc/kernel/traps.c 	       regs->nip, regs->msr, regs->trap);
regs             1092 arch/powerpc/kernel/traps.c 	_exception(SIGTRAP, regs, TRAP_UNK, 0);
regs             1097 arch/powerpc/kernel/traps.c void instruction_breakpoint_exception(struct pt_regs *regs)
regs             1101 arch/powerpc/kernel/traps.c 	if (notify_die(DIE_IABR_MATCH, "iabr_match", regs, 5,
regs             1104 arch/powerpc/kernel/traps.c 	if (debugger_iabr_match(regs))
regs             1106 arch/powerpc/kernel/traps.c 	_exception(SIGTRAP, regs, TRAP_BRKPT, regs->nip);
regs             1112 arch/powerpc/kernel/traps.c void RunModeException(struct pt_regs *regs)
regs             1114 arch/powerpc/kernel/traps.c 	_exception(SIGTRAP, regs, TRAP_UNK, 0);
regs             1117 arch/powerpc/kernel/traps.c void single_step_exception(struct pt_regs *regs)
regs             1121 arch/powerpc/kernel/traps.c 	clear_single_step(regs);
regs             1122 arch/powerpc/kernel/traps.c 	clear_br_trace(regs);
regs             1124 arch/powerpc/kernel/traps.c 	if (kprobe_post_handler(regs))
regs             1127 arch/powerpc/kernel/traps.c 	if (notify_die(DIE_SSTEP, "single_step", regs, 5,
regs             1130 arch/powerpc/kernel/traps.c 	if (debugger_sstep(regs))
regs             1133 arch/powerpc/kernel/traps.c 	_exception(SIGTRAP, regs, TRAP_TRACE, regs->nip);
regs             1146 arch/powerpc/kernel/traps.c static void emulate_single_step(struct pt_regs *regs)
regs             1148 arch/powerpc/kernel/traps.c 	if (single_stepping(regs))
regs             1149 arch/powerpc/kernel/traps.c 		single_step_exception(regs);
regs             1179 arch/powerpc/kernel/traps.c static void parse_fpe(struct pt_regs *regs)
regs             1187 arch/powerpc/kernel/traps.c 	_exception(SIGFPE, regs, code, regs->nip);
regs             1201 arch/powerpc/kernel/traps.c static int emulate_string_inst(struct pt_regs *regs, u32 instword)
regs             1215 arch/powerpc/kernel/traps.c 	EA = (rA == 0) ? 0 : regs->gpr[rA];
regs             1221 arch/powerpc/kernel/traps.c 			num_bytes = regs->xer & 0x7f;
regs             1237 arch/powerpc/kernel/traps.c 		if ((regs->msr & MSR_64BIT) == 0)
regs             1248 arch/powerpc/kernel/traps.c 					regs->gpr[rT] = 0;
regs             1249 arch/powerpc/kernel/traps.c 				regs->gpr[rT] |= val << shift;
regs             1253 arch/powerpc/kernel/traps.c 				val = regs->gpr[rT] >> shift;
regs             1273 arch/powerpc/kernel/traps.c static int emulate_popcntb_inst(struct pt_regs *regs, u32 instword)
regs             1281 arch/powerpc/kernel/traps.c 	tmp = regs->gpr[rs];
regs             1285 arch/powerpc/kernel/traps.c 	regs->gpr[ra] = tmp;
regs             1290 arch/powerpc/kernel/traps.c static int emulate_isel(struct pt_regs *regs, u32 instword)
regs             1299 arch/powerpc/kernel/traps.c 	tmp = (rA == 0) ? 0 : regs->gpr[rA];
regs             1300 arch/powerpc/kernel/traps.c 	bit = (regs->ccr >> (31 - BC)) & 0x1;
regs             1302 arch/powerpc/kernel/traps.c 	regs->gpr[rT] = bit ? tmp : regs->gpr[rB];
regs             1308 arch/powerpc/kernel/traps.c static inline bool tm_abort_check(struct pt_regs *regs, int cause)
regs             1315 arch/powerpc/kernel/traps.c 	if (MSR_TM_TRANSACTIONAL(regs->msr)) {
regs             1323 arch/powerpc/kernel/traps.c static inline bool tm_abort_check(struct pt_regs *regs, int reason)
regs             1329 arch/powerpc/kernel/traps.c static int emulate_instruction(struct pt_regs *regs)
regs             1334 arch/powerpc/kernel/traps.c 	if (!user_mode(regs))
regs             1336 arch/powerpc/kernel/traps.c 	CHECK_FULL_REGS(regs);
regs             1338 arch/powerpc/kernel/traps.c 	if (get_user(instword, (u32 __user *)(regs->nip)))
regs             1343 arch/powerpc/kernel/traps.c 		PPC_WARN_EMULATED(mfpvr, regs);
regs             1345 arch/powerpc/kernel/traps.c 		regs->gpr[rd] = mfspr(SPRN_PVR);
regs             1351 arch/powerpc/kernel/traps.c 		PPC_WARN_EMULATED(dcba, regs);
regs             1360 arch/powerpc/kernel/traps.c 		PPC_WARN_EMULATED(mcrxr, regs);
regs             1361 arch/powerpc/kernel/traps.c 		regs->ccr = (regs->ccr & ~msk) | ((regs->xer >> shift) & msk);
regs             1362 arch/powerpc/kernel/traps.c 		regs->xer &= ~0xf0000000UL;
regs             1368 arch/powerpc/kernel/traps.c 		if (tm_abort_check(regs,
regs             1371 arch/powerpc/kernel/traps.c 		PPC_WARN_EMULATED(string, regs);
regs             1372 arch/powerpc/kernel/traps.c 		return emulate_string_inst(regs, instword);
regs             1377 arch/powerpc/kernel/traps.c 		PPC_WARN_EMULATED(popcntb, regs);
regs             1378 arch/powerpc/kernel/traps.c 		return emulate_popcntb_inst(regs, instword);
regs             1383 arch/powerpc/kernel/traps.c 		PPC_WARN_EMULATED(isel, regs);
regs             1384 arch/powerpc/kernel/traps.c 		return emulate_isel(regs, instword);
regs             1389 arch/powerpc/kernel/traps.c 		PPC_WARN_EMULATED(sync, regs);
regs             1401 arch/powerpc/kernel/traps.c 		PPC_WARN_EMULATED(mfdscr, regs);
regs             1403 arch/powerpc/kernel/traps.c 		regs->gpr[rd] = mfspr(SPRN_DSCR);
regs             1412 arch/powerpc/kernel/traps.c 		PPC_WARN_EMULATED(mtdscr, regs);
regs             1414 arch/powerpc/kernel/traps.c 		current->thread.dscr = regs->gpr[rd];
regs             1430 arch/powerpc/kernel/traps.c static int emulate_math(struct pt_regs *regs)
regs             1433 arch/powerpc/kernel/traps.c 	extern int do_mathemu(struct pt_regs *regs);
regs             1435 arch/powerpc/kernel/traps.c 	ret = do_mathemu(regs);
regs             1437 arch/powerpc/kernel/traps.c 		PPC_WARN_EMULATED(math, regs);
regs             1441 arch/powerpc/kernel/traps.c 		emulate_single_step(regs);
regs             1446 arch/powerpc/kernel/traps.c 			_exception(SIGFPE, regs, code, regs->nip);
regs             1450 arch/powerpc/kernel/traps.c 		_exception(SIGSEGV, regs, SEGV_MAPERR, regs->nip);
regs             1457 arch/powerpc/kernel/traps.c static inline int emulate_math(struct pt_regs *regs) { return -1; }
regs             1460 arch/powerpc/kernel/traps.c void program_check_exception(struct pt_regs *regs)
regs             1463 arch/powerpc/kernel/traps.c 	unsigned int reason = get_reason(regs);
regs             1470 arch/powerpc/kernel/traps.c 		parse_fpe(regs);
regs             1477 arch/powerpc/kernel/traps.c 		if (debugger_bpt(regs))
regs             1480 arch/powerpc/kernel/traps.c 		if (kprobe_handler(regs))
regs             1484 arch/powerpc/kernel/traps.c 		if (notify_die(DIE_BPT, "breakpoint", regs, 5, 5, SIGTRAP)
regs             1488 arch/powerpc/kernel/traps.c 		bugaddr = regs->nip;
regs             1492 arch/powerpc/kernel/traps.c 		if (!is_kernel_addr(bugaddr) && !(regs->msr & MSR_IR))
regs             1495 arch/powerpc/kernel/traps.c 		if (!(regs->msr & MSR_PR) &&  /* not user-mode */
regs             1496 arch/powerpc/kernel/traps.c 		    report_bug(bugaddr, regs) == BUG_TRAP_TYPE_WARN) {
regs             1497 arch/powerpc/kernel/traps.c 			regs->nip += 4;
regs             1500 arch/powerpc/kernel/traps.c 		_exception(SIGTRAP, regs, TRAP_BRKPT, regs->nip);
regs             1520 arch/powerpc/kernel/traps.c 		if (user_mode(regs)) {
regs             1521 arch/powerpc/kernel/traps.c 			_exception(SIGILL, regs, ILL_ILLOPN, regs->nip);
regs             1526 arch/powerpc/kernel/traps.c 			       regs->nip, regs->msr, get_paca()->tm_scratch);
regs             1527 arch/powerpc/kernel/traps.c 			die("Unrecoverable exception", regs, SIGABRT);
regs             1539 arch/powerpc/kernel/traps.c 	if (!user_mode(regs))
regs             1543 arch/powerpc/kernel/traps.c 	if (!arch_irq_disabled_regs(regs))
regs             1554 arch/powerpc/kernel/traps.c 	if (!emulate_math(regs))
regs             1559 arch/powerpc/kernel/traps.c 		switch (emulate_instruction(regs)) {
regs             1561 arch/powerpc/kernel/traps.c 			regs->nip += 4;
regs             1562 arch/powerpc/kernel/traps.c 			emulate_single_step(regs);
regs             1565 arch/powerpc/kernel/traps.c 			_exception(SIGSEGV, regs, SEGV_MAPERR, regs->nip);
regs             1572 arch/powerpc/kernel/traps.c 		_exception(SIGILL, regs, ILL_PRVOPC, regs->nip);
regs             1574 arch/powerpc/kernel/traps.c 		_exception(SIGILL, regs, ILL_ILLOPC, regs->nip);
regs             1585 arch/powerpc/kernel/traps.c void emulation_assist_interrupt(struct pt_regs *regs)
regs             1587 arch/powerpc/kernel/traps.c 	regs->msr |= REASON_ILLEGAL;
regs             1588 arch/powerpc/kernel/traps.c 	program_check_exception(regs);
regs             1592 arch/powerpc/kernel/traps.c void alignment_exception(struct pt_regs *regs)
regs             1598 arch/powerpc/kernel/traps.c 	if (!arch_irq_disabled_regs(regs))
regs             1601 arch/powerpc/kernel/traps.c 	if (tm_abort_check(regs, TM_CAUSE_ALIGNMENT | TM_CAUSE_PERSISTENT))
regs             1606 arch/powerpc/kernel/traps.c 		fixed = fix_alignment(regs);
regs             1609 arch/powerpc/kernel/traps.c 		regs->nip += 4;	/* skip over emulated instruction */
regs             1610 arch/powerpc/kernel/traps.c 		emulate_single_step(regs);
regs             1622 arch/powerpc/kernel/traps.c 	if (user_mode(regs))
regs             1623 arch/powerpc/kernel/traps.c 		_exception(sig, regs, code, regs->dar);
regs             1625 arch/powerpc/kernel/traps.c 		bad_page_fault(regs, regs->dar, sig);
regs             1631 arch/powerpc/kernel/traps.c void StackOverflow(struct pt_regs *regs)
regs             1634 arch/powerpc/kernel/traps.c 		current->comm, task_pid_nr(current), regs->gpr[1]);
regs             1635 arch/powerpc/kernel/traps.c 	debugger(regs);
regs             1636 arch/powerpc/kernel/traps.c 	show_regs(regs);
regs             1640 arch/powerpc/kernel/traps.c void kernel_fp_unavailable_exception(struct pt_regs *regs)
regs             1645 arch/powerpc/kernel/traps.c 			  "%lx at %lx\n", regs->trap, regs->nip);
regs             1646 arch/powerpc/kernel/traps.c 	die("Unrecoverable FP Unavailable Exception", regs, SIGABRT);
regs             1651 arch/powerpc/kernel/traps.c void altivec_unavailable_exception(struct pt_regs *regs)
regs             1655 arch/powerpc/kernel/traps.c 	if (user_mode(regs)) {
regs             1658 arch/powerpc/kernel/traps.c 		_exception(SIGILL, regs, ILL_ILLOPC, regs->nip);
regs             1663 arch/powerpc/kernel/traps.c 			"%lx at %lx\n", regs->trap, regs->nip);
regs             1664 arch/powerpc/kernel/traps.c 	die("Unrecoverable VMX/Altivec Unavailable Exception", regs, SIGABRT);
regs             1670 arch/powerpc/kernel/traps.c void vsx_unavailable_exception(struct pt_regs *regs)
regs             1672 arch/powerpc/kernel/traps.c 	if (user_mode(regs)) {
regs             1675 arch/powerpc/kernel/traps.c 		_exception(SIGILL, regs, ILL_ILLOPC, regs->nip);
regs             1680 arch/powerpc/kernel/traps.c 			"%lx at %lx\n", regs->trap, regs->nip);
regs             1681 arch/powerpc/kernel/traps.c 	die("Unrecoverable VSX Unavailable Exception", regs, SIGABRT);
regs             1685 arch/powerpc/kernel/traps.c static void tm_unavailable(struct pt_regs *regs)
regs             1688 arch/powerpc/kernel/traps.c 	if (user_mode(regs)) {
regs             1690 arch/powerpc/kernel/traps.c 		regs->msr |= MSR_TM;
regs             1697 arch/powerpc/kernel/traps.c 			"%lx at %lx\n", regs->trap, regs->nip);
regs             1698 arch/powerpc/kernel/traps.c 	die("Unrecoverable TM Unavailable Exception", regs, SIGABRT);
regs             1701 arch/powerpc/kernel/traps.c void facility_unavailable_exception(struct pt_regs *regs)
regs             1721 arch/powerpc/kernel/traps.c 	hv = (TRAP(regs) == 0xf80);
regs             1734 arch/powerpc/kernel/traps.c 	if (!user_mode(regs)) {
regs             1736 arch/powerpc/kernel/traps.c 			 facility, status, regs->nip);
regs             1737 arch/powerpc/kernel/traps.c 		die("Unexpected facility unavailable exception", regs, SIGABRT);
regs             1741 arch/powerpc/kernel/traps.c 	if (!arch_irq_disabled_regs(regs))
regs             1761 arch/powerpc/kernel/traps.c 		if (get_user(instword, (u32 __user *)(regs->nip))) {
regs             1770 arch/powerpc/kernel/traps.c 			current->thread.dscr = regs->gpr[rd];
regs             1779 arch/powerpc/kernel/traps.c 			if (emulate_instruction(regs)) {
regs             1783 arch/powerpc/kernel/traps.c 			regs->nip += 4;
regs             1784 arch/powerpc/kernel/traps.c 			emulate_single_step(regs);
regs             1806 arch/powerpc/kernel/traps.c 		tm_unavailable(regs);
regs             1811 arch/powerpc/kernel/traps.c 		hv ? "Hypervisor " : "", facility, status, regs->nip, regs->msr);
regs             1814 arch/powerpc/kernel/traps.c 	_exception(SIGILL, regs, ILL_ILLOPC, regs->nip);
regs             1820 arch/powerpc/kernel/traps.c void fp_unavailable_tm(struct pt_regs *regs)
regs             1825 arch/powerpc/kernel/traps.c 		 regs->nip, regs->msr);
regs             1853 arch/powerpc/kernel/traps.c void altivec_unavailable_tm(struct pt_regs *regs)
regs             1861 arch/powerpc/kernel/traps.c 		 regs->nip, regs->msr);
regs             1868 arch/powerpc/kernel/traps.c void vsx_unavailable_tm(struct pt_regs *regs)
regs             1879 arch/powerpc/kernel/traps.c 		 regs->nip, regs->msr);
regs             1893 arch/powerpc/kernel/traps.c void performance_monitor_exception(struct pt_regs *regs)
regs             1897 arch/powerpc/kernel/traps.c 	perf_irq(regs);
regs             1901 arch/powerpc/kernel/traps.c static void handle_debug(struct pt_regs *regs, unsigned long debug_status)
regs             1913 arch/powerpc/kernel/traps.c 		do_send_trap(regs, mfspr(SPRN_DAC1), debug_status,
regs             1918 arch/powerpc/kernel/traps.c 		do_send_trap(regs, mfspr(SPRN_DAC2), debug_status,
regs             1924 arch/powerpc/kernel/traps.c 		do_send_trap(regs, mfspr(SPRN_IAC1), debug_status,
regs             1929 arch/powerpc/kernel/traps.c 		do_send_trap(regs, mfspr(SPRN_IAC2), debug_status,
regs             1935 arch/powerpc/kernel/traps.c 		do_send_trap(regs, mfspr(SPRN_IAC3), debug_status,
regs             1940 arch/powerpc/kernel/traps.c 		do_send_trap(regs, mfspr(SPRN_IAC4), debug_status,
regs             1951 arch/powerpc/kernel/traps.c 		regs->msr |= MSR_DE;
regs             1960 arch/powerpc/kernel/traps.c void DebugException(struct pt_regs *regs, unsigned long debug_status)
regs             1970 arch/powerpc/kernel/traps.c 		regs->msr &= ~MSR_DE;
regs             1978 arch/powerpc/kernel/traps.c 		if (user_mode(regs)) {
regs             1981 arch/powerpc/kernel/traps.c 			regs->msr |= MSR_DE;
regs             1985 arch/powerpc/kernel/traps.c 		if (kprobe_post_handler(regs))
regs             1988 arch/powerpc/kernel/traps.c 		if (notify_die(DIE_SSTEP, "block_step", regs, 5,
regs             1992 arch/powerpc/kernel/traps.c 		if (debugger_sstep(regs))
regs             1995 arch/powerpc/kernel/traps.c 		regs->msr &= ~MSR_DE;
regs             2002 arch/powerpc/kernel/traps.c 		if (kprobe_post_handler(regs))
regs             2005 arch/powerpc/kernel/traps.c 		if (notify_die(DIE_SSTEP, "single_step", regs, 5,
regs             2010 arch/powerpc/kernel/traps.c 		if (debugger_sstep(regs))
regs             2013 arch/powerpc/kernel/traps.c 		if (user_mode(regs)) {
regs             2017 arch/powerpc/kernel/traps.c 				regs->msr |= MSR_DE;
regs             2023 arch/powerpc/kernel/traps.c 		_exception(SIGTRAP, regs, TRAP_TRACE, regs->nip);
regs             2025 arch/powerpc/kernel/traps.c 		handle_debug(regs, debug_status);
regs             2031 arch/powerpc/kernel/traps.c void TAUException(struct pt_regs *regs)
regs             2034 arch/powerpc/kernel/traps.c 	       regs->nip, regs->msr, regs->trap, print_tainted());
regs             2039 arch/powerpc/kernel/traps.c void altivec_assist_exception(struct pt_regs *regs)
regs             2043 arch/powerpc/kernel/traps.c 	if (!user_mode(regs)) {
regs             2045 arch/powerpc/kernel/traps.c 		       " at %lx\n", regs->nip);
regs             2046 arch/powerpc/kernel/traps.c 		die("Kernel VMX/Altivec assist exception", regs, SIGILL);
regs             2051 arch/powerpc/kernel/traps.c 	PPC_WARN_EMULATED(altivec, regs);
regs             2052 arch/powerpc/kernel/traps.c 	err = emulate_altivec(regs);
regs             2054 arch/powerpc/kernel/traps.c 		regs->nip += 4;		/* skip emulated instruction */
regs             2055 arch/powerpc/kernel/traps.c 		emulate_single_step(regs);
regs             2061 arch/powerpc/kernel/traps.c 		_exception(SIGSEGV, regs, SEGV_ACCERR, regs->nip);
regs             2066 arch/powerpc/kernel/traps.c 				   "in %s at %lx\n", current->comm, regs->nip);
regs             2073 arch/powerpc/kernel/traps.c void CacheLockingException(struct pt_regs *regs, unsigned long address,
regs             2081 arch/powerpc/kernel/traps.c 		_exception(SIGILL, regs, ILL_PRVOPC, regs->nip);
regs             2087 arch/powerpc/kernel/traps.c void SPEFloatingPointException(struct pt_regs *regs)
regs             2089 arch/powerpc/kernel/traps.c 	extern int do_spe_mathemu(struct pt_regs *regs);
regs             2096 arch/powerpc/kernel/traps.c 	if (!arch_irq_disabled_regs(regs))
regs             2118 arch/powerpc/kernel/traps.c 	err = do_spe_mathemu(regs);
regs             2120 arch/powerpc/kernel/traps.c 		regs->nip += 4;		/* skip emulated instruction */
regs             2121 arch/powerpc/kernel/traps.c 		emulate_single_step(regs);
regs             2127 arch/powerpc/kernel/traps.c 		_exception(SIGSEGV, regs, SEGV_ACCERR, regs->nip);
regs             2131 arch/powerpc/kernel/traps.c 		       "in %s at %lx\n", current->comm, regs->nip);
regs             2133 arch/powerpc/kernel/traps.c 		_exception(SIGFPE, regs, code, regs->nip);
regs             2139 arch/powerpc/kernel/traps.c void SPEFloatingPointRoundException(struct pt_regs *regs)
regs             2141 arch/powerpc/kernel/traps.c 	extern int speround_handler(struct pt_regs *regs);
regs             2145 arch/powerpc/kernel/traps.c 	if (!arch_irq_disabled_regs(regs))
regs             2149 arch/powerpc/kernel/traps.c 	if (regs->msr & MSR_SPE)
regs             2153 arch/powerpc/kernel/traps.c 	regs->nip -= 4;
regs             2154 arch/powerpc/kernel/traps.c 	err = speround_handler(regs);
regs             2156 arch/powerpc/kernel/traps.c 		regs->nip += 4;		/* skip emulated instruction */
regs             2157 arch/powerpc/kernel/traps.c 		emulate_single_step(regs);
regs             2163 arch/powerpc/kernel/traps.c 		_exception(SIGSEGV, regs, SEGV_ACCERR, regs->nip);
regs             2167 arch/powerpc/kernel/traps.c 		       "in %s at %lx\n", current->comm, regs->nip);
regs             2169 arch/powerpc/kernel/traps.c 		_exception(SIGFPE, regs, FPE_FLTUNK, regs->nip);
regs             2181 arch/powerpc/kernel/traps.c void unrecoverable_exception(struct pt_regs *regs)
regs             2184 arch/powerpc/kernel/traps.c 		 regs->trap, regs->nip, regs->msr);
regs             2185 arch/powerpc/kernel/traps.c 	die("Unrecoverable exception", regs, SIGABRT);
regs             2194 arch/powerpc/kernel/traps.c void __attribute__ ((weak)) WatchdogHandler(struct pt_regs *regs)
regs             2201 arch/powerpc/kernel/traps.c void WatchdogException(struct pt_regs *regs)
regs             2204 arch/powerpc/kernel/traps.c 	WatchdogHandler(regs);
regs             2212 arch/powerpc/kernel/traps.c void kernel_bad_stack(struct pt_regs *regs)
regs             2215 arch/powerpc/kernel/traps.c 	       regs->gpr[1], regs->nip);
regs             2216 arch/powerpc/kernel/traps.c 	die("Bad kernel stack pointer", regs, SIGABRT);
regs               51 arch/powerpc/kernel/uprobes.c int arch_uprobe_pre_xol(struct arch_uprobe *auprobe, struct pt_regs *regs)
regs               57 arch/powerpc/kernel/uprobes.c 	regs->nip = current->utask->xol_vaddr;
regs               69 arch/powerpc/kernel/uprobes.c unsigned long uprobe_get_swbp_addr(struct pt_regs *regs)
regs               71 arch/powerpc/kernel/uprobes.c 	return instruction_pointer(regs);
regs               99 arch/powerpc/kernel/uprobes.c int arch_uprobe_post_xol(struct arch_uprobe *auprobe, struct pt_regs *regs)
regs              114 arch/powerpc/kernel/uprobes.c 	regs->nip = utask->vaddr + MAX_UINSN_BYTES;
regs              125 arch/powerpc/kernel/uprobes.c 	struct pt_regs *regs = args->regs;
regs              128 arch/powerpc/kernel/uprobes.c 	if (WARN_ON(!regs))
regs              132 arch/powerpc/kernel/uprobes.c 	if (!user_mode(regs))
regs              137 arch/powerpc/kernel/uprobes.c 		if (uprobe_pre_sstep_notifier(regs))
regs              141 arch/powerpc/kernel/uprobes.c 		if (uprobe_post_sstep_notifier(regs))
regs              154 arch/powerpc/kernel/uprobes.c void arch_uprobe_abort_xol(struct arch_uprobe *auprobe, struct pt_regs *regs)
regs              159 arch/powerpc/kernel/uprobes.c 	instruction_pointer_set(regs, utask->vaddr);
regs              168 arch/powerpc/kernel/uprobes.c bool arch_uprobe_skip_sstep(struct arch_uprobe *auprobe, struct pt_regs *regs)
regs              176 arch/powerpc/kernel/uprobes.c 	ret = emulate_step(regs, auprobe->insn);
regs              184 arch/powerpc/kernel/uprobes.c arch_uretprobe_hijack_return_addr(unsigned long trampoline_vaddr, struct pt_regs *regs)
regs              188 arch/powerpc/kernel/uprobes.c 	orig_ret_vaddr = regs->link;
regs              191 arch/powerpc/kernel/uprobes.c 	regs->link = trampoline_vaddr;
regs              197 arch/powerpc/kernel/uprobes.c 				struct pt_regs *regs)
regs              200 arch/powerpc/kernel/uprobes.c 		return regs->gpr[1] <= ret->stack;
regs              202 arch/powerpc/kernel/uprobes.c 		return regs->gpr[1] < ret->stack;
regs              261 arch/powerpc/kernel/vecemu.c int emulate_altivec(struct pt_regs *regs)
regs              267 arch/powerpc/kernel/vecemu.c 	if (get_user(instr, (unsigned int __user *) regs->nip))
regs              112 arch/powerpc/kernel/watchdog.c static void wd_lockup_ipi(struct pt_regs *regs)
regs              123 arch/powerpc/kernel/watchdog.c 	if (regs)
regs              124 arch/powerpc/kernel/watchdog.c 		show_regs(regs);
regs              205 arch/powerpc/kernel/watchdog.c 			struct pt_regs *regs = get_irq_regs();
regs              213 arch/powerpc/kernel/watchdog.c 			if (regs)
regs              214 arch/powerpc/kernel/watchdog.c 				show_regs(regs);
regs              250 arch/powerpc/kernel/watchdog.c void soft_nmi_interrupt(struct pt_regs *regs)
regs              273 arch/powerpc/kernel/watchdog.c 			 cpu, (void *)regs->nip);
regs              279 arch/powerpc/kernel/watchdog.c 		show_regs(regs);
regs              287 arch/powerpc/kernel/watchdog.c 			nmi_panic(regs, "Hard LOCKUP");
regs              537 arch/powerpc/kvm/book3s.c int kvm_arch_vcpu_ioctl_get_regs(struct kvm_vcpu *vcpu, struct kvm_regs *regs)
regs              541 arch/powerpc/kvm/book3s.c 	regs->pc = kvmppc_get_pc(vcpu);
regs              542 arch/powerpc/kvm/book3s.c 	regs->cr = kvmppc_get_cr(vcpu);
regs              543 arch/powerpc/kvm/book3s.c 	regs->ctr = kvmppc_get_ctr(vcpu);
regs              544 arch/powerpc/kvm/book3s.c 	regs->lr = kvmppc_get_lr(vcpu);
regs              545 arch/powerpc/kvm/book3s.c 	regs->xer = kvmppc_get_xer(vcpu);
regs              546 arch/powerpc/kvm/book3s.c 	regs->msr = kvmppc_get_msr(vcpu);
regs              547 arch/powerpc/kvm/book3s.c 	regs->srr0 = kvmppc_get_srr0(vcpu);
regs              548 arch/powerpc/kvm/book3s.c 	regs->srr1 = kvmppc_get_srr1(vcpu);
regs              549 arch/powerpc/kvm/book3s.c 	regs->pid = vcpu->arch.pid;
regs              550 arch/powerpc/kvm/book3s.c 	regs->sprg0 = kvmppc_get_sprg0(vcpu);
regs              551 arch/powerpc/kvm/book3s.c 	regs->sprg1 = kvmppc_get_sprg1(vcpu);
regs              552 arch/powerpc/kvm/book3s.c 	regs->sprg2 = kvmppc_get_sprg2(vcpu);
regs              553 arch/powerpc/kvm/book3s.c 	regs->sprg3 = kvmppc_get_sprg3(vcpu);
regs              554 arch/powerpc/kvm/book3s.c 	regs->sprg4 = kvmppc_get_sprg4(vcpu);
regs              555 arch/powerpc/kvm/book3s.c 	regs->sprg5 = kvmppc_get_sprg5(vcpu);
regs              556 arch/powerpc/kvm/book3s.c 	regs->sprg6 = kvmppc_get_sprg6(vcpu);
regs              557 arch/powerpc/kvm/book3s.c 	regs->sprg7 = kvmppc_get_sprg7(vcpu);
regs              559 arch/powerpc/kvm/book3s.c 	for (i = 0; i < ARRAY_SIZE(regs->gpr); i++)
regs              560 arch/powerpc/kvm/book3s.c 		regs->gpr[i] = kvmppc_get_gpr(vcpu, i);
regs              565 arch/powerpc/kvm/book3s.c int kvm_arch_vcpu_ioctl_set_regs(struct kvm_vcpu *vcpu, struct kvm_regs *regs)
regs              569 arch/powerpc/kvm/book3s.c 	kvmppc_set_pc(vcpu, regs->pc);
regs              570 arch/powerpc/kvm/book3s.c 	kvmppc_set_cr(vcpu, regs->cr);
regs              571 arch/powerpc/kvm/book3s.c 	kvmppc_set_ctr(vcpu, regs->ctr);
regs              572 arch/powerpc/kvm/book3s.c 	kvmppc_set_lr(vcpu, regs->lr);
regs              573 arch/powerpc/kvm/book3s.c 	kvmppc_set_xer(vcpu, regs->xer);
regs              574 arch/powerpc/kvm/book3s.c 	kvmppc_set_msr(vcpu, regs->msr);
regs              575 arch/powerpc/kvm/book3s.c 	kvmppc_set_srr0(vcpu, regs->srr0);
regs              576 arch/powerpc/kvm/book3s.c 	kvmppc_set_srr1(vcpu, regs->srr1);
regs              577 arch/powerpc/kvm/book3s.c 	kvmppc_set_sprg0(vcpu, regs->sprg0);
regs              578 arch/powerpc/kvm/book3s.c 	kvmppc_set_sprg1(vcpu, regs->sprg1);
regs              579 arch/powerpc/kvm/book3s.c 	kvmppc_set_sprg2(vcpu, regs->sprg2);
regs              580 arch/powerpc/kvm/book3s.c 	kvmppc_set_sprg3(vcpu, regs->sprg3);
regs              581 arch/powerpc/kvm/book3s.c 	kvmppc_set_sprg4(vcpu, regs->sprg4);
regs              582 arch/powerpc/kvm/book3s.c 	kvmppc_set_sprg5(vcpu, regs->sprg5);
regs              583 arch/powerpc/kvm/book3s.c 	kvmppc_set_sprg6(vcpu, regs->sprg6);
regs              584 arch/powerpc/kvm/book3s.c 	kvmppc_set_sprg7(vcpu, regs->sprg7);
regs              586 arch/powerpc/kvm/book3s.c 	for (i = 0; i < ARRAY_SIZE(regs->gpr); i++)
regs              587 arch/powerpc/kvm/book3s.c 		kvmppc_set_gpr(vcpu, i, regs->gpr[i]);
regs               43 arch/powerpc/kvm/book3s_32_mmu.c 	return vcpu->arch.regs.nip == DEBUG_MMU_PTE_IP;
regs              673 arch/powerpc/kvm/book3s_64_vio_hv.c 		vcpu->arch.regs.gpr[4] = 0;
regs              678 arch/powerpc/kvm/book3s_64_vio_hv.c 	vcpu->arch.regs.gpr[4] = tbl[idx % TCES_PER_PAGE];
regs               90 arch/powerpc/kvm/book3s_emulate.c 	memcpy(&vcpu->arch.gpr_tm[0], &vcpu->arch.regs.gpr[0],
regs               99 arch/powerpc/kvm/book3s_emulate.c 	vcpu->arch.ctr_tm = vcpu->arch.regs.ctr;
regs              101 arch/powerpc/kvm/book3s_emulate.c 	vcpu->arch.lr_tm = vcpu->arch.regs.link;
regs              102 arch/powerpc/kvm/book3s_emulate.c 	vcpu->arch.cr_tm = vcpu->arch.regs.ccr;
regs              103 arch/powerpc/kvm/book3s_emulate.c 	vcpu->arch.xer_tm = vcpu->arch.regs.xer;
regs              109 arch/powerpc/kvm/book3s_emulate.c 	memcpy(&vcpu->arch.regs.gpr[0], &vcpu->arch.gpr_tm[0],
regs              110 arch/powerpc/kvm/book3s_emulate.c 			sizeof(vcpu->arch.regs.gpr));
regs              118 arch/powerpc/kvm/book3s_emulate.c 	vcpu->arch.regs.ctr = vcpu->arch.ctr_tm;
regs              120 arch/powerpc/kvm/book3s_emulate.c 	vcpu->arch.regs.link = vcpu->arch.lr_tm;
regs              121 arch/powerpc/kvm/book3s_emulate.c 	vcpu->arch.regs.ccr = vcpu->arch.cr_tm;
regs              122 arch/powerpc/kvm/book3s_emulate.c 	vcpu->arch.regs.xer = vcpu->arch.xer_tm;
regs              133 arch/powerpc/kvm/book3s_emulate.c 	vcpu->arch.regs.ccr = (vcpu->arch.regs.ccr & ~(CR0_MASK << CR0_SHIFT)) |
regs              212 arch/powerpc/kvm/book3s_emulate.c 	vcpu->arch.regs.ccr = (vcpu->arch.regs.ccr & ~(CR0_MASK << CR0_SHIFT)) |
regs              421 arch/powerpc/kvm/book3s_emulate.c 				cr |= (vcpu->arch.regs.xer & 0x80000000) >>
regs              503 arch/powerpc/kvm/book3s_emulate.c 				vcpu->arch.regs.ccr = (CR0_TBEGIN_FAILURE |
regs              504 arch/powerpc/kvm/book3s_emulate.c 				  (vcpu->arch.regs.ccr & ~(CR0_MASK << CR0_SHIFT)));
regs              420 arch/powerpc/kvm/book3s_hv.c 	       vcpu->arch.regs.nip, vcpu->arch.shregs.msr, vcpu->arch.trap);
regs              426 arch/powerpc/kvm/book3s_hv.c 	       vcpu->arch.regs.ctr, vcpu->arch.regs.link);
regs              434 arch/powerpc/kvm/book3s_hv.c 	       vcpu->arch.regs.ccr, vcpu->arch.regs.xer, vcpu->arch.shregs.dsisr);
regs             1042 arch/powerpc/kvm/book3s_hv.c 		if (!powernv_get_random_long(&vcpu->arch.regs.gpr[4]))
regs             3603 arch/powerpc/kvm/book3s_hv.c 		vcpu->arch.regs.msr = vcpu->arch.shregs.msr;
regs             3614 arch/powerpc/kvm/book3s_hv.c 					  __pa(&vcpu->arch.regs));
regs             3616 arch/powerpc/kvm/book3s_hv.c 		vcpu->arch.shregs.msr = vcpu->arch.regs.msr;
regs             4236 arch/powerpc/kvm/book3s_hv.c 	if (cpu_has_feature(CPU_FTR_TM) && current->thread.regs &&
regs             4237 arch/powerpc/kvm/book3s_hv.c 	    (current->thread.regs->msr & MSR_TM)) {
regs             4238 arch/powerpc/kvm/book3s_hv.c 		if (MSR_TM_ACTIVE(current->thread.regs->msr)) {
regs             4248 arch/powerpc/kvm/book3s_hv.c 		current->thread.regs->msr &= ~MSR_TM;
regs              212 arch/powerpc/kvm/book3s_hv_builtin.c 		r = powernv_get_random_long(&vcpu->arch.regs.gpr[4]);
regs              214 arch/powerpc/kvm/book3s_hv_builtin.c 		r = powernv_get_random_real_mode(&vcpu->arch.regs.gpr[4]);
regs              591 arch/powerpc/kvm/book3s_hv_builtin.c 	vcpu->arch.regs.gpr[5] = get_tb();
regs              660 arch/powerpc/kvm/book3s_hv_builtin.c void kvmppc_bad_interrupt(struct pt_regs *regs)
regs              666 arch/powerpc/kvm/book3s_hv_builtin.c 	if (TRAP(regs) == 0x100) {
regs              668 arch/powerpc/kvm/book3s_hv_builtin.c 		system_reset_exception(regs);
regs              670 arch/powerpc/kvm/book3s_hv_builtin.c 	} else if (TRAP(regs) == 0x200) {
regs              671 arch/powerpc/kvm/book3s_hv_builtin.c 		machine_check_exception(regs);
regs              673 arch/powerpc/kvm/book3s_hv_builtin.c 		die("Bad interrupt in KVM entry/exit code", regs, SIGABRT);
regs               54 arch/powerpc/kvm/book3s_hv_nested.c static void byteswap_pt_regs(struct pt_regs *regs)
regs               56 arch/powerpc/kvm/book3s_hv_nested.c 	unsigned long *addr = (unsigned long *) regs;
regs               58 arch/powerpc/kvm/book3s_hv_nested.c 	for (; addr < ((unsigned long *) (regs + 1)); addr++)
regs              266 arch/powerpc/kvm/book3s_hv_nested.c 	vcpu->arch.regs.msr = vcpu->arch.shregs.msr;
regs              267 arch/powerpc/kvm/book3s_hv_nested.c 	saved_l1_regs = vcpu->arch.regs;
regs              277 arch/powerpc/kvm/book3s_hv_nested.c 	vcpu->arch.regs = l2_regs;
regs              278 arch/powerpc/kvm/book3s_hv_nested.c 	vcpu->arch.shregs.msr = vcpu->arch.regs.msr;
regs              298 arch/powerpc/kvm/book3s_hv_nested.c 	l2_regs = vcpu->arch.regs;
regs              308 arch/powerpc/kvm/book3s_hv_nested.c 	vcpu->arch.regs = saved_l1_regs;
regs              420 arch/powerpc/kvm/book3s_hv_rm_mmu.c 				 &vcpu->arch.regs.gpr[4]);
regs              564 arch/powerpc/kvm/book3s_hv_rm_mmu.c 				  &vcpu->arch.regs.gpr[4]);
regs              570 arch/powerpc/kvm/book3s_hv_rm_mmu.c 	unsigned long *args = &vcpu->arch.regs.gpr[4];
regs              790 arch/powerpc/kvm/book3s_hv_rm_mmu.c 		vcpu->arch.regs.gpr[4 + i * 2] = v;
regs              791 arch/powerpc/kvm/book3s_hv_rm_mmu.c 		vcpu->arch.regs.gpr[5 + i * 2] = r;
regs              837 arch/powerpc/kvm/book3s_hv_rm_mmu.c 	vcpu->arch.regs.gpr[4] = gr;
regs              884 arch/powerpc/kvm/book3s_hv_rm_mmu.c 	vcpu->arch.regs.gpr[4] = gr;
regs              523 arch/powerpc/kvm/book3s_hv_rm_xics.c 	vcpu->arch.regs.gpr[4] = xirr;
regs               19 arch/powerpc/kvm/book3s_hv_tm.c 	tfiar = vcpu->arch.regs.nip & ~0x3ull;
regs               57 arch/powerpc/kvm/book3s_hv_tm.c 		vcpu->arch.cfar = vcpu->arch.regs.nip - 4;
regs               58 arch/powerpc/kvm/book3s_hv_tm.c 		vcpu->arch.regs.nip = vcpu->arch.shregs.srr0;
regs               90 arch/powerpc/kvm/book3s_hv_tm.c 		vcpu->arch.cfar = vcpu->arch.regs.nip - 4;
regs               91 arch/powerpc/kvm/book3s_hv_tm.c 		vcpu->arch.regs.nip = vcpu->arch.ebbrr;
regs              130 arch/powerpc/kvm/book3s_hv_tm.c 		vcpu->arch.regs.ccr = (vcpu->arch.regs.ccr & 0x0fffffff) |
regs              174 arch/powerpc/kvm/book3s_hv_tm.c 		vcpu->arch.regs.ccr = (vcpu->arch.regs.ccr & 0x0fffffff) |
regs              204 arch/powerpc/kvm/book3s_hv_tm.c 		vcpu->arch.regs.ccr = (vcpu->arch.regs.ccr & 0x0fffffff) |
regs               35 arch/powerpc/kvm/book3s_hv_tm_builtin.c 		vcpu->arch.cfar = vcpu->arch.regs.nip - 4;
regs               36 arch/powerpc/kvm/book3s_hv_tm_builtin.c 		vcpu->arch.regs.nip = vcpu->arch.shregs.srr0;
regs               58 arch/powerpc/kvm/book3s_hv_tm_builtin.c 		vcpu->arch.cfar = vcpu->arch.regs.nip - 4;
regs               59 arch/powerpc/kvm/book3s_hv_tm_builtin.c 		vcpu->arch.regs.nip = mfspr(SPRN_EBBRR);
regs               89 arch/powerpc/kvm/book3s_hv_tm_builtin.c 		vcpu->arch.regs.ccr = (vcpu->arch.regs.ccr & 0x0fffffff) |
regs              104 arch/powerpc/kvm/book3s_hv_tm_builtin.c 	vcpu->arch.regs.nip = vcpu->arch.tfhar;
regs              106 arch/powerpc/kvm/book3s_hv_tm_builtin.c 	vcpu->arch.regs.ccr = (vcpu->arch.regs.ccr & 0x0fffffff) | 0xa0000000;
regs              153 arch/powerpc/kvm/book3s_pr.c 	svcpu->gpr[0] = vcpu->arch.regs.gpr[0];
regs              154 arch/powerpc/kvm/book3s_pr.c 	svcpu->gpr[1] = vcpu->arch.regs.gpr[1];
regs              155 arch/powerpc/kvm/book3s_pr.c 	svcpu->gpr[2] = vcpu->arch.regs.gpr[2];
regs              156 arch/powerpc/kvm/book3s_pr.c 	svcpu->gpr[3] = vcpu->arch.regs.gpr[3];
regs              157 arch/powerpc/kvm/book3s_pr.c 	svcpu->gpr[4] = vcpu->arch.regs.gpr[4];
regs              158 arch/powerpc/kvm/book3s_pr.c 	svcpu->gpr[5] = vcpu->arch.regs.gpr[5];
regs              159 arch/powerpc/kvm/book3s_pr.c 	svcpu->gpr[6] = vcpu->arch.regs.gpr[6];
regs              160 arch/powerpc/kvm/book3s_pr.c 	svcpu->gpr[7] = vcpu->arch.regs.gpr[7];
regs              161 arch/powerpc/kvm/book3s_pr.c 	svcpu->gpr[8] = vcpu->arch.regs.gpr[8];
regs              162 arch/powerpc/kvm/book3s_pr.c 	svcpu->gpr[9] = vcpu->arch.regs.gpr[9];
regs              163 arch/powerpc/kvm/book3s_pr.c 	svcpu->gpr[10] = vcpu->arch.regs.gpr[10];
regs              164 arch/powerpc/kvm/book3s_pr.c 	svcpu->gpr[11] = vcpu->arch.regs.gpr[11];
regs              165 arch/powerpc/kvm/book3s_pr.c 	svcpu->gpr[12] = vcpu->arch.regs.gpr[12];
regs              166 arch/powerpc/kvm/book3s_pr.c 	svcpu->gpr[13] = vcpu->arch.regs.gpr[13];
regs              167 arch/powerpc/kvm/book3s_pr.c 	svcpu->cr  = vcpu->arch.regs.ccr;
regs              168 arch/powerpc/kvm/book3s_pr.c 	svcpu->xer = vcpu->arch.regs.xer;
regs              169 arch/powerpc/kvm/book3s_pr.c 	svcpu->ctr = vcpu->arch.regs.ctr;
regs              170 arch/powerpc/kvm/book3s_pr.c 	svcpu->lr  = vcpu->arch.regs.link;
regs              171 arch/powerpc/kvm/book3s_pr.c 	svcpu->pc  = vcpu->arch.regs.nip;
regs              235 arch/powerpc/kvm/book3s_pr.c 	vcpu->arch.regs.gpr[0] = svcpu->gpr[0];
regs              236 arch/powerpc/kvm/book3s_pr.c 	vcpu->arch.regs.gpr[1] = svcpu->gpr[1];
regs              237 arch/powerpc/kvm/book3s_pr.c 	vcpu->arch.regs.gpr[2] = svcpu->gpr[2];
regs              238 arch/powerpc/kvm/book3s_pr.c 	vcpu->arch.regs.gpr[3] = svcpu->gpr[3];
regs              239 arch/powerpc/kvm/book3s_pr.c 	vcpu->arch.regs.gpr[4] = svcpu->gpr[4];
regs              240 arch/powerpc/kvm/book3s_pr.c 	vcpu->arch.regs.gpr[5] = svcpu->gpr[5];
regs              241 arch/powerpc/kvm/book3s_pr.c 	vcpu->arch.regs.gpr[6] = svcpu->gpr[6];
regs              242 arch/powerpc/kvm/book3s_pr.c 	vcpu->arch.regs.gpr[7] = svcpu->gpr[7];
regs              243 arch/powerpc/kvm/book3s_pr.c 	vcpu->arch.regs.gpr[8] = svcpu->gpr[8];
regs              244 arch/powerpc/kvm/book3s_pr.c 	vcpu->arch.regs.gpr[9] = svcpu->gpr[9];
regs              245 arch/powerpc/kvm/book3s_pr.c 	vcpu->arch.regs.gpr[10] = svcpu->gpr[10];
regs              246 arch/powerpc/kvm/book3s_pr.c 	vcpu->arch.regs.gpr[11] = svcpu->gpr[11];
regs              247 arch/powerpc/kvm/book3s_pr.c 	vcpu->arch.regs.gpr[12] = svcpu->gpr[12];
regs              248 arch/powerpc/kvm/book3s_pr.c 	vcpu->arch.regs.gpr[13] = svcpu->gpr[13];
regs              249 arch/powerpc/kvm/book3s_pr.c 	vcpu->arch.regs.ccr  = svcpu->cr;
regs              250 arch/powerpc/kvm/book3s_pr.c 	vcpu->arch.regs.xer = svcpu->xer;
regs              251 arch/powerpc/kvm/book3s_pr.c 	vcpu->arch.regs.ctr = svcpu->ctr;
regs              252 arch/powerpc/kvm/book3s_pr.c 	vcpu->arch.regs.link  = svcpu->lr;
regs              253 arch/powerpc/kvm/book3s_pr.c 	vcpu->arch.regs.nip  = svcpu->pc;
regs              809 arch/powerpc/kvm/book3s_pr.c 		if (t->regs->msr & MSR_FP)
regs              816 arch/powerpc/kvm/book3s_pr.c 		if (current->thread.regs->msr & MSR_VEC)
regs              906 arch/powerpc/kvm/book3s_pr.c 	t->regs->msr |= msr;
regs              921 arch/powerpc/kvm/book3s_pr.c 	lost_ext = vcpu->arch.guest_owned_ext & ~current->thread.regs->msr;
regs              941 arch/powerpc/kvm/book3s_pr.c 	current->thread.regs->msr |= lost_ext;
regs              315 arch/powerpc/kvm/book3s_xive_template.c 	vcpu->arch.regs.gpr[4] = hirq | (old_cppr << 24);
regs              350 arch/powerpc/kvm/book3s_xive_template.c 	vcpu->arch.regs.gpr[4] = hirq | (xc->cppr << 24);
regs               69 arch/powerpc/kvm/booke.c 	printk("pc:   %08lx msr:  %08llx\n", vcpu->arch.regs.nip,
regs               71 arch/powerpc/kvm/booke.c 	printk("lr:   %08lx ctr:  %08lx\n", vcpu->arch.regs.link,
regs               72 arch/powerpc/kvm/booke.c 			vcpu->arch.regs.ctr);
regs              135 arch/powerpc/kvm/booke.c 	if (!(current->thread.regs->msr & MSR_FP)) {
regs              140 arch/powerpc/kvm/booke.c 		current->thread.regs->msr |= MSR_FP;
regs              152 arch/powerpc/kvm/booke.c 	if (current->thread.regs->msr & MSR_FP)
regs              177 arch/powerpc/kvm/booke.c 		if (!(current->thread.regs->msr & MSR_VEC)) {
regs              182 arch/powerpc/kvm/booke.c 			current->thread.regs->msr |= MSR_VEC;
regs              196 arch/powerpc/kvm/booke.c 		if (current->thread.regs->msr & MSR_VEC)
regs              485 arch/powerpc/kvm/booke.c 			set_guest_srr(vcpu, vcpu->arch.regs.nip,
regs              489 arch/powerpc/kvm/booke.c 			set_guest_csrr(vcpu, vcpu->arch.regs.nip,
regs              493 arch/powerpc/kvm/booke.c 			set_guest_dsrr(vcpu, vcpu->arch.regs.nip,
regs              497 arch/powerpc/kvm/booke.c 			set_guest_mcsrr(vcpu, vcpu->arch.regs.nip,
regs              502 arch/powerpc/kvm/booke.c 		vcpu->arch.regs.nip = vcpu->arch.ivpr |
regs              821 arch/powerpc/kvm/booke.c 		       __func__, vcpu->arch.regs.nip, vcpu->arch.last_inst);
regs              870 arch/powerpc/kvm/booke.c 	run->debug.arch.address = vcpu->arch.regs.nip;
regs              888 arch/powerpc/kvm/booke.c static void kvmppc_fill_pt_regs(struct pt_regs *regs)
regs              897 arch/powerpc/kvm/booke.c 	memset(regs, 0, sizeof(*regs));
regs              898 arch/powerpc/kvm/booke.c 	regs->gpr[1] = r1;
regs              899 arch/powerpc/kvm/booke.c 	regs->nip = ip;
regs              900 arch/powerpc/kvm/booke.c 	regs->msr = msr;
regs              901 arch/powerpc/kvm/booke.c 	regs->link = lr;
regs              913 arch/powerpc/kvm/booke.c 	struct pt_regs regs;
regs              917 arch/powerpc/kvm/booke.c 		kvmppc_fill_pt_regs(&regs);
regs              918 arch/powerpc/kvm/booke.c 		do_IRQ(&regs);
regs              921 arch/powerpc/kvm/booke.c 		kvmppc_fill_pt_regs(&regs);
regs              922 arch/powerpc/kvm/booke.c 		timer_interrupt(&regs);
regs              926 arch/powerpc/kvm/booke.c 		kvmppc_fill_pt_regs(&regs);
regs              927 arch/powerpc/kvm/booke.c 		doorbell_exception(&regs);
regs              934 arch/powerpc/kvm/booke.c 		kvmppc_fill_pt_regs(&regs);
regs              935 arch/powerpc/kvm/booke.c 		performance_monitor_exception(&regs);
regs              938 arch/powerpc/kvm/booke.c 		kvmppc_fill_pt_regs(&regs);
regs              940 arch/powerpc/kvm/booke.c 		WatchdogException(&regs);
regs              942 arch/powerpc/kvm/booke.c 		unknown_exception(&regs);
regs              946 arch/powerpc/kvm/booke.c 		kvmppc_fill_pt_regs(&regs);
regs              947 arch/powerpc/kvm/booke.c 		unknown_exception(&regs);
regs              966 arch/powerpc/kvm/booke.c 		       __func__, vcpu->arch.regs.nip);
regs             1164 arch/powerpc/kvm/booke.c 		       __func__, exit_nr, vcpu->arch.regs.nip);
regs             1294 arch/powerpc/kvm/booke.c 		unsigned long eaddr = vcpu->arch.regs.nip;
regs             1386 arch/powerpc/kvm/booke.c 	vcpu->arch.regs.nip = 0;
regs             1429 arch/powerpc/kvm/booke.c int kvm_arch_vcpu_ioctl_get_regs(struct kvm_vcpu *vcpu, struct kvm_regs *regs)
regs             1435 arch/powerpc/kvm/booke.c 	regs->pc = vcpu->arch.regs.nip;
regs             1436 arch/powerpc/kvm/booke.c 	regs->cr = kvmppc_get_cr(vcpu);
regs             1437 arch/powerpc/kvm/booke.c 	regs->ctr = vcpu->arch.regs.ctr;
regs             1438 arch/powerpc/kvm/booke.c 	regs->lr = vcpu->arch.regs.link;
regs             1439 arch/powerpc/kvm/booke.c 	regs->xer = kvmppc_get_xer(vcpu);
regs             1440 arch/powerpc/kvm/booke.c 	regs->msr = vcpu->arch.shared->msr;
regs             1441 arch/powerpc/kvm/booke.c 	regs->srr0 = kvmppc_get_srr0(vcpu);
regs             1442 arch/powerpc/kvm/booke.c 	regs->srr1 = kvmppc_get_srr1(vcpu);
regs             1443 arch/powerpc/kvm/booke.c 	regs->pid = vcpu->arch.pid;
regs             1444 arch/powerpc/kvm/booke.c 	regs->sprg0 = kvmppc_get_sprg0(vcpu);
regs             1445 arch/powerpc/kvm/booke.c 	regs->sprg1 = kvmppc_get_sprg1(vcpu);
regs             1446 arch/powerpc/kvm/booke.c 	regs->sprg2 = kvmppc_get_sprg2(vcpu);
regs             1447 arch/powerpc/kvm/booke.c 	regs->sprg3 = kvmppc_get_sprg3(vcpu);
regs             1448 arch/powerpc/kvm/booke.c 	regs->sprg4 = kvmppc_get_sprg4(vcpu);
regs             1449 arch/powerpc/kvm/booke.c 	regs->sprg5 = kvmppc_get_sprg5(vcpu);
regs             1450 arch/powerpc/kvm/booke.c 	regs->sprg6 = kvmppc_get_sprg6(vcpu);
regs             1451 arch/powerpc/kvm/booke.c 	regs->sprg7 = kvmppc_get_sprg7(vcpu);
regs             1453 arch/powerpc/kvm/booke.c 	for (i = 0; i < ARRAY_SIZE(regs->gpr); i++)
regs             1454 arch/powerpc/kvm/booke.c 		regs->gpr[i] = kvmppc_get_gpr(vcpu, i);
regs             1460 arch/powerpc/kvm/booke.c int kvm_arch_vcpu_ioctl_set_regs(struct kvm_vcpu *vcpu, struct kvm_regs *regs)
regs             1466 arch/powerpc/kvm/booke.c 	vcpu->arch.regs.nip = regs->pc;
regs             1467 arch/powerpc/kvm/booke.c 	kvmppc_set_cr(vcpu, regs->cr);
regs             1468 arch/powerpc/kvm/booke.c 	vcpu->arch.regs.ctr = regs->ctr;
regs             1469 arch/powerpc/kvm/booke.c 	vcpu->arch.regs.link = regs->lr;
regs             1470 arch/powerpc/kvm/booke.c 	kvmppc_set_xer(vcpu, regs->xer);
regs             1471 arch/powerpc/kvm/booke.c 	kvmppc_set_msr(vcpu, regs->msr);
regs             1472 arch/powerpc/kvm/booke.c 	kvmppc_set_srr0(vcpu, regs->srr0);
regs             1473 arch/powerpc/kvm/booke.c 	kvmppc_set_srr1(vcpu, regs->srr1);
regs             1474 arch/powerpc/kvm/booke.c 	kvmppc_set_pid(vcpu, regs->pid);
regs             1475 arch/powerpc/kvm/booke.c 	kvmppc_set_sprg0(vcpu, regs->sprg0);
regs             1476 arch/powerpc/kvm/booke.c 	kvmppc_set_sprg1(vcpu, regs->sprg1);
regs             1477 arch/powerpc/kvm/booke.c 	kvmppc_set_sprg2(vcpu, regs->sprg2);
regs             1478 arch/powerpc/kvm/booke.c 	kvmppc_set_sprg3(vcpu, regs->sprg3);
regs             1479 arch/powerpc/kvm/booke.c 	kvmppc_set_sprg4(vcpu, regs->sprg4);
regs             1480 arch/powerpc/kvm/booke.c 	kvmppc_set_sprg5(vcpu, regs->sprg5);
regs             1481 arch/powerpc/kvm/booke.c 	kvmppc_set_sprg6(vcpu, regs->sprg6);
regs             1482 arch/powerpc/kvm/booke.c 	kvmppc_set_sprg7(vcpu, regs->sprg7);
regs             1484 arch/powerpc/kvm/booke.c 	for (i = 0; i < ARRAY_SIZE(regs->gpr); i++)
regs             1485 arch/powerpc/kvm/booke.c 		kvmppc_set_gpr(vcpu, i, regs->gpr[i]);
regs               26 arch/powerpc/kvm/booke_emulate.c 	vcpu->arch.regs.nip = vcpu->arch.shared->srr0;
regs               32 arch/powerpc/kvm/booke_emulate.c 	vcpu->arch.regs.nip = vcpu->arch.dsrr0;
regs               38 arch/powerpc/kvm/booke_emulate.c 	vcpu->arch.regs.nip = vcpu->arch.csrr0;
regs               53 arch/powerpc/kvm/e500_emulate.c 	ulong param = vcpu->arch.regs.gpr[rb];
regs               65 arch/powerpc/kvm/e500_emulate.c 	ulong param = vcpu->arch.regs.gpr[rb];
regs               94 arch/powerpc/kvm/e500_emulate.c 		run->debug.arch.address = vcpu->arch.regs.nip;
regs              513 arch/powerpc/kvm/e500_mmu.c 	kvmppc_e500_deliver_tlb_miss(vcpu, vcpu->arch.regs.nip, as);
regs               97 arch/powerpc/kvm/emulate_loadstore.c 	vcpu->arch.regs.msr = vcpu->arch.shared->msr;
regs               98 arch/powerpc/kvm/emulate_loadstore.c 	if (analyse_instr(&op, &vcpu->arch.regs, inst) == 0) {
regs                7 arch/powerpc/lib/error-inject.c void override_function_with_return(struct pt_regs *regs)
regs               14 arch/powerpc/lib/error-inject.c 	regs->nip = regs->link;
regs               51 arch/powerpc/lib/sstep.c extern int do_lq(unsigned long ea, unsigned long *regs);
regs               53 arch/powerpc/lib/sstep.c extern int do_lqarx(unsigned long ea, unsigned long *regs);
regs               83 arch/powerpc/lib/sstep.c 					const struct pt_regs *regs,
regs               92 arch/powerpc/lib/sstep.c 		if (((bo >> 1) & 1) ^ (regs->ctr == 1))
regs               98 arch/powerpc/lib/sstep.c 		if (((regs->ccr >> (31 - bi)) & 1) != ((bo >> 3) & 1))
regs              104 arch/powerpc/lib/sstep.c static nokprobe_inline long address_ok(struct pt_regs *regs,
regs              107 arch/powerpc/lib/sstep.c 	if (!user_mode(regs))
regs              113 arch/powerpc/lib/sstep.c 		regs->dar = USER_DS.seg;
regs              115 arch/powerpc/lib/sstep.c 		regs->dar = ea;
regs              123 arch/powerpc/lib/sstep.c 					      const struct pt_regs *regs)
regs              131 arch/powerpc/lib/sstep.c 		ea += regs->gpr[ra];
regs              141 arch/powerpc/lib/sstep.c 					       const struct pt_regs *regs)
regs              149 arch/powerpc/lib/sstep.c 		ea += regs->gpr[ra];
regs              158 arch/powerpc/lib/sstep.c 					       const struct pt_regs *regs)
regs              166 arch/powerpc/lib/sstep.c 		ea += regs->gpr[ra];
regs              176 arch/powerpc/lib/sstep.c 					      const struct pt_regs *regs)
regs              183 arch/powerpc/lib/sstep.c 	ea = regs->gpr[rb];
regs              185 arch/powerpc/lib/sstep.c 		ea += regs->gpr[ra];
regs              247 arch/powerpc/lib/sstep.c 					    struct pt_regs *regs)
regs              271 arch/powerpc/lib/sstep.c 		regs->dar = ea;
regs              280 arch/powerpc/lib/sstep.c 				       struct pt_regs *regs)
regs              309 arch/powerpc/lib/sstep.c 			regs->dar = ea;
regs              320 arch/powerpc/lib/sstep.c 					      struct pt_regs *regs)
regs              331 arch/powerpc/lib/sstep.c 	err = copy_mem_in(&u.b[i], ea, nb, regs);
regs              343 arch/powerpc/lib/sstep.c 			      struct pt_regs *regs)
regs              345 arch/powerpc/lib/sstep.c 	if (!address_ok(regs, ea, nb))
regs              348 arch/powerpc/lib/sstep.c 		return read_mem_aligned(dest, ea, nb, regs);
regs              349 arch/powerpc/lib/sstep.c 	return read_mem_unaligned(dest, ea, nb, regs);
regs              355 arch/powerpc/lib/sstep.c 					     struct pt_regs *regs)
regs              376 arch/powerpc/lib/sstep.c 		regs->dar = ea;
regs              385 arch/powerpc/lib/sstep.c 					struct pt_regs *regs)
regs              414 arch/powerpc/lib/sstep.c 			regs->dar = ea;
regs              425 arch/powerpc/lib/sstep.c 					       struct pt_regs *regs)
regs              435 arch/powerpc/lib/sstep.c 	return copy_mem_out(&u.b[i], ea, nb, regs);
regs              443 arch/powerpc/lib/sstep.c 			       struct pt_regs *regs)
regs              445 arch/powerpc/lib/sstep.c 	if (!address_ok(regs, ea, nb))
regs              448 arch/powerpc/lib/sstep.c 		return write_mem_aligned(val, ea, nb, regs);
regs              449 arch/powerpc/lib/sstep.c 	return write_mem_unaligned(val, ea, nb, regs);
regs              459 arch/powerpc/lib/sstep.c 		      struct pt_regs *regs, bool cross_endian)
regs              472 arch/powerpc/lib/sstep.c 	if (!address_ok(regs, ea, nb))
regs              475 arch/powerpc/lib/sstep.c 	err = copy_mem_in(u.b, ea, nb, regs);
regs              492 arch/powerpc/lib/sstep.c 	if (regs->msr & MSR_FP)
regs              499 arch/powerpc/lib/sstep.c 		if (regs->msr & MSR_FP)
regs              510 arch/powerpc/lib/sstep.c 		       struct pt_regs *regs, bool cross_endian)
regs              522 arch/powerpc/lib/sstep.c 	if (!address_ok(regs, ea, nb))
regs              526 arch/powerpc/lib/sstep.c 	if (regs->msr & MSR_FP)
regs              538 arch/powerpc/lib/sstep.c 		if (regs->msr & MSR_FP)
regs              549 arch/powerpc/lib/sstep.c 	return copy_mem_out(u.b, ea, nb, regs);
regs              557 arch/powerpc/lib/sstep.c 				       int size, struct pt_regs *regs,
regs              566 arch/powerpc/lib/sstep.c 	if (!address_ok(regs, ea & ~0xfUL, 16))
regs              570 arch/powerpc/lib/sstep.c 	err = copy_mem_in(&u.b[ea & 0xf], ea, size, regs);
regs              576 arch/powerpc/lib/sstep.c 	if (regs->msr & MSR_VEC)
regs              585 arch/powerpc/lib/sstep.c 					int size, struct pt_regs *regs,
regs              593 arch/powerpc/lib/sstep.c 	if (!address_ok(regs, ea & ~0xfUL, 16))
regs              599 arch/powerpc/lib/sstep.c 	if (regs->msr & MSR_VEC)
regs              606 arch/powerpc/lib/sstep.c 	return copy_mem_out(&u.b[ea & 0xf], ea, size, regs);
regs              611 arch/powerpc/lib/sstep.c static nokprobe_inline int emulate_lq(struct pt_regs *regs, unsigned long ea,
regs              616 arch/powerpc/lib/sstep.c 	if (!address_ok(regs, ea, 16))
regs              620 arch/powerpc/lib/sstep.c 		err = do_lq(ea, &regs->gpr[reg]);
regs              622 arch/powerpc/lib/sstep.c 		err = read_mem(&regs->gpr[reg + IS_LE], ea, 8, regs);
regs              624 arch/powerpc/lib/sstep.c 			err = read_mem(&regs->gpr[reg + IS_BE], ea + 8, 8, regs);
regs              627 arch/powerpc/lib/sstep.c 		do_byte_reverse(&regs->gpr[reg], 16);
regs              631 arch/powerpc/lib/sstep.c static nokprobe_inline int emulate_stq(struct pt_regs *regs, unsigned long ea,
regs              637 arch/powerpc/lib/sstep.c 	if (!address_ok(regs, ea, 16))
regs              639 arch/powerpc/lib/sstep.c 	vals[0] = regs->gpr[reg];
regs              640 arch/powerpc/lib/sstep.c 	vals[1] = regs->gpr[reg + 1];
regs              648 arch/powerpc/lib/sstep.c 	err = write_mem(vals[IS_LE], ea, 8, regs);
regs              650 arch/powerpc/lib/sstep.c 		err = write_mem(vals[IS_BE], ea + 8, 8, regs);
regs              817 arch/powerpc/lib/sstep.c 				       unsigned long ea, struct pt_regs *regs,
regs              825 arch/powerpc/lib/sstep.c 	if (!address_ok(regs, ea, size) || copy_mem_in(mem, ea, size, regs))
regs              832 arch/powerpc/lib/sstep.c 		if (regs->msr & MSR_FP) {
regs              839 arch/powerpc/lib/sstep.c 		if (regs->msr & MSR_VEC)
regs              849 arch/powerpc/lib/sstep.c 					unsigned long ea, struct pt_regs *regs,
regs              857 arch/powerpc/lib/sstep.c 	if (!address_ok(regs, ea, size))
regs              863 arch/powerpc/lib/sstep.c 		if (regs->msr & MSR_FP) {
regs              870 arch/powerpc/lib/sstep.c 		if (regs->msr & MSR_VEC)
regs              877 arch/powerpc/lib/sstep.c 	return  copy_mem_out(mem, ea, size, regs);
regs              881 arch/powerpc/lib/sstep.c int emulate_dcbz(unsigned long ea, struct pt_regs *regs)
regs              888 arch/powerpc/lib/sstep.c 	if (!(regs->msr & MSR_64BIT))
regs              894 arch/powerpc/lib/sstep.c 	if (!address_ok(regs, ea, size))
regs              899 arch/powerpc/lib/sstep.c 			regs->dar = ea;
regs              944 arch/powerpc/lib/sstep.c static nokprobe_inline void set_cr0(const struct pt_regs *regs,
regs              950 arch/powerpc/lib/sstep.c 	op->ccval = (regs->ccr & 0x0fffffff) | ((regs->xer >> 3) & 0x10000000);
regs              952 arch/powerpc/lib/sstep.c 	if (!(regs->msr & MSR_64BIT))
regs              973 arch/powerpc/lib/sstep.c static nokprobe_inline void add_with_carry(const struct pt_regs *regs,
regs              986 arch/powerpc/lib/sstep.c 	if (!(regs->msr & MSR_64BIT)) {
regs              991 arch/powerpc/lib/sstep.c 	op->xerval = regs->xer;
regs             1001 arch/powerpc/lib/sstep.c static nokprobe_inline void do_cmp_signed(const struct pt_regs *regs,
regs             1008 arch/powerpc/lib/sstep.c 	crval = (regs->xer >> 31) & 1;		/* get SO bit */
regs             1016 arch/powerpc/lib/sstep.c 	op->ccval = (regs->ccr & ~(0xf << shift)) | (crval << shift);
regs             1019 arch/powerpc/lib/sstep.c static nokprobe_inline void do_cmp_unsigned(const struct pt_regs *regs,
regs             1027 arch/powerpc/lib/sstep.c 	crval = (regs->xer >> 31) & 1;		/* get SO bit */
regs             1035 arch/powerpc/lib/sstep.c 	op->ccval = (regs->ccr & ~(0xf << shift)) | (crval << shift);
regs             1038 arch/powerpc/lib/sstep.c static nokprobe_inline void do_cmpb(const struct pt_regs *regs,
regs             1058 arch/powerpc/lib/sstep.c static nokprobe_inline void do_popcnt(const struct pt_regs *regs,
regs             1085 arch/powerpc/lib/sstep.c static nokprobe_inline void do_bpermd(const struct pt_regs *regs,
regs             1106 arch/powerpc/lib/sstep.c static nokprobe_inline void do_prty(const struct pt_regs *regs,
regs             1165 arch/powerpc/lib/sstep.c int analyse_instr(struct instruction_op *op, const struct pt_regs *regs,
regs             1182 arch/powerpc/lib/sstep.c 			imm += regs->nip;
regs             1183 arch/powerpc/lib/sstep.c 		op->val = truncate_if_32bit(regs->msr, imm);
regs             1186 arch/powerpc/lib/sstep.c 		if (branch_taken(instr, regs, op))
regs             1203 arch/powerpc/lib/sstep.c 			imm += regs->nip;
regs             1204 arch/powerpc/lib/sstep.c 		op->val = truncate_if_32bit(regs->msr, imm);
regs             1216 arch/powerpc/lib/sstep.c 			val = (regs->ccr >> ra) & 0xf;
regs             1217 arch/powerpc/lib/sstep.c 			op->ccval = (regs->ccr & ~(0xfUL << rd)) | (val << rd);
regs             1223 arch/powerpc/lib/sstep.c 			imm = (instr & 0x400)? regs->ctr: regs->link;
regs             1224 arch/powerpc/lib/sstep.c 			op->val = truncate_if_32bit(regs->msr, imm);
regs             1227 arch/powerpc/lib/sstep.c 			if (branch_taken(instr, regs, op))
regs             1232 arch/powerpc/lib/sstep.c 			if (regs->msr & MSR_PR)
regs             1253 arch/powerpc/lib/sstep.c 			ra = (regs->ccr >> (31 - ra)) & 1;
regs             1254 arch/powerpc/lib/sstep.c 			rb = (regs->ccr >> (31 - rb)) & 1;
regs             1256 arch/powerpc/lib/sstep.c 			op->ccval = (regs->ccr & ~(1UL << (31 - rd))) |
regs             1285 arch/powerpc/lib/sstep.c 	if (!FULL_REGS(regs))
regs             1296 arch/powerpc/lib/sstep.c 		if (rd & trap_compare(regs->gpr[ra], (short) instr))
regs             1301 arch/powerpc/lib/sstep.c 		if (rd & trap_compare((int)regs->gpr[ra], (short) instr))
regs             1313 arch/powerpc/lib/sstep.c 				     "=r" (op->val) : "r" (regs->gpr[ra]),
regs             1314 arch/powerpc/lib/sstep.c 				     "r" (regs->gpr[rb]), "r" (regs->gpr[rc]));
regs             1319 arch/powerpc/lib/sstep.c 				     "=r" (op->val) : "r" (regs->gpr[ra]),
regs             1320 arch/powerpc/lib/sstep.c 				     "r" (regs->gpr[rb]), "r" (regs->gpr[rc]));
regs             1325 arch/powerpc/lib/sstep.c 				     "=r" (op->val) : "r" (regs->gpr[ra]),
regs             1326 arch/powerpc/lib/sstep.c 				     "r" (regs->gpr[rb]), "r" (regs->gpr[rc]));
regs             1338 arch/powerpc/lib/sstep.c 		op->val = regs->gpr[ra] * (short) instr;
regs             1343 arch/powerpc/lib/sstep.c 		add_with_carry(regs, op, rd, ~regs->gpr[ra], imm, 1);
regs             1348 arch/powerpc/lib/sstep.c 		val = regs->gpr[ra];
regs             1353 arch/powerpc/lib/sstep.c 		do_cmp_unsigned(regs, op, val, imm, rd >> 2);
regs             1358 arch/powerpc/lib/sstep.c 		val = regs->gpr[ra];
regs             1363 arch/powerpc/lib/sstep.c 		do_cmp_signed(regs, op, val, imm, rd >> 2);
regs             1368 arch/powerpc/lib/sstep.c 		add_with_carry(regs, op, rd, regs->gpr[ra], imm, 0);
regs             1373 arch/powerpc/lib/sstep.c 		add_with_carry(regs, op, rd, regs->gpr[ra], imm, 0);
regs             1374 arch/powerpc/lib/sstep.c 		set_cr0(regs, op);
regs             1380 arch/powerpc/lib/sstep.c 			imm += regs->gpr[ra];
regs             1387 arch/powerpc/lib/sstep.c 			imm += regs->gpr[ra];
regs             1396 arch/powerpc/lib/sstep.c 			op->val = regs->nip + (imm << 16) + 4;
regs             1405 arch/powerpc/lib/sstep.c 		val = DATA32(regs->gpr[rd]);
regs             1407 arch/powerpc/lib/sstep.c 		op->val = (regs->gpr[ra] & ~imm) | (ROTATE(val, rb) & imm);
regs             1413 arch/powerpc/lib/sstep.c 		val = DATA32(regs->gpr[rd]);
regs             1420 arch/powerpc/lib/sstep.c 		rb = regs->gpr[rb] & 0x1f;
regs             1421 arch/powerpc/lib/sstep.c 		val = DATA32(regs->gpr[rd]);
regs             1426 arch/powerpc/lib/sstep.c 		op->val = regs->gpr[rd] | (unsigned short) instr;
regs             1431 arch/powerpc/lib/sstep.c 		op->val = regs->gpr[rd] | (imm << 16);
regs             1435 arch/powerpc/lib/sstep.c 		op->val = regs->gpr[rd] ^ (unsigned short) instr;
regs             1440 arch/powerpc/lib/sstep.c 		op->val = regs->gpr[rd] ^ (imm << 16);
regs             1444 arch/powerpc/lib/sstep.c 		op->val = regs->gpr[rd] & (unsigned short) instr;
regs             1445 arch/powerpc/lib/sstep.c 		set_cr0(regs, op);
regs             1450 arch/powerpc/lib/sstep.c 		op->val = regs->gpr[rd] & (imm << 16);
regs             1451 arch/powerpc/lib/sstep.c 		set_cr0(regs, op);
regs             1457 arch/powerpc/lib/sstep.c 		val = regs->gpr[rd];
regs             1473 arch/powerpc/lib/sstep.c 				val = (regs->gpr[ra] & ~imm) |
regs             1479 arch/powerpc/lib/sstep.c 			sh = regs->gpr[rb] & 0x3f;
regs             1498 arch/powerpc/lib/sstep.c 			val = (regs->ccr >> (31 - mb)) & 1;
regs             1499 arch/powerpc/lib/sstep.c 			val2 = (ra) ? regs->gpr[ra] : 0;
regs             1501 arch/powerpc/lib/sstep.c 			op->val = (val) ? val2 : regs->gpr[rb];
regs             1508 arch/powerpc/lib/sstep.c 			    (rd & trap_compare((int)regs->gpr[ra],
regs             1509 arch/powerpc/lib/sstep.c 					       (int)regs->gpr[rb])))
regs             1514 arch/powerpc/lib/sstep.c 			if (rd & trap_compare(regs->gpr[ra], regs->gpr[rb]))
regs             1519 arch/powerpc/lib/sstep.c 			if (regs->msr & MSR_PR)
regs             1525 arch/powerpc/lib/sstep.c 			if (regs->msr & MSR_PR)
regs             1533 arch/powerpc/lib/sstep.c 			if (regs->msr & MSR_PR)
regs             1554 arch/powerpc/lib/sstep.c 			op->val = regs->ccr & imm;
regs             1560 arch/powerpc/lib/sstep.c 			val = regs->gpr[rd];
regs             1561 arch/powerpc/lib/sstep.c 			op->ccval = regs->ccr;
regs             1583 arch/powerpc/lib/sstep.c 			op->val = regs->gpr[rd];
regs             1594 arch/powerpc/lib/sstep.c 			val = regs->gpr[ra];
regs             1595 arch/powerpc/lib/sstep.c 			val2 = regs->gpr[rb];
regs             1603 arch/powerpc/lib/sstep.c 			do_cmp_signed(regs, op, val, val2, rd >> 2);
regs             1607 arch/powerpc/lib/sstep.c 			val = regs->gpr[ra];
regs             1608 arch/powerpc/lib/sstep.c 			val2 = regs->gpr[rb];
regs             1616 arch/powerpc/lib/sstep.c 			do_cmp_unsigned(regs, op, val, val2, rd >> 2);
regs             1620 arch/powerpc/lib/sstep.c 			do_cmpb(regs, op, regs->gpr[rd], regs->gpr[rb]);
regs             1627 arch/powerpc/lib/sstep.c 			add_with_carry(regs, op, rd, ~regs->gpr[ra],
regs             1628 arch/powerpc/lib/sstep.c 				       regs->gpr[rb], 1);
regs             1633 arch/powerpc/lib/sstep.c 			    "r" (regs->gpr[ra]), "r" (regs->gpr[rb]));
regs             1637 arch/powerpc/lib/sstep.c 			add_with_carry(regs, op, rd, regs->gpr[ra],
regs             1638 arch/powerpc/lib/sstep.c 				       regs->gpr[rb], 0);
regs             1643 arch/powerpc/lib/sstep.c 			    "r" (regs->gpr[ra]), "r" (regs->gpr[rb]));
regs             1647 arch/powerpc/lib/sstep.c 			op->val = regs->gpr[rb] - regs->gpr[ra];
regs             1652 arch/powerpc/lib/sstep.c 			    "r" (regs->gpr[ra]), "r" (regs->gpr[rb]));
regs             1657 arch/powerpc/lib/sstep.c 			    "r" (regs->gpr[ra]), "r" (regs->gpr[rb]));
regs             1661 arch/powerpc/lib/sstep.c 			op->val = -regs->gpr[ra];
regs             1665 arch/powerpc/lib/sstep.c 			add_with_carry(regs, op, rd, ~regs->gpr[ra],
regs             1666 arch/powerpc/lib/sstep.c 				       regs->gpr[rb], regs->xer & XER_CA);
regs             1670 arch/powerpc/lib/sstep.c 			add_with_carry(regs, op, rd, regs->gpr[ra],
regs             1671 arch/powerpc/lib/sstep.c 				       regs->gpr[rb], regs->xer & XER_CA);
regs             1675 arch/powerpc/lib/sstep.c 			add_with_carry(regs, op, rd, ~regs->gpr[ra], 0L,
regs             1676 arch/powerpc/lib/sstep.c 				       regs->xer & XER_CA);
regs             1680 arch/powerpc/lib/sstep.c 			add_with_carry(regs, op, rd, regs->gpr[ra], 0L,
regs             1681 arch/powerpc/lib/sstep.c 				       regs->xer & XER_CA);
regs             1685 arch/powerpc/lib/sstep.c 			add_with_carry(regs, op, rd, ~regs->gpr[ra], -1L,
regs             1686 arch/powerpc/lib/sstep.c 				       regs->xer & XER_CA);
regs             1690 arch/powerpc/lib/sstep.c 			op->val = regs->gpr[ra] * regs->gpr[rb];
regs             1694 arch/powerpc/lib/sstep.c 			add_with_carry(regs, op, rd, regs->gpr[ra], -1L,
regs             1695 arch/powerpc/lib/sstep.c 				       regs->xer & XER_CA);
regs             1699 arch/powerpc/lib/sstep.c 			op->val = (long)(int) regs->gpr[ra] *
regs             1700 arch/powerpc/lib/sstep.c 				(int) regs->gpr[rb];
regs             1707 arch/powerpc/lib/sstep.c 			op->val = regs->gpr[ra] % regs->gpr[rb];
regs             1711 arch/powerpc/lib/sstep.c 			op->val = regs->gpr[ra] + regs->gpr[rb];
regs             1717 arch/powerpc/lib/sstep.c 			op->val = (unsigned int) regs->gpr[ra] %
regs             1718 arch/powerpc/lib/sstep.c 				(unsigned int) regs->gpr[rb];
regs             1722 arch/powerpc/lib/sstep.c 			op->val = regs->gpr[ra] / regs->gpr[rb];
regs             1726 arch/powerpc/lib/sstep.c 			op->val = (unsigned int) regs->gpr[ra] /
regs             1727 arch/powerpc/lib/sstep.c 				(unsigned int) regs->gpr[rb];
regs             1731 arch/powerpc/lib/sstep.c 			op->val = (long int) regs->gpr[ra] /
regs             1732 arch/powerpc/lib/sstep.c 				(long int) regs->gpr[rb];
regs             1736 arch/powerpc/lib/sstep.c 			op->val = (int) regs->gpr[ra] /
regs             1737 arch/powerpc/lib/sstep.c 				(int) regs->gpr[rb];
regs             1765 arch/powerpc/lib/sstep.c 			op->val = (long int) regs->gpr[ra] %
regs             1766 arch/powerpc/lib/sstep.c 				(long int) regs->gpr[rb];
regs             1772 arch/powerpc/lib/sstep.c 			op->val = (int) regs->gpr[ra] %
regs             1773 arch/powerpc/lib/sstep.c 				(int) regs->gpr[rb];
regs             1781 arch/powerpc/lib/sstep.c 			val = (unsigned int) regs->gpr[rd];
regs             1786 arch/powerpc/lib/sstep.c 			val = regs->gpr[rd];
regs             1791 arch/powerpc/lib/sstep.c 			op->val = regs->gpr[rd] & regs->gpr[rb];
regs             1795 arch/powerpc/lib/sstep.c 			op->val = regs->gpr[rd] & ~regs->gpr[rb];
regs             1799 arch/powerpc/lib/sstep.c 			do_popcnt(regs, op, regs->gpr[rd], 8);
regs             1803 arch/powerpc/lib/sstep.c 			op->val = ~(regs->gpr[rd] | regs->gpr[rb]);
regs             1807 arch/powerpc/lib/sstep.c 			do_prty(regs, op, regs->gpr[rd], 32);
regs             1811 arch/powerpc/lib/sstep.c 			do_prty(regs, op, regs->gpr[rd], 64);
regs             1815 arch/powerpc/lib/sstep.c 			do_bpermd(regs, op, regs->gpr[rd], regs->gpr[rb]);
regs             1819 arch/powerpc/lib/sstep.c 			op->val = ~(regs->gpr[rd] ^ regs->gpr[rb]);
regs             1823 arch/powerpc/lib/sstep.c 			op->val = regs->gpr[rd] ^ regs->gpr[rb];
regs             1827 arch/powerpc/lib/sstep.c 			do_popcnt(regs, op, regs->gpr[rd], 32);
regs             1831 arch/powerpc/lib/sstep.c 			op->val = regs->gpr[rd] | ~regs->gpr[rb];
regs             1835 arch/powerpc/lib/sstep.c 			op->val = regs->gpr[rd] | regs->gpr[rb];
regs             1839 arch/powerpc/lib/sstep.c 			op->val = ~(regs->gpr[rd] & regs->gpr[rb]);
regs             1843 arch/powerpc/lib/sstep.c 			do_popcnt(regs, op, regs->gpr[rd], 64);
regs             1849 arch/powerpc/lib/sstep.c 			val = (unsigned int) regs->gpr[rd];
regs             1856 arch/powerpc/lib/sstep.c 			val = regs->gpr[rd];
regs             1861 arch/powerpc/lib/sstep.c 			op->val = (signed short) regs->gpr[rd];
regs             1865 arch/powerpc/lib/sstep.c 			op->val = (signed char) regs->gpr[rd];
regs             1869 arch/powerpc/lib/sstep.c 			op->val = (signed int) regs->gpr[rd];
regs             1877 arch/powerpc/lib/sstep.c 			sh = regs->gpr[rb] & 0x3f;
regs             1879 arch/powerpc/lib/sstep.c 				op->val = (regs->gpr[rd] << sh) & 0xffffffffUL;
regs             1885 arch/powerpc/lib/sstep.c 			sh = regs->gpr[rb] & 0x3f;
regs             1887 arch/powerpc/lib/sstep.c 				op->val = (regs->gpr[rd] & 0xffffffffUL) >> sh;
regs             1894 arch/powerpc/lib/sstep.c 			sh = regs->gpr[rb] & 0x3f;
regs             1895 arch/powerpc/lib/sstep.c 			ival = (signed int) regs->gpr[rd];
regs             1897 arch/powerpc/lib/sstep.c 			op->xerval = regs->xer;
regs             1908 arch/powerpc/lib/sstep.c 			ival = (signed int) regs->gpr[rd];
regs             1910 arch/powerpc/lib/sstep.c 			op->xerval = regs->xer;
regs             1920 arch/powerpc/lib/sstep.c 			sh = regs->gpr[rb] & 0x7f;
regs             1922 arch/powerpc/lib/sstep.c 				op->val = regs->gpr[rd] << sh;
regs             1928 arch/powerpc/lib/sstep.c 			sh = regs->gpr[rb] & 0x7f;
regs             1930 arch/powerpc/lib/sstep.c 				op->val = regs->gpr[rd] >> sh;
regs             1937 arch/powerpc/lib/sstep.c 			sh = regs->gpr[rb] & 0x7f;
regs             1938 arch/powerpc/lib/sstep.c 			ival = (signed long int) regs->gpr[rd];
regs             1940 arch/powerpc/lib/sstep.c 			op->xerval = regs->xer;
regs             1952 arch/powerpc/lib/sstep.c 			ival = (signed long int) regs->gpr[rd];
regs             1954 arch/powerpc/lib/sstep.c 			op->xerval = regs->xer;
regs             1968 arch/powerpc/lib/sstep.c 			val = (signed int) regs->gpr[rd];
regs             1982 arch/powerpc/lib/sstep.c 			op->ea = xform_ea(instr, regs);
regs             1987 arch/powerpc/lib/sstep.c 			op->ea = xform_ea(instr, regs);
regs             1992 arch/powerpc/lib/sstep.c 			op->ea = xform_ea(instr, regs);
regs             1998 arch/powerpc/lib/sstep.c 			op->ea = xform_ea(instr, regs);
regs             2004 arch/powerpc/lib/sstep.c 			op->ea = xform_ea(instr, regs);
regs             2009 arch/powerpc/lib/sstep.c 			op->ea = xform_ea(instr, regs);
regs             2021 arch/powerpc/lib/sstep.c 	op->val = regs->gpr[rd];
regs             2028 arch/powerpc/lib/sstep.c 		op->ea = xform_ea(instr, regs);
regs             2182 arch/powerpc/lib/sstep.c 			op->type = MKOP(LOAD_MULTI, 0, regs->xer & 0x7f);
regs             2193 arch/powerpc/lib/sstep.c 			op->ea = ra ? regs->gpr[ra] : 0;
regs             2243 arch/powerpc/lib/sstep.c 			op->val = byterev_8(regs->gpr[rd]);
regs             2248 arch/powerpc/lib/sstep.c 			op->type = MKOP(STORE_MULTI, 0, regs->xer & 0x7f);
regs             2253 arch/powerpc/lib/sstep.c 			op->val = byterev_4(regs->gpr[rd]);
regs             2260 arch/powerpc/lib/sstep.c 			op->ea = ra ? regs->gpr[ra] : 0;
regs             2269 arch/powerpc/lib/sstep.c 			op->val = byterev_2(regs->gpr[rd]);
regs             2302 arch/powerpc/lib/sstep.c 			op->ea = ra ? regs->gpr[ra] : 0;
regs             2303 arch/powerpc/lib/sstep.c 			nb = regs->gpr[rb] & 0xff;
regs             2337 arch/powerpc/lib/sstep.c 			op->ea = ra ? regs->gpr[ra] : 0;
regs             2338 arch/powerpc/lib/sstep.c 			nb = regs->gpr[rb] & 0xff;
regs             2460 arch/powerpc/lib/sstep.c 		op->ea = dform_ea(instr, regs);
regs             2466 arch/powerpc/lib/sstep.c 		op->ea = dform_ea(instr, regs);
regs             2472 arch/powerpc/lib/sstep.c 		op->ea = dform_ea(instr, regs);
regs             2478 arch/powerpc/lib/sstep.c 		op->ea = dform_ea(instr, regs);
regs             2484 arch/powerpc/lib/sstep.c 		op->ea = dform_ea(instr, regs);
regs             2490 arch/powerpc/lib/sstep.c 		op->ea = dform_ea(instr, regs);
regs             2496 arch/powerpc/lib/sstep.c 		op->ea = dform_ea(instr, regs);
regs             2503 arch/powerpc/lib/sstep.c 		op->ea = dform_ea(instr, regs);
regs             2508 arch/powerpc/lib/sstep.c 		op->ea = dform_ea(instr, regs);
regs             2515 arch/powerpc/lib/sstep.c 		op->ea = dform_ea(instr, regs);
regs             2521 arch/powerpc/lib/sstep.c 		op->ea = dform_ea(instr, regs);
regs             2527 arch/powerpc/lib/sstep.c 		op->ea = dform_ea(instr, regs);
regs             2533 arch/powerpc/lib/sstep.c 		op->ea = dform_ea(instr, regs);
regs             2541 arch/powerpc/lib/sstep.c 		op->ea = dqform_ea(instr, regs);
regs             2547 arch/powerpc/lib/sstep.c 		op->ea = dsform_ea(instr, regs);
regs             2572 arch/powerpc/lib/sstep.c 		op->ea = dsform_ea(instr, regs);
regs             2592 arch/powerpc/lib/sstep.c 			op->ea = dsform_ea(instr, regs);
regs             2597 arch/powerpc/lib/sstep.c 			op->ea = dqform_ea(instr, regs);
regs             2607 arch/powerpc/lib/sstep.c 			op->ea = dsform_ea(instr, regs);
regs             2616 arch/powerpc/lib/sstep.c 			op->ea = dsform_ea(instr, regs);
regs             2624 arch/powerpc/lib/sstep.c 			op->ea = dqform_ea(instr, regs);
regs             2637 arch/powerpc/lib/sstep.c 		op->ea = dsform_ea(instr, regs);
regs             2667 arch/powerpc/lib/sstep.c 		set_cr0(regs, op);
regs             2675 arch/powerpc/lib/sstep.c 		set_cr0(regs, op);
regs             2702 arch/powerpc/lib/sstep.c static nokprobe_inline int handle_stack_update(unsigned long ea, struct pt_regs *regs)
regs             2755 arch/powerpc/lib/sstep.c void emulate_update_regs(struct pt_regs *regs, struct instruction_op *op)
regs             2759 arch/powerpc/lib/sstep.c 	next_pc = truncate_if_32bit(regs->msr, regs->nip + 4);
regs             2763 arch/powerpc/lib/sstep.c 			regs->gpr[op->reg] = op->val;
regs             2765 arch/powerpc/lib/sstep.c 			regs->ccr = op->ccval;
regs             2767 arch/powerpc/lib/sstep.c 			regs->xer = op->xerval;
regs             2772 arch/powerpc/lib/sstep.c 			regs->link = next_pc;
regs             2776 arch/powerpc/lib/sstep.c 			--regs->ctr;
regs             2802 arch/powerpc/lib/sstep.c 			regs->gpr[op->reg] = regs->xer & 0xffffffffUL;
regs             2805 arch/powerpc/lib/sstep.c 			regs->gpr[op->reg] = regs->link;
regs             2808 arch/powerpc/lib/sstep.c 			regs->gpr[op->reg] = regs->ctr;
regs             2818 arch/powerpc/lib/sstep.c 			regs->xer = op->val & 0xffffffffUL;
regs             2821 arch/powerpc/lib/sstep.c 			regs->link = op->val;
regs             2824 arch/powerpc/lib/sstep.c 			regs->ctr = op->val;
regs             2834 arch/powerpc/lib/sstep.c 	regs->nip = next_pc;
regs             2847 arch/powerpc/lib/sstep.c int emulate_loadstore(struct pt_regs *regs, struct instruction_op *op)
regs             2859 arch/powerpc/lib/sstep.c 	cross_endian = (regs->msr & MSR_LE) != (MSR_KERNEL & MSR_LE);
regs             2860 arch/powerpc/lib/sstep.c 	ea = truncate_if_32bit(regs->msr, op->ea);
regs             2866 arch/powerpc/lib/sstep.c 		if (!address_ok(regs, ea, size))
regs             2887 arch/powerpc/lib/sstep.c 			err = do_lqarx(ea, &regs->gpr[op->reg]);
regs             2894 arch/powerpc/lib/sstep.c 			regs->dar = ea;
regs             2898 arch/powerpc/lib/sstep.c 			regs->gpr[op->reg] = val;
regs             2904 arch/powerpc/lib/sstep.c 		if (!address_ok(regs, ea, size))
regs             2924 arch/powerpc/lib/sstep.c 			err = do_stqcx(ea, regs->gpr[op->reg],
regs             2925 arch/powerpc/lib/sstep.c 				       regs->gpr[op->reg + 1], &cr);
regs             2932 arch/powerpc/lib/sstep.c 			regs->ccr = (regs->ccr & 0x0fffffff) |
regs             2934 arch/powerpc/lib/sstep.c 				((regs->xer >> 3) & 0x10000000);
regs             2936 arch/powerpc/lib/sstep.c 			regs->dar = ea;
regs             2942 arch/powerpc/lib/sstep.c 			err = emulate_lq(regs, ea, op->reg, cross_endian);
regs             2946 arch/powerpc/lib/sstep.c 		err = read_mem(&regs->gpr[op->reg], ea, size, regs);
regs             2949 arch/powerpc/lib/sstep.c 				do_signext(&regs->gpr[op->reg], size);
regs             2951 arch/powerpc/lib/sstep.c 				do_byterev(&regs->gpr[op->reg], size);
regs             2963 arch/powerpc/lib/sstep.c 		if (!(regs->msr & MSR_PR) && !(regs->msr & MSR_FP))
regs             2965 arch/powerpc/lib/sstep.c 		err = do_fp_load(op, ea, regs, cross_endian);
regs             2970 arch/powerpc/lib/sstep.c 		if (!(regs->msr & MSR_PR) && !(regs->msr & MSR_VEC))
regs             2972 arch/powerpc/lib/sstep.c 		err = do_vec_load(op->reg, ea, size, regs, cross_endian);
regs             2985 arch/powerpc/lib/sstep.c 		if (!(regs->msr & MSR_PR) && !(regs->msr & msrbit))
regs             2987 arch/powerpc/lib/sstep.c 		err = do_vsx_load(op, ea, regs, cross_endian);
regs             2992 arch/powerpc/lib/sstep.c 		if (!address_ok(regs, ea, size))
regs             3001 arch/powerpc/lib/sstep.c 			err = copy_mem_in((u8 *) &v32, ea, nb, regs);
regs             3006 arch/powerpc/lib/sstep.c 			regs->gpr[rd] = v32;
regs             3016 arch/powerpc/lib/sstep.c 			err = emulate_stq(regs, ea, op->reg, cross_endian);
regs             3022 arch/powerpc/lib/sstep.c 		    !(regs->msr & MSR_PR) &&
regs             3023 arch/powerpc/lib/sstep.c 		    ea >= regs->gpr[1] - STACK_INT_FRAME_SIZE) {
regs             3024 arch/powerpc/lib/sstep.c 			err = handle_stack_update(ea, regs);
regs             3029 arch/powerpc/lib/sstep.c 		err = write_mem(op->val, ea, size, regs);
regs             3034 arch/powerpc/lib/sstep.c 		if (!(regs->msr & MSR_PR) && !(regs->msr & MSR_FP))
regs             3036 arch/powerpc/lib/sstep.c 		err = do_fp_store(op, ea, regs, cross_endian);
regs             3041 arch/powerpc/lib/sstep.c 		if (!(regs->msr & MSR_PR) && !(regs->msr & MSR_VEC))
regs             3043 arch/powerpc/lib/sstep.c 		err = do_vec_store(op->reg, ea, size, regs, cross_endian);
regs             3056 arch/powerpc/lib/sstep.c 		if (!(regs->msr & MSR_PR) && !(regs->msr & msrbit))
regs             3058 arch/powerpc/lib/sstep.c 		err = do_vsx_store(op, ea, regs, cross_endian);
regs             3063 arch/powerpc/lib/sstep.c 		if (!address_ok(regs, ea, size))
regs             3067 arch/powerpc/lib/sstep.c 			unsigned int v32 = regs->gpr[rd];
regs             3074 arch/powerpc/lib/sstep.c 			err = copy_mem_out((u8 *) &v32, ea, nb, regs);
regs             3091 arch/powerpc/lib/sstep.c 		regs->gpr[op->update_reg] = op->ea;
regs             3104 arch/powerpc/lib/sstep.c int emulate_step(struct pt_regs *regs, unsigned int instr)
regs             3111 arch/powerpc/lib/sstep.c 	r = analyse_instr(&op, regs, instr);
regs             3115 arch/powerpc/lib/sstep.c 		emulate_update_regs(regs, &op);
regs             3123 arch/powerpc/lib/sstep.c 		err = emulate_loadstore(regs, &op);
regs             3131 arch/powerpc/lib/sstep.c 		ea = truncate_if_32bit(regs->msr, op.ea);
regs             3132 arch/powerpc/lib/sstep.c 		if (!address_ok(regs, ea, 8))
regs             3153 arch/powerpc/lib/sstep.c 			err = emulate_dcbz(ea, regs);
regs             3157 arch/powerpc/lib/sstep.c 			regs->dar = ea;
regs             3163 arch/powerpc/lib/sstep.c 		regs->gpr[op.reg] = regs->msr & MSR_MASK;
regs             3167 arch/powerpc/lib/sstep.c 		val = regs->gpr[op.reg];
regs             3172 arch/powerpc/lib/sstep.c 		regs->msr = (regs->msr & ~op.val) | (val & op.val);
regs             3182 arch/powerpc/lib/sstep.c 		if (regs->gpr[0] == 0x1ebe &&
regs             3184 arch/powerpc/lib/sstep.c 			regs->msr ^= MSR_LE;
regs             3187 arch/powerpc/lib/sstep.c 		regs->gpr[9] = regs->gpr[13];
regs             3188 arch/powerpc/lib/sstep.c 		regs->gpr[10] = MSR_KERNEL;
regs             3189 arch/powerpc/lib/sstep.c 		regs->gpr[11] = regs->nip + 4;
regs             3190 arch/powerpc/lib/sstep.c 		regs->gpr[12] = regs->msr & MSR_MASK;
regs             3191 arch/powerpc/lib/sstep.c 		regs->gpr[13] = (unsigned long) get_paca();
regs             3192 arch/powerpc/lib/sstep.c 		regs->nip = (unsigned long) &system_call_common;
regs             3193 arch/powerpc/lib/sstep.c 		regs->msr = MSR_KERNEL;
regs             3203 arch/powerpc/lib/sstep.c 	regs->nip = truncate_if_32bit(regs->msr, regs->nip + 4);
regs               63 arch/powerpc/lib/test_emulate_step.c static void __init init_pt_regs(struct pt_regs *regs)
regs               68 arch/powerpc/lib/test_emulate_step.c 	memset(regs, 0, sizeof(struct pt_regs));
regs               71 arch/powerpc/lib/test_emulate_step.c 		regs->msr = msr;
regs               75 arch/powerpc/lib/test_emulate_step.c 	asm volatile("mfmsr %0" : "=r"(regs->msr));
regs               77 arch/powerpc/lib/test_emulate_step.c 	regs->msr |= MSR_FP;
regs               78 arch/powerpc/lib/test_emulate_step.c 	regs->msr |= MSR_VEC;
regs               79 arch/powerpc/lib/test_emulate_step.c 	regs->msr |= MSR_VSX;
regs               81 arch/powerpc/lib/test_emulate_step.c 	msr = regs->msr;
regs               98 arch/powerpc/lib/test_emulate_step.c 	struct pt_regs regs;
regs              102 arch/powerpc/lib/test_emulate_step.c 	init_pt_regs(&regs);
regs              103 arch/powerpc/lib/test_emulate_step.c 	regs.gpr[3] = (unsigned long) &a;
regs              106 arch/powerpc/lib/test_emulate_step.c 	stepped = emulate_step(&regs, TEST_LD(5, 3, 0));
regs              108 arch/powerpc/lib/test_emulate_step.c 	if (stepped == 1 && regs.gpr[5] == a)
regs              116 arch/powerpc/lib/test_emulate_step.c 	struct pt_regs regs;
regs              120 arch/powerpc/lib/test_emulate_step.c 	init_pt_regs(&regs);
regs              121 arch/powerpc/lib/test_emulate_step.c 	regs.gpr[3] = (unsigned long) &a;
regs              124 arch/powerpc/lib/test_emulate_step.c 	stepped = emulate_step(&regs, TEST_LWZ(5, 3, 0));
regs              126 arch/powerpc/lib/test_emulate_step.c 	if (stepped == 1 && regs.gpr[5] == a)
regs              134 arch/powerpc/lib/test_emulate_step.c 	struct pt_regs regs;
regs              138 arch/powerpc/lib/test_emulate_step.c 	init_pt_regs(&regs);
regs              139 arch/powerpc/lib/test_emulate_step.c 	regs.gpr[3] = (unsigned long) a;
regs              140 arch/powerpc/lib/test_emulate_step.c 	regs.gpr[4] = 8;
regs              141 arch/powerpc/lib/test_emulate_step.c 	regs.gpr[5] = 0x8765;
regs              144 arch/powerpc/lib/test_emulate_step.c 	stepped = emulate_step(&regs, TEST_LWZX(5, 3, 4));
regs              145 arch/powerpc/lib/test_emulate_step.c 	if (stepped == 1 && regs.gpr[5] == a[2])
regs              153 arch/powerpc/lib/test_emulate_step.c 	struct pt_regs regs;
regs              157 arch/powerpc/lib/test_emulate_step.c 	init_pt_regs(&regs);
regs              158 arch/powerpc/lib/test_emulate_step.c 	regs.gpr[3] = (unsigned long) &a;
regs              159 arch/powerpc/lib/test_emulate_step.c 	regs.gpr[5] = 0x5678;
regs              162 arch/powerpc/lib/test_emulate_step.c 	stepped = emulate_step(&regs, TEST_STD(5, 3, 0));
regs              163 arch/powerpc/lib/test_emulate_step.c 	if (stepped == 1 || regs.gpr[5] == a)
regs              171 arch/powerpc/lib/test_emulate_step.c 	struct pt_regs regs;
regs              176 arch/powerpc/lib/test_emulate_step.c 	init_pt_regs(&regs);
regs              177 arch/powerpc/lib/test_emulate_step.c 	asm volatile("mfcr %0" : "=r"(regs.ccr));
regs              182 arch/powerpc/lib/test_emulate_step.c 	regs.gpr[3] = (unsigned long) &a;
regs              183 arch/powerpc/lib/test_emulate_step.c 	regs.gpr[4] = 0;
regs              184 arch/powerpc/lib/test_emulate_step.c 	regs.gpr[5] = 0x5678;
regs              187 arch/powerpc/lib/test_emulate_step.c 	stepped = emulate_step(&regs, TEST_LDARX(5, 3, 4, 0));
regs              194 arch/powerpc/lib/test_emulate_step.c 	if (stepped <= 0 || regs.gpr[5] != 0x1234) {
regs              202 arch/powerpc/lib/test_emulate_step.c 	regs.gpr[5] = 0x9ABC;
regs              205 arch/powerpc/lib/test_emulate_step.c 	stepped = emulate_step(&regs, TEST_STDCX(5, 3, 4));
regs              215 arch/powerpc/lib/test_emulate_step.c 	if (stepped == 1 && ((regs.gpr[5] == a && (regs.ccr & cr0_eq))
regs              216 arch/powerpc/lib/test_emulate_step.c 			|| (regs.gpr[5] != a && !(regs.ccr & cr0_eq))))
regs              225 arch/powerpc/lib/test_emulate_step.c 	struct pt_regs regs;
regs              233 arch/powerpc/lib/test_emulate_step.c 	init_pt_regs(&regs);
regs              241 arch/powerpc/lib/test_emulate_step.c 	regs.gpr[3] = (unsigned long) &c.a;
regs              242 arch/powerpc/lib/test_emulate_step.c 	regs.gpr[4] = 0;
regs              245 arch/powerpc/lib/test_emulate_step.c 	stepped = emulate_step(&regs, TEST_LFSX(10, 3, 4));
regs              258 arch/powerpc/lib/test_emulate_step.c 	stepped = emulate_step(&regs, TEST_STFSX(10, 3, 4));
regs              268 arch/powerpc/lib/test_emulate_step.c 	struct pt_regs regs;
regs              276 arch/powerpc/lib/test_emulate_step.c 	init_pt_regs(&regs);
regs              284 arch/powerpc/lib/test_emulate_step.c 	regs.gpr[3] = (unsigned long) &c.a;
regs              285 arch/powerpc/lib/test_emulate_step.c 	regs.gpr[4] = 0;
regs              288 arch/powerpc/lib/test_emulate_step.c 	stepped = emulate_step(&regs, TEST_LFDX(10, 3, 4));
regs              301 arch/powerpc/lib/test_emulate_step.c 	stepped = emulate_step(&regs, TEST_STFDX(10, 3, 4));
regs              325 arch/powerpc/lib/test_emulate_step.c 	struct pt_regs regs;
regs              333 arch/powerpc/lib/test_emulate_step.c 	init_pt_regs(&regs);
regs              343 arch/powerpc/lib/test_emulate_step.c 	regs.gpr[3] = (unsigned long) &c.a;
regs              344 arch/powerpc/lib/test_emulate_step.c 	regs.gpr[4] = 0;
regs              347 arch/powerpc/lib/test_emulate_step.c 	stepped = emulate_step(&regs, TEST_LVX(10, 3, 4));
regs              363 arch/powerpc/lib/test_emulate_step.c 	stepped = emulate_step(&regs, TEST_STVX(10, 3, 4));
regs              382 arch/powerpc/lib/test_emulate_step.c 	struct pt_regs regs;
regs              390 arch/powerpc/lib/test_emulate_step.c 	init_pt_regs(&regs);
regs              400 arch/powerpc/lib/test_emulate_step.c 	regs.gpr[3] = (unsigned long) &c.a;
regs              401 arch/powerpc/lib/test_emulate_step.c 	regs.gpr[4] = 0;
regs              404 arch/powerpc/lib/test_emulate_step.c 	stepped = emulate_step(&regs, TEST_LXVD2X(39, 3, 4));
regs              424 arch/powerpc/lib/test_emulate_step.c 	stepped = emulate_step(&regs, TEST_STXVD2X(39, 3, 4));
regs              464 arch/powerpc/lib/test_emulate_step.c 		struct pt_regs regs;
regs              475 arch/powerpc/lib/test_emulate_step.c 				.regs = {
regs              487 arch/powerpc/lib/test_emulate_step.c 				.regs = {
regs              495 arch/powerpc/lib/test_emulate_step.c 				.regs = {
regs              503 arch/powerpc/lib/test_emulate_step.c 				.regs = {
regs              511 arch/powerpc/lib/test_emulate_step.c 				.regs = {
regs              519 arch/powerpc/lib/test_emulate_step.c 				.regs = {
regs              527 arch/powerpc/lib/test_emulate_step.c 				.regs = {
regs              535 arch/powerpc/lib/test_emulate_step.c 				.regs = {
regs              543 arch/powerpc/lib/test_emulate_step.c 				.regs = {
regs              551 arch/powerpc/lib/test_emulate_step.c 				.regs = {
regs              559 arch/powerpc/lib/test_emulate_step.c 				.regs = {
regs              573 arch/powerpc/lib/test_emulate_step.c 				.regs = {
regs              581 arch/powerpc/lib/test_emulate_step.c 				.regs = {
regs              590 arch/powerpc/lib/test_emulate_step.c 				.regs = {
regs              598 arch/powerpc/lib/test_emulate_step.c 				.regs = {
regs              606 arch/powerpc/lib/test_emulate_step.c 				.regs = {
regs              614 arch/powerpc/lib/test_emulate_step.c 				.regs = {
regs              622 arch/powerpc/lib/test_emulate_step.c 				.regs = {
regs              630 arch/powerpc/lib/test_emulate_step.c 				.regs = {
regs              638 arch/powerpc/lib/test_emulate_step.c 				.regs = {
regs              646 arch/powerpc/lib/test_emulate_step.c 				.regs = {
regs              659 arch/powerpc/lib/test_emulate_step.c 				.regs = {
regs              667 arch/powerpc/lib/test_emulate_step.c 				.regs = {
regs              675 arch/powerpc/lib/test_emulate_step.c 				.regs = {
regs              683 arch/powerpc/lib/test_emulate_step.c 				.regs = {
regs              691 arch/powerpc/lib/test_emulate_step.c 				.regs = {
regs              699 arch/powerpc/lib/test_emulate_step.c 				.regs = {
regs              707 arch/powerpc/lib/test_emulate_step.c 				.regs = {
regs              715 arch/powerpc/lib/test_emulate_step.c 				.regs = {
regs              723 arch/powerpc/lib/test_emulate_step.c 				.regs = {
regs              731 arch/powerpc/lib/test_emulate_step.c 				.regs = {
regs              739 arch/powerpc/lib/test_emulate_step.c 				.regs = {
regs              753 arch/powerpc/lib/test_emulate_step.c 				.regs = {
regs              761 arch/powerpc/lib/test_emulate_step.c 				.regs = {
regs              770 arch/powerpc/lib/test_emulate_step.c 				.regs = {
regs              778 arch/powerpc/lib/test_emulate_step.c 				.regs = {
regs              786 arch/powerpc/lib/test_emulate_step.c 				.regs = {
regs              794 arch/powerpc/lib/test_emulate_step.c 				.regs = {
regs              802 arch/powerpc/lib/test_emulate_step.c 				.regs = {
regs              810 arch/powerpc/lib/test_emulate_step.c 				.regs = {
regs              818 arch/powerpc/lib/test_emulate_step.c 				.regs = {
regs              826 arch/powerpc/lib/test_emulate_step.c 				.regs = {
regs              834 arch/powerpc/lib/test_emulate_step.c 				.regs = {
regs              843 arch/powerpc/lib/test_emulate_step.c static int __init emulate_compute_instr(struct pt_regs *regs,
regs              848 arch/powerpc/lib/test_emulate_step.c 	if (!regs || !instr)
regs              851 arch/powerpc/lib/test_emulate_step.c 	if (analyse_instr(&op, regs, instr) != 1 ||
regs              857 arch/powerpc/lib/test_emulate_step.c 	emulate_update_regs(regs, &op);
regs              861 arch/powerpc/lib/test_emulate_step.c static int __init execute_compute_instr(struct pt_regs *regs,
regs              864 arch/powerpc/lib/test_emulate_step.c 	extern int exec_instr(struct pt_regs *regs);
regs              867 arch/powerpc/lib/test_emulate_step.c 	if (!regs || !instr)
regs              872 arch/powerpc/lib/test_emulate_step.c 	if (exec_instr(regs)) {
regs              892 arch/powerpc/lib/test_emulate_step.c 	struct pt_regs *regs, exp, got;
regs              902 arch/powerpc/lib/test_emulate_step.c 			regs = &test->subtests[j].regs;
regs              907 arch/powerpc/lib/test_emulate_step.c 			memcpy(&exp, regs, sizeof(struct pt_regs));
regs              908 arch/powerpc/lib/test_emulate_step.c 			memcpy(&got, regs, sizeof(struct pt_regs));
regs              168 arch/powerpc/math-emu/math.c record_exception(struct pt_regs *regs, int eflag)
regs              226 arch/powerpc/math-emu/math.c do_mathemu(struct pt_regs *regs)
regs              229 arch/powerpc/math-emu/math.c 	unsigned long pc = regs->nip;
regs              354 arch/powerpc/math-emu/math.c 		op1 = (void *)((idx ? regs->gpr[idx] : 0) + sdisp);
regs              364 arch/powerpc/math-emu/math.c 		op1 = (void *)(regs->gpr[idx] + sdisp);
regs              384 arch/powerpc/math-emu/math.c 		op1 = (void *)((idx ? regs->gpr[idx] : 0)
regs              385 arch/powerpc/math-emu/math.c 				+ regs->gpr[(insn >> 11) & 0x1f]);
regs              393 arch/powerpc/math-emu/math.c 		op1 = (void *)(regs->gpr[idx]
regs              394 arch/powerpc/math-emu/math.c 				+ regs->gpr[(insn >> 11) & 0x1f]);
regs              398 arch/powerpc/math-emu/math.c 		op0 = (void *)&regs->ccr;
regs              405 arch/powerpc/math-emu/math.c 		op0 = (void *)&regs->ccr;
regs              438 arch/powerpc/math-emu/math.c 		regs->ccr &= ~(0x0f000000);
regs              439 arch/powerpc/math-emu/math.c 		regs->ccr |= (__FPU_FPSCR >> 4) & 0x0f000000;
regs              442 arch/powerpc/math-emu/math.c 	trap = record_exception(regs, eflag);
regs              449 arch/powerpc/math-emu/math.c 		regs->gpr[idx] = (unsigned long)op1;
regs              456 arch/powerpc/math-emu/math.c 	regs->nip += 4;
regs              176 arch/powerpc/math-emu/math_efp.c int do_spe_mathemu(struct pt_regs *regs)
regs              184 arch/powerpc/math-emu/math_efp.c 	if (get_user(speinsn, (unsigned int __user *) regs->nip))
regs              200 arch/powerpc/math-emu/math_efp.c 	vc.wp[1] = regs->gpr[fc];
regs              202 arch/powerpc/math-emu/math_efp.c 	va.wp[1] = regs->gpr[fa];
regs              204 arch/powerpc/math-emu/math_efp.c 	vb.wp[1] = regs->gpr[fb];
regs              655 arch/powerpc/math-emu/math_efp.c 	regs->ccr &= ~(15 << ((7 - ((speinsn >> 23) & 0x7)) << 2));
regs              656 arch/powerpc/math-emu/math_efp.c 	regs->ccr |= (IR << ((7 - ((speinsn >> 23) & 0x7)) << 2));
regs              682 arch/powerpc/math-emu/math_efp.c 	regs->gpr[fc] = vc.wp[1];
regs              684 arch/powerpc/math-emu/math_efp.c 	pr_debug("ccr = %08lx\n", regs->ccr);
regs              713 arch/powerpc/math-emu/math_efp.c 		regs->nip -= 4;
regs              722 arch/powerpc/math-emu/math_efp.c int speround_handler(struct pt_regs *regs)
regs              730 arch/powerpc/math-emu/math_efp.c 	if (get_user(speinsn, (unsigned int __user *) regs->nip))
regs              751 arch/powerpc/math-emu/math_efp.c 	s_lo = regs->gpr[fc] & SIGN_BIT_S;
regs              754 arch/powerpc/math-emu/math_efp.c 	fgpr.wp[1] = regs->gpr[fc];
regs              788 arch/powerpc/math-emu/math_efp.c 			s_lo = regs->gpr[fb] & SIGN_BIT_S;
regs              796 arch/powerpc/math-emu/math_efp.c 			s_lo = regs->gpr[fb] & SIGN_BIT_S;
regs              880 arch/powerpc/math-emu/math_efp.c 	regs->gpr[fc] = fgpr.wp[1];
regs              334 arch/powerpc/mm/book3s32/mmu.c 	if (!current->thread.regs)
regs              338 arch/powerpc/mm/book3s32/mmu.c 	if (TRAP(current->thread.regs) != 0x300 && TRAP(current->thread.regs) != 0x400)
regs             1638 arch/powerpc/mm/book3s64/hash_utils.c 	trap = current->thread.regs ? TRAP(current->thread.regs) : 0UL;
regs             1688 arch/powerpc/mm/book3s64/hash_utils.c 	if (local && cpu_has_feature(CPU_FTR_TM) && current->thread.regs &&
regs             1689 arch/powerpc/mm/book3s64/hash_utils.c 	    MSR_TM_ACTIVE(current->thread.regs->msr)) {
regs             1820 arch/powerpc/mm/book3s64/hash_utils.c void low_hash_fault(struct pt_regs *regs, unsigned long address, int rc)
regs             1824 arch/powerpc/mm/book3s64/hash_utils.c 	if (user_mode(regs)) {
regs             1827 arch/powerpc/mm/book3s64/hash_utils.c 			_exception(SIGSEGV, regs, SEGV_ACCERR, address);
regs             1830 arch/powerpc/mm/book3s64/hash_utils.c 			_exception(SIGBUS, regs, BUS_ADRERR, address);
regs             1832 arch/powerpc/mm/book3s64/hash_utils.c 		bad_page_fault(regs, address, SIGBUS);
regs              764 arch/powerpc/mm/book3s64/slb.c long do_slb_fault(struct pt_regs *regs, unsigned long ea)
regs              771 arch/powerpc/mm/book3s64/slb.c 	if (unlikely(!(regs->msr & MSR_RI)))
regs              816 arch/powerpc/mm/book3s64/slb.c void do_bad_slb_fault(struct pt_regs *regs, unsigned long ea, long err)
regs              819 arch/powerpc/mm/book3s64/slb.c 		if (user_mode(regs))
regs              820 arch/powerpc/mm/book3s64/slb.c 			_exception(SIGSEGV, regs, SEGV_BNDERR, ea);
regs              822 arch/powerpc/mm/book3s64/slb.c 			bad_page_fault(regs, ea, SIGSEGV);
regs              824 arch/powerpc/mm/book3s64/slb.c 		unrecoverable_exception(regs);
regs               83 arch/powerpc/mm/fault.c __bad_area_nosemaphore(struct pt_regs *regs, unsigned long address, int si_code)
regs               90 arch/powerpc/mm/fault.c 	if (!user_mode(regs))
regs               93 arch/powerpc/mm/fault.c 	_exception(SIGSEGV, regs, si_code, address);
regs               98 arch/powerpc/mm/fault.c static noinline int bad_area_nosemaphore(struct pt_regs *regs, unsigned long address)
regs              100 arch/powerpc/mm/fault.c 	return __bad_area_nosemaphore(regs, address, SEGV_MAPERR);
regs              103 arch/powerpc/mm/fault.c static int __bad_area(struct pt_regs *regs, unsigned long address, int si_code)
regs              113 arch/powerpc/mm/fault.c 	return __bad_area_nosemaphore(regs, address, si_code);
regs              116 arch/powerpc/mm/fault.c static noinline int bad_area(struct pt_regs *regs, unsigned long address)
regs              118 arch/powerpc/mm/fault.c 	return __bad_area(regs, address, SEGV_MAPERR);
regs              121 arch/powerpc/mm/fault.c static int bad_key_fault_exception(struct pt_regs *regs, unsigned long address,
regs              129 arch/powerpc/mm/fault.c 	if (!user_mode(regs))
regs              132 arch/powerpc/mm/fault.c 	_exception_pkey(regs, address, pkey);
regs              137 arch/powerpc/mm/fault.c static noinline int bad_access(struct pt_regs *regs, unsigned long address)
regs              139 arch/powerpc/mm/fault.c 	return __bad_area(regs, address, SEGV_ACCERR);
regs              142 arch/powerpc/mm/fault.c static int do_sigbus(struct pt_regs *regs, unsigned long address,
regs              145 arch/powerpc/mm/fault.c 	if (!user_mode(regs))
regs              170 arch/powerpc/mm/fault.c static int mm_fault_error(struct pt_regs *regs, unsigned long addr,
regs              177 arch/powerpc/mm/fault.c 	if (fatal_signal_pending(current) && !user_mode(regs))
regs              186 arch/powerpc/mm/fault.c 		if (!user_mode(regs))
regs              192 arch/powerpc/mm/fault.c 			return do_sigbus(regs, addr, fault);
regs              194 arch/powerpc/mm/fault.c 			return bad_area_nosemaphore(regs, addr);
regs              202 arch/powerpc/mm/fault.c static bool bad_kernel_fault(struct pt_regs *regs, unsigned long error_code,
regs              205 arch/powerpc/mm/fault.c 	int is_exec = TRAP(regs) == 0x400;
regs              220 arch/powerpc/mm/fault.c 	    !search_exception_tables(regs->nip)) {
regs              231 arch/powerpc/mm/fault.c 	if (!search_exception_tables(regs->nip))
regs              236 arch/powerpc/mm/fault.c 	if (bad_kuap_fault(regs, address, is_write))
regs              244 arch/powerpc/mm/fault.c static bool bad_stack_expansion(struct pt_regs *regs, unsigned long address,
regs              258 arch/powerpc/mm/fault.c 		unsigned int __user *nip = (unsigned int __user *)regs->nip;
regs              260 arch/powerpc/mm/fault.c 		struct pt_regs *uregs = current->thread.regs;
regs              436 arch/powerpc/mm/fault.c static int __do_page_fault(struct pt_regs *regs, unsigned long address,
regs              442 arch/powerpc/mm/fault.c  	int is_exec = TRAP(regs) == 0x400;
regs              443 arch/powerpc/mm/fault.c 	int is_user = user_mode(regs);
regs              447 arch/powerpc/mm/fault.c 	bool kprobe_fault = kprobe_page_fault(regs, 11);
regs              449 arch/powerpc/mm/fault.c 	if (unlikely(debugger_fault_handler(regs) || kprobe_fault))
regs              454 arch/powerpc/mm/fault.c 			_exception(SIGBUS, regs, BUS_OBJERR, address);
regs              468 arch/powerpc/mm/fault.c 	if (unlikely(!is_user && bad_kernel_fault(regs, error_code, address, is_write)))
regs              481 arch/powerpc/mm/fault.c 		return bad_area_nosemaphore(regs, address);
regs              485 arch/powerpc/mm/fault.c 	if (!arch_irq_disabled_regs(regs))
regs              488 arch/powerpc/mm/fault.c 	perf_sw_event(PERF_COUNT_SW_PAGE_FAULTS, 1, regs, address);
regs              491 arch/powerpc/mm/fault.c 		return bad_key_fault_exception(regs, address,
regs              522 arch/powerpc/mm/fault.c 		if (!is_user && !search_exception_tables(regs->nip))
regs              523 arch/powerpc/mm/fault.c 			return bad_area_nosemaphore(regs, address);
regs              538 arch/powerpc/mm/fault.c 		return bad_area(regs, address);
regs              542 arch/powerpc/mm/fault.c 		return bad_area(regs, address);
regs              545 arch/powerpc/mm/fault.c 	if (unlikely(bad_stack_expansion(regs, address, vma, flags,
regs              548 arch/powerpc/mm/fault.c 			return bad_area(regs, address);
regs              551 arch/powerpc/mm/fault.c 		if (fault_in_pages_readable((const char __user *)regs->nip,
regs              553 arch/powerpc/mm/fault.c 			return bad_area_nosemaphore(regs, address);
regs              559 arch/powerpc/mm/fault.c 		return bad_area(regs, address);
regs              563 arch/powerpc/mm/fault.c 		return bad_access(regs, address);
regs              583 arch/powerpc/mm/fault.c 		return bad_key_fault_exception(regs, address, pkey);
regs              616 arch/powerpc/mm/fault.c 		return mm_fault_error(regs, address, fault);
regs              623 arch/powerpc/mm/fault.c 		perf_sw_event(PERF_COUNT_SW_PAGE_FAULTS_MAJ, 1, regs, address);
regs              627 arch/powerpc/mm/fault.c 		perf_sw_event(PERF_COUNT_SW_PAGE_FAULTS_MIN, 1, regs, address);
regs              633 arch/powerpc/mm/fault.c int do_page_fault(struct pt_regs *regs, unsigned long address,
regs              637 arch/powerpc/mm/fault.c 	int rc = __do_page_fault(regs, address, error_code);
regs              648 arch/powerpc/mm/fault.c void bad_page_fault(struct pt_regs *regs, unsigned long address, int sig)
regs              653 arch/powerpc/mm/fault.c 	if ((entry = search_exception_tables(regs->nip)) != NULL) {
regs              654 arch/powerpc/mm/fault.c 		regs->nip = extable_fixup(entry);
regs              660 arch/powerpc/mm/fault.c 	switch (TRAP(regs)) {
regs              665 arch/powerpc/mm/fault.c 			 regs->dar < PAGE_SIZE ? "Kernel NULL pointer dereference" :
regs              666 arch/powerpc/mm/fault.c 			 "Unable to handle kernel data access", regs->dar);
regs              671 arch/powerpc/mm/fault.c 			 regs->nip < PAGE_SIZE ? " (NULL pointer?)\n" : "\n");
regs              675 arch/powerpc/mm/fault.c 			 regs->dar);
regs              679 arch/powerpc/mm/fault.c 			 regs->dar);
regs              683 arch/powerpc/mm/fault.c 		regs->nip);
regs              688 arch/powerpc/mm/fault.c 	die("Kernel access of bad area", regs, sig);
regs               33 arch/powerpc/mm/pgtable.c 	return current->thread.regs && TRAP(current->thread.regs) == 0x400;
regs               90 arch/powerpc/oprofile/backtrace.c void op_powerpc_backtrace(struct pt_regs * const regs, unsigned int depth)
regs               92 arch/powerpc/oprofile/backtrace.c 	unsigned long sp = regs->gpr[1];
regs               98 arch/powerpc/oprofile/backtrace.c 	if (!user_mode(regs)) {
regs               29 arch/powerpc/oprofile/common.c static void op_handle_interrupt(struct pt_regs *regs)
regs               31 arch/powerpc/oprofile/common.c 	model->handle_interrupt(regs, ctr);
regs              168 arch/powerpc/oprofile/op_model_7450.c static void fsl7450_handle_interrupt(struct pt_regs *regs,
regs              186 arch/powerpc/oprofile/op_model_7450.c 				oprofile_add_ext_sample(pc, regs, i, is_kernel);
regs             1478 arch/powerpc/oprofile/op_model_cell.c static void cell_handle_interrupt_spu(struct pt_regs *regs,
regs             1596 arch/powerpc/oprofile/op_model_cell.c static void cell_handle_interrupt_ppu(struct pt_regs *regs,
regs             1633 arch/powerpc/oprofile/op_model_cell.c 		pc = regs->nip;
regs             1639 arch/powerpc/oprofile/op_model_cell.c 				oprofile_add_ext_sample(pc, regs, i, is_kernel);
regs             1669 arch/powerpc/oprofile/op_model_cell.c static void cell_handle_interrupt(struct pt_regs *regs,
regs             1673 arch/powerpc/oprofile/op_model_cell.c 		cell_handle_interrupt_ppu(regs, ctr);
regs             1675 arch/powerpc/oprofile/op_model_cell.c 		cell_handle_interrupt_spu(regs, ctr);
regs              340 arch/powerpc/oprofile/op_model_fsl_emb.c static void fsl_emb_handle_interrupt(struct pt_regs *regs,
regs              348 arch/powerpc/oprofile/op_model_fsl_emb.c 	pc = regs->nip;
regs              355 arch/powerpc/oprofile/op_model_fsl_emb.c 				oprofile_add_ext_sample(pc, regs, i, is_kernel);
regs              187 arch/powerpc/oprofile/op_model_pa6t.c static void pa6t_handle_interrupt(struct pt_regs *regs,
regs              208 arch/powerpc/oprofile/op_model_pa6t.c 					oprofile_add_ext_sample(pc, regs, i, is_kernel);
regs              277 arch/powerpc/oprofile/op_model_power4.c static unsigned long get_pc(struct pt_regs *regs)
regs              359 arch/powerpc/oprofile/op_model_power4.c static void power4_handle_interrupt(struct pt_regs *regs,
regs              372 arch/powerpc/oprofile/op_model_power4.c 	pc = get_pc(regs);
regs              398 arch/powerpc/oprofile/op_model_power4.c 					oprofile_add_ext_sample(pc, regs, i,
regs               47 arch/powerpc/perf/callchain.c perf_callchain_kernel(struct perf_callchain_entry_ctx *entry, struct pt_regs *regs)
regs               55 arch/powerpc/perf/callchain.c 	lr = regs->link;
regs               56 arch/powerpc/perf/callchain.c 	sp = regs->gpr[1];
regs               57 arch/powerpc/perf/callchain.c 	perf_callchain_store(entry, perf_instruction_pointer(regs));
regs               72 arch/powerpc/perf/callchain.c 			regs = (struct pt_regs *)(sp + STACK_FRAME_OVERHEAD);
regs               73 arch/powerpc/perf/callchain.c 			next_ip = regs->nip;
regs               74 arch/powerpc/perf/callchain.c 			lr = regs->link;
regs              233 arch/powerpc/perf/callchain.c 				   struct pt_regs *regs)
regs              242 arch/powerpc/perf/callchain.c 	next_ip = perf_instruction_pointer(regs);
regs              243 arch/powerpc/perf/callchain.c 	lr = regs->link;
regs              244 arch/powerpc/perf/callchain.c 	sp = regs->gpr[1];
regs              320 arch/powerpc/perf/callchain.c 					  struct pt_regs *regs)
regs              388 arch/powerpc/perf/callchain.c 	unsigned int regs;
regs              391 arch/powerpc/perf/callchain.c 	if (read_user_stack_32((unsigned int __user *) &sf->sctx.regs, &regs))
regs              393 arch/powerpc/perf/callchain.c 	return regs == (unsigned long) &sf->mctx;
regs              399 arch/powerpc/perf/callchain.c 	unsigned int regs;
regs              402 arch/powerpc/perf/callchain.c 	if (read_user_stack_32((unsigned int __user *) &sf->uc.uc_regs, &regs))
regs              404 arch/powerpc/perf/callchain.c 	return regs == (unsigned long) &sf->uc.uc_mcontext;
regs              440 arch/powerpc/perf/callchain.c 				   struct pt_regs *regs)
regs              448 arch/powerpc/perf/callchain.c 	next_ip = perf_instruction_pointer(regs);
regs              449 arch/powerpc/perf/callchain.c 	lr = regs->link;
regs              450 arch/powerpc/perf/callchain.c 	sp = regs->gpr[1];
regs              487 arch/powerpc/perf/callchain.c perf_callchain_user(struct perf_callchain_entry_ctx *entry, struct pt_regs *regs)
regs              490 arch/powerpc/perf/callchain.c 		perf_callchain_user_64(entry, regs);
regs              492 arch/powerpc/perf/callchain.c 		perf_callchain_user_32(entry, regs);
regs               95 arch/powerpc/perf/core-book3s.c static inline unsigned long perf_ip_adjust(struct pt_regs *regs)
regs               99 arch/powerpc/perf/core-book3s.c static inline void perf_get_data_addr(struct pt_regs *regs, u64 *addrp) { }
regs              100 arch/powerpc/perf/core-book3s.c static inline u32 perf_get_misc_flags(struct pt_regs *regs)
regs              104 arch/powerpc/perf/core-book3s.c static inline void perf_read_regs(struct pt_regs *regs)
regs              106 arch/powerpc/perf/core-book3s.c 	regs->result = 0;
regs              108 arch/powerpc/perf/core-book3s.c static inline int perf_intr_is_nmi(struct pt_regs *regs)
regs              113 arch/powerpc/perf/core-book3s.c static inline int siar_valid(struct pt_regs *regs)
regs              142 arch/powerpc/perf/core-book3s.c static bool regs_use_siar(struct pt_regs *regs)
regs              153 arch/powerpc/perf/core-book3s.c 	return ((TRAP(regs) == 0xf00) && regs->result);
regs              161 arch/powerpc/perf/core-book3s.c static inline unsigned long perf_ip_adjust(struct pt_regs *regs)
regs              163 arch/powerpc/perf/core-book3s.c 	unsigned long mmcra = regs->dsisr;
regs              182 arch/powerpc/perf/core-book3s.c static inline void perf_get_data_addr(struct pt_regs *regs, u64 *addrp)
regs              184 arch/powerpc/perf/core-book3s.c 	unsigned long mmcra = regs->dsisr;
regs              188 arch/powerpc/perf/core-book3s.c 		sdar_valid = regs->dar & SIER_SDAR_VALID;
regs              212 arch/powerpc/perf/core-book3s.c static bool regs_sihv(struct pt_regs *regs)
regs              217 arch/powerpc/perf/core-book3s.c 		return !!(regs->dar & SIER_SIHV);
regs              222 arch/powerpc/perf/core-book3s.c 	return !!(regs->dsisr & sihv);
regs              225 arch/powerpc/perf/core-book3s.c static bool regs_sipr(struct pt_regs *regs)
regs              230 arch/powerpc/perf/core-book3s.c 		return !!(regs->dar & SIER_SIPR);
regs              235 arch/powerpc/perf/core-book3s.c 	return !!(regs->dsisr & sipr);
regs              238 arch/powerpc/perf/core-book3s.c static inline u32 perf_flags_from_msr(struct pt_regs *regs)
regs              240 arch/powerpc/perf/core-book3s.c 	if (regs->msr & MSR_PR)
regs              242 arch/powerpc/perf/core-book3s.c 	if ((regs->msr & MSR_HV) && freeze_events_kernel != MMCR0_FCHV)
regs              247 arch/powerpc/perf/core-book3s.c static inline u32 perf_get_misc_flags(struct pt_regs *regs)
regs              249 arch/powerpc/perf/core-book3s.c 	bool use_siar = regs_use_siar(regs);
regs              252 arch/powerpc/perf/core-book3s.c 		return perf_flags_from_msr(regs);
regs              268 arch/powerpc/perf/core-book3s.c 	if (regs_sipr(regs))
regs              271 arch/powerpc/perf/core-book3s.c 	if (regs_sihv(regs) && (freeze_events_kernel != MMCR0_FCHV))
regs              284 arch/powerpc/perf/core-book3s.c static inline void perf_read_regs(struct pt_regs *regs)
regs              290 arch/powerpc/perf/core-book3s.c 	regs->dsisr = mmcra;
regs              293 arch/powerpc/perf/core-book3s.c 		regs->dar = mfspr(SPRN_SIER);
regs              312 arch/powerpc/perf/core-book3s.c 	if (TRAP(regs) != 0xf00)
regs              320 arch/powerpc/perf/core-book3s.c 	else if (!(ppmu->flags & PPMU_NO_SIPR) && regs_sipr(regs))
regs              325 arch/powerpc/perf/core-book3s.c 	regs->result = use_siar;
regs              332 arch/powerpc/perf/core-book3s.c static inline int perf_intr_is_nmi(struct pt_regs *regs)
regs              334 arch/powerpc/perf/core-book3s.c 	return (regs->softe & IRQS_DISABLED);
regs              344 arch/powerpc/perf/core-book3s.c static inline int siar_valid(struct pt_regs *regs)
regs              346 arch/powerpc/perf/core-book3s.c 	unsigned long mmcra = regs->dsisr;
regs              351 arch/powerpc/perf/core-book3s.c 			return regs->dar & SIER_SIAR_VALID;
regs              724 arch/powerpc/perf/core-book3s.c static void perf_event_interrupt(struct pt_regs *regs);
regs             2039 arch/powerpc/perf/core-book3s.c 			       struct pt_regs *regs)
regs             2068 arch/powerpc/perf/core-book3s.c 			record = siar_valid(regs);
regs             2090 arch/powerpc/perf/core-book3s.c 			perf_get_data_addr(regs, &data.addr);
regs             2101 arch/powerpc/perf/core-book3s.c 			ppmu->get_mem_data_src(&data.data_src, ppmu->flags, regs);
regs             2107 arch/powerpc/perf/core-book3s.c 		if (perf_event_overflow(event, &data, regs))
regs             2116 arch/powerpc/perf/core-book3s.c unsigned long perf_misc_flags(struct pt_regs *regs)
regs             2118 arch/powerpc/perf/core-book3s.c 	u32 flags = perf_get_misc_flags(regs);
regs             2122 arch/powerpc/perf/core-book3s.c 	return user_mode(regs) ? PERF_RECORD_MISC_USER :
regs             2130 arch/powerpc/perf/core-book3s.c unsigned long perf_instruction_pointer(struct pt_regs *regs)
regs             2132 arch/powerpc/perf/core-book3s.c 	bool use_siar = regs_use_siar(regs);
regs             2134 arch/powerpc/perf/core-book3s.c 	if (use_siar && siar_valid(regs))
regs             2135 arch/powerpc/perf/core-book3s.c 		return mfspr(SPRN_SIAR) + perf_ip_adjust(regs);
regs             2139 arch/powerpc/perf/core-book3s.c 		return regs->nip;
regs             2172 arch/powerpc/perf/core-book3s.c static void __perf_event_interrupt(struct pt_regs *regs)
regs             2185 arch/powerpc/perf/core-book3s.c 	perf_read_regs(regs);
regs             2187 arch/powerpc/perf/core-book3s.c 	nmi = perf_intr_is_nmi(regs);
regs             2215 arch/powerpc/perf/core-book3s.c 				record_and_restart(event, val[i], regs);
regs             2234 arch/powerpc/perf/core-book3s.c 						   regs);
regs             2256 arch/powerpc/perf/core-book3s.c static void perf_event_interrupt(struct pt_regs *regs)
regs             2260 arch/powerpc/perf/core-book3s.c 	__perf_event_interrupt(regs);
regs               38 arch/powerpc/perf/core-fsl-emb.c static inline int perf_intr_is_nmi(struct pt_regs *regs)
regs               41 arch/powerpc/perf/core-fsl-emb.c 	return (regs->softe & IRQS_DISABLED);
regs               47 arch/powerpc/perf/core-fsl-emb.c static void perf_event_interrupt(struct pt_regs *regs);
regs              603 arch/powerpc/perf/core-fsl-emb.c 			       struct pt_regs *regs)
regs              650 arch/powerpc/perf/core-fsl-emb.c 		if (perf_event_overflow(event, &data, regs))
regs              655 arch/powerpc/perf/core-fsl-emb.c static void perf_event_interrupt(struct pt_regs *regs)
regs              664 arch/powerpc/perf/core-fsl-emb.c 	nmi = perf_intr_is_nmi(regs);
regs              678 arch/powerpc/perf/core-fsl-emb.c 				record_and_restart(event, val, regs);
regs              204 arch/powerpc/perf/isa207-common.c 							struct pt_regs *regs)
regs              226 arch/powerpc/perf/isa207-common.h 							struct pt_regs *regs);
regs               72 arch/powerpc/perf/perf_regs.c u64 perf_reg_value(struct pt_regs *regs, int idx)
regs               88 arch/powerpc/perf/perf_regs.c 	return regs_get_register(regs, pt_regs_offset[idx]);
regs              109 arch/powerpc/perf/perf_regs.c 			struct pt_regs *regs,
regs              112 arch/powerpc/perf/perf_regs.c 	regs_user->regs = task_pt_regs(current);
regs              113 arch/powerpc/perf/perf_regs.c 	regs_user->abi = (regs_user->regs) ? perf_reg_abi(current) :
regs               11 arch/powerpc/platforms/44x/machine_check.c int machine_check_440A(struct pt_regs *regs)
regs               13 arch/powerpc/platforms/44x/machine_check.c 	unsigned long reason = regs->dsisr;
regs               48 arch/powerpc/platforms/44x/machine_check.c int machine_check_47x(struct pt_regs *regs)
regs               50 arch/powerpc/platforms/44x/machine_check.c 	unsigned long reason = regs->dsisr;
regs               61 arch/powerpc/platforms/4xx/gpio.c 	struct ppc4xx_gpio __iomem *regs = mm_gc->regs;
regs               63 arch/powerpc/platforms/4xx/gpio.c 	return !!(in_be32(&regs->ir) & GPIO_MASK(gpio));
regs               70 arch/powerpc/platforms/4xx/gpio.c 	struct ppc4xx_gpio __iomem *regs = mm_gc->regs;
regs               73 arch/powerpc/platforms/4xx/gpio.c 		setbits32(&regs->or, GPIO_MASK(gpio));
regs               75 arch/powerpc/platforms/4xx/gpio.c 		clrbits32(&regs->or, GPIO_MASK(gpio));
regs               97 arch/powerpc/platforms/4xx/gpio.c 	struct ppc4xx_gpio __iomem *regs = mm_gc->regs;
regs              103 arch/powerpc/platforms/4xx/gpio.c 	clrbits32(&regs->odr, GPIO_MASK(gpio));
regs              106 arch/powerpc/platforms/4xx/gpio.c 	clrbits32(&regs->tcr, GPIO_MASK(gpio));
regs              110 arch/powerpc/platforms/4xx/gpio.c 		clrbits32(&regs->osrl, GPIO_MASK2(gpio));
regs              111 arch/powerpc/platforms/4xx/gpio.c 		clrbits32(&regs->tsrl, GPIO_MASK2(gpio));
regs              113 arch/powerpc/platforms/4xx/gpio.c 		clrbits32(&regs->osrh, GPIO_MASK2(gpio));
regs              114 arch/powerpc/platforms/4xx/gpio.c 		clrbits32(&regs->tsrh, GPIO_MASK2(gpio));
regs              127 arch/powerpc/platforms/4xx/gpio.c 	struct ppc4xx_gpio __iomem *regs = mm_gc->regs;
regs              136 arch/powerpc/platforms/4xx/gpio.c 	clrbits32(&regs->odr, GPIO_MASK(gpio));
regs              139 arch/powerpc/platforms/4xx/gpio.c 	setbits32(&regs->tcr, GPIO_MASK(gpio));
regs              143 arch/powerpc/platforms/4xx/gpio.c 		clrbits32(&regs->osrl, GPIO_MASK2(gpio));
regs              144 arch/powerpc/platforms/4xx/gpio.c 		clrbits32(&regs->tsrl, GPIO_MASK2(gpio));
regs              146 arch/powerpc/platforms/4xx/gpio.c 		clrbits32(&regs->osrh, GPIO_MASK2(gpio));
regs              147 arch/powerpc/platforms/4xx/gpio.c 		clrbits32(&regs->tsrh, GPIO_MASK2(gpio));
regs               11 arch/powerpc/platforms/4xx/machine_check.c int machine_check_4xx(struct pt_regs *regs)
regs               13 arch/powerpc/platforms/4xx/machine_check.c 	unsigned long reason = regs->dsisr;
regs               37 arch/powerpc/platforms/512x/mpc512x_lpbfifo.c 	struct mpc512x_lpbfifo __iomem *regs;
regs               72 arch/powerpc/platforms/512x/mpc512x_lpbfifo.c 	if (!lpbfifo.regs)
regs               81 arch/powerpc/platforms/512x/mpc512x_lpbfifo.c 	status = in_be32(&lpbfifo.regs->status);
regs               84 arch/powerpc/platforms/512x/mpc512x_lpbfifo.c 		out_be32(&lpbfifo.regs->enable,
regs               89 arch/powerpc/platforms/512x/mpc512x_lpbfifo.c 	out_be32(&lpbfifo.regs->status, MPC512X_SCLPC_SUCCESS);
regs              123 arch/powerpc/platforms/512x/mpc512x_lpbfifo.c 	if (!lpbfifo.regs) {
regs              269 arch/powerpc/platforms/512x/mpc512x_lpbfifo.c 	out_be32(&lpbfifo.regs->enable,
regs              271 arch/powerpc/platforms/512x/mpc512x_lpbfifo.c 	out_be32(&lpbfifo.regs->enable, 0x0);
regs              280 arch/powerpc/platforms/512x/mpc512x_lpbfifo.c 	out_be32(&lpbfifo.regs->fifo_ctrl, MPC512X_SCLPC_FIFO_CTRL(0x7));
regs              281 arch/powerpc/platforms/512x/mpc512x_lpbfifo.c 	out_be32(&lpbfifo.regs->fifo_alarm, MPC512X_SCLPC_FIFO_ALARM(0x200));
regs              287 arch/powerpc/platforms/512x/mpc512x_lpbfifo.c 	out_be32(&lpbfifo.regs->start_addr, lpbfifo.req->dev_phys_addr);
regs              299 arch/powerpc/platforms/512x/mpc512x_lpbfifo.c 	out_be32(&lpbfifo.regs->ctrl, bits);
regs              308 arch/powerpc/platforms/512x/mpc512x_lpbfifo.c 	out_be32(&lpbfifo.regs->enable, bits);
regs              312 arch/powerpc/platforms/512x/mpc512x_lpbfifo.c 	out_be32(&lpbfifo.regs->pkt_size, bits);
regs              324 arch/powerpc/platforms/512x/mpc512x_lpbfifo.c 	out_be32(&lpbfifo.regs->enable,
regs              336 arch/powerpc/platforms/512x/mpc512x_lpbfifo.c 	if (!lpbfifo.regs)
regs              457 arch/powerpc/platforms/512x/mpc512x_lpbfifo.c 	lpbfifo.regs = devm_ioremap(&pdev->dev,
regs              459 arch/powerpc/platforms/512x/mpc512x_lpbfifo.c 	if (!lpbfifo.regs) {
regs              465 arch/powerpc/platforms/512x/mpc512x_lpbfifo.c 	out_be32(&lpbfifo.regs->enable,
regs              502 arch/powerpc/platforms/512x/mpc512x_lpbfifo.c 	struct mpc512x_lpbfifo __iomem *regs = NULL;
regs              505 arch/powerpc/platforms/512x/mpc512x_lpbfifo.c 	regs = lpbfifo.regs;
regs              506 arch/powerpc/platforms/512x/mpc512x_lpbfifo.c 	lpbfifo.regs = NULL;
regs              510 arch/powerpc/platforms/512x/mpc512x_lpbfifo.c 	out_be32(&regs->enable, MPC512X_SCLPC_RESET | MPC512X_SCLPC_FIFO_RESET);
regs               41 arch/powerpc/platforms/52xx/media5200.c 	void __iomem *regs;
regs               53 arch/powerpc/platforms/52xx/media5200.c 	val = in_be32(media5200_irq.regs + MEDIA5200_IRQ_ENABLE);
regs               55 arch/powerpc/platforms/52xx/media5200.c 	out_be32(media5200_irq.regs + MEDIA5200_IRQ_ENABLE, val);
regs               65 arch/powerpc/platforms/52xx/media5200.c 	val = in_be32(media5200_irq.regs + MEDIA5200_IRQ_ENABLE);
regs               67 arch/powerpc/platforms/52xx/media5200.c 	out_be32(media5200_irq.regs + MEDIA5200_IRQ_ENABLE, val);
regs               91 arch/powerpc/platforms/52xx/media5200.c 	status = in_be32(media5200_irq.regs + MEDIA5200_IRQ_ENABLE);
regs               92 arch/powerpc/platforms/52xx/media5200.c 	enable = in_be32(media5200_irq.regs + MEDIA5200_IRQ_STATUS);
regs              156 arch/powerpc/platforms/52xx/media5200.c 	media5200_irq.regs = of_iomap(fpga_np, 0);
regs              157 arch/powerpc/platforms/52xx/media5200.c 	if (!media5200_irq.regs)
regs              159 arch/powerpc/platforms/52xx/media5200.c 	pr_debug("%s: mapped to %p\n", __func__, media5200_irq.regs);
regs              167 arch/powerpc/platforms/52xx/media5200.c 	out_be32(media5200_irq.regs + MEDIA5200_IRQ_ENABLE, 0);
regs               88 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	struct mpc52xx_gpt __iomem *regs;
regs              141 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	setbits32(&gpt->regs->mode, MPC52xx_GPT_MODE_IRQ_EN);
regs              151 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	clrbits32(&gpt->regs->mode, MPC52xx_GPT_MODE_IRQ_EN);
regs              159 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	out_be32(&gpt->regs->status, MPC52xx_GPT_STATUS_IRQMASK);
regs              171 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	reg = in_be32(&gpt->regs->mode) & ~MPC52xx_GPT_MODE_ICT_MASK;
regs              176 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	out_be32(&gpt->regs->mode, reg);
regs              196 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	status = in_be32(&gpt->regs->status) & MPC52xx_GPT_STATUS_IRQMASK;
regs              264 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	mode = in_be32(&gpt->regs->mode);
regs              266 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 		out_be32(&gpt->regs->mode, mode | MPC52xx_GPT_MODE_MS_IC);
regs              281 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	return (in_be32(&gpt->regs->status) >> 8) & 1;
regs              295 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	clrsetbits_be32(&gpt->regs->mode, MPC52xx_GPT_MODE_GPIO_MASK, r);
regs              307 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	clrbits32(&gpt->regs->mode, MPC52xx_GPT_MODE_GPIO_MASK);
regs              345 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	clrsetbits_be32(&gpt->regs->mode, MPC52xx_GPT_MODE_MS_MASK,
regs              442 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	out_be32(&gpt->regs->count, prescale << 16 | clocks);
regs              443 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	clrsetbits_be32(&gpt->regs->mode, clear, set);
regs              481 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	clrbits32(&gpt->regs->mode, MPC52xx_GPT_MODE_COUNTER_ENABLE);
regs              500 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	period = in_be32(&gpt->regs->count);
regs              532 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	out_8((u8 *) &gpt_wdt->regs->mode, MPC52xx_GPT_MODE_WDT_PING);
regs              638 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	clrbits32(&gpt_wdt->regs->mode,
regs              725 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	gpt->regs = of_iomap(ofdev->dev.of_node, 0);
regs              726 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	if (!gpt->regs)
regs               43 arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c 	void __iomem *regs;
regs               75 arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c 	out_be32(lpbfifo.regs + LPBFIFO_REG_ENABLE, 0x01010000);
regs               78 arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c 	out_be32(lpbfifo.regs + LPBFIFO_REG_ENABLE, 0x00000001);
regs               94 arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c 			reg = lpbfifo.regs + LPBFIFO_REG_FIFO_DATA;
regs              101 arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c 		out_be32(lpbfifo.regs + LPBFIFO_REG_ENABLE, 0x00000301);
regs              111 arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c 			out_be32(lpbfifo.regs + LPBFIFO_REG_FIFO_ALARM, 0x1e4);
regs              112 arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c 			out_8(lpbfifo.regs + LPBFIFO_REG_FIFO_CONTROL, 7);
regs              115 arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c 			out_be32(lpbfifo.regs + LPBFIFO_REG_FIFO_ALARM, 0x1ff);
regs              116 arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c 			out_8(lpbfifo.regs + LPBFIFO_REG_FIFO_CONTROL, 0);
regs              158 arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c 		out_be32(lpbfifo.regs + LPBFIFO_REG_ENABLE, bit_fields);
regs              162 arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c 	out_be32(lpbfifo.regs + LPBFIFO_REG_START_ADDRESS,
regs              164 arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c 	out_be32(lpbfifo.regs + LPBFIFO_REG_PACKET_SIZE, transfer_size);
regs              169 arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c 	out_be32(lpbfifo.regs + LPBFIFO_REG_CONTROL, bit_fields);
regs              173 arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c 		out_8(lpbfifo.regs + LPBFIFO_REG_PACKET_SIZE, 0x01);
regs              222 arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c 	u32 status = in_8(lpbfifo.regs + LPBFIFO_REG_BYTES_DONE_STATUS);
regs              257 arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c 		out_be32(lpbfifo.regs + LPBFIFO_REG_ENABLE, 0x01010000);
regs              263 arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c 	count = in_be32(lpbfifo.regs + LPBFIFO_REG_BYTES_DONE_STATUS);
regs              268 arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c 		reg = lpbfifo.regs + LPBFIFO_REG_FIFO_DATA;
regs              285 arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c 	out_8(lpbfifo.regs + LPBFIFO_REG_BYTES_DONE_STATUS, 0x01);
regs              400 arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c 	if (!lpbfifo.regs)
regs              428 arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c 	if (!lpbfifo.regs)
regs              448 arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c 		out_8(lpbfifo.regs + LPBFIFO_REG_PACKET_SIZE, 0x01);
regs              465 arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c 		out_be32(lpbfifo.regs + LPBFIFO_REG_ENABLE, 0x01010000);
regs              487 arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c 	lpbfifo.regs = of_iomap(op->dev.of_node, 0);
regs              488 arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c 	if (!lpbfifo.regs)
regs              494 arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c 	out_be32(lpbfifo.regs + LPBFIFO_REG_ENABLE, 0x01010000);
regs              534 arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c 	iounmap(lpbfifo.regs);
regs              535 arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c 	lpbfifo.regs = NULL;
regs              548 arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c 	out_be32(lpbfifo.regs + LPBFIFO_REG_ENABLE, 0x01010000);
regs              559 arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c 	iounmap(lpbfifo.regs);
regs              560 arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c 	lpbfifo.regs = NULL;
regs               33 arch/powerpc/platforms/82xx/pq2ads-pci-pic.c 	} __iomem *regs;
regs               47 arch/powerpc/platforms/82xx/pq2ads-pci-pic.c 		setbits32(&priv->regs->mask, 1 << irq);
regs               63 arch/powerpc/platforms/82xx/pq2ads-pci-pic.c 		clrbits32(&priv->regs->mask, 1 << irq);
regs               85 arch/powerpc/platforms/82xx/pq2ads-pci-pic.c 		stat = in_be32(&priv->regs->stat);
regs               86 arch/powerpc/platforms/82xx/pq2ads-pci-pic.c 		mask = in_be32(&priv->regs->mask);
regs              145 arch/powerpc/platforms/82xx/pq2ads-pci-pic.c 	priv->regs = of_iomap(np, 0);
regs              146 arch/powerpc/platforms/82xx/pq2ads-pci-pic.c 	if (!priv->regs) {
regs              152 arch/powerpc/platforms/82xx/pq2ads-pci-pic.c 	out_be32(&priv->regs->mask, ~0);
regs              169 arch/powerpc/platforms/82xx/pq2ads-pci-pic.c 	iounmap(priv->regs);
regs              151 arch/powerpc/platforms/83xx/misc.c int machine_check_83xx(struct pt_regs *regs)
regs              155 arch/powerpc/platforms/83xx/misc.c 	if (!(regs->msr & SRR1_MCE_MCP) || !(ipic_get_mcp_status() & mask))
regs              156 arch/powerpc/platforms/83xx/misc.c 		return machine_check_generic(regs);
regs              159 arch/powerpc/platforms/83xx/misc.c 	if (debugger_fault_handler(regs))
regs              162 arch/powerpc/platforms/83xx/misc.c 	die("Watchdog NMI Reset", regs, 0);
regs              104 arch/powerpc/platforms/85xx/ge_imp3a.c 	struct device_node *regs;
regs              116 arch/powerpc/platforms/85xx/ge_imp3a.c 	regs = of_find_compatible_node(NULL, NULL, "ge,imp3a-fpga-regs");
regs              117 arch/powerpc/platforms/85xx/ge_imp3a.c 	if (regs) {
regs              118 arch/powerpc/platforms/85xx/ge_imp3a.c 		imp3a_regs = of_iomap(regs, 0);
regs              121 arch/powerpc/platforms/85xx/ge_imp3a.c 		of_node_put(regs);
regs               71 arch/powerpc/platforms/86xx/gef_ppc9a.c 	struct device_node *regs;
regs               82 arch/powerpc/platforms/86xx/gef_ppc9a.c 	regs = of_find_compatible_node(NULL, NULL, "gef,ppc9a-fpga-regs");
regs               83 arch/powerpc/platforms/86xx/gef_ppc9a.c 	if (regs) {
regs               84 arch/powerpc/platforms/86xx/gef_ppc9a.c 		ppc9a_regs = of_iomap(regs, 0);
regs               87 arch/powerpc/platforms/86xx/gef_ppc9a.c 		of_node_put(regs);
regs               71 arch/powerpc/platforms/86xx/gef_sbc310.c 	struct device_node *regs;
regs               81 arch/powerpc/platforms/86xx/gef_sbc310.c 	regs = of_find_compatible_node(NULL, NULL, "gef,fpga-regs");
regs               82 arch/powerpc/platforms/86xx/gef_sbc310.c 	if (regs) {
regs               83 arch/powerpc/platforms/86xx/gef_sbc310.c 		sbc310_regs = of_iomap(regs, 0);
regs               86 arch/powerpc/platforms/86xx/gef_sbc310.c 		of_node_put(regs);
regs               71 arch/powerpc/platforms/86xx/gef_sbc610.c 	struct device_node *regs;
regs               82 arch/powerpc/platforms/86xx/gef_sbc610.c 	regs = of_find_compatible_node(NULL, NULL, "gef,fpga-regs");
regs               83 arch/powerpc/platforms/86xx/gef_sbc610.c 	if (regs) {
regs               84 arch/powerpc/platforms/86xx/gef_sbc610.c 		sbc610_regs = of_iomap(regs, 0);
regs               87 arch/powerpc/platforms/86xx/gef_sbc610.c 		of_node_put(regs);
regs              546 arch/powerpc/platforms/8xx/cpm1.c 	struct cpm_ioport16 __iomem *iop = mm_gc->regs;
regs              554 arch/powerpc/platforms/8xx/cpm1.c 	struct cpm_ioport16 __iomem *iop = mm_gc->regs;
regs              566 arch/powerpc/platforms/8xx/cpm1.c 	struct cpm_ioport16 __iomem *iop = mm_gc->regs;
regs              602 arch/powerpc/platforms/8xx/cpm1.c 	struct cpm_ioport16 __iomem *iop = mm_gc->regs;
regs              620 arch/powerpc/platforms/8xx/cpm1.c 	struct cpm_ioport16 __iomem *iop = mm_gc->regs;
regs              683 arch/powerpc/platforms/8xx/cpm1.c 	struct cpm_ioport32b __iomem *iop = mm_gc->regs;
regs              691 arch/powerpc/platforms/8xx/cpm1.c 	struct cpm_ioport32b __iomem *iop = mm_gc->regs;
regs              703 arch/powerpc/platforms/8xx/cpm1.c 	struct cpm_ioport32b __iomem *iop = mm_gc->regs;
regs              731 arch/powerpc/platforms/8xx/cpm1.c 	struct cpm_ioport32b __iomem *iop = mm_gc->regs;
regs              749 arch/powerpc/platforms/8xx/cpm1.c 	struct cpm_ioport32b __iomem *iop = mm_gc->regs;
regs               11 arch/powerpc/platforms/8xx/machine_check.c int machine_check_8xx(struct pt_regs *regs)
regs               13 arch/powerpc/platforms/8xx/machine_check.c 	unsigned long reason = regs->msr;
regs               18 arch/powerpc/platforms/8xx/machine_check.c 		pr_cont("Fetch error at address %lx\n", regs->nip);
regs               20 arch/powerpc/platforms/8xx/machine_check.c 		pr_cont("Data access error at address %lx\n", regs->dar);
regs               29 arch/powerpc/platforms/8xx/machine_check.c 	bad_page_fault(regs, regs->dar, SIGBUS);
regs               17 arch/powerpc/platforms/8xx/pic.c extern int cpm_get_irq(struct pt_regs *regs);
regs               44 arch/powerpc/platforms/cell/cbe_regs.c 	struct cbe_regs_map *regs;
regs               93 arch/powerpc/platforms/cell/cbe_regs.c 	struct cbe_regs_map *map = cbe_thread_map[cpu].regs;
regs              110 arch/powerpc/platforms/cell/cbe_regs.c 	struct cbe_regs_map *map = cbe_thread_map[cpu].regs;
regs              126 arch/powerpc/platforms/cell/cbe_regs.c 	struct cbe_regs_map *map = cbe_thread_map[cpu].regs;
regs              142 arch/powerpc/platforms/cell/cbe_regs.c 	struct cbe_regs_map *map = cbe_thread_map[cpu].regs;
regs              270 arch/powerpc/platforms/cell/cbe_regs.c 				thread->regs = map;
regs               37 arch/powerpc/platforms/cell/interrupt.c 	struct cbe_iic_thread_regs __iomem *regs;
regs               73 arch/powerpc/platforms/cell/interrupt.c 	out_be64(&iic->regs->prio, iic->eoi_stack[--iic->eoi_ptr]);
regs              141 arch/powerpc/platforms/cell/interrupt.c 		in_be64((u64 __iomem *) &iic->regs->pending_destr);
regs              154 arch/powerpc/platforms/cell/interrupt.c 	out_be64(&this_cpu_ptr(&cpu_iic)->regs->prio, 0xff);
regs              174 arch/powerpc/platforms/cell/interrupt.c 	out_be64(&per_cpu(cpu_iic, cpu).regs->generate, (0xf - msg) << 4);
regs              285 arch/powerpc/platforms/cell/interrupt.c 	iic->regs = ioremap(addr, sizeof(struct cbe_iic_thread_regs));
regs              286 arch/powerpc/platforms/cell/interrupt.c 	BUG_ON(iic->regs == NULL);
regs              291 arch/powerpc/platforms/cell/interrupt.c 	out_be64(&iic->regs->prio, 0);
regs               75 arch/powerpc/platforms/cell/pervasive.c static int cbe_system_reset_exception(struct pt_regs *regs)
regs               77 arch/powerpc/platforms/cell/pervasive.c 	switch (regs->msr & SRR1_WAKEMASK) {
regs               91 arch/powerpc/platforms/cell/pervasive.c 		cbe_system_error_exception(regs);
regs               94 arch/powerpc/platforms/cell/pervasive.c 		cbe_thermal_exception(regs);
regs              113 arch/powerpc/platforms/cell/pervasive.c 		struct cbe_pmd_regs __iomem *regs = cbe_get_cpu_pmd_regs(cpu);
regs              114 arch/powerpc/platforms/cell/pervasive.c 		if (!regs)
regs              118 arch/powerpc/platforms/cell/pervasive.c 		out_be64(&regs->pmcr, in_be64(&regs->pmcr) |
regs               16 arch/powerpc/platforms/cell/pervasive.h extern void cbe_system_error_exception(struct pt_regs *regs);
regs               17 arch/powerpc/platforms/cell/pervasive.h extern void cbe_maintenance_exception(struct pt_regs *regs);
regs               18 arch/powerpc/platforms/cell/pervasive.h extern void cbe_thermal_exception(struct pt_regs *regs);
regs               52 arch/powerpc/platforms/cell/ras.c void cbe_system_error_exception(struct pt_regs *regs)
regs               61 arch/powerpc/platforms/cell/ras.c void cbe_maintenance_exception(struct pt_regs *regs)
regs               73 arch/powerpc/platforms/cell/ras.c void cbe_thermal_exception(struct pt_regs *regs)
regs               85 arch/powerpc/platforms/cell/ras.c static int cbe_machine_check_handler(struct pt_regs *regs)
regs              256 arch/powerpc/platforms/cell/ras.c 	struct cbe_pmd_regs __iomem *regs;
regs              262 arch/powerpc/platforms/cell/ras.c 	regs = cbe_get_cpu_pmd_regs(0);
regs              263 arch/powerpc/platforms/cell/ras.c 	if (!regs)
regs              267 arch/powerpc/platforms/cell/ras.c 	out_be32(&regs->fir_mode_reg,
regs              268 arch/powerpc/platforms/cell/ras.c 		in_be32(&regs->fir_mode_reg) |
regs              277 arch/powerpc/platforms/cell/ras.c 	struct cbe_pmd_regs __iomem *regs;
regs              285 arch/powerpc/platforms/cell/ras.c 		regs = cbe_get_cpu_pmd_regs(0);
regs              286 arch/powerpc/platforms/cell/ras.c 		if (!regs)
regs              288 arch/powerpc/platforms/cell/ras.c 		if (in_be64(&regs->ras_esc_0) & 0x0000ffff) {
regs              289 arch/powerpc/platforms/cell/ras.c 			out_be64(&regs->ras_esc_0, 0);
regs                5 arch/powerpc/platforms/cell/ras.h extern void cbe_system_error_exception(struct pt_regs *regs);
regs                6 arch/powerpc/platforms/cell/ras.h extern void cbe_maintenance_exception(struct pt_regs *regs);
regs                7 arch/powerpc/platforms/cell/ras.h extern void cbe_thermal_exception(struct pt_regs *regs);
regs               22 arch/powerpc/platforms/cell/spider-pci.c 	void __iomem *regs;
regs               31 arch/powerpc/platforms/cell/spider-pci.c 	val = in_be32(priv->regs + SPIDER_PCI_DUMMY_READ);
regs               70 arch/powerpc/platforms/cell/spider-pci.c 					   void __iomem *regs)
regs               76 arch/powerpc/platforms/cell/spider-pci.c 	u32 val = in_be32(regs + SPIDER_PCI_VCI_CNTL_STAT);
regs               78 arch/powerpc/platforms/cell/spider-pci.c 	out_be32(regs + SPIDER_PCI_VCI_CNTL_STAT, val | 0x8);
regs              107 arch/powerpc/platforms/cell/spider-pci.c 	out_be32(regs + SPIDER_PCI_DUMMY_READ_BASE, dummy_page_da);
regs              114 arch/powerpc/platforms/cell/spider-pci.c 	void __iomem *regs = NULL;
regs              135 arch/powerpc/platforms/cell/spider-pci.c 	regs = ioremap(r.start + offset, SPIDER_PCI_REG_SIZE);
regs              136 arch/powerpc/platforms/cell/spider-pci.c 	if (!regs) {
regs              140 arch/powerpc/platforms/cell/spider-pci.c 	priv->regs = regs;
regs              143 arch/powerpc/platforms/cell/spider-pci.c 	if (spiderpci_pci_setup_chip(bus->phb, regs))
regs              152 arch/powerpc/platforms/cell/spider-pci.c 	if (regs)
regs              153 arch/powerpc/platforms/cell/spider-pci.c 		iounmap(regs);
regs               53 arch/powerpc/platforms/cell/spider-pic.c 	void __iomem		*regs;
regs               66 arch/powerpc/platforms/cell/spider-pic.c 	return pic->regs + TIR_CFGA + 8 * src;
regs              100 arch/powerpc/platforms/cell/spider-pic.c 	out_be32(pic->regs + TIR_EDC, 0x100 | (src & 0xf));
regs              195 arch/powerpc/platforms/cell/spider-pic.c 	cs = in_be32(pic->regs + TIR_CS) >> 24;
regs              284 arch/powerpc/platforms/cell/spider-pic.c 	pic->regs = ioremap(addr, 0x1000);
regs              285 arch/powerpc/platforms/cell/spider-pic.c 	if (pic->regs == NULL)
regs              296 arch/powerpc/platforms/cell/spider-pic.c 		void __iomem *cfg = pic->regs + TIR_CFGA + 8 * i;
regs              301 arch/powerpc/platforms/cell/spider-pic.c 	out_be32(pic->regs + TIR_MSK, 0x0);
regs              304 arch/powerpc/platforms/cell/spider-pic.c 	out_be32(pic->regs + TIR_PIEN, in_be32(pic->regs + TIR_PIEN) | 0x1);
regs              317 arch/powerpc/platforms/cell/spider-pic.c 	out_be32(pic->regs + TIR_DEN, in_be32(pic->regs + TIR_DEN) | 0x1);
regs              244 arch/powerpc/platforms/embedded6xx/holly.c static int ppc750_machine_check_exception(struct pt_regs *regs)
regs              249 arch/powerpc/platforms/embedded6xx/holly.c 	if ((entry = search_exception_tables(regs->nip)) != NULL) {
regs              251 arch/powerpc/platforms/embedded6xx/holly.c 		regs->msr |= MSR_RI;
regs              252 arch/powerpc/platforms/embedded6xx/holly.c 		regs->nip = extable_fixup(entry);
regs              165 arch/powerpc/platforms/embedded6xx/mpc7448_hpc2.c static int mpc7448_machine_check_exception(struct pt_regs *regs)
regs              170 arch/powerpc/platforms/embedded6xx/mpc7448_hpc2.c 	if ((entry = search_exception_tables(regs->nip)) != NULL) {
regs              172 arch/powerpc/platforms/embedded6xx/mpc7448_hpc2.c 		regs->msr |= MSR_RI;
regs              173 arch/powerpc/platforms/embedded6xx/mpc7448_hpc2.c 		regs->nip = extable_fixup(entry);
regs               32 arch/powerpc/platforms/pasemi/idle.c static int pasemi_system_reset_exception(struct pt_regs *regs)
regs               39 arch/powerpc/platforms/pasemi/idle.c 	if (regs->msr & SRR1_WAKEMASK)
regs               40 arch/powerpc/platforms/pasemi/idle.c 		regs->nip = regs->link;
regs               42 arch/powerpc/platforms/pasemi/idle.c 	switch (regs->msr & SRR1_WAKEMASK) {
regs               61 arch/powerpc/platforms/pasemi/idle.c 	regs->msr |= MSR_RI;
regs              317 arch/powerpc/platforms/pasemi/setup.c static int pas_machine_check_handler(struct pt_regs *regs)
regs              324 arch/powerpc/platforms/pasemi/setup.c 	srr0 = regs->nip;
regs              325 arch/powerpc/platforms/pasemi/setup.c 	srr1 = regs->msr;
regs              329 arch/powerpc/platforms/pasemi/setup.c 		debugger(regs);
regs              337 arch/powerpc/platforms/pasemi/setup.c 	pr_err("DSISR 0x%016lx DAR  0x%016lx\n", dsisr, regs->dar);
regs              165 arch/powerpc/platforms/powernv/eeh-powernv.c 	out_be64(phb->regs + offset, val);
regs              174 arch/powerpc/platforms/powernv/eeh-powernv.c 	*val = in_be64(phb->regs + offset);
regs              402 arch/powerpc/platforms/powernv/ocxl.c 	void __iomem *regs[4];
regs              414 arch/powerpc/platforms/powernv/ocxl.c 		regs[i] = ioremap(reg, 8);
regs              415 arch/powerpc/platforms/powernv/ocxl.c 		if (!regs[i]) {
regs              423 arch/powerpc/platforms/powernv/ocxl.c 			iounmap(regs[j]);
regs              425 arch/powerpc/platforms/powernv/ocxl.c 		*dsisr = regs[0];
regs              426 arch/powerpc/platforms/powernv/ocxl.c 		*dar = regs[1];
regs              427 arch/powerpc/platforms/powernv/ocxl.c 		*tfc = regs[2];
regs              428 arch/powerpc/platforms/powernv/ocxl.c 		*pe_handle = regs[3];
regs              111 arch/powerpc/platforms/powernv/opal-core.c 			  struct pt_regs *regs)
regs              114 arch/powerpc/platforms/powernv/opal-core.c 	elf_core_copy_kernel_regs(&(prstatus->pr_reg), regs);
regs              226 arch/powerpc/platforms/powernv/opal-core.c 	struct pt_regs regs;
regs              274 arch/powerpc/platforms/powernv/opal-core.c 				      reg_esize, false, &regs);
regs              277 arch/powerpc/platforms/powernv/opal-core.c 			 be64_to_cpu(regs.gpr[1]), be64_to_cpu(regs.nip));
regs              278 arch/powerpc/platforms/powernv/opal-core.c 		fill_prstatus(&prstatus, thread_pir, &regs);
regs              416 arch/powerpc/platforms/powernv/opal-fadump.c 	struct pt_regs regs;
regs              467 arch/powerpc/platforms/powernv/opal-fadump.c 							    &fdh->regs);
regs              469 arch/powerpc/platforms/powernv/opal-fadump.c 				 fdh->crashing_cpu, fdh->regs.gpr[1],
regs              470 arch/powerpc/platforms/powernv/opal-fadump.c 				 fdh->regs.nip);
regs              484 arch/powerpc/platforms/powernv/opal-fadump.c 				      reg_esize, true, &regs);
regs              485 arch/powerpc/platforms/powernv/opal-fadump.c 		note_buf = fadump_regs_to_elf_notes(note_buf, &regs);
regs              487 arch/powerpc/platforms/powernv/opal-fadump.c 			 thread_pir, regs.gpr[1], regs.nip);
regs              502 arch/powerpc/platforms/powernv/opal-fadump.c 		note_buf = fadump_regs_to_elf_notes(note_buf, &(fdh->regs));
regs               86 arch/powerpc/platforms/powernv/opal-fadump.h static inline void opal_fadump_set_regval_regnum(struct pt_regs *regs,
regs               92 arch/powerpc/platforms/powernv/opal-fadump.h 			regs->gpr[reg_num] = reg_val;
regs               98 arch/powerpc/platforms/powernv/opal-fadump.h 		regs->ctr = reg_val;
regs              101 arch/powerpc/platforms/powernv/opal-fadump.h 		regs->link = reg_val;
regs              104 arch/powerpc/platforms/powernv/opal-fadump.h 		regs->xer = reg_val;
regs              107 arch/powerpc/platforms/powernv/opal-fadump.h 		regs->dar = reg_val;
regs              110 arch/powerpc/platforms/powernv/opal-fadump.h 		regs->dsisr = reg_val;
regs              113 arch/powerpc/platforms/powernv/opal-fadump.h 		regs->nip = reg_val;
regs              116 arch/powerpc/platforms/powernv/opal-fadump.h 		regs->msr = reg_val;
regs              119 arch/powerpc/platforms/powernv/opal-fadump.h 		regs->ccr = reg_val;
regs              127 arch/powerpc/platforms/powernv/opal-fadump.h 					 struct pt_regs *regs)
regs              133 arch/powerpc/platforms/powernv/opal-fadump.h 	memset(regs, 0, sizeof(struct pt_regs));
regs              139 arch/powerpc/platforms/powernv/opal-fadump.h 		opal_fadump_set_regval_regnum(regs,
regs              504 arch/powerpc/platforms/powernv/opal.c static int opal_recover_mce(struct pt_regs *regs,
regs              509 arch/powerpc/platforms/powernv/opal.c 	if (!(regs->msr & MSR_RI)) {
regs              534 arch/powerpc/platforms/powernv/opal.c 		if ((user_mode(regs))) {
regs              535 arch/powerpc/platforms/powernv/opal.c 			_exception(SIGBUS, regs, BUS_MCEERR_AR, regs->nip);
regs              545 arch/powerpc/platforms/powernv/opal.c 			die("Machine check", regs, SIGBUS);
regs              553 arch/powerpc/platforms/powernv/opal.c void __noreturn pnv_platform_error_reboot(struct pt_regs *regs, const char *msg)
regs              558 arch/powerpc/platforms/powernv/opal.c 	if (regs)
regs              559 arch/powerpc/platforms/powernv/opal.c 		show_regs(regs);
regs              592 arch/powerpc/platforms/powernv/opal.c int opal_machine_check(struct pt_regs *regs)
regs              605 arch/powerpc/platforms/powernv/opal.c 	machine_check_print_event_info(&evt, user_mode(regs), false);
regs              607 arch/powerpc/platforms/powernv/opal.c 	if (opal_recover_mce(regs, &evt))
regs              610 arch/powerpc/platforms/powernv/opal.c 	pnv_platform_error_reboot(regs, "Unrecoverable Machine Check exception");
regs              614 arch/powerpc/platforms/powernv/opal.c int opal_hmi_exception_early(struct pt_regs *regs)
regs              631 arch/powerpc/platforms/powernv/opal.c int opal_hmi_exception_early2(struct pt_regs *regs)
regs              653 arch/powerpc/platforms/powernv/opal.c int opal_handle_hmi_exception(struct pt_regs *regs)
regs              679 arch/powerpc/platforms/powernv/opal.c bool opal_mce_check_early_recovery(struct pt_regs *regs)
regs              686 arch/powerpc/platforms/powernv/opal.c 	if ((regs->nip >= opal.base) &&
regs              687 arch/powerpc/platforms/powernv/opal.c 			(regs->nip < (opal.base + opal.size)))
regs              688 arch/powerpc/platforms/powernv/opal.c 		recover_addr = find_recovery_address(regs->nip);
regs              694 arch/powerpc/platforms/powernv/opal.c 		regs->nip = recover_addr;
regs             1898 arch/powerpc/platforms/powernv/pci-ioda.c 		(phb->regs + 0x210);
regs             2038 arch/powerpc/platforms/powernv/pci-ioda.c 	if (phb->model == PNV_PHB_MODEL_PHB3 && phb->regs)
regs             2070 arch/powerpc/platforms/powernv/pci-ioda.c 		if (phb->model == PNV_PHB_MODEL_PHB3 && phb->regs)
regs             3750 arch/powerpc/platforms/powernv/pci-ioda.c 		phb->regs = ioremap(r.start, resource_size(&r));
regs             3751 arch/powerpc/platforms/powernv/pci-ioda.c 		if (phb->regs == NULL)
regs               95 arch/powerpc/platforms/powernv/pci.h 	void __iomem		*regs;
regs               11 arch/powerpc/platforms/powernv/powernv.h extern void pnv_platform_error_reboot(struct pt_regs *regs, const char *msg) __noreturn;
regs               24 arch/powerpc/platforms/powernv/rng.c 	void __iomem *regs;
regs              109 arch/powerpc/platforms/powernv/rng.c 	*v = rng_whiten(rng, in_be64(rng->regs));
regs              151 arch/powerpc/platforms/powernv/rng.c 	rng->regs = of_iomap(dn, 0);
regs              152 arch/powerpc/platforms/powernv/rng.c 	if (!rng->regs) {
regs              157 arch/powerpc/platforms/powernv/rng.c 	val = in_be64(rng->regs);
regs              472 arch/powerpc/platforms/powernv/setup.c static long pnv_machine_check_early(struct pt_regs *regs)
regs              477 arch/powerpc/platforms/powernv/setup.c 		handled = cur_cpu_spec->machine_check_early(regs);
regs              265 arch/powerpc/platforms/powernv/smp.c 			struct pt_regs regs;
regs              267 arch/powerpc/platforms/powernv/smp.c 			ppc_save_regs(&regs);
regs              268 arch/powerpc/platforms/powernv/smp.c 			crash_ipi_callback(&regs);
regs              346 arch/powerpc/platforms/powernv/smp.c static int pnv_system_reset_exception(struct pt_regs *regs)
regs              348 arch/powerpc/platforms/powernv/smp.c 	if (smp_handle_nmi_ipi(regs))
regs              313 arch/powerpc/platforms/pseries/hotplug-memory.c 	const __be32 *regs;
regs              327 arch/powerpc/platforms/pseries/hotplug-memory.c 	regs = of_get_property(np, "reg", NULL);
regs              328 arch/powerpc/platforms/pseries/hotplug-memory.c 	if (!regs)
regs              331 arch/powerpc/platforms/pseries/hotplug-memory.c 	base = be64_to_cpu(*(unsigned long *)regs);
regs              332 arch/powerpc/platforms/pseries/hotplug-memory.c 	lmb_size = be32_to_cpu(regs[3]);
regs              948 arch/powerpc/platforms/pseries/hotplug-memory.c 	const __be32 *regs;
regs              962 arch/powerpc/platforms/pseries/hotplug-memory.c 	regs = of_get_property(np, "reg", NULL);
regs              963 arch/powerpc/platforms/pseries/hotplug-memory.c 	if (!regs)
regs              966 arch/powerpc/platforms/pseries/hotplug-memory.c 	base = be64_to_cpu(*(unsigned long *)regs);
regs              967 arch/powerpc/platforms/pseries/hotplug-memory.c 	lmb_size = be32_to_cpu(regs[3]);
regs               21 arch/powerpc/platforms/pseries/pseries.h extern int pSeries_system_reset_exception(struct pt_regs *regs);
regs               22 arch/powerpc/platforms/pseries/pseries.h extern int pSeries_machine_check_exception(struct pt_regs *regs);
regs               23 arch/powerpc/platforms/pseries/pseries.h extern long pseries_machine_check_realmode(struct pt_regs *regs);
regs              423 arch/powerpc/platforms/pseries/ras.c static struct rtas_error_log *fwnmi_get_errinfo(struct pt_regs *regs)
regs              429 arch/powerpc/platforms/pseries/ras.c 	regs->gpr[3] &= ~(0x3UL << 62);
regs              431 arch/powerpc/platforms/pseries/ras.c 	if (!VALID_FWNMI_BUFFER(regs->gpr[3])) {
regs              432 arch/powerpc/platforms/pseries/ras.c 		printk(KERN_ERR "FWNMI: corrupt r3 0x%016lx\n", regs->gpr[3]);
regs              436 arch/powerpc/platforms/pseries/ras.c 	savep = __va(regs->gpr[3]);
regs              437 arch/powerpc/platforms/pseries/ras.c 	regs->gpr[3] = be64_to_cpu(savep[0]);	/* restore original r3 */
regs              466 arch/powerpc/platforms/pseries/ras.c int pSeries_system_reset_exception(struct pt_regs *regs)
regs              475 arch/powerpc/platforms/pseries/ras.c 	if ((be64_to_cpu(regs->msr) &
regs              478 arch/powerpc/platforms/pseries/ras.c 		regs->nip = be64_to_cpu((__be64)regs->nip);
regs              479 arch/powerpc/platforms/pseries/ras.c 		regs->msr = 0;
regs              484 arch/powerpc/platforms/pseries/ras.c 		struct rtas_error_log *errhdr = fwnmi_get_errinfo(regs);
regs              491 arch/powerpc/platforms/pseries/ras.c 	if (smp_handle_nmi_ipi(regs))
regs              498 arch/powerpc/platforms/pseries/ras.c static int mce_handle_error(struct pt_regs *regs, struct rtas_error_log *errp)
regs              587 arch/powerpc/platforms/pseries/ras.c 			pfn = addr_to_pfn(regs, eaddr);
regs              697 arch/powerpc/platforms/pseries/ras.c 	save_mce_event(regs, disposition == RTAS_DISP_FULLY_RECOVERED,
regs              698 arch/powerpc/platforms/pseries/ras.c 			&mce_err, regs->nip, eaddr, paddr);
regs              723 arch/powerpc/platforms/pseries/ras.c static int recover_mce(struct pt_regs *regs, struct machine_check_event *evt)
regs              727 arch/powerpc/platforms/pseries/ras.c 	if (!(regs->msr & MSR_RI)) {
regs              752 arch/powerpc/platforms/pseries/ras.c 		if ((user_mode(regs))) {
regs              753 arch/powerpc/platforms/pseries/ras.c 			_exception(SIGBUS, regs, BUS_MCEERR_AR, regs->nip);
regs              763 arch/powerpc/platforms/pseries/ras.c 			die("Machine check", regs, SIGBUS);
regs              781 arch/powerpc/platforms/pseries/ras.c int pSeries_machine_check_exception(struct pt_regs *regs)
regs              794 arch/powerpc/platforms/pseries/ras.c 	machine_check_print_event_info(&evt, user_mode(regs), false);
regs              796 arch/powerpc/platforms/pseries/ras.c 	if (recover_mce(regs, &evt))
regs              802 arch/powerpc/platforms/pseries/ras.c long pseries_machine_check_realmode(struct pt_regs *regs)
regs              808 arch/powerpc/platforms/pseries/ras.c 		errp = fwnmi_get_errinfo(regs);
regs              814 arch/powerpc/platforms/pseries/ras.c 		disposition = mce_handle_error(regs, errp);
regs              250 arch/powerpc/platforms/pseries/rtas-fadump.c void rtas_fadump_set_regval(struct pt_regs *regs, u64 reg_id, u64 reg_val)
regs              256 arch/powerpc/platforms/pseries/rtas-fadump.c 		regs->gpr[i] = (unsigned long)reg_val;
regs              258 arch/powerpc/platforms/pseries/rtas-fadump.c 		regs->nip = (unsigned long)reg_val;
regs              260 arch/powerpc/platforms/pseries/rtas-fadump.c 		regs->msr = (unsigned long)reg_val;
regs              262 arch/powerpc/platforms/pseries/rtas-fadump.c 		regs->ctr = (unsigned long)reg_val;
regs              264 arch/powerpc/platforms/pseries/rtas-fadump.c 		regs->link = (unsigned long)reg_val;
regs              266 arch/powerpc/platforms/pseries/rtas-fadump.c 		regs->xer = (unsigned long)reg_val;
regs              268 arch/powerpc/platforms/pseries/rtas-fadump.c 		regs->ccr = (unsigned long)reg_val;
regs              270 arch/powerpc/platforms/pseries/rtas-fadump.c 		regs->dar = (unsigned long)reg_val;
regs              272 arch/powerpc/platforms/pseries/rtas-fadump.c 		regs->dsisr = (unsigned long)reg_val;
regs              277 arch/powerpc/platforms/pseries/rtas-fadump.c 		      struct pt_regs *regs)
regs              279 arch/powerpc/platforms/pseries/rtas-fadump.c 	memset(regs, 0, sizeof(struct pt_regs));
regs              282 arch/powerpc/platforms/pseries/rtas-fadump.c 		rtas_fadump_set_regval(regs, be64_to_cpu(reg_entry->reg_id),
regs              311 arch/powerpc/platforms/pseries/rtas-fadump.c 	struct pt_regs regs;
regs              360 arch/powerpc/platforms/pseries/rtas-fadump.c 			regs = fdh->regs;
regs              361 arch/powerpc/platforms/pseries/rtas-fadump.c 			note_buf = fadump_regs_to_elf_notes(note_buf, &regs);
regs              365 arch/powerpc/platforms/pseries/rtas-fadump.c 			reg_entry = rtas_fadump_read_regs(reg_entry, &regs);
regs              366 arch/powerpc/platforms/pseries/rtas-fadump.c 			note_buf = fadump_regs_to_elf_notes(note_buf, &regs);
regs              111 arch/powerpc/sysdev/cpm_common.c 	struct cpm2_ioports __iomem *iop = mm_gc->regs;
regs              119 arch/powerpc/sysdev/cpm_common.c 	struct cpm2_ioports __iomem *iop = mm_gc->regs;
regs              131 arch/powerpc/sysdev/cpm_common.c 	struct cpm2_ioports __iomem *iop = mm_gc->regs;
regs              159 arch/powerpc/sysdev/cpm_common.c 	struct cpm2_ioports __iomem *iop = mm_gc->regs;
regs              177 arch/powerpc/sysdev/cpm_common.c 	struct cpm2_ioports __iomem *iop = mm_gc->regs;
regs               71 arch/powerpc/sysdev/fsl_gtm.c 	struct gtm_timers_regs __iomem *regs;
regs              334 arch/powerpc/sysdev/fsl_gtm.c 				     struct gtm_timers_regs __iomem *regs)
regs              342 arch/powerpc/sysdev/fsl_gtm.c 	timers[0].gtcfr = &regs->gtcfr1;
regs              343 arch/powerpc/sysdev/fsl_gtm.c 	timers[0].gtmdr = &regs->gtmdr1;
regs              344 arch/powerpc/sysdev/fsl_gtm.c 	timers[0].gtcnr = &regs->gtcnr1;
regs              345 arch/powerpc/sysdev/fsl_gtm.c 	timers[0].gtrfr = &regs->gtrfr1;
regs              346 arch/powerpc/sysdev/fsl_gtm.c 	timers[0].gtevr = &regs->gtevr1;
regs              348 arch/powerpc/sysdev/fsl_gtm.c 	timers[1].gtcfr = &regs->gtcfr1;
regs              349 arch/powerpc/sysdev/fsl_gtm.c 	timers[1].gtmdr = &regs->gtmdr2;
regs              350 arch/powerpc/sysdev/fsl_gtm.c 	timers[1].gtcnr = &regs->gtcnr2;
regs              351 arch/powerpc/sysdev/fsl_gtm.c 	timers[1].gtrfr = &regs->gtrfr2;
regs              352 arch/powerpc/sysdev/fsl_gtm.c 	timers[1].gtevr = &regs->gtevr2;
regs              354 arch/powerpc/sysdev/fsl_gtm.c 	timers[2].gtcfr = &regs->gtcfr2;
regs              355 arch/powerpc/sysdev/fsl_gtm.c 	timers[2].gtmdr = &regs->gtmdr3;
regs              356 arch/powerpc/sysdev/fsl_gtm.c 	timers[2].gtcnr = &regs->gtcnr3;
regs              357 arch/powerpc/sysdev/fsl_gtm.c 	timers[2].gtrfr = &regs->gtrfr3;
regs              358 arch/powerpc/sysdev/fsl_gtm.c 	timers[2].gtevr = &regs->gtevr3;
regs              360 arch/powerpc/sysdev/fsl_gtm.c 	timers[3].gtcfr = &regs->gtcfr2;
regs              361 arch/powerpc/sysdev/fsl_gtm.c 	timers[3].gtmdr = &regs->gtmdr4;
regs              362 arch/powerpc/sysdev/fsl_gtm.c 	timers[3].gtcnr = &regs->gtcnr4;
regs              363 arch/powerpc/sysdev/fsl_gtm.c 	timers[3].gtrfr = &regs->gtrfr4;
regs              364 arch/powerpc/sysdev/fsl_gtm.c 	timers[3].gtevr = &regs->gtevr4;
regs              368 arch/powerpc/sysdev/fsl_gtm.c 		timers[0].gtpsr = &regs->gtpsr1;
regs              369 arch/powerpc/sysdev/fsl_gtm.c 		timers[1].gtpsr = &regs->gtpsr2;
regs              370 arch/powerpc/sysdev/fsl_gtm.c 		timers[2].gtpsr = &regs->gtpsr3;
regs              371 arch/powerpc/sysdev/fsl_gtm.c 		timers[3].gtpsr = &regs->gtpsr4;
regs              414 arch/powerpc/sysdev/fsl_gtm.c 		gtm->regs = of_iomap(np, 0);
regs              415 arch/powerpc/sysdev/fsl_gtm.c 		if (!gtm->regs) {
regs              421 arch/powerpc/sysdev/fsl_gtm.c 		gtm_set_shortcuts(np, gtm->timers, gtm->regs);
regs               69 arch/powerpc/sysdev/fsl_lbc.c 	if (!fsl_lbc_ctrl_dev || !fsl_lbc_ctrl_dev->regs)
regs               72 arch/powerpc/sysdev/fsl_lbc.c 	lbc = fsl_lbc_ctrl_dev->regs;
regs              104 arch/powerpc/sysdev/fsl_lbc.c 	if (!fsl_lbc_ctrl_dev || !fsl_lbc_ctrl_dev->regs)
regs              107 arch/powerpc/sysdev/fsl_lbc.c 	lbc = fsl_lbc_ctrl_dev->regs;
regs              157 arch/powerpc/sysdev/fsl_lbc.c 	if (!fsl_lbc_ctrl_dev || !fsl_lbc_ctrl_dev->regs)
regs              162 arch/powerpc/sysdev/fsl_lbc.c 	out_be32(&fsl_lbc_ctrl_dev->regs->mar, mar);
regs              188 arch/powerpc/sysdev/fsl_lbc.c 	struct fsl_lbc_regs __iomem *lbc = ctrl->regs;
regs              212 arch/powerpc/sysdev/fsl_lbc.c 	struct fsl_lbc_regs __iomem *lbc = ctrl->regs;
regs              294 arch/powerpc/sysdev/fsl_lbc.c 	fsl_lbc_ctrl_dev->regs = of_iomap(dev->dev.of_node, 0);
regs              295 arch/powerpc/sysdev/fsl_lbc.c 	if (!fsl_lbc_ctrl_dev->regs) {
regs              336 arch/powerpc/sysdev/fsl_lbc.c 	out_be32(&fsl_lbc_ctrl_dev->regs->lteir, LTEIR_ENABLE);
regs              343 arch/powerpc/sysdev/fsl_lbc.c 	iounmap(fsl_lbc_ctrl_dev->regs);
regs              361 arch/powerpc/sysdev/fsl_lbc.c 	lbc = ctrl->regs;
regs              385 arch/powerpc/sysdev/fsl_lbc.c 	lbc = ctrl->regs;
regs              933 arch/powerpc/sysdev/fsl_pci.c static int mcheck_handle_load(struct pt_regs *regs, u32 inst)
regs              947 arch/powerpc/sysdev/fsl_pci.c 			regs->gpr[rd] = 0xffffffff;
regs              951 arch/powerpc/sysdev/fsl_pci.c 			regs->gpr[rd] = 0xffffffff;
regs              952 arch/powerpc/sysdev/fsl_pci.c 			regs->gpr[ra] += regs->gpr[rb];
regs              956 arch/powerpc/sysdev/fsl_pci.c 			regs->gpr[rd] = 0xff;
regs              960 arch/powerpc/sysdev/fsl_pci.c 			regs->gpr[rd] = 0xff;
regs              961 arch/powerpc/sysdev/fsl_pci.c 			regs->gpr[ra] += regs->gpr[rb];
regs              966 arch/powerpc/sysdev/fsl_pci.c 			regs->gpr[rd] = 0xffff;
regs              970 arch/powerpc/sysdev/fsl_pci.c 			regs->gpr[rd] = 0xffff;
regs              971 arch/powerpc/sysdev/fsl_pci.c 			regs->gpr[ra] += regs->gpr[rb];
regs              975 arch/powerpc/sysdev/fsl_pci.c 			regs->gpr[rd] = ~0UL;
regs              979 arch/powerpc/sysdev/fsl_pci.c 			regs->gpr[rd] = ~0UL;
regs              980 arch/powerpc/sysdev/fsl_pci.c 			regs->gpr[ra] += regs->gpr[rb];
regs              989 arch/powerpc/sysdev/fsl_pci.c 		regs->gpr[rd] = 0xffffffff;
regs              993 arch/powerpc/sysdev/fsl_pci.c 		regs->gpr[rd] = 0xffffffff;
regs              994 arch/powerpc/sysdev/fsl_pci.c 		regs->gpr[ra] += (s16)d;
regs              998 arch/powerpc/sysdev/fsl_pci.c 		regs->gpr[rd] = 0xff;
regs             1002 arch/powerpc/sysdev/fsl_pci.c 		regs->gpr[rd] = 0xff;
regs             1003 arch/powerpc/sysdev/fsl_pci.c 		regs->gpr[ra] += (s16)d;
regs             1007 arch/powerpc/sysdev/fsl_pci.c 		regs->gpr[rd] = 0xffff;
regs             1011 arch/powerpc/sysdev/fsl_pci.c 		regs->gpr[rd] = 0xffff;
regs             1012 arch/powerpc/sysdev/fsl_pci.c 		regs->gpr[ra] += (s16)d;
regs             1016 arch/powerpc/sysdev/fsl_pci.c 		regs->gpr[rd] = ~0UL;
regs             1020 arch/powerpc/sysdev/fsl_pci.c 		regs->gpr[rd] = ~0UL;
regs             1021 arch/powerpc/sysdev/fsl_pci.c 		regs->gpr[ra] += (s16)d;
regs             1051 arch/powerpc/sysdev/fsl_pci.c int fsl_pci_mcheck_exception(struct pt_regs *regs)
regs             1058 arch/powerpc/sysdev/fsl_pci.c 	if (regs->msr & MSR_GS)
regs             1068 arch/powerpc/sysdev/fsl_pci.c 		if (user_mode(regs)) {
regs             1070 arch/powerpc/sysdev/fsl_pci.c 			ret = get_user(inst, (__u32 __user *)regs->nip);
regs             1073 arch/powerpc/sysdev/fsl_pci.c 			ret = probe_kernel_address((void *)regs->nip, inst);
regs             1076 arch/powerpc/sysdev/fsl_pci.c 		if (!ret && mcheck_handle_load(regs, inst)) {
regs             1077 arch/powerpc/sysdev/fsl_pci.c 			regs->nip += 4;
regs              131 arch/powerpc/sysdev/fsl_pci.h static inline int fsl_pci_mcheck_exception(struct pt_regs *regs) {return 0; }
regs               94 arch/powerpc/sysdev/fsl_rio.c int fsl_rio_mcheck_exception(struct pt_regs *regs)
regs              105 arch/powerpc/sysdev/fsl_rio.c 		entry = search_exception_tables(regs->nip);
regs              111 arch/powerpc/sysdev/fsl_rio.c 			regs->msr |= MSR_RI;
regs              112 arch/powerpc/sysdev/fsl_rio.c 			regs->nip = extable_fixup(entry);
regs              445 arch/powerpc/sysdev/fsl_rio.c 	struct resource regs, rmu_regs;
regs              460 arch/powerpc/sysdev/fsl_rio.c 	rc = of_address_to_resource(dev->dev.of_node, 0, &regs);
regs              468 arch/powerpc/sysdev/fsl_rio.c 	dev_info(&dev->dev, "Regs: %pR\n", &regs);
regs              470 arch/powerpc/sysdev/fsl_rio.c 	rio_regs_win = ioremap(regs.start, resource_size(&regs));
regs              529 arch/powerpc/sysdev/ipic.c 	temp = ipic_read(ipic->regs, ipic_info[src].mask);
regs              531 arch/powerpc/sysdev/ipic.c 	ipic_write(ipic->regs, ipic_info[src].mask, temp);
regs              545 arch/powerpc/sysdev/ipic.c 	temp = ipic_read(ipic->regs, ipic_info[src].mask);
regs              547 arch/powerpc/sysdev/ipic.c 	ipic_write(ipic->regs, ipic_info[src].mask, temp);
regs              566 arch/powerpc/sysdev/ipic.c 	ipic_write(ipic->regs, ipic_info[src].ack, temp);
regs              584 arch/powerpc/sysdev/ipic.c 	temp = ipic_read(ipic->regs, ipic_info[src].mask);
regs              586 arch/powerpc/sysdev/ipic.c 	ipic_write(ipic->regs, ipic_info[src].mask, temp);
regs              589 arch/powerpc/sysdev/ipic.c 	ipic_write(ipic->regs, ipic_info[src].ack, temp);
regs              642 arch/powerpc/sysdev/ipic.c 	vold = ipic_read(ipic->regs, IPIC_SECNR);
regs              649 arch/powerpc/sysdev/ipic.c 		ipic_write(ipic->regs, IPIC_SECNR, vnew);
regs              720 arch/powerpc/sysdev/ipic.c 	ipic->regs = ioremap(res.start, resource_size(&res));
regs              723 arch/powerpc/sysdev/ipic.c 	ipic_write(ipic->regs, IPIC_SICNR, 0x0);
regs              740 arch/powerpc/sysdev/ipic.c 	ipic_write(ipic->regs, IPIC_SICFR, temp);
regs              746 arch/powerpc/sysdev/ipic.c 	ipic_write(ipic->regs, IPIC_SERCR, temp);
regs              749 arch/powerpc/sysdev/ipic.c 	temp = ipic_read(ipic->regs, IPIC_SEMSR);
regs              756 arch/powerpc/sysdev/ipic.c 	ipic_write(ipic->regs, IPIC_SEMSR, temp);
regs              761 arch/powerpc/sysdev/ipic.c 	ipic_write(ipic->regs, IPIC_SIMSR_H, 0);
regs              762 arch/powerpc/sysdev/ipic.c 	ipic_write(ipic->regs, IPIC_SIMSR_L, 0);
regs              765 arch/powerpc/sysdev/ipic.c 			primary_ipic->regs);
regs              772 arch/powerpc/sysdev/ipic.c 	ipic_write(primary_ipic->regs, IPIC_SIPRR_A, IPIC_PRIORITY_DEFAULT);
regs              773 arch/powerpc/sysdev/ipic.c 	ipic_write(primary_ipic->regs, IPIC_SIPRR_B, IPIC_PRIORITY_DEFAULT);
regs              774 arch/powerpc/sysdev/ipic.c 	ipic_write(primary_ipic->regs, IPIC_SIPRR_C, IPIC_PRIORITY_DEFAULT);
regs              775 arch/powerpc/sysdev/ipic.c 	ipic_write(primary_ipic->regs, IPIC_SIPRR_D, IPIC_PRIORITY_DEFAULT);
regs              776 arch/powerpc/sysdev/ipic.c 	ipic_write(primary_ipic->regs, IPIC_SMPRR_A, IPIC_PRIORITY_DEFAULT);
regs              777 arch/powerpc/sysdev/ipic.c 	ipic_write(primary_ipic->regs, IPIC_SMPRR_B, IPIC_PRIORITY_DEFAULT);
regs              782 arch/powerpc/sysdev/ipic.c 	return primary_ipic ? ipic_read(primary_ipic->regs, IPIC_SERSR) : 0;
regs              787 arch/powerpc/sysdev/ipic.c 	ipic_write(primary_ipic->regs, IPIC_SERSR, mask);
regs              798 arch/powerpc/sysdev/ipic.c 	irq = ipic_read(primary_ipic->regs, IPIC_SIVCR) & IPIC_SIVCR_VECTOR_MASK;
regs              823 arch/powerpc/sysdev/ipic.c 	ipic_saved_state.sicfr = ipic_read(ipic->regs, IPIC_SICFR);
regs              824 arch/powerpc/sysdev/ipic.c 	ipic_saved_state.siprr[0] = ipic_read(ipic->regs, IPIC_SIPRR_A);
regs              825 arch/powerpc/sysdev/ipic.c 	ipic_saved_state.siprr[1] = ipic_read(ipic->regs, IPIC_SIPRR_D);
regs              826 arch/powerpc/sysdev/ipic.c 	ipic_saved_state.simsr[0] = ipic_read(ipic->regs, IPIC_SIMSR_H);
regs              827 arch/powerpc/sysdev/ipic.c 	ipic_saved_state.simsr[1] = ipic_read(ipic->regs, IPIC_SIMSR_L);
regs              828 arch/powerpc/sysdev/ipic.c 	ipic_saved_state.sicnr = ipic_read(ipic->regs, IPIC_SICNR);
regs              829 arch/powerpc/sysdev/ipic.c 	ipic_saved_state.smprr[0] = ipic_read(ipic->regs, IPIC_SMPRR_A);
regs              830 arch/powerpc/sysdev/ipic.c 	ipic_saved_state.smprr[1] = ipic_read(ipic->regs, IPIC_SMPRR_B);
regs              831 arch/powerpc/sysdev/ipic.c 	ipic_saved_state.semsr = ipic_read(ipic->regs, IPIC_SEMSR);
regs              832 arch/powerpc/sysdev/ipic.c 	ipic_saved_state.secnr = ipic_read(ipic->regs, IPIC_SECNR);
regs              833 arch/powerpc/sysdev/ipic.c 	ipic_saved_state.sermr = ipic_read(ipic->regs, IPIC_SERMR);
regs              834 arch/powerpc/sysdev/ipic.c 	ipic_saved_state.sercr = ipic_read(ipic->regs, IPIC_SERCR);
regs              841 arch/powerpc/sysdev/ipic.c 		ipic_write(ipic->regs, IPIC_SIMSR_H, 0);
regs              842 arch/powerpc/sysdev/ipic.c 		ipic_write(ipic->regs, IPIC_SIMSR_L, 0);
regs              843 arch/powerpc/sysdev/ipic.c 		ipic_write(ipic->regs, IPIC_SEMSR, 0);
regs              844 arch/powerpc/sysdev/ipic.c 		ipic_write(ipic->regs, IPIC_SERMR, 0);
regs              854 arch/powerpc/sysdev/ipic.c 	ipic_write(ipic->regs, IPIC_SICFR, ipic_saved_state.sicfr);
regs              855 arch/powerpc/sysdev/ipic.c 	ipic_write(ipic->regs, IPIC_SIPRR_A, ipic_saved_state.siprr[0]);
regs              856 arch/powerpc/sysdev/ipic.c 	ipic_write(ipic->regs, IPIC_SIPRR_D, ipic_saved_state.siprr[1]);
regs              857 arch/powerpc/sysdev/ipic.c 	ipic_write(ipic->regs, IPIC_SIMSR_H, ipic_saved_state.simsr[0]);
regs              858 arch/powerpc/sysdev/ipic.c 	ipic_write(ipic->regs, IPIC_SIMSR_L, ipic_saved_state.simsr[1]);
regs              859 arch/powerpc/sysdev/ipic.c 	ipic_write(ipic->regs, IPIC_SICNR, ipic_saved_state.sicnr);
regs              860 arch/powerpc/sysdev/ipic.c 	ipic_write(ipic->regs, IPIC_SMPRR_A, ipic_saved_state.smprr[0]);
regs              861 arch/powerpc/sysdev/ipic.c 	ipic_write(ipic->regs, IPIC_SMPRR_B, ipic_saved_state.smprr[1]);
regs              862 arch/powerpc/sysdev/ipic.c 	ipic_write(ipic->regs, IPIC_SEMSR, ipic_saved_state.semsr);
regs              863 arch/powerpc/sysdev/ipic.c 	ipic_write(ipic->regs, IPIC_SECNR, ipic_saved_state.secnr);
regs              864 arch/powerpc/sysdev/ipic.c 	ipic_write(ipic->regs, IPIC_SERMR, ipic_saved_state.sermr);
regs              865 arch/powerpc/sysdev/ipic.c 	ipic_write(ipic->regs, IPIC_SERCR, ipic_saved_state.sercr);
regs              879 arch/powerpc/sysdev/ipic.c 	if (!primary_ipic || !primary_ipic->regs)
regs               39 arch/powerpc/sysdev/ipic.h 	volatile u32 __iomem	*regs;
regs               64 arch/powerpc/sysdev/mpic_timer.c 	struct timer_regs __iomem	*regs;
regs              157 arch/powerpc/sysdev/mpic_timer.c 	out_be32(&priv->regs[num].gtccr, 0);
regs              158 arch/powerpc/sysdev/mpic_timer.c 	out_be32(&priv->regs[num].gtbcr, tmp_ticks | TIMER_STOP);
regs              160 arch/powerpc/sysdev/mpic_timer.c 	out_be32(&priv->regs[num - 1].gtccr, 0);
regs              161 arch/powerpc/sysdev/mpic_timer.c 	out_be32(&priv->regs[num - 1].gtbcr, rem_ticks);
regs              226 arch/powerpc/sysdev/mpic_timer.c 				out_be32(&priv->regs[num].gtbcr,
regs              228 arch/powerpc/sysdev/mpic_timer.c 				out_be32(&priv->regs[num].gtccr, 0);
regs              252 arch/powerpc/sysdev/mpic_timer.c 	clrbits32(&priv->regs[handle->num].gtbcr, TIMER_STOP);
regs              268 arch/powerpc/sysdev/mpic_timer.c 	setbits32(&priv->regs[handle->num].gtbcr, TIMER_STOP);
regs              272 arch/powerpc/sysdev/mpic_timer.c 		out_be32(&priv->regs[handle->num].gtccr, 0);
regs              273 arch/powerpc/sysdev/mpic_timer.c 		out_be32(&priv->regs[handle->num - 1].gtccr, 0);
regs              275 arch/powerpc/sysdev/mpic_timer.c 		out_be32(&priv->regs[handle->num].gtccr, 0);
regs              298 arch/powerpc/sysdev/mpic_timer.c 		tmp_ticks = in_be32(&priv->regs[handle->num].gtccr);
regs              301 arch/powerpc/sysdev/mpic_timer.c 		tmp_ticks = in_be32(&priv->regs[handle->num - 1].gtccr);
regs              304 arch/powerpc/sysdev/mpic_timer.c 		ticks = in_be32(&priv->regs[handle->num].gtccr);
regs              477 arch/powerpc/sysdev/mpic_timer.c 	priv->regs = of_iomap(np, i++);
regs              478 arch/powerpc/sysdev/mpic_timer.c 	if (!priv->regs) {
regs              514 arch/powerpc/sysdev/mpic_timer.c 	if (priv->regs)
regs              515 arch/powerpc/sysdev/mpic_timer.c 		iounmap(priv->regs);
regs               40 arch/powerpc/sysdev/simple_gpio.c 	return !!(in_8(mm_gc->regs) & u8_pin2mask(gpio));
regs               56 arch/powerpc/sysdev/simple_gpio.c 	out_8(mm_gc->regs, u8_gc->data);
regs               77 arch/powerpc/sysdev/simple_gpio.c 	u8_gc->data = in_8(mm_gc->regs);
regs              125 arch/powerpc/sysdev/tsi108_dev.c 		tsi_eth_data.regs = r[0].start;
regs              477 arch/powerpc/xmon/xmon.c static inline int unrecoverable_excp(struct pt_regs *regs)
regs              483 arch/powerpc/xmon/xmon.c 	return ((regs->msr & MSR_RI) == 0);
regs              487 arch/powerpc/xmon/xmon.c static int xmon_core(struct pt_regs *regs, int fromipi)
regs              510 arch/powerpc/xmon/xmon.c 	bp = in_breakpoint_table(regs->nip, &offset);
regs              512 arch/powerpc/xmon/xmon.c 		regs->nip = bp->address + offset;
regs              528 arch/powerpc/xmon/xmon.c 		excprint(regs);
regs              531 arch/powerpc/xmon/xmon.c 		       cpu, regs->trap, getvecname(TRAP(regs)));
regs              551 arch/powerpc/xmon/xmon.c 	if ((regs->msr & (MSR_IR|MSR_PR|MSR_64BIT)) == (MSR_IR|MSR_64BIT))
regs              552 arch/powerpc/xmon/xmon.c 		bp = at_breakpoint(regs->nip);
regs              553 arch/powerpc/xmon/xmon.c 	if (bp || unrecoverable_excp(regs))
regs              559 arch/powerpc/xmon/xmon.c 			excprint(regs);
regs              563 arch/powerpc/xmon/xmon.c 			xmon_print_symbol(regs->nip, " ", ")\n");
regs              565 arch/powerpc/xmon/xmon.c 		if (unrecoverable_excp(regs))
regs              604 arch/powerpc/xmon/xmon.c 			if (TRAP(regs) != 0x100 || !wait_for_other_cpus(ncpus))
regs              614 arch/powerpc/xmon/xmon.c 			if (bp || TRAP(regs) == 0xd00)
regs              615 arch/powerpc/xmon/xmon.c 				ppc_inst_dump(regs->nip, 1, 0);
regs              643 arch/powerpc/xmon/xmon.c 				cmd = cmds(regs);
regs              663 arch/powerpc/xmon/xmon.c 		       regs->trap, getvecname(TRAP(regs)));
regs              670 arch/powerpc/xmon/xmon.c 		excprint(regs);
regs              671 arch/powerpc/xmon/xmon.c 		bp = at_breakpoint(regs->nip);
regs              674 arch/powerpc/xmon/xmon.c 			xmon_print_symbol(regs->nip, " ", ")\n");
regs              676 arch/powerpc/xmon/xmon.c 		if (unrecoverable_excp(regs))
regs              683 arch/powerpc/xmon/xmon.c 			if (bp || TRAP(regs) == 0xd00)
regs              684 arch/powerpc/xmon/xmon.c 				ppc_inst_dump(regs->nip, 1, 0);
regs              690 arch/powerpc/xmon/xmon.c 		cmd = cmds(regs);
regs              697 arch/powerpc/xmon/xmon.c 	if (regs->msr & MSR_DE) {
regs              698 arch/powerpc/xmon/xmon.c 		bp = at_breakpoint(regs->nip);
regs              700 arch/powerpc/xmon/xmon.c 			regs->nip = (unsigned long) &bp->instr[0];
regs              705 arch/powerpc/xmon/xmon.c 	if ((regs->msr & (MSR_IR|MSR_PR|MSR_64BIT)) == (MSR_IR|MSR_64BIT)) {
regs              706 arch/powerpc/xmon/xmon.c 		bp = at_breakpoint(regs->nip);
regs              708 arch/powerpc/xmon/xmon.c 			int stepped = emulate_step(regs, bp->instr[0]);
regs              710 arch/powerpc/xmon/xmon.c 				regs->nip = (unsigned long) &bp->instr[0];
regs              732 arch/powerpc/xmon/xmon.c 	struct pt_regs regs;
regs              735 arch/powerpc/xmon/xmon.c 		ppc_save_regs(&regs);
regs              736 arch/powerpc/xmon/xmon.c 		excp = &regs;
regs              753 arch/powerpc/xmon/xmon.c static int xmon_bpt(struct pt_regs *regs)
regs              758 arch/powerpc/xmon/xmon.c 	if ((regs->msr & (MSR_IR|MSR_PR|MSR_64BIT)) != (MSR_IR|MSR_64BIT))
regs              762 arch/powerpc/xmon/xmon.c 	bp = in_breakpoint_table(regs->nip, &offset);
regs              764 arch/powerpc/xmon/xmon.c 		regs->nip = bp->address + 4;
regs              770 arch/powerpc/xmon/xmon.c 	bp = at_breakpoint(regs->nip);
regs              774 arch/powerpc/xmon/xmon.c 	xmon_core(regs, 0);
regs              779 arch/powerpc/xmon/xmon.c static int xmon_sstep(struct pt_regs *regs)
regs              781 arch/powerpc/xmon/xmon.c 	if (user_mode(regs))
regs              783 arch/powerpc/xmon/xmon.c 	xmon_core(regs, 0);
regs              787 arch/powerpc/xmon/xmon.c static int xmon_break_match(struct pt_regs *regs)
regs              789 arch/powerpc/xmon/xmon.c 	if ((regs->msr & (MSR_IR|MSR_PR|MSR_64BIT)) != (MSR_IR|MSR_64BIT))
regs              793 arch/powerpc/xmon/xmon.c 	xmon_core(regs, 0);
regs              797 arch/powerpc/xmon/xmon.c static int xmon_iabr_match(struct pt_regs *regs)
regs              799 arch/powerpc/xmon/xmon.c 	if ((regs->msr & (MSR_IR|MSR_PR|MSR_64BIT)) != (MSR_IR|MSR_64BIT))
regs              803 arch/powerpc/xmon/xmon.c 	xmon_core(regs, 0);
regs              807 arch/powerpc/xmon/xmon.c static int xmon_ipi(struct pt_regs *regs)
regs              811 arch/powerpc/xmon/xmon.c 		xmon_core(regs, 1);
regs              816 arch/powerpc/xmon/xmon.c static int xmon_fault_handler(struct pt_regs *regs)
regs              822 arch/powerpc/xmon/xmon.c 		handle_fault(regs);	/* doesn't return */
regs              824 arch/powerpc/xmon/xmon.c 	if ((regs->msr & (MSR_IR|MSR_PR|MSR_64BIT)) == (MSR_IR|MSR_64BIT)) {
regs              825 arch/powerpc/xmon/xmon.c 		bp = in_breakpoint_table(regs->nip, &offset);
regs              827 arch/powerpc/xmon/xmon.c 			regs->nip = bp->address + offset;
regs             1157 arch/powerpc/xmon/xmon.c static int do_step(struct pt_regs *regs)
regs             1159 arch/powerpc/xmon/xmon.c 	regs->msr |= MSR_DE;
regs             1168 arch/powerpc/xmon/xmon.c static int do_step(struct pt_regs *regs)
regs             1175 arch/powerpc/xmon/xmon.c 	if ((regs->msr & (MSR_64BIT|MSR_PR|MSR_IR)) == (MSR_64BIT|MSR_IR)) {
regs             1176 arch/powerpc/xmon/xmon.c 		if (mread(regs->nip, &instr, 4) == 4) {
regs             1177 arch/powerpc/xmon/xmon.c 			stepped = emulate_step(regs, instr);
regs             1184 arch/powerpc/xmon/xmon.c 				regs->trap = 0xd00 | (regs->trap & 1);
regs             1186 arch/powerpc/xmon/xmon.c 				xmon_print_symbol(regs->nip, " ", "\n");
regs             1187 arch/powerpc/xmon/xmon.c 				ppc_inst_dump(regs->nip, 1, 0);
regs             1192 arch/powerpc/xmon/xmon.c 	regs->msr |= MSR_SE;
regs             1570 arch/powerpc/xmon/xmon.c 	struct pt_regs regs;
regs             1626 arch/powerpc/xmon/xmon.c 			if (mread(sp + STACK_FRAME_OVERHEAD, &regs, sizeof(regs))
regs             1627 arch/powerpc/xmon/xmon.c 			    != sizeof(regs)) {
regs             1632 arch/powerpc/xmon/xmon.c 			printf("--- Exception: %lx %s at ", regs.trap,
regs             1633 arch/powerpc/xmon/xmon.c 			       getvecname(TRAP(&regs)));
regs             1634 arch/powerpc/xmon/xmon.c 			pc = regs.nip;
regs             1635 arch/powerpc/xmon/xmon.c 			lr = regs.link;
regs             1657 arch/powerpc/xmon/xmon.c static void print_bug_trap(struct pt_regs *regs)
regs             1663 arch/powerpc/xmon/xmon.c 	if (regs->msr & MSR_PR)
regs             1665 arch/powerpc/xmon/xmon.c 	addr = regs->nip;	/* address of trap instruction */
regs             1668 arch/powerpc/xmon/xmon.c 	bug = find_bug(regs->nip);
regs             1728 arch/powerpc/xmon/xmon.c 	struct pt_regs regs;
regs             1734 arch/powerpc/xmon/xmon.c 			regs = *(struct pt_regs *)base;
regs             1744 arch/powerpc/xmon/xmon.c 		fp = &regs;
regs             2127 arch/powerpc/xmon/xmon.c static int handle_fault(struct pt_regs *regs)
regs             2129 arch/powerpc/xmon/xmon.c 	fault_except = TRAP(regs);
regs             2130 arch/powerpc/xmon/xmon.c 	switch (TRAP(regs)) {
regs               80 arch/riscv/include/asm/bug.h void die(struct pt_regs *regs, const char *str);
regs               81 arch/riscv/include/asm/bug.h void do_trap(struct pt_regs *regs, int signo, int code, unsigned long addr);
regs               50 arch/riscv/include/asm/processor.h extern void start_thread(struct pt_regs *regs,
regs               61 arch/riscv/include/asm/ptrace.h #define user_mode(regs) (((regs)->sstatus & SR_SPP) == 0)
regs               65 arch/riscv/include/asm/ptrace.h static inline unsigned long instruction_pointer(struct pt_regs *regs)
regs               67 arch/riscv/include/asm/ptrace.h 	return regs->sepc;
regs               69 arch/riscv/include/asm/ptrace.h static inline void instruction_pointer_set(struct pt_regs *regs,
regs               72 arch/riscv/include/asm/ptrace.h 	regs->sepc = val;
regs               75 arch/riscv/include/asm/ptrace.h #define profile_pc(regs) instruction_pointer(regs)
regs               78 arch/riscv/include/asm/ptrace.h static inline unsigned long user_stack_pointer(struct pt_regs *regs)
regs               80 arch/riscv/include/asm/ptrace.h 	return regs->sp;
regs               82 arch/riscv/include/asm/ptrace.h static inline void user_stack_pointer_set(struct pt_regs *regs,
regs               85 arch/riscv/include/asm/ptrace.h 	regs->sp =  val;
regs               89 arch/riscv/include/asm/ptrace.h static inline unsigned long frame_pointer(struct pt_regs *regs)
regs               91 arch/riscv/include/asm/ptrace.h 	return regs->s0;
regs               93 arch/riscv/include/asm/ptrace.h static inline void frame_pointer_set(struct pt_regs *regs,
regs               96 arch/riscv/include/asm/ptrace.h 	regs->s0 = val;
regs               99 arch/riscv/include/asm/ptrace.h static inline unsigned long regs_return_value(struct pt_regs *regs)
regs              101 arch/riscv/include/asm/ptrace.h 	return regs->a0;
regs               18 arch/riscv/include/asm/switch_to.h static inline void __fstate_clean(struct pt_regs *regs)
regs               20 arch/riscv/include/asm/switch_to.h 	regs->sstatus = (regs->sstatus & ~SR_FS) | SR_FS_CLEAN;
regs               24 arch/riscv/include/asm/switch_to.h 			      struct pt_regs *regs)
regs               26 arch/riscv/include/asm/switch_to.h 	regs->sstatus = (regs->sstatus & ~SR_FS) | SR_FS_OFF;
regs               30 arch/riscv/include/asm/switch_to.h 			       struct pt_regs *regs)
regs               32 arch/riscv/include/asm/switch_to.h 	if ((regs->sstatus & SR_FS) == SR_FS_DIRTY) {
regs               34 arch/riscv/include/asm/switch_to.h 		__fstate_clean(regs);
regs               39 arch/riscv/include/asm/switch_to.h 				  struct pt_regs *regs)
regs               41 arch/riscv/include/asm/switch_to.h 	if ((regs->sstatus & SR_FS) != SR_FS_OFF) {
regs               43 arch/riscv/include/asm/switch_to.h 		__fstate_clean(regs);
regs               50 arch/riscv/include/asm/switch_to.h 	struct pt_regs *regs;
regs               52 arch/riscv/include/asm/switch_to.h 	regs = task_pt_regs(prev);
regs               53 arch/riscv/include/asm/switch_to.h 	if (unlikely(regs->sstatus & SR_SD))
regs               54 arch/riscv/include/asm/switch_to.h 		fstate_save(prev, regs);
regs               61 arch/riscv/include/asm/switch_to.h #define fstate_save(task, regs) do { } while (0)
regs               62 arch/riscv/include/asm/switch_to.h #define fstate_restore(task, regs) do { } while (0)
regs               26 arch/riscv/include/asm/syscall.h 				 struct pt_regs *regs)
regs               28 arch/riscv/include/asm/syscall.h 	return regs->a7;
regs               32 arch/riscv/include/asm/syscall.h 				  struct pt_regs *regs,
regs               35 arch/riscv/include/asm/syscall.h 	regs->a7 = sysno;
regs               39 arch/riscv/include/asm/syscall.h 				    struct pt_regs *regs)
regs               41 arch/riscv/include/asm/syscall.h         regs->a0 = regs->orig_a0;
regs               45 arch/riscv/include/asm/syscall.h 				     struct pt_regs *regs)
regs               47 arch/riscv/include/asm/syscall.h 	unsigned long error = regs->a0;
regs               53 arch/riscv/include/asm/syscall.h 					    struct pt_regs *regs)
regs               55 arch/riscv/include/asm/syscall.h 	return regs->a0;
regs               59 arch/riscv/include/asm/syscall.h 					    struct pt_regs *regs,
regs               62 arch/riscv/include/asm/syscall.h 	regs->a0 = (long) error ?: val;
regs               66 arch/riscv/include/asm/syscall.h 					 struct pt_regs *regs,
regs               69 arch/riscv/include/asm/syscall.h 	args[0] = regs->orig_a0;
regs               71 arch/riscv/include/asm/syscall.h 	memcpy(args, &regs->a1, 5 * sizeof(args[0]));
regs               75 arch/riscv/include/asm/syscall.h 					 struct pt_regs *regs,
regs               78 arch/riscv/include/asm/syscall.h 	regs->orig_a0 = args[0];
regs               80 arch/riscv/include/asm/syscall.h 	memcpy(&regs->a1, args, 5 * sizeof(regs->a1));
regs               13 arch/riscv/kernel/head.h asmlinkage void do_page_fault(struct pt_regs *regs);
regs               27 arch/riscv/kernel/irq.c asmlinkage __visible void __irq_entry do_IRQ(struct pt_regs *regs)
regs               29 arch/riscv/kernel/irq.c 	struct pt_regs *old_regs = set_irq_regs(regs);
regs               32 arch/riscv/kernel/irq.c 	switch (regs->scause & ~SCAUSE_IRQ_FLAG) {
regs               46 arch/riscv/kernel/irq.c 		handle_arch_irq(regs);
regs               49 arch/riscv/kernel/irq.c 		pr_alert("unexpected interrupt cause 0x%lx", regs->scause);
regs               61 arch/riscv/kernel/perf_callchain.c 			 struct pt_regs *regs)
regs               69 arch/riscv/kernel/perf_callchain.c 	fp = regs->s0;
regs               70 arch/riscv/kernel/perf_callchain.c 	perf_callchain_store(entry, regs->sepc);
regs               72 arch/riscv/kernel/perf_callchain.c 	fp = user_backtrace(entry, fp, regs->ra);
regs               83 arch/riscv/kernel/perf_callchain.c 	struct pt_regs *regs, bool (*fn)(unsigned long, void *), void *arg);
regs               85 arch/riscv/kernel/perf_callchain.c 			   struct pt_regs *regs)
regs               93 arch/riscv/kernel/perf_callchain.c 	walk_stackframe(NULL, regs, fill_callchain, entry);
regs               11 arch/riscv/kernel/perf_regs.c u64 perf_reg_value(struct pt_regs *regs, int idx)
regs               16 arch/riscv/kernel/perf_regs.c 	return ((unsigned long *)regs)[idx];
regs               39 arch/riscv/kernel/perf_regs.c 			struct pt_regs *regs,
regs               42 arch/riscv/kernel/perf_regs.c 	regs_user->regs = task_pt_regs(current);
regs               34 arch/riscv/kernel/process.c void show_regs(struct pt_regs *regs)
regs               39 arch/riscv/kernel/process.c 		regs->sepc, regs->ra, regs->sp);
regs               41 arch/riscv/kernel/process.c 		regs->gp, regs->tp, regs->t0);
regs               43 arch/riscv/kernel/process.c 		regs->t1, regs->t2, regs->s0);
regs               45 arch/riscv/kernel/process.c 		regs->s1, regs->a0, regs->a1);
regs               47 arch/riscv/kernel/process.c 		regs->a2, regs->a3, regs->a4);
regs               49 arch/riscv/kernel/process.c 		regs->a5, regs->a6, regs->a7);
regs               51 arch/riscv/kernel/process.c 		regs->s2, regs->s3, regs->s4);
regs               53 arch/riscv/kernel/process.c 		regs->s5, regs->s6, regs->s7);
regs               55 arch/riscv/kernel/process.c 		regs->s8, regs->s9, regs->s10);
regs               57 arch/riscv/kernel/process.c 		regs->s11, regs->t3, regs->t4);
regs               59 arch/riscv/kernel/process.c 		regs->t5, regs->t6);
regs               62 arch/riscv/kernel/process.c 		regs->sstatus, regs->sbadaddr, regs->scause);
regs               65 arch/riscv/kernel/process.c void start_thread(struct pt_regs *regs, unsigned long pc,
regs               68 arch/riscv/kernel/process.c 	regs->sstatus = SR_SPIE;
regs               70 arch/riscv/kernel/process.c 		regs->sstatus |= SR_FS_INITIAL;
regs               75 arch/riscv/kernel/process.c 		fstate_restore(current, regs);
regs               77 arch/riscv/kernel/process.c 	regs->sepc = pc;
regs               78 arch/riscv/kernel/process.c 	regs->sp = sp;
regs               36 arch/riscv/kernel/ptrace.c 	struct pt_regs *regs;
regs               38 arch/riscv/kernel/ptrace.c 	regs = task_pt_regs(target);
regs               39 arch/riscv/kernel/ptrace.c 	return user_regset_copyout(&pos, &count, &kbuf, &ubuf, regs, 0, -1);
regs               48 arch/riscv/kernel/ptrace.c 	struct pt_regs *regs;
regs               50 arch/riscv/kernel/ptrace.c 	regs = task_pt_regs(target);
regs               51 arch/riscv/kernel/ptrace.c 	ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, regs, 0, -1);
regs              151 arch/riscv/kernel/ptrace.c __visible void do_syscall_trace_enter(struct pt_regs *regs)
regs              154 arch/riscv/kernel/ptrace.c 		if (tracehook_report_syscall_entry(regs))
regs              155 arch/riscv/kernel/ptrace.c 			syscall_set_nr(current, regs, -1);
regs              159 arch/riscv/kernel/ptrace.c 		trace_sys_enter(regs, syscall_get_nr(current, regs));
regs              162 arch/riscv/kernel/ptrace.c 	audit_syscall_entry(regs->a7, regs->a0, regs->a1, regs->a2, regs->a3);
regs              165 arch/riscv/kernel/ptrace.c __visible void do_syscall_trace_exit(struct pt_regs *regs)
regs              167 arch/riscv/kernel/ptrace.c 	audit_syscall_exit(regs);
regs              170 arch/riscv/kernel/ptrace.c 		tracehook_report_syscall_exit(regs, 0);
regs              174 arch/riscv/kernel/ptrace.c 		trace_sys_exit(regs, regs_return_value(regs));
regs               28 arch/riscv/kernel/signal.c static long restore_fp_state(struct pt_regs *regs,
regs               39 arch/riscv/kernel/signal.c 	fstate_restore(current, regs);
regs               55 arch/riscv/kernel/signal.c static long save_fp_state(struct pt_regs *regs,
regs               62 arch/riscv/kernel/signal.c 	fstate_save(current, regs);
regs               77 arch/riscv/kernel/signal.c #define save_fp_state(task, regs) (0)
regs               78 arch/riscv/kernel/signal.c #define restore_fp_state(task, regs) (0)
regs               81 arch/riscv/kernel/signal.c static long restore_sigcontext(struct pt_regs *regs,
regs               86 arch/riscv/kernel/signal.c 	err = __copy_from_user(regs, &sc->sc_regs, sizeof(sc->sc_regs));
regs               89 arch/riscv/kernel/signal.c 		err |= restore_fp_state(regs, &sc->sc_fpregs);
regs               95 arch/riscv/kernel/signal.c 	struct pt_regs *regs = current_pt_regs();
regs              103 arch/riscv/kernel/signal.c 	frame = (struct rt_sigframe __user *)regs->sp;
regs              113 arch/riscv/kernel/signal.c 	if (restore_sigcontext(regs, &frame->uc.uc_mcontext))
regs              119 arch/riscv/kernel/signal.c 	return regs->a0;
regs              127 arch/riscv/kernel/signal.c 			frame, (void *)regs->sepc, (void *)regs->sp);
regs              134 arch/riscv/kernel/signal.c 	struct pt_regs *regs)
regs              139 arch/riscv/kernel/signal.c 	err = __copy_to_user(&sc->sc_regs, regs, sizeof(sc->sc_regs));
regs              142 arch/riscv/kernel/signal.c 		err |= save_fp_state(regs, &sc->sc_fpregs);
regs              147 arch/riscv/kernel/signal.c 	struct pt_regs *regs, size_t framesize)
regs              151 arch/riscv/kernel/signal.c 	sp = regs->sp;
regs              171 arch/riscv/kernel/signal.c 	struct pt_regs *regs)
regs              176 arch/riscv/kernel/signal.c 	frame = get_sigframe(ksig, regs, sizeof(*frame));
regs              185 arch/riscv/kernel/signal.c 	err |= __save_altstack(&frame->uc.uc_stack, regs->sp);
regs              186 arch/riscv/kernel/signal.c 	err |= setup_sigcontext(frame, regs);
regs              192 arch/riscv/kernel/signal.c 	regs->ra = (unsigned long)VDSO_SYMBOL(
regs              202 arch/riscv/kernel/signal.c 	regs->sepc = (unsigned long)ksig->ka.sa.sa_handler;
regs              203 arch/riscv/kernel/signal.c 	regs->sp = (unsigned long)frame;
regs              204 arch/riscv/kernel/signal.c 	regs->a0 = ksig->sig;                     /* a0: signal number */
regs              205 arch/riscv/kernel/signal.c 	regs->a1 = (unsigned long)(&frame->info); /* a1: siginfo pointer */
regs              206 arch/riscv/kernel/signal.c 	regs->a2 = (unsigned long)(&frame->uc);   /* a2: ucontext pointer */
regs              211 arch/riscv/kernel/signal.c 		(void *)regs->sepc, (void *)regs->ra, frame);
regs              217 arch/riscv/kernel/signal.c static void handle_signal(struct ksignal *ksig, struct pt_regs *regs)
regs              223 arch/riscv/kernel/signal.c 	if (regs->scause == EXC_SYSCALL) {
regs              225 arch/riscv/kernel/signal.c 		regs->scause = -1UL;
regs              228 arch/riscv/kernel/signal.c 		switch (regs->a0) {
regs              231 arch/riscv/kernel/signal.c 			regs->a0 = -EINTR;
regs              236 arch/riscv/kernel/signal.c 				regs->a0 = -EINTR;
regs              241 arch/riscv/kernel/signal.c                         regs->a0 = regs->orig_a0;
regs              242 arch/riscv/kernel/signal.c 			regs->sepc -= 0x4;
regs              248 arch/riscv/kernel/signal.c 	ret = setup_rt_frame(ksig, oldset, regs);
regs              253 arch/riscv/kernel/signal.c static void do_signal(struct pt_regs *regs)
regs              259 arch/riscv/kernel/signal.c 		handle_signal(&ksig, regs);
regs              264 arch/riscv/kernel/signal.c 	if (regs->scause == EXC_SYSCALL) {
regs              266 arch/riscv/kernel/signal.c 		regs->scause = -1UL;
regs              269 arch/riscv/kernel/signal.c 		switch (regs->a0) {
regs              273 arch/riscv/kernel/signal.c                         regs->a0 = regs->orig_a0;
regs              274 arch/riscv/kernel/signal.c 			regs->sepc -= 0x4;
regs              277 arch/riscv/kernel/signal.c                         regs->a0 = regs->orig_a0;
regs              278 arch/riscv/kernel/signal.c 			regs->a7 = __NR_restart_syscall;
regs              279 arch/riscv/kernel/signal.c 			regs->sepc -= 0x4;
regs              295 arch/riscv/kernel/signal.c asmlinkage __visible void do_notify_resume(struct pt_regs *regs,
regs              300 arch/riscv/kernel/signal.c 		do_signal(regs);
regs              304 arch/riscv/kernel/signal.c 		tracehook_notify_resume(regs);
regs               22 arch/riscv/kernel/stacktrace.c void notrace walk_stackframe(struct task_struct *task, struct pt_regs *regs,
regs               27 arch/riscv/kernel/stacktrace.c 	if (regs) {
regs               28 arch/riscv/kernel/stacktrace.c 		fp = frame_pointer(regs);
regs               29 arch/riscv/kernel/stacktrace.c 		sp = user_stack_pointer(regs);
regs               30 arch/riscv/kernel/stacktrace.c 		pc = instruction_pointer(regs);
regs               67 arch/riscv/kernel/stacktrace.c 	struct pt_regs *regs, bool (*fn)(unsigned long, void *), void *arg)
regs               72 arch/riscv/kernel/stacktrace.c 	if (regs) {
regs               73 arch/riscv/kernel/stacktrace.c 		sp = user_stack_pointer(regs);
regs               74 arch/riscv/kernel/stacktrace.c 		pc = instruction_pointer(regs);
regs               29 arch/riscv/kernel/traps.c void die(struct pt_regs *regs, const char *str)
regs               42 arch/riscv/kernel/traps.c 	show_regs(regs);
regs               44 arch/riscv/kernel/traps.c 	ret = notify_die(DIE_OOPS, str, regs, 0, regs->scause, SIGSEGV);
regs               59 arch/riscv/kernel/traps.c void do_trap(struct pt_regs *regs, int signo, int code, unsigned long addr)
regs               67 arch/riscv/kernel/traps.c 		print_vma_addr(KERN_CONT " in ", instruction_pointer(regs));
regs               69 arch/riscv/kernel/traps.c 		show_regs(regs);
regs               75 arch/riscv/kernel/traps.c static void do_trap_error(struct pt_regs *regs, int signo, int code,
regs               78 arch/riscv/kernel/traps.c 	if (user_mode(regs)) {
regs               79 arch/riscv/kernel/traps.c 		do_trap(regs, signo, code, addr);
regs               81 arch/riscv/kernel/traps.c 		if (!fixup_exception(regs))
regs               82 arch/riscv/kernel/traps.c 			die(regs, str);
regs               87 arch/riscv/kernel/traps.c asmlinkage __visible void name(struct pt_regs *regs)			\
regs               89 arch/riscv/kernel/traps.c 	do_trap_error(regs, signo, code, regs->sepc, "Oops - " str);	\
regs              124 arch/riscv/kernel/traps.c asmlinkage __visible void do_trap_break(struct pt_regs *regs)
regs              126 arch/riscv/kernel/traps.c 	if (user_mode(regs))
regs              127 arch/riscv/kernel/traps.c 		force_sig_fault(SIGTRAP, TRAP_BRKPT, (void __user *)regs->sepc);
regs              128 arch/riscv/kernel/traps.c 	else if (report_bug(regs->sepc, regs) == BUG_TRAP_TYPE_WARN)
regs              129 arch/riscv/kernel/traps.c 		regs->sepc += get_break_insn_length(regs->sepc);
regs              131 arch/riscv/kernel/traps.c 		die(regs, "Kernel BUG");
regs               14 arch/riscv/mm/extable.c int fixup_exception(struct pt_regs *regs)
regs               18 arch/riscv/mm/extable.c 	fixup = search_exception_tables(regs->sepc);
regs               20 arch/riscv/mm/extable.c 		regs->sepc = fixup->fixup;
regs               27 arch/riscv/mm/fault.c asmlinkage void do_page_fault(struct pt_regs *regs)
regs               37 arch/riscv/mm/fault.c 	cause = regs->scause;
regs               38 arch/riscv/mm/fault.c 	addr = regs->sbadaddr;
regs               56 arch/riscv/mm/fault.c 	if (likely(regs->sstatus & SR_SPIE))
regs               66 arch/riscv/mm/fault.c 	if (user_mode(regs))
regs               69 arch/riscv/mm/fault.c 	perf_sw_event(PERF_COUNT_SW_PAGE_FAULTS, 1, regs, addr);
regs              140 arch/riscv/mm/fault.c 				      1, regs, addr);
regs              144 arch/riscv/mm/fault.c 				      1, regs, addr);
regs              173 arch/riscv/mm/fault.c 	if (user_mode(regs)) {
regs              174 arch/riscv/mm/fault.c 		do_trap(regs, SIGSEGV, code, addr);
regs              180 arch/riscv/mm/fault.c 	if (fixup_exception(regs))
regs              191 arch/riscv/mm/fault.c 	die(regs, "Oops");
regs              200 arch/riscv/mm/fault.c 	if (!user_mode(regs))
regs              208 arch/riscv/mm/fault.c 	if (!user_mode(regs))
regs              210 arch/riscv/mm/fault.c 	do_trap(regs, SIGBUS, BUS_ADRERR, addr);
regs              223 arch/riscv/mm/fault.c 		if (user_mode(regs))
regs              224 arch/riscv/mm/fault.c 			return do_trap(regs, SIGSEGV, code, addr);
regs               21 arch/s390/include/asm/dis.h void show_code(struct pt_regs *regs);
regs               16 arch/s390/include/asm/fpu/types.h 	void *regs;		/* Pointer to the current save area */
regs               99 arch/s390/include/asm/ftrace.h static inline bool arch_trace_is_compat_syscall(struct pt_regs *regs)
regs               49 arch/s390/include/asm/ipl.h void __init save_area_add_regs(struct save_area *, void *regs);
regs               76 arch/s390/include/asm/kprobes.h int kprobe_fault_handler(struct pt_regs *regs, int trapnr);
regs               16 arch/s390/include/asm/livepatch.h static inline void klp_arch_set_pc(struct pt_regs *regs, unsigned long ip)
regs               18 arch/s390/include/asm/livepatch.h 	regs->psw.addr = ip;
regs              102 arch/s390/include/asm/nmi.h void s390_do_machine_check(struct pt_regs *regs);
regs               39 arch/s390/include/asm/perf_event.h extern unsigned long perf_instruction_pointer(struct pt_regs *regs);
regs               40 arch/s390/include/asm/perf_event.h extern unsigned long perf_misc_flags(struct pt_regs *regs);
regs               41 arch/s390/include/asm/perf_event.h #define perf_misc_flags(regs) perf_misc_flags(regs)
regs               42 arch/s390/include/asm/perf_event.h #define perf_arch_bpf_user_pt_regs(regs) &regs->user_regs
regs              164 arch/s390/include/asm/processor.h 	.fpu.regs = (void *) init_task.thread.fpu.fprs,			\
regs              171 arch/s390/include/asm/processor.h #define start_thread(regs, new_psw, new_stackp) do {			\
regs              172 arch/s390/include/asm/processor.h 	regs->psw.mask	= PSW_USER_BITS | PSW_MASK_EA | PSW_MASK_BA;	\
regs              173 arch/s390/include/asm/processor.h 	regs->psw.addr	= new_psw;					\
regs              174 arch/s390/include/asm/processor.h 	regs->gprs[15]	= new_stackp;					\
regs              178 arch/s390/include/asm/processor.h #define start_thread31(regs, new_psw, new_stackp) do {			\
regs              179 arch/s390/include/asm/processor.h 	regs->psw.mask	= PSW_USER_BITS | PSW_MASK_BA;			\
regs              180 arch/s390/include/asm/processor.h 	regs->psw.addr	= new_psw;					\
regs              181 arch/s390/include/asm/processor.h 	regs->gprs[15]	= new_stackp;					\
regs              192 arch/s390/include/asm/processor.h void show_registers(struct pt_regs *regs);
regs              140 arch/s390/include/asm/ptrace.h static inline void set_pt_regs_flag(struct pt_regs *regs, int flag)
regs              142 arch/s390/include/asm/ptrace.h 	regs->flags |= (1UL << flag);
regs              145 arch/s390/include/asm/ptrace.h static inline void clear_pt_regs_flag(struct pt_regs *regs, int flag)
regs              147 arch/s390/include/asm/ptrace.h 	regs->flags &= ~(1UL << flag);
regs              150 arch/s390/include/asm/ptrace.h static inline int test_pt_regs_flag(struct pt_regs *regs, int flag)
regs              152 arch/s390/include/asm/ptrace.h 	return !!(regs->flags & (1UL << flag));
regs              161 arch/s390/include/asm/ptrace.h #define user_mode(regs) (((regs)->psw.mask & PSW_MASK_PSTATE) != 0)
regs              162 arch/s390/include/asm/ptrace.h #define instruction_pointer(regs) ((regs)->psw.addr)
regs              163 arch/s390/include/asm/ptrace.h #define user_stack_pointer(regs)((regs)->gprs[15])
regs              164 arch/s390/include/asm/ptrace.h #define profile_pc(regs) instruction_pointer(regs)
regs              166 arch/s390/include/asm/ptrace.h static inline long regs_return_value(struct pt_regs *regs)
regs              168 arch/s390/include/asm/ptrace.h 	return regs->gprs[2];
regs              171 arch/s390/include/asm/ptrace.h static inline void instruction_pointer_set(struct pt_regs *regs,
regs              174 arch/s390/include/asm/ptrace.h 	regs->psw.addr = val;
regs              179 arch/s390/include/asm/ptrace.h unsigned long regs_get_register(struct pt_regs *regs, unsigned int offset);
regs              180 arch/s390/include/asm/ptrace.h unsigned long regs_get_kernel_stack_nth(struct pt_regs *regs, unsigned int n);
regs              182 arch/s390/include/asm/ptrace.h static inline unsigned long kernel_stack_pointer(struct pt_regs *regs)
regs              184 arch/s390/include/asm/ptrace.h 	return regs->gprs[15];
regs              146 arch/s390/include/asm/setup.h void report_user_fault(struct pt_regs *regs, long signr, int is_mm_fault);
regs               37 arch/s390/include/asm/stacktrace.h 					      struct pt_regs *regs)
regs               39 arch/s390/include/asm/stacktrace.h 	if (regs)
regs               40 arch/s390/include/asm/stacktrace.h 		return (unsigned long) kernel_stack_pointer(regs);
regs               21 arch/s390/include/asm/syscall.h 				  struct pt_regs *regs)
regs               23 arch/s390/include/asm/syscall.h 	return test_pt_regs_flag(regs, PIF_SYSCALL) ?
regs               24 arch/s390/include/asm/syscall.h 		(regs->int_code & 0xffff) : -1;
regs               28 arch/s390/include/asm/syscall.h 				    struct pt_regs *regs)
regs               30 arch/s390/include/asm/syscall.h 	regs->gprs[2] = regs->orig_gpr2;
regs               34 arch/s390/include/asm/syscall.h 				     struct pt_regs *regs)
regs               36 arch/s390/include/asm/syscall.h 	return IS_ERR_VALUE(regs->gprs[2]) ? regs->gprs[2] : 0;
regs               40 arch/s390/include/asm/syscall.h 					    struct pt_regs *regs)
regs               42 arch/s390/include/asm/syscall.h 	return regs->gprs[2];
regs               46 arch/s390/include/asm/syscall.h 					    struct pt_regs *regs,
regs               49 arch/s390/include/asm/syscall.h 	regs->gprs[2] = error ? error : val;
regs               53 arch/s390/include/asm/syscall.h 					 struct pt_regs *regs,
regs               65 arch/s390/include/asm/syscall.h 			args[n] = regs->gprs[2 + n] & mask;
regs               67 arch/s390/include/asm/syscall.h 	args[0] = regs->orig_gpr2 & mask;
regs               71 arch/s390/include/asm/syscall.h 					 struct pt_regs *regs,
regs               78 arch/s390/include/asm/syscall.h 			regs->gprs[2 + n] = args[n];
regs               79 arch/s390/include/asm/syscall.h 	regs->orig_gpr2 = args[0];
regs               36 arch/s390/include/asm/unwind.h 	struct pt_regs *regs;
regs               45 arch/s390/include/asm/unwind.h 		    struct pt_regs *regs, unsigned long first_frame);
regs               61 arch/s390/include/asm/unwind.h 				struct pt_regs *regs,
regs               64 arch/s390/include/asm/unwind.h 	sp = sp ? : get_stack_pointer(task, regs);
regs               65 arch/s390/include/asm/unwind.h 	__unwind_start(state, task, regs, sp);
regs               70 arch/s390/include/asm/unwind.h 	return unwind_done(state) ? NULL : state->regs;
regs               73 arch/s390/include/asm/unwind.h #define unwind_for_each_frame(state, task, regs, first_frame)	\
regs               74 arch/s390/include/asm/unwind.h 	for (unwind_start(state, task, regs, first_frame);	\
regs               54 arch/s390/include/asm/user.h   struct user_regs_struct regs;		/* Where the registers are actually stored */
regs               63 arch/s390/include/uapi/asm/sigcontext.h 	_s390_regs_common regs;
regs               33 arch/s390/kernel/asm-offsets.c 	OFFSET(__THREAD_FPU_regs, thread_struct, fpu.regs);
regs               50 arch/s390/kernel/compat_linux.h 	_s390_regs_common32 regs;
regs               40 arch/s390/kernel/compat_ptrace.h 	struct compat_user_regs_struct regs;
regs               66 arch/s390/kernel/compat_signal.c static int save_sigregs32(struct pt_regs *regs, _sigregs32 __user *sregs)
regs               71 arch/s390/kernel/compat_signal.c 	user_sregs.regs.psw.mask = (__u32)(regs->psw.mask >> 32);
regs               72 arch/s390/kernel/compat_signal.c 	user_sregs.regs.psw.mask &= PSW32_MASK_USER | PSW32_MASK_RI;
regs               73 arch/s390/kernel/compat_signal.c 	user_sregs.regs.psw.mask |= PSW32_USER_BITS;
regs               74 arch/s390/kernel/compat_signal.c 	user_sregs.regs.psw.addr = (__u32) regs->psw.addr |
regs               75 arch/s390/kernel/compat_signal.c 		(__u32)(regs->psw.mask & PSW_MASK_BA);
regs               77 arch/s390/kernel/compat_signal.c 		user_sregs.regs.gprs[i] = (__u32) regs->gprs[i];
regs               78 arch/s390/kernel/compat_signal.c 	memcpy(&user_sregs.regs.acrs, current->thread.acrs,
regs               79 arch/s390/kernel/compat_signal.c 	       sizeof(user_sregs.regs.acrs));
regs               86 arch/s390/kernel/compat_signal.c static int restore_sigregs32(struct pt_regs *regs,_sigregs32 __user *sregs)
regs               94 arch/s390/kernel/compat_signal.c 	if (__copy_from_user(&user_sregs, &sregs->regs, sizeof(user_sregs)))
regs               97 arch/s390/kernel/compat_signal.c 	if (!is_ri_task(current) && (user_sregs.regs.psw.mask & PSW32_MASK_RI))
regs              105 arch/s390/kernel/compat_signal.c 	regs->psw.mask = (regs->psw.mask & ~(PSW_MASK_USER | PSW_MASK_RI)) |
regs              106 arch/s390/kernel/compat_signal.c 		(__u64)(user_sregs.regs.psw.mask & PSW32_MASK_USER) << 32 |
regs              107 arch/s390/kernel/compat_signal.c 		(__u64)(user_sregs.regs.psw.mask & PSW32_MASK_RI) << 32 |
regs              108 arch/s390/kernel/compat_signal.c 		(__u64)(user_sregs.regs.psw.addr & PSW32_ADDR_AMODE);
regs              110 arch/s390/kernel/compat_signal.c 	if ((regs->psw.mask & PSW_MASK_ASC) == PSW_ASC_HOME)
regs              111 arch/s390/kernel/compat_signal.c 		regs->psw.mask = PSW_ASC_PRIMARY |
regs              112 arch/s390/kernel/compat_signal.c 			(regs->psw.mask & ~PSW_MASK_ASC);
regs              113 arch/s390/kernel/compat_signal.c 	regs->psw.addr = (__u64)(user_sregs.regs.psw.addr & PSW32_ADDR_INSN);
regs              115 arch/s390/kernel/compat_signal.c 		regs->gprs[i] = (__u64) user_sregs.regs.gprs[i];
regs              116 arch/s390/kernel/compat_signal.c 	memcpy(&current->thread.acrs, &user_sregs.regs.acrs,
regs              120 arch/s390/kernel/compat_signal.c 	clear_pt_regs_flag(regs, PIF_SYSCALL); /* No longer in a system call */
regs              124 arch/s390/kernel/compat_signal.c static int save_sigregs_ext32(struct pt_regs *regs,
regs              133 arch/s390/kernel/compat_signal.c 		gprs_high[i] = regs->gprs[i] >> 32;
regs              152 arch/s390/kernel/compat_signal.c static int restore_sigregs_ext32(struct pt_regs *regs,
regs              164 arch/s390/kernel/compat_signal.c 		*(__u32 *)&regs->gprs[i] = gprs_high[i];
regs              182 arch/s390/kernel/compat_signal.c 	struct pt_regs *regs = task_pt_regs(current);
regs              183 arch/s390/kernel/compat_signal.c 	sigframe32 __user *frame = (sigframe32 __user *)regs->gprs[15];
regs              190 arch/s390/kernel/compat_signal.c 	if (restore_sigregs32(regs, &frame->sregs))
regs              192 arch/s390/kernel/compat_signal.c 	if (restore_sigregs_ext32(regs, &frame->sregs_ext))
regs              195 arch/s390/kernel/compat_signal.c 	return regs->gprs[2];
regs              203 arch/s390/kernel/compat_signal.c 	struct pt_regs *regs = task_pt_regs(current);
regs              204 arch/s390/kernel/compat_signal.c 	rt_sigframe32 __user *frame = (rt_sigframe32 __user *)regs->gprs[15];
regs              213 arch/s390/kernel/compat_signal.c 	if (restore_sigregs32(regs, &frame->uc.uc_mcontext))
regs              215 arch/s390/kernel/compat_signal.c 	if (restore_sigregs_ext32(regs, &frame->uc.uc_mcontext_ext))
regs              218 arch/s390/kernel/compat_signal.c 	return regs->gprs[2];
regs              233 arch/s390/kernel/compat_signal.c get_sigframe(struct k_sigaction *ka, struct pt_regs * regs, size_t frame_size)
regs              238 arch/s390/kernel/compat_signal.c 	sp = (unsigned long) A(regs->gprs[15]);
regs              254 arch/s390/kernel/compat_signal.c 			 struct pt_regs *regs)
regs              270 arch/s390/kernel/compat_signal.c 	frame = get_sigframe(&ksig->ka, regs, frame_size);
regs              275 arch/s390/kernel/compat_signal.c 	if (__put_user(regs->gprs[15], (unsigned int __user *) frame))
regs              289 arch/s390/kernel/compat_signal.c 	if (save_sigregs32(regs, &frame->sregs))
regs              293 arch/s390/kernel/compat_signal.c 	if (__put_user(regs->gprs[2], (int __force __user *) &frame->signo))
regs              297 arch/s390/kernel/compat_signal.c 	if (save_sigregs_ext32(regs, &frame->sregs_ext))
regs              314 arch/s390/kernel/compat_signal.c 	regs->gprs[14] = restorer;
regs              315 arch/s390/kernel/compat_signal.c 	regs->gprs[15] = (__force __u64) frame;
regs              317 arch/s390/kernel/compat_signal.c 	regs->psw.mask = PSW_MASK_BA |
regs              319 arch/s390/kernel/compat_signal.c 		(regs->psw.mask & ~PSW_MASK_ASC);
regs              320 arch/s390/kernel/compat_signal.c 	regs->psw.addr = (__force __u64) ksig->ka.sa.sa_handler;
regs              322 arch/s390/kernel/compat_signal.c 	regs->gprs[2] = sig;
regs              323 arch/s390/kernel/compat_signal.c 	regs->gprs[3] = (__force __u64) &frame->sc;
regs              330 arch/s390/kernel/compat_signal.c 		regs->gprs[4] = regs->int_code & 127;
regs              331 arch/s390/kernel/compat_signal.c 		regs->gprs[5] = regs->int_parm_long;
regs              332 arch/s390/kernel/compat_signal.c 		regs->gprs[6] = current->thread.last_break;
regs              339 arch/s390/kernel/compat_signal.c 			    struct pt_regs *regs)
regs              359 arch/s390/kernel/compat_signal.c 	frame = get_sigframe(&ksig->ka, regs, frame_size);
regs              364 arch/s390/kernel/compat_signal.c 	if (__put_user(regs->gprs[15], (unsigned int __force __user *) frame))
regs              389 arch/s390/kernel/compat_signal.c 	    __compat_save_altstack(&frame->uc.uc_stack, regs->gprs[15]) ||
regs              390 arch/s390/kernel/compat_signal.c 	    save_sigregs32(regs, &frame->uc.uc_mcontext) ||
regs              392 arch/s390/kernel/compat_signal.c 	    save_sigregs_ext32(regs, &frame->uc.uc_mcontext_ext))
regs              396 arch/s390/kernel/compat_signal.c 	regs->gprs[14] = restorer;
regs              397 arch/s390/kernel/compat_signal.c 	regs->gprs[15] = (__force __u64) frame;
regs              399 arch/s390/kernel/compat_signal.c 	regs->psw.mask = PSW_MASK_BA |
regs              401 arch/s390/kernel/compat_signal.c 		(regs->psw.mask & ~PSW_MASK_ASC);
regs              402 arch/s390/kernel/compat_signal.c 	regs->psw.addr = (__u64 __force) ksig->ka.sa.sa_handler;
regs              404 arch/s390/kernel/compat_signal.c 	regs->gprs[2] = ksig->sig;
regs              405 arch/s390/kernel/compat_signal.c 	regs->gprs[3] = (__force __u64) &frame->info;
regs              406 arch/s390/kernel/compat_signal.c 	regs->gprs[4] = (__force __u64) &frame->uc;
regs              407 arch/s390/kernel/compat_signal.c 	regs->gprs[5] = current->thread.last_break;
regs              416 arch/s390/kernel/compat_signal.c 		     struct pt_regs *regs)
regs              422 arch/s390/kernel/compat_signal.c 		ret = setup_rt_frame32(ksig, oldset, regs);
regs              424 arch/s390/kernel/compat_signal.c 		ret = setup_frame32(ksig, oldset, regs);
regs               85 arch/s390/kernel/crash_dump.c void __init save_area_add_regs(struct save_area *sa, void *regs)
regs               89 arch/s390/kernel/crash_dump.c 	lc = (struct lowcore *)(regs - __LC_FPREGS_SAVE_AREA);
regs              485 arch/s390/kernel/dis.c void show_code(struct pt_regs *regs)
regs              487 arch/s390/kernel/dis.c 	char *mode = user_mode(regs) ? "User" : "Krnl";
regs              496 arch/s390/kernel/dis.c 	set_fs(user_mode(regs) ? USER_DS : KERNEL_DS);
regs              497 arch/s390/kernel/dis.c 	for (start = 32; start && regs->psw.addr >= 34 - start; start -= 2) {
regs              498 arch/s390/kernel/dis.c 		addr = regs->psw.addr - 34 + start;
regs              504 arch/s390/kernel/dis.c 		addr = regs->psw.addr + end - 32;
regs              511 arch/s390/kernel/dis.c 	if ((regs->psw.addr & 1) || start >= end) {
regs              539 arch/s390/kernel/dis.c 		addr = regs->psw.addr + start - 32;
regs              140 arch/s390/kernel/dumpstack.c static void show_last_breaking_event(struct pt_regs *regs)
regs              143 arch/s390/kernel/dumpstack.c 	printk(" [<%016lx>] %pSR\n", regs->args[0], (void *)regs->args[0]);
regs              146 arch/s390/kernel/dumpstack.c void show_registers(struct pt_regs *regs)
regs              148 arch/s390/kernel/dumpstack.c 	struct psw_bits *psw = &psw_bits(regs->psw);
regs              151 arch/s390/kernel/dumpstack.c 	mode = user_mode(regs) ? "User" : "Krnl";
regs              152 arch/s390/kernel/dumpstack.c 	printk("%s PSW : %px %px", mode, (void *)regs->psw.mask, (void *)regs->psw.addr);
regs              153 arch/s390/kernel/dumpstack.c 	if (!user_mode(regs))
regs              154 arch/s390/kernel/dumpstack.c 		pr_cont(" (%pSR)", (void *)regs->psw.addr);
regs              161 arch/s390/kernel/dumpstack.c 	       regs->gprs[0], regs->gprs[1], regs->gprs[2], regs->gprs[3]);
regs              163 arch/s390/kernel/dumpstack.c 	       regs->gprs[4], regs->gprs[5], regs->gprs[6], regs->gprs[7]);
regs              165 arch/s390/kernel/dumpstack.c 	       regs->gprs[8], regs->gprs[9], regs->gprs[10], regs->gprs[11]);
regs              167 arch/s390/kernel/dumpstack.c 	       regs->gprs[12], regs->gprs[13], regs->gprs[14], regs->gprs[15]);
regs              168 arch/s390/kernel/dumpstack.c 	show_code(regs);
regs              171 arch/s390/kernel/dumpstack.c void show_regs(struct pt_regs *regs)
regs              174 arch/s390/kernel/dumpstack.c 	show_registers(regs);
regs              176 arch/s390/kernel/dumpstack.c 	if (!user_mode(regs))
regs              177 arch/s390/kernel/dumpstack.c 		show_stack(NULL, (unsigned long *) regs->gprs[15]);
regs              178 arch/s390/kernel/dumpstack.c 	show_last_breaking_event(regs);
regs              183 arch/s390/kernel/dumpstack.c void die(struct pt_regs *regs, const char *str)
regs              193 arch/s390/kernel/dumpstack.c 	printk("%s: %04x ilc:%d [#%d] ", str, regs->int_code & 0xffff,
regs              194 arch/s390/kernel/dumpstack.c 	       regs->int_code >> 17, ++die_counter);
regs              202 arch/s390/kernel/dumpstack.c 	notify_die(DIE_OOPS, str, regs, 0, regs->int_code & 0xffff, SIGSEGV);
regs              204 arch/s390/kernel/dumpstack.c 	show_regs(regs);
regs               22 arch/s390/kernel/entry.h asmlinkage long do_syscall_trace_enter(struct pt_regs *regs);
regs               23 arch/s390/kernel/entry.h asmlinkage void do_syscall_trace_exit(struct pt_regs *regs);
regs               25 arch/s390/kernel/entry.h void do_protection_exception(struct pt_regs *regs);
regs               26 arch/s390/kernel/entry.h void do_dat_exception(struct pt_regs *regs);
regs               28 arch/s390/kernel/entry.h void addressing_exception(struct pt_regs *regs);
regs               29 arch/s390/kernel/entry.h void data_exception(struct pt_regs *regs);
regs               30 arch/s390/kernel/entry.h void default_trap_handler(struct pt_regs *regs);
regs               31 arch/s390/kernel/entry.h void divide_exception(struct pt_regs *regs);
regs               32 arch/s390/kernel/entry.h void execute_exception(struct pt_regs *regs);
regs               33 arch/s390/kernel/entry.h void hfp_divide_exception(struct pt_regs *regs);
regs               34 arch/s390/kernel/entry.h void hfp_overflow_exception(struct pt_regs *regs);
regs               35 arch/s390/kernel/entry.h void hfp_significance_exception(struct pt_regs *regs);
regs               36 arch/s390/kernel/entry.h void hfp_sqrt_exception(struct pt_regs *regs);
regs               37 arch/s390/kernel/entry.h void hfp_underflow_exception(struct pt_regs *regs);
regs               38 arch/s390/kernel/entry.h void illegal_op(struct pt_regs *regs);
regs               39 arch/s390/kernel/entry.h void operand_exception(struct pt_regs *regs);
regs               40 arch/s390/kernel/entry.h void overflow_exception(struct pt_regs *regs);
regs               41 arch/s390/kernel/entry.h void privileged_op(struct pt_regs *regs);
regs               42 arch/s390/kernel/entry.h void space_switch_exception(struct pt_regs *regs);
regs               43 arch/s390/kernel/entry.h void special_op_exception(struct pt_regs *regs);
regs               44 arch/s390/kernel/entry.h void specification_exception(struct pt_regs *regs);
regs               45 arch/s390/kernel/entry.h void transaction_exception(struct pt_regs *regs);
regs               46 arch/s390/kernel/entry.h void translation_exception(struct pt_regs *regs);
regs               47 arch/s390/kernel/entry.h void vector_exception(struct pt_regs *regs);
regs               49 arch/s390/kernel/entry.h void do_per_trap(struct pt_regs *regs);
regs               50 arch/s390/kernel/entry.h void do_report_trap(struct pt_regs *regs, int si_signo, int si_code, char *str);
regs               51 arch/s390/kernel/entry.h void syscall_trace(struct pt_regs *regs, int entryexit);
regs               52 arch/s390/kernel/entry.h void kernel_stack_overflow(struct pt_regs * regs);
regs               53 arch/s390/kernel/entry.h void do_signal(struct pt_regs *regs);
regs               55 arch/s390/kernel/entry.h 		     struct pt_regs *regs);
regs               56 arch/s390/kernel/entry.h void do_notify_resume(struct pt_regs *regs);
regs               59 arch/s390/kernel/entry.h void do_IRQ(struct pt_regs *regs, int irq);
regs               63 arch/s390/kernel/entry.h void die(struct pt_regs *regs, const char *str);
regs               85 arch/s390/kernel/entry.h void gs_load_bc_cb(struct pt_regs *regs);
regs               77 arch/s390/kernel/guarded_storage.c void gs_load_bc_cb(struct pt_regs *regs)
regs              106 arch/s390/kernel/irq.c void do_IRQ(struct pt_regs *regs, int irq)
regs              110 arch/s390/kernel/irq.c 	old_regs = set_irq_regs(regs);
regs              277 arch/s390/kernel/irq.c 	struct pt_regs *regs = get_irq_regs();
regs              282 arch/s390/kernel/irq.c 	ext_code = *(struct ext_code *) &regs->int_code;
regs              291 arch/s390/kernel/irq.c 		p->handler(ext_code, regs->int_parm, regs->int_parm_long);
regs              201 arch/s390/kernel/kprobes.c 			      struct pt_regs *regs,
regs              213 arch/s390/kernel/kprobes.c 	kcb->kprobe_saved_imask = regs->psw.mask &
regs              218 arch/s390/kernel/kprobes.c 	regs->psw.mask |= PSW_MASK_PER;
regs              219 arch/s390/kernel/kprobes.c 	regs->psw.mask &= ~(PSW_MASK_IO | PSW_MASK_EXT);
regs              220 arch/s390/kernel/kprobes.c 	regs->psw.addr = ip;
regs              225 arch/s390/kernel/kprobes.c 			       struct pt_regs *regs,
regs              230 arch/s390/kernel/kprobes.c 	regs->psw.mask &= ~PSW_MASK_PER;
regs              231 arch/s390/kernel/kprobes.c 	regs->psw.mask |= kcb->kprobe_saved_imask;
regs              232 arch/s390/kernel/kprobes.c 	regs->psw.addr = ip;
regs              261 arch/s390/kernel/kprobes.c void arch_prepare_kretprobe(struct kretprobe_instance *ri, struct pt_regs *regs)
regs              263 arch/s390/kernel/kprobes.c 	ri->ret_addr = (kprobe_opcode_t *) regs->gprs[14];
regs              266 arch/s390/kernel/kprobes.c 	regs->gprs[14] = (unsigned long) &kretprobe_trampoline;
regs              292 arch/s390/kernel/kprobes.c static int kprobe_handler(struct pt_regs *regs)
regs              304 arch/s390/kernel/kprobes.c 	p = get_kprobe((void *)(regs->psw.addr - 2));
regs              330 arch/s390/kernel/kprobes.c 			if (p->pre_handler && p->pre_handler(p, regs)) {
regs              337 arch/s390/kernel/kprobes.c 		enable_singlestep(kcb, regs, (unsigned long) p->ainsn.insn);
regs              365 arch/s390/kernel/kprobes.c static int trampoline_probe_handler(struct kprobe *p, struct pt_regs *regs)
regs              422 arch/s390/kernel/kprobes.c 			ri->rp->handler(ri, regs);
regs              436 arch/s390/kernel/kprobes.c 	regs->psw.addr = orig_ret_address;
regs              461 arch/s390/kernel/kprobes.c static void resume_execution(struct kprobe *p, struct pt_regs *regs)
regs              464 arch/s390/kernel/kprobes.c 	unsigned long ip = regs->psw.addr;
regs              481 arch/s390/kernel/kprobes.c 			regs->gprs[0] = (unsigned long)p->addr + sizeof(*insn);
regs              496 arch/s390/kernel/kprobes.c 		regs->gprs[reg] += (unsigned long) p->addr -
regs              500 arch/s390/kernel/kprobes.c 	disable_singlestep(kcb, regs, ip);
regs              504 arch/s390/kernel/kprobes.c static int post_kprobe_handler(struct pt_regs *regs)
regs              514 arch/s390/kernel/kprobes.c 		p->post_handler(p, regs, 0);
regs              517 arch/s390/kernel/kprobes.c 	resume_execution(p, regs);
regs              526 arch/s390/kernel/kprobes.c 	if (regs->psw.mask & PSW_MASK_PER)
regs              533 arch/s390/kernel/kprobes.c static int kprobe_trap_handler(struct pt_regs *regs, int trapnr)
regs              549 arch/s390/kernel/kprobes.c 		disable_singlestep(kcb, regs, (unsigned long) p->addr);
regs              569 arch/s390/kernel/kprobes.c 		if (p->fault_handler && p->fault_handler(p, regs, trapnr))
regs              576 arch/s390/kernel/kprobes.c 		entry = s390_search_extables(regs->psw.addr);
regs              578 arch/s390/kernel/kprobes.c 			regs->psw.addr = extable_fixup(entry);
regs              594 arch/s390/kernel/kprobes.c int kprobe_fault_handler(struct pt_regs *regs, int trapnr)
regs              598 arch/s390/kernel/kprobes.c 	if (regs->psw.mask & (PSW_MASK_IO | PSW_MASK_EXT))
regs              600 arch/s390/kernel/kprobes.c 	ret = kprobe_trap_handler(regs, trapnr);
regs              601 arch/s390/kernel/kprobes.c 	if (regs->psw.mask & (PSW_MASK_IO | PSW_MASK_EXT))
regs              602 arch/s390/kernel/kprobes.c 		local_irq_restore(regs->psw.mask & ~PSW_MASK_PER);
regs              614 arch/s390/kernel/kprobes.c 	struct pt_regs *regs = args->regs;
regs              617 arch/s390/kernel/kprobes.c 	if (regs->psw.mask & (PSW_MASK_IO | PSW_MASK_EXT))
regs              622 arch/s390/kernel/kprobes.c 		if (kprobe_handler(regs))
regs              626 arch/s390/kernel/kprobes.c 		if (post_kprobe_handler(regs))
regs              631 arch/s390/kernel/kprobes.c 		    kprobe_trap_handler(regs, args->trapnr))
regs              638 arch/s390/kernel/kprobes.c 	if (regs->psw.mask & (PSW_MASK_IO | PSW_MASK_EXT))
regs              639 arch/s390/kernel/kprobes.c 		local_irq_restore(regs->psw.mask & ~PSW_MASK_PER);
regs              269 arch/s390/kernel/machine_kexec.c void machine_crash_shutdown(struct pt_regs *regs)
regs              302 arch/s390/kernel/nmi.c static void notrace s390_backup_mcck_info(struct pt_regs *regs)
regs              309 arch/s390/kernel/nmi.c 			(struct kvm_s390_sie_block *) regs->gprs[14];
regs              336 arch/s390/kernel/nmi.c void notrace s390_do_machine_check(struct pt_regs *regs)
regs              396 arch/s390/kernel/nmi.c 	if (s390_check_registers(mci, user_mode(regs))) {
regs              411 arch/s390/kernel/nmi.c 		s390_backup_mcck_info(regs);
regs              462 arch/s390/kernel/nmi.c 		*((long *)(regs->gprs[15] + __SF_SIE_REASON)) = -EINTR;
regs              492 arch/s390/kernel/perf_cpum_cf_diag.c 	struct pt_regs regs;
regs              497 arch/s390/kernel/perf_cpum_cf_diag.c 	memset(&regs, 0, sizeof(regs));
regs              509 arch/s390/kernel/perf_cpum_cf_diag.c 	overflow = perf_event_overflow(event, &data, &regs);
regs              660 arch/s390/kernel/perf_cpum_sf.c 				    struct pt_regs *regs)
regs              675 arch/s390/kernel/perf_cpum_sf.c 	perf_prepare_sample(&header, data, event, regs);
regs             1047 arch/s390/kernel/perf_cpum_sf.c static int perf_exclude_event(struct perf_event *event, struct pt_regs *regs,
regs             1050 arch/s390/kernel/perf_cpum_sf.c 	if (event->attr.exclude_user && user_mode(regs))
regs             1052 arch/s390/kernel/perf_cpum_sf.c 	if (event->attr.exclude_kernel && !user_mode(regs))
regs             1076 arch/s390/kernel/perf_cpum_sf.c 	struct pt_regs regs;
regs             1088 arch/s390/kernel/perf_cpum_sf.c 	memset(&regs, 0, sizeof(regs));
regs             1089 arch/s390/kernel/perf_cpum_sf.c 	regs.int_code = 0x1407;
regs             1090 arch/s390/kernel/perf_cpum_sf.c 	regs.int_parm = CPU_MF_INT_SF_PRA;
regs             1091 arch/s390/kernel/perf_cpum_sf.c 	sde_regs = (struct perf_sf_sde_regs *) &regs.int_parm_long;
regs             1093 arch/s390/kernel/perf_cpum_sf.c 	psw_bits(regs.psw).ia	= basic->ia;
regs             1094 arch/s390/kernel/perf_cpum_sf.c 	psw_bits(regs.psw).dat	= basic->T;
regs             1095 arch/s390/kernel/perf_cpum_sf.c 	psw_bits(regs.psw).wait = basic->W;
regs             1096 arch/s390/kernel/perf_cpum_sf.c 	psw_bits(regs.psw).pstate = basic->P;
regs             1097 arch/s390/kernel/perf_cpum_sf.c 	psw_bits(regs.psw).as	= basic->AS;
regs             1130 arch/s390/kernel/perf_cpum_sf.c 	if (perf_exclude_event(event, &regs, sde_regs))
regs             1132 arch/s390/kernel/perf_cpum_sf.c 	if (perf_event_overflow(event, &data, &regs)) {
regs               47 arch/s390/kernel/perf_event.c static struct kvm_s390_sie_block *sie_block(struct pt_regs *regs)
regs               49 arch/s390/kernel/perf_event.c 	struct stack_frame *stack = (struct stack_frame *) regs->gprs[15];
regs               57 arch/s390/kernel/perf_event.c static bool is_in_guest(struct pt_regs *regs)
regs               59 arch/s390/kernel/perf_event.c 	if (user_mode(regs))
regs               62 arch/s390/kernel/perf_event.c 	return instruction_pointer(regs) == (unsigned long) &sie_exit;
regs               68 arch/s390/kernel/perf_event.c static unsigned long guest_is_user_mode(struct pt_regs *regs)
regs               70 arch/s390/kernel/perf_event.c 	return sie_block(regs)->gpsw.mask & PSW_MASK_PSTATE;
regs               73 arch/s390/kernel/perf_event.c static unsigned long instruction_pointer_guest(struct pt_regs *regs)
regs               75 arch/s390/kernel/perf_event.c 	return sie_block(regs)->gpsw.addr;
regs               78 arch/s390/kernel/perf_event.c unsigned long perf_instruction_pointer(struct pt_regs *regs)
regs               80 arch/s390/kernel/perf_event.c 	return is_in_guest(regs) ? instruction_pointer_guest(regs)
regs               81 arch/s390/kernel/perf_event.c 				 : instruction_pointer(regs);
regs               84 arch/s390/kernel/perf_event.c static unsigned long perf_misc_guest_flags(struct pt_regs *regs)
regs               86 arch/s390/kernel/perf_event.c 	return guest_is_user_mode(regs) ? PERF_RECORD_MISC_GUEST_USER
regs               90 arch/s390/kernel/perf_event.c static unsigned long perf_misc_flags_sf(struct pt_regs *regs)
regs               95 arch/s390/kernel/perf_event.c 	sde_regs = (struct perf_sf_sde_regs *) &regs->int_parm_long;
regs               97 arch/s390/kernel/perf_event.c 		flags = user_mode(regs) ? PERF_RECORD_MISC_GUEST_USER
regs              100 arch/s390/kernel/perf_event.c 		flags = user_mode(regs) ? PERF_RECORD_MISC_USER
regs              105 arch/s390/kernel/perf_event.c unsigned long perf_misc_flags(struct pt_regs *regs)
regs              111 arch/s390/kernel/perf_event.c 	if (regs->int_code == 0x1407 && regs->int_parm == CPU_MF_INT_SF_PRA)
regs              112 arch/s390/kernel/perf_event.c 		if (!regs->gprs[15])
regs              113 arch/s390/kernel/perf_event.c 			return perf_misc_flags_sf(regs);
regs              115 arch/s390/kernel/perf_event.c 	if (is_in_guest(regs))
regs              116 arch/s390/kernel/perf_event.c 		return perf_misc_guest_flags(regs);
regs              118 arch/s390/kernel/perf_event.c 	return user_mode(regs) ? PERF_RECORD_MISC_USER
regs              224 arch/s390/kernel/perf_event.c 			   struct pt_regs *regs)
regs              229 arch/s390/kernel/perf_event.c 	unwind_for_each_frame(&state, current, regs, 0) {
regs               11 arch/s390/kernel/perf_regs.c u64 perf_reg_value(struct pt_regs *regs, int idx)
regs               16 arch/s390/kernel/perf_regs.c 		return regs->gprs[idx];
regs               19 arch/s390/kernel/perf_regs.c 		if (!user_mode(regs))
regs               29 arch/s390/kernel/perf_regs.c 		return regs->psw.mask;
regs               31 arch/s390/kernel/perf_regs.c 		return regs->psw.addr;
regs               56 arch/s390/kernel/perf_regs.c 			struct pt_regs *regs,
regs               65 arch/s390/kernel/perf_regs.c 	regs_user->regs = task_pt_regs(current);
regs               66 arch/s390/kernel/perf_regs.c 	if (user_mode(regs_user->regs))
regs               78 arch/s390/kernel/process.c 	dst->thread.fpu.regs = dst->thread.fpu.fprs;
regs              165 arch/s390/kernel/process.c int dump_fpu (struct pt_regs * regs, s390_fp_regs *fpregs)
regs              236 arch/s390/kernel/process.c 	struct pt_regs *regs = current_pt_regs();
regs              242 arch/s390/kernel/process.c 	WARN(1, "Unbalanced set_fs - int code: 0x%x\n", regs->int_code);
regs              243 arch/s390/kernel/process.c 	show_registers(regs);
regs               47 arch/s390/kernel/ptrace.c 	struct pt_regs *regs = task_pt_regs(task);
regs              108 arch/s390/kernel/ptrace.c 		regs->psw.mask &= ~PSW_MASK_PER;
regs              111 arch/s390/kernel/ptrace.c 	regs->psw.mask |= PSW_MASK_PER;
regs              206 arch/s390/kernel/ptrace.c 	if (addr < (addr_t) &dummy->regs.acrs) {
regs              211 arch/s390/kernel/ptrace.c 		if (addr == (addr_t) &dummy->regs.psw.mask) {
regs              217 arch/s390/kernel/ptrace.c 	} else if (addr < (addr_t) &dummy->regs.orig_gpr2) {
regs              221 arch/s390/kernel/ptrace.c 		offset = addr - (addr_t) &dummy->regs.acrs;
regs              227 arch/s390/kernel/ptrace.c 		if (addr == (addr_t) &dummy->regs.acrs[15])
regs              232 arch/s390/kernel/ptrace.c 	} else if (addr == (addr_t) &dummy->regs.orig_gpr2) {
regs              238 arch/s390/kernel/ptrace.c 	} else if (addr < (addr_t) &dummy->regs.fp_regs) {
regs              245 arch/s390/kernel/ptrace.c 	} else if (addr == (addr_t) &dummy->regs.fp_regs.fpc) {
regs              252 arch/s390/kernel/ptrace.c 	} else if (addr < (addr_t) (&dummy->regs.fp_regs + 1)) {
regs              257 arch/s390/kernel/ptrace.c 		offset = addr - (addr_t) &dummy->regs.fp_regs.fprs;
regs              265 arch/s390/kernel/ptrace.c 	} else if (addr < (addr_t) (&dummy->regs.per_info + 1)) {
regs              269 arch/s390/kernel/ptrace.c 		addr -= (addr_t) &dummy->regs.per_info;
regs              288 arch/s390/kernel/ptrace.c 	if (addr >= (addr_t) &((struct user *) NULL)->regs.acrs &&
regs              289 arch/s390/kernel/ptrace.c 	    addr < (addr_t) &((struct user *) NULL)->regs.orig_gpr2)
regs              338 arch/s390/kernel/ptrace.c 	if (addr < (addr_t) &dummy->regs.acrs) {
regs              342 arch/s390/kernel/ptrace.c 		if (addr == (addr_t) &dummy->regs.psw.mask) {
regs              358 arch/s390/kernel/ptrace.c 	} else if (addr < (addr_t) (&dummy->regs.orig_gpr2)) {
regs              362 arch/s390/kernel/ptrace.c 		offset = addr - (addr_t) &dummy->regs.acrs;
regs              369 arch/s390/kernel/ptrace.c 		if (addr == (addr_t) &dummy->regs.acrs[15])
regs              374 arch/s390/kernel/ptrace.c 	} else if (addr == (addr_t) &dummy->regs.orig_gpr2) {
regs              380 arch/s390/kernel/ptrace.c 	} else if (addr < (addr_t) &dummy->regs.fp_regs) {
regs              387 arch/s390/kernel/ptrace.c 	} else if (addr == (addr_t) &dummy->regs.fp_regs.fpc) {
regs              396 arch/s390/kernel/ptrace.c 	} else if (addr < (addr_t) (&dummy->regs.fp_regs + 1)) {
regs              401 arch/s390/kernel/ptrace.c 		offset = addr - (addr_t) &dummy->regs.fp_regs.fprs;
regs              409 arch/s390/kernel/ptrace.c 	} else if (addr < (addr_t) (&dummy->regs.per_info + 1)) {
regs              413 arch/s390/kernel/ptrace.c 		addr -= (addr_t) &dummy->regs.per_info;
regs              430 arch/s390/kernel/ptrace.c 	if (addr >= (addr_t) &((struct user *) NULL)->regs.acrs &&
regs              431 arch/s390/kernel/ptrace.c 	    addr < (addr_t) &((struct user *) NULL)->regs.orig_gpr2)
regs              584 arch/s390/kernel/ptrace.c 	if (addr < (addr_t) &dummy32->regs.acrs) {
regs              585 arch/s390/kernel/ptrace.c 		struct pt_regs *regs = task_pt_regs(child);
regs              589 arch/s390/kernel/ptrace.c 		if (addr == (addr_t) &dummy32->regs.psw.mask) {
regs              591 arch/s390/kernel/ptrace.c 			tmp = (__u32)(regs->psw.mask >> 32);
regs              594 arch/s390/kernel/ptrace.c 		} else if (addr == (addr_t) &dummy32->regs.psw.addr) {
regs              596 arch/s390/kernel/ptrace.c 			tmp = (__u32) regs->psw.addr |
regs              597 arch/s390/kernel/ptrace.c 				(__u32)(regs->psw.mask & PSW_MASK_BA);
regs              600 arch/s390/kernel/ptrace.c 			tmp = *(__u32 *)((addr_t) &regs->psw + addr*2 + 4);
regs              602 arch/s390/kernel/ptrace.c 	} else if (addr < (addr_t) (&dummy32->regs.orig_gpr2)) {
regs              606 arch/s390/kernel/ptrace.c 		offset = addr - (addr_t) &dummy32->regs.acrs;
regs              609 arch/s390/kernel/ptrace.c 	} else if (addr == (addr_t) (&dummy32->regs.orig_gpr2)) {
regs              615 arch/s390/kernel/ptrace.c 	} else if (addr < (addr_t) &dummy32->regs.fp_regs) {
regs              622 arch/s390/kernel/ptrace.c 	} else if (addr == (addr_t) &dummy32->regs.fp_regs.fpc) {
regs              628 arch/s390/kernel/ptrace.c 	} else if (addr < (addr_t) (&dummy32->regs.fp_regs + 1)) {
regs              633 arch/s390/kernel/ptrace.c 		offset = addr - (addr_t) &dummy32->regs.fp_regs.fprs;
regs              641 arch/s390/kernel/ptrace.c 	} else if (addr < (addr_t) (&dummy32->regs.per_info + 1)) {
regs              645 arch/s390/kernel/ptrace.c 		addr -= (addr_t) &dummy32->regs.per_info;
regs              696 arch/s390/kernel/ptrace.c 	if (addr < (addr_t) &dummy32->regs.acrs) {
regs              697 arch/s390/kernel/ptrace.c 		struct pt_regs *regs = task_pt_regs(child);
regs              701 arch/s390/kernel/ptrace.c 		if (addr == (addr_t) &dummy32->regs.psw.mask) {
regs              712 arch/s390/kernel/ptrace.c 			regs->psw.mask = (regs->psw.mask & ~PSW_MASK_USER) |
regs              713 arch/s390/kernel/ptrace.c 				(regs->psw.mask & PSW_MASK_BA) |
regs              715 arch/s390/kernel/ptrace.c 		} else if (addr == (addr_t) &dummy32->regs.psw.addr) {
regs              717 arch/s390/kernel/ptrace.c 			regs->psw.addr = (__u64) tmp & PSW32_ADDR_INSN;
regs              719 arch/s390/kernel/ptrace.c 			regs->psw.mask = (regs->psw.mask & ~PSW_MASK_BA) |
regs              723 arch/s390/kernel/ptrace.c 			*(__u32*)((addr_t) &regs->psw + addr*2 + 4) = tmp;
regs              725 arch/s390/kernel/ptrace.c 	} else if (addr < (addr_t) (&dummy32->regs.orig_gpr2)) {
regs              729 arch/s390/kernel/ptrace.c 		offset = addr - (addr_t) &dummy32->regs.acrs;
regs              732 arch/s390/kernel/ptrace.c 	} else if (addr == (addr_t) (&dummy32->regs.orig_gpr2)) {
regs              738 arch/s390/kernel/ptrace.c 	} else if (addr < (addr_t) &dummy32->regs.fp_regs) {
regs              745 arch/s390/kernel/ptrace.c 	} else if (addr == (addr_t) &dummy32->regs.fp_regs.fpc) {
regs              753 arch/s390/kernel/ptrace.c 	} else if (addr < (addr_t) (&dummy32->regs.fp_regs + 1)) {
regs              758 arch/s390/kernel/ptrace.c 		offset = addr - (addr_t) &dummy32->regs.fp_regs.fprs;
regs              766 arch/s390/kernel/ptrace.c 	} else if (addr < (addr_t) (&dummy32->regs.per_info + 1)) {
regs              770 arch/s390/kernel/ptrace.c 		addr -= (addr_t) &dummy32->regs.per_info;
regs              838 arch/s390/kernel/ptrace.c asmlinkage long do_syscall_trace_enter(struct pt_regs *regs)
regs              847 arch/s390/kernel/ptrace.c 	    (tracehook_report_syscall_entry(regs) ||
regs              848 arch/s390/kernel/ptrace.c 	     regs->gprs[2] >= NR_syscalls)) {
regs              854 arch/s390/kernel/ptrace.c 		clear_pt_regs_flag(regs, PIF_SYSCALL);
regs              865 arch/s390/kernel/ptrace.c 		trace_sys_enter(regs, regs->gprs[2]);
regs              870 arch/s390/kernel/ptrace.c 	audit_syscall_entry(regs->gprs[2], regs->orig_gpr2 & mask,
regs              871 arch/s390/kernel/ptrace.c 			    regs->gprs[3] &mask, regs->gprs[4] &mask,
regs              872 arch/s390/kernel/ptrace.c 			    regs->gprs[5] &mask);
regs              874 arch/s390/kernel/ptrace.c 	return regs->gprs[2];
regs              877 arch/s390/kernel/ptrace.c asmlinkage void do_syscall_trace_exit(struct pt_regs *regs)
regs              879 arch/s390/kernel/ptrace.c 	audit_syscall_exit(regs);
regs              882 arch/s390/kernel/ptrace.c 		trace_sys_exit(regs, regs->gprs[2]);
regs              885 arch/s390/kernel/ptrace.c 		tracehook_report_syscall_exit(regs, 0);
regs             1044 arch/s390/kernel/ptrace.c 	struct pt_regs *regs = task_pt_regs(target);
regs             1047 arch/s390/kernel/ptrace.c 	if (!(regs->int_code & 0x200))
regs             1692 arch/s390/kernel/ptrace.c unsigned long regs_get_register(struct pt_regs *regs, unsigned int offset)
regs             1696 arch/s390/kernel/ptrace.c 	return regs->gprs[offset];
regs             1719 arch/s390/kernel/ptrace.c static int regs_within_kernel_stack(struct pt_regs *regs, unsigned long addr)
regs             1721 arch/s390/kernel/ptrace.c 	unsigned long ksp = kernel_stack_pointer(regs);
regs             1735 arch/s390/kernel/ptrace.c unsigned long regs_get_kernel_stack_nth(struct pt_regs *regs, unsigned int n)
regs             1739 arch/s390/kernel/ptrace.c 	addr = kernel_stack_pointer(regs) + n * sizeof(long);
regs             1740 arch/s390/kernel/ptrace.c 	if (!regs_within_kernel_stack(regs, addr))
regs               34 arch/s390/kernel/runtime_instr.c 	struct pt_regs *regs;
regs               38 arch/s390/kernel/runtime_instr.c 	regs = task_pt_regs(task);
regs               50 arch/s390/kernel/runtime_instr.c 	regs->psw.mask &= ~PSW_MASK_RI;
regs              120 arch/s390/kernel/signal.c static int save_sigregs(struct pt_regs *regs, _sigregs __user *sregs)
regs              126 arch/s390/kernel/signal.c 	user_sregs.regs.psw.mask = PSW_USER_BITS |
regs              127 arch/s390/kernel/signal.c 		(regs->psw.mask & (PSW_MASK_USER | PSW_MASK_RI));
regs              128 arch/s390/kernel/signal.c 	user_sregs.regs.psw.addr = regs->psw.addr;
regs              129 arch/s390/kernel/signal.c 	memcpy(&user_sregs.regs.gprs, &regs->gprs, sizeof(sregs->regs.gprs));
regs              130 arch/s390/kernel/signal.c 	memcpy(&user_sregs.regs.acrs, current->thread.acrs,
regs              131 arch/s390/kernel/signal.c 	       sizeof(user_sregs.regs.acrs));
regs              138 arch/s390/kernel/signal.c static int restore_sigregs(struct pt_regs *regs, _sigregs __user *sregs)
regs              148 arch/s390/kernel/signal.c 	if (!is_ri_task(current) && (user_sregs.regs.psw.mask & PSW_MASK_RI))
regs              156 arch/s390/kernel/signal.c 	regs->psw.mask = (regs->psw.mask & ~(PSW_MASK_USER | PSW_MASK_RI)) |
regs              157 arch/s390/kernel/signal.c 		(user_sregs.regs.psw.mask & (PSW_MASK_USER | PSW_MASK_RI));
regs              159 arch/s390/kernel/signal.c 	if ((regs->psw.mask & PSW_MASK_ASC) == PSW_ASC_HOME)
regs              160 arch/s390/kernel/signal.c 		regs->psw.mask = PSW_ASC_PRIMARY |
regs              161 arch/s390/kernel/signal.c 			(regs->psw.mask & ~PSW_MASK_ASC);
regs              163 arch/s390/kernel/signal.c 	if (regs->psw.mask & PSW_MASK_EA)
regs              164 arch/s390/kernel/signal.c 		regs->psw.mask |= PSW_MASK_BA;
regs              165 arch/s390/kernel/signal.c 	regs->psw.addr = user_sregs.regs.psw.addr;
regs              166 arch/s390/kernel/signal.c 	memcpy(&regs->gprs, &user_sregs.regs.gprs, sizeof(sregs->regs.gprs));
regs              167 arch/s390/kernel/signal.c 	memcpy(&current->thread.acrs, &user_sregs.regs.acrs,
regs              172 arch/s390/kernel/signal.c 	clear_pt_regs_flag(regs, PIF_SYSCALL); /* No longer in a system call */
regs              177 arch/s390/kernel/signal.c static int save_sigregs_ext(struct pt_regs *regs,
regs              197 arch/s390/kernel/signal.c static int restore_sigregs_ext(struct pt_regs *regs,
regs              219 arch/s390/kernel/signal.c 	struct pt_regs *regs = task_pt_regs(current);
regs              221 arch/s390/kernel/signal.c 		(struct sigframe __user *) regs->gprs[15];
regs              228 arch/s390/kernel/signal.c 	if (restore_sigregs(regs, &frame->sregs))
regs              230 arch/s390/kernel/signal.c 	if (restore_sigregs_ext(regs, &frame->sregs_ext))
regs              233 arch/s390/kernel/signal.c 	return regs->gprs[2];
regs              241 arch/s390/kernel/signal.c 	struct pt_regs *regs = task_pt_regs(current);
regs              243 arch/s390/kernel/signal.c 		(struct rt_sigframe __user *)regs->gprs[15];
regs              252 arch/s390/kernel/signal.c 	if (restore_sigregs(regs, &frame->uc.uc_mcontext))
regs              254 arch/s390/kernel/signal.c 	if (restore_sigregs_ext(regs, &frame->uc.uc_mcontext_ext))
regs              257 arch/s390/kernel/signal.c 	return regs->gprs[2];
regs              267 arch/s390/kernel/signal.c get_sigframe(struct k_sigaction *ka, struct pt_regs * regs, size_t frame_size)
regs              272 arch/s390/kernel/signal.c 	sp = regs->gprs[15];
regs              288 arch/s390/kernel/signal.c 		       sigset_t *set, struct pt_regs * regs)
regs              304 arch/s390/kernel/signal.c 	frame = get_sigframe(ka, regs, frame_size);
regs              309 arch/s390/kernel/signal.c 	if (__put_user(regs->gprs[15], (addr_t __user *) frame))
regs              322 arch/s390/kernel/signal.c 	if (save_sigregs(regs, &frame->sregs))
regs              326 arch/s390/kernel/signal.c 	if (__put_user(regs->gprs[2], (int __user *) &frame->signo))
regs              330 arch/s390/kernel/signal.c 	if (save_sigregs_ext(regs, &frame->sregs_ext))
regs              346 arch/s390/kernel/signal.c 	regs->gprs[14] = restorer;
regs              347 arch/s390/kernel/signal.c 	regs->gprs[15] = (unsigned long) frame;
regs              349 arch/s390/kernel/signal.c 	regs->psw.mask = PSW_MASK_EA | PSW_MASK_BA |
regs              351 arch/s390/kernel/signal.c 		(regs->psw.mask & ~PSW_MASK_ASC);
regs              352 arch/s390/kernel/signal.c 	regs->psw.addr = (unsigned long) ka->sa.sa_handler;
regs              354 arch/s390/kernel/signal.c 	regs->gprs[2] = sig;
regs              355 arch/s390/kernel/signal.c 	regs->gprs[3] = (unsigned long) &frame->sc;
regs              362 arch/s390/kernel/signal.c 		regs->gprs[4] = regs->int_code & 127;
regs              363 arch/s390/kernel/signal.c 		regs->gprs[5] = regs->int_parm_long;
regs              364 arch/s390/kernel/signal.c 		regs->gprs[6] = current->thread.last_break;
regs              370 arch/s390/kernel/signal.c 			  struct pt_regs *regs)
regs              388 arch/s390/kernel/signal.c 	frame = get_sigframe(&ksig->ka, regs, frame_size);
regs              393 arch/s390/kernel/signal.c 	if (__put_user(regs->gprs[15], (addr_t __user *) frame))
regs              417 arch/s390/kernel/signal.c 	    __save_altstack(&frame->uc.uc_stack, regs->gprs[15]) ||
regs              418 arch/s390/kernel/signal.c 	    save_sigregs(regs, &frame->uc.uc_mcontext) ||
regs              420 arch/s390/kernel/signal.c 	    save_sigregs_ext(regs, &frame->uc.uc_mcontext_ext))
regs              424 arch/s390/kernel/signal.c 	regs->gprs[14] = restorer;
regs              425 arch/s390/kernel/signal.c 	regs->gprs[15] = (unsigned long) frame;
regs              427 arch/s390/kernel/signal.c 	regs->psw.mask = PSW_MASK_EA | PSW_MASK_BA |
regs              429 arch/s390/kernel/signal.c 		(regs->psw.mask & ~PSW_MASK_ASC);
regs              430 arch/s390/kernel/signal.c 	regs->psw.addr = (unsigned long) ksig->ka.sa.sa_handler;
regs              432 arch/s390/kernel/signal.c 	regs->gprs[2] = ksig->sig;
regs              433 arch/s390/kernel/signal.c 	regs->gprs[3] = (unsigned long) &frame->info;
regs              434 arch/s390/kernel/signal.c 	regs->gprs[4] = (unsigned long) &frame->uc;
regs              435 arch/s390/kernel/signal.c 	regs->gprs[5] = current->thread.last_break;
regs              440 arch/s390/kernel/signal.c 			  struct pt_regs *regs)
regs              446 arch/s390/kernel/signal.c 		ret = setup_rt_frame(ksig, oldset, regs);
regs              448 arch/s390/kernel/signal.c 		ret = setup_frame(ksig->sig, &ksig->ka, oldset, regs);
regs              462 arch/s390/kernel/signal.c void do_signal(struct pt_regs *regs)
regs              473 arch/s390/kernel/signal.c 		test_pt_regs_flag(regs, PIF_SYSCALL) ? regs->int_code : 0;
regs              478 arch/s390/kernel/signal.c 			regs->int_code = current->thread.system_call;
regs              480 arch/s390/kernel/signal.c 			switch (regs->gprs[2]) {
regs              483 arch/s390/kernel/signal.c 				regs->gprs[2] = -EINTR;
regs              487 arch/s390/kernel/signal.c 					regs->gprs[2] = -EINTR;
regs              492 arch/s390/kernel/signal.c 				regs->gprs[2] = regs->orig_gpr2;
regs              493 arch/s390/kernel/signal.c 				regs->psw.addr =
regs              494 arch/s390/kernel/signal.c 					__rewind_psw(regs->psw,
regs              495 arch/s390/kernel/signal.c 						     regs->int_code >> 16);
regs              500 arch/s390/kernel/signal.c 		clear_pt_regs_flag(regs, PIF_SYSCALL);
regs              501 arch/s390/kernel/signal.c 		rseq_signal_deliver(&ksig, regs);
regs              503 arch/s390/kernel/signal.c 			handle_signal32(&ksig, oldset, regs);
regs              505 arch/s390/kernel/signal.c 			handle_signal(&ksig, oldset, regs);
regs              510 arch/s390/kernel/signal.c 	clear_pt_regs_flag(regs, PIF_SYSCALL);
regs              512 arch/s390/kernel/signal.c 		regs->int_code = current->thread.system_call;
regs              513 arch/s390/kernel/signal.c 		switch (regs->gprs[2]) {
regs              516 arch/s390/kernel/signal.c 			regs->int_code = __NR_restart_syscall;
regs              522 arch/s390/kernel/signal.c 			regs->gprs[2] = regs->orig_gpr2;
regs              523 arch/s390/kernel/signal.c 			set_pt_regs_flag(regs, PIF_SYSCALL);
regs              525 arch/s390/kernel/signal.c 				clear_pt_regs_flag(regs, PIF_PER_TRAP);
regs              536 arch/s390/kernel/signal.c void do_notify_resume(struct pt_regs *regs)
regs              539 arch/s390/kernel/signal.c 	tracehook_notify_resume(regs);
regs              540 arch/s390/kernel/signal.c 	rseq_handle_notify_resume(NULL, regs);
regs              642 arch/s390/kernel/smp.c 	void *regs = (void *) page;
regs              645 arch/s390/kernel/smp.c 		copy_oldmem_kernel(regs, (void *) __LC_FPREGS_SAVE_AREA, 512);
regs              648 arch/s390/kernel/smp.c 	save_area_add_regs(sa, regs);
regs               14 arch/s390/kernel/stacktrace.c 		     struct task_struct *task, struct pt_regs *regs)
regs               19 arch/s390/kernel/stacktrace.c 	unwind_for_each_frame(&state, task, regs, 0) {
regs               29 arch/s390/kernel/traps.c static inline void __user *get_trap_ip(struct pt_regs *regs)
regs               33 arch/s390/kernel/traps.c 	if (regs->int_code & 0x200)
regs               36 arch/s390/kernel/traps.c 		address = regs->psw.addr;
regs               37 arch/s390/kernel/traps.c 	return (void __user *) (address - (regs->int_code >> 16));
regs               45 arch/s390/kernel/traps.c void do_report_trap(struct pt_regs *regs, int si_signo, int si_code, char *str)
regs               47 arch/s390/kernel/traps.c 	if (user_mode(regs)) {
regs               48 arch/s390/kernel/traps.c 		force_sig_fault(si_signo, si_code, get_trap_ip(regs));
regs               49 arch/s390/kernel/traps.c 		report_user_fault(regs, si_signo, 0);
regs               52 arch/s390/kernel/traps.c 		fixup = s390_search_extables(regs->psw.addr);
regs               54 arch/s390/kernel/traps.c 			regs->psw.addr = extable_fixup(fixup);
regs               58 arch/s390/kernel/traps.c 			btt = report_bug(regs->psw.addr, regs);
regs               61 arch/s390/kernel/traps.c 			die(regs, str);
regs               66 arch/s390/kernel/traps.c static void do_trap(struct pt_regs *regs, int si_signo, int si_code, char *str)
regs               68 arch/s390/kernel/traps.c 	if (notify_die(DIE_TRAP, str, regs, 0,
regs               69 arch/s390/kernel/traps.c 		       regs->int_code, si_signo) == NOTIFY_STOP)
regs               71 arch/s390/kernel/traps.c 	do_report_trap(regs, si_signo, si_code, str);
regs               75 arch/s390/kernel/traps.c void do_per_trap(struct pt_regs *regs)
regs               77 arch/s390/kernel/traps.c 	if (notify_die(DIE_SSTEP, "sstep", regs, 0, 0, SIGTRAP) == NOTIFY_STOP)
regs               86 arch/s390/kernel/traps.c void default_trap_handler(struct pt_regs *regs)
regs               88 arch/s390/kernel/traps.c 	if (user_mode(regs)) {
regs               89 arch/s390/kernel/traps.c 		report_user_fault(regs, SIGSEGV, 0);
regs               92 arch/s390/kernel/traps.c 		die(regs, "Unknown program exception");
regs               96 arch/s390/kernel/traps.c void name(struct pt_regs *regs)			\
regs               98 arch/s390/kernel/traps.c 	do_trap(regs, signr, sicode, str);	\
regs              128 arch/s390/kernel/traps.c static inline void do_fp_trap(struct pt_regs *regs, __u32 fpc)
regs              145 arch/s390/kernel/traps.c 	do_trap(regs, SIGFPE, si_code, "floating point exception");
regs              148 arch/s390/kernel/traps.c void translation_exception(struct pt_regs *regs)
regs              154 arch/s390/kernel/traps.c void illegal_op(struct pt_regs *regs)
regs              161 arch/s390/kernel/traps.c 	location = get_trap_ip(regs);
regs              163 arch/s390/kernel/traps.c 	if (user_mode(regs)) {
regs              183 arch/s390/kernel/traps.c 	if (is_uprobe_insn || !user_mode(regs)) {
regs              184 arch/s390/kernel/traps.c 		if (notify_die(DIE_BPT, "bpt", regs, 0,
regs              189 arch/s390/kernel/traps.c 		do_trap(regs, signal, ILL_ILLOPC, "illegal operation");
regs              196 arch/s390/kernel/traps.c void vector_exception(struct pt_regs *regs)
regs              201 arch/s390/kernel/traps.c 		do_trap(regs, SIGILL, ILL_ILLOPN, "illegal operation");
regs              227 arch/s390/kernel/traps.c 	do_trap(regs, SIGFPE, si_code, "vector exception");
regs              230 arch/s390/kernel/traps.c void data_exception(struct pt_regs *regs)
regs              234 arch/s390/kernel/traps.c 		do_fp_trap(regs, current->thread.fpu.fpc);
regs              236 arch/s390/kernel/traps.c 		do_trap(regs, SIGILL, ILL_ILLOPN, "data exception");
regs              239 arch/s390/kernel/traps.c void space_switch_exception(struct pt_regs *regs)
regs              242 arch/s390/kernel/traps.c 	if (user_mode(regs))
regs              243 arch/s390/kernel/traps.c 		regs->psw.mask |= PSW_ASC_HOME;
regs              245 arch/s390/kernel/traps.c 	do_trap(regs, SIGILL, ILL_PRVOPC, "space switch event");
regs              248 arch/s390/kernel/traps.c void kernel_stack_overflow(struct pt_regs *regs)
regs              252 arch/s390/kernel/traps.c 	show_regs(regs);
regs               43 arch/s390/kernel/unwind_bc.c 	struct pt_regs *regs;
regs               47 arch/s390/kernel/unwind_bc.c 	regs = state->regs;
regs               48 arch/s390/kernel/unwind_bc.c 	if (unlikely(regs)) {
regs               53 arch/s390/kernel/unwind_bc.c 			sp = READ_ONCE_NOCHECK(regs->gprs[15]);
regs               62 arch/s390/kernel/unwind_bc.c 		regs = NULL;
regs               65 arch/s390/kernel/unwind_bc.c 			state->regs = NULL;
regs               85 arch/s390/kernel/unwind_bc.c 			regs = (struct pt_regs *) sp;
regs               86 arch/s390/kernel/unwind_bc.c 			if (READ_ONCE_NOCHECK(regs->psw.mask) & PSW_MASK_PSTATE)
regs               88 arch/s390/kernel/unwind_bc.c 			ip = READ_ONCE_NOCHECK(regs->psw.addr);
regs              103 arch/s390/kernel/unwind_bc.c 	state->regs = regs;
regs              116 arch/s390/kernel/unwind_bc.c 		    struct pt_regs *regs, unsigned long sp)
regs              126 arch/s390/kernel/unwind_bc.c 	state->regs = regs;
regs              129 arch/s390/kernel/unwind_bc.c 	if (regs && user_mode(regs)) {
regs              144 arch/s390/kernel/unwind_bc.c 	if (regs) {
regs              145 arch/s390/kernel/unwind_bc.c 		ip = READ_ONCE_NOCHECK(regs->psw.addr);
regs               29 arch/s390/kernel/uprobes.c int arch_uprobe_pre_xol(struct arch_uprobe *auprobe, struct pt_regs *regs)
regs               31 arch/s390/kernel/uprobes.c 	if (psw_bits(regs->psw).eaba == PSW_BITS_AMODE_24BIT)
regs               33 arch/s390/kernel/uprobes.c 	if (!is_compat_task() && psw_bits(regs->psw).eaba == PSW_BITS_AMODE_31BIT)
regs               35 arch/s390/kernel/uprobes.c 	clear_pt_regs_flag(regs, PIF_PER_TRAP);
regs               36 arch/s390/kernel/uprobes.c 	auprobe->saved_per = psw_bits(regs->psw).per;
regs               37 arch/s390/kernel/uprobes.c 	auprobe->saved_int_code = regs->int_code;
regs               38 arch/s390/kernel/uprobes.c 	regs->int_code = UPROBE_TRAP_NR;
regs               39 arch/s390/kernel/uprobes.c 	regs->psw.addr = current->utask->xol_vaddr;
regs               47 arch/s390/kernel/uprobes.c 	struct pt_regs *regs = task_pt_regs(tsk);
regs               49 arch/s390/kernel/uprobes.c 	if (regs->int_code != UPROBE_TRAP_NR)
regs               55 arch/s390/kernel/uprobes.c 			   struct pt_regs *regs)
regs               57 arch/s390/kernel/uprobes.c 	if (!(regs->psw.mask & PSW_MASK_PER))
regs               71 arch/s390/kernel/uprobes.c 		    regs->psw.addr >= current->thread.per_user.start &&
regs               72 arch/s390/kernel/uprobes.c 		    regs->psw.addr <= current->thread.per_user.end)
regs               78 arch/s390/kernel/uprobes.c int arch_uprobe_post_xol(struct arch_uprobe *auprobe, struct pt_regs *regs)
regs               85 arch/s390/kernel/uprobes.c 	psw_bits(regs->psw).per = auprobe->saved_per;
regs               86 arch/s390/kernel/uprobes.c 	regs->int_code = auprobe->saved_int_code;
regs               89 arch/s390/kernel/uprobes.c 		regs->psw.addr += utask->vaddr - utask->xol_vaddr;
regs               93 arch/s390/kernel/uprobes.c 		regs->gprs[reg] += utask->vaddr - utask->xol_vaddr;
regs               98 arch/s390/kernel/uprobes.c 		if (regs->psw.addr - utask->xol_vaddr == ilen)
regs               99 arch/s390/kernel/uprobes.c 			regs->psw.addr = utask->vaddr + ilen;
regs              102 arch/s390/kernel/uprobes.c 			    current->thread.per_user.control, regs)) {
regs              106 arch/s390/kernel/uprobes.c 		set_pt_regs_flag(regs, PIF_PER_TRAP);
regs              115 arch/s390/kernel/uprobes.c 	struct pt_regs *regs = args->regs;
regs              117 arch/s390/kernel/uprobes.c 	if (!user_mode(regs))
regs              119 arch/s390/kernel/uprobes.c 	if (regs->int_code & 0x200) /* Trap during transaction */
regs              123 arch/s390/kernel/uprobes.c 		if (uprobe_pre_sstep_notifier(regs))
regs              127 arch/s390/kernel/uprobes.c 		if (uprobe_post_sstep_notifier(regs))
regs              135 arch/s390/kernel/uprobes.c void arch_uprobe_abort_xol(struct arch_uprobe *auprobe, struct pt_regs *regs)
regs              138 arch/s390/kernel/uprobes.c 	regs->int_code = auprobe->saved_int_code;
regs              139 arch/s390/kernel/uprobes.c 	regs->psw.addr = current->utask->vaddr;
regs              144 arch/s390/kernel/uprobes.c 						struct pt_regs *regs)
regs              148 arch/s390/kernel/uprobes.c 	orig = regs->gprs[14];
regs              149 arch/s390/kernel/uprobes.c 	regs->gprs[14] = trampoline;
regs              154 arch/s390/kernel/uprobes.c 			     struct pt_regs *regs)
regs              157 arch/s390/kernel/uprobes.c 		return user_stack_pointer(regs) <= ret->stack;
regs              159 arch/s390/kernel/uprobes.c 		return user_stack_pointer(regs) < ret->stack;
regs              190 arch/s390/kernel/uprobes.c #define emu_store_ril(regs, ptr, input)			\
regs              203 arch/s390/kernel/uprobes.c 		sim_stor_event(regs,			\
regs              209 arch/s390/kernel/uprobes.c #define emu_cmp_ril(regs, ptr, cmp)			\
regs              222 arch/s390/kernel/uprobes.c 		psw_bits((regs)->psw).cc = 1;		\
regs              224 arch/s390/kernel/uprobes.c 		psw_bits((regs)->psw).cc = 2;		\
regs              226 arch/s390/kernel/uprobes.c 		psw_bits((regs)->psw).cc = 0;		\
regs              250 arch/s390/kernel/uprobes.c static void sim_stor_event(struct pt_regs *regs, void *addr, int len)
regs              252 arch/s390/kernel/uprobes.c 	if (!(regs->psw.mask & PSW_MASK_PER))
regs              260 arch/s390/kernel/uprobes.c 	current->thread.per_event.address = regs->psw.addr;
regs              262 arch/s390/kernel/uprobes.c 	set_pt_regs_flag(regs, PIF_PER_TRAP);
regs              269 arch/s390/kernel/uprobes.c static void handle_insn_ril(struct arch_uprobe *auprobe, struct pt_regs *regs)
regs              278 arch/s390/kernel/uprobes.c 	rx = (union split_register *) &regs->gprs[insn->reg];
regs              279 arch/s390/kernel/uprobes.c 	uptr = (void *)(regs->psw.addr + (insn->disp * 2));
regs              317 arch/s390/kernel/uprobes.c 			rc = emu_store_ril(regs, (u16 __user *)uptr, &rx->u16[3]);
regs              320 arch/s390/kernel/uprobes.c 			rc = emu_store_ril(regs, (u64 __user *)uptr, &rx->u64);
regs              323 arch/s390/kernel/uprobes.c 			rc = emu_store_ril(regs, (u32 __user *)uptr, &rx->u32[1]);
regs              334 arch/s390/kernel/uprobes.c 			rc = emu_cmp_ril(regs, (s16 __user *)uptr, &rx->s64);
regs              337 arch/s390/kernel/uprobes.c 			rc = emu_cmp_ril(regs, (s16 __user *)uptr, &rx->s32[1]);
regs              340 arch/s390/kernel/uprobes.c 			rc = emu_cmp_ril(regs, (u16 __user *)uptr, &rx->u64);
regs              343 arch/s390/kernel/uprobes.c 			rc = emu_cmp_ril(regs, (u16 __user *)uptr, &rx->u32[1]);
regs              346 arch/s390/kernel/uprobes.c 			rc = emu_cmp_ril(regs, (s64 __user *)uptr, &rx->s64);
regs              349 arch/s390/kernel/uprobes.c 			rc = emu_cmp_ril(regs, (u64 __user *)uptr, &rx->u64);
regs              352 arch/s390/kernel/uprobes.c 			rc = emu_cmp_ril(regs, (s32 __user *)uptr, &rx->s64);
regs              355 arch/s390/kernel/uprobes.c 			rc = emu_cmp_ril(regs, (s32 __user *)uptr, &rx->s32[1]);
regs              358 arch/s390/kernel/uprobes.c 			rc = emu_cmp_ril(regs, (u32 __user *)uptr, &rx->u64);
regs              361 arch/s390/kernel/uprobes.c 			rc = emu_cmp_ril(regs, (u32 __user *)uptr, &rx->u32[1]);
regs              366 arch/s390/kernel/uprobes.c 	adjust_psw_addr(&regs->psw, ilen);
regs              369 arch/s390/kernel/uprobes.c 		regs->int_code = ilen << 16 | 0x0001;
regs              370 arch/s390/kernel/uprobes.c 		do_report_trap(regs, SIGILL, ILL_ILLOPC, NULL);
regs              373 arch/s390/kernel/uprobes.c 		regs->int_code = ilen << 16 | 0x0006;
regs              374 arch/s390/kernel/uprobes.c 		do_report_trap(regs, SIGILL, ILL_ILLOPC , NULL);
regs              377 arch/s390/kernel/uprobes.c 		regs->int_code = ilen << 16 | 0x0005;
regs              378 arch/s390/kernel/uprobes.c 		do_report_trap(regs, SIGSEGV, SEGV_MAPERR, NULL);
regs              383 arch/s390/kernel/uprobes.c bool arch_uprobe_skip_sstep(struct arch_uprobe *auprobe, struct pt_regs *regs)
regs              385 arch/s390/kernel/uprobes.c 	if ((psw_bits(regs->psw).eaba == PSW_BITS_AMODE_24BIT) ||
regs              386 arch/s390/kernel/uprobes.c 	    ((psw_bits(regs->psw).eaba == PSW_BITS_AMODE_31BIT) &&
regs              388 arch/s390/kernel/uprobes.c 		regs->psw.addr = __rewind_psw(regs->psw, UPROBE_SWBP_INSN_SIZE);
regs              389 arch/s390/kernel/uprobes.c 		do_report_trap(regs, SIGILL, ILL_ILLADR, NULL);
regs              393 arch/s390/kernel/uprobes.c 		handle_insn_ril(auprobe, regs);
regs               26 arch/s390/kvm/diag.c 	start = vcpu->run->s.regs.gprs[(vcpu->arch.sie_block->ipa & 0xf0) >> 4];
regs               27 arch/s390/kvm/diag.c 	end = vcpu->run->s.regs.gprs[vcpu->arch.sie_block->ipa & 0xf] + PAGE_SIZE;
regs               77 arch/s390/kvm/diag.c 		   vcpu->run->s.regs.gprs[rx]);
regs               79 arch/s390/kvm/diag.c 	if (vcpu->run->s.regs.gprs[rx] & 7)
regs               81 arch/s390/kvm/diag.c 	rc = read_guest(vcpu, vcpu->run->s.regs.gprs[rx], rx, &parm, sizeof(parm));
regs               98 arch/s390/kvm/diag.c 			vcpu->run->s.regs.gprs[ry] = 8;
regs              112 arch/s390/kvm/diag.c 		vcpu->run->s.regs.gprs[ry] = 0;
regs              126 arch/s390/kvm/diag.c 		vcpu->run->s.regs.gprs[ry] = 0;
regs              132 arch/s390/kvm/diag.c 			vcpu->run->s.regs.gprs[ry] = 4;
regs              159 arch/s390/kvm/diag.c 	tid = vcpu->run->s.regs.gprs[(vcpu->arch.sie_block->ipa & 0xf0) >> 4];
regs              175 arch/s390/kvm/diag.c 	unsigned long subcode = vcpu->run->s.regs.gprs[reg] & 0xffff;
regs              209 arch/s390/kvm/diag.c 	    (vcpu->run->s.regs.gprs[1] != KVM_S390_VIRTIO_CCW_NOTIFY))
regs              213 arch/s390/kvm/diag.c 			    (u32) vcpu->run->s.regs.gprs[2],
regs              214 arch/s390/kvm/diag.c 			    (u32) vcpu->run->s.regs.gprs[3],
regs              215 arch/s390/kvm/diag.c 			    vcpu->run->s.regs.gprs[4]);
regs              224 arch/s390/kvm/diag.c 				      vcpu->run->s.regs.gprs[2] & 0xffffffff,
regs              225 arch/s390/kvm/diag.c 				      8, &vcpu->run->s.regs.gprs[3],
regs              226 arch/s390/kvm/diag.c 				      vcpu->run->s.regs.gprs[4]);
regs              233 arch/s390/kvm/diag.c 		vcpu->run->s.regs.gprs[2] = ret;
regs              393 arch/s390/kvm/gaccess.c 	save_access_regs(vcpu->run->s.regs.acrs);
regs              394 arch/s390/kvm/gaccess.c 	alet.val = vcpu->run->s.regs.acrs[ar];
regs              485 arch/s390/kvm/guestdbg.c 			*addr = base ? vcpu->run->s.regs.gprs[base] : 0;
regs              486 arch/s390/kvm/guestdbg.c 			*addr += index ? vcpu->run->s.regs.gprs[index] : 0;
regs              322 arch/s390/kvm/intercept.c 	rc = guest_translate_address(vcpu, vcpu->run->s.regs.gprs[reg2],
regs              331 arch/s390/kvm/intercept.c 	rc = guest_translate_address(vcpu, vcpu->run->s.regs.gprs[reg1],
regs              371 arch/s390/kvm/intercept.c 	code = vcpu->run->s.regs.gprs[reg1];
regs              372 arch/s390/kvm/intercept.c 	addr = vcpu->run->s.regs.gprs[reg2];
regs              406 arch/s390/kvm/intercept.c 	vcpu->run->s.regs.gprs[reg2 + 1] = rc;
regs              559 arch/s390/kvm/interrupt.c 	save_access_regs(vcpu->run->s.regs.acrs);
regs              589 arch/s390/kvm/interrupt.c 		if (write_guest_abs(vcpu, ext_sa_addr, vcpu->run->s.regs.vrs,
regs              598 arch/s390/kvm/interrupt.c 				    &vcpu->run->s.regs.gscb, 32))
regs              614 arch/s390/kvm/interrupt.c 		convert_vx_to_fp(fprs, (__vector128 *) vcpu->run->s.regs.vrs);
regs              618 arch/s390/kvm/interrupt.c 				     vcpu->run->s.regs.fprs, 128);
regs              621 arch/s390/kvm/interrupt.c 			     vcpu->run->s.regs.gprs, 128);
regs              631 arch/s390/kvm/interrupt.c 			     &vcpu->run->s.regs.acrs, 64);
regs             2869 arch/s390/kvm/kvm-s390.c 	vcpu->run->s.regs.fpc = 0;
regs             3018 arch/s390/kvm/kvm-s390.c 	vcpu->arch.sie_block->sdnxo = ((unsigned long) &vcpu->run->s.regs.sdnx)
regs             3020 arch/s390/kvm/kvm-s390.c 	vcpu->arch.sie_block->riccbd = (unsigned long) &vcpu->run->s.regs.riccb;
regs             3300 arch/s390/kvm/kvm-s390.c int kvm_arch_vcpu_ioctl_set_regs(struct kvm_vcpu *vcpu, struct kvm_regs *regs)
regs             3303 arch/s390/kvm/kvm-s390.c 	memcpy(&vcpu->run->s.regs.gprs, &regs->gprs, sizeof(regs->gprs));
regs             3308 arch/s390/kvm/kvm-s390.c int kvm_arch_vcpu_ioctl_get_regs(struct kvm_vcpu *vcpu, struct kvm_regs *regs)
regs             3311 arch/s390/kvm/kvm-s390.c 	memcpy(&regs->gprs, &vcpu->run->s.regs.gprs, sizeof(regs->gprs));
regs             3321 arch/s390/kvm/kvm-s390.c 	memcpy(&vcpu->run->s.regs.acrs, &sregs->acrs, sizeof(sregs->acrs));
regs             3333 arch/s390/kvm/kvm-s390.c 	memcpy(&sregs->acrs, &vcpu->run->s.regs.acrs, sizeof(sregs->acrs));
regs             3350 arch/s390/kvm/kvm-s390.c 	vcpu->run->s.regs.fpc = fpu->fpc;
regs             3352 arch/s390/kvm/kvm-s390.c 		convert_fp_to_vx((__vector128 *) vcpu->run->s.regs.vrs,
regs             3355 arch/s390/kvm/kvm-s390.c 		memcpy(vcpu->run->s.regs.fprs, &fpu->fprs, sizeof(fpu->fprs));
regs             3370 arch/s390/kvm/kvm-s390.c 				 (__vector128 *) vcpu->run->s.regs.vrs);
regs             3372 arch/s390/kvm/kvm-s390.c 		memcpy(fpu->fprs, vcpu->run->s.regs.fprs, sizeof(fpu->fprs));
regs             3373 arch/s390/kvm/kvm-s390.c 	fpu->fpc = vcpu->run->s.regs.fpc;
regs             3705 arch/s390/kvm/kvm-s390.c 	vcpu->arch.sie_block->gg14 = vcpu->run->s.regs.gprs[14];
regs             3706 arch/s390/kvm/kvm-s390.c 	vcpu->arch.sie_block->gg15 = vcpu->run->s.regs.gprs[15];
regs             3787 arch/s390/kvm/kvm-s390.c 	vcpu->run->s.regs.gprs[14] = vcpu->arch.sie_block->gg14;
regs             3788 arch/s390/kvm/kvm-s390.c 	vcpu->run->s.regs.gprs[15] = vcpu->arch.sie_block->gg15;
regs             3853 arch/s390/kvm/kvm-s390.c 				     vcpu->run->s.regs.gprs);
regs             3872 arch/s390/kvm/kvm-s390.c 	riccb = (struct runtime_instr_cb *) &kvm_run->s.regs.riccb;
regs             3873 arch/s390/kvm/kvm-s390.c 	gscb = (struct gs_cb *) &kvm_run->s.regs.gscb;
regs             3877 arch/s390/kvm/kvm-s390.c 		kvm_s390_set_prefix(vcpu, kvm_run->s.regs.prefix);
regs             3879 arch/s390/kvm/kvm-s390.c 		memcpy(&vcpu->arch.sie_block->gcr, &kvm_run->s.regs.crs, 128);
regs             3884 arch/s390/kvm/kvm-s390.c 		kvm_s390_set_cpu_timer(vcpu, kvm_run->s.regs.cputm);
regs             3885 arch/s390/kvm/kvm-s390.c 		vcpu->arch.sie_block->ckc = kvm_run->s.regs.ckc;
regs             3886 arch/s390/kvm/kvm-s390.c 		vcpu->arch.sie_block->todpr = kvm_run->s.regs.todpr;
regs             3887 arch/s390/kvm/kvm-s390.c 		vcpu->arch.sie_block->pp = kvm_run->s.regs.pp;
regs             3888 arch/s390/kvm/kvm-s390.c 		vcpu->arch.sie_block->gbea = kvm_run->s.regs.gbea;
regs             3891 arch/s390/kvm/kvm-s390.c 		vcpu->arch.pfault_token = kvm_run->s.regs.pft;
regs             3892 arch/s390/kvm/kvm-s390.c 		vcpu->arch.pfault_select = kvm_run->s.regs.pfs;
regs             3893 arch/s390/kvm/kvm-s390.c 		vcpu->arch.pfault_compare = kvm_run->s.regs.pfc;
regs             3924 arch/s390/kvm/kvm-s390.c 		vcpu->arch.sie_block->fpf |= kvm_run->s.regs.bpbc ? FPF_BPBC : 0;
regs             3927 arch/s390/kvm/kvm-s390.c 	restore_access_regs(vcpu->run->s.regs.acrs);
regs             3931 arch/s390/kvm/kvm-s390.c 	vcpu->arch.host_fpregs.regs = current->thread.fpu.regs;
regs             3933 arch/s390/kvm/kvm-s390.c 		current->thread.fpu.regs = vcpu->run->s.regs.vrs;
regs             3935 arch/s390/kvm/kvm-s390.c 		current->thread.fpu.regs = vcpu->run->s.regs.fprs;
regs             3936 arch/s390/kvm/kvm-s390.c 	current->thread.fpu.fpc = vcpu->run->s.regs.fpc;
regs             3949 arch/s390/kvm/kvm-s390.c 						&vcpu->run->s.regs.gscb;
regs             3963 arch/s390/kvm/kvm-s390.c 	kvm_run->s.regs.prefix = kvm_s390_get_prefix(vcpu);
regs             3964 arch/s390/kvm/kvm-s390.c 	memcpy(&kvm_run->s.regs.crs, &vcpu->arch.sie_block->gcr, 128);
regs             3965 arch/s390/kvm/kvm-s390.c 	kvm_run->s.regs.cputm = kvm_s390_get_cpu_timer(vcpu);
regs             3966 arch/s390/kvm/kvm-s390.c 	kvm_run->s.regs.ckc = vcpu->arch.sie_block->ckc;
regs             3967 arch/s390/kvm/kvm-s390.c 	kvm_run->s.regs.todpr = vcpu->arch.sie_block->todpr;
regs             3968 arch/s390/kvm/kvm-s390.c 	kvm_run->s.regs.pp = vcpu->arch.sie_block->pp;
regs             3969 arch/s390/kvm/kvm-s390.c 	kvm_run->s.regs.gbea = vcpu->arch.sie_block->gbea;
regs             3970 arch/s390/kvm/kvm-s390.c 	kvm_run->s.regs.pft = vcpu->arch.pfault_token;
regs             3971 arch/s390/kvm/kvm-s390.c 	kvm_run->s.regs.pfs = vcpu->arch.pfault_select;
regs             3972 arch/s390/kvm/kvm-s390.c 	kvm_run->s.regs.pfc = vcpu->arch.pfault_compare;
regs             3973 arch/s390/kvm/kvm-s390.c 	kvm_run->s.regs.bpbc = (vcpu->arch.sie_block->fpf & FPF_BPBC) == FPF_BPBC;
regs             3974 arch/s390/kvm/kvm-s390.c 	save_access_regs(vcpu->run->s.regs.acrs);
regs             3978 arch/s390/kvm/kvm-s390.c 	vcpu->run->s.regs.fpc = current->thread.fpu.fpc;
regs             3981 arch/s390/kvm/kvm-s390.c 	current->thread.fpu.regs = vcpu->arch.host_fpregs.regs;
regs             4087 arch/s390/kvm/kvm-s390.c 		convert_vx_to_fp(fprs, (__vector128 *) vcpu->run->s.regs.vrs);
regs             4092 arch/s390/kvm/kvm-s390.c 				     vcpu->run->s.regs.fprs, 128);
regs             4095 arch/s390/kvm/kvm-s390.c 			      vcpu->run->s.regs.gprs, 128);
regs             4101 arch/s390/kvm/kvm-s390.c 			      &vcpu->run->s.regs.fpc, 4);
regs             4111 arch/s390/kvm/kvm-s390.c 			      &vcpu->run->s.regs.acrs, 64);
regs             4125 arch/s390/kvm/kvm-s390.c 	vcpu->run->s.regs.fpc = current->thread.fpu.fpc;
regs             4126 arch/s390/kvm/kvm-s390.c 	save_access_regs(vcpu->run->s.regs.acrs);
regs              107 arch/s390/kvm/kvm-s390.h 	return (base2 ? vcpu->run->s.regs.gprs[base2] : 0) + disp2;
regs              119 arch/s390/kvm/kvm-s390.h 	*address1 = (base1 ? vcpu->run->s.regs.gprs[base1] : 0) + disp1;
regs              120 arch/s390/kvm/kvm-s390.h 	*address2 = (base2 ? vcpu->run->s.regs.gprs[base2] : 0) + disp2;
regs              148 arch/s390/kvm/kvm-s390.h 	return (base2 ? vcpu->run->s.regs.gprs[base2] : 0) + (long)(int)disp2;
regs              159 arch/s390/kvm/kvm-s390.h 	return (base2 ? vcpu->run->s.regs.gprs[base2] : 0) + disp2;
regs               64 arch/s390/kvm/priv.c 		current->thread.gs_cb = (struct gs_cb *)&vcpu->run->s.regs.gscb;
regs              265 arch/s390/kvm/priv.c 	gaddr = vcpu->run->s.regs.gprs[reg2] & PAGE_MASK;
regs              289 arch/s390/kvm/priv.c 	vcpu->run->s.regs.gprs[reg1] &= ~0xff;
regs              290 arch/s390/kvm/priv.c 	vcpu->run->s.regs.gprs[reg1] |= key;
regs              312 arch/s390/kvm/priv.c 	gaddr = vcpu->run->s.regs.gprs[reg2] & PAGE_MASK;
regs              370 arch/s390/kvm/priv.c 	key = vcpu->run->s.regs.gprs[reg1] & 0xfe;
regs              371 arch/s390/kvm/priv.c 	start = vcpu->run->s.regs.gprs[reg2] & PAGE_MASK;
regs              412 arch/s390/kvm/priv.c 			vcpu->run->s.regs.gprs[reg1] &= ~0xff00UL;
regs              413 arch/s390/kvm/priv.c 			vcpu->run->s.regs.gprs[reg1] |= (u64) oldkey << 8;
regs              418 arch/s390/kvm/priv.c 			vcpu->run->s.regs.gprs[reg2] &= ~PAGE_MASK;
regs              420 arch/s390/kvm/priv.c 			vcpu->run->s.regs.gprs[reg2] &= ~0xfffff000UL;
regs              422 arch/s390/kvm/priv.c 		vcpu->run->s.regs.gprs[reg2] |= end;
regs              449 arch/s390/kvm/priv.c 	addr = vcpu->run->s.regs.gprs[reg2] & PAGE_MASK;
regs              464 arch/s390/kvm/priv.c 	vcpu->run->s.regs.gprs[0] = 0;
regs              542 arch/s390/kvm/priv.c 	if (vcpu->run->s.regs.gprs[1])
regs              544 arch/s390/kvm/priv.c 					   vcpu->run->s.regs.gprs[1]);
regs              632 arch/s390/kvm/priv.c 	reg0 = vcpu->run->s.regs.gprs[0];
regs              666 arch/s390/kvm/priv.c 		if (!ret && vcpu->run->s.regs.gprs[1] & 0x00ff0000)
regs              676 arch/s390/kvm/priv.c 	memcpy(&vcpu->run->s.regs.gprs[1], &status, sizeof(status));
regs              846 arch/s390/kvm/priv.c 	int fc = (vcpu->run->s.regs.gprs[0] & 0xf0000000) >> 28;
regs              847 arch/s390/kvm/priv.c 	int sel1 = vcpu->run->s.regs.gprs[0] & 0xff;
regs              848 arch/s390/kvm/priv.c 	int sel2 = vcpu->run->s.regs.gprs[1] & 0xffff;
regs              865 arch/s390/kvm/priv.c 	if (vcpu->run->s.regs.gprs[0] & 0x0fffff00
regs              866 arch/s390/kvm/priv.c 	    || vcpu->run->s.regs.gprs[1] & 0xffff0000)
regs              870 arch/s390/kvm/priv.c 		vcpu->run->s.regs.gprs[0] = 3 << 28;
regs              911 arch/s390/kvm/priv.c 	vcpu->run->s.regs.gprs[0] = 0;
regs              987 arch/s390/kvm/priv.c 	vcpu->run->s.regs.gprs[reg1] &= 0xffffffff00000000UL;
regs              988 arch/s390/kvm/priv.c 	vcpu->run->s.regs.gprs[reg1] |= vcpu->arch.sie_block->gpsw.mask >> 32;
regs              990 arch/s390/kvm/priv.c 		vcpu->run->s.regs.gprs[reg2] &= 0xffffffff00000000UL;
regs              991 arch/s390/kvm/priv.c 		vcpu->run->s.regs.gprs[reg2] |=
regs             1024 arch/s390/kvm/priv.c 	if (vcpu->run->s.regs.gprs[reg1] & PFMF_RESERVED)
regs             1028 arch/s390/kvm/priv.c 	if (vcpu->run->s.regs.gprs[reg1] & PFMF_NQ &&
regs             1033 arch/s390/kvm/priv.c 	if (vcpu->run->s.regs.gprs[reg1] & PFMF_SK &&
regs             1035 arch/s390/kvm/priv.c 		mr = vcpu->run->s.regs.gprs[reg1] & PFMF_MR;
regs             1036 arch/s390/kvm/priv.c 		mc = vcpu->run->s.regs.gprs[reg1] & PFMF_MC;
regs             1039 arch/s390/kvm/priv.c 	nq = vcpu->run->s.regs.gprs[reg1] & PFMF_NQ;
regs             1040 arch/s390/kvm/priv.c 	key = vcpu->run->s.regs.gprs[reg1] & PFMF_KEY;
regs             1041 arch/s390/kvm/priv.c 	start = vcpu->run->s.regs.gprs[reg2] & PAGE_MASK;
regs             1044 arch/s390/kvm/priv.c 	if (vcpu->run->s.regs.gprs[reg1] & PFMF_CF) {
regs             1049 arch/s390/kvm/priv.c 	switch (vcpu->run->s.regs.gprs[reg1] & PFMF_FSC) {
regs             1079 arch/s390/kvm/priv.c 		if (vcpu->run->s.regs.gprs[reg1] & PFMF_CF) {
regs             1084 arch/s390/kvm/priv.c 		if (vcpu->run->s.regs.gprs[reg1] & PFMF_SK) {
regs             1107 arch/s390/kvm/priv.c 	if (vcpu->run->s.regs.gprs[reg1] & PFMF_FSC) {
regs             1109 arch/s390/kvm/priv.c 			vcpu->run->s.regs.gprs[reg2] = end;
regs             1111 arch/s390/kvm/priv.c 			vcpu->run->s.regs.gprs[reg2] &= ~0xffffffffUL;
regs             1113 arch/s390/kvm/priv.c 			vcpu->run->s.regs.gprs[reg2] |= end;
regs             1134 arch/s390/kvm/priv.c 	gfn = vcpu->run->s.regs.gprs[r2] >> PAGE_SHIFT;
regs             1144 arch/s390/kvm/priv.c 		vcpu->run->s.regs.gprs[r1] = res; /* Exception Indication */
regs             1161 arch/s390/kvm/priv.c 	vcpu->run->s.regs.gprs[r1] = res;
regs             1509 arch/s390/kvm/priv.c 	if (vcpu->run->s.regs.gprs[0] & 0x00000000ffff0000)
regs             1513 arch/s390/kvm/priv.c 	value = vcpu->run->s.regs.gprs[0] & 0x000000000000ffff;
regs              414 arch/s390/kvm/sigp.c 	u16 cpu_addr = vcpu->run->s.regs.gprs[r3];
regs              427 arch/s390/kvm/sigp.c 		parameter = vcpu->run->s.regs.gprs[r1];
regs              429 arch/s390/kvm/sigp.c 		parameter = vcpu->run->s.regs.gprs[r1 + 1];
regs              436 arch/s390/kvm/sigp.c 				     &vcpu->run->s.regs.gprs[r1]);
regs              441 arch/s390/kvm/sigp.c 				     &vcpu->run->s.regs.gprs[r1]);
regs              463 arch/s390/kvm/sigp.c 	u16 cpu_addr = vcpu->run->s.regs.gprs[r3];
regs             1036 arch/s390/kvm/vsie.c 		rc = sie64a(scb_s, vcpu->run->s.regs.gprs);
regs               73 arch/s390/mm/fault.c static enum fault_type get_fault_type(struct pt_regs *regs)
regs               77 arch/s390/mm/fault.c 	trans_exc_code = regs->int_parm_long & 3;
regs               81 arch/s390/mm/fault.c 		    test_pt_regs_flag(regs, PIF_GUEST_FAULT))
regs              164 arch/s390/mm/fault.c static void dump_fault_info(struct pt_regs *regs)
regs              169 arch/s390/mm/fault.c 		 regs->int_parm_long & __FAIL_ADDR_MASK, regs->int_parm_long);
regs              171 arch/s390/mm/fault.c 	switch (regs->int_parm_long & 3) {
regs              186 arch/s390/mm/fault.c 	switch (get_fault_type(regs)) {
regs              207 arch/s390/mm/fault.c 	dump_pagetable(asce, regs->int_parm_long & __FAIL_ADDR_MASK);
regs              212 arch/s390/mm/fault.c void report_user_fault(struct pt_regs *regs, long signr, int is_mm_fault)
regs              221 arch/s390/mm/fault.c 	       regs->int_code & 0xffff, regs->int_code >> 17);
regs              222 arch/s390/mm/fault.c 	print_vma_addr(KERN_CONT "in ", regs->psw.addr);
regs              225 arch/s390/mm/fault.c 		dump_fault_info(regs);
regs              226 arch/s390/mm/fault.c 	show_regs(regs);
regs              233 arch/s390/mm/fault.c static noinline void do_sigsegv(struct pt_regs *regs, int si_code)
regs              235 arch/s390/mm/fault.c 	report_user_fault(regs, SIGSEGV, 1);
regs              237 arch/s390/mm/fault.c 			(void __user *)(regs->int_parm_long & __FAIL_ADDR_MASK));
regs              252 arch/s390/mm/fault.c static noinline void do_no_context(struct pt_regs *regs)
regs              257 arch/s390/mm/fault.c 	fixup = s390_search_extables(regs->psw.addr);
regs              259 arch/s390/mm/fault.c 		regs->psw.addr = extable_fixup(fixup);
regs              267 arch/s390/mm/fault.c 	if (get_fault_type(regs) == KERNEL_FAULT)
regs              273 arch/s390/mm/fault.c 	dump_fault_info(regs);
regs              274 arch/s390/mm/fault.c 	die(regs, "Oops");
regs              278 arch/s390/mm/fault.c static noinline void do_low_address(struct pt_regs *regs)
regs              282 arch/s390/mm/fault.c 	if (regs->psw.mask & PSW_MASK_PSTATE) {
regs              284 arch/s390/mm/fault.c 		die (regs, "Low-address protection");
regs              288 arch/s390/mm/fault.c 	do_no_context(regs);
regs              291 arch/s390/mm/fault.c static noinline void do_sigbus(struct pt_regs *regs)
regs              298 arch/s390/mm/fault.c 			(void __user *)(regs->int_parm_long & __FAIL_ADDR_MASK));
regs              301 arch/s390/mm/fault.c static noinline int signal_return(struct pt_regs *regs)
regs              306 arch/s390/mm/fault.c 	rc = __get_user(instruction, (u16 __user *) regs->psw.addr);
regs              310 arch/s390/mm/fault.c 		set_pt_regs_flag(regs, PIF_SYSCALL);
regs              311 arch/s390/mm/fault.c 		regs->int_code = 0x00040077;
regs              314 arch/s390/mm/fault.c 		set_pt_regs_flag(regs, PIF_SYSCALL);
regs              315 arch/s390/mm/fault.c 		regs->int_code = 0x000400ad;
regs              321 arch/s390/mm/fault.c static noinline void do_fault_error(struct pt_regs *regs, int access,
regs              328 arch/s390/mm/fault.c 		if (access == VM_EXEC && signal_return(regs) == 0)
regs              333 arch/s390/mm/fault.c 		if (user_mode(regs)) {
regs              337 arch/s390/mm/fault.c 			do_sigsegv(regs, si_code);
regs              344 arch/s390/mm/fault.c 		do_no_context(regs);
regs              347 arch/s390/mm/fault.c 		if (!user_mode(regs))
regs              348 arch/s390/mm/fault.c 			do_no_context(regs);
regs              352 arch/s390/mm/fault.c 			if (!user_mode(regs))
regs              353 arch/s390/mm/fault.c 				do_no_context(regs);
regs              358 arch/s390/mm/fault.c 			if (!user_mode(regs))
regs              359 arch/s390/mm/fault.c 				do_no_context(regs);
regs              361 arch/s390/mm/fault.c 				do_sigsegv(regs, SEGV_MAPERR);
regs              364 arch/s390/mm/fault.c 			if (!user_mode(regs))
regs              365 arch/s390/mm/fault.c 				do_no_context(regs);
regs              367 arch/s390/mm/fault.c 				do_sigbus(regs);
regs              385 arch/s390/mm/fault.c static inline vm_fault_t do_exception(struct pt_regs *regs, int access)
regs              402 arch/s390/mm/fault.c 	clear_pt_regs_flag(regs, PIF_PER_TRAP);
regs              404 arch/s390/mm/fault.c 	if (kprobe_page_fault(regs, 14))
regs              408 arch/s390/mm/fault.c 	trans_exc_code = regs->int_parm_long;
regs              416 arch/s390/mm/fault.c 	type = get_fault_type(regs);
regs              431 arch/s390/mm/fault.c 	perf_sw_event(PERF_COUNT_SW_PAGE_FAULTS, 1, regs, address);
regs              433 arch/s390/mm/fault.c 	if (user_mode(regs))
regs              444 arch/s390/mm/fault.c 		current->thread.gmap_int_code = regs->int_code & 0xffff;
regs              502 arch/s390/mm/fault.c 				      regs, address);
regs              506 arch/s390/mm/fault.c 				      regs, address);
regs              545 arch/s390/mm/fault.c void do_protection_exception(struct pt_regs *regs)
regs              551 arch/s390/mm/fault.c 	trans_exc_code = regs->int_parm_long;
regs              557 arch/s390/mm/fault.c 	if (!(regs->int_code & 0x200))
regs              558 arch/s390/mm/fault.c 		regs->psw.addr = __rewind_psw(regs->psw, regs->int_code >> 16);
regs              565 arch/s390/mm/fault.c 		do_low_address(regs);
regs              569 arch/s390/mm/fault.c 		regs->int_parm_long = (trans_exc_code & ~PAGE_MASK) |
regs              570 arch/s390/mm/fault.c 					(regs->psw.addr & PAGE_MASK);
regs              575 arch/s390/mm/fault.c 		fault = do_exception(regs, access);
regs              578 arch/s390/mm/fault.c 		do_fault_error(regs, access, fault);
regs              582 arch/s390/mm/fault.c void do_dat_exception(struct pt_regs *regs)
regs              588 arch/s390/mm/fault.c 	fault = do_exception(regs, access);
regs              590 arch/s390/mm/fault.c 		do_fault_error(regs, access, fault);
regs               18 arch/s390/oprofile/init.c static void s390_backtrace(struct pt_regs *regs, unsigned int depth)
regs               22 arch/s390/oprofile/init.c 	unwind_for_each_frame(&state, current, regs, 0) {
regs               84 arch/sh/boards/mach-se/7343/irq.c 	ct->regs.mask = PA_CPLD_IMSK_REG;
regs               83 arch/sh/boards/mach-se/7722/irq.c 	ct->regs.mask = IRQ01_MASK_REG;
regs               55 arch/sh/drivers/pci/pci-sh5.c 	struct pt_regs *regs = get_irq_regs();
regs               63 arch/sh/drivers/pci/pci-sh5.c 		printk("PCI INTERRUPT (at %08llx)!\n", regs->pc);
regs              117 arch/sh/include/asm/bug.h extern void die(const char *str, struct pt_regs *regs, long err) __attribute__ ((noreturn));
regs              118 arch/sh/include/asm/bug.h extern void die_if_kernel(const char *str, struct pt_regs *regs, long err);
regs              119 arch/sh/include/asm/bug.h extern void die_if_no_fixup(const char *str, struct pt_regs *regs, long err);
regs              138 arch/sh/include/asm/elf.h   do { _r->regs[0]=0; _r->regs[1]=0; _r->regs[2]=0; _r->regs[3]=0; \
regs              139 arch/sh/include/asm/elf.h        _r->regs[4]=0; _r->regs[5]=0; _r->regs[6]=0; _r->regs[7]=0; \
regs              140 arch/sh/include/asm/elf.h        _r->regs[8]=0; _r->regs[9]=0; _r->regs[10]=0; _r->regs[11]=0; \
regs              141 arch/sh/include/asm/elf.h        _r->regs[12]=0; _r->regs[13]=0; _r->regs[14]=0; _r->regs[15]=0; \
regs              142 arch/sh/include/asm/elf.h        _r->regs[16]=0; _r->regs[17]=0; _r->regs[18]=0; _r->regs[19]=0; \
regs              143 arch/sh/include/asm/elf.h        _r->regs[20]=0; _r->regs[21]=0; _r->regs[22]=0; _r->regs[23]=0; \
regs              144 arch/sh/include/asm/elf.h        _r->regs[24]=0; _r->regs[25]=0; _r->regs[26]=0; _r->regs[27]=0; \
regs              145 arch/sh/include/asm/elf.h        _r->regs[28]=0; _r->regs[29]=0; _r->regs[30]=0; _r->regs[31]=0; \
regs              146 arch/sh/include/asm/elf.h        _r->regs[32]=0; _r->regs[33]=0; _r->regs[34]=0; _r->regs[35]=0; \
regs              147 arch/sh/include/asm/elf.h        _r->regs[36]=0; _r->regs[37]=0; _r->regs[38]=0; _r->regs[39]=0; \
regs              148 arch/sh/include/asm/elf.h        _r->regs[40]=0; _r->regs[41]=0; _r->regs[42]=0; _r->regs[43]=0; \
regs              149 arch/sh/include/asm/elf.h        _r->regs[44]=0; _r->regs[45]=0; _r->regs[46]=0; _r->regs[47]=0; \
regs              150 arch/sh/include/asm/elf.h        _r->regs[48]=0; _r->regs[49]=0; _r->regs[50]=0; _r->regs[51]=0; \
regs              151 arch/sh/include/asm/elf.h        _r->regs[52]=0; _r->regs[53]=0; _r->regs[54]=0; _r->regs[55]=0; \
regs              152 arch/sh/include/asm/elf.h        _r->regs[56]=0; _r->regs[57]=0; _r->regs[58]=0; _r->regs[59]=0; \
regs              153 arch/sh/include/asm/elf.h        _r->regs[60]=0; _r->regs[61]=0; _r->regs[62]=0; \
regs              159 arch/sh/include/asm/elf.h   do { _r->regs[0]=0; _r->regs[1]=0; _r->regs[2]=0; _r->regs[3]=0; \
regs              160 arch/sh/include/asm/elf.h        _r->regs[4]=0; _r->regs[5]=0; _r->regs[6]=0; _r->regs[7]=0; \
regs              161 arch/sh/include/asm/elf.h        _r->regs[8]=0; _r->regs[9]=0; _r->regs[10]=0; _r->regs[11]=0; \
regs              162 arch/sh/include/asm/elf.h        _r->regs[12]=0; _r->regs[13]=0; _r->regs[14]=0; \
regs              168 arch/sh/include/asm/elf.h 	_r->regs[0]	= 0;						\
regs              169 arch/sh/include/asm/elf.h 	_r->regs[1]	= 0;						\
regs              170 arch/sh/include/asm/elf.h 	_r->regs[2]	= 0;						\
regs              171 arch/sh/include/asm/elf.h 	_r->regs[3]	= 0;						\
regs              172 arch/sh/include/asm/elf.h 	_r->regs[4]	= 0;						\
regs              173 arch/sh/include/asm/elf.h 	_r->regs[5]	= 0;						\
regs              174 arch/sh/include/asm/elf.h 	_r->regs[6]	= 0;						\
regs              175 arch/sh/include/asm/elf.h 	_r->regs[7]	= 0;						\
regs              176 arch/sh/include/asm/elf.h 	_r->regs[8]	= _exec_map_addr;				\
regs              177 arch/sh/include/asm/elf.h 	_r->regs[9]	= _interp_map_addr;				\
regs              178 arch/sh/include/asm/elf.h 	_r->regs[10]	= _dynamic_addr;				\
regs              179 arch/sh/include/asm/elf.h 	_r->regs[11]	= 0;						\
regs              180 arch/sh/include/asm/elf.h 	_r->regs[12]	= 0;						\
regs              181 arch/sh/include/asm/elf.h 	_r->regs[13]	= 0;						\
regs              182 arch/sh/include/asm/elf.h 	_r->regs[14]	= 0;						\
regs               27 arch/sh/include/asm/flat.h   do { _r->regs[0]=0; _r->regs[1]=0; _r->regs[2]=0; _r->regs[3]=0; \
regs               28 arch/sh/include/asm/flat.h        _r->regs[4]=0; _r->regs[5]=0; _r->regs[6]=0; _r->regs[7]=0; \
regs               29 arch/sh/include/asm/flat.h        _r->regs[8]=0; _r->regs[9]=0; _r->regs[10]=0; _r->regs[11]=0; \
regs               30 arch/sh/include/asm/flat.h        _r->regs[12]=0; _r->regs[13]=0; _r->regs[14]=0; \
regs               12 arch/sh/include/asm/fpu.h static inline void release_fpu(struct pt_regs *regs)
regs               14 arch/sh/include/asm/fpu.h 	regs->sr |= SR_FD;
regs               17 arch/sh/include/asm/fpu.h static inline void grab_fpu(struct pt_regs *regs)
regs               19 arch/sh/include/asm/fpu.h 	regs->sr &= ~SR_FD;
regs               24 arch/sh/include/asm/fpu.h extern void fpu_state_restore(struct pt_regs *regs);
regs               29 arch/sh/include/asm/fpu.h #define release_fpu(regs)		do { } while (0)
regs               30 arch/sh/include/asm/fpu.h #define grab_fpu(regs)			do { } while (0)
regs               31 arch/sh/include/asm/fpu.h #define fpu_state_restore(regs)		do { } while (0)
regs               32 arch/sh/include/asm/fpu.h #define __fpu_state_restore(regs)	do { } while (0)
regs               45 arch/sh/include/asm/fpu.h static inline void __unlazy_fpu(struct task_struct *tsk, struct pt_regs *regs)
regs               50 arch/sh/include/asm/fpu.h 		release_fpu(regs);
regs               55 arch/sh/include/asm/fpu.h static inline void unlazy_fpu(struct task_struct *tsk, struct pt_regs *regs)
regs               58 arch/sh/include/asm/fpu.h 	__unlazy_fpu(tsk, regs);
regs               62 arch/sh/include/asm/fpu.h static inline void clear_fpu(struct task_struct *tsk, struct pt_regs *regs)
regs               67 arch/sh/include/asm/fpu.h 		release_fpu(regs);
regs               22 arch/sh/include/asm/io_trapped.h int handle_trapped_io(struct pt_regs *regs, unsigned long address);
regs               49 arch/sh/include/asm/irq.h asmlinkage int do_IRQ(unsigned int irq, struct pt_regs *regs);
regs               41 arch/sh/include/asm/kexec.h 		__asm__ __volatile__ ("mov r0, %0" : "=r" (newregs->regs[0]));
regs               42 arch/sh/include/asm/kexec.h 		__asm__ __volatile__ ("mov r1, %0" : "=r" (newregs->regs[1]));
regs               43 arch/sh/include/asm/kexec.h 		__asm__ __volatile__ ("mov r2, %0" : "=r" (newregs->regs[2]));
regs               44 arch/sh/include/asm/kexec.h 		__asm__ __volatile__ ("mov r3, %0" : "=r" (newregs->regs[3]));
regs               45 arch/sh/include/asm/kexec.h 		__asm__ __volatile__ ("mov r4, %0" : "=r" (newregs->regs[4]));
regs               46 arch/sh/include/asm/kexec.h 		__asm__ __volatile__ ("mov r5, %0" : "=r" (newregs->regs[5]));
regs               47 arch/sh/include/asm/kexec.h 		__asm__ __volatile__ ("mov r6, %0" : "=r" (newregs->regs[6]));
regs               48 arch/sh/include/asm/kexec.h 		__asm__ __volatile__ ("mov r7, %0" : "=r" (newregs->regs[7]));
regs               49 arch/sh/include/asm/kexec.h 		__asm__ __volatile__ ("mov r8, %0" : "=r" (newregs->regs[8]));
regs               50 arch/sh/include/asm/kexec.h 		__asm__ __volatile__ ("mov r9, %0" : "=r" (newregs->regs[9]));
regs               51 arch/sh/include/asm/kexec.h 		__asm__ __volatile__ ("mov r10, %0" : "=r" (newregs->regs[10]));
regs               52 arch/sh/include/asm/kexec.h 		__asm__ __volatile__ ("mov r11, %0" : "=r" (newregs->regs[11]));
regs               53 arch/sh/include/asm/kexec.h 		__asm__ __volatile__ ("mov r12, %0" : "=r" (newregs->regs[12]));
regs               54 arch/sh/include/asm/kexec.h 		__asm__ __volatile__ ("mov r13, %0" : "=r" (newregs->regs[13]));
regs               55 arch/sh/include/asm/kexec.h 		__asm__ __volatile__ ("mov r14, %0" : "=r" (newregs->regs[14]));
regs               56 arch/sh/include/asm/kexec.h 		__asm__ __volatile__ ("mov r15, %0" : "=r" (newregs->regs[15]));
regs               48 arch/sh/include/asm/kprobes.h extern int kprobe_fault_handler(struct pt_regs *regs, int trapnr);
regs              129 arch/sh/include/asm/processor_32.h extern void start_thread(struct pt_regs *regs, unsigned long new_pc, unsigned long new_sp);
regs              174 arch/sh/include/asm/processor_32.h 		struct pt_regs *regs);
regs              177 arch/sh/include/asm/processor_32.h void show_code(struct pt_regs *regs);
regs              179 arch/sh/include/asm/processor_32.h static inline void show_code(struct pt_regs *regs)
regs              187 arch/sh/include/asm/processor_32.h #define KSTK_ESP(tsk)  (task_pt_regs(tsk)->regs[15])
regs              145 arch/sh/include/asm/processor_64.h 	_regs->regs[18] = 0;					\
regs              146 arch/sh/include/asm/processor_64.h 	_regs->regs[15] = new_sp
regs               16 arch/sh/include/asm/ptrace.h #define user_mode(regs)			(((regs)->sr & 0x40000000)==0)
regs               17 arch/sh/include/asm/ptrace.h #define kernel_stack_pointer(_regs)	((unsigned long)(_regs)->regs[15])
regs               19 arch/sh/include/asm/ptrace.h static inline unsigned long instruction_pointer(struct pt_regs *regs)
regs               21 arch/sh/include/asm/ptrace.h 	return regs->pc;
regs               23 arch/sh/include/asm/ptrace.h static inline void instruction_pointer_set(struct pt_regs *regs,
regs               26 arch/sh/include/asm/ptrace.h 	regs->pc = val;
regs               29 arch/sh/include/asm/ptrace.h static inline unsigned long frame_pointer(struct pt_regs *regs)
regs               31 arch/sh/include/asm/ptrace.h 	return regs->regs[14];
regs               34 arch/sh/include/asm/ptrace.h static inline unsigned long user_stack_pointer(struct pt_regs *regs)
regs               36 arch/sh/include/asm/ptrace.h 	return regs->regs[15];
regs               39 arch/sh/include/asm/ptrace.h static inline void user_stack_pointer_set(struct pt_regs *regs,
regs               42 arch/sh/include/asm/ptrace.h 	regs->regs[15] = val;
regs               57 arch/sh/include/asm/ptrace.h 	{.name = __stringify(r##num), .offset = offsetof(struct pt_regs, regs[num])}
regs               77 arch/sh/include/asm/ptrace.h static inline unsigned long regs_get_register(struct pt_regs *regs,
regs               82 arch/sh/include/asm/ptrace.h 	return *(unsigned long *)((unsigned long)regs + offset);
regs               93 arch/sh/include/asm/ptrace.h static inline int regs_within_kernel_stack(struct pt_regs *regs,
regs               97 arch/sh/include/asm/ptrace.h 		(kernel_stack_pointer(regs) & ~(THREAD_SIZE - 1)));
regs              109 arch/sh/include/asm/ptrace.h static inline unsigned long regs_get_kernel_stack_nth(struct pt_regs *regs,
regs              112 arch/sh/include/asm/ptrace.h 	unsigned long *addr = (unsigned long *)kernel_stack_pointer(regs);
regs              114 arch/sh/include/asm/ptrace.h 	if (regs_within_kernel_stack(regs, (unsigned long)addr))
regs              124 arch/sh/include/asm/ptrace.h 		      struct perf_sample_data *data, struct pt_regs *regs);
regs              129 arch/sh/include/asm/ptrace.h static inline unsigned long profile_pc(struct pt_regs *regs)
regs              131 arch/sh/include/asm/ptrace.h 	unsigned long pc = regs->pc;
regs                9 arch/sh/include/asm/ptrace_32.h static inline long regs_return_value(struct pt_regs *regs)
regs               11 arch/sh/include/asm/ptrace_32.h 	return regs->regs[0];
regs                9 arch/sh/include/asm/ptrace_64.h static inline long regs_return_value(struct pt_regs *regs)
regs               11 arch/sh/include/asm/ptrace_64.h 	return regs->regs[3];
regs               20 arch/sh/include/asm/reboot.h void native_machine_crash_shutdown(struct pt_regs *regs);
regs               19 arch/sh/include/asm/stacktrace.h void dump_trace(struct task_struct *tsk, struct pt_regs *regs,
regs               24 arch/sh/include/asm/switch_to_64.h 		struct pt_regs *regs = next->thread.uregs;	\
regs               25 arch/sh/include/asm/switch_to_64.h 		if (regs) regs->sr |= SR_FD;			\
regs               13 arch/sh/include/asm/syscall_32.h 				  struct pt_regs *regs)
regs               15 arch/sh/include/asm/syscall_32.h 	return (regs->tra >= 0) ? regs->regs[3] : -1L;
regs               19 arch/sh/include/asm/syscall_32.h 				    struct pt_regs *regs)
regs               28 arch/sh/include/asm/syscall_32.h 				     struct pt_regs *regs)
regs               30 arch/sh/include/asm/syscall_32.h 	return IS_ERR_VALUE(regs->regs[0]) ? regs->regs[0] : 0;
regs               34 arch/sh/include/asm/syscall_32.h 					    struct pt_regs *regs)
regs               36 arch/sh/include/asm/syscall_32.h 	return regs->regs[0];
regs               40 arch/sh/include/asm/syscall_32.h 					    struct pt_regs *regs,
regs               44 arch/sh/include/asm/syscall_32.h 		regs->regs[0] = -error;
regs               46 arch/sh/include/asm/syscall_32.h 		regs->regs[0] = val;
regs               50 arch/sh/include/asm/syscall_32.h 					 struct pt_regs *regs,
regs               55 arch/sh/include/asm/syscall_32.h 	args[5] = regs->regs[1];
regs               56 arch/sh/include/asm/syscall_32.h 	args[4] = regs->regs[0];
regs               57 arch/sh/include/asm/syscall_32.h 	args[3] = regs->regs[7];
regs               58 arch/sh/include/asm/syscall_32.h 	args[2] = regs->regs[6];
regs               59 arch/sh/include/asm/syscall_32.h 	args[1] = regs->regs[5];
regs               60 arch/sh/include/asm/syscall_32.h 	args[0] = regs->regs[4];
regs               64 arch/sh/include/asm/syscall_32.h 					 struct pt_regs *regs,
regs               67 arch/sh/include/asm/syscall_32.h 	regs->regs[1] = args[5];
regs               68 arch/sh/include/asm/syscall_32.h 	regs->regs[0] = args[4];
regs               69 arch/sh/include/asm/syscall_32.h 	regs->regs[7] = args[3];
regs               70 arch/sh/include/asm/syscall_32.h 	regs->regs[6] = args[2];
regs               71 arch/sh/include/asm/syscall_32.h 	regs->regs[5] = args[1];
regs               72 arch/sh/include/asm/syscall_32.h 	regs->regs[4] = args[0];
regs               12 arch/sh/include/asm/syscall_64.h 				  struct pt_regs *regs)
regs               14 arch/sh/include/asm/syscall_64.h 	return (regs->syscall_nr >= 0) ? regs->regs[9] : -1L;
regs               18 arch/sh/include/asm/syscall_64.h 				    struct pt_regs *regs)
regs               27 arch/sh/include/asm/syscall_64.h 				     struct pt_regs *regs)
regs               29 arch/sh/include/asm/syscall_64.h 	return IS_ERR_VALUE(regs->regs[9]) ? regs->regs[9] : 0;
regs               33 arch/sh/include/asm/syscall_64.h 					    struct pt_regs *regs)
regs               35 arch/sh/include/asm/syscall_64.h 	return regs->regs[9];
regs               39 arch/sh/include/asm/syscall_64.h 					    struct pt_regs *regs,
regs               43 arch/sh/include/asm/syscall_64.h 		regs->regs[9] = -error;
regs               45 arch/sh/include/asm/syscall_64.h 		regs->regs[9] = val;
regs               49 arch/sh/include/asm/syscall_64.h 					 struct pt_regs *regs,
regs               52 arch/sh/include/asm/syscall_64.h 	memcpy(args, &regs->regs[2], 6 * sizeof(args[0]));
regs               56 arch/sh/include/asm/syscall_64.h 					 struct pt_regs *regs,
regs               59 arch/sh/include/asm/syscall_64.h 	memcpy(&regs->regs[2], args, 6 * sizeof(args[0]));
regs               24 arch/sh/include/asm/syscalls_32.h asmlinkage long do_syscall_trace_enter(struct pt_regs *regs);
regs               25 arch/sh/include/asm/syscalls_32.h asmlinkage void do_syscall_trace_leave(struct pt_regs *regs);
regs               26 arch/sh/include/asm/syscalls_32.h asmlinkage void do_notify_resume(struct pt_regs *regs, unsigned int save_r0,
regs               14 arch/sh/include/asm/syscalls_64.h asmlinkage long long do_syscall_trace_enter(struct pt_regs *regs);
regs               15 arch/sh/include/asm/syscalls_64.h asmlinkage void do_syscall_trace_leave(struct pt_regs *regs);
regs               43 arch/sh/include/asm/traps_32.h asmlinkage void do_address_error(struct pt_regs *regs,
regs               57 arch/sh/include/asm/traps_32.h 	struct pt_regs *regs = RELOC_HIDE(&__regs, 0);	\
regs               58 arch/sh/include/asm/traps_32.h 	unsigned int vec = regs->tra;			\
regs               32 arch/sh/include/asm/traps_64.h asmlinkage void name##_trap_handler(unsigned int vec, struct pt_regs *regs)
regs              156 arch/sh/include/asm/uaccess.h int handle_unaligned_access(insn_size_t instruction, struct pt_regs *regs,
regs               46 arch/sh/include/asm/user.h 	struct pt_regs	regs;			/* entire machine state */
regs               46 arch/sh/include/uapi/asm/ptrace_32.h 	unsigned long regs[16];
regs                9 arch/sh/include/uapi/asm/ptrace_64.h 	unsigned long long regs[63];
regs               54 arch/sh/kernel/cpu/fpu.c void fpu_state_restore(struct pt_regs *regs)
regs               58 arch/sh/kernel/cpu/fpu.c 	if (unlikely(!user_mode(regs))) {
regs               79 arch/sh/kernel/cpu/fpu.c 	grab_fpu(regs);
regs               88 arch/sh/kernel/cpu/fpu.c 	fpu_state_restore(regs);
regs               82 arch/sh/kernel/cpu/sh2/smp-j2.c 	u32 regs[2];
regs               90 arch/sh/kernel/cpu/sh2/smp-j2.c 	if (of_property_read_u32_array(np, "cpu-release-addr", regs, 2)) return;
regs               91 arch/sh/kernel/cpu/sh2/smp-j2.c 	release = ioremap_nocache(regs[0], sizeof(u32));
regs               92 arch/sh/kernel/cpu/sh2/smp-j2.c 	initpc = ioremap_nocache(regs[1], sizeof(u32));
regs              406 arch/sh/kernel/cpu/sh2a/fpu.c ieee_fpe_handler (struct pt_regs *regs)
regs              408 arch/sh/kernel/cpu/sh2a/fpu.c 	unsigned short insn = *(unsigned short *) regs->pc;
regs              419 arch/sh/kernel/cpu/sh2a/fpu.c 		regs->pr = regs->pc + 4;
regs              421 arch/sh/kernel/cpu/sh2a/fpu.c 		nextpc = regs->pc + 4 + ((short) ((insn & 0xfff) << 4) >> 3);
regs              422 arch/sh/kernel/cpu/sh2a/fpu.c 		finsn = *(unsigned short *) (regs->pc + 2);
regs              424 arch/sh/kernel/cpu/sh2a/fpu.c 		if (regs->sr & 1)
regs              425 arch/sh/kernel/cpu/sh2a/fpu.c 			nextpc = regs->pc + 4 + ((char) (insn & 0xff) << 1);
regs              427 arch/sh/kernel/cpu/sh2a/fpu.c 			nextpc = regs->pc + 4;
regs              428 arch/sh/kernel/cpu/sh2a/fpu.c 		finsn = *(unsigned short *) (regs->pc + 2);
regs              430 arch/sh/kernel/cpu/sh2a/fpu.c 		if (regs->sr & 1)
regs              431 arch/sh/kernel/cpu/sh2a/fpu.c 			nextpc = regs->pc + 4;
regs              433 arch/sh/kernel/cpu/sh2a/fpu.c 			nextpc = regs->pc + 4 + ((char) (insn & 0xff) << 1);
regs              434 arch/sh/kernel/cpu/sh2a/fpu.c 		finsn = *(unsigned short *) (regs->pc + 2);
regs              437 arch/sh/kernel/cpu/sh2a/fpu.c 		nextpc = regs->regs[nib[1]];
regs              438 arch/sh/kernel/cpu/sh2a/fpu.c 		finsn = *(unsigned short *) (regs->pc + 2);
regs              441 arch/sh/kernel/cpu/sh2a/fpu.c 		nextpc = regs->pc + 4 + regs->regs[nib[1]];
regs              442 arch/sh/kernel/cpu/sh2a/fpu.c 		finsn = *(unsigned short *) (regs->pc + 2);
regs              444 arch/sh/kernel/cpu/sh2a/fpu.c 		nextpc = regs->pr;
regs              445 arch/sh/kernel/cpu/sh2a/fpu.c 		finsn = *(unsigned short *) (regs->pc + 2);
regs              447 arch/sh/kernel/cpu/sh2a/fpu.c 		nextpc = regs->pc + 2;
regs              463 arch/sh/kernel/cpu/sh2a/fpu.c 		regs->pc = nextpc;
regs              506 arch/sh/kernel/cpu/sh2a/fpu.c 		regs->pc = nextpc;
regs              549 arch/sh/kernel/cpu/sh2a/fpu.c 		regs->pc = nextpc;
regs              561 arch/sh/kernel/cpu/sh2a/fpu.c 	__unlazy_fpu(tsk, regs);
regs              562 arch/sh/kernel/cpu/sh2a/fpu.c 	if (ieee_fpe_handler(regs)) {
regs              565 arch/sh/kernel/cpu/sh2a/fpu.c 		grab_fpu(regs);
regs              174 arch/sh/kernel/cpu/sh4/fpu.c static int ieee_fpe_handler(struct pt_regs *regs)
regs              176 arch/sh/kernel/cpu/sh4/fpu.c 	unsigned short insn = *(unsigned short *)regs->pc;
regs              187 arch/sh/kernel/cpu/sh4/fpu.c 		regs->pr = regs->pc + 4;  /* bsr & jsr */
regs              191 arch/sh/kernel/cpu/sh4/fpu.c 		nextpc = regs->pc + 4 + ((short)((insn & 0xfff) << 4) >> 3);
regs              192 arch/sh/kernel/cpu/sh4/fpu.c 		finsn = *(unsigned short *)(regs->pc + 2);
regs              195 arch/sh/kernel/cpu/sh4/fpu.c 		if (regs->sr & 1)
regs              196 arch/sh/kernel/cpu/sh4/fpu.c 			nextpc = regs->pc + 4 + ((char)(insn & 0xff) << 1);
regs              198 arch/sh/kernel/cpu/sh4/fpu.c 			nextpc = regs->pc + 4;
regs              199 arch/sh/kernel/cpu/sh4/fpu.c 		finsn = *(unsigned short *)(regs->pc + 2);
regs              202 arch/sh/kernel/cpu/sh4/fpu.c 		if (regs->sr & 1)
regs              203 arch/sh/kernel/cpu/sh4/fpu.c 			nextpc = regs->pc + 4;
regs              205 arch/sh/kernel/cpu/sh4/fpu.c 			nextpc = regs->pc + 4 + ((char)(insn & 0xff) << 1);
regs              206 arch/sh/kernel/cpu/sh4/fpu.c 		finsn = *(unsigned short *)(regs->pc + 2);
regs              210 arch/sh/kernel/cpu/sh4/fpu.c 		nextpc = regs->regs[nib[1]];
regs              211 arch/sh/kernel/cpu/sh4/fpu.c 		finsn = *(unsigned short *)(regs->pc + 2);
regs              215 arch/sh/kernel/cpu/sh4/fpu.c 		nextpc = regs->pc + 4 + regs->regs[nib[1]];
regs              216 arch/sh/kernel/cpu/sh4/fpu.c 		finsn = *(unsigned short *)(regs->pc + 2);
regs              219 arch/sh/kernel/cpu/sh4/fpu.c 		nextpc = regs->pr;
regs              220 arch/sh/kernel/cpu/sh4/fpu.c 		finsn = *(unsigned short *)(regs->pc + 2);
regs              222 arch/sh/kernel/cpu/sh4/fpu.c 		nextpc = regs->pc + instruction_size(insn);
regs              237 arch/sh/kernel/cpu/sh4/fpu.c 		regs->pc = nextpc;
regs              275 arch/sh/kernel/cpu/sh4/fpu.c 		regs->pc = nextpc;
regs              319 arch/sh/kernel/cpu/sh4/fpu.c 		regs->pc = nextpc;
regs              359 arch/sh/kernel/cpu/sh4/fpu.c 		regs->pc = nextpc;
regs              382 arch/sh/kernel/cpu/sh4/fpu.c 		regs->pc = nextpc;
regs              406 arch/sh/kernel/cpu/sh4/fpu.c 	__unlazy_fpu(tsk, regs);
regs              408 arch/sh/kernel/cpu/sh4/fpu.c 	if (ieee_fpe_handler(regs)) {
regs              415 arch/sh/kernel/cpu/sh4/fpu.c 		grab_fpu(regs);
regs              101 arch/sh/kernel/cpu/sh5/fpu.c asmlinkage void do_fpu_error(unsigned long ex, struct pt_regs *regs)
regs              103 arch/sh/kernel/cpu/sh5/fpu.c 	regs->pc += 4;
regs               45 arch/sh/kernel/cpu/sh5/unwind.c 		      struct pt_regs *regs)
regs              214 arch/sh/kernel/cpu/sh5/unwind.c 			      void *data, struct pt_regs *regs);
regs              225 arch/sh/kernel/cpu/sh5/unwind.c 			      void *data, struct pt_regs *regs)
regs              231 arch/sh/kernel/cpu/sh5/unwind.c 	pc = regs->pc & ~1;
regs              232 arch/sh/kernel/cpu/sh5/unwind.c 	fp = regs->regs[14];
regs              276 arch/sh/kernel/cpu/sh5/unwind.c 			next_pc = regs->regs[18];
regs              281 arch/sh/kernel/cpu/sh5/unwind.c 		if (lookup_prev_stack_frame(fp, pc, &next_fp, &next_pc, regs) == 0) {
regs              296 arch/sh/kernel/cpu/sh5/unwind.c 			       struct pt_regs *regs,
regs              301 arch/sh/kernel/cpu/sh5/unwind.c 	if (!regs) {
regs              306 arch/sh/kernel/cpu/sh5/unwind.c 		regs = &here_regs;
regs              308 arch/sh/kernel/cpu/sh5/unwind.c 		__asm__ __volatile__ ("ori r14, 0, %0" : "=r" (regs->regs[14]));
regs              309 arch/sh/kernel/cpu/sh5/unwind.c 		__asm__ __volatile__ ("ori r15, 0, %0" : "=r" (regs->regs[15]));
regs              310 arch/sh/kernel/cpu/sh5/unwind.c 		__asm__ __volatile__ ("ori r18, 0, %0" : "=r" (regs->regs[18]));
regs              312 arch/sh/kernel/cpu/sh5/unwind.c 		__asm__ __volatile__ ("gettr tr0, %0" : "=r" (regs->tregs[0]));
regs              313 arch/sh/kernel/cpu/sh5/unwind.c 		__asm__ __volatile__ ("gettr tr1, %0" : "=r" (regs->tregs[1]));
regs              314 arch/sh/kernel/cpu/sh5/unwind.c 		__asm__ __volatile__ ("gettr tr2, %0" : "=r" (regs->tregs[2]));
regs              315 arch/sh/kernel/cpu/sh5/unwind.c 		__asm__ __volatile__ ("gettr tr3, %0" : "=r" (regs->tregs[3]));
regs              316 arch/sh/kernel/cpu/sh5/unwind.c 		__asm__ __volatile__ ("gettr tr4, %0" : "=r" (regs->tregs[4]));
regs              317 arch/sh/kernel/cpu/sh5/unwind.c 		__asm__ __volatile__ ("gettr tr5, %0" : "=r" (regs->tregs[5]));
regs              318 arch/sh/kernel/cpu/sh5/unwind.c 		__asm__ __volatile__ ("gettr tr6, %0" : "=r" (regs->tregs[6]));
regs              319 arch/sh/kernel/cpu/sh5/unwind.c 		__asm__ __volatile__ ("gettr tr7, %0" : "=r" (regs->tregs[7]));
regs              325 arch/sh/kernel/cpu/sh5/unwind.c 			: "=r" (regs->pc)
regs              329 arch/sh/kernel/cpu/sh5/unwind.c 	sh64_unwind_inner(ops, data, regs);
regs              547 arch/sh/kernel/disassemble.c void show_code(struct pt_regs *regs)
regs              549 arch/sh/kernel/disassemble.c 	unsigned short *pc = (unsigned short *)regs->pc;
regs              552 arch/sh/kernel/disassemble.c 	if (regs->pc & 0x1)
regs               87 arch/sh/kernel/dumpstack.c stack_reader_dump(struct task_struct *task, struct pt_regs *regs,
regs              130 arch/sh/kernel/dumpstack.c 		struct pt_regs *regs)
regs              132 arch/sh/kernel/dumpstack.c 	if (regs && user_mode(regs))
regs              137 arch/sh/kernel/dumpstack.c 	unwind_stack(tsk, regs, sp, &print_trace_ops, "");
regs              958 arch/sh/kernel/dwarf.c 				struct pt_regs *regs,
regs              337 arch/sh/kernel/hw_breakpoint.c 		perf_bp_event(bp, args->regs);
regs              363 arch/sh/kernel/hw_breakpoint.c 	notify_die(DIE_BREAKPOINT, "breakpoint", regs, 0, ex, SIGTRAP);
regs              268 arch/sh/kernel/io_trapped.c int handle_trapped_io(struct pt_regs *regs, unsigned long address)
regs              279 arch/sh/kernel/io_trapped.c 	WARN_ON(user_mode(regs));
regs              283 arch/sh/kernel/io_trapped.c 	if (copy_from_user(&instruction, (void *)(regs->pc),
regs              289 arch/sh/kernel/io_trapped.c 	tmp = handle_unaligned_access(instruction, regs,
regs              185 arch/sh/kernel/irq.c asmlinkage __irq_entry int do_IRQ(unsigned int irq, struct pt_regs *regs)
regs              187 arch/sh/kernel/irq.c 	struct pt_regs *old_regs = set_irq_regs(regs);
regs               91 arch/sh/kernel/kgdb.c 		    + linux_regs->regs[OPCODE_BRAF_REG(op)];
regs              100 arch/sh/kernel/kgdb.c 		    + linux_regs->regs[OPCODE_BSRF_REG(op)];
regs              104 arch/sh/kernel/kgdb.c 		addr = linux_regs->regs[OPCODE_JMP_REG(op)];
regs              108 arch/sh/kernel/kgdb.c 		addr = linux_regs->regs[OPCODE_JSR_REG(op)];
regs              116 arch/sh/kernel/kgdb.c 		addr = linux_regs->regs[15];
regs              168 arch/sh/kernel/kgdb.c 	{ "r0",		GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[0]) },
regs              169 arch/sh/kernel/kgdb.c 	{ "r1",		GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[1]) },
regs              170 arch/sh/kernel/kgdb.c 	{ "r2",		GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[2]) },
regs              171 arch/sh/kernel/kgdb.c 	{ "r3",		GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[3]) },
regs              172 arch/sh/kernel/kgdb.c 	{ "r4",		GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[4]) },
regs              173 arch/sh/kernel/kgdb.c 	{ "r5",		GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[5]) },
regs              174 arch/sh/kernel/kgdb.c 	{ "r6",		GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[6]) },
regs              175 arch/sh/kernel/kgdb.c 	{ "r7",		GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[7]) },
regs              176 arch/sh/kernel/kgdb.c 	{ "r8",		GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[8]) },
regs              177 arch/sh/kernel/kgdb.c 	{ "r9",		GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[9]) },
regs              178 arch/sh/kernel/kgdb.c 	{ "r10",	GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[10]) },
regs              179 arch/sh/kernel/kgdb.c 	{ "r11",	GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[11]) },
regs              180 arch/sh/kernel/kgdb.c 	{ "r12",	GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[12]) },
regs              181 arch/sh/kernel/kgdb.c 	{ "r13",	GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[13]) },
regs              182 arch/sh/kernel/kgdb.c 	{ "r14",	GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[14]) },
regs              183 arch/sh/kernel/kgdb.c 	{ "r15",	GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[15]) },
regs              193 arch/sh/kernel/kgdb.c int dbg_set_reg(int regno, void *mem, struct pt_regs *regs)
regs              199 arch/sh/kernel/kgdb.c 		memcpy((void *)regs + dbg_reg_def[regno].offset, mem,
regs              205 arch/sh/kernel/kgdb.c char *dbg_get_reg(int regno, void *mem, struct pt_regs *regs)
regs              211 arch/sh/kernel/kgdb.c 		memcpy(mem, (void *)regs + dbg_reg_def[regno].offset,
regs              240 arch/sh/kernel/kgdb.c 		gdb_regs[reg] = thread_regs->regs[reg];
regs              288 arch/sh/kernel/kgdb.c unsigned long kgdb_arch_pc(int exception, struct pt_regs *regs)
regs              291 arch/sh/kernel/kgdb.c 		return instruction_pointer(regs) - 2;
regs              292 arch/sh/kernel/kgdb.c 	return instruction_pointer(regs);
regs              295 arch/sh/kernel/kgdb.c void kgdb_arch_set_pc(struct pt_regs *regs, unsigned long ip)
regs              297 arch/sh/kernel/kgdb.c 	regs->pc = ip;
regs              309 arch/sh/kernel/kgdb.c 	regs->pc -= instruction_size(__raw_readw(regs->pc - 4));
regs              310 arch/sh/kernel/kgdb.c 	kgdb_handle_exception(0, SIGTRAP, 0, regs);
regs              328 arch/sh/kernel/kgdb.c 					    args->err, args->regs);
regs              133 arch/sh/kernel/kprobes.c static void __kprobes set_current_kprobe(struct kprobe *p, struct pt_regs *regs,
regs              144 arch/sh/kernel/kprobes.c static void __kprobes prepare_singlestep(struct kprobe *p, struct pt_regs *regs)
regs              146 arch/sh/kernel/kprobes.c 	__this_cpu_write(saved_current_opcode.addr, (kprobe_opcode_t *)regs->pc);
regs              158 arch/sh/kernel/kprobes.c 			op1->addr = (kprobe_opcode_t *) regs->regs[reg_nr];
regs              162 arch/sh/kernel/kprobes.c 			    (kprobe_opcode_t *) (regs->pc + 4 + disp * 2);
regs              167 arch/sh/kernel/kprobes.c 			    (kprobe_opcode_t *) (regs->pc + 4 +
regs              168 arch/sh/kernel/kprobes.c 						 regs->regs[reg_nr]);
regs              171 arch/sh/kernel/kprobes.c 			op1->addr = (kprobe_opcode_t *) regs->pr;
regs              179 arch/sh/kernel/kprobes.c 			    (kprobe_opcode_t *) (regs->pc + 4 + disp * 2);
regs              189 arch/sh/kernel/kprobes.c 			    (kprobe_opcode_t *) (regs->pc + 4 + disp * 2);
regs              204 arch/sh/kernel/kprobes.c 				      struct pt_regs *regs)
regs              206 arch/sh/kernel/kprobes.c 	ri->ret_addr = (kprobe_opcode_t *) regs->pr;
regs              209 arch/sh/kernel/kprobes.c 	regs->pr = (unsigned long)kretprobe_trampoline;
regs              212 arch/sh/kernel/kprobes.c static int __kprobes kprobe_handler(struct pt_regs *regs)
regs              226 arch/sh/kernel/kprobes.c 	addr = (kprobe_opcode_t *) (regs->pc);
regs              243 arch/sh/kernel/kprobes.c 			set_current_kprobe(p, regs, kcb);
regs              245 arch/sh/kernel/kprobes.c 			prepare_singlestep(p, regs);
regs              269 arch/sh/kernel/kprobes.c 	set_current_kprobe(p, regs, kcb);
regs              272 arch/sh/kernel/kprobes.c 	if (p->pre_handler && p->pre_handler(p, regs)) {
regs              279 arch/sh/kernel/kprobes.c 	prepare_singlestep(p, regs);
regs              303 arch/sh/kernel/kprobes.c int __kprobes trampoline_probe_handler(struct kprobe *p, struct pt_regs *regs)
regs              334 arch/sh/kernel/kprobes.c 			ri->rp->handler(ri, regs);
regs              352 arch/sh/kernel/kprobes.c 	regs->pc = orig_ret_address;
regs              363 arch/sh/kernel/kprobes.c static int __kprobes post_kprobe_handler(struct pt_regs *regs)
regs              375 arch/sh/kernel/kprobes.c 		cur->post_handler(cur, regs, 0);
regs              412 arch/sh/kernel/kprobes.c int __kprobes kprobe_fault_handler(struct pt_regs *regs, int trapnr)
regs              428 arch/sh/kernel/kprobes.c 		regs->pc = (unsigned long)cur->addr;
regs              451 arch/sh/kernel/kprobes.c 		if (cur->fault_handler && cur->fault_handler(cur, regs, trapnr))
regs              458 arch/sh/kernel/kprobes.c 		if ((entry = search_exception_tables(regs->pc)) != NULL) {
regs              459 arch/sh/kernel/kprobes.c 			regs->pc = entry->fixup;
regs              487 arch/sh/kernel/kprobes.c 	addr = (kprobe_opcode_t *) (args->regs->pc);
regs              491 arch/sh/kernel/kprobes.c 			if (kprobe_handler(args->regs)) {
regs              501 arch/sh/kernel/kprobes.c 				if (post_kprobe_handler(args->regs))
regs              504 arch/sh/kernel/kprobes.c 				if (kprobe_handler(args->regs))
regs               33 arch/sh/kernel/machine_kexec.c void native_machine_crash_shutdown(struct pt_regs *regs)
regs               32 arch/sh/kernel/nmi_debug.c 		show_regs(args->regs);
regs               33 arch/sh/kernel/perf_callchain.c perf_callchain_kernel(struct perf_callchain_entry_ctx *entry, struct pt_regs *regs)
regs               35 arch/sh/kernel/perf_callchain.c 	perf_callchain_store(entry, regs->pc);
regs               37 arch/sh/kernel/perf_callchain.c 	unwind_stack(NULL, regs, NULL, &callchain_ops, entry);
regs               31 arch/sh/kernel/process_32.c void show_regs(struct pt_regs * regs)
regs               36 arch/sh/kernel/process_32.c 	printk("PC is at %pS\n", (void *)instruction_pointer(regs));
regs               37 arch/sh/kernel/process_32.c 	printk("PR is at %pS\n", (void *)regs->pr);
regs               40 arch/sh/kernel/process_32.c 	       regs->pc, regs->regs[15], regs->sr);
regs               48 arch/sh/kernel/process_32.c 	       regs->regs[0],regs->regs[1],
regs               49 arch/sh/kernel/process_32.c 	       regs->regs[2],regs->regs[3]);
regs               51 arch/sh/kernel/process_32.c 	       regs->regs[4],regs->regs[5],
regs               52 arch/sh/kernel/process_32.c 	       regs->regs[6],regs->regs[7]);
regs               54 arch/sh/kernel/process_32.c 	       regs->regs[8],regs->regs[9],
regs               55 arch/sh/kernel/process_32.c 	       regs->regs[10],regs->regs[11]);
regs               57 arch/sh/kernel/process_32.c 	       regs->regs[12],regs->regs[13],
regs               58 arch/sh/kernel/process_32.c 	       regs->regs[14]);
regs               60 arch/sh/kernel/process_32.c 	       regs->mach, regs->macl, regs->gbr, regs->pr);
regs               62 arch/sh/kernel/process_32.c 	show_trace(NULL, (unsigned long *)regs->regs[15], regs);
regs               63 arch/sh/kernel/process_32.c 	show_code(regs);
regs               66 arch/sh/kernel/process_32.c void start_thread(struct pt_regs *regs, unsigned long new_pc,
regs               69 arch/sh/kernel/process_32.c 	regs->pr = 0;
regs               70 arch/sh/kernel/process_32.c 	regs->sr = SR_FD;
regs               71 arch/sh/kernel/process_32.c 	regs->pc = new_pc;
regs               72 arch/sh/kernel/process_32.c 	regs->regs[15] = new_sp;
regs               97 arch/sh/kernel/process_32.c int dump_fpu(struct pt_regs *regs, elf_fpregset_t *fpu)
regs              143 arch/sh/kernel/process_32.c 		childregs->regs[4] = arg;
regs              144 arch/sh/kernel/process_32.c 		childregs->regs[5] = usp;
regs              157 arch/sh/kernel/process_32.c 		childregs->regs[15] = usp;
regs              161 arch/sh/kernel/process_32.c 		childregs->gbr = childregs->regs[0];
regs              163 arch/sh/kernel/process_32.c 	childregs->regs[0] = 0; /* Set return value for child */
regs               38 arch/sh/kernel/process_64.c void show_regs(struct pt_regs *regs)
regs               45 arch/sh/kernel/process_64.c 	ah = (regs->pc) >> 32;
regs               46 arch/sh/kernel/process_64.c 	al = (regs->pc) & 0xffffffff;
regs               47 arch/sh/kernel/process_64.c 	bh = (regs->regs[18]) >> 32;
regs               48 arch/sh/kernel/process_64.c 	bl = (regs->regs[18]) & 0xffffffff;
regs               49 arch/sh/kernel/process_64.c 	ch = (regs->regs[15]) >> 32;
regs               50 arch/sh/kernel/process_64.c 	cl = (regs->regs[15]) & 0xffffffff;
regs               54 arch/sh/kernel/process_64.c 	ah = (regs->sr) >> 32;
regs               55 arch/sh/kernel/process_64.c 	al = (regs->sr) & 0xffffffff;
regs               67 arch/sh/kernel/process_64.c 	ah = (regs->regs[0]) >> 32;
regs               68 arch/sh/kernel/process_64.c 	al = (regs->regs[0]) & 0xffffffff;
regs               69 arch/sh/kernel/process_64.c 	bh = (regs->regs[1]) >> 32;
regs               70 arch/sh/kernel/process_64.c 	bl = (regs->regs[1]) & 0xffffffff;
regs               71 arch/sh/kernel/process_64.c 	ch = (regs->regs[2]) >> 32;
regs               72 arch/sh/kernel/process_64.c 	cl = (regs->regs[2]) & 0xffffffff;
regs               76 arch/sh/kernel/process_64.c 	ah = (regs->regs[3]) >> 32;
regs               77 arch/sh/kernel/process_64.c 	al = (regs->regs[3]) & 0xffffffff;
regs               78 arch/sh/kernel/process_64.c 	bh = (regs->regs[4]) >> 32;
regs               79 arch/sh/kernel/process_64.c 	bl = (regs->regs[4]) & 0xffffffff;
regs               80 arch/sh/kernel/process_64.c 	ch = (regs->regs[5]) >> 32;
regs               81 arch/sh/kernel/process_64.c 	cl = (regs->regs[5]) & 0xffffffff;
regs               85 arch/sh/kernel/process_64.c 	ah = (regs->regs[6]) >> 32;
regs               86 arch/sh/kernel/process_64.c 	al = (regs->regs[6]) & 0xffffffff;
regs               87 arch/sh/kernel/process_64.c 	bh = (regs->regs[7]) >> 32;
regs               88 arch/sh/kernel/process_64.c 	bl = (regs->regs[7]) & 0xffffffff;
regs               89 arch/sh/kernel/process_64.c 	ch = (regs->regs[8]) >> 32;
regs               90 arch/sh/kernel/process_64.c 	cl = (regs->regs[8]) & 0xffffffff;
regs               94 arch/sh/kernel/process_64.c 	ah = (regs->regs[9]) >> 32;
regs               95 arch/sh/kernel/process_64.c 	al = (regs->regs[9]) & 0xffffffff;
regs               96 arch/sh/kernel/process_64.c 	bh = (regs->regs[10]) >> 32;
regs               97 arch/sh/kernel/process_64.c 	bl = (regs->regs[10]) & 0xffffffff;
regs               98 arch/sh/kernel/process_64.c 	ch = (regs->regs[11]) >> 32;
regs               99 arch/sh/kernel/process_64.c 	cl = (regs->regs[11]) & 0xffffffff;
regs              103 arch/sh/kernel/process_64.c 	ah = (regs->regs[12]) >> 32;
regs              104 arch/sh/kernel/process_64.c 	al = (regs->regs[12]) & 0xffffffff;
regs              105 arch/sh/kernel/process_64.c 	bh = (regs->regs[13]) >> 32;
regs              106 arch/sh/kernel/process_64.c 	bl = (regs->regs[13]) & 0xffffffff;
regs              107 arch/sh/kernel/process_64.c 	ch = (regs->regs[14]) >> 32;
regs              108 arch/sh/kernel/process_64.c 	cl = (regs->regs[14]) & 0xffffffff;
regs              112 arch/sh/kernel/process_64.c 	ah = (regs->regs[16]) >> 32;
regs              113 arch/sh/kernel/process_64.c 	al = (regs->regs[16]) & 0xffffffff;
regs              114 arch/sh/kernel/process_64.c 	bh = (regs->regs[17]) >> 32;
regs              115 arch/sh/kernel/process_64.c 	bl = (regs->regs[17]) & 0xffffffff;
regs              116 arch/sh/kernel/process_64.c 	ch = (regs->regs[19]) >> 32;
regs              117 arch/sh/kernel/process_64.c 	cl = (regs->regs[19]) & 0xffffffff;
regs              121 arch/sh/kernel/process_64.c 	ah = (regs->regs[20]) >> 32;
regs              122 arch/sh/kernel/process_64.c 	al = (regs->regs[20]) & 0xffffffff;
regs              123 arch/sh/kernel/process_64.c 	bh = (regs->regs[21]) >> 32;
regs              124 arch/sh/kernel/process_64.c 	bl = (regs->regs[21]) & 0xffffffff;
regs              125 arch/sh/kernel/process_64.c 	ch = (regs->regs[22]) >> 32;
regs              126 arch/sh/kernel/process_64.c 	cl = (regs->regs[22]) & 0xffffffff;
regs              130 arch/sh/kernel/process_64.c 	ah = (regs->regs[23]) >> 32;
regs              131 arch/sh/kernel/process_64.c 	al = (regs->regs[23]) & 0xffffffff;
regs              132 arch/sh/kernel/process_64.c 	bh = (regs->regs[24]) >> 32;
regs              133 arch/sh/kernel/process_64.c 	bl = (regs->regs[24]) & 0xffffffff;
regs              134 arch/sh/kernel/process_64.c 	ch = (regs->regs[25]) >> 32;
regs              135 arch/sh/kernel/process_64.c 	cl = (regs->regs[25]) & 0xffffffff;
regs              139 arch/sh/kernel/process_64.c 	ah = (regs->regs[26]) >> 32;
regs              140 arch/sh/kernel/process_64.c 	al = (regs->regs[26]) & 0xffffffff;
regs              141 arch/sh/kernel/process_64.c 	bh = (regs->regs[27]) >> 32;
regs              142 arch/sh/kernel/process_64.c 	bl = (regs->regs[27]) & 0xffffffff;
regs              143 arch/sh/kernel/process_64.c 	ch = (regs->regs[28]) >> 32;
regs              144 arch/sh/kernel/process_64.c 	cl = (regs->regs[28]) & 0xffffffff;
regs              148 arch/sh/kernel/process_64.c 	ah = (regs->regs[29]) >> 32;
regs              149 arch/sh/kernel/process_64.c 	al = (regs->regs[29]) & 0xffffffff;
regs              150 arch/sh/kernel/process_64.c 	bh = (regs->regs[30]) >> 32;
regs              151 arch/sh/kernel/process_64.c 	bl = (regs->regs[30]) & 0xffffffff;
regs              152 arch/sh/kernel/process_64.c 	ch = (regs->regs[31]) >> 32;
regs              153 arch/sh/kernel/process_64.c 	cl = (regs->regs[31]) & 0xffffffff;
regs              157 arch/sh/kernel/process_64.c 	ah = (regs->regs[32]) >> 32;
regs              158 arch/sh/kernel/process_64.c 	al = (regs->regs[32]) & 0xffffffff;
regs              159 arch/sh/kernel/process_64.c 	bh = (regs->regs[33]) >> 32;
regs              160 arch/sh/kernel/process_64.c 	bl = (regs->regs[33]) & 0xffffffff;
regs              161 arch/sh/kernel/process_64.c 	ch = (regs->regs[34]) >> 32;
regs              162 arch/sh/kernel/process_64.c 	cl = (regs->regs[34]) & 0xffffffff;
regs              166 arch/sh/kernel/process_64.c 	ah = (regs->regs[35]) >> 32;
regs              167 arch/sh/kernel/process_64.c 	al = (regs->regs[35]) & 0xffffffff;
regs              168 arch/sh/kernel/process_64.c 	bh = (regs->regs[36]) >> 32;
regs              169 arch/sh/kernel/process_64.c 	bl = (regs->regs[36]) & 0xffffffff;
regs              170 arch/sh/kernel/process_64.c 	ch = (regs->regs[37]) >> 32;
regs              171 arch/sh/kernel/process_64.c 	cl = (regs->regs[37]) & 0xffffffff;
regs              175 arch/sh/kernel/process_64.c 	ah = (regs->regs[38]) >> 32;
regs              176 arch/sh/kernel/process_64.c 	al = (regs->regs[38]) & 0xffffffff;
regs              177 arch/sh/kernel/process_64.c 	bh = (regs->regs[39]) >> 32;
regs              178 arch/sh/kernel/process_64.c 	bl = (regs->regs[39]) & 0xffffffff;
regs              179 arch/sh/kernel/process_64.c 	ch = (regs->regs[40]) >> 32;
regs              180 arch/sh/kernel/process_64.c 	cl = (regs->regs[40]) & 0xffffffff;
regs              184 arch/sh/kernel/process_64.c 	ah = (regs->regs[41]) >> 32;
regs              185 arch/sh/kernel/process_64.c 	al = (regs->regs[41]) & 0xffffffff;
regs              186 arch/sh/kernel/process_64.c 	bh = (regs->regs[42]) >> 32;
regs              187 arch/sh/kernel/process_64.c 	bl = (regs->regs[42]) & 0xffffffff;
regs              188 arch/sh/kernel/process_64.c 	ch = (regs->regs[43]) >> 32;
regs              189 arch/sh/kernel/process_64.c 	cl = (regs->regs[43]) & 0xffffffff;
regs              193 arch/sh/kernel/process_64.c 	ah = (regs->regs[44]) >> 32;
regs              194 arch/sh/kernel/process_64.c 	al = (regs->regs[44]) & 0xffffffff;
regs              195 arch/sh/kernel/process_64.c 	bh = (regs->regs[45]) >> 32;
regs              196 arch/sh/kernel/process_64.c 	bl = (regs->regs[45]) & 0xffffffff;
regs              197 arch/sh/kernel/process_64.c 	ch = (regs->regs[46]) >> 32;
regs              198 arch/sh/kernel/process_64.c 	cl = (regs->regs[46]) & 0xffffffff;
regs              202 arch/sh/kernel/process_64.c 	ah = (regs->regs[47]) >> 32;
regs              203 arch/sh/kernel/process_64.c 	al = (regs->regs[47]) & 0xffffffff;
regs              204 arch/sh/kernel/process_64.c 	bh = (regs->regs[48]) >> 32;
regs              205 arch/sh/kernel/process_64.c 	bl = (regs->regs[48]) & 0xffffffff;
regs              206 arch/sh/kernel/process_64.c 	ch = (regs->regs[49]) >> 32;
regs              207 arch/sh/kernel/process_64.c 	cl = (regs->regs[49]) & 0xffffffff;
regs              211 arch/sh/kernel/process_64.c 	ah = (regs->regs[50]) >> 32;
regs              212 arch/sh/kernel/process_64.c 	al = (regs->regs[50]) & 0xffffffff;
regs              213 arch/sh/kernel/process_64.c 	bh = (regs->regs[51]) >> 32;
regs              214 arch/sh/kernel/process_64.c 	bl = (regs->regs[51]) & 0xffffffff;
regs              215 arch/sh/kernel/process_64.c 	ch = (regs->regs[52]) >> 32;
regs              216 arch/sh/kernel/process_64.c 	cl = (regs->regs[52]) & 0xffffffff;
regs              220 arch/sh/kernel/process_64.c 	ah = (regs->regs[53]) >> 32;
regs              221 arch/sh/kernel/process_64.c 	al = (regs->regs[53]) & 0xffffffff;
regs              222 arch/sh/kernel/process_64.c 	bh = (regs->regs[54]) >> 32;
regs              223 arch/sh/kernel/process_64.c 	bl = (regs->regs[54]) & 0xffffffff;
regs              224 arch/sh/kernel/process_64.c 	ch = (regs->regs[55]) >> 32;
regs              225 arch/sh/kernel/process_64.c 	cl = (regs->regs[55]) & 0xffffffff;
regs              229 arch/sh/kernel/process_64.c 	ah = (regs->regs[56]) >> 32;
regs              230 arch/sh/kernel/process_64.c 	al = (regs->regs[56]) & 0xffffffff;
regs              231 arch/sh/kernel/process_64.c 	bh = (regs->regs[57]) >> 32;
regs              232 arch/sh/kernel/process_64.c 	bl = (regs->regs[57]) & 0xffffffff;
regs              233 arch/sh/kernel/process_64.c 	ch = (regs->regs[58]) >> 32;
regs              234 arch/sh/kernel/process_64.c 	cl = (regs->regs[58]) & 0xffffffff;
regs              238 arch/sh/kernel/process_64.c 	ah = (regs->regs[59]) >> 32;
regs              239 arch/sh/kernel/process_64.c 	al = (regs->regs[59]) & 0xffffffff;
regs              240 arch/sh/kernel/process_64.c 	bh = (regs->regs[60]) >> 32;
regs              241 arch/sh/kernel/process_64.c 	bl = (regs->regs[60]) & 0xffffffff;
regs              242 arch/sh/kernel/process_64.c 	ch = (regs->regs[61]) >> 32;
regs              243 arch/sh/kernel/process_64.c 	cl = (regs->regs[61]) & 0xffffffff;
regs              247 arch/sh/kernel/process_64.c 	ah = (regs->regs[62]) >> 32;
regs              248 arch/sh/kernel/process_64.c 	al = (regs->regs[62]) & 0xffffffff;
regs              249 arch/sh/kernel/process_64.c 	bh = (regs->tregs[0]) >> 32;
regs              250 arch/sh/kernel/process_64.c 	bl = (regs->tregs[0]) & 0xffffffff;
regs              251 arch/sh/kernel/process_64.c 	ch = (regs->tregs[1]) >> 32;
regs              252 arch/sh/kernel/process_64.c 	cl = (regs->tregs[1]) & 0xffffffff;
regs              256 arch/sh/kernel/process_64.c 	ah = (regs->tregs[2]) >> 32;
regs              257 arch/sh/kernel/process_64.c 	al = (regs->tregs[2]) & 0xffffffff;
regs              258 arch/sh/kernel/process_64.c 	bh = (regs->tregs[3]) >> 32;
regs              259 arch/sh/kernel/process_64.c 	bl = (regs->tregs[3]) & 0xffffffff;
regs              260 arch/sh/kernel/process_64.c 	ch = (regs->tregs[4]) >> 32;
regs              261 arch/sh/kernel/process_64.c 	cl = (regs->tregs[4]) & 0xffffffff;
regs              265 arch/sh/kernel/process_64.c 	ah = (regs->tregs[5]) >> 32;
regs              266 arch/sh/kernel/process_64.c 	al = (regs->tregs[5]) & 0xffffffff;
regs              267 arch/sh/kernel/process_64.c 	bh = (regs->tregs[6]) >> 32;
regs              268 arch/sh/kernel/process_64.c 	bl = (regs->tregs[6]) & 0xffffffff;
regs              269 arch/sh/kernel/process_64.c 	ch = (regs->tregs[7]) >> 32;
regs              270 arch/sh/kernel/process_64.c 	cl = (regs->tregs[7]) & 0xffffffff;
regs              277 arch/sh/kernel/process_64.c 	if (!user_mode(regs)) {
regs              279 arch/sh/kernel/process_64.c 		unsigned long sp = regs->regs[15] & 0xffffffff;
regs              282 arch/sh/kernel/process_64.c 		tsk->thread.kregs = regs;
regs              344 arch/sh/kernel/process_64.c int dump_fpu(struct pt_regs *regs, elf_fpregset_t *fpu)
regs              357 arch/sh/kernel/process_64.c 			regs->sr |= SR_FD;
regs              394 arch/sh/kernel/process_64.c 		childregs->regs[2] = (unsigned long)arg;
regs              395 arch/sh/kernel/process_64.c 		childregs->regs[3] = (unsigned long)usp;
regs              410 arch/sh/kernel/process_64.c 		childregs->regs[15] = neff_sign_extend(usp);
regs              413 arch/sh/kernel/process_64.c 	childregs->regs[9] = 0; /* Set return value for child */
regs               64 arch/sh/kernel/ptrace_32.c 		      struct perf_sample_data *data, struct pt_regs *regs)
regs              141 arch/sh/kernel/ptrace_32.c 	const struct pt_regs *regs = task_pt_regs(target);
regs              145 arch/sh/kernel/ptrace_32.c 				  regs->regs,
regs              150 arch/sh/kernel/ptrace_32.c 					  &regs->pc,
regs              165 arch/sh/kernel/ptrace_32.c 	struct pt_regs *regs = task_pt_regs(target);
regs              169 arch/sh/kernel/ptrace_32.c 				 regs->regs,
regs              173 arch/sh/kernel/ptrace_32.c 					 &regs->pc,
regs              237 arch/sh/kernel/ptrace_32.c 	const struct pt_dspregs *regs =
regs              241 arch/sh/kernel/ptrace_32.c 	ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf, regs,
regs              255 arch/sh/kernel/ptrace_32.c 	struct pt_dspregs *regs =
regs              259 arch/sh/kernel/ptrace_32.c 	ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, regs,
regs              271 arch/sh/kernel/ptrace_32.c 	struct pt_regs *regs = task_pt_regs(target);
regs              273 arch/sh/kernel/ptrace_32.c 	return regs->sr & SR_DSP ? regset->n : 0;
regs              485 arch/sh/kernel/ptrace_32.c asmlinkage long do_syscall_trace_enter(struct pt_regs *regs)
regs              489 arch/sh/kernel/ptrace_32.c 	secure_computing_strict(regs->regs[0]);
regs              492 arch/sh/kernel/ptrace_32.c 	    tracehook_report_syscall_entry(regs))
regs              501 arch/sh/kernel/ptrace_32.c 		trace_sys_enter(regs, regs->regs[0]);
regs              503 arch/sh/kernel/ptrace_32.c 	audit_syscall_entry(regs->regs[3], regs->regs[4], regs->regs[5],
regs              504 arch/sh/kernel/ptrace_32.c 			    regs->regs[6], regs->regs[7]);
regs              506 arch/sh/kernel/ptrace_32.c 	return ret ?: regs->regs[0];
regs              509 arch/sh/kernel/ptrace_32.c asmlinkage void do_syscall_trace_leave(struct pt_regs *regs)
regs              513 arch/sh/kernel/ptrace_32.c 	audit_syscall_exit(regs);
regs              516 arch/sh/kernel/ptrace_32.c 		trace_sys_exit(regs, regs->regs[0]);
regs              520 arch/sh/kernel/ptrace_32.c 		tracehook_report_syscall_exit(regs, step);
regs               69 arch/sh/kernel/ptrace_64.c 	struct pt_regs *regs;
regs               70 arch/sh/kernel/ptrace_64.c 	regs = (struct pt_regs*)((unsigned char *)task + THREAD_SIZE) - 1;
regs               86 arch/sh/kernel/ptrace_64.c 		regs->sr |= SR_FD;
regs              110 arch/sh/kernel/ptrace_64.c 	struct pt_regs *regs;
regs              112 arch/sh/kernel/ptrace_64.c 	regs = (struct pt_regs*)((unsigned char *)task + THREAD_SIZE) - 1;
regs              121 arch/sh/kernel/ptrace_64.c 		regs->sr |= SR_FD;
regs              130 arch/sh/kernel/ptrace_64.c 	struct pt_regs *regs = child->thread.uregs;
regs              132 arch/sh/kernel/ptrace_64.c 	regs->sr |= SR_SSTEP;	/* auto-resetting upon exception */
regs              139 arch/sh/kernel/ptrace_64.c 	struct pt_regs *regs = child->thread.uregs;
regs              141 arch/sh/kernel/ptrace_64.c 	regs->sr &= ~SR_SSTEP;
regs              151 arch/sh/kernel/ptrace_64.c 	const struct pt_regs *regs = task_pt_regs(target);
regs              156 arch/sh/kernel/ptrace_64.c 				  &regs->pc,
regs              162 arch/sh/kernel/ptrace_64.c 					  regs->regs,
regs              163 arch/sh/kernel/ptrace_64.c 					  offsetof(struct pt_regs, regs[0]),
regs              168 arch/sh/kernel/ptrace_64.c 					  regs->tregs,
regs              184 arch/sh/kernel/ptrace_64.c 	struct pt_regs *regs = task_pt_regs(target);
regs              189 arch/sh/kernel/ptrace_64.c 				 &regs->pc,
regs              195 arch/sh/kernel/ptrace_64.c 					 regs->regs,
regs              196 arch/sh/kernel/ptrace_64.c 					 offsetof(struct pt_regs, regs[0]),
regs              202 arch/sh/kernel/ptrace_64.c 					 regs->tregs,
regs              505 arch/sh/kernel/ptrace_64.c asmlinkage long long do_syscall_trace_enter(struct pt_regs *regs)
regs              509 arch/sh/kernel/ptrace_64.c 	secure_computing_strict(regs->regs[9]);
regs              512 arch/sh/kernel/ptrace_64.c 	    tracehook_report_syscall_entry(regs))
regs              521 arch/sh/kernel/ptrace_64.c 		trace_sys_enter(regs, regs->regs[9]);
regs              523 arch/sh/kernel/ptrace_64.c 	audit_syscall_entry(regs->regs[1], regs->regs[2], regs->regs[3],
regs              524 arch/sh/kernel/ptrace_64.c 			    regs->regs[4], regs->regs[5]);
regs              526 arch/sh/kernel/ptrace_64.c 	return ret ?: regs->regs[9];
regs              529 arch/sh/kernel/ptrace_64.c asmlinkage void do_syscall_trace_leave(struct pt_regs *regs)
regs              533 arch/sh/kernel/ptrace_64.c 	audit_syscall_exit(regs);
regs              536 arch/sh/kernel/ptrace_64.c 		trace_sys_exit(regs, regs->regs[9]);
regs              540 arch/sh/kernel/ptrace_64.c 		tracehook_report_syscall_exit(regs, step);
regs              544 arch/sh/kernel/ptrace_64.c asmlinkage void do_single_step(unsigned long long vec, struct pt_regs *regs)
regs              552 arch/sh/kernel/ptrace_64.c 	regs->sr &= ~SR_SSTEP;
regs              565 arch/sh/kernel/ptrace_64.c 	regs->pc += 4;
regs               99 arch/sh/kernel/reboot.c void machine_crash_shutdown(struct pt_regs *regs)
regs              101 arch/sh/kernel/reboot.c 	machine_ops.crash_shutdown(regs);
regs               91 arch/sh/kernel/signal_32.c 				      struct pt_regs *regs)
regs              109 arch/sh/kernel/signal_32.c 	unlazy_fpu(tsk, regs);
regs              116 arch/sh/kernel/signal_32.c restore_sigcontext(struct pt_regs *regs, struct sigcontext __user *sc, int *r0_p)
regs              120 arch/sh/kernel/signal_32.c #define COPY(x)		err |= __get_user(regs->x, &sc->sc_##x)
regs              121 arch/sh/kernel/signal_32.c 			COPY(regs[1]);
regs              122 arch/sh/kernel/signal_32.c 	COPY(regs[2]);	COPY(regs[3]);
regs              123 arch/sh/kernel/signal_32.c 	COPY(regs[4]);	COPY(regs[5]);
regs              124 arch/sh/kernel/signal_32.c 	COPY(regs[6]);	COPY(regs[7]);
regs              125 arch/sh/kernel/signal_32.c 	COPY(regs[8]);	COPY(regs[9]);
regs              126 arch/sh/kernel/signal_32.c 	COPY(regs[10]);	COPY(regs[11]);
regs              127 arch/sh/kernel/signal_32.c 	COPY(regs[12]);	COPY(regs[13]);
regs              128 arch/sh/kernel/signal_32.c 	COPY(regs[14]);	COPY(regs[15]);
regs              139 arch/sh/kernel/signal_32.c 		regs->sr |= SR_FD; /* Release FPU */
regs              140 arch/sh/kernel/signal_32.c 		clear_fpu(tsk, regs);
regs              148 arch/sh/kernel/signal_32.c 	regs->tra = -1;		/* disable syscall checks */
regs              155 arch/sh/kernel/signal_32.c 	struct pt_regs *regs = current_pt_regs();
regs              156 arch/sh/kernel/signal_32.c 	struct sigframe __user *frame = (struct sigframe __user *)regs->regs[15];
regs              174 arch/sh/kernel/signal_32.c 	if (restore_sigcontext(regs, &frame->sc, &r0))
regs              185 arch/sh/kernel/signal_32.c 	struct pt_regs *regs = current_pt_regs();
regs              186 arch/sh/kernel/signal_32.c 	struct rt_sigframe __user *frame = (struct rt_sigframe __user *)regs->regs[15];
regs              201 arch/sh/kernel/signal_32.c 	if (restore_sigcontext(regs, &frame->uc.uc_mcontext, &r0))
regs              219 arch/sh/kernel/signal_32.c setup_sigcontext(struct sigcontext __user *sc, struct pt_regs *regs,
regs              224 arch/sh/kernel/signal_32.c #define COPY(x)		err |= __put_user(regs->x, &sc->sc_##x)
regs              225 arch/sh/kernel/signal_32.c 	COPY(regs[0]);	COPY(regs[1]);
regs              226 arch/sh/kernel/signal_32.c 	COPY(regs[2]);	COPY(regs[3]);
regs              227 arch/sh/kernel/signal_32.c 	COPY(regs[4]);	COPY(regs[5]);
regs              228 arch/sh/kernel/signal_32.c 	COPY(regs[6]);	COPY(regs[7]);
regs              229 arch/sh/kernel/signal_32.c 	COPY(regs[8]);	COPY(regs[9]);
regs              230 arch/sh/kernel/signal_32.c 	COPY(regs[10]);	COPY(regs[11]);
regs              231 arch/sh/kernel/signal_32.c 	COPY(regs[12]);	COPY(regs[13]);
regs              232 arch/sh/kernel/signal_32.c 	COPY(regs[14]);	COPY(regs[15]);
regs              239 arch/sh/kernel/signal_32.c 	err |= save_sigcontext_fpu(sc, regs);
regs              268 arch/sh/kernel/signal_32.c 		       struct pt_regs *regs)
regs              273 arch/sh/kernel/signal_32.c 	frame = get_sigframe(&ksig->ka, regs->regs[15], sizeof(*frame));
regs              278 arch/sh/kernel/signal_32.c 	err |= setup_sigcontext(&frame->sc, regs, set->sig[0]);
regs              287 arch/sh/kernel/signal_32.c 		regs->pr = (unsigned long) ksig->ka.sa.sa_restorer;
regs              290 arch/sh/kernel/signal_32.c 		regs->pr = VDSO_SYM(&__kernel_sigreturn);
regs              302 arch/sh/kernel/signal_32.c 		regs->pr = (unsigned long) frame->retcode;
regs              303 arch/sh/kernel/signal_32.c 		flush_icache_range(regs->pr, regs->pr + sizeof(frame->retcode));
regs              310 arch/sh/kernel/signal_32.c 	regs->regs[15] = (unsigned long) frame;
regs              311 arch/sh/kernel/signal_32.c 	regs->regs[4] = sig; /* Arg for signal handler */
regs              312 arch/sh/kernel/signal_32.c 	regs->regs[5] = 0;
regs              313 arch/sh/kernel/signal_32.c 	regs->regs[6] = (unsigned long) &frame->sc;
regs              319 arch/sh/kernel/signal_32.c 		err |= __get_user(regs->pc, &funcptr->text);
regs              320 arch/sh/kernel/signal_32.c 		err |= __get_user(regs->regs[12], &funcptr->GOT);
regs              322 arch/sh/kernel/signal_32.c 		regs->pc = (unsigned long)ksig->ka.sa.sa_handler;
regs              328 arch/sh/kernel/signal_32.c 		 current->comm, task_pid_nr(current), frame, regs->pc, regs->pr);
regs              334 arch/sh/kernel/signal_32.c 			  struct pt_regs *regs)
regs              339 arch/sh/kernel/signal_32.c 	frame = get_sigframe(&ksig->ka, regs->regs[15], sizeof(*frame));
regs              349 arch/sh/kernel/signal_32.c 	err |= __save_altstack(&frame->uc.uc_stack, regs->regs[15]);
regs              351 arch/sh/kernel/signal_32.c 			        regs, set->sig[0]);
regs              357 arch/sh/kernel/signal_32.c 		regs->pr = (unsigned long) ksig->ka.sa.sa_restorer;
regs              360 arch/sh/kernel/signal_32.c 		regs->pr = VDSO_SYM(&__kernel_rt_sigreturn);
regs              372 arch/sh/kernel/signal_32.c 		regs->pr = (unsigned long) frame->retcode;
regs              373 arch/sh/kernel/signal_32.c 		flush_icache_range(regs->pr, regs->pr + sizeof(frame->retcode));
regs              380 arch/sh/kernel/signal_32.c 	regs->regs[15] = (unsigned long) frame;
regs              381 arch/sh/kernel/signal_32.c 	regs->regs[4] = sig; /* Arg for signal handler */
regs              382 arch/sh/kernel/signal_32.c 	regs->regs[5] = (unsigned long) &frame->info;
regs              383 arch/sh/kernel/signal_32.c 	regs->regs[6] = (unsigned long) &frame->uc;
regs              389 arch/sh/kernel/signal_32.c 		err |= __get_user(regs->pc, &funcptr->text);
regs              390 arch/sh/kernel/signal_32.c 		err |= __get_user(regs->regs[12], &funcptr->GOT);
regs              392 arch/sh/kernel/signal_32.c 		regs->pc = (unsigned long)ksig->ka.sa.sa_handler;
regs              398 arch/sh/kernel/signal_32.c 		 current->comm, task_pid_nr(current), frame, regs->pc, regs->pr);
regs              404 arch/sh/kernel/signal_32.c handle_syscall_restart(unsigned long save_r0, struct pt_regs *regs,
regs              408 arch/sh/kernel/signal_32.c 	if (regs->tra < 0)
regs              412 arch/sh/kernel/signal_32.c 	switch (regs->regs[0]) {
regs              416 arch/sh/kernel/signal_32.c 			regs->regs[0] = -EINTR;
regs              424 arch/sh/kernel/signal_32.c 			regs->regs[0] = save_r0;
regs              425 arch/sh/kernel/signal_32.c 			regs->pc -= instruction_size(__raw_readw(regs->pc - 4));
regs              434 arch/sh/kernel/signal_32.c handle_signal(struct ksignal *ksig, struct pt_regs *regs, unsigned int save_r0)
regs              441 arch/sh/kernel/signal_32.c 		ret = setup_rt_frame(ksig, oldset, regs);
regs              443 arch/sh/kernel/signal_32.c 		ret = setup_frame(ksig, oldset, regs);
regs              457 arch/sh/kernel/signal_32.c static void do_signal(struct pt_regs *regs, unsigned int save_r0)
regs              467 arch/sh/kernel/signal_32.c 	if (!user_mode(regs))
regs              471 arch/sh/kernel/signal_32.c 		handle_syscall_restart(save_r0, regs, &ksig.ka.sa);
regs              474 arch/sh/kernel/signal_32.c 		handle_signal(&ksig, regs, save_r0);
regs              479 arch/sh/kernel/signal_32.c 	if (regs->tra >= 0) {
regs              481 arch/sh/kernel/signal_32.c 		if (regs->regs[0] == -ERESTARTNOHAND ||
regs              482 arch/sh/kernel/signal_32.c 		    regs->regs[0] == -ERESTARTSYS ||
regs              483 arch/sh/kernel/signal_32.c 		    regs->regs[0] == -ERESTARTNOINTR) {
regs              484 arch/sh/kernel/signal_32.c 			regs->regs[0] = save_r0;
regs              485 arch/sh/kernel/signal_32.c 			regs->pc -= instruction_size(__raw_readw(regs->pc - 4));
regs              486 arch/sh/kernel/signal_32.c 		} else if (regs->regs[0] == -ERESTART_RESTARTBLOCK) {
regs              487 arch/sh/kernel/signal_32.c 			regs->pc -= instruction_size(__raw_readw(regs->pc - 4));
regs              488 arch/sh/kernel/signal_32.c 			regs->regs[3] = __NR_restart_syscall;
regs              499 arch/sh/kernel/signal_32.c asmlinkage void do_notify_resume(struct pt_regs *regs, unsigned int save_r0,
regs              504 arch/sh/kernel/signal_32.c 		do_signal(regs, save_r0);
regs              508 arch/sh/kernel/signal_32.c 		tracehook_notify_resume(regs);
regs               34 arch/sh/kernel/signal_64.c #define REF_REG_RET regs->regs[REG_RET]
regs               35 arch/sh/kernel/signal_64.c #define REF_REG_SP regs->regs[REG_SP]
regs               36 arch/sh/kernel/signal_64.c #define DEREF_REG_PR regs->regs[REG_PR]
regs               41 arch/sh/kernel/signal_64.c handle_signal(struct ksignal *ksig, struct pt_regs *regs);
regs               44 arch/sh/kernel/signal_64.c handle_syscall_restart(struct pt_regs *regs, struct sigaction *sa)
regs               47 arch/sh/kernel/signal_64.c 	if (regs->syscall_nr < 0)
regs               51 arch/sh/kernel/signal_64.c 	switch (regs->regs[REG_RET]) {
regs               55 arch/sh/kernel/signal_64.c 			regs->regs[REG_RET] = -EINTR;
regs               64 arch/sh/kernel/signal_64.c 			regs->regs[REG_RET] = regs->syscall_nr;
regs               65 arch/sh/kernel/signal_64.c 			regs->pc -= 4;
regs               79 arch/sh/kernel/signal_64.c static void do_signal(struct pt_regs *regs)
regs               89 arch/sh/kernel/signal_64.c 	if (!user_mode(regs))
regs               93 arch/sh/kernel/signal_64.c 		handle_syscall_restart(regs, &ksig.ka.sa);
regs               96 arch/sh/kernel/signal_64.c 		handle_signal(&ksig, regs);
regs              101 arch/sh/kernel/signal_64.c 	if (regs->syscall_nr >= 0) {
regs              103 arch/sh/kernel/signal_64.c 		switch (regs->regs[REG_RET]) {
regs              108 arch/sh/kernel/signal_64.c 			regs->regs[REG_RET] = regs->syscall_nr;
regs              109 arch/sh/kernel/signal_64.c 			regs->pc -= 4;
regs              113 arch/sh/kernel/signal_64.c 			regs->regs[REG_RET] = __NR_restart_syscall;
regs              114 arch/sh/kernel/signal_64.c 			regs->pc -= 4;
regs              142 arch/sh/kernel/signal_64.c restore_sigcontext_fpu(struct pt_regs *regs, struct sigcontext __user *sc)
regs              154 arch/sh/kernel/signal_64.c 		regs->sr |= SR_FD;
regs              164 arch/sh/kernel/signal_64.c setup_sigcontext_fpu(struct pt_regs *regs, struct sigcontext __user *sc)
regs              179 arch/sh/kernel/signal_64.c 		regs->sr |= SR_FD;
regs              190 arch/sh/kernel/signal_64.c restore_sigcontext_fpu(struct pt_regs *regs, struct sigcontext __user *sc)
regs              195 arch/sh/kernel/signal_64.c setup_sigcontext_fpu(struct pt_regs *regs, struct sigcontext __user *sc)
regs              202 arch/sh/kernel/signal_64.c restore_sigcontext(struct pt_regs *regs, struct sigcontext __user *sc, long long *r2_p)
regs              208 arch/sh/kernel/signal_64.c #define COPY(x)		err |= __get_user(regs->x, &sc->sc_##x)
regs              210 arch/sh/kernel/signal_64.c 	COPY(regs[0]);	COPY(regs[1]);	COPY(regs[2]);	COPY(regs[3]);
regs              211 arch/sh/kernel/signal_64.c 	COPY(regs[4]);	COPY(regs[5]);	COPY(regs[6]);	COPY(regs[7]);
regs              212 arch/sh/kernel/signal_64.c 	COPY(regs[8]);	COPY(regs[9]);  COPY(regs[10]);	COPY(regs[11]);
regs              213 arch/sh/kernel/signal_64.c 	COPY(regs[12]);	COPY(regs[13]);	COPY(regs[14]);	COPY(regs[15]);
regs              214 arch/sh/kernel/signal_64.c 	COPY(regs[16]);	COPY(regs[17]);	COPY(regs[18]);	COPY(regs[19]);
regs              215 arch/sh/kernel/signal_64.c 	COPY(regs[20]);	COPY(regs[21]);	COPY(regs[22]);	COPY(regs[23]);
regs              216 arch/sh/kernel/signal_64.c 	COPY(regs[24]);	COPY(regs[25]);	COPY(regs[26]);	COPY(regs[27]);
regs              217 arch/sh/kernel/signal_64.c 	COPY(regs[28]);	COPY(regs[29]);	COPY(regs[30]);	COPY(regs[31]);
regs              218 arch/sh/kernel/signal_64.c 	COPY(regs[32]);	COPY(regs[33]);	COPY(regs[34]);	COPY(regs[35]);
regs              219 arch/sh/kernel/signal_64.c 	COPY(regs[36]);	COPY(regs[37]);	COPY(regs[38]);	COPY(regs[39]);
regs              220 arch/sh/kernel/signal_64.c 	COPY(regs[40]);	COPY(regs[41]);	COPY(regs[42]);	COPY(regs[43]);
regs              221 arch/sh/kernel/signal_64.c 	COPY(regs[44]);	COPY(regs[45]);	COPY(regs[46]);	COPY(regs[47]);
regs              222 arch/sh/kernel/signal_64.c 	COPY(regs[48]);	COPY(regs[49]);	COPY(regs[50]);	COPY(regs[51]);
regs              223 arch/sh/kernel/signal_64.c 	COPY(regs[52]);	COPY(regs[53]);	COPY(regs[54]);	COPY(regs[55]);
regs              224 arch/sh/kernel/signal_64.c 	COPY(regs[56]);	COPY(regs[57]);	COPY(regs[58]);	COPY(regs[59]);
regs              225 arch/sh/kernel/signal_64.c 	COPY(regs[60]);	COPY(regs[61]);	COPY(regs[62]);
regs              232 arch/sh/kernel/signal_64.c         current_sr = regs->sr;
regs              234 arch/sh/kernel/signal_64.c         regs->sr &= SR_MASK;
regs              235 arch/sh/kernel/signal_64.c         regs->sr |= (new_sr & ~SR_MASK);
regs              243 arch/sh/kernel/signal_64.c 	err |= restore_sigcontext_fpu(regs, sc);
regs              245 arch/sh/kernel/signal_64.c 	regs->syscall_nr = -1;		/* disable syscall checks */
regs              253 arch/sh/kernel/signal_64.c 				   struct pt_regs * regs)
regs              273 arch/sh/kernel/signal_64.c 	if (restore_sigcontext(regs, &frame->sc, &ret))
regs              275 arch/sh/kernel/signal_64.c 	regs->pc -= 4;
regs              287 arch/sh/kernel/signal_64.c 				struct pt_regs * regs)
regs              304 arch/sh/kernel/signal_64.c 	if (restore_sigcontext(regs, &frame->uc.uc_mcontext, &ret))
regs              306 arch/sh/kernel/signal_64.c 	regs->pc -= 4;
regs              322 arch/sh/kernel/signal_64.c setup_sigcontext(struct sigcontext __user *sc, struct pt_regs *regs,
regs              328 arch/sh/kernel/signal_64.c 	err |= setup_sigcontext_fpu(regs, sc);
regs              330 arch/sh/kernel/signal_64.c #define COPY(x)		err |= __put_user(regs->x, &sc->sc_##x)
regs              332 arch/sh/kernel/signal_64.c 	COPY(regs[0]);	COPY(regs[1]);	COPY(regs[2]);	COPY(regs[3]);
regs              333 arch/sh/kernel/signal_64.c 	COPY(regs[4]);	COPY(regs[5]);	COPY(regs[6]);	COPY(regs[7]);
regs              334 arch/sh/kernel/signal_64.c 	COPY(regs[8]);	COPY(regs[9]);	COPY(regs[10]);	COPY(regs[11]);
regs              335 arch/sh/kernel/signal_64.c 	COPY(regs[12]);	COPY(regs[13]);	COPY(regs[14]);	COPY(regs[15]);
regs              336 arch/sh/kernel/signal_64.c 	COPY(regs[16]);	COPY(regs[17]);	COPY(regs[18]);	COPY(regs[19]);
regs              337 arch/sh/kernel/signal_64.c 	COPY(regs[20]);	COPY(regs[21]);	COPY(regs[22]);	COPY(regs[23]);
regs              338 arch/sh/kernel/signal_64.c 	COPY(regs[24]);	COPY(regs[25]);	COPY(regs[26]);	COPY(regs[27]);
regs              339 arch/sh/kernel/signal_64.c 	COPY(regs[28]);	COPY(regs[29]);	COPY(regs[30]);	COPY(regs[31]);
regs              340 arch/sh/kernel/signal_64.c 	COPY(regs[32]);	COPY(regs[33]);	COPY(regs[34]);	COPY(regs[35]);
regs              341 arch/sh/kernel/signal_64.c 	COPY(regs[36]);	COPY(regs[37]);	COPY(regs[38]);	COPY(regs[39]);
regs              342 arch/sh/kernel/signal_64.c 	COPY(regs[40]);	COPY(regs[41]);	COPY(regs[42]);	COPY(regs[43]);
regs              343 arch/sh/kernel/signal_64.c 	COPY(regs[44]);	COPY(regs[45]);	COPY(regs[46]);	COPY(regs[47]);
regs              344 arch/sh/kernel/signal_64.c 	COPY(regs[48]);	COPY(regs[49]);	COPY(regs[50]);	COPY(regs[51]);
regs              345 arch/sh/kernel/signal_64.c 	COPY(regs[52]);	COPY(regs[53]);	COPY(regs[54]);	COPY(regs[55]);
regs              346 arch/sh/kernel/signal_64.c 	COPY(regs[56]);	COPY(regs[57]);	COPY(regs[58]);	COPY(regs[59]);
regs              347 arch/sh/kernel/signal_64.c 	COPY(regs[60]);	COPY(regs[61]);	COPY(regs[62]);
regs              374 arch/sh/kernel/signal_64.c static int setup_frame(struct ksignal *ksig, sigset_t *set, struct pt_regs *regs)
regs              380 arch/sh/kernel/signal_64.c 	frame = get_sigframe(&ksig->ka, regs->regs[REG_SP], sizeof(*frame));
regs              385 arch/sh/kernel/signal_64.c 	err |= setup_sigcontext(&frame->sc, regs, set->sig[0]);
regs              434 arch/sh/kernel/signal_64.c 	regs->regs[REG_SP] = neff_sign_extend((unsigned long)frame);
regs              435 arch/sh/kernel/signal_64.c 	regs->regs[REG_ARG1] = sig; /* Arg for signal handler */
regs              446 arch/sh/kernel/signal_64.c 	regs->regs[REG_ARG2] = (unsigned long long)(unsigned long)(signed long)&frame->sc;
regs              447 arch/sh/kernel/signal_64.c 	regs->regs[REG_ARG3] = (unsigned long long)(unsigned long)(signed long)&frame->sc;
regs              449 arch/sh/kernel/signal_64.c 	regs->pc = neff_sign_extend((unsigned long)ksig->ka.sa.sa_handler);
regs              454 arch/sh/kernel/signal_64.c 		 regs->pc >> 32, regs->pc & 0xffffffff,
regs              461 arch/sh/kernel/signal_64.c 			  struct pt_regs *regs)
regs              466 arch/sh/kernel/signal_64.c 	frame = get_sigframe(&ksig->ka, regs->regs[REG_SP], sizeof(*frame));
regs              482 arch/sh/kernel/signal_64.c 	err |= __save_altstack(&frame->uc.uc_stack, regs->regs[REG_SP]);
regs              484 arch/sh/kernel/signal_64.c 			        regs, set->sig[0]);
regs              526 arch/sh/kernel/signal_64.c 	regs->regs[REG_SP] = neff_sign_extend((unsigned long)frame);
regs              527 arch/sh/kernel/signal_64.c 	regs->regs[REG_ARG1] = sig; /* Arg for signal handler */
regs              528 arch/sh/kernel/signal_64.c 	regs->regs[REG_ARG2] = (unsigned long long)(unsigned long)(signed long)&frame->info;
regs              529 arch/sh/kernel/signal_64.c 	regs->regs[REG_ARG3] = (unsigned long long)(unsigned long)(signed long)&frame->uc.uc_mcontext;
regs              530 arch/sh/kernel/signal_64.c 	regs->pc = neff_sign_extend((unsigned long)ksig->ka.sa.sa_handler);
regs              534 arch/sh/kernel/signal_64.c 		 regs->pc >> 32, regs->pc & 0xffffffff,
regs              544 arch/sh/kernel/signal_64.c handle_signal(struct ksignal *ksig, struct pt_regs *regs)
regs              551 arch/sh/kernel/signal_64.c 		ret = setup_rt_frame(ksig, oldset, regs);
regs              553 arch/sh/kernel/signal_64.c 		ret = setup_frame(ksig, oldset, regs);
regs              558 arch/sh/kernel/signal_64.c asmlinkage void do_notify_resume(struct pt_regs *regs, unsigned long thread_info_flags)
regs              561 arch/sh/kernel/signal_64.c 		do_signal(regs);
regs              565 arch/sh/kernel/signal_64.c 		tracehook_notify_resume(regs);
regs               33 arch/sh/kernel/sys_sh32.c 		current_pt_regs()->regs[1] = fd[1];
regs               23 arch/sh/kernel/traps.c void die(const char *str, struct pt_regs *regs, long err)
regs               35 arch/sh/kernel/traps.c 	show_regs(regs);
regs               40 arch/sh/kernel/traps.c 	if (!user_mode(regs) || in_interrupt())
regs               41 arch/sh/kernel/traps.c 		dump_mem("Stack: ", regs->regs[15], THREAD_SIZE +
regs               44 arch/sh/kernel/traps.c 	notify_die(DIE_OOPS, str, regs, err, 255, SIGSEGV);
regs               52 arch/sh/kernel/traps.c 		crash_kexec(regs);
regs               63 arch/sh/kernel/traps.c void die_if_kernel(const char *str, struct pt_regs *regs, long err)
regs               65 arch/sh/kernel/traps.c 	if (!user_mode(regs))
regs               66 arch/sh/kernel/traps.c 		die(str, regs, err);
regs               75 arch/sh/kernel/traps.c void die_if_no_fixup(const char *str, struct pt_regs *regs, long err)
regs               77 arch/sh/kernel/traps.c 	if (!user_mode(regs)) {
regs               79 arch/sh/kernel/traps.c 		fixup = search_exception_tables(regs->pc);
regs               81 arch/sh/kernel/traps.c 			regs->pc = fixup->fixup;
regs               85 arch/sh/kernel/traps.c 		die(str, regs, err);
regs               90 arch/sh/kernel/traps.c static void handle_BUG(struct pt_regs *regs)
regs               93 arch/sh/kernel/traps.c 	unsigned long bugaddr = regs->pc;
regs              105 arch/sh/kernel/traps.c 	tt = report_bug(bugaddr, regs);
regs              107 arch/sh/kernel/traps.c 		regs->pc += instruction_size(bugaddr);
regs              112 arch/sh/kernel/traps.c 	die("Kernel BUG", regs, TRAPA_BUG_OPCODE & 0xff);
regs              138 arch/sh/kernel/traps.c 	regs->pc -= instruction_size(__raw_readw(regs->pc - 4));
regs              140 arch/sh/kernel/traps.c 	if (notify_die(DIE_TRAP, "debug trap", regs, 0, vec & 0xff,
regs              155 arch/sh/kernel/traps.c 	regs->pc -= instruction_size(__raw_readw(regs->pc - 4));
regs              157 arch/sh/kernel/traps.c 	if (notify_die(DIE_TRAP, "bug trap", regs, 0, TRAPA_BUG_OPCODE & 0xff,
regs              162 arch/sh/kernel/traps.c 	if (__kernel_text_address(instruction_pointer(regs))) {
regs              163 arch/sh/kernel/traps.c 		insn_size_t insn = *(insn_size_t *)instruction_pointer(regs);
regs              165 arch/sh/kernel/traps.c 			handle_BUG(regs);
regs              181 arch/sh/kernel/traps.c 	switch (notify_die(DIE_NMI, "NMI", regs, 0, vec & 0xff, SIGINT)) {
regs              186 arch/sh/kernel/traps.c 		die("Fatal Non-Maskable Interrupt", regs, SIGINT);
regs               85 arch/sh/kernel/traps_32.c static int handle_unaligned_ins(insn_size_t instruction, struct pt_regs *regs,
regs               94 arch/sh/kernel/traps_32.c 	rn = &regs->regs[index];
regs               97 arch/sh/kernel/traps_32.c 	rm = &regs->regs[index];
regs              114 arch/sh/kernel/traps_32.c 			srcu += regs->regs[0];
regs              132 arch/sh/kernel/traps_32.c 			dstu += regs->regs[0];
regs              193 arch/sh/kernel/traps_32.c 			src = (unsigned char *) &regs->regs[0];
regs              208 arch/sh/kernel/traps_32.c 			dst = (unsigned char *) &regs->regs[0];
regs              223 arch/sh/kernel/traps_32.c 		srcu = (unsigned char __user *)regs->pc;
regs              240 arch/sh/kernel/traps_32.c 		srcu = (unsigned char __user *)(regs->pc & ~0x3);
regs              257 arch/sh/kernel/traps_32.c 	die_if_no_fixup("Fault in unaligned fixup", regs, 0);
regs              265 arch/sh/kernel/traps_32.c static inline int handle_delayslot(struct pt_regs *regs,
regs              270 arch/sh/kernel/traps_32.c 	void __user *addr = (void __user *)(regs->pc +
regs              275 arch/sh/kernel/traps_32.c 		if (user_mode(regs))
regs              280 arch/sh/kernel/traps_32.c 		    regs, 0);
regs              283 arch/sh/kernel/traps_32.c 	return handle_unaligned_ins(instruction, regs, ma);
regs              302 arch/sh/kernel/traps_32.c int handle_unaligned_access(insn_size_t instruction, struct pt_regs *regs,
regs              316 arch/sh/kernel/traps_32.c 	rm = regs->regs[index];
regs              326 arch/sh/kernel/traps_32.c 		unaligned_fixups_notify(current, instruction, regs);
regs              328 arch/sh/kernel/traps_32.c 			      regs, address);
regs              336 arch/sh/kernel/traps_32.c 			ret = handle_delayslot(regs, instruction, ma);
regs              338 arch/sh/kernel/traps_32.c 				regs->pc = regs->pr;
regs              342 arch/sh/kernel/traps_32.c 			ret = handle_delayslot(regs, instruction, ma);
regs              344 arch/sh/kernel/traps_32.c 				regs->pc += rm + 4;
regs              348 arch/sh/kernel/traps_32.c 			ret = handle_delayslot(regs, instruction, ma);
regs              350 arch/sh/kernel/traps_32.c 				regs->pr = regs->pc + 4;
regs              351 arch/sh/kernel/traps_32.c 				regs->pc += rm + 4;
regs              369 arch/sh/kernel/traps_32.c 			ret = handle_delayslot(regs, instruction, ma);
regs              371 arch/sh/kernel/traps_32.c 				regs->pc = rm;
regs              375 arch/sh/kernel/traps_32.c 			ret = handle_delayslot(regs, instruction, ma);
regs              377 arch/sh/kernel/traps_32.c 				regs->pr = regs->pc + 4;
regs              378 arch/sh/kernel/traps_32.c 				regs->pc = rm;
regs              403 arch/sh/kernel/traps_32.c 			ret = handle_delayslot(regs, instruction, ma);
regs              406 arch/sh/kernel/traps_32.c 				if ((regs->sr & 0x00000001) != 0)
regs              407 arch/sh/kernel/traps_32.c 					regs->pc += 4; /* next after slot */
regs              410 arch/sh/kernel/traps_32.c 					regs->pc += SH_PC_8BIT_OFFSET(instruction);
regs              417 arch/sh/kernel/traps_32.c 			ret = handle_delayslot(regs, instruction, ma);
regs              420 arch/sh/kernel/traps_32.c 				if ((regs->sr & 0x00000001) == 0)
regs              421 arch/sh/kernel/traps_32.c 					regs->pc += 4; /* next after slot */
regs              424 arch/sh/kernel/traps_32.c 					regs->pc += SH_PC_8BIT_OFFSET(instruction);
regs              434 arch/sh/kernel/traps_32.c 		ret = handle_delayslot(regs, instruction, ma);
regs              436 arch/sh/kernel/traps_32.c 			regs->pc += SH_PC_12BIT_OFFSET(instruction);
regs              440 arch/sh/kernel/traps_32.c 		ret = handle_delayslot(regs, instruction, ma);
regs              442 arch/sh/kernel/traps_32.c 			regs->pr = regs->pc + 4;
regs              443 arch/sh/kernel/traps_32.c 			regs->pc += SH_PC_12BIT_OFFSET(instruction);
regs              454 arch/sh/kernel/traps_32.c 	ret = handle_unaligned_ins(instruction, regs, ma);
regs              456 arch/sh/kernel/traps_32.c 		regs->pc += instruction_size(instruction);
regs              471 arch/sh/kernel/traps_32.c asmlinkage void do_address_error(struct pt_regs *regs,
regs              487 arch/sh/kernel/traps_32.c 	if (user_mode(regs)) {
regs              495 arch/sh/kernel/traps_32.c 		if (copy_from_user(&instruction, (insn_size_t *)(regs->pc & ~1),
regs              503 arch/sh/kernel/traps_32.c 		unaligned_fixups_notify(current, instruction, regs);
regs              512 arch/sh/kernel/traps_32.c 			regs->pc += instruction_size(instruction);
regs              518 arch/sh/kernel/traps_32.c 		if (regs->pc & 1) {
regs              524 arch/sh/kernel/traps_32.c 		tmp = handle_unaligned_access(instruction, regs,
regs              533 arch/sh/kernel/traps_32.c 		       "access (PC %lx PR %lx)\n", current->comm, regs->pc,
regs              534 arch/sh/kernel/traps_32.c 		       regs->pr);
regs              540 arch/sh/kernel/traps_32.c 		if (regs->pc & 1)
regs              541 arch/sh/kernel/traps_32.c 			die("unaligned program counter", regs, error_code);
regs              544 arch/sh/kernel/traps_32.c 		if (copy_from_user(&instruction, (void __user *)(regs->pc),
regs              550 arch/sh/kernel/traps_32.c 			die("insn faulting in do_address_error", regs, 0);
regs              553 arch/sh/kernel/traps_32.c 		unaligned_fixups_notify(current, instruction, regs);
regs              555 arch/sh/kernel/traps_32.c 		handle_unaligned_access(instruction, regs, &user_mem_access,
regs              565 arch/sh/kernel/traps_32.c int is_dsp_inst(struct pt_regs *regs)
regs              573 arch/sh/kernel/traps_32.c 	if (!(current_cpu_data.flags & CPU_HAS_DSP) || (regs->sr & SR_DSP))
regs              576 arch/sh/kernel/traps_32.c 	get_user(inst, ((unsigned short *) regs->pc));
regs              587 arch/sh/kernel/traps_32.c #define is_dsp_inst(regs)	(0)
regs              612 arch/sh/kernel/traps_32.c 	struct pt_regs *regs = current_pt_regs();
regs              619 arch/sh/kernel/traps_32.c 	get_user(inst, (unsigned short*)regs->pc);
regs              621 arch/sh/kernel/traps_32.c 	err = do_fpu_inst(inst, regs);
regs              623 arch/sh/kernel/traps_32.c 		regs->pc += instruction_size(inst);
regs              631 arch/sh/kernel/traps_32.c 	if (is_dsp_inst(regs)) {
regs              633 arch/sh/kernel/traps_32.c 		regs->sr |= SR_DSP;
regs              644 arch/sh/kernel/traps_32.c 	die_if_no_fixup("reserved instruction", regs, error_code);
regs              648 arch/sh/kernel/traps_32.c static int emulate_branch(unsigned short inst, struct pt_regs *regs)
regs              664 arch/sh/kernel/traps_32.c 		regs->pr = regs->pc + 4;
regs              667 arch/sh/kernel/traps_32.c 		regs->pc += SH_PC_8BIT_OFFSET(inst);
regs              672 arch/sh/kernel/traps_32.c 		regs->pc += SH_PC_12BIT_OFFSET(inst);
regs              677 arch/sh/kernel/traps_32.c 		regs->pc += regs->regs[(inst & 0x0f00) >> 8] + 4;
regs              682 arch/sh/kernel/traps_32.c 		regs->pc = regs->regs[(inst & 0x0f00) >> 8];
regs              687 arch/sh/kernel/traps_32.c 		regs->pc = regs->pr;
regs              697 arch/sh/kernel/traps_32.c 	struct pt_regs *regs = current_pt_regs();
regs              700 arch/sh/kernel/traps_32.c 	if (kprobe_handle_illslot(regs->pc) == 0)
regs              704 arch/sh/kernel/traps_32.c 	get_user(inst, (unsigned short *)regs->pc + 1);
regs              705 arch/sh/kernel/traps_32.c 	if (!do_fpu_inst(inst, regs)) {
regs              706 arch/sh/kernel/traps_32.c 		get_user(inst, (unsigned short *)regs->pc);
regs              707 arch/sh/kernel/traps_32.c 		if (!emulate_branch(inst, regs))
regs              718 arch/sh/kernel/traps_32.c 	die_if_no_fixup("illegal slot instruction", regs, inst);
regs               81 arch/sh/kernel/traps_64.c static int generate_and_check_address(struct pt_regs *regs,
regs               98 arch/sh/kernel/traps_64.c 	base_address = regs->regs[basereg];
regs              108 arch/sh/kernel/traps_64.c 		offset = regs->regs[offsetreg];
regs              119 arch/sh/kernel/traps_64.c 	if (user_mode(regs)) {
regs              129 arch/sh/kernel/traps_64.c 	perf_sw_event(PERF_COUNT_SW_EMULATION_FAULTS, 1, regs, addr);
regs              130 arch/sh/kernel/traps_64.c 	unaligned_fixups_notify(current, opcode, regs);
regs              163 arch/sh/kernel/traps_64.c static int misaligned_load(struct pt_regs *regs,
regs              174 arch/sh/kernel/traps_64.c 	error = generate_and_check_address(regs, opcode,
regs              180 arch/sh/kernel/traps_64.c 	if (user_mode(regs)) {
regs              193 arch/sh/kernel/traps_64.c 				regs->regs[destreg] = (__u64)(__s64) *(__s16 *) &buffer;
regs              195 arch/sh/kernel/traps_64.c 				regs->regs[destreg] = (__u64) *(__u16 *) &buffer;
regs              199 arch/sh/kernel/traps_64.c 			regs->regs[destreg] = (__u64)(__s64) *(__s32 *) &buffer;
regs              202 arch/sh/kernel/traps_64.c 			regs->regs[destreg] = buffer;
regs              206 arch/sh/kernel/traps_64.c 				width_shift, (unsigned long) regs->pc);
regs              215 arch/sh/kernel/traps_64.c 			misaligned_kernel_word_load(address, do_sign_extend, &regs->regs[destreg]);
regs              220 arch/sh/kernel/traps_64.c 			regs->regs[destreg] = lo | hi;
regs              225 arch/sh/kernel/traps_64.c 			regs->regs[destreg] = lo | hi;
regs              230 arch/sh/kernel/traps_64.c 				width_shift, (unsigned long) regs->pc);
regs              238 arch/sh/kernel/traps_64.c static int misaligned_store(struct pt_regs *regs,
regs              248 arch/sh/kernel/traps_64.c 	error = generate_and_check_address(regs, opcode,
regs              254 arch/sh/kernel/traps_64.c 	if (user_mode(regs)) {
regs              263 arch/sh/kernel/traps_64.c 			*(__u16 *) &buffer = (__u16) regs->regs[srcreg];
regs              266 arch/sh/kernel/traps_64.c 			*(__u32 *) &buffer = (__u32) regs->regs[srcreg];
regs              269 arch/sh/kernel/traps_64.c 			buffer = regs->regs[srcreg];
regs              273 arch/sh/kernel/traps_64.c 				width_shift, (unsigned long) regs->pc);
regs              282 arch/sh/kernel/traps_64.c 		__u64 val = regs->regs[srcreg];
regs              299 arch/sh/kernel/traps_64.c 				width_shift, (unsigned long) regs->pc);
regs              309 arch/sh/kernel/traps_64.c static int misaligned_fpu_load(struct pt_regs *regs,
regs              320 arch/sh/kernel/traps_64.c 	error = generate_and_check_address(regs, opcode,
regs              326 arch/sh/kernel/traps_64.c 	if (user_mode(regs)) {
regs              345 arch/sh/kernel/traps_64.c 			regs->sr |= SR_FD;
regs              371 arch/sh/kernel/traps_64.c 				width_shift, (unsigned long) regs->pc);
regs              376 arch/sh/kernel/traps_64.c 		die ("Misaligned FPU load inside kernel", regs, 0);
regs              381 arch/sh/kernel/traps_64.c static int misaligned_fpu_store(struct pt_regs *regs,
regs              392 arch/sh/kernel/traps_64.c 	error = generate_and_check_address(regs, opcode,
regs              398 arch/sh/kernel/traps_64.c 	if (user_mode(regs)) {
regs              415 arch/sh/kernel/traps_64.c 			regs->sr |= SR_FD;
regs              438 arch/sh/kernel/traps_64.c 				width_shift, (unsigned long) regs->pc);
regs              449 arch/sh/kernel/traps_64.c 		die ("Misaligned FPU load inside kernel", regs, 0);
regs              454 arch/sh/kernel/traps_64.c static int misaligned_fixup(struct pt_regs *regs)
regs              465 arch/sh/kernel/traps_64.c 	error = read_opcode(regs->pc, &opcode, user_mode(regs));
regs              474 arch/sh/kernel/traps_64.c 			error = misaligned_load(regs, opcode, 1, 1, 1);
regs              477 arch/sh/kernel/traps_64.c 			error = misaligned_load(regs, opcode, 1, 1, 0);
regs              480 arch/sh/kernel/traps_64.c 			error = misaligned_load(regs, opcode, 1, 2, 1);
regs              483 arch/sh/kernel/traps_64.c 			error = misaligned_load(regs, opcode, 1, 3, 0);
regs              487 arch/sh/kernel/traps_64.c 			error = misaligned_store(regs, opcode, 1, 1);
regs              490 arch/sh/kernel/traps_64.c 			error = misaligned_store(regs, opcode, 1, 2);
regs              493 arch/sh/kernel/traps_64.c 			error = misaligned_store(regs, opcode, 1, 3);
regs              499 arch/sh/kernel/traps_64.c 					error = misaligned_load(regs, opcode, 0, 1, 1);
regs              502 arch/sh/kernel/traps_64.c 					error = misaligned_load(regs, opcode, 0, 1, 0);
regs              505 arch/sh/kernel/traps_64.c 					error = misaligned_load(regs, opcode, 0, 2, 1);
regs              508 arch/sh/kernel/traps_64.c 					error = misaligned_load(regs, opcode, 0, 3, 0);
regs              519 arch/sh/kernel/traps_64.c 					error = misaligned_store(regs, opcode, 0, 1);
regs              522 arch/sh/kernel/traps_64.c 					error = misaligned_store(regs, opcode, 0, 2);
regs              525 arch/sh/kernel/traps_64.c 					error = misaligned_store(regs, opcode, 0, 3);
regs              534 arch/sh/kernel/traps_64.c 			error = misaligned_fpu_load(regs, opcode, 1, 2, 0);
regs              537 arch/sh/kernel/traps_64.c 			error = misaligned_fpu_load(regs, opcode, 1, 3, 1);
regs              540 arch/sh/kernel/traps_64.c 			error = misaligned_fpu_load(regs, opcode, 1, 3, 0);
regs              545 arch/sh/kernel/traps_64.c 				error = misaligned_fpu_load(regs, opcode, 0, 2, 0);
regs              548 arch/sh/kernel/traps_64.c 				error = misaligned_fpu_load(regs, opcode, 0, 3, 1);
regs              551 arch/sh/kernel/traps_64.c 				error = misaligned_fpu_load(regs, opcode, 0, 3, 0);
regs              559 arch/sh/kernel/traps_64.c 			error = misaligned_fpu_store(regs, opcode, 1, 2, 0);
regs              562 arch/sh/kernel/traps_64.c 			error = misaligned_fpu_store(regs, opcode, 1, 3, 1);
regs              565 arch/sh/kernel/traps_64.c 			error = misaligned_fpu_store(regs, opcode, 1, 3, 0);
regs              570 arch/sh/kernel/traps_64.c 				error = misaligned_fpu_store(regs, opcode, 0, 2, 0);
regs              573 arch/sh/kernel/traps_64.c 				error = misaligned_fpu_store(regs, opcode, 0, 3, 1);
regs              576 arch/sh/kernel/traps_64.c 				error = misaligned_fpu_store(regs, opcode, 0, 3, 0);
regs              593 arch/sh/kernel/traps_64.c 		regs->pc += 4; /* Skip the instruction that's just been emulated */
regs              599 arch/sh/kernel/traps_64.c 				   struct pt_regs *regs)
regs              601 arch/sh/kernel/traps_64.c 	if (user_mode(regs))
regs              604 arch/sh/kernel/traps_64.c 	die_if_no_fixup(str, regs, error);
regs              608 arch/sh/kernel/traps_64.c asmlinkage void do_##name(unsigned long error_code, struct pt_regs *regs) \
regs              610 arch/sh/kernel/traps_64.c 	do_unhandled_exception(signr, str, error_code, regs); \
regs              645 arch/sh/kernel/traps_64.c void do_reserved_inst(unsigned long error_code, struct pt_regs *regs)
regs              657 arch/sh/kernel/traps_64.c 	pc = regs->pc;
regs              705 arch/sh/kernel/traps_64.c 		if (!user_mode(regs)) {
regs              721 arch/sh/kernel/traps_64.c 		if (!user_mode(regs))
regs              748 arch/sh/kernel/traps_64.c 	do_unhandled_exception(signr, exception_name, error_code, regs);
regs              760 arch/sh/kernel/traps_64.c asmlinkage void do_exception_error(unsigned long ex, struct pt_regs *regs)
regs              762 arch/sh/kernel/traps_64.c 	die_if_kernel("exception", regs, ex);
regs              765 arch/sh/kernel/traps_64.c asmlinkage int do_unknown_trapa(unsigned long scId, struct pt_regs *regs)
regs              770 arch/sh/kernel/traps_64.c 	die_if_kernel("unknown trapa", regs, scId);
regs              779 arch/sh/kernel/traps_64.c asmlinkage void do_address_error_load(unsigned long error_code, struct pt_regs *regs)
regs              781 arch/sh/kernel/traps_64.c 	if (misaligned_fixup(regs) < 0)
regs              783 arch/sh/kernel/traps_64.c 				       error_code, regs);
regs              786 arch/sh/kernel/traps_64.c asmlinkage void do_address_error_store(unsigned long error_code, struct pt_regs *regs)
regs              788 arch/sh/kernel/traps_64.c 	if (misaligned_fixup(regs) < 0)
regs              790 arch/sh/kernel/traps_64.c 				error_code, regs);
regs              793 arch/sh/kernel/traps_64.c asmlinkage void do_debug_interrupt(unsigned long code, struct pt_regs *regs)
regs              132 arch/sh/kernel/unwinder.c void unwind_stack(struct task_struct *task, struct pt_regs *regs,
regs              163 arch/sh/kernel/unwinder.c 	curr_unwinder->dump(task, regs, sp, ops, data);
regs               50 arch/sh/math-emu/math.c #define R0	(regs->regs[0])
regs               51 arch/sh/math-emu/math.c #define Rn	(regs->regs[n])
regs               52 arch/sh/math-emu/math.c #define Rm	(regs->regs[m])
regs               79 arch/sh/math-emu/math.c fcmp_gt(struct sh_fpu_soft_struct *fregs, struct pt_regs *regs, int m, int n)
regs               82 arch/sh/math-emu/math.c 		regs->sr |= 1;
regs               84 arch/sh/math-emu/math.c 		regs->sr &= ~1;
regs               90 arch/sh/math-emu/math.c fcmp_eq(struct sh_fpu_soft_struct *fregs, struct pt_regs *regs, int m, int n)
regs               93 arch/sh/math-emu/math.c 		regs->sr |= 1;
regs               95 arch/sh/math-emu/math.c 		regs->sr &= ~1;
regs              106 arch/sh/math-emu/math.c fadd(struct sh_fpu_soft_struct *fregs, struct pt_regs *regs, int m, int n)
regs              113 arch/sh/math-emu/math.c fsub(struct sh_fpu_soft_struct *fregs, struct pt_regs *regs, int m, int n)
regs              120 arch/sh/math-emu/math.c fmul(struct sh_fpu_soft_struct *fregs, struct pt_regs *regs, int m, int n)
regs              127 arch/sh/math-emu/math.c fdiv(struct sh_fpu_soft_struct *fregs, struct pt_regs *regs, int m, int n)
regs              134 arch/sh/math-emu/math.c fmac(struct sh_fpu_soft_struct *fregs, struct pt_regs *regs, int m, int n)
regs              155 arch/sh/math-emu/math.c fmov_idx_reg(struct sh_fpu_soft_struct *fregs, struct pt_regs *regs, int m,
regs              171 arch/sh/math-emu/math.c fmov_mem_reg(struct sh_fpu_soft_struct *fregs, struct pt_regs *regs, int m,
regs              187 arch/sh/math-emu/math.c fmov_inc_reg(struct sh_fpu_soft_struct *fregs, struct pt_regs *regs, int m,
regs              205 arch/sh/math-emu/math.c fmov_reg_idx(struct sh_fpu_soft_struct *fregs, struct pt_regs *regs, int m,
regs              221 arch/sh/math-emu/math.c fmov_reg_mem(struct sh_fpu_soft_struct *fregs, struct pt_regs *regs, int m,
regs              237 arch/sh/math-emu/math.c fmov_reg_dec(struct sh_fpu_soft_struct *fregs, struct pt_regs *regs, int m,
regs              255 arch/sh/math-emu/math.c fmov_reg_reg(struct sh_fpu_soft_struct *fregs, struct pt_regs *regs, int m,
regs              270 arch/sh/math-emu/math.c fnop_mn(struct sh_fpu_soft_struct *fregs, struct pt_regs *regs, int m, int n)
regs              418 arch/sh/math-emu/math.c id_fnxd(struct sh_fpu_soft_struct *fregs, struct pt_regs *regs, int x, int n)
regs              424 arch/sh/math-emu/math.c id_fnmx(struct sh_fpu_soft_struct *fregs, struct pt_regs *regs, u16 code)
regs              427 arch/sh/math-emu/math.c 	return (fnmx[x])(fregs, regs, m, n);
regs              431 arch/sh/math-emu/math.c id_sys(struct sh_fpu_soft_struct *fregs, struct pt_regs *regs, u16 code)
regs              462 arch/sh/math-emu/math.c static int fpu_emulate(u16 code, struct sh_fpu_soft_struct *fregs, struct pt_regs *regs)
regs              465 arch/sh/math-emu/math.c 		return id_fnmx(fregs, regs, code);
regs              467 arch/sh/math-emu/math.c 		return id_sys(fregs, regs, code);
regs              505 arch/sh/math-emu/math.c static int ieee_fpe_handler(struct pt_regs *regs)
regs              507 arch/sh/math-emu/math.c 	unsigned short insn = *(unsigned short *)regs->pc;
regs              518 arch/sh/math-emu/math.c 		regs->pr = regs->pc + 4;
regs              521 arch/sh/math-emu/math.c 		nextpc = regs->pc + 4 + ((short) ((insn & 0xfff) << 4) >> 3);
regs              522 arch/sh/math-emu/math.c 		finsn = *(unsigned short *) (regs->pc + 2);
regs              524 arch/sh/math-emu/math.c 		if (regs->sr & 1)
regs              525 arch/sh/math-emu/math.c 			nextpc = regs->pc + 4 + ((char) (insn & 0xff) << 1);
regs              527 arch/sh/math-emu/math.c 			nextpc = regs->pc + 4;
regs              528 arch/sh/math-emu/math.c 		finsn = *(unsigned short *) (regs->pc + 2);
regs              530 arch/sh/math-emu/math.c 		if (regs->sr & 1)
regs              531 arch/sh/math-emu/math.c 			nextpc = regs->pc + 4;
regs              533 arch/sh/math-emu/math.c 			nextpc = regs->pc + 4 + ((char) (insn & 0xff) << 1);
regs              534 arch/sh/math-emu/math.c 		finsn = *(unsigned short *) (regs->pc + 2);
regs              537 arch/sh/math-emu/math.c 		nextpc = regs->regs[nib[1]];
regs              538 arch/sh/math-emu/math.c 		finsn = *(unsigned short *) (regs->pc + 2);
regs              541 arch/sh/math-emu/math.c 		nextpc = regs->pc + 4 + regs->regs[nib[1]];
regs              542 arch/sh/math-emu/math.c 		finsn = *(unsigned short *) (regs->pc + 2);
regs              544 arch/sh/math-emu/math.c 		nextpc = regs->pr;
regs              545 arch/sh/math-emu/math.c 		finsn = *(unsigned short *) (regs->pc + 2);
regs              547 arch/sh/math-emu/math.c 		nextpc = regs->pc + 2;
regs              563 arch/sh/math-emu/math.c 					(void __user *)regs->pc);
regs              566 arch/sh/math-emu/math.c 		regs->pc = nextpc;
regs              595 arch/sh/math-emu/math.c int do_fpu_inst(unsigned short inst, struct pt_regs *regs)
regs              600 arch/sh/math-emu/math.c 	perf_sw_event(PERF_COUNT_SW_EMULATION_FAULTS, 1, regs, 0);
regs              608 arch/sh/math-emu/math.c 	return fpu_emulate(inst, fpu, regs);
regs               97 arch/sh/mm/alignment.c 			     struct pt_regs *regs)
regs               99 arch/sh/mm/alignment.c 	if (user_mode(regs) && (se_usermode & UM_WARN))
regs              103 arch/sh/mm/alignment.c 			  (void *)instruction_pointer(regs), insn);
regs              108 arch/sh/mm/alignment.c 			  (void *)instruction_pointer(regs), insn);
regs               13 arch/sh/mm/extable_32.c int fixup_exception(struct pt_regs *regs)
regs               17 arch/sh/mm/extable_32.c 	fixup = search_exception_tables(regs->pc);
regs               19 arch/sh/mm/extable_32.c 		regs->pc = fixup->fixup;
regs               73 arch/sh/mm/extable_64.c int fixup_exception(struct pt_regs *regs)
regs               77 arch/sh/mm/extable_64.c 	fixup = search_exception_tables(regs->pc);
regs               79 arch/sh/mm/extable_64.c 		regs->pc = fixup->fixup;
regs              186 arch/sh/mm/fault.c show_fault_oops(struct pt_regs *regs, unsigned long address)
regs              199 arch/sh/mm/fault.c 	printk_address(regs->pc, 1);
regs              205 arch/sh/mm/fault.c no_context(struct pt_regs *regs, unsigned long error_code,
regs              209 arch/sh/mm/fault.c 	if (fixup_exception(regs))
regs              212 arch/sh/mm/fault.c 	if (handle_trapped_io(regs, address))
regs              221 arch/sh/mm/fault.c 	show_fault_oops(regs, address);
regs              223 arch/sh/mm/fault.c 	die("Oops", regs, error_code);
regs              229 arch/sh/mm/fault.c __bad_area_nosemaphore(struct pt_regs *regs, unsigned long error_code,
regs              233 arch/sh/mm/fault.c 	if (user_mode(regs)) {
regs              244 arch/sh/mm/fault.c 	no_context(regs, error_code, address);
regs              248 arch/sh/mm/fault.c bad_area_nosemaphore(struct pt_regs *regs, unsigned long error_code,
regs              251 arch/sh/mm/fault.c 	__bad_area_nosemaphore(regs, error_code, address, SEGV_MAPERR);
regs              255 arch/sh/mm/fault.c __bad_area(struct pt_regs *regs, unsigned long error_code,
regs              266 arch/sh/mm/fault.c 	__bad_area_nosemaphore(regs, error_code, address, si_code);
regs              270 arch/sh/mm/fault.c bad_area(struct pt_regs *regs, unsigned long error_code, unsigned long address)
regs              272 arch/sh/mm/fault.c 	__bad_area(regs, error_code, address, SEGV_MAPERR);
regs              276 arch/sh/mm/fault.c bad_area_access_error(struct pt_regs *regs, unsigned long error_code,
regs              279 arch/sh/mm/fault.c 	__bad_area(regs, error_code, address, SEGV_ACCERR);
regs              283 arch/sh/mm/fault.c do_sigbus(struct pt_regs *regs, unsigned long error_code, unsigned long address)
regs              291 arch/sh/mm/fault.c 	if (!user_mode(regs))
regs              292 arch/sh/mm/fault.c 		no_context(regs, error_code, address);
regs              298 arch/sh/mm/fault.c mm_fault_error(struct pt_regs *regs, unsigned long error_code,
regs              308 arch/sh/mm/fault.c 		if (!user_mode(regs))
regs              309 arch/sh/mm/fault.c 			no_context(regs, error_code, address);
regs              318 arch/sh/mm/fault.c 		if (!user_mode(regs)) {
regs              320 arch/sh/mm/fault.c 			no_context(regs, error_code, address);
regs              333 arch/sh/mm/fault.c 			do_sigbus(regs, error_code, address);
regs              335 arch/sh/mm/fault.c 			bad_area(regs, error_code, address);
regs              374 arch/sh/mm/fault.c asmlinkage void __kprobes do_page_fault(struct pt_regs *regs,
regs              401 arch/sh/mm/fault.c 		if (kprobe_page_fault(regs, vec))
regs              404 arch/sh/mm/fault.c 		bad_area_nosemaphore(regs, error_code, address);
regs              408 arch/sh/mm/fault.c 	if (unlikely(kprobe_page_fault(regs, vec)))
regs              412 arch/sh/mm/fault.c 	if ((regs->sr & SR_IMASK) != SR_IMASK)
regs              415 arch/sh/mm/fault.c 	perf_sw_event(PERF_COUNT_SW_PAGE_FAULTS, 1, regs, address);
regs              422 arch/sh/mm/fault.c 		bad_area_nosemaphore(regs, error_code, address);
regs              431 arch/sh/mm/fault.c 		bad_area(regs, error_code, address);
regs              437 arch/sh/mm/fault.c 		bad_area(regs, error_code, address);
regs              441 arch/sh/mm/fault.c 		bad_area(regs, error_code, address);
regs              451 arch/sh/mm/fault.c 		bad_area_access_error(regs, error_code, address);
regs              457 arch/sh/mm/fault.c 	if (user_mode(regs))
regs              470 arch/sh/mm/fault.c 		if (mm_fault_error(regs, error_code, address, fault))
regs              477 arch/sh/mm/fault.c 				      regs, address);
regs              481 arch/sh/mm/fault.c 				      regs, address);
regs               22 arch/sh/mm/tlbex_32.c handle_tlbmiss(struct pt_regs *regs, unsigned long error_code,
regs               45 arch/sh/oprofile/backtrace.c user_backtrace(unsigned long *stackaddr, struct pt_regs *regs)
regs               67 arch/sh/oprofile/backtrace.c void sh_backtrace(struct pt_regs * const regs, unsigned int depth)
regs               77 arch/sh/oprofile/backtrace.c 	stackaddr = (unsigned long *)kernel_stack_pointer(regs);
regs               78 arch/sh/oprofile/backtrace.c 	if (!user_mode(regs)) {
regs               80 arch/sh/oprofile/backtrace.c 			unwind_stack(NULL, regs, stackaddr,
regs               86 arch/sh/oprofile/backtrace.c 		stackaddr = user_backtrace(stackaddr, regs);
regs               24 arch/sh/oprofile/common.c extern void sh_backtrace(struct pt_regs * const regs, unsigned int depth);
regs               28 arch/sparc/include/asm/bug.h void __noreturn die_if_kernel(char *str, struct pt_regs *regs);
regs              148 arch/sparc/include/asm/compat.h 	struct pt_regs *regs = current_thread_info()->kregs;
regs              149 arch/sparc/include/asm/compat.h 	unsigned long usp = regs->u_regs[UREG_I6];
regs                7 arch/sparc/include/asm/ebus_dma.h 	void __iomem	*regs;
regs              605 arch/sparc/include/asm/floppy_64.h 		sun_pci_fd_ebus_dma.regs = (void __iomem *)
regs              607 arch/sparc/include/asm/floppy_64.h 		if (!sun_pci_fd_ebus_dma.regs)
regs               15 arch/sparc/include/asm/fpumacro.h 	u32	regs[64];
regs              103 arch/sparc/include/asm/iommu_32.h 	struct iommu_regs __iomem *regs;
regs              112 arch/sparc/include/asm/iommu_32.h static inline void iommu_invalidate(struct iommu_regs __iomem *regs)
regs              114 arch/sparc/include/asm/iommu_32.h 	sbus_writel(0, &regs->tlbflush);
regs              117 arch/sparc/include/asm/iommu_32.h static inline void iommu_invalidate_page(struct iommu_regs __iomem *regs, unsigned long ba)
regs              119 arch/sparc/include/asm/iommu_32.h 	sbus_writel(ba & PAGE_MASK, &regs->pageflush);
regs               35 arch/sparc/include/asm/kgdb.h asmlinkage void kgdb_trap(unsigned long trap_level, struct pt_regs *regs);
regs               52 arch/sparc/include/asm/kprobes.h int kprobe_fault_handler(struct pt_regs *regs, int trapnr);
regs               54 arch/sparc/include/asm/kprobes.h 				      struct pt_regs *regs);
regs              231 arch/sparc/include/asm/leon.h void leon3_getCacheRegs(struct leon3_cacheregs *regs);
regs               23 arch/sparc/include/asm/mman.h 		struct pt_regs *regs;
regs               25 arch/sparc/include/asm/mman.h 		regs = task_pt_regs(current);
regs               26 arch/sparc/include/asm/mman.h 		regs->tstate |= TSTATE_MCDE;
regs               34 arch/sparc/include/asm/mman.h 		struct pt_regs *regs;
regs               37 arch/sparc/include/asm/mman.h 			regs = task_pt_regs(current);
regs               38 arch/sparc/include/asm/mman.h 			regs->tstate |= TSTATE_MCDE;
regs              182 arch/sparc/include/asm/mmu_context_64.h 			struct pt_regs *regs;
regs              184 arch/sparc/include/asm/mmu_context_64.h 			regs = task_pt_regs(current);
regs              185 arch/sparc/include/asm/mmu_context_64.h 			regs->tstate |= TSTATE_MCDE;
regs                6 arch/sparc/include/asm/nmi.h void perfctr_irq(int irq, struct pt_regs *regs);
regs               40 arch/sparc/include/asm/page_64.h void hugetlb_setup(struct pt_regs *regs);
regs              141 arch/sparc/include/asm/parport.h 	sparc_ebus_dmas[slot].info.regs =
regs              144 arch/sparc/include/asm/parport.h 	if (!sparc_ebus_dmas[slot].info.regs)
regs              189 arch/sparc/include/asm/parport.h 	of_iounmap(&op->resource[2], sparc_ebus_dmas[slot].info.regs, d_len);
regs              214 arch/sparc/include/asm/parport.h 			   sparc_ebus_dmas[slot].info.regs,
regs               16 arch/sparc/include/asm/pcr.h void deferred_pcr_work_irq(int irq, struct pt_regs *regs);
regs                8 arch/sparc/include/asm/perf_event.h #define perf_arch_fetch_caller_regs(regs, ip)		\
regs               21 arch/sparc/include/asm/perf_event.h 	(regs)->tstate = (_pstate << 8) |		\
regs               23 arch/sparc/include/asm/perf_event.h 	(regs)->tpc = (ip);				\
regs               24 arch/sparc/include/asm/perf_event.h 	(regs)->tnpc = (regs)->tpc + 4;			\
regs               25 arch/sparc/include/asm/perf_event.h 	(regs)->u_regs[UREG_I6] = _fp;			\
regs               26 arch/sparc/include/asm/perf_event.h 	(regs)->u_regs[UREG_I7] = _i7;			\
regs             1146 arch/sparc/include/asm/pgtable_64.h asmlinkage void do_sparc64_fault(struct pt_regs *regs);
regs               66 arch/sparc/include/asm/processor_32.h static inline void start_thread(struct pt_regs * regs, unsigned long pc,
regs               71 arch/sparc/include/asm/processor_32.h 	regs->psr = (regs->psr & (PSR_CWP)) | PSR_S;
regs               72 arch/sparc/include/asm/processor_32.h 	regs->pc = ((pc & (~3)) - 4);
regs               73 arch/sparc/include/asm/processor_32.h 	regs->npc = regs->pc + 4;
regs               74 arch/sparc/include/asm/processor_32.h 	regs->y = 0;
regs               86 arch/sparc/include/asm/processor_32.h 			     : "r" (regs),
regs              105 arch/sparc/include/asm/processor_32.h int do_mathemu(struct pt_regs *regs, struct task_struct *fpt);
regs               97 arch/sparc/include/asm/processor_64.h #define start_thread(regs, pc, sp) \
regs              100 arch/sparc/include/asm/processor_64.h 	regs->tstate = (regs->tstate & (TSTATE_CWP)) | (TSTATE_INITIAL_MM|TSTATE_IE) | (__asi << 24UL); \
regs              101 arch/sparc/include/asm/processor_64.h 	regs->tpc = ((pc & (~3)) - 4); \
regs              102 arch/sparc/include/asm/processor_64.h 	regs->tnpc = regs->tpc + 4; \
regs              103 arch/sparc/include/asm/processor_64.h 	regs->y = 0; \
regs              131 arch/sparc/include/asm/processor_64.h 	: "r" (regs), "r" (sp - sizeof(struct reg_window) - STACK_BIAS), \
regs              136 arch/sparc/include/asm/processor_64.h 	regs->tstate &= ~TSTATE_PEF;	\
regs              139 arch/sparc/include/asm/processor_64.h #define start_thread32(regs, pc, sp) \
regs              144 arch/sparc/include/asm/processor_64.h 	regs->tstate = (regs->tstate & (TSTATE_CWP))|(TSTATE_INITIAL_MM|TSTATE_IE|TSTATE_AM) | (__asi << 24UL); \
regs              145 arch/sparc/include/asm/processor_64.h 	regs->tpc = ((pc & (~3)) - 4); \
regs              146 arch/sparc/include/asm/processor_64.h 	regs->tnpc = regs->tpc + 4; \
regs              147 arch/sparc/include/asm/processor_64.h 	regs->y = 0; \
regs              175 arch/sparc/include/asm/processor_64.h 	: "r" (regs), "r" (sp - sizeof(struct reg_window32)), \
regs              180 arch/sparc/include/asm/processor_64.h 	regs->tstate &= ~TSTATE_PEF;	\
regs              253 arch/sparc/include/asm/processor_64.h int do_mathemu(struct pt_regs *regs, struct fpustate *f, bool illegal_insn_trap);
regs               14 arch/sparc/include/asm/ptrace.h static inline int pt_regs_trap_type(struct pt_regs *regs)
regs               16 arch/sparc/include/asm/ptrace.h 	return regs->magic & 0x1ff;
regs               19 arch/sparc/include/asm/ptrace.h static inline bool pt_regs_is_syscall(struct pt_regs *regs)
regs               21 arch/sparc/include/asm/ptrace.h 	return (regs->tstate & TSTATE_SYSCALL);
regs               24 arch/sparc/include/asm/ptrace.h static inline bool pt_regs_clear_syscall(struct pt_regs *regs)
regs               26 arch/sparc/include/asm/ptrace.h 	return (regs->tstate &= ~TSTATE_SYSCALL);
regs               64 arch/sparc/include/asm/ptrace.h #define user_mode(regs) (!((regs)->tstate & TSTATE_PRIV))
regs               65 arch/sparc/include/asm/ptrace.h #define instruction_pointer(regs) ((regs)->tpc)
regs               66 arch/sparc/include/asm/ptrace.h #define instruction_pointer_set(regs, val) do { \
regs               67 arch/sparc/include/asm/ptrace.h 		(regs)->tpc = (val); \
regs               68 arch/sparc/include/asm/ptrace.h 		(regs)->tnpc = (val)+4; \
regs               70 arch/sparc/include/asm/ptrace.h #define user_stack_pointer(regs) ((regs)->u_regs[UREG_FP])
regs               71 arch/sparc/include/asm/ptrace.h static inline int is_syscall_success(struct pt_regs *regs)
regs               73 arch/sparc/include/asm/ptrace.h 	return !(regs->tstate & (TSTATE_XCARRY | TSTATE_ICARRY));
regs               76 arch/sparc/include/asm/ptrace.h static inline long regs_return_value(struct pt_regs *regs)
regs               78 arch/sparc/include/asm/ptrace.h 	return regs->u_regs[UREG_I0];
regs               83 arch/sparc/include/asm/ptrace.h #define profile_pc(regs) instruction_pointer(regs)
regs               89 arch/sparc/include/asm/ptrace.h unsigned long regs_get_kernel_stack_nth(struct pt_regs *regs, unsigned int n);
regs              101 arch/sparc/include/asm/ptrace.h static inline unsigned long regs_get_register(struct pt_regs *regs,
regs              107 arch/sparc/include/asm/ptrace.h 		return *(unsigned int *)((unsigned long)regs + offset);
regs              108 arch/sparc/include/asm/ptrace.h 	return *(unsigned long *)((unsigned long)regs + offset);
regs              112 arch/sparc/include/asm/ptrace.h static inline unsigned long kernel_stack_pointer(struct pt_regs *regs)
regs              114 arch/sparc/include/asm/ptrace.h 	return regs->u_regs[UREG_I6];
regs              122 arch/sparc/include/asm/ptrace.h static inline bool pt_regs_is_syscall(struct pt_regs *regs)
regs              124 arch/sparc/include/asm/ptrace.h 	return (regs->psr & PSR_SYSCALL);
regs              127 arch/sparc/include/asm/ptrace.h static inline bool pt_regs_clear_syscall(struct pt_regs *regs)
regs              129 arch/sparc/include/asm/ptrace.h 	return (regs->psr &= ~PSR_SYSCALL);
regs              143 arch/sparc/include/asm/ptrace.h #define user_mode(regs) (!((regs)->psr & PSR_PS))
regs              144 arch/sparc/include/asm/ptrace.h #define instruction_pointer(regs) ((regs)->pc)
regs              145 arch/sparc/include/asm/ptrace.h #define user_stack_pointer(regs) ((regs)->u_regs[UREG_FP])
regs               55 arch/sparc/include/asm/setup.h int handle_ldf_stq(u32 insn, struct pt_regs *regs);
regs               56 arch/sparc/include/asm/setup.h void handle_ld_nf(u32 insn, struct pt_regs *regs);
regs               21 arch/sparc/include/asm/syscall.h 				  struct pt_regs *regs)
regs               23 arch/sparc/include/asm/syscall.h 	int syscall_p = pt_regs_is_syscall(regs);
regs               25 arch/sparc/include/asm/syscall.h 	return (syscall_p ? regs->u_regs[UREG_G1] : -1L);
regs               29 arch/sparc/include/asm/syscall.h 				    struct pt_regs *regs)
regs               41 arch/sparc/include/asm/syscall.h static inline bool syscall_has_error(struct pt_regs *regs)
regs               43 arch/sparc/include/asm/syscall.h 	return (regs->psr & PSR_C) ? true : false;
regs               45 arch/sparc/include/asm/syscall.h static inline void syscall_set_error(struct pt_regs *regs)
regs               47 arch/sparc/include/asm/syscall.h 	regs->psr |= PSR_C;
regs               49 arch/sparc/include/asm/syscall.h static inline void syscall_clear_error(struct pt_regs *regs)
regs               51 arch/sparc/include/asm/syscall.h 	regs->psr &= ~PSR_C;
regs               54 arch/sparc/include/asm/syscall.h static inline bool syscall_has_error(struct pt_regs *regs)
regs               56 arch/sparc/include/asm/syscall.h 	return (regs->tstate & (TSTATE_XCARRY | TSTATE_ICARRY)) ? true : false;
regs               58 arch/sparc/include/asm/syscall.h static inline void syscall_set_error(struct pt_regs *regs)
regs               60 arch/sparc/include/asm/syscall.h 	regs->tstate |= (TSTATE_XCARRY | TSTATE_ICARRY);
regs               62 arch/sparc/include/asm/syscall.h static inline void syscall_clear_error(struct pt_regs *regs)
regs               64 arch/sparc/include/asm/syscall.h 	regs->tstate &= ~(TSTATE_XCARRY | TSTATE_ICARRY);
regs               69 arch/sparc/include/asm/syscall.h 				     struct pt_regs *regs)
regs               71 arch/sparc/include/asm/syscall.h 	long val = regs->u_regs[UREG_I0];
regs               73 arch/sparc/include/asm/syscall.h 	return (syscall_has_error(regs) ? -val : 0);
regs               77 arch/sparc/include/asm/syscall.h 					    struct pt_regs *regs)
regs               79 arch/sparc/include/asm/syscall.h 	long val = regs->u_regs[UREG_I0];
regs               85 arch/sparc/include/asm/syscall.h 					    struct pt_regs *regs,
regs               89 arch/sparc/include/asm/syscall.h 		syscall_set_error(regs);
regs               90 arch/sparc/include/asm/syscall.h 		regs->u_regs[UREG_I0] = -error;
regs               92 arch/sparc/include/asm/syscall.h 		syscall_clear_error(regs);
regs               93 arch/sparc/include/asm/syscall.h 		regs->u_regs[UREG_I0] = val;
regs               98 arch/sparc/include/asm/syscall.h 					 struct pt_regs *regs,
regs              111 arch/sparc/include/asm/syscall.h 		unsigned long val = regs->u_regs[UREG_I0 + j];
regs              121 arch/sparc/include/asm/syscall.h 					 struct pt_regs *regs,
regs              127 arch/sparc/include/asm/syscall.h 		regs->u_regs[UREG_I0 + i] = args[i];
regs                9 arch/sparc/include/asm/syscalls.h 			      struct pt_regs *regs,
regs               41 arch/sparc/include/asm/uprobes.h extern int  arch_uprobe_pre_xol(struct arch_uprobe *aup, struct pt_regs *regs);
regs               42 arch/sparc/include/asm/uprobes.h extern int  arch_uprobe_post_xol(struct arch_uprobe *aup, struct pt_regs *regs);
regs               45 arch/sparc/include/asm/uprobes.h extern void arch_uprobe_abort_xol(struct arch_uprobe *aup, struct pt_regs *regs);
regs               89 arch/sparc/include/uapi/asm/ptrace.h 	struct pt_regs *regs;
regs               35 arch/sparc/kernel/apc.c static u8 __iomem *regs;
regs               38 arch/sparc/kernel/apc.c #define apc_readb(offs)		(sbus_readb(regs+offs))
regs               39 arch/sparc/kernel/apc.c #define apc_writeb(val, offs) 	(sbus_writeb(val, regs+offs))
regs               76 arch/sparc/kernel/apc.c 	of_iounmap(&op->resource[0], regs, resource_size(&op->resource[0]));
regs              147 arch/sparc/kernel/apc.c 	regs = of_ioremap(&op->resource[0], 0,
regs              149 arch/sparc/kernel/apc.c 	if (!regs) {
regs              114 arch/sparc/kernel/auxio_32.c 	struct linux_prom_registers regs;
regs              127 arch/sparc/kernel/auxio_32.c 	if (prom_getproperty(node, "reg", (char *)&regs, sizeof(regs)) <= 0)
regs              129 arch/sparc/kernel/auxio_32.c 	prom_apply_obio_ranges(&regs, 1);
regs              131 arch/sparc/kernel/auxio_32.c 	r.flags = regs.which_io & 0xF;
regs              132 arch/sparc/kernel/auxio_32.c 	r.start = regs.phys_addr;
regs              133 arch/sparc/kernel/auxio_32.c 	r.end = regs.phys_addr + regs.reg_size - 1;
regs              135 arch/sparc/kernel/auxio_32.c 		(u8 __iomem *)of_ioremap(&r, 0, regs.reg_size, "auxpower");
regs               95 arch/sparc/kernel/chmc.c 	void __iomem			*regs;
regs              171 arch/sparc/kernel/chmc.c 	void __iomem			*regs;
regs              445 arch/sparc/kernel/chmc.c 	p->regs = of_ioremap(&op->resource[0], 0, JBUSMC_REGS_SIZE, "jbusmc");
regs              446 arch/sparc/kernel/chmc.c 	if (!p->regs) {
regs              479 arch/sparc/kernel/chmc.c 	of_iounmap(&op->resource[0], p->regs, JBUSMC_REGS_SIZE);
regs              605 arch/sparc/kernel/chmc.c 				     : "r" (p->regs + offset),
regs              624 arch/sparc/kernel/chmc.c 				         "r" (p->regs + offset),
regs              733 arch/sparc/kernel/chmc.c 	p->regs = of_ioremap(&op->resource[0], 0, 0x48, "chmc");
regs              734 arch/sparc/kernel/chmc.c 	if (!p->regs) {
regs              779 arch/sparc/kernel/chmc.c 	of_iounmap(&op->resource[0], p->regs, 0x48);
regs              786 arch/sparc/kernel/chmc.c 	of_iounmap(&op->resource[0], p->regs, JBUSMC_REGS_SIZE);
regs               55 arch/sparc/kernel/ebus.c 	writel(EBDMA_CSR_RESET, p->regs + EBDMA_CSR);
regs               62 arch/sparc/kernel/ebus.c 		val = readl(p->regs + EBDMA_CSR);
regs               77 arch/sparc/kernel/ebus.c 	csr = readl(p->regs + EBDMA_CSR);
regs               78 arch/sparc/kernel/ebus.c 	writel(csr, p->regs + EBDMA_CSR);
regs              101 arch/sparc/kernel/ebus.c 	if (!p->regs)
regs              118 arch/sparc/kernel/ebus.c 	writel(csr, p->regs + EBDMA_CSR);
regs              136 arch/sparc/kernel/ebus.c 		csr = readl(p->regs + EBDMA_CSR);
regs              138 arch/sparc/kernel/ebus.c 		writel(csr, p->regs + EBDMA_CSR);
regs              142 arch/sparc/kernel/ebus.c 		csr = readl(p->regs + EBDMA_CSR);
regs              144 arch/sparc/kernel/ebus.c 		writel(csr, p->regs + EBDMA_CSR);
regs              163 arch/sparc/kernel/ebus.c 	csr = readl(p->regs + EBDMA_CSR);
regs              166 arch/sparc/kernel/ebus.c 		writel(csr, p->regs + EBDMA_CSR);
regs              186 arch/sparc/kernel/ebus.c 	csr = readl(p->regs + EBDMA_CSR);
regs              194 arch/sparc/kernel/ebus.c 	writel(len,      p->regs + EBDMA_COUNT);
regs              195 arch/sparc/kernel/ebus.c 	writel(bus_addr, p->regs + EBDMA_ADDR);
regs              223 arch/sparc/kernel/ebus.c 	writel(csr, p->regs + EBDMA_CSR);
regs              231 arch/sparc/kernel/ebus.c 	return readl(p->regs + EBDMA_COUNT);
regs              237 arch/sparc/kernel/ebus.c 	return readl(p->regs + EBDMA_ADDR);
regs              247 arch/sparc/kernel/ebus.c 	orig_csr = csr = readl(p->regs + EBDMA_CSR);
regs              254 arch/sparc/kernel/ebus.c 		writel(csr, p->regs + EBDMA_CSR);
regs               10 arch/sparc/kernel/entry.h void handler_irq(int irq, struct pt_regs *regs);
regs               14 arch/sparc/kernel/entry.h void do_hw_interrupt(struct pt_regs *regs, unsigned long type);
regs               15 arch/sparc/kernel/entry.h void do_illegal_instruction(struct pt_regs *regs, unsigned long pc,
regs               18 arch/sparc/kernel/entry.h void do_priv_instruction(struct pt_regs *regs, unsigned long pc,
regs               20 arch/sparc/kernel/entry.h void do_memaccess_unaligned(struct pt_regs *regs, unsigned long pc,
regs               22 arch/sparc/kernel/entry.h void do_fpd_trap(struct pt_regs *regs, unsigned long pc,
regs               24 arch/sparc/kernel/entry.h void do_fpe_trap(struct pt_regs *regs, unsigned long pc,
regs               26 arch/sparc/kernel/entry.h void handle_tag_overflow(struct pt_regs *regs, unsigned long pc,
regs               28 arch/sparc/kernel/entry.h void handle_watchpoint(struct pt_regs *regs, unsigned long pc,
regs               30 arch/sparc/kernel/entry.h void handle_reg_access(struct pt_regs *regs, unsigned long pc,
regs               32 arch/sparc/kernel/entry.h void handle_cp_disabled(struct pt_regs *regs, unsigned long pc,
regs               34 arch/sparc/kernel/entry.h void handle_cp_exception(struct pt_regs *regs, unsigned long pc,
regs               78 arch/sparc/kernel/entry.h asmlinkage void sparc_breakpoint(struct pt_regs *regs);
regs               79 arch/sparc/kernel/entry.h void timer_interrupt(int irq, struct pt_regs *regs);
regs               81 arch/sparc/kernel/entry.h void do_notify_resume(struct pt_regs *regs,
regs               85 arch/sparc/kernel/entry.h asmlinkage int syscall_trace_enter(struct pt_regs *regs);
regs               86 arch/sparc/kernel/entry.h asmlinkage void syscall_trace_leave(struct pt_regs *regs);
regs               88 arch/sparc/kernel/entry.h void bad_trap_tl1(struct pt_regs *regs, long lvl);
regs               90 arch/sparc/kernel/entry.h void do_fpieee(struct pt_regs *regs);
regs               91 arch/sparc/kernel/entry.h void do_fpother(struct pt_regs *regs);
regs               92 arch/sparc/kernel/entry.h void do_tof(struct pt_regs *regs);
regs               93 arch/sparc/kernel/entry.h void do_div0(struct pt_regs *regs);
regs               94 arch/sparc/kernel/entry.h void do_illegal_instruction(struct pt_regs *regs);
regs               95 arch/sparc/kernel/entry.h void mem_address_unaligned(struct pt_regs *regs,
regs               98 arch/sparc/kernel/entry.h void sun4v_do_mna(struct pt_regs *regs,
regs              101 arch/sparc/kernel/entry.h void do_privop(struct pt_regs *regs);
regs              102 arch/sparc/kernel/entry.h void do_privact(struct pt_regs *regs);
regs              103 arch/sparc/kernel/entry.h void do_cee(struct pt_regs *regs);
regs              104 arch/sparc/kernel/entry.h void do_div0_tl1(struct pt_regs *regs);
regs              105 arch/sparc/kernel/entry.h void do_fpieee_tl1(struct pt_regs *regs);
regs              106 arch/sparc/kernel/entry.h void do_fpother_tl1(struct pt_regs *regs);
regs              107 arch/sparc/kernel/entry.h void do_ill_tl1(struct pt_regs *regs);
regs              108 arch/sparc/kernel/entry.h void do_irq_tl1(struct pt_regs *regs);
regs              109 arch/sparc/kernel/entry.h void do_lddfmna_tl1(struct pt_regs *regs);
regs              110 arch/sparc/kernel/entry.h void do_stdfmna_tl1(struct pt_regs *regs);
regs              111 arch/sparc/kernel/entry.h void do_paw(struct pt_regs *regs);
regs              112 arch/sparc/kernel/entry.h void do_paw_tl1(struct pt_regs *regs);
regs              113 arch/sparc/kernel/entry.h void do_vaw(struct pt_regs *regs);
regs              114 arch/sparc/kernel/entry.h void do_vaw_tl1(struct pt_regs *regs);
regs              115 arch/sparc/kernel/entry.h void do_tof_tl1(struct pt_regs *regs);
regs              116 arch/sparc/kernel/entry.h void do_getpsr(struct pt_regs *regs);
regs              118 arch/sparc/kernel/entry.h void spitfire_insn_access_exception(struct pt_regs *regs,
regs              121 arch/sparc/kernel/entry.h void spitfire_insn_access_exception_tl1(struct pt_regs *regs,
regs              124 arch/sparc/kernel/entry.h void spitfire_data_access_exception(struct pt_regs *regs,
regs              127 arch/sparc/kernel/entry.h void spitfire_data_access_exception_tl1(struct pt_regs *regs,
regs              130 arch/sparc/kernel/entry.h void spitfire_access_error(struct pt_regs *regs,
regs              134 arch/sparc/kernel/entry.h void cheetah_fecc_handler(struct pt_regs *regs,
regs              137 arch/sparc/kernel/entry.h void cheetah_cee_handler(struct pt_regs *regs,
regs              140 arch/sparc/kernel/entry.h void cheetah_deferred_handler(struct pt_regs *regs,
regs              143 arch/sparc/kernel/entry.h void cheetah_plus_parity_error(int type, struct pt_regs *regs);
regs              145 arch/sparc/kernel/entry.h void sun4v_insn_access_exception(struct pt_regs *regs,
regs              148 arch/sparc/kernel/entry.h void sun4v_insn_access_exception_tl1(struct pt_regs *regs,
regs              151 arch/sparc/kernel/entry.h void sun4v_data_access_exception(struct pt_regs *regs,
regs              154 arch/sparc/kernel/entry.h void sun4v_data_access_exception_tl1(struct pt_regs *regs,
regs              157 arch/sparc/kernel/entry.h void sun4v_resum_error(struct pt_regs *regs,
regs              159 arch/sparc/kernel/entry.h void sun4v_resum_overflow(struct pt_regs *regs);
regs              160 arch/sparc/kernel/entry.h void sun4v_nonresum_error(struct pt_regs *regs,
regs              162 arch/sparc/kernel/entry.h void sun4v_nonresum_overflow(struct pt_regs *regs);
regs              163 arch/sparc/kernel/entry.h void sun4v_mem_corrupt_detect_precise(struct pt_regs *regs,
regs              172 arch/sparc/kernel/entry.h void sun4v_itlb_error_report(struct pt_regs *regs, int tl);
regs              179 arch/sparc/kernel/entry.h void sun4v_dtlb_error_report(struct pt_regs *regs, int tl);
regs               82 arch/sparc/kernel/irq.h void handler_irq(unsigned int pil, struct pt_regs *regs);
regs               87 arch/sparc/kernel/irq.h void sparc_floppy_irq(int irq, void *dev_id, struct pt_regs *regs);
regs               90 arch/sparc/kernel/irq.h void sun4m_nmi(struct pt_regs *regs);
regs               93 arch/sparc/kernel/irq.h void sun4d_handler_irq(unsigned int pil, struct pt_regs *regs);
regs              218 arch/sparc/kernel/irq_32.c void handler_irq(unsigned int pil, struct pt_regs *regs)
regs              224 arch/sparc/kernel/irq_32.c 	old_regs = set_irq_regs(regs);
regs              319 arch/sparc/kernel/irq_32.c void sparc_floppy_irq(int irq, void *dev_id, struct pt_regs *regs)
regs              323 arch/sparc/kernel/irq_32.c 	old_regs = set_irq_regs(regs);
regs              814 arch/sparc/kernel/irq_64.c void __irq_entry handler_irq(int pil, struct pt_regs *regs)
regs              822 arch/sparc/kernel/irq_64.c 	old_regs = set_irq_regs(regs);
regs               33 arch/sparc/kernel/kernel.h asmlinkage void kernel_unaligned_trap(struct pt_regs *regs, unsigned int insn);
regs               34 arch/sparc/kernel/kernel.h int handle_popc(u32 insn, struct pt_regs *regs);
regs               35 arch/sparc/kernel/kernel.h void handle_lddfmna(struct pt_regs *regs, unsigned long sfar, unsigned long sfsr);
regs               36 arch/sparc/kernel/kernel.h void handle_stdfmna(struct pt_regs *regs, unsigned long sfar, unsigned long sfsr);
regs               39 arch/sparc/kernel/kernel.h void __irq_entry smp_call_function_client(int irq, struct pt_regs *regs);
regs               40 arch/sparc/kernel/kernel.h void __irq_entry smp_call_function_single_client(int irq, struct pt_regs *regs);
regs               41 arch/sparc/kernel/kernel.h void __irq_entry smp_penguin_jailcell(int irq, struct pt_regs *regs);
regs               42 arch/sparc/kernel/kernel.h void __irq_entry smp_receive_signal_client(int irq, struct pt_regs *regs);
regs               45 arch/sparc/kernel/kernel.h void __irq_entry smp_kgdb_capture_client(int irq, struct pt_regs *regs);
regs               55 arch/sparc/kernel/kernel.h void do_sigreturn32(struct pt_regs *regs);
regs               56 arch/sparc/kernel/kernel.h asmlinkage void do_rt_sigreturn32(struct pt_regs *regs);
regs               57 arch/sparc/kernel/kernel.h void do_signal32(struct pt_regs * regs);
regs               81 arch/sparc/kernel/kernel.h void handle_hw_divzero(struct pt_regs *regs, unsigned long pc,
regs               88 arch/sparc/kernel/kernel.h void unexpected_irq(int irq, void *dev_id, struct pt_regs * regs);
regs              103 arch/sparc/kernel/kernel.h void smp4m_percpu_timer_interrupt(struct pt_regs *regs);
regs              124 arch/sparc/kernel/kernel.h void smp4d_percpu_timer_interrupt(struct pt_regs *regs);
regs              159 arch/sparc/kernel/kernel.h                              struct pt_regs *regs,
regs              163 arch/sparc/kernel/kernel.h asmlinkage void do_sigreturn(struct pt_regs *regs);
regs              164 arch/sparc/kernel/kernel.h asmlinkage void do_rt_sigreturn(struct pt_regs *regs);
regs              165 arch/sparc/kernel/kernel.h void do_notify_resume(struct pt_regs *regs, unsigned long orig_i0,
regs              172 arch/sparc/kernel/kernel.h asmlinkage int syscall_trace(struct pt_regs *regs, int syscall_exit_p);
regs              175 arch/sparc/kernel/kernel.h asmlinkage void kernel_unaligned_trap(struct pt_regs *regs, unsigned int insn);
regs              176 arch/sparc/kernel/kernel.h asmlinkage void user_unaligned_trap(struct pt_regs *regs, unsigned int insn);
regs              179 arch/sparc/kernel/kernel.h void try_to_clear_window_buffer(struct pt_regs *regs, int who);
regs              187 arch/sparc/kernel/kernel.h void pcic_nmi(unsigned int pend, struct pt_regs *regs);
regs               19 arch/sparc/kernel/kgdb_32.c void pt_regs_to_gdb_regs(unsigned long *gdb_regs, struct pt_regs *regs)
regs               26 arch/sparc/kernel/kgdb_32.c 		gdb_regs[GDB_G1 + i] = regs->u_regs[UREG_G1 + i];
regs               28 arch/sparc/kernel/kgdb_32.c 	win = (struct reg_window32 *) regs->u_regs[UREG_FP];
regs               37 arch/sparc/kernel/kgdb_32.c 	gdb_regs[GDB_Y] = regs->y;
regs               38 arch/sparc/kernel/kgdb_32.c 	gdb_regs[GDB_PSR] = regs->psr;
regs               41 arch/sparc/kernel/kgdb_32.c 	gdb_regs[GDB_PC] = regs->pc;
regs               42 arch/sparc/kernel/kgdb_32.c 	gdb_regs[GDB_NPC] = regs->npc;
regs               82 arch/sparc/kernel/kgdb_32.c void gdb_regs_to_pt_regs(unsigned long *gdb_regs, struct pt_regs *regs)
regs               88 arch/sparc/kernel/kgdb_32.c 		regs->u_regs[UREG_G1 + i] = gdb_regs[GDB_G1 + i];
regs               93 arch/sparc/kernel/kgdb_32.c 	if (regs->psr != gdb_regs[GDB_PSR]) {
regs               94 arch/sparc/kernel/kgdb_32.c 		unsigned long cwp = regs->psr & PSR_CWP;
regs               96 arch/sparc/kernel/kgdb_32.c 		regs->psr = (gdb_regs[GDB_PSR] & ~PSR_CWP) | cwp;
regs               99 arch/sparc/kernel/kgdb_32.c 	regs->pc = gdb_regs[GDB_PC];
regs              100 arch/sparc/kernel/kgdb_32.c 	regs->npc = gdb_regs[GDB_NPC];
regs              101 arch/sparc/kernel/kgdb_32.c 	regs->y = gdb_regs[GDB_Y];
regs              103 arch/sparc/kernel/kgdb_32.c 	win = (struct reg_window32 *) regs->u_regs[UREG_FP];
regs              138 arch/sparc/kernel/kgdb_32.c asmlinkage void kgdb_trap(unsigned long trap_level, struct pt_regs *regs)
regs              142 arch/sparc/kernel/kgdb_32.c 	if (user_mode(regs)) {
regs              143 arch/sparc/kernel/kgdb_32.c 		do_hw_interrupt(regs, trap_level);
regs              150 arch/sparc/kernel/kgdb_32.c 	kgdb_handle_exception(trap_level, SIGTRAP, 0, regs);
regs              163 arch/sparc/kernel/kgdb_32.c void kgdb_arch_set_pc(struct pt_regs *regs, unsigned long ip)
regs              165 arch/sparc/kernel/kgdb_32.c 	regs->pc = ip;
regs              166 arch/sparc/kernel/kgdb_32.c 	regs->npc = regs->pc + 4;
regs               19 arch/sparc/kernel/kgdb_64.c void pt_regs_to_gdb_regs(unsigned long *gdb_regs, struct pt_regs *regs)
regs               26 arch/sparc/kernel/kgdb_64.c 		gdb_regs[GDB_G1 + i] = regs->u_regs[UREG_G1 + i];
regs               28 arch/sparc/kernel/kgdb_64.c 	win = (struct reg_window *) (regs->u_regs[UREG_FP] + STACK_BIAS);
regs               37 arch/sparc/kernel/kgdb_64.c 	gdb_regs[GDB_PC] = regs->tpc;
regs               38 arch/sparc/kernel/kgdb_64.c 	gdb_regs[GDB_NPC] = regs->tnpc;
regs               39 arch/sparc/kernel/kgdb_64.c 	gdb_regs[GDB_STATE] = regs->tstate;
regs               42 arch/sparc/kernel/kgdb_64.c 	gdb_regs[GDB_Y] = regs->y;
regs               88 arch/sparc/kernel/kgdb_64.c void gdb_regs_to_pt_regs(unsigned long *gdb_regs, struct pt_regs *regs)
regs               94 arch/sparc/kernel/kgdb_64.c 		regs->u_regs[UREG_G1 + i] = gdb_regs[GDB_G1 + i];
regs               99 arch/sparc/kernel/kgdb_64.c 	if (regs->tstate != gdb_regs[GDB_STATE]) {
regs              100 arch/sparc/kernel/kgdb_64.c 		unsigned long cwp = regs->tstate & TSTATE_CWP;
regs              102 arch/sparc/kernel/kgdb_64.c 		regs->tstate = (gdb_regs[GDB_STATE] & ~TSTATE_CWP) | cwp;
regs              105 arch/sparc/kernel/kgdb_64.c 	regs->tpc = gdb_regs[GDB_PC];
regs              106 arch/sparc/kernel/kgdb_64.c 	regs->tnpc = gdb_regs[GDB_NPC];
regs              107 arch/sparc/kernel/kgdb_64.c 	regs->y = gdb_regs[GDB_Y];
regs              109 arch/sparc/kernel/kgdb_64.c 	win = (struct reg_window *) (regs->u_regs[UREG_FP] + STACK_BIAS);
regs              117 arch/sparc/kernel/kgdb_64.c void __irq_entry smp_kgdb_capture_client(int irq, struct pt_regs *regs)
regs              129 arch/sparc/kernel/kgdb_64.c 		kgdb_nmicallback(raw_smp_processor_id(), regs);
regs              164 arch/sparc/kernel/kgdb_64.c asmlinkage void kgdb_trap(unsigned long trap_level, struct pt_regs *regs)
regs              169 arch/sparc/kernel/kgdb_64.c 	if (user_mode(regs)) {
regs              170 arch/sparc/kernel/kgdb_64.c 		bad_trap(regs, trap_level);
regs              177 arch/sparc/kernel/kgdb_64.c 	kgdb_handle_exception(0x172, SIGTRAP, 0, regs);
regs              192 arch/sparc/kernel/kgdb_64.c void kgdb_arch_set_pc(struct pt_regs *regs, unsigned long ip)
regs              194 arch/sparc/kernel/kgdb_64.c 	regs->tpc = ip;
regs              195 arch/sparc/kernel/kgdb_64.c 	regs->tnpc = regs->tpc + 4;
regs               93 arch/sparc/kernel/kprobes.c static void __kprobes set_current_kprobe(struct kprobe *p, struct pt_regs *regs,
regs               97 arch/sparc/kernel/kprobes.c 	kcb->kprobe_orig_tnpc = regs->tnpc;
regs               98 arch/sparc/kernel/kprobes.c 	kcb->kprobe_orig_tstate_pil = (regs->tstate & TSTATE_PIL);
regs              101 arch/sparc/kernel/kprobes.c static void __kprobes prepare_singlestep(struct kprobe *p, struct pt_regs *regs,
regs              104 arch/sparc/kernel/kprobes.c 	regs->tstate |= TSTATE_PIL;
regs              108 arch/sparc/kernel/kprobes.c 		regs->tpc = (unsigned long) p->addr;
regs              109 arch/sparc/kernel/kprobes.c 		regs->tnpc = kcb->kprobe_orig_tnpc;
regs              111 arch/sparc/kernel/kprobes.c 		regs->tpc = (unsigned long) &p->ainsn.insn[0];
regs              112 arch/sparc/kernel/kprobes.c 		regs->tnpc = (unsigned long) &p->ainsn.insn[1];
regs              116 arch/sparc/kernel/kprobes.c static int __kprobes kprobe_handler(struct pt_regs *regs)
regs              119 arch/sparc/kernel/kprobes.c 	void *addr = (void *) regs->tpc;
regs              134 arch/sparc/kernel/kprobes.c 				regs->tstate = ((regs->tstate & ~TSTATE_PIL) |
regs              145 arch/sparc/kernel/kprobes.c 			set_current_kprobe(p, regs, kcb);
regs              148 arch/sparc/kernel/kprobes.c 			prepare_singlestep(p, regs, kcb);
regs              176 arch/sparc/kernel/kprobes.c 	set_current_kprobe(p, regs, kcb);
regs              178 arch/sparc/kernel/kprobes.c 	if (p->pre_handler && p->pre_handler(p, regs)) {
regs              184 arch/sparc/kernel/kprobes.c 	prepare_singlestep(p, regs, kcb);
regs              202 arch/sparc/kernel/kprobes.c 					       struct pt_regs *regs)
regs              207 arch/sparc/kernel/kprobes.c 	if (regs->tnpc == regs->tpc + 0x4UL)
regs              224 arch/sparc/kernel/kprobes.c 		return (real_pc + (regs->tnpc - ainsn_addr));
regs              230 arch/sparc/kernel/kprobes.c 	return regs->tnpc;
regs              236 arch/sparc/kernel/kprobes.c static void __kprobes retpc_fixup(struct pt_regs *regs, u32 insn,
regs              243 arch/sparc/kernel/kprobes.c 		slot = &regs->u_regs[UREG_I7];
regs              251 arch/sparc/kernel/kprobes.c 			slot = &regs->u_regs[rd];
regs              258 arch/sparc/kernel/kprobes.c 				(regs->u_regs[UREG_FP] + STACK_BIAS);
regs              278 arch/sparc/kernel/kprobes.c 		struct pt_regs *regs, struct kprobe_ctlblk *kcb)
regs              282 arch/sparc/kernel/kprobes.c 	regs->tnpc = relbranch_fixup(insn, p, regs);
regs              285 arch/sparc/kernel/kprobes.c 	regs->tpc = kcb->kprobe_orig_tnpc;
regs              287 arch/sparc/kernel/kprobes.c 	retpc_fixup(regs, insn, (unsigned long) p->addr);
regs              289 arch/sparc/kernel/kprobes.c 	regs->tstate = ((regs->tstate & ~TSTATE_PIL) |
regs              293 arch/sparc/kernel/kprobes.c static int __kprobes post_kprobe_handler(struct pt_regs *regs)
regs              303 arch/sparc/kernel/kprobes.c 		cur->post_handler(cur, regs, 0);
regs              306 arch/sparc/kernel/kprobes.c 	resume_execution(cur, regs, kcb);
regs              320 arch/sparc/kernel/kprobes.c int __kprobes kprobe_fault_handler(struct pt_regs *regs, int trapnr)
regs              336 arch/sparc/kernel/kprobes.c 		regs->tpc = (unsigned long)cur->addr;
regs              337 arch/sparc/kernel/kprobes.c 		regs->tnpc = kcb->kprobe_orig_tnpc;
regs              338 arch/sparc/kernel/kprobes.c 		regs->tstate = ((regs->tstate & ~TSTATE_PIL) |
regs              362 arch/sparc/kernel/kprobes.c 		if (cur->fault_handler && cur->fault_handler(cur, regs, trapnr))
regs              370 arch/sparc/kernel/kprobes.c 		entry = search_exception_tables(regs->tpc);
regs              372 arch/sparc/kernel/kprobes.c 			regs->tpc = entry->fixup;
regs              373 arch/sparc/kernel/kprobes.c 			regs->tnpc = regs->tpc + 4;
regs              398 arch/sparc/kernel/kprobes.c 	if (args->regs && user_mode(args->regs))
regs              403 arch/sparc/kernel/kprobes.c 		if (kprobe_handler(args->regs))
regs              407 arch/sparc/kernel/kprobes.c 		if (post_kprobe_handler(args->regs))
regs              417 arch/sparc/kernel/kprobes.c 				      struct pt_regs *regs)
regs              423 arch/sparc/kernel/kprobes.c 	if (user_mode(regs)) {
regs              425 arch/sparc/kernel/kprobes.c 		bad_trap(regs, trap_level);
regs              434 arch/sparc/kernel/kprobes.c 		       regs, 0, trap_level, SIGTRAP) != NOTIFY_STOP)
regs              435 arch/sparc/kernel/kprobes.c 		bad_trap(regs, trap_level);
regs              453 arch/sparc/kernel/kprobes.c 				      struct pt_regs *regs)
regs              455 arch/sparc/kernel/kprobes.c 	ri->ret_addr = (kprobe_opcode_t *)(regs->u_regs[UREG_RETPC] + 8);
regs              458 arch/sparc/kernel/kprobes.c 	regs->u_regs[UREG_RETPC] =
regs              466 arch/sparc/kernel/kprobes.c 					      struct pt_regs *regs)
regs              496 arch/sparc/kernel/kprobes.c 			ri->rp->handler(ri, regs);
regs              511 arch/sparc/kernel/kprobes.c 	regs->tpc = orig_ret_address;
regs              512 arch/sparc/kernel/kprobes.c 	regs->tnpc = orig_ret_address + 4;
regs               37 arch/sparc/kernel/kstack.h static inline bool kstack_is_trap_frame(struct thread_info *tp, struct pt_regs *regs)
regs               40 arch/sparc/kernel/kstack.h 	unsigned long addr = (unsigned long) regs;
regs               43 arch/sparc/kernel/kstack.h 	    addr <= (base + THREAD_SIZE - sizeof(*regs)))
regs               49 arch/sparc/kernel/kstack.h 		    addr <= (base + THREAD_SIZE - sizeof(*regs)))
regs               53 arch/sparc/kernel/kstack.h 		    addr <= (base + THREAD_SIZE - sizeof(*regs)))
regs               59 arch/sparc/kernel/kstack.h 	if ((regs->magic & ~0x1ff) == PT_REGS_MAGIC)
regs               84 arch/sparc/kernel/leon_pci_grpci1.c 	struct grpci1_regs __iomem *regs;		/* GRPCI register map */
regs              133 arch/sparc/kernel/leon_pci_grpci1.c 	cfg = REGLOAD(priv->regs->cfg_stat);
regs              134 arch/sparc/kernel/leon_pci_grpci1.c 	REGSTORE(priv->regs->cfg_stat, (cfg & ~(0xf << 23)) | (bus << 23));
regs              141 arch/sparc/kernel/leon_pci_grpci1.c 	if (REGLOAD(priv->regs->cfg_stat) & CFGSTAT_CTO) {
regs              144 arch/sparc/kernel/leon_pci_grpci1.c 		tmp = REGLOAD(priv->regs->stat_cmd);
regs              196 arch/sparc/kernel/leon_pci_grpci1.c 	cfg = REGLOAD(priv->regs->cfg_stat);
regs              197 arch/sparc/kernel/leon_pci_grpci1.c 	REGSTORE(priv->regs->cfg_stat, (cfg & ~(0xf << 23)) | (bus << 23));
regs              325 arch/sparc/kernel/leon_pci_grpci1.c 	REGSTORE(priv->regs->irq, REGLOAD(priv->regs->irq) & ~(1 << irqidx));
regs              338 arch/sparc/kernel/leon_pci_grpci1.c 	REGSTORE(priv->regs->irq, REGLOAD(priv->regs->irq) | (1 << irqidx));
regs              367 arch/sparc/kernel/leon_pci_grpci1.c 	irqreg = REGLOAD(priv->regs->irq);
regs              424 arch/sparc/kernel/leon_pci_grpci1.c 	struct grpci1_regs __iomem *regs = priv->regs;
regs              427 arch/sparc/kernel/leon_pci_grpci1.c 	REGSTORE(regs->cfg_stat, priv->pci_area & 0xf0000000);
regs              431 arch/sparc/kernel/leon_pci_grpci1.c 	REGSTORE(regs->page1, ahbadr);
regs              434 arch/sparc/kernel/leon_pci_grpci1.c 	REGSTORE(regs->iomap, REGLOAD(regs->iomap) & 0x0000ffff);
regs              437 arch/sparc/kernel/leon_pci_grpci1.c 	REGSTORE(regs->irq, 0);
regs              513 arch/sparc/kernel/leon_pci_grpci1.c 	struct grpci1_regs __iomem *regs;
regs              540 arch/sparc/kernel/leon_pci_grpci1.c 	regs = devm_ioremap_resource(&ofdev->dev, res);
regs              541 arch/sparc/kernel/leon_pci_grpci1.c 	if (IS_ERR(regs))
regs              542 arch/sparc/kernel/leon_pci_grpci1.c 		return PTR_ERR(regs);
regs              548 arch/sparc/kernel/leon_pci_grpci1.c 	cfg = REGLOAD(regs->cfg_stat);
regs              555 arch/sparc/kernel/leon_pci_grpci1.c 	REGSTORE(regs->page1, 0xffffffff);
regs              556 arch/sparc/kernel/leon_pci_grpci1.c 	size = ~REGLOAD(regs->page1) + 1;
regs              563 arch/sparc/kernel/leon_pci_grpci1.c 	if ((REGLOAD(regs->page0) & PAGE0_BTEN) == 0) {
regs              568 arch/sparc/kernel/leon_pci_grpci1.c 	priv->regs = regs;
regs              570 arch/sparc/kernel/leon_pci_grpci1.c 	dev_info(&ofdev->dev, "host found at 0x%p, irq%d\n", regs, priv->irq);
regs              680 arch/sparc/kernel/leon_pci_grpci1.c 	REGSTORE(regs->irq, err_mask);
regs              195 arch/sparc/kernel/leon_pci_grpci2.c 	struct grpci2_regs __iomem *regs;
regs              253 arch/sparc/kernel/leon_pci_grpci2.c 	REGSTORE(priv->regs->ctrl, (REGLOAD(priv->regs->ctrl) & ~(0xff << 16)) |
regs              258 arch/sparc/kernel/leon_pci_grpci2.c 	REGSTORE(priv->regs->sts_cap, (STS_CFGERR | STS_CFGERRVALID));
regs              267 arch/sparc/kernel/leon_pci_grpci2.c 	while ((REGLOAD(priv->regs->sts_cap) & STS_CFGERRVALID) == 0)
regs              270 arch/sparc/kernel/leon_pci_grpci2.c 	if (REGLOAD(priv->regs->sts_cap) & STS_CFGERR) {
regs              323 arch/sparc/kernel/leon_pci_grpci2.c 	REGSTORE(priv->regs->ctrl, (REGLOAD(priv->regs->ctrl) & ~(0xff << 16)) |
regs              328 arch/sparc/kernel/leon_pci_grpci2.c 	REGSTORE(priv->regs->sts_cap, (STS_CFGERR | STS_CFGERRVALID));
regs              337 arch/sparc/kernel/leon_pci_grpci2.c 	while ((REGLOAD(priv->regs->sts_cap) & STS_CFGERRVALID) == 0)
regs              463 arch/sparc/kernel/leon_pci_grpci2.c 	REGSTORE(priv->regs->ctrl, REGLOAD(priv->regs->ctrl) & ~(1 << irqidx));
regs              478 arch/sparc/kernel/leon_pci_grpci2.c 	REGSTORE(priv->regs->ctrl, REGLOAD(priv->regs->ctrl) | (1 << irqidx));
regs              508 arch/sparc/kernel/leon_pci_grpci2.c 	ctrl = REGLOAD(priv->regs->ctrl);
regs              509 arch/sparc/kernel/leon_pci_grpci2.c 	sts_cap = REGLOAD(priv->regs->sts_cap);
regs              568 arch/sparc/kernel/leon_pci_grpci2.c 	struct grpci2_regs __iomem *regs = priv->regs;
regs              575 arch/sparc/kernel/leon_pci_grpci2.c 		REGSTORE(regs->ctrl, CTRL_RESET);
regs              578 arch/sparc/kernel/leon_pci_grpci2.c 	REGSTORE(regs->ctrl, 0);
regs              579 arch/sparc/kernel/leon_pci_grpci2.c 	REGSTORE(regs->sts_cap, ~0); /* Clear Status */
regs              580 arch/sparc/kernel/leon_pci_grpci2.c 	REGSTORE(regs->dma_ctrl, 0);
regs              581 arch/sparc/kernel/leon_pci_grpci2.c 	REGSTORE(regs->dma_bdbase, 0);
regs              584 arch/sparc/kernel/leon_pci_grpci2.c 	REGSTORE(regs->io_map, REGLOAD(regs->io_map) & 0x0000ffff);
regs              590 arch/sparc/kernel/leon_pci_grpci2.c 		REGSTORE(regs->ahbmst_map[i], priv->pci_area);
regs              646 arch/sparc/kernel/leon_pci_grpci2.c 	REGSTORE(regs->ctrl, CTRL_ER | CTRL_PE);
regs              659 arch/sparc/kernel/leon_pci_grpci2.c 	struct grpci2_regs __iomem *regs = priv->regs;
regs              662 arch/sparc/kernel/leon_pci_grpci2.c 	status = REGLOAD(regs->sts_cap);
regs              679 arch/sparc/kernel/leon_pci_grpci2.c 	REGSTORE(regs->sts_cap, status & STS_ERR_IRQ);
regs              686 arch/sparc/kernel/leon_pci_grpci2.c 	struct grpci2_regs __iomem *regs;
regs              703 arch/sparc/kernel/leon_pci_grpci2.c 	regs = of_ioremap(&ofdev->resource[0], 0,
regs              706 arch/sparc/kernel/leon_pci_grpci2.c 	if (regs == NULL) {
regs              715 arch/sparc/kernel/leon_pci_grpci2.c 	capability = REGLOAD(regs->sts_cap);
regs              727 arch/sparc/kernel/leon_pci_grpci2.c 	priv->regs = regs;
regs              731 arch/sparc/kernel/leon_pci_grpci2.c 	printk(KERN_INFO "GRPCI2: host found at %p, irq%d\n", regs, priv->irq);
regs              851 arch/sparc/kernel/leon_pci_grpci2.c 		REGSTORE(regs->ctrl, REGLOAD(regs->ctrl)|(priv->irq_mask&0xf));
regs              866 arch/sparc/kernel/leon_pci_grpci2.c 	REGSTORE(regs->ctrl, REGLOAD(regs->ctrl) | CTRL_EI | CTRL_SI);
regs              885 arch/sparc/kernel/leon_pci_grpci2.c 	of_iounmap(&ofdev->resource[0], regs,
regs               68 arch/sparc/kernel/nmi.c static void die_nmi(const char *str, struct pt_regs *regs, int do_panic)
regs               72 arch/sparc/kernel/nmi.c 	if (notify_die(DIE_NMIWATCHDOG, str, regs, 0,
regs               73 arch/sparc/kernel/nmi.c 		       pt_regs_trap_type(regs), SIGINT) == NOTIFY_STOP)
regs               82 arch/sparc/kernel/nmi.c notrace __kprobes void perfctr_irq(int irq, struct pt_regs *regs)
regs               95 arch/sparc/kernel/nmi.c 	if (notify_die(DIE_NMI, "nmi", regs, 0,
regs               96 arch/sparc/kernel/nmi.c 		       pt_regs_trap_type(regs), SIGINT) == NOTIFY_STOP)
regs              110 arch/sparc/kernel/nmi.c 				regs, panic_on_timeout);
regs              484 arch/sparc/kernel/of_device_64.c 	const struct linux_prom_pci_registers *regs;
regs              490 arch/sparc/kernel/of_device_64.c 	regs = of_get_property(dp, "reg", NULL);
regs              491 arch/sparc/kernel/of_device_64.c 	if (!regs)
regs              494 arch/sparc/kernel/of_device_64.c 	bus = (regs->phys_hi >> 16) & 0xff;
regs              495 arch/sparc/kernel/of_device_64.c 	devfn = (regs->phys_hi >> 8) & 0xff;
regs              416 arch/sparc/kernel/pci_fire.c 	const struct linux_prom64_registers *regs;
regs              431 arch/sparc/kernel/pci_fire.c 	regs = of_get_property(dp, "reg", NULL);
regs              432 arch/sparc/kernel/pci_fire.c 	pbm->pbm_regs = regs[0].phys_addr;
regs              433 arch/sparc/kernel/pci_fire.c 	pbm->controller_regs = regs[1].phys_addr - 0x410000UL;
regs             1315 arch/sparc/kernel/pci_schizo.c 	const struct linux_prom64_registers *regs;
regs             1346 arch/sparc/kernel/pci_schizo.c 	regs = of_get_property(dp, "reg", NULL);
regs             1365 arch/sparc/kernel/pci_schizo.c 	pbm->pbm_regs = regs[0].phys_addr;
regs             1366 arch/sparc/kernel/pci_schizo.c 	pbm->controller_regs = regs[1].phys_addr - 0x10000UL;
regs             1369 arch/sparc/kernel/pci_schizo.c 		pbm->sync_reg = regs[3].phys_addr + 0x1a18UL;
regs             1224 arch/sparc/kernel/pci_sun4v.c 	const struct linux_prom64_registers *regs;
regs             1268 arch/sparc/kernel/pci_sun4v.c 	regs = of_get_property(dp, "reg", NULL);
regs             1270 arch/sparc/kernel/pci_sun4v.c 	if (!regs) {
regs             1274 arch/sparc/kernel/pci_sun4v.c 	devhandle = (regs->phys_addr >> 32UL) & 0x0fffffff;
regs              290 arch/sparc/kernel/pcic.c 	struct linux_prom_registers regs[PROMREG_MAX];
regs              309 arch/sparc/kernel/pcic.c 	err = prom_getproperty(node, "reg", (char*)regs, sizeof(regs));
regs              319 arch/sparc/kernel/pcic.c 	pcic->pcic_regs = ioremap(regs[0].phys_addr, regs[0].reg_size);
regs              327 arch/sparc/kernel/pcic.c 	    ioremap(regs[1].phys_addr, 0x10000)) == 0) {
regs              334 arch/sparc/kernel/pcic.c 	    ioremap(regs[2].phys_addr, regs[2].reg_size * 2)) == NULL) {
regs              346 arch/sparc/kernel/pcic.c 	    ioremap(regs[3].phys_addr, regs[3].reg_size * 2)) == NULL) {
regs              449 arch/sparc/kernel/pcic.c 	struct linux_prom_pci_registers regs[PROMREG_MAX];
regs              455 arch/sparc/kernel/pcic.c 				       (char *)&regs[0], sizeof(regs));
regs              457 arch/sparc/kernel/pcic.c 			unsigned long devfn = (regs[0].which_io >> 8) & 0xff;
regs              747 arch/sparc/kernel/pcic.c void pcic_nmi(unsigned int pend, struct pt_regs *regs)
regs              757 arch/sparc/kernel/pcic.c 		    pend, (int)regs->pc, pcic_speculative);
regs              762 arch/sparc/kernel/pcic.c 	regs->pc = regs->npc;
regs              763 arch/sparc/kernel/pcic.c 	regs->npc += 4;
regs               32 arch/sparc/kernel/pcr.c void __irq_entry deferred_pcr_work_irq(int irq, struct pt_regs *regs)
regs               38 arch/sparc/kernel/pcr.c 	old_regs = set_irq_regs(regs);
regs             1619 arch/sparc/kernel/perf_event.c 	struct pt_regs *regs;
regs             1637 arch/sparc/kernel/perf_event.c 	regs = args->regs;
regs             1671 arch/sparc/kernel/perf_event.c 		if (perf_event_overflow(event, &data, regs))
regs             1738 arch/sparc/kernel/perf_event.c 			   struct pt_regs *regs)
regs             1747 arch/sparc/kernel/perf_event.c 	perf_callchain_store(entry, regs->tpc);
regs             1749 arch/sparc/kernel/perf_event.c 	ksp = regs->u_regs[UREG_I6];
regs             1753 arch/sparc/kernel/perf_event.c 		struct pt_regs *regs;
regs             1760 arch/sparc/kernel/perf_event.c 		regs = (struct pt_regs *) (sf + 1);
regs             1762 arch/sparc/kernel/perf_event.c 		if (kstack_is_trap_frame(current_thread_info(), regs)) {
regs             1763 arch/sparc/kernel/perf_event.c 			if (user_mode(regs))
regs             1765 arch/sparc/kernel/perf_event.c 			pc = regs->tpc;
regs             1766 arch/sparc/kernel/perf_event.c 			fp = regs->u_regs[UREG_I6] + STACK_BIAS;
regs             1798 arch/sparc/kernel/perf_event.c 				   struct pt_regs *regs)
regs             1802 arch/sparc/kernel/perf_event.c 	ufp = regs->u_regs[UREG_FP] + STACK_BIAS;
regs             1822 arch/sparc/kernel/perf_event.c 				   struct pt_regs *regs)
regs             1826 arch/sparc/kernel/perf_event.c 	ufp = regs->u_regs[UREG_FP] & 0xffffffffUL;
regs             1854 arch/sparc/kernel/perf_event.c perf_callchain_user(struct perf_callchain_entry_ctx *entry, struct pt_regs *regs)
regs             1859 arch/sparc/kernel/perf_event.c 	perf_callchain_store(entry, regs->tpc);
regs             1869 arch/sparc/kernel/perf_event.c 		perf_callchain_user_32(entry, regs);
regs             1871 arch/sparc/kernel/perf_event.c 		perf_callchain_user_64(entry, regs);
regs               35 arch/sparc/kernel/pmc.c static u8 __iomem *regs;
regs               37 arch/sparc/kernel/pmc.c #define pmc_readb(offs)		(sbus_readb(regs+offs))
regs               38 arch/sparc/kernel/pmc.c #define pmc_writeb(val, offs)	(sbus_writeb(val, regs+offs))
regs               59 arch/sparc/kernel/pmc.c 	regs = of_ioremap(&op->resource[0], 0,
regs               61 arch/sparc/kernel/pmc.c 	if (!regs) {
regs              263 arch/sparc/kernel/process_32.c                              struct pt_regs *regs,
regs              267 arch/sparc/kernel/process_32.c 	unsigned long orig_i1 = regs->u_regs[UREG_I1];
regs              270 arch/sparc/kernel/process_32.c 	parent_tid_ptr = regs->u_regs[UREG_I2];
regs              271 arch/sparc/kernel/process_32.c 	child_tid_ptr = regs->u_regs[UREG_I4];
regs              283 arch/sparc/kernel/process_32.c 		regs->u_regs[UREG_I1] = orig_i1;
regs              308 arch/sparc/kernel/process_32.c 	struct pt_regs *childregs, *regs = current_pt_regs();
regs              355 arch/sparc/kernel/process_32.c 	memcpy(new_stack, (char *)regs - STACKFRAME_SZ, STACKFRAME_SZ + TRACEREG_SZ);
regs              363 arch/sparc/kernel/process_32.c 	if (sp != regs->u_regs[UREG_FP]) {
regs              374 arch/sparc/kernel/process_32.c 			regs->u_regs[UREG_FP];
regs              404 arch/sparc/kernel/process_32.c 	regs->u_regs[UREG_I1] = 0;
regs              407 arch/sparc/kernel/process_32.c 		childregs->u_regs[UREG_G7] = regs->u_regs[UREG_I3];
regs              415 arch/sparc/kernel/process_32.c int dump_fpu (struct pt_regs * regs, elf_fpregset_t * fpregs)
regs              427 arch/sparc/kernel/process_32.c 		if (regs != NULL) {
regs              428 arch/sparc/kernel/process_32.c 			regs->psr &= ~(PSR_EF);
regs              437 arch/sparc/kernel/process_32.c 		if (regs != NULL) {
regs              438 arch/sparc/kernel/process_32.c 			regs->psr &= ~(PSR_EF);
regs              109 arch/sparc/kernel/process_64.c static void show_regwindow32(struct pt_regs *regs)
regs              116 arch/sparc/kernel/process_64.c 	rw = compat_ptr((unsigned int)regs->u_regs[14]);
regs              135 arch/sparc/kernel/process_64.c #define show_regwindow32(regs)	do { } while (0)
regs              138 arch/sparc/kernel/process_64.c static void show_regwindow(struct pt_regs *regs)
regs              145 arch/sparc/kernel/process_64.c 	if ((regs->tstate & TSTATE_PRIV) || !(test_thread_flag(TIF_32BIT))) {
regs              148 arch/sparc/kernel/process_64.c 			(regs->u_regs[14] + STACK_BIAS);
regs              150 arch/sparc/kernel/process_64.c 			(regs->u_regs[14] + STACK_BIAS);
regs              151 arch/sparc/kernel/process_64.c 		if (!(regs->tstate & TSTATE_PRIV)) {
regs              162 arch/sparc/kernel/process_64.c 		show_regwindow32(regs);
regs              173 arch/sparc/kernel/process_64.c 	if (regs->tstate & TSTATE_PRIV)
regs              177 arch/sparc/kernel/process_64.c void show_regs(struct pt_regs *regs)
regs              181 arch/sparc/kernel/process_64.c 	printk("TSTATE: %016lx TPC: %016lx TNPC: %016lx Y: %08x    %s\n", regs->tstate,
regs              182 arch/sparc/kernel/process_64.c 	       regs->tpc, regs->tnpc, regs->y, print_tainted());
regs              183 arch/sparc/kernel/process_64.c 	printk("TPC: <%pS>\n", (void *) regs->tpc);
regs              185 arch/sparc/kernel/process_64.c 	       regs->u_regs[0], regs->u_regs[1], regs->u_regs[2],
regs              186 arch/sparc/kernel/process_64.c 	       regs->u_regs[3]);
regs              188 arch/sparc/kernel/process_64.c 	       regs->u_regs[4], regs->u_regs[5], regs->u_regs[6],
regs              189 arch/sparc/kernel/process_64.c 	       regs->u_regs[7]);
regs              191 arch/sparc/kernel/process_64.c 	       regs->u_regs[8], regs->u_regs[9], regs->u_regs[10],
regs              192 arch/sparc/kernel/process_64.c 	       regs->u_regs[11]);
regs              194 arch/sparc/kernel/process_64.c 	       regs->u_regs[12], regs->u_regs[13], regs->u_regs[14],
regs              195 arch/sparc/kernel/process_64.c 	       regs->u_regs[15]);
regs              196 arch/sparc/kernel/process_64.c 	printk("RPC: <%pS>\n", (void *) regs->u_regs[15]);
regs              197 arch/sparc/kernel/process_64.c 	show_regwindow(regs);
regs              198 arch/sparc/kernel/process_64.c 	show_stack(current, (unsigned long *) regs->u_regs[UREG_FP]);
regs              204 arch/sparc/kernel/process_64.c static void __global_reg_self(struct thread_info *tp, struct pt_regs *regs,
regs              213 arch/sparc/kernel/process_64.c 	rp->tstate = regs->tstate;
regs              214 arch/sparc/kernel/process_64.c 	rp->tpc = regs->tpc;
regs              215 arch/sparc/kernel/process_64.c 	rp->tnpc = regs->tnpc;
regs              216 arch/sparc/kernel/process_64.c 	rp->o7 = regs->u_regs[UREG_I7];
regs              218 arch/sparc/kernel/process_64.c 	if (regs->tstate & TSTATE_PRIV) {
regs              222 arch/sparc/kernel/process_64.c 			(regs->u_regs[UREG_FP] + STACK_BIAS);
regs              255 arch/sparc/kernel/process_64.c 	struct pt_regs *regs = get_irq_regs();
regs              259 arch/sparc/kernel/process_64.c 	if (!regs)
regs              260 arch/sparc/kernel/process_64.c 		regs = tp->kregs;
regs              269 arch/sparc/kernel/process_64.c 		__global_reg_self(tp, regs, this_cpu);
regs              530 arch/sparc/kernel/process_64.c void fault_in_user_windows(struct pt_regs *regs)
regs              562 arch/sparc/kernel/process_64.c 							   regs->tpc,
regs              563 arch/sparc/kernel/process_64.c 							   regs->u_regs[UREG_I7]);
regs              578 arch/sparc/kernel/process_64.c 			      struct pt_regs *regs,
regs              582 arch/sparc/kernel/process_64.c 	unsigned long orig_i1 = regs->u_regs[UREG_I1];
regs              587 arch/sparc/kernel/process_64.c 		parent_tid_ptr = compat_ptr(regs->u_regs[UREG_I2]);
regs              588 arch/sparc/kernel/process_64.c 		child_tid_ptr = compat_ptr(regs->u_regs[UREG_I4]);
regs              592 arch/sparc/kernel/process_64.c 		parent_tid_ptr = (int __user *) regs->u_regs[UREG_I2];
regs              593 arch/sparc/kernel/process_64.c 		child_tid_ptr = (int __user *) regs->u_regs[UREG_I4];
regs              605 arch/sparc/kernel/process_64.c 		regs->u_regs[UREG_I1] = orig_i1;
regs              619 arch/sparc/kernel/process_64.c 	struct pt_regs *regs = current_pt_regs();
regs              645 arch/sparc/kernel/process_64.c 	parent_sf = ((struct sparc_stackf *) regs) - 1;
regs              649 arch/sparc/kernel/process_64.c 		regs->u_regs[UREG_FP] &= 0x00000000ffffffffUL;
regs              653 arch/sparc/kernel/process_64.c 		(regs->tstate + 1) & TSTATE_CWP;
regs              655 arch/sparc/kernel/process_64.c 	if (sp != regs->u_regs[UREG_FP]) {
regs              658 arch/sparc/kernel/process_64.c 		csp = clone_stackframe(sp, regs->u_regs[UREG_FP]);
regs              671 arch/sparc/kernel/process_64.c 	regs->u_regs[UREG_I1] = 0;
regs              674 arch/sparc/kernel/process_64.c 		t->kregs->u_regs[UREG_G7] = regs->u_regs[UREG_I3];
regs              720 arch/sparc/kernel/process_64.c int dump_fpu (struct pt_regs * regs, elf_fpregset_t * fpregs)
regs               60 arch/sparc/kernel/prom_32.c 	struct linux_prom_registers *regs;
regs               67 arch/sparc/kernel/prom_32.c 	regs = rprop->value;
regs               70 arch/sparc/kernel/prom_32.c 		regs->which_io, regs->phys_addr);
regs               77 arch/sparc/kernel/prom_32.c 	struct linux_prom_registers *regs;
regs               84 arch/sparc/kernel/prom_32.c 	regs = prop->value;
regs               87 arch/sparc/kernel/prom_32.c 		regs->which_io,
regs               88 arch/sparc/kernel/prom_32.c 		regs->phys_addr);
regs               95 arch/sparc/kernel/prom_32.c 	struct linux_prom_pci_registers *regs;
regs              103 arch/sparc/kernel/prom_32.c 	regs = prop->value;
regs              104 arch/sparc/kernel/prom_32.c 	devfn = (regs->phys_hi >> 8) & 0xff;
regs              121 arch/sparc/kernel/prom_32.c 	struct linux_prom_registers *regs;
regs              128 arch/sparc/kernel/prom_32.c 	regs = prop->value;
regs              132 arch/sparc/kernel/prom_32.c 		regs->which_io, regs->phys_addr);
regs              139 arch/sparc/kernel/prom_32.c 	struct amba_prom_registers *regs;
regs              151 arch/sparc/kernel/prom_32.c 		regs = prop->value;
regs              152 arch/sparc/kernel/prom_32.c 		reg0 = regs->phys_addr;
regs               69 arch/sparc/kernel/prom_64.c 	struct linux_prom64_registers *regs;
regs               77 arch/sparc/kernel/prom_64.c 	regs = rprop->value;
regs               81 arch/sparc/kernel/prom_64.c 			(unsigned int) (regs->phys_addr >> 32UL),
regs               82 arch/sparc/kernel/prom_64.c 			(unsigned int) (regs->phys_addr & 0xffffffffUL));
regs               86 arch/sparc/kernel/prom_64.c 	type = regs->phys_addr >> 60UL;
regs               87 arch/sparc/kernel/prom_64.c 	high_bits = (regs->phys_addr >> 32UL) & 0x0fffffffUL;
regs               88 arch/sparc/kernel/prom_64.c 	low_bits = (regs->phys_addr & 0xffffffffUL);
regs              111 arch/sparc/kernel/prom_64.c 	struct linux_prom64_registers *regs;
regs              118 arch/sparc/kernel/prom_64.c 	regs = prop->value;
regs              122 arch/sparc/kernel/prom_64.c 			(unsigned int) (regs->phys_addr >> 32UL),
regs              123 arch/sparc/kernel/prom_64.c 			(unsigned int) (regs->phys_addr & 0xffffffffUL));
regs              139 arch/sparc/kernel/prom_64.c 			(unsigned int) (regs->phys_addr & mask));
regs              147 arch/sparc/kernel/prom_64.c 	struct linux_prom_registers *regs;
regs              154 arch/sparc/kernel/prom_64.c 	regs = prop->value;
regs              157 arch/sparc/kernel/prom_64.c 		regs->which_io,
regs              158 arch/sparc/kernel/prom_64.c 		regs->phys_addr);
regs              165 arch/sparc/kernel/prom_64.c 	struct linux_prom_pci_registers *regs;
regs              173 arch/sparc/kernel/prom_64.c 	regs = prop->value;
regs              174 arch/sparc/kernel/prom_64.c 	devfn = (regs->phys_hi >> 8) & 0xff;
regs              191 arch/sparc/kernel/prom_64.c 	struct linux_prom64_registers *regs;
regs              198 arch/sparc/kernel/prom_64.c 	regs = prop->value;
regs              207 arch/sparc/kernel/prom_64.c 		(unsigned int) (regs->phys_addr & 0xffffffffUL));
regs              215 arch/sparc/kernel/prom_64.c 	u32 *regs;
regs              221 arch/sparc/kernel/prom_64.c 	regs = prop->value;
regs              223 arch/sparc/kernel/prom_64.c 	sprintf(tmp_buf, "%s@%x", name, *regs);
regs              230 arch/sparc/kernel/prom_64.c 	struct linux_prom64_registers *regs;
regs              237 arch/sparc/kernel/prom_64.c 	regs = prop->value;
regs              241 arch/sparc/kernel/prom_64.c 		(unsigned int) (regs->phys_addr >> 32UL),
regs              242 arch/sparc/kernel/prom_64.c 		(unsigned int) (regs->phys_addr & 0xffffffffUL));
regs              250 arch/sparc/kernel/prom_64.c 	u32 *regs;
regs              256 arch/sparc/kernel/prom_64.c 	regs = prop->value;
regs              262 arch/sparc/kernel/prom_64.c 		name, regs[0], regs[1]);
regs              270 arch/sparc/kernel/prom_64.c 	u32 *regs;
regs              276 arch/sparc/kernel/prom_64.c 	regs = prop->value;
regs              278 arch/sparc/kernel/prom_64.c 	if (prop->length == sizeof(u32) || regs[1] == 1) {
regs              280 arch/sparc/kernel/prom_64.c 			name, regs[0]);
regs              283 arch/sparc/kernel/prom_64.c 			name, regs[0], regs[1]);
regs              292 arch/sparc/kernel/prom_64.c 	u32 *regs;
regs              298 arch/sparc/kernel/prom_64.c 	regs = prop->value;
regs              300 arch/sparc/kernel/prom_64.c 	if (regs[2] || regs[3]) {
regs              302 arch/sparc/kernel/prom_64.c 			name, regs[0], regs[1], regs[2], regs[3]);
regs              305 arch/sparc/kernel/prom_64.c 			name, regs[0], regs[1]);
regs              394 arch/sparc/kernel/prom_64.c 		u32 *regs;
regs              400 arch/sparc/kernel/prom_64.c 		regs = prop->value;
regs              401 arch/sparc/kernel/prom_64.c 		this_cpu_id = regs[0] & 0x0fffffff;
regs               75 arch/sparc/kernel/prom_irqtrans.c 	const struct linux_prom64_registers *regs;
regs               80 arch/sparc/kernel/prom_irqtrans.c 	regs = of_get_property(dp, "reg", NULL);
regs               81 arch/sparc/kernel/prom_irqtrans.c 	dp->irq_trans->data = (void *) regs[2].phys_addr;
regs              227 arch/sparc/kernel/prom_irqtrans.c 	const struct linux_prom_pci_registers *regs;
regs              258 arch/sparc/kernel/prom_irqtrans.c 	regs = of_get_property(dp, "reg", NULL);
regs              259 arch/sparc/kernel/prom_irqtrans.c 	if (regs && sabre_device_needs_wsync(dp)) {
regs              262 arch/sparc/kernel/prom_irqtrans.c 					(void *) (long) regs->phys_hi,
regs              271 arch/sparc/kernel/prom_irqtrans.c 	const struct linux_prom64_registers *regs;
regs              280 arch/sparc/kernel/prom_irqtrans.c 	regs = of_get_property(dp, "reg", NULL);
regs              281 arch/sparc/kernel/prom_irqtrans.c 	irq_data->controller_regs = regs[0].phys_addr;
regs              429 arch/sparc/kernel/prom_irqtrans.c 	const struct linux_prom64_registers *regs;
regs              437 arch/sparc/kernel/prom_irqtrans.c 	regs = of_get_property(dp, "reg", NULL);
regs              440 arch/sparc/kernel/prom_irqtrans.c 	irq_data->pbm_regs = regs[0].phys_addr;
regs              442 arch/sparc/kernel/prom_irqtrans.c 		irq_data->sync_reg = regs[3].phys_addr + 0x1a18UL;
regs              470 arch/sparc/kernel/prom_irqtrans.c 	const struct linux_prom64_registers *regs;
regs              475 arch/sparc/kernel/prom_irqtrans.c 	regs = of_get_property(dp, "reg", NULL);
regs              477 arch/sparc/kernel/prom_irqtrans.c 		((regs->phys_addr >> 32UL) & 0x0fffffff);
regs              544 arch/sparc/kernel/prom_irqtrans.c 	const struct linux_prom64_registers *regs;
regs              552 arch/sparc/kernel/prom_irqtrans.c 	regs = of_get_property(dp, "reg", NULL);
regs              555 arch/sparc/kernel/prom_irqtrans.c 	irq_data->pbm_regs = regs[0].phys_addr;
regs              653 arch/sparc/kernel/prom_irqtrans.c 	const struct linux_prom_registers *regs;
regs              660 arch/sparc/kernel/prom_irqtrans.c 	regs = of_get_property(dp, "reg", NULL);
regs              661 arch/sparc/kernel/prom_irqtrans.c 	if (regs)
regs              662 arch/sparc/kernel/prom_irqtrans.c 		sbus_slot = regs->which_io;
regs              707 arch/sparc/kernel/prom_irqtrans.c 	const struct linux_prom64_registers *regs;
regs              712 arch/sparc/kernel/prom_irqtrans.c 	regs = of_get_property(dp, "reg", NULL);
regs              713 arch/sparc/kernel/prom_irqtrans.c 	dp->irq_trans->data = (void *) (unsigned long) regs->phys_addr;
regs              794 arch/sparc/kernel/prom_irqtrans.c 	const struct linux_prom64_registers *regs;
regs              799 arch/sparc/kernel/prom_irqtrans.c 	regs = of_get_property(dp, "reg", NULL);
regs              801 arch/sparc/kernel/prom_irqtrans.c 		((regs->phys_addr >> 32UL) & 0x0fffffff);
regs               54 arch/sparc/kernel/ptrace_32.c 	const struct pt_regs *regs = target->thread.kregs;
regs               68 arch/sparc/kernel/ptrace_32.c 			*k++ = regs->u_regs[pos++];
regs               70 arch/sparc/kernel/ptrace_32.c 		reg_window = (unsigned long __user *) regs->u_regs[UREG_I6];
regs               78 arch/sparc/kernel/ptrace_32.c 			if (put_user(regs->u_regs[pos++], u++))
regs               82 arch/sparc/kernel/ptrace_32.c 		reg_window = (unsigned long __user *) regs->u_regs[UREG_I6];
regs               93 arch/sparc/kernel/ptrace_32.c 			reg = regs->psr;
regs               96 arch/sparc/kernel/ptrace_32.c 			reg = regs->pc;
regs               99 arch/sparc/kernel/ptrace_32.c 			reg = regs->npc;
regs              102 arch/sparc/kernel/ptrace_32.c 			reg = regs->y;
regs              132 arch/sparc/kernel/ptrace_32.c 	struct pt_regs *regs = target->thread.kregs;
regs              146 arch/sparc/kernel/ptrace_32.c 			regs->u_regs[pos++] = *k++;
regs              148 arch/sparc/kernel/ptrace_32.c 		reg_window = (unsigned long __user *) regs->u_regs[UREG_I6];
regs              158 arch/sparc/kernel/ptrace_32.c 			regs->u_regs[pos++] = reg;
regs              161 arch/sparc/kernel/ptrace_32.c 		reg_window = (unsigned long __user *) regs->u_regs[UREG_I6];
regs              179 arch/sparc/kernel/ptrace_32.c 			psr = regs->psr;
regs              182 arch/sparc/kernel/ptrace_32.c 			regs->psr = psr;
regs              185 arch/sparc/kernel/ptrace_32.c 			regs->pc = reg;
regs              188 arch/sparc/kernel/ptrace_32.c 			regs->npc = reg;
regs              191 arch/sparc/kernel/ptrace_32.c 			regs->y = reg;
regs              330 arch/sparc/kernel/ptrace_32.c 	unsigned long regs[32];
regs              387 arch/sparc/kernel/ptrace_32.c 					  &fps->regs[0]);
regs              408 arch/sparc/kernel/ptrace_32.c 					    &fps->regs[0]);
regs              447 arch/sparc/kernel/ptrace_32.c asmlinkage int syscall_trace(struct pt_regs *regs, int syscall_exit_p)
regs              453 arch/sparc/kernel/ptrace_32.c 			tracehook_report_syscall_exit(regs, 0);
regs              455 arch/sparc/kernel/ptrace_32.c 			ret = tracehook_report_syscall_entry(regs);
regs              193 arch/sparc/kernel/ptrace_64.c 			   const struct pt_regs *regs,
regs              196 arch/sparc/kernel/ptrace_64.c 	unsigned long rw_addr = regs->u_regs[UREG_I6];
regs              218 arch/sparc/kernel/ptrace_64.c 			   const struct pt_regs *regs,
regs              221 arch/sparc/kernel/ptrace_64.c 	unsigned long rw_addr = regs->u_regs[UREG_I6];
regs              253 arch/sparc/kernel/ptrace_64.c 	const struct pt_regs *regs = task_pt_regs(target);
regs              260 arch/sparc/kernel/ptrace_64.c 				  regs->u_regs,
regs              265 arch/sparc/kernel/ptrace_64.c 		if (regwindow64_get(target, regs, &window))
regs              276 arch/sparc/kernel/ptrace_64.c 					  &regs->tstate,
regs              282 arch/sparc/kernel/ptrace_64.c 		unsigned long y = regs->y;
regs              303 arch/sparc/kernel/ptrace_64.c 	struct pt_regs *regs = task_pt_regs(target);
regs              310 arch/sparc/kernel/ptrace_64.c 				 regs->u_regs,
regs              315 arch/sparc/kernel/ptrace_64.c 		if (regwindow64_get(target, regs, &window))
regs              324 arch/sparc/kernel/ptrace_64.c 		    regwindow64_set(target, regs, &window))
regs              341 arch/sparc/kernel/ptrace_64.c 			regs->tstate &= ~(TSTATE_ICC | TSTATE_XCC | TSTATE_SYSCALL);
regs              342 arch/sparc/kernel/ptrace_64.c 			regs->tstate |= tstate;
regs              349 arch/sparc/kernel/ptrace_64.c 					 &regs->tpc,
regs              355 arch/sparc/kernel/ptrace_64.c 		unsigned long y = regs->y;
regs              362 arch/sparc/kernel/ptrace_64.c 			regs->y = y;
regs              521 arch/sparc/kernel/ptrace_64.c 	const struct pt_regs *regs = task_pt_regs(target);
regs              535 arch/sparc/kernel/ptrace_64.c 			*k++ = regs->u_regs[pos++];
regs              537 arch/sparc/kernel/ptrace_64.c 		reg_window = (compat_ulong_t __user *) regs->u_regs[UREG_I6];
regs              559 arch/sparc/kernel/ptrace_64.c 			if (put_user((compat_ulong_t) regs->u_regs[pos++], u++))
regs              563 arch/sparc/kernel/ptrace_64.c 		reg_window = (compat_ulong_t __user *) regs->u_regs[UREG_I6];
regs              594 arch/sparc/kernel/ptrace_64.c 			reg = tstate_to_psr(regs->tstate);
regs              597 arch/sparc/kernel/ptrace_64.c 			reg = regs->tpc;
regs              600 arch/sparc/kernel/ptrace_64.c 			reg = regs->tnpc;
regs              603 arch/sparc/kernel/ptrace_64.c 			reg = regs->y;
regs              633 arch/sparc/kernel/ptrace_64.c 	struct pt_regs *regs = task_pt_regs(target);
regs              647 arch/sparc/kernel/ptrace_64.c 			regs->u_regs[pos++] = *k++;
regs              649 arch/sparc/kernel/ptrace_64.c 		reg_window = (compat_ulong_t __user *) regs->u_regs[UREG_I6];
regs              674 arch/sparc/kernel/ptrace_64.c 			regs->u_regs[pos++] = reg;
regs              677 arch/sparc/kernel/ptrace_64.c 		reg_window = (compat_ulong_t __user *) regs->u_regs[UREG_I6];
regs              716 arch/sparc/kernel/ptrace_64.c 			tstate = regs->tstate;
regs              721 arch/sparc/kernel/ptrace_64.c 			regs->tstate = tstate;
regs              724 arch/sparc/kernel/ptrace_64.c 			regs->tpc = reg;
regs              727 arch/sparc/kernel/ptrace_64.c 			regs->tnpc = reg;
regs              730 arch/sparc/kernel/ptrace_64.c 			regs->y = reg;
regs              899 arch/sparc/kernel/ptrace_64.c 	unsigned int regs[32];
regs              958 arch/sparc/kernel/ptrace_64.c 					  &fps->regs[0]);
regs              977 arch/sparc/kernel/ptrace_64.c 					    &fps->regs[0]);
regs             1017 arch/sparc/kernel/ptrace_64.c 	unsigned int regs[64];
regs             1110 arch/sparc/kernel/ptrace_64.c asmlinkage int syscall_trace_enter(struct pt_regs *regs)
regs             1115 arch/sparc/kernel/ptrace_64.c 	secure_computing_strict(regs->u_regs[UREG_G1]);
regs             1121 arch/sparc/kernel/ptrace_64.c 		ret = tracehook_report_syscall_entry(regs);
regs             1124 arch/sparc/kernel/ptrace_64.c 		trace_sys_enter(regs, regs->u_regs[UREG_G1]);
regs             1126 arch/sparc/kernel/ptrace_64.c 	audit_syscall_entry(regs->u_regs[UREG_G1], regs->u_regs[UREG_I0],
regs             1127 arch/sparc/kernel/ptrace_64.c 			    regs->u_regs[UREG_I1], regs->u_regs[UREG_I2],
regs             1128 arch/sparc/kernel/ptrace_64.c 			    regs->u_regs[UREG_I3]);
regs             1133 arch/sparc/kernel/ptrace_64.c asmlinkage void syscall_trace_leave(struct pt_regs *regs)
regs             1138 arch/sparc/kernel/ptrace_64.c 	audit_syscall_exit(regs);
regs             1141 arch/sparc/kernel/ptrace_64.c 		trace_sys_exit(regs, regs->u_regs[UREG_I0]);
regs             1144 arch/sparc/kernel/ptrace_64.c 		tracehook_report_syscall_exit(regs, 0);
regs             1175 arch/sparc/kernel/ptrace_64.c static inline int regs_within_kernel_stack(struct pt_regs *regs,
regs             1178 arch/sparc/kernel/ptrace_64.c 	unsigned long ksp = kernel_stack_pointer(regs) + STACK_BIAS;
regs             1192 arch/sparc/kernel/ptrace_64.c unsigned long regs_get_kernel_stack_nth(struct pt_regs *regs, unsigned int n)
regs             1194 arch/sparc/kernel/ptrace_64.c 	unsigned long ksp = kernel_stack_pointer(regs) + STACK_BIAS;
regs             1197 arch/sparc/kernel/ptrace_64.c 	if (regs_within_kernel_stack(regs, (unsigned long)addr))
regs               64 arch/sparc/kernel/sbus.c 	const struct linux_prom_registers *regs;
regs               69 arch/sparc/kernel/sbus.c 	regs = of_get_property(op->dev.of_node, "reg", NULL);
regs               70 arch/sparc/kernel/sbus.c 	if (!regs) {
regs               75 arch/sparc/kernel/sbus.c 	slot = regs->which_io;
regs              546 arch/sparc/kernel/sbus.c 	unsigned long regs, reg_base;
regs              556 arch/sparc/kernel/sbus.c 	regs = pr->phys_addr;
regs              567 arch/sparc/kernel/sbus.c 	reg_base = regs + SYSIO_IOMMUREG_BASE;
regs              574 arch/sparc/kernel/sbus.c 	reg_base = regs + SYSIO_STRBUFREG_BASE;
regs              591 arch/sparc/kernel/sbus.c 	iommu->write_complete_reg = regs + 0x2000UL;
regs              595 arch/sparc/kernel/sbus.c 	       portid, regs);
regs               62 arch/sparc/kernel/signal32.c 	struct pt_regs32	regs;
regs               85 arch/sparc/kernel/signal32.c void do_sigreturn32(struct pt_regs *regs)
regs              101 arch/sparc/kernel/signal32.c 	regs->u_regs[UREG_FP] &= 0x00000000ffffffffUL;
regs              102 arch/sparc/kernel/signal32.c 	sf = (struct signal_frame32 __user *) regs->u_regs[UREG_FP];
regs              125 arch/sparc/kernel/signal32.c 	regs->tpc = pc;
regs              126 arch/sparc/kernel/signal32.c 	regs->tnpc = npc;
regs              129 arch/sparc/kernel/signal32.c 	err = __get_user(regs->y, &sf->info.si_regs.y);
regs              133 arch/sparc/kernel/signal32.c 		err |= __get_user(regs->u_regs[i], &sf->info.si_regs.u_regs[i]);
regs              140 arch/sparc/kernel/signal32.c 				err |= __get_user(((u32 *)regs->u_regs)[2*i], &sf->v8plus.g_upper[i]);
regs              142 arch/sparc/kernel/signal32.c 			regs->tstate &= ~TSTATE_ASI;
regs              143 arch/sparc/kernel/signal32.c 			regs->tstate |= ((asi & 0xffUL) << 24UL);
regs              148 arch/sparc/kernel/signal32.c 	regs->tstate &= ~(TSTATE_ICC|TSTATE_XCC);
regs              149 arch/sparc/kernel/signal32.c 	regs->tstate |= psr_to_tstate_icc(psr);
regs              152 arch/sparc/kernel/signal32.c 	pt_regs_clear_syscall(regs);
regs              156 arch/sparc/kernel/signal32.c 		err |= restore_fpu_state(regs, compat_ptr(fpu_save));
regs              176 arch/sparc/kernel/signal32.c asmlinkage void do_rt_sigreturn32(struct pt_regs *regs)
regs              189 arch/sparc/kernel/signal32.c 	regs->u_regs[UREG_FP] &= 0x00000000ffffffffUL;
regs              190 arch/sparc/kernel/signal32.c 	sf = (struct rt_signal_frame32 __user *) regs->u_regs[UREG_FP];
regs              196 arch/sparc/kernel/signal32.c 	if (get_user(ufp, &sf->regs.u_regs[UREG_FP]))
regs              202 arch/sparc/kernel/signal32.c 	if (__get_user(pc, &sf->regs.pc) || 
regs              203 arch/sparc/kernel/signal32.c 	    __get_user(npc, &sf->regs.npc))
regs              213 arch/sparc/kernel/signal32.c 	regs->tpc = pc;
regs              214 arch/sparc/kernel/signal32.c 	regs->tnpc = npc;
regs              217 arch/sparc/kernel/signal32.c 	err = __get_user(regs->y, &sf->regs.y);
regs              218 arch/sparc/kernel/signal32.c 	err |= __get_user(psr, &sf->regs.psr);
regs              221 arch/sparc/kernel/signal32.c 		err |= __get_user(regs->u_regs[i], &sf->regs.u_regs[i]);
regs              228 arch/sparc/kernel/signal32.c 				err |= __get_user(((u32 *)regs->u_regs)[2*i], &sf->v8plus.g_upper[i]);
regs              230 arch/sparc/kernel/signal32.c 			regs->tstate &= ~TSTATE_ASI;
regs              231 arch/sparc/kernel/signal32.c 			regs->tstate |= ((asi & 0xffUL) << 24UL);
regs              236 arch/sparc/kernel/signal32.c 	regs->tstate &= ~(TSTATE_ICC|TSTATE_XCC);
regs              237 arch/sparc/kernel/signal32.c 	regs->tstate |= psr_to_tstate_icc(psr);
regs              240 arch/sparc/kernel/signal32.c 	pt_regs_clear_syscall(regs);
regs              244 arch/sparc/kernel/signal32.c 		err |= restore_fpu_state(regs, compat_ptr(fpu_save));
regs              262 arch/sparc/kernel/signal32.c static void __user *get_sigframe(struct ksignal *ksig, struct pt_regs *regs, unsigned long framesize)
regs              266 arch/sparc/kernel/signal32.c 	regs->u_regs[UREG_FP] &= 0x00000000ffffffffUL;
regs              267 arch/sparc/kernel/signal32.c 	sp = regs->u_regs[UREG_FP];
regs              348 arch/sparc/kernel/signal32.c static int setup_frame32(struct ksignal *ksig, struct pt_regs *regs,
regs              371 arch/sparc/kernel/signal32.c 		get_sigframe(ksig, regs, sigframe_size);
regs              377 arch/sparc/kernel/signal32.c 				regs->tpc, regs->u_regs[UREG_I7]);
regs              386 arch/sparc/kernel/signal32.c 		regs->tpc &= 0xffffffff;
regs              387 arch/sparc/kernel/signal32.c 		regs->tnpc &= 0xffffffff;
regs              389 arch/sparc/kernel/signal32.c 	err  = put_user(regs->tpc, &sf->info.si_regs.pc);
regs              390 arch/sparc/kernel/signal32.c 	err |= __put_user(regs->tnpc, &sf->info.si_regs.npc);
regs              391 arch/sparc/kernel/signal32.c 	err |= __put_user(regs->y, &sf->info.si_regs.y);
regs              392 arch/sparc/kernel/signal32.c 	psr = tstate_to_psr(regs->tstate);
regs              397 arch/sparc/kernel/signal32.c 		err |= __put_user(regs->u_regs[i], &sf->info.si_regs.u_regs[i]);
regs              401 arch/sparc/kernel/signal32.c 		err |= __put_user(((u32 *)regs->u_regs)[2*i],
regs              403 arch/sparc/kernel/signal32.c 	err |= __put_user((regs->tstate & TSTATE_ASI) >> 24UL,
regs              409 arch/sparc/kernel/signal32.c 		err |= save_fpu_state(regs, fp);
regs              436 arch/sparc/kernel/signal32.c 				    (u32 __user *)(regs->u_regs[UREG_FP]),
regs              453 arch/sparc/kernel/signal32.c 	regs->u_regs[UREG_FP] = (unsigned long) sf;
regs              454 arch/sparc/kernel/signal32.c 	regs->u_regs[UREG_I0] = ksig->sig;
regs              455 arch/sparc/kernel/signal32.c 	regs->u_regs[UREG_I1] = (unsigned long) &sf->info;
regs              456 arch/sparc/kernel/signal32.c 	regs->u_regs[UREG_I2] = (unsigned long) &sf->info;
regs              459 arch/sparc/kernel/signal32.c 	regs->tpc = (unsigned long) ksig->ka.sa.sa_handler;
regs              460 arch/sparc/kernel/signal32.c 	regs->tnpc = (regs->tpc + 4);
regs              462 arch/sparc/kernel/signal32.c 		regs->tpc &= 0xffffffff;
regs              463 arch/sparc/kernel/signal32.c 		regs->tnpc &= 0xffffffff;
regs              468 arch/sparc/kernel/signal32.c 		regs->u_regs[UREG_I7] = (unsigned long)ksig->ka.ka_restorer;
regs              472 arch/sparc/kernel/signal32.c 		regs->u_regs[UREG_I7] = (unsigned long) (&(sf->insns[0]) - 2);
regs              483 arch/sparc/kernel/signal32.c static int setup_rt_frame32(struct ksignal *ksig, struct pt_regs *regs,
regs              505 arch/sparc/kernel/signal32.c 		get_sigframe(ksig, regs, sigframe_size);
regs              511 arch/sparc/kernel/signal32.c 				regs->tpc, regs->u_regs[UREG_I7]);
regs              520 arch/sparc/kernel/signal32.c 		regs->tpc &= 0xffffffff;
regs              521 arch/sparc/kernel/signal32.c 		regs->tnpc &= 0xffffffff;
regs              523 arch/sparc/kernel/signal32.c 	err  = put_user(regs->tpc, &sf->regs.pc);
regs              524 arch/sparc/kernel/signal32.c 	err |= __put_user(regs->tnpc, &sf->regs.npc);
regs              525 arch/sparc/kernel/signal32.c 	err |= __put_user(regs->y, &sf->regs.y);
regs              526 arch/sparc/kernel/signal32.c 	psr = tstate_to_psr(regs->tstate);
regs              529 arch/sparc/kernel/signal32.c 	err |= __put_user(psr, &sf->regs.psr);
regs              531 arch/sparc/kernel/signal32.c 		err |= __put_user(regs->u_regs[i], &sf->regs.u_regs[i]);
regs              535 arch/sparc/kernel/signal32.c 		err |= __put_user(((u32 *)regs->u_regs)[2*i],
regs              537 arch/sparc/kernel/signal32.c 	err |= __put_user((regs->tstate & TSTATE_ASI) >> 24UL,
regs              543 arch/sparc/kernel/signal32.c 		err |= save_fpu_state(regs, fp);
regs              562 arch/sparc/kernel/signal32.c 	err |= __compat_save_altstack(&sf->stack, regs->u_regs[UREG_FP]);
regs              568 arch/sparc/kernel/signal32.c 				    (u32 __user *)(regs->u_regs[UREG_FP]),
regs              585 arch/sparc/kernel/signal32.c 	regs->u_regs[UREG_FP] = (unsigned long) sf;
regs              586 arch/sparc/kernel/signal32.c 	regs->u_regs[UREG_I0] = ksig->sig;
regs              587 arch/sparc/kernel/signal32.c 	regs->u_regs[UREG_I1] = (unsigned long) &sf->info;
regs              588 arch/sparc/kernel/signal32.c 	regs->u_regs[UREG_I2] = (unsigned long) &sf->regs;
regs              591 arch/sparc/kernel/signal32.c 	regs->tpc = (unsigned long) ksig->ka.sa.sa_handler;
regs              592 arch/sparc/kernel/signal32.c 	regs->tnpc = (regs->tpc + 4);
regs              594 arch/sparc/kernel/signal32.c 		regs->tpc &= 0xffffffff;
regs              595 arch/sparc/kernel/signal32.c 		regs->tnpc &= 0xffffffff;
regs              600 arch/sparc/kernel/signal32.c 		regs->u_regs[UREG_I7] = (unsigned long)ksig->ka.ka_restorer;
regs              604 arch/sparc/kernel/signal32.c 		regs->u_regs[UREG_I7] = (unsigned long) (&(sf->insns[0]) - 2);
regs              620 arch/sparc/kernel/signal32.c 				  struct pt_regs *regs)
regs              626 arch/sparc/kernel/signal32.c 		err = setup_rt_frame32(ksig, regs, oldset);
regs              628 arch/sparc/kernel/signal32.c 		err = setup_frame32(ksig, regs, oldset);
regs              633 arch/sparc/kernel/signal32.c static inline void syscall_restart32(unsigned long orig_i0, struct pt_regs *regs,
regs              636 arch/sparc/kernel/signal32.c 	switch (regs->u_regs[UREG_I0]) {
regs              640 arch/sparc/kernel/signal32.c 		regs->u_regs[UREG_I0] = EINTR;
regs              641 arch/sparc/kernel/signal32.c 		regs->tstate |= TSTATE_ICARRY;
regs              648 arch/sparc/kernel/signal32.c 		regs->u_regs[UREG_I0] = orig_i0;
regs              649 arch/sparc/kernel/signal32.c 		regs->tpc -= 4;
regs              650 arch/sparc/kernel/signal32.c 		regs->tnpc -= 4;
regs              658 arch/sparc/kernel/signal32.c void do_signal32(struct pt_regs * regs)
regs              665 arch/sparc/kernel/signal32.c 	if (pt_regs_is_syscall(regs) &&
regs              666 arch/sparc/kernel/signal32.c 	    (regs->tstate & (TSTATE_XCARRY | TSTATE_ICARRY))) {
regs              668 arch/sparc/kernel/signal32.c 		orig_i0 = regs->u_regs[UREG_G6];
regs              673 arch/sparc/kernel/signal32.c 			syscall_restart32(orig_i0, regs, &ksig.ka.sa);
regs              674 arch/sparc/kernel/signal32.c 		handle_signal32(&ksig, regs);
regs              677 arch/sparc/kernel/signal32.c 			switch (regs->u_regs[UREG_I0]) {
regs              682 arch/sparc/kernel/signal32.c 				regs->u_regs[UREG_I0] = orig_i0;
regs              683 arch/sparc/kernel/signal32.c 				regs->tpc -= 4;
regs              684 arch/sparc/kernel/signal32.c 				regs->tnpc -= 4;
regs              685 arch/sparc/kernel/signal32.c 				pt_regs_clear_syscall(regs);
regs              688 arch/sparc/kernel/signal32.c 				regs->u_regs[UREG_G1] = __NR_restart_syscall;
regs              689 arch/sparc/kernel/signal32.c 				regs->tpc -= 4;
regs              690 arch/sparc/kernel/signal32.c 				regs->tnpc -= 4;
regs              691 arch/sparc/kernel/signal32.c 				pt_regs_clear_syscall(regs);
regs               51 arch/sparc/kernel/signal_32.c 	struct pt_regs		regs;
regs               76 arch/sparc/kernel/signal_32.c asmlinkage void do_sigreturn(struct pt_regs *regs)
regs               90 arch/sparc/kernel/signal_32.c 	sf = (struct signal_frame __user *) regs->u_regs[UREG_FP];
regs              109 arch/sparc/kernel/signal_32.c 	up_psr = regs->psr;
regs              110 arch/sparc/kernel/signal_32.c 	err |= __copy_from_user(regs, &sf->info.si_regs, sizeof(struct pt_regs));
regs              113 arch/sparc/kernel/signal_32.c 	regs->psr = (up_psr & ~(PSR_ICC | PSR_EF))
regs              114 arch/sparc/kernel/signal_32.c 		  | (regs->psr & (PSR_ICC | PSR_EF));
regs              117 arch/sparc/kernel/signal_32.c 	pt_regs_clear_syscall(regs);
regs              121 arch/sparc/kernel/signal_32.c 		err |= restore_fpu_state(regs, fpu_save);
regs              143 arch/sparc/kernel/signal_32.c asmlinkage void do_rt_sigreturn(struct pt_regs *regs)
regs              153 arch/sparc/kernel/signal_32.c 	sf = (struct rt_signal_frame __user *) regs->u_regs[UREG_FP];
regs              157 arch/sparc/kernel/signal_32.c 	if (get_user(ufp, &sf->regs.u_regs[UREG_FP]))
regs              163 arch/sparc/kernel/signal_32.c 	err = __get_user(pc, &sf->regs.pc);
regs              164 arch/sparc/kernel/signal_32.c 	err |= __get_user(npc, &sf->regs.npc);
regs              167 arch/sparc/kernel/signal_32.c 	err |= __get_user(regs->y, &sf->regs.y);
regs              168 arch/sparc/kernel/signal_32.c 	err |= __get_user(psr, &sf->regs.psr);
regs              170 arch/sparc/kernel/signal_32.c 	err |= __copy_from_user(&regs->u_regs[UREG_G1],
regs              171 arch/sparc/kernel/signal_32.c 				&sf->regs.u_regs[UREG_G1], 15 * sizeof(u32));
regs              173 arch/sparc/kernel/signal_32.c 	regs->psr = (regs->psr & ~PSR_ICC) | (psr & PSR_ICC);
regs              176 arch/sparc/kernel/signal_32.c 	pt_regs_clear_syscall(regs);
regs              180 arch/sparc/kernel/signal_32.c 		err |= restore_fpu_state(regs, fpu_save);
regs              187 arch/sparc/kernel/signal_32.c 	regs->pc = pc;
regs              188 arch/sparc/kernel/signal_32.c 	regs->npc = npc;
regs              202 arch/sparc/kernel/signal_32.c static inline void __user *get_sigframe(struct ksignal *ksig, struct pt_regs *regs, unsigned long framesize)
regs              204 arch/sparc/kernel/signal_32.c 	unsigned long sp = regs->u_regs[UREG_FP];
regs              227 arch/sparc/kernel/signal_32.c static int setup_frame(struct ksignal *ksig, struct pt_regs *regs,
regs              246 arch/sparc/kernel/signal_32.c 		get_sigframe(ksig, regs, sigframe_size);
regs              256 arch/sparc/kernel/signal_32.c 	err = __copy_to_user(&sf->info.si_regs, regs, sizeof(struct pt_regs));
regs              263 arch/sparc/kernel/signal_32.c 		err |= save_fpu_state(regs, fp);
regs              281 arch/sparc/kernel/signal_32.c 		err |= __copy_to_user(sf, (char *) regs->u_regs[UREG_FP],
regs              293 arch/sparc/kernel/signal_32.c 	regs->u_regs[UREG_FP] = (unsigned long) sf;
regs              294 arch/sparc/kernel/signal_32.c 	regs->u_regs[UREG_I0] = ksig->sig;
regs              295 arch/sparc/kernel/signal_32.c 	regs->u_regs[UREG_I1] = (unsigned long) &sf->info;
regs              296 arch/sparc/kernel/signal_32.c 	regs->u_regs[UREG_I2] = (unsigned long) &sf->info;
regs              299 arch/sparc/kernel/signal_32.c 	regs->pc = (unsigned long) ksig->ka.sa.sa_handler;
regs              300 arch/sparc/kernel/signal_32.c 	regs->npc = (regs->pc + 4);
regs              304 arch/sparc/kernel/signal_32.c 		regs->u_regs[UREG_I7] = (unsigned long)ksig->ka.ka_restorer;
regs              306 arch/sparc/kernel/signal_32.c 		regs->u_regs[UREG_I7] = (unsigned long)(&(sf->insns[0]) - 2);
regs              322 arch/sparc/kernel/signal_32.c static int setup_rt_frame(struct ksignal *ksig, struct pt_regs *regs,
regs              339 arch/sparc/kernel/signal_32.c 		get_sigframe(ksig, regs, sigframe_size);
regs              346 arch/sparc/kernel/signal_32.c 	err  = __put_user(regs->pc, &sf->regs.pc);
regs              347 arch/sparc/kernel/signal_32.c 	err |= __put_user(regs->npc, &sf->regs.npc);
regs              348 arch/sparc/kernel/signal_32.c 	err |= __put_user(regs->y, &sf->regs.y);
regs              349 arch/sparc/kernel/signal_32.c 	psr = regs->psr;
regs              352 arch/sparc/kernel/signal_32.c 	err |= __put_user(psr, &sf->regs.psr);
regs              353 arch/sparc/kernel/signal_32.c 	err |= __copy_to_user(&sf->regs.u_regs, regs->u_regs, sizeof(regs->u_regs));
regs              359 arch/sparc/kernel/signal_32.c 		err |= save_fpu_state(regs, fp);
regs              375 arch/sparc/kernel/signal_32.c 	err |= __save_altstack(&sf->stack, regs->u_regs[UREG_FP]);
regs              378 arch/sparc/kernel/signal_32.c 		err |= __copy_to_user(sf, (char *) regs->u_regs[UREG_FP],
regs              392 arch/sparc/kernel/signal_32.c 	regs->u_regs[UREG_FP] = (unsigned long) sf;
regs              393 arch/sparc/kernel/signal_32.c 	regs->u_regs[UREG_I0] = ksig->sig;
regs              394 arch/sparc/kernel/signal_32.c 	regs->u_regs[UREG_I1] = (unsigned long) &sf->info;
regs              395 arch/sparc/kernel/signal_32.c 	regs->u_regs[UREG_I2] = (unsigned long) &sf->regs;
regs              397 arch/sparc/kernel/signal_32.c 	regs->pc = (unsigned long) ksig->ka.sa.sa_handler;
regs              398 arch/sparc/kernel/signal_32.c 	regs->npc = (regs->pc + 4);
regs              401 arch/sparc/kernel/signal_32.c 		regs->u_regs[UREG_I7] = (unsigned long)ksig->ka.ka_restorer;
regs              403 arch/sparc/kernel/signal_32.c 		regs->u_regs[UREG_I7] = (unsigned long)(&(sf->insns[0]) - 2);
regs              420 arch/sparc/kernel/signal_32.c handle_signal(struct ksignal *ksig, struct pt_regs *regs)
regs              426 arch/sparc/kernel/signal_32.c 		err = setup_rt_frame(ksig, regs, oldset);
regs              428 arch/sparc/kernel/signal_32.c 		err = setup_frame(ksig, regs, oldset);
regs              432 arch/sparc/kernel/signal_32.c static inline void syscall_restart(unsigned long orig_i0, struct pt_regs *regs,
regs              435 arch/sparc/kernel/signal_32.c 	switch(regs->u_regs[UREG_I0]) {
regs              439 arch/sparc/kernel/signal_32.c 		regs->u_regs[UREG_I0] = EINTR;
regs              440 arch/sparc/kernel/signal_32.c 		regs->psr |= PSR_C;
regs              447 arch/sparc/kernel/signal_32.c 		regs->u_regs[UREG_I0] = orig_i0;
regs              448 arch/sparc/kernel/signal_32.c 		regs->pc -= 4;
regs              449 arch/sparc/kernel/signal_32.c 		regs->npc -= 4;
regs              457 arch/sparc/kernel/signal_32.c static void do_signal(struct pt_regs *regs, unsigned long orig_i0)
regs              481 arch/sparc/kernel/signal_32.c 	if (pt_regs_is_syscall(regs) && (regs->psr & PSR_C))
regs              482 arch/sparc/kernel/signal_32.c 		regs->u_regs[UREG_G6] = orig_i0;
regs              491 arch/sparc/kernel/signal_32.c 	if (pt_regs_is_syscall(regs) && (regs->psr & PSR_C)) {
regs              493 arch/sparc/kernel/signal_32.c 		orig_i0 = regs->u_regs[UREG_G6];
regs              498 arch/sparc/kernel/signal_32.c 			syscall_restart(orig_i0, regs, &ksig.ka.sa);
regs              499 arch/sparc/kernel/signal_32.c 		handle_signal(&ksig, regs);
regs              502 arch/sparc/kernel/signal_32.c 			switch (regs->u_regs[UREG_I0]) {
regs              507 arch/sparc/kernel/signal_32.c 				regs->u_regs[UREG_I0] = orig_i0;
regs              508 arch/sparc/kernel/signal_32.c 				regs->pc -= 4;
regs              509 arch/sparc/kernel/signal_32.c 				regs->npc -= 4;
regs              510 arch/sparc/kernel/signal_32.c 				pt_regs_clear_syscall(regs);
regs              513 arch/sparc/kernel/signal_32.c 				regs->u_regs[UREG_G1] = __NR_restart_syscall;
regs              514 arch/sparc/kernel/signal_32.c 				regs->pc -= 4;
regs              515 arch/sparc/kernel/signal_32.c 				regs->npc -= 4;
regs              516 arch/sparc/kernel/signal_32.c 				pt_regs_clear_syscall(regs);
regs              523 arch/sparc/kernel/signal_32.c void do_notify_resume(struct pt_regs *regs, unsigned long orig_i0,
regs              527 arch/sparc/kernel/signal_32.c 		do_signal(regs, orig_i0);
regs              530 arch/sparc/kernel/signal_32.c 		tracehook_notify_resume(regs);
regs               42 arch/sparc/kernel/signal_64.c asmlinkage void sparc64_set_context(struct pt_regs *regs)
regs               45 arch/sparc/kernel/signal_64.c 		regs->u_regs[UREG_I0];
regs               63 arch/sparc/kernel/signal_64.c 	if (regs->u_regs[UREG_I1]) {
regs               79 arch/sparc/kernel/signal_64.c 	regs->tpc = pc;
regs               80 arch/sparc/kernel/signal_64.c 	regs->tnpc = npc;
regs               81 arch/sparc/kernel/signal_64.c 	err |= __get_user(regs->y, &((*grp)[MC_Y]));
regs               83 arch/sparc/kernel/signal_64.c 	regs->tstate &= ~(TSTATE_ASI | TSTATE_ICC | TSTATE_XCC);
regs               84 arch/sparc/kernel/signal_64.c 	regs->tstate |= (tstate & (TSTATE_ASI | TSTATE_ICC | TSTATE_XCC));
regs               85 arch/sparc/kernel/signal_64.c 	err |= __get_user(regs->u_regs[UREG_G1], (&(*grp)[MC_G1]));
regs               86 arch/sparc/kernel/signal_64.c 	err |= __get_user(regs->u_regs[UREG_G2], (&(*grp)[MC_G2]));
regs               87 arch/sparc/kernel/signal_64.c 	err |= __get_user(regs->u_regs[UREG_G3], (&(*grp)[MC_G3]));
regs               88 arch/sparc/kernel/signal_64.c 	err |= __get_user(regs->u_regs[UREG_G4], (&(*grp)[MC_G4]));
regs               89 arch/sparc/kernel/signal_64.c 	err |= __get_user(regs->u_regs[UREG_G5], (&(*grp)[MC_G5]));
regs               90 arch/sparc/kernel/signal_64.c 	err |= __get_user(regs->u_regs[UREG_G6], (&(*grp)[MC_G6]));
regs               94 arch/sparc/kernel/signal_64.c 	err |= __get_user(regs->u_regs[UREG_I0], (&(*grp)[MC_O0]));
regs               95 arch/sparc/kernel/signal_64.c 	err |= __get_user(regs->u_regs[UREG_I1], (&(*grp)[MC_O1]));
regs               96 arch/sparc/kernel/signal_64.c 	err |= __get_user(regs->u_regs[UREG_I2], (&(*grp)[MC_O2]));
regs               97 arch/sparc/kernel/signal_64.c 	err |= __get_user(regs->u_regs[UREG_I3], (&(*grp)[MC_O3]));
regs               98 arch/sparc/kernel/signal_64.c 	err |= __get_user(regs->u_regs[UREG_I4], (&(*grp)[MC_O4]));
regs               99 arch/sparc/kernel/signal_64.c 	err |= __get_user(regs->u_regs[UREG_I5], (&(*grp)[MC_O5]));
regs              100 arch/sparc/kernel/signal_64.c 	err |= __get_user(regs->u_regs[UREG_I6], (&(*grp)[MC_O6]));
regs              101 arch/sparc/kernel/signal_64.c 	err |= __get_user(regs->u_regs[UREG_I7], (&(*grp)[MC_O7]));
regs              106 arch/sparc/kernel/signal_64.c 	      (&(((struct reg_window __user *)(STACK_BIAS+regs->u_regs[UREG_I6]))->ins[6])));
regs              108 arch/sparc/kernel/signal_64.c 	      (&(((struct reg_window __user *)(STACK_BIAS+regs->u_regs[UREG_I6]))->ins[7])));
regs              129 arch/sparc/kernel/signal_64.c 		regs->tstate &= ~TSTATE_PEF;
regs              141 arch/sparc/kernel/signal_64.c asmlinkage void sparc64_get_context(struct pt_regs *regs)
regs              144 arch/sparc/kernel/signal_64.c 		regs->u_regs[UREG_I0];
regs              167 arch/sparc/kernel/signal_64.c 		regs->tpc   = (regs->tnpc & 0xffffffff);
regs              168 arch/sparc/kernel/signal_64.c 		regs->tnpc  = (regs->tnpc + 4) & 0xffffffff;
regs              170 arch/sparc/kernel/signal_64.c 		regs->tpc   = regs->tnpc;
regs              171 arch/sparc/kernel/signal_64.c 		regs->tnpc += 4;
regs              181 arch/sparc/kernel/signal_64.c 	err |= __put_user(regs->tstate, &((*grp)[MC_TSTATE]));
regs              182 arch/sparc/kernel/signal_64.c 	err |= __put_user(regs->tpc, &((*grp)[MC_PC]));
regs              183 arch/sparc/kernel/signal_64.c 	err |= __put_user(regs->tnpc, &((*grp)[MC_NPC]));
regs              184 arch/sparc/kernel/signal_64.c 	err |= __put_user(regs->y, &((*grp)[MC_Y]));
regs              185 arch/sparc/kernel/signal_64.c 	err |= __put_user(regs->u_regs[UREG_G1], &((*grp)[MC_G1]));
regs              186 arch/sparc/kernel/signal_64.c 	err |= __put_user(regs->u_regs[UREG_G2], &((*grp)[MC_G2]));
regs              187 arch/sparc/kernel/signal_64.c 	err |= __put_user(regs->u_regs[UREG_G3], &((*grp)[MC_G3]));
regs              188 arch/sparc/kernel/signal_64.c 	err |= __put_user(regs->u_regs[UREG_G4], &((*grp)[MC_G4]));
regs              189 arch/sparc/kernel/signal_64.c 	err |= __put_user(regs->u_regs[UREG_G5], &((*grp)[MC_G5]));
regs              190 arch/sparc/kernel/signal_64.c 	err |= __put_user(regs->u_regs[UREG_G6], &((*grp)[MC_G6]));
regs              191 arch/sparc/kernel/signal_64.c 	err |= __put_user(regs->u_regs[UREG_G7], &((*grp)[MC_G7]));
regs              192 arch/sparc/kernel/signal_64.c 	err |= __put_user(regs->u_regs[UREG_I0], &((*grp)[MC_O0]));
regs              193 arch/sparc/kernel/signal_64.c 	err |= __put_user(regs->u_regs[UREG_I1], &((*grp)[MC_O1]));
regs              194 arch/sparc/kernel/signal_64.c 	err |= __put_user(regs->u_regs[UREG_I2], &((*grp)[MC_O2]));
regs              195 arch/sparc/kernel/signal_64.c 	err |= __put_user(regs->u_regs[UREG_I3], &((*grp)[MC_O3]));
regs              196 arch/sparc/kernel/signal_64.c 	err |= __put_user(regs->u_regs[UREG_I4], &((*grp)[MC_O4]));
regs              197 arch/sparc/kernel/signal_64.c 	err |= __put_user(regs->u_regs[UREG_I5], &((*grp)[MC_O5]));
regs              198 arch/sparc/kernel/signal_64.c 	err |= __put_user(regs->u_regs[UREG_I6], &((*grp)[MC_O6]));
regs              199 arch/sparc/kernel/signal_64.c 	err |= __put_user(regs->u_regs[UREG_I7], &((*grp)[MC_O7]));
regs              202 arch/sparc/kernel/signal_64.c 		 (&(((struct reg_window __user *)(STACK_BIAS+regs->u_regs[UREG_I6]))->ins[6])));
regs              204 arch/sparc/kernel/signal_64.c 		 (&(((struct reg_window __user *)(STACK_BIAS+regs->u_regs[UREG_I6]))->ins[7])));
regs              249 arch/sparc/kernel/signal_64.c 	struct pt_regs		regs;
regs              256 arch/sparc/kernel/signal_64.c void do_rt_sigreturn(struct pt_regs *regs)
regs              270 arch/sparc/kernel/signal_64.c 		(regs->u_regs [UREG_FP] + STACK_BIAS);
regs              276 arch/sparc/kernel/signal_64.c 	if (get_user(ufp, &sf->regs.u_regs[UREG_FP]))
regs              282 arch/sparc/kernel/signal_64.c 	err = __get_user(tpc, &sf->regs.tpc);
regs              283 arch/sparc/kernel/signal_64.c 	err |= __get_user(tnpc, &sf->regs.tnpc);
regs              291 arch/sparc/kernel/signal_64.c 	err |= __get_user(regs->y, &sf->regs.y);
regs              292 arch/sparc/kernel/signal_64.c 	err |= __get_user(tstate, &sf->regs.tstate);
regs              293 arch/sparc/kernel/signal_64.c 	err |= copy_from_user(regs->u_regs, sf->regs.u_regs, sizeof(regs->u_regs));
regs              296 arch/sparc/kernel/signal_64.c 	regs->tstate &= ~(TSTATE_ASI | TSTATE_ICC | TSTATE_XCC);
regs              297 arch/sparc/kernel/signal_64.c 	regs->tstate |= (tstate & (TSTATE_ASI | TSTATE_ICC | TSTATE_XCC));
regs              301 arch/sparc/kernel/signal_64.c 		err |= restore_fpu_state(regs, fpu_save);
regs              314 arch/sparc/kernel/signal_64.c 	regs->tpc = tpc;
regs              315 arch/sparc/kernel/signal_64.c 	regs->tnpc = tnpc;
regs              318 arch/sparc/kernel/signal_64.c 	pt_regs_clear_syscall(regs);
regs              326 arch/sparc/kernel/signal_64.c static inline void __user *get_sigframe(struct ksignal *ksig, struct pt_regs *regs, unsigned long framesize)
regs              328 arch/sparc/kernel/signal_64.c 	unsigned long sp = regs->u_regs[UREG_FP] + STACK_BIAS;
regs              352 arch/sparc/kernel/signal_64.c setup_rt_frame(struct ksignal *ksig, struct pt_regs *regs)
regs              370 arch/sparc/kernel/signal_64.c 		get_sigframe(ksig, regs, sf_size);
regs              376 arch/sparc/kernel/signal_64.c 				regs->tpc, regs->u_regs[UREG_I7]);
regs              384 arch/sparc/kernel/signal_64.c 	err = copy_to_user(&sf->regs, regs, sizeof (*regs));
regs              389 arch/sparc/kernel/signal_64.c 		err |= save_fpu_state(regs, fpu_save);
regs              405 arch/sparc/kernel/signal_64.c 	err |= __save_altstack(&sf->stack, regs->u_regs[UREG_FP]);
regs              411 arch/sparc/kernel/signal_64.c 				    (u64 __user *)(regs->u_regs[UREG_FP] +
regs              430 arch/sparc/kernel/signal_64.c 	regs->u_regs[UREG_FP] = ((unsigned long) sf) - STACK_BIAS;
regs              431 arch/sparc/kernel/signal_64.c 	regs->u_regs[UREG_I0] = ksig->sig;
regs              432 arch/sparc/kernel/signal_64.c 	regs->u_regs[UREG_I1] = (unsigned long) &sf->info;
regs              438 arch/sparc/kernel/signal_64.c 	regs->u_regs[UREG_I2] = (unsigned long) &sf->info;
regs              441 arch/sparc/kernel/signal_64.c 	regs->tpc = (unsigned long) ksig->ka.sa.sa_handler;
regs              442 arch/sparc/kernel/signal_64.c 	regs->tnpc = (regs->tpc + 4);
regs              444 arch/sparc/kernel/signal_64.c 		regs->tpc &= 0xffffffff;
regs              445 arch/sparc/kernel/signal_64.c 		regs->tnpc &= 0xffffffff;
regs              448 arch/sparc/kernel/signal_64.c 	regs->u_regs[UREG_I7] = (unsigned long)ksig->ka.ka_restorer;
regs              452 arch/sparc/kernel/signal_64.c static inline void syscall_restart(unsigned long orig_i0, struct pt_regs *regs,
regs              455 arch/sparc/kernel/signal_64.c 	switch (regs->u_regs[UREG_I0]) {
regs              459 arch/sparc/kernel/signal_64.c 		regs->u_regs[UREG_I0] = EINTR;
regs              460 arch/sparc/kernel/signal_64.c 		regs->tstate |= (TSTATE_ICARRY|TSTATE_XCARRY);
regs              467 arch/sparc/kernel/signal_64.c 		regs->u_regs[UREG_I0] = orig_i0;
regs              468 arch/sparc/kernel/signal_64.c 		regs->tpc -= 4;
regs              469 arch/sparc/kernel/signal_64.c 		regs->tnpc -= 4;
regs              477 arch/sparc/kernel/signal_64.c static void do_signal(struct pt_regs *regs, unsigned long orig_i0)
regs              501 arch/sparc/kernel/signal_64.c 	if (pt_regs_is_syscall(regs) &&
regs              502 arch/sparc/kernel/signal_64.c 	    (regs->tstate & (TSTATE_XCARRY | TSTATE_ICARRY)))
regs              503 arch/sparc/kernel/signal_64.c 		regs->u_regs[UREG_G6] = orig_i0;
regs              507 arch/sparc/kernel/signal_64.c 		do_signal32(regs);
regs              515 arch/sparc/kernel/signal_64.c 	if (pt_regs_is_syscall(regs) &&
regs              516 arch/sparc/kernel/signal_64.c 	    (regs->tstate & (TSTATE_XCARRY | TSTATE_ICARRY))) {
regs              518 arch/sparc/kernel/signal_64.c 		orig_i0 = regs->u_regs[UREG_G6];
regs              523 arch/sparc/kernel/signal_64.c 			syscall_restart(orig_i0, regs, &ksig.ka.sa);
regs              524 arch/sparc/kernel/signal_64.c 		signal_setup_done(setup_rt_frame(&ksig, regs), &ksig, 0);
regs              527 arch/sparc/kernel/signal_64.c 			switch (regs->u_regs[UREG_I0]) {
regs              532 arch/sparc/kernel/signal_64.c 				regs->u_regs[UREG_I0] = orig_i0;
regs              533 arch/sparc/kernel/signal_64.c 				regs->tpc -= 4;
regs              534 arch/sparc/kernel/signal_64.c 				regs->tnpc -= 4;
regs              535 arch/sparc/kernel/signal_64.c 				pt_regs_clear_syscall(regs);
regs              538 arch/sparc/kernel/signal_64.c 				regs->u_regs[UREG_G1] = __NR_restart_syscall;
regs              539 arch/sparc/kernel/signal_64.c 				regs->tpc -= 4;
regs              540 arch/sparc/kernel/signal_64.c 				regs->tnpc -= 4;
regs              541 arch/sparc/kernel/signal_64.c 				pt_regs_clear_syscall(regs);
regs              548 arch/sparc/kernel/signal_64.c void do_notify_resume(struct pt_regs *regs, unsigned long orig_i0, unsigned long thread_info_flags)
regs              552 arch/sparc/kernel/signal_64.c 		uprobe_notify_resume(regs);
regs              554 arch/sparc/kernel/signal_64.c 		do_signal(regs, orig_i0);
regs              557 arch/sparc/kernel/signal_64.c 		tracehook_notify_resume(regs);
regs                5 arch/sparc/kernel/sigutil.h int save_fpu_state(struct pt_regs *regs, __siginfo_fpu_t __user *fpu);
regs                6 arch/sparc/kernel/sigutil.h int restore_fpu_state(struct pt_regs *regs, __siginfo_fpu_t __user *fpu);
regs               15 arch/sparc/kernel/sigutil_32.c int save_fpu_state(struct pt_regs *regs, __siginfo_fpu_t __user *fpu)
regs               23 arch/sparc/kernel/sigutil_32.c 		regs->psr &= ~(PSR_EF);
regs               32 arch/sparc/kernel/sigutil_32.c 		regs->psr &= ~(PSR_EF);
regs               49 arch/sparc/kernel/sigutil_32.c int restore_fpu_state(struct pt_regs *regs, __siginfo_fpu_t __user *fpu)
regs               58 arch/sparc/kernel/sigutil_32.c 		regs->psr &= ~PSR_EF;
regs               62 arch/sparc/kernel/sigutil_32.c 		regs->psr &= ~PSR_EF;
regs               15 arch/sparc/kernel/sigutil_64.c int save_fpu_state(struct pt_regs *regs, __siginfo_fpu_t __user *fpu)
regs               35 arch/sparc/kernel/sigutil_64.c int restore_fpu_state(struct pt_regs *regs, __siginfo_fpu_t __user *fpu)
regs               46 arch/sparc/kernel/sigutil_64.c 	regs->tstate &= ~TSTATE_PEF;
regs              874 arch/sparc/kernel/smp_64.c void __irq_entry smp_call_function_client(int irq, struct pt_regs *regs)
regs              882 arch/sparc/kernel/smp_64.c void __irq_entry smp_call_function_single_client(int irq, struct pt_regs *regs)
regs             1211 arch/sparc/kernel/smp_64.c void __irq_entry smp_penguin_jailcell(int irq, struct pt_regs *regs)
regs             1528 arch/sparc/kernel/smp_64.c void __irq_entry smp_receive_signal_client(int irq, struct pt_regs *regs)
regs               36 arch/sparc/kernel/stacktrace.c 		struct pt_regs *regs;
regs               43 arch/sparc/kernel/stacktrace.c 		regs = (struct pt_regs *) (sf + 1);
regs               45 arch/sparc/kernel/stacktrace.c 		if (kstack_is_trap_frame(tp, regs)) {
regs               46 arch/sparc/kernel/stacktrace.c 			if (!(regs->tstate & TSTATE_PRIV))
regs               48 arch/sparc/kernel/stacktrace.c 			pc = regs->tpc;
regs               49 arch/sparc/kernel/stacktrace.c 			fp = regs->u_regs[UREG_I6] + STACK_BIAS;
regs              147 arch/sparc/kernel/sun4d_irq.c void sun4d_handler_irq(unsigned int pil, struct pt_regs *regs)
regs              167 arch/sparc/kernel/sun4d_irq.c 	old_regs = set_irq_regs(regs);
regs              330 arch/sparc/kernel/sun4d_irq.c 	const struct linux_prom_registers *regs;
regs              353 arch/sparc/kernel/sun4d_irq.c 	regs = of_get_property(dp, "reg", NULL);
regs              354 arch/sparc/kernel/sun4d_irq.c 	if (!regs)
regs              357 arch/sparc/kernel/sun4d_irq.c 	slot = regs->which_io;
regs              364 arch/sparc/kernel/sun4d_smp.c void smp4d_percpu_timer_interrupt(struct pt_regs *regs)
regs              372 arch/sparc/kernel/sun4d_smp.c 	old_regs = set_irq_regs(regs);
regs              312 arch/sparc/kernel/sun4m_irq.c void sun4m_nmi(struct pt_regs *regs)
regs              335 arch/sparc/kernel/sun4m_irq.c 	show_regs(regs);
regs              241 arch/sparc/kernel/sun4m_smp.c void smp4m_percpu_timer_interrupt(struct pt_regs *regs)
regs              247 arch/sparc/kernel/sun4m_smp.c 	old_regs = set_irq_regs(regs);
regs              133 arch/sparc/kernel/sys_sparc_32.c 	struct pt_regs *regs = current_pt_regs();
regs              138 arch/sparc/kernel/sys_sparc_32.c 		current->comm, task_pid_nr(current), (int)regs->u_regs[1]);
regs              140 arch/sparc/kernel/sys_sparc_32.c 	show_regs (regs);
regs              148 arch/sparc/kernel/sys_sparc_32.c sparc_breakpoint (struct pt_regs *regs)
regs              152 arch/sparc/kernel/sys_sparc_32.c         printk ("TRAP: Entering kernel PC=%x, nPC=%x\n", regs->pc, regs->npc);
regs              154 arch/sparc/kernel/sys_sparc_32.c 	force_sig_fault(SIGTRAP, TRAP_BRKPT, (void __user *)regs->pc, 0);
regs              157 arch/sparc/kernel/sys_sparc_32.c 	printk ("TRAP: Returning to space: PC=%x nPC=%x\n", regs->pc, regs->npc);
regs              490 arch/sparc/kernel/sys_sparc_64.c 	struct pt_regs *regs = current_pt_regs();
regs              496 arch/sparc/kernel/sys_sparc_64.c 	printk ("Unimplemented SPARC system call %ld\n",regs->u_regs[1]);
regs              498 arch/sparc/kernel/sys_sparc_64.c 	show_regs (regs);
regs              506 arch/sparc/kernel/sys_sparc_64.c asmlinkage void sparc_breakpoint(struct pt_regs *regs)
regs              511 arch/sparc/kernel/sys_sparc_64.c 		regs->tpc &= 0xffffffff;
regs              512 arch/sparc/kernel/sys_sparc_64.c 		regs->tnpc &= 0xffffffff;
regs              515 arch/sparc/kernel/sys_sparc_64.c         printk ("TRAP: Entering kernel PC=%lx, nPC=%lx\n", regs->tpc, regs->tnpc);
regs              517 arch/sparc/kernel/sys_sparc_64.c 	force_sig_fault(SIGTRAP, TRAP_BRKPT, (void __user *)regs->tpc, 0);
regs              519 arch/sparc/kernel/sys_sparc_64.c 	printk ("TRAP: Returning to space: PC=%lx nPC=%lx\n", regs->tpc, regs->tnpc);
regs              671 arch/sparc/kernel/sys_sparc_64.c 	struct pt_regs *regs = current_pt_regs();
regs              674 arch/sparc/kernel/sys_sparc_64.c 	regs->tstate = (regs->tstate & ~TSTATE_MM) | (model << 14);
regs               16 arch/sparc/kernel/systbls.h void do_rt_sigreturn(struct pt_regs *regs);
regs               20 arch/sparc/kernel/systbls.h asmlinkage void sparc_breakpoint(struct pt_regs *regs);
regs               50 arch/sparc/kernel/systbls.h asmlinkage void sparc64_set_context(struct pt_regs *regs);
regs               51 arch/sparc/kernel/systbls.h asmlinkage void sparc64_get_context(struct pt_regs *regs);
regs               68 arch/sparc/kernel/time_32.c unsigned long profile_pc(struct pt_regs *regs)
regs               73 arch/sparc/kernel/time_32.c 	unsigned long pc = regs->pc;
regs               80 arch/sparc/kernel/time_32.c 		pc = regs->u_regs[UREG_RETPC];
regs               57 arch/sparc/kernel/time_64.c unsigned long profile_pc(struct pt_regs *regs)
regs               59 arch/sparc/kernel/time_64.c 	unsigned long pc = instruction_pointer(regs);
regs               62 arch/sparc/kernel/time_64.c 		return regs->u_regs[UREG_RETPC];
regs              530 arch/sparc/kernel/time_64.c 	void __iomem *regs = (void __iomem *) pdev->resource[0].start;
regs              532 arch/sparc/kernel/time_64.c 	return readb(regs + ofs);
regs              538 arch/sparc/kernel/time_64.c 	void __iomem *regs = (void __iomem *) pdev->resource[0].start;
regs              540 arch/sparc/kernel/time_64.c 	writeb(val, regs + ofs);
regs              716 arch/sparc/kernel/time_64.c void __irq_entry timer_interrupt(int irq, struct pt_regs *regs)
regs              718 arch/sparc/kernel/time_64.c 	struct pt_regs *old_regs = set_irq_regs(regs);
regs               50 arch/sparc/kernel/traps_32.c void __noreturn die_if_kernel(char *str, struct pt_regs *regs)
regs               63 arch/sparc/kernel/traps_32.c 	show_regs(regs);
regs               72 arch/sparc/kernel/traps_32.c 		struct reg_window32 *rw = (struct reg_window32 *)regs->u_regs[UREG_FP];
regs               88 arch/sparc/kernel/traps_32.c 	instruction_dump ((unsigned long *) regs->pc);
regs               89 arch/sparc/kernel/traps_32.c 	if(regs->psr & PSR_PS)
regs               94 arch/sparc/kernel/traps_32.c void do_hw_interrupt(struct pt_regs *regs, unsigned long type)
regs               99 arch/sparc/kernel/traps_32.c 		die_if_kernel("Whee... Hello Mr. Penguin", regs);
regs              102 arch/sparc/kernel/traps_32.c 	if(regs->psr & PSR_PS)
regs              103 arch/sparc/kernel/traps_32.c 		die_if_kernel("Kernel bad trap", regs);
regs              106 arch/sparc/kernel/traps_32.c 			(void __user *)regs->pc, type - 0x80);
regs              109 arch/sparc/kernel/traps_32.c void do_illegal_instruction(struct pt_regs *regs, unsigned long pc, unsigned long npc,
regs              113 arch/sparc/kernel/traps_32.c 		die_if_kernel("Kernel illegal instruction", regs);
regs              116 arch/sparc/kernel/traps_32.c 	       regs->pc, *(unsigned long *)regs->pc);
regs              122 arch/sparc/kernel/traps_32.c void do_priv_instruction(struct pt_regs *regs, unsigned long pc, unsigned long npc,
regs              126 arch/sparc/kernel/traps_32.c 		die_if_kernel("Penguin instruction from Penguin mode??!?!", regs);
regs              132 arch/sparc/kernel/traps_32.c void do_memaccess_unaligned(struct pt_regs *regs, unsigned long pc, unsigned long npc,
regs              135 arch/sparc/kernel/traps_32.c 	if(regs->psr & PSR_PS) {
regs              137 arch/sparc/kernel/traps_32.c 		       regs->u_regs[UREG_RETPC]);
regs              138 arch/sparc/kernel/traps_32.c 		die_if_kernel("BOGUS", regs);
regs              142 arch/sparc/kernel/traps_32.c 	show_regs (regs);
regs              143 arch/sparc/kernel/traps_32.c 	instruction_dump ((unsigned long *) regs->pc);
regs              158 arch/sparc/kernel/traps_32.c void do_fpd_trap(struct pt_regs *regs, unsigned long pc, unsigned long npc,
regs              163 arch/sparc/kernel/traps_32.c 		die_if_kernel("Kernel gets FloatingPenguinUnit disabled trap", regs);
regs              166 arch/sparc/kernel/traps_32.c 	regs->psr |= PSR_EF;
regs              200 arch/sparc/kernel/traps_32.c void do_fpe_trap(struct pt_regs *regs, unsigned long pc, unsigned long npc,
regs              223 arch/sparc/kernel/traps_32.c 		regs->psr &= ~PSR_EF;
regs              241 arch/sparc/kernel/traps_32.c 		ret = do_mathemu(regs, fpt);
regs              270 arch/sparc/kernel/traps_32.c 		       regs->pc);
regs              271 arch/sparc/kernel/traps_32.c 		regs->pc = regs->npc;
regs              272 arch/sparc/kernel/traps_32.c 		regs->npc += 4;
regs              276 arch/sparc/kernel/traps_32.c 				      regs);
regs              298 arch/sparc/kernel/traps_32.c 	regs->psr &= ~PSR_EF;
regs              303 arch/sparc/kernel/traps_32.c void handle_tag_overflow(struct pt_regs *regs, unsigned long pc, unsigned long npc,
regs              307 arch/sparc/kernel/traps_32.c 		die_if_kernel("Penguin overflow trap from kernel mode", regs);
regs              311 arch/sparc/kernel/traps_32.c void handle_watchpoint(struct pt_regs *regs, unsigned long pc, unsigned long npc,
regs              323 arch/sparc/kernel/traps_32.c void handle_reg_access(struct pt_regs *regs, unsigned long pc, unsigned long npc,
regs              333 arch/sparc/kernel/traps_32.c void handle_cp_disabled(struct pt_regs *regs, unsigned long pc, unsigned long npc,
regs              339 arch/sparc/kernel/traps_32.c void handle_cp_exception(struct pt_regs *regs, unsigned long pc, unsigned long npc,
regs              349 arch/sparc/kernel/traps_32.c void handle_hw_divzero(struct pt_regs *regs, unsigned long pc, unsigned long npc,
regs               88 arch/sparc/kernel/traps_64.c void bad_trap(struct pt_regs *regs, long lvl)
regs               92 arch/sparc/kernel/traps_64.c 	if (notify_die(DIE_TRAP, "bad trap", regs,
regs               98 arch/sparc/kernel/traps_64.c 		die_if_kernel(buffer, regs);
regs              102 arch/sparc/kernel/traps_64.c 	if (regs->tstate & TSTATE_PRIV) {
regs              104 arch/sparc/kernel/traps_64.c 		die_if_kernel(buffer, regs);
regs              107 arch/sparc/kernel/traps_64.c 		regs->tpc &= 0xffffffff;
regs              108 arch/sparc/kernel/traps_64.c 		regs->tnpc &= 0xffffffff;
regs              111 arch/sparc/kernel/traps_64.c 			(void __user *)regs->tpc, lvl);
regs              114 arch/sparc/kernel/traps_64.c void bad_trap_tl1(struct pt_regs *regs, long lvl)
regs              118 arch/sparc/kernel/traps_64.c 	if (notify_die(DIE_TRAP_TL1, "bad trap tl1", regs,
regs              122 arch/sparc/kernel/traps_64.c 	dump_tl1_traplog((struct tl1_traplog *)(regs + 1));
regs              125 arch/sparc/kernel/traps_64.c 	die_if_kernel (buffer, regs);
regs              187 arch/sparc/kernel/traps_64.c void spitfire_insn_access_exception(struct pt_regs *regs, unsigned long sfsr, unsigned long sfar)
regs              191 arch/sparc/kernel/traps_64.c 	if (notify_die(DIE_TRAP, "instruction access exception", regs,
regs              195 arch/sparc/kernel/traps_64.c 	if (regs->tstate & TSTATE_PRIV) {
regs              198 arch/sparc/kernel/traps_64.c 		die_if_kernel("Iax", regs);
regs              201 arch/sparc/kernel/traps_64.c 		regs->tpc &= 0xffffffff;
regs              202 arch/sparc/kernel/traps_64.c 		regs->tnpc &= 0xffffffff;
regs              205 arch/sparc/kernel/traps_64.c 			(void __user *)regs->tpc, 0);
regs              210 arch/sparc/kernel/traps_64.c void spitfire_insn_access_exception_tl1(struct pt_regs *regs, unsigned long sfsr, unsigned long sfar)
regs              212 arch/sparc/kernel/traps_64.c 	if (notify_die(DIE_TRAP_TL1, "instruction access exception tl1", regs,
regs              216 arch/sparc/kernel/traps_64.c 	dump_tl1_traplog((struct tl1_traplog *)(regs + 1));
regs              217 arch/sparc/kernel/traps_64.c 	spitfire_insn_access_exception(regs, sfsr, sfar);
regs              220 arch/sparc/kernel/traps_64.c void sun4v_insn_access_exception(struct pt_regs *regs, unsigned long addr, unsigned long type_ctx)
regs              225 arch/sparc/kernel/traps_64.c 	if (notify_die(DIE_TRAP, "instruction access exception", regs,
regs              229 arch/sparc/kernel/traps_64.c 	if (regs->tstate & TSTATE_PRIV) {
regs              233 arch/sparc/kernel/traps_64.c 		die_if_kernel("Iax", regs);
regs              237 arch/sparc/kernel/traps_64.c 		regs->tpc &= 0xffffffff;
regs              238 arch/sparc/kernel/traps_64.c 		regs->tnpc &= 0xffffffff;
regs              243 arch/sparc/kernel/traps_64.c void sun4v_insn_access_exception_tl1(struct pt_regs *regs, unsigned long addr, unsigned long type_ctx)
regs              245 arch/sparc/kernel/traps_64.c 	if (notify_die(DIE_TRAP_TL1, "instruction access exception tl1", regs,
regs              249 arch/sparc/kernel/traps_64.c 	dump_tl1_traplog((struct tl1_traplog *)(regs + 1));
regs              250 arch/sparc/kernel/traps_64.c 	sun4v_insn_access_exception(regs, addr, type_ctx);
regs              253 arch/sparc/kernel/traps_64.c bool is_no_fault_exception(struct pt_regs *regs)
regs              258 arch/sparc/kernel/traps_64.c 	if (get_user(insn, (u32 __user *)regs->tpc) == -EFAULT)
regs              275 arch/sparc/kernel/traps_64.c 			asi = (regs->tstate >> 24); /* saved %asi       */
regs              280 arch/sparc/kernel/traps_64.c 				handle_ldf_stq(insn, regs);
regs              285 arch/sparc/kernel/traps_64.c 			handle_ld_nf(insn, regs);
regs              292 arch/sparc/kernel/traps_64.c void spitfire_data_access_exception(struct pt_regs *regs, unsigned long sfsr, unsigned long sfar)
regs              296 arch/sparc/kernel/traps_64.c 	if (notify_die(DIE_TRAP, "data access exception", regs,
regs              300 arch/sparc/kernel/traps_64.c 	if (regs->tstate & TSTATE_PRIV) {
regs              304 arch/sparc/kernel/traps_64.c 		entry = search_exception_tables(regs->tpc);
regs              308 arch/sparc/kernel/traps_64.c 			printk("Exception: PC<%016lx> faddr<UNKNOWN>\n", regs->tpc);
regs              310 arch/sparc/kernel/traps_64.c 			       regs->tpc, entry->fixup);
regs              312 arch/sparc/kernel/traps_64.c 			regs->tpc = entry->fixup;
regs              313 arch/sparc/kernel/traps_64.c 			regs->tnpc = regs->tpc + 4;
regs              319 arch/sparc/kernel/traps_64.c 		die_if_kernel("Dax", regs);
regs              322 arch/sparc/kernel/traps_64.c 	if (is_no_fault_exception(regs))
regs              330 arch/sparc/kernel/traps_64.c void spitfire_data_access_exception_tl1(struct pt_regs *regs, unsigned long sfsr, unsigned long sfar)
regs              332 arch/sparc/kernel/traps_64.c 	if (notify_die(DIE_TRAP_TL1, "data access exception tl1", regs,
regs              336 arch/sparc/kernel/traps_64.c 	dump_tl1_traplog((struct tl1_traplog *)(regs + 1));
regs              337 arch/sparc/kernel/traps_64.c 	spitfire_data_access_exception(regs, sfsr, sfar);
regs              340 arch/sparc/kernel/traps_64.c void sun4v_data_access_exception(struct pt_regs *regs, unsigned long addr, unsigned long type_ctx)
regs              345 arch/sparc/kernel/traps_64.c 	if (notify_die(DIE_TRAP, "data access exception", regs,
regs              349 arch/sparc/kernel/traps_64.c 	if (regs->tstate & TSTATE_PRIV) {
regs              353 arch/sparc/kernel/traps_64.c 		entry = search_exception_tables(regs->tpc);
regs              357 arch/sparc/kernel/traps_64.c 			printk("Exception: PC<%016lx> faddr<UNKNOWN>\n", regs->tpc);
regs              359 arch/sparc/kernel/traps_64.c 			       regs->tpc, entry->fixup);
regs              361 arch/sparc/kernel/traps_64.c 			regs->tpc = entry->fixup;
regs              362 arch/sparc/kernel/traps_64.c 			regs->tnpc = regs->tpc + 4;
regs              368 arch/sparc/kernel/traps_64.c 		die_if_kernel("Dax", regs);
regs              372 arch/sparc/kernel/traps_64.c 		regs->tpc &= 0xffffffff;
regs              373 arch/sparc/kernel/traps_64.c 		regs->tnpc &= 0xffffffff;
regs              375 arch/sparc/kernel/traps_64.c 	if (is_no_fault_exception(regs))
regs              400 arch/sparc/kernel/traps_64.c void sun4v_data_access_exception_tl1(struct pt_regs *regs, unsigned long addr, unsigned long type_ctx)
regs              402 arch/sparc/kernel/traps_64.c 	if (notify_die(DIE_TRAP_TL1, "data access exception tl1", regs,
regs              406 arch/sparc/kernel/traps_64.c 	dump_tl1_traplog((struct tl1_traplog *)(regs + 1));
regs              407 arch/sparc/kernel/traps_64.c 	sun4v_data_access_exception(regs, addr, type_ctx);
regs              515 arch/sparc/kernel/traps_64.c static void spitfire_cee_log(unsigned long afsr, unsigned long afar, unsigned long udbh, unsigned long udbl, int tl1, struct pt_regs *regs)
regs              527 arch/sparc/kernel/traps_64.c 	notify_die(DIE_TRAP, "Correctable ECC Error", regs,
regs              536 arch/sparc/kernel/traps_64.c static void spitfire_ue_log(unsigned long afsr, unsigned long afar, unsigned long udbh, unsigned long udbl, unsigned long tt, int tl1, struct pt_regs *regs)
regs              551 arch/sparc/kernel/traps_64.c 	notify_die(DIE_TRAP, "Uncorrectable Error", regs,
regs              554 arch/sparc/kernel/traps_64.c 	if (regs->tstate & TSTATE_PRIV) {
regs              556 arch/sparc/kernel/traps_64.c 			dump_tl1_traplog((struct tl1_traplog *)(regs + 1));
regs              557 arch/sparc/kernel/traps_64.c 		die_if_kernel("UE", regs);
regs              569 arch/sparc/kernel/traps_64.c 		regs->tpc &= 0xffffffff;
regs              570 arch/sparc/kernel/traps_64.c 		regs->tnpc &= 0xffffffff;
regs              575 arch/sparc/kernel/traps_64.c void spitfire_access_error(struct pt_regs *regs, unsigned long status_encoded, unsigned long afar)
regs              593 arch/sparc/kernel/traps_64.c 		regs->tnpc = regs->tpc + 4;
regs              599 arch/sparc/kernel/traps_64.c 		spitfire_ue_log(afsr, afar, udbh, udbl, tt, tl1, regs);
regs              624 arch/sparc/kernel/traps_64.c 		spitfire_cee_log(afsr, afar, udbh, udbl, tl1, regs);
regs             1170 arch/sparc/kernel/traps_64.c static void cheetah_log_errors(struct pt_regs *regs, struct cheetah_err_info *info,
regs             1182 arch/sparc/kernel/traps_64.c 	       regs->tpc, regs->tnpc, regs->u_regs[UREG_I7], regs->tstate);
regs             1185 arch/sparc/kernel/traps_64.c 	printk("TPC<%pS>\n", (void *) regs->tpc);
regs             1313 arch/sparc/kernel/traps_64.c void cheetah_fecc_handler(struct pt_regs *regs, unsigned long afsr, unsigned long afar)
regs             1326 arch/sparc/kernel/traps_64.c 			    smp_processor_id(), regs->tpc, regs->tnpc, regs->tstate);
regs             1390 arch/sparc/kernel/traps_64.c 	cheetah_log_errors(regs, &local_snapshot, afsr, afar, recoverable);
regs             1474 arch/sparc/kernel/traps_64.c void cheetah_cee_handler(struct pt_regs *regs, unsigned long afsr, unsigned long afar)
regs             1484 arch/sparc/kernel/traps_64.c 			    smp_processor_id(), regs->tpc, regs->tnpc, regs->tstate);
regs             1568 arch/sparc/kernel/traps_64.c 	cheetah_log_errors(regs, &local_snapshot, afsr, afar, recoverable);
regs             1574 arch/sparc/kernel/traps_64.c void cheetah_deferred_handler(struct pt_regs *regs, unsigned long afsr, unsigned long afar)
regs             1608 arch/sparc/kernel/traps_64.c 		regs->tpc += 4;
regs             1609 arch/sparc/kernel/traps_64.c 		regs->tnpc = regs->tpc + 4;
regs             1619 arch/sparc/kernel/traps_64.c 			    smp_processor_id(), regs->tpc, regs->tnpc, regs->tstate);
regs             1707 arch/sparc/kernel/traps_64.c 	cheetah_log_errors(regs, &local_snapshot, afsr, afar, recoverable);
regs             1722 arch/sparc/kernel/traps_64.c 		if ((regs->tstate & TSTATE_PRIV) == 0UL) {
regs             1728 arch/sparc/kernel/traps_64.c 			entry = search_exception_tables(regs->tpc);
regs             1748 arch/sparc/kernel/traps_64.c 					regs->tpc = entry->fixup;
regs             1749 arch/sparc/kernel/traps_64.c 					regs->tnpc = regs->tpc + 4;
regs             1769 arch/sparc/kernel/traps_64.c void cheetah_plus_parity_error(int type, struct pt_regs *regs)
regs             1791 arch/sparc/kernel/traps_64.c 		       regs->tpc);
regs             1792 arch/sparc/kernel/traps_64.c 		printk(KERN_EMERG "TPC<%pS>\n", (void *) regs->tpc);
regs             1799 arch/sparc/kernel/traps_64.c 	       regs->tpc);
regs             1800 arch/sparc/kernel/traps_64.c 	printk(KERN_WARNING "TPC<%pS>\n", (void *) regs->tpc);
regs             1950 arch/sparc/kernel/traps_64.c static void sun4v_report_real_raddr(const char *pfx, struct pt_regs *regs)
regs             1955 arch/sparc/kernel/traps_64.c 	if (!(regs->tstate & TSTATE_PRIV))
regs             1958 arch/sparc/kernel/traps_64.c 	insn = *(unsigned int *) regs->tpc;
regs             1960 arch/sparc/kernel/traps_64.c 	addr = compute_effective_address(regs, insn, 0);
regs             1966 arch/sparc/kernel/traps_64.c static void sun4v_log_error(struct pt_regs *regs, struct sun4v_error_entry *ent,
regs             1975 arch/sparc/kernel/traps_64.c 	       pfx, regs->tpc, (void *) regs->tpc);
regs             2001 arch/sparc/kernel/traps_64.c 			sun4v_report_real_raddr(pfx, regs);
regs             2023 arch/sparc/kernel/traps_64.c 	show_regs(regs);
regs             2036 arch/sparc/kernel/traps_64.c void do_mcd_err(struct pt_regs *regs, struct sun4v_error_entry ent)
regs             2038 arch/sparc/kernel/traps_64.c 	if (notify_die(DIE_TRAP, "MCD error", regs, 0, 0x34,
regs             2042 arch/sparc/kernel/traps_64.c 	if (regs->tstate & TSTATE_PRIV) {
regs             2055 arch/sparc/kernel/traps_64.c 		entry = search_exception_tables(regs->tpc);
regs             2060 arch/sparc/kernel/traps_64.c 				 regs->tpc);
regs             2064 arch/sparc/kernel/traps_64.c 			regs->tpc = entry->fixup;
regs             2065 arch/sparc/kernel/traps_64.c 			regs->tnpc = regs->tpc + 4;
regs             2080 arch/sparc/kernel/traps_64.c void sun4v_resum_error(struct pt_regs *regs, unsigned long offset)
regs             2118 arch/sparc/kernel/traps_64.c 		do_mcd_err(regs, local_copy);
regs             2122 arch/sparc/kernel/traps_64.c 	sun4v_log_error(regs, &local_copy, cpu,
regs             2133 arch/sparc/kernel/traps_64.c void sun4v_resum_overflow(struct pt_regs *regs)
regs             2141 arch/sparc/kernel/traps_64.c static unsigned long sun4v_get_vaddr(struct pt_regs *regs)
regs             2145 arch/sparc/kernel/traps_64.c 	if (!copy_from_user(&insn, (void __user *)regs->tpc, 4)) {
regs             2146 arch/sparc/kernel/traps_64.c 		return compute_effective_address(regs, insn,
regs             2155 arch/sparc/kernel/traps_64.c bool sun4v_nonresum_error_user_handled(struct pt_regs *regs,
regs             2188 arch/sparc/kernel/traps_64.c 				(void __user *)sun4v_get_vaddr(regs), 0);
regs             2199 arch/sparc/kernel/traps_64.c void sun4v_nonresum_error(struct pt_regs *regs, unsigned long offset)
regs             2220 arch/sparc/kernel/traps_64.c 	if (!(regs->tstate & TSTATE_PRIV) &&
regs             2221 arch/sparc/kernel/traps_64.c 	    sun4v_nonresum_error_user_handled(regs, &local_copy)) {
regs             2230 arch/sparc/kernel/traps_64.c 		regs->tpc += 4;
regs             2231 arch/sparc/kernel/traps_64.c 		regs->tnpc = regs->tpc + 4;
regs             2236 arch/sparc/kernel/traps_64.c 	sun4v_log_error(regs, &local_copy, cpu,
regs             2247 arch/sparc/kernel/traps_64.c void sun4v_nonresum_overflow(struct pt_regs *regs)
regs             2255 arch/sparc/kernel/traps_64.c static void sun4v_tlb_error(struct pt_regs *regs)
regs             2257 arch/sparc/kernel/traps_64.c 	die_if_kernel("TLB/TSB error", regs);
regs             2265 arch/sparc/kernel/traps_64.c void sun4v_itlb_error_report(struct pt_regs *regs, int tl)
regs             2267 arch/sparc/kernel/traps_64.c 	dump_tl1_traplog((struct tl1_traplog *)(regs + 1));
regs             2270 arch/sparc/kernel/traps_64.c 	       regs->tpc, tl);
regs             2271 arch/sparc/kernel/traps_64.c 	printk(KERN_EMERG "SUN4V-ITLB: TPC<%pS>\n", (void *) regs->tpc);
regs             2272 arch/sparc/kernel/traps_64.c 	printk(KERN_EMERG "SUN4V-ITLB: O7[%lx]\n", regs->u_regs[UREG_I7]);
regs             2274 arch/sparc/kernel/traps_64.c 	       (void *) regs->u_regs[UREG_I7]);
regs             2280 arch/sparc/kernel/traps_64.c 	sun4v_tlb_error(regs);
regs             2288 arch/sparc/kernel/traps_64.c void sun4v_dtlb_error_report(struct pt_regs *regs, int tl)
regs             2290 arch/sparc/kernel/traps_64.c 	dump_tl1_traplog((struct tl1_traplog *)(regs + 1));
regs             2293 arch/sparc/kernel/traps_64.c 	       regs->tpc, tl);
regs             2294 arch/sparc/kernel/traps_64.c 	printk(KERN_EMERG "SUN4V-DTLB: TPC<%pS>\n", (void *) regs->tpc);
regs             2295 arch/sparc/kernel/traps_64.c 	printk(KERN_EMERG "SUN4V-DTLB: O7[%lx]\n", regs->u_regs[UREG_I7]);
regs             2297 arch/sparc/kernel/traps_64.c 	       (void *) regs->u_regs[UREG_I7]);
regs             2303 arch/sparc/kernel/traps_64.c 	sun4v_tlb_error(regs);
regs             2318 arch/sparc/kernel/traps_64.c static void do_fpe_common(struct pt_regs *regs)
regs             2320 arch/sparc/kernel/traps_64.c 	if (regs->tstate & TSTATE_PRIV) {
regs             2321 arch/sparc/kernel/traps_64.c 		regs->tpc = regs->tnpc;
regs             2322 arch/sparc/kernel/traps_64.c 		regs->tnpc += 4;
regs             2328 arch/sparc/kernel/traps_64.c 			regs->tpc &= 0xffffffff;
regs             2329 arch/sparc/kernel/traps_64.c 			regs->tnpc &= 0xffffffff;
regs             2345 arch/sparc/kernel/traps_64.c 				(void __user *)regs->tpc, 0);
regs             2349 arch/sparc/kernel/traps_64.c void do_fpieee(struct pt_regs *regs)
regs             2353 arch/sparc/kernel/traps_64.c 	if (notify_die(DIE_TRAP, "fpu exception ieee", regs,
regs             2357 arch/sparc/kernel/traps_64.c 	do_fpe_common(regs);
regs             2362 arch/sparc/kernel/traps_64.c void do_fpother(struct pt_regs *regs)
regs             2368 arch/sparc/kernel/traps_64.c 	if (notify_die(DIE_TRAP, "fpu exception other", regs,
regs             2375 arch/sparc/kernel/traps_64.c 		ret = do_mathemu(regs, f, false);
regs             2380 arch/sparc/kernel/traps_64.c 	do_fpe_common(regs);
regs             2385 arch/sparc/kernel/traps_64.c void do_tof(struct pt_regs *regs)
regs             2389 arch/sparc/kernel/traps_64.c 	if (notify_die(DIE_TRAP, "tagged arithmetic overflow", regs,
regs             2393 arch/sparc/kernel/traps_64.c 	if (regs->tstate & TSTATE_PRIV)
regs             2394 arch/sparc/kernel/traps_64.c 		die_if_kernel("Penguin overflow trap from kernel mode", regs);
regs             2396 arch/sparc/kernel/traps_64.c 		regs->tpc &= 0xffffffff;
regs             2397 arch/sparc/kernel/traps_64.c 		regs->tnpc &= 0xffffffff;
regs             2400 arch/sparc/kernel/traps_64.c 			(void __user *)regs->tpc, 0);
regs             2405 arch/sparc/kernel/traps_64.c void do_div0(struct pt_regs *regs)
regs             2409 arch/sparc/kernel/traps_64.c 	if (notify_die(DIE_TRAP, "integer division by zero", regs,
regs             2413 arch/sparc/kernel/traps_64.c 	if (regs->tstate & TSTATE_PRIV)
regs             2414 arch/sparc/kernel/traps_64.c 		die_if_kernel("TL0: Kernel divide by zero.", regs);
regs             2416 arch/sparc/kernel/traps_64.c 		regs->tpc &= 0xffffffff;
regs             2417 arch/sparc/kernel/traps_64.c 		regs->tnpc &= 0xffffffff;
regs             2420 arch/sparc/kernel/traps_64.c 			(void __user *)regs->tpc, 0);
regs             2482 arch/sparc/kernel/traps_64.c 		struct pt_regs *regs;
regs             2488 arch/sparc/kernel/traps_64.c 		regs = (struct pt_regs *) (sf + 1);
regs             2490 arch/sparc/kernel/traps_64.c 		if (kstack_is_trap_frame(tp, regs)) {
regs             2491 arch/sparc/kernel/traps_64.c 			if (!(regs->tstate & TSTATE_PRIV))
regs             2493 arch/sparc/kernel/traps_64.c 			pc = regs->tpc;
regs             2494 arch/sparc/kernel/traps_64.c 			fp = regs->u_regs[UREG_I6] + STACK_BIAS;
regs             2525 arch/sparc/kernel/traps_64.c void __noreturn die_if_kernel(char *str, struct pt_regs *regs)
regs             2538 arch/sparc/kernel/traps_64.c 	notify_die(DIE_OOPS, str, regs, 0, 255, SIGSEGV);
regs             2540 arch/sparc/kernel/traps_64.c 	show_regs(regs);
regs             2542 arch/sparc/kernel/traps_64.c 	if (regs->tstate & TSTATE_PRIV) {
regs             2545 arch/sparc/kernel/traps_64.c 			(regs->u_regs[UREG_FP] + STACK_BIAS);
regs             2558 arch/sparc/kernel/traps_64.c 		instruction_dump ((unsigned int *) regs->tpc);
regs             2561 arch/sparc/kernel/traps_64.c 			regs->tpc &= 0xffffffff;
regs             2562 arch/sparc/kernel/traps_64.c 			regs->tnpc &= 0xffffffff;
regs             2564 arch/sparc/kernel/traps_64.c 		user_instruction_dump ((unsigned int __user *) regs->tpc);
regs             2568 arch/sparc/kernel/traps_64.c 	if (regs->tstate & TSTATE_PRIV)
regs             2577 arch/sparc/kernel/traps_64.c void do_illegal_instruction(struct pt_regs *regs)
regs             2580 arch/sparc/kernel/traps_64.c 	unsigned long pc = regs->tpc;
regs             2581 arch/sparc/kernel/traps_64.c 	unsigned long tstate = regs->tstate;
regs             2584 arch/sparc/kernel/traps_64.c 	if (notify_die(DIE_TRAP, "illegal instruction", regs,
regs             2589 arch/sparc/kernel/traps_64.c 		die_if_kernel("Kernel illegal instruction", regs);
regs             2594 arch/sparc/kernel/traps_64.c 			if (handle_popc(insn, regs))
regs             2597 arch/sparc/kernel/traps_64.c 			if (handle_ldf_stq(insn, regs))
regs             2601 arch/sparc/kernel/traps_64.c 				if (!vis_emul(regs, insn))
regs             2611 arch/sparc/kernel/traps_64.c 				if (do_mathemu(regs, f, true))
regs             2621 arch/sparc/kernel/traps_64.c void mem_address_unaligned(struct pt_regs *regs, unsigned long sfar, unsigned long sfsr)
regs             2625 arch/sparc/kernel/traps_64.c 	if (notify_die(DIE_TRAP, "memory address unaligned", regs,
regs             2629 arch/sparc/kernel/traps_64.c 	if (regs->tstate & TSTATE_PRIV) {
regs             2630 arch/sparc/kernel/traps_64.c 		kernel_unaligned_trap(regs, *((unsigned int *)regs->tpc));
regs             2633 arch/sparc/kernel/traps_64.c 	if (is_no_fault_exception(regs))
regs             2641 arch/sparc/kernel/traps_64.c void sun4v_do_mna(struct pt_regs *regs, unsigned long addr, unsigned long type_ctx)
regs             2643 arch/sparc/kernel/traps_64.c 	if (notify_die(DIE_TRAP, "memory address unaligned", regs,
regs             2647 arch/sparc/kernel/traps_64.c 	if (regs->tstate & TSTATE_PRIV) {
regs             2648 arch/sparc/kernel/traps_64.c 		kernel_unaligned_trap(regs, *((unsigned int *)regs->tpc));
regs             2651 arch/sparc/kernel/traps_64.c 	if (is_no_fault_exception(regs))
regs             2664 arch/sparc/kernel/traps_64.c void sun4v_mem_corrupt_detect_precise(struct pt_regs *regs, unsigned long addr,
regs             2667 arch/sparc/kernel/traps_64.c 	if (notify_die(DIE_TRAP, "memory corruption precise exception", regs,
regs             2671 arch/sparc/kernel/traps_64.c 	if (regs->tstate & TSTATE_PRIV) {
regs             2679 arch/sparc/kernel/traps_64.c 		entry = search_exception_tables(regs->tpc);
regs             2684 arch/sparc/kernel/traps_64.c 				 regs->tpc);
regs             2686 arch/sparc/kernel/traps_64.c 				 regs->tpc, entry->fixup);
regs             2688 arch/sparc/kernel/traps_64.c 			regs->tpc = entry->fixup;
regs             2689 arch/sparc/kernel/traps_64.c 			regs->tnpc = regs->tpc + 4;
regs             2694 arch/sparc/kernel/traps_64.c 		die_if_kernel("MCD precise", regs);
regs             2698 arch/sparc/kernel/traps_64.c 		regs->tpc &= 0xffffffff;
regs             2699 arch/sparc/kernel/traps_64.c 		regs->tnpc &= 0xffffffff;
regs             2704 arch/sparc/kernel/traps_64.c void do_privop(struct pt_regs *regs)
regs             2708 arch/sparc/kernel/traps_64.c 	if (notify_die(DIE_TRAP, "privileged operation", regs,
regs             2713 arch/sparc/kernel/traps_64.c 		regs->tpc &= 0xffffffff;
regs             2714 arch/sparc/kernel/traps_64.c 		regs->tnpc &= 0xffffffff;
regs             2717 arch/sparc/kernel/traps_64.c 			(void __user *)regs->tpc, 0);
regs             2722 arch/sparc/kernel/traps_64.c void do_privact(struct pt_regs *regs)
regs             2724 arch/sparc/kernel/traps_64.c 	do_privop(regs);
regs             2728 arch/sparc/kernel/traps_64.c void do_cee(struct pt_regs *regs)
regs             2731 arch/sparc/kernel/traps_64.c 	die_if_kernel("TL0: Cache Error Exception", regs);
regs             2734 arch/sparc/kernel/traps_64.c void do_div0_tl1(struct pt_regs *regs)
regs             2737 arch/sparc/kernel/traps_64.c 	dump_tl1_traplog((struct tl1_traplog *)(regs + 1));
regs             2738 arch/sparc/kernel/traps_64.c 	die_if_kernel("TL1: DIV0 Exception", regs);
regs             2741 arch/sparc/kernel/traps_64.c void do_fpieee_tl1(struct pt_regs *regs)
regs             2744 arch/sparc/kernel/traps_64.c 	dump_tl1_traplog((struct tl1_traplog *)(regs + 1));
regs             2745 arch/sparc/kernel/traps_64.c 	die_if_kernel("TL1: FPU IEEE Exception", regs);
regs             2748 arch/sparc/kernel/traps_64.c void do_fpother_tl1(struct pt_regs *regs)
regs             2751 arch/sparc/kernel/traps_64.c 	dump_tl1_traplog((struct tl1_traplog *)(regs + 1));
regs             2752 arch/sparc/kernel/traps_64.c 	die_if_kernel("TL1: FPU Other Exception", regs);
regs             2755 arch/sparc/kernel/traps_64.c void do_ill_tl1(struct pt_regs *regs)
regs             2758 arch/sparc/kernel/traps_64.c 	dump_tl1_traplog((struct tl1_traplog *)(regs + 1));
regs             2759 arch/sparc/kernel/traps_64.c 	die_if_kernel("TL1: Illegal Instruction Exception", regs);
regs             2762 arch/sparc/kernel/traps_64.c void do_irq_tl1(struct pt_regs *regs)
regs             2765 arch/sparc/kernel/traps_64.c 	dump_tl1_traplog((struct tl1_traplog *)(regs + 1));
regs             2766 arch/sparc/kernel/traps_64.c 	die_if_kernel("TL1: IRQ Exception", regs);
regs             2769 arch/sparc/kernel/traps_64.c void do_lddfmna_tl1(struct pt_regs *regs)
regs             2772 arch/sparc/kernel/traps_64.c 	dump_tl1_traplog((struct tl1_traplog *)(regs + 1));
regs             2773 arch/sparc/kernel/traps_64.c 	die_if_kernel("TL1: LDDF Exception", regs);
regs             2776 arch/sparc/kernel/traps_64.c void do_stdfmna_tl1(struct pt_regs *regs)
regs             2779 arch/sparc/kernel/traps_64.c 	dump_tl1_traplog((struct tl1_traplog *)(regs + 1));
regs             2780 arch/sparc/kernel/traps_64.c 	die_if_kernel("TL1: STDF Exception", regs);
regs             2783 arch/sparc/kernel/traps_64.c void do_paw(struct pt_regs *regs)
regs             2786 arch/sparc/kernel/traps_64.c 	die_if_kernel("TL0: Phys Watchpoint Exception", regs);
regs             2789 arch/sparc/kernel/traps_64.c void do_paw_tl1(struct pt_regs *regs)
regs             2792 arch/sparc/kernel/traps_64.c 	dump_tl1_traplog((struct tl1_traplog *)(regs + 1));
regs             2793 arch/sparc/kernel/traps_64.c 	die_if_kernel("TL1: Phys Watchpoint Exception", regs);
regs             2796 arch/sparc/kernel/traps_64.c void do_vaw(struct pt_regs *regs)
regs             2799 arch/sparc/kernel/traps_64.c 	die_if_kernel("TL0: Virt Watchpoint Exception", regs);
regs             2802 arch/sparc/kernel/traps_64.c void do_vaw_tl1(struct pt_regs *regs)
regs             2805 arch/sparc/kernel/traps_64.c 	dump_tl1_traplog((struct tl1_traplog *)(regs + 1));
regs             2806 arch/sparc/kernel/traps_64.c 	die_if_kernel("TL1: Virt Watchpoint Exception", regs);
regs             2809 arch/sparc/kernel/traps_64.c void do_tof_tl1(struct pt_regs *regs)
regs             2812 arch/sparc/kernel/traps_64.c 	dump_tl1_traplog((struct tl1_traplog *)(regs + 1));
regs             2813 arch/sparc/kernel/traps_64.c 	die_if_kernel("TL1: Tag Overflow Exception", regs);
regs             2816 arch/sparc/kernel/traps_64.c void do_getpsr(struct pt_regs *regs)
regs             2818 arch/sparc/kernel/traps_64.c 	regs->u_regs[UREG_I0] = tstate_to_psr(regs->tstate);
regs             2819 arch/sparc/kernel/traps_64.c 	regs->tpc   = regs->tnpc;
regs             2820 arch/sparc/kernel/traps_64.c 	regs->tnpc += 4;
regs             2822 arch/sparc/kernel/traps_64.c 		regs->tpc &= 0xffffffff;
regs             2823 arch/sparc/kernel/traps_64.c 		regs->tnpc &= 0xffffffff;
regs               93 arch/sparc/kernel/unaligned_32.c static inline unsigned long fetch_reg(unsigned int reg, struct pt_regs *regs)
regs               98 arch/sparc/kernel/unaligned_32.c 		return (!reg ? 0 : regs->u_regs[reg]);
regs              101 arch/sparc/kernel/unaligned_32.c 	win = (struct reg_window32 *) regs->u_regs[UREG_FP];
regs              105 arch/sparc/kernel/unaligned_32.c static inline unsigned long safe_fetch_reg(unsigned int reg, struct pt_regs *regs)
regs              111 arch/sparc/kernel/unaligned_32.c 		return (!reg ? 0 : regs->u_regs[reg]);
regs              114 arch/sparc/kernel/unaligned_32.c 	win = (struct reg_window32 __user *) regs->u_regs[UREG_FP];
regs              125 arch/sparc/kernel/unaligned_32.c static inline unsigned long *fetch_reg_addr(unsigned int reg, struct pt_regs *regs)
regs              130 arch/sparc/kernel/unaligned_32.c 		return &regs->u_regs[reg];
regs              131 arch/sparc/kernel/unaligned_32.c 	win = (struct reg_window32 *) regs->u_regs[UREG_FP];
regs              135 arch/sparc/kernel/unaligned_32.c static unsigned long compute_effective_address(struct pt_regs *regs,
regs              144 arch/sparc/kernel/unaligned_32.c 		return (fetch_reg(rs1, regs) + sign_extend_imm13(insn));
regs              147 arch/sparc/kernel/unaligned_32.c 		return (fetch_reg(rs1, regs) + fetch_reg(rs2, regs));
regs              151 arch/sparc/kernel/unaligned_32.c unsigned long safe_compute_effective_address(struct pt_regs *regs,
regs              160 arch/sparc/kernel/unaligned_32.c 		return (safe_fetch_reg(rs1, regs) + sign_extend_imm13(insn));
regs              163 arch/sparc/kernel/unaligned_32.c 		return (safe_fetch_reg(rs1, regs) + safe_fetch_reg(rs2, regs));
regs              180 arch/sparc/kernel/unaligned_32.c 			struct pt_regs *regs)
regs              186 arch/sparc/kernel/unaligned_32.c 		src_val = fetch_reg_addr(reg_num, regs);
regs              190 arch/sparc/kernel/unaligned_32.c 			zero[1] = fetch_reg(1, regs);
regs              198 arch/sparc/kernel/unaligned_32.c static inline void advance(struct pt_regs *regs)
regs              200 arch/sparc/kernel/unaligned_32.c 	regs->pc   = regs->npc;
regs              201 arch/sparc/kernel/unaligned_32.c 	regs->npc += 4;
regs              214 arch/sparc/kernel/unaligned_32.c static void kernel_mna_trap_fault(struct pt_regs *regs, unsigned int insn)
regs              216 arch/sparc/kernel/unaligned_32.c 	unsigned long g2 = regs->u_regs [UREG_G2];
regs              217 arch/sparc/kernel/unaligned_32.c 	unsigned long fixup = search_extables_range(regs->pc, &g2);
regs              220 arch/sparc/kernel/unaligned_32.c 		unsigned long address = compute_effective_address(regs, insn);
regs              232 arch/sparc/kernel/unaligned_32.c 	        die_if_kernel("Oops", regs);
regs              235 arch/sparc/kernel/unaligned_32.c 	regs->pc = fixup;
regs              236 arch/sparc/kernel/unaligned_32.c 	regs->npc = regs->pc + 4;
regs              237 arch/sparc/kernel/unaligned_32.c 	regs->u_regs [UREG_G2] = g2;
regs              240 arch/sparc/kernel/unaligned_32.c asmlinkage void kernel_unaligned_trap(struct pt_regs *regs, unsigned int insn)
regs              247 arch/sparc/kernel/unaligned_32.c 		       regs->pc);
regs              250 arch/sparc/kernel/unaligned_32.c 		unsigned long addr = compute_effective_address(regs, insn);
regs              253 arch/sparc/kernel/unaligned_32.c 		perf_sw_event(PERF_COUNT_SW_ALIGNMENT_FAULTS, 1, regs, addr);
regs              257 arch/sparc/kernel/unaligned_32.c 							 regs),
regs              264 arch/sparc/kernel/unaligned_32.c 					   (unsigned long *) addr, regs);
regs              271 arch/sparc/kernel/unaligned_32.c 			kernel_mna_trap_fault(regs, insn);
regs              273 arch/sparc/kernel/unaligned_32.c 			advance(regs);
regs              277 arch/sparc/kernel/unaligned_32.c static inline int ok_for_user(struct pt_regs *regs, unsigned int insn,
regs              283 arch/sparc/kernel/unaligned_32.c 	if ((regs->pc | regs->npc) & 3)
regs              288 arch/sparc/kernel/unaligned_32.c 	((void __user *)(((unsigned long *)regs->u_regs[UREG_FP])+(regnum)))
regs              311 arch/sparc/kernel/unaligned_32.c static void user_mna_trap_fault(struct pt_regs *regs, unsigned int insn)
regs              314 arch/sparc/kernel/unaligned_32.c 		       (void __user *)safe_compute_effective_address(regs, insn),
regs              318 arch/sparc/kernel/unaligned_32.c asmlinkage void user_unaligned_trap(struct pt_regs *regs, unsigned int insn)
regs              326 arch/sparc/kernel/unaligned_32.c 	if(!ok_for_user(regs, insn, dir)) {
regs              337 arch/sparc/kernel/unaligned_32.c 		addr = compute_effective_address(regs, insn);
regs              338 arch/sparc/kernel/unaligned_32.c 		perf_sw_event(PERF_COUNT_SW_ALIGNMENT_FAULTS, 1, regs, addr);
regs              342 arch/sparc/kernel/unaligned_32.c 							 regs),
regs              349 arch/sparc/kernel/unaligned_32.c 					   (unsigned long *) addr, regs);
regs              368 arch/sparc/kernel/unaligned_32.c 			advance(regs);
regs              373 arch/sparc/kernel/unaligned_32.c 	user_mna_trap_fault(regs, insn);
regs               59 arch/sparc/kernel/unaligned_64.c static inline int decode_access_size(struct pt_regs *regs, unsigned int insn)
regs               75 arch/sparc/kernel/unaligned_64.c 		die_if_kernel("Byte sized unaligned access?!?!", regs);
regs               87 arch/sparc/kernel/unaligned_64.c static inline int decode_asi(unsigned int insn, struct pt_regs *regs)
regs               91 arch/sparc/kernel/unaligned_64.c 			return (unsigned char)(regs->tstate >> 24);	/* %asi */
regs              120 arch/sparc/kernel/unaligned_64.c static unsigned long fetch_reg(unsigned int reg, struct pt_regs *regs)
regs              125 arch/sparc/kernel/unaligned_64.c 		return (!reg ? 0 : regs->u_regs[reg]);
regs              127 arch/sparc/kernel/unaligned_64.c 	fp = regs->u_regs[UREG_FP];
regs              129 arch/sparc/kernel/unaligned_64.c 	if (regs->tstate & TSTATE_PRIV) {
regs              145 arch/sparc/kernel/unaligned_64.c static unsigned long *fetch_reg_addr(unsigned int reg, struct pt_regs *regs)
regs              150 arch/sparc/kernel/unaligned_64.c 		return &regs->u_regs[reg];
regs              152 arch/sparc/kernel/unaligned_64.c 	fp = regs->u_regs[UREG_FP];
regs              154 arch/sparc/kernel/unaligned_64.c 	if (regs->tstate & TSTATE_PRIV) {
regs              169 arch/sparc/kernel/unaligned_64.c unsigned long compute_effective_address(struct pt_regs *regs,
regs              172 arch/sparc/kernel/unaligned_64.c 	int from_kernel = (regs->tstate & TSTATE_PRIV) != 0;
regs              179 arch/sparc/kernel/unaligned_64.c 		addr = (fetch_reg(rs1, regs) + sign_extend_imm13(insn));
regs              182 arch/sparc/kernel/unaligned_64.c 		addr = (fetch_reg(rs1, regs) + fetch_reg(rs2, regs));
regs              192 arch/sparc/kernel/unaligned_64.c static void __used unaligned_panic(char *str, struct pt_regs *regs)
regs              194 arch/sparc/kernel/unaligned_64.c 	die_if_kernel(str, regs);
regs              204 arch/sparc/kernel/unaligned_64.c 			       struct pt_regs *regs, int asi, int orig_asi)
regs              213 arch/sparc/kernel/unaligned_64.c 		        (unsigned int)fetch_reg(reg_num, regs) : 0)) << 32) |
regs              214 arch/sparc/kernel/unaligned_64.c 			(unsigned int)fetch_reg(reg_num + 1, regs);
regs              216 arch/sparc/kernel/unaligned_64.c 		src_val_p = fetch_reg_addr(reg_num, regs);
regs              239 arch/sparc/kernel/unaligned_64.c static inline void advance(struct pt_regs *regs)
regs              241 arch/sparc/kernel/unaligned_64.c 	regs->tpc   = regs->tnpc;
regs              242 arch/sparc/kernel/unaligned_64.c 	regs->tnpc += 4;
regs              244 arch/sparc/kernel/unaligned_64.c 		regs->tpc &= 0xffffffff;
regs              245 arch/sparc/kernel/unaligned_64.c 		regs->tnpc &= 0xffffffff;
regs              261 arch/sparc/kernel/unaligned_64.c 	struct pt_regs *regs = current_thread_info()->kern_una_regs;
regs              265 arch/sparc/kernel/unaligned_64.c 	entry = search_exception_tables(regs->tpc);
regs              269 arch/sparc/kernel/unaligned_64.c 		address = compute_effective_address(regs, insn,
regs              284 arch/sparc/kernel/unaligned_64.c 	        die_if_kernel("Oops", regs);
regs              287 arch/sparc/kernel/unaligned_64.c 	regs->tpc = entry->fixup;
regs              288 arch/sparc/kernel/unaligned_64.c 	regs->tnpc = regs->tpc + 4;
regs              291 arch/sparc/kernel/unaligned_64.c 		regs->tstate &= ~TSTATE_ASI;
regs              292 arch/sparc/kernel/unaligned_64.c 		regs->tstate |= (ASI_AIUS << 24UL);
regs              296 arch/sparc/kernel/unaligned_64.c static void log_unaligned(struct pt_regs *regs)
regs              302 arch/sparc/kernel/unaligned_64.c 		       regs->tpc, (void *) regs->tpc);
regs              306 arch/sparc/kernel/unaligned_64.c asmlinkage void kernel_unaligned_trap(struct pt_regs *regs, unsigned int insn)
regs              309 arch/sparc/kernel/unaligned_64.c 	int size = decode_access_size(regs, insn);
regs              312 arch/sparc/kernel/unaligned_64.c 	current_thread_info()->kern_una_regs = regs;
regs              315 arch/sparc/kernel/unaligned_64.c 	orig_asi = asi = decode_asi(insn, regs);
regs              325 arch/sparc/kernel/unaligned_64.c 	log_unaligned(regs);
regs              329 arch/sparc/kernel/unaligned_64.c 		       "at <%016lx>.\n", regs->tpc);
regs              331 arch/sparc/kernel/unaligned_64.c 				"unaligned load/store.", regs);
regs              338 arch/sparc/kernel/unaligned_64.c 		addr = compute_effective_address(regs, insn,
regs              340 arch/sparc/kernel/unaligned_64.c 		perf_sw_event(PERF_COUNT_SW_ALIGNMENT_FAULTS, 1, regs, addr);
regs              354 arch/sparc/kernel/unaligned_64.c 			reg_addr = fetch_reg_addr(((insn>>25)&0x1f), regs);
regs              381 arch/sparc/kernel/unaligned_64.c 					   (unsigned long *) addr, regs,
regs              392 arch/sparc/kernel/unaligned_64.c 			advance(regs);
regs              396 arch/sparc/kernel/unaligned_64.c int handle_popc(u32 insn, struct pt_regs *regs)
regs              398 arch/sparc/kernel/unaligned_64.c 	int from_kernel = (regs->tstate & TSTATE_PRIV) != 0;
regs              402 arch/sparc/kernel/unaligned_64.c 	perf_sw_event(PERF_COUNT_SW_EMULATION_FAULTS, 1, regs, 0);
regs              408 arch/sparc/kernel/unaligned_64.c 		value = fetch_reg(insn & 0x1f, regs);
regs              413 arch/sparc/kernel/unaligned_64.c 			regs->u_regs[rd] = ret;
regs              415 arch/sparc/kernel/unaligned_64.c 		unsigned long fp = regs->u_regs[UREG_FP];
regs              427 arch/sparc/kernel/unaligned_64.c 	advance(regs);
regs              431 arch/sparc/kernel/unaligned_64.c extern void do_fpother(struct pt_regs *regs);
regs              432 arch/sparc/kernel/unaligned_64.c extern void do_privact(struct pt_regs *regs);
regs              433 arch/sparc/kernel/unaligned_64.c extern void sun4v_data_access_exception(struct pt_regs *regs,
regs              437 arch/sparc/kernel/unaligned_64.c int handle_ldf_stq(u32 insn, struct pt_regs *regs)
regs              439 arch/sparc/kernel/unaligned_64.c 	unsigned long addr = compute_effective_address(regs, insn, 0);
regs              442 arch/sparc/kernel/unaligned_64.c 	int asi = decode_asi(insn, regs);
regs              445 arch/sparc/kernel/unaligned_64.c 	perf_sw_event(PERF_COUNT_SW_EMULATION_FAULTS, 1, regs, 0);
regs              457 arch/sparc/kernel/unaligned_64.c 			do_fpother(regs);
regs              461 arch/sparc/kernel/unaligned_64.c 			first = *(u64 *)&f->regs[freg];
regs              462 arch/sparc/kernel/unaligned_64.c 			second = *(u64 *)&f->regs[freg+2];
regs              465 arch/sparc/kernel/unaligned_64.c 			do_privact(regs);
regs              483 arch/sparc/kernel/unaligned_64.c 				sun4v_data_access_exception(regs, addr, 0);
regs              485 arch/sparc/kernel/unaligned_64.c 				spitfire_data_access_exception(regs, 0, addr);
regs              493 arch/sparc/kernel/unaligned_64.c 				sun4v_data_access_exception(regs, addr, 0);
regs              495 arch/sparc/kernel/unaligned_64.c 				spitfire_data_access_exception(regs, 0, addr);
regs              505 arch/sparc/kernel/unaligned_64.c 			do_privact(regs);
regs              509 arch/sparc/kernel/unaligned_64.c 				sun4v_data_access_exception(regs, addr, 0);
regs              511 arch/sparc/kernel/unaligned_64.c 				spitfire_data_access_exception(regs, 0, addr);
regs              535 arch/sparc/kernel/unaligned_64.c 				sun4v_data_access_exception(regs, addr, 0);
regs              537 arch/sparc/kernel/unaligned_64.c 				spitfire_data_access_exception(regs, 0, addr);
regs              559 arch/sparc/kernel/unaligned_64.c 				memset(f->regs, 0, 32*sizeof(u32));
regs              561 arch/sparc/kernel/unaligned_64.c 				memset(f->regs+32, 0, 32*sizeof(u32));
regs              563 arch/sparc/kernel/unaligned_64.c 		memcpy(f->regs + freg, data, size * 4);
regs              566 arch/sparc/kernel/unaligned_64.c 	advance(regs);
regs              570 arch/sparc/kernel/unaligned_64.c void handle_ld_nf(u32 insn, struct pt_regs *regs)
regs              573 arch/sparc/kernel/unaligned_64.c 	int from_kernel = (regs->tstate & TSTATE_PRIV) != 0;
regs              576 arch/sparc/kernel/unaligned_64.c 	perf_sw_event(PERF_COUNT_SW_EMULATION_FAULTS, 1, regs, 0);
regs              579 arch/sparc/kernel/unaligned_64.c 	reg = fetch_reg_addr(rd, regs);
regs              584 arch/sparc/kernel/unaligned_64.c 	} else if (!test_thread_64bit_stack(regs->u_regs[UREG_FP])) {
regs              593 arch/sparc/kernel/unaligned_64.c 	advance(regs);
regs              596 arch/sparc/kernel/unaligned_64.c void handle_lddfmna(struct pt_regs *regs, unsigned long sfar, unsigned long sfsr)
regs              599 arch/sparc/kernel/unaligned_64.c 	unsigned long pc = regs->tpc;
regs              600 arch/sparc/kernel/unaligned_64.c 	unsigned long tstate = regs->tstate;
regs              608 arch/sparc/kernel/unaligned_64.c 		die_if_kernel("lddfmna from kernel", regs);
regs              609 arch/sparc/kernel/unaligned_64.c 	perf_sw_event(PERF_COUNT_SW_ALIGNMENT_FAULTS, 1, regs, sfar);
regs              613 arch/sparc/kernel/unaligned_64.c 		int asi = decode_asi(insn, regs);
regs              641 arch/sparc/kernel/unaligned_64.c 				memset(f->regs, 0, 32*sizeof(u32));
regs              643 arch/sparc/kernel/unaligned_64.c 				memset(f->regs+32, 0, 32*sizeof(u32));
regs              645 arch/sparc/kernel/unaligned_64.c 		*(u64 *)(f->regs + freg) = value;
regs              650 arch/sparc/kernel/unaligned_64.c 			sun4v_data_access_exception(regs, sfar, sfsr);
regs              652 arch/sparc/kernel/unaligned_64.c 			spitfire_data_access_exception(regs, sfsr, sfar);
regs              655 arch/sparc/kernel/unaligned_64.c 	advance(regs);
regs              660 arch/sparc/kernel/unaligned_64.c void handle_stdfmna(struct pt_regs *regs, unsigned long sfar, unsigned long sfsr)
regs              663 arch/sparc/kernel/unaligned_64.c 	unsigned long pc = regs->tpc;
regs              664 arch/sparc/kernel/unaligned_64.c 	unsigned long tstate = regs->tstate;
regs              672 arch/sparc/kernel/unaligned_64.c 		die_if_kernel("stdfmna from kernel", regs);
regs              673 arch/sparc/kernel/unaligned_64.c 	perf_sw_event(PERF_COUNT_SW_ALIGNMENT_FAULTS, 1, regs, sfar);
regs              677 arch/sparc/kernel/unaligned_64.c 		int asi = decode_asi(insn, regs);
regs              686 arch/sparc/kernel/unaligned_64.c 			value = *(u64 *)&f->regs[freg];
regs              701 arch/sparc/kernel/unaligned_64.c 			sun4v_data_access_exception(regs, sfar, sfsr);
regs              703 arch/sparc/kernel/unaligned_64.c 			spitfire_data_access_exception(regs, sfsr, sfar);
regs              706 arch/sparc/kernel/unaligned_64.c 	advance(regs);
regs               26 arch/sparc/kernel/uprobes.c unsigned long uprobe_get_swbp_addr(struct pt_regs *regs)
regs               28 arch/sparc/kernel/uprobes.c 	return instruction_pointer(regs);
regs               92 arch/sparc/kernel/uprobes.c 				     struct pt_regs *regs)
regs               95 arch/sparc/kernel/uprobes.c 	if (regs->tnpc == regs->tpc + 0x4UL)
regs              111 arch/sparc/kernel/uprobes.c 		return (real_pc + (regs->tnpc - ixol_addr));
regs              117 arch/sparc/kernel/uprobes.c 	return regs->tnpc;
regs              123 arch/sparc/kernel/uprobes.c static int retpc_fixup(struct pt_regs *regs, u32 insn,
regs              131 arch/sparc/kernel/uprobes.c 		slot = &regs->u_regs[UREG_I7];
regs              138 arch/sparc/kernel/uprobes.c 			slot = &regs->u_regs[rd];
regs              140 arch/sparc/kernel/uprobes.c 			unsigned long fp = regs->u_regs[UREG_FP];
regs              169 arch/sparc/kernel/uprobes.c bool arch_uprobe_skip_sstep(struct arch_uprobe *auprobe, struct pt_regs *regs)
regs              175 arch/sparc/kernel/uprobes.c 		regs->tnpc += 4;
regs              176 arch/sparc/kernel/uprobes.c 		regs->tpc += 4;
regs              190 arch/sparc/kernel/uprobes.c int arch_uprobe_pre_xol(struct arch_uprobe *auprobe, struct pt_regs *regs)
regs              198 arch/sparc/kernel/uprobes.c 	autask->saved_tpc = regs->tpc;
regs              199 arch/sparc/kernel/uprobes.c 	autask->saved_tnpc = regs->tnpc;
regs              204 arch/sparc/kernel/uprobes.c 	instruction_pointer_set(regs, utask->xol_vaddr);
regs              216 arch/sparc/kernel/uprobes.c int arch_uprobe_post_xol(struct arch_uprobe *auprobe, struct pt_regs *regs)
regs              224 arch/sparc/kernel/uprobes.c 		regs->tnpc = relbranch_fixup(insn, utask, regs);
regs              225 arch/sparc/kernel/uprobes.c 		regs->tpc = autask->saved_tnpc;
regs              226 arch/sparc/kernel/uprobes.c 		rc =  retpc_fixup(regs, insn, (unsigned long) utask->vaddr);
regs              228 arch/sparc/kernel/uprobes.c 		regs->tnpc = utask->vaddr+4;
regs              229 arch/sparc/kernel/uprobes.c 		regs->tpc = autask->saved_tnpc+4;
regs              237 arch/sparc/kernel/uprobes.c asmlinkage void uprobe_trap(struct pt_regs *regs,
regs              245 arch/sparc/kernel/uprobes.c 	if (!user_mode(regs)) {
regs              247 arch/sparc/kernel/uprobes.c 		bad_trap(regs, trap_level);
regs              256 arch/sparc/kernel/uprobes.c 				regs, 0, trap_level, SIGTRAP) != NOTIFY_STOP)
regs              257 arch/sparc/kernel/uprobes.c 		bad_trap(regs, trap_level);
regs              269 arch/sparc/kernel/uprobes.c 	if (args->regs && !user_mode(args->regs))
regs              274 arch/sparc/kernel/uprobes.c 		if (uprobe_pre_sstep_notifier(args->regs))
regs              279 arch/sparc/kernel/uprobes.c 		if (uprobe_post_sstep_notifier(args->regs))
regs              293 arch/sparc/kernel/uprobes.c void arch_uprobe_abort_xol(struct arch_uprobe *auprobe, struct pt_regs *regs)
regs              297 arch/sparc/kernel/uprobes.c 	instruction_pointer_set(regs, utask->vaddr);
regs              311 arch/sparc/kernel/uprobes.c 				  struct pt_regs *regs)
regs              313 arch/sparc/kernel/uprobes.c 	unsigned long orig_ret_vaddr = regs->u_regs[UREG_I7];
regs              315 arch/sparc/kernel/uprobes.c 	regs->u_regs[UREG_I7] = trampoline_vaddr-8;
regs              151 arch/sparc/kernel/visemul.c static unsigned long fetch_reg(unsigned int reg, struct pt_regs *regs)
regs              156 arch/sparc/kernel/visemul.c 		return (!reg ? 0 : regs->u_regs[reg]);
regs              158 arch/sparc/kernel/visemul.c 	fp = regs->u_regs[UREG_FP];
regs              160 arch/sparc/kernel/visemul.c 	if (regs->tstate & TSTATE_PRIV) {
regs              177 arch/sparc/kernel/visemul.c 							  struct pt_regs *regs)
regs              179 arch/sparc/kernel/visemul.c 	unsigned long fp = regs->u_regs[UREG_FP];
regs              182 arch/sparc/kernel/visemul.c 	BUG_ON(regs->tstate & TSTATE_PRIV);
regs              196 arch/sparc/kernel/visemul.c 						   struct pt_regs *regs)
regs              199 arch/sparc/kernel/visemul.c 	BUG_ON(regs->tstate & TSTATE_PRIV);
regs              201 arch/sparc/kernel/visemul.c 	return &regs->u_regs[reg];
regs              204 arch/sparc/kernel/visemul.c static void store_reg(struct pt_regs *regs, unsigned long val, unsigned long rd)
regs              207 arch/sparc/kernel/visemul.c 		unsigned long *rd_kern = __fetch_reg_addr_kern(rd, regs);
regs              211 arch/sparc/kernel/visemul.c 		unsigned long __user *rd_user = __fetch_reg_addr_user(rd, regs);
regs              213 arch/sparc/kernel/visemul.c 		if (!test_thread_64bit_stack(regs->u_regs[UREG_FP]))
regs              226 arch/sparc/kernel/visemul.c 	return *(unsigned long *) &f->regs[insn_regnum];
regs              235 arch/sparc/kernel/visemul.c 	return (unsigned long *) &f->regs[insn_regnum];
regs              241 arch/sparc/kernel/visemul.c 	return f->regs[insn_regnum];
regs              247 arch/sparc/kernel/visemul.c 	return &f->regs[insn_regnum];
regs              294 arch/sparc/kernel/visemul.c static void edge(struct pt_regs *regs, unsigned int insn, unsigned int opf)
regs              300 arch/sparc/kernel/visemul.c 	orig_rs1 = rs1 = fetch_reg(RS1(insn), regs);
regs              301 arch/sparc/kernel/visemul.c 	orig_rs2 = rs2 = fetch_reg(RS2(insn), regs);
regs              350 arch/sparc/kernel/visemul.c 	store_reg(regs, rd_val, RD(insn));
regs              366 arch/sparc/kernel/visemul.c 		tstate = regs->tstate & ~(TSTATE_XCC | TSTATE_ICC);
regs              367 arch/sparc/kernel/visemul.c 		regs->tstate = tstate | (ccr << 32UL);
regs              372 arch/sparc/kernel/visemul.c static void array(struct pt_regs *regs, unsigned int insn, unsigned int opf)
regs              378 arch/sparc/kernel/visemul.c 	rs1 = fetch_reg(RS1(insn), regs);
regs              379 arch/sparc/kernel/visemul.c 	rs2 = fetch_reg(RS2(insn), regs);
regs              403 arch/sparc/kernel/visemul.c 	store_reg(regs, rd_val, RD(insn));
regs              406 arch/sparc/kernel/visemul.c static void bmask(struct pt_regs *regs, unsigned int insn)
regs              411 arch/sparc/kernel/visemul.c 	rs1 = fetch_reg(RS1(insn), regs);
regs              412 arch/sparc/kernel/visemul.c 	rs2 = fetch_reg(RS2(insn), regs);
regs              415 arch/sparc/kernel/visemul.c 	store_reg(regs, rd_val, RD(insn));
regs              422 arch/sparc/kernel/visemul.c static void bshuffle(struct pt_regs *regs, unsigned int insn)
regs              448 arch/sparc/kernel/visemul.c static void pdist(struct pt_regs *regs, unsigned int insn)
regs              477 arch/sparc/kernel/visemul.c static void pformat(struct pt_regs *regs, unsigned int insn, unsigned int opf)
regs              589 arch/sparc/kernel/visemul.c static void pmul(struct pt_regs *regs, unsigned int insn, unsigned int opf)
regs              705 arch/sparc/kernel/visemul.c static void pcmp(struct pt_regs *regs, unsigned int insn, unsigned int opf)
regs              798 arch/sparc/kernel/visemul.c 	store_reg(regs, rd_val, RD(insn));
regs              804 arch/sparc/kernel/visemul.c int vis_emul(struct pt_regs *regs, unsigned int insn)
regs              806 arch/sparc/kernel/visemul.c 	unsigned long pc = regs->tpc;
regs              809 arch/sparc/kernel/visemul.c 	BUG_ON(regs->tstate & TSTATE_PRIV);
regs              811 arch/sparc/kernel/visemul.c 	perf_sw_event(PERF_COUNT_SW_EMULATION_FAULTS, 1, regs, 0);
regs              832 arch/sparc/kernel/visemul.c 		pformat(regs, insn, opf);
regs              843 arch/sparc/kernel/visemul.c 		pmul(regs, insn, opf);
regs              855 arch/sparc/kernel/visemul.c 		pcmp(regs, insn, opf);
regs              871 arch/sparc/kernel/visemul.c 		edge(regs, insn, opf);
regs              876 arch/sparc/kernel/visemul.c 		pdist(regs, insn);
regs              883 arch/sparc/kernel/visemul.c 		array(regs, insn, opf);
regs              888 arch/sparc/kernel/visemul.c 		bmask(regs, insn);
regs              892 arch/sparc/kernel/visemul.c 		bshuffle(regs, insn);
regs              896 arch/sparc/kernel/visemul.c 	regs->tpc = regs->tnpc;
regs              897 arch/sparc/kernel/visemul.c 	regs->tnpc += 4;
regs              113 arch/sparc/kernel/windows.c void try_to_clear_window_buffer(struct pt_regs *regs, int who)
regs              144 arch/sparc/math-emu/math_32.c int do_mathemu(struct pt_regs *regs, struct task_struct *fpt)
regs              168 arch/sparc/math-emu/math_32.c 	perf_sw_event(PERF_COUNT_SW_EMULATION_FAULTS, 1, regs, 0);
regs              171 arch/sparc/math-emu/math_32.c 	printk("In do_mathemu()... pc is %08lx\n", regs->pc);
regs              180 arch/sparc/math-emu/math_32.c 		printk("precise trap at %08lx\n", regs->pc);
regs              182 arch/sparc/math-emu/math_32.c 		if (!get_user(insn, (u32 __user *) regs->pc)) {
regs              186 arch/sparc/math-emu/math_32.c 				regs->pc = regs->npc;
regs              187 arch/sparc/math-emu/math_32.c 				regs->npc += 4;
regs              101 arch/sparc/math-emu/math_64.c static inline int record_exception(struct pt_regs *regs, int eflag)
regs              154 arch/sparc/math-emu/math_64.c 		regs->tpc = regs->tnpc;
regs              155 arch/sparc/math-emu/math_64.c 		regs->tnpc += 4;
regs              167 arch/sparc/math-emu/math_64.c int do_mathemu(struct pt_regs *regs, struct fpustate *f, bool illegal_insn_trap)
regs              169 arch/sparc/math-emu/math_64.c 	unsigned long pc = regs->tpc;
regs              170 arch/sparc/math-emu/math_64.c 	unsigned long tstate = regs->tstate;
regs              188 arch/sparc/math-emu/math_64.c 		die_if_kernel("unfinished/unimplemented FPop from kernel", regs);
regs              189 arch/sparc/math-emu/math_64.c 	perf_sw_event(PERF_COUNT_SW_EMULATION_FAULTS, 1, regs, 0);
regs              294 arch/sparc/math-emu/math_64.c 				XR = regs->tstate >> 32;
regs              323 arch/sparc/math-emu/math_64.c 					XR = regs->u_regs[freg];
regs              324 arch/sparc/math-emu/math_64.c 				else if (!test_thread_64bit_stack(regs->u_regs[UREG_FP])) {
regs              327 arch/sparc/math-emu/math_64.c 					win32 = (struct reg_window32 __user *)((unsigned long)((u32)regs->u_regs[UREG_FP]));
regs              332 arch/sparc/math-emu/math_64.c 					win = (struct reg_window __user *)(regs->u_regs[UREG_FP] + STACK_BIAS);
regs              348 arch/sparc/math-emu/math_64.c 				regs->tpc = regs->tnpc;
regs              349 arch/sparc/math-emu/math_64.c 				regs->tnpc += 4;
regs              380 arch/sparc/math-emu/math_64.c 		case 1: rs1 = (argp)&f->regs[freg];
regs              398 arch/sparc/math-emu/math_64.c 		case 1: rs2 = (argp)&f->regs[freg];
regs              416 arch/sparc/math-emu/math_64.c 		case 1: rd = (argp)&f->regs[freg];
regs              424 arch/sparc/math-emu/math_64.c 					memset(f->regs, 0, 32*sizeof(u32));
regs              426 arch/sparc/math-emu/math_64.c 					memset(f->regs+32, 0, 32*sizeof(u32));
regs              516 arch/sparc/math-emu/math_64.c 			return record_exception(regs, _fex);
regs              520 arch/sparc/math-emu/math_64.c 		regs->tpc = regs->tnpc;
regs              521 arch/sparc/math-emu/math_64.c 		regs->tnpc += 4;
regs               41 arch/sparc/mm/fault_32.c 				       struct pt_regs *regs)
regs               55 arch/sparc/mm/fault_32.c 	die_if_kernel("Oops", regs);
regs               61 arch/sparc/mm/fault_32.c 	struct pt_regs regs;
regs               92 arch/sparc/mm/fault_32.c 	memset(&regs, 0, sizeof(regs));
regs               93 arch/sparc/mm/fault_32.c 	regs.pc = pc;
regs               94 arch/sparc/mm/fault_32.c 	regs.npc = pc + 4;
regs               99 arch/sparc/mm/fault_32.c 		"nop\n" : "=r" (regs.psr));
regs              100 arch/sparc/mm/fault_32.c 	unhandled_fault(address, current, &regs);
regs              107 arch/sparc/mm/fault_32.c show_signal_msg(struct pt_regs *regs, int sig, int code,
regs              119 arch/sparc/mm/fault_32.c 	       (void *)regs->pc, (void *)regs->u_regs[UREG_I7],
regs              120 arch/sparc/mm/fault_32.c 	       (void *)regs->u_regs[UREG_FP], code);
regs              122 arch/sparc/mm/fault_32.c 	print_vma_addr(KERN_CONT " in ", regs->pc);
regs              127 arch/sparc/mm/fault_32.c static void __do_fault_siginfo(int code, int sig, struct pt_regs *regs,
regs              131 arch/sparc/mm/fault_32.c 		show_signal_msg(regs, sig, code,
regs              137 arch/sparc/mm/fault_32.c static unsigned long compute_si_addr(struct pt_regs *regs, int text_fault)
regs              142 arch/sparc/mm/fault_32.c 		return regs->pc;
regs              144 arch/sparc/mm/fault_32.c 	if (regs->psr & PSR_PS)
regs              145 arch/sparc/mm/fault_32.c 		insn = *(unsigned int *) regs->pc;
regs              147 arch/sparc/mm/fault_32.c 		__get_user(insn, (unsigned int *) regs->pc);
regs              149 arch/sparc/mm/fault_32.c 	return safe_compute_effective_address(regs, insn);
regs              152 arch/sparc/mm/fault_32.c static noinline void do_fault_siginfo(int code, int sig, struct pt_regs *regs,
regs              155 arch/sparc/mm/fault_32.c 	unsigned long addr = compute_si_addr(regs, text_fault);
regs              157 arch/sparc/mm/fault_32.c 	__do_fault_siginfo(code, sig, regs, addr);
regs              160 arch/sparc/mm/fault_32.c asmlinkage void do_sparc_fault(struct pt_regs *regs, int text_fault, int write,
regs              168 arch/sparc/mm/fault_32.c 	int from_user = !(regs->psr & PSR_PS);
regs              174 arch/sparc/mm/fault_32.c 		address = regs->pc;
regs              196 arch/sparc/mm/fault_32.c 	perf_sw_event(PERF_COUNT_SW_PAGE_FAULTS, 1, regs, address);
regs              257 arch/sparc/mm/fault_32.c 				      1, regs, address);
regs              261 arch/sparc/mm/fault_32.c 				      1, regs, address);
regs              289 arch/sparc/mm/fault_32.c 		do_fault_siginfo(code, SIGSEGV, regs, text_fault);
regs              295 arch/sparc/mm/fault_32.c 	g2 = regs->u_regs[UREG_G2];
regs              297 arch/sparc/mm/fault_32.c 		fixup = search_extables_range(regs->pc, &g2);
regs              307 arch/sparc/mm/fault_32.c 			       regs->pc, address);
regs              309 arch/sparc/mm/fault_32.c 				regs->pc, fixup, g2);
regs              311 arch/sparc/mm/fault_32.c 			if ((regs->pc >= (unsigned long)__memset_start &&
regs              312 arch/sparc/mm/fault_32.c 			     regs->pc < (unsigned long)__memset_end) ||
regs              313 arch/sparc/mm/fault_32.c 			    (regs->pc >= (unsigned long)__csum_partial_copy_start &&
regs              314 arch/sparc/mm/fault_32.c 			     regs->pc < (unsigned long)__csum_partial_copy_end)) {
regs              315 arch/sparc/mm/fault_32.c 				regs->u_regs[UREG_I4] = address;
regs              316 arch/sparc/mm/fault_32.c 				regs->u_regs[UREG_I5] = regs->pc;
regs              318 arch/sparc/mm/fault_32.c 			regs->u_regs[UREG_G2] = g2;
regs              319 arch/sparc/mm/fault_32.c 			regs->pc = fixup;
regs              320 arch/sparc/mm/fault_32.c 			regs->npc = regs->pc + 4;
regs              325 arch/sparc/mm/fault_32.c 	unhandled_fault(address, tsk, regs);
regs              342 arch/sparc/mm/fault_32.c 	do_fault_siginfo(BUS_ADRERR, SIGBUS, regs, text_fault);
regs              452 arch/sparc/mm/fault_32.c void window_ret_fault(struct pt_regs *regs)
regs              456 arch/sparc/mm/fault_32.c 	sp = regs->u_regs[UREG_FP];
regs               43 arch/sparc/mm/fault_64.c 				      struct pt_regs *regs)
regs               59 arch/sparc/mm/fault_64.c 	die_if_kernel("Oops", regs);
regs               62 arch/sparc/mm/fault_64.c static void __kprobes bad_kernel_pc(struct pt_regs *regs, unsigned long vaddr)
regs               65 arch/sparc/mm/fault_64.c 	       regs->tpc);
regs               66 arch/sparc/mm/fault_64.c 	printk(KERN_CRIT "OOPS: RPC [%016lx]\n", regs->u_regs[15]);
regs               67 arch/sparc/mm/fault_64.c 	printk("OOPS: RPC <%pS>\n", (void *) regs->u_regs[15]);
regs               70 arch/sparc/mm/fault_64.c 	unhandled_fault(regs->tpc, current, regs);
regs              134 arch/sparc/mm/fault_64.c show_signal_msg(struct pt_regs *regs, int sig, int code,
regs              146 arch/sparc/mm/fault_64.c 	       (void *)regs->tpc, (void *)regs->u_regs[UREG_I7],
regs              147 arch/sparc/mm/fault_64.c 	       (void *)regs->u_regs[UREG_FP], code);
regs              149 arch/sparc/mm/fault_64.c 	print_vma_addr(KERN_CONT " in ", regs->tpc);
regs              154 arch/sparc/mm/fault_64.c static void do_fault_siginfo(int code, int sig, struct pt_regs *regs,
regs              161 arch/sparc/mm/fault_64.c 		addr = regs->tpc;
regs              168 arch/sparc/mm/fault_64.c 			addr = compute_effective_address(regs, insn, 0);
regs              174 arch/sparc/mm/fault_64.c 		show_signal_msg(regs, sig, code, addr, current);
regs              179 arch/sparc/mm/fault_64.c static unsigned int get_fault_insn(struct pt_regs *regs, unsigned int insn)
regs              182 arch/sparc/mm/fault_64.c 		if (!regs->tpc || (regs->tpc & 0x3))
regs              184 arch/sparc/mm/fault_64.c 		if (regs->tstate & TSTATE_PRIV) {
regs              185 arch/sparc/mm/fault_64.c 			insn = *(unsigned int *) regs->tpc;
regs              187 arch/sparc/mm/fault_64.c 			insn = get_user_insn(regs->tpc);
regs              193 arch/sparc/mm/fault_64.c static void __kprobes do_kernel_fault(struct pt_regs *regs, int si_code,
regs              199 arch/sparc/mm/fault_64.c 	if ((!insn) && (regs->tstate & TSTATE_PRIV))
regs              210 arch/sparc/mm/fault_64.c 			asi = (regs->tstate >> 24);
regs              215 arch/sparc/mm/fault_64.c 				handle_ldf_stq(insn, regs);
regs              221 arch/sparc/mm/fault_64.c 				handle_ld_nf(insn, regs);
regs              228 arch/sparc/mm/fault_64.c 	if (regs->tstate & TSTATE_PRIV) {
regs              231 arch/sparc/mm/fault_64.c 		entry = search_exception_tables(regs->tpc);
regs              233 arch/sparc/mm/fault_64.c 			regs->tpc = entry->fixup;
regs              234 arch/sparc/mm/fault_64.c 			regs->tnpc = regs->tpc + 4;
regs              241 arch/sparc/mm/fault_64.c 		do_fault_siginfo(si_code, SIGSEGV, regs, address, insn, fault_code);
regs              246 arch/sparc/mm/fault_64.c 	unhandled_fault (address, current, regs);
regs              249 arch/sparc/mm/fault_64.c static void noinline __kprobes bogus_32bit_fault_tpc(struct pt_regs *regs)
regs              257 arch/sparc/mm/fault_64.c 		       regs->tpc);
regs              258 arch/sparc/mm/fault_64.c 	show_regs(regs);
regs              261 arch/sparc/mm/fault_64.c asmlinkage void __kprobes do_sparc64_fault(struct pt_regs *regs)
regs              274 arch/sparc/mm/fault_64.c 	if (kprobe_page_fault(regs, 0))
regs              285 arch/sparc/mm/fault_64.c 		if (!(regs->tstate & TSTATE_PRIV)) {
regs              286 arch/sparc/mm/fault_64.c 			if (unlikely((regs->tpc >> 32) != 0)) {
regs              287 arch/sparc/mm/fault_64.c 				bogus_32bit_fault_tpc(regs);
regs              295 arch/sparc/mm/fault_64.c 	if (regs->tstate & TSTATE_PRIV) {
regs              296 arch/sparc/mm/fault_64.c 		unsigned long tpc = regs->tpc;
regs              303 arch/sparc/mm/fault_64.c 			bad_kernel_pc(regs, address);
regs              316 arch/sparc/mm/fault_64.c 	perf_sw_event(PERF_COUNT_SW_PAGE_FAULTS, 1, regs, address);
regs              319 arch/sparc/mm/fault_64.c 		if ((regs->tstate & TSTATE_PRIV) &&
regs              320 arch/sparc/mm/fault_64.c 		    !search_exception_tables(regs->tpc)) {
regs              321 arch/sparc/mm/fault_64.c 			insn = get_fault_insn(regs, insn);
regs              347 arch/sparc/mm/fault_64.c 		insn = get_fault_insn(regs, 0);
regs              371 arch/sparc/mm/fault_64.c 		insn = get_fault_insn(regs, insn);
regs              376 arch/sparc/mm/fault_64.c 				asi = (regs->tstate >> 24);
regs              396 arch/sparc/mm/fault_64.c 		WARN(address != regs->tpc,
regs              397 arch/sparc/mm/fault_64.c 		     "address (%lx) != regs->tpc (%lx)\n", address, regs->tpc);
regs              398 arch/sparc/mm/fault_64.c 		WARN_ON(regs->tstate & TSTATE_PRIV);
regs              441 arch/sparc/mm/fault_64.c 				      1, regs, address);
regs              445 arch/sparc/mm/fault_64.c 				      1, regs, address);
regs              476 arch/sparc/mm/fault_64.c 			hugetlb_setup(regs);
regs              489 arch/sparc/mm/fault_64.c 	insn = get_fault_insn(regs, insn);
regs              493 arch/sparc/mm/fault_64.c 	do_kernel_fault(regs, si_code, fault_code, insn, address);
regs              501 arch/sparc/mm/fault_64.c 	insn = get_fault_insn(regs, insn);
regs              503 arch/sparc/mm/fault_64.c 	if (!(regs->tstate & TSTATE_PRIV)) {
regs              510 arch/sparc/mm/fault_64.c 	insn = get_fault_insn(regs, 0);
regs              514 arch/sparc/mm/fault_64.c 	insn = get_fault_insn(regs, insn);
regs              521 arch/sparc/mm/fault_64.c 	do_fault_siginfo(BUS_ADRERR, SIGBUS, regs, address, insn, fault_code);
regs              524 arch/sparc/mm/fault_64.c 	if (regs->tstate & TSTATE_PRIV)
regs              110 arch/sparc/mm/init_64.c 				   struct linux_prom64_registers *regs,
regs              125 arch/sparc/mm/init_64.c 	ret = prom_getproperty(node, property, (char *) regs, prop_size);
regs              138 arch/sparc/mm/init_64.c 		base = regs[i].phys_addr;
regs              139 arch/sparc/mm/init_64.c 		size = regs[i].reg_size;
regs              155 arch/sparc/mm/init_64.c 			memmove(&regs[i], &regs[i + 1],
regs              156 arch/sparc/mm/init_64.c 				(ents - i - 1) * sizeof(regs[0]));
regs              161 arch/sparc/mm/init_64.c 		regs[i].phys_addr = base;
regs              162 arch/sparc/mm/init_64.c 		regs[i].reg_size = size;
regs              167 arch/sparc/mm/init_64.c 	sort(regs, ents, sizeof(struct linux_prom64_registers),
regs             1186 arch/sparc/mm/init_64.c 	const struct linux_prom64_registers *regs;
regs             1199 arch/sparc/mm/init_64.c 	regs = of_get_property(dp, "reg", NULL);
regs             1200 arch/sparc/mm/init_64.c 	if (!regs)
regs             1203 arch/sparc/mm/init_64.c 	cfg_handle = (regs->phys_addr >> 32UL) & 0x0fffffff;
regs             2980 arch/sparc/mm/init_64.c void hugetlb_setup(struct pt_regs *regs)
regs             2988 arch/sparc/mm/init_64.c 		entry = search_exception_tables(regs->tpc);
regs             2990 arch/sparc/mm/init_64.c 			regs->tpc = entry->fixup;
regs             2991 arch/sparc/mm/init_64.c 			regs->tnpc = regs->tpc + 4;
regs             2995 arch/sparc/mm/init_64.c 		die_if_kernel("HugeTSB in atomic", regs);
regs               72 arch/sparc/mm/iommu.c 	iommu->regs = of_ioremap(&op->resource[0], 0, PAGE_SIZE * 3,
regs               74 arch/sparc/mm/iommu.c 	if (!iommu->regs) {
regs               79 arch/sparc/mm/iommu.c 	control = sbus_readl(&iommu->regs->control);
regs               84 arch/sparc/mm/iommu.c 	sbus_writel(control, &iommu->regs->control);
regs               86 arch/sparc/mm/iommu.c 	iommu_invalidate(iommu->regs);
regs              109 arch/sparc/mm/iommu.c 	sbus_writel(base, &iommu->regs->base);
regs              110 arch/sparc/mm/iommu.c 	iommu_invalidate(iommu->regs);
regs              218 arch/sparc/mm/iommu.c 		iommu_invalidate_page(iommu->regs, busa);
regs              287 arch/sparc/mm/iommu.c 		iommu_invalidate_page(iommu->regs, busa);
regs              381 arch/sparc/mm/iommu.c 	iommu_invalidate(iommu->regs);
regs              413 arch/sparc/mm/iommu.c 	iommu_invalidate(iommu->regs);
regs              216 arch/sparc/mm/leon_mm.c void leon3_getCacheRegs(struct leon3_cacheregs *regs)
regs              220 arch/sparc/mm/leon_mm.c 	if (!regs)
regs              233 arch/sparc/mm/leon_mm.c 	regs->ccr = ccr;
regs              234 arch/sparc/mm/leon_mm.c 	regs->iccr = iccr;
regs              235 arch/sparc/mm/leon_mm.c 	regs->dccr = dccr;
regs                5 arch/sparc/mm/mm_32.h asmlinkage void do_sparc_fault(struct pt_regs *regs, int text_fault, int write,
regs               10 arch/sparc/mm/mm_32.h void window_ret_fault(struct pt_regs *regs);
regs               30 arch/sparc/oprofile/init.c 		oprofile_add_sample(args->regs, 0);
regs               58 arch/sparc/prom/ranges.c void prom_apply_obio_ranges(struct linux_prom_registers *regs, int nregs)
regs               61 arch/sparc/prom/ranges.c 		prom_adjust_regs(regs, nregs, promlib_obio_ranges, num_obio_ranges);
regs               89 arch/sparc/prom/ranges.c 			       struct linux_prom_registers *regs, int nregs)
regs              112 arch/sparc/prom/ranges.c 		prom_adjust_regs(regs, nregs, ranges, num_ranges);
regs               66 arch/um/drivers/mconsole.h 	struct uml_pt_regs regs;
regs               92 arch/um/drivers/mconsole_kern.c 				new->request.regs = get_irq_regs()->regs;
regs              234 arch/um/drivers/mconsole_kern.c 			old_regs = set_irq_regs((struct pt_regs *)&req->regs);
regs               22 arch/um/include/asm/processor-generic.h 	struct pt_regs regs;
regs               50 arch/um/include/asm/processor-generic.h 	.regs		   	= EMPTY_REGS,	\
regs               87 arch/um/include/asm/processor-generic.h extern void start_thread(struct pt_regs *regs, unsigned long entry, 
regs               14 arch/um/include/asm/ptrace-generic.h 	struct uml_pt_regs regs;
regs               19 arch/um/include/asm/ptrace-generic.h #define EMPTY_REGS { .regs = EMPTY_UML_PT_REGS }
regs               21 arch/um/include/asm/ptrace-generic.h #define PT_REGS_IP(r) UPT_IP(&(r)->regs)
regs               22 arch/um/include/asm/ptrace-generic.h #define PT_REGS_SP(r) UPT_SP(&(r)->regs)
regs               24 arch/um/include/asm/ptrace-generic.h #define PT_REGS_RESTART_SYSCALL(r) UPT_RESTART_SYSCALL(&(r)->regs)
regs               26 arch/um/include/asm/ptrace-generic.h #define PT_REGS_SYSCALL_NR(r) UPT_SYSCALL_NR(&(r)->regs)
regs               28 arch/um/include/asm/ptrace-generic.h #define instruction_pointer(regs) PT_REGS_IP(regs)
regs               41 arch/um/include/asm/ptrace-generic.h extern int syscall_trace_enter(struct pt_regs *regs);
regs               42 arch/um/include/asm/ptrace-generic.h extern void syscall_trace_leave(struct pt_regs *regs);
regs               18 arch/um/include/asm/syscall-generic.h static inline int syscall_get_nr(struct task_struct *task, struct pt_regs *regs)
regs               21 arch/um/include/asm/syscall-generic.h 	return PT_REGS_SYSCALL_NR(regs);
regs               25 arch/um/include/asm/syscall-generic.h 				    struct pt_regs *regs)
regs               31 arch/um/include/asm/syscall-generic.h 				     struct pt_regs *regs)
regs               33 arch/um/include/asm/syscall-generic.h 	const long error = regs_return_value(regs);
regs               39 arch/um/include/asm/syscall-generic.h 					    struct pt_regs *regs)
regs               41 arch/um/include/asm/syscall-generic.h 	return regs_return_value(regs);
regs               45 arch/um/include/asm/syscall-generic.h 					    struct pt_regs *regs,
regs               48 arch/um/include/asm/syscall-generic.h 	PT_REGS_SET_SYSCALL_RETURN(regs, (long) error ?: val);
regs               52 arch/um/include/asm/syscall-generic.h 					 struct pt_regs *regs,
regs               55 arch/um/include/asm/syscall-generic.h 	const struct uml_pt_regs *r = &regs->regs;
regs               66 arch/um/include/asm/syscall-generic.h 					 struct pt_regs *regs,
regs               69 arch/um/include/asm/syscall-generic.h 	struct uml_pt_regs *r = &regs->regs;
regs               12 arch/um/include/shared/arch.h extern int arch_fixup(unsigned long address, struct uml_pt_regs *regs);
regs               13 arch/um/include/shared/arch.h extern void arch_examine_signal(int sig, struct uml_pt_regs *regs);
regs               10 arch/um/include/shared/frame_kern.h 				 struct pt_regs *regs, sigset_t *mask);
regs               12 arch/um/include/shared/frame_kern.h 				 struct pt_regs *regs, sigset_t *mask);
regs               32 arch/um/include/shared/irq_user.h extern void sigio_handler(int sig, struct siginfo *unused_si, struct uml_pt_regs *regs);
regs               26 arch/um/include/shared/kern_util.h extern void do_signal(struct pt_regs *regs);
regs               28 arch/um/include/shared/kern_util.h extern void relay_signal(int sig, struct siginfo *si, struct uml_pt_regs *regs);
regs               31 arch/um/include/shared/kern_util.h 			  int is_user, struct uml_pt_regs *regs);
regs               35 arch/um/include/shared/kern_util.h extern unsigned int do_IRQ(int irq, struct uml_pt_regs *regs);
regs               40 arch/um/include/shared/kern_util.h extern void timer_handler(int sig, struct siginfo *unused_si, struct uml_pt_regs *regs);
regs               61 arch/um/include/shared/kern_util.h extern void syscall_trace(struct uml_pt_regs *regs, int entryexit);
regs               64 arch/um/include/shared/kern_util.h extern void segv_handler(int sig, struct siginfo *unused_si, struct uml_pt_regs *regs);
regs               65 arch/um/include/shared/kern_util.h extern void bus_handler(int sig, struct siginfo *si, struct uml_pt_regs *regs);
regs               66 arch/um/include/shared/kern_util.h extern void winch(int sig, struct siginfo *unused_si, struct uml_pt_regs *regs);
regs              286 arch/um/include/shared/os.h extern void userspace(struct uml_pt_regs *regs, unsigned long *aux_fp_regs);
regs               18 arch/um/include/shared/registers.h extern int save_registers(int pid, struct uml_pt_regs *regs);
regs               19 arch/um/include/shared/registers.h extern int restore_registers(int pid, struct uml_pt_regs *regs);
regs               21 arch/um/include/shared/registers.h extern void get_safe_registers(unsigned long *regs, unsigned long *fp_regs);
regs               23 arch/um/include/shared/registers.h extern int get_fp_registers(int pid, unsigned long *regs);
regs               24 arch/um/include/shared/registers.h extern int put_fp_registers(int pid, unsigned long *regs);
regs               15 arch/um/include/shared/skas/skas.h extern void handle_syscall(struct uml_pt_regs *regs);
regs               37 arch/um/kernel/exec.c 	get_safe_registers(current_pt_regs()->regs.gp,
regs               38 arch/um/kernel/exec.c 			   current_pt_regs()->regs.fp);
regs               43 arch/um/kernel/exec.c void start_thread(struct pt_regs *regs, unsigned long eip, unsigned long esp)
regs               45 arch/um/kernel/exec.c 	PT_REGS_IP(regs) = eip;
regs               46 arch/um/kernel/exec.c 	PT_REGS_SP(regs) = esp;
regs               49 arch/um/kernel/exec.c 	SUBARCH_EXECVE1(regs->regs);
regs               42 arch/um/kernel/irq.c static void irq_io_loop(struct irq_fd *irq, struct uml_pt_regs *regs)
regs               54 arch/um/kernel/irq.c 			do_IRQ(irq->irq, regs);
regs               63 arch/um/kernel/irq.c void sigio_handler(int sig, struct siginfo *unused_si, struct uml_pt_regs *regs)
regs               97 arch/um/kernel/irq.c 					irq_io_loop(irq, regs);
regs              414 arch/um/kernel/irq.c unsigned int do_IRQ(int irq, struct uml_pt_regs *regs)
regs              416 arch/um/kernel/irq.c 	struct pt_regs *old_regs = set_irq_regs((struct pt_regs *)regs);
regs               99 arch/um/kernel/process.c 	struct pt_regs *regs = &current->thread.regs;
regs              104 arch/um/kernel/process.c 		do_signal(regs);
regs              106 arch/um/kernel/process.c 		tracehook_notify_resume(regs);
regs              134 arch/um/kernel/process.c 	userspace(&current->thread.regs.regs, current_thread_info()->aux_fp_regs);
regs              153 arch/um/kernel/process.c 	userspace(&current->thread.regs.regs, current_thread_info()->aux_fp_regs);
regs              166 arch/um/kernel/process.c 	  	memcpy(&p->thread.regs.regs, current_pt_regs(),
regs              167 arch/um/kernel/process.c 		       sizeof(p->thread.regs.regs));
regs              168 arch/um/kernel/process.c 		PT_REGS_SET_SYSCALL_RETURN(&p->thread.regs, 0);
regs              170 arch/um/kernel/process.c 			REGS_SP(p->thread.regs.regs.gp) = sp;
regs              176 arch/um/kernel/process.c 		get_safe_registers(p->thread.regs.regs.gp, p->thread.regs.regs.fp);
regs              115 arch/um/kernel/ptrace.c static void send_sigtrap(struct uml_pt_regs *regs, int error_code)
regs              120 arch/um/kernel/ptrace.c 			UPT_IS_USER(regs) ? (void __user *) UPT_IP(regs) : NULL);
regs              127 arch/um/kernel/ptrace.c int syscall_trace_enter(struct pt_regs *regs)
regs              129 arch/um/kernel/ptrace.c 	audit_syscall_entry(UPT_SYSCALL_NR(&regs->regs),
regs              130 arch/um/kernel/ptrace.c 			    UPT_SYSCALL_ARG1(&regs->regs),
regs              131 arch/um/kernel/ptrace.c 			    UPT_SYSCALL_ARG2(&regs->regs),
regs              132 arch/um/kernel/ptrace.c 			    UPT_SYSCALL_ARG3(&regs->regs),
regs              133 arch/um/kernel/ptrace.c 			    UPT_SYSCALL_ARG4(&regs->regs));
regs              138 arch/um/kernel/ptrace.c 	return tracehook_report_syscall_entry(regs);
regs              141 arch/um/kernel/ptrace.c void syscall_trace_leave(struct pt_regs *regs)
regs              145 arch/um/kernel/ptrace.c 	audit_syscall_exit(regs);
regs              149 arch/um/kernel/ptrace.c 		send_sigtrap(&regs->regs, 0);
regs              154 arch/um/kernel/ptrace.c 	tracehook_report_syscall_exit(regs, 0);
regs               49 arch/um/kernel/signal.c static void handle_signal(struct ksignal *ksig, struct pt_regs *regs)
regs               60 arch/um/kernel/signal.c 	if (PT_REGS_SYSCALL_NR(regs) >= 0) {
regs               62 arch/um/kernel/signal.c 		switch (PT_REGS_SYSCALL_RET(regs)) {
regs               65 arch/um/kernel/signal.c 			PT_REGS_SYSCALL_RET(regs) = -EINTR;
regs               70 arch/um/kernel/signal.c 				PT_REGS_SYSCALL_RET(regs) = -EINTR;
regs               75 arch/um/kernel/signal.c 			PT_REGS_RESTART_SYSCALL(regs);
regs               76 arch/um/kernel/signal.c 			PT_REGS_ORIG_SYSCALL(regs) = PT_REGS_SYSCALL_NR(regs);
regs               81 arch/um/kernel/signal.c 	sp = PT_REGS_SP(regs);
regs               87 arch/um/kernel/signal.c 		err = setup_signal_stack_sc(sp, ksig, regs, oldset);
regs               90 arch/um/kernel/signal.c 		err = setup_signal_stack_si(sp, ksig, regs, oldset);
regs               95 arch/um/kernel/signal.c void do_signal(struct pt_regs *regs)
regs              103 arch/um/kernel/signal.c 		handle_signal(&ksig, regs);
regs              107 arch/um/kernel/signal.c 	if (!handled_sig && (PT_REGS_SYSCALL_NR(regs) >= 0)) {
regs              109 arch/um/kernel/signal.c 		switch (PT_REGS_SYSCALL_RET(regs)) {
regs              113 arch/um/kernel/signal.c 			PT_REGS_ORIG_SYSCALL(regs) = PT_REGS_SYSCALL_NR(regs);
regs              114 arch/um/kernel/signal.c 			PT_REGS_RESTART_SYSCALL(regs);
regs              117 arch/um/kernel/signal.c 			PT_REGS_ORIG_SYSCALL(regs) = __NR_restart_syscall;
regs              118 arch/um/kernel/signal.c 			PT_REGS_RESTART_SYSCALL(regs);
regs              133 arch/um/kernel/signal.c 			is_syscall(PT_REGS_IP(&current->thread.regs));
regs               17 arch/um/kernel/skas/syscall.c 	struct pt_regs *regs = container_of(r, struct pt_regs, regs);
regs               32 arch/um/kernel/skas/syscall.c 	PT_REGS_SET_SYSCALL_RETURN(regs, -ENOSYS);
regs               34 arch/um/kernel/skas/syscall.c 	if (syscall_trace_enter(regs))
regs               43 arch/um/kernel/skas/syscall.c 		PT_REGS_SET_SYSCALL_RETURN(regs,
regs               44 arch/um/kernel/skas/syscall.c 				EXECUTE_SYSCALL(syscall, regs));
regs               47 arch/um/kernel/skas/syscall.c 	syscall_trace_leave(regs);
regs               38 arch/um/kernel/time.c void timer_handler(int sig, struct siginfo *unused_si, struct uml_pt_regs *regs)
regs               54 arch/um/kernel/time.c 	do_IRQ(TIMER_IRQ, regs);
regs              333 arch/um/kernel/tlb.c 		do_signal(&current->thread.regs);
regs              142 arch/um/kernel/trap.c static void show_segv_info(struct uml_pt_regs *regs)
regs              145 arch/um/kernel/trap.c 	struct faultinfo *fi = UPT_FAULTINFO(regs);
regs              156 arch/um/kernel/trap.c 		(void *)UPT_IP(regs), (void *)UPT_SP(regs),
regs              159 arch/um/kernel/trap.c 	print_vma_addr(KERN_CONT " in ", UPT_IP(regs));
regs              172 arch/um/kernel/trap.c 	do_signal(&current->thread.regs);
regs              191 arch/um/kernel/trap.c void segv_handler(int sig, struct siginfo *unused_si, struct uml_pt_regs *regs)
regs              193 arch/um/kernel/trap.c 	struct faultinfo * fi = UPT_FAULTINFO(regs);
regs              195 arch/um/kernel/trap.c 	if (UPT_IS_USER(regs) && !SEGV_IS_FIXABLE(fi)) {
regs              196 arch/um/kernel/trap.c 		show_segv_info(regs);
regs              197 arch/um/kernel/trap.c 		bad_segv(*fi, UPT_IP(regs));
regs              200 arch/um/kernel/trap.c 	segv(*fi, UPT_IP(regs), UPT_IS_USER(regs), regs);
regs              210 arch/um/kernel/trap.c 		   struct uml_pt_regs *regs)
regs              218 arch/um/kernel/trap.c 	if (!is_user && regs)
regs              219 arch/um/kernel/trap.c 		current->thread.segv_regs = container_of(regs, struct pt_regs, regs);
regs              226 arch/um/kernel/trap.c 		show_regs(container_of(regs, struct pt_regs, regs));
regs              230 arch/um/kernel/trap.c 		show_regs(container_of(regs, struct pt_regs, regs));
regs              257 arch/um/kernel/trap.c 	else if (!is_user && arch_fixup(ip, regs))
regs              261 arch/um/kernel/trap.c 		show_regs(container_of(regs, struct pt_regs, regs));
regs              266 arch/um/kernel/trap.c 	show_segv_info(regs);
regs              278 arch/um/kernel/trap.c 	if (regs)
regs              284 arch/um/kernel/trap.c void relay_signal(int sig, struct siginfo *si, struct uml_pt_regs *regs)
regs              287 arch/um/kernel/trap.c 	if (!UPT_IS_USER(regs)) {
regs              294 arch/um/kernel/trap.c 	arch_examine_signal(sig, regs);
regs              302 arch/um/kernel/trap.c 		struct faultinfo *fi = UPT_FAULTINFO(regs);
regs              312 arch/um/kernel/trap.c void bus_handler(int sig, struct siginfo *si, struct uml_pt_regs *regs)
regs              317 arch/um/kernel/trap.c 		relay_signal(sig, si, regs);
regs              320 arch/um/kernel/trap.c void winch(int sig, struct siginfo *unused_si, struct uml_pt_regs *regs)
regs              322 arch/um/kernel/trap.c 	do_IRQ(WINCH_IRQ, regs);
regs               14 arch/um/os-Linux/registers.c int save_registers(int pid, struct uml_pt_regs *regs)
regs               18 arch/um/os-Linux/registers.c 	err = ptrace(PTRACE_GETREGS, pid, 0, regs->gp);
regs               24 arch/um/os-Linux/registers.c int restore_registers(int pid, struct uml_pt_regs *regs)
regs               28 arch/um/os-Linux/registers.c 	err = ptrace(PTRACE_SETREGS, pid, 0, regs->gp);
regs               52 arch/um/os-Linux/registers.c void get_safe_registers(unsigned long *regs, unsigned long *fp_regs)
regs               54 arch/um/os-Linux/registers.c 	memcpy(regs, exec_regs, sizeof(exec_regs));
regs               88 arch/um/os-Linux/signal.c 	struct uml_pt_regs regs;
regs               91 arch/um/os-Linux/signal.c 		get_regs_from_mc(&regs, mc);
regs               93 arch/um/os-Linux/signal.c 		memset(&regs, 0, sizeof(regs));
regs               94 arch/um/os-Linux/signal.c 	timer_handler(SIGALRM, NULL, &regs);
regs               33 arch/um/os-Linux/skas/process.c 	unsigned long regs[MAX_REG_NR];
regs               36 arch/um/os-Linux/skas/process.c 	if (ptrace(PTRACE_GETREGS, pid, 0, regs) < 0)
regs               40 arch/um/os-Linux/skas/process.c 	for (i = 0; i < ARRAY_SIZE(regs); i++)
regs               41 arch/um/os-Linux/skas/process.c 		printk(UM_KERN_ERR "\t%d - %lx\n", i, regs[i]);
regs              123 arch/um/os-Linux/skas/process.c static void handle_segv(int pid, struct uml_pt_regs *regs, unsigned long *aux_fp_regs)
regs              125 arch/um/os-Linux/skas/process.c 	get_skas_faultinfo(pid, &regs->faultinfo, aux_fp_regs);
regs              126 arch/um/os-Linux/skas/process.c 	segv(regs->faultinfo, 0, 1, NULL);
regs              133 arch/um/os-Linux/skas/process.c static void handle_trap(int pid, struct uml_pt_regs *regs,
regs              138 arch/um/os-Linux/skas/process.c 	if ((UPT_IP(regs) >= STUB_START) && (UPT_IP(regs) < STUB_END))
regs              172 arch/um/os-Linux/skas/process.c 	handle_syscall(regs);
regs              334 arch/um/os-Linux/skas/process.c void userspace(struct uml_pt_regs *regs, unsigned long *aux_fp_regs)
regs              354 arch/um/os-Linux/skas/process.c 		if (ptrace(PTRACE_SETREGS, pid, 0, regs->gp)) {
regs              360 arch/um/os-Linux/skas/process.c 		if (put_fp_registers(pid, regs->fp)) {
regs              385 arch/um/os-Linux/skas/process.c 		regs->is_user = 1;
regs              386 arch/um/os-Linux/skas/process.c 		if (ptrace(PTRACE_GETREGS, pid, 0, regs->gp)) {
regs              392 arch/um/os-Linux/skas/process.c 		if (get_fp_registers(pid, regs->fp)) {
regs              398 arch/um/os-Linux/skas/process.c 		UPT_SYSCALL_NR(regs) = -1; /* Assume: It's not a syscall */
regs              409 arch/um/os-Linux/skas/process.c 							   &regs->faultinfo, aux_fp_regs);
regs              411 arch/um/os-Linux/skas/process.c 							     regs);
regs              413 arch/um/os-Linux/skas/process.c 				else handle_segv(pid, regs, aux_fp_regs);
regs              416 arch/um/os-Linux/skas/process.c 			        handle_trap(pid, regs, local_using_sysemu);
regs              419 arch/um/os-Linux/skas/process.c 				relay_signal(SIGTRAP, (struct siginfo *)&si, regs);
regs              429 arch/um/os-Linux/skas/process.c 				(*sig_info[sig])(sig, (struct siginfo *)&si, regs);
regs              442 arch/um/os-Linux/skas/process.c 				PT_SYSCALL_NR(regs->gp) = -1;
regs              166 arch/um/os-Linux/start_up.c 	unsigned long regs[MAX_REG_NR];
regs              183 arch/um/os-Linux/start_up.c 	if (ptrace(PTRACE_GETREGS, pid, 0, regs) < 0)
regs              185 arch/um/os-Linux/start_up.c 	if (PT_SYSCALL_NR(regs) != __NR_getpid) {
regs              187 arch/um/os-Linux/start_up.c 			  "expected %d...", PT_SYSCALL_NR(regs), __NR_getpid);
regs               15 arch/unicore32/include/asm/bug.h extern void die(const char *msg, struct pt_regs *regs, int err);
regs               16 arch/unicore32/include/asm/bug.h extern void uc32_notify_die(const char *str, struct pt_regs *regs,
regs               18 arch/unicore32/include/asm/fpstate.h 	unsigned int regs[FP_REGS_NUMBER];
regs               44 arch/unicore32/include/asm/processor.h #define start_thread(regs, pc, sp)					\
regs               47 arch/unicore32/include/asm/processor.h 	memset(regs->uregs, 0, sizeof(regs->uregs));			\
regs               48 arch/unicore32/include/asm/processor.h 	regs->UCreg_asr = USER_MODE;					\
regs               49 arch/unicore32/include/asm/processor.h 	regs->UCreg_pc = pc & ~1;	/* pc */                        \
regs               50 arch/unicore32/include/asm/processor.h 	regs->UCreg_sp = sp;		/* sp */                        \
regs               51 arch/unicore32/include/asm/processor.h 	regs->UCreg_02 = stack[2];	/* r2 (envp) */                 \
regs               52 arch/unicore32/include/asm/processor.h 	regs->UCreg_01 = stack[1];	/* r1 (argv) */                 \
regs               53 arch/unicore32/include/asm/processor.h 	regs->UCreg_00 = stack[0];	/* r0 (argc) */                 \
regs               16 arch/unicore32/include/asm/ptrace.h #define user_mode(regs)	\
regs               17 arch/unicore32/include/asm/ptrace.h 	(processor_mode(regs) == USER_MODE)
regs               19 arch/unicore32/include/asm/ptrace.h #define processor_mode(regs) \
regs               20 arch/unicore32/include/asm/ptrace.h 	((regs)->UCreg_asr & MODE_MASK)
regs               22 arch/unicore32/include/asm/ptrace.h #define interrupts_enabled(regs) \
regs               23 arch/unicore32/include/asm/ptrace.h 	(!((regs)->UCreg_asr & PSR_I_BIT))
regs               25 arch/unicore32/include/asm/ptrace.h #define fast_interrupts_enabled(regs) \
regs               26 arch/unicore32/include/asm/ptrace.h 	(!((regs)->UCreg_asr & PSR_R_BIT))
regs               31 arch/unicore32/include/asm/ptrace.h static inline int valid_user_regs(struct pt_regs *regs)
regs               33 arch/unicore32/include/asm/ptrace.h 	unsigned long mode = regs->UCreg_asr & MODE_MASK;
regs               38 arch/unicore32/include/asm/ptrace.h 	regs->UCreg_asr &= ~(PSR_R_BIT);
regs               40 arch/unicore32/include/asm/ptrace.h 	if ((regs->UCreg_asr & PSR_I_BIT) == 0) {
regs               48 arch/unicore32/include/asm/ptrace.h 	regs->UCreg_asr &= PSR_f | USER_MODE;
regs               53 arch/unicore32/include/asm/ptrace.h #define instruction_pointer(regs)	((regs)->UCreg_pc)
regs               54 arch/unicore32/include/asm/ptrace.h #define user_stack_pointer(regs)	((regs)->UCreg_sp)
regs               55 arch/unicore32/include/asm/ptrace.h #define profile_pc(regs)		instruction_pointer(regs)
regs              188 arch/unicore32/include/asm/tlbflush.h 		struct pt_regs *regs);
regs               17 arch/unicore32/include/asm/traps.h 		 struct pt_regs *regs);
regs               27 arch/unicore32/include/uapi/asm/sigcontext.h 	struct pt_regs regs;
regs               52 arch/unicore32/kernel/fpu-ucf64.c void ucf64_raise_sigfpe(struct pt_regs *regs)
regs               62 arch/unicore32/kernel/fpu-ucf64.c 		       (void __user *)(instruction_pointer(regs) - 4),
regs               69 arch/unicore32/kernel/fpu-ucf64.c void ucf64_exchandler(u32 inst, u32 fpexc, struct pt_regs *regs)
regs               88 arch/unicore32/kernel/fpu-ucf64.c 		ucf64_raise_sigfpe(regs);
regs              350 arch/unicore32/kernel/irq.c asmlinkage void asm_do_IRQ(unsigned int irq, struct pt_regs *regs)
regs              352 arch/unicore32/kernel/irq.c 	struct pt_regs *old_regs = set_irq_regs(regs);
regs              132 arch/unicore32/kernel/process.c void __show_regs(struct pt_regs *regs)
regs              138 arch/unicore32/kernel/process.c 	printk("PC is at %pS\n", (void *)instruction_pointer(regs));
regs              139 arch/unicore32/kernel/process.c 	printk("LR is at %pS\n", (void *)regs->UCreg_lr);
regs              142 arch/unicore32/kernel/process.c 		regs->UCreg_pc, regs->UCreg_lr, regs->UCreg_asr,
regs              143 arch/unicore32/kernel/process.c 		regs->UCreg_sp, regs->UCreg_ip, regs->UCreg_fp);
regs              145 arch/unicore32/kernel/process.c 		regs->UCreg_26, regs->UCreg_25,
regs              146 arch/unicore32/kernel/process.c 		regs->UCreg_24);
regs              148 arch/unicore32/kernel/process.c 		regs->UCreg_23, regs->UCreg_22,
regs              149 arch/unicore32/kernel/process.c 		regs->UCreg_21, regs->UCreg_20);
regs              151 arch/unicore32/kernel/process.c 		regs->UCreg_19, regs->UCreg_18,
regs              152 arch/unicore32/kernel/process.c 		regs->UCreg_17, regs->UCreg_16);
regs              154 arch/unicore32/kernel/process.c 		regs->UCreg_15, regs->UCreg_14,
regs              155 arch/unicore32/kernel/process.c 		regs->UCreg_13, regs->UCreg_12);
regs              157 arch/unicore32/kernel/process.c 		regs->UCreg_11, regs->UCreg_10,
regs              158 arch/unicore32/kernel/process.c 		regs->UCreg_09, regs->UCreg_08);
regs              160 arch/unicore32/kernel/process.c 		regs->UCreg_07, regs->UCreg_06,
regs              161 arch/unicore32/kernel/process.c 		regs->UCreg_05, regs->UCreg_04);
regs              163 arch/unicore32/kernel/process.c 		regs->UCreg_03, regs->UCreg_02,
regs              164 arch/unicore32/kernel/process.c 		regs->UCreg_01, regs->UCreg_00);
regs              166 arch/unicore32/kernel/process.c 	flags = regs->UCreg_asr;
regs              174 arch/unicore32/kernel/process.c 		buf, interrupts_enabled(regs) ? "n" : "ff",
regs              175 arch/unicore32/kernel/process.c 		fast_interrupts_enabled(regs) ? "n" : "ff",
regs              176 arch/unicore32/kernel/process.c 		processor_modes[processor_mode(regs)],
regs              194 arch/unicore32/kernel/process.c void show_regs(struct pt_regs *regs)
regs              199 arch/unicore32/kernel/process.c 	__show_regs(regs);
regs              261 arch/unicore32/kernel/process.c int dump_fpu(struct pt_regs *regs, elf_fpregset_t *fp)
regs               37 arch/unicore32/kernel/ptrace.c 	struct pt_regs newregs, *regs = task_pt_regs(task);
regs               40 arch/unicore32/kernel/ptrace.c 	newregs = *regs;
regs               44 arch/unicore32/kernel/ptrace.c 		regs->uregs[offset] = data;
regs              113 arch/unicore32/kernel/ptrace.c asmlinkage int syscall_trace(int why, struct pt_regs *regs, int scno)
regs              126 arch/unicore32/kernel/ptrace.c 	ip = regs->UCreg_ip;
regs              127 arch/unicore32/kernel/ptrace.c 	regs->UCreg_ip = why;
regs              144 arch/unicore32/kernel/ptrace.c 	regs->UCreg_ip = ip;
regs               52 arch/unicore32/kernel/signal.c static int restore_sigframe(struct pt_regs *regs, struct sigframe __user *sf)
regs               61 arch/unicore32/kernel/signal.c 	err |= __get_user(regs->UCreg_00, &sf->uc.uc_mcontext.regs.UCreg_00);
regs               62 arch/unicore32/kernel/signal.c 	err |= __get_user(regs->UCreg_01, &sf->uc.uc_mcontext.regs.UCreg_01);
regs               63 arch/unicore32/kernel/signal.c 	err |= __get_user(regs->UCreg_02, &sf->uc.uc_mcontext.regs.UCreg_02);
regs               64 arch/unicore32/kernel/signal.c 	err |= __get_user(regs->UCreg_03, &sf->uc.uc_mcontext.regs.UCreg_03);
regs               65 arch/unicore32/kernel/signal.c 	err |= __get_user(regs->UCreg_04, &sf->uc.uc_mcontext.regs.UCreg_04);
regs               66 arch/unicore32/kernel/signal.c 	err |= __get_user(regs->UCreg_05, &sf->uc.uc_mcontext.regs.UCreg_05);
regs               67 arch/unicore32/kernel/signal.c 	err |= __get_user(regs->UCreg_06, &sf->uc.uc_mcontext.regs.UCreg_06);
regs               68 arch/unicore32/kernel/signal.c 	err |= __get_user(regs->UCreg_07, &sf->uc.uc_mcontext.regs.UCreg_07);
regs               69 arch/unicore32/kernel/signal.c 	err |= __get_user(regs->UCreg_08, &sf->uc.uc_mcontext.regs.UCreg_08);
regs               70 arch/unicore32/kernel/signal.c 	err |= __get_user(regs->UCreg_09, &sf->uc.uc_mcontext.regs.UCreg_09);
regs               71 arch/unicore32/kernel/signal.c 	err |= __get_user(regs->UCreg_10, &sf->uc.uc_mcontext.regs.UCreg_10);
regs               72 arch/unicore32/kernel/signal.c 	err |= __get_user(regs->UCreg_11, &sf->uc.uc_mcontext.regs.UCreg_11);
regs               73 arch/unicore32/kernel/signal.c 	err |= __get_user(regs->UCreg_12, &sf->uc.uc_mcontext.regs.UCreg_12);
regs               74 arch/unicore32/kernel/signal.c 	err |= __get_user(regs->UCreg_13, &sf->uc.uc_mcontext.regs.UCreg_13);
regs               75 arch/unicore32/kernel/signal.c 	err |= __get_user(regs->UCreg_14, &sf->uc.uc_mcontext.regs.UCreg_14);
regs               76 arch/unicore32/kernel/signal.c 	err |= __get_user(regs->UCreg_15, &sf->uc.uc_mcontext.regs.UCreg_15);
regs               77 arch/unicore32/kernel/signal.c 	err |= __get_user(regs->UCreg_16, &sf->uc.uc_mcontext.regs.UCreg_16);
regs               78 arch/unicore32/kernel/signal.c 	err |= __get_user(regs->UCreg_17, &sf->uc.uc_mcontext.regs.UCreg_17);
regs               79 arch/unicore32/kernel/signal.c 	err |= __get_user(regs->UCreg_18, &sf->uc.uc_mcontext.regs.UCreg_18);
regs               80 arch/unicore32/kernel/signal.c 	err |= __get_user(regs->UCreg_19, &sf->uc.uc_mcontext.regs.UCreg_19);
regs               81 arch/unicore32/kernel/signal.c 	err |= __get_user(regs->UCreg_20, &sf->uc.uc_mcontext.regs.UCreg_20);
regs               82 arch/unicore32/kernel/signal.c 	err |= __get_user(regs->UCreg_21, &sf->uc.uc_mcontext.regs.UCreg_21);
regs               83 arch/unicore32/kernel/signal.c 	err |= __get_user(regs->UCreg_22, &sf->uc.uc_mcontext.regs.UCreg_22);
regs               84 arch/unicore32/kernel/signal.c 	err |= __get_user(regs->UCreg_23, &sf->uc.uc_mcontext.regs.UCreg_23);
regs               85 arch/unicore32/kernel/signal.c 	err |= __get_user(regs->UCreg_24, &sf->uc.uc_mcontext.regs.UCreg_24);
regs               86 arch/unicore32/kernel/signal.c 	err |= __get_user(regs->UCreg_25, &sf->uc.uc_mcontext.regs.UCreg_25);
regs               87 arch/unicore32/kernel/signal.c 	err |= __get_user(regs->UCreg_26, &sf->uc.uc_mcontext.regs.UCreg_26);
regs               88 arch/unicore32/kernel/signal.c 	err |= __get_user(regs->UCreg_fp, &sf->uc.uc_mcontext.regs.UCreg_fp);
regs               89 arch/unicore32/kernel/signal.c 	err |= __get_user(regs->UCreg_ip, &sf->uc.uc_mcontext.regs.UCreg_ip);
regs               90 arch/unicore32/kernel/signal.c 	err |= __get_user(regs->UCreg_sp, &sf->uc.uc_mcontext.regs.UCreg_sp);
regs               91 arch/unicore32/kernel/signal.c 	err |= __get_user(regs->UCreg_lr, &sf->uc.uc_mcontext.regs.UCreg_lr);
regs               92 arch/unicore32/kernel/signal.c 	err |= __get_user(regs->UCreg_pc, &sf->uc.uc_mcontext.regs.UCreg_pc);
regs               93 arch/unicore32/kernel/signal.c 	err |= __get_user(regs->UCreg_asr, &sf->uc.uc_mcontext.regs.UCreg_asr);
regs               95 arch/unicore32/kernel/signal.c 	err |= !valid_user_regs(regs);
regs              100 arch/unicore32/kernel/signal.c asmlinkage int __sys_rt_sigreturn(struct pt_regs *regs)
regs              112 arch/unicore32/kernel/signal.c 	if (regs->UCreg_sp & 7)
regs              115 arch/unicore32/kernel/signal.c 	frame = (struct rt_sigframe __user *)regs->UCreg_sp;
regs              120 arch/unicore32/kernel/signal.c 	if (restore_sigframe(regs, &frame->sig))
regs              126 arch/unicore32/kernel/signal.c 	return regs->UCreg_00;
regs              133 arch/unicore32/kernel/signal.c static int setup_sigframe(struct sigframe __user *sf, struct pt_regs *regs,
regs              138 arch/unicore32/kernel/signal.c 	err |= __put_user(regs->UCreg_00, &sf->uc.uc_mcontext.regs.UCreg_00);
regs              139 arch/unicore32/kernel/signal.c 	err |= __put_user(regs->UCreg_01, &sf->uc.uc_mcontext.regs.UCreg_01);
regs              140 arch/unicore32/kernel/signal.c 	err |= __put_user(regs->UCreg_02, &sf->uc.uc_mcontext.regs.UCreg_02);
regs              141 arch/unicore32/kernel/signal.c 	err |= __put_user(regs->UCreg_03, &sf->uc.uc_mcontext.regs.UCreg_03);
regs              142 arch/unicore32/kernel/signal.c 	err |= __put_user(regs->UCreg_04, &sf->uc.uc_mcontext.regs.UCreg_04);
regs              143 arch/unicore32/kernel/signal.c 	err |= __put_user(regs->UCreg_05, &sf->uc.uc_mcontext.regs.UCreg_05);
regs              144 arch/unicore32/kernel/signal.c 	err |= __put_user(regs->UCreg_06, &sf->uc.uc_mcontext.regs.UCreg_06);
regs              145 arch/unicore32/kernel/signal.c 	err |= __put_user(regs->UCreg_07, &sf->uc.uc_mcontext.regs.UCreg_07);
regs              146 arch/unicore32/kernel/signal.c 	err |= __put_user(regs->UCreg_08, &sf->uc.uc_mcontext.regs.UCreg_08);
regs              147 arch/unicore32/kernel/signal.c 	err |= __put_user(regs->UCreg_09, &sf->uc.uc_mcontext.regs.UCreg_09);
regs              148 arch/unicore32/kernel/signal.c 	err |= __put_user(regs->UCreg_10, &sf->uc.uc_mcontext.regs.UCreg_10);
regs              149 arch/unicore32/kernel/signal.c 	err |= __put_user(regs->UCreg_11, &sf->uc.uc_mcontext.regs.UCreg_11);
regs              150 arch/unicore32/kernel/signal.c 	err |= __put_user(regs->UCreg_12, &sf->uc.uc_mcontext.regs.UCreg_12);
regs              151 arch/unicore32/kernel/signal.c 	err |= __put_user(regs->UCreg_13, &sf->uc.uc_mcontext.regs.UCreg_13);
regs              152 arch/unicore32/kernel/signal.c 	err |= __put_user(regs->UCreg_14, &sf->uc.uc_mcontext.regs.UCreg_14);
regs              153 arch/unicore32/kernel/signal.c 	err |= __put_user(regs->UCreg_15, &sf->uc.uc_mcontext.regs.UCreg_15);
regs              154 arch/unicore32/kernel/signal.c 	err |= __put_user(regs->UCreg_16, &sf->uc.uc_mcontext.regs.UCreg_16);
regs              155 arch/unicore32/kernel/signal.c 	err |= __put_user(regs->UCreg_17, &sf->uc.uc_mcontext.regs.UCreg_17);
regs              156 arch/unicore32/kernel/signal.c 	err |= __put_user(regs->UCreg_18, &sf->uc.uc_mcontext.regs.UCreg_18);
regs              157 arch/unicore32/kernel/signal.c 	err |= __put_user(regs->UCreg_19, &sf->uc.uc_mcontext.regs.UCreg_19);
regs              158 arch/unicore32/kernel/signal.c 	err |= __put_user(regs->UCreg_20, &sf->uc.uc_mcontext.regs.UCreg_20);
regs              159 arch/unicore32/kernel/signal.c 	err |= __put_user(regs->UCreg_21, &sf->uc.uc_mcontext.regs.UCreg_21);
regs              160 arch/unicore32/kernel/signal.c 	err |= __put_user(regs->UCreg_22, &sf->uc.uc_mcontext.regs.UCreg_22);
regs              161 arch/unicore32/kernel/signal.c 	err |= __put_user(regs->UCreg_23, &sf->uc.uc_mcontext.regs.UCreg_23);
regs              162 arch/unicore32/kernel/signal.c 	err |= __put_user(regs->UCreg_24, &sf->uc.uc_mcontext.regs.UCreg_24);
regs              163 arch/unicore32/kernel/signal.c 	err |= __put_user(regs->UCreg_25, &sf->uc.uc_mcontext.regs.UCreg_25);
regs              164 arch/unicore32/kernel/signal.c 	err |= __put_user(regs->UCreg_26, &sf->uc.uc_mcontext.regs.UCreg_26);
regs              165 arch/unicore32/kernel/signal.c 	err |= __put_user(regs->UCreg_fp, &sf->uc.uc_mcontext.regs.UCreg_fp);
regs              166 arch/unicore32/kernel/signal.c 	err |= __put_user(regs->UCreg_ip, &sf->uc.uc_mcontext.regs.UCreg_ip);
regs              167 arch/unicore32/kernel/signal.c 	err |= __put_user(regs->UCreg_sp, &sf->uc.uc_mcontext.regs.UCreg_sp);
regs              168 arch/unicore32/kernel/signal.c 	err |= __put_user(regs->UCreg_lr, &sf->uc.uc_mcontext.regs.UCreg_lr);
regs              169 arch/unicore32/kernel/signal.c 	err |= __put_user(regs->UCreg_pc, &sf->uc.uc_mcontext.regs.UCreg_pc);
regs              170 arch/unicore32/kernel/signal.c 	err |= __put_user(regs->UCreg_asr, &sf->uc.uc_mcontext.regs.UCreg_asr);
regs              186 arch/unicore32/kernel/signal.c 		struct pt_regs *regs, int framesize)
regs              188 arch/unicore32/kernel/signal.c 	unsigned long sp = regs->UCreg_sp;
regs              211 arch/unicore32/kernel/signal.c static int setup_return(struct pt_regs *regs, struct k_sigaction *ka,
regs              216 arch/unicore32/kernel/signal.c 	unsigned long asr = regs->UCreg_asr & ~PSR_f;
regs              229 arch/unicore32/kernel/signal.c 	regs->UCreg_00 = usig;
regs              230 arch/unicore32/kernel/signal.c 	regs->UCreg_sp = (unsigned long)frame;
regs              231 arch/unicore32/kernel/signal.c 	regs->UCreg_lr = retcode;
regs              232 arch/unicore32/kernel/signal.c 	regs->UCreg_pc = handler;
regs              233 arch/unicore32/kernel/signal.c 	regs->UCreg_asr = asr;
regs              239 arch/unicore32/kernel/signal.c 		       struct pt_regs *regs)
regs              241 arch/unicore32/kernel/signal.c 	struct sigframe __user *frame = get_sigframe(&ksig->ka, regs, sizeof(*frame));
regs              252 arch/unicore32/kernel/signal.c 	err |= setup_sigframe(frame, regs, set);
regs              254 arch/unicore32/kernel/signal.c 		err |= setup_return(regs, &ksig->ka, frame->retcode, frame,
regs              261 arch/unicore32/kernel/signal.c 			  struct pt_regs *regs)
regs              264 arch/unicore32/kernel/signal.c 			get_sigframe(&ksig->ka, regs, sizeof(*frame));
regs              274 arch/unicore32/kernel/signal.c 	err |= __save_altstack(&frame->sig.uc.uc_stack, regs->UCreg_sp);
regs              275 arch/unicore32/kernel/signal.c 	err |= setup_sigframe(&frame->sig, regs, set);
regs              277 arch/unicore32/kernel/signal.c 		err |= setup_return(regs, &ksig->ka, frame->sig.retcode, frame,
regs              285 arch/unicore32/kernel/signal.c 		regs->UCreg_01 = (unsigned long)&frame->info;
regs              286 arch/unicore32/kernel/signal.c 		regs->UCreg_02 = (unsigned long)&frame->sig.uc;
regs              292 arch/unicore32/kernel/signal.c static inline void setup_syscall_restart(struct pt_regs *regs)
regs              294 arch/unicore32/kernel/signal.c 	regs->UCreg_00 = regs->UCreg_ORIG_00;
regs              295 arch/unicore32/kernel/signal.c 	regs->UCreg_pc -= 4;
regs              301 arch/unicore32/kernel/signal.c static void handle_signal(struct ksignal *ksig, struct pt_regs *regs,
regs              313 arch/unicore32/kernel/signal.c 		switch (regs->UCreg_00) {
regs              316 arch/unicore32/kernel/signal.c 			regs->UCreg_00 = -EINTR;
regs              320 arch/unicore32/kernel/signal.c 				regs->UCreg_00 = -EINTR;
regs              325 arch/unicore32/kernel/signal.c 			setup_syscall_restart(regs);
regs              333 arch/unicore32/kernel/signal.c 		ret = setup_rt_frame(ksig, oldset, regs);
regs              335 arch/unicore32/kernel/signal.c 		ret = setup_frame(ksig, oldset, regs);
regs              340 arch/unicore32/kernel/signal.c 	ret |= !valid_user_regs(regs);
regs              354 arch/unicore32/kernel/signal.c static void do_signal(struct pt_regs *regs, int syscall)
regs              364 arch/unicore32/kernel/signal.c 	if (!user_mode(regs))
regs              368 arch/unicore32/kernel/signal.c 		handle_signal(&ksig, regs, syscall);
regs              376 arch/unicore32/kernel/signal.c 		if (regs->UCreg_00 == -ERESTART_RESTARTBLOCK) {
regs              379 arch/unicore32/kernel/signal.c 				regs->UCreg_sp -= 4;
regs              380 arch/unicore32/kernel/signal.c 				usp = (u32 __user *)regs->UCreg_sp;
regs              382 arch/unicore32/kernel/signal.c 				if (put_user(regs->UCreg_pc, usp) == 0) {
regs              383 arch/unicore32/kernel/signal.c 					regs->UCreg_pc = KERN_RESTART_CODE;
regs              385 arch/unicore32/kernel/signal.c 					regs->UCreg_sp += 4;
regs              389 arch/unicore32/kernel/signal.c 		if (regs->UCreg_00 == -ERESTARTNOHAND ||
regs              390 arch/unicore32/kernel/signal.c 		    regs->UCreg_00 == -ERESTARTSYS ||
regs              391 arch/unicore32/kernel/signal.c 		    regs->UCreg_00 == -ERESTARTNOINTR) {
regs              392 arch/unicore32/kernel/signal.c 			setup_syscall_restart(regs);
regs              401 arch/unicore32/kernel/signal.c asmlinkage void do_notify_resume(struct pt_regs *regs,
regs              405 arch/unicore32/kernel/signal.c 		do_signal(regs, syscall);
regs              409 arch/unicore32/kernel/signal.c 		tracehook_notify_resume(regs);
regs              104 arch/unicore32/kernel/traps.c static void dump_instr(const char *lvl, struct pt_regs *regs)
regs              106 arch/unicore32/kernel/traps.c 	unsigned long addr = instruction_pointer(regs);
regs              138 arch/unicore32/kernel/traps.c static void dump_backtrace(struct pt_regs *regs, struct task_struct *tsk)
regs              148 arch/unicore32/kernel/traps.c 	if (regs) {
regs              149 arch/unicore32/kernel/traps.c 		fp = regs->UCreg_fp;
regs              150 arch/unicore32/kernel/traps.c 		mode = processor_mode(regs);
regs              180 arch/unicore32/kernel/traps.c 		struct pt_regs *regs)
regs              190 arch/unicore32/kernel/traps.c 	ret = notify_die(DIE_OOPS, str, regs, err, tsk->thread.trap_no, \
regs              196 arch/unicore32/kernel/traps.c 	__show_regs(regs);
regs              200 arch/unicore32/kernel/traps.c 	if (!user_mode(regs) || in_interrupt()) {
regs              201 arch/unicore32/kernel/traps.c 		dump_mem(KERN_EMERG, "Stack: ", regs->UCreg_sp,
regs              203 arch/unicore32/kernel/traps.c 		dump_backtrace(regs, tsk);
regs              204 arch/unicore32/kernel/traps.c 		dump_instr(KERN_EMERG, regs);
regs              215 arch/unicore32/kernel/traps.c void die(const char *str, struct pt_regs *regs, int err)
regs              225 arch/unicore32/kernel/traps.c 	ret = __die(str, err, thread, regs);
regs              240 arch/unicore32/kernel/traps.c void uc32_notify_die(const char *str, struct pt_regs *regs,
regs              244 arch/unicore32/kernel/traps.c 	if (user_mode(regs)) {
regs              250 arch/unicore32/kernel/traps.c 		die(str, regs, err);
regs              259 arch/unicore32/kernel/traps.c asmlinkage void bad_mode(struct pt_regs *regs, unsigned int reason)
regs              265 arch/unicore32/kernel/traps.c 	die("Oops - bad mode", regs, 0);
regs              199 arch/unicore32/mm/alignment.c 			 struct pt_regs *regs, union offset_union offset)
regs              208 arch/unicore32/mm/alignment.c 		regs->uregs[RN_BITS(instr)] = addr;
regs              213 arch/unicore32/mm/alignment.c 		      struct pt_regs *regs)
regs              229 arch/unicore32/mm/alignment.c 		regs->uregs[rd] = val;
regs              231 arch/unicore32/mm/alignment.c 		put16_unaligned_check(regs->uregs[rd], addr);
regs              238 arch/unicore32/mm/alignment.c 	get32_unaligned_check(regs->uregs[RD_BITS(instr)], addr);
regs              239 arch/unicore32/mm/alignment.c 	put32_unaligned_check(regs->uregs[RM_BITS(instr)], addr);
regs              248 arch/unicore32/mm/alignment.c 		    struct pt_regs *regs)
regs              256 arch/unicore32/mm/alignment.c 		get32_unaligned_check(regs->uregs[rd], addr);
regs              258 arch/unicore32/mm/alignment.c 		put32_unaligned_check(regs->uregs[rd], addr);
regs              263 arch/unicore32/mm/alignment.c 		get32t_unaligned_check(regs->uregs[rd], addr);
regs              265 arch/unicore32/mm/alignment.c 		put32t_unaligned_check(regs->uregs[rd], addr);
regs              287 arch/unicore32/mm/alignment.c 		    struct pt_regs *regs)
regs              301 arch/unicore32/mm/alignment.c 	newaddr = eaddr = regs->uregs[rn];
regs              319 arch/unicore32/mm/alignment.c 		       instruction_pointer(regs), instr, addr, eaddr);
regs              320 arch/unicore32/mm/alignment.c 		show_regs(regs);
regs              332 arch/unicore32/mm/alignment.c 				get32_unaligned_check(regs->
regs              335 arch/unicore32/mm/alignment.c 				put32_unaligned_check(regs->
regs              341 arch/unicore32/mm/alignment.c 		regs->uregs[rn] = newaddr;
regs              345 arch/unicore32/mm/alignment.c 	regs->UCreg_pc -= pc_correction;
regs              354 arch/unicore32/mm/alignment.c do_alignment(unsigned long addr, unsigned int error_code, struct pt_regs *regs)
regs              359 arch/unicore32/mm/alignment.c 			struct pt_regs *regs);
regs              362 arch/unicore32/mm/alignment.c 	instrptr = instruction_pointer(regs);
regs              372 arch/unicore32/mm/alignment.c 	regs->UCreg_pc += 4;
regs              379 arch/unicore32/mm/alignment.c 			offset.un = regs->uregs[RM_BITS(instr)];
regs              392 arch/unicore32/mm/alignment.c 		offset.un = regs->uregs[RM_BITS(instr)];
regs              412 arch/unicore32/mm/alignment.c 					if (regs->UCreg_asr & PSR_C_BIT)
regs              432 arch/unicore32/mm/alignment.c 	type = handler(addr, instr, regs);
regs              438 arch/unicore32/mm/alignment.c 		do_alignment_finish_ldst(addr, instr, regs, offset);
regs              445 arch/unicore32/mm/alignment.c 	regs->UCreg_pc -= 4;
regs              449 arch/unicore32/mm/alignment.c 	do_bad_area(addr, error_code, regs);
regs               12 arch/unicore32/mm/extable.c int fixup_exception(struct pt_regs *regs)
regs               16 arch/unicore32/mm/extable.c 	fixup = search_exception_tables(instruction_pointer(regs));
regs               18 arch/unicore32/mm/extable.c 		regs->UCreg_pc = fixup->fixup;
regs               89 arch/unicore32/mm/fault.c 		unsigned int fsr, struct pt_regs *regs)
regs               94 arch/unicore32/mm/fault.c 	if (fixup_exception(regs))
regs              107 arch/unicore32/mm/fault.c 	die("Oops", regs, fsr);
regs              117 arch/unicore32/mm/fault.c 			    unsigned int sig, int code,	struct pt_regs *regs)
regs              127 arch/unicore32/mm/fault.c void do_bad_area(unsigned long addr, unsigned int fsr, struct pt_regs *regs)
regs              136 arch/unicore32/mm/fault.c 	if (user_mode(regs))
regs              137 arch/unicore32/mm/fault.c 		__do_user_fault(addr, fsr, SIGSEGV, SEGV_MAPERR, regs);
regs              139 arch/unicore32/mm/fault.c 		__do_kernel_fault(mm, addr, fsr, regs);
regs              199 arch/unicore32/mm/fault.c static int do_pf(unsigned long addr, unsigned int fsr, struct pt_regs *regs)
regs              217 arch/unicore32/mm/fault.c 	if (user_mode(regs))
regs              228 arch/unicore32/mm/fault.c 		if (!user_mode(regs)
regs              229 arch/unicore32/mm/fault.c 		    && !search_exception_tables(regs->UCreg_pc))
regs              241 arch/unicore32/mm/fault.c 		if (!user_mode(regs) &&
regs              242 arch/unicore32/mm/fault.c 		    !search_exception_tables(regs->UCreg_pc))
regs              282 arch/unicore32/mm/fault.c 	if (!user_mode(regs))
regs              311 arch/unicore32/mm/fault.c 	__do_user_fault(addr, fsr, sig, code, regs);
regs              315 arch/unicore32/mm/fault.c 	__do_kernel_fault(mm, addr, fsr, regs);
regs              336 arch/unicore32/mm/fault.c static int do_ifault(unsigned long addr, unsigned int fsr, struct pt_regs *regs)
regs              343 arch/unicore32/mm/fault.c 		return do_pf(addr, fsr, regs);
regs              345 arch/unicore32/mm/fault.c 	if (user_mode(regs))
regs              367 arch/unicore32/mm/fault.c 	do_bad_area(addr, fsr, regs);
regs              374 arch/unicore32/mm/fault.c static int do_bad(unsigned long addr, unsigned int fsr, struct pt_regs *regs)
regs              379 arch/unicore32/mm/fault.c static int do_good(unsigned long addr, unsigned int fsr, struct pt_regs *regs)
regs              398 arch/unicore32/mm/fault.c 	int (*fn) (unsigned long addr, unsigned int fsr, struct pt_regs *regs);
regs              457 arch/unicore32/mm/fault.c 			struct pt_regs *regs)
regs              461 arch/unicore32/mm/fault.c 	if (!inf->fn(addr, fsr & ~FSR_LNX_PF, regs))
regs              467 arch/unicore32/mm/fault.c 	uc32_notify_die("", regs, inf->sig, inf->code, (void __user *)addr,
regs              472 arch/unicore32/mm/fault.c 			unsigned int ifsr, struct pt_regs *regs)
regs              476 arch/unicore32/mm/fault.c 	if (!inf->fn(addr, ifsr | FSR_LNX_PF, regs))
regs              482 arch/unicore32/mm/fault.c 	uc32_notify_die("", regs, inf->sig, inf->code, (void __user *)addr,
regs              323 arch/x86/boot/boot.h void initregs(struct biosregs *regs);
regs               51 arch/x86/entry/common.c static void do_audit_syscall_entry(struct pt_regs *regs, u32 arch)
regs               55 arch/x86/entry/common.c 		audit_syscall_entry(regs->orig_ax, regs->di,
regs               56 arch/x86/entry/common.c 				    regs->si, regs->dx, regs->r10);
regs               60 arch/x86/entry/common.c 		audit_syscall_entry(regs->orig_ax, regs->bx,
regs               61 arch/x86/entry/common.c 				    regs->cx, regs->dx, regs->si);
regs               69 arch/x86/entry/common.c static long syscall_trace_enter(struct pt_regs *regs)
regs               78 arch/x86/entry/common.c 		BUG_ON(regs != task_pt_regs(current));
regs               83 arch/x86/entry/common.c 		ret = tracehook_report_syscall_entry(regs);
regs               96 arch/x86/entry/common.c 		sd.nr = regs->orig_ax;
regs               97 arch/x86/entry/common.c 		sd.instruction_pointer = regs->ip;
regs              100 arch/x86/entry/common.c 			sd.args[0] = regs->di;
regs              101 arch/x86/entry/common.c 			sd.args[1] = regs->si;
regs              102 arch/x86/entry/common.c 			sd.args[2] = regs->dx;
regs              103 arch/x86/entry/common.c 			sd.args[3] = regs->r10;
regs              104 arch/x86/entry/common.c 			sd.args[4] = regs->r8;
regs              105 arch/x86/entry/common.c 			sd.args[5] = regs->r9;
regs              109 arch/x86/entry/common.c 			sd.args[0] = regs->bx;
regs              110 arch/x86/entry/common.c 			sd.args[1] = regs->cx;
regs              111 arch/x86/entry/common.c 			sd.args[2] = regs->dx;
regs              112 arch/x86/entry/common.c 			sd.args[3] = regs->si;
regs              113 arch/x86/entry/common.c 			sd.args[4] = regs->di;
regs              114 arch/x86/entry/common.c 			sd.args[5] = regs->bp;
regs              124 arch/x86/entry/common.c 		trace_sys_enter(regs, regs->orig_ax);
regs              126 arch/x86/entry/common.c 	do_audit_syscall_entry(regs, arch);
regs              128 arch/x86/entry/common.c 	return ret ?: regs->orig_ax;
regs              135 arch/x86/entry/common.c static void exit_to_usermode_loop(struct pt_regs *regs, u32 cached_flags)
regs              152 arch/x86/entry/common.c 			uprobe_notify_resume(regs);
regs              159 arch/x86/entry/common.c 			do_signal(regs);
regs              163 arch/x86/entry/common.c 			tracehook_notify_resume(regs);
regs              164 arch/x86/entry/common.c 			rseq_handle_notify_resume(NULL, regs);
regs              181 arch/x86/entry/common.c __visible inline void prepare_exit_to_usermode(struct pt_regs *regs)
regs              194 arch/x86/entry/common.c 		exit_to_usermode_loop(regs, cached_flags);
regs              227 arch/x86/entry/common.c static void syscall_slow_exit_work(struct pt_regs *regs, u32 cached_flags)
regs              231 arch/x86/entry/common.c 	audit_syscall_exit(regs);
regs              234 arch/x86/entry/common.c 		trace_sys_exit(regs, regs->ax);
regs              246 arch/x86/entry/common.c 		tracehook_report_syscall_exit(regs, step);
regs              253 arch/x86/entry/common.c __visible inline void syscall_return_slowpath(struct pt_regs *regs)
regs              261 arch/x86/entry/common.c 	    WARN(irqs_disabled(), "syscall %ld left IRQs disabled", regs->orig_ax))
regs              264 arch/x86/entry/common.c 	rseq_syscall(regs);
regs              271 arch/x86/entry/common.c 		syscall_slow_exit_work(regs, cached_flags);
regs              274 arch/x86/entry/common.c 	prepare_exit_to_usermode(regs);
regs              278 arch/x86/entry/common.c __visible void do_syscall_64(unsigned long nr, struct pt_regs *regs)
regs              286 arch/x86/entry/common.c 		nr = syscall_trace_enter(regs);
regs              290 arch/x86/entry/common.c 		regs->ax = sys_call_table[nr](regs);
regs              296 arch/x86/entry/common.c 		regs->ax = x32_sys_call_table[nr](regs);
regs              300 arch/x86/entry/common.c 	syscall_return_slowpath(regs);
regs              311 arch/x86/entry/common.c static __always_inline void do_syscall_32_irqs_on(struct pt_regs *regs)
regs              314 arch/x86/entry/common.c 	unsigned int nr = (unsigned int)regs->orig_ax;
regs              327 arch/x86/entry/common.c 		nr = syscall_trace_enter(regs);
regs              333 arch/x86/entry/common.c 		regs->ax = ia32_sys_call_table[nr](regs);
regs              341 arch/x86/entry/common.c 		regs->ax = ia32_sys_call_table[nr](
regs              342 arch/x86/entry/common.c 			(unsigned int)regs->bx, (unsigned int)regs->cx,
regs              343 arch/x86/entry/common.c 			(unsigned int)regs->dx, (unsigned int)regs->si,
regs              344 arch/x86/entry/common.c 			(unsigned int)regs->di, (unsigned int)regs->bp);
regs              348 arch/x86/entry/common.c 	syscall_return_slowpath(regs);
regs              352 arch/x86/entry/common.c __visible void do_int80_syscall_32(struct pt_regs *regs)
regs              356 arch/x86/entry/common.c 	do_syscall_32_irqs_on(regs);
regs              360 arch/x86/entry/common.c __visible long do_fast_syscall_32(struct pt_regs *regs)
regs              375 arch/x86/entry/common.c 	regs->ip = landing_pad;
regs              388 arch/x86/entry/common.c 		__get_user(*(u32 *)&regs->bp,
regs              389 arch/x86/entry/common.c 			    (u32 __user __force *)(unsigned long)(u32)regs->sp)
regs              391 arch/x86/entry/common.c 		get_user(*(u32 *)&regs->bp,
regs              392 arch/x86/entry/common.c 			 (u32 __user __force *)(unsigned long)(u32)regs->sp)
regs              398 arch/x86/entry/common.c 		regs->ax = -EFAULT;
regs              399 arch/x86/entry/common.c 		prepare_exit_to_usermode(regs);
regs              404 arch/x86/entry/common.c 	do_syscall_32_irqs_on(regs);
regs              416 arch/x86/entry/common.c 	return regs->cs == __USER32_CS && regs->ss == __USER_DS &&
regs              417 arch/x86/entry/common.c 		regs->ip == landing_pad &&
regs              418 arch/x86/entry/common.c 		(regs->flags & (X86_EFLAGS_RF | X86_EFLAGS_TF)) == 0;
regs              431 arch/x86/entry/common.c 		regs->cs == __USER_CS && regs->ss == __USER_DS &&
regs              432 arch/x86/entry/common.c 		regs->ip == landing_pad &&
regs              433 arch/x86/entry/common.c 		(regs->flags & (X86_EFLAGS_RF | X86_EFLAGS_TF | X86_EFLAGS_VM)) == 0;
regs               60 arch/x86/entry/vdso/vma.c 		struct pt_regs *regs = current_pt_regs();
regs               66 arch/x86/entry/vdso/vma.c 		if (regs->ip == old_land_addr)
regs               67 arch/x86/entry/vdso/vma.c 			regs->ip = new_vma->vm_start + vdso_land;
regs               73 arch/x86/entry/vsyscall/vsyscall_64.c static void warn_bad_vsyscall(const char *level, struct pt_regs *regs,
regs               81 arch/x86/entry/vsyscall/vsyscall_64.c 			   message, regs->ip, regs->cs,
regs               82 arch/x86/entry/vsyscall/vsyscall_64.c 			   regs->sp, regs->ax, regs->si, regs->di);
regs              121 arch/x86/entry/vsyscall/vsyscall_64.c 		      struct pt_regs *regs, unsigned long address)
regs              142 arch/x86/entry/vsyscall/vsyscall_64.c 		warn_bad_vsyscall(KERN_INFO, regs, "vsyscall read attempt denied -- look up the vsyscall kernel parameter if you need a workaround");
regs              151 arch/x86/entry/vsyscall/vsyscall_64.c 	WARN_ON_ONCE(address != regs->ip);
regs              154 arch/x86/entry/vsyscall/vsyscall_64.c 		warn_bad_vsyscall(KERN_INFO, regs,
regs              164 arch/x86/entry/vsyscall/vsyscall_64.c 		warn_bad_vsyscall(KERN_WARNING, regs,
regs              169 arch/x86/entry/vsyscall/vsyscall_64.c 	if (get_user(caller, (unsigned long __user *)regs->sp) != 0) {
regs              170 arch/x86/entry/vsyscall/vsyscall_64.c 		warn_bad_vsyscall(KERN_WARNING, regs,
regs              187 arch/x86/entry/vsyscall/vsyscall_64.c 		if (!write_ok_or_segv(regs->di, sizeof(struct timeval)) ||
regs              188 arch/x86/entry/vsyscall/vsyscall_64.c 		    !write_ok_or_segv(regs->si, sizeof(struct timezone))) {
regs              197 arch/x86/entry/vsyscall/vsyscall_64.c 		if (!write_ok_or_segv(regs->di, sizeof(time_t))) {
regs              206 arch/x86/entry/vsyscall/vsyscall_64.c 		if (!write_ok_or_segv(regs->di, sizeof(unsigned)) ||
regs              207 arch/x86/entry/vsyscall/vsyscall_64.c 		    !write_ok_or_segv(regs->si, sizeof(unsigned))) {
regs              223 arch/x86/entry/vsyscall/vsyscall_64.c 	regs->orig_ax = syscall_nr;
regs              224 arch/x86/entry/vsyscall/vsyscall_64.c 	regs->ax = -ENOSYS;
regs              226 arch/x86/entry/vsyscall/vsyscall_64.c 	if ((!tmp && regs->orig_ax != syscall_nr) || regs->ip != address) {
regs              227 arch/x86/entry/vsyscall/vsyscall_64.c 		warn_bad_vsyscall(KERN_DEBUG, regs,
regs              231 arch/x86/entry/vsyscall/vsyscall_64.c 	regs->orig_ax = -1;
regs              246 arch/x86/entry/vsyscall/vsyscall_64.c 		ret = __x64_sys_gettimeofday(regs);
regs              251 arch/x86/entry/vsyscall/vsyscall_64.c 		ret = __x64_sys_time(regs);
regs              256 arch/x86/entry/vsyscall/vsyscall_64.c 		orig_dx = regs->dx;
regs              257 arch/x86/entry/vsyscall/vsyscall_64.c 		regs->dx = 0;
regs              259 arch/x86/entry/vsyscall/vsyscall_64.c 		ret = __x64_sys_getcpu(regs);
regs              260 arch/x86/entry/vsyscall/vsyscall_64.c 		regs->dx = orig_dx;
regs              269 arch/x86/entry/vsyscall/vsyscall_64.c 		warn_bad_vsyscall(KERN_INFO, regs,
regs              283 arch/x86/entry/vsyscall/vsyscall_64.c 	regs->ax = ret;
regs              287 arch/x86/entry/vsyscall/vsyscall_64.c 	regs->ip = caller;
regs              288 arch/x86/entry/vsyscall/vsyscall_64.c 	regs->sp += 8;
regs              665 arch/x86/events/amd/core.c static int amd_pmu_handle_irq(struct pt_regs *regs)
regs              678 arch/x86/events/amd/core.c 	handled = x86_pmu_handle_irq(regs);
regs              107 arch/x86/events/amd/ibs.c 	u64		regs[MSR_AMD64_IBS_REG_COUNT_MAX];
regs              576 arch/x86/events/amd/ibs.c 	struct pt_regs regs;
regs              601 arch/x86/events/amd/ibs.c 	buf = ibs_data.regs;
regs              606 arch/x86/events/amd/ibs.c 	config = &ibs_data.regs[0];
regs              646 arch/x86/events/amd/ibs.c 	regs = *iregs;
regs              647 arch/x86/events/amd/ibs.c 	if (check_rip && (ibs_data.regs[2] & IBS_RIP_INVALID)) {
regs              648 arch/x86/events/amd/ibs.c 		regs.flags &= ~PERF_EFLAGS_EXACT;
regs              650 arch/x86/events/amd/ibs.c 		set_linear_ip(&regs, ibs_data.regs[1]);
regs              651 arch/x86/events/amd/ibs.c 		regs.flags |= PERF_EFLAGS_EXACT;
regs              664 arch/x86/events/amd/ibs.c 	throttle = perf_event_overflow(event, &data, &regs);
regs              684 arch/x86/events/amd/ibs.c perf_ibs_nmi_handler(unsigned int cmd, struct pt_regs *regs)
regs              689 arch/x86/events/amd/ibs.c 	handled += perf_ibs_handle_irq(&perf_ibs_fetch, regs);
regs              690 arch/x86/events/amd/ibs.c 	handled += perf_ibs_handle_irq(&perf_ibs_op, regs);
regs             1491 arch/x86/events/core.c int x86_pmu_handle_irq(struct pt_regs *regs)
regs             1530 arch/x86/events/core.c 		if (perf_event_overflow(event, &data, regs))
regs             1552 arch/x86/events/core.c perf_event_nmi_handler(unsigned int cmd, struct pt_regs *regs)
regs             1566 arch/x86/events/core.c 	ret = x86_pmu.handle_irq(regs);
regs             2360 arch/x86/events/core.c static bool perf_hw_regs(struct pt_regs *regs)
regs             2362 arch/x86/events/core.c 	return regs->flags & X86_EFLAGS_FIXED;
regs             2366 arch/x86/events/core.c perf_callchain_kernel(struct perf_callchain_entry_ctx *entry, struct pt_regs *regs)
regs             2376 arch/x86/events/core.c 	if (perf_callchain_store(entry, regs->ip))
regs             2379 arch/x86/events/core.c 	if (perf_hw_regs(regs))
regs             2380 arch/x86/events/core.c 		unwind_start(&state, current, regs, NULL);
regs             2382 arch/x86/events/core.c 		unwind_start(&state, current, NULL, (void *)regs->sp);
regs             2430 arch/x86/events/core.c perf_callchain_user32(struct pt_regs *regs, struct perf_callchain_entry_ctx *entry)
regs             2440 arch/x86/events/core.c 	cs_base = get_segment_base(regs->cs);
regs             2441 arch/x86/events/core.c 	ss_base = get_segment_base(regs->ss);
regs             2443 arch/x86/events/core.c 	fp = compat_ptr(ss_base + regs->bp);
regs             2468 arch/x86/events/core.c perf_callchain_user32(struct pt_regs *regs, struct perf_callchain_entry_ctx *entry)
regs             2475 arch/x86/events/core.c perf_callchain_user(struct perf_callchain_entry_ctx *entry, struct pt_regs *regs)
regs             2488 arch/x86/events/core.c 	if (regs->flags & (X86_VM_MASK | PERF_EFLAGS_VM))
regs             2491 arch/x86/events/core.c 	fp = (unsigned long __user *)regs->bp;
regs             2493 arch/x86/events/core.c 	perf_callchain_store(entry, regs->ip);
regs             2498 arch/x86/events/core.c 	if (perf_callchain_user32(regs, entry))
regs             2537 arch/x86/events/core.c static unsigned long code_segment_base(struct pt_regs *regs)
regs             2549 arch/x86/events/core.c 	if (regs->flags & X86_VM_MASK)
regs             2550 arch/x86/events/core.c 		return 0x10 * regs->cs;
regs             2552 arch/x86/events/core.c 	if (user_mode(regs) && regs->cs != __USER_CS)
regs             2553 arch/x86/events/core.c 		return get_segment_base(regs->cs);
regs             2555 arch/x86/events/core.c 	if (user_mode(regs) && !user_64bit_mode(regs) &&
regs             2556 arch/x86/events/core.c 	    regs->cs != __USER32_CS)
regs             2557 arch/x86/events/core.c 		return get_segment_base(regs->cs);
regs             2562 arch/x86/events/core.c unsigned long perf_instruction_pointer(struct pt_regs *regs)
regs             2567 arch/x86/events/core.c 	return regs->ip + code_segment_base(regs);
regs             2570 arch/x86/events/core.c unsigned long perf_misc_flags(struct pt_regs *regs)
regs             2580 arch/x86/events/core.c 		if (user_mode(regs))
regs             2586 arch/x86/events/core.c 	if (regs->flags & PERF_EFLAGS_EXACT)
regs             2330 arch/x86/events/intel/core.c static int handle_pmi_common(struct pt_regs *regs, u64 status)
regs             2378 arch/x86/events/intel/core.c 		x86_pmu.drain_pebs(regs);
regs             2417 arch/x86/events/intel/core.c 		if (perf_event_overflow(event, &data, regs))
regs             2444 arch/x86/events/intel/core.c static int intel_pmu_handle_irq_v4(struct pt_regs *regs)
regs             2479 arch/x86/events/intel/core.c 	handled += handle_pmi_common(regs, status);
regs             2517 arch/x86/events/intel/core.c static int intel_pmu_handle_irq(struct pt_regs *regs)
regs             2563 arch/x86/events/intel/core.c 	handled += handle_pmi_common(regs, status);
regs             2658 arch/x86/events/intel/core.c 	era = &cpuc->shared_regs->regs[idx];
regs             2731 arch/x86/events/intel/core.c 	era = &cpuc->shared_regs->regs[reg->idx];
regs             3617 arch/x86/events/intel/core.c 	struct intel_shared_regs *regs;
regs             3620 arch/x86/events/intel/core.c 	regs = kzalloc_node(sizeof(struct intel_shared_regs),
regs             3622 arch/x86/events/intel/core.c 	if (regs) {
regs             3627 arch/x86/events/intel/core.c 			raw_spin_lock_init(&regs->regs[i].lock);
regs             3629 arch/x86/events/intel/core.c 		regs->core_id = -1;
regs             3631 arch/x86/events/intel/core.c 	return regs;
regs             3751 arch/x86/events/intel/core.c 		cpuc->lbr_sel = &cpuc->shared_regs->regs[EXTRA_REG_LBR];
regs              595 arch/x86/events/intel/ds.c 	struct pt_regs regs;
regs              609 arch/x86/events/intel/ds.c 	memset(&regs, 0, sizeof(regs));
regs              642 arch/x86/events/intel/ds.c 	perf_prepare_sample(&header, &data, event, &regs);
regs              672 arch/x86/events/intel/ds.c 	struct pt_regs regs;
regs              674 arch/x86/events/intel/ds.c 	x86_pmu.drain_pebs(&regs);
regs             1199 arch/x86/events/intel/ds.c static int intel_pmu_pebs_fixup_ip(struct pt_regs *regs)
regs             1204 arch/x86/events/intel/ds.c 	unsigned long ip = regs->ip;
regs             1238 arch/x86/events/intel/ds.c 		set_linear_ip(regs, from);
regs             1282 arch/x86/events/intel/ds.c 		set_linear_ip(regs, old_to);
regs             1342 arch/x86/events/intel/ds.c 				   struct pt_regs *regs)
regs             1391 arch/x86/events/intel/ds.c 	*regs = *iregs;
regs             1398 arch/x86/events/intel/ds.c 	regs->flags = pebs->flags & ~PERF_EFLAGS_EXACT;
regs             1401 arch/x86/events/intel/ds.c 		regs->ax = pebs->ax;
regs             1402 arch/x86/events/intel/ds.c 		regs->bx = pebs->bx;
regs             1403 arch/x86/events/intel/ds.c 		regs->cx = pebs->cx;
regs             1404 arch/x86/events/intel/ds.c 		regs->dx = pebs->dx;
regs             1405 arch/x86/events/intel/ds.c 		regs->si = pebs->si;
regs             1406 arch/x86/events/intel/ds.c 		regs->di = pebs->di;
regs             1408 arch/x86/events/intel/ds.c 		regs->bp = pebs->bp;
regs             1409 arch/x86/events/intel/ds.c 		regs->sp = pebs->sp;
regs             1412 arch/x86/events/intel/ds.c 		regs->r8 = pebs->r8;
regs             1413 arch/x86/events/intel/ds.c 		regs->r9 = pebs->r9;
regs             1414 arch/x86/events/intel/ds.c 		regs->r10 = pebs->r10;
regs             1415 arch/x86/events/intel/ds.c 		regs->r11 = pebs->r11;
regs             1416 arch/x86/events/intel/ds.c 		regs->r12 = pebs->r12;
regs             1417 arch/x86/events/intel/ds.c 		regs->r13 = pebs->r13;
regs             1418 arch/x86/events/intel/ds.c 		regs->r14 = pebs->r14;
regs             1419 arch/x86/events/intel/ds.c 		regs->r15 = pebs->r15;
regs             1430 arch/x86/events/intel/ds.c 			set_linear_ip(regs, pebs->real_ip);
regs             1431 arch/x86/events/intel/ds.c 			regs->flags |= PERF_EFLAGS_EXACT;
regs             1434 arch/x86/events/intel/ds.c 			set_linear_ip(regs, pebs->ip);
regs             1441 arch/x86/events/intel/ds.c 			if (intel_pmu_pebs_fixup_ip(regs))
regs             1442 arch/x86/events/intel/ds.c 				regs->flags |= PERF_EFLAGS_EXACT;
regs             1449 arch/x86/events/intel/ds.c 		set_linear_ip(regs, pebs->ip);
regs             1481 arch/x86/events/intel/ds.c static void adaptive_pebs_save_regs(struct pt_regs *regs,
regs             1484 arch/x86/events/intel/ds.c 	regs->ax = gprs->ax;
regs             1485 arch/x86/events/intel/ds.c 	regs->bx = gprs->bx;
regs             1486 arch/x86/events/intel/ds.c 	regs->cx = gprs->cx;
regs             1487 arch/x86/events/intel/ds.c 	regs->dx = gprs->dx;
regs             1488 arch/x86/events/intel/ds.c 	regs->si = gprs->si;
regs             1489 arch/x86/events/intel/ds.c 	regs->di = gprs->di;
regs             1490 arch/x86/events/intel/ds.c 	regs->bp = gprs->bp;
regs             1491 arch/x86/events/intel/ds.c 	regs->sp = gprs->sp;
regs             1493 arch/x86/events/intel/ds.c 	regs->r8 = gprs->r8;
regs             1494 arch/x86/events/intel/ds.c 	regs->r9 = gprs->r9;
regs             1495 arch/x86/events/intel/ds.c 	regs->r10 = gprs->r10;
regs             1496 arch/x86/events/intel/ds.c 	regs->r11 = gprs->r11;
regs             1497 arch/x86/events/intel/ds.c 	regs->r12 = gprs->r12;
regs             1498 arch/x86/events/intel/ds.c 	regs->r13 = gprs->r13;
regs             1499 arch/x86/events/intel/ds.c 	regs->r14 = gprs->r14;
regs             1500 arch/x86/events/intel/ds.c 	regs->r15 = gprs->r15;
regs             1511 arch/x86/events/intel/ds.c 					    struct pt_regs *regs)
regs             1525 arch/x86/events/intel/ds.c 	perf_regs = container_of(regs, struct x86_perf_regs, regs);
regs             1545 arch/x86/events/intel/ds.c 	*regs = *iregs;
regs             1547 arch/x86/events/intel/ds.c 	set_linear_ip(regs, basic->ip);
regs             1548 arch/x86/events/intel/ds.c 	regs->flags = PERF_EFLAGS_EXACT;
regs             1565 arch/x86/events/intel/ds.c 			set_linear_ip(regs, gprs->ip);
regs             1566 arch/x86/events/intel/ds.c 			regs->flags &= ~PERF_EFLAGS_EXACT;
regs             1570 arch/x86/events/intel/ds.c 			adaptive_pebs_save_regs(regs, gprs);
regs             1737 arch/x86/events/intel/ds.c 	struct pt_regs *regs = &perf_regs.regs;
regs             1752 arch/x86/events/intel/ds.c 		setup_sample(event, iregs, at, &data, regs);
regs             1753 arch/x86/events/intel/ds.c 		perf_event_output(event, &data, regs);
regs             1759 arch/x86/events/intel/ds.c 	setup_sample(event, iregs, at, &data, regs);
regs             1765 arch/x86/events/intel/ds.c 	if (perf_event_overflow(event, &data, regs)) {
regs              213 arch/x86/events/intel/knc.c static int knc_pmu_handle_irq(struct pt_regs *regs)
regs              255 arch/x86/events/intel/knc.c 		if (perf_event_overflow(event, &data, regs))
regs              998 arch/x86/events/intel/p4.c static int p4_pmu_handle_irq(struct pt_regs *regs)
regs             1040 arch/x86/events/intel/p4.c 		if (perf_event_overflow(event, &data, regs))
regs              148 arch/x86/events/perf_event.h 	struct er_account       regs[EXTRA_REG_MAX];
regs              665 arch/x86/events/perf_event.h 	void		(*drain_pebs)(struct pt_regs *regs);
regs              862 arch/x86/events/perf_event.h int x86_pmu_handle_irq(struct pt_regs *regs);
regs              889 arch/x86/events/perf_event.h static inline void set_linear_ip(struct pt_regs *regs, unsigned long ip)
regs              891 arch/x86/events/perf_event.h 	regs->cs = kernel_ip(ip) ? __KERNEL_CS : __USER_CS;
regs              892 arch/x86/events/perf_event.h 	if (regs->flags & X86_VM_MASK)
regs              893 arch/x86/events/perf_event.h 		regs->flags ^= (PERF_EFLAGS_VM | X86_VM_MASK);
regs              894 arch/x86/events/perf_event.h 	regs->ip = ip;
regs              142 arch/x86/hyperv/hv_init.c __visible void __irq_entry hyperv_reenlightenment_intr(struct pt_regs *regs)
regs              358 arch/x86/hyperv/hv_init.c void hyperv_report_panic(struct pt_regs *regs, long err, bool in_die)
regs              379 arch/x86/hyperv/hv_init.c 	wrmsrl(HV_X64_MSR_CRASH_P2, regs->ip);
regs              380 arch/x86/hyperv/hv_init.c 	wrmsrl(HV_X64_MSR_CRASH_P3, regs->ax);
regs              381 arch/x86/hyperv/hv_init.c 	wrmsrl(HV_X64_MSR_CRASH_P4, regs->sp);
regs              108 arch/x86/ia32/ia32_aout.c 	struct pt_regs *regs = current_pt_regs();
regs              144 arch/x86/ia32/ia32_aout.c 	regs->cs = __USER32_CS;
regs              145 arch/x86/ia32/ia32_aout.c 	regs->r8 = regs->r9 = regs->r10 = regs->r11 = regs->r12 =
regs              146 arch/x86/ia32/ia32_aout.c 		regs->r13 = regs->r14 = regs->r15 = 0;
regs              238 arch/x86/ia32/ia32_aout.c 	(regs)->ip = ex.a_entry;
regs              239 arch/x86/ia32/ia32_aout.c 	(regs)->sp = current->mm->start_stack;
regs              240 arch/x86/ia32/ia32_aout.c 	(regs)->flags = 0x200;
regs              241 arch/x86/ia32/ia32_aout.c 	(regs)->cs = __USER32_CS;
regs              242 arch/x86/ia32/ia32_aout.c 	(regs)->ss = __USER32_DS;
regs              243 arch/x86/ia32/ia32_aout.c 	regs->r8 = regs->r9 = regs->r10 = regs->r11 =
regs              244 arch/x86/ia32/ia32_aout.c 	regs->r12 = regs->r13 = regs->r14 = regs->r15 = 0;
regs               51 arch/x86/ia32/ia32_signal.c 	get_user_ex(regs->x, &sc->x);		\
regs               61 arch/x86/ia32/ia32_signal.c 	regs->seg = GET_SEG(seg) | 3;			\
regs               71 arch/x86/ia32/ia32_signal.c static int ia32_restore_sigcontext(struct pt_regs *regs,
regs               96 arch/x86/ia32/ia32_signal.c 		regs->flags = (regs->flags & ~FIX_EFLAGS) | (tmpflags & FIX_EFLAGS);
regs               98 arch/x86/ia32/ia32_signal.c 		regs->orig_ax = -1;
regs              124 arch/x86/ia32/ia32_signal.c 	struct pt_regs *regs = current_pt_regs();
regs              125 arch/x86/ia32/ia32_signal.c 	struct sigframe_ia32 __user *frame = (struct sigframe_ia32 __user *)(regs->sp-8);
regs              139 arch/x86/ia32/ia32_signal.c 	if (ia32_restore_sigcontext(regs, &frame->sc))
regs              141 arch/x86/ia32/ia32_signal.c 	return regs->ax;
regs              144 arch/x86/ia32/ia32_signal.c 	signal_fault(regs, frame, "32bit sigreturn");
regs              150 arch/x86/ia32/ia32_signal.c 	struct pt_regs *regs = current_pt_regs();
regs              154 arch/x86/ia32/ia32_signal.c 	frame = (struct rt_sigframe_ia32 __user *)(regs->sp - 4);
regs              163 arch/x86/ia32/ia32_signal.c 	if (ia32_restore_sigcontext(regs, &frame->uc.uc_mcontext))
regs              169 arch/x86/ia32/ia32_signal.c 	return regs->ax;
regs              172 arch/x86/ia32/ia32_signal.c 	signal_fault(regs, frame, "32bit rt sigreturn");
regs              182 arch/x86/ia32/ia32_signal.c 				 struct pt_regs *regs, unsigned int mask)
regs              192 arch/x86/ia32/ia32_signal.c 		put_user_ex(regs->di, &sc->di);
regs              193 arch/x86/ia32/ia32_signal.c 		put_user_ex(regs->si, &sc->si);
regs              194 arch/x86/ia32/ia32_signal.c 		put_user_ex(regs->bp, &sc->bp);
regs              195 arch/x86/ia32/ia32_signal.c 		put_user_ex(regs->sp, &sc->sp);
regs              196 arch/x86/ia32/ia32_signal.c 		put_user_ex(regs->bx, &sc->bx);
regs              197 arch/x86/ia32/ia32_signal.c 		put_user_ex(regs->dx, &sc->dx);
regs              198 arch/x86/ia32/ia32_signal.c 		put_user_ex(regs->cx, &sc->cx);
regs              199 arch/x86/ia32/ia32_signal.c 		put_user_ex(regs->ax, &sc->ax);
regs              202 arch/x86/ia32/ia32_signal.c 		put_user_ex(regs->ip, &sc->ip);
regs              203 arch/x86/ia32/ia32_signal.c 		put_user_ex(regs->cs, (unsigned int __user *)&sc->cs);
regs              204 arch/x86/ia32/ia32_signal.c 		put_user_ex(regs->flags, &sc->flags);
regs              205 arch/x86/ia32/ia32_signal.c 		put_user_ex(regs->sp, &sc->sp_at_signal);
regs              206 arch/x86/ia32/ia32_signal.c 		put_user_ex(regs->ss, (unsigned int __user *)&sc->ss);
regs              221 arch/x86/ia32/ia32_signal.c static void __user *get_sigframe(struct ksignal *ksig, struct pt_regs *regs,
regs              228 arch/x86/ia32/ia32_signal.c 	sp = regs->sp;
regs              234 arch/x86/ia32/ia32_signal.c 	else if (regs->ss != __USER32_DS &&
regs              253 arch/x86/ia32/ia32_signal.c 		     compat_sigset_t *set, struct pt_regs *regs)
regs              271 arch/x86/ia32/ia32_signal.c 	frame = get_sigframe(ksig, regs, sizeof(*frame), &fpstate);
regs              279 arch/x86/ia32/ia32_signal.c 	if (ia32_setup_sigcontext(&frame->sc, fpstate, regs, set->sig[0]))
regs              313 arch/x86/ia32/ia32_signal.c 	regs->sp = (unsigned long) frame;
regs              314 arch/x86/ia32/ia32_signal.c 	regs->ip = (unsigned long) ksig->ka.sa.sa_handler;
regs              317 arch/x86/ia32/ia32_signal.c 	regs->ax = sig;
regs              318 arch/x86/ia32/ia32_signal.c 	regs->dx = 0;
regs              319 arch/x86/ia32/ia32_signal.c 	regs->cx = 0;
regs              324 arch/x86/ia32/ia32_signal.c 	regs->cs = __USER32_CS;
regs              325 arch/x86/ia32/ia32_signal.c 	regs->ss = __USER32_DS;
regs              331 arch/x86/ia32/ia32_signal.c 			compat_sigset_t *set, struct pt_regs *regs)
regs              351 arch/x86/ia32/ia32_signal.c 	frame = get_sigframe(ksig, regs, sizeof(*frame), &fpstate);
regs              367 arch/x86/ia32/ia32_signal.c 		compat_save_altstack_ex(&frame->uc.uc_stack, regs->sp);
regs              385 arch/x86/ia32/ia32_signal.c 				     regs, set->sig[0]);
regs              392 arch/x86/ia32/ia32_signal.c 	regs->sp = (unsigned long) frame;
regs              393 arch/x86/ia32/ia32_signal.c 	regs->ip = (unsigned long) ksig->ka.sa.sa_handler;
regs              396 arch/x86/ia32/ia32_signal.c 	regs->ax = sig;
regs              397 arch/x86/ia32/ia32_signal.c 	regs->dx = (unsigned long) &frame->info;
regs              398 arch/x86/ia32/ia32_signal.c 	regs->cx = (unsigned long) &frame->uc;
regs              403 arch/x86/ia32/ia32_signal.c 	regs->cs = __USER32_CS;
regs              404 arch/x86/ia32/ia32_signal.c 	regs->ss = __USER32_DS;
regs               10 arch/x86/include/asm/acrn.h extern void acrn_hv_vector_handler(struct pt_regs *regs);
regs              121 arch/x86/include/asm/elf.h #define ELF_CORE_COPY_REGS_COMMON(pr_reg, regs)	\
regs              123 arch/x86/include/asm/elf.h 	pr_reg[0] = regs->bx;			\
regs              124 arch/x86/include/asm/elf.h 	pr_reg[1] = regs->cx;			\
regs              125 arch/x86/include/asm/elf.h 	pr_reg[2] = regs->dx;			\
regs              126 arch/x86/include/asm/elf.h 	pr_reg[3] = regs->si;			\
regs              127 arch/x86/include/asm/elf.h 	pr_reg[4] = regs->di;			\
regs              128 arch/x86/include/asm/elf.h 	pr_reg[5] = regs->bp;			\
regs              129 arch/x86/include/asm/elf.h 	pr_reg[6] = regs->ax;			\
regs              130 arch/x86/include/asm/elf.h 	pr_reg[7] = regs->ds;			\
regs              131 arch/x86/include/asm/elf.h 	pr_reg[8] = regs->es;			\
regs              132 arch/x86/include/asm/elf.h 	pr_reg[9] = regs->fs;			\
regs              133 arch/x86/include/asm/elf.h 	pr_reg[11] = regs->orig_ax;		\
regs              134 arch/x86/include/asm/elf.h 	pr_reg[12] = regs->ip;			\
regs              135 arch/x86/include/asm/elf.h 	pr_reg[13] = regs->cs;			\
regs              136 arch/x86/include/asm/elf.h 	pr_reg[14] = regs->flags;		\
regs              137 arch/x86/include/asm/elf.h 	pr_reg[15] = regs->sp;			\
regs              138 arch/x86/include/asm/elf.h 	pr_reg[16] = regs->ss;			\
regs              141 arch/x86/include/asm/elf.h #define ELF_CORE_COPY_REGS(pr_reg, regs)	\
regs              143 arch/x86/include/asm/elf.h 	ELF_CORE_COPY_REGS_COMMON(pr_reg, regs);\
regs              144 arch/x86/include/asm/elf.h 	pr_reg[10] = get_user_gs(regs);		\
regs              147 arch/x86/include/asm/elf.h #define ELF_CORE_COPY_KERNEL_REGS(pr_reg, regs)	\
regs              149 arch/x86/include/asm/elf.h 	ELF_CORE_COPY_REGS_COMMON(pr_reg, regs);\
regs              173 arch/x86/include/asm/elf.h 				   struct pt_regs *regs, const u16 ds)
regs              176 arch/x86/include/asm/elf.h 	/*regs->ax = */ regs->bx = regs->cx = regs->dx = 0;
regs              177 arch/x86/include/asm/elf.h 	regs->si = regs->di = regs->bp = 0;
regs              178 arch/x86/include/asm/elf.h 	regs->r8 = regs->r9 = regs->r10 = regs->r11 = 0;
regs              179 arch/x86/include/asm/elf.h 	regs->r12 = regs->r13 = regs->r14 = regs->r15 = 0;
regs              188 arch/x86/include/asm/elf.h #define	COMPAT_ELF_PLAT_INIT(regs, load_addr)		\
regs              189 arch/x86/include/asm/elf.h 	elf_common_init(&current->thread, regs, __USER_DS)
regs              191 arch/x86/include/asm/elf.h void compat_start_thread(struct pt_regs *regs, u32 new_ip, u32 new_sp);
regs              206 arch/x86/include/asm/elf.h #define ELF_CORE_COPY_REGS(pr_reg, regs)			\
regs              209 arch/x86/include/asm/elf.h 	(pr_reg)[0] = (regs)->r15;				\
regs              210 arch/x86/include/asm/elf.h 	(pr_reg)[1] = (regs)->r14;				\
regs              211 arch/x86/include/asm/elf.h 	(pr_reg)[2] = (regs)->r13;				\
regs              212 arch/x86/include/asm/elf.h 	(pr_reg)[3] = (regs)->r12;				\
regs              213 arch/x86/include/asm/elf.h 	(pr_reg)[4] = (regs)->bp;				\
regs              214 arch/x86/include/asm/elf.h 	(pr_reg)[5] = (regs)->bx;				\
regs              215 arch/x86/include/asm/elf.h 	(pr_reg)[6] = (regs)->r11;				\
regs              216 arch/x86/include/asm/elf.h 	(pr_reg)[7] = (regs)->r10;				\
regs              217 arch/x86/include/asm/elf.h 	(pr_reg)[8] = (regs)->r9;				\
regs              218 arch/x86/include/asm/elf.h 	(pr_reg)[9] = (regs)->r8;				\
regs              219 arch/x86/include/asm/elf.h 	(pr_reg)[10] = (regs)->ax;				\
regs              220 arch/x86/include/asm/elf.h 	(pr_reg)[11] = (regs)->cx;				\
regs              221 arch/x86/include/asm/elf.h 	(pr_reg)[12] = (regs)->dx;				\
regs              222 arch/x86/include/asm/elf.h 	(pr_reg)[13] = (regs)->si;				\
regs              223 arch/x86/include/asm/elf.h 	(pr_reg)[14] = (regs)->di;				\
regs              224 arch/x86/include/asm/elf.h 	(pr_reg)[15] = (regs)->orig_ax;				\
regs              225 arch/x86/include/asm/elf.h 	(pr_reg)[16] = (regs)->ip;				\
regs              226 arch/x86/include/asm/elf.h 	(pr_reg)[17] = (regs)->cs;				\
regs              227 arch/x86/include/asm/elf.h 	(pr_reg)[18] = (regs)->flags;				\
regs              228 arch/x86/include/asm/elf.h 	(pr_reg)[19] = (regs)->sp;				\
regs              229 arch/x86/include/asm/elf.h 	(pr_reg)[20] = (regs)->ss;				\
regs               32 arch/x86/include/asm/extable.h extern int fixup_exception(struct pt_regs *regs, int trapnr,
regs               34 arch/x86/include/asm/extable.h extern int fixup_bug(struct pt_regs *regs, int trapnr);
regs               36 arch/x86/include/asm/extable.h extern void early_fixup_exception(struct pt_regs *regs, int trapnr);
regs               13 arch/x86/include/asm/fpu/signal.h 			compat_sigset_t *set, struct pt_regs *regs);
regs               15 arch/x86/include/asm/fpu/signal.h 		     compat_sigset_t *set, struct pt_regs *regs);
regs               37 arch/x86/include/asm/ftrace.h int ftrace_int3_handler(struct pt_regs *regs);
regs               74 arch/x86/include/asm/ftrace.h static inline bool arch_trace_is_compat_syscall(struct pt_regs *regs)
regs               18 arch/x86/include/asm/insn-eval.h void __user *insn_get_addr_ref(struct insn *insn, struct pt_regs *regs);
regs               19 arch/x86/include/asm/insn-eval.h int insn_get_modrm_rm_off(struct insn *insn, struct pt_regs *regs);
regs               20 arch/x86/include/asm/insn-eval.h unsigned long insn_get_seg_base(struct pt_regs *regs, int seg_reg_idx);
regs               21 arch/x86/include/asm/insn-eval.h int insn_get_code_seg_params(struct pt_regs *regs);
regs               29 arch/x86/include/asm/irq.h extern __visible void smp_kvm_posted_intr_ipi(struct pt_regs *regs);
regs               30 arch/x86/include/asm/irq.h extern __visible void smp_kvm_posted_intr_wakeup_ipi(struct pt_regs *regs);
regs               31 arch/x86/include/asm/irq.h extern __visible void smp_kvm_posted_intr_nested_ipi(struct pt_regs *regs);
regs               37 arch/x86/include/asm/irq.h extern void handle_irq(struct irq_desc *desc, struct pt_regs *regs);
regs               39 arch/x86/include/asm/irq.h extern __visible unsigned int do_IRQ(struct pt_regs *regs);
regs               49 arch/x86/include/asm/irq.h extern __visible void smp_x86_platform_ipi(struct pt_regs *regs);
regs               13 arch/x86/include/asm/irq_work.h extern __visible void smp_irq_work_interrupt(struct pt_regs *regs);
regs               37 arch/x86/include/asm/kdebug.h extern void show_stack_regs(struct pt_regs *regs);
regs               38 arch/x86/include/asm/kdebug.h extern void __show_regs(struct pt_regs *regs, enum show_regs_mode);
regs               39 arch/x86/include/asm/kdebug.h extern void show_iret_regs(struct pt_regs *regs);
regs               90 arch/x86/include/asm/kgdb.h 			struct pt_regs *regs, long err, int trap, int sig);
regs               57 arch/x86/include/asm/kprobes.h extern void arch_kprobe_override_function(struct pt_regs *regs);
regs              104 arch/x86/include/asm/kprobes.h extern int kprobe_fault_handler(struct pt_regs *regs, int trapnr);
regs              107 arch/x86/include/asm/kprobes.h extern int kprobe_int3_handler(struct pt_regs *regs);
regs              108 arch/x86/include/asm/kprobes.h extern int kprobe_debug_handler(struct pt_regs *regs);
regs              542 arch/x86/include/asm/kvm_host.h 	unsigned long regs[NR_VCPU_REGS];
regs               95 arch/x86/include/asm/kvm_para.h void do_async_page_fault(struct pt_regs *regs, unsigned long error_code, unsigned long address);
regs               15 arch/x86/include/asm/livepatch.h static inline void klp_arch_set_pc(struct pt_regs *regs, unsigned long ip)
regs               17 arch/x86/include/asm/livepatch.h 	regs->ip = ip;
regs               13 arch/x86/include/asm/math_emu.h 	struct pt_regs *regs;
regs               68 arch/x86/include/asm/mpx.h extern int mpx_fault_info(struct mpx_fault_info *info, struct pt_regs *regs);
regs               89 arch/x86/include/asm/mpx.h static inline int mpx_fault_info(struct mpx_fault_info *info, struct pt_regs *regs)
regs               57 arch/x86/include/asm/mshyperv.h void hyperv_vector_handler(struct pt_regs *regs);
regs               63 arch/x86/include/asm/mshyperv.h void hv_stimer0_vector_handler(struct pt_regs *regs);
regs              223 arch/x86/include/asm/mshyperv.h void hyperv_reenlightenment_intr(struct pt_regs *regs);
regs               32 arch/x86/include/asm/msr.h 	u32 *regs;
regs              189 arch/x86/include/asm/msr.h extern int rdmsr_safe_regs(u32 regs[8]);
regs              190 arch/x86/include/asm/msr.h extern int wrmsr_safe_regs(u32 regs[8]);
regs              349 arch/x86/include/asm/msr.h int rdmsr_safe_regs_on_cpu(unsigned int cpu, u32 regs[8]);
regs              350 arch/x86/include/asm/msr.h int wrmsr_safe_regs_on_cpu(unsigned int cpu, u32 regs[8]);
regs              399 arch/x86/include/asm/msr.h static inline int rdmsr_safe_regs_on_cpu(unsigned int cpu, u32 regs[8])
regs              401 arch/x86/include/asm/msr.h 	return rdmsr_safe_regs(regs);
regs              403 arch/x86/include/asm/msr.h static inline int wrmsr_safe_regs_on_cpu(unsigned int cpu, u32 regs[8])
regs              405 arch/x86/include/asm/msr.h 	return wrmsr_safe_regs(regs);
regs              299 arch/x86/include/asm/perf_event.h 	struct pt_regs	regs;
regs              303 arch/x86/include/asm/perf_event.h extern unsigned long perf_instruction_pointer(struct pt_regs *regs);
regs              304 arch/x86/include/asm/perf_event.h extern unsigned long perf_misc_flags(struct pt_regs *regs);
regs              305 arch/x86/include/asm/perf_event.h #define perf_misc_flags(regs)	perf_misc_flags(regs)
regs              313 arch/x86/include/asm/perf_event.h #define perf_arch_fetch_caller_regs(regs, __ip)		{	\
regs              314 arch/x86/include/asm/perf_event.h 	(regs)->ip = (__ip);					\
regs              315 arch/x86/include/asm/perf_event.h 	(regs)->sp = (unsigned long)__builtin_frame_address(0);	\
regs              316 arch/x86/include/asm/perf_event.h 	(regs)->cs = __KERNEL_CS;				\
regs              317 arch/x86/include/asm/perf_event.h 	regs->flags = 0;					\
regs              897 arch/x86/include/asm/processor.h extern void start_thread(struct pt_regs *regs, unsigned long new_ip,
regs              971 arch/x86/include/asm/processor.h void df_debug(struct pt_regs *regs, long error_code);
regs              100 arch/x86/include/asm/ptrace.h extern unsigned long profile_pc(struct pt_regs *regs);
regs              103 arch/x86/include/asm/ptrace.h convert_ip_to_linear(struct task_struct *child, struct pt_regs *regs);
regs              104 arch/x86/include/asm/ptrace.h extern void send_sigtrap(struct pt_regs *regs, int error_code, int si_code);
regs              107 arch/x86/include/asm/ptrace.h static inline unsigned long regs_return_value(struct pt_regs *regs)
regs              109 arch/x86/include/asm/ptrace.h 	return regs->ax;
regs              112 arch/x86/include/asm/ptrace.h static inline void regs_set_return_value(struct pt_regs *regs, unsigned long rc)
regs              114 arch/x86/include/asm/ptrace.h 	regs->ax = rc;
regs              126 arch/x86/include/asm/ptrace.h static inline int user_mode(struct pt_regs *regs)
regs              129 arch/x86/include/asm/ptrace.h 	return ((regs->cs & SEGMENT_RPL_MASK) | (regs->flags & X86_VM_MASK)) >= USER_RPL;
regs              131 arch/x86/include/asm/ptrace.h 	return !!(regs->cs & 3);
regs              135 arch/x86/include/asm/ptrace.h static inline int v8086_mode(struct pt_regs *regs)
regs              138 arch/x86/include/asm/ptrace.h 	return (regs->flags & X86_VM_MASK);
regs              144 arch/x86/include/asm/ptrace.h static inline bool user_64bit_mode(struct pt_regs *regs)
regs              152 arch/x86/include/asm/ptrace.h 	return regs->cs == __USER_CS;
regs              155 arch/x86/include/asm/ptrace.h 	return regs->cs == __USER_CS || regs->cs == pv_info.extra_user_64bit_cs;
regs              167 arch/x86/include/asm/ptrace.h static inline unsigned long kernel_stack_pointer(struct pt_regs *regs)
regs              169 arch/x86/include/asm/ptrace.h 	return regs->sp;
regs              172 arch/x86/include/asm/ptrace.h static inline unsigned long instruction_pointer(struct pt_regs *regs)
regs              174 arch/x86/include/asm/ptrace.h 	return regs->ip;
regs              177 arch/x86/include/asm/ptrace.h static inline void instruction_pointer_set(struct pt_regs *regs,
regs              180 arch/x86/include/asm/ptrace.h 	regs->ip = val;
regs              183 arch/x86/include/asm/ptrace.h static inline unsigned long frame_pointer(struct pt_regs *regs)
regs              185 arch/x86/include/asm/ptrace.h 	return regs->bp;
regs              188 arch/x86/include/asm/ptrace.h static inline unsigned long user_stack_pointer(struct pt_regs *regs)
regs              190 arch/x86/include/asm/ptrace.h 	return regs->sp;
regs              193 arch/x86/include/asm/ptrace.h static inline void user_stack_pointer_set(struct pt_regs *regs,
regs              196 arch/x86/include/asm/ptrace.h 	regs->sp = val;
regs              213 arch/x86/include/asm/ptrace.h static inline unsigned long regs_get_register(struct pt_regs *regs,
regs              226 arch/x86/include/asm/ptrace.h 		return *(u16 *)((unsigned long)regs + offset);
regs              230 arch/x86/include/asm/ptrace.h 	return *(unsigned long *)((unsigned long)regs + offset);
regs              241 arch/x86/include/asm/ptrace.h static inline int regs_within_kernel_stack(struct pt_regs *regs,
regs              244 arch/x86/include/asm/ptrace.h 	return ((addr & ~(THREAD_SIZE - 1)) == (regs->sp & ~(THREAD_SIZE - 1)));
regs              256 arch/x86/include/asm/ptrace.h static inline unsigned long *regs_get_kernel_stack_nth_addr(struct pt_regs *regs, unsigned int n)
regs              258 arch/x86/include/asm/ptrace.h 	unsigned long *addr = (unsigned long *)regs->sp;
regs              261 arch/x86/include/asm/ptrace.h 	if (regs_within_kernel_stack(regs, (unsigned long)addr))
regs              279 arch/x86/include/asm/ptrace.h static inline unsigned long regs_get_kernel_stack_nth(struct pt_regs *regs,
regs              286 arch/x86/include/asm/ptrace.h 	addr = regs_get_kernel_stack_nth_addr(regs, n);
regs              306 arch/x86/include/asm/ptrace.h static inline unsigned long regs_get_kernel_argument(struct pt_regs *regs,
regs              328 arch/x86/include/asm/ptrace.h 		return regs_get_kernel_stack_nth(regs, n);
regs              330 arch/x86/include/asm/ptrace.h 		return regs_get_register(regs, argument_offs[n]);
regs               21 arch/x86/include/asm/reboot.h void native_machine_crash_shutdown(struct pt_regs *regs);
regs               29 arch/x86/include/asm/reboot.h void nmi_panic_self_stop(struct pt_regs *regs);
regs               31 arch/x86/include/asm/reboot.h void run_crash_ipi_callback(struct pt_regs *regs);
regs              375 arch/x86/include/asm/segment.h #  define get_user_gs(regs)		(u16)({ unsigned long v; savesegment(gs, v); v; })
regs              376 arch/x86/include/asm/segment.h #  define set_user_gs(regs, v)		loadsegment(gs, (unsigned long)(v))
regs              381 arch/x86/include/asm/segment.h #  define get_user_gs(regs)		(u16)((regs)->gs)
regs              382 arch/x86/include/asm/segment.h #  define set_user_gs(regs, v)		do { (regs)->gs = (v); } while (0)
regs               16 arch/x86/include/asm/sighandling.h void signal_fault(struct pt_regs *regs, void __user *frame, char *where);
regs               18 arch/x86/include/asm/sighandling.h 		     struct pt_regs *regs, unsigned long mask);
regs               38 arch/x86/include/asm/signal.h extern void do_signal(struct pt_regs *regs);
regs              155 arch/x86/include/asm/smp.h __visible void smp_reschedule_interrupt(struct pt_regs *regs);
regs              156 arch/x86/include/asm/smp.h __visible void smp_call_function_interrupt(struct pt_regs *regs);
regs               59 arch/x86/include/asm/stacktrace.h get_frame_pointer(struct task_struct *task, struct pt_regs *regs)
regs               61 arch/x86/include/asm/stacktrace.h 	if (regs)
regs               62 arch/x86/include/asm/stacktrace.h 		return (unsigned long *)regs->bp;
regs               71 arch/x86/include/asm/stacktrace.h get_frame_pointer(struct task_struct *task, struct pt_regs *regs)
regs               78 arch/x86/include/asm/stacktrace.h get_stack_pointer(struct task_struct *task, struct pt_regs *regs)
regs               80 arch/x86/include/asm/stacktrace.h 	if (regs)
regs               81 arch/x86/include/asm/stacktrace.h 		return (unsigned long *)regs->sp;
regs               89 arch/x86/include/asm/stacktrace.h void show_trace_log_lvl(struct task_struct *task, struct pt_regs *regs,
regs              103 arch/x86/include/asm/stacktrace.h void show_opcodes(struct pt_regs *regs, const char *loglvl);
regs              104 arch/x86/include/asm/stacktrace.h void show_ip(struct pt_regs *regs, const char *loglvl);
regs               22 arch/x86/include/asm/suspend_64.h 	struct pt_regs regs;
regs               65 arch/x86/include/asm/switch_to.h 	struct pt_regs regs;
regs               48 arch/x86/include/asm/syscall.h static inline int syscall_get_nr(struct task_struct *task, struct pt_regs *regs)
regs               50 arch/x86/include/asm/syscall.h 	return regs->orig_ax;
regs               54 arch/x86/include/asm/syscall.h 				    struct pt_regs *regs)
regs               56 arch/x86/include/asm/syscall.h 	regs->ax = regs->orig_ax;
regs               60 arch/x86/include/asm/syscall.h 				     struct pt_regs *regs)
regs               62 arch/x86/include/asm/syscall.h 	unsigned long error = regs->ax;
regs               79 arch/x86/include/asm/syscall.h 					    struct pt_regs *regs)
regs               81 arch/x86/include/asm/syscall.h 	return regs->ax;
regs               85 arch/x86/include/asm/syscall.h 					    struct pt_regs *regs,
regs               88 arch/x86/include/asm/syscall.h 	regs->ax = (long) error ?: val;
regs               94 arch/x86/include/asm/syscall.h 					 struct pt_regs *regs,
regs               97 arch/x86/include/asm/syscall.h 	memcpy(args, &regs->bx, 6 * sizeof(args[0]));
regs              101 arch/x86/include/asm/syscall.h 					 struct pt_regs *regs,
regs              106 arch/x86/include/asm/syscall.h 	memcpy(&regs->bx + i, args, n * sizeof(args[0]));
regs              117 arch/x86/include/asm/syscall.h 					 struct pt_regs *regs,
regs              122 arch/x86/include/asm/syscall.h 		*args++ = regs->bx;
regs              123 arch/x86/include/asm/syscall.h 		*args++ = regs->cx;
regs              124 arch/x86/include/asm/syscall.h 		*args++ = regs->dx;
regs              125 arch/x86/include/asm/syscall.h 		*args++ = regs->si;
regs              126 arch/x86/include/asm/syscall.h 		*args++ = regs->di;
regs              127 arch/x86/include/asm/syscall.h 		*args   = regs->bp;
regs              131 arch/x86/include/asm/syscall.h 		*args++ = regs->di;
regs              132 arch/x86/include/asm/syscall.h 		*args++ = regs->si;
regs              133 arch/x86/include/asm/syscall.h 		*args++ = regs->dx;
regs              134 arch/x86/include/asm/syscall.h 		*args++ = regs->r10;
regs              135 arch/x86/include/asm/syscall.h 		*args++ = regs->r8;
regs              136 arch/x86/include/asm/syscall.h 		*args   = regs->r9;
regs              141 arch/x86/include/asm/syscall.h 					 struct pt_regs *regs,
regs              146 arch/x86/include/asm/syscall.h 		regs->bx = *args++;
regs              147 arch/x86/include/asm/syscall.h 		regs->cx = *args++;
regs              148 arch/x86/include/asm/syscall.h 		regs->dx = *args++;
regs              149 arch/x86/include/asm/syscall.h 		regs->si = *args++;
regs              150 arch/x86/include/asm/syscall.h 		regs->di = *args++;
regs              151 arch/x86/include/asm/syscall.h 		regs->bp = *args;
regs              155 arch/x86/include/asm/syscall.h 		regs->di = *args++;
regs              156 arch/x86/include/asm/syscall.h 		regs->si = *args++;
regs              157 arch/x86/include/asm/syscall.h 		regs->dx = *args++;
regs              158 arch/x86/include/asm/syscall.h 		regs->r10 = *args++;
regs              159 arch/x86/include/asm/syscall.h 		regs->r8 = *args++;
regs              160 arch/x86/include/asm/syscall.h 		regs->r9 = *args;
regs               14 arch/x86/include/asm/syscall_wrapper.h 		,,regs->di,,regs->si,,regs->dx				\
regs               15 arch/x86/include/asm/syscall_wrapper.h 		,,regs->r10,,regs->r8,,regs->r9)			\
regs               20 arch/x86/include/asm/syscall_wrapper.h 	      ,,(unsigned int)regs->bx,,(unsigned int)regs->cx		\
regs               21 arch/x86/include/asm/syscall_wrapper.h 	      ,,(unsigned int)regs->dx,,(unsigned int)regs->si		\
regs               22 arch/x86/include/asm/syscall_wrapper.h 	      ,,(unsigned int)regs->di,,(unsigned int)regs->bp)
regs               34 arch/x86/include/asm/syscall_wrapper.h 	asmlinkage long __ia32_compat_sys_##name(const struct pt_regs *regs);\
regs               36 arch/x86/include/asm/syscall_wrapper.h 	asmlinkage long __ia32_compat_sys_##name(const struct pt_regs *regs)\
regs               42 arch/x86/include/asm/syscall_wrapper.h 	asmlinkage long __ia32_compat_sys##name(const struct pt_regs *regs);\
regs               44 arch/x86/include/asm/syscall_wrapper.h 	asmlinkage long __ia32_compat_sys##name(const struct pt_regs *regs)\
regs               50 arch/x86/include/asm/syscall_wrapper.h 	asmlinkage long __ia32_sys##name(const struct pt_regs *regs);	\
regs               52 arch/x86/include/asm/syscall_wrapper.h 	asmlinkage long __ia32_sys##name(const struct pt_regs *regs)	\
regs               96 arch/x86/include/asm/syscall_wrapper.h 	asmlinkage long __x32_compat_sys_##name(const struct pt_regs *regs);\
regs               98 arch/x86/include/asm/syscall_wrapper.h 	asmlinkage long __x32_compat_sys_##name(const struct pt_regs *regs)\
regs              104 arch/x86/include/asm/syscall_wrapper.h 	asmlinkage long __x32_compat_sys##name(const struct pt_regs *regs);\
regs              106 arch/x86/include/asm/syscall_wrapper.h 	asmlinkage long __x32_compat_sys##name(const struct pt_regs *regs)\
regs              195 arch/x86/include/asm/syscall_wrapper.h 	asmlinkage long __x64_sys##name(const struct pt_regs *regs);	\
regs              199 arch/x86/include/asm/syscall_wrapper.h 	asmlinkage long __x64_sys##name(const struct pt_regs *regs)	\
regs              245 arch/x86/include/asm/syscall_wrapper.h asmlinkage long __x64_sys_getcpu(const struct pt_regs *regs);
regs              246 arch/x86/include/asm/syscall_wrapper.h asmlinkage long __x64_sys_gettimeofday(const struct pt_regs *regs);
regs              247 arch/x86/include/asm/syscall_wrapper.h asmlinkage long __x64_sys_time(const struct pt_regs *regs);
regs               53 arch/x86/include/asm/text-patching.h extern int poke_int3_handler(struct pt_regs *regs);
regs               61 arch/x86/include/asm/text-patching.h static inline void int3_emulate_jmp(struct pt_regs *regs, unsigned long ip)
regs               63 arch/x86/include/asm/text-patching.h 	regs->ip = ip;
regs               69 arch/x86/include/asm/text-patching.h static inline void int3_emulate_push(struct pt_regs *regs, unsigned long val)
regs               77 arch/x86/include/asm/text-patching.h 	regs->sp -= sizeof(unsigned long);
regs               78 arch/x86/include/asm/text-patching.h 	*(unsigned long *)regs->sp = val;
regs               81 arch/x86/include/asm/text-patching.h static inline void int3_emulate_call(struct pt_regs *regs, unsigned long func)
regs               83 arch/x86/include/asm/text-patching.h 	int3_emulate_push(regs, regs->ip - INT3_INSN_SIZE + CALL_INSN_SIZE);
regs               84 arch/x86/include/asm/text-patching.h 	int3_emulate_jmp(regs, func);
regs               16 arch/x86/include/asm/trace/exceptions.h 	TP_PROTO(unsigned long address, struct pt_regs *regs,
regs               19 arch/x86/include/asm/trace/exceptions.h 	TP_ARGS(address, regs, error_code),
regs               29 arch/x86/include/asm/trace/exceptions.h 		__entry->ip = regs->ip;
regs               39 arch/x86/include/asm/trace/exceptions.h 	TP_PROTO(unsigned long address,	struct pt_regs *regs,	\
regs               41 arch/x86/include/asm/trace/exceptions.h 	TP_ARGS(address, regs, error_code),			\
regs               64 arch/x86/include/asm/traps.h dotraplinkage void do_divide_error(struct pt_regs *regs, long error_code);
regs               65 arch/x86/include/asm/traps.h dotraplinkage void do_debug(struct pt_regs *regs, long error_code);
regs               66 arch/x86/include/asm/traps.h dotraplinkage void do_nmi(struct pt_regs *regs, long error_code);
regs               67 arch/x86/include/asm/traps.h dotraplinkage void do_int3(struct pt_regs *regs, long error_code);
regs               68 arch/x86/include/asm/traps.h dotraplinkage void do_overflow(struct pt_regs *regs, long error_code);
regs               69 arch/x86/include/asm/traps.h dotraplinkage void do_bounds(struct pt_regs *regs, long error_code);
regs               70 arch/x86/include/asm/traps.h dotraplinkage void do_invalid_op(struct pt_regs *regs, long error_code);
regs               71 arch/x86/include/asm/traps.h dotraplinkage void do_device_not_available(struct pt_regs *regs, long error_code);
regs               72 arch/x86/include/asm/traps.h dotraplinkage void do_coprocessor_segment_overrun(struct pt_regs *regs, long error_code);
regs               73 arch/x86/include/asm/traps.h dotraplinkage void do_invalid_TSS(struct pt_regs *regs, long error_code);
regs               74 arch/x86/include/asm/traps.h dotraplinkage void do_segment_not_present(struct pt_regs *regs, long error_code);
regs               75 arch/x86/include/asm/traps.h dotraplinkage void do_stack_segment(struct pt_regs *regs, long error_code);
regs               77 arch/x86/include/asm/traps.h dotraplinkage void do_double_fault(struct pt_regs *regs, long error_code, unsigned long address);
regs               83 arch/x86/include/asm/traps.h dotraplinkage void do_general_protection(struct pt_regs *regs, long error_code);
regs               84 arch/x86/include/asm/traps.h dotraplinkage void do_page_fault(struct pt_regs *regs, unsigned long error_code, unsigned long address);
regs               85 arch/x86/include/asm/traps.h dotraplinkage void do_spurious_interrupt_bug(struct pt_regs *regs, long error_code);
regs               86 arch/x86/include/asm/traps.h dotraplinkage void do_coprocessor_error(struct pt_regs *regs, long error_code);
regs               87 arch/x86/include/asm/traps.h dotraplinkage void do_alignment_check(struct pt_regs *regs, long error_code);
regs               89 arch/x86/include/asm/traps.h dotraplinkage void do_machine_check(struct pt_regs *regs, long error_code);
regs               91 arch/x86/include/asm/traps.h dotraplinkage void do_simd_coprocessor_error(struct pt_regs *regs, long error_code);
regs               93 arch/x86/include/asm/traps.h dotraplinkage void do_iret_error(struct pt_regs *regs, long error_code);
regs               95 arch/x86/include/asm/traps.h dotraplinkage void do_mce(struct pt_regs *regs, long error_code);
regs              111 arch/x86/include/asm/traps.h asmlinkage void smp_thermal_interrupt(struct pt_regs *regs);
regs              112 arch/x86/include/asm/traps.h asmlinkage void smp_threshold_interrupt(struct pt_regs *regs);
regs              113 arch/x86/include/asm/traps.h asmlinkage void smp_deferred_error_interrupt(struct pt_regs *regs);
regs              116 arch/x86/include/asm/traps.h void smp_apic_timer_interrupt(struct pt_regs *regs);
regs              117 arch/x86/include/asm/traps.h void smp_spurious_interrupt(struct pt_regs *regs);
regs              118 arch/x86/include/asm/traps.h void smp_error_interrupt(struct pt_regs *regs);
regs              121 arch/x86/include/asm/traps.h extern void ist_enter(struct pt_regs *regs);
regs              122 arch/x86/include/asm/traps.h extern void ist_exit(struct pt_regs *regs);
regs              123 arch/x86/include/asm/traps.h extern void ist_begin_non_atomic(struct pt_regs *regs);
regs              128 arch/x86/include/asm/traps.h 				      struct pt_regs *regs,
regs                8 arch/x86/include/asm/umip.h bool fixup_umip_exception(struct pt_regs *regs);
regs               10 arch/x86/include/asm/umip.h static inline bool fixup_umip_exception(struct pt_regs *regs) { return false; }
regs               22 arch/x86/include/asm/unwind.h 	struct pt_regs *regs, *prev_regs;
regs               32 arch/x86/include/asm/unwind.h 	struct pt_regs *regs;
regs               39 arch/x86/include/asm/unwind.h 		    struct pt_regs *regs, unsigned long *first_frame);
regs               56 arch/x86/include/asm/unwind.h 		  struct pt_regs *regs, unsigned long *first_frame)
regs               58 arch/x86/include/asm/unwind.h 	first_frame = first_frame ? : get_stack_pointer(task, regs);
regs               60 arch/x86/include/asm/unwind.h 	__unwind_start(state, task, regs, first_frame);
regs               81 arch/x86/include/asm/unwind.h 	return state->regs;
regs               47 arch/x86/include/asm/user32.h   struct user_regs_struct32 regs; /* Where the registers are actually stored */
regs              104 arch/x86/include/asm/user_32.h   struct user_regs_struct regs;	/* Where the registers are actually stored */
regs              106 arch/x86/include/asm/user_64.h   struct user_regs_struct regs;	/* Where the registers are actually stored */
regs               17 arch/x86/include/asm/vsyscall.h 			     struct pt_regs *regs, unsigned long address);
regs               21 arch/x86/include/asm/vsyscall.h 				    struct pt_regs *regs, unsigned long address)
regs               18 arch/x86/include/asm/xen/events.h static inline int xen_irqs_disabled(struct pt_regs *regs)
regs               20 arch/x86/include/asm/xen/events.h 	return raw_irqs_disabled_flags(regs->flags);
regs              265 arch/x86/include/asm/xen/interface.h 	uint64_t regs[];
regs              267 arch/x86/include/asm/xen/interface.h 	uint64_t regs[0];
regs              297 arch/x86/include/asm/xen/interface.h 	uint64_t regs[];
regs              299 arch/x86/include/asm/xen/interface.h 	uint64_t regs[0];
regs              334 arch/x86/include/asm/xen/interface.h 		struct xen_pmu_regs regs;
regs              128 arch/x86/include/uapi/asm/kvm.h 	char regs[KVM_APIC_REG_SIZE];
regs              376 arch/x86/include/uapi/asm/kvm.h 	struct kvm_regs regs;
regs               98 arch/x86/include/uapi/asm/vm86.h 	struct vm86_regs regs;
regs              120 arch/x86/include/uapi/asm/vm86.h 	struct vm86_regs regs;
regs              652 arch/x86/kernel/alternative.c 	struct pt_regs *regs = args->regs;
regs              654 arch/x86/kernel/alternative.c 	if (!regs || user_mode(regs))
regs              660 arch/x86/kernel/alternative.c 	if (regs->ip - INT3_INSN_SIZE != int3_selftest_ip)
regs              663 arch/x86/kernel/alternative.c 	int3_emulate_call(regs, (unsigned long)&int3_magic);
regs              956 arch/x86/kernel/alternative.c int poke_int3_handler(struct pt_regs *regs)
regs              977 arch/x86/kernel/alternative.c 	if (user_mode(regs))
regs              983 arch/x86/kernel/alternative.c 	ip = (void *) regs->ip - sizeof(int3);
regs             1001 arch/x86/kernel/alternative.c 	regs->ip = (unsigned long) tp->detour;
regs             1130 arch/x86/kernel/apic/apic.c __visible void __irq_entry smp_apic_timer_interrupt(struct pt_regs *regs)
regs             1132 arch/x86/kernel/apic/apic.c 	struct pt_regs *old_regs = set_irq_regs(regs);
regs             1530 arch/x86/kernel/apic/apic.c 	u32		regs[APIC_IR_REGS];
regs             1539 arch/x86/kernel/apic/apic.c 		irr->regs[i] = apic_read(APIC_IRR + i * 0x10);
regs             1543 arch/x86/kernel/apic/apic.c 		isr->regs[i] = apic_read(APIC_ISR + i * 0x10);
regs             2165 arch/x86/kernel/apic/apic.c __visible void __irq_entry smp_spurious_interrupt(struct pt_regs *regs)
regs             2167 arch/x86/kernel/apic/apic.c 	u8 vector = ~regs->orig_ax;
regs             2206 arch/x86/kernel/apic/apic.c __visible void __irq_entry smp_error_interrupt(struct pt_regs *regs)
regs               42 arch/x86/kernel/apic/hw_nmi.c static int nmi_cpu_backtrace_handler(unsigned int cmd, struct pt_regs *regs)
regs               44 arch/x86/kernel/apic/hw_nmi.c 	if (nmi_cpu_backtrace(regs))
regs               42 arch/x86/kernel/cpu/acrn.c __visible void __irq_entry acrn_hv_vector_handler(struct pt_regs *regs)
regs               44 arch/x86/kernel/cpu/acrn.c 	struct pt_regs *old_regs = set_irq_regs(regs);
regs              784 arch/x86/kernel/cpu/cacheinfo.c 		unsigned int regs[4];
regs              785 arch/x86/kernel/cpu/cacheinfo.c 		unsigned char *dp = (unsigned char *)regs;
regs              795 arch/x86/kernel/cpu/cacheinfo.c 			cpuid(2, &regs[0], &regs[1], &regs[2], &regs[3]);
regs              799 arch/x86/kernel/cpu/cacheinfo.c 				if (regs[j] & (1 << 31))
regs              800 arch/x86/kernel/cpu/cacheinfo.c 					regs[j] = 0;
regs              945 arch/x86/kernel/cpu/intel.c 	unsigned int regs[4];
regs              946 arch/x86/kernel/cpu/intel.c 	unsigned char *desc = (unsigned char *)regs;
regs              955 arch/x86/kernel/cpu/intel.c 		cpuid(2, &regs[0], &regs[1], &regs[2], &regs[3]);
regs              959 arch/x86/kernel/cpu/intel.c 			if (regs[j] & (1 << 31))
regs              960 arch/x86/kernel/cpu/intel.c 				regs[j] = 0;
regs               56 arch/x86/kernel/cpu/intel_pconfig.c 		struct cpuid_regs regs;
regs               59 arch/x86/kernel/cpu/intel_pconfig.c 				&regs.eax, &regs.ebx, &regs.ecx, &regs.edx);
regs               61 arch/x86/kernel/cpu/intel_pconfig.c 		switch (regs.eax & PCONFIG_CPUID_SUBLEAF_MASK) {
regs               67 arch/x86/kernel/cpu/intel_pconfig.c 			if (regs.ebx < 64)
regs               68 arch/x86/kernel/cpu/intel_pconfig.c 				targets_supported |= (1ULL << regs.ebx);
regs               69 arch/x86/kernel/cpu/intel_pconfig.c 			if (regs.ecx < 64)
regs               70 arch/x86/kernel/cpu/intel_pconfig.c 				targets_supported |= (1ULL << regs.ecx);
regs               71 arch/x86/kernel/cpu/intel_pconfig.c 			if (regs.edx < 64)
regs               72 arch/x86/kernel/cpu/intel_pconfig.c 				targets_supported |= (1ULL << regs.edx);
regs              908 arch/x86/kernel/cpu/mce/amd.c asmlinkage __visible void __irq_entry smp_deferred_error_interrupt(struct pt_regs *regs)
regs              124 arch/x86/kernel/cpu/mce/core.c static void (*quirk_no_way_out)(int bank, struct mce *m, struct pt_regs *regs);
regs              434 arch/x86/kernel/cpu/mce/core.c static inline void mce_gather_info(struct mce *m, struct pt_regs *regs)
regs              439 arch/x86/kernel/cpu/mce/core.c 	if (regs) {
regs              445 arch/x86/kernel/cpu/mce/core.c 			m->ip = regs->ip;
regs              446 arch/x86/kernel/cpu/mce/core.c 			m->cs = regs->cs;
regs              453 arch/x86/kernel/cpu/mce/core.c 			if (v8086_mode(regs))
regs              810 arch/x86/kernel/cpu/mce/core.c 			  struct pt_regs *regs)
regs              822 arch/x86/kernel/cpu/mce/core.c 			quirk_no_way_out(i, m, regs);
regs             1225 arch/x86/kernel/cpu/mce/core.c void do_machine_check(struct pt_regs *regs, long error_code)
regs             1262 arch/x86/kernel/cpu/mce/core.c 	ist_enter(regs);
regs             1266 arch/x86/kernel/cpu/mce/core.c 	mce_gather_info(&m, regs);
regs             1273 arch/x86/kernel/cpu/mce/core.c 	no_way_out = mce_no_way_out(&m, &msg, valid_banks, regs);
regs             1354 arch/x86/kernel/cpu/mce/core.c 		ist_begin_non_atomic(regs);
regs             1362 arch/x86/kernel/cpu/mce/core.c 		if (!fixup_exception(regs, X86_TRAP_MC, error_code, 0))
regs             1367 arch/x86/kernel/cpu/mce/core.c 	ist_exit(regs);
regs             1612 arch/x86/kernel/cpu/mce/core.c static void quirk_sandybridge_ifu(int bank, struct mce *m, struct pt_regs *regs)
regs             1628 arch/x86/kernel/cpu/mce/core.c 	m->ip = regs->ip;
regs             1629 arch/x86/kernel/cpu/mce/core.c 	m->cs = regs->cs;
regs             1842 arch/x86/kernel/cpu/mce/core.c static void unexpected_machine_check(struct pt_regs *regs, long error_code)
regs             1852 arch/x86/kernel/cpu/mce/core.c dotraplinkage void do_mce(struct pt_regs *regs, long error_code)
regs             1854 arch/x86/kernel/cpu/mce/core.c 	machine_check_vector(regs, error_code);
regs              140 arch/x86/kernel/cpu/mce/inject.c 	struct pt_regs regs;
regs              144 arch/x86/kernel/cpu/mce/inject.c 		memset(&regs, 0, sizeof(struct pt_regs));
regs              145 arch/x86/kernel/cpu/mce/inject.c 		regs.ip = m->ip;
regs              146 arch/x86/kernel/cpu/mce/inject.c 		regs.cs = m->cs;
regs              147 arch/x86/kernel/cpu/mce/inject.c 		pregs = &regs;
regs              159 arch/x86/kernel/cpu/mce/inject.c static int mce_raise_notify(unsigned int cmd, struct pt_regs *regs)
regs              167 arch/x86/kernel/cpu/mce/inject.c 		raise_exception(m, regs);
regs               23 arch/x86/kernel/cpu/mce/p5.c static void pentium_machine_check(struct pt_regs *regs, long error_code)
regs               27 arch/x86/kernel/cpu/mce/p5.c 	ist_enter(regs);
regs               42 arch/x86/kernel/cpu/mce/p5.c 	ist_exit(regs);
regs              397 arch/x86/kernel/cpu/mce/therm_throt.c asmlinkage __visible void __irq_entry smp_thermal_interrupt(struct pt_regs *regs)
regs               24 arch/x86/kernel/cpu/mce/threshold.c asmlinkage __visible void __irq_entry smp_threshold_interrupt(struct pt_regs *regs)
regs               19 arch/x86/kernel/cpu/mce/winchip.c static void winchip_machine_check(struct pt_regs *regs, long error_code)
regs               21 arch/x86/kernel/cpu/mce/winchip.c 	ist_enter(regs);
regs               26 arch/x86/kernel/cpu/mce/winchip.c 	ist_exit(regs);
regs               41 arch/x86/kernel/cpu/mshyperv.c static void (*hv_crash_handler)(struct pt_regs *regs);
regs               43 arch/x86/kernel/cpu/mshyperv.c __visible void __irq_entry hyperv_vector_handler(struct pt_regs *regs)
regs               45 arch/x86/kernel/cpu/mshyperv.c 	struct pt_regs *old_regs = set_irq_regs(regs);
regs               77 arch/x86/kernel/cpu/mshyperv.c __visible void __irq_entry hv_stimer0_vector_handler(struct pt_regs *regs)
regs               79 arch/x86/kernel/cpu/mshyperv.c 	struct pt_regs *old_regs = set_irq_regs(regs);
regs              120 arch/x86/kernel/cpu/mshyperv.c void hv_setup_crash_handler(void (*handler)(struct pt_regs *regs))
regs              140 arch/x86/kernel/cpu/mshyperv.c static void hv_machine_crash_shutdown(struct pt_regs *regs)
regs              143 arch/x86/kernel/cpu/mshyperv.c 		hv_crash_handler(regs);
regs              144 arch/x86/kernel/cpu/mshyperv.c 	native_machine_crash_shutdown(regs);
regs              179 arch/x86/kernel/cpu/mshyperv.c static int hv_nmi_unknown(unsigned int val, struct pt_regs *regs)
regs               62 arch/x86/kernel/cpu/mtrr/amd.c 	u32 regs[2];
regs               67 arch/x86/kernel/cpu/mtrr/amd.c 	rdmsr(MSR_K6_UWCCR, regs[0], regs[1]);
regs               72 arch/x86/kernel/cpu/mtrr/amd.c 		regs[reg] = 0;
regs               83 arch/x86/kernel/cpu/mtrr/amd.c 		regs[reg] = (-size >> (15 - PAGE_SHIFT) & 0x0001FFFC)
regs               92 arch/x86/kernel/cpu/mtrr/amd.c 	wrmsr(MSR_K6_UWCCR, regs[0], regs[1]);
regs               50 arch/x86/kernel/cpu/scattered.c 	u32 regs[4];
regs               61 arch/x86/kernel/cpu/scattered.c 		cpuid_count(cb->level, cb->sub_leaf, &regs[CPUID_EAX],
regs               62 arch/x86/kernel/cpu/scattered.c 			    &regs[CPUID_EBX], &regs[CPUID_ECX],
regs               63 arch/x86/kernel/cpu/scattered.c 			    &regs[CPUID_EDX]);
regs               65 arch/x86/kernel/cpu/scattered.c 		if (regs[cb->reg] & (1 << cb->bit))
regs               47 arch/x86/kernel/cpuid.c 	struct cpuid_regs regs;
regs               55 arch/x86/kernel/cpuid.c 	cpuid_count(cmd->regs.eax, cmd->regs.ecx,
regs               56 arch/x86/kernel/cpuid.c 		    &cmd->regs.eax, &cmd->regs.ebx,
regs               57 arch/x86/kernel/cpuid.c 		    &cmd->regs.ecx, &cmd->regs.edx);
regs               82 arch/x86/kernel/cpuid.c 		cmd.regs.eax = pos;
regs               83 arch/x86/kernel/cpuid.c 		cmd.regs.ecx = pos >> 32;
regs               89 arch/x86/kernel/cpuid.c 		if (copy_to_user(tmp, &cmd.regs, 16)) {
regs               73 arch/x86/kernel/crash.c static void kdump_nmi_callback(int cpu, struct pt_regs *regs)
regs               75 arch/x86/kernel/crash.c 	crash_save_cpu(regs, cpu);
regs              129 arch/x86/kernel/crash.c void native_machine_crash_shutdown(struct pt_regs *regs)
regs              171 arch/x86/kernel/crash.c 	crash_save_cpu(regs, safe_smp_processor_id());
regs               76 arch/x86/kernel/doublefault.c void df_debug(struct pt_regs *regs, long error_code) {}
regs               80 arch/x86/kernel/doublefault.c void df_debug(struct pt_regs *regs, long error_code)
regs               83 arch/x86/kernel/doublefault.c 	show_regs(regs);
regs               93 arch/x86/kernel/dumpstack.c void show_opcodes(struct pt_regs *regs, const char *loglvl)
regs               99 arch/x86/kernel/dumpstack.c 	unsigned long prologue = regs->ip - PROLOGUE_SIZE;
regs              106 arch/x86/kernel/dumpstack.c 	bad_ip = user_mode(regs) &&
regs              119 arch/x86/kernel/dumpstack.c void show_ip(struct pt_regs *regs, const char *loglvl)
regs              122 arch/x86/kernel/dumpstack.c 	printk("%sEIP: %pS\n", loglvl, (void *)regs->ip);
regs              124 arch/x86/kernel/dumpstack.c 	printk("%sRIP: %04x:%pS\n", loglvl, (int)regs->cs, (void *)regs->ip);
regs              126 arch/x86/kernel/dumpstack.c 	show_opcodes(regs, loglvl);
regs              129 arch/x86/kernel/dumpstack.c void show_iret_regs(struct pt_regs *regs)
regs              131 arch/x86/kernel/dumpstack.c 	show_ip(regs, KERN_DEFAULT);
regs              132 arch/x86/kernel/dumpstack.c 	printk(KERN_DEFAULT "RSP: %04x:%016lx EFLAGS: %08lx", (int)regs->ss,
regs              133 arch/x86/kernel/dumpstack.c 		regs->sp, regs->flags);
regs              136 arch/x86/kernel/dumpstack.c static void show_regs_if_on_stack(struct stack_info *info, struct pt_regs *regs,
regs              148 arch/x86/kernel/dumpstack.c 	if (!partial && on_stack(info, regs, sizeof(*regs))) {
regs              149 arch/x86/kernel/dumpstack.c 		__show_regs(regs, SHOW_REGS_SHORT);
regs              151 arch/x86/kernel/dumpstack.c 	} else if (partial && on_stack(info, (void *)regs + IRET_FRAME_OFFSET,
regs              158 arch/x86/kernel/dumpstack.c 		show_iret_regs(regs);
regs              162 arch/x86/kernel/dumpstack.c void show_trace_log_lvl(struct task_struct *task, struct pt_regs *regs,
regs              173 arch/x86/kernel/dumpstack.c 	unwind_start(&state, task, regs, stack);
regs              174 arch/x86/kernel/dumpstack.c 	stack = stack ? : get_stack_pointer(task, regs);
regs              175 arch/x86/kernel/dumpstack.c 	regs = unwind_get_entry_regs(&state, &partial);
regs              212 arch/x86/kernel/dumpstack.c 		if (regs)
regs              213 arch/x86/kernel/dumpstack.c 			show_regs_if_on_stack(&stack_info, regs, partial);
regs              239 arch/x86/kernel/dumpstack.c 			if (regs && stack == &regs->ip)
regs              272 arch/x86/kernel/dumpstack.c 			regs = unwind_get_entry_regs(&state, &partial);
regs              273 arch/x86/kernel/dumpstack.c 			if (regs)
regs              274 arch/x86/kernel/dumpstack.c 				show_regs_if_on_stack(&stack_info, regs, partial);
regs              296 arch/x86/kernel/dumpstack.c void show_stack_regs(struct pt_regs *regs)
regs              298 arch/x86/kernel/dumpstack.c 	show_trace_log_lvl(current, regs, NULL, KERN_DEFAULT);
regs              331 arch/x86/kernel/dumpstack.c void oops_end(unsigned long flags, struct pt_regs *regs, int signr)
regs              333 arch/x86/kernel/dumpstack.c 	if (regs && kexec_should_crash(current))
regs              334 arch/x86/kernel/dumpstack.c 		crash_kexec(regs);
regs              368 arch/x86/kernel/dumpstack.c int __die(const char *str, struct pt_regs *regs, long err)
regs              374 arch/x86/kernel/dumpstack.c 		exec_summary_regs = *regs;
regs              388 arch/x86/kernel/dumpstack.c 	show_regs(regs);
regs              391 arch/x86/kernel/dumpstack.c 	if (notify_die(DIE_OOPS, str, regs, err,
regs              403 arch/x86/kernel/dumpstack.c void die(const char *str, struct pt_regs *regs, long err)
regs              408 arch/x86/kernel/dumpstack.c 	if (__die(str, regs, err))
regs              410 arch/x86/kernel/dumpstack.c 	oops_end(flags, regs, sig);
regs              413 arch/x86/kernel/dumpstack.c void show_regs(struct pt_regs *regs)
regs              417 arch/x86/kernel/dumpstack.c 	__show_regs(regs, user_mode(regs) ? SHOW_REGS_USER : SHOW_REGS_ALL);
regs              422 arch/x86/kernel/dumpstack.c 	if (!user_mode(regs))
regs              423 arch/x86/kernel/dumpstack.c 		show_trace_log_lvl(current, regs, NULL, KERN_DEFAULT);
regs               91 arch/x86/kernel/dumpstack_64.c 	struct pt_regs *regs;
regs              119 arch/x86/kernel/dumpstack_64.c 	regs = (struct pt_regs *)end - 1;
regs              124 arch/x86/kernel/dumpstack_64.c 	info->next_sp	= (unsigned long *)regs->sp;
regs               66 arch/x86/kernel/fpu/core.c 	struct pt_regs *regs = get_irq_regs();
regs               67 arch/x86/kernel/fpu/core.c 	return regs && user_mode(regs);
regs              366 arch/x86/kernel/fpu/regset.c int dump_fpu(struct pt_regs *regs, struct user_i387_struct *ufpu)
regs              304 arch/x86/kernel/ftrace.c int ftrace_int3_handler(struct pt_regs *regs)
regs              308 arch/x86/kernel/ftrace.c 	if (WARN_ON_ONCE(!regs))
regs              311 arch/x86/kernel/ftrace.c 	ip = regs->ip - INT3_INSN_SIZE;
regs              314 arch/x86/kernel/ftrace.c 		int3_emulate_call(regs, (unsigned long)ftrace_regs_caller);
regs              318 arch/x86/kernel/ftrace.c 			int3_emulate_jmp(regs, ip + CALL_INSN_SIZE);
regs              321 arch/x86/kernel/ftrace.c 		int3_emulate_call(regs, ftrace_update_func_call);
regs              496 arch/x86/kernel/hw_breakpoint.c 		perf_bp_event(bp, args->regs);
regs              503 arch/x86/kernel/hw_breakpoint.c 			args->regs->flags |= X86_EFLAGS_RF;
regs              118 arch/x86/kernel/ioport.c 	struct pt_regs *regs = current_pt_regs();
regs              135 arch/x86/kernel/ioport.c 	regs->flags = (regs->flags & ~X86_EFLAGS_IOPL) |
regs              233 arch/x86/kernel/irq.c __visible unsigned int __irq_entry do_IRQ(struct pt_regs *regs)
regs              235 arch/x86/kernel/irq.c 	struct pt_regs *old_regs = set_irq_regs(regs);
regs              238 arch/x86/kernel/irq.c 	unsigned vector = ~regs->orig_ax;
regs              248 arch/x86/kernel/irq.c 			handle_irq(desc, regs);
regs              275 arch/x86/kernel/irq.c __visible void __irq_entry smp_x86_platform_ipi(struct pt_regs *regs)
regs              277 arch/x86/kernel/irq.c 	struct pt_regs *old_regs = set_irq_regs(regs);
regs              306 arch/x86/kernel/irq.c __visible void smp_kvm_posted_intr_ipi(struct pt_regs *regs)
regs              308 arch/x86/kernel/irq.c 	struct pt_regs *old_regs = set_irq_regs(regs);
regs              319 arch/x86/kernel/irq.c __visible void smp_kvm_posted_intr_wakeup_ipi(struct pt_regs *regs)
regs              321 arch/x86/kernel/irq.c 	struct pt_regs *old_regs = set_irq_regs(regs);
regs              333 arch/x86/kernel/irq.c __visible void smp_kvm_posted_intr_nested_ipi(struct pt_regs *regs)
regs              335 arch/x86/kernel/irq.c 	struct pt_regs *old_regs = set_irq_regs(regs);
regs              151 arch/x86/kernel/irq_32.c void handle_irq(struct irq_desc *desc, struct pt_regs *regs)
regs              155 arch/x86/kernel/irq_32.c 	if (user_mode(regs) || !execute_on_irq_stack(overflow, desc)) {
regs               16 arch/x86/kernel/irq_work.c __visible void __irq_entry smp_irq_work_interrupt(struct pt_regs *regs)
regs               91 arch/x86/kernel/kgdb.c int dbg_set_reg(int regno, void *mem, struct pt_regs *regs)
regs              101 arch/x86/kernel/kgdb.c 		memcpy((void *)regs + dbg_reg_def[regno].offset, mem,
regs              106 arch/x86/kernel/kgdb.c char *dbg_get_reg(int regno, void *mem, struct pt_regs *regs)
regs              109 arch/x86/kernel/kgdb.c 		memcpy(mem, &regs->orig_ax, sizeof(regs->orig_ax));
regs              116 arch/x86/kernel/kgdb.c 		memcpy(mem, (void *)regs + dbg_reg_def[regno].offset,
regs              381 arch/x86/kernel/kgdb.c static void kgdb_disable_hw_debug(struct pt_regs *regs)
regs              475 arch/x86/kernel/kgdb.c single_step_cont(struct pt_regs *regs, struct die_args *args)
regs              484 arch/x86/kernel/kgdb.c 				   args->err, "c", "", regs);
regs              496 arch/x86/kernel/kgdb.c static int kgdb_nmi_handler(unsigned int cmd, struct pt_regs *regs)
regs              505 arch/x86/kernel/kgdb.c 			kgdb_nmicallback(cpu, regs);
regs              529 arch/x86/kernel/kgdb.c 	struct pt_regs *regs = args->regs;
regs              534 arch/x86/kernel/kgdb.c 			if (user_mode(regs))
regs              535 arch/x86/kernel/kgdb.c 				return single_step_cont(regs, args);
regs              544 arch/x86/kernel/kgdb.c 		if (user_mode(regs))
regs              548 arch/x86/kernel/kgdb.c 	if (kgdb_handle_exception(args->trapnr, args->signr, cmd, regs))
regs              557 arch/x86/kernel/kgdb.c 		 struct pt_regs *regs, long err, int trap, int sig)
regs              560 arch/x86/kernel/kgdb.c 		.regs	= regs,
regs              627 arch/x86/kernel/kgdb.c 		struct perf_sample_data *data, struct pt_regs *regs)
regs              709 arch/x86/kernel/kgdb.c int kgdb_skipexception(int exception, struct pt_regs *regs)
regs              711 arch/x86/kernel/kgdb.c 	if (exception == 3 && kgdb_isremovedbreak(regs->ip - 1)) {
regs              712 arch/x86/kernel/kgdb.c 		regs->ip -= 1;
regs              718 arch/x86/kernel/kgdb.c unsigned long kgdb_arch_pc(int exception, struct pt_regs *regs)
regs              721 arch/x86/kernel/kgdb.c 		return instruction_pointer(regs) - 1;
regs              722 arch/x86/kernel/kgdb.c 	return instruction_pointer(regs);
regs              725 arch/x86/kernel/kgdb.c void kgdb_arch_set_pc(struct pt_regs *regs, unsigned long ip)
regs              727 arch/x86/kernel/kgdb.c 	regs->ip = ip;
regs               95 arch/x86/kernel/kprobes/common.h extern int setup_detour_execution(struct kprobe *p, struct pt_regs *regs, int reenter);
regs               98 arch/x86/kernel/kprobes/common.h static inline int setup_detour_execution(struct kprobe *p, struct pt_regs *regs, int reenter)
regs               59 arch/x86/kernel/kprobes/core.c #define stack_addr(regs) ((unsigned long *)regs->sp)
regs              535 arch/x86/kernel/kprobes/core.c set_current_kprobe(struct kprobe *p, struct pt_regs *regs,
regs              540 arch/x86/kernel/kprobes/core.c 		= (regs->flags & (X86_EFLAGS_TF | X86_EFLAGS_IF));
regs              565 arch/x86/kernel/kprobes/core.c void arch_prepare_kretprobe(struct kretprobe_instance *ri, struct pt_regs *regs)
regs              567 arch/x86/kernel/kprobes/core.c 	unsigned long *sara = stack_addr(regs);
regs              577 arch/x86/kernel/kprobes/core.c static void setup_singlestep(struct kprobe *p, struct pt_regs *regs,
regs              580 arch/x86/kernel/kprobes/core.c 	if (setup_detour_execution(p, regs, reenter))
regs              593 arch/x86/kernel/kprobes/core.c 		regs->ip = (unsigned long)p->ainsn.insn;
regs              599 arch/x86/kernel/kprobes/core.c 		set_current_kprobe(p, regs, kcb);
regs              605 arch/x86/kernel/kprobes/core.c 	regs->flags |= X86_EFLAGS_TF;
regs              606 arch/x86/kernel/kprobes/core.c 	regs->flags &= ~X86_EFLAGS_IF;
regs              609 arch/x86/kernel/kprobes/core.c 		regs->ip = (unsigned long)p->addr;
regs              611 arch/x86/kernel/kprobes/core.c 		regs->ip = (unsigned long)p->ainsn.insn;
regs              620 arch/x86/kernel/kprobes/core.c static int reenter_kprobe(struct kprobe *p, struct pt_regs *regs,
regs              628 arch/x86/kernel/kprobes/core.c 		setup_singlestep(p, regs, kcb, 1);
regs              654 arch/x86/kernel/kprobes/core.c int kprobe_int3_handler(struct pt_regs *regs)
regs              660 arch/x86/kernel/kprobes/core.c 	if (user_mode(regs))
regs              663 arch/x86/kernel/kprobes/core.c 	addr = (kprobe_opcode_t *)(regs->ip - sizeof(kprobe_opcode_t));
regs              675 arch/x86/kernel/kprobes/core.c 			if (reenter_kprobe(p, regs, kcb))
regs              678 arch/x86/kernel/kprobes/core.c 			set_current_kprobe(p, regs, kcb);
regs              688 arch/x86/kernel/kprobes/core.c 			if (!p->pre_handler || !p->pre_handler(p, regs))
regs              689 arch/x86/kernel/kprobes/core.c 				setup_singlestep(p, regs, kcb, 0);
regs              704 arch/x86/kernel/kprobes/core.c 		regs->ip = (unsigned long)addr;
regs              756 arch/x86/kernel/kprobes/core.c __used __visible void *trampoline_handler(struct pt_regs *regs)
regs              782 arch/x86/kernel/kprobes/core.c 	regs->cs = __KERNEL_CS;
regs              784 arch/x86/kernel/kprobes/core.c 	regs->cs |= get_kernel_rpl();
regs              785 arch/x86/kernel/kprobes/core.c 	regs->gs = 0;
regs              788 arch/x86/kernel/kprobes/core.c 	frame_pointer = &regs->sp;
regs              789 arch/x86/kernel/kprobes/core.c 	regs->ip = trampoline_address;
regs              790 arch/x86/kernel/kprobes/core.c 	regs->orig_ax = ~0UL;
regs              852 arch/x86/kernel/kprobes/core.c 			ri->rp->handler(ri, regs);
regs              907 arch/x86/kernel/kprobes/core.c static void resume_execution(struct kprobe *p, struct pt_regs *regs,
regs              910 arch/x86/kernel/kprobes/core.c 	unsigned long *tos = stack_addr(regs);
regs              918 arch/x86/kernel/kprobes/core.c 	regs->flags &= ~X86_EFLAGS_TF;
regs              963 arch/x86/kernel/kprobes/core.c 	regs->ip += orig_ip - copy_ip;
regs              974 arch/x86/kernel/kprobes/core.c int kprobe_debug_handler(struct pt_regs *regs)
regs              982 arch/x86/kernel/kprobes/core.c 	resume_execution(cur, regs, kcb);
regs              983 arch/x86/kernel/kprobes/core.c 	regs->flags |= kcb->kprobe_saved_flags;
regs              987 arch/x86/kernel/kprobes/core.c 		cur->post_handler(cur, regs, 0);
regs             1002 arch/x86/kernel/kprobes/core.c 	if (regs->flags & X86_EFLAGS_TF)
regs             1009 arch/x86/kernel/kprobes/core.c int kprobe_fault_handler(struct pt_regs *regs, int trapnr)
regs             1014 arch/x86/kernel/kprobes/core.c 	if (unlikely(regs->ip == (unsigned long)cur->ainsn.insn)) {
regs             1025 arch/x86/kernel/kprobes/core.c 		regs->ip = (unsigned long)cur->addr;
regs             1031 arch/x86/kernel/kprobes/core.c 		regs->flags &= ~X86_EFLAGS_TF;
regs             1037 arch/x86/kernel/kprobes/core.c 		regs->flags |= kcb->kprobe_old_flags;
regs             1059 arch/x86/kernel/kprobes/core.c 		if (cur->fault_handler && cur->fault_handler(cur, regs, trapnr))
regs               17 arch/x86/kernel/kprobes/ftrace.c 			   struct ftrace_ops *ops, struct pt_regs *regs)
regs               31 arch/x86/kernel/kprobes/ftrace.c 		unsigned long orig_ip = regs->ip;
regs               33 arch/x86/kernel/kprobes/ftrace.c 		regs->ip = ip + sizeof(kprobe_opcode_t);
regs               37 arch/x86/kernel/kprobes/ftrace.c 		if (!p->pre_handler || !p->pre_handler(p, regs)) {
regs               42 arch/x86/kernel/kprobes/ftrace.c 			regs->ip = (unsigned long)p->addr + MCOUNT_INSN_SIZE;
regs               45 arch/x86/kernel/kprobes/ftrace.c 				p->post_handler(p, regs, 0);
regs               47 arch/x86/kernel/kprobes/ftrace.c 			regs->ip = orig_ip;
regs              148 arch/x86/kernel/kprobes/opt.c optimized_callback(struct optimized_kprobe *op, struct pt_regs *regs)
regs              160 arch/x86/kernel/kprobes/opt.c 		regs->cs = __KERNEL_CS;
regs              162 arch/x86/kernel/kprobes/opt.c 		regs->cs |= get_kernel_rpl();
regs              163 arch/x86/kernel/kprobes/opt.c 		regs->gs = 0;
regs              165 arch/x86/kernel/kprobes/opt.c 		regs->ip = (unsigned long)op->kp.addr + INT3_SIZE;
regs              166 arch/x86/kernel/kprobes/opt.c 		regs->orig_ax = ~0UL;
regs              170 arch/x86/kernel/kprobes/opt.c 		opt_pre_handler(&op->kp, regs);
regs              474 arch/x86/kernel/kprobes/opt.c int setup_detour_execution(struct kprobe *p, struct pt_regs *regs, int reenter)
regs              482 arch/x86/kernel/kprobes/opt.c 		regs->ip = (unsigned long)op->optinsn.insn + TMPL_END_IDX;
regs              245 arch/x86/kernel/kvm.c do_async_page_fault(struct pt_regs *regs, unsigned long error_code, unsigned long address)
regs              251 arch/x86/kernel/kvm.c 		do_page_fault(regs, error_code, address);
regs              256 arch/x86/kernel/kvm.c 		kvm_async_pf_task_wait((u32)address, !user_mode(regs));
regs              209 arch/x86/kernel/kvmclock.c static void kvm_crash_shutdown(struct pt_regs *regs)
regs              213 arch/x86/kernel/kvmclock.c 	native_machine_crash_shutdown(regs);
regs              108 arch/x86/kernel/msr.c 	u32 regs[8];
regs              118 arch/x86/kernel/msr.c 		if (copy_from_user(&regs, uregs, sizeof(regs))) {
regs              122 arch/x86/kernel/msr.c 		err = rdmsr_safe_regs_on_cpu(cpu, regs);
regs              125 arch/x86/kernel/msr.c 		if (copy_to_user(uregs, &regs, sizeof(regs)))
regs              134 arch/x86/kernel/msr.c 		if (copy_from_user(&regs, uregs, sizeof(regs))) {
regs              141 arch/x86/kernel/msr.c 		err = wrmsr_safe_regs_on_cpu(cpu, regs);
regs              144 arch/x86/kernel/msr.c 		if (copy_to_user(uregs, &regs, sizeof(regs)))
regs              125 arch/x86/kernel/nmi.c static int nmi_handle(unsigned int type, struct pt_regs *regs)
regs              144 arch/x86/kernel/nmi.c 		thishandled = a->handler(type, regs);
regs              217 arch/x86/kernel/nmi.c pci_serr_error(unsigned char reason, struct pt_regs *regs)
regs              220 arch/x86/kernel/nmi.c 	if (nmi_handle(NMI_SERR, regs))
regs              227 arch/x86/kernel/nmi.c 		nmi_panic(regs, "NMI: Not continuing");
regs              238 arch/x86/kernel/nmi.c io_check_error(unsigned char reason, struct pt_regs *regs)
regs              243 arch/x86/kernel/nmi.c 	if (nmi_handle(NMI_IO_CHECK, regs))
regs              249 arch/x86/kernel/nmi.c 	show_regs(regs);
regs              252 arch/x86/kernel/nmi.c 		nmi_panic(regs, "NMI IOCK error: Not continuing");
regs              278 arch/x86/kernel/nmi.c unknown_nmi_error(unsigned char reason, struct pt_regs *regs)
regs              288 arch/x86/kernel/nmi.c 	handled = nmi_handle(NMI_UNKNOWN, regs);
regs              301 arch/x86/kernel/nmi.c 		nmi_panic(regs, "NMI: Not continuing");
regs              310 arch/x86/kernel/nmi.c static void default_do_nmi(struct pt_regs *regs)
regs              329 arch/x86/kernel/nmi.c 	if (regs->ip == __this_cpu_read(last_nmi_rip))
regs              334 arch/x86/kernel/nmi.c 	__this_cpu_write(last_nmi_rip, regs->ip);
regs              336 arch/x86/kernel/nmi.c 	handled = nmi_handle(NMI_LOCAL, regs);
regs              361 arch/x86/kernel/nmi.c 		run_crash_ipi_callback(regs);
regs              369 arch/x86/kernel/nmi.c 			pci_serr_error(reason, regs);
regs              371 arch/x86/kernel/nmi.c 			io_check_error(reason, regs);
regs              418 arch/x86/kernel/nmi.c 		unknown_nmi_error(reason, regs);
regs              511 arch/x86/kernel/nmi.c do_nmi(struct pt_regs *regs, long error_code)
regs              531 arch/x86/kernel/nmi.c 	if (unlikely(is_debug_stack(regs->sp))) {
regs              542 arch/x86/kernel/nmi.c 		default_do_nmi(regs);
regs              558 arch/x86/kernel/nmi.c 	if (user_mode(regs))
regs               37 arch/x86/kernel/nmi_selftest.c static int __init nmi_unk_cb(unsigned int val, struct pt_regs *regs)
regs               55 arch/x86/kernel/nmi_selftest.c static int __init test_nmi_ipi_callback(unsigned int val, struct pt_regs *regs)
regs               60 arch/x86/kernel/perf_regs.c u64 perf_reg_value(struct pt_regs *regs, int idx)
regs               65 arch/x86/kernel/perf_regs.c 		perf_regs = container_of(regs, struct x86_perf_regs, regs);
regs               74 arch/x86/kernel/perf_regs.c 	return regs_get_register(regs, pt_regs_offset[idx]);
regs              104 arch/x86/kernel/perf_regs.c 			struct pt_regs *regs,
regs              107 arch/x86/kernel/perf_regs.c 	regs_user->regs = task_pt_regs(current);
regs              133 arch/x86/kernel/perf_regs.c 			struct pt_regs *regs,
regs              144 arch/x86/kernel/perf_regs.c 	if (regs->sp > (unsigned long)&user_regs->r11 &&
regs              145 arch/x86/kernel/perf_regs.c 	    regs->sp <= (unsigned long)(user_regs + 1)) {
regs              147 arch/x86/kernel/perf_regs.c 		regs_user->regs = NULL;
regs              193 arch/x86/kernel/perf_regs.c 	regs_user->regs = regs_user_copy;
regs               61 arch/x86/kernel/process_32.c void __show_regs(struct pt_regs *regs, enum show_regs_mode mode)
regs               67 arch/x86/kernel/process_32.c 	if (user_mode(regs))
regs               68 arch/x86/kernel/process_32.c 		gs = get_user_gs(regs);
regs               72 arch/x86/kernel/process_32.c 	show_ip(regs, KERN_DEFAULT);
regs               75 arch/x86/kernel/process_32.c 		regs->ax, regs->bx, regs->cx, regs->dx);
regs               77 arch/x86/kernel/process_32.c 		regs->si, regs->di, regs->bp, regs->sp);
regs               79 arch/x86/kernel/process_32.c 	       (u16)regs->ds, (u16)regs->es, (u16)regs->fs, gs, regs->ss, regs->flags);
regs              119 arch/x86/kernel/process_32.c 	struct fork_frame *fork_frame = container_of(childregs, struct fork_frame, regs);
regs              184 arch/x86/kernel/process_32.c start_thread(struct pt_regs *regs, unsigned long new_ip, unsigned long new_sp)
regs              186 arch/x86/kernel/process_32.c 	set_user_gs(regs, 0);
regs              187 arch/x86/kernel/process_32.c 	regs->fs		= 0;
regs              188 arch/x86/kernel/process_32.c 	regs->ds		= __USER_DS;
regs              189 arch/x86/kernel/process_32.c 	regs->es		= __USER_DS;
regs              190 arch/x86/kernel/process_32.c 	regs->ss		= __USER_DS;
regs              191 arch/x86/kernel/process_32.c 	regs->cs		= __USER_CS;
regs              192 arch/x86/kernel/process_32.c 	regs->ip		= new_ip;
regs              193 arch/x86/kernel/process_32.c 	regs->sp		= new_sp;
regs              194 arch/x86/kernel/process_32.c 	regs->flags		= X86_EFLAGS_IF;
regs               67 arch/x86/kernel/process_64.c void __show_regs(struct pt_regs *regs, enum show_regs_mode mode)
regs               74 arch/x86/kernel/process_64.c 	show_iret_regs(regs);
regs               76 arch/x86/kernel/process_64.c 	if (regs->orig_ax != -1)
regs               77 arch/x86/kernel/process_64.c 		pr_cont(" ORIG_RAX: %016lx\n", regs->orig_ax);
regs               82 arch/x86/kernel/process_64.c 	       regs->ax, regs->bx, regs->cx);
regs               84 arch/x86/kernel/process_64.c 	       regs->dx, regs->si, regs->di);
regs               86 arch/x86/kernel/process_64.c 	       regs->bp, regs->r8, regs->r9);
regs               88 arch/x86/kernel/process_64.c 	       regs->r10, regs->r11, regs->r12);
regs               90 arch/x86/kernel/process_64.c 	       regs->r13, regs->r14, regs->r15);
regs              119 arch/x86/kernel/process_64.c 	printk(KERN_DEFAULT "CS:  %04lx DS: %04x ES: %04x CR0: %016lx\n", regs->cs, ds,
regs              384 arch/x86/kernel/process_64.c 	fork_frame = container_of(childregs, struct fork_frame, regs);
regs              450 arch/x86/kernel/process_64.c start_thread_common(struct pt_regs *regs, unsigned long new_ip,
regs              454 arch/x86/kernel/process_64.c 	WARN_ON_ONCE(regs != current_pt_regs());
regs              467 arch/x86/kernel/process_64.c 	regs->ip		= new_ip;
regs              468 arch/x86/kernel/process_64.c 	regs->sp		= new_sp;
regs              469 arch/x86/kernel/process_64.c 	regs->cs		= _cs;
regs              470 arch/x86/kernel/process_64.c 	regs->ss		= _ss;
regs              471 arch/x86/kernel/process_64.c 	regs->flags		= X86_EFLAGS_IF;
regs              476 arch/x86/kernel/process_64.c start_thread(struct pt_regs *regs, unsigned long new_ip, unsigned long new_sp)
regs              478 arch/x86/kernel/process_64.c 	start_thread_common(regs, new_ip, new_sp,
regs              484 arch/x86/kernel/process_64.c void compat_start_thread(struct pt_regs *regs, u32 new_ip, u32 new_sp)
regs              486 arch/x86/kernel/process_64.c 	start_thread_common(regs, new_ip, new_sp,
regs              158 arch/x86/kernel/ptrace.c static unsigned long *pt_regs_access(struct pt_regs *regs, unsigned long regno)
regs              161 arch/x86/kernel/ptrace.c 	return &regs->bx + (regno >> 2);
regs              224 arch/x86/kernel/ptrace.c static unsigned long *pt_regs_access(struct pt_regs *regs, unsigned long offset)
regs              227 arch/x86/kernel/ptrace.c 	return &regs->r15 + (offset / sizeof(regs->r15));
regs              337 arch/x86/kernel/ptrace.c 	struct pt_regs *regs = task_pt_regs(task);
regs              349 arch/x86/kernel/ptrace.c 	regs->flags = (regs->flags & ~FLAG_MASK) | (value & FLAG_MASK);
regs              477 arch/x86/kernel/ptrace.c 			     struct pt_regs *regs)
regs              855 arch/x86/kernel/ptrace.c 	case offsetof(struct user32, regs.l):				\
regs              856 arch/x86/kernel/ptrace.c 		regs->q = value; break
regs              859 arch/x86/kernel/ptrace.c 	case offsetof(struct user32, regs.rs):				\
regs              867 arch/x86/kernel/ptrace.c 	struct pt_regs *regs = task_pt_regs(child);
regs              888 arch/x86/kernel/ptrace.c 	case offsetof(struct user32, regs.orig_eax):
regs              899 arch/x86/kernel/ptrace.c 		regs->orig_ax = value;
regs              900 arch/x86/kernel/ptrace.c 		if (syscall_get_nr(child, regs) >= 0)
regs              904 arch/x86/kernel/ptrace.c 	case offsetof(struct user32, regs.eflags):
regs              929 arch/x86/kernel/ptrace.c 	case offsetof(struct user32, regs.l):				\
regs              930 arch/x86/kernel/ptrace.c 		*val = regs->q; break
regs              933 arch/x86/kernel/ptrace.c 	case offsetof(struct user32, regs.rs):				\
regs              940 arch/x86/kernel/ptrace.c 	struct pt_regs *regs = task_pt_regs(child);
regs              962 arch/x86/kernel/ptrace.c 	case offsetof(struct user32, regs.eflags):
regs             1335 arch/x86/kernel/ptrace.c void send_sigtrap(struct pt_regs *regs, int error_code, int si_code)
regs             1344 arch/x86/kernel/ptrace.c 			user_mode(regs) ? (void __user *)regs->ip : NULL);
regs             1347 arch/x86/kernel/ptrace.c void user_single_step_report(struct pt_regs *regs)
regs             1349 arch/x86/kernel/ptrace.c 	send_sigtrap(regs, 0, TRAP_BRKPT);
regs              529 arch/x86/kernel/reboot.c static void vmxoff_nmi(int cpu, struct pt_regs *regs)
regs              796 arch/x86/kernel/reboot.c void machine_crash_shutdown(struct pt_regs *regs)
regs              798 arch/x86/kernel/reboot.c 	machine_ops.crash_shutdown(regs);
regs              813 arch/x86/kernel/reboot.c static int crash_nmi_callback(unsigned int val, struct pt_regs *regs)
regs              828 arch/x86/kernel/reboot.c 	shootdown_callback(cpu, regs);
regs              886 arch/x86/kernel/reboot.c void run_crash_ipi_callback(struct pt_regs *regs)
regs              889 arch/x86/kernel/reboot.c 		crash_nmi_callback(0, regs);
regs              893 arch/x86/kernel/reboot.c void nmi_panic_self_stop(struct pt_regs *regs)
regs              897 arch/x86/kernel/reboot.c 		run_crash_ipi_callback(regs);
regs              908 arch/x86/kernel/reboot.c void run_crash_ipi_callback(struct pt_regs *regs)
regs               51 arch/x86/kernel/signal.c 	get_user_ex(regs->x, &sc->x);			\
regs               61 arch/x86/kernel/signal.c 	regs->seg = GET_SEG(seg);			\
regs               65 arch/x86/kernel/signal.c 	regs->seg = GET_SEG(seg) | 3;			\
regs               74 arch/x86/kernel/signal.c static void force_valid_ss(struct pt_regs *regs)
regs               82 arch/x86/kernel/signal.c 		      : [old_ss] "rm" ((u16)regs->ss));
regs               93 arch/x86/kernel/signal.c 		regs->ss = __USER_DS;
regs               97 arch/x86/kernel/signal.c static int restore_sigcontext(struct pt_regs *regs,
regs              112 arch/x86/kernel/signal.c 		set_user_gs(regs, GET_SEG(gs));
regs              136 arch/x86/kernel/signal.c 		regs->flags = (regs->flags & ~FIX_EFLAGS) | (tmpflags & FIX_EFLAGS);
regs              137 arch/x86/kernel/signal.c 		regs->orig_ax = -1;		/* disable syscall checks */
regs              148 arch/x86/kernel/signal.c 	if (unlikely(!(uc_flags & UC_STRICT_RESTORE_SS) && user_64bit_mode(regs)))
regs              149 arch/x86/kernel/signal.c 		force_valid_ss(regs);
regs              160 arch/x86/kernel/signal.c 		     struct pt_regs *regs, unsigned long mask)
regs              167 arch/x86/kernel/signal.c 		put_user_ex(get_user_gs(regs), (unsigned int __user *)&sc->gs);
regs              168 arch/x86/kernel/signal.c 		put_user_ex(regs->fs, (unsigned int __user *)&sc->fs);
regs              169 arch/x86/kernel/signal.c 		put_user_ex(regs->es, (unsigned int __user *)&sc->es);
regs              170 arch/x86/kernel/signal.c 		put_user_ex(regs->ds, (unsigned int __user *)&sc->ds);
regs              173 arch/x86/kernel/signal.c 		put_user_ex(regs->di, &sc->di);
regs              174 arch/x86/kernel/signal.c 		put_user_ex(regs->si, &sc->si);
regs              175 arch/x86/kernel/signal.c 		put_user_ex(regs->bp, &sc->bp);
regs              176 arch/x86/kernel/signal.c 		put_user_ex(regs->sp, &sc->sp);
regs              177 arch/x86/kernel/signal.c 		put_user_ex(regs->bx, &sc->bx);
regs              178 arch/x86/kernel/signal.c 		put_user_ex(regs->dx, &sc->dx);
regs              179 arch/x86/kernel/signal.c 		put_user_ex(regs->cx, &sc->cx);
regs              180 arch/x86/kernel/signal.c 		put_user_ex(regs->ax, &sc->ax);
regs              182 arch/x86/kernel/signal.c 		put_user_ex(regs->r8, &sc->r8);
regs              183 arch/x86/kernel/signal.c 		put_user_ex(regs->r9, &sc->r9);
regs              184 arch/x86/kernel/signal.c 		put_user_ex(regs->r10, &sc->r10);
regs              185 arch/x86/kernel/signal.c 		put_user_ex(regs->r11, &sc->r11);
regs              186 arch/x86/kernel/signal.c 		put_user_ex(regs->r12, &sc->r12);
regs              187 arch/x86/kernel/signal.c 		put_user_ex(regs->r13, &sc->r13);
regs              188 arch/x86/kernel/signal.c 		put_user_ex(regs->r14, &sc->r14);
regs              189 arch/x86/kernel/signal.c 		put_user_ex(regs->r15, &sc->r15);
regs              194 arch/x86/kernel/signal.c 		put_user_ex(regs->ip, &sc->ip);
regs              196 arch/x86/kernel/signal.c 		put_user_ex(regs->cs, (unsigned int __user *)&sc->cs);
regs              197 arch/x86/kernel/signal.c 		put_user_ex(regs->flags, &sc->flags);
regs              198 arch/x86/kernel/signal.c 		put_user_ex(regs->sp, &sc->sp_at_signal);
regs              199 arch/x86/kernel/signal.c 		put_user_ex(regs->ss, (unsigned int __user *)&sc->ss);
regs              201 arch/x86/kernel/signal.c 		put_user_ex(regs->flags, &sc->flags);
regs              202 arch/x86/kernel/signal.c 		put_user_ex(regs->cs, &sc->cs);
regs              205 arch/x86/kernel/signal.c 		put_user_ex(regs->ss, &sc->ss);
regs              240 arch/x86/kernel/signal.c get_sigframe(struct k_sigaction *ka, struct pt_regs *regs, size_t frame_size,
regs              245 arch/x86/kernel/signal.c 	unsigned long sp = regs->sp;
regs              260 arch/x86/kernel/signal.c 		   regs->ss != __USER_DS &&
regs              313 arch/x86/kernel/signal.c 	      struct pt_regs *regs)
regs              320 arch/x86/kernel/signal.c 	frame = get_sigframe(&ksig->ka, regs, sizeof(*frame), &fpstate);
regs              328 arch/x86/kernel/signal.c 	if (setup_sigcontext(&frame->sc, fpstate, regs, set->sig[0]))
regs              361 arch/x86/kernel/signal.c 	regs->sp = (unsigned long)frame;
regs              362 arch/x86/kernel/signal.c 	regs->ip = (unsigned long)ksig->ka.sa.sa_handler;
regs              363 arch/x86/kernel/signal.c 	regs->ax = (unsigned long)sig;
regs              364 arch/x86/kernel/signal.c 	regs->dx = 0;
regs              365 arch/x86/kernel/signal.c 	regs->cx = 0;
regs              367 arch/x86/kernel/signal.c 	regs->ds = __USER_DS;
regs              368 arch/x86/kernel/signal.c 	regs->es = __USER_DS;
regs              369 arch/x86/kernel/signal.c 	regs->ss = __USER_DS;
regs              370 arch/x86/kernel/signal.c 	regs->cs = __USER_CS;
regs              376 arch/x86/kernel/signal.c 			    sigset_t *set, struct pt_regs *regs)
regs              383 arch/x86/kernel/signal.c 	frame = get_sigframe(&ksig->ka, regs, sizeof(*frame), &fpstate);
regs              399 arch/x86/kernel/signal.c 		save_altstack_ex(&frame->uc.uc_stack, regs->sp);
regs              420 arch/x86/kernel/signal.c 				regs, set->sig[0]);
regs              427 arch/x86/kernel/signal.c 	regs->sp = (unsigned long)frame;
regs              428 arch/x86/kernel/signal.c 	regs->ip = (unsigned long)ksig->ka.sa.sa_handler;
regs              429 arch/x86/kernel/signal.c 	regs->ax = (unsigned long)sig;
regs              430 arch/x86/kernel/signal.c 	regs->dx = (unsigned long)&frame->info;
regs              431 arch/x86/kernel/signal.c 	regs->cx = (unsigned long)&frame->uc;
regs              433 arch/x86/kernel/signal.c 	regs->ds = __USER_DS;
regs              434 arch/x86/kernel/signal.c 	regs->es = __USER_DS;
regs              435 arch/x86/kernel/signal.c 	regs->ss = __USER_DS;
regs              436 arch/x86/kernel/signal.c 	regs->cs = __USER_CS;
regs              441 arch/x86/kernel/signal.c static unsigned long frame_uc_flags(struct pt_regs *regs)
regs              450 arch/x86/kernel/signal.c 	if (likely(user_64bit_mode(regs)))
regs              457 arch/x86/kernel/signal.c 			    sigset_t *set, struct pt_regs *regs)
regs              464 arch/x86/kernel/signal.c 	frame = get_sigframe(&ksig->ka, regs, sizeof(struct rt_sigframe), &fp);
regs              474 arch/x86/kernel/signal.c 	uc_flags = frame_uc_flags(regs);
regs              480 arch/x86/kernel/signal.c 		save_altstack_ex(&frame->uc.uc_stack, regs->sp);
regs              493 arch/x86/kernel/signal.c 	err |= setup_sigcontext(&frame->uc.uc_mcontext, fp, regs, set->sig[0]);
regs              500 arch/x86/kernel/signal.c 	regs->di = sig;
regs              502 arch/x86/kernel/signal.c 	regs->ax = 0;
regs              506 arch/x86/kernel/signal.c 	regs->si = (unsigned long)&frame->info;
regs              507 arch/x86/kernel/signal.c 	regs->dx = (unsigned long)&frame->uc;
regs              508 arch/x86/kernel/signal.c 	regs->ip = (unsigned long) ksig->ka.sa.sa_handler;
regs              510 arch/x86/kernel/signal.c 	regs->sp = (unsigned long)frame;
regs              529 arch/x86/kernel/signal.c 	regs->cs = __USER_CS;
regs              531 arch/x86/kernel/signal.c 	if (unlikely(regs->ss != __USER_DS))
regs              532 arch/x86/kernel/signal.c 		force_valid_ss(regs);
regs              540 arch/x86/kernel/signal.c 			      struct pt_regs *regs)
regs              549 arch/x86/kernel/signal.c 	frame = get_sigframe(&ksig->ka, regs, sizeof(*frame), &fpstate);
regs              559 arch/x86/kernel/signal.c 	uc_flags = frame_uc_flags(regs);
regs              565 arch/x86/kernel/signal.c 		compat_save_altstack_ex(&frame->uc.uc_stack, regs->sp);
regs              579 arch/x86/kernel/signal.c 				regs, set->sig[0]);
regs              586 arch/x86/kernel/signal.c 	regs->sp = (unsigned long) frame;
regs              587 arch/x86/kernel/signal.c 	regs->ip = (unsigned long) ksig->ka.sa.sa_handler;
regs              590 arch/x86/kernel/signal.c 	regs->di = ksig->sig;
regs              591 arch/x86/kernel/signal.c 	regs->si = (unsigned long) &frame->info;
regs              592 arch/x86/kernel/signal.c 	regs->dx = (unsigned long) &frame->uc;
regs              597 arch/x86/kernel/signal.c 	regs->cs = __USER_CS;
regs              598 arch/x86/kernel/signal.c 	regs->ss = __USER_DS;
regs              610 arch/x86/kernel/signal.c 	struct pt_regs *regs = current_pt_regs();
regs              614 arch/x86/kernel/signal.c 	frame = (struct sigframe __user *)(regs->sp - 8);
regs              629 arch/x86/kernel/signal.c 	if (restore_sigcontext(regs, &frame->sc, 0))
regs              631 arch/x86/kernel/signal.c 	return regs->ax;
regs              634 arch/x86/kernel/signal.c 	signal_fault(regs, frame, "sigreturn");
regs              642 arch/x86/kernel/signal.c 	struct pt_regs *regs = current_pt_regs();
regs              647 arch/x86/kernel/signal.c 	frame = (struct rt_sigframe __user *)(regs->sp - sizeof(long));
regs              657 arch/x86/kernel/signal.c 	if (restore_sigcontext(regs, &frame->uc.uc_mcontext, uc_flags))
regs              663 arch/x86/kernel/signal.c 	return regs->ax;
regs              666 arch/x86/kernel/signal.c 	signal_fault(regs, frame, "rt_sigreturn");
regs              688 arch/x86/kernel/signal.c setup_rt_frame(struct ksignal *ksig, struct pt_regs *regs)
regs              695 arch/x86/kernel/signal.c 	rseq_signal_deliver(ksig, regs);
regs              700 arch/x86/kernel/signal.c 			return ia32_setup_rt_frame(usig, ksig, cset, regs);
regs              702 arch/x86/kernel/signal.c 			return ia32_setup_frame(usig, ksig, cset, regs);
regs              704 arch/x86/kernel/signal.c 		return x32_setup_rt_frame(ksig, cset, regs);
regs              706 arch/x86/kernel/signal.c 		return __setup_rt_frame(ksig->sig, ksig, set, regs);
regs              711 arch/x86/kernel/signal.c handle_signal(struct ksignal *ksig, struct pt_regs *regs)
regs              716 arch/x86/kernel/signal.c 	if (v8086_mode(regs))
regs              717 arch/x86/kernel/signal.c 		save_v86_state((struct kernel_vm86_regs *) regs, VM86_SIGNAL);
regs              720 arch/x86/kernel/signal.c 	if (syscall_get_nr(current, regs) >= 0) {
regs              722 arch/x86/kernel/signal.c 		switch (syscall_get_error(current, regs)) {
regs              725 arch/x86/kernel/signal.c 			regs->ax = -EINTR;
regs              730 arch/x86/kernel/signal.c 				regs->ax = -EINTR;
regs              735 arch/x86/kernel/signal.c 			regs->ax = regs->orig_ax;
regs              736 arch/x86/kernel/signal.c 			regs->ip -= 2;
regs              750 arch/x86/kernel/signal.c 	failed = (setup_rt_frame(ksig, regs) < 0);
regs              762 arch/x86/kernel/signal.c 		regs->flags &= ~(X86_EFLAGS_DF|X86_EFLAGS_RF|X86_EFLAGS_TF);
regs              771 arch/x86/kernel/signal.c static inline unsigned long get_nr_restart_syscall(const struct pt_regs *regs)
regs              800 arch/x86/kernel/signal.c 	return __NR_restart_syscall | (regs->orig_ax & __X32_SYSCALL_BIT);
regs              811 arch/x86/kernel/signal.c void do_signal(struct pt_regs *regs)
regs              817 arch/x86/kernel/signal.c 		handle_signal(&ksig, regs);
regs              822 arch/x86/kernel/signal.c 	if (syscall_get_nr(current, regs) >= 0) {
regs              824 arch/x86/kernel/signal.c 		switch (syscall_get_error(current, regs)) {
regs              828 arch/x86/kernel/signal.c 			regs->ax = regs->orig_ax;
regs              829 arch/x86/kernel/signal.c 			regs->ip -= 2;
regs              833 arch/x86/kernel/signal.c 			regs->ax = get_nr_restart_syscall(regs);
regs              834 arch/x86/kernel/signal.c 			regs->ip -= 2;
regs              846 arch/x86/kernel/signal.c void signal_fault(struct pt_regs *regs, void __user *frame, char *where)
regs              855 arch/x86/kernel/signal.c 		       regs->ip, regs->sp, regs->orig_ax);
regs              856 arch/x86/kernel/signal.c 		print_vma_addr(KERN_CONT " in ", regs->ip);
regs              866 arch/x86/kernel/signal.c 	struct pt_regs *regs = current_pt_regs();
regs              871 arch/x86/kernel/signal.c 	frame = (struct rt_sigframe_x32 __user *)(regs->sp - 8);
regs              882 arch/x86/kernel/signal.c 	if (restore_sigcontext(regs, &frame->uc.uc_mcontext, uc_flags))
regs              888 arch/x86/kernel/signal.c 	return regs->ax;
regs              891 arch/x86/kernel/signal.c 	signal_fault(regs, frame, "x32 rt_sigreturn");
regs              118 arch/x86/kernel/smp.c static int smp_stop_nmi_callback(unsigned int val, struct pt_regs *regs)
regs              226 arch/x86/kernel/smp.c __visible void __irq_entry smp_reschedule_interrupt(struct pt_regs *regs)
regs              247 arch/x86/kernel/smp.c __visible void __irq_entry smp_call_function_interrupt(struct pt_regs *regs)
regs              673 arch/x86/kernel/smpboot.c 	unsigned i, regs[] = { APIC_ID >> 4, APIC_LVR >> 4, APIC_SPIV >> 4 };
regs              680 arch/x86/kernel/smpboot.c 	for (i = 0; i < ARRAY_SIZE(regs); i++) {
regs              690 arch/x86/kernel/smpboot.c 		apic_icr_write(APIC_DM_REMRD | regs[i], apicid);
regs              938 arch/x86/kernel/smpboot.c static int wakeup_cpu0_nmi(unsigned int cmd, struct pt_regs *regs)
regs               16 arch/x86/kernel/stacktrace.c 		     struct task_struct *task, struct pt_regs *regs)
regs               21 arch/x86/kernel/stacktrace.c 	if (regs && !consume_entry(cookie, regs->ip, false))
regs               24 arch/x86/kernel/stacktrace.c 	for (unwind_start(&state, task, regs, NULL); !unwind_done(&state);
regs               42 arch/x86/kernel/stacktrace.c 	struct pt_regs *regs;
regs               49 arch/x86/kernel/stacktrace.c 		regs = unwind_get_entry_regs(&state, NULL);
regs               50 arch/x86/kernel/stacktrace.c 		if (regs) {
regs               52 arch/x86/kernel/stacktrace.c 			if (user_mode(regs))
regs              116 arch/x86/kernel/stacktrace.c 			  const struct pt_regs *regs)
regs              118 arch/x86/kernel/stacktrace.c 	const void __user *fp = (const void __user *)regs->bp;
regs              120 arch/x86/kernel/stacktrace.c 	if (!consume_entry(cookie, regs->ip, false))
regs              130 arch/x86/kernel/stacktrace.c 		if ((unsigned long)fp < regs->sp)
regs               12 arch/x86/kernel/step.c unsigned long convert_ip_to_linear(struct task_struct *child, struct pt_regs *regs)
regs               16 arch/x86/kernel/step.c 	addr = regs->ip;
regs               17 arch/x86/kernel/step.c 	seg = regs->cs;
regs               18 arch/x86/kernel/step.c 	if (v8086_mode(regs)) {
regs               56 arch/x86/kernel/step.c static int is_setting_trap_flag(struct task_struct *child, struct pt_regs *regs)
regs               60 arch/x86/kernel/step.c 	unsigned long addr = convert_ip_to_linear(child, regs);
regs               84 arch/x86/kernel/step.c 			if (!user_64bit_mode(regs))
regs              113 arch/x86/kernel/step.c 	struct pt_regs *regs = task_pt_regs(child);
regs              127 arch/x86/kernel/step.c 		regs->flags |= X86_EFLAGS_TF;
regs              136 arch/x86/kernel/step.c 	oflags = regs->flags;
regs              139 arch/x86/kernel/step.c 	regs->flags |= X86_EFLAGS_TF;
regs              150 arch/x86/kernel/step.c 	if (is_setting_trap_flag(child, regs)) {
regs               28 arch/x86/kernel/time.c unsigned long profile_pc(struct pt_regs *regs)
regs               30 arch/x86/kernel/time.c 	unsigned long pc = instruction_pointer(regs);
regs               32 arch/x86/kernel/time.c 	if (!user_mode(regs) && in_lock_functions(pc)) {
regs               34 arch/x86/kernel/time.c 		return *(unsigned long *)(regs->bp + sizeof(long));
regs               36 arch/x86/kernel/time.c 		unsigned long *sp = (unsigned long *)regs->sp;
regs               77 arch/x86/kernel/traps.c static inline void cond_local_irq_enable(struct pt_regs *regs)
regs               79 arch/x86/kernel/traps.c 	if (regs->flags & X86_EFLAGS_IF)
regs               83 arch/x86/kernel/traps.c static inline void cond_local_irq_disable(struct pt_regs *regs)
regs               85 arch/x86/kernel/traps.c 	if (regs->flags & X86_EFLAGS_IF)
regs               95 arch/x86/kernel/traps.c void ist_enter(struct pt_regs *regs)
regs               97 arch/x86/kernel/traps.c 	if (user_mode(regs)) {
regs              116 arch/x86/kernel/traps.c void ist_exit(struct pt_regs *regs)
regs              120 arch/x86/kernel/traps.c 	if (!user_mode(regs))
regs              137 arch/x86/kernel/traps.c void ist_begin_non_atomic(struct pt_regs *regs)
regs              139 arch/x86/kernel/traps.c 	BUG_ON(!user_mode(regs));
regs              174 arch/x86/kernel/traps.c int fixup_bug(struct pt_regs *regs, int trapnr)
regs              179 arch/x86/kernel/traps.c 	switch (report_bug(regs->ip, regs)) {
regs              185 arch/x86/kernel/traps.c 		regs->ip += LEN_UD2;
regs              194 arch/x86/kernel/traps.c 		  struct pt_regs *regs,	long error_code)
regs              196 arch/x86/kernel/traps.c 	if (v8086_mode(regs)) {
regs              202 arch/x86/kernel/traps.c 			if (!handle_vm86_trap((struct kernel_vm86_regs *) regs,
regs              206 arch/x86/kernel/traps.c 	} else if (!user_mode(regs)) {
regs              207 arch/x86/kernel/traps.c 		if (fixup_exception(regs, trapnr, error_code, 0))
regs              212 arch/x86/kernel/traps.c 		die(str, regs, error_code);
regs              232 arch/x86/kernel/traps.c 			struct pt_regs *regs, long error_code)
regs              238 arch/x86/kernel/traps.c 			regs->ip, regs->sp, error_code);
regs              239 arch/x86/kernel/traps.c 		print_vma_addr(KERN_CONT " in ", regs->ip);
regs              245 arch/x86/kernel/traps.c do_trap(int trapnr, int signr, char *str, struct pt_regs *regs,
regs              251 arch/x86/kernel/traps.c 	if (!do_trap_no_signal(tsk, trapnr, str, regs, error_code))
regs              254 arch/x86/kernel/traps.c 	show_signal(tsk, signr, "trap ", str, regs, error_code);
regs              263 arch/x86/kernel/traps.c static void do_error_trap(struct pt_regs *regs, long error_code, char *str,
regs              272 arch/x86/kernel/traps.c 	if (!user_mode(regs) && fixup_bug(regs, trapnr))
regs              275 arch/x86/kernel/traps.c 	if (notify_die(DIE_TRAP, str, regs, error_code, trapnr, signr) !=
regs              277 arch/x86/kernel/traps.c 		cond_local_irq_enable(regs);
regs              278 arch/x86/kernel/traps.c 		do_trap(trapnr, signr, str, regs, error_code, sicode, addr);
regs              282 arch/x86/kernel/traps.c #define IP ((void __user *)uprobe_get_trap_addr(regs))
regs              284 arch/x86/kernel/traps.c dotraplinkage void do_##name(struct pt_regs *regs, long error_code)	   \
regs              286 arch/x86/kernel/traps.c 	do_error_trap(regs, error_code, str, trapnr, signr, sicode, addr); \
regs              301 arch/x86/kernel/traps.c 						struct pt_regs *regs,
regs              307 arch/x86/kernel/traps.c 	die(message, regs, 0);
regs              316 arch/x86/kernel/traps.c dotraplinkage void do_double_fault(struct pt_regs *regs, long error_code, unsigned long cr2)
regs              338 arch/x86/kernel/traps.c 	if (((long)regs->sp >> P4D_SHIFT) == ESPFIX_PGD_ENTRY &&
regs              339 arch/x86/kernel/traps.c 		regs->cs == __KERNEL_CS &&
regs              340 arch/x86/kernel/traps.c 		regs->ip == (unsigned long)native_irq_return_iret)
regs              350 arch/x86/kernel/traps.c 		memmove(&gpregs->ip, (void *)regs->sp, 5*8);
regs              364 arch/x86/kernel/traps.c 		regs->ip = (unsigned long)general_protection;
regs              365 arch/x86/kernel/traps.c 		regs->sp = (unsigned long)&gpregs->orig_ax;
regs              371 arch/x86/kernel/traps.c 	ist_enter(regs);
regs              372 arch/x86/kernel/traps.c 	notify_die(DIE_TRAP, str, regs, error_code, X86_TRAP_DF, SIGSEGV);
regs              416 arch/x86/kernel/traps.c 		handle_stack_overflow("kernel stack overflow (double-fault)", regs, cr2);
regs              420 arch/x86/kernel/traps.c 	df_debug(regs, error_code);
regs              427 arch/x86/kernel/traps.c 		die(str, regs, error_code);
regs              431 arch/x86/kernel/traps.c dotraplinkage void do_bounds(struct pt_regs *regs, long error_code)
regs              436 arch/x86/kernel/traps.c 	if (notify_die(DIE_TRAP, "bounds", regs, error_code,
regs              439 arch/x86/kernel/traps.c 	cond_local_irq_enable(regs);
regs              441 arch/x86/kernel/traps.c 	if (!user_mode(regs))
regs              442 arch/x86/kernel/traps.c 		die("bounds", regs, error_code);
regs              475 arch/x86/kernel/traps.c 		if (mpx_fault_info(&mpx, regs)) {
regs              489 arch/x86/kernel/traps.c 		if (!do_trap_no_signal(tsk, X86_TRAP_BR, "bounds", regs,
regs              493 arch/x86/kernel/traps.c 		show_signal(tsk, SIGSEGV, "trap ", "bounds", regs, error_code);
regs              501 arch/x86/kernel/traps.c 		die("bounds", regs, error_code);
regs              514 arch/x86/kernel/traps.c 	do_trap(X86_TRAP_BR, SIGSEGV, "bounds", regs, error_code, 0, NULL);
regs              518 arch/x86/kernel/traps.c do_general_protection(struct pt_regs *regs, long error_code)
regs              524 arch/x86/kernel/traps.c 	cond_local_irq_enable(regs);
regs              527 arch/x86/kernel/traps.c 		if (user_mode(regs) && fixup_umip_exception(regs))
regs              531 arch/x86/kernel/traps.c 	if (v8086_mode(regs)) {
regs              533 arch/x86/kernel/traps.c 		handle_vm86_fault((struct kernel_vm86_regs *) regs, error_code);
regs              538 arch/x86/kernel/traps.c 	if (!user_mode(regs)) {
regs              539 arch/x86/kernel/traps.c 		if (fixup_exception(regs, X86_TRAP_GP, error_code, 0))
regs              551 arch/x86/kernel/traps.c 		    kprobe_fault_handler(regs, X86_TRAP_GP))
regs              554 arch/x86/kernel/traps.c 		if (notify_die(DIE_GPF, desc, regs, error_code,
regs              556 arch/x86/kernel/traps.c 			die(desc, regs, error_code);
regs              563 arch/x86/kernel/traps.c 	show_signal(tsk, SIGSEGV, "", desc, regs, error_code);
regs              569 arch/x86/kernel/traps.c dotraplinkage void notrace do_int3(struct pt_regs *regs, long error_code)
regs              577 arch/x86/kernel/traps.c 	    ftrace_int3_handler(regs))
regs              580 arch/x86/kernel/traps.c 	if (poke_int3_handler(regs))
regs              590 arch/x86/kernel/traps.c 	ist_enter(regs);
regs              593 arch/x86/kernel/traps.c 	if (kgdb_ll_trap(DIE_INT3, "int3", regs, error_code, X86_TRAP_BP,
regs              599 arch/x86/kernel/traps.c 	if (kprobe_int3_handler(regs))
regs              603 arch/x86/kernel/traps.c 	if (notify_die(DIE_INT3, "int3", regs, error_code, X86_TRAP_BP,
regs              607 arch/x86/kernel/traps.c 	cond_local_irq_enable(regs);
regs              608 arch/x86/kernel/traps.c 	do_trap(X86_TRAP_BP, SIGTRAP, "int3", regs, error_code, 0, NULL);
regs              609 arch/x86/kernel/traps.c 	cond_local_irq_disable(regs);
regs              612 arch/x86/kernel/traps.c 	ist_exit(regs);
regs              624 arch/x86/kernel/traps.c 	struct pt_regs *regs = (struct pt_regs *)this_cpu_read(cpu_current_top_of_stack) - 1;
regs              625 arch/x86/kernel/traps.c 	if (regs != eregs)
regs              626 arch/x86/kernel/traps.c 		*regs = *eregs;
regs              627 arch/x86/kernel/traps.c 	return regs;
regs              633 arch/x86/kernel/traps.c 	struct pt_regs regs;
regs              651 arch/x86/kernel/traps.c 	memmove(&new_stack->regs.ip, (void *)s->regs.sp, 5*8);
regs              654 arch/x86/kernel/traps.c 	memmove(new_stack, s, offsetof(struct bad_iret_stack, regs.ip));
regs              656 arch/x86/kernel/traps.c 	BUG_ON(!user_mode(&new_stack->regs));
regs              662 arch/x86/kernel/traps.c static bool is_sysenter_singlestep(struct pt_regs *regs)
regs              673 arch/x86/kernel/traps.c 	return (regs->ip - (unsigned long)__begin_SYSENTER_singlestep_region) <
regs              677 arch/x86/kernel/traps.c 	return (regs->ip - (unsigned long)entry_SYSENTER_compat) <
regs              709 arch/x86/kernel/traps.c dotraplinkage void do_debug(struct pt_regs *regs, long error_code)
regs              716 arch/x86/kernel/traps.c 	ist_enter(regs);
regs              742 arch/x86/kernel/traps.c 	if (unlikely(!user_mode(regs) && (dr6 & DR_STEP) &&
regs              743 arch/x86/kernel/traps.c 		     is_sysenter_singlestep(regs))) {
regs              759 arch/x86/kernel/traps.c 	if (!dr6 && user_mode(regs))
regs              766 arch/x86/kernel/traps.c 	if (kprobe_debug_handler(regs))
regs              770 arch/x86/kernel/traps.c 	if (notify_die(DIE_DEBUG, "debug", regs, (long)&dr6, error_code,
regs              781 arch/x86/kernel/traps.c 	cond_local_irq_enable(regs);
regs              783 arch/x86/kernel/traps.c 	if (v8086_mode(regs)) {
regs              784 arch/x86/kernel/traps.c 		handle_vm86_trap((struct kernel_vm86_regs *) regs, error_code,
regs              786 arch/x86/kernel/traps.c 		cond_local_irq_disable(regs);
regs              791 arch/x86/kernel/traps.c 	if (WARN_ON_ONCE((dr6 & DR_STEP) && !user_mode(regs))) {
regs              800 arch/x86/kernel/traps.c 		regs->flags &= ~X86_EFLAGS_TF;
regs              804 arch/x86/kernel/traps.c 		send_sigtrap(regs, error_code, si_code);
regs              805 arch/x86/kernel/traps.c 	cond_local_irq_disable(regs);
regs              809 arch/x86/kernel/traps.c 	ist_exit(regs);
regs              818 arch/x86/kernel/traps.c static void math_error(struct pt_regs *regs, int error_code, int trapnr)
regs              826 arch/x86/kernel/traps.c 	cond_local_irq_enable(regs);
regs              828 arch/x86/kernel/traps.c 	if (!user_mode(regs)) {
regs              829 arch/x86/kernel/traps.c 		if (fixup_exception(regs, trapnr, error_code, 0))
regs              835 arch/x86/kernel/traps.c 		if (notify_die(DIE_TRAP, str, regs, error_code,
regs              837 arch/x86/kernel/traps.c 			die(str, regs, error_code);
regs              855 arch/x86/kernel/traps.c 			(void __user *)uprobe_get_trap_addr(regs));
regs              858 arch/x86/kernel/traps.c dotraplinkage void do_coprocessor_error(struct pt_regs *regs, long error_code)
regs              861 arch/x86/kernel/traps.c 	math_error(regs, error_code, X86_TRAP_MF);
regs              865 arch/x86/kernel/traps.c do_simd_coprocessor_error(struct pt_regs *regs, long error_code)
regs              868 arch/x86/kernel/traps.c 	math_error(regs, error_code, X86_TRAP_XF);
regs              872 arch/x86/kernel/traps.c do_spurious_interrupt_bug(struct pt_regs *regs, long error_code)
regs              874 arch/x86/kernel/traps.c 	cond_local_irq_enable(regs);
regs              878 arch/x86/kernel/traps.c do_device_not_available(struct pt_regs *regs, long error_code)
regs              888 arch/x86/kernel/traps.c 		cond_local_irq_enable(regs);
regs              890 arch/x86/kernel/traps.c 		info.regs = regs;
regs              906 arch/x86/kernel/traps.c 		die("unexpected #NM exception", regs, error_code);
regs              912 arch/x86/kernel/traps.c dotraplinkage void do_iret_error(struct pt_regs *regs, long error_code)
regs              917 arch/x86/kernel/traps.c 	if (notify_die(DIE_TRAP, "iret exception", regs, error_code,
regs              919 arch/x86/kernel/traps.c 		do_trap(X86_TRAP_IRET, SIGILL, "iret exception", regs, error_code,
regs               92 arch/x86/kernel/umip.c #define umip_pr_err(regs, fmt, ...) \
regs               93 arch/x86/kernel/umip.c 	umip_printk(regs, KERN_ERR, fmt, ##__VA_ARGS__)
regs               94 arch/x86/kernel/umip.c #define umip_pr_warning(regs, fmt, ...) \
regs               95 arch/x86/kernel/umip.c 	umip_printk(regs, KERN_WARNING, fmt,  ##__VA_ARGS__)
regs              115 arch/x86/kernel/umip.c void umip_printk(const struct pt_regs *regs, const char *log_level,
regs              131 arch/x86/kernel/umip.c 	       task_pid_nr(tsk), regs->ip, regs->sp, &vaf);
regs              283 arch/x86/kernel/umip.c static void force_sig_info_umip_fault(void __user *addr, struct pt_regs *regs)
regs              296 arch/x86/kernel/umip.c 	umip_pr_err(regs, "segfault in emulation. error%x\n",
regs              318 arch/x86/kernel/umip.c bool fixup_umip_exception(struct pt_regs *regs)
regs              329 arch/x86/kernel/umip.c 	if (!regs)
regs              338 arch/x86/kernel/umip.c 	if (!user_64bit_mode(regs))
regs              339 arch/x86/kernel/umip.c 		seg_base = insn_get_seg_base(regs, INAT_SEG_REG_CS);
regs              344 arch/x86/kernel/umip.c 	not_copied = copy_from_user(buf, (void __user *)(seg_base + regs->ip),
regs              356 arch/x86/kernel/umip.c 	insn_init(&insn, buf, nr_copied, user_64bit_mode(regs));
regs              368 arch/x86/kernel/umip.c 	seg_defs = insn_get_code_seg_params(regs);
regs              383 arch/x86/kernel/umip.c 	umip_pr_warning(regs, "%s instruction cannot be used by applications.\n",
regs              390 arch/x86/kernel/umip.c 	umip_pr_warning(regs, "For now, expensive software emulation returns the result.\n");
regs              393 arch/x86/kernel/umip.c 			      user_64bit_mode(regs)))
regs              403 arch/x86/kernel/umip.c 		reg_offset = insn_get_modrm_rm_off(&insn, regs);
regs              413 arch/x86/kernel/umip.c 		reg_addr = (unsigned long *)((unsigned long)regs + reg_offset);
regs              416 arch/x86/kernel/umip.c 		uaddr = insn_get_addr_ref(&insn, regs);
regs              426 arch/x86/kernel/umip.c 			force_sig_info_umip_fault(uaddr, regs);
regs              432 arch/x86/kernel/umip.c 	regs->ip += insn.length;
regs               28 arch/x86/kernel/unwind_frame.c 	return state->regs ? &state->regs->ip : state->bp + 1;
regs              173 arch/x86/kernel/unwind_frame.c 	unsigned long regs = (unsigned long)bp;
regs              175 arch/x86/kernel/unwind_frame.c 	if (!(regs & 0x1))
regs              178 arch/x86/kernel/unwind_frame.c 	return (struct pt_regs *)(regs & ~0x1);
regs              183 arch/x86/kernel/unwind_frame.c 	unsigned long regs = (unsigned long)bp;
regs              185 arch/x86/kernel/unwind_frame.c 	if (regs & 0x80000000)
regs              188 arch/x86/kernel/unwind_frame.c 	return (struct pt_regs *)(regs | 0x80000000);
regs              197 arch/x86/kernel/unwind_frame.c 	struct pt_regs *regs;
regs              201 arch/x86/kernel/unwind_frame.c 	if (state->regs)
regs              202 arch/x86/kernel/unwind_frame.c 		prev_frame_end = (void *)state->regs + sizeof(*state->regs);
regs              207 arch/x86/kernel/unwind_frame.c 	regs = decode_frame_pointer(next_bp);
regs              208 arch/x86/kernel/unwind_frame.c 	if (regs) {
regs              209 arch/x86/kernel/unwind_frame.c 		frame = (unsigned long *)regs;
regs              210 arch/x86/kernel/unwind_frame.c 		len = sizeof(*regs);
regs              235 arch/x86/kernel/unwind_frame.c 	if (regs) {
regs              236 arch/x86/kernel/unwind_frame.c 		state->regs = regs;
regs              240 arch/x86/kernel/unwind_frame.c 		state->regs = NULL;
regs              244 arch/x86/kernel/unwind_frame.c 	if (state->regs && user_mode(state->regs))
regs              262 arch/x86/kernel/unwind_frame.c 	struct pt_regs *regs;
regs              269 arch/x86/kernel/unwind_frame.c 	if (state->regs && user_mode(state->regs))
regs              273 arch/x86/kernel/unwind_frame.c 		regs = task_pt_regs(state->task);
regs              286 arch/x86/kernel/unwind_frame.c 		if (!user_mode(regs))
regs              294 arch/x86/kernel/unwind_frame.c 		state->regs = regs;
regs              304 arch/x86/kernel/unwind_frame.c 	} else if (state->regs) {
regs              305 arch/x86/kernel/unwind_frame.c 		next_bp = (unsigned long *)state->regs->bp;
regs              335 arch/x86/kernel/unwind_frame.c 	if (state->regs &&
regs              336 arch/x86/kernel/unwind_frame.c 	    state->regs->sp >= (unsigned long)last_aligned_frame(state) &&
regs              337 arch/x86/kernel/unwind_frame.c 	    state->regs->sp < (unsigned long)task_pt_regs(state->task))
regs              347 arch/x86/kernel/unwind_frame.c 	if (state->regs) {
regs              350 arch/x86/kernel/unwind_frame.c 			state->regs, state->task->comm,
regs              367 arch/x86/kernel/unwind_frame.c 		    struct pt_regs *regs, unsigned long *first_frame)
regs              373 arch/x86/kernel/unwind_frame.c 	state->got_irq = (regs);
regs              376 arch/x86/kernel/unwind_frame.c 	if (regs && user_mode(regs)) {
regs              381 arch/x86/kernel/unwind_frame.c 	bp = get_frame_pointer(task, regs);
regs              392 arch/x86/kernel/unwind_frame.c 	if (regs && regs->ip == 0 && (unsigned long *)regs->sp >= first_frame) {
regs              394 arch/x86/kernel/unwind_frame.c 		bp = ((unsigned long *)regs->sp) - 1;
regs               53 arch/x86/kernel/unwind_guess.c 		    struct pt_regs *regs, unsigned long *first_frame)
regs              319 arch/x86/kernel/unwind_orc.c 	if (state->regs)
regs              320 arch/x86/kernel/unwind_orc.c 		return &state->regs->ip;
regs              359 arch/x86/kernel/unwind_orc.c 	struct pt_regs *regs = (struct pt_regs *)addr;
regs              367 arch/x86/kernel/unwind_orc.c 	*ip = regs->ip;
regs              368 arch/x86/kernel/unwind_orc.c 	*sp = regs->sp;
regs              375 arch/x86/kernel/unwind_orc.c 	struct pt_regs *regs = (void *)addr - IRET_FRAME_OFFSET;
regs              380 arch/x86/kernel/unwind_orc.c 	*ip = regs->ip;
regs              381 arch/x86/kernel/unwind_orc.c 	*sp = regs->sp;
regs              398 arch/x86/kernel/unwind_orc.c 	if (!state->regs)
regs              402 arch/x86/kernel/unwind_orc.c 		*val = ((unsigned long *)state->regs)[reg];
regs              428 arch/x86/kernel/unwind_orc.c 	if (state->regs && user_mode(state->regs))
regs              532 arch/x86/kernel/unwind_orc.c 		state->regs = NULL;
regs              544 arch/x86/kernel/unwind_orc.c 		state->regs = (struct pt_regs *)sp;
regs              558 arch/x86/kernel/unwind_orc.c 			state->prev_regs = state->regs;
regs              559 arch/x86/kernel/unwind_orc.c 		state->regs = (void *)sp - IRET_FRAME_OFFSET;
regs              616 arch/x86/kernel/unwind_orc.c 		    struct pt_regs *regs, unsigned long *first_frame)
regs              632 arch/x86/kernel/unwind_orc.c 	if (regs) {
regs              633 arch/x86/kernel/unwind_orc.c 		if (user_mode(regs))
regs              636 arch/x86/kernel/unwind_orc.c 		state->ip = regs->ip;
regs              637 arch/x86/kernel/unwind_orc.c 		state->sp = regs->sp;
regs              638 arch/x86/kernel/unwind_orc.c 		state->bp = regs->bp;
regs              639 arch/x86/kernel/unwind_orc.c 		state->regs = regs;
regs              680 arch/x86/kernel/unwind_orc.c 	if (regs) {
regs              456 arch/x86/kernel/uprobes.c scratch_reg(struct arch_uprobe *auprobe, struct pt_regs *regs)
regs              459 arch/x86/kernel/uprobes.c 		return &regs->si;
regs              461 arch/x86/kernel/uprobes.c 		return &regs->di;
regs              462 arch/x86/kernel/uprobes.c 	return &regs->bx;
regs              469 arch/x86/kernel/uprobes.c static void riprel_pre_xol(struct arch_uprobe *auprobe, struct pt_regs *regs)
regs              473 arch/x86/kernel/uprobes.c 		unsigned long *sr = scratch_reg(auprobe, regs);
regs              480 arch/x86/kernel/uprobes.c static void riprel_post_xol(struct arch_uprobe *auprobe, struct pt_regs *regs)
regs              484 arch/x86/kernel/uprobes.c 		unsigned long *sr = scratch_reg(auprobe, regs);
regs              496 arch/x86/kernel/uprobes.c static void riprel_pre_xol(struct arch_uprobe *auprobe, struct pt_regs *regs)
regs              499 arch/x86/kernel/uprobes.c static void riprel_post_xol(struct arch_uprobe *auprobe, struct pt_regs *regs)
regs              511 arch/x86/kernel/uprobes.c static inline int sizeof_long(struct pt_regs *regs)
regs              516 arch/x86/kernel/uprobes.c 	return user_64bit_mode(regs) ? 8 : 4;
regs              519 arch/x86/kernel/uprobes.c static int default_pre_xol_op(struct arch_uprobe *auprobe, struct pt_regs *regs)
regs              521 arch/x86/kernel/uprobes.c 	riprel_pre_xol(auprobe, regs);
regs              525 arch/x86/kernel/uprobes.c static int emulate_push_stack(struct pt_regs *regs, unsigned long val)
regs              527 arch/x86/kernel/uprobes.c 	unsigned long new_sp = regs->sp - sizeof_long(regs);
regs              529 arch/x86/kernel/uprobes.c 	if (copy_to_user((void __user *)new_sp, &val, sizeof_long(regs)))
regs              532 arch/x86/kernel/uprobes.c 	regs->sp = new_sp;
regs              553 arch/x86/kernel/uprobes.c static int default_post_xol_op(struct arch_uprobe *auprobe, struct pt_regs *regs)
regs              557 arch/x86/kernel/uprobes.c 	riprel_post_xol(auprobe, regs);
regs              560 arch/x86/kernel/uprobes.c 		regs->ip += correction;
regs              562 arch/x86/kernel/uprobes.c 		regs->sp += sizeof_long(regs); /* Pop incorrect return address */
regs              563 arch/x86/kernel/uprobes.c 		if (emulate_push_stack(regs, utask->vaddr + auprobe->defparam.ilen))
regs              573 arch/x86/kernel/uprobes.c static void default_abort_op(struct arch_uprobe *auprobe, struct pt_regs *regs)
regs              575 arch/x86/kernel/uprobes.c 	riprel_post_xol(auprobe, regs);
regs              618 arch/x86/kernel/uprobes.c static bool check_jmp_cond(struct arch_uprobe *auprobe, struct pt_regs *regs)
regs              620 arch/x86/kernel/uprobes.c 	unsigned long flags = regs->flags;
regs              637 arch/x86/kernel/uprobes.c static bool branch_emulate_op(struct arch_uprobe *auprobe, struct pt_regs *regs)
regs              639 arch/x86/kernel/uprobes.c 	unsigned long new_ip = regs->ip += auprobe->branch.ilen;
regs              652 arch/x86/kernel/uprobes.c 		if (emulate_push_stack(regs, new_ip))
regs              654 arch/x86/kernel/uprobes.c 	} else if (!check_jmp_cond(auprobe, regs)) {
regs              658 arch/x86/kernel/uprobes.c 	regs->ip = new_ip + offs;
regs              662 arch/x86/kernel/uprobes.c static bool push_emulate_op(struct arch_uprobe *auprobe, struct pt_regs *regs)
regs              664 arch/x86/kernel/uprobes.c 	unsigned long *src_ptr = (void *)regs + auprobe->push.reg_offset;
regs              666 arch/x86/kernel/uprobes.c 	if (emulate_push_stack(regs, *src_ptr))
regs              668 arch/x86/kernel/uprobes.c 	regs->ip += auprobe->push.ilen;
regs              672 arch/x86/kernel/uprobes.c static int branch_post_xol_op(struct arch_uprobe *auprobe, struct pt_regs *regs)
regs              681 arch/x86/kernel/uprobes.c 	regs->sp += sizeof_long(regs);
regs              912 arch/x86/kernel/uprobes.c int arch_uprobe_pre_xol(struct arch_uprobe *auprobe, struct pt_regs *regs)
regs              917 arch/x86/kernel/uprobes.c 		int err = auprobe->ops->pre_xol(auprobe, regs);
regs              922 arch/x86/kernel/uprobes.c 	regs->ip = utask->xol_vaddr;
regs              926 arch/x86/kernel/uprobes.c 	utask->autask.saved_tf = !!(regs->flags & X86_EFLAGS_TF);
regs              927 arch/x86/kernel/uprobes.c 	regs->flags |= X86_EFLAGS_TF;
regs              959 arch/x86/kernel/uprobes.c int arch_uprobe_post_xol(struct arch_uprobe *auprobe, struct pt_regs *regs)
regs              969 arch/x86/kernel/uprobes.c 		err = auprobe->ops->post_xol(auprobe, regs);
regs              976 arch/x86/kernel/uprobes.c 			regs->ip = utask->vaddr;
regs              991 arch/x86/kernel/uprobes.c 		regs->flags &= ~X86_EFLAGS_TF;
regs             1000 arch/x86/kernel/uprobes.c 	struct pt_regs *regs = args->regs;
regs             1004 arch/x86/kernel/uprobes.c 	if (regs && !user_mode(regs))
regs             1009 arch/x86/kernel/uprobes.c 		if (uprobe_pre_sstep_notifier(regs))
regs             1015 arch/x86/kernel/uprobes.c 		if (uprobe_post_sstep_notifier(regs))
regs             1030 arch/x86/kernel/uprobes.c void arch_uprobe_abort_xol(struct arch_uprobe *auprobe, struct pt_regs *regs)
regs             1035 arch/x86/kernel/uprobes.c 		auprobe->ops->abort(auprobe, regs);
regs             1038 arch/x86/kernel/uprobes.c 	regs->ip = utask->vaddr;
regs             1041 arch/x86/kernel/uprobes.c 		regs->flags &= ~X86_EFLAGS_TF;
regs             1044 arch/x86/kernel/uprobes.c static bool __skip_sstep(struct arch_uprobe *auprobe, struct pt_regs *regs)
regs             1047 arch/x86/kernel/uprobes.c 		return auprobe->ops->emulate(auprobe, regs);
regs             1051 arch/x86/kernel/uprobes.c bool arch_uprobe_skip_sstep(struct arch_uprobe *auprobe, struct pt_regs *regs)
regs             1053 arch/x86/kernel/uprobes.c 	bool ret = __skip_sstep(auprobe, regs);
regs             1054 arch/x86/kernel/uprobes.c 	if (ret && (regs->flags & X86_EFLAGS_TF))
regs             1060 arch/x86/kernel/uprobes.c arch_uretprobe_hijack_return_addr(unsigned long trampoline_vaddr, struct pt_regs *regs)
regs             1062 arch/x86/kernel/uprobes.c 	int rasize = sizeof_long(regs), nleft;
regs             1065 arch/x86/kernel/uprobes.c 	if (copy_from_user(&orig_ret_vaddr, (void __user *)regs->sp, rasize))
regs             1072 arch/x86/kernel/uprobes.c 	nleft = copy_to_user((void __user *)regs->sp, &trampoline_vaddr, rasize);
regs             1078 arch/x86/kernel/uprobes.c 		       current->pid, regs->sp, regs->ip);
regs             1087 arch/x86/kernel/uprobes.c 				struct pt_regs *regs)
regs             1090 arch/x86/kernel/uprobes.c 		return regs->sp < ret->stack;
regs             1092 arch/x86/kernel/uprobes.c 		return regs->sp <= ret->stack;
regs               79 arch/x86/kernel/vm86_32.c #define AL(regs)	(((unsigned char *)&((regs)->pt.ax))[0])
regs               80 arch/x86/kernel/vm86_32.c #define AH(regs)	(((unsigned char *)&((regs)->pt.ax))[1])
regs               81 arch/x86/kernel/vm86_32.c #define IP(regs)	(*(unsigned short *)&((regs)->pt.ip))
regs               82 arch/x86/kernel/vm86_32.c #define SP(regs)	(*(unsigned short *)&((regs)->pt.sp))
regs               96 arch/x86/kernel/vm86_32.c void save_v86_state(struct kernel_vm86_regs *regs, int retval)
regs              114 arch/x86/kernel/vm86_32.c 	set_flags(regs->pt.flags, VEFLAGS, X86_EFLAGS_VIF | vm86->veflags_mask);
regs              125 arch/x86/kernel/vm86_32.c 		put_user_ex(regs->pt.bx, &user->regs.ebx);
regs              126 arch/x86/kernel/vm86_32.c 		put_user_ex(regs->pt.cx, &user->regs.ecx);
regs              127 arch/x86/kernel/vm86_32.c 		put_user_ex(regs->pt.dx, &user->regs.edx);
regs              128 arch/x86/kernel/vm86_32.c 		put_user_ex(regs->pt.si, &user->regs.esi);
regs              129 arch/x86/kernel/vm86_32.c 		put_user_ex(regs->pt.di, &user->regs.edi);
regs              130 arch/x86/kernel/vm86_32.c 		put_user_ex(regs->pt.bp, &user->regs.ebp);
regs              131 arch/x86/kernel/vm86_32.c 		put_user_ex(regs->pt.ax, &user->regs.eax);
regs              132 arch/x86/kernel/vm86_32.c 		put_user_ex(regs->pt.ip, &user->regs.eip);
regs              133 arch/x86/kernel/vm86_32.c 		put_user_ex(regs->pt.cs, &user->regs.cs);
regs              134 arch/x86/kernel/vm86_32.c 		put_user_ex(regs->pt.flags, &user->regs.eflags);
regs              135 arch/x86/kernel/vm86_32.c 		put_user_ex(regs->pt.sp, &user->regs.esp);
regs              136 arch/x86/kernel/vm86_32.c 		put_user_ex(regs->pt.ss, &user->regs.ss);
regs              137 arch/x86/kernel/vm86_32.c 		put_user_ex(regs->es, &user->regs.es);
regs              138 arch/x86/kernel/vm86_32.c 		put_user_ex(regs->ds, &user->regs.ds);
regs              139 arch/x86/kernel/vm86_32.c 		put_user_ex(regs->fs, &user->regs.fs);
regs              140 arch/x86/kernel/vm86_32.c 		put_user_ex(regs->gs, &user->regs.gs);
regs              157 arch/x86/kernel/vm86_32.c 	memcpy(&regs->pt, &vm86->regs32, sizeof(struct pt_regs));
regs              161 arch/x86/kernel/vm86_32.c 	regs->pt.ax = retval;
regs              244 arch/x86/kernel/vm86_32.c 	struct pt_regs *regs = current_pt_regs();
regs              289 arch/x86/kernel/vm86_32.c 		get_user_ex(vm86regs.pt.bx, &user_vm86->regs.ebx);
regs              290 arch/x86/kernel/vm86_32.c 		get_user_ex(vm86regs.pt.cx, &user_vm86->regs.ecx);
regs              291 arch/x86/kernel/vm86_32.c 		get_user_ex(vm86regs.pt.dx, &user_vm86->regs.edx);
regs              292 arch/x86/kernel/vm86_32.c 		get_user_ex(vm86regs.pt.si, &user_vm86->regs.esi);
regs              293 arch/x86/kernel/vm86_32.c 		get_user_ex(vm86regs.pt.di, &user_vm86->regs.edi);
regs              294 arch/x86/kernel/vm86_32.c 		get_user_ex(vm86regs.pt.bp, &user_vm86->regs.ebp);
regs              295 arch/x86/kernel/vm86_32.c 		get_user_ex(vm86regs.pt.ax, &user_vm86->regs.eax);
regs              296 arch/x86/kernel/vm86_32.c 		get_user_ex(vm86regs.pt.ip, &user_vm86->regs.eip);
regs              297 arch/x86/kernel/vm86_32.c 		get_user_ex(seg, &user_vm86->regs.cs);
regs              299 arch/x86/kernel/vm86_32.c 		get_user_ex(vm86regs.pt.flags, &user_vm86->regs.eflags);
regs              300 arch/x86/kernel/vm86_32.c 		get_user_ex(vm86regs.pt.sp, &user_vm86->regs.esp);
regs              301 arch/x86/kernel/vm86_32.c 		get_user_ex(seg, &user_vm86->regs.ss);
regs              303 arch/x86/kernel/vm86_32.c 		get_user_ex(vm86regs.es, &user_vm86->regs.es);
regs              304 arch/x86/kernel/vm86_32.c 		get_user_ex(vm86regs.ds, &user_vm86->regs.ds);
regs              305 arch/x86/kernel/vm86_32.c 		get_user_ex(vm86regs.fs, &user_vm86->regs.fs);
regs              306 arch/x86/kernel/vm86_32.c 		get_user_ex(vm86regs.gs, &user_vm86->regs.gs);
regs              332 arch/x86/kernel/vm86_32.c 	memcpy(&vm86->regs32, regs, sizeof(struct pt_regs));
regs              342 arch/x86/kernel/vm86_32.c 	vm86regs.pt.flags |= regs->flags & ~SAFE_MASK;
regs              345 arch/x86/kernel/vm86_32.c 	vm86regs.pt.orig_ax = regs->orig_ax;
regs              383 arch/x86/kernel/vm86_32.c 	memcpy((struct kernel_vm86_regs *)regs, &vm86regs, sizeof(vm86regs));
regs              385 arch/x86/kernel/vm86_32.c 	return regs->ax;
regs              388 arch/x86/kernel/vm86_32.c static inline void set_IF(struct kernel_vm86_regs *regs)
regs              393 arch/x86/kernel/vm86_32.c static inline void clear_IF(struct kernel_vm86_regs *regs)
regs              398 arch/x86/kernel/vm86_32.c static inline void clear_TF(struct kernel_vm86_regs *regs)
regs              400 arch/x86/kernel/vm86_32.c 	regs->pt.flags &= ~X86_EFLAGS_TF;
regs              403 arch/x86/kernel/vm86_32.c static inline void clear_AC(struct kernel_vm86_regs *regs)
regs              405 arch/x86/kernel/vm86_32.c 	regs->pt.flags &= ~X86_EFLAGS_AC;
regs              420 arch/x86/kernel/vm86_32.c static inline void set_vflags_long(unsigned long flags, struct kernel_vm86_regs *regs)
regs              423 arch/x86/kernel/vm86_32.c 	set_flags(regs->pt.flags, flags, SAFE_MASK);
regs              425 arch/x86/kernel/vm86_32.c 		set_IF(regs);
regs              427 arch/x86/kernel/vm86_32.c 		clear_IF(regs);
regs              430 arch/x86/kernel/vm86_32.c static inline void set_vflags_short(unsigned short flags, struct kernel_vm86_regs *regs)
regs              433 arch/x86/kernel/vm86_32.c 	set_flags(regs->pt.flags, flags, SAFE_MASK);
regs              435 arch/x86/kernel/vm86_32.c 		set_IF(regs);
regs              437 arch/x86/kernel/vm86_32.c 		clear_IF(regs);
regs              440 arch/x86/kernel/vm86_32.c static inline unsigned long get_vflags(struct kernel_vm86_regs *regs)
regs              442 arch/x86/kernel/vm86_32.c 	unsigned long flags = regs->pt.flags & RETURN_MASK;
regs              537 arch/x86/kernel/vm86_32.c static void do_int(struct kernel_vm86_regs *regs, int i,
regs              544 arch/x86/kernel/vm86_32.c 	if (regs->pt.cs == BIOSSEG)
regs              548 arch/x86/kernel/vm86_32.c 	if (i == 0x21 && is_revectored(AH(regs), &vm86->int21_revectored))
regs              555 arch/x86/kernel/vm86_32.c 	pushw(ssp, sp, get_vflags(regs), cannot_handle);
regs              556 arch/x86/kernel/vm86_32.c 	pushw(ssp, sp, regs->pt.cs, cannot_handle);
regs              557 arch/x86/kernel/vm86_32.c 	pushw(ssp, sp, IP(regs), cannot_handle);
regs              558 arch/x86/kernel/vm86_32.c 	regs->pt.cs = segoffs >> 16;
regs              559 arch/x86/kernel/vm86_32.c 	SP(regs) -= 6;
regs              560 arch/x86/kernel/vm86_32.c 	IP(regs) = segoffs & 0xffff;
regs              561 arch/x86/kernel/vm86_32.c 	clear_TF(regs);
regs              562 arch/x86/kernel/vm86_32.c 	clear_IF(regs);
regs              563 arch/x86/kernel/vm86_32.c 	clear_AC(regs);
regs              567 arch/x86/kernel/vm86_32.c 	save_v86_state(regs, VM86_INTx + (i << 8));
regs              570 arch/x86/kernel/vm86_32.c int handle_vm86_trap(struct kernel_vm86_regs *regs, long error_code, int trapno)
regs              576 arch/x86/kernel/vm86_32.c 			save_v86_state(regs, VM86_TRAP + (trapno << 8));
regs              579 arch/x86/kernel/vm86_32.c 		do_int(regs, trapno, (unsigned char __user *) (regs->pt.ss << 4), SP(regs));
regs              590 arch/x86/kernel/vm86_32.c void handle_vm86_fault(struct kernel_vm86_regs *regs, long error_code)
regs              603 arch/x86/kernel/vm86_32.c 	orig_flags = *(unsigned short *)&regs->pt.flags;
regs              605 arch/x86/kernel/vm86_32.c 	csp = (unsigned char __user *) (regs->pt.cs << 4);
regs              606 arch/x86/kernel/vm86_32.c 	ssp = (unsigned char __user *) (regs->pt.ss << 4);
regs              607 arch/x86/kernel/vm86_32.c 	sp = SP(regs);
regs              608 arch/x86/kernel/vm86_32.c 	ip = IP(regs);
regs              633 arch/x86/kernel/vm86_32.c 			pushl(ssp, sp, get_vflags(regs), simulate_sigsegv);
regs              634 arch/x86/kernel/vm86_32.c 			SP(regs) -= 4;
regs              636 arch/x86/kernel/vm86_32.c 			pushw(ssp, sp, get_vflags(regs), simulate_sigsegv);
regs              637 arch/x86/kernel/vm86_32.c 			SP(regs) -= 2;
regs              639 arch/x86/kernel/vm86_32.c 		IP(regs) = ip;
regs              648 arch/x86/kernel/vm86_32.c 			SP(regs) += 4;
regs              651 arch/x86/kernel/vm86_32.c 			SP(regs) += 2;
regs              653 arch/x86/kernel/vm86_32.c 		IP(regs) = ip;
regs              656 arch/x86/kernel/vm86_32.c 			set_vflags_long(newflags, regs);
regs              658 arch/x86/kernel/vm86_32.c 			set_vflags_short(newflags, regs);
regs              666 arch/x86/kernel/vm86_32.c 		IP(regs) = ip;
regs              669 arch/x86/kernel/vm86_32.c 				save_v86_state(regs, VM86_INTx + (intno << 8));
regs              673 arch/x86/kernel/vm86_32.c 		do_int(regs, intno, ssp, sp);
regs              687 arch/x86/kernel/vm86_32.c 			SP(regs) += 12;
regs              692 arch/x86/kernel/vm86_32.c 			SP(regs) += 6;
regs              694 arch/x86/kernel/vm86_32.c 		IP(regs) = newip;
regs              695 arch/x86/kernel/vm86_32.c 		regs->pt.cs = newcs;
regs              698 arch/x86/kernel/vm86_32.c 			set_vflags_long(newflags, regs);
regs              700 arch/x86/kernel/vm86_32.c 			set_vflags_short(newflags, regs);
regs              707 arch/x86/kernel/vm86_32.c 		IP(regs) = ip;
regs              708 arch/x86/kernel/vm86_32.c 		clear_IF(regs);
regs              719 arch/x86/kernel/vm86_32.c 		IP(regs) = ip;
regs              720 arch/x86/kernel/vm86_32.c 		set_IF(regs);
regs              724 arch/x86/kernel/vm86_32.c 		save_v86_state(regs, VM86_UNKNOWN);
regs              732 arch/x86/kernel/vm86_32.c 		save_v86_state(regs, VM86_STI);
regs              738 arch/x86/kernel/vm86_32.c 		save_v86_state(regs, VM86_PICRETURN);
regs              742 arch/x86/kernel/vm86_32.c 		handle_vm86_trap(regs, 0, X86_TRAP_DB);
regs              756 arch/x86/kernel/vm86_32.c 	save_v86_state(regs, VM86_UNKNOWN);
regs               15 arch/x86/kvm/kvm_cache_regs.h 	return vcpu->arch.regs[VCPU_REGS_##uname];			      \
regs               20 arch/x86/kvm/kvm_cache_regs.h 	vcpu->arch.regs[VCPU_REGS_##uname] = val;			      \
regs               46 arch/x86/kvm/kvm_cache_regs.h 	return vcpu->arch.regs[reg];
regs               53 arch/x86/kvm/kvm_cache_regs.h 	vcpu->arch.regs[reg] = val;
regs               85 arch/x86/kvm/lapic.c 	return apic_test_vector(vector, apic->regs + APIC_ISR) ||
regs               86 arch/x86/kvm/lapic.c 		apic_test_vector(vector, apic->regs + APIC_IRR);
regs              385 arch/x86/kvm/lapic.c bool __kvm_apic_update_irr(u32 *pir, void *regs, int *max_irr)
regs              396 arch/x86/kvm/lapic.c 		irr_val = *((u32 *)(regs + APIC_IRR + i * 0x10));
regs              400 arch/x86/kvm/lapic.c 			*((u32 *)(regs + APIC_IRR + i * 0x10)) = irr_val;
regs              419 arch/x86/kvm/lapic.c 	return __kvm_apic_update_irr(pir, apic->regs, max_irr);
regs              425 arch/x86/kvm/lapic.c 	return find_highest_vector(apic->regs + APIC_IRR);
regs              453 arch/x86/kvm/lapic.c 		kvm_lapic_clear_vector(vec, apic->regs + APIC_IRR);
regs              458 arch/x86/kvm/lapic.c 		kvm_lapic_clear_vector(vec, apic->regs + APIC_IRR);
regs              468 arch/x86/kvm/lapic.c 	if (__apic_test_and_set_vector(vec, apic->regs + APIC_ISR))
regs              505 arch/x86/kvm/lapic.c 	result = find_highest_vector(apic->regs + APIC_ISR);
regs              514 arch/x86/kvm/lapic.c 	if (!__apic_test_and_clear_vector(vec, apic->regs + APIC_ISR))
regs             1052 arch/x86/kvm/lapic.c 		if (apic_test_vector(vector, apic->regs + APIC_TMR) != !!trig_mode) {
regs             1055 arch/x86/kvm/lapic.c 						     apic->regs + APIC_TMR);
regs             1058 arch/x86/kvm/lapic.c 						       apic->regs + APIC_TMR);
regs             1151 arch/x86/kvm/lapic.c 	if (apic_test_vector(vector, apic->regs + APIC_TMR))
regs             1447 arch/x86/kvm/lapic.c 		void *bitmap = apic->regs + APIC_ISR;
regs             1450 arch/x86/kvm/lapic.c 			bitmap = apic->regs + APIC_IRR;
regs             2062 arch/x86/kvm/lapic.c 	if (apic->regs)
regs             2063 arch/x86/kvm/lapic.c 		free_page((unsigned long)apic->regs);
regs             2293 arch/x86/kvm/lapic.c 	apic->regs = (void *)get_zeroed_page(GFP_KERNEL_ACCOUNT);
regs             2294 arch/x86/kvm/lapic.c 	if (!apic->regs) {
regs             2405 arch/x86/kvm/lapic.c 		u32 *id = (u32 *)(s->regs + APIC_ID);
regs             2406 arch/x86/kvm/lapic.c 		u32 *ldr = (u32 *)(s->regs + APIC_LDR);
regs             2428 arch/x86/kvm/lapic.c 	memcpy(s->regs, vcpu->arch.apic->regs, sizeof(*s));
regs             2440 arch/x86/kvm/lapic.c 	apic_set_spiv(apic, *((u32 *)(s->regs + APIC_SPIV)));
regs             2445 arch/x86/kvm/lapic.c 	memcpy(vcpu->arch.apic->regs, s->regs, sizeof(*s));
regs             2458 arch/x86/kvm/lapic.c 				1 : count_vectors(apic->regs + APIC_ISR);
regs               58 arch/x86/kvm/lapic.h 	void *regs;
regs               87 arch/x86/kvm/lapic.h bool __kvm_apic_update_irr(u32 *pir, void *regs, int *max_irr);
regs              144 arch/x86/kvm/lapic.h 	kvm_lapic_set_vector(vec, apic->regs + APIC_IRR);
regs              154 arch/x86/kvm/lapic.h 	return *((u32 *) (apic->regs + reg_off));
regs              159 arch/x86/kvm/lapic.h 	*((u32 *) (apic->regs + reg_off)) = val;
regs               60 arch/x86/kvm/pmu.c 			      struct pt_regs *regs)
regs               74 arch/x86/kvm/pmu.c 				   struct pt_regs *regs)
regs             1629 arch/x86/kvm/svm.c 	svm->vcpu.arch.regs[VCPU_REGS_RIP] = save->rip;
regs             1754 arch/x86/kvm/svm.c 	if (!svm->vcpu.arch.apic->regs)
regs             1757 arch/x86/kvm/svm.c 	svm->avic_backing_page = virt_to_page(svm->vcpu.arch.apic->regs);
regs             3183 arch/x86/kvm/svm.c 	msr    = svm->vcpu.arch.regs[VCPU_REGS_RCX];
regs             5654 arch/x86/kvm/svm.c 	svm->vmcb->save.rax = vcpu->arch.regs[VCPU_REGS_RAX];
regs             5655 arch/x86/kvm/svm.c 	svm->vmcb->save.rsp = vcpu->arch.regs[VCPU_REGS_RSP];
regs             5656 arch/x86/kvm/svm.c 	svm->vmcb->save.rip = vcpu->arch.regs[VCPU_REGS_RIP];
regs             5769 arch/x86/kvm/svm.c 		  [rbx]"i"(offsetof(struct vcpu_svm, vcpu.arch.regs[VCPU_REGS_RBX])),
regs             5770 arch/x86/kvm/svm.c 		  [rcx]"i"(offsetof(struct vcpu_svm, vcpu.arch.regs[VCPU_REGS_RCX])),
regs             5771 arch/x86/kvm/svm.c 		  [rdx]"i"(offsetof(struct vcpu_svm, vcpu.arch.regs[VCPU_REGS_RDX])),
regs             5772 arch/x86/kvm/svm.c 		  [rsi]"i"(offsetof(struct vcpu_svm, vcpu.arch.regs[VCPU_REGS_RSI])),
regs             5773 arch/x86/kvm/svm.c 		  [rdi]"i"(offsetof(struct vcpu_svm, vcpu.arch.regs[VCPU_REGS_RDI])),
regs             5774 arch/x86/kvm/svm.c 		  [rbp]"i"(offsetof(struct vcpu_svm, vcpu.arch.regs[VCPU_REGS_RBP]))
regs             5776 arch/x86/kvm/svm.c 		  , [r8]"i"(offsetof(struct vcpu_svm, vcpu.arch.regs[VCPU_REGS_R8])),
regs             5777 arch/x86/kvm/svm.c 		  [r9]"i"(offsetof(struct vcpu_svm, vcpu.arch.regs[VCPU_REGS_R9])),
regs             5778 arch/x86/kvm/svm.c 		  [r10]"i"(offsetof(struct vcpu_svm, vcpu.arch.regs[VCPU_REGS_R10])),
regs             5779 arch/x86/kvm/svm.c 		  [r11]"i"(offsetof(struct vcpu_svm, vcpu.arch.regs[VCPU_REGS_R11])),
regs             5780 arch/x86/kvm/svm.c 		  [r12]"i"(offsetof(struct vcpu_svm, vcpu.arch.regs[VCPU_REGS_R12])),
regs             5781 arch/x86/kvm/svm.c 		  [r13]"i"(offsetof(struct vcpu_svm, vcpu.arch.regs[VCPU_REGS_R13])),
regs             5782 arch/x86/kvm/svm.c 		  [r14]"i"(offsetof(struct vcpu_svm, vcpu.arch.regs[VCPU_REGS_R14])),
regs             5783 arch/x86/kvm/svm.c 		  [r15]"i"(offsetof(struct vcpu_svm, vcpu.arch.regs[VCPU_REGS_R15]))
regs             5831 arch/x86/kvm/svm.c 	vcpu->arch.regs[VCPU_REGS_RAX] = svm->vmcb->save.rax;
regs             5832 arch/x86/kvm/svm.c 	vcpu->arch.regs[VCPU_REGS_RSP] = svm->vmcb->save.rsp;
regs             5833 arch/x86/kvm/svm.c 	vcpu->arch.regs[VCPU_REGS_RIP] = svm->vmcb->save.rip;
regs             6285 arch/x86/kvm/svm.c 		svm->vmcb->save.rax = vcpu->arch.regs[VCPU_REGS_RAX];
regs             6286 arch/x86/kvm/svm.c 		svm->vmcb->save.rsp = vcpu->arch.regs[VCPU_REGS_RSP];
regs             6287 arch/x86/kvm/svm.c 		svm->vmcb->save.rip = vcpu->arch.regs[VCPU_REGS_RIP];
regs             2169 arch/x86/kvm/vmx/vmx.c 		vcpu->arch.regs[VCPU_REGS_RSP] = vmcs_readl(GUEST_RSP);
regs             2172 arch/x86/kvm/vmx/vmx.c 		vcpu->arch.regs[VCPU_REGS_RIP] = vmcs_readl(GUEST_RIP);
regs             4266 arch/x86/kvm/vmx/vmx.c 	vmx->vcpu.arch.regs[VCPU_REGS_RDX] = get_rdx_init_val();
regs             4331 arch/x86/kvm/vmx/vmx.c 				     __pa(vcpu->arch.apic->regs));
regs             4579 arch/x86/kvm/vmx/vmx.c 	struct pt_regs regs = {
regs             4584 arch/x86/kvm/vmx/vmx.c 	do_machine_check(&regs, 0);
regs             6481 arch/x86/kvm/vmx/vmx.c bool __vmx_vcpu_run(struct vcpu_vmx *vmx, unsigned long *regs, bool launched);
regs             6507 arch/x86/kvm/vmx/vmx.c 		vmcs_writel(GUEST_RSP, vcpu->arch.regs[VCPU_REGS_RSP]);
regs             6509 arch/x86/kvm/vmx/vmx.c 		vmcs_writel(GUEST_RIP, vcpu->arch.regs[VCPU_REGS_RIP]);
regs             6562 arch/x86/kvm/vmx/vmx.c 	vmx->fail = __vmx_vcpu_run(vmx, (unsigned long *)&vcpu->arch.regs,
regs             8628 arch/x86/kvm/x86.c static void __get_regs(struct kvm_vcpu *vcpu, struct kvm_regs *regs)
regs             8641 arch/x86/kvm/x86.c 	regs->rax = kvm_rax_read(vcpu);
regs             8642 arch/x86/kvm/x86.c 	regs->rbx = kvm_rbx_read(vcpu);
regs             8643 arch/x86/kvm/x86.c 	regs->rcx = kvm_rcx_read(vcpu);
regs             8644 arch/x86/kvm/x86.c 	regs->rdx = kvm_rdx_read(vcpu);
regs             8645 arch/x86/kvm/x86.c 	regs->rsi = kvm_rsi_read(vcpu);
regs             8646 arch/x86/kvm/x86.c 	regs->rdi = kvm_rdi_read(vcpu);
regs             8647 arch/x86/kvm/x86.c 	regs->rsp = kvm_rsp_read(vcpu);
regs             8648 arch/x86/kvm/x86.c 	regs->rbp = kvm_rbp_read(vcpu);
regs             8650 arch/x86/kvm/x86.c 	regs->r8 = kvm_r8_read(vcpu);
regs             8651 arch/x86/kvm/x86.c 	regs->r9 = kvm_r9_read(vcpu);
regs             8652 arch/x86/kvm/x86.c 	regs->r10 = kvm_r10_read(vcpu);
regs             8653 arch/x86/kvm/x86.c 	regs->r11 = kvm_r11_read(vcpu);
regs             8654 arch/x86/kvm/x86.c 	regs->r12 = kvm_r12_read(vcpu);
regs             8655 arch/x86/kvm/x86.c 	regs->r13 = kvm_r13_read(vcpu);
regs             8656 arch/x86/kvm/x86.c 	regs->r14 = kvm_r14_read(vcpu);
regs             8657 arch/x86/kvm/x86.c 	regs->r15 = kvm_r15_read(vcpu);
regs             8660 arch/x86/kvm/x86.c 	regs->rip = kvm_rip_read(vcpu);
regs             8661 arch/x86/kvm/x86.c 	regs->rflags = kvm_get_rflags(vcpu);
regs             8664 arch/x86/kvm/x86.c int kvm_arch_vcpu_ioctl_get_regs(struct kvm_vcpu *vcpu, struct kvm_regs *regs)
regs             8667 arch/x86/kvm/x86.c 	__get_regs(vcpu, regs);
regs             8672 arch/x86/kvm/x86.c static void __set_regs(struct kvm_vcpu *vcpu, struct kvm_regs *regs)
regs             8677 arch/x86/kvm/x86.c 	kvm_rax_write(vcpu, regs->rax);
regs             8678 arch/x86/kvm/x86.c 	kvm_rbx_write(vcpu, regs->rbx);
regs             8679 arch/x86/kvm/x86.c 	kvm_rcx_write(vcpu, regs->rcx);
regs             8680 arch/x86/kvm/x86.c 	kvm_rdx_write(vcpu, regs->rdx);
regs             8681 arch/x86/kvm/x86.c 	kvm_rsi_write(vcpu, regs->rsi);
regs             8682 arch/x86/kvm/x86.c 	kvm_rdi_write(vcpu, regs->rdi);
regs             8683 arch/x86/kvm/x86.c 	kvm_rsp_write(vcpu, regs->rsp);
regs             8684 arch/x86/kvm/x86.c 	kvm_rbp_write(vcpu, regs->rbp);
regs             8686 arch/x86/kvm/x86.c 	kvm_r8_write(vcpu, regs->r8);
regs             8687 arch/x86/kvm/x86.c 	kvm_r9_write(vcpu, regs->r9);
regs             8688 arch/x86/kvm/x86.c 	kvm_r10_write(vcpu, regs->r10);
regs             8689 arch/x86/kvm/x86.c 	kvm_r11_write(vcpu, regs->r11);
regs             8690 arch/x86/kvm/x86.c 	kvm_r12_write(vcpu, regs->r12);
regs             8691 arch/x86/kvm/x86.c 	kvm_r13_write(vcpu, regs->r13);
regs             8692 arch/x86/kvm/x86.c 	kvm_r14_write(vcpu, regs->r14);
regs             8693 arch/x86/kvm/x86.c 	kvm_r15_write(vcpu, regs->r15);
regs             8696 arch/x86/kvm/x86.c 	kvm_rip_write(vcpu, regs->rip);
regs             8697 arch/x86/kvm/x86.c 	kvm_set_rflags(vcpu, regs->rflags | X86_EFLAGS_FIXED);
regs             8704 arch/x86/kvm/x86.c int kvm_arch_vcpu_ioctl_set_regs(struct kvm_vcpu *vcpu, struct kvm_regs *regs)
regs             8707 arch/x86/kvm/x86.c 	__set_regs(vcpu, regs);
regs             9090 arch/x86/kvm/x86.c 		__get_regs(vcpu, &vcpu->run->s.regs.regs);
regs             9093 arch/x86/kvm/x86.c 		__get_sregs(vcpu, &vcpu->run->s.regs.sregs);
regs             9097 arch/x86/kvm/x86.c 				vcpu, &vcpu->run->s.regs.events);
regs             9106 arch/x86/kvm/x86.c 		__set_regs(vcpu, &vcpu->run->s.regs.regs);
regs             9110 arch/x86/kvm/x86.c 		if (__set_sregs(vcpu, &vcpu->run->s.regs.sregs))
regs             9116 arch/x86/kvm/x86.c 				vcpu, &vcpu->run->s.regs.events))
regs             9276 arch/x86/kvm/x86.c 	memset(vcpu->arch.regs, 0, sizeof(vcpu->arch.regs));
regs               17 arch/x86/lib/error-inject.c void override_function_with_return(struct pt_regs *regs)
regs               19 arch/x86/lib/error-inject.c 	regs->ip = (unsigned long)&just_return_func;
regs              156 arch/x86/lib/insn-eval.c static int resolve_default_seg(struct insn *insn, struct pt_regs *regs, int off)
regs              158 arch/x86/lib/insn-eval.c 	if (user_64bit_mode(regs))
regs              258 arch/x86/lib/insn-eval.c static int resolve_seg_reg(struct insn *insn, struct pt_regs *regs, int regoff)
regs              269 arch/x86/lib/insn-eval.c 		if (user_64bit_mode(regs))
regs              279 arch/x86/lib/insn-eval.c 		return resolve_default_seg(insn, regs, regoff);
regs              286 arch/x86/lib/insn-eval.c 		return resolve_default_seg(insn, regs, regoff);
regs              292 arch/x86/lib/insn-eval.c 	if (user_64bit_mode(regs)) {
regs              320 arch/x86/lib/insn-eval.c static short get_segment_selector(struct pt_regs *regs, int seg_reg_idx)
regs              329 arch/x86/lib/insn-eval.c 		return (unsigned short)(regs->cs & 0xffff);
regs              331 arch/x86/lib/insn-eval.c 		return (unsigned short)(regs->ss & 0xffff);
regs              348 arch/x86/lib/insn-eval.c 	struct kernel_vm86_regs *vm86regs = (struct kernel_vm86_regs *)regs;
regs              350 arch/x86/lib/insn-eval.c 	if (v8086_mode(regs)) {
regs              353 arch/x86/lib/insn-eval.c 			return (unsigned short)(regs->cs & 0xffff);
regs              355 arch/x86/lib/insn-eval.c 			return (unsigned short)(regs->ss & 0xffff);
regs              373 arch/x86/lib/insn-eval.c 		return (unsigned short)(regs->cs & 0xffff);
regs              375 arch/x86/lib/insn-eval.c 		return (unsigned short)(regs->ss & 0xffff);
regs              377 arch/x86/lib/insn-eval.c 		return (unsigned short)(regs->ds & 0xffff);
regs              379 arch/x86/lib/insn-eval.c 		return (unsigned short)(regs->es & 0xffff);
regs              381 arch/x86/lib/insn-eval.c 		return (unsigned short)(regs->fs & 0xffff);
regs              387 arch/x86/lib/insn-eval.c 		return get_user_gs(regs);
regs              396 arch/x86/lib/insn-eval.c static int get_reg_offset(struct insn *insn, struct pt_regs *regs,
regs              502 arch/x86/lib/insn-eval.c static int get_reg_offset_16(struct insn *insn, struct pt_regs *regs,
regs              537 arch/x86/lib/insn-eval.c 		*offs1 = insn_get_modrm_rm_off(insn, regs);
regs              633 arch/x86/lib/insn-eval.c unsigned long insn_get_seg_base(struct pt_regs *regs, int seg_reg_idx)
regs              638 arch/x86/lib/insn-eval.c 	sel = get_segment_selector(regs, seg_reg_idx);
regs              642 arch/x86/lib/insn-eval.c 	if (v8086_mode(regs))
regs              649 arch/x86/lib/insn-eval.c 	if (user_64bit_mode(regs)) {
regs              696 arch/x86/lib/insn-eval.c static unsigned long get_seg_limit(struct pt_regs *regs, int seg_reg_idx)
regs              702 arch/x86/lib/insn-eval.c 	sel = get_segment_selector(regs, seg_reg_idx);
regs              706 arch/x86/lib/insn-eval.c 	if (user_64bit_mode(regs) || v8086_mode(regs))
regs              744 arch/x86/lib/insn-eval.c int insn_get_code_seg_params(struct pt_regs *regs)
regs              749 arch/x86/lib/insn-eval.c 	if (v8086_mode(regs))
regs              753 arch/x86/lib/insn-eval.c 	sel = get_segment_selector(regs, INAT_SEG_REG_CS);
regs              803 arch/x86/lib/insn-eval.c int insn_get_modrm_rm_off(struct insn *insn, struct pt_regs *regs)
regs              805 arch/x86/lib/insn-eval.c 	return get_reg_offset(insn, regs, REG_TYPE_RM);
regs              829 arch/x86/lib/insn-eval.c static int get_seg_base_limit(struct insn *insn, struct pt_regs *regs,
regs              838 arch/x86/lib/insn-eval.c 	seg_reg_idx = resolve_seg_reg(insn, regs, regoff);
regs              842 arch/x86/lib/insn-eval.c 	*base = insn_get_seg_base(regs, seg_reg_idx);
regs              849 arch/x86/lib/insn-eval.c 	*limit = get_seg_limit(regs, seg_reg_idx);
regs              879 arch/x86/lib/insn-eval.c static int get_eff_addr_reg(struct insn *insn, struct pt_regs *regs,
regs              890 arch/x86/lib/insn-eval.c 	*regoff = get_reg_offset(insn, regs, REG_TYPE_RM);
regs              896 arch/x86/lib/insn-eval.c 		*eff_addr = regs_get_register(regs, *regoff) & 0xffff;
regs              898 arch/x86/lib/insn-eval.c 		*eff_addr = regs_get_register(regs, *regoff) & 0xffffffff;
regs              900 arch/x86/lib/insn-eval.c 		*eff_addr = regs_get_register(regs, *regoff);
regs              927 arch/x86/lib/insn-eval.c static int get_eff_addr_modrm(struct insn *insn, struct pt_regs *regs,
regs              943 arch/x86/lib/insn-eval.c 	*regoff = get_reg_offset(insn, regs, REG_TYPE_RM);
regs              951 arch/x86/lib/insn-eval.c 		if (user_64bit_mode(regs))
regs              952 arch/x86/lib/insn-eval.c 			tmp = regs->ip + insn->length;
regs              958 arch/x86/lib/insn-eval.c 		tmp = regs_get_register(regs, *regoff);
regs              994 arch/x86/lib/insn-eval.c static int get_eff_addr_modrm_16(struct insn *insn, struct pt_regs *regs,
regs             1011 arch/x86/lib/insn-eval.c 	ret = get_reg_offset_16(insn, regs, &addr_offset1, &addr_offset2);
regs             1021 arch/x86/lib/insn-eval.c 		addr1 = regs_get_register(regs, addr_offset1) & 0xffff;
regs             1024 arch/x86/lib/insn-eval.c 		addr2 = regs_get_register(regs, addr_offset2) & 0xffff;
regs             1062 arch/x86/lib/insn-eval.c static int get_eff_addr_sib(struct insn *insn, struct pt_regs *regs,
regs             1084 arch/x86/lib/insn-eval.c 	*base_offset = get_reg_offset(insn, regs, REG_TYPE_BASE);
regs             1085 arch/x86/lib/insn-eval.c 	indx_offset = get_reg_offset(insn, regs, REG_TYPE_INDEX);
regs             1097 arch/x86/lib/insn-eval.c 		base = regs_get_register(regs, *base_offset);
regs             1104 arch/x86/lib/insn-eval.c 		indx = regs_get_register(regs, indx_offset);
regs             1141 arch/x86/lib/insn-eval.c static void __user *get_addr_ref_16(struct insn *insn, struct pt_regs *regs)
regs             1155 arch/x86/lib/insn-eval.c 		ret = get_eff_addr_reg(insn, regs, &regoff, &tmp);
regs             1161 arch/x86/lib/insn-eval.c 		ret = get_eff_addr_modrm_16(insn, regs, &regoff, &eff_addr);
regs             1166 arch/x86/lib/insn-eval.c 	ret = get_seg_base_limit(insn, regs, regoff, &seg_base, &seg_limit);
regs             1182 arch/x86/lib/insn-eval.c 	if (v8086_mode(regs))
regs             1205 arch/x86/lib/insn-eval.c static void __user *get_addr_ref_32(struct insn *insn, struct pt_regs *regs)
regs             1216 arch/x86/lib/insn-eval.c 		ret = get_eff_addr_reg(insn, regs, &regoff, &tmp);
regs             1224 arch/x86/lib/insn-eval.c 			ret = get_eff_addr_sib(insn, regs, &regoff, &tmp);
regs             1230 arch/x86/lib/insn-eval.c 			ret = get_eff_addr_modrm(insn, regs, &regoff, &tmp);
regs             1238 arch/x86/lib/insn-eval.c 	ret = get_seg_base_limit(insn, regs, regoff, &seg_base, &seg_limit);
regs             1253 arch/x86/lib/insn-eval.c 	if (!user_64bit_mode(regs) && ((unsigned int)eff_addr > seg_limit))
regs             1260 arch/x86/lib/insn-eval.c 	if (v8086_mode(regs) && (eff_addr & ~0xffff))
regs             1271 arch/x86/lib/insn-eval.c 	if (v8086_mode(regs))
regs             1294 arch/x86/lib/insn-eval.c static void __user *get_addr_ref_64(struct insn *insn, struct pt_regs *regs)
regs             1299 arch/x86/lib/insn-eval.c static void __user *get_addr_ref_64(struct insn *insn, struct pt_regs *regs)
regs             1309 arch/x86/lib/insn-eval.c 		ret = get_eff_addr_reg(insn, regs, &regoff, &eff_addr);
regs             1315 arch/x86/lib/insn-eval.c 			ret = get_eff_addr_sib(insn, regs, &regoff, &eff_addr);
regs             1319 arch/x86/lib/insn-eval.c 			ret = get_eff_addr_modrm(insn, regs, &regoff, &eff_addr);
regs             1326 arch/x86/lib/insn-eval.c 	ret = get_seg_base_limit(insn, regs, regoff, &seg_base, NULL);
regs             1352 arch/x86/lib/insn-eval.c void __user *insn_get_addr_ref(struct insn *insn, struct pt_regs *regs)
regs             1354 arch/x86/lib/insn-eval.c 	if (!insn || !regs)
regs             1359 arch/x86/lib/insn-eval.c 		return get_addr_ref_16(insn, regs);
regs             1361 arch/x86/lib/insn-eval.c 		return get_addr_ref_32(insn, regs);
regs             1363 arch/x86/lib/insn-eval.c 		return get_addr_ref_64(insn, regs);
regs              246 arch/x86/lib/msr-smp.c 	rv->err = rdmsr_safe_regs(rv->regs);
regs              253 arch/x86/lib/msr-smp.c 	rv->err = wrmsr_safe_regs(rv->regs);
regs              256 arch/x86/lib/msr-smp.c int rdmsr_safe_regs_on_cpu(unsigned int cpu, u32 *regs)
regs              261 arch/x86/lib/msr-smp.c 	rv.regs   = regs;
regs              269 arch/x86/lib/msr-smp.c int wrmsr_safe_regs_on_cpu(unsigned int cpu, u32 *regs)
regs              274 arch/x86/lib/msr-smp.c 	rv.regs = regs;
regs               79 arch/x86/math-emu/fpu_system.h #define FPU_CS			(*(unsigned short *) &(FPU_info->regs->cs))
regs               80 arch/x86/math-emu/fpu_system.h #define FPU_SS			(*(unsigned short *) &(FPU_info->regs->ss))
regs               81 arch/x86/math-emu/fpu_system.h #define FPU_DS			(*(unsigned short *) &(FPU_info->regs->ds))
regs               82 arch/x86/math-emu/fpu_system.h #define FPU_EAX			(FPU_info->regs->ax)
regs               83 arch/x86/math-emu/fpu_system.h #define FPU_EFLAGS		(FPU_info->regs->flags)
regs               84 arch/x86/math-emu/fpu_system.h #define FPU_EIP			(FPU_info->regs->ip)
regs               43 arch/x86/math-emu/get_address.c #define REG_(x) (*(long *)(reg_offset[(x)] + (u_char *)FPU_info->regs))
regs               56 arch/x86/math-emu/get_address.c 		(reg_offset_vm86[((unsigned)x)] + (u_char *)FPU_info->regs))
regs               69 arch/x86/math-emu/get_address.c 		(reg_offset_pm[((unsigned)x)] + (u_char *)FPU_info->regs))
regs              156 arch/x86/math-emu/get_address.c 		addr->selector = get_user_gs(FPU_info->regs);
regs              349 arch/x86/math-emu/get_address.c 		address += FPU_info->regs->bx + FPU_info->regs->si;
regs              352 arch/x86/math-emu/get_address.c 		address += FPU_info->regs->bx + FPU_info->regs->di;
regs              355 arch/x86/math-emu/get_address.c 		address += FPU_info->regs->bp + FPU_info->regs->si;
regs              360 arch/x86/math-emu/get_address.c 		address += FPU_info->regs->bp + FPU_info->regs->di;
regs              365 arch/x86/math-emu/get_address.c 		address += FPU_info->regs->si;
regs              368 arch/x86/math-emu/get_address.c 		address += FPU_info->regs->di;
regs              371 arch/x86/math-emu/get_address.c 		address += FPU_info->regs->bp;
regs              376 arch/x86/math-emu/get_address.c 		address += FPU_info->regs->bx;
regs               27 arch/x86/mm/extable.c 				  struct pt_regs *regs, int trapnr,
regs               31 arch/x86/mm/extable.c 	regs->ip = ex_fixup_addr(fixup);
regs               37 arch/x86/mm/extable.c 				struct pt_regs *regs, int trapnr,
regs               41 arch/x86/mm/extable.c 	regs->ip = ex_fixup_addr(fixup);
regs               42 arch/x86/mm/extable.c 	regs->ax = trapnr;
regs               52 arch/x86/mm/extable.c 				   struct pt_regs *regs, int trapnr,
regs               57 arch/x86/mm/extable.c 	*(int *)regs->cx = INT_MIN / 2;
regs               68 arch/x86/mm/extable.c 	regs->ip = ex_fixup_addr(fixup);
regs               83 arch/x86/mm/extable.c 	if (regs->flags & (X86_EFLAGS_OF | X86_EFLAGS_ZF)) {
regs               84 arch/x86/mm/extable.c 		bool zero = regs->flags & X86_EFLAGS_ZF;
regs               86 arch/x86/mm/extable.c 		refcount_error_report(regs, zero ? "hit zero" : "overflow");
regs               87 arch/x86/mm/extable.c 	} else if ((regs->flags & X86_EFLAGS_SF) == 0) {
regs               89 arch/x86/mm/extable.c 		refcount_error_report(regs, "unexpected saturation");
regs              107 arch/x86/mm/extable.c 				    struct pt_regs *regs, int trapnr,
regs              111 arch/x86/mm/extable.c 	regs->ip = ex_fixup_addr(fixup);
regs              114 arch/x86/mm/extable.c 		  (void *)instruction_pointer(regs));
regs              122 arch/x86/mm/extable.c 				  struct pt_regs *regs, int trapnr,
regs              127 arch/x86/mm/extable.c 	regs->ip = ex_fixup_addr(fixup);
regs              133 arch/x86/mm/extable.c 			      struct pt_regs *regs, int trapnr,
regs              139 arch/x86/mm/extable.c 	regs->ip = ex_fixup_addr(fixup);
regs              145 arch/x86/mm/extable.c 				       struct pt_regs *regs, int trapnr,
regs              150 arch/x86/mm/extable.c 			 (unsigned int)regs->cx, regs->ip, (void *)regs->ip))
regs              151 arch/x86/mm/extable.c 		show_stack_regs(regs);
regs              154 arch/x86/mm/extable.c 	regs->ip = ex_fixup_addr(fixup);
regs              155 arch/x86/mm/extable.c 	regs->ax = 0;
regs              156 arch/x86/mm/extable.c 	regs->dx = 0;
regs              162 arch/x86/mm/extable.c 				       struct pt_regs *regs, int trapnr,
regs              167 arch/x86/mm/extable.c 			 (unsigned int)regs->cx, (unsigned int)regs->dx,
regs              168 arch/x86/mm/extable.c 			 (unsigned int)regs->ax,  regs->ip, (void *)regs->ip))
regs              169 arch/x86/mm/extable.c 		show_stack_regs(regs);
regs              172 arch/x86/mm/extable.c 	regs->ip = ex_fixup_addr(fixup);
regs              178 arch/x86/mm/extable.c 				   struct pt_regs *regs, int trapnr,
regs              185 arch/x86/mm/extable.c 	return ex_handler_default(fixup, regs, trapnr, error_code, fault_addr);
regs              202 arch/x86/mm/extable.c int fixup_exception(struct pt_regs *regs, int trapnr, unsigned long error_code,
regs              209 arch/x86/mm/extable.c 	if (unlikely(SEGMENT_IS_PNP_CODE(regs->cs))) {
regs              222 arch/x86/mm/extable.c 	e = search_exception_tables(regs->ip);
regs              227 arch/x86/mm/extable.c 	return handler(e, regs, trapnr, error_code, fault_addr);
regs              233 arch/x86/mm/extable.c void __init early_fixup_exception(struct pt_regs *regs, int trapnr)
regs              248 arch/x86/mm/extable.c 	if (!xen_pv_domain() && regs->cs != __KERNEL_CS)
regs              265 arch/x86/mm/extable.c 	if (fixup_exception(regs, trapnr, regs->orig_ax, 0))
regs              268 arch/x86/mm/extable.c 	if (fixup_bug(regs, trapnr))
regs              273 arch/x86/mm/extable.c 		     (unsigned)trapnr, (unsigned long)regs->cs, regs->ip,
regs              274 arch/x86/mm/extable.c 		     regs->orig_ax, read_cr2());
regs              276 arch/x86/mm/extable.c 	show_regs(regs);
regs               41 arch/x86/mm/fault.c kmmio_fault(struct pt_regs *regs, unsigned long addr)
regs               44 arch/x86/mm/fault.c 		if (kmmio_handler(regs, addr) == 1)
regs               65 arch/x86/mm/fault.c check_prefetch_opcode(struct pt_regs *regs, unsigned char *instr,
regs               90 arch/x86/mm/fault.c 		return (!user_mode(regs) || user_64bit_mode(regs));
regs              112 arch/x86/mm/fault.c is_prefetch(struct pt_regs *regs, unsigned long error_code, unsigned long addr)
regs              125 arch/x86/mm/fault.c 	instr = (void *)convert_ip_to_linear(current, regs);
regs              128 arch/x86/mm/fault.c 	if (user_mode(regs) && instr >= (unsigned char *)TASK_SIZE_MAX)
regs              139 arch/x86/mm/fault.c 		if (!check_prefetch_opcode(regs, instr, opcode, &prefetch))
regs              271 arch/x86/mm/fault.c check_v8086_mode(struct pt_regs *regs, unsigned long address,
regs              277 arch/x86/mm/fault.c 	if (!v8086_mode(regs) || !tsk->thread.vm86)
regs              434 arch/x86/mm/fault.c check_v8086_mode(struct pt_regs *regs, unsigned long address,
regs              515 arch/x86/mm/fault.c static int is_errata93(struct pt_regs *regs, unsigned long address)
regs              522 arch/x86/mm/fault.c 	if (address != regs->ip)
regs              532 arch/x86/mm/fault.c 		regs->ip = address;
regs              547 arch/x86/mm/fault.c static int is_errata100(struct pt_regs *regs, unsigned long address)
regs              550 arch/x86/mm/fault.c 	if ((regs->cs == __USER32_CS || (regs->cs & (1<<2))) && (address >> 32))
regs              556 arch/x86/mm/fault.c static int is_f00f_bug(struct pt_regs *regs, unsigned long address)
regs              568 arch/x86/mm/fault.c 			do_invalid_op(regs, 0);
regs              608 arch/x86/mm/fault.c show_fault_oops(struct pt_regs *regs, unsigned long error_code, unsigned long address)
regs              633 arch/x86/mm/fault.c 	if (address < PAGE_SIZE && !user_mode(regs))
regs              645 arch/x86/mm/fault.c 			     user_mode(regs) ? "user" : "kernel");
regs              652 arch/x86/mm/fault.c 	if (!(error_code & X86_PF_USER) && user_mode(regs)) {
regs              685 arch/x86/mm/fault.c pgtable_bad(struct pt_regs *regs, unsigned long error_code,
regs              700 arch/x86/mm/fault.c 	if (__die("Bad pagetable", regs, error_code))
regs              703 arch/x86/mm/fault.c 	oops_end(flags, regs, sig);
regs              729 arch/x86/mm/fault.c no_context(struct pt_regs *regs, unsigned long error_code,
regs              736 arch/x86/mm/fault.c 	if (user_mode(regs)) {
regs              746 arch/x86/mm/fault.c 	if (fixup_exception(regs, X86_TRAP_PF, error_code, address)) {
regs              799 arch/x86/mm/fault.c 				"S" (regs), "d" (address),
regs              816 arch/x86/mm/fault.c 	if (is_prefetch(regs, error_code, address))
regs              819 arch/x86/mm/fault.c 	if (is_errata93(regs, address))
regs              836 arch/x86/mm/fault.c 	show_fault_oops(regs, error_code, address);
regs              842 arch/x86/mm/fault.c 	if (__die("Oops", regs, error_code))
regs              848 arch/x86/mm/fault.c 	oops_end(flags, regs, sig);
regs              856 arch/x86/mm/fault.c show_signal_msg(struct pt_regs *regs, unsigned long error_code,
regs              869 arch/x86/mm/fault.c 		(void *)regs->ip, (void *)regs->sp, error_code);
regs              871 arch/x86/mm/fault.c 	print_vma_addr(KERN_CONT " in ", regs->ip);
regs              875 arch/x86/mm/fault.c 	show_opcodes(regs, loglvl);
regs              888 arch/x86/mm/fault.c __bad_area_nosemaphore(struct pt_regs *regs, unsigned long error_code,
regs              894 arch/x86/mm/fault.c 	if (user_mode(regs) && (error_code & X86_PF_USER)) {
regs              904 arch/x86/mm/fault.c 		if (is_prefetch(regs, error_code, address))
regs              907 arch/x86/mm/fault.c 		if (is_errata100(regs, address))
regs              919 arch/x86/mm/fault.c 			show_signal_msg(regs, error_code, address, tsk);
regs              931 arch/x86/mm/fault.c 	if (is_f00f_bug(regs, address))
regs              934 arch/x86/mm/fault.c 	no_context(regs, error_code, address, SIGSEGV, si_code);
regs              938 arch/x86/mm/fault.c bad_area_nosemaphore(struct pt_regs *regs, unsigned long error_code,
regs              941 arch/x86/mm/fault.c 	__bad_area_nosemaphore(regs, error_code, address, 0, SEGV_MAPERR);
regs              945 arch/x86/mm/fault.c __bad_area(struct pt_regs *regs, unsigned long error_code,
regs              955 arch/x86/mm/fault.c 	__bad_area_nosemaphore(regs, error_code, address, pkey, si_code);
regs              959 arch/x86/mm/fault.c bad_area(struct pt_regs *regs, unsigned long error_code, unsigned long address)
regs              961 arch/x86/mm/fault.c 	__bad_area(regs, error_code, address, 0, SEGV_MAPERR);
regs              982 arch/x86/mm/fault.c bad_area_access_error(struct pt_regs *regs, unsigned long error_code,
regs             1013 arch/x86/mm/fault.c 		__bad_area(regs, error_code, address, pkey, SEGV_PKUERR);
regs             1015 arch/x86/mm/fault.c 		__bad_area(regs, error_code, address, 0, SEGV_ACCERR);
regs             1020 arch/x86/mm/fault.c do_sigbus(struct pt_regs *regs, unsigned long error_code, unsigned long address,
regs             1025 arch/x86/mm/fault.c 		no_context(regs, error_code, address, SIGBUS, BUS_ADRERR);
regs             1030 arch/x86/mm/fault.c 	if (is_prefetch(regs, error_code, address))
regs             1055 arch/x86/mm/fault.c mm_fault_error(struct pt_regs *regs, unsigned long error_code,
regs             1059 arch/x86/mm/fault.c 		no_context(regs, error_code, address, 0, 0);
regs             1066 arch/x86/mm/fault.c 			no_context(regs, error_code, address,
regs             1080 arch/x86/mm/fault.c 			do_sigbus(regs, error_code, address, fault);
regs             1082 arch/x86/mm/fault.c 			bad_area_nosemaphore(regs, error_code, address);
regs             1249 arch/x86/mm/fault.c do_kern_addr_fault(struct pt_regs *regs, unsigned long hw_error_code,
regs             1287 arch/x86/mm/fault.c 	if (kprobe_page_fault(regs, X86_TRAP_PF))
regs             1298 arch/x86/mm/fault.c 	bad_area_nosemaphore(regs, hw_error_code, address);
regs             1304 arch/x86/mm/fault.c void do_user_addr_fault(struct pt_regs *regs,
regs             1318 arch/x86/mm/fault.c 	if (unlikely(kprobe_page_fault(regs, X86_TRAP_PF)))
regs             1326 arch/x86/mm/fault.c 		pgtable_bad(regs, hw_error_code, address);
regs             1337 arch/x86/mm/fault.c 		     !(regs->flags & X86_EFLAGS_AC)))
regs             1339 arch/x86/mm/fault.c 		bad_area_nosemaphore(regs, hw_error_code, address);
regs             1348 arch/x86/mm/fault.c 		bad_area_nosemaphore(regs, hw_error_code, address);
regs             1359 arch/x86/mm/fault.c 	if (user_mode(regs)) {
regs             1363 arch/x86/mm/fault.c 		if (regs->flags & X86_EFLAGS_IF)
regs             1367 arch/x86/mm/fault.c 	perf_sw_event(PERF_COUNT_SW_PAGE_FAULTS, 1, regs, address);
regs             1387 arch/x86/mm/fault.c 		if (emulate_vsyscall(hw_error_code, regs, address))
regs             1405 arch/x86/mm/fault.c 		if (!user_mode(regs) && !search_exception_tables(regs->ip)) {
regs             1410 arch/x86/mm/fault.c 			bad_area_nosemaphore(regs, hw_error_code, address);
regs             1426 arch/x86/mm/fault.c 		bad_area(regs, hw_error_code, address);
regs             1432 arch/x86/mm/fault.c 		bad_area(regs, hw_error_code, address);
regs             1436 arch/x86/mm/fault.c 		bad_area(regs, hw_error_code, address);
regs             1446 arch/x86/mm/fault.c 		bad_area_access_error(regs, hw_error_code, address, vma);
regs             1485 arch/x86/mm/fault.c 		no_context(regs, hw_error_code, address, SIGBUS, BUS_ADRERR);
regs             1491 arch/x86/mm/fault.c 		mm_fault_error(regs, hw_error_code, address, fault);
regs             1501 arch/x86/mm/fault.c 		perf_sw_event(PERF_COUNT_SW_PAGE_FAULTS_MAJ, 1, regs, address);
regs             1504 arch/x86/mm/fault.c 		perf_sw_event(PERF_COUNT_SW_PAGE_FAULTS_MIN, 1, regs, address);
regs             1507 arch/x86/mm/fault.c 	check_v8086_mode(regs, address, tsk);
regs             1516 arch/x86/mm/fault.c __do_page_fault(struct pt_regs *regs, unsigned long hw_error_code,
regs             1521 arch/x86/mm/fault.c 	if (unlikely(kmmio_fault(regs, address)))
regs             1526 arch/x86/mm/fault.c 		do_kern_addr_fault(regs, hw_error_code, address);
regs             1528 arch/x86/mm/fault.c 		do_user_addr_fault(regs, hw_error_code, address);
regs             1533 arch/x86/mm/fault.c trace_page_fault_entries(struct pt_regs *regs, unsigned long error_code,
regs             1539 arch/x86/mm/fault.c 	if (user_mode(regs))
regs             1540 arch/x86/mm/fault.c 		trace_page_fault_user(address, regs, error_code);
regs             1542 arch/x86/mm/fault.c 		trace_page_fault_kernel(address, regs, error_code);
regs             1546 arch/x86/mm/fault.c do_page_fault(struct pt_regs *regs, unsigned long error_code, unsigned long address)
regs             1551 arch/x86/mm/fault.c 	trace_page_fault_entries(regs, error_code, address);
regs             1552 arch/x86/mm/fault.c 	__do_page_fault(regs, error_code, address);
regs              230 arch/x86/mm/kmmio.c int kmmio_handler(struct pt_regs *regs, unsigned long addr)
regs              294 arch/x86/mm/kmmio.c 	ctx->saved_flags = (regs->flags & (X86_EFLAGS_TF | X86_EFLAGS_IF));
regs              298 arch/x86/mm/kmmio.c 		ctx->probe->pre_handler(ctx->probe, regs, addr);
regs              304 arch/x86/mm/kmmio.c 	regs->flags |= X86_EFLAGS_TF;
regs              305 arch/x86/mm/kmmio.c 	regs->flags &= ~X86_EFLAGS_IF;
regs              333 arch/x86/mm/kmmio.c static int post_kmmio_handler(unsigned long condition, struct pt_regs *regs)
regs              350 arch/x86/mm/kmmio.c 		ctx->probe->post_handler(ctx->probe, condition, regs);
regs              358 arch/x86/mm/kmmio.c 	regs->flags &= ~X86_EFLAGS_TF;
regs              359 arch/x86/mm/kmmio.c 	regs->flags |= ctx->saved_flags;
regs              372 arch/x86/mm/kmmio.c 	if (!(regs->flags & X86_EFLAGS_TF))
regs              592 arch/x86/mm/kmmio.c 		if (post_kmmio_handler(*dr6_p, arg->regs) == 1) {
regs              107 arch/x86/mm/mmio-mod.c static void die_kmmio_nesting_error(struct pt_regs *regs, unsigned long addr)
regs              113 arch/x86/mm/mmio-mod.c 	pr_emerg("faulting IP is at %pS\n", (void *)regs->ip);
regs              117 arch/x86/mm/mmio-mod.c 		 regs->ax, regs->bx, regs->cx, regs->dx);
regs              119 arch/x86/mm/mmio-mod.c 		 regs->si, regs->di, regs->bp, regs->sp);
regs              122 arch/x86/mm/mmio-mod.c 		 regs->ax, regs->cx, regs->dx);
regs              124 arch/x86/mm/mmio-mod.c 		 regs->si, regs->di, regs->bp, regs->sp);
regs              130 arch/x86/mm/mmio-mod.c static void pre(struct kmmio_probe *p, struct pt_regs *regs,
regs              135 arch/x86/mm/mmio-mod.c 	const unsigned long instptr = instruction_pointer(regs);
regs              141 arch/x86/mm/mmio-mod.c 		die_kmmio_nesting_error(regs, addr);
regs              175 arch/x86/mm/mmio-mod.c 		my_trace->value = get_ins_reg_val(instptr, regs);
regs              196 arch/x86/mm/mmio-mod.c 							struct pt_regs *regs)
regs              210 arch/x86/mm/mmio-mod.c 		my_trace->value = get_ins_reg_val(my_reason->ip, regs);
regs               66 arch/x86/mm/mpx.c 			   struct pt_regs *regs)
regs               73 arch/x86/mm/mpx.c 	not_copied = copy_from_user(buf, (void __user *)regs->ip, sizeof(buf));
regs              122 arch/x86/mm/mpx.c int mpx_fault_info(struct mpx_fault_info *info, struct pt_regs *regs)
regs              130 arch/x86/mm/mpx.c 	err = mpx_insn_decode(&insn, regs);
regs              165 arch/x86/mm/mpx.c 	info->addr  = insn_get_addr_ref(&insn, regs);
regs              236 arch/x86/mm/pf_in.c static unsigned char *get_reg_w8(int no, int rex, struct pt_regs *regs)
regs              242 arch/x86/mm/pf_in.c 		rv = (unsigned char *)&regs->ax;
regs              245 arch/x86/mm/pf_in.c 		rv = (unsigned char *)&regs->bx;
regs              248 arch/x86/mm/pf_in.c 		rv = (unsigned char *)&regs->cx;
regs              251 arch/x86/mm/pf_in.c 		rv = (unsigned char *)&regs->dx;
regs              255 arch/x86/mm/pf_in.c 		rv = (unsigned char *)&regs->r8;
regs              258 arch/x86/mm/pf_in.c 		rv = (unsigned char *)&regs->r9;
regs              261 arch/x86/mm/pf_in.c 		rv = (unsigned char *)&regs->r10;
regs              264 arch/x86/mm/pf_in.c 		rv = (unsigned char *)&regs->r11;
regs              267 arch/x86/mm/pf_in.c 		rv = (unsigned char *)&regs->r12;
regs              270 arch/x86/mm/pf_in.c 		rv = (unsigned char *)&regs->r13;
regs              273 arch/x86/mm/pf_in.c 		rv = (unsigned char *)&regs->r14;
regs              276 arch/x86/mm/pf_in.c 		rv = (unsigned char *)&regs->r15;
regs              293 arch/x86/mm/pf_in.c 			rv = (unsigned char *)&regs->si;
regs              296 arch/x86/mm/pf_in.c 			rv = (unsigned char *)&regs->di;
regs              299 arch/x86/mm/pf_in.c 			rv = (unsigned char *)&regs->bp;
regs              302 arch/x86/mm/pf_in.c 			rv = (unsigned char *)&regs->sp;
regs              310 arch/x86/mm/pf_in.c 			rv = 1 + (unsigned char *)&regs->ax;
regs              313 arch/x86/mm/pf_in.c 			rv = 1 + (unsigned char *)&regs->bx;
regs              316 arch/x86/mm/pf_in.c 			rv = 1 + (unsigned char *)&regs->cx;
regs              319 arch/x86/mm/pf_in.c 			rv = 1 + (unsigned char *)&regs->dx;
regs              332 arch/x86/mm/pf_in.c static unsigned long *get_reg_w32(int no, struct pt_regs *regs)
regs              338 arch/x86/mm/pf_in.c 		rv = &regs->ax;
regs              341 arch/x86/mm/pf_in.c 		rv = &regs->bx;
regs              344 arch/x86/mm/pf_in.c 		rv = &regs->cx;
regs              347 arch/x86/mm/pf_in.c 		rv = &regs->dx;
regs              350 arch/x86/mm/pf_in.c 		rv = &regs->sp;
regs              353 arch/x86/mm/pf_in.c 		rv = &regs->bp;
regs              356 arch/x86/mm/pf_in.c 		rv = &regs->si;
regs              359 arch/x86/mm/pf_in.c 		rv = &regs->di;
regs              363 arch/x86/mm/pf_in.c 		rv = &regs->r8;
regs              366 arch/x86/mm/pf_in.c 		rv = &regs->r9;
regs              369 arch/x86/mm/pf_in.c 		rv = &regs->r10;
regs              372 arch/x86/mm/pf_in.c 		rv = &regs->r11;
regs              375 arch/x86/mm/pf_in.c 		rv = &regs->r12;
regs              378 arch/x86/mm/pf_in.c 		rv = &regs->r13;
regs              381 arch/x86/mm/pf_in.c 		rv = &regs->r14;
regs              384 arch/x86/mm/pf_in.c 		rv = &regs->r15;
regs              394 arch/x86/mm/pf_in.c unsigned long get_ins_reg_val(unsigned long ins_addr, struct pt_regs *regs)
regs              427 arch/x86/mm/pf_in.c 		return *get_reg_w8(reg, prf.rex, regs);
regs              430 arch/x86/mm/pf_in.c 		return *(unsigned short *)get_reg_w32(reg, regs);
regs              433 arch/x86/mm/pf_in.c 		return *(unsigned int *)get_reg_w32(reg, regs);
regs              437 arch/x86/mm/pf_in.c 		return *(unsigned long *)get_reg_w32(reg, regs);
regs               21 arch/x86/mm/pf_in.h unsigned long get_ins_reg_val(unsigned long ins_addr, struct pt_regs *regs);
regs               47 arch/x86/oprofile/backtrace.c x86_backtrace_32(struct pt_regs * const regs, unsigned int depth)
regs               55 arch/x86/oprofile/backtrace.c 	head = (struct stack_frame_ia32 *) regs->bp;
regs               64 arch/x86/oprofile/backtrace.c x86_backtrace_32(struct pt_regs * const regs, unsigned int depth)
regs               91 arch/x86/oprofile/backtrace.c x86_backtrace(struct pt_regs * const regs, unsigned int depth)
regs               93 arch/x86/oprofile/backtrace.c 	struct stack_frame *head = (struct stack_frame *)frame_pointer(regs);
regs               95 arch/x86/oprofile/backtrace.c 	if (!user_mode(regs)) {
regs              102 arch/x86/oprofile/backtrace.c 		oprofile_add_trace(regs->ip);
regs              107 arch/x86/oprofile/backtrace.c 		for (unwind_start(&state, current, regs, NULL);
regs              122 arch/x86/oprofile/backtrace.c 	if (x86_backtrace_32(regs, depth))
regs               27 arch/x86/oprofile/init.c extern void x86_backtrace(struct pt_regs * const regs, unsigned int depth);
regs               64 arch/x86/oprofile/nmi_int.c static int profile_exceptions_notify(unsigned int val, struct pt_regs *regs)
regs               67 arch/x86/oprofile/nmi_int.c 		model->check_ctrs(regs, this_cpu_ptr(&cpu_msrs));
regs              132 arch/x86/oprofile/op_model_amd.c op_amd_handle_ibs(struct pt_regs * const regs,
regs              145 arch/x86/oprofile/op_model_amd.c 			oprofile_write_reserve(&entry, regs, val,
regs              164 arch/x86/oprofile/op_model_amd.c 			oprofile_write_reserve(&entry, regs, val, IBS_OP_CODE,
regs              381 arch/x86/oprofile/op_model_amd.c static int op_amd_check_ctrs(struct pt_regs * const regs,
regs              395 arch/x86/oprofile/op_model_amd.c 		oprofile_add_sample(regs, virt);
regs              399 arch/x86/oprofile/op_model_amd.c 	op_amd_handle_ibs(regs, msrs);
regs              615 arch/x86/oprofile/op_model_p4.c static int p4_check_ctrs(struct pt_regs * const regs,
regs              650 arch/x86/oprofile/op_model_p4.c 			oprofile_add_sample(regs, i);
regs              127 arch/x86/oprofile/op_model_ppro.c static int ppro_check_ctrs(struct pt_regs * const regs,
regs              139 arch/x86/oprofile/op_model_ppro.c 		oprofile_add_sample(regs, i);
regs               46 arch/x86/oprofile/op_x86_model.h 	int		(*check_ctrs)(struct pt_regs * const regs,
regs               35 arch/x86/pci/sta2x11-fixup.c 	struct sta2x11_ahb_regs regs[STA2X11_NR_FUNCS];
regs              277 arch/x86/pci/sta2x11-fixup.c 		struct sta2x11_ahb_regs *regs = map->regs + i;
regs              279 arch/x86/pci/sta2x11-fixup.c 		pci_read_config_dword(pdev, AHB_BASE(i), &regs->base);
regs              280 arch/x86/pci/sta2x11-fixup.c 		pci_read_config_dword(pdev, AHB_PEXLBASE(i), &regs->pexlbase);
regs              281 arch/x86/pci/sta2x11-fixup.c 		pci_read_config_dword(pdev, AHB_PEXHBASE(i), &regs->pexhbase);
regs              282 arch/x86/pci/sta2x11-fixup.c 		pci_read_config_dword(pdev, AHB_CRW(i), &regs->crw);
regs              302 arch/x86/pci/sta2x11-fixup.c 		struct sta2x11_ahb_regs *regs = map->regs + i;
regs              304 arch/x86/pci/sta2x11-fixup.c 		pci_write_config_dword(pdev, AHB_BASE(i), regs->base);
regs              305 arch/x86/pci/sta2x11-fixup.c 		pci_write_config_dword(pdev, AHB_PEXLBASE(i), regs->pexlbase);
regs              306 arch/x86/pci/sta2x11-fixup.c 		pci_write_config_dword(pdev, AHB_PEXHBASE(i), regs->pexhbase);
regs              307 arch/x86/pci/sta2x11-fixup.c 		pci_write_config_dword(pdev, AHB_CRW(i), regs->crw);
regs               96 arch/x86/platform/intel-mid/pwr.c 	void __iomem *regs;
regs              108 arch/x86/platform/intel-mid/pwr.c 	return readl(pwr->regs + PM_SSS(reg));
regs              113 arch/x86/platform/intel-mid/pwr.c 	writel(value, pwr->regs + PM_SSC(reg));
regs              118 arch/x86/platform/intel-mid/pwr.c 	writel(value, pwr->regs + PM_WKC(reg));
regs              123 arch/x86/platform/intel-mid/pwr.c 	writel(~PM_ICS_IE, pwr->regs + PM_ICS);
regs              128 arch/x86/platform/intel-mid/pwr.c 	return !!(readl(pwr->regs + PM_STS) & PM_STS_BUSY);
regs              149 arch/x86/platform/intel-mid/pwr.c 	writel(PM_CMD_CMD(cmd) | PM_CMD_CM_IMMEDIATE, pwr->regs + PM_CMD);
regs              300 arch/x86/platform/intel-mid/pwr.c 	writel(cmd, pwr->regs + PM_CMD);
regs              334 arch/x86/platform/intel-mid/pwr.c 	ics = readl(pwr->regs + PM_ICS);
regs              338 arch/x86/platform/intel-mid/pwr.c 	writel(ics | PM_ICS_IP, pwr->regs + PM_ICS);
regs              372 arch/x86/platform/intel-mid/pwr.c 	pwr->regs = pcim_iomap_table(pdev)[0];
regs             1275 arch/x86/platform/uv/tlb_uv.c void uv_bau_message_interrupt(struct pt_regs *regs)
regs              668 arch/x86/platform/uv/uv_nmi.c static void uv_nmi_dump_cpu_ip(int cpu, struct pt_regs *regs)
regs              671 arch/x86/platform/uv/uv_nmi.c 		cpu, current->pid, current->comm, (void *)regs->ip);
regs              681 arch/x86/platform/uv/uv_nmi.c static void uv_nmi_dump_state_cpu(int cpu, struct pt_regs *regs)
regs              689 arch/x86/platform/uv/uv_nmi.c 		uv_nmi_dump_cpu_ip(cpu, regs);
regs              693 arch/x86/platform/uv/uv_nmi.c 		show_regs(regs);
regs              735 arch/x86/platform/uv/uv_nmi.c static void uv_nmi_action_health(int cpu, struct pt_regs *regs, int master)
regs              751 arch/x86/platform/uv/uv_nmi.c static void uv_nmi_dump_state(int cpu, struct pt_regs *regs, int master)
regs              768 arch/x86/platform/uv/uv_nmi.c 				uv_nmi_dump_state_cpu(tcpu, regs);
regs              782 arch/x86/platform/uv/uv_nmi.c 		uv_nmi_dump_state_cpu(cpu, regs);
regs              798 arch/x86/platform/uv/uv_nmi.c static void uv_nmi_kdump(int cpu, int master, struct pt_regs *regs)
regs              803 arch/x86/platform/uv/uv_nmi.c 		crash_kexec(regs);
regs              820 arch/x86/platform/uv/uv_nmi.c static inline void uv_nmi_kdump(int cpu, int master, struct pt_regs *regs)
regs              853 arch/x86/platform/uv/uv_nmi.c static void uv_call_kgdb_kdb(int cpu, struct pt_regs *regs, int master)
regs              863 arch/x86/platform/uv/uv_nmi.c 		ret = kgdb_nmicallin(cpu, X86_TRAP_NMI, regs, reason,
regs              880 arch/x86/platform/uv/uv_nmi.c 			kgdb_nmicallback(cpu, regs);
regs              886 arch/x86/platform/uv/uv_nmi.c static inline void uv_call_kgdb_kdb(int cpu, struct pt_regs *regs, int master)
regs              895 arch/x86/platform/uv/uv_nmi.c static int uv_handle_nmi(unsigned int reason, struct pt_regs *regs)
regs              915 arch/x86/platform/uv/uv_nmi.c 		uv_nmi_kdump(cpu, master, regs);
regs              927 arch/x86/platform/uv/uv_nmi.c 		uv_nmi_action_health(cpu, regs, master);
regs              929 arch/x86/platform/uv/uv_nmi.c 		uv_nmi_dump_state(cpu, regs, master);
regs              931 arch/x86/platform/uv/uv_nmi.c 		uv_call_kgdb_kdb(cpu, regs, master);
regs              964 arch/x86/platform/uv/uv_nmi.c static int uv_handle_nmi_ping(unsigned int reason, struct pt_regs *regs)
regs              976 arch/x86/platform/uv/uv_nmi.c 	ret = uv_handle_nmi(reason, regs);
regs               36 arch/x86/um/asm/elf.h #define ELF_PLAT_INIT(regs, load_addr) do { \
regs               37 arch/x86/um/asm/elf.h 	PT_REGS_BX(regs) = 0; \
regs               38 arch/x86/um/asm/elf.h 	PT_REGS_CX(regs) = 0; \
regs               39 arch/x86/um/asm/elf.h 	PT_REGS_DX(regs) = 0; \
regs               40 arch/x86/um/asm/elf.h 	PT_REGS_SI(regs) = 0; \
regs               41 arch/x86/um/asm/elf.h 	PT_REGS_DI(regs) = 0; \
regs               42 arch/x86/um/asm/elf.h 	PT_REGS_BP(regs) = 0; \
regs               43 arch/x86/um/asm/elf.h 	PT_REGS_AX(regs) = 0; \
regs               48 arch/x86/um/asm/elf.h #define ELF_CORE_COPY_REGS(pr_reg, regs) do {	\
regs               49 arch/x86/um/asm/elf.h 	pr_reg[0] = PT_REGS_BX(regs);		\
regs               50 arch/x86/um/asm/elf.h 	pr_reg[1] = PT_REGS_CX(regs);		\
regs               51 arch/x86/um/asm/elf.h 	pr_reg[2] = PT_REGS_DX(regs);		\
regs               52 arch/x86/um/asm/elf.h 	pr_reg[3] = PT_REGS_SI(regs);		\
regs               53 arch/x86/um/asm/elf.h 	pr_reg[4] = PT_REGS_DI(regs);		\
regs               54 arch/x86/um/asm/elf.h 	pr_reg[5] = PT_REGS_BP(regs);		\
regs               55 arch/x86/um/asm/elf.h 	pr_reg[6] = PT_REGS_AX(regs);		\
regs               56 arch/x86/um/asm/elf.h 	pr_reg[7] = PT_REGS_DS(regs);		\
regs               57 arch/x86/um/asm/elf.h 	pr_reg[8] = PT_REGS_ES(regs);		\
regs               59 arch/x86/um/asm/elf.h 	pr_reg[9] = PT_REGS_DS(regs);		\
regs               60 arch/x86/um/asm/elf.h 	pr_reg[10] = PT_REGS_DS(regs);		\
regs               61 arch/x86/um/asm/elf.h 	pr_reg[11] = PT_REGS_SYSCALL_NR(regs);	\
regs               62 arch/x86/um/asm/elf.h 	pr_reg[12] = PT_REGS_IP(regs);		\
regs               63 arch/x86/um/asm/elf.h 	pr_reg[13] = PT_REGS_CS(regs);		\
regs               64 arch/x86/um/asm/elf.h 	pr_reg[14] = PT_REGS_EFLAGS(regs);	\
regs               65 arch/x86/um/asm/elf.h 	pr_reg[15] = PT_REGS_SP(regs);		\
regs               66 arch/x86/um/asm/elf.h 	pr_reg[16] = PT_REGS_SS(regs);		\
regs              131 arch/x86/um/asm/elf.h #define ELF_PLAT_INIT(regs, load_addr)    do { \
regs              132 arch/x86/um/asm/elf.h 	PT_REGS_BX(regs) = 0; \
regs              133 arch/x86/um/asm/elf.h 	PT_REGS_CX(regs) = 0; \
regs              134 arch/x86/um/asm/elf.h 	PT_REGS_DX(regs) = 0; \
regs              135 arch/x86/um/asm/elf.h 	PT_REGS_SI(regs) = 0; \
regs              136 arch/x86/um/asm/elf.h 	PT_REGS_DI(regs) = 0; \
regs              137 arch/x86/um/asm/elf.h 	PT_REGS_BP(regs) = 0; \
regs              138 arch/x86/um/asm/elf.h 	PT_REGS_AX(regs) = 0; \
regs              139 arch/x86/um/asm/elf.h 	PT_REGS_R8(regs) = 0; \
regs              140 arch/x86/um/asm/elf.h 	PT_REGS_R9(regs) = 0; \
regs              141 arch/x86/um/asm/elf.h 	PT_REGS_R10(regs) = 0; \
regs              142 arch/x86/um/asm/elf.h 	PT_REGS_R11(regs) = 0; \
regs              143 arch/x86/um/asm/elf.h 	PT_REGS_R12(regs) = 0; \
regs              144 arch/x86/um/asm/elf.h 	PT_REGS_R13(regs) = 0; \
regs              145 arch/x86/um/asm/elf.h 	PT_REGS_R14(regs) = 0; \
regs              146 arch/x86/um/asm/elf.h 	PT_REGS_R15(regs) = 0; \
regs              150 arch/x86/um/asm/elf.h 	(pr_reg)[0] = (_regs)->regs.gp[0];			\
regs              151 arch/x86/um/asm/elf.h 	(pr_reg)[1] = (_regs)->regs.gp[1];			\
regs              152 arch/x86/um/asm/elf.h 	(pr_reg)[2] = (_regs)->regs.gp[2];			\
regs              153 arch/x86/um/asm/elf.h 	(pr_reg)[3] = (_regs)->regs.gp[3];			\
regs              154 arch/x86/um/asm/elf.h 	(pr_reg)[4] = (_regs)->regs.gp[4];			\
regs              155 arch/x86/um/asm/elf.h 	(pr_reg)[5] = (_regs)->regs.gp[5];			\
regs              156 arch/x86/um/asm/elf.h 	(pr_reg)[6] = (_regs)->regs.gp[6];			\
regs              157 arch/x86/um/asm/elf.h 	(pr_reg)[7] = (_regs)->regs.gp[7];			\
regs              158 arch/x86/um/asm/elf.h 	(pr_reg)[8] = (_regs)->regs.gp[8];			\
regs              159 arch/x86/um/asm/elf.h 	(pr_reg)[9] = (_regs)->regs.gp[9];			\
regs              160 arch/x86/um/asm/elf.h 	(pr_reg)[10] = (_regs)->regs.gp[10];			\
regs              161 arch/x86/um/asm/elf.h 	(pr_reg)[11] = (_regs)->regs.gp[11];			\
regs              162 arch/x86/um/asm/elf.h 	(pr_reg)[12] = (_regs)->regs.gp[12];			\
regs              163 arch/x86/um/asm/elf.h 	(pr_reg)[13] = (_regs)->regs.gp[13];			\
regs              164 arch/x86/um/asm/elf.h 	(pr_reg)[14] = (_regs)->regs.gp[14];			\
regs              165 arch/x86/um/asm/elf.h 	(pr_reg)[15] = (_regs)->regs.gp[15];			\
regs              166 arch/x86/um/asm/elf.h 	(pr_reg)[16] = (_regs)->regs.gp[16];			\
regs              167 arch/x86/um/asm/elf.h 	(pr_reg)[17] = (_regs)->regs.gp[17];			\
regs              168 arch/x86/um/asm/elf.h 	(pr_reg)[18] = (_regs)->regs.gp[18];			\
regs              169 arch/x86/um/asm/elf.h 	(pr_reg)[19] = (_regs)->regs.gp[19];			\
regs              170 arch/x86/um/asm/elf.h 	(pr_reg)[20] = (_regs)->regs.gp[20];			\
regs               19 arch/x86/um/asm/processor.h        (address + 65536 + 32 * sizeof(unsigned long) >= UPT_SP(&current->thread.regs.regs))
regs               31 arch/x86/um/asm/processor.h #define task_pt_regs(t) (&(t)->thread.regs)
regs               11 arch/x86/um/asm/ptrace.h #define user_mode(r) UPT_IS_USER(&(r)->regs)
regs               13 arch/x86/um/asm/ptrace.h #define PT_REGS_AX(r) UPT_AX(&(r)->regs)
regs               14 arch/x86/um/asm/ptrace.h #define PT_REGS_BX(r) UPT_BX(&(r)->regs)
regs               15 arch/x86/um/asm/ptrace.h #define PT_REGS_CX(r) UPT_CX(&(r)->regs)
regs               16 arch/x86/um/asm/ptrace.h #define PT_REGS_DX(r) UPT_DX(&(r)->regs)
regs               18 arch/x86/um/asm/ptrace.h #define PT_REGS_SI(r) UPT_SI(&(r)->regs)
regs               19 arch/x86/um/asm/ptrace.h #define PT_REGS_DI(r) UPT_DI(&(r)->regs)
regs               20 arch/x86/um/asm/ptrace.h #define PT_REGS_BP(r) UPT_BP(&(r)->regs)
regs               21 arch/x86/um/asm/ptrace.h #define PT_REGS_EFLAGS(r) UPT_EFLAGS(&(r)->regs)
regs               23 arch/x86/um/asm/ptrace.h #define PT_REGS_CS(r) UPT_CS(&(r)->regs)
regs               24 arch/x86/um/asm/ptrace.h #define PT_REGS_SS(r) UPT_SS(&(r)->regs)
regs               25 arch/x86/um/asm/ptrace.h #define PT_REGS_DS(r) UPT_DS(&(r)->regs)
regs               26 arch/x86/um/asm/ptrace.h #define PT_REGS_ES(r) UPT_ES(&(r)->regs)
regs               33 arch/x86/um/asm/ptrace.h #define profile_pc(regs) PT_REGS_IP(regs)
regs               38 arch/x86/um/asm/ptrace.h static inline long regs_return_value(struct pt_regs *regs)
regs               40 arch/x86/um/asm/ptrace.h 	return PT_REGS_AX(regs);
regs               59 arch/x86/um/asm/ptrace.h #define PT_REGS_R8(r) UPT_R8(&(r)->regs)
regs               60 arch/x86/um/asm/ptrace.h #define PT_REGS_R9(r) UPT_R9(&(r)->regs)
regs               61 arch/x86/um/asm/ptrace.h #define PT_REGS_R10(r) UPT_R10(&(r)->regs)
regs               62 arch/x86/um/asm/ptrace.h #define PT_REGS_R11(r) UPT_R11(&(r)->regs)
regs               63 arch/x86/um/asm/ptrace.h #define PT_REGS_R12(r) UPT_R12(&(r)->regs)
regs               64 arch/x86/um/asm/ptrace.h #define PT_REGS_R13(r) UPT_R13(&(r)->regs)
regs               65 arch/x86/um/asm/ptrace.h #define PT_REGS_R14(r) UPT_R14(&(r)->regs)
regs               66 arch/x86/um/asm/ptrace.h #define PT_REGS_R15(r) UPT_R15(&(r)->regs)
regs               86 arch/x86/um/asm/ptrace.h #define user_stack_pointer(regs) PT_REGS_SP(regs)
regs               44 arch/x86/um/bugs_32.c void arch_examine_signal(int sig, struct uml_pt_regs *regs)
regs               55 arch/x86/um/bugs_32.c 	if (copy_from_user_proc(tmp, (void *) UPT_IP(regs), 2)) {
regs               13 arch/x86/um/bugs_64.c void arch_examine_signal(int sig, struct uml_pt_regs *regs)
regs               18 arch/x86/um/fault.c int arch_fixup(unsigned long address, struct uml_pt_regs *regs)
regs               24 arch/x86/um/fault.c 		UPT_IP(regs) = fixup->fixup;
regs                7 arch/x86/um/os-Linux/mcontext.c void get_regs_from_mc(struct uml_pt_regs *regs, mcontext_t *mc)
regs               10 arch/x86/um/os-Linux/mcontext.c #define COPY2(X,Y) regs->gp[X] = mc->gregs[REG_##Y]
regs               11 arch/x86/um/os-Linux/mcontext.c #define COPY(X) regs->gp[X] = mc->gregs[REG_##X]
regs               12 arch/x86/um/os-Linux/mcontext.c #define COPY_SEG(X) regs->gp[X] = mc->gregs[REG_##X] & 0xffff;
regs               13 arch/x86/um/os-Linux/mcontext.c #define COPY_SEG_CPL3(X) regs->gp[X] = (mc->gregs[REG_##X] & 0xffff) | 3;
regs               20 arch/x86/um/os-Linux/mcontext.c #define COPY2(X,Y) regs->gp[X/sizeof(unsigned long)] = mc->gregs[REG_##Y]
regs               21 arch/x86/um/os-Linux/mcontext.c #define COPY(X) regs->gp[X/sizeof(unsigned long)] = mc->gregs[REG_##X]
regs               29 arch/x86/um/os-Linux/mcontext.c 	regs->gp[CS / sizeof(unsigned long)] &= 0xffff;
regs               30 arch/x86/um/os-Linux/mcontext.c 	regs->gp[CS / sizeof(unsigned long)] |= 3;
regs               82 arch/x86/um/os-Linux/registers.c int get_fp_registers(int pid, unsigned long *regs)
regs               85 arch/x86/um/os-Linux/registers.c 		return save_fpx_registers(pid, regs);
regs               87 arch/x86/um/os-Linux/registers.c 		return save_fp_registers(pid, regs);
regs               90 arch/x86/um/os-Linux/registers.c int put_fp_registers(int pid, unsigned long *regs)
regs               93 arch/x86/um/os-Linux/registers.c 		return restore_fpx_registers(pid, regs);
regs               95 arch/x86/um/os-Linux/registers.c 		return restore_fp_registers(pid, regs);
regs              115 arch/x86/um/os-Linux/registers.c int get_fp_registers(int pid, unsigned long *regs)
regs              117 arch/x86/um/os-Linux/registers.c 	return save_fp_registers(pid, regs);
regs              120 arch/x86/um/os-Linux/registers.c int put_fp_registers(int pid, unsigned long *regs)
regs              122 arch/x86/um/os-Linux/registers.c 	return restore_fp_registers(pid, regs);
regs               91 arch/x86/um/ptrace_32.c 		UPT_SYSCALL_NR(&child->thread.regs.regs) = value;
regs              115 arch/x86/um/ptrace_32.c 		child->thread.regs.regs.gp[HOST_EFLAGS] |= value;
regs              120 arch/x86/um/ptrace_32.c 	child->thread.regs.regs.gp[reg_offsets[regno]] = value;
regs              172 arch/x86/um/ptrace_32.c 	return mask & child->thread.regs.regs.gp[reg_offsets[regno]];
regs               85 arch/x86/um/ptrace_64.c 		UPT_SYSCALL_NR(&child->thread.regs.regs) = value;
regs              107 arch/x86/um/ptrace_64.c 		child->thread.regs.regs.gp[HOST_EFLAGS] |= value;
regs              114 arch/x86/um/ptrace_64.c 	child->thread.regs.regs.gp[reg_offsets[regno >> 3]] = value;
regs              178 arch/x86/um/ptrace_64.c 	return mask & child->thread.regs.regs.gp[reg_offsets[regno >> 3]];
regs               16 arch/x86/um/ptrace_user.c int ptrace_setregs(long pid, unsigned long *regs)
regs               18 arch/x86/um/ptrace_user.c 	if (ptrace(PTRACE_SETREGS, pid, 0, regs) < 0)
regs                6 arch/x86/um/shared/sysdep/ptrace_user.h #define PT_SYSCALL_NR(regs) ((regs)[HOST_ORIG_AX])
regs               13 arch/x86/um/shared/sysdep/syscalls_32.h #define EXECUTE_SYSCALL(syscall, regs) \
regs               15 arch/x86/um/shared/sysdep/syscalls_32.h 	 (*sys_call_table[syscall]))(SYSCALL_ARGS(&regs->regs))
regs               17 arch/x86/um/shared/sysdep/syscalls_64.h #define EXECUTE_SYSCALL(syscall, regs) \
regs               19 arch/x86/um/shared/sysdep/syscalls_64.h 	  (*sys_call_table[syscall]))(UPT_SYSCALL_ARG1(&regs->regs), \
regs               20 arch/x86/um/shared/sysdep/syscalls_64.h 		 		      UPT_SYSCALL_ARG2(&regs->regs), \
regs               21 arch/x86/um/shared/sysdep/syscalls_64.h 				      UPT_SYSCALL_ARG3(&regs->regs), \
regs               22 arch/x86/um/shared/sysdep/syscalls_64.h 				      UPT_SYSCALL_ARG4(&regs->regs), \
regs               23 arch/x86/um/shared/sysdep/syscalls_64.h 				      UPT_SYSCALL_ARG5(&regs->regs), \
regs               24 arch/x86/um/shared/sysdep/syscalls_64.h 				      UPT_SYSCALL_ARG6(&regs->regs)))
regs              153 arch/x86/um/signal.c static int copy_sc_from_user(struct pt_regs *regs,
regs              166 arch/x86/um/signal.c #define GETREG(regno, regname) regs->regs.gp[HOST_##regno] = sc.regname
regs              228 arch/x86/um/signal.c 		err = copy_from_user(regs->regs.fp, (void *)sc.fpstate,
regs              237 arch/x86/um/signal.c 			   struct _xstate __user *to_fp, struct pt_regs *regs,
regs              245 arch/x86/um/signal.c #define PUTREG(regno, regname) sc.regname = regs->regs.gp[HOST_##regno]
regs              318 arch/x86/um/signal.c 		if (copy_to_user(to_fp, regs->regs.fp, sizeof(struct _xstate)))
regs              333 arch/x86/um/signal.c 	err |= copy_sc_to_user(&uc->uc_mcontext, fp, &current->thread.regs, 0);
regs              361 arch/x86/um/signal.c 			  struct pt_regs *regs, sigset_t *mask)
regs              379 arch/x86/um/signal.c 	err |= copy_sc_to_user(&frame->sc, &frame->fpstate, regs, mask->sig[0]);
regs              398 arch/x86/um/signal.c 	PT_REGS_SP(regs) = (unsigned long) frame;
regs              399 arch/x86/um/signal.c 	PT_REGS_IP(regs) = (unsigned long) ksig->ka.sa.sa_handler;
regs              400 arch/x86/um/signal.c 	PT_REGS_AX(regs) = (unsigned long) sig;
regs              401 arch/x86/um/signal.c 	PT_REGS_DX(regs) = (unsigned long) 0;
regs              402 arch/x86/um/signal.c 	PT_REGS_CX(regs) = (unsigned long) 0;
regs              407 arch/x86/um/signal.c 			  struct pt_regs *regs, sigset_t *mask)
regs              428 arch/x86/um/signal.c 					PT_REGS_SP(regs));
regs              444 arch/x86/um/signal.c 	PT_REGS_SP(regs) = (unsigned long) frame;
regs              445 arch/x86/um/signal.c 	PT_REGS_IP(regs) = (unsigned long) ksig->ka.sa.sa_handler;
regs              446 arch/x86/um/signal.c 	PT_REGS_AX(regs) = (unsigned long) sig;
regs              447 arch/x86/um/signal.c 	PT_REGS_DX(regs) = (unsigned long) &frame->info;
regs              448 arch/x86/um/signal.c 	PT_REGS_CX(regs) = (unsigned long) &frame->uc;
regs              454 arch/x86/um/signal.c 	unsigned long sp = PT_REGS_SP(&current->thread.regs);
regs              466 arch/x86/um/signal.c 	if (copy_sc_from_user(&current->thread.regs, sc))
regs              470 arch/x86/um/signal.c 	PT_REGS_SYSCALL_NR(&current->thread.regs) = -1;
regs              471 arch/x86/um/signal.c 	return PT_REGS_SYSCALL_RET(&current->thread.regs);
regs              489 arch/x86/um/signal.c 			  struct pt_regs *regs, sigset_t *set)
regs              512 arch/x86/um/signal.c 	err |= __save_altstack(&frame->uc.uc_stack, PT_REGS_SP(regs));
regs              513 arch/x86/um/signal.c 	err |= copy_sc_to_user(&frame->uc.uc_mcontext, &frame->fpstate, regs,
regs              542 arch/x86/um/signal.c 	PT_REGS_SP(regs) = (unsigned long) frame;
regs              543 arch/x86/um/signal.c 	PT_REGS_DI(regs) = sig;
regs              545 arch/x86/um/signal.c 	PT_REGS_AX(regs) = 0;
regs              551 arch/x86/um/signal.c 	PT_REGS_SI(regs) = (unsigned long) &frame->info;
regs              552 arch/x86/um/signal.c 	PT_REGS_DX(regs) = (unsigned long) &frame->uc;
regs              553 arch/x86/um/signal.c 	PT_REGS_IP(regs) = (unsigned long) ksig->ka.sa.sa_handler;
regs              561 arch/x86/um/signal.c 	unsigned long sp = PT_REGS_SP(&current->thread.regs);
regs              572 arch/x86/um/signal.c 	if (copy_sc_from_user(&current->thread.regs, &uc->uc_mcontext))
regs              576 arch/x86/um/signal.c 	PT_REGS_SYSCALL_NR(&current->thread.regs) = -1;
regs              577 arch/x86/um/signal.c 	return PT_REGS_SYSCALL_RET(&current->thread.regs);
regs               38 arch/x86/um/syscalls_64.c 		ret = restore_registers(pid, &current->thread.regs.regs);
regs               62 arch/x86/um/syscalls_64.c 		ret = save_registers(pid, &current->thread.regs.regs);
regs               65 arch/x86/um/syscalls_64.c 		ret = save_registers(pid, &current->thread.regs.regs);
regs               15 arch/x86/um/sysrq_32.c void show_regs(struct pt_regs *regs)
regs               19 arch/x86/um/sysrq_32.c 	       0xffff & PT_REGS_CS(regs), PT_REGS_IP(regs),
regs               21 arch/x86/um/sysrq_32.c         if (PT_REGS_CS(regs) & 3)
regs               22 arch/x86/um/sysrq_32.c                 printk(" ESP: %04lx:%08lx", 0xffff & PT_REGS_SS(regs),
regs               23 arch/x86/um/sysrq_32.c 		       PT_REGS_SP(regs));
regs               24 arch/x86/um/sysrq_32.c         printk(" EFLAGS: %08lx\n    %s\n", PT_REGS_EFLAGS(regs),
regs               27 arch/x86/um/sysrq_32.c                PT_REGS_AX(regs), PT_REGS_BX(regs), 
regs               28 arch/x86/um/sysrq_32.c 	       PT_REGS_CX(regs), PT_REGS_DX(regs));
regs               30 arch/x86/um/sysrq_32.c 	       PT_REGS_SI(regs), PT_REGS_DI(regs), PT_REGS_BP(regs));
regs               32 arch/x86/um/sysrq_32.c 	       0xffff & PT_REGS_DS(regs), 
regs               33 arch/x86/um/sysrq_32.c 	       0xffff & PT_REGS_ES(regs));
regs               16 arch/x86/um/sysrq_64.c void show_regs(struct pt_regs *regs)
regs               22 arch/x86/um/sysrq_64.c 	printk(KERN_INFO "RIP: %04lx:[<%016lx>]\n", PT_REGS_CS(regs) & 0xffff,
regs               23 arch/x86/um/sysrq_64.c 	       PT_REGS_IP(regs));
regs               24 arch/x86/um/sysrq_64.c 	printk(KERN_INFO "RSP: %016lx  EFLAGS: %08lx\n", PT_REGS_SP(regs),
regs               25 arch/x86/um/sysrq_64.c 	       PT_REGS_EFLAGS(regs));
regs               27 arch/x86/um/sysrq_64.c 	       PT_REGS_AX(regs), PT_REGS_BX(regs), PT_REGS_CX(regs));
regs               29 arch/x86/um/sysrq_64.c 	       PT_REGS_DX(regs), PT_REGS_SI(regs), PT_REGS_DI(regs));
regs               31 arch/x86/um/sysrq_64.c 	       PT_REGS_BP(regs), PT_REGS_R8(regs), PT_REGS_R9(regs));
regs               33 arch/x86/um/sysrq_64.c 	       PT_REGS_R10(regs), PT_REGS_R11(regs), PT_REGS_R12(regs));
regs               35 arch/x86/um/sysrq_64.c 	       PT_REGS_R13(regs), PT_REGS_R14(regs), PT_REGS_R15(regs));
regs              129 arch/x86/xen/enlighten_hvm.c static void xen_hvm_crash_shutdown(struct pt_regs *regs)
regs              131 arch/x86/xen/enlighten_hvm.c 	native_machine_crash_shutdown(regs);
regs             1086 arch/x86/xen/enlighten_pv.c static void xen_crash_shutdown(struct pt_regs *regs)
regs              443 arch/x86/xen/pmu.c 		return !!(xenpmu_data->pmu.r.regs.cpl & 3);
regs              455 arch/x86/xen/pmu.c 	return xenpmu_data->pmu.r.regs.ip;
regs              466 arch/x86/xen/pmu.c 			     struct pt_regs *regs, uint64_t pmu_flags)
regs              468 arch/x86/xen/pmu.c 	regs->ip = xen_regs->ip;
regs              469 arch/x86/xen/pmu.c 	regs->cs = xen_regs->cs;
regs              470 arch/x86/xen/pmu.c 	regs->sp = xen_regs->sp;
regs              474 arch/x86/xen/pmu.c 			regs->cs |= 3;
regs              476 arch/x86/xen/pmu.c 			regs->cs &= ~3;
regs              479 arch/x86/xen/pmu.c 			regs->cs |= 3;
regs              481 arch/x86/xen/pmu.c 			regs->cs &= ~3;
regs              488 arch/x86/xen/pmu.c 	struct pt_regs regs = {0};
regs              499 arch/x86/xen/pmu.c 	xen_convert_regs(&xenpmu_data->pmu.r.regs, &regs,
regs              501 arch/x86/xen/pmu.c 	if (x86_pmu.handle_irq(&regs))
regs               49 arch/xtensa/include/asm/hw_breakpoint.h int check_hw_breakpoint(struct pt_regs *regs);
regs              196 arch/xtensa/include/asm/processor.h #define start_thread(regs, new_pc, new_sp) \
regs              198 arch/xtensa/include/asm/processor.h 		memset((regs), 0, sizeof(*(regs))); \
regs              199 arch/xtensa/include/asm/processor.h 		(regs)->pc = (new_pc); \
regs              200 arch/xtensa/include/asm/processor.h 		(regs)->ps = USER_PS_VALUE; \
regs              201 arch/xtensa/include/asm/processor.h 		(regs)->areg[1] = (new_sp); \
regs              202 arch/xtensa/include/asm/processor.h 		(regs)->areg[0] = 0; \
regs              203 arch/xtensa/include/asm/processor.h 		(regs)->wmask = 1; \
regs              204 arch/xtensa/include/asm/processor.h 		(regs)->depc = 0; \
regs              205 arch/xtensa/include/asm/processor.h 		(regs)->windowbase = 0; \
regs              206 arch/xtensa/include/asm/processor.h 		(regs)->windowstart = 1; \
regs              207 arch/xtensa/include/asm/processor.h 		(regs)->syscall = NO_SYSCALL; \
regs               88 arch/xtensa/include/asm/ptrace.h # define user_mode(regs) (((regs)->ps & 0x00000020)!=0)
regs               89 arch/xtensa/include/asm/ptrace.h # define instruction_pointer(regs) ((regs)->pc)
regs               90 arch/xtensa/include/asm/ptrace.h # define return_pointer(regs) (MAKE_PC_FROM_RA((regs)->areg[0], \
regs               91 arch/xtensa/include/asm/ptrace.h 					       (regs)->areg[1]))
regs               94 arch/xtensa/include/asm/ptrace.h #  define profile_pc(regs) instruction_pointer(regs)
regs               96 arch/xtensa/include/asm/ptrace.h #  define profile_pc(regs)						\
regs               98 arch/xtensa/include/asm/ptrace.h 		in_lock_functions(instruction_pointer(regs)) ?		\
regs               99 arch/xtensa/include/asm/ptrace.h 		return_pointer(regs) : instruction_pointer(regs);	\
regs              103 arch/xtensa/include/asm/ptrace.h #define user_stack_pointer(regs) ((regs)->areg[1])
regs              105 arch/xtensa/include/asm/ptrace.h static inline unsigned long regs_return_value(struct pt_regs *regs)
regs              107 arch/xtensa/include/asm/ptrace.h 	return regs->areg[2];
regs               36 arch/xtensa/include/asm/stacktrace.h void xtensa_backtrace_kernel(struct pt_regs *regs, unsigned int depth,
regs               40 arch/xtensa/include/asm/stacktrace.h void xtensa_backtrace_user(struct pt_regs *regs, unsigned int depth,
regs               26 arch/xtensa/include/asm/syscall.h 				  struct pt_regs *regs)
regs               28 arch/xtensa/include/asm/syscall.h 	return regs->syscall;
regs               32 arch/xtensa/include/asm/syscall.h 				    struct pt_regs *regs)
regs               38 arch/xtensa/include/asm/syscall.h 				     struct pt_regs *regs)
regs               41 arch/xtensa/include/asm/syscall.h 	return IS_ERR_VALUE(regs->areg[2]) ? regs->areg[2] : 0;
regs               45 arch/xtensa/include/asm/syscall.h 					    struct pt_regs *regs)
regs               47 arch/xtensa/include/asm/syscall.h 	return regs->areg[2];
regs               51 arch/xtensa/include/asm/syscall.h 					    struct pt_regs *regs,
regs               54 arch/xtensa/include/asm/syscall.h 	regs->areg[2] = (long) error ? error : val;
regs               61 arch/xtensa/include/asm/syscall.h 					 struct pt_regs *regs,
regs               68 arch/xtensa/include/asm/syscall.h 		args[i] = regs->areg[reg[i]];
regs               72 arch/xtensa/include/asm/syscall.h 					 struct pt_regs *regs,
regs               79 arch/xtensa/include/asm/syscall.h 		regs->areg[reg[i]] = args[i];
regs               42 arch/xtensa/include/asm/traps.h extern void do_unhandled(struct pt_regs *regs, unsigned long exccause);
regs              276 arch/xtensa/kernel/hw_breakpoint.c int check_hw_breakpoint(struct pt_regs *regs)
regs              278 arch/xtensa/kernel/hw_breakpoint.c 	if (regs->debugcause & BIT(DEBUGCAUSE_IBREAK_BIT)) {
regs              284 arch/xtensa/kernel/hw_breakpoint.c 			    regs->pc == bp[i]->attr.bp_addr)
regs              285 arch/xtensa/kernel/hw_breakpoint.c 				perf_bp_event(bp[i], regs);
regs              288 arch/xtensa/kernel/hw_breakpoint.c 	} else if (regs->debugcause & BIT(DEBUGCAUSE_DBREAK_BIT)) {
regs              290 arch/xtensa/kernel/hw_breakpoint.c 		int dbnum = (regs->debugcause & DEBUGCAUSE_DBNUM_MASK) >>
regs              294 arch/xtensa/kernel/hw_breakpoint.c 			if (user_mode(regs)) {
regs              295 arch/xtensa/kernel/hw_breakpoint.c 				perf_bp_event(bp[dbnum], regs);
regs               34 arch/xtensa/kernel/irq.c asmlinkage void do_IRQ(int hwirq, struct pt_regs *regs)
regs              330 arch/xtensa/kernel/perf_event.c 			   struct pt_regs *regs)
regs              332 arch/xtensa/kernel/perf_event.c 	xtensa_backtrace_kernel(regs, entry->max_stack,
regs              337 arch/xtensa/kernel/perf_event.c 			 struct pt_regs *regs)
regs              339 arch/xtensa/kernel/perf_event.c 	xtensa_backtrace_user(regs, entry->max_stack,
regs              381 arch/xtensa/kernel/perf_event.c 			struct pt_regs *regs = get_irq_regs();
regs              384 arch/xtensa/kernel/perf_event.c 			if (perf_event_overflow(event, &data, regs))
regs              222 arch/xtensa/kernel/process.c 		struct pt_regs *regs = current_pt_regs();
regs              224 arch/xtensa/kernel/process.c 			usp_thread_fn : regs->areg[1];
regs              233 arch/xtensa/kernel/process.c 		*childregs = *regs;
regs              253 arch/xtensa/kernel/process.c 			if (regs->areg[1] == usp && len != 0) {
regs              254 arch/xtensa/kernel/process.c 				int callinc = (regs->areg[0] >> 30) & 3;
regs              256 arch/xtensa/kernel/process.c 				put_user(regs->areg[caller_ars+1],
regs              265 arch/xtensa/kernel/process.c 			       &regs->areg[XCHAL_NUM_AREGS - len/4], len);
regs               44 arch/xtensa/kernel/ptrace.c 	struct pt_regs *regs = task_pt_regs(target);
regs               46 arch/xtensa/kernel/ptrace.c 		.pc = regs->pc,
regs               47 arch/xtensa/kernel/ptrace.c 		.ps = regs->ps & ~(1 << PS_EXCM_BIT),
regs               48 arch/xtensa/kernel/ptrace.c 		.lbeg = regs->lbeg,
regs               49 arch/xtensa/kernel/ptrace.c 		.lend = regs->lend,
regs               50 arch/xtensa/kernel/ptrace.c 		.lcount = regs->lcount,
regs               51 arch/xtensa/kernel/ptrace.c 		.sar = regs->sar,
regs               52 arch/xtensa/kernel/ptrace.c 		.threadptr = regs->threadptr,
regs               53 arch/xtensa/kernel/ptrace.c 		.windowbase = regs->windowbase,
regs               54 arch/xtensa/kernel/ptrace.c 		.windowstart = regs->windowstart,
regs               58 arch/xtensa/kernel/ptrace.c 	       regs->areg + XCHAL_NUM_AREGS - regs->windowbase * 4,
regs               59 arch/xtensa/kernel/ptrace.c 	       regs->windowbase * 16);
regs               60 arch/xtensa/kernel/ptrace.c 	memcpy(newregs.a + regs->windowbase * 4,
regs               61 arch/xtensa/kernel/ptrace.c 	       regs->areg,
regs               62 arch/xtensa/kernel/ptrace.c 	       (WSBITS - regs->windowbase) * 16);
regs               75 arch/xtensa/kernel/ptrace.c 	struct pt_regs *regs;
regs               85 arch/xtensa/kernel/ptrace.c 	regs = task_pt_regs(target);
regs               86 arch/xtensa/kernel/ptrace.c 	regs->pc = newregs.pc;
regs               87 arch/xtensa/kernel/ptrace.c 	regs->ps = (regs->ps & ~ps_mask) | (newregs.ps & ps_mask);
regs               88 arch/xtensa/kernel/ptrace.c 	regs->lbeg = newregs.lbeg;
regs               89 arch/xtensa/kernel/ptrace.c 	regs->lend = newregs.lend;
regs               90 arch/xtensa/kernel/ptrace.c 	regs->lcount = newregs.lcount;
regs               91 arch/xtensa/kernel/ptrace.c 	regs->sar = newregs.sar;
regs               92 arch/xtensa/kernel/ptrace.c 	regs->threadptr = newregs.threadptr;
regs               94 arch/xtensa/kernel/ptrace.c 	if (newregs.windowbase != regs->windowbase ||
regs               95 arch/xtensa/kernel/ptrace.c 	    newregs.windowstart != regs->windowstart) {
regs              104 arch/xtensa/kernel/ptrace.c 		regs->windowbase = newregs.windowbase;
regs              105 arch/xtensa/kernel/ptrace.c 		regs->windowstart = newregs.windowstart;
regs              106 arch/xtensa/kernel/ptrace.c 		regs->wmask = wmask;
regs              109 arch/xtensa/kernel/ptrace.c 	memcpy(regs->areg + XCHAL_NUM_AREGS - newregs.windowbase * 4,
regs              111 arch/xtensa/kernel/ptrace.c 	memcpy(regs->areg, newregs.a + newregs.windowbase * 4,
regs              123 arch/xtensa/kernel/ptrace.c 	struct pt_regs *regs = task_pt_regs(target);
regs              130 arch/xtensa/kernel/ptrace.c 	newregs->opt = regs->xtregs_opt;
regs              157 arch/xtensa/kernel/ptrace.c 	struct pt_regs *regs = task_pt_regs(target);
regs              169 arch/xtensa/kernel/ptrace.c 	regs->xtregs_opt = newregs->opt;
regs              272 arch/xtensa/kernel/ptrace.c 	struct pt_regs *regs;
regs              275 arch/xtensa/kernel/ptrace.c 	regs = task_pt_regs(child);
regs              280 arch/xtensa/kernel/ptrace.c 		tmp = regs->areg[regno - REG_AR_BASE];
regs              284 arch/xtensa/kernel/ptrace.c 		tmp = regs->areg[regno - REG_A_BASE];
regs              288 arch/xtensa/kernel/ptrace.c 		tmp = regs->pc;
regs              296 arch/xtensa/kernel/ptrace.c 		tmp = (regs->ps & ~(1 << PS_EXCM_BIT));
regs              304 arch/xtensa/kernel/ptrace.c 			unsigned long wb = regs->windowbase;
regs              305 arch/xtensa/kernel/ptrace.c 			unsigned long ws = regs->windowstart;
regs              311 arch/xtensa/kernel/ptrace.c 		tmp = regs->lbeg;
regs              315 arch/xtensa/kernel/ptrace.c 		tmp = regs->lend;
regs              319 arch/xtensa/kernel/ptrace.c 		tmp = regs->lcount;
regs              323 arch/xtensa/kernel/ptrace.c 		tmp = regs->sar;
regs              327 arch/xtensa/kernel/ptrace.c 		tmp = regs->syscall;
regs              338 arch/xtensa/kernel/ptrace.c 	struct pt_regs *regs;
regs              339 arch/xtensa/kernel/ptrace.c 	regs = task_pt_regs(child);
regs              343 arch/xtensa/kernel/ptrace.c 		regs->areg[regno - REG_AR_BASE] = val;
regs              347 arch/xtensa/kernel/ptrace.c 		regs->areg[regno - REG_A_BASE] = val;
regs              351 arch/xtensa/kernel/ptrace.c 		regs->pc = val;
regs              355 arch/xtensa/kernel/ptrace.c 		regs->syscall = val;
regs              367 arch/xtensa/kernel/ptrace.c 				struct pt_regs *regs)
regs              545 arch/xtensa/kernel/ptrace.c void do_syscall_trace_enter(struct pt_regs *regs)
regs              548 arch/xtensa/kernel/ptrace.c 	    tracehook_report_syscall_entry(regs))
regs              549 arch/xtensa/kernel/ptrace.c 		regs->syscall = NO_SYSCALL;
regs              552 arch/xtensa/kernel/ptrace.c 		trace_sys_enter(regs, syscall_get_nr(current, regs));
regs              555 arch/xtensa/kernel/ptrace.c void do_syscall_trace_leave(struct pt_regs *regs)
regs              560 arch/xtensa/kernel/ptrace.c 		trace_sys_exit(regs, regs_return_value(regs));
regs              565 arch/xtensa/kernel/ptrace.c 		tracehook_report_syscall_exit(regs, step);
regs               43 arch/xtensa/kernel/s32c1i_selftest.c static void __init do_probed_exception(struct pt_regs *regs,
regs               46 arch/xtensa/kernel/s32c1i_selftest.c 	if (regs->pc == rcw_probe_pc) {	/* exception on s32c1i ? */
regs               47 arch/xtensa/kernel/s32c1i_selftest.c 		regs->pc += 3;		/* skip the s32c1i instruction */
regs               50 arch/xtensa/kernel/s32c1i_selftest.c 		do_unhandled(regs, exccause);
regs               54 arch/xtensa/kernel/signal.c flush_window_regs_user(struct pt_regs *regs)
regs               56 arch/xtensa/kernel/signal.c 	const unsigned long ws = regs->windowstart;
regs               57 arch/xtensa/kernel/signal.c 	const unsigned long wb = regs->windowbase;
regs               65 arch/xtensa/kernel/signal.c 	if (regs->wmask == 1)
regs               71 arch/xtensa/kernel/signal.c 	base = (XCHAL_NUM_AREGS / 4) - (regs->wmask >> 4);
regs               75 arch/xtensa/kernel/signal.c 	if ((regs->wmask & 2) == 0)
regs               76 arch/xtensa/kernel/signal.c 		if (__get_user(sp, (int*)(regs->areg[base * 4 + 1] - 12)))
regs               93 arch/xtensa/kernel/signal.c 					 &regs->areg[(base + 1) * 4], 16))
regs               99 arch/xtensa/kernel/signal.c 					 &regs->areg[(base + 1) * 4], 32))
regs              106 arch/xtensa/kernel/signal.c 		sp = regs->areg[((base + inc) * 4 + 1) % XCHAL_NUM_AREGS];
regs              107 arch/xtensa/kernel/signal.c 		if (copy_to_user(&SPILL_SLOT(sp, 0), &regs->areg[base * 4], 16))
regs              112 arch/xtensa/kernel/signal.c 		sp = regs->areg[base * 4 + 1];
regs              116 arch/xtensa/kernel/signal.c 	regs->wmask = 1;
regs              117 arch/xtensa/kernel/signal.c 	regs->windowstart = 1 << wb;
regs              134 arch/xtensa/kernel/signal.c setup_sigcontext(struct rt_sigframe __user *frame, struct pt_regs *regs)
regs              140 arch/xtensa/kernel/signal.c #define COPY(x)	err |= __put_user(regs->x, &sc->sc_##x)
regs              149 arch/xtensa/kernel/signal.c 	err |= flush_window_regs_user(regs);
regs              150 arch/xtensa/kernel/signal.c 	err |= __copy_to_user (sc->sc_a, regs->areg, 16 * 4);
regs              162 arch/xtensa/kernel/signal.c 	err |= __copy_to_user(&frame->xtregs.opt, &regs->xtregs_opt,
regs              173 arch/xtensa/kernel/signal.c restore_sigcontext(struct pt_regs *regs, struct rt_sigframe __user *frame)
regs              180 arch/xtensa/kernel/signal.c #define COPY(x)	err |= __get_user(regs->x, &sc->sc_##x)
regs              190 arch/xtensa/kernel/signal.c 	regs->wmask = 1;
regs              191 arch/xtensa/kernel/signal.c 	regs->windowbase = 0;
regs              192 arch/xtensa/kernel/signal.c 	regs->windowstart = 1;
regs              194 arch/xtensa/kernel/signal.c 	regs->syscall = NO_SYSCALL;	/* disable syscall checks */
regs              201 arch/xtensa/kernel/signal.c 	regs->ps = (regs->ps & ~PS_CALLINC_MASK) | (ps & PS_CALLINC_MASK);
regs              205 arch/xtensa/kernel/signal.c 	if ((regs->lcount > 0)
regs              206 arch/xtensa/kernel/signal.c 	    && ((regs->lbeg > TASK_SIZE) || (regs->lend > TASK_SIZE)) )
regs              209 arch/xtensa/kernel/signal.c 	err |= __copy_from_user(regs->areg, sc->sc_a, 16 * 4);
regs              228 arch/xtensa/kernel/signal.c 	err |= __copy_from_user(&regs->xtregs_opt, &frame->xtregs.opt,
regs              240 arch/xtensa/kernel/signal.c 				    long a4, long a5, struct pt_regs *regs)
regs              249 arch/xtensa/kernel/signal.c 	if (regs->depc > 64)
regs              252 arch/xtensa/kernel/signal.c 	frame = (struct rt_sigframe __user *) regs->areg[1];
regs              262 arch/xtensa/kernel/signal.c 	if (restore_sigcontext(regs, frame))
regs              265 arch/xtensa/kernel/signal.c 	ret = regs->areg[2];
regs              334 arch/xtensa/kernel/signal.c 		       struct pt_regs *regs)
regs              341 arch/xtensa/kernel/signal.c 	sp = regs->areg[1];
regs              349 arch/xtensa/kernel/signal.c 	if (regs->depc > 64)
regs              364 arch/xtensa/kernel/signal.c 	err |= __save_altstack(&frame->uc.uc_stack, regs->areg[1]);
regs              365 arch/xtensa/kernel/signal.c 	err |= setup_sigcontext(frame, regs);
regs              388 arch/xtensa/kernel/signal.c 	tp = regs->threadptr;
regs              389 arch/xtensa/kernel/signal.c 	ps = regs->ps;
regs              390 arch/xtensa/kernel/signal.c 	start_thread(regs, (unsigned long) ksig->ka.sa.sa_handler,
regs              396 arch/xtensa/kernel/signal.c 		regs->areg[base] =
regs              402 arch/xtensa/kernel/signal.c 		regs->areg[base] = (unsigned long) ra;
regs              404 arch/xtensa/kernel/signal.c 	regs->areg[base + 2] = (unsigned long) sig;
regs              405 arch/xtensa/kernel/signal.c 	regs->areg[base + 3] = (unsigned long) &frame->info;
regs              406 arch/xtensa/kernel/signal.c 	regs->areg[base + 4] = (unsigned long) &frame->uc;
regs              407 arch/xtensa/kernel/signal.c 	regs->threadptr = tp;
regs              408 arch/xtensa/kernel/signal.c 	regs->ps = ps;
regs              411 arch/xtensa/kernel/signal.c 		 current->comm, current->pid, sig, frame, regs->pc);
regs              425 arch/xtensa/kernel/signal.c static void do_signal(struct pt_regs *regs)
regs              436 arch/xtensa/kernel/signal.c 		if (regs->syscall != NO_SYSCALL) {
regs              440 arch/xtensa/kernel/signal.c 			switch (regs->areg[2]) {
regs              443 arch/xtensa/kernel/signal.c 					regs->areg[2] = -EINTR;
regs              448 arch/xtensa/kernel/signal.c 						regs->areg[2] = -EINTR;
regs              453 arch/xtensa/kernel/signal.c 					regs->areg[2] = regs->syscall;
regs              454 arch/xtensa/kernel/signal.c 					regs->pc -= 3;
regs              459 arch/xtensa/kernel/signal.c 					if (regs->areg[2] != 0)
regs              466 arch/xtensa/kernel/signal.c 		ret = setup_frame(&ksig, sigmask_to_save(), regs);
regs              475 arch/xtensa/kernel/signal.c 	if (regs->syscall != NO_SYSCALL) {
regs              477 arch/xtensa/kernel/signal.c 		switch (regs->areg[2]) {
regs              481 arch/xtensa/kernel/signal.c 			regs->areg[2] = regs->syscall;
regs              482 arch/xtensa/kernel/signal.c 			regs->pc -= 3;
regs              485 arch/xtensa/kernel/signal.c 			regs->areg[2] = __NR_restart_syscall;
regs              486 arch/xtensa/kernel/signal.c 			regs->pc -= 3;
regs              499 arch/xtensa/kernel/signal.c void do_notify_resume(struct pt_regs *regs)
regs              502 arch/xtensa/kernel/signal.c 		do_signal(regs);
regs              505 arch/xtensa/kernel/signal.c 		tracehook_notify_resume(regs);
regs               26 arch/xtensa/kernel/stacktrace.c void xtensa_backtrace_user(struct pt_regs *regs, unsigned int depth,
regs               30 arch/xtensa/kernel/stacktrace.c 	unsigned long windowstart = regs->windowstart;
regs               31 arch/xtensa/kernel/stacktrace.c 	unsigned long windowbase = regs->windowbase;
regs               32 arch/xtensa/kernel/stacktrace.c 	unsigned long a0 = regs->areg[0];
regs               33 arch/xtensa/kernel/stacktrace.c 	unsigned long a1 = regs->areg[1];
regs               34 arch/xtensa/kernel/stacktrace.c 	unsigned long pc = regs->pc;
regs               49 arch/xtensa/kernel/stacktrace.c 	     !(regs->ps & PS_WOE_MASK)))
regs               76 arch/xtensa/kernel/stacktrace.c 			a0 = regs->areg[index * 4];
regs               77 arch/xtensa/kernel/stacktrace.c 			a1 = regs->areg[index * 4 + 1];
regs              115 arch/xtensa/kernel/stacktrace.c void xtensa_backtrace_kernel(struct pt_regs *regs, unsigned int depth,
regs              120 arch/xtensa/kernel/stacktrace.c 	unsigned long pc = regs->depc > VALID_DOUBLE_EXCEPTION_ADDRESS ?
regs              121 arch/xtensa/kernel/stacktrace.c 		regs->depc : regs->pc;
regs              123 arch/xtensa/kernel/stacktrace.c 	unsigned long a0 = regs->areg[0];
regs              124 arch/xtensa/kernel/stacktrace.c 	unsigned long a1 = regs->areg[1];
regs              145 arch/xtensa/kernel/stacktrace.c 			regs = (struct pt_regs *)a1;
regs              146 arch/xtensa/kernel/stacktrace.c 			if (user_mode(regs)) {
regs              149 arch/xtensa/kernel/stacktrace.c 				xtensa_backtrace_user(regs, depth, ufn, data);
regs              152 arch/xtensa/kernel/stacktrace.c 			a0 = regs->areg[0];
regs              153 arch/xtensa/kernel/stacktrace.c 			a1 = regs->areg[1];
regs              170 arch/xtensa/kernel/traps.c __die_if_kernel(const char *str, struct pt_regs *regs, long err)
regs              172 arch/xtensa/kernel/traps.c 	if (!user_mode(regs))
regs              173 arch/xtensa/kernel/traps.c 		die(str, regs, err);
regs              180 arch/xtensa/kernel/traps.c void do_unhandled(struct pt_regs *regs, unsigned long exccause)
regs              183 arch/xtensa/kernel/traps.c 			regs, SIGKILL);
regs              189 arch/xtensa/kernel/traps.c 			    current->comm, task_pid_nr(current), regs->pc,
regs              198 arch/xtensa/kernel/traps.c void do_multihit(struct pt_regs *regs, unsigned long exccause)
regs              200 arch/xtensa/kernel/traps.c 	die("Caught multihit exception", regs, SIGKILL);
regs              241 arch/xtensa/kernel/traps.c void do_nmi(struct pt_regs *regs)
regs              245 arch/xtensa/kernel/traps.c 	if ((regs->ps & PS_INTLEVEL_MASK) < LOCKLEVEL)
regs              248 arch/xtensa/kernel/traps.c 	old_regs = set_irq_regs(regs);
regs              258 arch/xtensa/kernel/traps.c void do_interrupt(struct pt_regs *regs)
regs              274 arch/xtensa/kernel/traps.c 	old_regs = set_irq_regs(regs);
regs              293 arch/xtensa/kernel/traps.c 		do_IRQ(__ffs(int_at_level), regs);
regs              305 arch/xtensa/kernel/traps.c do_illegal_instruction(struct pt_regs *regs)
regs              307 arch/xtensa/kernel/traps.c 	__die_if_kernel("Illegal instruction in kernel", regs, SIGKILL);
regs              312 arch/xtensa/kernel/traps.c 			    current->comm, task_pid_nr(current), regs->pc);
regs              326 arch/xtensa/kernel/traps.c do_unaligned_user (struct pt_regs *regs)
regs              329 arch/xtensa/kernel/traps.c 			regs, SIGKILL);
regs              331 arch/xtensa/kernel/traps.c 	current->thread.bad_vaddr = regs->excvaddr;
regs              335 arch/xtensa/kernel/traps.c 			    regs->excvaddr, current->comm,
regs              336 arch/xtensa/kernel/traps.c 			    task_pid_nr(current), regs->pc);
regs              337 arch/xtensa/kernel/traps.c 	force_sig_fault(SIGBUS, BUS_ADRALN, (void *) regs->excvaddr);
regs              348 arch/xtensa/kernel/traps.c do_debug(struct pt_regs *regs)
regs              351 arch/xtensa/kernel/traps.c 	int ret = check_hw_breakpoint(regs);
regs              357 arch/xtensa/kernel/traps.c 	__die_if_kernel("Breakpoint in kernel", regs, SIGKILL);
regs              456 arch/xtensa/kernel/traps.c void show_regs(struct pt_regs * regs)
regs              462 arch/xtensa/kernel/traps.c 	wmask = regs->wmask & ~1;
regs              467 arch/xtensa/kernel/traps.c 		pr_cont(" %08lx", regs->areg[i]);
regs              471 arch/xtensa/kernel/traps.c 		regs->pc, regs->ps, regs->depc, regs->excvaddr);
regs              473 arch/xtensa/kernel/traps.c 		regs->lbeg, regs->lend, regs->lcount, regs->sar);
regs              474 arch/xtensa/kernel/traps.c 	if (user_mode(regs))
regs              476 arch/xtensa/kernel/traps.c 			regs->windowbase, regs->windowstart, regs->wmask,
regs              477 arch/xtensa/kernel/traps.c 			regs->syscall);
regs              524 arch/xtensa/kernel/traps.c void die(const char * str, struct pt_regs * regs, long err)
regs              533 arch/xtensa/kernel/traps.c 	show_regs(regs);
regs              534 arch/xtensa/kernel/traps.c 	if (!user_mode(regs))
regs              535 arch/xtensa/kernel/traps.c 		show_stack(NULL, (unsigned long*)regs->areg[1]);
regs               36 arch/xtensa/mm/fault.c void do_page_fault(struct pt_regs *regs)
regs               40 arch/xtensa/mm/fault.c 	unsigned int exccause = regs->exccause;
regs               41 arch/xtensa/mm/fault.c 	unsigned int address = regs->excvaddr;
regs               53 arch/xtensa/mm/fault.c 	if (address >= TASK_SIZE && !user_mode(regs))
regs               60 arch/xtensa/mm/fault.c 		bad_page_fault(regs, address, SIGSEGV);
regs               71 arch/xtensa/mm/fault.c 		 address, exccause, regs->pc,
regs               74 arch/xtensa/mm/fault.c 	if (user_mode(regs))
regs              144 arch/xtensa/mm/fault.c 	perf_sw_event(PERF_COUNT_SW_PAGE_FAULTS, 1, regs, address);
regs              146 arch/xtensa/mm/fault.c 		perf_sw_event(PERF_COUNT_SW_PAGE_FAULTS_MAJ, 1, regs, address);
regs              148 arch/xtensa/mm/fault.c 		perf_sw_event(PERF_COUNT_SW_PAGE_FAULTS_MIN, 1, regs, address);
regs              157 arch/xtensa/mm/fault.c 	if (user_mode(regs)) {
regs              163 arch/xtensa/mm/fault.c 	bad_page_fault(regs, address, SIGSEGV);
regs              172 arch/xtensa/mm/fault.c 	if (!user_mode(regs))
regs              173 arch/xtensa/mm/fault.c 		bad_page_fault(regs, address, SIGKILL);
regs              188 arch/xtensa/mm/fault.c 	if (!user_mode(regs))
regs              189 arch/xtensa/mm/fault.c 		bad_page_fault(regs, address, SIGBUS);
regs              227 arch/xtensa/mm/fault.c 	bad_page_fault(regs, address, SIGKILL);
regs              233 arch/xtensa/mm/fault.c bad_page_fault(struct pt_regs *regs, unsigned long address, int sig)
regs              239 arch/xtensa/mm/fault.c 	if ((entry = search_exception_tables(regs->pc)) != NULL) {
regs              241 arch/xtensa/mm/fault.c 			 current->comm, regs->pc, entry->fixup);
regs              243 arch/xtensa/mm/fault.c 		regs->pc = entry->fixup;
regs              252 arch/xtensa/mm/fault.c 		 address, regs->pc, regs->areg[0]);
regs              253 arch/xtensa/mm/fault.c 	die("Oops", regs, sig);
regs               20 arch/xtensa/oprofile/backtrace.c void xtensa_backtrace(struct pt_regs * const regs, unsigned int depth)
regs               22 arch/xtensa/oprofile/backtrace.c 	if (user_mode(regs))
regs               23 arch/xtensa/oprofile/backtrace.c 		xtensa_backtrace_user(regs, depth, xtensa_backtrace_cb, NULL);
regs               25 arch/xtensa/oprofile/backtrace.c 		xtensa_backtrace_kernel(regs, depth, xtensa_backtrace_cb,
regs               15 arch/xtensa/oprofile/init.c extern void xtensa_backtrace(struct pt_regs *const regs, unsigned int depth);
regs             1009 drivers/acpi/apei/ghes.c static int ghes_notify_nmi(unsigned int cmd, struct pt_regs *regs)
regs             1070 drivers/acpi/apei/ghes.c static int ghes_sdei_normal_callback(u32 event_num, struct pt_regs *regs,
regs             1084 drivers/acpi/apei/ghes.c static int ghes_sdei_critical_callback(u32 event_num, struct pt_regs *regs,
regs              121 drivers/amba/tegra-ahb.c 	void __iomem	*regs;
regs              128 drivers/amba/tegra-ahb.c 	return readl(ahb->regs + offset);
regs              133 drivers/amba/tegra-ahb.c 	writel(value, ahb->regs + offset);
regs              260 drivers/amba/tegra-ahb.c 	ahb->regs = devm_ioremap_resource(&pdev->dev, res);
regs              261 drivers/amba/tegra-ahb.c 	if (IS_ERR(ahb->regs))
regs              262 drivers/amba/tegra-ahb.c 		return PTR_ERR(ahb->regs);
regs              332 drivers/ata/pata_mpc52xx.c 	struct mpc52xx_ata __iomem *regs = priv->ata_regs;
regs              335 drivers/ata/pata_mpc52xx.c 	out_be32(&regs->pio1,  timing->pio1);
regs              336 drivers/ata/pata_mpc52xx.c 	out_be32(&regs->pio2,  timing->pio2);
regs              337 drivers/ata/pata_mpc52xx.c 	out_be32(&regs->mdma1, timing->mdma1);
regs              338 drivers/ata/pata_mpc52xx.c 	out_be32(&regs->mdma2, timing->mdma2);
regs              339 drivers/ata/pata_mpc52xx.c 	out_be32(&regs->udma1, timing->udma1);
regs              340 drivers/ata/pata_mpc52xx.c 	out_be32(&regs->udma2, timing->udma2);
regs              341 drivers/ata/pata_mpc52xx.c 	out_be32(&regs->udma3, timing->udma3);
regs              342 drivers/ata/pata_mpc52xx.c 	out_be32(&regs->udma4, timing->udma4);
regs              343 drivers/ata/pata_mpc52xx.c 	out_be32(&regs->udma5, timing->udma5);
regs              350 drivers/ata/pata_mpc52xx.c 	struct mpc52xx_ata __iomem *regs = priv->ata_regs;
regs              354 drivers/ata/pata_mpc52xx.c 	out_be32(&regs->share_cnt, 0);
regs              357 drivers/ata/pata_mpc52xx.c 	out_be32(&regs->config,
regs              365 drivers/ata/pata_mpc52xx.c 	out_be32(&regs->config,
regs              371 drivers/ata/pata_mpc52xx.c 	out_be32(&regs->share_cnt, tslot << 16);
regs              503 drivers/ata/pata_mpc52xx.c 	struct mpc52xx_ata __iomem *regs = priv->ata_regs;
regs              526 drivers/ata/pata_mpc52xx.c 			out_8(&regs->fifo_control, 7);
regs              527 drivers/ata/pata_mpc52xx.c 			out_be16(&regs->fifo_alarm, 128);
regs              530 drivers/ata/pata_mpc52xx.c 			out_8(&regs->dma_mode, MPC52xx_ATA_DMAMODE_FR);
regs              540 drivers/ata/pata_mpc52xx.c 			out_8(&regs->fifo_control, 4);
regs              541 drivers/ata/pata_mpc52xx.c 			out_be16(&regs->fifo_alarm, 128);
regs              548 drivers/ata/pata_mpc52xx.c 	out_8(&regs->dma_mode, dma_mode);
regs              258 drivers/ata/sata_dwc_460ex.c 	hsdev->dma->regs = devm_ioremap_resource(&pdev->dev, res);
regs              259 drivers/ata/sata_dwc_460ex.c 	if (IS_ERR(hsdev->dma->regs))
regs              260 drivers/ata/sata_dwc_460ex.c 		return PTR_ERR(hsdev->dma->regs);
regs              454 drivers/atm/fore200e.c     int irq_posted = readl(fore200e->regs.pca.psr);
regs              457 drivers/atm/fore200e.c     if (irq_posted && (readl(fore200e->regs.pca.hcr) & PCA200E_HCR_OUTFULL)) {
regs              469 drivers/atm/fore200e.c     writel(PCA200E_HCR_CLRINTR, fore200e->regs.pca.hcr);
regs              476 drivers/atm/fore200e.c     writel(PCA200E_HCR_RESET, fore200e->regs.pca.hcr);
regs              478 drivers/atm/fore200e.c     writel(0, fore200e->regs.pca.hcr);
regs              496 drivers/atm/fore200e.c     fore200e->regs.pca.hcr = fore200e->virt_base + PCA200E_HCR_OFFSET;
regs              497 drivers/atm/fore200e.c     fore200e->regs.pca.imr = fore200e->virt_base + PCA200E_IMR_OFFSET;
regs              498 drivers/atm/fore200e.c     fore200e->regs.pca.psr = fore200e->virt_base + PCA200E_PSR_OFFSET;
regs              646 drivers/atm/fore200e.c 	u32 hcr = fore200e->bus->read(fore200e->regs.sba.hcr) & SBA200E_HCR_STICKY;
regs              647 drivers/atm/fore200e.c 	fore200e->bus->write(hcr | SBA200E_HCR_INTR_ENA, fore200e->regs.sba.hcr);
regs              652 drivers/atm/fore200e.c 	return fore200e->bus->read(fore200e->regs.sba.hcr) & SBA200E_HCR_INTR_REQ;
regs              657 drivers/atm/fore200e.c 	u32 hcr = fore200e->bus->read(fore200e->regs.sba.hcr) & SBA200E_HCR_STICKY;
regs              658 drivers/atm/fore200e.c 	fore200e->bus->write(hcr | SBA200E_HCR_INTR_CLR, fore200e->regs.sba.hcr);
regs              663 drivers/atm/fore200e.c 	fore200e->bus->write(SBA200E_HCR_RESET, fore200e->regs.sba.hcr);
regs              665 drivers/atm/fore200e.c 	fore200e->bus->write(0, fore200e->regs.sba.hcr);
regs              674 drivers/atm/fore200e.c 	fore200e->regs.sba.hcr = of_ioremap(&op->resource[0], 0, SBA200E_HCR_LENGTH, "SBA HCR");
regs              675 drivers/atm/fore200e.c 	fore200e->regs.sba.bsr = of_ioremap(&op->resource[1], 0, SBA200E_BSR_LENGTH, "SBA BSR");
regs              676 drivers/atm/fore200e.c 	fore200e->regs.sba.isr = of_ioremap(&op->resource[2], 0, SBA200E_ISR_LENGTH, "SBA ISR");
regs              686 drivers/atm/fore200e.c 	fore200e->bus->write(0x02, fore200e->regs.sba.isr); /* XXX hardwired interrupt level */
regs              702 drivers/atm/fore200e.c 	of_iounmap(&op->resource[0], fore200e->regs.sba.hcr, SBA200E_HCR_LENGTH);
regs              703 drivers/atm/fore200e.c 	of_iounmap(&op->resource[1], fore200e->regs.sba.bsr, SBA200E_BSR_LENGTH);
regs              704 drivers/atm/fore200e.c 	of_iounmap(&op->resource[2], fore200e->regs.sba.isr, SBA200E_ISR_LENGTH);
regs              741 drivers/atm/fore200e.c 	const struct linux_prom_registers *regs;
regs              743 drivers/atm/fore200e.c 	regs = of_get_property(op->dev.of_node, "reg", NULL);
regs              746 drivers/atm/fore200e.c 		       (regs ? regs->which_io : 0), op->dev.of_node);
regs             1740 drivers/atm/fore200e.c fore200e_get_oc3(struct fore200e* fore200e, struct oc3_regs* regs)
regs             1748 drivers/atm/fore200e.c     oc3_regs_dma_addr = fore200e->bus->dma_map(fore200e, regs, sizeof(struct oc3_regs), DMA_FROM_DEVICE);
regs              835 drivers/atm/fore200e.h     union        fore200e_regs regs;                   /* bus-dependent registers            */
regs              874 drivers/atm/iphase.c 			 const struct ia_reg *regs, int len)
regs              877 drivers/atm/iphase.c 		ia_phy_write32(iadev, regs->reg, regs->val);
regs              878 drivers/atm/iphase.c 		regs++;
regs               17 drivers/base/regmap/regmap-mmio.c 	void __iomem *regs;
regs               75 drivers/base/regmap/regmap-mmio.c 	writeb(val, ctx->regs + reg);
regs               82 drivers/base/regmap/regmap-mmio.c 	writew(val, ctx->regs + reg);
regs               89 drivers/base/regmap/regmap-mmio.c 	iowrite16be(val, ctx->regs + reg);
regs               96 drivers/base/regmap/regmap-mmio.c 	writel(val, ctx->regs + reg);
regs              103 drivers/base/regmap/regmap-mmio.c 	iowrite32be(val, ctx->regs + reg);
regs              111 drivers/base/regmap/regmap-mmio.c 	writeq(val, ctx->regs + reg);
regs              137 drivers/base/regmap/regmap-mmio.c 	return readb(ctx->regs + reg);
regs              143 drivers/base/regmap/regmap-mmio.c 	return readw(ctx->regs + reg);
regs              149 drivers/base/regmap/regmap-mmio.c 	return ioread16be(ctx->regs + reg);
regs              155 drivers/base/regmap/regmap-mmio.c 	return readl(ctx->regs + reg);
regs              161 drivers/base/regmap/regmap-mmio.c 	return ioread32be(ctx->regs + reg);
regs              168 drivers/base/regmap/regmap-mmio.c 	return readq(ctx->regs + reg);
regs              213 drivers/base/regmap/regmap-mmio.c 					void __iomem *regs,
regs              238 drivers/base/regmap/regmap-mmio.c 	ctx->regs = regs;
regs              323 drivers/base/regmap/regmap-mmio.c 				      void __iomem *regs,
regs              330 drivers/base/regmap/regmap-mmio.c 	ctx = regmap_mmio_gen_context(dev, clk_id, regs, config);
regs              341 drivers/base/regmap/regmap-mmio.c 					   void __iomem *regs,
regs              348 drivers/base/regmap/regmap-mmio.c 	ctx = regmap_mmio_gen_context(dev, clk_id, regs, config);
regs             2135 drivers/base/regmap/regmap.c 				       const struct reg_sequence *regs,
regs             2160 drivers/base/regmap/regmap.c 		unsigned int reg = regs[i].reg;
regs             2161 drivers/base/regmap/regmap.c 		unsigned int val = regs[i].def;
regs             2176 drivers/base/regmap/regmap.c 		int reg = regs[i].reg;
regs             2192 drivers/base/regmap/regmap.c 					       struct reg_sequence *regs,
regs             2206 drivers/base/regmap/regmap.c 	base = regs;
regs             2208 drivers/base/regmap/regmap.c 		unsigned int reg = regs[i].reg;
regs             2229 drivers/base/regmap/regmap.c 		if (page_change || regs[i].delay_us) {
regs             2237 drivers/base/regmap/regmap.c 				if (regs[i].delay_us && i == 0)
regs             2244 drivers/base/regmap/regmap.c 				if (regs[i].delay_us)
regs             2245 drivers/base/regmap/regmap.c 					udelay(regs[i].delay_us);
regs             2269 drivers/base/regmap/regmap.c 				   const struct reg_sequence *regs,
regs             2277 drivers/base/regmap/regmap.c 			ret = _regmap_write(map, regs[i].reg, regs[i].def);
regs             2281 drivers/base/regmap/regmap.c 			if (regs[i].delay_us)
regs             2282 drivers/base/regmap/regmap.c 				udelay(regs[i].delay_us);
regs             2292 drivers/base/regmap/regmap.c 			int reg = regs[i].reg;
regs             2301 drivers/base/regmap/regmap.c 			unsigned int val = regs[i].def;
regs             2302 drivers/base/regmap/regmap.c 			unsigned int reg = regs[i].reg;
regs             2320 drivers/base/regmap/regmap.c 		unsigned int reg = regs[i].reg;
regs             2327 drivers/base/regmap/regmap.c 		if (range || regs[i].delay_us) {
regs             2329 drivers/base/regmap/regmap.c 			struct reg_sequence *base = kmemdup(regs, len,
regs             2340 drivers/base/regmap/regmap.c 	return _regmap_raw_multi_reg_write(map, regs, num_regs);
regs             2362 drivers/base/regmap/regmap.c int regmap_multi_reg_write(struct regmap *map, const struct reg_sequence *regs,
regs             2369 drivers/base/regmap/regmap.c 	ret = _regmap_multi_reg_write(map, regs, num_regs);
regs             2396 drivers/base/regmap/regmap.c 				    const struct reg_sequence *regs,
regs             2407 drivers/base/regmap/regmap.c 	ret = _regmap_multi_reg_write(map, regs, num_regs);
regs             3021 drivers/base/regmap/regmap.c int regmap_register_patch(struct regmap *map, const struct reg_sequence *regs,
regs             3036 drivers/base/regmap/regmap.c 		memcpy(p + map->patch_regs, regs, num_regs * sizeof(*regs));
regs             3050 drivers/base/regmap/regmap.c 	ret = _regmap_multi_reg_write(map, regs, num_regs);
regs              414 drivers/bcma/driver_chipcommon.c 		ports[i].regs = cc->core->io_addr + BCMA_CC_UART0_DATA +
regs              226 drivers/bus/brcmstb_gisb.c static int brcmstb_bus_error_handler(struct pt_regs *regs, int is_fixup)
regs               58 drivers/bus/imx-weim.c 	u32 regs[MAX_CS_REGS_COUNT];
regs              170 drivers/bus/imx-weim.c 		if (cst->is_applied && memcmp(value, cst->regs,
regs              182 drivers/bus/imx-weim.c 			memcpy(cst->regs, value,
regs              264 drivers/bus/mips_cdmm.c 	void __iomem	*regs;
regs              419 drivers/bus/mips_cdmm.c 	bus->regs = (void __iomem *)CKSEG1ADDR(bus->phys);
regs              464 drivers/bus/mips_cdmm.c 	cdmm = bus->regs;
regs              509 drivers/bus/mips_cdmm.c 	cdmm = bus->regs;
regs               33 drivers/bus/omap-ocp2scp.c 	void __iomem *regs;
regs               62 drivers/bus/omap-ocp2scp.c 		regs = devm_ioremap_resource(&pdev->dev, res);
regs               63 drivers/bus/omap-ocp2scp.c 		if (IS_ERR(regs)) {
regs               64 drivers/bus/omap-ocp2scp.c 			ret = PTR_ERR(regs);
regs               69 drivers/bus/omap-ocp2scp.c 		reg = readl_relaxed(regs + OCP2SCP_TIMING);
regs               72 drivers/bus/omap-ocp2scp.c 		writel_relaxed(reg, regs + OCP2SCP_TIMING);
regs              123 drivers/bus/sunxi-rsb.c 	void __iomem *regs;
regs              269 drivers/bus/sunxi-rsb.c 	if (readl(rsb->regs + RSB_CTRL) & RSB_CTRL_START_TRANS) {
regs              277 drivers/bus/sunxi-rsb.c 	       rsb->regs + RSB_INTE);
regs              279 drivers/bus/sunxi-rsb.c 	       rsb->regs + RSB_CTRL);
regs              286 drivers/bus/sunxi-rsb.c 		writel(RSB_CTRL_ABORT_TRANS, rsb->regs + RSB_CTRL);
regs              289 drivers/bus/sunxi-rsb.c 		writel(readl(rsb->regs + RSB_INTS), rsb->regs + RSB_INTS);
regs              340 drivers/bus/sunxi-rsb.c 	writel(addr, rsb->regs + RSB_ADDR);
regs              341 drivers/bus/sunxi-rsb.c 	writel(RSB_DAR_RTA(rtaddr), rsb->regs + RSB_DAR);
regs              342 drivers/bus/sunxi-rsb.c 	writel(cmd, rsb->regs + RSB_CMD);
regs              348 drivers/bus/sunxi-rsb.c 	*buf = readl(rsb->regs + RSB_DATA) & GENMASK(len * 8 - 1, 0);
regs              382 drivers/bus/sunxi-rsb.c 	writel(addr, rsb->regs + RSB_ADDR);
regs              383 drivers/bus/sunxi-rsb.c 	writel(RSB_DAR_RTA(rtaddr), rsb->regs + RSB_DAR);
regs              384 drivers/bus/sunxi-rsb.c 	writel(*buf, rsb->regs + RSB_DATA);
regs              385 drivers/bus/sunxi-rsb.c 	writel(cmd, rsb->regs + RSB_CMD);
regs              480 drivers/bus/sunxi-rsb.c 	status = readl(rsb->regs + RSB_INTS);
regs              486 drivers/bus/sunxi-rsb.c 	writel(status, rsb->regs + RSB_INTS);
regs              500 drivers/bus/sunxi-rsb.c 	       RSB_DMCR_MODE_REG | RSB_DMCR_DEV_ADDR, rsb->regs + RSB_DMCR);
regs              502 drivers/bus/sunxi-rsb.c 	readl_poll_timeout(rsb->regs + RSB_DMCR, reg,
regs              508 drivers/bus/sunxi-rsb.c 	writel(readl(rsb->regs + RSB_INTS), rsb->regs + RSB_INTS);
regs              583 drivers/bus/sunxi-rsb.c 		writel(RSB_CMD_STRA, rsb->regs + RSB_CMD);
regs              585 drivers/bus/sunxi-rsb.c 		       rsb->regs + RSB_DAR);
regs              649 drivers/bus/sunxi-rsb.c 	rsb->regs = devm_ioremap_resource(dev, r);
regs              650 drivers/bus/sunxi-rsb.c 	if (IS_ERR(rsb->regs))
regs              651 drivers/bus/sunxi-rsb.c 		return PTR_ERR(rsb->regs);
regs              689 drivers/bus/sunxi-rsb.c 	writel(RSB_CTRL_SOFT_RST, rsb->regs + RSB_CTRL);
regs              690 drivers/bus/sunxi-rsb.c 	readl_poll_timeout(rsb->regs + RSB_CTRL, reg,
regs              712 drivers/bus/sunxi-rsb.c 	       rsb->regs + RSB_CCR);
regs              147 drivers/char/hw_random/omap-rng.c 	u16	*regs;
regs              165 drivers/char/hw_random/omap-rng.c 	return __raw_readl(priv->base + priv->pdata->regs[reg]);
regs              171 drivers/char/hw_random/omap-rng.c 	__raw_writel(val, priv->base + priv->pdata->regs[reg]);
regs              196 drivers/char/hw_random/omap-rng.c 	memcpy_fromio(data, priv->base + priv->pdata->regs[RNG_OUTPUT_0_REG],
regs              199 drivers/char/hw_random/omap-rng.c 	if (priv->pdata->regs[RNG_INTACK_REG])
regs              239 drivers/char/hw_random/omap-rng.c 	.regs		= (u16 *)reg_map_omap2,
regs              346 drivers/char/hw_random/omap-rng.c 	.regs		= (u16 *)reg_map_omap4,
regs              354 drivers/char/hw_random/omap-rng.c 	.regs		= (u16 *)reg_map_eip76,
regs              415 drivers/char/hw_random/omap-rng.c 		if (priv->pdata->regs[RNG_INTMASK_REG])
regs             1098 drivers/char/ipmi/ipmi_watchdog.c ipmi_nmi(unsigned int val, struct pt_regs *regs)
regs             1129 drivers/char/ipmi/ipmi_watchdog.c 			nmi_panic(regs, "pre-timeout");
regs               41 drivers/char/pcmcia/scr24x_cs.c 	u8 __iomem *regs;
regs               64 drivers/char/pcmcia/scr24x_cs.c 		status = ioread8(dev->regs + SCR24X_CMD_STATUS);
regs              105 drivers/char/pcmcia/scr24x_cs.c 		iowrite8(CMD_READ_BYTE, dev->regs + SCR24X_CMD_STATUS);
regs              111 drivers/char/pcmcia/scr24x_cs.c 			dev->buf[i + y] = ioread8(dev->regs + SCR24X_DATA(y));
regs              195 drivers/char/pcmcia/scr24x_cs.c 	iowrite8(CMD_START, dev->regs + SCR24X_CMD_STATUS);
regs              202 drivers/char/pcmcia/scr24x_cs.c 			iowrite8(dev->buf[i + y], dev->regs + SCR24X_DATA(y));
regs              204 drivers/char/pcmcia/scr24x_cs.c 		iowrite8(CMD_WRITE_BYTE, dev->regs + SCR24X_CMD_STATUS);
regs              258 drivers/char/pcmcia/scr24x_cs.c 	dev->regs = devm_ioport_map(&link->dev,
regs              261 drivers/char/pcmcia/scr24x_cs.c 	if (!dev->regs) {
regs             1293 drivers/char/random.c static __u32 get_reg(struct fast_pool *f, struct pt_regs *regs)
regs             1295 drivers/char/random.c 	__u32 *ptr = (__u32 *) regs;
regs             1298 drivers/char/random.c 	if (regs == NULL)
regs             1312 drivers/char/random.c 	struct pt_regs		*regs = get_irq_regs();
regs             1321 drivers/char/random.c 		cycles = get_reg(fast_pool, regs);
regs             1326 drivers/char/random.c 	ip = regs ? instruction_pointer(regs) : _RET_IP_;
regs             1329 drivers/char/random.c 		get_reg(fast_pool, regs);
regs              124 drivers/char/toshiba.c static int tosh_emulate_fan(SMMRegisters *regs)
regs              129 drivers/char/toshiba.c 	eax = regs->eax & 0xff00;
regs              130 drivers/char/toshiba.c 	ecx = regs->ecx & 0xffff;
regs              141 drivers/char/toshiba.c 			regs->eax = 0x00;
regs              142 drivers/char/toshiba.c 			regs->ecx = (unsigned int) (al & 0x01);
regs              152 drivers/char/toshiba.c 			regs->eax = 0x00;
regs              153 drivers/char/toshiba.c 			regs->ecx = 0x00;
regs              163 drivers/char/toshiba.c 			regs->eax = 0x00;
regs              164 drivers/char/toshiba.c 			regs->ecx = 0x01;
regs              177 drivers/char/toshiba.c 			regs->eax = 0x00;
regs              178 drivers/char/toshiba.c 			regs->ecx = al & 0x01;
regs              187 drivers/char/toshiba.c 			regs->eax = 0x00;
regs              188 drivers/char/toshiba.c 			regs->ecx = 0x00;
regs              197 drivers/char/toshiba.c 			regs->eax = 0x00;
regs              198 drivers/char/toshiba.c 			regs->ecx = 0x01;
regs              209 drivers/char/toshiba.c int tosh_smm(SMMRegisters *regs)
regs              239 drivers/char/toshiba.c 		: "a" (regs)
regs              249 drivers/char/toshiba.c 	SMMRegisters regs;
regs              257 drivers/char/toshiba.c 	if (copy_from_user(&regs, argp, sizeof(SMMRegisters)))
regs              262 drivers/char/toshiba.c 			ax = regs.eax & 0xff00;
regs              263 drivers/char/toshiba.c 			bx = regs.ebx & 0xffff;
regs              272 drivers/char/toshiba.c 					err = tosh_emulate_fan(&regs);
regs              277 drivers/char/toshiba.c 			err = tosh_smm(&regs);
regs              284 drivers/char/toshiba.c         if (copy_to_user(argp, &regs, sizeof(SMMRegisters)))
regs              352 drivers/char/toshiba.c 	SMMRegisters regs;
regs              364 drivers/char/toshiba.c 		regs.eax = 0xc000;
regs              365 drivers/char/toshiba.c 		regs.ebx = 0x0000;
regs              366 drivers/char/toshiba.c 		regs.ecx = 0x0000;
regs              367 drivers/char/toshiba.c 		tosh_smm(&regs);
regs              368 drivers/char/toshiba.c 		bx = (unsigned short) (regs.ebx & 0xffff);
regs              376 drivers/char/toshiba.c 		pr_debug("toshiba: debugging ID ebx=0x%04x\n", regs.ebx);
regs              409 drivers/char/toshiba.c 	SMMRegisters regs;
regs              428 drivers/char/toshiba.c 	regs.eax = 0xf0f0;
regs              429 drivers/char/toshiba.c 	regs.ebx = 0x0000;
regs              430 drivers/char/toshiba.c 	regs.ecx = 0x0000;
regs              431 drivers/char/toshiba.c 	flag = tosh_smm(&regs);
regs              435 drivers/char/toshiba.c 	if ((flag==1) || ((regs.eax & 0xff00)==0x8600)) {
regs              443 drivers/char/toshiba.c 	tosh_sci = regs.edx & 0xffff;
regs              753 drivers/char/xilinx_hwicap/xilinx_hwicap.c 	const struct config_registers *regs;
regs              767 drivers/char/xilinx_hwicap/xilinx_hwicap.c 	regs = &v4_config_registers;
regs              772 drivers/char/xilinx_hwicap/xilinx_hwicap.c 			regs = &v2_config_registers;
regs              774 drivers/char/xilinx_hwicap/xilinx_hwicap.c 			regs = &v4_config_registers;
regs              776 drivers/char/xilinx_hwicap/xilinx_hwicap.c 			regs = &v5_config_registers;
regs              778 drivers/char/xilinx_hwicap/xilinx_hwicap.c 			regs = &v6_config_registers;
regs              781 drivers/char/xilinx_hwicap/xilinx_hwicap.c 			regs);
regs              796 drivers/char/xilinx_hwicap/xilinx_hwicap.c 	const struct config_registers *regs;
regs              810 drivers/char/xilinx_hwicap/xilinx_hwicap.c 	regs = &v4_config_registers;
regs              815 drivers/char/xilinx_hwicap/xilinx_hwicap.c 			regs = &v2_config_registers;
regs              817 drivers/char/xilinx_hwicap/xilinx_hwicap.c 			regs = &v4_config_registers;
regs              819 drivers/char/xilinx_hwicap/xilinx_hwicap.c 			regs = &v5_config_registers;
regs              821 drivers/char/xilinx_hwicap/xilinx_hwicap.c 			regs = &v6_config_registers;
regs              825 drivers/char/xilinx_hwicap/xilinx_hwicap.c 			&buffer_icap_config, regs);
regs              315 drivers/clk/bcm/clk-bcm2835.c 	void __iomem *regs;
regs              335 drivers/clk/bcm/clk-bcm2835.c 	writel(CM_PASSWORD | val, cprman->regs + reg);
regs              340 drivers/clk/bcm/clk-bcm2835.c 	return readl(cprman->regs + reg);
regs              399 drivers/clk/bcm/clk-bcm2835.c 				  struct debugfs_reg32 *regs, size_t nregs,
regs              408 drivers/clk/bcm/clk-bcm2835.c 	regset->regs = regs;
regs              410 drivers/clk/bcm/clk-bcm2835.c 	regset->base = cprman->regs + base;
regs              736 drivers/clk/bcm/clk-bcm2835.c 	struct debugfs_reg32 *regs;
regs              738 drivers/clk/bcm/clk-bcm2835.c 	regs = devm_kcalloc(cprman->dev, 7, sizeof(*regs), GFP_KERNEL);
regs              739 drivers/clk/bcm/clk-bcm2835.c 	if (!regs)
regs              742 drivers/clk/bcm/clk-bcm2835.c 	regs[0].name = "cm_ctrl";
regs              743 drivers/clk/bcm/clk-bcm2835.c 	regs[0].offset = data->cm_ctrl_reg;
regs              744 drivers/clk/bcm/clk-bcm2835.c 	regs[1].name = "a2w_ctrl";
regs              745 drivers/clk/bcm/clk-bcm2835.c 	regs[1].offset = data->a2w_ctrl_reg;
regs              746 drivers/clk/bcm/clk-bcm2835.c 	regs[2].name = "frac";
regs              747 drivers/clk/bcm/clk-bcm2835.c 	regs[2].offset = data->frac_reg;
regs              748 drivers/clk/bcm/clk-bcm2835.c 	regs[3].name = "ana0";
regs              749 drivers/clk/bcm/clk-bcm2835.c 	regs[3].offset = data->ana_reg_base + 0 * 4;
regs              750 drivers/clk/bcm/clk-bcm2835.c 	regs[4].name = "ana1";
regs              751 drivers/clk/bcm/clk-bcm2835.c 	regs[4].offset = data->ana_reg_base + 1 * 4;
regs              752 drivers/clk/bcm/clk-bcm2835.c 	regs[5].name = "ana2";
regs              753 drivers/clk/bcm/clk-bcm2835.c 	regs[5].offset = data->ana_reg_base + 2 * 4;
regs              754 drivers/clk/bcm/clk-bcm2835.c 	regs[6].name = "ana3";
regs              755 drivers/clk/bcm/clk-bcm2835.c 	regs[6].offset = data->ana_reg_base + 3 * 4;
regs              757 drivers/clk/bcm/clk-bcm2835.c 	bcm2835_debugfs_regset(cprman, 0, regs, 7, dentry);
regs              867 drivers/clk/bcm/clk-bcm2835.c 	struct debugfs_reg32 *regs;
regs              869 drivers/clk/bcm/clk-bcm2835.c 	regs = devm_kcalloc(cprman->dev, 7, sizeof(*regs), GFP_KERNEL);
regs              870 drivers/clk/bcm/clk-bcm2835.c 	if (!regs)
regs              873 drivers/clk/bcm/clk-bcm2835.c 	regs[0].name = "cm";
regs              874 drivers/clk/bcm/clk-bcm2835.c 	regs[0].offset = data->cm_reg;
regs              875 drivers/clk/bcm/clk-bcm2835.c 	regs[1].name = "a2w";
regs              876 drivers/clk/bcm/clk-bcm2835.c 	regs[1].offset = data->a2w_reg;
regs              878 drivers/clk/bcm/clk-bcm2835.c 	bcm2835_debugfs_regset(cprman, 0, regs, 2, dentry);
regs             1358 drivers/clk/bcm/clk-bcm2835.c 	divider->div.reg = cprman->regs + data->a2w_reg;
regs             1456 drivers/clk/bcm/clk-bcm2835.c 				 cprman->regs + data->ctl_reg,
regs             2215 drivers/clk/bcm/clk-bcm2835.c 	cprman->regs = devm_ioremap_resource(dev, res);
regs             2216 drivers/clk/bcm/clk-bcm2835.c 	if (IS_ERR(cprman->regs))
regs             2217 drivers/clk/bcm/clk-bcm2835.c 		return PTR_ERR(cprman->regs);
regs               16 drivers/clk/bcm/clk-bcm63xx-gate.c 	void __iomem *regs;
regs              172 drivers/clk/bcm/clk-bcm63xx-gate.c 	hw->regs = devm_platform_ioremap_resource(pdev, 0);
regs              173 drivers/clk/bcm/clk-bcm63xx-gate.c 	if (IS_ERR(hw->regs))
regs              174 drivers/clk/bcm/clk-bcm63xx-gate.c 		return PTR_ERR(hw->regs);
regs              180 drivers/clk/bcm/clk-bcm63xx-gate.c 					   entry->flags, hw->regs, entry->bit,
regs               90 drivers/clk/clk-hsdk-pll.c 	void __iomem *regs;
regs              124 drivers/clk/clk-hsdk-pll.c 	iowrite32(val, clk->regs + reg);
regs              129 drivers/clk/clk-hsdk-pll.c 	return ioread32(clk->regs + reg);
regs              314 drivers/clk/clk-hsdk-pll.c 	pll_clk->regs = devm_ioremap_resource(dev, mem);
regs              315 drivers/clk/clk-hsdk-pll.c 	if (IS_ERR(pll_clk->regs))
regs              316 drivers/clk/clk-hsdk-pll.c 		return PTR_ERR(pll_clk->regs);
regs              366 drivers/clk/clk-hsdk-pll.c 	pll_clk->regs = of_iomap(node, 0);
regs              367 drivers/clk/clk-hsdk-pll.c 	if (!pll_clk->regs) {
regs              409 drivers/clk/clk-hsdk-pll.c 	iounmap(pll_clk->regs);
regs               87 drivers/clk/clk-qoriq.c 	void __iomem *regs;
regs              919 drivers/clk/clk-qoriq.c 		hwc->reg = cg->regs + 0x70000 + 0x20 * idx;
regs              921 drivers/clk/clk-qoriq.c 		hwc->reg = cg->regs + 0x20 * idx;
regs              962 drivers/clk/clk-qoriq.c 	hwc->reg = cg->regs + 0x20 * idx + 0x10;
regs             1162 drivers/clk/clk-qoriq.c 			reg = cg->regs + 0x60080;
regs             1165 drivers/clk/clk-qoriq.c 			reg = cg->regs + 0x80;
regs             1168 drivers/clk/clk-qoriq.c 			reg = cg->regs + 0xa0;
regs             1171 drivers/clk/clk-qoriq.c 			reg = cg->regs + 0x10080;
regs             1174 drivers/clk/clk-qoriq.c 			reg = cg->regs + 0x100a0;
regs             1182 drivers/clk/clk-qoriq.c 			reg = cg->regs + 0xc00;
regs             1184 drivers/clk/clk-qoriq.c 			reg = cg->regs + 0x800 + 0x20 * (idx - 1);
regs             1431 drivers/clk/clk-qoriq.c 	clockgen.regs = of_iomap(np, 0);
regs             1432 drivers/clk/clk-qoriq.c 	if (!clockgen.regs &&
regs             1435 drivers/clk/clk-qoriq.c 		clockgen.regs = ioremap(0x1ee1000, 0x1000);
regs             1438 drivers/clk/clk-qoriq.c 	if (!clockgen.regs) {
regs             1492 drivers/clk/clk-qoriq.c 	iounmap(clockgen.regs);
regs             1493 drivers/clk/clk-qoriq.c 	clockgen.regs = NULL;
regs             1004 drivers/clk/davinci/pll.c 	regset->regs = davinci_pll_regs;
regs               51 drivers/clk/mediatek/clk-gate.h 		.regs = _regs,					\
regs               22 drivers/clk/mediatek/clk-mt2701-aud.c 		.regs = &audio0_cg_regs,			\
regs               31 drivers/clk/mediatek/clk-mt2701-aud.c 		.regs = &audio1_cg_regs,			\
regs               40 drivers/clk/mediatek/clk-mt2701-aud.c 		.regs = &audio2_cg_regs,			\
regs               49 drivers/clk/mediatek/clk-mt2701-aud.c 		.regs = &audio3_cg_regs,			\
regs               31 drivers/clk/mediatek/clk-mt2701-bdp.c 		.regs = &bdp0_cg_regs,			\
regs               40 drivers/clk/mediatek/clk-mt2701-bdp.c 		.regs = &bdp1_cg_regs,			\
regs               23 drivers/clk/mediatek/clk-mt2701-eth.c 		.regs = &eth_cg_regs,			\
regs               23 drivers/clk/mediatek/clk-mt2701-g3d.c 		.regs = &g3d_cg_regs,			\
regs               23 drivers/clk/mediatek/clk-mt2701-hif.c 		.regs = &hif_cg_regs,			\
regs               25 drivers/clk/mediatek/clk-mt2701-img.c 		.regs = &img_cg_regs,			\
regs               31 drivers/clk/mediatek/clk-mt2701-mm.c 		.regs = &disp0_cg_regs,			\
regs               40 drivers/clk/mediatek/clk-mt2701-mm.c 		.regs = &disp1_cg_regs,			\
regs               31 drivers/clk/mediatek/clk-mt2701-vdec.c 		.regs = &vdec0_cg_regs,			\
regs               40 drivers/clk/mediatek/clk-mt2701-vdec.c 		.regs = &vdec1_cg_regs,			\
regs              642 drivers/clk/mediatek/clk-mt2701.c 		.regs = &top_aud_cg_regs,		\
regs              707 drivers/clk/mediatek/clk-mt2701.c 		.regs = &infra_cg_regs,			\
regs              808 drivers/clk/mediatek/clk-mt2701.c 		.regs = &peri0_cg_regs,			\
regs              817 drivers/clk/mediatek/clk-mt2701.c 		.regs = &peri1_cg_regs,			\
regs               25 drivers/clk/mediatek/clk-mt2712-bdp.c 		.regs = &bdp_cg_regs,			\
regs               25 drivers/clk/mediatek/clk-mt2712-img.c 		.regs = &img_cg_regs,			\
regs               25 drivers/clk/mediatek/clk-mt2712-jpgdec.c 		.regs = &jpgdec_cg_regs,			\
regs               25 drivers/clk/mediatek/clk-mt2712-mfg.c 		.regs = &mfg_cg_regs,			\
regs               37 drivers/clk/mediatek/clk-mt2712-mm.c 		.regs = &mm0_cg_regs,			\
regs               46 drivers/clk/mediatek/clk-mt2712-mm.c 		.regs = &mm1_cg_regs,			\
regs               55 drivers/clk/mediatek/clk-mt2712-mm.c 		.regs = &mm2_cg_regs,			\
regs               31 drivers/clk/mediatek/clk-mt2712-vdec.c 		.regs = &vdec0_cg_regs,			\
regs               40 drivers/clk/mediatek/clk-mt2712-vdec.c 		.regs = &vdec1_cg_regs,			\
regs               25 drivers/clk/mediatek/clk-mt2712-venc.c 		.regs = &venc_cg_regs,			\
regs              964 drivers/clk/mediatek/clk-mt2712.c 		.regs = &top0_cg_regs,			\
regs              973 drivers/clk/mediatek/clk-mt2712.c 		.regs = &top1_cg_regs,			\
regs             1004 drivers/clk/mediatek/clk-mt2712.c 		.regs = &infra_cg_regs,			\
regs             1041 drivers/clk/mediatek/clk-mt2712.c 		.regs = &peri0_cg_regs,			\
regs             1050 drivers/clk/mediatek/clk-mt2712.c 		.regs = &peri1_cg_regs,			\
regs             1059 drivers/clk/mediatek/clk-mt2712.c 		.regs = &peri2_cg_regs,			\
regs               23 drivers/clk/mediatek/clk-mt6797-img.c 		.regs = &img_cg_regs,			\
regs               30 drivers/clk/mediatek/clk-mt6797-mm.c 	.regs = &mm0_cg_regs,				\
regs               39 drivers/clk/mediatek/clk-mt6797-mm.c 	.regs = &mm1_cg_regs,				\
regs               31 drivers/clk/mediatek/clk-mt6797-vdec.c 	.regs = &vdec0_cg_regs,				\
regs               40 drivers/clk/mediatek/clk-mt6797-vdec.c 	.regs = &vdec1_cg_regs,				\
regs               25 drivers/clk/mediatek/clk-mt6797-venc.c 		.regs = &venc_cg_regs,			\
regs              427 drivers/clk/mediatek/clk-mt6797.c 	.regs = &infra0_cg_regs,				\
regs              439 drivers/clk/mediatek/clk-mt6797.c 	.regs = &infra1_cg_regs,				\
regs              452 drivers/clk/mediatek/clk-mt6797.c 	.regs = &infra2_cg_regs,				\
regs               23 drivers/clk/mediatek/clk-mt7622-aud.c 		.regs = &audio0_cg_regs,			\
regs               32 drivers/clk/mediatek/clk-mt7622-aud.c 		.regs = &audio1_cg_regs,			\
regs               41 drivers/clk/mediatek/clk-mt7622-aud.c 		.regs = &audio2_cg_regs,			\
regs               50 drivers/clk/mediatek/clk-mt7622-aud.c 		.regs = &audio3_cg_regs,			\
regs               23 drivers/clk/mediatek/clk-mt7622-eth.c 		.regs = &eth_cg_regs,			\
regs               52 drivers/clk/mediatek/clk-mt7622-eth.c 		.regs = &sgmii_cg_regs,			\
regs               23 drivers/clk/mediatek/clk-mt7622-hif.c 		.regs = &pcie_cg_regs,			\
regs               32 drivers/clk/mediatek/clk-mt7622-hif.c 		.regs = &ssusb_cg_regs,			\
regs               56 drivers/clk/mediatek/clk-mt7622.c 		.regs = &apmixed_cg_regs,				\
regs               65 drivers/clk/mediatek/clk-mt7622.c 		.regs = &infra_cg_regs,					\
regs               74 drivers/clk/mediatek/clk-mt7622.c 		.regs = &top0_cg_regs,					\
regs               83 drivers/clk/mediatek/clk-mt7622.c 		.regs = &top1_cg_regs,					\
regs               92 drivers/clk/mediatek/clk-mt7622.c 		.regs = &peri0_cg_regs,					\
regs              101 drivers/clk/mediatek/clk-mt7622.c 		.regs = &peri1_cg_regs,					\
regs               23 drivers/clk/mediatek/clk-mt7629-eth.c 		.regs = &eth_cg_regs,			\
regs               52 drivers/clk/mediatek/clk-mt7629-eth.c 		.regs = &sgmii_cg_regs,			\
regs               23 drivers/clk/mediatek/clk-mt7629-hif.c 		.regs = &pcie_cg_regs,			\
regs               32 drivers/clk/mediatek/clk-mt7629-hif.c 		.regs = &ssusb_cg_regs,			\
regs               56 drivers/clk/mediatek/clk-mt7629.c 		.regs = &apmixed_cg_regs,		\
regs               65 drivers/clk/mediatek/clk-mt7629.c 		.regs = &infra_cg_regs,			\
regs               74 drivers/clk/mediatek/clk-mt7629.c 		.regs = &peri0_cg_regs,			\
regs               83 drivers/clk/mediatek/clk-mt7629.c 		.regs = &peri1_cg_regs,			\
regs              407 drivers/clk/mediatek/clk-mt8135.c 		.regs = &infra_cg_regs,				\
regs              444 drivers/clk/mediatek/clk-mt8135.c 		.regs = &peri0_cg_regs,				\
regs              453 drivers/clk/mediatek/clk-mt8135.c 		.regs = &peri1_cg_regs,				\
regs              626 drivers/clk/mediatek/clk-mt8173.c 		.regs = &infra_cg_regs,				\
regs              665 drivers/clk/mediatek/clk-mt8173.c 		.regs = &peri0_cg_regs,				\
regs              674 drivers/clk/mediatek/clk-mt8173.c 		.regs = &peri1_cg_regs,				\
regs              741 drivers/clk/mediatek/clk-mt8173.c 		.regs = &cg_regs_4_8_0,				\
regs              772 drivers/clk/mediatek/clk-mt8173.c 		.regs = &mm0_cg_regs,				\
regs              781 drivers/clk/mediatek/clk-mt8173.c 		.regs = &mm1_cg_regs,				\
regs              859 drivers/clk/mediatek/clk-mt8173.c 		.regs = &vdec0_cg_regs,				\
regs              868 drivers/clk/mediatek/clk-mt8173.c 		.regs = &vdec1_cg_regs,				\
regs              882 drivers/clk/mediatek/clk-mt8173.c 		.regs = &cg_regs_4_8_0,				\
regs              898 drivers/clk/mediatek/clk-mt8173.c 		.regs = &cg_regs_4_8_0,				\
regs               29 drivers/clk/mediatek/clk-mt8516-aud.c 		.regs = &aud_cg_regs,		\
regs              531 drivers/clk/mediatek/clk-mt8516.c 		.regs = &top1_cg_regs,			\
regs              540 drivers/clk/mediatek/clk-mt8516.c 		.regs = &top2_cg_regs,			\
regs              549 drivers/clk/mediatek/clk-mt8516.c 		.regs = &top2_cg_regs,			\
regs              558 drivers/clk/mediatek/clk-mt8516.c 		.regs = &top3_cg_regs,			\
regs              567 drivers/clk/mediatek/clk-mt8516.c 		.regs = &top4_cg_regs,			\
regs              576 drivers/clk/mediatek/clk-mt8516.c 		.regs = &top5_cg_regs,			\
regs              124 drivers/clk/mediatek/clk-mtk.c 				gate->regs->set_ofs,
regs              125 drivers/clk/mediatek/clk-mtk.c 				gate->regs->clr_ofs,
regs              126 drivers/clk/mediatek/clk-mtk.c 				gate->regs->sta_ofs,
regs              162 drivers/clk/mediatek/clk-mtk.h 	const struct mtk_gate_regs *regs;
regs             1020 drivers/clk/meson/axg-audio.c 	void __iomem *regs;
regs             1029 drivers/clk/meson/axg-audio.c 	regs = devm_ioremap_resource(dev, res);
regs             1030 drivers/clk/meson/axg-audio.c 	if (IS_ERR(regs))
regs             1031 drivers/clk/meson/axg-audio.c 		return PTR_ERR(regs);
regs             1033 drivers/clk/meson/axg-audio.c 	map = devm_regmap_init_mmio(dev, regs, &axg_audio_regmap_cfg);
regs               49 drivers/clk/qcom/camcc-sdm845.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_FABIA],
regs               72 drivers/clk/qcom/camcc-sdm845.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_FABIA],
regs               83 drivers/clk/qcom/camcc-sdm845.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_FABIA],
regs              100 drivers/clk/qcom/camcc-sdm845.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_FABIA],
regs              111 drivers/clk/qcom/camcc-sdm845.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_FABIA],
regs              128 drivers/clk/qcom/camcc-sdm845.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_FABIA],
regs              139 drivers/clk/qcom/camcc-sdm845.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_FABIA],
regs              156 drivers/clk/qcom/camcc-sdm845.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_FABIA],
regs               34 drivers/clk/qcom/clk-alpha-pll.c #define PLL_L_VAL(p)		((p)->offset + (p)->regs[PLL_OFF_L_VAL])
regs               35 drivers/clk/qcom/clk-alpha-pll.c #define PLL_CAL_L_VAL(p)	((p)->offset + (p)->regs[PLL_OFF_CAL_L_VAL])
regs               36 drivers/clk/qcom/clk-alpha-pll.c #define PLL_ALPHA_VAL(p)	((p)->offset + (p)->regs[PLL_OFF_ALPHA_VAL])
regs               37 drivers/clk/qcom/clk-alpha-pll.c #define PLL_ALPHA_VAL_U(p)	((p)->offset + (p)->regs[PLL_OFF_ALPHA_VAL_U])
regs               39 drivers/clk/qcom/clk-alpha-pll.c #define PLL_USER_CTL(p)		((p)->offset + (p)->regs[PLL_OFF_USER_CTL])
regs               47 drivers/clk/qcom/clk-alpha-pll.c #define PLL_USER_CTL_U(p)	((p)->offset + (p)->regs[PLL_OFF_USER_CTL_U])
regs               48 drivers/clk/qcom/clk-alpha-pll.c #define PLL_USER_CTL_U1(p)	((p)->offset + (p)->regs[PLL_OFF_USER_CTL_U1])
regs               50 drivers/clk/qcom/clk-alpha-pll.c #define PLL_CONFIG_CTL(p)	((p)->offset + (p)->regs[PLL_OFF_CONFIG_CTL])
regs               51 drivers/clk/qcom/clk-alpha-pll.c #define PLL_CONFIG_CTL_U(p)	((p)->offset + (p)->regs[PLL_OFF_CONFIG_CTL_U])
regs               52 drivers/clk/qcom/clk-alpha-pll.c #define PLL_CONFIG_CTL_U1(p)	((p)->offset + (p)->regs[PLL_OFF_CONFIG_CTL_U1])
regs               53 drivers/clk/qcom/clk-alpha-pll.c #define PLL_TEST_CTL(p)		((p)->offset + (p)->regs[PLL_OFF_TEST_CTL])
regs               54 drivers/clk/qcom/clk-alpha-pll.c #define PLL_TEST_CTL_U(p)	((p)->offset + (p)->regs[PLL_OFF_TEST_CTL_U])
regs               55 drivers/clk/qcom/clk-alpha-pll.c #define PLL_STATUS(p)		((p)->offset + (p)->regs[PLL_OFF_STATUS])
regs               56 drivers/clk/qcom/clk-alpha-pll.c #define PLL_OPMODE(p)		((p)->offset + (p)->regs[PLL_OFF_OPMODE])
regs               57 drivers/clk/qcom/clk-alpha-pll.c #define PLL_FRAC(p)		((p)->offset + (p)->regs[PLL_OFF_FRAC])
regs               58 drivers/clk/qcom/clk-alpha-pll.c #define PLL_CAL_VAL(p)		((p)->offset + (p)->regs[PLL_OFF_CAL_VAL])
regs               57 drivers/clk/qcom/clk-alpha-pll.h 	const u8 *regs;
regs               83 drivers/clk/qcom/clk-alpha-pll.h 	const u8 *regs;
regs               90 drivers/clk/qcom/dispcc-sdm845.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_FABIA],
regs              401 drivers/clk/qcom/gcc-ipq8074.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
regs              432 drivers/clk/qcom/gcc-ipq8074.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
regs              446 drivers/clk/qcom/gcc-ipq8074.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
regs              464 drivers/clk/qcom/gcc-ipq8074.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
regs              479 drivers/clk/qcom/gcc-ipq8074.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
regs              497 drivers/clk/qcom/gcc-ipq8074.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
regs              512 drivers/clk/qcom/gcc-ipq8074.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_BRAMMO],
regs              531 drivers/clk/qcom/gcc-ipq8074.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_BRAMMO],
regs              560 drivers/clk/qcom/gcc-ipq8074.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_HUAYRA],
regs              578 drivers/clk/qcom/gcc-ipq8074.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_HUAYRA],
regs              593 drivers/clk/qcom/gcc-ipq8074.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
regs              610 drivers/clk/qcom/gcc-ipq8074.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
regs               66 drivers/clk/qcom/gcc-msm8994.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
regs               82 drivers/clk/qcom/gcc-msm8994.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
regs               94 drivers/clk/qcom/gcc-msm8994.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
regs              110 drivers/clk/qcom/gcc-msm8994.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
regs              184 drivers/clk/qcom/gcc-msm8996.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
regs              210 drivers/clk/qcom/gcc-msm8996.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
regs              251 drivers/clk/qcom/gcc-msm8996.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
regs              266 drivers/clk/qcom/gcc-msm8996.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
regs              138 drivers/clk/qcom/gcc-msm8998.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
regs              155 drivers/clk/qcom/gcc-msm8998.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
regs              166 drivers/clk/qcom/gcc-msm8998.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
regs              177 drivers/clk/qcom/gcc-msm8998.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
regs              188 drivers/clk/qcom/gcc-msm8998.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
regs              199 drivers/clk/qcom/gcc-msm8998.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
regs              216 drivers/clk/qcom/gcc-msm8998.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
regs              227 drivers/clk/qcom/gcc-msm8998.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
regs              238 drivers/clk/qcom/gcc-msm8998.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
regs              249 drivers/clk/qcom/gcc-msm8998.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
regs              260 drivers/clk/qcom/gcc-msm8998.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
regs              277 drivers/clk/qcom/gcc-msm8998.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
regs              288 drivers/clk/qcom/gcc-msm8998.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
regs              299 drivers/clk/qcom/gcc-msm8998.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
regs              310 drivers/clk/qcom/gcc-msm8998.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
regs              321 drivers/clk/qcom/gcc-msm8998.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
regs              338 drivers/clk/qcom/gcc-msm8998.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
regs              349 drivers/clk/qcom/gcc-msm8998.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
regs              360 drivers/clk/qcom/gcc-msm8998.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
regs              371 drivers/clk/qcom/gcc-msm8998.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
regs              382 drivers/clk/qcom/gcc-msm8998.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
regs              399 drivers/clk/qcom/gcc-msm8998.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
regs              410 drivers/clk/qcom/gcc-msm8998.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
regs              421 drivers/clk/qcom/gcc-msm8998.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
regs              432 drivers/clk/qcom/gcc-msm8998.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
regs              290 drivers/clk/qcom/gcc-qcs404.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
regs              306 drivers/clk/qcom/gcc-qcs404.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
regs              323 drivers/clk/qcom/gcc-qcs404.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
regs              340 drivers/clk/qcom/gcc-qcs404.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
regs              371 drivers/clk/qcom/gcc-qcs404.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
regs              386 drivers/clk/qcom/gcc-qcs404.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
regs              155 drivers/clk/qcom/gcc-sdm660.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
regs              181 drivers/clk/qcom/gcc-sdm660.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
regs              192 drivers/clk/qcom/gcc-sdm660.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
regs              218 drivers/clk/qcom/gcc-sdm660.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
regs              229 drivers/clk/qcom/gcc-sdm660.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
regs              244 drivers/clk/qcom/gcc-sdm660.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
regs              155 drivers/clk/qcom/gcc-sdm845.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_FABIA],
regs              170 drivers/clk/qcom/gcc-sdm845.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_FABIA],
regs              197 drivers/clk/qcom/gcc-sdm845.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_FABIA],
regs               44 drivers/clk/qcom/gcc-sm8150.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_TRION],
regs               73 drivers/clk/qcom/gcc-sm8150.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_TRION],
regs               89 drivers/clk/qcom/gcc-sm8150.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_TRION],
regs              109 drivers/clk/qcom/gcc-sm8150.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_TRION],
regs               61 drivers/clk/qcom/gpucc-sdm845.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_FABIA],
regs              260 drivers/clk/qcom/mmcc-msm8996.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
regs              277 drivers/clk/qcom/mmcc-msm8996.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
regs              290 drivers/clk/qcom/mmcc-msm8996.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
regs              307 drivers/clk/qcom/mmcc-msm8996.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
regs              320 drivers/clk/qcom/mmcc-msm8996.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
regs              333 drivers/clk/qcom/mmcc-msm8996.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
regs              346 drivers/clk/qcom/mmcc-msm8996.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
regs              359 drivers/clk/qcom/mmcc-msm8996.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
regs              372 drivers/clk/qcom/mmcc-msm8996.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
regs              385 drivers/clk/qcom/mmcc-msm8996.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
regs              398 drivers/clk/qcom/mmcc-msm8996.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
regs              411 drivers/clk/qcom/mmcc-msm8996.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
regs              424 drivers/clk/qcom/mmcc-msm8996.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
regs              437 drivers/clk/qcom/mmcc-msm8996.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
regs              450 drivers/clk/qcom/mmcc-msm8996.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
regs              463 drivers/clk/qcom/mmcc-msm8996.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
regs               52 drivers/clk/qcom/videocc-sdm845.c 	.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_FABIA],
regs               22 drivers/clk/tegra/clk-periph-fixed.c 	value = readl(fixed->base + fixed->regs->enb_reg);
regs               24 drivers/clk/tegra/clk-periph-fixed.c 		value = readl(fixed->base + fixed->regs->rst_reg);
regs               37 drivers/clk/tegra/clk-periph-fixed.c 	writel(mask, fixed->base + fixed->regs->enb_set_reg);
regs               47 drivers/clk/tegra/clk-periph-fixed.c 	writel(mask, fixed->base + fixed->regs->enb_clr_reg);
regs               78 drivers/clk/tegra/clk-periph-fixed.c 	const struct tegra_clk_periph_regs *regs;
regs               83 drivers/clk/tegra/clk-periph-fixed.c 	regs = get_reg_bank(num);
regs               84 drivers/clk/tegra/clk-periph-fixed.c 	if (!regs)
regs               98 drivers/clk/tegra/clk-periph-fixed.c 	fixed->regs = regs;
regs               20 drivers/clk/tegra/clk-periph-gate.c 	readl_relaxed(gate->clk_base + (gate->regs->enb_reg))
regs               22 drivers/clk/tegra/clk-periph-gate.c 	writel_relaxed(val, gate->clk_base + (gate->regs->enb_set_reg))
regs               24 drivers/clk/tegra/clk-periph-gate.c 	writel_relaxed(val, gate->clk_base + (gate->regs->enb_clr_reg))
regs               27 drivers/clk/tegra/clk-periph-gate.c 	readl_relaxed(gate->clk_base + (gate->regs->rst_reg))
regs               29 drivers/clk/tegra/clk-periph-gate.c 	writel_relaxed(val, gate->clk_base + (gate->regs->rst_clr_reg))
regs              149 drivers/clk/tegra/clk-periph-gate.c 	gate->regs = pregs;
regs              163 drivers/clk/tegra/clk-periph.c 	periph->gate.regs = bank;
regs              236 drivers/clk/tegra/clk-sdmmc-mux.c 	sdmmc_mux->gate.regs = bank;
regs              893 drivers/clk/tegra/clk-tegra-periph.c 		data->periph.gate.regs = bank;
regs              202 drivers/clk/tegra/clk.c struct clk ** __init tegra_clk_init(void __iomem *regs, int num, int banks)
regs              204 drivers/clk/tegra/clk.c 	clk_base = regs;
regs              506 drivers/clk/tegra/clk.h 	const struct tegra_clk_periph_regs *regs;
regs              529 drivers/clk/tegra/clk.h 	const struct tegra_clk_periph_regs *regs;
regs              173 drivers/clk/ti/adpll.c 	void __iomem *regs;
regs              367 drivers/clk/ti/adpll.c 	v = readl_relaxed(d->regs + ADPLL_CLKCTRL_OFFSET);
regs              369 drivers/clk/ti/adpll.c 	writel_relaxed(v, d->regs + ADPLL_CLKCTRL_OFFSET);
regs              379 drivers/clk/ti/adpll.c 	v = readl_relaxed(d->regs + ADPLL_CLKCTRL_OFFSET);
regs              381 drivers/clk/ti/adpll.c 	writel_relaxed(v, d->regs + ADPLL_CLKCTRL_OFFSET);
regs              389 drivers/clk/ti/adpll.c 	v = readl_relaxed(d->regs + ADPLL_STATUS_OFFSET);
regs              401 drivers/clk/ti/adpll.c 	u32 v = readl_relaxed(d->regs + ADPLL_STATUS_OFFSET);
regs              464 drivers/clk/ti/adpll.c 	frac_m = readl_relaxed(d->regs + ADPLL_FRACDIV_OFFSET);
regs              466 drivers/clk/ti/adpll.c 	rate = (u64)readw_relaxed(d->regs + ADPLL_MN2DIV_OFFSET) << 18;
regs              469 drivers/clk/ti/adpll.c 	divider = (readw_relaxed(d->regs + ADPLL_M2NDIV_OFFSET) + 1) << 18;
regs              475 drivers/clk/ti/adpll.c 		v = readl_relaxed(d->regs + ADPLL_CLKCTRL_OFFSET);
regs              535 drivers/clk/ti/adpll.c 				    d->regs + ADPLL_MN2DIV_OFFSET,
regs              629 drivers/clk/ti/adpll.c 		co->gate.reg = d->regs + ADPLL_CLKCTRL_OFFSET;
regs              658 drivers/clk/ti/adpll.c 				d->regs + ADPLL_CLKCTRL_OFFSET,
regs              666 drivers/clk/ti/adpll.c 				    d->regs + ADPLL_M2NDIV_OFFSET,
regs              700 drivers/clk/ti/adpll.c 					d->regs + ADPLL_CLKCTRL_OFFSET,
regs              709 drivers/clk/ti/adpll.c 				    d->regs + ADPLL_M3DIV_OFFSET,
regs              731 drivers/clk/ti/adpll.c 				 d->regs + ADPLL_CLKCTRL_OFFSET,
regs              739 drivers/clk/ti/adpll.c 				    d->regs + ADPLL_M2NDIV_OFFSET,
regs              749 drivers/clk/ti/adpll.c 				 d->regs + ADPLL_CLKCTRL_OFFSET,
regs              759 drivers/clk/ti/adpll.c 				d->regs + ADPLL_CLKCTRL_OFFSET,
regs              810 drivers/clk/ti/adpll.c 	d->regs = d->iobase + register_offset + ADPLL_PWRCTRL_OFFSET;
regs              577 drivers/clk/ti/clkctrl.c 	reg_data = data->regs;
regs              190 drivers/clk/ti/clock.h 	const struct omap_clkctrl_reg_data *regs;
regs              146 drivers/clocksource/timer-atmel-tcb.c 	void __iomem			*regs;
regs              166 drivers/clocksource/timer-atmel-tcb.c 	void __iomem		*regs = tcd->regs;
regs              168 drivers/clocksource/timer-atmel-tcb.c 	writel(0xff, regs + ATMEL_TC_REG(2, IDR));
regs              169 drivers/clocksource/timer-atmel-tcb.c 	writel(ATMEL_TC_CLKDIS, regs + ATMEL_TC_REG(2, CCR));
regs              179 drivers/clocksource/timer-atmel-tcb.c 	void __iomem		*regs = tcd->regs;
regs              188 drivers/clocksource/timer-atmel-tcb.c 		     ATMEL_TC_WAVESEL_UP_AUTO, regs + ATMEL_TC_REG(2, CMR));
regs              189 drivers/clocksource/timer-atmel-tcb.c 	writel(ATMEL_TC_CPCS, regs + ATMEL_TC_REG(2, IER));
regs              198 drivers/clocksource/timer-atmel-tcb.c 	void __iomem		*regs = tcd->regs;
regs              210 drivers/clocksource/timer-atmel-tcb.c 		     regs + ATMEL_TC_REG(2, CMR));
regs              214 drivers/clocksource/timer-atmel-tcb.c 	writel(ATMEL_TC_CPCS, regs + ATMEL_TC_REG(2, IER));
regs              217 drivers/clocksource/timer-atmel-tcb.c 	writel(ATMEL_TC_CLKEN | ATMEL_TC_SWTRG, regs +
regs              250 drivers/clocksource/timer-atmel-tcb.c 	sr = readl_relaxed(dev->regs + ATMEL_TC_REG(2, SR));
regs              278 drivers/clocksource/timer-atmel-tcb.c 	clkevt.regs = tc->regs;
regs              374 drivers/clocksource/timer-atmel-tcb.c 	tc.regs = of_iomap(node->parent, 0);
regs              375 drivers/clocksource/timer-atmel-tcb.c 	if (!tc.regs)
regs              405 drivers/clocksource/timer-atmel-tcb.c 		writel(ATMEL_TC_ALL_IRQ, tc.regs + ATMEL_TC_REG(i, IDR));
regs              440 drivers/clocksource/timer-atmel-tcb.c 	tcaddr = tc.regs;
regs               47 drivers/cpufreq/tegra186-cpufreq.c 	void __iomem *regs;
regs               72 drivers/cpufreq/tegra186-cpufreq.c 			data->regs + info->offset + EDVD_CORE_VOLT_FREQ(core);
regs              209 drivers/cpufreq/tegra186-cpufreq.c 	data->regs = devm_ioremap_resource(&pdev->dev, res);
regs              210 drivers/cpufreq/tegra186-cpufreq.c 	if (IS_ERR(data->regs)) {
regs              211 drivers/cpufreq/tegra186-cpufreq.c 		err = PTR_ERR(data->regs);
regs               81 drivers/crypto/ccree/cc_debugfs.c 	regset->regs = debug_regs;
regs               98 drivers/crypto/ccree/cc_debugfs.c 		verset->regs = ver_sig_regs;
regs              101 drivers/crypto/ccree/cc_debugfs.c 		verset->regs = pid_cid_regs;
regs              105 drivers/crypto/ccree/cc_driver.c 		u8 regs[CC_NUM_IDRS];
regs              110 drivers/crypto/ccree/cc_driver.c 		idr.regs[i] = cc_ioread(drvdata, idr_offsets[i]);
regs              935 drivers/crypto/hisilicon/qm.c 	struct qm_dfx_registers *regs;
regs              939 drivers/crypto/hisilicon/qm.c 		regs = qm_dfx_regs;
regs              941 drivers/crypto/hisilicon/qm.c 		regs = qm_vf_dfx_regs;
regs              943 drivers/crypto/hisilicon/qm.c 	while (regs->reg_name) {
regs              944 drivers/crypto/hisilicon/qm.c 		val = readl(qm->io_base + regs->reg_offset);
regs              945 drivers/crypto/hisilicon/qm.c 		seq_printf(s, "%s= 0x%08x\n", regs->reg_name, val);
regs              946 drivers/crypto/hisilicon/qm.c 		regs++;
regs             1820 drivers/crypto/hisilicon/qm.c 	struct qm_dfx_registers *regs;
regs             1833 drivers/crypto/hisilicon/qm.c 	regs = qm_dfx_regs;
regs             1835 drivers/crypto/hisilicon/qm.c 		readl(qm->io_base + regs->reg_offset);
regs             1836 drivers/crypto/hisilicon/qm.c 		regs++;
regs              240 drivers/crypto/hisilicon/sec/sec_drv.c 	queue->regs = ioremap(res->start, resource_size(res));
regs              241 drivers/crypto/hisilicon/sec/sec_drv.c 	if (!queue->regs)
regs              249 drivers/crypto/hisilicon/sec/sec_drv.c 	 iounmap(queue->regs);
regs              254 drivers/crypto/hisilicon/sec/sec_drv.c 	void __iomem *addr = queue->regs +  SEC_Q_ARUSER_CFG_REG;
regs              269 drivers/crypto/hisilicon/sec/sec_drv.c 	void __iomem *addr = queue->regs + SEC_Q_AWUSER_CFG_REG;
regs              281 drivers/crypto/hisilicon/sec/sec_drv.c 	void __iomem *base = info->regs[SEC_COMMON];
regs              298 drivers/crypto/hisilicon/sec/sec_drv.c 	void __iomem *base = info->regs[SEC_COMMON];
regs              315 drivers/crypto/hisilicon/sec/sec_drv.c 	void __iomem *base = info->regs[SEC_COMMON];
regs              360 drivers/crypto/hisilicon/sec/sec_drv.c 	void __iomem *addr = info->regs[SEC_SAA] + SEC_CTRL2_REG;
regs              374 drivers/crypto/hisilicon/sec/sec_drv.c 	void __iomem *addr = info->regs[SEC_SAA] + SEC_CTRL_REG;
regs              387 drivers/crypto/hisilicon/sec/sec_drv.c 	void __iomem *addr = info->regs[SEC_SAA] + SEC_CTRL2_REG;
regs              399 drivers/crypto/hisilicon/sec/sec_drv.c 	void __iomem *addr = info->regs[SEC_SAA] + SEC_CTRL2_REG;
regs              411 drivers/crypto/hisilicon/sec/sec_drv.c 	void __iomem *addr = info->regs[SEC_SAA] + SEC_CTRL2_REG;
regs              424 drivers/crypto/hisilicon/sec/sec_drv.c 	void __iomem *addr = info->regs[SEC_SAA] + SEC_COMMON_CNT_CLR_CE_REG;
regs              437 drivers/crypto/hisilicon/sec/sec_drv.c 	void __iomem *addr = info->regs[SEC_SAA] + SEC_COMMON_CNT_CLR_CE_REG;
regs              450 drivers/crypto/hisilicon/sec/sec_drv.c 	void __iomem *base = info->regs[SEC_SAA];
regs              466 drivers/crypto/hisilicon/sec/sec_drv.c 		       info->regs[SEC_SAA] + SEC_IPV4_MASK_TABLE_REG);
regs              473 drivers/crypto/hisilicon/sec/sec_drv.c 	void __iomem *addr = info->regs[SEC_SAA] + SEC_DEBUG_BD_CFG_REG;
regs              490 drivers/crypto/hisilicon/sec/sec_drv.c 	void __iomem *addr = info->regs[SEC_SAA] + SEC_SAA_BASE +
regs              506 drivers/crypto/hisilicon/sec/sec_drv.c 		       info->regs[SEC_SAA] + SEC_SAA_BASE + SEC_ST_INTMSK1_REG +
regs              516 drivers/crypto/hisilicon/sec/sec_drv.c 		       info->regs[SEC_SAA] + SEC_Q_VMID_CFG_REG(i));
regs              521 drivers/crypto/hisilicon/sec/sec_drv.c 	void __iomem *addr = queue->regs + SEC_Q_ARUSER_CFG_REG;
regs              538 drivers/crypto/hisilicon/sec/sec_drv.c 	void __iomem *addr = queue->regs + SEC_Q_AWUSER_CFG_REG;
regs              555 drivers/crypto/hisilicon/sec/sec_drv.c 	void __iomem *base = queue->regs;
regs              568 drivers/crypto/hisilicon/sec/sec_drv.c 	void __iomem *addr = queue->regs + SEC_Q_DEPTH_CFG_REG;
regs              580 drivers/crypto/hisilicon/sec/sec_drv.c 	writel_relaxed(upper_32_bits(addr), queue->regs + SEC_Q_BASE_HADDR_REG);
regs              581 drivers/crypto/hisilicon/sec/sec_drv.c 	writel_relaxed(lower_32_bits(addr), queue->regs + SEC_Q_BASE_LADDR_REG);
regs              587 drivers/crypto/hisilicon/sec/sec_drv.c 		       queue->regs + SEC_Q_OUTORDER_BASE_HADDR_REG);
regs              589 drivers/crypto/hisilicon/sec/sec_drv.c 		       queue->regs + SEC_Q_OUTORDER_BASE_LADDR_REG);
regs              595 drivers/crypto/hisilicon/sec/sec_drv.c 		       queue->regs + SEC_Q_ERR_BASE_HADDR_REG);
regs              597 drivers/crypto/hisilicon/sec/sec_drv.c 		       queue->regs + SEC_Q_ERR_BASE_LADDR_REG);
regs              602 drivers/crypto/hisilicon/sec/sec_drv.c 	writel_relaxed((u32)~0, queue->regs + SEC_Q_FLOW_INT_MKS_REG);
regs              607 drivers/crypto/hisilicon/sec/sec_drv.c 	writel_relaxed(0, queue->regs + SEC_Q_FLOW_INT_MKS_REG);
regs              612 drivers/crypto/hisilicon/sec/sec_drv.c 	writel_relaxed((u32)~0, queue->regs + SEC_Q_FAIL_INT_MSK_REG);
regs              619 drivers/crypto/hisilicon/sec/sec_drv.c 	writel_relaxed(0x0, queue->regs + SEC_QUEUE_ENB_REG);
regs              627 drivers/crypto/hisilicon/sec/sec_drv.c 	writel_relaxed(SEC_Q_INIT_AND_STAT_CLEAR, queue->regs + SEC_Q_INIT_REG);
regs              628 drivers/crypto/hisilicon/sec/sec_drv.c 	writel_relaxed(0x1, queue->regs + SEC_QUEUE_ENB_REG);
regs              687 drivers/crypto/hisilicon/sec/sec_drv.c 	void __iomem *base = queue->regs;
regs              860 drivers/crypto/hisilicon/sec/sec_drv.c 	void __iomem *base = queue->regs;
regs              902 drivers/crypto/hisilicon/sec/sec_drv.c 	writel_relaxed(1, queue->regs + SEC_Q_PROC_NUM_CFG_REG);
regs              912 drivers/crypto/hisilicon/sec/sec_drv.c 	writel_relaxed(0x100, queue->regs + SEC_Q_OT_TH_REG);
regs              916 drivers/crypto/hisilicon/sec/sec_drv.c 	writel_relaxed(SEC_Q_INIT_AND_STAT_CLEAR, queue->regs + SEC_Q_INIT_REG);
regs              939 drivers/crypto/hisilicon/sec/sec_drv.c 		       info->regs[SEC_SAA] + SEC_CLK_EN_REG);
regs              959 drivers/crypto/hisilicon/sec/sec_drv.c 	writel_relaxed((u32)~0, info->regs[SEC_SAA] + SEC_FSM_MAX_CNT_REG);
regs              977 drivers/crypto/hisilicon/sec/sec_drv.c 				       info->regs[SEC_SAA] +
regs             1022 drivers/crypto/hisilicon/sec/sec_drv.c 		info->regs[i] = devm_ioremap(info->dev, res->start,
regs             1024 drivers/crypto/hisilicon/sec/sec_drv.c 		if (!info->regs[i]) {
regs              342 drivers/crypto/hisilicon/sec/sec_drv.h 	void __iomem *regs;
regs              409 drivers/crypto/hisilicon/sec/sec_drv.h 	void __iomem *regs[SEC_NUM_ADDR_REGIONS];
regs              532 drivers/crypto/hisilicon/zip/zip_main.c 		regset->regs = hzip_dfx_regs;
regs              125 drivers/crypto/marvell/cesa.c 		status = readl(engine->regs + CESA_SA_INT_STATUS);
regs              134 drivers/crypto/marvell/cesa.c 		writel(~status, engine->regs + CESA_SA_FPGA_INT_STATUS);
regs              135 drivers/crypto/marvell/cesa.c 		writel(~status, engine->regs + CESA_SA_INT_STATUS);
regs              318 drivers/crypto/marvell/cesa.c 	void __iomem *iobase = engine->regs;
regs              479 drivers/crypto/marvell/cesa.c 	cesa->regs = devm_ioremap_resource(dev, res);
regs              480 drivers/crypto/marvell/cesa.c 	if (IS_ERR(cesa->regs))
regs              481 drivers/crypto/marvell/cesa.c 		return PTR_ERR(cesa->regs);
regs              533 drivers/crypto/marvell/cesa.c 		engine->regs = cesa->regs + CESA_ENGINE_OFF(i);
regs              538 drivers/crypto/marvell/cesa.c 		writel(0, engine->regs + CESA_SA_INT_STATUS);
regs              540 drivers/crypto/marvell/cesa.c 		       engine->regs + CESA_SA_CFG);
regs              542 drivers/crypto/marvell/cesa.c 		       engine->regs + CESA_SA_DESC_P0);
regs              414 drivers/crypto/marvell/cesa.h 	void __iomem *regs;
regs              446 drivers/crypto/marvell/cesa.h 	void __iomem *regs;
regs              706 drivers/crypto/marvell/cesa.h 	writel_relaxed(int_mask, engine->regs + CESA_SA_INT_MSK);
regs              108 drivers/crypto/marvell/cipher.c 	writel_relaxed(CESA_SA_CFG_PARA_DIS, engine->regs + CESA_SA_CFG);
regs              109 drivers/crypto/marvell/cipher.c 	BUG_ON(readl(engine->regs + CESA_SA_CMD) &
regs              111 drivers/crypto/marvell/cipher.c 	writel(CESA_SA_CMD_EN_CESA_SA_ACCL0, engine->regs + CESA_SA_CMD);
regs              171 drivers/crypto/marvell/hash.c 			writel_relaxed(creq->state[i], engine->regs + CESA_IVDIG(i));
regs              247 drivers/crypto/marvell/hash.c 	writel_relaxed(CESA_SA_CFG_PARA_DIS, engine->regs + CESA_SA_CFG);
regs              248 drivers/crypto/marvell/hash.c 	BUG_ON(readl(engine->regs + CESA_SA_CMD) &
regs              250 drivers/crypto/marvell/hash.c 	writel(CESA_SA_CMD_EN_CESA_SA_ACCL0, engine->regs + CESA_SA_CMD);
regs              292 drivers/crypto/marvell/hash.c 			writel_relaxed(creq->state[i], engine->regs +
regs              346 drivers/crypto/marvell/hash.c 			creq->state[i] = readl_relaxed(engine->regs +
regs               41 drivers/crypto/marvell/tdma.c 	writel_relaxed(0, engine->regs + CESA_SA_CFG);
regs               46 drivers/crypto/marvell/tdma.c 		       engine->regs + CESA_TDMA_CONTROL);
regs               50 drivers/crypto/marvell/tdma.c 		       engine->regs + CESA_SA_CFG);
regs               52 drivers/crypto/marvell/tdma.c 		       engine->regs + CESA_TDMA_NEXT_ADDR);
regs               53 drivers/crypto/marvell/tdma.c 	BUG_ON(readl(engine->regs + CESA_SA_CMD) &
regs               55 drivers/crypto/marvell/tdma.c 	writel(CESA_SA_CMD_EN_CESA_SA_ACCL0, engine->regs + CESA_SA_CMD);
regs              128 drivers/crypto/marvell/tdma.c 	tdma_cur = readl(engine->regs + CESA_TDMA_CUR);
regs              102 drivers/crypto/picoxcell_crypto.c 	void __iomem			*regs;
regs              188 drivers/crypto/picoxcell_crypto.c 	u32 fifo_stat = readl(engine->regs + SPA_FIFO_STAT_REG_OFFSET);
regs              251 drivers/crypto/picoxcell_crypto.c 	       ctx->engine->regs + SPA_KEY_SZ_REG_OFFSET);
regs              256 drivers/crypto/picoxcell_crypto.c 		       ctx->engine->regs + SPA_KEY_SZ_REG_OFFSET);
regs              573 drivers/crypto/picoxcell_crypto.c 	writel(req->src_addr, engine->regs + SPA_SRC_PTR_REG_OFFSET);
regs              574 drivers/crypto/picoxcell_crypto.c 	writel(req->dst_addr, engine->regs + SPA_DST_PTR_REG_OFFSET);
regs              575 drivers/crypto/picoxcell_crypto.c 	writel(0, engine->regs + SPA_OFFSET_REG_OFFSET);
regs              587 drivers/crypto/picoxcell_crypto.c 	writel(proc_len, engine->regs + SPA_PROC_LEN_REG_OFFSET);
regs              588 drivers/crypto/picoxcell_crypto.c 	writel(assoc_len, engine->regs + SPA_AAD_LEN_REG_OFFSET);
regs              589 drivers/crypto/picoxcell_crypto.c 	writel(authsize, engine->regs + SPA_ICV_LEN_REG_OFFSET);
regs              590 drivers/crypto/picoxcell_crypto.c 	writel(0, engine->regs + SPA_ICV_OFFSET_REG_OFFSET);
regs              591 drivers/crypto/picoxcell_crypto.c 	writel(0, engine->regs + SPA_AUX_INFO_REG_OFFSET);
regs              602 drivers/crypto/picoxcell_crypto.c 	writel(ctrl, engine->regs + SPA_CTRL_REG_OFFSET);
regs              890 drivers/crypto/picoxcell_crypto.c 	writel(req->src_addr, engine->regs + SPA_SRC_PTR_REG_OFFSET);
regs              891 drivers/crypto/picoxcell_crypto.c 	writel(req->dst_addr, engine->regs + SPA_DST_PTR_REG_OFFSET);
regs              892 drivers/crypto/picoxcell_crypto.c 	writel(0, engine->regs + SPA_OFFSET_REG_OFFSET);
regs              894 drivers/crypto/picoxcell_crypto.c 	writel(ablk_req->nbytes, engine->regs + SPA_PROC_LEN_REG_OFFSET);
regs              895 drivers/crypto/picoxcell_crypto.c 	writel(0, engine->regs + SPA_ICV_OFFSET_REG_OFFSET);
regs              896 drivers/crypto/picoxcell_crypto.c 	writel(0, engine->regs + SPA_AUX_INFO_REG_OFFSET);
regs              897 drivers/crypto/picoxcell_crypto.c 	writel(0, engine->regs + SPA_AAD_LEN_REG_OFFSET);
regs              905 drivers/crypto/picoxcell_crypto.c 	writel(ctrl, engine->regs + SPA_CTRL_REG_OFFSET);
regs             1065 drivers/crypto/picoxcell_crypto.c 	return readl(engine->regs + SPA_FIFO_STAT_REG_OFFSET) &
regs             1083 drivers/crypto/picoxcell_crypto.c 		writel(~0, engine->regs + SPA_STAT_POP_REG_OFFSET);
regs             1084 drivers/crypto/picoxcell_crypto.c 		req->result = (readl(engine->regs + SPA_STATUS_REG_OFFSET) &
regs             1120 drivers/crypto/picoxcell_crypto.c 	u32 spacc_irq_stat = readl(engine->regs + SPA_IRQ_STAT_REG_OFFSET);
regs             1122 drivers/crypto/picoxcell_crypto.c 	writel(spacc_irq_stat, engine->regs + SPA_IRQ_STAT_REG_OFFSET);
regs             1223 drivers/crypto/picoxcell_crypto.c 	       engine->regs + SPA_IRQ_CTRL_REG_OFFSET);
regs             1653 drivers/crypto/picoxcell_crypto.c 	engine->regs = devm_platform_ioremap_resource(pdev, 0);
regs             1654 drivers/crypto/picoxcell_crypto.c 	if (IS_ERR(engine->regs))
regs             1655 drivers/crypto/picoxcell_crypto.c 		return PTR_ERR(engine->regs);
regs             1678 drivers/crypto/picoxcell_crypto.c 	engine->cipher_ctx_base = engine->regs + SPA_CIPH_KEY_BASE_REG_OFFSET;
regs             1679 drivers/crypto/picoxcell_crypto.c 	engine->hash_key_base	= engine->regs + SPA_HASH_KEY_BASE_REG_OFFSET;
regs             1718 drivers/crypto/picoxcell_crypto.c 	       engine->regs + SPA_IRQ_CTRL_REG_OFFSET);
regs             1720 drivers/crypto/picoxcell_crypto.c 	       engine->regs + SPA_IRQ_EN_REG_OFFSET);
regs               39 drivers/crypto/stm32/stm32-crc32.c 	void __iomem     *regs;
regs              113 drivers/crypto/stm32/stm32-crc32.c 	writel_relaxed(bitrev32(mctx->key), ctx->crc->regs + CRC_INIT);
regs              114 drivers/crypto/stm32/stm32-crc32.c 	writel_relaxed(bitrev32(mctx->poly), ctx->crc->regs + CRC_POL);
regs              115 drivers/crypto/stm32/stm32-crc32.c 	writel_relaxed(CRC_CR_RESET | CRC_CR_REVERSE, ctx->crc->regs + CRC_CR);
regs              118 drivers/crypto/stm32/stm32-crc32.c 	ctx->partial = readl_relaxed(ctx->crc->regs + CRC_DR);
regs              147 drivers/crypto/stm32/stm32-crc32.c 				       crc->regs + CRC_DR);
regs              155 drivers/crypto/stm32/stm32-crc32.c 		writel_relaxed(*(d32++), crc->regs + CRC_DR);
regs              158 drivers/crypto/stm32/stm32-crc32.c 	ctx->partial = readl_relaxed(crc->regs + CRC_DR);
regs              266 drivers/crypto/stm32/stm32-crc32.c 	crc->regs = devm_platform_ioremap_resource(pdev, 0);
regs              267 drivers/crypto/stm32/stm32-crc32.c 	if (IS_ERR(crc->regs)) {
regs              269 drivers/crypto/stm32/stm32-crc32.c 		return PTR_ERR(crc->regs);
regs              131 drivers/crypto/stm32/stm32-cryp.c 	void __iomem            *regs;
regs              231 drivers/crypto/stm32/stm32-cryp.c 	return readl_relaxed(cryp->regs + ofst);
regs              236 drivers/crypto/stm32/stm32-cryp.c 	writel_relaxed(val, cryp->regs + ofst);
regs              243 drivers/crypto/stm32/stm32-cryp.c 	return readl_relaxed_poll_timeout(cryp->regs + CRYP_SR, status,
regs              251 drivers/crypto/stm32/stm32-cryp.c 	return readl_relaxed_poll_timeout(cryp->regs + CRYP_CR, status,
regs              259 drivers/crypto/stm32/stm32-cryp.c 	return readl_relaxed_poll_timeout(cryp->regs + CRYP_SR, status,
regs             1951 drivers/crypto/stm32/stm32-cryp.c 	cryp->regs = devm_platform_ioremap_resource(pdev, 0);
regs             1952 drivers/crypto/stm32/stm32-cryp.c 	if (IS_ERR(cryp->regs))
regs             1953 drivers/crypto/stm32/stm32-cryp.c 		return PTR_ERR(cryp->regs);
regs               55 drivers/devfreq/event/rockchip-dfi.c 	void __iomem *regs;
regs               63 drivers/devfreq/event/rockchip-dfi.c 	void __iomem *dfi_regs = info->regs;
regs               88 drivers/devfreq/event/rockchip-dfi.c 	void __iomem *dfi_regs = info->regs;
regs               98 drivers/devfreq/event/rockchip-dfi.c 	void __iomem *dfi_regs = info->regs;
regs              189 drivers/devfreq/event/rockchip-dfi.c 	data->regs = devm_ioremap_resource(&pdev->dev, res);
regs              190 drivers/devfreq/event/rockchip-dfi.c 	if (IS_ERR(data->regs))
regs              191 drivers/devfreq/event/rockchip-dfi.c 		return PTR_ERR(data->regs);
regs               34 drivers/devfreq/tegra20-devfreq.c 	void __iomem *regs;
regs               84 drivers/devfreq/tegra20-devfreq.c 	stat->busy_time = readl_relaxed(tegra->regs + MC_STAT_EMC_COUNT);
regs               85 drivers/devfreq/tegra20-devfreq.c 	stat->total_time = readl_relaxed(tegra->regs + MC_STAT_EMC_CLOCKS) / 8;
regs               88 drivers/devfreq/tegra20-devfreq.c 	writel_relaxed(EMC_GATHER_CLEAR, tegra->regs + MC_STAT_CONTROL);
regs               89 drivers/devfreq/tegra20-devfreq.c 	writel_relaxed(EMC_GATHER_ENABLE, tegra->regs + MC_STAT_CONTROL);
regs              150 drivers/devfreq/tegra20-devfreq.c 	tegra->regs = mc->regs;
regs              169 drivers/devfreq/tegra20-devfreq.c 	writel_relaxed(0x00000000, tegra->regs + MC_STAT_CONTROL);
regs              170 drivers/devfreq/tegra20-devfreq.c 	writel_relaxed(0x00000000, tegra->regs + MC_STAT_EMC_CONTROL);
regs              171 drivers/devfreq/tegra20-devfreq.c 	writel_relaxed(0xffffffff, tegra->regs + MC_STAT_EMC_CLOCK_LIMIT);
regs              134 drivers/devfreq/tegra30-devfreq.c 	void __iomem *regs;
regs              154 drivers/devfreq/tegra30-devfreq.c 	void __iomem		*regs;
regs              183 drivers/devfreq/tegra30-devfreq.c 	return readl_relaxed(tegra->regs + offset);
regs              188 drivers/devfreq/tegra30-devfreq.c 	writel_relaxed(val, tegra->regs + offset);
regs              193 drivers/devfreq/tegra30-devfreq.c 	return readl_relaxed(dev->regs + offset);
regs              199 drivers/devfreq/tegra30-devfreq.c 	writel_relaxed(val, dev->regs + offset);
regs              235 drivers/devfreq/tegra30-devfreq.c 	readl(tegra->regs + ACTMON_GLB_STATUS);
regs              599 drivers/devfreq/tegra30-devfreq.c 	tegra->regs = devm_platform_ioremap_resource(pdev, 0);
regs              600 drivers/devfreq/tegra30-devfreq.c 	if (IS_ERR(tegra->regs))
regs              601 drivers/devfreq/tegra30-devfreq.c 		return PTR_ERR(tegra->regs);
regs              645 drivers/devfreq/tegra30-devfreq.c 		dev->regs = tegra->regs + dev->config->offset;
regs             1838 drivers/dma/at_hdmac.c 	atdma->regs = ioremap(io->start, size);
regs             1839 drivers/dma/at_hdmac.c 	if (!atdma->regs) {
regs             1897 drivers/dma/at_hdmac.c 		atchan->ch_regs = atdma->regs + ch_regs(i);
regs             1983 drivers/dma/at_hdmac.c 	iounmap(atdma->regs);
regs             1984 drivers/dma/at_hdmac.c 	atdma->regs = NULL;
regs             2021 drivers/dma/at_hdmac.c 	iounmap(atdma->regs);
regs             2022 drivers/dma/at_hdmac.c 	atdma->regs = NULL;
regs              327 drivers/dma/at_hdmac_regs.h 	void __iomem		*regs;
regs              340 drivers/dma/at_hdmac_regs.h 	__raw_readl((atdma)->regs + AT_DMA_##name)
regs              342 drivers/dma/at_hdmac_regs.h 	__raw_writel((val), (atdma)->regs + AT_DMA_##name)
regs              210 drivers/dma/at_xdmac.c 	void __iomem		*regs;
regs              249 drivers/dma/at_xdmac.c 	return atxdmac->regs + (AT_XDMAC_CHAN_REG_BASE + chan_nb * 0x40);
regs              252 drivers/dma/at_xdmac.c #define at_xdmac_read(atxdmac, reg) readl_relaxed((atxdmac)->regs + (reg))
regs              254 drivers/dma/at_xdmac.c 	writel_relaxed((value), (atxdmac)->regs + (reg))
regs             1999 drivers/dma/at_xdmac.c 	atxdmac->regs = base;
regs             2102 drivers/dma/at_xdmac.c 		 nr_channels, atxdmac->regs);
regs               94 drivers/dma/bestcomm/ata.c 	out_8(&bcom_eng->regs->ipr[BCOM_INITIATOR_ATA_RX], BCOM_IPR_ATA_RX);
regs               95 drivers/dma/bestcomm/ata.c 	out_8(&bcom_eng->regs->ipr[BCOM_INITIATOR_ATA_TX], BCOM_IPR_ATA_TX);
regs               97 drivers/dma/bestcomm/ata.c 	out_be32(&bcom_eng->regs->IntPend, 1<<tsk->tasknum); /* Clear ints */
regs              316 drivers/dma/bestcomm/bestcomm.c 		out_be16(&bcom_eng->regs->tcr[task], 0);
regs              317 drivers/dma/bestcomm/bestcomm.c 		out_8(&bcom_eng->regs->ipr[task], 0);
regs              327 drivers/dma/bestcomm/bestcomm.c 	out_be32(&bcom_eng->regs->taskBar, tdt_pa);
regs              330 drivers/dma/bestcomm/bestcomm.c 	out_8(&bcom_eng->regs->ipr[BCOM_INITIATOR_ALWAYS], BCOM_IPR_ALWAYS);
regs              350 drivers/dma/bestcomm/bestcomm.c 		out_be16(&bcom_eng->regs->tcr[task], 0);
regs              351 drivers/dma/bestcomm/bestcomm.c 		out_8(&bcom_eng->regs->ipr[task], 0);
regs              354 drivers/dma/bestcomm/bestcomm.c 	out_be32(&bcom_eng->regs->taskBar, 0ul);
regs              425 drivers/dma/bestcomm/bestcomm.c 	bcom_eng->regs = ioremap(res_bcom.start, sizeof(struct mpc52xx_sdma));
regs              426 drivers/dma/bestcomm/bestcomm.c 	if (!bcom_eng->regs) {
regs              446 drivers/dma/bestcomm/bestcomm.c 	iounmap(bcom_eng->regs);
regs              470 drivers/dma/bestcomm/bestcomm.c 	iounmap(bcom_eng->regs);
regs              149 drivers/dma/bestcomm/fec.c 	out_8(&bcom_eng->regs->ipr[BCOM_INITIATOR_FEC_RX], BCOM_IPR_FEC_RX);
regs              151 drivers/dma/bestcomm/fec.c 	out_be32(&bcom_eng->regs->IntPend, 1<<tsk->tasknum);	/* Clear ints */
regs              250 drivers/dma/bestcomm/fec.c 	out_8(&bcom_eng->regs->ipr[BCOM_INITIATOR_FEC_TX], BCOM_IPR_FEC_TX);
regs              252 drivers/dma/bestcomm/fec.c 	out_be32(&bcom_eng->regs->IntPend, 1<<tsk->tasknum);	/* Clear ints */
regs              151 drivers/dma/bestcomm/gen_bd.c 	out_8(&bcom_eng->regs->ipr[priv->initiator], priv->ipr);
regs              154 drivers/dma/bestcomm/gen_bd.c 	out_be32(&bcom_eng->regs->IntPend, 1<<tsk->tasknum);	/* Clear ints */
regs              235 drivers/dma/bestcomm/gen_bd.c 	out_8(&bcom_eng->regs->ipr[priv->initiator], priv->ipr);
regs              238 drivers/dma/bestcomm/gen_bd.c 	out_be32(&bcom_eng->regs->IntPend, 1<<tsk->tasknum);	/* Clear ints */
regs               47 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c 	iowrite32(val, chip->regs + reg);
regs               52 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c 	return ioread32(chip->regs + reg);
regs              851 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c 	chip->regs = devm_ioremap_resource(chip->dev, mem);
regs              852 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c 	if (IS_ERR(chip->regs))
regs              853 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c 		return PTR_ERR(chip->regs);
regs              891 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c 		chan->chan_regs = chip->regs + COMMON_REG_LEN + i * CHAN_REG_LEN;
regs               60 drivers/dma/dw-axi-dmac/dw-axi-dmac.h 	void __iomem		*regs;
regs               17 drivers/dma/dw-edma/dw-edma-v0-debugfs.c 	((void __force *)&regs->name)
regs               43 drivers/dma/dw-edma/dw-edma-v0-debugfs.c static struct dw_edma_v0_regs			__iomem *regs;
regs               59 drivers/dma/dw-edma/dw-edma-v0-debugfs.c 	    reg >= (void __iomem *)&regs->type.legacy.ch) {
regs               60 drivers/dma/dw-edma/dw-edma-v0-debugfs.c 		void __iomem *ptr = &regs->type.legacy.ch;
regs               85 drivers/dma/dw-edma/dw-edma-v0-debugfs.c 		writel(viewport_sel, &regs->type.legacy.viewport_sel);
regs              109 drivers/dma/dw-edma/dw-edma-v0-debugfs.c static void dw_edma_debugfs_regs_ch(struct dw_edma_v0_ch_regs __iomem *regs,
regs              190 drivers/dma/dw-edma/dw-edma-v0-debugfs.c 		dw_edma_debugfs_regs_ch(&regs->type.unroll.ch[i].wr, ch_dir);
regs              192 drivers/dma/dw-edma/dw-edma-v0-debugfs.c 		lim[0][i].start = &regs->type.unroll.ch[i].wr;
regs              193 drivers/dma/dw-edma/dw-edma-v0-debugfs.c 		lim[0][i].end = &regs->type.unroll.ch[i].padding_1[0];
regs              259 drivers/dma/dw-edma/dw-edma-v0-debugfs.c 		dw_edma_debugfs_regs_ch(&regs->type.unroll.ch[i].rd, ch_dir);
regs              261 drivers/dma/dw-edma/dw-edma-v0-debugfs.c 		lim[1][i].start = &regs->type.unroll.ch[i].rd;
regs              262 drivers/dma/dw-edma/dw-edma-v0-debugfs.c 		lim[1][i].end = &regs->type.unroll.ch[i].padding_2[0];
regs              292 drivers/dma/dw-edma/dw-edma-v0-debugfs.c 	regs = dw->rg_region.vaddr;
regs              293 drivers/dma/dw-edma/dw-edma-v0-debugfs.c 	if (!regs)
regs             1065 drivers/dma/dw/core.c 	dw->regs = chip->regs;
regs               53 drivers/dma/dw/pci.c 	chip->regs = pcim_iomap_table(pdev)[0];
regs               50 drivers/dma/dw/platform.c 	chip->regs = devm_platform_ioremap_resource(pdev, 0);
regs               51 drivers/dma/dw/platform.c 	if (IS_ERR(chip->regs))
regs               52 drivers/dma/dw/platform.c 		return PTR_ERR(chip->regs);
regs              313 drivers/dma/dw/regs.h 	void __iomem		*regs;
regs              343 drivers/dma/dw/regs.h 	return dw->regs;
regs              166 drivers/dma/ep93xx_dma.c 	void __iomem			*regs;
regs              309 drivers/dma/ep93xx_dma.c 	writel(control, edmac->regs + M2P_CONTROL);
regs              314 drivers/dma/ep93xx_dma.c 	readl(edmac->regs + M2P_CONTROL);
regs              322 drivers/dma/ep93xx_dma.c 	writel(data->port & 0xf, edmac->regs + M2P_PPALLOC);
regs              335 drivers/dma/ep93xx_dma.c 	return (readl(edmac->regs + M2P_STATUS) >> 4) & 0x3;
regs              344 drivers/dma/ep93xx_dma.c 	control = readl(edmac->regs + M2P_CONTROL);
regs              378 drivers/dma/ep93xx_dma.c 		writel(desc->size, edmac->regs + M2P_MAXCNT0);
regs              379 drivers/dma/ep93xx_dma.c 		writel(bus_addr, edmac->regs + M2P_BASE0);
regs              381 drivers/dma/ep93xx_dma.c 		writel(desc->size, edmac->regs + M2P_MAXCNT1);
regs              382 drivers/dma/ep93xx_dma.c 		writel(bus_addr, edmac->regs + M2P_BASE1);
regs              390 drivers/dma/ep93xx_dma.c 	u32 control = readl(edmac->regs + M2P_CONTROL);
regs              405 drivers/dma/ep93xx_dma.c 	u32 irq_status = readl(edmac->regs + M2P_INTERRUPT);
regs              412 drivers/dma/ep93xx_dma.c 		writel(1, edmac->regs + M2P_INTERRUPT);
regs              446 drivers/dma/ep93xx_dma.c 	control = readl(edmac->regs + M2P_CONTROL);
regs              464 drivers/dma/ep93xx_dma.c 		writel(control, edmac->regs + M2M_CONTROL);
regs              514 drivers/dma/ep93xx_dma.c 	writel(control, edmac->regs + M2M_CONTROL);
regs              521 drivers/dma/ep93xx_dma.c 	writel(0, edmac->regs + M2M_CONTROL);
regs              535 drivers/dma/ep93xx_dma.c 		writel(desc->src_addr, edmac->regs + M2M_SAR_BASE0);
regs              536 drivers/dma/ep93xx_dma.c 		writel(desc->dst_addr, edmac->regs + M2M_DAR_BASE0);
regs              537 drivers/dma/ep93xx_dma.c 		writel(desc->size, edmac->regs + M2M_BCR0);
regs              539 drivers/dma/ep93xx_dma.c 		writel(desc->src_addr, edmac->regs + M2M_SAR_BASE1);
regs              540 drivers/dma/ep93xx_dma.c 		writel(desc->dst_addr, edmac->regs + M2M_DAR_BASE1);
regs              541 drivers/dma/ep93xx_dma.c 		writel(desc->size, edmac->regs + M2M_BCR1);
regs              550 drivers/dma/ep93xx_dma.c 	u32 control = readl(edmac->regs + M2M_CONTROL);
regs              573 drivers/dma/ep93xx_dma.c 	writel(control, edmac->regs + M2M_CONTROL);
regs              581 drivers/dma/ep93xx_dma.c 		writel(control, edmac->regs + M2M_CONTROL);
regs              597 drivers/dma/ep93xx_dma.c 	u32 status = readl(edmac->regs + M2M_STATUS);
regs              606 drivers/dma/ep93xx_dma.c 	if (!(readl(edmac->regs + M2M_INTERRUPT) & M2M_INTERRUPT_MASK))
regs              611 drivers/dma/ep93xx_dma.c 		writel(0, edmac->regs + M2M_INTERRUPT);
regs              639 drivers/dma/ep93xx_dma.c 				control = readl(edmac->regs + M2M_CONTROL);
regs              641 drivers/dma/ep93xx_dma.c 				writel(control, edmac->regs + M2M_CONTROL);
regs              657 drivers/dma/ep93xx_dma.c 		control = readl(edmac->regs + M2M_CONTROL);
regs              660 drivers/dma/ep93xx_dma.c 		writel(control, edmac->regs + M2M_CONTROL);
regs             1339 drivers/dma/ep93xx_dma.c 		edmac->regs = cdata->base;
regs               47 drivers/dma/fsl-edma-common.c 	struct edma_regs *regs = &fsl_chan->edma->regs;
regs               51 drivers/dma/fsl-edma-common.c 		edma_writeb(fsl_chan->edma, EDMA_SEEI_SEEI(ch), regs->seei);
regs               52 drivers/dma/fsl-edma-common.c 		edma_writeb(fsl_chan->edma, ch, regs->serq);
regs               57 drivers/dma/fsl-edma-common.c 		iowrite8(EDMA_SEEI_SEEI(ch), regs->seei);
regs               58 drivers/dma/fsl-edma-common.c 		iowrite8(ch, regs->serq);
regs               64 drivers/dma/fsl-edma-common.c 	struct edma_regs *regs = &fsl_chan->edma->regs;
regs               68 drivers/dma/fsl-edma-common.c 		edma_writeb(fsl_chan->edma, ch, regs->cerq);
regs               69 drivers/dma/fsl-edma-common.c 		edma_writeb(fsl_chan->edma, EDMA_CEEI_CEEI(ch), regs->ceei);
regs               74 drivers/dma/fsl-edma-common.c 		iowrite8(ch, regs->cerq);
regs               75 drivers/dma/fsl-edma-common.c 		iowrite8(EDMA_CEEI_CEEI(ch), regs->ceei);
regs              269 drivers/dma/fsl-edma-common.c 	struct edma_regs *regs = &fsl_chan->edma->regs;
regs              285 drivers/dma/fsl-edma-common.c 		cur_addr = edma_readl(fsl_chan->edma, &regs->tcd[ch].saddr);
regs              287 drivers/dma/fsl-edma-common.c 		cur_addr = edma_readl(fsl_chan->edma, &regs->tcd[ch].daddr);
regs              344 drivers/dma/fsl-edma-common.c 	struct edma_regs *regs = &fsl_chan->edma->regs;
regs              352 drivers/dma/fsl-edma-common.c 	edma_writew(edma, 0,  &regs->tcd[ch].csr);
regs              353 drivers/dma/fsl-edma-common.c 	edma_writel(edma, le32_to_cpu(tcd->saddr), &regs->tcd[ch].saddr);
regs              354 drivers/dma/fsl-edma-common.c 	edma_writel(edma, le32_to_cpu(tcd->daddr), &regs->tcd[ch].daddr);
regs              356 drivers/dma/fsl-edma-common.c 	edma_writew(edma, le16_to_cpu(tcd->attr), &regs->tcd[ch].attr);
regs              357 drivers/dma/fsl-edma-common.c 	edma_writew(edma, le16_to_cpu(tcd->soff), &regs->tcd[ch].soff);
regs              359 drivers/dma/fsl-edma-common.c 	edma_writel(edma, le32_to_cpu(tcd->nbytes), &regs->tcd[ch].nbytes);
regs              360 drivers/dma/fsl-edma-common.c 	edma_writel(edma, le32_to_cpu(tcd->slast), &regs->tcd[ch].slast);
regs              362 drivers/dma/fsl-edma-common.c 	edma_writew(edma, le16_to_cpu(tcd->citer), &regs->tcd[ch].citer);
regs              363 drivers/dma/fsl-edma-common.c 	edma_writew(edma, le16_to_cpu(tcd->biter), &regs->tcd[ch].biter);
regs              364 drivers/dma/fsl-edma-common.c 	edma_writew(edma, le16_to_cpu(tcd->doff), &regs->tcd[ch].doff);
regs              367 drivers/dma/fsl-edma-common.c 			&regs->tcd[ch].dlast_sga);
regs              369 drivers/dma/fsl-edma-common.c 	edma_writew(edma, le16_to_cpu(tcd->csr), &regs->tcd[ch].csr);
regs              672 drivers/dma/fsl-edma-common.c 	edma->regs.cr = edma->membase + EDMA_CR;
regs              673 drivers/dma/fsl-edma-common.c 	edma->regs.es = edma->membase + EDMA_ES;
regs              674 drivers/dma/fsl-edma-common.c 	edma->regs.erql = edma->membase + EDMA_ERQ;
regs              675 drivers/dma/fsl-edma-common.c 	edma->regs.eeil = edma->membase + EDMA_EEI;
regs              677 drivers/dma/fsl-edma-common.c 	edma->regs.serq = edma->membase + ((edma->drvdata->version == v2) ?
regs              679 drivers/dma/fsl-edma-common.c 	edma->regs.cerq = edma->membase + ((edma->drvdata->version == v2) ?
regs              681 drivers/dma/fsl-edma-common.c 	edma->regs.seei = edma->membase + ((edma->drvdata->version == v2) ?
regs              683 drivers/dma/fsl-edma-common.c 	edma->regs.ceei = edma->membase + ((edma->drvdata->version == v2) ?
regs              685 drivers/dma/fsl-edma-common.c 	edma->regs.cint = edma->membase + ((edma->drvdata->version == v2) ?
regs              687 drivers/dma/fsl-edma-common.c 	edma->regs.cerr = edma->membase + ((edma->drvdata->version == v2) ?
regs              689 drivers/dma/fsl-edma-common.c 	edma->regs.ssrt = edma->membase + ((edma->drvdata->version == v2) ?
regs              691 drivers/dma/fsl-edma-common.c 	edma->regs.cdne = edma->membase + ((edma->drvdata->version == v2) ?
regs              693 drivers/dma/fsl-edma-common.c 	edma->regs.intl = edma->membase + ((edma->drvdata->version == v2) ?
regs              695 drivers/dma/fsl-edma-common.c 	edma->regs.errl = edma->membase + ((edma->drvdata->version == v2) ?
regs              699 drivers/dma/fsl-edma-common.c 		edma->regs.erqh = edma->membase + EDMA64_ERQH;
regs              700 drivers/dma/fsl-edma-common.c 		edma->regs.eeih = edma->membase + EDMA64_EEIH;
regs              701 drivers/dma/fsl-edma-common.c 		edma->regs.errh = edma->membase + EDMA64_ERRH;
regs              702 drivers/dma/fsl-edma-common.c 		edma->regs.inth = edma->membase + EDMA64_INTH;
regs              705 drivers/dma/fsl-edma-common.c 	edma->regs.tcd = edma->membase + EDMA_TCD;
regs              166 drivers/dma/fsl-edma-common.h 	struct edma_regs	regs;
regs               34 drivers/dma/fsl-edma.c 	struct edma_regs *regs = &fsl_edma->regs;
regs               37 drivers/dma/fsl-edma.c 	intr = edma_readl(fsl_edma, regs->intl);
regs               43 drivers/dma/fsl-edma.c 			edma_writeb(fsl_edma, EDMA_CINT_CINT(ch), regs->cint);
regs               71 drivers/dma/fsl-edma.c 	struct edma_regs *regs = &fsl_edma->regs;
regs               73 drivers/dma/fsl-edma.c 	err = edma_readl(fsl_edma, regs->errl);
regs               80 drivers/dma/fsl-edma.c 			edma_writeb(fsl_edma, EDMA_CERR_CERR(ch), regs->cerr);
regs              258 drivers/dma/fsl-edma.c 	struct edma_regs *regs;
regs              291 drivers/dma/fsl-edma.c 	regs = &fsl_edma->regs;
regs              348 drivers/dma/fsl-edma.c 		edma_writew(fsl_edma, 0x0, &regs->tcd[i].csr);
regs              352 drivers/dma/fsl-edma.c 	edma_writel(fsl_edma, ~0, regs->intl);
regs              400 drivers/dma/fsl-edma.c 	edma_writel(fsl_edma, EDMA_CR_ERGA | EDMA_CR_ERCA, regs->cr);
regs              447 drivers/dma/fsl-edma.c 	struct edma_regs *regs = &fsl_edma->regs;
regs              453 drivers/dma/fsl-edma.c 		edma_writew(fsl_edma, 0x0, &regs->tcd[i].csr);
regs              458 drivers/dma/fsl-edma.c 	edma_writel(fsl_edma, EDMA_CR_ERGA | EDMA_CR_ERCA, regs->cr);
regs               51 drivers/dma/fsldma.c 	FSL_DMA_OUT(chan, &chan->regs->sr, val, 32);
regs               56 drivers/dma/fsldma.c 	return FSL_DMA_IN(chan, &chan->regs->sr, 32);
regs               61 drivers/dma/fsldma.c 	FSL_DMA_OUT(chan, &chan->regs->mr, val, 32);
regs               66 drivers/dma/fsldma.c 	return FSL_DMA_IN(chan, &chan->regs->mr, 32);
regs               71 drivers/dma/fsldma.c 	FSL_DMA_OUT(chan, &chan->regs->cdar, addr | FSL_DMA_SNEN, 64);
regs               76 drivers/dma/fsldma.c 	return FSL_DMA_IN(chan, &chan->regs->cdar, 64) & ~FSL_DMA_SNEN;
regs               81 drivers/dma/fsldma.c 	FSL_DMA_OUT(chan, &chan->regs->bcr, val, 32);
regs               86 drivers/dma/fsldma.c 	return FSL_DMA_IN(chan, &chan->regs->bcr, 32);
regs             1006 drivers/dma/fsldma.c 	gsr = (fdev->feature & FSL_DMA_BIG_ENDIAN) ? in_be32(fdev->regs)
regs             1007 drivers/dma/fsldma.c 						   : in_le32(fdev->regs);
regs             1120 drivers/dma/fsldma.c 	chan->regs = of_iomap(node, 0);
regs             1121 drivers/dma/fsldma.c 	if (!chan->regs) {
regs             1198 drivers/dma/fsldma.c 	iounmap(chan->regs);
regs             1209 drivers/dma/fsldma.c 	iounmap(chan->regs);
regs             1229 drivers/dma/fsldma.c 	fdev->regs = of_iomap(op->dev.of_node, 0);
regs             1230 drivers/dma/fsldma.c 	if (!fdev->regs) {
regs             1296 drivers/dma/fsldma.c 	iounmap(fdev->regs);
regs             1318 drivers/dma/fsldma.c 	iounmap(fdev->regs);
regs              121 drivers/dma/fsldma.h 	void __iomem *regs;	/* DGSR register base */
regs              153 drivers/dma/fsldma.h 	struct fsldma_chan_regs __iomem *regs;
regs              419 drivers/dma/hsu/hsu.c 	void __iomem *addr = chip->regs + chip->offset;
regs               45 drivers/dma/hsu/pci.c 	dmaisr = readl(chip->regs + HSU_PCI_DMAISR);
regs               95 drivers/dma/hsu/pci.c 	chip->regs = pcim_iomap_table(pdev)[0];
regs              540 drivers/dma/idma64.c 	idma64->regs = chip->regs;
regs              565 drivers/dma/idma64.c 		idma64c->regs = idma64->regs + i * IDMA64_CH_LENGTH;
regs              644 drivers/dma/idma64.c 	chip->regs = devm_ioremap_resource(dev, mem);
regs              645 drivers/dma/idma64.c 	if (IS_ERR(chip->regs))
regs              646 drivers/dma/idma64.c 		return PTR_ERR(chip->regs);
regs              130 drivers/dma/idma64.h 	void __iomem *regs;
regs              153 drivers/dma/idma64.h 	return readl(idma64c->regs + offset);
regs              159 drivers/dma/idma64.h 	writel(value, idma64c->regs + offset);
regs              169 drivers/dma/idma64.h 	return lo_hi_readq(idma64c->regs + offset);
regs              175 drivers/dma/idma64.h 	lo_hi_writeq(value, idma64c->regs + offset);
regs              186 drivers/dma/idma64.h 	void __iomem *regs;
regs              200 drivers/dma/idma64.h 	return readl(idma64->regs + offset);
regs              205 drivers/dma/idma64.h 	writel(value, idma64->regs + offset);
regs              225 drivers/dma/idma64.h 	void __iomem	*regs;
regs              135 drivers/dma/img-mdc-dma.c 	void __iomem *regs;
regs              151 drivers/dma/img-mdc-dma.c 	return readl(mdma->regs + reg);
regs              156 drivers/dma/img-mdc-dma.c 	writel(val, mdma->regs + reg);
regs              902 drivers/dma/img-mdc-dma.c 	mdma->regs = devm_ioremap_resource(&pdev->dev, res);
regs              903 drivers/dma/img-mdc-dma.c 	if (IS_ERR(mdma->regs))
regs              904 drivers/dma/img-mdc-dma.c 		return PTR_ERR(mdma->regs);
regs              430 drivers/dma/imx-sdma.c 	void __iomem			*regs;
regs              633 drivers/dma/imx-sdma.c 	evt = readl_relaxed(sdma->regs + SDMA_H_EVTOVR);
regs              634 drivers/dma/imx-sdma.c 	mcu = readl_relaxed(sdma->regs + SDMA_H_HOSTOVR);
regs              635 drivers/dma/imx-sdma.c 	dsp = readl_relaxed(sdma->regs + SDMA_H_DSPOVR);
regs              652 drivers/dma/imx-sdma.c 	writel_relaxed(evt, sdma->regs + SDMA_H_EVTOVR);
regs              653 drivers/dma/imx-sdma.c 	writel_relaxed(mcu, sdma->regs + SDMA_H_HOSTOVR);
regs              654 drivers/dma/imx-sdma.c 	writel_relaxed(dsp, sdma->regs + SDMA_H_DSPOVR);
regs              661 drivers/dma/imx-sdma.c 	writel(BIT(channel), sdma->regs + SDMA_H_START);
regs              674 drivers/dma/imx-sdma.c 	ret = readl_relaxed_poll_timeout_atomic(sdma->regs + SDMA_H_STATSTOP,
regs              680 drivers/dma/imx-sdma.c 	reg = readl(sdma->regs + SDMA_H_CONFIG);
regs              683 drivers/dma/imx-sdma.c 		writel_relaxed(reg, sdma->regs + SDMA_H_CONFIG);
regs              729 drivers/dma/imx-sdma.c 	val = readl_relaxed(sdma->regs + chnenbl);
regs              731 drivers/dma/imx-sdma.c 	writel_relaxed(val, sdma->regs + chnenbl);
regs              741 drivers/dma/imx-sdma.c 	val = readl_relaxed(sdma->regs + chnenbl);
regs              743 drivers/dma/imx-sdma.c 	writel_relaxed(val, sdma->regs + chnenbl);
regs              855 drivers/dma/imx-sdma.c 	stat = readl_relaxed(sdma->regs + SDMA_H_INTR);
regs              856 drivers/dma/imx-sdma.c 	writel_relaxed(stat, sdma->regs + SDMA_H_INTR);
regs             1052 drivers/dma/imx-sdma.c 	writel_relaxed(BIT(channel), sdma->regs + SDMA_H_STATSTOP);
regs             1200 drivers/dma/imx-sdma.c 	writel_relaxed(priority, sdma->regs + SDMA_CHNPRI_0 + 4 * channel);
regs             1881 drivers/dma/imx-sdma.c 	writel_relaxed(0, sdma->regs + SDMA_H_C0PTR);
regs             1900 drivers/dma/imx-sdma.c 		writel_relaxed(0, sdma->regs + chnenbl_ofs(sdma, i));
regs             1904 drivers/dma/imx-sdma.c 		writel_relaxed(0, sdma->regs + SDMA_CHNPRI_0 + i * 4);
regs             1913 drivers/dma/imx-sdma.c 	writel_relaxed(0x4050, sdma->regs + SDMA_CHN0ADDR);
regs             1917 drivers/dma/imx-sdma.c 		writel_relaxed(SDMA_H_CONFIG_ACR, sdma->regs + SDMA_H_CONFIG);
regs             1919 drivers/dma/imx-sdma.c 		writel_relaxed(0, sdma->regs + SDMA_H_CONFIG);
regs             1921 drivers/dma/imx-sdma.c 	writel_relaxed(ccb_phys, sdma->regs + SDMA_H_C0PTR);
regs             2024 drivers/dma/imx-sdma.c 	sdma->regs = devm_ioremap_resource(&pdev->dev, iores);
regs             2025 drivers/dma/imx-sdma.c 	if (IS_ERR(sdma->regs))
regs             2026 drivers/dma/imx-sdma.c 		return PTR_ERR(sdma->regs);
regs               20 drivers/dma/mcf-edma.c 	struct edma_regs *regs = &mcf_edma->regs;
regs               25 drivers/dma/mcf-edma.c 	intmap = ioread32(regs->inth);
regs               27 drivers/dma/mcf-edma.c 	intmap |= ioread32(regs->intl);
regs               33 drivers/dma/mcf-edma.c 			iowrite8(EDMA_MASK_CH(ch), regs->cint);
regs               61 drivers/dma/mcf-edma.c 	struct edma_regs *regs = &mcf_edma->regs;
regs               64 drivers/dma/mcf-edma.c 	err = ioread32(regs->errl);
regs               71 drivers/dma/mcf-edma.c 			iowrite8(EDMA_CERR_CERR(ch), regs->cerr);
regs               77 drivers/dma/mcf-edma.c 	err = ioread32(regs->errh);
regs               84 drivers/dma/mcf-edma.c 			iowrite8(EDMA_CERR_CERR(ch), regs->cerr);
regs              177 drivers/dma/mcf-edma.c 	struct edma_regs *regs;
regs              213 drivers/dma/mcf-edma.c 	regs = &mcf_edma->regs;
regs              225 drivers/dma/mcf-edma.c 		iowrite32(0x0, &regs->tcd[i].csr);
regs              228 drivers/dma/mcf-edma.c 	iowrite32(~0, regs->inth);
regs              229 drivers/dma/mcf-edma.c 	iowrite32(~0, regs->intl);
regs              273 drivers/dma/mcf-edma.c 	iowrite32(EDMA_CR_ERGA | EDMA_CR_ERCA, regs->cr);
regs              219 drivers/dma/mpc512x_dma.c 	struct mpc_dma_regs __iomem	*regs;
regs              307 drivers/dma/mpc512x_dma.c 		out_8(&mdma->regs->dmassrt, cid);
regs              310 drivers/dma/mpc512x_dma.c 		out_8(&mdma->regs->dmaserq, cid);
regs              313 drivers/dma/mpc512x_dma.c 		out_8(&mdma->regs->dmassrt, cid);
regs              331 drivers/dma/mpc512x_dma.c 		out_8(&mdma->regs->dmacint, ch + off);
regs              332 drivers/dma/mpc512x_dma.c 		out_8(&mdma->regs->dmacerr, ch + off);
regs              355 drivers/dma/mpc512x_dma.c 	es = in_be32(&mdma->regs->dmaes);
regs              363 drivers/dma/mpc512x_dma.c 		mpc_dma_irq_process(mdma, in_be32(&mdma->regs->dmainth),
regs              364 drivers/dma/mpc512x_dma.c 					in_be32(&mdma->regs->dmaerrh), 32);
regs              366 drivers/dma/mpc512x_dma.c 	mpc_dma_irq_process(mdma, in_be32(&mdma->regs->dmaintl),
regs              367 drivers/dma/mpc512x_dma.c 					in_be32(&mdma->regs->dmaerrl), 0);
regs              538 drivers/dma/mpc512x_dma.c 	out_8(&mdma->regs->dmaseei, chan->chan_id);
regs              579 drivers/dma/mpc512x_dma.c 	out_8(&mdma->regs->dmaceei, chan->chan_id);
regs              887 drivers/dma/mpc512x_dma.c 	out_8(&mdma->regs->dmacerq, chan->chan_id);
regs              947 drivers/dma/mpc512x_dma.c 	mdma->regs = devm_ioremap(dev, regs_start, regs_size);
regs              948 drivers/dma/mpc512x_dma.c 	if (!mdma->regs) {
regs              954 drivers/dma/mpc512x_dma.c 	mdma->tcd = (struct mpc_dma_tcd *)((u8 *)(mdma->regs)
regs             1022 drivers/dma/mpc512x_dma.c 		out_be32(&mdma->regs->dmacr, MPC_DMA_DMACR_ERCA);
regs             1025 drivers/dma/mpc512x_dma.c 		out_be32(&mdma->regs->dmagpor, MPC_DMA_DMAGPOR_SNOOP_ENABLE);
regs             1027 drivers/dma/mpc512x_dma.c 		out_be32(&mdma->regs->dmaeeil, 0);
regs             1030 drivers/dma/mpc512x_dma.c 		out_be32(&mdma->regs->dmaintl, 0xFFFF);
regs             1031 drivers/dma/mpc512x_dma.c 		out_be32(&mdma->regs->dmaerrl, 0xFFFF);
regs             1033 drivers/dma/mpc512x_dma.c 		out_be32(&mdma->regs->dmacr, MPC_DMA_DMACR_EDCG |
regs             1038 drivers/dma/mpc512x_dma.c 		out_be32(&mdma->regs->dmaerqh, 0);
regs             1039 drivers/dma/mpc512x_dma.c 		out_be32(&mdma->regs->dmaerql, 0);
regs             1042 drivers/dma/mpc512x_dma.c 		out_be32(&mdma->regs->dmaeeih, 0);
regs             1043 drivers/dma/mpc512x_dma.c 		out_be32(&mdma->regs->dmaeeil, 0);
regs             1046 drivers/dma/mpc512x_dma.c 		out_be32(&mdma->regs->dmainth, 0xFFFFFFFF);
regs             1047 drivers/dma/mpc512x_dma.c 		out_be32(&mdma->regs->dmaintl, 0xFFFFFFFF);
regs             1048 drivers/dma/mpc512x_dma.c 		out_be32(&mdma->regs->dmaerrh, 0xFFFFFFFF);
regs             1049 drivers/dma/mpc512x_dma.c 		out_be32(&mdma->regs->dmaerrl, 0xFFFFFFFF);
regs             1052 drivers/dma/mpc512x_dma.c 		out_be32(&mdma->regs->dmaihsa, 0);
regs             1053 drivers/dma/mpc512x_dma.c 		out_be32(&mdma->regs->dmailsa, 0);
regs               84 drivers/dma/pch_dma.c 	struct pch_dma_desc_regs regs;
regs              119 drivers/dma/pch_dma.c 	struct pch_dma_regs	regs;
regs              328 drivers/dma/pch_dma.c 		pd_chan->chan.chan_id, desc->regs.dev_addr);
regs              330 drivers/dma/pch_dma.c 		pd_chan->chan.chan_id, desc->regs.mem_addr);
regs              332 drivers/dma/pch_dma.c 		pd_chan->chan.chan_id, desc->regs.size);
regs              334 drivers/dma/pch_dma.c 		pd_chan->chan.chan_id, desc->regs.next);
regs              337 drivers/dma/pch_dma.c 		channel_writel(pd_chan, DEV_ADDR, desc->regs.dev_addr);
regs              338 drivers/dma/pch_dma.c 		channel_writel(pd_chan, MEM_ADDR, desc->regs.mem_addr);
regs              339 drivers/dma/pch_dma.c 		channel_writel(pd_chan, SIZE, desc->regs.size);
regs              340 drivers/dma/pch_dma.c 		channel_writel(pd_chan, NEXT, desc->regs.next);
regs              601 drivers/dma/pch_dma.c 		desc->regs.dev_addr = reg;
regs              602 drivers/dma/pch_dma.c 		desc->regs.mem_addr = sg_dma_address(sg);
regs              603 drivers/dma/pch_dma.c 		desc->regs.size = sg_dma_len(sg);
regs              604 drivers/dma/pch_dma.c 		desc->regs.next = DMA_DESC_FOLLOW_WITHOUT_IRQ;
regs              608 drivers/dma/pch_dma.c 			if (desc->regs.size > DMA_DESC_MAX_COUNT_1_BYTE)
regs              610 drivers/dma/pch_dma.c 			desc->regs.size |= DMA_DESC_WIDTH_1_BYTE;
regs              613 drivers/dma/pch_dma.c 			if (desc->regs.size > DMA_DESC_MAX_COUNT_2_BYTES)
regs              615 drivers/dma/pch_dma.c 			desc->regs.size |= DMA_DESC_WIDTH_2_BYTES;
regs              618 drivers/dma/pch_dma.c 			if (desc->regs.size > DMA_DESC_MAX_COUNT_4_BYTES)
regs              620 drivers/dma/pch_dma.c 			desc->regs.size |= DMA_DESC_WIDTH_4_BYTES;
regs              629 drivers/dma/pch_dma.c 			prev->regs.next |= desc->txd.phys;
regs              637 drivers/dma/pch_dma.c 		desc->regs.next = DMA_DESC_END_WITH_IRQ;
regs              639 drivers/dma/pch_dma.c 		desc->regs.next = DMA_DESC_END_WITHOUT_IRQ;
regs              745 drivers/dma/pch_dma.c 	pd->regs.dma_ctl0 = dma_readl(pd, CTL0);
regs              746 drivers/dma/pch_dma.c 	pd->regs.dma_ctl1 = dma_readl(pd, CTL1);
regs              747 drivers/dma/pch_dma.c 	pd->regs.dma_ctl2 = dma_readl(pd, CTL2);
regs              748 drivers/dma/pch_dma.c 	pd->regs.dma_ctl3 = dma_readl(pd, CTL3);
regs              768 drivers/dma/pch_dma.c 	dma_writel(pd, CTL0, pd->regs.dma_ctl0);
regs              769 drivers/dma/pch_dma.c 	dma_writel(pd, CTL1, pd->regs.dma_ctl1);
regs              770 drivers/dma/pch_dma.c 	dma_writel(pd, CTL2, pd->regs.dma_ctl2);
regs              771 drivers/dma/pch_dma.c 	dma_writel(pd, CTL3, pd->regs.dma_ctl3);
regs              824 drivers/dma/pch_dma.c 	struct pch_dma_regs *regs;
regs              860 drivers/dma/pch_dma.c 	regs = pd->membase = pci_iomap(pdev, 1, 0);
regs              893 drivers/dma/pch_dma.c 		pd_chan->membase = &regs->desc[i];
regs              865 drivers/dma/pl330.c 	void __iomem *regs = thrd->dmac->base;
regs              870 drivers/dma/pl330.c 		if (!(readl(regs + DBGSTATUS) & DBG_BUSY))
regs              885 drivers/dma/pl330.c 	void __iomem *regs = thrd->dmac->base;
regs              893 drivers/dma/pl330.c 	writel(val, regs + DBGINST0);
regs              896 drivers/dma/pl330.c 	writel(val, regs + DBGINST1);
regs              905 drivers/dma/pl330.c 	writel(0, regs + DBGCMD);
regs              910 drivers/dma/pl330.c 	void __iomem *regs = thrd->dmac->base;
regs              914 drivers/dma/pl330.c 		val = readl(regs + DS) & 0xf;
regs              916 drivers/dma/pl330.c 		val = readl(regs + CS(thrd->id)) & 0xf;
regs              968 drivers/dma/pl330.c 	void __iomem *regs = thrd->dmac->base;
regs              970 drivers/dma/pl330.c 	u32 inten = readl(regs + INTEN);
regs              987 drivers/dma/pl330.c 		writel(1 << thrd->ev, regs + INTCLR);
regs              989 drivers/dma/pl330.c 	writel(inten & ~(1 << thrd->ev), regs + INTEN);
regs              995 drivers/dma/pl330.c 	void __iomem *regs = thrd->dmac->base;
regs             1041 drivers/dma/pl330.c 	writel(readl(regs + INTEN) | (1 << thrd->ev), regs + INTEN);
regs             1597 drivers/dma/pl330.c 			void __iomem *regs = pl330->base;
regs             1602 drivers/dma/pl330.c 			if (readl(regs + FSC) & (1 << thrd->id))
regs             1631 drivers/dma/pl330.c 	void __iomem *regs;
regs             1635 drivers/dma/pl330.c 	regs = pl330->base;
regs             1639 drivers/dma/pl330.c 	val = readl(regs + FSM) & 0x1;
regs             1645 drivers/dma/pl330.c 	val = readl(regs + FSC) & ((1 << pl330->pcfg.num_chan) - 1);
regs             1653 drivers/dma/pl330.c 						i, readl(regs + CS(i)),
regs             1654 drivers/dma/pl330.c 						readl(regs + FTC(i)));
regs             1662 drivers/dma/pl330.c 	val = readl(regs + ES);
regs             1675 drivers/dma/pl330.c 			u32 inten = readl(regs + INTEN);
regs             1680 drivers/dma/pl330.c 				writel(1 << ev, regs + INTCLR);
regs             1812 drivers/dma/pl330.c 	void __iomem *regs = pl330->base;
regs             1815 drivers/dma/pl330.c 	val = readl(regs + CRD) >> CRD_DATA_WIDTH_SHIFT;
regs             1819 drivers/dma/pl330.c 	val = readl(regs + CRD) >> CRD_DATA_BUFF_SHIFT;
regs             1823 drivers/dma/pl330.c 	val = readl(regs + CR0) >> CR0_NUM_CHANS_SHIFT;
regs             1828 drivers/dma/pl330.c 	val = readl(regs + CR0);
regs             1833 drivers/dma/pl330.c 		pl330->pcfg.peri_ns = readl(regs + CR4);
regs             1838 drivers/dma/pl330.c 	val = readl(regs + CR0);
regs             1844 drivers/dma/pl330.c 	val = readl(regs + CR0) >> CR0_NUM_EVENTS_SHIFT;
regs             1849 drivers/dma/pl330.c 	pl330->pcfg.irq_ns = readl(regs + CR3);
regs             2369 drivers/dma/pl330.c 	void __iomem *regs = thrd->dmac->base;
regs             2375 drivers/dma/pl330.c 		val = readl(regs + SA(thrd->id));
regs             2378 drivers/dma/pl330.c 		val = readl(regs + DA(thrd->id));
regs             4017 drivers/dma/ppc4xx/adma.c 	void *regs;
regs             4094 drivers/dma/ppc4xx/adma.c 	regs = ioremap(res.start, resource_size(&res));
regs             4095 drivers/dma/ppc4xx/adma.c 	if (!regs) {
regs             4102 drivers/dma/ppc4xx/adma.c 		adev->xor_reg = regs;
regs             4109 drivers/dma/ppc4xx/adma.c 		adev->dma_reg = regs;
regs              381 drivers/dma/qcom/bam_dma.c 	void __iomem *regs;
regs              413 drivers/dma/qcom/bam_dma.c 	return bdev->regs + r.base_offset +
regs             1249 drivers/dma/qcom/bam_dma.c 	bdev->regs = devm_ioremap_resource(&pdev->dev, iores);
regs             1250 drivers/dma/qcom/bam_dma.c 	if (IS_ERR(bdev->regs))
regs             1251 drivers/dma/qcom/bam_dma.c 		return PTR_ERR(bdev->regs);
regs             1648 drivers/dma/ste_dma40.c 	u32 *regs = base->regs_interrupt;
regs             1656 drivers/dma/ste_dma40.c 		regs[i] = readl(base->virtbase + il[i].src);
regs             1660 drivers/dma/ste_dma40.c 		chan = find_next_bit((unsigned long *)regs,
regs              823 drivers/dma/stm32-dma.c static void stm32_dma_clear_reg(struct stm32_dma_chan_reg *regs)
regs              825 drivers/dma/stm32-dma.c 	memset(regs, 0, sizeof(struct stm32_dma_chan_reg));
regs              103 drivers/dma/txx9dmac.c 	return ddev->regs;
regs              109 drivers/dma/txx9dmac.c 	return ddev->regs;
regs             1189 drivers/dma/txx9dmac.c 	ddev->regs = devm_ioremap(&pdev->dev, io->start, resource_size(io));
regs             1190 drivers/dma/txx9dmac.c 	if (!ddev->regs)
regs              180 drivers/dma/txx9dmac.h 	void __iomem		*regs;
regs              432 drivers/dma/xilinx/xilinx_dma.c 	void __iomem *regs;
regs              457 drivers/dma/xilinx/xilinx_dma.c 	readl_poll_timeout(chan->xdev->regs + chan->ctrl_offset + reg, val, \
regs              463 drivers/dma/xilinx/xilinx_dma.c 	return ioread32(chan->xdev->regs + reg);
regs              468 drivers/dma/xilinx/xilinx_dma.c 	iowrite32(value, chan->xdev->regs + reg);
regs              515 drivers/dma/xilinx/xilinx_dma.c 	writel(value_lsb, chan->xdev->regs + chan->desc_offset + reg);
regs              518 drivers/dma/xilinx/xilinx_dma.c 	writel(value_msb, chan->xdev->regs + chan->desc_offset + reg + 4);
regs              523 drivers/dma/xilinx/xilinx_dma.c 	lo_hi_writeq(value, chan->xdev->regs + chan->ctrl_offset + reg);
regs             2643 drivers/dma/xilinx/xilinx_dma.c 	xdev->regs = devm_ioremap_resource(&pdev->dev, io);
regs             2644 drivers/dma/xilinx/xilinx_dma.c 	if (IS_ERR(xdev->regs))
regs             2645 drivers/dma/xilinx/xilinx_dma.c 		return PTR_ERR(xdev->regs);
regs              217 drivers/dma/xilinx/zynqmp_dma.c 	void __iomem *regs;
regs              259 drivers/dma/xilinx/zynqmp_dma.c 	lo_hi_writeq(value, chan->regs + reg);
regs              336 drivers/dma/xilinx/zynqmp_dma.c 	writel(ZYNQMP_DMA_IDS_DEFAULT_MASK, chan->regs + ZYNQMP_DMA_IDS);
regs              337 drivers/dma/xilinx/zynqmp_dma.c 	val = readl(chan->regs + ZYNQMP_DMA_ISR);
regs              338 drivers/dma/xilinx/zynqmp_dma.c 	writel(val, chan->regs + ZYNQMP_DMA_ISR);
regs              344 drivers/dma/xilinx/zynqmp_dma.c 		writel(val, chan->regs + ZYNQMP_DMA_DSCR_ATTR);
regs              347 drivers/dma/xilinx/zynqmp_dma.c 	val = readl(chan->regs + ZYNQMP_DMA_DATA_ATTR);
regs              354 drivers/dma/xilinx/zynqmp_dma.c 	writel(val, chan->regs + ZYNQMP_DMA_DATA_ATTR);
regs              357 drivers/dma/xilinx/zynqmp_dma.c 	val = readl(chan->regs + ZYNQMP_DMA_IRQ_SRC_ACCT);
regs              358 drivers/dma/xilinx/zynqmp_dma.c 	val = readl(chan->regs + ZYNQMP_DMA_IRQ_DST_ACCT);
regs              514 drivers/dma/xilinx/zynqmp_dma.c 	writel(ZYNQMP_DMA_INT_EN_DEFAULT_MASK, chan->regs + ZYNQMP_DMA_IER);
regs              515 drivers/dma/xilinx/zynqmp_dma.c 	writel(0, chan->regs + ZYNQMP_DMA_TOTAL_BYTE);
regs              517 drivers/dma/xilinx/zynqmp_dma.c 	writel(ZYNQMP_DMA_ENABLE, chan->regs + ZYNQMP_DMA_CTRL2);
regs              528 drivers/dma/xilinx/zynqmp_dma.c 		writel(0, chan->regs + ZYNQMP_DMA_TOTAL_BYTE);
regs              530 drivers/dma/xilinx/zynqmp_dma.c 		readl(chan->regs + ZYNQMP_DMA_IRQ_DST_ACCT);
regs              532 drivers/dma/xilinx/zynqmp_dma.c 		readl(chan->regs + ZYNQMP_DMA_IRQ_SRC_ACCT);
regs              539 drivers/dma/xilinx/zynqmp_dma.c 	val = readl(chan->regs + ZYNQMP_DMA_CTRL0);
regs              541 drivers/dma/xilinx/zynqmp_dma.c 	writel(val, chan->regs + ZYNQMP_DMA_CTRL0);
regs              543 drivers/dma/xilinx/zynqmp_dma.c 	val = readl(chan->regs + ZYNQMP_DMA_DATA_ATTR);
regs              548 drivers/dma/xilinx/zynqmp_dma.c 	writel(val, chan->regs + ZYNQMP_DMA_DATA_ATTR);
regs              688 drivers/dma/xilinx/zynqmp_dma.c 	writel(ZYNQMP_DMA_IDS_DEFAULT_MASK, chan->regs + ZYNQMP_DMA_IDS);
regs              709 drivers/dma/xilinx/zynqmp_dma.c 	isr = readl(chan->regs + ZYNQMP_DMA_ISR);
regs              710 drivers/dma/xilinx/zynqmp_dma.c 	imr = readl(chan->regs + ZYNQMP_DMA_IMR);
regs              713 drivers/dma/xilinx/zynqmp_dma.c 	writel(isr, chan->regs + ZYNQMP_DMA_ISR);
regs              756 drivers/dma/xilinx/zynqmp_dma.c 	count = readl(chan->regs + ZYNQMP_DMA_IRQ_DST_ACCT);
regs              783 drivers/dma/xilinx/zynqmp_dma.c 	writel(ZYNQMP_DMA_IDS_DEFAULT_MASK, chan->regs + ZYNQMP_DMA_IDS);
regs              885 drivers/dma/xilinx/zynqmp_dma.c 	chan->regs = devm_ioremap_resource(&pdev->dev, res);
regs              886 drivers/dma/xilinx/zynqmp_dma.c 	if (IS_ERR(chan->regs))
regs              887 drivers/dma/xilinx/zynqmp_dma.c 		return PTR_ERR(chan->regs);
regs               43 drivers/edac/aspeed_edac.c 	void __iomem *regs = (void __iomem *)context;
regs               46 drivers/edac/aspeed_edac.c 	writel(ASPEED_MCR_PROT_PASSWD, regs + ASPEED_MCR_PROT);
regs               48 drivers/edac/aspeed_edac.c 	writel(val, regs + reg);
regs               51 drivers/edac/aspeed_edac.c 	writel(~ASPEED_MCR_PROT_PASSWD, regs + ASPEED_MCR_PROT);
regs               59 drivers/edac/aspeed_edac.c 	void __iomem *regs = (void __iomem *)context;
regs               61 drivers/edac/aspeed_edac.c 	*val = readl(regs + reg);
regs              285 drivers/edac/aspeed_edac.c 	void __iomem *regs;
regs              293 drivers/edac/aspeed_edac.c 	regs = devm_ioremap_resource(dev, res);
regs              294 drivers/edac/aspeed_edac.c 	if (IS_ERR(regs))
regs              295 drivers/edac/aspeed_edac.c 		return PTR_ERR(regs);
regs              297 drivers/edac/aspeed_edac.c 	aspeed_regmap = devm_regmap_init(dev, NULL, (__force void *)regs,
regs               26 drivers/edac/cell_edac.c 	struct cbe_mic_tm_regs __iomem	*regs;
regs               84 drivers/edac/cell_edac.c 	fir = in_be64(&priv->regs->mic_fir);
regs               92 drivers/edac/cell_edac.c 		addreg = in_be64(&priv->regs->mic_df_ecc_address_0);
regs               97 drivers/edac/cell_edac.c 		addreg = in_be64(&priv->regs->mic_df_ecc_address_1);
regs              102 drivers/edac/cell_edac.c 		addreg = in_be64(&priv->regs->mic_df_ecc_address_0);
regs              107 drivers/edac/cell_edac.c 		addreg = in_be64(&priv->regs->mic_df_ecc_address_1);
regs              117 drivers/edac/cell_edac.c 		out_be64(&priv->regs->mic_fir, fir);
regs              118 drivers/edac/cell_edac.c 		(void)in_be64(&priv->regs->mic_fir);
regs              122 drivers/edac/cell_edac.c 		fir = in_be64(&priv->regs->mic_fir);
regs              170 drivers/edac/cell_edac.c 	struct cbe_mic_tm_regs __iomem	*regs;
regs              177 drivers/edac/cell_edac.c 	regs = cbe_get_cpu_mic_tm_regs(cbe_node_to_cpu(pdev->id));
regs              178 drivers/edac/cell_edac.c 	if (regs == NULL)
regs              184 drivers/edac/cell_edac.c 	reg = in_be64(&regs->mic_mnt_cfg);
regs              197 drivers/edac/cell_edac.c 		in_be64(&regs->mic_fir));
regs              213 drivers/edac/cell_edac.c 	priv->regs = regs;
regs              184 drivers/edac/thunderx_edac.c 	void __iomem *regs;
regs              265 drivers/edac/thunderx_edac.c 	sprintf(buf, "0x%016llx", readq(pdata->regs + _reg));		    \
regs              281 drivers/edac/thunderx_edac.c 		writeq(val, pdata->regs + _reg);			    \
regs              315 drivers/edac/thunderx_edac.c 		writeq(val, lmc->regs + LMC_INT_W1S);
regs              328 drivers/edac/thunderx_edac.c 	u64 lmc_int = readq(lmc->regs + LMC_INT);
regs              351 drivers/edac/thunderx_edac.c 	writeq(lmc->mask0, lmc->regs + LMC_CHAR_MASK0);
regs              352 drivers/edac/thunderx_edac.c 	writeq(lmc->mask2, lmc->regs + LMC_CHAR_MASK2);
regs              353 drivers/edac/thunderx_edac.c 	writeq(lmc->parity_test, lmc->regs + LMC_ECC_PARITY_TEST);
regs              355 drivers/edac/thunderx_edac.c 	readq(lmc->regs + LMC_CHAR_MASK0);
regs              356 drivers/edac/thunderx_edac.c 	readq(lmc->regs + LMC_CHAR_MASK2);
regs              357 drivers/edac/thunderx_edac.c 	readq(lmc->regs + LMC_ECC_PARITY_TEST);
regs              553 drivers/edac/thunderx_edac.c 	writeq(0, lmc->regs + LMC_CHAR_MASK0);
regs              554 drivers/edac/thunderx_edac.c 	writeq(0, lmc->regs + LMC_CHAR_MASK2);
regs              555 drivers/edac/thunderx_edac.c 	writeq(0x2, lmc->regs + LMC_ECC_PARITY_TEST);
regs              557 drivers/edac/thunderx_edac.c 	ctx->reg_int = readq(lmc->regs + LMC_INT);
regs              558 drivers/edac/thunderx_edac.c 	ctx->reg_fadr = readq(lmc->regs + LMC_FADR);
regs              559 drivers/edac/thunderx_edac.c 	ctx->reg_nxm_fadr = readq(lmc->regs + LMC_NXM_FADR);
regs              560 drivers/edac/thunderx_edac.c 	ctx->reg_scram_fadr = readq(lmc->regs + LMC_SCRAM_FADR);
regs              561 drivers/edac/thunderx_edac.c 	ctx->reg_ecc_synd = readq(lmc->regs + LMC_ECC_SYND);
regs              568 drivers/edac/thunderx_edac.c 	writeq(ctx->reg_int, lmc->regs + LMC_INT);
regs              698 drivers/edac/thunderx_edac.c 	lmc->regs = pcim_iomap_table(pdev)[0];
regs              700 drivers/edac/thunderx_edac.c 	lmc_control = readq(lmc->regs + LMC_CONTROL);
regs              701 drivers/edac/thunderx_edac.c 	lmc_ddr_pll_ctl = readq(lmc->regs + LMC_DDR_PLL_CTL);
regs              702 drivers/edac/thunderx_edac.c 	lmc_config = readq(lmc->regs + LMC_CONFIG);
regs              777 drivers/edac/thunderx_edac.c 	lmc_int = readq(lmc->regs + LMC_INT);
regs              778 drivers/edac/thunderx_edac.c 	writeq(lmc_int, lmc->regs + LMC_INT);
regs              780 drivers/edac/thunderx_edac.c 	writeq(LMC_INT_ENA_ALL, lmc->regs + LMC_INT_ENA_W1S);
regs              808 drivers/edac/thunderx_edac.c 	writeq(LMC_INT_ENA_ALL, lmc->regs + LMC_INT_ENA_W1C);
regs             1053 drivers/edac/thunderx_edac.c 	void __iomem *regs;
regs             1086 drivers/edac/thunderx_edac.c 	ctx->reg_com_int = readq(ocx->regs + OCX_COM_INT);
regs             1090 drivers/edac/thunderx_edac.c 			readq(ocx->regs + OCX_LNE_INT(lane));
regs             1092 drivers/edac/thunderx_edac.c 			readq(ocx->regs + OCX_LNE_STAT(lane, 11));
regs             1094 drivers/edac/thunderx_edac.c 		writeq(ctx->reg_lane_int[lane], ocx->regs + OCX_LNE_INT(lane));
regs             1097 drivers/edac/thunderx_edac.c 	writeq(ctx->reg_com_int, ocx->regs + OCX_COM_INT);
regs             1178 drivers/edac/thunderx_edac.c 	ctx->reg_com_link_int = readq(ocx->regs + OCX_COM_LINKX_INT(ctx->link));
regs             1180 drivers/edac/thunderx_edac.c 	writeq(ctx->reg_com_link_int, ocx->regs + OCX_COM_LINKX_INT(ctx->link));
regs             1332 drivers/edac/thunderx_edac.c 		cfg = readq(ocx->regs + OCX_LNE_CFG(lane));
regs             1335 drivers/edac/thunderx_edac.c 		writeq(cfg, ocx->regs + OCX_LNE_CFG(lane));
regs             1338 drivers/edac/thunderx_edac.c 			readq(ocx->regs + OCX_LNE_STAT(lane, stat));
regs             1381 drivers/edac/thunderx_edac.c 	ocx->regs = pcim_iomap_table(pdev)[0];
regs             1382 drivers/edac/thunderx_edac.c 	if (!ocx->regs) {
regs             1446 drivers/edac/thunderx_edac.c 		       ocx->regs + OCX_LNE_INT_EN(i));
regs             1448 drivers/edac/thunderx_edac.c 		reg = readq(ocx->regs + OCX_LNE_INT(i));
regs             1449 drivers/edac/thunderx_edac.c 		writeq(reg, ocx->regs + OCX_LNE_INT(i));
regs             1454 drivers/edac/thunderx_edac.c 		reg = readq(ocx->regs + OCX_COM_LINKX_INT(i));
regs             1455 drivers/edac/thunderx_edac.c 		writeq(reg, ocx->regs + OCX_COM_LINKX_INT(i));
regs             1458 drivers/edac/thunderx_edac.c 		       ocx->regs + OCX_COM_LINKX_INT_ENA_W1S(i));
regs             1461 drivers/edac/thunderx_edac.c 	reg = readq(ocx->regs + OCX_COM_INT);
regs             1462 drivers/edac/thunderx_edac.c 	writeq(reg, ocx->regs + OCX_COM_INT);
regs             1464 drivers/edac/thunderx_edac.c 	writeq(OCX_COM_INT_ENA_ALL, ocx->regs + OCX_COM_INT_ENA_W1S);
regs             1479 drivers/edac/thunderx_edac.c 	writeq(OCX_COM_INT_ENA_ALL, ocx->regs + OCX_COM_INT_ENA_W1C);
regs             1483 drivers/edac/thunderx_edac.c 		       ocx->regs + OCX_COM_LINKX_INT_ENA_W1C(i));
regs             1745 drivers/edac/thunderx_edac.c 	void __iomem *regs;
regs             1769 drivers/edac/thunderx_edac.c 	ctx->reg_int = readq(tad->regs + L2C_TAD_INT_W1C);
regs             1773 drivers/edac/thunderx_edac.c 		ctx->reg_ext = readq(tad->regs + L2C_TAD_TQD_ERR);
regs             1776 drivers/edac/thunderx_edac.c 		ctx->reg_ext = readq(tad->regs + L2C_TAD_TTG_ERR);
regs             1779 drivers/edac/thunderx_edac.c 		ctx->reg_ext = readq(tad->regs + L2C_TAD_TIMEOUT);
regs             1782 drivers/edac/thunderx_edac.c 		ctx->reg_ext = readq(tad->regs + L2C_TAD_ERR);
regs             1785 drivers/edac/thunderx_edac.c 	writeq(ctx->reg_int, tad->regs + L2C_TAD_INT_W1C);
regs             1801 drivers/edac/thunderx_edac.c 	ctx->reg_int = readq(cbc->regs + L2C_CBC_INT_W1C);
regs             1805 drivers/edac/thunderx_edac.c 		ctx->reg_ext = readq(cbc->regs + L2C_CBC_RSDERR);
regs             1808 drivers/edac/thunderx_edac.c 		ctx->reg_ext = readq(cbc->regs + L2C_CBC_MIBERR);
regs             1811 drivers/edac/thunderx_edac.c 		ctx->reg_ext = readq(cbc->regs + L2C_CBC_IODISOCIERR);
regs             1814 drivers/edac/thunderx_edac.c 	writeq(ctx->reg_int, cbc->regs + L2C_CBC_INT_W1C);
regs             1830 drivers/edac/thunderx_edac.c 	ctx->reg_int = readq(mci->regs + L2C_MCI_INT_W1C);
regs             1831 drivers/edac/thunderx_edac.c 	ctx->reg_ext = readq(mci->regs + L2C_MCI_ERR);
regs             1833 drivers/edac/thunderx_edac.c 	writeq(ctx->reg_int, mci->regs + L2C_MCI_INT_W1C);
regs             2017 drivers/edac/thunderx_edac.c 	l2c->regs = pcim_iomap_table(pdev)[0];
regs             2018 drivers/edac/thunderx_edac.c 	if (!l2c->regs) {
regs             2071 drivers/edac/thunderx_edac.c 	writeq(reg_en_mask, l2c->regs + reg_en_offs);
regs             2088 drivers/edac/thunderx_edac.c 		writeq(L2C_TAD_INT_ENA_ALL, l2c->regs + L2C_TAD_INT_ENA_W1C);
regs             2091 drivers/edac/thunderx_edac.c 		writeq(L2C_CBC_INT_ENA_ALL, l2c->regs + L2C_CBC_INT_ENA_W1C);
regs             2094 drivers/edac/thunderx_edac.c 		writeq(L2C_MCI_INT_ENA_ALL, l2c->regs + L2C_MCI_INT_ENA_W1C);
regs              191 drivers/extcon/extcon-fsa9480.c 	u8 regs[2];
regs              194 drivers/extcon/extcon-fsa9480.c 	ret = regmap_bulk_read(usbsw->regmap, FSA9480_REG_INT1, regs, 2);
regs              198 drivers/extcon/extcon-fsa9480.c 	*value = regs[1] << 8 | regs[0];
regs               73 drivers/firewire/ohci.c #define CONTROL_SET(regs)	(regs)
regs               74 drivers/firewire/ohci.c #define CONTROL_CLEAR(regs)	((regs) + 4)
regs               75 drivers/firewire/ohci.c #define COMMAND_PTR(regs)	((regs) + 12)
regs               76 drivers/firewire/ohci.c #define CONTEXT_MATCH(regs)	((regs) + 16)
regs               95 drivers/firewire/ohci.c 	u32 regs;
regs              119 drivers/firewire/ohci.c 	u32 regs;
regs              672 drivers/firewire/ohci.c 	reg_write(ctx->ohci, CONTROL_SET(ctx->regs), CONTEXT_WAKE);
regs              694 drivers/firewire/ohci.c 	if (reg_read(ohci, CONTROL_CLEAR(ctx->regs)) & CONTEXT_RUN) {
regs              695 drivers/firewire/ohci.c 		reg_write(ohci, CONTROL_CLEAR(ctx->regs), CONTEXT_RUN);
regs              971 drivers/firewire/ohci.c 			   unsigned int descriptors_offset, u32 regs)
regs              978 drivers/firewire/ohci.c 	ctx->regs        = regs;
regs             1035 drivers/firewire/ohci.c 	reg_write(ctx->ohci, COMMAND_PTR(ctx->regs), ctx->descriptors_bus | 1);
regs             1036 drivers/firewire/ohci.c 	reg_write(ctx->ohci, CONTROL_SET(ctx->regs), CONTEXT_RUN);
regs             1135 drivers/firewire/ohci.c 			u32 regs, descriptor_callback_t callback)
regs             1138 drivers/firewire/ohci.c 	ctx->regs = regs;
regs             1214 drivers/firewire/ohci.c 	reg_write(ohci, COMMAND_PTR(ctx->regs),
regs             1216 drivers/firewire/ohci.c 	reg_write(ohci, CONTROL_CLEAR(ctx->regs), ~0);
regs             1217 drivers/firewire/ohci.c 	reg_write(ohci, CONTROL_SET(ctx->regs), CONTEXT_RUN | extra);
regs             1264 drivers/firewire/ohci.c 	reg_write(ohci, CONTROL_CLEAR(ctx->regs), CONTEXT_RUN);
regs             1268 drivers/firewire/ohci.c 		reg = reg_read(ohci, CONTROL_SET(ctx->regs));
regs             1411 drivers/firewire/ohci.c 		reg_write(ohci, CONTROL_SET(ctx->regs), CONTEXT_WAKE);
regs             1653 drivers/firewire/ohci.c 				const char *name, unsigned int regs)
regs             1657 drivers/firewire/ohci.c 	ctl = reg_read(ohci, CONTROL_SET(regs));
regs             2939 drivers/firewire/ohci.c 	u32 *uninitialized_var(mask), uninitialized_var(regs);
regs             2951 drivers/firewire/ohci.c 			regs = OHCI1394_IsoXmitContextBase(index);
regs             2964 drivers/firewire/ohci.c 			regs = OHCI1394_IsoRcvContextBase(index);
regs             2976 drivers/firewire/ohci.c 			regs = OHCI1394_IsoRcvContextBase(index);
regs             2998 drivers/firewire/ohci.c 	ret = context_init(&ctx->context, ohci, regs, callback);
regs             3068 drivers/firewire/ohci.c 		reg_write(ohci, CONTEXT_MATCH(ctx->context.regs), match);
regs             3464 drivers/firewire/ohci.c 	reg_write(ctx->ohci, CONTROL_SET(ctx->regs), CONTEXT_WAKE);
regs              250 drivers/firmware/arm_sdei.c 		struct sdei_registered_event __percpu *regs;
regs              252 drivers/firmware/arm_sdei.c 		regs = alloc_percpu(struct sdei_registered_event);
regs              253 drivers/firmware/arm_sdei.c 		if (!regs) {
regs              259 drivers/firmware/arm_sdei.c 			reg = per_cpu_ptr(regs, cpu);
regs              267 drivers/firmware/arm_sdei.c 		event->private_registered = regs;
regs             1136 drivers/firmware/arm_sdei.c int sdei_event_handler(struct pt_regs *regs,
regs             1146 drivers/firmware/arm_sdei.c 	err = arg->callback(event_num, regs, arg->callback_arg);
regs               47 drivers/gpio/gpio-altera.c 	intmask = readl(mm_gc->regs + ALTERA_GPIO_IRQ_MASK);
regs               50 drivers/gpio/gpio-altera.c 	writel(intmask, mm_gc->regs + ALTERA_GPIO_IRQ_MASK);
regs               65 drivers/gpio/gpio-altera.c 	intmask = readl(mm_gc->regs + ALTERA_GPIO_IRQ_MASK);
regs               68 drivers/gpio/gpio-altera.c 	writel(intmask, mm_gc->regs + ALTERA_GPIO_IRQ_MASK);
regs              111 drivers/gpio/gpio-altera.c 	return !!(readl(mm_gc->regs + ALTERA_GPIO_DATA) & BIT(offset));
regs              125 drivers/gpio/gpio-altera.c 	data_reg = readl(mm_gc->regs + ALTERA_GPIO_DATA);
regs              130 drivers/gpio/gpio-altera.c 	writel(data_reg, mm_gc->regs + ALTERA_GPIO_DATA);
regs              146 drivers/gpio/gpio-altera.c 	gpio_ddr = readl(mm_gc->regs + ALTERA_GPIO_DIR);
regs              148 drivers/gpio/gpio-altera.c 	writel(gpio_ddr, mm_gc->regs + ALTERA_GPIO_DIR);
regs              167 drivers/gpio/gpio-altera.c 	data_reg = readl(mm_gc->regs + ALTERA_GPIO_DATA);
regs              172 drivers/gpio/gpio-altera.c 	writel(data_reg, mm_gc->regs + ALTERA_GPIO_DATA);
regs              175 drivers/gpio/gpio-altera.c 	gpio_ddr = readl(mm_gc->regs + ALTERA_GPIO_DIR);
regs              177 drivers/gpio/gpio-altera.c 	writel(gpio_ddr, mm_gc->regs + ALTERA_GPIO_DIR);
regs              200 drivers/gpio/gpio-altera.c 	      (readl(mm_gc->regs + ALTERA_GPIO_EDGE_CAP) &
regs              201 drivers/gpio/gpio-altera.c 	      readl(mm_gc->regs + ALTERA_GPIO_IRQ_MASK)))) {
regs              202 drivers/gpio/gpio-altera.c 		writel(status, mm_gc->regs + ALTERA_GPIO_EDGE_CAP);
regs              227 drivers/gpio/gpio-altera.c 	status = readl(mm_gc->regs + ALTERA_GPIO_DATA);
regs              228 drivers/gpio/gpio-altera.c 	status &= readl(mm_gc->regs + ALTERA_GPIO_IRQ_MASK);
regs               35 drivers/gpio/gpio-cadence.c 	void __iomem *regs;
regs               46 drivers/gpio/gpio-cadence.c 	iowrite32(ioread32(cgpio->regs + CDNS_GPIO_BYPASS_MODE) & ~BIT(offset),
regs               47 drivers/gpio/gpio-cadence.c 		  cgpio->regs + CDNS_GPIO_BYPASS_MODE);
regs               60 drivers/gpio/gpio-cadence.c 	iowrite32(ioread32(cgpio->regs + CDNS_GPIO_BYPASS_MODE) |
regs               62 drivers/gpio/gpio-cadence.c 		  cgpio->regs + CDNS_GPIO_BYPASS_MODE);
regs               72 drivers/gpio/gpio-cadence.c 	iowrite32(BIT(d->hwirq), cgpio->regs + CDNS_GPIO_IRQ_DIS);
regs               80 drivers/gpio/gpio-cadence.c 	iowrite32(BIT(d->hwirq), cgpio->regs + CDNS_GPIO_IRQ_EN);
regs               95 drivers/gpio/gpio-cadence.c 	int_value = ioread32(cgpio->regs + CDNS_GPIO_IRQ_VALUE) & ~mask;
regs               96 drivers/gpio/gpio-cadence.c 	int_type = ioread32(cgpio->regs + CDNS_GPIO_IRQ_TYPE) & ~mask;
regs              114 drivers/gpio/gpio-cadence.c 	iowrite32(int_value, cgpio->regs + CDNS_GPIO_IRQ_VALUE);
regs              115 drivers/gpio/gpio-cadence.c 	iowrite32(int_type, cgpio->regs + CDNS_GPIO_IRQ_TYPE);
regs              132 drivers/gpio/gpio-cadence.c 	status = ioread32(cgpio->regs + CDNS_GPIO_IRQ_STATUS) &
regs              133 drivers/gpio/gpio-cadence.c 		~ioread32(cgpio->regs + CDNS_GPIO_IRQ_MASK);
regs              159 drivers/gpio/gpio-cadence.c 	cgpio->regs = devm_platform_ioremap_resource(pdev, 0);
regs              160 drivers/gpio/gpio-cadence.c 	if (IS_ERR(cgpio->regs))
regs              161 drivers/gpio/gpio-cadence.c 		return PTR_ERR(cgpio->regs);
regs              177 drivers/gpio/gpio-cadence.c 	dir_prev = ioread32(cgpio->regs + CDNS_GPIO_DIRECTION_MODE);
regs              179 drivers/gpio/gpio-cadence.c 		  cgpio->regs + CDNS_GPIO_DIRECTION_MODE);
regs              182 drivers/gpio/gpio-cadence.c 			 cgpio->regs + CDNS_GPIO_INPUT_VALUE,
regs              183 drivers/gpio/gpio-cadence.c 			 cgpio->regs + CDNS_GPIO_OUTPUT_VALUE,
regs              186 drivers/gpio/gpio-cadence.c 			 cgpio->regs + CDNS_GPIO_DIRECTION_MODE,
regs              246 drivers/gpio/gpio-cadence.c 	cgpio->bypass_orig = ioread32(cgpio->regs + CDNS_GPIO_BYPASS_MODE);
regs              252 drivers/gpio/gpio-cadence.c 		  cgpio->regs + CDNS_GPIO_OUTPUT_EN);
regs              253 drivers/gpio/gpio-cadence.c 	iowrite32(0, cgpio->regs + CDNS_GPIO_BYPASS_MODE);
regs              262 drivers/gpio/gpio-cadence.c 	iowrite32(dir_prev, cgpio->regs + CDNS_GPIO_DIRECTION_MODE);
regs              271 drivers/gpio/gpio-cadence.c 	iowrite32(cgpio->bypass_orig, cgpio->regs + CDNS_GPIO_BYPASS_MODE);
regs               25 drivers/gpio/gpio-creg-snps.c 	void __iomem *regs;
regs               45 drivers/gpio/gpio-creg-snps.c 	reg = readl(hcg->regs);
regs               48 drivers/gpio/gpio-creg-snps.c 	writel(reg, hcg->regs);
regs              147 drivers/gpio/gpio-creg-snps.c 	hcg->regs = devm_platform_ioremap_resource(pdev, 0);
regs              148 drivers/gpio/gpio-creg-snps.c 	if (IS_ERR(hcg->regs))
regs              149 drivers/gpio/gpio-creg-snps.c 		return PTR_ERR(hcg->regs);
regs               52 drivers/gpio/gpio-davinci.c 	void __iomem			*regs;
regs               62 drivers/gpio/gpio-davinci.c 	void __iomem		*regs[MAX_REGS_BANKS];
regs               96 drivers/gpio/gpio-davinci.c 	g = d->regs[bank];
regs              135 drivers/gpio/gpio-davinci.c 	g = d->regs[bank];
regs              150 drivers/gpio/gpio-davinci.c 	g = d->regs[bank];
regs              272 drivers/gpio/gpio-davinci.c 		chips->regs[bank] = gpio_base + offset_array[bank];
regs              349 drivers/gpio/gpio-davinci.c 	g = irqdata->regs;
regs              418 drivers/gpio/gpio-davinci.c 	g = (struct davinci_gpio_regs __iomem *)d->regs[0];
regs              445 drivers/gpio/gpio-davinci.c 	struct davinci_gpio_regs __iomem *g = chips->regs[hw / 32];
regs              572 drivers/gpio/gpio-davinci.c 		g = chips->regs[0];
regs              596 drivers/gpio/gpio-davinci.c 		g = chips->regs[bank / 2];
regs              614 drivers/gpio/gpio-davinci.c 		irqdata->regs = g;
regs               94 drivers/gpio/gpio-dwapb.c 	void __iomem		*regs;
regs              132 drivers/gpio/gpio-dwapb.c 	void __iomem *reg_base	= gpio->regs;
regs              141 drivers/gpio/gpio-dwapb.c 	void __iomem *reg_base	= gpio->regs;
regs              418 drivers/gpio/gpio-dwapb.c 	irq_gc->reg_base = gpio->regs;
regs              434 drivers/gpio/gpio-dwapb.c 		ct->regs.ack = gpio_reg_convert(gpio, GPIO_PORTA_EOI);
regs              435 drivers/gpio/gpio-dwapb.c 		ct->regs.mask = gpio_reg_convert(gpio, GPIO_INTMASK);
regs              508 drivers/gpio/gpio-dwapb.c 	dat = gpio->regs + GPIO_EXT_PORTA + (pp->idx * GPIO_EXT_PORT_STRIDE);
regs              509 drivers/gpio/gpio-dwapb.c 	set = gpio->regs + GPIO_SWPORTA_DR + (pp->idx * GPIO_SWPORT_DR_STRIDE);
regs              510 drivers/gpio/gpio-dwapb.c 	dirout = gpio->regs + GPIO_SWPORTA_DDR +
regs              688 drivers/gpio/gpio-dwapb.c 	gpio->regs = devm_platform_ioremap_resource(pdev, 0);
regs              689 drivers/gpio/gpio-dwapb.c 	if (IS_ERR(gpio->regs))
regs              690 drivers/gpio/gpio-dwapb.c 		return PTR_ERR(gpio->regs);
regs               29 drivers/gpio/gpio-exar.c 	void __iomem *regs;
regs               41 drivers/gpio/gpio-exar.c 	temp = readb(exar_gpio->regs + reg);
regs               45 drivers/gpio/gpio-exar.c 	writeb(temp, exar_gpio->regs + reg);
regs               67 drivers/gpio/gpio-exar.c 	value = readb(exar_gpio->regs + reg);
regs              163 drivers/gpio/gpio-exar.c 	exar_gpio->regs = p;
regs               56 drivers/gpio/gpio-ge.c 	void __iomem *regs;
regs               63 drivers/gpio/gpio-ge.c 	regs = of_iomap(pdev->dev.of_node, 0);
regs               64 drivers/gpio/gpio-ge.c 	if (!regs)
regs               67 drivers/gpio/gpio-ge.c 	ret = bgpio_init(gc, &pdev->dev, 4, regs + GEF_GPIO_IN,
regs               68 drivers/gpio/gpio-ge.c 			 regs + GEF_GPIO_OUT, NULL, NULL,
regs               69 drivers/gpio/gpio-ge.c 			 regs + GEF_GPIO_DIRECT, BGPIOF_BIG_ENDIAN_BYTE_ORDER);
regs               94 drivers/gpio/gpio-ge.c 	iounmap(regs);
regs               62 drivers/gpio/gpio-grgpio.c 	void __iomem *regs;
regs               99 drivers/gpio/gpio-grgpio.c 	gc->write_reg(priv->regs + GRGPIO_IMASK, priv->imask);
regs              150 drivers/gpio/gpio-grgpio.c 	ipol = priv->gc.read_reg(priv->regs + GRGPIO_IPOL) & ~mask;
regs              151 drivers/gpio/gpio-grgpio.c 	iedge = priv->gc.read_reg(priv->regs + GRGPIO_IEDGE) & ~mask;
regs              153 drivers/gpio/gpio-grgpio.c 	priv->gc.write_reg(priv->regs + GRGPIO_IPOL, ipol | pol);
regs              154 drivers/gpio/gpio-grgpio.c 	priv->gc.write_reg(priv->regs + GRGPIO_IEDGE, iedge | edge);
regs              331 drivers/gpio/gpio-grgpio.c 	void  __iomem *regs;
regs              344 drivers/gpio/gpio-grgpio.c 	regs = devm_platform_ioremap_resource(ofdev, 0);
regs              345 drivers/gpio/gpio-grgpio.c 	if (IS_ERR(regs))
regs              346 drivers/gpio/gpio-grgpio.c 		return PTR_ERR(regs);
regs              349 drivers/gpio/gpio-grgpio.c 	err = bgpio_init(gc, &ofdev->dev, 4, regs + GRGPIO_DATA,
regs              350 drivers/gpio/gpio-grgpio.c 			 regs + GRGPIO_OUTPUT, NULL, regs + GRGPIO_DIR, NULL,
regs              357 drivers/gpio/gpio-grgpio.c 	priv->regs = regs;
regs              358 drivers/gpio/gpio-grgpio.c 	priv->imask = gc->read_reg(regs + GRGPIO_IMASK);
regs              430 drivers/gpio/gpio-grgpio.c 		 priv->regs, gc->base, gc->ngpio, priv->domain ? "on" : "off");
regs               52 drivers/gpio/gpio-hlwd.c 	void __iomem *regs;
regs               69 drivers/gpio/gpio-hlwd.c 	pending = ioread32be(hlwd->regs + HW_GPIOB_INTFLAG);
regs               70 drivers/gpio/gpio-hlwd.c 	pending &= ioread32be(hlwd->regs + HW_GPIOB_INTMASK);
regs               78 drivers/gpio/gpio-hlwd.c 		level = ioread32be(hlwd->regs + HW_GPIOB_INTLVL);
regs               84 drivers/gpio/gpio-hlwd.c 			    hlwd->regs + HW_GPIOB_INTLVL);
regs               87 drivers/gpio/gpio-hlwd.c 		iowrite32be(emulated_pending, hlwd->regs + HW_GPIOB_INTFLAG);
regs              114 drivers/gpio/gpio-hlwd.c 	iowrite32be(BIT(data->hwirq), hlwd->regs + HW_GPIOB_INTFLAG);
regs              125 drivers/gpio/gpio-hlwd.c 	mask = ioread32be(hlwd->regs + HW_GPIOB_INTMASK);
regs              127 drivers/gpio/gpio-hlwd.c 	iowrite32be(mask, hlwd->regs + HW_GPIOB_INTMASK);
regs              139 drivers/gpio/gpio-hlwd.c 	mask = ioread32be(hlwd->regs + HW_GPIOB_INTMASK);
regs              141 drivers/gpio/gpio-hlwd.c 	iowrite32be(mask, hlwd->regs + HW_GPIOB_INTMASK);
regs              157 drivers/gpio/gpio-hlwd.c 	level = ioread32be(hlwd->regs + HW_GPIOB_INTLVL);
regs              158 drivers/gpio/gpio-hlwd.c 	state = ioread32be(hlwd->regs + HW_GPIOB_IN) & BIT(hwirq);
regs              161 drivers/gpio/gpio-hlwd.c 	iowrite32be(level, hlwd->regs + HW_GPIOB_INTLVL);
regs              185 drivers/gpio/gpio-hlwd.c 		level = ioread32be(hlwd->regs + HW_GPIOB_INTLVL);
regs              187 drivers/gpio/gpio-hlwd.c 		iowrite32be(level, hlwd->regs + HW_GPIOB_INTLVL);
regs              190 drivers/gpio/gpio-hlwd.c 		level = ioread32be(hlwd->regs + HW_GPIOB_INTLVL);
regs              192 drivers/gpio/gpio-hlwd.c 		iowrite32be(level, hlwd->regs + HW_GPIOB_INTLVL);
regs              218 drivers/gpio/gpio-hlwd.c 	hlwd->regs = devm_platform_ioremap_resource(pdev, 0);
regs              219 drivers/gpio/gpio-hlwd.c 	if (IS_ERR(hlwd->regs))
regs              220 drivers/gpio/gpio-hlwd.c 		return PTR_ERR(hlwd->regs);
regs              231 drivers/gpio/gpio-hlwd.c 	iowrite32be(0xffffffff, hlwd->regs + HW_GPIO_OWNER);
regs              234 drivers/gpio/gpio-hlwd.c 			hlwd->regs + HW_GPIOB_IN, hlwd->regs + HW_GPIOB_OUT,
regs              235 drivers/gpio/gpio-hlwd.c 			NULL, hlwd->regs + HW_GPIOB_DIR, NULL,
regs              248 drivers/gpio/gpio-hlwd.c 	iowrite32be(0, hlwd->regs + HW_GPIOB_INTMASK);
regs              249 drivers/gpio/gpio-hlwd.c 	iowrite32be(0xffffffff, hlwd->regs + HW_GPIOB_INTFLAG);
regs               64 drivers/gpio/gpio-ich.c 	const u8 (*regs)[3];
regs              115 drivers/gpio/gpio-ich.c 		data = ICHX_READ(ichx_priv.desc->regs[reg][reg_nr],
regs              122 drivers/gpio/gpio-ich.c 	ICHX_WRITE(data, ichx_priv.desc->regs[reg][reg_nr],
regs              127 drivers/gpio/gpio-ich.c 	tmp = ICHX_READ(ichx_priv.desc->regs[reg][reg_nr],
regs              144 drivers/gpio/gpio-ich.c 	data = ICHX_READ(ichx_priv.desc->regs[reg][reg_nr],
regs              292 drivers/gpio/gpio-ich.c 	.regs = ichx_regs,
regs              313 drivers/gpio/gpio-ich.c 	.regs = ichx_regs,
regs              321 drivers/gpio/gpio-ich.c 	.regs = ichx_regs,
regs              329 drivers/gpio/gpio-ich.c 	.regs = ichx_regs,
regs              337 drivers/gpio/gpio-ich.c 	.regs = ichx_regs,
regs              343 drivers/gpio/gpio-ich.c 	.regs = ichx_regs,
regs              350 drivers/gpio/gpio-ich.c 	.regs = ichx_regs,
regs              360 drivers/gpio/gpio-ich.c 	.regs = avoton_regs,
regs              373 drivers/gpio/gpio-ich.c 	for (i = 0; i < ARRAY_SIZE(ichx_priv.desc->regs[0]); i++) {
regs              377 drivers/gpio/gpio-ich.c 				res_base->start + ichx_priv.desc->regs[0][i],
regs               48 drivers/gpio/gpio-janz-ttl.c 	struct ttl_control_regs __iomem *regs;
regs               86 drivers/gpio/gpio-janz-ttl.c 		port = &mod->regs->porta;
regs               89 drivers/gpio/gpio-janz-ttl.c 		port = &mod->regs->portb;
regs               93 drivers/gpio/gpio-janz-ttl.c 		port = &mod->regs->portc;
regs              110 drivers/gpio/gpio-janz-ttl.c 	iowrite16be(reg, &mod->regs->control);
regs              111 drivers/gpio/gpio-janz-ttl.c 	iowrite16be(val, &mod->regs->control);
regs              117 drivers/gpio/gpio-janz-ttl.c 	iowrite16be(0x0000, &mod->regs->control);
regs              118 drivers/gpio/gpio-janz-ttl.c 	iowrite16be(0x0001, &mod->regs->control);
regs              119 drivers/gpio/gpio-janz-ttl.c 	iowrite16be(0x0000, &mod->regs->control);
regs              132 drivers/gpio/gpio-janz-ttl.c 	iowrite16be(0x0000, &mod->regs->porta);
regs              133 drivers/gpio/gpio-janz-ttl.c 	iowrite16be(0x0000, &mod->regs->portb);
regs              134 drivers/gpio/gpio-janz-ttl.c 	iowrite16be(0x0000, &mod->regs->portc);
regs              161 drivers/gpio/gpio-janz-ttl.c 	mod->regs = devm_platform_ioremap_resource(pdev, 0);
regs              162 drivers/gpio/gpio-janz-ttl.c 	if (IS_ERR(mod->regs))
regs              163 drivers/gpio/gpio-janz-ttl.c 		return PTR_ERR(mod->regs);
regs               38 drivers/gpio/gpio-ml-ioh.c 	struct ioh_reg_comn regs[8];
regs               99 drivers/gpio/gpio-ml-ioh.c 	reg_val = ioread32(&chip->reg->regs[chip->ch].po);
regs              105 drivers/gpio/gpio-ml-ioh.c 	iowrite32(reg_val, &chip->reg->regs[chip->ch].po);
regs              113 drivers/gpio/gpio-ml-ioh.c 	return !!(ioread32(&chip->reg->regs[chip->ch].pi) & (1 << nr));
regs              125 drivers/gpio/gpio-ml-ioh.c 	pm = ioread32(&chip->reg->regs[chip->ch].pm) &
regs              128 drivers/gpio/gpio-ml-ioh.c 	iowrite32(pm, &chip->reg->regs[chip->ch].pm);
regs              130 drivers/gpio/gpio-ml-ioh.c 	reg_val = ioread32(&chip->reg->regs[chip->ch].po);
regs              135 drivers/gpio/gpio-ml-ioh.c 	iowrite32(reg_val, &chip->reg->regs[chip->ch].po);
regs              149 drivers/gpio/gpio-ml-ioh.c 	pm = ioread32(&chip->reg->regs[chip->ch].pm) &
regs              152 drivers/gpio/gpio-ml-ioh.c 	iowrite32(pm, &chip->reg->regs[chip->ch].pm);
regs              168 drivers/gpio/gpio-ml-ioh.c 					ioread32(&chip->reg->regs[chip->ch].po);
regs              170 drivers/gpio/gpio-ml-ioh.c 					ioread32(&chip->reg->regs[chip->ch].pm);
regs              172 drivers/gpio/gpio-ml-ioh.c 				       ioread32(&chip->reg->regs[chip->ch].ien);
regs              174 drivers/gpio/gpio-ml-ioh.c 				     ioread32(&chip->reg->regs[chip->ch].imask);
regs              176 drivers/gpio/gpio-ml-ioh.c 				      ioread32(&chip->reg->regs[chip->ch].im_0);
regs              178 drivers/gpio/gpio-ml-ioh.c 				      ioread32(&chip->reg->regs[chip->ch].im_1);
regs              194 drivers/gpio/gpio-ml-ioh.c 			  &chip->reg->regs[chip->ch].po);
regs              196 drivers/gpio/gpio-ml-ioh.c 			  &chip->reg->regs[chip->ch].pm);
regs              198 drivers/gpio/gpio-ml-ioh.c 			  &chip->reg->regs[chip->ch].ien);
regs              200 drivers/gpio/gpio-ml-ioh.c 			  &chip->reg->regs[chip->ch].imask);
regs              202 drivers/gpio/gpio-ml-ioh.c 			  &chip->reg->regs[chip->ch].im_0);
regs              204 drivers/gpio/gpio-ml-ioh.c 			  &chip->reg->regs[chip->ch].im_1);
regs              250 drivers/gpio/gpio-ml-ioh.c 		im_reg = &chip->reg->regs[chip->ch].im_0;
regs              253 drivers/gpio/gpio-ml-ioh.c 		im_reg = &chip->reg->regs[chip->ch].im_1;
regs              290 drivers/gpio/gpio-ml-ioh.c 	iowrite32(BIT(ch), &chip->reg->regs[chip->ch].iclr);
regs              293 drivers/gpio/gpio-ml-ioh.c 	iowrite32(BIT(ch), &chip->reg->regs[chip->ch].imaskclr);
regs              296 drivers/gpio/gpio-ml-ioh.c 	ien = ioread32(&chip->reg->regs[chip->ch].ien);
regs              297 drivers/gpio/gpio-ml-ioh.c 	iowrite32(ien | BIT(ch), &chip->reg->regs[chip->ch].ien);
regs              310 drivers/gpio/gpio-ml-ioh.c 		  &chip->reg->regs[chip->ch].imaskclr);
regs              319 drivers/gpio/gpio-ml-ioh.c 		  &chip->reg->regs[chip->ch].imask);
regs              330 drivers/gpio/gpio-ml-ioh.c 	ien = ioread32(&chip->reg->regs[chip->ch].ien);
regs              332 drivers/gpio/gpio-ml-ioh.c 	iowrite32(ien, &chip->reg->regs[chip->ch].ien);
regs              344 drivers/gpio/gpio-ml-ioh.c 	ien = ioread32(&chip->reg->regs[chip->ch].ien);
regs              346 drivers/gpio/gpio-ml-ioh.c 	iowrite32(ien, &chip->reg->regs[chip->ch].ien);
regs              358 drivers/gpio/gpio-ml-ioh.c 		reg_val = ioread32(&chip->reg->regs[i].istatus);
regs              365 drivers/gpio/gpio-ml-ioh.c 					  &chip->reg->regs[chip->ch].iclr);
regs               47 drivers/gpio/gpio-mm-lantiq.c 	__raw_writew(chip->shadow, chip->mmchip.regs);
regs               96 drivers/gpio/gpio-mm-lantiq.c 	ltq_ebu_w32(CPHYSADDR(chip->mmchip.regs) | 0x1, LTQ_EBU_ADDRSEL1);
regs               47 drivers/gpio/gpio-mpc5200.c 	struct mpc52xx_gpio_wkup __iomem *regs = mm_gc->regs;
regs               50 drivers/gpio/gpio-mpc5200.c 	ret = (in_8(&regs->wkup_ival) >> (7 - gpio)) & 1;
regs               62 drivers/gpio/gpio-mpc5200.c 	struct mpc52xx_gpio_wkup __iomem *regs = mm_gc->regs;
regs               69 drivers/gpio/gpio-mpc5200.c 	out_8(&regs->wkup_dvo, chip->shadow_dvo);
regs               90 drivers/gpio/gpio-mpc5200.c 	struct mpc52xx_gpio_wkup __iomem *regs = mm_gc->regs;
regs               97 drivers/gpio/gpio-mpc5200.c 	out_8(&regs->wkup_ddr, chip->shadow_ddr);
regs              101 drivers/gpio/gpio-mpc5200.c 	out_8(&regs->wkup_gpioe, chip->shadow_gpioe);
regs              112 drivers/gpio/gpio-mpc5200.c 	struct mpc52xx_gpio_wkup __iomem *regs = mm_gc->regs;
regs              122 drivers/gpio/gpio-mpc5200.c 	out_8(&regs->wkup_ddr, chip->shadow_ddr);
regs              126 drivers/gpio/gpio-mpc5200.c 	out_8(&regs->wkup_gpioe, chip->shadow_gpioe);
regs              138 drivers/gpio/gpio-mpc5200.c 	struct mpc52xx_gpio_wkup __iomem *regs;
regs              160 drivers/gpio/gpio-mpc5200.c 	regs = chip->mmchip.regs;
regs              161 drivers/gpio/gpio-mpc5200.c 	chip->shadow_gpioe = in_8(&regs->wkup_gpioe);
regs              162 drivers/gpio/gpio-mpc5200.c 	chip->shadow_ddr = in_8(&regs->wkup_ddr);
regs              163 drivers/gpio/gpio-mpc5200.c 	chip->shadow_dvo = in_8(&regs->wkup_dvo);
regs              211 drivers/gpio/gpio-mpc5200.c 	struct mpc52xx_gpio __iomem *regs = mm_gc->regs;
regs              214 drivers/gpio/gpio-mpc5200.c 	ret = (in_be32(&regs->simple_ival) >> (31 - gpio)) & 1;
regs              224 drivers/gpio/gpio-mpc5200.c 	struct mpc52xx_gpio __iomem *regs = mm_gc->regs;
regs              230 drivers/gpio/gpio-mpc5200.c 	out_be32(&regs->simple_dvo, chip->shadow_dvo);
regs              251 drivers/gpio/gpio-mpc5200.c 	struct mpc52xx_gpio __iomem *regs = mm_gc->regs;
regs              258 drivers/gpio/gpio-mpc5200.c 	out_be32(&regs->simple_ddr, chip->shadow_ddr);
regs              262 drivers/gpio/gpio-mpc5200.c 	out_be32(&regs->simple_gpioe, chip->shadow_gpioe);
regs              274 drivers/gpio/gpio-mpc5200.c 	struct mpc52xx_gpio __iomem *regs = mm_gc->regs;
regs              284 drivers/gpio/gpio-mpc5200.c 	out_be32(&regs->simple_ddr, chip->shadow_ddr);
regs              288 drivers/gpio/gpio-mpc5200.c 	out_be32(&regs->simple_gpioe, chip->shadow_gpioe);
regs              301 drivers/gpio/gpio-mpc5200.c 	struct mpc52xx_gpio __iomem *regs;
regs              322 drivers/gpio/gpio-mpc5200.c 	regs = chip->mmchip.regs;
regs              323 drivers/gpio/gpio-mpc5200.c 	chip->shadow_gpioe = in_be32(&regs->simple_gpioe);
regs              324 drivers/gpio/gpio-mpc5200.c 	chip->shadow_ddr = in_be32(&regs->simple_ddr);
regs              325 drivers/gpio/gpio-mpc5200.c 	chip->shadow_dvo = in_be32(&regs->simple_dvo);
regs               39 drivers/gpio/gpio-mpc8xxx.c 	void __iomem *regs;
regs               63 drivers/gpio/gpio-mpc8xxx.c 	gc->write_reg(mpc8xxx_gc->regs + GPIO_IBE, 0xffffffff);
regs               91 drivers/gpio/gpio-mpc8xxx.c 	out_mask = gc->read_reg(mpc8xxx_gc->regs + GPIO_DIR);
regs               92 drivers/gpio/gpio-mpc8xxx.c 	val = gc->read_reg(mpc8xxx_gc->regs + GPIO_DAT) & ~out_mask;
regs              137 drivers/gpio/gpio-mpc8xxx.c 	mask = gc->read_reg(mpc8xxx_gc->regs + GPIO_IER)
regs              138 drivers/gpio/gpio-mpc8xxx.c 		& gc->read_reg(mpc8xxx_gc->regs + GPIO_IMR);
regs              154 drivers/gpio/gpio-mpc8xxx.c 	gc->write_reg(mpc8xxx_gc->regs + GPIO_IMR,
regs              155 drivers/gpio/gpio-mpc8xxx.c 		gc->read_reg(mpc8xxx_gc->regs + GPIO_IMR)
regs              169 drivers/gpio/gpio-mpc8xxx.c 	gc->write_reg(mpc8xxx_gc->regs + GPIO_IMR,
regs              170 drivers/gpio/gpio-mpc8xxx.c 		gc->read_reg(mpc8xxx_gc->regs + GPIO_IMR)
regs              181 drivers/gpio/gpio-mpc8xxx.c 	gc->write_reg(mpc8xxx_gc->regs + GPIO_IER,
regs              194 drivers/gpio/gpio-mpc8xxx.c 		gc->write_reg(mpc8xxx_gc->regs + GPIO_ICR,
regs              195 drivers/gpio/gpio-mpc8xxx.c 			gc->read_reg(mpc8xxx_gc->regs + GPIO_ICR)
regs              202 drivers/gpio/gpio-mpc8xxx.c 		gc->write_reg(mpc8xxx_gc->regs + GPIO_ICR,
regs              203 drivers/gpio/gpio-mpc8xxx.c 			gc->read_reg(mpc8xxx_gc->regs + GPIO_ICR)
regs              225 drivers/gpio/gpio-mpc8xxx.c 		reg = mpc8xxx_gc->regs + GPIO_ICR;
regs              228 drivers/gpio/gpio-mpc8xxx.c 		reg = mpc8xxx_gc->regs + GPIO_ICR2;
regs              344 drivers/gpio/gpio-mpc8xxx.c 	mpc8xxx_gc->regs = of_iomap(np, 0);
regs              345 drivers/gpio/gpio-mpc8xxx.c 	if (!mpc8xxx_gc->regs)
regs              353 drivers/gpio/gpio-mpc8xxx.c 				 mpc8xxx_gc->regs + GPIO_DAT,
regs              355 drivers/gpio/gpio-mpc8xxx.c 				 mpc8xxx_gc->regs + GPIO_DIR, NULL,
regs              362 drivers/gpio/gpio-mpc8xxx.c 				 mpc8xxx_gc->regs + GPIO_DAT,
regs              364 drivers/gpio/gpio-mpc8xxx.c 				 mpc8xxx_gc->regs + GPIO_DIR, NULL,
regs              392 drivers/gpio/gpio-mpc8xxx.c 		gc->write_reg(mpc8xxx_gc->regs + GPIO_IBE, 0xffffffff);
regs              411 drivers/gpio/gpio-mpc8xxx.c 	gc->write_reg(mpc8xxx_gc->regs + GPIO_IER, 0xffffffff);
regs              412 drivers/gpio/gpio-mpc8xxx.c 	gc->write_reg(mpc8xxx_gc->regs + GPIO_IMR, 0);
regs              421 drivers/gpio/gpio-mpc8xxx.c 	iounmap(mpc8xxx_gc->regs);
regs              435 drivers/gpio/gpio-mpc8xxx.c 	iounmap(mpc8xxx_gc->regs);
regs              112 drivers/gpio/gpio-mvebu.c 	struct regmap     *regs;
regs              146 drivers/gpio/gpio-mvebu.c 		*map = mvchip->regs;
regs              191 drivers/gpio/gpio-mvebu.c 		*map = mvchip->regs;
regs              196 drivers/gpio/gpio-mvebu.c 		*map = mvchip->regs;
regs              241 drivers/gpio/gpio-mvebu.c 		*map = mvchip->regs;
regs              246 drivers/gpio/gpio-mvebu.c 		*map = mvchip->regs;
regs              303 drivers/gpio/gpio-mvebu.c 	regmap_update_bits(mvchip->regs, GPIO_OUT_OFF + mvchip->offset,
regs              312 drivers/gpio/gpio-mvebu.c 	regmap_read(mvchip->regs, GPIO_IO_CONF_OFF + mvchip->offset, &u);
regs              317 drivers/gpio/gpio-mvebu.c 		regmap_read(mvchip->regs, GPIO_DATA_IN_OFF + mvchip->offset,
regs              319 drivers/gpio/gpio-mvebu.c 		regmap_read(mvchip->regs, GPIO_IN_POL_OFF + mvchip->offset,
regs              323 drivers/gpio/gpio-mvebu.c 		regmap_read(mvchip->regs, GPIO_OUT_OFF + mvchip->offset, &u);
regs              334 drivers/gpio/gpio-mvebu.c 	regmap_update_bits(mvchip->regs, GPIO_BLINK_EN_OFF + mvchip->offset,
regs              351 drivers/gpio/gpio-mvebu.c 	regmap_update_bits(mvchip->regs, GPIO_IO_CONF_OFF + mvchip->offset,
regs              374 drivers/gpio/gpio-mvebu.c 	regmap_update_bits(mvchip->regs, GPIO_IO_CONF_OFF + mvchip->offset,
regs              385 drivers/gpio/gpio-mvebu.c 	regmap_read(mvchip->regs, GPIO_IO_CONF_OFF + mvchip->offset, &u);
regs              499 drivers/gpio/gpio-mvebu.c 	regmap_read(mvchip->regs, GPIO_IO_CONF_OFF + mvchip->offset, &u);
regs              518 drivers/gpio/gpio-mvebu.c 		regmap_update_bits(mvchip->regs,
regs              524 drivers/gpio/gpio-mvebu.c 		regmap_update_bits(mvchip->regs,
regs              531 drivers/gpio/gpio-mvebu.c 		regmap_read(mvchip->regs,
regs              533 drivers/gpio/gpio-mvebu.c 		regmap_read(mvchip->regs,
regs              544 drivers/gpio/gpio-mvebu.c 		regmap_update_bits(mvchip->regs,
regs              565 drivers/gpio/gpio-mvebu.c 	regmap_read(mvchip->regs, GPIO_DATA_IN_OFF + mvchip->offset, &data_in);
regs              585 drivers/gpio/gpio-mvebu.c 			regmap_read(mvchip->regs,
regs              589 drivers/gpio/gpio-mvebu.c 			regmap_write(mvchip->regs,
regs              687 drivers/gpio/gpio-mvebu.c 	regmap_read(mvchip->regs, GPIO_BLINK_EN_OFF + mvchip->offset, &u);
regs              750 drivers/gpio/gpio-mvebu.c 	regmap_read(mvchip->regs, GPIO_BLINK_CNT_SELECT_OFF + mvchip->offset,
regs              762 drivers/gpio/gpio-mvebu.c 	regmap_write(mvchip->regs, GPIO_BLINK_CNT_SELECT_OFF + mvchip->offset,
regs              806 drivers/gpio/gpio-mvebu.c 	regmap_write(mvchip->regs,
regs              850 drivers/gpio/gpio-mvebu.c 	regmap_read(mvchip->regs, GPIO_OUT_OFF + mvchip->offset, &out);
regs              851 drivers/gpio/gpio-mvebu.c 	regmap_read(mvchip->regs, GPIO_IO_CONF_OFF + mvchip->offset, &io_conf);
regs              852 drivers/gpio/gpio-mvebu.c 	regmap_read(mvchip->regs, GPIO_BLINK_EN_OFF + mvchip->offset, &blink);
regs              853 drivers/gpio/gpio-mvebu.c 	regmap_read(mvchip->regs, GPIO_IN_POL_OFF + mvchip->offset, &in_pol);
regs              854 drivers/gpio/gpio-mvebu.c 	regmap_read(mvchip->regs, GPIO_DATA_IN_OFF + mvchip->offset, &data_in);
regs              929 drivers/gpio/gpio-mvebu.c 	regmap_read(mvchip->regs, GPIO_OUT_OFF + mvchip->offset,
regs              931 drivers/gpio/gpio-mvebu.c 	regmap_read(mvchip->regs, GPIO_IO_CONF_OFF + mvchip->offset,
regs              933 drivers/gpio/gpio-mvebu.c 	regmap_read(mvchip->regs, GPIO_BLINK_EN_OFF + mvchip->offset,
regs              935 drivers/gpio/gpio-mvebu.c 	regmap_read(mvchip->regs, GPIO_IN_POL_OFF + mvchip->offset,
regs              941 drivers/gpio/gpio-mvebu.c 		regmap_read(mvchip->regs, GPIO_EDGE_MASK_OFF + mvchip->offset,
regs              943 drivers/gpio/gpio-mvebu.c 		regmap_read(mvchip->regs, GPIO_LEVEL_MASK_OFF + mvchip->offset,
regs              948 drivers/gpio/gpio-mvebu.c 			regmap_read(mvchip->regs,
regs              951 drivers/gpio/gpio-mvebu.c 			regmap_read(mvchip->regs,
regs              958 drivers/gpio/gpio-mvebu.c 			regmap_read(mvchip->regs,
regs              961 drivers/gpio/gpio-mvebu.c 			regmap_read(mvchip->regs,
regs              981 drivers/gpio/gpio-mvebu.c 	regmap_write(mvchip->regs, GPIO_OUT_OFF + mvchip->offset,
regs              983 drivers/gpio/gpio-mvebu.c 	regmap_write(mvchip->regs, GPIO_IO_CONF_OFF + mvchip->offset,
regs              985 drivers/gpio/gpio-mvebu.c 	regmap_write(mvchip->regs, GPIO_BLINK_EN_OFF + mvchip->offset,
regs              987 drivers/gpio/gpio-mvebu.c 	regmap_write(mvchip->regs, GPIO_IN_POL_OFF + mvchip->offset,
regs              993 drivers/gpio/gpio-mvebu.c 		regmap_write(mvchip->regs, GPIO_EDGE_MASK_OFF + mvchip->offset,
regs              995 drivers/gpio/gpio-mvebu.c 		regmap_write(mvchip->regs, GPIO_LEVEL_MASK_OFF + mvchip->offset,
regs             1000 drivers/gpio/gpio-mvebu.c 			regmap_write(mvchip->regs,
regs             1003 drivers/gpio/gpio-mvebu.c 			regmap_write(mvchip->regs,
regs             1010 drivers/gpio/gpio-mvebu.c 			regmap_write(mvchip->regs,
regs             1013 drivers/gpio/gpio-mvebu.c 			regmap_write(mvchip->regs,
regs             1044 drivers/gpio/gpio-mvebu.c 	mvchip->regs = devm_regmap_init_mmio(&pdev->dev, base,
regs             1046 drivers/gpio/gpio-mvebu.c 	if (IS_ERR(mvchip->regs))
regs             1047 drivers/gpio/gpio-mvebu.c 		return PTR_ERR(mvchip->regs);
regs             1077 drivers/gpio/gpio-mvebu.c 	mvchip->regs = syscon_node_to_regmap(pdev->dev.parent->of_node);
regs             1078 drivers/gpio/gpio-mvebu.c 	if (IS_ERR(mvchip->regs))
regs             1079 drivers/gpio/gpio-mvebu.c 		return PTR_ERR(mvchip->regs);
regs             1164 drivers/gpio/gpio-mvebu.c 		regmap_write(mvchip->regs,
regs             1166 drivers/gpio/gpio-mvebu.c 		regmap_write(mvchip->regs,
regs             1168 drivers/gpio/gpio-mvebu.c 		regmap_write(mvchip->regs,
regs             1172 drivers/gpio/gpio-mvebu.c 		regmap_write(mvchip->regs, GPIO_EDGE_CAUSE_OFF, 0);
regs             1174 drivers/gpio/gpio-mvebu.c 			regmap_write(mvchip->regs,
regs             1176 drivers/gpio/gpio-mvebu.c 			regmap_write(mvchip->regs,
regs             1181 drivers/gpio/gpio-mvebu.c 		regmap_write(mvchip->regs, GPIO_EDGE_CAUSE_OFF, 0);
regs             1182 drivers/gpio/gpio-mvebu.c 		regmap_write(mvchip->regs, GPIO_EDGE_MASK_OFF, 0);
regs             1183 drivers/gpio/gpio-mvebu.c 		regmap_write(mvchip->regs, GPIO_LEVEL_MASK_OFF, 0);
regs              363 drivers/gpio/gpio-mxc.c 	ct->regs.ack = GPIO_ISR;
regs              364 drivers/gpio/gpio-mxc.c 	ct->regs.mask = GPIO_IMR;
regs              213 drivers/gpio/gpio-mxs.c 	ct->regs.ack = PINCTRL_IRQSTAT(port) + MXS_CLR;
regs              214 drivers/gpio/gpio-mxs.c 	ct->regs.enable = PINCTRL_PIN2IRQ(port) + MXS_SET;
regs              215 drivers/gpio/gpio-mxs.c 	ct->regs.disable = PINCTRL_PIN2IRQ(port) + MXS_CLR;
regs              225 drivers/gpio/gpio-mxs.c 	ct->regs.ack = PINCTRL_IRQSTAT(port) + MXS_CLR;
regs              226 drivers/gpio/gpio-mxs.c 	ct->regs.enable = PINCTRL_IRQEN(port) + MXS_SET;
regs              227 drivers/gpio/gpio-mxs.c 	ct->regs.disable = PINCTRL_IRQEN(port) + MXS_CLR;
regs               48 drivers/gpio/gpio-omap.c 	const struct omap_gpio_reg_offs *regs;
regs              109 drivers/gpio/gpio-omap.c 	bank->context.oe = omap_gpio_rmw(bank->base + bank->regs->direction,
regs              122 drivers/gpio/gpio-omap.c 		reg += bank->regs->set_dataout;
regs              125 drivers/gpio/gpio-omap.c 		reg += bank->regs->clr_dataout;
regs              136 drivers/gpio/gpio-omap.c 	bank->context.dataout = omap_gpio_rmw(bank->base + bank->regs->dataout,
regs              147 drivers/gpio/gpio-omap.c 			     bank->base + bank->regs->debounce_en);
regs              159 drivers/gpio/gpio-omap.c 		writel_relaxed(0, bank->base + bank->regs->debounce_en);
regs              197 drivers/gpio/gpio-omap.c 	writel_relaxed(debounce, bank->base + bank->regs->debounce);
regs              199 drivers/gpio/gpio-omap.c 	val = omap_gpio_rmw(bank->base + bank->regs->debounce_en, l, enable);
regs              243 drivers/gpio/gpio-omap.c 		     bank->base + bank->regs->debounce_en);
regs              248 drivers/gpio/gpio-omap.c 			     bank->regs->debounce);
regs              276 drivers/gpio/gpio-omap.c 	omap_gpio_rmw(base + bank->regs->leveldetect0, gpio_bit,
regs              278 drivers/gpio/gpio-omap.c 	omap_gpio_rmw(base + bank->regs->leveldetect1, gpio_bit,
regs              286 drivers/gpio/gpio-omap.c 	omap_gpio_rmw(base + bank->regs->risingdetect, gpio_bit,
regs              288 drivers/gpio/gpio-omap.c 	omap_gpio_rmw(base + bank->regs->fallingdetect, gpio_bit,
regs              292 drivers/gpio/gpio-omap.c 			readl_relaxed(bank->base + bank->regs->leveldetect0);
regs              294 drivers/gpio/gpio-omap.c 			readl_relaxed(bank->base + bank->regs->leveldetect1);
regs              296 drivers/gpio/gpio-omap.c 			readl_relaxed(bank->base + bank->regs->risingdetect);
regs              298 drivers/gpio/gpio-omap.c 			readl_relaxed(bank->base + bank->regs->fallingdetect);
regs              304 drivers/gpio/gpio-omap.c 	if (!bank->regs->irqctrl && !omap_gpio_is_off_wakeup_capable(bank, gpio)) {
regs              324 drivers/gpio/gpio-omap.c 	if (IS_ENABLED(CONFIG_ARCH_OMAP1) && bank->regs->irqctrl) {
regs              325 drivers/gpio/gpio-omap.c 		void __iomem *reg = bank->base + bank->regs->irqctrl;
regs              337 drivers/gpio/gpio-omap.c 	if (bank->regs->leveldetect0 && bank->regs->wkup_en) {
regs              339 drivers/gpio/gpio-omap.c 	} else if (bank->regs->irqctrl) {
regs              340 drivers/gpio/gpio-omap.c 		reg += bank->regs->irqctrl;
regs              353 drivers/gpio/gpio-omap.c 	} else if (bank->regs->edgectrl1) {
regs              355 drivers/gpio/gpio-omap.c 			reg += bank->regs->edgectrl2;
regs              357 drivers/gpio/gpio-omap.c 			reg += bank->regs->edgectrl1;
regs              373 drivers/gpio/gpio-omap.c 	if (bank->regs->pinctrl) {
regs              374 drivers/gpio/gpio-omap.c 		void __iomem *reg = bank->base + bank->regs->pinctrl;
regs              380 drivers/gpio/gpio-omap.c 	if (bank->regs->ctrl && !BANK_USED(bank)) {
regs              381 drivers/gpio/gpio-omap.c 		void __iomem *reg = bank->base + bank->regs->ctrl;
regs              394 drivers/gpio/gpio-omap.c 	if (bank->regs->ctrl && !BANK_USED(bank)) {
regs              395 drivers/gpio/gpio-omap.c 		void __iomem *reg = bank->base + bank->regs->ctrl;
regs              408 drivers/gpio/gpio-omap.c 	void __iomem *reg = bank->base + bank->regs->direction;
regs              432 drivers/gpio/gpio-omap.c 	if (!bank->regs->leveldetect0 &&
regs              471 drivers/gpio/gpio-omap.c 	reg += bank->regs->irqstatus;
regs              475 drivers/gpio/gpio-omap.c 	if (bank->regs->irqstatus2) {
regs              476 drivers/gpio/gpio-omap.c 		reg = bank->base + bank->regs->irqstatus2;
regs              496 drivers/gpio/gpio-omap.c 	reg += bank->regs->irqenable;
regs              498 drivers/gpio/gpio-omap.c 	if (bank->regs->irqenable_inv)
regs              510 drivers/gpio/gpio-omap.c 	if (bank->regs->set_irqenable && bank->regs->clr_irqenable) {
regs              512 drivers/gpio/gpio-omap.c 			reg += bank->regs->set_irqenable;
regs              515 drivers/gpio/gpio-omap.c 			reg += bank->regs->clr_irqenable;
regs              521 drivers/gpio/gpio-omap.c 			omap_gpio_rmw(reg + bank->regs->irqenable, gpio_mask,
regs              522 drivers/gpio/gpio-omap.c 				      enable ^ bank->regs->irqenable_inv);
regs              531 drivers/gpio/gpio-omap.c 	if (bank->regs->wkup_en &&
regs              532 drivers/gpio/gpio-omap.c 	    (bank->regs->edgectrl1 || !(bank->non_wakeup_gpios & gpio_mask))) {
regs              534 drivers/gpio/gpio-omap.c 			omap_gpio_rmw(bank->base + bank->regs->wkup_en,
regs              565 drivers/gpio/gpio-omap.c 	isr_reg = bank->base + bank->regs->irqstatus;
regs              700 drivers/gpio/gpio-omap.c 	if (bank->regs->leveldetect0 && bank->regs->wkup_en &&
regs              808 drivers/gpio/gpio-omap.c 	return !!(readl_relaxed(bank->base + bank->regs->direction) &
regs              830 drivers/gpio/gpio-omap.c 		reg = bank->base + bank->regs->datain;
regs              832 drivers/gpio/gpio-omap.c 		reg = bank->base + bank->regs->dataout;
regs              857 drivers/gpio/gpio-omap.c 	direction = readl_relaxed(base + bank->regs->direction);
regs              861 drivers/gpio/gpio-omap.c 		val |= readl_relaxed(base + bank->regs->datain) & m;
regs              865 drivers/gpio/gpio-omap.c 		val |= readl_relaxed(base + bank->regs->dataout) & m;
regs              920 drivers/gpio/gpio-omap.c 	void __iomem *reg = bank->base + bank->regs->dataout;
regs              938 drivers/gpio/gpio-omap.c 	if (called || bank->regs->revision == USHRT_MAX)
regs              941 drivers/gpio/gpio-omap.c 	rev = readw_relaxed(bank->base + bank->regs->revision);
regs              957 drivers/gpio/gpio-omap.c 		writel_relaxed(l, bank->base + bank->regs->irqenable);
regs              961 drivers/gpio/gpio-omap.c 	omap_gpio_rmw(base + bank->regs->irqenable, l,
regs              962 drivers/gpio/gpio-omap.c 		      bank->regs->irqenable_inv);
regs              963 drivers/gpio/gpio-omap.c 	omap_gpio_rmw(base + bank->regs->irqstatus, l,
regs              964 drivers/gpio/gpio-omap.c 		      !bank->regs->irqenable_inv);
regs              965 drivers/gpio/gpio-omap.c 	if (bank->regs->debounce_en)
regs              966 drivers/gpio/gpio-omap.c 		writel_relaxed(0, base + bank->regs->debounce_en);
regs              969 drivers/gpio/gpio-omap.c 	bank->context.oe = readl_relaxed(bank->base + bank->regs->direction);
regs              971 drivers/gpio/gpio-omap.c 	if (bank->regs->ctrl)
regs              972 drivers/gpio/gpio-omap.c 		writel_relaxed(0, base + bank->regs->ctrl);
regs              999 drivers/gpio/gpio-omap.c 		if (bank->regs->wkup_en)
regs             1026 drivers/gpio/gpio-omap.c 	if (bank->is_mpuio && !bank->regs->wkup_en)
regs             1058 drivers/gpio/gpio-omap.c 	const struct omap_gpio_reg_offs *regs = p->regs;
regs             1061 drivers/gpio/gpio-omap.c 	p->context.ctrl		= readl_relaxed(base + regs->ctrl);
regs             1062 drivers/gpio/gpio-omap.c 	p->context.oe		= readl_relaxed(base + regs->direction);
regs             1063 drivers/gpio/gpio-omap.c 	p->context.wake_en	= readl_relaxed(base + regs->wkup_en);
regs             1064 drivers/gpio/gpio-omap.c 	p->context.leveldetect0	= readl_relaxed(base + regs->leveldetect0);
regs             1065 drivers/gpio/gpio-omap.c 	p->context.leveldetect1	= readl_relaxed(base + regs->leveldetect1);
regs             1066 drivers/gpio/gpio-omap.c 	p->context.risingdetect	= readl_relaxed(base + regs->risingdetect);
regs             1067 drivers/gpio/gpio-omap.c 	p->context.fallingdetect = readl_relaxed(base + regs->fallingdetect);
regs             1068 drivers/gpio/gpio-omap.c 	p->context.irqenable1	= readl_relaxed(base + regs->irqenable);
regs             1069 drivers/gpio/gpio-omap.c 	p->context.irqenable2	= readl_relaxed(base + regs->irqenable2);
regs             1070 drivers/gpio/gpio-omap.c 	p->context.dataout	= readl_relaxed(base + regs->dataout);
regs             1077 drivers/gpio/gpio-omap.c 	const struct omap_gpio_reg_offs *regs = bank->regs;
regs             1080 drivers/gpio/gpio-omap.c 	writel_relaxed(bank->context.wake_en, base + regs->wkup_en);
regs             1081 drivers/gpio/gpio-omap.c 	writel_relaxed(bank->context.ctrl, base + regs->ctrl);
regs             1082 drivers/gpio/gpio-omap.c 	writel_relaxed(bank->context.leveldetect0, base + regs->leveldetect0);
regs             1083 drivers/gpio/gpio-omap.c 	writel_relaxed(bank->context.leveldetect1, base + regs->leveldetect1);
regs             1084 drivers/gpio/gpio-omap.c 	writel_relaxed(bank->context.risingdetect, base + regs->risingdetect);
regs             1085 drivers/gpio/gpio-omap.c 	writel_relaxed(bank->context.fallingdetect, base + regs->fallingdetect);
regs             1086 drivers/gpio/gpio-omap.c 	writel_relaxed(bank->context.dataout, base + regs->dataout);
regs             1087 drivers/gpio/gpio-omap.c 	writel_relaxed(bank->context.oe, base + regs->direction);
regs             1090 drivers/gpio/gpio-omap.c 		writel_relaxed(bank->context.debounce, base + regs->debounce);
regs             1092 drivers/gpio/gpio-omap.c 			       base + regs->debounce_en);
regs             1095 drivers/gpio/gpio-omap.c 	writel_relaxed(bank->context.irqenable1, base + regs->irqenable);
regs             1096 drivers/gpio/gpio-omap.c 	writel_relaxed(bank->context.irqenable2, base + regs->irqenable2);
regs             1105 drivers/gpio/gpio-omap.c 	bank->saved_datain = readl_relaxed(base + bank->regs->datain);
regs             1130 drivers/gpio/gpio-omap.c 		omap_gpio_rmw(base + bank->regs->fallingdetect, nowake, ~nowake);
regs             1131 drivers/gpio/gpio-omap.c 		omap_gpio_rmw(base + bank->regs->risingdetect, nowake, ~nowake);
regs             1177 drivers/gpio/gpio-omap.c 			       bank->base + bank->regs->fallingdetect);
regs             1179 drivers/gpio/gpio-omap.c 			       bank->base + bank->regs->risingdetect);
regs             1182 drivers/gpio/gpio-omap.c 	l = readl_relaxed(bank->base + bank->regs->datain);
regs             1212 drivers/gpio/gpio-omap.c 		old0 = readl_relaxed(bank->base + bank->regs->leveldetect0);
regs             1213 drivers/gpio/gpio-omap.c 		old1 = readl_relaxed(bank->base + bank->regs->leveldetect1);
regs             1215 drivers/gpio/gpio-omap.c 		if (!bank->regs->irqstatus_raw0) {
regs             1217 drivers/gpio/gpio-omap.c 						bank->regs->leveldetect0);
regs             1219 drivers/gpio/gpio-omap.c 						bank->regs->leveldetect1);
regs             1222 drivers/gpio/gpio-omap.c 		if (bank->regs->irqstatus_raw0) {
regs             1224 drivers/gpio/gpio-omap.c 						bank->regs->leveldetect0);
regs             1226 drivers/gpio/gpio-omap.c 						bank->regs->leveldetect1);
regs             1228 drivers/gpio/gpio-omap.c 		writel_relaxed(old0, bank->base + bank->regs->leveldetect0);
regs             1229 drivers/gpio/gpio-omap.c 		writel_relaxed(old1, bank->base + bank->regs->leveldetect1);
regs             1309 drivers/gpio/gpio-omap.c 	.regs = &omap2_gpio_regs,
regs             1315 drivers/gpio/gpio-omap.c 	.regs = &omap2_gpio_regs,
regs             1321 drivers/gpio/gpio-omap.c 	.regs = &omap4_gpio_regs,
regs             1397 drivers/gpio/gpio-omap.c 	bank->regs = pdata->regs;
regs             1413 drivers/gpio/gpio-omap.c 	if (bank->regs->set_dataout && bank->regs->clr_dataout)
regs              163 drivers/gpio/gpio-pca953x.c 	const struct pca953x_reg_config *regs;
regs              367 drivers/gpio/gpio-pca953x.c 	u8 dirreg = pca953x_recalc_addr(chip, chip->regs->direction, off,
regs              382 drivers/gpio/gpio-pca953x.c 	u8 dirreg = pca953x_recalc_addr(chip, chip->regs->direction, off,
regs              384 drivers/gpio/gpio-pca953x.c 	u8 outreg = pca953x_recalc_addr(chip, chip->regs->output, off,
regs              405 drivers/gpio/gpio-pca953x.c 	u8 inreg = pca953x_recalc_addr(chip, chip->regs->input, off,
regs              428 drivers/gpio/gpio-pca953x.c 	u8 outreg = pca953x_recalc_addr(chip, chip->regs->output, off,
regs              440 drivers/gpio/gpio-pca953x.c 	u8 dirreg = pca953x_recalc_addr(chip, chip->regs->direction, off,
regs              465 drivers/gpio/gpio-pca953x.c 	ret = pca953x_read_regs(chip, chip->regs->output, reg_val);
regs              480 drivers/gpio/gpio-pca953x.c 	pca953x_write_regs(chip, chip->regs->output, reg_val);
regs              610 drivers/gpio/gpio-pca953x.c 	pca953x_read_regs(chip, chip->regs->direction, reg_direction);
regs              708 drivers/gpio/gpio-pca953x.c 	ret = pca953x_read_regs(chip, chip->regs->input, cur_stat);
regs              713 drivers/gpio/gpio-pca953x.c 	pca953x_read_regs(chip, chip->regs->direction, reg_direction);
regs              782 drivers/gpio/gpio-pca953x.c 	ret = pca953x_read_regs(chip, chip->regs->input, chip->irq_stat);
regs              791 drivers/gpio/gpio-pca953x.c 	pca953x_read_regs(chip, chip->regs->direction, reg_direction);
regs              848 drivers/gpio/gpio-pca953x.c 	ret = regcache_sync_region(chip->regmap, chip->regs->output,
regs              849 drivers/gpio/gpio-pca953x.c 				   chip->regs->output + NBANK(chip));
regs              853 drivers/gpio/gpio-pca953x.c 	ret = regcache_sync_region(chip->regmap, chip->regs->direction,
regs              854 drivers/gpio/gpio-pca953x.c 				   chip->regs->direction + NBANK(chip));
regs              864 drivers/gpio/gpio-pca953x.c 	ret = pca953x_write_regs(chip, chip->regs->invert, val);
regs              997 drivers/gpio/gpio-pca953x.c 		chip->regs = &pca953x_regs;
regs             1000 drivers/gpio/gpio-pca953x.c 		chip->regs = &pca957x_regs;
regs             1058 drivers/gpio/gpio-pca953x.c 	ret = regcache_sync_region(chip->regmap, chip->regs->direction,
regs             1059 drivers/gpio/gpio-pca953x.c 				   chip->regs->direction + NBANK(chip));
regs             1065 drivers/gpio/gpio-pca953x.c 	ret = regcache_sync_region(chip->regmap, chip->regs->output,
regs             1066 drivers/gpio/gpio-pca953x.c 				   chip->regs->output + NBANK(chip));
regs              161 drivers/gpio/gpio-sodaville.c 	ct->regs.eoi = GPSTR;
regs              162 drivers/gpio/gpio-sodaville.c 	ct->regs.mask = GPIO_INT;
regs               42 drivers/gpio/gpio-sta2x11.c 	struct gsta_regs __iomem	*regs[GSTA_NR_BLOCKS];
regs               56 drivers/gpio/gpio-sta2x11.c 	struct gsta_regs __iomem *regs = chip->regs[nr / GSTA_GPIO_PER_BLOCK];
regs               60 drivers/gpio/gpio-sta2x11.c 		writel(bit, &regs->dats);
regs               62 drivers/gpio/gpio-sta2x11.c 		writel(bit, &regs->datc);
regs               68 drivers/gpio/gpio-sta2x11.c 	struct gsta_regs __iomem *regs = chip->regs[nr / GSTA_GPIO_PER_BLOCK];
regs               71 drivers/gpio/gpio-sta2x11.c 	return !!(readl(&regs->dat) & bit);
regs               78 drivers/gpio/gpio-sta2x11.c 	struct gsta_regs __iomem *regs = chip->regs[nr / GSTA_GPIO_PER_BLOCK];
regs               81 drivers/gpio/gpio-sta2x11.c 	writel(bit, &regs->dirs);
regs               84 drivers/gpio/gpio-sta2x11.c 		writel(bit, &regs->dats);
regs               86 drivers/gpio/gpio-sta2x11.c 		writel(bit, &regs->datc);
regs               93 drivers/gpio/gpio-sta2x11.c 	struct gsta_regs __iomem *regs = chip->regs[nr / GSTA_GPIO_PER_BLOCK];
regs               96 drivers/gpio/gpio-sta2x11.c 	writel(bit, &regs->dirc);
regs              146 drivers/gpio/gpio-sta2x11.c 	struct gsta_regs __iomem *regs = chip->regs[nr / GSTA_GPIO_PER_BLOCK];
regs              159 drivers/gpio/gpio-sta2x11.c 	val = readl(&regs->afsela);
regs              164 drivers/gpio/gpio-sta2x11.c 	writel(val | bit, &regs->afsela);
regs              173 drivers/gpio/gpio-sta2x11.c 		writel(bit, &regs->dirs);
regs              174 drivers/gpio/gpio-sta2x11.c 		writel(bit, &regs->datc);
regs              177 drivers/gpio/gpio-sta2x11.c 		writel(bit, &regs->dirs);
regs              178 drivers/gpio/gpio-sta2x11.c 		writel(bit, &regs->dats);
regs              181 drivers/gpio/gpio-sta2x11.c 		writel(bit, &regs->dirc);
regs              182 drivers/gpio/gpio-sta2x11.c 		val = readl(&regs->pdis) | bit;
regs              183 drivers/gpio/gpio-sta2x11.c 		writel(val, &regs->pdis);
regs              186 drivers/gpio/gpio-sta2x11.c 		writel(bit, &regs->dirc);
regs              187 drivers/gpio/gpio-sta2x11.c 		val = readl(&regs->pdis) & ~bit;
regs              188 drivers/gpio/gpio-sta2x11.c 		writel(val, &regs->pdis);
regs              189 drivers/gpio/gpio-sta2x11.c 		writel(bit, &regs->dats);
regs              192 drivers/gpio/gpio-sta2x11.c 		writel(bit, &regs->dirc);
regs              193 drivers/gpio/gpio-sta2x11.c 		val = readl(&regs->pdis) & ~bit;
regs              194 drivers/gpio/gpio-sta2x11.c 		writel(val, &regs->pdis);
regs              195 drivers/gpio/gpio-sta2x11.c 		writel(bit, &regs->datc);
regs              215 drivers/gpio/gpio-sta2x11.c 	struct gsta_regs __iomem *regs = chip->regs[nr / GSTA_GPIO_PER_BLOCK];
regs              222 drivers/gpio/gpio-sta2x11.c 		val = readl(&regs->rimsc) & ~bit;
regs              223 drivers/gpio/gpio-sta2x11.c 		writel(val, &regs->rimsc);
regs              226 drivers/gpio/gpio-sta2x11.c 		val = readl(&regs->fimsc) & ~bit;
regs              227 drivers/gpio/gpio-sta2x11.c 		writel(val, &regs->fimsc);
regs              238 drivers/gpio/gpio-sta2x11.c 	struct gsta_regs __iomem *regs = chip->regs[nr / GSTA_GPIO_PER_BLOCK];
regs              247 drivers/gpio/gpio-sta2x11.c 	val = readl(&regs->rimsc);
regs              249 drivers/gpio/gpio-sta2x11.c 		writel(val | bit, &regs->rimsc);
regs              251 drivers/gpio/gpio-sta2x11.c 		writel(val & ~bit, &regs->rimsc);
regs              252 drivers/gpio/gpio-sta2x11.c 	val = readl(&regs->rimsc);
regs              254 drivers/gpio/gpio-sta2x11.c 		writel(val | bit, &regs->fimsc);
regs              256 drivers/gpio/gpio-sta2x11.c 		writel(val & ~bit, &regs->fimsc);
regs              282 drivers/gpio/gpio-sta2x11.c 	struct gsta_regs __iomem *regs;
regs              288 drivers/gpio/gpio-sta2x11.c 		regs = chip->regs[i];
regs              290 drivers/gpio/gpio-sta2x11.c 		while ((is = readl(&regs->is))) {
regs              294 drivers/gpio/gpio-sta2x11.c 			writel(1 << nr, &regs->ic);
regs              367 drivers/gpio/gpio-sta2x11.c 		chip->regs[i] = chip->reg_base + i * 4096;
regs              369 drivers/gpio/gpio-sta2x11.c 		writel(0, &chip->regs[i]->rimsc);
regs              370 drivers/gpio/gpio-sta2x11.c 		writel(0, &chip->regs[i]->fimsc);
regs              371 drivers/gpio/gpio-sta2x11.c 		writel(~0, &chip->regs[i]->ic);
regs               37 drivers/gpio/gpio-stmpe.c 	u8 regs[CACHE_NR_REGS][CACHE_NR_BANKS];
regs               45 drivers/gpio/gpio-stmpe.c 	u8 reg = stmpe->regs[STMPE_IDX_GPMR_LSB + (offset / 8)];
regs               61 drivers/gpio/gpio-stmpe.c 	u8 reg = stmpe->regs[which + (offset / 8)];
regs               68 drivers/gpio/gpio-stmpe.c 	if (stmpe->regs[STMPE_IDX_GPSR_LSB] == stmpe->regs[STMPE_IDX_GPCR_LSB])
regs               79 drivers/gpio/gpio-stmpe.c 	u8 reg = stmpe->regs[STMPE_IDX_GPDR_LSB] - (offset / 8);
regs               95 drivers/gpio/gpio-stmpe.c 	u8 reg = stmpe->regs[STMPE_IDX_GPDR_LSB + (offset / 8)];
regs              108 drivers/gpio/gpio-stmpe.c 	u8 reg = stmpe->regs[STMPE_IDX_GPDR_LSB + (offset / 8)];
regs              154 drivers/gpio/gpio-stmpe.c 		stmpe_gpio->regs[REG_RE][regoffset] |= mask;
regs              156 drivers/gpio/gpio-stmpe.c 		stmpe_gpio->regs[REG_RE][regoffset] &= ~mask;
regs              159 drivers/gpio/gpio-stmpe.c 		stmpe_gpio->regs[REG_FE][regoffset] |= mask;
regs              161 drivers/gpio/gpio-stmpe.c 		stmpe_gpio->regs[REG_FE][regoffset] &= ~mask;
regs              199 drivers/gpio/gpio-stmpe.c 		stmpe_reg_read(stmpe, stmpe->regs[STMPE_IDX_GPMR_LSB]);
regs              200 drivers/gpio/gpio-stmpe.c 		stmpe_reg_read(stmpe, stmpe->regs[STMPE_IDX_GPMR_CSB]);
regs              212 drivers/gpio/gpio-stmpe.c 			u8 new = stmpe_gpio->regs[i][j];
regs              218 drivers/gpio/gpio-stmpe.c 			stmpe_reg_write(stmpe, stmpe->regs[regmap[i][j]], new);
regs              233 drivers/gpio/gpio-stmpe.c 	stmpe_gpio->regs[REG_IE][regoffset] &= ~mask;
regs              244 drivers/gpio/gpio-stmpe.c 	stmpe_gpio->regs[REG_IE][regoffset] |= mask;
regs              256 drivers/gpio/gpio-stmpe.c 	u8 dir_reg = stmpe->regs[STMPE_IDX_GPDR_LSB + bank];
regs              303 drivers/gpio/gpio-stmpe.c 			edge_det_reg = stmpe->regs[STMPE_IDX_GPEDR_LSB + bank];
regs              310 drivers/gpio/gpio-stmpe.c 			rise_reg = stmpe->regs[STMPE_IDX_GPRER_LSB + bank];
regs              311 drivers/gpio/gpio-stmpe.c 			fall_reg = stmpe->regs[STMPE_IDX_GPFER_LSB + bank];
regs              324 drivers/gpio/gpio-stmpe.c 			irqen_reg = stmpe->regs[STMPE_IDX_IEGPIOR_LSB + bank];
regs              387 drivers/gpio/gpio-stmpe.c 		statmsbreg = stmpe->regs[STMPE_IDX_ISGPIOR_LSB];
regs              389 drivers/gpio/gpio-stmpe.c 		statmsbreg = stmpe->regs[STMPE_IDX_ISGPIOR_MSB];
regs              398 drivers/gpio/gpio-stmpe.c 		unsigned int enabled = stmpe_gpio->regs[REG_IE][bank];
regs              424 drivers/gpio/gpio-stmpe.c 					stmpe->regs[STMPE_IDX_GPEDR_MSB] + i,
regs              207 drivers/gpio/gpio-tb10x.c 		gc->chip_types[0].regs.ack           = OFFSET_TO_REG_CHANGE;
regs              208 drivers/gpio/gpio-tb10x.c 		gc->chip_types[0].regs.mask          = OFFSET_TO_REG_INT_EN;
regs               33 drivers/gpio/gpio-tc3589x.c 	u8 regs[CACHE_NR_REGS][CACHE_NR_BANKS];
regs              163 drivers/gpio/gpio-tc3589x.c 		tc3589x_gpio->regs[REG_IBE][regoffset] |= mask;
regs              167 drivers/gpio/gpio-tc3589x.c 	tc3589x_gpio->regs[REG_IBE][regoffset] &= ~mask;
regs              170 drivers/gpio/gpio-tc3589x.c 		tc3589x_gpio->regs[REG_IS][regoffset] |= mask;
regs              172 drivers/gpio/gpio-tc3589x.c 		tc3589x_gpio->regs[REG_IS][regoffset] &= ~mask;
regs              175 drivers/gpio/gpio-tc3589x.c 		tc3589x_gpio->regs[REG_IEV][regoffset] |= mask;
regs              177 drivers/gpio/gpio-tc3589x.c 		tc3589x_gpio->regs[REG_IEV][regoffset] &= ~mask;
regs              206 drivers/gpio/gpio-tc3589x.c 			u8 new = tc3589x_gpio->regs[i][j];
regs              227 drivers/gpio/gpio-tc3589x.c 	tc3589x_gpio->regs[REG_IE][regoffset] &= ~mask;
regs              238 drivers/gpio/gpio-tc3589x.c 	tc3589x_gpio->regs[REG_IE][regoffset] |= mask;
regs               87 drivers/gpio/gpio-tegra.c 	void __iomem				*regs;
regs               99 drivers/gpio/gpio-tegra.c 	__raw_writel(val, tgi->regs + reg);
regs              104 drivers/gpio/gpio-tegra.c 	return __raw_readl(tgi->regs + reg);
regs              637 drivers/gpio/gpio-tegra.c 	tgi->regs = devm_platform_ioremap_resource(pdev, 0);
regs              638 drivers/gpio/gpio-tegra.c 	if (IS_ERR(tgi->regs))
regs              639 drivers/gpio/gpio-tegra.c 		return PTR_ERR(tgi->regs);
regs               34 drivers/gpio/gpio-uniphier.c 	void __iomem *regs;
regs               69 drivers/gpio/gpio-uniphier.c 	tmp = readl(priv->regs + reg);
regs               72 drivers/gpio/gpio-uniphier.c 	writel(tmp, priv->regs + reg);
regs              110 drivers/gpio/gpio-uniphier.c 	return !!(readl(priv->regs + reg_offset) & mask);
regs              333 drivers/gpio/gpio-uniphier.c 	writel(0xff, priv->regs + UNIPHIER_GPIO_IRQ_FLT_CYC);
regs              372 drivers/gpio/gpio-uniphier.c 	priv->regs = devm_platform_ioremap_resource(pdev, 0);
regs              373 drivers/gpio/gpio-uniphier.c 	if (IS_ERR(priv->regs))
regs              374 drivers/gpio/gpio-uniphier.c 		return PTR_ERR(priv->regs);
regs              440 drivers/gpio/gpio-uniphier.c 		*val++ = readl(priv->regs + reg + UNIPHIER_GPIO_PORT_DATA);
regs              441 drivers/gpio/gpio-uniphier.c 		*val++ = readl(priv->regs + reg + UNIPHIER_GPIO_PORT_DIR);
regs              444 drivers/gpio/gpio-uniphier.c 	*val++ = readl(priv->regs + UNIPHIER_GPIO_IRQ_EN);
regs              445 drivers/gpio/gpio-uniphier.c 	*val++ = readl(priv->regs + UNIPHIER_GPIO_IRQ_MODE);
regs              446 drivers/gpio/gpio-uniphier.c 	*val++ = readl(priv->regs + UNIPHIER_GPIO_IRQ_FLT_EN);
regs              462 drivers/gpio/gpio-uniphier.c 		writel(*val++, priv->regs + reg + UNIPHIER_GPIO_PORT_DATA);
regs              463 drivers/gpio/gpio-uniphier.c 		writel(*val++, priv->regs + reg + UNIPHIER_GPIO_PORT_DIR);
regs              466 drivers/gpio/gpio-uniphier.c 	writel(*val++, priv->regs + UNIPHIER_GPIO_IRQ_EN);
regs              467 drivers/gpio/gpio-uniphier.c 	writel(*val++, priv->regs + UNIPHIER_GPIO_IRQ_MODE);
regs              468 drivers/gpio/gpio-uniphier.c 	writel(*val++, priv->regs + UNIPHIER_GPIO_IRQ_FLT_EN);
regs               51 drivers/gpio/gpio-xgene-sb.c 	void __iomem		*regs;
regs               93 drivers/gpio/gpio-xgene-sb.c 	xgene_gpio_set_bit(&priv->gc, priv->regs + MPA_GPIO_SEL_LO,
regs               95 drivers/gpio/gpio-xgene-sb.c 	xgene_gpio_set_bit(&priv->gc, priv->regs + MPA_GPIO_INT_LVL,
regs              145 drivers/gpio/gpio-xgene-sb.c 	xgene_gpio_set_bit(&priv->gc, priv->regs + MPA_GPIO_SEL_LO,
regs              157 drivers/gpio/gpio-xgene-sb.c 	xgene_gpio_set_bit(&priv->gc, priv->regs + MPA_GPIO_SEL_LO,
regs              221 drivers/gpio/gpio-xgene-sb.c 	void __iomem *regs;
regs              229 drivers/gpio/gpio-xgene-sb.c 	regs = devm_platform_ioremap_resource(pdev, 0);
regs              230 drivers/gpio/gpio-xgene-sb.c 	if (IS_ERR(regs))
regs              231 drivers/gpio/gpio-xgene-sb.c 		return PTR_ERR(regs);
regs              233 drivers/gpio/gpio-xgene-sb.c 	priv->regs = regs;
regs              246 drivers/gpio/gpio-xgene-sb.c 			regs + MPA_GPIO_IN_ADDR,
regs              247 drivers/gpio/gpio-xgene-sb.c 			regs + MPA_GPIO_OUT_ADDR, NULL,
regs              248 drivers/gpio/gpio-xgene-sb.c 			regs + MPA_GPIO_OE_ADDR, NULL, 0);
regs               44 drivers/gpio/gpio-xilinx.c 	void __iomem *regs;
regs               91 drivers/gpio/gpio-xilinx.c 	val = xgpio_readreg(chip->regs + XGPIO_DATA_OFFSET +
regs              121 drivers/gpio/gpio-xilinx.c 	xgpio_writereg(chip->regs + XGPIO_DATA_OFFSET +
regs              152 drivers/gpio/gpio-xilinx.c 			xgpio_writereg(chip->regs + XGPIO_DATA_OFFSET +
regs              168 drivers/gpio/gpio-xilinx.c 	xgpio_writereg(chip->regs + XGPIO_DATA_OFFSET +
regs              194 drivers/gpio/gpio-xilinx.c 	xgpio_writereg(chip->regs + XGPIO_TRI_OFFSET +
regs              228 drivers/gpio/gpio-xilinx.c 	xgpio_writereg(chip->regs + XGPIO_DATA_OFFSET +
regs              233 drivers/gpio/gpio-xilinx.c 	xgpio_writereg(chip->regs + XGPIO_TRI_OFFSET +
regs              247 drivers/gpio/gpio-xilinx.c 	xgpio_writereg(chip->regs + XGPIO_DATA_OFFSET,	chip->gpio_state[0]);
regs              248 drivers/gpio/gpio-xilinx.c 	xgpio_writereg(chip->regs + XGPIO_TRI_OFFSET, chip->gpio_dir[0]);
regs              253 drivers/gpio/gpio-xilinx.c 	xgpio_writereg(chip->regs + XGPIO_DATA_OFFSET + XGPIO_CHANNEL_OFFSET,
regs              255 drivers/gpio/gpio-xilinx.c 	xgpio_writereg(chip->regs + XGPIO_TRI_OFFSET + XGPIO_CHANNEL_OFFSET,
regs              331 drivers/gpio/gpio-xilinx.c 	chip->regs = devm_platform_ioremap_resource(pdev, 0);
regs              332 drivers/gpio/gpio-xilinx.c 	if (IS_ERR(chip->regs)) {
regs              334 drivers/gpio/gpio-xilinx.c 		return PTR_ERR(chip->regs);
regs               64 drivers/gpio/gpio-zevio.c 	return readl(IOMEM(c->chip.regs + section_offset + port_offset));
regs               71 drivers/gpio/gpio-zevio.c 	writel(val, IOMEM(c->chip.regs + section_offset + port_offset));
regs              728 drivers/gpio/gpiolib-of.c 	mm_gc->regs = of_iomap(np, 0);
regs              729 drivers/gpio/gpiolib-of.c 	if (!mm_gc->regs)
regs              745 drivers/gpio/gpiolib-of.c 	iounmap(mm_gc->regs);
regs              766 drivers/gpio/gpiolib-of.c 	iounmap(mm_gc->regs);
regs              629 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c 		uint32_t *regs;
regs              647 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c 		regs = kmalloc_array(info->read_mmr_reg.count, sizeof(*regs), GFP_KERNEL);
regs              648 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c 		if (!regs)
regs              650 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c 		alloc_size = info->read_mmr_reg.count * sizeof(*regs);
regs              656 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c 						      &regs[i])) {
regs              659 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c 				kfree(regs);
regs              665 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c 		n = copy_to_user(out, regs, min(size, alloc_size));
regs              666 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c 		kfree(regs);
regs              437 drivers/gpu/drm/amd/amdgpu/soc15.c 					     const struct soc15_reg_golden *regs,
regs              445 drivers/gpu/drm/amd/amdgpu/soc15.c 		entry = &regs[i];
regs               51 drivers/gpu/drm/amd/display/dc/bios/bios_parser_helper.c 	(bios->regs->reg)
regs               47 drivers/gpu/drm/amd/display/dc/clk_mgr/dce100/dce_clk_mgr.c 	(clk_mgr->regs->reg)
regs              448 drivers/gpu/drm/amd/display/dc/clk_mgr/dce100/dce_clk_mgr.c 	clk_mgr->regs = &disp_clk_regs;
regs              290 drivers/gpu/drm/amd/display/dc/clk_mgr/dce110/dce110_clk_mgr.c 	clk_mgr->regs = &disp_clk_regs;
regs              235 drivers/gpu/drm/amd/display/dc/clk_mgr/dce112/dce112_clk_mgr.c 	clk_mgr->regs = &disp_clk_regs;
regs               52 drivers/gpu/drm/amd/display/dc/clk_mgr/dcn10/rv1_clk_mgr_clk.c void rv1_dump_clk_registers(struct clk_state_registers *regs, struct clk_bypass *bypass, struct clk_mgr *clk_mgr_base)
regs               56 drivers/gpu/drm/amd/display/dc/clk_mgr/dcn10/rv1_clk_mgr_clk.c 		regs->CLK0_CLK8_CURRENT_CNT = REG_READ(CLK0_CLK8_CURRENT_CNT) / 10; //dcf clk
regs               63 drivers/gpu/drm/amd/display/dc/clk_mgr/dcn10/rv1_clk_mgr_clk.c 		regs->CLK0_CLK8_DS_CNTL = REG_READ(CLK0_CLK8_DS_CNTL) / 10;	//dcf deep sleep divider
regs               65 drivers/gpu/drm/amd/display/dc/clk_mgr/dcn10/rv1_clk_mgr_clk.c 		regs->CLK0_CLK8_ALLOW_DS = REG_READ(CLK0_CLK8_ALLOW_DS); //dcf deep sleep allow
regs               67 drivers/gpu/drm/amd/display/dc/clk_mgr/dcn10/rv1_clk_mgr_clk.c 		regs->CLK0_CLK10_CURRENT_CNT = REG_READ(CLK0_CLK10_CURRENT_CNT) / 10; //dpref clk
regs               73 drivers/gpu/drm/amd/display/dc/clk_mgr/dcn10/rv1_clk_mgr_clk.c 		regs->CLK0_CLK11_CURRENT_CNT = REG_READ(CLK0_CLK11_CURRENT_CNT) / 10; //disp clk
regs               45 drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/dcn20_clk_mgr.c 	(clk_mgr->regs->reg)
regs              436 drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/dcn20_clk_mgr.c 	clk_mgr->regs = &clk_mgr_regs;
regs              150 drivers/gpu/drm/amd/display/dc/dc_bios_types.h 	const struct bios_registers *regs;
regs               41 drivers/gpu/drm/amd/display/dc/dce/dce_abm.c 	(abm_dce->regs->reg)
regs              452 drivers/gpu/drm/amd/display/dc/dce/dce_abm.c 	const struct dce_abm_registers *regs,
regs              466 drivers/gpu/drm/amd/display/dc/dce/dce_abm.c 	abm_dce->regs = regs;
regs              473 drivers/gpu/drm/amd/display/dc/dce/dce_abm.c 	const struct dce_abm_registers *regs,
regs              484 drivers/gpu/drm/amd/display/dc/dce/dce_abm.c 	dce_abm_construct(abm_dce, ctx, regs, abm_shift, abm_mask);
regs              231 drivers/gpu/drm/amd/display/dc/dce/dce_abm.h 	const struct dce_abm_registers *regs;
regs              238 drivers/gpu/drm/amd/display/dc/dce/dce_abm.h 	const struct dce_abm_registers *regs,
regs               42 drivers/gpu/drm/amd/display/dc/dce/dce_audio.c 	(aud->regs->reg)
regs              954 drivers/gpu/drm/amd/display/dc/dce/dce_audio.c 	audio->regs = reg;
regs              126 drivers/gpu/drm/amd/display/dc/dce/dce_audio.h 	const struct dce_audio_registers *regs;
regs               38 drivers/gpu/drm/amd/display/dc/dce/dce_aux.c 	(aux110->regs->reg_name)
regs              421 drivers/gpu/drm/amd/display/dc/dce/dce_aux.c 		const struct dce110_aux_registers *regs)
regs              429 drivers/gpu/drm/amd/display/dc/dce/dce_aux.c 	aux_engine110->regs = regs;
regs              104 drivers/gpu/drm/amd/display/dc/dce/dce_aux.h 	const struct dce110_aux_registers *regs;
regs              120 drivers/gpu/drm/amd/display/dc/dce/dce_aux.h 	const struct dce110_aux_registers *regs;
regs              128 drivers/gpu/drm/amd/display/dc/dce/dce_aux.h 		const struct dce110_aux_registers *regs);
regs               39 drivers/gpu/drm/amd/display/dc/dce/dce_clk_mgr.c 	(clk_mgr_dce->regs->reg)
regs              810 drivers/gpu/drm/amd/display/dc/dce/dce_clk_mgr.c 	const struct clk_mgr_registers *regs,
regs              820 drivers/gpu/drm/amd/display/dc/dce/dce_clk_mgr.c 	clk_mgr_dce->regs = regs;
regs              843 drivers/gpu/drm/amd/display/dc/dce/dce_clk_mgr.c 	const struct clk_mgr_registers *regs,
regs              859 drivers/gpu/drm/amd/display/dc/dce/dce_clk_mgr.c 		clk_mgr_dce, ctx, regs, clk_shift, clk_mask);
regs              866 drivers/gpu/drm/amd/display/dc/dce/dce_clk_mgr.c 	const struct clk_mgr_registers *regs,
regs              882 drivers/gpu/drm/amd/display/dc/dce/dce_clk_mgr.c 		clk_mgr_dce, ctx, regs, clk_shift, clk_mask);
regs              891 drivers/gpu/drm/amd/display/dc/dce/dce_clk_mgr.c 	const struct clk_mgr_registers *regs,
regs              907 drivers/gpu/drm/amd/display/dc/dce/dce_clk_mgr.c 		clk_mgr_dce, ctx, regs, clk_shift, clk_mask);
regs               43 drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c 	(clk_src->regs->reg)
regs             1315 drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c 	const struct dce110_clk_src_regs *regs,
regs             1327 drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c 	clk_src->regs = regs;
regs             1415 drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c 	const struct dce110_clk_src_regs *regs,
regs             1424 drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c 	clk_src->regs = regs;
regs             1444 drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c 	const struct dce110_clk_src_regs *regs,
regs             1448 drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c 	bool ret = dce112_clk_src_construct(clk_src, ctx, bios, id, regs, cs_shift, cs_mask);
regs              165 drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.h 	const struct dce110_clk_src_regs *regs;
regs              191 drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.h 	const struct dce110_clk_src_regs *regs,
regs              200 drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.h 	const struct dce110_clk_src_regs *regs,
regs              210 drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.h 	const struct dce110_clk_src_regs *regs,
regs               41 drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c 	(dmcu_dce->regs->reg)
regs              824 drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c 	const struct dce_dmcu_registers *regs,
regs              834 drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c 	dmcu_dce->regs = regs;
regs              841 drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c 	const struct dce_dmcu_registers *regs,
regs              853 drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c 		dmcu_dce, ctx, regs, dmcu_shift, dmcu_mask);
regs              863 drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c 	const struct dce_dmcu_registers *regs,
regs              875 drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c 		dmcu_dce, ctx, regs, dmcu_shift, dmcu_mask);
regs              886 drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c 	const struct dce_dmcu_registers *regs,
regs              898 drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c 		dmcu_dce, ctx, regs, dmcu_shift, dmcu_mask);
regs              182 drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.h 	const struct dce_dmcu_registers *regs;
regs              254 drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.h 	const struct dce_dmcu_registers *regs,
regs              260 drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.h 	const struct dce_dmcu_registers *regs,
regs              267 drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.h 	const struct dce_dmcu_registers *regs,
regs               34 drivers/gpu/drm/amd/display/dc/dce/dce_hwseq.c 	hws->regs->reg
regs               37 drivers/gpu/drm/amd/display/dc/dce/dce_i2c_hw.c 	dce_i2c_hw->regs->reg
regs              619 drivers/gpu/drm/amd/display/dc/dce/dce_i2c_hw.c 	const struct dce_i2c_registers *regs,
regs              626 drivers/gpu/drm/amd/display/dc/dce/dce_i2c_hw.c 	dce_i2c_hw->regs = regs;
regs              643 drivers/gpu/drm/amd/display/dc/dce/dce_i2c_hw.c 	const struct dce_i2c_registers *regs,
regs              653 drivers/gpu/drm/amd/display/dc/dce/dce_i2c_hw.c 			regs,
regs              678 drivers/gpu/drm/amd/display/dc/dce/dce_i2c_hw.c 	const struct dce_i2c_registers *regs,
regs              685 drivers/gpu/drm/amd/display/dc/dce/dce_i2c_hw.c 			regs,
regs              695 drivers/gpu/drm/amd/display/dc/dce/dce_i2c_hw.c 	const struct dce_i2c_registers *regs,
regs              702 drivers/gpu/drm/amd/display/dc/dce/dce_i2c_hw.c 			regs,
regs              713 drivers/gpu/drm/amd/display/dc/dce/dce_i2c_hw.c 	const struct dce_i2c_registers *regs,
regs              720 drivers/gpu/drm/amd/display/dc/dce/dce_i2c_hw.c 			regs,
regs              278 drivers/gpu/drm/amd/display/dc/dce/dce_i2c_hw.h 	const struct dce_i2c_registers *regs;
regs              287 drivers/gpu/drm/amd/display/dc/dce/dce_i2c_hw.h 	const struct dce_i2c_registers *regs,
regs              295 drivers/gpu/drm/amd/display/dc/dce/dce_i2c_hw.h 	const struct dce_i2c_registers *regs,
regs              303 drivers/gpu/drm/amd/display/dc/dce/dce_i2c_hw.h 	const struct dce_i2c_registers *regs,
regs              311 drivers/gpu/drm/amd/display/dc/dce/dce_i2c_hw.h 	const struct dce_i2c_registers *regs,
regs              320 drivers/gpu/drm/amd/display/dc/dce/dce_i2c_hw.h 	const struct dce_i2c_registers *regs,
regs               33 drivers/gpu/drm/amd/display/dc/dce/dce_ipp.c 	(ipp_dce->regs->reg)
regs              250 drivers/gpu/drm/amd/display/dc/dce/dce_ipp.c 	const struct dce_ipp_registers *regs,
regs              258 drivers/gpu/drm/amd/display/dc/dce/dce_ipp.c 	ipp_dce->regs = regs;
regs              224 drivers/gpu/drm/amd/display/dc/dce/dce_ipp.h 	const struct dce_ipp_registers *regs;
regs              232 drivers/gpu/drm/amd/display/dc/dce/dce_ipp.h 	const struct dce_ipp_registers *regs,
regs               33 drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.c 	dce_mi->regs->reg
regs              772 drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.c 	const struct dce_mem_input_registers *regs,
regs              781 drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.c 	dce_mi->regs = regs;
regs              790 drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.c 	const struct dce_mem_input_registers *regs,
regs              794 drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.c 	dce_mem_input_construct(dce_mi, ctx, inst, regs, mi_shift, mi_mask);
regs              802 drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.c 	const struct dce_mem_input_registers *regs,
regs              806 drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.c 	dce_mem_input_construct(dce_mi, ctx, inst, regs, mi_shift, mi_mask);
regs              333 drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.h 	const struct dce_mem_input_registers *regs;
regs              344 drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.h 	const struct dce_mem_input_registers *regs,
regs              352 drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.h 	const struct dce_mem_input_registers *regs,
regs              360 drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.h 	const struct dce_mem_input_registers *regs,
regs               36 drivers/gpu/drm/amd/display/dc/dce/dce_opp.c 	(opp110->regs->reg)
regs              547 drivers/gpu/drm/amd/display/dc/dce/dce_opp.c 	const struct dce_opp_registers *regs,
regs              557 drivers/gpu/drm/amd/display/dc/dce/dce_opp.c 	opp110->regs = regs;
regs              270 drivers/gpu/drm/amd/display/dc/dce/dce_opp.h 	const struct dce_opp_registers *regs;
regs              278 drivers/gpu/drm/amd/display/dc/dce/dce_opp.h 	const struct dce_opp_registers *regs,
regs               38 drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c 	(enc110->regs->reg)
regs              526 drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c 	if (enc110->regs->TMDS_CNTL) {
regs              536 drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c 	} else if (enc110->regs->DIG_FE_CNTL) {
regs              579 drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c 	} else if (enc110->regs->DIG_FE_CNTL) {
regs             1659 drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c 	const struct dce110_stream_enc_registers *regs,
regs             1667 drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c 	enc110->regs = regs;
regs              699 drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.h 	const struct dce110_stream_enc_registers *regs;
regs              709 drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.h 	const struct dce110_stream_enc_registers *regs,
regs               33 drivers/gpu/drm/amd/display/dc/dce/dce_transform.c 	(xfm_dce->regs->reg)
regs             1346 drivers/gpu/drm/amd/display/dc/dce/dce_transform.c 	const struct dce_transform_registers *regs,
regs             1355 drivers/gpu/drm/amd/display/dc/dce/dce_transform.c 	xfm_dce->regs = regs;
regs              471 drivers/gpu/drm/amd/display/dc/dce/dce_transform.h 	const struct dce_transform_registers *regs;
regs              488 drivers/gpu/drm/amd/display/dc/dce/dce_transform.h 	const struct dce_transform_registers *regs,
regs              472 drivers/gpu/drm/amd/display/dc/dce100/dce100_resource.c 		hws->regs = &hwseq_reg;
regs              656 drivers/gpu/drm/amd/display/dc/dce100/dce100_resource.c 	const struct dce110_clk_src_regs *regs,
regs              666 drivers/gpu/drm/amd/display/dc/dce100/dce100_resource.c 			regs, &cs_shift, &cs_mask)) {
regs              916 drivers/gpu/drm/amd/display/dc/dce100/dce100_resource.c 	ctx->dc_bios->regs = &bios_regs;
regs               79 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c 	hws->regs->reg
regs              518 drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c 		hws->regs = ASIC_REV_IS_STONEY(ctx->asic_id.hw_internal_rev) ?
regs              702 drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c 	const struct dce110_clk_src_regs *regs,
regs              712 drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c 			regs, &cs_shift, &cs_mask)) {
regs             1280 drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c 	ctx->dc_bios->regs = &bios_regs;
regs              224 drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.c 	addr = tg->regs[IDX_CRTC_STEREO_CONTROL];
regs              492 drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c 		hws->regs = &hwseq_reg;
regs              675 drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c 	const struct dce110_clk_src_regs *regs,
regs              685 drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c 			regs, &cs_shift, &cs_mask)) {
regs             1151 drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c 	ctx->dc_bios->regs = &bios_regs;
regs               43 drivers/gpu/drm/amd/display/dc/dce120/dce120_hw_sequencer.c 	hws->regs->reg
regs              488 drivers/gpu/drm/amd/display/dc/dce120/dce120_resource.c 	const struct dce110_clk_src_regs *regs,
regs              498 drivers/gpu/drm/amd/display/dc/dce120/dce120_resource.c 				     regs, &cs_shift, &cs_mask)) {
regs              739 drivers/gpu/drm/amd/display/dc/dce120/dce120_resource.c 		hws->regs = &hwseq_reg;
regs              753 drivers/gpu/drm/amd/display/dc/dce120/dce120_resource.c 		hws->regs = &dce121_hwseq_reg;
regs              994 drivers/gpu/drm/amd/display/dc/dce120/dce120_resource.c 	ctx->dc_bios->regs = &bios_regs;
regs              584 drivers/gpu/drm/amd/display/dc/dce80/dce80_resource.c 		hws->regs = &hwseq_reg;
regs              689 drivers/gpu/drm/amd/display/dc/dce80/dce80_resource.c 	const struct dce110_clk_src_regs *regs,
regs              699 drivers/gpu/drm/amd/display/dc/dce80/dce80_resource.c 			regs, &cs_shift, &cs_mask)) {
regs              882 drivers/gpu/drm/amd/display/dc/dce80/dce80_resource.c 	ctx->dc_bios->regs = &bios_regs;
regs             1079 drivers/gpu/drm/amd/display/dc/dce80/dce80_resource.c 	ctx->dc_bios->regs = &bios_regs;
regs             1276 drivers/gpu/drm/amd/display/dc/dce80/dce80_resource.c 	ctx->dc_bios->regs = &bios_regs;
regs               38 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubbub.c 	hubbub1->regs->reg
regs              964 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubbub.c 	hubbub1->regs = hubbub_regs;
regs              303 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubbub.h 	const struct dcn_hubbub_registers *regs;
regs               61 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c 	hws->regs->reg
regs               33 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_ipp.c 	(ippn10->regs->reg)
regs               66 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_ipp.c 	const struct dcn10_ipp_registers *regs,
regs               74 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_ipp.c 	ippn10->regs = regs;
regs               84 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_ipp.c 	const struct dcn10_ipp_registers *regs,
regs               92 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_ipp.c 	ippn10->regs = regs;
regs              185 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_ipp.h 	const struct dcn10_ipp_registers *regs;
regs              195 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_ipp.h 	const struct dcn10_ipp_registers *regs,
regs              203 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_ipp.h 	const struct dcn10_ipp_registers *regs,
regs               33 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_opp.c 	(oppn10->regs->reg)
regs              410 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_opp.c 	const struct dcn10_opp_registers *regs,
regs              419 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_opp.c 	oppn10->regs = regs;
regs              149 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_opp.h 	const struct dcn10_opp_registers *regs;
regs              159 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_opp.h 	const struct dcn10_opp_registers *regs,
regs              774 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c 	const struct dce110_clk_src_regs *regs,
regs              784 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c 			regs, &cs_shift, &cs_mask)) {
regs              844 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c 		hws->regs = &hwseq_reg;
regs             1281 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c 	ctx->dc_bios->regs = &bios_regs;
regs               38 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_stream_encoder.c 	(enc1->regs->reg)
regs             1599 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_stream_encoder.c 	const struct dcn10_stream_enc_registers *regs,
regs             1607 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_stream_encoder.c 	enc1->regs = regs;
regs              506 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_stream_encoder.h 	const struct dcn10_stream_enc_registers *regs;
regs              516 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_stream_encoder.h 	const struct dcn10_stream_enc_registers *regs,
regs               36 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dccg.c 	(dccg_dcn->regs->reg)
regs              158 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dccg.c 	const struct dccg_registers *regs,
regs              174 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dccg.c 	dccg_dcn->regs = regs;
regs               95 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dccg.h 	const struct dccg_registers *regs;
regs              110 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dccg.h 	const struct dccg_registers *regs,
regs               32 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubbub.c 	hubbub1->regs->reg
regs               42 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubbub.c 	hubbub1->regs->reg
regs              616 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubbub.c 	hubbub->regs = hubbub_regs;
regs               78 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubbub.h 	const struct dcn_hubbub_registers *regs;
regs               61 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c 	hws->regs->reg
regs               31 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_opp.c 	(oppn20->regs->reg)
regs              342 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_opp.c 	const struct dcn20_opp_registers *regs,
regs              350 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_opp.c 	oppn20->regs = regs;
regs              126 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_opp.h 	const struct dcn20_opp_registers *regs;
regs              136 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_opp.h 	const struct dcn20_opp_registers *regs,
regs             1110 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 		vmid->regs = &vmid_regs[i];
regs             1176 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 	const struct dce110_clk_src_regs *regs,
regs             1186 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 			regs, &cs_shift, &cs_mask)) {
regs             1252 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 		hws->regs = &hwseq_reg;
regs             3446 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 	ctx->dc_bios->regs = &bios_regs;
regs               38 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_stream_encoder.c 	(enc1->regs->reg)
regs              603 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_stream_encoder.c 	const struct dcn10_stream_enc_registers *regs,
regs              611 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_stream_encoder.c 	enc1->regs = regs;
regs               93 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_stream_encoder.h 	const struct dcn10_stream_enc_registers *regs,
regs               32 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_vmid.c 	vmid->regs->reg
regs               83 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_vmid.h 	const struct dcn_vmid_registers *regs;
regs               32 drivers/gpu/drm/amd/display/dc/dcn21/dcn21_hubbub.c 	hubbub1->regs->reg
regs               43 drivers/gpu/drm/amd/display/dc/dcn21/dcn21_hubbub.c 	hubbub1->regs->reg
regs              600 drivers/gpu/drm/amd/display/dc/dcn21/dcn21_hubbub.c 	hubbub->regs = hubbub_regs;
regs             1126 drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c 		const struct dce110_clk_src_regs *regs,
regs             1136 drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c 			regs, &cs_shift, &cs_mask)) {
regs             1184 drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c 		vmid->regs = &vmid_regs[i];
regs             1402 drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c 		hws->regs = &hwseq_reg;
regs             1446 drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c 	ctx->dc_bios->regs = &bios_regs;
regs              124 drivers/gpu/drm/amd/display/dc/gpio/dce110/hw_factory_dce110.c 		ddc->regs = &ddc_data_regs[en];
regs              125 drivers/gpu/drm/amd/display/dc/gpio/dce110/hw_factory_dce110.c 		ddc->base.regs = &ddc_data_regs[en].gpio;
regs              128 drivers/gpu/drm/amd/display/dc/gpio/dce110/hw_factory_dce110.c 		ddc->regs = &ddc_clk_regs[en];
regs              129 drivers/gpu/drm/amd/display/dc/gpio/dce110/hw_factory_dce110.c 		ddc->base.regs = &ddc_clk_regs[en].gpio;
regs              145 drivers/gpu/drm/amd/display/dc/gpio/dce110/hw_factory_dce110.c 	hpd->regs = &hpd_regs[en];
regs              148 drivers/gpu/drm/amd/display/dc/gpio/dce110/hw_factory_dce110.c 	hpd->base.regs = &hpd_regs[en].gpio;
regs              137 drivers/gpu/drm/amd/display/dc/gpio/dce120/hw_factory_dce120.c 		ddc->regs = &ddc_data_regs[en];
regs              138 drivers/gpu/drm/amd/display/dc/gpio/dce120/hw_factory_dce120.c 		ddc->base.regs = &ddc_data_regs[en].gpio;
regs              141 drivers/gpu/drm/amd/display/dc/gpio/dce120/hw_factory_dce120.c 		ddc->regs = &ddc_clk_regs[en];
regs              142 drivers/gpu/drm/amd/display/dc/gpio/dce120/hw_factory_dce120.c 		ddc->base.regs = &ddc_clk_regs[en].gpio;
regs              158 drivers/gpu/drm/amd/display/dc/gpio/dce120/hw_factory_dce120.c 	hpd->regs = &hpd_regs[en];
regs              161 drivers/gpu/drm/amd/display/dc/gpio/dce120/hw_factory_dce120.c 	hpd->base.regs = &hpd_regs[en].gpio;
regs              124 drivers/gpu/drm/amd/display/dc/gpio/dce80/hw_factory_dce80.c 		ddc->regs = &ddc_data_regs[en];
regs              125 drivers/gpu/drm/amd/display/dc/gpio/dce80/hw_factory_dce80.c 		ddc->base.regs = &ddc_data_regs[en].gpio;
regs              128 drivers/gpu/drm/amd/display/dc/gpio/dce80/hw_factory_dce80.c 		ddc->regs = &ddc_clk_regs[en];
regs              129 drivers/gpu/drm/amd/display/dc/gpio/dce80/hw_factory_dce80.c 		ddc->base.regs = &ddc_clk_regs[en].gpio;
regs              145 drivers/gpu/drm/amd/display/dc/gpio/dce80/hw_factory_dce80.c 	hpd->regs = &hpd_regs[en];
regs              148 drivers/gpu/drm/amd/display/dc/gpio/dce80/hw_factory_dce80.c 	hpd->base.regs = &hpd_regs[en].gpio;
regs              155 drivers/gpu/drm/amd/display/dc/gpio/dcn10/hw_factory_dcn10.c 	generic->regs = &generic_regs[en];
regs              158 drivers/gpu/drm/amd/display/dc/gpio/dcn10/hw_factory_dcn10.c 	generic->base.regs = &generic_regs[en].gpio;
regs              169 drivers/gpu/drm/amd/display/dc/gpio/dcn10/hw_factory_dcn10.c 		ddc->regs = &ddc_data_regs[en];
regs              170 drivers/gpu/drm/amd/display/dc/gpio/dcn10/hw_factory_dcn10.c 		ddc->base.regs = &ddc_data_regs[en].gpio;
regs              173 drivers/gpu/drm/amd/display/dc/gpio/dcn10/hw_factory_dcn10.c 		ddc->regs = &ddc_clk_regs[en];
regs              174 drivers/gpu/drm/amd/display/dc/gpio/dcn10/hw_factory_dcn10.c 		ddc->base.regs = &ddc_clk_regs[en].gpio;
regs              190 drivers/gpu/drm/amd/display/dc/gpio/dcn10/hw_factory_dcn10.c 	hpd->regs = &hpd_regs[en];
regs              193 drivers/gpu/drm/amd/display/dc/gpio/dcn10/hw_factory_dcn10.c 	hpd->base.regs = &hpd_regs[en].gpio;
regs              176 drivers/gpu/drm/amd/display/dc/gpio/dcn20/hw_factory_dcn20.c 		ddc->regs = &ddc_data_regs_dcn[en];
regs              177 drivers/gpu/drm/amd/display/dc/gpio/dcn20/hw_factory_dcn20.c 		ddc->base.regs = &ddc_data_regs_dcn[en].gpio;
regs              180 drivers/gpu/drm/amd/display/dc/gpio/dcn20/hw_factory_dcn20.c 		ddc->regs = &ddc_clk_regs_dcn[en];
regs              181 drivers/gpu/drm/amd/display/dc/gpio/dcn20/hw_factory_dcn20.c 		ddc->base.regs = &ddc_clk_regs_dcn[en].gpio;
regs              197 drivers/gpu/drm/amd/display/dc/gpio/dcn20/hw_factory_dcn20.c 	hpd->regs = &hpd_regs[en];
regs              200 drivers/gpu/drm/amd/display/dc/gpio/dcn20/hw_factory_dcn20.c 	hpd->base.regs = &hpd_regs[en].gpio;
regs              207 drivers/gpu/drm/amd/display/dc/gpio/dcn20/hw_factory_dcn20.c 	generic->regs = &generic_regs[en];
regs              210 drivers/gpu/drm/amd/display/dc/gpio/dcn20/hw_factory_dcn20.c 	generic->base.regs = &generic_regs[en].gpio;
regs              164 drivers/gpu/drm/amd/display/dc/gpio/dcn21/hw_factory_dcn21.c 	generic->regs = &generic_regs[en];
regs              167 drivers/gpu/drm/amd/display/dc/gpio/dcn21/hw_factory_dcn21.c 	generic->base.regs = &generic_regs[en].gpio;
regs              178 drivers/gpu/drm/amd/display/dc/gpio/dcn21/hw_factory_dcn21.c 		ddc->regs = &ddc_data_regs_dcn[en];
regs              179 drivers/gpu/drm/amd/display/dc/gpio/dcn21/hw_factory_dcn21.c 		ddc->base.regs = &ddc_data_regs_dcn[en].gpio;
regs              182 drivers/gpu/drm/amd/display/dc/gpio/dcn21/hw_factory_dcn21.c 		ddc->regs = &ddc_clk_regs_dcn[en];
regs              183 drivers/gpu/drm/amd/display/dc/gpio/dcn21/hw_factory_dcn21.c 		ddc->base.regs = &ddc_clk_regs_dcn[en].gpio;
regs              199 drivers/gpu/drm/amd/display/dc/gpio/dcn21/hw_factory_dcn21.c 	hpd->regs = &hpd_regs[en];
regs              202 drivers/gpu/drm/amd/display/dc/gpio/dcn21/hw_factory_dcn21.c 	hpd->base.regs = &hpd_regs[en].gpio;
regs               47 drivers/gpu/drm/amd/display/dc/gpio/hw_ddc.c 	(ddc->regs->reg)
regs              154 drivers/gpu/drm/amd/display/dc/gpio/hw_ddc.c 		if (ddc->regs->dc_gpio_aux_ctrl_5 != 0) {
regs              158 drivers/gpu/drm/amd/display/dc/gpio/hw_ddc.c 		if (ddc->regs->phy_aux_cntl != 0) {
regs              170 drivers/gpu/drm/amd/display/dc/gpio/hw_ddc.c 		if (ddc->regs->dc_gpio_aux_ctrl_5 != 0) {
regs               33 drivers/gpu/drm/amd/display/dc/gpio/hw_ddc.h 	const struct ddc_registers *regs;
regs               45 drivers/gpu/drm/amd/display/dc/gpio/hw_generic.c 	(generic->regs->reg)
regs               34 drivers/gpu/drm/amd/display/dc/gpio/hw_generic.h 	const struct generic_registers *regs;
regs               35 drivers/gpu/drm/amd/display/dc/gpio/hw_gpio.c 	gpio->regs->field_name ## _shift, gpio->regs->field_name ## _mask
regs               40 drivers/gpu/drm/amd/display/dc/gpio/hw_gpio.c 	(gpio->regs->reg)
regs              106 drivers/gpu/drm/amd/display/dc/gpio/hw_gpio.h 	const struct gpio_registers *regs;
regs               45 drivers/gpu/drm/amd/display/dc/gpio/hw_hpd.c 	(hpd->regs->reg)
regs               33 drivers/gpu/drm/amd/display/dc/gpio/hw_hpd.h 	const struct hpd_registers *regs;
regs              206 drivers/gpu/drm/amd/display/dc/inc/hw/clk_mgr_internal.h 	const struct clk_mgr_registers *regs;
regs               60 drivers/gpu/drm/amd/display/dc/inc/hw_sequencer.h 	const struct dce_hwseq_registers *regs;
regs               12 drivers/gpu/drm/arc/arcpgu.h 	void __iomem		*regs;
regs               24 drivers/gpu/drm/arc/arcpgu.h 	iowrite32(value, arcpgu->regs + reg);
regs               30 drivers/gpu/drm/arc/arcpgu.h 	return ioread32(arcpgu->regs + reg);
regs               65 drivers/gpu/drm/arc/arcpgu_drv.c 	arcpgu->regs = devm_ioremap_resource(&pdev->dev, res);
regs               66 drivers/gpu/drm/arc/arcpgu_drv.c 	if (IS_ERR(arcpgu->regs))
regs               67 drivers/gpu/drm/arc/arcpgu_drv.c 		return PTR_ERR(arcpgu->regs);
regs              748 drivers/gpu/drm/arm/malidp_drv.c 	hwdev->regs = devm_ioremap_resource(dev, res);
regs              749 drivers/gpu/drm/arm/malidp_drv.c 	if (IS_ERR(hwdev->regs))
regs              750 drivers/gpu/drm/arm/malidp_drv.c 		return PTR_ERR(hwdev->regs);
regs              231 drivers/gpu/drm/arm/malidp_hw.h 	void __iomem *regs;
regs              259 drivers/gpu/drm/arm/malidp_hw.h 	return readl(hwdev->regs + reg);
regs              266 drivers/gpu/drm/arm/malidp_hw.h 	writel(value, hwdev->regs + reg);
regs               82 drivers/gpu/drm/armada/armada_crtc.c armada_drm_crtc_update_regs(struct armada_crtc *dcrtc, struct armada_regs *regs)
regs               84 drivers/gpu/drm/armada/armada_crtc.c 	while (regs->offset != ~0) {
regs               85 drivers/gpu/drm/armada/armada_crtc.c 		void __iomem *reg = dcrtc->base + regs->offset;
regs               88 drivers/gpu/drm/armada/armada_crtc.c 		val = regs->mask;
regs               91 drivers/gpu/drm/armada/armada_crtc.c 		writel_relaxed(val | regs->val, reg);
regs               92 drivers/gpu/drm/armada/armada_crtc.c 		++regs;
regs              276 drivers/gpu/drm/armada/armada_crtc.c 			armada_drm_crtc_update_regs(dcrtc, dcrtc->regs);
regs              334 drivers/gpu/drm/armada/armada_crtc.c 	struct armada_regs regs[17];
regs              353 drivers/gpu/drm/armada/armada_crtc.c 	armada_reg_queue_set(regs, i, sclk, LCD_CFG_SCLK_DIV);
regs              378 drivers/gpu/drm/armada/armada_crtc.c 	armada_reg_queue_set(regs, i, val, LCD_SPU_V_H_ACTIVE);
regs              379 drivers/gpu/drm/armada/armada_crtc.c 	armada_reg_queue_set(regs, i, (lm << 16) | rm, LCD_SPU_H_PORCH);
regs              380 drivers/gpu/drm/armada/armada_crtc.c 	armada_reg_queue_set(regs, i, dcrtc->v[0].spu_v_porch, LCD_SPU_V_PORCH);
regs              381 drivers/gpu/drm/armada/armada_crtc.c 	armada_reg_queue_set(regs, i, dcrtc->v[0].spu_v_h_total,
regs              385 drivers/gpu/drm/armada/armada_crtc.c 		armada_reg_queue_mod(regs, i, dcrtc->v[0].spu_adv_reg,
regs              390 drivers/gpu/drm/armada/armada_crtc.c 	armada_reg_queue_mod(regs, i, val, CFG_VSYNC_INV, LCD_SPU_DMA_CTRL1);
regs              407 drivers/gpu/drm/armada/armada_crtc.c 	armada_reg_queue_mod(regs, i, val, CFG_INV_CSYNC | CFG_INV_HSYNC |
regs              409 drivers/gpu/drm/armada/armada_crtc.c 	armada_reg_queue_end(regs, i);
regs              411 drivers/gpu/drm/armada/armada_crtc.c 	armada_drm_crtc_update_regs(dcrtc, regs);
regs              440 drivers/gpu/drm/armada/armada_crtc.c 	dcrtc->regs = dcrtc->atomic_regs;
regs              450 drivers/gpu/drm/armada/armada_crtc.c 	armada_reg_queue_end(dcrtc->regs, dcrtc->regs_idx);
regs              464 drivers/gpu/drm/armada/armada_crtc.c 		armada_drm_crtc_update_regs(dcrtc, dcrtc->regs);
regs               68 drivers/gpu/drm/armada/armada_crtc.h 	struct armada_regs	*regs;
regs               73 drivers/gpu/drm/armada/armada_overlay.c 	struct armada_regs *regs;
regs               89 drivers/gpu/drm/armada/armada_overlay.c 	regs = dcrtc->regs + dcrtc->regs_idx;
regs               93 drivers/gpu/drm/armada/armada_overlay.c 		armada_reg_queue_mod(regs, idx,
regs               98 drivers/gpu/drm/armada/armada_overlay.c 		armada_reg_queue_set(regs, idx, val, LCD_SPU_DMA_HPXL_VLN);
regs              101 drivers/gpu/drm/armada/armada_overlay.c 		armada_reg_queue_set(regs, idx, val, LCD_SPU_DMA_OVSA_HPXL_VLN);
regs              104 drivers/gpu/drm/armada/armada_overlay.c 		armada_reg_queue_set(regs, idx, val, LCD_SPU_DZM_HPXL_VLN);
regs              113 drivers/gpu/drm/armada/armada_overlay.c 		armada_reg_queue_set(regs, idx, armada_addr(state, 0, 0),
regs              115 drivers/gpu/drm/armada/armada_overlay.c 		armada_reg_queue_set(regs, idx, armada_addr(state, 0, 1),
regs              117 drivers/gpu/drm/armada/armada_overlay.c 		armada_reg_queue_set(regs, idx, armada_addr(state, 0, 2),
regs              119 drivers/gpu/drm/armada/armada_overlay.c 		armada_reg_queue_set(regs, idx, armada_addr(state, 1, 0),
regs              121 drivers/gpu/drm/armada/armada_overlay.c 		armada_reg_queue_set(regs, idx, armada_addr(state, 1, 1),
regs              123 drivers/gpu/drm/armada/armada_overlay.c 		armada_reg_queue_set(regs, idx, armada_addr(state, 1, 2),
regs              127 drivers/gpu/drm/armada/armada_overlay.c 		armada_reg_queue_set(regs, idx, val, LCD_SPU_DMA_PITCH_YC);
regs              129 drivers/gpu/drm/armada/armada_overlay.c 		armada_reg_queue_set(regs, idx, val, LCD_SPU_DMA_PITCH_UV);
regs              168 drivers/gpu/drm/armada/armada_overlay.c 		armada_reg_queue_mod(regs, idx, cfg, cfg_mask,
regs              174 drivers/gpu/drm/armada/armada_overlay.c 		armada_reg_queue_set(regs, idx, val, LCD_SPU_CONTRAST);
regs              178 drivers/gpu/drm/armada/armada_overlay.c 		armada_reg_queue_set(regs, idx, val, LCD_SPU_SATURATION);
regs              180 drivers/gpu/drm/armada/armada_overlay.c 		armada_reg_queue_set(regs, idx, 0x00002000, LCD_SPU_CBSH_HUE);
regs              184 drivers/gpu/drm/armada/armada_overlay.c 		armada_reg_queue_mod(regs, idx, val, CFG_CSC_MASK,
regs              189 drivers/gpu/drm/armada/armada_overlay.c 		armada_reg_queue_set(regs, idx, val, LCD_SPU_COLORKEY_Y);
regs              193 drivers/gpu/drm/armada/armada_overlay.c 		armada_reg_queue_set(regs, idx, val, LCD_SPU_COLORKEY_U);
regs              197 drivers/gpu/drm/armada/armada_overlay.c 		armada_reg_queue_set(regs, idx, val, LCD_SPU_COLORKEY_V);
regs              201 drivers/gpu/drm/armada/armada_overlay.c 		armada_reg_queue_mod(regs, idx, val, CFG_CKMODE_MASK |
regs              208 drivers/gpu/drm/armada/armada_overlay.c 		armada_reg_queue_mod(regs, idx, val, ADV_GRACOLORKEY |
regs              218 drivers/gpu/drm/armada/armada_overlay.c 	struct armada_regs *regs;
regs              232 drivers/gpu/drm/armada/armada_overlay.c 	regs = dcrtc->regs + dcrtc->regs_idx;
regs              235 drivers/gpu/drm/armada/armada_overlay.c 	armada_reg_queue_mod(regs, idx, 0, CFG_DMA_ENA, LCD_SPU_DMA_CTRL0);
regs              236 drivers/gpu/drm/armada/armada_overlay.c 	armada_reg_queue_mod(regs, idx, CFG_PDWN16x66 | CFG_PDWN32x66, 0,
regs              163 drivers/gpu/drm/armada/armada_plane.c 	struct armada_regs *regs;
regs              179 drivers/gpu/drm/armada/armada_plane.c 	regs = dcrtc->regs + dcrtc->regs_idx;
regs              186 drivers/gpu/drm/armada/armada_plane.c 		armada_reg_queue_mod(regs, idx, 0, val, LCD_SPU_SRAM_PARA1);
regs              190 drivers/gpu/drm/armada/armada_plane.c 		armada_reg_queue_set(regs, idx, val, LCD_SPU_GRA_HPXL_VLN);
regs              193 drivers/gpu/drm/armada/armada_plane.c 		armada_reg_queue_set(regs, idx, val, LCD_SPU_GRA_OVSA_HPXL_VLN);
regs              196 drivers/gpu/drm/armada/armada_plane.c 		armada_reg_queue_set(regs, idx, val, LCD_SPU_GZM_HPXL_VLN);
regs              201 drivers/gpu/drm/armada/armada_plane.c 		armada_reg_queue_set(regs, idx, armada_addr(state, 0, 0),
regs              203 drivers/gpu/drm/armada/armada_plane.c 		armada_reg_queue_set(regs, idx, armada_addr(state, 1, 0),
regs              205 drivers/gpu/drm/armada/armada_plane.c 		armada_reg_queue_mod(regs, idx, armada_pitch(state, 0), 0xffff,
regs              238 drivers/gpu/drm/armada/armada_plane.c 		armada_reg_queue_mod(regs, idx, cfg, cfg_mask,
regs              248 drivers/gpu/drm/armada/armada_plane.c 	struct armada_regs *regs;
regs              262 drivers/gpu/drm/armada/armada_plane.c 	regs = dcrtc->regs + dcrtc->regs_idx;
regs              265 drivers/gpu/drm/armada/armada_plane.c 	armada_reg_queue_mod(regs, idx, 0, CFG_GRA_ENA, LCD_SPU_DMA_CTRL0);
regs              266 drivers/gpu/drm/armada/armada_plane.c 	armada_reg_queue_mod(regs, idx, CFG_PDWN256x32 | CFG_PDWN256x24 |
regs               88 drivers/gpu/drm/ast/ast_drv.h 	void __iomem *regs;
regs              137 drivers/gpu/drm/ast/ast_drv.h val = ioread##x(ast->regs + reg); \
regs              158 drivers/gpu/drm/ast/ast_drv.h 	iowrite##x(val, ast->regs + reg);\
regs              440 drivers/gpu/drm/ast/ast_main.c 	ast->regs = pci_iomap(dev->pdev, 1, 0);
regs              441 drivers/gpu/drm/ast/ast_main.c 	if (!ast->regs) {
regs              453 drivers/gpu/drm/ast/ast_main.c 		ast->ioregs = ast->regs + AST_IO_MM_OFFSET;
regs              534 drivers/gpu/drm/ast/ast_main.c 	if (ast->ioregs != ast->regs + AST_IO_MM_OFFSET)
regs              536 drivers/gpu/drm/ast/ast_main.c 	pci_iounmap(dev->pdev, ast->regs);
regs              455 drivers/gpu/drm/bridge/cdns-dsi.c 	void __iomem *regs;
regs              702 drivers/gpu/drm/bridge/cdns-dsi.c 	val = readl(dsi->regs + MCTL_MAIN_DATA_CTL);
regs              705 drivers/gpu/drm/bridge/cdns-dsi.c 	writel(val, dsi->regs + MCTL_MAIN_DATA_CTL);
regs              707 drivers/gpu/drm/bridge/cdns-dsi.c 	val = readl(dsi->regs + MCTL_MAIN_EN) & ~IF_EN(input->id);
regs              708 drivers/gpu/drm/bridge/cdns-dsi.c 	writel(val, dsi->regs + MCTL_MAIN_EN);
regs              723 drivers/gpu/drm/bridge/cdns-dsi.c 	       dsi->regs + MCTL_DPHY_CFG0);
regs              731 drivers/gpu/drm/bridge/cdns-dsi.c 	writel(PLL_LOCKED, dsi->regs + MCTL_MAIN_STS_CLR);
regs              733 drivers/gpu/drm/bridge/cdns-dsi.c 	       dsi->regs + MCTL_DPHY_CFG0);
regs              734 drivers/gpu/drm/bridge/cdns-dsi.c 	WARN_ON_ONCE(readl_poll_timeout(dsi->regs + MCTL_MAIN_STS, status,
regs              739 drivers/gpu/drm/bridge/cdns-dsi.c 	       dsi->regs + MCTL_DPHY_CFG0);
regs              759 drivers/gpu/drm/bridge/cdns-dsi.c 	writel(val, dsi->regs + MCTL_MAIN_PHY_CTL);
regs              765 drivers/gpu/drm/bridge/cdns-dsi.c 	       dsi->regs + MCTL_ULPOUT_TIME);
regs              767 drivers/gpu/drm/bridge/cdns-dsi.c 	writel(LINK_EN, dsi->regs + MCTL_MAIN_DATA_CTL);
regs              773 drivers/gpu/drm/bridge/cdns-dsi.c 	writel(val, dsi->regs + MCTL_MAIN_EN);
regs              803 drivers/gpu/drm/bridge/cdns-dsi.c 	       dsi->regs + VID_HSIZE1);
regs              805 drivers/gpu/drm/bridge/cdns-dsi.c 	       dsi->regs + VID_HSIZE2);
regs              810 drivers/gpu/drm/bridge/cdns-dsi.c 	       dsi->regs + VID_VSIZE1);
regs              811 drivers/gpu/drm/bridge/cdns-dsi.c 	writel(mode->crtc_vdisplay, dsi->regs + VID_VSIZE2);
regs              816 drivers/gpu/drm/bridge/cdns-dsi.c 	writel(BLK_LINE_PULSE_PKT_LEN(tmp), dsi->regs + VID_BLKSIZE2);
regs              819 drivers/gpu/drm/bridge/cdns-dsi.c 		       dsi->regs + VID_VCA_SETTING2);
regs              823 drivers/gpu/drm/bridge/cdns-dsi.c 	writel(BLK_LINE_EVENT_PKT_LEN(tmp), dsi->regs + VID_BLKSIZE1);
regs              826 drivers/gpu/drm/bridge/cdns-dsi.c 		       dsi->regs + VID_VCA_SETTING2);
regs              838 drivers/gpu/drm/bridge/cdns-dsi.c 	       dsi->regs + VID_DPHY_TIME);
regs              859 drivers/gpu/drm/bridge/cdns-dsi.c 	       dsi->regs + MCTL_DPHY_TIMEOUT1);
regs              861 drivers/gpu/drm/bridge/cdns-dsi.c 	writel(LPRX_TIMEOUT(tmp), dsi->regs + MCTL_DPHY_TIMEOUT2);
regs              898 drivers/gpu/drm/bridge/cdns-dsi.c 		writel(tmp, dsi->regs + VID_MAIN_CTL);
regs              901 drivers/gpu/drm/bridge/cdns-dsi.c 	tmp = readl(dsi->regs + MCTL_MAIN_DATA_CTL);
regs              910 drivers/gpu/drm/bridge/cdns-dsi.c 	writel(tmp, dsi->regs + MCTL_MAIN_DATA_CTL);
regs              912 drivers/gpu/drm/bridge/cdns-dsi.c 	tmp = readl(dsi->regs + MCTL_MAIN_EN) | IF_EN(input->id);
regs              913 drivers/gpu/drm/bridge/cdns-dsi.c 	writel(tmp, dsi->regs + MCTL_MAIN_EN);
regs             1009 drivers/gpu/drm/bridge/cdns-dsi.c 	flag = readl(dsi->regs + DIRECT_CMD_STS_FLAG);
regs             1011 drivers/gpu/drm/bridge/cdns-dsi.c 		ctl = readl(dsi->regs + DIRECT_CMD_STS_CTL);
regs             1013 drivers/gpu/drm/bridge/cdns-dsi.c 		writel(ctl, dsi->regs + DIRECT_CMD_STS_CTL);
regs             1079 drivers/gpu/drm/bridge/cdns-dsi.c 	writel(readl(dsi->regs + MCTL_MAIN_DATA_CTL) | ctl,
regs             1080 drivers/gpu/drm/bridge/cdns-dsi.c 	       dsi->regs + MCTL_MAIN_DATA_CTL);
regs             1082 drivers/gpu/drm/bridge/cdns-dsi.c 	writel(cmd, dsi->regs + DIRECT_CMD_MAIN_SETTINGS);
regs             1092 drivers/gpu/drm/bridge/cdns-dsi.c 		writel(val, dsi->regs + DIRECT_CMD_WRDATA);
regs             1096 drivers/gpu/drm/bridge/cdns-dsi.c 	writel(wait, dsi->regs + DIRECT_CMD_STS_CLR);
regs             1097 drivers/gpu/drm/bridge/cdns-dsi.c 	writel(wait, dsi->regs + DIRECT_CMD_STS_CTL);
regs             1099 drivers/gpu/drm/bridge/cdns-dsi.c 	writel(0, dsi->regs + DIRECT_CMD_SEND);
regs             1104 drivers/gpu/drm/bridge/cdns-dsi.c 	sts = readl(dsi->regs + DIRECT_CMD_STS);
regs             1105 drivers/gpu/drm/bridge/cdns-dsi.c 	writel(wait, dsi->regs + DIRECT_CMD_STS_CLR);
regs             1106 drivers/gpu/drm/bridge/cdns-dsi.c 	writel(0, dsi->regs + DIRECT_CMD_STS_CTL);
regs             1108 drivers/gpu/drm/bridge/cdns-dsi.c 	writel(readl(dsi->regs + MCTL_MAIN_DATA_CTL) & ~ctl,
regs             1109 drivers/gpu/drm/bridge/cdns-dsi.c 	       dsi->regs + MCTL_MAIN_DATA_CTL);
regs             1127 drivers/gpu/drm/bridge/cdns-dsi.c 		val = readl(dsi->regs + DIRECT_CMD_RDDATA);
regs             1185 drivers/gpu/drm/bridge/cdns-dsi.c 	dsi->regs = devm_ioremap_resource(&pdev->dev, res);
regs             1186 drivers/gpu/drm/bridge/cdns-dsi.c 	if (IS_ERR(dsi->regs))
regs             1187 drivers/gpu/drm/bridge/cdns-dsi.c 		return PTR_ERR(dsi->regs);
regs             1214 drivers/gpu/drm/bridge/cdns-dsi.c 	val = readl(dsi->regs + ID_REG);
regs             1221 drivers/gpu/drm/bridge/cdns-dsi.c 	val = readl(dsi->regs + IP_CONF);
regs             1226 drivers/gpu/drm/bridge/cdns-dsi.c 	writel(0, dsi->regs + MCTL_MAIN_DATA_CTL);
regs             1227 drivers/gpu/drm/bridge/cdns-dsi.c 	writel(0, dsi->regs + MCTL_MAIN_EN);
regs             1228 drivers/gpu/drm/bridge/cdns-dsi.c 	writel(0, dsi->regs + MCTL_MAIN_PHY_CTL);
regs             1239 drivers/gpu/drm/bridge/cdns-dsi.c 	writel(0, dsi->regs + MCTL_MAIN_STS_CTL);
regs             1240 drivers/gpu/drm/bridge/cdns-dsi.c 	writel(0, dsi->regs + MCTL_DPHY_ERR_CTL1);
regs             1241 drivers/gpu/drm/bridge/cdns-dsi.c 	writel(0, dsi->regs + CMD_MODE_STS_CTL);
regs             1242 drivers/gpu/drm/bridge/cdns-dsi.c 	writel(0, dsi->regs + DIRECT_CMD_STS_CTL);
regs             1243 drivers/gpu/drm/bridge/cdns-dsi.c 	writel(0, dsi->regs + DIRECT_CMD_RD_STS_CTL);
regs             1244 drivers/gpu/drm/bridge/cdns-dsi.c 	writel(0, dsi->regs + VID_MODE_STS_CTL);
regs             1245 drivers/gpu/drm/bridge/cdns-dsi.c 	writel(0, dsi->regs + TVG_STS_CTL);
regs             1246 drivers/gpu/drm/bridge/cdns-dsi.c 	writel(0, dsi->regs + DPI_IRQ_EN);
regs              165 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c 	void __iomem *regs;
regs             2675 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c 		hdmi->regs = devm_ioremap_resource(dev, iores);
regs             2676 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c 		if (IS_ERR(hdmi->regs)) {
regs             2677 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c 			ret = PTR_ERR(hdmi->regs);
regs             2681 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c 		hdmi->regm = devm_regmap_init_mmio(dev, hdmi->regs, reg_config);
regs             2822 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c 		audio.base = hdmi->regs;
regs              280 drivers/gpu/drm/drm_print.c 		namelen = max(namelen, (int)strlen(regset->regs[i].name));
regs              284 drivers/gpu/drm/drm_print.c 			   namelen, regset->regs[i].name,
regs              285 drivers/gpu/drm/drm_print.c 			   readl(regset->base + regset->regs[i].offset));
regs               51 drivers/gpu/drm/exynos/exynos7_drm_decon.c 	void __iomem			*regs;
regs              110 drivers/gpu/drm/exynos/exynos7_drm_decon.c 		u32 val = readl(ctx->regs + WINCON(win));
regs              114 drivers/gpu/drm/exynos/exynos7_drm_decon.c 			writel(val, ctx->regs + WINCON(win));
regs              173 drivers/gpu/drm/exynos/exynos7_drm_decon.c 		writel(val, ctx->regs + VIDTCON0);
regs              176 drivers/gpu/drm/exynos/exynos7_drm_decon.c 		writel(val, ctx->regs + VIDTCON1);
regs              185 drivers/gpu/drm/exynos/exynos7_drm_decon.c 		writel(val, ctx->regs + VIDTCON2);
regs              188 drivers/gpu/drm/exynos/exynos7_drm_decon.c 		writel(val, ctx->regs + VIDTCON3);
regs              194 drivers/gpu/drm/exynos/exynos7_drm_decon.c 	writel(val, ctx->regs + VIDTCON4);
regs              196 drivers/gpu/drm/exynos/exynos7_drm_decon.c 	writel(mode->vdisplay - 1, ctx->regs + LINECNT_OP_THRESHOLD);
regs              203 drivers/gpu/drm/exynos/exynos7_drm_decon.c 	writel(val, ctx->regs + VIDCON0);
regs              208 drivers/gpu/drm/exynos/exynos7_drm_decon.c 		writel(val, ctx->regs + VCLKCON1);
regs              209 drivers/gpu/drm/exynos/exynos7_drm_decon.c 		writel(val, ctx->regs + VCLKCON2);
regs              212 drivers/gpu/drm/exynos/exynos7_drm_decon.c 	val = readl(ctx->regs + DECON_UPDATE);
regs              214 drivers/gpu/drm/exynos/exynos7_drm_decon.c 	writel(val, ctx->regs + DECON_UPDATE);
regs              226 drivers/gpu/drm/exynos/exynos7_drm_decon.c 		val = readl(ctx->regs + VIDINTCON0);
regs              236 drivers/gpu/drm/exynos/exynos7_drm_decon.c 		writel(val, ctx->regs + VIDINTCON0);
regs              251 drivers/gpu/drm/exynos/exynos7_drm_decon.c 		val = readl(ctx->regs + VIDINTCON0);
regs              257 drivers/gpu/drm/exynos/exynos7_drm_decon.c 		writel(val, ctx->regs + VIDINTCON0);
regs              267 drivers/gpu/drm/exynos/exynos7_drm_decon.c 	val = readl(ctx->regs + WINCON(win));
regs              330 drivers/gpu/drm/exynos/exynos7_drm_decon.c 	writel(val, ctx->regs + WINCON(win));
regs              342 drivers/gpu/drm/exynos/exynos7_drm_decon.c 	writel(keycon0, ctx->regs + WKEYCON0_BASE(win));
regs              343 drivers/gpu/drm/exynos/exynos7_drm_decon.c 	writel(keycon1, ctx->regs + WKEYCON1_BASE(win));
regs              359 drivers/gpu/drm/exynos/exynos7_drm_decon.c 	val = readl(ctx->regs + SHADOWCON);
regs              364 drivers/gpu/drm/exynos/exynos7_drm_decon.c 	writel(val, ctx->regs + SHADOWCON);
regs              409 drivers/gpu/drm/exynos/exynos7_drm_decon.c 	writel(val, ctx->regs + VIDW_BUF_START(win));
regs              414 drivers/gpu/drm/exynos/exynos7_drm_decon.c 	writel(fb->width + padding, ctx->regs + VIDW_WHOLE_X(win));
regs              415 drivers/gpu/drm/exynos/exynos7_drm_decon.c 	writel(fb->height, ctx->regs + VIDW_WHOLE_Y(win));
regs              418 drivers/gpu/drm/exynos/exynos7_drm_decon.c 	writel(state->src.x, ctx->regs + VIDW_OFFSET_X(win));
regs              419 drivers/gpu/drm/exynos/exynos7_drm_decon.c 	writel(state->src.y, ctx->regs + VIDW_OFFSET_Y(win));
regs              428 drivers/gpu/drm/exynos/exynos7_drm_decon.c 	writel(val, ctx->regs + VIDOSD_A(win));
regs              439 drivers/gpu/drm/exynos/exynos7_drm_decon.c 	writel(val, ctx->regs + VIDOSD_B(win));
regs              449 drivers/gpu/drm/exynos/exynos7_drm_decon.c 	writel(alpha, ctx->regs + VIDOSD_C(win));
regs              455 drivers/gpu/drm/exynos/exynos7_drm_decon.c 	writel(alpha, ctx->regs + VIDOSD_D(win));
regs              464 drivers/gpu/drm/exynos/exynos7_drm_decon.c 	val = readl(ctx->regs + WINCON(win));
regs              467 drivers/gpu/drm/exynos/exynos7_drm_decon.c 	writel(val, ctx->regs + WINCON(win));
regs              472 drivers/gpu/drm/exynos/exynos7_drm_decon.c 	val = readl(ctx->regs + DECON_UPDATE);
regs              474 drivers/gpu/drm/exynos/exynos7_drm_decon.c 	writel(val, ctx->regs + DECON_UPDATE);
regs              491 drivers/gpu/drm/exynos/exynos7_drm_decon.c 	val = readl(ctx->regs + WINCON(win));
regs              493 drivers/gpu/drm/exynos/exynos7_drm_decon.c 	writel(val, ctx->regs + WINCON(win));
regs              495 drivers/gpu/drm/exynos/exynos7_drm_decon.c 	val = readl(ctx->regs + DECON_UPDATE);
regs              497 drivers/gpu/drm/exynos/exynos7_drm_decon.c 	writel(val, ctx->regs + DECON_UPDATE);
regs              517 drivers/gpu/drm/exynos/exynos7_drm_decon.c 	writel(VIDCON0_SWRESET, ctx->regs + VIDCON0);
regs              522 drivers/gpu/drm/exynos/exynos7_drm_decon.c 	writel(val, ctx->regs + VIDOUTCON0);
regs              524 drivers/gpu/drm/exynos/exynos7_drm_decon.c 	writel(VCLKCON0_CLKVALUP | VCLKCON0_VCLKFREE, ctx->regs + VCLKCON0);
regs              527 drivers/gpu/drm/exynos/exynos7_drm_decon.c 		writel(VIDCON1_VCLK_HOLD, ctx->regs + VIDCON1(0));
regs              588 drivers/gpu/drm/exynos/exynos7_drm_decon.c 	val = readl(ctx->regs + VIDINTCON1);
regs              592 drivers/gpu/drm/exynos/exynos7_drm_decon.c 		writel(clear_bit, ctx->regs + VIDINTCON1);
regs              693 drivers/gpu/drm/exynos/exynos7_drm_decon.c 	ctx->regs = of_iomap(dev->of_node, 0);
regs              694 drivers/gpu/drm/exynos/exynos7_drm_decon.c 	if (!ctx->regs)
regs              763 drivers/gpu/drm/exynos/exynos7_drm_decon.c 	iounmap(ctx->regs);
regs              774 drivers/gpu/drm/exynos/exynos7_drm_decon.c 	iounmap(ctx->regs);
regs              107 drivers/gpu/drm/exynos/exynos_drm_fimc.c 	void __iomem	*regs;
regs              117 drivers/gpu/drm/exynos/exynos_drm_fimc.c 	return readl(ctx->regs + reg);
regs              122 drivers/gpu/drm/exynos/exynos_drm_fimc.c 	writel(val, ctx->regs + reg);
regs              127 drivers/gpu/drm/exynos/exynos_drm_fimc.c 	void __iomem *r = ctx->regs + reg;
regs              134 drivers/gpu/drm/exynos/exynos_drm_fimc.c 	void __iomem *r = ctx->regs + reg;
regs             1325 drivers/gpu/drm/exynos/exynos_drm_fimc.c 	ctx->regs = devm_ioremap_resource(dev, ctx->regs_res);
regs             1326 drivers/gpu/drm/exynos/exynos_drm_fimc.c 	if (IS_ERR(ctx->regs))
regs             1327 drivers/gpu/drm/exynos/exynos_drm_fimc.c 		return PTR_ERR(ctx->regs);
regs              176 drivers/gpu/drm/exynos/exynos_drm_fimd.c 	void __iomem			*regs;
regs              240 drivers/gpu/drm/exynos/exynos_drm_fimd.c 	val = (val & mask) | (readl(ctx->regs + reg) & ~mask);
regs              241 drivers/gpu/drm/exynos/exynos_drm_fimd.c 	writel(val, ctx->regs + reg);
regs              253 drivers/gpu/drm/exynos/exynos_drm_fimd.c 		val = readl(ctx->regs + VIDINTCON0);
regs              270 drivers/gpu/drm/exynos/exynos_drm_fimd.c 		writel(val, ctx->regs + VIDINTCON0);
regs              285 drivers/gpu/drm/exynos/exynos_drm_fimd.c 		val = readl(ctx->regs + VIDINTCON0);
regs              296 drivers/gpu/drm/exynos/exynos_drm_fimd.c 		writel(val, ctx->regs + VIDINTCON0);
regs              322 drivers/gpu/drm/exynos/exynos_drm_fimd.c 	u32 val = readl(ctx->regs + WINCON(win));
regs              329 drivers/gpu/drm/exynos/exynos_drm_fimd.c 	writel(val, ctx->regs + WINCON(win));
regs              336 drivers/gpu/drm/exynos/exynos_drm_fimd.c 	u32 val = readl(ctx->regs + SHADOWCON);
regs              343 drivers/gpu/drm/exynos/exynos_drm_fimd.c 	writel(val, ctx->regs + SHADOWCON);
regs              359 drivers/gpu/drm/exynos/exynos_drm_fimd.c 		u32 val = readl(ctx->regs + WINCON(win));
regs              436 drivers/gpu/drm/exynos/exynos_drm_fimd.c 	void __iomem *timing_base = ctx->regs + ctx->driver_data->timing_base;
regs              459 drivers/gpu/drm/exynos/exynos_drm_fimd.c 	void *timing_base = ctx->regs + driver_data->timing_base;
regs              496 drivers/gpu/drm/exynos/exynos_drm_fimd.c 		writel(vidcon1, ctx->regs + driver_data->timing_base + VIDCON1);
regs              506 drivers/gpu/drm/exynos/exynos_drm_fimd.c 		writel(val, ctx->regs + driver_data->timing_base + VIDTCON0);
regs              516 drivers/gpu/drm/exynos/exynos_drm_fimd.c 		writel(val, ctx->regs + driver_data->timing_base + VIDTCON1);
regs              550 drivers/gpu/drm/exynos/exynos_drm_fimd.c 	writel(val, ctx->regs + driver_data->timing_base + VIDTCON2);
regs              567 drivers/gpu/drm/exynos/exynos_drm_fimd.c 	writel(val, ctx->regs + VIDCON0);
regs              623 drivers/gpu/drm/exynos/exynos_drm_fimd.c 	writel(val, ctx->regs + VIDOSD_C(win));
regs              627 drivers/gpu/drm/exynos/exynos_drm_fimd.c 	writel(val, ctx->regs + VIDWnALPHA0(win));
regs              631 drivers/gpu/drm/exynos/exynos_drm_fimd.c 	writel(val, ctx->regs + VIDWnALPHA1(win));
regs              721 drivers/gpu/drm/exynos/exynos_drm_fimd.c 	writel(keycon0, ctx->regs + WKEYCON0_BASE(win));
regs              722 drivers/gpu/drm/exynos/exynos_drm_fimd.c 	writel(keycon1, ctx->regs + WKEYCON1_BASE(win));
regs              754 drivers/gpu/drm/exynos/exynos_drm_fimd.c 	val = readl(ctx->regs + reg);
regs              759 drivers/gpu/drm/exynos/exynos_drm_fimd.c 	writel(val, ctx->regs + reg);
regs              811 drivers/gpu/drm/exynos/exynos_drm_fimd.c 	writel(val, ctx->regs + VIDWx_BUF_START(win, 0));
regs              816 drivers/gpu/drm/exynos/exynos_drm_fimd.c 	writel(val, ctx->regs + VIDWx_BUF_END(win, 0));
regs              831 drivers/gpu/drm/exynos/exynos_drm_fimd.c 	writel(val, ctx->regs + VIDWx_BUF_SIZE(win, 0));
regs              838 drivers/gpu/drm/exynos/exynos_drm_fimd.c 	writel(val, ctx->regs + VIDOSD_A(win));
regs              850 drivers/gpu/drm/exynos/exynos_drm_fimd.c 	writel(val, ctx->regs + VIDOSD_B(win));
regs              862 drivers/gpu/drm/exynos/exynos_drm_fimd.c 		writel(val, ctx->regs + offset);
regs              936 drivers/gpu/drm/exynos/exynos_drm_fimd.c 	writel(0, ctx->regs + VIDCON0);
regs              946 drivers/gpu/drm/exynos/exynos_drm_fimd.c 	void *timing_base = ctx->regs + driver_data->timing_base;
regs             1006 drivers/gpu/drm/exynos/exynos_drm_fimd.c 	writel(val, ctx->regs + DP_MIE_CLKCON);
regs             1027 drivers/gpu/drm/exynos/exynos_drm_fimd.c 	val = readl(ctx->regs + VIDINTCON1);
regs             1031 drivers/gpu/drm/exynos/exynos_drm_fimd.c 		writel(clear_bit, ctx->regs + VIDINTCON1);
regs             1191 drivers/gpu/drm/exynos/exynos_drm_fimd.c 	ctx->regs = devm_ioremap_resource(dev, res);
regs             1192 drivers/gpu/drm/exynos/exynos_drm_fimd.c 	if (IS_ERR(ctx->regs))
regs             1193 drivers/gpu/drm/exynos/exynos_drm_fimd.c 		return PTR_ERR(ctx->regs);
regs              237 drivers/gpu/drm/exynos/exynos_drm_g2d.c 	void __iomem			*regs;
regs              264 drivers/gpu/drm/exynos/exynos_drm_g2d.c 	writel(G2D_R | G2D_SFRCLEAR, g2d->regs + G2D_SOFT_RESET);
regs              812 drivers/gpu/drm/exynos/exynos_drm_g2d.c 	writel_relaxed(node->dma_addr, g2d->regs + G2D_DMA_SFR_BASE_ADDR);
regs              813 drivers/gpu/drm/exynos/exynos_drm_g2d.c 	writel_relaxed(G2D_DMA_START, g2d->regs + G2D_DMA_COMMAND);
regs              935 drivers/gpu/drm/exynos/exynos_drm_g2d.c 	pending = readl_relaxed(g2d->regs + G2D_INTC_PEND);
regs              937 drivers/gpu/drm/exynos/exynos_drm_g2d.c 		writel_relaxed(pending, g2d->regs + G2D_INTC_PEND);
regs              940 drivers/gpu/drm/exynos/exynos_drm_g2d.c 		u32 cmdlist_no = readl_relaxed(g2d->regs + G2D_DMA_STATUS);
regs              947 drivers/gpu/drm/exynos/exynos_drm_g2d.c 		writel_relaxed(0, g2d->regs + G2D_DMA_HOLD_CMD);
regs              950 drivers/gpu/drm/exynos/exynos_drm_g2d.c 					g2d->regs + G2D_DMA_COMMAND);
regs             1493 drivers/gpu/drm/exynos/exynos_drm_g2d.c 	g2d->regs = devm_ioremap_resource(dev, res);
regs             1494 drivers/gpu/drm/exynos/exynos_drm_g2d.c 	if (IS_ERR(g2d->regs)) {
regs             1495 drivers/gpu/drm/exynos/exynos_drm_g2d.c 		ret = PTR_ERR(g2d->regs);
regs               64 drivers/gpu/drm/exynos/exynos_drm_gsc.c #define gsc_read(offset)		readl(ctx->regs + (offset))
regs               65 drivers/gpu/drm/exynos/exynos_drm_gsc.c #define gsc_write(cfg, offset)	writel(cfg, ctx->regs + (offset))
regs              107 drivers/gpu/drm/exynos/exynos_drm_gsc.c 	void __iomem	*regs;
regs             1271 drivers/gpu/drm/exynos/exynos_drm_gsc.c 	ctx->regs = devm_ioremap_resource(dev, ctx->regs_res);
regs             1272 drivers/gpu/drm/exynos/exynos_drm_gsc.c 	if (IS_ERR(ctx->regs))
regs             1273 drivers/gpu/drm/exynos/exynos_drm_gsc.c 		return PTR_ERR(ctx->regs);
regs               35 drivers/gpu/drm/exynos/exynos_drm_rotator.c #define rot_read(offset)	readl(rot->regs + (offset))
regs               36 drivers/gpu/drm/exynos/exynos_drm_rotator.c #define rot_write(cfg, offset)	writel(cfg, rot->regs + (offset))
regs               61 drivers/gpu/drm/exynos/exynos_drm_rotator.c 	void __iomem	*regs;
regs              291 drivers/gpu/drm/exynos/exynos_drm_rotator.c 	rot->regs = devm_ioremap_resource(dev, regs_res);
regs              292 drivers/gpu/drm/exynos/exynos_drm_rotator.c 	if (IS_ERR(rot->regs))
regs              293 drivers/gpu/drm/exynos/exynos_drm_rotator.c 		return PTR_ERR(rot->regs);
regs               26 drivers/gpu/drm/exynos/exynos_drm_scaler.c #define scaler_read(offset)		readl(scaler->regs + (offset))
regs               27 drivers/gpu/drm/exynos/exynos_drm_scaler.c #define scaler_write(cfg, offset)	writel(cfg, scaler->regs + (offset))
regs               44 drivers/gpu/drm/exynos/exynos_drm_scaler.c 	void __iomem			*regs;
regs              500 drivers/gpu/drm/exynos/exynos_drm_scaler.c 	scaler->regs = devm_ioremap_resource(dev, regs_res);
regs              501 drivers/gpu/drm/exynos/exynos_drm_scaler.c 	if (IS_ERR(scaler->regs))
regs              502 drivers/gpu/drm/exynos/exynos_drm_scaler.c 		return PTR_ERR(scaler->regs);
regs              125 drivers/gpu/drm/exynos/exynos_hdmi.c 	void __iomem			*regs;
regs              675 drivers/gpu/drm/exynos/exynos_hdmi.c 	return readl(hdata->regs + hdmi_map_reg(hdata, reg_id));
regs              681 drivers/gpu/drm/exynos/exynos_hdmi.c 	writel(value, hdata->regs + hdmi_map_reg(hdata, reg_id));
regs              690 drivers/gpu/drm/exynos/exynos_hdmi.c 		writel(val & 0xff, hdata->regs + reg_id);
regs              700 drivers/gpu/drm/exynos/exynos_hdmi.c 		writel(*buf++, hdata->regs + reg_id);
regs              709 drivers/gpu/drm/exynos/exynos_hdmi.c 	old = readl(hdata->regs + reg_id);
regs              711 drivers/gpu/drm/exynos/exynos_hdmi.c 	writel(value, hdata->regs + reg_id);
regs             1972 drivers/gpu/drm/exynos/exynos_hdmi.c 	hdata->regs = devm_ioremap_resource(dev, res);
regs             1973 drivers/gpu/drm/exynos/exynos_hdmi.c 	if (IS_ERR(hdata->regs)) {
regs             1974 drivers/gpu/drm/exynos/exynos_hdmi.c 		ret = PTR_ERR(hdata->regs);
regs               21 drivers/gpu/drm/fsl-dcu/fsl_tcon.c 	regmap_update_bits(tcon->regs, FSL_TCON_CTRL1,
regs               27 drivers/gpu/drm/fsl-dcu/fsl_tcon.c 	regmap_update_bits(tcon->regs, FSL_TCON_CTRL1,
regs               45 drivers/gpu/drm/fsl-dcu/fsl_tcon.c 	void __iomem *regs;
regs               50 drivers/gpu/drm/fsl-dcu/fsl_tcon.c 	regs = devm_ioremap_resource(dev, &res);
regs               51 drivers/gpu/drm/fsl-dcu/fsl_tcon.c 	if (IS_ERR(regs))
regs               52 drivers/gpu/drm/fsl-dcu/fsl_tcon.c 		return PTR_ERR(regs);
regs               54 drivers/gpu/drm/fsl-dcu/fsl_tcon.c 	tcon->regs = devm_regmap_init_mmio(dev, regs,
regs               56 drivers/gpu/drm/fsl-dcu/fsl_tcon.c 	return PTR_ERR_OR_ZERO(tcon->regs);
regs               19 drivers/gpu/drm/fsl-dcu/fsl_tcon.h 	struct regmap		*regs;
regs              258 drivers/gpu/drm/gma500/cdv_device.c 	struct psb_save_area *regs = &dev_priv->regs;
regs              263 drivers/gpu/drm/gma500/cdv_device.c 	pci_read_config_byte(dev->pdev, 0xF4, &regs->cdv.saveLBB);
regs              265 drivers/gpu/drm/gma500/cdv_device.c 	regs->cdv.saveDSPCLK_GATE_D = REG_READ(DSPCLK_GATE_D);
regs              266 drivers/gpu/drm/gma500/cdv_device.c 	regs->cdv.saveRAMCLK_GATE_D = REG_READ(RAMCLK_GATE_D);
regs              268 drivers/gpu/drm/gma500/cdv_device.c 	regs->cdv.saveDSPARB = REG_READ(DSPARB);
regs              269 drivers/gpu/drm/gma500/cdv_device.c 	regs->cdv.saveDSPFW[0] = REG_READ(DSPFW1);
regs              270 drivers/gpu/drm/gma500/cdv_device.c 	regs->cdv.saveDSPFW[1] = REG_READ(DSPFW2);
regs              271 drivers/gpu/drm/gma500/cdv_device.c 	regs->cdv.saveDSPFW[2] = REG_READ(DSPFW3);
regs              272 drivers/gpu/drm/gma500/cdv_device.c 	regs->cdv.saveDSPFW[3] = REG_READ(DSPFW4);
regs              273 drivers/gpu/drm/gma500/cdv_device.c 	regs->cdv.saveDSPFW[4] = REG_READ(DSPFW5);
regs              274 drivers/gpu/drm/gma500/cdv_device.c 	regs->cdv.saveDSPFW[5] = REG_READ(DSPFW6);
regs              276 drivers/gpu/drm/gma500/cdv_device.c 	regs->cdv.saveADPA = REG_READ(ADPA);
regs              278 drivers/gpu/drm/gma500/cdv_device.c 	regs->cdv.savePP_CONTROL = REG_READ(PP_CONTROL);
regs              279 drivers/gpu/drm/gma500/cdv_device.c 	regs->cdv.savePFIT_PGM_RATIOS = REG_READ(PFIT_PGM_RATIOS);
regs              280 drivers/gpu/drm/gma500/cdv_device.c 	regs->saveBLC_PWM_CTL = REG_READ(BLC_PWM_CTL);
regs              281 drivers/gpu/drm/gma500/cdv_device.c 	regs->saveBLC_PWM_CTL2 = REG_READ(BLC_PWM_CTL2);
regs              282 drivers/gpu/drm/gma500/cdv_device.c 	regs->cdv.saveLVDS = REG_READ(LVDS);
regs              284 drivers/gpu/drm/gma500/cdv_device.c 	regs->cdv.savePFIT_CONTROL = REG_READ(PFIT_CONTROL);
regs              286 drivers/gpu/drm/gma500/cdv_device.c 	regs->cdv.savePP_ON_DELAYS = REG_READ(PP_ON_DELAYS);
regs              287 drivers/gpu/drm/gma500/cdv_device.c 	regs->cdv.savePP_OFF_DELAYS = REG_READ(PP_OFF_DELAYS);
regs              288 drivers/gpu/drm/gma500/cdv_device.c 	regs->cdv.savePP_CYCLE = REG_READ(PP_CYCLE);
regs              290 drivers/gpu/drm/gma500/cdv_device.c 	regs->cdv.saveVGACNTRL = REG_READ(VGACNTRL);
regs              292 drivers/gpu/drm/gma500/cdv_device.c 	regs->cdv.saveIER = REG_READ(PSB_INT_ENABLE_R);
regs              293 drivers/gpu/drm/gma500/cdv_device.c 	regs->cdv.saveIMR = REG_READ(PSB_INT_MASK_R);
regs              312 drivers/gpu/drm/gma500/cdv_device.c 	struct psb_save_area *regs = &dev_priv->regs;
regs              316 drivers/gpu/drm/gma500/cdv_device.c 	pci_write_config_byte(dev->pdev, 0xF4, regs->cdv.saveLBB);
regs              318 drivers/gpu/drm/gma500/cdv_device.c 	REG_WRITE(DSPCLK_GATE_D, regs->cdv.saveDSPCLK_GATE_D);
regs              319 drivers/gpu/drm/gma500/cdv_device.c 	REG_WRITE(RAMCLK_GATE_D, regs->cdv.saveRAMCLK_GATE_D);
regs              339 drivers/gpu/drm/gma500/cdv_device.c 	REG_WRITE(DSPFW1, regs->cdv.saveDSPFW[0]);
regs              340 drivers/gpu/drm/gma500/cdv_device.c 	REG_WRITE(DSPFW2, regs->cdv.saveDSPFW[1]);
regs              341 drivers/gpu/drm/gma500/cdv_device.c 	REG_WRITE(DSPFW3, regs->cdv.saveDSPFW[2]);
regs              342 drivers/gpu/drm/gma500/cdv_device.c 	REG_WRITE(DSPFW4, regs->cdv.saveDSPFW[3]);
regs              343 drivers/gpu/drm/gma500/cdv_device.c 	REG_WRITE(DSPFW5, regs->cdv.saveDSPFW[4]);
regs              344 drivers/gpu/drm/gma500/cdv_device.c 	REG_WRITE(DSPFW6, regs->cdv.saveDSPFW[5]);
regs              346 drivers/gpu/drm/gma500/cdv_device.c 	REG_WRITE(DSPARB, regs->cdv.saveDSPARB);
regs              347 drivers/gpu/drm/gma500/cdv_device.c 	REG_WRITE(ADPA, regs->cdv.saveADPA);
regs              349 drivers/gpu/drm/gma500/cdv_device.c 	REG_WRITE(BLC_PWM_CTL2, regs->saveBLC_PWM_CTL2);
regs              350 drivers/gpu/drm/gma500/cdv_device.c 	REG_WRITE(LVDS, regs->cdv.saveLVDS);
regs              351 drivers/gpu/drm/gma500/cdv_device.c 	REG_WRITE(PFIT_CONTROL, regs->cdv.savePFIT_CONTROL);
regs              352 drivers/gpu/drm/gma500/cdv_device.c 	REG_WRITE(PFIT_PGM_RATIOS, regs->cdv.savePFIT_PGM_RATIOS);
regs              353 drivers/gpu/drm/gma500/cdv_device.c 	REG_WRITE(BLC_PWM_CTL, regs->saveBLC_PWM_CTL);
regs              354 drivers/gpu/drm/gma500/cdv_device.c 	REG_WRITE(PP_ON_DELAYS, regs->cdv.savePP_ON_DELAYS);
regs              355 drivers/gpu/drm/gma500/cdv_device.c 	REG_WRITE(PP_OFF_DELAYS, regs->cdv.savePP_OFF_DELAYS);
regs              356 drivers/gpu/drm/gma500/cdv_device.c 	REG_WRITE(PP_CYCLE, regs->cdv.savePP_CYCLE);
regs              357 drivers/gpu/drm/gma500/cdv_device.c 	REG_WRITE(PP_CONTROL, regs->cdv.savePP_CONTROL);
regs              359 drivers/gpu/drm/gma500/cdv_device.c 	REG_WRITE(VGACNTRL, regs->cdv.saveVGACNTRL);
regs              361 drivers/gpu/drm/gma500/cdv_device.c 	REG_WRITE(PSB_INT_ENABLE_R, regs->cdv.saveIER);
regs              362 drivers/gpu/drm/gma500/cdv_device.c 	REG_WRITE(PSB_INT_MASK_R, regs->cdv.saveIMR);
regs              850 drivers/gpu/drm/gma500/cdv_intel_display.c 	struct psb_pipe *p = &dev_priv->regs.pipe[pipe];
regs              868 drivers/gpu/drm/gma500/cdv_intel_display.c 				(dev_priv->regs.psb.saveLVDS & LVDS_PORT_EN);
regs              924 drivers/gpu/drm/gma500/cdv_intel_display.c 	struct psb_pipe *p = &dev_priv->regs.pipe[pipe];
regs               68 drivers/gpu/drm/gma500/cdv_intel_lvds.c 		retval = ((dev_priv->regs.saveBLC_PWM_CTL &
regs              176 drivers/gpu/drm/gma500/cdv_intel_lvds.c 		blc_pwm_ctl = dev_priv->regs.saveBLC_PWM_CTL &
regs              178 drivers/gpu/drm/gma500/cdv_intel_lvds.c 		dev_priv->regs.saveBLC_PWM_CTL = (blc_pwm_ctl |
regs              165 drivers/gpu/drm/gma500/gma_display.c 			dev_priv->regs.pipe[0].palette[i] =
regs              159 drivers/gpu/drm/gma500/mdfld_device.c 	struct medfield_state *regs = &dev_priv->regs.mdfld;
regs              160 drivers/gpu/drm/gma500/mdfld_device.c 	struct psb_pipe *pipe = &dev_priv->regs.pipe[pipenum];
regs              170 drivers/gpu/drm/gma500/mdfld_device.c 		mipi_val = &regs->saveMIPI;
regs              173 drivers/gpu/drm/gma500/mdfld_device.c 		mipi_val = &regs->saveMIPI;
regs              179 drivers/gpu/drm/gma500/mdfld_device.c 		mipi_val = &regs->saveMIPI_C;
regs              211 drivers/gpu/drm/gma500/mdfld_device.c 		regs->savePFIT_CONTROL = PSB_RVDC32(PFIT_CONTROL);
regs              212 drivers/gpu/drm/gma500/mdfld_device.c 		regs->savePFIT_PGM_RATIOS = PSB_RVDC32(PFIT_PGM_RATIOS);
regs              214 drivers/gpu/drm/gma500/mdfld_device.c 		regs->saveHDMIPHYMISCCTL = PSB_RVDC32(HDMIPHYMISCCTL);
regs              215 drivers/gpu/drm/gma500/mdfld_device.c 		regs->saveHDMIB_CONTROL = PSB_RVDC32(HDMIB_CONTROL);
regs              237 drivers/gpu/drm/gma500/mdfld_device.c 	struct medfield_state *regs = &dev_priv->regs.mdfld;
regs              238 drivers/gpu/drm/gma500/mdfld_device.c 	struct psb_pipe *pipe = &dev_priv->regs.pipe[pipenum];
regs              249 drivers/gpu/drm/gma500/mdfld_device.c 	u32 mipi_val = regs->saveMIPI;
regs              261 drivers/gpu/drm/gma500/mdfld_device.c 		mipi_val = regs->saveMIPI_C;
regs              339 drivers/gpu/drm/gma500/mdfld_device.c 		PSB_WVDC32(regs->savePFIT_CONTROL, PFIT_CONTROL);
regs              340 drivers/gpu/drm/gma500/mdfld_device.c 		PSB_WVDC32(regs->savePFIT_PGM_RATIOS, PFIT_PGM_RATIOS);
regs              214 drivers/gpu/drm/gma500/oaktrail.h 	void __iomem *regs;
regs              182 drivers/gpu/drm/gma500/oaktrail_device.c 	struct psb_save_area *regs = &dev_priv->regs;
regs              183 drivers/gpu/drm/gma500/oaktrail_device.c 	struct psb_pipe *p = &regs->pipe[0];
regs              188 drivers/gpu/drm/gma500/oaktrail_device.c 	regs->psb.saveDSPARB = PSB_RVDC32(DSPARB);
regs              189 drivers/gpu/drm/gma500/oaktrail_device.c 	regs->psb.saveDSPFW1 = PSB_RVDC32(DSPFW1);
regs              190 drivers/gpu/drm/gma500/oaktrail_device.c 	regs->psb.saveDSPFW2 = PSB_RVDC32(DSPFW2);
regs              191 drivers/gpu/drm/gma500/oaktrail_device.c 	regs->psb.saveDSPFW3 = PSB_RVDC32(DSPFW3);
regs              192 drivers/gpu/drm/gma500/oaktrail_device.c 	regs->psb.saveDSPFW4 = PSB_RVDC32(DSPFW4);
regs              193 drivers/gpu/drm/gma500/oaktrail_device.c 	regs->psb.saveDSPFW5 = PSB_RVDC32(DSPFW5);
regs              194 drivers/gpu/drm/gma500/oaktrail_device.c 	regs->psb.saveDSPFW6 = PSB_RVDC32(DSPFW6);
regs              195 drivers/gpu/drm/gma500/oaktrail_device.c 	regs->psb.saveCHICKENBIT = PSB_RVDC32(DSPCHICKENBIT);
regs              209 drivers/gpu/drm/gma500/oaktrail_device.c 	regs->psb.saveBCLRPAT_A = PSB_RVDC32(BCLRPAT_A);
regs              218 drivers/gpu/drm/gma500/oaktrail_device.c 	regs->psb.saveDSPACURSOR_CTRL = PSB_RVDC32(CURACNTR);
regs              219 drivers/gpu/drm/gma500/oaktrail_device.c 	regs->psb.saveDSPACURSOR_BASE = PSB_RVDC32(CURABASE);
regs              220 drivers/gpu/drm/gma500/oaktrail_device.c 	regs->psb.saveDSPACURSOR_POS = PSB_RVDC32(CURAPOS);
regs              230 drivers/gpu/drm/gma500/oaktrail_device.c 	regs->psb.savePERF_MODE = PSB_RVDC32(MRST_PERF_MODE);
regs              233 drivers/gpu/drm/gma500/oaktrail_device.c 	regs->psb.savePP_CONTROL = PSB_RVDC32(PP_CONTROL);
regs              234 drivers/gpu/drm/gma500/oaktrail_device.c 	regs->psb.savePFIT_PGM_RATIOS = PSB_RVDC32(PFIT_PGM_RATIOS);
regs              235 drivers/gpu/drm/gma500/oaktrail_device.c 	regs->psb.savePFIT_AUTO_RATIOS = PSB_RVDC32(PFIT_AUTO_RATIOS);
regs              236 drivers/gpu/drm/gma500/oaktrail_device.c 	regs->saveBLC_PWM_CTL = PSB_RVDC32(BLC_PWM_CTL);
regs              237 drivers/gpu/drm/gma500/oaktrail_device.c 	regs->saveBLC_PWM_CTL2 = PSB_RVDC32(BLC_PWM_CTL2);
regs              238 drivers/gpu/drm/gma500/oaktrail_device.c 	regs->psb.saveLVDS = PSB_RVDC32(LVDS);
regs              239 drivers/gpu/drm/gma500/oaktrail_device.c 	regs->psb.savePFIT_CONTROL = PSB_RVDC32(PFIT_CONTROL);
regs              240 drivers/gpu/drm/gma500/oaktrail_device.c 	regs->psb.savePP_ON_DELAYS = PSB_RVDC32(LVDSPP_ON);
regs              241 drivers/gpu/drm/gma500/oaktrail_device.c 	regs->psb.savePP_OFF_DELAYS = PSB_RVDC32(LVDSPP_OFF);
regs              242 drivers/gpu/drm/gma500/oaktrail_device.c 	regs->psb.savePP_DIVISOR = PSB_RVDC32(PP_CYCLE);
regs              245 drivers/gpu/drm/gma500/oaktrail_device.c 	regs->psb.saveOV_OVADD = PSB_RVDC32(OV_OVADD);
regs              246 drivers/gpu/drm/gma500/oaktrail_device.c 	regs->psb.saveOV_OGAMC0 = PSB_RVDC32(OV_OGAMC0);
regs              247 drivers/gpu/drm/gma500/oaktrail_device.c 	regs->psb.saveOV_OGAMC1 = PSB_RVDC32(OV_OGAMC1);
regs              248 drivers/gpu/drm/gma500/oaktrail_device.c 	regs->psb.saveOV_OGAMC2 = PSB_RVDC32(OV_OGAMC2);
regs              249 drivers/gpu/drm/gma500/oaktrail_device.c 	regs->psb.saveOV_OGAMC3 = PSB_RVDC32(OV_OGAMC3);
regs              250 drivers/gpu/drm/gma500/oaktrail_device.c 	regs->psb.saveOV_OGAMC4 = PSB_RVDC32(OV_OGAMC4);
regs              251 drivers/gpu/drm/gma500/oaktrail_device.c 	regs->psb.saveOV_OGAMC5 = PSB_RVDC32(OV_OGAMC5);
regs              254 drivers/gpu/drm/gma500/oaktrail_device.c 	regs->psb.saveHISTOGRAM_INT_CONTROL_REG =
regs              256 drivers/gpu/drm/gma500/oaktrail_device.c 	regs->psb.saveHISTOGRAM_LOGIC_CONTROL_REG =
regs              258 drivers/gpu/drm/gma500/oaktrail_device.c 	regs->psb.savePWM_CONTROL_LOGIC = PSB_RVDC32(PWM_CONTROL_LOGIC);
regs              296 drivers/gpu/drm/gma500/oaktrail_device.c 	struct psb_save_area *regs = &dev_priv->regs;
regs              297 drivers/gpu/drm/gma500/oaktrail_device.c 	struct psb_pipe *p = &regs->pipe[0];
regs              302 drivers/gpu/drm/gma500/oaktrail_device.c 	PSB_WVDC32(regs->psb.saveDSPARB, DSPARB);
regs              303 drivers/gpu/drm/gma500/oaktrail_device.c 	PSB_WVDC32(regs->psb.saveDSPFW1, DSPFW1);
regs              304 drivers/gpu/drm/gma500/oaktrail_device.c 	PSB_WVDC32(regs->psb.saveDSPFW2, DSPFW2);
regs              305 drivers/gpu/drm/gma500/oaktrail_device.c 	PSB_WVDC32(regs->psb.saveDSPFW3, DSPFW3);
regs              306 drivers/gpu/drm/gma500/oaktrail_device.c 	PSB_WVDC32(regs->psb.saveDSPFW4, DSPFW4);
regs              307 drivers/gpu/drm/gma500/oaktrail_device.c 	PSB_WVDC32(regs->psb.saveDSPFW5, DSPFW5);
regs              308 drivers/gpu/drm/gma500/oaktrail_device.c 	PSB_WVDC32(regs->psb.saveDSPFW6, DSPFW6);
regs              309 drivers/gpu/drm/gma500/oaktrail_device.c 	PSB_WVDC32(regs->psb.saveCHICKENBIT, DSPCHICKENBIT);
regs              330 drivers/gpu/drm/gma500/oaktrail_device.c 	PSB_WVDC32(regs->psb.saveBCLRPAT_A, BCLRPAT_A);
regs              333 drivers/gpu/drm/gma500/oaktrail_device.c 	PSB_WVDC32(regs->psb.savePERF_MODE, MRST_PERF_MODE);
regs              349 drivers/gpu/drm/gma500/oaktrail_device.c 	PSB_WVDC32(regs->psb.saveDSPACURSOR_CTRL, CURACNTR);
regs              350 drivers/gpu/drm/gma500/oaktrail_device.c 	PSB_WVDC32(regs->psb.saveDSPACURSOR_POS, CURAPOS);
regs              351 drivers/gpu/drm/gma500/oaktrail_device.c 	PSB_WVDC32(regs->psb.saveDSPACURSOR_BASE, CURABASE);
regs              361 drivers/gpu/drm/gma500/oaktrail_device.c 		PSB_WVDC32(regs->saveBLC_PWM_CTL2, BLC_PWM_CTL2);
regs              362 drivers/gpu/drm/gma500/oaktrail_device.c 		PSB_WVDC32(regs->psb.saveLVDS, LVDS); /*port 61180h*/
regs              363 drivers/gpu/drm/gma500/oaktrail_device.c 		PSB_WVDC32(regs->psb.savePFIT_CONTROL, PFIT_CONTROL);
regs              364 drivers/gpu/drm/gma500/oaktrail_device.c 		PSB_WVDC32(regs->psb.savePFIT_PGM_RATIOS, PFIT_PGM_RATIOS);
regs              365 drivers/gpu/drm/gma500/oaktrail_device.c 		PSB_WVDC32(regs->psb.savePFIT_AUTO_RATIOS, PFIT_AUTO_RATIOS);
regs              366 drivers/gpu/drm/gma500/oaktrail_device.c 		PSB_WVDC32(regs->saveBLC_PWM_CTL, BLC_PWM_CTL);
regs              367 drivers/gpu/drm/gma500/oaktrail_device.c 		PSB_WVDC32(regs->psb.savePP_ON_DELAYS, LVDSPP_ON);
regs              368 drivers/gpu/drm/gma500/oaktrail_device.c 		PSB_WVDC32(regs->psb.savePP_OFF_DELAYS, LVDSPP_OFF);
regs              369 drivers/gpu/drm/gma500/oaktrail_device.c 		PSB_WVDC32(regs->psb.savePP_DIVISOR, PP_CYCLE);
regs              370 drivers/gpu/drm/gma500/oaktrail_device.c 		PSB_WVDC32(regs->psb.savePP_CONTROL, PP_CONTROL);
regs              384 drivers/gpu/drm/gma500/oaktrail_device.c 	PSB_WVDC32(regs->psb.saveOV_OVADD, OV_OVADD);
regs              385 drivers/gpu/drm/gma500/oaktrail_device.c 	PSB_WVDC32(regs->psb.saveOV_OGAMC0, OV_OGAMC0);
regs              386 drivers/gpu/drm/gma500/oaktrail_device.c 	PSB_WVDC32(regs->psb.saveOV_OGAMC1, OV_OGAMC1);
regs              387 drivers/gpu/drm/gma500/oaktrail_device.c 	PSB_WVDC32(regs->psb.saveOV_OGAMC2, OV_OGAMC2);
regs              388 drivers/gpu/drm/gma500/oaktrail_device.c 	PSB_WVDC32(regs->psb.saveOV_OGAMC3, OV_OGAMC3);
regs              389 drivers/gpu/drm/gma500/oaktrail_device.c 	PSB_WVDC32(regs->psb.saveOV_OGAMC4, OV_OGAMC4);
regs              390 drivers/gpu/drm/gma500/oaktrail_device.c 	PSB_WVDC32(regs->psb.saveOV_OGAMC5, OV_OGAMC5);
regs              393 drivers/gpu/drm/gma500/oaktrail_device.c 	PSB_WVDC32(regs->psb.saveHISTOGRAM_INT_CONTROL_REG,
regs              395 drivers/gpu/drm/gma500/oaktrail_device.c 	PSB_WVDC32(regs->psb.saveHISTOGRAM_LOGIC_CONTROL_REG,
regs              397 drivers/gpu/drm/gma500/oaktrail_device.c 	PSB_WVDC32(regs->psb.savePWM_CONTROL_LOGIC, PWM_CONTROL_LOGIC);
regs               35 drivers/gpu/drm/gma500/oaktrail_hdmi.c #define HDMI_READ(reg)		readl(hdmi_dev->regs + (reg))
regs               36 drivers/gpu/drm/gma500/oaktrail_hdmi.c #define HDMI_WRITE(reg, val)	writel(val, hdmi_dev->regs + (reg))
regs              709 drivers/gpu/drm/gma500/oaktrail_hdmi.c 	hdmi_dev->regs = ioremap(hdmi_dev->mmio, hdmi_dev->mmio_len);
regs              710 drivers/gpu/drm/gma500/oaktrail_hdmi.c 	if (!hdmi_dev->regs) {
regs              746 drivers/gpu/drm/gma500/oaktrail_hdmi.c 		iounmap(hdmi_dev->regs);
regs              757 drivers/gpu/drm/gma500/oaktrail_hdmi.c 	struct psb_state *regs = &dev_priv->regs.psb;
regs              758 drivers/gpu/drm/gma500/oaktrail_hdmi.c 	struct psb_pipe *pipeb = &dev_priv->regs.pipe[1];
regs              796 drivers/gpu/drm/gma500/oaktrail_hdmi.c 	regs->saveDSPBCURSOR_CTRL = PSB_RVDC32(CURBCNTR);
regs              797 drivers/gpu/drm/gma500/oaktrail_hdmi.c 	regs->saveDSPBCURSOR_BASE = PSB_RVDC32(CURBBASE);
regs              798 drivers/gpu/drm/gma500/oaktrail_hdmi.c 	regs->saveDSPBCURSOR_POS = PSB_RVDC32(CURBPOS);
regs              810 drivers/gpu/drm/gma500/oaktrail_hdmi.c 	struct psb_state *regs = &dev_priv->regs.psb;
regs              811 drivers/gpu/drm/gma500/oaktrail_hdmi.c 	struct psb_pipe *pipeb = &dev_priv->regs.pipe[1];
regs              850 drivers/gpu/drm/gma500/oaktrail_hdmi.c 	PSB_WVDC32(regs->saveDSPBCURSOR_CTRL, CURBCNTR);
regs              851 drivers/gpu/drm/gma500/oaktrail_hdmi.c 	PSB_WVDC32(regs->saveDSPBCURSOR_POS, CURBPOS);
regs              852 drivers/gpu/drm/gma500/oaktrail_hdmi.c 	PSB_WVDC32(regs->saveDSPBCURSOR_BASE, CURBBASE);
regs               35 drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c #define HDMI_READ(reg)		readl(hdmi_dev->regs + (reg))
regs               36 drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c #define HDMI_WRITE(reg, val)	writel(val, hdmi_dev->regs + (reg))
regs              181 drivers/gpu/drm/gma500/oaktrail_lvds.c 		ret = ((dev_priv->regs.saveBLC_PWM_CTL &
regs              135 drivers/gpu/drm/gma500/power.c 	dev_priv->regs.saveBSM = bsm;
regs              137 drivers/gpu/drm/gma500/power.c 	dev_priv->regs.saveVBT = vbt;
regs              165 drivers/gpu/drm/gma500/power.c 	pci_write_config_dword(pdev, 0x5c, dev_priv->regs.saveBSM);
regs              166 drivers/gpu/drm/gma500/power.c 	pci_write_config_dword(pdev, 0xFC, dev_priv->regs.saveVBT);
regs              173 drivers/gpu/drm/gma500/psb_device.c 	struct psb_state *regs = &dev_priv->regs.psb;
regs              176 drivers/gpu/drm/gma500/psb_device.c 	regs->saveDSPARB = PSB_RVDC32(DSPARB);
regs              177 drivers/gpu/drm/gma500/psb_device.c 	regs->saveDSPFW1 = PSB_RVDC32(DSPFW1);
regs              178 drivers/gpu/drm/gma500/psb_device.c 	regs->saveDSPFW2 = PSB_RVDC32(DSPFW2);
regs              179 drivers/gpu/drm/gma500/psb_device.c 	regs->saveDSPFW3 = PSB_RVDC32(DSPFW3);
regs              180 drivers/gpu/drm/gma500/psb_device.c 	regs->saveDSPFW4 = PSB_RVDC32(DSPFW4);
regs              181 drivers/gpu/drm/gma500/psb_device.c 	regs->saveDSPFW5 = PSB_RVDC32(DSPFW5);
regs              182 drivers/gpu/drm/gma500/psb_device.c 	regs->saveDSPFW6 = PSB_RVDC32(DSPFW6);
regs              183 drivers/gpu/drm/gma500/psb_device.c 	regs->saveCHICKENBIT = PSB_RVDC32(DSPCHICKENBIT);
regs              211 drivers/gpu/drm/gma500/psb_device.c 	struct psb_state *regs = &dev_priv->regs.psb;
regs              214 drivers/gpu/drm/gma500/psb_device.c 	PSB_WVDC32(regs->saveDSPARB, DSPARB);
regs              215 drivers/gpu/drm/gma500/psb_device.c 	PSB_WVDC32(regs->saveDSPFW1, DSPFW1);
regs              216 drivers/gpu/drm/gma500/psb_device.c 	PSB_WVDC32(regs->saveDSPFW2, DSPFW2);
regs              217 drivers/gpu/drm/gma500/psb_device.c 	PSB_WVDC32(regs->saveDSPFW3, DSPFW3);
regs              218 drivers/gpu/drm/gma500/psb_device.c 	PSB_WVDC32(regs->saveDSPFW4, DSPFW4);
regs              219 drivers/gpu/drm/gma500/psb_device.c 	PSB_WVDC32(regs->saveDSPFW5, DSPFW5);
regs              220 drivers/gpu/drm/gma500/psb_device.c 	PSB_WVDC32(regs->saveDSPFW6, DSPFW6);
regs              221 drivers/gpu/drm/gma500/psb_device.c 	PSB_WVDC32(regs->saveCHICKENBIT, DSPCHICKENBIT);
regs              545 drivers/gpu/drm/gma500/psb_drv.h 	struct psb_save_area regs;
regs              308 drivers/gpu/drm/gma500/psb_intel_display.c 	struct psb_pipe *p = &dev_priv->regs.pipe[pipe];
regs              326 drivers/gpu/drm/gma500/psb_intel_display.c 		is_lvds = (pipe == 1) && (dev_priv->regs.psb.saveLVDS &
regs              384 drivers/gpu/drm/gma500/psb_intel_display.c 	struct psb_pipe *p = &dev_priv->regs.pipe[pipe];
regs               67 drivers/gpu/drm/gma500/psb_intel_lvds.c 		ret = dev_priv->regs.saveBLC_PWM_CTL;
regs               76 drivers/gpu/drm/gma500/psb_intel_lvds.c                         REG_READ(BLC_PWM_CTL), dev_priv->regs.saveBLC_PWM_CTL);
regs              193 drivers/gpu/drm/gma500/psb_intel_lvds.c 		dev_priv->regs.saveBLC_PWM_CTL = (blc_pwm_ctl |
regs              197 drivers/gpu/drm/gma500/psb_intel_lvds.c 		blc_pwm_ctl = dev_priv->regs.saveBLC_PWM_CTL &
regs              199 drivers/gpu/drm/gma500/psb_intel_lvds.c 		dev_priv->regs.saveBLC_PWM_CTL = (blc_pwm_ctl |
regs              272 drivers/gpu/drm/gma500/psb_intel_lvds.c 	dev_priv->backlight_duty_cycle = (dev_priv->regs.saveBLC_PWM_CTL &
regs              121 drivers/gpu/drm/i2c/ch7006_drv.c 	uint8_t *regs = state->regs;
regs              128 drivers/gpu/drm/i2c/ch7006_drv.c 	regs[CH7006_DISPMODE] = norm->dispmode | mode->dispmode;
regs              129 drivers/gpu/drm/i2c/ch7006_drv.c 	regs[CH7006_BWIDTH] = 0;
regs              130 drivers/gpu/drm/i2c/ch7006_drv.c 	regs[CH7006_INPUT_FORMAT] = bitf(CH7006_INPUT_FORMAT_FORMAT,
regs              133 drivers/gpu/drm/i2c/ch7006_drv.c 	regs[CH7006_CLKMODE] = CH7006_CLKMODE_SUBC_LOCK
regs              137 drivers/gpu/drm/i2c/ch7006_drv.c 		regs[CH7006_CLKMODE] |= CH7006_CLKMODE_MASTER;
regs              139 drivers/gpu/drm/i2c/ch7006_drv.c 		regs[CH7006_CLKMODE] |= CH7006_CLKMODE_POS_EDGE;
regs              142 drivers/gpu/drm/i2c/ch7006_drv.c 	regs[CH7006_POV] = bitf(CH7006_POV_START_ACTIVE_8, start_active);
regs              143 drivers/gpu/drm/i2c/ch7006_drv.c 	regs[CH7006_START_ACTIVE] = bitf(CH7006_START_ACTIVE_0, start_active);
regs              145 drivers/gpu/drm/i2c/ch7006_drv.c 	regs[CH7006_INPUT_SYNC] = 0;
regs              147 drivers/gpu/drm/i2c/ch7006_drv.c 		regs[CH7006_INPUT_SYNC] |= CH7006_INPUT_SYNC_OUTPUT;
regs              149 drivers/gpu/drm/i2c/ch7006_drv.c 		regs[CH7006_INPUT_SYNC] |= CH7006_INPUT_SYNC_EMBEDDED;
regs              151 drivers/gpu/drm/i2c/ch7006_drv.c 		regs[CH7006_INPUT_SYNC] |= CH7006_INPUT_SYNC_PVSYNC;
regs              153 drivers/gpu/drm/i2c/ch7006_drv.c 		regs[CH7006_INPUT_SYNC] |= CH7006_INPUT_SYNC_PHSYNC;
regs              155 drivers/gpu/drm/i2c/ch7006_drv.c 	regs[CH7006_DETECT] = 0;
regs              156 drivers/gpu/drm/i2c/ch7006_drv.c 	regs[CH7006_BCLKOUT] = 0;
regs              158 drivers/gpu/drm/i2c/ch7006_drv.c 	regs[CH7006_SUBC_INC3] = 0;
regs              160 drivers/gpu/drm/i2c/ch7006_drv.c 		regs[CH7006_SUBC_INC3] |= CH7006_SUBC_INC3_POUT_3_3V;
regs              162 drivers/gpu/drm/i2c/ch7006_drv.c 	regs[CH7006_SUBC_INC4] = 0;
regs              164 drivers/gpu/drm/i2c/ch7006_drv.c 		regs[CH7006_SUBC_INC4] |= CH7006_SUBC_INC4_DS_INPUT;
regs              166 drivers/gpu/drm/i2c/ch7006_drv.c 	regs[CH7006_PLL_CONTROL] = priv->saved_state.regs[CH7006_PLL_CONTROL];
regs              204 drivers/gpu/drm/i2c/ch7006_mode.c 	uint8_t *regs = priv->state.regs;
regs              214 drivers/gpu/drm/i2c/ch7006_mode.c 		regs[CH7006_INPUT_FORMAT] |= CH7006_INPUT_FORMAT_DAC_GAIN;
regs              218 drivers/gpu/drm/i2c/ch7006_mode.c 		regs[CH7006_INPUT_FORMAT] &= ~CH7006_INPUT_FORMAT_DAC_GAIN;
regs              226 drivers/gpu/drm/i2c/ch7006_mode.c 	regs[CH7006_BLACK_LEVEL] = bitf(CH7006_BLACK_LEVEL_0, black_level);
regs              259 drivers/gpu/drm/i2c/ch7006_mode.c 	uint8_t *regs = priv->state.regs;
regs              278 drivers/gpu/drm/i2c/ch7006_mode.c 	regs[CH7006_PLLOV] = bitf(CH7006_PLLOV_N_8, best_n) |
regs              281 drivers/gpu/drm/i2c/ch7006_mode.c 	regs[CH7006_PLLM] = bitf(CH7006_PLLM_0, best_m);
regs              282 drivers/gpu/drm/i2c/ch7006_mode.c 	regs[CH7006_PLLN] = bitf(CH7006_PLLN_0, best_n);
regs              285 drivers/gpu/drm/i2c/ch7006_mode.c 		regs[CH7006_PLL_CONTROL] |= CH7006_PLL_CONTROL_CAPACITOR;
regs              287 drivers/gpu/drm/i2c/ch7006_mode.c 		regs[CH7006_PLL_CONTROL] &= ~CH7006_PLL_CONTROL_CAPACITOR;
regs              296 drivers/gpu/drm/i2c/ch7006_mode.c 	uint8_t *power = &priv->state.regs[CH7006_POWER];
regs              334 drivers/gpu/drm/i2c/ch7006_mode.c 	uint8_t *regs = state->regs;
regs              339 drivers/gpu/drm/i2c/ch7006_mode.c 	regs[CH7006_FFILTER] = bitf(CH7006_FFILTER_TEXT, flicker) |
regs              344 drivers/gpu/drm/i2c/ch7006_mode.c 	regs[CH7006_CONTRAST] = bitf(CH7006_CONTRAST_0, contrast);
regs              468 drivers/gpu/drm/i2c/ch7006_mode.c 	state->regs[CH7006_FFILTER] = (state->regs[CH7006_FFILTER] & 0xf0) |
regs              469 drivers/gpu/drm/i2c/ch7006_mode.c 		(state->regs[CH7006_FFILTER] & 0x0c) >> 2 |
regs              470 drivers/gpu/drm/i2c/ch7006_mode.c 		(state->regs[CH7006_FFILTER] & 0x03) << 2;
regs               76 drivers/gpu/drm/i2c/ch7006_priv.h 	uint8_t regs[0x26];
regs              151 drivers/gpu/drm/i2c/ch7006_priv.h 	state->regs[reg] = (state->regs[reg] & ~mask(reg##_##bitfield))	\
regs              168 drivers/gpu/drm/i2c/ch7006_priv.h #define ch7006_load_reg(client, state, reg) ch7006_write(client, reg, state->regs[reg])
regs              169 drivers/gpu/drm/i2c/ch7006_priv.h #define ch7006_save_reg(client, state, reg) state->regs[reg] = ch7006_read(client, reg)
regs             3493 drivers/gpu/drm/i915/display/intel_ddi.c 	static const i915_reg_t regs[] = {
regs             3506 drivers/gpu/drm/i915/display/intel_ddi.c 	return regs[port];
regs              318 drivers/gpu/drm/i915/display/intel_display_power.c 	const struct i915_power_well_regs *regs = power_well->desc->hsw.regs;
regs              322 drivers/gpu/drm/i915/display/intel_display_power.c 	if (intel_de_wait_for_set(dev_priv, regs->driver,
regs              333 drivers/gpu/drm/i915/display/intel_display_power.c 				     const struct i915_power_well_regs *regs,
regs              339 drivers/gpu/drm/i915/display/intel_display_power.c 	ret = I915_READ(regs->bios) & req_mask ? 1 : 0;
regs              340 drivers/gpu/drm/i915/display/intel_display_power.c 	ret |= I915_READ(regs->driver) & req_mask ? 2 : 0;
regs              341 drivers/gpu/drm/i915/display/intel_display_power.c 	if (regs->kvmr.reg)
regs              342 drivers/gpu/drm/i915/display/intel_display_power.c 		ret |= I915_READ(regs->kvmr) & req_mask ? 4 : 0;
regs              343 drivers/gpu/drm/i915/display/intel_display_power.c 	ret |= I915_READ(regs->debug) & req_mask ? 8 : 0;
regs              351 drivers/gpu/drm/i915/display/intel_display_power.c 	const struct i915_power_well_regs *regs = power_well->desc->hsw.regs;
regs              365 drivers/gpu/drm/i915/display/intel_display_power.c 	wait_for((disabled = !(I915_READ(regs->driver) &
regs              367 drivers/gpu/drm/i915/display/intel_display_power.c 		 (reqs = hsw_power_well_requesters(dev_priv, regs, pw_idx)), 1);
regs              387 drivers/gpu/drm/i915/display/intel_display_power.c 	const struct i915_power_well_regs *regs = power_well->desc->hsw.regs;
regs              407 drivers/gpu/drm/i915/display/intel_display_power.c 	val = I915_READ(regs->driver);
regs              408 drivers/gpu/drm/i915/display/intel_display_power.c 	I915_WRITE(regs->driver, val | HSW_PWR_WELL_CTL_REQ(pw_idx));
regs              431 drivers/gpu/drm/i915/display/intel_display_power.c 	const struct i915_power_well_regs *regs = power_well->desc->hsw.regs;
regs              438 drivers/gpu/drm/i915/display/intel_display_power.c 	val = I915_READ(regs->driver);
regs              439 drivers/gpu/drm/i915/display/intel_display_power.c 	I915_WRITE(regs->driver, val & ~HSW_PWR_WELL_CTL_REQ(pw_idx));
regs              449 drivers/gpu/drm/i915/display/intel_display_power.c 	const struct i915_power_well_regs *regs = power_well->desc->hsw.regs;
regs              455 drivers/gpu/drm/i915/display/intel_display_power.c 	val = I915_READ(regs->driver);
regs              456 drivers/gpu/drm/i915/display/intel_display_power.c 	I915_WRITE(regs->driver, val | HSW_PWR_WELL_CTL_REQ(pw_idx));
regs              484 drivers/gpu/drm/i915/display/intel_display_power.c 	const struct i915_power_well_regs *regs = power_well->desc->hsw.regs;
regs              494 drivers/gpu/drm/i915/display/intel_display_power.c 	val = I915_READ(regs->driver);
regs              495 drivers/gpu/drm/i915/display/intel_display_power.c 	I915_WRITE(regs->driver, val & ~HSW_PWR_WELL_CTL_REQ(pw_idx));
regs              616 drivers/gpu/drm/i915/display/intel_display_power.c 	const struct i915_power_well_regs *regs = power_well->desc->hsw.regs;
regs              623 drivers/gpu/drm/i915/display/intel_display_power.c 	val = I915_READ(regs->driver);
regs              633 drivers/gpu/drm/i915/display/intel_display_power.c 		val |= I915_READ(regs->bios);
regs              897 drivers/gpu/drm/i915/display/intel_display_power.c 	const struct i915_power_well_regs *regs = power_well->desc->hsw.regs;
regs              900 drivers/gpu/drm/i915/display/intel_display_power.c 	u32 bios_req = I915_READ(regs->bios);
regs              904 drivers/gpu/drm/i915/display/intel_display_power.c 		u32 drv_req = I915_READ(regs->driver);
regs              907 drivers/gpu/drm/i915/display/intel_display_power.c 			I915_WRITE(regs->driver, drv_req | mask);
regs              908 drivers/gpu/drm/i915/display/intel_display_power.c 		I915_WRITE(regs->bios, bios_req & ~mask);
regs             2727 drivers/gpu/drm/i915/display/intel_display_power.c 			.hsw.regs = &hsw_power_well_regs,
regs             2748 drivers/gpu/drm/i915/display/intel_display_power.c 			.hsw.regs = &hsw_power_well_regs,
regs             2920 drivers/gpu/drm/i915/display/intel_display_power.c 			.hsw.regs = &hsw_power_well_regs,
regs             2933 drivers/gpu/drm/i915/display/intel_display_power.c 			.hsw.regs = &hsw_power_well_regs,
regs             2949 drivers/gpu/drm/i915/display/intel_display_power.c 			.hsw.regs = &hsw_power_well_regs,
regs             2962 drivers/gpu/drm/i915/display/intel_display_power.c 			.hsw.regs = &hsw_power_well_regs,
regs             2972 drivers/gpu/drm/i915/display/intel_display_power.c 			.hsw.regs = &hsw_power_well_regs,
regs             2982 drivers/gpu/drm/i915/display/intel_display_power.c 			.hsw.regs = &hsw_power_well_regs,
regs             2992 drivers/gpu/drm/i915/display/intel_display_power.c 			.hsw.regs = &hsw_power_well_regs,
regs             3014 drivers/gpu/drm/i915/display/intel_display_power.c 			.hsw.regs = &hsw_power_well_regs,
regs             3031 drivers/gpu/drm/i915/display/intel_display_power.c 			.hsw.regs = &hsw_power_well_regs,
regs             3074 drivers/gpu/drm/i915/display/intel_display_power.c 			.hsw.regs = &hsw_power_well_regs,
regs             3091 drivers/gpu/drm/i915/display/intel_display_power.c 			.hsw.regs = &hsw_power_well_regs,
regs             3131 drivers/gpu/drm/i915/display/intel_display_power.c 			.hsw.regs = &hsw_power_well_regs,
regs             3141 drivers/gpu/drm/i915/display/intel_display_power.c 			.hsw.regs = &hsw_power_well_regs,
regs             3151 drivers/gpu/drm/i915/display/intel_display_power.c 			.hsw.regs = &hsw_power_well_regs,
regs             3161 drivers/gpu/drm/i915/display/intel_display_power.c 			.hsw.regs = &hsw_power_well_regs,
regs             3171 drivers/gpu/drm/i915/display/intel_display_power.c 			.hsw.regs = &hsw_power_well_regs,
regs             3181 drivers/gpu/drm/i915/display/intel_display_power.c 			.hsw.regs = &hsw_power_well_regs,
regs             3203 drivers/gpu/drm/i915/display/intel_display_power.c 			.hsw.regs = &hsw_power_well_regs,
regs             3214 drivers/gpu/drm/i915/display/intel_display_power.c 			.hsw.regs = &hsw_power_well_regs,
regs             3224 drivers/gpu/drm/i915/display/intel_display_power.c 			.hsw.regs = &hsw_power_well_regs,
regs             3234 drivers/gpu/drm/i915/display/intel_display_power.c 			.hsw.regs = &hsw_power_well_regs,
regs             3244 drivers/gpu/drm/i915/display/intel_display_power.c 			.hsw.regs = &hsw_power_well_regs,
regs             3260 drivers/gpu/drm/i915/display/intel_display_power.c 			.hsw.regs = &hsw_power_well_regs,
regs             3273 drivers/gpu/drm/i915/display/intel_display_power.c 			.hsw.regs = &hsw_power_well_regs,
regs             3283 drivers/gpu/drm/i915/display/intel_display_power.c 			.hsw.regs = &hsw_power_well_regs,
regs             3293 drivers/gpu/drm/i915/display/intel_display_power.c 			.hsw.regs = &hsw_power_well_regs,
regs             3303 drivers/gpu/drm/i915/display/intel_display_power.c 			.hsw.regs = &hsw_power_well_regs,
regs             3313 drivers/gpu/drm/i915/display/intel_display_power.c 			.hsw.regs = &hsw_power_well_regs,
regs             3323 drivers/gpu/drm/i915/display/intel_display_power.c 			.hsw.regs = &hsw_power_well_regs,
regs             3371 drivers/gpu/drm/i915/display/intel_display_power.c 			.hsw.regs = &hsw_power_well_regs,
regs             3388 drivers/gpu/drm/i915/display/intel_display_power.c 			.hsw.regs = &hsw_power_well_regs,
regs             3399 drivers/gpu/drm/i915/display/intel_display_power.c 			.hsw.regs = &hsw_power_well_regs,
regs             3412 drivers/gpu/drm/i915/display/intel_display_power.c 			.hsw.regs = &icl_ddi_power_well_regs,
regs             3422 drivers/gpu/drm/i915/display/intel_display_power.c 			.hsw.regs = &icl_ddi_power_well_regs,
regs             3432 drivers/gpu/drm/i915/display/intel_display_power.c 			.hsw.regs = &icl_ddi_power_well_regs,
regs             3442 drivers/gpu/drm/i915/display/intel_display_power.c 			.hsw.regs = &icl_ddi_power_well_regs,
regs             3452 drivers/gpu/drm/i915/display/intel_display_power.c 			.hsw.regs = &icl_ddi_power_well_regs,
regs             3462 drivers/gpu/drm/i915/display/intel_display_power.c 			.hsw.regs = &icl_ddi_power_well_regs,
regs             3472 drivers/gpu/drm/i915/display/intel_display_power.c 			.hsw.regs = &icl_aux_power_well_regs,
regs             3482 drivers/gpu/drm/i915/display/intel_display_power.c 			.hsw.regs = &icl_aux_power_well_regs,
regs             3492 drivers/gpu/drm/i915/display/intel_display_power.c 			.hsw.regs = &icl_aux_power_well_regs,
regs             3503 drivers/gpu/drm/i915/display/intel_display_power.c 			.hsw.regs = &icl_aux_power_well_regs,
regs             3514 drivers/gpu/drm/i915/display/intel_display_power.c 			.hsw.regs = &icl_aux_power_well_regs,
regs             3525 drivers/gpu/drm/i915/display/intel_display_power.c 			.hsw.regs = &icl_aux_power_well_regs,
regs             3536 drivers/gpu/drm/i915/display/intel_display_power.c 			.hsw.regs = &icl_aux_power_well_regs,
regs             3547 drivers/gpu/drm/i915/display/intel_display_power.c 			.hsw.regs = &icl_aux_power_well_regs,
regs             3558 drivers/gpu/drm/i915/display/intel_display_power.c 			.hsw.regs = &icl_aux_power_well_regs,
regs             3569 drivers/gpu/drm/i915/display/intel_display_power.c 			.hsw.regs = &icl_aux_power_well_regs,
regs             3580 drivers/gpu/drm/i915/display/intel_display_power.c 			.hsw.regs = &hsw_power_well_regs,
regs             3604 drivers/gpu/drm/i915/display/intel_display_power.c 			.hsw.regs = &hsw_power_well_regs,
regs             3621 drivers/gpu/drm/i915/display/intel_display_power.c 			.hsw.regs = &hsw_power_well_regs,
regs             3632 drivers/gpu/drm/i915/display/intel_display_power.c 			.hsw.regs = &hsw_power_well_regs,
regs             3645 drivers/gpu/drm/i915/display/intel_display_power.c 			.hsw.regs = &icl_ddi_power_well_regs,
regs             3655 drivers/gpu/drm/i915/display/intel_display_power.c 			.hsw.regs = &icl_ddi_power_well_regs,
regs             3665 drivers/gpu/drm/i915/display/intel_display_power.c 			.hsw.regs = &icl_ddi_power_well_regs,
regs             3675 drivers/gpu/drm/i915/display/intel_display_power.c 			.hsw.regs = &icl_ddi_power_well_regs,
regs             3685 drivers/gpu/drm/i915/display/intel_display_power.c 			.hsw.regs = &icl_ddi_power_well_regs,
regs             3695 drivers/gpu/drm/i915/display/intel_display_power.c 			.hsw.regs = &icl_ddi_power_well_regs,
regs             3705 drivers/gpu/drm/i915/display/intel_display_power.c 			.hsw.regs = &icl_ddi_power_well_regs,
regs             3715 drivers/gpu/drm/i915/display/intel_display_power.c 			.hsw.regs = &icl_ddi_power_well_regs,
regs             3725 drivers/gpu/drm/i915/display/intel_display_power.c 			.hsw.regs = &icl_ddi_power_well_regs,
regs             3735 drivers/gpu/drm/i915/display/intel_display_power.c 			.hsw.regs = &icl_aux_power_well_regs,
regs             3745 drivers/gpu/drm/i915/display/intel_display_power.c 			.hsw.regs = &icl_aux_power_well_regs,
regs             3755 drivers/gpu/drm/i915/display/intel_display_power.c 			.hsw.regs = &icl_aux_power_well_regs,
regs             3765 drivers/gpu/drm/i915/display/intel_display_power.c 			.hsw.regs = &icl_aux_power_well_regs,
regs             3776 drivers/gpu/drm/i915/display/intel_display_power.c 			.hsw.regs = &icl_aux_power_well_regs,
regs             3787 drivers/gpu/drm/i915/display/intel_display_power.c 			.hsw.regs = &icl_aux_power_well_regs,
regs             3798 drivers/gpu/drm/i915/display/intel_display_power.c 			.hsw.regs = &icl_aux_power_well_regs,
regs             3809 drivers/gpu/drm/i915/display/intel_display_power.c 			.hsw.regs = &icl_aux_power_well_regs,
regs             3820 drivers/gpu/drm/i915/display/intel_display_power.c 			.hsw.regs = &icl_aux_power_well_regs,
regs             3831 drivers/gpu/drm/i915/display/intel_display_power.c 			.hsw.regs = &icl_aux_power_well_regs,
regs             3842 drivers/gpu/drm/i915/display/intel_display_power.c 			.hsw.regs = &icl_aux_power_well_regs,
regs             3853 drivers/gpu/drm/i915/display/intel_display_power.c 			.hsw.regs = &icl_aux_power_well_regs,
regs             3864 drivers/gpu/drm/i915/display/intel_display_power.c 			.hsw.regs = &icl_aux_power_well_regs,
regs             3875 drivers/gpu/drm/i915/display/intel_display_power.c 			.hsw.regs = &icl_aux_power_well_regs,
regs             3886 drivers/gpu/drm/i915/display/intel_display_power.c 			.hsw.regs = &icl_aux_power_well_regs,
regs             3897 drivers/gpu/drm/i915/display/intel_display_power.c 			.hsw.regs = &hsw_power_well_regs,
regs             3909 drivers/gpu/drm/i915/display/intel_display_power.c 			.hsw.regs = &hsw_power_well_regs,
regs              182 drivers/gpu/drm/i915/display/intel_display_power.h 			const struct i915_power_well_regs *regs;
regs             1022 drivers/gpu/drm/i915/display/intel_dp.c 				    struct pps_registers *regs)
regs             1027 drivers/gpu/drm/i915/display/intel_dp.c 	memset(regs, 0, sizeof(*regs));
regs             1034 drivers/gpu/drm/i915/display/intel_dp.c 	regs->pp_ctrl = PP_CONTROL(pps_idx);
regs             1035 drivers/gpu/drm/i915/display/intel_dp.c 	regs->pp_stat = PP_STATUS(pps_idx);
regs             1036 drivers/gpu/drm/i915/display/intel_dp.c 	regs->pp_on = PP_ON_DELAYS(pps_idx);
regs             1037 drivers/gpu/drm/i915/display/intel_dp.c 	regs->pp_off = PP_OFF_DELAYS(pps_idx);
regs             1041 drivers/gpu/drm/i915/display/intel_dp.c 		regs->pp_div = INVALID_MMIO_REG;
regs             1043 drivers/gpu/drm/i915/display/intel_dp.c 		regs->pp_div = PP_DIVISOR(pps_idx);
regs             1049 drivers/gpu/drm/i915/display/intel_dp.c 	struct pps_registers regs;
regs             1051 drivers/gpu/drm/i915/display/intel_dp.c 	intel_pps_get_registers(intel_dp, &regs);
regs             1053 drivers/gpu/drm/i915/display/intel_dp.c 	return regs.pp_ctrl;
regs             1059 drivers/gpu/drm/i915/display/intel_dp.c 	struct pps_registers regs;
regs             1061 drivers/gpu/drm/i915/display/intel_dp.c 	intel_pps_get_registers(intel_dp, &regs);
regs             1063 drivers/gpu/drm/i915/display/intel_dp.c 	return regs.pp_stat;
regs             6382 drivers/gpu/drm/i915/display/intel_dp.c 	struct pps_registers regs;
regs             6384 drivers/gpu/drm/i915/display/intel_dp.c 	intel_pps_get_registers(intel_dp, &regs);
regs             6390 drivers/gpu/drm/i915/display/intel_dp.c 		I915_WRITE(regs.pp_ctrl, pp_ctl);
regs             6392 drivers/gpu/drm/i915/display/intel_dp.c 	pp_on = I915_READ(regs.pp_on);
regs             6393 drivers/gpu/drm/i915/display/intel_dp.c 	pp_off = I915_READ(regs.pp_off);
regs             6401 drivers/gpu/drm/i915/display/intel_dp.c 	if (i915_mmio_reg_valid(regs.pp_div)) {
regs             6404 drivers/gpu/drm/i915/display/intel_dp.c 		pp_div = I915_READ(regs.pp_div);
regs             6535 drivers/gpu/drm/i915/display/intel_dp.c 	struct pps_registers regs;
regs             6541 drivers/gpu/drm/i915/display/intel_dp.c 	intel_pps_get_registers(intel_dp, &regs);
regs             6565 drivers/gpu/drm/i915/display/intel_dp.c 		I915_WRITE(regs.pp_ctrl, pp);
regs             6596 drivers/gpu/drm/i915/display/intel_dp.c 	I915_WRITE(regs.pp_on, pp_on);
regs             6597 drivers/gpu/drm/i915/display/intel_dp.c 	I915_WRITE(regs.pp_off, pp_off);
regs             6602 drivers/gpu/drm/i915/display/intel_dp.c 	if (i915_mmio_reg_valid(regs.pp_div)) {
regs             6603 drivers/gpu/drm/i915/display/intel_dp.c 		I915_WRITE(regs.pp_div,
regs             6609 drivers/gpu/drm/i915/display/intel_dp.c 		pp_ctl = I915_READ(regs.pp_ctrl);
regs             6612 drivers/gpu/drm/i915/display/intel_dp.c 		I915_WRITE(regs.pp_ctrl, pp_ctl);
regs             6616 drivers/gpu/drm/i915/display/intel_dp.c 		      I915_READ(regs.pp_on),
regs             6617 drivers/gpu/drm/i915/display/intel_dp.c 		      I915_READ(regs.pp_off),
regs             6618 drivers/gpu/drm/i915/display/intel_dp.c 		      i915_mmio_reg_valid(regs.pp_div) ?
regs             6619 drivers/gpu/drm/i915/display/intel_dp.c 		      I915_READ(regs.pp_div) :
regs             6620 drivers/gpu/drm/i915/display/intel_dp.c 		      (I915_READ(regs.pp_ctrl) & BXT_POWER_CYCLE_DELAY_MASK));
regs             1004 drivers/gpu/drm/i915/display/intel_dpll_mgr.c 	const struct skl_dpll_regs *regs = skl_dpll_regs;
regs             1009 drivers/gpu/drm/i915/display/intel_dpll_mgr.c 	I915_WRITE(regs[id].cfgcr1, pll->state.hw_state.cfgcr1);
regs             1010 drivers/gpu/drm/i915/display/intel_dpll_mgr.c 	I915_WRITE(regs[id].cfgcr2, pll->state.hw_state.cfgcr2);
regs             1011 drivers/gpu/drm/i915/display/intel_dpll_mgr.c 	POSTING_READ(regs[id].cfgcr1);
regs             1012 drivers/gpu/drm/i915/display/intel_dpll_mgr.c 	POSTING_READ(regs[id].cfgcr2);
regs             1015 drivers/gpu/drm/i915/display/intel_dpll_mgr.c 	I915_WRITE(regs[id].ctl,
regs             1016 drivers/gpu/drm/i915/display/intel_dpll_mgr.c 		   I915_READ(regs[id].ctl) | LCPLL_PLL_ENABLE);
regs             1031 drivers/gpu/drm/i915/display/intel_dpll_mgr.c 	const struct skl_dpll_regs *regs = skl_dpll_regs;
regs             1035 drivers/gpu/drm/i915/display/intel_dpll_mgr.c 	I915_WRITE(regs[id].ctl,
regs             1036 drivers/gpu/drm/i915/display/intel_dpll_mgr.c 		   I915_READ(regs[id].ctl) & ~LCPLL_PLL_ENABLE);
regs             1037 drivers/gpu/drm/i915/display/intel_dpll_mgr.c 	POSTING_READ(regs[id].ctl);
regs             1050 drivers/gpu/drm/i915/display/intel_dpll_mgr.c 	const struct skl_dpll_regs *regs = skl_dpll_regs;
regs             1062 drivers/gpu/drm/i915/display/intel_dpll_mgr.c 	val = I915_READ(regs[id].ctl);
regs             1071 drivers/gpu/drm/i915/display/intel_dpll_mgr.c 		hw_state->cfgcr1 = I915_READ(regs[id].cfgcr1);
regs             1072 drivers/gpu/drm/i915/display/intel_dpll_mgr.c 		hw_state->cfgcr2 = I915_READ(regs[id].cfgcr2);
regs             1086 drivers/gpu/drm/i915/display/intel_dpll_mgr.c 	const struct skl_dpll_regs *regs = skl_dpll_regs;
regs             1100 drivers/gpu/drm/i915/display/intel_dpll_mgr.c 	val = I915_READ(regs[id].ctl);
regs              191 drivers/gpu/drm/i915/display/intel_overlay.c 	struct overlay_registers __iomem *regs;
regs              593 drivers/gpu/drm/i915/display/intel_overlay.c static void update_polyphase_filter(struct overlay_registers __iomem *regs)
regs              595 drivers/gpu/drm/i915/display/intel_overlay.c 	memcpy_toio(regs->Y_HCOEFS, y_static_hcoeffs, sizeof(y_static_hcoeffs));
regs              596 drivers/gpu/drm/i915/display/intel_overlay.c 	memcpy_toio(regs->UV_HCOEFS, uv_static_hcoeffs,
regs              601 drivers/gpu/drm/i915/display/intel_overlay.c 				   struct overlay_registers __iomem *regs,
regs              643 drivers/gpu/drm/i915/display/intel_overlay.c 		 &regs->YRGBSCALE);
regs              648 drivers/gpu/drm/i915/display/intel_overlay.c 		 &regs->UVSCALE);
regs              652 drivers/gpu/drm/i915/display/intel_overlay.c 		 &regs->UVSCALEV);
regs              655 drivers/gpu/drm/i915/display/intel_overlay.c 		update_polyphase_filter(regs);
regs              661 drivers/gpu/drm/i915/display/intel_overlay.c 			    struct overlay_registers __iomem *regs)
regs              693 drivers/gpu/drm/i915/display/intel_overlay.c 	iowrite32(key, &regs->DCLRKV);
regs              694 drivers/gpu/drm/i915/display/intel_overlay.c 	iowrite32(flags, &regs->DCLRKM);
regs              746 drivers/gpu/drm/i915/display/intel_overlay.c 	struct overlay_registers __iomem *regs = overlay->regs;
regs              781 drivers/gpu/drm/i915/display/intel_overlay.c 		iowrite32(oconfig, &regs->OCONFIG);
regs              788 drivers/gpu/drm/i915/display/intel_overlay.c 	iowrite32(params->dst_y << 16 | params->dst_x, &regs->DWINPOS);
regs              789 drivers/gpu/drm/i915/display/intel_overlay.c 	iowrite32(params->dst_height << 16 | params->dst_width, &regs->DWINSZ);
regs              800 drivers/gpu/drm/i915/display/intel_overlay.c 	iowrite32(i915_ggtt_offset(vma) + params->offset_Y, &regs->OBUF_0Y);
regs              818 drivers/gpu/drm/i915/display/intel_overlay.c 			  &regs->OBUF_0U);
regs              820 drivers/gpu/drm/i915/display/intel_overlay.c 			  &regs->OBUF_0V);
regs              825 drivers/gpu/drm/i915/display/intel_overlay.c 	iowrite32(swidth, &regs->SWIDTH);
regs              826 drivers/gpu/drm/i915/display/intel_overlay.c 	iowrite32(swidthsw, &regs->SWIDTHSW);
regs              827 drivers/gpu/drm/i915/display/intel_overlay.c 	iowrite32(sheight, &regs->SHEIGHT);
regs              828 drivers/gpu/drm/i915/display/intel_overlay.c 	iowrite32(ostride, &regs->OSTRIDE);
regs              830 drivers/gpu/drm/i915/display/intel_overlay.c 	scale_changed = update_scaling_factors(overlay, regs, params);
regs              832 drivers/gpu/drm/i915/display/intel_overlay.c 	update_colorkey(overlay, regs);
regs              834 drivers/gpu/drm/i915/display/intel_overlay.c 	iowrite32(overlay_cmd_reg(params), &regs->OCMD);
regs              869 drivers/gpu/drm/i915/display/intel_overlay.c 	iowrite32(0, &overlay->regs->OCMD);
regs             1170 drivers/gpu/drm/i915/display/intel_overlay.c 			     struct overlay_registers __iomem *regs)
regs             1173 drivers/gpu/drm/i915/display/intel_overlay.c 		  &regs->OCLRC0);
regs             1174 drivers/gpu/drm/i915/display/intel_overlay.c 	iowrite32(overlay->saturation, &regs->OCLRC1);
regs             1266 drivers/gpu/drm/i915/display/intel_overlay.c 		update_reg_attrs(overlay, overlay->regs);
regs             1326 drivers/gpu/drm/i915/display/intel_overlay.c 	overlay->regs = i915_vma_pin_iomap(vma);
regs             1329 drivers/gpu/drm/i915/display/intel_overlay.c 	if (IS_ERR(overlay->regs)) {
regs             1330 drivers/gpu/drm/i915/display/intel_overlay.c 		err = PTR_ERR(overlay->regs);
regs             1378 drivers/gpu/drm/i915/display/intel_overlay.c 	memset_io(overlay->regs, 0, sizeof(struct overlay_registers));
regs             1379 drivers/gpu/drm/i915/display/intel_overlay.c 	update_polyphase_filter(overlay->regs);
regs             1380 drivers/gpu/drm/i915/display/intel_overlay.c 	update_reg_attrs(overlay, overlay->regs);
regs             1414 drivers/gpu/drm/i915/display/intel_overlay.c 	struct overlay_registers regs;
regs             1437 drivers/gpu/drm/i915/display/intel_overlay.c 	memcpy_fromio(&error->regs, overlay->regs, sizeof(error->regs));
regs             1451 drivers/gpu/drm/i915/display/intel_overlay.c #define P(x) i915_error_printf(m, "    " #x ":	0x%08x\n", error->regs.x)
regs              669 drivers/gpu/drm/i915/display/intel_psr.c 	static const i915_reg_t regs[] = {
regs              678 drivers/gpu/drm/i915/display/intel_psr.c 	if (WARN_ON(cpu_transcoder >= ARRAY_SIZE(regs) ||
regs              679 drivers/gpu/drm/i915/display/intel_psr.c 		    !regs[cpu_transcoder].reg))
regs              682 drivers/gpu/drm/i915/display/intel_psr.c 	return regs[cpu_transcoder];
regs               42 drivers/gpu/drm/i915/gt/intel_gt_irq.c 	void __iomem * const regs = gt->uncore->regs;
regs               48 drivers/gpu/drm/i915/gt/intel_gt_irq.c 	raw_reg_write(regs, GEN11_IIR_REG_SELECTOR(bank), BIT(bit));
regs               56 drivers/gpu/drm/i915/gt/intel_gt_irq.c 		ident = raw_reg_read(regs, GEN11_INTR_IDENTITY_REG(bank));
regs               66 drivers/gpu/drm/i915/gt/intel_gt_irq.c 	raw_reg_write(regs, GEN11_INTR_IDENTITY_REG(bank),
regs              127 drivers/gpu/drm/i915/gt/intel_gt_irq.c 	void __iomem * const regs = gt->uncore->regs;
regs              133 drivers/gpu/drm/i915/gt/intel_gt_irq.c 	intr_dw = raw_reg_read(regs, GEN11_GT_INTR_DW(bank));
regs              142 drivers/gpu/drm/i915/gt/intel_gt_irq.c 	raw_reg_write(regs, GEN11_GT_INTR_DW(bank), intr_dw);
regs              162 drivers/gpu/drm/i915/gt/intel_gt_irq.c 	void __iomem * const regs = gt->uncore->regs;
regs              167 drivers/gpu/drm/i915/gt/intel_gt_irq.c 	dw = raw_reg_read(regs, GEN11_GT_INTR_DW(bank));
regs              181 drivers/gpu/drm/i915/gt/intel_gt_irq.c 		raw_reg_write(regs, GEN11_GT_INTR_DW(bank), BIT(bit));
regs              290 drivers/gpu/drm/i915/gt/intel_gt_irq.c 	void __iomem * const regs = gt->uncore->regs;
regs              293 drivers/gpu/drm/i915/gt/intel_gt_irq.c 		gt_iir[0] = raw_reg_read(regs, GEN8_GT_IIR(0));
regs              295 drivers/gpu/drm/i915/gt/intel_gt_irq.c 			raw_reg_write(regs, GEN8_GT_IIR(0), gt_iir[0]);
regs              299 drivers/gpu/drm/i915/gt/intel_gt_irq.c 		gt_iir[1] = raw_reg_read(regs, GEN8_GT_IIR(1));
regs              301 drivers/gpu/drm/i915/gt/intel_gt_irq.c 			raw_reg_write(regs, GEN8_GT_IIR(1), gt_iir[1]);
regs              305 drivers/gpu/drm/i915/gt/intel_gt_irq.c 		gt_iir[2] = raw_reg_read(regs, GEN8_GT_IIR(2));
regs              307 drivers/gpu/drm/i915/gt/intel_gt_irq.c 			raw_reg_write(regs, GEN8_GT_IIR(2), gt_iir[2]);
regs              311 drivers/gpu/drm/i915/gt/intel_gt_irq.c 		gt_iir[3] = raw_reg_read(regs, GEN8_GT_IIR(3));
regs              313 drivers/gpu/drm/i915/gt/intel_gt_irq.c 			raw_reg_write(regs, GEN8_GT_IIR(3), gt_iir[3]);
regs              838 drivers/gpu/drm/i915/gt/intel_lrc.c static void virtual_update_register_offsets(u32 *regs,
regs              845 drivers/gpu/drm/i915/gt/intel_lrc.c 	regs[CTX_CONTEXT_CONTROL] =
regs              847 drivers/gpu/drm/i915/gt/intel_lrc.c 	regs[CTX_RING_HEAD] = i915_mmio_reg_offset(RING_HEAD(base));
regs              848 drivers/gpu/drm/i915/gt/intel_lrc.c 	regs[CTX_RING_TAIL] = i915_mmio_reg_offset(RING_TAIL(base));
regs              849 drivers/gpu/drm/i915/gt/intel_lrc.c 	regs[CTX_RING_BUFFER_START] = i915_mmio_reg_offset(RING_START(base));
regs              850 drivers/gpu/drm/i915/gt/intel_lrc.c 	regs[CTX_RING_BUFFER_CONTROL] = i915_mmio_reg_offset(RING_CTL(base));
regs              852 drivers/gpu/drm/i915/gt/intel_lrc.c 	regs[CTX_BB_HEAD_U] = i915_mmio_reg_offset(RING_BBADDR_UDW(base));
regs              853 drivers/gpu/drm/i915/gt/intel_lrc.c 	regs[CTX_BB_HEAD_L] = i915_mmio_reg_offset(RING_BBADDR(base));
regs              854 drivers/gpu/drm/i915/gt/intel_lrc.c 	regs[CTX_BB_STATE] = i915_mmio_reg_offset(RING_BBSTATE(base));
regs              855 drivers/gpu/drm/i915/gt/intel_lrc.c 	regs[CTX_SECOND_BB_HEAD_U] =
regs              857 drivers/gpu/drm/i915/gt/intel_lrc.c 	regs[CTX_SECOND_BB_HEAD_L] = i915_mmio_reg_offset(RING_SBBADDR(base));
regs              858 drivers/gpu/drm/i915/gt/intel_lrc.c 	regs[CTX_SECOND_BB_STATE] = i915_mmio_reg_offset(RING_SBBSTATE(base));
regs              860 drivers/gpu/drm/i915/gt/intel_lrc.c 	regs[CTX_CTX_TIMESTAMP] =
regs              862 drivers/gpu/drm/i915/gt/intel_lrc.c 	regs[CTX_PDP3_UDW] = i915_mmio_reg_offset(GEN8_RING_PDP_UDW(base, 3));
regs              863 drivers/gpu/drm/i915/gt/intel_lrc.c 	regs[CTX_PDP3_LDW] = i915_mmio_reg_offset(GEN8_RING_PDP_LDW(base, 3));
regs              864 drivers/gpu/drm/i915/gt/intel_lrc.c 	regs[CTX_PDP2_UDW] = i915_mmio_reg_offset(GEN8_RING_PDP_UDW(base, 2));
regs              865 drivers/gpu/drm/i915/gt/intel_lrc.c 	regs[CTX_PDP2_LDW] = i915_mmio_reg_offset(GEN8_RING_PDP_LDW(base, 2));
regs              866 drivers/gpu/drm/i915/gt/intel_lrc.c 	regs[CTX_PDP1_UDW] = i915_mmio_reg_offset(GEN8_RING_PDP_UDW(base, 1));
regs              867 drivers/gpu/drm/i915/gt/intel_lrc.c 	regs[CTX_PDP1_LDW] = i915_mmio_reg_offset(GEN8_RING_PDP_LDW(base, 1));
regs              868 drivers/gpu/drm/i915/gt/intel_lrc.c 	regs[CTX_PDP0_UDW] = i915_mmio_reg_offset(GEN8_RING_PDP_UDW(base, 0));
regs              869 drivers/gpu/drm/i915/gt/intel_lrc.c 	regs[CTX_PDP0_LDW] = i915_mmio_reg_offset(GEN8_RING_PDP_LDW(base, 0));
regs              872 drivers/gpu/drm/i915/gt/intel_lrc.c 		regs[CTX_RCS_INDIRECT_CTX] =
regs              874 drivers/gpu/drm/i915/gt/intel_lrc.c 		regs[CTX_RCS_INDIRECT_CTX_OFFSET] =
regs              876 drivers/gpu/drm/i915/gt/intel_lrc.c 		regs[CTX_BB_PER_CTX_PTR] =
regs              879 drivers/gpu/drm/i915/gt/intel_lrc.c 		regs[CTX_R_PWR_CLK_STATE] =
regs             1217 drivers/gpu/drm/i915/gt/intel_lrc.c 				u32 *regs = ve->context.lrc_reg_state;
regs             1221 drivers/gpu/drm/i915/gt/intel_lrc.c 				virtual_update_register_offsets(regs, engine);
regs             1767 drivers/gpu/drm/i915/gt/intel_lrc.c 	u32 *regs = ce->lrc_reg_state;
regs             1772 drivers/gpu/drm/i915/gt/intel_lrc.c 	regs[CTX_RING_BUFFER_START + 1] = i915_ggtt_offset(ring->vma);
regs             1773 drivers/gpu/drm/i915/gt/intel_lrc.c 	regs[CTX_RING_HEAD + 1] = ring->head;
regs             1774 drivers/gpu/drm/i915/gt/intel_lrc.c 	regs[CTX_RING_TAIL + 1] = ring->tail;
regs             1778 drivers/gpu/drm/i915/gt/intel_lrc.c 		regs[CTX_R_PWR_CLK_STATE + 1] =
regs             1781 drivers/gpu/drm/i915/gt/intel_lrc.c 		i915_oa_init_reg_state(engine, ce, regs);
regs             2464 drivers/gpu/drm/i915/gt/intel_lrc.c 	u32 *regs;
regs             2529 drivers/gpu/drm/i915/gt/intel_lrc.c 	regs = ce->lrc_reg_state;
regs             2531 drivers/gpu/drm/i915/gt/intel_lrc.c 		memcpy(regs, /* skip restoring the vanilla PPHWSP */
regs             2535 drivers/gpu/drm/i915/gt/intel_lrc.c 	execlists_init_reg_state(regs, ce, engine, ce->ring);
regs             3130 drivers/gpu/drm/i915/gt/intel_lrc.c 		execlists->submit_reg = uncore->regs +
regs             3132 drivers/gpu/drm/i915/gt/intel_lrc.c 		execlists->ctrl_reg = uncore->regs +
regs             3135 drivers/gpu/drm/i915/gt/intel_lrc.c 		execlists->submit_reg = uncore->regs +
regs             3188 drivers/gpu/drm/i915/gt/intel_lrc.c static void execlists_init_reg_state(u32 *regs,
regs             3207 drivers/gpu/drm/i915/gt/intel_lrc.c 	regs[CTX_LRI_HEADER_0] = MI_LOAD_REGISTER_IMM(rcs ? 14 : 11) |
regs             3210 drivers/gpu/drm/i915/gt/intel_lrc.c 	CTX_REG(regs, CTX_CONTEXT_CONTROL, RING_CONTEXT_CONTROL(base),
regs             3214 drivers/gpu/drm/i915/gt/intel_lrc.c 		regs[CTX_CONTEXT_CONTROL + 1] |=
regs             3218 drivers/gpu/drm/i915/gt/intel_lrc.c 	CTX_REG(regs, CTX_RING_HEAD, RING_HEAD(base), 0);
regs             3219 drivers/gpu/drm/i915/gt/intel_lrc.c 	CTX_REG(regs, CTX_RING_TAIL, RING_TAIL(base), 0);
regs             3220 drivers/gpu/drm/i915/gt/intel_lrc.c 	CTX_REG(regs, CTX_RING_BUFFER_START, RING_START(base), 0);
regs             3221 drivers/gpu/drm/i915/gt/intel_lrc.c 	CTX_REG(regs, CTX_RING_BUFFER_CONTROL, RING_CTL(base),
regs             3223 drivers/gpu/drm/i915/gt/intel_lrc.c 	CTX_REG(regs, CTX_BB_HEAD_U, RING_BBADDR_UDW(base), 0);
regs             3224 drivers/gpu/drm/i915/gt/intel_lrc.c 	CTX_REG(regs, CTX_BB_HEAD_L, RING_BBADDR(base), 0);
regs             3225 drivers/gpu/drm/i915/gt/intel_lrc.c 	CTX_REG(regs, CTX_BB_STATE, RING_BBSTATE(base), RING_BB_PPGTT);
regs             3226 drivers/gpu/drm/i915/gt/intel_lrc.c 	CTX_REG(regs, CTX_SECOND_BB_HEAD_U, RING_SBBADDR_UDW(base), 0);
regs             3227 drivers/gpu/drm/i915/gt/intel_lrc.c 	CTX_REG(regs, CTX_SECOND_BB_HEAD_L, RING_SBBADDR(base), 0);
regs             3228 drivers/gpu/drm/i915/gt/intel_lrc.c 	CTX_REG(regs, CTX_SECOND_BB_STATE, RING_SBBSTATE(base), 0);
regs             3232 drivers/gpu/drm/i915/gt/intel_lrc.c 		CTX_REG(regs, CTX_RCS_INDIRECT_CTX, RING_INDIRECT_CTX(base), 0);
regs             3233 drivers/gpu/drm/i915/gt/intel_lrc.c 		CTX_REG(regs, CTX_RCS_INDIRECT_CTX_OFFSET,
regs             3238 drivers/gpu/drm/i915/gt/intel_lrc.c 			regs[CTX_RCS_INDIRECT_CTX + 1] =
regs             3242 drivers/gpu/drm/i915/gt/intel_lrc.c 			regs[CTX_RCS_INDIRECT_CTX_OFFSET + 1] =
regs             3246 drivers/gpu/drm/i915/gt/intel_lrc.c 		CTX_REG(regs, CTX_BB_PER_CTX_PTR, RING_BB_PER_CTX_PTR(base), 0);
regs             3250 drivers/gpu/drm/i915/gt/intel_lrc.c 			regs[CTX_BB_PER_CTX_PTR + 1] =
regs             3255 drivers/gpu/drm/i915/gt/intel_lrc.c 	regs[CTX_LRI_HEADER_1] = MI_LOAD_REGISTER_IMM(9) | MI_LRI_FORCE_POSTED;
regs             3257 drivers/gpu/drm/i915/gt/intel_lrc.c 	CTX_REG(regs, CTX_CTX_TIMESTAMP, RING_CTX_TIMESTAMP(base), 0);
regs             3259 drivers/gpu/drm/i915/gt/intel_lrc.c 	CTX_REG(regs, CTX_PDP3_UDW, GEN8_RING_PDP_UDW(base, 3), 0);
regs             3260 drivers/gpu/drm/i915/gt/intel_lrc.c 	CTX_REG(regs, CTX_PDP3_LDW, GEN8_RING_PDP_LDW(base, 3), 0);
regs             3261 drivers/gpu/drm/i915/gt/intel_lrc.c 	CTX_REG(regs, CTX_PDP2_UDW, GEN8_RING_PDP_UDW(base, 2), 0);
regs             3262 drivers/gpu/drm/i915/gt/intel_lrc.c 	CTX_REG(regs, CTX_PDP2_LDW, GEN8_RING_PDP_LDW(base, 2), 0);
regs             3263 drivers/gpu/drm/i915/gt/intel_lrc.c 	CTX_REG(regs, CTX_PDP1_UDW, GEN8_RING_PDP_UDW(base, 1), 0);
regs             3264 drivers/gpu/drm/i915/gt/intel_lrc.c 	CTX_REG(regs, CTX_PDP1_LDW, GEN8_RING_PDP_LDW(base, 1), 0);
regs             3265 drivers/gpu/drm/i915/gt/intel_lrc.c 	CTX_REG(regs, CTX_PDP0_UDW, GEN8_RING_PDP_UDW(base, 0), 0);
regs             3266 drivers/gpu/drm/i915/gt/intel_lrc.c 	CTX_REG(regs, CTX_PDP0_LDW, GEN8_RING_PDP_LDW(base, 0), 0);
regs             3273 drivers/gpu/drm/i915/gt/intel_lrc.c 		ASSIGN_CTX_PML4(ppgtt, regs);
regs             3275 drivers/gpu/drm/i915/gt/intel_lrc.c 		ASSIGN_CTX_PDP(ppgtt, regs, 3);
regs             3276 drivers/gpu/drm/i915/gt/intel_lrc.c 		ASSIGN_CTX_PDP(ppgtt, regs, 2);
regs             3277 drivers/gpu/drm/i915/gt/intel_lrc.c 		ASSIGN_CTX_PDP(ppgtt, regs, 1);
regs             3278 drivers/gpu/drm/i915/gt/intel_lrc.c 		ASSIGN_CTX_PDP(ppgtt, regs, 0);
regs             3282 drivers/gpu/drm/i915/gt/intel_lrc.c 		regs[CTX_LRI_HEADER_2] = MI_LOAD_REGISTER_IMM(1);
regs             3283 drivers/gpu/drm/i915/gt/intel_lrc.c 		CTX_REG(regs, CTX_R_PWR_CLK_STATE, GEN8_R_PWR_CLK_STATE, 0);
regs             3286 drivers/gpu/drm/i915/gt/intel_lrc.c 	regs[CTX_END] = MI_BATCH_BUFFER_END;
regs             3288 drivers/gpu/drm/i915/gt/intel_lrc.c 		regs[CTX_END] |= BIT(0);
regs             3298 drivers/gpu/drm/i915/gt/intel_lrc.c 	u32 *regs;
regs             3332 drivers/gpu/drm/i915/gt/intel_lrc.c 	regs = vaddr + LRC_STATE_PN * PAGE_SIZE;
regs             3333 drivers/gpu/drm/i915/gt/intel_lrc.c 	execlists_init_reg_state(regs, ce, engine, ring);
regs             3335 drivers/gpu/drm/i915/gt/intel_lrc.c 		regs[CTX_CONTEXT_CONTROL + 1] |=
regs             4011 drivers/gpu/drm/i915/gt/intel_lrc.c 		u32 *regs = ce->lrc_reg_state;
regs             4014 drivers/gpu/drm/i915/gt/intel_lrc.c 			memcpy(regs, /* skip restoring the vanilla PPHWSP */
regs             4018 drivers/gpu/drm/i915/gt/intel_lrc.c 		execlists_init_reg_state(regs, ce, engine, ce->ring);
regs              140 drivers/gpu/drm/i915/gvt/aperture_gm.c 	reg = vgpu->fence.regs[fence];
regs              178 drivers/gpu/drm/i915/gvt/aperture_gm.c 		reg = vgpu->fence.regs[i];
regs              180 drivers/gpu/drm/i915/gvt/aperture_gm.c 		vgpu->fence.regs[i] = NULL;
regs              205 drivers/gpu/drm/i915/gvt/aperture_gm.c 		vgpu->fence.regs[i] = reg;
regs              217 drivers/gpu/drm/i915/gvt/aperture_gm.c 		reg = vgpu->fence.regs[i];
regs              221 drivers/gpu/drm/i915/gvt/aperture_gm.c 		vgpu->fence.regs[i] = NULL;
regs               90 drivers/gpu/drm/i915/gvt/gvt.h 	struct i915_fence_reg *regs[INTEL_GVT_MAX_NUM_FENCES];
regs              441 drivers/gpu/drm/i915/gvt/kvmgt.c 	struct vfio_region_gfx_edid *regs = &region->vfio_edid_regs;
regs              444 drivers/gpu/drm/i915/gvt/kvmgt.c 	if (offset + count > sizeof(*regs))
regs              468 drivers/gpu/drm/i915/gvt/kvmgt.c 					regs->link_state);
regs              471 drivers/gpu/drm/i915/gvt/kvmgt.c 			regs->link_state = data;
regs              474 drivers/gpu/drm/i915/gvt/kvmgt.c 			if (data > regs->edid_max_size) {
regs              476 drivers/gpu/drm/i915/gvt/kvmgt.c 					regs->edid_max_size);
regs              479 drivers/gpu/drm/i915/gvt/kvmgt.c 			regs->edid_size = data;
regs              488 drivers/gpu/drm/i915/gvt/kvmgt.c 		memcpy(buf, (char *)regs + offset, count);
regs              164 drivers/gpu/drm/i915/gvt/mmio_context.c 	u32 *regs = gvt->engine_mmio_list.mocs_mmio_offset_list;
regs              168 drivers/gpu/drm/i915/gvt/mmio_context.c 	if (!regs)
regs              174 drivers/gpu/drm/i915/gvt/mmio_context.c 		offset.reg = regs[ring_id];
regs              351 drivers/gpu/drm/i915/gvt/mmio_context.c 	u32 *regs = vgpu->gvt->engine_mmio_list.tlb_mmio_offset_list;
regs              356 drivers/gpu/drm/i915/gvt/mmio_context.c 	if (!regs)
regs              365 drivers/gpu/drm/i915/gvt/mmio_context.c 	reg = _MMIO(regs[ring_id]);
regs              398 drivers/gpu/drm/i915/gvt/mmio_context.c 	u32 regs[] = {
regs              408 drivers/gpu/drm/i915/gvt/mmio_context.c 	if (WARN_ON(ring_id >= ARRAY_SIZE(regs)))
regs              417 drivers/gpu/drm/i915/gvt/mmio_context.c 	offset.reg = regs[ring_id];
regs              694 drivers/gpu/drm/i915/i915_cmd_parser.c 	const struct drm_i915_reg_descriptor *regs;
regs              852 drivers/gpu/drm/i915/i915_cmd_parser.c 		if (!check_sorted(engine, table->regs, table->num_regs))
regs             1122 drivers/gpu/drm/i915/i915_cmd_parser.c 		reg = __find_reg(table->regs, table->num_regs, addr);
regs             2805 drivers/gpu/drm/i915/i915_irq.c static inline u32 gen8_master_intr_disable(void __iomem * const regs)
regs             2807 drivers/gpu/drm/i915/i915_irq.c 	raw_reg_write(regs, GEN8_MASTER_IRQ, 0);
regs             2815 drivers/gpu/drm/i915/i915_irq.c 	return raw_reg_read(regs, GEN8_MASTER_IRQ);
regs             2818 drivers/gpu/drm/i915/i915_irq.c static inline void gen8_master_intr_enable(void __iomem * const regs)
regs             2820 drivers/gpu/drm/i915/i915_irq.c 	raw_reg_write(regs, GEN8_MASTER_IRQ, GEN8_MASTER_IRQ_CONTROL);
regs             2826 drivers/gpu/drm/i915/i915_irq.c 	void __iomem * const regs = dev_priv->uncore.regs;
regs             2833 drivers/gpu/drm/i915/i915_irq.c 	master_ctl = gen8_master_intr_disable(regs);
regs             2835 drivers/gpu/drm/i915/i915_irq.c 		gen8_master_intr_enable(regs);
regs             2849 drivers/gpu/drm/i915/i915_irq.c 	gen8_master_intr_enable(regs);
regs             2859 drivers/gpu/drm/i915/i915_irq.c 	void __iomem * const regs = gt->uncore->regs;
regs             2865 drivers/gpu/drm/i915/i915_irq.c 	iir = raw_reg_read(regs, GEN11_GU_MISC_IIR);
regs             2867 drivers/gpu/drm/i915/i915_irq.c 		raw_reg_write(regs, GEN11_GU_MISC_IIR, iir);
regs             2879 drivers/gpu/drm/i915/i915_irq.c static inline u32 gen11_master_intr_disable(void __iomem * const regs)
regs             2881 drivers/gpu/drm/i915/i915_irq.c 	raw_reg_write(regs, GEN11_GFX_MSTR_IRQ, 0);
regs             2889 drivers/gpu/drm/i915/i915_irq.c 	return raw_reg_read(regs, GEN11_GFX_MSTR_IRQ);
regs             2892 drivers/gpu/drm/i915/i915_irq.c static inline void gen11_master_intr_enable(void __iomem * const regs)
regs             2894 drivers/gpu/drm/i915/i915_irq.c 	raw_reg_write(regs, GEN11_GFX_MSTR_IRQ, GEN11_MASTER_IRQ);
regs             2900 drivers/gpu/drm/i915/i915_irq.c 	void __iomem * const regs = i915->uncore.regs;
regs             2908 drivers/gpu/drm/i915/i915_irq.c 	master_ctl = gen11_master_intr_disable(regs);
regs             2910 drivers/gpu/drm/i915/i915_irq.c 		gen11_master_intr_enable(regs);
regs             2919 drivers/gpu/drm/i915/i915_irq.c 		const u32 disp_ctl = raw_reg_read(regs, GEN11_DISPLAY_INT_CTL);
regs             2932 drivers/gpu/drm/i915/i915_irq.c 	gen11_master_intr_enable(regs);
regs             3251 drivers/gpu/drm/i915/i915_irq.c 	gen8_master_intr_disable(dev_priv->uncore.regs);
regs             3276 drivers/gpu/drm/i915/i915_irq.c 	gen11_master_intr_disable(dev_priv->uncore.regs);
regs             3839 drivers/gpu/drm/i915/i915_irq.c 	gen8_master_intr_enable(dev_priv->uncore.regs);
regs             3878 drivers/gpu/drm/i915/i915_irq.c 	gen11_master_intr_enable(uncore->regs);
regs             1565 drivers/gpu/drm/i915/i915_perf.c 			   const struct i915_oa_reg *regs,
regs             1571 drivers/gpu/drm/i915/i915_perf.c 		const struct i915_oa_reg *reg = regs + i;
regs             1866 drivers/gpu/drm/i915/i915_perf.c 	struct flex regs[] = {
regs             1891 drivers/gpu/drm/i915/i915_perf.c 	for (i = 2; i < ARRAY_SIZE(regs); i++)
regs             1892 drivers/gpu/drm/i915/i915_perf.c 		regs[i].value = oa_config_flex_reg(oa_config, regs[i].reg);
regs             1918 drivers/gpu/drm/i915/i915_perf.c 		err = gen8_configure_context(ctx, regs, ARRAY_SIZE(regs));
regs             1935 drivers/gpu/drm/i915/i915_perf.c 		regs[0].value = intel_sseu_make_rpcs(i915, &ce->sseu);
regs             1937 drivers/gpu/drm/i915/i915_perf.c 		err = gen8_modify_self(ce, regs, ARRAY_SIZE(regs));
regs             2303 drivers/gpu/drm/i915/i915_perf.c 			    u32 *regs)
regs             2312 drivers/gpu/drm/i915/i915_perf.c 		gen8_update_reg_state_unlocked(stream, ce, regs, stream->oa_config);
regs             3219 drivers/gpu/drm/i915/i915_perf.c 					 u32 __user *regs,
regs             3229 drivers/gpu/drm/i915/i915_perf.c 	if (!access_ok(regs, n_regs * sizeof(u32) * 2))
regs             3244 drivers/gpu/drm/i915/i915_perf.c 		err = get_user(addr, regs);
regs             3254 drivers/gpu/drm/i915/i915_perf.c 		err = get_user(value, regs + 1);
regs             3261 drivers/gpu/drm/i915/i915_perf.c 		regs += 2;
regs              953 drivers/gpu/drm/i915/intel_uncore.c 	const i915_reg_t *regs = gen##x##_shadowed_regs; \
regs              954 drivers/gpu/drm/i915/intel_uncore.c 	return BSEARCH(offset, regs, ARRAY_SIZE(gen##x##_shadowed_regs), \
regs             1379 drivers/gpu/drm/i915/intel_uncore.c 	d->reg_set = uncore->regs + i915_mmio_reg_offset(reg_set);
regs             1380 drivers/gpu/drm/i915/intel_uncore.c 	d->reg_ack = uncore->regs + i915_mmio_reg_offset(reg_ack);
regs             1620 drivers/gpu/drm/i915/intel_uncore.c 	uncore->regs = pci_iomap(pdev, mmio_bar, mmio_size);
regs             1621 drivers/gpu/drm/i915/intel_uncore.c 	if (uncore->regs == NULL) {
regs             1634 drivers/gpu/drm/i915/intel_uncore.c 	pci_iounmap(pdev, uncore->regs);
regs              110 drivers/gpu/drm/i915/intel_uncore.h 	void __iomem *regs;
regs              264 drivers/gpu/drm/i915/intel_uncore.h 	return read##s__(uncore->regs + i915_mmio_reg_offset(reg)); \
regs              271 drivers/gpu/drm/i915/intel_uncore.h 	write##s__(val, uncore->regs + i915_mmio_reg_offset(reg)); \
regs               65 drivers/gpu/drm/i915/selftests/intel_uncore.c 		const i915_reg_t *regs;
regs               76 drivers/gpu/drm/i915/selftests/intel_uncore.c 		reg = reg_lists[j].regs;
regs              191 drivers/gpu/drm/i915/selftests/intel_uncore.c 		u32 __iomem *reg = uncore->regs + engine->mmio_base + r->offset;
regs               71 drivers/gpu/drm/mcde/mcde_display.c 	mispp = readl(mcde->regs + MCDE_MISPP);
regs               72 drivers/gpu/drm/mcde/mcde_display.c 	misovl = readl(mcde->regs + MCDE_MISOVL);
regs               73 drivers/gpu/drm/mcde/mcde_display.c 	mischnl = readl(mcde->regs + MCDE_MISCHNL);
regs               97 drivers/gpu/drm/mcde/mcde_display.c 				val = readl(mcde->regs + MCDE_CRA0);
regs               99 drivers/gpu/drm/mcde/mcde_display.c 				writel(val, mcde->regs + MCDE_CRA0);
regs              122 drivers/gpu/drm/mcde/mcde_display.c 	writel(mispp, mcde->regs + MCDE_RISPP);
regs              129 drivers/gpu/drm/mcde/mcde_display.c 	writel(misovl, mcde->regs + MCDE_RISOVL);
regs              134 drivers/gpu/drm/mcde/mcde_display.c 	writel(mischnl, mcde->regs + MCDE_RISCHNL);
regs              140 drivers/gpu/drm/mcde/mcde_display.c 	writel(0, mcde->regs + MCDE_IMSCPP);
regs              141 drivers/gpu/drm/mcde/mcde_display.c 	writel(0, mcde->regs + MCDE_IMSCOVL);
regs              142 drivers/gpu/drm/mcde/mcde_display.c 	writel(0, mcde->regs + MCDE_IMSCCHNL);
regs              145 drivers/gpu/drm/mcde/mcde_display.c 	writel(0xFFFFFFFF, mcde->regs + MCDE_RISPP);
regs              146 drivers/gpu/drm/mcde/mcde_display.c 	writel(0xFFFFFFFF, mcde->regs + MCDE_RISOVL);
regs              147 drivers/gpu/drm/mcde/mcde_display.c 	writel(0xFFFFFFFF, mcde->regs + MCDE_RISCHNL);
regs              322 drivers/gpu/drm/mcde/mcde_display.c 	writel(val, mcde->regs + conf);
regs              327 drivers/gpu/drm/mcde/mcde_display.c 	writel(val, mcde->regs + cr);
regs              401 drivers/gpu/drm/mcde/mcde_display.c 	writel(val, mcde->regs + conf1);
regs              431 drivers/gpu/drm/mcde/mcde_display.c 	writel(val, mcde->regs + conf2);
regs              434 drivers/gpu/drm/mcde/mcde_display.c 	writel(mcde->stride, mcde->regs + ljinc);
regs              436 drivers/gpu/drm/mcde/mcde_display.c 	writel(0, mcde->regs + crop);
regs              448 drivers/gpu/drm/mcde/mcde_display.c 	writel(val, mcde->regs + cr);
regs              455 drivers/gpu/drm/mcde/mcde_display.c 	writel(val, mcde->regs + comp);
regs              519 drivers/gpu/drm/mcde/mcde_display.c 	writel(val, mcde->regs + sync);
regs              524 drivers/gpu/drm/mcde/mcde_display.c 	writel(val, mcde->regs + conf);
regs              532 drivers/gpu/drm/mcde/mcde_display.c 	writel(val, mcde->regs + stat);
regs              533 drivers/gpu/drm/mcde/mcde_display.c 	writel(0, mcde->regs + bgcol);
regs              539 drivers/gpu/drm/mcde/mcde_display.c 		       mcde->regs + mux);
regs              543 drivers/gpu/drm/mcde/mcde_display.c 		       mcde->regs + mux);
regs              576 drivers/gpu/drm/mcde/mcde_display.c 	writel(val, mcde->regs + ctrl);
regs              581 drivers/gpu/drm/mcde/mcde_display.c 	writel(val, mcde->regs + cr0);
regs              589 drivers/gpu/drm/mcde/mcde_display.c 	writel(val, mcde->regs + cr1);
regs              663 drivers/gpu/drm/mcde/mcde_display.c 	writel(val, mcde->regs + conf0);
regs              665 drivers/gpu/drm/mcde/mcde_display.c 	writel(formatter_frame, mcde->regs + frame);
regs              666 drivers/gpu/drm/mcde/mcde_display.c 	writel(pkt_size, mcde->regs + pkt);
regs              667 drivers/gpu/drm/mcde/mcde_display.c 	writel(0, mcde->regs + sync);
regs              673 drivers/gpu/drm/mcde/mcde_display.c 	writel(val, mcde->regs + cmdw);
regs              679 drivers/gpu/drm/mcde/mcde_display.c 	writel(0, mcde->regs + delay0);
regs              680 drivers/gpu/drm/mcde/mcde_display.c 	writel(0, mcde->regs + delay1);
regs              702 drivers/gpu/drm/mcde/mcde_display.c 	val = readl(mcde->regs + cr);
regs              704 drivers/gpu/drm/mcde/mcde_display.c 	writel(val, mcde->regs + cr);
regs              730 drivers/gpu/drm/mcde/mcde_display.c 	val = readl(mcde->regs + cr);
regs              732 drivers/gpu/drm/mcde/mcde_display.c 	writel(val, mcde->regs + cr);
regs              740 drivers/gpu/drm/mcde/mcde_display.c 	while (readl(mcde->regs + cr) & MCDE_CRX0_FLOEN) {
regs              785 drivers/gpu/drm/mcde/mcde_display.c 	val = readl(mcde->regs + ctrl);
regs              791 drivers/gpu/drm/mcde/mcde_display.c 		writel(MCDE_CHNLXSYNCHSW_SW_TRIG, mcde->regs + synsw);
regs              932 drivers/gpu/drm/mcde/mcde_display.c 		writel(val, mcde->regs + MCDE_VSCRC0);
regs              934 drivers/gpu/drm/mcde/mcde_display.c 		val = readl(mcde->regs + MCDE_CRC);
regs              936 drivers/gpu/drm/mcde/mcde_display.c 		writel(val, mcde->regs + MCDE_CRC);
regs              981 drivers/gpu/drm/mcde/mcde_display.c 	       mcde->regs + MCDE_CHNL0SYNCHSW);
regs              998 drivers/gpu/drm/mcde/mcde_display.c 	writel(buffer_address, mcde->regs + MCDE_EXTSRCXA0);
regs             1003 drivers/gpu/drm/mcde/mcde_display.c 	writel(buffer_address + mcde->stride, mcde->regs + MCDE_EXTSRCXA1);
regs             1078 drivers/gpu/drm/mcde/mcde_display.c 	writel(val, mcde->regs + MCDE_IMSCPP);
regs             1090 drivers/gpu/drm/mcde/mcde_display.c 	writel(0, mcde->regs + MCDE_IMSCPP);
regs             1092 drivers/gpu/drm/mcde/mcde_display.c 	writel(0xFFFFFFFF, mcde->regs + MCDE_RISPP);
regs               26 drivers/gpu/drm/mcde/mcde_drm.h 	void __iomem *regs;
regs              151 drivers/gpu/drm/mcde/mcde_drv.c 	val = readl(mcde->regs + MCDE_MISERR);
regs              157 drivers/gpu/drm/mcde/mcde_drv.c 	writel(val, mcde->regs + MCDE_RISERR);
regs              404 drivers/gpu/drm/mcde/mcde_drv.c 	mcde->regs = devm_ioremap_resource(dev, res);
regs              405 drivers/gpu/drm/mcde/mcde_drv.c 	if (IS_ERR(mcde->regs)) {
regs              429 drivers/gpu/drm/mcde/mcde_drv.c 	pid = readl(mcde->regs + MCDE_PID);
regs              458 drivers/gpu/drm/mcde/mcde_drv.c 	writel(val, mcde->regs + MCDE_CONF0);
regs              461 drivers/gpu/drm/mcde/mcde_drv.c 	val = readl(mcde->regs + MCDE_CR);
regs              463 drivers/gpu/drm/mcde/mcde_drv.c 	writel(val, mcde->regs + MCDE_CR);
regs              467 drivers/gpu/drm/mcde/mcde_drv.c 	writel(0, mcde->regs + MCDE_IMSCERR);
regs              468 drivers/gpu/drm/mcde/mcde_drv.c 	writel(0xFFFFFFFF, mcde->regs + MCDE_RISERR);
regs               53 drivers/gpu/drm/mcde/mcde_dsi.c 	void __iomem *regs;
regs               82 drivers/gpu/drm/mcde/mcde_dsi.c 	val = readl(d->regs + DSI_DIRECT_CMD_STS_FLAG);
regs               96 drivers/gpu/drm/mcde/mcde_dsi.c 	writel(val, d->regs + DSI_DIRECT_CMD_STS_CLR);
regs               98 drivers/gpu/drm/mcde/mcde_dsi.c 	val = readl(d->regs + DSI_CMD_MODE_STS_FLAG);
regs              113 drivers/gpu/drm/mcde/mcde_dsi.c 	writel(val, d->regs + DSI_CMD_MODE_STS_CLR);
regs              115 drivers/gpu/drm/mcde/mcde_dsi.c 	val = readl(d->regs + DSI_DIRECT_CMD_RD_STS_FLAG);
regs              118 drivers/gpu/drm/mcde/mcde_dsi.c 	writel(val, d->regs + DSI_DIRECT_CMD_RD_STS_CLR);
regs              120 drivers/gpu/drm/mcde/mcde_dsi.c 	val = readl(d->regs + DSI_TG_STS_FLAG);
regs              123 drivers/gpu/drm/mcde/mcde_dsi.c 	writel(val, d->regs + DSI_TG_STS_CLR);
regs              125 drivers/gpu/drm/mcde/mcde_dsi.c 	val = readl(d->regs + DSI_VID_MODE_STS_FLAG);
regs              128 drivers/gpu/drm/mcde/mcde_dsi.c 	writel(val, d->regs + DSI_VID_MODE_STS_CLR);
regs              220 drivers/gpu/drm/mcde/mcde_dsi.c 	writel(val, d->regs + DSI_DIRECT_CMD_MAIN_SETTINGS);
regs              228 drivers/gpu/drm/mcde/mcde_dsi.c 	writel(val, d->regs + DSI_DIRECT_CMD_WRDAT0);
regs              233 drivers/gpu/drm/mcde/mcde_dsi.c 		writel(val, d->regs + DSI_DIRECT_CMD_WRDAT1);
regs              239 drivers/gpu/drm/mcde/mcde_dsi.c 		writel(val, d->regs + DSI_DIRECT_CMD_WRDAT2);
regs              245 drivers/gpu/drm/mcde/mcde_dsi.c 		writel(val, d->regs + DSI_DIRECT_CMD_WRDAT3);
regs              248 drivers/gpu/drm/mcde/mcde_dsi.c 	writel(~0, d->regs + DSI_DIRECT_CMD_STS_CLR);
regs              249 drivers/gpu/drm/mcde/mcde_dsi.c 	writel(~0, d->regs + DSI_CMD_MODE_STS_CLR);
regs              251 drivers/gpu/drm/mcde/mcde_dsi.c 	writel(1, d->regs + DSI_DIRECT_CMD_SEND);
regs              256 drivers/gpu/drm/mcde/mcde_dsi.c 		while (!(readl(d->regs + DSI_DIRECT_CMD_STS) &
regs              267 drivers/gpu/drm/mcde/mcde_dsi.c 		while (!(readl(d->regs + DSI_DIRECT_CMD_STS) &
regs              278 drivers/gpu/drm/mcde/mcde_dsi.c 	val = readl(d->regs + DSI_DIRECT_CMD_STS);
regs              281 drivers/gpu/drm/mcde/mcde_dsi.c 		writel(1, d->regs + DSI_DIRECT_CMD_RD_INIT);
regs              300 drivers/gpu/drm/mcde/mcde_dsi.c 		rdsz = readl(d->regs + DSI_DIRECT_CMD_RD_PROPERTY);
regs              302 drivers/gpu/drm/mcde/mcde_dsi.c 		rddat = readl(d->regs + DSI_DIRECT_CMD_RDDAT);
regs              314 drivers/gpu/drm/mcde/mcde_dsi.c 	writel(~0, d->regs + DSI_DIRECT_CMD_STS_CLR);
regs              315 drivers/gpu/drm/mcde/mcde_dsi.c 	writel(~0, d->regs + DSI_CMD_MODE_STS_CLR);
regs              341 drivers/gpu/drm/mcde/mcde_dsi.c 	writel(val, d->regs + DSI_DIRECT_CMD_MAIN_SETTINGS);
regs              346 drivers/gpu/drm/mcde/mcde_dsi.c 	       d->regs + DSI_DIRECT_CMD_STS_CLR);
regs              347 drivers/gpu/drm/mcde/mcde_dsi.c 	val = readl(d->regs + DSI_DIRECT_CMD_STS_CTL);
regs              350 drivers/gpu/drm/mcde/mcde_dsi.c 	writel(val, d->regs + DSI_DIRECT_CMD_STS_CTL);
regs              355 drivers/gpu/drm/mcde/mcde_dsi.c 	       d->regs + DSI_CMD_MODE_STS_CLR);
regs              356 drivers/gpu/drm/mcde/mcde_dsi.c 	val = readl(d->regs + DSI_CMD_MODE_STS_CTL);
regs              359 drivers/gpu/drm/mcde/mcde_dsi.c 	writel(val, d->regs + DSI_CMD_MODE_STS_CTL);
regs              362 drivers/gpu/drm/mcde/mcde_dsi.c 	writel(1, d->regs + DSI_DIRECT_CMD_SEND);
regs              420 drivers/gpu/drm/mcde/mcde_dsi.c 	writel(val, d->regs + DSI_VID_MAIN_CTL);
regs              433 drivers/gpu/drm/mcde/mcde_dsi.c 	writel(val, d->regs + DSI_VID_VSIZE);
regs              475 drivers/gpu/drm/mcde/mcde_dsi.c 	writel(val, d->regs + DSI_VID_HSIZE1);
regs              479 drivers/gpu/drm/mcde/mcde_dsi.c 	writel(val, d->regs + DSI_VID_HSIZE2);
regs              502 drivers/gpu/drm/mcde/mcde_dsi.c 		writel(val, d->regs + DSI_VID_BLKSIZE2);
regs              506 drivers/gpu/drm/mcde/mcde_dsi.c 		writel(val, d->regs + DSI_VID_BLKSIZE1);
regs              517 drivers/gpu/drm/mcde/mcde_dsi.c 	writel(val, d->regs + DSI_VID_DPHY_TIME);
regs              527 drivers/gpu/drm/mcde/mcde_dsi.c 		val = readl(d->regs + DSI_VID_BLKSIZE1);
regs              529 drivers/gpu/drm/mcde/mcde_dsi.c 		writel(val, d->regs + DSI_VID_BLKSIZE1);
regs              530 drivers/gpu/drm/mcde/mcde_dsi.c 		writel(blkeol_pck, d->regs + DSI_VID_VCA_SETTING2);
regs              532 drivers/gpu/drm/mcde/mcde_dsi.c 		writel(blkeol_duration, d->regs + DSI_VID_PCK_TIME);
regs              533 drivers/gpu/drm/mcde/mcde_dsi.c 		writel(blkeol_duration - 6, d->regs + DSI_VID_VCA_SETTING1);
regs              537 drivers/gpu/drm/mcde/mcde_dsi.c 	val = readl(d->regs + DSI_VID_VCA_SETTING2);
regs              540 drivers/gpu/drm/mcde/mcde_dsi.c 	writel(val, d->regs + DSI_VID_VCA_SETTING2);
regs              543 drivers/gpu/drm/mcde/mcde_dsi.c 	val = readl(d->regs + DSI_MCTL_MAIN_DATA_CTL);
regs              545 drivers/gpu/drm/mcde/mcde_dsi.c 	writel(val, d->regs + DSI_MCTL_MAIN_DATA_CTL);
regs              548 drivers/gpu/drm/mcde/mcde_dsi.c 	val = readl(d->regs + DSI_CMD_MODE_CTL);
regs              550 drivers/gpu/drm/mcde/mcde_dsi.c 	writel(val, d->regs + DSI_CMD_MODE_CTL);
regs              553 drivers/gpu/drm/mcde/mcde_dsi.c 	val = readl(d->regs + DSI_VID_MODE_STS_CTL);
regs              556 drivers/gpu/drm/mcde/mcde_dsi.c 	writel(val, d->regs + DSI_VID_MODE_STS_CTL);
regs              559 drivers/gpu/drm/mcde/mcde_dsi.c 	val = readl(d->regs + DSI_MCTL_MAIN_DATA_CTL);
regs              561 drivers/gpu/drm/mcde/mcde_dsi.c 	writel(val, d->regs + DSI_MCTL_MAIN_DATA_CTL);
regs              571 drivers/gpu/drm/mcde/mcde_dsi.c 	writel(0, d->regs + DSI_MCTL_INTEGRATION_MODE);
regs              580 drivers/gpu/drm/mcde/mcde_dsi.c 	writel(val, d->regs + DSI_MCTL_MAIN_DATA_CTL);
regs              584 drivers/gpu/drm/mcde/mcde_dsi.c 	writel(val, d->regs + DSI_CMD_MODE_CTL);
regs              597 drivers/gpu/drm/mcde/mcde_dsi.c 	writel(val, d->regs + DSI_MCTL_DPHY_STATIC);
regs              613 drivers/gpu/drm/mcde/mcde_dsi.c 	writel(val, d->regs + DSI_MCTL_MAIN_PHY_CTL);
regs              617 drivers/gpu/drm/mcde/mcde_dsi.c 	writel(val, d->regs + DSI_MCTL_ULPOUT_TIME);
regs              620 drivers/gpu/drm/mcde/mcde_dsi.c 	       d->regs + DSI_DPHY_LANES_TRIM);
regs              626 drivers/gpu/drm/mcde/mcde_dsi.c 	writel(val, d->regs + DSI_MCTL_DPHY_TIMEOUT);
regs              634 drivers/gpu/drm/mcde/mcde_dsi.c 	writel(val, d->regs + DSI_MCTL_MAIN_EN);
regs              643 drivers/gpu/drm/mcde/mcde_dsi.c 	while ((readl(d->regs + DSI_MCTL_MAIN_STS) & val) != val) {
regs              655 drivers/gpu/drm/mcde/mcde_dsi.c 	val = readl(d->regs + DSI_CMD_MODE_CTL);
regs              662 drivers/gpu/drm/mcde/mcde_dsi.c 	writel(val, d->regs + DSI_CMD_MODE_CTL);
regs              738 drivers/gpu/drm/mcde/mcde_dsi.c 		val = readl(d->regs + DSI_CMD_MODE_CTL);
regs              745 drivers/gpu/drm/mcde/mcde_dsi.c 		writel(val, d->regs + DSI_CMD_MODE_CTL);
regs              760 drivers/gpu/drm/mcde/mcde_dsi.c 	while ((readl(d->regs + DSI_CMD_MODE_STS) & val) == val) {
regs              779 drivers/gpu/drm/mcde/mcde_dsi.c 	while ((readl(d->regs + DSI_VID_MODE_STS) & val) == val) {
regs              796 drivers/gpu/drm/mcde/mcde_dsi.c 	writel(0, d->regs + DSI_VID_MODE_STS_CTL);
regs              800 drivers/gpu/drm/mcde/mcde_dsi.c 		val = readl(d->regs + DSI_MCTL_MAIN_DATA_CTL);
regs              802 drivers/gpu/drm/mcde/mcde_dsi.c 		writel(val, d->regs + DSI_MCTL_MAIN_DATA_CTL);
regs             1023 drivers/gpu/drm/mcde/mcde_dsi.c 	d->regs = devm_ioremap_resource(dev, res);
regs             1024 drivers/gpu/drm/mcde/mcde_dsi.c 	if (IS_ERR(d->regs)) {
regs             1026 drivers/gpu/drm/mcde/mcde_dsi.c 		return PTR_ERR(d->regs);
regs             1029 drivers/gpu/drm/mcde/mcde_dsi.c 	dsi_id = readl(d->regs + DSI_ID_REG);
regs               50 drivers/gpu/drm/mediatek/mtk_cec.c 	void __iomem *regs;
regs               62 drivers/gpu/drm/mediatek/mtk_cec.c 	void __iomem *reg = cec->regs + offset;
regs               73 drivers/gpu/drm/mediatek/mtk_cec.c 	void __iomem *reg = cec->regs + offset;
regs               84 drivers/gpu/drm/mediatek/mtk_cec.c 	u32 tmp = readl(cec->regs + offset) & ~mask;
regs               87 drivers/gpu/drm/mediatek/mtk_cec.c 	writel(val, cec->regs + offset);
regs              108 drivers/gpu/drm/mediatek/mtk_cec.c 	status = readl(cec->regs + RX_EVENT);
regs              196 drivers/gpu/drm/mediatek/mtk_cec.c 	cec->regs = devm_ioremap_resource(dev, res);
regs              197 drivers/gpu/drm/mediatek/mtk_cec.c 	if (IS_ERR(cec->regs)) {
regs              198 drivers/gpu/drm/mediatek/mtk_cec.c 		ret = PTR_ERR(cec->regs);
regs               52 drivers/gpu/drm/mediatek/mtk_disp_color.c 	writel(w, comp->regs + DISP_COLOR_WIDTH(color));
regs               53 drivers/gpu/drm/mediatek/mtk_disp_color.c 	writel(h, comp->regs + DISP_COLOR_HEIGHT(color));
regs               61 drivers/gpu/drm/mediatek/mtk_disp_color.c 	       comp->regs + DISP_COLOR_CFG_MAIN);
regs               62 drivers/gpu/drm/mediatek/mtk_disp_color.c 	writel(0x1, comp->regs + DISP_COLOR_START(color));
regs               77 drivers/gpu/drm/mediatek/mtk_disp_ovl.c 	writel(0x0, ovl->regs + DISP_REG_OVL_INTSTA);
regs               93 drivers/gpu/drm/mediatek/mtk_disp_ovl.c 	writel(0x0, comp->regs + DISP_REG_OVL_INTSTA);
regs               94 drivers/gpu/drm/mediatek/mtk_disp_ovl.c 	writel_relaxed(OVL_FME_CPL_INT, comp->regs + DISP_REG_OVL_INTEN);
regs              102 drivers/gpu/drm/mediatek/mtk_disp_ovl.c 	writel_relaxed(0x0, comp->regs + DISP_REG_OVL_INTEN);
regs              107 drivers/gpu/drm/mediatek/mtk_disp_ovl.c 	writel_relaxed(0x1, comp->regs + DISP_REG_OVL_EN);
regs              112 drivers/gpu/drm/mediatek/mtk_disp_ovl.c 	writel_relaxed(0x0, comp->regs + DISP_REG_OVL_EN);
regs              120 drivers/gpu/drm/mediatek/mtk_disp_ovl.c 		writel_relaxed(h << 16 | w, comp->regs + DISP_REG_OVL_ROI_SIZE);
regs              121 drivers/gpu/drm/mediatek/mtk_disp_ovl.c 	writel_relaxed(0x0, comp->regs + DISP_REG_OVL_ROI_BGCLR);
regs              123 drivers/gpu/drm/mediatek/mtk_disp_ovl.c 	writel(0x1, comp->regs + DISP_REG_OVL_RST);
regs              124 drivers/gpu/drm/mediatek/mtk_disp_ovl.c 	writel(0x0, comp->regs + DISP_REG_OVL_RST);
regs              136 drivers/gpu/drm/mediatek/mtk_disp_ovl.c 	writel(0x1, comp->regs + DISP_REG_OVL_RDMA_CTRL(idx));
regs              137 drivers/gpu/drm/mediatek/mtk_disp_ovl.c 	writel(OVL_RDMA_MEM_GMC, comp->regs + DISP_REG_OVL_RDMA_GMC(idx));
regs              139 drivers/gpu/drm/mediatek/mtk_disp_ovl.c 	reg = readl(comp->regs + DISP_REG_OVL_SRC_CON);
regs              141 drivers/gpu/drm/mediatek/mtk_disp_ovl.c 	writel(reg, comp->regs + DISP_REG_OVL_SRC_CON);
regs              148 drivers/gpu/drm/mediatek/mtk_disp_ovl.c 	reg = readl(comp->regs + DISP_REG_OVL_SRC_CON);
regs              150 drivers/gpu/drm/mediatek/mtk_disp_ovl.c 	writel(reg, comp->regs + DISP_REG_OVL_SRC_CON);
regs              152 drivers/gpu/drm/mediatek/mtk_disp_ovl.c 	writel(0x0, comp->regs + DISP_REG_OVL_RDMA_CTRL(idx));
regs              210 drivers/gpu/drm/mediatek/mtk_disp_ovl.c 	writel_relaxed(con, comp->regs + DISP_REG_OVL_CON(idx));
regs              211 drivers/gpu/drm/mediatek/mtk_disp_ovl.c 	writel_relaxed(pitch, comp->regs + DISP_REG_OVL_PITCH(idx));
regs              212 drivers/gpu/drm/mediatek/mtk_disp_ovl.c 	writel_relaxed(src_size, comp->regs + DISP_REG_OVL_SRC_SIZE(idx));
regs              213 drivers/gpu/drm/mediatek/mtk_disp_ovl.c 	writel_relaxed(offset, comp->regs + DISP_REG_OVL_OFFSET(idx));
regs              214 drivers/gpu/drm/mediatek/mtk_disp_ovl.c 	writel_relaxed(addr, comp->regs + DISP_REG_OVL_ADDR(ovl, idx));
regs               78 drivers/gpu/drm/mediatek/mtk_disp_rdma.c 	writel(0x0, rdma->regs + DISP_REG_RDMA_INT_STATUS);
regs               91 drivers/gpu/drm/mediatek/mtk_disp_rdma.c 	unsigned int tmp = readl(comp->regs + reg);
regs               94 drivers/gpu/drm/mediatek/mtk_disp_rdma.c 	writel(tmp, comp->regs + reg);
regs              147 drivers/gpu/drm/mediatek/mtk_disp_rdma.c 	writel(reg, comp->regs + DISP_REG_RDMA_FIFO_CON);
regs              203 drivers/gpu/drm/mediatek/mtk_disp_rdma.c 	writel_relaxed(con, comp->regs + DISP_RDMA_MEM_CON);
regs              216 drivers/gpu/drm/mediatek/mtk_disp_rdma.c 	writel_relaxed(addr, comp->regs + DISP_RDMA_MEM_START_ADDR);
regs              217 drivers/gpu/drm/mediatek/mtk_disp_rdma.c 	writel_relaxed(pitch, comp->regs + DISP_RDMA_MEM_SRC_PITCH);
regs              218 drivers/gpu/drm/mediatek/mtk_disp_rdma.c 	writel(RDMA_MEM_GMC, comp->regs + DISP_RDMA_MEM_GMC_SETTING_0);
regs              295 drivers/gpu/drm/mediatek/mtk_disp_rdma.c 	writel(0x0, priv->ddp_comp.regs + DISP_REG_RDMA_INT_ENABLE);
regs              296 drivers/gpu/drm/mediatek/mtk_disp_rdma.c 	writel(0x0, priv->ddp_comp.regs + DISP_REG_RDMA_INT_STATUS);
regs               64 drivers/gpu/drm/mediatek/mtk_dpi.c 	void __iomem *regs;
regs              118 drivers/gpu/drm/mediatek/mtk_dpi.c 	u32 tmp = readl(dpi->regs + offset) & ~mask;
regs              121 drivers/gpu/drm/mediatek/mtk_dpi.c 	writel(tmp, dpi->regs + offset);
regs              693 drivers/gpu/drm/mediatek/mtk_dpi.c 	dpi->regs = devm_ioremap_resource(dev, mem);
regs              694 drivers/gpu/drm/mediatek/mtk_dpi.c 	if (IS_ERR(dpi->regs)) {
regs              695 drivers/gpu/drm/mediatek/mtk_dpi.c 		ret = PTR_ERR(dpi->regs);
regs              145 drivers/gpu/drm/mediatek/mtk_drm_ddp.c 	void __iomem			*regs;
regs              461 drivers/gpu/drm/mediatek/mtk_drm_ddp.c 			reg = readl_relaxed(ddp->regs + offset);
regs              463 drivers/gpu/drm/mediatek/mtk_drm_ddp.c 			writel_relaxed(reg, ddp->regs + offset);
regs              466 drivers/gpu/drm/mediatek/mtk_drm_ddp.c 			reg = readl_relaxed(ddp->regs + offset);
regs              468 drivers/gpu/drm/mediatek/mtk_drm_ddp.c 			writel_relaxed(reg, ddp->regs + offset);
regs              473 drivers/gpu/drm/mediatek/mtk_drm_ddp.c 	writel_relaxed(reg, ddp->regs + DISP_REG_MUTEX_SOF(mutex->id));
regs              494 drivers/gpu/drm/mediatek/mtk_drm_ddp.c 			       ddp->regs + DISP_REG_MUTEX_SOF(mutex->id));
regs              499 drivers/gpu/drm/mediatek/mtk_drm_ddp.c 			reg = readl_relaxed(ddp->regs + offset);
regs              501 drivers/gpu/drm/mediatek/mtk_drm_ddp.c 			writel_relaxed(reg, ddp->regs + offset);
regs              504 drivers/gpu/drm/mediatek/mtk_drm_ddp.c 			reg = readl_relaxed(ddp->regs + offset);
regs              506 drivers/gpu/drm/mediatek/mtk_drm_ddp.c 			writel_relaxed(reg, ddp->regs + offset);
regs              519 drivers/gpu/drm/mediatek/mtk_drm_ddp.c 	writel(1, ddp->regs + DISP_REG_MUTEX_EN(mutex->id));
regs              529 drivers/gpu/drm/mediatek/mtk_drm_ddp.c 	writel(0, ddp->regs + DISP_REG_MUTEX_EN(mutex->id));
regs              538 drivers/gpu/drm/mediatek/mtk_drm_ddp.c 	writel(1, ddp->regs + DISP_REG_MUTEX_EN(mutex->id));
regs              539 drivers/gpu/drm/mediatek/mtk_drm_ddp.c 	writel(1, ddp->regs + DISP_REG_MUTEX(mutex->id));
regs              540 drivers/gpu/drm/mediatek/mtk_drm_ddp.c 	if (readl_poll_timeout_atomic(ddp->regs + DISP_REG_MUTEX(mutex->id),
regs              550 drivers/gpu/drm/mediatek/mtk_drm_ddp.c 	writel(0, ddp->regs + DISP_REG_MUTEX(mutex->id));
regs              557 drivers/gpu/drm/mediatek/mtk_drm_ddp.c 	struct resource *regs;
regs              573 drivers/gpu/drm/mediatek/mtk_drm_ddp.c 	regs = platform_get_resource(pdev, IORESOURCE_MEM, 0);
regs              574 drivers/gpu/drm/mediatek/mtk_drm_ddp.c 	ddp->regs = devm_ioremap_resource(dev, regs);
regs              575 drivers/gpu/drm/mediatek/mtk_drm_ddp.c 	if (IS_ERR(ddp->regs)) {
regs              577 drivers/gpu/drm/mediatek/mtk_drm_ddp.c 		return PTR_ERR(ddp->regs);
regs               75 drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c 		writel(0, comp->regs + DISP_DITHER_5);
regs               76 drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c 		writel(0, comp->regs + DISP_DITHER_7);
regs               80 drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c 		       comp->regs + DISP_DITHER_15);
regs               85 drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c 		       comp->regs + DISP_DITHER_16);
regs               86 drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c 		writel(DISP_DITHERING, comp->regs + CFG);
regs               94 drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c 	writel(w << 16 | h, comp->regs + DISP_OD_SIZE);
regs               95 drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c 	writel(OD_RELAYMODE, comp->regs + DISP_OD_CFG);
regs              101 drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c 	writel(1, comp->regs + DISP_OD_EN);
regs              106 drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c 	writel(UFO_BYPASS, comp->regs + DISP_REG_UFO_START);
regs              113 drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c 	writel(h << 16 | w, comp->regs + DISP_AAL_SIZE);
regs              118 drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c 	writel(AAL_EN, comp->regs + DISP_AAL_EN);
regs              123 drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c 	writel_relaxed(0x0, comp->regs + DISP_AAL_EN);
regs              130 drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c 	writel(h << 16 | w, comp->regs + DISP_GAMMA_SIZE);
regs              136 drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c 	writel(GAMMA_EN, comp->regs  + DISP_GAMMA_EN);
regs              141 drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c 	writel_relaxed(0x0, comp->regs  + DISP_GAMMA_EN);
regs              153 drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c 		reg = readl(comp->regs + DISP_GAMMA_CFG);
regs              155 drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c 		writel(reg, comp->regs + DISP_GAMMA_CFG);
regs              156 drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c 		lut_base = comp->regs + DISP_GAMMA_LUT;
regs              279 drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c 		comp->regs = NULL;
regs              285 drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c 	comp->regs = of_iomap(node, 0);
regs               84 drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h 	void __iomem *regs;
regs              163 drivers/gpu/drm/mediatek/mtk_dsi.c 	void __iomem *regs;
regs              198 drivers/gpu/drm/mediatek/mtk_dsi.c 	u32 temp = readl(dsi->regs + offset);
regs              200 drivers/gpu/drm/mediatek/mtk_dsi.c 	writel((temp & ~mask) | (data & mask), dsi->regs + offset);
regs              219 drivers/gpu/drm/mediatek/mtk_dsi.c 	writel(timcon0, dsi->regs + DSI_PHY_TIMECON0);
regs              220 drivers/gpu/drm/mediatek/mtk_dsi.c 	writel(timcon1, dsi->regs + DSI_PHY_TIMECON1);
regs              221 drivers/gpu/drm/mediatek/mtk_dsi.c 	writel(timcon2, dsi->regs + DSI_PHY_TIMECON2);
regs              222 drivers/gpu/drm/mediatek/mtk_dsi.c 	writel(timcon3, dsi->regs + DSI_PHY_TIMECON3);
regs              271 drivers/gpu/drm/mediatek/mtk_dsi.c 	tmp_reg1 = readl(dsi->regs + DSI_PHY_LCCON);
regs              296 drivers/gpu/drm/mediatek/mtk_dsi.c 	writel(vid_mode, dsi->regs + DSI_MODE_CTRL);
regs              334 drivers/gpu/drm/mediatek/mtk_dsi.c 	writel(vm->vactive, dsi->regs + DSI_VACT_NL);
regs              335 drivers/gpu/drm/mediatek/mtk_dsi.c 	writel(ps_bpp_mode, dsi->regs + DSI_PSCTRL);
regs              336 drivers/gpu/drm/mediatek/mtk_dsi.c 	writel(ps_wc, dsi->regs + DSI_HSTX_CKL_WC);
regs              364 drivers/gpu/drm/mediatek/mtk_dsi.c 	writel(tmp_reg, dsi->regs + DSI_TXRX_CTRL);
regs              396 drivers/gpu/drm/mediatek/mtk_dsi.c 	writel(tmp_reg, dsi->regs + DSI_PSCTRL);
regs              413 drivers/gpu/drm/mediatek/mtk_dsi.c 	writel(vm->vsync_len, dsi->regs + DSI_VSA_NL);
regs              414 drivers/gpu/drm/mediatek/mtk_dsi.c 	writel(vm->vback_porch, dsi->regs + DSI_VBP_NL);
regs              415 drivers/gpu/drm/mediatek/mtk_dsi.c 	writel(vm->vfront_porch, dsi->regs + DSI_VFP_NL);
regs              416 drivers/gpu/drm/mediatek/mtk_dsi.c 	writel(vm->vactive, dsi->regs + DSI_VACT_NL);
regs              429 drivers/gpu/drm/mediatek/mtk_dsi.c 	writel(horizontal_sync_active_byte, dsi->regs + DSI_HSA_WC);
regs              430 drivers/gpu/drm/mediatek/mtk_dsi.c 	writel(horizontal_backporch_byte, dsi->regs + DSI_HBP_WC);
regs              431 drivers/gpu/drm/mediatek/mtk_dsi.c 	writel(horizontal_frontporch_byte, dsi->regs + DSI_HFP_WC);
regs              438 drivers/gpu/drm/mediatek/mtk_dsi.c 	writel(0, dsi->regs + DSI_START);
regs              439 drivers/gpu/drm/mediatek/mtk_dsi.c 	writel(1, dsi->regs + DSI_START);
regs              444 drivers/gpu/drm/mediatek/mtk_dsi.c 	writel(0, dsi->regs + DSI_START);
regs              449 drivers/gpu/drm/mediatek/mtk_dsi.c 	writel(CMD_MODE, dsi->regs + DSI_MODE_CTRL);
regs              456 drivers/gpu/drm/mediatek/mtk_dsi.c 	writel(inten, dsi->regs + DSI_INTEN);
regs              494 drivers/gpu/drm/mediatek/mtk_dsi.c 	status = readl(dsi->regs + DSI_INTSTA) & flag;
regs              499 drivers/gpu/drm/mediatek/mtk_dsi.c 			tmp = readl(dsi->regs + DSI_INTSTA);
regs              903 drivers/gpu/drm/mediatek/mtk_dsi.c 	ret = readl_poll_timeout(dsi->regs + DSI_INTSTA, val, !(val & DSI_BUSY),
regs              960 drivers/gpu/drm/mediatek/mtk_dsi.c 		writeb(tx_buf[i], dsi->regs + DSI_CMDQ0 + cmdq_off + i);
regs              989 drivers/gpu/drm/mediatek/mtk_dsi.c 	if (readl(dsi->regs + DSI_MODE_CTRL) & MODE) {
regs             1009 drivers/gpu/drm/mediatek/mtk_dsi.c 		*(read_data + i) = readb(dsi->regs + DSI_RX_DATA0 + i);
regs             1093 drivers/gpu/drm/mediatek/mtk_dsi.c 	struct resource *regs;
regs             1131 drivers/gpu/drm/mediatek/mtk_dsi.c 	regs = platform_get_resource(pdev, IORESOURCE_MEM, 0);
regs             1132 drivers/gpu/drm/mediatek/mtk_dsi.c 	dsi->regs = devm_ioremap_resource(dev, regs);
regs             1133 drivers/gpu/drm/mediatek/mtk_dsi.c 	if (IS_ERR(dsi->regs)) {
regs             1134 drivers/gpu/drm/mediatek/mtk_dsi.c 		ret = PTR_ERR(dsi->regs);
regs              165 drivers/gpu/drm/mediatek/mtk_hdmi.c 	void __iomem *regs;
regs              185 drivers/gpu/drm/mediatek/mtk_hdmi.c 	return readl(hdmi->regs + offset);
regs              190 drivers/gpu/drm/mediatek/mtk_hdmi.c 	writel(val, hdmi->regs + offset);
regs              195 drivers/gpu/drm/mediatek/mtk_hdmi.c 	void __iomem *reg = hdmi->regs + offset;
regs              205 drivers/gpu/drm/mediatek/mtk_hdmi.c 	void __iomem *reg = hdmi->regs + offset;
regs              215 drivers/gpu/drm/mediatek/mtk_hdmi.c 	void __iomem *reg = hdmi->regs + offset;
regs             1490 drivers/gpu/drm/mediatek/mtk_hdmi.c 	hdmi->regs = devm_ioremap_resource(dev, mem);
regs             1491 drivers/gpu/drm/mediatek/mtk_hdmi.c 	if (IS_ERR(hdmi->regs))
regs             1492 drivers/gpu/drm/mediatek/mtk_hdmi.c 		return PTR_ERR(hdmi->regs);
regs               59 drivers/gpu/drm/mediatek/mtk_hdmi_ddc.c 	void __iomem *regs;
regs               65 drivers/gpu/drm/mediatek/mtk_hdmi_ddc.c 	writel(readl(ddc->regs + offset) | val, ddc->regs + offset);
regs               71 drivers/gpu/drm/mediatek/mtk_hdmi_ddc.c 	writel(readl(ddc->regs + offset) & ~val, ddc->regs + offset);
regs               77 drivers/gpu/drm/mediatek/mtk_hdmi_ddc.c 	return (readl(ddc->regs + offset) & val) == val;
regs               86 drivers/gpu/drm/mediatek/mtk_hdmi_ddc.c 	tmp = readl(ddc->regs + offset);
regs               89 drivers/gpu/drm/mediatek/mtk_hdmi_ddc.c 	writel(tmp, ddc->regs + offset);
regs               96 drivers/gpu/drm/mediatek/mtk_hdmi_ddc.c 	return (readl(ddc->regs + offset) & mask) >> shift;
regs              106 drivers/gpu/drm/mediatek/mtk_hdmi_ddc.c 	readl_poll_timeout(ddc->regs + DDC_DDCMCTL1, val,
regs              285 drivers/gpu/drm/mediatek/mtk_hdmi_ddc.c 	ddc->regs = devm_ioremap_resource(&pdev->dev, mem);
regs              286 drivers/gpu/drm/mediatek/mtk_hdmi_ddc.c 	if (IS_ERR(ddc->regs))
regs              287 drivers/gpu/drm/mediatek/mtk_hdmi_ddc.c 		return PTR_ERR(ddc->regs);
regs               21 drivers/gpu/drm/mediatek/mtk_hdmi_phy.c 	void __iomem *reg = hdmi_phy->regs + offset;
regs               32 drivers/gpu/drm/mediatek/mtk_hdmi_phy.c 	void __iomem *reg = hdmi_phy->regs + offset;
regs               43 drivers/gpu/drm/mediatek/mtk_hdmi_phy.c 	void __iomem *reg = hdmi_phy->regs + offset;
regs              119 drivers/gpu/drm/mediatek/mtk_hdmi_phy.c 	hdmi_phy->regs = devm_ioremap_resource(dev, mem);
regs              120 drivers/gpu/drm/mediatek/mtk_hdmi_phy.c 	if (IS_ERR(hdmi_phy->regs)) {
regs              121 drivers/gpu/drm/mediatek/mtk_hdmi_phy.c 		ret = PTR_ERR(hdmi_phy->regs);
regs               31 drivers/gpu/drm/mediatek/mtk_hdmi_phy.h 	void __iomem *regs;
regs              128 drivers/gpu/drm/mediatek/mtk_mipi_tx.c 	void __iomem *regs;
regs              143 drivers/gpu/drm/mediatek/mtk_mipi_tx.c 	u32 temp = readl(mipi_tx->regs + offset);
regs              145 drivers/gpu/drm/mediatek/mtk_mipi_tx.c 	writel(temp & ~bits, mipi_tx->regs + offset);
regs              151 drivers/gpu/drm/mediatek/mtk_mipi_tx.c 	u32 temp = readl(mipi_tx->regs + offset);
regs              153 drivers/gpu/drm/mediatek/mtk_mipi_tx.c 	writel(temp | bits, mipi_tx->regs + offset);
regs              159 drivers/gpu/drm/mediatek/mtk_mipi_tx.c 	u32 temp = readl(mipi_tx->regs + offset);
regs              161 drivers/gpu/drm/mediatek/mtk_mipi_tx.c 	writel((temp & ~mask) | (data & mask), mipi_tx->regs + offset);
regs              235 drivers/gpu/drm/mediatek/mtk_mipi_tx.c 	writel(pcw, mipi_tx->regs + MIPITX_DSI_PLL_CON2);
regs              404 drivers/gpu/drm/mediatek/mtk_mipi_tx.c 	mipi_tx->regs = devm_ioremap_resource(dev, mem);
regs              405 drivers/gpu/drm/mediatek/mtk_mipi_tx.c 	if (IS_ERR(mipi_tx->regs)) {
regs              406 drivers/gpu/drm/mediatek/mtk_mipi_tx.c 		ret = PTR_ERR(mipi_tx->regs);
regs              168 drivers/gpu/drm/mediatek/mtk_mt2701_hdmi_phy.c 	val = (readl(hdmi_phy->regs + HDMI_CON6)
regs              182 drivers/gpu/drm/mediatek/mtk_mt2701_hdmi_phy.c 	val = (readl(hdmi_phy->regs + HDMI_CON6)
regs              185 drivers/gpu/drm/mediatek/mtk_mt2701_hdmi_phy.c 	val = (readl(hdmi_phy->regs + HDMI_CON2)
regs              189 drivers/gpu/drm/mediatek/mtk_mt2701_hdmi_phy.c 	if (readl(hdmi_phy->regs + HDMI_CON2) & RG_HDMITX_EN_TX_POSDIV)
regs              190 drivers/gpu/drm/meson/meson_drv.c 	void __iomem *regs;
regs              215 drivers/gpu/drm/meson/meson_drv.c 	regs = devm_ioremap_resource(dev, res);
regs              216 drivers/gpu/drm/meson/meson_drv.c 	if (IS_ERR(regs)) {
regs              217 drivers/gpu/drm/meson/meson_drv.c 		ret = PTR_ERR(regs);
regs              221 drivers/gpu/drm/meson/meson_drv.c 	priv->io_base = regs;
regs              229 drivers/gpu/drm/meson/meson_drv.c 	regs = devm_ioremap(dev, res->start, resource_size(res));
regs              230 drivers/gpu/drm/meson/meson_drv.c 	if (!regs) {
regs              235 drivers/gpu/drm/meson/meson_drv.c 	priv->hhi = devm_regmap_init_mmio(dev, regs,
regs              617 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 		const struct a6xx_registers *regs,
regs              626 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 	in += CRASHDUMP_WRITE(in, REG_A6XX_HLSQ_DBG_READ_SEL, regs->val1);
regs              628 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 	for (i = 0; i < regs->count; i += 2) {
regs              629 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 		u32 count = RANGE(regs->registers, i);
regs              631 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 			regs->registers[i] - (regs->val0 >> 2);
regs              647 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 	obj->handle = regs;
regs              655 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 		const struct a6xx_registers *regs,
regs              665 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 	if (regs->val0)
regs              666 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 		in += CRASHDUMP_WRITE(in, regs->val0, regs->val1);
regs              668 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 	for (i = 0; i < regs->count; i += 2) {
regs              669 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 		u32 count = RANGE(regs->registers, i);
regs              671 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 		in += CRASHDUMP_READ(in, regs->registers[i], count, out);
regs              685 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 	obj->handle = regs;
regs              693 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 		const struct a6xx_registers *regs,
regs              698 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 	for (i = 0; i < regs->count; i += 2)
regs              699 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 		regcount += RANGE(regs->registers, i);
regs              701 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 	obj->handle = (const void *) regs;
regs              706 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 	for (i = 0; i < regs->count; i += 2) {
regs              707 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 		u32 count = RANGE(regs->registers, i);
regs              712 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 				regs->registers[i] + j);
regs              719 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 		const struct a6xx_registers *regs,
regs              727 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 	for (i = 0; i < regs->count; i += 2)
regs              728 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 		regcount += RANGE(regs->registers, i);
regs              730 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 	obj->handle = (const void *) regs;
regs              735 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 	for (i = 0; i < regs->count; i += 2) {
regs              736 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 		u32 count = RANGE(regs->registers, i);
regs              741 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 				regs->registers[i] + j);
regs             1129 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 		const struct a6xx_registers *regs = obj->handle;
regs             1134 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 		a6xx_show_registers(regs->registers, obj->data, regs->count, p);
regs             1140 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 		const struct a6xx_registers *regs = obj->handle;
regs             1145 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 		a6xx_show_registers(regs->registers, obj->data, regs->count, p);
regs               21 drivers/gpu/drm/msm/disp/mdp4/mdp4_lcdc_encoder.c 	struct regulator *regs[3];
regs              345 drivers/gpu/drm/msm/disp/mdp4/mdp4_lcdc_encoder.c 	for (i = 0; i < ARRAY_SIZE(mdp4_lcdc_encoder->regs); i++) {
regs              346 drivers/gpu/drm/msm/disp/mdp4/mdp4_lcdc_encoder.c 		ret = regulator_disable(mdp4_lcdc_encoder->regs[i]);
regs              387 drivers/gpu/drm/msm/disp/mdp4/mdp4_lcdc_encoder.c 	for (i = 0; i < ARRAY_SIZE(mdp4_lcdc_encoder->regs); i++) {
regs              388 drivers/gpu/drm/msm/disp/mdp4/mdp4_lcdc_encoder.c 		ret = regulator_enable(mdp4_lcdc_encoder->regs[i]);
regs              465 drivers/gpu/drm/msm/disp/mdp4/mdp4_lcdc_encoder.c 	mdp4_lcdc_encoder->regs[0] = reg;
regs              473 drivers/gpu/drm/msm/disp/mdp4/mdp4_lcdc_encoder.c 	mdp4_lcdc_encoder->regs[1] = reg;
regs              481 drivers/gpu/drm/msm/disp/mdp4/mdp4_lcdc_encoder.c 	mdp4_lcdc_encoder->regs[2] = reg;
regs               53 drivers/gpu/drm/msm/dsi/dsi.h 	struct dsi_reg_entry regs[DSI_DEV_REGULATOR_MAX];
regs               16 drivers/gpu/drm/msm/dsi/dsi_cfg.c 		.regs = {
regs               36 drivers/gpu/drm/msm/dsi/dsi_cfg.c 		.regs = {
regs               57 drivers/gpu/drm/msm/dsi/dsi_cfg.c 		.regs = {
regs               73 drivers/gpu/drm/msm/dsi/dsi_cfg.c 		.regs = {
regs              101 drivers/gpu/drm/msm/dsi/dsi_cfg.c 		.regs = {
regs              121 drivers/gpu/drm/msm/dsi/dsi_cfg.c 		.regs = {
regs              140 drivers/gpu/drm/msm/dsi/dsi_cfg.c 		.regs = {
regs              263 drivers/gpu/drm/msm/dsi/dsi_host.c 	const struct dsi_reg_entry *regs = msm_host->cfg_hnd->cfg->reg_cfg.regs;
regs              269 drivers/gpu/drm/msm/dsi/dsi_host.c 		if (regs[i].disable_load >= 0)
regs              271 drivers/gpu/drm/msm/dsi/dsi_host.c 					   regs[i].disable_load);
regs              279 drivers/gpu/drm/msm/dsi/dsi_host.c 	const struct dsi_reg_entry *regs = msm_host->cfg_hnd->cfg->reg_cfg.regs;
regs              285 drivers/gpu/drm/msm/dsi/dsi_host.c 		if (regs[i].enable_load >= 0) {
regs              287 drivers/gpu/drm/msm/dsi/dsi_host.c 						 regs[i].enable_load);
regs              306 drivers/gpu/drm/msm/dsi/dsi_host.c 		regulator_set_load(s[i].consumer, regs[i].disable_load);
regs              313 drivers/gpu/drm/msm/dsi/dsi_host.c 	const struct dsi_reg_entry *regs = msm_host->cfg_hnd->cfg->reg_cfg.regs;
regs              318 drivers/gpu/drm/msm/dsi/dsi_host.c 		s[i].supply = regs[i].name;
regs              389 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c 	const struct dsi_reg_entry *regs = phy->cfg->reg_cfg.regs;
regs              395 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c 		s[i].supply = regs[i].name;
regs              414 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c 	const struct dsi_reg_entry *regs = phy->cfg->reg_cfg.regs;
regs              420 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c 		if (regs[i].disable_load >= 0)
regs              421 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c 			regulator_set_load(s[i].consumer, regs[i].disable_load);
regs              429 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c 	const struct dsi_reg_entry *regs = phy->cfg->reg_cfg.regs;
regs              436 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c 		if (regs[i].enable_load >= 0) {
regs              438 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c 							regs[i].enable_load);
regs              458 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c 		regulator_set_load(s[i].consumer, regs[i].disable_load);
regs              217 drivers/gpu/drm/msm/dsi/phy/dsi_phy_10nm.c 		.regs = {
regs              235 drivers/gpu/drm/msm/dsi/phy/dsi_phy_10nm.c 		.regs = {
regs              152 drivers/gpu/drm/msm/dsi/phy/dsi_phy_14nm.c 		.regs = {
regs              132 drivers/gpu/drm/msm/dsi/phy/dsi_phy_20nm.c 		.regs = {
regs              132 drivers/gpu/drm/msm/dsi/phy/dsi_phy_28nm.c 		.regs = {
regs              150 drivers/gpu/drm/msm/dsi/phy/dsi_phy_28nm.c 		.regs = {
regs              181 drivers/gpu/drm/msm/dsi/phy/dsi_phy_28nm_8960.c 		.regs = {
regs              158 drivers/gpu/drm/msm/dsi/pll/dsi_pll_10nm.c 	struct dsi_pll_regs *regs = &pll->reg_setup;
regs              180 drivers/gpu/drm/msm/dsi/pll/dsi_pll_10nm.c 		regs->pll_prop_gain_rate = 8;
regs              182 drivers/gpu/drm/msm/dsi/pll/dsi_pll_10nm.c 		regs->pll_prop_gain_rate = 10;
regs              184 drivers/gpu/drm/msm/dsi/pll/dsi_pll_10nm.c 		regs->pll_prop_gain_rate = 12;
regs              186 drivers/gpu/drm/msm/dsi/pll/dsi_pll_10nm.c 		regs->pll_clock_inverters = 8;
regs              188 drivers/gpu/drm/msm/dsi/pll/dsi_pll_10nm.c 		regs->pll_clock_inverters = 0;
regs              190 drivers/gpu/drm/msm/dsi/pll/dsi_pll_10nm.c 	regs->pll_lockdet_rate = config->lock_timer;
regs              191 drivers/gpu/drm/msm/dsi/pll/dsi_pll_10nm.c 	regs->decimal_div_start = dec;
regs              192 drivers/gpu/drm/msm/dsi/pll/dsi_pll_10nm.c 	regs->frac_div_start_low = (frac & 0xff);
regs              193 drivers/gpu/drm/msm/dsi/pll/dsi_pll_10nm.c 	regs->frac_div_start_mid = (frac & 0xff00) >> 8;
regs              194 drivers/gpu/drm/msm/dsi/pll/dsi_pll_10nm.c 	regs->frac_div_start_high = (frac & 0x30000) >> 16;
regs              203 drivers/gpu/drm/msm/dsi/pll/dsi_pll_10nm.c 	struct dsi_pll_regs *regs = &pll->reg_setup;
regs              218 drivers/gpu/drm/msm/dsi/pll/dsi_pll_10nm.c 	frac = regs->frac_div_start_low |
regs              219 drivers/gpu/drm/msm/dsi/pll/dsi_pll_10nm.c 			(regs->frac_div_start_mid << 8) |
regs              220 drivers/gpu/drm/msm/dsi/pll/dsi_pll_10nm.c 			(regs->frac_div_start_high << 16);
regs              221 drivers/gpu/drm/msm/dsi/pll/dsi_pll_10nm.c 	ssc_step_size = regs->decimal_div_start;
regs              229 drivers/gpu/drm/msm/dsi/pll/dsi_pll_10nm.c 	regs->ssc_div_per_low = ssc_per & 0xFF;
regs              230 drivers/gpu/drm/msm/dsi/pll/dsi_pll_10nm.c 	regs->ssc_div_per_high = (ssc_per & 0xFF00) >> 8;
regs              231 drivers/gpu/drm/msm/dsi/pll/dsi_pll_10nm.c 	regs->ssc_stepsize_low = (u32)(ssc_step_size & 0xFF);
regs              232 drivers/gpu/drm/msm/dsi/pll/dsi_pll_10nm.c 	regs->ssc_stepsize_high = (u32)((ssc_step_size & 0xFF00) >> 8);
regs              233 drivers/gpu/drm/msm/dsi/pll/dsi_pll_10nm.c 	regs->ssc_adjper_low = config->ssc_adj_per & 0xFF;
regs              234 drivers/gpu/drm/msm/dsi/pll/dsi_pll_10nm.c 	regs->ssc_adjper_high = (config->ssc_adj_per & 0xFF00) >> 8;
regs              236 drivers/gpu/drm/msm/dsi/pll/dsi_pll_10nm.c 	regs->ssc_control = config->ssc_center ? SSC_CENTER : 0;
regs              239 drivers/gpu/drm/msm/dsi/pll/dsi_pll_10nm.c 		 regs->decimal_div_start, frac, config->frac_bits);
regs              247 drivers/gpu/drm/msm/dsi/pll/dsi_pll_10nm.c 	struct dsi_pll_regs *regs = &pll->reg_setup;
regs              253 drivers/gpu/drm/msm/dsi/pll/dsi_pll_10nm.c 			  regs->ssc_stepsize_low);
regs              255 drivers/gpu/drm/msm/dsi/pll/dsi_pll_10nm.c 			  regs->ssc_stepsize_high);
regs              257 drivers/gpu/drm/msm/dsi/pll/dsi_pll_10nm.c 			  regs->ssc_div_per_low);
regs              259 drivers/gpu/drm/msm/dsi/pll/dsi_pll_10nm.c 			  regs->ssc_div_per_high);
regs              261 drivers/gpu/drm/msm/dsi/pll/dsi_pll_10nm.c 			  regs->ssc_adjper_low);
regs              263 drivers/gpu/drm/msm/dsi/pll/dsi_pll_10nm.c 			  regs->ssc_adjper_high);
regs              265 drivers/gpu/drm/msm/dsi/pll/dsi_pll_10nm.c 			  SSC_EN | regs->ssc_control);
regs              164 drivers/gpu/drm/msm/hdmi/hdmi.h 	struct regulator **regs;
regs               16 drivers/gpu/drm/msm/hdmi/hdmi_phy.c 	phy->regs = devm_kcalloc(dev, cfg->num_regs, sizeof(phy->regs[0]),
regs               18 drivers/gpu/drm/msm/hdmi/hdmi_phy.c 	if (!phy->regs)
regs               37 drivers/gpu/drm/msm/hdmi/hdmi_phy.c 		phy->regs[i] = reg;
regs               66 drivers/gpu/drm/msm/hdmi/hdmi_phy.c 		ret = regulator_enable(phy->regs[i]);
regs               92 drivers/gpu/drm/msm/hdmi/hdmi_phy.c 		regulator_disable(phy->regs[i]);
regs              357 drivers/gpu/drm/nouveau/dispnv04/tvmodesnv17.c 			   uint32_t regs[4][7])
regs              364 drivers/gpu/drm/nouveau/dispnv04/tvmodesnv17.c 			regs[i][j] = nv_read_ptv(dev, offsets[i]+4*j);
regs              369 drivers/gpu/drm/nouveau/dispnv04/tvmodesnv17.c 			   uint32_t regs[4][7])
regs              376 drivers/gpu/drm/nouveau/dispnv04/tvmodesnv17.c 			nv_write_ptv(dev, offsets[i]+4*j, regs[i][j]);
regs              475 drivers/gpu/drm/nouveau/dispnv04/tvmodesnv17.c 	struct nv17_tv_state *regs = &tv_enc->state;
regs              484 drivers/gpu/drm/nouveau/dispnv04/tvmodesnv17.c 		regs->ptv_204 = 0x2;
regs              488 drivers/gpu/drm/nouveau/dispnv04/tvmodesnv17.c 			regs->ptv_204 |= 0x010000;
regs              490 drivers/gpu/drm/nouveau/dispnv04/tvmodesnv17.c 			regs->ptv_204 |= 0x100000;
regs              492 drivers/gpu/drm/nouveau/dispnv04/tvmodesnv17.c 			regs->ptv_204 |= 0x110000;
regs              494 drivers/gpu/drm/nouveau/dispnv04/tvmodesnv17.c 		regs->tv_enc[0x7] = 0x10;
regs              498 drivers/gpu/drm/nouveau/dispnv04/tvmodesnv17.c 		regs->ptv_204 = 0x11012;
regs              499 drivers/gpu/drm/nouveau/dispnv04/tvmodesnv17.c 		regs->tv_enc[0x7] = 0x18;
regs              503 drivers/gpu/drm/nouveau/dispnv04/tvmodesnv17.c 		regs->ptv_204 = 0x111333;
regs              504 drivers/gpu/drm/nouveau/dispnv04/tvmodesnv17.c 		regs->tv_enc[0x7] = 0x14;
regs              508 drivers/gpu/drm/nouveau/dispnv04/tvmodesnv17.c 		regs->ptv_204 = 0x111012;
regs              509 drivers/gpu/drm/nouveau/dispnv04/tvmodesnv17.c 		regs->tv_enc[0x7] = 0x18;
regs              513 drivers/gpu/drm/nouveau/dispnv04/tvmodesnv17.c 	regs->tv_enc[0x20] = interpolate(0, tv_norm->tv_enc_mode.tv_enc[0x20],
regs              515 drivers/gpu/drm/nouveau/dispnv04/tvmodesnv17.c 	regs->tv_enc[0x22] = interpolate(0, tv_norm->tv_enc_mode.tv_enc[0x22],
regs              517 drivers/gpu/drm/nouveau/dispnv04/tvmodesnv17.c 	regs->tv_enc[0x25] = tv_enc->hue * 255 / 100;
regs              519 drivers/gpu/drm/nouveau/dispnv04/tvmodesnv17.c 	nv_load_ptv(dev, regs, 204);
regs              520 drivers/gpu/drm/nouveau/dispnv04/tvmodesnv17.c 	nv_load_tv_enc(dev, regs, 7);
regs              521 drivers/gpu/drm/nouveau/dispnv04/tvmodesnv17.c 	nv_load_tv_enc(dev, regs, 20);
regs              522 drivers/gpu/drm/nouveau/dispnv04/tvmodesnv17.c 	nv_load_tv_enc(dev, regs, 22);
regs              523 drivers/gpu/drm/nouveau/dispnv04/tvmodesnv17.c 	nv_load_tv_enc(dev, regs, 25);
regs              530 drivers/gpu/drm/nouveau/dispnv04/tvmodesnv17.c 	struct nv17_tv_state *regs = &tv_enc->state;
regs              532 drivers/gpu/drm/nouveau/dispnv04/tvmodesnv17.c 	regs->ptv_208 = 0x40 | (calc_overscan(tv_enc->overscan) << 8);
regs              536 drivers/gpu/drm/nouveau/dispnv04/tvmodesnv17.c 	nv_load_ptv(dev, regs, 208);
regs              537 drivers/gpu/drm/nouveau/dispnv04/tvmodesnv17.c 	tv_load_filter(dev, NV_PTV_HFILTER, regs->hfilter);
regs              538 drivers/gpu/drm/nouveau/dispnv04/tvmodesnv17.c 	tv_load_filter(dev, NV_PTV_HFILTER2, regs->hfilter2);
regs              539 drivers/gpu/drm/nouveau/dispnv04/tvmodesnv17.c 	tv_load_filter(dev, NV_PTV_VFILTER, regs->vfilter);
regs              547 drivers/gpu/drm/nouveau/dispnv04/tvmodesnv17.c 	struct nv04_crtc_reg *regs = &nv04_display(dev)->mode_reg.crtc_reg[head];
regs              572 drivers/gpu/drm/nouveau/dispnv04/tvmodesnv17.c 	regs->fp_horiz_regs[FP_VALID_START] = hmargin;
regs              573 drivers/gpu/drm/nouveau/dispnv04/tvmodesnv17.c 	regs->fp_horiz_regs[FP_VALID_END] = output_mode->hdisplay - hmargin - 1;
regs              574 drivers/gpu/drm/nouveau/dispnv04/tvmodesnv17.c 	regs->fp_vert_regs[FP_VALID_START] = vmargin;
regs              575 drivers/gpu/drm/nouveau/dispnv04/tvmodesnv17.c 	regs->fp_vert_regs[FP_VALID_END] = output_mode->vdisplay - vmargin - 1;
regs              577 drivers/gpu/drm/nouveau/dispnv04/tvmodesnv17.c 	regs->fp_debug_1 = NV_PRAMDAC_FP_DEBUG_1_YSCALE_TESTMODE_ENABLE |
regs              583 drivers/gpu/drm/nouveau/dispnv04/tvmodesnv17.c 		      regs->fp_horiz_regs[FP_VALID_START]);
regs              585 drivers/gpu/drm/nouveau/dispnv04/tvmodesnv17.c 		      regs->fp_horiz_regs[FP_VALID_END]);
regs              587 drivers/gpu/drm/nouveau/dispnv04/tvmodesnv17.c 		      regs->fp_vert_regs[FP_VALID_START]);
regs              589 drivers/gpu/drm/nouveau/dispnv04/tvmodesnv17.c 		      regs->fp_vert_regs[FP_VALID_END]);
regs              590 drivers/gpu/drm/nouveau/dispnv04/tvmodesnv17.c 	NVWriteRAMDAC(dev, head, NV_PRAMDAC_FP_DEBUG_1, regs->fp_debug_1);
regs              366 drivers/gpu/drm/nouveau/dispnv04/tvnv17.c 	struct nv17_tv_state *regs = &to_tv_enc(encoder)->state;
regs              376 drivers/gpu/drm/nouveau/dispnv04/tvnv17.c 	regs->ptv_200 &= ~1;
regs              385 drivers/gpu/drm/nouveau/dispnv04/tvnv17.c 			regs->ptv_200 |= 1;
regs              388 drivers/gpu/drm/nouveau/dispnv04/tvnv17.c 	nv_load_ptv(dev, regs, 200);
regs              464 drivers/gpu/drm/nouveau/dispnv04/tvnv17.c 	struct nv04_crtc_reg *regs = &nv04_display(dev)->mode_reg.crtc_reg[head];
regs              469 drivers/gpu/drm/nouveau/dispnv04/tvnv17.c 	regs->CRTC[NV_CIO_CRE_53] = 0x40; /* FP_HTIMING */
regs              470 drivers/gpu/drm/nouveau/dispnv04/tvnv17.c 	regs->CRTC[NV_CIO_CRE_54] = 0; /* FP_VTIMING */
regs              471 drivers/gpu/drm/nouveau/dispnv04/tvnv17.c 	regs->ramdac_630 = 0x2; /* turn off green mode (tv test pattern?) */
regs              472 drivers/gpu/drm/nouveau/dispnv04/tvnv17.c 	regs->tv_setup = 1;
regs              473 drivers/gpu/drm/nouveau/dispnv04/tvnv17.c 	regs->ramdac_8c0 = 0x0;
regs              531 drivers/gpu/drm/nouveau/dispnv04/tvnv17.c 			regs->ctv_regs[i] = tv_norm->ctv_enc_mode.ctv_regs[i];
regs              533 drivers/gpu/drm/nouveau/dispnv04/tvnv17.c 		regs->fp_horiz_regs[FP_DISPLAY_END] = output_mode->hdisplay - 1;
regs              534 drivers/gpu/drm/nouveau/dispnv04/tvnv17.c 		regs->fp_horiz_regs[FP_TOTAL] = output_mode->htotal - 1;
regs              535 drivers/gpu/drm/nouveau/dispnv04/tvnv17.c 		regs->fp_horiz_regs[FP_SYNC_START] =
regs              537 drivers/gpu/drm/nouveau/dispnv04/tvnv17.c 		regs->fp_horiz_regs[FP_SYNC_END] = output_mode->hsync_end - 1;
regs              538 drivers/gpu/drm/nouveau/dispnv04/tvnv17.c 		regs->fp_horiz_regs[FP_CRTC] = output_mode->hdisplay +
regs              541 drivers/gpu/drm/nouveau/dispnv04/tvnv17.c 		regs->fp_vert_regs[FP_DISPLAY_END] = output_mode->vdisplay - 1;
regs              542 drivers/gpu/drm/nouveau/dispnv04/tvnv17.c 		regs->fp_vert_regs[FP_TOTAL] = output_mode->vtotal - 1;
regs              543 drivers/gpu/drm/nouveau/dispnv04/tvnv17.c 		regs->fp_vert_regs[FP_SYNC_START] =
regs              545 drivers/gpu/drm/nouveau/dispnv04/tvnv17.c 		regs->fp_vert_regs[FP_SYNC_END] = output_mode->vsync_end - 1;
regs              546 drivers/gpu/drm/nouveau/dispnv04/tvnv17.c 		regs->fp_vert_regs[FP_CRTC] = output_mode->vdisplay - 1;
regs              548 drivers/gpu/drm/nouveau/dispnv04/tvnv17.c 		regs->fp_control = NV_PRAMDAC_FP_TG_CONTROL_DISPEN_POS |
regs              553 drivers/gpu/drm/nouveau/dispnv04/tvnv17.c 			regs->fp_control |= NV_PRAMDAC_FP_TG_CONTROL_VSYNC_POS;
regs              555 drivers/gpu/drm/nouveau/dispnv04/tvnv17.c 			regs->fp_control |= NV_PRAMDAC_FP_TG_CONTROL_HSYNC_POS;
regs              557 drivers/gpu/drm/nouveau/dispnv04/tvnv17.c 		regs->fp_debug_0 = NV_PRAMDAC_FP_DEBUG_0_YWEIGHT_ROUND |
regs              565 drivers/gpu/drm/nouveau/dispnv04/tvnv17.c 		regs->fp_debug_2 = 0;
regs              567 drivers/gpu/drm/nouveau/dispnv04/tvnv17.c 		regs->fp_margin_color = 0x801080;
regs              100 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv04.c 			u32 rm = ((1ULL << c->bits) - 1) << c->regs;
regs              102 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv04.c 			u32 rv = (nvkm_rd32(device, c->regp) &  rm) >> c->regs;
regs               11 drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv04.h 	unsigned regs:5;
regs              339 drivers/gpu/drm/nouveau/nvkm/engine/gr/gm107.c 	} regs[] = {
regs              354 drivers/gpu/drm/nouveau/nvkm/engine/gr/gm107.c 		if (X = -1, E < ARRAY_SIZE(regs)) {
regs              355 drivers/gpu/drm/nouveau/nvkm/engine/gr/gm107.c 			nvkm_wr32(device, regs[E].ctrl, infoE.data);
regs              357 drivers/gpu/drm/nouveau/nvkm/engine/gr/gm107.c 				nvkm_wr32(device, regs[E].data, infoX.data);
regs               36 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/nv50.c 		static const u32 regs[] = { 0xe100, 0xe28c };
regs               44 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/nv50.c 		u32 reg = regs[line >> 4];
regs              394 drivers/gpu/drm/omapdrm/dss/dsi.c 		struct dss_debugfs_entry *regs;
regs             5070 drivers/gpu/drm/omapdrm/dss/dsi.c 	dsi->debugfs.regs = dss_debugfs_create_file(dss, name,
regs             5090 drivers/gpu/drm/omapdrm/dss/dsi.c 	dss_debugfs_remove_file(dsi->debugfs.regs);
regs               44 drivers/gpu/drm/pl111/pl111_debugfs.c 			   readl(priv->regs + pl111_reg_defs[i].reg));
regs               33 drivers/gpu/drm/pl111/pl111_display.c 	irq_stat = readl(priv->regs + CLCD_PL111_MIS);
regs               45 drivers/gpu/drm/pl111/pl111_display.c 	writel(irq_stat, priv->regs + CLCD_PL111_ICR);
regs              163 drivers/gpu/drm/pl111/pl111_display.c 	       priv->regs + CLCD_TIM0);
regs              168 drivers/gpu/drm/pl111/pl111_display.c 	       priv->regs + CLCD_TIM1);
regs              172 drivers/gpu/drm/pl111/pl111_display.c 	tim2 = readl(priv->regs + CLCD_TIM2);
regs              231 drivers/gpu/drm/pl111/pl111_display.c 	writel(tim2, priv->regs + CLCD_TIM2);
regs              234 drivers/gpu/drm/pl111/pl111_display.c 	writel(0, priv->regs + CLCD_TIM3);
regs              338 drivers/gpu/drm/pl111/pl111_display.c 	writel(cntl, priv->regs + priv->ctrl);
regs              351 drivers/gpu/drm/pl111/pl111_display.c 	writel(cntl, priv->regs + priv->ctrl);
regs              368 drivers/gpu/drm/pl111/pl111_display.c 	cntl = readl(priv->regs + priv->ctrl);
regs              371 drivers/gpu/drm/pl111/pl111_display.c 		writel(cntl, priv->regs + priv->ctrl);
regs              384 drivers/gpu/drm/pl111/pl111_display.c 	writel(0, priv->regs + priv->ctrl);
regs              403 drivers/gpu/drm/pl111/pl111_display.c 		writel(addr, priv->regs + CLCD_UBAS);
regs              424 drivers/gpu/drm/pl111/pl111_display.c 	writel(CLCD_IRQ_NEXTBASE_UPDATE, priv->regs + priv->ienb);
regs              435 drivers/gpu/drm/pl111/pl111_display.c 	writel(0, priv->regs + priv->ienb);
regs              490 drivers/gpu/drm/pl111/pl111_display.c 	u32 tim2 = readl(priv->regs + CLCD_TIM2);
regs              513 drivers/gpu/drm/pl111/pl111_display.c 	tim2 = readl(priv->regs + CLCD_TIM2);
regs              524 drivers/gpu/drm/pl111/pl111_display.c 	writel(tim2, priv->regs + CLCD_TIM2);
regs               67 drivers/gpu/drm/pl111/pl111_drm.h 	void *regs;
regs              294 drivers/gpu/drm/pl111/pl111_drv.c 	priv->regs = devm_ioremap_resource(dev, &amba_dev->res);
regs              295 drivers/gpu/drm/pl111/pl111_drv.c 	if (IS_ERR(priv->regs)) {
regs              297 drivers/gpu/drm/pl111/pl111_drv.c 		ret = PTR_ERR(priv->regs);
regs              309 drivers/gpu/drm/pl111/pl111_drv.c 	writel(0, priv->regs + priv->ienb);
regs              710 drivers/gpu/drm/rockchip/cdn-dp-core.c 	dp->regs = devm_ioremap_resource(dev, res);
regs              711 drivers/gpu/drm/rockchip/cdn-dp-core.c 	if (IS_ERR(dp->regs)) {
regs              713 drivers/gpu/drm/rockchip/cdn-dp-core.c 		return PTR_ERR(dp->regs);
regs               83 drivers/gpu/drm/rockchip/cdn-dp-core.h 	void __iomem *regs;
regs               26 drivers/gpu/drm/rockchip/cdn-dp-reg.c 	writel(clk / 1000000, dp->regs + SW_CLK_H);
regs               45 drivers/gpu/drm/rockchip/cdn-dp-reg.c 	writel(val, dp->regs + SOURCE_DPTX_CAR);
regs               48 drivers/gpu/drm/rockchip/cdn-dp-reg.c 	writel(val, dp->regs + SOURCE_PHY_CAR);
regs               54 drivers/gpu/drm/rockchip/cdn-dp-reg.c 	writel(val, dp->regs + SOURCE_PKT_CAR);
regs               62 drivers/gpu/drm/rockchip/cdn-dp-reg.c 	writel(val, dp->regs + SOURCE_AIF_CAR);
regs               68 drivers/gpu/drm/rockchip/cdn-dp-reg.c 	writel(val, dp->regs + SOURCE_CIPHER_CAR);
regs               72 drivers/gpu/drm/rockchip/cdn-dp-reg.c 	writel(val, dp->regs + SOURCE_CRYPTO_CAR);
regs               75 drivers/gpu/drm/rockchip/cdn-dp-reg.c 	writel(0, dp->regs + APB_INT_MASK);
regs               82 drivers/gpu/drm/rockchip/cdn-dp-reg.c 	ret = readx_poll_timeout(readl, dp->regs + MAILBOX_EMPTY_ADDR,
regs               88 drivers/gpu/drm/rockchip/cdn-dp-reg.c 	return readl(dp->regs + MAILBOX0_RD_DATA) & 0xff;
regs               95 drivers/gpu/drm/rockchip/cdn-dp-reg.c 	ret = readx_poll_timeout(readl, dp->regs + MAILBOX_FULL_ADDR,
regs              101 drivers/gpu/drm/rockchip/cdn-dp-reg.c 	writel(val, dp->regs + MAILBOX0_WR_DATA);
regs              289 drivers/gpu/drm/rockchip/cdn-dp-reg.c 	       dp->regs + APB_CTRL);
regs              292 drivers/gpu/drm/rockchip/cdn-dp-reg.c 		writel(*i_mem++, dp->regs + ADDR_IMEM + i);
regs              295 drivers/gpu/drm/rockchip/cdn-dp-reg.c 		writel(*d_mem++, dp->regs + ADDR_DMEM + i);
regs              298 drivers/gpu/drm/rockchip/cdn-dp-reg.c 	writel(0, dp->regs + APB_CTRL);
regs              301 drivers/gpu/drm/rockchip/cdn-dp-reg.c 	ret = readx_poll_timeout(readl, dp->regs + KEEP_ALIVE,
regs              309 drivers/gpu/drm/rockchip/cdn-dp-reg.c 	reg = readl(dp->regs + VER_L) & 0xff;
regs              311 drivers/gpu/drm/rockchip/cdn-dp-reg.c 	reg = readl(dp->regs + VER_H) & 0xff;
regs              313 drivers/gpu/drm/rockchip/cdn-dp-reg.c 	reg = readl(dp->regs + VER_LIB_L_ADDR) & 0xff;
regs              315 drivers/gpu/drm/rockchip/cdn-dp-reg.c 	reg = readl(dp->regs + VER_LIB_H_ADDR) & 0xff;
regs              405 drivers/gpu/drm/rockchip/cdn-dp-reg.c 	return readl(dp->regs + SW_EVENTS0);
regs              795 drivers/gpu/drm/rockchip/cdn-dp-reg.c 	writel(0, dp->regs + SPDIF_CTRL_ADDR);
regs              798 drivers/gpu/drm/rockchip/cdn-dp-reg.c 	writel(0, dp->regs + AUDIO_SRC_CNTL);
regs              799 drivers/gpu/drm/rockchip/cdn-dp-reg.c 	writel(0, dp->regs + AUDIO_SRC_CNFG);
regs              800 drivers/gpu/drm/rockchip/cdn-dp-reg.c 	writel(AUDIO_SW_RST, dp->regs + AUDIO_SRC_CNTL);
regs              801 drivers/gpu/drm/rockchip/cdn-dp-reg.c 	writel(0, dp->regs + AUDIO_SRC_CNTL);
regs              804 drivers/gpu/drm/rockchip/cdn-dp-reg.c 	writel(0, dp->regs + SMPL2PKT_CNTL);
regs              805 drivers/gpu/drm/rockchip/cdn-dp-reg.c 	writel(AUDIO_SW_RST, dp->regs + SMPL2PKT_CNTL);
regs              806 drivers/gpu/drm/rockchip/cdn-dp-reg.c 	writel(0, dp->regs + SMPL2PKT_CNTL);
regs              809 drivers/gpu/drm/rockchip/cdn-dp-reg.c 	writel(AUDIO_SW_RST, dp->regs + FIFO_CNTL);
regs              810 drivers/gpu/drm/rockchip/cdn-dp-reg.c 	writel(0, dp->regs + FIFO_CNTL);
regs              846 drivers/gpu/drm/rockchip/cdn-dp-reg.c 	writel(0x0, dp->regs + SPDIF_CTRL_ADDR);
regs              848 drivers/gpu/drm/rockchip/cdn-dp-reg.c 	writel(SYNC_WR_TO_CH_ZERO, dp->regs + FIFO_CNTL);
regs              854 drivers/gpu/drm/rockchip/cdn-dp-reg.c 	writel(val, dp->regs + SMPL2PKT_CNFG);
regs              866 drivers/gpu/drm/rockchip/cdn-dp-reg.c 	writel(val, dp->regs + AUDIO_SRC_CNFG);
regs              875 drivers/gpu/drm/rockchip/cdn-dp-reg.c 		writel(val, dp->regs + STTS_BIT_CH(i));
regs              909 drivers/gpu/drm/rockchip/cdn-dp-reg.c 	writel(val, dp->regs + COM_CH_STTS_BITS);
regs              911 drivers/gpu/drm/rockchip/cdn-dp-reg.c 	writel(SMPL2PKT_EN, dp->regs + SMPL2PKT_CNTL);
regs              912 drivers/gpu/drm/rockchip/cdn-dp-reg.c 	writel(I2S_DEC_START, dp->regs + AUDIO_SRC_CNTL);
regs              919 drivers/gpu/drm/rockchip/cdn-dp-reg.c 	writel(SYNC_WR_TO_CH_ZERO, dp->regs + FIFO_CNTL);
regs              922 drivers/gpu/drm/rockchip/cdn-dp-reg.c 	writel(val, dp->regs + SMPL2PKT_CNFG);
regs              923 drivers/gpu/drm/rockchip/cdn-dp-reg.c 	writel(SMPL2PKT_EN, dp->regs + SMPL2PKT_CNTL);
regs              926 drivers/gpu/drm/rockchip/cdn-dp-reg.c 	writel(val, dp->regs + SPDIF_CTRL_ADDR);
regs               55 drivers/gpu/drm/rockchip/inno_hdmi.c 	void __iomem *regs;
regs              150 drivers/gpu/drm/rockchip/inno_hdmi.c 	return readl_relaxed(hdmi->regs + (offset) * 0x04);
regs              155 drivers/gpu/drm/rockchip/inno_hdmi.c 	writel_relaxed(val, hdmi->regs + (offset) * 0x04);
regs              827 drivers/gpu/drm/rockchip/inno_hdmi.c 	hdmi->regs = devm_ioremap_resource(dev, iores);
regs              828 drivers/gpu/drm/rockchip/inno_hdmi.c 	if (IS_ERR(hdmi->regs))
regs              829 drivers/gpu/drm/rockchip/inno_hdmi.c 		return PTR_ERR(hdmi->regs);
regs               46 drivers/gpu/drm/rockchip/rk3066_hdmi.c 	void __iomem *regs;
regs               64 drivers/gpu/drm/rockchip/rk3066_hdmi.c 	return readl_relaxed(hdmi->regs + offset);
regs               69 drivers/gpu/drm/rockchip/rk3066_hdmi.c 	writel_relaxed(val, hdmi->regs + offset);
regs              761 drivers/gpu/drm/rockchip/rk3066_hdmi.c 	hdmi->regs = devm_ioremap_resource(dev, iores);
regs              762 drivers/gpu/drm/rockchip/rk3066_hdmi.c 	if (IS_ERR(hdmi->regs))
regs              763 drivers/gpu/drm/rockchip/rk3066_hdmi.c 		return PTR_ERR(hdmi->regs);
regs              141 drivers/gpu/drm/rockchip/rockchip_drm_vop.c 	void __iomem *regs;
regs              173 drivers/gpu/drm/rockchip/rockchip_drm_vop.c 	writel(v, vop->regs + offset);
regs              179 drivers/gpu/drm/rockchip/rockchip_drm_vop.c 	return readl(vop->regs + offset);
regs              213 drivers/gpu/drm/rockchip/rockchip_drm_vop.c 		writel_relaxed(v, vop->regs + offset);
regs              215 drivers/gpu/drm/rockchip/rockchip_drm_vop.c 		writel(v, vop->regs + offset);
regs              222 drivers/gpu/drm/rockchip/rockchip_drm_vop.c 	uint32_t regs = vop_read_reg(vop, 0, reg);
regs              225 drivers/gpu/drm/rockchip/rockchip_drm_vop.c 		if ((type & vop->data->intr->intrs[i]) && (regs & 1 << i))
regs              582 drivers/gpu/drm/rockchip/rockchip_drm_vop.c 		writel_relaxed(vop->regsbak[i / 4], vop->regs + i);
regs             1705 drivers/gpu/drm/rockchip/rockchip_drm_vop.c 		vop->regsbak[i / 4] = readl_relaxed(vop->regs + i);
regs             1852 drivers/gpu/drm/rockchip/rockchip_drm_vop.c 	vop->regs = devm_ioremap_resource(dev, res);
regs             1853 drivers/gpu/drm/rockchip/rockchip_drm_vop.c 	if (IS_ERR(vop->regs))
regs             1854 drivers/gpu/drm/rockchip/rockchip_drm_vop.c 		return PTR_ERR(vop->regs);
regs               55 drivers/gpu/drm/rockchip/rockchip_lvds.c 	void __iomem *regs;
regs               71 drivers/gpu/drm/rockchip/rockchip_lvds.c 	writel_relaxed(val, lvds->regs + offset);
regs               74 drivers/gpu/drm/rockchip/rockchip_lvds.c 	writel_relaxed(val, lvds->regs + offset + lvds->soc_data->ch1_offset);
regs              509 drivers/gpu/drm/rockchip/rockchip_lvds.c 	lvds->regs = devm_ioremap_resource(&pdev->dev, res);
regs              510 drivers/gpu/drm/rockchip/rockchip_lvds.c 	if (IS_ERR(lvds->regs))
regs              511 drivers/gpu/drm/rockchip/rockchip_lvds.c 		return PTR_ERR(lvds->regs);
regs              125 drivers/gpu/drm/savage/savage_state.c 		dev_priv->state.where = regs[reg - start]
regs              129 drivers/gpu/drm/savage/savage_state.c 		tmp = regs[reg - start];			\
regs              137 drivers/gpu/drm/savage/savage_state.c 				   const uint32_t *regs)
regs              167 drivers/gpu/drm/savage/savage_state.c 				  const uint32_t *regs)
regs              206 drivers/gpu/drm/savage/savage_state.c 				 const uint32_t *regs)
regs              219 drivers/gpu/drm/savage/savage_state.c 		ret = savage_verify_state_s3d(dev_priv, start, count, regs);
regs              236 drivers/gpu/drm/savage/savage_state.c 		ret = savage_verify_state_s4(dev_priv, start, count, regs);
regs              269 drivers/gpu/drm/savage/savage_state.c 			DMA_COPY(regs, n);
regs              272 drivers/gpu/drm/savage/savage_state.c 			regs += n;
regs              275 drivers/gpu/drm/savage/savage_state.c 		regs += 2;
regs               82 drivers/gpu/drm/sti/sti_compositor.c 					   compo->regs + desc[i].offset);
regs               88 drivers/gpu/drm/sti/sti_compositor.c 					     compo->regs + desc[i].offset);
regs              116 drivers/gpu/drm/sti/sti_compositor.c 						   compo->regs + desc[i].offset,
regs              126 drivers/gpu/drm/sti/sti_compositor.c 						 compo->regs + desc[i].offset,
regs              207 drivers/gpu/drm/sti/sti_compositor.c 	compo->regs = devm_ioremap(dev, res->start, resource_size(res));
regs              208 drivers/gpu/drm/sti/sti_compositor.c 	if (compo->regs == NULL) {
regs               68 drivers/gpu/drm/sti/sti_compositor.h 	void __iomem *regs;
regs               65 drivers/gpu/drm/sti/sti_cursor.c 	void __iomem *regs;
regs               80 drivers/gpu/drm/sti/sti_cursor.c 				   readl(cursor->regs + reg))
regs              112 drivers/gpu/drm/sti/sti_cursor.c 		   sti_plane_to_str(&cursor->plane), cursor->regs);
regs              116 drivers/gpu/drm/sti/sti_cursor.c 	cursor_dbg_vpo(s, readl(cursor->regs + CUR_VPO));
regs              118 drivers/gpu/drm/sti/sti_cursor.c 	cursor_dbg_pml(s, cursor, readl(cursor->regs + CUR_PML));
regs              121 drivers/gpu/drm/sti/sti_cursor.c 	cursor_dbg_size(s, readl(cursor->regs + CUR_SIZE));
regs              123 drivers/gpu/drm/sti/sti_cursor.c 	cursor_dbg_cml(s, cursor, readl(cursor->regs + CUR_CML));
regs              284 drivers/gpu/drm/sti/sti_cursor.c 	writel(val, cursor->regs + CUR_AWS);
regs              288 drivers/gpu/drm/sti/sti_cursor.c 	writel(val, cursor->regs + CUR_AWE);
regs              291 drivers/gpu/drm/sti/sti_cursor.c 	writel(cursor->pixmap.paddr, cursor->regs + CUR_PML);
regs              292 drivers/gpu/drm/sti/sti_cursor.c 	writel(cursor->width, cursor->regs + CUR_PMP);
regs              293 drivers/gpu/drm/sti/sti_cursor.c 	writel(cursor->height << 16 | cursor->width, cursor->regs + CUR_SIZE);
regs              297 drivers/gpu/drm/sti/sti_cursor.c 	writel((y << 16) | x, cursor->regs + CUR_VPO);
regs              300 drivers/gpu/drm/sti/sti_cursor.c 	writel(cursor->clut_paddr, cursor->regs + CUR_CML);
regs              301 drivers/gpu/drm/sti/sti_cursor.c 	writel(CUR_CTL_CLUT_UPDATE, cursor->regs + CUR_CTL);
regs              384 drivers/gpu/drm/sti/sti_cursor.c 	cursor->regs = baseaddr;
regs               88 drivers/gpu/drm/sti/sti_dvo.c 	void __iomem *regs;
regs              155 drivers/gpu/drm/sti/sti_dvo.c 		       dvo->regs + DVO_DIGSYNC_INSTR_I + i * 4);
regs              157 drivers/gpu/drm/sti/sti_dvo.c 		writel(0, dvo->regs + DVO_DIGSYNC_INSTR_I + i * 4);
regs              159 drivers/gpu/drm/sti/sti_dvo.c 	writel(DVO_AWG_CTRL_EN, dvo->regs + DVO_AWG_DIGSYNC_CTRL);
regs              163 drivers/gpu/drm/sti/sti_dvo.c 				   readl(dvo->regs + reg))
regs              183 drivers/gpu/drm/sti/sti_dvo.c 	seq_printf(s, "DVO: (vaddr = 0x%p)", dvo->regs);
regs              189 drivers/gpu/drm/sti/sti_dvo.c 	dvo_dbg_awg_microcode(s, dvo->regs + DVO_DIGSYNC_INSTR_I);
regs              220 drivers/gpu/drm/sti/sti_dvo.c 		writel(0x00000000, dvo->regs + DVO_AWG_DIGSYNC_CTRL);
regs              222 drivers/gpu/drm/sti/sti_dvo.c 	writel(0x00000000, dvo->regs + DVO_DOF_CFG);
regs              245 drivers/gpu/drm/sti/sti_dvo.c 	writel(0x00000000, dvo->regs + DVO_DOF_CFG);
regs              246 drivers/gpu/drm/sti/sti_dvo.c 	writel(0x00000000, dvo->regs + DVO_AWG_DIGSYNC_CTRL);
regs              267 drivers/gpu/drm/sti/sti_dvo.c 	writel(config->lowbyte,  dvo->regs + DVO_LUT_PROG_LOW);
regs              268 drivers/gpu/drm/sti/sti_dvo.c 	writel(config->midbyte,  dvo->regs + DVO_LUT_PROG_MID);
regs              269 drivers/gpu/drm/sti/sti_dvo.c 	writel(config->highbyte, dvo->regs + DVO_LUT_PROG_HIGH);
regs              273 drivers/gpu/drm/sti/sti_dvo.c 	writel(val, dvo->regs + DVO_DOF_CFG);
regs              536 drivers/gpu/drm/sti/sti_dvo.c 	dvo->regs = devm_ioremap_nocache(dev, res->start,
regs              538 drivers/gpu/drm/sti/sti_dvo.c 	if (!dvo->regs)
regs              123 drivers/gpu/drm/sti/sti_gdp.c 	void __iomem *regs;
regs              147 drivers/gpu/drm/sti/sti_gdp.c 				   readl(gdp->regs + reg ## _OFFSET))
regs              225 drivers/gpu/drm/sti/sti_gdp.c 		   sti_plane_to_str(&gdp->plane), gdp->regs);
regs              228 drivers/gpu/drm/sti/sti_gdp.c 	gdp_dbg_ctl(s, readl(gdp->regs + GAM_GDP_CTL_OFFSET));
regs              231 drivers/gpu/drm/sti/sti_gdp.c 	gdp_dbg_vpo(s, readl(gdp->regs + GAM_GDP_VPO_OFFSET));
regs              233 drivers/gpu/drm/sti/sti_gdp.c 	gdp_dbg_vps(s, readl(gdp->regs + GAM_GDP_VPS_OFFSET));
regs              237 drivers/gpu/drm/sti/sti_gdp.c 	gdp_dbg_size(s, readl(gdp->regs + GAM_GDP_SIZE_OFFSET));
regs              239 drivers/gpu/drm/sti/sti_gdp.c 	gdp_dbg_nvn(s, gdp, readl(gdp->regs + GAM_GDP_NVN_OFFSET));
regs              243 drivers/gpu/drm/sti/sti_gdp.c 	gdp_dbg_ppt(s, readl(gdp->regs + GAM_GDP_PPT_OFFSET));
regs              246 drivers/gpu/drm/sti/sti_gdp.c 	gdp_dbg_mst(s, readl(gdp->regs + GAM_GDP_MST_OFFSET));
regs              399 drivers/gpu/drm/sti/sti_gdp.c 	hw_nvn = readl(gdp->regs + GAM_GDP_NVN_OFFSET);
regs              431 drivers/gpu/drm/sti/sti_gdp.c 	hw_nvn = readl(gdp->regs + GAM_GDP_NVN_OFFSET);
regs              822 drivers/gpu/drm/sti/sti_gdp.c 		readl(gdp->regs + GAM_GDP_NVN_OFFSET));
regs              825 drivers/gpu/drm/sti/sti_gdp.c 		readl(gdp->regs + GAM_GDP_PML_OFFSET));
regs              835 drivers/gpu/drm/sti/sti_gdp.c 				gdp->regs + GAM_GDP_NVN_OFFSET);
regs              848 drivers/gpu/drm/sti/sti_gdp.c 			       gdp->regs + GAM_GDP_NVN_OFFSET);
regs              852 drivers/gpu/drm/sti/sti_gdp.c 		writel(dma_updated_top, gdp->regs + GAM_GDP_NVN_OFFSET);
regs              927 drivers/gpu/drm/sti/sti_gdp.c 	gdp->regs = baseaddr;
regs              247 drivers/gpu/drm/sti/sti_hda.c 	void __iomem *regs;
regs              265 drivers/gpu/drm/sti/sti_hda.c 	return readl(hda->regs + offset);
regs              270 drivers/gpu/drm/sti/sti_hda.c 	writel(val, hda->regs + offset);
regs              315 drivers/gpu/drm/sti/sti_hda.c 				   readl(hda->regs + reg))
regs              349 drivers/gpu/drm/sti/sti_hda.c 	seq_printf(s, "HD Analog: (vaddr = 0x%p)", hda->regs);
regs              351 drivers/gpu/drm/sti/sti_hda.c 	hda_dbg_cfg(s, readl(hda->regs + HDA_ANA_CFG));
regs              358 drivers/gpu/drm/sti/sti_hda.c 	hda_dbg_awg_microcode(s, hda->regs + HDA_SYNC_AWGI);
regs              761 drivers/gpu/drm/sti/sti_hda.c 	hda->regs = devm_ioremap_nocache(dev, res->start, resource_size(res));
regs              762 drivers/gpu/drm/sti/sti_hda.c 	if (!hda->regs)
regs              171 drivers/gpu/drm/sti/sti_hdmi.c 	return readl(hdmi->regs + offset);
regs              176 drivers/gpu/drm/sti/sti_hdmi.c 	writel(val, hdmi->regs + offset);
regs              191 drivers/gpu/drm/sti/sti_hdmi.c 		hdmi->hpd = readl(hdmi->regs + HDMI_STA) & HDMI_STA_HOT_PLUG;
regs              397 drivers/gpu/drm/sti/sti_hdmi.c 	writel(val, hdmi->regs + head_offset);
regs              411 drivers/gpu/drm/sti/sti_hdmi.c 		writel(val, hdmi->regs + pack_offset + i);
regs              666 drivers/gpu/drm/sti/sti_hdmi.c 	seq_printf(s, "HDMI: (vaddr = 0x%p)", hdmi->regs);
regs             1383 drivers/gpu/drm/sti/sti_hdmi.c 	hdmi->regs = devm_ioremap_nocache(dev, res->start, resource_size(res));
regs             1384 drivers/gpu/drm/sti/sti_hdmi.c 	if (!hdmi->regs) {
regs             1421 drivers/gpu/drm/sti/sti_hdmi.c 	hdmi->hpd = readl(hdmi->regs + HDMI_STA) & HDMI_STA_HOT_PLUG;
regs               76 drivers/gpu/drm/sti/sti_hdmi.h 	void __iomem *regs;
regs              346 drivers/gpu/drm/sti/sti_hqvdp.c 	void __iomem *regs;
regs              382 drivers/gpu/drm/sti/sti_hqvdp.c 	curr_cmd = readl(hqvdp->regs + HQVDP_MBX_CURRENT_CMD);
regs              383 drivers/gpu/drm/sti/sti_hqvdp.c 	next_cmd = readl(hqvdp->regs + HQVDP_MBX_NEXT_CMD);
regs              410 drivers/gpu/drm/sti/sti_hqvdp.c 	curr_cmd = readl(hqvdp->regs + HQVDP_MBX_CURRENT_CMD);
regs              438 drivers/gpu/drm/sti/sti_hqvdp.c 	next_cmd = readl(hqvdp->regs + HQVDP_MBX_NEXT_CMD);
regs              451 drivers/gpu/drm/sti/sti_hqvdp.c 				   readl(hqvdp->regs + reg))
regs              571 drivers/gpu/drm/sti/sti_hqvdp.c 		   sti_plane_to_str(&hqvdp->plane), hqvdp->regs);
regs              577 drivers/gpu/drm/sti/sti_hqvdp.c 	infoxp70 = readl(hqvdp->regs + HQVDP_MBX_INFO_XP70);
regs              590 drivers/gpu/drm/sti/sti_hqvdp.c 	if (readl(hqvdp->regs + HQVDP_MBX_STARTUP_CTRL1)
regs              596 drivers/gpu/drm/sti/sti_hqvdp.c 	if (readl(hqvdp->regs + HQVDP_MBX_STARTUP_CTRL2)
regs              605 drivers/gpu/drm/sti/sti_hqvdp.c 	if (!(readl(hqvdp->regs + HQVDP_MBX_SOFT_VSYNC) & 3))
regs              611 drivers/gpu/drm/sti/sti_hqvdp.c 	cmd = readl(hqvdp->regs + HQVDP_MBX_CURRENT_CMD);
regs              623 drivers/gpu/drm/sti/sti_hqvdp.c 	cmd = readl(hqvdp->regs + HQVDP_MBX_NEXT_CMD);
regs              765 drivers/gpu/drm/sti/sti_hqvdp.c 	writel(0, hqvdp->regs + HQVDP_MBX_NEXT_CMD);
regs              768 drivers/gpu/drm/sti/sti_hqvdp.c 		if (readl(hqvdp->regs + HQVDP_MBX_INFO_XP70)
regs              836 drivers/gpu/drm/sti/sti_hqvdp.c 				hqvdp->regs + HQVDP_MBX_NEXT_CMD);
regs              873 drivers/gpu/drm/sti/sti_hqvdp.c 	writel(PLUG_PAGE_SIZE_256, hqvdp->regs + HQVDP_RD_PLUG_PAGE_SIZE);
regs              874 drivers/gpu/drm/sti/sti_hqvdp.c 	writel(PLUG_MIN_OPC_8, hqvdp->regs + HQVDP_RD_PLUG_MIN_OPC);
regs              875 drivers/gpu/drm/sti/sti_hqvdp.c 	writel(PLUG_MAX_OPC_64, hqvdp->regs + HQVDP_RD_PLUG_MAX_OPC);
regs              876 drivers/gpu/drm/sti/sti_hqvdp.c 	writel(PLUG_MAX_CHK_2X, hqvdp->regs + HQVDP_RD_PLUG_MAX_CHK);
regs              877 drivers/gpu/drm/sti/sti_hqvdp.c 	writel(PLUG_MAX_MSG_1X, hqvdp->regs + HQVDP_RD_PLUG_MAX_MSG);
regs              878 drivers/gpu/drm/sti/sti_hqvdp.c 	writel(PLUG_MIN_SPACE_1, hqvdp->regs + HQVDP_RD_PLUG_MIN_SPACE);
regs              879 drivers/gpu/drm/sti/sti_hqvdp.c 	writel(PLUG_CONTROL_ENABLE, hqvdp->regs + HQVDP_RD_PLUG_CONTROL);
regs              881 drivers/gpu/drm/sti/sti_hqvdp.c 	writel(PLUG_PAGE_SIZE_256, hqvdp->regs + HQVDP_WR_PLUG_PAGE_SIZE);
regs              882 drivers/gpu/drm/sti/sti_hqvdp.c 	writel(PLUG_MIN_OPC_8, hqvdp->regs + HQVDP_WR_PLUG_MIN_OPC);
regs              883 drivers/gpu/drm/sti/sti_hqvdp.c 	writel(PLUG_MAX_OPC_64, hqvdp->regs + HQVDP_WR_PLUG_MAX_OPC);
regs              884 drivers/gpu/drm/sti/sti_hqvdp.c 	writel(PLUG_MAX_CHK_2X, hqvdp->regs + HQVDP_WR_PLUG_MAX_CHK);
regs              885 drivers/gpu/drm/sti/sti_hqvdp.c 	writel(PLUG_MAX_MSG_1X, hqvdp->regs + HQVDP_WR_PLUG_MAX_MSG);
regs              886 drivers/gpu/drm/sti/sti_hqvdp.c 	writel(PLUG_MIN_SPACE_1, hqvdp->regs + HQVDP_WR_PLUG_MIN_SPACE);
regs              887 drivers/gpu/drm/sti/sti_hqvdp.c 	writel(PLUG_CONTROL_ENABLE, hqvdp->regs + HQVDP_WR_PLUG_CONTROL);
regs              957 drivers/gpu/drm/sti/sti_hqvdp.c 	writel(SW_RESET_CTRL_FULL, hqvdp->regs + HQVDP_MBX_SW_RESET_CTRL);
regs              960 drivers/gpu/drm/sti/sti_hqvdp.c 		if (readl(hqvdp->regs + HQVDP_MBX_STARTUP_CTRL1)
regs              973 drivers/gpu/drm/sti/sti_hqvdp.c 		writel(fw_rd_plug[i], hqvdp->regs + HQVDP_RD_PLUG + i * 4);
regs              975 drivers/gpu/drm/sti/sti_hqvdp.c 		writel(fw_wr_plug[i], hqvdp->regs + HQVDP_WR_PLUG + i * 4);
regs              980 drivers/gpu/drm/sti/sti_hqvdp.c 	writel(STARTUP_CTRL1_AUTH_IDLE, hqvdp->regs + HQVDP_MBX_STARTUP_CTRL1);
regs              983 drivers/gpu/drm/sti/sti_hqvdp.c 	writel(SOFT_VSYNC_SW_CTRL_IRQ, hqvdp->regs + HQVDP_MBX_SOFT_VSYNC);
regs              984 drivers/gpu/drm/sti/sti_hqvdp.c 	writel(0, hqvdp->regs + HQVDP_MBX_NEXT_CMD);
regs              988 drivers/gpu/drm/sti/sti_hqvdp.c 		writel(fw_pmem[i], hqvdp->regs + HQVDP_PMEM + i * 4);
regs              990 drivers/gpu/drm/sti/sti_hqvdp.c 		writel(fw_dmem[i], hqvdp->regs + HQVDP_DMEM + i * 4);
regs              993 drivers/gpu/drm/sti/sti_hqvdp.c 	writel(STARTUP_CTRL2_FETCH_EN, hqvdp->regs + HQVDP_MBX_STARTUP_CTRL2);
regs              997 drivers/gpu/drm/sti/sti_hqvdp.c 		if (readl(hqvdp->regs + HQVDP_MBX_INFO_XP70)
regs             1009 drivers/gpu/drm/sti/sti_hqvdp.c 	writel(SOFT_VSYNC_HW, hqvdp->regs + HQVDP_MBX_SOFT_VSYNC);
regs             1226 drivers/gpu/drm/sti/sti_hqvdp.c 	       hqvdp->regs + HQVDP_MBX_NEXT_CMD);
regs             1370 drivers/gpu/drm/sti/sti_hqvdp.c 	hqvdp->regs = devm_ioremap(dev, res->start, resource_size(res));
regs             1371 drivers/gpu/drm/sti/sti_hqvdp.c 	if (!hqvdp->regs) {
regs               68 drivers/gpu/drm/sti/sti_mixer.c 	return readl(mixer->regs + reg_id);
regs               74 drivers/gpu/drm/sti/sti_mixer.c 	writel(val, mixer->regs + reg_id);
regs              154 drivers/gpu/drm/sti/sti_mixer.c 		   sti_mixer_to_str(mixer), mixer->regs);
regs              168 drivers/gpu/drm/sti/sti_mixer.c 	mixer_dbg_mxn(s, mixer->regs + GAM_MIXER_MX0);
regs              370 drivers/gpu/drm/sti/sti_mixer.c 	mixer->regs = baseaddr;
regs              375 drivers/gpu/drm/sti/sti_mixer.c 			 sti_mixer_to_str(mixer), mixer->regs);
regs               40 drivers/gpu/drm/sti/sti_mixer.h 	void __iomem *regs;
regs              115 drivers/gpu/drm/sti/sti_tvout.c 	void __iomem *regs;
regs              147 drivers/gpu/drm/sti/sti_tvout.c 	return readl(tvout->regs + offset);
regs              152 drivers/gpu/drm/sti/sti_tvout.c 	writel(val, tvout->regs + offset);
regs              450 drivers/gpu/drm/sti/sti_tvout.c 				   readl(tvout->regs + reg))
regs              503 drivers/gpu/drm/sti/sti_tvout.c 	seq_printf(s, "TVOUT: (vaddr = 0x%p)", tvout->regs);
regs              512 drivers/gpu/drm/sti/sti_tvout.c 		tvout_dbg_vip(s, readl(tvout->regs + TVO_VIP_HDMI));
regs              525 drivers/gpu/drm/sti/sti_tvout.c 		tvout_dbg_vip(s, readl(tvout->regs + TVO_VIP_DVO));
regs              538 drivers/gpu/drm/sti/sti_tvout.c 				     readl(tvout->regs + TVO_HD_DAC_CFG_OFF));
regs              540 drivers/gpu/drm/sti/sti_tvout.c 		tvout_dbg_vip(s, readl(tvout->regs + TVO_VIP_HDF));
regs              863 drivers/gpu/drm/sti/sti_tvout.c 	tvout->regs = devm_ioremap_nocache(dev, res->start, resource_size(res));
regs              864 drivers/gpu/drm/sti/sti_tvout.c 	if (!tvout->regs)
regs               61 drivers/gpu/drm/sti/sti_vid.c 				   readl(vid->regs + reg))
regs               98 drivers/gpu/drm/sti/sti_vid.c 	seq_printf(s, "VID: (vaddr= 0x%p)", vid->regs);
regs              101 drivers/gpu/drm/sti/sti_vid.c 	vid_dbg_ctl(s, readl(vid->regs + VID_CTL));
regs              105 drivers/gpu/drm/sti/sti_vid.c 	vid_dbg_vpo(s, readl(vid->regs + VID_VPO));
regs              107 drivers/gpu/drm/sti/sti_vid.c 	vid_dbg_vps(s, readl(vid->regs + VID_VPS));
regs              115 drivers/gpu/drm/sti/sti_vid.c 	vid_dbg_mst(s, readl(vid->regs + VID_MST));
regs              157 drivers/gpu/drm/sti/sti_vid.c 	val = readl(vid->regs + VID_CTL);
regs              159 drivers/gpu/drm/sti/sti_vid.c 	writel(val, vid->regs + VID_CTL);
regs              166 drivers/gpu/drm/sti/sti_vid.c 	writel((ydo << 16) | xdo, vid->regs + VID_VPO);
regs              167 drivers/gpu/drm/sti/sti_vid.c 	writel((yds << 16) | xds, vid->regs + VID_VPS);
regs              171 drivers/gpu/drm/sti/sti_vid.c 		writel(VID_MPR0_BT709, vid->regs + VID_MPR0);
regs              172 drivers/gpu/drm/sti/sti_vid.c 		writel(VID_MPR1_BT709, vid->regs + VID_MPR1);
regs              173 drivers/gpu/drm/sti/sti_vid.c 		writel(VID_MPR2_BT709, vid->regs + VID_MPR2);
regs              174 drivers/gpu/drm/sti/sti_vid.c 		writel(VID_MPR3_BT709, vid->regs + VID_MPR3);
regs              176 drivers/gpu/drm/sti/sti_vid.c 		writel(VID_MPR0_BT601, vid->regs + VID_MPR0);
regs              177 drivers/gpu/drm/sti/sti_vid.c 		writel(VID_MPR1_BT601, vid->regs + VID_MPR1);
regs              178 drivers/gpu/drm/sti/sti_vid.c 		writel(VID_MPR2_BT601, vid->regs + VID_MPR2);
regs              179 drivers/gpu/drm/sti/sti_vid.c 		writel(VID_MPR3_BT601, vid->regs + VID_MPR3);
regs              188 drivers/gpu/drm/sti/sti_vid.c 	val = readl(vid->regs + VID_CTL);
regs              190 drivers/gpu/drm/sti/sti_vid.c 	writel(val, vid->regs + VID_CTL);
regs              196 drivers/gpu/drm/sti/sti_vid.c 	writel(VID_CTL_PSI_ENABLE | VID_CTL_IGNORE, vid->regs + VID_CTL);
regs              199 drivers/gpu/drm/sti/sti_vid.c 	writel(VID_ALP_OPAQUE, vid->regs + VID_ALP);
regs              202 drivers/gpu/drm/sti/sti_vid.c 	writel(VID_BC_DFLT, vid->regs + VID_BC);
regs              203 drivers/gpu/drm/sti/sti_vid.c 	writel(VID_TINT_DFLT, vid->regs + VID_TINT);
regs              204 drivers/gpu/drm/sti/sti_vid.c 	writel(VID_CSAT_DFLT, vid->regs + VID_CSAT);
regs              219 drivers/gpu/drm/sti/sti_vid.c 	vid->regs = baseaddr;
regs               19 drivers/gpu/drm/sti/sti_vid.h 	void __iomem *regs;
regs              135 drivers/gpu/drm/sti/sti_vtg.c 	void __iomem *regs;
regs              156 drivers/gpu/drm/sti/sti_vtg.c 	writel(1, vtg->regs + VTG_DRST_AUTOC);
regs              159 drivers/gpu/drm/sti/sti_vtg.c static void vtg_set_output_window(void __iomem *regs,
regs              179 drivers/gpu/drm/sti/sti_vtg.c 	writel(video_top_field_start, regs + VTG_VID_TFO);
regs              180 drivers/gpu/drm/sti/sti_vtg.c 	writel(video_top_field_stop, regs + VTG_VID_TFS);
regs              181 drivers/gpu/drm/sti/sti_vtg.c 	writel(video_bottom_field_start, regs + VTG_VID_BFO);
regs              182 drivers/gpu/drm/sti/sti_vtg.c 	writel(video_bottom_field_stop, regs + VTG_VID_BFS);
regs              246 drivers/gpu/drm/sti/sti_vtg.c 	writel(mode->htotal, vtg->regs + VTG_CLKLN);
regs              249 drivers/gpu/drm/sti/sti_vtg.c 	writel(mode->vtotal * 2, vtg->regs + VTG_HLFLN);
regs              252 drivers/gpu/drm/sti/sti_vtg.c 	vtg_set_output_window(vtg->regs, mode);
regs              269 drivers/gpu/drm/sti/sti_vtg.c 		       vtg->regs + vtg_regs_offs[i].h_hd);
regs              271 drivers/gpu/drm/sti/sti_vtg.c 		       vtg->regs + vtg_regs_offs[i].top_v_vd);
regs              273 drivers/gpu/drm/sti/sti_vtg.c 		       vtg->regs + vtg_regs_offs[i].bot_v_vd);
regs              275 drivers/gpu/drm/sti/sti_vtg.c 		       vtg->regs + vtg_regs_offs[i].top_v_hd);
regs              277 drivers/gpu/drm/sti/sti_vtg.c 		       vtg->regs + vtg_regs_offs[i].bot_v_hd);
regs              281 drivers/gpu/drm/sti/sti_vtg.c 	writel(type, vtg->regs + VTG_MODE);
regs              287 drivers/gpu/drm/sti/sti_vtg.c 	writel(0xFFFF, vtg->regs + VTG_HOST_ITS_BCLR);
regs              288 drivers/gpu/drm/sti/sti_vtg.c 	writel(0xFFFF, vtg->regs + VTG_HOST_ITM_BCLR);
regs              289 drivers/gpu/drm/sti/sti_vtg.c 	writel(VTG_IRQ_MASK, vtg->regs + VTG_HOST_ITM_BSET);
regs              369 drivers/gpu/drm/sti/sti_vtg.c 	vtg->irq_status = readl(vtg->regs + VTG_HOST_ITS);
regs              371 drivers/gpu/drm/sti/sti_vtg.c 	writel(vtg->irq_status, vtg->regs + VTG_HOST_ITS_BCLR);
regs              374 drivers/gpu/drm/sti/sti_vtg.c 	readl(vtg->regs + VTG_HOST_ITS);
regs              396 drivers/gpu/drm/sti/sti_vtg.c 	vtg->regs = devm_ioremap_nocache(dev, res->start, resource_size(res));
regs              397 drivers/gpu/drm/sti/sti_vtg.c 	if (!vtg->regs) {
regs              394 drivers/gpu/drm/stm/ltdc.c 	ldev->irq_status = reg_read(ldev->regs, LTDC_ISR);
regs              395 drivers/gpu/drm/stm/ltdc.c 	reg_write(ldev->regs, LTDC_ICR, ldev->irq_status);
regs              419 drivers/gpu/drm/stm/ltdc.c 		reg_write(ldev->regs, LTDC_L1CLUTWR, val);
regs              431 drivers/gpu/drm/stm/ltdc.c 	reg_write(ldev->regs, LTDC_BCCR, BCCR_BCBLACK);
regs              434 drivers/gpu/drm/stm/ltdc.c 	reg_set(ldev->regs, LTDC_IER, IER_RRIE | IER_FUIE | IER_TERRIE);
regs              437 drivers/gpu/drm/stm/ltdc.c 	reg_set(ldev->regs, LTDC_SRCR, SRCR_VBR);
regs              440 drivers/gpu/drm/stm/ltdc.c 	reg_set(ldev->regs, LTDC_GCR, GCR_LTDCEN);
regs              456 drivers/gpu/drm/stm/ltdc.c 	reg_clear(ldev->regs, LTDC_GCR, GCR_LTDCEN);
regs              459 drivers/gpu/drm/stm/ltdc.c 	reg_clear(ldev->regs, LTDC_IER, IER_RRIE | IER_FUIE | IER_TERRIE);
regs              462 drivers/gpu/drm/stm/ltdc.c 	reg_set(ldev->regs, LTDC_SRCR, SRCR_IMR);
regs              596 drivers/gpu/drm/stm/ltdc.c 	reg_update_bits(ldev->regs, LTDC_GCR,
regs              601 drivers/gpu/drm/stm/ltdc.c 	reg_update_bits(ldev->regs, LTDC_SSCR, SSCR_VSH | SSCR_HSW, val);
regs              605 drivers/gpu/drm/stm/ltdc.c 	reg_update_bits(ldev->regs, LTDC_BPCR, BPCR_AVBP | BPCR_AHBP, val);
regs              609 drivers/gpu/drm/stm/ltdc.c 	reg_update_bits(ldev->regs, LTDC_AWCR, AWCR_AAW | AWCR_AAH, val);
regs              613 drivers/gpu/drm/stm/ltdc.c 	reg_update_bits(ldev->regs, LTDC_TWCR, TWCR_TOTALH | TWCR_TOTALW, val);
regs              615 drivers/gpu/drm/stm/ltdc.c 	reg_write(ldev->regs, LTDC_LIPCR, (accum_act_h + 1));
regs              630 drivers/gpu/drm/stm/ltdc.c 	reg_set(ldev->regs, LTDC_SRCR, SRCR_VBR);
regs              658 drivers/gpu/drm/stm/ltdc.c 	reg_set(ldev->regs, LTDC_IER, IER_LIE);
regs              668 drivers/gpu/drm/stm/ltdc.c 	reg_clear(ldev->regs, LTDC_IER, IER_LIE);
regs              697 drivers/gpu/drm/stm/ltdc.c 		line = reg_read(ldev->regs, LTDC_CPSR) & CPSR_CYPOS;
regs              698 drivers/gpu/drm/stm/ltdc.c 		vactive_start = reg_read(ldev->regs, LTDC_BPCR) & BPCR_AVBP;
regs              699 drivers/gpu/drm/stm/ltdc.c 		vactive_end = reg_read(ldev->regs, LTDC_AWCR) & AWCR_AAH;
regs              700 drivers/gpu/drm/stm/ltdc.c 		vtotal = reg_read(ldev->regs, LTDC_TWCR) & TWCR_TOTALH;
regs              790 drivers/gpu/drm/stm/ltdc.c 	bpcr = reg_read(ldev->regs, LTDC_BPCR);
regs              796 drivers/gpu/drm/stm/ltdc.c 	reg_update_bits(ldev->regs, LTDC_L1WHPCR + lofs,
regs              801 drivers/gpu/drm/stm/ltdc.c 	reg_update_bits(ldev->regs, LTDC_L1WVPCR + lofs,
regs              815 drivers/gpu/drm/stm/ltdc.c 	reg_update_bits(ldev->regs, LTDC_L1PFCR + lofs, LXPFCR_PF, val);
regs              822 drivers/gpu/drm/stm/ltdc.c 	reg_update_bits(ldev->regs, LTDC_L1CFBLR + lofs,
regs              827 drivers/gpu/drm/stm/ltdc.c 	reg_update_bits(ldev->regs, LTDC_L1CACR + lofs, LXCACR_CONSTA, val);
regs              839 drivers/gpu/drm/stm/ltdc.c 	reg_update_bits(ldev->regs, LTDC_L1BFCR + lofs,
regs              844 drivers/gpu/drm/stm/ltdc.c 	reg_update_bits(ldev->regs, LTDC_L1CFBLNR + lofs, LXCFBLNR_CFBLN, val);
regs              850 drivers/gpu/drm/stm/ltdc.c 	reg_write(ldev->regs, LTDC_L1CFBAR + lofs, paddr);
regs              855 drivers/gpu/drm/stm/ltdc.c 	reg_update_bits(ldev->regs, LTDC_L1CR + lofs,
regs              879 drivers/gpu/drm/stm/ltdc.c 	reg_clear(ldev->regs, LTDC_L1CR + lofs, LXCR_LEN);
regs             1078 drivers/gpu/drm/stm/ltdc.c 	lcr = reg_read(ldev->regs, LTDC_LCR);
regs             1083 drivers/gpu/drm/stm/ltdc.c 	gc2r = reg_read(ldev->regs, LTDC_GC2R);
regs             1086 drivers/gpu/drm/stm/ltdc.c 	ldev->caps.hw_version = reg_read(ldev->regs, LTDC_IDR);
regs             1198 drivers/gpu/drm/stm/ltdc.c 	ldev->regs = devm_ioremap_resource(dev, res);
regs             1199 drivers/gpu/drm/stm/ltdc.c 	if (IS_ERR(ldev->regs)) {
regs             1201 drivers/gpu/drm/stm/ltdc.c 		ret = PTR_ERR(ldev->regs);
regs             1206 drivers/gpu/drm/stm/ltdc.c 	reg_clear(ldev->regs, LTDC_IER,
regs               32 drivers/gpu/drm/stm/ltdc.h 	void __iomem *regs;
regs               53 drivers/gpu/drm/sun4i/sun4i_backend.c 	regmap_write(engine->regs, SUN4I_BACKEND_OCCTL_REG,
regs               57 drivers/gpu/drm/sun4i/sun4i_backend.c 		regmap_write(engine->regs, SUN4I_BACKEND_OCRCOEF_REG(i),
regs               66 drivers/gpu/drm/sun4i/sun4i_backend.c 	regmap_update_bits(engine->regs, SUN4I_BACKEND_OCCTL_REG,
regs               74 drivers/gpu/drm/sun4i/sun4i_backend.c 	regmap_write(engine->regs, SUN4I_BACKEND_REGBUFFCTL_REG,
regs               92 drivers/gpu/drm/sun4i/sun4i_backend.c 	regmap_update_bits(backend->engine.regs, SUN4I_BACKEND_MODCTL_REG,
regs              177 drivers/gpu/drm/sun4i/sun4i_backend.c 		regmap_write(backend->engine.regs, SUN4I_BACKEND_DISSIZE_REG,
regs              185 drivers/gpu/drm/sun4i/sun4i_backend.c 	regmap_write(backend->engine.regs, SUN4I_BACKEND_LAYSIZE_REG(layer),
regs              192 drivers/gpu/drm/sun4i/sun4i_backend.c 	regmap_write(backend->engine.regs, SUN4I_BACKEND_LAYCOOR_REG(layer),
regs              210 drivers/gpu/drm/sun4i/sun4i_backend.c 		regmap_write(backend->engine.regs,
regs              218 drivers/gpu/drm/sun4i/sun4i_backend.c 	regmap_update_bits(backend->engine.regs, SUN4I_BACKEND_ATTCTL_REG0(layer),
regs              251 drivers/gpu/drm/sun4i/sun4i_backend.c 	regmap_write(backend->engine.regs, SUN4I_BACKEND_IYUVCTL_REG, val);
regs              266 drivers/gpu/drm/sun4i/sun4i_backend.c 	regmap_update_bits(backend->engine.regs, SUN4I_BACKEND_ATTCTL_REG0(layer),
regs              273 drivers/gpu/drm/sun4i/sun4i_backend.c 	regmap_update_bits(backend->engine.regs, SUN4I_BACKEND_MODCTL_REG,
regs              283 drivers/gpu/drm/sun4i/sun4i_backend.c 	regmap_update_bits(backend->engine.regs,
regs              298 drivers/gpu/drm/sun4i/sun4i_backend.c 	regmap_update_bits(backend->engine.regs,
regs              317 drivers/gpu/drm/sun4i/sun4i_backend.c 	regmap_update_bits(backend->engine.regs,
regs              322 drivers/gpu/drm/sun4i/sun4i_backend.c 	regmap_update_bits(backend->engine.regs,
regs              335 drivers/gpu/drm/sun4i/sun4i_backend.c 	regmap_write(backend->engine.regs, SUN4I_BACKEND_IYUVADD_REG(0), paddr);
regs              338 drivers/gpu/drm/sun4i/sun4i_backend.c 	regmap_write(backend->engine.regs, SUN4I_BACKEND_IYUVLINEWIDTH_REG(0),
regs              354 drivers/gpu/drm/sun4i/sun4i_backend.c 	regmap_write(backend->engine.regs,
regs              368 drivers/gpu/drm/sun4i/sun4i_backend.c 	regmap_write(backend->engine.regs,
regs              375 drivers/gpu/drm/sun4i/sun4i_backend.c 	regmap_update_bits(backend->engine.regs, SUN4I_BACKEND_LAYFB_H4ADD_REG,
regs              392 drivers/gpu/drm/sun4i/sun4i_backend.c 	regmap_update_bits(backend->engine.regs, SUN4I_BACKEND_ATTCTL_REG0(layer),
regs              404 drivers/gpu/drm/sun4i/sun4i_backend.c 	regmap_update_bits(backend->engine.regs,
regs              479 drivers/gpu/drm/sun4i/sun4i_backend.c 	WARN_ON(regmap_read_poll_timeout(engine->regs,
regs              788 drivers/gpu/drm/sun4i/sun4i_backend.c 	void __iomem *regs;
regs              829 drivers/gpu/drm/sun4i/sun4i_backend.c 	regs = devm_ioremap_resource(dev, res);
regs              830 drivers/gpu/drm/sun4i/sun4i_backend.c 	if (IS_ERR(regs))
regs              831 drivers/gpu/drm/sun4i/sun4i_backend.c 		return PTR_ERR(regs);
regs              878 drivers/gpu/drm/sun4i/sun4i_backend.c 	backend->engine.regs = devm_regmap_init_mmio(dev, regs,
regs              880 drivers/gpu/drm/sun4i/sun4i_backend.c 	if (IS_ERR(backend->engine.regs)) {
regs              882 drivers/gpu/drm/sun4i/sun4i_backend.c 		return PTR_ERR(backend->engine.regs);
regs              896 drivers/gpu/drm/sun4i/sun4i_backend.c 		regmap_write(backend->engine.regs, i, 0);
regs              899 drivers/gpu/drm/sun4i/sun4i_backend.c 	regmap_write(backend->engine.regs, SUN4I_BACKEND_REGBUFFCTL_REG,
regs              903 drivers/gpu/drm/sun4i/sun4i_backend.c 	regmap_write(backend->engine.regs, SUN4I_BACKEND_MODCTL_REG,
regs              920 drivers/gpu/drm/sun4i/sun4i_backend.c 		regmap_update_bits(backend->engine.regs,
regs              190 drivers/gpu/drm/sun4i/sun4i_dotclock.c 	dclk->regmap = tcon->regs;
regs               84 drivers/gpu/drm/sun4i/sun4i_frontend.c 		regmap_write_bits(frontend->regs, SUN4I_FRONTEND_FRM_CTRL_REG,
regs               89 drivers/gpu/drm/sun4i/sun4i_frontend.c 		regmap_write(frontend->regs, SUN4I_FRONTEND_CH0_HORZCOEF0_REG(i),
regs               91 drivers/gpu/drm/sun4i/sun4i_frontend.c 		regmap_write(frontend->regs, SUN4I_FRONTEND_CH1_HORZCOEF0_REG(i),
regs               93 drivers/gpu/drm/sun4i/sun4i_frontend.c 		regmap_write(frontend->regs, SUN4I_FRONTEND_CH0_HORZCOEF1_REG(i),
regs               95 drivers/gpu/drm/sun4i/sun4i_frontend.c 		regmap_write(frontend->regs, SUN4I_FRONTEND_CH1_HORZCOEF1_REG(i),
regs               97 drivers/gpu/drm/sun4i/sun4i_frontend.c 		regmap_write(frontend->regs, SUN4I_FRONTEND_CH0_VERTCOEF_REG(i),
regs               99 drivers/gpu/drm/sun4i/sun4i_frontend.c 		regmap_write(frontend->regs, SUN4I_FRONTEND_CH1_VERTCOEF_REG(i),
regs              104 drivers/gpu/drm/sun4i/sun4i_frontend.c 		regmap_write_bits(frontend->regs,
regs              179 drivers/gpu/drm/sun4i/sun4i_frontend.c 		regmap_write(frontend->regs, SUN4I_FRONTEND_TB_OFF0_REG,
regs              186 drivers/gpu/drm/sun4i/sun4i_frontend.c 			regmap_write(frontend->regs, SUN4I_FRONTEND_TB_OFF1_REG,
regs              194 drivers/gpu/drm/sun4i/sun4i_frontend.c 			regmap_write(frontend->regs, SUN4I_FRONTEND_TB_OFF2_REG,
regs              209 drivers/gpu/drm/sun4i/sun4i_frontend.c 	regmap_write(frontend->regs, SUN4I_FRONTEND_LINESTRD0_REG,
regs              213 drivers/gpu/drm/sun4i/sun4i_frontend.c 		regmap_write(frontend->regs, SUN4I_FRONTEND_LINESTRD1_REG,
regs              217 drivers/gpu/drm/sun4i/sun4i_frontend.c 		regmap_write(frontend->regs, SUN4I_FRONTEND_LINESTRD2_REG,
regs              227 drivers/gpu/drm/sun4i/sun4i_frontend.c 	regmap_write(frontend->regs, SUN4I_FRONTEND_BUF_ADDR0_REG, paddr);
regs              233 drivers/gpu/drm/sun4i/sun4i_frontend.c 		regmap_write(frontend->regs, SUN4I_FRONTEND_BUF_ADDR1_REG,
regs              241 drivers/gpu/drm/sun4i/sun4i_frontend.c 		regmap_write(frontend->regs, SUN4I_FRONTEND_BUF_ADDR2_REG,
regs              445 drivers/gpu/drm/sun4i/sun4i_frontend.c 	regmap_write(frontend->regs, SUN4I_FRONTEND_CH0_HORZPHASE_REG,
regs              447 drivers/gpu/drm/sun4i/sun4i_frontend.c 	regmap_write(frontend->regs, SUN4I_FRONTEND_CH1_HORZPHASE_REG,
regs              449 drivers/gpu/drm/sun4i/sun4i_frontend.c 	regmap_write(frontend->regs, SUN4I_FRONTEND_CH0_VERTPHASE0_REG,
regs              451 drivers/gpu/drm/sun4i/sun4i_frontend.c 	regmap_write(frontend->regs, SUN4I_FRONTEND_CH1_VERTPHASE0_REG,
regs              453 drivers/gpu/drm/sun4i/sun4i_frontend.c 	regmap_write(frontend->regs, SUN4I_FRONTEND_CH0_VERTPHASE1_REG,
regs              455 drivers/gpu/drm/sun4i/sun4i_frontend.c 	regmap_write(frontend->regs, SUN4I_FRONTEND_CH1_VERTPHASE1_REG,
regs              469 drivers/gpu/drm/sun4i/sun4i_frontend.c 			regmap_write(frontend->regs,
regs              476 drivers/gpu/drm/sun4i/sun4i_frontend.c 	regmap_update_bits(frontend->regs, SUN4I_FRONTEND_BYPASS_REG,
regs              479 drivers/gpu/drm/sun4i/sun4i_frontend.c 	regmap_write(frontend->regs, SUN4I_FRONTEND_INPUT_FMT_REG,
regs              487 drivers/gpu/drm/sun4i/sun4i_frontend.c 	regmap_write(frontend->regs, SUN4I_FRONTEND_OUTPUT_FMT_REG,
regs              512 drivers/gpu/drm/sun4i/sun4i_frontend.c 	regmap_write(frontend->regs, SUN4I_FRONTEND_CH0_INSIZE_REG,
regs              514 drivers/gpu/drm/sun4i/sun4i_frontend.c 	regmap_write(frontend->regs, SUN4I_FRONTEND_CH1_INSIZE_REG,
regs              517 drivers/gpu/drm/sun4i/sun4i_frontend.c 	regmap_write(frontend->regs, SUN4I_FRONTEND_CH0_OUTSIZE_REG,
regs              519 drivers/gpu/drm/sun4i/sun4i_frontend.c 	regmap_write(frontend->regs, SUN4I_FRONTEND_CH1_OUTSIZE_REG,
regs              522 drivers/gpu/drm/sun4i/sun4i_frontend.c 	regmap_write(frontend->regs, SUN4I_FRONTEND_CH0_HORZFACT_REG,
regs              524 drivers/gpu/drm/sun4i/sun4i_frontend.c 	regmap_write(frontend->regs, SUN4I_FRONTEND_CH1_HORZFACT_REG,
regs              527 drivers/gpu/drm/sun4i/sun4i_frontend.c 	regmap_write(frontend->regs, SUN4I_FRONTEND_CH0_VERTFACT_REG,
regs              529 drivers/gpu/drm/sun4i/sun4i_frontend.c 	regmap_write(frontend->regs, SUN4I_FRONTEND_CH1_VERTFACT_REG,
regs              532 drivers/gpu/drm/sun4i/sun4i_frontend.c 	regmap_write_bits(frontend->regs, SUN4I_FRONTEND_FRM_CTRL_REG,
regs              540 drivers/gpu/drm/sun4i/sun4i_frontend.c 	regmap_write_bits(frontend->regs, SUN4I_FRONTEND_FRM_CTRL_REG,
regs              563 drivers/gpu/drm/sun4i/sun4i_frontend.c 	void __iomem *regs;
regs              578 drivers/gpu/drm/sun4i/sun4i_frontend.c 	regs = devm_ioremap_resource(dev, res);
regs              579 drivers/gpu/drm/sun4i/sun4i_frontend.c 	if (IS_ERR(regs))
regs              580 drivers/gpu/drm/sun4i/sun4i_frontend.c 		return PTR_ERR(regs);
regs              582 drivers/gpu/drm/sun4i/sun4i_frontend.c 	frontend->regs = devm_regmap_init_mmio(dev, regs,
regs              584 drivers/gpu/drm/sun4i/sun4i_frontend.c 	if (IS_ERR(frontend->regs)) {
regs              586 drivers/gpu/drm/sun4i/sun4i_frontend.c 		return PTR_ERR(frontend->regs);
regs              662 drivers/gpu/drm/sun4i/sun4i_frontend.c 	regmap_update_bits(frontend->regs, SUN4I_FRONTEND_EN_REG,
regs              133 drivers/gpu/drm/sun4i/sun4i_frontend.h 	struct regmap		*regs;
regs               90 drivers/gpu/drm/sun4i/sun4i_tcon.c 		regmap_update_bits(tcon->regs, SUN4I_TCON0_CTL_REG,
regs               97 drivers/gpu/drm/sun4i/sun4i_tcon.c 		regmap_update_bits(tcon->regs, SUN4I_TCON1_CTL_REG,
regs              123 drivers/gpu/drm/sun4i/sun4i_tcon.c 		regmap_update_bits(tcon->regs, SUN4I_TCON0_LVDS_IF_REG,
regs              132 drivers/gpu/drm/sun4i/sun4i_tcon.c 		regmap_write(tcon->regs, SUN4I_TCON0_LVDS_ANA0_REG,
regs              139 drivers/gpu/drm/sun4i/sun4i_tcon.c 		regmap_update_bits(tcon->regs, SUN4I_TCON0_LVDS_ANA0_REG,
regs              144 drivers/gpu/drm/sun4i/sun4i_tcon.c 		regmap_update_bits(tcon->regs, SUN4I_TCON0_LVDS_ANA0_REG,
regs              153 drivers/gpu/drm/sun4i/sun4i_tcon.c 		regmap_write_bits(tcon->regs, SUN4I_TCON0_LVDS_ANA0_REG,
regs              157 drivers/gpu/drm/sun4i/sun4i_tcon.c 		regmap_update_bits(tcon->regs, SUN4I_TCON0_LVDS_IF_REG,
regs              189 drivers/gpu/drm/sun4i/sun4i_tcon.c 	regmap_update_bits(tcon->regs, SUN4I_TCON_GCTL_REG,
regs              212 drivers/gpu/drm/sun4i/sun4i_tcon.c 	regmap_update_bits(tcon->regs, SUN4I_TCON_GINT0_REG, mask, val);
regs              274 drivers/gpu/drm/sun4i/sun4i_tcon.c 	regmap_write(tcon->regs, SUN4I_TCON0_BASIC0_REG,
regs              295 drivers/gpu/drm/sun4i/sun4i_tcon.c 	regmap_write(tcon->regs, SUN4I_TCON0_FRM_SEED_PR_REG, 0x11111111);
regs              296 drivers/gpu/drm/sun4i/sun4i_tcon.c 	regmap_write(tcon->regs, SUN4I_TCON0_FRM_SEED_PG_REG, 0x11111111);
regs              297 drivers/gpu/drm/sun4i/sun4i_tcon.c 	regmap_write(tcon->regs, SUN4I_TCON0_FRM_SEED_PB_REG, 0x11111111);
regs              298 drivers/gpu/drm/sun4i/sun4i_tcon.c 	regmap_write(tcon->regs, SUN4I_TCON0_FRM_SEED_LR_REG, 0x11111111);
regs              299 drivers/gpu/drm/sun4i/sun4i_tcon.c 	regmap_write(tcon->regs, SUN4I_TCON0_FRM_SEED_LG_REG, 0x11111111);
regs              300 drivers/gpu/drm/sun4i/sun4i_tcon.c 	regmap_write(tcon->regs, SUN4I_TCON0_FRM_SEED_LB_REG, 0x11111111);
regs              301 drivers/gpu/drm/sun4i/sun4i_tcon.c 	regmap_write(tcon->regs, SUN4I_TCON0_FRM_TBL0_REG, 0x01010000);
regs              302 drivers/gpu/drm/sun4i/sun4i_tcon.c 	regmap_write(tcon->regs, SUN4I_TCON0_FRM_TBL1_REG, 0x15151111);
regs              303 drivers/gpu/drm/sun4i/sun4i_tcon.c 	regmap_write(tcon->regs, SUN4I_TCON0_FRM_TBL2_REG, 0x57575555);
regs              304 drivers/gpu/drm/sun4i/sun4i_tcon.c 	regmap_write(tcon->regs, SUN4I_TCON0_FRM_TBL3_REG, 0x7f7f7777);
regs              328 drivers/gpu/drm/sun4i/sun4i_tcon.c 	regmap_write(tcon->regs, SUN4I_TCON_FRM_CTL_REG, val);
regs              351 drivers/gpu/drm/sun4i/sun4i_tcon.c 	regmap_update_bits(tcon->regs, SUN4I_TCON0_CTL_REG,
regs              355 drivers/gpu/drm/sun4i/sun4i_tcon.c 	regmap_write(tcon->regs, SUN4I_TCON_ECC_FIFO_REG,
regs              358 drivers/gpu/drm/sun4i/sun4i_tcon.c 	regmap_write(tcon->regs, SUN4I_TCON0_CPU_IF_REG,
regs              370 drivers/gpu/drm/sun4i/sun4i_tcon.c 	regmap_read(tcon->regs, SUN4I_TCON0_DCLK_REG, &tcon_div);
regs              375 drivers/gpu/drm/sun4i/sun4i_tcon.c 	regmap_write(tcon->regs, SUN4I_TCON0_CPU_TRI0_REG,
regs              379 drivers/gpu/drm/sun4i/sun4i_tcon.c 	regmap_write(tcon->regs, SUN4I_TCON0_CPU_TRI1_REG,
regs              385 drivers/gpu/drm/sun4i/sun4i_tcon.c 	regmap_write(tcon->regs, SUN4I_TCON0_CPU_TRI2_REG,
regs              393 drivers/gpu/drm/sun4i/sun4i_tcon.c 	regmap_write(tcon->regs, SUN4I_TCON_SAFE_PERIOD_REG,
regs              398 drivers/gpu/drm/sun4i/sun4i_tcon.c 	regmap_write(tcon->regs, SUN4I_TCON0_IO_TRI_REG,
regs              421 drivers/gpu/drm/sun4i/sun4i_tcon.c 	regmap_update_bits(tcon->regs, SUN4I_TCON0_CTL_REG,
regs              434 drivers/gpu/drm/sun4i/sun4i_tcon.c 	regmap_write(tcon->regs, SUN4I_TCON0_BASIC1_REG,
regs              447 drivers/gpu/drm/sun4i/sun4i_tcon.c 	regmap_write(tcon->regs, SUN4I_TCON0_BASIC2_REG,
regs              459 drivers/gpu/drm/sun4i/sun4i_tcon.c 	regmap_write(tcon->regs, SUN4I_TCON0_LVDS_IF_REG, reg);
regs              468 drivers/gpu/drm/sun4i/sun4i_tcon.c 	regmap_write(tcon->regs, SUN4I_TCON0_IO_POL_REG, val);
regs              471 drivers/gpu/drm/sun4i/sun4i_tcon.c 	regmap_update_bits(tcon->regs, SUN4I_TCON_GCTL_REG,
regs              476 drivers/gpu/drm/sun4i/sun4i_tcon.c 	regmap_write(tcon->regs, SUN4I_TCON0_IO_TRI_REG, 0xe0000000);
regs              500 drivers/gpu/drm/sun4i/sun4i_tcon.c 	regmap_update_bits(tcon->regs, SUN4I_TCON0_CTL_REG,
regs              513 drivers/gpu/drm/sun4i/sun4i_tcon.c 	regmap_write(tcon->regs, SUN4I_TCON0_BASIC1_REG,
regs              526 drivers/gpu/drm/sun4i/sun4i_tcon.c 	regmap_write(tcon->regs, SUN4I_TCON0_BASIC2_REG,
regs              534 drivers/gpu/drm/sun4i/sun4i_tcon.c 	regmap_write(tcon->regs, SUN4I_TCON0_BASIC3_REG,
regs              569 drivers/gpu/drm/sun4i/sun4i_tcon.c 	regmap_update_bits(tcon->regs, SUN4I_TCON0_IO_POL_REG,
regs              576 drivers/gpu/drm/sun4i/sun4i_tcon.c 	regmap_update_bits(tcon->regs, SUN4I_TCON_GCTL_REG,
regs              581 drivers/gpu/drm/sun4i/sun4i_tcon.c 	regmap_write(tcon->regs, SUN4I_TCON0_IO_TRI_REG, 0);
regs              598 drivers/gpu/drm/sun4i/sun4i_tcon.c 	regmap_update_bits(tcon->regs, SUN4I_TCON1_CTL_REG,
regs              607 drivers/gpu/drm/sun4i/sun4i_tcon.c 	regmap_update_bits(tcon->regs, SUN4I_TCON1_CTL_REG,
regs              612 drivers/gpu/drm/sun4i/sun4i_tcon.c 	regmap_write(tcon->regs, SUN4I_TCON1_BASIC0_REG,
regs              617 drivers/gpu/drm/sun4i/sun4i_tcon.c 	regmap_write(tcon->regs, SUN4I_TCON1_BASIC1_REG,
regs              622 drivers/gpu/drm/sun4i/sun4i_tcon.c 	regmap_write(tcon->regs, SUN4I_TCON1_BASIC2_REG,
regs              630 drivers/gpu/drm/sun4i/sun4i_tcon.c 	regmap_write(tcon->regs, SUN4I_TCON1_BASIC3_REG,
regs              656 drivers/gpu/drm/sun4i/sun4i_tcon.c 	regmap_write(tcon->regs, SUN4I_TCON1_BASIC4_REG,
regs              664 drivers/gpu/drm/sun4i/sun4i_tcon.c 	regmap_write(tcon->regs, SUN4I_TCON1_BASIC5_REG,
regs              669 drivers/gpu/drm/sun4i/sun4i_tcon.c 	regmap_update_bits(tcon->regs, SUN4I_TCON_GCTL_REG,
regs              723 drivers/gpu/drm/sun4i/sun4i_tcon.c 	regmap_read(tcon->regs, SUN4I_TCON_GINT0_REG, &status);
regs              734 drivers/gpu/drm/sun4i/sun4i_tcon.c 	regmap_update_bits(tcon->regs, SUN4I_TCON_GINT0_REG,
regs              816 drivers/gpu/drm/sun4i/sun4i_tcon.c 	void __iomem *regs;
regs              819 drivers/gpu/drm/sun4i/sun4i_tcon.c 	regs = devm_ioremap_resource(dev, res);
regs              820 drivers/gpu/drm/sun4i/sun4i_tcon.c 	if (IS_ERR(regs))
regs              821 drivers/gpu/drm/sun4i/sun4i_tcon.c 		return PTR_ERR(regs);
regs              823 drivers/gpu/drm/sun4i/sun4i_tcon.c 	tcon->regs = devm_regmap_init_mmio(dev, regs,
regs              825 drivers/gpu/drm/sun4i/sun4i_tcon.c 	if (IS_ERR(tcon->regs)) {
regs              827 drivers/gpu/drm/sun4i/sun4i_tcon.c 		return PTR_ERR(tcon->regs);
regs              831 drivers/gpu/drm/sun4i/sun4i_tcon.c 	regmap_write(tcon->regs, SUN4I_TCON_GCTL_REG, 0);
regs              832 drivers/gpu/drm/sun4i/sun4i_tcon.c 	regmap_write(tcon->regs, SUN4I_TCON_GINT0_REG, 0);
regs              833 drivers/gpu/drm/sun4i/sun4i_tcon.c 	regmap_write(tcon->regs, SUN4I_TCON_GINT1_REG, 0);
regs              836 drivers/gpu/drm/sun4i/sun4i_tcon.c 	regmap_write(tcon->regs, SUN4I_TCON0_IO_TRI_REG, ~0);
regs              837 drivers/gpu/drm/sun4i/sun4i_tcon.c 	regmap_write(tcon->regs, SUN4I_TCON1_IO_TRI_REG, ~0);
regs             1253 drivers/gpu/drm/sun4i/sun4i_tcon.c 		regmap_update_bits(tcon->regs, SUN4I_TCON0_CTL_REG,
regs             1256 drivers/gpu/drm/sun4i/sun4i_tcon.c 		regmap_update_bits(tcon->regs, SUN4I_TCON1_CTL_REG,
regs             1337 drivers/gpu/drm/sun4i/sun4i_tcon.c 	regmap_update_bits(tcon0->regs, SUN4I_TCON_MUX_CTRL_REG,
regs             1356 drivers/gpu/drm/sun4i/sun4i_tcon.c 	return regmap_write(tcon->regs, SUN4I_TCON_MUX_CTRL_REG, val);
regs             1378 drivers/gpu/drm/sun4i/sun4i_tcon.c 	regmap_update_bits(tcon0->regs, SUN4I_TCON_MUX_CTRL_REG,
regs              236 drivers/gpu/drm/sun4i/sun4i_tcon.h 	struct regmap			*regs;
regs              174 drivers/gpu/drm/sun4i/sun4i_tv.c 	struct regmap		*regs;
regs              348 drivers/gpu/drm/sun4i/sun4i_tv.c 	regmap_update_bits(tv->regs, SUN4I_TVE_EN_REG,
regs              364 drivers/gpu/drm/sun4i/sun4i_tv.c 	regmap_update_bits(tv->regs, SUN4I_TVE_EN_REG,
regs              377 drivers/gpu/drm/sun4i/sun4i_tv.c 	regmap_update_bits(tv->regs, SUN4I_TVE_EN_REG,
regs              385 drivers/gpu/drm/sun4i/sun4i_tv.c 	regmap_write(tv->regs, SUN4I_TVE_CFG0_REG,
regs              394 drivers/gpu/drm/sun4i/sun4i_tv.c 	regmap_write(tv->regs, SUN4I_TVE_DAC0_REG,
regs              405 drivers/gpu/drm/sun4i/sun4i_tv.c 	regmap_write(tv->regs, SUN4I_TVE_NOTCH_REG,
regs              409 drivers/gpu/drm/sun4i/sun4i_tv.c 	regmap_write(tv->regs, SUN4I_TVE_CHROMA_FREQ_REG,
regs              413 drivers/gpu/drm/sun4i/sun4i_tv.c 	regmap_write(tv->regs, SUN4I_TVE_PORCH_REG,
regs              418 drivers/gpu/drm/sun4i/sun4i_tv.c 	regmap_write(tv->regs, SUN4I_TVE_LINE_REG,
regs              422 drivers/gpu/drm/sun4i/sun4i_tv.c 	regmap_write(tv->regs, SUN4I_TVE_LEVEL_REG,
regs              426 drivers/gpu/drm/sun4i/sun4i_tv.c 	regmap_write(tv->regs, SUN4I_TVE_DAC1_REG,
regs              432 drivers/gpu/drm/sun4i/sun4i_tv.c 	regmap_write(tv->regs, SUN4I_TVE_CB_CR_LVL_REG,
regs              437 drivers/gpu/drm/sun4i/sun4i_tv.c 	regmap_write(tv->regs, SUN4I_TVE_BURST_WIDTH_REG,
regs              442 drivers/gpu/drm/sun4i/sun4i_tv.c 	regmap_write(tv->regs, SUN4I_TVE_CB_CR_GAIN_REG,
regs              446 drivers/gpu/drm/sun4i/sun4i_tv.c 	regmap_write(tv->regs, SUN4I_TVE_SYNC_VBI_REG,
regs              450 drivers/gpu/drm/sun4i/sun4i_tv.c 	regmap_write(tv->regs, SUN4I_TVE_ACTIVE_LINE_REG,
regs              454 drivers/gpu/drm/sun4i/sun4i_tv.c 	regmap_write(tv->regs, SUN4I_TVE_CHROMA_REG,
regs              457 drivers/gpu/drm/sun4i/sun4i_tv.c 	regmap_write(tv->regs, SUN4I_TVE_12C_REG,
regs              461 drivers/gpu/drm/sun4i/sun4i_tv.c 	regmap_write(tv->regs, SUN4I_TVE_RESYNC_REG,
regs              467 drivers/gpu/drm/sun4i/sun4i_tv.c 	regmap_write(tv->regs, SUN4I_TVE_SLAVE_REG, 0);
regs              550 drivers/gpu/drm/sun4i/sun4i_tv.c 	void __iomem *regs;
regs              560 drivers/gpu/drm/sun4i/sun4i_tv.c 	regs = devm_ioremap_resource(dev, res);
regs              561 drivers/gpu/drm/sun4i/sun4i_tv.c 	if (IS_ERR(regs)) {
regs              563 drivers/gpu/drm/sun4i/sun4i_tv.c 		return PTR_ERR(regs);
regs              566 drivers/gpu/drm/sun4i/sun4i_tv.c 	tv->regs = devm_regmap_init_mmio(dev, regs,
regs              568 drivers/gpu/drm/sun4i/sun4i_tv.c 	if (IS_ERR(tv->regs)) {
regs              570 drivers/gpu/drm/sun4i/sun4i_tv.c 		return PTR_ERR(tv->regs);
regs              293 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 	regmap_update_bits(dsi->regs, SUN6I_DSI_BASIC_CTL0_REG,
regs              299 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 	regmap_update_bits(dsi->regs, SUN6I_DSI_BASIC_CTL0_REG,
regs              308 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 	return regmap_read_poll_timeout(dsi->regs, SUN6I_DSI_BASIC_CTL0_REG,
regs              321 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 	regmap_write(dsi->regs, SUN6I_DSI_INST_FUNC_REG(id),
regs              359 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 	regmap_write(dsi->regs, SUN6I_DSI_INST_JUMP_CFG_REG(0),
regs              431 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 		regmap_write(dsi->regs, SUN6I_DSI_BURST_DRQ_REG,
regs              435 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 		regmap_write(dsi->regs, SUN6I_DSI_BURST_LINE_REG,
regs              451 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 	regmap_write(dsi->regs, SUN6I_DSI_TCON_DRQ_REG, val);
regs              467 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 	regmap_write(dsi->regs, SUN6I_DSI_INST_LOOP_SEL_REG,
regs              471 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 	regmap_write(dsi->regs, SUN6I_DSI_INST_LOOP_NUM_REG(0),
regs              474 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 	regmap_write(dsi->regs, SUN6I_DSI_INST_LOOP_NUM_REG(1),
regs              517 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 	regmap_write(dsi->regs, SUN6I_DSI_PIXEL_PH_REG, val);
regs              519 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 	regmap_write(dsi->regs, SUN6I_DSI_PIXEL_PF0_REG,
regs              522 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 	regmap_write(dsi->regs, SUN6I_DSI_PIXEL_PF1_REG,
regs              526 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 	regmap_write(dsi->regs, SUN6I_DSI_PIXEL_CTL0_REG,
regs              605 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 	regmap_write(dsi->regs, SUN6I_DSI_BASIC_CTL_REG, basic_ctl);
regs              607 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 	regmap_write(dsi->regs, SUN6I_DSI_SYNC_HSS_REG,
regs              612 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 	regmap_write(dsi->regs, SUN6I_DSI_SYNC_HSE_REG,
regs              617 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 	regmap_write(dsi->regs, SUN6I_DSI_SYNC_VSS_REG,
regs              622 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 	regmap_write(dsi->regs, SUN6I_DSI_SYNC_VSE_REG,
regs              627 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 	regmap_write(dsi->regs, SUN6I_DSI_BASIC_SIZE0_REG,
regs              633 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 	regmap_write(dsi->regs, SUN6I_DSI_BASIC_SIZE1_REG,
regs              638 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 	regmap_write(dsi->regs, SUN6I_DSI_BLK_HSA0_REG,
regs              640 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 	regmap_write(dsi->regs, SUN6I_DSI_BLK_HSA1_REG,
regs              644 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 	regmap_write(dsi->regs, SUN6I_DSI_BLK_HBP0_REG,
regs              646 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 	regmap_write(dsi->regs, SUN6I_DSI_BLK_HBP1_REG,
regs              650 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 	regmap_write(dsi->regs, SUN6I_DSI_BLK_HFP0_REG,
regs              652 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 	regmap_write(dsi->regs, SUN6I_DSI_BLK_HFP1_REG,
regs              656 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 	regmap_write(dsi->regs, SUN6I_DSI_BLK_HBLK0_REG,
regs              658 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 	regmap_write(dsi->regs, SUN6I_DSI_BLK_HBLK1_REG,
regs              662 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 	regmap_write(dsi->regs, SUN6I_DSI_BLK_VBLK0_REG,
regs              664 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 	regmap_write(dsi->regs, SUN6I_DSI_BLK_VBLK1_REG,
regs              675 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 		regmap_write(dsi->regs, SUN6I_DSI_INST_JUMP_SEL_REG,
regs              680 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 		regmap_write(dsi->regs, SUN6I_DSI_INST_JUMP_SEL_REG,
regs              687 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 		regmap_write(dsi->regs, SUN6I_DSI_INST_JUMP_SEL_REG,
regs              692 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 		regmap_write(dsi->regs, SUN6I_DSI_INST_JUMP_SEL_REG,
regs              700 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 		regmap_write(dsi->regs, SUN6I_DSI_INST_JUMP_SEL_REG,
regs              709 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 		regmap_write_bits(dsi->regs,
regs              730 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 	regmap_write(dsi->regs, SUN6I_DSI_BASIC_CTL1_REG,
regs              850 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 	regmap_write(dsi->regs, SUN6I_DSI_CMD_TX_REG(0),
regs              852 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 	regmap_write_bits(dsi->regs, SUN6I_DSI_CMD_CTL_REG,
regs              867 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 	regmap_write(dsi->regs, SUN6I_DSI_CMD_TX_REG(0),
regs              881 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 	regmap_bulk_write(dsi->regs, SUN6I_DSI_CMD_TX_REG(1), bounce, len);
regs              882 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 	regmap_write(dsi->regs, SUN6I_DSI_CMD_CTL_REG, len + 4 - 1);
regs              908 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 	regmap_write(dsi->regs, SUN6I_DSI_CMD_TX_REG(0),
regs              910 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 	regmap_write(dsi->regs, SUN6I_DSI_CMD_CTL_REG,
regs              926 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 	regmap_read(dsi->regs, SUN6I_DSI_CMD_CTL_REG, &val);
regs              930 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 	regmap_read(dsi->regs, SUN6I_DSI_CMD_RX_REG(0), &val);
regs              976 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 	regmap_write(dsi->regs, SUN6I_DSI_CMD_CTL_REG,
regs             1103 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 	dsi->regs = devm_regmap_init_mmio_clk(dev, "bus", base,
regs             1105 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 	if (IS_ERR(dsi->regs)) {
regs             1107 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 		return PTR_ERR(dsi->regs);
regs             1186 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 	regmap_write(dsi->regs, SUN6I_DSI_CTL_REG, SUN6I_DSI_CTL_EN);
regs             1188 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 	regmap_write(dsi->regs, SUN6I_DSI_BASIC_CTL0_REG,
regs             1191 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 	regmap_write(dsi->regs, SUN6I_DSI_TRANS_START_REG, 10);
regs             1192 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 	regmap_write(dsi->regs, SUN6I_DSI_TRANS_ZERO_REG, 0);
regs             1197 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 	regmap_write(dsi->regs, SUN6I_DSI_DEBUG_DATA_REG, 0xff);
regs               25 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.h 	struct regmap		*regs;
regs              236 drivers/gpu/drm/sun4i/sun8i_csc.c 		sun8i_de3_ccsc_set_coefficients(mixer->engine.regs, layer,
regs              243 drivers/gpu/drm/sun4i/sun8i_csc.c 	sun8i_csc_set_coefficients(mixer->engine.regs, base,
regs              252 drivers/gpu/drm/sun4i/sun8i_csc.c 		sun8i_de3_ccsc_enable(mixer->engine.regs, layer, enable);
regs              258 drivers/gpu/drm/sun4i/sun8i_csc.c 	sun8i_csc_enable(mixer->engine.regs, base, enable);
regs              173 drivers/gpu/drm/sun4i/sun8i_dw_hdmi.h 	struct regmap			*regs;
regs              137 drivers/gpu/drm/sun4i/sun8i_hdmi_phy.c 	regmap_update_bits(phy->regs, SUN8I_HDMI_PHY_REXT_CTRL_REG,
regs              300 drivers/gpu/drm/sun4i/sun8i_hdmi_phy.c 	regmap_update_bits(phy->regs, SUN8I_HDMI_PHY_ANA_CFG1_REG,
regs              307 drivers/gpu/drm/sun4i/sun8i_hdmi_phy.c 	regmap_update_bits(phy->regs, SUN8I_HDMI_PHY_PLL_CFG1_REG,
regs              310 drivers/gpu/drm/sun4i/sun8i_hdmi_phy.c 	regmap_update_bits(phy->regs, SUN8I_HDMI_PHY_PLL_CFG2_REG,
regs              314 drivers/gpu/drm/sun4i/sun8i_hdmi_phy.c 	regmap_write(phy->regs, SUN8I_HDMI_PHY_PLL_CFG3_REG,
regs              316 drivers/gpu/drm/sun4i/sun8i_hdmi_phy.c 	regmap_update_bits(phy->regs, SUN8I_HDMI_PHY_PLL_CFG1_REG,
regs              322 drivers/gpu/drm/sun4i/sun8i_hdmi_phy.c 	regmap_read(phy->regs, SUN8I_HDMI_PHY_ANA_STS_REG, &val);
regs              327 drivers/gpu/drm/sun4i/sun8i_hdmi_phy.c 	regmap_update_bits(phy->regs, SUN8I_HDMI_PHY_PLL_CFG1_REG,
regs              332 drivers/gpu/drm/sun4i/sun8i_hdmi_phy.c 	regmap_update_bits(phy->regs, SUN8I_HDMI_PHY_PLL_CFG1_REG,
regs              336 drivers/gpu/drm/sun4i/sun8i_hdmi_phy.c 	regmap_write(phy->regs, SUN8I_HDMI_PHY_ANA_CFG1_REG, ana_cfg1_end);
regs              337 drivers/gpu/drm/sun4i/sun8i_hdmi_phy.c 	regmap_write(phy->regs, SUN8I_HDMI_PHY_ANA_CFG2_REG, ana_cfg2_init);
regs              338 drivers/gpu/drm/sun4i/sun8i_hdmi_phy.c 	regmap_write(phy->regs, SUN8I_HDMI_PHY_ANA_CFG3_REG, ana_cfg3_init);
regs              355 drivers/gpu/drm/sun4i/sun8i_hdmi_phy.c 	regmap_update_bits(phy->regs, SUN8I_HDMI_PHY_DBG_CTRL_REG,
regs              370 drivers/gpu/drm/sun4i/sun8i_hdmi_phy.c 	regmap_update_bits(phy->regs, SUN8I_HDMI_PHY_REXT_CTRL_REG,
regs              377 drivers/gpu/drm/sun4i/sun8i_hdmi_phy.c 	regmap_write(phy->regs, SUN8I_HDMI_PHY_ANA_CFG1_REG,
regs              381 drivers/gpu/drm/sun4i/sun8i_hdmi_phy.c 	regmap_write(phy->regs, SUN8I_HDMI_PHY_PLL_CFG1_REG, 0);
regs              402 drivers/gpu/drm/sun4i/sun8i_hdmi_phy.c 	regmap_write(phy->regs, SUN8I_HDMI_PHY_READ_EN_REG,
regs              406 drivers/gpu/drm/sun4i/sun8i_hdmi_phy.c 	regmap_write(phy->regs, SUN8I_HDMI_PHY_UNSCRAMBLE_REG,
regs              412 drivers/gpu/drm/sun4i/sun8i_hdmi_phy.c 	regmap_update_bits(phy->regs, SUN8I_HDMI_PHY_REXT_CTRL_REG,
regs              416 drivers/gpu/drm/sun4i/sun8i_hdmi_phy.c 	regmap_update_bits(phy->regs, SUN8I_HDMI_PHY_REXT_CTRL_REG,
regs              424 drivers/gpu/drm/sun4i/sun8i_hdmi_phy.c 	regmap_update_bits(phy->regs, SUN8I_HDMI_PHY_DBG_CTRL_REG,
regs              432 drivers/gpu/drm/sun4i/sun8i_hdmi_phy.c 	regmap_update_bits(phy->regs, SUN8I_HDMI_PHY_DBG_CTRL_REG,
regs              443 drivers/gpu/drm/sun4i/sun8i_hdmi_phy.c 	regmap_write(phy->regs, SUN8I_HDMI_PHY_ANA_CFG1_REG, 0);
regs              444 drivers/gpu/drm/sun4i/sun8i_hdmi_phy.c 	regmap_update_bits(phy->regs, SUN8I_HDMI_PHY_ANA_CFG1_REG,
regs              448 drivers/gpu/drm/sun4i/sun8i_hdmi_phy.c 	regmap_update_bits(phy->regs, SUN8I_HDMI_PHY_ANA_CFG1_REG,
regs              451 drivers/gpu/drm/sun4i/sun8i_hdmi_phy.c 	regmap_update_bits(phy->regs, SUN8I_HDMI_PHY_ANA_CFG1_REG,
regs              455 drivers/gpu/drm/sun4i/sun8i_hdmi_phy.c 	regmap_update_bits(phy->regs, SUN8I_HDMI_PHY_ANA_CFG1_REG,
regs              459 drivers/gpu/drm/sun4i/sun8i_hdmi_phy.c 	regmap_update_bits(phy->regs, SUN8I_HDMI_PHY_ANA_CFG1_REG,
regs              463 drivers/gpu/drm/sun4i/sun8i_hdmi_phy.c 	regmap_update_bits(phy->regs, SUN8I_HDMI_PHY_ANA_CFG1_REG,
regs              467 drivers/gpu/drm/sun4i/sun8i_hdmi_phy.c 	regmap_update_bits(phy->regs, SUN8I_HDMI_PHY_ANA_CFG1_REG,
regs              470 drivers/gpu/drm/sun4i/sun8i_hdmi_phy.c 	regmap_update_bits(phy->regs, SUN8I_HDMI_PHY_ANA_CFG1_REG,
regs              479 drivers/gpu/drm/sun4i/sun8i_hdmi_phy.c 	regmap_read_poll_timeout(phy->regs, SUN8I_HDMI_PHY_ANA_STS_REG, val,
regs              483 drivers/gpu/drm/sun4i/sun8i_hdmi_phy.c 	regmap_update_bits(phy->regs, SUN8I_HDMI_PHY_ANA_CFG1_REG,
regs              486 drivers/gpu/drm/sun4i/sun8i_hdmi_phy.c 	regmap_update_bits(phy->regs, SUN8I_HDMI_PHY_ANA_CFG1_REG,
regs              497 drivers/gpu/drm/sun4i/sun8i_hdmi_phy.c 	regmap_update_bits(phy->regs, SUN8I_HDMI_PHY_ANA_CFG3_REG,
regs              504 drivers/gpu/drm/sun4i/sun8i_hdmi_phy.c 	regmap_update_bits(phy->regs, SUN8I_HDMI_PHY_PLL_CFG1_REG,
regs              508 drivers/gpu/drm/sun4i/sun8i_hdmi_phy.c 	regmap_write(phy->regs, SUN8I_HDMI_PHY_CEC_REG, 0);
regs              511 drivers/gpu/drm/sun4i/sun8i_hdmi_phy.c 	regmap_read(phy->regs, SUN8I_HDMI_PHY_ANA_STS_REG, &val);
regs              613 drivers/gpu/drm/sun4i/sun8i_hdmi_phy.c 	void __iomem *regs;
regs              634 drivers/gpu/drm/sun4i/sun8i_hdmi_phy.c 	regs = devm_ioremap_resource(dev, &res);
regs              635 drivers/gpu/drm/sun4i/sun8i_hdmi_phy.c 	if (IS_ERR(regs)) {
regs              637 drivers/gpu/drm/sun4i/sun8i_hdmi_phy.c 		return PTR_ERR(regs);
regs              640 drivers/gpu/drm/sun4i/sun8i_hdmi_phy.c 	phy->regs = devm_regmap_init_mmio(dev, regs,
regs              642 drivers/gpu/drm/sun4i/sun8i_hdmi_phy.c 	if (IS_ERR(phy->regs)) {
regs              644 drivers/gpu/drm/sun4i/sun8i_hdmi_phy.c 		return PTR_ERR(phy->regs);
regs               74 drivers/gpu/drm/sun4i/sun8i_hdmi_phy_clk.c 	regmap_read(priv->phy->regs, SUN8I_HDMI_PHY_PLL_CFG2_REG, &reg);
regs              101 drivers/gpu/drm/sun4i/sun8i_hdmi_phy_clk.c 	regmap_update_bits(priv->phy->regs, SUN8I_HDMI_PHY_PLL_CFG2_REG,
regs              113 drivers/gpu/drm/sun4i/sun8i_hdmi_phy_clk.c 	regmap_read(priv->phy->regs, SUN8I_HDMI_PHY_PLL_CFG1_REG, &reg);
regs              127 drivers/gpu/drm/sun4i/sun8i_hdmi_phy_clk.c 	regmap_update_bits(priv->phy->regs, SUN8I_HDMI_PHY_PLL_CFG1_REG,
regs              344 drivers/gpu/drm/sun4i/sun8i_mixer.c 	regmap_write(engine->regs, SUN8I_MIXER_GLOBAL_DBUFF,
regs              430 drivers/gpu/drm/sun4i/sun8i_mixer.c 	void __iomem *regs;
regs              470 drivers/gpu/drm/sun4i/sun8i_mixer.c 	regs = devm_ioremap_resource(dev, res);
regs              471 drivers/gpu/drm/sun4i/sun8i_mixer.c 	if (IS_ERR(regs))
regs              472 drivers/gpu/drm/sun4i/sun8i_mixer.c 		return PTR_ERR(regs);
regs              474 drivers/gpu/drm/sun4i/sun8i_mixer.c 	mixer->engine.regs = devm_regmap_init_mmio(dev, regs,
regs              476 drivers/gpu/drm/sun4i/sun8i_mixer.c 	if (IS_ERR(mixer->engine.regs)) {
regs              478 drivers/gpu/drm/sun4i/sun8i_mixer.c 		return PTR_ERR(mixer->engine.regs);
regs              525 drivers/gpu/drm/sun4i/sun8i_mixer.c 			regmap_write(mixer->engine.regs, i, 0);
regs              527 drivers/gpu/drm/sun4i/sun8i_mixer.c 		regmap_write(mixer->engine.regs, SUN50I_MIXER_FCE_EN, 0);
regs              528 drivers/gpu/drm/sun4i/sun8i_mixer.c 		regmap_write(mixer->engine.regs, SUN50I_MIXER_PEAK_EN, 0);
regs              529 drivers/gpu/drm/sun4i/sun8i_mixer.c 		regmap_write(mixer->engine.regs, SUN50I_MIXER_LCTI_EN, 0);
regs              530 drivers/gpu/drm/sun4i/sun8i_mixer.c 		regmap_write(mixer->engine.regs, SUN50I_MIXER_BLS_EN, 0);
regs              531 drivers/gpu/drm/sun4i/sun8i_mixer.c 		regmap_write(mixer->engine.regs, SUN50I_MIXER_FCC_EN, 0);
regs              532 drivers/gpu/drm/sun4i/sun8i_mixer.c 		regmap_write(mixer->engine.regs, SUN50I_MIXER_DNS_EN, 0);
regs              533 drivers/gpu/drm/sun4i/sun8i_mixer.c 		regmap_write(mixer->engine.regs, SUN50I_MIXER_DRC_EN, 0);
regs              534 drivers/gpu/drm/sun4i/sun8i_mixer.c 		regmap_write(mixer->engine.regs, SUN50I_MIXER_FMT_EN, 0);
regs              535 drivers/gpu/drm/sun4i/sun8i_mixer.c 		regmap_write(mixer->engine.regs, SUN50I_MIXER_CDC0_EN, 0);
regs              536 drivers/gpu/drm/sun4i/sun8i_mixer.c 		regmap_write(mixer->engine.regs, SUN50I_MIXER_CDC1_EN, 0);
regs              539 drivers/gpu/drm/sun4i/sun8i_mixer.c 			regmap_write(mixer->engine.regs, i, 0);
regs              541 drivers/gpu/drm/sun4i/sun8i_mixer.c 		regmap_write(mixer->engine.regs, SUN8I_MIXER_FCE_EN, 0);
regs              542 drivers/gpu/drm/sun4i/sun8i_mixer.c 		regmap_write(mixer->engine.regs, SUN8I_MIXER_BWS_EN, 0);
regs              543 drivers/gpu/drm/sun4i/sun8i_mixer.c 		regmap_write(mixer->engine.regs, SUN8I_MIXER_LTI_EN, 0);
regs              544 drivers/gpu/drm/sun4i/sun8i_mixer.c 		regmap_write(mixer->engine.regs, SUN8I_MIXER_PEAK_EN, 0);
regs              545 drivers/gpu/drm/sun4i/sun8i_mixer.c 		regmap_write(mixer->engine.regs, SUN8I_MIXER_ASE_EN, 0);
regs              546 drivers/gpu/drm/sun4i/sun8i_mixer.c 		regmap_write(mixer->engine.regs, SUN8I_MIXER_FCC_EN, 0);
regs              547 drivers/gpu/drm/sun4i/sun8i_mixer.c 		regmap_write(mixer->engine.regs, SUN8I_MIXER_DCSC_EN, 0);
regs              551 drivers/gpu/drm/sun4i/sun8i_mixer.c 	regmap_write(mixer->engine.regs, SUN8I_MIXER_GLOBAL_CTL,
regs              555 drivers/gpu/drm/sun4i/sun8i_mixer.c 	regmap_write(mixer->engine.regs, SUN8I_MIXER_BLEND_BKCOLOR(base),
regs              562 drivers/gpu/drm/sun4i/sun8i_mixer.c 	regmap_write(mixer->engine.regs, SUN8I_MIXER_BLEND_PIPE_CTL(base),
regs              564 drivers/gpu/drm/sun4i/sun8i_mixer.c 	regmap_write(mixer->engine.regs, SUN8I_MIXER_BLEND_ATTR_FCOLOR(base, 0),
regs              569 drivers/gpu/drm/sun4i/sun8i_mixer.c 		regmap_write(mixer->engine.regs,
regs              573 drivers/gpu/drm/sun4i/sun8i_mixer.c 	regmap_update_bits(mixer->engine.regs, SUN8I_MIXER_BLEND_PIPE_CTL(base),
regs               46 drivers/gpu/drm/sun4i/sun8i_tcon_top.c 	val = readl(tcon_top->regs + TCON_TOP_GATE_SRC_REG);
regs               49 drivers/gpu/drm/sun4i/sun8i_tcon_top.c 	writel(val, tcon_top->regs + TCON_TOP_GATE_SRC_REG);
regs               80 drivers/gpu/drm/sun4i/sun8i_tcon_top.c 	reg = readl(tcon_top->regs + TCON_TOP_PORT_SEL_REG);
regs               88 drivers/gpu/drm/sun4i/sun8i_tcon_top.c 	writel(reg, tcon_top->regs + TCON_TOP_PORT_SEL_REG);
regs               99 drivers/gpu/drm/sun4i/sun8i_tcon_top.c 						   void __iomem *regs,
regs              120 drivers/gpu/drm/sun4i/sun8i_tcon_top.c 				    regs + TCON_TOP_GATE_SRC_REG,
regs              132 drivers/gpu/drm/sun4i/sun8i_tcon_top.c 	void __iomem *regs;
regs              162 drivers/gpu/drm/sun4i/sun8i_tcon_top.c 	regs = devm_ioremap_resource(dev, res);
regs              163 drivers/gpu/drm/sun4i/sun8i_tcon_top.c 	tcon_top->regs = regs;
regs              164 drivers/gpu/drm/sun4i/sun8i_tcon_top.c 	if (IS_ERR(regs))
regs              165 drivers/gpu/drm/sun4i/sun8i_tcon_top.c 		return PTR_ERR(regs);
regs              183 drivers/gpu/drm/sun4i/sun8i_tcon_top.c 	writel(0, regs + TCON_TOP_PORT_SEL_REG);
regs              184 drivers/gpu/drm/sun4i/sun8i_tcon_top.c 	writel(0, regs + TCON_TOP_GATE_SRC_REG);
regs              195 drivers/gpu/drm/sun4i/sun8i_tcon_top.c 		sun8i_tcon_top_register_gate(dev, "tcon-tv0", regs,
regs              201 drivers/gpu/drm/sun4i/sun8i_tcon_top.c 			sun8i_tcon_top_register_gate(dev, "tcon-tv1", regs,
regs              207 drivers/gpu/drm/sun4i/sun8i_tcon_top.c 			sun8i_tcon_top_register_gate(dev, "dsi", regs,
regs               29 drivers/gpu/drm/sun4i/sun8i_tcon_top.h 	void __iomem			*regs;
regs               43 drivers/gpu/drm/sun4i/sun8i_ui_layer.c 	regmap_update_bits(mixer->engine.regs,
regs               48 drivers/gpu/drm/sun4i/sun8i_ui_layer.c 		regmap_update_bits(mixer->engine.regs,
regs               53 drivers/gpu/drm/sun4i/sun8i_ui_layer.c 		regmap_update_bits(mixer->engine.regs,
regs               62 drivers/gpu/drm/sun4i/sun8i_ui_layer.c 		regmap_update_bits(mixer->engine.regs,
regs               68 drivers/gpu/drm/sun4i/sun8i_ui_layer.c 		regmap_update_bits(mixer->engine.regs,
regs              108 drivers/gpu/drm/sun4i/sun8i_ui_layer.c 		regmap_write(mixer->engine.regs,
regs              111 drivers/gpu/drm/sun4i/sun8i_ui_layer.c 		regmap_write(mixer->engine.regs,
regs              123 drivers/gpu/drm/sun4i/sun8i_ui_layer.c 		regmap_update_bits(mixer->engine.regs,
regs              136 drivers/gpu/drm/sun4i/sun8i_ui_layer.c 	regmap_write(mixer->engine.regs,
regs              139 drivers/gpu/drm/sun4i/sun8i_ui_layer.c 	regmap_write(mixer->engine.regs,
regs              163 drivers/gpu/drm/sun4i/sun8i_ui_layer.c 	regmap_write(mixer->engine.regs,
regs              166 drivers/gpu/drm/sun4i/sun8i_ui_layer.c 	regmap_write(mixer->engine.regs,
regs              189 drivers/gpu/drm/sun4i/sun8i_ui_layer.c 	regmap_update_bits(mixer->engine.regs,
regs              223 drivers/gpu/drm/sun4i/sun8i_ui_layer.c 	regmap_write(mixer->engine.regs,
regs              229 drivers/gpu/drm/sun4i/sun8i_ui_layer.c 	regmap_write(mixer->engine.regs,
regs              145 drivers/gpu/drm/sun4i/sun8i_ui_scaler.c 	regmap_write(mixer->engine.regs, SUN8I_SCALER_GSU_CTRL(base), val);
regs              169 drivers/gpu/drm/sun4i/sun8i_ui_scaler.c 	regmap_write(mixer->engine.regs,
regs              171 drivers/gpu/drm/sun4i/sun8i_ui_scaler.c 	regmap_write(mixer->engine.regs,
regs              173 drivers/gpu/drm/sun4i/sun8i_ui_scaler.c 	regmap_write(mixer->engine.regs,
regs              175 drivers/gpu/drm/sun4i/sun8i_ui_scaler.c 	regmap_write(mixer->engine.regs,
regs              177 drivers/gpu/drm/sun4i/sun8i_ui_scaler.c 	regmap_write(mixer->engine.regs,
regs              179 drivers/gpu/drm/sun4i/sun8i_ui_scaler.c 	regmap_write(mixer->engine.regs,
regs              184 drivers/gpu/drm/sun4i/sun8i_ui_scaler.c 		regmap_write(mixer->engine.regs,
regs               36 drivers/gpu/drm/sun4i/sun8i_vi_layer.c 	regmap_update_bits(mixer->engine.regs,
regs               41 drivers/gpu/drm/sun4i/sun8i_vi_layer.c 		regmap_update_bits(mixer->engine.regs,
regs               46 drivers/gpu/drm/sun4i/sun8i_vi_layer.c 		regmap_update_bits(mixer->engine.regs,
regs               55 drivers/gpu/drm/sun4i/sun8i_vi_layer.c 		regmap_update_bits(mixer->engine.regs,
regs               61 drivers/gpu/drm/sun4i/sun8i_vi_layer.c 		regmap_update_bits(mixer->engine.regs,
regs              123 drivers/gpu/drm/sun4i/sun8i_vi_layer.c 	regmap_write(mixer->engine.regs,
regs              126 drivers/gpu/drm/sun4i/sun8i_vi_layer.c 	regmap_write(mixer->engine.regs,
regs              182 drivers/gpu/drm/sun4i/sun8i_vi_layer.c 	regmap_write(mixer->engine.regs,
regs              186 drivers/gpu/drm/sun4i/sun8i_vi_layer.c 	regmap_write(mixer->engine.regs,
regs              190 drivers/gpu/drm/sun4i/sun8i_vi_layer.c 	regmap_write(mixer->engine.regs,
regs              194 drivers/gpu/drm/sun4i/sun8i_vi_layer.c 	regmap_write(mixer->engine.regs,
regs              203 drivers/gpu/drm/sun4i/sun8i_vi_layer.c 	regmap_write(mixer->engine.regs,
regs              206 drivers/gpu/drm/sun4i/sun8i_vi_layer.c 	regmap_write(mixer->engine.regs,
regs              229 drivers/gpu/drm/sun4i/sun8i_vi_layer.c 	regmap_update_bits(mixer->engine.regs,
regs              247 drivers/gpu/drm/sun4i/sun8i_vi_layer.c 	regmap_update_bits(mixer->engine.regs,
regs              253 drivers/gpu/drm/sun4i/sun8i_vi_layer.c 		regmap_update_bits(mixer->engine.regs,
regs              304 drivers/gpu/drm/sun4i/sun8i_vi_layer.c 		regmap_write(mixer->engine.regs,
regs              312 drivers/gpu/drm/sun4i/sun8i_vi_layer.c 		regmap_write(mixer->engine.regs,
regs              922 drivers/gpu/drm/sun4i/sun8i_vi_scaler.c 	regmap_write(mixer->engine.regs,
regs              967 drivers/gpu/drm/sun4i/sun8i_vi_scaler.c 		regmap_write(mixer->engine.regs,
regs              971 drivers/gpu/drm/sun4i/sun8i_vi_scaler.c 	regmap_write(mixer->engine.regs,
regs              973 drivers/gpu/drm/sun4i/sun8i_vi_scaler.c 	regmap_write(mixer->engine.regs,
regs              975 drivers/gpu/drm/sun4i/sun8i_vi_scaler.c 	regmap_write(mixer->engine.regs,
regs              977 drivers/gpu/drm/sun4i/sun8i_vi_scaler.c 	regmap_write(mixer->engine.regs,
regs              979 drivers/gpu/drm/sun4i/sun8i_vi_scaler.c 	regmap_write(mixer->engine.regs,
regs              981 drivers/gpu/drm/sun4i/sun8i_vi_scaler.c 	regmap_write(mixer->engine.regs,
regs              983 drivers/gpu/drm/sun4i/sun8i_vi_scaler.c 	regmap_write(mixer->engine.regs,
regs              987 drivers/gpu/drm/sun4i/sun8i_vi_scaler.c 	regmap_write(mixer->engine.regs,
regs              990 drivers/gpu/drm/sun4i/sun8i_vi_scaler.c 	regmap_write(mixer->engine.regs,
regs              993 drivers/gpu/drm/sun4i/sun8i_vi_scaler.c 	regmap_write(mixer->engine.regs,
regs              995 drivers/gpu/drm/sun4i/sun8i_vi_scaler.c 	regmap_write(mixer->engine.regs,
regs              997 drivers/gpu/drm/sun4i/sun8i_vi_scaler.c 	sun8i_vi_scaler_set_coeff(mixer->engine.regs, base,
regs              124 drivers/gpu/drm/sun4i/sunxi_engine.h 	struct regmap			*regs;
regs             2414 drivers/gpu/drm/tegra/dc.c 	struct resource *regs;
regs             2471 drivers/gpu/drm/tegra/dc.c 	regs = platform_get_resource(pdev, IORESOURCE_MEM, 0);
regs             2472 drivers/gpu/drm/tegra/dc.c 	dc->regs = devm_ioremap_resource(&pdev->dev, regs);
regs             2473 drivers/gpu/drm/tegra/dc.c 	if (IS_ERR(dc->regs))
regs             2474 drivers/gpu/drm/tegra/dc.c 		return PTR_ERR(dc->regs);
regs               82 drivers/gpu/drm/tegra/dc.h 	void __iomem *regs;
regs              112 drivers/gpu/drm/tegra/dc.h 	writel(value, dc->regs + (offset << 2));
regs              117 drivers/gpu/drm/tegra/dc.h 	u32 value = readl(dc->regs + (offset << 2));
regs               36 drivers/gpu/drm/tegra/dpaux.c 	void __iomem *regs;
regs               70 drivers/gpu/drm/tegra/dpaux.c 	u32 value = readl(dpaux->regs + (offset << 2));
regs               81 drivers/gpu/drm/tegra/dpaux.c 	writel(value, dpaux->regs + (offset << 2));
regs              431 drivers/gpu/drm/tegra/dpaux.c 	struct resource *regs;
regs              444 drivers/gpu/drm/tegra/dpaux.c 	regs = platform_get_resource(pdev, IORESOURCE_MEM, 0);
regs              445 drivers/gpu/drm/tegra/dpaux.c 	dpaux->regs = devm_ioremap_resource(&pdev->dev, regs);
regs              446 drivers/gpu/drm/tegra/dpaux.c 	if (IS_ERR(dpaux->regs))
regs              447 drivers/gpu/drm/tegra/dpaux.c 		return PTR_ERR(dpaux->regs);
regs               59 drivers/gpu/drm/tegra/dsi.c 	void __iomem *regs;
regs              108 drivers/gpu/drm/tegra/dsi.c 	u32 value = readl(dsi->regs + (offset << 2));
regs              119 drivers/gpu/drm/tegra/dsi.c 	writel(value, dsi->regs + (offset << 2));
regs             1470 drivers/gpu/drm/tegra/dsi.c 	struct resource *regs;
regs             1536 drivers/gpu/drm/tegra/dsi.c 	regs = platform_get_resource(pdev, IORESOURCE_MEM, 0);
regs             1537 drivers/gpu/drm/tegra/dsi.c 	dsi->regs = devm_ioremap_resource(&pdev->dev, regs);
regs             1538 drivers/gpu/drm/tegra/dsi.c 	if (IS_ERR(dsi->regs))
regs             1539 drivers/gpu/drm/tegra/dsi.c 		return PTR_ERR(dsi->regs);
regs               22 drivers/gpu/drm/tegra/falcon.c 	writel(value, falcon->regs + offset);
regs               29 drivers/gpu/drm/tegra/falcon.c 	return readl_poll_timeout(falcon->regs + FALCON_IDLESTATE, value,
regs               37 drivers/gpu/drm/tegra/falcon.c 	return readl_poll_timeout(falcon->regs + FALCON_DMATRFCMD, value,
regs              203 drivers/gpu/drm/tegra/falcon.c 	err = readl_poll_timeout(falcon->regs + FALCON_DMACTL, value,
regs              109 drivers/gpu/drm/tegra/falcon.h 	void __iomem *regs;
regs               64 drivers/gpu/drm/tegra/hdmi.c 	void __iomem *regs;
regs              106 drivers/gpu/drm/tegra/hdmi.c 	u32 value = readl(hdmi->regs + (offset << 2));
regs              117 drivers/gpu/drm/tegra/hdmi.c 	writel(value, hdmi->regs + (offset << 2));
regs              444 drivers/gpu/drm/tegra/hdmi.c 	} regs[] = {
regs              455 drivers/gpu/drm/tegra/hdmi.c 	for (i = 0; i < ARRAY_SIZE(regs); i++) {
regs              456 drivers/gpu/drm/tegra/hdmi.c 		if (regs[i].sample_rate == hdmi->format.sample_rate) {
regs              457 drivers/gpu/drm/tegra/hdmi.c 			tegra_hdmi_writel(hdmi, value, regs[i].offset);
regs             1587 drivers/gpu/drm/tegra/hdmi.c 	struct resource *regs;
regs             1647 drivers/gpu/drm/tegra/hdmi.c 	regs = platform_get_resource(pdev, IORESOURCE_MEM, 0);
regs             1648 drivers/gpu/drm/tegra/hdmi.c 	hdmi->regs = devm_ioremap_resource(&pdev->dev, regs);
regs             1649 drivers/gpu/drm/tegra/hdmi.c 	if (IS_ERR(hdmi->regs))
regs             1650 drivers/gpu/drm/tegra/hdmi.c 		return PTR_ERR(hdmi->regs);
regs              378 drivers/gpu/drm/tegra/sor.c 	const struct tegra_sor_regs *regs;
regs              401 drivers/gpu/drm/tegra/sor.c 	void __iomem *regs;
regs              476 drivers/gpu/drm/tegra/sor.c 	u32 value = readl(sor->regs + (offset << 2));
regs              487 drivers/gpu/drm/tegra/sor.c 	writel(value, sor->regs + (offset << 2));
regs              630 drivers/gpu/drm/tegra/sor.c 	value = tegra_sor_readl(sor, sor->soc->regs->dp_padctl0);
regs              634 drivers/gpu/drm/tegra/sor.c 	tegra_sor_writel(sor, value, sor->soc->regs->dp_padctl0);
regs              636 drivers/gpu/drm/tegra/sor.c 	value = tegra_sor_readl(sor, sor->soc->regs->dp_padctl0);
regs              639 drivers/gpu/drm/tegra/sor.c 	tegra_sor_writel(sor, value, sor->soc->regs->dp_padctl0);
regs              643 drivers/gpu/drm/tegra/sor.c 	value = tegra_sor_readl(sor, sor->soc->regs->dp_padctl0);
regs              646 drivers/gpu/drm/tegra/sor.c 	tegra_sor_writel(sor, value, sor->soc->regs->dp_padctl0);
regs             1097 drivers/gpu/drm/tegra/sor.c 	tegra_sor_writel(sor, value, sor->soc->regs->head_state1 + dc->pipe);
regs             1104 drivers/gpu/drm/tegra/sor.c 	tegra_sor_writel(sor, value, sor->soc->regs->head_state2 + dc->pipe);
regs             1111 drivers/gpu/drm/tegra/sor.c 	tegra_sor_writel(sor, value, sor->soc->regs->head_state3 + dc->pipe);
regs             1118 drivers/gpu/drm/tegra/sor.c 	tegra_sor_writel(sor, value, sor->soc->regs->head_state4 + dc->pipe);
regs             1121 drivers/gpu/drm/tegra/sor.c 	tegra_sor_writel(sor, 0x001, sor->soc->regs->head_state5 + dc->pipe);
regs             1203 drivers/gpu/drm/tegra/sor.c 	value = tegra_sor_readl(sor, sor->soc->regs->dp_padctl0);
regs             1206 drivers/gpu/drm/tegra/sor.c 	tegra_sor_writel(sor, value, sor->soc->regs->dp_padctl0);
regs             1226 drivers/gpu/drm/tegra/sor.c 	value = tegra_sor_readl(sor, sor->soc->regs->pll2);
regs             1228 drivers/gpu/drm/tegra/sor.c 	tegra_sor_writel(sor, value, sor->soc->regs->pll2);
regs             1232 drivers/gpu/drm/tegra/sor.c 	value = tegra_sor_readl(sor, sor->soc->regs->pll0);
regs             1234 drivers/gpu/drm/tegra/sor.c 	tegra_sor_writel(sor, value, sor->soc->regs->pll0);
regs             1236 drivers/gpu/drm/tegra/sor.c 	value = tegra_sor_readl(sor, sor->soc->regs->pll2);
regs             1239 drivers/gpu/drm/tegra/sor.c 	tegra_sor_writel(sor, value, sor->soc->regs->pll2);
regs             1727 drivers/gpu/drm/tegra/sor.c 	value = tegra_sor_readl(sor, sor->soc->regs->pll2);
regs             1729 drivers/gpu/drm/tegra/sor.c 	tegra_sor_writel(sor, value, sor->soc->regs->pll2);
regs             1732 drivers/gpu/drm/tegra/sor.c 	value = tegra_sor_readl(sor, sor->soc->regs->pll3);
regs             1734 drivers/gpu/drm/tegra/sor.c 	tegra_sor_writel(sor, value, sor->soc->regs->pll3);
regs             1738 drivers/gpu/drm/tegra/sor.c 	tegra_sor_writel(sor, value, sor->soc->regs->pll0);
regs             1740 drivers/gpu/drm/tegra/sor.c 	value = tegra_sor_readl(sor, sor->soc->regs->pll2);
regs             1744 drivers/gpu/drm/tegra/sor.c 	tegra_sor_writel(sor, value, sor->soc->regs->pll2);
regs             1747 drivers/gpu/drm/tegra/sor.c 	tegra_sor_writel(sor, value, sor->soc->regs->pll1);
regs             1750 drivers/gpu/drm/tegra/sor.c 		value = tegra_sor_readl(sor, sor->soc->regs->pll2);
regs             1757 drivers/gpu/drm/tegra/sor.c 	value = tegra_sor_readl(sor, sor->soc->regs->pll2);
regs             1760 drivers/gpu/drm/tegra/sor.c 	tegra_sor_writel(sor, value, sor->soc->regs->pll2);
regs             1773 drivers/gpu/drm/tegra/sor.c 	value = tegra_sor_readl(sor, sor->soc->regs->pll2);
regs             1776 drivers/gpu/drm/tegra/sor.c 	tegra_sor_writel(sor, value, sor->soc->regs->pll2);
regs             1778 drivers/gpu/drm/tegra/sor.c 	value = tegra_sor_readl(sor, sor->soc->regs->pll0);
regs             1780 drivers/gpu/drm/tegra/sor.c 	tegra_sor_writel(sor, value, sor->soc->regs->pll0);
regs             1782 drivers/gpu/drm/tegra/sor.c 	value = tegra_sor_readl(sor, sor->soc->regs->dp_padctl0);
regs             1784 drivers/gpu/drm/tegra/sor.c 	tegra_sor_writel(sor, value, sor->soc->regs->dp_padctl0);
regs             1794 drivers/gpu/drm/tegra/sor.c 	value = tegra_sor_readl(sor, sor->soc->regs->pll2);
regs             1796 drivers/gpu/drm/tegra/sor.c 	tegra_sor_writel(sor, value, sor->soc->regs->pll2);
regs             1801 drivers/gpu/drm/tegra/sor.c 	value = tegra_sor_readl(sor, sor->soc->regs->pll0);
regs             1804 drivers/gpu/drm/tegra/sor.c 	tegra_sor_writel(sor, value, sor->soc->regs->pll0);
regs             1806 drivers/gpu/drm/tegra/sor.c 	value = tegra_sor_readl(sor, sor->soc->regs->pll2);
regs             1808 drivers/gpu/drm/tegra/sor.c 	tegra_sor_writel(sor, value, sor->soc->regs->pll2);
regs             1813 drivers/gpu/drm/tegra/sor.c 	value = tegra_sor_readl(sor, sor->soc->regs->pll2);
regs             1815 drivers/gpu/drm/tegra/sor.c 	tegra_sor_writel(sor, value, sor->soc->regs->pll2);
regs             1831 drivers/gpu/drm/tegra/sor.c 	value = tegra_sor_readl(sor, sor->soc->regs->dp_padctl0);
regs             1848 drivers/gpu/drm/tegra/sor.c 	tegra_sor_writel(sor, value, sor->soc->regs->dp_padctl0);
regs             1892 drivers/gpu/drm/tegra/sor.c 	value = tegra_sor_readl(sor, sor->soc->regs->dp_padctl0);
regs             1894 drivers/gpu/drm/tegra/sor.c 	tegra_sor_writel(sor, value, sor->soc->regs->dp_padctl0);
regs             2456 drivers/gpu/drm/tegra/sor.c 	value = tegra_sor_readl(sor, sor->soc->regs->pll2);
regs             2458 drivers/gpu/drm/tegra/sor.c 	tegra_sor_writel(sor, value, sor->soc->regs->pll2);
regs             2462 drivers/gpu/drm/tegra/sor.c 	value = tegra_sor_readl(sor, sor->soc->regs->pll3);
regs             2464 drivers/gpu/drm/tegra/sor.c 	tegra_sor_writel(sor, value, sor->soc->regs->pll3);
regs             2466 drivers/gpu/drm/tegra/sor.c 	value = tegra_sor_readl(sor, sor->soc->regs->pll0);
regs             2469 drivers/gpu/drm/tegra/sor.c 	tegra_sor_writel(sor, value, sor->soc->regs->pll0);
regs             2471 drivers/gpu/drm/tegra/sor.c 	value = tegra_sor_readl(sor, sor->soc->regs->pll2);
regs             2473 drivers/gpu/drm/tegra/sor.c 	tegra_sor_writel(sor, value, sor->soc->regs->pll2);
regs             2477 drivers/gpu/drm/tegra/sor.c 	value = tegra_sor_readl(sor, sor->soc->regs->pll2);
regs             2480 drivers/gpu/drm/tegra/sor.c 	tegra_sor_writel(sor, value, sor->soc->regs->pll2);
regs             2484 drivers/gpu/drm/tegra/sor.c 	value = tegra_sor_readl(sor, sor->soc->regs->dp_padctl0);
regs             2487 drivers/gpu/drm/tegra/sor.c 	tegra_sor_writel(sor, value, sor->soc->regs->dp_padctl0);
regs             2634 drivers/gpu/drm/tegra/sor.c 	value = tegra_sor_readl(sor, sor->soc->regs->dp_padctl0);
regs             2636 drivers/gpu/drm/tegra/sor.c 	tegra_sor_writel(sor, value, sor->soc->regs->dp_padctl0);
regs             2646 drivers/gpu/drm/tegra/sor.c 	value = tegra_sor_readl(sor, sor->soc->regs->pll0);
regs             2653 drivers/gpu/drm/tegra/sor.c 	tegra_sor_writel(sor, value, sor->soc->regs->pll0);
regs             2656 drivers/gpu/drm/tegra/sor.c 	value = tegra_sor_readl(sor, sor->soc->regs->pll1);
regs             2662 drivers/gpu/drm/tegra/sor.c 	tegra_sor_writel(sor, value, sor->soc->regs->pll1);
regs             2664 drivers/gpu/drm/tegra/sor.c 	value = tegra_sor_readl(sor, sor->soc->regs->pll3);
regs             2673 drivers/gpu/drm/tegra/sor.c 	tegra_sor_writel(sor, value, sor->soc->regs->pll3);
regs             2687 drivers/gpu/drm/tegra/sor.c 	value = tegra_sor_readl(sor, sor->soc->regs->dp_padctl0);
regs             2691 drivers/gpu/drm/tegra/sor.c 	tegra_sor_writel(sor, value, sor->soc->regs->dp_padctl0);
regs             2693 drivers/gpu/drm/tegra/sor.c 	value = tegra_sor_readl(sor, sor->soc->regs->dp_padctl2);
regs             2696 drivers/gpu/drm/tegra/sor.c 	tegra_sor_writel(sor, value, sor->soc->regs->dp_padctl2);
regs             2699 drivers/gpu/drm/tegra/sor.c 	value = tegra_sor_readl(sor, sor->soc->regs->dp_padctl0);
regs             2701 drivers/gpu/drm/tegra/sor.c 	tegra_sor_writel(sor, value, sor->soc->regs->dp_padctl0);
regs             2749 drivers/gpu/drm/tegra/sor.c 	value = tegra_sor_readl(sor, sor->soc->regs->head_state0 + dc->pipe);
regs             2752 drivers/gpu/drm/tegra/sor.c 	tegra_sor_writel(sor, value, sor->soc->regs->head_state0 + dc->pipe);
regs             2755 drivers/gpu/drm/tegra/sor.c 	value = tegra_sor_readl(sor, sor->soc->regs->head_state0 + dc->pipe);
regs             2758 drivers/gpu/drm/tegra/sor.c 	tegra_sor_writel(sor, value, sor->soc->regs->head_state0 + dc->pipe);
regs             3051 drivers/gpu/drm/tegra/sor.c 	.regs = &tegra124_sor_regs,
regs             3076 drivers/gpu/drm/tegra/sor.c 	.regs = &tegra210_sor_regs,
regs             3091 drivers/gpu/drm/tegra/sor.c 	.regs = &tegra210_sor_regs,
regs             3121 drivers/gpu/drm/tegra/sor.c 	.regs = &tegra186_sor_regs,
regs             3133 drivers/gpu/drm/tegra/sor.c 	.regs = &tegra186_sor_regs,
regs             3163 drivers/gpu/drm/tegra/sor.c 	.regs = &tegra194_sor_regs,
regs             3255 drivers/gpu/drm/tegra/sor.c 	struct resource *regs;
regs             3326 drivers/gpu/drm/tegra/sor.c 	regs = platform_get_resource(pdev, IORESOURCE_MEM, 0);
regs             3327 drivers/gpu/drm/tegra/sor.c 	sor->regs = devm_ioremap_resource(&pdev->dev, regs);
regs             3328 drivers/gpu/drm/tegra/sor.c 	if (IS_ERR(sor->regs)) {
regs             3329 drivers/gpu/drm/tegra/sor.c 		err = PTR_ERR(sor->regs);
regs               34 drivers/gpu/drm/tegra/vic.c 	void __iomem *regs;
regs               53 drivers/gpu/drm/tegra/vic.c 	writel(value, vic->regs + offset);
regs              373 drivers/gpu/drm/tegra/vic.c 	struct resource *regs;
regs              387 drivers/gpu/drm/tegra/vic.c 	regs = platform_get_resource(pdev, IORESOURCE_MEM, 0);
regs              388 drivers/gpu/drm/tegra/vic.c 	if (!regs) {
regs              393 drivers/gpu/drm/tegra/vic.c 	vic->regs = devm_ioremap_resource(dev, regs);
regs              394 drivers/gpu/drm/tegra/vic.c 	if (IS_ERR(vic->regs))
regs              395 drivers/gpu/drm/tegra/vic.c 		return PTR_ERR(vic->regs);
regs              412 drivers/gpu/drm/tegra/vic.c 	vic->falcon.regs = vic->regs;
regs               33 drivers/gpu/drm/tve200/tve200_display.c 	stat = readl(priv->regs + TVE200_INT_STAT);
regs               50 drivers/gpu/drm/tve200/tve200_display.c 		val = readl(priv->regs + TVE200_CTRL);
regs               60 drivers/gpu/drm/tve200/tve200_display.c 		writel(val, priv->regs + TVE200_CTRL);
regs               65 drivers/gpu/drm/tve200/tve200_display.c 	writel(stat, priv->regs + TVE200_INT_CLR);
regs              220 drivers/gpu/drm/tve200/tve200_display.c 	writel(ctrl1, priv->regs + TVE200_CTRL);
regs              234 drivers/gpu/drm/tve200/tve200_display.c 	writel(0, priv->regs + TVE200_CTRL);
regs              253 drivers/gpu/drm/tve200/tve200_display.c 		       priv->regs + TVE200_Y_FRAME_BASE_ADDR);
regs              258 drivers/gpu/drm/tve200/tve200_display.c 			       priv->regs + TVE200_U_FRAME_BASE_ADDR);
regs              260 drivers/gpu/drm/tve200/tve200_display.c 			       priv->regs + TVE200_V_FRAME_BASE_ADDR);
regs              282 drivers/gpu/drm/tve200/tve200_display.c 	writel(TVE200_INT_V_STATUS, priv->regs + TVE200_INT_EN);
regs              292 drivers/gpu/drm/tve200/tve200_display.c 	writel(0, priv->regs + TVE200_INT_EN);
regs              112 drivers/gpu/drm/tve200/tve200_drm.h 	void *regs;
regs              205 drivers/gpu/drm/tve200/tve200_drv.c 	priv->regs = devm_ioremap_resource(dev, res);
regs              206 drivers/gpu/drm/tve200/tve200_drv.c 	if (IS_ERR(priv->regs)) {
regs              219 drivers/gpu/drm/tve200/tve200_drv.c 	writel(0, priv->regs + TVE200_INT_EN);
regs              229 drivers/gpu/drm/v3d/v3d_drv.c map_regs(struct v3d_dev *v3d, void __iomem **regs, const char *name)
regs              234 drivers/gpu/drm/v3d/v3d_drv.c 	*regs = devm_ioremap_resource(v3d->dev, res);
regs              235 drivers/gpu/drm/v3d/v3d_drv.c 	return PTR_ERR_OR_ZERO(*regs);
regs               68 drivers/gpu/drm/vc4/vc4_crtc.c #define CRTC_WRITE(offset, val) writel(val, vc4_crtc->regs + (offset))
regs               69 drivers/gpu/drm/vc4/vc4_crtc.c #define CRTC_READ(offset) readl(vc4_crtc->regs + (offset))
regs             1145 drivers/gpu/drm/vc4/vc4_crtc.c 	vc4_crtc->regs = vc4_ioremap_regs(pdev, 0);
regs             1146 drivers/gpu/drm/vc4/vc4_crtc.c 	if (IS_ERR(vc4_crtc->regs))
regs             1147 drivers/gpu/drm/vc4/vc4_crtc.c 		return PTR_ERR(vc4_crtc->regs);
regs             1149 drivers/gpu/drm/vc4/vc4_crtc.c 	vc4_crtc->regset.base = vc4_crtc->regs;
regs             1150 drivers/gpu/drm/vc4/vc4_crtc.c 	vc4_crtc->regset.regs = crtc_regs;
regs               89 drivers/gpu/drm/vc4/vc4_dpi.c 	void __iomem *regs;
regs               97 drivers/gpu/drm/vc4/vc4_dpi.c #define DPI_READ(offset) readl(dpi->regs + (offset))
regs               98 drivers/gpu/drm/vc4/vc4_dpi.c #define DPI_WRITE(offset, val) writel(val, dpi->regs + (offset))
regs              279 drivers/gpu/drm/vc4/vc4_dpi.c 	dpi->regs = vc4_ioremap_regs(pdev, 0);
regs              280 drivers/gpu/drm/vc4/vc4_dpi.c 	if (IS_ERR(dpi->regs))
regs              281 drivers/gpu/drm/vc4/vc4_dpi.c 		return PTR_ERR(dpi->regs);
regs              282 drivers/gpu/drm/vc4/vc4_dpi.c 	dpi->regset.base = dpi->regs;
regs              283 drivers/gpu/drm/vc4/vc4_dpi.c 	dpi->regset.regs = dpi_regs;
regs              311 drivers/gpu/drm/vc4/vc4_drv.h 	void __iomem *regs;
regs              318 drivers/gpu/drm/vc4/vc4_drv.h 	void __iomem *regs;
regs              453 drivers/gpu/drm/vc4/vc4_drv.h 	void __iomem *regs;
regs              478 drivers/gpu/drm/vc4/vc4_drv.h #define V3D_READ(offset) readl(vc4->v3d->regs + offset)
regs              479 drivers/gpu/drm/vc4/vc4_drv.h #define V3D_WRITE(offset, val) writel(val, vc4->v3d->regs + offset)
regs              480 drivers/gpu/drm/vc4/vc4_drv.h #define HVS_READ(offset) readl(vc4->hvs->regs + offset)
regs              481 drivers/gpu/drm/vc4/vc4_drv.h #define HVS_WRITE(offset, val) writel(val, vc4->hvs->regs + offset)
regs              502 drivers/gpu/drm/vc4/vc4_dsi.c 	void __iomem *regs;
regs              557 drivers/gpu/drm/vc4/vc4_dsi.c 		writel(val, dsi->regs + offset);
regs              583 drivers/gpu/drm/vc4/vc4_dsi.c #define DSI_READ(offset) readl(dsi->regs + (offset))
regs             1466 drivers/gpu/drm/vc4/vc4_dsi.c 	dsi->regs = vc4_ioremap_regs(pdev, 0);
regs             1467 drivers/gpu/drm/vc4/vc4_dsi.c 	if (IS_ERR(dsi->regs))
regs             1468 drivers/gpu/drm/vc4/vc4_dsi.c 		return PTR_ERR(dsi->regs);
regs             1470 drivers/gpu/drm/vc4/vc4_dsi.c 	dsi->regset.base = dsi->regs;
regs             1472 drivers/gpu/drm/vc4/vc4_dsi.c 		dsi->regset.regs = dsi0_regs;
regs             1475 drivers/gpu/drm/vc4/vc4_dsi.c 		dsi->regset.regs = dsi1_regs;
regs             1333 drivers/gpu/drm/vc4/vc4_hdmi.c 	hdmi->hdmi_regset.regs = hdmi_regs;
regs             1336 drivers/gpu/drm/vc4/vc4_hdmi.c 	hdmi->hd_regset.regs = hd_regs;
regs              233 drivers/gpu/drm/vc4/vc4_hvs.c 	hvs->regs = vc4_ioremap_regs(pdev, 0);
regs              234 drivers/gpu/drm/vc4/vc4_hvs.c 	if (IS_ERR(hvs->regs))
regs              235 drivers/gpu/drm/vc4/vc4_hvs.c 		return PTR_ERR(hvs->regs);
regs              237 drivers/gpu/drm/vc4/vc4_hvs.c 	hvs->regset.base = hvs->regs;
regs              238 drivers/gpu/drm/vc4/vc4_hvs.c 	hvs->regset.regs = hvs_regs;
regs              241 drivers/gpu/drm/vc4/vc4_hvs.c 	hvs->dlist = hvs->regs + SCALER_DLIST_START;
regs              144 drivers/gpu/drm/vc4/vc4_txp.c #define TXP_READ(offset) readl(txp->regs + (offset))
regs              145 drivers/gpu/drm/vc4/vc4_txp.c #define TXP_WRITE(offset, val) writel(val, txp->regs + (offset))
regs              152 drivers/gpu/drm/vc4/vc4_txp.c 	void __iomem *regs;
regs              387 drivers/gpu/drm/vc4/vc4_txp.c 	txp->regs = vc4_ioremap_regs(pdev, 0);
regs              388 drivers/gpu/drm/vc4/vc4_txp.c 	if (IS_ERR(txp->regs))
regs              389 drivers/gpu/drm/vc4/vc4_txp.c 		return PTR_ERR(txp->regs);
regs              390 drivers/gpu/drm/vc4/vc4_txp.c 	txp->regset.base = txp->regs;
regs              391 drivers/gpu/drm/vc4/vc4_txp.c 	txp->regset.regs = txp_regs;
regs              407 drivers/gpu/drm/vc4/vc4_v3d.c 	v3d->regs = vc4_ioremap_regs(pdev, 0);
regs              408 drivers/gpu/drm/vc4/vc4_v3d.c 	if (IS_ERR(v3d->regs))
regs              409 drivers/gpu/drm/vc4/vc4_v3d.c 		return PTR_ERR(v3d->regs);
regs              410 drivers/gpu/drm/vc4/vc4_v3d.c 	v3d->regset.base = v3d->regs;
regs              411 drivers/gpu/drm/vc4/vc4_v3d.c 	v3d->regset.regs = v3d_regs;
regs              163 drivers/gpu/drm/vc4/vc4_vec.c 	void __iomem *regs;
regs              172 drivers/gpu/drm/vc4/vc4_vec.c #define VEC_READ(offset) readl(vec->regs + (offset))
regs              173 drivers/gpu/drm/vc4/vc4_vec.c #define VEC_WRITE(offset, val) writel(val, vec->regs + (offset))
regs              552 drivers/gpu/drm/vc4/vc4_vec.c 	vec->regs = vc4_ioremap_regs(pdev, 0);
regs              553 drivers/gpu/drm/vc4/vc4_vec.c 	if (IS_ERR(vec->regs))
regs              554 drivers/gpu/drm/vc4/vc4_vec.c 		return PTR_ERR(vec->regs);
regs              555 drivers/gpu/drm/vc4/vc4_vec.c 	vec->regset.base = vec->regs;
regs              556 drivers/gpu/drm/vc4/vc4_vec.c 	vec->regset.regs = vec_regs;
regs              127 drivers/gpu/drm/zte/zx_vou.c 	const struct zx_crtc_regs *regs;
regs              359 drivers/gpu/drm/zte/zx_vou.c 	const struct zx_crtc_regs *regs = zcrtc->regs;
regs              372 drivers/gpu/drm/zte/zx_vou.c 	zx_writel(vou->timing + regs->fir_active, val);
regs              377 drivers/gpu/drm/zte/zx_vou.c 	zx_writel(vou->timing + regs->fir_htiming, val);
regs              382 drivers/gpu/drm/zte/zx_vou.c 	zx_writel(vou->timing + regs->fir_vtiming, val);
regs              400 drivers/gpu/drm/zte/zx_vou.c 		zx_writel(vou->timing + regs->sec_vtiming, val);
regs              416 drivers/gpu/drm/zte/zx_vou.c 	zx_writel(vou->timing + regs->timing_shift, val);
regs              417 drivers/gpu/drm/zte/zx_vou.c 	zx_writel(vou->timing + regs->timing_pi_shift, H_PI_SHIFT_VAL);
regs              561 drivers/gpu/drm/zte/zx_vou.c 		zcrtc->regs = &main_crtc_regs;
regs              572 drivers/gpu/drm/zte/zx_vou.c 		zcrtc->regs = &aux_crtc_regs;
regs               28 drivers/gpu/host1x/channel.h 	void __iomem *regs;
regs               50 drivers/gpu/host1x/dev.c 	void __iomem *sync_regs = host1x->regs + host1x->info->sync_offset;
regs               57 drivers/gpu/host1x/dev.c 	void __iomem *sync_regs = host1x->regs + host1x->info->sync_offset;
regs               64 drivers/gpu/host1x/dev.c 	writel(v, ch->regs + r);
regs               69 drivers/gpu/host1x/dev.c 	return readl(ch->regs + r);
regs              184 drivers/gpu/host1x/dev.c 	struct resource *regs, *hv_regs = NULL;
regs              195 drivers/gpu/host1x/dev.c 		regs = platform_get_resource_byname(pdev, IORESOURCE_MEM, "vm");
regs              196 drivers/gpu/host1x/dev.c 		if (!regs) {
regs              209 drivers/gpu/host1x/dev.c 		regs = platform_get_resource(pdev, IORESOURCE_MEM, 0);
regs              210 drivers/gpu/host1x/dev.c 		if (!regs) {
regs              230 drivers/gpu/host1x/dev.c 	host->regs = devm_ioremap_resource(&pdev->dev, regs);
regs              231 drivers/gpu/host1x/dev.c 	if (IS_ERR(host->regs))
regs              232 drivers/gpu/host1x/dev.c 		return PTR_ERR(host->regs);
regs              108 drivers/gpu/host1x/dev.h 	void __iomem *regs;
regs              234 drivers/gpu/host1x/hw/channel_hw.c 	ch->regs = dev->regs + index * 0x4000;
regs              236 drivers/gpu/host1x/hw/channel_hw.c 	ch->regs = dev->regs + index * 0x100;
regs              122 drivers/gpu/host1x/mipi.c 	void __iomem *regs;
regs              139 drivers/gpu/host1x/mipi.c 	return readl(mipi->regs + (offset << 2));
regs              145 drivers/gpu/host1x/mipi.c 	writel(value, mipi->regs + (offset << 2));
regs              516 drivers/gpu/host1x/mipi.c 	mipi->regs = devm_ioremap_resource(&pdev->dev, res);
regs              517 drivers/gpu/host1x/mipi.c 	if (IS_ERR(mipi->regs))
regs              518 drivers/gpu/host1x/mipi.c 		return PTR_ERR(mipi->regs);
regs             1068 drivers/gpu/ipu-v3/ipu-common.c static void ipu_irq_handle(struct ipu_soc *ipu, const int *regs, int num_regs)
regs             1075 drivers/gpu/ipu-v3/ipu-common.c 		status = ipu_cm_read(ipu, IPU_INT_STAT(regs[i]));
regs             1076 drivers/gpu/ipu-v3/ipu-common.c 		status &= ipu_cm_read(ipu, IPU_INT_CTRL(regs[i]));
regs             1080 drivers/gpu/ipu-v3/ipu-common.c 						regs[i] * 32 + bit);
regs             1306 drivers/gpu/ipu-v3/ipu-common.c 		ct->regs.ack = IPU_INT_STAT(i / 32);
regs             1307 drivers/gpu/ipu-v3/ipu-common.c 		ct->regs.mask = IPU_INT_CTRL(i / 32);
regs               93 drivers/gpu/ipu-v3/ipu-pre.c 	void __iomem		*regs;
regs              145 drivers/gpu/ipu-v3/ipu-pre.c 	writel(0, pre->regs + IPU_PRE_CTRL);
regs              152 drivers/gpu/ipu-v3/ipu-pre.c 	writel(val, pre->regs + IPU_PRE_CTRL);
regs              160 drivers/gpu/ipu-v3/ipu-pre.c 	writel(IPU_PRE_CTRL_SFTRST, pre->regs + IPU_PRE_CTRL);
regs              179 drivers/gpu/ipu-v3/ipu-pre.c 	writel(bufaddr, pre->regs + IPU_PRE_CUR_BUF);
regs              180 drivers/gpu/ipu-v3/ipu-pre.c 	writel(bufaddr, pre->regs + IPU_PRE_NEXT_BUF);
regs              188 drivers/gpu/ipu-v3/ipu-pre.c 	writel(val, pre->regs + IPU_PRE_PREFETCH_ENG_CTRL);
regs              192 drivers/gpu/ipu-v3/ipu-pre.c 	writel(val, pre->regs + IPU_PRE_PREFETCH_ENG_INPUT_SIZE);
regs              195 drivers/gpu/ipu-v3/ipu-pre.c 	writel(val, pre->regs + IPU_PRE_PREFETCH_ENG_PITCH);
regs              200 drivers/gpu/ipu-v3/ipu-pre.c 	writel(val, pre->regs + IPU_PRE_STORE_ENG_CTRL);
regs              204 drivers/gpu/ipu-v3/ipu-pre.c 	writel(val, pre->regs + IPU_PRE_STORE_ENG_SIZE);
regs              207 drivers/gpu/ipu-v3/ipu-pre.c 	writel(val, pre->regs + IPU_PRE_STORE_ENG_PITCH);
regs              209 drivers/gpu/ipu-v3/ipu-pre.c 	writel(pre->buffer_paddr, pre->regs + IPU_PRE_STORE_ENG_ADDR);
regs              211 drivers/gpu/ipu-v3/ipu-pre.c 	val = readl(pre->regs + IPU_PRE_TPR_CTRL);
regs              221 drivers/gpu/ipu-v3/ipu-pre.c 	writel(val, pre->regs + IPU_PRE_TPR_CTRL);
regs              223 drivers/gpu/ipu-v3/ipu-pre.c 	val = readl(pre->regs + IPU_PRE_CTRL);
regs              230 drivers/gpu/ipu-v3/ipu-pre.c 	writel(val, pre->regs + IPU_PRE_CTRL);
regs              242 drivers/gpu/ipu-v3/ipu-pre.c 	writel(bufaddr, pre->regs + IPU_PRE_NEXT_BUF);
regs              251 drivers/gpu/ipu-v3/ipu-pre.c 		val = readl(pre->regs + IPU_PRE_STORE_ENG_STATUS);
regs              257 drivers/gpu/ipu-v3/ipu-pre.c 	writel(IPU_PRE_CTRL_SDW_UPDATE, pre->regs + IPU_PRE_CTRL_SET);
regs              262 drivers/gpu/ipu-v3/ipu-pre.c 	return !!(readl_relaxed(pre->regs + IPU_PRE_CTRL) &
regs              282 drivers/gpu/ipu-v3/ipu-pre.c 	pre->regs = devm_ioremap_resource(&pdev->dev, res);
regs              283 drivers/gpu/ipu-v3/ipu-pre.c 	if (IS_ERR(pre->regs))
regs              284 drivers/gpu/ipu-v3/ipu-pre.c 		return PTR_ERR(pre->regs);
regs               73 drivers/gpu/ipu-v3/ipu-prg.c 	void __iomem		*regs;
regs              258 drivers/gpu/ipu-v3/ipu-prg.c 	val = readl(prg->regs + IPU_PRG_CTL);
regs              260 drivers/gpu/ipu-v3/ipu-prg.c 	writel(val, prg->regs + IPU_PRG_CTL);
regs              263 drivers/gpu/ipu-v3/ipu-prg.c 	writel(val, prg->regs + IPU_PRG_REG_UPDATE);
regs              305 drivers/gpu/ipu-v3/ipu-prg.c 	writel(val, prg->regs + IPU_PRG_STRIDE(prg_chan));
regs              311 drivers/gpu/ipu-v3/ipu-prg.c 	writel(val, prg->regs + IPU_PRG_HEIGHT(prg_chan));
regs              315 drivers/gpu/ipu-v3/ipu-prg.c 	writel(val, prg->regs + IPU_PRG_BADDR(prg_chan));
regs              317 drivers/gpu/ipu-v3/ipu-prg.c 	val = readl(prg->regs + IPU_PRG_CTL);
regs              324 drivers/gpu/ipu-v3/ipu-prg.c 	writel(val, prg->regs + IPU_PRG_CTL);
regs              327 drivers/gpu/ipu-v3/ipu-prg.c 	writel(val, prg->regs + IPU_PRG_REG_UPDATE);
regs              330 drivers/gpu/ipu-v3/ipu-prg.c 	readl_poll_timeout(prg->regs + IPU_PRG_STATUS, val,
regs              371 drivers/gpu/ipu-v3/ipu-prg.c 	prg->regs = devm_ioremap_resource(&pdev->dev, res);
regs              372 drivers/gpu/ipu-v3/ipu-prg.c 	if (IS_ERR(prg->regs))
regs              373 drivers/gpu/ipu-v3/ipu-prg.c 		return PTR_ERR(prg->regs);
regs              406 drivers/gpu/ipu-v3/ipu-prg.c 	val = readl(prg->regs + IPU_PRG_CTL);
regs              408 drivers/gpu/ipu-v3/ipu-prg.c 	writel(val, prg->regs + IPU_PRG_CTL);
regs              411 drivers/gpu/ipu-v3/ipu-prg.c 	writel(0xffffffff, prg->regs + IPU_PRG_THD);
regs               67 drivers/hv/vmbus_drv.c 	struct pt_regs *regs;
regs               78 drivers/hv/vmbus_drv.c 		regs = current_pt_regs();
regs               79 drivers/hv/vmbus_drv.c 		hyperv_report_panic(regs, val, false);
regs               88 drivers/hv/vmbus_drv.c 	struct pt_regs *regs = die->regs;
regs               96 drivers/hv/vmbus_drv.c 		hyperv_report_panic(regs, val, true);
regs             2350 drivers/hv/vmbus_drv.c static void hv_crash_handler(struct pt_regs *regs)
regs              349 drivers/hwmon/aspeed-pwm-tacho.c 	void __iomem *regs = (void __iomem *)context;
regs              351 drivers/hwmon/aspeed-pwm-tacho.c 	writel(val, regs + reg);
regs              358 drivers/hwmon/aspeed-pwm-tacho.c 	void __iomem *regs = (void __iomem *)context;
regs              360 drivers/hwmon/aspeed-pwm-tacho.c 	*val = readl(regs + reg);
regs              893 drivers/hwmon/aspeed-pwm-tacho.c 	void __iomem *regs;
regs              904 drivers/hwmon/aspeed-pwm-tacho.c 	regs = devm_ioremap_resource(dev, res);
regs              905 drivers/hwmon/aspeed-pwm-tacho.c 	if (IS_ERR(regs))
regs              906 drivers/hwmon/aspeed-pwm-tacho.c 		return PTR_ERR(regs);
regs              910 drivers/hwmon/aspeed-pwm-tacho.c 	priv->regmap = devm_regmap_init(dev, NULL, (__force void *)regs,
regs              191 drivers/hwmon/da9052-hwmon.c 	u8 regs[3];
regs              196 drivers/hwmon/da9052-hwmon.c 				ARRAY_SIZE(regs), regs);
regs              203 drivers/hwmon/da9052-hwmon.c 		msb = regs[0] << DA9052_TSILSB_TSIXL_BITS;
regs              204 drivers/hwmon/da9052-hwmon.c 		lsb = regs[2] & DA9052_TSILSB_TSIXL;
regs              209 drivers/hwmon/da9052-hwmon.c 		msb = regs[1] << DA9052_TSILSB_TSIYL_BITS;
regs              210 drivers/hwmon/da9052-hwmon.c 		lsb = regs[2] & DA9052_TSILSB_TSIYL;
regs              140 drivers/hwmon/dell-smm-hwmon.c 	struct smm_regs *regs = par;
regs              141 drivers/hwmon/dell-smm-hwmon.c 	int eax = regs->eax;
regs              144 drivers/hwmon/dell-smm-hwmon.c 	int ebx = regs->ebx;
regs              179 drivers/hwmon/dell-smm-hwmon.c 		:    "a"(regs)
regs              205 drivers/hwmon/dell-smm-hwmon.c 	    :    "a"(regs)
regs              208 drivers/hwmon/dell-smm-hwmon.c 	if (rc != 0 || (regs->eax & 0xffff) == 0xffff || regs->eax == eax)
regs              216 drivers/hwmon/dell-smm-hwmon.c 		(rc ? 0xffff : regs->eax & 0xffff), duration);
regs              225 drivers/hwmon/dell-smm-hwmon.c static int i8k_smm(struct smm_regs *regs)
regs              230 drivers/hwmon/dell-smm-hwmon.c 	ret = smp_call_on_cpu(0, i8k_smm_func, regs, true);
regs              241 drivers/hwmon/dell-smm-hwmon.c 	struct smm_regs regs = { .eax = I8K_SMM_GET_FAN, };
regs              246 drivers/hwmon/dell-smm-hwmon.c 	regs.ebx = fan & 0xff;
regs              247 drivers/hwmon/dell-smm-hwmon.c 	return i8k_smm(&regs) ? : regs.eax & 0xff;
regs              255 drivers/hwmon/dell-smm-hwmon.c 	struct smm_regs regs = { .eax = I8K_SMM_GET_SPEED, };
regs              260 drivers/hwmon/dell-smm-hwmon.c 	regs.ebx = fan & 0xff;
regs              261 drivers/hwmon/dell-smm-hwmon.c 	return i8k_smm(&regs) ? : (regs.eax & 0xffff) * i8k_fan_mult;
regs              269 drivers/hwmon/dell-smm-hwmon.c 	struct smm_regs regs = { .eax = I8K_SMM_GET_FAN_TYPE, };
regs              274 drivers/hwmon/dell-smm-hwmon.c 	regs.ebx = fan & 0xff;
regs              275 drivers/hwmon/dell-smm-hwmon.c 	return i8k_smm(&regs) ? : regs.eax & 0xff;
regs              294 drivers/hwmon/dell-smm-hwmon.c 	struct smm_regs regs = { .eax = I8K_SMM_GET_NOM_SPEED, };
regs              299 drivers/hwmon/dell-smm-hwmon.c 	regs.ebx = (fan & 0xff) | (speed << 8);
regs              300 drivers/hwmon/dell-smm-hwmon.c 	return i8k_smm(&regs) ? : (regs.eax & 0xffff) * i8k_fan_mult;
regs              308 drivers/hwmon/dell-smm-hwmon.c 	struct smm_regs regs = { .eax = I8K_SMM_SET_FAN, };
regs              314 drivers/hwmon/dell-smm-hwmon.c 	regs.ebx = (fan & 0xff) | (speed << 8);
regs              316 drivers/hwmon/dell-smm-hwmon.c 	return i8k_smm(&regs) ? : i8k_get_fan_status(fan);
regs              321 drivers/hwmon/dell-smm-hwmon.c 	struct smm_regs regs = { .eax = I8K_SMM_GET_TEMP_TYPE, };
regs              323 drivers/hwmon/dell-smm-hwmon.c 	regs.ebx = sensor & 0xff;
regs              324 drivers/hwmon/dell-smm-hwmon.c 	return i8k_smm(&regs) ? : regs.eax & 0xff;
regs              332 drivers/hwmon/dell-smm-hwmon.c 	struct smm_regs regs = {
regs              337 drivers/hwmon/dell-smm-hwmon.c 	return i8k_smm(&regs) ? : regs.eax & 0xff;
regs              371 drivers/hwmon/dell-smm-hwmon.c 	struct smm_regs regs = { .eax = req_fn, };
regs              374 drivers/hwmon/dell-smm-hwmon.c 	rc = i8k_smm(&regs);
regs              378 drivers/hwmon/dell-smm-hwmon.c 	return regs.eax == 1145651527 && regs.edx == 1145392204 ? 0 : -1;
regs              388 drivers/hwmon/dell-smm-hwmon.c 	struct smm_regs regs = { .eax = I8K_SMM_FN_STATUS, };
regs              391 drivers/hwmon/dell-smm-hwmon.c 	rc = i8k_smm(&regs);
regs              395 drivers/hwmon/dell-smm-hwmon.c 	switch ((regs.eax >> I8K_FN_SHIFT) & I8K_FN_MASK) {
regs              412 drivers/hwmon/dell-smm-hwmon.c 	struct smm_regs regs = { .eax = I8K_SMM_POWER_STATUS, };
regs              415 drivers/hwmon/dell-smm-hwmon.c 	rc = i8k_smm(&regs);
regs              419 drivers/hwmon/dell-smm-hwmon.c 	return (regs.eax & 0xff) == I8K_POWER_AC ? I8K_AC : I8K_BATTERY;
regs               69 drivers/hwmon/ina209.c 	u16 regs[INA209_REGISTERS];	/* All chip registers */
regs               88 drivers/hwmon/ina209.c 		for (i = 0; i < ARRAY_SIZE(data->regs); i++) {
regs               94 drivers/hwmon/ina209.c 			data->regs[i] = val;
regs              247 drivers/hwmon/ina209.c 	regval = ina209_reg_from_interval(data->regs[INA209_CONFIGURATION],
regs              251 drivers/hwmon/ina209.c 	data->regs[INA209_CONFIGURATION] = regval;
regs              323 drivers/hwmon/ina209.c 	ret = ina209_to_reg(reg, data->regs[reg], val);
regs              329 drivers/hwmon/ina209.c 	data->regs[reg] = ret;
regs              345 drivers/hwmon/ina209.c 	val = ina209_from_reg(attr->index, data->regs[attr->index]);
regs              360 drivers/hwmon/ina209.c 	status = data->regs[INA209_STATUS];
regs               90 drivers/hwmon/lm92.c static const u8 regs[t_num_regs] = {
regs              126 drivers/hwmon/lm92.c 				i2c_smbus_read_word_swapped(client, regs[i]);
regs              163 drivers/hwmon/lm92.c 	i2c_smbus_write_word_swapped(client, regs[nr], data->temp[nr]);
regs              593 drivers/hwmon/lm93.c static int LM93_FAN_FROM_REG(u16 regs)
regs              595 drivers/hwmon/lm93.c 	const u16 count = le16_to_cpu(regs) >> 2;
regs              605 drivers/hwmon/lm93.c 	u16 count, regs;
regs              614 drivers/hwmon/lm93.c 	regs = count << 2;
regs              615 drivers/hwmon/lm93.c 	return cpu_to_le16(regs);
regs               45 drivers/hwmon/ltc4151.c 	u8 regs[6];
regs               66 drivers/hwmon/ltc4151.c 		for (i = 0; i < ARRAY_SIZE(data->regs); i++) {
regs               77 drivers/hwmon/ltc4151.c 			data->regs[i] = val;
regs               92 drivers/hwmon/ltc4151.c 	val = (data->regs[reg] << 4) + (data->regs[reg + 1] >> 4);
regs               40 drivers/hwmon/ltc4215.c 	u8 regs[7];
regs               58 drivers/hwmon/ltc4215.c 		for (i = 0; i < ARRAY_SIZE(data->regs); i++) {
regs               61 drivers/hwmon/ltc4215.c 				data->regs[i] = 0;
regs               63 drivers/hwmon/ltc4215.c 				data->regs[i] = val;
regs               79 drivers/hwmon/ltc4215.c 	const u8 regval = data->regs[reg];
regs              128 drivers/hwmon/ltc4215.c 	const unsigned int voltage = data->regs[LTC4215_SENSE] * 151;
regs              170 drivers/hwmon/ltc4215.c 	const u8 reg = data->regs[LTC4215_STATUS];
regs               52 drivers/hwmon/ltc4261.c 	u8 regs[10];
regs               67 drivers/hwmon/ltc4261.c 		for (i = 0; i < ARRAY_SIZE(data->regs); i++) {
regs               79 drivers/hwmon/ltc4261.c 			data->regs[i] = val;
regs               94 drivers/hwmon/ltc4261.c 	val = (data->regs[reg] << 2) + (data->regs[reg + 1] >> 6);
regs              146 drivers/hwmon/ltc4261.c 	fault = data->regs[LTC4261_FAULT] & attr->index;
regs               62 drivers/hwmon/ultra45_env.c 	void __iomem	*regs;
regs               73 drivers/hwmon/ultra45_env.c 	writeb(ireg, p->regs + REG_ADDR);
regs               74 drivers/hwmon/ultra45_env.c 	ret = readb(p->regs + REG_DATA);
regs               83 drivers/hwmon/ultra45_env.c 	writeb(ireg, p->regs + REG_ADDR);
regs               84 drivers/hwmon/ultra45_env.c 	writeb(val, p->regs + REG_DATA);
regs              190 drivers/hwmon/ultra45_env.c 	val = readb(p->regs + REG_STAT);
regs              206 drivers/hwmon/ultra45_env.c 	val = readb(p->regs + REG_STAT);
regs              264 drivers/hwmon/ultra45_env.c 	p->regs = of_ioremap(&op->resource[0], 0, REG_SIZE, "pic16f747");
regs              265 drivers/hwmon/ultra45_env.c 	if (!p->regs)
regs              288 drivers/hwmon/ultra45_env.c 	of_iounmap(&op->resource[0], p->regs, REG_SIZE);
regs              300 drivers/hwmon/ultra45_env.c 		of_iounmap(&op->resource[0], p->regs, REG_SIZE);
regs               56 drivers/i2c/busses/i2c-bcm2835.c 	void __iomem *regs;
regs               71 drivers/i2c/busses/i2c-bcm2835.c 	writel(val, i2c_dev->regs + reg);
regs               76 drivers/i2c/busses/i2c-bcm2835.c 	return readl(i2c_dev->regs + reg);
regs              419 drivers/i2c/busses/i2c-bcm2835.c 	i2c_dev->regs = devm_ioremap_resource(&pdev->dev, mem);
regs              420 drivers/i2c/busses/i2c-bcm2835.c 	if (IS_ERR(i2c_dev->regs))
regs              421 drivers/i2c/busses/i2c-bcm2835.c 		return PTR_ERR(i2c_dev->regs);
regs               50 drivers/i2c/busses/i2c-digicolor.c 	void __iomem		*regs;
regs               74 drivers/i2c/busses/i2c-digicolor.c 	writeb_relaxed(cmd | II_COMMAND_GO, i2c->regs + II_COMMAND);
regs               89 drivers/i2c/busses/i2c-digicolor.c 	writeb_relaxed(data, i2c->regs + II_DATA);
regs              121 drivers/i2c/busses/i2c-digicolor.c 	return readb_relaxed(i2c->regs + II_DATA);
regs              133 drivers/i2c/busses/i2c-digicolor.c 		writeb_relaxed(1, i2c->regs + II_INTFLAG_CLEAR);
regs              134 drivers/i2c/busses/i2c-digicolor.c 	writeb_relaxed(!!enable, i2c->regs + II_INTENABLE);
regs              139 drivers/i2c/busses/i2c-digicolor.c 	u8 cmd = readb_relaxed(i2c->regs + II_COMMAND);
regs              167 drivers/i2c/busses/i2c-digicolor.c 	writeb_relaxed(1, i2c->regs + II_INTFLAG_CLEAR);
regs              264 drivers/i2c/busses/i2c-digicolor.c 	writeb_relaxed(II_CONTROL_LOCAL_RESET, i2c->regs + II_CONTROL);
regs              266 drivers/i2c/busses/i2c-digicolor.c 	writeb_relaxed(0, i2c->regs + II_CONTROL);
regs              275 drivers/i2c/busses/i2c-digicolor.c 	writeb_relaxed(clocktime - 1, i2c->regs + II_CLOCKTIME);
regs              316 drivers/i2c/busses/i2c-digicolor.c 	i2c->regs = devm_ioremap_resource(&pdev->dev, r);
regs              317 drivers/i2c/busses/i2c-digicolor.c 	if (IS_ERR(i2c->regs))
regs              318 drivers/i2c/busses/i2c-digicolor.c 		return PTR_ERR(i2c->regs);
regs              190 drivers/i2c/busses/i2c-exynos5.c 	void __iomem		*regs;
regs              259 drivers/i2c/busses/i2c-exynos5.c 	writel(readl(i2c->regs + HSI2C_INT_STATUS),
regs              260 drivers/i2c/busses/i2c-exynos5.c 				i2c->regs + HSI2C_INT_STATUS);
regs              303 drivers/i2c/busses/i2c-exynos5.c 	t_ftl_cycle = (readl(i2c->regs + HSI2C_CONF) >> 16) & 0x7;
regs              338 drivers/i2c/busses/i2c-exynos5.c 		writel(i2c_timing_s1, i2c->regs + HSI2C_TIMING_HS1);
regs              339 drivers/i2c/busses/i2c-exynos5.c 		writel(i2c_timing_s2, i2c->regs + HSI2C_TIMING_HS2);
regs              340 drivers/i2c/busses/i2c-exynos5.c 		writel(i2c_timing_s3, i2c->regs + HSI2C_TIMING_HS3);
regs              342 drivers/i2c/busses/i2c-exynos5.c 		writel(i2c_timing_s1, i2c->regs + HSI2C_TIMING_FS1);
regs              343 drivers/i2c/busses/i2c-exynos5.c 		writel(i2c_timing_s2, i2c->regs + HSI2C_TIMING_FS2);
regs              344 drivers/i2c/busses/i2c-exynos5.c 		writel(i2c_timing_s3, i2c->regs + HSI2C_TIMING_FS3);
regs              346 drivers/i2c/busses/i2c-exynos5.c 	writel(i2c_timing_sla, i2c->regs + HSI2C_TIMING_SLA);
regs              368 drivers/i2c/busses/i2c-exynos5.c 	u32 i2c_conf = readl(i2c->regs + HSI2C_CONF);
regs              369 drivers/i2c/busses/i2c-exynos5.c 	u32 i2c_timeout = readl(i2c->regs + HSI2C_TIMEOUT);
regs              373 drivers/i2c/busses/i2c-exynos5.c 	writel(i2c_timeout, i2c->regs + HSI2C_TIMEOUT);
regs              376 drivers/i2c/busses/i2c-exynos5.c 					i2c->regs + HSI2C_CTL);
regs              377 drivers/i2c/busses/i2c-exynos5.c 	writel(HSI2C_TRAILING_COUNT, i2c->regs + HSI2C_TRAILIG_CTL);
regs              381 drivers/i2c/busses/i2c-exynos5.c 					i2c->regs + HSI2C_ADDR);
regs              385 drivers/i2c/busses/i2c-exynos5.c 	writel(i2c_conf | HSI2C_AUTO_MODE, i2c->regs + HSI2C_CONF);
regs              393 drivers/i2c/busses/i2c-exynos5.c 	i2c_ctl = readl(i2c->regs + HSI2C_CTL);
regs              395 drivers/i2c/busses/i2c-exynos5.c 	writel(i2c_ctl, i2c->regs + HSI2C_CTL);
regs              397 drivers/i2c/busses/i2c-exynos5.c 	i2c_ctl = readl(i2c->regs + HSI2C_CTL);
regs              399 drivers/i2c/busses/i2c-exynos5.c 	writel(i2c_ctl, i2c->regs + HSI2C_CTL);
regs              425 drivers/i2c/busses/i2c-exynos5.c 	int_status = readl(i2c->regs + HSI2C_INT_STATUS);
regs              426 drivers/i2c/busses/i2c-exynos5.c 	writel(int_status, i2c->regs + HSI2C_INT_STATUS);
regs              451 drivers/i2c/busses/i2c-exynos5.c 		trans_status = readl(i2c->regs + HSI2C_TRANS_STATUS);
regs              476 drivers/i2c/busses/i2c-exynos5.c 		fifo_status = readl(i2c->regs + HSI2C_FIFO_STATUS);
regs              482 drivers/i2c/busses/i2c-exynos5.c 				readl(i2c->regs + HSI2C_RX_DATA);
regs              488 drivers/i2c/busses/i2c-exynos5.c 		fifo_status = readl(i2c->regs + HSI2C_FIFO_STATUS);
regs              493 drivers/i2c/busses/i2c-exynos5.c 			u32 int_en = readl(i2c->regs + HSI2C_INT_ENABLE);
regs              496 drivers/i2c/busses/i2c-exynos5.c 			writel(int_en, i2c->regs + HSI2C_INT_ENABLE);
regs              502 drivers/i2c/busses/i2c-exynos5.c 			writel(byte, i2c->regs + HSI2C_TX_DATA);
regs              511 drivers/i2c/busses/i2c-exynos5.c 		writel(0, i2c->regs + HSI2C_INT_ENABLE);
regs              537 drivers/i2c/busses/i2c-exynos5.c 		trans_status = readl(i2c->regs + HSI2C_TRANS_STATUS);
regs              551 drivers/i2c/busses/i2c-exynos5.c 	val = readl(i2c->regs + HSI2C_CTL) | HSI2C_RXCHON;
regs              552 drivers/i2c/busses/i2c-exynos5.c 	writel(val, i2c->regs + HSI2C_CTL);
regs              553 drivers/i2c/busses/i2c-exynos5.c 	val = readl(i2c->regs + HSI2C_CONF) & ~HSI2C_AUTO_MODE;
regs              554 drivers/i2c/busses/i2c-exynos5.c 	writel(val, i2c->regs + HSI2C_CONF);
regs              561 drivers/i2c/busses/i2c-exynos5.c 	writel(HSI2C_CMD_READ_DATA, i2c->regs + HSI2C_MANUAL_CMD);
regs              563 drivers/i2c/busses/i2c-exynos5.c 	writel(HSI2C_CMD_SEND_STOP, i2c->regs + HSI2C_MANUAL_CMD);
regs              566 drivers/i2c/busses/i2c-exynos5.c 	val = readl(i2c->regs + HSI2C_CTL) & ~HSI2C_RXCHON;
regs              567 drivers/i2c/busses/i2c-exynos5.c 	writel(val, i2c->regs + HSI2C_CTL);
regs              568 drivers/i2c/busses/i2c-exynos5.c 	val = readl(i2c->regs + HSI2C_CONF) | HSI2C_AUTO_MODE;
regs              569 drivers/i2c/busses/i2c-exynos5.c 	writel(val, i2c->regs + HSI2C_CONF);
regs              586 drivers/i2c/busses/i2c-exynos5.c 		u32 st = readl(i2c->regs + HSI2C_TRANS_STATUS);
regs              622 drivers/i2c/busses/i2c-exynos5.c 	i2c_ctl = readl(i2c->regs + HSI2C_CTL);
regs              647 drivers/i2c/busses/i2c-exynos5.c 	writel(HSI2C_SLV_ADDR_MAS(i2c->msg->addr), i2c->regs + HSI2C_ADDR);
regs              649 drivers/i2c/busses/i2c-exynos5.c 	writel(fifo_ctl, i2c->regs + HSI2C_FIFO_CTL);
regs              650 drivers/i2c/busses/i2c-exynos5.c 	writel(i2c_ctl, i2c->regs + HSI2C_CTL);
regs              659 drivers/i2c/busses/i2c-exynos5.c 	writel(int_en, i2c->regs + HSI2C_INT_ENABLE);
regs              665 drivers/i2c/busses/i2c-exynos5.c 	writel(i2c_auto_conf, i2c->regs + HSI2C_AUTO_CONF);
regs              770 drivers/i2c/busses/i2c-exynos5.c 	i2c->regs = devm_ioremap_resource(&pdev->dev, mem);
regs              771 drivers/i2c/busses/i2c-exynos5.c 	if (IS_ERR(i2c->regs)) {
regs              772 drivers/i2c/busses/i2c-exynos5.c 		ret = PTR_ERR(i2c->regs);
regs               88 drivers/i2c/busses/i2c-hix5hd2.c 	void __iomem *regs;
regs               99 drivers/i2c/busses/i2c-hix5hd2.c 	u32 val = readl_relaxed(priv->regs + HIX5I2C_SR);
regs              101 drivers/i2c/busses/i2c-hix5hd2.c 	writel_relaxed(val, priv->regs + HIX5I2C_ICR);
regs              108 drivers/i2c/busses/i2c-hix5hd2.c 	writel_relaxed(I2C_CLEAR_ALL, priv->regs + HIX5I2C_ICR);
regs              113 drivers/i2c/busses/i2c-hix5hd2.c 	writel_relaxed(0, priv->regs + HIX5I2C_CTRL);
regs              119 drivers/i2c/busses/i2c-hix5hd2.c 		       priv->regs + HIX5I2C_CTRL);
regs              128 drivers/i2c/busses/i2c-hix5hd2.c 	val = readl_relaxed(priv->regs + HIX5I2C_CTRL);
regs              129 drivers/i2c/busses/i2c-hix5hd2.c 	writel_relaxed(val & (~I2C_UNMASK_TOTAL), priv->regs + HIX5I2C_CTRL);
regs              134 drivers/i2c/busses/i2c-hix5hd2.c 	writel_relaxed(scl, priv->regs + HIX5I2C_SCL_H);
regs              135 drivers/i2c/busses/i2c-hix5hd2.c 	writel_relaxed(scl, priv->regs + HIX5I2C_SCL_L);
regs              138 drivers/i2c/busses/i2c-hix5hd2.c 	writel_relaxed(val, priv->regs + HIX5I2C_CTRL);
regs              193 drivers/i2c/busses/i2c-hix5hd2.c 		writel_relaxed(I2C_STOP, priv->regs + HIX5I2C_COM);
regs              203 drivers/i2c/busses/i2c-hix5hd2.c 		writel_relaxed(I2C_READ | I2C_NO_ACK, priv->regs + HIX5I2C_COM);
regs              206 drivers/i2c/busses/i2c-hix5hd2.c 		writel_relaxed(I2C_READ, priv->regs + HIX5I2C_COM);
regs              218 drivers/i2c/busses/i2c-hix5hd2.c 		writel_relaxed(data, priv->regs + HIX5I2C_TXR);
regs              219 drivers/i2c/busses/i2c-hix5hd2.c 		writel_relaxed(I2C_WRITE, priv->regs + HIX5I2C_COM);
regs              233 drivers/i2c/busses/i2c-hix5hd2.c 			data = readl_relaxed(priv->regs + HIX5I2C_RXR);
regs              310 drivers/i2c/busses/i2c-hix5hd2.c 		       priv->regs + HIX5I2C_TXR);
regs              312 drivers/i2c/busses/i2c-hix5hd2.c 	writel_relaxed(I2C_WRITE | I2C_START, priv->regs + HIX5I2C_COM);
regs              415 drivers/i2c/busses/i2c-hix5hd2.c 	priv->regs = devm_ioremap_resource(&pdev->dev, mem);
regs              416 drivers/i2c/busses/i2c-hix5hd2.c 	if (IS_ERR(priv->regs))
regs              417 drivers/i2c/busses/i2c-hix5hd2.c 		return PTR_ERR(priv->regs);
regs               84 drivers/i2c/busses/i2c-meson.c 	void __iomem		*regs;
regs              107 drivers/i2c/busses/i2c-meson.c 	data = readl(i2c->regs + reg);
regs              110 drivers/i2c/busses/i2c-meson.c 	writel(data, i2c->regs + reg);
regs              158 drivers/i2c/busses/i2c-meson.c 	rdata0 = readl(i2c->regs + REG_TOK_RDATA0);
regs              159 drivers/i2c/busses/i2c-meson.c 	rdata1 = readl(i2c->regs + REG_TOK_RDATA1);
regs              182 drivers/i2c/busses/i2c-meson.c 	writel(wdata0, i2c->regs + REG_TOK_WDATA0);
regs              183 drivers/i2c/busses/i2c-meson.c 	writel(wdata1, i2c->regs + REG_TOK_WDATA1);
regs              212 drivers/i2c/busses/i2c-meson.c 	writel(i2c->tokens[0], i2c->regs + REG_TOK_LIST0);
regs              213 drivers/i2c/busses/i2c-meson.c 	writel(i2c->tokens[1], i2c->regs + REG_TOK_LIST1);
regs              225 drivers/i2c/busses/i2c-meson.c 	ctrl = readl(i2c->regs + REG_CTRL);
regs              276 drivers/i2c/busses/i2c-meson.c 	writel(msg->addr << 1, i2c->regs + REG_SLAVE_ADDR);
regs              393 drivers/i2c/busses/i2c-meson.c 	i2c->regs = devm_ioremap_resource(&pdev->dev, mem);
regs              394 drivers/i2c/busses/i2c-meson.c 	if (IS_ERR(i2c->regs))
regs              395 drivers/i2c/busses/i2c-meson.c 		return PTR_ERR(i2c->regs);
regs              186 drivers/i2c/busses/i2c-mt65xx.c 	const u16 *regs;
regs              242 drivers/i2c/busses/i2c-mt65xx.c 	.regs = mt_i2c_regs_v1,
regs              255 drivers/i2c/busses/i2c-mt65xx.c 	.regs = mt_i2c_regs_v1,
regs              268 drivers/i2c/busses/i2c-mt65xx.c 	.regs = mt_i2c_regs_v1,
regs              281 drivers/i2c/busses/i2c-mt65xx.c 	.regs = mt_i2c_regs_v1,
regs              293 drivers/i2c/busses/i2c-mt65xx.c 	.regs = mt_i2c_regs_v1,
regs              306 drivers/i2c/busses/i2c-mt65xx.c 	.regs = mt_i2c_regs_v2,
regs              330 drivers/i2c/busses/i2c-mt65xx.c 	return readw(i2c->base + i2c->dev_comp->regs[reg]);
regs              336 drivers/i2c/busses/i2c-mt65xx.c 	writew(val, i2c->base + i2c->dev_comp->regs[reg]);
regs              115 drivers/i2c/busses/i2c-mxs.c 	void __iomem *regs;
regs              134 drivers/i2c/busses/i2c-mxs.c 	int ret = stmp_reset_block(i2c->regs);
regs              145 drivers/i2c/busses/i2c-mxs.c 	writel(i2c->timing0, i2c->regs + MXS_I2C_TIMING0);
regs              146 drivers/i2c/busses/i2c-mxs.c 	writel(i2c->timing1, i2c->regs + MXS_I2C_TIMING1);
regs              147 drivers/i2c/busses/i2c-mxs.c 	writel(i2c->timing2, i2c->regs + MXS_I2C_TIMING2);
regs              149 drivers/i2c/busses/i2c-mxs.c 	writel(MXS_I2C_IRQ_MASK << 8, i2c->regs + MXS_I2C_CTRL1_SET);
regs              304 drivers/i2c/busses/i2c-mxs.c 	while (readl(i2c->regs + MXS_I2C_CTRL0) & MXS_I2C_CTRL0_RUN) {
regs              305 drivers/i2c/busses/i2c-mxs.c 		if (readl(i2c->regs + MXS_I2C_CTRL1) &
regs              320 drivers/i2c/busses/i2c-mxs.c 	state = readl(i2c->regs + MXS_I2C_CTRL1_CLR) & MXS_I2C_IRQ_MASK;
regs              337 drivers/i2c/busses/i2c-mxs.c 	writel(cmd, i2c->regs + MXS_I2C_CTRL0);
regs              340 drivers/i2c/busses/i2c-mxs.c 	reg = readl(i2c->regs + MXS_I2C_CTRL0);
regs              342 drivers/i2c/busses/i2c-mxs.c 	writel(reg, i2c->regs + MXS_I2C_CTRL0);
regs              356 drivers/i2c/busses/i2c-mxs.c 	writel(cmd, i2c->regs + MXS_I2C_CTRL0);
regs              359 drivers/i2c/busses/i2c-mxs.c 		writel(MXS_I2C_CTRL0_PIO_MODE, i2c->regs + MXS_I2C_CTRL0_SET);
regs              361 drivers/i2c/busses/i2c-mxs.c 	writel(data, i2c->regs + MXS_I2C_DATA(i2c));
regs              362 drivers/i2c/busses/i2c-mxs.c 	writel(MXS_I2C_CTRL0_RUN, i2c->regs + MXS_I2C_CTRL0_SET);
regs              375 drivers/i2c/busses/i2c-mxs.c 	writel(MXS_I2C_IRQ_MASK << 8, i2c->regs + MXS_I2C_CTRL1_CLR);
regs              432 drivers/i2c/busses/i2c-mxs.c 		data = readl(i2c->regs + MXS_I2C_DATA(i2c));
regs              510 drivers/i2c/busses/i2c-mxs.c 			       i2c->regs + MXS_I2C_DEBUG0_CLR(i2c));
regs              529 drivers/i2c/busses/i2c-mxs.c 			ret = readl(i2c->regs + MXS_I2C_STAT) &
regs              543 drivers/i2c/busses/i2c-mxs.c 	writel(MXS_I2C_IRQ_MASK, i2c->regs + MXS_I2C_CTRL1_CLR);
regs              544 drivers/i2c/busses/i2c-mxs.c 	writel(MXS_I2C_IRQ_MASK << 8, i2c->regs + MXS_I2C_CTRL1_SET);
regs              548 drivers/i2c/busses/i2c-mxs.c 		writel(MXS_I2C_CTRL0_PIO_MODE, i2c->regs + MXS_I2C_CTRL0_CLR);
regs              606 drivers/i2c/busses/i2c-mxs.c 		       i2c->regs + MXS_I2C_CTRL1_SET);
regs              660 drivers/i2c/busses/i2c-mxs.c 	u32 stat = readl(i2c->regs + MXS_I2C_CTRL1) & MXS_I2C_IRQ_MASK;
regs              673 drivers/i2c/busses/i2c-mxs.c 	writel(stat, i2c->regs + MXS_I2C_CTRL1_CLR);
regs              816 drivers/i2c/busses/i2c-mxs.c 	i2c->regs = devm_platform_ioremap_resource(pdev, 0);
regs              817 drivers/i2c/busses/i2c-mxs.c 	if (IS_ERR(i2c->regs))
regs              818 drivers/i2c/busses/i2c-mxs.c 		return PTR_ERR(i2c->regs);
regs              864 drivers/i2c/busses/i2c-mxs.c 				i2c->regs + MXS_I2C_CTRL0_SET);
regs              880 drivers/i2c/busses/i2c-mxs.c 	writel(MXS_I2C_CTRL0_SFTRST, i2c->regs + MXS_I2C_CTRL0_SET);
regs               52 drivers/i2c/busses/i2c-nvidia-gpu.c 	void __iomem *regs;
regs               63 drivers/i2c/busses/i2c-nvidia-gpu.c 	val = readl(i2cd->regs + I2C_MST_HYBRID_PADCTL);
regs               67 drivers/i2c/busses/i2c-nvidia-gpu.c 	writel(val, i2cd->regs + I2C_MST_HYBRID_PADCTL);
regs               74 drivers/i2c/busses/i2c-nvidia-gpu.c 	writel(val, i2cd->regs + I2C_MST_I2C0_TIMING);
regs               82 drivers/i2c/busses/i2c-nvidia-gpu.c 	ret = readl_poll_timeout(i2cd->regs + I2C_MST_CNTL, val,
regs               92 drivers/i2c/busses/i2c-nvidia-gpu.c 	val = readl(i2cd->regs + I2C_MST_CNTL);
regs              113 drivers/i2c/busses/i2c-nvidia-gpu.c 	writel(val, i2cd->regs + I2C_MST_CNTL);
regs              119 drivers/i2c/busses/i2c-nvidia-gpu.c 	val = readl(i2cd->regs + I2C_MST_DATA);
regs              142 drivers/i2c/busses/i2c-nvidia-gpu.c 	writel(I2C_MST_CNTL_GEN_START, i2cd->regs + I2C_MST_CNTL);
regs              148 drivers/i2c/busses/i2c-nvidia-gpu.c 	writel(I2C_MST_CNTL_GEN_STOP, i2cd->regs + I2C_MST_CNTL);
regs              156 drivers/i2c/busses/i2c-nvidia-gpu.c 	writel(data, i2cd->regs + I2C_MST_DATA);
regs              159 drivers/i2c/busses/i2c-nvidia-gpu.c 	writel(val, i2cd->regs + I2C_MST_CNTL);
regs              180 drivers/i2c/busses/i2c-nvidia-gpu.c 			writel(msgs[i].addr, i2cd->regs + I2C_MST_ADDR);
regs              306 drivers/i2c/busses/i2c-nvidia-gpu.c 	i2cd->regs = pcim_iomap(pdev, 0, 0);
regs              307 drivers/i2c/busses/i2c-nvidia-gpu.c 	if (!i2cd->regs) {
regs              193 drivers/i2c/busses/i2c-omap.c 	u8			*regs;
regs              269 drivers/i2c/busses/i2c-omap.c 			(omap->regs[reg] << omap->reg_shift));
regs              275 drivers/i2c/busses/i2c-omap.c 				(omap->regs[reg] << omap->reg_shift));
regs             1426 drivers/i2c/busses/i2c-omap.c 		omap->regs = (u8 *)reg_map_ip_v1;
regs             1434 drivers/i2c/busses/i2c-omap.c 		omap->regs = (u8 *)reg_map_ip_v2;
regs             1576 drivers/i2c/busses/i2c-omap.c 	if (!omap->regs)
regs              198 drivers/i2c/busses/i2c-rk3x.c 	void __iomem *regs;
regs              226 drivers/i2c/busses/i2c-rk3x.c 	writel(value, i2c->regs + offset);
regs              231 drivers/i2c/busses/i2c-rk3x.c 	return readl(i2c->regs + offset);
regs             1227 drivers/i2c/busses/i2c-rk3x.c 	i2c->regs = devm_ioremap_resource(&pdev->dev, mem);
regs             1228 drivers/i2c/busses/i2c-rk3x.c 	if (IS_ERR(i2c->regs))
regs             1229 drivers/i2c/busses/i2c-rk3x.c 		return PTR_ERR(i2c->regs);
regs              110 drivers/i2c/busses/i2c-s3c2410.c 	void __iomem		*regs;
regs              192 drivers/i2c/busses/i2c-s3c2410.c 	tmp = readl(i2c->regs + S3C2410_IICCON);
regs              193 drivers/i2c/busses/i2c-s3c2410.c 	writel(tmp & ~S3C2410_IICCON_ACKEN, i2c->regs + S3C2410_IICCON);
regs              200 drivers/i2c/busses/i2c-s3c2410.c 	tmp = readl(i2c->regs + S3C2410_IICCON);
regs              201 drivers/i2c/busses/i2c-s3c2410.c 	writel(tmp | S3C2410_IICCON_ACKEN, i2c->regs + S3C2410_IICCON);
regs              209 drivers/i2c/busses/i2c-s3c2410.c 	tmp = readl(i2c->regs + S3C2410_IICCON);
regs              210 drivers/i2c/busses/i2c-s3c2410.c 	writel(tmp & ~S3C2410_IICCON_IRQEN, i2c->regs + S3C2410_IICCON);
regs              217 drivers/i2c/busses/i2c-s3c2410.c 	tmp = readl(i2c->regs + S3C2410_IICCON);
regs              218 drivers/i2c/busses/i2c-s3c2410.c 	writel(tmp | S3C2410_IICCON_IRQEN, i2c->regs + S3C2410_IICCON);
regs              226 drivers/i2c/busses/i2c-s3c2410.c 		if (readl(i2c->regs + S3C2410_IICCON)
regs              228 drivers/i2c/busses/i2c-s3c2410.c 			if (!(readl(i2c->regs + S3C2410_IICSTAT)
regs              263 drivers/i2c/busses/i2c-s3c2410.c 	iiccon = readl(i2c->regs + S3C2410_IICCON);
regs              264 drivers/i2c/busses/i2c-s3c2410.c 	writel(stat, i2c->regs + S3C2410_IICSTAT);
regs              267 drivers/i2c/busses/i2c-s3c2410.c 	writeb(addr, i2c->regs + S3C2410_IICDS);
regs              276 drivers/i2c/busses/i2c-s3c2410.c 	writel(iiccon, i2c->regs + S3C2410_IICCON);
regs              279 drivers/i2c/busses/i2c-s3c2410.c 	writel(stat, i2c->regs + S3C2410_IICSTAT);
regs              284 drivers/i2c/busses/i2c-s3c2410.c 			stat = readl(i2c->regs + S3C2410_IICSTAT);
regs              294 drivers/i2c/busses/i2c-s3c2410.c 	unsigned long iicstat = readl(i2c->regs + S3C2410_IICSTAT);
regs              339 drivers/i2c/busses/i2c-s3c2410.c 	writel(iicstat, i2c->regs + S3C2410_IICSTAT);
regs              458 drivers/i2c/busses/i2c-s3c2410.c 			writeb(byte, i2c->regs + S3C2410_IICDS);
regs              509 drivers/i2c/busses/i2c-s3c2410.c 		byte = readb(i2c->regs + S3C2410_IICDS);
regs              548 drivers/i2c/busses/i2c-s3c2410.c 	tmp = readl(i2c->regs + S3C2410_IICCON);
regs              550 drivers/i2c/busses/i2c-s3c2410.c 	writel(tmp, i2c->regs + S3C2410_IICCON);
regs              564 drivers/i2c/busses/i2c-s3c2410.c 	status = readl(i2c->regs + S3C2410_IICSTAT);
regs              574 drivers/i2c/busses/i2c-s3c2410.c 		tmp = readl(i2c->regs + S3C2410_IICCON);
regs              576 drivers/i2c/busses/i2c-s3c2410.c 		writel(tmp, i2c->regs +  S3C2410_IICCON);
regs              604 drivers/i2c/busses/i2c-s3c2410.c 	tmp = readl(i2c->regs + S3C2410_IICSTAT);
regs              606 drivers/i2c/busses/i2c-s3c2410.c 	writel(tmp, i2c->regs + S3C2410_IICSTAT);
regs              609 drivers/i2c/busses/i2c-s3c2410.c 	tmp = readl(i2c->regs + S3C2410_IICCON);
regs              612 drivers/i2c/busses/i2c-s3c2410.c 	writel(tmp, i2c->regs + S3C2410_IICCON);
regs              625 drivers/i2c/busses/i2c-s3c2410.c 		iicstat = readl(i2c->regs + S3C2410_IICSTAT);
regs              661 drivers/i2c/busses/i2c-s3c2410.c 	iicstat = readl(i2c->regs + S3C2410_IICSTAT);
regs              664 drivers/i2c/busses/i2c-s3c2410.c 		iicstat = readl(i2c->regs + S3C2410_IICSTAT);
regs              681 drivers/i2c/busses/i2c-s3c2410.c 		iicstat = readl(i2c->regs + S3C2410_IICSTAT);
regs              857 drivers/i2c/busses/i2c-s3c2410.c 	iiccon = readl(i2c->regs + S3C2410_IICCON);
regs              867 drivers/i2c/busses/i2c-s3c2410.c 	writel(iiccon, i2c->regs + S3C2410_IICCON);
regs              883 drivers/i2c/busses/i2c-s3c2410.c 		writel(sda_delay, i2c->regs + S3C2440_IICLC);
regs              988 drivers/i2c/busses/i2c-s3c2410.c 	writeb(pdata->slave_addr, i2c->regs + S3C2410_IICADD);
regs              992 drivers/i2c/busses/i2c-s3c2410.c 	writel(0, i2c->regs + S3C2410_IICCON);
regs              993 drivers/i2c/busses/i2c-s3c2410.c 	writel(0, i2c->regs + S3C2410_IICSTAT);
regs             1006 drivers/i2c/busses/i2c-s3c2410.c 		readl(i2c->regs + S3C2410_IICCON));
regs             1101 drivers/i2c/busses/i2c-s3c2410.c 	i2c->regs = devm_ioremap_resource(&pdev->dev, res);
regs             1103 drivers/i2c/busses/i2c-s3c2410.c 	if (IS_ERR(i2c->regs))
regs             1104 drivers/i2c/busses/i2c-s3c2410.c 		return PTR_ERR(i2c->regs);
regs             1107 drivers/i2c/busses/i2c-s3c2410.c 		i2c->regs, res);
regs               88 drivers/i2c/busses/i2c-sun6i-p2wi.c 	void __iomem *regs;
regs               99 drivers/i2c/busses/i2c-sun6i-p2wi.c 	status = readl(p2wi->regs + P2WI_INTS);
regs              105 drivers/i2c/busses/i2c-sun6i-p2wi.c 	writel(status, p2wi->regs + P2WI_INTS);
regs              132 drivers/i2c/busses/i2c-sun6i-p2wi.c 	writel(command, p2wi->regs + P2WI_DADDR0);
regs              137 drivers/i2c/busses/i2c-sun6i-p2wi.c 		writel(data->byte, p2wi->regs + P2WI_DATA0);
regs              139 drivers/i2c/busses/i2c-sun6i-p2wi.c 	writel(dlen, p2wi->regs + P2WI_DLEN);
regs              141 drivers/i2c/busses/i2c-sun6i-p2wi.c 	if (readl(p2wi->regs + P2WI_CTRL) & P2WI_CTRL_START_TRANS) {
regs              149 drivers/i2c/busses/i2c-sun6i-p2wi.c 	       p2wi->regs + P2WI_INTE);
regs              152 drivers/i2c/busses/i2c-sun6i-p2wi.c 	       p2wi->regs + P2WI_CTRL);
regs              167 drivers/i2c/busses/i2c-sun6i-p2wi.c 		data->byte = readl(p2wi->regs + P2WI_DATA0);
regs              235 drivers/i2c/busses/i2c-sun6i-p2wi.c 	p2wi->regs = devm_ioremap_resource(dev, r);
regs              236 drivers/i2c/busses/i2c-sun6i-p2wi.c 	if (IS_ERR(p2wi->regs))
regs              237 drivers/i2c/busses/i2c-sun6i-p2wi.c 		return PTR_ERR(p2wi->regs);
regs              289 drivers/i2c/busses/i2c-sun6i-p2wi.c 	writel(P2WI_CTRL_SOFT_RST, p2wi->regs + P2WI_CTRL);
regs              305 drivers/i2c/busses/i2c-sun6i-p2wi.c 	       p2wi->regs + P2WI_CCR);
regs              238 drivers/i3c/master/dw-i3c-master.c 	void __iomem *regs;
regs              303 drivers/i3c/master/dw-i3c-master.c 	writel(readl(master->regs + DEVICE_CTRL) & ~DEV_CTRL_ENABLE,
regs              304 drivers/i3c/master/dw-i3c-master.c 	       master->regs + DEVICE_CTRL);
regs              309 drivers/i3c/master/dw-i3c-master.c 	writel(readl(master->regs + DEVICE_CTRL) | DEV_CTRL_ENABLE,
regs              310 drivers/i3c/master/dw-i3c-master.c 	       master->regs + DEVICE_CTRL);
regs              336 drivers/i3c/master/dw-i3c-master.c 	writesl(master->regs + RX_TX_DATA_PORT, bytes, nbytes / 4);
regs              341 drivers/i3c/master/dw-i3c-master.c 		writesl(master->regs + RX_TX_DATA_PORT, &tmp, 1);
regs              348 drivers/i3c/master/dw-i3c-master.c 	readsl(master->regs + RX_TX_DATA_PORT, bytes, nbytes / 4);
regs              352 drivers/i3c/master/dw-i3c-master.c 		readsl(master->regs + RX_TX_DATA_PORT, &tmp, 1);
regs              393 drivers/i3c/master/dw-i3c-master.c 	thld_ctrl = readl(master->regs + QUEUE_THLD_CTRL);
regs              396 drivers/i3c/master/dw-i3c-master.c 	writel(thld_ctrl, master->regs + QUEUE_THLD_CTRL);
regs              401 drivers/i3c/master/dw-i3c-master.c 		writel(cmd->cmd_hi, master->regs + COMMAND_QUEUE_PORT);
regs              402 drivers/i3c/master/dw-i3c-master.c 		writel(cmd->cmd_lo, master->regs + COMMAND_QUEUE_PORT);
regs              432 drivers/i3c/master/dw-i3c-master.c 		       master->regs + RESET_CTRL);
regs              434 drivers/i3c/master/dw-i3c-master.c 		readl_poll_timeout_atomic(master->regs + RESET_CTRL, status,
regs              460 drivers/i3c/master/dw-i3c-master.c 	nresp = readl(master->regs + QUEUE_STATUS_LEVEL);
regs              467 drivers/i3c/master/dw-i3c-master.c 		resp = readl(master->regs + RESPONSE_QUEUE_PORT);
regs              504 drivers/i3c/master/dw-i3c-master.c 		writel(readl(master->regs + DEVICE_CTRL) | DEV_CTRL_RESUME,
regs              505 drivers/i3c/master/dw-i3c-master.c 		       master->regs + DEVICE_CTRL);
regs              539 drivers/i3c/master/dw-i3c-master.c 	writel(scl_timing, master->regs + SCL_I3C_PP_TIMING);
regs              541 drivers/i3c/master/dw-i3c-master.c 	if (!(readl(master->regs + DEVICE_CTRL) & DEV_CTRL_I2C_SLAVE_PRESENT))
regs              542 drivers/i3c/master/dw-i3c-master.c 		writel(BUS_I3C_MST_FREE(lcnt), master->regs + BUS_FREE_TIMING);
regs              546 drivers/i3c/master/dw-i3c-master.c 	writel(scl_timing, master->regs + SCL_I3C_OD_TIMING);
regs              556 drivers/i3c/master/dw-i3c-master.c 	writel(scl_timing, master->regs + SCL_EXT_LCNT_TIMING);
regs              577 drivers/i3c/master/dw-i3c-master.c 	writel(scl_timing, master->regs + SCL_I2C_FMP_TIMING);
regs              583 drivers/i3c/master/dw-i3c-master.c 	writel(scl_timing, master->regs + SCL_I2C_FM_TIMING);
regs              585 drivers/i3c/master/dw-i3c-master.c 	writel(BUS_I3C_MST_FREE(lcnt), master->regs + BUS_FREE_TIMING);
regs              586 drivers/i3c/master/dw-i3c-master.c 	writel(readl(master->regs + DEVICE_CTRL) | DEV_CTRL_I2C_SLAVE_PRESENT,
regs              587 drivers/i3c/master/dw-i3c-master.c 	       master->regs + DEVICE_CTRL);
regs              616 drivers/i3c/master/dw-i3c-master.c 	thld_ctrl = readl(master->regs + QUEUE_THLD_CTRL);
regs              618 drivers/i3c/master/dw-i3c-master.c 	writel(thld_ctrl, master->regs + QUEUE_THLD_CTRL);
regs              620 drivers/i3c/master/dw-i3c-master.c 	thld_ctrl = readl(master->regs + DATA_BUFFER_THLD_CTRL);
regs              622 drivers/i3c/master/dw-i3c-master.c 	writel(thld_ctrl, master->regs + DATA_BUFFER_THLD_CTRL);
regs              624 drivers/i3c/master/dw-i3c-master.c 	writel(INTR_ALL, master->regs + INTR_STATUS);
regs              625 drivers/i3c/master/dw-i3c-master.c 	writel(INTR_MASTER_MASK, master->regs + INTR_STATUS_EN);
regs              626 drivers/i3c/master/dw-i3c-master.c 	writel(INTR_MASTER_MASK, master->regs + INTR_SIGNAL_EN);
regs              633 drivers/i3c/master/dw-i3c-master.c 	       master->regs + DEVICE_ADDR);
regs              642 drivers/i3c/master/dw-i3c-master.c 	writel(IBI_REQ_REJECT_ALL, master->regs + IBI_SIR_REQ_REJECT);
regs              643 drivers/i3c/master/dw-i3c-master.c 	writel(IBI_REQ_REJECT_ALL, master->regs + IBI_MR_REQ_REJECT);
regs              646 drivers/i3c/master/dw-i3c-master.c 	writel(readl(master->regs + DEVICE_CTRL) | DEV_CTRL_HOT_JOIN_NACK,
regs              647 drivers/i3c/master/dw-i3c-master.c 	       master->regs + DEVICE_CTRL);
regs              787 drivers/i3c/master/dw-i3c-master.c 		       master->regs +
regs              904 drivers/i3c/master/dw-i3c-master.c 	       master->regs +
regs              933 drivers/i3c/master/dw-i3c-master.c 	       master->regs +
regs              946 drivers/i3c/master/dw-i3c-master.c 	       master->regs +
regs             1042 drivers/i3c/master/dw-i3c-master.c 	       master->regs +
regs             1055 drivers/i3c/master/dw-i3c-master.c 	       master->regs +
regs             1069 drivers/i3c/master/dw-i3c-master.c 	status = readl(master->regs + INTR_STATUS);
regs             1071 drivers/i3c/master/dw-i3c-master.c 	if (!(status & readl(master->regs + INTR_STATUS_EN))) {
regs             1072 drivers/i3c/master/dw-i3c-master.c 		writel(INTR_ALL, master->regs + INTR_STATUS);
regs             1079 drivers/i3c/master/dw-i3c-master.c 		writel(INTR_TRANSFER_ERR_STAT, master->regs + INTR_STATUS);
regs             1111 drivers/i3c/master/dw-i3c-master.c 	master->regs = devm_ioremap_resource(&pdev->dev, res);
regs             1112 drivers/i3c/master/dw-i3c-master.c 	if (IS_ERR(master->regs))
regs             1113 drivers/i3c/master/dw-i3c-master.c 		return PTR_ERR(master->regs);
regs             1133 drivers/i3c/master/dw-i3c-master.c 	writel(INTR_ALL, master->regs + INTR_STATUS);
regs             1144 drivers/i3c/master/dw-i3c-master.c 	ret = readl(master->regs + QUEUE_STATUS_LEVEL);
regs             1147 drivers/i3c/master/dw-i3c-master.c 	ret = readl(master->regs + DATA_BUFFER_STATUS_LEVEL);
regs             1150 drivers/i3c/master/dw-i3c-master.c 	ret = readl(master->regs + DEVICE_ADDR_TABLE_POINTER);
regs              406 drivers/i3c/master/i3c-master-cdns.c 	void __iomem *regs;
regs              422 drivers/i3c/master/i3c-master-cdns.c 	writesl(master->regs + TX_FIFO, bytes, nbytes / 4);
regs              427 drivers/i3c/master/i3c-master-cdns.c 		writesl(master->regs + TX_FIFO, &tmp, 1);
regs              434 drivers/i3c/master/i3c-master-cdns.c 	readsl(master->regs + RX_FIFO, bytes, nbytes / 4);
regs              438 drivers/i3c/master/i3c-master-cdns.c 		readsl(master->regs + RX_FIFO, &tmp, 1);
regs              488 drivers/i3c/master/i3c-master-cdns.c 	writel(readl(master->regs + CTRL) & ~CTRL_DEV_EN, master->regs + CTRL);
regs              490 drivers/i3c/master/i3c-master-cdns.c 	return readl_poll_timeout(master->regs + MST_STATUS0, status,
regs              496 drivers/i3c/master/i3c-master-cdns.c 	writel(readl(master->regs + CTRL) | CTRL_DEV_EN, master->regs + CTRL);
regs              528 drivers/i3c/master/i3c-master-cdns.c 	writel(MST_INT_CMDD_EMP, master->regs + MST_ICR);
regs              540 drivers/i3c/master/i3c-master-cdns.c 		       master->regs + CMD1_FIFO);
regs              541 drivers/i3c/master/i3c-master-cdns.c 		writel(cmd->cmd0, master->regs + CMD0_FIFO);
regs              544 drivers/i3c/master/i3c-master-cdns.c 	writel(readl(master->regs + CTRL) | CTRL_MCS,
regs              545 drivers/i3c/master/i3c-master-cdns.c 	       master->regs + CTRL);
regs              546 drivers/i3c/master/i3c-master-cdns.c 	writel(MST_INT_CMDD_EMP, master->regs + MST_IER);
regs              562 drivers/i3c/master/i3c-master-cdns.c 	writel(MST_INT_CMDD_EMP, master->regs + MST_IDR);
regs              564 drivers/i3c/master/i3c-master-cdns.c 	for (status0 = readl(master->regs + MST_STATUS0);
regs              566 drivers/i3c/master/i3c-master-cdns.c 	     status0 = readl(master->regs + MST_STATUS0)) {
regs              570 drivers/i3c/master/i3c-master-cdns.c 		cmdr = readl(master->regs + CMDR);
regs              648 drivers/i3c/master/i3c-master-cdns.c 		writel(readl(master->regs + CTRL) & ~CTRL_DEV_EN,
regs              649 drivers/i3c/master/i3c-master-cdns.c 		       master->regs + CTRL);
regs              650 drivers/i3c/master/i3c-master-cdns.c 		readl_poll_timeout_atomic(master->regs + MST_STATUS0, status,
regs              656 drivers/i3c/master/i3c-master-cdns.c 		       master->regs + FLUSH_CTRL);
regs              657 drivers/i3c/master/i3c-master-cdns.c 		writel(MST_INT_CMDD_EMP, master->regs + MST_IDR);
regs              658 drivers/i3c/master/i3c-master-cdns.c 		writel(readl(master->regs + CTRL) | CTRL_DEV_EN,
regs              659 drivers/i3c/master/i3c-master-cdns.c 		       master->regs + CTRL);
regs              900 drivers/i3c/master/i3c-master-cdns.c 	writel(DEV_ID_RR0_IS_I3C | rr, master->regs + DEV_ID_RR0(data->id));
regs              917 drivers/i3c/master/i3c-master-cdns.c 	activedevs = readl(master->regs + DEVS_CTRL) & DEVS_CTRL_DEVS_ACTIVE_MASK;
regs              921 drivers/i3c/master/i3c-master-cdns.c 		rr = readl(master->regs + DEV_ID_RR0(i));
regs              964 drivers/i3c/master/i3c-master-cdns.c 		writel(readl(master->regs + DEVS_CTRL) |
regs              966 drivers/i3c/master/i3c-master-cdns.c 		       master->regs + DEVS_CTRL);
regs              978 drivers/i3c/master/i3c-master-cdns.c 	writel(readl(master->regs + DEVS_CTRL) |
regs              980 drivers/i3c/master/i3c-master-cdns.c 	       master->regs + DEVS_CTRL);
regs             1007 drivers/i3c/master/i3c-master-cdns.c 	       master->regs + DEV_ID_RR0(data->id));
regs             1008 drivers/i3c/master/i3c-master-cdns.c 	writel(dev->lvr, master->regs + DEV_ID_RR2(data->id));
regs             1009 drivers/i3c/master/i3c-master-cdns.c 	writel(readl(master->regs + DEVS_CTRL) |
regs             1011 drivers/i3c/master/i3c-master-cdns.c 	       master->regs + DEVS_CTRL);
regs             1022 drivers/i3c/master/i3c-master-cdns.c 	writel(readl(master->regs + DEVS_CTRL) |
regs             1024 drivers/i3c/master/i3c-master-cdns.c 	       master->regs + DEVS_CTRL);
regs             1045 drivers/i3c/master/i3c-master-cdns.c 	rr = readl(master->regs + DEV_ID_RR0(slot));
regs             1047 drivers/i3c/master/i3c-master-cdns.c 	rr = readl(master->regs + DEV_ID_RR2(slot));
regs             1051 drivers/i3c/master/i3c-master-cdns.c 	info->pid |= (u64)readl(master->regs + DEV_ID_RR1(slot)) << 16;
regs             1101 drivers/i3c/master/i3c-master-cdns.c 	prescl1 = readl(master->regs + PRESCL_CTRL1) &
regs             1103 drivers/i3c/master/i3c-master-cdns.c 	ctrl = readl(master->regs + CTRL);
regs             1118 drivers/i3c/master/i3c-master-cdns.c 	writel(prescl1, master->regs + PRESCL_CTRL1);
regs             1132 drivers/i3c/master/i3c-master-cdns.c 	olddevs = readl(master->regs + DEVS_CTRL) & DEVS_CTRL_DEVS_ACTIVE_MASK;
regs             1144 drivers/i3c/master/i3c-master-cdns.c 		       master->regs + DEV_ID_RR0(slot));
regs             1145 drivers/i3c/master/i3c-master-cdns.c 		writel(0, master->regs + DEV_ID_RR1(slot));
regs             1146 drivers/i3c/master/i3c-master-cdns.c 		writel(0, master->regs + DEV_ID_RR2(slot));
regs             1153 drivers/i3c/master/i3c-master-cdns.c 	newdevs = readl(master->regs + DEVS_CTRL) & DEVS_CTRL_DEVS_ACTIVE_MASK;
regs             1169 drivers/i3c/master/i3c-master-cdns.c 	writel(readl(master->regs + DEVS_CTRL) |
regs             1171 drivers/i3c/master/i3c-master-cdns.c 	       master->regs + DEVS_CTRL);
regs             1234 drivers/i3c/master/i3c-master-cdns.c 	writel(prescl0, master->regs + PRESCL_CTRL0);
regs             1242 drivers/i3c/master/i3c-master-cdns.c 	writel(prescl1, master->regs + PRESCL_CTRL1);
regs             1250 drivers/i3c/master/i3c-master-cdns.c 	       master->regs + DEV_ID_RR0(0));
regs             1267 drivers/i3c/master/i3c-master-cdns.c 	writel(ctrl, master->regs + CTRL);
regs             1303 drivers/i3c/master/i3c-master-cdns.c 	readsl(master->regs + IBI_DATA_FIFO, buf, nbytes / 4);
regs             1305 drivers/i3c/master/i3c-master-cdns.c 		u32 tmp = __raw_readl(master->regs + IBI_DATA_FIFO);
regs             1324 drivers/i3c/master/i3c-master-cdns.c 			readl(master->regs + IBI_DATA_FIFO);
regs             1332 drivers/i3c/master/i3c-master-cdns.c 	writel(MST_INT_IBIR_THR, master->regs + MST_ICR);
regs             1334 drivers/i3c/master/i3c-master-cdns.c 	for (status0 = readl(master->regs + MST_STATUS0);
regs             1336 drivers/i3c/master/i3c-master-cdns.c 	     status0 = readl(master->regs + MST_STATUS0)) {
regs             1337 drivers/i3c/master/i3c-master-cdns.c 		u32 ibir = readl(master->regs + IBIR);
regs             1362 drivers/i3c/master/i3c-master-cdns.c 	status = readl(master->regs + MST_ISR);
regs             1363 drivers/i3c/master/i3c-master-cdns.c 	if (!(status & readl(master->regs + MST_IMR)))
regs             1391 drivers/i3c/master/i3c-master-cdns.c 	sirmap = readl(master->regs + SIR_MAP_DEV_REG(data->ibi));
regs             1395 drivers/i3c/master/i3c-master-cdns.c 	writel(sirmap, master->regs + SIR_MAP_DEV_REG(data->ibi));
regs             1411 drivers/i3c/master/i3c-master-cdns.c 	sirmap = readl(master->regs + SIR_MAP_DEV_REG(data->ibi));
regs             1422 drivers/i3c/master/i3c-master-cdns.c 	writel(sirmap, master->regs + SIR_MAP_DEV_REG(data->ibi));
regs             1429 drivers/i3c/master/i3c-master-cdns.c 		sirmap = readl(master->regs + SIR_MAP_DEV_REG(data->ibi));
regs             1433 drivers/i3c/master/i3c-master-cdns.c 		writel(sirmap, master->regs + SIR_MAP_DEV_REG(data->ibi));
regs             1536 drivers/i3c/master/i3c-master-cdns.c 	master->regs = devm_ioremap_resource(&pdev->dev, res);
regs             1537 drivers/i3c/master/i3c-master-cdns.c 	if (IS_ERR(master->regs))
regs             1538 drivers/i3c/master/i3c-master-cdns.c 		return PTR_ERR(master->regs);
regs             1560 drivers/i3c/master/i3c-master-cdns.c 	if (readl(master->regs + DEV_ID) != DEV_ID_I3C_MASTER) {
regs             1569 drivers/i3c/master/i3c-master-cdns.c 	writel(0xffffffff, master->regs + MST_IDR);
regs             1570 drivers/i3c/master/i3c-master-cdns.c 	writel(0xffffffff, master->regs + SLV_IDR);
regs             1578 drivers/i3c/master/i3c-master-cdns.c 	val = readl(master->regs + CONF_STATUS0);
regs             1584 drivers/i3c/master/i3c-master-cdns.c 	val = readl(master->regs + CONF_STATUS1);
regs             1599 drivers/i3c/master/i3c-master-cdns.c 	writel(IBIR_THR(1), master->regs + CMD_IBI_THR_CTRL);
regs             1600 drivers/i3c/master/i3c-master-cdns.c 	writel(MST_INT_IBIR_THR, master->regs + MST_IER);
regs             1601 drivers/i3c/master/i3c-master-cdns.c 	writel(DEVS_CTRL_DEV_CLR_ALL, master->regs + DEVS_CTRL);
regs              227 drivers/ide/sc1200.c 	u32 regs[8];
regs              247 drivers/ide/sc1200.c 			pci_read_config_dword(dev, 0x40 + r * 4, &ss->regs[r]);
regs              271 drivers/ide/sc1200.c 		pci_write_config_dword(dev, 0x40 + r * 4, ss->regs[r]);
regs               76 drivers/iio/accel/kxsd9.c 	struct regulator_bulk_data regs[2];
regs              324 drivers/iio/accel/kxsd9.c 	ret = regulator_bulk_enable(ARRAY_SIZE(st->regs), st->regs);
regs              377 drivers/iio/accel/kxsd9.c 	ret = regulator_bulk_disable(ARRAY_SIZE(st->regs), st->regs);
regs              425 drivers/iio/accel/kxsd9.c 	st->regs[0].supply = kxsd9_reg_vdd;
regs              426 drivers/iio/accel/kxsd9.c 	st->regs[1].supply = kxsd9_reg_iovdd;
regs              428 drivers/iio/accel/kxsd9.c 				      ARRAY_SIZE(st->regs),
regs              429 drivers/iio/accel/kxsd9.c 				      st->regs);
regs              124 drivers/iio/adc/exynos_adc.c 	void __iomem		*regs;
regs              228 drivers/iio/adc/exynos_adc.c 	writel(con1, ADC_V1_CON(info->regs));
regs              231 drivers/iio/adc/exynos_adc.c 	writel(info->delay, ADC_V1_DLY(info->regs));
regs              241 drivers/iio/adc/exynos_adc.c 	con = readl(ADC_V1_CON(info->regs));
regs              243 drivers/iio/adc/exynos_adc.c 	writel(con, ADC_V1_CON(info->regs));
regs              248 drivers/iio/adc/exynos_adc.c 	writel(1, ADC_V1_INTCLR(info->regs));
regs              256 drivers/iio/adc/exynos_adc.c 	writel(addr, ADC_V1_MUX(info->regs));
regs              258 drivers/iio/adc/exynos_adc.c 	con1 = readl(ADC_V1_CON(info->regs));
regs              259 drivers/iio/adc/exynos_adc.c 	writel(con1 | ADC_CON_EN_START, ADC_V1_CON(info->regs));
regs              303 drivers/iio/adc/exynos_adc.c 	con1 = readl(ADC_V1_CON(info->regs));
regs              305 drivers/iio/adc/exynos_adc.c 	writel(con1, ADC_V1_CON(info->regs));
regs              308 drivers/iio/adc/exynos_adc.c 	writel(addr, ADC_S3C2410_MUX(info->regs));
regs              310 drivers/iio/adc/exynos_adc.c 	con1 = readl(ADC_V1_CON(info->regs));
regs              311 drivers/iio/adc/exynos_adc.c 	writel(con1 | ADC_CON_EN_START, ADC_V1_CON(info->regs));
regs              329 drivers/iio/adc/exynos_adc.c 	writel(addr, ADC_S3C2410_MUX(info->regs));
regs              331 drivers/iio/adc/exynos_adc.c 	con1 = readl(ADC_V1_CON(info->regs));
regs              332 drivers/iio/adc/exynos_adc.c 	writel(con1 | ADC_CON_EN_START, ADC_V1_CON(info->regs));
regs              349 drivers/iio/adc/exynos_adc.c 	con1 = readl(ADC_V1_CON(info->regs));
regs              352 drivers/iio/adc/exynos_adc.c 	writel(con1 | ADC_CON_EN_START, ADC_V1_CON(info->regs));
regs              382 drivers/iio/adc/exynos_adc.c 	writel(con1, ADC_V2_CON1(info->regs));
regs              386 drivers/iio/adc/exynos_adc.c 	writel(con2, ADC_V2_CON2(info->regs));
regs              389 drivers/iio/adc/exynos_adc.c 	writel(1, ADC_V2_INT_EN(info->regs));
regs              399 drivers/iio/adc/exynos_adc.c 	con = readl(ADC_V2_CON1(info->regs));
regs              401 drivers/iio/adc/exynos_adc.c 	writel(con, ADC_V2_CON1(info->regs));
regs              406 drivers/iio/adc/exynos_adc.c 	writel(1, ADC_V2_INT_ST(info->regs));
regs              414 drivers/iio/adc/exynos_adc.c 	con2 = readl(ADC_V2_CON2(info->regs));
regs              417 drivers/iio/adc/exynos_adc.c 	writel(con2, ADC_V2_CON2(info->regs));
regs              419 drivers/iio/adc/exynos_adc.c 	con1 = readl(ADC_V2_CON1(info->regs));
regs              420 drivers/iio/adc/exynos_adc.c 	writel(con1 | ADC_CON_EN_START, ADC_V2_CON1(info->regs));
regs              456 drivers/iio/adc/exynos_adc.c 	writel(con1, ADC_V2_CON1(info->regs));
regs              458 drivers/iio/adc/exynos_adc.c 	con2 = readl(ADC_V2_CON2(info->regs));
regs              461 drivers/iio/adc/exynos_adc.c 	writel(con2, ADC_V2_CON2(info->regs));
regs              464 drivers/iio/adc/exynos_adc.c 	writel(1, ADC_V2_INT_EN(info->regs));
regs              574 drivers/iio/adc/exynos_adc.c 	       ADC_V1_TSC(info->regs));
regs              605 drivers/iio/adc/exynos_adc.c 		info->ts_x = readl(ADC_V1_DATX(info->regs));
regs              606 drivers/iio/adc/exynos_adc.c 		info->ts_y = readl(ADC_V1_DATY(info->regs));
regs              607 drivers/iio/adc/exynos_adc.c 		writel(ADC_TSC_WAIT4INT | ADC_S3C2443_TSC_UD_SEN, ADC_V1_TSC(info->regs));
regs              609 drivers/iio/adc/exynos_adc.c 		info->value = readl(ADC_V1_DATX(info->regs)) & mask;
regs              656 drivers/iio/adc/exynos_adc.c 	writel(0, ADC_V1_CLRINTPNDNUP(info->regs));
regs              670 drivers/iio/adc/exynos_adc.c 	*readval = readl(info->regs + reg);
regs              792 drivers/iio/adc/exynos_adc.c 	info->regs = devm_ioremap_resource(&pdev->dev, mem);
regs              793 drivers/iio/adc/exynos_adc.c 	if (IS_ERR(info->regs))
regs              794 drivers/iio/adc/exynos_adc.c 		return PTR_ERR(info->regs);
regs               37 drivers/iio/adc/fsl-imx25-gcq.c 	struct regmap *regs;
regs               77 drivers/iio/adc/fsl-imx25-gcq.c 	regmap_read(priv->regs, MX25_ADCQ_SR, &stats);
regs               80 drivers/iio/adc/fsl-imx25-gcq.c 		regmap_update_bits(priv->regs, MX25_ADCQ_MR,
regs               86 drivers/iio/adc/fsl-imx25-gcq.c 	regmap_update_bits(priv->regs, MX25_ADCQ_CR, MX25_ADCQ_CR_FQS, 0);
regs               89 drivers/iio/adc/fsl-imx25-gcq.c 	regmap_write(priv->regs, MX25_ADCQ_SR, MX25_ADCQ_SR_FRR |
regs              105 drivers/iio/adc/fsl-imx25-gcq.c 	regmap_write(priv->regs, MX25_ADCQ_ITEM_7_0,
regs              108 drivers/iio/adc/fsl-imx25-gcq.c 	regmap_update_bits(priv->regs, MX25_ADCQ_MR, MX25_ADCQ_MR_EOQ_IRQ, 0);
regs              111 drivers/iio/adc/fsl-imx25-gcq.c 	regmap_update_bits(priv->regs, MX25_ADCQ_CR, MX25_ADCQ_CR_FQS,
regs              124 drivers/iio/adc/fsl-imx25-gcq.c 	regmap_read(priv->regs, MX25_ADCQ_FIFO, &data);
regs              180 drivers/iio/adc/fsl-imx25-gcq.c 		regmap_write(priv->regs, MX25_ADCQ_CFG(i),
regs              267 drivers/iio/adc/fsl-imx25-gcq.c 		regmap_update_bits(priv->regs, MX25_ADCQ_CFG(reg),
regs              272 drivers/iio/adc/fsl-imx25-gcq.c 	regmap_update_bits(priv->regs, MX25_ADCQ_CR,
regs              276 drivers/iio/adc/fsl-imx25-gcq.c 	regmap_write(priv->regs, MX25_ADCQ_CR,
regs              313 drivers/iio/adc/fsl-imx25-gcq.c 	priv->regs = devm_regmap_init_mmio(dev, mem, &mx25_gcq_regconfig);
regs              314 drivers/iio/adc/fsl-imx25-gcq.c 	if (IS_ERR(priv->regs)) {
regs              316 drivers/iio/adc/fsl-imx25-gcq.c 		return PTR_ERR(priv->regs);
regs              108 drivers/iio/adc/imx7d_adc.c 	void __iomem *regs;
regs              197 drivers/iio/adc/imx7d_adc.c 			readl(info->regs + i * IMX7D_EACH_CHANNEL_REG_OFFSET);
regs              200 drivers/iio/adc/imx7d_adc.c 		       info->regs + i * IMX7D_EACH_CHANNEL_REG_OFFSET);
regs              208 drivers/iio/adc/imx7d_adc.c 	writel(sample_rate, info->regs + IMX7D_REG_ADC_TIMER_UNIT);
regs              216 drivers/iio/adc/imx7d_adc.c 	cfg = readl(info->regs + IMX7D_REG_ADC_ADC_CFG);
regs              220 drivers/iio/adc/imx7d_adc.c 	writel(cfg, info->regs + IMX7D_REG_ADC_ADC_CFG);
regs              224 drivers/iio/adc/imx7d_adc.c 	       info->regs + IMX7D_REG_ADC_INT_SIG_EN);
regs              226 drivers/iio/adc/imx7d_adc.c 	       info->regs + IMX7D_REG_ADC_INT_EN);
regs              256 drivers/iio/adc/imx7d_adc.c 	cfg2 = readl(info->regs + IMX7D_EACH_CHANNEL_REG_OFFSET * channel +
regs              265 drivers/iio/adc/imx7d_adc.c 	writel(cfg2, info->regs + IMX7D_EACH_CHANNEL_REG_OFFSET * channel +
regs              267 drivers/iio/adc/imx7d_adc.c 	writel(cfg1, info->regs + IMX7D_EACH_CHANNEL_REG_OFFSET * channel);
regs              346 drivers/iio/adc/imx7d_adc.c 		value = readl(info->regs + IMX7D_REG_ADC_CHA_B_CNV_RSLT);
regs              348 drivers/iio/adc/imx7d_adc.c 		value = readl(info->regs + IMX7D_REG_ADC_CHC_D_CNV_RSLT);
regs              362 drivers/iio/adc/imx7d_adc.c 	status = readl(info->regs + IMX7D_REG_ADC_INT_STATUS);
regs              374 drivers/iio/adc/imx7d_adc.c 		writel(status, info->regs + IMX7D_REG_ADC_INT_STATUS);
regs              386 drivers/iio/adc/imx7d_adc.c 		writel(status, info->regs + IMX7D_REG_ADC_INT_STATUS);
regs              401 drivers/iio/adc/imx7d_adc.c 	*readval = readl(info->regs + reg);
regs              421 drivers/iio/adc/imx7d_adc.c 	adc_cfg = readl(info->regs + IMX7D_REG_ADC_ADC_CFG);
regs              425 drivers/iio/adc/imx7d_adc.c 	writel(adc_cfg, info->regs + IMX7D_REG_ADC_ADC_CFG);
regs              490 drivers/iio/adc/imx7d_adc.c 	info->regs = devm_platform_ioremap_resource(pdev, 0);
regs              491 drivers/iio/adc/imx7d_adc.c 	if (IS_ERR(info->regs))
regs              492 drivers/iio/adc/imx7d_adc.c 		return PTR_ERR(info->regs);
regs               22 drivers/iio/adc/npcm_adc.c 	void __iomem *regs;
regs               83 drivers/iio/adc/npcm_adc.c 	regtemp = ioread32(info->regs + NPCM_ADCCON);
regs               85 drivers/iio/adc/npcm_adc.c 		iowrite32(regtemp, info->regs + NPCM_ADCCON);
regs               99 drivers/iio/adc/npcm_adc.c 	regtemp = ioread32(info->regs + NPCM_ADCCON);
regs              103 drivers/iio/adc/npcm_adc.c 		  NPCM_ADCCON_ADC_CONV, info->regs + NPCM_ADCCON);
regs              108 drivers/iio/adc/npcm_adc.c 		regtemp = ioread32(info->regs + NPCM_ADCCON);
regs              120 drivers/iio/adc/npcm_adc.c 				  info->regs + NPCM_ADCCON);
regs              128 drivers/iio/adc/npcm_adc.c 	*val = NPCM_ADC_DATA_MASK(ioread32(info->regs + NPCM_ADCDATA));
regs              200 drivers/iio/adc/npcm_adc.c 	info->regs = devm_ioremap_resource(&pdev->dev, res);
regs              201 drivers/iio/adc/npcm_adc.c 	if (IS_ERR(info->regs))
regs              202 drivers/iio/adc/npcm_adc.c 		return PTR_ERR(info->regs);
regs              211 drivers/iio/adc/npcm_adc.c 	reg_con = ioread32(info->regs + NPCM_ADCCON);
regs              239 drivers/iio/adc/npcm_adc.c 	reg_con = ioread32(info->regs + NPCM_ADCCON);
regs              249 drivers/iio/adc/npcm_adc.c 			  info->regs + NPCM_ADCCON);
regs              262 drivers/iio/adc/npcm_adc.c 			  info->regs + NPCM_ADCCON);
regs              267 drivers/iio/adc/npcm_adc.c 	reg_con = ioread32(info->regs + NPCM_ADCCON);
regs              271 drivers/iio/adc/npcm_adc.c 	iowrite32(reg_con, info->regs + NPCM_ADCCON);
regs              274 drivers/iio/adc/npcm_adc.c 	iowrite32(reg_con | NPCM_ADCCON_ADC_CONV, info->regs + NPCM_ADCCON);
regs              295 drivers/iio/adc/npcm_adc.c 	iowrite32(reg_con & ~NPCM_ADCCON_ADC_EN, info->regs + NPCM_ADCCON);
regs              312 drivers/iio/adc/npcm_adc.c 	regtemp = ioread32(info->regs + NPCM_ADCCON);
regs              313 drivers/iio/adc/npcm_adc.c 	iowrite32(regtemp & ~NPCM_ADCCON_ADC_EN, info->regs + NPCM_ADCCON);
regs               66 drivers/iio/adc/rcar-gyroadc.c 	void __iomem			*regs;
regs               91 drivers/iio/adc/rcar-gyroadc.c 	writel(0, priv->regs + RCAR_GYROADC_START_STOP);
regs               95 drivers/iio/adc/rcar-gyroadc.c 		writel(0, priv->regs + RCAR_GYROADC_INTENR);
regs               98 drivers/iio/adc/rcar-gyroadc.c 	writel(priv->mode, priv->regs + RCAR_GYROADC_MODE_SELECT);
regs               99 drivers/iio/adc/rcar-gyroadc.c 	writel(clk_len, priv->regs + RCAR_GYROADC_CLOCK_LENGTH);
regs              100 drivers/iio/adc/rcar-gyroadc.c 	writel(clk_mhz * 1250, priv->regs + RCAR_GYROADC_1_25MS_LENGTH);
regs              107 drivers/iio/adc/rcar-gyroadc.c 	       priv->regs + RCAR_GYROADC_START_STOP);
regs              121 drivers/iio/adc/rcar-gyroadc.c 	writel(0, priv->regs + RCAR_GYROADC_START_STOP);
regs              217 drivers/iio/adc/rcar-gyroadc.c 		*val = readl(priv->regs + datareg);
regs              265 drivers/iio/adc/rcar-gyroadc.c 	*readval = readl(priv->regs + reg);
regs              495 drivers/iio/adc/rcar-gyroadc.c 	priv->regs = devm_ioremap_resource(dev, mem);
regs              496 drivers/iio/adc/rcar-gyroadc.c 	if (IS_ERR(priv->regs))
regs              497 drivers/iio/adc/rcar-gyroadc.c 		return PTR_ERR(priv->regs);
regs               44 drivers/iio/adc/rockchip_saradc.c 	void __iomem		*regs;
regs               68 drivers/iio/adc/rockchip_saradc.c 		writel_relaxed(8, info->regs + SARADC_DLY_PU_SOC);
regs               74 drivers/iio/adc/rockchip_saradc.c 		       info->regs + SARADC_CTRL);
regs               78 drivers/iio/adc/rockchip_saradc.c 			writel_relaxed(0, info->regs + SARADC_CTRL);
regs              106 drivers/iio/adc/rockchip_saradc.c 	info->last_val = readl_relaxed(info->regs + SARADC_DATA);
regs              110 drivers/iio/adc/rockchip_saradc.c 	writel_relaxed(0, info->regs + SARADC_CTRL);
regs              225 drivers/iio/adc/rockchip_saradc.c 	info->regs = devm_ioremap_resource(&pdev->dev, mem);
regs              226 drivers/iio/adc/rockchip_saradc.c 	if (IS_ERR(info->regs))
regs              227 drivers/iio/adc/rockchip_saradc.c 		return PTR_ERR(info->regs);
regs               71 drivers/iio/adc/stm32-adc-core.c 	const struct stm32_adc_common_regs *regs;
regs              308 drivers/iio/adc/stm32-adc-core.c 	ier = readl_relaxed(priv->common.base + offset + priv->cfg->regs->ier);
regs              310 drivers/iio/adc/stm32-adc-core.c 	return ier & priv->cfg->regs->eocie_msk;
regs              321 drivers/iio/adc/stm32-adc-core.c 	status = readl_relaxed(priv->common.base + priv->cfg->regs->csr);
regs              335 drivers/iio/adc/stm32-adc-core.c 	if (status & priv->cfg->regs->eoc1_msk &&
regs              339 drivers/iio/adc/stm32-adc-core.c 	if (status & priv->cfg->regs->eoc2_msk &&
regs              343 drivers/iio/adc/stm32-adc-core.c 	if (status & priv->cfg->regs->eoc3_msk &&
regs              539 drivers/iio/adc/stm32-adc-core.c 	writel_relaxed(priv->ccr_bak, priv->common.base + priv->cfg->regs->ccr);
regs              562 drivers/iio/adc/stm32-adc-core.c 	priv->ccr_bak = readl_relaxed(priv->common.base + priv->cfg->regs->ccr);
regs              794 drivers/iio/adc/stm32-adc-core.c 	.regs = &stm32f4_adc_common_regs,
regs              801 drivers/iio/adc/stm32-adc-core.c 	.regs = &stm32h7_adc_common_regs,
regs              809 drivers/iio/adc/stm32-adc-core.c 	.regs = &stm32h7_adc_common_regs,
regs              156 drivers/iio/adc/stm32-adc.c 	const struct stm32_adc_regspec	*regs;
regs              495 drivers/iio/adc/stm32-adc.c 	stm32_adc_set_bits(adc, adc->cfg->regs->ier_eoc.reg,
regs              496 drivers/iio/adc/stm32-adc.c 			   adc->cfg->regs->ier_eoc.mask);
regs              505 drivers/iio/adc/stm32-adc.c 	stm32_adc_clr_bits(adc, adc->cfg->regs->ier_eoc.reg,
regs              506 drivers/iio/adc/stm32-adc.c 			   adc->cfg->regs->ier_eoc.mask);
regs              511 drivers/iio/adc/stm32-adc.c 	const struct stm32_adc_regs *res = &adc->cfg->regs->res;
regs              955 drivers/iio/adc/stm32-adc.c 	const struct stm32_adc_regs *sqr = adc->cfg->regs->sqr;
regs              961 drivers/iio/adc/stm32-adc.c 	stm32_adc_writel(adc, adc->cfg->regs->smpr[0], adc->smpr_val[0]);
regs              962 drivers/iio/adc/stm32-adc.c 	stm32_adc_writel(adc, adc->cfg->regs->smpr[1], adc->smpr_val[1]);
regs             1051 drivers/iio/adc/stm32-adc.c 	val = stm32_adc_readl(adc, adc->cfg->regs->exten.reg);
regs             1052 drivers/iio/adc/stm32-adc.c 	val &= ~(adc->cfg->regs->exten.mask | adc->cfg->regs->extsel.mask);
regs             1053 drivers/iio/adc/stm32-adc.c 	val |= exten << adc->cfg->regs->exten.shift;
regs             1054 drivers/iio/adc/stm32-adc.c 	val |= extsel << adc->cfg->regs->extsel.shift;
regs             1055 drivers/iio/adc/stm32-adc.c 	stm32_adc_writel(adc,  adc->cfg->regs->exten.reg, val);
regs             1109 drivers/iio/adc/stm32-adc.c 	const struct stm32_adc_regspec *regs = adc->cfg->regs;
regs             1125 drivers/iio/adc/stm32-adc.c 	stm32_adc_writel(adc, regs->smpr[0], adc->smpr_val[0]);
regs             1126 drivers/iio/adc/stm32-adc.c 	stm32_adc_writel(adc, regs->smpr[1], adc->smpr_val[1]);
regs             1129 drivers/iio/adc/stm32-adc.c 	val = stm32_adc_readl(adc, regs->sqr[1].reg);
regs             1130 drivers/iio/adc/stm32-adc.c 	val &= ~regs->sqr[1].mask;
regs             1131 drivers/iio/adc/stm32-adc.c 	val |= chan->channel << regs->sqr[1].shift;
regs             1132 drivers/iio/adc/stm32-adc.c 	stm32_adc_writel(adc, regs->sqr[1].reg, val);
regs             1135 drivers/iio/adc/stm32-adc.c 	stm32_adc_clr_bits(adc, regs->sqr[0].reg, regs->sqr[0].mask);
regs             1138 drivers/iio/adc/stm32-adc.c 	stm32_adc_clr_bits(adc, regs->exten.reg, regs->exten.mask);
regs             1211 drivers/iio/adc/stm32-adc.c 	const struct stm32_adc_regspec *regs = adc->cfg->regs;
regs             1212 drivers/iio/adc/stm32-adc.c 	u32 status = stm32_adc_readl(adc, regs->isr_eoc.reg);
regs             1214 drivers/iio/adc/stm32-adc.c 	if (status & regs->isr_eoc.mask) {
regs             1216 drivers/iio/adc/stm32-adc.c 		adc->buffer[adc->bufi] = stm32_adc_readw(adc, regs->dr);
regs             1603 drivers/iio/adc/stm32-adc.c 	const struct stm32_adc_regs *smpr = &adc->cfg->regs->smp_bits[channel];
regs             1793 drivers/iio/adc/stm32-adc.c 	config.src_addr += adc->offset + adc->cfg->regs->dr;
regs             2009 drivers/iio/adc/stm32-adc.c 	.regs = &stm32f4_adc_regspec,
regs             2019 drivers/iio/adc/stm32-adc.c 	.regs = &stm32h7_adc_regspec,
regs             2030 drivers/iio/adc/stm32-adc.c 	.regs = &stm32h7_adc_regspec,
regs              157 drivers/iio/adc/vf610_adc.c 	void __iomem *regs;
regs              286 drivers/iio/adc/vf610_adc.c 	writel(cfg_data, info->regs + VF610_REG_ADC_CFG);
regs              287 drivers/iio/adc/vf610_adc.c 	writel(gc_data, info->regs + VF610_REG_ADC_GC);
regs              299 drivers/iio/adc/vf610_adc.c 	writel(hc_cfg, info->regs + VF610_REG_ADC_HC0);
regs              301 drivers/iio/adc/vf610_adc.c 	adc_gc = readl(info->regs + VF610_REG_ADC_GC);
regs              302 drivers/iio/adc/vf610_adc.c 	writel(adc_gc | VF610_ADC_CAL, info->regs + VF610_REG_ADC_GC);
regs              307 drivers/iio/adc/vf610_adc.c 	adc_gc = readl(info->regs + VF610_REG_ADC_GS);
regs              319 drivers/iio/adc/vf610_adc.c 	cfg_data = readl(info->regs + VF610_REG_ADC_CFG);
regs              329 drivers/iio/adc/vf610_adc.c 	writel(cfg_data, info->regs + VF610_REG_ADC_CFG);
regs              337 drivers/iio/adc/vf610_adc.c 	cfg_data = readl(info->regs + VF610_REG_ADC_CFG);
regs              338 drivers/iio/adc/vf610_adc.c 	gc_data = readl(info->regs + VF610_REG_ADC_GC);
regs              444 drivers/iio/adc/vf610_adc.c 	writel(cfg_data, info->regs + VF610_REG_ADC_CFG);
regs              445 drivers/iio/adc/vf610_adc.c 	writel(gc_data, info->regs + VF610_REG_ADC_GC);
regs              553 drivers/iio/adc/vf610_adc.c 	result = readl(info->regs + VF610_REG_ADC_R0);
regs              578 drivers/iio/adc/vf610_adc.c 	coco = readl(info->regs + VF610_REG_ADC_HS);
regs              644 drivers/iio/adc/vf610_adc.c 		writel(hc_cfg, info->regs + VF610_REG_ADC_HC0);
regs              734 drivers/iio/adc/vf610_adc.c 	val = readl(info->regs + VF610_REG_ADC_GC);
regs              736 drivers/iio/adc/vf610_adc.c 	writel(val, info->regs + VF610_REG_ADC_GC);
regs              744 drivers/iio/adc/vf610_adc.c 	writel(val, info->regs + VF610_REG_ADC_HC0);
regs              755 drivers/iio/adc/vf610_adc.c 	val = readl(info->regs + VF610_REG_ADC_GC);
regs              757 drivers/iio/adc/vf610_adc.c 	writel(val, info->regs + VF610_REG_ADC_GC);
regs              762 drivers/iio/adc/vf610_adc.c 	writel(hc_cfg, info->regs + VF610_REG_ADC_HC0);
regs              783 drivers/iio/adc/vf610_adc.c 	*readval = readl(info->regs + reg);
regs              819 drivers/iio/adc/vf610_adc.c 	info->regs = devm_ioremap_resource(&pdev->dev, mem);
regs              820 drivers/iio/adc/vf610_adc.c 	if (IS_ERR(info->regs))
regs              821 drivers/iio/adc/vf610_adc.c 		return PTR_ERR(info->regs);
regs              928 drivers/iio/adc/vf610_adc.c 	hc_cfg = readl(info->regs + VF610_REG_ADC_HC0);
regs              930 drivers/iio/adc/vf610_adc.c 	writel(hc_cfg, info->regs + VF610_REG_ADC_HC0);
regs               38 drivers/iio/dac/vf610_dac.c 	void __iomem *regs;
regs               48 drivers/iio/dac/vf610_dac.c 	writel(val, info->regs + VF610_DACx_STATCTRL);
regs               55 drivers/iio/dac/vf610_dac.c 	val = readl(info->regs + VF610_DACx_STATCTRL);
regs               57 drivers/iio/dac/vf610_dac.c 	writel(val, info->regs + VF610_DACx_STATCTRL);
regs               69 drivers/iio/dac/vf610_dac.c 	val = readl(info->regs + VF610_DACx_STATCTRL);
regs               74 drivers/iio/dac/vf610_dac.c 	writel(val, info->regs + VF610_DACx_STATCTRL);
regs              124 drivers/iio/dac/vf610_dac.c 		*val = VF610_DAC_DAT0(readl(info->regs));
regs              151 drivers/iio/dac/vf610_dac.c 		writel(VF610_DAC_DAT0(val), info->regs);
regs              189 drivers/iio/dac/vf610_dac.c 	info->regs = devm_ioremap_resource(&pdev->dev, mem);
regs              190 drivers/iio/dac/vf610_dac.c 	if (IS_ERR(info->regs))
regs              191 drivers/iio/dac/vf610_dac.c 		return PTR_ERR(info->regs);
regs               37 drivers/iio/dummy/iio_dummy_evgen.c 	struct iio_dummy_regs regs[IIO_EVENTGEN_NO];
regs              112 drivers/iio/dummy/iio_dummy_evgen.c 	return &iio_evgen->regs[irq - iio_evgen->base];
regs              140 drivers/iio/dummy/iio_dummy_evgen.c 	iio_evgen->regs[this_attr->address].reg_id   = this_attr->address;
regs              141 drivers/iio/dummy/iio_dummy_evgen.c 	iio_evgen->regs[this_attr->address].reg_data = event;
regs               38 drivers/iio/dummy/iio_simple_dummy.h 	struct iio_dummy_regs *regs;
regs              179 drivers/iio/dummy/iio_simple_dummy_events.c 		st->regs->reg_id, st->regs->reg_data);
regs              181 drivers/iio/dummy/iio_simple_dummy_events.c 	switch (st->regs->reg_data) {
regs              245 drivers/iio/dummy/iio_simple_dummy_events.c 	st->regs = iio_dummy_evgen_get_regs(st->event_irq);
regs               47 drivers/iio/frequency/adf4350.c 	unsigned long			regs[6];
regs               72 drivers/iio/frequency/adf4350.c 		if ((st->regs_hw[i] != st->regs[i]) ||
regs               81 drivers/iio/frequency/adf4350.c 			st->val  = cpu_to_be32(st->regs[i] | i);
regs               85 drivers/iio/frequency/adf4350.c 			st->regs_hw[i] = st->regs[i];
regs               87 drivers/iio/frequency/adf4350.c 				i, (u32)st->regs[i] | i);
regs              105 drivers/iio/frequency/adf4350.c 		st->regs[reg] = writeval & ~(BIT(0) | BIT(1) | BIT(2));
regs              201 drivers/iio/frequency/adf4350.c 	st->regs[ADF4350_REG0] = ADF4350_REG0_INT(st->r0_int) |
regs              204 drivers/iio/frequency/adf4350.c 	st->regs[ADF4350_REG1] = ADF4350_REG1_PHASE(1) |
regs              208 drivers/iio/frequency/adf4350.c 	st->regs[ADF4350_REG2] =
regs              218 drivers/iio/frequency/adf4350.c 	st->regs[ADF4350_REG3] = pdata->r3_user_settings &
regs              226 drivers/iio/frequency/adf4350.c 	st->regs[ADF4350_REG4] =
regs              238 drivers/iio/frequency/adf4350.c 	st->regs[ADF4350_REG5] = ADF4350_REG5_LD_PIN_MODE_DIGITAL;
regs              290 drivers/iio/frequency/adf4350.c 			st->regs[ADF4350_REG2] |= ADF4350_REG2_POWER_DOWN_EN;
regs              292 drivers/iio/frequency/adf4350.c 			st->regs[ADF4350_REG2] &= ~ADF4350_REG2_POWER_DOWN_EN;
regs              336 drivers/iio/frequency/adf4350.c 		val = !!(st->regs[ADF4350_REG2] & ADF4350_REG2_POWER_DOWN_EN);
regs              603 drivers/iio/frequency/adf4350.c 	st->regs[ADF4350_REG2] |= ADF4350_REG2_POWER_DOWN_EN;
regs              851 drivers/iio/gyro/mpu3050-core.c 	ret = regulator_bulk_enable(ARRAY_SIZE(mpu3050->regs), mpu3050->regs);
regs              890 drivers/iio/gyro/mpu3050-core.c 	ret = regulator_bulk_disable(ARRAY_SIZE(mpu3050->regs), mpu3050->regs);
regs             1159 drivers/iio/gyro/mpu3050-core.c 	mpu3050->regs[0].supply = mpu3050_reg_vdd;
regs             1160 drivers/iio/gyro/mpu3050-core.c 	mpu3050->regs[1].supply = mpu3050_reg_vlogic;
regs             1161 drivers/iio/gyro/mpu3050-core.c 	ret = devm_regulator_bulk_get(dev, ARRAY_SIZE(mpu3050->regs),
regs             1162 drivers/iio/gyro/mpu3050-core.c 				      mpu3050->regs);
regs               74 drivers/iio/gyro/mpu3050.h 	struct regulator_bulk_data regs[2];
regs              181 drivers/iio/magnetometer/ak8974.c 	struct regulator_bulk_data regs[2];
regs              742 drivers/iio/magnetometer/ak8974.c 	ak8974->regs[0].supply = ak8974_reg_avdd;
regs              743 drivers/iio/magnetometer/ak8974.c 	ak8974->regs[1].supply = ak8974_reg_dvdd;
regs              746 drivers/iio/magnetometer/ak8974.c 				      ARRAY_SIZE(ak8974->regs),
regs              747 drivers/iio/magnetometer/ak8974.c 				      ak8974->regs);
regs              753 drivers/iio/magnetometer/ak8974.c 	ret = regulator_bulk_enable(ARRAY_SIZE(ak8974->regs), ak8974->regs);
regs              858 drivers/iio/magnetometer/ak8974.c 	regulator_bulk_disable(ARRAY_SIZE(ak8974->regs), ak8974->regs);
regs              874 drivers/iio/magnetometer/ak8974.c 	regulator_bulk_disable(ARRAY_SIZE(ak8974->regs), ak8974->regs);
regs              885 drivers/iio/magnetometer/ak8974.c 	regulator_bulk_disable(ARRAY_SIZE(ak8974->regs), ak8974->regs);
regs              896 drivers/iio/magnetometer/ak8974.c 	ret = regulator_bulk_enable(ARRAY_SIZE(ak8974->regs), ak8974->regs);
regs              913 drivers/iio/magnetometer/ak8974.c 	regulator_bulk_disable(ARRAY_SIZE(ak8974->regs), ak8974->regs);
regs              404 drivers/iio/pressure/zpa2326.c 	struct regmap                  *regs = ((struct zpa2326_private *)
regs              410 drivers/iio/pressure/zpa2326.c 	err = regmap_write(regs, ZPA2326_CTRL_REG3_REG, freq->odr);
regs              416 drivers/iio/pressure/zpa2326.c 		err = regmap_write(regs, ZPA2326_CTRL_REG1_REG,
regs              446 drivers/iio/pressure/zpa2326.c 	struct regmap *regs = ((struct zpa2326_private *)
regs              456 drivers/iio/pressure/zpa2326.c 		err = regmap_read(regs, ZPA2326_STATUS_REG, &val);
regs              472 drivers/iio/pressure/zpa2326.c 		err = regmap_read(regs, ZPA2326_PRESS_OUT_H_REG, &val);
regs              485 drivers/iio/pressure/zpa2326.c 		err = regmap_read(regs, ZPA2326_STATUS_REG, &val);
regs              514 drivers/iio/pressure/zpa2326.c 	struct regmap *regs = ((struct zpa2326_private *)
regs              520 drivers/iio/pressure/zpa2326.c 	err = regmap_read(regs, ZPA2326_STATUS_REG, &val);
regs              533 drivers/iio/pressure/zpa2326.c 		err = regmap_bulk_read(regs, ZPA2326_PRESS_OUT_XL_REG, pressure,
regs              549 drivers/iio/pressure/zpa2326.c 		err = regmap_bulk_read(regs, ZPA2326_PRESS_OUT_XL_REG, pressure,
regs              554 drivers/iio/pressure/zpa2326.c 		err = regmap_read(regs, ZPA2326_STATUS_REG, &val);
regs              936 drivers/iio/pressure/zpa2326.c 	struct regmap *regs = ((struct zpa2326_private *)
regs              952 drivers/iio/pressure/zpa2326.c 		err = regmap_read(regs, ZPA2326_CTRL_REG0_REG, &val);
regs              974 drivers/iio/pressure/zpa2326.c 	err = regmap_read(regs, ZPA2326_STATUS_REG, &val);
regs             1005 drivers/iio/pressure/zpa2326.c 	struct regmap *regs = ((struct zpa2326_private *)
regs             1013 drivers/iio/pressure/zpa2326.c 		err = regmap_bulk_read(regs, ZPA2326_PRESS_OUT_XL_REG, value,
regs             1030 drivers/iio/pressure/zpa2326.c 		err = regmap_bulk_read(regs, ZPA2326_TEMP_OUT_L_REG, value, 2);
regs             8311 drivers/infiniband/hw/hfi1/chip.c 	u64 regs[CCE_NUM_INT_CSRS];
regs             8321 drivers/infiniband/hw/hfi1/chip.c 			regs[i] = 0;	/* used later */
regs             8324 drivers/infiniband/hw/hfi1/chip.c 		regs[i] = read_csr(dd, CCE_INT_STATUS + (8 * i)) &
regs             8327 drivers/infiniband/hw/hfi1/chip.c 		if (regs[i])
regs             8328 drivers/infiniband/hw/hfi1/chip.c 			write_csr(dd, CCE_INT_CLEAR + (8 * i), regs[i]);
regs             8332 drivers/infiniband/hw/hfi1/chip.c 	for_each_set_bit(bit, (unsigned long *)&regs[0],
regs              207 drivers/infiniband/hw/vmw_pvrdma/pvrdma.h 	void __iomem *regs;
regs              301 drivers/infiniband/hw/vmw_pvrdma/pvrdma.h 	writel(cpu_to_le32(val), dev->regs + reg);
regs              306 drivers/infiniband/hw/vmw_pvrdma/pvrdma.h 	return le32_to_cpu(readl(dev->regs + reg));
regs              863 drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c 	dev->regs = ioremap(start, len);
regs              864 drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c 	if (!dev->regs) {
regs             1077 drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c 	iounmap(dev->regs);
regs             1129 drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c 	iounmap(dev->regs);
regs               79 drivers/input/keyboard/mtk-pmic-keys.c 	const struct mtk_pmic_keys_regs *regs;
regs              153 drivers/input/keyboard/mtk-pmic-keys.c 	regmap_read(info->keys->regmap, info->regs->deb_reg, &key_deb);
regs              155 drivers/input/keyboard/mtk-pmic-keys.c 	key_deb &= info->regs->deb_mask;
regs              175 drivers/input/keyboard/mtk-pmic-keys.c 	ret = regmap_update_bits(keys->regmap, info->regs->intsel_reg,
regs              176 drivers/input/keyboard/mtk-pmic-keys.c 				 info->regs->intsel_mask,
regs              177 drivers/input/keyboard/mtk-pmic-keys.c 				 info->regs->intsel_mask);
regs              277 drivers/input/keyboard/mtk-pmic-keys.c 		keys->keys[index].regs = &mtk_pmic_regs->keys_regs[index];
regs              162 drivers/input/keyboard/qt2160.c 	u8 regs[6];
regs              172 drivers/input/keyboard/qt2160.c 	ret = qt2160_read_block(client, QT2160_CMD_GSTAT, regs, 6);
regs              180 drivers/input/keyboard/qt2160.c 	qt2160->key_matrix = new_matrix = (regs[2] << 8) | regs[1];
regs              200 drivers/input/keyboard/stmpe-keypad.c 	u8 pureg = stmpe->regs[STMPE_IDX_GPPUR_LSB];
regs               62 drivers/input/misc/pm8xxx-vibrator.c 	const struct pm8xxx_regs *regs;
regs               78 drivers/input/misc/pm8xxx-vibrator.c 	const struct pm8xxx_regs *regs = vib->regs;
regs               81 drivers/input/misc/pm8xxx-vibrator.c 		val |= (vib->level << regs->drv_shift) & regs->drv_mask;
regs               83 drivers/input/misc/pm8xxx-vibrator.c 		val &= ~regs->drv_mask;
regs               85 drivers/input/misc/pm8xxx-vibrator.c 	rc = regmap_write(vib->regmap, regs->drv_addr, val);
regs               91 drivers/input/misc/pm8xxx-vibrator.c 	if (regs->enable_mask)
regs               92 drivers/input/misc/pm8xxx-vibrator.c 		rc = regmap_update_bits(vib->regmap, regs->enable_addr,
regs               93 drivers/input/misc/pm8xxx-vibrator.c 					regs->enable_mask, on ? ~0 : 0);
regs              105 drivers/input/misc/pm8xxx-vibrator.c 	const struct pm8xxx_regs *regs = vib->regs;
regs              109 drivers/input/misc/pm8xxx-vibrator.c 	rc = regmap_read(vib->regmap, regs->drv_addr, &val);
regs              173 drivers/input/misc/pm8xxx-vibrator.c 	const struct pm8xxx_regs *regs;
regs              190 drivers/input/misc/pm8xxx-vibrator.c 	regs = of_device_get_match_data(&pdev->dev);
regs              193 drivers/input/misc/pm8xxx-vibrator.c 	error = regmap_read(vib->regmap, regs->drv_addr, &val);
regs              197 drivers/input/misc/pm8xxx-vibrator.c 	val &= regs->drv_en_manual_mask;
regs              198 drivers/input/misc/pm8xxx-vibrator.c 	error = regmap_write(vib->regmap, regs->drv_addr, val);
regs              202 drivers/input/misc/pm8xxx-vibrator.c 	vib->regs = regs;
regs               28 drivers/input/misc/sparcspkr.c 	void __iomem	*regs;
regs               90 drivers/input/misc/sparcspkr.c 		sbus_writeb(0x01,                 info->regs + 0);
regs               91 drivers/input/misc/sparcspkr.c 		sbus_writeb(0x00,                 info->regs + 2);
regs               92 drivers/input/misc/sparcspkr.c 		sbus_writeb((count >> 16) & 0xff, info->regs + 3);
regs               93 drivers/input/misc/sparcspkr.c 		sbus_writeb((count >>  8) & 0xff, info->regs + 4);
regs               94 drivers/input/misc/sparcspkr.c 		sbus_writeb(0x00,                 info->regs + 5);
regs               96 drivers/input/misc/sparcspkr.c 		sbus_writeb(0x00,                 info->regs + 0);
regs              211 drivers/input/misc/sparcspkr.c 	info->regs = of_ioremap(&op->resource[0], 0, 6, "bbc beep");
regs              212 drivers/input/misc/sparcspkr.c 	if (!info->regs)
regs              224 drivers/input/misc/sparcspkr.c 	of_iounmap(&op->resource[0], info->regs, 6);
regs              243 drivers/input/misc/sparcspkr.c 	of_iounmap(&op->resource[0], info->regs, 6);
regs               60 drivers/input/misc/wistron_btns.c static void call_bios(struct regs *regs)
regs               70 drivers/input/misc/wistron_btns.c 		      : "=a" (regs->eax), "=b" (regs->ebx), "=c" (regs->ecx)
regs               71 drivers/input/misc/wistron_btns.c 		      : "0" (regs->eax), "1" (regs->ebx), "2" (regs->ecx),
regs              149 drivers/input/misc/wistron_btns.c 	struct regs regs;
regs              151 drivers/input/misc/wistron_btns.c 	memset(&regs, 0, sizeof (regs));
regs              152 drivers/input/misc/wistron_btns.c 	regs.eax = 0x9610;
regs              153 drivers/input/misc/wistron_btns.c 	regs.ebx = 0x061C;
regs              154 drivers/input/misc/wistron_btns.c 	regs.ecx = 0x0000;
regs              155 drivers/input/misc/wistron_btns.c 	call_bios(&regs);
regs              157 drivers/input/misc/wistron_btns.c 	return regs.eax;
regs              162 drivers/input/misc/wistron_btns.c 	struct regs regs;
regs              164 drivers/input/misc/wistron_btns.c 	memset(&regs, 0, sizeof (regs));
regs              165 drivers/input/misc/wistron_btns.c 	regs.eax = 0x9610;
regs              166 drivers/input/misc/wistron_btns.c 	regs.ebx = 0x012E;
regs              167 drivers/input/misc/wistron_btns.c 	call_bios(&regs);
regs              172 drivers/input/misc/wistron_btns.c 	struct regs regs;
regs              174 drivers/input/misc/wistron_btns.c 	memset(&regs, 0, sizeof (regs));
regs              175 drivers/input/misc/wistron_btns.c 	regs.eax = 0x9610;
regs              176 drivers/input/misc/wistron_btns.c 	regs.ebx = 0x002E;
regs              177 drivers/input/misc/wistron_btns.c 	call_bios(&regs);
regs              182 drivers/input/misc/wistron_btns.c 	struct regs regs;
regs              184 drivers/input/misc/wistron_btns.c 	memset(&regs, 0, sizeof (regs));
regs              185 drivers/input/misc/wistron_btns.c 	regs.eax = 0x9610;
regs              186 drivers/input/misc/wistron_btns.c 	regs.ebx = 0x051C;
regs              187 drivers/input/misc/wistron_btns.c 	call_bios(&regs);
regs              189 drivers/input/misc/wistron_btns.c 	return regs.ecx;
regs              194 drivers/input/misc/wistron_btns.c 	struct regs regs;
regs              196 drivers/input/misc/wistron_btns.c 	memset(&regs, 0, sizeof (regs));
regs              197 drivers/input/misc/wistron_btns.c 	regs.eax = 0x9610;
regs              198 drivers/input/misc/wistron_btns.c 	regs.ebx = 0x0200 | subsys;
regs              199 drivers/input/misc/wistron_btns.c 	call_bios(&regs);
regs              201 drivers/input/misc/wistron_btns.c 	return regs.eax;
regs              206 drivers/input/misc/wistron_btns.c 	struct regs regs;
regs              208 drivers/input/misc/wistron_btns.c 	memset(&regs, 0, sizeof (regs));
regs              209 drivers/input/misc/wistron_btns.c 	regs.eax = 0x9610;
regs              210 drivers/input/misc/wistron_btns.c 	regs.ebx = (enable ? 0x0100 : 0x0000) | subsys;
regs              211 drivers/input/misc/wistron_btns.c 	call_bios(&regs);
regs               54 drivers/input/rmi4/rmi_f30.c 	u8 *regs;
regs              205 drivers/input/rmi4/rmi_f30.c 	ctrl->regs = *reg;
regs              219 drivers/input/rmi4/rmi_f30.c 	return !(ctrl[2].regs[byte_position] & BIT(bit_position)) &&
regs              220 drivers/input/rmi4/rmi_f30.c 		(ctrl[3].regs[byte_position] & BIT(bit_position));
regs               54 drivers/input/serio/apbps2.c 	struct apbps2_regs	*regs;
regs               65 drivers/input/serio/apbps2.c 	while ((status = ioread32be(&priv->regs->status)) & APBPS2_STATUS_DR) {
regs               66 drivers/input/serio/apbps2.c 		data = ioread32be(&priv->regs->data);
regs               72 drivers/input/serio/apbps2.c 			iowrite32be(0, &priv->regs->status);
regs               88 drivers/input/serio/apbps2.c 	while ((ioread32be(&priv->regs->status) & APBPS2_STATUS_TF) && tleft--)
regs               91 drivers/input/serio/apbps2.c 	if ((ioread32be(&priv->regs->status) & APBPS2_STATUS_TF) == 0) {
regs               92 drivers/input/serio/apbps2.c 		iowrite32be(val, &priv->regs->data);
regs               95 drivers/input/serio/apbps2.c 				&priv->regs->ctrl);
regs              109 drivers/input/serio/apbps2.c 	iowrite32be(0, &priv->regs->status);
regs              113 drivers/input/serio/apbps2.c 	while ((ioread32be(&priv->regs->status) & APBPS2_STATUS_DR) && --limit)
regs              114 drivers/input/serio/apbps2.c 		tmp = ioread32be(&priv->regs->data);
regs              117 drivers/input/serio/apbps2.c 	iowrite32be(APBPS2_CTRL_RE | APBPS2_CTRL_RI, &priv->regs->ctrl);
regs              127 drivers/input/serio/apbps2.c 	iowrite32be(0, &priv->regs->ctrl);
regs              146 drivers/input/serio/apbps2.c 	priv->regs = devm_ioremap_resource(&ofdev->dev, res);
regs              147 drivers/input/serio/apbps2.c 	if (IS_ERR(priv->regs))
regs              148 drivers/input/serio/apbps2.c 		return PTR_ERR(priv->regs);
regs              151 drivers/input/serio/apbps2.c 	iowrite32be(0, &priv->regs->ctrl);
regs              169 drivers/input/serio/apbps2.c 	iowrite32be(freq_hz / 10000, &priv->regs->reload);
regs              184 drivers/input/serio/apbps2.c 	dev_info(&ofdev->dev, "irq = %d, base = 0x%p\n", irq, priv->regs);
regs               27 drivers/input/touchscreen/fsl-imx25-tcq.c 	struct regmap *regs;
regs              106 drivers/input/touchscreen/fsl-imx25-tcq.c 	regmap_write(priv->regs, MX25_ADCQ_CFG(MX25_CFG_PRECHARGE),
regs              110 drivers/input/touchscreen/fsl-imx25-tcq.c 	regmap_write(priv->regs, MX25_ADCQ_CFG(MX25_CFG_TOUCH_DETECT),
regs              114 drivers/input/touchscreen/fsl-imx25-tcq.c 	regmap_write(priv->regs, MX25_ADCQ_CFG(MX25_CFG_X_MEASUREMENT),
regs              125 drivers/input/touchscreen/fsl-imx25-tcq.c 	regmap_write(priv->regs, MX25_ADCQ_CFG(MX25_CFG_Y_MEASUREMENT),
regs              147 drivers/input/touchscreen/fsl-imx25-tcq.c 	regmap_write(priv->regs, MX25_ADCQ_ITEM_7_0,
regs              167 drivers/input/touchscreen/fsl-imx25-tcq.c 	regmap_update_bits(priv->regs, MX25_ADCQ_CR, MX25_ADCQ_CR_PDMSK,
regs              173 drivers/input/touchscreen/fsl-imx25-tcq.c 	regmap_update_bits(priv->regs, MX25_ADCQ_CR, MX25_ADCQ_CR_PDMSK, 0);
regs              178 drivers/input/touchscreen/fsl-imx25-tcq.c 	regmap_update_bits(priv->regs, MX25_ADCQ_MR, MX25_ADCQ_MR_FDRY_IRQ,
regs              184 drivers/input/touchscreen/fsl-imx25-tcq.c 	regmap_update_bits(priv->regs, MX25_ADCQ_MR, MX25_ADCQ_MR_FDRY_IRQ, 0);
regs              189 drivers/input/touchscreen/fsl-imx25-tcq.c 	regmap_update_bits(priv->regs, MX25_ADCQ_CR,
regs              196 drivers/input/touchscreen/fsl-imx25-tcq.c 	regmap_update_bits(priv->regs, MX25_ADCQ_CR,
regs              204 drivers/input/touchscreen/fsl-imx25-tcq.c 	regmap_read(priv->regs, MX25_ADCQ_CR, &tcqcr);
regs              205 drivers/input/touchscreen/fsl-imx25-tcq.c 	regmap_update_bits(priv->regs, MX25_ADCQ_CR, MX25_ADCQ_CR_FRST,
regs              207 drivers/input/touchscreen/fsl-imx25-tcq.c 	regmap_update_bits(priv->regs, MX25_ADCQ_CR, MX25_ADCQ_CR_FRST, 0);
regs              208 drivers/input/touchscreen/fsl-imx25-tcq.c 	regmap_write(priv->regs, MX25_ADCQ_CR, tcqcr);
regs              226 drivers/input/touchscreen/fsl-imx25-tcq.c 	regmap_update_bits(priv->regs, MX25_ADCQ_SR, MX25_ADCQ_SR_PD,
regs              230 drivers/input/touchscreen/fsl-imx25-tcq.c 	regmap_update_bits(priv->regs, MX25_ADCQ_MR, MX25_ADCQ_MR_PD_IRQ, 0);
regs              321 drivers/input/touchscreen/fsl-imx25-tcq.c 	regmap_read(priv->regs, MX25_ADCQ_SR, &stats);
regs              329 drivers/input/touchscreen/fsl-imx25-tcq.c 		regmap_read(priv->regs, MX25_ADCQ_FIFO, &sample_buf[i]);
regs              342 drivers/input/touchscreen/fsl-imx25-tcq.c 	regmap_read(priv->regs, MX25_ADCQ_SR, &stat);
regs              358 drivers/input/touchscreen/fsl-imx25-tcq.c 	regmap_update_bits(priv->regs, MX25_ADCQ_SR, MX25_ADCQ_SR_FRR |
regs              386 drivers/input/touchscreen/fsl-imx25-tcq.c 	regmap_write(priv->regs, MX25_ADCQ_CR,
regs              388 drivers/input/touchscreen/fsl-imx25-tcq.c 	regmap_update_bits(priv->regs, MX25_ADCQ_CR,
regs              403 drivers/input/touchscreen/fsl-imx25-tcq.c 	regmap_update_bits(priv->regs, MX25_ADCQ_CR,
regs              420 drivers/input/touchscreen/fsl-imx25-tcq.c 	regmap_update_bits(priv->regs, MX25_ADCQ_CR, MX25_ADCQ_CR_QSM_MASK,
regs              424 drivers/input/touchscreen/fsl-imx25-tcq.c 	regmap_update_bits(priv->regs, MX25_ADCQ_CR,
regs              522 drivers/input/touchscreen/fsl-imx25-tcq.c 	priv->regs = devm_regmap_init_mmio(dev, mem, &mx25_tcq_regconfig);
regs              523 drivers/input/touchscreen/fsl-imx25-tcq.c 	if (IS_ERR(priv->regs)) {
regs              525 drivers/input/touchscreen/fsl-imx25-tcq.c 		return PTR_ERR(priv->regs);
regs              550 drivers/input/touchscreen/fsl-imx25-tcq.c 	priv->core_regs = tsadc->regs;
regs               64 drivers/input/touchscreen/raspberrypi-ts.c 	struct rpi_ts_regs regs;
regs               72 drivers/input/touchscreen/raspberrypi-ts.c 	memcpy_fromio(&regs, ts->fw_regs_va, sizeof(regs));
regs               82 drivers/input/touchscreen/raspberrypi-ts.c 	if (regs.num_points == RPI_TS_NPOINTS_REG_INVALIDATE ||
regs               83 drivers/input/touchscreen/raspberrypi-ts.c 	    (regs.num_points == 0 && ts->known_ids == 0))
regs               86 drivers/input/touchscreen/raspberrypi-ts.c 	for (i = 0; i < regs.num_points; i++) {
regs               87 drivers/input/touchscreen/raspberrypi-ts.c 		x = (((int)regs.point[i].xh & 0xf) << 8) + regs.point[i].xl;
regs               88 drivers/input/touchscreen/raspberrypi-ts.c 		y = (((int)regs.point[i].yh & 0xf) << 8) + regs.point[i].yl;
regs               89 drivers/input/touchscreen/raspberrypi-ts.c 		touchid = (regs.point[i].yh >> 4) & 0xf;
regs               90 drivers/input/touchscreen/raspberrypi-ts.c 		event_type = (regs.point[i].xh >> 6) & 0x03;
regs               30 drivers/iommu/intel-iommu-debugfs.c 	const char *regs;
regs              136 drivers/iommu/intel-iommu-debugfs.c 				   iommu_regs_32[i].regs, iommu_regs_32[i].offset,
regs              142 drivers/iommu/intel-iommu-debugfs.c 				   iommu_regs_64[i].regs, iommu_regs_64[i].offset,
regs              235 drivers/iommu/omap-iommu-debug.c DEBUG_FOPS_RO(regs);
regs               37 drivers/iommu/tegra-gart.c 	void __iomem		*regs;
regs               58 drivers/iommu/tegra-gart.c #define FLUSH_GART_REGS(gart)	readl_relaxed((gart)->regs + GART_CONFIG)
regs               68 drivers/iommu/tegra-gart.c 	writel_relaxed(iova, gart->regs + GART_ENTRY_ADDR);
regs               69 drivers/iommu/tegra-gart.c 	writel_relaxed(pte, gart->regs + GART_ENTRY_DATA);
regs               77 drivers/iommu/tegra-gart.c 	writel_relaxed(iova, gart->regs + GART_ENTRY_ADDR);
regs               78 drivers/iommu/tegra-gart.c 	pte = readl_relaxed(gart->regs + GART_ENTRY_DATA);
regs               90 drivers/iommu/tegra-gart.c 	writel_relaxed(1, gart->regs + GART_CONFIG);
regs              315 drivers/iommu/tegra-gart.c 	writel_relaxed(0, gart->regs + GART_CONFIG);
regs              353 drivers/iommu/tegra-gart.c 	gart->regs = mc->regs + GART_REG_BASE;
regs               27 drivers/iommu/tegra-smmu.c 	void __iomem *regs;
regs               68 drivers/iommu/tegra-smmu.c 	writel(value, smmu->regs + offset);
regs               73 drivers/iommu/tegra-smmu.c 	return readl(smmu->regs + offset);
regs             1027 drivers/iommu/tegra-smmu.c 	smmu->regs = mc->regs;
regs               38 drivers/ipack/devices/ipoctal.c 	union scc2698_channel __iomem	*regs;
regs               63 drivers/ipack/devices/ipoctal.c 	iowrite8(CR_DISABLE_RX | CR_DISABLE_TX, &channel->regs->w.cr);
regs               65 drivers/ipack/devices/ipoctal.c 	iowrite8(CR_CMD_RESET_RX, &channel->regs->w.cr);
regs               66 drivers/ipack/devices/ipoctal.c 	iowrite8(CR_CMD_RESET_TX, &channel->regs->w.cr);
regs               67 drivers/ipack/devices/ipoctal.c 	iowrite8(CR_CMD_RESET_ERR_STATUS, &channel->regs->w.cr);
regs               68 drivers/ipack/devices/ipoctal.c 	iowrite8(CR_CMD_RESET_MR, &channel->regs->w.cr);
regs               81 drivers/ipack/devices/ipoctal.c 	iowrite8(CR_ENABLE_RX, &channel->regs->w.cr);
regs              155 drivers/ipack/devices/ipoctal.c 		value = ioread8(&channel->regs->r.rhr);
regs              159 drivers/ipack/devices/ipoctal.c 			iowrite8(CR_CMD_RESET_ERR_STATUS, &channel->regs->w.cr);
regs              186 drivers/ipack/devices/ipoctal.c 		sr = ioread8(&channel->regs->r.sr);
regs              202 drivers/ipack/devices/ipoctal.c 	iowrite8(value, &channel->regs->w.thr);
regs              217 drivers/ipack/devices/ipoctal.c 	sr = ioread8(&channel->regs->r.sr);
regs              220 drivers/ipack/devices/ipoctal.c 		iowrite8(CR_CMD_RESET_BREAK_CHANGE, &channel->regs->w.cr);
regs              223 drivers/ipack/devices/ipoctal.c 		iowrite8(CR_DISABLE_TX, &channel->regs->w.cr);
regs              227 drivers/ipack/devices/ipoctal.c 			iowrite8(CR_CMD_NEGATE_RTSN, &channel->regs->w.cr);
regs              228 drivers/ipack/devices/ipoctal.c 			iowrite8(CR_ENABLE_RX, &channel->regs->w.cr);
regs              319 drivers/ipack/devices/ipoctal.c 		channel->regs = chan_regs + i;
regs              332 drivers/ipack/devices/ipoctal.c 			 &channel->regs->w.mr); /* mr1 */
regs              333 drivers/ipack/devices/ipoctal.c 		iowrite8(0, &channel->regs->w.mr); /* mr2 */
regs              334 drivers/ipack/devices/ipoctal.c 		iowrite8(TX_CLK_9600  | RX_CLK_9600, &channel->regs->w.csr);
regs              450 drivers/ipack/devices/ipoctal.c 		iowrite8(CR_DISABLE_RX, &channel->regs->w.cr);
regs              452 drivers/ipack/devices/ipoctal.c 		iowrite8(CR_CMD_ASSERT_RTSN, &channel->regs->w.cr);
regs              459 drivers/ipack/devices/ipoctal.c 	iowrite8(CR_ENABLE_TX, &channel->regs->w.cr);
regs              603 drivers/ipack/devices/ipoctal.c 	iowrite8(mr1, &channel->regs->w.mr);
regs              604 drivers/ipack/devices/ipoctal.c 	iowrite8(mr2, &channel->regs->w.mr);
regs              605 drivers/ipack/devices/ipoctal.c 	iowrite8(csr, &channel->regs->w.csr);
regs              609 drivers/ipack/devices/ipoctal.c 		iowrite8(CR_ENABLE_RX, &channel->regs->w.cr);
regs              167 drivers/irqchip/irq-al-fic.c 	gc->chip_types->regs.mask = AL_FIC_MASK;
regs              168 drivers/irqchip/irq-al-fic.c 	gc->chip_types->regs.ack = AL_FIC_CAUSE;
regs              473 drivers/irqchip/irq-armada-370-xp.c static void armada_370_xp_handle_msi_irq(struct pt_regs *regs, bool is_chained)
regs              498 drivers/irqchip/irq-armada-370-xp.c 					  irq, regs);
regs              540 drivers/irqchip/irq-armada-370-xp.c armada_370_xp_handle_irq(struct pt_regs *regs)
regs              554 drivers/irqchip/irq-armada-370-xp.c 					  irqnr, regs);
regs              560 drivers/irqchip/irq-armada-370-xp.c 			armada_370_xp_handle_msi_irq(regs, false);
regs              578 drivers/irqchip/irq-armada-370-xp.c 					handle_IPI(ipinr, regs);
regs               88 drivers/irqchip/irq-aspeed-vic.c static void __exception_irq_entry avic_handle_irq(struct pt_regs *regs)
regs              103 drivers/irqchip/irq-aspeed-vic.c 		handle_domain_irq(vic->dom, irq, regs);
regs              187 drivers/irqchip/irq-aspeed-vic.c 	void __iomem *regs;
regs              195 drivers/irqchip/irq-aspeed-vic.c 	regs = of_iomap(node, 0);
regs              196 drivers/irqchip/irq-aspeed-vic.c 	if (WARN_ON(!regs))
regs              201 drivers/irqchip/irq-aspeed-vic.c 		iounmap(regs);
regs              204 drivers/irqchip/irq-aspeed-vic.c 	vic->base = regs;
regs              181 drivers/irqchip/irq-ath79-misc.c void __init ath79_misc_irq_init(void __iomem *regs, int irq,
regs              192 drivers/irqchip/irq-ath79-misc.c 			irq_base, 0, &misc_irq_domain_ops, regs);
regs              106 drivers/irqchip/irq-ativic32.c asmlinkage void asm_do_IRQ(struct pt_regs *regs)
regs              109 drivers/irqchip/irq-ativic32.c 	handle_domain_irq(root_domain, hwirq, regs);
regs              143 drivers/irqchip/irq-atmel-aic-common.c 	void __iomem *regs;
regs              153 drivers/irqchip/irq-atmel-aic-common.c 	regs = of_iomap(np, 0);
regs              156 drivers/irqchip/irq-atmel-aic-common.c 	if (!regs)
regs              159 drivers/irqchip/irq-atmel-aic-common.c 	writel(AT91_RTC_IRQ_MASK, regs + AT91_RTC_IDR);
regs              161 drivers/irqchip/irq-atmel-aic-common.c 	iounmap(regs);
regs              171 drivers/irqchip/irq-atmel-aic-common.c 	void __iomem *regs;
regs              178 drivers/irqchip/irq-atmel-aic-common.c 		regs = of_iomap(np, 0);
regs              179 drivers/irqchip/irq-atmel-aic-common.c 		if (!regs)
regs              182 drivers/irqchip/irq-atmel-aic-common.c 		writel(readl(regs + AT91_RTT_MR) &
regs              184 drivers/irqchip/irq-atmel-aic-common.c 		       regs + AT91_RTT_MR);
regs              186 drivers/irqchip/irq-atmel-aic-common.c 		iounmap(regs);
regs               61 drivers/irqchip/irq-atmel-aic.c aic_handle(struct pt_regs *regs)
regs               74 drivers/irqchip/irq-atmel-aic.c 		handle_domain_irq(aic_domain, irqnr, regs);
regs              258 drivers/irqchip/irq-atmel-aic.c 	gc->chip_types[0].regs.eoi = AT91_AIC_EOICR;
regs              259 drivers/irqchip/irq-atmel-aic.c 	gc->chip_types[0].regs.enable = AT91_AIC_IECR;
regs              260 drivers/irqchip/irq-atmel-aic.c 	gc->chip_types[0].regs.disable = AT91_AIC_IDCR;
regs               71 drivers/irqchip/irq-atmel-aic5.c aic5_handle(struct pt_regs *regs)
regs               83 drivers/irqchip/irq-atmel-aic5.c 		handle_domain_irq(aic5_domain, irqnr, regs);
regs              345 drivers/irqchip/irq-atmel-aic5.c 		gc->chip_types[0].regs.eoi = AT91_AIC5_EOICR;
regs               88 drivers/irqchip/irq-bcm2835.c 	struct pt_regs *regs);
regs              229 drivers/irqchip/irq-bcm2835.c 	struct pt_regs *regs)
regs              234 drivers/irqchip/irq-bcm2835.c 		handle_domain_irq(intc.domain, hwirq, regs);
regs              124 drivers/irqchip/irq-bcm2836.c __exception_irq_entry bcm2836_arm_irqchip_handle_irq(struct pt_regs *regs)
regs              138 drivers/irqchip/irq-bcm2836.c 		handle_IPI(ipi, regs);
regs              143 drivers/irqchip/irq-bcm2836.c 		handle_domain_irq(intc.domain, hwirq, regs);
regs               94 drivers/irqchip/irq-bcm7120-l2.c 			       ct->regs.mask);
regs              104 drivers/irqchip/irq-bcm7120-l2.c 	irq_reg_writel(gc, gc->mask_cache, ct->regs.mask);
regs              289 drivers/irqchip/irq-bcm7120-l2.c 		ct->regs.mask = data->en_offset[idx];
regs              306 drivers/irqchip/irq-bcm7120-l2.c 		gc->mask_cache = irq_reg_readl(gc, ct->regs.mask);
regs               85 drivers/irqchip/irq-brcmstb-l2.c 	irq_reg_writel(gc, mask, ct->regs.disable);
regs               87 drivers/irqchip/irq-brcmstb-l2.c 	irq_reg_writel(gc, mask, ct->regs.ack);
regs              128 drivers/irqchip/irq-brcmstb-l2.c 	b->saved_mask = irq_reg_readl(gc, ct->regs.mask);
regs              132 drivers/irqchip/irq-brcmstb-l2.c 		irq_reg_writel(gc, ~gc->wake_active, ct->regs.disable);
regs              133 drivers/irqchip/irq-brcmstb-l2.c 		irq_reg_writel(gc, gc->wake_active, ct->regs.enable);
regs              149 drivers/irqchip/irq-brcmstb-l2.c 				ct->regs.ack);
regs              153 drivers/irqchip/irq-brcmstb-l2.c 	irq_reg_writel(gc, b->saved_mask, ct->regs.disable);
regs              154 drivers/irqchip/irq-brcmstb-l2.c 	irq_reg_writel(gc, ~b->saved_mask, ct->regs.enable);
regs              232 drivers/irqchip/irq-brcmstb-l2.c 		ct->regs.ack = init_params->cpu_clear;
regs              241 drivers/irqchip/irq-brcmstb-l2.c 	ct->regs.disable = init_params->cpu_mask_set;
regs              242 drivers/irqchip/irq-brcmstb-l2.c 	ct->regs.mask = init_params->cpu_mask_status;
regs              245 drivers/irqchip/irq-brcmstb-l2.c 	ct->regs.enable = init_params->cpu_mask_clear;
regs               72 drivers/irqchip/irq-clps711x.c static asmlinkage void __exception_irq_entry clps711x_irqh(struct pt_regs *regs)
regs               81 drivers/irqchip/irq-clps711x.c 					  fls(irqstat) - 1, regs);
regs               87 drivers/irqchip/irq-clps711x.c 					  fls(irqstat) - 1 + 16, regs);
regs               50 drivers/irqchip/irq-csky-apb-intc.c 	unsigned long ifr = ct->regs.mask - 8;
regs               55 drivers/irqchip/irq-csky-apb-intc.c 	irq_reg_writel(gc, *ct->mask_cache, ct->regs.mask);
regs               67 drivers/irqchip/irq-csky-apb-intc.c 	gc->chip_types[0].regs.mask = mask_reg;
regs              135 drivers/irqchip/irq-csky-apb-intc.c static inline bool handle_irq_perbit(struct pt_regs *regs, u32 hwirq,
regs              141 drivers/irqchip/irq-csky-apb-intc.c 	handle_domain_irq(root_domain, irq_base + __fls(hwirq), regs);
regs              147 drivers/irqchip/irq-csky-apb-intc.c static void gx_irq_handler(struct pt_regs *regs)
regs              152 drivers/irqchip/irq-csky-apb-intc.c 	ret = handle_irq_perbit(regs,
regs              157 drivers/irqchip/irq-csky-apb-intc.c 	ret = handle_irq_perbit(regs,
regs              199 drivers/irqchip/irq-csky-apb-intc.c static void ck_irq_handler(struct pt_regs *regs)
regs              207 drivers/irqchip/irq-csky-apb-intc.c 	ret = handle_irq_perbit(regs, readl(reg_pen_hi), 32);
regs              211 drivers/irqchip/irq-csky-apb-intc.c 	ret = handle_irq_perbit(regs, readl(reg_pen_lo), 0);
regs              219 drivers/irqchip/irq-csky-apb-intc.c 	ret = handle_irq_perbit(regs,
regs              224 drivers/irqchip/irq-csky-apb-intc.c 	ret = handle_irq_perbit(regs,
regs               73 drivers/irqchip/irq-csky-mpintc.c static void csky_mpintc_handler(struct pt_regs *regs)
regs               78 drivers/irqchip/irq-csky-mpintc.c 		readl_relaxed(reg_base + INTCL_RDYIR), regs);
regs               58 drivers/irqchip/irq-davinci-aintc.c 	ct->regs.ack = DAVINCI_AINTC_IRQ_REG0;
regs               59 drivers/irqchip/irq-davinci-aintc.c 	ct->regs.mask = DAVINCI_AINTC_IRQ_ENT_REG0;
regs               65 drivers/irqchip/irq-davinci-aintc.c davinci_aintc_handle_irq(struct pt_regs *regs)
regs               76 drivers/irqchip/irq-davinci-aintc.c 	handle_domain_irq(davinci_aintc_irq_domain, irqnr, regs);
regs              120 drivers/irqchip/irq-davinci-cp-intc.c davinci_cp_intc_handle_irq(struct pt_regs *regs)
regs              138 drivers/irqchip/irq-davinci-cp-intc.c 	handle_domain_irq(davinci_cp_intc_irq_domain, irqnr, regs);
regs               35 drivers/irqchip/irq-digicolor.c static void __exception_irq_entry digicolor_handle_irq(struct pt_regs *regs)
regs               53 drivers/irqchip/irq-digicolor.c 		handle_domain_irq(digicolor_irq_domain, hwirq, regs);
regs               64 drivers/irqchip/irq-digicolor.c 	gc->chip_types[0].regs.ack = ack_reg;
regs               65 drivers/irqchip/irq-digicolor.c 	gc->chip_types[0].regs.mask = en_reg;
regs               60 drivers/irqchip/irq-dw-apb-ictl.c 	writel_relaxed(~0, gc->reg_base + ct->regs.enable);
regs               61 drivers/irqchip/irq-dw-apb-ictl.c 	writel_relaxed(*ct->mask_cache, gc->reg_base + ct->regs.mask);
regs              142 drivers/irqchip/irq-dw-apb-ictl.c 		gc->chip_types[0].regs.mask = APB_INT_MASK_L;
regs              143 drivers/irqchip/irq-dw-apb-ictl.c 		gc->chip_types[0].regs.enable = APB_INT_ENABLE_L;
regs              129 drivers/irqchip/irq-ftintc010.c asmlinkage void __exception_irq_entry ft010_irqchip_handle_irq(struct pt_regs *regs)
regs              137 drivers/irqchip/irq-ftintc010.c 		handle_domain_irq(f->domain, irq, regs);
regs              594 drivers/irqchip/irq-gic-v3.c static inline void gic_handle_nmi(u32 irqnr, struct pt_regs *regs)
regs              596 drivers/irqchip/irq-gic-v3.c 	bool irqs_enabled = interrupts_enabled(regs);
regs              610 drivers/irqchip/irq-gic-v3.c 	err = handle_domain_nmi(gic_data.domain, irqnr, regs);
regs              618 drivers/irqchip/irq-gic-v3.c static asmlinkage void __exception_irq_entry gic_handle_irq(struct pt_regs *regs)
regs              626 drivers/irqchip/irq-gic-v3.c 		gic_handle_nmi(irqnr, regs);
regs              648 drivers/irqchip/irq-gic-v3.c 		err = handle_domain_irq(gic_data.domain, irqnr, regs);
regs              667 drivers/irqchip/irq-gic-v3.c 		handle_IPI(irqnr, regs);
regs              358 drivers/irqchip/irq-gic.c static void __exception_irq_entry gic_handle_irq(struct pt_regs *regs)
regs              372 drivers/irqchip/irq-gic.c 			handle_domain_irq(gic->domain, irqnr, regs);
regs              388 drivers/irqchip/irq-gic.c 			handle_IPI(irqnr, regs);
regs               97 drivers/irqchip/irq-goldfish-pic.c 	ct->regs.enable = GFPIC_REG_IRQ_ENABLE;
regs               98 drivers/irqchip/irq-goldfish-pic.c 	ct->regs.disable = GFPIC_REG_IRQ_DISABLE;
regs              176 drivers/irqchip/irq-hip04.c static void __exception_irq_entry hip04_handle_irq(struct pt_regs *regs)
regs              186 drivers/irqchip/irq-hip04.c 			handle_domain_irq(hip04_data.domain, irqnr, regs);
regs              192 drivers/irqchip/irq-hip04.c 			handle_IPI(irqnr, regs);
regs              409 drivers/irqchip/irq-imgpdc.c 	gc->chip_types[0].regs.mask		= PDC_IRQ_ROUTE;
regs              423 drivers/irqchip/irq-imgpdc.c 	gc->chip_types[0].regs.ack		= PDC_IRQ_CLEAR;
regs              424 drivers/irqchip/irq-imgpdc.c 	gc->chip_types[0].regs.mask		= PDC_IRQ_ENABLE;
regs              436 drivers/irqchip/irq-imgpdc.c 	gc->chip_types[1].regs.ack		= PDC_IRQ_CLEAR;
regs              437 drivers/irqchip/irq-imgpdc.c 	gc->chip_types[1].regs.mask		= PDC_IRQ_ENABLE;
regs               28 drivers/irqchip/irq-imx-irqsteer.c 	void __iomem		*regs;
regs               53 drivers/irqchip/irq-imx-irqsteer.c 	val = readl_relaxed(data->regs + CHANMASK(idx, data->reg_num));
regs               55 drivers/irqchip/irq-imx-irqsteer.c 	writel_relaxed(val, data->regs + CHANMASK(idx, data->reg_num));
regs               67 drivers/irqchip/irq-imx-irqsteer.c 	val = readl_relaxed(data->regs + CHANMASK(idx, data->reg_num));
regs               69 drivers/irqchip/irq-imx-irqsteer.c 	writel_relaxed(val, data->regs + CHANMASK(idx, data->reg_num));
regs              130 drivers/irqchip/irq-imx-irqsteer.c 		irqmap = readl_relaxed(data->regs +
regs              154 drivers/irqchip/irq-imx-irqsteer.c 	data->regs = devm_platform_ioremap_resource(pdev, 0);
regs              155 drivers/irqchip/irq-imx-irqsteer.c 	if (IS_ERR(data->regs)) {
regs              157 drivers/irqchip/irq-imx-irqsteer.c 		return PTR_ERR(data->regs);
regs              199 drivers/irqchip/irq-imx-irqsteer.c 	writel_relaxed(BIT(data->channel), data->regs + CHANCTRL);
regs              256 drivers/irqchip/irq-imx-irqsteer.c 		data->saved_reg[i] = readl_relaxed(data->regs +
regs              264 drivers/irqchip/irq-imx-irqsteer.c 	writel_relaxed(BIT(data->channel), data->regs + CHANCTRL);
regs              267 drivers/irqchip/irq-imx-irqsteer.c 			       data->regs + CHANMASK(i, data->reg_num));
regs               54 drivers/irqchip/irq-ingenic-tcu.c 	regmap_write(map, ct->regs.ack, mask);
regs               55 drivers/irqchip/irq-ingenic-tcu.c 	regmap_write(map, ct->regs.enable, mask);
regs               68 drivers/irqchip/irq-ingenic-tcu.c 	regmap_write(map, ct->regs.disable, mask);
regs               81 drivers/irqchip/irq-ingenic-tcu.c 	regmap_write(map, ct->regs.ack, mask);
regs               82 drivers/irqchip/irq-ingenic-tcu.c 	regmap_write(map, ct->regs.disable, mask);
regs              136 drivers/irqchip/irq-ingenic-tcu.c 	ct->regs.disable = TCU_REG_TMSR;
regs              137 drivers/irqchip/irq-ingenic-tcu.c 	ct->regs.enable = TCU_REG_TMCR;
regs              138 drivers/irqchip/irq-ingenic-tcu.c 	ct->regs.ack = TCU_REG_TFCR;
regs               55 drivers/irqchip/irq-ingenic.c 	struct irq_chip_regs *regs = &gc->chip_types->regs;
regs               57 drivers/irqchip/irq-ingenic.c 	writel(mask, gc->reg_base + regs->enable);
regs               58 drivers/irqchip/irq-ingenic.c 	writel(~mask, gc->reg_base + regs->disable);
regs              132 drivers/irqchip/irq-ingenic.c 		ct->regs.enable = JZ_REG_INTC_CLEAR_MASK;
regs              133 drivers/irqchip/irq-ingenic.c 		ct->regs.disable = JZ_REG_INTC_SET_MASK;
regs              109 drivers/irqchip/irq-ixp4xx.c asmlinkage void __exception_irq_entry ixp4xx_handle_irq(struct pt_regs *regs)
regs              117 drivers/irqchip/irq-ixp4xx.c 		handle_domain_irq(ixi->domain, i, regs);
regs              125 drivers/irqchip/irq-ixp4xx.c 			handle_domain_irq(ixi->domain, i + 32, regs);
regs              121 drivers/irqchip/irq-lpc32xx.c static void __exception_irq_entry lpc32xx_handle_irq(struct pt_regs *regs)
regs              129 drivers/irqchip/irq-lpc32xx.c 		handle_domain_irq(lpc32xx_mic_irqc->domain, irq, regs);
regs               50 drivers/irqchip/irq-ls-scfg-msi.c 	void __iomem		*regs;
regs              255 drivers/irqchip/irq-ls-scfg-msi.c 	msir->reg = msi_data->regs + msi_data->cfg->msir_base + 4 * index;
regs              355 drivers/irqchip/irq-ls-scfg-msi.c 	msi_data->regs = devm_ioremap_resource(&pdev->dev, res);
regs              356 drivers/irqchip/irq-ls-scfg-msi.c 	if (IS_ERR(msi_data->regs)) {
regs              358 drivers/irqchip/irq-ls-scfg-msi.c 		return PTR_ERR(msi_data->regs);
regs              161 drivers/irqchip/irq-ls1x.c 	ct[0].regs.mask = LS_REG_INTC_EN;
regs              162 drivers/irqchip/irq-ls1x.c 	ct[0].regs.ack = LS_REG_INTC_CLR;
regs              170 drivers/irqchip/irq-ls1x.c 	ct[1].regs.mask = LS_REG_INTC_EN;
regs              171 drivers/irqchip/irq-ls1x.c 	ct[1].regs.ack = LS_REG_INTC_CLR;
regs              225 drivers/irqchip/irq-mmp.c static void __exception_irq_entry mmp_handle_irq(struct pt_regs *regs)
regs              233 drivers/irqchip/irq-mmp.c 	handle_domain_irq(icu_data[0].domain, hwirq, regs);
regs              236 drivers/irqchip/irq-mmp.c static void __exception_irq_entry mmp2_handle_irq(struct pt_regs *regs)
regs              244 drivers/irqchip/irq-mmp.c 	handle_domain_irq(icu_data[0].domain, hwirq, regs);
regs               95 drivers/irqchip/irq-mscc-ocelot.c 	gc->chip_types[0].regs.ack = ICPU_CFG_INTR_INTR_STICKY;
regs               96 drivers/irqchip/irq-mscc-ocelot.c 	gc->chip_types[0].regs.mask = ICPU_CFG_INTR_INTR_ENA_CLR;
regs              133 drivers/irqchip/irq-mxs.c asmlinkage void __exception_irq_entry icoll_handle_irq(struct pt_regs *regs)
regs              139 drivers/irqchip/irq-mxs.c 	handle_domain_irq(icoll_domain, irqnr, regs);
regs               41 drivers/irqchip/irq-nvic.c nvic_handle_irq(irq_hw_number_t hwirq, struct pt_regs *regs)
regs               45 drivers/irqchip/irq-nvic.c 	handle_IRQ(irq, regs);
regs              125 drivers/irqchip/irq-nvic.c 		gc->chip_types[0].regs.enable = NVIC_ISER;
regs              126 drivers/irqchip/irq-nvic.c 		gc->chip_types[0].regs.disable = NVIC_ICER;
regs              216 drivers/irqchip/irq-omap-intc.c 		ct->regs.enable = INTC_MIR_CLEAR0 + 32 * i;
regs              217 drivers/irqchip/irq-omap-intc.c 		ct->regs.disable = INTC_MIR_SET0 + 32 * i;
regs              237 drivers/irqchip/irq-omap-intc.c 	ct->regs.enable = INTC_MIR_CLEAR0;
regs              238 drivers/irqchip/irq-omap-intc.c 	ct->regs.disable = INTC_MIR_SET0;
regs              329 drivers/irqchip/irq-omap-intc.c omap_intc_handle_irq(struct pt_regs *regs)
regs              360 drivers/irqchip/irq-omap-intc.c 	handle_domain_irq(domain, irqnr, regs);
regs              114 drivers/irqchip/irq-or1k-pic.c static void or1k_pic_handle_irq(struct pt_regs *regs)
regs              119 drivers/irqchip/irq-or1k-pic.c 		handle_domain_irq(root_domain, irq, regs);
regs               33 drivers/irqchip/irq-orion.c __exception_irq_entry orion_handle_irq(struct pt_regs *regs)
regs               46 drivers/irqchip/irq-orion.c 					  gc->irq_base + hwirq, regs);
regs               90 drivers/irqchip/irq-orion.c 		gc->chip_types[0].regs.mask = ORION_IRQ_MASK;
regs              189 drivers/irqchip/irq-orion.c 	gc->chip_types[0].regs.ack = ORION_BRIDGE_IRQ_CAUSE;
regs              190 drivers/irqchip/irq-orion.c 	gc->chip_types[0].regs.mask = ORION_BRIDGE_IRQ_MASK;
regs              274 drivers/irqchip/irq-pic32-evic.c 		gc->chip_types[0].regs.ack		= ifsclr;
regs              275 drivers/irqchip/irq-pic32-evic.c 		gc->chip_types[0].regs.mask		= iec;
regs              285 drivers/irqchip/irq-pic32-evic.c 		gc->chip_types[1].regs.ack		= ifsclr;
regs              286 drivers/irqchip/irq-pic32-evic.c 		gc->chip_types[1].regs.mask		= iec;
regs               49 drivers/irqchip/irq-rda-intc.c static void __exception_irq_entry rda_handle_irq(struct pt_regs *regs)
regs               56 drivers/irqchip/irq-rda-intc.c 		handle_domain_irq(rda_irq_domain, hwirq, regs);
regs              188 drivers/irqchip/irq-renesas-irqc.c 	p->gc->chip_types[0].regs.enable = IRQC_EN_SET;
regs              189 drivers/irqchip/irq-renesas-irqc.c 	p->gc->chip_types[0].regs.disable = IRQC_EN_STS;
regs              326 drivers/irqchip/irq-s3c24xx.c 				      struct pt_regs *regs, int intc_offset)
regs              355 drivers/irqchip/irq-s3c24xx.c 	handle_domain_irq(intc->domain, intc_offset + offset, regs);
regs              359 drivers/irqchip/irq-s3c24xx.c asmlinkage void __exception_irq_entry s3c24xx_handle_irq(struct pt_regs *regs)
regs              363 drivers/irqchip/irq-s3c24xx.c 			if (s3c24xx_handle_intc(s3c_intc[0], regs, 0))
regs              367 drivers/irqchip/irq-s3c24xx.c 			if (s3c24xx_handle_intc(s3c_intc[2], regs, 64))
regs              131 drivers/irqchip/irq-sa11x0.c sa1100_handle_irq(struct pt_regs *regs)
regs              144 drivers/irqchip/irq-sa11x0.c 				ffs(mask) - 1, regs);
regs              176 drivers/irqchip/irq-sifive-plic.c static void plic_handle_irq(struct pt_regs *regs)
regs               54 drivers/irqchip/irq-sirfsoc.c 		ct->regs.mask = SIRFSOC_INT_RISC_MASK0;
regs               58 drivers/irqchip/irq-sirfsoc.c static void __exception_irq_entry sirfsoc_handle_irq(struct pt_regs *regs)
regs               64 drivers/irqchip/irq-sirfsoc.c 	handle_domain_irq(sirfsoc_irqdomain, irqstat & 0xff, regs);
regs              764 drivers/irqchip/irq-stm32-exti.c 		gc->chip_types->regs.mask = stm32_bank->imr_ofst;
regs               47 drivers/irqchip/irq-sun4i.c static void __exception_irq_entry sun4i_handle_irq(struct pt_regs *regs);
regs              181 drivers/irqchip/irq-sun4i.c static void __exception_irq_entry sun4i_handle_irq(struct pt_regs *regs)
regs              202 drivers/irqchip/irq-sun4i.c 		handle_domain_irq(irq_ic_data->irq_domain, hwirq, regs);
regs              115 drivers/irqchip/irq-sunxi-nmi.c 	u32 ctrl_off = ct->regs.type;
regs              147 drivers/irqchip/irq-sunxi-nmi.c 			ctrl_off = ct->regs.type;
regs              204 drivers/irqchip/irq-sunxi-nmi.c 	gc->chip_types[0].regs.ack		= reg_offs->pend;
regs              205 drivers/irqchip/irq-sunxi-nmi.c 	gc->chip_types[0].regs.mask		= reg_offs->enable;
regs              206 drivers/irqchip/irq-sunxi-nmi.c 	gc->chip_types[0].regs.type		= reg_offs->ctrl;
regs              214 drivers/irqchip/irq-sunxi-nmi.c 	gc->chip_types[1].regs.ack		= reg_offs->pend;
regs              215 drivers/irqchip/irq-sunxi-nmi.c 	gc->chip_types[1].regs.mask		= reg_offs->enable;
regs              216 drivers/irqchip/irq-sunxi-nmi.c 	gc->chip_types[1].regs.type		= reg_offs->ctrl;
regs               92 drivers/irqchip/irq-tango.c 	struct irq_chip_regs *regs = &gc->chip_types[0].regs;
regs               96 drivers/irqchip/irq-tango.c 		intc_writel(chip, regs->type + EDGE_CFG_RISE_SET, d->mask);
regs               97 drivers/irqchip/irq-tango.c 		intc_writel(chip, regs->type + EDGE_CFG_FALL_CLR, d->mask);
regs              101 drivers/irqchip/irq-tango.c 		intc_writel(chip, regs->type + EDGE_CFG_RISE_CLR, d->mask);
regs              102 drivers/irqchip/irq-tango.c 		intc_writel(chip, regs->type + EDGE_CFG_FALL_SET, d->mask);
regs              106 drivers/irqchip/irq-tango.c 		intc_writel(chip, regs->type + EDGE_CFG_RISE_CLR, d->mask);
regs              107 drivers/irqchip/irq-tango.c 		intc_writel(chip, regs->type + EDGE_CFG_FALL_CLR, d->mask);
regs              111 drivers/irqchip/irq-tango.c 		intc_writel(chip, regs->type + EDGE_CFG_RISE_SET, d->mask);
regs              112 drivers/irqchip/irq-tango.c 		intc_writel(chip, regs->type + EDGE_CFG_FALL_SET, d->mask);
regs              145 drivers/irqchip/irq-tango.c 		ct[i].regs.enable = ctl_base + IRQ_EN_SET;
regs              146 drivers/irqchip/irq-tango.c 		ct[i].regs.disable = ctl_base + IRQ_EN_CLR;
regs              147 drivers/irqchip/irq-tango.c 		ct[i].regs.ack = edge_base + EDGE_RAWSTAT;
regs              148 drivers/irqchip/irq-tango.c 		ct[i].regs.type = edge_base;
regs              157 drivers/irqchip/irq-tango.c 	intc_writel(chip, ct->regs.disable, 0xffffffff);
regs              158 drivers/irqchip/irq-tango.c 	intc_writel(chip, ct->regs.ack, 0xffffffff);
regs              150 drivers/irqchip/irq-tb10x.c 	gc->chip_types[0].regs.mask          = AB_IRQCTL_INT_ENABLE;
regs              158 drivers/irqchip/irq-tb10x.c 	gc->chip_types[1].regs.ack           = AB_IRQCTL_INT_STATUS;
regs              159 drivers/irqchip/irq-tb10x.c 	gc->chip_types[1].regs.mask          = AB_IRQCTL_INT_ENABLE;
regs              100 drivers/irqchip/irq-versatile-fpga.c static int handle_one_fpga(struct fpga_irq_data *f, struct pt_regs *regs)
regs              108 drivers/irqchip/irq-versatile-fpga.c 		handle_domain_irq(f->domain, irq, regs);
regs              119 drivers/irqchip/irq-versatile-fpga.c asmlinkage void __exception_irq_entry fpga_handle_irq(struct pt_regs *regs)
regs              125 drivers/irqchip/irq-versatile-fpga.c 			handled |= handle_one_fpga(&fpga_irq_devices[i], regs);
regs               77 drivers/irqchip/irq-vic.c static void vic_handle_irq(struct pt_regs *regs);
regs              201 drivers/irqchip/irq-vic.c static int handle_one_vic(struct vic_device *vic, struct pt_regs *regs)
regs              208 drivers/irqchip/irq-vic.c 		handle_domain_irq(vic->domain, irq, regs);
regs              235 drivers/irqchip/irq-vic.c static void __exception_irq_entry vic_handle_irq(struct pt_regs *regs)
regs              241 drivers/irqchip/irq-vic.c 			handled |= handle_one_vic(&vic_devices[i], regs);
regs              509 drivers/irqchip/irq-vic.c 	void __iomem *regs;
regs              516 drivers/irqchip/irq-vic.c 	regs = of_iomap(node, 0);
regs              517 drivers/irqchip/irq-vic.c 	if (WARN_ON(!regs))
regs              526 drivers/irqchip/irq-vic.c 	__vic_init(regs, 0, 0, interrupt_mask, wakeup_mask, node);
regs              166 drivers/irqchip/irq-vt8500.c static void __exception_irq_entry vt8500_handle_irq(struct pt_regs *regs)
regs              186 drivers/irqchip/irq-vt8500.c 		handle_domain_irq(intc[i].domain, irqnr, regs);
regs               42 drivers/irqchip/irq-zevio.c 	struct irq_chip_regs *regs = &irq_data_get_chip_type(irqd)->regs;
regs               44 drivers/irqchip/irq-zevio.c 	readl(gc->reg_base + regs->ack);
regs               47 drivers/irqchip/irq-zevio.c static void __exception_irq_entry zevio_handle_irq(struct pt_regs *regs)
regs               53 drivers/irqchip/irq-zevio.c 		handle_domain_irq(zevio_irq_domain, irqnr, regs);
regs              109 drivers/irqchip/irq-zevio.c 	gc->chip_types[0].regs.mask		= IO_IRQ_BASE + IO_ENABLE;
regs              110 drivers/irqchip/irq-zevio.c 	gc->chip_types[0].regs.enable		= IO_IRQ_BASE + IO_ENABLE;
regs              111 drivers/irqchip/irq-zevio.c 	gc->chip_types[0].regs.disable		= IO_IRQ_BASE + IO_DISABLE;
regs              112 drivers/irqchip/irq-zevio.c 	gc->chip_types[0].regs.ack		= IO_IRQ_BASE + IO_RESET;
regs               36 drivers/irqchip/qcom-irq-combiner.c 	struct combiner_reg regs[0];
regs               61 drivers/irqchip/qcom-irq-combiner.c 		bit = readl_relaxed(combiner->regs[reg].addr);
regs               62 drivers/irqchip/qcom-irq-combiner.c 		status = bit & combiner->regs[reg].enabled;
regs               66 drivers/irqchip/qcom-irq-combiner.c 					    combiner->regs[reg].enabled,
regs               67 drivers/irqchip/qcom-irq-combiner.c 					    combiner->regs[reg].addr);
regs               86 drivers/irqchip/qcom-irq-combiner.c 	struct combiner_reg *reg = combiner->regs + data->hwirq / REG_SIZE;
regs               94 drivers/irqchip/qcom-irq-combiner.c 	struct combiner_reg *reg = combiner->regs + data->hwirq / REG_SIZE;
regs              203 drivers/irqchip/qcom-irq-combiner.c 	ctx->combiner->regs[ctx->combiner->nregs].addr = vaddr;
regs              241 drivers/irqchip/qcom-irq-combiner.c 	combiner = devm_kzalloc(&pdev->dev, struct_size(combiner, regs, nregs),
regs              264 drivers/irqchip/qcom-irq-combiner.c 		 combiner->parent_irq, combiner->nirqs, combiner->regs[0].addr);
regs               63 drivers/leds/leds-lm355x.c 	struct lm355x_reg_data *regs;
regs              201 drivers/leds/leds-lm355x.c 	struct lm355x_reg_data *preg = chip->regs;
regs              426 drivers/leds/leds-lm355x.c 		chip->regs = lm3554_regs;
regs              429 drivers/leds/leds-lm355x.c 		chip->regs = lm3556_regs;
regs              500 drivers/leds/leds-lm355x.c 	struct lm355x_reg_data *preg = chip->regs;
regs              146 drivers/mailbox/armada-37xx-rwtm-mailbox.c 	struct resource *regs;
regs              159 drivers/mailbox/armada-37xx-rwtm-mailbox.c 	regs = platform_get_resource(pdev, IORESOURCE_MEM, 0);
regs              161 drivers/mailbox/armada-37xx-rwtm-mailbox.c 	mbox->base = devm_ioremap_resource(&pdev->dev, regs);
regs              270 drivers/mailbox/bcm-flexrm-mailbox.c 	void __iomem *regs;
regs              293 drivers/mailbox/bcm-flexrm-mailbox.c 	void __iomem *regs;
regs              942 drivers/mailbox/bcm-flexrm-mailbox.c 		if (readl(ring->regs + RING_CONTROL) &
regs              970 drivers/mailbox/bcm-flexrm-mailbox.c 		bd_read_offset = readl_relaxed(ring->regs + RING_BD_READ_PTR);
regs              971 drivers/mailbox/bcm-flexrm-mailbox.c 		val = readl_relaxed(ring->regs + RING_BD_START_ADDR);
regs             1021 drivers/mailbox/bcm-flexrm-mailbox.c 	read_offset = readl_relaxed(ring->regs + RING_BD_READ_PTR);
regs             1022 drivers/mailbox/bcm-flexrm-mailbox.c 	val = readl_relaxed(ring->regs + RING_BD_START_ADDR);
regs             1103 drivers/mailbox/bcm-flexrm-mailbox.c 	cmpl_write_offset = readl_relaxed(ring->regs + RING_CMPL_WRITE_PTR);
regs             1310 drivers/mailbox/bcm-flexrm-mailbox.c 	writel_relaxed(0x0, ring->regs + RING_CONTROL);
regs             1314 drivers/mailbox/bcm-flexrm-mailbox.c 	writel_relaxed(val, ring->regs + RING_BD_START_ADDR);
regs             1318 drivers/mailbox/bcm-flexrm-mailbox.c 			readl_relaxed(ring->regs + RING_BD_WRITE_PTR);
regs             1323 drivers/mailbox/bcm-flexrm-mailbox.c 	writel_relaxed(val, ring->regs + RING_CMPL_START_ADDR);
regs             1327 drivers/mailbox/bcm-flexrm-mailbox.c 			readl_relaxed(ring->regs + RING_CMPL_WRITE_PTR);
regs             1331 drivers/mailbox/bcm-flexrm-mailbox.c 	readl_relaxed(ring->regs + RING_NUM_REQ_RECV_LS);
regs             1332 drivers/mailbox/bcm-flexrm-mailbox.c 	readl_relaxed(ring->regs + RING_NUM_REQ_RECV_MS);
regs             1333 drivers/mailbox/bcm-flexrm-mailbox.c 	readl_relaxed(ring->regs + RING_NUM_REQ_TRANS_LS);
regs             1334 drivers/mailbox/bcm-flexrm-mailbox.c 	readl_relaxed(ring->regs + RING_NUM_REQ_TRANS_MS);
regs             1335 drivers/mailbox/bcm-flexrm-mailbox.c 	readl_relaxed(ring->regs + RING_NUM_REQ_OUTSTAND);
regs             1342 drivers/mailbox/bcm-flexrm-mailbox.c 	writel_relaxed(val, ring->regs + RING_MSI_CONTROL);
regs             1346 drivers/mailbox/bcm-flexrm-mailbox.c 	writel_relaxed(val, ring->regs + RING_CONTROL);
regs             1377 drivers/mailbox/bcm-flexrm-mailbox.c 	writel_relaxed(0x0, ring->regs + RING_CONTROL);
regs             1382 drivers/mailbox/bcm-flexrm-mailbox.c 			ring->regs + RING_CONTROL);
regs             1384 drivers/mailbox/bcm-flexrm-mailbox.c 		if (readl_relaxed(ring->regs + RING_FLUSH_DONE) &
regs             1395 drivers/mailbox/bcm-flexrm-mailbox.c 	writel_relaxed(0x0, ring->regs + RING_CONTROL);
regs             1397 drivers/mailbox/bcm-flexrm-mailbox.c 		if (!(readl_relaxed(ring->regs + RING_FLUSH_DONE) &
regs             1490 drivers/mailbox/bcm-flexrm-mailbox.c 	writel_relaxed(msg->address_lo, ring->regs + RING_MSI_ADDR_LS);
regs             1491 drivers/mailbox/bcm-flexrm-mailbox.c 	writel_relaxed(msg->address_hi, ring->regs + RING_MSI_ADDR_MS);
regs             1492 drivers/mailbox/bcm-flexrm-mailbox.c 	writel_relaxed(msg->data, ring->regs + RING_MSI_DATA_VALUE);
regs             1498 drivers/mailbox/bcm-flexrm-mailbox.c 	void __iomem *regs;
regs             1523 drivers/mailbox/bcm-flexrm-mailbox.c 	mbox->regs = devm_ioremap_resource(&pdev->dev, iomem);
regs             1524 drivers/mailbox/bcm-flexrm-mailbox.c 	if (IS_ERR(mbox->regs)) {
regs             1525 drivers/mailbox/bcm-flexrm-mailbox.c 		ret = PTR_ERR(mbox->regs);
regs             1529 drivers/mailbox/bcm-flexrm-mailbox.c 	regs_end = mbox->regs + resource_size(iomem);
regs             1533 drivers/mailbox/bcm-flexrm-mailbox.c 	for (regs = mbox->regs; regs < regs_end; regs += RING_REGS_SIZE) {
regs             1534 drivers/mailbox/bcm-flexrm-mailbox.c 		if (readl_relaxed(regs + RING_VER) == RING_VER_MAGIC)
regs             1551 drivers/mailbox/bcm-flexrm-mailbox.c 	regs = mbox->regs;
regs             1556 drivers/mailbox/bcm-flexrm-mailbox.c 		while ((regs < regs_end) &&
regs             1557 drivers/mailbox/bcm-flexrm-mailbox.c 		       (readl_relaxed(regs + RING_VER) != RING_VER_MAGIC))
regs             1558 drivers/mailbox/bcm-flexrm-mailbox.c 			regs += RING_REGS_SIZE;
regs             1559 drivers/mailbox/bcm-flexrm-mailbox.c 		if (regs_end <= regs) {
regs             1563 drivers/mailbox/bcm-flexrm-mailbox.c 		ring->regs = regs;
regs             1564 drivers/mailbox/bcm-flexrm-mailbox.c 		regs += RING_REGS_SIZE;
regs              323 drivers/mailbox/bcm-pdc-mailbox.c 	struct pdc_regs *regs;    /* start of PDC registers */
regs             1028 drivers/mailbox/bcm-pdc-mailbox.c 	dma_reg = &pdcs->regs->dmaregs[ringset];
regs             1296 drivers/mailbox/bcm-pdc-mailbox.c 	pdcs->regs = (struct pdc_regs *)pdcs->pdc_reg_vbase;
regs             1308 drivers/mailbox/bcm-pdc-mailbox.c 	iowrite32(0, &pdcs->regs->intmask);
regs             1310 drivers/mailbox/bcm-pdc-mailbox.c 	dma_reg = &pdcs->regs->dmaregs[ringset];
regs             1336 drivers/mailbox/bcm-pdc-mailbox.c 	dma_reg = &pdcs->regs->dmaregs[PDC_RINGSET];
regs               56 drivers/mailbox/bcm2835-mailbox.c 	void __iomem *regs;
regs               72 drivers/mailbox/bcm2835-mailbox.c 	while (!(readl(mbox->regs + MAIL0_STA) & ARM_MS_EMPTY)) {
regs               73 drivers/mailbox/bcm2835-mailbox.c 		u32 msg = readl(mbox->regs + MAIL0_RD);
regs               86 drivers/mailbox/bcm2835-mailbox.c 	writel(msg, mbox->regs + MAIL1_WRT);
regs               97 drivers/mailbox/bcm2835-mailbox.c 	writel(ARM_MC_IHAVEDATAIRQEN, mbox->regs + MAIL0_CNF);
regs              106 drivers/mailbox/bcm2835-mailbox.c 	writel(0, mbox->regs + MAIL0_CNF);
regs              115 drivers/mailbox/bcm2835-mailbox.c 	ret = !(readl(mbox->regs + MAIL1_STA) & ARM_MS_FULL);
regs              157 drivers/mailbox/bcm2835-mailbox.c 	mbox->regs = devm_ioremap_resource(&pdev->dev, iomem);
regs              158 drivers/mailbox/bcm2835-mailbox.c 	if (IS_ERR(mbox->regs)) {
regs              159 drivers/mailbox/bcm2835-mailbox.c 		ret = PTR_ERR(mbox->regs);
regs              288 drivers/mailbox/mailbox-altera.c 	struct resource	*regs;
regs              302 drivers/mailbox/mailbox-altera.c 	regs = platform_get_resource(pdev, IORESOURCE_MEM, 0);
regs              304 drivers/mailbox/mailbox-altera.c 	mbox->mbox_base = devm_ioremap_resource(&pdev->dev, regs);
regs              173 drivers/mailbox/mailbox-xgene-slimpro.c 	struct resource *regs;
regs              184 drivers/mailbox/mailbox-xgene-slimpro.c 	regs = platform_get_resource(pdev, IORESOURCE_MEM, 0);
regs              185 drivers/mailbox/mailbox-xgene-slimpro.c 	mb_base = devm_ioremap_resource(&pdev->dev, regs);
regs               57 drivers/mailbox/tegra-hsp.c 	void __iomem *regs;
regs               90 drivers/mailbox/tegra-hsp.c 	void __iomem *regs;
regs              109 drivers/mailbox/tegra-hsp.c 	return readl(hsp->regs + offset);
regs              115 drivers/mailbox/tegra-hsp.c 	writel(value, hsp->regs + offset);
regs              121 drivers/mailbox/tegra-hsp.c 	return readl(channel->regs + offset);
regs              127 drivers/mailbox/tegra-hsp.c 	writel(value, channel->regs + offset);
regs              283 drivers/mailbox/tegra-hsp.c 	db->channel.regs = hsp->regs + offset;
regs              587 drivers/mailbox/tegra-hsp.c 		mb->channel.regs = hsp->regs + SZ_64K + i * SZ_32K;
regs              649 drivers/mailbox/tegra-hsp.c 	hsp->regs = devm_ioremap_resource(&pdev->dev, res);
regs              650 drivers/mailbox/tegra-hsp.c 	if (IS_ERR(hsp->regs))
regs              651 drivers/mailbox/tegra-hsp.c 		return PTR_ERR(hsp->regs);
regs               42 drivers/media/dvb-frontends/cxd2099.c 	u8     regs[0x23];
regs              148 drivers/media/dvb-frontends/cxd2099.c 		ci->regs[reg] = regval;
regs              151 drivers/media/dvb-frontends/cxd2099.c 	ci->regs[reg] = (ci->regs[reg] & (~mask)) | val;
regs              153 drivers/media/dvb-frontends/cxd2099.c 		status = regmap_write(ci->regmap, 1, ci->regs[reg]);
regs              155 drivers/media/dvb-frontends/cxd2099.c 		ci->regs[reg] &= 0x7f;
regs              109 drivers/media/dvb-frontends/lg2160.c 			     struct lg216x_reg *regs, int len)
regs              116 drivers/media/dvb-frontends/lg2160.c 		ret = lg216x_write_reg(state, regs[i].reg, regs[i].val);
regs              186 drivers/media/dvb-frontends/lgdt3305.c 			       struct lgdt3305_reg *regs, int len)
regs              193 drivers/media/dvb-frontends/lgdt3305.c 		ret = lgdt3305_write_reg(state, regs[i].reg, regs[i].val);
regs             1505 drivers/media/dvb-frontends/mb86a16.c 	u8 regs;
regs             1514 drivers/media/dvb-frontends/mb86a16.c 	regs = 0x18;
regs             1520 drivers/media/dvb-frontends/mb86a16.c 		if (mb86a16_write(state, regs, cmd->msg[i]) < 0)
regs             1523 drivers/media/dvb-frontends/mb86a16.c 		regs++;
regs              180 drivers/media/dvb-frontends/si2165.c 				 const struct si2165_reg_value_pair *regs,
regs              187 drivers/media/dvb-frontends/si2165.c 		ret = si2165_writereg8(state, regs[i].reg, regs[i].val);
regs              651 drivers/media/dvb-frontends/si21xx.c 	u8 reg, regs[3];
regs              671 drivers/media/dvb-frontends/si21xx.c 	regs[0] = 0xCB;
regs              672 drivers/media/dvb-frontends/si21xx.c 	regs[1] = 0x40;
regs              673 drivers/media/dvb-frontends/si21xx.c 	regs[2] = 0xCB;
regs              677 drivers/media/dvb-frontends/si21xx.c 				&regs[0], 0x03);
regs              730 drivers/media/dvb-frontends/si21xx.c 	unsigned char regs[4];
regs              827 drivers/media/dvb-frontends/si21xx.c 	regs[0] = sample_rate;
regs              828 drivers/media/dvb-frontends/si21xx.c 	regs[1] = coarse_tune_freq;
regs              829 drivers/media/dvb-frontends/si21xx.c 	regs[2] = fine_tune_freq & 0xFF;
regs              830 drivers/media/dvb-frontends/si21xx.c 	regs[3] = fine_tune_freq >> 8 & 0xFF;
regs              832 drivers/media/dvb-frontends/si21xx.c 	status |= si21_writeregs(state, PLL_DIVISOR_REG, &regs[0], 0x04);
regs              113 drivers/media/dvb-frontends/stb6100.c static inline void stb6100_normalise_regs(u8 regs[])
regs              118 drivers/media/dvb-frontends/stb6100.c 		regs[i] = (regs[i] & stb6100_template[i].mask) | stb6100_template[i].set;
regs              121 drivers/media/dvb-frontends/stb6100.c static int stb6100_read_regs(struct stb6100_state *state, u8 regs[])
regs              127 drivers/media/dvb-frontends/stb6100.c 		.buf	= regs,
regs              143 drivers/media/dvb-frontends/stb6100.c 			dprintk(verbose, FE_DEBUG, 1, "        %s: 0x%02x", stb6100_regnames[i], regs[i]);
regs              150 drivers/media/dvb-frontends/stb6100.c 	u8 regs[STB6100_NUMREGS];
regs              155 drivers/media/dvb-frontends/stb6100.c 		.buf	= regs,
regs              167 drivers/media/dvb-frontends/stb6100.c 		dprintk(verbose, FE_DEBUG, 1, "        %s: 0x%02x", stb6100_regnames[reg], regs[0]);
regs              170 drivers/media/dvb-frontends/stb6100.c 	return (unsigned int)regs[0];
regs              304 drivers/media/dvb-frontends/stb6100.c 	u8 regs[STB6100_NUMREGS];
regs              306 drivers/media/dvb-frontends/stb6100.c 	rc = stb6100_read_regs(state, regs);
regs              310 drivers/media/dvb-frontends/stb6100.c 	odiv = (regs[STB6100_VCO] & STB6100_VCO_ODIV) >> STB6100_VCO_ODIV_SHIFT;
regs              311 drivers/media/dvb-frontends/stb6100.c 	psd2 = (regs[STB6100_K] & STB6100_K_PSD2) >> STB6100_K_PSD2_SHIFT;
regs              312 drivers/media/dvb-frontends/stb6100.c 	nint = regs[STB6100_NI];
regs              313 drivers/media/dvb-frontends/stb6100.c 	nfrac = ((regs[STB6100_K] & STB6100_K_NF_MSB) << 8) | regs[STB6100_NF_LSB];
regs              332 drivers/media/dvb-frontends/stb6100.c 	u8 regs[STB6100_NUMREGS];
regs              349 drivers/media/dvb-frontends/stb6100.c 	regs[STB6100_LPEN] = 0xeb;
regs              350 drivers/media/dvb-frontends/stb6100.c 	rc = stb6100_write_reg(state, STB6100_LPEN, regs[STB6100_LPEN]);
regs              363 drivers/media/dvb-frontends/stb6100.c 	regs[STB6100_VCO] = 0xe0 | (odiv << STB6100_VCO_ODIV_SHIFT);
regs              374 drivers/media/dvb-frontends/stb6100.c 	regs[STB6100_VCO] = (regs[STB6100_VCO] & ~STB6100_VCO_OSM) | ptr->reg;
regs              375 drivers/media/dvb-frontends/stb6100.c 	rc = stb6100_write_reg(state, STB6100_VCO, regs[STB6100_VCO]);
regs              392 drivers/media/dvb-frontends/stb6100.c 	regs[STB6100_NI] = nint;
regs              393 drivers/media/dvb-frontends/stb6100.c 	rc = stb6100_write_reg(state, STB6100_NI, regs[STB6100_NI]);
regs              398 drivers/media/dvb-frontends/stb6100.c 	regs[STB6100_NF_LSB] = nfrac;
regs              399 drivers/media/dvb-frontends/stb6100.c 	rc = stb6100_write_reg(state, STB6100_NF_LSB, regs[STB6100_NF_LSB]);
regs              404 drivers/media/dvb-frontends/stb6100.c 	regs[STB6100_K] = (0x38 & ~STB6100_K_PSD2) | (psd2 << STB6100_K_PSD2_SHIFT);
regs              405 drivers/media/dvb-frontends/stb6100.c 	regs[STB6100_K] = (regs[STB6100_K] & ~STB6100_K_NF_MSB) | ((nfrac >> 8) & STB6100_K_NF_MSB);
regs              406 drivers/media/dvb-frontends/stb6100.c 	rc = stb6100_write_reg(state, STB6100_K, regs[STB6100_K]);
regs              418 drivers/media/dvb-frontends/stb6100.c 	regs[STB6100_G] = (0x10 & ~STB6100_G_G) | g;
regs              419 drivers/media/dvb-frontends/stb6100.c 	regs[STB6100_G] &= ~STB6100_G_GCT; /* mask GCT */
regs              420 drivers/media/dvb-frontends/stb6100.c 	regs[STB6100_G] |= (1 << 5); /* 2Vp-p Mode */
regs              421 drivers/media/dvb-frontends/stb6100.c 	rc = stb6100_write_reg(state, STB6100_G, regs[STB6100_G]);
regs              428 drivers/media/dvb-frontends/stb6100.c 	regs[STB6100_DLB] = 0xcc;
regs              429 drivers/media/dvb-frontends/stb6100.c 	rc = stb6100_write_reg(state, STB6100_DLB, regs[STB6100_DLB]);
regs              440 drivers/media/dvb-frontends/stb6100.c 	regs[STB6100_TEST1] = 0x8f;
regs              441 drivers/media/dvb-frontends/stb6100.c 	rc = stb6100_write_reg(state, STB6100_TEST1, regs[STB6100_TEST1]);
regs              444 drivers/media/dvb-frontends/stb6100.c 	regs[STB6100_TEST3] = 0xde;
regs              445 drivers/media/dvb-frontends/stb6100.c 	rc = stb6100_write_reg(state, STB6100_TEST3, regs[STB6100_TEST3]);
regs              450 drivers/media/dvb-frontends/stb6100.c 	regs[STB6100_LPEN] = 0xfb; /* PLL Loop enabled, bias on, VCO on, synth on */
regs              451 drivers/media/dvb-frontends/stb6100.c 	rc = stb6100_write_reg(state, STB6100_LPEN, regs[STB6100_LPEN]);
regs              458 drivers/media/dvb-frontends/stb6100.c 	regs[STB6100_VCO] &= ~STB6100_VCO_OCK;		/* VCO fast search		*/
regs              459 drivers/media/dvb-frontends/stb6100.c 	rc = stb6100_write_reg(state, STB6100_VCO, regs[STB6100_VCO]);
regs              465 drivers/media/dvb-frontends/stb6100.c 	regs[STB6100_VCO] &= ~STB6100_VCO_OSCH;		/* vco search disabled		*/
regs              466 drivers/media/dvb-frontends/stb6100.c 	regs[STB6100_VCO] |= STB6100_VCO_OCK;		/* search clock off		*/
regs              467 drivers/media/dvb-frontends/stb6100.c 	rc = stb6100_write_reg(state, STB6100_VCO, regs[STB6100_VCO]);
regs              676 drivers/media/dvb-frontends/stv0910.c 	u8 regs[3];
regs              680 drivers/media/dvb-frontends/stv0910.c 			       regs, 3);
regs              685 drivers/media/dvb-frontends/stv0910.c 	if ((regs[0] & 0x80) == 0) {
regs              688 drivers/media/dvb-frontends/stv0910.c 		state->last_bernumerator = ((u32)(regs[0] & 0x7F) << 16) |
regs              689 drivers/media/dvb-frontends/stv0910.c 			((u32)regs[1] << 8) | regs[2];
regs              751 drivers/media/dvb-frontends/stv0910.c 	u8 regs[3];
regs              754 drivers/media/dvb-frontends/stv0910.c 			       regs, 3);
regs              759 drivers/media/dvb-frontends/stv0910.c 	if ((regs[0] & 0x80) == 0) {
regs              764 drivers/media/dvb-frontends/stv0910.c 		state->last_bernumerator = (((u32)regs[0] & 0x7F) << 16) |
regs              765 drivers/media/dvb-frontends/stv0910.c 			((u32)regs[1] << 8) | regs[2];
regs               31 drivers/media/dvb-frontends/stv6110.c 	u8 regs[8];
regs               95 drivers/media/dvb-frontends/stv6110.c static int stv6110_read_regs(struct dvb_frontend *fe, u8 regs[],
regs              110 drivers/media/dvb-frontends/stv6110.c 			.buf	= regs,
regs              125 drivers/media/dvb-frontends/stv6110.c 	memcpy(&priv->regs[start], regs, len);
regs              180 drivers/media/dvb-frontends/stv6110.c 	priv->regs[RSTV6110_CTRL3] &= ~((1 << 6) | 0x1f);
regs              181 drivers/media/dvb-frontends/stv6110.c 	priv->regs[RSTV6110_CTRL3] |= (r8 & 0x1f);
regs              182 drivers/media/dvb-frontends/stv6110.c 	stv6110_write_regs(fe, &priv->regs[RSTV6110_CTRL3], RSTV6110_CTRL3, 1);
regs              184 drivers/media/dvb-frontends/stv6110.c 	priv->regs[RSTV6110_STAT1] |= 0x02;
regs              185 drivers/media/dvb-frontends/stv6110.c 	stv6110_write_regs(fe, &priv->regs[RSTV6110_STAT1], RSTV6110_STAT1, 1);
regs              196 drivers/media/dvb-frontends/stv6110.c 	priv->regs[RSTV6110_CTRL3] |= (1 << 6);
regs              197 drivers/media/dvb-frontends/stv6110.c 	stv6110_write_regs(fe, &priv->regs[RSTV6110_CTRL3], RSTV6110_CTRL3, 1);
regs              206 drivers/media/dvb-frontends/stv6110.c 	memcpy(priv->regs, buf0, 8);
regs              208 drivers/media/dvb-frontends/stv6110.c 	priv->regs[RSTV6110_CTRL1] &= ~(0x1f << 3);
regs              209 drivers/media/dvb-frontends/stv6110.c 	priv->regs[RSTV6110_CTRL1] |=
regs              213 drivers/media/dvb-frontends/stv6110.c 	priv->regs[RSTV6110_CTRL2] &= ~0xc0;
regs              214 drivers/media/dvb-frontends/stv6110.c 	priv->regs[RSTV6110_CTRL2] |= (priv->clk_div << 6);
regs              216 drivers/media/dvb-frontends/stv6110.c 	stv6110_write_regs(fe, &priv->regs[RSTV6110_CTRL1], RSTV6110_CTRL1, 8);
regs              227 drivers/media/dvb-frontends/stv6110.c 	u8 regs[] = { 0, 0, 0, 0, 0, 0, 0, 0 };
regs              229 drivers/media/dvb-frontends/stv6110.c 	stv6110_read_regs(fe, regs, 0, 8);
regs              231 drivers/media/dvb-frontends/stv6110.c 	divider = (priv->regs[RSTV6110_TUNING2] & 0x0f) << 8;
regs              232 drivers/media/dvb-frontends/stv6110.c 	divider += priv->regs[RSTV6110_TUNING1];
regs              235 drivers/media/dvb-frontends/stv6110.c 	nbsteps  = (priv->regs[RSTV6110_TUNING2] >> 6) & 3;
regs              237 drivers/media/dvb-frontends/stv6110.c 	psd2  = (priv->regs[RSTV6110_TUNING2] >> 4) & 1;
regs              259 drivers/media/dvb-frontends/stv6110.c 	priv->regs[RSTV6110_CTRL1] &= ~(0x1f << 3);
regs              260 drivers/media/dvb-frontends/stv6110.c 	priv->regs[RSTV6110_CTRL1] |=
regs              264 drivers/media/dvb-frontends/stv6110.c 	priv->regs[RSTV6110_CTRL2] &= ~0x0f;
regs              265 drivers/media/dvb-frontends/stv6110.c 	priv->regs[RSTV6110_CTRL2] |= (priv->gain & 0x0f);
regs              281 drivers/media/dvb-frontends/stv6110.c 	priv->regs[RSTV6110_TUNING2] &= ~(1 << 4);
regs              282 drivers/media/dvb-frontends/stv6110.c 	priv->regs[RSTV6110_TUNING2] |= (p << 4);
regs              285 drivers/media/dvb-frontends/stv6110.c 	priv->regs[RSTV6110_TUNING2] &= ~(1 << 5);
regs              286 drivers/media/dvb-frontends/stv6110.c 	priv->regs[RSTV6110_TUNING2] |= (presc << 5);
regs              303 drivers/media/dvb-frontends/stv6110.c 	priv->regs[RSTV6110_TUNING2] &= ~(3 << 6);
regs              304 drivers/media/dvb-frontends/stv6110.c 	priv->regs[RSTV6110_TUNING2] |= (((r_div_opt) & 3) << 6);
regs              307 drivers/media/dvb-frontends/stv6110.c 	priv->regs[RSTV6110_TUNING2] &= ~0x0f;
regs              308 drivers/media/dvb-frontends/stv6110.c 	priv->regs[RSTV6110_TUNING2] |= (((divider) >> 8) & 0x0f);
regs              311 drivers/media/dvb-frontends/stv6110.c 	priv->regs[RSTV6110_TUNING1] = (divider & 0xff);
regs              314 drivers/media/dvb-frontends/stv6110.c 	priv->regs[RSTV6110_STAT1] |= 0x04;
regs              315 drivers/media/dvb-frontends/stv6110.c 	stv6110_write_regs(fe, &priv->regs[RSTV6110_CTRL1],
regs              351 drivers/media/dvb-frontends/stv6110.c 	u8 regs[] = { 0, 0, 0, 0, 0, 0, 0, 0 };
regs              352 drivers/media/dvb-frontends/stv6110.c 	stv6110_read_regs(fe, regs, 0, 8);
regs              355 drivers/media/dvb-frontends/stv6110.c 	r8 = priv->regs[RSTV6110_CTRL3] & 0x1f;
regs              421 drivers/media/dvb-frontends/stv6110.c 	memcpy(&priv->regs, &reg0[1], 8);
regs               98 drivers/media/dvb-frontends/stv6110x.c 	ret = stv6110x_write_regs(stv6110x, 0, stv6110x->regs,
regs               99 drivers/media/dvb-frontends/stv6110x.c 				  ARRAY_SIZE(stv6110x->regs));
regs              115 drivers/media/dvb-frontends/stv6110x.c 	STV6110x_SETFIELD(stv6110x->regs[STV6110x_CTRL1], CTRL1_K, (REFCLOCK_MHz - 16));
regs              118 drivers/media/dvb-frontends/stv6110x.c 		STV6110x_SETFIELD(stv6110x->regs[STV6110x_TNG1], TNG1_DIV4SEL, 1);
regs              119 drivers/media/dvb-frontends/stv6110x.c 		STV6110x_SETFIELD(stv6110x->regs[STV6110x_TNG1], TNG1_PRESC32_ON, 0);
regs              122 drivers/media/dvb-frontends/stv6110x.c 		STV6110x_SETFIELD(stv6110x->regs[STV6110x_TNG1], TNG1_DIV4SEL, 1);
regs              123 drivers/media/dvb-frontends/stv6110x.c 		STV6110x_SETFIELD(stv6110x->regs[STV6110x_TNG1], TNG1_PRESC32_ON, 1);
regs              126 drivers/media/dvb-frontends/stv6110x.c 		STV6110x_SETFIELD(stv6110x->regs[STV6110x_TNG1], TNG1_DIV4SEL, 0);
regs              127 drivers/media/dvb-frontends/stv6110x.c 		STV6110x_SETFIELD(stv6110x->regs[STV6110x_TNG1], TNG1_PRESC32_ON, 0);
regs              130 drivers/media/dvb-frontends/stv6110x.c 		STV6110x_SETFIELD(stv6110x->regs[STV6110x_TNG1], TNG1_DIV4SEL, 0);
regs              131 drivers/media/dvb-frontends/stv6110x.c 		STV6110x_SETFIELD(stv6110x->regs[STV6110x_TNG1], TNG1_PRESC32_ON, 1);
regs              147 drivers/media/dvb-frontends/stv6110x.c 	STV6110x_SETFIELD(stv6110x->regs[STV6110x_TNG1], TNG1_R_DIV, rDivOpt);
regs              148 drivers/media/dvb-frontends/stv6110x.c 	STV6110x_SETFIELD(stv6110x->regs[STV6110x_TNG1], TNG1_N_DIV_11_8, MSB(divider));
regs              149 drivers/media/dvb-frontends/stv6110x.c 	STV6110x_SETFIELD(stv6110x->regs[STV6110x_TNG0], TNG0_N_DIV_7_0, LSB(divider));
regs              152 drivers/media/dvb-frontends/stv6110x.c 	STV6110x_SETFIELD(stv6110x->regs[STV6110x_STAT1], STAT1_CALVCO_STRT, 1);
regs              154 drivers/media/dvb-frontends/stv6110x.c 	stv6110x_write_reg(stv6110x, STV6110x_CTRL1, stv6110x->regs[STV6110x_CTRL1]);
regs              155 drivers/media/dvb-frontends/stv6110x.c 	stv6110x_write_reg(stv6110x, STV6110x_TNG1, stv6110x->regs[STV6110x_TNG1]);
regs              156 drivers/media/dvb-frontends/stv6110x.c 	stv6110x_write_reg(stv6110x, STV6110x_TNG0, stv6110x->regs[STV6110x_TNG0]);
regs              157 drivers/media/dvb-frontends/stv6110x.c 	stv6110x_write_reg(stv6110x, STV6110x_STAT1, stv6110x->regs[STV6110x_STAT1]);
regs              160 drivers/media/dvb-frontends/stv6110x.c 		stv6110x_read_reg(stv6110x, STV6110x_STAT1, &stv6110x->regs[STV6110x_STAT1]);
regs              161 drivers/media/dvb-frontends/stv6110x.c 		if (!STV6110x_GETFIELD(STAT1_CALVCO_STRT, stv6110x->regs[STV6110x_STAT1]))
regs              173 drivers/media/dvb-frontends/stv6110x.c 	stv6110x_read_reg(stv6110x, STV6110x_TNG1, &stv6110x->regs[STV6110x_TNG1]);
regs              174 drivers/media/dvb-frontends/stv6110x.c 	stv6110x_read_reg(stv6110x, STV6110x_TNG0, &stv6110x->regs[STV6110x_TNG0]);
regs              176 drivers/media/dvb-frontends/stv6110x.c 	*frequency = (MAKEWORD16(STV6110x_GETFIELD(TNG1_N_DIV_11_8, stv6110x->regs[STV6110x_TNG1]),
regs              177 drivers/media/dvb-frontends/stv6110x.c 				 STV6110x_GETFIELD(TNG0_N_DIV_7_0, stv6110x->regs[STV6110x_TNG0]))) * REFCLOCK_kHz;
regs              179 drivers/media/dvb-frontends/stv6110x.c 	*frequency /= (1 << (STV6110x_GETFIELD(TNG1_R_DIV, stv6110x->regs[STV6110x_TNG1]) +
regs              180 drivers/media/dvb-frontends/stv6110x.c 			     STV6110x_GETFIELD(TNG1_DIV4SEL, stv6110x->regs[STV6110x_TNG1])));
regs              196 drivers/media/dvb-frontends/stv6110x.c 		STV6110x_SETFIELD(stv6110x->regs[STV6110x_CTRL3], CTRL3_CF, 31); /* LPF */
regs              198 drivers/media/dvb-frontends/stv6110x.c 		STV6110x_SETFIELD(stv6110x->regs[STV6110x_CTRL3], CTRL3_CF, 0); /* LPF */
regs              200 drivers/media/dvb-frontends/stv6110x.c 		STV6110x_SETFIELD(stv6110x->regs[STV6110x_CTRL3], CTRL3_CF, ((halfbw / 1000000) - 5)); /* LPF */
regs              203 drivers/media/dvb-frontends/stv6110x.c 	STV6110x_SETFIELD(stv6110x->regs[STV6110x_CTRL3], CTRL3_RCCLK_OFF, 0x0); /* cal. clk activated */
regs              204 drivers/media/dvb-frontends/stv6110x.c 	STV6110x_SETFIELD(stv6110x->regs[STV6110x_STAT1], STAT1_CALRC_STRT, 0x1); /* LPF auto cal */
regs              206 drivers/media/dvb-frontends/stv6110x.c 	stv6110x_write_reg(stv6110x, STV6110x_CTRL3, stv6110x->regs[STV6110x_CTRL3]);
regs              207 drivers/media/dvb-frontends/stv6110x.c 	stv6110x_write_reg(stv6110x, STV6110x_STAT1, stv6110x->regs[STV6110x_STAT1]);
regs              210 drivers/media/dvb-frontends/stv6110x.c 		stv6110x_read_reg(stv6110x, STV6110x_STAT1, &stv6110x->regs[STV6110x_STAT1]);
regs              211 drivers/media/dvb-frontends/stv6110x.c 		if (!STV6110x_GETFIELD(STAT1_CALRC_STRT, stv6110x->regs[STV6110x_STAT1]))
regs              215 drivers/media/dvb-frontends/stv6110x.c 	STV6110x_SETFIELD(stv6110x->regs[STV6110x_CTRL3], CTRL3_RCCLK_OFF, 0x1); /* cal. done */
regs              216 drivers/media/dvb-frontends/stv6110x.c 	stv6110x_write_reg(stv6110x, STV6110x_CTRL3, stv6110x->regs[STV6110x_CTRL3]);
regs              225 drivers/media/dvb-frontends/stv6110x.c 	stv6110x_read_reg(stv6110x, STV6110x_CTRL3, &stv6110x->regs[STV6110x_CTRL3]);
regs              226 drivers/media/dvb-frontends/stv6110x.c 	*bandwidth = (STV6110x_GETFIELD(CTRL3_CF, stv6110x->regs[STV6110x_CTRL3]) + 5) * 2000000;
regs              239 drivers/media/dvb-frontends/stv6110x.c 		STV6110x_SETFIELD(stv6110x->regs[STV6110x_CTRL2], CTRL2_CO_DIV, 0);
regs              242 drivers/media/dvb-frontends/stv6110x.c 		STV6110x_SETFIELD(stv6110x->regs[STV6110x_CTRL2], CTRL2_CO_DIV, 1);
regs              245 drivers/media/dvb-frontends/stv6110x.c 		STV6110x_SETFIELD(stv6110x->regs[STV6110x_CTRL2], CTRL2_CO_DIV, 2);
regs              249 drivers/media/dvb-frontends/stv6110x.c 		STV6110x_SETFIELD(stv6110x->regs[STV6110x_CTRL2], CTRL2_CO_DIV, 3);
regs              252 drivers/media/dvb-frontends/stv6110x.c 	stv6110x_write_reg(stv6110x, STV6110x_CTRL2, stv6110x->regs[STV6110x_CTRL2]);
regs              261 drivers/media/dvb-frontends/stv6110x.c 	stv6110x_read_reg(stv6110x, STV6110x_CTRL2, &stv6110x->regs[STV6110x_CTRL2]);
regs              262 drivers/media/dvb-frontends/stv6110x.c 	*gain = 2 * STV6110x_GETFIELD(CTRL2_BBGAIN, stv6110x->regs[STV6110x_CTRL2]);
regs              271 drivers/media/dvb-frontends/stv6110x.c 	STV6110x_SETFIELD(stv6110x->regs[STV6110x_CTRL2], CTRL2_BBGAIN, gain / 2);
regs              272 drivers/media/dvb-frontends/stv6110x.c 	stv6110x_write_reg(stv6110x, STV6110x_CTRL2, stv6110x->regs[STV6110x_CTRL2]);
regs              284 drivers/media/dvb-frontends/stv6110x.c 		STV6110x_SETFIELD(stv6110x->regs[STV6110x_CTRL1], CTRL1_SYN, 0);
regs              285 drivers/media/dvb-frontends/stv6110x.c 		STV6110x_SETFIELD(stv6110x->regs[STV6110x_CTRL1], CTRL1_RX, 0);
regs              286 drivers/media/dvb-frontends/stv6110x.c 		STV6110x_SETFIELD(stv6110x->regs[STV6110x_CTRL1], CTRL1_LPT, 0);
regs              290 drivers/media/dvb-frontends/stv6110x.c 		STV6110x_SETFIELD(stv6110x->regs[STV6110x_CTRL1], CTRL1_SYN, 1);
regs              291 drivers/media/dvb-frontends/stv6110x.c 		STV6110x_SETFIELD(stv6110x->regs[STV6110x_CTRL1], CTRL1_RX, 1);
regs              292 drivers/media/dvb-frontends/stv6110x.c 		STV6110x_SETFIELD(stv6110x->regs[STV6110x_CTRL1], CTRL1_LPT, 1);
regs              296 drivers/media/dvb-frontends/stv6110x.c 	ret = stv6110x_write_reg(stv6110x, STV6110x_CTRL1, stv6110x->regs[STV6110x_CTRL1]);
regs              317 drivers/media/dvb-frontends/stv6110x.c 	stv6110x_read_reg(stv6110x, STV6110x_STAT1, &stv6110x->regs[STV6110x_STAT1]);
regs              319 drivers/media/dvb-frontends/stv6110x.c 	if (STV6110x_GETFIELD(STAT1_LOCK, stv6110x->regs[STV6110x_STAT1]))
regs              340 drivers/media/dvb-frontends/stv6110x.c 	memcpy(stv6110x->regs, default_regs, 8);
regs              348 drivers/media/dvb-frontends/stv6110x.c 		STV6110x_SETFIELD(stv6110x->regs[STV6110x_CTRL2],
regs              353 drivers/media/dvb-frontends/stv6110x.c 		STV6110x_SETFIELD(stv6110x->regs[STV6110x_CTRL2],
regs              358 drivers/media/dvb-frontends/stv6110x.c 		STV6110x_SETFIELD(stv6110x->regs[STV6110x_CTRL2],
regs              364 drivers/media/dvb-frontends/stv6110x.c 		STV6110x_SETFIELD(stv6110x->regs[STV6110x_CTRL2],
regs               60 drivers/media/dvb-frontends/stv6110x_priv.h 	u8				regs[8];
regs               46 drivers/media/dvb-frontends/tc90522.c reg_write(struct tc90522_state *state, const struct reg_val *regs, int num)
regs               56 drivers/media/dvb-frontends/tc90522.c 		msg.buf = (u8 *)&regs[i];
regs               88 drivers/media/i2c/adv7183.c 		const unsigned char *regs, unsigned int num)
regs               99 drivers/media/i2c/adv7183.c 		reg = *regs++;
regs              100 drivers/media/i2c/adv7183.c 		data = *regs++;
regs              217 drivers/media/i2c/adv748x/adv748x-core.c 			      const struct adv748x_reg_value *regs)
regs              221 drivers/media/i2c/adv748x/adv748x-core.c 	for (; regs->page != ADV748X_PAGE_EOR; regs++) {
regs              222 drivers/media/i2c/adv748x/adv748x-core.c 		ret = adv748x_write(state, regs->page, regs->reg, regs->value);
regs              225 drivers/media/i2c/adv748x/adv748x-core.c 				regs->page, regs->reg);
regs              265 drivers/media/i2c/et8ek8/et8ek8_driver.c 				 const struct et8ek8_reg *regs)
regs              273 drivers/media/i2c/et8ek8/et8ek8_driver.c 	if (!regs)
regs              277 drivers/media/i2c/et8ek8/et8ek8_driver.c 	next = regs;
regs              304 drivers/media/i2c/et8ek8/et8ek8_driver.c 		r = et8ek8_i2c_buffered_write_regs(client, regs, cnt);
regs              323 drivers/media/i2c/et8ek8/et8ek8_driver.c 			regs = next;
regs              385 drivers/media/i2c/et8ek8/et8ek8_driver.c 	return et8ek8_i2c_write_regs(client, reglist->regs);
regs              752 drivers/media/i2c/et8ek8/et8ek8_driver.c 	rval = et8ek8_i2c_write_regs(client, sensor->current_reglist->regs);
regs               57 drivers/media/i2c/et8ek8/et8ek8_mode.c 	.regs = {
regs              158 drivers/media/i2c/et8ek8/et8ek8_mode.c 	.regs = {
regs              214 drivers/media/i2c/et8ek8/et8ek8_mode.c 	.regs = {
regs              270 drivers/media/i2c/et8ek8/et8ek8_mode.c 	.regs = {
regs              326 drivers/media/i2c/et8ek8/et8ek8_mode.c 	.regs = {
regs              382 drivers/media/i2c/et8ek8/et8ek8_mode.c 	.regs = {
regs              437 drivers/media/i2c/et8ek8/et8ek8_mode.c 	.regs = {
regs              493 drivers/media/i2c/et8ek8/et8ek8_mode.c 	.regs = {
regs              549 drivers/media/i2c/et8ek8/et8ek8_mode.c 	.regs = {
regs               75 drivers/media/i2c/et8ek8/et8ek8_reg.h 	struct et8ek8_reg regs[];
regs               78 drivers/media/i2c/imx258.c 	const struct imx258_reg *regs;
regs              541 drivers/media/i2c/imx258.c 			.regs = mipi_data_rate_1267mbps,
regs              548 drivers/media/i2c/imx258.c 			.regs = mipi_data_rate_640mbps,
regs              562 drivers/media/i2c/imx258.c 			.regs = mode_4208x3118_regs,
regs              573 drivers/media/i2c/imx258.c 			.regs = mode_2104_1560_regs,
regs              584 drivers/media/i2c/imx258.c 			.regs = mode_1048_780_regs,
regs              672 drivers/media/i2c/imx258.c 			     const struct imx258_reg *regs, u32 len)
regs              679 drivers/media/i2c/imx258.c 		ret = imx258_write_reg(imx258, regs[i].address, 1,
regs              680 drivers/media/i2c/imx258.c 					regs[i].val);
regs              685 drivers/media/i2c/imx258.c 				regs[i].address, ret);
regs              922 drivers/media/i2c/imx258.c 	ret = imx258_write_regs(imx258, reg_list->regs, reg_list->num_of_regs);
regs              930 drivers/media/i2c/imx258.c 	ret = imx258_write_regs(imx258, reg_list->regs, reg_list->num_of_regs);
regs               84 drivers/media/i2c/imx319.c 	const struct imx319_reg *regs;
regs              254 drivers/media/i2c/imx319.c 	.regs = imx319_global_regs,
regs             1673 drivers/media/i2c/imx319.c 			.regs = mode_3280x2464_regs,
regs             1685 drivers/media/i2c/imx319.c 			.regs = mode_3264x2448_regs,
regs             1697 drivers/media/i2c/imx319.c 			.regs = mode_1936x1096_regs,
regs             1709 drivers/media/i2c/imx319.c 			.regs = mode_1920x1080_regs,
regs             1721 drivers/media/i2c/imx319.c 			.regs = mode_1640x1232_regs,
regs             1733 drivers/media/i2c/imx319.c 			.regs = mode_1640x922_regs,
regs             1745 drivers/media/i2c/imx319.c 			.regs = mode_1296x736_regs,
regs             1757 drivers/media/i2c/imx319.c 			.regs = mode_1280x720_regs,
regs             1839 drivers/media/i2c/imx319.c 			     const struct imx319_reg *regs, u32 len)
regs             1846 drivers/media/i2c/imx319.c 		ret = imx319_write_reg(imx319, regs[i].address, 1, regs[i].val);
regs             1850 drivers/media/i2c/imx319.c 					    regs[i].address, ret);
regs             2096 drivers/media/i2c/imx319.c 	ret = imx319_write_regs(imx319, reg_list->regs, reg_list->num_of_regs);
regs             2104 drivers/media/i2c/imx319.c 	ret = imx319_write_regs(imx319, reg_list->regs, reg_list->num_of_regs);
regs               70 drivers/media/i2c/imx355.c 	const struct imx355_reg *regs;
regs              188 drivers/media/i2c/imx355.c 	.regs = imx355_global_regs,
regs              901 drivers/media/i2c/imx355.c 			.regs = mode_3280x2464_regs,
regs              913 drivers/media/i2c/imx355.c 			.regs = mode_3268x2448_regs,
regs              925 drivers/media/i2c/imx355.c 			.regs = mode_3264x2448_regs,
regs              937 drivers/media/i2c/imx355.c 			.regs = mode_1940x1096_regs,
regs              949 drivers/media/i2c/imx355.c 			.regs = mode_1936x1096_regs,
regs              961 drivers/media/i2c/imx355.c 			.regs = mode_1924x1080_regs,
regs              973 drivers/media/i2c/imx355.c 			.regs = mode_1920x1080_regs,
regs              985 drivers/media/i2c/imx355.c 			.regs = mode_1640x1232_regs,
regs              997 drivers/media/i2c/imx355.c 			.regs = mode_1640x922_regs,
regs             1009 drivers/media/i2c/imx355.c 			.regs = mode_1300x736_regs,
regs             1021 drivers/media/i2c/imx355.c 			.regs = mode_1296x736_regs,
regs             1033 drivers/media/i2c/imx355.c 			.regs = mode_1284x720_regs,
regs             1045 drivers/media/i2c/imx355.c 			.regs = mode_1280x720_regs,
regs             1057 drivers/media/i2c/imx355.c 			.regs = mode_820x616_regs,
regs             1139 drivers/media/i2c/imx355.c 			     const struct imx355_reg *regs, u32 len)
regs             1146 drivers/media/i2c/imx355.c 		ret = imx355_write_reg(imx355, regs[i].address, 1, regs[i].val);
regs             1150 drivers/media/i2c/imx355.c 					    regs[i].address, ret);
regs             1397 drivers/media/i2c/imx355.c 	ret = imx355_write_regs(imx355, reg_list->regs, reg_list->num_of_regs);
regs             1405 drivers/media/i2c/imx355.c 	ret = imx355_write_regs(imx355, reg_list->regs, reg_list->num_of_regs);
regs              189 drivers/media/i2c/ks0127.c 	u8		regs[256];
regs              338 drivers/media/i2c/ks0127.c 	ks->regs[reg] = val;
regs              347 drivers/media/i2c/ks0127.c 	u8 val = ks->regs[reg];
regs              154 drivers/media/i2c/mt9m001.c 			   const struct mt9m001_reg *regs, int num)
regs              159 drivers/media/i2c/mt9m001.c 		int ret = reg_write(client, regs[i].reg, regs[i].data);
regs              190 drivers/media/i2c/mt9m001.c 	const struct mt9m001_reg regs[] = {
regs              205 drivers/media/i2c/mt9m001.c 	return multi_reg_write(client, regs, ARRAY_SIZE(regs));
regs               91 drivers/media/i2c/ov13858.c 	const struct ov13858_reg *regs;
regs              968 drivers/media/i2c/ov13858.c 			.regs = mipi_data_rate_1080mbps,
regs              975 drivers/media/i2c/ov13858.c 			.regs = mipi_data_rate_540mbps,
regs              989 drivers/media/i2c/ov13858.c 			.regs = mode_4224x3136_regs,
regs             1000 drivers/media/i2c/ov13858.c 			.regs = mode_2112x1568_regs,
regs             1011 drivers/media/i2c/ov13858.c 			.regs = mode_2112x1188_regs,
regs             1022 drivers/media/i2c/ov13858.c 			.regs = mode_1056x784_regs,
regs             1119 drivers/media/i2c/ov13858.c 			      const struct ov13858_reg *regs, u32 len)
regs             1126 drivers/media/i2c/ov13858.c 		ret = ov13858_write_reg(ov13858, regs[i].address, 1,
regs             1127 drivers/media/i2c/ov13858.c 					regs[i].val);
regs             1132 drivers/media/i2c/ov13858.c 				regs[i].address, ret);
regs             1144 drivers/media/i2c/ov13858.c 	return ov13858_write_regs(ov13858, r_list->regs, r_list->num_of_regs);
regs              292 drivers/media/i2c/ov2640.c 	const struct regval_list	*regs;
regs              577 drivers/media/i2c/ov2640.c 	{.name = n, .width = w , .height = h, .regs = r }
regs              886 drivers/media/i2c/ov2640.c 	ret = ov2640_write_array(client, win->regs);
regs              201 drivers/media/i2c/ov2659.c 	const struct sensor_register *regs;
regs              761 drivers/media/i2c/ov2659.c 		.regs		= ov2659_qvga,
regs              766 drivers/media/i2c/ov2659.c 		.regs		= ov2659_vga,
regs              771 drivers/media/i2c/ov2659.c 		.regs		= ov2659_svga,
regs              776 drivers/media/i2c/ov2659.c 		.regs		= ov2659_xga,
regs              781 drivers/media/i2c/ov2659.c 		.regs		= ov2659_720p,
regs              786 drivers/media/i2c/ov2659.c 		.regs		= ov2659_sxga,
regs              791 drivers/media/i2c/ov2659.c 		.regs		= ov2659_uxga,
regs              900 drivers/media/i2c/ov2659.c 			      const struct sensor_register *regs)
regs              904 drivers/media/i2c/ov2659.c 	for (i = 0; ret == 0 && regs[i].addr; i++)
regs              905 drivers/media/i2c/ov2659.c 		ret = ov2659_write(client, regs[i].addr, regs[i].value);
regs             1088 drivers/media/i2c/ov2659.c 		if ((err < min_err) && (fsize->regs[0].addr)) {
regs             1174 drivers/media/i2c/ov2659.c 	return ov2659_write_array(ov2659->client, ov2659->frame_size->regs);
regs              288 drivers/media/i2c/ov2680.c 	const struct reg_value *regs = mode->reg_data;
regs              294 drivers/media/i2c/ov2680.c 	for (i = 0; i < mode->reg_data_size; ++i, ++regs) {
regs              295 drivers/media/i2c/ov2680.c 		reg_addr = regs->reg_addr;
regs              296 drivers/media/i2c/ov2680.c 		val = regs->val;
regs              274 drivers/media/i2c/ov2685.c 			      const struct regval *regs)
regs              279 drivers/media/i2c/ov2685.c 	for (i = 0; ret == 0 && regs[i].addr != REG_NULL; i++)
regs              280 drivers/media/i2c/ov2685.c 		ret = ov2685_write_reg(client, regs[i].addr,
regs              281 drivers/media/i2c/ov2685.c 				       OV2685_REG_VALUE_08BIT, regs[i].val);
regs             1099 drivers/media/i2c/ov5640.c 	const struct reg_value *regs = mode->reg_data;
regs             1106 drivers/media/i2c/ov5640.c 	for (i = 0; i < mode->reg_data_size; ++i, ++regs) {
regs             1107 drivers/media/i2c/ov5640.c 		delay_ms = regs->delay_ms;
regs             1108 drivers/media/i2c/ov5640.c 		reg_addr = regs->reg_addr;
regs             1109 drivers/media/i2c/ov5640.c 		val = regs->val;
regs             1110 drivers/media/i2c/ov5640.c 		mask = regs->mask;
regs              235 drivers/media/i2c/ov5647.c 				struct regval_list *regs, int array_size)
regs              240 drivers/media/i2c/ov5647.c 		ret = ov5647_write(sd, regs[i].addr, regs[i].data);
regs               76 drivers/media/i2c/ov5670.c 	const struct ov5670_reg *regs;
regs             1731 drivers/media/i2c/ov5670.c 			.regs = mipi_data_rate_840mbps,
regs             1753 drivers/media/i2c/ov5670.c 			.regs = mode_2592x1944_regs,
regs             1764 drivers/media/i2c/ov5670.c 			.regs = mode_1296x972_regs,
regs             1775 drivers/media/i2c/ov5670.c 			.regs = mode_648x486_regs,
regs             1786 drivers/media/i2c/ov5670.c 			.regs = mode_2560x1440_regs,
regs             1797 drivers/media/i2c/ov5670.c 			.regs = mode_1280x720_regs,
regs             1808 drivers/media/i2c/ov5670.c 			.regs = mode_640x360_regs,
regs             1907 drivers/media/i2c/ov5670.c 			     const struct ov5670_reg *regs, unsigned int len)
regs             1914 drivers/media/i2c/ov5670.c 		ret = ov5670_write_reg(ov5670, regs[i].address, 1, regs[i].val);
regs             1919 drivers/media/i2c/ov5670.c 				regs[i].address, ret);
regs             1931 drivers/media/i2c/ov5670.c 	return ov5670_write_regs(ov5670, r_list->regs, r_list->num_of_regs);
regs               79 drivers/media/i2c/ov5675.c 	const struct ov5675_reg *regs;
regs              440 drivers/media/i2c/ov5675.c 			.regs = mipi_data_rate_900mbps,
regs              454 drivers/media/i2c/ov5675.c 			.regs = mode_2592x1944_regs,
regs              466 drivers/media/i2c/ov5675.c 			.regs = mode_1296x972_regs,
regs              566 drivers/media/i2c/ov5675.c 		ret = ov5675_write_reg(ov5675, r_list->regs[i].address, 1,
regs              567 drivers/media/i2c/ov5675.c 				       r_list->regs[i].val);
regs              571 drivers/media/i2c/ov5675.c 				    r_list->regs[i].address, ret);
regs              734 drivers/media/i2c/ov5695.c 			      const struct regval *regs)
regs              739 drivers/media/i2c/ov5695.c 	for (i = 0; ret == 0 && regs[i].addr != REG_NULL; i++)
regs              740 drivers/media/i2c/ov5695.c 		ret = ov5695_write_reg(client, regs[i].addr,
regs              741 drivers/media/i2c/ov5695.c 				       OV5695_REG_VALUE_08BIT, regs[i].val);
regs               26 drivers/media/i2c/ov7640.c static int write_regs(struct i2c_client *client, const u8 *regs)
regs               30 drivers/media/i2c/ov7640.c 	for (i = 0; regs[i] != 0xFF; i += 2)
regs               31 drivers/media/i2c/ov7640.c 		if (i2c_smbus_write_byte_data(client, regs[i], regs[i + 1]) < 0)
regs              203 drivers/media/i2c/ov7670.c 	struct regval_list *regs; /* Regs to tweak */
regs              667 drivers/media/i2c/ov7670.c 	struct regval_list *regs;
regs              673 drivers/media/i2c/ov7670.c 		.regs		= ov7670_fmt_yuv422,
regs              679 drivers/media/i2c/ov7670.c 		.regs		= ov7670_fmt_rgb444,
regs              685 drivers/media/i2c/ov7670.c 		.regs		= ov7670_fmt_rgb565,
regs              691 drivers/media/i2c/ov7670.c 		.regs		= ov7670_fmt_raw,
regs              737 drivers/media/i2c/ov7670.c 		.regs		= NULL,
regs              748 drivers/media/i2c/ov7670.c 		.regs		= NULL,
regs              759 drivers/media/i2c/ov7670.c 		.regs		= NULL,
regs              770 drivers/media/i2c/ov7670.c 		.regs		= ov7670_qcif_regs,
regs              788 drivers/media/i2c/ov7670.c 		.regs		= NULL,
regs             1036 drivers/media/i2c/ov7670.c 	com7 = info->fmt->regs[0].value;
regs             1058 drivers/media/i2c/ov7670.c 	ret = ov7670_write_array(sd, info->fmt->regs + 1);
regs             1067 drivers/media/i2c/ov7670.c 	if (wsize->regs) {
regs             1068 drivers/media/i2c/ov7670.c 		ret = ov7670_write_array(sd, wsize->regs);
regs              132 drivers/media/i2c/ov7740.c 	const struct reg_sequence *regs;
regs              139 drivers/media/i2c/ov7740.c 	const struct reg_sequence *regs;
regs              264 drivers/media/i2c/ov7740.c 		.regs		= ov7740_vga,
regs              597 drivers/media/i2c/ov7740.c 					     ov7740->fmt->regs,
regs              605 drivers/media/i2c/ov7740.c 					     ov7740->frmsize->regs,
regs              699 drivers/media/i2c/ov7740.c 		.regs = ov7740_format_yuyv,
regs              705 drivers/media/i2c/ov7740.c 		.regs = ov7740_format_bggr8,
regs               79 drivers/media/i2c/ov8856.c 	const struct ov8856_reg *regs;
regs              526 drivers/media/i2c/ov8856.c 			.regs = mipi_data_rate_720mbps,
regs              532 drivers/media/i2c/ov8856.c 			.regs = mipi_data_rate_360mbps,
regs              546 drivers/media/i2c/ov8856.c 			.regs = mode_3280x2464_regs,
regs              558 drivers/media/i2c/ov8856.c 			.regs = mode_1640x1232_regs,
regs              658 drivers/media/i2c/ov8856.c 		ret = ov8856_write_reg(ov8856, r_list->regs[i].address, 1,
regs              659 drivers/media/i2c/ov8856.c 				       r_list->regs[i].val);
regs              663 drivers/media/i2c/ov8856.c 				    r_list->regs[i].address, ret);
regs              232 drivers/media/i2c/ov9650.c 	const u8 *regs;
regs              373 drivers/media/i2c/ov9650.c 		.regs		= ov965x_sxga_regs,
regs              378 drivers/media/i2c/ov9650.c 		.regs		= ov965x_vga_regs,
regs              383 drivers/media/i2c/ov9650.c 		.regs		= ov965x_qvga_regs,
regs              455 drivers/media/i2c/ov9650.c 			      const struct i2c_rv *regs)
regs              459 drivers/media/i2c/ov9650.c 	for (i = 0; ret == 0 && regs[i].addr != REG_NULL; i++)
regs              460 drivers/media/i2c/ov9650.c 		ret = ov965x_write(ov965x, regs[i].addr, regs[i].value);
regs              651 drivers/media/i2c/ov9650.c 	static const u8 regs[NUM_BR_LEVELS + 1][NUM_BR_REGS] = {
regs              668 drivers/media/i2c/ov9650.c 		ret = ov965x_write(ov965x, regs[0][i],
regs              669 drivers/media/i2c/ov9650.c 				   regs[val][i]);
regs              824 drivers/media/i2c/ov9650.c 	static const u8 regs[NUM_SAT_LEVELS][NUM_SAT_REGS] = {
regs              840 drivers/media/i2c/ov9650.c 		ret = ov965x_write(ov965x, addr + i, regs[val][i]);
regs             1273 drivers/media/i2c/ov9650.c 				   ov965x->frame_size->regs[i]);
regs              621 drivers/media/i2c/s5c73m3/s5c73m3-core.c 	static const u32 regs[][2] = {
regs              629 drivers/media/i2c/s5c73m3/s5c73m3-core.c 	for (i = 0; i < ARRAY_SIZE(regs); i++) {
regs              630 drivers/media/i2c/s5c73m3/s5c73m3-core.c 		ret = s5c73m3_write(state, regs[i][0], regs[i][1]);
regs              154 drivers/media/i2c/saa7115.c static int saa711x_writeregs(struct v4l2_subdev *sd, const unsigned char *regs)
regs              159 drivers/media/i2c/saa7115.c 	while (*regs != 0x00) {
regs              160 drivers/media/i2c/saa7115.c 		reg = *(regs++);
regs              161 drivers/media/i2c/saa7115.c 		data = *(regs++);
regs              327 drivers/media/i2c/saa7127.c 				 const struct i2c_reg_value *regs)
regs              329 drivers/media/i2c/saa7127.c 	while (regs->reg != 0) {
regs              330 drivers/media/i2c/saa7127.c 		saa7127_write(sd, regs->reg, regs->value);
regs              331 drivers/media/i2c/saa7127.c 		regs++;
regs               21 drivers/media/i2c/smiapp/smiapp-quirk.c 			   const struct smiapp_reg_8 *regs, int len)
regs               26 drivers/media/i2c/smiapp/smiapp-quirk.c 	for (; len > 0; len--, regs++) {
regs               27 drivers/media/i2c/smiapp/smiapp-quirk.c 		rval = smiapp_write_8(sensor, regs->reg, regs->val);
regs               31 drivers/media/i2c/smiapp/smiapp-quirk.c 				rval, regs->reg, regs->val);
regs               66 drivers/media/i2c/smiapp/smiapp-quirk.c 	static const struct smiapp_reg_8 regs[] = {
regs               99 drivers/media/i2c/smiapp/smiapp-quirk.c 	return smiapp_write_8s(sensor, regs, ARRAY_SIZE(regs));
regs              110 drivers/media/i2c/smiapp/smiapp-quirk.c 	static const struct smiapp_reg_8 regs[] = {
regs              120 drivers/media/i2c/smiapp/smiapp-quirk.c 	return smiapp_write_8s(sensor, regs, ARRAY_SIZE(regs));
regs              140 drivers/media/i2c/smiapp/smiapp-quirk.c 	static const struct smiapp_reg_8 regs[] = {
regs              167 drivers/media/i2c/smiapp/smiapp-quirk.c 	rval = smiapp_write_8s(sensor, regs, ARRAY_SIZE(regs));
regs              575 drivers/media/i2c/tvp5150.c 				const struct i2c_reg_value *regs)
regs              579 drivers/media/i2c/tvp5150.c 	while (regs->reg != 0xff) {
regs              580 drivers/media/i2c/tvp5150.c 		regmap_write(decoder->regmap, regs->reg, regs->value);
regs              581 drivers/media/i2c/tvp5150.c 		regs++;
regs              602 drivers/media/i2c/tvp5150.c 		const struct i2c_vbi_ram_value *regs = &vbi_ram_default[j];
regs              604 drivers/media/i2c/tvp5150.c 		if (!regs->type.vbi_type)
regs              607 drivers/media/i2c/tvp5150.c 		regmap_write(map, TVP5150_CONF_RAM_ADDR_HIGH, regs->reg >> 8);
regs              608 drivers/media/i2c/tvp5150.c 		regmap_write(map, TVP5150_CONF_RAM_ADDR_LOW, regs->reg);
regs              612 drivers/media/i2c/tvp5150.c 				     regs->values[i]);
regs              627 drivers/media/i2c/tvp5150.c 		const struct i2c_vbi_ram_value *regs = &vbi_ram_default[i];
regs              629 drivers/media/i2c/tvp5150.c 		if (!regs->type.vbi_type)
regs              632 drivers/media/i2c/tvp5150.c 		for (line = regs->type.ini_line;
regs              633 drivers/media/i2c/tvp5150.c 		     line <= regs->type.end_line;
regs              635 drivers/media/i2c/tvp5150.c 			cap->service_lines[0][line] |= regs->type.vbi_type;
regs              637 drivers/media/i2c/tvp5150.c 		cap->service_set |= regs->type.vbi_type;
regs              676 drivers/media/i2c/tvp5150.c 		const struct i2c_vbi_ram_value *regs =  &vbi_ram_default[i];
regs              678 drivers/media/i2c/tvp5150.c 		if (!regs->type.vbi_type)
regs              681 drivers/media/i2c/tvp5150.c 		if ((type & regs->type.vbi_type) &&
regs              682 drivers/media/i2c/tvp5150.c 		    (line >= regs->type.ini_line) &&
regs              683 drivers/media/i2c/tvp5150.c 		    (line <= regs->type.end_line))
regs             1527 drivers/media/i2c/tvp5150.c 	u8 regs[4];
regs             1534 drivers/media/i2c/tvp5150.c 	res = regmap_bulk_read(core->regmap, TVP5150_MSB_DEV_ID, regs, 4);
regs             1540 drivers/media/i2c/tvp5150.c 	core->dev_id = (regs[0] << 8) | regs[1];
regs             1541 drivers/media/i2c/tvp5150.c 	core->rom_ver = (regs[2] << 8) | regs[3];
regs             1544 drivers/media/i2c/tvp5150.c 		  core->dev_id, regs[2], regs[3], c->addr << 1,
regs              535 drivers/media/i2c/tvp7002.c 					const struct i2c_reg_value *regs)
regs              540 drivers/media/i2c/tvp7002.c 	while (TVP7002_EOR != regs->reg) {
regs              541 drivers/media/i2c/tvp7002.c 		if (TVP7002_WRITE == regs->type)
regs              542 drivers/media/i2c/tvp7002.c 			tvp7002_write_err(sd, regs->reg, regs->value, &error);
regs              543 drivers/media/i2c/tvp7002.c 		regs++;
regs              111 drivers/media/i2c/tw2804.c static int write_regs(struct i2c_client *client, const u8 *regs, u8 channel)
regs              116 drivers/media/i2c/tw2804.c 	for (i = 0; regs[i] != 0xff; i += 2) {
regs              118 drivers/media/i2c/tw2804.c 				regs[i] | (channel << 6), regs[i + 1]);
regs              255 drivers/media/i2c/tw2804.c 	u8 regs[] = {
regs              269 drivers/media/i2c/tw2804.c 	write_regs(client, regs, dec->channel);
regs               97 drivers/media/i2c/tw9903.c static int write_regs(struct v4l2_subdev *sd, const u8 *regs)
regs              101 drivers/media/i2c/tw9903.c 	for (i = 0; regs[i] != 0x00; i += 2)
regs              102 drivers/media/i2c/tw9903.c 		if (write_reg(sd, regs[i], regs[i + 1]) < 0)
regs               68 drivers/media/i2c/tw9906.c static int write_regs(struct v4l2_subdev *sd, const u8 *regs)
regs               72 drivers/media/i2c/tw9906.c 	for (i = 0; regs[i] != 0x00; i += 2)
regs               73 drivers/media/i2c/tw9906.c 		if (write_reg(sd, regs[i], regs[i + 1]) < 0)
regs               51 drivers/media/i2c/upd64031a.c 	u8 regs[TOT_REGS];
regs              103 drivers/media/i2c/upd64031a.c 	u8 reg = state->regs[R00];
regs              125 drivers/media/i2c/upd64031a.c 	r00 = (state->regs[R00] & ~GR_MODE_MASK) | state->gr_mode;
regs              126 drivers/media/i2c/upd64031a.c 	r05 = (state->regs[R00] & ~SYNC_CIRCUIT_MASK) |
regs              128 drivers/media/i2c/upd64031a.c 	r08 = (state->regs[R08] & ~DIRECT_3DYCS_CONNECT_MASK) |
regs              204 drivers/media/i2c/upd64031a.c 	memcpy(state->regs, upd64031a_init, sizeof(state->regs));
regs              209 drivers/media/i2c/upd64031a.c 		upd64031a_write(sd, i, state->regs[i]);
regs               41 drivers/media/i2c/upd64083.c 	u8 regs[TOT_REGS];
regs              100 drivers/media/i2c/upd64083.c 	r00 = (state->regs[R00] & ~(3 << 6)) | state->mode;
regs              101 drivers/media/i2c/upd64083.c 	r02 = (state->regs[R02] & ~(1 << 5)) | state->ext_y_adc;
regs              178 drivers/media/i2c/upd64083.c 	memcpy(state->regs, upd64083_init, TOT_REGS);
regs              180 drivers/media/i2c/upd64083.c 		upd64083_write(sd, i, state->regs[i]);
regs              510 drivers/media/i2c/vs6624.c static int vs6624_writeregs(struct v4l2_subdev *sd, const u16 *regs)
regs              515 drivers/media/i2c/vs6624.c 	while (*regs != 0x00) {
regs              516 drivers/media/i2c/vs6624.c 		reg = *regs++;
regs              517 drivers/media/i2c/vs6624.c 		data = *regs++;
regs              237 drivers/media/pci/cobalt/cobalt-cpld.c 	u8 regs[6];
regs              267 drivers/media/pci/cobalt/cobalt-cpld.c 	regs[0] = (hsdiv << 5) | (n1 >> 2);
regs              268 drivers/media/pci/cobalt/cobalt-cpld.c 	regs[1] = ((n1 & 0x3) << 6) | (rfreq >> 32);
regs              269 drivers/media/pci/cobalt/cobalt-cpld.c 	regs[2] = (rfreq >> 24) & 0xff;
regs              270 drivers/media/pci/cobalt/cobalt-cpld.c 	regs[3] = (rfreq >> 16) & 0xff;
regs              271 drivers/media/pci/cobalt/cobalt-cpld.c 	regs[4] = (rfreq >> 8) & 0xff;
regs              272 drivers/media/pci/cobalt/cobalt-cpld.c 	regs[5] = rfreq & 0xff;
regs              281 drivers/media/pci/cobalt/cobalt-cpld.c 	cobalt_dbg(1, "%u: %6ph\n", f_out, regs);
regs              290 drivers/media/pci/cobalt/cobalt-cpld.c 		cpld_write(cobalt, SI570_REG7, regs[0]);
regs              291 drivers/media/pci/cobalt/cobalt-cpld.c 		cpld_write(cobalt, SI570_REG8, regs[1]);
regs              292 drivers/media/pci/cobalt/cobalt-cpld.c 		cpld_write(cobalt, SI570_REG9, regs[2]);
regs              293 drivers/media/pci/cobalt/cobalt-cpld.c 		cpld_write(cobalt, SI570_REG10, regs[3]);
regs              294 drivers/media/pci/cobalt/cobalt-cpld.c 		cpld_write(cobalt, SI570_REG11, regs[4]);
regs              295 drivers/media/pci/cobalt/cobalt-cpld.c 		cpld_write(cobalt, SI570_REG12, regs[5]);
regs              319 drivers/media/pci/cobalt/cobalt-cpld.c 		if (!memcmp(read_regs, regs, sizeof(read_regs)))
regs              170 drivers/media/pci/cobalt/cobalt-driver.h 	struct cobalt_i2c_regs __iomem *regs;
regs              107 drivers/media/pci/cobalt/cobalt-i2c.c static int cobalt_tx_bytes(struct cobalt_i2c_regs __iomem *regs,
regs              118 drivers/media/pci/cobalt/cobalt-i2c.c 		iowrite8(data[i], &regs->txr_rxr);
regs              135 drivers/media/pci/cobalt/cobalt-i2c.c 		iowrite8(cmd, &regs->cr_sr);
regs              139 drivers/media/pci/cobalt/cobalt-i2c.c 		status = ioread8(&regs->cr_sr);
regs              144 drivers/media/pci/cobalt/cobalt-i2c.c 			status = ioread8(&regs->cr_sr);
regs              165 drivers/media/pci/cobalt/cobalt-i2c.c static int cobalt_rx_bytes(struct cobalt_i2c_regs __iomem *regs,
regs              194 drivers/media/pci/cobalt/cobalt-i2c.c 		iowrite8(cmd, &regs->cr_sr);
regs              198 drivers/media/pci/cobalt/cobalt-i2c.c 		status = ioread8(&regs->cr_sr);
regs              203 drivers/media/pci/cobalt/cobalt-i2c.c 			status = ioread8(&regs->cr_sr);
regs              213 drivers/media/pci/cobalt/cobalt-i2c.c 		data[i] = ioread8(&regs->txr_rxr);
regs              222 drivers/media/pci/cobalt/cobalt-i2c.c static int cobalt_stop(struct cobalt_i2c_regs __iomem *regs,
regs              227 drivers/media/pci/cobalt/cobalt-i2c.c 	return cobalt_tx_bytes(regs, adap, true, true, &data, 1);
regs              234 drivers/media/pci/cobalt/cobalt-i2c.c 	struct cobalt_i2c_regs __iomem *regs = data->regs;
regs              254 drivers/media/pci/cobalt/cobalt-i2c.c 				ret = cobalt_tx_bytes(regs, adap, true, false,
regs              258 drivers/media/pci/cobalt/cobalt-i2c.c 				cobalt_stop(regs, adap);
regs              266 drivers/media/pci/cobalt/cobalt-i2c.c 			ret = cobalt_rx_bytes(regs, adap, false, stop,
regs              272 drivers/media/pci/cobalt/cobalt-i2c.c 			ret = cobalt_tx_bytes(regs, adap, false, stop,
regs              282 drivers/media/pci/cobalt/cobalt-i2c.c 		cobalt_stop(regs, adap);
regs              318 drivers/media/pci/cobalt/cobalt-i2c.c 		struct cobalt_i2c_regs __iomem *regs =
regs              323 drivers/media/pci/cobalt/cobalt-i2c.c 		iowrite8(M00018_CTR_BITMAP_EN_MSK, &regs->cr_sr);
regs              324 drivers/media/pci/cobalt/cobalt-i2c.c 		iowrite8(0, &regs->ctr);
regs              325 drivers/media/pci/cobalt/cobalt-i2c.c 		iowrite8(0, &regs->cr_sr);
regs              336 drivers/media/pci/cobalt/cobalt-i2c.c 			status = ioread8(&regs->cr_sr);
regs              340 drivers/media/pci/cobalt/cobalt-i2c.c 		iowrite8(0, &regs->ctr);
regs              341 drivers/media/pci/cobalt/cobalt-i2c.c 		iowrite8(0, &regs->cr_sr);
regs              344 drivers/media/pci/cobalt/cobalt-i2c.c 		iowrite8(prescale & 0xff, &regs->prerlo);
regs              345 drivers/media/pci/cobalt/cobalt-i2c.c 		iowrite8((prescale >> 8) & 0xff, &regs->prerhi);
regs              347 drivers/media/pci/cobalt/cobalt-i2c.c 		iowrite8(M00018_CTR_BITMAP_EN_MSK, &regs->ctr);
regs              350 drivers/media/pci/cobalt/cobalt-i2c.c 		cobalt->i2c_data[i].regs = regs;
regs              440 drivers/media/pci/cobalt/cobalt-v4l2.c 	struct v4l2_dbg_register *regs = arg;
regs              441 drivers/media/pci/cobalt/cobalt-v4l2.c 	void __iomem *adrs = cobalt->bar1 + regs->reg;
regs              448 drivers/media/pci/cobalt/cobalt-v4l2.c 	regs->size = 4;
regs              450 drivers/media/pci/cobalt/cobalt-v4l2.c 		iowrite32(regs->val, adrs);
regs              452 drivers/media/pci/cobalt/cobalt-v4l2.c 		regs->val = ioread32(adrs);
regs             1887 drivers/media/pci/ddbridge/ddbridge-core.c 				  port->i2c->regs + I2C_TIMING);
regs             1920 drivers/media/pci/ddbridge/ddbridge-core.c 				  port->i2c->regs + I2C_TIMING);
regs             1927 drivers/media/pci/ddbridge/ddbridge-core.c 		ddbwritel(dev, I2C_SPEED_400, port->i2c->regs + I2C_TIMING);
regs             1974 drivers/media/pci/ddbridge/ddbridge-core.c 		ddbwritel(dev, I2C_SPEED_400, port->i2c->regs + I2C_TIMING);
regs             1980 drivers/media/pci/ddbridge/ddbridge-core.c 		ddbwritel(dev, I2C_SPEED_100, port->i2c->regs + I2C_TIMING);
regs             1995 drivers/media/pci/ddbridge/ddbridge-core.c 		ddbwritel(dev, I2C_SPEED_100, port->i2c->regs + I2C_TIMING);
regs             2001 drivers/media/pci/ddbridge/ddbridge-core.c 		ddbwritel(dev, I2C_SPEED_400, port->i2c->regs + I2C_TIMING);
regs             2007 drivers/media/pci/ddbridge/ddbridge-core.c 		ddbwritel(dev, I2C_SPEED_100, port->i2c->regs + I2C_TIMING);
regs             2262 drivers/media/pci/ddbridge/ddbridge-core.c 		dma->regs = rm->odma->base + rm->odma->size * nr;
regs             2269 drivers/media/pci/ddbridge/ddbridge-core.c 		dma->regs = rm->idma->base + rm->idma->size * nr;
regs             2277 drivers/media/pci/ddbridge/ddbridge-core.c 		io->port->lnr, io->nr, nr, dma->regs, dma->bufregs);
regs             2290 drivers/media/pci/ddbridge/ddbridge-core.c 	input->regs = DDB_LINK_TAG(port->lnr) |
regs             2293 drivers/media/pci/ddbridge/ddbridge-core.c 		port->lnr, nr, input->regs);
regs             2321 drivers/media/pci/ddbridge/ddbridge-core.c 	output->regs = DDB_LINK_TAG(port->lnr) |
regs             2325 drivers/media/pci/ddbridge/ddbridge-core.c 		port->lnr, nr, output->regs);
regs             3409 drivers/media/pci/ddbridge/ddbridge-core.c 	if (dev->regs)
regs             3410 drivers/media/pci/ddbridge/ddbridge-core.c 		iounmap(dev->regs);
regs               46 drivers/media/pci/ddbridge/ddbridge-i2c.c 	ddbwritel(dev, (adr << 9) | cmd, i2c->regs + I2C_COMMAND);
regs               48 drivers/media/pci/ddbridge/ddbridge-i2c.c 	val = ddbreadl(dev, i2c->regs + I2C_COMMAND);
regs               68 drivers/media/pci/ddbridge/ddbridge-i2c.c 					i2c->regs + I2C_MONITOR);
regs               98 drivers/media/pci/ddbridge/ddbridge-i2c.c 				  i2c->regs + I2C_TASKLENGTH);
regs              106 drivers/media/pci/ddbridge/ddbridge-i2c.c 		ddbwritel(dev, msg[0].len, i2c->regs + I2C_TASKLENGTH);
regs              119 drivers/media/pci/ddbridge/ddbridge-i2c.c 			  i2c->regs + I2C_TASKLENGTH);
regs              173 drivers/media/pci/ddbridge/ddbridge-i2c.c 	i2c->regs = DDB_LINK_TAG(link) |
regs              175 drivers/media/pci/ddbridge/ddbridge-i2c.c 	ddbwritel(dev, I2C_SPEED_100, i2c->regs + I2C_TIMING);
regs              177 drivers/media/pci/ddbridge/ddbridge-i2c.c 		  i2c->regs + I2C_TASKADDRESS);
regs               30 drivers/media/pci/ddbridge/ddbridge-io.h 	return readl(link->dev->regs + adr);
regs               35 drivers/media/pci/ddbridge/ddbridge-io.h 	writel(val, link->dev->regs + adr);
regs               40 drivers/media/pci/ddbridge/ddbridge-io.h 	return readl(dev->regs + adr);
regs               45 drivers/media/pci/ddbridge/ddbridge-io.h 	writel(val, dev->regs + adr);
regs               50 drivers/media/pci/ddbridge/ddbridge-io.h 	memcpy_toio(dev->regs + adr, src, count);
regs               55 drivers/media/pci/ddbridge/ddbridge-io.h 	memcpy_fromio(dst, dev->regs + adr, count);
regs              210 drivers/media/pci/ddbridge/ddbridge-main.c 	dev->regs = ioremap(pci_resource_start(dev->pdev, 0),
regs              213 drivers/media/pci/ddbridge/ddbridge-main.c 	if (!dev->regs) {
regs               90 drivers/media/pci/ddbridge/ddbridge-regs.h #define TS_CONTROL(_io)         ((_io)->regs + 0x00)
regs               91 drivers/media/pci/ddbridge/ddbridge-regs.h #define TS_CONTROL2(_io)        ((_io)->regs + 0x04)
regs               96 drivers/media/pci/ddbridge/ddbridge-regs.h #define DMA_BUFFER_CONTROL(_dma)       ((_dma)->regs + 0x00)
regs               97 drivers/media/pci/ddbridge/ddbridge-regs.h #define DMA_BUFFER_ACK(_dma)           ((_dma)->regs + 0x04)
regs               98 drivers/media/pci/ddbridge/ddbridge-regs.h #define DMA_BUFFER_CURRENT(_dma)       ((_dma)->regs + 0x08)
regs               99 drivers/media/pci/ddbridge/ddbridge-regs.h #define DMA_BUFFER_SIZE(_dma)          ((_dma)->regs + 0x0c)
regs              143 drivers/media/pci/ddbridge/ddbridge.h 	u32                    regs;
regs              199 drivers/media/pci/ddbridge/ddbridge.h 	u32                    regs;
regs              211 drivers/media/pci/ddbridge/ddbridge.h 	u32                    regs;
regs              224 drivers/media/pci/ddbridge/ddbridge.h 	u32                    regs;
regs              306 drivers/media/pci/ddbridge/ddbridge.h 	u32                    regs;
regs              329 drivers/media/pci/ddbridge/ddbridge.h 	unsigned char __iomem   *regs;
regs              156 drivers/media/pci/dt3155/dt3155.c 	iowrite32(dma_addr, pd->regs + EVEN_DMA_START);
regs              157 drivers/media/pci/dt3155/dt3155.c 	iowrite32(dma_addr + pd->width, pd->regs + ODD_DMA_START);
regs              158 drivers/media/pci/dt3155/dt3155.c 	iowrite32(pd->width, pd->regs + EVEN_DMA_STRIDE);
regs              159 drivers/media/pci/dt3155/dt3155.c 	iowrite32(pd->width, pd->regs + ODD_DMA_STRIDE);
regs              162 drivers/media/pci/dt3155/dt3155.c 			FLD_END_EVEN | FLD_END_ODD, pd->regs + INT_CSR);
regs              165 drivers/media/pci/dt3155/dt3155.c 							pd->regs + CSR1);
regs              166 drivers/media/pci/dt3155/dt3155.c 	wait_i2c_reg(pd->regs);
regs              167 drivers/media/pci/dt3155/dt3155.c 	write_i2c_reg(pd->regs, CONFIG, pd->config);
regs              168 drivers/media/pci/dt3155/dt3155.c 	write_i2c_reg(pd->regs, EVEN_CSR, CSR_ERROR | CSR_DONE);
regs              169 drivers/media/pci/dt3155/dt3155.c 	write_i2c_reg(pd->regs, ODD_CSR, CSR_ERROR | CSR_DONE);
regs              172 drivers/media/pci/dt3155/dt3155.c 	write_i2c_reg(pd->regs, CSR2, pd->csr2 | BUSY_EVEN | BUSY_ODD);
regs              183 drivers/media/pci/dt3155/dt3155.c 	write_i2c_reg_nowait(pd->regs, CSR2, pd->csr2);
regs              185 drivers/media/pci/dt3155/dt3155.c 		  FLD_DN_ODD | FLD_DN_EVEN, pd->regs + CSR1);
regs              187 drivers/media/pci/dt3155/dt3155.c 	iowrite32(FLD_START | FLD_END_EVEN | FLD_END_ODD, pd->regs + INT_CSR);
regs              242 drivers/media/pci/dt3155/dt3155.c 	tmp = ioread32(ipd->regs + INT_CSR) & (FLD_START | FLD_END_ODD);
regs              247 drivers/media/pci/dt3155/dt3155.c 							ipd->regs + INT_CSR);
regs              250 drivers/media/pci/dt3155/dt3155.c 	tmp = ioread32(ipd->regs + CSR1) & (FLD_CRPT_EVEN | FLD_CRPT_ODD);
regs              255 drivers/media/pci/dt3155/dt3155.c 							ipd->regs + CSR1);
regs              269 drivers/media/pci/dt3155/dt3155.c 		iowrite32(dma_addr, ipd->regs + EVEN_DMA_START);
regs              270 drivers/media/pci/dt3155/dt3155.c 		iowrite32(dma_addr + ipd->width, ipd->regs + ODD_DMA_START);
regs              271 drivers/media/pci/dt3155/dt3155.c 		iowrite32(ipd->width, ipd->regs + EVEN_DMA_STRIDE);
regs              272 drivers/media/pci/dt3155/dt3155.c 		iowrite32(ipd->width, ipd->regs + ODD_DMA_STRIDE);
regs              277 drivers/media/pci/dt3155/dt3155.c 			FLD_END_EVEN | FLD_END_ODD, ipd->regs + INT_CSR);
regs              386 drivers/media/pci/dt3155/dt3155.c 	write_i2c_reg(pd->regs, AD_ADDR, AD_CMD_REG);
regs              387 drivers/media/pci/dt3155/dt3155.c 	write_i2c_reg(pd->regs, AD_CMD, (i << 6) | (i << 4) | SYNC_LVL_3);
regs              422 drivers/media/pci/dt3155/dt3155.c 			FLD_DN_ODD | FLD_DN_EVEN, pd->regs + CSR1);
regs              426 drivers/media/pci/dt3155/dt3155.c 	iowrite32(FIFO_EN | SRST, pd->regs + CSR1);
regs              427 drivers/media/pci/dt3155/dt3155.c 	iowrite32(0xEEEEEE01, pd->regs + EVEN_PIXEL_FMT);
regs              428 drivers/media/pci/dt3155/dt3155.c 	iowrite32(0xEEEEEE01, pd->regs + ODD_PIXEL_FMT);
regs              429 drivers/media/pci/dt3155/dt3155.c 	iowrite32(0x00000020, pd->regs + FIFO_TRIGER);
regs              430 drivers/media/pci/dt3155/dt3155.c 	iowrite32(0x00000103, pd->regs + XFER_MODE);
regs              431 drivers/media/pci/dt3155/dt3155.c 	iowrite32(0, pd->regs + RETRY_WAIT_CNT);
regs              432 drivers/media/pci/dt3155/dt3155.c 	iowrite32(0, pd->regs + INT_CSR);
regs              433 drivers/media/pci/dt3155/dt3155.c 	iowrite32(1, pd->regs + EVEN_FLD_MASK);
regs              434 drivers/media/pci/dt3155/dt3155.c 	iowrite32(1, pd->regs + ODD_FLD_MASK);
regs              435 drivers/media/pci/dt3155/dt3155.c 	iowrite32(0, pd->regs + MASK_LENGTH);
regs              436 drivers/media/pci/dt3155/dt3155.c 	iowrite32(0x0005007C, pd->regs + FIFO_FLAG_CNT);
regs              437 drivers/media/pci/dt3155/dt3155.c 	iowrite32(0x01010101, pd->regs + IIC_CLK_DUR);
regs              440 drivers/media/pci/dt3155/dt3155.c 	read_i2c_reg(pd->regs, DT_ID, &tmp);
regs              445 drivers/media/pci/dt3155/dt3155.c 	write_i2c_reg(pd->regs, AD_ADDR, 0);
regs              447 drivers/media/pci/dt3155/dt3155.c 		write_i2c_reg(pd->regs, AD_LUT, i);
regs              451 drivers/media/pci/dt3155/dt3155.c 	write_i2c_reg(pd->regs, AD_ADDR, AD_CMD_REG);
regs              452 drivers/media/pci/dt3155/dt3155.c 	write_i2c_reg(pd->regs, AD_CMD, VIDEO_CNL_1 | SYNC_CNL_1 | SYNC_LVL_3);
regs              453 drivers/media/pci/dt3155/dt3155.c 	write_i2c_reg(pd->regs, AD_ADDR, AD_POS_REF);
regs              454 drivers/media/pci/dt3155/dt3155.c 	write_i2c_reg(pd->regs, AD_CMD, 34);
regs              455 drivers/media/pci/dt3155/dt3155.c 	write_i2c_reg(pd->regs, AD_ADDR, AD_NEG_REF);
regs              456 drivers/media/pci/dt3155/dt3155.c 	write_i2c_reg(pd->regs, AD_CMD, 0);
regs              459 drivers/media/pci/dt3155/dt3155.c 	write_i2c_reg(pd->regs, CONFIG, pd->config | PM_LUT_PGM);
regs              461 drivers/media/pci/dt3155/dt3155.c 		write_i2c_reg(pd->regs, PM_LUT_ADDR, i);
regs              462 drivers/media/pci/dt3155/dt3155.c 		write_i2c_reg(pd->regs, PM_LUT_DATA, i);
regs              464 drivers/media/pci/dt3155/dt3155.c 	write_i2c_reg(pd->regs, CONFIG, pd->config | PM_LUT_PGM | PM_LUT_SEL);
regs              466 drivers/media/pci/dt3155/dt3155.c 		write_i2c_reg(pd->regs, PM_LUT_ADDR, i);
regs              467 drivers/media/pci/dt3155/dt3155.c 		write_i2c_reg(pd->regs, PM_LUT_DATA, i);
regs              469 drivers/media/pci/dt3155/dt3155.c 	write_i2c_reg(pd->regs, CONFIG, pd->config); /*  ACQ_MODE_EVEN  */
regs              472 drivers/media/pci/dt3155/dt3155.c 	write_i2c_reg(pd->regs, AD_ADDR, AD_CMD_REG);
regs              473 drivers/media/pci/dt3155/dt3155.c 	write_i2c_reg(pd->regs, AD_CMD, VIDEO_CNL_1 | SYNC_CNL_1 | SYNC_LVL_3);
regs              477 drivers/media/pci/dt3155/dt3155.c 			pd->regs + INT_CSR);
regs              541 drivers/media/pci/dt3155/dt3155.c 	pd->regs = pci_iomap(pdev, 0, pci_resource_len(pd->pdev, 0));
regs              542 drivers/media/pci/dt3155/dt3155.c 	if (!pd->regs) {
regs              562 drivers/media/pci/dt3155/dt3155.c 	pci_iounmap(pdev, pd->regs);
regs              582 drivers/media/pci/dt3155/dt3155.c 	pci_iounmap(pdev, pd->regs);
regs              183 drivers/media/pci/dt3155/dt3155.h 	void __iomem *regs;
regs               57 drivers/media/pci/netup_unidvb/netup_unidvb.h 	struct netup_dma_regs __iomem *regs;
regs               85 drivers/media/pci/netup_unidvb/netup_unidvb.h 	struct netup_i2c_regs __iomem	*regs;
regs              197 drivers/media/pci/netup_unidvb/netup_unidvb_core.c 		writel(BIT_DMA_RUN, &dma->regs->ctrlstat_set);
regs              200 drivers/media/pci/netup_unidvb/netup_unidvb_core.c 		writel(BIT_DMA_RUN, &dma->regs->ctrlstat_clear);
regs              213 drivers/media/pci/netup_unidvb/netup_unidvb_core.c 	addr_curr = ((u64)readl(&dma->regs->curr_addr_hi) << 32) |
regs              214 drivers/media/pci/netup_unidvb/netup_unidvb_core.c 		(u64)readl(&dma->regs->curr_addr_lo) | dma->high_addr;
regs              216 drivers/media/pci/netup_unidvb/netup_unidvb_core.c 	writel(BIT_DMA_IRQ, &dma->regs->ctrlstat_clear);
regs              670 drivers/media/pci/netup_unidvb/netup_unidvb_core.c 	dma->regs = (struct netup_dma_regs __iomem *)(num == 0 ?
regs              674 drivers/media/pci/netup_unidvb/netup_unidvb_core.c 		(NETUP_DMA_PACKETS_COUNT << 8) | 188, &dma->regs->size);
regs              675 drivers/media/pci/netup_unidvb/netup_unidvb_core.c 	writel((u32)(dma->addr_phys & 0x3FFFFFFF), &dma->regs->start_addr_lo);
regs              676 drivers/media/pci/netup_unidvb/netup_unidvb_core.c 	writel(0, &dma->regs->start_addr_hi);
regs              678 drivers/media/pci/netup_unidvb/netup_unidvb_core.c 	writel(375000000, &dma->regs->timeout);
regs              680 drivers/media/pci/netup_unidvb/netup_unidvb_core.c 	writel(BIT_DMA_IRQ, &dma->regs->ctrlstat_clear);
regs               72 drivers/media/pci/netup_unidvb/netup_unidvb_i2c.c 	reg = readw(&i2c->regs->twi_ctrl0_stat);
regs               73 drivers/media/pci/netup_unidvb/netup_unidvb_i2c.c 	writew(reg & ~TWI_IRQEN, &i2c->regs->twi_ctrl0_stat);
regs               95 drivers/media/pci/netup_unidvb/netup_unidvb_i2c.c 		tmp = readw(&i2c->regs->rx_fifo.stat_ctrl);
regs               96 drivers/media/pci/netup_unidvb/netup_unidvb_i2c.c 		writew(tmp & ~FIFO_IRQEN, &i2c->regs->rx_fifo.stat_ctrl);
regs              103 drivers/media/pci/netup_unidvb/netup_unidvb_i2c.c 		tmp = readw(&i2c->regs->tx_fifo.stat_ctrl);
regs              104 drivers/media/pci/netup_unidvb/netup_unidvb_i2c.c 		writew(tmp & ~FIFO_IRQEN, &i2c->regs->tx_fifo.stat_ctrl);
regs              123 drivers/media/pci/netup_unidvb/netup_unidvb_i2c.c 	writew(TWI_SOFT_RESET, &i2c->regs->twi_addr_ctrl1);
regs              124 drivers/media/pci/netup_unidvb/netup_unidvb_i2c.c 	writew(TWI_CLKDIV, &i2c->regs->clkdiv);
regs              125 drivers/media/pci/netup_unidvb/netup_unidvb_i2c.c 	writew(FIFO_RESET, &i2c->regs->tx_fifo.stat_ctrl);
regs              126 drivers/media/pci/netup_unidvb/netup_unidvb_i2c.c 	writew(FIFO_RESET, &i2c->regs->rx_fifo.stat_ctrl);
regs              127 drivers/media/pci/netup_unidvb/netup_unidvb_i2c.c 	writew(0x800, &i2c->regs->tx_fifo.stat_ctrl);
regs              128 drivers/media/pci/netup_unidvb/netup_unidvb_i2c.c 	writew(0x800, &i2c->regs->rx_fifo.stat_ctrl);
regs              135 drivers/media/pci/netup_unidvb/netup_unidvb_i2c.c 		(readw(&i2c->regs->tx_fifo.stat_ctrl) & 0x3f);
regs              141 drivers/media/pci/netup_unidvb/netup_unidvb_i2c.c 		writeb(data, &i2c->regs->tx_fifo.data8);
regs              148 drivers/media/pci/netup_unidvb/netup_unidvb_i2c.c 		writew(readw(&i2c->regs->tx_fifo.stat_ctrl) | FIFO_IRQEN,
regs              149 drivers/media/pci/netup_unidvb/netup_unidvb_i2c.c 			&i2c->regs->tx_fifo.stat_ctrl);
regs              156 drivers/media/pci/netup_unidvb/netup_unidvb_i2c.c 	u32 fifo_size = readw(&i2c->regs->rx_fifo.stat_ctrl) & 0x3f;
regs              161 drivers/media/pci/netup_unidvb/netup_unidvb_i2c.c 		data = readb(&i2c->regs->rx_fifo.data8);
regs              172 drivers/media/pci/netup_unidvb/netup_unidvb_i2c.c 		writew(readw(&i2c->regs->rx_fifo.stat_ctrl) | FIFO_IRQEN,
regs              173 drivers/media/pci/netup_unidvb/netup_unidvb_i2c.c 			&i2c->regs->rx_fifo.stat_ctrl);
regs              180 drivers/media/pci/netup_unidvb/netup_unidvb_i2c.c 	u16 reg = readw(&i2c->regs->twi_ctrl0_stat);
regs              182 drivers/media/pci/netup_unidvb/netup_unidvb_i2c.c 	writew(TWI_IRQEN | reg, &i2c->regs->twi_ctrl0_stat);
regs              183 drivers/media/pci/netup_unidvb/netup_unidvb_i2c.c 	writew(i2c->msg->len, &i2c->regs->length);
regs              185 drivers/media/pci/netup_unidvb/netup_unidvb_i2c.c 		&i2c->regs->twi_addr_ctrl1);
regs              188 drivers/media/pci/netup_unidvb/netup_unidvb_i2c.c 		__func__, readw(&i2c->regs->length),
regs              189 drivers/media/pci/netup_unidvb/netup_unidvb_i2c.c 		readw(&i2c->regs->twi_addr_ctrl1),
regs              190 drivers/media/pci/netup_unidvb/netup_unidvb_i2c.c 		readw(&i2c->regs->twi_ctrl0_stat));
regs              196 drivers/media/pci/netup_unidvb/netup_unidvb_i2c.c 		writew(FIFO_IRQEN | readw(&i2c->regs->rx_fifo.stat_ctrl),
regs              197 drivers/media/pci/netup_unidvb/netup_unidvb_i2c.c 			&i2c->regs->rx_fifo.stat_ctrl);
regs              258 drivers/media/pci/netup_unidvb/netup_unidvb_i2c.c 						&i2c->regs->twi_ctrl0_stat);
regs              260 drivers/media/pci/netup_unidvb/netup_unidvb_i2c.c 						&i2c->regs->twi_ctrl0_stat);
regs              309 drivers/media/pci/netup_unidvb/netup_unidvb_i2c.c 	i2c->regs = (struct netup_i2c_regs __iomem *)(ndev->bmmio0 +
regs               39 drivers/media/pci/netup_unidvb/netup_unidvb_spi.c 	struct netup_spi_regs __iomem	*regs;
regs               78 drivers/media/pci/netup_unidvb/netup_unidvb_spi.c 	reg = readw(&spi->regs->control_stat);
regs               85 drivers/media/pci/netup_unidvb/netup_unidvb_spi.c 	writew(reg | NETUP_SPI_CTRL_IRQ, &spi->regs->control_stat);
regs               86 drivers/media/pci/netup_unidvb/netup_unidvb_spi.c 	reg = readw(&spi->regs->control_stat);
regs               87 drivers/media/pci/netup_unidvb/netup_unidvb_spi.c 	writew(reg & ~NETUP_SPI_CTRL_IMASK, &spi->regs->control_stat);
regs              105 drivers/media/pci/netup_unidvb/netup_unidvb_spi.c 	writew(NETUP_SPI_CTRL_LAST_CS, &spi->regs->control_stat);
regs              106 drivers/media/pci/netup_unidvb/netup_unidvb_spi.c 	writew(0, &spi->regs->control_stat);
regs              111 drivers/media/pci/netup_unidvb/netup_unidvb_spi.c 			u32 frag_size = (tr_size > sizeof(spi->regs->data)) ?
regs              112 drivers/media/pci/netup_unidvb/netup_unidvb_spi.c 					sizeof(spi->regs->data) : tr_size;
regs              121 drivers/media/pci/netup_unidvb/netup_unidvb_spi.c 				memcpy_toio(spi->regs->data,
regs              125 drivers/media/pci/netup_unidvb/netup_unidvb_spi.c 				memset_io(spi->regs->data,
regs              133 drivers/media/pci/netup_unidvb/netup_unidvb_spi.c 				&spi->regs->control_stat);
regs              136 drivers/media/pci/netup_unidvb/netup_unidvb_spi.c 				__func__, readw(&spi->regs->control_stat));
regs              143 drivers/media/pci/netup_unidvb/netup_unidvb_spi.c 						spi->regs->data, frag_size);
regs              194 drivers/media/pci/netup_unidvb/netup_unidvb_spi.c 	nspi->regs = (struct netup_spi_regs __iomem *)(ndev->bmmio0 + 0x4000);
regs              195 drivers/media/pci/netup_unidvb/netup_unidvb_spi.c 	writew(2, &nspi->regs->clock_divider);
regs              230 drivers/media/pci/netup_unidvb/netup_unidvb_spi.c 	reg = readw(&spi->regs->control_stat);
regs              231 drivers/media/pci/netup_unidvb/netup_unidvb_spi.c 	writew(reg | NETUP_SPI_CTRL_IRQ, &spi->regs->control_stat);
regs              232 drivers/media/pci/netup_unidvb/netup_unidvb_spi.c 	reg = readw(&spi->regs->control_stat);
regs              233 drivers/media/pci/netup_unidvb/netup_unidvb_spi.c 	writew(reg & ~NETUP_SPI_CTRL_IMASK, &spi->regs->control_stat);
regs               74 drivers/media/pci/pt1/pt1.c 	void __iomem *regs;
regs              290 drivers/media/pci/pt1/pt1.c 	writel(data, pt1->regs + reg * 4);
regs              295 drivers/media/pci/pt1/pt1.c 	return readl(pt1->regs + reg * 4);
regs             1313 drivers/media/pci/pt1/pt1.c 	void __iomem *regs;
regs             1316 drivers/media/pci/pt1/pt1.c 	regs = pt1->regs;
regs             1329 drivers/media/pci/pt1/pt1.c 	pci_iounmap(pdev, regs);
regs             1337 drivers/media/pci/pt1/pt1.c 	void __iomem *regs;
regs             1355 drivers/media/pci/pt1/pt1.c 	regs = pci_iomap(pdev, 0, 0);
regs             1356 drivers/media/pci/pt1/pt1.c 	if (!regs) {
regs             1369 drivers/media/pci/pt1/pt1.c 	pt1->regs = regs;
regs             1453 drivers/media/pci/pt1/pt1.c 	pci_iounmap(pdev, regs);
regs              114 drivers/media/pci/pt3/pt3.c 	iowrite32((on ? 0x0f : 0x0c), pt3->regs[0] + REG_SYSTEM_W);
regs              689 drivers/media/pci/pt3/pt3.c 	pci_iounmap(pt3->pdev, pt3->regs[0]);
regs              690 drivers/media/pci/pt3/pt3.c 	pci_iounmap(pt3->pdev, pt3->regs[1]);
regs              738 drivers/media/pci/pt3/pt3.c 	pt3->regs[0] = pci_ioremap_bar(pdev, 0);
regs              739 drivers/media/pci/pt3/pt3.c 	pt3->regs[1] = pci_ioremap_bar(pdev, 2);
regs              740 drivers/media/pci/pt3/pt3.c 	if (pt3->regs[0] == NULL || pt3->regs[1] == NULL) {
regs              746 drivers/media/pci/pt3/pt3.c 	ver = ioread32(pt3->regs[0] + REG_VERSION);
regs              805 drivers/media/pci/pt3/pt3.c 	if (pt3->regs[0])
regs              806 drivers/media/pci/pt3/pt3.c 		pci_iounmap(pdev, pt3->regs[0]);
regs              807 drivers/media/pci/pt3/pt3.c 	if (pt3->regs[1])
regs              808 drivers/media/pci/pt3/pt3.c 		pci_iounmap(pdev, pt3->regs[1]);
regs              141 drivers/media/pci/pt3/pt3.h 	void __iomem *regs[2];
regs               32 drivers/media/pci/pt3/pt3_dma.c 	stat = ioread32(pt3->regs[0] + base + OFST_STATUS);
regs               36 drivers/media/pci/pt3/pt3_dma.c 	iowrite32(0x02, pt3->regs[0] + base + OFST_DMA_CTL);
regs               38 drivers/media/pci/pt3/pt3_dma.c 		stat = ioread32(pt3->regs[0] + base + OFST_STATUS);
regs               51 drivers/media/pci/pt3/pt3_dma.c 	iowrite32(0x02, pt3->regs[0] + base + OFST_DMA_CTL);
regs               53 drivers/media/pci/pt3/pt3_dma.c 			pt3->regs[0] + base + OFST_DMA_DESC_L);
regs               55 drivers/media/pci/pt3/pt3_dma.c 			pt3->regs[0] + base + OFST_DMA_DESC_H);
regs               56 drivers/media/pci/pt3/pt3_dma.c 	iowrite32(0x01, pt3->regs[0] + base + OFST_DMA_CTL);
regs              132 drivers/media/pci/pt3/pt3_i2c.c 		v = ioread32(pt3->regs[0] + REG_I2C_R);
regs              156 drivers/media/pci/pt3/pt3_i2c.c 	iowrite32(PT3_I2C_RUN | addr, pt3->regs[0] + REG_I2C_W);
regs              172 drivers/media/pci/pt3/pt3_i2c.c 	ioread32(pt3->regs[0] + REG_I2C_R);
regs              185 drivers/media/pci/pt3/pt3_i2c.c 	iowrite32(PT3_I2C_RESET, pt3->regs[0] + REG_I2C_W);
regs              211 drivers/media/pci/pt3/pt3_i2c.c 	memcpy_toio(pt3->regs[1] + PT3_I2C_BASE + PT3_CMD_ADDR_NORMAL / 2,
regs              217 drivers/media/pci/pt3/pt3_i2c.c 	p = pt3->regs[1] + PT3_I2C_BASE;
regs             2126 drivers/media/platform/atmel/atmel-isc-base.c 	struct regmap_field *regs;
regs             2145 drivers/media/platform/atmel/atmel-isc-base.c 		regs = devm_regmap_field_alloc(dev, regmap, regfields[i]);
regs             2146 drivers/media/platform/atmel/atmel-isc-base.c 		if (IS_ERR(regs))
regs             2147 drivers/media/platform/atmel/atmel-isc-base.c 			return PTR_ERR(regs);
regs             2149 drivers/media/platform/atmel/atmel-isc-base.c 		isc->pipeline[i] =  regs;
regs               98 drivers/media/platform/atmel/atmel-isi.c 	void __iomem			*regs;
regs              138 drivers/media/platform/atmel/atmel-isi.c 	writel(val, isi->regs + reg);
regs              142 drivers/media/platform/atmel/atmel-isi.c 	return readl(isi->regs + reg);
regs             1159 drivers/media/platform/atmel/atmel-isi.c 	struct resource *regs;
regs             1240 drivers/media/platform/atmel/atmel-isi.c 	regs = platform_get_resource(pdev, IORESOURCE_MEM, 0);
regs             1241 drivers/media/platform/atmel/atmel-isi.c 	isi->regs = devm_ioremap_resource(&pdev->dev, regs);
regs             1242 drivers/media/platform/atmel/atmel-isi.c 	if (IS_ERR(isi->regs)) {
regs             1243 drivers/media/platform/atmel/atmel-isi.c 		ret = PTR_ERR(isi->regs);
regs               81 drivers/media/platform/coda/imx-vdoa.c 	void __iomem		*regs;
regs              107 drivers/media/platform/coda/imx-vdoa.c 	writel(0, vdoa->regs + VDOAIE);
regs              116 drivers/media/platform/coda/imx-vdoa.c 	val = readl(vdoa->regs + VDOAIST);
regs              117 drivers/media/platform/coda/imx-vdoa.c 	writel(val, vdoa->regs + VDOAIST);
regs              119 drivers/media/platform/coda/imx-vdoa.c 		val = readl(vdoa->regs + VDOASR) & VDOASR_ERRW;
regs              170 drivers/media/platform/coda/imx-vdoa.c 	writel(val, vdoa->regs + VDOAC);
regs              173 drivers/media/platform/coda/imx-vdoa.c 	       vdoa->regs + VDOAFP);
regs              176 drivers/media/platform/coda/imx-vdoa.c 	writel(val, vdoa->regs + VDOAIEBA00);
regs              179 drivers/media/platform/coda/imx-vdoa.c 	       vdoa->regs + VDOASL);
regs              186 drivers/media/platform/coda/imx-vdoa.c 	writel(val, vdoa->regs + VDOAIUBO);
regs              189 drivers/media/platform/coda/imx-vdoa.c 	writel(val, vdoa->regs + VDOAVEBA0);
regs              191 drivers/media/platform/coda/imx-vdoa.c 	writel(val, vdoa->regs + VDOAVUBO);
regs              194 drivers/media/platform/coda/imx-vdoa.c 	writel(VDOAIE_EITERR | VDOAIE_EIEOT, vdoa->regs + VDOAIE);
regs              195 drivers/media/platform/coda/imx-vdoa.c 	writel(VDOASRR_START, vdoa->regs + VDOASRR);
regs              305 drivers/media/platform/coda/imx-vdoa.c 	vdoa->regs = devm_ioremap_resource(vdoa->dev, res);
regs              306 drivers/media/platform/coda/imx-vdoa.c 	if (IS_ERR(vdoa->regs))
regs              307 drivers/media/platform/coda/imx-vdoa.c 		return PTR_ERR(vdoa->regs);
regs             1141 drivers/media/platform/exynos-gsc/gsc-core.c 	gsc->regs = devm_ioremap_resource(dev, res);
regs             1142 drivers/media/platform/exynos-gsc/gsc-core.c 	if (IS_ERR(gsc->regs))
regs             1143 drivers/media/platform/exynos-gsc/gsc-core.c 		return PTR_ERR(gsc->regs);
regs              334 drivers/media/platform/exynos-gsc/gsc-core.h 	void __iomem			*regs;
regs              431 drivers/media/platform/exynos-gsc/gsc-core.h 	u32 cfg = readl(dev->regs + GSC_ENABLE);
regs              438 drivers/media/platform/exynos-gsc/gsc-core.h 	writel(cfg, dev->regs + GSC_ENABLE);
regs              443 drivers/media/platform/exynos-gsc/gsc-core.h 	u32 cfg = readl(dev->regs + GSC_IRQ);
regs              453 drivers/media/platform/exynos-gsc/gsc-core.h 	u32 cfg = readl(dev->regs + GSC_IRQ);
regs              458 drivers/media/platform/exynos-gsc/gsc-core.h 	writel(cfg, dev->regs + GSC_IRQ);
regs               16 drivers/media/platform/exynos-gsc/gsc-regs.c 	writel(GSC_SW_RESET_SRESET, dev->regs + GSC_SW_RESET);
regs               25 drivers/media/platform/exynos-gsc/gsc-regs.c 		cfg = readl(dev->regs + GSC_SW_RESET);
regs               38 drivers/media/platform/exynos-gsc/gsc-regs.c 	cfg = readl(dev->regs + GSC_IRQ);
regs               43 drivers/media/platform/exynos-gsc/gsc-regs.c 	writel(cfg, dev->regs + GSC_IRQ);
regs               50 drivers/media/platform/exynos-gsc/gsc-regs.c 	cfg = readl(dev->regs + GSC_IRQ);
regs               55 drivers/media/platform/exynos-gsc/gsc-regs.c 	writel(cfg, dev->regs + GSC_IRQ);
regs               61 drivers/media/platform/exynos-gsc/gsc-regs.c 	u32 cfg = readl(dev->regs + GSC_IN_BASE_ADDR_Y_MASK);
regs               67 drivers/media/platform/exynos-gsc/gsc-regs.c 	writel(cfg, dev->regs + GSC_IN_BASE_ADDR_Y_MASK);
regs               68 drivers/media/platform/exynos-gsc/gsc-regs.c 	writel(cfg, dev->regs + GSC_IN_BASE_ADDR_CB_MASK);
regs               69 drivers/media/platform/exynos-gsc/gsc-regs.c 	writel(cfg, dev->regs + GSC_IN_BASE_ADDR_CR_MASK);
regs               75 drivers/media/platform/exynos-gsc/gsc-regs.c 	u32 cfg = readl(dev->regs + GSC_OUT_BASE_ADDR_Y_MASK);
regs               81 drivers/media/platform/exynos-gsc/gsc-regs.c 	writel(cfg, dev->regs + GSC_OUT_BASE_ADDR_Y_MASK);
regs               82 drivers/media/platform/exynos-gsc/gsc-regs.c 	writel(cfg, dev->regs + GSC_OUT_BASE_ADDR_CB_MASK);
regs               83 drivers/media/platform/exynos-gsc/gsc-regs.c 	writel(cfg, dev->regs + GSC_OUT_BASE_ADDR_CR_MASK);
regs               91 drivers/media/platform/exynos-gsc/gsc-regs.c 	writel(addr->y, dev->regs + GSC_IN_BASE_ADDR_Y(index));
regs               92 drivers/media/platform/exynos-gsc/gsc-regs.c 	writel(addr->cb, dev->regs + GSC_IN_BASE_ADDR_CB(index));
regs               93 drivers/media/platform/exynos-gsc/gsc-regs.c 	writel(addr->cr, dev->regs + GSC_IN_BASE_ADDR_CR(index));
regs              102 drivers/media/platform/exynos-gsc/gsc-regs.c 	writel(addr->y, dev->regs + GSC_OUT_BASE_ADDR_Y(index));
regs              103 drivers/media/platform/exynos-gsc/gsc-regs.c 	writel(addr->cb, dev->regs + GSC_OUT_BASE_ADDR_CB(index));
regs              104 drivers/media/platform/exynos-gsc/gsc-regs.c 	writel(addr->cr, dev->regs + GSC_OUT_BASE_ADDR_CR(index));
regs              111 drivers/media/platform/exynos-gsc/gsc-regs.c 	u32 cfg = readl(dev->regs + GSC_IN_CON);
regs              117 drivers/media/platform/exynos-gsc/gsc-regs.c 	writel(cfg, dev->regs + GSC_IN_CON);
regs              129 drivers/media/platform/exynos-gsc/gsc-regs.c 	writel(cfg, dev->regs + GSC_SRCIMG_OFFSET);
regs              134 drivers/media/platform/exynos-gsc/gsc-regs.c 	writel(cfg, dev->regs + GSC_SRCIMG_SIZE);
regs              139 drivers/media/platform/exynos-gsc/gsc-regs.c 	writel(cfg, dev->regs + GSC_CROPPED_SIZE);
regs              148 drivers/media/platform/exynos-gsc/gsc-regs.c 	cfg = readl(dev->regs + GSC_IN_CON);
regs              159 drivers/media/platform/exynos-gsc/gsc-regs.c 	writel(cfg, dev->regs + GSC_IN_CON);
regs              169 drivers/media/platform/exynos-gsc/gsc-regs.c 	cfg = readl(dev->regs + GSC_IN_CON);
regs              173 drivers/media/platform/exynos-gsc/gsc-regs.c 	writel(cfg, dev->regs + GSC_IN_CON);
regs              215 drivers/media/platform/exynos-gsc/gsc-regs.c 	writel(cfg, dev->regs + GSC_IN_CON);
regs              222 drivers/media/platform/exynos-gsc/gsc-regs.c 	u32 cfg = readl(dev->regs + GSC_OUT_CON);
regs              230 drivers/media/platform/exynos-gsc/gsc-regs.c 	writel(cfg, dev->regs + GSC_OUT_CON);
regs              243 drivers/media/platform/exynos-gsc/gsc-regs.c 		writel(cfg, dev->regs + GSC_DSTIMG_OFFSET);
regs              247 drivers/media/platform/exynos-gsc/gsc-regs.c 		writel(cfg, dev->regs + GSC_DSTIMG_SIZE);
regs              259 drivers/media/platform/exynos-gsc/gsc-regs.c 	writel(cfg, dev->regs + GSC_SCALED_SIZE);
regs              268 drivers/media/platform/exynos-gsc/gsc-regs.c 	cfg = readl(dev->regs + GSC_OUT_CON);
regs              279 drivers/media/platform/exynos-gsc/gsc-regs.c 	writel(cfg, dev->regs + GSC_OUT_CON);
regs              289 drivers/media/platform/exynos-gsc/gsc-regs.c 	cfg = readl(dev->regs + GSC_OUT_CON);
regs              293 drivers/media/platform/exynos-gsc/gsc-regs.c 	writel(cfg, dev->regs + GSC_OUT_CON);
regs              339 drivers/media/platform/exynos-gsc/gsc-regs.c 	writel(cfg, dev->regs + GSC_OUT_CON);
regs              351 drivers/media/platform/exynos-gsc/gsc-regs.c 	writel(cfg, dev->regs + GSC_PRE_SCALE_RATIO);
regs              361 drivers/media/platform/exynos-gsc/gsc-regs.c 	writel(cfg, dev->regs + GSC_MAIN_H_RATIO);
regs              364 drivers/media/platform/exynos-gsc/gsc-regs.c 	writel(cfg, dev->regs + GSC_MAIN_V_RATIO);
regs              372 drivers/media/platform/exynos-gsc/gsc-regs.c 	cfg = readl(dev->regs + GSC_IN_CON);
regs              397 drivers/media/platform/exynos-gsc/gsc-regs.c 	writel(cfg, dev->regs + GSC_IN_CON);
regs              411 drivers/media/platform/exynos-gsc/gsc-regs.c 	cfg = readl(dev->regs + GSC_OUT_CON);
regs              415 drivers/media/platform/exynos-gsc/gsc-regs.c 	writel(cfg, dev->regs + GSC_OUT_CON);
regs              423 drivers/media/platform/exynos-gsc/gsc-regs.c 	cfg = readl(dev->regs + GSC_ENABLE);
regs              425 drivers/media/platform/exynos-gsc/gsc-regs.c 	writel(cfg, dev->regs + GSC_ENABLE);
regs              962 drivers/media/platform/exynos4-is/fimc-core.c 	fimc->regs = devm_ioremap_resource(dev, res);
regs              963 drivers/media/platform/exynos4-is/fimc-core.c 	if (IS_ERR(fimc->regs))
regs              964 drivers/media/platform/exynos4-is/fimc-core.c 		return PTR_ERR(fimc->regs);
regs              428 drivers/media/platform/exynos4-is/fimc-core.h 	void __iomem			*regs;
regs              799 drivers/media/platform/exynos4-is/fimc-is.c 	is->regs = devm_ioremap_resource(dev, &res);
regs              800 drivers/media/platform/exynos4-is/fimc-is.c 	if (IS_ERR(is->regs))
regs              801 drivers/media/platform/exynos4-is/fimc-is.c 		return PTR_ERR(is->regs);
regs              264 drivers/media/platform/exynos4-is/fimc-is.h 	void __iomem			*regs;
regs              317 drivers/media/platform/exynos4-is/fimc-is.h 	writel(v, is->regs + offset);
regs              322 drivers/media/platform/exynos4-is/fimc-is.h 	return readl(is->regs + offset);
regs               25 drivers/media/platform/exynos4-is/fimc-lite-reg.c 	cfg = readl(dev->regs + FLITE_REG_CIGCTRL);
regs               27 drivers/media/platform/exynos4-is/fimc-lite-reg.c 	writel(cfg, dev->regs + FLITE_REG_CIGCTRL);
regs               30 drivers/media/platform/exynos4-is/fimc-lite-reg.c 		cfg = readl(dev->regs + FLITE_REG_CIGCTRL);
regs               37 drivers/media/platform/exynos4-is/fimc-lite-reg.c 	writel(cfg, dev->regs + FLITE_REG_CIGCTRL);
regs               42 drivers/media/platform/exynos4-is/fimc-lite-reg.c 	u32 cfg = readl(dev->regs + FLITE_REG_CISTATUS);
regs               44 drivers/media/platform/exynos4-is/fimc-lite-reg.c 	writel(cfg, dev->regs + FLITE_REG_CISTATUS);
regs               49 drivers/media/platform/exynos4-is/fimc-lite-reg.c 	u32 intsrc = readl(dev->regs + FLITE_REG_CISTATUS);
regs               56 drivers/media/platform/exynos4-is/fimc-lite-reg.c 	u32 cfg = readl(dev->regs + FLITE_REG_CISTATUS2);
regs               58 drivers/media/platform/exynos4-is/fimc-lite-reg.c 	writel(cfg, dev->regs + FLITE_REG_CISTATUS2);
regs               77 drivers/media/platform/exynos4-is/fimc-lite-reg.c 	cfg = readl(dev->regs + FLITE_REG_CIGCTRL);
regs               80 drivers/media/platform/exynos4-is/fimc-lite-reg.c 	writel(cfg, dev->regs + FLITE_REG_CIGCTRL);
regs               85 drivers/media/platform/exynos4-is/fimc-lite-reg.c 	u32 cfg = readl(dev->regs + FLITE_REG_CIIMGCPT);
regs               87 drivers/media/platform/exynos4-is/fimc-lite-reg.c 	writel(cfg, dev->regs + FLITE_REG_CIIMGCPT);
regs               92 drivers/media/platform/exynos4-is/fimc-lite-reg.c 	u32 cfg = readl(dev->regs + FLITE_REG_CIIMGCPT);
regs               94 drivers/media/platform/exynos4-is/fimc-lite-reg.c 	writel(cfg, dev->regs + FLITE_REG_CIIMGCPT);
regs              103 drivers/media/platform/exynos4-is/fimc-lite-reg.c 	u32 cfg = readl(dev->regs + FLITE_REG_CIGCTRL);
regs              108 drivers/media/platform/exynos4-is/fimc-lite-reg.c 	writel(cfg, dev->regs + FLITE_REG_CIGCTRL);
regs              144 drivers/media/platform/exynos4-is/fimc-lite-reg.c 	cfg = readl(dev->regs + FLITE_REG_CIGCTRL);
regs              147 drivers/media/platform/exynos4-is/fimc-lite-reg.c 	writel(cfg, dev->regs + FLITE_REG_CIGCTRL);
regs              149 drivers/media/platform/exynos4-is/fimc-lite-reg.c 	cfg = readl(dev->regs + FLITE_REG_CISRCSIZE);
regs              154 drivers/media/platform/exynos4-is/fimc-lite-reg.c 	writel(cfg, dev->regs + FLITE_REG_CISRCSIZE);
regs              163 drivers/media/platform/exynos4-is/fimc-lite-reg.c 	cfg = readl(dev->regs + FLITE_REG_CIWDOFST);
regs              167 drivers/media/platform/exynos4-is/fimc-lite-reg.c 	writel(cfg, dev->regs + FLITE_REG_CIWDOFST);
regs              173 drivers/media/platform/exynos4-is/fimc-lite-reg.c 	writel(cfg, dev->regs + FLITE_REG_CIWDOFST2);
regs              179 drivers/media/platform/exynos4-is/fimc-lite-reg.c 	u32 cfg = readl(dev->regs + FLITE_REG_CIGENERAL);
regs              184 drivers/media/platform/exynos4-is/fimc-lite-reg.c 	writel(cfg, dev->regs + FLITE_REG_CIGENERAL);
regs              191 drivers/media/platform/exynos4-is/fimc-lite-reg.c 	u32 cfg = readl(dev->regs + FLITE_REG_CIGCTRL);
regs              212 drivers/media/platform/exynos4-is/fimc-lite-reg.c 	writel(cfg, dev->regs + FLITE_REG_CIGCTRL);
regs              219 drivers/media/platform/exynos4-is/fimc-lite-reg.c 	u32 cfg = readl(dev->regs + FLITE_REG_CIODMAFMT);
regs              226 drivers/media/platform/exynos4-is/fimc-lite-reg.c 	writel(cfg, dev->regs + FLITE_REG_CIODMAFMT);
regs              237 drivers/media/platform/exynos4-is/fimc-lite-reg.c 	u32 cfg = readl(dev->regs + FLITE_REG_CIODMAFMT);
regs              244 drivers/media/platform/exynos4-is/fimc-lite-reg.c 	writel(cfg | pixcode[i][1], dev->regs + FLITE_REG_CIODMAFMT);
regs              252 drivers/media/platform/exynos4-is/fimc-lite-reg.c 	cfg = readl(dev->regs + FLITE_REG_CIOCAN);
regs              255 drivers/media/platform/exynos4-is/fimc-lite-reg.c 	writel(cfg, dev->regs + FLITE_REG_CIOCAN);
regs              258 drivers/media/platform/exynos4-is/fimc-lite-reg.c 	cfg = readl(dev->regs + FLITE_REG_CIOOFF);
regs              261 drivers/media/platform/exynos4-is/fimc-lite-reg.c 	writel(cfg, dev->regs + FLITE_REG_CIOOFF);
regs              275 drivers/media/platform/exynos4-is/fimc-lite-reg.c 		writel(buf->paddr, dev->regs + FLITE_REG_CIOSA);
regs              277 drivers/media/platform/exynos4-is/fimc-lite-reg.c 		writel(buf->paddr, dev->regs + FLITE_REG_CIOSAN(index - 1));
regs              279 drivers/media/platform/exynos4-is/fimc-lite-reg.c 	cfg = readl(dev->regs + FLITE_REG_CIFCNTSEQ);
regs              281 drivers/media/platform/exynos4-is/fimc-lite-reg.c 	writel(cfg, dev->regs + FLITE_REG_CIFCNTSEQ);
regs              291 drivers/media/platform/exynos4-is/fimc-lite-reg.c 	cfg = readl(dev->regs + FLITE_REG_CIFCNTSEQ);
regs              293 drivers/media/platform/exynos4-is/fimc-lite-reg.c 	writel(cfg, dev->regs + FLITE_REG_CIFCNTSEQ);
regs              300 drivers/media/platform/exynos4-is/fimc-lite-reg.c 	u32 cfg = readl(dev->regs + FLITE_REG_CIGCTRL);
regs              304 drivers/media/platform/exynos4-is/fimc-lite-reg.c 		writel(cfg, dev->regs + FLITE_REG_CIGCTRL);
regs              309 drivers/media/platform/exynos4-is/fimc-lite-reg.c 	writel(cfg, dev->regs + FLITE_REG_CIGCTRL);
regs              342 drivers/media/platform/exynos4-is/fimc-lite-reg.c 		u32 cfg = readl(dev->regs + registers[i].offset);
regs              152 drivers/media/platform/exynos4-is/fimc-lite-reg.h 	writel(mask, dev->regs + FLITE_REG_CIFCNTSEQ);
regs             1492 drivers/media/platform/exynos4-is/fimc-lite.c 	fimc->regs = devm_ioremap_resource(dev, res);
regs             1493 drivers/media/platform/exynos4-is/fimc-lite.c 	if (IS_ERR(fimc->regs))
regs             1494 drivers/media/platform/exynos4-is/fimc-lite.c 		return PTR_ERR(fimc->regs);
regs              159 drivers/media/platform/exynos4-is/fimc-lite.h 	void __iomem		*regs;
regs               23 drivers/media/platform/exynos4-is/fimc-reg.c 	cfg = readl(dev->regs + FIMC_REG_CISRCFMT);
regs               25 drivers/media/platform/exynos4-is/fimc-reg.c 	writel(cfg, dev->regs + FIMC_REG_CISRCFMT);
regs               28 drivers/media/platform/exynos4-is/fimc-reg.c 	cfg = readl(dev->regs + FIMC_REG_CIGCTRL);
regs               30 drivers/media/platform/exynos4-is/fimc-reg.c 	writel(cfg, dev->regs + FIMC_REG_CIGCTRL);
regs               33 drivers/media/platform/exynos4-is/fimc-reg.c 	cfg = readl(dev->regs + FIMC_REG_CIGCTRL);
regs               35 drivers/media/platform/exynos4-is/fimc-reg.c 	writel(cfg, dev->regs + FIMC_REG_CIGCTRL);
regs               76 drivers/media/platform/exynos4-is/fimc-reg.c 	cfg = readl(dev->regs + FIMC_REG_CITRGFMT);
regs               94 drivers/media/platform/exynos4-is/fimc-reg.c 		writel(cfg, dev->regs + FIMC_REG_CITRGFMT);
regs               97 drivers/media/platform/exynos4-is/fimc-reg.c 		flip = readl(dev->regs + FIMC_REG_MSCTRL);
regs              100 drivers/media/platform/exynos4-is/fimc-reg.c 		writel(flip, dev->regs + FIMC_REG_MSCTRL);
regs              113 drivers/media/platform/exynos4-is/fimc-reg.c 	cfg = readl(dev->regs + FIMC_REG_CITRGFMT);
regs              139 drivers/media/platform/exynos4-is/fimc-reg.c 	writel(cfg, dev->regs + FIMC_REG_CITRGFMT);
regs              141 drivers/media/platform/exynos4-is/fimc-reg.c 	cfg = readl(dev->regs + FIMC_REG_CITAREA);
regs              144 drivers/media/platform/exynos4-is/fimc-reg.c 	writel(cfg, dev->regs + FIMC_REG_CITAREA);
regs              154 drivers/media/platform/exynos4-is/fimc-reg.c 	writel(cfg, dev->regs + FIMC_REG_ORGOSIZE);
regs              157 drivers/media/platform/exynos4-is/fimc-reg.c 	cfg = readl(dev->regs + FIMC_REG_CIGCTRL);
regs              162 drivers/media/platform/exynos4-is/fimc-reg.c 	writel(cfg, dev->regs + FIMC_REG_CIGCTRL);
regs              176 drivers/media/platform/exynos4-is/fimc-reg.c 	writel(cfg, dev->regs + FIMC_REG_CIOYOFF);
regs              179 drivers/media/platform/exynos4-is/fimc-reg.c 	writel(cfg, dev->regs + FIMC_REG_CIOCBOFF);
regs              182 drivers/media/platform/exynos4-is/fimc-reg.c 	writel(cfg, dev->regs + FIMC_REG_CIOCROFF);
regs              187 drivers/media/platform/exynos4-is/fimc-reg.c 	cfg = readl(dev->regs + FIMC_REG_CIOCTRL);
regs              208 drivers/media/platform/exynos4-is/fimc-reg.c 	writel(cfg, dev->regs + FIMC_REG_CIOCTRL);
regs              213 drivers/media/platform/exynos4-is/fimc-reg.c 	u32 cfg = readl(dev->regs + FIMC_REG_ORGISIZE);
regs              218 drivers/media/platform/exynos4-is/fimc-reg.c 	writel(cfg, dev->regs + FIMC_REG_ORGISIZE);
regs              223 drivers/media/platform/exynos4-is/fimc-reg.c 	u32 cfg = readl(dev->regs + FIMC_REG_CIOCTRL);
regs              228 drivers/media/platform/exynos4-is/fimc-reg.c 	writel(cfg, dev->regs + FIMC_REG_CIOCTRL);
regs              241 drivers/media/platform/exynos4-is/fimc-reg.c 	writel(cfg, dev->regs + FIMC_REG_CISCPRERATIO);
regs              244 drivers/media/platform/exynos4-is/fimc-reg.c 	writel(cfg, dev->regs + FIMC_REG_CISCPREDST);
regs              254 drivers/media/platform/exynos4-is/fimc-reg.c 	u32 cfg = readl(dev->regs + FIMC_REG_CISCCTRL);
regs              308 drivers/media/platform/exynos4-is/fimc-reg.c 	writel(cfg, dev->regs + FIMC_REG_CISCCTRL);
regs              323 drivers/media/platform/exynos4-is/fimc-reg.c 	cfg = readl(dev->regs + FIMC_REG_CISCCTRL);
regs              330 drivers/media/platform/exynos4-is/fimc-reg.c 		writel(cfg, dev->regs + FIMC_REG_CISCCTRL);
regs              332 drivers/media/platform/exynos4-is/fimc-reg.c 		cfg = readl(dev->regs + FIMC_REG_CIEXTEN);
regs              338 drivers/media/platform/exynos4-is/fimc-reg.c 		writel(cfg, dev->regs + FIMC_REG_CIEXTEN);
regs              342 drivers/media/platform/exynos4-is/fimc-reg.c 		writel(cfg, dev->regs + FIMC_REG_CISCCTRL);
regs              351 drivers/media/platform/exynos4-is/fimc-reg.c 	cfg = readl(dev->regs + FIMC_REG_CIIMGCPT);
regs              360 drivers/media/platform/exynos4-is/fimc-reg.c 	writel(cfg, dev->regs + FIMC_REG_CIIMGCPT);
regs              365 drivers/media/platform/exynos4-is/fimc-reg.c 	u32 cfg = readl(dev->regs + FIMC_REG_CIIMGCPT);
regs              368 drivers/media/platform/exynos4-is/fimc-reg.c 	writel(cfg, dev->regs + FIMC_REG_CIIMGCPT);
regs              385 drivers/media/platform/exynos4-is/fimc-reg.c 	writel(cfg, dev->regs + FIMC_REG_CIIMGEFF);
regs              397 drivers/media/platform/exynos4-is/fimc-reg.c 	cfg = readl(dev->regs + FIMC_REG_CIOCTRL);
regs              400 drivers/media/platform/exynos4-is/fimc-reg.c 	writel(cfg, dev->regs + FIMC_REG_CIOCTRL);
regs              416 drivers/media/platform/exynos4-is/fimc-reg.c 	writel(cfg_o, dev->regs + FIMC_REG_ORGISIZE);
regs              417 drivers/media/platform/exynos4-is/fimc-reg.c 	writel(cfg_r, dev->regs + FIMC_REG_CIREAL_ISIZE);
regs              429 drivers/media/platform/exynos4-is/fimc-reg.c 	writel(cfg, dev->regs + FIMC_REG_CIIYOFF);
regs              432 drivers/media/platform/exynos4-is/fimc-reg.c 	writel(cfg, dev->regs + FIMC_REG_CIICBOFF);
regs              435 drivers/media/platform/exynos4-is/fimc-reg.c 	writel(cfg, dev->regs + FIMC_REG_CIICROFF);
regs              444 drivers/media/platform/exynos4-is/fimc-reg.c 	cfg = readl(dev->regs + FIMC_REG_MSCTRL);
regs              487 drivers/media/platform/exynos4-is/fimc-reg.c 	writel(cfg, dev->regs + FIMC_REG_MSCTRL);
regs              490 drivers/media/platform/exynos4-is/fimc-reg.c 	cfg = readl(dev->regs + FIMC_REG_CIDMAPARAM);
regs              499 drivers/media/platform/exynos4-is/fimc-reg.c 	writel(cfg, dev->regs + FIMC_REG_CIDMAPARAM);
regs              507 drivers/media/platform/exynos4-is/fimc-reg.c 	u32 cfg = readl(dev->regs + FIMC_REG_MSCTRL);
regs              515 drivers/media/platform/exynos4-is/fimc-reg.c 	writel(cfg, dev->regs + FIMC_REG_MSCTRL);
regs              522 drivers/media/platform/exynos4-is/fimc-reg.c 	u32 cfg = readl(dev->regs + FIMC_REG_CISCCTRL);
regs              526 drivers/media/platform/exynos4-is/fimc-reg.c 	writel(cfg, dev->regs + FIMC_REG_CISCCTRL);
regs              531 drivers/media/platform/exynos4-is/fimc-reg.c 	u32 cfg = readl(dev->regs + FIMC_REG_CIREAL_ISIZE);
regs              533 drivers/media/platform/exynos4-is/fimc-reg.c 	writel(cfg, dev->regs + FIMC_REG_CIREAL_ISIZE);
regs              535 drivers/media/platform/exynos4-is/fimc-reg.c 	writel(paddr->y, dev->regs + FIMC_REG_CIIYSA(0));
regs              536 drivers/media/platform/exynos4-is/fimc-reg.c 	writel(paddr->cb, dev->regs + FIMC_REG_CIICBSA(0));
regs              537 drivers/media/platform/exynos4-is/fimc-reg.c 	writel(paddr->cr, dev->regs + FIMC_REG_CIICRSA(0));
regs              540 drivers/media/platform/exynos4-is/fimc-reg.c 	writel(cfg, dev->regs + FIMC_REG_CIREAL_ISIZE);
regs              548 drivers/media/platform/exynos4-is/fimc-reg.c 		writel(paddr->y, dev->regs + FIMC_REG_CIOYSA(i));
regs              549 drivers/media/platform/exynos4-is/fimc-reg.c 		writel(paddr->cb, dev->regs + FIMC_REG_CIOCBSA(i));
regs              550 drivers/media/platform/exynos4-is/fimc-reg.c 		writel(paddr->cr, dev->regs + FIMC_REG_CIOCRSA(i));
regs              559 drivers/media/platform/exynos4-is/fimc-reg.c 	u32 cfg = readl(fimc->regs + FIMC_REG_CIGCTRL);
regs              580 drivers/media/platform/exynos4-is/fimc-reg.c 	writel(cfg, fimc->regs + FIMC_REG_CIGCTRL);
regs              642 drivers/media/platform/exynos4-is/fimc-reg.c 	writel(cfg, fimc->regs + FIMC_REG_CISRCFMT);
regs              650 drivers/media/platform/exynos4-is/fimc-reg.c 	u32 cfg = readl(fimc->regs + FIMC_REG_CIWDOFST);
regs              656 drivers/media/platform/exynos4-is/fimc-reg.c 	writel(cfg, fimc->regs + FIMC_REG_CIWDOFST);
regs              662 drivers/media/platform/exynos4-is/fimc-reg.c 	writel(cfg, fimc->regs + FIMC_REG_CIWDOFST2);
regs              672 drivers/media/platform/exynos4-is/fimc-reg.c 	cfg = readl(fimc->regs + FIMC_REG_CIGCTRL);
regs              705 drivers/media/platform/exynos4-is/fimc-reg.c 		writel(tmp, fimc->regs + FIMC_REG_CSIIMGFMT);
regs              726 drivers/media/platform/exynos4-is/fimc-reg.c 	writel(cfg, fimc->regs + FIMC_REG_CIGCTRL);
regs              733 drivers/media/platform/exynos4-is/fimc-reg.c 	u32 cfg = readl(dev->regs + FIMC_REG_CIGCTRL);
regs              735 drivers/media/platform/exynos4-is/fimc-reg.c 	writel(cfg, dev->regs + FIMC_REG_CIGCTRL);
regs              740 drivers/media/platform/exynos4-is/fimc-reg.c 	u32 cfg = readl(dev->regs + FIMC_REG_CISCCTRL);
regs              745 drivers/media/platform/exynos4-is/fimc-reg.c 	writel(cfg, dev->regs + FIMC_REG_CISCCTRL);
regs              750 drivers/media/platform/exynos4-is/fimc-reg.c 	u32 cfg = readl(dev->regs + FIMC_REG_MSCTRL);
regs              755 drivers/media/platform/exynos4-is/fimc-reg.c 	writel(cfg, dev->regs + FIMC_REG_MSCTRL);
regs              764 drivers/media/platform/exynos4-is/fimc-reg.c 		reg = readl(dev->regs + FIMC_REG_CISTATUS2) & 0x3f;
regs              768 drivers/media/platform/exynos4-is/fimc-reg.c 	reg = readl(dev->regs + FIMC_REG_CISTATUS);
regs              782 drivers/media/platform/exynos4-is/fimc-reg.c 	reg = readl(dev->regs + FIMC_REG_CISTATUS2);
regs              334 drivers/media/platform/exynos4-is/fimc-reg.h 	writel(mask, dev->regs + FIMC_REG_CIFCNTSEQ);
regs              207 drivers/media/platform/exynos4-is/mipi-csis.c 	void __iomem *regs;
regs              271 drivers/media/platform/exynos4-is/mipi-csis.c #define s5pcsis_write(__csis, __r, __v) writel(__v, __csis->regs + __r)
regs              272 drivers/media/platform/exynos4-is/mipi-csis.c #define s5pcsis_read(__csis, __r) readl(__csis->regs + __r)
regs              689 drivers/media/platform/exynos4-is/mipi-csis.c 		memcpy(pktbuf->data, (u8 __force *)state->regs + offset,
regs              801 drivers/media/platform/exynos4-is/mipi-csis.c 	state->regs = devm_ioremap_resource(dev, mem_res);
regs              802 drivers/media/platform/exynos4-is/mipi-csis.c 	if (IS_ERR(state->regs))
regs              803 drivers/media/platform/exynos4-is/mipi-csis.c 		return PTR_ERR(state->regs);
regs              524 drivers/media/platform/marvell-ccic/cafe-driver.c 	mcam->regs = pci_iomap(pdev, 0, 0);
regs              525 drivers/media/platform/marvell-ccic/cafe-driver.c 	if (!mcam->regs) {
regs              571 drivers/media/platform/marvell-ccic/cafe-driver.c 	pci_iounmap(pdev, mcam->regs);
regs              589 drivers/media/platform/marvell-ccic/cafe-driver.c 	pci_iounmap(cam->pdev, cam->mcam.regs);
regs              106 drivers/media/platform/marvell-ccic/mcam-core.h 	unsigned char __iomem *regs;
regs              202 drivers/media/platform/marvell-ccic/mcam-core.h 	iowrite32(val, cam->regs + reg);
regs              208 drivers/media/platform/marvell-ccic/mcam-core.h 	return ioread32(cam->regs + reg);
regs              267 drivers/media/platform/marvell-ccic/mmp-driver.c 	mcam->regs = devm_ioremap_resource(&pdev->dev, res);
regs              268 drivers/media/platform/marvell-ccic/mmp-driver.c 	if (IS_ERR(mcam->regs))
regs              269 drivers/media/platform/marvell-ccic/mmp-driver.c 		return PTR_ERR(mcam->regs);
regs              109 drivers/media/platform/mtk-mdp/mtk_mdp_comp.c 	comp->regs = of_iomap(node, 0);
regs               49 drivers/media/platform/mtk-mdp/mtk_mdp_comp.h 	void __iomem		*regs;
regs              629 drivers/media/platform/omap3isp/ispcsi2.c #define CSI2_PRINT_REGISTER(isp, regs, name)\
regs              631 drivers/media/platform/omap3isp/ispcsi2.c 		isp_reg_readl(isp, regs, ISPCSI2_##name))
regs              563 drivers/media/platform/rcar_fdp1.c 	void __iomem			*regs;
regs              778 drivers/media/platform/rcar_fdp1.c 	u32 value = ioread32(fdp1->regs + reg);
regs              791 drivers/media/platform/rcar_fdp1.c 	iowrite32(val, fdp1->regs + reg);
regs             2286 drivers/media/platform/rcar_fdp1.c 	fdp1->regs = devm_ioremap_resource(&pdev->dev, res);
regs             2287 drivers/media/platform/rcar_fdp1.c 	if (IS_ERR(fdp1->regs))
regs             2288 drivers/media/platform/rcar_fdp1.c 		return PTR_ERR(fdp1->regs);
regs              213 drivers/media/platform/rcar_jpu.c 	void __iomem		*regs;
regs              477 drivers/media/platform/rcar_jpu.c 	return ioread32(jpu->regs + reg);
regs              482 drivers/media/platform/rcar_jpu.c 	iowrite32(val, jpu->regs + reg);
regs             1611 drivers/media/platform/rcar_jpu.c 	jpu->regs = devm_ioremap_resource(&pdev->dev, res);
regs             1612 drivers/media/platform/rcar_jpu.c 	if (IS_ERR(jpu->regs))
regs             1613 drivers/media/platform/rcar_jpu.c 		return PTR_ERR(jpu->regs);
regs              826 drivers/media/platform/rockchip/rga/rga.c 	rga->regs = devm_ioremap_resource(rga->dev, res);
regs              827 drivers/media/platform/rockchip/rga/rga.c 	if (IS_ERR(rga->regs)) {
regs              828 drivers/media/platform/rockchip/rga/rga.c 		ret = PTR_ERR(rga->regs);
regs               70 drivers/media/platform/rockchip/rga/rga.h 	void __iomem *regs;
regs               97 drivers/media/platform/rockchip/rga/rga.h 	writel(value, rga->regs + reg);
regs              102 drivers/media/platform/rockchip/rga/rga.h 	return readl(rga->regs + reg);
regs               14 drivers/media/platform/s5p-g2d/g2d-hw.c #define w(x, a)	writel((x), d->regs + (a))
regs               15 drivers/media/platform/s5p-g2d/g2d-hw.c #define r(a)	readl(d->regs + (a))
regs              637 drivers/media/platform/s5p-g2d/g2d.c 	dev->regs = devm_ioremap_resource(&pdev->dev, res);
regs              638 drivers/media/platform/s5p-g2d/g2d.c 	if (IS_ERR(dev->regs))
regs              639 drivers/media/platform/s5p-g2d/g2d.c 		return PTR_ERR(dev->regs);
regs               24 drivers/media/platform/s5p-g2d/g2d.h 	void __iomem		*regs;
regs              614 drivers/media/platform/s5p-jpeg/jpeg-core.c static inline void s5p_jpeg_set_qtbl(void __iomem *regs,
regs              621 drivers/media/platform/s5p-jpeg/jpeg-core.c 		writel((unsigned int)qtbl[i], regs + tab + (i * 0x04));
regs              624 drivers/media/platform/s5p-jpeg/jpeg-core.c static inline void s5p_jpeg_set_qtbl_lum(void __iomem *regs, int quality)
regs              627 drivers/media/platform/s5p-jpeg/jpeg-core.c 	s5p_jpeg_set_qtbl(regs, qtbl_luminance[quality],
regs              632 drivers/media/platform/s5p-jpeg/jpeg-core.c static inline void s5p_jpeg_set_qtbl_chr(void __iomem *regs, int quality)
regs              635 drivers/media/platform/s5p-jpeg/jpeg-core.c 	s5p_jpeg_set_qtbl(regs, qtbl_chrominance[quality],
regs              640 drivers/media/platform/s5p-jpeg/jpeg-core.c static inline void s5p_jpeg_set_htbl(void __iomem *regs,
regs              647 drivers/media/platform/s5p-jpeg/jpeg-core.c 		writel((unsigned int)htbl[i], regs + tab + (i * 0x04));
regs              650 drivers/media/platform/s5p-jpeg/jpeg-core.c static inline void s5p_jpeg_set_hdctbl(void __iomem *regs)
regs              653 drivers/media/platform/s5p-jpeg/jpeg-core.c 	s5p_jpeg_set_htbl(regs, hdctbl0, S5P_JPG_HDCTBL(0),
regs              657 drivers/media/platform/s5p-jpeg/jpeg-core.c static inline void s5p_jpeg_set_hdctblg(void __iomem *regs)
regs              660 drivers/media/platform/s5p-jpeg/jpeg-core.c 	s5p_jpeg_set_htbl(regs, hdctblg0, S5P_JPG_HDCTBLG(0),
regs              664 drivers/media/platform/s5p-jpeg/jpeg-core.c static inline void s5p_jpeg_set_hactbl(void __iomem *regs)
regs              667 drivers/media/platform/s5p-jpeg/jpeg-core.c 	s5p_jpeg_set_htbl(regs, hactbl0, S5P_JPG_HACTBL(0),
regs              671 drivers/media/platform/s5p-jpeg/jpeg-core.c static inline void s5p_jpeg_set_hactblg(void __iomem *regs)
regs              674 drivers/media/platform/s5p-jpeg/jpeg-core.c 	s5p_jpeg_set_htbl(regs, hactblg0, S5P_JPG_HACTBLG(0),
regs              678 drivers/media/platform/s5p-jpeg/jpeg-core.c static inline void exynos4_jpeg_set_tbl(void __iomem *regs,
regs              690 drivers/media/platform/s5p-jpeg/jpeg-core.c 		writel(dword, regs + tab + i);
regs              694 drivers/media/platform/s5p-jpeg/jpeg-core.c static inline void exynos4_jpeg_set_qtbl_lum(void __iomem *regs, int quality)
regs              697 drivers/media/platform/s5p-jpeg/jpeg-core.c 	exynos4_jpeg_set_tbl(regs, qtbl_luminance[quality],
regs              702 drivers/media/platform/s5p-jpeg/jpeg-core.c static inline void exynos4_jpeg_set_qtbl_chr(void __iomem *regs, int quality)
regs              705 drivers/media/platform/s5p-jpeg/jpeg-core.c 	exynos4_jpeg_set_tbl(regs, qtbl_chrominance[quality],
regs              795 drivers/media/platform/s5p-jpeg/jpeg-core.c 		exynos4_jpeg_select_dec_h_tbl(jpeg->regs, c,
regs              831 drivers/media/platform/s5p-jpeg/jpeg-core.c 					writel(word, jpeg->regs +
regs              845 drivers/media/platform/s5p-jpeg/jpeg-core.c 					writel(word, jpeg->regs +
regs              852 drivers/media/platform/s5p-jpeg/jpeg-core.c 				writel(word, jpeg->regs +
regs              877 drivers/media/platform/s5p-jpeg/jpeg-core.c 	exynos4_jpeg_set_dec_components(jpeg->regs, components);
regs              887 drivers/media/platform/s5p-jpeg/jpeg-core.c 		exynos4_jpeg_select_dec_q_tbl(jpeg->regs, c, x);
regs              922 drivers/media/platform/s5p-jpeg/jpeg-core.c 					writel(word, jpeg->regs +
regs             2056 drivers/media/platform/s5p-jpeg/jpeg-core.c 	s5p_jpeg_reset(jpeg->regs);
regs             2057 drivers/media/platform/s5p-jpeg/jpeg-core.c 	s5p_jpeg_poweron(jpeg->regs);
regs             2058 drivers/media/platform/s5p-jpeg/jpeg-core.c 	s5p_jpeg_proc_mode(jpeg->regs, ctx->mode);
regs             2061 drivers/media/platform/s5p-jpeg/jpeg-core.c 			s5p_jpeg_input_raw_mode(jpeg->regs,
regs             2064 drivers/media/platform/s5p-jpeg/jpeg-core.c 			s5p_jpeg_input_raw_mode(jpeg->regs,
regs             2066 drivers/media/platform/s5p-jpeg/jpeg-core.c 		s5p_jpeg_subsampling_mode(jpeg->regs, ctx->subsampling);
regs             2067 drivers/media/platform/s5p-jpeg/jpeg-core.c 		s5p_jpeg_dri(jpeg->regs, ctx->restart_interval);
regs             2068 drivers/media/platform/s5p-jpeg/jpeg-core.c 		s5p_jpeg_x(jpeg->regs, ctx->out_q.w);
regs             2069 drivers/media/platform/s5p-jpeg/jpeg-core.c 		s5p_jpeg_y(jpeg->regs, ctx->out_q.h);
regs             2070 drivers/media/platform/s5p-jpeg/jpeg-core.c 		s5p_jpeg_imgadr(jpeg->regs, src_addr);
regs             2071 drivers/media/platform/s5p-jpeg/jpeg-core.c 		s5p_jpeg_jpgadr(jpeg->regs, dst_addr);
regs             2074 drivers/media/platform/s5p-jpeg/jpeg-core.c 		s5p_jpeg_enc_stream_int(jpeg->regs, ctx->cap_q.size);
regs             2077 drivers/media/platform/s5p-jpeg/jpeg-core.c 		s5p_jpeg_coef(jpeg->regs, 1, 1, S5P_JPEG_COEF11);
regs             2078 drivers/media/platform/s5p-jpeg/jpeg-core.c 		s5p_jpeg_coef(jpeg->regs, 1, 2, S5P_JPEG_COEF12);
regs             2079 drivers/media/platform/s5p-jpeg/jpeg-core.c 		s5p_jpeg_coef(jpeg->regs, 1, 3, S5P_JPEG_COEF13);
regs             2080 drivers/media/platform/s5p-jpeg/jpeg-core.c 		s5p_jpeg_coef(jpeg->regs, 2, 1, S5P_JPEG_COEF21);
regs             2081 drivers/media/platform/s5p-jpeg/jpeg-core.c 		s5p_jpeg_coef(jpeg->regs, 2, 2, S5P_JPEG_COEF22);
regs             2082 drivers/media/platform/s5p-jpeg/jpeg-core.c 		s5p_jpeg_coef(jpeg->regs, 2, 3, S5P_JPEG_COEF23);
regs             2083 drivers/media/platform/s5p-jpeg/jpeg-core.c 		s5p_jpeg_coef(jpeg->regs, 3, 1, S5P_JPEG_COEF31);
regs             2084 drivers/media/platform/s5p-jpeg/jpeg-core.c 		s5p_jpeg_coef(jpeg->regs, 3, 2, S5P_JPEG_COEF32);
regs             2085 drivers/media/platform/s5p-jpeg/jpeg-core.c 		s5p_jpeg_coef(jpeg->regs, 3, 3, S5P_JPEG_COEF33);
regs             2091 drivers/media/platform/s5p-jpeg/jpeg-core.c 		s5p_jpeg_set_qtbl_lum(jpeg->regs, ctx->compr_quality);
regs             2092 drivers/media/platform/s5p-jpeg/jpeg-core.c 		s5p_jpeg_set_qtbl_chr(jpeg->regs, ctx->compr_quality);
regs             2094 drivers/media/platform/s5p-jpeg/jpeg-core.c 		s5p_jpeg_qtbl(jpeg->regs, 1, 0);
regs             2096 drivers/media/platform/s5p-jpeg/jpeg-core.c 		s5p_jpeg_qtbl(jpeg->regs, 2, 1);
regs             2097 drivers/media/platform/s5p-jpeg/jpeg-core.c 		s5p_jpeg_qtbl(jpeg->regs, 3, 1);
regs             2100 drivers/media/platform/s5p-jpeg/jpeg-core.c 		s5p_jpeg_htbl_ac(jpeg->regs, 1);
regs             2101 drivers/media/platform/s5p-jpeg/jpeg-core.c 		s5p_jpeg_htbl_dc(jpeg->regs, 1);
regs             2102 drivers/media/platform/s5p-jpeg/jpeg-core.c 		s5p_jpeg_htbl_ac(jpeg->regs, 2);
regs             2103 drivers/media/platform/s5p-jpeg/jpeg-core.c 		s5p_jpeg_htbl_dc(jpeg->regs, 2);
regs             2104 drivers/media/platform/s5p-jpeg/jpeg-core.c 		s5p_jpeg_htbl_ac(jpeg->regs, 3);
regs             2105 drivers/media/platform/s5p-jpeg/jpeg-core.c 		s5p_jpeg_htbl_dc(jpeg->regs, 3);
regs             2107 drivers/media/platform/s5p-jpeg/jpeg-core.c 		s5p_jpeg_rst_int_enable(jpeg->regs, true);
regs             2108 drivers/media/platform/s5p-jpeg/jpeg-core.c 		s5p_jpeg_data_num_int_enable(jpeg->regs, true);
regs             2109 drivers/media/platform/s5p-jpeg/jpeg-core.c 		s5p_jpeg_final_mcu_num_int_enable(jpeg->regs, true);
regs             2111 drivers/media/platform/s5p-jpeg/jpeg-core.c 			s5p_jpeg_outform_raw(jpeg->regs, S5P_JPEG_RAW_OUT_422);
regs             2113 drivers/media/platform/s5p-jpeg/jpeg-core.c 			s5p_jpeg_outform_raw(jpeg->regs, S5P_JPEG_RAW_OUT_420);
regs             2114 drivers/media/platform/s5p-jpeg/jpeg-core.c 		s5p_jpeg_jpgadr(jpeg->regs, src_addr);
regs             2115 drivers/media/platform/s5p-jpeg/jpeg-core.c 		s5p_jpeg_imgadr(jpeg->regs, dst_addr);
regs             2118 drivers/media/platform/s5p-jpeg/jpeg-core.c 	s5p_jpeg_start(jpeg->regs);
regs             2158 drivers/media/platform/s5p-jpeg/jpeg-core.c 	exynos4_jpeg_set_frame_buf_address(jpeg->regs, &jpeg_addr);
regs             2176 drivers/media/platform/s5p-jpeg/jpeg-core.c 	exynos4_jpeg_set_stream_buf_address(jpeg->regs, jpeg_addr);
regs             2213 drivers/media/platform/s5p-jpeg/jpeg-core.c 		exynos4_jpeg_sw_reset(jpeg->regs);
regs             2214 drivers/media/platform/s5p-jpeg/jpeg-core.c 		exynos4_jpeg_set_interrupt(jpeg->regs, jpeg->variant->version);
regs             2215 drivers/media/platform/s5p-jpeg/jpeg-core.c 		exynos4_jpeg_set_huf_table_enable(jpeg->regs, 1);
regs             2217 drivers/media/platform/s5p-jpeg/jpeg-core.c 		exynos4_jpeg_set_huff_tbl(jpeg->regs);
regs             2223 drivers/media/platform/s5p-jpeg/jpeg-core.c 		exynos4_jpeg_set_qtbl_lum(jpeg->regs, ctx->compr_quality);
regs             2224 drivers/media/platform/s5p-jpeg/jpeg-core.c 		exynos4_jpeg_set_qtbl_chr(jpeg->regs, ctx->compr_quality);
regs             2226 drivers/media/platform/s5p-jpeg/jpeg-core.c 		exynos4_jpeg_set_encode_tbl_select(jpeg->regs,
regs             2228 drivers/media/platform/s5p-jpeg/jpeg-core.c 		exynos4_jpeg_set_stream_size(jpeg->regs, ctx->cap_q.w,
regs             2232 drivers/media/platform/s5p-jpeg/jpeg-core.c 			exynos4_jpeg_set_enc_out_fmt(jpeg->regs,
regs             2234 drivers/media/platform/s5p-jpeg/jpeg-core.c 			exynos4_jpeg_set_img_fmt(jpeg->regs,
regs             2237 drivers/media/platform/s5p-jpeg/jpeg-core.c 			exynos5433_jpeg_set_enc_out_fmt(jpeg->regs,
regs             2239 drivers/media/platform/s5p-jpeg/jpeg-core.c 			exynos5433_jpeg_set_img_fmt(jpeg->regs,
regs             2244 drivers/media/platform/s5p-jpeg/jpeg-core.c 		exynos4_jpeg_set_encode_hoff_cnt(jpeg->regs,
regs             2247 drivers/media/platform/s5p-jpeg/jpeg-core.c 		exynos4_jpeg_sw_reset(jpeg->regs);
regs             2248 drivers/media/platform/s5p-jpeg/jpeg-core.c 		exynos4_jpeg_set_interrupt(jpeg->regs,
regs             2260 drivers/media/platform/s5p-jpeg/jpeg-core.c 			exynos4_jpeg_set_huf_table_enable(jpeg->regs, 1);
regs             2262 drivers/media/platform/s5p-jpeg/jpeg-core.c 			exynos4_jpeg_set_stream_size(jpeg->regs, ctx->cap_q.w,
regs             2264 drivers/media/platform/s5p-jpeg/jpeg-core.c 			exynos5433_jpeg_set_enc_out_fmt(jpeg->regs,
regs             2266 drivers/media/platform/s5p-jpeg/jpeg-core.c 			exynos5433_jpeg_set_img_fmt(jpeg->regs,
regs             2270 drivers/media/platform/s5p-jpeg/jpeg-core.c 			exynos4_jpeg_set_img_fmt(jpeg->regs,
regs             2275 drivers/media/platform/s5p-jpeg/jpeg-core.c 		exynos4_jpeg_set_dec_bitstream_size(jpeg->regs, bitstream_size);
regs             2278 drivers/media/platform/s5p-jpeg/jpeg-core.c 	exynos4_jpeg_set_sys_int_enable(jpeg->regs, 1);
regs             2279 drivers/media/platform/s5p-jpeg/jpeg-core.c 	exynos4_jpeg_set_enc_dec_mode(jpeg->regs, ctx->mode);
regs             2314 drivers/media/platform/s5p-jpeg/jpeg-core.c 	exynos3250_jpeg_imgadr(jpeg->regs, &jpeg_addr);
regs             2329 drivers/media/platform/s5p-jpeg/jpeg-core.c 	exynos3250_jpeg_jpgadr(jpeg->regs, jpeg_addr);
regs             2340 drivers/media/platform/s5p-jpeg/jpeg-core.c 	exynos3250_jpeg_reset(jpeg->regs);
regs             2341 drivers/media/platform/s5p-jpeg/jpeg-core.c 	exynos3250_jpeg_set_dma_num(jpeg->regs);
regs             2342 drivers/media/platform/s5p-jpeg/jpeg-core.c 	exynos3250_jpeg_poweron(jpeg->regs);
regs             2343 drivers/media/platform/s5p-jpeg/jpeg-core.c 	exynos3250_jpeg_clk_set(jpeg->regs);
regs             2344 drivers/media/platform/s5p-jpeg/jpeg-core.c 	exynos3250_jpeg_proc_mode(jpeg->regs, ctx->mode);
regs             2347 drivers/media/platform/s5p-jpeg/jpeg-core.c 		exynos3250_jpeg_input_raw_fmt(jpeg->regs,
regs             2349 drivers/media/platform/s5p-jpeg/jpeg-core.c 		exynos3250_jpeg_dri(jpeg->regs, ctx->restart_interval);
regs             2355 drivers/media/platform/s5p-jpeg/jpeg-core.c 		s5p_jpeg_set_qtbl_lum(jpeg->regs, ctx->compr_quality);
regs             2356 drivers/media/platform/s5p-jpeg/jpeg-core.c 		s5p_jpeg_set_qtbl_chr(jpeg->regs, ctx->compr_quality);
regs             2358 drivers/media/platform/s5p-jpeg/jpeg-core.c 		exynos3250_jpeg_qtbl(jpeg->regs, 1, 0);
regs             2360 drivers/media/platform/s5p-jpeg/jpeg-core.c 		exynos3250_jpeg_qtbl(jpeg->regs, 2, 1);
regs             2361 drivers/media/platform/s5p-jpeg/jpeg-core.c 		exynos3250_jpeg_qtbl(jpeg->regs, 3, 1);
regs             2367 drivers/media/platform/s5p-jpeg/jpeg-core.c 			s5p_jpeg_set_hdctbl(jpeg->regs);
regs             2368 drivers/media/platform/s5p-jpeg/jpeg-core.c 			s5p_jpeg_set_hdctblg(jpeg->regs);
regs             2369 drivers/media/platform/s5p-jpeg/jpeg-core.c 			s5p_jpeg_set_hactbl(jpeg->regs);
regs             2370 drivers/media/platform/s5p-jpeg/jpeg-core.c 			s5p_jpeg_set_hactblg(jpeg->regs);
regs             2374 drivers/media/platform/s5p-jpeg/jpeg-core.c 		exynos3250_jpeg_htbl_ac(jpeg->regs, 1);
regs             2375 drivers/media/platform/s5p-jpeg/jpeg-core.c 		exynos3250_jpeg_htbl_dc(jpeg->regs, 1);
regs             2376 drivers/media/platform/s5p-jpeg/jpeg-core.c 		exynos3250_jpeg_htbl_ac(jpeg->regs, 2);
regs             2377 drivers/media/platform/s5p-jpeg/jpeg-core.c 		exynos3250_jpeg_htbl_dc(jpeg->regs, 2);
regs             2378 drivers/media/platform/s5p-jpeg/jpeg-core.c 		exynos3250_jpeg_htbl_ac(jpeg->regs, 3);
regs             2379 drivers/media/platform/s5p-jpeg/jpeg-core.c 		exynos3250_jpeg_htbl_dc(jpeg->regs, 3);
regs             2381 drivers/media/platform/s5p-jpeg/jpeg-core.c 		exynos3250_jpeg_set_x(jpeg->regs, ctx->crop_rect.width);
regs             2382 drivers/media/platform/s5p-jpeg/jpeg-core.c 		exynos3250_jpeg_set_y(jpeg->regs, ctx->crop_rect.height);
regs             2383 drivers/media/platform/s5p-jpeg/jpeg-core.c 		exynos3250_jpeg_stride(jpeg->regs, ctx->out_q.fmt->fourcc,
regs             2385 drivers/media/platform/s5p-jpeg/jpeg-core.c 		exynos3250_jpeg_offset(jpeg->regs, ctx->crop_rect.left,
regs             2389 drivers/media/platform/s5p-jpeg/jpeg-core.c 		exynos3250_jpeg_subsampling_mode(jpeg->regs, ctx->subsampling);
regs             2392 drivers/media/platform/s5p-jpeg/jpeg-core.c 		exynos3250_jpeg_enc_stream_bound(jpeg->regs, ctx->cap_q.size);
regs             2397 drivers/media/platform/s5p-jpeg/jpeg-core.c 			exynos3250_jpeg_set_y16(jpeg->regs, true);
regs             2401 drivers/media/platform/s5p-jpeg/jpeg-core.c 		exynos3250_jpeg_stride(jpeg->regs, ctx->cap_q.fmt->fourcc,
regs             2403 drivers/media/platform/s5p-jpeg/jpeg-core.c 		exynos3250_jpeg_offset(jpeg->regs, 0, 0);
regs             2404 drivers/media/platform/s5p-jpeg/jpeg-core.c 		exynos3250_jpeg_dec_scaling_ratio(jpeg->regs,
regs             2406 drivers/media/platform/s5p-jpeg/jpeg-core.c 		exynos3250_jpeg_dec_stream_size(jpeg->regs, ctx->out_q.size);
regs             2407 drivers/media/platform/s5p-jpeg/jpeg-core.c 		exynos3250_jpeg_output_raw_fmt(jpeg->regs,
regs             2411 drivers/media/platform/s5p-jpeg/jpeg-core.c 	exynos3250_jpeg_interrupts_enable(jpeg->regs);
regs             2414 drivers/media/platform/s5p-jpeg/jpeg-core.c 	exynos3250_jpeg_coef(jpeg->regs, ctx->mode);
regs             2416 drivers/media/platform/s5p-jpeg/jpeg-core.c 	exynos3250_jpeg_set_timer(jpeg->regs, EXYNOS3250_IRQ_TIMEOUT);
regs             2418 drivers/media/platform/s5p-jpeg/jpeg-core.c 	exynos3250_jpeg_start(jpeg->regs);
regs             2675 drivers/media/platform/s5p-jpeg/jpeg-core.c 		enc_jpeg_too_large = s5p_jpeg_enc_stream_stat(jpeg->regs);
regs             2676 drivers/media/platform/s5p-jpeg/jpeg-core.c 	timer_elapsed = s5p_jpeg_timer_stat(jpeg->regs);
regs             2677 drivers/media/platform/s5p-jpeg/jpeg-core.c 	op_completed = s5p_jpeg_result_stat_ok(jpeg->regs);
regs             2680 drivers/media/platform/s5p-jpeg/jpeg-core.c 					s5p_jpeg_stream_stat_ok(jpeg->regs);
regs             2684 drivers/media/platform/s5p-jpeg/jpeg-core.c 		s5p_jpeg_clear_enc_stream_stat(jpeg->regs);
regs             2687 drivers/media/platform/s5p-jpeg/jpeg-core.c 		s5p_jpeg_clear_timer_stat(jpeg->regs);
regs             2691 drivers/media/platform/s5p-jpeg/jpeg-core.c 		payload_size = s5p_jpeg_compressed_size(jpeg->regs);
regs             2705 drivers/media/platform/s5p-jpeg/jpeg-core.c 	curr_ctx->subsampling = s5p_jpeg_get_subsampling_mode(jpeg->regs);
regs             2708 drivers/media/platform/s5p-jpeg/jpeg-core.c 	s5p_jpeg_clear_int(jpeg->regs);
regs             2724 drivers/media/platform/s5p-jpeg/jpeg-core.c 	exynos4_jpeg_set_sys_int_enable(jpeg->regs, 0);
regs             2731 drivers/media/platform/s5p-jpeg/jpeg-core.c 	int_status = exynos4_jpeg_get_int_status(jpeg->regs);
regs             2760 drivers/media/platform/s5p-jpeg/jpeg-core.c 			payload_size = exynos4_jpeg_get_stream_size(jpeg->regs);
regs             2772 drivers/media/platform/s5p-jpeg/jpeg-core.c 		curr_ctx->subsampling = exynos4_jpeg_get_frame_fmt(jpeg->regs);
regs             2774 drivers/media/platform/s5p-jpeg/jpeg-core.c 	exynos4_jpeg_set_enc_dec_mode(jpeg->regs, S5P_JPEG_DISABLE);
regs             2795 drivers/media/platform/s5p-jpeg/jpeg-core.c 	irq_status = exynos3250_jpeg_get_timer_status(jpeg->regs);
regs             2797 drivers/media/platform/s5p-jpeg/jpeg-core.c 		exynos3250_jpeg_clear_timer_status(jpeg->regs);
regs             2802 drivers/media/platform/s5p-jpeg/jpeg-core.c 	irq_status = exynos3250_jpeg_get_int_status(jpeg->regs);
regs             2803 drivers/media/platform/s5p-jpeg/jpeg-core.c 	exynos3250_jpeg_clear_int_status(jpeg->regs, irq_status);
regs             2820 drivers/media/platform/s5p-jpeg/jpeg-core.c 		exynos3250_jpeg_rstart(jpeg->regs);
regs             2828 drivers/media/platform/s5p-jpeg/jpeg-core.c 		payload_size = exynos3250_jpeg_compressed_size(jpeg->regs);
regs             2846 drivers/media/platform/s5p-jpeg/jpeg-core.c 			exynos3250_jpeg_get_subsampling_mode(jpeg->regs);
regs             2886 drivers/media/platform/s5p-jpeg/jpeg-core.c 	jpeg->regs = devm_ioremap_resource(&pdev->dev, res);
regs             2887 drivers/media/platform/s5p-jpeg/jpeg-core.c 	if (IS_ERR(jpeg->regs))
regs             2888 drivers/media/platform/s5p-jpeg/jpeg-core.c 		return PTR_ERR(jpeg->regs);
regs             3072 drivers/media/platform/s5p-jpeg/jpeg-core.c 		s5p_jpeg_set_hdctbl(jpeg->regs);
regs             3073 drivers/media/platform/s5p-jpeg/jpeg-core.c 		s5p_jpeg_set_hdctblg(jpeg->regs);
regs             3074 drivers/media/platform/s5p-jpeg/jpeg-core.c 		s5p_jpeg_set_hactbl(jpeg->regs);
regs             3075 drivers/media/platform/s5p-jpeg/jpeg-core.c 		s5p_jpeg_set_hactblg(jpeg->regs);
regs              130 drivers/media/platform/s5p-jpeg/jpeg-core.h 	void __iomem		*regs;
regs               18 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c void exynos3250_jpeg_reset(void __iomem *regs)
regs               23 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c 	writel(1, regs + EXYNOS3250_SW_RESET);
regs               28 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c 		reg = readl(regs + EXYNOS3250_SW_RESET);
regs               35 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c 		writel(1, regs + EXYNOS3250_JPGDRI);
regs               38 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c 		reg = readl(regs + EXYNOS3250_JPGDRI);
regs               41 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c 	writel(0, regs + EXYNOS3250_JPGDRI);
regs               44 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c void exynos3250_jpeg_poweron(void __iomem *regs)
regs               46 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c 	writel(EXYNOS3250_POWER_ON, regs + EXYNOS3250_JPGCLKCON);
regs               49 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c void exynos3250_jpeg_set_dma_num(void __iomem *regs)
regs               57 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c 		regs + EXYNOS3250_DMA_ISSUE_NUM);
regs               69 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c void exynos3250_jpeg_input_raw_fmt(void __iomem *regs, unsigned int fmt)
regs               73 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c 	reg = readl(regs + EXYNOS3250_JPGCMOD) &
regs              117 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c 	writel(reg, regs + EXYNOS3250_JPGCMOD);
regs              120 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c void exynos3250_jpeg_set_y16(void __iomem *regs, bool y16)
regs              124 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c 	reg = readl(regs + EXYNOS3250_JPGCMOD);
regs              129 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c 	writel(reg, regs + EXYNOS3250_JPGCMOD);
regs              132 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c void exynos3250_jpeg_proc_mode(void __iomem *regs, unsigned int mode)
regs              140 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c 	reg = readl(regs + EXYNOS3250_JPGMOD);
regs              143 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c 	writel(reg, regs + EXYNOS3250_JPGMOD);
regs              146 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c void exynos3250_jpeg_subsampling_mode(void __iomem *regs, unsigned int mode)
regs              162 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c 	reg = readl(regs + EXYNOS3250_JPGMOD);
regs              165 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c 	writel(reg, regs + EXYNOS3250_JPGMOD);
regs              168 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c unsigned int exynos3250_jpeg_get_subsampling_mode(void __iomem *regs)
regs              170 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c 	return readl(regs + EXYNOS3250_JPGMOD) &
regs              174 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c void exynos3250_jpeg_dri(void __iomem *regs, unsigned int dri)
regs              179 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c 	writel(reg, regs + EXYNOS3250_JPGDRI);
regs              182 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c void exynos3250_jpeg_qtbl(void __iomem *regs, unsigned int t, unsigned int n)
regs              186 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c 	reg = readl(regs + EXYNOS3250_QHTBL);
regs              190 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c 	writel(reg, regs + EXYNOS3250_QHTBL);
regs              193 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c void exynos3250_jpeg_htbl_ac(void __iomem *regs, unsigned int t)
regs              197 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c 	reg = readl(regs + EXYNOS3250_QHTBL);
regs              202 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c 	writel(reg, regs + EXYNOS3250_QHTBL);
regs              205 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c void exynos3250_jpeg_htbl_dc(void __iomem *regs, unsigned int t)
regs              209 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c 	reg = readl(regs + EXYNOS3250_QHTBL);
regs              214 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c 	writel(reg, regs + EXYNOS3250_QHTBL);
regs              217 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c void exynos3250_jpeg_set_y(void __iomem *regs, unsigned int y)
regs              222 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c 	writel(reg, regs + EXYNOS3250_JPGY);
regs              225 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c void exynos3250_jpeg_set_x(void __iomem *regs, unsigned int x)
regs              230 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c 	writel(reg, regs + EXYNOS3250_JPGX);
regs              234 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c unsigned int exynos3250_jpeg_get_y(void __iomem *regs)
regs              236 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c 	return readl(regs + EXYNOS3250_JPGY);
regs              239 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c unsigned int exynos3250_jpeg_get_x(void __iomem *regs)
regs              241 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c 	return readl(regs + EXYNOS3250_JPGX);
regs              245 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c void exynos3250_jpeg_interrupts_enable(void __iomem *regs)
regs              249 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c 	reg = readl(regs + EXYNOS3250_JPGINTSE);
regs              257 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c 	writel(reg, regs + EXYNOS3250_JPGINTSE);
regs              260 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c void exynos3250_jpeg_enc_stream_bound(void __iomem *regs, unsigned int size)
regs              265 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c 	writel(reg, regs + EXYNOS3250_ENC_STREAM_BOUND);
regs              268 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c void exynos3250_jpeg_output_raw_fmt(void __iomem *regs, unsigned int fmt)
regs              313 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c 	writel(reg, regs + EXYNOS3250_OUTFORM);
regs              316 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c void exynos3250_jpeg_jpgadr(void __iomem *regs, unsigned int addr)
regs              318 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c 	writel(addr, regs + EXYNOS3250_JPG_JPGADR);
regs              321 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c void exynos3250_jpeg_imgadr(void __iomem *regs, struct s5p_jpeg_addr *img_addr)
regs              323 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c 	writel(img_addr->y, regs + EXYNOS3250_LUMA_BASE);
regs              324 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c 	writel(img_addr->cb, regs + EXYNOS3250_CHROMA_BASE);
regs              325 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c 	writel(img_addr->cr, regs + EXYNOS3250_CHROMA_CR_BASE);
regs              328 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c void exynos3250_jpeg_stride(void __iomem *regs, unsigned int img_fmt,
regs              358 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c 	writel(reg_luma, regs + EXYNOS3250_LUMA_STRIDE);
regs              359 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c 	writel(reg_cb, regs + EXYNOS3250_CHROMA_STRIDE);
regs              360 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c 	writel(reg_cr, regs + EXYNOS3250_CHROMA_CR_STRIDE);
regs              363 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c void exynos3250_jpeg_offset(void __iomem *regs, unsigned int x_offset,
regs              373 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c 	writel(reg, regs + EXYNOS3250_LUMA_XY_OFFSET);
regs              380 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c 	writel(reg, regs + EXYNOS3250_CHROMA_XY_OFFSET);
regs              387 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c 	writel(reg, regs + EXYNOS3250_CHROMA_CR_XY_OFFSET);
regs              409 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c void exynos3250_jpeg_start(void __iomem *regs)
regs              411 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c 	writel(1, regs + EXYNOS3250_JSTART);
regs              414 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c void exynos3250_jpeg_rstart(void __iomem *regs)
regs              416 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c 	writel(1, regs + EXYNOS3250_JRSTART);
regs              419 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c unsigned int exynos3250_jpeg_get_int_status(void __iomem *regs)
regs              421 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c 	return readl(regs + EXYNOS3250_JPGINTST);
regs              424 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c void exynos3250_jpeg_clear_int_status(void __iomem *regs,
regs              427 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c 	writel(value, regs + EXYNOS3250_JPGINTST);
regs              430 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c unsigned int exynos3250_jpeg_operating(void __iomem *regs)
regs              432 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c 	return readl(regs + S5P_JPGOPR) & EXYNOS3250_JPGOPR_MASK;
regs              435 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c unsigned int exynos3250_jpeg_compressed_size(void __iomem *regs)
regs              437 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c 	return readl(regs + EXYNOS3250_JPGCNT) & EXYNOS3250_JPGCNT_MASK;
regs              440 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c void exynos3250_jpeg_dec_stream_size(void __iomem *regs,
regs              444 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c 				regs + EXYNOS3250_DEC_STREAM_SIZE);
regs              447 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c void exynos3250_jpeg_dec_scaling_ratio(void __iomem *regs,
regs              467 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c 				regs + EXYNOS3250_DEC_SCALING_RATIO);
regs              470 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c void exynos3250_jpeg_set_timer(void __iomem *regs, unsigned int time_value)
regs              475 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c 					regs + EXYNOS3250_TIMER_SE);
regs              478 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c unsigned int exynos3250_jpeg_get_timer_status(void __iomem *regs)
regs              480 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c 	return readl(regs + EXYNOS3250_TIMER_ST);
regs              483 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c void exynos3250_jpeg_clear_timer_status(void __iomem *regs)
regs              485 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c 	writel(EXYNOS3250_TIMER_INT_STAT, regs + EXYNOS3250_TIMER_ST);
regs               17 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.h void exynos3250_jpeg_reset(void __iomem *regs);
regs               18 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.h void exynos3250_jpeg_poweron(void __iomem *regs);
regs               19 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.h void exynos3250_jpeg_set_dma_num(void __iomem *regs);
regs               21 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.h void exynos3250_jpeg_input_raw_fmt(void __iomem *regs, unsigned int fmt);
regs               22 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.h void exynos3250_jpeg_output_raw_fmt(void __iomem *regs, unsigned int fmt);
regs               23 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.h void exynos3250_jpeg_set_y16(void __iomem *regs, bool y16);
regs               24 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.h void exynos3250_jpeg_proc_mode(void __iomem *regs, unsigned int mode);
regs               25 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.h void exynos3250_jpeg_subsampling_mode(void __iomem *regs, unsigned int mode);
regs               26 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.h unsigned int exynos3250_jpeg_get_subsampling_mode(void __iomem *regs);
regs               27 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.h void exynos3250_jpeg_dri(void __iomem *regs, unsigned int dri);
regs               28 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.h void exynos3250_jpeg_qtbl(void __iomem *regs, unsigned int t, unsigned int n);
regs               29 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.h void exynos3250_jpeg_htbl_ac(void __iomem *regs, unsigned int t);
regs               30 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.h void exynos3250_jpeg_htbl_dc(void __iomem *regs, unsigned int t);
regs               31 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.h void exynos3250_jpeg_set_y(void __iomem *regs, unsigned int y);
regs               32 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.h void exynos3250_jpeg_set_x(void __iomem *regs, unsigned int x);
regs               33 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.h void exynos3250_jpeg_interrupts_enable(void __iomem *regs);
regs               34 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.h void exynos3250_jpeg_enc_stream_bound(void __iomem *regs, unsigned int size);
regs               35 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.h void exynos3250_jpeg_outform_raw(void __iomem *regs, unsigned long format);
regs               36 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.h void exynos3250_jpeg_jpgadr(void __iomem *regs, unsigned int addr);
regs               37 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.h void exynos3250_jpeg_imgadr(void __iomem *regs, struct s5p_jpeg_addr *img_addr);
regs               38 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.h void exynos3250_jpeg_stride(void __iomem *regs, unsigned int img_fmt,
regs               40 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.h void exynos3250_jpeg_offset(void __iomem *regs, unsigned int x_offset,
regs               43 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.h void exynos3250_jpeg_start(void __iomem *regs);
regs               44 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.h void exynos3250_jpeg_rstart(void __iomem *regs);
regs               45 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.h unsigned int exynos3250_jpeg_get_int_status(void __iomem *regs);
regs               46 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.h void exynos3250_jpeg_clear_int_status(void __iomem *regs,
regs               48 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.h unsigned int exynos3250_jpeg_operating(void __iomem *regs);
regs               49 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.h unsigned int exynos3250_jpeg_compressed_size(void __iomem *regs);
regs               50 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.h void exynos3250_jpeg_dec_stream_size(void __iomem *regs, unsigned int size);
regs               51 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.h void exynos3250_jpeg_dec_scaling_ratio(void __iomem *regs, unsigned int sratio);
regs               52 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.h void exynos3250_jpeg_set_timer(void __iomem *regs, unsigned int time_value);
regs               53 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.h unsigned int exynos3250_jpeg_get_timer_status(void __iomem *regs);
regs               54 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.h void exynos3250_jpeg_set_timer_status(void __iomem *regs);
regs               55 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.h void exynos3250_jpeg_clear_timer_status(void __iomem *regs);
regs               17 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c void s5p_jpeg_reset(void __iomem *regs)
regs               21 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c 	writel(1, regs + S5P_JPG_SW_RESET);
regs               22 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c 	reg = readl(regs + S5P_JPG_SW_RESET);
regs               26 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c 		reg = readl(regs + S5P_JPG_SW_RESET);
regs               30 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c void s5p_jpeg_poweron(void __iomem *regs)
regs               32 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c 	writel(S5P_POWER_ON, regs + S5P_JPGCLKCON);
regs               35 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c void s5p_jpeg_input_raw_mode(void __iomem *regs, unsigned long mode)
regs               45 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c 	reg = readl(regs + S5P_JPGCMOD);
regs               48 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c 	writel(reg, regs + S5P_JPGCMOD);
regs               51 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c void s5p_jpeg_proc_mode(void __iomem *regs, unsigned long mode)
regs               60 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c 	reg = readl(regs + S5P_JPGMOD);
regs               63 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c 	writel(reg, regs + S5P_JPGMOD);
regs               66 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c void s5p_jpeg_subsampling_mode(void __iomem *regs, unsigned int mode)
regs               75 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c 	reg = readl(regs + S5P_JPGMOD);
regs               78 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c 	writel(reg, regs + S5P_JPGMOD);
regs               81 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c unsigned int s5p_jpeg_get_subsampling_mode(void __iomem *regs)
regs               83 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c 	return readl(regs + S5P_JPGMOD) & S5P_SUBSAMPLING_MODE_MASK;
regs               86 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c void s5p_jpeg_dri(void __iomem *regs, unsigned int dri)
regs               90 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c 	reg = readl(regs + S5P_JPGDRI_U);
regs               93 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c 	writel(reg, regs + S5P_JPGDRI_U);
regs               95 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c 	reg = readl(regs + S5P_JPGDRI_L);
regs               98 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c 	writel(reg, regs + S5P_JPGDRI_L);
regs              101 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c void s5p_jpeg_qtbl(void __iomem *regs, unsigned int t, unsigned int n)
regs              105 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c 	reg = readl(regs + S5P_JPG_QTBL);
regs              108 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c 	writel(reg, regs + S5P_JPG_QTBL);
regs              111 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c void s5p_jpeg_htbl_ac(void __iomem *regs, unsigned int t)
regs              115 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c 	reg = readl(regs + S5P_JPG_HTBL);
regs              119 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c 	writel(reg, regs + S5P_JPG_HTBL);
regs              122 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c void s5p_jpeg_htbl_dc(void __iomem *regs, unsigned int t)
regs              126 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c 	reg = readl(regs + S5P_JPG_HTBL);
regs              130 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c 	writel(reg, regs + S5P_JPG_HTBL);
regs              133 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c void s5p_jpeg_y(void __iomem *regs, unsigned int y)
regs              137 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c 	reg = readl(regs + S5P_JPGY_U);
regs              140 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c 	writel(reg, regs + S5P_JPGY_U);
regs              142 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c 	reg = readl(regs + S5P_JPGY_L);
regs              145 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c 	writel(reg, regs + S5P_JPGY_L);
regs              148 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c void s5p_jpeg_x(void __iomem *regs, unsigned int x)
regs              152 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c 	reg = readl(regs + S5P_JPGX_U);
regs              155 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c 	writel(reg, regs + S5P_JPGX_U);
regs              157 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c 	reg = readl(regs + S5P_JPGX_L);
regs              160 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c 	writel(reg, regs + S5P_JPGX_L);
regs              163 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c void s5p_jpeg_rst_int_enable(void __iomem *regs, bool enable)
regs              167 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c 	reg = readl(regs + S5P_JPGINTSE);
regs              171 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c 	writel(reg, regs + S5P_JPGINTSE);
regs              174 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c void s5p_jpeg_data_num_int_enable(void __iomem *regs, bool enable)
regs              178 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c 	reg = readl(regs + S5P_JPGINTSE);
regs              182 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c 	writel(reg, regs + S5P_JPGINTSE);
regs              185 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c void s5p_jpeg_final_mcu_num_int_enable(void __iomem *regs, bool enbl)
regs              189 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c 	reg = readl(regs + S5P_JPGINTSE);
regs              193 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c 	writel(reg, regs + S5P_JPGINTSE);
regs              196 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c int s5p_jpeg_timer_stat(void __iomem *regs)
regs              198 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c 	return (int)((readl(regs + S5P_JPG_TIMER_ST) & S5P_TIMER_INT_STAT_MASK)
regs              202 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c void s5p_jpeg_clear_timer_stat(void __iomem *regs)
regs              206 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c 	reg = readl(regs + S5P_JPG_TIMER_SE);
regs              208 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c 	writel(reg, regs + S5P_JPG_TIMER_SE);
regs              211 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c void s5p_jpeg_enc_stream_int(void __iomem *regs, unsigned long size)
regs              215 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c 	reg = readl(regs + S5P_JPG_ENC_STREAM_INTSE);
regs              219 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c 	writel(reg, regs + S5P_JPG_ENC_STREAM_INTSE);
regs              222 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c int s5p_jpeg_enc_stream_stat(void __iomem *regs)
regs              224 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c 	return (int)(readl(regs + S5P_JPG_ENC_STREAM_INTST) &
regs              228 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c void s5p_jpeg_clear_enc_stream_stat(void __iomem *regs)
regs              232 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c 	reg = readl(regs + S5P_JPG_ENC_STREAM_INTSE);
regs              234 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c 	writel(reg, regs + S5P_JPG_ENC_STREAM_INTSE);
regs              237 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c void s5p_jpeg_outform_raw(void __iomem *regs, unsigned long format)
regs              246 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c 	reg = readl(regs + S5P_JPG_OUTFORM);
regs              249 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c 	writel(reg, regs + S5P_JPG_OUTFORM);
regs              252 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c void s5p_jpeg_jpgadr(void __iomem *regs, unsigned long addr)
regs              254 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c 	writel(addr, regs + S5P_JPG_JPGADR);
regs              257 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c void s5p_jpeg_imgadr(void __iomem *regs, unsigned long addr)
regs              259 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c 	writel(addr, regs + S5P_JPG_IMGADR);
regs              262 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c void s5p_jpeg_coef(void __iomem *regs, unsigned int i,
regs              267 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c 	reg = readl(regs + S5P_JPG_COEF(i));
regs              270 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c 	writel(reg, regs + S5P_JPG_COEF(i));
regs              273 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c void s5p_jpeg_start(void __iomem *regs)
regs              275 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c 	writel(1, regs + S5P_JSTART);
regs              278 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c int s5p_jpeg_result_stat_ok(void __iomem *regs)
regs              280 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c 	return (int)((readl(regs + S5P_JPGINTST) & S5P_RESULT_STAT_MASK)
regs              284 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c int s5p_jpeg_stream_stat_ok(void __iomem *regs)
regs              286 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c 	return !(int)((readl(regs + S5P_JPGINTST) & S5P_STREAM_STAT_MASK)
regs              290 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c void s5p_jpeg_clear_int(void __iomem *regs)
regs              292 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c 	readl(regs + S5P_JPGINTST);
regs              293 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c 	writel(S5P_INT_RELEASE, regs + S5P_JPGCOM);
regs              294 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c 	readl(regs + S5P_JPGOPR);
regs              297 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c unsigned int s5p_jpeg_compressed_size(void __iomem *regs)
regs              301 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c 	jpeg_size |= (readl(regs + S5P_JPGCNT_U) & 0xff) << 16;
regs              302 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c 	jpeg_size |= (readl(regs + S5P_JPGCNT_M) & 0xff) << 8;
regs              303 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c 	jpeg_size |= (readl(regs + S5P_JPGCNT_L) & 0xff);
regs               26 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.h void s5p_jpeg_reset(void __iomem *regs);
regs               27 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.h void s5p_jpeg_poweron(void __iomem *regs);
regs               28 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.h void s5p_jpeg_input_raw_mode(void __iomem *regs, unsigned long mode);
regs               29 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.h void s5p_jpeg_proc_mode(void __iomem *regs, unsigned long mode);
regs               30 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.h void s5p_jpeg_subsampling_mode(void __iomem *regs, unsigned int mode);
regs               31 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.h unsigned int s5p_jpeg_get_subsampling_mode(void __iomem *regs);
regs               32 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.h void s5p_jpeg_dri(void __iomem *regs, unsigned int dri);
regs               33 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.h void s5p_jpeg_qtbl(void __iomem *regs, unsigned int t, unsigned int n);
regs               34 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.h void s5p_jpeg_htbl_ac(void __iomem *regs, unsigned int t);
regs               35 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.h void s5p_jpeg_htbl_dc(void __iomem *regs, unsigned int t);
regs               36 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.h void s5p_jpeg_y(void __iomem *regs, unsigned int y);
regs               37 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.h void s5p_jpeg_x(void __iomem *regs, unsigned int x);
regs               38 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.h void s5p_jpeg_rst_int_enable(void __iomem *regs, bool enable);
regs               39 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.h void s5p_jpeg_data_num_int_enable(void __iomem *regs, bool enable);
regs               40 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.h void s5p_jpeg_final_mcu_num_int_enable(void __iomem *regs, bool enbl);
regs               41 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.h int s5p_jpeg_timer_stat(void __iomem *regs);
regs               42 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.h void s5p_jpeg_clear_timer_stat(void __iomem *regs);
regs               43 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.h void s5p_jpeg_enc_stream_int(void __iomem *regs, unsigned long size);
regs               44 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.h int s5p_jpeg_enc_stream_stat(void __iomem *regs);
regs               45 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.h void s5p_jpeg_clear_enc_stream_stat(void __iomem *regs);
regs               46 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.h void s5p_jpeg_outform_raw(void __iomem *regs, unsigned long format);
regs               47 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.h void s5p_jpeg_jpgadr(void __iomem *regs, unsigned long addr);
regs               48 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.h void s5p_jpeg_imgadr(void __iomem *regs, unsigned long addr);
regs               49 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.h void s5p_jpeg_coef(void __iomem *regs, unsigned int i,
regs               51 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.h void s5p_jpeg_start(void __iomem *regs);
regs               52 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.h int s5p_jpeg_result_stat_ok(void __iomem *regs);
regs               53 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.h int s5p_jpeg_stream_stat_ok(void __iomem *regs);
regs               54 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.h void s5p_jpeg_clear_int(void __iomem *regs);
regs               55 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.h unsigned int s5p_jpeg_compressed_size(void __iomem *regs);
regs              475 drivers/media/platform/sti/bdisp/bdisp-debug.c #define DUMP(reg) seq_printf(s, #reg " \t0x%08X\n", readl(bdisp->regs + reg))
regs              489 drivers/media/platform/sti/bdisp/bdisp-debug.c 	seq_printf(s, "Reg @ = 0x%p\n", bdisp->regs);
regs              561 drivers/media/platform/sti/bdisp/bdisp-debug.c 			   readl(bdisp->regs + BLT_HFC_N + i * 4));
regs              565 drivers/media/platform/sti/bdisp/bdisp-debug.c 			   readl(bdisp->regs + BLT_VFC_N + i * 4));
regs              571 drivers/media/platform/sti/bdisp/bdisp-debug.c 			   readl(bdisp->regs + BLT_Y_HFC_N + i * 4));
regs              575 drivers/media/platform/sti/bdisp/bdisp-debug.c 			   readl(bdisp->regs + BLT_Y_VFC_N + i * 4));
regs              634 drivers/media/platform/sti/bdisp/bdisp-debug.c DEFINE_SHOW_ATTRIBUTE(regs);
regs              649 drivers/media/platform/sti/bdisp/bdisp-debug.c 	if (!bdisp_dbg_create_entry(regs))
regs              374 drivers/media/platform/sti/bdisp/bdisp-hw.c 	writel(0, bdisp->regs + BLT_ITM0);
regs              377 drivers/media/platform/sti/bdisp/bdisp-hw.c 	writel(readl(bdisp->regs + BLT_CTL) | BLT_CTL_RESET,
regs              378 drivers/media/platform/sti/bdisp/bdisp-hw.c 	       bdisp->regs + BLT_CTL);
regs              379 drivers/media/platform/sti/bdisp/bdisp-hw.c 	writel(0, bdisp->regs + BLT_CTL);
regs              383 drivers/media/platform/sti/bdisp/bdisp-hw.c 		if (readl(bdisp->regs + BLT_STA1) & BLT_STA1_IDLE)
regs              406 drivers/media/platform/sti/bdisp/bdisp-hw.c 	its = readl(bdisp->regs + BLT_ITS);
regs              411 drivers/media/platform/sti/bdisp/bdisp-hw.c 		writel(its, bdisp->regs + BLT_ITS);
regs              416 drivers/media/platform/sti/bdisp/bdisp-hw.c 	writel(its, bdisp->regs + BLT_ITS);
regs              417 drivers/media/platform/sti/bdisp/bdisp-hw.c 	writel(0, bdisp->regs + BLT_ITM0);
regs             1104 drivers/media/platform/sti/bdisp/bdisp-hw.c 	writel(BLT_AQ1_CTL_CFG, bdisp->regs + BLT_AQ1_CTL);
regs             1105 drivers/media/platform/sti/bdisp/bdisp-hw.c 	writel(BLT_ITS_AQ1_LNA, bdisp->regs + BLT_ITM0);
regs             1108 drivers/media/platform/sti/bdisp/bdisp-hw.c 	writel(ctx->node_paddr[0], bdisp->regs + BLT_AQ1_IP);
regs             1115 drivers/media/platform/sti/bdisp/bdisp-hw.c 	writel(ctx->node_paddr[node_id], bdisp->regs + BLT_AQ1_LNA);
regs             1317 drivers/media/platform/sti/bdisp/bdisp-v4l2.c 	bdisp->regs = devm_ioremap_resource(dev, res);
regs             1318 drivers/media/platform/sti/bdisp/bdisp-v4l2.c 	if (IS_ERR(bdisp->regs)) {
regs             1320 drivers/media/platform/sti/bdisp/bdisp-v4l2.c 		return PTR_ERR(bdisp->regs);
regs              196 drivers/media/platform/sti/bdisp/bdisp.h 	void __iomem            *regs;
regs              241 drivers/media/platform/sti/c8sectpfe/c8sectpfe-debugfs.c 	fei->regset->regs = fei_sys_regs;
regs              126 drivers/media/platform/sti/cec/stih-cec.c 	void __iomem		*regs;
regs              141 drivers/media/platform/sti/cec/stih-cec.c 		writel(cec_clk_div, cec->regs + CEC_CLK_DIV);
regs              145 drivers/media/platform/sti/cec/stih-cec.c 		       cec->regs + CEC_BIT_TOUT_THRESH);
regs              149 drivers/media/platform/sti/cec/stih-cec.c 		       cec->regs + CEC_BIT_PULSE_THRESH);
regs              152 drivers/media/platform/sti/cec/stih-cec.c 		writel(BIT(5) | BIT(7), cec->regs + CEC_TX_CTRL);
regs              156 drivers/media/platform/sti/cec/stih-cec.c 		       cec->regs + CEC_DATA_ARRAY_CTRL);
regs              160 drivers/media/platform/sti/cec/stih-cec.c 		       cec->regs + CEC_CTRL);
regs              163 drivers/media/platform/sti/cec/stih-cec.c 		writel(0, cec->regs + CEC_ADDR_TABLE);
regs              166 drivers/media/platform/sti/cec/stih-cec.c 		writel(0x0, cec->regs + CEC_STATUS);
regs              172 drivers/media/platform/sti/cec/stih-cec.c 		       cec->regs + CEC_IRQ_CTRL);
regs              176 drivers/media/platform/sti/cec/stih-cec.c 		writel(0, cec->regs + CEC_ADDR_TABLE);
regs              179 drivers/media/platform/sti/cec/stih-cec.c 		writel(0x0, cec->regs + CEC_STATUS);
regs              182 drivers/media/platform/sti/cec/stih-cec.c 		writel(0, cec->regs + CEC_IRQ_CTRL);
regs              191 drivers/media/platform/sti/cec/stih-cec.c 	u32 reg = readl(cec->regs + CEC_ADDR_TABLE);
regs              198 drivers/media/platform/sti/cec/stih-cec.c 	writel(reg, cec->regs + CEC_ADDR_TABLE);
regs              211 drivers/media/platform/sti/cec/stih-cec.c 		writeb(msg->msg[i], cec->regs + CEC_TX_DATA_BASE + i);
regs              218 drivers/media/platform/sti/cec/stih-cec.c 	       msg->len, cec->regs + CEC_TX_ARRAY_CTRL);
regs              254 drivers/media/platform/sti/cec/stih-cec.c 	msg.len = readl(cec->regs + CEC_DATA_ARRAY_STATUS) & 0x1f;
regs              263 drivers/media/platform/sti/cec/stih-cec.c 		msg.msg[i] = readl(cec->regs + CEC_RX_DATA_BASE + i);
regs              287 drivers/media/platform/sti/cec/stih-cec.c 	cec->irq_status = readl(cec->regs + CEC_STATUS);
regs              288 drivers/media/platform/sti/cec/stih-cec.c 	writel(cec->irq_status, cec->regs + CEC_STATUS);
regs              319 drivers/media/platform/sti/cec/stih-cec.c 	cec->regs = devm_ioremap_resource(dev, res);
regs              320 drivers/media/platform/sti/cec/stih-cec.c 	if (IS_ERR(cec->regs))
regs              321 drivers/media/platform/sti/cec/stih-cec.c 		return PTR_ERR(cec->regs);
regs              335 drivers/media/platform/sti/hva/hva-debugfs.c DEFINE_SHOW_ATTRIBUTE(regs);
regs              352 drivers/media/platform/sti/hva/hva-debugfs.c 	if (!hva_dbg_create_entry(regs))
regs              106 drivers/media/platform/sti/hva/hva-hw.c 	hva->sts_reg = readl_relaxed(hva->regs + HVA_HIF_FIFO_STS);
regs              107 drivers/media/platform/sti/hva/hva-hw.c 	hva->sfl_reg = readl_relaxed(hva->regs + HVA_HIF_REG_SFL);
regs              110 drivers/media/platform/sti/hva/hva-hw.c 	writel_relaxed(0x1, hva->regs + HVA_HIF_REG_IT_ACK);
regs              205 drivers/media/platform/sti/hva/hva-hw.c 	hva->sts_reg = readl_relaxed(hva->regs + HVA_HIF_FIFO_STS);
regs              206 drivers/media/platform/sti/hva/hva-hw.c 	hva->sfl_reg = readl_relaxed(hva->regs + HVA_HIF_REG_SFL);
regs              209 drivers/media/platform/sti/hva/hva-hw.c 	hva->lmi_err_reg = readl_relaxed(hva->regs + HVA_HIF_REG_LMI_ERR);
regs              210 drivers/media/platform/sti/hva/hva-hw.c 	hva->emi_err_reg = readl_relaxed(hva->regs + HVA_HIF_REG_EMI_ERR);
regs              211 drivers/media/platform/sti/hva/hva-hw.c 	hva->hec_mif_err_reg = readl_relaxed(hva->regs +
regs              215 drivers/media/platform/sti/hva/hva-hw.c 	writel_relaxed(0x1, hva->regs + HVA_HIF_REG_IT_ACK);
regs              279 drivers/media/platform/sti/hva/hva-hw.c 	version = readl_relaxed(hva->regs + HVA_HIF_REG_VERSION) &
regs              302 drivers/media/platform/sti/hva/hva-hw.c 	struct resource *regs;
regs              309 drivers/media/platform/sti/hva/hva-hw.c 	regs = platform_get_resource(pdev, IORESOURCE_MEM, 0);
regs              310 drivers/media/platform/sti/hva/hva-hw.c 	hva->regs = devm_ioremap_resource(dev, regs);
regs              311 drivers/media/platform/sti/hva/hva-hw.c 	if (IS_ERR(hva->regs)) {
regs              313 drivers/media/platform/sti/hva/hva-hw.c 		return PTR_ERR(hva->regs);
regs              477 drivers/media/platform/sti/hva/hva-hw.c 	reg = readl_relaxed(hva->regs + HVA_HIF_REG_CLK_GATING);
regs              488 drivers/media/platform/sti/hva/hva-hw.c 	writel_relaxed(reg, hva->regs + HVA_HIF_REG_CLK_GATING);
regs              494 drivers/media/platform/sti/hva/hva-hw.c 	writel_relaxed(BSM_CFG_VAL1, hva->regs + HVA_HIF_REG_BSM);
regs              497 drivers/media/platform/sti/hva/hva-hw.c 	writel_relaxed(MIF_CFG_VAL3, hva->regs + HVA_HIF_REG_MIF_CFG);
regs              498 drivers/media/platform/sti/hva/hva-hw.c 	writel_relaxed(HEC_MIF_CFG_VAL, hva->regs + HVA_HIF_REG_HEC_MIF_CFG);
regs              508 drivers/media/platform/sti/hva/hva-hw.c 	writel_relaxed(cmd + (client_id << 8), hva->regs + HVA_HIF_FIFO_CMD);
regs              509 drivers/media/platform/sti/hva/hva-hw.c 	writel_relaxed(task->paddr, hva->regs + HVA_HIF_FIFO_CMD);
regs              532 drivers/media/platform/sti/hva/hva-hw.c 		writel_relaxed(reg, hva->regs + HVA_HIF_REG_CLK_GATING);
regs              546 drivers/media/platform/sti/hva/hva-hw.c 			     #reg, readl_relaxed(hva->regs + reg))
regs              560 drivers/media/platform/sti/hva/hva-hw.c 	seq_printf(s, "Registers:\nReg @ = 0x%p\n", hva->regs);
regs              347 drivers/media/platform/sti/hva/hva.h 	void __iomem		*regs;
regs              132 drivers/media/platform/stm32/stm32-dcmi.c 	void __iomem			*regs;
regs              378 drivers/media/platform/stm32/stm32-dcmi.c 	reg_set(dcmi->regs, DCMI_CR, CR_CAPTURE);
regs              390 drivers/media/platform/stm32/stm32-dcmi.c 	reg_write(dcmi->regs, DCMI_CWSIZE, size);
regs              395 drivers/media/platform/stm32/stm32-dcmi.c 	reg_write(dcmi->regs, DCMI_CWSTRT, start);
regs              402 drivers/media/platform/stm32/stm32-dcmi.c 	reg_set(dcmi->regs, DCMI_CR, CR_CROP);
regs              482 drivers/media/platform/stm32/stm32-dcmi.c 	dcmi->misr = reg_read(dcmi->regs, DCMI_MIS);
regs              485 drivers/media/platform/stm32/stm32-dcmi.c 	reg_set(dcmi->regs, DCMI_ICR, IT_FRAME | IT_OVR | IT_ERR);
regs              780 drivers/media/platform/stm32/stm32-dcmi.c 	reg_write(dcmi->regs, DCMI_CR, val);
regs              788 drivers/media/platform/stm32/stm32-dcmi.c 		reg_set(dcmi->regs, DCMI_CR, CR_CM);/* Snapshot mode */
regs              791 drivers/media/platform/stm32/stm32-dcmi.c 	reg_set(dcmi->regs, DCMI_CR, CR_ENABLE);
regs              826 drivers/media/platform/stm32/stm32-dcmi.c 		reg_set(dcmi->regs, DCMI_IER, IT_FRAME | IT_OVR | IT_ERR);
regs              828 drivers/media/platform/stm32/stm32-dcmi.c 		reg_set(dcmi->regs, DCMI_IER, IT_OVR | IT_ERR);
regs              869 drivers/media/platform/stm32/stm32-dcmi.c 	reg_clear(dcmi->regs, DCMI_IER, IT_FRAME | IT_OVR | IT_ERR);
regs              872 drivers/media/platform/stm32/stm32-dcmi.c 	reg_clear(dcmi->regs, DCMI_CR, CR_ENABLE);
regs             1892 drivers/media/platform/stm32/stm32-dcmi.c 	dcmi->regs = devm_ioremap_resource(&pdev->dev, dcmi->res);
regs             1893 drivers/media/platform/stm32/stm32-dcmi.c 	if (IS_ERR(dcmi->regs)) {
regs             1895 drivers/media/platform/stm32/stm32-dcmi.c 		return PTR_ERR(dcmi->regs);
regs              188 drivers/media/platform/sunxi/sun4i-csi/sun4i_csi.c 	csi->regs = devm_ioremap_resource(&pdev->dev, res);
regs              189 drivers/media/platform/sunxi/sun4i-csi/sun4i_csi.c 	if (IS_ERR(csi->regs))
regs              190 drivers/media/platform/sunxi/sun4i-csi/sun4i_csi.c 		return PTR_ERR(csi->regs);
regs              299 drivers/media/platform/sunxi/sun4i-csi/sun4i_csi.c 	writel(1, csi->regs + CSI_EN_REG);
regs              111 drivers/media/platform/sunxi/sun4i-csi/sun4i_csi.h 	void __iomem			*regs;
regs               38 drivers/media/platform/sunxi/sun4i-csi/sun4i_dma.c 	writel(CSI_CPT_CTRL_VIDEO_START, csi->regs + CSI_CPT_CTRL_REG);
regs               43 drivers/media/platform/sunxi/sun4i-csi/sun4i_dma.c 	writel(0, csi->regs + CSI_CPT_CTRL_REG);
regs              103 drivers/media/platform/sunxi/sun4i-csi/sun4i_dma.c 		writel(addr, csi->regs + CSI_BUF_ADDR_REG(plane, slot));
regs              138 drivers/media/platform/sunxi/sun4i-csi/sun4i_dma.c 		writel(buf_addr, csi->regs + CSI_BUF_ADDR_REG(plane, slot));
regs              180 drivers/media/platform/sunxi/sun4i-csi/sun4i_dma.c 	u32 reg = readl(csi->regs + CSI_BUF_CTRL_REG);
regs              277 drivers/media/platform/sunxi/sun4i-csi/sun4i_dma.c 	       csi->regs + CSI_WIN_CTRL_W_REG);
regs              279 drivers/media/platform/sunxi/sun4i-csi/sun4i_dma.c 	       csi->regs + CSI_WIN_CTRL_H_REG);
regs              297 drivers/media/platform/sunxi/sun4i-csi/sun4i_dma.c 	       csi->regs + CSI_CFG_REG);
regs              301 drivers/media/platform/sunxi/sun4i-csi/sun4i_dma.c 	       csi->regs + CSI_BUF_LEN_REG);
regs              311 drivers/media/platform/sunxi/sun4i-csi/sun4i_dma.c 	writel(CSI_BUF_CTRL_DBE, csi->regs + CSI_BUF_CTRL_REG);
regs              314 drivers/media/platform/sunxi/sun4i-csi/sun4i_dma.c 	writel(CSI_INT_FRM_DONE, csi->regs + 0x34);
regs              317 drivers/media/platform/sunxi/sun4i-csi/sun4i_dma.c 	writel(CSI_INT_FRM_DONE, csi->regs + CSI_INT_EN_REG);
regs              383 drivers/media/platform/sunxi/sun4i-csi/sun4i_dma.c 	reg = readl(csi->regs + CSI_INT_STA_REG);
regs              386 drivers/media/platform/sunxi/sun4i-csi/sun4i_dma.c 	writel(reg, csi->regs + CSI_INT_STA_REG);
regs              202 drivers/media/platform/ti-vpe/vpdma.h #define VPDMA_SET_MMR_ADB_HDR(buf, str, hdr, regs, offset_a)	\
regs              208 drivers/media/platform/ti-vpe/vpdma.h 		h->nwords = sizeof(adb->regs) >> 2;		\
regs              510 drivers/media/platform/ti-vpe/vpe.c #define VPE_SET_MMR_ADB_HDR(ctx, hdr, regs, offset_a)	\
regs              511 drivers/media/platform/ti-vpe/vpe.c 	VPDMA_SET_MMR_ADB_HDR(ctx->mmr_adb, vpe_mmr_adb, hdr, regs, offset_a)
regs              135 drivers/media/radio/radio-tea5764.c 	struct tea5764_regs		regs;
regs              143 drivers/media/radio/radio-tea5764.c 	u16 *p = (u16 *) &radio->regs;
regs              148 drivers/media/radio/radio-tea5764.c 			.len = sizeof(radio->regs),
regs              149 drivers/media/radio/radio-tea5764.c 			.buf = (void *)&radio->regs
regs              163 drivers/media/radio/radio-tea5764.c 	struct tea5764_regs *r = &radio->regs;
regs              184 drivers/media/radio/radio-tea5764.c 	struct tea5764_regs *r = &radio->regs;
regs              201 drivers/media/radio/radio-tea5764.c 	struct tea5764_regs *r = &radio->regs;
regs              211 drivers/media/radio/radio-tea5764.c 	struct tea5764_regs *r = &radio->regs;
regs              222 drivers/media/radio/radio-tea5764.c 	struct tea5764_regs *r = &radio->regs;
regs              240 drivers/media/radio/radio-tea5764.c 	struct tea5764_regs *r = &radio->regs;
regs              253 drivers/media/radio/radio-tea5764.c 	struct tea5764_regs *r = &radio->regs;
regs              263 drivers/media/radio/radio-tea5764.c 	struct tea5764_regs *r = &radio->regs;
regs              292 drivers/media/radio/radio-tea5764.c 	struct tea5764_regs *r = &radio->regs;
regs              354 drivers/media/radio/radio-tea5764.c 	struct tea5764_regs *r = &radio->regs;
regs              451 drivers/media/radio/radio-tea5764.c 	r = &radio->regs;
regs              290 drivers/media/rc/img-ir/img-ir-hw.c static void img_ir_timings_convert(struct img_ir_timing_regvals *regs,
regs              296 drivers/media/rc/img-ir/img-ir-hw.c 	regs->ldr = img_ir_symbol_timing(&timings->ldr, tolerance, clock_hz,
regs              299 drivers/media/rc/img-ir/img-ir-hw.c 	regs->s00 = img_ir_symbol_timing(&timings->s00, tolerance, clock_hz,
regs              301 drivers/media/rc/img-ir/img-ir-hw.c 	regs->s01 = img_ir_symbol_timing(&timings->s01, tolerance, clock_hz,
regs              303 drivers/media/rc/img-ir/img-ir-hw.c 	regs->s10 = img_ir_symbol_timing(&timings->s10, tolerance, clock_hz,
regs              305 drivers/media/rc/img-ir/img-ir-hw.c 	regs->s11 = img_ir_symbol_timing(&timings->s11, tolerance, clock_hz,
regs              307 drivers/media/rc/img-ir/img-ir-hw.c 	regs->ft = img_ir_free_timing(&timings->ft, clock_hz);
regs              373 drivers/media/rc/img-ir/img-ir-hw.c 				 struct img_ir_timing_regvals *regs,
regs              379 drivers/media/rc/img-ir/img-ir-hw.c 	u32 ft = regs->ft;
regs              381 drivers/media/rc/img-ir/img-ir-hw.c 		ft = img_ir_free_timing_dynamic(regs->ft, &hw->filters[type]);
regs              383 drivers/media/rc/img-ir/img-ir-hw.c 	img_ir_write(priv, IMG_IR_LEAD_SYMB_TIMING, regs->ldr);
regs              384 drivers/media/rc/img-ir/img-ir-hw.c 	img_ir_write(priv, IMG_IR_S00_SYMB_TIMING, regs->s00);
regs              385 drivers/media/rc/img-ir/img-ir-hw.c 	img_ir_write(priv, IMG_IR_S01_SYMB_TIMING, regs->s01);
regs              386 drivers/media/rc/img-ir/img-ir-hw.c 	img_ir_write(priv, IMG_IR_S10_SYMB_TIMING, regs->s10);
regs              387 drivers/media/rc/img-ir/img-ir-hw.c 	img_ir_write(priv, IMG_IR_S11_SYMB_TIMING, regs->s11);
regs              390 drivers/media/rc/img-ir/img-ir-hw.c 		regs->ldr, regs->s00, regs->s01, regs->s10, regs->s11, ft);
regs              107 drivers/media/rc/mtk-cir.c 	const u32 *regs;
regs              147 drivers/media/rc/mtk-cir.c 	return ir->data->regs[MTK_CHKDATA_REG] + 4 * i;
regs              194 drivers/media/rc/mtk-cir.c 	val = mtk_r32(ir, ir->data->regs[MTK_IRINT_EN_REG]);
regs              195 drivers/media/rc/mtk-cir.c 	mtk_w32(ir, val & ~mask, ir->data->regs[MTK_IRINT_EN_REG]);
regs              202 drivers/media/rc/mtk-cir.c 	val = mtk_r32(ir, ir->data->regs[MTK_IRINT_EN_REG]);
regs              203 drivers/media/rc/mtk-cir.c 	mtk_w32(ir, val | mask, ir->data->regs[MTK_IRINT_EN_REG]);
regs              262 drivers/media/rc/mtk-cir.c 	mtk_w32_mask(ir, 0x1, MTK_IRCLR, ir->data->regs[MTK_IRCLR_REG]);
regs              266 drivers/media/rc/mtk-cir.c 		     ir->data->regs[MTK_IRINT_CLR_REG]);
regs              272 drivers/media/rc/mtk-cir.c 	.regs = mt7623_regs,
regs              280 drivers/media/rc/mtk-cir.c 	.regs = mt7622_regs,
regs              173 drivers/media/tuners/fc0011.c 	u8 regs[FC11_NR_REGS] = { };
regs              175 drivers/media/tuners/fc0011.c 	regs[FC11_REG_7] = 0x0F;
regs              176 drivers/media/tuners/fc0011.c 	regs[FC11_REG_8] = 0x3E;
regs              177 drivers/media/tuners/fc0011.c 	regs[FC11_REG_10] = 0xB8;
regs              178 drivers/media/tuners/fc0011.c 	regs[FC11_REG_11] = 0x80;
regs              179 drivers/media/tuners/fc0011.c 	regs[FC11_REG_RCCAL] = 0x04;
regs              180 drivers/media/tuners/fc0011.c 	err = fc0011_writereg(priv, FC11_REG_7, regs[FC11_REG_7]);
regs              181 drivers/media/tuners/fc0011.c 	err |= fc0011_writereg(priv, FC11_REG_8, regs[FC11_REG_8]);
regs              182 drivers/media/tuners/fc0011.c 	err |= fc0011_writereg(priv, FC11_REG_10, regs[FC11_REG_10]);
regs              183 drivers/media/tuners/fc0011.c 	err |= fc0011_writereg(priv, FC11_REG_11, regs[FC11_REG_11]);
regs              184 drivers/media/tuners/fc0011.c 	err |= fc0011_writereg(priv, FC11_REG_RCCAL, regs[FC11_REG_RCCAL]);
regs              191 drivers/media/tuners/fc0011.c 		regs[FC11_REG_VCO] = 0x82;
regs              194 drivers/media/tuners/fc0011.c 		regs[FC11_REG_VCO] = 0x42;
regs              197 drivers/media/tuners/fc0011.c 		regs[FC11_REG_VCO] = 0x22;
regs              200 drivers/media/tuners/fc0011.c 		regs[FC11_REG_VCO] = 0x12;
regs              203 drivers/media/tuners/fc0011.c 		regs[FC11_REG_VCO] = 0x0A;
regs              217 drivers/media/tuners/fc0011.c 	regs[FC11_REG_XINHI] = xin >> 8;
regs              218 drivers/media/tuners/fc0011.c 	regs[FC11_REG_XINLO] = xin;
regs              239 drivers/media/tuners/fc0011.c 	regs[FC11_REG_FA] = fa;
regs              240 drivers/media/tuners/fc0011.c 	regs[FC11_REG_FP] = fp;
regs              247 drivers/media/tuners/fc0011.c 		regs[FC11_REG_VCOSEL] |= FC11_VCOSEL_BW7M;
regs              255 drivers/media/tuners/fc0011.c 		regs[FC11_REG_VCOSEL] |= FC11_VCOSEL_BW6M;
regs              262 drivers/media/tuners/fc0011.c 		regs[FC11_REG_VCOSEL] &= ~(FC11_VCOSEL_1 | FC11_VCOSEL_2);
regs              265 drivers/media/tuners/fc0011.c 		regs[FC11_REG_VCOSEL] &= ~(FC11_VCOSEL_1 | FC11_VCOSEL_2);
regs              266 drivers/media/tuners/fc0011.c 		regs[FC11_REG_VCOSEL] |= FC11_VCOSEL_1;
regs              269 drivers/media/tuners/fc0011.c 		regs[FC11_REG_VCOSEL] &= ~(FC11_VCOSEL_1 | FC11_VCOSEL_2);
regs              270 drivers/media/tuners/fc0011.c 		regs[FC11_REG_VCOSEL] |= FC11_VCOSEL_2;
regs              275 drivers/media/tuners/fc0011.c 		regs[FC11_REG_FA] = 0x6;
regs              276 drivers/media/tuners/fc0011.c 		regs[FC11_REG_FP] = 0x11;
regs              280 drivers/media/tuners/fc0011.c 	regs[FC11_REG_VCOSEL] |= FC11_VCOSEL_CLKOUT;
regs              284 drivers/media/tuners/fc0011.c 		err = fc0011_writereg(priv, i, regs[i]);
regs              308 drivers/media/tuners/fc0011.c 			err |= fc0011_writereg(priv, i, regs[i]);
regs              309 drivers/media/tuners/fc0011.c 		err |= fc0011_writereg(priv, FC11_REG_7, regs[FC11_REG_7]);
regs              310 drivers/media/tuners/fc0011.c 		err |= fc0011_writereg(priv, FC11_REG_8, regs[FC11_REG_8]);
regs              311 drivers/media/tuners/fc0011.c 		err |= fc0011_writereg(priv, FC11_REG_10, regs[FC11_REG_10]);
regs              312 drivers/media/tuners/fc0011.c 		err |= fc0011_writereg(priv, FC11_REG_11, regs[FC11_REG_11]);
regs              313 drivers/media/tuners/fc0011.c 		err |= fc0011_writereg(priv, FC11_REG_RCCAL, regs[FC11_REG_RCCAL]);
regs              339 drivers/media/tuners/fc0011.c 			regs[FC11_REG_VCOSEL] &= ~(FC11_VCOSEL_1 | FC11_VCOSEL_2);
regs              340 drivers/media/tuners/fc0011.c 			regs[FC11_REG_VCOSEL] |= FC11_VCOSEL_1;
regs              342 drivers/media/tuners/fc0011.c 					      regs[FC11_REG_VCOSEL]);
regs              349 drivers/media/tuners/fc0011.c 			regs[FC11_REG_VCOSEL] &= ~(FC11_VCOSEL_1 | FC11_VCOSEL_2);
regs              351 drivers/media/tuners/fc0011.c 					      regs[FC11_REG_VCOSEL]);
regs              358 drivers/media/tuners/fc0011.c 			regs[FC11_REG_VCOSEL] &= ~(FC11_VCOSEL_1 | FC11_VCOSEL_2);
regs              359 drivers/media/tuners/fc0011.c 			regs[FC11_REG_VCOSEL] |= FC11_VCOSEL_2;
regs              361 drivers/media/tuners/fc0011.c 					      regs[FC11_REG_VCOSEL]);
regs              368 drivers/media/tuners/fc0011.c 			regs[FC11_REG_VCOSEL] &= ~(FC11_VCOSEL_1 | FC11_VCOSEL_2);
regs              369 drivers/media/tuners/fc0011.c 			regs[FC11_REG_VCOSEL] |= FC11_VCOSEL_1;
regs              371 drivers/media/tuners/fc0011.c 					      regs[FC11_REG_VCOSEL]);
regs              375 drivers/media/tuners/fc0011.c 			regs[FC11_REG_VCOSEL] &= ~(FC11_VCOSEL_1 | FC11_VCOSEL_2);
regs              377 drivers/media/tuners/fc0011.c 					      regs[FC11_REG_VCOSEL]);
regs              387 drivers/media/tuners/fc0011.c 			regs[FC11_REG_VCOSEL] &= ~(FC11_VCOSEL_1 | FC11_VCOSEL_2);
regs              388 drivers/media/tuners/fc0011.c 			regs[FC11_REG_VCOSEL] |= FC11_VCOSEL_1;
regs              390 drivers/media/tuners/fc0011.c 					      regs[FC11_REG_VCOSEL]);
regs              397 drivers/media/tuners/fc0011.c 			regs[FC11_REG_VCOSEL] &= ~(FC11_VCOSEL_1 | FC11_VCOSEL_2);
regs              398 drivers/media/tuners/fc0011.c 			regs[FC11_REG_VCOSEL] |= FC11_VCOSEL_2;
regs              400 drivers/media/tuners/fc0011.c 					      regs[FC11_REG_VCOSEL]);
regs              411 drivers/media/tuners/fc0011.c 	err = fc0011_readreg(priv, FC11_REG_RCCAL, &regs[FC11_REG_RCCAL]);
regs              414 drivers/media/tuners/fc0011.c 	regs[FC11_REG_RCCAL] |= FC11_RCCAL_FORCE;
regs              415 drivers/media/tuners/fc0011.c 	err = fc0011_writereg(priv, FC11_REG_RCCAL, regs[FC11_REG_RCCAL]);
regs              418 drivers/media/tuners/fc0011.c 	regs[FC11_REG_16] = 0xB;
regs              419 drivers/media/tuners/fc0011.c 	err = fc0011_writereg(priv, FC11_REG_16, regs[FC11_REG_16]);
regs              424 drivers/media/tuners/fc0011.c 		(unsigned int)regs[FC11_REG_FA],
regs              425 drivers/media/tuners/fc0011.c 		(unsigned int)regs[FC11_REG_FP],
regs              426 drivers/media/tuners/fc0011.c 		(unsigned int)regs[FC11_REG_XINHI],
regs              427 drivers/media/tuners/fc0011.c 		(unsigned int)regs[FC11_REG_XINLO],
regs              428 drivers/media/tuners/fc0011.c 		(unsigned int)regs[FC11_REG_VCO],
regs              429 drivers/media/tuners/fc0011.c 		(unsigned int)regs[FC11_REG_VCOSEL],
regs               56 drivers/media/tuners/qm1d1c0042.c 	u8 regs[QM1D1C0042_NUM_REGS];
regs              103 drivers/media/tuners/qm1d1c0042.c 		state->regs[0x03] |= 0x01; /* set fast search mode */
regs              105 drivers/media/tuners/qm1d1c0042.c 		state->regs[0x03] &= ~0x01 & 0xff;
regs              107 drivers/media/tuners/qm1d1c0042.c 	return reg_write(state, 0x03, state->regs[0x03]);
regs              114 drivers/media/tuners/qm1d1c0042.c 	state->regs[0x01] |= 1 << 3;             /* BB_Reg_enable */
regs              115 drivers/media/tuners/qm1d1c0042.c 	state->regs[0x01] &= (~(1 << 0)) & 0xff; /* NORMAL (wake-up) */
regs              116 drivers/media/tuners/qm1d1c0042.c 	state->regs[0x05] &= (~(1 << 3)) & 0xff; /* pfd_rst NORMAL */
regs              117 drivers/media/tuners/qm1d1c0042.c 	ret = reg_write(state, 0x01, state->regs[0x01]);
regs              119 drivers/media/tuners/qm1d1c0042.c 		ret = reg_write(state, 0x05, state->regs[0x05]);
regs              191 drivers/media/tuners/qm1d1c0042.c 	state->regs[0x08] &= 0xf0;
regs              192 drivers/media/tuners/qm1d1c0042.c 	state->regs[0x08] |= 0x09;
regs              194 drivers/media/tuners/qm1d1c0042.c 	state->regs[0x13] &= 0x9f;
regs              195 drivers/media/tuners/qm1d1c0042.c 	state->regs[0x13] |= 0x20;
regs              198 drivers/media/tuners/qm1d1c0042.c 	val = state->regs[0x02] & 0x0f;
regs              211 drivers/media/tuners/qm1d1c0042.c 	state->regs[0x06] &= 0x40;
regs              212 drivers/media/tuners/qm1d1c0042.c 	state->regs[0x06] |= (a - 12) / 4;
regs              213 drivers/media/tuners/qm1d1c0042.c 	ret = reg_write(state, 0x06, state->regs[0x06]);
regs              217 drivers/media/tuners/qm1d1c0042.c 	state->regs[0x07] &= 0xf0;
regs              218 drivers/media/tuners/qm1d1c0042.c 	state->regs[0x07] |= (a - 4 * ((a - 12) / 4 + 1) - 5) & 0x0f;
regs              219 drivers/media/tuners/qm1d1c0042.c 	ret = reg_write(state, 0x07, state->regs[0x07]);
regs              224 drivers/media/tuners/qm1d1c0042.c 	val = state->regs[0x08];
regs              247 drivers/media/tuners/qm1d1c0042.c 	state->regs[0x09] &= 0xc0;
regs              248 drivers/media/tuners/qm1d1c0042.c 	state->regs[0x09] |= (sd >> 16) & 0x3f;
regs              249 drivers/media/tuners/qm1d1c0042.c 	state->regs[0x0a] = (sd >> 8) & 0xff;
regs              250 drivers/media/tuners/qm1d1c0042.c 	state->regs[0x0b] = sd & 0xff;
regs              251 drivers/media/tuners/qm1d1c0042.c 	ret = reg_write(state, 0x09, state->regs[0x09]);
regs              253 drivers/media/tuners/qm1d1c0042.c 		ret = reg_write(state, 0x0a, state->regs[0x0a]);
regs              255 drivers/media/tuners/qm1d1c0042.c 		ret = reg_write(state, 0x0b, state->regs[0x0b]);
regs              261 drivers/media/tuners/qm1d1c0042.c 		ret = reg_write(state, 0x13, state->regs[0x13]);
regs              268 drivers/media/tuners/qm1d1c0042.c 	val = state->regs[0x0c] & mask;
regs              273 drivers/media/tuners/qm1d1c0042.c 	val = state->regs[0x0c] | ~mask;
regs              280 drivers/media/tuners/qm1d1c0042.c 	else if (state->regs[0x03] & 0x01)
regs              292 drivers/media/tuners/qm1d1c0042.c 		ret = reg_write(state, 0x13, state->regs[0x13]);
regs              305 drivers/media/tuners/qm1d1c0042.c 	state->regs[0x01] &= (~(1 << 3)) & 0xff; /* BB_Reg_disable */
regs              306 drivers/media/tuners/qm1d1c0042.c 	state->regs[0x01] |= 1 << 0;             /* STDBY */
regs              307 drivers/media/tuners/qm1d1c0042.c 	state->regs[0x05] |= 1 << 3;             /* pfd_rst STANDBY */
regs              308 drivers/media/tuners/qm1d1c0042.c 	ret = reg_write(state, 0x05, state->regs[0x05]);
regs              310 drivers/media/tuners/qm1d1c0042.c 		ret = reg_write(state, 0x01, state->regs[0x01]);
regs              348 drivers/media/tuners/qm1d1c0042.c 	memcpy(state->regs, reg_initval[reg_index], QM1D1C0042_NUM_REGS);
regs              351 drivers/media/tuners/qm1d1c0042.c 	state->regs[0x0c] |= 0x40;
regs              352 drivers/media/tuners/qm1d1c0042.c 	ret = reg_write(state, 0x0c, state->regs[0x0c]);
regs              359 drivers/media/tuners/qm1d1c0042.c 		ret = reg_write(state, i, state->regs[i]);
regs              364 drivers/media/tuners/qm1d1c0042.c 		ret = reg_write(state, i, state->regs[i]);
regs               77 drivers/media/tuners/r820t.c 	u8				regs[NUM_REGS];
regs              349 drivers/media/tuners/r820t.c 	memcpy(&priv->regs[r], val, len);
regs              401 drivers/media/tuners/r820t.c 		return priv->regs[reg];
regs             1040 drivers/media/tuners/r820t.c 	memcpy(priv->regs, r820t_init_array, sizeof(r820t_init_array));
regs             1389 drivers/media/tuners/r820t.c 	memcpy(priv->regs, r820t_init_array, sizeof(r820t_init_array));
regs             1446 drivers/media/tuners/r820t.c 	memcpy(priv->regs, r820t_init_array, sizeof(r820t_init_array));
regs              164 drivers/media/tuners/tda18218.c 	buf[0] = (priv->regs[R1A_IF1] & ~7) | BP_Filter; /* BP_Filter */
regs              165 drivers/media/tuners/tda18218.c 	buf[1] = (priv->regs[R1B_IF2] & ~3) | LP_Fc; /* LP_Fc */
regs              166 drivers/media/tuners/tda18218.c 	buf[2] = priv->regs[R1C_AGC2B];
regs              174 drivers/media/tuners/tda18218.c 		(priv->regs[R0C_MD5] & 0x0f); /* LO_Frac_2 */
regs              179 drivers/media/tuners/tda18218.c 	buf[0] = priv->regs[R0F_MD8] | (1 << 6); /* Freq_prog_Start */
regs              184 drivers/media/tuners/tda18218.c 	buf[0] = priv->regs[R0F_MD8] & ~(1 << 6); /* Freq_prog_Start */
regs              223 drivers/media/tuners/tda18218.c 	ret = tda18218_wr_reg(priv, R17_PD1, priv->regs[R17_PD1] | (1 << 0));
regs              244 drivers/media/tuners/tda18218.c 	ret = tda18218_wr_regs(priv, R00_ID, priv->regs, TDA18218_NUM_REGS);
regs              321 drivers/media/tuners/tda18218.c 	memcpy(priv->regs, def_regs, sizeof(def_regs));
regs              325 drivers/media/tuners/tda18218.c 		priv->regs[R17_PD1] = 0xb0;
regs              326 drivers/media/tuners/tda18218.c 		priv->regs[R18_PD2] = 0x59;
regs              330 drivers/media/tuners/tda18218.c 	ret = tda18218_wr_reg(priv, R17_PD1, priv->regs[R17_PD1] | (1 << 0));
regs               81 drivers/media/tuners/tda18218_priv.h 	u8 regs[TDA18218_NUM_REGS];
regs              133 drivers/media/tuners/tda18250_priv.h 	u8 regs[TDA18250_NUM_REGS];
regs               57 drivers/media/tuners/tda18271-common.c 	unsigned char *regs = priv->tda18271_regs;
regs               60 drivers/media/tuners/tda18271-common.c 	tda_reg("ID_BYTE            = 0x%02x\n", 0xff & regs[R_ID]);
regs               61 drivers/media/tuners/tda18271-common.c 	tda_reg("THERMO_BYTE        = 0x%02x\n", 0xff & regs[R_TM]);
regs               62 drivers/media/tuners/tda18271-common.c 	tda_reg("POWER_LEVEL_BYTE   = 0x%02x\n", 0xff & regs[R_PL]);
regs               63 drivers/media/tuners/tda18271-common.c 	tda_reg("EASY_PROG_BYTE_1   = 0x%02x\n", 0xff & regs[R_EP1]);
regs               64 drivers/media/tuners/tda18271-common.c 	tda_reg("EASY_PROG_BYTE_2   = 0x%02x\n", 0xff & regs[R_EP2]);
regs               65 drivers/media/tuners/tda18271-common.c 	tda_reg("EASY_PROG_BYTE_3   = 0x%02x\n", 0xff & regs[R_EP3]);
regs               66 drivers/media/tuners/tda18271-common.c 	tda_reg("EASY_PROG_BYTE_4   = 0x%02x\n", 0xff & regs[R_EP4]);
regs               67 drivers/media/tuners/tda18271-common.c 	tda_reg("EASY_PROG_BYTE_5   = 0x%02x\n", 0xff & regs[R_EP5]);
regs               68 drivers/media/tuners/tda18271-common.c 	tda_reg("CAL_POST_DIV_BYTE  = 0x%02x\n", 0xff & regs[R_CPD]);
regs               69 drivers/media/tuners/tda18271-common.c 	tda_reg("CAL_DIV_BYTE_1     = 0x%02x\n", 0xff & regs[R_CD1]);
regs               70 drivers/media/tuners/tda18271-common.c 	tda_reg("CAL_DIV_BYTE_2     = 0x%02x\n", 0xff & regs[R_CD2]);
regs               71 drivers/media/tuners/tda18271-common.c 	tda_reg("CAL_DIV_BYTE_3     = 0x%02x\n", 0xff & regs[R_CD3]);
regs               72 drivers/media/tuners/tda18271-common.c 	tda_reg("MAIN_POST_DIV_BYTE = 0x%02x\n", 0xff & regs[R_MPD]);
regs               73 drivers/media/tuners/tda18271-common.c 	tda_reg("MAIN_DIV_BYTE_1    = 0x%02x\n", 0xff & regs[R_MD1]);
regs               74 drivers/media/tuners/tda18271-common.c 	tda_reg("MAIN_DIV_BYTE_2    = 0x%02x\n", 0xff & regs[R_MD2]);
regs               75 drivers/media/tuners/tda18271-common.c 	tda_reg("MAIN_DIV_BYTE_3    = 0x%02x\n", 0xff & regs[R_MD3]);
regs               84 drivers/media/tuners/tda18271-common.c 	tda_reg("EXTENDED_BYTE_1    = 0x%02x\n", 0xff & regs[R_EB1]);
regs               85 drivers/media/tuners/tda18271-common.c 	tda_reg("EXTENDED_BYTE_2    = 0x%02x\n", 0xff & regs[R_EB2]);
regs               86 drivers/media/tuners/tda18271-common.c 	tda_reg("EXTENDED_BYTE_3    = 0x%02x\n", 0xff & regs[R_EB3]);
regs               87 drivers/media/tuners/tda18271-common.c 	tda_reg("EXTENDED_BYTE_4    = 0x%02x\n", 0xff & regs[R_EB4]);
regs               88 drivers/media/tuners/tda18271-common.c 	tda_reg("EXTENDED_BYTE_5    = 0x%02x\n", 0xff & regs[R_EB5]);
regs               89 drivers/media/tuners/tda18271-common.c 	tda_reg("EXTENDED_BYTE_6    = 0x%02x\n", 0xff & regs[R_EB6]);
regs               90 drivers/media/tuners/tda18271-common.c 	tda_reg("EXTENDED_BYTE_7    = 0x%02x\n", 0xff & regs[R_EB7]);
regs               91 drivers/media/tuners/tda18271-common.c 	tda_reg("EXTENDED_BYTE_8    = 0x%02x\n", 0xff & regs[R_EB8]);
regs               92 drivers/media/tuners/tda18271-common.c 	tda_reg("EXTENDED_BYTE_9  W = 0x%02x\n", 0xff & regs[R_EB9]);
regs               93 drivers/media/tuners/tda18271-common.c 	tda_reg("EXTENDED_BYTE_10   = 0x%02x\n", 0xff & regs[R_EB10]);
regs               94 drivers/media/tuners/tda18271-common.c 	tda_reg("EXTENDED_BYTE_11   = 0x%02x\n", 0xff & regs[R_EB11]);
regs               95 drivers/media/tuners/tda18271-common.c 	tda_reg("EXTENDED_BYTE_12   = 0x%02x\n", 0xff & regs[R_EB12]);
regs               96 drivers/media/tuners/tda18271-common.c 	tda_reg("EXTENDED_BYTE_13   = 0x%02x\n", 0xff & regs[R_EB13]);
regs               97 drivers/media/tuners/tda18271-common.c 	tda_reg("EXTENDED_BYTE_14   = 0x%02x\n", 0xff & regs[R_EB14]);
regs               98 drivers/media/tuners/tda18271-common.c 	tda_reg("EXTENDED_BYTE_15   = 0x%02x\n", 0xff & regs[R_EB15]);
regs               99 drivers/media/tuners/tda18271-common.c 	tda_reg("EXTENDED_BYTE_16 W = 0x%02x\n", 0xff & regs[R_EB16]);
regs              100 drivers/media/tuners/tda18271-common.c 	tda_reg("EXTENDED_BYTE_17 W = 0x%02x\n", 0xff & regs[R_EB17]);
regs              101 drivers/media/tuners/tda18271-common.c 	tda_reg("EXTENDED_BYTE_18   = 0x%02x\n", 0xff & regs[R_EB18]);
regs              102 drivers/media/tuners/tda18271-common.c 	tda_reg("EXTENDED_BYTE_19 W = 0x%02x\n", 0xff & regs[R_EB19]);
regs              103 drivers/media/tuners/tda18271-common.c 	tda_reg("EXTENDED_BYTE_20 W = 0x%02x\n", 0xff & regs[R_EB20]);
regs              104 drivers/media/tuners/tda18271-common.c 	tda_reg("EXTENDED_BYTE_21   = 0x%02x\n", 0xff & regs[R_EB21]);
regs              105 drivers/media/tuners/tda18271-common.c 	tda_reg("EXTENDED_BYTE_22   = 0x%02x\n", 0xff & regs[R_EB22]);
regs              106 drivers/media/tuners/tda18271-common.c 	tda_reg("EXTENDED_BYTE_23   = 0x%02x\n", 0xff & regs[R_EB23]);
regs              112 drivers/media/tuners/tda18271-common.c 	unsigned char *regs = priv->tda18271_regs;
regs              119 drivers/media/tuners/tda18271-common.c 		  .buf = regs, .len = 16 }
regs              141 drivers/media/tuners/tda18271-common.c 	unsigned char *regs = priv->tda18271_regs;
regs              169 drivers/media/tuners/tda18271-common.c 			regs[i] = regdump[i];
regs              182 drivers/media/tuners/tda18271-common.c 	unsigned char *regs = priv->tda18271_regs;
regs              224 drivers/media/tuners/tda18271-common.c 			buf[i] = regs[idx - 1 + i];
regs              260 drivers/media/tuners/tda18271-common.c 	unsigned char *regs = priv->tda18271_regs;
regs              264 drivers/media/tuners/tda18271-common.c 	regs[r_cp] &= ~0x20;
regs              265 drivers/media/tuners/tda18271-common.c 	regs[r_cp] |= ((force & 1) << 5);
regs              280 drivers/media/tuners/tda18271-common.c 	unsigned char *regs = priv->tda18271_regs;
regs              296 drivers/media/tuners/tda18271-common.c 		regs[R_ID]   = 0x83;
regs              299 drivers/media/tuners/tda18271-common.c 		regs[R_ID]   = 0x84;
regs              303 drivers/media/tuners/tda18271-common.c 	regs[R_TM]   = 0x08;
regs              304 drivers/media/tuners/tda18271-common.c 	regs[R_PL]   = 0x80;
regs              305 drivers/media/tuners/tda18271-common.c 	regs[R_EP1]  = 0xc6;
regs              306 drivers/media/tuners/tda18271-common.c 	regs[R_EP2]  = 0xdf;
regs              307 drivers/media/tuners/tda18271-common.c 	regs[R_EP3]  = 0x16;
regs              308 drivers/media/tuners/tda18271-common.c 	regs[R_EP4]  = 0x60;
regs              309 drivers/media/tuners/tda18271-common.c 	regs[R_EP5]  = 0x80;
regs              310 drivers/media/tuners/tda18271-common.c 	regs[R_CPD]  = 0x80;
regs              311 drivers/media/tuners/tda18271-common.c 	regs[R_CD1]  = 0x00;
regs              312 drivers/media/tuners/tda18271-common.c 	regs[R_CD2]  = 0x00;
regs              313 drivers/media/tuners/tda18271-common.c 	regs[R_CD3]  = 0x00;
regs              314 drivers/media/tuners/tda18271-common.c 	regs[R_MPD]  = 0x00;
regs              315 drivers/media/tuners/tda18271-common.c 	regs[R_MD1]  = 0x00;
regs              316 drivers/media/tuners/tda18271-common.c 	regs[R_MD2]  = 0x00;
regs              317 drivers/media/tuners/tda18271-common.c 	regs[R_MD3]  = 0x00;
regs              321 drivers/media/tuners/tda18271-common.c 		regs[R_EB1]  = 0xff;
regs              324 drivers/media/tuners/tda18271-common.c 		regs[R_EB1]  = 0xfc;
regs              328 drivers/media/tuners/tda18271-common.c 	regs[R_EB2]  = 0x01;
regs              329 drivers/media/tuners/tda18271-common.c 	regs[R_EB3]  = 0x84;
regs              330 drivers/media/tuners/tda18271-common.c 	regs[R_EB4]  = 0x41;
regs              331 drivers/media/tuners/tda18271-common.c 	regs[R_EB5]  = 0x01;
regs              332 drivers/media/tuners/tda18271-common.c 	regs[R_EB6]  = 0x84;
regs              333 drivers/media/tuners/tda18271-common.c 	regs[R_EB7]  = 0x40;
regs              334 drivers/media/tuners/tda18271-common.c 	regs[R_EB8]  = 0x07;
regs              335 drivers/media/tuners/tda18271-common.c 	regs[R_EB9]  = 0x00;
regs              336 drivers/media/tuners/tda18271-common.c 	regs[R_EB10] = 0x00;
regs              337 drivers/media/tuners/tda18271-common.c 	regs[R_EB11] = 0x96;
regs              341 drivers/media/tuners/tda18271-common.c 		regs[R_EB12] = 0x0f;
regs              344 drivers/media/tuners/tda18271-common.c 		regs[R_EB12] = 0x33;
regs              348 drivers/media/tuners/tda18271-common.c 	regs[R_EB13] = 0xc1;
regs              349 drivers/media/tuners/tda18271-common.c 	regs[R_EB14] = 0x00;
regs              350 drivers/media/tuners/tda18271-common.c 	regs[R_EB15] = 0x8f;
regs              351 drivers/media/tuners/tda18271-common.c 	regs[R_EB16] = 0x00;
regs              352 drivers/media/tuners/tda18271-common.c 	regs[R_EB17] = 0x00;
regs              356 drivers/media/tuners/tda18271-common.c 		regs[R_EB18] = 0x00;
regs              359 drivers/media/tuners/tda18271-common.c 		regs[R_EB18] = 0x8c;
regs              363 drivers/media/tuners/tda18271-common.c 	regs[R_EB19] = 0x00;
regs              364 drivers/media/tuners/tda18271-common.c 	regs[R_EB20] = 0x20;
regs              368 drivers/media/tuners/tda18271-common.c 		regs[R_EB21] = 0x33;
regs              371 drivers/media/tuners/tda18271-common.c 		regs[R_EB21] = 0xb3;
regs              375 drivers/media/tuners/tda18271-common.c 	regs[R_EB22] = 0x48;
regs              376 drivers/media/tuners/tda18271-common.c 	regs[R_EB23] = 0xb0;
regs              381 drivers/media/tuners/tda18271-common.c 	regs[R_EB17] = 0x00;
regs              383 drivers/media/tuners/tda18271-common.c 	regs[R_EB17] = 0x03;
regs              385 drivers/media/tuners/tda18271-common.c 	regs[R_EB17] = 0x43;
regs              387 drivers/media/tuners/tda18271-common.c 	regs[R_EB17] = 0x4c;
regs              392 drivers/media/tuners/tda18271-common.c 		regs[R_EB20] = 0xa0;
regs              394 drivers/media/tuners/tda18271-common.c 		regs[R_EB20] = 0xa7;
regs              396 drivers/media/tuners/tda18271-common.c 		regs[R_EB20] = 0xe7;
regs              398 drivers/media/tuners/tda18271-common.c 		regs[R_EB20] = 0xec;
regs              405 drivers/media/tuners/tda18271-common.c 	regs[R_EP3] = 0x1f;
regs              406 drivers/media/tuners/tda18271-common.c 	regs[R_EP4] = 0x66;
regs              407 drivers/media/tuners/tda18271-common.c 	regs[R_EP5] = 0x81;
regs              408 drivers/media/tuners/tda18271-common.c 	regs[R_CPD] = 0xcc;
regs              409 drivers/media/tuners/tda18271-common.c 	regs[R_CD1] = 0x6c;
regs              410 drivers/media/tuners/tda18271-common.c 	regs[R_CD2] = 0x00;
regs              411 drivers/media/tuners/tda18271-common.c 	regs[R_CD3] = 0x00;
regs              412 drivers/media/tuners/tda18271-common.c 	regs[R_MPD] = 0xcd;
regs              413 drivers/media/tuners/tda18271-common.c 	regs[R_MD1] = 0x77;
regs              414 drivers/media/tuners/tda18271-common.c 	regs[R_MD2] = 0x08;
regs              415 drivers/media/tuners/tda18271-common.c 	regs[R_MD3] = 0x00;
regs              434 drivers/media/tuners/tda18271-common.c 	regs[R_EP5] = 0x85;
regs              435 drivers/media/tuners/tda18271-common.c 	regs[R_CPD] = 0xcb;
regs              436 drivers/media/tuners/tda18271-common.c 	regs[R_CD1] = 0x66;
regs              437 drivers/media/tuners/tda18271-common.c 	regs[R_CD2] = 0x70;
regs              447 drivers/media/tuners/tda18271-common.c 	regs[R_EP5] = 0x82;
regs              448 drivers/media/tuners/tda18271-common.c 	regs[R_CPD] = 0xa8;
regs              449 drivers/media/tuners/tda18271-common.c 	regs[R_CD2] = 0x00;
regs              450 drivers/media/tuners/tda18271-common.c 	regs[R_MPD] = 0xa9;
regs              451 drivers/media/tuners/tda18271-common.c 	regs[R_MD1] = 0x73;
regs              452 drivers/media/tuners/tda18271-common.c 	regs[R_MD2] = 0x1a;
regs              461 drivers/media/tuners/tda18271-common.c 	regs[R_EP5] = 0x86;
regs              462 drivers/media/tuners/tda18271-common.c 	regs[R_CPD] = 0xa8;
regs              463 drivers/media/tuners/tda18271-common.c 	regs[R_CD1] = 0x66;
regs              464 drivers/media/tuners/tda18271-common.c 	regs[R_CD2] = 0xa0;
regs              474 drivers/media/tuners/tda18271-common.c 	regs[R_EP5] = 0x83;
regs              475 drivers/media/tuners/tda18271-common.c 	regs[R_CPD] = 0x98;
regs              476 drivers/media/tuners/tda18271-common.c 	regs[R_CD1] = 0x65;
regs              477 drivers/media/tuners/tda18271-common.c 	regs[R_CD2] = 0x00;
regs              478 drivers/media/tuners/tda18271-common.c 	regs[R_MPD] = 0x99;
regs              479 drivers/media/tuners/tda18271-common.c 	regs[R_MD1] = 0x71;
regs              480 drivers/media/tuners/tda18271-common.c 	regs[R_MD2] = 0xcd;
regs              489 drivers/media/tuners/tda18271-common.c 	regs[R_EP5] = 0x87;
regs              490 drivers/media/tuners/tda18271-common.c 	regs[R_CD1] = 0x65;
regs              491 drivers/media/tuners/tda18271-common.c 	regs[R_CD2] = 0x50;
regs              501 drivers/media/tuners/tda18271-common.c 	regs[R_EP4] = 0x64;
regs              535 drivers/media/tuners/tda18271-common.c 	unsigned char *regs = priv->tda18271_regs;
regs              540 drivers/media/tuners/tda18271-common.c 	regs[R_EP3]  &= ~0xe0; /* clear sm, sm_lt, sm_xt */
regs              541 drivers/media/tuners/tda18271-common.c 	regs[R_EP3]  |= (sm    ? (1 << 7) : 0) |
regs              554 drivers/media/tuners/tda18271-common.c 	unsigned char *regs = priv->tda18271_regs;
regs              562 drivers/media/tuners/tda18271-common.c 	regs[R_MPD]   = (0x7f & pd);
regs              566 drivers/media/tuners/tda18271-common.c 	regs[R_MD1]   = 0x7f & (div >> 16);
regs              567 drivers/media/tuners/tda18271-common.c 	regs[R_MD2]   = 0xff & (div >> 8);
regs              568 drivers/media/tuners/tda18271-common.c 	regs[R_MD3]   = 0xff & div;
regs              577 drivers/media/tuners/tda18271-common.c 	unsigned char *regs = priv->tda18271_regs;
regs              585 drivers/media/tuners/tda18271-common.c 	regs[R_CPD]   = pd;
regs              589 drivers/media/tuners/tda18271-common.c 	regs[R_CD1]   = 0x7f & (div >> 16);
regs              590 drivers/media/tuners/tda18271-common.c 	regs[R_CD2]   = 0xff & (div >> 8);
regs              591 drivers/media/tuners/tda18271-common.c 	regs[R_CD3]   = 0xff & div;
regs              602 drivers/media/tuners/tda18271-common.c 	unsigned char *regs = priv->tda18271_regs;
regs              609 drivers/media/tuners/tda18271-common.c 	regs[R_EP1]  &= ~0x07; /* clear bp filter bits */
regs              610 drivers/media/tuners/tda18271-common.c 	regs[R_EP1]  |= (0x07 & val);
regs              619 drivers/media/tuners/tda18271-common.c 	unsigned char *regs = priv->tda18271_regs;
regs              626 drivers/media/tuners/tda18271-common.c 	regs[R_EB13] &= ~0x7c; /* clear k & m bits */
regs              627 drivers/media/tuners/tda18271-common.c 	regs[R_EB13] |= (0x7c & val);
regs              636 drivers/media/tuners/tda18271-common.c 	unsigned char *regs = priv->tda18271_regs;
regs              643 drivers/media/tuners/tda18271-common.c 	regs[R_EP2]  &= ~0xe0; /* clear rf band bits */
regs              644 drivers/media/tuners/tda18271-common.c 	regs[R_EP2]  |= (0xe0 & (val << 5));
regs              653 drivers/media/tuners/tda18271-common.c 	unsigned char *regs = priv->tda18271_regs;
regs              660 drivers/media/tuners/tda18271-common.c 	regs[R_EP2]  &= ~0x1f; /* clear gain taper bits */
regs              661 drivers/media/tuners/tda18271-common.c 	regs[R_EP2]  |= (0x1f & val);
regs              670 drivers/media/tuners/tda18271-common.c 	unsigned char *regs = priv->tda18271_regs;
regs              677 drivers/media/tuners/tda18271-common.c 	regs[R_EP5] &= ~0x07;
regs              678 drivers/media/tuners/tda18271-common.c 	regs[R_EP5] |= (0x07 & val);
regs              687 drivers/media/tuners/tda18271-common.c 	unsigned char *regs = priv->tda18271_regs;
regs              700 drivers/media/tuners/tda18271-common.c 	regs[R_EB14] = val;
regs               61 drivers/media/tuners/tda18271-fe.c 	unsigned char *regs = priv->tda18271_regs;
regs               65 drivers/media/tuners/tda18271-fe.c 		regs[R_MPD]  &= ~0x80; /* IF notch = 0 */
regs               68 drivers/media/tuners/tda18271-fe.c 		regs[R_MPD]  |= 0x80; /* IF notch = 1 */
regs               78 drivers/media/tuners/tda18271-fe.c 	unsigned char *regs = priv->tda18271_regs;
regs               85 drivers/media/tuners/tda18271-fe.c 	regs[R_EP3]  &= ~0x1f; /* clear std bits */
regs               86 drivers/media/tuners/tda18271-fe.c 	regs[R_EP3]  |= (map->agc_mode << 3) | map->std;
regs               90 drivers/media/tuners/tda18271-fe.c 		regs[R_EP3] &= ~0x04;
regs               94 drivers/media/tuners/tda18271-fe.c 	regs[R_EP4]  &= ~0x03;
regs               97 drivers/media/tuners/tda18271-fe.c 	regs[R_EP4]  &= ~0x1c; /* clear if level bits */
regs               98 drivers/media/tuners/tda18271-fe.c 	regs[R_EP4]  |= (map->if_lvl << 2);
regs              101 drivers/media/tuners/tda18271-fe.c 	regs[R_EP4]  &= ~0x80;
regs              102 drivers/media/tuners/tda18271-fe.c 	regs[R_EP4]  |= map->fm_rfn << 7;
regs              105 drivers/media/tuners/tda18271-fe.c 	regs[R_EB22]  = 0x00;
regs              106 drivers/media/tuners/tda18271-fe.c 	regs[R_EB22] |= map->rfagc_top;
regs              114 drivers/media/tuners/tda18271-fe.c 	regs[R_EP1]  |= 0x40;
regs              117 drivers/media/tuners/tda18271-fe.c 	regs[R_TM]   &= ~0x10;
regs              135 drivers/media/tuners/tda18271-fe.c 		regs[R_EB1]  |= 0x04; /* main vco */
regs              138 drivers/media/tuners/tda18271-fe.c 		regs[R_EB1]  &= ~0x04; /* cal vco */
regs              143 drivers/media/tuners/tda18271-fe.c 	regs[R_EB1]  &= ~0x02;
regs              146 drivers/media/tuners/tda18271-fe.c 	regs[R_EB1]  &= ~0x01;
regs              166 drivers/media/tuners/tda18271-fe.c 		regs[R_MPD] = regs[R_CPD] & 0x7f;
regs              189 drivers/media/tuners/tda18271-fe.c 			regs[R_EP3] &= ~0x04;
regs              191 drivers/media/tuners/tda18271-fe.c 			regs[R_EP3] |= 0x04;
regs              201 drivers/media/tuners/tda18271-fe.c 	unsigned char *regs = priv->tda18271_regs;
regs              205 drivers/media/tuners/tda18271-fe.c 	regs[R_TM]   |= 0x10;
regs              211 drivers/media/tuners/tda18271-fe.c 	if ((((regs[R_TM] & 0x0f) == 0x00) && ((regs[R_TM] & 0x20) == 0x20)) ||
regs              212 drivers/media/tuners/tda18271-fe.c 	    (((regs[R_TM] & 0x0f) == 0x08) && ((regs[R_TM] & 0x20) == 0x00))) {
regs              214 drivers/media/tuners/tda18271-fe.c 		if ((regs[R_TM] & 0x20) == 0x20)
regs              215 drivers/media/tuners/tda18271-fe.c 			regs[R_TM] &= ~0x20;
regs              217 drivers/media/tuners/tda18271-fe.c 			regs[R_TM] |= 0x20;
regs              230 drivers/media/tuners/tda18271-fe.c 	regs[R_TM]   &= ~0x10;
regs              234 drivers/media/tuners/tda18271-fe.c 	regs[R_EP4]  &= ~0x03;
regs              247 drivers/media/tuners/tda18271-fe.c 	unsigned char *regs = priv->tda18271_regs;
regs              263 drivers/media/tuners/tda18271-fe.c 	rf_tab = regs[R_EB14];
regs              287 drivers/media/tuners/tda18271-fe.c 	regs[R_EB14] = (unsigned char)(approx + rfcal_comp);
regs              296 drivers/media/tuners/tda18271-fe.c 	unsigned char *regs = priv->tda18271_regs;
regs              300 drivers/media/tuners/tda18271-fe.c 	regs[R_EB12] &= ~0x20;
regs              305 drivers/media/tuners/tda18271-fe.c 	regs[R_EB18] &= ~0x80; /* turn agc1 loop on */
regs              306 drivers/media/tuners/tda18271-fe.c 	regs[R_EB18] &= ~0x03; /* set agc1_gain to  6 dB */
regs              311 drivers/media/tuners/tda18271-fe.c 	regs[R_EB21] |= 0x03; /* set agc2_gain to -6 dB */
regs              319 drivers/media/tuners/tda18271-fe.c 	regs[R_EB23] &= ~0x04; /* forcelp_fc2_en = 0 */
regs              320 drivers/media/tuners/tda18271-fe.c 	regs[R_EB23] &= ~0x02; /* XXX: lp_fc[2] = 0 */
regs              329 drivers/media/tuners/tda18271-fe.c 	unsigned char *regs = priv->tda18271_regs;
regs              333 drivers/media/tuners/tda18271-fe.c 	regs[R_EP4]  &= ~0x03;
regs              337 drivers/media/tuners/tda18271-fe.c 	regs[R_EP3]  |= 0x40; /* sm_lt = 1 */
regs              339 drivers/media/tuners/tda18271-fe.c 	regs[R_EB18] |= 0x03; /* set agc1_gain to 15 dB */
regs              359 drivers/media/tuners/tda18271-fe.c 	regs[R_EB14] = 0x00;
regs              363 drivers/media/tuners/tda18271-fe.c 	regs[R_EB20] &= ~0x20;
regs              367 drivers/media/tuners/tda18271-fe.c 	regs[R_EP4]  |= 0x03;
regs              402 drivers/media/tuners/tda18271-fe.c 	regs[R_EB20]  |= 0x20;
regs              410 drivers/media/tuners/tda18271-fe.c 	regs[R_EP4]  &= ~0x03;
regs              413 drivers/media/tuners/tda18271-fe.c 	regs[R_EP3]  &= ~0x40; /* sm_lt = 0 */
regs              415 drivers/media/tuners/tda18271-fe.c 	regs[R_EB18] &= ~0x03; /* set agc1_gain to  6 dB */
regs              426 drivers/media/tuners/tda18271-fe.c 	return regs[R_EB14];
regs              433 drivers/media/tuners/tda18271-fe.c 	unsigned char *regs = priv->tda18271_regs;
regs              458 drivers/media/tuners/tda18271-fe.c 	regs[R_EP4]  &= ~0x03;
regs              459 drivers/media/tuners/tda18271-fe.c 	regs[R_EP4]  |= 0x01;
regs              477 drivers/media/tuners/tda18271-fe.c 	while ((regs[R_EB10] & 0x3f) < cid_target) {
regs              511 drivers/media/tuners/tda18271-fe.c 	if ((regs[R_EB10] & 0x3f) >= cid_target) {
regs              526 drivers/media/tuners/tda18271-fe.c 	unsigned char *regs = priv->tda18271_regs;
regs              530 drivers/media/tuners/tda18271-fe.c 	regs[R_EP3]  &= ~0x1f; /* clear std bits */
regs              531 drivers/media/tuners/tda18271-fe.c 	regs[R_EP3]  |= 0x12;
regs              534 drivers/media/tuners/tda18271-fe.c 	regs[R_EP4]  &= ~0x03;
regs              537 drivers/media/tuners/tda18271-fe.c 	regs[R_EP4]  &= ~0x1c; /* clear if level bits */
regs              543 drivers/media/tuners/tda18271-fe.c 	regs[R_EB18] &= ~0x03; /* set agc1_gain to   6 dB */
regs              548 drivers/media/tuners/tda18271-fe.c 	regs[R_EB21] &= ~0x03; /* set agc2_gain to -15 dB */
regs              551 drivers/media/tuners/tda18271-fe.c 	regs[R_EB23] |= 0x04; /* forcelp_fc2_en = 1 */
regs              552 drivers/media/tuners/tda18271-fe.c 	regs[R_EB23] |= 0x02; /* lp_fc[2] = 1 */
regs              563 drivers/media/tuners/tda18271-fe.c 	unsigned char *regs = priv->tda18271_regs;
regs              594 drivers/media/tuners/tda18271-fe.c 		prog_tab[rf] = (s32)regs[R_EB14];
regs              665 drivers/media/tuners/tda18271-fe.c 	unsigned char *regs = priv->tda18271_regs;
regs              669 drivers/media/tuners/tda18271-fe.c 	if ((regs[R_EP1] & 0x10) == 0)
regs              697 drivers/media/tuners/tda18271-fe.c 	unsigned char *regs = priv->tda18271_regs;
regs              705 drivers/media/tuners/tda18271-fe.c 	regs[R_EB4]  &= 0x07;
regs              706 drivers/media/tuners/tda18271-fe.c 	regs[R_EB4]  |= 0x60;
regs              709 drivers/media/tuners/tda18271-fe.c 	regs[R_EB7]   = 0x60;
regs              712 drivers/media/tuners/tda18271-fe.c 	regs[R_EB14]  = 0x00;
regs              715 drivers/media/tuners/tda18271-fe.c 	regs[R_EB20]  = 0xcc;
regs              719 drivers/media/tuners/tda18271-fe.c 	regs[R_EP4]  |= 0x03;
regs              768 drivers/media/tuners/tda18271-fe.c 	regs[R_EB4]  &= 0x07;
regs              769 drivers/media/tuners/tda18271-fe.c 	regs[R_EB4]  |= 0x40;
regs              772 drivers/media/tuners/tda18271-fe.c 	regs[R_EB7]   = 0x40;
regs              776 drivers/media/tuners/tda18271-fe.c 	regs[R_EB20]  = 0xec;
regs              780 drivers/media/tuners/tda18271-fe.c 	regs[R_EP4]  &= ~0x03; /* set cal mode to normal */
regs              797 drivers/media/tuners/tda18271-fe.c 	unsigned char *regs = priv->tda18271_regs;
regs              805 drivers/media/tuners/tda18271-fe.c 	if ((regs[R_EP1] & 0x08) == 0)
regs             1149 drivers/media/tuners/tda18271-fe.c 	unsigned char *regs = priv->tda18271_regs;
regs             1164 drivers/media/tuners/tda18271-fe.c 	switch (regs[R_ID] & 0x7f) {
regs             1175 drivers/media/tuners/tda18271-fe.c 			 regs[R_ID], i2c_adapter_id(priv->i2c_props.adap),
regs              923 drivers/media/tuners/tda18271-maps.c 	unsigned char *regs = priv->tda18271_regs;
regs              926 drivers/media/tuners/tda18271-maps.c 	while (tda18271_thermometer[i].d < (regs[R_TM] & 0x0f)) {
regs              932 drivers/media/tuners/tda18271-maps.c 	if ((regs[R_TM] & 0x20) == 0x20)
regs               44 drivers/media/usb/em28xx/em28xx-camera.c 	unsigned char regs[][3] = {
regs               51 drivers/media/usb/em28xx/em28xx-camera.c 	for (i = 0; i < ARRAY_SIZE(regs); i++)
regs               53 drivers/media/usb/em28xx/em28xx-camera.c 				&regs[i][0], 3);
regs               64 drivers/media/usb/em28xx/em28xx-camera.c 	unsigned char regs[][3] = {
regs               80 drivers/media/usb/em28xx/em28xx-camera.c 	for (i = 0; i < ARRAY_SIZE(regs); i++)
regs               82 drivers/media/usb/em28xx/em28xx-camera.c 				&regs[i][0], 3);
regs              499 drivers/media/usb/em28xx/em28xx-dvb.c 	} regs[] = {
regs              523 drivers/media/usb/em28xx/em28xx-dvb.c 	for (i = 0; i < ARRAY_SIZE(regs); i++)
regs              525 drivers/media/usb/em28xx/em28xx-dvb.c 				regs[i].r, regs[i].len);
regs              556 drivers/media/usb/em28xx/em28xx-dvb.c 	} regs[] = {
regs              580 drivers/media/usb/em28xx/em28xx-dvb.c 	for (i = 0; i < ARRAY_SIZE(regs); i++)
regs              582 drivers/media/usb/em28xx/em28xx-dvb.c 				regs[i].r, regs[i].len);
regs              617 drivers/media/usb/em28xx/em28xx-dvb.c 	} regs[] = {
regs              634 drivers/media/usb/em28xx/em28xx-dvb.c 	for (i = 0; i < ARRAY_SIZE(regs); i++)
regs              636 drivers/media/usb/em28xx/em28xx-dvb.c 				regs[i].r, regs[i].len);
regs              666 drivers/media/usb/em28xx/em28xx-dvb.c 	} regs[] = {
regs              693 drivers/media/usb/em28xx/em28xx-dvb.c 	for (i = 0; i < ARRAY_SIZE(regs); i++)
regs              695 drivers/media/usb/em28xx/em28xx-dvb.c 				regs[i].r, regs[i].len);
regs              710 drivers/media/usb/em28xx/em28xx-dvb.c 	} regs[] = {
regs              723 drivers/media/usb/em28xx/em28xx-dvb.c 	for (i = 0; i < ARRAY_SIZE(regs); i++)
regs              725 drivers/media/usb/em28xx/em28xx-dvb.c 				regs[i].r, regs[i].len);
regs              748 drivers/media/usb/go7007/go7007-usb.c 	__le16 *regs = (__le16 *)urb->transfer_buffer;
regs              763 drivers/media/usb/go7007/go7007-usb.c 		go->interrupt_data = __le16_to_cpu(regs[0]);
regs              764 drivers/media/usb/go7007/go7007-usb.c 		go->interrupt_value = __le16_to_cpu(regs[1]);
regs              290 drivers/media/usb/go7007/s2250-board.c static int write_regs(struct i2c_client *client, u8 *regs)
regs              294 drivers/media/usb/go7007/s2250-board.c 	for (i = 0; !((regs[i] == 0x00) && (regs[i+1] == 0x00)); i += 2) {
regs              295 drivers/media/usb/go7007/s2250-board.c 		if (write_reg(client, regs[i], regs[i+1]) < 0) {
regs              303 drivers/media/usb/go7007/s2250-board.c static int write_regs_fp(struct i2c_client *client, u16 *regs)
regs              307 drivers/media/usb/go7007/s2250-board.c 	for (i = 0; !((regs[i] == 0x00) && (regs[i+1] == 0x00)); i += 2) {
regs              308 drivers/media/usb/go7007/s2250-board.c 		if (write_reg_fp(client, regs[i], regs[i+1]) < 0) {
regs             1093 drivers/media/usb/gspca/sonixb.c 	__u8 regs[0x31];
regs             1097 drivers/media/usb/gspca/sonixb.c 	memcpy(&regs[0x01], sensor_data[sd->sensor].bridge_init, 0x19);
regs             1099 drivers/media/usb/gspca/sonixb.c 	regs[0x18] |= mode << 4;
regs             1103 drivers/media/usb/gspca/sonixb.c 		regs[0x05] = 0x20; /* Red */
regs             1104 drivers/media/usb/gspca/sonixb.c 		regs[0x06] = 0x20; /* Green */
regs             1105 drivers/media/usb/gspca/sonixb.c 		regs[0x07] = 0x20; /* Blue */
regs             1107 drivers/media/usb/gspca/sonixb.c 		regs[0x10] = 0x00; /* Red and blue */
regs             1108 drivers/media/usb/gspca/sonixb.c 		regs[0x11] = 0x00; /* Green */
regs             1113 drivers/media/usb/gspca/sonixb.c 		regs[0x1a] = 0x14; /* HO_SIZE 640, makes no sense */
regs             1114 drivers/media/usb/gspca/sonixb.c 		regs[0x1b] = 0x0a; /* VO_SIZE 320, makes no sense */
regs             1115 drivers/media/usb/gspca/sonixb.c 		regs[0x1c] = 0x02; /* AE H-start 64 */
regs             1116 drivers/media/usb/gspca/sonixb.c 		regs[0x1d] = 0x02; /* AE V-start 64 */
regs             1117 drivers/media/usb/gspca/sonixb.c 		regs[0x1e] = 0x09; /* AE H-end 288 */
regs             1118 drivers/media/usb/gspca/sonixb.c 		regs[0x1f] = 0x07; /* AE V-end 224 */
regs             1120 drivers/media/usb/gspca/sonixb.c 		regs[0x1a] = 0x1d; /* HO_SIZE 960, makes no sense */
regs             1121 drivers/media/usb/gspca/sonixb.c 		regs[0x1b] = 0x10; /* VO_SIZE 512, makes no sense */
regs             1122 drivers/media/usb/gspca/sonixb.c 		regs[0x1c] = 0x05; /* AE H-start 160 */
regs             1123 drivers/media/usb/gspca/sonixb.c 		regs[0x1d] = 0x03; /* AE V-start 96 */
regs             1124 drivers/media/usb/gspca/sonixb.c 		regs[0x1e] = 0x0f; /* AE H-end 480 */
regs             1125 drivers/media/usb/gspca/sonixb.c 		regs[0x1f] = 0x0c; /* AE V-end 384 */
regs             1130 drivers/media/usb/gspca/sonixb.c 		regs[0x20 + i] = i * 16;
regs             1131 drivers/media/usb/gspca/sonixb.c 	regs[0x20 + i] = 255;
regs             1140 drivers/media/usb/gspca/sonixb.c 		regs[0x19] = mode ? 0x23 : 0x43;
regs             1148 drivers/media/usb/gspca/sonixb.c 			regs[0x01] = 0x44; /* Select 24 Mhz clock */
regs             1149 drivers/media/usb/gspca/sonixb.c 			regs[0x12] = 0x02; /* Set hstart to 2 */
regs             1156 drivers/media/usb/gspca/sonixb.c 			regs[0x12] += 1;
regs             1161 drivers/media/usb/gspca/sonixb.c 		regs[0x18] &= ~0x80;
regs             1165 drivers/media/usb/gspca/sonixb.c 		regs[0x12] += 16;	/* hstart adjust */
regs             1166 drivers/media/usb/gspca/sonixb.c 		regs[0x13] += 24;	/* vstart adjust */
regs             1167 drivers/media/usb/gspca/sonixb.c 		regs[0x15]  = 320 / 16; /* hsize */
regs             1168 drivers/media/usb/gspca/sonixb.c 		regs[0x16]  = 240 / 16; /* vsize */
regs             1172 drivers/media/usb/gspca/sonixb.c 	reg_w(gspca_dev, 0x01, &regs[0x01], 1);
regs             1174 drivers/media/usb/gspca/sonixb.c 	reg_w(gspca_dev, 0x17, &regs[0x17], 1);
regs             1176 drivers/media/usb/gspca/sonixb.c 	reg_w(gspca_dev, 0x01, &regs[0x01],
regs             1204 drivers/media/usb/gspca/sonixb.c 	reg_w(gspca_dev, 0x15, &regs[0x15], 2);
regs             1206 drivers/media/usb/gspca/sonixb.c 	reg_w(gspca_dev, 0x18, &regs[0x18], 1);
regs             1208 drivers/media/usb/gspca/sonixb.c 	reg_w(gspca_dev, 0x12, &regs[0x12], 1);
regs             1210 drivers/media/usb/gspca/sonixb.c 	reg_w(gspca_dev, 0x13, &regs[0x13], 1);
regs             1213 drivers/media/usb/gspca/sonixb.c 	reg_w(gspca_dev, 0x17, &regs[0x17], 1);
regs             1215 drivers/media/usb/gspca/sonixb.c 	reg_w(gspca_dev, 0x19, &regs[0x19], 1);
regs             1217 drivers/media/usb/gspca/sonixb.c 	reg_w(gspca_dev, 0x1c, &regs[0x1c], 4);
regs             1219 drivers/media/usb/gspca/sonixb.c 	reg_w(gspca_dev, 0x01, &regs[0x01], 1);
regs             1221 drivers/media/usb/gspca/sonixb.c 	reg_w(gspca_dev, 0x18, &regs[0x18], 2);
regs               84 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c 	u8 regs[I2C_MAX_BYTES * 2];
regs               92 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c 		regs[2 * i] = reg;
regs               93 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c 		regs[2 * i + 1] = vals[i];
regs               99 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c 	return stv06xx_write_sensor_bytes(sd, regs, len);
regs               47 drivers/media/usb/usbtv/usbtv-core.c int usbtv_set_regs(struct usbtv *usbtv, const u16 regs[][2], int size)
regs               54 drivers/media/usb/usbtv/usbtv-core.c 		u16 index = regs[i][0];
regs               55 drivers/media/usb/usbtv/usbtv-core.c 		u16 value = regs[i][1];
regs              129 drivers/media/usb/usbtv/usbtv.h int usbtv_set_regs(struct usbtv *usbtv, const u16 regs[][2], int size);
regs              184 drivers/memory/brcmstb_dpfe.c 	void __iomem *regs;
regs              293 drivers/memory/brcmstb_dpfe.c static bool is_dcpu_enabled(void __iomem *regs)
regs              297 drivers/memory/brcmstb_dpfe.c 	val = readl_relaxed(regs + REG_DCPU_RESET);
regs              302 drivers/memory/brcmstb_dpfe.c static void __disable_dcpu(void __iomem *regs)
regs              306 drivers/memory/brcmstb_dpfe.c 	if (!is_dcpu_enabled(regs))
regs              310 drivers/memory/brcmstb_dpfe.c 	val = readl_relaxed(regs + REG_DCPU_RESET);
regs              312 drivers/memory/brcmstb_dpfe.c 	writel_relaxed(val, regs + REG_DCPU_RESET);
regs              315 drivers/memory/brcmstb_dpfe.c static void __enable_dcpu(void __iomem *regs)
regs              320 drivers/memory/brcmstb_dpfe.c 	writel_relaxed(0, regs + REG_TO_DCPU_MBOX);
regs              321 drivers/memory/brcmstb_dpfe.c 	writel_relaxed(0, regs + REG_TO_HOST_MBOX);
regs              324 drivers/memory/brcmstb_dpfe.c 	val = readl_relaxed(regs + REG_DCPU_RESET);
regs              326 drivers/memory/brcmstb_dpfe.c 	writel_relaxed(val, regs + REG_DCPU_RESET);
regs              329 drivers/memory/brcmstb_dpfe.c 	val = readl_relaxed(regs + REG_DCPU_RESET);
regs              331 drivers/memory/brcmstb_dpfe.c 	writel_relaxed(val, regs + REG_DCPU_RESET);
regs              369 drivers/memory/brcmstb_dpfe.c 		ptr = priv->regs + DCPU_MSG_RAM_START + offset;
regs              395 drivers/memory/brcmstb_dpfe.c 	writel_relaxed(0, priv->regs + release_mbox);
regs              402 drivers/memory/brcmstb_dpfe.c 	void __iomem *regs = priv->regs;
regs              414 drivers/memory/brcmstb_dpfe.c 		resp = readl_relaxed(regs + REG_TO_HOST_MBOX);
regs              426 drivers/memory/brcmstb_dpfe.c 		writel_relaxed(msg[i], regs + DCPU_MSG_RAM(i));
regs              429 drivers/memory/brcmstb_dpfe.c 	writel_relaxed(1, regs + REG_TO_DCPU_MBOX);
regs              434 drivers/memory/brcmstb_dpfe.c 		resp = readl_relaxed(regs + REG_TO_HOST_MBOX);
regs              446 drivers/memory/brcmstb_dpfe.c 			result[i] = readl_relaxed(regs + DCPU_MSG_RAM(i));
regs              593 drivers/memory/brcmstb_dpfe.c 	if (is_dcpu_enabled(priv->regs)) {
regs              618 drivers/memory/brcmstb_dpfe.c 	__disable_dcpu(priv->regs);
regs              644 drivers/memory/brcmstb_dpfe.c 	__enable_dcpu(priv->regs);
regs              824 drivers/memory/brcmstb_dpfe.c 	priv->regs = devm_ioremap_resource(dev, res);
regs              825 drivers/memory/brcmstb_dpfe.c 	if (IS_ERR(priv->regs)) {
regs               80 drivers/memory/emif.c 	struct emif_regs *regs)
regs               86 drivers/memory/emif.c 		regs->freq/1000000);
regs               88 drivers/memory/emif.c 	seq_printf(s, "ref_ctrl_shdw\t: 0x%08x\n", regs->ref_ctrl_shdw);
regs               89 drivers/memory/emif.c 	seq_printf(s, "sdram_tim1_shdw\t: 0x%08x\n", regs->sdram_tim1_shdw);
regs               90 drivers/memory/emif.c 	seq_printf(s, "sdram_tim2_shdw\t: 0x%08x\n", regs->sdram_tim2_shdw);
regs               91 drivers/memory/emif.c 	seq_printf(s, "sdram_tim3_shdw\t: 0x%08x\n", regs->sdram_tim3_shdw);
regs               95 drivers/memory/emif.c 			regs->read_idle_ctrl_shdw_normal);
regs               97 drivers/memory/emif.c 			regs->read_idle_ctrl_shdw_volt_ramp);
regs              100 drivers/memory/emif.c 			regs->dll_calib_ctrl_shdw_normal);
regs              102 drivers/memory/emif.c 			regs->dll_calib_ctrl_shdw_volt_ramp);
regs              107 drivers/memory/emif.c 			regs->ref_ctrl_shdw_derated);
regs              109 drivers/memory/emif.c 			regs->sdram_tim1_shdw_derated);
regs              111 drivers/memory/emif.c 			regs->sdram_tim3_shdw_derated);
regs              870 drivers/memory/emif.c static void setup_registers(struct emif_data *emif, struct emif_regs *regs)
regs              874 drivers/memory/emif.c 	writel(regs->sdram_tim2_shdw, base + EMIF_SDRAM_TIMING_2_SHDW);
regs              875 drivers/memory/emif.c 	writel(regs->phy_ctrl_1_shdw, base + EMIF_DDR_PHY_CTRL_1_SHDW);
regs              876 drivers/memory/emif.c 	writel(regs->pwr_mgmt_ctrl_shdw,
regs              882 drivers/memory/emif.c 	writel(regs->ext_phy_ctrl_2_shdw, base + EMIF_EXT_PHY_CTRL_2_SHDW);
regs              883 drivers/memory/emif.c 	writel(regs->ext_phy_ctrl_3_shdw, base + EMIF_EXT_PHY_CTRL_3_SHDW);
regs              884 drivers/memory/emif.c 	writel(regs->ext_phy_ctrl_4_shdw, base + EMIF_EXT_PHY_CTRL_4_SHDW);
regs              892 drivers/memory/emif.c 		struct emif_regs *regs, u32 volt_state)
regs              904 drivers/memory/emif.c 		calib_ctrl = regs->dll_calib_ctrl_shdw_volt_ramp;
regs              906 drivers/memory/emif.c 		calib_ctrl = regs->dll_calib_ctrl_shdw_normal;
regs              920 drivers/memory/emif.c 		struct emif_regs *regs)
regs              928 drivers/memory/emif.c 	tim1 = regs->sdram_tim1_shdw;
regs              929 drivers/memory/emif.c 	tim3 = regs->sdram_tim3_shdw;
regs              930 drivers/memory/emif.c 	ref_ctrl = regs->ref_ctrl_shdw;
regs              938 drivers/memory/emif.c 		ref_ctrl = regs->ref_ctrl_shdw_derated;
regs              940 drivers/memory/emif.c 		tim1 = regs->sdram_tim1_shdw_derated;
regs              941 drivers/memory/emif.c 		tim3 = regs->sdram_tim3_shdw_derated;
regs              942 drivers/memory/emif.c 		ref_ctrl = regs->ref_ctrl_shdw_derated;
regs             1614 drivers/memory/emif.c 		struct emif_regs *regs)
regs             1651 drivers/memory/emif.c 	regs->ref_ctrl_shdw = get_sdram_ref_ctrl_shdw(freq, addressing);
regs             1652 drivers/memory/emif.c 	regs->sdram_tim1_shdw = get_sdram_tim_1_shdw(timings, min_tck,
regs             1654 drivers/memory/emif.c 	regs->sdram_tim2_shdw = get_sdram_tim_2_shdw(timings, min_tck,
regs             1656 drivers/memory/emif.c 	regs->sdram_tim3_shdw = get_sdram_tim_3_shdw(timings, min_tck,
regs             1662 drivers/memory/emif.c 		regs->phy_ctrl_1_shdw = get_ddr_phy_ctrl_1_attilaphy_4d(
regs             1665 drivers/memory/emif.c 		regs->phy_ctrl_1_shdw = get_phy_ctrl_1_intelliphy_4d5(freq, cl);
regs             1666 drivers/memory/emif.c 		regs->ext_phy_ctrl_2_shdw = get_ext_phy_ctrl_2_intelliphy_4d5();
regs             1667 drivers/memory/emif.c 		regs->ext_phy_ctrl_3_shdw = get_ext_phy_ctrl_3_intelliphy_4d5();
regs             1668 drivers/memory/emif.c 		regs->ext_phy_ctrl_4_shdw = get_ext_phy_ctrl_4_intelliphy_4d5();
regs             1674 drivers/memory/emif.c 	regs->pwr_mgmt_ctrl_shdw =
regs             1679 drivers/memory/emif.c 		regs->read_idle_ctrl_shdw_normal =
regs             1682 drivers/memory/emif.c 		regs->read_idle_ctrl_shdw_volt_ramp =
regs             1685 drivers/memory/emif.c 		regs->dll_calib_ctrl_shdw_normal =
regs             1688 drivers/memory/emif.c 		regs->dll_calib_ctrl_shdw_volt_ramp =
regs             1693 drivers/memory/emif.c 		regs->ref_ctrl_shdw_derated = get_sdram_ref_ctrl_shdw(freq / 4,
regs             1696 drivers/memory/emif.c 		regs->sdram_tim1_shdw_derated =
regs             1700 drivers/memory/emif.c 		regs->sdram_tim3_shdw_derated = get_sdram_tim_3_shdw(timings,
regs             1705 drivers/memory/emif.c 	regs->freq = freq;
regs             1728 drivers/memory/emif.c 	struct emif_regs	*regs = NULL;
regs             1744 drivers/memory/emif.c 			regs = regs_cache[i];
regs             1756 drivers/memory/emif.c 	if (!regs) {
regs             1757 drivers/memory/emif.c 		regs = devm_kzalloc(emif->dev, sizeof(*regs), GFP_ATOMIC);
regs             1758 drivers/memory/emif.c 		if (!regs)
regs             1761 drivers/memory/emif.c 		if (get_emif_reg_values(emif, freq, regs)) {
regs             1762 drivers/memory/emif.c 			devm_kfree(emif->dev, regs);
regs             1780 drivers/memory/emif.c 		regs_cache[i] = regs;
regs             1783 drivers/memory/emif.c 	return regs;
regs             1822 drivers/memory/emif.c 	struct emif_regs *regs;
regs             1824 drivers/memory/emif.c 	regs = get_regs(emif, new_freq);
regs             1825 drivers/memory/emif.c 	if (!regs)
regs             1828 drivers/memory/emif.c 	emif->curr_regs = regs;
regs             1838 drivers/memory/emif.c 	setup_registers(emif, regs);
regs             1839 drivers/memory/emif.c 	setup_temperature_sensitive_regs(emif, regs);
regs             1840 drivers/memory/emif.c 	setup_volt_sensitive_regs(emif, regs, DDR_VOLTAGE_STABLE);
regs               95 drivers/memory/fsl-corenet-cf.c 	void __iomem *regs;
regs              194 drivers/memory/fsl-corenet-cf.c 	ccf->regs = devm_ioremap_resource(&pdev->dev, r);
regs              195 drivers/memory/fsl-corenet-cf.c 	if (IS_ERR(ccf->regs)) {
regs              197 drivers/memory/fsl-corenet-cf.c 		return PTR_ERR(ccf->regs);
regs              202 drivers/memory/fsl-corenet-cf.c 	ccf->err_regs = ccf->regs + ccf->info->err_reg_offs;
regs              205 drivers/memory/fsl-corenet-cf.c 		u32 brr = ioread32be(ccf->regs + CCF_BRR);
regs              644 drivers/memory/tegra/mc.c 	mc->regs = devm_ioremap_resource(&pdev->dev, res);
regs              645 drivers/memory/tegra/mc.c 	if (IS_ERR(mc->regs))
regs              646 drivers/memory/tegra/mc.c 		return PTR_ERR(mc->regs);
regs               26 drivers/memory/tegra/mc.h 	return readl_relaxed(mc->regs + offset);
regs               32 drivers/memory/tegra/mc.h 	writel_relaxed(value, mc->regs + offset);
regs              468 drivers/memory/tegra/tegra124-emc.c 	void __iomem *regs;
regs              483 drivers/memory/tegra/tegra124-emc.c 	writel(value, emc->regs + EMC_CCFIFO_DATA);
regs              484 drivers/memory/tegra/tegra124-emc.c 	writel(offset, emc->regs + EMC_CCFIFO_ADDR);
regs              492 drivers/memory/tegra/tegra124-emc.c 	writel(1, emc->regs + EMC_TIMING_CONTROL);
regs              495 drivers/memory/tegra/tegra124-emc.c 		value = readl(emc->regs + EMC_STATUS);
regs              509 drivers/memory/tegra/tegra124-emc.c 	writel(0, emc->regs + EMC_AUTO_CAL_INTERVAL);
regs              512 drivers/memory/tegra/tegra124-emc.c 		value = readl(emc->regs + EMC_AUTO_CAL_STATUS);
regs              527 drivers/memory/tegra/tegra124-emc.c 		value = readl(emc->regs + EMC_INTSTATUS);
regs              579 drivers/memory/tegra/tegra124-emc.c 	writel(EMC_INTSTATUS_CLKCHANGE_COMPLETE, emc->regs + EMC_INTSTATUS);
regs              582 drivers/memory/tegra/tegra124-emc.c 	val = readl(emc->regs + EMC_CFG);
regs              585 drivers/memory/tegra/tegra124-emc.c 		writel(val, emc->regs + EMC_CFG);
regs              596 drivers/memory/tegra/tegra124-emc.c 	val = readl(emc->regs + EMC_SEL_DPD_CTRL);
regs              599 drivers/memory/tegra/tegra124-emc.c 		writel(val, emc->regs + EMC_SEL_DPD_CTRL);
regs              603 drivers/memory/tegra/tegra124-emc.c 	val = readl(emc->regs + EMC_BGBIAS_CTL0);
regs              618 drivers/memory/tegra/tegra124-emc.c 		writel(val2, emc->regs + EMC_BGBIAS_CTL0);
regs              624 drivers/memory/tegra/tegra124-emc.c 	val = readl(emc->regs + EMC_XM2DQSPADCTRL2);
regs              638 drivers/memory/tegra/tegra124-emc.c 		writel(val, emc->regs + EMC_XM2DQSPADCTRL2);
regs              653 drivers/memory/tegra/tegra124-emc.c 		       emc->regs + EMC_CTT_TERM_CTRL);
regs              660 drivers/memory/tegra/tegra124-emc.c 		       emc->regs + emc_burst_regs[i]);
regs              662 drivers/memory/tegra/tegra124-emc.c 	writel(timing->emc_xm2dqspadctrl2, emc->regs + EMC_XM2DQSPADCTRL2);
regs              663 drivers/memory/tegra/tegra124-emc.c 	writel(timing->emc_zcal_interval, emc->regs + EMC_ZCAL_INTERVAL);
regs              705 drivers/memory/tegra/tegra124-emc.c 		writel(val, emc->regs + EMC_MRS_WAIT_CNT);
regs              780 drivers/memory/tegra/tegra124-emc.c 	readl(emc->regs + EMC_INTSTATUS);
regs              801 drivers/memory/tegra/tegra124-emc.c 		       emc->regs + EMC_AUTO_CAL_INTERVAL);
regs              805 drivers/memory/tegra/tegra124-emc.c 		writel(timing->emc_cfg, emc->regs + EMC_CFG);
regs              808 drivers/memory/tegra/tegra124-emc.c 	writel(timing->emc_zcal_cnt_long, emc->regs + EMC_ZCAL_WAIT_CNT);
regs              817 drivers/memory/tegra/tegra124-emc.c 		writel(val, emc->regs + EMC_BGBIAS_CTL0);
regs              820 drivers/memory/tegra/tegra124-emc.c 		    readl(emc->regs + EMC_BGBIAS_CTL0) !=
regs              823 drivers/memory/tegra/tegra124-emc.c 			       emc->regs + EMC_BGBIAS_CTL0);
regs              827 drivers/memory/tegra/tegra124-emc.c 		       emc->regs + EMC_AUTO_CAL_INTERVAL);
regs              834 drivers/memory/tegra/tegra124-emc.c 	writel(timing->emc_sel_dpd_ctrl, emc->regs + EMC_SEL_DPD_CTRL);
regs              849 drivers/memory/tegra/tegra124-emc.c 			readl(emc->regs + emc_burst_regs[i]);
regs              851 drivers/memory/tegra/tegra124-emc.c 	timing->emc_cfg = readl(emc->regs + EMC_CFG);
regs              863 drivers/memory/tegra/tegra124-emc.c 	emc->dram_type = readl(emc->regs + EMC_FBIO_CFG5);
regs             1099 drivers/memory/tegra/tegra124-emc.c 	emc->regs = devm_ioremap_resource(&pdev->dev, res);
regs             1100 drivers/memory/tegra/tegra124-emc.c 	if (IS_ERR(emc->regs))
regs             1101 drivers/memory/tegra/tegra124-emc.c 		return PTR_ERR(emc->regs);
regs               15 drivers/memory/tegra/tegra186.c 	void __iomem *regs;
regs               24 drivers/memory/tegra/tegra186.c 	} regs;
regs               31 drivers/memory/tegra/tegra186.c 		.regs = {
regs               38 drivers/memory/tegra/tegra186.c 		.regs = {
regs               45 drivers/memory/tegra/tegra186.c 		.regs = {
regs               52 drivers/memory/tegra/tegra186.c 		.regs = {
regs               59 drivers/memory/tegra/tegra186.c 		.regs = {
regs               66 drivers/memory/tegra/tegra186.c 		.regs = {
regs               73 drivers/memory/tegra/tegra186.c 		.regs = {
regs               80 drivers/memory/tegra/tegra186.c 		.regs = {
regs               87 drivers/memory/tegra/tegra186.c 		.regs = {
regs               94 drivers/memory/tegra/tegra186.c 		.regs = {
regs              101 drivers/memory/tegra/tegra186.c 		.regs = {
regs              108 drivers/memory/tegra/tegra186.c 		.regs = {
regs              115 drivers/memory/tegra/tegra186.c 		.regs = {
regs              122 drivers/memory/tegra/tegra186.c 		.regs = {
regs              129 drivers/memory/tegra/tegra186.c 		.regs = {
regs              136 drivers/memory/tegra/tegra186.c 		.regs = {
regs              143 drivers/memory/tegra/tegra186.c 		.regs = {
regs              150 drivers/memory/tegra/tegra186.c 		.regs = {
regs              157 drivers/memory/tegra/tegra186.c 		.regs = {
regs              164 drivers/memory/tegra/tegra186.c 		.regs = {
regs              171 drivers/memory/tegra/tegra186.c 		.regs = {
regs              178 drivers/memory/tegra/tegra186.c 		.regs = {
regs              185 drivers/memory/tegra/tegra186.c 		.regs = {
regs              192 drivers/memory/tegra/tegra186.c 		.regs = {
regs              199 drivers/memory/tegra/tegra186.c 		.regs = {
regs              206 drivers/memory/tegra/tegra186.c 		.regs = {
regs              213 drivers/memory/tegra/tegra186.c 		.regs = {
regs              220 drivers/memory/tegra/tegra186.c 		.regs = {
regs              227 drivers/memory/tegra/tegra186.c 		.regs = {
regs              234 drivers/memory/tegra/tegra186.c 		.regs = {
regs              241 drivers/memory/tegra/tegra186.c 		.regs = {
regs              248 drivers/memory/tegra/tegra186.c 		.regs = {
regs              255 drivers/memory/tegra/tegra186.c 		.regs = {
regs              262 drivers/memory/tegra/tegra186.c 		.regs = {
regs              269 drivers/memory/tegra/tegra186.c 		.regs = {
regs              276 drivers/memory/tegra/tegra186.c 		.regs = {
regs              283 drivers/memory/tegra/tegra186.c 		.regs = {
regs              290 drivers/memory/tegra/tegra186.c 		.regs = {
regs              297 drivers/memory/tegra/tegra186.c 		.regs = {
regs              304 drivers/memory/tegra/tegra186.c 		.regs = {
regs              311 drivers/memory/tegra/tegra186.c 		.regs = {
regs              318 drivers/memory/tegra/tegra186.c 		.regs = {
regs              325 drivers/memory/tegra/tegra186.c 		.regs = {
regs              332 drivers/memory/tegra/tegra186.c 		.regs = {
regs              339 drivers/memory/tegra/tegra186.c 		.regs = {
regs              346 drivers/memory/tegra/tegra186.c 		.regs = {
regs              353 drivers/memory/tegra/tegra186.c 		.regs = {
regs              360 drivers/memory/tegra/tegra186.c 		.regs = {
regs              367 drivers/memory/tegra/tegra186.c 		.regs = {
regs              374 drivers/memory/tegra/tegra186.c 		.regs = {
regs              381 drivers/memory/tegra/tegra186.c 		.regs = {
regs              388 drivers/memory/tegra/tegra186.c 		.regs = {
regs              395 drivers/memory/tegra/tegra186.c 		.regs = {
regs              402 drivers/memory/tegra/tegra186.c 		.regs = {
regs              409 drivers/memory/tegra/tegra186.c 		.regs = {
regs              416 drivers/memory/tegra/tegra186.c 		.regs = {
regs              423 drivers/memory/tegra/tegra186.c 		.regs = {
regs              430 drivers/memory/tegra/tegra186.c 		.regs = {
regs              437 drivers/memory/tegra/tegra186.c 		.regs = {
regs              444 drivers/memory/tegra/tegra186.c 		.regs = {
regs              451 drivers/memory/tegra/tegra186.c 		.regs = {
regs              458 drivers/memory/tegra/tegra186.c 		.regs = {
regs              465 drivers/memory/tegra/tegra186.c 		.regs = {
regs              472 drivers/memory/tegra/tegra186.c 		.regs = {
regs              479 drivers/memory/tegra/tegra186.c 		.regs = {
regs              486 drivers/memory/tegra/tegra186.c 		.regs = {
regs              493 drivers/memory/tegra/tegra186.c 		.regs = {
regs              500 drivers/memory/tegra/tegra186.c 		.regs = {
regs              507 drivers/memory/tegra/tegra186.c 		.regs = {
regs              514 drivers/memory/tegra/tegra186.c 		.regs = {
regs              521 drivers/memory/tegra/tegra186.c 		.regs = {
regs              528 drivers/memory/tegra/tegra186.c 		.regs = {
regs              547 drivers/memory/tegra/tegra186.c 	mc->regs = devm_ioremap_resource(&pdev->dev, res);
regs              548 drivers/memory/tegra/tegra186.c 	if (IS_ERR(mc->regs))
regs              549 drivers/memory/tegra/tegra186.c 		return PTR_ERR(mc->regs);
regs              557 drivers/memory/tegra/tegra186.c 		override = readl(mc->regs + client->regs.override);
regs              558 drivers/memory/tegra/tegra186.c 		security = readl(mc->regs + client->regs.security);
regs              565 drivers/memory/tegra/tegra186.c 		writel(client->sid, mc->regs + client->regs.override);
regs              567 drivers/memory/tegra/tegra186.c 		override = readl(mc->regs + client->regs.override);
regs              568 drivers/memory/tegra/tegra186.c 		security = readl(mc->regs + client->regs.security);
regs              144 drivers/memory/tegra/tegra20-emc.c 	void __iomem *regs;
regs              156 drivers/memory/tegra/tegra20-emc.c 	status = readl_relaxed(emc->regs + EMC_INTSTATUS) & intmask;
regs              170 drivers/memory/tegra/tegra20-emc.c 	writel_relaxed(status, emc->regs + EMC_INTSTATUS);
regs              210 drivers/memory/tegra/tegra20-emc.c 			       emc->regs + emc_timing_registers[i]);
regs              213 drivers/memory/tegra/tegra20-emc.c 	readl_relaxed(emc->regs + emc_timing_registers[i - 1]);
regs              229 drivers/memory/tegra/tegra20-emc.c 			       emc->regs + EMC_TIMING_CONTROL);
regs              403 drivers/memory/tegra/tegra20-emc.c 	emc_cfg = readl_relaxed(emc->regs + EMC_CFG_2);
regs              418 drivers/memory/tegra/tegra20-emc.c 	writel_relaxed(emc_cfg, emc->regs + EMC_CFG_2);
regs              421 drivers/memory/tegra/tegra20-emc.c 	writel_relaxed(intmask, emc->regs + EMC_INTMASK);
regs              422 drivers/memory/tegra/tegra20-emc.c 	writel_relaxed(intmask, emc->regs + EMC_INTSTATUS);
regs              503 drivers/memory/tegra/tegra20-emc.c 	emc->regs = devm_ioremap_resource(&pdev->dev, res);
regs              504 drivers/memory/tegra/tegra20-emc.c 	if (IS_ERR(emc->regs))
regs              505 drivers/memory/tegra/tegra20-emc.c 		return PTR_ERR(emc->regs);
regs              356 drivers/memstick/core/ms_block.c 			(unsigned char *)&msb->regs.param))
regs              378 drivers/memstick/core/ms_block.c 		msb->regs.status.interrupt = intreg;
regs              404 drivers/memstick/core/ms_block.c 		msb->regs.status = *(struct ms_status_register *)mrq->data;
regs              418 drivers/memstick/core/ms_block.c 		msb->regs.extra_data =
regs              425 drivers/memstick/core/ms_block.c 		if (msb->regs.param.cp == MEMSTICK_CP_EXTRA) {
regs              440 drivers/memstick/core/ms_block.c 		if (!(msb->regs.status.interrupt & MEMSTICK_INT_ERR)) {
regs              445 drivers/memstick/core/ms_block.c 		if (msb->regs.status.status1 & MEMSTICK_UNCORR_ERROR) {
regs              450 drivers/memstick/core/ms_block.c 		if (msb->regs.status.status1 & MEMSTICK_CORR_ERROR) {
regs              495 drivers/memstick/core/ms_block.c 			&msb->regs.param))
regs              505 drivers/memstick/core/ms_block.c 			&msb->regs.extra_data))
regs              525 drivers/memstick/core/ms_block.c 		msb->regs.status.interrupt = intreg;
regs              602 drivers/memstick/core/ms_block.c 			&msb->regs.param))
regs              616 drivers/memstick/core/ms_block.c 			&msb->regs.extra_data))
regs              685 drivers/memstick/core/ms_block.c 		msb->regs.param.system &= ~MEMSTICK_SYS_PAM;
regs              692 drivers/memstick/core/ms_block.c 		msb->regs.param.system |= MEMSTICK_SYS_PAM;
regs              697 drivers/memstick/core/ms_block.c 			(unsigned char *)&msb->regs.param))
regs              724 drivers/memstick/core/ms_block.c 	bool was_parallel = msb->regs.param.system & MEMSTICK_SYS_PAM;
regs              730 drivers/memstick/core/ms_block.c 	msb->regs.param.system = MEMSTICK_SYS_BAMD;
regs              776 drivers/memstick/core/ms_block.c 		msb->regs.param.system &= ~MEMSTICK_SYS_PAM;
regs              792 drivers/memstick/core/ms_block.c 	msb->regs.param.block_address = cpu_to_be16(pba);
regs              793 drivers/memstick/core/ms_block.c 	msb->regs.param.page_address = page;
regs              794 drivers/memstick/core/ms_block.c 	msb->regs.param.cp = MEMSTICK_CP_OVERWRITE;
regs              795 drivers/memstick/core/ms_block.c 	msb->regs.extra_data.overwrite_flag = flag;
regs              830 drivers/memstick/core/ms_block.c 		msb->regs.param.block_address = cpu_to_be16(pba);
regs              831 drivers/memstick/core/ms_block.c 		msb->regs.param.page_address = 0;
regs              832 drivers/memstick/core/ms_block.c 		msb->regs.param.cp = MEMSTICK_CP_BLOCK;
regs              903 drivers/memstick/core/ms_block.c 		msb->regs.param.block_address = cpu_to_be16(pba);
regs              904 drivers/memstick/core/ms_block.c 		msb->regs.param.page_address = page;
regs              905 drivers/memstick/core/ms_block.c 		msb->regs.param.cp = MEMSTICK_CP_PAGE;
regs              919 drivers/memstick/core/ms_block.c 			*extra = msb->regs.extra_data;
regs              931 drivers/memstick/core/ms_block.c 		if (msb->regs.extra_data.overwrite_flag &
regs              950 drivers/memstick/core/ms_block.c 	msb->regs.param.block_address = cpu_to_be16(pba);
regs              951 drivers/memstick/core/ms_block.c 	msb->regs.param.page_address = page;
regs              952 drivers/memstick/core/ms_block.c 	msb->regs.param.cp = MEMSTICK_CP_EXTRA;
regs              960 drivers/memstick/core/ms_block.c 	*extra = msb->regs.extra_data;
regs             1033 drivers/memstick/core/ms_block.c 		msb->regs.param.cp = MEMSTICK_CP_BLOCK;
regs             1034 drivers/memstick/core/ms_block.c 		msb->regs.param.page_address = 0;
regs             1035 drivers/memstick/core/ms_block.c 		msb->regs.param.block_address = cpu_to_be16(pba);
regs             1037 drivers/memstick/core/ms_block.c 		msb->regs.extra_data.management_flag = 0xFF;
regs             1038 drivers/memstick/core/ms_block.c 		msb->regs.extra_data.overwrite_flag = 0xF8;
regs             1039 drivers/memstick/core/ms_block.c 		msb->regs.extra_data.logical_address = cpu_to_be16(lba);
regs              205 drivers/memstick/core/ms_block.h 	struct ms_register		regs;
regs               21 drivers/mfd/atmel-hlcdc.c 	void __iomem *regs;
regs               43 drivers/mfd/atmel-hlcdc.c 		readl_poll_timeout_atomic(hregmap->regs + ATMEL_HLCDC_SR,
regs               48 drivers/mfd/atmel-hlcdc.c 	writel(val, hregmap->regs + reg);
regs               58 drivers/mfd/atmel-hlcdc.c 	*val = readl(hregmap->regs + reg);
regs               89 drivers/mfd/atmel-hlcdc.c 	hregmap->regs = devm_ioremap_resource(dev, res);
regs               90 drivers/mfd/atmel-hlcdc.c 	if (IS_ERR(hregmap->regs))
regs               91 drivers/mfd/atmel-hlcdc.c 		return PTR_ERR(hregmap->regs);
regs               35 drivers/mfd/fsl-imx25-tsadc.c 	regmap_read(tsadc->regs, MX25_TSC_TGSR, &status);
regs              118 drivers/mfd/fsl-imx25-tsadc.c 	regmap_update_bits(tsadc->regs, MX25_TSC_TGCR,
regs              140 drivers/mfd/fsl-imx25-tsadc.c 	tsadc->regs = devm_regmap_init_mmio(dev, iomem,
regs              142 drivers/mfd/fsl-imx25-tsadc.c 	if (IS_ERR(tsadc->regs)) {
regs              144 drivers/mfd/fsl-imx25-tsadc.c 		return PTR_ERR(tsadc->regs);
regs              157 drivers/mfd/fsl-imx25-tsadc.c 	regmap_update_bits(tsadc->regs, MX25_TSC_TGCR, MX25_TGCR_CLK_EN,
regs              159 drivers/mfd/fsl-imx25-tsadc.c 	regmap_update_bits(tsadc->regs, MX25_TSC_TGCR, MX25_TGCR_TSC_RST,
regs              163 drivers/mfd/fsl-imx25-tsadc.c 	regmap_update_bits(tsadc->regs, MX25_TSC_TGCR, MX25_TGCR_POWERMODE_MASK,
regs              165 drivers/mfd/fsl-imx25-tsadc.c 	regmap_update_bits(tsadc->regs, MX25_TSC_TGCR, MX25_TGCR_INTREFEN,
regs              828 drivers/mfd/menelaus.c static void menelaus_to_time(char *regs, struct rtc_time *t)
regs              830 drivers/mfd/menelaus.c 	t->tm_sec = bcd2bin(regs[0]);
regs              831 drivers/mfd/menelaus.c 	t->tm_min = bcd2bin(regs[1]);
regs              833 drivers/mfd/menelaus.c 		t->tm_hour = bcd2bin(regs[2] & 0x1f) - 1;
regs              834 drivers/mfd/menelaus.c 		if (regs[2] & RTC_HR_PM)
regs              837 drivers/mfd/menelaus.c 		t->tm_hour = bcd2bin(regs[2] & 0x3f);
regs              838 drivers/mfd/menelaus.c 	t->tm_mday = bcd2bin(regs[3]);
regs              839 drivers/mfd/menelaus.c 	t->tm_mon = bcd2bin(regs[4]) - 1;
regs              840 drivers/mfd/menelaus.c 	t->tm_year = bcd2bin(regs[5]) + 100;
regs              889 drivers/mfd/menelaus.c 	char		regs[7];
regs              893 drivers/mfd/menelaus.c 	regs[0] = MENELAUS_RTC_SEC;
regs              898 drivers/mfd/menelaus.c 	msg[0].buf = regs;
regs              902 drivers/mfd/menelaus.c 	msg[1].len = sizeof(regs);
regs              903 drivers/mfd/menelaus.c 	msg[1].buf = regs;
regs              911 drivers/mfd/menelaus.c 	menelaus_to_time(regs, t);
regs              912 drivers/mfd/menelaus.c 	t->tm_wday = bcd2bin(regs[6]);
regs              944 drivers/mfd/menelaus.c 	char		regs[6];
regs              948 drivers/mfd/menelaus.c 	regs[0] = MENELAUS_RTC_AL_SEC;
regs              953 drivers/mfd/menelaus.c 	msg[0].buf = regs;
regs              957 drivers/mfd/menelaus.c 	msg[1].len = sizeof(regs);
regs              958 drivers/mfd/menelaus.c 	msg[1].buf = regs;
regs              966 drivers/mfd/menelaus.c 	menelaus_to_time(regs, &w->time);
regs               53 drivers/mfd/sm501.c 	void __iomem		*regs;
regs               81 drivers/mfd/sm501.c 	void __iomem			*regs;
regs              135 drivers/mfd/sm501.c 	unsigned long misct = smc501_readl(sm->regs + SM501_MISC_TIMING);
regs              136 drivers/mfd/sm501.c 	unsigned long pm0 = smc501_readl(sm->regs + SM501_POWER_MODE_0_CLOCK);
regs              137 drivers/mfd/sm501.c 	unsigned long pm1 = smc501_readl(sm->regs + SM501_POWER_MODE_1_CLOCK);
regs              138 drivers/mfd/sm501.c 	unsigned long pmc = smc501_readl(sm->regs + SM501_POWER_MODE_CONTROL);
regs              192 drivers/mfd/sm501.c 	void __iomem *regs = sm->regs;
regs              195 drivers/mfd/sm501.c 			smc501_readl(regs + SM501_SYSTEM_CONTROL));
regs              197 drivers/mfd/sm501.c 			smc501_readl(regs + SM501_MISC_CONTROL));
regs              199 drivers/mfd/sm501.c 			smc501_readl(regs + SM501_GPIO31_0_CONTROL));
regs              201 drivers/mfd/sm501.c 			smc501_readl(regs + SM501_GPIO63_32_CONTROL));
regs              203 drivers/mfd/sm501.c 			smc501_readl(regs + SM501_DRAM_CONTROL));
regs              205 drivers/mfd/sm501.c 			smc501_readl(regs + SM501_ARBTRTN_CONTROL));
regs              207 drivers/mfd/sm501.c 			smc501_readl(regs + SM501_MISC_TIMING));
regs              213 drivers/mfd/sm501.c 			smc501_readl(sm->regs + SM501_CURRENT_GATE));
regs              215 drivers/mfd/sm501.c 			smc501_readl(sm->regs + SM501_CURRENT_CLOCK));
regs              217 drivers/mfd/sm501.c 			smc501_readl(sm->regs + SM501_POWER_MODE_CONTROL));
regs              233 drivers/mfd/sm501.c 	smc501_readl(sm->regs);
regs              263 drivers/mfd/sm501.c 	misc = smc501_readl(sm->regs + SM501_MISC_CONTROL);
regs              267 drivers/mfd/sm501.c 		smc501_writel(to, sm->regs + SM501_MISC_CONTROL);
regs              296 drivers/mfd/sm501.c 	data = smc501_readl(sm->regs + reg);
regs              300 drivers/mfd/sm501.c 	smc501_writel(data, sm->regs + reg);
regs              324 drivers/mfd/sm501.c 	mode = smc501_readl(sm->regs + SM501_POWER_MODE_CONTROL);
regs              325 drivers/mfd/sm501.c 	gate = smc501_readl(sm->regs + SM501_CURRENT_GATE);
regs              326 drivers/mfd/sm501.c 	clock = smc501_readl(sm->regs + SM501_CURRENT_CLOCK);
regs              358 drivers/mfd/sm501.c 		smc501_writel(gate, sm->regs + SM501_POWER_MODE_0_GATE);
regs              359 drivers/mfd/sm501.c 		smc501_writel(clock, sm->regs + SM501_POWER_MODE_0_CLOCK);
regs              364 drivers/mfd/sm501.c 		smc501_writel(gate, sm->regs + SM501_POWER_MODE_1_GATE);
regs              365 drivers/mfd/sm501.c 		smc501_writel(clock, sm->regs + SM501_POWER_MODE_1_CLOCK);
regs              374 drivers/mfd/sm501.c 	smc501_writel(mode, sm->regs + SM501_POWER_MODE_CONTROL);
regs              513 drivers/mfd/sm501.c 	unsigned long mode = smc501_readl(sm->regs + SM501_POWER_MODE_CONTROL);
regs              514 drivers/mfd/sm501.c 	unsigned long gate = smc501_readl(sm->regs + SM501_CURRENT_GATE);
regs              515 drivers/mfd/sm501.c 	unsigned long clock = smc501_readl(sm->regs + SM501_CURRENT_CLOCK);
regs              586 drivers/mfd/sm501.c 	mode = smc501_readl(sm->regs + SM501_POWER_MODE_CONTROL);
regs              587 drivers/mfd/sm501.c 	gate = smc501_readl(sm->regs + SM501_CURRENT_GATE);
regs              588 drivers/mfd/sm501.c 	clock = smc501_readl(sm->regs + SM501_CURRENT_CLOCK);
regs              597 drivers/mfd/sm501.c 		smc501_writel(gate, sm->regs + SM501_POWER_MODE_0_GATE);
regs              598 drivers/mfd/sm501.c 		smc501_writel(clock, sm->regs + SM501_POWER_MODE_0_CLOCK);
regs              603 drivers/mfd/sm501.c 		smc501_writel(gate, sm->regs + SM501_POWER_MODE_1_GATE);
regs              604 drivers/mfd/sm501.c 		smc501_writel(clock, sm->regs + SM501_POWER_MODE_1_CLOCK);
regs              613 drivers/mfd/sm501.c 	smc501_writel(mode, sm->regs + SM501_POWER_MODE_CONTROL);
regs              617 drivers/mfd/sm501.c 				sm->regs + SM501_PROGRAMMABLE_PLL_CONTROL);
regs              824 drivers/mfd/sm501.c 	uart_data->membase = sm->regs + offset;
regs              924 drivers/mfd/sm501.c 	void __iomem *regs = smchip->regbase;
regs              933 drivers/mfd/sm501.c 	val = smc501_readl(regs + SM501_GPIO_DATA_LOW) & ~bit;
regs              936 drivers/mfd/sm501.c 	smc501_writel(val, regs);
regs              948 drivers/mfd/sm501.c 	void __iomem *regs = smchip->regbase;
regs              958 drivers/mfd/sm501.c 	ddr = smc501_readl(regs + SM501_GPIO_DDR_LOW);
regs              959 drivers/mfd/sm501.c 	smc501_writel(ddr & ~bit, regs + SM501_GPIO_DDR_LOW);
regs              975 drivers/mfd/sm501.c 	void __iomem *regs = smchip->regbase;
regs              985 drivers/mfd/sm501.c 	val = smc501_readl(regs + SM501_GPIO_DATA_LOW);
regs              990 drivers/mfd/sm501.c 	smc501_writel(val, regs);
regs              992 drivers/mfd/sm501.c 	ddr = smc501_readl(regs + SM501_GPIO_DDR_LOW);
regs              993 drivers/mfd/sm501.c 	smc501_writel(ddr | bit, regs + SM501_GPIO_DDR_LOW);
regs              996 drivers/mfd/sm501.c 	smc501_writel(val, regs + SM501_GPIO_DATA_LOW);
regs             1025 drivers/mfd/sm501.c 		chip->regbase = gpio->regs + SM501_GPIO_DATA_HIGH;
regs             1026 drivers/mfd/sm501.c 		chip->control = sm->regs + SM501_GPIO63_32_CONTROL;
regs             1029 drivers/mfd/sm501.c 		chip->regbase = gpio->regs + SM501_GPIO_DATA_LOW;
regs             1030 drivers/mfd/sm501.c 		chip->control = sm->regs + SM501_GPIO31_0_CONTROL;
regs             1057 drivers/mfd/sm501.c 	gpio->regs = ioremap(iobase, 0x20);
regs             1058 drivers/mfd/sm501.c 	if (!gpio->regs) {
regs             1086 drivers/mfd/sm501.c 	iounmap(gpio->regs);
regs             1105 drivers/mfd/sm501.c 	iounmap(gpio->regs);
regs             1217 drivers/mfd/sm501.c 			      reg, smc501_readl(sm->regs + reg));
regs             1241 drivers/mfd/sm501.c 	tmp = smc501_readl(sm->regs + reg);
regs             1244 drivers/mfd/sm501.c 	smc501_writel(tmp, sm->regs + reg);
regs             1285 drivers/mfd/sm501.c 	unsigned long pwrmode = smc501_readl(sm->regs + SM501_CURRENT_CLOCK);
regs             1320 drivers/mfd/sm501.c 	devid = smc501_readl(sm->regs + SM501_DEVICEID);
regs             1328 drivers/mfd/sm501.c 	smc501_writel(0, sm->regs + SM501_IRQ_MASK);
regs             1330 drivers/mfd/sm501.c 	dramctrl = smc501_readl(sm->regs + SM501_DRAM_CONTROL);
regs             1334 drivers/mfd/sm501.c 		 sm->regs, devid, (unsigned long)mem_avail >> 20, sm->irq);
regs             1420 drivers/mfd/sm501.c 	sm->regs = ioremap(sm->io_res->start, resource_size(sm->io_res));
regs             1421 drivers/mfd/sm501.c 	if (!sm->regs) {
regs             1470 drivers/mfd/sm501.c 	sm->pm_misc = smc501_readl(sm->regs + SM501_MISC_CONTROL);
regs             1494 drivers/mfd/sm501.c 	if (smc501_readl(sm->regs + SM501_MISC_CONTROL) != sm->pm_misc) {
regs             1496 drivers/mfd/sm501.c 		smc501_writel(sm->pm_misc, sm->regs + SM501_MISC_CONTROL);
regs             1629 drivers/mfd/sm501.c 	sm->regs = pci_ioremap_bar(dev, 1);
regs             1630 drivers/mfd/sm501.c 	if (!sm->regs) {
regs             1674 drivers/mfd/sm501.c 	iounmap(sm->regs);
regs             1687 drivers/mfd/sm501.c 	iounmap(sm->regs);
regs               41 drivers/mfd/sta2x11-mfd.c 	void __iomem *regs[sta2x11_n_mfd_plat_devs];
regs               98 drivers/mfd/sta2x11-mfd.c 	void __iomem *regs;
regs              105 drivers/mfd/sta2x11-mfd.c 	regs = mfd->regs[index];
regs              106 drivers/mfd/sta2x11-mfd.c 	if (!regs) {
regs              111 drivers/mfd/sta2x11-mfd.c 	r = readl(regs + reg);
regs              115 drivers/mfd/sta2x11-mfd.c 		writel(r, regs + reg);
regs              123 drivers/mfd/sta2x11-mfd.c 			      void __iomem **regs,
regs              136 drivers/mfd/sta2x11-mfd.c 	*regs = mfd->regs[index];
regs              138 drivers/mfd/sta2x11-mfd.c 	pr_debug("%s %d *regs = %p\n", __func__, __LINE__, *regs);
regs              139 drivers/mfd/sta2x11-mfd.c 	return *regs ? 0 : -ENODEV;
regs              319 drivers/mfd/sta2x11-mfd.c 	mfd->regs[index] = ioremap(res->start, resource_size(res));
regs              320 drivers/mfd/sta2x11-mfd.c 	if (!mfd->regs[index]) {
regs              330 drivers/mfd/sta2x11-mfd.c 	mfd->regmap[index] = devm_regmap_init_mmio(&dev->dev, mfd->regs[index],
regs              269 drivers/mfd/stmpe.c 	u8 regaddr = stmpe->regs[STMPE_IDX_GPAFR_U_MSB];
regs              273 drivers/mfd/stmpe.c 	u8 regs[8];
regs              286 drivers/mfd/stmpe.c 	ret = __stmpe_block_read(stmpe, regaddr, numregs, regs);
regs              297 drivers/mfd/stmpe.c 		regs[regoffset] &= ~(mask << pos);
regs              298 drivers/mfd/stmpe.c 		regs[regoffset] |= af << pos;
regs              303 drivers/mfd/stmpe.c 	ret = __stmpe_block_write(stmpe, regaddr, numregs, regs);
regs              426 drivers/mfd/stmpe.c 	.regs		= stmpe801_regs,
regs              438 drivers/mfd/stmpe.c 	.regs		= stmpe801_regs,
regs              543 drivers/mfd/stmpe.c 	return __stmpe_set_bits(stmpe, stmpe->regs[STMPE_IDX_SYS_CTRL2], mask,
regs              588 drivers/mfd/stmpe.c 	.regs		= stmpe811_regs,
regs              603 drivers/mfd/stmpe.c 	.regs		= stmpe811_regs,
regs              659 drivers/mfd/stmpe.c 	.regs		= stmpe1600_regs,
regs              767 drivers/mfd/stmpe.c 	ret = __stmpe_set_bits(stmpe, stmpe->regs[STMPE_IDX_SYS_CTRL2],
regs              773 drivers/mfd/stmpe.c 	return __stmpe_set_bits(stmpe, stmpe->regs[STMPE_IDX_SYS_CTRL2],
regs              798 drivers/mfd/stmpe.c 	return __stmpe_set_bits(stmpe, stmpe->regs[STMPE_IDX_SYS_CTRL], mask,
regs              823 drivers/mfd/stmpe.c 	.regs		= stmpe1601_regs,
regs              907 drivers/mfd/stmpe.c 	ret = __stmpe_set_bits(stmpe, stmpe->regs[STMPE_IDX_SYS_CTRL],
regs              916 drivers/mfd/stmpe.c 		ret = __stmpe_reg_read(stmpe, stmpe->regs[STMPE_IDX_SYS_CTRL]);
regs              932 drivers/mfd/stmpe.c 	.regs		= stmpe1801_regs,
regs             1012 drivers/mfd/stmpe.c 	return __stmpe_set_bits(stmpe, stmpe->regs[STMPE_IDX_SYS_CTRL], mask,
regs             1038 drivers/mfd/stmpe.c 	.regs		= stmpe24xx_regs,
regs             1052 drivers/mfd/stmpe.c 	.regs		= stmpe24xx_regs,
regs             1101 drivers/mfd/stmpe.c 		israddr = stmpe->regs[STMPE_IDX_ISR_LSB];
regs             1103 drivers/mfd/stmpe.c 		israddr = stmpe->regs[STMPE_IDX_ISR_MSB];
regs             1156 drivers/mfd/stmpe.c 		stmpe_reg_write(stmpe, stmpe->regs[STMPE_IDX_IER_LSB + i], new);
regs             1244 drivers/mfd/stmpe.c 	ret = stmpe_block_read(stmpe, stmpe->regs[STMPE_IDX_CHIP_ID],
regs             1294 drivers/mfd/stmpe.c 	return stmpe_reg_write(stmpe, stmpe->regs[STMPE_IDX_ICR_LSB], icr);
regs             1417 drivers/mfd/stmpe.c 	stmpe->regs = stmpe->variant->regs;
regs               69 drivers/mfd/stmpe.h 	const u8 *regs;
regs              621 drivers/mfd/twl4030-power.c 	u8 regs[3] = { TWL4030_PM_MASTER_CFG_P1_TRANSITION,
regs              637 drivers/mfd/twl4030-power.c 	for (i = 0; i < sizeof(regs); i++) {
regs              639 drivers/mfd/twl4030-power.c 				      &val, regs[i]);
regs              644 drivers/mfd/twl4030-power.c 				       val, regs[i]);
regs               36 drivers/mfd/wm8350-core.c #define dump(regs, src) do { \
regs               40 drivers/mfd/wm8350-core.c 	for (i_ = 0; i_ < regs; i_++) \
regs              100 drivers/mfd/wm8350-core.c int wm8350_block_read(struct wm8350 *wm8350, int start_reg, int regs,
regs              105 drivers/mfd/wm8350-core.c 	err = regmap_bulk_read(wm8350->regmap, start_reg, dest, regs);
regs              114 drivers/mfd/wm8350-core.c int wm8350_block_write(struct wm8350 *wm8350, int start_reg, int regs,
regs              119 drivers/mfd/wm8350-core.c 	ret = regmap_bulk_write(wm8350->regmap, start_reg, src, regs);
regs              116 drivers/misc/apds990x.c 	struct regulator_bulk_data	regs[2];
regs              600 drivers/misc/apds990x.c 	int err	 = regulator_bulk_enable(ARRAY_SIZE(chip->regs),
regs              601 drivers/misc/apds990x.c 					chip->regs);
regs              618 drivers/misc/apds990x.c 	regulator_bulk_disable(ARRAY_SIZE(chip->regs), chip->regs);
regs             1115 drivers/misc/apds990x.c 	chip->regs[0].supply = reg_vcc;
regs             1116 drivers/misc/apds990x.c 	chip->regs[1].supply = reg_vled;
regs             1119 drivers/misc/apds990x.c 				 ARRAY_SIZE(chip->regs), chip->regs);
regs             1125 drivers/misc/apds990x.c 	err = regulator_bulk_enable(ARRAY_SIZE(chip->regs), chip->regs);
regs             1180 drivers/misc/apds990x.c 	regulator_bulk_disable(ARRAY_SIZE(chip->regs), chip->regs);
regs             1182 drivers/misc/apds990x.c 	regulator_bulk_free(ARRAY_SIZE(chip->regs), chip->regs);
regs             1205 drivers/misc/apds990x.c 	regulator_bulk_free(ARRAY_SIZE(chip->regs), chip->regs);
regs              192 drivers/misc/atmel-ssc.c 	struct resource *regs;
regs              215 drivers/misc/atmel-ssc.c 	regs = platform_get_resource(pdev, IORESOURCE_MEM, 0);
regs              216 drivers/misc/atmel-ssc.c 	ssc->regs = devm_ioremap_resource(&pdev->dev, regs);
regs              217 drivers/misc/atmel-ssc.c 	if (IS_ERR(ssc->regs))
regs              218 drivers/misc/atmel-ssc.c 		return PTR_ERR(ssc->regs);
regs              220 drivers/misc/atmel-ssc.c 	ssc->phybase = regs->start;
regs              230 drivers/misc/atmel-ssc.c 	ssc_writel(ssc->regs, IDR, -1);
regs              231 drivers/misc/atmel-ssc.c 	ssc_readl(ssc->regs, SR);
regs              247 drivers/misc/atmel-ssc.c 			ssc->regs, ssc->irq);
regs              137 drivers/misc/atmel_tclib.c 	tc->regs = devm_ioremap_resource(&pdev->dev, r);
regs              138 drivers/misc/atmel_tclib.c 	if (IS_ERR(tc->regs))
regs              139 drivers/misc/atmel_tclib.c 		return PTR_ERR(tc->regs);
regs              170 drivers/misc/atmel_tclib.c 		writel(ATMEL_TC_ALL_IRQ, tc->regs + ATMEL_TC_REG(i, IDR));
regs              187 drivers/misc/atmel_tclib.c 		writel(ATMEL_TC_ALL_IRQ, tc->regs + ATMEL_TC_REG(i, IDR));
regs              125 drivers/misc/bh1770glc.c 	struct regulator_bulk_data	regs[2];
regs              384 drivers/misc/bh1770glc.c 	int ret = regulator_bulk_enable(ARRAY_SIZE(chip->regs),
regs              385 drivers/misc/bh1770glc.c 					chip->regs);
regs              421 drivers/misc/bh1770glc.c 	regulator_bulk_disable(ARRAY_SIZE(chip->regs), chip->regs);
regs             1206 drivers/misc/bh1770glc.c 	chip->regs[0].supply = reg_vcc;
regs             1207 drivers/misc/bh1770glc.c 	chip->regs[1].supply = reg_vleds;
regs             1210 drivers/misc/bh1770glc.c 				      ARRAY_SIZE(chip->regs), chip->regs);
regs             1216 drivers/misc/bh1770glc.c 	err = regulator_bulk_enable(ARRAY_SIZE(chip->regs),
regs             1217 drivers/misc/bh1770glc.c 				chip->regs);
regs             1270 drivers/misc/bh1770glc.c 	regulator_bulk_disable(ARRAY_SIZE(chip->regs), chip->regs);
regs             1279 drivers/misc/bh1770glc.c 	regulator_bulk_disable(ARRAY_SIZE(chip->regs), chip->regs);
regs               84 drivers/misc/cb710/debug.c 	u##t regs[CB710_REG_COUNT/sizeof(u##t)];			\
regs               86 drivers/misc/cb710/debug.c 	memset(&regs, 0, sizeof(regs));					\
regs               87 drivers/misc/cb710/debug.c 	cb710_read_regs_##t(chip->iobase, regs, select);		\
regs               88 drivers/misc/cb710/debug.c 	cb710_dump_regs_##t(cb710_chip_dev(chip), regs, select);	\
regs              381 drivers/misc/genwqe/card_base.c 		cd->ffdc[type].regs =
regs              397 drivers/misc/genwqe/card_base.c 		kfree(cd->ffdc[type].regs);
regs              398 drivers/misc/genwqe/card_base.c 		cd->ffdc[type].regs = NULL;
regs              465 drivers/misc/genwqe/card_base.c 		genwqe_read_ffdc_regs(cd, cd->ffdc[GENWQE_DBG_REGS].regs,
regs              469 drivers/misc/genwqe/card_base.c 				      cd->ffdc[GENWQE_DBG_UNIT0].regs,
regs              473 drivers/misc/genwqe/card_base.c 				      cd->ffdc[GENWQE_DBG_UNIT1].regs,
regs              477 drivers/misc/genwqe/card_base.c 				      cd->ffdc[GENWQE_DBG_UNIT2].regs,
regs              245 drivers/misc/genwqe/card_base.h 	struct genwqe_reg *regs;
regs              471 drivers/misc/genwqe/card_base.h 			   struct genwqe_reg *regs, unsigned int max_regs);
regs              472 drivers/misc/genwqe/card_base.h int  genwqe_read_ffdc_regs(struct genwqe_dev *cd, struct genwqe_reg *regs,
regs              475 drivers/misc/genwqe/card_base.h 			  struct genwqe_reg *regs, unsigned int max_regs);
regs               28 drivers/misc/genwqe/card_debugfs.c static void dbg_uidn_show(struct seq_file *s, struct genwqe_reg *regs,
regs               35 drivers/misc/genwqe/card_debugfs.c 		v_hi = (regs[i].val >> 32) & 0xffffffff;
regs               36 drivers/misc/genwqe/card_debugfs.c 		v_lo = (regs[i].val)       & 0xffffffff;
regs               39 drivers/misc/genwqe/card_debugfs.c 			   regs[i].addr, regs[i].idx, v_hi, v_lo);
regs               47 drivers/misc/genwqe/card_debugfs.c 	struct genwqe_reg *regs;
regs               56 drivers/misc/genwqe/card_debugfs.c 	regs = kcalloc(entries, sizeof(*regs), GFP_KERNEL);
regs               57 drivers/misc/genwqe/card_debugfs.c 	if (regs == NULL)
regs               61 drivers/misc/genwqe/card_debugfs.c 	genwqe_ffdc_buff_read(cd, uid, regs, entries);
regs               64 drivers/misc/genwqe/card_debugfs.c 	dbg_uidn_show(s, regs, entries);
regs               65 drivers/misc/genwqe/card_debugfs.c 	kfree(regs);
regs               94 drivers/misc/genwqe/card_debugfs.c 	dbg_uidn_show(s, cd->ffdc[uid].regs,  cd->ffdc[uid].entries);
regs              123 drivers/misc/genwqe/card_debugfs.c 	struct genwqe_reg *regs;
regs              125 drivers/misc/genwqe/card_debugfs.c 	regs = kcalloc(GENWQE_FFDC_REGS, sizeof(*regs), GFP_KERNEL);
regs              126 drivers/misc/genwqe/card_debugfs.c 	if (regs == NULL)
regs              130 drivers/misc/genwqe/card_debugfs.c 	genwqe_read_ffdc_regs(cd, regs, GENWQE_FFDC_REGS, 1);
regs              134 drivers/misc/genwqe/card_debugfs.c 		if (regs[i].addr == 0xffffffff)
regs              137 drivers/misc/genwqe/card_debugfs.c 		if (regs[i].val == 0x0ull)
regs              141 drivers/misc/genwqe/card_debugfs.c 			   regs[i].addr, regs[i].val);
regs              152 drivers/misc/genwqe/card_debugfs.c 	struct genwqe_reg *regs = cd->ffdc[GENWQE_DBG_REGS].regs;
regs              154 drivers/misc/genwqe/card_debugfs.c 	if (regs == NULL)
regs              158 drivers/misc/genwqe/card_debugfs.c 		if (regs[i].addr == 0xffffffff)
regs              161 drivers/misc/genwqe/card_debugfs.c 		if (regs[i].val == 0x0ull)
regs              165 drivers/misc/genwqe/card_debugfs.c 			   regs[i].addr, regs[i].val);
regs              788 drivers/misc/genwqe/card_utils.c int genwqe_read_ffdc_regs(struct genwqe_dev *cd, struct genwqe_reg *regs,
regs              797 drivers/misc/genwqe/card_utils.c 	set_reg(cd, regs, &idx, max_regs, IO_SLC_CFGREG_GFIR, gfir);
regs              801 drivers/misc/genwqe/card_utils.c 	set_reg(cd, regs, &idx, max_regs, IO_SLU_UNITCFG, sluid);
regs              805 drivers/misc/genwqe/card_utils.c 	set_reg(cd, regs, &idx, max_regs, IO_APP_UNITCFG, appid);
regs              813 drivers/misc/genwqe/card_utils.c 		set_reg(cd, regs, &idx, max_regs, ufir_addr, ufir);
regs              818 drivers/misc/genwqe/card_utils.c 		set_reg(cd, regs, &idx, max_regs, ufec_addr, ufec);
regs              827 drivers/misc/genwqe/card_utils.c 			set_reg(cd, regs, &idx, max_regs, sfir_addr, sfir);
regs              831 drivers/misc/genwqe/card_utils.c 			set_reg(cd, regs, &idx, max_regs, sfec_addr, sfec);
regs              837 drivers/misc/genwqe/card_utils.c 		regs[i].addr = 0xffffffff;
regs              838 drivers/misc/genwqe/card_utils.c 		regs[i].val = 0xffffffffffffffffull;
regs              900 drivers/misc/genwqe/card_utils.c 			  struct genwqe_reg *regs, unsigned int max_regs)
regs              925 drivers/misc/genwqe/card_utils.c 					set_reg_idx(cd, regs, &idx, max_regs,
regs              932 drivers/misc/genwqe/card_utils.c 					set_reg_idx(cd, regs, &idx, max_regs,
regs              973 drivers/misc/genwqe/card_utils.c 				set_reg_idx(cd, regs, &idx, max_regs, addr,
regs               89 drivers/misc/ics932s401.c 	u8			regs[NUM_REGS];
regs              137 drivers/misc/ics932s401.c 			data->regs[regs_to_copy[i]] = 0;
regs              138 drivers/misc/ics932s401.c 		data->regs[regs_to_copy[i]] = temp >> 8;
regs              155 drivers/misc/ics932s401.c 	if (data->regs[ICS932S401_REG_CFG2] & ICS932S401_CFG1_SPREAD)
regs              182 drivers/misc/ics932s401.c 	m = data->regs[ICS932S401_REG_CPU_M_CTRL] & ICS932S401_M_MASK;
regs              183 drivers/misc/ics932s401.c 	n = data->regs[ICS932S401_REG_CPU_N_CTRL];
regs              186 drivers/misc/ics932s401.c 	n |= ((int)data->regs[ICS932S401_REG_CPU_M_CTRL] & 0x80) << 1;
regs              187 drivers/misc/ics932s401.c 	n |= ((int)data->regs[ICS932S401_REG_CPU_M_CTRL] & 0x40) << 3;
regs              190 drivers/misc/ics932s401.c 	freq /= divisors[data->regs[ICS932S401_REG_CPU_DIVISOR] >>
regs              212 drivers/misc/ics932s401.c 	if (data->regs[ICS932S401_REG_CTRL] & ICS932S401_MN_ENABLED)
regs              216 drivers/misc/ics932s401.c 		int fid = data->regs[ICS932S401_REG_CFG7] & ICS932S401_FS_MASK;
regs              219 drivers/misc/ics932s401.c 		if (data->regs[ICS932S401_REG_CTRL] & ICS932S401_CPU_ALT) {
regs              239 drivers/misc/ics932s401.c 	m = data->regs[ICS932S401_REG_SRC_M_CTRL] & ICS932S401_M_MASK;
regs              240 drivers/misc/ics932s401.c 	n = data->regs[ICS932S401_REG_SRC_N_CTRL];
regs              243 drivers/misc/ics932s401.c 	n |= ((int)data->regs[ICS932S401_REG_SRC_M_CTRL] & 0x80) << 1;
regs              244 drivers/misc/ics932s401.c 	n |= ((int)data->regs[ICS932S401_REG_SRC_M_CTRL] & 0x40) << 3;
regs              247 drivers/misc/ics932s401.c 	freq /= divisors[data->regs[ICS932S401_REG_PCISRC_DIVISOR] &
regs              269 drivers/misc/ics932s401.c 	if (data->regs[ICS932S401_REG_CTRL] & ICS932S401_MN_ENABLED)
regs              273 drivers/misc/ics932s401.c 		if (data->regs[ICS932S401_REG_CTRL] & ICS932S401_CPU_ALT &&
regs              274 drivers/misc/ics932s401.c 		    data->regs[ICS932S401_REG_CTRL] & ICS932S401_SRC_ALT)
regs              287 drivers/misc/ics932s401.c 	m = data->regs[ICS932S401_REG_SRC_M_CTRL] & ICS932S401_M_MASK;
regs              288 drivers/misc/ics932s401.c 	n = data->regs[ICS932S401_REG_SRC_N_CTRL];
regs              291 drivers/misc/ics932s401.c 	n |= ((int)data->regs[ICS932S401_REG_SRC_M_CTRL] & 0x80) << 1;
regs              292 drivers/misc/ics932s401.c 	n |= ((int)data->regs[ICS932S401_REG_SRC_M_CTRL] & 0x40) << 3;
regs              295 drivers/misc/ics932s401.c 	freq /= divisors[data->regs[ICS932S401_REG_PCISRC_DIVISOR] >>
regs              317 drivers/misc/ics932s401.c 	if (data->regs[ICS932S401_REG_CTRL] & ICS932S401_MN_ENABLED)
regs              384 drivers/misc/ics932s401.c 	if (!(data->regs[ICS932S401_REG_CFG2] & ICS932S401_CFG1_SPREAD))
regs              394 drivers/misc/ics932s401.c 	val = data->regs[reg] | (data->regs[reg + 1] << 8);
regs              372 drivers/misc/lis3lv02d/lis3lv02d.c 		lis3->read(lis3, lis3->regs[i], &lis3->reg_cache[i]);
regs              381 drivers/misc/lis3lv02d/lis3lv02d.c 			lis3->write(lis3, lis3->regs[i], lis3->reg_cache[i]);
regs             1122 drivers/misc/lis3lv02d/lis3lv02d.c 		lis3->regs = lis3_wai12_regs;
regs             1133 drivers/misc/lis3lv02d/lis3lv02d.c 		lis3->regs = lis3_wai8_regs;
regs              270 drivers/misc/lis3lv02d/lis3lv02d.h 	u8			*regs;	   /* Regs to store / restore */
regs               39 drivers/misc/lkdtm/core.c static int lkdtm_kprobe_handler(struct kprobe *kp, struct pt_regs *regs);
regs              261 drivers/misc/lkdtm/core.c static int lkdtm_kprobe_handler(struct kprobe *kp, struct pt_regs *regs)
regs             1203 drivers/misc/sgi-xp/xpc_main.c 		    !user_mode(die_args->regs))
regs              219 drivers/misc/xilinx_sdfec.c 	void __iomem *regs;
regs              238 drivers/misc/xilinx_sdfec.c 	iowrite32(value, xsdfec->regs + addr);
regs              245 drivers/misc/xilinx_sdfec.c 	rval = ioread32(xsdfec->regs + addr);
regs             1402 drivers/misc/xilinx_sdfec.c 	xsdfec->regs = devm_ioremap_resource(dev, res);
regs             1403 drivers/misc/xilinx_sdfec.c 	if (IS_ERR(xsdfec->regs)) {
regs             1404 drivers/misc/xilinx_sdfec.c 		err = PTR_ERR(xsdfec->regs);
regs              168 drivers/mmc/host/atmel-mci.c 	__raw_readl((port)->regs + reg)
regs              170 drivers/mmc/host/atmel-mci.c 	__raw_writel((value), (port)->regs + reg)
regs              305 drivers/mmc/host/atmel-mci.c 	void __iomem		*regs;
regs              513 drivers/mmc/host/atmel-mci.c 	memcpy_fromio(buf, host->regs, ATMCI_REGS_SIZE);
regs             2448 drivers/mmc/host/atmel-mci.c 	struct resource			*regs;
regs             2453 drivers/mmc/host/atmel-mci.c 	regs = platform_get_resource(pdev, IORESOURCE_MEM, 0);
regs             2454 drivers/mmc/host/atmel-mci.c 	if (!regs)
regs             2481 drivers/mmc/host/atmel-mci.c 	host->regs = devm_ioremap(&pdev->dev, regs->start, resource_size(regs));
regs             2482 drivers/mmc/host/atmel-mci.c 	if (!host->regs)
regs             2492 drivers/mmc/host/atmel-mci.c 	host->mapbase = regs->start;
regs               57 drivers/mmc/host/dw_mmc-pci.c 	host->regs = pcim_iomap_table(pdev)[PCI_BAR_NO];
regs               29 drivers/mmc/host/dw_mmc-pltfm.c 	struct resource	*regs;
regs               44 drivers/mmc/host/dw_mmc-pltfm.c 	regs = platform_get_resource(pdev, IORESOURCE_MEM, 0);
regs               45 drivers/mmc/host/dw_mmc-pltfm.c 	host->regs = devm_ioremap_resource(&pdev->dev, regs);
regs               46 drivers/mmc/host/dw_mmc-pltfm.c 	if (IS_ERR(host->regs))
regs               47 drivers/mmc/host/dw_mmc-pltfm.c 		return PTR_ERR(host->regs);
regs               50 drivers/mmc/host/dw_mmc-pltfm.c 	host->phy_regs = regs->start;
regs              196 drivers/mmc/host/dw_mmc.c 	if (readl_poll_timeout_atomic(host->regs + SDMMC_CTRL, ctrl,
regs              222 drivers/mmc/host/dw_mmc.c 		if (readl_poll_timeout_atomic(host->regs + SDMMC_STATUS,
regs              240 drivers/mmc/host/dw_mmc.c 	if (readl_poll_timeout_atomic(host->regs + SDMMC_CMD, cmd_status,
regs              781 drivers/mmc/host/dw_mmc.c 	u32 fifo_offset = host->fifo_reg - host->regs;
regs             1407 drivers/mmc/host/dw_mmc.c 	u32 regs;
regs             1422 drivers/mmc/host/dw_mmc.c 	regs = mci_readl(slot->host, UHS_REG);
regs             1428 drivers/mmc/host/dw_mmc.c 		regs |= ((0x1 << slot->id) << 16);
regs             1430 drivers/mmc/host/dw_mmc.c 		regs &= ~((0x1 << slot->id) << 16);
regs             1432 drivers/mmc/host/dw_mmc.c 	mci_writel(slot->host, UHS_REG, regs);
regs             1457 drivers/mmc/host/dw_mmc.c 		regs = mci_readl(slot->host, PWREN);
regs             1458 drivers/mmc/host/dw_mmc.c 		regs |= (1 << slot->id);
regs             1459 drivers/mmc/host/dw_mmc.c 		mci_writel(slot->host, PWREN, regs);
regs             1496 drivers/mmc/host/dw_mmc.c 		regs = mci_readl(slot->host, PWREN);
regs             1497 drivers/mmc/host/dw_mmc.c 		regs &= ~(1 << slot->id);
regs             1498 drivers/mmc/host/dw_mmc.c 		mci_writel(slot->host, PWREN, regs);
regs             1737 drivers/mmc/host/dw_mmc.c 		if (readl_poll_timeout_atomic(host->regs + SDMMC_STATUS,
regs             3314 drivers/mmc/host/dw_mmc.c 		host->fifo_reg = host->regs + host->data_addr_override;
regs             3316 drivers/mmc/host/dw_mmc.c 		host->fifo_reg = host->regs + DATA_OFFSET;
regs             3318 drivers/mmc/host/dw_mmc.c 		host->fifo_reg = host->regs + DATA_240A_OFFSET;
regs              158 drivers/mmc/host/dw_mmc.h 	void __iomem		*regs;
regs              462 drivers/mmc/host/dw_mmc.h 	readl_relaxed((dev)->regs + SDMMC_##reg)
regs              464 drivers/mmc/host/dw_mmc.h 	writel_relaxed((value), (dev)->regs + SDMMC_##reg)
regs              468 drivers/mmc/host/dw_mmc.h 	readw_relaxed((dev)->regs + SDMMC_##reg)
regs              470 drivers/mmc/host/dw_mmc.h 	writew_relaxed((value), (dev)->regs + SDMMC_##reg)
regs              475 drivers/mmc/host/dw_mmc.h 	readq_relaxed((dev)->regs + SDMMC_##reg)
regs              477 drivers/mmc/host/dw_mmc.h 	writeq_relaxed((value), (dev)->regs + SDMMC_##reg)
regs              488 drivers/mmc/host/dw_mmc.h 	(*(volatile u64 __force *)((dev)->regs + SDMMC_##reg))
regs              490 drivers/mmc/host/dw_mmc.h 	(*(volatile u64 __force *)((dev)->regs + SDMMC_##reg) = (value))
regs              154 drivers/mmc/host/meson-gx-mmc.c 	void __iomem *regs;
regs              319 drivers/mmc/host/meson-gx-mmc.c 		cfg = readl(host->regs + SD_EMMC_CFG);
regs              321 drivers/mmc/host/meson-gx-mmc.c 		writel(cfg, host->regs + SD_EMMC_CFG);
regs              333 drivers/mmc/host/meson-gx-mmc.c 	cfg = readl(host->regs + SD_EMMC_CFG);
regs              335 drivers/mmc/host/meson-gx-mmc.c 	writel(cfg, host->regs + SD_EMMC_CFG);
regs              359 drivers/mmc/host/meson-gx-mmc.c 	cfg = readl(host->regs + SD_EMMC_CFG);
regs              361 drivers/mmc/host/meson-gx-mmc.c 	writel(cfg, host->regs + SD_EMMC_CFG);
regs              370 drivers/mmc/host/meson-gx-mmc.c 	writel(cfg, host->regs + SD_EMMC_CFG);
regs              421 drivers/mmc/host/meson-gx-mmc.c 	writel(clk_reg, host->regs + SD_EMMC_CLOCK);
regs              451 drivers/mmc/host/meson-gx-mmc.c 	mux->reg = host->regs + SD_EMMC_CLOCK;
regs              473 drivers/mmc/host/meson-gx-mmc.c 	div->reg = host->regs + SD_EMMC_CLOCK;
regs              494 drivers/mmc/host/meson-gx-mmc.c 	unsigned int val = readl(host->regs + host->data->adjust);
regs              497 drivers/mmc/host/meson-gx-mmc.c 	writel(val, host->regs + host->data->adjust);
regs              506 drivers/mmc/host/meson-gx-mmc.c 	val = readl(host->regs + host->data->adjust);
regs              508 drivers/mmc/host/meson-gx-mmc.c 	writel(val, host->regs + host->data->adjust);
regs              521 drivers/mmc/host/meson-gx-mmc.c 	val = readl(host->regs + host->data->adjust);
regs              523 drivers/mmc/host/meson-gx-mmc.c 	writel(val, host->regs + host->data->adjust);
regs              533 drivers/mmc/host/meson-gx-mmc.c 		writel(val, host->regs + host->data->adjust);
regs              638 drivers/mmc/host/meson-gx-mmc.c 	val = readl(host->regs + SD_EMMC_CFG);
regs              641 drivers/mmc/host/meson-gx-mmc.c 	writel(val, host->regs + SD_EMMC_CFG);
regs              665 drivers/mmc/host/meson-gx-mmc.c 	cfg = readl(host->regs + SD_EMMC_CFG);
regs              682 drivers/mmc/host/meson-gx-mmc.c 	writel(cfg, host->regs + SD_EMMC_CFG);
regs              737 drivers/mmc/host/meson-gx-mmc.c 	writel(start, host->regs + SD_EMMC_START);
regs              796 drivers/mmc/host/meson-gx-mmc.c 	writel(cmd_cfg, host->regs + SD_EMMC_CMD_CFG);
regs              797 drivers/mmc/host/meson-gx-mmc.c 	writel(cmd_data, host->regs + SD_EMMC_CMD_DAT);
regs              798 drivers/mmc/host/meson-gx-mmc.c 	writel(0, host->regs + SD_EMMC_CMD_RSP);
regs              800 drivers/mmc/host/meson-gx-mmc.c 	writel(cmd->arg, host->regs + SD_EMMC_CMD_ARG);
regs              819 drivers/mmc/host/meson-gx-mmc.c 	writel(0, host->regs + SD_EMMC_START);
regs              832 drivers/mmc/host/meson-gx-mmc.c 		cmd->resp[0] = readl(host->regs + SD_EMMC_CMD_RSP3);
regs              833 drivers/mmc/host/meson-gx-mmc.c 		cmd->resp[1] = readl(host->regs + SD_EMMC_CMD_RSP2);
regs              834 drivers/mmc/host/meson-gx-mmc.c 		cmd->resp[2] = readl(host->regs + SD_EMMC_CMD_RSP1);
regs              835 drivers/mmc/host/meson-gx-mmc.c 		cmd->resp[3] = readl(host->regs + SD_EMMC_CMD_RSP);
regs              837 drivers/mmc/host/meson-gx-mmc.c 		cmd->resp[0] = readl(host->regs + SD_EMMC_CMD_RSP);
regs              849 drivers/mmc/host/meson-gx-mmc.c 	irq_en = readl(host->regs + SD_EMMC_IRQ_EN);
regs              850 drivers/mmc/host/meson-gx-mmc.c 	raw_status = readl(host->regs + SD_EMMC_STATUS);
regs              864 drivers/mmc/host/meson-gx-mmc.c 	writel(status, host->regs + SD_EMMC_STATUS);
regs              903 drivers/mmc/host/meson-gx-mmc.c 		u32 start = readl(host->regs + SD_EMMC_START);
regs              906 drivers/mmc/host/meson-gx-mmc.c 		writel(start, host->regs + SD_EMMC_START);
regs              927 drivers/mmc/host/meson-gx-mmc.c 	return readl_poll_timeout(host->regs + SD_EMMC_STATUS, status,
regs              992 drivers/mmc/host/meson-gx-mmc.c 	writel(cfg, host->regs + SD_EMMC_CFG);
regs             1000 drivers/mmc/host/meson-gx-mmc.c 	regval = readl(host->regs + SD_EMMC_STATUS);
regs             1086 drivers/mmc/host/meson-gx-mmc.c 	host->regs = devm_ioremap_resource(&pdev->dev, res);
regs             1087 drivers/mmc/host/meson-gx-mmc.c 	if (IS_ERR(host->regs)) {
regs             1088 drivers/mmc/host/meson-gx-mmc.c 		ret = PTR_ERR(host->regs);
regs             1137 drivers/mmc/host/meson-gx-mmc.c 	writel(0, host->regs + SD_EMMC_START);
regs             1140 drivers/mmc/host/meson-gx-mmc.c 	writel(0, host->regs + SD_EMMC_IRQ_EN);
regs             1142 drivers/mmc/host/meson-gx-mmc.c 	       host->regs + SD_EMMC_STATUS);
regs             1144 drivers/mmc/host/meson-gx-mmc.c 	       host->regs + SD_EMMC_IRQ_EN);
regs             1180 drivers/mmc/host/meson-gx-mmc.c 		host->bounce_buf = host->regs + SD_EMMC_SRAM_DATA_BUF_OFF;
regs             1230 drivers/mmc/host/meson-gx-mmc.c 	writel(0, host->regs + SD_EMMC_IRQ_EN);
regs               28 drivers/mmc/host/sdhci-of-aspeed.c 	void __iomem *regs;
regs               44 drivers/mmc/host/sdhci-of-aspeed.c 	info = readl(sdc->regs + ASPEED_SDC_INFO);
regs               49 drivers/mmc/host/sdhci-of-aspeed.c 	writel(info, sdc->regs + ASPEED_SDC_INFO);
regs              261 drivers/mmc/host/sdhci-of-aspeed.c 	sdc->regs = devm_ioremap_resource(&pdev->dev, sdc->res);
regs              262 drivers/mmc/host/sdhci-of-aspeed.c 	if (IS_ERR(sdc->regs)) {
regs              263 drivers/mmc/host/sdhci-of-aspeed.c 		ret = PTR_ERR(sdc->regs);
regs               76 drivers/mmc/host/sdhci-pxav3.c 	void __iomem *regs;
regs               90 drivers/mmc/host/sdhci-pxav3.c 	regs = ioremap(res->start, resource_size(res));
regs               91 drivers/mmc/host/sdhci-pxav3.c 	if (!regs) {
regs               97 drivers/mmc/host/sdhci-pxav3.c 		writel(0, regs + SDHCI_WINDOW_CTRL(i));
regs               98 drivers/mmc/host/sdhci-pxav3.c 		writel(0, regs + SDHCI_WINDOW_BASE(i));
regs              108 drivers/mmc/host/sdhci-pxav3.c 			regs + SDHCI_WINDOW_CTRL(i));
regs              110 drivers/mmc/host/sdhci-pxav3.c 		writel(cs->base, regs + SDHCI_WINDOW_BASE(i));
regs              113 drivers/mmc/host/sdhci-pxav3.c 	iounmap(regs);
regs              547 drivers/mmc/host/vub300.c 	u8 regs = vub300->dynamic_register_count;
regs              549 drivers/mmc/host/vub300.c 	while (0 < regs-- && 1 == vub300->sdio_register[i].activate) {
regs             1855 drivers/mmc/host/vub300.c 	u8 regs = vub300->dynamic_register_count;
regs             1859 drivers/mmc/host/vub300.c 	while (0 < regs--) {
regs              155 drivers/mtd/nand/raw/atmel/pmecc.c 	} regs;
regs              437 drivers/mtd/nand/raw/atmel/pmecc.c 		value = readl_relaxed(user->pmecc->regs.base +
regs              652 drivers/mtd/nand/raw/atmel/pmecc.c 	writel(PMERRLOC_DISABLE, pmecc->regs.errloc + ATMEL_PMERRLOC_ELDIS);
regs              656 drivers/mtd/nand/raw/atmel/pmecc.c 			       pmecc->regs.errloc + ATMEL_PMERRLOC_SIGMA(i));
regs              664 drivers/mtd/nand/raw/atmel/pmecc.c 	writel(val, pmecc->regs.errloc + ATMEL_PMERRLOC_ELCFG);
regs              666 drivers/mtd/nand/raw/atmel/pmecc.c 	       pmecc->regs.errloc + ATMEL_PMERRLOC_ELEN);
regs              668 drivers/mtd/nand/raw/atmel/pmecc.c 	ret = readl_relaxed_poll_timeout(pmecc->regs.errloc +
regs              715 drivers/mtd/nand/raw/atmel/pmecc.c 		errpos = readl_relaxed(pmecc->regs.errloc +
regs              760 drivers/mtd/nand/raw/atmel/pmecc.c 		ptr[i] = readb_relaxed(pmecc->regs.base +
regs              767 drivers/mtd/nand/raw/atmel/pmecc.c 	writel(PMECC_CTRL_RST, pmecc->regs.base + ATMEL_PMECC_CTRL);
regs              768 drivers/mtd/nand/raw/atmel/pmecc.c 	writel(PMECC_CTRL_DISABLE, pmecc->regs.base + ATMEL_PMECC_CTRL);
regs              790 drivers/mtd/nand/raw/atmel/pmecc.c 	writel(cfg, pmecc->regs.base + ATMEL_PMECC_CFG);
regs              791 drivers/mtd/nand/raw/atmel/pmecc.c 	writel(user->cache.sarea, pmecc->regs.base + ATMEL_PMECC_SAREA);
regs              792 drivers/mtd/nand/raw/atmel/pmecc.c 	writel(user->cache.saddr, pmecc->regs.base + ATMEL_PMECC_SADDR);
regs              793 drivers/mtd/nand/raw/atmel/pmecc.c 	writel(user->cache.eaddr, pmecc->regs.base + ATMEL_PMECC_EADDR);
regs              795 drivers/mtd/nand/raw/atmel/pmecc.c 	writel(PMECC_CTRL_ENABLE, pmecc->regs.base + ATMEL_PMECC_CTRL);
regs              796 drivers/mtd/nand/raw/atmel/pmecc.c 	writel(PMECC_CTRL_DATA, pmecc->regs.base + ATMEL_PMECC_CTRL);
regs              815 drivers/mtd/nand/raw/atmel/pmecc.c 	ret = readl_relaxed_poll_timeout(pmecc->regs.base +
regs              825 drivers/mtd/nand/raw/atmel/pmecc.c 	user->isr = readl_relaxed(pmecc->regs.base + ATMEL_PMECC_ISR);
regs              848 drivers/mtd/nand/raw/atmel/pmecc.c 	pmecc->regs.base = devm_ioremap_resource(dev, res);
regs              849 drivers/mtd/nand/raw/atmel/pmecc.c 	if (IS_ERR(pmecc->regs.base))
regs              850 drivers/mtd/nand/raw/atmel/pmecc.c 		return ERR_CAST(pmecc->regs.base);
regs              853 drivers/mtd/nand/raw/atmel/pmecc.c 	pmecc->regs.errloc = devm_ioremap_resource(dev, res);
regs              854 drivers/mtd/nand/raw/atmel/pmecc.c 	if (IS_ERR(pmecc->regs.errloc))
regs              855 drivers/mtd/nand/raw/atmel/pmecc.c 		return ERR_CAST(pmecc->regs.errloc);
regs              858 drivers/mtd/nand/raw/atmel/pmecc.c 	writel(0xffffffff, pmecc->regs.base + ATMEL_PMECC_IDR);
regs              157 drivers/mtd/nand/raw/fsl_elbc_nand.c 	struct fsl_lbc_regs __iomem *lbc = ctrl->regs;
regs              209 drivers/mtd/nand/raw/fsl_elbc_nand.c 	struct fsl_lbc_regs __iomem *lbc = ctrl->regs;
regs              280 drivers/mtd/nand/raw/fsl_elbc_nand.c 	struct fsl_lbc_regs __iomem *lbc = ctrl->regs;
regs              314 drivers/mtd/nand/raw/fsl_elbc_nand.c 	struct fsl_lbc_regs __iomem *lbc = ctrl->regs;
regs              684 drivers/mtd/nand/raw/fsl_elbc_nand.c 	struct fsl_lbc_regs __iomem *lbc = ctrl->regs;
regs              728 drivers/mtd/nand/raw/fsl_elbc_nand.c 	struct fsl_lbc_regs __iomem *lbc = ctrl->regs;
regs              861 drivers/mtd/nand/raw/fsl_elbc_nand.c 	if (!fsl_lbc_ctrl_dev || !fsl_lbc_ctrl_dev->regs)
regs              863 drivers/mtd/nand/raw/fsl_elbc_nand.c 	lbc = fsl_lbc_ctrl_dev->regs;
regs              393 drivers/mtd/nand/raw/marvell_nand.c 	void __iomem *regs;
regs              504 drivers/mtd/nand/raw/marvell_nand.c 	reg = readl_relaxed(nfc->regs + NDCR);
regs              505 drivers/mtd/nand/raw/marvell_nand.c 	writel_relaxed(reg | int_mask, nfc->regs + NDCR);
regs              513 drivers/mtd/nand/raw/marvell_nand.c 	reg = readl_relaxed(nfc->regs + NDCR);
regs              514 drivers/mtd/nand/raw/marvell_nand.c 	writel_relaxed(reg & ~int_mask, nfc->regs + NDCR);
regs              521 drivers/mtd/nand/raw/marvell_nand.c 	reg = readl_relaxed(nfc->regs + NDSR);
regs              522 drivers/mtd/nand/raw/marvell_nand.c 	writel_relaxed(int_mask, nfc->regs + NDSR);
regs              542 drivers/mtd/nand/raw/marvell_nand.c 	ndcr = readl_relaxed(nfc->regs + NDCR);
regs              549 drivers/mtd/nand/raw/marvell_nand.c 	writel_relaxed(ndcr, nfc->regs + NDCR);
regs              562 drivers/mtd/nand/raw/marvell_nand.c 	ret = readl_relaxed_poll_timeout(nfc->regs + NDCR, val,
regs              567 drivers/mtd/nand/raw/marvell_nand.c 		writel_relaxed(readl(nfc->regs + NDCR) & ~NDCR_ND_RUN,
regs              568 drivers/mtd/nand/raw/marvell_nand.c 			       nfc->regs + NDCR);
regs              603 drivers/mtd/nand/raw/marvell_nand.c 	ndcr = readl_relaxed(nfc->regs + NDCR);
regs              604 drivers/mtd/nand/raw/marvell_nand.c 	writel_relaxed(readl(nfc->regs + NDSR), nfc->regs + NDSR);
regs              607 drivers/mtd/nand/raw/marvell_nand.c 	writel_relaxed(ndcr | NDCR_ND_RUN, nfc->regs + NDCR);
regs              608 drivers/mtd/nand/raw/marvell_nand.c 	ret = readl_relaxed_poll_timeout(nfc->regs + NDSR, val,
regs              617 drivers/mtd/nand/raw/marvell_nand.c 	writel_relaxed(NDSR_WRCMDREQ, nfc->regs + NDSR);
regs              630 drivers/mtd/nand/raw/marvell_nand.c 		(u32)readl_relaxed(nfc->regs + NDCR), nfc_op->ndcb[0],
regs              634 drivers/mtd/nand/raw/marvell_nand.c 		       nfc->regs + NDCB0);
regs              635 drivers/mtd/nand/raw/marvell_nand.c 	writel_relaxed(nfc_op->ndcb[1], nfc->regs + NDCB0);
regs              636 drivers/mtd/nand/raw/marvell_nand.c 	writel(nfc_op->ndcb[2], nfc->regs + NDCB0);
regs              645 drivers/mtd/nand/raw/marvell_nand.c 			writel(nfc_op->ndcb[3], nfc->regs + NDCB0);
regs              656 drivers/mtd/nand/raw/marvell_nand.c 	ret = readl_relaxed_poll_timeout(nfc->regs + NDSR, val,
regs              672 drivers/mtd/nand/raw/marvell_nand.c 	if (nfc->use_dma && (readl_relaxed(nfc->regs + NDCR) & NDCR_DMA_EN))
regs              675 drivers/mtd/nand/raw/marvell_nand.c 	writel_relaxed(flag, nfc->regs + NDSR);
regs              729 drivers/mtd/nand/raw/marvell_nand.c 	ndcr_generic = readl_relaxed(nfc->regs + NDCR) &
regs              731 drivers/mtd/nand/raw/marvell_nand.c 	writel_relaxed(ndcr_generic | marvell_nand->ndcr, nfc->regs + NDCR);
regs              739 drivers/mtd/nand/raw/marvell_nand.c 	writel_relaxed(marvell_nand->ndtr0, nfc->regs + NDTR0);
regs              740 drivers/mtd/nand/raw/marvell_nand.c 	writel_relaxed(marvell_nand->ndtr1, nfc->regs + NDTR1);
regs              749 drivers/mtd/nand/raw/marvell_nand.c 	u32 st = readl_relaxed(nfc->regs + NDSR);
regs              750 drivers/mtd/nand/raw/marvell_nand.c 	u32 ien = (~readl_relaxed(nfc->regs + NDCR)) & NDCR_ALL_INT;
regs              774 drivers/mtd/nand/raw/marvell_nand.c 	u32 ndcr = readl_relaxed(nfc->regs + NDCR);
regs              777 drivers/mtd/nand/raw/marvell_nand.c 		writel_relaxed(ndcr | NDCR_ECC_EN, nfc->regs + NDCR);
regs              784 drivers/mtd/nand/raw/marvell_nand.c 			writel_relaxed(NDECCCTRL_BCH_EN, nfc->regs + NDECCCTRL);
regs              791 drivers/mtd/nand/raw/marvell_nand.c 	u32 ndcr = readl_relaxed(nfc->regs + NDCR);
regs              794 drivers/mtd/nand/raw/marvell_nand.c 		writel_relaxed(ndcr & ~NDCR_ECC_EN, nfc->regs + NDCR);
regs              796 drivers/mtd/nand/raw/marvell_nand.c 			writel_relaxed(0, nfc->regs + NDECCCTRL);
regs              805 drivers/mtd/nand/raw/marvell_nand.c 	reg = readl_relaxed(nfc->regs + NDCR);
regs              806 drivers/mtd/nand/raw/marvell_nand.c 	writel_relaxed(reg | NDCR_DMA_EN, nfc->regs + NDCR);
regs              813 drivers/mtd/nand/raw/marvell_nand.c 	reg = readl_relaxed(nfc->regs + NDCR);
regs              814 drivers/mtd/nand/raw/marvell_nand.c 	writel_relaxed(reg & ~NDCR_DMA_EN, nfc->regs + NDCR);
regs              869 drivers/mtd/nand/raw/marvell_nand.c 		ioread32_rep(nfc->regs + NDDB, in + i, FIFO_REP(FIFO_DEPTH));
regs              874 drivers/mtd/nand/raw/marvell_nand.c 		ioread32_rep(nfc->regs + NDDB, tmp_buf, FIFO_REP(FIFO_DEPTH));
regs              889 drivers/mtd/nand/raw/marvell_nand.c 		iowrite32_rep(nfc->regs + NDDB, out + i, FIFO_REP(FIFO_DEPTH));
regs              895 drivers/mtd/nand/raw/marvell_nand.c 		iowrite32_rep(nfc->regs + NDDB, tmp_buf, FIFO_REP(FIFO_DEPTH));
regs              949 drivers/mtd/nand/raw/marvell_nand.c 	ndsr = readl_relaxed(nfc->regs + NDSR);
regs              953 drivers/mtd/nand/raw/marvell_nand.c 		writel_relaxed(ndsr, nfc->regs + NDSR);
regs              967 drivers/mtd/nand/raw/marvell_nand.c 		writel_relaxed(ndsr, nfc->regs + NDSR);
regs             1556 drivers/mtd/nand/raw/marvell_nand.c 	iowrite32_rep(nfc->regs + NDDB, data, FIFO_REP(data_len));
regs             1557 drivers/mtd/nand/raw/marvell_nand.c 	iowrite32_rep(nfc->regs + NDDB, spare, FIFO_REP(spare_len));
regs             1813 drivers/mtd/nand/raw/marvell_nand.c 		writel_relaxed(readl(nfc->regs + NDCR) & ~NDCR_ND_RUN,
regs             1814 drivers/mtd/nand/raw/marvell_nand.c 			       nfc->regs + NDCR);
regs             1885 drivers/mtd/nand/raw/marvell_nand.c 		writel_relaxed(readl(nfc->regs + NDCR) & ~NDCR_ND_RUN,
regs             1886 drivers/mtd/nand/raw/marvell_nand.c 			       nfc->regs + NDCR);
regs             2649 drivers/mtd/nand/raw/marvell_nand.c 	marvell_nand->ndtr0 = readl_relaxed(nfc->regs + NDTR0);
regs             2650 drivers/mtd/nand/raw/marvell_nand.c 	marvell_nand->ndtr1 = readl_relaxed(nfc->regs + NDTR1);
regs             2794 drivers/mtd/nand/raw/marvell_nand.c 		       NDCR_RD_ID_CNT(NFCV1_READID_LEN), nfc->regs + NDCR);
regs             2795 drivers/mtd/nand/raw/marvell_nand.c 	writel_relaxed(0xFFFFFFFF, nfc->regs + NDSR);
regs             2796 drivers/mtd/nand/raw/marvell_nand.c 	writel_relaxed(0, nfc->regs + NDECCCTRL);
regs             2860 drivers/mtd/nand/raw/marvell_nand.c 	nfc->regs = devm_ioremap_resource(dev, r);
regs             2861 drivers/mtd/nand/raw/marvell_nand.c 	if (IS_ERR(nfc->regs))
regs             2862 drivers/mtd/nand/raw/marvell_nand.c 		return PTR_ERR(nfc->regs);
regs              109 drivers/mtd/nand/raw/mpc5121_nfc.c 	void __iomem		*regs;
regs              126 drivers/mtd/nand/raw/mpc5121_nfc.c 	return in_be16(prv->regs + reg);
regs              135 drivers/mtd/nand/raw/mpc5121_nfc.c 	out_be16(prv->regs + reg, val);
regs              432 drivers/mtd/nand/raw/mpc5121_nfc.c 			memcpy_toio(prv->regs + NFC_SPARE_AREA(s) + o,
regs              436 drivers/mtd/nand/raw/mpc5121_nfc.c 				prv->regs + NFC_SPARE_AREA(s) + o, blksize);
regs              472 drivers/mtd/nand/raw/mpc5121_nfc.c 		memcpy_toio(prv->regs + NFC_MAIN_AREA(0) + c, buf, l);
regs              474 drivers/mtd/nand/raw/mpc5121_nfc.c 		memcpy_fromio(buf, prv->regs + NFC_MAIN_AREA(0) + c, l);
regs              675 drivers/mtd/nand/raw/mpc5121_nfc.c 	prv->regs = devm_ioremap(dev, regs_paddr, regs_size);
regs              676 drivers/mtd/nand/raw/mpc5121_nfc.c 	if (!prv->regs) {
regs               57 drivers/mtd/nand/raw/mtk_ecc.c 	void __iomem *regs;
regs              125 drivers/mtd/nand/raw/mtk_ecc.c 	ret = readl_poll_timeout_atomic(ecc->regs + ECC_IDLE_REG(op), val,
regs              138 drivers/mtd/nand/raw/mtk_ecc.c 	dec = readw(ecc->regs + ecc->caps->ecc_regs[ECC_DECIRQ_STA])
regs              141 drivers/mtd/nand/raw/mtk_ecc.c 		dec = readw(ecc->regs + ecc->caps->ecc_regs[ECC_DECDONE]);
regs              147 drivers/mtd/nand/raw/mtk_ecc.c 			readw(ecc->regs + ecc->caps->ecc_regs[ECC_DECIRQ_STA]);
regs              154 drivers/mtd/nand/raw/mtk_ecc.c 		enc = readl(ecc->regs + ecc->caps->ecc_regs[ECC_ENCIRQ_STA])
regs              189 drivers/mtd/nand/raw/mtk_ecc.c 		writel(reg, ecc->regs + ECC_ENCCNFG);
regs              193 drivers/mtd/nand/raw/mtk_ecc.c 			       ecc->regs + ECC_ENCDIADDR);
regs              203 drivers/mtd/nand/raw/mtk_ecc.c 		writel(reg, ecc->regs + ECC_DECCNFG);
regs              223 drivers/mtd/nand/raw/mtk_ecc.c 		err = readl(ecc->regs + ECC_DECENUM0 + offset);
regs              250 drivers/mtd/nand/raw/mtk_ecc.c 	writew(ECC_OP_DISABLE, ecc->regs + ECC_ENCCON);
regs              253 drivers/mtd/nand/raw/mtk_ecc.c 	writel(ECC_OP_DISABLE, ecc->regs + ECC_DECCON);
regs              323 drivers/mtd/nand/raw/mtk_ecc.c 			writew(reg_val, ecc->regs +
regs              326 drivers/mtd/nand/raw/mtk_ecc.c 			writew(reg_val, ecc->regs +
regs              330 drivers/mtd/nand/raw/mtk_ecc.c 	writew(ECC_OP_ENABLE, ecc->regs + ECC_CTL_REG(op));
regs              341 drivers/mtd/nand/raw/mtk_ecc.c 	if (readw(ecc->regs + ECC_CTL_REG(op)) != ECC_OP_ENABLE)
regs              351 drivers/mtd/nand/raw/mtk_ecc.c 		readw(ecc->regs + ecc->caps->ecc_regs[ECC_DECDONE]);
regs              352 drivers/mtd/nand/raw/mtk_ecc.c 		writew(0, ecc->regs + ecc->caps->ecc_regs[ECC_DECIRQ_EN]);
regs              354 drivers/mtd/nand/raw/mtk_ecc.c 		writew(0, ecc->regs + ecc->caps->ecc_regs[ECC_ENCIRQ_EN]);
regs              357 drivers/mtd/nand/raw/mtk_ecc.c 	writew(ECC_OP_DISABLE, ecc->regs + ECC_CTL_REG(op));
regs              411 drivers/mtd/nand/raw/mtk_ecc.c 			ecc->regs + ecc->caps->ecc_regs[ECC_ENCPAR00],
regs              517 drivers/mtd/nand/raw/mtk_ecc.c 	ecc->regs = devm_ioremap_resource(dev, res);
regs              518 drivers/mtd/nand/raw/mtk_ecc.c 	if (IS_ERR(ecc->regs)) {
regs              519 drivers/mtd/nand/raw/mtk_ecc.c 		dev_err(dev, "failed to map regs: %ld\n", PTR_ERR(ecc->regs));
regs              520 drivers/mtd/nand/raw/mtk_ecc.c 		return PTR_ERR(ecc->regs);
regs              151 drivers/mtd/nand/raw/mtk_nand.c 	void __iomem *regs;
regs              231 drivers/mtd/nand/raw/mtk_nand.c 	writel(val, nfc->regs + reg);
regs              236 drivers/mtd/nand/raw/mtk_nand.c 	writew(val, nfc->regs + reg);
regs              241 drivers/mtd/nand/raw/mtk_nand.c 	writeb(val, nfc->regs + reg);
regs              246 drivers/mtd/nand/raw/mtk_nand.c 	return readl_relaxed(nfc->regs + reg);
regs              251 drivers/mtd/nand/raw/mtk_nand.c 	return readw_relaxed(nfc->regs + reg);
regs              256 drivers/mtd/nand/raw/mtk_nand.c 	return readb_relaxed(nfc->regs + reg);
regs              269 drivers/mtd/nand/raw/mtk_nand.c 	ret = readl_poll_timeout(nfc->regs + NFI_MASTER_STA, val,
regs              289 drivers/mtd/nand/raw/mtk_nand.c 	ret = readl_poll_timeout_atomic(nfc->regs + NFI_STA, val,
regs              309 drivers/mtd/nand/raw/mtk_nand.c 	ret = readl_poll_timeout_atomic(nfc->regs + NFI_STA, val,
regs              433 drivers/mtd/nand/raw/mtk_nand.c 	rc = readb_poll_timeout_atomic(nfc->regs + NFI_PIO_DIRDY, val,
regs              782 drivers/mtd/nand/raw/mtk_nand.c 	ret = readl_poll_timeout_atomic(nfc->regs + NFI_ADDRCNTR, reg,
regs              979 drivers/mtd/nand/raw/mtk_nand.c 	rc = readl_poll_timeout_atomic(nfc->regs + NFI_BYTELEN, reg,
regs             1517 drivers/mtd/nand/raw/mtk_nand.c 	nfc->regs = devm_ioremap_resource(dev, res);
regs             1518 drivers/mtd/nand/raw/mtk_nand.c 	if (IS_ERR(nfc->regs)) {
regs             1519 drivers/mtd/nand/raw/mtk_nand.c 		ret = PTR_ERR(nfc->regs);
regs               29 drivers/mtd/nand/raw/mxc_nand.c #define NFC_V1_V2_BUF_SIZE		(host->regs + 0x00)
regs               30 drivers/mtd/nand/raw/mxc_nand.c #define NFC_V1_V2_BUF_ADDR		(host->regs + 0x04)
regs               31 drivers/mtd/nand/raw/mxc_nand.c #define NFC_V1_V2_FLASH_ADDR		(host->regs + 0x06)
regs               32 drivers/mtd/nand/raw/mxc_nand.c #define NFC_V1_V2_FLASH_CMD		(host->regs + 0x08)
regs               33 drivers/mtd/nand/raw/mxc_nand.c #define NFC_V1_V2_CONFIG		(host->regs + 0x0a)
regs               34 drivers/mtd/nand/raw/mxc_nand.c #define NFC_V1_V2_ECC_STATUS_RESULT	(host->regs + 0x0c)
regs               35 drivers/mtd/nand/raw/mxc_nand.c #define NFC_V1_V2_RSLTMAIN_AREA		(host->regs + 0x0e)
regs               36 drivers/mtd/nand/raw/mxc_nand.c #define NFC_V21_RSLTSPARE_AREA		(host->regs + 0x10)
regs               37 drivers/mtd/nand/raw/mxc_nand.c #define NFC_V1_V2_WRPROT		(host->regs + 0x12)
regs               38 drivers/mtd/nand/raw/mxc_nand.c #define NFC_V1_UNLOCKSTART_BLKADDR	(host->regs + 0x14)
regs               39 drivers/mtd/nand/raw/mxc_nand.c #define NFC_V1_UNLOCKEND_BLKADDR	(host->regs + 0x16)
regs               40 drivers/mtd/nand/raw/mxc_nand.c #define NFC_V21_UNLOCKSTART_BLKADDR0	(host->regs + 0x20)
regs               41 drivers/mtd/nand/raw/mxc_nand.c #define NFC_V21_UNLOCKSTART_BLKADDR1	(host->regs + 0x24)
regs               42 drivers/mtd/nand/raw/mxc_nand.c #define NFC_V21_UNLOCKSTART_BLKADDR2	(host->regs + 0x28)
regs               43 drivers/mtd/nand/raw/mxc_nand.c #define NFC_V21_UNLOCKSTART_BLKADDR3	(host->regs + 0x2c)
regs               44 drivers/mtd/nand/raw/mxc_nand.c #define NFC_V21_UNLOCKEND_BLKADDR0	(host->regs + 0x22)
regs               45 drivers/mtd/nand/raw/mxc_nand.c #define NFC_V21_UNLOCKEND_BLKADDR1	(host->regs + 0x26)
regs               46 drivers/mtd/nand/raw/mxc_nand.c #define NFC_V21_UNLOCKEND_BLKADDR2	(host->regs + 0x2a)
regs               47 drivers/mtd/nand/raw/mxc_nand.c #define NFC_V21_UNLOCKEND_BLKADDR3	(host->regs + 0x2e)
regs               48 drivers/mtd/nand/raw/mxc_nand.c #define NFC_V1_V2_NF_WRPRST		(host->regs + 0x18)
regs               49 drivers/mtd/nand/raw/mxc_nand.c #define NFC_V1_V2_CONFIG1		(host->regs + 0x1a)
regs               50 drivers/mtd/nand/raw/mxc_nand.c #define NFC_V1_V2_CONFIG2		(host->regs + 0x1c)
regs              170 drivers/mtd/nand/raw/mxc_nand.c 	void __iomem		*regs;
regs             1833 drivers/mtd/nand/raw/mxc_nand.c 		host->regs = host->base + host->devtype_data->regs_offset;
regs              178 drivers/mtd/nand/raw/mxic_nand.c 	void __iomem *regs;
regs              223 drivers/mtd/nand/raw/mxic_nand.c 	       nfc->regs + IDLY_CODE(0));
regs              228 drivers/mtd/nand/raw/mxic_nand.c 	       nfc->regs + IDLY_CODE(1));
regs              288 drivers/mtd/nand/raw/mxic_nand.c 	sts = readl(nfc->regs + INT_STS);
regs              301 drivers/mtd/nand/raw/mxic_nand.c 	       HC_CFG_IDLE_SIO_LVL(1), nfc->regs + HC_CFG);
regs              302 drivers/mtd/nand/raw/mxic_nand.c 	writel(INT_STS_ALL, nfc->regs + INT_STS_EN);
regs              303 drivers/mtd/nand/raw/mxic_nand.c 	writel(INT_RDY_PIN, nfc->regs + INT_SIG_EN);
regs              304 drivers/mtd/nand/raw/mxic_nand.c 	writel(0x0, nfc->regs + ONFI_DIN_CNT(0));
regs              305 drivers/mtd/nand/raw/mxic_nand.c 	writel(0, nfc->regs + LRD_CFG);
regs              306 drivers/mtd/nand/raw/mxic_nand.c 	writel(0, nfc->regs + LRD_CTRL);
regs              307 drivers/mtd/nand/raw/mxic_nand.c 	writel(0x0, nfc->regs + HC_EN);
regs              312 drivers/mtd/nand/raw/mxic_nand.c 	writel(readl(nfc->regs + HC_CFG) | HC_CFG_MAN_CS_EN,
regs              313 drivers/mtd/nand/raw/mxic_nand.c 	       nfc->regs + HC_CFG);
regs              314 drivers/mtd/nand/raw/mxic_nand.c 	writel(HC_CFG_MAN_CS_ASSERT | readl(nfc->regs + HC_CFG),
regs              315 drivers/mtd/nand/raw/mxic_nand.c 	       nfc->regs + HC_CFG);
regs              320 drivers/mtd/nand/raw/mxic_nand.c 	writel(~HC_CFG_MAN_CS_ASSERT & readl(nfc->regs + HC_CFG),
regs              321 drivers/mtd/nand/raw/mxic_nand.c 	       nfc->regs + HC_CFG);
regs              356 drivers/mtd/nand/raw/mxic_nand.c 		ret = readl_poll_timeout(nfc->regs + INT_STS, sts,
regs              361 drivers/mtd/nand/raw/mxic_nand.c 		writel(data, nfc->regs + TXD(nbytes % 4));
regs              363 drivers/mtd/nand/raw/mxic_nand.c 		ret = readl_poll_timeout(nfc->regs + INT_STS, sts,
regs              368 drivers/mtd/nand/raw/mxic_nand.c 		ret = readl_poll_timeout(nfc->regs + INT_STS, sts,
regs              374 drivers/mtd/nand/raw/mxic_nand.c 		data = readl(nfc->regs + RXD);
regs              379 drivers/mtd/nand/raw/mxic_nand.c 		if (readl(nfc->regs + INT_STS) & INT_RX_NOT_EMPTY)
regs              403 drivers/mtd/nand/raw/mxic_nand.c 			writel(0, nfc->regs + HC_EN);
regs              404 drivers/mtd/nand/raw/mxic_nand.c 			writel(HC_EN_BIT, nfc->regs + HC_EN);
regs              406 drivers/mtd/nand/raw/mxic_nand.c 			       OP_CMD_BYTES(0), nfc->regs + SS_CTRL(0));
regs              416 drivers/mtd/nand/raw/mxic_nand.c 			       nfc->regs + SS_CTRL(0));
regs              423 drivers/mtd/nand/raw/mxic_nand.c 			writel(0x0, nfc->regs + ONFI_DIN_CNT(0));
regs              425 drivers/mtd/nand/raw/mxic_nand.c 			       OP_READ, nfc->regs + SS_CTRL(0));
regs              433 drivers/mtd/nand/raw/mxic_nand.c 			       nfc->regs + ONFI_DIN_CNT(0));
regs              435 drivers/mtd/nand/raw/mxic_nand.c 			       nfc->regs + SS_CTRL(0));
regs              473 drivers/mtd/nand/raw/mxic_nand.c 		writel(DATA_STROB_EDO_EN, nfc->regs + DATA_STROB);
regs              509 drivers/mtd/nand/raw/mxic_nand.c 	nfc->regs = devm_platform_ioremap_resource(pdev, 0);
regs              510 drivers/mtd/nand/raw/mxic_nand.c 	if (IS_ERR(nfc->regs))
regs              511 drivers/mtd/nand/raw/mxic_nand.c 		return PTR_ERR(nfc->regs);
regs               28 drivers/mtd/nand/raw/nand_hynix.c 	const u8 *regs;
regs               54 drivers/mtd/nand/raw/nand_hynix.c 	const u8 *regs;
regs              132 drivers/mtd/nand/raw/nand_hynix.c 		ret = hynix_nand_reg_write_op(chip, hynix->read_retry->regs[i],
regs              206 drivers/mtd/nand/raw/nand_hynix.c 		ret = hynix_nand_reg_write_op(chip, info->regs[i],
regs              338 drivers/mtd/nand/raw/nand_hynix.c 	rr->regs = hynix_1xnm_mlc_read_retry_regs;
regs              358 drivers/mtd/nand/raw/nand_hynix.c 		.regs = hynix_mlc_1xnm_rr_otp_regs,
regs              365 drivers/mtd/nand/raw/nand_hynix.c 		.regs = hynix_mlc_1xnm_rr_otp_regs,
regs              200 drivers/mtd/nand/raw/nandsim.c 	(((ns)->regs.row * (ns)->geom.pgszoob) + (ns)->regs.column)
regs              340 drivers/mtd/nand/raw/nandsim.c 	} regs;
regs             1133 drivers/mtd/nand/raw/nandsim.c 	if (ns->regs.count < (ns->geom.pgaddrbytes - ns->geom.secaddrbytes))
regs             1134 drivers/mtd/nand/raw/nandsim.c 		ns->regs.column |= (byte << 8 * ns->regs.count);
regs             1136 drivers/mtd/nand/raw/nandsim.c 		ns->regs.row |= (byte << 8 * (ns->regs.count -
regs             1156 drivers/mtd/nand/raw/nandsim.c 	ns->regs.num    = 0;
regs             1157 drivers/mtd/nand/raw/nandsim.c 	ns->regs.count  = 0;
regs             1158 drivers/mtd/nand/raw/nandsim.c 	ns->regs.off    = 0;
regs             1159 drivers/mtd/nand/raw/nandsim.c 	ns->regs.row    = 0;
regs             1160 drivers/mtd/nand/raw/nandsim.c 	ns->regs.column = 0;
regs             1161 drivers/mtd/nand/raw/nandsim.c 	ns->regs.status = status;
regs             1366 drivers/mtd/nand/raw/nandsim.c 	return &(ns->pages[ns->regs.row]);
regs             1374 drivers/mtd/nand/raw/nandsim.c 	return NS_GET_PAGE(ns)->byte + ns->regs.column + ns->regs.off;
regs             1379 drivers/mtd/nand/raw/nandsim.c 	unsigned int page_no = ns->regs.row;
regs             1400 drivers/mtd/nand/raw/nandsim.c 				pos, ns->regs.row, ns->regs.column + ns->regs.off,
regs             1414 drivers/mtd/nand/raw/nandsim.c 		if (!test_bit(ns->regs.row, ns->pages_written)) {
regs             1415 drivers/mtd/nand/raw/nandsim.c 			NS_DBG("read_page: page %d not written\n", ns->regs.row);
regs             1422 drivers/mtd/nand/raw/nandsim.c 				ns->regs.row, ns->regs.column + ns->regs.off);
regs             1425 drivers/mtd/nand/raw/nandsim.c 			pos = (loff_t)NS_RAW_OFFSET(ns) + ns->regs.off;
regs             1428 drivers/mtd/nand/raw/nandsim.c 				NS_ERR("read_page: read error for page %d ret %ld\n", ns->regs.row, (long)tx);
regs             1438 drivers/mtd/nand/raw/nandsim.c 		NS_DBG("read_page: page %d not allocated\n", ns->regs.row);
regs             1442 drivers/mtd/nand/raw/nandsim.c 			ns->regs.row, ns->regs.column + ns->regs.off);
regs             1460 drivers/mtd/nand/raw/nandsim.c 			if (__test_and_clear_bit(ns->regs.row + i,
regs             1462 drivers/mtd/nand/raw/nandsim.c 				NS_DBG("erase_sector: freeing page %d\n", ns->regs.row + i);
regs             1470 drivers/mtd/nand/raw/nandsim.c 			NS_DBG("erase_sector: freeing page %d\n", ns->regs.row+i);
regs             1492 drivers/mtd/nand/raw/nandsim.c 		NS_DBG("prog_page: writing page %d\n", ns->regs.row);
regs             1493 drivers/mtd/nand/raw/nandsim.c 		pg_off = ns->file_buf + ns->regs.column + ns->regs.off;
regs             1494 drivers/mtd/nand/raw/nandsim.c 		off = (loff_t)NS_RAW_OFFSET(ns) + ns->regs.off;
regs             1495 drivers/mtd/nand/raw/nandsim.c 		if (!test_bit(ns->regs.row, ns->pages_written)) {
regs             1502 drivers/mtd/nand/raw/nandsim.c 				NS_ERR("prog_page: read error for page %d ret %ld\n", ns->regs.row, (long)tx);
regs             1509 drivers/mtd/nand/raw/nandsim.c 			loff_t pos = (loff_t)ns->regs.row * ns->geom.pgszoob;
regs             1512 drivers/mtd/nand/raw/nandsim.c 				NS_ERR("prog_page: write error for page %d ret %ld\n", ns->regs.row, (long)tx);
regs             1515 drivers/mtd/nand/raw/nandsim.c 			__set_bit(ns->regs.row, ns->pages_written);
regs             1519 drivers/mtd/nand/raw/nandsim.c 				NS_ERR("prog_page: write error for page %d ret %ld\n", ns->regs.row, (long)tx);
regs             1528 drivers/mtd/nand/raw/nandsim.c 		NS_DBG("prog_page: allocating page %d\n", ns->regs.row);
regs             1537 drivers/mtd/nand/raw/nandsim.c 			NS_ERR("prog_page: error allocating memory for page %d\n", ns->regs.row);
regs             1564 drivers/mtd/nand/raw/nandsim.c 	if (action != ACTION_SECERASE && ns->regs.row >= ns->geom.pgnum) {
regs             1565 drivers/mtd/nand/raw/nandsim.c 		NS_WARN("do_state_action: wrong page number (%#x)\n", ns->regs.row);
regs             1577 drivers/mtd/nand/raw/nandsim.c 		if (ns->regs.column >= (ns->geom.pgszoob - ns->regs.off)) {
regs             1581 drivers/mtd/nand/raw/nandsim.c 		num = ns->geom.pgszoob - ns->regs.off - ns->regs.column;
regs             1585 drivers/mtd/nand/raw/nandsim.c 			num, NS_RAW_OFFSET(ns) + ns->regs.off);
regs             1587 drivers/mtd/nand/raw/nandsim.c 		if (ns->regs.off == 0)
regs             1588 drivers/mtd/nand/raw/nandsim.c 			NS_LOG("read page %d\n", ns->regs.row);
regs             1589 drivers/mtd/nand/raw/nandsim.c 		else if (ns->regs.off < ns->geom.pgsz)
regs             1590 drivers/mtd/nand/raw/nandsim.c 			NS_LOG("read page %d (second half)\n", ns->regs.row);
regs             1592 drivers/mtd/nand/raw/nandsim.c 			NS_LOG("read OOB of page %d\n", ns->regs.row);
regs             1609 drivers/mtd/nand/raw/nandsim.c 		if (ns->regs.row >= ns->geom.pgnum - ns->geom.pgsec
regs             1610 drivers/mtd/nand/raw/nandsim.c 			|| (ns->regs.row & ~(ns->geom.secsz - 1))) {
regs             1611 drivers/mtd/nand/raw/nandsim.c 			NS_ERR("do_state_action: wrong sector address (%#x)\n", ns->regs.row);
regs             1615 drivers/mtd/nand/raw/nandsim.c 		ns->regs.row = (ns->regs.row <<
regs             1616 drivers/mtd/nand/raw/nandsim.c 				8 * (ns->geom.pgaddrbytes - ns->geom.secaddrbytes)) | ns->regs.column;
regs             1617 drivers/mtd/nand/raw/nandsim.c 		ns->regs.column = 0;
regs             1619 drivers/mtd/nand/raw/nandsim.c 		erase_block_no = ns->regs.row >> (ns->geom.secshift - ns->geom.pgshift);
regs             1622 drivers/mtd/nand/raw/nandsim.c 				ns->regs.row, NS_RAW_OFFSET(ns));
regs             1649 drivers/mtd/nand/raw/nandsim.c 		num = ns->geom.pgszoob - ns->regs.off - ns->regs.column;
regs             1650 drivers/mtd/nand/raw/nandsim.c 		if (num != ns->regs.count) {
regs             1652 drivers/mtd/nand/raw/nandsim.c 					ns->regs.count, num);
regs             1659 drivers/mtd/nand/raw/nandsim.c 		page_no = ns->regs.row;
regs             1662 drivers/mtd/nand/raw/nandsim.c 			num, ns->regs.row, ns->regs.column, NS_RAW_OFFSET(ns) + ns->regs.off);
regs             1663 drivers/mtd/nand/raw/nandsim.c 		NS_LOG("programm page %d\n", ns->regs.row);
regs             1677 drivers/mtd/nand/raw/nandsim.c 		ns->regs.off = 0;
regs             1687 drivers/mtd/nand/raw/nandsim.c 		ns->regs.off = ns->geom.pgsz/2;
regs             1692 drivers/mtd/nand/raw/nandsim.c 		ns->regs.off = ns->geom.pgsz;
regs             1737 drivers/mtd/nand/raw/nandsim.c 		ns->state = get_state_by_command(ns->regs.command);
regs             1753 drivers/mtd/nand/raw/nandsim.c 		ns->regs.column <<= 1;
regs             1765 drivers/mtd/nand/raw/nandsim.c 			&& ns->regs.count != ns->regs.num) {
regs             1767 drivers/mtd/nand/raw/nandsim.c 					ns->regs.num - ns->regs.count);
regs             1783 drivers/mtd/nand/raw/nandsim.c 		ns->regs.num   = ns->regs.count = 0;
regs             1796 drivers/mtd/nand/raw/nandsim.c 				ns->regs.num = ns->geom.pgszoob - ns->regs.off - ns->regs.column;
regs             1800 drivers/mtd/nand/raw/nandsim.c 				ns->regs.num = ns->geom.idbytes;
regs             1804 drivers/mtd/nand/raw/nandsim.c 				ns->regs.count = ns->regs.num = 0;
regs             1817 drivers/mtd/nand/raw/nandsim.c 		ns->regs.count = 0;
regs             1821 drivers/mtd/nand/raw/nandsim.c 				ns->regs.num = ns->geom.pgaddrbytes;
regs             1825 drivers/mtd/nand/raw/nandsim.c 				ns->regs.num = ns->geom.secaddrbytes;
regs             1829 drivers/mtd/nand/raw/nandsim.c 				ns->regs.num = 1;
regs             1834 drivers/mtd/nand/raw/nandsim.c 				ns->regs.num = ns->geom.pgaddrbytes - ns->geom.secaddrbytes;
regs             1845 drivers/mtd/nand/raw/nandsim.c 		ns->regs.num = 0;
regs             1846 drivers/mtd/nand/raw/nandsim.c 		ns->regs.count = 0;
regs             1872 drivers/mtd/nand/raw/nandsim.c 		NS_DBG("read_byte: return %#x status\n", ns->regs.status);
regs             1873 drivers/mtd/nand/raw/nandsim.c 		return ns->regs.status;
regs             1877 drivers/mtd/nand/raw/nandsim.c 	if (ns->regs.count == ns->regs.num) {
regs             1885 drivers/mtd/nand/raw/nandsim.c 				outb = ns->buf.byte[ns->regs.count];
regs             1886 drivers/mtd/nand/raw/nandsim.c 				ns->regs.count += 1;
regs             1888 drivers/mtd/nand/raw/nandsim.c 				outb = (u_char)cpu_to_le16(ns->buf.word[ns->regs.count >> 1]);
regs             1889 drivers/mtd/nand/raw/nandsim.c 				ns->regs.count += 2;
regs             1893 drivers/mtd/nand/raw/nandsim.c 			NS_DBG("read_byte: read ID byte %d, total = %d\n", ns->regs.count, ns->regs.num);
regs             1894 drivers/mtd/nand/raw/nandsim.c 			outb = ns->ids[ns->regs.count];
regs             1895 drivers/mtd/nand/raw/nandsim.c 			ns->regs.count += 1;
regs             1901 drivers/mtd/nand/raw/nandsim.c 	if (ns->regs.count == ns->regs.num) {
regs             1944 drivers/mtd/nand/raw/nandsim.c 			int row = ns->regs.row;
regs             1948 drivers/mtd/nand/raw/nandsim.c 				ns->regs.row = row;
regs             1954 drivers/mtd/nand/raw/nandsim.c 			if (!(ns->regs.command == NAND_CMD_READID &&
regs             1955 drivers/mtd/nand/raw/nandsim.c 			    NS_STATE(ns->state) == STATE_DATAOUT_ID && ns->regs.count == 2)) {
regs             1969 drivers/mtd/nand/raw/nandsim.c 		ns->regs.command = byte;
regs             1989 drivers/mtd/nand/raw/nandsim.c 			ns->regs.count = 0;
regs             1992 drivers/mtd/nand/raw/nandsim.c 					ns->regs.num = ns->geom.pgaddrbytes;
regs             1995 drivers/mtd/nand/raw/nandsim.c 					ns->regs.num = ns->geom.secaddrbytes;
regs             1998 drivers/mtd/nand/raw/nandsim.c 					ns->regs.num = 1;
regs             2014 drivers/mtd/nand/raw/nandsim.c 		if (ns->regs.count == ns->regs.num) {
regs             2022 drivers/mtd/nand/raw/nandsim.c 		ns->regs.count += 1;
regs             2025 drivers/mtd/nand/raw/nandsim.c 				(uint)byte, ns->regs.count, ns->regs.num);
regs             2027 drivers/mtd/nand/raw/nandsim.c 		if (ns->regs.count == ns->regs.num) {
regs             2028 drivers/mtd/nand/raw/nandsim.c 			NS_DBG("address (%#x, %#x) is accepted\n", ns->regs.row, ns->regs.column);
regs             2047 drivers/mtd/nand/raw/nandsim.c 		if (ns->regs.count == ns->regs.num) {
regs             2049 drivers/mtd/nand/raw/nandsim.c 					ns->regs.num);
regs             2054 drivers/mtd/nand/raw/nandsim.c 			ns->buf.byte[ns->regs.count] = byte;
regs             2055 drivers/mtd/nand/raw/nandsim.c 			ns->regs.count += 1;
regs             2057 drivers/mtd/nand/raw/nandsim.c 			ns->buf.word[ns->regs.count >> 1] = cpu_to_le16((uint16_t)byte);
regs             2058 drivers/mtd/nand/raw/nandsim.c 			ns->regs.count += 2;
regs             2079 drivers/mtd/nand/raw/nandsim.c 	if (ns->regs.count + len > ns->regs.num) {
regs             2085 drivers/mtd/nand/raw/nandsim.c 	memcpy(ns->buf.byte + ns->regs.count, buf, len);
regs             2086 drivers/mtd/nand/raw/nandsim.c 	ns->regs.count += len;
regs             2088 drivers/mtd/nand/raw/nandsim.c 	if (ns->regs.count == ns->regs.num) {
regs             2089 drivers/mtd/nand/raw/nandsim.c 		NS_DBG("write_buf: %d bytes were written\n", ns->regs.count);
regs             2122 drivers/mtd/nand/raw/nandsim.c 	if (ns->regs.count + len > ns->regs.num) {
regs             2128 drivers/mtd/nand/raw/nandsim.c 	memcpy(buf, ns->buf.byte + ns->regs.count, len);
regs             2129 drivers/mtd/nand/raw/nandsim.c 	ns->regs.count += len;
regs             2131 drivers/mtd/nand/raw/nandsim.c 	if (ns->regs.count == ns->regs.num) {
regs             2277 drivers/mtd/nand/raw/nandsim.c 	ns->regs.status = NS_STATUS_OK(ns);
regs              440 drivers/mtd/nand/raw/omap_elm.c 	struct elm_registers *regs = &info->elm_regs;
regs              444 drivers/mtd/nand/raw/omap_elm.c 	regs->elm_irqenable       = elm_read_reg(info, ELM_IRQENABLE);
regs              445 drivers/mtd/nand/raw/omap_elm.c 	regs->elm_sysconfig       = elm_read_reg(info, ELM_SYSCONFIG);
regs              446 drivers/mtd/nand/raw/omap_elm.c 	regs->elm_location_config = elm_read_reg(info, ELM_LOCATION_CONFIG);
regs              447 drivers/mtd/nand/raw/omap_elm.c 	regs->elm_page_ctrl       = elm_read_reg(info, ELM_PAGE_CTRL);
regs              452 drivers/mtd/nand/raw/omap_elm.c 			regs->elm_syndrome_fragment_6[i] = elm_read_reg(info,
regs              454 drivers/mtd/nand/raw/omap_elm.c 			regs->elm_syndrome_fragment_5[i] = elm_read_reg(info,
regs              456 drivers/mtd/nand/raw/omap_elm.c 			regs->elm_syndrome_fragment_4[i] = elm_read_reg(info,
regs              460 drivers/mtd/nand/raw/omap_elm.c 			regs->elm_syndrome_fragment_3[i] = elm_read_reg(info,
regs              462 drivers/mtd/nand/raw/omap_elm.c 			regs->elm_syndrome_fragment_2[i] = elm_read_reg(info,
regs              466 drivers/mtd/nand/raw/omap_elm.c 			regs->elm_syndrome_fragment_1[i] = elm_read_reg(info,
regs              468 drivers/mtd/nand/raw/omap_elm.c 			regs->elm_syndrome_fragment_0[i] = elm_read_reg(info,
regs              476 drivers/mtd/nand/raw/omap_elm.c 		regs->elm_syndrome_fragment_6[i] = elm_read_reg(info,
regs              488 drivers/mtd/nand/raw/omap_elm.c 	struct elm_registers *regs = &info->elm_regs;
regs              492 drivers/mtd/nand/raw/omap_elm.c 	elm_write_reg(info, ELM_IRQENABLE,	 regs->elm_irqenable);
regs              493 drivers/mtd/nand/raw/omap_elm.c 	elm_write_reg(info, ELM_SYSCONFIG,	 regs->elm_sysconfig);
regs              494 drivers/mtd/nand/raw/omap_elm.c 	elm_write_reg(info, ELM_LOCATION_CONFIG, regs->elm_location_config);
regs              495 drivers/mtd/nand/raw/omap_elm.c 	elm_write_reg(info, ELM_PAGE_CTRL,	 regs->elm_page_ctrl);
regs              501 drivers/mtd/nand/raw/omap_elm.c 					regs->elm_syndrome_fragment_6[i]);
regs              503 drivers/mtd/nand/raw/omap_elm.c 					regs->elm_syndrome_fragment_5[i]);
regs              505 drivers/mtd/nand/raw/omap_elm.c 					regs->elm_syndrome_fragment_4[i]);
regs              509 drivers/mtd/nand/raw/omap_elm.c 					regs->elm_syndrome_fragment_3[i]);
regs              511 drivers/mtd/nand/raw/omap_elm.c 					regs->elm_syndrome_fragment_2[i]);
regs              515 drivers/mtd/nand/raw/omap_elm.c 					regs->elm_syndrome_fragment_1[i]);
regs              517 drivers/mtd/nand/raw/omap_elm.c 					regs->elm_syndrome_fragment_0[i]);
regs              524 drivers/mtd/nand/raw/omap_elm.c 					regs->elm_syndrome_fragment_6[i] &
regs              401 drivers/mtd/nand/raw/qcom_nandc.c 	struct nandc_regs *regs;
regs              601 drivers/mtd/nand/raw/qcom_nandc.c static __le32 *offset_to_nandc_reg(struct nandc_regs *regs, int offset)
regs              605 drivers/mtd/nand/raw/qcom_nandc.c 		return &regs->cmd;
regs              607 drivers/mtd/nand/raw/qcom_nandc.c 		return &regs->addr0;
regs              609 drivers/mtd/nand/raw/qcom_nandc.c 		return &regs->addr1;
regs              611 drivers/mtd/nand/raw/qcom_nandc.c 		return &regs->chip_sel;
regs              613 drivers/mtd/nand/raw/qcom_nandc.c 		return &regs->exec;
regs              615 drivers/mtd/nand/raw/qcom_nandc.c 		return &regs->clrflashstatus;
regs              617 drivers/mtd/nand/raw/qcom_nandc.c 		return &regs->cfg0;
regs              619 drivers/mtd/nand/raw/qcom_nandc.c 		return &regs->cfg1;
regs              621 drivers/mtd/nand/raw/qcom_nandc.c 		return &regs->ecc_bch_cfg;
regs              623 drivers/mtd/nand/raw/qcom_nandc.c 		return &regs->clrreadstatus;
regs              625 drivers/mtd/nand/raw/qcom_nandc.c 		return &regs->cmd1;
regs              627 drivers/mtd/nand/raw/qcom_nandc.c 		return &regs->orig_cmd1;
regs              629 drivers/mtd/nand/raw/qcom_nandc.c 		return &regs->vld;
regs              631 drivers/mtd/nand/raw/qcom_nandc.c 		return &regs->orig_vld;
regs              633 drivers/mtd/nand/raw/qcom_nandc.c 		return &regs->ecc_buf_cfg;
regs              635 drivers/mtd/nand/raw/qcom_nandc.c 		return &regs->read_location0;
regs              637 drivers/mtd/nand/raw/qcom_nandc.c 		return &regs->read_location1;
regs              639 drivers/mtd/nand/raw/qcom_nandc.c 		return &regs->read_location2;
regs              641 drivers/mtd/nand/raw/qcom_nandc.c 		return &regs->read_location3;
regs              650 drivers/mtd/nand/raw/qcom_nandc.c 	struct nandc_regs *regs = nandc->regs;
regs              653 drivers/mtd/nand/raw/qcom_nandc.c 	reg = offset_to_nandc_reg(regs, offset);
regs             1005 drivers/mtd/nand/raw/qcom_nandc.c 	struct nandc_regs *regs = nandc->regs;
regs             1008 drivers/mtd/nand/raw/qcom_nandc.c 	vaddr = offset_to_nandc_reg(regs, first);
regs             1012 drivers/mtd/nand/raw/qcom_nandc.c 			vaddr = &regs->erased_cw_detect_cfg_set;
regs             1014 drivers/mtd/nand/raw/qcom_nandc.c 			vaddr = &regs->erased_cw_detect_cfg_clr;
regs             2613 drivers/mtd/nand/raw/qcom_nandc.c 	nandc->regs->erased_cw_detect_cfg_clr =
regs             2615 drivers/mtd/nand/raw/qcom_nandc.c 	nandc->regs->erased_cw_detect_cfg_set =
regs             2654 drivers/mtd/nand/raw/qcom_nandc.c 	nandc->regs = devm_kzalloc(nandc->dev, sizeof(*nandc->regs),
regs             2656 drivers/mtd/nand/raw/qcom_nandc.c 	if (!nandc->regs)
regs              159 drivers/mtd/nand/raw/s3c2410.c 	void __iomem			*regs;
regs              350 drivers/mtd/nand/raw/s3c2410.c 	cfg = readl(info->regs + S3C2410_NFCONF);
regs              353 drivers/mtd/nand/raw/s3c2410.c 	writel(cfg, info->regs + S3C2410_NFCONF);
regs              386 drivers/mtd/nand/raw/s3c2410.c 		writel(S3C2440_NFCONT_ENABLE, info->regs + S3C2440_NFCONT);
regs              456 drivers/mtd/nand/raw/s3c2410.c 		writeb(cmd, info->regs + S3C2410_NFCMD);
regs              458 drivers/mtd/nand/raw/s3c2410.c 		writeb(cmd, info->regs + S3C2410_NFADDR);
regs              473 drivers/mtd/nand/raw/s3c2410.c 		writeb(cmd, info->regs + S3C2440_NFCMD);
regs              475 drivers/mtd/nand/raw/s3c2410.c 		writeb(cmd, info->regs + S3C2440_NFADDR);
regs              487 drivers/mtd/nand/raw/s3c2410.c 	return readb(info->regs + S3C2410_NFSTAT) & S3C2410_NFSTAT_BUSY;
regs              494 drivers/mtd/nand/raw/s3c2410.c 	return readb(info->regs + S3C2440_NFSTAT) & S3C2440_NFSTAT_READY;
regs              501 drivers/mtd/nand/raw/s3c2410.c 	return readb(info->regs + S3C2412_NFSTAT) & S3C2412_NFSTAT_READY;
regs              592 drivers/mtd/nand/raw/s3c2410.c 	ctrl = readl(info->regs + S3C2410_NFCONF);
regs              594 drivers/mtd/nand/raw/s3c2410.c 	writel(ctrl, info->regs + S3C2410_NFCONF);
regs              603 drivers/mtd/nand/raw/s3c2410.c 	ctrl = readl(info->regs + S3C2440_NFCONT);
regs              605 drivers/mtd/nand/raw/s3c2410.c 	       info->regs + S3C2440_NFCONT);
regs              614 drivers/mtd/nand/raw/s3c2410.c 	ctrl = readl(info->regs + S3C2440_NFCONT);
regs              615 drivers/mtd/nand/raw/s3c2410.c 	writel(ctrl | S3C2440_NFCONT_INITECC, info->regs + S3C2440_NFCONT);
regs              624 drivers/mtd/nand/raw/s3c2410.c 	ecc_code[0] = readb(info->regs + S3C2410_NFECC + 0);
regs              625 drivers/mtd/nand/raw/s3c2410.c 	ecc_code[1] = readb(info->regs + S3C2410_NFECC + 1);
regs              626 drivers/mtd/nand/raw/s3c2410.c 	ecc_code[2] = readb(info->regs + S3C2410_NFECC + 2);
regs              638 drivers/mtd/nand/raw/s3c2410.c 	unsigned long ecc = readl(info->regs + S3C2412_NFMECC0);
regs              654 drivers/mtd/nand/raw/s3c2410.c 	unsigned long ecc = readl(info->regs + S3C2440_NFMECC0);
regs              679 drivers/mtd/nand/raw/s3c2410.c 	readsl(info->regs + S3C2440_NFDATA, buf, len >> 2);
regs              686 drivers/mtd/nand/raw/s3c2410.c 			*buf++ = readb(info->regs + S3C2440_NFDATA);
regs              702 drivers/mtd/nand/raw/s3c2410.c 	writesl(info->regs + S3C2440_NFDATA, buf, len >> 2);
regs              709 drivers/mtd/nand/raw/s3c2410.c 			writeb(*buf, info->regs + S3C2440_NFDATA);
regs              850 drivers/mtd/nand/raw/s3c2410.c 	void __iomem *regs = info->regs;
regs              871 drivers/mtd/nand/raw/s3c2410.c 		chip->legacy.IO_ADDR_W = regs + S3C2410_NFDATA;
regs              872 drivers/mtd/nand/raw/s3c2410.c 		info->sel_reg   = regs + S3C2410_NFCONF;
regs              879 drivers/mtd/nand/raw/s3c2410.c 		chip->legacy.IO_ADDR_W = regs + S3C2440_NFDATA;
regs              880 drivers/mtd/nand/raw/s3c2410.c 		info->sel_reg   = regs + S3C2440_NFCONT;
regs              889 drivers/mtd/nand/raw/s3c2410.c 		chip->legacy.IO_ADDR_W = regs + S3C2440_NFDATA;
regs              890 drivers/mtd/nand/raw/s3c2410.c 		info->sel_reg   = regs + S3C2440_NFCONT;
regs              895 drivers/mtd/nand/raw/s3c2410.c 		if (readl(regs + S3C2410_NFCONF) & S3C2412_NFCONF_NANDBOOT)
regs             1133 drivers/mtd/nand/raw/s3c2410.c 	info->regs = devm_ioremap_resource(&pdev->dev, res);
regs             1134 drivers/mtd/nand/raw/s3c2410.c 	if (IS_ERR(info->regs)) {
regs             1135 drivers/mtd/nand/raw/s3c2410.c 		err = PTR_ERR(info->regs);
regs             1139 drivers/mtd/nand/raw/s3c2410.c 	dev_dbg(&pdev->dev, "mapped registers at %p\n", info->regs);
regs              240 drivers/mtd/nand/raw/sunxi_nand.c 	void __iomem *regs;
regs              260 drivers/mtd/nand/raw/sunxi_nand.c 	u32 st = readl(nfc->regs + NFC_REG_ST);
regs              261 drivers/mtd/nand/raw/sunxi_nand.c 	u32 ien = readl(nfc->regs + NFC_REG_INT);
regs              269 drivers/mtd/nand/raw/sunxi_nand.c 	writel(st & NFC_INT_MASK, nfc->regs + NFC_REG_ST);
regs              270 drivers/mtd/nand/raw/sunxi_nand.c 	writel(~st & ien & NFC_INT_MASK, nfc->regs + NFC_REG_INT);
regs              289 drivers/mtd/nand/raw/sunxi_nand.c 		writel(events, nfc->regs + NFC_REG_INT);
regs              298 drivers/mtd/nand/raw/sunxi_nand.c 		writel(0, nfc->regs + NFC_REG_INT);
regs              302 drivers/mtd/nand/raw/sunxi_nand.c 		ret = readl_poll_timeout(nfc->regs + NFC_REG_ST, status,
regs              307 drivers/mtd/nand/raw/sunxi_nand.c 	writel(events & NFC_INT_MASK, nfc->regs + NFC_REG_ST);
regs              320 drivers/mtd/nand/raw/sunxi_nand.c 	ret = readl_poll_timeout(nfc->regs + NFC_REG_ST, status,
regs              334 drivers/mtd/nand/raw/sunxi_nand.c 	writel(0, nfc->regs + NFC_REG_ECC_CTL);
regs              335 drivers/mtd/nand/raw/sunxi_nand.c 	writel(NFC_RESET, nfc->regs + NFC_REG_CTL);
regs              337 drivers/mtd/nand/raw/sunxi_nand.c 	ret = readl_poll_timeout(nfc->regs + NFC_REG_CTL, ctl,
regs              372 drivers/mtd/nand/raw/sunxi_nand.c 	writel(readl(nfc->regs + NFC_REG_CTL) | NFC_RAM_METHOD,
regs              373 drivers/mtd/nand/raw/sunxi_nand.c 	       nfc->regs + NFC_REG_CTL);
regs              374 drivers/mtd/nand/raw/sunxi_nand.c 	writel(nchunks, nfc->regs + NFC_REG_SECTOR_NUM);
regs              375 drivers/mtd/nand/raw/sunxi_nand.c 	writel(chunksize, nfc->regs + NFC_REG_CNT);
regs              377 drivers/mtd/nand/raw/sunxi_nand.c 		writel(chunksize * nchunks, nfc->regs + NFC_REG_MDMA_CNT);
regs              388 drivers/mtd/nand/raw/sunxi_nand.c 	writel(readl(nfc->regs + NFC_REG_CTL) & ~NFC_RAM_METHOD,
regs              389 drivers/mtd/nand/raw/sunxi_nand.c 	       nfc->regs + NFC_REG_CTL);
regs              401 drivers/mtd/nand/raw/sunxi_nand.c 	writel(readl(nfc->regs + NFC_REG_CTL) & ~NFC_RAM_METHOD,
regs              402 drivers/mtd/nand/raw/sunxi_nand.c 	       nfc->regs + NFC_REG_CTL);
regs              416 drivers/mtd/nand/raw/sunxi_nand.c 	ctl = readl(nfc->regs + NFC_REG_CTL) &
regs              424 drivers/mtd/nand/raw/sunxi_nand.c 	writel(mtd->writesize, nfc->regs + NFC_REG_SPARE_AREA);
regs              431 drivers/mtd/nand/raw/sunxi_nand.c 	writel(sunxi_nand->timing_ctl, nfc->regs + NFC_REG_TIMING_CTL);
regs              432 drivers/mtd/nand/raw/sunxi_nand.c 	writel(sunxi_nand->timing_cfg, nfc->regs + NFC_REG_TIMING_CFG);
regs              433 drivers/mtd/nand/raw/sunxi_nand.c 	writel(ctl, nfc->regs + NFC_REG_CTL);
regs              454 drivers/mtd/nand/raw/sunxi_nand.c 		writel(cnt, nfc->regs + NFC_REG_CNT);
regs              456 drivers/mtd/nand/raw/sunxi_nand.c 		writel(tmp, nfc->regs + NFC_REG_CMD);
regs              467 drivers/mtd/nand/raw/sunxi_nand.c 			memcpy_fromio(buf + offs, nfc->regs + NFC_RAM0_BASE,
regs              492 drivers/mtd/nand/raw/sunxi_nand.c 		writel(cnt, nfc->regs + NFC_REG_CNT);
regs              493 drivers/mtd/nand/raw/sunxi_nand.c 		memcpy_toio(nfc->regs + NFC_RAM0_BASE, buf + offs, cnt);
regs              496 drivers/mtd/nand/raw/sunxi_nand.c 		writel(tmp, nfc->regs + NFC_REG_CMD);
regs              616 drivers/mtd/nand/raw/sunxi_nand.c 	u32 ecc_ctl = readl(nfc->regs + NFC_REG_ECC_CTL);
regs              622 drivers/mtd/nand/raw/sunxi_nand.c 	ecc_ctl = readl(nfc->regs + NFC_REG_ECC_CTL);
regs              624 drivers/mtd/nand/raw/sunxi_nand.c 	ecc_ctl = readl(nfc->regs + NFC_REG_ECC_CTL) & ~NFC_RANDOM_SEED_MSK;
regs              625 drivers/mtd/nand/raw/sunxi_nand.c 	writel(ecc_ctl | NFC_RANDOM_SEED(state), nfc->regs + NFC_REG_ECC_CTL);
regs              635 drivers/mtd/nand/raw/sunxi_nand.c 	writel(readl(nfc->regs + NFC_REG_ECC_CTL) | NFC_RANDOM_EN,
regs              636 drivers/mtd/nand/raw/sunxi_nand.c 	       nfc->regs + NFC_REG_ECC_CTL);
regs              646 drivers/mtd/nand/raw/sunxi_nand.c 	writel(readl(nfc->regs + NFC_REG_ECC_CTL) & ~NFC_RANDOM_EN,
regs              647 drivers/mtd/nand/raw/sunxi_nand.c 	       nfc->regs + NFC_REG_ECC_CTL);
regs              683 drivers/mtd/nand/raw/sunxi_nand.c 	ecc_ctl = readl(nfc->regs + NFC_REG_ECC_CTL);
regs              692 drivers/mtd/nand/raw/sunxi_nand.c 	writel(ecc_ctl, nfc->regs + NFC_REG_ECC_CTL);
regs              699 drivers/mtd/nand/raw/sunxi_nand.c 	writel(readl(nfc->regs + NFC_REG_ECC_CTL) & ~NFC_ECC_EN,
regs              700 drivers/mtd/nand/raw/sunxi_nand.c 	       nfc->regs + NFC_REG_ECC_CTL);
regs              721 drivers/mtd/nand/raw/sunxi_nand.c 	sunxi_nfc_user_data_to_buf(readl(nfc->regs + NFC_REG_USER_DATA(step)),
regs              744 drivers/mtd/nand/raw/sunxi_nand.c 	       nfc->regs + NFC_REG_USER_DATA(step));
regs              775 drivers/mtd/nand/raw/sunxi_nand.c 		if (unlikely(!(readl(nfc->regs + NFC_REG_PAT_ID) & 0x1))) {
regs              791 drivers/mtd/nand/raw/sunxi_nand.c 	tmp = readl(nfc->regs + NFC_REG_ECC_ERR_CNT(step));
regs              823 drivers/mtd/nand/raw/sunxi_nand.c 	       nfc->regs + NFC_REG_CMD);
regs              833 drivers/mtd/nand/raw/sunxi_nand.c 				       readl(nfc->regs + NFC_REG_ECC_ST),
regs              847 drivers/mtd/nand/raw/sunxi_nand.c 			memcpy_fromio(data, nfc->regs + NFC_RAM0_BASE,
regs              859 drivers/mtd/nand/raw/sunxi_nand.c 		memcpy_fromio(data, nfc->regs + NFC_RAM0_BASE, ecc->size);
regs              930 drivers/mtd/nand/raw/sunxi_nand.c 	       NAND_CMD_READSTART, nfc->regs + NFC_REG_RCMD_SET);
regs              935 drivers/mtd/nand/raw/sunxi_nand.c 	       nfc->regs + NFC_REG_CMD);
regs              949 drivers/mtd/nand/raw/sunxi_nand.c 	status = readl(nfc->regs + NFC_REG_ECC_ST);
regs             1053 drivers/mtd/nand/raw/sunxi_nand.c 	       nfc->regs + NFC_REG_CMD);
regs             1305 drivers/mtd/nand/raw/sunxi_nand.c 	       nfc->regs + NFC_REG_WCMD_SET);
regs             1311 drivers/mtd/nand/raw/sunxi_nand.c 	       nfc->regs + NFC_REG_CMD);
regs             1820 drivers/mtd/nand/raw/sunxi_nand.c 				memcpy_toio(nfc->regs + NFC_RAM0_BASE,
regs             1840 drivers/mtd/nand/raw/sunxi_nand.c 		writel(addrs[0], nfc->regs + NFC_REG_ADDR_LOW);
regs             1841 drivers/mtd/nand/raw/sunxi_nand.c 		writel(addrs[1], nfc->regs + NFC_REG_ADDR_HIGH);
regs             1846 drivers/mtd/nand/raw/sunxi_nand.c 		       nfc->regs +
regs             1851 drivers/mtd/nand/raw/sunxi_nand.c 		writel(cnt, nfc->regs + NFC_REG_CNT);
regs             1853 drivers/mtd/nand/raw/sunxi_nand.c 	writel(cmd, nfc->regs + NFC_REG_CMD);
regs             1862 drivers/mtd/nand/raw/sunxi_nand.c 		memcpy_fromio(inbuf, nfc->regs + NFC_RAM0_BASE, cnt);
regs             2069 drivers/mtd/nand/raw/sunxi_nand.c 	nfc->regs = devm_ioremap_resource(dev, r);
regs             2070 drivers/mtd/nand/raw/sunxi_nand.c 	if (IS_ERR(nfc->regs))
regs             2071 drivers/mtd/nand/raw/sunxi_nand.c 		return PTR_ERR(nfc->regs);
regs             2122 drivers/mtd/nand/raw/sunxi_nand.c 	writel(0, nfc->regs + NFC_REG_INT);
regs             2141 drivers/mtd/nand/raw/sunxi_nand.c 			writel(readl(nfc->regs + NFC_REG_CTL) |
regs             2142 drivers/mtd/nand/raw/sunxi_nand.c 			       NFC_DMA_TYPE_NORMAL, nfc->regs + NFC_REG_CTL);
regs              169 drivers/mtd/nand/raw/tegra_nand.c 	void __iomem *regs;
regs              253 drivers/mtd/nand/raw/tegra_nand.c 	isr = readl_relaxed(ctrl->regs + ISR);
regs              254 drivers/mtd/nand/raw/tegra_nand.c 	dma = readl_relaxed(ctrl->regs + DMA_MST_CTRL);
regs              279 drivers/mtd/nand/raw/tegra_nand.c 		writel_relaxed(dma, ctrl->regs + DMA_MST_CTRL);
regs              284 drivers/mtd/nand/raw/tegra_nand.c 	writel_relaxed(isr, ctrl->regs + ISR);
regs              320 drivers/mtd/nand/raw/tegra_nand.c 		reg = readl_relaxed(ctrl->regs + (i * 4));
regs              332 drivers/mtd/nand/raw/tegra_nand.c 	writel_relaxed(0, ctrl->regs + DMA_MST_CTRL);
regs              333 drivers/mtd/nand/raw/tegra_nand.c 	writel_relaxed(0, ctrl->regs + COMMAND);
regs              336 drivers/mtd/nand/raw/tegra_nand.c 	isr = readl_relaxed(ctrl->regs + ISR);
regs              337 drivers/mtd/nand/raw/tegra_nand.c 	writel_relaxed(isr, ctrl->regs + ISR);
regs              338 drivers/mtd/nand/raw/tegra_nand.c 	dma = readl_relaxed(ctrl->regs + DMA_MST_CTRL);
regs              339 drivers/mtd/nand/raw/tegra_nand.c 	writel_relaxed(dma, ctrl->regs + DMA_MST_CTRL);
regs              370 drivers/mtd/nand/raw/tegra_nand.c 					       ctrl->regs + CMD_REG1);
regs              374 drivers/mtd/nand/raw/tegra_nand.c 					       ctrl->regs + CMD_REG2);
regs              391 drivers/mtd/nand/raw/tegra_nand.c 			writel_relaxed(addr1, ctrl->regs + ADDR_REG1);
regs              392 drivers/mtd/nand/raw/tegra_nand.c 			writel_relaxed(addr2, ctrl->regs + ADDR_REG2);
regs              413 drivers/mtd/nand/raw/tegra_nand.c 			writel_relaxed(reg, ctrl->regs + RESP);
regs              423 drivers/mtd/nand/raw/tegra_nand.c 	writel_relaxed(cmd, ctrl->regs + COMMAND);
regs              434 drivers/mtd/nand/raw/tegra_nand.c 		reg = readl_relaxed(ctrl->regs + RESP);
regs              481 drivers/mtd/nand/raw/tegra_nand.c 		writel_relaxed(nand->bch_config, ctrl->regs + BCH_CONFIG);
regs              483 drivers/mtd/nand/raw/tegra_nand.c 		writel_relaxed(0, ctrl->regs + BCH_CONFIG);
regs              486 drivers/mtd/nand/raw/tegra_nand.c 		writel_relaxed(nand->config_ecc, ctrl->regs + CONFIG);
regs              488 drivers/mtd/nand/raw/tegra_nand.c 		writel_relaxed(nand->config, ctrl->regs + CONFIG);
regs              504 drivers/mtd/nand/raw/tegra_nand.c 		writel_relaxed(NAND_CMD_READ0, ctrl->regs + CMD_REG1);
regs              505 drivers/mtd/nand/raw/tegra_nand.c 		writel_relaxed(NAND_CMD_READSTART, ctrl->regs + CMD_REG2);
regs              507 drivers/mtd/nand/raw/tegra_nand.c 		writel_relaxed(NAND_CMD_SEQIN, ctrl->regs + CMD_REG1);
regs              508 drivers/mtd/nand/raw/tegra_nand.c 		writel_relaxed(NAND_CMD_PAGEPROG, ctrl->regs + CMD_REG2);
regs              517 drivers/mtd/nand/raw/tegra_nand.c 	writel_relaxed(addr1, ctrl->regs + ADDR_REG1);
regs              520 drivers/mtd/nand/raw/tegra_nand.c 		writel_relaxed(page >> 16, ctrl->regs + ADDR_REG2);
regs              534 drivers/mtd/nand/raw/tegra_nand.c 		writel_relaxed(mtd->writesize - 1, ctrl->regs + DMA_CFG_A);
regs              535 drivers/mtd/nand/raw/tegra_nand.c 		writel_relaxed(dma_addr, ctrl->regs + DATA_PTR);
regs              548 drivers/mtd/nand/raw/tegra_nand.c 		writel_relaxed(oob_len - 1, ctrl->regs + DMA_CFG_B);
regs              549 drivers/mtd/nand/raw/tegra_nand.c 		writel_relaxed(dma_addr_oob, ctrl->regs + TAG_PTR);
regs              566 drivers/mtd/nand/raw/tegra_nand.c 	writel_relaxed(dma_ctrl, ctrl->regs + DMA_MST_CTRL);
regs              581 drivers/mtd/nand/raw/tegra_nand.c 	writel_relaxed(cmd, ctrl->regs + COMMAND);
regs              681 drivers/mtd/nand/raw/tegra_nand.c 	dec_stat = readl_relaxed(ctrl->regs + DEC_STAT_BUF);
regs              806 drivers/mtd/nand/raw/tegra_nand.c 	writel_relaxed(reg, ctrl->regs + TIMING_1);
regs              811 drivers/mtd/nand/raw/tegra_nand.c 	writel_relaxed(reg, ctrl->regs + TIMING_2);
regs             1046 drivers/mtd/nand/raw/tegra_nand.c 	writel_relaxed(nand->config, ctrl->regs + CONFIG);
regs             1152 drivers/mtd/nand/raw/tegra_nand.c 	ctrl->regs = devm_ioremap_resource(&pdev->dev, res);
regs             1153 drivers/mtd/nand/raw/tegra_nand.c 	if (IS_ERR(ctrl->regs))
regs             1154 drivers/mtd/nand/raw/tegra_nand.c 		return PTR_ERR(ctrl->regs);
regs             1174 drivers/mtd/nand/raw/tegra_nand.c 	writel_relaxed(HWSTATUS_CMD_DEFAULT, ctrl->regs + HWSTATUS_CMD);
regs             1175 drivers/mtd/nand/raw/tegra_nand.c 	writel_relaxed(HWSTATUS_MASK_DEFAULT, ctrl->regs + HWSTATUS_MASK);
regs             1176 drivers/mtd/nand/raw/tegra_nand.c 	writel_relaxed(INT_MASK, ctrl->regs + IER);
regs             1189 drivers/mtd/nand/raw/tegra_nand.c 	writel_relaxed(DMA_MST_CTRL_IS_DONE, ctrl->regs + DMA_MST_CTRL);
regs              154 drivers/mtd/nand/raw/vf610_nfc.c 	void __iomem *regs;
regs              175 drivers/mtd/nand/raw/vf610_nfc.c 	return readl(nfc->regs + reg);
regs              180 drivers/mtd/nand/raw/vf610_nfc.c 	writel(val, nfc->regs + reg);
regs              414 drivers/mtd/nand/raw/vf610_nfc.c 		vf610_nfc_wr_to_sram(nfc->regs + NFC_MAIN_AREA(0) + offset,
regs              456 drivers/mtd/nand/raw/vf610_nfc.c 				       nfc->regs + NFC_MAIN_AREA(0) + offset,
regs              580 drivers/mtd/nand/raw/vf610_nfc.c 	vf610_nfc_rd_from_sram(buf, nfc->regs + NFC_MAIN_AREA(0),
regs              584 drivers/mtd/nand/raw/vf610_nfc.c 				       nfc->regs + NFC_MAIN_AREA(0) +
regs              623 drivers/mtd/nand/raw/vf610_nfc.c 	vf610_nfc_wr_to_sram(nfc->regs + NFC_MAIN_AREA(0), buf,
regs              838 drivers/mtd/nand/raw/vf610_nfc.c 	nfc->regs = devm_ioremap_resource(nfc->dev, res);
regs              839 drivers/mtd/nand/raw/vf610_nfc.c 	if (IS_ERR(nfc->regs))
regs              840 drivers/mtd/nand/raw/vf610_nfc.c 		return PTR_ERR(nfc->regs);
regs              108 drivers/mtd/spi-nor/aspeed-smc.c 	void __iomem *regs;			/* controller registers */
regs              198 drivers/mtd/spi-nor/aspeed-smc.c 	((controller)->regs + SEGMENT_ADDR_REG0 + (cs) * 4)
regs              266 drivers/mtd/spi-nor/aspeed-smc.c 	reg = readl(controller->regs + CONFIG_REG);
regs              272 drivers/mtd/spi-nor/aspeed-smc.c 		controller->regs + CONFIG_REG, reg);
regs              274 drivers/mtd/spi-nor/aspeed-smc.c 	writel(reg, controller->regs + CONFIG_REG);
regs              600 drivers/mtd/spi-nor/aspeed-smc.c 	reg = readl(controller->regs + CONFIG_REG);
regs              603 drivers/mtd/spi-nor/aspeed-smc.c 	writel(reg, controller->regs + CONFIG_REG);
regs              613 drivers/mtd/spi-nor/aspeed-smc.c 	reg = readl(controller->regs + CONFIG_REG);
regs              616 drivers/mtd/spi-nor/aspeed-smc.c 	writel(reg, controller->regs + CONFIG_REG);
regs              629 drivers/mtd/spi-nor/aspeed-smc.c 	reg = readl(controller->regs + CE_CONTROL_REG);
regs              631 drivers/mtd/spi-nor/aspeed-smc.c 	writel(reg, controller->regs + CE_CONTROL_REG);
regs              799 drivers/mtd/spi-nor/aspeed-smc.c 		chip->ctl = controller->regs + info->ctl0 + cs * 4;
regs              874 drivers/mtd/spi-nor/aspeed-smc.c 	controller->regs = devm_ioremap_resource(dev, res);
regs              875 drivers/mtd/spi-nor/aspeed-smc.c 	if (IS_ERR(controller->regs))
regs              876 drivers/mtd/spi-nor/aspeed-smc.c 		return PTR_ERR(controller->regs);
regs              209 drivers/net/can/c_can/c_can.h 	const u16 *regs;
regs               53 drivers/net/can/c_can/c_can_pci.c 	return readw(priv->base + priv->regs[index]);
regs               59 drivers/net/can/c_can/c_can_pci.c 	writew(val, priv->base + priv->regs[index]);
regs               65 drivers/net/can/c_can/c_can_pci.c 	return readw(priv->base + 2 * priv->regs[index]);
regs               71 drivers/net/can/c_can/c_can_pci.c 	writew(val, priv->base + 2 * priv->regs[index]);
regs               77 drivers/net/can/c_can/c_can_pci.c 	return (u16)ioread32(priv->base + 2 * priv->regs[index]);
regs               83 drivers/net/can/c_can/c_can_pci.c 	iowrite32((u32)val, priv->base + 2 * priv->regs[index]);
regs              177 drivers/net/can/c_can/c_can_pci.c 		priv->regs = reg_map_c_can;
regs              180 drivers/net/can/c_can/c_can_pci.c 		priv->regs = reg_map_d_can;
regs              220 drivers/net/can/c_can/c_can_pci.c 		 KBUILD_MODNAME, priv->regs, dev->irq);
regs               53 drivers/net/can/c_can/c_can_platform.c 	return readw(priv->base + priv->regs[index]);
regs               59 drivers/net/can/c_can/c_can_platform.c 	writew(val, priv->base + priv->regs[index]);
regs               65 drivers/net/can/c_can/c_can_platform.c 	return readw(priv->base + 2 * priv->regs[index]);
regs               71 drivers/net/can/c_can/c_can_platform.c 	writew(val, priv->base + 2 * priv->regs[index]);
regs              161 drivers/net/can/c_can/c_can_platform.c 	return readl(priv->base + priv->regs[index]);
regs              167 drivers/net/can/c_can/c_can_platform.c 	writel(val, priv->base + priv->regs[index]);
regs              304 drivers/net/can/c_can/c_can_platform.c 		priv->regs = reg_map_c_can;
regs              322 drivers/net/can/c_can/c_can_platform.c 		priv->regs = reg_map_d_can;
regs              272 drivers/net/can/flexcan.c 	struct flexcan_regs __iomem *regs;
regs              382 drivers/net/can/flexcan.c 	bank_size = sizeof(priv->regs->mb[0]) / priv->mb_size;
regs              389 drivers/net/can/flexcan.c 		(&priv->regs->mb[bank][priv->mb_size * mb_index]);
regs              394 drivers/net/can/flexcan.c 	struct flexcan_regs __iomem *regs = priv->regs;
regs              397 drivers/net/can/flexcan.c 	while (timeout-- && !(priv->read(&regs->mcr) & FLEXCAN_MCR_LPM_ACK))
regs              400 drivers/net/can/flexcan.c 	if (!(priv->read(&regs->mcr) & FLEXCAN_MCR_LPM_ACK))
regs              408 drivers/net/can/flexcan.c 	struct flexcan_regs __iomem *regs = priv->regs;
regs              411 drivers/net/can/flexcan.c 	while (timeout-- && (priv->read(&regs->mcr) & FLEXCAN_MCR_LPM_ACK))
regs              414 drivers/net/can/flexcan.c 	if (priv->read(&regs->mcr) & FLEXCAN_MCR_LPM_ACK)
regs              422 drivers/net/can/flexcan.c 	struct flexcan_regs __iomem *regs = priv->regs;
regs              425 drivers/net/can/flexcan.c 	reg_mcr = priv->read(&regs->mcr);
regs              432 drivers/net/can/flexcan.c 	priv->write(reg_mcr, &regs->mcr);
regs              437 drivers/net/can/flexcan.c 	struct flexcan_regs __iomem *regs = priv->regs;
regs              440 drivers/net/can/flexcan.c 	reg_mcr = priv->read(&regs->mcr);
regs              442 drivers/net/can/flexcan.c 	priv->write(reg_mcr, &regs->mcr);
regs              453 drivers/net/can/flexcan.c 	struct flexcan_regs __iomem *regs = priv->regs;
regs              461 drivers/net/can/flexcan.c 	reg_mcr = priv->read(&regs->mcr);
regs              463 drivers/net/can/flexcan.c 	priv->write(reg_mcr, &regs->mcr);
regs              470 drivers/net/can/flexcan.c 	struct flexcan_regs __iomem *regs = priv->regs;
regs              473 drivers/net/can/flexcan.c 	priv->write(reg_ctrl, &regs->ctrl);
regs              478 drivers/net/can/flexcan.c 	struct flexcan_regs __iomem *regs = priv->regs;
regs              481 drivers/net/can/flexcan.c 	priv->write(reg_ctrl, &regs->ctrl);
regs              523 drivers/net/can/flexcan.c 	struct flexcan_regs __iomem *regs = priv->regs;
regs              526 drivers/net/can/flexcan.c 	reg = priv->read(&regs->mcr);
regs              528 drivers/net/can/flexcan.c 	priv->write(reg, &regs->mcr);
regs              535 drivers/net/can/flexcan.c 	struct flexcan_regs __iomem *regs = priv->regs;
regs              538 drivers/net/can/flexcan.c 	reg = priv->read(&regs->mcr);
regs              540 drivers/net/can/flexcan.c 	priv->write(reg, &regs->mcr);
regs              547 drivers/net/can/flexcan.c 	struct flexcan_regs __iomem *regs = priv->regs;
regs              551 drivers/net/can/flexcan.c 	reg = priv->read(&regs->mcr);
regs              553 drivers/net/can/flexcan.c 	priv->write(reg, &regs->mcr);
regs              555 drivers/net/can/flexcan.c 	while (timeout-- && !(priv->read(&regs->mcr) & FLEXCAN_MCR_FRZ_ACK))
regs              558 drivers/net/can/flexcan.c 	if (!(priv->read(&regs->mcr) & FLEXCAN_MCR_FRZ_ACK))
regs              566 drivers/net/can/flexcan.c 	struct flexcan_regs __iomem *regs = priv->regs;
regs              570 drivers/net/can/flexcan.c 	reg = priv->read(&regs->mcr);
regs              572 drivers/net/can/flexcan.c 	priv->write(reg, &regs->mcr);
regs              574 drivers/net/can/flexcan.c 	while (timeout-- && (priv->read(&regs->mcr) & FLEXCAN_MCR_FRZ_ACK))
regs              577 drivers/net/can/flexcan.c 	if (priv->read(&regs->mcr) & FLEXCAN_MCR_FRZ_ACK)
regs              585 drivers/net/can/flexcan.c 	struct flexcan_regs __iomem *regs = priv->regs;
regs              588 drivers/net/can/flexcan.c 	priv->write(FLEXCAN_MCR_SOFTRST, &regs->mcr);
regs              589 drivers/net/can/flexcan.c 	while (timeout-- && (priv->read(&regs->mcr) & FLEXCAN_MCR_SOFTRST))
regs              592 drivers/net/can/flexcan.c 	if (priv->read(&regs->mcr) & FLEXCAN_MCR_SOFTRST)
regs              602 drivers/net/can/flexcan.c 	struct flexcan_regs __iomem *regs = priv->regs;
regs              603 drivers/net/can/flexcan.c 	u32 reg = priv->read(&regs->ecr);
regs              676 drivers/net/can/flexcan.c 	struct flexcan_regs __iomem *regs = priv->regs;
regs              683 drivers/net/can/flexcan.c 	timestamp = priv->read(&regs->timer) << 16;
regs              738 drivers/net/can/flexcan.c 	struct flexcan_regs __iomem *regs = priv->regs;
regs              747 drivers/net/can/flexcan.c 	timestamp = priv->read(&regs->timer) << 16;
regs              792 drivers/net/can/flexcan.c 	struct flexcan_regs __iomem *regs = priv->regs;
regs              818 drivers/net/can/flexcan.c 		reg_iflag1 = priv->read(&regs->iflag1);
regs              847 drivers/net/can/flexcan.c 			priv->write(BIT(n), &regs->iflag1);
regs              849 drivers/net/can/flexcan.c 			priv->write(BIT(n - 32), &regs->iflag2);
regs              851 drivers/net/can/flexcan.c 		priv->write(FLEXCAN_IFLAG_RX_FIFO_AVAILABLE, &regs->iflag1);
regs              858 drivers/net/can/flexcan.c 	priv->read(&regs->timer);
regs              866 drivers/net/can/flexcan.c 	struct flexcan_regs __iomem *regs = priv->regs;
regs              869 drivers/net/can/flexcan.c 	iflag2 = priv->read(&regs->iflag2) & priv->reg_imask2_default &
regs              871 drivers/net/can/flexcan.c 	iflag1 = priv->read(&regs->iflag1) & priv->reg_imask1_default;
regs              881 drivers/net/can/flexcan.c 	struct flexcan_regs __iomem *regs = priv->regs;
regs              901 drivers/net/can/flexcan.c 		reg_iflag1 = priv->read(&regs->iflag1);
regs              911 drivers/net/can/flexcan.c 				    &regs->iflag1);
regs              917 drivers/net/can/flexcan.c 	reg_iflag2 = priv->read(&regs->iflag2);
regs              932 drivers/net/can/flexcan.c 		priv->write(FLEXCAN_IFLAG_MB(priv->tx_mb_idx), &regs->iflag2);
regs              936 drivers/net/can/flexcan.c 	reg_esr = priv->read(&regs->esr);
regs              941 drivers/net/can/flexcan.c 		priv->write(reg_esr & FLEXCAN_ESR_ALL_INT, &regs->esr);
regs             1000 drivers/net/can/flexcan.c 	struct flexcan_regs __iomem *regs = priv->regs;
regs             1003 drivers/net/can/flexcan.c 	reg = priv->read(&regs->ctrl);
regs             1027 drivers/net/can/flexcan.c 	priv->write(reg, &regs->ctrl);
regs             1031 drivers/net/can/flexcan.c 		   priv->read(&regs->mcr), priv->read(&regs->ctrl));
regs             1042 drivers/net/can/flexcan.c 	struct flexcan_regs __iomem *regs = priv->regs;
regs             1069 drivers/net/can/flexcan.c 	reg_mcr = priv->read(&regs->mcr);
regs             1104 drivers/net/can/flexcan.c 	priv->write(reg_mcr, &regs->mcr);
regs             1117 drivers/net/can/flexcan.c 	reg_ctrl = priv->read(&regs->ctrl);
regs             1137 drivers/net/can/flexcan.c 	priv->write(reg_ctrl, &regs->ctrl);
regs             1140 drivers/net/can/flexcan.c 		reg_ctrl2 = priv->read(&regs->ctrl2);
regs             1142 drivers/net/can/flexcan.c 		priv->write(reg_ctrl2, &regs->ctrl2);
regs             1169 drivers/net/can/flexcan.c 	priv->write(0x0, &regs->rxgmask);
regs             1170 drivers/net/can/flexcan.c 	priv->write(0x0, &regs->rx14mask);
regs             1171 drivers/net/can/flexcan.c 	priv->write(0x0, &regs->rx15mask);
regs             1174 drivers/net/can/flexcan.c 		priv->write(0x0, &regs->rxfgmask);
regs             1178 drivers/net/can/flexcan.c 		priv->write(0, &regs->rximr[i]);
regs             1191 drivers/net/can/flexcan.c 		reg_ctrl2 = priv->read(&regs->ctrl2);
regs             1193 drivers/net/can/flexcan.c 		priv->write(reg_ctrl2, &regs->ctrl2);
regs             1195 drivers/net/can/flexcan.c 		reg_mecr = priv->read(&regs->mecr);
regs             1197 drivers/net/can/flexcan.c 		priv->write(reg_mecr, &regs->mecr);
regs             1201 drivers/net/can/flexcan.c 		priv->write(reg_mecr, &regs->mecr);
regs             1217 drivers/net/can/flexcan.c 	priv->write(priv->reg_ctrl_default, &regs->ctrl);
regs             1218 drivers/net/can/flexcan.c 	priv->write(priv->reg_imask1_default, &regs->imask1);
regs             1219 drivers/net/can/flexcan.c 	priv->write(priv->reg_imask2_default, &regs->imask2);
regs             1224 drivers/net/can/flexcan.c 		   priv->read(&regs->mcr), priv->read(&regs->ctrl));
regs             1242 drivers/net/can/flexcan.c 	struct flexcan_regs __iomem *regs = priv->regs;
regs             1249 drivers/net/can/flexcan.c 	priv->write(0, &regs->imask2);
regs             1250 drivers/net/can/flexcan.c 	priv->write(0, &regs->imask1);
regs             1252 drivers/net/can/flexcan.c 		    &regs->ctrl);
regs             1276 drivers/net/can/flexcan.c 	priv->mb_count = (sizeof(priv->regs->mb[0]) / priv->mb_size) +
regs             1277 drivers/net/can/flexcan.c 			 (sizeof(priv->regs->mb[1]) / priv->mb_size);
regs             1387 drivers/net/can/flexcan.c 	struct flexcan_regs __iomem *regs = priv->regs;
regs             1399 drivers/net/can/flexcan.c 	reg = priv->read(&regs->ctrl);
regs             1404 drivers/net/can/flexcan.c 	priv->write(reg, &regs->ctrl);
regs             1411 drivers/net/can/flexcan.c 	reg = priv->read(&regs->mcr);
regs             1414 drivers/net/can/flexcan.c 	priv->write(reg, &regs->mcr);
regs             1421 drivers/net/can/flexcan.c 	reg = priv->read(&regs->mcr);
regs             1540 drivers/net/can/flexcan.c 	struct flexcan_regs __iomem *regs;
regs             1578 drivers/net/can/flexcan.c 	regs = devm_ioremap_resource(&pdev->dev, mem);
regs             1579 drivers/net/can/flexcan.c 	if (IS_ERR(regs))
regs             1580 drivers/net/can/flexcan.c 		return PTR_ERR(regs);
regs             1622 drivers/net/can/flexcan.c 	priv->regs = regs;
regs              253 drivers/net/can/grcan.c 	struct grcan_registers __iomem *regs;	/* ioremap'ed registers */
regs              406 drivers/net/can/grcan.c 	struct grcan_registers __iomem *regs = priv->regs;
regs              414 drivers/net/can/grcan.c 	if (grcan_read_bits(&regs->ctrl, GRCAN_CTRL_ENABLE))
regs              441 drivers/net/can/grcan.c 	grcan_write_bits(&regs->conf, timing, GRCAN_CONF_TIMING);
regs              450 drivers/net/can/grcan.c 	struct grcan_registers __iomem *regs = priv->regs;
regs              451 drivers/net/can/grcan.c 	u32 status = grcan_read_reg(&regs->stat);
regs              464 drivers/net/can/grcan.c 	struct grcan_registers __iomem *regs = priv->regs;
regs              465 drivers/net/can/grcan.c 	u32 config = grcan_read_reg(&regs->conf);
regs              467 drivers/net/can/grcan.c 	grcan_set_bits(&regs->ctrl, GRCAN_CTRL_RESET);
regs              468 drivers/net/can/grcan.c 	grcan_write_reg(&regs->conf, config);
regs              470 drivers/net/can/grcan.c 	priv->eskbp = grcan_read_reg(&regs->txrd);
regs              474 drivers/net/can/grcan.c 	grcan_write_reg(&regs->rxmask, 0);
regs              481 drivers/net/can/grcan.c 	struct grcan_registers __iomem *regs = priv->regs;
regs              483 drivers/net/can/grcan.c 	grcan_write_reg(&regs->imr, GRCAN_IRQ_NONE);
regs              484 drivers/net/can/grcan.c 	grcan_clear_bits(&regs->txctrl, GRCAN_TXCTRL_ENABLE);
regs              485 drivers/net/can/grcan.c 	grcan_clear_bits(&regs->rxctrl, GRCAN_RXCTRL_ENABLE);
regs              486 drivers/net/can/grcan.c 	grcan_clear_bits(&regs->ctrl, GRCAN_CTRL_ENABLE);
regs              500 drivers/net/can/grcan.c 	struct grcan_registers __iomem *regs = priv->regs;
regs              509 drivers/net/can/grcan.c 	u32 txrd = grcan_read_reg(&regs->txrd);
regs              528 drivers/net/can/grcan.c 		txrd = grcan_read_reg(&regs->txrd);
regs              536 drivers/net/can/grcan.c 	struct grcan_registers __iomem *regs = priv->regs;
regs              545 drivers/net/can/grcan.c 	if (unlikely(grcan_read_bits(&regs->txctrl, GRCAN_TXCTRL_ENABLE))) {
regs              557 drivers/net/can/grcan.c 		txrd = grcan_read_reg(&regs->txrd);
regs              559 drivers/net/can/grcan.c 		grcan_write_reg(&regs->txrd, txrd);
regs              565 drivers/net/can/grcan.c 			grcan_set_bits(&regs->txctrl, GRCAN_TXCTRL_ENABLE);
regs              575 drivers/net/can/grcan.c 	struct grcan_registers __iomem *regs = priv->regs;
regs              693 drivers/net/can/grcan.c 				u32 txwr = grcan_read_reg(&regs->txwr);
regs              765 drivers/net/can/grcan.c 	struct grcan_registers __iomem *regs = priv->regs;
regs              769 drivers/net/can/grcan.c 	sources = grcan_read_reg(&regs->pimsr);
regs              772 drivers/net/can/grcan.c 	grcan_write_reg(&regs->picr, sources);
regs              773 drivers/net/can/grcan.c 	status = grcan_read_reg(&regs->stat);
regs              789 drivers/net/can/grcan.c 		grcan_clear_bits(&regs->imr, GRCAN_IRQ_TX | GRCAN_IRQ_RX);
regs              810 drivers/net/can/grcan.c 	struct grcan_registers __iomem *regs = priv->regs;
regs              824 drivers/net/can/grcan.c 		u32 imr = grcan_read_reg(&regs->imr);
regs              826 drivers/net/can/grcan.c 		u32 txaddr = grcan_read_reg(&regs->txaddr);
regs              827 drivers/net/can/grcan.c 		u32 txsize = grcan_read_reg(&regs->txsize);
regs              828 drivers/net/can/grcan.c 		u32 txwr = grcan_read_reg(&regs->txwr);
regs              829 drivers/net/can/grcan.c 		u32 txrd = grcan_read_reg(&regs->txrd);
regs              832 drivers/net/can/grcan.c 		u32 rxaddr = grcan_read_reg(&regs->rxaddr);
regs              833 drivers/net/can/grcan.c 		u32 rxsize = grcan_read_reg(&regs->rxsize);
regs              834 drivers/net/can/grcan.c 		u32 rxwr = grcan_read_reg(&regs->rxwr);
regs              835 drivers/net/can/grcan.c 		u32 rxrd = grcan_read_reg(&regs->rxrd);
regs              840 drivers/net/can/grcan.c 		grcan_write_reg(&regs->txaddr, txaddr);
regs              841 drivers/net/can/grcan.c 		grcan_write_reg(&regs->txsize, txsize);
regs              842 drivers/net/can/grcan.c 		grcan_write_reg(&regs->txwr, txwr);
regs              843 drivers/net/can/grcan.c 		grcan_write_reg(&regs->txrd, txrd);
regs              846 drivers/net/can/grcan.c 		grcan_write_reg(&regs->rxaddr, rxaddr);
regs              847 drivers/net/can/grcan.c 		grcan_write_reg(&regs->rxsize, rxsize);
regs              848 drivers/net/can/grcan.c 		grcan_write_reg(&regs->rxwr, rxwr);
regs              849 drivers/net/can/grcan.c 		grcan_write_reg(&regs->rxrd, rxrd);
regs              852 drivers/net/can/grcan.c 		grcan_write_reg(&regs->imr, imr);
regs              854 drivers/net/can/grcan.c 		grcan_write_reg(&regs->txctrl, GRCAN_TXCTRL_ENABLE
regs              857 drivers/net/can/grcan.c 		grcan_write_reg(&regs->rxctrl, GRCAN_RXCTRL_ENABLE);
regs              858 drivers/net/can/grcan.c 		grcan_write_reg(&regs->ctrl, GRCAN_CTRL_ENABLE);
regs              901 drivers/net/can/grcan.c 	struct grcan_registers __iomem *regs = priv->regs;
regs              914 drivers/net/can/grcan.c 		grcan_clear_bits(&regs->txctrl, GRCAN_TXCTRL_ENABLE);
regs              915 drivers/net/can/grcan.c 		grcan_clear_bits(&regs->rxctrl, GRCAN_RXCTRL_ENABLE);
regs              977 drivers/net/can/grcan.c 	struct grcan_registers __iomem *regs = priv->regs;
regs              982 drivers/net/can/grcan.c 	grcan_write_reg(&regs->txaddr, priv->dma.tx.handle);
regs              983 drivers/net/can/grcan.c 	grcan_write_reg(&regs->txsize, priv->dma.tx.size);
regs              986 drivers/net/can/grcan.c 	grcan_write_reg(&regs->rxaddr, priv->dma.rx.handle);
regs              987 drivers/net/can/grcan.c 	grcan_write_reg(&regs->rxsize, priv->dma.rx.size);
regs              991 drivers/net/can/grcan.c 	grcan_read_reg(&regs->pir);
regs              992 drivers/net/can/grcan.c 	grcan_write_reg(&regs->imr, GRCAN_IRQ_DEFAULT);
regs             1003 drivers/net/can/grcan.c 	grcan_write_bits(&regs->conf, confop, GRCAN_CONF_OPERATION);
regs             1007 drivers/net/can/grcan.c 	grcan_write_reg(&regs->txctrl, txctrl);
regs             1008 drivers/net/can/grcan.c 	grcan_write_reg(&regs->rxctrl, GRCAN_RXCTRL_ENABLE);
regs             1009 drivers/net/can/grcan.c 	grcan_write_reg(&regs->ctrl, GRCAN_CTRL_ENABLE);
regs             1166 drivers/net/can/grcan.c 	struct grcan_registers __iomem *regs = priv->regs;
regs             1176 drivers/net/can/grcan.c 	rd = grcan_read_reg(&regs->rxrd);
regs             1180 drivers/net/can/grcan.c 		wr = grcan_read_reg(&regs->rxwr);
regs             1231 drivers/net/can/grcan.c 		grcan_write_reg(&regs->rxrd, rd);
regs             1240 drivers/net/can/grcan.c 	struct grcan_registers __iomem *regs = priv->regs;
regs             1266 drivers/net/can/grcan.c 		grcan_set_bits(&regs->imr, GRCAN_IRQ_TX | GRCAN_IRQ_RX);
regs             1285 drivers/net/can/grcan.c 	struct grcan_registers __iomem *regs = priv->regs;
regs             1297 drivers/net/can/grcan.c 		if (!grcan_read_bits(&regs->txctrl, GRCAN_TXCTRL_ONGOING) ||
regs             1298 drivers/net/can/grcan.c 		    grcan_read_reg(&regs->txrd) == txwr) {
regs             1352 drivers/net/can/grcan.c 	struct grcan_registers __iomem *regs = priv->regs;
regs             1378 drivers/net/can/grcan.c 	txwr = grcan_read_reg(&regs->txwr);
regs             1421 drivers/net/can/grcan.c 	txctrl = grcan_read_reg(&regs->txctrl);
regs             1433 drivers/net/can/grcan.c 		txrd = grcan_read_reg(&regs->txrd);
regs             1459 drivers/net/can/grcan.c 	grcan_write_reg(&regs->txwr,
regs             1587 drivers/net/can/grcan.c 	struct grcan_registers __iomem *regs;
regs             1603 drivers/net/can/grcan.c 	priv->regs = base;
regs             1614 drivers/net/can/grcan.c 	regs = priv->regs;
regs             1615 drivers/net/can/grcan.c 	grcan_set_bits(&regs->ctrl, GRCAN_CTRL_RESET);
regs             1616 drivers/net/can/grcan.c 	grcan_set_bits(&regs->conf, GRCAN_CONF_SAM);
regs             1617 drivers/net/can/grcan.c 	if (grcan_read_bits(&regs->conf, GRCAN_CONF_SAM)) {
regs             1633 drivers/net/can/grcan.c 		 priv->regs, dev->irq, priv->can.clock.freq);
regs             1644 drivers/net/can/grcan.c 	grcan_write_reg(&regs->ctrl, GRCAN_CTRL_RESET);
regs              379 drivers/net/can/mscan/mpc5xxx_can.c 	struct mscan_regs *regs = (struct mscan_regs *)priv->reg_base;
regs              381 drivers/net/can/mscan/mpc5xxx_can.c 	_memcpy_fromio(&saved_regs, regs, sizeof(*regs));
regs              390 drivers/net/can/mscan/mpc5xxx_can.c 	struct mscan_regs *regs = (struct mscan_regs *)priv->reg_base;
regs              392 drivers/net/can/mscan/mpc5xxx_can.c 	regs->canctl0 |= MSCAN_INITRQ;
regs              393 drivers/net/can/mscan/mpc5xxx_can.c 	while (!(regs->canctl1 & MSCAN_INITAK))
regs              396 drivers/net/can/mscan/mpc5xxx_can.c 	regs->canctl1 = saved_regs.canctl1;
regs              397 drivers/net/can/mscan/mpc5xxx_can.c 	regs->canbtr0 = saved_regs.canbtr0;
regs              398 drivers/net/can/mscan/mpc5xxx_can.c 	regs->canbtr1 = saved_regs.canbtr1;
regs              399 drivers/net/can/mscan/mpc5xxx_can.c 	regs->canidac = saved_regs.canidac;
regs              402 drivers/net/can/mscan/mpc5xxx_can.c 	_memcpy_toio(&regs->canidar1_0, (void *)&saved_regs.canidar1_0,
regs              403 drivers/net/can/mscan/mpc5xxx_can.c 		     sizeof(*regs) - offsetof(struct mscan_regs, canidar1_0));
regs              405 drivers/net/can/mscan/mpc5xxx_can.c 	regs->canctl0 &= ~MSCAN_INITRQ;
regs              406 drivers/net/can/mscan/mpc5xxx_can.c 	regs->cantbsel = saved_regs.cantbsel;
regs              407 drivers/net/can/mscan/mpc5xxx_can.c 	regs->canrier = saved_regs.canrier;
regs              408 drivers/net/can/mscan/mpc5xxx_can.c 	regs->cantier = saved_regs.cantier;
regs              409 drivers/net/can/mscan/mpc5xxx_can.c 	regs->canctl0 = saved_regs.canctl0;
regs               53 drivers/net/can/mscan/mscan.c 	struct mscan_regs __iomem *regs = priv->reg_base;
regs               61 drivers/net/can/mscan/mscan.c 			out_8(&regs->cantarq, priv->tx_active);
regs               63 drivers/net/can/mscan/mscan.c 			out_8(&regs->cantier, 0);
regs               66 drivers/net/can/mscan/mscan.c 		canctl1 = in_8(&regs->canctl1);
regs               68 drivers/net/can/mscan/mscan.c 			setbits8(&regs->canctl0, MSCAN_SLPRQ);
regs               70 drivers/net/can/mscan/mscan.c 				if (in_8(&regs->canctl1) & MSCAN_SLPAK)
regs               94 drivers/net/can/mscan/mscan.c 			setbits8(&regs->canctl0, MSCAN_INITRQ);
regs               96 drivers/net/can/mscan/mscan.c 				if (in_8(&regs->canctl1) & MSCAN_INITAK)
regs              106 drivers/net/can/mscan/mscan.c 			setbits8(&regs->canctl0, MSCAN_CSWAI);
regs              109 drivers/net/can/mscan/mscan.c 		canctl1 = in_8(&regs->canctl1);
regs              111 drivers/net/can/mscan/mscan.c 			clrbits8(&regs->canctl0, MSCAN_SLPRQ | MSCAN_INITRQ);
regs              113 drivers/net/can/mscan/mscan.c 				canctl1 = in_8(&regs->canctl1);
regs              129 drivers/net/can/mscan/mscan.c 	struct mscan_regs __iomem *regs = priv->reg_base;
regs              133 drivers/net/can/mscan/mscan.c 	out_8(&regs->canrier, 0);
regs              144 drivers/net/can/mscan/mscan.c 		if (in_8(&regs->canmisc) & MSCAN_BOHOLD)
regs              145 drivers/net/can/mscan/mscan.c 			out_8(&regs->canmisc, MSCAN_BOHOLD);
regs              152 drivers/net/can/mscan/mscan.c 	canrflg = in_8(&regs->canrflg);
regs              156 drivers/net/can/mscan/mscan.c 	out_8(&regs->cantier, 0);
regs              159 drivers/net/can/mscan/mscan.c 	out_8(&regs->canrier, MSCAN_RX_INTS_ENABLE);
regs              169 drivers/net/can/mscan/mscan.c 		struct mscan_regs __iomem *regs = priv->reg_base;
regs              172 drivers/net/can/mscan/mscan.c 		WARN(!(in_8(&regs->canmisc) & MSCAN_BOHOLD),
regs              174 drivers/net/can/mscan/mscan.c 		out_8(&regs->canmisc, MSCAN_BOHOLD);
regs              176 drivers/net/can/mscan/mscan.c 		out_8(&regs->canrier, MSCAN_RX_INTS_ENABLE);
regs              190 drivers/net/can/mscan/mscan.c 	struct mscan_regs __iomem *regs = priv->reg_base;
regs              197 drivers/net/can/mscan/mscan.c 	out_8(&regs->cantier, 0);
regs              224 drivers/net/can/mscan/mscan.c 	out_8(&regs->cantbsel, i);
regs              234 drivers/net/can/mscan/mscan.c 		out_be16(&regs->tx.idr3_2, can_id);
regs              246 drivers/net/can/mscan/mscan.c 	out_be16(&regs->tx.idr1_0, can_id);
regs              249 drivers/net/can/mscan/mscan.c 		void __iomem *data = &regs->tx.dsr1_0;
regs              261 drivers/net/can/mscan/mscan.c 	out_8(&regs->tx.dlr, frame->can_dlc);
regs              262 drivers/net/can/mscan/mscan.c 	out_8(&regs->tx.tbpr, priv->cur_pri);
regs              265 drivers/net/can/mscan/mscan.c 	out_8(&regs->cantflg, 1 << buf_id);
regs              276 drivers/net/can/mscan/mscan.c 	out_8(&regs->cantier, priv->tx_active);
regs              295 drivers/net/can/mscan/mscan.c 	struct mscan_regs __iomem *regs = priv->reg_base;
regs              299 drivers/net/can/mscan/mscan.c 	can_id = in_be16(&regs->rx.idr1_0);
regs              302 drivers/net/can/mscan/mscan.c 		can_id = ((can_id << 16) | in_be16(&regs->rx.idr3_2));
regs              314 drivers/net/can/mscan/mscan.c 	frame->can_dlc = get_can_dlc(in_8(&regs->rx.dlr) & 0xf);
regs              317 drivers/net/can/mscan/mscan.c 		void __iomem *data = &regs->rx.dsr1_0;
regs              329 drivers/net/can/mscan/mscan.c 	out_8(&regs->canrflg, MSCAN_RXF);
regs              336 drivers/net/can/mscan/mscan.c 	struct mscan_regs __iomem *regs = priv->reg_base;
regs              365 drivers/net/can/mscan/mscan.c 				out_8(&regs->cantier, 0);
regs              366 drivers/net/can/mscan/mscan.c 				out_8(&regs->canrier, 0);
regs              367 drivers/net/can/mscan/mscan.c 				setbits8(&regs->canctl0,
regs              375 drivers/net/can/mscan/mscan.c 	out_8(&regs->canrflg, MSCAN_ERR_IF);
regs              382 drivers/net/can/mscan/mscan.c 	struct mscan_regs __iomem *regs = priv->reg_base;
regs              390 drivers/net/can/mscan/mscan.c 		canrflg = in_8(&regs->canrflg);
regs              399 drivers/net/can/mscan/mscan.c 			out_8(&regs->canrflg, canrflg);
regs              418 drivers/net/can/mscan/mscan.c 				out_8(&regs->canrier, priv->shadow_canrier);
regs              428 drivers/net/can/mscan/mscan.c 	struct mscan_regs __iomem *regs = priv->reg_base;
regs              433 drivers/net/can/mscan/mscan.c 	cantier = in_8(&regs->cantier) & MSCAN_TXE;
regs              434 drivers/net/can/mscan/mscan.c 	cantflg = in_8(&regs->cantflg) & cantier;
regs              447 drivers/net/can/mscan/mscan.c 			out_8(&regs->cantbsel, mask);
regs              448 drivers/net/can/mscan/mscan.c 			stats->tx_bytes += in_8(&regs->tx.dlr);
regs              466 drivers/net/can/mscan/mscan.c 		out_8(&regs->cantier, priv->tx_active);
regs              470 drivers/net/can/mscan/mscan.c 	canrflg = in_8(&regs->canrflg);
regs              474 drivers/net/can/mscan/mscan.c 			priv->shadow_canrier = in_8(&regs->canrier);
regs              475 drivers/net/can/mscan/mscan.c 			out_8(&regs->canrier, 0);
regs              508 drivers/net/can/mscan/mscan.c 	struct mscan_regs __iomem *regs = priv->reg_base;
regs              519 drivers/net/can/mscan/mscan.c 	out_8(&regs->canbtr0, btr0);
regs              520 drivers/net/can/mscan/mscan.c 	out_8(&regs->canbtr1, btr1);
regs              529 drivers/net/can/mscan/mscan.c 	struct mscan_regs __iomem *regs = priv->reg_base;
regs              531 drivers/net/can/mscan/mscan.c 	bec->txerr = in_8(&regs->cantxerr);
regs              532 drivers/net/can/mscan/mscan.c 	bec->rxerr = in_8(&regs->canrxerr);
regs              541 drivers/net/can/mscan/mscan.c 	struct mscan_regs __iomem *regs = priv->reg_base;
regs              568 drivers/net/can/mscan/mscan.c 		setbits8(&regs->canctl1, MSCAN_LISTEN);
regs              570 drivers/net/can/mscan/mscan.c 		clrbits8(&regs->canctl1, MSCAN_LISTEN);
regs              598 drivers/net/can/mscan/mscan.c 	struct mscan_regs __iomem *regs = priv->reg_base;
regs              603 drivers/net/can/mscan/mscan.c 	out_8(&regs->cantier, 0);
regs              604 drivers/net/can/mscan/mscan.c 	out_8(&regs->canrier, 0);
regs              627 drivers/net/can/mscan/mscan.c 	struct mscan_regs __iomem *regs = priv->reg_base;
regs              630 drivers/net/can/mscan/mscan.c 	ctl1 = in_8(&regs->canctl1);
regs              642 drivers/net/can/mscan/mscan.c 	out_8(&regs->canctl1, ctl1);
regs              646 drivers/net/can/mscan/mscan.c 	out_be16(&regs->canidar1_0, 0);
regs              647 drivers/net/can/mscan/mscan.c 	out_be16(&regs->canidar3_2, 0);
regs              648 drivers/net/can/mscan/mscan.c 	out_be16(&regs->canidar5_4, 0);
regs              649 drivers/net/can/mscan/mscan.c 	out_be16(&regs->canidar7_6, 0);
regs              651 drivers/net/can/mscan/mscan.c 	out_be16(&regs->canidmr1_0, 0xffff);
regs              652 drivers/net/can/mscan/mscan.c 	out_be16(&regs->canidmr3_2, 0xffff);
regs              653 drivers/net/can/mscan/mscan.c 	out_be16(&regs->canidmr5_4, 0xffff);
regs              654 drivers/net/can/mscan/mscan.c 	out_be16(&regs->canidmr7_6, 0xffff);
regs              656 drivers/net/can/mscan/mscan.c 	out_8(&regs->canidac, MSCAN_AF_32BIT);
regs              666 drivers/net/can/mscan/mscan.c 	struct mscan_regs __iomem *regs = priv->reg_base;
regs              668 drivers/net/can/mscan/mscan.c 	clrbits8(&regs->canctl1, MSCAN_CANE);
regs              168 drivers/net/can/pch_can.c 	struct pch_can_regs __iomem *regs;
regs              207 drivers/net/can/pch_can.c 		pch_can_bit_clear(&priv->regs->cont, PCH_CTRL_INIT);
regs              211 drivers/net/can/pch_can.c 		pch_can_bit_set(&priv->regs->cont, PCH_CTRL_INIT);
regs              222 drivers/net/can/pch_can.c 	u32 reg_val = ioread32(&priv->regs->opt);
regs              230 drivers/net/can/pch_can.c 	pch_can_bit_set(&priv->regs->cont, PCH_CTRL_OPT);
regs              231 drivers/net/can/pch_can.c 	iowrite32(reg_val, &priv->regs->opt);
regs              256 drivers/net/can/pch_can.c 		pch_can_bit_clear(&priv->regs->cont, PCH_CTRL_IE);
regs              260 drivers/net/can/pch_can.c 		pch_can_bit_set(&priv->regs->cont, PCH_CTRL_IE_SIE_EIE);
regs              264 drivers/net/can/pch_can.c 		pch_can_bit_clear(&priv->regs->cont, PCH_CTRL_IE_SIE_EIE);
regs              284 drivers/net/can/pch_can.c 	iowrite32(PCH_CMASK_RX_TX_GET, &priv->regs->ifregs[dir].cmask);
regs              285 drivers/net/can/pch_can.c 	pch_can_rw_msg_obj(&priv->regs->ifregs[dir].creq, buff_num);
regs              289 drivers/net/can/pch_can.c 		  &priv->regs->ifregs[dir].cmask);
regs              293 drivers/net/can/pch_can.c 		pch_can_bit_set(&priv->regs->ifregs[dir].mcont, ie);
regs              294 drivers/net/can/pch_can.c 		pch_can_bit_set(&priv->regs->ifregs[dir].id2, PCH_ID_MSGVAL);
regs              297 drivers/net/can/pch_can.c 		pch_can_bit_clear(&priv->regs->ifregs[dir].mcont, ie);
regs              298 drivers/net/can/pch_can.c 		pch_can_bit_clear(&priv->regs->ifregs[dir].id2, PCH_ID_MSGVAL);
regs              301 drivers/net/can/pch_can.c 	pch_can_rw_msg_obj(&priv->regs->ifregs[dir].creq, buff_num);
regs              324 drivers/net/can/pch_can.c 	return ioread32(&priv->regs->intr) & 0xffff;
regs              332 drivers/net/can/pch_can.c 		iowrite32(PCH_CMASK_RX_TX_SET, &priv->regs->ifregs[0].cmask);
regs              333 drivers/net/can/pch_can.c 		iowrite32(0xffff, &priv->regs->ifregs[0].mask1);
regs              334 drivers/net/can/pch_can.c 		iowrite32(0xffff, &priv->regs->ifregs[0].mask2);
regs              335 drivers/net/can/pch_can.c 		iowrite32(0x0, &priv->regs->ifregs[0].id1);
regs              336 drivers/net/can/pch_can.c 		iowrite32(0x0, &priv->regs->ifregs[0].id2);
regs              337 drivers/net/can/pch_can.c 		iowrite32(0x0, &priv->regs->ifregs[0].mcont);
regs              338 drivers/net/can/pch_can.c 		iowrite32(0x0, &priv->regs->ifregs[0].data[0]);
regs              339 drivers/net/can/pch_can.c 		iowrite32(0x0, &priv->regs->ifregs[0].data[1]);
regs              340 drivers/net/can/pch_can.c 		iowrite32(0x0, &priv->regs->ifregs[0].data[2]);
regs              341 drivers/net/can/pch_can.c 		iowrite32(0x0, &priv->regs->ifregs[0].data[3]);
regs              344 drivers/net/can/pch_can.c 			  &priv->regs->ifregs[0].cmask);
regs              345 drivers/net/can/pch_can.c 		pch_can_rw_msg_obj(&priv->regs->ifregs[0].creq, i);
regs              354 drivers/net/can/pch_can.c 		iowrite32(PCH_CMASK_RX_TX_GET, &priv->regs->ifregs[0].cmask);
regs              355 drivers/net/can/pch_can.c 		pch_can_rw_msg_obj(&priv->regs->ifregs[0].creq, i);
regs              357 drivers/net/can/pch_can.c 		iowrite32(0x0, &priv->regs->ifregs[0].id1);
regs              358 drivers/net/can/pch_can.c 		iowrite32(0x0, &priv->regs->ifregs[0].id2);
regs              360 drivers/net/can/pch_can.c 		pch_can_bit_set(&priv->regs->ifregs[0].mcont,
regs              365 drivers/net/can/pch_can.c 			pch_can_bit_set(&priv->regs->ifregs[0].mcont,
regs              368 drivers/net/can/pch_can.c 			pch_can_bit_clear(&priv->regs->ifregs[0].mcont,
regs              371 drivers/net/can/pch_can.c 		iowrite32(0, &priv->regs->ifregs[0].mask1);
regs              372 drivers/net/can/pch_can.c 		pch_can_bit_clear(&priv->regs->ifregs[0].mask2,
regs              377 drivers/net/can/pch_can.c 			  PCH_CMASK_CTRL, &priv->regs->ifregs[0].cmask);
regs              379 drivers/net/can/pch_can.c 		pch_can_rw_msg_obj(&priv->regs->ifregs[0].creq, i);
regs              383 drivers/net/can/pch_can.c 		iowrite32(PCH_CMASK_RX_TX_GET, &priv->regs->ifregs[1].cmask);
regs              384 drivers/net/can/pch_can.c 		pch_can_rw_msg_obj(&priv->regs->ifregs[1].creq, i);
regs              387 drivers/net/can/pch_can.c 		iowrite32(0x0, &priv->regs->ifregs[1].id1);
regs              388 drivers/net/can/pch_can.c 		iowrite32(PCH_ID2_DIR, &priv->regs->ifregs[1].id2);
regs              392 drivers/net/can/pch_can.c 			  &priv->regs->ifregs[1].mcont);
regs              394 drivers/net/can/pch_can.c 		iowrite32(0, &priv->regs->ifregs[1].mask1);
regs              395 drivers/net/can/pch_can.c 		pch_can_bit_clear(&priv->regs->ifregs[1].mask2, 0x1fff);
regs              399 drivers/net/can/pch_can.c 			  PCH_CMASK_CTRL, &priv->regs->ifregs[1].cmask);
regs              401 drivers/net/can/pch_can.c 		pch_can_rw_msg_obj(&priv->regs->ifregs[1].creq, i);
regs              442 drivers/net/can/pch_can.c 			  &priv->regs->ifregs[0].cmask);
regs              445 drivers/net/can/pch_can.c 		pch_can_bit_clear(&priv->regs->ifregs[0].id2, PCH_ID2_DIR);
regs              448 drivers/net/can/pch_can.c 		pch_can_bit_clear(&priv->regs->ifregs[0].mcont,
regs              451 drivers/net/can/pch_can.c 		pch_can_rw_msg_obj(&priv->regs->ifregs[0].creq, mask);
regs              457 drivers/net/can/pch_can.c 			  &priv->regs->ifregs[1].cmask);
regs              460 drivers/net/can/pch_can.c 		pch_can_bit_set(&priv->regs->ifregs[1].id2,
regs              462 drivers/net/can/pch_can.c 		iowrite32(0x0, &priv->regs->ifregs[1].id1);
regs              465 drivers/net/can/pch_can.c 		pch_can_bit_clear(&priv->regs->ifregs[1].mcont,
regs              468 drivers/net/can/pch_can.c 		pch_can_rw_msg_obj(&priv->regs->ifregs[1].creq, mask);
regs              475 drivers/net/can/pch_can.c 	iowrite32(1, &priv->regs->srst);
regs              476 drivers/net/can/pch_can.c 	iowrite32(0, &priv->regs->srst);
regs              501 drivers/net/can/pch_can.c 	errc = ioread32(&priv->regs->errc);
regs              586 drivers/net/can/pch_can.c 			  PCH_CMASK_ARB, &priv->regs->ifregs[0].cmask);
regs              589 drivers/net/can/pch_can.c 		pch_can_bit_clear(&priv->regs->ifregs[0].id2, PCH_ID2_DIR);
regs              592 drivers/net/can/pch_can.c 		pch_can_bit_clear(&priv->regs->ifregs[0].mcont,
regs              594 drivers/net/can/pch_can.c 		pch_can_rw_msg_obj(&priv->regs->ifregs[0].creq, obj_id);
regs              612 drivers/net/can/pch_can.c 	pch_can_bit_clear(&priv->regs->ifregs[0].mcont,
regs              615 drivers/net/can/pch_can.c 		  &priv->regs->ifregs[0].cmask);
regs              616 drivers/net/can/pch_can.c 	pch_can_rw_msg_obj(&priv->regs->ifregs[0].creq, obj_id);
regs              645 drivers/net/can/pch_can.c 		iowrite32(PCH_CMASK_RX_TX_GET, &priv->regs->ifregs[0].cmask);
regs              646 drivers/net/can/pch_can.c 		pch_can_rw_msg_obj(&priv->regs->ifregs[0].creq, obj_num);
regs              649 drivers/net/can/pch_can.c 		reg = ioread32(&priv->regs->ifregs[0].mcont);
regs              673 drivers/net/can/pch_can.c 		id2 = ioread32(&priv->regs->ifregs[0].id2);
regs              675 drivers/net/can/pch_can.c 			id = (ioread32(&priv->regs->ifregs[0].id1) & 0xffff);
regs              686 drivers/net/can/pch_can.c 		cf->can_dlc = get_can_dlc((ioread32(&priv->regs->
regs              690 drivers/net/can/pch_can.c 			data_reg = ioread16(&priv->regs->ifregs[0].data[i / 2]);
regs              716 drivers/net/can/pch_can.c 		  &priv->regs->ifregs[1].cmask);
regs              717 drivers/net/can/pch_can.c 	pch_can_rw_msg_obj(&priv->regs->ifregs[1].creq, int_stat);
regs              718 drivers/net/can/pch_can.c 	dlc = get_can_dlc(ioread32(&priv->regs->ifregs[1].mcont) &
regs              739 drivers/net/can/pch_can.c 		reg_stat = ioread32(&priv->regs->stat);
regs              748 drivers/net/can/pch_can.c 			pch_can_bit_clear(&priv->regs->stat,
regs              780 drivers/net/can/pch_can.c 	pch_can_bit_set(&priv->regs->cont, PCH_CTRL_CCE);
regs              787 drivers/net/can/pch_can.c 	iowrite32(canbit, &priv->regs->bitt);
regs              788 drivers/net/can/pch_can.c 	iowrite32(bepe, &priv->regs->brpe);
regs              789 drivers/net/can/pch_can.c 	pch_can_bit_clear(&priv->regs->cont, PCH_CTRL_CCE);
regs              893 drivers/net/can/pch_can.c 		if (ioread32(&priv->regs->treq2) & PCH_TREQ2_TX_MASK)
regs              902 drivers/net/can/pch_can.c 	pch_can_bit_set(&priv->regs->ifregs[1].cmask, PCH_CMASK_ALL);
regs              906 drivers/net/can/pch_can.c 		iowrite32(cf->can_id & 0xffff, &priv->regs->ifregs[1].id1);
regs              909 drivers/net/can/pch_can.c 		iowrite32(0, &priv->regs->ifregs[1].id1);
regs              919 drivers/net/can/pch_can.c 	iowrite32(id2, &priv->regs->ifregs[1].id2);
regs              924 drivers/net/can/pch_can.c 			  &priv->regs->ifregs[1].data[i / 2]);
regs              931 drivers/net/can/pch_can.c 		  PCH_IF_MCONT_TXIE, &priv->regs->ifregs[1].mcont);
regs              933 drivers/net/can/pch_can.c 	pch_can_rw_msg_obj(&priv->regs->ifregs[1].creq, tx_obj_no);
regs              956 drivers/net/can/pch_can.c 	pci_iounmap(pdev, priv->regs);
regs              964 drivers/net/can/pch_can.c 	pch_can_bit_clear(&priv->regs->cont, PCH_CTRL_IE_SIE_EIE);
regs              967 drivers/net/can/pch_can.c 	pch_can_bit_set(&priv->regs->cont,
regs              975 drivers/net/can/pch_can.c 	return (ioread32(&priv->regs->cont) & PCH_CTRL_IE_SIE_EIE) >> 1;
regs              988 drivers/net/can/pch_can.c 	iowrite32(PCH_CMASK_RX_TX_GET, &priv->regs->ifregs[dir].cmask);
regs              989 drivers/net/can/pch_can.c 	pch_can_rw_msg_obj(&priv->regs->ifregs[dir].creq, buff_num);
regs              991 drivers/net/can/pch_can.c 	if (((ioread32(&priv->regs->ifregs[dir].id2)) & PCH_ID_MSGVAL) &&
regs              992 drivers/net/can/pch_can.c 			((ioread32(&priv->regs->ifregs[dir].mcont)) & ie))
regs             1003 drivers/net/can/pch_can.c 	iowrite32(PCH_CMASK_RX_TX_GET, &priv->regs->ifregs[0].cmask);
regs             1004 drivers/net/can/pch_can.c 	pch_can_rw_msg_obj(&priv->regs->ifregs[0].creq, buffer_num);
regs             1006 drivers/net/can/pch_can.c 		  &priv->regs->ifregs[0].cmask);
regs             1008 drivers/net/can/pch_can.c 		pch_can_bit_clear(&priv->regs->ifregs[0].mcont,
regs             1011 drivers/net/can/pch_can.c 		pch_can_bit_set(&priv->regs->ifregs[0].mcont, PCH_IF_MCONT_EOB);
regs             1013 drivers/net/can/pch_can.c 	pch_can_rw_msg_obj(&priv->regs->ifregs[0].creq, buffer_num);
regs             1020 drivers/net/can/pch_can.c 	iowrite32(PCH_CMASK_RX_TX_GET, &priv->regs->ifregs[0].cmask);
regs             1021 drivers/net/can/pch_can.c 	pch_can_rw_msg_obj(&priv->regs->ifregs[0].creq, buffer_num);
regs             1023 drivers/net/can/pch_can.c 	if (ioread32(&priv->regs->ifregs[0].mcont) & PCH_IF_MCONT_EOB)
regs             1032 drivers/net/can/pch_can.c 	return (ioread32(&priv->regs->treq1) & 0xffff) |
regs             1033 drivers/net/can/pch_can.c 	       (ioread32(&priv->regs->treq2) << 16);
regs             1160 drivers/net/can/pch_can.c 	u32 errc = ioread32(&priv->regs->errc);
regs             1204 drivers/net/can/pch_can.c 	priv->regs = addr;
regs               94 drivers/net/can/rcar/rcar_can.c 	struct rcar_can_regs __iomem *regs;
regs              234 drivers/net/can/rcar/rcar_can.c 	eifr = readb(&priv->regs->eifr);
regs              236 drivers/net/can/rcar/rcar_can.c 		txerr = readb(&priv->regs->tecr);
regs              237 drivers/net/can/rcar/rcar_can.c 		rxerr = readb(&priv->regs->recr);
regs              252 drivers/net/can/rcar/rcar_can.c 		ecsr = readb(&priv->regs->ecsr);
regs              256 drivers/net/can/rcar/rcar_can.c 			writeb(~RCAR_CAN_ECSR_ADEF, &priv->regs->ecsr);
regs              263 drivers/net/can/rcar/rcar_can.c 			writeb(~RCAR_CAN_ECSR_BE0F, &priv->regs->ecsr);
regs              270 drivers/net/can/rcar/rcar_can.c 			writeb(~RCAR_CAN_ECSR_BE1F, &priv->regs->ecsr);
regs              277 drivers/net/can/rcar/rcar_can.c 			writeb(~RCAR_CAN_ECSR_CEF, &priv->regs->ecsr);
regs              284 drivers/net/can/rcar/rcar_can.c 			writeb(~RCAR_CAN_ECSR_AEF, &priv->regs->ecsr);
regs              293 drivers/net/can/rcar/rcar_can.c 			writeb(~RCAR_CAN_ECSR_FEF, &priv->regs->ecsr);
regs              300 drivers/net/can/rcar/rcar_can.c 			writeb(~RCAR_CAN_ECSR_SEF, &priv->regs->ecsr);
regs              308 drivers/net/can/rcar/rcar_can.c 		writeb(~RCAR_CAN_EIFR_BEIF, &priv->regs->eifr);
regs              315 drivers/net/can/rcar/rcar_can.c 		writeb(~RCAR_CAN_EIFR_EWIF, &priv->regs->eifr);
regs              325 drivers/net/can/rcar/rcar_can.c 		writeb(~RCAR_CAN_EIFR_EPIF, &priv->regs->eifr);
regs              334 drivers/net/can/rcar/rcar_can.c 		writeb(priv->ier, &priv->regs->ier);
regs              337 drivers/net/can/rcar/rcar_can.c 		writeb(~RCAR_CAN_EIFR_BOEIF, &priv->regs->eifr);
regs              347 drivers/net/can/rcar/rcar_can.c 		writeb(~RCAR_CAN_EIFR_ORIF, &priv->regs->eifr);
regs              358 drivers/net/can/rcar/rcar_can.c 		writeb(~RCAR_CAN_EIFR_OLIF, &priv->regs->eifr);
regs              379 drivers/net/can/rcar/rcar_can.c 		u8 unsent = readb(&priv->regs->tfcr);
regs              394 drivers/net/can/rcar/rcar_can.c 	isr = readb(&priv->regs->isr);
regs              395 drivers/net/can/rcar/rcar_can.c 	writeb(isr & ~RCAR_CAN_ISR_TXFF, &priv->regs->isr);
regs              405 drivers/net/can/rcar/rcar_can.c 	isr = readb(&priv->regs->isr);
regs              419 drivers/net/can/rcar/rcar_can.c 			writeb(priv->ier, &priv->regs->ier);
regs              440 drivers/net/can/rcar/rcar_can.c 	writel((bcr << 8) | priv->clock_select, &priv->regs->bcr);
regs              455 drivers/net/can/rcar/rcar_can.c 	ctlr = readw(&priv->regs->ctlr);
regs              457 drivers/net/can/rcar/rcar_can.c 	writew(ctlr, &priv->regs->ctlr);
regs              460 drivers/net/can/rcar/rcar_can.c 	writew(ctlr, &priv->regs->ctlr);
regs              462 drivers/net/can/rcar/rcar_can.c 		if (readw(&priv->regs->str) & RCAR_CAN_STR_RSTST)
regs              471 drivers/net/can/rcar/rcar_can.c 	writew(ctlr, &priv->regs->ctlr);
regs              474 drivers/net/can/rcar/rcar_can.c 	writel(0, &priv->regs->mkr_2_9[6]);
regs              475 drivers/net/can/rcar/rcar_can.c 	writel(0, &priv->regs->mkr_2_9[7]);
regs              477 drivers/net/can/rcar/rcar_can.c 	writel(0, &priv->regs->mkivlr1);
regs              479 drivers/net/can/rcar/rcar_can.c 	writel(0, &priv->regs->fidcr[0]);
regs              480 drivers/net/can/rcar/rcar_can.c 	writel(RCAR_CAN_FIDCR_IDE | RCAR_CAN_FIDCR_RTR, &priv->regs->fidcr[1]);
regs              482 drivers/net/can/rcar/rcar_can.c 	writel(RCAR_CAN_MIER1_RXFIE | RCAR_CAN_MIER1_TXFIE, &priv->regs->mier1);
regs              486 drivers/net/can/rcar/rcar_can.c 	writeb(priv->ier, &priv->regs->ier);
regs              489 drivers/net/can/rcar/rcar_can.c 	writeb(RCAR_CAN_ECSR_EDPM, &priv->regs->ecsr);
regs              494 drivers/net/can/rcar/rcar_can.c 	       RCAR_CAN_EIER_OLIE, &priv->regs->eier);
regs              498 drivers/net/can/rcar/rcar_can.c 	writew(ctlr & ~RCAR_CAN_CTLR_CANM, &priv->regs->ctlr);
regs              500 drivers/net/can/rcar/rcar_can.c 		if (!(readw(&priv->regs->str) & RCAR_CAN_STR_RSTST))
regs              504 drivers/net/can/rcar/rcar_can.c 	writeb(RCAR_CAN_RFCR_RFE, &priv->regs->rfcr);
regs              505 drivers/net/can/rcar/rcar_can.c 	writeb(RCAR_CAN_TFCR_TFE, &priv->regs->tfcr);
regs              560 drivers/net/can/rcar/rcar_can.c 	ctlr = readw(&priv->regs->ctlr);
regs              562 drivers/net/can/rcar/rcar_can.c 	writew(ctlr, &priv->regs->ctlr);
regs              564 drivers/net/can/rcar/rcar_can.c 		if (readw(&priv->regs->str) & RCAR_CAN_STR_RSTST)
regs              567 drivers/net/can/rcar/rcar_can.c 	writel(0, &priv->regs->mier0);
regs              568 drivers/net/can/rcar/rcar_can.c 	writel(0, &priv->regs->mier1);
regs              569 drivers/net/can/rcar/rcar_can.c 	writeb(0, &priv->regs->ier);
regs              570 drivers/net/can/rcar/rcar_can.c 	writeb(0, &priv->regs->eier);
regs              573 drivers/net/can/rcar/rcar_can.c 	writew(ctlr, &priv->regs->ctlr);
regs              612 drivers/net/can/rcar/rcar_can.c 			       &priv->regs->mb[RCAR_CAN_TX_FIFO_MBX].data[i]);
regs              615 drivers/net/can/rcar/rcar_can.c 	writel(data, &priv->regs->mb[RCAR_CAN_TX_FIFO_MBX].id);
regs              617 drivers/net/can/rcar/rcar_can.c 	writeb(cf->can_dlc, &priv->regs->mb[RCAR_CAN_TX_FIFO_MBX].dlc);
regs              626 drivers/net/can/rcar/rcar_can.c 	writeb(0xff, &priv->regs->tfpcr);
regs              655 drivers/net/can/rcar/rcar_can.c 	data = readl(&priv->regs->mb[RCAR_CAN_RX_FIFO_MBX].id);
regs              661 drivers/net/can/rcar/rcar_can.c 	dlc = readb(&priv->regs->mb[RCAR_CAN_RX_FIFO_MBX].dlc);
regs              668 drivers/net/can/rcar/rcar_can.c 			readb(&priv->regs->mb[RCAR_CAN_RX_FIFO_MBX].data[dlc]);
regs              687 drivers/net/can/rcar/rcar_can.c 		isr = readb(&priv->regs->isr);
regs              690 drivers/net/can/rcar/rcar_can.c 			writeb(isr & ~RCAR_CAN_ISR_RXFF, &priv->regs->isr);
regs              691 drivers/net/can/rcar/rcar_can.c 		rfcr = readb(&priv->regs->rfcr);
regs              699 drivers/net/can/rcar/rcar_can.c 		writeb(0xff, &priv->regs->rfpcr);
regs              705 drivers/net/can/rcar/rcar_can.c 		writeb(priv->ier, &priv->regs->ier);
regs              731 drivers/net/can/rcar/rcar_can.c 	bec->txerr = readb(&priv->regs->tecr);
regs              732 drivers/net/can/rcar/rcar_can.c 	bec->rxerr = readb(&priv->regs->recr);
regs              802 drivers/net/can/rcar/rcar_can.c 	priv->regs = addr;
regs              855 drivers/net/can/rcar/rcar_can.c 	ctlr = readw(&priv->regs->ctlr);
regs              857 drivers/net/can/rcar/rcar_can.c 	writew(ctlr, &priv->regs->ctlr);
regs              859 drivers/net/can/rcar/rcar_can.c 	writew(ctlr, &priv->regs->ctlr);
regs              879 drivers/net/can/rcar/rcar_can.c 	ctlr = readw(&priv->regs->ctlr);
regs              881 drivers/net/can/rcar/rcar_can.c 	writew(ctlr, &priv->regs->ctlr);
regs              883 drivers/net/can/rcar/rcar_can.c 	writew(ctlr, &priv->regs->ctlr);
regs              176 drivers/net/can/usb/ems_usb.c 		} regs;
regs              355 drivers/net/can/usb/ems_usb.c 		u8 ecc = msg->msg.error.cc.regs.sja1000.ecc;
regs              356 drivers/net/can/usb/ems_usb.c 		u8 txerr = msg->msg.error.cc.regs.sja1000.txerr;
regs              357 drivers/net/can/usb/ems_usb.c 		u8 rxerr = msg->msg.error.cc.regs.sja1000.rxerr;
regs               28 drivers/net/dsa/b53/b53_mmap.c 	void __iomem *regs;
regs               34 drivers/net/dsa/b53/b53_mmap.c 	void __iomem *regs = priv->regs;
regs               36 drivers/net/dsa/b53/b53_mmap.c 	*val = readb(regs + (page << 8) + reg);
regs               44 drivers/net/dsa/b53/b53_mmap.c 	void __iomem *regs = priv->regs;
regs               50 drivers/net/dsa/b53/b53_mmap.c 		*val = ioread16be(regs + (page << 8) + reg);
regs               52 drivers/net/dsa/b53/b53_mmap.c 		*val = readw(regs + (page << 8) + reg);
regs               60 drivers/net/dsa/b53/b53_mmap.c 	void __iomem *regs = priv->regs;
regs               66 drivers/net/dsa/b53/b53_mmap.c 		*val = ioread32be(regs + (page << 8) + reg);
regs               68 drivers/net/dsa/b53/b53_mmap.c 		*val = readl(regs + (page << 8) + reg);
regs               76 drivers/net/dsa/b53/b53_mmap.c 	void __iomem *regs = priv->regs;
regs               86 drivers/net/dsa/b53/b53_mmap.c 			lo = ioread16be(regs + (page << 8) + reg);
regs               87 drivers/net/dsa/b53/b53_mmap.c 			hi = ioread32be(regs + (page << 8) + reg + 2);
regs               89 drivers/net/dsa/b53/b53_mmap.c 			lo = readw(regs + (page << 8) + reg);
regs               90 drivers/net/dsa/b53/b53_mmap.c 			hi = readl(regs + (page << 8) + reg + 2);
regs               99 drivers/net/dsa/b53/b53_mmap.c 			lo = ioread32be(regs + (page << 8) + reg);
regs              100 drivers/net/dsa/b53/b53_mmap.c 			hi = ioread16be(regs + (page << 8) + reg + 4);
regs              102 drivers/net/dsa/b53/b53_mmap.c 			lo = readl(regs + (page << 8) + reg);
regs              103 drivers/net/dsa/b53/b53_mmap.c 			hi = readw(regs + (page << 8) + reg + 4);
regs              115 drivers/net/dsa/b53/b53_mmap.c 	void __iomem *regs = priv->regs;
regs              122 drivers/net/dsa/b53/b53_mmap.c 		lo = ioread32be(regs + (page << 8) + reg);
regs              123 drivers/net/dsa/b53/b53_mmap.c 		hi = ioread32be(regs + (page << 8) + reg + 4);
regs              125 drivers/net/dsa/b53/b53_mmap.c 		lo = readl(regs + (page << 8) + reg);
regs              126 drivers/net/dsa/b53/b53_mmap.c 		hi = readl(regs + (page << 8) + reg + 4);
regs              137 drivers/net/dsa/b53/b53_mmap.c 	void __iomem *regs = priv->regs;
regs              139 drivers/net/dsa/b53/b53_mmap.c 	writeb(value, regs + (page << 8) + reg);
regs              148 drivers/net/dsa/b53/b53_mmap.c 	void __iomem *regs = priv->regs;
regs              154 drivers/net/dsa/b53/b53_mmap.c 		iowrite16be(value, regs + (page << 8) + reg);
regs              156 drivers/net/dsa/b53/b53_mmap.c 		writew(value, regs + (page << 8) + reg);
regs              165 drivers/net/dsa/b53/b53_mmap.c 	void __iomem *regs = priv->regs;
regs              171 drivers/net/dsa/b53/b53_mmap.c 		iowrite32be(value, regs + (page << 8) + reg);
regs              173 drivers/net/dsa/b53/b53_mmap.c 		writel(value, regs + (page << 8) + reg);
regs              244 drivers/net/dsa/b53/b53_mmap.c 	priv->regs = pdata->regs;
regs               86 drivers/net/dsa/b53/b53_srab.c 	void __iomem *regs;
regs               94 drivers/net/dsa/b53/b53_srab.c 	u8 __iomem *regs = priv->regs;
regs               98 drivers/net/dsa/b53/b53_srab.c 	ctrls = readl(regs + B53_SRAB_CTRLS);
regs              100 drivers/net/dsa/b53/b53_srab.c 	writel(ctrls, regs + B53_SRAB_CTRLS);
regs              103 drivers/net/dsa/b53/b53_srab.c 		ctrls = readl(regs + B53_SRAB_CTRLS);
regs              117 drivers/net/dsa/b53/b53_srab.c 	u8 __iomem *regs = priv->regs;
regs              120 drivers/net/dsa/b53/b53_srab.c 	ctrls = readl(regs + B53_SRAB_CTRLS);
regs              122 drivers/net/dsa/b53/b53_srab.c 	writel(ctrls, regs + B53_SRAB_CTRLS);
regs              128 drivers/net/dsa/b53/b53_srab.c 	u8 __iomem *regs = priv->regs;
regs              137 drivers/net/dsa/b53/b53_srab.c 	writel(cmdstat, regs + B53_SRAB_CMDSTAT);
regs              141 drivers/net/dsa/b53/b53_srab.c 		cmdstat = readl(regs + B53_SRAB_CMDSTAT);
regs              156 drivers/net/dsa/b53/b53_srab.c 	u8 __iomem *regs = priv->regs;
regs              167 drivers/net/dsa/b53/b53_srab.c 	*val = readl(regs + B53_SRAB_RD_L) & 0xff;
regs              178 drivers/net/dsa/b53/b53_srab.c 	u8 __iomem *regs = priv->regs;
regs              189 drivers/net/dsa/b53/b53_srab.c 	*val = readl(regs + B53_SRAB_RD_L) & 0xffff;
regs              200 drivers/net/dsa/b53/b53_srab.c 	u8 __iomem *regs = priv->regs;
regs              211 drivers/net/dsa/b53/b53_srab.c 	*val = readl(regs + B53_SRAB_RD_L);
regs              222 drivers/net/dsa/b53/b53_srab.c 	u8 __iomem *regs = priv->regs;
regs              233 drivers/net/dsa/b53/b53_srab.c 	*val = readl(regs + B53_SRAB_RD_L);
regs              234 drivers/net/dsa/b53/b53_srab.c 	*val += ((u64)readl(regs + B53_SRAB_RD_H) & 0xffff) << 32;
regs              245 drivers/net/dsa/b53/b53_srab.c 	u8 __iomem *regs = priv->regs;
regs              256 drivers/net/dsa/b53/b53_srab.c 	*val = readl(regs + B53_SRAB_RD_L);
regs              257 drivers/net/dsa/b53/b53_srab.c 	*val += (u64)readl(regs + B53_SRAB_RD_H) << 32;
regs              268 drivers/net/dsa/b53/b53_srab.c 	u8 __iomem *regs = priv->regs;
regs              275 drivers/net/dsa/b53/b53_srab.c 	writel(value, regs + B53_SRAB_WD_L);
regs              289 drivers/net/dsa/b53/b53_srab.c 	u8 __iomem *regs = priv->regs;
regs              296 drivers/net/dsa/b53/b53_srab.c 	writel(value, regs + B53_SRAB_WD_L);
regs              310 drivers/net/dsa/b53/b53_srab.c 	u8 __iomem *regs = priv->regs;
regs              317 drivers/net/dsa/b53/b53_srab.c 	writel(value, regs + B53_SRAB_WD_L);
regs              331 drivers/net/dsa/b53/b53_srab.c 	u8 __iomem *regs = priv->regs;
regs              338 drivers/net/dsa/b53/b53_srab.c 	writel((u32)value, regs + B53_SRAB_WD_L);
regs              339 drivers/net/dsa/b53/b53_srab.c 	writel((u16)(value >> 32), regs + B53_SRAB_WD_H);
regs              353 drivers/net/dsa/b53/b53_srab.c 	u8 __iomem *regs = priv->regs;
regs              360 drivers/net/dsa/b53/b53_srab.c 	writel((u32)value, regs + B53_SRAB_WD_L);
regs              361 drivers/net/dsa/b53/b53_srab.c 	writel((u32)(value >> 32), regs + B53_SRAB_WD_H);
regs              389 drivers/net/dsa/b53/b53_srab.c 	writel(BIT(port->num), priv->regs + B53_SRAB_INTR);
regs              495 drivers/net/dsa/b53/b53_srab.c 	reg = readl(priv->regs + B53_SRAB_CTRLS);
regs              500 drivers/net/dsa/b53/b53_srab.c 	writel(reg, priv->regs + B53_SRAB_CTRLS);
regs              512 drivers/net/dsa/b53/b53_srab.c 	writel(0xffffffff, priv->regs + B53_SRAB_INTR);
regs              610 drivers/net/dsa/b53/b53_srab.c 	priv->regs = devm_platform_ioremap_resource(pdev, 0);
regs              611 drivers/net/dsa/b53/b53_srab.c 	if (IS_ERR(priv->regs))
regs             1022 drivers/net/dsa/mv88e6xxx/chip.c 			       struct ethtool_regs *regs, void *_p)
regs             1030 drivers/net/dsa/mv88e6xxx/chip.c 	regs->version = chip->info->prod_num;
regs              132 drivers/net/dsa/mv88e6xxx/global1_vtu.c 	u16 regs[3];
regs              137 drivers/net/dsa/mv88e6xxx/global1_vtu.c 		u16 *reg = &regs[i];
regs              150 drivers/net/dsa/mv88e6xxx/global1_vtu.c 		entry->member[i] = (regs[i / 4] >> member_offset) & 0x3;
regs              151 drivers/net/dsa/mv88e6xxx/global1_vtu.c 		entry->state[i] = (regs[i / 4] >> state_offset) & 0x3;
regs              160 drivers/net/dsa/mv88e6xxx/global1_vtu.c 	u16 regs[3] = { 0 };
regs              168 drivers/net/dsa/mv88e6xxx/global1_vtu.c 		regs[i / 4] |= (entry->member[i] & 0x3) << member_offset;
regs              169 drivers/net/dsa/mv88e6xxx/global1_vtu.c 		regs[i / 4] |= (entry->state[i] & 0x3) << state_offset;
regs              174 drivers/net/dsa/mv88e6xxx/global1_vtu.c 		u16 reg = regs[i];
regs              187 drivers/net/dsa/mv88e6xxx/global1_vtu.c 	u16 regs[2];
regs              192 drivers/net/dsa/mv88e6xxx/global1_vtu.c 		u16 *reg = &regs[i];
regs              204 drivers/net/dsa/mv88e6xxx/global1_vtu.c 		data[i] = (regs[i / 8] >> offset) & 0x3;
regs              212 drivers/net/dsa/mv88e6xxx/global1_vtu.c 	u16 regs[2] = { 0 };
regs              219 drivers/net/dsa/mv88e6xxx/global1_vtu.c 		regs[i / 8] |= (data[i] & 0x3) << offset;
regs              224 drivers/net/dsa/mv88e6xxx/global1_vtu.c 		u16 reg = regs[i];
regs               73 drivers/net/dsa/sja1105/sja1105.h 	const struct sja1105_regs *regs;
regs              104 drivers/net/dsa/sja1105/sja1105_clocking.c 	const struct sja1105_regs *regs = priv->info->regs;
regs              122 drivers/net/dsa/sja1105/sja1105_clocking.c 					   regs->cgu_idiv[port], packed_buf,
regs              140 drivers/net/dsa/sja1105/sja1105_clocking.c 	const struct sja1105_regs *regs = priv->info->regs;
regs              171 drivers/net/dsa/sja1105/sja1105_clocking.c 					   regs->mii_tx_clk[port], packed_buf,
regs              178 drivers/net/dsa/sja1105/sja1105_clocking.c 	const struct sja1105_regs *regs = priv->info->regs;
regs              196 drivers/net/dsa/sja1105/sja1105_clocking.c 					   regs->mii_rx_clk[port], packed_buf,
regs              203 drivers/net/dsa/sja1105/sja1105_clocking.c 	const struct sja1105_regs *regs = priv->info->regs;
regs              221 drivers/net/dsa/sja1105/sja1105_clocking.c 					   regs->mii_ext_tx_clk[port],
regs              228 drivers/net/dsa/sja1105/sja1105_clocking.c 	const struct sja1105_regs *regs = priv->info->regs;
regs              246 drivers/net/dsa/sja1105/sja1105_clocking.c 					   regs->mii_ext_rx_clk[port],
regs              319 drivers/net/dsa/sja1105/sja1105_clocking.c 	const struct sja1105_regs *regs = priv->info->regs;
regs              341 drivers/net/dsa/sja1105/sja1105_clocking.c 					   regs->rgmii_tx_clk[port],
regs              366 drivers/net/dsa/sja1105/sja1105_clocking.c 	const struct sja1105_regs *regs = priv->info->regs;
regs              387 drivers/net/dsa/sja1105/sja1105_clocking.c 					   regs->pad_mii_tx[port],
regs              428 drivers/net/dsa/sja1105/sja1105_clocking.c 	const struct sja1105_regs *regs = priv->info->regs;
regs              446 drivers/net/dsa/sja1105/sja1105_clocking.c 					 regs->pad_mii_id[port],
regs              463 drivers/net/dsa/sja1105/sja1105_clocking.c 					   regs->pad_mii_id[port],
regs              533 drivers/net/dsa/sja1105/sja1105_clocking.c 	const struct sja1105_regs *regs = priv->info->regs;
regs              551 drivers/net/dsa/sja1105/sja1105_clocking.c 					   regs->rmii_ref_clk[port],
regs              558 drivers/net/dsa/sja1105/sja1105_clocking.c 	const struct sja1105_regs *regs = priv->info->regs;
regs              569 drivers/net/dsa/sja1105/sja1105_clocking.c 					   regs->rmii_ext_tx_clk[port],
regs              575 drivers/net/dsa/sja1105/sja1105_clocking.c 	const struct sja1105_regs *regs = priv->info->regs;
regs              598 drivers/net/dsa/sja1105/sja1105_clocking.c 	rc = sja1105_spi_send_packed_buf(priv, SPI_WRITE, regs->rmii_pll1,
regs              609 drivers/net/dsa/sja1105/sja1105_clocking.c 	rc = sja1105_spi_send_packed_buf(priv, SPI_WRITE, regs->rmii_pll1,
regs              165 drivers/net/dsa/sja1105/sja1105_ethtool.c 	const struct sja1105_regs *regs = priv->info->regs;
regs              170 drivers/net/dsa/sja1105/sja1105_ethtool.c 	rc = sja1105_spi_send_packed_buf(priv, SPI_READ, regs->mac[port],
regs              184 drivers/net/dsa/sja1105/sja1105_ethtool.c 	const struct sja1105_regs *regs = priv->info->regs;
regs              188 drivers/net/dsa/sja1105/sja1105_ethtool.c 	rc = sja1105_spi_send_packed_buf(priv, SPI_READ, regs->mac_hl1[port],
regs              202 drivers/net/dsa/sja1105/sja1105_ethtool.c 	const struct sja1105_regs *regs = priv->info->regs;
regs              206 drivers/net/dsa/sja1105/sja1105_ethtool.c 	rc = sja1105_spi_send_packed_buf(priv, SPI_READ, regs->mac_hl2[port],
regs              218 drivers/net/dsa/sja1105/sja1105_ethtool.c 	rc = sja1105_spi_send_packed_buf(priv, SPI_READ, regs->qlevel[port],
regs             2117 drivers/net/dsa/sja1105/sja1105_main.c 	const struct sja1105_regs *regs = priv->info->regs;
regs             2124 drivers/net/dsa/sja1105/sja1105_main.c 	rc = sja1105_spi_send_int(priv, SPI_READ, regs->device_id,
regs             2135 drivers/net/dsa/sja1105/sja1105_main.c 	rc = sja1105_spi_send_packed_buf(priv, SPI_READ, regs->prod_id,
regs               85 drivers/net/dsa/sja1105/sja1105_ptp.c 	const struct sja1105_regs *regs = priv->info->regs;
regs               94 drivers/net/dsa/sja1105/sja1105_ptp.c 	return sja1105_spi_send_packed_buf(priv, SPI_WRITE, regs->ptp_control,
regs              102 drivers/net/dsa/sja1105/sja1105_ptp.c 	const struct sja1105_regs *regs = priv->info->regs;
regs              111 drivers/net/dsa/sja1105/sja1105_ptp.c 	return sja1105_spi_send_packed_buf(priv, SPI_WRITE, regs->ptp_control,
regs              175 drivers/net/dsa/sja1105/sja1105_ptp.c 	const struct sja1105_regs *regs = priv->info->regs;
regs              184 drivers/net/dsa/sja1105/sja1105_ptp.c 						 regs->ptpegr_ts[port],
regs              326 drivers/net/dsa/sja1105/sja1105_ptp.c 	const struct sja1105_regs *regs = priv->info->regs;
regs              330 drivers/net/dsa/sja1105/sja1105_ptp.c 	rc = sja1105_spi_send_int(priv, SPI_READ, regs->ptptsclk,
regs              223 drivers/net/dsa/sja1105/sja1105_spi.c 	const struct sja1105_regs *regs = priv->info->regs;
regs              244 drivers/net/dsa/sja1105/sja1105_spi.c 	return sja1105_spi_send_packed_buf(priv, SPI_WRITE, regs->rgu,
regs              252 drivers/net/dsa/sja1105/sja1105_spi.c 	const struct sja1105_regs *regs = priv->info->regs;
regs              274 drivers/net/dsa/sja1105/sja1105_spi.c 	return sja1105_spi_send_packed_buf(priv, SPI_WRITE, regs->rgu,
regs              289 drivers/net/dsa/sja1105/sja1105_spi.c 	const struct sja1105_regs *regs = priv->info->regs;
regs              293 drivers/net/dsa/sja1105/sja1105_spi.c 	rc = sja1105_spi_send_int(priv, SPI_READ, regs->port_control,
regs              303 drivers/net/dsa/sja1105/sja1105_spi.c 	return sja1105_spi_send_int(priv, SPI_WRITE, regs->port_control,
regs              338 drivers/net/dsa/sja1105/sja1105_spi.c 	const struct sja1105_regs *regs = priv->info->regs;
regs              343 drivers/net/dsa/sja1105/sja1105_spi.c 					 regs->status,
regs              397 drivers/net/dsa/sja1105/sja1105_spi.c 	const struct sja1105_regs *regs = priv->info->regs;
regs              441 drivers/net/dsa/sja1105/sja1105_spi.c 						      regs->config,
regs              567 drivers/net/dsa/sja1105/sja1105_spi.c 	.regs			= &sja1105et_regs,
regs              581 drivers/net/dsa/sja1105/sja1105_spi.c 	.regs			= &sja1105et_regs,
regs              596 drivers/net/dsa/sja1105/sja1105_spi.c 	.regs			= &sja1105pqrs_regs,
regs              611 drivers/net/dsa/sja1105/sja1105_spi.c 	.regs			= &sja1105pqrs_regs,
regs              626 drivers/net/dsa/sja1105/sja1105_spi.c 	.regs			= &sja1105pqrs_regs,
regs              634 drivers/net/dsa/sja1105/sja1105_spi.c 	.regs			= &sja1105pqrs_regs,
regs             1007 drivers/net/dsa/vitesse-vsc73xx-core.c 	u8 regs[] = {
regs             1021 drivers/net/dsa/vitesse-vsc73xx-core.c 	for (i = 0; i < ARRAY_SIZE(regs); i++) {
regs             1023 drivers/net/dsa/vitesse-vsc73xx-core.c 				   regs[i], &val);
regs              120 drivers/net/ethernet/aeroflex/greth.c 	GRETH_REGORIN(greth->regs->control, GRETH_TXEN);
regs              126 drivers/net/ethernet/aeroflex/greth.c 	GRETH_REGORIN(greth->regs->control, GRETH_TXEN | GRETH_TXI);
regs              131 drivers/net/ethernet/aeroflex/greth.c 	GRETH_REGANDIN(greth->regs->control, ~GRETH_TXEN);
regs              137 drivers/net/ethernet/aeroflex/greth.c 	GRETH_REGORIN(greth->regs->control, GRETH_RXEN);
regs              142 drivers/net/ethernet/aeroflex/greth.c 	GRETH_REGANDIN(greth->regs->control, ~GRETH_RXEN);
regs              147 drivers/net/ethernet/aeroflex/greth.c 	GRETH_REGORIN(greth->regs->control, GRETH_RXI | GRETH_TXI);
regs              152 drivers/net/ethernet/aeroflex/greth.c 	GRETH_REGANDIN(greth->regs->control, ~(GRETH_RXI|GRETH_TXI));
regs              328 drivers/net/ethernet/aeroflex/greth.c 	GRETH_REGSAVE(greth->regs->tx_desc_p, greth->tx_bd_base_phys);
regs              329 drivers/net/ethernet/aeroflex/greth.c 	GRETH_REGSAVE(greth->regs->rx_desc_p, greth->rx_bd_base_phys);
regs              362 drivers/net/ethernet/aeroflex/greth.c 	GRETH_REGSAVE(greth->regs->status, 0xFF);
regs              406 drivers/net/ethernet/aeroflex/greth.c 		ctrl = GRETH_REGLOAD(greth->regs->control);
regs              409 drivers/net/ethernet/aeroflex/greth.c 			GRETH_REGSAVE(greth->regs->control, ctrl | GRETH_TXI);
regs              594 drivers/net/ethernet/aeroflex/greth.c 	status = GRETH_REGLOAD(greth->regs->status);
regs              600 drivers/net/ethernet/aeroflex/greth.c 	ctrl = GRETH_REGLOAD(greth->regs->control);
regs              627 drivers/net/ethernet/aeroflex/greth.c 		GRETH_REGSAVE(greth->regs->status, GRETH_INT_TE | GRETH_INT_TX);
regs              692 drivers/net/ethernet/aeroflex/greth.c 		GRETH_REGSAVE(greth->regs->status, GRETH_INT_TE | GRETH_INT_TX);
regs              752 drivers/net/ethernet/aeroflex/greth.c 		GRETH_REGSAVE(greth->regs->status, GRETH_INT_RE | GRETH_INT_RX);
regs              869 drivers/net/ethernet/aeroflex/greth.c 		GRETH_REGSAVE(greth->regs->status, GRETH_INT_RE | GRETH_INT_RX);
regs              991 drivers/net/ethernet/aeroflex/greth.c 		ctrl = GRETH_REGLOAD(greth->regs->control);
regs              994 drivers/net/ethernet/aeroflex/greth.c 			GRETH_REGSAVE(greth->regs->control,
regs              999 drivers/net/ethernet/aeroflex/greth.c 			GRETH_REGSAVE(greth->regs->control, ctrl | GRETH_RXI);
regs             1003 drivers/net/ethernet/aeroflex/greth.c 		if (GRETH_REGLOAD(greth->regs->status) & mask) {
regs             1004 drivers/net/ethernet/aeroflex/greth.c 			GRETH_REGSAVE(greth->regs->control, ctrl);
regs             1020 drivers/net/ethernet/aeroflex/greth.c 	struct greth_regs *regs;
regs             1023 drivers/net/ethernet/aeroflex/greth.c 	regs = greth->regs;
regs             1029 drivers/net/ethernet/aeroflex/greth.c 	GRETH_REGSAVE(regs->esa_msb, dev->dev_addr[0] << 8 | dev->dev_addr[1]);
regs             1030 drivers/net/ethernet/aeroflex/greth.c 	GRETH_REGSAVE(regs->esa_lsb, dev->dev_addr[2] << 24 | dev->dev_addr[3] << 16 |
regs             1045 drivers/net/ethernet/aeroflex/greth.c 	struct greth_regs *regs = greth->regs;
regs             1056 drivers/net/ethernet/aeroflex/greth.c 	GRETH_REGSAVE(regs->hash_msb, mc_filter[1]);
regs             1057 drivers/net/ethernet/aeroflex/greth.c 	GRETH_REGSAVE(regs->hash_lsb, mc_filter[0]);
regs             1064 drivers/net/ethernet/aeroflex/greth.c 	struct greth_regs *regs = greth->regs;
regs             1066 drivers/net/ethernet/aeroflex/greth.c 	cfg = GRETH_REGLOAD(regs->control);
regs             1074 drivers/net/ethernet/aeroflex/greth.c 			GRETH_REGSAVE(regs->hash_msb, -1);
regs             1075 drivers/net/ethernet/aeroflex/greth.c 			GRETH_REGSAVE(regs->hash_lsb, -1);
regs             1077 drivers/net/ethernet/aeroflex/greth.c 			GRETH_REGSAVE(regs->control, cfg);
regs             1083 drivers/net/ethernet/aeroflex/greth.c 			GRETH_REGSAVE(regs->control, cfg);
regs             1091 drivers/net/ethernet/aeroflex/greth.c 	GRETH_REGSAVE(regs->control, cfg);
regs             1122 drivers/net/ethernet/aeroflex/greth.c static void greth_get_regs(struct net_device *dev, struct ethtool_regs *regs, void *p)
regs             1126 drivers/net/ethernet/aeroflex/greth.c 	u32 __iomem *greth_regs = (u32 __iomem *) greth->regs;
regs             1155 drivers/net/ethernet/aeroflex/greth.c 	while (GRETH_REGLOAD(greth->regs->mdio) & GRETH_MII_BUSY) {
regs             1170 drivers/net/ethernet/aeroflex/greth.c 	GRETH_REGSAVE(greth->regs->mdio, ((phy & 0x1F) << 11) | ((reg & 0x1F) << 6) | 2);
regs             1175 drivers/net/ethernet/aeroflex/greth.c 	if (!(GRETH_REGLOAD(greth->regs->mdio) & GRETH_MII_NVALID)) {
regs             1176 drivers/net/ethernet/aeroflex/greth.c 		data = (GRETH_REGLOAD(greth->regs->mdio) >> 16) & 0xFFFF;
regs             1191 drivers/net/ethernet/aeroflex/greth.c 	GRETH_REGSAVE(greth->regs->mdio,
regs             1213 drivers/net/ethernet/aeroflex/greth.c 			ctrl = GRETH_REGLOAD(greth->regs->control) &
regs             1224 drivers/net/ethernet/aeroflex/greth.c 			GRETH_REGSAVE(greth->regs->control, ctrl);
regs             1346 drivers/net/ethernet/aeroflex/greth.c 	struct greth_regs *regs;
regs             1369 drivers/net/ethernet/aeroflex/greth.c 	greth->regs = of_ioremap(&ofdev->resource[0], 0,
regs             1373 drivers/net/ethernet/aeroflex/greth.c 	if (greth->regs == NULL) {
regs             1380 drivers/net/ethernet/aeroflex/greth.c 	regs = greth->regs;
regs             1390 drivers/net/ethernet/aeroflex/greth.c 	GRETH_REGSAVE(regs->control, GRETH_RESET);
regs             1394 drivers/net/ethernet/aeroflex/greth.c 	while (GRETH_REGLOAD(regs->control) & GRETH_RESET) {
regs             1404 drivers/net/ethernet/aeroflex/greth.c 	greth->phyaddr = (GRETH_REGLOAD(regs->mdio) >> 11) & 0x1F;
regs             1407 drivers/net/ethernet/aeroflex/greth.c 	tmp = GRETH_REGLOAD(regs->control);
regs             1418 drivers/net/ethernet/aeroflex/greth.c 		GRETH_REGORIN(regs->control, GRETH_CTRL_DISDUPLEX);
regs             1480 drivers/net/ethernet/aeroflex/greth.c 	GRETH_REGSAVE(regs->esa_msb, dev->dev_addr[0] << 8 | dev->dev_addr[1]);
regs             1481 drivers/net/ethernet/aeroflex/greth.c 	GRETH_REGSAVE(regs->esa_lsb, dev->dev_addr[2] << 24 | dev->dev_addr[3] << 16 |
regs             1485 drivers/net/ethernet/aeroflex/greth.c 	GRETH_REGSAVE(regs->status, 0xFF);
regs             1523 drivers/net/ethernet/aeroflex/greth.c 	of_iounmap(&ofdev->resource[0], greth->regs, resource_size(&ofdev->resource[0]));
regs             1546 drivers/net/ethernet/aeroflex/greth.c 	of_iounmap(&of_dev->resource[0], greth->regs, resource_size(&of_dev->resource[0]));
regs              114 drivers/net/ethernet/aeroflex/greth.h 	struct greth_regs *regs;	/* Address of controller registers. */
regs              471 drivers/net/ethernet/agere/et131x.c 	struct address_map __iomem *regs;
regs              756 drivers/net/ethernet/agere/et131x.c 	writel(csr, &adapter->regs->rxdma.csr);
regs              758 drivers/net/ethernet/agere/et131x.c 	csr = readl(&adapter->regs->rxdma.csr);
regs              761 drivers/net/ethernet/agere/et131x.c 		csr = readl(&adapter->regs->rxdma.csr);
regs              775 drivers/net/ethernet/agere/et131x.c 	       &adapter->regs->rxdma.csr);
regs              776 drivers/net/ethernet/agere/et131x.c 	csr = readl(&adapter->regs->rxdma.csr);
regs              779 drivers/net/ethernet/agere/et131x.c 		csr = readl(&adapter->regs->rxdma.csr);
regs              793 drivers/net/ethernet/agere/et131x.c 	       &adapter->regs->txdma.csr);
regs              808 drivers/net/ethernet/agere/et131x.c 	struct mac_regs __iomem *macregs = &adapter->regs->mac;
regs              867 drivers/net/ethernet/agere/et131x.c 	struct mac_regs __iomem *mac = &adapter->regs->mac;
regs              874 drivers/net/ethernet/agere/et131x.c 	ctl = readl(&adapter->regs->txmac.ctl);
regs              931 drivers/net/ethernet/agere/et131x.c 	writel(ctl, &adapter->regs->txmac.ctl);
regs              941 drivers/net/ethernet/agere/et131x.c 	u32 pmcsr = readl(&adapter->regs->global.pm_csr);
regs              948 drivers/net/ethernet/agere/et131x.c 	struct rxmac_regs __iomem *rxmac = &adapter->regs->rxmac;
regs              987 drivers/net/ethernet/agere/et131x.c 	pm_csr = readl(&adapter->regs->global.pm_csr);
regs              998 drivers/net/ethernet/agere/et131x.c 	struct rxmac_regs __iomem *rxmac = &adapter->regs->rxmac;
regs             1028 drivers/net/ethernet/agere/et131x.c 	pm_csr = readl(&adapter->regs->global.pm_csr);
regs             1038 drivers/net/ethernet/agere/et131x.c 	struct rxmac_regs __iomem *rxmac = &adapter->regs->rxmac;
regs             1143 drivers/net/ethernet/agere/et131x.c 	struct txmac_regs __iomem *txmac = &adapter->regs->txmac;
regs             1157 drivers/net/ethernet/agere/et131x.c 	struct macstat_regs __iomem *macstat = &adapter->regs->macstat;
regs             1176 drivers/net/ethernet/agere/et131x.c 	struct mac_regs __iomem *mac = &adapter->regs->mac;
regs             1245 drivers/net/ethernet/agere/et131x.c 	struct mac_regs __iomem *mac = &adapter->regs->mac;
regs             1348 drivers/net/ethernet/agere/et131x.c 		&adapter->regs->macstat;
regs             1382 drivers/net/ethernet/agere/et131x.c 	carry_reg1 = readl(&adapter->regs->macstat.carry_reg1);
regs             1383 drivers/net/ethernet/agere/et131x.c 	carry_reg2 = readl(&adapter->regs->macstat.carry_reg2);
regs             1385 drivers/net/ethernet/agere/et131x.c 	writel(carry_reg1, &adapter->regs->macstat.carry_reg1);
regs             1386 drivers/net/ethernet/agere/et131x.c 	writel(carry_reg2, &adapter->regs->macstat.carry_reg2);
regs             1501 drivers/net/ethernet/agere/et131x.c 	struct global_regs __iomem *regs = &adapter->regs->global;
regs             1503 drivers/net/ethernet/agere/et131x.c 	writel(0, &regs->rxq_start_addr);
regs             1504 drivers/net/ethernet/agere/et131x.c 	writel(INTERNAL_MEM_SIZE - 1, &regs->txq_end_addr);
regs             1512 drivers/net/ethernet/agere/et131x.c 		writel(PARM_RX_MEM_END_DEF, &regs->rxq_end_addr);
regs             1513 drivers/net/ethernet/agere/et131x.c 		writel(PARM_RX_MEM_END_DEF + 1, &regs->txq_start_addr);
regs             1516 drivers/net/ethernet/agere/et131x.c 		writel(INTERNAL_MEM_RX_OFFSET, &regs->rxq_end_addr);
regs             1517 drivers/net/ethernet/agere/et131x.c 		writel(INTERNAL_MEM_RX_OFFSET + 1, &regs->txq_start_addr);
regs             1524 drivers/net/ethernet/agere/et131x.c 		writel(0x01b3, &regs->rxq_end_addr);
regs             1525 drivers/net/ethernet/agere/et131x.c 		writel(0x01b4, &regs->txq_start_addr);
regs             1529 drivers/net/ethernet/agere/et131x.c 	writel(0, &regs->loopback);
regs             1531 drivers/net/ethernet/agere/et131x.c 	writel(0, &regs->msi_config);
regs             1536 drivers/net/ethernet/agere/et131x.c 	writel(0, &regs->watchdog_timer);
regs             1542 drivers/net/ethernet/agere/et131x.c 	struct rxdma_regs __iomem *rx_dma = &adapter->regs->rxdma;
regs             1642 drivers/net/ethernet/agere/et131x.c 	struct txdma_regs __iomem *txdma = &adapter->regs->txdma;
regs             1670 drivers/net/ethernet/agere/et131x.c 	writel(ET_MMC_ENABLE, &adapter->regs->mmc.mmc_ctrl);
regs             1693 drivers/net/ethernet/agere/et131x.c 	writel(reg, &adapter->regs->mac.cfg1);
regs             1696 drivers/net/ethernet/agere/et131x.c 	writel(reg, &adapter->regs->global.sw_reset);
regs             1700 drivers/net/ethernet/agere/et131x.c 	writel(reg, &adapter->regs->mac.cfg1);
regs             1701 drivers/net/ethernet/agere/et131x.c 	writel(0, &adapter->regs->mac.cfg1);
regs             1713 drivers/net/ethernet/agere/et131x.c 	writel(mask, &adapter->regs->global.int_mask);
regs             1718 drivers/net/ethernet/agere/et131x.c 	writel(INT_MASK_DISABLE, &adapter->regs->global.int_mask);
regs             1725 drivers/net/ethernet/agere/et131x.c 	       &adapter->regs->txdma.csr);
regs             1788 drivers/net/ethernet/agere/et131x.c 	u32 pmcsr = readl(&adapter->regs->global.pm_csr);
regs             1798 drivers/net/ethernet/agere/et131x.c 	writel(pmcsr, &adapter->regs->global.pm_csr);
regs             1802 drivers/net/ethernet/agere/et131x.c 	writel(pmcsr, &adapter->regs->global.pm_csr);
regs             1809 drivers/net/ethernet/agere/et131x.c 	pmcsr = readl(&adapter->regs->global.pm_csr);
regs             1814 drivers/net/ethernet/agere/et131x.c 	writel(pmcsr, &adapter->regs->global.pm_csr);
regs             2121 drivers/net/ethernet/agere/et131x.c 		writel(0, &adapter->regs->rxdma.max_pkt_time);
regs             2122 drivers/net/ethernet/agere/et131x.c 		writel(1, &adapter->regs->rxdma.num_pkt_done);
regs             2130 drivers/net/ethernet/agere/et131x.c 	struct rxdma_regs __iomem *rx_dma = &adapter->regs->rxdma;
regs             2235 drivers/net/ethernet/agere/et131x.c 	writel(rx_local->local_psr_full, &adapter->regs->rxdma.psr_full_offset);
regs             2341 drivers/net/ethernet/agere/et131x.c 		       &adapter->regs->global.watchdog_timer);
regs             2576 drivers/net/ethernet/agere/et131x.c 	writel(tx_ring->send_idx, &adapter->regs->txdma.service_request);
regs             2583 drivers/net/ethernet/agere/et131x.c 		       &adapter->regs->global.watchdog_timer);
regs             2747 drivers/net/ethernet/agere/et131x.c 	serviced = readl(&adapter->regs->txdma.new_service_complete);
regs             2802 drivers/net/ethernet/agere/et131x.c 			    struct ethtool_regs *regs, void *regs_data)
regs             2805 drivers/net/ethernet/agere/et131x.c 	struct address_map __iomem *aregs = adapter->regs;
regs             2812 drivers/net/ethernet/agere/et131x.c 	regs->version = (1 << 24) | (adapter->pdev->revision << 16) |
regs             3307 drivers/net/ethernet/agere/et131x.c 	iounmap(adapter->regs);
regs             3368 drivers/net/ethernet/agere/et131x.c 	struct address_map __iomem *iomem = adapter->regs;
regs             3381 drivers/net/ethernet/agere/et131x.c 	status = readl(&adapter->regs->global.int_status);
regs             3406 drivers/net/ethernet/agere/et131x.c 			writel(0, &adapter->regs->global.watchdog_timer);
regs             3670 drivers/net/ethernet/agere/et131x.c 	ctrl = readl(&adapter->regs->rxmac.ctrl);
regs             3671 drivers/net/ethernet/agere/et131x.c 	pf_ctrl = readl(&adapter->regs->rxmac.pf_ctrl);
regs             3713 drivers/net/ethernet/agere/et131x.c 		writel(pf_ctrl, &adapter->regs->rxmac.pf_ctrl);
regs             3714 drivers/net/ethernet/agere/et131x.c 		writel(ctrl, &adapter->regs->rxmac.ctrl);
regs             3963 drivers/net/ethernet/agere/et131x.c 	adapter->regs = pci_ioremap_bar(pdev, 0);
regs             3964 drivers/net/ethernet/agere/et131x.c 	if (!adapter->regs) {
regs             3971 drivers/net/ethernet/agere/et131x.c 	writel(ET_PMCSR_INIT,  &adapter->regs->global.pm_csr);
regs             4051 drivers/net/ethernet/agere/et131x.c 	iounmap(adapter->regs);
regs              540 drivers/net/ethernet/alacritech/slic.h 	void __iomem *regs;
regs              561 drivers/net/ethernet/alacritech/slic.h 	return ioread32(sdev->regs + reg);
regs              567 drivers/net/ethernet/alacritech/slic.h 	iowrite32(val, sdev->regs + reg);
regs              572 drivers/net/ethernet/alacritech/slic.h 	(void)ioread32(sdev->regs + SLIC_REG_HOSTID);
regs             1794 drivers/net/ethernet/alacritech/slicoss.c 	sdev->regs = ioremap_nocache(pci_resource_start(pdev, 0),
regs             1796 drivers/net/ethernet/alacritech/slicoss.c 	if (!sdev->regs) {
regs             1820 drivers/net/ethernet/alacritech/slicoss.c 	iounmap(sdev->regs);
regs             1837 drivers/net/ethernet/alacritech/slicoss.c 	iounmap(sdev->regs);
regs              520 drivers/net/ethernet/alteon/acenic.c 	ap->regs = ioremap(dev->base_addr, 0x4000);
regs              521 drivers/net/ethernet/alteon/acenic.c 	if (!ap->regs) {
regs              563 drivers/net/ethernet/alteon/acenic.c 	if ((readl(&ap->regs->HostCtrl) >> 28) == 4) {
regs              610 drivers/net/ethernet/alteon/acenic.c 	struct ace_regs __iomem *regs = ap->regs;
regs              615 drivers/net/ethernet/alteon/acenic.c 	writel(readl(&regs->CpuCtrl) | CPU_HALT, &regs->CpuCtrl);
regs              617 drivers/net/ethernet/alteon/acenic.c 		writel(readl(&regs->CpuBCtrl) | CPU_HALT, &regs->CpuBCtrl);
regs              622 drivers/net/ethernet/alteon/acenic.c 	writel(1, &regs->Mb0Lo);
regs              623 drivers/net/ethernet/alteon/acenic.c 	readl(&regs->CpuCtrl);	/* flush */
regs              841 drivers/net/ethernet/alteon/acenic.c 	iounmap(ap->regs);
regs              848 drivers/net/ethernet/alteon/acenic.c static inline void ace_issue_cmd(struct ace_regs __iomem *regs, struct cmd *cmd)
regs              852 drivers/net/ethernet/alteon/acenic.c 	idx = readl(&regs->CmdPrd);
regs              854 drivers/net/ethernet/alteon/acenic.c 	writel(*(u32 *)(cmd), &regs->CmdRng[idx]);
regs              857 drivers/net/ethernet/alteon/acenic.c 	writel(idx, &regs->CmdPrd);
regs              864 drivers/net/ethernet/alteon/acenic.c 	struct ace_regs __iomem *regs;
regs              875 drivers/net/ethernet/alteon/acenic.c 	regs = ap->regs;
regs              884 drivers/net/ethernet/alteon/acenic.c 	writel(HW_RESET | (HW_RESET << 24), &regs->HostCtrl);
regs              885 drivers/net/ethernet/alteon/acenic.c 	readl(&regs->HostCtrl);		/* PCI write posting */
regs              897 drivers/net/ethernet/alteon/acenic.c 	       &regs->HostCtrl);
regs              900 drivers/net/ethernet/alteon/acenic.c 	       &regs->HostCtrl);
regs              902 drivers/net/ethernet/alteon/acenic.c 	readl(&regs->HostCtrl);		/* PCI write posting */
regs              907 drivers/net/ethernet/alteon/acenic.c 	writel(readl(&regs->CpuCtrl) | CPU_HALT, &regs->CpuCtrl);
regs              908 drivers/net/ethernet/alteon/acenic.c 	readl(&regs->CpuCtrl);		/* PCI write posting */
regs              909 drivers/net/ethernet/alteon/acenic.c 	writel(0, &regs->Mb0Lo);
regs              911 drivers/net/ethernet/alteon/acenic.c 	tig_ver = readl(&regs->HostCtrl) >> 28;
regs              920 drivers/net/ethernet/alteon/acenic.c 		writel(0, &regs->LocalCtrl);
regs              929 drivers/net/ethernet/alteon/acenic.c 		writel(readl(&regs->CpuBCtrl) | CPU_HALT, &regs->CpuBCtrl);
regs              930 drivers/net/ethernet/alteon/acenic.c 		readl(&regs->CpuBCtrl);		/* PCI write posting */
regs              936 drivers/net/ethernet/alteon/acenic.c 		writel(SRAM_BANK_512K, &regs->LocalCtrl);
regs              937 drivers/net/ethernet/alteon/acenic.c 		writel(SYNC_SRAM_TIMING, &regs->MiscCfg);
regs              957 drivers/net/ethernet/alteon/acenic.c 	       ACE_WORD_SWAP_BD | ACE_NO_JUMBO_FRAG, &regs->ModeStat);
regs              960 drivers/net/ethernet/alteon/acenic.c 	       ACE_WORD_SWAP_BD | ACE_NO_JUMBO_FRAG, &regs->ModeStat);
regs              962 drivers/net/ethernet/alteon/acenic.c 	readl(&regs->ModeStat);		/* PCI write posting */
regs              989 drivers/net/ethernet/alteon/acenic.c 	writel(mac1, &regs->MacAddrHi);
regs              990 drivers/net/ethernet/alteon/acenic.c 	writel(mac2, &regs->MacAddrLo);
regs             1022 drivers/net/ethernet/alteon/acenic.c 	pci_state = readl(&regs->PciState);
regs             1108 drivers/net/ethernet/alteon/acenic.c 	writel(tmp, &regs->PciState);
regs             1187 drivers/net/ethernet/alteon/acenic.c 	writel(tmp_ptr >> 32, &regs->InfoPtrHi);
regs             1188 drivers/net/ethernet/alteon/acenic.c 	writel(tmp_ptr & 0xffffffff, &regs->InfoPtrLo);
regs             1198 drivers/net/ethernet/alteon/acenic.c 	writel(0, &regs->EvtCsm);
regs             1205 drivers/net/ethernet/alteon/acenic.c 		writel(0, &regs->CmdRng[i]);
regs             1207 drivers/net/ethernet/alteon/acenic.c 	writel(0, &regs->CmdPrd);
regs             1208 drivers/net/ethernet/alteon/acenic.c 	writel(0, &regs->CmdCsm);
regs             1284 drivers/net/ethernet/alteon/acenic.c 	writel(TX_RING_BASE, &regs->WinBase);
regs             1287 drivers/net/ethernet/alteon/acenic.c 		ap->tx_ring = (__force struct tx_desc *) regs->Window;
regs             1319 drivers/net/ethernet/alteon/acenic.c 	writel(DMA_THRESH_16W, &regs->DmaReadCfg);
regs             1320 drivers/net/ethernet/alteon/acenic.c 	writel(DMA_THRESH_16W, &regs->DmaWriteCfg);
regs             1322 drivers/net/ethernet/alteon/acenic.c 	writel(DMA_THRESH_8W, &regs->DmaReadCfg);
regs             1323 drivers/net/ethernet/alteon/acenic.c 	writel(DMA_THRESH_8W, &regs->DmaWriteCfg);
regs             1326 drivers/net/ethernet/alteon/acenic.c 	writel(0, &regs->MaskInt);
regs             1327 drivers/net/ethernet/alteon/acenic.c 	writel(1, &regs->IfIdx);
regs             1333 drivers/net/ethernet/alteon/acenic.c 	writel(1, &regs->AssistState);
regs             1336 drivers/net/ethernet/alteon/acenic.c 	writel(DEF_STAT, &regs->TuneStatTicks);
regs             1337 drivers/net/ethernet/alteon/acenic.c 	writel(DEF_TRACE, &regs->TuneTrace);
regs             1348 drivers/net/ethernet/alteon/acenic.c 			       &regs->TuneTxCoalTicks);
regs             1350 drivers/net/ethernet/alteon/acenic.c 			writel(max_tx_desc[board_idx], &regs->TuneMaxTxDesc);
regs             1354 drivers/net/ethernet/alteon/acenic.c 			       &regs->TuneRxCoalTicks);
regs             1356 drivers/net/ethernet/alteon/acenic.c 			writel(max_rx_desc[board_idx], &regs->TuneMaxRxDesc);
regs             1359 drivers/net/ethernet/alteon/acenic.c 			writel(trace[board_idx], &regs->TuneTrace);
regs             1362 drivers/net/ethernet/alteon/acenic.c 			writel(tx_ratio[board_idx], &regs->TxBufRat);
regs             1415 drivers/net/ethernet/alteon/acenic.c 	writel(tmp, &regs->TuneLink);
regs             1417 drivers/net/ethernet/alteon/acenic.c 		writel(tmp, &regs->TuneFastLink);
regs             1419 drivers/net/ethernet/alteon/acenic.c 	writel(ap->firmware_start, &regs->Pc);
regs             1421 drivers/net/ethernet/alteon/acenic.c 	writel(0, &regs->Mb0Lo);
regs             1433 drivers/net/ethernet/alteon/acenic.c 	ace_set_txprd(regs, ap, 0);
regs             1434 drivers/net/ethernet/alteon/acenic.c 	writel(0, &regs->RxRetCsm);
regs             1442 drivers/net/ethernet/alteon/acenic.c 	writel(1, &regs->AssistState);  /* enable DMA */
regs             1447 drivers/net/ethernet/alteon/acenic.c 	writel(readl(&regs->CpuCtrl) & ~(CPU_HALT|CPU_TRACE), &regs->CpuCtrl);
regs             1448 drivers/net/ethernet/alteon/acenic.c 	readl(&regs->CpuCtrl);
regs             1461 drivers/net/ethernet/alteon/acenic.c 		writel(readl(&regs->CpuCtrl) | CPU_HALT, &regs->CpuCtrl);
regs             1462 drivers/net/ethernet/alteon/acenic.c 		readl(&regs->CpuCtrl);
regs             1474 drivers/net/ethernet/alteon/acenic.c 			writel(readl(&regs->CpuBCtrl) | CPU_HALT,
regs             1475 drivers/net/ethernet/alteon/acenic.c 			       &regs->CpuBCtrl);
regs             1476 drivers/net/ethernet/alteon/acenic.c 		writel(0, &regs->Mb0Lo);
regs             1477 drivers/net/ethernet/alteon/acenic.c 		readl(&regs->Mb0Lo);
regs             1510 drivers/net/ethernet/alteon/acenic.c 	struct ace_regs __iomem *regs = ap->regs;
regs             1516 drivers/net/ethernet/alteon/acenic.c 				writel(DEF_TX_COAL, &regs->TuneTxCoalTicks);
regs             1518 drivers/net/ethernet/alteon/acenic.c 				writel(DEF_TX_MAX_DESC, &regs->TuneMaxTxDesc);
regs             1520 drivers/net/ethernet/alteon/acenic.c 				writel(DEF_RX_COAL, &regs->TuneRxCoalTicks);
regs             1522 drivers/net/ethernet/alteon/acenic.c 				writel(DEF_RX_MAX_DESC, &regs->TuneMaxRxDesc);
regs             1524 drivers/net/ethernet/alteon/acenic.c 				writel(DEF_TX_RATIO, &regs->TxBufRat);
regs             1528 drivers/net/ethernet/alteon/acenic.c 				       &regs->TuneTxCoalTicks);
regs             1531 drivers/net/ethernet/alteon/acenic.c 				       &regs->TuneMaxTxDesc);
regs             1534 drivers/net/ethernet/alteon/acenic.c 				       &regs->TuneRxCoalTicks);
regs             1537 drivers/net/ethernet/alteon/acenic.c 				       &regs->TuneMaxRxDesc);
regs             1539 drivers/net/ethernet/alteon/acenic.c 				writel(DEF_JUMBO_TX_RATIO, &regs->TxBufRat);
regs             1549 drivers/net/ethernet/alteon/acenic.c 	struct ace_regs __iomem *regs = ap->regs;
regs             1558 drivers/net/ethernet/alteon/acenic.c 		       dev->name, (unsigned int)readl(&regs->HostCtrl));
regs             1632 drivers/net/ethernet/alteon/acenic.c 	struct ace_regs __iomem *regs = ap->regs;
regs             1675 drivers/net/ethernet/alteon/acenic.c 		ace_issue_cmd(regs, &cmd);
regs             1677 drivers/net/ethernet/alteon/acenic.c 		writel(idx, &regs->RxStdPrd);
regs             1695 drivers/net/ethernet/alteon/acenic.c 	struct ace_regs __iomem *regs = ap->regs;
regs             1732 drivers/net/ethernet/alteon/acenic.c 	writel(idx, &regs->RxMiniPrd);
regs             1752 drivers/net/ethernet/alteon/acenic.c 	struct ace_regs __iomem *regs = ap->regs;
regs             1792 drivers/net/ethernet/alteon/acenic.c 		ace_issue_cmd(regs, &cmd);
regs             1794 drivers/net/ethernet/alteon/acenic.c 		writel(idx, &regs->RxJumboPrd);
regs             1836 drivers/net/ethernet/alteon/acenic.c 				u32 state = readl(&ap->regs->GigLnkState);
regs             1895 drivers/net/ethernet/alteon/acenic.c  				ace_issue_cmd(ap->regs, &cmd);
regs             1897 drivers/net/ethernet/alteon/acenic.c  				writel(0, &((ap->regs)->RxJumboPrd));
regs             2025 drivers/net/ethernet/alteon/acenic.c 		writel(idx, &ap->regs->RxRetCsm);
regs             2105 drivers/net/ethernet/alteon/acenic.c 	struct ace_regs __iomem *regs = ap->regs;
regs             2115 drivers/net/ethernet/alteon/acenic.c 	if (!(readl(&regs->HostCtrl) & IN_INT))
regs             2126 drivers/net/ethernet/alteon/acenic.c 	writel(0, &regs->Mb0Lo);
regs             2127 drivers/net/ethernet/alteon/acenic.c 	readl(&regs->Mb0Lo);
regs             2157 drivers/net/ethernet/alteon/acenic.c 	evtcsm = readl(&regs->EvtCsm);
regs             2162 drivers/net/ethernet/alteon/acenic.c 		writel(evtcsm, &regs->EvtCsm);
regs             2231 drivers/net/ethernet/alteon/acenic.c 	struct ace_regs __iomem *regs = ap->regs;
regs             2239 drivers/net/ethernet/alteon/acenic.c 	writel(dev->mtu + ETH_HLEN + 4, &regs->IfMtu);
regs             2244 drivers/net/ethernet/alteon/acenic.c 	ace_issue_cmd(regs, &cmd);
regs             2249 drivers/net/ethernet/alteon/acenic.c 	ace_issue_cmd(regs, &cmd);
regs             2259 drivers/net/ethernet/alteon/acenic.c 		ace_issue_cmd(regs, &cmd);
regs             2270 drivers/net/ethernet/alteon/acenic.c 	ace_issue_cmd(regs, &cmd);
regs             2286 drivers/net/ethernet/alteon/acenic.c 	struct ace_regs __iomem *regs = ap->regs;
regs             2303 drivers/net/ethernet/alteon/acenic.c 		ace_issue_cmd(regs, &cmd);
regs             2310 drivers/net/ethernet/alteon/acenic.c 	ace_issue_cmd(regs, &cmd);
regs             2355 drivers/net/ethernet/alteon/acenic.c 		ace_issue_cmd(regs, &cmd);
regs             2411 drivers/net/ethernet/alteon/acenic.c 	struct ace_regs __iomem *regs = ap->regs;
regs             2498 drivers/net/ethernet/alteon/acenic.c  	ace_set_txprd(regs, ap, idx);
regs             2547 drivers/net/ethernet/alteon/acenic.c 	struct ace_regs __iomem *regs = ap->regs;
regs             2549 drivers/net/ethernet/alteon/acenic.c 	writel(new_mtu + ETH_HLEN + 4, &regs->IfMtu);
regs             2571 drivers/net/ethernet/alteon/acenic.c 			ace_issue_cmd(regs, &cmd);
regs             2582 drivers/net/ethernet/alteon/acenic.c 	struct ace_regs __iomem *regs = ap->regs;
regs             2595 drivers/net/ethernet/alteon/acenic.c 	link = readl(&regs->GigLnkState);
regs             2599 drivers/net/ethernet/alteon/acenic.c 		link = readl(&regs->FastLnkState);
regs             2621 drivers/net/ethernet/alteon/acenic.c 	ecmd->trace = readl(&regs->TuneTrace);
regs             2623 drivers/net/ethernet/alteon/acenic.c 	ecmd->txcoal = readl(&regs->TuneTxCoalTicks);
regs             2624 drivers/net/ethernet/alteon/acenic.c 	ecmd->rxcoal = readl(&regs->TuneRxCoalTicks);
regs             2637 drivers/net/ethernet/alteon/acenic.c 	struct ace_regs __iomem *regs = ap->regs;
regs             2640 drivers/net/ethernet/alteon/acenic.c 	link = readl(&regs->GigLnkState);
regs             2644 drivers/net/ethernet/alteon/acenic.c 		link = readl(&regs->FastLnkState);
regs             2683 drivers/net/ethernet/alteon/acenic.c 		writel(link, &regs->TuneLink);
regs             2685 drivers/net/ethernet/alteon/acenic.c 			writel(link, &regs->TuneFastLink);
regs             2691 drivers/net/ethernet/alteon/acenic.c 		ace_issue_cmd(regs, &cmd);
regs             2718 drivers/net/ethernet/alteon/acenic.c 	struct ace_regs __iomem *regs = ap->regs;
regs             2730 drivers/net/ethernet/alteon/acenic.c 	writel(da[0] << 8 | da[1], &regs->MacAddrHi);
regs             2732 drivers/net/ethernet/alteon/acenic.c 	       &regs->MacAddrLo);
regs             2737 drivers/net/ethernet/alteon/acenic.c 	ace_issue_cmd(regs, &cmd);
regs             2746 drivers/net/ethernet/alteon/acenic.c 	struct ace_regs __iomem *regs = ap->regs;
regs             2753 drivers/net/ethernet/alteon/acenic.c 		ace_issue_cmd(regs, &cmd);
regs             2759 drivers/net/ethernet/alteon/acenic.c 		ace_issue_cmd(regs, &cmd);
regs             2767 drivers/net/ethernet/alteon/acenic.c 		ace_issue_cmd(regs, &cmd);
regs             2773 drivers/net/ethernet/alteon/acenic.c 		ace_issue_cmd(regs, &cmd);
regs             2787 drivers/net/ethernet/alteon/acenic.c 		ace_issue_cmd(regs, &cmd);
regs             2792 drivers/net/ethernet/alteon/acenic.c 		ace_issue_cmd(regs, &cmd);
regs             2801 drivers/net/ethernet/alteon/acenic.c 		(struct ace_mac_stats __iomem *)ap->regs->Stats;
regs             2811 drivers/net/ethernet/alteon/acenic.c static void ace_copy(struct ace_regs __iomem *regs, const __be32 *src,
regs             2823 drivers/net/ethernet/alteon/acenic.c 		tdest = (void __iomem *) &regs->Window +
regs             2825 drivers/net/ethernet/alteon/acenic.c 		writel(dest & ~(ACE_WINDOW_SIZE - 1), &regs->WinBase);
regs             2838 drivers/net/ethernet/alteon/acenic.c static void ace_clear(struct ace_regs __iomem *regs, u32 dest, int size)
regs             2849 drivers/net/ethernet/alteon/acenic.c 		tdest = (void __iomem *) &regs->Window +
regs             2851 drivers/net/ethernet/alteon/acenic.c 		writel(dest & ~(ACE_WINDOW_SIZE - 1), &regs->WinBase);
regs             2874 drivers/net/ethernet/alteon/acenic.c 	struct ace_regs __iomem *regs = ap->regs;
regs             2879 drivers/net/ethernet/alteon/acenic.c 	if (!(readl(&regs->CpuCtrl) & CPU_HALTED)) {
regs             2926 drivers/net/ethernet/alteon/acenic.c 	ace_clear(regs, 0x2000, 0x80000-0x2000);
regs             2927 drivers/net/ethernet/alteon/acenic.c 	ace_copy(regs, &fw_data[3], load_addr, fw->size-12);
regs             2949 drivers/net/ethernet/alteon/acenic.c static void eeprom_start(struct ace_regs __iomem *regs)
regs             2953 drivers/net/ethernet/alteon/acenic.c 	readl(&regs->LocalCtrl);
regs             2955 drivers/net/ethernet/alteon/acenic.c 	local = readl(&regs->LocalCtrl);
regs             2957 drivers/net/ethernet/alteon/acenic.c 	writel(local, &regs->LocalCtrl);
regs             2958 drivers/net/ethernet/alteon/acenic.c 	readl(&regs->LocalCtrl);
regs             2962 drivers/net/ethernet/alteon/acenic.c 	writel(local, &regs->LocalCtrl);
regs             2963 drivers/net/ethernet/alteon/acenic.c 	readl(&regs->LocalCtrl);
regs             2967 drivers/net/ethernet/alteon/acenic.c 	writel(local, &regs->LocalCtrl);
regs             2968 drivers/net/ethernet/alteon/acenic.c 	readl(&regs->LocalCtrl);
regs             2972 drivers/net/ethernet/alteon/acenic.c 	writel(local, &regs->LocalCtrl);
regs             2973 drivers/net/ethernet/alteon/acenic.c 	readl(&regs->LocalCtrl);
regs             2978 drivers/net/ethernet/alteon/acenic.c static void eeprom_prep(struct ace_regs __iomem *regs, u8 magic)
regs             2984 drivers/net/ethernet/alteon/acenic.c 	local = readl(&regs->LocalCtrl);
regs             2987 drivers/net/ethernet/alteon/acenic.c 	writel(local, &regs->LocalCtrl);
regs             2988 drivers/net/ethernet/alteon/acenic.c 	readl(&regs->LocalCtrl);
regs             2997 drivers/net/ethernet/alteon/acenic.c 		writel(local, &regs->LocalCtrl);
regs             2998 drivers/net/ethernet/alteon/acenic.c 		readl(&regs->LocalCtrl);
regs             3003 drivers/net/ethernet/alteon/acenic.c 		writel(local, &regs->LocalCtrl);
regs             3004 drivers/net/ethernet/alteon/acenic.c 		readl(&regs->LocalCtrl);
regs             3008 drivers/net/ethernet/alteon/acenic.c 		writel(local, &regs->LocalCtrl);
regs             3009 drivers/net/ethernet/alteon/acenic.c 		readl(&regs->LocalCtrl);
regs             3015 drivers/net/ethernet/alteon/acenic.c static int eeprom_check_ack(struct ace_regs __iomem *regs)
regs             3020 drivers/net/ethernet/alteon/acenic.c 	local = readl(&regs->LocalCtrl);
regs             3022 drivers/net/ethernet/alteon/acenic.c 	writel(local, &regs->LocalCtrl);
regs             3023 drivers/net/ethernet/alteon/acenic.c 	readl(&regs->LocalCtrl);
regs             3027 drivers/net/ethernet/alteon/acenic.c 	writel(local, &regs->LocalCtrl);
regs             3028 drivers/net/ethernet/alteon/acenic.c 	readl(&regs->LocalCtrl);
regs             3032 drivers/net/ethernet/alteon/acenic.c 	state = (readl(&regs->LocalCtrl) & EEPROM_DATA_IN) != 0;
regs             3035 drivers/net/ethernet/alteon/acenic.c 	writel(readl(&regs->LocalCtrl) & ~EEPROM_CLK_OUT, &regs->LocalCtrl);
regs             3036 drivers/net/ethernet/alteon/acenic.c 	readl(&regs->LocalCtrl);
regs             3043 drivers/net/ethernet/alteon/acenic.c static void eeprom_stop(struct ace_regs __iomem *regs)
regs             3048 drivers/net/ethernet/alteon/acenic.c 	local = readl(&regs->LocalCtrl);
regs             3050 drivers/net/ethernet/alteon/acenic.c 	writel(local, &regs->LocalCtrl);
regs             3051 drivers/net/ethernet/alteon/acenic.c 	readl(&regs->LocalCtrl);
regs             3055 drivers/net/ethernet/alteon/acenic.c 	writel(local, &regs->LocalCtrl);
regs             3056 drivers/net/ethernet/alteon/acenic.c 	readl(&regs->LocalCtrl);
regs             3060 drivers/net/ethernet/alteon/acenic.c 	writel(local, &regs->LocalCtrl);
regs             3061 drivers/net/ethernet/alteon/acenic.c 	readl(&regs->LocalCtrl);
regs             3065 drivers/net/ethernet/alteon/acenic.c 	writel(local, &regs->LocalCtrl);
regs             3066 drivers/net/ethernet/alteon/acenic.c 	readl(&regs->LocalCtrl);
regs             3070 drivers/net/ethernet/alteon/acenic.c 	writel(local, &regs->LocalCtrl);
regs             3081 drivers/net/ethernet/alteon/acenic.c 	struct ace_regs __iomem *regs = ap->regs;
regs             3093 drivers/net/ethernet/alteon/acenic.c 	eeprom_start(regs);
regs             3095 drivers/net/ethernet/alteon/acenic.c 	eeprom_prep(regs, EEPROM_WRITE_SELECT);
regs             3096 drivers/net/ethernet/alteon/acenic.c 	if (eeprom_check_ack(regs)) {
regs             3103 drivers/net/ethernet/alteon/acenic.c 	eeprom_prep(regs, (offset >> 8) & 0xff);
regs             3104 drivers/net/ethernet/alteon/acenic.c 	if (eeprom_check_ack(regs)) {
regs             3112 drivers/net/ethernet/alteon/acenic.c 	eeprom_prep(regs, offset & 0xff);
regs             3113 drivers/net/ethernet/alteon/acenic.c 	if (eeprom_check_ack(regs)) {
regs             3121 drivers/net/ethernet/alteon/acenic.c 	eeprom_start(regs);
regs             3122 drivers/net/ethernet/alteon/acenic.c 	eeprom_prep(regs, EEPROM_READ_SELECT);
regs             3123 drivers/net/ethernet/alteon/acenic.c 	if (eeprom_check_ack(regs)) {
regs             3132 drivers/net/ethernet/alteon/acenic.c 		local = readl(&regs->LocalCtrl);
regs             3134 drivers/net/ethernet/alteon/acenic.c 		writel(local, &regs->LocalCtrl);
regs             3135 drivers/net/ethernet/alteon/acenic.c 		readl(&regs->LocalCtrl);
regs             3139 drivers/net/ethernet/alteon/acenic.c 		writel(local, &regs->LocalCtrl);
regs             3140 drivers/net/ethernet/alteon/acenic.c 		readl(&regs->LocalCtrl);
regs             3145 drivers/net/ethernet/alteon/acenic.c 			((readl(&regs->LocalCtrl) & EEPROM_DATA_IN) != 0);
regs             3148 drivers/net/ethernet/alteon/acenic.c 		local = readl(&regs->LocalCtrl);
regs             3150 drivers/net/ethernet/alteon/acenic.c 		writel(local, &regs->LocalCtrl);
regs             3151 drivers/net/ethernet/alteon/acenic.c 		readl(&regs->LocalCtrl);
regs             3156 drivers/net/ethernet/alteon/acenic.c 			writel(local, &regs->LocalCtrl);
regs             3157 drivers/net/ethernet/alteon/acenic.c 			readl(&regs->LocalCtrl);
regs             3164 drivers/net/ethernet/alteon/acenic.c 	writel(local, &regs->LocalCtrl);
regs             3165 drivers/net/ethernet/alteon/acenic.c 	readl(&regs->LocalCtrl);
regs             3168 drivers/net/ethernet/alteon/acenic.c 	writel(readl(&regs->LocalCtrl) | EEPROM_CLK_OUT, &regs->LocalCtrl);
regs             3169 drivers/net/ethernet/alteon/acenic.c 	readl(&regs->LocalCtrl);
regs             3171 drivers/net/ethernet/alteon/acenic.c 	writel(readl(&regs->LocalCtrl) & ~EEPROM_CLK_OUT, &regs->LocalCtrl);
regs             3172 drivers/net/ethernet/alteon/acenic.c 	readl(&regs->LocalCtrl);
regs             3175 drivers/net/ethernet/alteon/acenic.c 	eeprom_stop(regs);
regs              637 drivers/net/ethernet/alteon/acenic.h 	struct ace_regs	__iomem	*regs;		/* register base */
regs              721 drivers/net/ethernet/alteon/acenic.h static inline void ace_set_txprd(struct ace_regs __iomem *regs,
regs              727 drivers/net/ethernet/alteon/acenic.h 	writel(value, &regs->TxPrd);
regs              734 drivers/net/ethernet/alteon/acenic.h 	writel(value, &regs->TxPrd);
regs              743 drivers/net/ethernet/alteon/acenic.h 	struct ace_regs __iomem *regs = ap->regs;
regs              746 drivers/net/ethernet/alteon/acenic.h 		writel(1, &regs->MaskInt);
regs              748 drivers/net/ethernet/alteon/acenic.h 		writel(readl(&regs->HostCtrl) | MASK_INTS, &regs->HostCtrl);
regs              757 drivers/net/ethernet/alteon/acenic.h 	struct ace_regs __iomem *regs = ap->regs;
regs              760 drivers/net/ethernet/alteon/acenic.h 		writel(0, &regs->MaskInt);
regs              762 drivers/net/ethernet/alteon/acenic.h 		writel(readl(&regs->HostCtrl) & ~MASK_INTS, &regs->HostCtrl);
regs              200 drivers/net/ethernet/altera/altera_tse_ethtool.c static void tse_get_regs(struct net_device *dev, struct ethtool_regs *regs,
regs              219 drivers/net/ethernet/altera/altera_tse_ethtool.c 	regs->version = 1;
regs             1380 drivers/net/ethernet/amd/amd8111e.c static void amd8111e_get_regs(struct net_device *dev, struct ethtool_regs *regs, void *buf)
regs             1383 drivers/net/ethernet/amd/amd8111e.c 	regs->version = 0;
regs              333 drivers/net/ethernet/amd/pcnet32.c static void pcnet32_get_regs(struct net_device *dev, struct ethtool_regs *regs,
regs             1441 drivers/net/ethernet/amd/pcnet32.c static void pcnet32_get_regs(struct net_device *dev, struct ethtool_regs *regs,
regs               15 drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c 				struct ethtool_regs *regs, void *p)
regs               21 drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c 	aq_nic_get_regs(aq_nic, regs, p);
regs              688 drivers/net/ethernet/aquantia/atlantic/aq_nic.c int aq_nic_get_regs(struct aq_nic_s *self, struct ethtool_regs *regs, void *p)
regs              693 drivers/net/ethernet/aquantia/atlantic/aq_nic.c 	regs->version = 1;
regs              130 drivers/net/ethernet/aquantia/atlantic/aq_nic.h int aq_nic_get_regs(struct aq_nic_s *self, struct ethtool_regs *regs, void *p);
regs              141 drivers/net/ethernet/arc/emac.h 	void __iomem *regs;
regs              174 drivers/net/ethernet/arc/emac.h 	iowrite32(value, priv->regs + reg * sizeof(int));
regs              186 drivers/net/ethernet/arc/emac.h 	return ioread32(priv->regs + reg * sizeof(int));
regs              907 drivers/net/ethernet/arc/emac_main.c 	priv->regs = devm_ioremap_resource(dev, &res_regs);
regs              908 drivers/net/ethernet/arc/emac_main.c 	if (IS_ERR(priv->regs)) {
regs              909 drivers/net/ethernet/arc/emac_main.c 		err = PTR_ERR(priv->regs);
regs              913 drivers/net/ethernet/arc/emac_main.c 	dev_dbg(dev, "Registers base address is 0x%p\n", priv->regs);
regs              127 drivers/net/ethernet/atheros/atl1c/atl1c_ethtool.c 			   struct ethtool_regs *regs, void *p)
regs              136 drivers/net/ethernet/atheros/atl1c/atl1c_ethtool.c 	regs->version = 1;
regs              146 drivers/net/ethernet/atheros/atl1e/atl1e_ethtool.c 			   struct ethtool_regs *regs, void *p)
regs              155 drivers/net/ethernet/atheros/atl1e/atl1e_ethtool.c 	regs->version = (1 << 24) | (hw->revision_id << 16) | hw->device_id;
regs             3398 drivers/net/ethernet/atheros/atlx/atl1.c static void atl1_get_regs(struct net_device *netdev, struct ethtool_regs *regs,
regs             1839 drivers/net/ethernet/atheros/atlx/atl2.c 	struct ethtool_regs *regs, void *p)
regs             1848 drivers/net/ethernet/atheros/atlx/atl2.c 	regs->version = (1 << 24) | (hw->revision_id << 16) | hw->device_id;
regs              175 drivers/net/ethernet/broadcom/bgmac-platform.c 	struct resource *regs;
regs              205 drivers/net/ethernet/broadcom/bgmac-platform.c 	regs = platform_get_resource_byname(pdev, IORESOURCE_MEM, "amac_base");
regs              206 drivers/net/ethernet/broadcom/bgmac-platform.c 	if (!regs) {
regs              211 drivers/net/ethernet/broadcom/bgmac-platform.c 	bgmac->plat.base = devm_ioremap_resource(&pdev->dev, regs);
regs              215 drivers/net/ethernet/broadcom/bgmac-platform.c 	regs = platform_get_resource_byname(pdev, IORESOURCE_MEM, "idm_base");
regs              216 drivers/net/ethernet/broadcom/bgmac-platform.c 	if (regs) {
regs              217 drivers/net/ethernet/broadcom/bgmac-platform.c 		bgmac->plat.idm_base = devm_ioremap_resource(&pdev->dev, regs);
regs              223 drivers/net/ethernet/broadcom/bgmac-platform.c 	regs = platform_get_resource_byname(pdev, IORESOURCE_MEM, "nicpm_base");
regs              224 drivers/net/ethernet/broadcom/bgmac-platform.c 	if (regs) {
regs              226 drivers/net/ethernet/broadcom/bgmac-platform.c 							       regs);
regs             7065 drivers/net/ethernet/broadcom/bnx2.c bnx2_get_regs(struct net_device *dev, struct ethtool_regs *regs, void *_p)
regs             7095 drivers/net/ethernet/broadcom/bnx2.c 	regs->version = 0;
regs              963 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c 			   struct ethtool_regs *regs, void *_p)
regs              969 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c 	regs->version = 2;
regs              970 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c 	memset(p, 0, regs->len);
regs              695 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	u32 regs[REGS_IN_ENTRY];
regs              726 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 				regs[j] = REG_RD(bp, bar_storm_intmem[storm] +
regs              733 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 			if (regs[0] != COMMON_ASM_INVALID_ASSERT_OPCODE) {
regs              735 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 					  storms_string[storm], i, regs[3],
regs              736 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 					  regs[2], regs[1], regs[0]);
regs             1207 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 				     struct pbf_pN_buf_regs *regs,
regs             1213 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	crd_freed = crd_freed_start = REG_RD(bp, regs->crd_freed);
regs             1214 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	crd = crd_start = REG_RD(bp, regs->crd);
regs             1215 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	init_crd = REG_RD(bp, regs->init_crd);
regs             1217 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	DP(BNX2X_MSG_SP, "INIT CREDIT[%d] : %x\n", regs->pN, init_crd);
regs             1218 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	DP(BNX2X_MSG_SP, "CREDIT[%d]      : s:%x\n", regs->pN, crd);
regs             1219 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	DP(BNX2X_MSG_SP, "CREDIT_FREED[%d]: s:%x\n", regs->pN, crd_freed);
regs             1225 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 			crd = REG_RD(bp, regs->crd);
regs             1226 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 			crd_freed = REG_RD(bp, regs->crd_freed);
regs             1229 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 			   regs->pN);
regs             1231 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 			   regs->pN, crd);
regs             1233 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 			   regs->pN, crd_freed);
regs             1238 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	   poll_count-cur_cnt, FLR_WAIT_INTERVAL, regs->pN);
regs             1242 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 				     struct pbf_pN_cmd_regs *regs,
regs             1248 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	occup = to_free = REG_RD(bp, regs->lines_occup);
regs             1249 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	freed = freed_start = REG_RD(bp, regs->lines_freed);
regs             1251 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	DP(BNX2X_MSG_SP, "OCCUPANCY[%d]   : s:%x\n", regs->pN, occup);
regs             1252 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	DP(BNX2X_MSG_SP, "LINES_FREED[%d] : s:%x\n", regs->pN, freed);
regs             1257 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 			occup = REG_RD(bp, regs->lines_occup);
regs             1258 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 			freed = REG_RD(bp, regs->lines_freed);
regs             1261 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 			   regs->pN);
regs             1263 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 			   regs->pN, occup);
regs             1265 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 			   regs->pN, freed);
regs             1270 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	   poll_count-cur_cnt, FLR_WAIT_INTERVAL, regs->pN);
regs             1917 drivers/net/ethernet/broadcom/bnxt/bnxt.c 	u32 reg = fw_health->regs[reg_idx];
regs             7070 drivers/net/ethernet/broadcom/bnxt/bnxt.c 		u32 reg = fw_health->regs[i];
regs             7119 drivers/net/ethernet/broadcom/bnxt/bnxt.c 	fw_health->regs[BNXT_FW_HEALTH_REG] =
regs             7121 drivers/net/ethernet/broadcom/bnxt/bnxt.c 	fw_health->regs[BNXT_FW_HEARTBEAT_REG] =
regs             7123 drivers/net/ethernet/broadcom/bnxt/bnxt.c 	fw_health->regs[BNXT_FW_RESET_CNT_REG] =
regs             7125 drivers/net/ethernet/broadcom/bnxt/bnxt.c 	fw_health->regs[BNXT_FW_RESET_INPROG_REG] =
regs             1362 drivers/net/ethernet/broadcom/bnxt/bnxt.h 	u32 regs[4];
regs              476 drivers/net/ethernet/broadcom/tg3.c 	writel(val, tp->regs + off);
regs              481 drivers/net/ethernet/broadcom/tg3.c 	return readl(tp->regs + off);
regs              506 drivers/net/ethernet/broadcom/tg3.c 	writel(val, tp->regs + off);
regs              507 drivers/net/ethernet/broadcom/tg3.c 	readl(tp->regs + off);
regs              599 drivers/net/ethernet/broadcom/tg3.c 	void __iomem *mbox = tp->regs + off;
regs              610 drivers/net/ethernet/broadcom/tg3.c 	return readl(tp->regs + off + GRCMBOX_BASE);
regs              615 drivers/net/ethernet/broadcom/tg3.c 	writel(val, tp->regs + off + GRCMBOX_BASE);
regs             6407 drivers/net/ethernet/broadcom/tg3.c static void tg3_dump_legacy_regs(struct tg3 *tp, u32 *regs)
regs             6409 drivers/net/ethernet/broadcom/tg3.c 	tg3_rd32_loop(tp, regs, TG3PCI_VENDOR, 0xb0);
regs             6410 drivers/net/ethernet/broadcom/tg3.c 	tg3_rd32_loop(tp, regs, MAILBOX_INTERRUPT_0, 0x200);
regs             6411 drivers/net/ethernet/broadcom/tg3.c 	tg3_rd32_loop(tp, regs, MAC_MODE, 0x4f0);
regs             6412 drivers/net/ethernet/broadcom/tg3.c 	tg3_rd32_loop(tp, regs, SNDDATAI_MODE, 0xe0);
regs             6413 drivers/net/ethernet/broadcom/tg3.c 	tg3_rd32_loop(tp, regs, SNDDATAC_MODE, 0x04);
regs             6414 drivers/net/ethernet/broadcom/tg3.c 	tg3_rd32_loop(tp, regs, SNDBDS_MODE, 0x80);
regs             6415 drivers/net/ethernet/broadcom/tg3.c 	tg3_rd32_loop(tp, regs, SNDBDI_MODE, 0x48);
regs             6416 drivers/net/ethernet/broadcom/tg3.c 	tg3_rd32_loop(tp, regs, SNDBDC_MODE, 0x04);
regs             6417 drivers/net/ethernet/broadcom/tg3.c 	tg3_rd32_loop(tp, regs, RCVLPC_MODE, 0x20);
regs             6418 drivers/net/ethernet/broadcom/tg3.c 	tg3_rd32_loop(tp, regs, RCVLPC_SELLST_BASE, 0x15c);
regs             6419 drivers/net/ethernet/broadcom/tg3.c 	tg3_rd32_loop(tp, regs, RCVDBDI_MODE, 0x0c);
regs             6420 drivers/net/ethernet/broadcom/tg3.c 	tg3_rd32_loop(tp, regs, RCVDBDI_JUMBO_BD, 0x3c);
regs             6421 drivers/net/ethernet/broadcom/tg3.c 	tg3_rd32_loop(tp, regs, RCVDBDI_BD_PROD_IDX_0, 0x44);
regs             6422 drivers/net/ethernet/broadcom/tg3.c 	tg3_rd32_loop(tp, regs, RCVDCC_MODE, 0x04);
regs             6423 drivers/net/ethernet/broadcom/tg3.c 	tg3_rd32_loop(tp, regs, RCVBDI_MODE, 0x20);
regs             6424 drivers/net/ethernet/broadcom/tg3.c 	tg3_rd32_loop(tp, regs, RCVCC_MODE, 0x14);
regs             6425 drivers/net/ethernet/broadcom/tg3.c 	tg3_rd32_loop(tp, regs, RCVLSC_MODE, 0x08);
regs             6426 drivers/net/ethernet/broadcom/tg3.c 	tg3_rd32_loop(tp, regs, MBFREE_MODE, 0x08);
regs             6427 drivers/net/ethernet/broadcom/tg3.c 	tg3_rd32_loop(tp, regs, HOSTCC_MODE, 0x100);
regs             6430 drivers/net/ethernet/broadcom/tg3.c 		tg3_rd32_loop(tp, regs, HOSTCC_RXCOL_TICKS_VEC1, 0x180);
regs             6432 drivers/net/ethernet/broadcom/tg3.c 	tg3_rd32_loop(tp, regs, MEMARB_MODE, 0x10);
regs             6433 drivers/net/ethernet/broadcom/tg3.c 	tg3_rd32_loop(tp, regs, BUFMGR_MODE, 0x58);
regs             6434 drivers/net/ethernet/broadcom/tg3.c 	tg3_rd32_loop(tp, regs, RDMAC_MODE, 0x08);
regs             6435 drivers/net/ethernet/broadcom/tg3.c 	tg3_rd32_loop(tp, regs, WDMAC_MODE, 0x08);
regs             6436 drivers/net/ethernet/broadcom/tg3.c 	tg3_rd32_loop(tp, regs, RX_CPU_MODE, 0x04);
regs             6437 drivers/net/ethernet/broadcom/tg3.c 	tg3_rd32_loop(tp, regs, RX_CPU_STATE, 0x04);
regs             6438 drivers/net/ethernet/broadcom/tg3.c 	tg3_rd32_loop(tp, regs, RX_CPU_PGMCTR, 0x04);
regs             6439 drivers/net/ethernet/broadcom/tg3.c 	tg3_rd32_loop(tp, regs, RX_CPU_HWBKPT, 0x04);
regs             6442 drivers/net/ethernet/broadcom/tg3.c 		tg3_rd32_loop(tp, regs, TX_CPU_MODE, 0x04);
regs             6443 drivers/net/ethernet/broadcom/tg3.c 		tg3_rd32_loop(tp, regs, TX_CPU_STATE, 0x04);
regs             6444 drivers/net/ethernet/broadcom/tg3.c 		tg3_rd32_loop(tp, regs, TX_CPU_PGMCTR, 0x04);
regs             6447 drivers/net/ethernet/broadcom/tg3.c 	tg3_rd32_loop(tp, regs, GRCMBOX_INTERRUPT_0, 0x110);
regs             6448 drivers/net/ethernet/broadcom/tg3.c 	tg3_rd32_loop(tp, regs, FTQ_RESET, 0x120);
regs             6449 drivers/net/ethernet/broadcom/tg3.c 	tg3_rd32_loop(tp, regs, MSGINT_MODE, 0x0c);
regs             6450 drivers/net/ethernet/broadcom/tg3.c 	tg3_rd32_loop(tp, regs, DMAC_MODE, 0x04);
regs             6451 drivers/net/ethernet/broadcom/tg3.c 	tg3_rd32_loop(tp, regs, GRC_MODE, 0x4c);
regs             6454 drivers/net/ethernet/broadcom/tg3.c 		tg3_rd32_loop(tp, regs, NVRAM_CMD, 0x24);
regs             6460 drivers/net/ethernet/broadcom/tg3.c 	u32 *regs;
regs             6462 drivers/net/ethernet/broadcom/tg3.c 	regs = kzalloc(TG3_REG_BLK_SIZE, GFP_ATOMIC);
regs             6463 drivers/net/ethernet/broadcom/tg3.c 	if (!regs)
regs             6469 drivers/net/ethernet/broadcom/tg3.c 			regs[i / sizeof(u32)] = tr32(i);
regs             6471 drivers/net/ethernet/broadcom/tg3.c 		tg3_dump_legacy_regs(tp, regs);
regs             6474 drivers/net/ethernet/broadcom/tg3.c 		if (!regs[i + 0] && !regs[i + 1] &&
regs             6475 drivers/net/ethernet/broadcom/tg3.c 		    !regs[i + 2] && !regs[i + 3])
regs             6480 drivers/net/ethernet/broadcom/tg3.c 			   regs[i + 0], regs[i + 1], regs[i + 2], regs[i + 3]);
regs             6483 drivers/net/ethernet/broadcom/tg3.c 	kfree(regs);
regs             11974 drivers/net/ethernet/broadcom/tg3.c 		struct ethtool_regs *regs, void *_p)
regs             11978 drivers/net/ethernet/broadcom/tg3.c 	regs->version = 0;
regs             16610 drivers/net/ethernet/broadcom/tg3.c 		iounmap(tp->regs);
regs             16611 drivers/net/ethernet/broadcom/tg3.c 		tp->regs = NULL;
regs             16857 drivers/net/ethernet/broadcom/tg3.c 			sram_base = tp->regs + NIC_SRAM_WIN_BASE + NIC_SRAM_STATS_BLK;
regs             17706 drivers/net/ethernet/broadcom/tg3.c 	tp->regs = pci_ioremap_bar(pdev, BAR_0);
regs             17707 drivers/net/ethernet/broadcom/tg3.c 	if (!tp->regs) {
regs             17995 drivers/net/ethernet/broadcom/tg3.c 	if (tp->regs) {
regs             17996 drivers/net/ethernet/broadcom/tg3.c 		iounmap(tp->regs);
regs             17997 drivers/net/ethernet/broadcom/tg3.c 		tp->regs = NULL;
regs             18035 drivers/net/ethernet/broadcom/tg3.c 		if (tp->regs) {
regs             18036 drivers/net/ethernet/broadcom/tg3.c 			iounmap(tp->regs);
regs             18037 drivers/net/ethernet/broadcom/tg3.c 			tp->regs = NULL;
regs             3182 drivers/net/ethernet/broadcom/tg3.h 	void __iomem			*regs;
regs               80 drivers/net/ethernet/brocade/bna/bna_hw_defs.h 	(_bna)->regs.fn_int_status = (_pcidev)->pci_bar_kva +		\
regs               82 drivers/net/ethernet/brocade/bna/bna_hw_defs.h 	(_bna)->regs.fn_int_mask = (_pcidev)->pci_bar_kva +		\
regs              100 drivers/net/ethernet/brocade/bna/bna_hw_defs.h 	(_bna)->regs.fn_int_status = (_pcidev)->pci_bar_kva +		\
regs              102 drivers/net/ethernet/brocade/bna/bna_hw_defs.h 	(_bna)->regs.fn_int_mask = (_pcidev)->pci_bar_kva +		\
regs              165 drivers/net/ethernet/brocade/bna/bna_hw_defs.h 	(_cur_mask) = readl((_bna)->regs.fn_int_mask);		\
regs              166 drivers/net/ethernet/brocade/bna/bna_hw_defs.h 	writel(0xffffffff, (_bna)->regs.fn_int_mask);		\
regs              170 drivers/net/ethernet/brocade/bna/bna_hw_defs.h 	writel((new_mask), (bna)->regs.fn_int_mask)
regs              174 drivers/net/ethernet/brocade/bna/bna_hw_defs.h 	mask = readl((bna)->regs.fn_int_mask);				\
regs              176 drivers/net/ethernet/brocade/bna/bna_hw_defs.h 		(bna)->bits.error_mask_bits), (bna)->regs.fn_int_mask); \
regs              177 drivers/net/ethernet/brocade/bna/bna_hw_defs.h 	mask = readl((bna)->regs.fn_int_mask);				\
regs              183 drivers/net/ethernet/brocade/bna/bna_hw_defs.h 	mask = readl((bna)->regs.fn_int_mask);				\
regs              185 drivers/net/ethernet/brocade/bna/bna_hw_defs.h 		(bna)->bits.error_mask_bits)), (bna)->regs.fn_int_mask);\
regs              186 drivers/net/ethernet/brocade/bna/bna_hw_defs.h 	mask = readl((bna)->regs.fn_int_mask);				\
regs              191 drivers/net/ethernet/brocade/bna/bna_hw_defs.h 	(_status) = readl((_bna)->regs.fn_int_status);			\
regs              194 drivers/net/ethernet/brocade/bna/bna_hw_defs.h 			(_bna)->regs.fn_int_status);			\
regs              905 drivers/net/ethernet/brocade/bna/bna_types.h 	struct bna_reg regs;
regs             1156 drivers/net/ethernet/cadence/macb.h 	void __iomem		*regs;
regs              228 drivers/net/ethernet/cadence/macb_main.c 	return __raw_readl(bp->regs + offset);
regs              233 drivers/net/ethernet/cadence/macb_main.c 	__raw_writel(value, bp->regs + offset);
regs              238 drivers/net/ethernet/cadence/macb_main.c 	return readl_relaxed(bp->regs + offset);
regs              243 drivers/net/ethernet/cadence/macb_main.c 	writel_relaxed(value, bp->regs + offset);
regs             2671 drivers/net/ethernet/cadence/macb_main.c static void macb_get_regs(struct net_device *dev, struct ethtool_regs *regs,
regs             2678 drivers/net/ethernet/cadence/macb_main.c 	regs->version = (macb_readl(bp, MID) & ((1 << MACB_REV_SIZE) - 1))
regs             3327 drivers/net/ethernet/cadence/macb_main.c 	if (hw_is_gem(bp->regs, bp->native_io)) {
regs             4192 drivers/net/ethernet/cadence/macb_main.c 	struct resource *regs;
regs             4198 drivers/net/ethernet/cadence/macb_main.c 	regs = platform_get_resource(pdev, IORESOURCE_MEM, 0);
regs             4199 drivers/net/ethernet/cadence/macb_main.c 	mem = devm_ioremap_resource(&pdev->dev, regs);
regs             4232 drivers/net/ethernet/cadence/macb_main.c 	dev->base_addr = regs->start;
regs             4239 drivers/net/ethernet/cadence/macb_main.c 	bp->regs = mem;
regs             3007 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c 			 struct ethtool_regs *regs, void *regbuf)
regs             3013 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c 	regs->version = OCT_ETHTOOL_REGSVER;
regs              365 drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c 			   struct ethtool_regs *regs, void *reg)
regs              373 drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c 	regs->version = 0;
regs              232 drivers/net/ethernet/chelsio/cxgb/common.h 	u8 __iomem *regs;
regs              541 drivers/net/ethernet/chelsio/cxgb/cxgb2.c 		*p++ = readl(ap->regs + start);
regs              544 drivers/net/ethernet/chelsio/cxgb/cxgb2.c static void get_regs(struct net_device *dev, struct ethtool_regs *regs,
regs              552 drivers/net/ethernet/chelsio/cxgb/cxgb2.c 	regs->version = 2;
regs              930 drivers/net/ethernet/chelsio/cxgb/cxgb2.c 	writel(F_PL_INTR_EXT, adapter->regs + A_PL_CAUSE);
regs              932 drivers/net/ethernet/chelsio/cxgb/cxgb2.c 		   adapter->regs + A_PL_ENABLE);
regs              948 drivers/net/ethernet/chelsio/cxgb/cxgb2.c 		   adapter->regs + A_PL_ENABLE);
regs             1043 drivers/net/ethernet/chelsio/cxgb/cxgb2.c 			adapter->regs = ioremap(mmio_start, mmio_len);
regs             1044 drivers/net/ethernet/chelsio/cxgb/cxgb2.c 			if (!adapter->regs) {
regs             1180 drivers/net/ethernet/chelsio/cxgb/cxgb2.c 		if (adapter->regs)
regs             1181 drivers/net/ethernet/chelsio/cxgb/cxgb2.c 			iounmap(adapter->regs);
regs             1358 drivers/net/ethernet/chelsio/cxgb/cxgb2.c 	iounmap(adapter->regs);
regs               70 drivers/net/ethernet/chelsio/cxgb/espi.c 	       adapter->regs + A_ESPI_CMD_ADDR);
regs               71 drivers/net/ethernet/chelsio/cxgb/espi.c 	writel(0, adapter->regs + A_ESPI_GOSTAT);
regs               74 drivers/net/ethernet/chelsio/cxgb/espi.c 		busy = readl(adapter->regs + A_ESPI_GOSTAT) & F_ESPI_CMD_BUSY;
regs               87 drivers/net/ethernet/chelsio/cxgb/espi.c 	if (!(readl(adapter->regs + A_ESPI_RX_RESET)  & F_RX_CLK_STATUS)) {
regs               92 drivers/net/ethernet/chelsio/cxgb/espi.c 	writel(F_ESPI_RX_CORE_RST, adapter->regs + A_ESPI_RX_RESET);
regs              112 drivers/net/ethernet/chelsio/cxgb/espi.c 	       adapter->regs + A_ESPI_RX_RESET);
regs              119 drivers/net/ethernet/chelsio/cxgb/espi.c 	u32 enable, pl_intr = readl(espi->adapter->regs + A_PL_ENABLE);
regs              129 drivers/net/ethernet/chelsio/cxgb/espi.c 	writel(enable, espi->adapter->regs + A_ESPI_INTR_ENABLE);
regs              130 drivers/net/ethernet/chelsio/cxgb/espi.c 	writel(pl_intr | F_PL_INTR_ESPI, espi->adapter->regs + A_PL_ENABLE);
regs              135 drivers/net/ethernet/chelsio/cxgb/espi.c 	readl(espi->adapter->regs + A_ESPI_DIP2_ERR_COUNT);
regs              136 drivers/net/ethernet/chelsio/cxgb/espi.c 	writel(0xffffffff, espi->adapter->regs + A_ESPI_INTR_STATUS);
regs              137 drivers/net/ethernet/chelsio/cxgb/espi.c 	writel(F_PL_INTR_ESPI, espi->adapter->regs + A_PL_CAUSE);
regs              142 drivers/net/ethernet/chelsio/cxgb/espi.c 	u32 pl_intr = readl(espi->adapter->regs + A_PL_ENABLE);
regs              144 drivers/net/ethernet/chelsio/cxgb/espi.c 	writel(0, espi->adapter->regs + A_ESPI_INTR_ENABLE);
regs              145 drivers/net/ethernet/chelsio/cxgb/espi.c 	writel(pl_intr & ~F_PL_INTR_ESPI, espi->adapter->regs + A_PL_ENABLE);
regs              150 drivers/net/ethernet/chelsio/cxgb/espi.c 	u32 status = readl(espi->adapter->regs + A_ESPI_INTR_STATUS);
regs              169 drivers/net/ethernet/chelsio/cxgb/espi.c 		readl(espi->adapter->regs + A_ESPI_DIP2_ERR_COUNT);
regs              178 drivers/net/ethernet/chelsio/cxgb/espi.c 	writel(status, espi->adapter->regs + A_ESPI_INTR_STATUS);
regs              191 drivers/net/ethernet/chelsio/cxgb/espi.c 	writel(0x1f4, adapter->regs + A_ESPI_SCH_TOKEN0);
regs              192 drivers/net/ethernet/chelsio/cxgb/espi.c 	writel(0x1f4, adapter->regs + A_ESPI_SCH_TOKEN1);
regs              193 drivers/net/ethernet/chelsio/cxgb/espi.c 	writel(0x1f4, adapter->regs + A_ESPI_SCH_TOKEN2);
regs              194 drivers/net/ethernet/chelsio/cxgb/espi.c 	writel(0x1f4, adapter->regs + A_ESPI_SCH_TOKEN3);
regs              195 drivers/net/ethernet/chelsio/cxgb/espi.c 	writel(0x100, adapter->regs + A_ESPI_RX_FIFO_ALMOST_EMPTY_WATERMARK);
regs              196 drivers/net/ethernet/chelsio/cxgb/espi.c 	writel(wmark, adapter->regs + A_ESPI_RX_FIFO_ALMOST_FULL_WATERMARK);
regs              197 drivers/net/ethernet/chelsio/cxgb/espi.c 	writel(3, adapter->regs + A_ESPI_CALENDAR_LENGTH);
regs              198 drivers/net/ethernet/chelsio/cxgb/espi.c 	writel(0x08000008, adapter->regs + A_ESPI_TRAIN);
regs              199 drivers/net/ethernet/chelsio/cxgb/espi.c 	writel(V_RX_NPORTS(1) | V_TX_NPORTS(1), adapter->regs + A_PORT_CONFIG);
regs              204 drivers/net/ethernet/chelsio/cxgb/espi.c 	writel(0x1f4, adapter->regs + A_ESPI_SCH_TOKEN0);
regs              205 drivers/net/ethernet/chelsio/cxgb/espi.c 	writel(0x1f401f4, adapter->regs + A_ESPI_SCH_TOKEN1);
regs              206 drivers/net/ethernet/chelsio/cxgb/espi.c 	writel(0x1f4, adapter->regs + A_ESPI_SCH_TOKEN2);
regs              207 drivers/net/ethernet/chelsio/cxgb/espi.c 	writel(0xa00, adapter->regs + A_ESPI_RX_FIFO_ALMOST_FULL_WATERMARK);
regs              208 drivers/net/ethernet/chelsio/cxgb/espi.c 	writel(0x1ff, adapter->regs + A_ESPI_RX_FIFO_ALMOST_EMPTY_WATERMARK);
regs              209 drivers/net/ethernet/chelsio/cxgb/espi.c 	writel(1, adapter->regs + A_ESPI_CALENDAR_LENGTH);
regs              210 drivers/net/ethernet/chelsio/cxgb/espi.c 	writel(V_RX_NPORTS(4) | V_TX_NPORTS(4), adapter->regs + A_PORT_CONFIG);
regs              212 drivers/net/ethernet/chelsio/cxgb/espi.c 	writel(0x08000008, adapter->regs + A_ESPI_TRAIN);
regs              220 drivers/net/ethernet/chelsio/cxgb/espi.c 	writel(1, adapter->regs + A_ESPI_CALENDAR_LENGTH);
regs              223 drivers/net/ethernet/chelsio/cxgb/espi.c 			writel(0xf00, adapter->regs + A_ESPI_RX_FIFO_ALMOST_FULL_WATERMARK);
regs              224 drivers/net/ethernet/chelsio/cxgb/espi.c 			writel(0x3c0, adapter->regs + A_ESPI_RX_FIFO_ALMOST_EMPTY_WATERMARK);
regs              226 drivers/net/ethernet/chelsio/cxgb/espi.c 			writel(0x7ff, adapter->regs + A_ESPI_RX_FIFO_ALMOST_FULL_WATERMARK);
regs              227 drivers/net/ethernet/chelsio/cxgb/espi.c 			writel(0x1ff, adapter->regs + A_ESPI_RX_FIFO_ALMOST_EMPTY_WATERMARK);
regs              230 drivers/net/ethernet/chelsio/cxgb/espi.c 		writel(0x1fff, adapter->regs + A_ESPI_RX_FIFO_ALMOST_FULL_WATERMARK);
regs              231 drivers/net/ethernet/chelsio/cxgb/espi.c 		writel(0x7ff, adapter->regs + A_ESPI_RX_FIFO_ALMOST_EMPTY_WATERMARK);
regs              233 drivers/net/ethernet/chelsio/cxgb/espi.c 	writel(V_RX_NPORTS(nports) | V_TX_NPORTS(nports), adapter->regs + A_PORT_CONFIG);
regs              243 drivers/net/ethernet/chelsio/cxgb/espi.c 	writel(0, adapter->regs + A_ESPI_TRAIN);
regs              248 drivers/net/ethernet/chelsio/cxgb/espi.c 		       V_DIP4_THRES(1), adapter->regs + A_ESPI_MISC_CONTROL);
regs              250 drivers/net/ethernet/chelsio/cxgb/espi.c 		       adapter->regs + A_ESPI_MAXBURST1_MAXBURST2);
regs              252 drivers/net/ethernet/chelsio/cxgb/espi.c 		writel(0x800100, adapter->regs + A_ESPI_MAXBURST1_MAXBURST2);
regs              265 drivers/net/ethernet/chelsio/cxgb/espi.c 	       adapter->regs + A_ESPI_FIFO_STATUS_ENABLE);
regs              273 drivers/net/ethernet/chelsio/cxgb/espi.c 		espi->misc_ctrl = readl(adapter->regs + A_ESPI_MISC_CONTROL);
regs              278 drivers/net/ethernet/chelsio/cxgb/espi.c 		writel(espi->misc_ctrl, adapter->regs + A_ESPI_MISC_CONTROL);
regs              309 drivers/net/ethernet/chelsio/cxgb/espi.c 	writel(espi->misc_ctrl, adapter->regs + A_ESPI_MISC_CONTROL);
regs              331 drivers/net/ethernet/chelsio/cxgb/espi.c 		       adapter->regs + A_ESPI_MISC_CONTROL);
regs              332 drivers/net/ethernet/chelsio/cxgb/espi.c 		sel = readl(adapter->regs + A_ESPI_SCH_TOKEN3);
regs              333 drivers/net/ethernet/chelsio/cxgb/espi.c 		writel(espi->misc_ctrl, adapter->regs + A_ESPI_MISC_CONTROL);
regs              335 drivers/net/ethernet/chelsio/cxgb/espi.c 		sel = readl(adapter->regs + A_ESPI_SCH_TOKEN3);
regs              359 drivers/net/ethernet/chelsio/cxgb/espi.c 		writel(espi->misc_ctrl, adapter->regs + A_ESPI_MISC_CONTROL);
regs              364 drivers/net/ethernet/chelsio/cxgb/espi.c 			       adapter->regs + A_ESPI_MISC_CONTROL);
regs              366 drivers/net/ethernet/chelsio/cxgb/espi.c 		*valp = readl(adapter->regs + A_ESPI_SCH_TOKEN3);
regs              369 drivers/net/ethernet/chelsio/cxgb/espi.c 	writel(espi->misc_ctrl, adapter->regs + A_ESPI_MISC_CONTROL);
regs              154 drivers/net/ethernet/chelsio/cxgb/pm3393.c 	pl_intr = readl(cmac->adapter->regs + A_PL_ENABLE);
regs              156 drivers/net/ethernet/chelsio/cxgb/pm3393.c 	writel(pl_intr, cmac->adapter->regs + A_PL_ENABLE);
regs              236 drivers/net/ethernet/chelsio/cxgb/pm3393.c 	pl_intr = readl(cmac->adapter->regs + A_PL_CAUSE);
regs              238 drivers/net/ethernet/chelsio/cxgb/pm3393.c 	writel(pl_intr, cmac->adapter->regs + A_PL_CAUSE);
regs              484 drivers/net/ethernet/chelsio/cxgb/sge.c 			writel(F_CMDQ0_ENABLE, sge->adapter->regs + A_SG_DOORBELL);
regs              498 drivers/net/ethernet/chelsio/cxgb/sge.c 	writel(val, adapter->regs + A_SG_DOORBELL);
regs              722 drivers/net/ethernet/chelsio/cxgb/sge.c 	writel((u32)addr, adapter->regs + base_reg_lo);
regs              723 drivers/net/ethernet/chelsio/cxgb/sge.c 	writel(addr >> 32, adapter->regs + base_reg_hi);
regs              724 drivers/net/ethernet/chelsio/cxgb/sge.c 	writel(size, adapter->regs + size_reg);
regs              739 drivers/net/ethernet/chelsio/cxgb/sge.c 		writel(sge->sge_control, adapter->regs + A_SG_CONTROL);
regs              740 drivers/net/ethernet/chelsio/cxgb/sge.c 		readl(adapter->regs + A_SG_CONTROL);   /* flush */
regs              752 drivers/net/ethernet/chelsio/cxgb/sge.c 	writel(0, ap->regs + A_SG_CONTROL);
regs              765 drivers/net/ethernet/chelsio/cxgb/sge.c 	writel(SGE_RX_SM_BUF_SIZE + 1, ap->regs + A_SG_FLTHRESHOLD);
regs              769 drivers/net/ethernet/chelsio/cxgb/sge.c 	writel((u32)sge->respQ.size - 1, ap->regs + A_SG_RSPQUEUECREDIT);
regs              873 drivers/net/ethernet/chelsio/cxgb/sge.c 	u32 irq_reg = readl(adapter->regs + A_SG_INT_ENABLE);
regs              888 drivers/net/ethernet/chelsio/cxgb/sge.c 	writel(irqholdoff_reg, adapter->regs + A_SG_INTRTIMER);
regs              889 drivers/net/ethernet/chelsio/cxgb/sge.c 	writel(irq_reg, adapter->regs + A_SG_INT_ENABLE);
regs              905 drivers/net/ethernet/chelsio/cxgb/sge.c 	u32 val = readl(sge->adapter->regs + A_PL_ENABLE);
regs              907 drivers/net/ethernet/chelsio/cxgb/sge.c 	writel(val & ~SGE_PL_INTR_MASK, sge->adapter->regs + A_PL_ENABLE);
regs              908 drivers/net/ethernet/chelsio/cxgb/sge.c 	writel(0, sge->adapter->regs + A_SG_INT_ENABLE);
regs              917 drivers/net/ethernet/chelsio/cxgb/sge.c 	u32 val = readl(sge->adapter->regs + A_PL_ENABLE);
regs              921 drivers/net/ethernet/chelsio/cxgb/sge.c 	writel(en, sge->adapter->regs + A_SG_INT_ENABLE);
regs              922 drivers/net/ethernet/chelsio/cxgb/sge.c 	writel(val | SGE_PL_INTR_MASK, sge->adapter->regs + A_PL_ENABLE);
regs              930 drivers/net/ethernet/chelsio/cxgb/sge.c 	writel(SGE_PL_INTR_MASK, sge->adapter->regs + A_PL_CAUSE);
regs              931 drivers/net/ethernet/chelsio/cxgb/sge.c 	writel(0xffffffff, sge->adapter->regs + A_SG_INT_CAUSE);
regs              940 drivers/net/ethernet/chelsio/cxgb/sge.c 	u32 cause = readl(adapter->regs + A_SG_INT_CAUSE);
regs              967 drivers/net/ethernet/chelsio/cxgb/sge.c 	writel(cause, adapter->regs + A_SG_INT_CAUSE);
regs             1338 drivers/net/ethernet/chelsio/cxgb/sge.c 			writel(F_CMDQ0_ENABLE, adapter->regs + A_SG_DOORBELL);
regs             1448 drivers/net/ethernet/chelsio/cxgb/sge.c 			writel(F_CMDQ0_ENABLE, adapter->regs + A_SG_DOORBELL);
regs             1529 drivers/net/ethernet/chelsio/cxgb/sge.c 			writel(q->credits, adapter->regs + A_SG_RSPQUEUECREDIT);
regs             1584 drivers/net/ethernet/chelsio/cxgb/sge.c 			writel(q->credits, adapter->regs + A_SG_RSPQUEUECREDIT);
regs             1609 drivers/net/ethernet/chelsio/cxgb/sge.c 		       adapter->regs + A_SG_SLEEPING);
regs             1621 drivers/net/ethernet/chelsio/cxgb/sge.c 		writel(F_PL_INTR_SGE_DATA, adapter->regs + A_PL_CAUSE);
regs             1628 drivers/net/ethernet/chelsio/cxgb/sge.c 				writel(sge->respQ.cidx, adapter->regs + A_SG_SLEEPING);
regs             1738 drivers/net/ethernet/chelsio/cxgb/sge.c 			writel(F_CMDQ0_ENABLE, adapter->regs + A_SG_DOORBELL);
regs             1897 drivers/net/ethernet/chelsio/cxgb/sge.c 			writel(F_CMDQ0_ENABLE, sge->adapter->regs + A_SG_DOORBELL);
regs             1911 drivers/net/ethernet/chelsio/cxgb/sge.c 	writel(sge->fixed_intrtimer, sge->adapter->regs + A_SG_INTRTIMER);
regs             1945 drivers/net/ethernet/chelsio/cxgb/sge.c 	writel(0, sge->adapter->regs + A_SG_CONTROL);
regs             1946 drivers/net/ethernet/chelsio/cxgb/sge.c 	readl(sge->adapter->regs + A_SG_CONTROL); /* flush */
regs             1967 drivers/net/ethernet/chelsio/cxgb/sge.c 	writel(sge->sge_control, sge->adapter->regs + A_SG_CONTROL);
regs             1969 drivers/net/ethernet/chelsio/cxgb/sge.c 	readl(sge->adapter->regs + A_SG_CONTROL); /* flush */
regs               65 drivers/net/ethernet/chelsio/cxgb/subr.c 		u32 val = readl(adapter->regs + reg) & mask;
regs               85 drivers/net/ethernet/chelsio/cxgb/subr.c 	writel(addr, adapter->regs + A_TPI_ADDR);
regs               86 drivers/net/ethernet/chelsio/cxgb/subr.c 	writel(value, adapter->regs + A_TPI_WR_DATA);
regs               87 drivers/net/ethernet/chelsio/cxgb/subr.c 	writel(F_TPIWR, adapter->regs + A_TPI_CSR);
regs              114 drivers/net/ethernet/chelsio/cxgb/subr.c 	writel(addr, adapter->regs + A_TPI_ADDR);
regs              115 drivers/net/ethernet/chelsio/cxgb/subr.c 	writel(0, adapter->regs + A_TPI_CSR);
regs              123 drivers/net/ethernet/chelsio/cxgb/subr.c 		*valp = readl(adapter->regs + A_TPI_RD_DATA);
regs              142 drivers/net/ethernet/chelsio/cxgb/subr.c 	writel(V_TPIPAR(value), adapter->regs + A_TPI_PAR);
regs              196 drivers/net/ethernet/chelsio/cxgb/subr.c 	u32 cause = readl(adapter->regs + FPGA_GMAC_ADDR_INTERRUPT_CAUSE);
regs              206 drivers/net/ethernet/chelsio/cxgb/subr.c 	writel(cause, adapter->regs + FPGA_GMAC_ADDR_INTERRUPT_CAUSE);
regs              215 drivers/net/ethernet/chelsio/cxgb/subr.c 	u32 cause = readl(adapter->regs + A_PL_CAUSE);
regs              229 drivers/net/ethernet/chelsio/cxgb/subr.c 		u32 tp_cause = readl(adapter->regs + FPGA_TP_ADDR_INTERRUPT_CAUSE);
regs              232 drivers/net/ethernet/chelsio/cxgb/subr.c 		writel(tp_cause, adapter->regs + FPGA_TP_ADDR_INTERRUPT_CAUSE);
regs              239 drivers/net/ethernet/chelsio/cxgb/subr.c 		writel(cause, adapter->regs + A_PL_CAUSE);
regs              776 drivers/net/ethernet/chelsio/cxgb/subr.c 		u32 pl_intr = readl(adapter->regs + A_PL_ENABLE);
regs              784 drivers/net/ethernet/chelsio/cxgb/subr.c 		writel(pl_intr, adapter->regs + A_PL_ENABLE);
regs              806 drivers/net/ethernet/chelsio/cxgb/subr.c 		writel(0, adapter->regs + A_PL_ENABLE);
regs              832 drivers/net/ethernet/chelsio/cxgb/subr.c 		u32 pl_intr = readl(adapter->regs + A_PL_CAUSE);
regs              835 drivers/net/ethernet/chelsio/cxgb/subr.c 		       adapter->regs + A_PL_CAUSE);
regs              847 drivers/net/ethernet/chelsio/cxgb/subr.c 	u32 cause = readl(adapter->regs + A_PL_CAUSE);
regs              864 drivers/net/ethernet/chelsio/cxgb/subr.c 	writel(cause, adapter->regs + A_PL_CAUSE);
regs              865 drivers/net/ethernet/chelsio/cxgb/subr.c 	readl(adapter->regs + A_PL_CAUSE); /* flush writes */
regs              902 drivers/net/ethernet/chelsio/cxgb/subr.c 		u32 val = readl(adapter->regs + A_TP_PC_CONFIG);
regs              968 drivers/net/ethernet/chelsio/cxgb/subr.c 		u32 val = readl(adapter->regs + A_MC4_CFG);
regs              970 drivers/net/ethernet/chelsio/cxgb/subr.c 		writel(val | F_READY | F_MC4_SLOW, adapter->regs + A_MC4_CFG);
regs              972 drivers/net/ethernet/chelsio/cxgb/subr.c 		       adapter->regs + A_MC5_CONFIG);
regs               32 drivers/net/ethernet/chelsio/cxgb/tp.c 	writel(val, ap->regs + A_TP_IN_CONFIG);
regs               36 drivers/net/ethernet/chelsio/cxgb/tp.c 	       F_TP_OUT_ESPI_GENERATE_TCP_CSUM, ap->regs + A_TP_OUT_CONFIG);
regs               40 drivers/net/ethernet/chelsio/cxgb/tp.c 	       V_SYN_COOKIE_PARAMETER(29), ap->regs + A_TP_GLOBAL_CONFIG);
regs               50 drivers/net/ethernet/chelsio/cxgb/tp.c 		       ap->regs + A_TP_TX_DROP_CONFIG);
regs               73 drivers/net/ethernet/chelsio/cxgb/tp.c 	u32 tp_intr = readl(tp->adapter->regs + A_PL_ENABLE);
regs               79 drivers/net/ethernet/chelsio/cxgb/tp.c 		       tp->adapter->regs + FPGA_TP_ADDR_INTERRUPT_ENABLE);
regs               81 drivers/net/ethernet/chelsio/cxgb/tp.c 		       tp->adapter->regs + A_PL_ENABLE);
regs               86 drivers/net/ethernet/chelsio/cxgb/tp.c 		writel(0, tp->adapter->regs + A_TP_INT_ENABLE);
regs               88 drivers/net/ethernet/chelsio/cxgb/tp.c 		       tp->adapter->regs + A_PL_ENABLE);
regs               94 drivers/net/ethernet/chelsio/cxgb/tp.c 	u32 tp_intr = readl(tp->adapter->regs + A_PL_ENABLE);
regs               99 drivers/net/ethernet/chelsio/cxgb/tp.c 		writel(0, tp->adapter->regs + FPGA_TP_ADDR_INTERRUPT_ENABLE);
regs              101 drivers/net/ethernet/chelsio/cxgb/tp.c 		       tp->adapter->regs + A_PL_ENABLE);
regs              105 drivers/net/ethernet/chelsio/cxgb/tp.c 		writel(0, tp->adapter->regs + A_TP_INT_ENABLE);
regs              107 drivers/net/ethernet/chelsio/cxgb/tp.c 		       tp->adapter->regs + A_PL_ENABLE);
regs              116 drivers/net/ethernet/chelsio/cxgb/tp.c 		       tp->adapter->regs + FPGA_TP_ADDR_INTERRUPT_CAUSE);
regs              117 drivers/net/ethernet/chelsio/cxgb/tp.c 		writel(FPGA_PCIX_INTERRUPT_TP, tp->adapter->regs + A_PL_CAUSE);
regs              121 drivers/net/ethernet/chelsio/cxgb/tp.c 	writel(0xffffffff, tp->adapter->regs + A_TP_INT_CAUSE);
regs              122 drivers/net/ethernet/chelsio/cxgb/tp.c 	writel(F_PL_INTR_TP, tp->adapter->regs + A_PL_CAUSE);
regs              135 drivers/net/ethernet/chelsio/cxgb/tp.c 	cause = readl(tp->adapter->regs + A_TP_INT_CAUSE);
regs              136 drivers/net/ethernet/chelsio/cxgb/tp.c 	writel(cause, tp->adapter->regs + A_TP_INT_CAUSE);
regs              142 drivers/net/ethernet/chelsio/cxgb/tp.c 	u32 val = readl(tp->adapter->regs + A_TP_GLOBAL_CONFIG);
regs              148 drivers/net/ethernet/chelsio/cxgb/tp.c 	writel(val, tp->adapter->regs + A_TP_GLOBAL_CONFIG);
regs              170 drivers/net/ethernet/chelsio/cxgb/tp.c 	writel(F_TP_RESET, adapter->regs +  A_TP_RESET);
regs              223 drivers/net/ethernet/chelsio/cxgb3/adapter.h 	void __iomem *regs;
regs              272 drivers/net/ethernet/chelsio/cxgb3/adapter.h 	u32 val = readl(adapter->regs + reg_addr);
regs              281 drivers/net/ethernet/chelsio/cxgb3/adapter.h 	writel(val, adapter->regs + reg_addr);
regs              295 drivers/net/ethernet/chelsio/cxgb3/ael1002.c 	static const struct reg_val regs[] = {
regs              304 drivers/net/ethernet/chelsio/cxgb3/ael1002.c 	err = set_phy_regs(phy, regs);
regs              327 drivers/net/ethernet/chelsio/cxgb3/ael1002.c 	static const struct reg_val regs[] = {
regs              338 drivers/net/ethernet/chelsio/cxgb3/ael1002.c 	err = set_phy_regs(phy, regs);
regs              525 drivers/net/ethernet/chelsio/cxgb3/ael1002.c 	static const struct reg_val regs[] = {
regs              539 drivers/net/ethernet/chelsio/cxgb3/ael1002.c 	err = set_phy_regs(phy, regs);
regs              627 drivers/net/ethernet/chelsio/cxgb3/ael1002.c 	static const struct reg_val regs[] = {
regs              644 drivers/net/ethernet/chelsio/cxgb3/ael1002.c 	err = set_phy_regs(phy, regs);
regs              667 drivers/net/ethernet/chelsio/cxgb3/ael1002.c 	static const struct reg_val regs[] = {
regs              682 drivers/net/ethernet/chelsio/cxgb3/ael1002.c 	err = set_phy_regs(phy, regs);
regs             1738 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c static void get_regs(struct net_device *dev, struct ethtool_regs *regs,
regs             1750 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c 	regs->version = 3 | (ap->params.rev << 10) | (is_pcie(ap) << 31);
regs             3270 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c 	adapter->regs = ioremap_nocache(mmio_start, mmio_len);
regs             3271 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c 	if (!adapter->regs) {
regs             3397 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c 	iounmap(adapter->regs);
regs             3446 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c 		iounmap(adapter->regs);
regs              294 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c 		rdma->kdb_addr = adapter->regs + A_SG_KDOORBELL;
regs              926 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h 	void __iomem *regs;
regs             1299 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h 	return readl(adap->regs + reg_addr);
regs             1304 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h 	writel(val, adap->regs + reg_addr);
regs             1322 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h 	return readq(adap->regs + reg_addr);
regs             1327 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h 	writeq(val, adap->regs + reg_addr);
regs             1586 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h int t4_wait_dev_ready(void __iomem *regs);
regs             1249 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 	void __iomem *addr = adap->regs + PF_REG(mbox, CIM_PF_MAILBOX_DATA_A);
regs             1259 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 		void __iomem *ctrl = adap->regs + PF_REG(mbox, ctrl_reg);
regs             1303 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 	addr = adap->regs + PF_REG(mbox, CIM_PF_MAILBOX_DATA_A);
regs              310 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c static void get_regs(struct net_device *dev, struct ethtool_regs *regs,
regs              317 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c 	regs->version = mk_adap_vers(adap);
regs             4991 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c 	if (t4_wait_dev_ready(adap->regs) < 0)
regs             5513 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c 	pcie_fw = readl(adap->regs + PCIE_FW_A);
regs             5660 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c 	void __iomem *regs;
regs             5681 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c 	regs = pci_ioremap_bar(pdev, 0);
regs             5682 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c 	if (!regs) {
regs             5694 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c 	adapter->regs = regs;
regs             5695 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c 	err = t4_wait_dev_ready(regs);
regs             6121 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c 	iounmap(regs);
regs             6202 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c 	iounmap(adapter->regs);
regs              680 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c 	lld->gts_reg = adap->regs + MYPF_REG(SGE_PF_GTS_A);
regs              681 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c 	lld->db_reg = adap->regs + MYPF_REG(SGE_PF_KDOORBELL_A);
regs             8926 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c int t4_wait_dev_ready(void __iomem *regs)
regs             8930 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c 	whoami = readl(regs + PL_WHOAMI_A);
regs             8935 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c 	whoami = readl(regs + PL_WHOAMI_A);
regs              367 drivers/net/ethernet/chelsio/cxgb4vf/adapter.h 	void __iomem *regs;
regs              431 drivers/net/ethernet/chelsio/cxgb4vf/adapter.h 	return readl(adapter->regs + reg_addr);
regs              444 drivers/net/ethernet/chelsio/cxgb4vf/adapter.h 	writel(val, adapter->regs + reg_addr);
regs              469 drivers/net/ethernet/chelsio/cxgb4vf/adapter.h 	return readq(adapter->regs + reg_addr);
regs              483 drivers/net/ethernet/chelsio/cxgb4vf/adapter.h 	writeq(val, adapter->regs + reg_addr);
regs             1871 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c 			     struct ethtool_regs *regs,
regs             1876 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c 	regs->version = mk_adap_vers(adapter);
regs             3020 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c 	adapter->regs = pci_ioremap_bar(pdev, 0);
regs             3021 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c 	if (!adapter->regs) {
regs             3308 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c 	iounmap(adapter->regs);
regs             3380 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c 		iounmap(adapter->regs);
regs              302 drivers/net/ethernet/dec/tulip/de2104x.c 	void			__iomem *regs;
regs              372 drivers/net/ethernet/dec/tulip/de2104x.c #define dr32(reg)	ioread32(de->regs + (reg))
regs              373 drivers/net/ethernet/dec/tulip/de2104x.c #define dw32(reg, val)	iowrite32((val), de->regs + (reg))
regs             1683 drivers/net/ethernet/dec/tulip/de2104x.c static void de_get_regs(struct net_device *dev, struct ethtool_regs *regs,
regs             1688 drivers/net/ethernet/dec/tulip/de2104x.c 	regs->version = (DE_REGS_VER << 2) | de->de21040;
regs             1756 drivers/net/ethernet/dec/tulip/de2104x.c static unsigned tulip_read_eeprom(void __iomem *regs, int location,
regs             1761 drivers/net/ethernet/dec/tulip/de2104x.c 	void __iomem *ee_addr = regs + ROMCmd;
regs             1796 drivers/net/ethernet/dec/tulip/de2104x.c 	unsigned ee_addr_size = tulip_read_eeprom(de->regs, 0xff, 8) & 0x40000 ? 8 : 6;
regs             1803 drivers/net/ethernet/dec/tulip/de2104x.c 			cpu_to_le16(tulip_read_eeprom(de->regs, i, ee_addr_size));
regs             1974 drivers/net/ethernet/dec/tulip/de2104x.c 	void __iomem *regs;
regs             2042 drivers/net/ethernet/dec/tulip/de2104x.c 	regs = ioremap_nocache(pciaddr, DE_REGS_SIZE);
regs             2043 drivers/net/ethernet/dec/tulip/de2104x.c 	if (!regs) {
regs             2050 drivers/net/ethernet/dec/tulip/de2104x.c 	de->regs = regs;
regs             2079 drivers/net/ethernet/dec/tulip/de2104x.c 		    regs, dev->dev_addr, pdev->irq);
regs             2093 drivers/net/ethernet/dec/tulip/de2104x.c 	iounmap(regs);
regs             2111 drivers/net/ethernet/dec/tulip/de2104x.c 	iounmap(de->regs);
regs              341 drivers/net/ethernet/dnet.c 	u32 __iomem *reg = bp->regs + DNET_RX_PKT_IGNR_CNT;
regs              351 drivers/net/ethernet/dnet.c 	reg = bp->regs + DNET_TX_UNICAST_CNT;
regs              794 drivers/net/ethernet/dnet.c 	bp->regs = devm_ioremap_resource(&pdev->dev, res);
regs              795 drivers/net/ethernet/dnet.c 	if (IS_ERR(bp->regs)) {
regs              796 drivers/net/ethernet/dnet.c 		err = PTR_ERR(bp->regs);
regs              812 drivers/net/ethernet/dnet.c 	dev->base_addr = (unsigned long)bp->regs;
regs              842 drivers/net/ethernet/dnet.c 	       bp->regs, (unsigned int)res->start, dev->irq, dev->dev_addr);
regs               16 drivers/net/ethernet/dnet.h 	writel((value), (port)->regs + DNET_##reg)
regs               17 drivers/net/ethernet/dnet.h #define dnet_readl(port, reg)	readl((port)->regs + DNET_##reg)
regs              206 drivers/net/ethernet/dnet.h 	void __iomem			*regs;
regs              935 drivers/net/ethernet/ethoc.c static void ethoc_get_regs(struct net_device *dev, struct ethtool_regs *regs,
regs              942 drivers/net/ethernet/ethoc.c 	regs->version = 0;
regs               50 drivers/net/ethernet/freescale/enetc/enetc_ethtool.c static void enetc_get_regs(struct net_device *ndev, struct ethtool_regs *regs,
regs             2251 drivers/net/ethernet/freescale/fec_main.c 			      struct ethtool_regs *regs, void *regbuf)
regs             2264 drivers/net/ethernet/freescale/fec_main.c 	regs->version = fec_enet_register_version;
regs             2266 drivers/net/ethernet/freescale/fec_main.c 	memset(buf, 0, regs->len);
regs               24 drivers/net/ethernet/freescale/fec_mpc52xx_phy.c 	struct mpc52xx_fec __iomem *regs;
regs               31 drivers/net/ethernet/freescale/fec_mpc52xx_phy.c 	struct mpc52xx_fec __iomem *fec = priv->regs;
regs               89 drivers/net/ethernet/freescale/fec_mpc52xx_phy.c 	priv->regs = ioremap(res.start, resource_size(&res));
regs               90 drivers/net/ethernet/freescale/fec_mpc52xx_phy.c 	if (priv->regs == NULL) {
regs              102 drivers/net/ethernet/freescale/fec_mpc52xx_phy.c 	out_be32(&priv->regs->mii_speed,
regs              112 drivers/net/ethernet/freescale/fec_mpc52xx_phy.c 	iounmap(priv->regs);
regs              126 drivers/net/ethernet/freescale/fec_mpc52xx_phy.c 	iounmap(priv->regs);
regs              324 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	struct dtsec_regs __iomem *regs;
regs              369 drivers/net/ethernet/freescale/fman/fman_dtsec.c static int init(struct dtsec_regs __iomem *regs, struct dtsec_cfg *cfg,
regs              378 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	iowrite32be(MACCFG1_SOFT_RESET, &regs->maccfg1);
regs              379 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	iowrite32be(0, &regs->maccfg1);
regs              382 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	tmp = ioread32be(&regs->tsec_id2);
regs              418 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	iowrite32be(tmp, &regs->ecntrl);
regs              426 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	iowrite32be(tmp, &regs->ptv);
regs              433 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	iowrite32be(tmp, &regs->rctrl);
regs              439 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	iowrite32be(tbi_addr, &regs->tbipa);
regs              441 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	iowrite32be(0, &regs->tmr_ctrl);
regs              446 drivers/net/ethernet/freescale/fman/fman_dtsec.c 		iowrite32be(tmp, &regs->tmr_pevent);
regs              451 drivers/net/ethernet/freescale/fman/fman_dtsec.c 			iowrite32be(tmp, &regs->tmr_pemask);
regs              458 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	iowrite32be(tmp, &regs->maccfg1);
regs              473 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	iowrite32be(tmp, &regs->maccfg2);
regs              484 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	iowrite32be(tmp, &regs->ipgifg);
regs              492 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	iowrite32be(tmp, &regs->hafdup);
regs              495 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	iowrite32be(cfg->maximum_frame, &regs->maxfrm);
regs              497 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	iowrite32be(0xffffffff, &regs->cam1);
regs              498 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	iowrite32be(0xffffffff, &regs->cam2);
regs              500 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	iowrite32be(exception_mask, &regs->imask);
regs              502 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	iowrite32be(0xffffffff, &regs->ievent);
regs              506 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	iowrite32be(tmp, &regs->macstnaddr1);
regs              509 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	iowrite32be(tmp, &regs->macstnaddr2);
regs              514 drivers/net/ethernet/freescale/fman/fman_dtsec.c 		iowrite32be(0, &regs->igaddr[i]);
regs              516 drivers/net/ethernet/freescale/fman/fman_dtsec.c 		iowrite32be(0, &regs->gaddr[i]);
regs              522 drivers/net/ethernet/freescale/fman/fman_dtsec.c static void set_mac_address(struct dtsec_regs __iomem *regs, u8 *adr)
regs              528 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	iowrite32be(tmp, &regs->macstnaddr1);
regs              531 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	iowrite32be(tmp, &regs->macstnaddr2);
regs              534 drivers/net/ethernet/freescale/fman/fman_dtsec.c static void set_bucket(struct dtsec_regs __iomem *regs, int bucket,
regs              543 drivers/net/ethernet/freescale/fman/fman_dtsec.c 		reg = &regs->gaddr[reg_idx - 8];
regs              545 drivers/net/ethernet/freescale/fman/fman_dtsec.c 		reg = &regs->igaddr[reg_idx];
regs              675 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	struct dtsec_regs __iomem *regs = dtsec->regs;
regs              680 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	return (u16)ioread32be(&regs->maxfrm);
regs              686 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	struct dtsec_regs __iomem *regs = dtsec->regs;
regs              690 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	event = ioread32be(&regs->ievent) &
regs              693 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	event &= ioread32be(&regs->imask);
regs              695 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	iowrite32be(event, &regs->ievent);
regs              722 drivers/net/ethernet/freescale/fman/fman_dtsec.c 			tpkt1 = ioread32be(&regs->tpkt);
regs              725 drivers/net/ethernet/freescale/fman/fman_dtsec.c 			tmp_reg1 = ioread32be(&regs->reserved02c0[27]);
regs              746 drivers/net/ethernet/freescale/fman/fman_dtsec.c 			tpkt2 = ioread32be(&regs->tpkt);
regs              747 drivers/net/ethernet/freescale/fman/fman_dtsec.c 			tmp_reg2 = ioread32be(&regs->reserved02c0[27]);
regs              763 drivers/net/ethernet/freescale/fman/fman_dtsec.c 				iowrite32be(ioread32be(&regs->rctrl) |
regs              764 drivers/net/ethernet/freescale/fman/fman_dtsec.c 					    RCTRL_GRS, &regs->rctrl);
regs              770 drivers/net/ethernet/freescale/fman/fman_dtsec.c 					if (ioread32be(&regs->ievent) &
regs              775 drivers/net/ethernet/freescale/fman/fman_dtsec.c 				if (ioread32be(&regs->ievent) &
regs              778 drivers/net/ethernet/freescale/fman/fman_dtsec.c 						    &regs->ievent);
regs              816 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	struct dtsec_regs __iomem *regs = dtsec->regs;
regs              820 drivers/net/ethernet/freescale/fman/fman_dtsec.c 		event = ioread32be(&regs->tmr_pevent);
regs              821 drivers/net/ethernet/freescale/fman/fman_dtsec.c 		event &= ioread32be(&regs->tmr_pemask);
regs              824 drivers/net/ethernet/freescale/fman/fman_dtsec.c 			iowrite32be(event, &regs->tmr_pevent);
regs              870 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	struct dtsec_regs __iomem *regs = dtsec->regs;
regs              873 drivers/net/ethernet/freescale/fman/fman_dtsec.c 		iowrite32be(ioread32be(&regs->tctrl) &
regs              874 drivers/net/ethernet/freescale/fman/fman_dtsec.c 				~TCTRL_GTS, &regs->tctrl);
regs              876 drivers/net/ethernet/freescale/fman/fman_dtsec.c 		iowrite32be(ioread32be(&regs->rctrl) &
regs              877 drivers/net/ethernet/freescale/fman/fman_dtsec.c 				~RCTRL_GRS, &regs->rctrl);
regs              882 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	struct dtsec_regs __iomem *regs = dtsec->regs;
regs              887 drivers/net/ethernet/freescale/fman/fman_dtsec.c 		tmp = ioread32be(&regs->rctrl) | RCTRL_GRS;
regs              888 drivers/net/ethernet/freescale/fman/fman_dtsec.c 		iowrite32be(tmp, &regs->rctrl);
regs              905 drivers/net/ethernet/freescale/fman/fman_dtsec.c 			tmp = ioread32be(&regs->tctrl) | TCTRL_GTS;
regs              906 drivers/net/ethernet/freescale/fman/fman_dtsec.c 			iowrite32be(tmp, &regs->tctrl);
regs              916 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	struct dtsec_regs __iomem *regs = dtsec->regs;
regs              923 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	tmp = ioread32be(&regs->maccfg1);
regs              929 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	iowrite32be(tmp, &regs->maccfg1);
regs              939 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	struct dtsec_regs __iomem *regs = dtsec->regs;
regs              948 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	tmp = ioread32be(&regs->maccfg1);
regs              954 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	iowrite32be(tmp, &regs->maccfg1);
regs              963 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	struct dtsec_regs __iomem *regs = dtsec->regs;
regs              970 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	if ((ioread32be(&regs->rctrl) & RCTRL_GRS) == 0)
regs              972 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	if ((ioread32be(&regs->tctrl) & TCTRL_GTS) == 0)
regs              985 drivers/net/ethernet/freescale/fman/fman_dtsec.c 		ptv = ioread32be(&regs->ptv);
regs              988 drivers/net/ethernet/freescale/fman/fman_dtsec.c 		iowrite32be(ptv, &regs->ptv);
regs              991 drivers/net/ethernet/freescale/fman/fman_dtsec.c 		iowrite32be(ioread32be(&regs->maccfg1) | MACCFG1_TX_FLOW,
regs              992 drivers/net/ethernet/freescale/fman/fman_dtsec.c 			    &regs->maccfg1);
regs              994 drivers/net/ethernet/freescale/fman/fman_dtsec.c 		iowrite32be(ioread32be(&regs->maccfg1) & ~MACCFG1_TX_FLOW,
regs              995 drivers/net/ethernet/freescale/fman/fman_dtsec.c 			    &regs->maccfg1);
regs             1004 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	struct dtsec_regs __iomem *regs = dtsec->regs;
regs             1011 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	if ((ioread32be(&regs->rctrl) & RCTRL_GRS) == 0)
regs             1013 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	if ((ioread32be(&regs->tctrl) & TCTRL_GTS) == 0)
regs             1018 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	tmp = ioread32be(&regs->maccfg1);
regs             1023 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	iowrite32be(tmp, &regs->maccfg1);
regs             1032 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	struct dtsec_regs __iomem *regs = dtsec->regs;
regs             1038 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	if ((ioread32be(&regs->rctrl) & RCTRL_GRS) == 0)
regs             1040 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	if ((ioread32be(&regs->tctrl) & TCTRL_GTS) == 0)
regs             1049 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	set_mac_address(dtsec->regs, (u8 *)(*enet_addr));
regs             1058 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	struct dtsec_regs __iomem *regs = dtsec->regs;
regs             1070 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	ghtx = (bool)((ioread32be(&regs->rctrl) & RCTRL_GHTX) ? true : false);
regs             1102 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	set_bucket(dtsec->regs, bucket, true);
regs             1125 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	struct dtsec_regs __iomem *regs = dtsec->regs;
regs             1130 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	tmp = ioread32be(&regs->rctrl);
regs             1136 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	iowrite32be(tmp, &regs->rctrl);
regs             1143 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	struct dtsec_regs __iomem *regs = dtsec->regs;
regs             1149 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	rctrl = ioread32be(&regs->rctrl);
regs             1150 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	tctrl = ioread32be(&regs->tctrl);
regs             1160 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	iowrite32be(rctrl, &regs->rctrl);
regs             1161 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	iowrite32be(tctrl, &regs->tctrl);
regs             1168 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	struct dtsec_regs __iomem *regs = dtsec->regs;
regs             1181 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	ghtx = (bool)((ioread32be(&regs->rctrl) & RCTRL_GHTX) ? true : false);
regs             1215 drivers/net/ethernet/freescale/fman/fman_dtsec.c 			set_bucket(dtsec->regs, bucket, false);
regs             1228 drivers/net/ethernet/freescale/fman/fman_dtsec.c 			set_bucket(dtsec->regs, bucket, false);
regs             1239 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	struct dtsec_regs __iomem *regs = dtsec->regs;
regs             1246 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	tmp = ioread32be(&regs->rctrl);
regs             1252 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	iowrite32be(tmp, &regs->rctrl);
regs             1255 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	tmp = ioread32be(&regs->rctrl);
regs             1261 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	iowrite32be(tmp, &regs->rctrl);
regs             1268 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	struct dtsec_regs __iomem *regs = dtsec->regs;
regs             1275 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	if ((ioread32be(&regs->rctrl) & RCTRL_GRS) == 0)
regs             1277 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	if ((ioread32be(&regs->tctrl) & TCTRL_GTS) == 0)
regs             1282 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	tmp = ioread32be(&regs->maccfg2);
regs             1292 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	iowrite32be(tmp, &regs->maccfg2);
regs             1294 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	tmp = ioread32be(&regs->ecntrl);
regs             1299 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	iowrite32be(tmp, &regs->ecntrl);
regs             1326 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	struct dtsec_regs __iomem *regs = dtsec->regs;
regs             1331 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	*mac_version = ioread32be(&regs->tsec_id);
regs             1339 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	struct dtsec_regs __iomem *regs = dtsec->regs;
regs             1357 drivers/net/ethernet/freescale/fman/fman_dtsec.c 			iowrite32be(ioread32be(&regs->imask) | bit_mask,
regs             1358 drivers/net/ethernet/freescale/fman/fman_dtsec.c 				    &regs->imask);
regs             1360 drivers/net/ethernet/freescale/fman/fman_dtsec.c 			iowrite32be(ioread32be(&regs->imask) & ~bit_mask,
regs             1361 drivers/net/ethernet/freescale/fman/fman_dtsec.c 				    &regs->imask);
regs             1371 drivers/net/ethernet/freescale/fman/fman_dtsec.c 				iowrite32be(ioread32be(&regs->tmr_pemask) |
regs             1373 drivers/net/ethernet/freescale/fman/fman_dtsec.c 					    &regs->tmr_pemask);
regs             1376 drivers/net/ethernet/freescale/fman/fman_dtsec.c 				iowrite32be(ioread32be(&regs->tmr_pemask) &
regs             1378 drivers/net/ethernet/freescale/fman/fman_dtsec.c 					    &regs->tmr_pemask);
regs             1392 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	struct dtsec_regs __iomem *regs = dtsec->regs;
regs             1415 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	err = init(dtsec->regs, dtsec_drv_param, dtsec->phy_if,
regs             1451 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	max_frm_ln = (u16)ioread32be(&regs->maxfrm);
regs             1521 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	dtsec->regs = base_addr;
regs              272 drivers/net/ethernet/freescale/fman/fman_keygen.c static int keygen_write_ar_wait(struct fman_kg_regs __iomem *regs, u32 fmkg_ar)
regs              274 drivers/net/ethernet/freescale/fman/fman_keygen.c 	iowrite32be(fmkg_ar, &regs->fmkg_ar);
regs              278 drivers/net/ethernet/freescale/fman/fman_keygen.c 		fmkg_ar = ioread32be(&regs->fmkg_ar);
regs              338 drivers/net/ethernet/freescale/fman/fman_keygen.c static void keygen_write_sp(struct fman_kg_regs __iomem *regs, u32 sp, bool add)
regs              342 drivers/net/ethernet/freescale/fman/fman_keygen.c 	tmp = ioread32be(&regs->fmkg_pe.fmkg_pe_sp);
regs              349 drivers/net/ethernet/freescale/fman/fman_keygen.c 	iowrite32be(tmp, &regs->fmkg_pe.fmkg_pe_sp);
regs              381 drivers/net/ethernet/freescale/fman/fman_keygen.c static void keygen_write_cpp(struct fman_kg_regs __iomem *regs, u32 cpp)
regs              383 drivers/net/ethernet/freescale/fman/fman_keygen.c 	iowrite32be(cpp, &regs->fmkg_pe.fmkg_pe_cpp);
regs              397 drivers/net/ethernet/freescale/fman/fman_keygen.c static int keygen_write_scheme(struct fman_kg_regs __iomem *regs, u8 scheme_id,
regs              405 drivers/net/ethernet/freescale/fman/fman_keygen.c 	iowrite32be(scheme_regs->kgse_mode, &regs->fmkg_sch.kgse_mode);
regs              406 drivers/net/ethernet/freescale/fman/fman_keygen.c 	iowrite32be(scheme_regs->kgse_ekfc, &regs->fmkg_sch.kgse_ekfc);
regs              407 drivers/net/ethernet/freescale/fman/fman_keygen.c 	iowrite32be(scheme_regs->kgse_ekdv, &regs->fmkg_sch.kgse_ekdv);
regs              408 drivers/net/ethernet/freescale/fman/fman_keygen.c 	iowrite32be(scheme_regs->kgse_bmch, &regs->fmkg_sch.kgse_bmch);
regs              409 drivers/net/ethernet/freescale/fman/fman_keygen.c 	iowrite32be(scheme_regs->kgse_bmcl, &regs->fmkg_sch.kgse_bmcl);
regs              410 drivers/net/ethernet/freescale/fman/fman_keygen.c 	iowrite32be(scheme_regs->kgse_fqb, &regs->fmkg_sch.kgse_fqb);
regs              411 drivers/net/ethernet/freescale/fman/fman_keygen.c 	iowrite32be(scheme_regs->kgse_hc, &regs->fmkg_sch.kgse_hc);
regs              412 drivers/net/ethernet/freescale/fman/fman_keygen.c 	iowrite32be(scheme_regs->kgse_ppc, &regs->fmkg_sch.kgse_ppc);
regs              413 drivers/net/ethernet/freescale/fman/fman_keygen.c 	iowrite32be(scheme_regs->kgse_spc, &regs->fmkg_sch.kgse_spc);
regs              414 drivers/net/ethernet/freescale/fman/fman_keygen.c 	iowrite32be(scheme_regs->kgse_dv0, &regs->fmkg_sch.kgse_dv0);
regs              415 drivers/net/ethernet/freescale/fman/fman_keygen.c 	iowrite32be(scheme_regs->kgse_dv1, &regs->fmkg_sch.kgse_dv1);
regs              416 drivers/net/ethernet/freescale/fman/fman_keygen.c 	iowrite32be(scheme_regs->kgse_ccbs, &regs->fmkg_sch.kgse_ccbs);
regs              417 drivers/net/ethernet/freescale/fman/fman_keygen.c 	iowrite32be(scheme_regs->kgse_mv, &regs->fmkg_sch.kgse_mv);
regs              418 drivers/net/ethernet/freescale/fman/fman_keygen.c 	iowrite32be(scheme_regs->kgse_om, &regs->fmkg_sch.kgse_om);
regs              419 drivers/net/ethernet/freescale/fman/fman_keygen.c 	iowrite32be(scheme_regs->kgse_vsp, &regs->fmkg_sch.kgse_vsp);
regs              423 drivers/net/ethernet/freescale/fman/fman_keygen.c 			    &regs->fmkg_sch.kgse_gec[i]);
regs              427 drivers/net/ethernet/freescale/fman/fman_keygen.c 	err = keygen_write_ar_wait(regs, ar_reg);
regs              333 drivers/net/ethernet/freescale/fman/fman_memac.c 	struct memac_regs __iomem *regs;
regs              356 drivers/net/ethernet/freescale/fman/fman_memac.c static void add_addr_in_paddr(struct memac_regs __iomem *regs, u8 *adr,
regs              365 drivers/net/ethernet/freescale/fman/fman_memac.c 		iowrite32be(tmp0, &regs->mac_addr0.mac_addr_l);
regs              366 drivers/net/ethernet/freescale/fman/fman_memac.c 		iowrite32be(tmp1, &regs->mac_addr0.mac_addr_u);
regs              368 drivers/net/ethernet/freescale/fman/fman_memac.c 		iowrite32be(tmp0, &regs->mac_addr[paddr_num - 1].mac_addr_l);
regs              369 drivers/net/ethernet/freescale/fman/fman_memac.c 		iowrite32be(tmp1, &regs->mac_addr[paddr_num - 1].mac_addr_u);
regs              373 drivers/net/ethernet/freescale/fman/fman_memac.c static int reset(struct memac_regs __iomem *regs)
regs              378 drivers/net/ethernet/freescale/fman/fman_memac.c 	tmp = ioread32be(&regs->command_config);
regs              382 drivers/net/ethernet/freescale/fman/fman_memac.c 	iowrite32be(tmp, &regs->command_config);
regs              387 drivers/net/ethernet/freescale/fman/fman_memac.c 	} while ((ioread32be(&regs->command_config) & CMD_CFG_SW_RESET) &&
regs              396 drivers/net/ethernet/freescale/fman/fman_memac.c static void set_exception(struct memac_regs __iomem *regs, u32 val,
regs              401 drivers/net/ethernet/freescale/fman/fman_memac.c 	tmp = ioread32be(&regs->imask);
regs              407 drivers/net/ethernet/freescale/fman/fman_memac.c 	iowrite32be(tmp, &regs->imask);
regs              410 drivers/net/ethernet/freescale/fman/fman_memac.c static int init(struct memac_regs __iomem *regs, struct memac_cfg *cfg,
regs              430 drivers/net/ethernet/freescale/fman/fman_memac.c 	iowrite32be(tmp, &regs->command_config);
regs              433 drivers/net/ethernet/freescale/fman/fman_memac.c 	iowrite32be((u32)cfg->max_frame_length, &regs->maxfrm);
regs              436 drivers/net/ethernet/freescale/fman/fman_memac.c 	iowrite32be((u32)cfg->pause_quanta, &regs->pause_quanta[0]);
regs              437 drivers/net/ethernet/freescale/fman/fman_memac.c 	iowrite32be((u32)0, &regs->pause_thresh[0]);
regs              453 drivers/net/ethernet/freescale/fman/fman_memac.c 	iowrite32be(tmp, &regs->if_mode);
regs              469 drivers/net/ethernet/freescale/fman/fman_memac.c 	iowrite32be(tmp, &regs->tx_fifo_sections);
regs              472 drivers/net/ethernet/freescale/fman/fman_memac.c 	iowrite32be(0xffffffff, &regs->ievent);
regs              473 drivers/net/ethernet/freescale/fman/fman_memac.c 	set_exception(regs, exceptions, true);
regs              643 drivers/net/ethernet/freescale/fman/fman_memac.c 	struct memac_regs __iomem *regs = memac->regs;
regs              646 drivers/net/ethernet/freescale/fman/fman_memac.c 	event = ioread32be(&regs->ievent);
regs              647 drivers/net/ethernet/freescale/fman/fman_memac.c 	imask = ioread32be(&regs->imask);
regs              656 drivers/net/ethernet/freescale/fman/fman_memac.c 	iowrite32be(event, &regs->ievent);
regs              669 drivers/net/ethernet/freescale/fman/fman_memac.c 	struct memac_regs __iomem *regs = memac->regs;
regs              672 drivers/net/ethernet/freescale/fman/fman_memac.c 	event = ioread32be(&regs->ievent);
regs              673 drivers/net/ethernet/freescale/fman/fman_memac.c 	imask = ioread32be(&regs->imask);
regs              682 drivers/net/ethernet/freescale/fman/fman_memac.c 	iowrite32be(event, &regs->ievent);
regs              717 drivers/net/ethernet/freescale/fman/fman_memac.c 	struct memac_regs __iomem *regs = memac->regs;
regs              723 drivers/net/ethernet/freescale/fman/fman_memac.c 	tmp = ioread32be(&regs->command_config);
regs              729 drivers/net/ethernet/freescale/fman/fman_memac.c 	iowrite32be(tmp, &regs->command_config);
regs              736 drivers/net/ethernet/freescale/fman/fman_memac.c 	struct memac_regs __iomem *regs = memac->regs;
regs              742 drivers/net/ethernet/freescale/fman/fman_memac.c 	tmp = ioread32be(&regs->command_config);
regs              748 drivers/net/ethernet/freescale/fman/fman_memac.c 	iowrite32be(tmp, &regs->command_config);
regs              755 drivers/net/ethernet/freescale/fman/fman_memac.c 	struct memac_regs __iomem *regs = memac->regs;
regs              761 drivers/net/ethernet/freescale/fman/fman_memac.c 	tmp = ioread32be(&regs->command_config);
regs              767 drivers/net/ethernet/freescale/fman/fman_memac.c 	iowrite32be(tmp, &regs->command_config);
regs              774 drivers/net/ethernet/freescale/fman/fman_memac.c 	struct memac_regs __iomem *regs = memac->regs;
regs              780 drivers/net/ethernet/freescale/fman/fman_memac.c 	tmp = ioread32be(&regs->if_mode);
regs              807 drivers/net/ethernet/freescale/fman/fman_memac.c 	iowrite32be(tmp, &regs->if_mode);
regs              846 drivers/net/ethernet/freescale/fman/fman_memac.c 	struct memac_regs __iomem *regs = memac->regs;
regs              852 drivers/net/ethernet/freescale/fman/fman_memac.c 	tmp = ioread32be(&regs->tx_fifo_sections);
regs              855 drivers/net/ethernet/freescale/fman/fman_memac.c 	iowrite32be(tmp, &regs->tx_fifo_sections);
regs              857 drivers/net/ethernet/freescale/fman/fman_memac.c 	tmp = ioread32be(&regs->command_config);
regs              861 drivers/net/ethernet/freescale/fman/fman_memac.c 	iowrite32be(tmp, &regs->command_config);
regs              863 drivers/net/ethernet/freescale/fman/fman_memac.c 	tmp = ioread32be(&regs->pause_quanta[priority / 2]);
regs              869 drivers/net/ethernet/freescale/fman/fman_memac.c 	iowrite32be(tmp, &regs->pause_quanta[priority / 2]);
regs              871 drivers/net/ethernet/freescale/fman/fman_memac.c 	tmp = ioread32be(&regs->pause_thresh[priority / 2]);
regs              877 drivers/net/ethernet/freescale/fman/fman_memac.c 	iowrite32be(tmp, &regs->pause_thresh[priority / 2]);
regs              884 drivers/net/ethernet/freescale/fman/fman_memac.c 	struct memac_regs __iomem *regs = memac->regs;
regs              890 drivers/net/ethernet/freescale/fman/fman_memac.c 	tmp = ioread32be(&regs->command_config);
regs              896 drivers/net/ethernet/freescale/fman/fman_memac.c 	iowrite32be(tmp, &regs->command_config);
regs              906 drivers/net/ethernet/freescale/fman/fman_memac.c 	add_addr_in_paddr(memac->regs, (u8 *)(*enet_addr), 0);
regs              913 drivers/net/ethernet/freescale/fman/fman_memac.c 	struct memac_regs __iomem *regs = memac->regs;
regs              939 drivers/net/ethernet/freescale/fman/fman_memac.c 	iowrite32be(hash | HASH_CTRL_MCAST_EN, &regs->hashtable_ctrl);
regs              947 drivers/net/ethernet/freescale/fman/fman_memac.c 	struct memac_regs __iomem *regs = memac->regs;
regs              955 drivers/net/ethernet/freescale/fman/fman_memac.c 				    &regs->hashtable_ctrl);
regs              959 drivers/net/ethernet/freescale/fman/fman_memac.c 				    &regs->hashtable_ctrl);
regs              974 drivers/net/ethernet/freescale/fman/fman_memac.c 	struct memac_regs __iomem *regs = memac->regs;
regs              999 drivers/net/ethernet/freescale/fman/fman_memac.c 				    &regs->hashtable_ctrl);
regs             1023 drivers/net/ethernet/freescale/fman/fman_memac.c 	set_exception(memac->regs, bit_mask, enable);
regs             1052 drivers/net/ethernet/freescale/fman/fman_memac.c 		err = reset(memac->regs);
regs             1061 drivers/net/ethernet/freescale/fman/fman_memac.c 	add_addr_in_paddr(memac->regs, (u8 *)eth_addr, 0);
regs             1065 drivers/net/ethernet/freescale/fman/fman_memac.c 	init(memac->regs, memac->memac_drv_param, memac->phy_if,
regs             1077 drivers/net/ethernet/freescale/fman/fman_memac.c 		reg32 = ioread32be(&memac->regs->command_config);
regs             1079 drivers/net/ethernet/freescale/fman/fman_memac.c 		iowrite32be(reg32, &memac->regs->command_config);
regs             1182 drivers/net/ethernet/freescale/fman/fman_memac.c 	memac->regs = base_addr;
regs              486 drivers/net/ethernet/freescale/fman/fman_port.c 	struct fman_port_rx_bmi_regs __iomem *regs = &port->bmi_regs->rx;
regs              494 drivers/net/ethernet/freescale/fman/fman_port.c 	iowrite32be(tmp, &regs->fmbm_rda);
regs              500 drivers/net/ethernet/freescale/fman/fman_port.c 	iowrite32be(tmp, &regs->fmbm_rfp);
regs              504 drivers/net/ethernet/freescale/fman/fman_port.c 		iowrite32be(BMI_RX_FIFO_THRESHOLD_ETHE, &regs->fmbm_reth);
regs              513 drivers/net/ethernet/freescale/fman/fman_port.c 	iowrite32be(tmp, &regs->fmbm_rfed);
regs              522 drivers/net/ethernet/freescale/fman/fman_port.c 	iowrite32be(tmp, &regs->fmbm_ricp);
regs              527 drivers/net/ethernet/freescale/fman/fman_port.c 	iowrite32be(tmp, &regs->fmbm_rim);
regs              533 drivers/net/ethernet/freescale/fman/fman_port.c 	iowrite32be(tmp, &regs->fmbm_rebm);
regs              542 drivers/net/ethernet/freescale/fman/fman_port.c 	iowrite32be(tmp, &regs->fmbm_rfca);
regs              548 drivers/net/ethernet/freescale/fman/fman_port.c 	iowrite32be(tmp, &regs->fmbm_rfne);
regs              551 drivers/net/ethernet/freescale/fman/fman_port.c 	iowrite32be(NIA_ENG_BMI | NIA_BMI_AC_ENQ_FRAME, &regs->fmbm_rfpne);
regs              554 drivers/net/ethernet/freescale/fman/fman_port.c 	iowrite32be(NIA_ENG_QMI_ENQ | NIA_ORDER_RESTOR, &regs->fmbm_rfene);
regs              557 drivers/net/ethernet/freescale/fman/fman_port.c 	iowrite32be((cfg->dflt_fqid & DFLT_FQ_ID), &regs->fmbm_rfqid);
regs              558 drivers/net/ethernet/freescale/fman/fman_port.c 	iowrite32be((cfg->err_fqid & DFLT_FQ_ID), &regs->fmbm_refqid);
regs              561 drivers/net/ethernet/freescale/fman/fman_port.c 	iowrite32be(cfg->discard_mask, &regs->fmbm_rfsdm);
regs              562 drivers/net/ethernet/freescale/fman/fman_port.c 	iowrite32be(cfg->err_mask, &regs->fmbm_rfsem);
regs              569 drivers/net/ethernet/freescale/fman/fman_port.c 	struct fman_port_tx_bmi_regs __iomem *regs = &port->bmi_regs->tx;
regs              575 drivers/net/ethernet/freescale/fman/fman_port.c 	iowrite32be(tmp, &regs->fmbm_tcfg);
regs              579 drivers/net/ethernet/freescale/fman/fman_port.c 	iowrite32be(tmp, &regs->fmbm_tda);
regs              587 drivers/net/ethernet/freescale/fman/fman_port.c 	iowrite32be(tmp, &regs->fmbm_tfp);
regs              592 drivers/net/ethernet/freescale/fman/fman_port.c 	iowrite32be(tmp, &regs->fmbm_tfed);
regs              601 drivers/net/ethernet/freescale/fman/fman_port.c 	iowrite32be(tmp, &regs->fmbm_ticp);
regs              607 drivers/net/ethernet/freescale/fman/fman_port.c 	iowrite32be(tmp, &regs->fmbm_tfca);
regs              610 drivers/net/ethernet/freescale/fman/fman_port.c 	iowrite32be(NIA_ENG_QMI_DEQ, &regs->fmbm_tfdne);
regs              611 drivers/net/ethernet/freescale/fman/fman_port.c 	iowrite32be(NIA_ENG_QMI_ENQ | NIA_ORDER_RESTOR, &regs->fmbm_tfene);
regs              615 drivers/net/ethernet/freescale/fman/fman_port.c 			    NIA_BMI_AC_FETCH_ALL_FRAME, &regs->fmbm_tfne);
regs              617 drivers/net/ethernet/freescale/fman/fman_port.c 		iowrite32be(DFLT_FQ_ID, &regs->fmbm_tcfqid);
regs              619 drivers/net/ethernet/freescale/fman/fman_port.c 			    &regs->fmbm_tfene);
regs              621 drivers/net/ethernet/freescale/fman/fman_port.c 			iowrite32be(ioread32be(&regs->fmbm_tfne) & ~BMI_EBD_EN,
regs              622 drivers/net/ethernet/freescale/fman/fman_port.c 				    &regs->fmbm_tfne);
regs              627 drivers/net/ethernet/freescale/fman/fman_port.c 		iowrite32be(cfg->dflt_fqid & DFLT_FQ_ID, &regs->fmbm_tcfqid);
regs              628 drivers/net/ethernet/freescale/fman/fman_port.c 	iowrite32be((cfg->err_fqid & DFLT_FQ_ID), &regs->fmbm_tefqid);
regs              635 drivers/net/ethernet/freescale/fman/fman_port.c 	struct fman_port_qmi_regs __iomem *regs = port->qmi_regs;
regs              642 drivers/net/ethernet/freescale/fman/fman_port.c 		iowrite32be(NIA_ENG_BMI | NIA_BMI_AC_RELEASE, &regs->fmqm_pnen);
regs              650 drivers/net/ethernet/freescale/fman/fman_port.c 			    &regs->fmqm_pnen);
regs              652 drivers/net/ethernet/freescale/fman/fman_port.c 		iowrite32be(NIA_ENG_BMI | NIA_BMI_AC_TX, &regs->fmqm_pndn);
regs              689 drivers/net/ethernet/freescale/fman/fman_port.c 	iowrite32be(tmp, &regs->fmqm_pndc);
regs              696 drivers/net/ethernet/freescale/fman/fman_port.c 	struct fman_port_hwp_regs __iomem *regs = port->hwp_regs;
regs              699 drivers/net/ethernet/freescale/fman/fman_port.c 	iowrite32be(HWP_HXS_PCAC_PSTOP, &regs->fmpr_pcac);
regs              702 drivers/net/ethernet/freescale/fman/fman_port.c 	       (ioread32be(&regs->fmpr_pcac) & HWP_HXS_PCAC_PSTAT))
regs              710 drivers/net/ethernet/freescale/fman/fman_port.c 	struct fman_port_hwp_regs __iomem *regs = port->hwp_regs;
regs              713 drivers/net/ethernet/freescale/fman/fman_port.c 	iowrite32be(0, &regs->fmpr_pcac);
regs              716 drivers/net/ethernet/freescale/fman/fman_port.c 	       !(ioread32be(&regs->fmpr_pcac) & HWP_HXS_PCAC_PSTAT))
regs              724 drivers/net/ethernet/freescale/fman/fman_port.c 	struct fman_port_hwp_regs __iomem *regs = port->hwp_regs;
regs              731 drivers/net/ethernet/freescale/fman/fman_port.c 		iowrite32be(0x00000000, &regs->pmda[i].ssa);
regs              732 drivers/net/ethernet/freescale/fman/fman_port.c 		iowrite32be(0xffffffff, &regs->pmda[i].lcv);
regs              736 drivers/net/ethernet/freescale/fman/fman_port.c 	iowrite32be(HWP_HXS_SH_PAD_REM, &regs->pmda[HWP_HXS_TCP_OFFSET].ssa);
regs              737 drivers/net/ethernet/freescale/fman/fman_port.c 	iowrite32be(HWP_HXS_SH_PAD_REM, &regs->pmda[HWP_HXS_UDP_OFFSET].ssa);
regs              205 drivers/net/ethernet/freescale/fman/fman_tgec.c 	struct tgec_regs __iomem *regs;
regs              224 drivers/net/ethernet/freescale/fman/fman_tgec.c static void set_mac_address(struct tgec_regs __iomem *regs, u8 *adr)
regs              230 drivers/net/ethernet/freescale/fman/fman_tgec.c 	iowrite32be(tmp0, &regs->mac_addr_0);
regs              231 drivers/net/ethernet/freescale/fman/fman_tgec.c 	iowrite32be(tmp1, &regs->mac_addr_1);
regs              243 drivers/net/ethernet/freescale/fman/fman_tgec.c static int init(struct tgec_regs __iomem *regs, struct tgec_cfg *cfg,
regs              256 drivers/net/ethernet/freescale/fman/fman_tgec.c 	iowrite32be(tmp, &regs->command_config);
regs              259 drivers/net/ethernet/freescale/fman/fman_tgec.c 	iowrite32be((u32)cfg->max_frame_length, &regs->maxfrm);
regs              261 drivers/net/ethernet/freescale/fman/fman_tgec.c 	iowrite32be(cfg->pause_quant, &regs->pause_quant);
regs              264 drivers/net/ethernet/freescale/fman/fman_tgec.c 	iowrite32be(0xffffffff, &regs->ievent);
regs              265 drivers/net/ethernet/freescale/fman/fman_tgec.c 	iowrite32be(ioread32be(&regs->imask) | exception_mask, &regs->imask);
regs              359 drivers/net/ethernet/freescale/fman/fman_tgec.c 	struct tgec_regs __iomem *regs = tgec->regs;
regs              363 drivers/net/ethernet/freescale/fman/fman_tgec.c 	event = ioread32be(&regs->ievent) &
regs              367 drivers/net/ethernet/freescale/fman/fman_tgec.c 	event &= ioread32be(&regs->imask);
regs              369 drivers/net/ethernet/freescale/fman/fman_tgec.c 	iowrite32be(event, &regs->ievent);
regs              428 drivers/net/ethernet/freescale/fman/fman_tgec.c 	struct tgec_regs __iomem *regs = tgec->regs;
regs              434 drivers/net/ethernet/freescale/fman/fman_tgec.c 	tmp = ioread32be(&regs->command_config);
regs              439 drivers/net/ethernet/freescale/fman/fman_tgec.c 	iowrite32be(tmp, &regs->command_config);
regs              446 drivers/net/ethernet/freescale/fman/fman_tgec.c 	struct tgec_regs __iomem *regs = tgec->regs;
regs              452 drivers/net/ethernet/freescale/fman/fman_tgec.c 	tmp = ioread32be(&regs->command_config);
regs              457 drivers/net/ethernet/freescale/fman/fman_tgec.c 	iowrite32be(tmp, &regs->command_config);
regs              464 drivers/net/ethernet/freescale/fman/fman_tgec.c 	struct tgec_regs __iomem *regs = tgec->regs;
regs              470 drivers/net/ethernet/freescale/fman/fman_tgec.c 	tmp = ioread32be(&regs->command_config);
regs              475 drivers/net/ethernet/freescale/fman/fman_tgec.c 	iowrite32be(tmp, &regs->command_config);
regs              493 drivers/net/ethernet/freescale/fman/fman_tgec.c 	struct tgec_regs __iomem *regs = tgec->regs;
regs              498 drivers/net/ethernet/freescale/fman/fman_tgec.c 	iowrite32be((u32)pause_time, &regs->pause_quant);
regs              505 drivers/net/ethernet/freescale/fman/fman_tgec.c 	struct tgec_regs __iomem *regs = tgec->regs;
regs              511 drivers/net/ethernet/freescale/fman/fman_tgec.c 	tmp = ioread32be(&regs->command_config);
regs              516 drivers/net/ethernet/freescale/fman/fman_tgec.c 	iowrite32be(tmp, &regs->command_config);
regs              527 drivers/net/ethernet/freescale/fman/fman_tgec.c 	set_mac_address(tgec->regs, (u8 *)(*p_enet_addr));
regs              534 drivers/net/ethernet/freescale/fman/fman_tgec.c 	struct tgec_regs __iomem *regs = tgec->regs;
regs              564 drivers/net/ethernet/freescale/fman/fman_tgec.c 	iowrite32be((hash | TGEC_HASH_MCAST_EN), &regs->hashtable_ctrl);
regs              572 drivers/net/ethernet/freescale/fman/fman_tgec.c 	struct tgec_regs __iomem *regs = tgec->regs;
regs              580 drivers/net/ethernet/freescale/fman/fman_tgec.c 				    &regs->hashtable_ctrl);
regs              584 drivers/net/ethernet/freescale/fman/fman_tgec.c 				    &regs->hashtable_ctrl);
regs              594 drivers/net/ethernet/freescale/fman/fman_tgec.c 	struct tgec_regs __iomem *regs = tgec->regs;
regs              600 drivers/net/ethernet/freescale/fman/fman_tgec.c 	tmp = ioread32be(&regs->command_config);
regs              607 drivers/net/ethernet/freescale/fman/fman_tgec.c 	iowrite32be(tmp, &regs->command_config);
regs              614 drivers/net/ethernet/freescale/fman/fman_tgec.c 	struct tgec_regs __iomem *regs = tgec->regs;
regs              643 drivers/net/ethernet/freescale/fman/fman_tgec.c 				    &regs->hashtable_ctrl);
regs              651 drivers/net/ethernet/freescale/fman/fman_tgec.c 	struct tgec_regs __iomem *regs = tgec->regs;
regs              656 drivers/net/ethernet/freescale/fman/fman_tgec.c 	*mac_version = ioread32be(&regs->tgec_id);
regs              664 drivers/net/ethernet/freescale/fman/fman_tgec.c 	struct tgec_regs __iomem *regs = tgec->regs;
regs              681 drivers/net/ethernet/freescale/fman/fman_tgec.c 		iowrite32be(ioread32be(&regs->imask) | bit_mask, &regs->imask);
regs              683 drivers/net/ethernet/freescale/fman/fman_tgec.c 		iowrite32be(ioread32be(&regs->imask) & ~bit_mask, &regs->imask);
regs              710 drivers/net/ethernet/freescale/fman/fman_tgec.c 	set_mac_address(tgec->regs, (u8 *)eth_addr);
regs              718 drivers/net/ethernet/freescale/fman/fman_tgec.c 	err = init(tgec->regs, cfg, tgec->exceptions);
regs              736 drivers/net/ethernet/freescale/fman/fman_tgec.c 		struct tgec_regs __iomem *regs = tgec->regs;
regs              740 drivers/net/ethernet/freescale/fman/fman_tgec.c 		tmp = (ioread32be(&regs->tx_ipg_len) &
regs              743 drivers/net/ethernet/freescale/fman/fman_tgec.c 		iowrite32be(tmp, &regs->tx_ipg_len);
regs              803 drivers/net/ethernet/freescale/fman/fman_tgec.c 	tgec->regs = base_addr;
regs              803 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c static void fs_get_regs(struct net_device *dev, struct ethtool_regs *regs,
regs              810 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c 	len = regs->len;
regs              817 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c 		regs->version = 0;
regs               66 drivers/net/ethernet/freescale/fsl_pq_mdio.c 	struct fsl_pq_mii __iomem *regs;
regs              100 drivers/net/ethernet/freescale/fsl_pq_mdio.c 	struct fsl_pq_mii __iomem *regs = priv->regs;
regs              104 drivers/net/ethernet/freescale/fsl_pq_mdio.c 	iowrite32be((mii_id << 8) | regnum, &regs->miimadd);
regs              107 drivers/net/ethernet/freescale/fsl_pq_mdio.c 	iowrite32be(value, &regs->miimcon);
regs              111 drivers/net/ethernet/freescale/fsl_pq_mdio.c 	while ((ioread32be(&regs->miimind) & MIIMIND_BUSY) && timeout) {
regs              132 drivers/net/ethernet/freescale/fsl_pq_mdio.c 	struct fsl_pq_mii __iomem *regs = priv->regs;
regs              137 drivers/net/ethernet/freescale/fsl_pq_mdio.c 	iowrite32be((mii_id << 8) | regnum, &regs->miimadd);
regs              140 drivers/net/ethernet/freescale/fsl_pq_mdio.c 	iowrite32be(0, &regs->miimcom);
regs              141 drivers/net/ethernet/freescale/fsl_pq_mdio.c 	iowrite32be(MII_READ_COMMAND, &regs->miimcom);
regs              145 drivers/net/ethernet/freescale/fsl_pq_mdio.c 	while ((ioread32be(&regs->miimind) &
regs              155 drivers/net/ethernet/freescale/fsl_pq_mdio.c 	value = ioread32be(&regs->miimstat);
regs              165 drivers/net/ethernet/freescale/fsl_pq_mdio.c 	struct fsl_pq_mii __iomem *regs = priv->regs;
regs              171 drivers/net/ethernet/freescale/fsl_pq_mdio.c 	iowrite32be(MIIMCFG_RESET, &regs->miimcfg);
regs              174 drivers/net/ethernet/freescale/fsl_pq_mdio.c 	iowrite32be(MIIMCFG_INIT_VALUE, &regs->miimcfg);
regs              178 drivers/net/ethernet/freescale/fsl_pq_mdio.c 	while ((ioread32be(&regs->miimind) & MIIMIND_BUSY) && timeout) {
regs              464 drivers/net/ethernet/freescale/fsl_pq_mdio.c 	priv->regs = priv->map + data->mii_offset;
regs              130 drivers/net/ethernet/freescale/gianfar.c 	struct gfar __iomem *regs = priv->gfargrp[0].regs;
regs              134 drivers/net/ethernet/freescale/gianfar.c 	baddr = &regs->tbase0;
regs              140 drivers/net/ethernet/freescale/gianfar.c 	baddr = &regs->rbase0;
regs              149 drivers/net/ethernet/freescale/gianfar.c 	struct gfar __iomem *regs = priv->gfargrp[0].regs;
regs              153 drivers/net/ethernet/freescale/gianfar.c 	baddr = &regs->rqprm0;
regs              175 drivers/net/ethernet/freescale/gianfar.c 	struct gfar __iomem *regs = priv->gfargrp[0].regs;
regs              182 drivers/net/ethernet/freescale/gianfar.c 			gfar_write(&regs->rir0, DEFAULT_2RXQ_RIR0);
regs              184 drivers/net/ethernet/freescale/gianfar.c 			gfar_write(&regs->rir0, DEFAULT_8RXQ_RIR0);
regs              210 drivers/net/ethernet/freescale/gianfar.c 	gfar_write(&regs->rctrl, rctrl);
regs              213 drivers/net/ethernet/freescale/gianfar.c 	gfar_write(&regs->ptv, DEFAULT_LFC_PTVVAL);
regs              217 drivers/net/ethernet/freescale/gianfar.c 	gfar_write(&regs->rctrl, rctrl);
regs              222 drivers/net/ethernet/freescale/gianfar.c 	struct gfar __iomem *regs = priv->gfargrp[0].regs;
regs              232 drivers/net/ethernet/freescale/gianfar.c 		gfar_write(&regs->tr03wt, DEFAULT_WRRS_WEIGHT);
regs              233 drivers/net/ethernet/freescale/gianfar.c 		gfar_write(&regs->tr47wt, DEFAULT_WRRS_WEIGHT);
regs              239 drivers/net/ethernet/freescale/gianfar.c 	gfar_write(&regs->tctrl, tctrl);
regs              245 drivers/net/ethernet/freescale/gianfar.c 	struct gfar __iomem *regs = priv->gfargrp[0].regs;
regs              251 drivers/net/ethernet/freescale/gianfar.c 		baddr = &regs->txic0;
regs              258 drivers/net/ethernet/freescale/gianfar.c 		baddr = &regs->rxic0;
regs              268 drivers/net/ethernet/freescale/gianfar.c 		gfar_write(&regs->txic, 0);
regs              270 drivers/net/ethernet/freescale/gianfar.c 			gfar_write(&regs->txic, priv->tx_queue[0]->txic);
regs              272 drivers/net/ethernet/freescale/gianfar.c 		gfar_write(&regs->rxic, 0);
regs              274 drivers/net/ethernet/freescale/gianfar.c 			gfar_write(&regs->rxic, priv->rx_queue[0]->rxic);
regs              347 drivers/net/ethernet/freescale/gianfar.c 	struct gfar __iomem *regs = priv->gfargrp[0].regs;
regs              349 drivers/net/ethernet/freescale/gianfar.c 	u32 __iomem *macptr = &regs->macstnaddr1;
regs              380 drivers/net/ethernet/freescale/gianfar.c 		struct gfar __iomem *regs = priv->gfargrp[i].regs;
regs              382 drivers/net/ethernet/freescale/gianfar.c 		gfar_write(&regs->ievent, IEVENT_INIT_CLEAR);
regs              385 drivers/net/ethernet/freescale/gianfar.c 		gfar_write(&regs->imask, IMASK_INIT_CLEAR);
regs              393 drivers/net/ethernet/freescale/gianfar.c 		struct gfar __iomem *regs = priv->gfargrp[i].regs;
regs              395 drivers/net/ethernet/freescale/gianfar.c 		gfar_write(&regs->imask, IMASK_DEFAULT);
regs              454 drivers/net/ethernet/freescale/gianfar.c 		if (priv->gfargrp[i].regs)
regs              455 drivers/net/ethernet/freescale/gianfar.c 			iounmap(priv->gfargrp[i].regs);
regs              504 drivers/net/ethernet/freescale/gianfar.c 	grp->regs = of_iomap(np, 0);
regs              505 drivers/net/ethernet/freescale/gianfar.c 	if (!grp->regs)
regs              601 drivers/net/ethernet/freescale/gianfar.c 	struct gfar __iomem *regs = priv->gfargrp[0].regs;
regs              604 drivers/net/ethernet/freescale/gianfar.c 	ecntrl = gfar_read(&regs->ecntrl);
regs              745 drivers/net/ethernet/freescale/gianfar.c 		priv->gfargrp[i].regs = NULL;
regs              973 drivers/net/ethernet/freescale/gianfar.c 	struct gfar __iomem *regs = priv->gfargrp[0].regs;
regs              979 drivers/net/ethernet/freescale/gianfar.c 		priv->hash_regs[0] = &regs->igaddr0;
regs              980 drivers/net/ethernet/freescale/gianfar.c 		priv->hash_regs[1] = &regs->igaddr1;
regs              981 drivers/net/ethernet/freescale/gianfar.c 		priv->hash_regs[2] = &regs->igaddr2;
regs              982 drivers/net/ethernet/freescale/gianfar.c 		priv->hash_regs[3] = &regs->igaddr3;
regs              983 drivers/net/ethernet/freescale/gianfar.c 		priv->hash_regs[4] = &regs->igaddr4;
regs              984 drivers/net/ethernet/freescale/gianfar.c 		priv->hash_regs[5] = &regs->igaddr5;
regs              985 drivers/net/ethernet/freescale/gianfar.c 		priv->hash_regs[6] = &regs->igaddr6;
regs              986 drivers/net/ethernet/freescale/gianfar.c 		priv->hash_regs[7] = &regs->igaddr7;
regs              987 drivers/net/ethernet/freescale/gianfar.c 		priv->hash_regs[8] = &regs->gaddr0;
regs              988 drivers/net/ethernet/freescale/gianfar.c 		priv->hash_regs[9] = &regs->gaddr1;
regs              989 drivers/net/ethernet/freescale/gianfar.c 		priv->hash_regs[10] = &regs->gaddr2;
regs              990 drivers/net/ethernet/freescale/gianfar.c 		priv->hash_regs[11] = &regs->gaddr3;
regs              991 drivers/net/ethernet/freescale/gianfar.c 		priv->hash_regs[12] = &regs->gaddr4;
regs              992 drivers/net/ethernet/freescale/gianfar.c 		priv->hash_regs[13] = &regs->gaddr5;
regs              993 drivers/net/ethernet/freescale/gianfar.c 		priv->hash_regs[14] = &regs->gaddr6;
regs              994 drivers/net/ethernet/freescale/gianfar.c 		priv->hash_regs[15] = &regs->gaddr7;
regs             1000 drivers/net/ethernet/freescale/gianfar.c 		priv->hash_regs[0] = &regs->gaddr0;
regs             1001 drivers/net/ethernet/freescale/gianfar.c 		priv->hash_regs[1] = &regs->gaddr1;
regs             1002 drivers/net/ethernet/freescale/gianfar.c 		priv->hash_regs[2] = &regs->gaddr2;
regs             1003 drivers/net/ethernet/freescale/gianfar.c 		priv->hash_regs[3] = &regs->gaddr3;
regs             1004 drivers/net/ethernet/freescale/gianfar.c 		priv->hash_regs[4] = &regs->gaddr4;
regs             1005 drivers/net/ethernet/freescale/gianfar.c 		priv->hash_regs[5] = &regs->gaddr5;
regs             1006 drivers/net/ethernet/freescale/gianfar.c 		priv->hash_regs[6] = &regs->gaddr6;
regs             1007 drivers/net/ethernet/freescale/gianfar.c 		priv->hash_regs[7] = &regs->gaddr7;
regs             1025 drivers/net/ethernet/freescale/gianfar.c 	res = gfar_read((void __iomem *)priv->gfargrp[0].regs + 0xd1c);
regs             1036 drivers/net/ethernet/freescale/gianfar.c 	struct gfar __iomem *regs = priv->gfargrp[0].regs;
regs             1047 drivers/net/ethernet/freescale/gianfar.c 	tempval = gfar_read(&regs->dmactrl);
regs             1049 drivers/net/ethernet/freescale/gianfar.c 	gfar_write(&regs->dmactrl, tempval);
regs             1069 drivers/net/ethernet/freescale/gianfar.c 	struct gfar __iomem *regs = priv->gfargrp[0].regs;
regs             1073 drivers/net/ethernet/freescale/gianfar.c 	gfar_write(&regs->rqueue, 0);
regs             1074 drivers/net/ethernet/freescale/gianfar.c 	gfar_write(&regs->tqueue, 0);
regs             1081 drivers/net/ethernet/freescale/gianfar.c 	tempval = gfar_read(&regs->maccfg1);
regs             1083 drivers/net/ethernet/freescale/gianfar.c 	gfar_write(&regs->maccfg1, tempval);
regs             1200 drivers/net/ethernet/freescale/gianfar.c 	struct gfar __iomem *regs = priv->gfargrp[0].regs;
regs             1205 drivers/net/ethernet/freescale/gianfar.c 	gfar_write(&regs->rqueue, priv->rqueue);
regs             1206 drivers/net/ethernet/freescale/gianfar.c 	gfar_write(&regs->tqueue, priv->tqueue);
regs             1209 drivers/net/ethernet/freescale/gianfar.c 	tempval = gfar_read(&regs->dmactrl);
regs             1211 drivers/net/ethernet/freescale/gianfar.c 	gfar_write(&regs->dmactrl, tempval);
regs             1214 drivers/net/ethernet/freescale/gianfar.c 	tempval = gfar_read(&regs->dmactrl);
regs             1216 drivers/net/ethernet/freescale/gianfar.c 	gfar_write(&regs->dmactrl, tempval);
regs             1219 drivers/net/ethernet/freescale/gianfar.c 		regs = priv->gfargrp[i].regs;
regs             1221 drivers/net/ethernet/freescale/gianfar.c 		gfar_write(&regs->tstat, priv->gfargrp[i].tstat);
regs             1222 drivers/net/ethernet/freescale/gianfar.c 		gfar_write(&regs->rstat, priv->gfargrp[i].rstat);
regs             1226 drivers/net/ethernet/freescale/gianfar.c 	tempval = gfar_read(&regs->maccfg1);
regs             1228 drivers/net/ethernet/freescale/gianfar.c 	gfar_write(&regs->maccfg1, tempval);
regs             1309 drivers/net/ethernet/freescale/gianfar.c 	struct gfar __iomem *regs = priv->gfargrp[0].regs;
regs             1339 drivers/net/ethernet/freescale/gianfar.c 	rfbptr = &regs->rfbptr0;
regs             1510 drivers/net/ethernet/freescale/gianfar.c 	struct gfar __iomem *regs = priv->gfargrp[0].regs;
regs             1520 drivers/net/ethernet/freescale/gianfar.c 		u32 tempval1 = gfar_read(&regs->maccfg1);
regs             1521 drivers/net/ethernet/freescale/gianfar.c 		u32 tempval = gfar_read(&regs->maccfg2);
regs             1522 drivers/net/ethernet/freescale/gianfar.c 		u32 ecntrl = gfar_read(&regs->ecntrl);
regs             1584 drivers/net/ethernet/freescale/gianfar.c 		gfar_write(&regs->maccfg1, tempval1);
regs             1585 drivers/net/ethernet/freescale/gianfar.c 		gfar_write(&regs->maccfg2, tempval);
regs             1586 drivers/net/ethernet/freescale/gianfar.c 		gfar_write(&regs->ecntrl, ecntrl);
regs             1798 drivers/net/ethernet/freescale/gianfar.c 	struct gfar __iomem *regs = NULL;
regs             1812 drivers/net/ethernet/freescale/gianfar.c 	regs = tx_queue->grp->regs;
regs             2017 drivers/net/ethernet/freescale/gianfar.c 	gfar_write(&regs->tstat, TSTAT_CLEAR_THALT >> tx_queue->qindex);
regs             2336 drivers/net/ethernet/freescale/gianfar.c 	ievent = gfar_read(&grp->regs->ievent);
regs             2339 drivers/net/ethernet/freescale/gianfar.c 		gfar_write(&grp->regs->ievent, IEVENT_FGPI);
regs             2345 drivers/net/ethernet/freescale/gianfar.c 		imask = gfar_read(&grp->regs->imask);
regs             2347 drivers/net/ethernet/freescale/gianfar.c 		gfar_write(&grp->regs->imask, imask);
regs             2354 drivers/net/ethernet/freescale/gianfar.c 		gfar_write(&grp->regs->ievent, IEVENT_RX_MASK);
regs             2369 drivers/net/ethernet/freescale/gianfar.c 		imask = gfar_read(&grp->regs->imask);
regs             2371 drivers/net/ethernet/freescale/gianfar.c 		gfar_write(&grp->regs->imask, imask);
regs             2378 drivers/net/ethernet/freescale/gianfar.c 		gfar_write(&grp->regs->ievent, IEVENT_TX_MASK);
regs             2628 drivers/net/ethernet/freescale/gianfar.c 	struct gfar __iomem *regs = gfargrp->regs;
regs             2635 drivers/net/ethernet/freescale/gianfar.c 	gfar_write(&regs->ievent, IEVENT_RX_MASK);
regs             2643 drivers/net/ethernet/freescale/gianfar.c 		gfar_write(&regs->rstat, gfargrp->rstat);
regs             2646 drivers/net/ethernet/freescale/gianfar.c 		imask = gfar_read(&regs->imask);
regs             2648 drivers/net/ethernet/freescale/gianfar.c 		gfar_write(&regs->imask, imask);
regs             2659 drivers/net/ethernet/freescale/gianfar.c 	struct gfar __iomem *regs = gfargrp->regs;
regs             2666 drivers/net/ethernet/freescale/gianfar.c 	gfar_write(&regs->ievent, IEVENT_TX_MASK);
regs             2675 drivers/net/ethernet/freescale/gianfar.c 	imask = gfar_read(&regs->imask);
regs             2677 drivers/net/ethernet/freescale/gianfar.c 	gfar_write(&regs->imask, imask);
regs             2688 drivers/net/ethernet/freescale/gianfar.c 	struct gfar __iomem *regs = gfargrp->regs;
regs             2698 drivers/net/ethernet/freescale/gianfar.c 	gfar_write(&regs->ievent, IEVENT_RX_MASK);
regs             2700 drivers/net/ethernet/freescale/gianfar.c 	rstat_rxf = gfar_read(&regs->rstat) & RSTAT_RXF_MASK;
regs             2719 drivers/net/ethernet/freescale/gianfar.c 			gfar_write(&regs->rstat,
regs             2733 drivers/net/ethernet/freescale/gianfar.c 		gfar_write(&regs->rstat, gfargrp->rstat);
regs             2736 drivers/net/ethernet/freescale/gianfar.c 		imask = gfar_read(&regs->imask);
regs             2738 drivers/net/ethernet/freescale/gianfar.c 		gfar_write(&regs->imask, imask);
regs             2750 drivers/net/ethernet/freescale/gianfar.c 	struct gfar __iomem *regs = gfargrp->regs;
regs             2758 drivers/net/ethernet/freescale/gianfar.c 	gfar_write(&regs->ievent, IEVENT_TX_MASK);
regs             2774 drivers/net/ethernet/freescale/gianfar.c 		imask = gfar_read(&regs->imask);
regs             2776 drivers/net/ethernet/freescale/gianfar.c 		gfar_write(&regs->imask, imask);
regs             2787 drivers/net/ethernet/freescale/gianfar.c 	struct gfar __iomem *regs = gfargrp->regs;
regs             2792 drivers/net/ethernet/freescale/gianfar.c 	u32 events = gfar_read(&regs->ievent);
regs             2795 drivers/net/ethernet/freescale/gianfar.c 	gfar_write(&regs->ievent, events & IEVENT_ERR_MASK);
regs             2806 drivers/net/ethernet/freescale/gianfar.c 			   events, gfar_read(&regs->imask));
regs             2831 drivers/net/ethernet/freescale/gianfar.c 			  gfar_read(&regs->rstat));
regs             2859 drivers/net/ethernet/freescale/gianfar.c 	u32 events = gfar_read(&gfargrp->regs->ievent);
regs             3070 drivers/net/ethernet/freescale/gianfar.c 	struct gfar __iomem *regs = priv->gfargrp[0].regs;
regs             3075 drivers/net/ethernet/freescale/gianfar.c 		tempval = gfar_read(&regs->rctrl);
regs             3077 drivers/net/ethernet/freescale/gianfar.c 		gfar_write(&regs->rctrl, tempval);
regs             3080 drivers/net/ethernet/freescale/gianfar.c 		tempval = gfar_read(&regs->rctrl);
regs             3082 drivers/net/ethernet/freescale/gianfar.c 		gfar_write(&regs->rctrl, tempval);
regs             3087 drivers/net/ethernet/freescale/gianfar.c 		gfar_write(&regs->igaddr0, 0xffffffff);
regs             3088 drivers/net/ethernet/freescale/gianfar.c 		gfar_write(&regs->igaddr1, 0xffffffff);
regs             3089 drivers/net/ethernet/freescale/gianfar.c 		gfar_write(&regs->igaddr2, 0xffffffff);
regs             3090 drivers/net/ethernet/freescale/gianfar.c 		gfar_write(&regs->igaddr3, 0xffffffff);
regs             3091 drivers/net/ethernet/freescale/gianfar.c 		gfar_write(&regs->igaddr4, 0xffffffff);
regs             3092 drivers/net/ethernet/freescale/gianfar.c 		gfar_write(&regs->igaddr5, 0xffffffff);
regs             3093 drivers/net/ethernet/freescale/gianfar.c 		gfar_write(&regs->igaddr6, 0xffffffff);
regs             3094 drivers/net/ethernet/freescale/gianfar.c 		gfar_write(&regs->igaddr7, 0xffffffff);
regs             3095 drivers/net/ethernet/freescale/gianfar.c 		gfar_write(&regs->gaddr0, 0xffffffff);
regs             3096 drivers/net/ethernet/freescale/gianfar.c 		gfar_write(&regs->gaddr1, 0xffffffff);
regs             3097 drivers/net/ethernet/freescale/gianfar.c 		gfar_write(&regs->gaddr2, 0xffffffff);
regs             3098 drivers/net/ethernet/freescale/gianfar.c 		gfar_write(&regs->gaddr3, 0xffffffff);
regs             3099 drivers/net/ethernet/freescale/gianfar.c 		gfar_write(&regs->gaddr4, 0xffffffff);
regs             3100 drivers/net/ethernet/freescale/gianfar.c 		gfar_write(&regs->gaddr5, 0xffffffff);
regs             3101 drivers/net/ethernet/freescale/gianfar.c 		gfar_write(&regs->gaddr6, 0xffffffff);
regs             3102 drivers/net/ethernet/freescale/gianfar.c 		gfar_write(&regs->gaddr7, 0xffffffff);
regs             3108 drivers/net/ethernet/freescale/gianfar.c 		gfar_write(&regs->igaddr0, 0x0);
regs             3109 drivers/net/ethernet/freescale/gianfar.c 		gfar_write(&regs->igaddr1, 0x0);
regs             3110 drivers/net/ethernet/freescale/gianfar.c 		gfar_write(&regs->igaddr2, 0x0);
regs             3111 drivers/net/ethernet/freescale/gianfar.c 		gfar_write(&regs->igaddr3, 0x0);
regs             3112 drivers/net/ethernet/freescale/gianfar.c 		gfar_write(&regs->igaddr4, 0x0);
regs             3113 drivers/net/ethernet/freescale/gianfar.c 		gfar_write(&regs->igaddr5, 0x0);
regs             3114 drivers/net/ethernet/freescale/gianfar.c 		gfar_write(&regs->igaddr6, 0x0);
regs             3115 drivers/net/ethernet/freescale/gianfar.c 		gfar_write(&regs->igaddr7, 0x0);
regs             3116 drivers/net/ethernet/freescale/gianfar.c 		gfar_write(&regs->gaddr0, 0x0);
regs             3117 drivers/net/ethernet/freescale/gianfar.c 		gfar_write(&regs->gaddr1, 0x0);
regs             3118 drivers/net/ethernet/freescale/gianfar.c 		gfar_write(&regs->gaddr2, 0x0);
regs             3119 drivers/net/ethernet/freescale/gianfar.c 		gfar_write(&regs->gaddr3, 0x0);
regs             3120 drivers/net/ethernet/freescale/gianfar.c 		gfar_write(&regs->gaddr4, 0x0);
regs             3121 drivers/net/ethernet/freescale/gianfar.c 		gfar_write(&regs->gaddr5, 0x0);
regs             3122 drivers/net/ethernet/freescale/gianfar.c 		gfar_write(&regs->gaddr6, 0x0);
regs             3123 drivers/net/ethernet/freescale/gianfar.c 		gfar_write(&regs->gaddr7, 0x0);
regs             3154 drivers/net/ethernet/freescale/gianfar.c 	struct gfar __iomem *regs = priv->gfargrp[0].regs;
regs             3158 drivers/net/ethernet/freescale/gianfar.c 	gfar_write(&regs->maccfg1, MACCFG1_SOFT_RESET);
regs             3166 drivers/net/ethernet/freescale/gianfar.c 	gfar_write(&regs->maccfg1, 0);
regs             3173 drivers/net/ethernet/freescale/gianfar.c 	gfar_write(&regs->maxfrm, GFAR_JUMBO_FRAME_SIZE);
regs             3174 drivers/net/ethernet/freescale/gianfar.c 	gfar_write(&regs->mrblr, GFAR_RXB_SIZE);
regs             3177 drivers/net/ethernet/freescale/gianfar.c 	gfar_write(&regs->minflr, MINFLR_INIT_SETTINGS);
regs             3189 drivers/net/ethernet/freescale/gianfar.c 	gfar_write(&regs->maccfg2, tempval);
regs             3192 drivers/net/ethernet/freescale/gianfar.c 	gfar_write(&regs->igaddr0, 0);
regs             3193 drivers/net/ethernet/freescale/gianfar.c 	gfar_write(&regs->igaddr1, 0);
regs             3194 drivers/net/ethernet/freescale/gianfar.c 	gfar_write(&regs->igaddr2, 0);
regs             3195 drivers/net/ethernet/freescale/gianfar.c 	gfar_write(&regs->igaddr3, 0);
regs             3196 drivers/net/ethernet/freescale/gianfar.c 	gfar_write(&regs->igaddr4, 0);
regs             3197 drivers/net/ethernet/freescale/gianfar.c 	gfar_write(&regs->igaddr5, 0);
regs             3198 drivers/net/ethernet/freescale/gianfar.c 	gfar_write(&regs->igaddr6, 0);
regs             3199 drivers/net/ethernet/freescale/gianfar.c 	gfar_write(&regs->igaddr7, 0);
regs             3201 drivers/net/ethernet/freescale/gianfar.c 	gfar_write(&regs->gaddr0, 0);
regs             3202 drivers/net/ethernet/freescale/gianfar.c 	gfar_write(&regs->gaddr1, 0);
regs             3203 drivers/net/ethernet/freescale/gianfar.c 	gfar_write(&regs->gaddr2, 0);
regs             3204 drivers/net/ethernet/freescale/gianfar.c 	gfar_write(&regs->gaddr3, 0);
regs             3205 drivers/net/ethernet/freescale/gianfar.c 	gfar_write(&regs->gaddr4, 0);
regs             3206 drivers/net/ethernet/freescale/gianfar.c 	gfar_write(&regs->gaddr5, 0);
regs             3207 drivers/net/ethernet/freescale/gianfar.c 	gfar_write(&regs->gaddr6, 0);
regs             3208 drivers/net/ethernet/freescale/gianfar.c 	gfar_write(&regs->gaddr7, 0);
regs             3230 drivers/net/ethernet/freescale/gianfar.c 	struct gfar __iomem *regs = priv->gfargrp[0].regs;
regs             3242 drivers/net/ethernet/freescale/gianfar.c 		memset_io(&(regs->rmon), 0, sizeof(struct rmon_mib));
regs             3245 drivers/net/ethernet/freescale/gianfar.c 		gfar_write(&regs->rmon.cam1, 0xffffffff);
regs             3246 drivers/net/ethernet/freescale/gianfar.c 		gfar_write(&regs->rmon.cam2, 0xffffffff);
regs             3250 drivers/net/ethernet/freescale/gianfar.c 	gfar_write(&regs->ecntrl, ECNTRL_INIT_SETTINGS);
regs             3256 drivers/net/ethernet/freescale/gianfar.c 	gfar_write(&regs->attreli, attrs);
regs             3269 drivers/net/ethernet/freescale/gianfar.c 	gfar_write(&regs->attr, attrs);
regs             3272 drivers/net/ethernet/freescale/gianfar.c 	gfar_write(&regs->fifo_tx_thr, DEFAULT_FIFO_TX_THR);
regs             3273 drivers/net/ethernet/freescale/gianfar.c 	gfar_write(&regs->fifo_tx_starve, DEFAULT_FIFO_TX_STARVE);
regs             3274 drivers/net/ethernet/freescale/gianfar.c 	gfar_write(&regs->fifo_tx_starve_shutoff, DEFAULT_FIFO_TX_STARVE_OFF);
regs             3327 drivers/net/ethernet/freescale/gianfar.c 	dev->base_addr = (unsigned long) priv->gfargrp[0].regs;
regs             3496 drivers/net/ethernet/freescale/gianfar.c 	struct gfar __iomem *regs = priv->gfargrp[0].regs;
regs             3499 drivers/net/ethernet/freescale/gianfar.c 	temp = gfar_read(&regs->rctrl);
regs             3501 drivers/net/ethernet/freescale/gianfar.c 	gfar_write(&regs->rctrl, temp);
regs             3506 drivers/net/ethernet/freescale/gianfar.c 	struct gfar __iomem *regs = priv->gfargrp[0].regs;
regs             3509 drivers/net/ethernet/freescale/gianfar.c 	temp = gfar_read(&regs->rctrl);
regs             3511 drivers/net/ethernet/freescale/gianfar.c 	gfar_write(&regs->rctrl, temp);
regs             3572 drivers/net/ethernet/freescale/gianfar.c 	struct gfar __iomem *regs = priv->gfargrp[0].regs;
regs             3577 drivers/net/ethernet/freescale/gianfar.c 	gfar_write(&regs->rqueue, priv->rqueue);
regs             3580 drivers/net/ethernet/freescale/gianfar.c 	tempval = gfar_read(&regs->dmactrl);
regs             3582 drivers/net/ethernet/freescale/gianfar.c 	gfar_write(&regs->dmactrl, tempval);
regs             3585 drivers/net/ethernet/freescale/gianfar.c 	tempval = gfar_read(&regs->dmactrl);
regs             3587 drivers/net/ethernet/freescale/gianfar.c 	gfar_write(&regs->dmactrl, tempval);
regs             3590 drivers/net/ethernet/freescale/gianfar.c 		regs = priv->gfargrp[i].regs;
regs             3592 drivers/net/ethernet/freescale/gianfar.c 		gfar_write(&regs->rstat, priv->gfargrp[i].rstat);
regs             3594 drivers/net/ethernet/freescale/gianfar.c 		gfar_write(&regs->imask, IMASK_FGPI);
regs             3598 drivers/net/ethernet/freescale/gianfar.c 	tempval = gfar_read(&regs->maccfg1);
regs             3600 drivers/net/ethernet/freescale/gianfar.c 	gfar_write(&regs->maccfg1, tempval);
regs             3607 drivers/net/ethernet/freescale/gianfar.c 	struct gfar __iomem *regs = priv->gfargrp[0].regs;
regs             3623 drivers/net/ethernet/freescale/gianfar.c 		gfar_write(&regs->imask, IMASK_MAG);
regs             3626 drivers/net/ethernet/freescale/gianfar.c 		tempval = gfar_read(&regs->maccfg2);
regs             3628 drivers/net/ethernet/freescale/gianfar.c 		gfar_write(&regs->maccfg2, tempval);
regs             3631 drivers/net/ethernet/freescale/gianfar.c 		tempval = gfar_read(&regs->maccfg1);
regs             3633 drivers/net/ethernet/freescale/gianfar.c 		gfar_write(&regs->maccfg1, tempval);
regs             3650 drivers/net/ethernet/freescale/gianfar.c 	struct gfar __iomem *regs = priv->gfargrp[0].regs;
regs             3659 drivers/net/ethernet/freescale/gianfar.c 		tempval = gfar_read(&regs->maccfg2);
regs             3661 drivers/net/ethernet/freescale/gianfar.c 		gfar_write(&regs->maccfg2, tempval);
regs             1050 drivers/net/ethernet/freescale/gianfar.h 	struct gfar __iomem *regs;
regs             1195 drivers/net/ethernet/freescale/gianfar.h 	struct gfar __iomem *regs = priv->gfargrp[0].regs;
regs             1197 drivers/net/ethernet/freescale/gianfar.h 	gfar_write(&regs->rqfar, far);
regs             1198 drivers/net/ethernet/freescale/gianfar.h 	gfar_write(&regs->rqfcr, fcr);
regs             1199 drivers/net/ethernet/freescale/gianfar.h 	gfar_write(&regs->rqfpr, fpr);
regs             1205 drivers/net/ethernet/freescale/gianfar.h 	struct gfar __iomem *regs = priv->gfargrp[0].regs;
regs             1207 drivers/net/ethernet/freescale/gianfar.h 	gfar_write(&regs->rqfar, far);
regs             1208 drivers/net/ethernet/freescale/gianfar.h 	*fcr = gfar_read(&regs->rqfcr);
regs             1209 drivers/net/ethernet/freescale/gianfar.h 	*fpr = gfar_read(&regs->rqfpr);
regs             1214 drivers/net/ethernet/freescale/gianfar.h 	struct gfar __iomem *regs = priv->gfargrp[0].regs;
regs             1215 drivers/net/ethernet/freescale/gianfar.h 	u32 __iomem *baddr = &regs->isrg0;
regs             1239 drivers/net/ethernet/freescale/gianfar.h 	struct gfar __iomem *regs = priv->gfargrp[0].regs;
regs             1241 drivers/net/ethernet/freescale/gianfar.h 	return ((gfar_read(&regs->ievent) & (IEVENT_GRSC | IEVENT_GTSC)) ==
regs             1247 drivers/net/ethernet/freescale/gianfar.h 	struct gfar __iomem *regs = priv->gfargrp[0].regs;
regs             1249 drivers/net/ethernet/freescale/gianfar.h 	return gfar_read(&regs->ievent) & IEVENT_GRSC;
regs              133 drivers/net/ethernet/freescale/gianfar_ethtool.c 	struct gfar __iomem *regs = priv->gfargrp[0].regs;
regs              140 drivers/net/ethernet/freescale/gianfar_ethtool.c 		u32 __iomem *rmon = (u32 __iomem *) &regs->rmon;
regs              180 drivers/net/ethernet/freescale/gianfar_ethtool.c static void gfar_get_regs(struct net_device *dev, struct ethtool_regs *regs,
regs              185 drivers/net/ethernet/freescale/gianfar_ethtool.c 	u32 __iomem *theregs = (u32 __iomem *) priv->gfargrp[0].regs;
regs              489 drivers/net/ethernet/freescale/gianfar_ethtool.c 	struct gfar __iomem *regs = priv->gfargrp[0].regs;
regs              515 drivers/net/ethernet/freescale/gianfar_ethtool.c 		u32 tempval = gfar_read(&regs->maccfg1);
regs              527 drivers/net/ethernet/freescale/gianfar_ethtool.c 		gfar_write(&regs->maccfg1, tempval);
regs              817 drivers/net/ethernet/freescale/gianfar_ethtool.c 	struct gfar __iomem *regs = priv->gfargrp[0].regs;
regs              821 drivers/net/ethernet/freescale/gianfar_ethtool.c 	i = gfar_read(&regs->ecntrl);
regs              825 drivers/net/ethernet/freescale/gianfar_ethtool.c 		i = gfar_read(&regs->rctrl);
regs              838 drivers/net/ethernet/freescale/gianfar_ethtool.c 		i = gfar_read(&regs->rctrl);
regs              853 drivers/net/ethernet/freescale/gianfar_ethtool.c 	gfar_write(&regs->rbifx, 0xC0C1C2C3);
regs             2180 drivers/net/ethernet/freescale/ucc_geth.c 	ugeth->ug_regs = ioremap(uf_info->regs, sizeof(*ugeth->ug_regs));
regs             3786 drivers/net/ethernet/freescale/ucc_geth.c 	ug_info->uf_info.regs = res.start;
regs             3861 drivers/net/ethernet/freescale/ucc_geth.c 			(u64)ug_info->uf_info.regs,
regs             3882 drivers/net/ethernet/freescale/ucc_geth.c 	dev->base_addr = (unsigned long)(ug_info->uf_info.regs);
regs              197 drivers/net/ethernet/freescale/ucc_geth_ethtool.c                struct ethtool_regs *regs, void *p)
regs               55 drivers/net/ethernet/freescale/xgmac_mdio.c static u32 xgmac_read32(void __iomem *regs,
regs               59 drivers/net/ethernet/freescale/xgmac_mdio.c 		return ioread32(regs);
regs               61 drivers/net/ethernet/freescale/xgmac_mdio.c 		return ioread32be(regs);
regs               65 drivers/net/ethernet/freescale/xgmac_mdio.c 			  void __iomem *regs,
regs               69 drivers/net/ethernet/freescale/xgmac_mdio.c 		iowrite32(value, regs);
regs               71 drivers/net/ethernet/freescale/xgmac_mdio.c 		iowrite32be(value, regs);
regs               78 drivers/net/ethernet/freescale/xgmac_mdio.c 				 struct tgec_mdio_controller __iomem *regs,
regs               85 drivers/net/ethernet/freescale/xgmac_mdio.c 	while ((xgmac_read32(&regs->mdio_stat, is_little_endian) &
regs              103 drivers/net/ethernet/freescale/xgmac_mdio.c 				 struct tgec_mdio_controller __iomem *regs,
regs              110 drivers/net/ethernet/freescale/xgmac_mdio.c 	while ((xgmac_read32(&regs->mdio_stat, is_little_endian) &
regs              132 drivers/net/ethernet/freescale/xgmac_mdio.c 	struct tgec_mdio_controller __iomem *regs = priv->mdio_base;
regs              138 drivers/net/ethernet/freescale/xgmac_mdio.c 	mdio_stat = xgmac_read32(&regs->mdio_stat, endian);
regs              149 drivers/net/ethernet/freescale/xgmac_mdio.c 	xgmac_write32(mdio_stat, &regs->mdio_stat, endian);
regs              151 drivers/net/ethernet/freescale/xgmac_mdio.c 	ret = xgmac_wait_until_free(&bus->dev, regs, endian);
regs              157 drivers/net/ethernet/freescale/xgmac_mdio.c 	xgmac_write32(mdio_ctl, &regs->mdio_ctl, endian);
regs              161 drivers/net/ethernet/freescale/xgmac_mdio.c 		xgmac_write32(regnum & 0xffff, &regs->mdio_addr, endian);
regs              163 drivers/net/ethernet/freescale/xgmac_mdio.c 		ret = xgmac_wait_until_free(&bus->dev, regs, endian);
regs              169 drivers/net/ethernet/freescale/xgmac_mdio.c 	xgmac_write32(MDIO_DATA(value), &regs->mdio_data, endian);
regs              171 drivers/net/ethernet/freescale/xgmac_mdio.c 	ret = xgmac_wait_until_done(&bus->dev, regs, endian);
regs              186 drivers/net/ethernet/freescale/xgmac_mdio.c 	struct tgec_mdio_controller __iomem *regs = priv->mdio_base;
regs              194 drivers/net/ethernet/freescale/xgmac_mdio.c 	mdio_stat = xgmac_read32(&regs->mdio_stat, endian);
regs              203 drivers/net/ethernet/freescale/xgmac_mdio.c 	xgmac_write32(mdio_stat, &regs->mdio_stat, endian);
regs              205 drivers/net/ethernet/freescale/xgmac_mdio.c 	ret = xgmac_wait_until_free(&bus->dev, regs, endian);
regs              211 drivers/net/ethernet/freescale/xgmac_mdio.c 	xgmac_write32(mdio_ctl, &regs->mdio_ctl, endian);
regs              215 drivers/net/ethernet/freescale/xgmac_mdio.c 		xgmac_write32(regnum & 0xffff, &regs->mdio_addr, endian);
regs              217 drivers/net/ethernet/freescale/xgmac_mdio.c 		ret = xgmac_wait_until_free(&bus->dev, regs, endian);
regs              223 drivers/net/ethernet/freescale/xgmac_mdio.c 	xgmac_write32(mdio_ctl | MDIO_CTL_READ, &regs->mdio_ctl, endian);
regs              225 drivers/net/ethernet/freescale/xgmac_mdio.c 	ret = xgmac_wait_until_done(&bus->dev, regs, endian);
regs              230 drivers/net/ethernet/freescale/xgmac_mdio.c 	if ((xgmac_read32(&regs->mdio_stat, endian) & MDIO_STAT_RD_ER) &&
regs              238 drivers/net/ethernet/freescale/xgmac_mdio.c 	value = xgmac_read32(&regs->mdio_data, endian) & 0xffff;
regs              567 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	u32 *regs = data;
regs              572 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[0] = dsaf_read_dev(drv, GMAC_DUPLEX_TYPE_REG);
regs              573 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[1] = dsaf_read_dev(drv, GMAC_FD_FC_TYPE_REG);
regs              574 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[2] = dsaf_read_dev(drv, GMAC_FC_TX_TIMER_REG);
regs              575 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[3] = dsaf_read_dev(drv, GMAC_FD_FC_ADDR_LOW_REG);
regs              576 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[4] = dsaf_read_dev(drv, GMAC_FD_FC_ADDR_HIGH_REG);
regs              577 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[5] = dsaf_read_dev(drv, GMAC_IPG_TX_TIMER_REG);
regs              578 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[6] = dsaf_read_dev(drv, GMAC_PAUSE_THR_REG);
regs              579 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[7] = dsaf_read_dev(drv, GMAC_MAX_FRM_SIZE_REG);
regs              580 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[8] = dsaf_read_dev(drv, GMAC_PORT_MODE_REG);
regs              581 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[9] = dsaf_read_dev(drv, GMAC_PORT_EN_REG);
regs              582 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[10] = dsaf_read_dev(drv, GMAC_PAUSE_EN_REG);
regs              583 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[11] = dsaf_read_dev(drv, GMAC_SHORT_RUNTS_THR_REG);
regs              584 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[12] = dsaf_read_dev(drv, GMAC_AN_NEG_STATE_REG);
regs              585 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[13] = dsaf_read_dev(drv, GMAC_TX_LOCAL_PAGE_REG);
regs              586 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[14] = dsaf_read_dev(drv, GMAC_TRANSMIT_CONTROL_REG);
regs              587 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[15] = dsaf_read_dev(drv, GMAC_REC_FILT_CONTROL_REG);
regs              588 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[16] = dsaf_read_dev(drv, GMAC_PTP_CONFIG_REG);
regs              591 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[17] = dsaf_read_dev(drv, GMAC_RX_OCTETS_TOTAL_OK_REG);
regs              592 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[18] = dsaf_read_dev(drv, GMAC_RX_OCTETS_BAD_REG);
regs              593 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[19] = dsaf_read_dev(drv, GMAC_RX_UC_PKTS_REG);
regs              594 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[20] = dsaf_read_dev(drv, GMAC_RX_MC_PKTS_REG);
regs              595 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[21] = dsaf_read_dev(drv, GMAC_RX_BC_PKTS_REG);
regs              596 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[22] = dsaf_read_dev(drv, GMAC_RX_PKTS_64OCTETS_REG);
regs              597 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[23] = dsaf_read_dev(drv, GMAC_RX_PKTS_65TO127OCTETS_REG);
regs              598 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[24] = dsaf_read_dev(drv, GMAC_RX_PKTS_128TO255OCTETS_REG);
regs              599 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[25] = dsaf_read_dev(drv, GMAC_RX_PKTS_255TO511OCTETS_REG);
regs              600 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[26] = dsaf_read_dev(drv, GMAC_RX_PKTS_512TO1023OCTETS_REG);
regs              601 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[27] = dsaf_read_dev(drv, GMAC_RX_PKTS_1024TO1518OCTETS_REG);
regs              602 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[28] = dsaf_read_dev(drv, GMAC_RX_PKTS_1519TOMAXOCTETS_REG);
regs              603 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[29] = dsaf_read_dev(drv, GMAC_RX_FCS_ERRORS_REG);
regs              604 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[30] = dsaf_read_dev(drv, GMAC_RX_TAGGED_REG);
regs              605 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[31] = dsaf_read_dev(drv, GMAC_RX_DATA_ERR_REG);
regs              606 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[32] = dsaf_read_dev(drv, GMAC_RX_ALIGN_ERRORS_REG);
regs              607 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[33] = dsaf_read_dev(drv, GMAC_RX_LONG_ERRORS_REG);
regs              608 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[34] = dsaf_read_dev(drv, GMAC_RX_JABBER_ERRORS_REG);
regs              609 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[35] = dsaf_read_dev(drv, GMAC_RX_PAUSE_MACCTRL_FRAM_REG);
regs              610 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[36] = dsaf_read_dev(drv, GMAC_RX_UNKNOWN_MACCTRL_FRAM_REG);
regs              611 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[37] = dsaf_read_dev(drv, GMAC_RX_VERY_LONG_ERR_CNT_REG);
regs              612 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[38] = dsaf_read_dev(drv, GMAC_RX_RUNT_ERR_CNT_REG);
regs              613 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[39] = dsaf_read_dev(drv, GMAC_RX_SHORT_ERR_CNT_REG);
regs              614 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[40] = dsaf_read_dev(drv, GMAC_RX_FILT_PKT_CNT_REG);
regs              615 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[41] = dsaf_read_dev(drv, GMAC_RX_OCTETS_TOTAL_FILT_REG);
regs              618 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[42] = dsaf_read_dev(drv, GMAC_OCTETS_TRANSMITTED_OK_REG);
regs              619 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[43] = dsaf_read_dev(drv, GMAC_OCTETS_TRANSMITTED_BAD_REG);
regs              620 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[44] = dsaf_read_dev(drv, GMAC_TX_UC_PKTS_REG);
regs              621 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[45] = dsaf_read_dev(drv, GMAC_TX_MC_PKTS_REG);
regs              622 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[46] = dsaf_read_dev(drv, GMAC_TX_BC_PKTS_REG);
regs              623 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[47] = dsaf_read_dev(drv, GMAC_TX_PKTS_64OCTETS_REG);
regs              624 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[48] = dsaf_read_dev(drv, GMAC_TX_PKTS_65TO127OCTETS_REG);
regs              625 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[49] = dsaf_read_dev(drv, GMAC_TX_PKTS_128TO255OCTETS_REG);
regs              626 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[50] = dsaf_read_dev(drv, GMAC_TX_PKTS_255TO511OCTETS_REG);
regs              627 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[51] = dsaf_read_dev(drv, GMAC_TX_PKTS_512TO1023OCTETS_REG);
regs              628 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[52] = dsaf_read_dev(drv, GMAC_TX_PKTS_1024TO1518OCTETS_REG);
regs              629 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[53] = dsaf_read_dev(drv, GMAC_TX_PKTS_1519TOMAXOCTETS_REG);
regs              630 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[54] = dsaf_read_dev(drv, GMAC_TX_EXCESSIVE_LENGTH_DROP_REG);
regs              631 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[55] = dsaf_read_dev(drv, GMAC_TX_UNDERRUN_REG);
regs              632 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[56] = dsaf_read_dev(drv, GMAC_TX_TAGGED_REG);
regs              633 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[57] = dsaf_read_dev(drv, GMAC_TX_CRC_ERROR_REG);
regs              634 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[58] = dsaf_read_dev(drv, GMAC_TX_PAUSE_FRAMES_REG);
regs              636 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[59] = dsaf_read_dev(drv, GAMC_RX_MAX_FRAME);
regs              637 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[60] = dsaf_read_dev(drv, GMAC_LINE_LOOP_BACK_REG);
regs              638 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[61] = dsaf_read_dev(drv, GMAC_CF_CRC_STRIP_REG);
regs              639 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[62] = dsaf_read_dev(drv, GMAC_MODE_CHANGE_EN_REG);
regs              640 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[63] = dsaf_read_dev(drv, GMAC_SIXTEEN_BIT_CNTR_REG);
regs              641 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[64] = dsaf_read_dev(drv, GMAC_LD_LINK_COUNTER_REG);
regs              642 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[65] = dsaf_read_dev(drv, GMAC_LOOP_REG);
regs              643 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[66] = dsaf_read_dev(drv, GMAC_RECV_CONTROL_REG);
regs              644 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[67] = dsaf_read_dev(drv, GMAC_VLAN_CODE_REG);
regs              645 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[68] = dsaf_read_dev(drv, GMAC_RX_OVERRUN_CNT_REG);
regs              646 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[69] = dsaf_read_dev(drv, GMAC_RX_LENGTHFIELD_ERR_CNT_REG);
regs              647 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[70] = dsaf_read_dev(drv, GMAC_RX_FAIL_COMMA_CNT_REG);
regs              649 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[71] = dsaf_read_dev(drv, GMAC_STATION_ADDR_LOW_0_REG);
regs              650 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[72] = dsaf_read_dev(drv, GMAC_STATION_ADDR_HIGH_0_REG);
regs              651 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[73] = dsaf_read_dev(drv, GMAC_STATION_ADDR_LOW_1_REG);
regs              652 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[74] = dsaf_read_dev(drv, GMAC_STATION_ADDR_HIGH_1_REG);
regs              653 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[75] = dsaf_read_dev(drv, GMAC_STATION_ADDR_LOW_2_REG);
regs              654 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[76] = dsaf_read_dev(drv, GMAC_STATION_ADDR_HIGH_2_REG);
regs              655 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[77] = dsaf_read_dev(drv, GMAC_STATION_ADDR_LOW_3_REG);
regs              656 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[78] = dsaf_read_dev(drv, GMAC_STATION_ADDR_HIGH_3_REG);
regs              657 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[79] = dsaf_read_dev(drv, GMAC_STATION_ADDR_LOW_4_REG);
regs              658 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[80] = dsaf_read_dev(drv, GMAC_STATION_ADDR_HIGH_4_REG);
regs              659 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[81] = dsaf_read_dev(drv, GMAC_STATION_ADDR_LOW_5_REG);
regs              660 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[82] = dsaf_read_dev(drv, GMAC_STATION_ADDR_HIGH_5_REG);
regs              661 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[83] = dsaf_read_dev(drv, GMAC_STATION_ADDR_LOW_MSK_0_REG);
regs              662 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[84] = dsaf_read_dev(drv, GMAC_STATION_ADDR_HIGH_MSK_0_REG);
regs              663 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[85] = dsaf_read_dev(drv, GMAC_STATION_ADDR_LOW_MSK_1_REG);
regs              664 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[86] = dsaf_read_dev(drv, GMAC_STATION_ADDR_HIGH_MSK_1_REG);
regs              665 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[87] = dsaf_read_dev(drv, GMAC_MAC_SKIP_LEN_REG);
regs              666 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 	regs[88] = dsaf_read_dev(drv, GMAC_TX_LOOP_PKT_PRI_REG);
regs              670 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 		regs[i] = 0xaaaaaaaa;
regs              556 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c 	u32 *regs = data;
regs              561 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c 	regs[0] = dsaf_read_dev(ppe_common, PPE_COM_CFG_QID_MODE_REG);
regs              562 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c 	regs[1] = dsaf_read_dev(ppe_common, PPE_COM_INTEN_REG);
regs              563 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c 	regs[2] = dsaf_read_dev(ppe_common, PPE_COM_RINT_REG);
regs              564 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c 	regs[3] = dsaf_read_dev(ppe_common, PPE_COM_INTSTS_REG);
regs              565 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c 	regs[4] = dsaf_read_dev(ppe_common, PPE_COM_COMMON_CNT_CLR_CE_REG);
regs              569 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c 		regs[5 + i] = dsaf_read_dev(ppe_common, offset);
regs              571 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c 		regs[5 + i + DSAF_TOTAL_QUEUE_NUM]
regs              574 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c 		regs[5 + i + DSAF_TOTAL_QUEUE_NUM * 2]
regs              577 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c 		regs[5 + i + DSAF_TOTAL_QUEUE_NUM * 3]
regs              583 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c 		regs[i] = 0xeeeeeeee;
regs              586 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c 	regs[525] = dsaf_read_dev(ppe_cb, PPE_CFG_TX_FIFO_THRSLD_REG);
regs              587 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c 	regs[526] = dsaf_read_dev(ppe_cb, PPE_CFG_RX_FIFO_THRSLD_REG);
regs              588 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c 	regs[527] = dsaf_read_dev(ppe_cb, PPE_CFG_RX_FIFO_PAUSE_THRSLD_REG);
regs              589 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c 	regs[528] = dsaf_read_dev(ppe_cb, PPE_CFG_RX_FIFO_SW_BP_THRSLD_REG);
regs              590 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c 	regs[529] = dsaf_read_dev(ppe_cb, PPE_CFG_PAUSE_IDLE_CNT_REG);
regs              591 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c 	regs[530] = dsaf_read_dev(ppe_cb, PPE_CFG_BUS_CTRL_REG);
regs              592 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c 	regs[531] = dsaf_read_dev(ppe_cb, PPE_CFG_TNL_TO_BE_RST_REG);
regs              593 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c 	regs[532] = dsaf_read_dev(ppe_cb, PPE_CURR_TNL_CAN_RST_REG);
regs              595 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c 	regs[533] = dsaf_read_dev(ppe_cb, PPE_CFG_XGE_MODE_REG);
regs              596 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c 	regs[534] = dsaf_read_dev(ppe_cb, PPE_CFG_MAX_FRAME_LEN_REG);
regs              597 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c 	regs[535] = dsaf_read_dev(ppe_cb, PPE_CFG_RX_PKT_MODE_REG);
regs              598 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c 	regs[536] = dsaf_read_dev(ppe_cb, PPE_CFG_RX_VLAN_TAG_REG);
regs              599 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c 	regs[537] = dsaf_read_dev(ppe_cb, PPE_CFG_TAG_GEN_REG);
regs              600 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c 	regs[538] = dsaf_read_dev(ppe_cb, PPE_CFG_PARSE_TAG_REG);
regs              601 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c 	regs[539] = dsaf_read_dev(ppe_cb, PPE_CFG_PRO_CHECK_EN_REG);
regs              603 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c 	regs[540] = dsaf_read_dev(ppe_cb, PPE_INTEN_REG);
regs              604 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c 	regs[541] = dsaf_read_dev(ppe_cb, PPE_RINT_REG);
regs              605 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c 	regs[542] = dsaf_read_dev(ppe_cb, PPE_INTSTS_REG);
regs              606 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c 	regs[543] = dsaf_read_dev(ppe_cb, PPE_CFG_RX_PKT_INT_REG);
regs              608 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c 	regs[544] = dsaf_read_dev(ppe_cb, PPE_CFG_HEAT_DECT_TIME0_REG);
regs              609 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c 	regs[545] = dsaf_read_dev(ppe_cb, PPE_CFG_HEAT_DECT_TIME1_REG);
regs              612 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c 	regs[546] = dsaf_read_dev(ppe_cb, PPE_HIS_RX_SW_PKT_CNT_REG);
regs              613 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c 	regs[547] = dsaf_read_dev(ppe_cb, PPE_HIS_RX_WR_BD_OK_PKT_CNT_REG);
regs              614 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c 	regs[548] = dsaf_read_dev(ppe_cb, PPE_HIS_RX_PKT_NO_BUF_CNT_REG);
regs              615 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c 	regs[549] = dsaf_read_dev(ppe_cb, PPE_HIS_TX_BD_CNT_REG);
regs              616 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c 	regs[550] = dsaf_read_dev(ppe_cb, PPE_HIS_TX_PKT_CNT_REG);
regs              617 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c 	regs[551] = dsaf_read_dev(ppe_cb, PPE_HIS_TX_PKT_OK_CNT_REG);
regs              618 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c 	regs[552] = dsaf_read_dev(ppe_cb, PPE_HIS_TX_PKT_EPT_CNT_REG);
regs              619 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c 	regs[553] = dsaf_read_dev(ppe_cb, PPE_HIS_TX_PKT_CS_FAIL_CNT_REG);
regs              620 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c 	regs[554] = dsaf_read_dev(ppe_cb, PPE_HIS_RX_APP_BUF_FAIL_CNT_REG);
regs              621 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c 	regs[555] = dsaf_read_dev(ppe_cb, PPE_HIS_RX_APP_BUF_WAIT_CNT_REG);
regs              622 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c 	regs[556] = dsaf_read_dev(ppe_cb, PPE_HIS_RX_PKT_DROP_FUL_CNT_REG);
regs              623 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c 	regs[557] = dsaf_read_dev(ppe_cb, PPE_HIS_RX_PKT_DROP_PRT_CNT_REG);
regs              625 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c 	regs[558] = dsaf_read_dev(ppe_cb, PPE_TNL_0_5_CNT_CLR_CE_REG);
regs              626 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c 	regs[559] = dsaf_read_dev(ppe_cb, PPE_CFG_AXI_DBG_REG);
regs              627 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c 	regs[560] = dsaf_read_dev(ppe_cb, PPE_HIS_PRO_ERR_REG);
regs              628 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c 	regs[561] = dsaf_read_dev(ppe_cb, PPE_HIS_TNL_FIFO_ERR_REG);
regs              629 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c 	regs[562] = dsaf_read_dev(ppe_cb, PPE_CURR_CFF_DATA_NUM_REG);
regs              630 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c 	regs[563] = dsaf_read_dev(ppe_cb, PPE_CURR_RX_ST_REG);
regs              631 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c 	regs[564] = dsaf_read_dev(ppe_cb, PPE_CURR_TX_ST_REG);
regs              632 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c 	regs[565] = dsaf_read_dev(ppe_cb, PPE_CURR_RX_FIFO0_REG);
regs              633 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c 	regs[566] = dsaf_read_dev(ppe_cb, PPE_CURR_RX_FIFO1_REG);
regs              634 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c 	regs[567] = dsaf_read_dev(ppe_cb, PPE_CURR_TX_FIFO0_REG);
regs              635 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c 	regs[568] = dsaf_read_dev(ppe_cb, PPE_CURR_TX_FIFO1_REG);
regs              636 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c 	regs[569] = dsaf_read_dev(ppe_cb, PPE_ECO0_REG);
regs              637 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c 	regs[570] = dsaf_read_dev(ppe_cb, PPE_ECO1_REG);
regs              638 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c 	regs[571] = dsaf_read_dev(ppe_cb, PPE_ECO2_REG);
regs              642 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c 		regs[i] = 0xeeeeeeee;
regs              998 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c 	u32 *regs = data;
regs             1006 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c 	regs[0] = dsaf_read_dev(rcb_com, RCB_COM_CFG_ENDIAN_REG);
regs             1007 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c 	regs[1] = dsaf_read_dev(rcb_com, RCB_COM_CFG_SYS_FSH_REG);
regs             1008 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c 	regs[2] = dsaf_read_dev(rcb_com, RCB_COM_CFG_INIT_FLAG_REG);
regs             1010 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c 	regs[3] = dsaf_read_dev(rcb_com, RCB_COM_CFG_PKT_REG);
regs             1011 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c 	regs[4] = dsaf_read_dev(rcb_com, RCB_COM_CFG_RINVLD_REG);
regs             1012 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c 	regs[5] = dsaf_read_dev(rcb_com, RCB_COM_CFG_FNA_REG);
regs             1013 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c 	regs[6] = dsaf_read_dev(rcb_com, RCB_COM_CFG_FA_REG);
regs             1014 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c 	regs[7] = dsaf_read_dev(rcb_com, RCB_COM_CFG_PKT_TC_BP_REG);
regs             1015 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c 	regs[8] = dsaf_read_dev(rcb_com, RCB_COM_CFG_PPE_TNL_CLKEN_REG);
regs             1017 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c 	regs[9] = dsaf_read_dev(rcb_com, RCB_COM_INTMSK_TX_PKT_REG);
regs             1018 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c 	regs[10] = dsaf_read_dev(rcb_com, RCB_COM_RINT_TX_PKT_REG);
regs             1019 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c 	regs[11] = dsaf_read_dev(rcb_com, RCB_COM_INTMASK_ECC_ERR_REG);
regs             1020 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c 	regs[12] = dsaf_read_dev(rcb_com, RCB_COM_INTSTS_ECC_ERR_REG);
regs             1021 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c 	regs[13] = dsaf_read_dev(rcb_com, RCB_COM_EBD_SRAM_ERR_REG);
regs             1022 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c 	regs[14] = dsaf_read_dev(rcb_com, RCB_COM_RXRING_ERR_REG);
regs             1023 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c 	regs[15] = dsaf_read_dev(rcb_com, RCB_COM_TXRING_ERR_REG);
regs             1024 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c 	regs[16] = dsaf_read_dev(rcb_com, RCB_COM_TX_FBD_ERR_REG);
regs             1025 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c 	regs[17] = dsaf_read_dev(rcb_com, RCB_SRAM_ECC_CHK_EN_REG);
regs             1026 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c 	regs[18] = dsaf_read_dev(rcb_com, RCB_SRAM_ECC_CHK0_REG);
regs             1027 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c 	regs[19] = dsaf_read_dev(rcb_com, RCB_SRAM_ECC_CHK1_REG);
regs             1028 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c 	regs[20] = dsaf_read_dev(rcb_com, RCB_SRAM_ECC_CHK2_REG);
regs             1029 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c 	regs[21] = dsaf_read_dev(rcb_com, RCB_SRAM_ECC_CHK3_REG);
regs             1030 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c 	regs[22] = dsaf_read_dev(rcb_com, RCB_SRAM_ECC_CHK4_REG);
regs             1031 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c 	regs[23] = dsaf_read_dev(rcb_com, RCB_SRAM_ECC_CHK5_REG);
regs             1032 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c 	regs[24] = dsaf_read_dev(rcb_com, RCB_ECC_ERR_ADDR0_REG);
regs             1033 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c 	regs[25] = dsaf_read_dev(rcb_com, RCB_ECC_ERR_ADDR3_REG);
regs             1034 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c 	regs[26] = dsaf_read_dev(rcb_com, RCB_ECC_ERR_ADDR4_REG);
regs             1035 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c 	regs[27] = dsaf_read_dev(rcb_com, RCB_ECC_ERR_ADDR5_REG);
regs             1037 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c 	regs[28] = dsaf_read_dev(rcb_com, RCB_COM_SF_CFG_INTMASK_RING);
regs             1038 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c 	regs[29] = dsaf_read_dev(rcb_com, RCB_COM_SF_CFG_RING_STS);
regs             1039 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c 	regs[30] = dsaf_read_dev(rcb_com, RCB_COM_SF_CFG_RING);
regs             1040 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c 	regs[31] = dsaf_read_dev(rcb_com, RCB_COM_SF_CFG_INTMASK_BD);
regs             1041 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c 	regs[32] = dsaf_read_dev(rcb_com, RCB_COM_SF_CFG_BD_RINT_STS);
regs             1042 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c 	regs[33] = dsaf_read_dev(rcb_com, RCB_COM_RCB_RD_BD_BUSY);
regs             1043 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c 	regs[34] = dsaf_read_dev(rcb_com, RCB_COM_RCB_FBD_CRT_EN);
regs             1044 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c 	regs[35] = dsaf_read_dev(rcb_com, RCB_COM_AXI_WR_ERR_INTMASK);
regs             1045 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c 	regs[36] = dsaf_read_dev(rcb_com, RCB_COM_AXI_ERR_STS);
regs             1046 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c 	regs[37] = dsaf_read_dev(rcb_com, RCB_COM_CHK_TX_FBD_NUM_REG);
regs             1050 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c 		regs[38 + i]
regs             1052 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c 		regs[54 + i]
regs             1059 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c 		regs[70 + i] = dsaf_read_dev(rcb_com, reg_tmp);
regs             1061 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c 	regs[76] = dsaf_read_dev(rcb_com, RCB_CFG_PKTLINE_INT_NUM_REG);
regs             1062 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c 	regs[77] = dsaf_read_dev(rcb_com, RCB_CFG_OVERTIME_INT_NUM_REG);
regs             1066 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c 		regs[i] = 0xcccccccc;
regs             1071 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c 	u32 *regs = data;
regs             1077 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c 	regs[0] = dsaf_read_dev(queue, RCB_RING_RX_RING_BASEADDR_L_REG);
regs             1078 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c 	regs[1] = dsaf_read_dev(queue, RCB_RING_RX_RING_BASEADDR_H_REG);
regs             1079 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c 	regs[2] = dsaf_read_dev(queue, RCB_RING_RX_RING_BD_NUM_REG);
regs             1080 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c 	regs[3] = dsaf_read_dev(queue, RCB_RING_RX_RING_BD_LEN_REG);
regs             1081 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c 	regs[4] = dsaf_read_dev(queue, RCB_RING_RX_RING_PKTLINE_REG);
regs             1082 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c 	regs[5] = dsaf_read_dev(queue, RCB_RING_RX_RING_TAIL_REG);
regs             1083 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c 	regs[6] = dsaf_read_dev(queue, RCB_RING_RX_RING_HEAD_REG);
regs             1084 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c 	regs[7] = dsaf_read_dev(queue, RCB_RING_RX_RING_FBDNUM_REG);
regs             1085 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c 	regs[8] = dsaf_read_dev(queue, RCB_RING_RX_RING_PKTNUM_RECORD_REG);
regs             1087 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c 	regs[9] = dsaf_read_dev(queue, RCB_RING_TX_RING_BASEADDR_L_REG);
regs             1088 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c 	regs[10] = dsaf_read_dev(queue, RCB_RING_TX_RING_BASEADDR_H_REG);
regs             1089 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c 	regs[11] = dsaf_read_dev(queue, RCB_RING_TX_RING_BD_NUM_REG);
regs             1090 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c 	regs[12] = dsaf_read_dev(queue, RCB_RING_TX_RING_BD_LEN_REG);
regs             1091 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c 	regs[13] = dsaf_read_dev(queue, RCB_RING_TX_RING_PKTLINE_REG);
regs             1092 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c 	regs[15] = dsaf_read_dev(queue, RCB_RING_TX_RING_TAIL_REG);
regs             1093 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c 	regs[16] = dsaf_read_dev(queue, RCB_RING_TX_RING_HEAD_REG);
regs             1094 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c 	regs[17] = dsaf_read_dev(queue, RCB_RING_TX_RING_FBDNUM_REG);
regs             1095 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c 	regs[18] = dsaf_read_dev(queue, RCB_RING_TX_RING_OFFSET_REG);
regs             1096 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c 	regs[19] = dsaf_read_dev(queue, RCB_RING_TX_RING_PKTNUM_RECORD_REG);
regs             1098 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c 	regs[20] = dsaf_read_dev(queue, RCB_RING_PREFETCH_EN_REG);
regs             1099 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c 	regs[21] = dsaf_read_dev(queue, RCB_RING_CFG_VF_NUM_REG);
regs             1100 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c 	regs[22] = dsaf_read_dev(queue, RCB_RING_ASID_REG);
regs             1101 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c 	regs[23] = dsaf_read_dev(queue, RCB_RING_RX_VM_REG);
regs             1102 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c 	regs[24] = dsaf_read_dev(queue, RCB_RING_T0_BE_RST);
regs             1103 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c 	regs[25] = dsaf_read_dev(queue, RCB_RING_COULD_BE_RST);
regs             1104 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c 	regs[26] = dsaf_read_dev(queue, RCB_RING_WRR_WEIGHT_REG);
regs             1106 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c 	regs[27] = dsaf_read_dev(queue, RCB_RING_INTMSK_RXWL_REG);
regs             1107 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c 	regs[28] = dsaf_read_dev(queue, RCB_RING_INTSTS_RX_RING_REG);
regs             1108 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c 	regs[29] = dsaf_read_dev(queue, RCB_RING_INTMSK_TXWL_REG);
regs             1109 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c 	regs[30] = dsaf_read_dev(queue, RCB_RING_INTSTS_TX_RING_REG);
regs             1110 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c 	regs[31] = dsaf_read_dev(queue, RCB_RING_INTMSK_RX_OVERTIME_REG);
regs             1111 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c 	regs[32] = dsaf_read_dev(queue, RCB_RING_INTSTS_RX_OVERTIME_REG);
regs             1112 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c 	regs[33] = dsaf_read_dev(queue, RCB_RING_INTMSK_TX_OVERTIME_REG);
regs             1113 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c 	regs[34] = dsaf_read_dev(queue, RCB_RING_INTSTS_TX_OVERTIME_REG);
regs             1117 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c 		regs[i] = 0xcccccc00 + ring_pair->index;
regs              500 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	u32 *regs = data;
regs              504 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	regs[0] = dsaf_read_dev(drv, XGMAC_INT_STATUS_REG);
regs              505 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	regs[1] = dsaf_read_dev(drv, XGMAC_INT_ENABLE_REG);
regs              506 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	regs[2] = dsaf_read_dev(drv, XGMAC_INT_SET_REG);
regs              507 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	regs[3] = dsaf_read_dev(drv, XGMAC_IERR_U_INFO_REG);
regs              508 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	regs[4] = dsaf_read_dev(drv, XGMAC_OVF_INFO_REG);
regs              509 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	regs[5] = dsaf_read_dev(drv, XGMAC_OVF_CNT_REG);
regs              510 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	regs[6] = dsaf_read_dev(drv, XGMAC_PORT_MODE_REG);
regs              511 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	regs[7] = dsaf_read_dev(drv, XGMAC_CLK_ENABLE_REG);
regs              512 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	regs[8] = dsaf_read_dev(drv, XGMAC_RESET_REG);
regs              513 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	regs[9] = dsaf_read_dev(drv, XGMAC_LINK_CONTROL_REG);
regs              514 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	regs[10] = dsaf_read_dev(drv, XGMAC_LINK_STATUS_REG);
regs              516 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	regs[11] = dsaf_read_dev(drv, XGMAC_SPARE_REG);
regs              517 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	regs[12] = dsaf_read_dev(drv, XGMAC_SPARE_CNT_REG);
regs              518 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	regs[13] = dsaf_read_dev(drv, XGMAC_MAC_ENABLE_REG);
regs              519 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	regs[14] = dsaf_read_dev(drv, XGMAC_MAC_CONTROL_REG);
regs              520 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	regs[15] = dsaf_read_dev(drv, XGMAC_MAC_IPG_REG);
regs              521 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	regs[16] = dsaf_read_dev(drv, XGMAC_MAC_MSG_CRC_EN_REG);
regs              522 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	regs[17] = dsaf_read_dev(drv, XGMAC_MAC_MSG_IMG_REG);
regs              523 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	regs[18] = dsaf_read_dev(drv, XGMAC_MAC_MSG_FC_CFG_REG);
regs              524 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	regs[19] = dsaf_read_dev(drv, XGMAC_MAC_MSG_TC_CFG_REG);
regs              525 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	regs[20] = dsaf_read_dev(drv, XGMAC_MAC_PAD_SIZE_REG);
regs              526 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	regs[21] = dsaf_read_dev(drv, XGMAC_MAC_MIN_PKT_SIZE_REG);
regs              527 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	regs[22] = dsaf_read_dev(drv, XGMAC_MAC_MAX_PKT_SIZE_REG);
regs              528 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	regs[23] = dsaf_read_dev(drv, XGMAC_MAC_PAUSE_CTRL_REG);
regs              529 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	regs[24] = dsaf_read_dev(drv, XGMAC_MAC_PAUSE_TIME_REG);
regs              530 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	regs[25] = dsaf_read_dev(drv, XGMAC_MAC_PAUSE_GAP_REG);
regs              531 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	regs[26] = dsaf_read_dev(drv, XGMAC_MAC_PAUSE_LOCAL_MAC_H_REG);
regs              532 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	regs[27] = dsaf_read_dev(drv, XGMAC_MAC_PAUSE_LOCAL_MAC_L_REG);
regs              533 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	regs[28] = dsaf_read_dev(drv, XGMAC_MAC_PAUSE_PEER_MAC_H_REG);
regs              534 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	regs[29] = dsaf_read_dev(drv, XGMAC_MAC_PAUSE_PEER_MAC_L_REG);
regs              535 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	regs[30] = dsaf_read_dev(drv, XGMAC_MAC_PFC_PRI_EN_REG);
regs              536 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	regs[31] = dsaf_read_dev(drv, XGMAC_MAC_1588_CTRL_REG);
regs              537 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	regs[32] = dsaf_read_dev(drv, XGMAC_MAC_1588_TX_PORT_DLY_REG);
regs              538 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	regs[33] = dsaf_read_dev(drv, XGMAC_MAC_1588_RX_PORT_DLY_REG);
regs              539 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	regs[34] = dsaf_read_dev(drv, XGMAC_MAC_1588_ASYM_DLY_REG);
regs              540 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	regs[35] = dsaf_read_dev(drv, XGMAC_MAC_1588_ADJUST_CFG_REG);
regs              542 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	regs[36] = dsaf_read_dev(drv, XGMAC_MAC_Y1731_ETH_TYPE_REG);
regs              543 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	regs[37] = dsaf_read_dev(drv, XGMAC_MAC_MIB_CONTROL_REG);
regs              544 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	regs[38] = dsaf_read_dev(drv, XGMAC_MAC_WAN_RATE_ADJUST_REG);
regs              545 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	regs[39] = dsaf_read_dev(drv, XGMAC_MAC_TX_ERR_MARK_REG);
regs              546 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	regs[40] = dsaf_read_dev(drv, XGMAC_MAC_TX_LF_RF_CONTROL_REG);
regs              547 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	regs[41] = dsaf_read_dev(drv, XGMAC_MAC_RX_LF_RF_STATUS_REG);
regs              548 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	regs[42] = dsaf_read_dev(drv, XGMAC_MAC_TX_RUNT_PKT_CNT_REG);
regs              549 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	regs[43] = dsaf_read_dev(drv, XGMAC_MAC_RX_RUNT_PKT_CNT_REG);
regs              550 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	regs[44] = dsaf_read_dev(drv, XGMAC_MAC_RX_PREAM_ERR_PKT_CNT_REG);
regs              551 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	regs[45] = dsaf_read_dev(drv, XGMAC_MAC_TX_LF_RF_TERM_PKT_CNT_REG);
regs              552 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	regs[46] = dsaf_read_dev(drv, XGMAC_MAC_TX_SN_MISMATCH_PKT_CNT_REG);
regs              553 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	regs[47] = dsaf_read_dev(drv, XGMAC_MAC_RX_ERR_MSG_CNT_REG);
regs              554 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	regs[48] = dsaf_read_dev(drv, XGMAC_MAC_RX_ERR_EFD_CNT_REG);
regs              555 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	regs[49] = dsaf_read_dev(drv, XGMAC_MAC_ERR_INFO_REG);
regs              556 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	regs[50] = dsaf_read_dev(drv, XGMAC_MAC_DBG_INFO_REG);
regs              558 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	regs[51] = dsaf_read_dev(drv, XGMAC_PCS_BASER_SYNC_THD_REG);
regs              559 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	regs[52] = dsaf_read_dev(drv, XGMAC_PCS_STATUS1_REG);
regs              560 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	regs[53] = dsaf_read_dev(drv, XGMAC_PCS_BASER_STATUS1_REG);
regs              561 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	regs[54] = dsaf_read_dev(drv, XGMAC_PCS_BASER_STATUS2_REG);
regs              562 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	regs[55] = dsaf_read_dev(drv, XGMAC_PCS_BASER_SEEDA_0_REG);
regs              563 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	regs[56] = dsaf_read_dev(drv, XGMAC_PCS_BASER_SEEDA_1_REG);
regs              564 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	regs[57] = dsaf_read_dev(drv, XGMAC_PCS_BASER_SEEDB_0_REG);
regs              565 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	regs[58] = dsaf_read_dev(drv, XGMAC_PCS_BASER_SEEDB_1_REG);
regs              566 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	regs[59] = dsaf_read_dev(drv, XGMAC_PCS_BASER_TEST_CONTROL_REG);
regs              567 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	regs[60] = dsaf_read_dev(drv, XGMAC_PCS_BASER_TEST_ERR_CNT_REG);
regs              568 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	regs[61] = dsaf_read_dev(drv, XGMAC_PCS_DBG_INFO_REG);
regs              569 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	regs[62] = dsaf_read_dev(drv, XGMAC_PCS_DBG_INFO1_REG);
regs              570 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	regs[63] = dsaf_read_dev(drv, XGMAC_PCS_DBG_INFO2_REG);
regs              571 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	regs[64] = dsaf_read_dev(drv, XGMAC_PCS_DBG_INFO3_REG);
regs              573 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	regs[65] = dsaf_read_dev(drv, XGMAC_PMA_ENABLE_REG);
regs              574 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	regs[66] = dsaf_read_dev(drv, XGMAC_PMA_CONTROL_REG);
regs              575 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	regs[67] = dsaf_read_dev(drv, XGMAC_PMA_SIGNAL_STATUS_REG);
regs              576 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	regs[68] = dsaf_read_dev(drv, XGMAC_PMA_DBG_INFO_REG);
regs              577 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	regs[69] = dsaf_read_dev(drv, XGMAC_PMA_FEC_ABILITY_REG);
regs              578 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	regs[70] = dsaf_read_dev(drv, XGMAC_PMA_FEC_CONTROL_REG);
regs              579 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	regs[71] = dsaf_read_dev(drv, XGMAC_PMA_FEC_CORR_BLOCK_CNT__REG);
regs              580 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	regs[72] = dsaf_read_dev(drv, XGMAC_PMA_FEC_UNCORR_BLOCK_CNT__REG);
regs              590 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	hns_xgmac_cpy_q(&regs[73], qtmp);
regs              592 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	hns_xgmac_cpy_q(&regs[75], qtmp);
regs              594 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	hns_xgmac_cpy_q(&regs[77], qtmp);
regs              596 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	hns_xgmac_cpy_q(&regs[79], qtmp);
regs              598 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	hns_xgmac_cpy_q(&regs[81], qtmp);
regs              600 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	hns_xgmac_cpy_q(&regs[83], qtmp);
regs              602 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	hns_xgmac_cpy_q(&regs[85], qtmp);
regs              604 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	hns_xgmac_cpy_q(&regs[87], qtmp);
regs              606 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	hns_xgmac_cpy_q(&regs[89], qtmp);
regs              608 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	hns_xgmac_cpy_q(&regs[91], qtmp);
regs              610 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	hns_xgmac_cpy_q(&regs[93], qtmp);
regs              612 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	hns_xgmac_cpy_q(&regs[95], qtmp);
regs              614 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	hns_xgmac_cpy_q(&regs[97], qtmp);
regs              616 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	hns_xgmac_cpy_q(&regs[99], qtmp);
regs              618 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	hns_xgmac_cpy_q(&regs[101], qtmp);
regs              620 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	hns_xgmac_cpy_q(&regs[103], qtmp);
regs              622 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	hns_xgmac_cpy_q(&regs[105], qtmp);
regs              624 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	hns_xgmac_cpy_q(&regs[107], qtmp);
regs              626 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	hns_xgmac_cpy_q(&regs[109], qtmp);
regs              628 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	hns_xgmac_cpy_q(&regs[111], qtmp);
regs              630 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	hns_xgmac_cpy_q(&regs[113], qtmp);
regs              632 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	hns_xgmac_cpy_q(&regs[115], qtmp);
regs              634 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	hns_xgmac_cpy_q(&regs[117], qtmp);
regs              636 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	hns_xgmac_cpy_q(&regs[119], qtmp);
regs              638 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	hns_xgmac_cpy_q(&regs[121], qtmp);
regs              640 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	hns_xgmac_cpy_q(&regs[123], qtmp);
regs              642 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	hns_xgmac_cpy_q(&regs[125], qtmp);
regs              644 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	hns_xgmac_cpy_q(&regs[127], qtmp);
regs              646 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	hns_xgmac_cpy_q(&regs[129], qtmp);
regs              648 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	hns_xgmac_cpy_q(&regs[131], qtmp);
regs              650 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	hns_xgmac_cpy_q(&regs[133], qtmp);
regs              652 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	hns_xgmac_cpy_q(&regs[135], qtmp);
regs              654 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	hns_xgmac_cpy_q(&regs[137], qtmp);
regs              656 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	hns_xgmac_cpy_q(&regs[139], qtmp);
regs              660 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	hns_xgmac_cpy_q(&regs[141], qtmp);
regs              662 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	hns_xgmac_cpy_q(&regs[143], qtmp);
regs              664 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	hns_xgmac_cpy_q(&regs[145], qtmp);
regs              666 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	hns_xgmac_cpy_q(&regs[147], qtmp);
regs              668 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	hns_xgmac_cpy_q(&regs[149], qtmp);
regs              670 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	hns_xgmac_cpy_q(&regs[151], qtmp);
regs              672 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	hns_xgmac_cpy_q(&regs[153], qtmp);
regs              674 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	hns_xgmac_cpy_q(&regs[155], qtmp);
regs              676 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	hns_xgmac_cpy_q(&regs[157], qtmp);
regs              678 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	hns_xgmac_cpy_q(&regs[159], qtmp);
regs              680 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	hns_xgmac_cpy_q(&regs[161], qtmp);
regs              682 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	hns_xgmac_cpy_q(&regs[163], qtmp);
regs              684 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	hns_xgmac_cpy_q(&regs[165], qtmp);
regs              686 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	hns_xgmac_cpy_q(&regs[167], qtmp);
regs              688 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	hns_xgmac_cpy_q(&regs[169], qtmp);
regs              690 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	hns_xgmac_cpy_q(&regs[171], qtmp);
regs              692 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	hns_xgmac_cpy_q(&regs[173], qtmp);
regs              694 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	hns_xgmac_cpy_q(&regs[175], qtmp);
regs              696 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	hns_xgmac_cpy_q(&regs[177], qtmp);
regs              698 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	hns_xgmac_cpy_q(&regs[179], qtmp);
regs              700 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	hns_xgmac_cpy_q(&regs[181], qtmp);
regs              702 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	hns_xgmac_cpy_q(&regs[183], qtmp);
regs              704 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	hns_xgmac_cpy_q(&regs[185], qtmp);
regs              706 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	hns_xgmac_cpy_q(&regs[187], qtmp);
regs              708 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	hns_xgmac_cpy_q(&regs[189], qtmp);
regs              710 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	hns_xgmac_cpy_q(&regs[191], qtmp);
regs              712 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	hns_xgmac_cpy_q(&regs[193], qtmp);
regs              714 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	hns_xgmac_cpy_q(&regs[195], qtmp);
regs              717 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	hns_xgmac_cpy_q(&regs[197], qtmp);
regs              719 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	hns_xgmac_cpy_q(&regs[199], qtmp);
regs              721 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	hns_xgmac_cpy_q(&regs[201], qtmp);
regs              723 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	hns_xgmac_cpy_q(&regs[203], qtmp);
regs              725 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	hns_xgmac_cpy_q(&regs[205], qtmp);
regs              727 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 	hns_xgmac_cpy_q(&regs[207], qtmp);
regs              731 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 		regs[i] = 0xaaaaaaaa;
regs              419 drivers/net/ethernet/ibm/emac/core.c 	const int regs = EMAC_XAHT_REGS(dev);
regs              441 drivers/net/ethernet/ibm/emac/core.c 	for (i = 0; i < regs; i++)
regs             2206 drivers/net/ethernet/ibm/emac/core.c 				  struct ethtool_regs *regs, void *buf)
regs              483 drivers/net/ethernet/ibm/emac/mal.c 	struct mal_regs *regs = (struct mal_regs *)(hdr + 1);
regs              489 drivers/net/ethernet/ibm/emac/mal.c 	regs->tx_count = mal->num_tx_chans;
regs              490 drivers/net/ethernet/ibm/emac/mal.c 	regs->rx_count = mal->num_rx_chans;
regs              492 drivers/net/ethernet/ibm/emac/mal.c 	regs->cfg = get_mal_dcrn(mal, MAL_CFG);
regs              493 drivers/net/ethernet/ibm/emac/mal.c 	regs->esr = get_mal_dcrn(mal, MAL_ESR);
regs              494 drivers/net/ethernet/ibm/emac/mal.c 	regs->ier = get_mal_dcrn(mal, MAL_IER);
regs              495 drivers/net/ethernet/ibm/emac/mal.c 	regs->tx_casr = get_mal_dcrn(mal, MAL_TXCASR);
regs              496 drivers/net/ethernet/ibm/emac/mal.c 	regs->tx_carr = get_mal_dcrn(mal, MAL_TXCARR);
regs              497 drivers/net/ethernet/ibm/emac/mal.c 	regs->tx_eobisr = get_mal_dcrn(mal, MAL_TXEOBISR);
regs              498 drivers/net/ethernet/ibm/emac/mal.c 	regs->tx_deir = get_mal_dcrn(mal, MAL_TXDEIR);
regs              499 drivers/net/ethernet/ibm/emac/mal.c 	regs->rx_casr = get_mal_dcrn(mal, MAL_RXCASR);
regs              500 drivers/net/ethernet/ibm/emac/mal.c 	regs->rx_carr = get_mal_dcrn(mal, MAL_RXCARR);
regs              501 drivers/net/ethernet/ibm/emac/mal.c 	regs->rx_eobisr = get_mal_dcrn(mal, MAL_RXEOBISR);
regs              502 drivers/net/ethernet/ibm/emac/mal.c 	regs->rx_deir = get_mal_dcrn(mal, MAL_RXDEIR);
regs              504 drivers/net/ethernet/ibm/emac/mal.c 	for (i = 0; i < regs->tx_count; ++i)
regs              505 drivers/net/ethernet/ibm/emac/mal.c 		regs->tx_ctpr[i] = get_mal_dcrn(mal, MAL_TXCTPR(i));
regs              507 drivers/net/ethernet/ibm/emac/mal.c 	for (i = 0; i < regs->rx_count; ++i) {
regs              508 drivers/net/ethernet/ibm/emac/mal.c 		regs->rx_ctpr[i] = get_mal_dcrn(mal, MAL_RXCTPR(i));
regs              509 drivers/net/ethernet/ibm/emac/mal.c 		regs->rcbs[i] = get_mal_dcrn(mal, MAL_RCBS(i));
regs              511 drivers/net/ethernet/ibm/emac/mal.c 	return regs + 1;
regs              203 drivers/net/ethernet/ibm/emac/rgmii.c 	struct rgmii_regs *regs = (struct rgmii_regs *)(hdr + 1);
regs              210 drivers/net/ethernet/ibm/emac/rgmii.c 	memcpy_fromio(regs, dev->base, sizeof(struct rgmii_regs));
regs              211 drivers/net/ethernet/ibm/emac/rgmii.c 	return regs + 1;
regs              219 drivers/net/ethernet/ibm/emac/rgmii.c 	struct resource regs;
regs              231 drivers/net/ethernet/ibm/emac/rgmii.c 	if (of_address_to_resource(np, 0, &regs)) {
regs              237 drivers/net/ethernet/ibm/emac/rgmii.c 	dev->base = (struct rgmii_regs __iomem *)ioremap(regs.start,
regs               75 drivers/net/ethernet/ibm/emac/tah.c 	struct tah_regs *regs = (struct tah_regs *)(hdr + 1);
regs               82 drivers/net/ethernet/ibm/emac/tah.c 	memcpy_fromio(regs, dev->base, sizeof(struct tah_regs));
regs               83 drivers/net/ethernet/ibm/emac/tah.c 	return regs + 1;
regs               90 drivers/net/ethernet/ibm/emac/tah.c 	struct resource regs;
regs              102 drivers/net/ethernet/ibm/emac/tah.c 	if (of_address_to_resource(np, 0, &regs)) {
regs              108 drivers/net/ethernet/ibm/emac/tah.c 	dev->base = (struct tah_regs __iomem *)ioremap(regs.start,
regs              219 drivers/net/ethernet/ibm/emac/zmii.c 	struct zmii_regs *regs = (struct zmii_regs *)(hdr + 1);
regs              226 drivers/net/ethernet/ibm/emac/zmii.c 	memcpy_fromio(regs, dev->base, sizeof(struct zmii_regs));
regs              227 drivers/net/ethernet/ibm/emac/zmii.c 	return regs + 1;
regs              234 drivers/net/ethernet/ibm/emac/zmii.c 	struct resource regs;
regs              247 drivers/net/ethernet/ibm/emac/zmii.c 	if (of_address_to_resource(np, 0, &regs)) {
regs              253 drivers/net/ethernet/ibm/emac/zmii.c 	dev->base = (struct zmii_regs __iomem *)ioremap(regs.start,
regs             2446 drivers/net/ethernet/intel/e100.c 	struct ethtool_regs *regs, void *p)
regs             2452 drivers/net/ethernet/intel/e100.c 	regs->version = (1 << 24) | nic->pdev->revision;
regs              324 drivers/net/ethernet/intel/e1000/e1000_ethtool.c static void e1000_get_regs(struct net_device *netdev, struct ethtool_regs *regs,
regs              334 drivers/net/ethernet/intel/e1000/e1000_ethtool.c 	regs->version = (1 << 24) | (hw->revision_id << 16) | hw->device_id;
regs             3286 drivers/net/ethernet/intel/e1000/e1000_main.c 	u32 regs[NUM_REGS];
regs             3287 drivers/net/ethernet/intel/e1000/e1000_main.c 	u32 *regs_buff = regs;
regs              429 drivers/net/ethernet/intel/e1000e/ethtool.c 			   struct ethtool_regs *regs, void *p)
regs              440 drivers/net/ethernet/intel/e1000e/ethtool.c 	regs->version = (1u << 24) |
regs              149 drivers/net/ethernet/intel/e1000e/netdev.c 	u32 regs[8];
regs              154 drivers/net/ethernet/intel/e1000e/netdev.c 			regs[n] = __er32(hw, E1000_RXDCTL(n));
regs              158 drivers/net/ethernet/intel/e1000e/netdev.c 			regs[n] = __er32(hw, E1000_TXDCTL(n));
regs              162 drivers/net/ethernet/intel/e1000e/netdev.c 			regs[n] = __er32(hw, E1000_TARC(n));
regs              171 drivers/net/ethernet/intel/e1000e/netdev.c 	pr_info("%-15s %08x %08x\n", rname, regs[0], regs[1]);
regs              352 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c 			   struct ethtool_regs *regs, void *p)
regs              359 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c 	regs->version = BIT(24) | (hw->revision_id << 16) | hw->device_id;
regs             1709 drivers/net/ethernet/intel/i40e/i40e_ethtool.c static void i40e_get_regs(struct net_device *netdev, struct ethtool_regs *regs,
regs             1726 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 	regs->version = 1;
regs              185 drivers/net/ethernet/intel/ice/ice_ethtool.c ice_get_regs(struct net_device *netdev, struct ethtool_regs *regs, void *p)
regs              193 drivers/net/ethernet/intel/ice/ice_ethtool.c 	regs->version = 1;
regs              456 drivers/net/ethernet/intel/igb/igb_ethtool.c 			 struct ethtool_regs *regs, void *p)
regs              465 drivers/net/ethernet/intel/igb/igb_ethtool.c 	regs->version = (1u << 24) | (hw->revision_id << 16) | hw->device_id;
regs              296 drivers/net/ethernet/intel/igb/igb_main.c 	u32 regs[8];
regs              301 drivers/net/ethernet/intel/igb/igb_main.c 			regs[n] = rd32(E1000_RDLEN(n));
regs              305 drivers/net/ethernet/intel/igb/igb_main.c 			regs[n] = rd32(E1000_RDH(n));
regs              309 drivers/net/ethernet/intel/igb/igb_main.c 			regs[n] = rd32(E1000_RDT(n));
regs              313 drivers/net/ethernet/intel/igb/igb_main.c 			regs[n] = rd32(E1000_RXDCTL(n));
regs              317 drivers/net/ethernet/intel/igb/igb_main.c 			regs[n] = rd32(E1000_RDBAL(n));
regs              321 drivers/net/ethernet/intel/igb/igb_main.c 			regs[n] = rd32(E1000_RDBAH(n));
regs              325 drivers/net/ethernet/intel/igb/igb_main.c 			regs[n] = rd32(E1000_RDBAL(n));
regs              329 drivers/net/ethernet/intel/igb/igb_main.c 			regs[n] = rd32(E1000_TDBAH(n));
regs              333 drivers/net/ethernet/intel/igb/igb_main.c 			regs[n] = rd32(E1000_TDLEN(n));
regs              337 drivers/net/ethernet/intel/igb/igb_main.c 			regs[n] = rd32(E1000_TDH(n));
regs              341 drivers/net/ethernet/intel/igb/igb_main.c 			regs[n] = rd32(E1000_TDT(n));
regs              345 drivers/net/ethernet/intel/igb/igb_main.c 			regs[n] = rd32(E1000_TXDCTL(n));
regs              353 drivers/net/ethernet/intel/igb/igb_main.c 	pr_info("%-15s %08x %08x %08x %08x\n", rname, regs[0], regs[1],
regs              354 drivers/net/ethernet/intel/igb/igb_main.c 		regs[2], regs[3]);
regs              126 drivers/net/ethernet/intel/igbvf/ethtool.c 			   struct ethtool_regs *regs, void *p)
regs              134 drivers/net/ethernet/intel/igbvf/ethtool.c 	regs->version = (1u << 24) |
regs              147 drivers/net/ethernet/intel/igc/igc_ethtool.c 			 struct ethtool_regs *regs, void *p)
regs              156 drivers/net/ethernet/intel/igc/igc_ethtool.c 	regs->version = (1u << 24) | (hw->revision_id << 16) | hw->device_id;
regs              203 drivers/net/ethernet/intel/ixgb/ixgb_ethtool.c 		   struct ethtool_regs *regs, void *p)
regs              214 drivers/net/ethernet/intel/ixgb/ixgb_ethtool.c 	regs->version = (1<<24) | hw->revision_id << 16 | hw->device_id;
regs              338 drivers/net/ethernet/intel/ixgb/ixgb_ethtool.c 	regs->len = (reg - reg_start) * sizeof(u32);
regs              523 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c 			   struct ethtool_regs *regs, void *p)
regs              532 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c 	regs->version = hw->mac.type << 24 | hw->revision_id << 16 |
regs              471 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 	u32 regs[64];
regs              476 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 			regs[i] = IXGBE_READ_REG(hw, IXGBE_SRRCTL(i));
regs              480 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 			regs[i] = IXGBE_READ_REG(hw, IXGBE_DCA_RXCTRL(i));
regs              484 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 			regs[i] = IXGBE_READ_REG(hw, IXGBE_RDLEN(i));
regs              488 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 			regs[i] = IXGBE_READ_REG(hw, IXGBE_RDH(i));
regs              492 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 			regs[i] = IXGBE_READ_REG(hw, IXGBE_RDT(i));
regs              496 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 			regs[i] = IXGBE_READ_REG(hw, IXGBE_RXDCTL(i));
regs              500 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 			regs[i] = IXGBE_READ_REG(hw, IXGBE_RDBAL(i));
regs              504 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 			regs[i] = IXGBE_READ_REG(hw, IXGBE_RDBAH(i));
regs              508 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 			regs[i] = IXGBE_READ_REG(hw, IXGBE_TDBAL(i));
regs              512 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 			regs[i] = IXGBE_READ_REG(hw, IXGBE_TDBAH(i));
regs              516 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 			regs[i] = IXGBE_READ_REG(hw, IXGBE_TDLEN(i));
regs              520 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 			regs[i] = IXGBE_READ_REG(hw, IXGBE_TDH(i));
regs              524 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 			regs[i] = IXGBE_READ_REG(hw, IXGBE_TDT(i));
regs              528 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 			regs[i] = IXGBE_READ_REG(hw, IXGBE_TXDCTL(i));
regs              544 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 			p += sprintf(p, " %08x", regs[i++]);
regs              142 drivers/net/ethernet/intel/ixgbevf/ethtool.c 			     struct ethtool_regs *regs,
regs              154 drivers/net/ethernet/intel/ixgbevf/ethtool.c 	regs->version = (1u << 24) | (hw->revision_id << 16) | hw->device_id;
regs             2392 drivers/net/ethernet/jme.c jme_get_regs(struct net_device *netdev, struct ethtool_regs *regs, void *p)
regs             2399 drivers/net/ethernet/jme.c 	regs->version = 1;
regs             3018 drivers/net/ethernet/jme.c 	jme->regs = ioremap(pci_resource_start(pdev, 0),
regs             3020 drivers/net/ethernet/jme.c 	if (!(jme->regs)) {
regs             3155 drivers/net/ethernet/jme.c 	iounmap(jme->regs);
regs             3173 drivers/net/ethernet/jme.c 	iounmap(jme->regs);
regs              404 drivers/net/ethernet/jme.h 	void __iomem            *regs;
regs             1204 drivers/net/ethernet/jme.h 	return readl(jme->regs + reg);
regs             1210 drivers/net/ethernet/jme.h 	writel(val, jme->regs + reg);
regs             1211 drivers/net/ethernet/jme.h 	reg_dbg(jme, "VAL AFTER WRITE", readl(jme->regs + reg), reg);
regs             1220 drivers/net/ethernet/jme.h 	writel(val, jme->regs + reg);
regs             1221 drivers/net/ethernet/jme.h 	readl(jme->regs + reg);
regs             1222 drivers/net/ethernet/jme.h 	reg_dbg(jme, "VAL AFTER WRITE", readl(jme->regs + reg), reg);
regs               66 drivers/net/ethernet/marvell/mvmdio.c 	void __iomem *regs;
regs              131 drivers/net/ethernet/marvell/mvmdio.c 	return !(readl(dev->regs) & MVMDIO_SMI_BUSY);
regs              157 drivers/net/ethernet/marvell/mvmdio.c 	       dev->regs);
regs              163 drivers/net/ethernet/marvell/mvmdio.c 	val = readl(dev->regs);
regs              189 drivers/net/ethernet/marvell/mvmdio.c 	       dev->regs);
regs              196 drivers/net/ethernet/marvell/mvmdio.c 	return !(readl(dev->regs + MVMDIO_XSMI_MGNT_REG) & MVMDIO_XSMI_BUSY);
regs              219 drivers/net/ethernet/marvell/mvmdio.c 	writel(regnum & GENMASK(15, 0), dev->regs + MVMDIO_XSMI_ADDR_REG);
regs              223 drivers/net/ethernet/marvell/mvmdio.c 	       dev->regs + MVMDIO_XSMI_MGNT_REG);
regs              229 drivers/net/ethernet/marvell/mvmdio.c 	if (!(readl(dev->regs + MVMDIO_XSMI_MGNT_REG) &
regs              235 drivers/net/ethernet/marvell/mvmdio.c 	return readl(dev->regs + MVMDIO_XSMI_MGNT_REG) & GENMASK(15, 0);
regs              252 drivers/net/ethernet/marvell/mvmdio.c 	writel(regnum & GENMASK(15, 0), dev->regs + MVMDIO_XSMI_ADDR_REG);
regs              256 drivers/net/ethernet/marvell/mvmdio.c 	       dev->regs + MVMDIO_XSMI_MGNT_REG);
regs              265 drivers/net/ethernet/marvell/mvmdio.c 	if (readl(dev->regs + MVMDIO_ERR_INT_CAUSE) &
regs              268 drivers/net/ethernet/marvell/mvmdio.c 				dev->regs + MVMDIO_ERR_INT_CAUSE);
regs              314 drivers/net/ethernet/marvell/mvmdio.c 	dev->regs = devm_ioremap(&pdev->dev, r->start, resource_size(r));
regs              315 drivers/net/ethernet/marvell/mvmdio.c 	if (!dev->regs) {
regs              365 drivers/net/ethernet/marvell/mvmdio.c 			dev->regs + MVMDIO_ERR_INT_MASK);
regs              384 drivers/net/ethernet/marvell/mvmdio.c 		writel(0, dev->regs + MVMDIO_ERR_INT_MASK);
regs              404 drivers/net/ethernet/marvell/mvmdio.c 		writel(0, dev->regs + MVMDIO_ERR_INT_MASK);
regs              133 drivers/net/ethernet/marvell/skge.c static void skge_get_regs(struct net_device *dev, struct ethtool_regs *regs,
regs              137 drivers/net/ethernet/marvell/skge.c 	const void __iomem *io = skge->hw->regs;
regs              139 drivers/net/ethernet/marvell/skge.c 	regs->version = 1;
regs              140 drivers/net/ethernet/marvell/skge.c 	memset(p, 0, regs->len);
regs              143 drivers/net/ethernet/marvell/skge.c 	if (regs->len > B3_RI_WTO_R1) {
regs              145 drivers/net/ethernet/marvell/skge.c 			      regs->len - B3_RI_WTO_R1);
regs              212 drivers/net/ethernet/marvell/skge.c 	memcpy_toio(hw->regs + WOL_REGS(port, WOL_MAC_ADDR),
regs             3463 drivers/net/ethernet/marvell/skge.c 		memcpy_toio(hw->regs + B2_MAC_1 + port*8, dev->dev_addr, ETH_ALEN);
regs             3464 drivers/net/ethernet/marvell/skge.c 		memcpy_toio(hw->regs + B2_MAC_2 + port*8, dev->dev_addr, ETH_ALEN);
regs             3471 drivers/net/ethernet/marvell/skge.c 		memcpy_toio(hw->regs + B2_MAC_1 + port*8, dev->dev_addr, ETH_ALEN);
regs             3472 drivers/net/ethernet/marvell/skge.c 		memcpy_toio(hw->regs + B2_MAC_2 + port*8, dev->dev_addr, ETH_ALEN);
regs             3863 drivers/net/ethernet/marvell/skge.c 	memcpy_fromio(dev->dev_addr, hw->regs + B2_MAC_1 + port*8, ETH_ALEN);
regs             3935 drivers/net/ethernet/marvell/skge.c 	hw->regs = ioremap_nocache(pci_resource_start(pdev, 0), 0x4000);
regs             3936 drivers/net/ethernet/marvell/skge.c 	if (!hw->regs) {
regs             4006 drivers/net/ethernet/marvell/skge.c 	iounmap(hw->regs);
regs             4053 drivers/net/ethernet/marvell/skge.c 	iounmap(hw->regs);
regs             2411 drivers/net/ethernet/marvell/skge.h 	void __iomem  	     *regs;
regs             2484 drivers/net/ethernet/marvell/skge.h 	return readl(hw->regs + reg);
regs             2489 drivers/net/ethernet/marvell/skge.h 	return readw(hw->regs + reg);
regs             2494 drivers/net/ethernet/marvell/skge.h 	return readb(hw->regs + reg);
regs             2499 drivers/net/ethernet/marvell/skge.h 	writel(val, hw->regs + reg);
regs             2504 drivers/net/ethernet/marvell/skge.h 	writew(val, hw->regs + reg);
regs             2509 drivers/net/ethernet/marvell/skge.h 	writeb(val, hw->regs + reg);
regs              844 drivers/net/ethernet/marvell/sky2.c 	memcpy_toio(hw->regs + WOL_REGS(port, WOL_MAC_ADDR),
regs             3819 drivers/net/ethernet/marvell/sky2.c 	memcpy_toio(hw->regs + B2_MAC_1 + port * 8,
regs             3821 drivers/net/ethernet/marvell/sky2.c 	memcpy_toio(hw->regs + B2_MAC_2 + port * 8,
regs             4230 drivers/net/ethernet/marvell/sky2.c static void sky2_get_regs(struct net_device *dev, struct ethtool_regs *regs,
regs             4234 drivers/net/ethernet/marvell/sky2.c 	const void __iomem *io = sky2->hw->regs;
regs             4237 drivers/net/ethernet/marvell/sky2.c 	regs->version = 1;
regs             4798 drivers/net/ethernet/marvell/sky2.c 		memcpy_fromio(dev->dev_addr, hw->regs + B2_MAC_1 + port * 8,
regs             5025 drivers/net/ethernet/marvell/sky2.c 	hw->regs = ioremap_nocache(pci_resource_start(pdev, 0), 0x4000);
regs             5026 drivers/net/ethernet/marvell/sky2.c 	if (!hw->regs) {
regs             5123 drivers/net/ethernet/marvell/sky2.c 	iounmap(hw->regs);
regs             5171 drivers/net/ethernet/marvell/sky2.c 	iounmap(hw->regs);
regs             2280 drivers/net/ethernet/marvell/sky2.h 	void __iomem  	     *regs;
regs             2323 drivers/net/ethernet/marvell/sky2.h 	return readl(hw->regs + reg);
regs             2328 drivers/net/ethernet/marvell/sky2.h 	return readw(hw->regs + reg);
regs             2333 drivers/net/ethernet/marvell/sky2.h 	return readb(hw->regs + reg);
regs             2338 drivers/net/ethernet/marvell/sky2.h 	writel(val, hw->regs + reg);
regs             2343 drivers/net/ethernet/marvell/sky2.h 	writew(val, hw->regs + reg);
regs             2348 drivers/net/ethernet/marvell/sky2.h 	writeb(val, hw->regs + reg);
regs             6130 drivers/net/ethernet/micrel/ksz884x.c static void netdev_get_regs(struct net_device *dev, struct ethtool_regs *regs,
regs             6141 drivers/net/ethernet/micrel/ksz884x.c 	regs->version = 0;
regs              912 drivers/net/ethernet/microchip/encx24j600.c 				struct ethtool_regs *regs, void *p)
regs              918 drivers/net/ethernet/microchip/encx24j600.c 	regs->version = 1;
regs             2009 drivers/net/ethernet/mscc/ocelot.c 		      void __iomem *regs,
regs             2023 drivers/net/ethernet/mscc/ocelot.c 	ocelot_port->regs = regs;
regs              485 drivers/net/ethernet/mscc/ocelot.h 	void __iomem *regs;
regs              549 drivers/net/ethernet/mscc/ocelot.h 		      void __iomem *regs,
regs              378 drivers/net/ethernet/mscc/ocelot_board.c 		void __iomem *regs;
regs              390 drivers/net/ethernet/mscc/ocelot_board.c 		regs = devm_ioremap_resource(&pdev->dev, res);
regs              391 drivers/net/ethernet/mscc/ocelot_board.c 		if (IS_ERR(regs))
regs              403 drivers/net/ethernet/mscc/ocelot_board.c 		err = ocelot_probe_port(ocelot, port, regs, phy);
regs               52 drivers/net/ethernet/mscc/ocelot_io.c 	return readl(port->regs + reg);
regs               58 drivers/net/ethernet/mscc/ocelot_io.c 	writel(val, port->regs + reg);
regs              105 drivers/net/ethernet/mscc/ocelot_io.c 	void __iomem *regs;
regs              108 drivers/net/ethernet/mscc/ocelot_io.c 	regs = devm_ioremap_resource(ocelot->dev, res);
regs              109 drivers/net/ethernet/mscc/ocelot_io.c 	if (IS_ERR(regs))
regs              110 drivers/net/ethernet/mscc/ocelot_io.c 		return ERR_CAST(regs);
regs              113 drivers/net/ethernet/mscc/ocelot_io.c 	return devm_regmap_init_mmio(ocelot->dev, regs,
regs             2628 drivers/net/ethernet/natsemi/natsemi.c static void get_regs(struct net_device *dev, struct ethtool_regs *regs, void *buf)
regs             2631 drivers/net/ethernet/natsemi/natsemi.c 	regs->version = NATSEMI_REGS_VER;
regs             5358 drivers/net/ethernet/neterion/s2io.c 			       struct ethtool_regs *regs, void *space)
regs             5365 drivers/net/ethernet/neterion/s2io.c 	regs->len = XENA_REG_SPACE;
regs             5366 drivers/net/ethernet/neterion/s2io.c 	regs->version = sp->pdev->subsystem_device;
regs             5368 drivers/net/ethernet/neterion/s2io.c 	for (i = 0; i < regs->len; i += 8) {
regs              128 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c 			       struct ethtool_regs *regs, void *space)
regs              137 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c 	regs->len = sizeof(struct vxge_hw_vpath_reg) * vdev->no_of_vpath;
regs              138 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c 	regs->version = vdev->pdev->subsystem_device;
regs              979 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c 			     struct ethtool_regs *regs, void *p)
regs              985 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c 	regs->version = nn_readl(nn, NFP_NET_CFG_VERSION);
regs             4559 drivers/net/ethernet/nvidia/forcedeth.c static void nv_get_regs(struct net_device *dev, struct ethtool_regs *regs, void *buf)
regs             4566 drivers/net/ethernet/nvidia/forcedeth.c 	regs->version = FORCEDETH_REGS_VER;
regs              183 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_ethtool.c 				struct ethtool_regs *regs, void *p)
regs              191 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_ethtool.c 	regs->version = 0x1000000 | (__u32)pdev->revision << 16 | pdev->device;
regs              197 drivers/net/ethernet/pensando/ionic/ionic_debugfs.c 		intr_ctrl_regset->regs = intr_ctrl_regs;
regs              101 drivers/net/ethernet/pensando/ionic/ionic_ethtool.c static void ionic_get_regs(struct net_device *netdev, struct ethtool_regs *regs,
regs              107 drivers/net/ethernet/pensando/ionic/ionic_ethtool.c 	regs->version = IONIC_DEV_CMD_REG_VERSION;
regs              284 drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c netxen_nic_get_regs(struct net_device *dev, struct ethtool_regs *regs, void *p)
regs              295 drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c 	regs->version = (1 << 24) | (adapter->ahw.revision_id << 16) |
regs             4180 drivers/net/ethernet/qlogic/qed/qed_debug.c 	const union dbg_idle_chk_reg *regs;
regs             4184 drivers/net/ethernet/qlogic/qed/qed_debug.c 	regs = &((const union dbg_idle_chk_reg *)
regs             4186 drivers/net/ethernet/qlogic/qed/qed_debug.c 	cond_regs = &regs[0].cond_reg;
regs             4187 drivers/net/ethernet/qlogic/qed/qed_debug.c 	info_regs = &regs[rule->num_cond_regs].info_reg;
regs             4317 drivers/net/ethernet/qlogic/qed/qed_debug.c 		const union dbg_idle_chk_reg *regs;
regs             4323 drivers/net/ethernet/qlogic/qed/qed_debug.c 		regs = &((const union dbg_idle_chk_reg *)
regs             4326 drivers/net/ethernet/qlogic/qed/qed_debug.c 		cond_regs = &regs[0].cond_reg;
regs             1030 drivers/net/ethernet/qlogic/qede/qede_ethtool.c 			  struct ethtool_regs *regs, void *buffer)
regs             1034 drivers/net/ethernet/qlogic/qede/qede_ethtool.c 	regs->version = 0;
regs             1035 drivers/net/ethernet/qlogic/qede/qede_ethtool.c 	memset(buffer, 0, regs->len);
regs              530 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c qlcnic_get_regs(struct net_device *dev, struct ethtool_regs *regs, void *p)
regs              542 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c 	regs->version = (QLCNIC_ETHTOOL_REGS_VER << 24) |
regs              213 drivers/net/ethernet/qualcomm/emac/emac-ethtool.c 			  struct ethtool_regs *regs, void *buff)
regs              219 drivers/net/ethernet/qualcomm/emac/emac-ethtool.c 	regs->version = EMAC_REGS_VERSION;
regs              220 drivers/net/ethernet/qualcomm/emac/emac-ethtool.c 	regs->len = EMAC_MAX_REG_SIZE * sizeof(u32);
regs              229 drivers/net/ethernet/qualcomm/qca_debug.c qcaspi_get_regs(struct net_device *dev, struct ethtool_regs *regs, void *p)
regs              235 drivers/net/ethernet/qualcomm/qca_debug.c 	regs->version = 1;
regs              323 drivers/net/ethernet/realtek/8139cp.c 	void			__iomem *regs;
regs              355 drivers/net/ethernet/realtek/8139cp.c #define cpr8(reg)	readb(cp->regs + (reg))
regs              356 drivers/net/ethernet/realtek/8139cp.c #define cpr16(reg)	readw(cp->regs + (reg))
regs              357 drivers/net/ethernet/realtek/8139cp.c #define cpr32(reg)	readl(cp->regs + (reg))
regs              358 drivers/net/ethernet/realtek/8139cp.c #define cpw8(reg,val)	writeb((val), cp->regs + (reg))
regs              359 drivers/net/ethernet/realtek/8139cp.c #define cpw16(reg,val)	writew((val), cp->regs + (reg))
regs              360 drivers/net/ethernet/realtek/8139cp.c #define cpw32(reg,val)	writel((val), cp->regs + (reg))
regs              362 drivers/net/ethernet/realtek/8139cp.c 	writeb((val), cp->regs + (reg));	\
regs              363 drivers/net/ethernet/realtek/8139cp.c 	readb(cp->regs + (reg));		\
regs              366 drivers/net/ethernet/realtek/8139cp.c 	writew((val), cp->regs + (reg));	\
regs              367 drivers/net/ethernet/realtek/8139cp.c 	readw(cp->regs + (reg));		\
regs              370 drivers/net/ethernet/realtek/8139cp.c 	writel((val), cp->regs + (reg));	\
regs              371 drivers/net/ethernet/realtek/8139cp.c 	readl(cp->regs + (reg));		\
regs             1308 drivers/net/ethernet/realtek/8139cp.c 	       readw(cp->regs + mii_2_8139_map[location]) : 0;
regs             1485 drivers/net/ethernet/realtek/8139cp.c static void cp_get_regs(struct net_device *dev, struct ethtool_regs *regs,
regs             1491 drivers/net/ethernet/realtek/8139cp.c 	if (regs->len < CP_REGS_SIZE)
regs             1494 drivers/net/ethernet/realtek/8139cp.c 	regs->version = CP_REGS_VER;
regs             1497 drivers/net/ethernet/realtek/8139cp.c 	memcpy_fromio(p, cp->regs, CP_REGS_SIZE);
regs             1764 drivers/net/ethernet/realtek/8139cp.c 	size = read_eeprom(cp->regs, 0, 8) == 0x8129 ? 256 : 128;
regs             1784 drivers/net/ethernet/realtek/8139cp.c 	addr_len = read_eeprom(cp->regs, 0, 8) == 0x8129 ? 8 : 6;
regs             1787 drivers/net/ethernet/realtek/8139cp.c 		val = read_eeprom(cp->regs, offset, addr_len);
regs             1793 drivers/net/ethernet/realtek/8139cp.c 		val = read_eeprom(cp->regs, offset, addr_len);
regs             1800 drivers/net/ethernet/realtek/8139cp.c 		val = read_eeprom(cp->regs, offset, addr_len);
regs             1823 drivers/net/ethernet/realtek/8139cp.c 	addr_len = read_eeprom(cp->regs, 0, 8) == 0x8129 ? 8 : 6;
regs             1826 drivers/net/ethernet/realtek/8139cp.c 		val = read_eeprom(cp->regs, offset, addr_len) & 0xff;
regs             1828 drivers/net/ethernet/realtek/8139cp.c 		write_eeprom(cp->regs, offset, val, addr_len);
regs             1835 drivers/net/ethernet/realtek/8139cp.c 		write_eeprom(cp->regs, offset, val, addr_len);
regs             1840 drivers/net/ethernet/realtek/8139cp.c 		val = read_eeprom(cp->regs, offset, addr_len) & 0xff00;
regs             1842 drivers/net/ethernet/realtek/8139cp.c 		write_eeprom(cp->regs, offset, val, addr_len);
regs             1889 drivers/net/ethernet/realtek/8139cp.c 	void __iomem *regs;
regs             1974 drivers/net/ethernet/realtek/8139cp.c 	regs = ioremap(pciaddr, CP_REGS_SIZE);
regs             1975 drivers/net/ethernet/realtek/8139cp.c 	if (!regs) {
regs             1982 drivers/net/ethernet/realtek/8139cp.c 	cp->regs = regs;
regs             1987 drivers/net/ethernet/realtek/8139cp.c 	addr_len = read_eeprom (regs, 0, 8) == 0x8129 ? 8 : 6;
regs             1990 drivers/net/ethernet/realtek/8139cp.c 		    cpu_to_le16(read_eeprom (regs, i + 7, addr_len));
regs             2017 drivers/net/ethernet/realtek/8139cp.c 		    regs, dev->dev_addr, pdev->irq);
regs             2030 drivers/net/ethernet/realtek/8139cp.c 	iounmap(regs);
regs             2048 drivers/net/ethernet/realtek/8139cp.c 	iounmap(cp->regs);
regs             2442 drivers/net/ethernet/realtek/8139too.c static void rtl8139_get_regs(struct net_device *dev, struct ethtool_regs *regs, void *regbuf)
regs             2451 drivers/net/ethernet/realtek/8139too.c 	regs->version = RTL_REGS_VER;
regs             2454 drivers/net/ethernet/realtek/8139too.c 	memcpy_fromio(regbuf, tp->mmio_addr, regs->len);
regs             1638 drivers/net/ethernet/realtek/r8169_main.c static void rtl8169_get_regs(struct net_device *dev, struct ethtool_regs *regs,
regs             2251 drivers/net/ethernet/realtek/r8169_main.c 				 const struct phy_reg *regs, int len)
regs             2254 drivers/net/ethernet/realtek/r8169_main.c 		rtl_writephy(tp, regs->reg, regs->val);
regs             2255 drivers/net/ethernet/realtek/r8169_main.c 		regs++;
regs             2261 drivers/net/ethernet/renesas/sh_eth.c static void sh_eth_get_regs(struct net_device *ndev, struct ethtool_regs *regs,
regs             2266 drivers/net/ethernet/renesas/sh_eth.c 	regs->version = SH_ETH_REG_DUMP_VERSION;
regs              439 drivers/net/ethernet/samsung/sxgbe/sxgbe_ethtool.c 			   struct ethtool_regs *regs, void *space)
regs              119 drivers/net/ethernet/seeq/ether3.c 	ether3_outw(priv(dev)->regs.config1 | CFG1_LOCBUFMEM, REG_CONFIG1);
regs              120 drivers/net/ethernet/seeq/ether3.c 	ether3_outw(priv(dev)->regs.command | CMD_FIFOWRITE, REG_COMMAND);
regs              133 drivers/net/ethernet/seeq/ether3.c 		ether3_outw(priv(dev)->regs.command | CMD_FIFOREAD, REG_COMMAND);
regs              135 drivers/net/ethernet/seeq/ether3.c 		ether3_outw(priv(dev)->regs.command | CMD_FIFOWRITE, REG_COMMAND);
regs              176 drivers/net/ethernet/seeq/ether3.c 	ether3_outw(priv(dev)->regs.config2 |= CFG2_CTRLO, REG_CONFIG2);
regs              187 drivers/net/ethernet/seeq/ether3.c 	if (priv(dev)->regs.config2 & CFG2_CTRLO)
regs              188 drivers/net/ethernet/seeq/ether3.c 		ether3_outw(priv(dev)->regs.config2 &= ~CFG2_CTRLO, REG_CONFIG2);
regs              273 drivers/net/ethernet/seeq/ether3.c 	priv(dev)->regs.config1 = CFG1_RECVCOMPSTAT0|CFG1_DMABURST8;
regs              274 drivers/net/ethernet/seeq/ether3.c 	priv(dev)->regs.config2 = CFG2_CTRLO|CFG2_RECVCRC|CFG2_ERRENCRC;
regs              275 drivers/net/ethernet/seeq/ether3.c 	priv(dev)->regs.command = 0;
regs              280 drivers/net/ethernet/seeq/ether3.c 	ether3_outw(priv(dev)->regs.config1 | CFG1_BUFSELSTAT0, REG_CONFIG1);
regs              285 drivers/net/ethernet/seeq/ether3.c 		priv(dev)->regs.config1 |= CFG1_RECVPROMISC;
regs              287 drivers/net/ethernet/seeq/ether3.c 		priv(dev)->regs.config1 |= CFG1_RECVSPECBRMULTI;
regs              289 drivers/net/ethernet/seeq/ether3.c 		priv(dev)->regs.config1 |= CFG1_RECVSPECBROAD;
regs              296 drivers/net/ethernet/seeq/ether3.c 	ether3_outw(priv(dev)->regs.config1 | CFG1_TRANSEND, REG_CONFIG1);
regs              301 drivers/net/ethernet/seeq/ether3.c 	ether3_outw(priv(dev)->regs.config2, REG_CONFIG2);
regs              302 drivers/net/ethernet/seeq/ether3.c 	ether3_outw(priv(dev)->regs.config1 | CFG1_LOCBUFMEM, REG_CONFIG1);
regs              303 drivers/net/ethernet/seeq/ether3.c 	ether3_outw(priv(dev)->regs.command, REG_COMMAND);
regs              326 drivers/net/ethernet/seeq/ether3.c 	priv(dev)->regs.command = 0;
regs              331 drivers/net/ethernet/seeq/ether3.c 	ether3_outw(priv(dev)->regs.config1 | CFG1_BUFSELSTAT0, REG_CONFIG1);
regs              337 drivers/net/ethernet/seeq/ether3.c 	priv(dev)->regs.config2 |= CFG2_CTRLO;
regs              340 drivers/net/ethernet/seeq/ether3.c 	ether3_outw(priv(dev)->regs.config1 | CFG1_TRANSEND, REG_CONFIG1);
regs              345 drivers/net/ethernet/seeq/ether3.c 	ether3_outw(priv(dev)->regs.config2, REG_CONFIG2);
regs              346 drivers/net/ethernet/seeq/ether3.c 	ether3_outw(priv(dev)->regs.config1 | CFG1_LOCBUFMEM, REG_CONFIG1);
regs              351 drivers/net/ethernet/seeq/ether3.c 	priv(dev)->regs.command = CMD_ENINTRX | CMD_ENINTTX;
regs              352 drivers/net/ethernet/seeq/ether3.c 	ether3_outw(priv(dev)->regs.command | CMD_RXON, REG_COMMAND);
regs              421 drivers/net/ethernet/seeq/ether3.c 	priv(dev)->regs.command = 0;
regs              440 drivers/net/ethernet/seeq/ether3.c 	priv(dev)->regs.config1 &= ~CFG1_RECVPROMISC;
regs              444 drivers/net/ethernet/seeq/ether3.c 		priv(dev)->regs.config1 |= CFG1_RECVPROMISC;
regs              446 drivers/net/ethernet/seeq/ether3.c 		priv(dev)->regs.config1 |= CFG1_RECVSPECBRMULTI;
regs              448 drivers/net/ethernet/seeq/ether3.c 		priv(dev)->regs.config1 |= CFG1_RECVSPECBROAD;
regs              450 drivers/net/ethernet/seeq/ether3.c 	ether3_outw(priv(dev)->regs.config1 | CFG1_LOCBUFMEM, REG_CONFIG1);
regs              471 drivers/net/ethernet/seeq/ether3.c 	priv(dev)->regs.config2 |= CFG2_CTRLO;
regs              473 drivers/net/ethernet/seeq/ether3.c 	ether3_outw(priv(dev)->regs.config2, REG_CONFIG2);
regs              531 drivers/net/ethernet/seeq/ether3.c 		ether3_outw(priv(dev)->regs.command | CMD_TXON, REG_COMMAND);
regs              560 drivers/net/ethernet/seeq/ether3.c 		ether3_outw(CMD_ACKINTRX | priv(dev)->regs.command, REG_COMMAND);
regs              566 drivers/net/ethernet/seeq/ether3.c 		ether3_outw(CMD_ACKINTTX | priv(dev)->regs.command, REG_COMMAND);
regs              679 drivers/net/ethernet/seeq/ether3.c 		ether3_outw(priv(dev)->regs.command | CMD_RXON, REG_COMMAND);
regs              160 drivers/net/ethernet/seeq/ether3.h     } regs;
regs              194 drivers/net/ethernet/sfc/ethtool.c 				 struct ethtool_regs *regs, void *buf)
regs              198 drivers/net/ethernet/sfc/ethtool.c 	regs->version = efx->type->revision;
regs              176 drivers/net/ethernet/sfc/falcon/ethtool.c 				 struct ethtool_regs *regs, void *buf)
regs              180 drivers/net/ethernet/sfc/falcon/ethtool.c 	regs->version = efx->type->revision;
regs               99 drivers/net/ethernet/sfc/falcon/farch.c 			     const struct ef4_farch_register_test *regs,
regs              107 drivers/net/ethernet/sfc/falcon/farch.c 		address = regs[i].address;
regs              108 drivers/net/ethernet/sfc/falcon/farch.c 		mask = imask = regs[i].mask;
regs              494 drivers/net/ethernet/sfc/falcon/nic.h 			     const struct ef4_farch_register_test *regs,
regs              101 drivers/net/ethernet/sfc/farch.c 			     const struct efx_farch_register_test *regs,
regs              109 drivers/net/ethernet/sfc/farch.c 		address = regs[i].address;
regs              110 drivers/net/ethernet/sfc/farch.c 		mask = imask = regs[i].mask;
regs              675 drivers/net/ethernet/sfc/nic.h 			     const struct efx_farch_register_test *regs,
regs               87 drivers/net/ethernet/sgi/ioc3-eth.c 	struct ioc3_ethregs *regs;
regs              408 drivers/net/ethernet/sgi/ioc3-eth.c 	       &ip->regs->emar_h);
regs              413 drivers/net/ethernet/sgi/ioc3-eth.c 	       &ip->regs->emar_l);
regs              436 drivers/net/ethernet/sgi/ioc3-eth.c 	struct ioc3_ethregs *regs = ip->regs;
regs              438 drivers/net/ethernet/sgi/ioc3-eth.c 	while (readl(&regs->micr) & MICR_BUSY)
regs              441 drivers/net/ethernet/sgi/ioc3-eth.c 	       &regs->micr);
regs              442 drivers/net/ethernet/sgi/ioc3-eth.c 	while (readl(&regs->micr) & MICR_BUSY)
regs              445 drivers/net/ethernet/sgi/ioc3-eth.c 	return readl(&regs->midr_r) & MIDR_DATA_MASK;
regs              451 drivers/net/ethernet/sgi/ioc3-eth.c 	struct ioc3_ethregs *regs = ip->regs;
regs              453 drivers/net/ethernet/sgi/ioc3-eth.c 	while (readl(&regs->micr) & MICR_BUSY)
regs              455 drivers/net/ethernet/sgi/ioc3-eth.c 	writel(data, &regs->midr_w);
regs              456 drivers/net/ethernet/sgi/ioc3-eth.c 	writel((phy << MICR_PHYADDR_SHIFT) | reg, &regs->micr);
regs              457 drivers/net/ethernet/sgi/ioc3-eth.c 	while (readl(&regs->micr) & MICR_BUSY)
regs              466 drivers/net/ethernet/sgi/ioc3-eth.c 	struct ioc3_ethregs *regs = ip->regs;
regs              468 drivers/net/ethernet/sgi/ioc3-eth.c 	dev->stats.collisions += readl(&regs->etcdc) & ETCDC_COLLCNT_MASK;
regs              615 drivers/net/ethernet/sgi/ioc3-eth.c 	writel((n_entry << 3) | ERPIR_ARM, &ip->regs->erpir);
regs              623 drivers/net/ethernet/sgi/ioc3-eth.c 	struct ioc3_ethregs *regs = ip->regs;
regs              630 drivers/net/ethernet/sgi/ioc3-eth.c 	etcir = readl(&regs->etcir);
regs              646 drivers/net/ethernet/sgi/ioc3-eth.c 		etcir = readl(&regs->etcir);		/* More pkts sent?  */
regs              710 drivers/net/ethernet/sgi/ioc3-eth.c 	struct ioc3_ethregs *regs = ip->regs;
regs              713 drivers/net/ethernet/sgi/ioc3-eth.c 	eisr = readl(&regs->eisr);
regs              714 drivers/net/ethernet/sgi/ioc3-eth.c 	writel(eisr, &regs->eisr);
regs              715 drivers/net/ethernet/sgi/ioc3-eth.c 	readl(&regs->eisr);				/* Flush */
regs              730 drivers/net/ethernet/sgi/ioc3-eth.c 	struct ioc3_ethregs *regs = ip->regs;
regs              735 drivers/net/ethernet/sgi/ioc3-eth.c 		writel(ETCSR_FD, &regs->etcsr);
regs              738 drivers/net/ethernet/sgi/ioc3-eth.c 		writel(ETCSR_HD, &regs->etcsr);
regs              741 drivers/net/ethernet/sgi/ioc3-eth.c 	writel(ip->emcr, &regs->emcr);
regs              886 drivers/net/ethernet/sgi/ioc3-eth.c 	struct ioc3_ethregs *regs = ip->regs;
regs              892 drivers/net/ethernet/sgi/ioc3-eth.c 	writel(readl(&regs->emcr) | (EMCR_BUFSIZ | EMCR_RAMPAR), &regs->emcr);
regs              893 drivers/net/ethernet/sgi/ioc3-eth.c 	readl(&regs->emcr); /* Flush */
regs              902 drivers/net/ethernet/sgi/ioc3-eth.c 		writel(readl(&regs->emcr) & ~EMCR_BUFSIZ, &regs->emcr);
regs              911 drivers/net/ethernet/sgi/ioc3-eth.c 	struct ioc3_ethregs *regs = ip->regs;
regs              915 drivers/net/ethernet/sgi/ioc3-eth.c 	writel(EMCR_RST, &regs->emcr);		/* Reset		*/
regs              916 drivers/net/ethernet/sgi/ioc3-eth.c 	readl(&regs->emcr);			/* Flush WB		*/
regs              918 drivers/net/ethernet/sgi/ioc3-eth.c 	writel(0, &regs->emcr);
regs              919 drivers/net/ethernet/sgi/ioc3-eth.c 	readl(&regs->emcr);
regs              922 drivers/net/ethernet/sgi/ioc3-eth.c 	writel(ERBAR_VAL, &regs->erbar);
regs              923 drivers/net/ethernet/sgi/ioc3-eth.c 	readl(&regs->etcdc);			/* Clear on read */
regs              924 drivers/net/ethernet/sgi/ioc3-eth.c 	writel(15, &regs->ercsr);		/* RX low watermark  */
regs              925 drivers/net/ethernet/sgi/ioc3-eth.c 	writel(0, &regs->ertr);			/* Interrupt immediately */
regs              927 drivers/net/ethernet/sgi/ioc3-eth.c 	writel(ip->ehar_h, &regs->ehar_h);
regs              928 drivers/net/ethernet/sgi/ioc3-eth.c 	writel(ip->ehar_l, &regs->ehar_l);
regs              929 drivers/net/ethernet/sgi/ioc3-eth.c 	writel(42, &regs->ersr);		/* XXX should be random */
regs              934 drivers/net/ethernet/sgi/ioc3-eth.c 	struct ioc3_ethregs *regs = ip->regs;
regs              939 drivers/net/ethernet/sgi/ioc3-eth.c 	writel(ring >> 32, &regs->erbr_h);
regs              940 drivers/net/ethernet/sgi/ioc3-eth.c 	writel(ring & 0xffffffff, &regs->erbr_l);
regs              941 drivers/net/ethernet/sgi/ioc3-eth.c 	writel(ip->rx_ci << 3, &regs->ercir);
regs              942 drivers/net/ethernet/sgi/ioc3-eth.c 	writel((ip->rx_pi << 3) | ERPIR_ARM, &regs->erpir);
regs              949 drivers/net/ethernet/sgi/ioc3-eth.c 	writel(ring >> 32, &regs->etbr_h);
regs              950 drivers/net/ethernet/sgi/ioc3-eth.c 	writel(ring & 0xffffffff, &regs->etbr_l);
regs              951 drivers/net/ethernet/sgi/ioc3-eth.c 	writel(ip->tx_pi << 7, &regs->etpir);
regs              952 drivers/net/ethernet/sgi/ioc3-eth.c 	writel(ip->tx_ci << 7, &regs->etcir);
regs              953 drivers/net/ethernet/sgi/ioc3-eth.c 	readl(&regs->etcir);				/* Flush */
regs              957 drivers/net/ethernet/sgi/ioc3-eth.c 	writel(ip->emcr, &regs->emcr);
regs              960 drivers/net/ethernet/sgi/ioc3-eth.c 	       EISR_TXEXPLICIT | EISR_TXMEMERR, &regs->eier);
regs              961 drivers/net/ethernet/sgi/ioc3-eth.c 	readl(&regs->eier);
regs              966 drivers/net/ethernet/sgi/ioc3-eth.c 	struct ioc3_ethregs *regs = ip->regs;
regs              968 drivers/net/ethernet/sgi/ioc3-eth.c 	writel(0, &regs->emcr);			/* Shutup */
regs              969 drivers/net/ethernet/sgi/ioc3-eth.c 	writel(0, &regs->eier);			/* Disable interrupts */
regs              970 drivers/net/ethernet/sgi/ioc3-eth.c 	readl(&regs->eier);			/* Flush */
regs             1231 drivers/net/ethernet/sgi/ioc3-eth.c 	ip->regs = &ioc3->eth;
regs             1476 drivers/net/ethernet/sgi/ioc3-eth.c 	writel(produce << 7, &ip->regs->etpir);		/* Fire ... */
regs             1626 drivers/net/ethernet/sgi/ioc3-eth.c 	struct ioc3_ethregs *regs = ip->regs;
regs             1634 drivers/net/ethernet/sgi/ioc3-eth.c 		writel(ip->emcr, &regs->emcr);
regs             1635 drivers/net/ethernet/sgi/ioc3-eth.c 		readl(&regs->emcr);
regs             1638 drivers/net/ethernet/sgi/ioc3-eth.c 		writel(ip->emcr, &regs->emcr);		/* Clear promiscuous. */
regs             1639 drivers/net/ethernet/sgi/ioc3-eth.c 		readl(&regs->emcr);
regs             1656 drivers/net/ethernet/sgi/ioc3-eth.c 		writel(ip->ehar_h, &regs->ehar_h);
regs             1657 drivers/net/ethernet/sgi/ioc3-eth.c 		writel(ip->ehar_l, &regs->ehar_l);
regs             1769 drivers/net/ethernet/sis/sis190.c static void sis190_get_regs(struct net_device *dev, struct ethtool_regs *regs,
regs             1776 drivers/net/ethernet/sis/sis190.c 	memcpy_fromio(p, tp->mmio_addr, regs->len);
regs             1550 drivers/net/ethernet/smsc/smc911x.c 										 struct ethtool_regs* regs, void *buf)
regs             1557 drivers/net/ethernet/smsc/smc911x.c 	regs->version = lp->version;
regs             1983 drivers/net/ethernet/smsc/smsc911x.c smsc911x_ethtool_getregs(struct net_device *dev, struct ethtool_regs *regs,
regs             1993 drivers/net/ethernet/smsc/smsc911x.c 	regs->version = pdata->idrev;
regs              252 drivers/net/ethernet/smsc/smsc9420.c smsc9420_ethtool_getregs(struct net_device *dev, struct ethtool_regs *regs,
regs              260 drivers/net/ethernet/smsc/smsc9420.c 	regs->version = smsc9420_reg_read(pd, ID_REV);
regs               29 drivers/net/ethernet/stmicro/stmmac/dwmac-dwc-qos-eth.c 	void __iomem *regs;
regs              212 drivers/net/ethernet/stmicro/stmmac/dwmac-dwc-qos-eth.c 		value = readl(eqos->regs + SDMEMCOMPPADCTRL);
regs              214 drivers/net/ethernet/stmicro/stmmac/dwmac-dwc-qos-eth.c 		writel(value, eqos->regs + SDMEMCOMPPADCTRL);
regs              218 drivers/net/ethernet/stmicro/stmmac/dwmac-dwc-qos-eth.c 		value = readl(eqos->regs + AUTO_CAL_CONFIG);
regs              220 drivers/net/ethernet/stmicro/stmmac/dwmac-dwc-qos-eth.c 		writel(value, eqos->regs + AUTO_CAL_CONFIG);
regs              222 drivers/net/ethernet/stmicro/stmmac/dwmac-dwc-qos-eth.c 		err = readl_poll_timeout_atomic(eqos->regs + AUTO_CAL_STATUS,
regs              231 drivers/net/ethernet/stmicro/stmmac/dwmac-dwc-qos-eth.c 		err = readl_poll_timeout_atomic(eqos->regs + AUTO_CAL_STATUS,
regs              241 drivers/net/ethernet/stmicro/stmmac/dwmac-dwc-qos-eth.c 		value = readl(eqos->regs + SDMEMCOMPPADCTRL);
regs              243 drivers/net/ethernet/stmicro/stmmac/dwmac-dwc-qos-eth.c 		writel(value, eqos->regs + SDMEMCOMPPADCTRL);
regs              245 drivers/net/ethernet/stmicro/stmmac/dwmac-dwc-qos-eth.c 		value = readl(eqos->regs + AUTO_CAL_CONFIG);
regs              247 drivers/net/ethernet/stmicro/stmmac/dwmac-dwc-qos-eth.c 		writel(value, eqos->regs + AUTO_CAL_CONFIG);
regs              264 drivers/net/ethernet/stmicro/stmmac/dwmac-dwc-qos-eth.c 	writel(value, eqos->regs + GMAC_1US_TIC_COUNTER);
regs              283 drivers/net/ethernet/stmicro/stmmac/dwmac-dwc-qos-eth.c 	eqos->regs = res->addr;
regs               57 drivers/net/ethernet/stmicro/stmmac/dwmac-meson8b.c 	void __iomem			*regs;
regs               77 drivers/net/ethernet/stmicro/stmmac/dwmac-meson8b.c 	data = readl(dwmac->regs + reg);
regs               81 drivers/net/ethernet/stmicro/stmmac/dwmac-meson8b.c 	writel(data, dwmac->regs + reg);
regs              145 drivers/net/ethernet/stmicro/stmmac/dwmac-meson8b.c 	clk_configs->m250_mux.reg = dwmac->regs + PRG_ETH0;
regs              155 drivers/net/ethernet/stmicro/stmmac/dwmac-meson8b.c 	clk_configs->m250_div.reg = dwmac->regs + PRG_ETH0;
regs              177 drivers/net/ethernet/stmicro/stmmac/dwmac-meson8b.c 	clk_configs->rgmii_tx_en.reg = dwmac->regs + PRG_ETH0;
regs              343 drivers/net/ethernet/stmicro/stmmac/dwmac-meson8b.c 	dwmac->regs = devm_platform_ioremap_resource(pdev, 1);
regs              344 drivers/net/ethernet/stmicro/stmmac/dwmac-meson8b.c 	if (IS_ERR(dwmac->regs)) {
regs              345 drivers/net/ethernet/stmicro/stmmac/dwmac-meson8b.c 		ret = PTR_ERR(dwmac->regs);
regs              127 drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c 	int numhashregs, regs;
regs              146 drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c 	for (regs = 0; regs < numhashregs; regs++)
regs              147 drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c 		writel(mcfilterbits[regs],
regs              148 drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c 		       ioaddr + GMAC_EXTHASH_BASE + regs * 4);
regs              418 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c 	int numhashregs, regs;
regs              434 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c 	for (regs = 0; regs < numhashregs; regs++)
regs              435 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c 		writel(mcfilterbits[regs], ioaddr + XGMAC_HASH_TABLE(regs));
regs               77 drivers/net/ethernet/stmicro/stmmac/hwif.c 	const struct stmmac_regs_off regs;
regs               94 drivers/net/ethernet/stmicro/stmmac/hwif.c 		.regs = {
regs              112 drivers/net/ethernet/stmicro/stmmac/hwif.c 		.regs = {
regs              130 drivers/net/ethernet/stmicro/stmmac/hwif.c 		.regs = {
regs              148 drivers/net/ethernet/stmicro/stmmac/hwif.c 		.regs = {
regs              166 drivers/net/ethernet/stmicro/stmmac/hwif.c 		.regs = {
regs              184 drivers/net/ethernet/stmicro/stmmac/hwif.c 		.regs = {
regs              202 drivers/net/ethernet/stmicro/stmmac/hwif.c 		.regs = {
regs              281 drivers/net/ethernet/stmicro/stmmac/hwif.c 		priv->ptpaddr = priv->ioaddr + entry->regs.ptp_off;
regs              282 drivers/net/ethernet/stmicro/stmmac/hwif.c 		priv->mmcaddr = priv->ioaddr + entry->regs.mmc_off;
regs              420 drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c 			  struct ethtool_regs *regs, void *space)
regs              286 drivers/net/ethernet/sun/cassini.c 		writel(0xFFFFFFFF, cp->regs + REG_INTR_MASK);
regs              304 drivers/net/ethernet/sun/cassini.c 			       cp->regs + REG_PLUS_INTRN_MASK(ring));
regs              308 drivers/net/ethernet/sun/cassini.c 			writel(INTRN_MASK_CLEAR_ALL, cp->regs +
regs              326 drivers/net/ethernet/sun/cassini.c 		writel(INTR_TX_DONE, cp->regs + REG_INTR_MASK);
regs              342 drivers/net/ethernet/sun/cassini.c 			writel(INTRN_MASK_RX_EN, cp->regs +
regs              366 drivers/net/ethernet/sun/cassini.c 	batch_entropy_store(readl(cp->regs + REG_ENTROPY_IV),
regs              367 drivers/net/ethernet/sun/cassini.c 			    readl(cp->regs + REG_ENTROPY_IV),
regs              379 drivers/net/ethernet/sun/cassini.c 	       cp->regs + REG_BIM_LOCAL_DEV_EN);
regs              380 drivers/net/ethernet/sun/cassini.c 	writeb(ENTROPY_RESET_STC_MODE, cp->regs + REG_ENTROPY_RESET);
regs              381 drivers/net/ethernet/sun/cassini.c 	writeb(0x55, cp->regs + REG_ENTROPY_RAND_REG);
regs              384 drivers/net/ethernet/sun/cassini.c 	if (readb(cp->regs + REG_ENTROPY_RAND_REG) == 0)
regs              401 drivers/net/ethernet/sun/cassini.c 	writel(cmd, cp->regs + REG_MIF_FRAME);
regs              406 drivers/net/ethernet/sun/cassini.c 		cmd = readl(cp->regs + REG_MIF_FRAME);
regs              423 drivers/net/ethernet/sun/cassini.c 	writel(cmd, cp->regs + REG_MIF_FRAME);
regs              428 drivers/net/ethernet/sun/cassini.c 		cmd = readl(cp->regs + REG_MIF_FRAME);
regs              664 drivers/net/ethernet/sun/cassini.c 	cfg  = readl(cp->regs + REG_MIF_CFG);
regs              677 drivers/net/ethernet/sun/cassini.c 	       cp->regs + REG_MIF_MASK);
regs              678 drivers/net/ethernet/sun/cassini.c 	writel(cfg, cp->regs + REG_MIF_CFG);
regs              746 drivers/net/ethernet/sun/cassini.c 		u32 val = readl(cp->regs + REG_PCS_MII_CTRL);
regs              758 drivers/net/ethernet/sun/cassini.c 		writel(val, cp->regs + REG_PCS_MII_CTRL);
regs              870 drivers/net/ethernet/sun/cassini.c 		       cp->regs + REG_PCS_DATAPATH_MODE);
regs              907 drivers/net/ethernet/sun/cassini.c 			       cp->regs + REG_SATURN_PCFG);
regs              948 drivers/net/ethernet/sun/cassini.c 		       cp->regs + REG_PCS_DATAPATH_MODE);
regs              952 drivers/net/ethernet/sun/cassini.c 			writel(0, cp->regs + REG_SATURN_PCFG);
regs              955 drivers/net/ethernet/sun/cassini.c 		val = readl(cp->regs + REG_PCS_MII_CTRL);
regs              957 drivers/net/ethernet/sun/cassini.c 		writel(val, cp->regs + REG_PCS_MII_CTRL);
regs              962 drivers/net/ethernet/sun/cassini.c 			if ((readl(cp->regs + REG_PCS_MII_CTRL) &
regs              968 drivers/net/ethernet/sun/cassini.c 				    readl(cp->regs + REG_PCS_STATE_MACHINE));
regs              973 drivers/net/ethernet/sun/cassini.c 		writel(0x0, cp->regs + REG_PCS_CFG);
regs              976 drivers/net/ethernet/sun/cassini.c 		val  = readl(cp->regs + REG_PCS_MII_ADVERT);
regs              980 drivers/net/ethernet/sun/cassini.c 		writel(val, cp->regs + REG_PCS_MII_ADVERT);
regs              983 drivers/net/ethernet/sun/cassini.c 		writel(PCS_CFG_EN, cp->regs + REG_PCS_CFG);
regs              987 drivers/net/ethernet/sun/cassini.c 		       cp->regs + REG_PCS_SERDES_CTRL);
regs             1001 drivers/net/ethernet/sun/cassini.c 	stat = readl(cp->regs + REG_PCS_MII_STATUS);
regs             1003 drivers/net/ethernet/sun/cassini.c 		stat = readl(cp->regs + REG_PCS_MII_STATUS);
regs             1016 drivers/net/ethernet/sun/cassini.c 	state_machine = readl(cp->regs + REG_PCS_STATE_MACHINE);
regs             1071 drivers/net/ethernet/sun/cassini.c 			stat = readl(cp->regs + REG_PCS_SERDES_STATE);
regs             1099 drivers/net/ethernet/sun/cassini.c 	u32 stat = readl(cp->regs + REG_PCS_INTR_STATUS);
regs             1109 drivers/net/ethernet/sun/cassini.c 	u32 txmac_stat = readl(cp->regs + REG_MAC_TX_STATUS);
regs             1166 drivers/net/ethernet/sun/cassini.c 		writel(i, cp->regs + REG_HP_INSTR_RAM_ADDR);
regs             1170 drivers/net/ethernet/sun/cassini.c 		writel(val, cp->regs + REG_HP_INSTR_RAM_DATA_HI);
regs             1179 drivers/net/ethernet/sun/cassini.c 		writel(val, cp->regs + REG_HP_INSTR_RAM_DATA_MID);
regs             1185 drivers/net/ethernet/sun/cassini.c 		writel(val, cp->regs + REG_HP_INSTR_RAM_DATA_LOW);
regs             1204 drivers/net/ethernet/sun/cassini.c 	writel(val, cp->regs + REG_RX_CFG);
regs             1208 drivers/net/ethernet/sun/cassini.c 	writel((desc_dma + val) >> 32, cp->regs + REG_RX_DB_HI);
regs             1209 drivers/net/ethernet/sun/cassini.c 	writel((desc_dma + val) & 0xffffffff, cp->regs + REG_RX_DB_LOW);
regs             1210 drivers/net/ethernet/sun/cassini.c 	writel(RX_DESC_RINGN_SIZE(0) - 4, cp->regs + REG_RX_KICK);
regs             1218 drivers/net/ethernet/sun/cassini.c 		writel((desc_dma + val) >> 32, cp->regs + REG_PLUS_RX_DB1_HI);
regs             1219 drivers/net/ethernet/sun/cassini.c 		writel((desc_dma + val) & 0xffffffff, cp->regs +
regs             1221 drivers/net/ethernet/sun/cassini.c 		writel(RX_DESC_RINGN_SIZE(1) - 4, cp->regs +
regs             1228 drivers/net/ethernet/sun/cassini.c 	writel((desc_dma + val) >> 32, cp->regs + REG_RX_CB_HI);
regs             1229 drivers/net/ethernet/sun/cassini.c 	writel((desc_dma + val) & 0xffffffff, cp->regs + REG_RX_CB_LOW);
regs             1236 drivers/net/ethernet/sun/cassini.c 			writel((desc_dma + val) >> 32, cp->regs +
regs             1238 drivers/net/ethernet/sun/cassini.c 			writel((desc_dma + val) & 0xffffffff, cp->regs +
regs             1247 drivers/net/ethernet/sun/cassini.c 	readl(cp->regs + REG_INTR_STATUS_ALIAS);
regs             1248 drivers/net/ethernet/sun/cassini.c 	writel(INTR_RX_DONE | INTR_RX_BUF_UNAVAIL, cp->regs + REG_ALIAS_CLEAR);
regs             1251 drivers/net/ethernet/sun/cassini.c 			readl(cp->regs + REG_PLUS_INTRN_STATUS_ALIAS(i));
regs             1256 drivers/net/ethernet/sun/cassini.c 			       cp->regs + REG_PLUS_ALIASN_CLEAR(1));
regs             1260 drivers/net/ethernet/sun/cassini.c 			       cp->regs + REG_PLUS_ALIASN_CLEAR(i));
regs             1268 drivers/net/ethernet/sun/cassini.c 	writel(val, cp->regs + REG_RX_PAUSE_THRESH);
regs             1272 drivers/net/ethernet/sun/cassini.c 		writel(i, cp->regs + REG_RX_TABLE_ADDR);
regs             1273 drivers/net/ethernet/sun/cassini.c 		writel(0x0, cp->regs + REG_RX_TABLE_DATA_LOW);
regs             1274 drivers/net/ethernet/sun/cassini.c 		writel(0x0, cp->regs + REG_RX_TABLE_DATA_MID);
regs             1275 drivers/net/ethernet/sun/cassini.c 		writel(0x0, cp->regs + REG_RX_TABLE_DATA_HI);
regs             1279 drivers/net/ethernet/sun/cassini.c 	writel(0x0, cp->regs + REG_RX_CTRL_FIFO_ADDR);
regs             1280 drivers/net/ethernet/sun/cassini.c 	writel(0x0, cp->regs + REG_RX_IPP_FIFO_ADDR);
regs             1286 drivers/net/ethernet/sun/cassini.c 	writel(val, cp->regs + REG_RX_BLANK);
regs             1288 drivers/net/ethernet/sun/cassini.c 	writel(0x0, cp->regs + REG_RX_BLANK);
regs             1298 drivers/net/ethernet/sun/cassini.c 	writel(val, cp->regs + REG_RX_AE_THRESH);
regs             1301 drivers/net/ethernet/sun/cassini.c 		writel(val, cp->regs + REG_PLUS_RX_AE1_THRESH);
regs             1307 drivers/net/ethernet/sun/cassini.c 	writel(0x0, cp->regs + REG_RX_RED);
regs             1337 drivers/net/ethernet/sun/cassini.c 	writel(val, cp->regs + REG_RX_PAGE_SIZE);
regs             1346 drivers/net/ethernet/sun/cassini.c 	writel(val, cp->regs + REG_HP_CFG);
regs             1452 drivers/net/ethernet/sun/cassini.c 	writel(cp->mac_rx_cfg & ~MAC_RX_CFG_EN, cp->regs + REG_MAC_RX_CFG);
regs             1454 drivers/net/ethernet/sun/cassini.c 		if (!(readl(cp->regs + REG_MAC_RX_CFG) & MAC_RX_CFG_EN))
regs             1464 drivers/net/ethernet/sun/cassini.c 	writel(0, cp->regs + REG_RX_CFG);
regs             1466 drivers/net/ethernet/sun/cassini.c 		if (!(readl(cp->regs + REG_RX_CFG) & RX_CFG_DMA_EN))
regs             1478 drivers/net/ethernet/sun/cassini.c 	writel(SW_RESET_RX, cp->regs + REG_SW_RESET);
regs             1480 drivers/net/ethernet/sun/cassini.c 		if (!(readl(cp->regs + REG_SW_RESET) & SW_RESET_RX))
regs             1497 drivers/net/ethernet/sun/cassini.c 	val = readl(cp->regs + REG_RX_CFG);
regs             1498 drivers/net/ethernet/sun/cassini.c 	writel(val | RX_CFG_DMA_EN, cp->regs + REG_RX_CFG);
regs             1499 drivers/net/ethernet/sun/cassini.c 	writel(MAC_RX_FRAME_RECV, cp->regs + REG_MAC_RX_MASK);
regs             1500 drivers/net/ethernet/sun/cassini.c 	val = readl(cp->regs + REG_MAC_RX_CFG);
regs             1501 drivers/net/ethernet/sun/cassini.c 	writel(val | MAC_RX_CFG_EN, cp->regs + REG_MAC_RX_CFG);
regs             1509 drivers/net/ethernet/sun/cassini.c 	u32 stat = readl(cp->regs + REG_MAC_RX_STATUS);
regs             1542 drivers/net/ethernet/sun/cassini.c 	u32 stat = readl(cp->regs + REG_MAC_CTRL_STATUS);
regs             1681 drivers/net/ethernet/sun/cassini.c 	u32 stat = readl(cp->regs + REG_MIF_STATUS);
regs             1695 drivers/net/ethernet/sun/cassini.c 	u32 stat = readl(cp->regs + REG_PCI_ERR_STATUS);
regs             1701 drivers/net/ethernet/sun/cassini.c 		   stat, readl(cp->regs + REG_BIM_DIAG));
regs             1933 drivers/net/ethernet/sun/cassini.c 		limit = readl(cp->regs + REG_TX_COMPN(ring));
regs             2198 drivers/net/ethernet/sun/cassini.c 		writel(entry, cp->regs + REG_RX_KICK);
regs             2201 drivers/net/ethernet/sun/cassini.c 		writel(entry, cp->regs + REG_PLUS_RX_KICK1);
regs             2259 drivers/net/ethernet/sun/cassini.c 		writel(cluster, cp->regs + REG_RX_KICK);
regs             2262 drivers/net/ethernet/sun/cassini.c 		writel(cluster, cp->regs + REG_PLUS_RX_KICK1);
regs             2288 drivers/net/ethernet/sun/cassini.c 		     readl(cp->regs + REG_RX_COMP_HEAD), cp->rx_new[ring]);
regs             2405 drivers/net/ethernet/sun/cassini.c 		     ring, readl(cp->regs + REG_RX_COMP_HEAD), entry);
regs             2415 drivers/net/ethernet/sun/cassini.c 		writel(last, cp->regs + REG_RX_COMP_TAIL);
regs             2417 drivers/net/ethernet/sun/cassini.c 		writel(last, cp->regs + REG_PLUS_RX_COMPN_TAIL(ring));
regs             2440 drivers/net/ethernet/sun/cassini.c 	u32 status = readl(cp->regs + REG_PLUS_INTRN_STATUS(ring));
regs             2491 drivers/net/ethernet/sun/cassini.c 	u32 status = readl(cp->regs + REG_PLUS_INTRN_STATUS(1));
regs             2543 drivers/net/ethernet/sun/cassini.c 	u32 status = readl(cp->regs + REG_INTR_STATUS);
regs             2577 drivers/net/ethernet/sun/cassini.c 	u32 status = readl(cp->regs + REG_INTR_STATUS);
regs             2612 drivers/net/ethernet/sun/cassini.c 		status = readl(cp->regs + REG_PLUS_INTRN_STATUS(1));
regs             2620 drivers/net/ethernet/sun/cassini.c 		status = readl(cp->regs + REG_PLUS_INTRN_STATUS(2));
regs             2628 drivers/net/ethernet/sun/cassini.c 		status = readl(cp->regs + REG_PLUS_INTRN_STATUS(3));
regs             2680 drivers/net/ethernet/sun/cassini.c 		   readl(cp->regs + REG_MIF_STATE_MACHINE));
regs             2683 drivers/net/ethernet/sun/cassini.c 		   readl(cp->regs + REG_MAC_STATE_MACHINE));
regs             2686 drivers/net/ethernet/sun/cassini.c 		   readl(cp->regs + REG_TX_CFG),
regs             2687 drivers/net/ethernet/sun/cassini.c 		   readl(cp->regs + REG_MAC_TX_STATUS),
regs             2688 drivers/net/ethernet/sun/cassini.c 		   readl(cp->regs + REG_MAC_TX_CFG),
regs             2689 drivers/net/ethernet/sun/cassini.c 		   readl(cp->regs + REG_TX_FIFO_PKT_CNT),
regs             2690 drivers/net/ethernet/sun/cassini.c 		   readl(cp->regs + REG_TX_FIFO_WRITE_PTR),
regs             2691 drivers/net/ethernet/sun/cassini.c 		   readl(cp->regs + REG_TX_FIFO_READ_PTR),
regs             2692 drivers/net/ethernet/sun/cassini.c 		   readl(cp->regs + REG_TX_SM_1),
regs             2693 drivers/net/ethernet/sun/cassini.c 		   readl(cp->regs + REG_TX_SM_2));
regs             2696 drivers/net/ethernet/sun/cassini.c 		   readl(cp->regs + REG_RX_CFG),
regs             2697 drivers/net/ethernet/sun/cassini.c 		   readl(cp->regs + REG_MAC_RX_STATUS),
regs             2698 drivers/net/ethernet/sun/cassini.c 		   readl(cp->regs + REG_MAC_RX_CFG));
regs             2701 drivers/net/ethernet/sun/cassini.c 		   readl(cp->regs + REG_HP_STATE_MACHINE),
regs             2702 drivers/net/ethernet/sun/cassini.c 		   readl(cp->regs + REG_HP_STATUS0),
regs             2703 drivers/net/ethernet/sun/cassini.c 		   readl(cp->regs + REG_HP_STATUS1),
regs             2704 drivers/net/ethernet/sun/cassini.c 		   readl(cp->regs + REG_HP_STATUS2));
regs             2849 drivers/net/ethernet/sun/cassini.c 	writel(entry, cp->regs + REG_TX_KICKN(ring));
regs             2884 drivers/net/ethernet/sun/cassini.c 	writel((desc_dma + off) >> 32, cp->regs + REG_TX_COMPWB_DB_HI);
regs             2885 drivers/net/ethernet/sun/cassini.c 	writel((desc_dma + off) & 0xffffffff, cp->regs + REG_TX_COMPWB_DB_LOW);
regs             2902 drivers/net/ethernet/sun/cassini.c 		writel((desc_dma + off) >> 32, cp->regs + REG_TX_DBN_HI(i));
regs             2903 drivers/net/ethernet/sun/cassini.c 		writel((desc_dma + off) & 0xffffffff, cp->regs +
regs             2909 drivers/net/ethernet/sun/cassini.c 	writel(val, cp->regs + REG_TX_CFG);
regs             2915 drivers/net/ethernet/sun/cassini.c 	writel(0x800, cp->regs + REG_TX_MAXBURST_0);
regs             2916 drivers/net/ethernet/sun/cassini.c 	writel(0x1600, cp->regs + REG_TX_MAXBURST_1);
regs             2917 drivers/net/ethernet/sun/cassini.c 	writel(0x2400, cp->regs + REG_TX_MAXBURST_2);
regs             2918 drivers/net/ethernet/sun/cassini.c 	writel(0x4800, cp->regs + REG_TX_MAXBURST_3);
regs             2920 drivers/net/ethernet/sun/cassini.c 	writel(0x800, cp->regs + REG_TX_MAXBURST_0);
regs             2921 drivers/net/ethernet/sun/cassini.c 	writel(0x800, cp->regs + REG_TX_MAXBURST_1);
regs             2922 drivers/net/ethernet/sun/cassini.c 	writel(0x800, cp->regs + REG_TX_MAXBURST_2);
regs             2923 drivers/net/ethernet/sun/cassini.c 	writel(0x800, cp->regs + REG_TX_MAXBURST_3);
regs             2948 drivers/net/ethernet/sun/cassini.c 			       cp->regs + REG_MAC_ADDRN(i*3 + 0));
regs             2950 drivers/net/ethernet/sun/cassini.c 			       cp->regs + REG_MAC_ADDRN(i*3 + 1));
regs             2952 drivers/net/ethernet/sun/cassini.c 			       cp->regs + REG_MAC_ADDRN(i*3 + 2));
regs             2965 drivers/net/ethernet/sun/cassini.c 		writel(hash_table[i], cp->regs + REG_MAC_HASH_TABLEN(i));
regs             2979 drivers/net/ethernet/sun/cassini.c 			writel(0xFFFF, cp->regs + REG_MAC_HASH_TABLEN(i));
regs             2993 drivers/net/ethernet/sun/cassini.c 	writel(0, cp->regs + REG_MAC_COLL_NORMAL);
regs             2994 drivers/net/ethernet/sun/cassini.c 	writel(0, cp->regs + REG_MAC_COLL_FIRST);
regs             2995 drivers/net/ethernet/sun/cassini.c 	writel(0, cp->regs + REG_MAC_COLL_EXCESS);
regs             2996 drivers/net/ethernet/sun/cassini.c 	writel(0, cp->regs + REG_MAC_COLL_LATE);
regs             2997 drivers/net/ethernet/sun/cassini.c 	writel(0, cp->regs + REG_MAC_TIMER_DEFER);
regs             2998 drivers/net/ethernet/sun/cassini.c 	writel(0, cp->regs + REG_MAC_ATTEMPTS_PEAK);
regs             2999 drivers/net/ethernet/sun/cassini.c 	writel(0, cp->regs + REG_MAC_RECV_FRAME);
regs             3000 drivers/net/ethernet/sun/cassini.c 	writel(0, cp->regs + REG_MAC_LEN_ERR);
regs             3001 drivers/net/ethernet/sun/cassini.c 	writel(0, cp->regs + REG_MAC_ALIGN_ERR);
regs             3002 drivers/net/ethernet/sun/cassini.c 	writel(0, cp->regs + REG_MAC_FCS_ERR);
regs             3003 drivers/net/ethernet/sun/cassini.c 	writel(0, cp->regs + REG_MAC_RX_CODE_ERR);
regs             3012 drivers/net/ethernet/sun/cassini.c 	writel(0x1, cp->regs + REG_MAC_TX_RESET);
regs             3013 drivers/net/ethernet/sun/cassini.c 	writel(0x1, cp->regs + REG_MAC_RX_RESET);
regs             3018 drivers/net/ethernet/sun/cassini.c 		if (readl(cp->regs + REG_MAC_TX_RESET) == 0)
regs             3026 drivers/net/ethernet/sun/cassini.c 		if (readl(cp->regs + REG_MAC_RX_RESET) == 0)
regs             3031 drivers/net/ethernet/sun/cassini.c 	if (readl(cp->regs + REG_MAC_TX_RESET) |
regs             3032 drivers/net/ethernet/sun/cassini.c 	    readl(cp->regs + REG_MAC_RX_RESET))
regs             3034 drivers/net/ethernet/sun/cassini.c 			   readl(cp->regs + REG_MAC_TX_RESET),
regs             3035 drivers/net/ethernet/sun/cassini.c 			   readl(cp->regs + REG_MAC_RX_RESET),
regs             3036 drivers/net/ethernet/sun/cassini.c 			   readl(cp->regs + REG_MAC_STATE_MACHINE));
regs             3048 drivers/net/ethernet/sun/cassini.c 	writel(CAWR_RR_DIS, cp->regs + REG_CAWR);
regs             3055 drivers/net/ethernet/sun/cassini.c 		writel(INF_BURST_EN, cp->regs + REG_INF_BURST);
regs             3058 drivers/net/ethernet/sun/cassini.c 	writel(0x1BF0, cp->regs + REG_MAC_SEND_PAUSE);
regs             3060 drivers/net/ethernet/sun/cassini.c 	writel(0x00, cp->regs + REG_MAC_IPG0);
regs             3061 drivers/net/ethernet/sun/cassini.c 	writel(0x08, cp->regs + REG_MAC_IPG1);
regs             3062 drivers/net/ethernet/sun/cassini.c 	writel(0x04, cp->regs + REG_MAC_IPG2);
regs             3065 drivers/net/ethernet/sun/cassini.c 	writel(0x40, cp->regs + REG_MAC_SLOT_TIME);
regs             3068 drivers/net/ethernet/sun/cassini.c 	writel(ETH_ZLEN + 4, cp->regs + REG_MAC_FRAMESIZE_MIN);
regs             3077 drivers/net/ethernet/sun/cassini.c 	       cp->regs + REG_MAC_FRAMESIZE_MAX);
regs             3084 drivers/net/ethernet/sun/cassini.c 		writel(0x41, cp->regs + REG_MAC_PA_SIZE);
regs             3086 drivers/net/ethernet/sun/cassini.c 		writel(0x07, cp->regs + REG_MAC_PA_SIZE);
regs             3087 drivers/net/ethernet/sun/cassini.c 	writel(0x04, cp->regs + REG_MAC_JAM_SIZE);
regs             3088 drivers/net/ethernet/sun/cassini.c 	writel(0x10, cp->regs + REG_MAC_ATTEMPT_LIMIT);
regs             3089 drivers/net/ethernet/sun/cassini.c 	writel(0x8808, cp->regs + REG_MAC_CTRL_TYPE);
regs             3091 drivers/net/ethernet/sun/cassini.c 	writel((e[5] | (e[4] << 8)) & 0x3ff, cp->regs + REG_MAC_RANDOM_SEED);
regs             3093 drivers/net/ethernet/sun/cassini.c 	writel(0, cp->regs + REG_MAC_ADDR_FILTER0);
regs             3094 drivers/net/ethernet/sun/cassini.c 	writel(0, cp->regs + REG_MAC_ADDR_FILTER1);
regs             3095 drivers/net/ethernet/sun/cassini.c 	writel(0, cp->regs + REG_MAC_ADDR_FILTER2);
regs             3096 drivers/net/ethernet/sun/cassini.c 	writel(0, cp->regs + REG_MAC_ADDR_FILTER2_1_MASK);
regs             3097 drivers/net/ethernet/sun/cassini.c 	writel(0, cp->regs + REG_MAC_ADDR_FILTER0_MASK);
regs             3101 drivers/net/ethernet/sun/cassini.c 		writel(0x0, cp->regs + REG_MAC_ADDRN(i));
regs             3103 drivers/net/ethernet/sun/cassini.c 	writel((e[4] << 8) | e[5], cp->regs + REG_MAC_ADDRN(0));
regs             3104 drivers/net/ethernet/sun/cassini.c 	writel((e[2] << 8) | e[3], cp->regs + REG_MAC_ADDRN(1));
regs             3105 drivers/net/ethernet/sun/cassini.c 	writel((e[0] << 8) | e[1], cp->regs + REG_MAC_ADDRN(2));
regs             3107 drivers/net/ethernet/sun/cassini.c 	writel(0x0001, cp->regs + REG_MAC_ADDRN(42));
regs             3108 drivers/net/ethernet/sun/cassini.c 	writel(0xc200, cp->regs + REG_MAC_ADDRN(43));
regs             3109 drivers/net/ethernet/sun/cassini.c 	writel(0x0180, cp->regs + REG_MAC_ADDRN(44));
regs             3121 drivers/net/ethernet/sun/cassini.c 	writel(MAC_TX_FRAME_XMIT, cp->regs + REG_MAC_TX_MASK);
regs             3122 drivers/net/ethernet/sun/cassini.c 	writel(MAC_RX_FRAME_RECV, cp->regs + REG_MAC_RX_MASK);
regs             3127 drivers/net/ethernet/sun/cassini.c 	writel(0xffffffff, cp->regs + REG_MAC_CTRL_MASK);
regs             3179 drivers/net/ethernet/sun/cassini.c 	void __iomem *p = cp->regs + REG_EXPANSION_ROM_RUN_START;
regs             3195 drivers/net/ethernet/sun/cassini.c 	       cp->regs + REG_BIM_LOCAL_DEV_EN);
regs             3356 drivers/net/ethernet/sun/cassini.c 	writel(0, cp->regs + REG_BIM_LOCAL_DEV_EN);
regs             3417 drivers/net/ethernet/sun/cassini.c 	cp->tx_fifo_size = readl(cp->regs + REG_TX_FIFO_SIZE) * 64;
regs             3431 drivers/net/ethernet/sun/cassini.c 	cfg = readl(cp->regs + REG_MIF_CFG);
regs             3439 drivers/net/ethernet/sun/cassini.c 	writel(PCS_DATAPATH_MODE_MII, cp->regs + REG_PCS_DATAPATH_MODE);
regs             3456 drivers/net/ethernet/sun/cassini.c 	       readl(cp->regs + REG_MIF_STATE_MACHINE));
regs             3476 drivers/net/ethernet/sun/cassini.c 	val = readl(cp->regs + REG_TX_CFG) | TX_CFG_DMA_EN;
regs             3477 drivers/net/ethernet/sun/cassini.c 	writel(val, cp->regs + REG_TX_CFG);
regs             3478 drivers/net/ethernet/sun/cassini.c 	val = readl(cp->regs + REG_RX_CFG) | RX_CFG_DMA_EN;
regs             3479 drivers/net/ethernet/sun/cassini.c 	writel(val, cp->regs + REG_RX_CFG);
regs             3482 drivers/net/ethernet/sun/cassini.c 	val = readl(cp->regs + REG_MAC_TX_CFG) | MAC_TX_CFG_EN;
regs             3483 drivers/net/ethernet/sun/cassini.c 	writel(val, cp->regs + REG_MAC_TX_CFG);
regs             3484 drivers/net/ethernet/sun/cassini.c 	val = readl(cp->regs + REG_MAC_RX_CFG) | MAC_RX_CFG_EN;
regs             3485 drivers/net/ethernet/sun/cassini.c 	writel(val, cp->regs + REG_MAC_RX_CFG);
regs             3489 drivers/net/ethernet/sun/cassini.c 		val = readl(cp->regs + REG_MAC_TX_CFG);
regs             3497 drivers/net/ethernet/sun/cassini.c 		val = readl(cp->regs + REG_MAC_RX_CFG);
regs             3502 drivers/net/ethernet/sun/cassini.c 					   readl(cp->regs + REG_MIF_STATE_MACHINE),
regs             3503 drivers/net/ethernet/sun/cassini.c 					   readl(cp->regs + REG_MAC_STATE_MACHINE));
regs             3511 drivers/net/ethernet/sun/cassini.c 		   readl(cp->regs + REG_MIF_STATE_MACHINE),
regs             3512 drivers/net/ethernet/sun/cassini.c 		   readl(cp->regs + REG_MAC_STATE_MACHINE));
regs             3516 drivers/net/ethernet/sun/cassini.c 	writel(RX_DESC_RINGN_SIZE(0) - 4, cp->regs + REG_RX_KICK);
regs             3517 drivers/net/ethernet/sun/cassini.c 	writel(0, cp->regs + REG_RX_COMP_TAIL);
regs             3522 drivers/net/ethernet/sun/cassini.c 			       cp->regs + REG_PLUS_RX_KICK1);
regs             3525 drivers/net/ethernet/sun/cassini.c 			writel(0, cp->regs + REG_PLUS_RX_COMPN_TAIL(i));
regs             3533 drivers/net/ethernet/sun/cassini.c 	u32 val = readl(cp->regs + REG_PCS_MII_LPA);
regs             3606 drivers/net/ethernet/sun/cassini.c 		val = readl(cp->regs + REG_PCS_MII_CTRL);
regs             3627 drivers/net/ethernet/sun/cassini.c 	writel(val, cp->regs + REG_MAC_XIF_CFG);
regs             3649 drivers/net/ethernet/sun/cassini.c 		       cp->regs + REG_MAC_TX_CFG);
regs             3651 drivers/net/ethernet/sun/cassini.c 		val = readl(cp->regs + REG_MAC_RX_CFG);
regs             3654 drivers/net/ethernet/sun/cassini.c 		       cp->regs + REG_MAC_RX_CFG);
regs             3656 drivers/net/ethernet/sun/cassini.c 		writel(0x200, cp->regs + REG_MAC_SLOT_TIME);
regs             3663 drivers/net/ethernet/sun/cassini.c 		writel(val, cp->regs + REG_MAC_TX_CFG);
regs             3668 drivers/net/ethernet/sun/cassini.c 		val = readl(cp->regs + REG_MAC_RX_CFG);
regs             3679 drivers/net/ethernet/sun/cassini.c 		       cp->regs + REG_MAC_RX_CFG);
regs             3680 drivers/net/ethernet/sun/cassini.c 		writel(0x40, cp->regs + REG_MAC_SLOT_TIME);
regs             3696 drivers/net/ethernet/sun/cassini.c 	val = readl(cp->regs + REG_MAC_CTRL_CFG);
regs             3704 drivers/net/ethernet/sun/cassini.c 	writel(val, cp->regs + REG_MAC_CTRL_CFG);
regs             3734 drivers/net/ethernet/sun/cassini.c 	writel(BIM_LOCAL_DEV_SOFT_0, cp->regs + REG_BIM_LOCAL_DEV_EN);
regs             3753 drivers/net/ethernet/sun/cassini.c 		       cp->regs + REG_SW_RESET);
regs             3755 drivers/net/ethernet/sun/cassini.c 		writel(SW_RESET_TX | SW_RESET_RX, cp->regs + REG_SW_RESET);
regs             3763 drivers/net/ethernet/sun/cassini.c 		u32 val = readl(cp->regs + REG_SW_RESET);
regs             3773 drivers/net/ethernet/sun/cassini.c 	       BIM_CFG_RTA_INTR_ENABLE, cp->regs + REG_BIM_CFG);
regs             3781 drivers/net/ethernet/sun/cassini.c 			       PCI_ERR_BIM_DMA_READ), cp->regs +
regs             3787 drivers/net/ethernet/sun/cassini.c 	writel(PCS_DATAPATH_MODE_MII, cp->regs + REG_PCS_DATAPATH_MODE);
regs             3800 drivers/net/ethernet/sun/cassini.c 	val = readl(cp->regs + REG_TX_CFG);
regs             3802 drivers/net/ethernet/sun/cassini.c 	writel(val, cp->regs + REG_TX_CFG);
regs             3804 drivers/net/ethernet/sun/cassini.c 	val = readl(cp->regs + REG_RX_CFG);
regs             3806 drivers/net/ethernet/sun/cassini.c 	writel(val, cp->regs + REG_RX_CFG);
regs             4136 drivers/net/ethernet/sun/cassini.c 		readl(cp->regs + REG_MIF_STATUS); /* avoid dups */
regs             4146 drivers/net/ethernet/sun/cassini.c 	if ((readl(cp->regs + REG_MAC_TX_STATUS) & MAC_TX_FRAME_XMIT) == 0) {
regs             4147 drivers/net/ethernet/sun/cassini.c 		u32 val = readl(cp->regs + REG_MAC_STATE_MACHINE);
regs             4159 drivers/net/ethernet/sun/cassini.c 		val  = readl(cp->regs + REG_TX_FIFO_PKT_CNT);
regs             4160 drivers/net/ethernet/sun/cassini.c 		wptr = readl(cp->regs + REG_TX_FIFO_WRITE_PTR);
regs             4161 drivers/net/ethernet/sun/cassini.c 		rptr = readl(cp->regs + REG_TX_FIFO_READ_PTR);
regs             4395 drivers/net/ethernet/sun/cassini.c 			val= readl(cp->regs+ethtool_register_table[i].offsets);
regs             4424 drivers/net/ethernet/sun/cassini.c 	  readl(cp->regs + REG_MAC_FCS_ERR) & 0xffff;
regs             4426 drivers/net/ethernet/sun/cassini.c 		readl(cp->regs + REG_MAC_ALIGN_ERR) &0xffff;
regs             4428 drivers/net/ethernet/sun/cassini.c 		readl(cp->regs + REG_MAC_LEN_ERR) & 0xffff;
regs             4430 drivers/net/ethernet/sun/cassini.c 	tmp = (readl(cp->regs + REG_MAC_COLL_EXCESS) & 0xffff) +
regs             4431 drivers/net/ethernet/sun/cassini.c 		(readl(cp->regs + REG_MAC_COLL_LATE) & 0xffff);
regs             4434 drivers/net/ethernet/sun/cassini.c 	  tmp + (readl(cp->regs + REG_MAC_COLL_NORMAL) & 0xffff);
regs             4437 drivers/net/ethernet/sun/cassini.c 		readl(cp->regs + REG_MAC_COLL_EXCESS);
regs             4438 drivers/net/ethernet/sun/cassini.c 	stats[N_TX_RINGS].collisions += readl(cp->regs + REG_MAC_COLL_EXCESS) +
regs             4439 drivers/net/ethernet/sun/cassini.c 		readl(cp->regs + REG_MAC_COLL_LATE);
regs             4485 drivers/net/ethernet/sun/cassini.c 	rxcfg = readl(cp->regs + REG_MAC_RX_CFG);
regs             4488 drivers/net/ethernet/sun/cassini.c 	writel(rxcfg & ~MAC_RX_CFG_EN, cp->regs + REG_MAC_RX_CFG);
regs             4489 drivers/net/ethernet/sun/cassini.c 	while (readl(cp->regs + REG_MAC_RX_CFG) & MAC_RX_CFG_EN) {
regs             4498 drivers/net/ethernet/sun/cassini.c 	writel(rxcfg & ~MAC_RX_CFG_EN, cp->regs + REG_MAC_RX_CFG);
regs             4499 drivers/net/ethernet/sun/cassini.c 	while (readl(cp->regs + REG_MAC_RX_CFG) & MAC_RX_CFG_HASH_FILTER_EN) {
regs             4508 drivers/net/ethernet/sun/cassini.c 	writel(rxcfg, cp->regs + REG_MAC_RX_CFG);
regs             4573 drivers/net/ethernet/sun/cassini.c 			bmcr = readl(cp->regs + REG_PCS_MII_CTRL);
regs             4698 drivers/net/ethernet/sun/cassini.c static void cas_get_regs(struct net_device *dev, struct ethtool_regs *regs,
regs             4702 drivers/net/ethernet/sun/cassini.c 	regs->version = 0;
regs             4704 drivers/net/ethernet/sun/cassini.c 	cas_read_regs(cp, p, regs->len / sizeof(u32));
regs             5054 drivers/net/ethernet/sun/cassini.c 	cp->regs = pci_iomap(pdev, 0, casreg_len);
regs             5055 drivers/net/ethernet/sun/cassini.c 	if (!cp->regs) {
regs             5116 drivers/net/ethernet/sun/cassini.c 	i = readl(cp->regs + REG_BIM_CFG);
regs             5141 drivers/net/ethernet/sun/cassini.c 	pci_iounmap(pdev, cp->regs);
regs             5189 drivers/net/ethernet/sun/cassini.c 	pci_iounmap(pdev, cp->regs);
regs             2746 drivers/net/ethernet/sun/cassini.h 	void __iomem *regs;
regs               72 drivers/net/ethernet/sun/niu.c #define nr64(reg)		readq(np->regs + (reg))
regs               73 drivers/net/ethernet/sun/niu.c #define nw64(reg, val)		writeq((val), np->regs + (reg))
regs               78 drivers/net/ethernet/sun/niu.c #define nr64_ipp(reg)		readq(np->regs + np->ipp_off + (reg))
regs               79 drivers/net/ethernet/sun/niu.c #define nw64_ipp(reg, val)	writeq((val), np->regs + np->ipp_off + (reg))
regs               81 drivers/net/ethernet/sun/niu.c #define nr64_pcs(reg)		readq(np->regs + np->pcs_off + (reg))
regs               82 drivers/net/ethernet/sun/niu.c #define nw64_pcs(reg, val)	writeq((val), np->regs + np->pcs_off + (reg))
regs               84 drivers/net/ethernet/sun/niu.c #define nr64_xpcs(reg)		readq(np->regs + np->xpcs_off + (reg))
regs               85 drivers/net/ethernet/sun/niu.c #define nw64_xpcs(reg, val)	writeq((val), np->regs + np->xpcs_off + (reg))
regs             8976 drivers/net/ethernet/sun/niu.c 		np->mac_regs = np->regs + XMAC_PORT0_OFF;
regs             8983 drivers/net/ethernet/sun/niu.c 		np->mac_regs = np->regs + XMAC_PORT1_OFF;
regs             8990 drivers/net/ethernet/sun/niu.c 		np->mac_regs = np->regs + BMAC_PORT2_OFF;
regs             8997 drivers/net/ethernet/sun/niu.c 		np->mac_regs = np->regs + BMAC_PORT3_OFF;
regs             9795 drivers/net/ethernet/sun/niu.c 	np->regs = pci_ioremap_bar(pdev, 0);
regs             9796 drivers/net/ethernet/sun/niu.c 	if (!np->regs) {
regs             9833 drivers/net/ethernet/sun/niu.c 	if (np->regs) {
regs             9834 drivers/net/ethernet/sun/niu.c 		iounmap(np->regs);
regs             9835 drivers/net/ethernet/sun/niu.c 		np->regs = NULL;
regs             9861 drivers/net/ethernet/sun/niu.c 		if (np->regs) {
regs             9862 drivers/net/ethernet/sun/niu.c 			iounmap(np->regs);
regs             9863 drivers/net/ethernet/sun/niu.c 			np->regs = NULL;
regs             10038 drivers/net/ethernet/sun/niu.c 	np->regs = of_ioremap(&op->resource[1], 0,
regs             10041 drivers/net/ethernet/sun/niu.c 	if (!np->regs) {
regs             10099 drivers/net/ethernet/sun/niu.c 	if (np->regs) {
regs             10100 drivers/net/ethernet/sun/niu.c 		of_iounmap(&op->resource[1], np->regs,
regs             10102 drivers/net/ethernet/sun/niu.c 		np->regs = NULL;
regs             10136 drivers/net/ethernet/sun/niu.c 		if (np->regs) {
regs             10137 drivers/net/ethernet/sun/niu.c 			of_iounmap(&op->resource[1], np->regs,
regs             10139 drivers/net/ethernet/sun/niu.c 			np->regs = NULL;
regs             3242 drivers/net/ethernet/sun/niu.h 	void __iomem			*regs;
regs              127 drivers/net/ethernet/sun/sungem.c 	writel(cmd, gp->regs + MIF_FRAME);
regs              130 drivers/net/ethernet/sun/sungem.c 		cmd = readl(gp->regs + MIF_FRAME);
regs              165 drivers/net/ethernet/sun/sungem.c 	writel(cmd, gp->regs + MIF_FRAME);
regs              168 drivers/net/ethernet/sun/sungem.c 		cmd = readl(gp->regs + MIF_FRAME);
regs              190 drivers/net/ethernet/sun/sungem.c 	writel(GREG_STAT_TXDONE, gp->regs + GREG_IMASK);
regs              196 drivers/net/ethernet/sun/sungem.c 	writel(GREG_STAT_NAPI | GREG_STAT_TXDONE, gp->regs + GREG_IMASK);
regs              197 drivers/net/ethernet/sun/sungem.c 	(void)readl(gp->regs + GREG_IMASK); /* write posting */
regs              258 drivers/net/ethernet/sun/sungem.c 	u32 pcs_istat = readl(gp->regs + PCS_ISTAT);
regs              274 drivers/net/ethernet/sun/sungem.c 	pcs_miistat = readl(gp->regs + PCS_MIISTAT);
regs              277 drivers/net/ethernet/sun/sungem.c 			(readl(gp->regs + PCS_MIISTAT) &
regs              308 drivers/net/ethernet/sun/sungem.c 	u32 txmac_stat = readl(gp->regs + MAC_TXSTAT);
regs              367 drivers/net/ethernet/sun/sungem.c 	writel(MAC_RXRST_CMD, gp->regs + MAC_RXRST);
regs              369 drivers/net/ethernet/sun/sungem.c 		if (!(readl(gp->regs + MAC_RXRST) & MAC_RXRST_CMD))
regs              379 drivers/net/ethernet/sun/sungem.c 	       gp->regs + MAC_RXCFG);
regs              381 drivers/net/ethernet/sun/sungem.c 		if (!(readl(gp->regs + MAC_RXCFG) & MAC_RXCFG_ENAB))
regs              391 drivers/net/ethernet/sun/sungem.c 	writel(0, gp->regs + RXDMA_CFG);
regs              393 drivers/net/ethernet/sun/sungem.c 		if (!(readl(gp->regs + RXDMA_CFG) & RXDMA_CFG_ENABLE))
regs              406 drivers/net/ethernet/sun/sungem.c 	       gp->regs + GREG_SWRST);
regs              408 drivers/net/ethernet/sun/sungem.c 		if (!(readl(gp->regs + GREG_SWRST) & GREG_SWRST_RXRST))
regs              433 drivers/net/ethernet/sun/sungem.c 	writel(desc_dma >> 32, gp->regs + RXDMA_DBHI);
regs              434 drivers/net/ethernet/sun/sungem.c 	writel(desc_dma & 0xffffffff, gp->regs + RXDMA_DBLOW);
regs              435 drivers/net/ethernet/sun/sungem.c 	writel(RX_RING_SIZE - 4, gp->regs + RXDMA_KICK);
regs              438 drivers/net/ethernet/sun/sungem.c 	writel(val, gp->regs + RXDMA_CFG);
regs              439 drivers/net/ethernet/sun/sungem.c 	if (readl(gp->regs + GREG_BIFCFG) & GREG_BIFCFG_M66EN)
regs              442 drivers/net/ethernet/sun/sungem.c 		       gp->regs + RXDMA_BLANK);
regs              446 drivers/net/ethernet/sun/sungem.c 		       gp->regs + RXDMA_BLANK);
regs              449 drivers/net/ethernet/sun/sungem.c 	writel(val, gp->regs + RXDMA_PTHRESH);
regs              450 drivers/net/ethernet/sun/sungem.c 	val = readl(gp->regs + RXDMA_CFG);
regs              451 drivers/net/ethernet/sun/sungem.c 	writel(val | RXDMA_CFG_ENABLE, gp->regs + RXDMA_CFG);
regs              452 drivers/net/ethernet/sun/sungem.c 	writel(MAC_RXSTAT_RCV, gp->regs + MAC_RXMASK);
regs              453 drivers/net/ethernet/sun/sungem.c 	val = readl(gp->regs + MAC_RXCFG);
regs              454 drivers/net/ethernet/sun/sungem.c 	writel(val | MAC_RXCFG_ENAB, gp->regs + MAC_RXCFG);
regs              461 drivers/net/ethernet/sun/sungem.c 	u32 rxmac_stat = readl(gp->regs + MAC_RXSTAT);
regs              469 drivers/net/ethernet/sun/sungem.c 		u32 smac = readl(gp->regs + MAC_SMACHINE);
regs              495 drivers/net/ethernet/sun/sungem.c 	u32 mac_cstat = readl(gp->regs + MAC_CSTAT);
regs              516 drivers/net/ethernet/sun/sungem.c 	u32 mif_status = readl(gp->regs + MIF_STATUS);
regs              529 drivers/net/ethernet/sun/sungem.c 	u32 pci_estat = readl(gp->regs + GREG_PCIESTAT);
regs              739 drivers/net/ethernet/sun/sungem.c 		writel(kick, gp->regs + RXDMA_KICK);
regs              765 drivers/net/ethernet/sun/sungem.c 			gp->dev->name, readl(gp->regs + RXDMA_DONE), gp->rx_new);
regs              769 drivers/net/ethernet/sun/sungem.c 	done = readl(gp->regs + RXDMA_DONE);
regs              791 drivers/net/ethernet/sun/sungem.c 			done = readl(gp->regs + RXDMA_DONE);
regs              925 drivers/net/ethernet/sun/sungem.c 		gp->status = readl(gp->regs + GREG_STAT);
regs              940 drivers/net/ethernet/sun/sungem.c 		u32 gem_status = readl(gp->regs + GREG_STAT);
regs              980 drivers/net/ethernet/sun/sungem.c 		   readl(gp->regs + TXDMA_CFG),
regs              981 drivers/net/ethernet/sun/sungem.c 		   readl(gp->regs + MAC_TXSTAT),
regs              982 drivers/net/ethernet/sun/sungem.c 		   readl(gp->regs + MAC_TXCFG));
regs              984 drivers/net/ethernet/sun/sungem.c 		   readl(gp->regs + RXDMA_CFG),
regs              985 drivers/net/ethernet/sun/sungem.c 		   readl(gp->regs + MAC_RXSTAT),
regs              986 drivers/net/ethernet/sun/sungem.c 		   readl(gp->regs + MAC_RXCFG));
regs             1113 drivers/net/ethernet/sun/sungem.c 	writel(gp->tx_new, gp->regs + TXDMA_KICK);
regs             1124 drivers/net/ethernet/sun/sungem.c 	val = readl(gp->regs + PCS_MIICTRL);
regs             1126 drivers/net/ethernet/sun/sungem.c 	writel(val, gp->regs + PCS_MIICTRL);
regs             1129 drivers/net/ethernet/sun/sungem.c 	while (readl(gp->regs + PCS_MIICTRL) & PCS_MIICTRL_RST) {
regs             1145 drivers/net/ethernet/sun/sungem.c 	val = readl(gp->regs + PCS_CFG);
regs             1147 drivers/net/ethernet/sun/sungem.c 	writel(val, gp->regs + PCS_CFG);
regs             1152 drivers/net/ethernet/sun/sungem.c 	val = readl(gp->regs + PCS_MIIADV);
regs             1155 drivers/net/ethernet/sun/sungem.c 	writel(val, gp->regs + PCS_MIIADV);
regs             1160 drivers/net/ethernet/sun/sungem.c 	val = readl(gp->regs + PCS_MIICTRL);
regs             1163 drivers/net/ethernet/sun/sungem.c 	writel(val, gp->regs + PCS_MIICTRL);
regs             1165 drivers/net/ethernet/sun/sungem.c 	val = readl(gp->regs + PCS_CFG);
regs             1167 drivers/net/ethernet/sun/sungem.c 	writel(val, gp->regs + PCS_CFG);
regs             1173 drivers/net/ethernet/sun/sungem.c 	val = readl(gp->regs + PCS_SCTRL);
regs             1178 drivers/net/ethernet/sun/sungem.c 	writel(val, gp->regs + PCS_SCTRL);
regs             1189 drivers/net/ethernet/sun/sungem.c 	writel(0xffffffff, gp->regs + GREG_IMASK);
regs             1193 drivers/net/ethernet/sun/sungem.c 	       gp->regs + GREG_SWRST);
regs             1199 drivers/net/ethernet/sun/sungem.c 		val = readl(gp->regs + GREG_SWRST);
regs             1216 drivers/net/ethernet/sun/sungem.c 	val = readl(gp->regs + TXDMA_CFG);
regs             1217 drivers/net/ethernet/sun/sungem.c 	writel(val | TXDMA_CFG_ENABLE, gp->regs + TXDMA_CFG);
regs             1218 drivers/net/ethernet/sun/sungem.c 	val = readl(gp->regs + RXDMA_CFG);
regs             1219 drivers/net/ethernet/sun/sungem.c 	writel(val | RXDMA_CFG_ENABLE, gp->regs + RXDMA_CFG);
regs             1220 drivers/net/ethernet/sun/sungem.c 	val = readl(gp->regs + MAC_TXCFG);
regs             1221 drivers/net/ethernet/sun/sungem.c 	writel(val | MAC_TXCFG_ENAB, gp->regs + MAC_TXCFG);
regs             1222 drivers/net/ethernet/sun/sungem.c 	val = readl(gp->regs + MAC_RXCFG);
regs             1223 drivers/net/ethernet/sun/sungem.c 	writel(val | MAC_RXCFG_ENAB, gp->regs + MAC_RXCFG);
regs             1225 drivers/net/ethernet/sun/sungem.c 	(void) readl(gp->regs + MAC_RXCFG);
regs             1230 drivers/net/ethernet/sun/sungem.c 	writel(RX_RING_SIZE - 4, gp->regs + RXDMA_KICK);
regs             1240 drivers/net/ethernet/sun/sungem.c 	val = readl(gp->regs + TXDMA_CFG);
regs             1241 drivers/net/ethernet/sun/sungem.c 	writel(val & ~TXDMA_CFG_ENABLE, gp->regs + TXDMA_CFG);
regs             1242 drivers/net/ethernet/sun/sungem.c 	val = readl(gp->regs + RXDMA_CFG);
regs             1243 drivers/net/ethernet/sun/sungem.c 	writel(val & ~RXDMA_CFG_ENABLE, gp->regs + RXDMA_CFG);
regs             1244 drivers/net/ethernet/sun/sungem.c 	val = readl(gp->regs + MAC_TXCFG);
regs             1245 drivers/net/ethernet/sun/sungem.c 	writel(val & ~MAC_TXCFG_ENAB, gp->regs + MAC_TXCFG);
regs             1246 drivers/net/ethernet/sun/sungem.c 	val = readl(gp->regs + MAC_RXCFG);
regs             1247 drivers/net/ethernet/sun/sungem.c 	writel(val & ~MAC_RXCFG_ENAB, gp->regs + MAC_RXCFG);
regs             1249 drivers/net/ethernet/sun/sungem.c 	(void) readl(gp->regs + MAC_RXCFG);
regs             1365 drivers/net/ethernet/sun/sungem.c 		u32 pcs_lpa = readl(gp->regs + PCS_MIILP);
regs             1387 drivers/net/ethernet/sun/sungem.c 	writel(val, gp->regs + MAC_TXCFG);
regs             1401 drivers/net/ethernet/sun/sungem.c 	writel(val, gp->regs + MAC_XIFCFG);
regs             1407 drivers/net/ethernet/sun/sungem.c 		val = readl(gp->regs + MAC_TXCFG);
regs             1408 drivers/net/ethernet/sun/sungem.c 		writel(val | MAC_TXCFG_TCE, gp->regs + MAC_TXCFG);
regs             1410 drivers/net/ethernet/sun/sungem.c 		val = readl(gp->regs + MAC_RXCFG);
regs             1411 drivers/net/ethernet/sun/sungem.c 		writel(val | MAC_RXCFG_RCE, gp->regs + MAC_RXCFG);
regs             1413 drivers/net/ethernet/sun/sungem.c 		val = readl(gp->regs + MAC_TXCFG);
regs             1414 drivers/net/ethernet/sun/sungem.c 		writel(val & ~MAC_TXCFG_TCE, gp->regs + MAC_TXCFG);
regs             1416 drivers/net/ethernet/sun/sungem.c 		val = readl(gp->regs + MAC_RXCFG);
regs             1417 drivers/net/ethernet/sun/sungem.c 		writel(val & ~MAC_RXCFG_RCE, gp->regs + MAC_RXCFG);
regs             1422 drivers/net/ethernet/sun/sungem.c  		u32 pcs_lpa = readl(gp->regs + PCS_MIILP);
regs             1429 drivers/net/ethernet/sun/sungem.c 		writel(512, gp->regs + MAC_STIME);
regs             1431 drivers/net/ethernet/sun/sungem.c 		writel(64, gp->regs + MAC_STIME);
regs             1432 drivers/net/ethernet/sun/sungem.c 	val = readl(gp->regs + MAC_MCCFG);
regs             1437 drivers/net/ethernet/sun/sungem.c 	writel(val, gp->regs + MAC_MCCFG);
regs             1514 drivers/net/ethernet/sun/sungem.c 		u32 val = readl(gp->regs + PCS_MIISTAT);
regs             1517 drivers/net/ethernet/sun/sungem.c 			val = readl(gp->regs + PCS_MIISTAT);
regs             1679 drivers/net/ethernet/sun/sungem.c 	mifcfg = readl(gp->regs + MIF_CFG);
regs             1681 drivers/net/ethernet/sun/sungem.c 	writel(mifcfg, gp->regs + MIF_CFG);
regs             1721 drivers/net/ethernet/sun/sungem.c 		writel(val, gp->regs + PCS_DMODE);
regs             1757 drivers/net/ethernet/sun/sungem.c 	writel(val, gp->regs + TXDMA_CFG);
regs             1759 drivers/net/ethernet/sun/sungem.c 	writel(desc_dma >> 32, gp->regs + TXDMA_DBHI);
regs             1760 drivers/net/ethernet/sun/sungem.c 	writel(desc_dma & 0xffffffff, gp->regs + TXDMA_DBLOW);
regs             1763 drivers/net/ethernet/sun/sungem.c 	writel(0, gp->regs + TXDMA_KICK);
regs             1767 drivers/net/ethernet/sun/sungem.c 	writel(val, gp->regs + RXDMA_CFG);
regs             1769 drivers/net/ethernet/sun/sungem.c 	writel(desc_dma >> 32, gp->regs + RXDMA_DBHI);
regs             1770 drivers/net/ethernet/sun/sungem.c 	writel(desc_dma & 0xffffffff, gp->regs + RXDMA_DBLOW);
regs             1772 drivers/net/ethernet/sun/sungem.c 	writel(RX_RING_SIZE - 4, gp->regs + RXDMA_KICK);
regs             1776 drivers/net/ethernet/sun/sungem.c 	writel(val, gp->regs + RXDMA_PTHRESH);
regs             1778 drivers/net/ethernet/sun/sungem.c 	if (readl(gp->regs + GREG_BIFCFG) & GREG_BIFCFG_M66EN)
regs             1781 drivers/net/ethernet/sun/sungem.c 		       gp->regs + RXDMA_BLANK);
regs             1785 drivers/net/ethernet/sun/sungem.c 		       gp->regs + RXDMA_BLANK);
regs             1796 drivers/net/ethernet/sun/sungem.c 			writel(0xffff, gp->regs + MAC_HASH0 + (i << 2));
regs             1813 drivers/net/ethernet/sun/sungem.c 			writel(hash_table[i], gp->regs + MAC_HASH0 + (i << 2));
regs             1824 drivers/net/ethernet/sun/sungem.c 	writel(0x1bf0, gp->regs + MAC_SNDPAUSE);
regs             1826 drivers/net/ethernet/sun/sungem.c 	writel(0x00, gp->regs + MAC_IPG0);
regs             1827 drivers/net/ethernet/sun/sungem.c 	writel(0x08, gp->regs + MAC_IPG1);
regs             1828 drivers/net/ethernet/sun/sungem.c 	writel(0x04, gp->regs + MAC_IPG2);
regs             1829 drivers/net/ethernet/sun/sungem.c 	writel(0x40, gp->regs + MAC_STIME);
regs             1830 drivers/net/ethernet/sun/sungem.c 	writel(0x40, gp->regs + MAC_MINFSZ);
regs             1833 drivers/net/ethernet/sun/sungem.c 	writel(0x20000000 | (gp->rx_buf_sz + 4), gp->regs + MAC_MAXFSZ);
regs             1835 drivers/net/ethernet/sun/sungem.c 	writel(0x07, gp->regs + MAC_PASIZE);
regs             1836 drivers/net/ethernet/sun/sungem.c 	writel(0x04, gp->regs + MAC_JAMSIZE);
regs             1837 drivers/net/ethernet/sun/sungem.c 	writel(0x10, gp->regs + MAC_ATTLIM);
regs             1838 drivers/net/ethernet/sun/sungem.c 	writel(0x8808, gp->regs + MAC_MCTYPE);
regs             1840 drivers/net/ethernet/sun/sungem.c 	writel((e[5] | (e[4] << 8)) & 0x3ff, gp->regs + MAC_RANDSEED);
regs             1842 drivers/net/ethernet/sun/sungem.c 	writel((e[4] << 8) | e[5], gp->regs + MAC_ADDR0);
regs             1843 drivers/net/ethernet/sun/sungem.c 	writel((e[2] << 8) | e[3], gp->regs + MAC_ADDR1);
regs             1844 drivers/net/ethernet/sun/sungem.c 	writel((e[0] << 8) | e[1], gp->regs + MAC_ADDR2);
regs             1846 drivers/net/ethernet/sun/sungem.c 	writel(0, gp->regs + MAC_ADDR3);
regs             1847 drivers/net/ethernet/sun/sungem.c 	writel(0, gp->regs + MAC_ADDR4);
regs             1848 drivers/net/ethernet/sun/sungem.c 	writel(0, gp->regs + MAC_ADDR5);
regs             1850 drivers/net/ethernet/sun/sungem.c 	writel(0x0001, gp->regs + MAC_ADDR6);
regs             1851 drivers/net/ethernet/sun/sungem.c 	writel(0xc200, gp->regs + MAC_ADDR7);
regs             1852 drivers/net/ethernet/sun/sungem.c 	writel(0x0180, gp->regs + MAC_ADDR8);
regs             1854 drivers/net/ethernet/sun/sungem.c 	writel(0, gp->regs + MAC_AFILT0);
regs             1855 drivers/net/ethernet/sun/sungem.c 	writel(0, gp->regs + MAC_AFILT1);
regs             1856 drivers/net/ethernet/sun/sungem.c 	writel(0, gp->regs + MAC_AFILT2);
regs             1857 drivers/net/ethernet/sun/sungem.c 	writel(0, gp->regs + MAC_AF21MSK);
regs             1858 drivers/net/ethernet/sun/sungem.c 	writel(0, gp->regs + MAC_AF0MSK);
regs             1864 drivers/net/ethernet/sun/sungem.c 	writel(0, gp->regs + MAC_NCOLL);
regs             1865 drivers/net/ethernet/sun/sungem.c 	writel(0, gp->regs + MAC_FASUCC);
regs             1866 drivers/net/ethernet/sun/sungem.c 	writel(0, gp->regs + MAC_ECOLL);
regs             1867 drivers/net/ethernet/sun/sungem.c 	writel(0, gp->regs + MAC_LCOLL);
regs             1868 drivers/net/ethernet/sun/sungem.c 	writel(0, gp->regs + MAC_DTIMER);
regs             1869 drivers/net/ethernet/sun/sungem.c 	writel(0, gp->regs + MAC_PATMPS);
regs             1870 drivers/net/ethernet/sun/sungem.c 	writel(0, gp->regs + MAC_RFCTR);
regs             1871 drivers/net/ethernet/sun/sungem.c 	writel(0, gp->regs + MAC_LERR);
regs             1872 drivers/net/ethernet/sun/sungem.c 	writel(0, gp->regs + MAC_AERR);
regs             1873 drivers/net/ethernet/sun/sungem.c 	writel(0, gp->regs + MAC_FCSERR);
regs             1874 drivers/net/ethernet/sun/sungem.c 	writel(0, gp->regs + MAC_RXCVERR);
regs             1879 drivers/net/ethernet/sun/sungem.c 	writel(0, gp->regs + MAC_TXCFG);
regs             1880 drivers/net/ethernet/sun/sungem.c 	writel(gp->mac_rx_cfg, gp->regs + MAC_RXCFG);
regs             1881 drivers/net/ethernet/sun/sungem.c 	writel(0, gp->regs + MAC_MCCFG);
regs             1882 drivers/net/ethernet/sun/sungem.c 	writel(0, gp->regs + MAC_XIFCFG);
regs             1888 drivers/net/ethernet/sun/sungem.c 	writel(MAC_TXSTAT_XMIT, gp->regs + MAC_TXMASK);
regs             1889 drivers/net/ethernet/sun/sungem.c 	writel(MAC_RXSTAT_RCV, gp->regs + MAC_RXMASK);
regs             1894 drivers/net/ethernet/sun/sungem.c 	writel(0xffffffff, gp->regs + MAC_MCMASK);
regs             1899 drivers/net/ethernet/sun/sungem.c 		writel(0, gp->regs + WOL_WAKECSR);
regs             1934 drivers/net/ethernet/sun/sungem.c        	writel(cfg, gp->regs + GREG_CFG);
regs             1939 drivers/net/ethernet/sun/sungem.c 	if (!(readl(gp->regs + GREG_CFG) & GREG_CFG_IBURST)) {
regs             1942 drivers/net/ethernet/sun/sungem.c 		writel(cfg, gp->regs + GREG_CFG);
regs             1957 drivers/net/ethernet/sun/sungem.c 		gp->tx_fifo_sz = readl(gp->regs + TXDMA_FSZ) * 64;
regs             1958 drivers/net/ethernet/sun/sungem.c 		gp->rx_fifo_sz = readl(gp->regs + RXDMA_FSZ) * 64;
regs             1961 drivers/net/ethernet/sun/sungem.c 		mif_cfg = readl(gp->regs + MIF_CFG);
regs             1964 drivers/net/ethernet/sun/sungem.c 		writel(mif_cfg, gp->regs + MIF_CFG);
regs             1965 drivers/net/ethernet/sun/sungem.c 		writel(PCS_DMODE_MGM, gp->regs + PCS_DMODE);
regs             1966 drivers/net/ethernet/sun/sungem.c 		writel(MAC_XIFCFG_OE, gp->regs + MAC_XIFCFG);
regs             1980 drivers/net/ethernet/sun/sungem.c 	mif_cfg = readl(gp->regs + MIF_CFG);
regs             2001 drivers/net/ethernet/sun/sungem.c 		writel(mif_cfg, gp->regs + MIF_CFG);
regs             2005 drivers/net/ethernet/sun/sungem.c 		writel(mif_cfg, gp->regs + MIF_CFG);
regs             2036 drivers/net/ethernet/sun/sungem.c 	gp->tx_fifo_sz = readl(gp->regs + TXDMA_FSZ) * 64;
regs             2037 drivers/net/ethernet/sun/sungem.c 	gp->rx_fifo_sz = readl(gp->regs + RXDMA_FSZ) * 64;
regs             2094 drivers/net/ethernet/sun/sungem.c 	mifcfg = readl(gp->regs + MIF_CFG);
regs             2096 drivers/net/ethernet/sun/sungem.c 	writel(mifcfg, gp->regs + MIF_CFG);
regs             2104 drivers/net/ethernet/sun/sungem.c 		       gp->regs + MAC_RXCFG);
regs             2105 drivers/net/ethernet/sun/sungem.c 		writel((e[4] << 8) | e[5], gp->regs + WOL_MATCH0);
regs             2106 drivers/net/ethernet/sun/sungem.c 		writel((e[2] << 8) | e[3], gp->regs + WOL_MATCH1);
regs             2107 drivers/net/ethernet/sun/sungem.c 		writel((e[0] << 8) | e[1], gp->regs + WOL_MATCH2);
regs             2109 drivers/net/ethernet/sun/sungem.c 		writel(WOL_MCOUNT_N | WOL_MCOUNT_M, gp->regs + WOL_MCOUNT);
regs             2111 drivers/net/ethernet/sun/sungem.c 		if ((readl(gp->regs + MAC_XIFCFG) & MAC_XIFCFG_GMII) == 0)
regs             2113 drivers/net/ethernet/sun/sungem.c 		writel(csr, gp->regs + WOL_WAKECSR);
regs             2115 drivers/net/ethernet/sun/sungem.c 		writel(0, gp->regs + MAC_RXCFG);
regs             2116 drivers/net/ethernet/sun/sungem.c 		(void)readl(gp->regs + MAC_RXCFG);
regs             2124 drivers/net/ethernet/sun/sungem.c 	writel(0, gp->regs + MAC_TXCFG);
regs             2125 drivers/net/ethernet/sun/sungem.c 	writel(0, gp->regs + MAC_XIFCFG);
regs             2126 drivers/net/ethernet/sun/sungem.c 	writel(0, gp->regs + TXDMA_CFG);
regs             2127 drivers/net/ethernet/sun/sungem.c 	writel(0, gp->regs + RXDMA_CFG);
regs             2131 drivers/net/ethernet/sun/sungem.c 		writel(MAC_TXRST_CMD, gp->regs + MAC_TXRST);
regs             2132 drivers/net/ethernet/sun/sungem.c 		writel(MAC_RXRST_CMD, gp->regs + MAC_RXRST);
regs             2140 drivers/net/ethernet/sun/sungem.c 		writel(mifcfg | MIF_CFG_BBMODE, gp->regs + MIF_CFG);
regs             2141 drivers/net/ethernet/sun/sungem.c 		writel(0, gp->regs + MIF_BBCLK);
regs             2142 drivers/net/ethernet/sun/sungem.c 		writel(0, gp->regs + MIF_BBDATA);
regs             2143 drivers/net/ethernet/sun/sungem.c 		writel(0, gp->regs + MIF_BBOENAB);
regs             2144 drivers/net/ethernet/sun/sungem.c 		writel(MAC_XIFCFG_GMII | MAC_XIFCFG_LBCK, gp->regs + MAC_XIFCFG);
regs             2145 drivers/net/ethernet/sun/sungem.c 		(void) readl(gp->regs + MAC_XIFCFG);
regs             2410 drivers/net/ethernet/sun/sungem.c 	dev->stats.rx_crc_errors += readl(gp->regs + MAC_FCSERR);
regs             2411 drivers/net/ethernet/sun/sungem.c 	writel(0, gp->regs + MAC_FCSERR);
regs             2413 drivers/net/ethernet/sun/sungem.c 	dev->stats.rx_frame_errors += readl(gp->regs + MAC_AERR);
regs             2414 drivers/net/ethernet/sun/sungem.c 	writel(0, gp->regs + MAC_AERR);
regs             2416 drivers/net/ethernet/sun/sungem.c 	dev->stats.rx_length_errors += readl(gp->regs + MAC_LERR);
regs             2417 drivers/net/ethernet/sun/sungem.c 	writel(0, gp->regs + MAC_LERR);
regs             2419 drivers/net/ethernet/sun/sungem.c 	dev->stats.tx_aborted_errors += readl(gp->regs + MAC_ECOLL);
regs             2421 drivers/net/ethernet/sun/sungem.c 		(readl(gp->regs + MAC_ECOLL) + readl(gp->regs + MAC_LCOLL));
regs             2422 drivers/net/ethernet/sun/sungem.c 	writel(0, gp->regs + MAC_ECOLL);
regs             2423 drivers/net/ethernet/sun/sungem.c 	writel(0, gp->regs + MAC_LCOLL);
regs             2447 drivers/net/ethernet/sun/sungem.c 	writel((e[4] << 8) | e[5], gp->regs + MAC_ADDR0);
regs             2448 drivers/net/ethernet/sun/sungem.c 	writel((e[2] << 8) | e[3], gp->regs + MAC_ADDR1);
regs             2449 drivers/net/ethernet/sun/sungem.c 	writel((e[0] << 8) | e[1], gp->regs + MAC_ADDR2);
regs             2467 drivers/net/ethernet/sun/sungem.c 	rxcfg = readl(gp->regs + MAC_RXCFG);
regs             2474 drivers/net/ethernet/sun/sungem.c 	writel(rxcfg & ~MAC_RXCFG_ENAB, gp->regs + MAC_RXCFG);
regs             2475 drivers/net/ethernet/sun/sungem.c 	while (readl(gp->regs + MAC_RXCFG) & MAC_RXCFG_ENAB) {
regs             2484 drivers/net/ethernet/sun/sungem.c 	writel(rxcfg, gp->regs + MAC_RXCFG);
regs             2821 drivers/net/ethernet/sun/sungem.c 		iounmap(gp->regs);
regs             2924 drivers/net/ethernet/sun/sungem.c 	gp->regs = ioremap(gemreg_base, gemreg_len);
regs             2925 drivers/net/ethernet/sun/sungem.c 	if (!gp->regs) {
regs             3021 drivers/net/ethernet/sun/sungem.c 	iounmap(gp->regs);
regs              977 drivers/net/ethernet/sun/sungem.h 	void __iomem		*regs;
regs             2522 drivers/net/ethernet/sun/sunhme.c 		const struct linux_prom_registers *regs;
regs             2524 drivers/net/ethernet/sun/sunhme.c 		regs = of_get_property(op->dev.of_node, "regs", NULL);
regs             2525 drivers/net/ethernet/sun/sunhme.c 		if (regs)
regs             2528 drivers/net/ethernet/sun/sunhme.c 				regs->which_io);
regs              683 drivers/net/ethernet/sun/sunqe.c 	const struct linux_prom_registers *regs;
regs              691 drivers/net/ethernet/sun/sunqe.c 	regs = of_get_property(op->dev.of_node, "reg", NULL);
regs              692 drivers/net/ethernet/sun/sunqe.c 	if (regs)
regs              694 drivers/net/ethernet/sun/sunqe.c 			 regs->which_io);
regs              109 drivers/net/ethernet/tehuti/tehuti.c 		readl(nic->regs + SROM_VER), readl(nic->regs + FPGA_VER) & 0xFFF,
regs              110 drivers/net/ethernet/tehuti/tehuti.c 		readl(nic->regs + FPGA_SEED),
regs              117 drivers/net/ethernet/tehuti/tehuti.c 	pr_info("fw 0x%x\n", readl(nic->regs + FW_VER));
regs              449 drivers/net/ethernet/tehuti/tehuti.c static int bdx_hw_reset_direct(void __iomem *regs)
regs              455 drivers/net/ethernet/tehuti/tehuti.c 	val = readl(regs + regCLKPLL);
regs              456 drivers/net/ethernet/tehuti/tehuti.c 	writel((val | CLKPLL_SFTRST) + 0x8, regs + regCLKPLL);
regs              458 drivers/net/ethernet/tehuti/tehuti.c 	val = readl(regs + regCLKPLL);
regs              459 drivers/net/ethernet/tehuti/tehuti.c 	writel(val & ~CLKPLL_SFTRST, regs + regCLKPLL);
regs              463 drivers/net/ethernet/tehuti/tehuti.c 		if ((readl(regs + regCLKPLL) & CLKPLL_LKD) == CLKPLL_LKD) {
regs              465 drivers/net/ethernet/tehuti/tehuti.c 			readl(regs + regRXD_CFG0_0);
regs             1948 drivers/net/ethernet/tehuti/tehuti.c 	nic->regs = ioremap(pciaddr, regionSize);
regs             1949 drivers/net/ethernet/tehuti/tehuti.c 	if (!nic->regs) {
regs             1969 drivers/net/ethernet/tehuti/tehuti.c 	bdx_hw_reset_direct(nic->regs);
regs             1973 drivers/net/ethernet/tehuti/tehuti.c 	if ((readl(nic->regs + FPGA_VER) & 0xFFF) >= 378) {
regs             2012 drivers/net/ethernet/tehuti/tehuti.c 		priv->pBdxRegs = nic->regs + port * 0x8000;
regs             2021 drivers/net/ethernet/tehuti/tehuti.c 		if ((readl(nic->regs + FPGA_VER) & 0xFFF) == 308) {
regs             2073 drivers/net/ethernet/tehuti/tehuti.c 	iounmap(nic->regs);
regs             2418 drivers/net/ethernet/tehuti/tehuti.c 	iounmap(nic->regs);
regs              117 drivers/net/ethernet/tehuti/tehuti.h 	void __iomem *regs;
regs              194 drivers/net/ethernet/ti/cpmac.c 	void __iomem *regs;
regs              221 drivers/net/ethernet/ti/cpmac.c 			printk("%s: reg[%p]:", dev->name, priv->regs + i);
regs              223 drivers/net/ethernet/ti/cpmac.c 		printk(" %08x", cpmac_read(priv->regs, i));
regs              315 drivers/net/ethernet/ti/cpmac.c 	mbp = cpmac_read(priv->regs, CPMAC_MBP);
regs              317 drivers/net/ethernet/ti/cpmac.c 		cpmac_write(priv->regs, CPMAC_MBP, (mbp & ~MBP_PROMISCCHAN(0)) |
regs              320 drivers/net/ethernet/ti/cpmac.c 		cpmac_write(priv->regs, CPMAC_MBP, mbp & ~MBP_RXPROMISC);
regs              323 drivers/net/ethernet/ti/cpmac.c 			cpmac_write(priv->regs, CPMAC_MAC_HASH_LO, 0xffffffff);
regs              324 drivers/net/ethernet/ti/cpmac.c 			cpmac_write(priv->regs, CPMAC_MAC_HASH_HI, 0xffffffff);
regs              347 drivers/net/ethernet/ti/cpmac.c 			cpmac_write(priv->regs, CPMAC_MAC_HASH_LO, hash[0]);
regs              348 drivers/net/ethernet/ti/cpmac.c 			cpmac_write(priv->regs, CPMAC_MAC_HASH_HI, hash[1]);
regs              360 drivers/net/ethernet/ti/cpmac.c 	cpmac_write(priv->regs, CPMAC_RX_ACK(0), (u32)desc->mapping);
regs              489 drivers/net/ethernet/ti/cpmac.c 		cpmac_write(priv->regs, CPMAC_RX_PTR(0), restart->mapping);
regs              502 drivers/net/ethernet/ti/cpmac.c 		cpmac_write(priv->regs, CPMAC_RX_INT_ENABLE, 1);
regs              517 drivers/net/ethernet/ti/cpmac.c 			   cpmac_read(priv->regs, CPMAC_RX_PTR(0)),
regs              518 drivers/net/ethernet/ti/cpmac.c 			   cpmac_read(priv->regs, CPMAC_RX_ACK(0)));
regs              575 drivers/net/ethernet/ti/cpmac.c 	cpmac_write(priv->regs, CPMAC_TX_PTR(queue), (u32)desc->mapping);
regs              586 drivers/net/ethernet/ti/cpmac.c 	cpmac_write(priv->regs, CPMAC_TX_ACK(queue), (u32)desc->mapping);
regs              618 drivers/net/ethernet/ti/cpmac.c 	cpmac_write(priv->regs, CPMAC_RX_CONTROL,
regs              619 drivers/net/ethernet/ti/cpmac.c 		    cpmac_read(priv->regs, CPMAC_RX_CONTROL) & ~1);
regs              620 drivers/net/ethernet/ti/cpmac.c 	cpmac_write(priv->regs, CPMAC_TX_CONTROL,
regs              621 drivers/net/ethernet/ti/cpmac.c 		    cpmac_read(priv->regs, CPMAC_TX_CONTROL) & ~1);
regs              623 drivers/net/ethernet/ti/cpmac.c 		cpmac_write(priv->regs, CPMAC_TX_PTR(i), 0);
regs              624 drivers/net/ethernet/ti/cpmac.c 		cpmac_write(priv->regs, CPMAC_RX_PTR(i), 0);
regs              626 drivers/net/ethernet/ti/cpmac.c 	cpmac_write(priv->regs, CPMAC_UNICAST_CLEAR, 0xff);
regs              627 drivers/net/ethernet/ti/cpmac.c 	cpmac_write(priv->regs, CPMAC_RX_INT_CLEAR, 0xff);
regs              628 drivers/net/ethernet/ti/cpmac.c 	cpmac_write(priv->regs, CPMAC_TX_INT_CLEAR, 0xff);
regs              629 drivers/net/ethernet/ti/cpmac.c 	cpmac_write(priv->regs, CPMAC_MAC_INT_CLEAR, 0xff);
regs              630 drivers/net/ethernet/ti/cpmac.c 	cpmac_write(priv->regs, CPMAC_MAC_CONTROL,
regs              631 drivers/net/ethernet/ti/cpmac.c 		    cpmac_read(priv->regs, CPMAC_MAC_CONTROL) & ~MAC_MII);
regs              642 drivers/net/ethernet/ti/cpmac.c 		cpmac_write(priv->regs, CPMAC_TX_PTR(i), 0);
regs              643 drivers/net/ethernet/ti/cpmac.c 		cpmac_write(priv->regs, CPMAC_RX_PTR(i), 0);
regs              645 drivers/net/ethernet/ti/cpmac.c 	cpmac_write(priv->regs, CPMAC_RX_PTR(0), priv->rx_head->mapping);
regs              647 drivers/net/ethernet/ti/cpmac.c 	cpmac_write(priv->regs, CPMAC_MBP, MBP_RXSHORT | MBP_RXBCAST |
regs              649 drivers/net/ethernet/ti/cpmac.c 	cpmac_write(priv->regs, CPMAC_BUFFER_OFFSET, 0);
regs              651 drivers/net/ethernet/ti/cpmac.c 		cpmac_write(priv->regs, CPMAC_MAC_ADDR_LO(i), dev->dev_addr[5]);
regs              652 drivers/net/ethernet/ti/cpmac.c 	cpmac_write(priv->regs, CPMAC_MAC_ADDR_MID, dev->dev_addr[4]);
regs              653 drivers/net/ethernet/ti/cpmac.c 	cpmac_write(priv->regs, CPMAC_MAC_ADDR_HI, dev->dev_addr[0] |
regs              656 drivers/net/ethernet/ti/cpmac.c 	cpmac_write(priv->regs, CPMAC_MAX_LENGTH, CPMAC_SKB_SIZE);
regs              657 drivers/net/ethernet/ti/cpmac.c 	cpmac_write(priv->regs, CPMAC_UNICAST_CLEAR, 0xff);
regs              658 drivers/net/ethernet/ti/cpmac.c 	cpmac_write(priv->regs, CPMAC_RX_INT_CLEAR, 0xff);
regs              659 drivers/net/ethernet/ti/cpmac.c 	cpmac_write(priv->regs, CPMAC_TX_INT_CLEAR, 0xff);
regs              660 drivers/net/ethernet/ti/cpmac.c 	cpmac_write(priv->regs, CPMAC_MAC_INT_CLEAR, 0xff);
regs              661 drivers/net/ethernet/ti/cpmac.c 	cpmac_write(priv->regs, CPMAC_UNICAST_ENABLE, 1);
regs              662 drivers/net/ethernet/ti/cpmac.c 	cpmac_write(priv->regs, CPMAC_RX_INT_ENABLE, 1);
regs              663 drivers/net/ethernet/ti/cpmac.c 	cpmac_write(priv->regs, CPMAC_TX_INT_ENABLE, 0xff);
regs              664 drivers/net/ethernet/ti/cpmac.c 	cpmac_write(priv->regs, CPMAC_MAC_INT_ENABLE, 3);
regs              666 drivers/net/ethernet/ti/cpmac.c 	cpmac_write(priv->regs, CPMAC_RX_CONTROL,
regs              667 drivers/net/ethernet/ti/cpmac.c 		    cpmac_read(priv->regs, CPMAC_RX_CONTROL) | 1);
regs              668 drivers/net/ethernet/ti/cpmac.c 	cpmac_write(priv->regs, CPMAC_TX_CONTROL,
regs              669 drivers/net/ethernet/ti/cpmac.c 		    cpmac_read(priv->regs, CPMAC_TX_CONTROL) | 1);
regs              670 drivers/net/ethernet/ti/cpmac.c 	cpmac_write(priv->regs, CPMAC_MAC_CONTROL,
regs              671 drivers/net/ethernet/ti/cpmac.c 		    cpmac_read(priv->regs, CPMAC_MAC_CONTROL) | MAC_MII |
regs              729 drivers/net/ethernet/ti/cpmac.c 	cpmac_write(priv->regs, CPMAC_MAC_INT_ENABLE, 3);
regs              736 drivers/net/ethernet/ti/cpmac.c 	u32 macstatus = cpmac_read(priv->regs, CPMAC_MAC_STATUS);
regs              764 drivers/net/ethernet/ti/cpmac.c 	cpmac_write(priv->regs, CPMAC_MAC_INT_CLEAR, 0xff);
regs              776 drivers/net/ethernet/ti/cpmac.c 	status = cpmac_read(priv->regs, CPMAC_MAC_INT_VECTOR);
regs              787 drivers/net/ethernet/ti/cpmac.c 			cpmac_write(priv->regs, CPMAC_RX_INT_CLEAR, 1 << queue);
regs              792 drivers/net/ethernet/ti/cpmac.c 	cpmac_write(priv->regs, CPMAC_MAC_EOI_VECTOR, 0);
regs              926 drivers/net/ethernet/ti/cpmac.c 	priv->regs = ioremap(mem->start, resource_size(mem));
regs              927 drivers/net/ethernet/ti/cpmac.c 	if (!priv->regs) {
regs             1001 drivers/net/ethernet/ti/cpmac.c 	iounmap(priv->regs);
regs             1025 drivers/net/ethernet/ti/cpmac.c 		cpmac_write(priv->regs, CPMAC_TX_PTR(i), 0);
regs             1026 drivers/net/ethernet/ti/cpmac.c 	cpmac_write(priv->regs, CPMAC_RX_PTR(0), 0);
regs             1027 drivers/net/ethernet/ti/cpmac.c 	cpmac_write(priv->regs, CPMAC_MBP, 0);
regs             1030 drivers/net/ethernet/ti/cpmac.c 	iounmap(priv->regs);
regs             1030 drivers/net/ethernet/ti/cpsw.c 	val = readl_relaxed(&cpsw->regs->ptype);
regs             1046 drivers/net/ethernet/ti/cpsw.c 	val = readl_relaxed(&cpsw->regs->ptype);
regs             1053 drivers/net/ethernet/ti/cpsw.c 	writel_relaxed(val, &cpsw->regs->ptype);
regs             1322 drivers/net/ethernet/ti/cpsw.c 	soft_reset("cpsw", &cpsw->regs->soft_reset);
regs             1328 drivers/net/ethernet/ti/cpsw.c 	control_reg = readl(&cpsw->regs->control);
regs             1330 drivers/net/ethernet/ti/cpsw.c 	writel(control_reg, &cpsw->regs->control);
regs             1701 drivers/net/ethernet/ti/cpsw.c 		writel_relaxed(0, &cpsw->regs->ptype);
regs             1704 drivers/net/ethernet/ti/cpsw.c 		writel_relaxed(0x7, &cpsw->regs->stat_port_en);
regs             1707 drivers/net/ethernet/ti/cpsw.c 		writel(0x7, &cpsw->regs->flow_control);
regs             1917 drivers/net/ethernet/ti/cpsw.c 	writel_relaxed(ETH_P_1588, &cpsw->regs->ts_ltype);
regs             1918 drivers/net/ethernet/ti/cpsw.c 	writel_relaxed(ETH_P_8021Q, &cpsw->regs->vlan_ltype);
regs             2800 drivers/net/ethernet/ti/cpsw.c 	cpsw->regs = ss_regs;
regs              345 drivers/net/ethernet/ti/cpsw_ethtool.c void cpsw_get_regs(struct net_device *ndev, struct ethtool_regs *regs, void *p)
regs              351 drivers/net/ethernet/ti/cpsw_ethtool.c 	regs->version = cpsw->version;
regs               38 drivers/net/ethernet/ti/cpsw_priv.c 	cpsw->version = readl(&cpsw->regs->id_ver);
regs               77 drivers/net/ethernet/ti/cpsw_priv.c 		void __iomem		*regs = cpsw->regs;
regs               81 drivers/net/ethernet/ti/cpsw_priv.c 		slave->regs	= regs + slave_offset;
regs               83 drivers/net/ethernet/ti/cpsw_priv.c 		slave->mac_sl = cpsw_sl_get("cpsw", dev, regs + sliver_offset);
regs              298 drivers/net/ethernet/ti/cpsw_priv.h 	void __iomem			*regs;
regs              310 drivers/net/ethernet/ti/cpsw_priv.h 	return readl_relaxed(slave->regs + offset);
regs              315 drivers/net/ethernet/ti/cpsw_priv.h 	writel_relaxed(val, slave->regs + offset);
regs              328 drivers/net/ethernet/ti/cpsw_priv.h 	struct cpsw_ss_regs __iomem	*regs;
regs              417 drivers/net/ethernet/ti/cpsw_priv.h void cpsw_get_regs(struct net_device *ndev, struct ethtool_regs *regs, void *p);
regs              107 drivers/net/ethernet/ti/cpsw_sl.c 	const u16 *regs;
regs              114 drivers/net/ethernet/ti/cpsw_sl.c 	const u16 *regs;
regs              123 drivers/net/ethernet/ti/cpsw_sl.c 		.regs = cpsw_sl_reg_map_cpsw,
regs              132 drivers/net/ethernet/ti/cpsw_sl.c 		.regs = cpsw_sl_reg_map_66ak2hk,
regs              139 drivers/net/ethernet/ti/cpsw_sl.c 		.regs = cpsw_sl_reg_map_66ak2x_xgbe,
regs              149 drivers/net/ethernet/ti/cpsw_sl.c 		.regs = cpsw_sl_reg_map_66ak2elg_am65,
regs              162 drivers/net/ethernet/ti/cpsw_sl.c 		.regs = cpsw_sl_reg_map_66ak2elg_am65,
regs              172 drivers/net/ethernet/ti/cpsw_sl.c 		.regs = cpsw_sl_reg_map_66ak2elg_am65,
regs              193 drivers/net/ethernet/ti/cpsw_sl.c 	if (sl->regs[reg] == CPSW_SL_REG_NOTUSED) {
regs              195 drivers/net/ethernet/ti/cpsw_sl.c 			sl->regs[reg]);
regs              199 drivers/net/ethernet/ti/cpsw_sl.c 	val = readl(sl->sl_base + sl->regs[reg]);
regs              200 drivers/net/ethernet/ti/cpsw_sl.c 	dev_dbg(sl->dev, "cpsw_sl: reg: %04X r 0x%08X\n", sl->regs[reg], val);
regs              206 drivers/net/ethernet/ti/cpsw_sl.c 	if (sl->regs[reg] == CPSW_SL_REG_NOTUSED) {
regs              208 drivers/net/ethernet/ti/cpsw_sl.c 			sl->regs[reg]);
regs              212 drivers/net/ethernet/ti/cpsw_sl.c 	dev_dbg(sl->dev, "cpsw_sl: reg: %04X w 0x%08X\n", sl->regs[reg], val);
regs              213 drivers/net/ethernet/ti/cpsw_sl.c 	writel(val, sl->sl_base + sl->regs[reg]);
regs              248 drivers/net/ethernet/ti/cpsw_sl.c 	sl->regs = sl_dev_id->regs;
regs              634 drivers/net/ethernet/ti/cpts.c struct cpts *cpts_create(struct device *dev, void __iomem *regs,
regs              645 drivers/net/ethernet/ti/cpts.c 	cpts->reg = (struct cpsw_cpts __iomem *)regs;
regs              123 drivers/net/ethernet/ti/cpts.h struct cpts *cpts_create(struct device *dev, void __iomem *regs,
regs              148 drivers/net/ethernet/ti/cpts.h struct cpts *cpts_create(struct device *dev, void __iomem *regs,
regs               82 drivers/net/ethernet/ti/davinci_mdio.c 	struct davinci_mdio_regs __iomem *regs;
regs              128 drivers/net/ethernet/ti/davinci_mdio.c 	writel(data->clk_div | CONTROL_ENABLE, &data->regs->control);
regs              147 drivers/net/ethernet/ti/davinci_mdio.c 	ver = readl(&data->regs->version);
regs              157 drivers/net/ethernet/ti/davinci_mdio.c 	phy_mask = readl(&data->regs->alive);
regs              179 drivers/net/ethernet/ti/davinci_mdio.c 	struct davinci_mdio_regs __iomem *regs = data->regs;
regs              184 drivers/net/ethernet/ti/davinci_mdio.c 		reg = readl(&regs->user[0].access);
regs              188 drivers/net/ethernet/ti/davinci_mdio.c 		reg = readl(&regs->control);
regs              204 drivers/net/ethernet/ti/davinci_mdio.c 	reg = readl(&regs->user[0].access);
regs              215 drivers/net/ethernet/ti/davinci_mdio.c 	struct davinci_mdio_regs __iomem *regs = data->regs;
regs              218 drivers/net/ethernet/ti/davinci_mdio.c 	ret = readl_poll_timeout(&regs->control, val, val & CONTROL_IDLE,
regs              251 drivers/net/ethernet/ti/davinci_mdio.c 		writel(reg, &data->regs->user[0].access);
regs              259 drivers/net/ethernet/ti/davinci_mdio.c 		reg = readl(&data->regs->user[0].access);
regs              295 drivers/net/ethernet/ti/davinci_mdio.c 		writel(reg, &data->regs->user[0].access);
regs              400 drivers/net/ethernet/ti/davinci_mdio.c 	data->regs = devm_ioremap(dev, res->start, resource_size(res));
regs              401 drivers/net/ethernet/ti/davinci_mdio.c 	if (!data->regs)
regs              460 drivers/net/ethernet/ti/davinci_mdio.c 	ctrl = readl(&data->regs->control);
regs              462 drivers/net/ethernet/ti/davinci_mdio.c 	writel(ctrl, &data->regs->control);
regs             3230 drivers/net/ethernet/ti/netcp_ethss.c 	void __iomem *regs;
regs             3241 drivers/net/ethernet/ti/netcp_ethss.c 	regs = devm_ioremap_resource(gbe_dev->dev, &res);
regs             3242 drivers/net/ethernet/ti/netcp_ethss.c 	if (IS_ERR(regs)) {
regs             3244 drivers/net/ethernet/ti/netcp_ethss.c 		return PTR_ERR(regs);
regs             3246 drivers/net/ethernet/ti/netcp_ethss.c 	gbe_dev->ss_regs = regs;
regs             3256 drivers/net/ethernet/ti/netcp_ethss.c 	regs = devm_ioremap_resource(gbe_dev->dev, &res);
regs             3257 drivers/net/ethernet/ti/netcp_ethss.c 	if (IS_ERR(regs)) {
regs             3259 drivers/net/ethernet/ti/netcp_ethss.c 		return PTR_ERR(regs);
regs             3261 drivers/net/ethernet/ti/netcp_ethss.c 	gbe_dev->switch_regs = regs;
regs             3271 drivers/net/ethernet/ti/netcp_ethss.c 	regs = devm_ioremap_resource(gbe_dev->dev, &res);
regs             3272 drivers/net/ethernet/ti/netcp_ethss.c 	if (IS_ERR(regs)) {
regs             3274 drivers/net/ethernet/ti/netcp_ethss.c 		return PTR_ERR(regs);
regs             3276 drivers/net/ethernet/ti/netcp_ethss.c 	gbe_dev->xgbe_serdes_regs = regs;
regs             3338 drivers/net/ethernet/ti/netcp_ethss.c 	void __iomem *regs;
regs             3349 drivers/net/ethernet/ti/netcp_ethss.c 	regs = devm_ioremap_resource(gbe_dev->dev, &res);
regs             3350 drivers/net/ethernet/ti/netcp_ethss.c 	if (IS_ERR(regs)) {
regs             3352 drivers/net/ethernet/ti/netcp_ethss.c 		return PTR_ERR(regs);
regs             3354 drivers/net/ethernet/ti/netcp_ethss.c 	gbe_dev->ss_regs = regs;
regs             3363 drivers/net/ethernet/ti/netcp_ethss.c 	void __iomem *regs;
regs             3374 drivers/net/ethernet/ti/netcp_ethss.c 	regs = devm_ioremap_resource(gbe_dev->dev, &res);
regs             3375 drivers/net/ethernet/ti/netcp_ethss.c 	if (IS_ERR(regs)) {
regs             3378 drivers/net/ethernet/ti/netcp_ethss.c 		return PTR_ERR(regs);
regs             3380 drivers/net/ethernet/ti/netcp_ethss.c 	gbe_dev->sgmii_port34_regs = regs;
regs             3390 drivers/net/ethernet/ti/netcp_ethss.c 	regs = devm_ioremap_resource(gbe_dev->dev, &res);
regs             3391 drivers/net/ethernet/ti/netcp_ethss.c 	if (IS_ERR(regs)) {
regs             3394 drivers/net/ethernet/ti/netcp_ethss.c 		return PTR_ERR(regs);
regs             3396 drivers/net/ethernet/ti/netcp_ethss.c 	gbe_dev->switch_regs = regs;
regs             3461 drivers/net/ethernet/ti/netcp_ethss.c 	void __iomem *regs;
regs             3500 drivers/net/ethernet/ti/netcp_ethss.c 	regs = devm_ioremap_resource(gbe_dev->dev, &res);
regs             3501 drivers/net/ethernet/ti/netcp_ethss.c 	if (IS_ERR(regs)) {
regs             3504 drivers/net/ethernet/ti/netcp_ethss.c 		return PTR_ERR(regs);
regs             3506 drivers/net/ethernet/ti/netcp_ethss.c 	gbe_dev->switch_regs = regs;
regs               84 drivers/net/ethernet/toshiba/spider_net.c 	return in_be32(card->regs + reg);
regs              100 drivers/net/ethernet/toshiba/spider_net.c 	out_be32(card->regs + reg, value);
regs             1696 drivers/net/ethernet/toshiba/spider_net.c 	u32 regs[][2] = {
regs             1738 drivers/net/ethernet/toshiba/spider_net.c 	while (regs[i][0]) {
regs             1739 drivers/net/ethernet/toshiba/spider_net.c 		spider_net_write_reg(card, regs[i][0], regs[i][1]);
regs             2344 drivers/net/ethernet/toshiba/spider_net.c 	iounmap(card->regs);
regs             2399 drivers/net/ethernet/toshiba/spider_net.c 	card->regs = ioremap(mmio_start, mmio_len);
regs             2401 drivers/net/ethernet/toshiba/spider_net.c 	if (!card->regs) {
regs              453 drivers/net/ethernet/toshiba/spider_net.h 	void __iomem *regs;
regs               66 drivers/net/ethernet/tundra/tsi108_eth.c 	void  __iomem *regs;	/* Base of normal regs */
regs             1574 drivers/net/ethernet/tundra/tsi108_eth.c 			pdev->id, einfo->regs, einfo->phyregs,
regs             1577 drivers/net/ethernet/tundra/tsi108_eth.c 	data->regs = ioremap(einfo->regs, 0x400);
regs             1578 drivers/net/ethernet/tundra/tsi108_eth.c 	if (NULL == data->regs) {
regs             1648 drivers/net/ethernet/tundra/tsi108_eth.c 	iounmap(data->regs);
regs             1679 drivers/net/ethernet/tundra/tsi108_eth.c 	iounmap(priv->regs);
regs               20 drivers/net/ethernet/tundra/tsi108_eth.h 	out_be32((data->regs + (offset)), val)
regs               23 drivers/net/ethernet/tundra/tsi108_eth.h 	in_be32((data->regs + (offset)))
regs              103 drivers/net/ethernet/via/via-velocity.c static void mac_get_cam_mask(struct mac_regs __iomem *regs, u8 *mask)
regs              108 drivers/net/ethernet/via/via-velocity.c 	BYTE_REG_BITS_SET(CAMCR_PS_CAM_MASK, CAMCR_PS1 | CAMCR_PS0, &regs->CAMCR);
regs              110 drivers/net/ethernet/via/via-velocity.c 	writeb(0, &regs->CAMADDR);
regs              114 drivers/net/ethernet/via/via-velocity.c 		*mask++ = readb(&(regs->MARCAM[i]));
regs              117 drivers/net/ethernet/via/via-velocity.c 	writeb(0, &regs->CAMADDR);
regs              120 drivers/net/ethernet/via/via-velocity.c 	BYTE_REG_BITS_SET(CAMCR_PS_MAR, CAMCR_PS1 | CAMCR_PS0, &regs->CAMCR);
regs              130 drivers/net/ethernet/via/via-velocity.c static void mac_set_cam_mask(struct mac_regs __iomem *regs, u8 *mask)
regs              134 drivers/net/ethernet/via/via-velocity.c 	BYTE_REG_BITS_SET(CAMCR_PS_CAM_MASK, CAMCR_PS1 | CAMCR_PS0, &regs->CAMCR);
regs              136 drivers/net/ethernet/via/via-velocity.c 	writeb(CAMADDR_CAMEN, &regs->CAMADDR);
regs              139 drivers/net/ethernet/via/via-velocity.c 		writeb(*mask++, &(regs->MARCAM[i]));
regs              142 drivers/net/ethernet/via/via-velocity.c 	writeb(0, &regs->CAMADDR);
regs              145 drivers/net/ethernet/via/via-velocity.c 	BYTE_REG_BITS_SET(CAMCR_PS_MAR, CAMCR_PS1 | CAMCR_PS0, &regs->CAMCR);
regs              148 drivers/net/ethernet/via/via-velocity.c static void mac_set_vlan_cam_mask(struct mac_regs __iomem *regs, u8 *mask)
regs              152 drivers/net/ethernet/via/via-velocity.c 	BYTE_REG_BITS_SET(CAMCR_PS_CAM_MASK, CAMCR_PS1 | CAMCR_PS0, &regs->CAMCR);
regs              154 drivers/net/ethernet/via/via-velocity.c 	writeb(CAMADDR_CAMEN | CAMADDR_VCAMSL, &regs->CAMADDR);
regs              157 drivers/net/ethernet/via/via-velocity.c 		writeb(*mask++, &(regs->MARCAM[i]));
regs              160 drivers/net/ethernet/via/via-velocity.c 	writeb(0, &regs->CAMADDR);
regs              163 drivers/net/ethernet/via/via-velocity.c 	BYTE_REG_BITS_SET(CAMCR_PS_MAR, CAMCR_PS1 | CAMCR_PS0, &regs->CAMCR);
regs              174 drivers/net/ethernet/via/via-velocity.c static void mac_set_cam(struct mac_regs __iomem *regs, int idx, const u8 *addr)
regs              179 drivers/net/ethernet/via/via-velocity.c 	BYTE_REG_BITS_SET(CAMCR_PS_CAM_DATA, CAMCR_PS1 | CAMCR_PS0, &regs->CAMCR);
regs              183 drivers/net/ethernet/via/via-velocity.c 	writeb(CAMADDR_CAMEN | idx, &regs->CAMADDR);
regs              186 drivers/net/ethernet/via/via-velocity.c 		writeb(*addr++, &(regs->MARCAM[i]));
regs              188 drivers/net/ethernet/via/via-velocity.c 	BYTE_REG_BITS_ON(CAMCR_CAMWR, &regs->CAMCR);
regs              192 drivers/net/ethernet/via/via-velocity.c 	writeb(0, &regs->CAMADDR);
regs              195 drivers/net/ethernet/via/via-velocity.c 	BYTE_REG_BITS_SET(CAMCR_PS_MAR, CAMCR_PS1 | CAMCR_PS0, &regs->CAMCR);
regs              198 drivers/net/ethernet/via/via-velocity.c static void mac_set_vlan_cam(struct mac_regs __iomem *regs, int idx,
regs              203 drivers/net/ethernet/via/via-velocity.c 	BYTE_REG_BITS_SET(CAMCR_PS_CAM_DATA, CAMCR_PS1 | CAMCR_PS0, &regs->CAMCR);
regs              207 drivers/net/ethernet/via/via-velocity.c 	writeb(CAMADDR_CAMEN | CAMADDR_VCAMSL | idx, &regs->CAMADDR);
regs              208 drivers/net/ethernet/via/via-velocity.c 	writew(*((u16 *) addr), &regs->MARCAM[0]);
regs              210 drivers/net/ethernet/via/via-velocity.c 	BYTE_REG_BITS_ON(CAMCR_CAMWR, &regs->CAMCR);
regs              214 drivers/net/ethernet/via/via-velocity.c 	writeb(0, &regs->CAMADDR);
regs              217 drivers/net/ethernet/via/via-velocity.c 	BYTE_REG_BITS_SET(CAMCR_PS_MAR, CAMCR_PS1 | CAMCR_PS0, &regs->CAMCR);
regs              229 drivers/net/ethernet/via/via-velocity.c static void mac_wol_reset(struct mac_regs __iomem *regs)
regs              233 drivers/net/ethernet/via/via-velocity.c 	BYTE_REG_BITS_OFF(STICKHW_SWPTAG, &regs->STICKHW);
regs              235 drivers/net/ethernet/via/via-velocity.c 	BYTE_REG_BITS_OFF((STICKHW_DS1 | STICKHW_DS0), &regs->STICKHW);
regs              237 drivers/net/ethernet/via/via-velocity.c 	BYTE_REG_BITS_OFF(CHIPGCR_FCGMII, &regs->CHIPGCR);
regs              238 drivers/net/ethernet/via/via-velocity.c 	BYTE_REG_BITS_OFF(CHIPGCR_FCMODE, &regs->CHIPGCR);
regs              240 drivers/net/ethernet/via/via-velocity.c 	writeb(WOLCFG_PMEOVR, &regs->WOLCFGClr);
regs              242 drivers/net/ethernet/via/via-velocity.c 	writew(0xFFFF, &regs->WOLCRClr);
regs              244 drivers/net/ethernet/via/via-velocity.c 	writew(0xFFFF, &regs->WOLSRClr);
regs              494 drivers/net/ethernet/via/via-velocity.c 	struct mac_regs __iomem *regs = vptr->mac_regs;
regs              498 drivers/net/ethernet/via/via-velocity.c 	WORD_REG_BITS_SET(MCFG_PQEN, MCFG_RTGOPT, &regs->MCFG);
regs              499 drivers/net/ethernet/via/via-velocity.c 	WORD_REG_BITS_ON(MCFG_VIDFR, &regs->MCFG);
regs              504 drivers/net/ethernet/via/via-velocity.c 	mac_set_vlan_cam_mask(regs, vptr->vCAMmask);
regs              505 drivers/net/ethernet/via/via-velocity.c 	mac_set_cam_mask(regs, vptr->mCAMmask);
regs              509 drivers/net/ethernet/via/via-velocity.c 		mac_set_vlan_cam(regs, i, (u8 *) &vid);
regs              514 drivers/net/ethernet/via/via-velocity.c 	mac_set_vlan_cam_mask(regs, vptr->vCAMmask);
regs              556 drivers/net/ethernet/via/via-velocity.c 	struct mac_regs __iomem *regs = vptr->mac_regs;
regs              567 drivers/net/ethernet/via/via-velocity.c 	writew(vptr->options.numrx, &regs->RBRDU);
regs              568 drivers/net/ethernet/via/via-velocity.c 	writel(vptr->rx.pool_dma, &regs->RDBaseLo);
regs              569 drivers/net/ethernet/via/via-velocity.c 	writew(0, &regs->RDIdx);
regs              570 drivers/net/ethernet/via/via-velocity.c 	writew(vptr->options.numrx - 1, &regs->RDCSize);
regs              615 drivers/net/ethernet/via/via-velocity.c static void safe_disable_mii_autopoll(struct mac_regs __iomem *regs)
regs              620 drivers/net/ethernet/via/via-velocity.c 	writeb(0, &regs->MIICR);
regs              623 drivers/net/ethernet/via/via-velocity.c 		if (BYTE_REG_BITS_IS_ON(MIISR_MIDLE, &regs->MIISR))
regs              635 drivers/net/ethernet/via/via-velocity.c static void enable_mii_autopoll(struct mac_regs __iomem *regs)
regs              639 drivers/net/ethernet/via/via-velocity.c 	writeb(0, &(regs->MIICR));
regs              640 drivers/net/ethernet/via/via-velocity.c 	writeb(MIIADR_SWMPL, &regs->MIIADR);
regs              644 drivers/net/ethernet/via/via-velocity.c 		if (BYTE_REG_BITS_IS_ON(MIISR_MIDLE, &regs->MIISR))
regs              648 drivers/net/ethernet/via/via-velocity.c 	writeb(MIICR_MAUTO, &regs->MIICR);
regs              652 drivers/net/ethernet/via/via-velocity.c 		if (!BYTE_REG_BITS_IS_ON(MIISR_MIDLE, &regs->MIISR))
regs              667 drivers/net/ethernet/via/via-velocity.c static int velocity_mii_read(struct mac_regs __iomem *regs, u8 index, u16 *data)
regs              674 drivers/net/ethernet/via/via-velocity.c 	safe_disable_mii_autopoll(regs);
regs              676 drivers/net/ethernet/via/via-velocity.c 	writeb(index, &regs->MIIADR);
regs              678 drivers/net/ethernet/via/via-velocity.c 	BYTE_REG_BITS_ON(MIICR_RCMD, &regs->MIICR);
regs              681 drivers/net/ethernet/via/via-velocity.c 		if (!(readb(&regs->MIICR) & MIICR_RCMD))
regs              685 drivers/net/ethernet/via/via-velocity.c 	*data = readw(&regs->MIIDATA);
regs              687 drivers/net/ethernet/via/via-velocity.c 	enable_mii_autopoll(regs);
regs              700 drivers/net/ethernet/via/via-velocity.c static u32 mii_check_media_mode(struct mac_regs __iomem *regs)
regs              705 drivers/net/ethernet/via/via-velocity.c 	if (!MII_REG_BITS_IS_ON(BMSR_LSTATUS, MII_BMSR, regs))
regs              708 drivers/net/ethernet/via/via-velocity.c 	if (MII_REG_BITS_IS_ON(ADVERTISE_1000FULL, MII_CTRL1000, regs))
regs              710 drivers/net/ethernet/via/via-velocity.c 	else if (MII_REG_BITS_IS_ON(ADVERTISE_1000HALF, MII_CTRL1000, regs))
regs              713 drivers/net/ethernet/via/via-velocity.c 		velocity_mii_read(regs, MII_ADVERTISE, &ANAR);
regs              724 drivers/net/ethernet/via/via-velocity.c 	if (MII_REG_BITS_IS_ON(BMCR_ANENABLE, MII_BMCR, regs)) {
regs              725 drivers/net/ethernet/via/via-velocity.c 		velocity_mii_read(regs, MII_ADVERTISE, &ANAR);
regs              728 drivers/net/ethernet/via/via-velocity.c 			if (MII_REG_BITS_IS_ON(ADVERTISE_1000HALF | ADVERTISE_1000FULL, MII_CTRL1000, regs))
regs              745 drivers/net/ethernet/via/via-velocity.c static int velocity_mii_write(struct mac_regs __iomem *regs, u8 mii_addr, u16 data)
regs              752 drivers/net/ethernet/via/via-velocity.c 	safe_disable_mii_autopoll(regs);
regs              755 drivers/net/ethernet/via/via-velocity.c 	writeb(mii_addr, &regs->MIIADR);
regs              757 drivers/net/ethernet/via/via-velocity.c 	writew(data, &regs->MIIDATA);
regs              760 drivers/net/ethernet/via/via-velocity.c 	BYTE_REG_BITS_ON(MIICR_WCMD, &regs->MIICR);
regs              765 drivers/net/ethernet/via/via-velocity.c 		if (!(readb(&regs->MIICR) & MIICR_WCMD))
regs              768 drivers/net/ethernet/via/via-velocity.c 	enable_mii_autopoll(regs);
regs              824 drivers/net/ethernet/via/via-velocity.c static u32 check_connection_type(struct mac_regs __iomem *regs)
regs              829 drivers/net/ethernet/via/via-velocity.c 	PHYSR0 = readb(&regs->PHYSR0);
regs              846 drivers/net/ethernet/via/via-velocity.c 	if (MII_REG_BITS_IS_ON(BMCR_ANENABLE, MII_BMCR, regs)) {
regs              847 drivers/net/ethernet/via/via-velocity.c 		velocity_mii_read(regs, MII_ADVERTISE, &ANAR);
regs              850 drivers/net/ethernet/via/via-velocity.c 			if (MII_REG_BITS_IS_ON(ADVERTISE_1000HALF | ADVERTISE_1000FULL, MII_CTRL1000, regs))
regs              869 drivers/net/ethernet/via/via-velocity.c 	struct mac_regs __iomem *regs = vptr->mac_regs;
regs              897 drivers/net/ethernet/via/via-velocity.c 		BYTE_REG_BITS_OFF(CHIPGCR_FCMODE, &regs->CHIPGCR);
regs              918 drivers/net/ethernet/via/via-velocity.c 		BYTE_REG_BITS_ON(CHIPGCR_FCMODE, &regs->CHIPGCR);
regs              920 drivers/net/ethernet/via/via-velocity.c 		CHIPGCR = readb(&regs->CHIPGCR);
regs              929 drivers/net/ethernet/via/via-velocity.c 			writeb(CHIPGCR, &regs->CHIPGCR);
regs              932 drivers/net/ethernet/via/via-velocity.c 				BYTE_REG_BITS_OFF(TCR_TB2BDIS, &regs->TCR);
regs              936 drivers/net/ethernet/via/via-velocity.c 			writeb(CHIPGCR, &regs->CHIPGCR);
regs              938 drivers/net/ethernet/via/via-velocity.c 				BYTE_REG_BITS_ON(TCR_TB2BDIS, &regs->TCR);
regs              950 drivers/net/ethernet/via/via-velocity.c 			BYTE_REG_BITS_OFF(TESTCFG_HBDIS, &regs->TESTCFG);
regs              952 drivers/net/ethernet/via/via-velocity.c 			BYTE_REG_BITS_ON(TESTCFG_HBDIS, &regs->TESTCFG);
regs             1039 drivers/net/ethernet/via/via-velocity.c 	struct mac_regs __iomem *regs = vptr->mac_regs;
regs             1044 drivers/net/ethernet/via/via-velocity.c 		if (BYTE_REG_BITS_IS_ON(PHYSR0_RXFLC, &regs->PHYSR0))
regs             1045 drivers/net/ethernet/via/via-velocity.c 			writel(CR0_FDXRFCEN, &regs->CR0Set);
regs             1047 drivers/net/ethernet/via/via-velocity.c 			writel(CR0_FDXRFCEN, &regs->CR0Clr);
regs             1049 drivers/net/ethernet/via/via-velocity.c 		if (BYTE_REG_BITS_IS_ON(PHYSR0_TXFLC, &regs->PHYSR0))
regs             1050 drivers/net/ethernet/via/via-velocity.c 			writel(CR0_FDXTFCEN, &regs->CR0Set);
regs             1052 drivers/net/ethernet/via/via-velocity.c 			writel(CR0_FDXTFCEN, &regs->CR0Clr);
regs             1056 drivers/net/ethernet/via/via-velocity.c 		writel(CR0_FDXTFCEN, &regs->CR0Set);
regs             1057 drivers/net/ethernet/via/via-velocity.c 		writel(CR0_FDXRFCEN, &regs->CR0Clr);
regs             1061 drivers/net/ethernet/via/via-velocity.c 		writel(CR0_FDXRFCEN, &regs->CR0Set);
regs             1062 drivers/net/ethernet/via/via-velocity.c 		writel(CR0_FDXTFCEN, &regs->CR0Clr);
regs             1066 drivers/net/ethernet/via/via-velocity.c 		writel(CR0_FDXTFCEN, &regs->CR0Set);
regs             1067 drivers/net/ethernet/via/via-velocity.c 		writel(CR0_FDXRFCEN, &regs->CR0Set);
regs             1071 drivers/net/ethernet/via/via-velocity.c 		writel(CR0_FDXRFCEN, &regs->CR0Clr);
regs             1072 drivers/net/ethernet/via/via-velocity.c 		writel(CR0_FDXTFCEN, &regs->CR0Clr);
regs             1090 drivers/net/ethernet/via/via-velocity.c 	struct mac_regs __iomem *regs = vptr->mac_regs;
regs             1093 drivers/net/ethernet/via/via-velocity.c 	writel(CR0_SFRST, &regs->CR0Set);
regs             1097 drivers/net/ethernet/via/via-velocity.c 		if (!DWORD_REG_BITS_IS_ON(CR0_SFRST, &regs->CR0Set))
regs             1102 drivers/net/ethernet/via/via-velocity.c 		writel(CR0_FORSRST, &regs->CR0Set);
regs             1121 drivers/net/ethernet/via/via-velocity.c 	struct mac_regs __iomem *regs = vptr->mac_regs;
regs             1127 drivers/net/ethernet/via/via-velocity.c 		writel(0xffffffff, &regs->MARCAM[0]);
regs             1128 drivers/net/ethernet/via/via-velocity.c 		writel(0xffffffff, &regs->MARCAM[4]);
regs             1132 drivers/net/ethernet/via/via-velocity.c 		writel(0xffffffff, &regs->MARCAM[0]);
regs             1133 drivers/net/ethernet/via/via-velocity.c 		writel(0xffffffff, &regs->MARCAM[4]);
regs             1137 drivers/net/ethernet/via/via-velocity.c 		mac_get_cam_mask(regs, vptr->mCAMmask);
regs             1141 drivers/net/ethernet/via/via-velocity.c 			mac_set_cam(regs, i + offset, ha->addr);
regs             1146 drivers/net/ethernet/via/via-velocity.c 		mac_set_cam_mask(regs, vptr->mCAMmask);
regs             1152 drivers/net/ethernet/via/via-velocity.c 	BYTE_REG_BITS_ON(rx_mode, &regs->RCR);
regs             1274 drivers/net/ethernet/via/via-velocity.c 	struct mac_regs __iomem *regs = vptr->mac_regs;
regs             1282 drivers/net/ethernet/via/via-velocity.c 	writeb(CAMCR_PS0, &regs->CAMCR);
regs             1286 drivers/net/ethernet/via/via-velocity.c 		writew(tx_intsup, &regs->ISRCTL);
regs             1288 drivers/net/ethernet/via/via-velocity.c 		writew(ISRCTL_TSUPDIS, &regs->ISRCTL);
regs             1291 drivers/net/ethernet/via/via-velocity.c 	writeb(CAMCR_PS1, &regs->CAMCR);
regs             1294 drivers/net/ethernet/via/via-velocity.c 		writew(rx_intsup, &regs->ISRCTL);
regs             1296 drivers/net/ethernet/via/via-velocity.c 		writew(ISRCTL_RSUPDIS, &regs->ISRCTL);
regs             1299 drivers/net/ethernet/via/via-velocity.c 	writeb(0, &regs->CAMCR);
regs             1313 drivers/net/ethernet/via/via-velocity.c 	struct mac_regs __iomem *regs = vptr->mac_regs;
regs             1317 drivers/net/ethernet/via/via-velocity.c 	mac_wol_reset(regs);
regs             1329 drivers/net/ethernet/via/via-velocity.c 		mac_rx_queue_run(regs);
regs             1330 drivers/net/ethernet/via/via-velocity.c 		mac_rx_queue_wake(regs);
regs             1341 drivers/net/ethernet/via/via-velocity.c 		mac_clear_isr(regs);
regs             1342 drivers/net/ethernet/via/via-velocity.c 		writel(CR0_STOP, &regs->CR0Clr);
regs             1344 drivers/net/ethernet/via/via-velocity.c 							&regs->CR0Set);
regs             1357 drivers/net/ethernet/via/via-velocity.c 			mac_eeprom_reload(regs);
regs             1359 drivers/net/ethernet/via/via-velocity.c 				writeb(netdev->dev_addr[i], regs->PAR + i);
regs             1365 drivers/net/ethernet/via/via-velocity.c 		BYTE_REG_BITS_OFF(CFGA_PACPI, &(regs->CFGA));
regs             1366 drivers/net/ethernet/via/via-velocity.c 		mac_set_rx_thresh(regs, vptr->options.rx_thresh);
regs             1367 drivers/net/ethernet/via/via-velocity.c 		mac_set_dma_length(regs, vptr->options.DMA_length);
regs             1369 drivers/net/ethernet/via/via-velocity.c 		writeb(WOLCFG_SAM | WOLCFG_SAB, &regs->WOLCFGSet);
regs             1373 drivers/net/ethernet/via/via-velocity.c 		BYTE_REG_BITS_SET(CFGB_OFSET, (CFGB_CRANDOM | CFGB_CAP | CFGB_MBA | CFGB_BAKOPT), &regs->CFGB);
regs             1388 drivers/net/ethernet/via/via-velocity.c 		enable_mii_autopoll(regs);
regs             1392 drivers/net/ethernet/via/via-velocity.c 		writel(vptr->rx.pool_dma, &regs->RDBaseLo);
regs             1393 drivers/net/ethernet/via/via-velocity.c 		writew(vptr->options.numrx - 1, &regs->RDCSize);
regs             1394 drivers/net/ethernet/via/via-velocity.c 		mac_rx_queue_run(regs);
regs             1395 drivers/net/ethernet/via/via-velocity.c 		mac_rx_queue_wake(regs);
regs             1397 drivers/net/ethernet/via/via-velocity.c 		writew(vptr->options.numtx - 1, &regs->TDCSize);
regs             1400 drivers/net/ethernet/via/via-velocity.c 			writel(vptr->tx.pool_dma[i], &regs->TDBaseLo[i]);
regs             1401 drivers/net/ethernet/via/via-velocity.c 			mac_tx_queue_run(regs, i);
regs             1406 drivers/net/ethernet/via/via-velocity.c 		writel(CR0_STOP, &regs->CR0Clr);
regs             1407 drivers/net/ethernet/via/via-velocity.c 		writel((CR0_DPOLL | CR0_TXON | CR0_RXON | CR0_STRT), &regs->CR0Set);
regs             1421 drivers/net/ethernet/via/via-velocity.c 		mac_hw_mibs_init(regs);
regs             1422 drivers/net/ethernet/via/via-velocity.c 		mac_write_int_mask(vptr->int_mask, regs);
regs             1423 drivers/net/ethernet/via/via-velocity.c 		mac_clear_isr(regs);
regs             1430 drivers/net/ethernet/via/via-velocity.c 	struct mac_regs __iomem *regs = vptr->mac_regs;
regs             1449 drivers/net/ethernet/via/via-velocity.c 	writew(vptr->rx.filled & 0xfffc, &regs->RBRDU);
regs             1806 drivers/net/ethernet/via/via-velocity.c 		struct mac_regs __iomem *regs = vptr->mac_regs;
regs             1808 drivers/net/ethernet/via/via-velocity.c 		printk(KERN_ERR "TD structure error TDindex=%hx\n", readw(&regs->TDIdx[0]));
regs             1809 drivers/net/ethernet/via/via-velocity.c 		BYTE_REG_BITS_ON(TXESR_TDSTR, &regs->TXESR);
regs             1810 drivers/net/ethernet/via/via-velocity.c 		writew(TRDCSR_RUN, &regs->TDCSRClr);
regs             1818 drivers/net/ethernet/via/via-velocity.c 		struct mac_regs __iomem *regs = vptr->mac_regs;
regs             1822 drivers/net/ethernet/via/via-velocity.c 			vptr->mii_status = check_connection_type(regs);
regs             1831 drivers/net/ethernet/via/via-velocity.c 					BYTE_REG_BITS_ON(TCR_TB2BDIS, &regs->TCR);
regs             1833 drivers/net/ethernet/via/via-velocity.c 					BYTE_REG_BITS_OFF(TCR_TB2BDIS, &regs->TCR);
regs             1839 drivers/net/ethernet/via/via-velocity.c 				BYTE_REG_BITS_OFF(TESTCFG_HBDIS, &regs->TESTCFG);
regs             1841 drivers/net/ethernet/via/via-velocity.c 				BYTE_REG_BITS_ON(TESTCFG_HBDIS, &regs->TESTCFG);
regs             1848 drivers/net/ethernet/via/via-velocity.c 		linked = readb(&regs->PHYSR0) & PHYSR0_LINKGD;
regs             1866 drivers/net/ethernet/via/via-velocity.c 		enable_mii_autopoll(regs);
regs             2254 drivers/net/ethernet/via/via-velocity.c 	struct mac_regs __iomem *regs = vptr->mac_regs;
regs             2255 drivers/net/ethernet/via/via-velocity.c 	mac_disable_int(regs);
regs             2256 drivers/net/ethernet/via/via-velocity.c 	writel(CR0_STOP, &regs->CR0Set);
regs             2257 drivers/net/ethernet/via/via-velocity.c 	writew(0xFFFF, &regs->TDCSRClr);
regs             2258 drivers/net/ethernet/via/via-velocity.c 	writeb(0xFF, &regs->RDCSRClr);
regs             2259 drivers/net/ethernet/via/via-velocity.c 	safe_disable_mii_autopoll(regs);
regs             2260 drivers/net/ethernet/via/via-velocity.c 	mac_clear_isr(regs);
regs             2372 drivers/net/ethernet/via/via-velocity.c 	struct mac_regs __iomem *regs = vptr->mac_regs;
regs             2379 drivers/net/ethernet/via/via-velocity.c 		miidata->phy_id = readb(&regs->MIIADR) & 0x1f;
regs             2734 drivers/net/ethernet/via/via-velocity.c 	struct mac_regs __iomem *regs = vptr->mac_regs;
regs             2735 drivers/net/ethernet/via/via-velocity.c 	return BYTE_REG_BITS_IS_ON(PHYSR0_LINKGD, &regs->PHYSR0) ? 1 : 0;
regs             2756 drivers/net/ethernet/via/via-velocity.c 	struct mac_regs __iomem *regs;
regs             2803 drivers/net/ethernet/via/via-velocity.c 	regs = ioremap(vptr->memaddr, VELOCITY_IO_SIZE);
regs             2804 drivers/net/ethernet/via/via-velocity.c 	if (regs == NULL) {
regs             2809 drivers/net/ethernet/via/via-velocity.c 	vptr->mac_regs = regs;
regs             2810 drivers/net/ethernet/via/via-velocity.c 	vptr->rev_id = readb(&regs->rev_id);
regs             2812 drivers/net/ethernet/via/via-velocity.c 	mac_wol_reset(regs);
regs             2815 drivers/net/ethernet/via/via-velocity.c 		netdev->dev_addr[i] = readb(&regs->PAR[i]);
regs             2875 drivers/net/ethernet/via/via-velocity.c 	iounmap(regs);
regs             3010 drivers/net/ethernet/via/via-velocity.c 	struct mac_regs __iomem *regs = vptr->mac_regs;
regs             3020 drivers/net/ethernet/via/via-velocity.c 	writew(0xFFFF, &regs->WOLCRClr);
regs             3021 drivers/net/ethernet/via/via-velocity.c 	writeb(WOLCFG_SAB | WOLCFG_SAM, &regs->WOLCFGSet);
regs             3022 drivers/net/ethernet/via/via-velocity.c 	writew(WOLCR_MAGIC_EN, &regs->WOLCRSet);
regs             3030 drivers/net/ethernet/via/via-velocity.c 		writew(WOLCR_UNICAST_EN, &regs->WOLCRSet);
regs             3038 drivers/net/ethernet/via/via-velocity.c 			writel(mask_pattern[0][i], &regs->ByteMask[0][i]);
regs             3048 drivers/net/ethernet/via/via-velocity.c 		writew(crc, &regs->PatternCRC[0]);
regs             3049 drivers/net/ethernet/via/via-velocity.c 		writew(WOLCR_ARP_EN, &regs->WOLCRSet);
regs             3052 drivers/net/ethernet/via/via-velocity.c 	BYTE_REG_BITS_ON(PWCFG_WOLTYPE, &regs->PWCFGSet);
regs             3053 drivers/net/ethernet/via/via-velocity.c 	BYTE_REG_BITS_ON(PWCFG_LEGACY_WOLEN, &regs->PWCFGSet);
regs             3055 drivers/net/ethernet/via/via-velocity.c 	writew(0x0FFF, &regs->WOLSRClr);
regs             3074 drivers/net/ethernet/via/via-velocity.c 	BYTE_REG_BITS_ON(CHIPGCR_FCMODE, &regs->CHIPGCR);
regs             3078 drivers/net/ethernet/via/via-velocity.c 		GCR = readb(&regs->CHIPGCR);
regs             3080 drivers/net/ethernet/via/via-velocity.c 		writeb(GCR, &regs->CHIPGCR);
regs             3084 drivers/net/ethernet/via/via-velocity.c 	BYTE_REG_BITS_OFF(ISR_PWEI, &regs->ISR);
regs             3086 drivers/net/ethernet/via/via-velocity.c 	BYTE_REG_BITS_ON(STICKHW_SWPTAG, &regs->STICKHW);
regs             3088 drivers/net/ethernet/via/via-velocity.c 	BYTE_REG_BITS_ON((STICKHW_DS1 | STICKHW_DS0), &regs->STICKHW);
regs             3105 drivers/net/ethernet/via/via-velocity.c 	struct mac_regs __iomem *regs = vptr->mac_regs;
regs             3107 drivers/net/ethernet/via/via-velocity.c 	u8 __iomem *ptr = (u8 __iomem *)regs;
regs             3165 drivers/net/ethernet/via/via-velocity.c 	struct mac_regs __iomem *regs = vptr->mac_regs;
regs             3167 drivers/net/ethernet/via/via-velocity.c 	u8 __iomem *ptr = (u8 __iomem *)regs;
regs             3288 drivers/net/ethernet/via/via-velocity.c 	struct mac_regs __iomem *regs = vptr->mac_regs;
regs             3344 drivers/net/ethernet/via/via-velocity.c 	cmd->base.phy_address = readb(&regs->MIIADR) & 0x1F;
regs             1140 drivers/net/ethernet/via/via-velocity.h #define mac_hw_mibs_init(regs) {\
regs             1141 drivers/net/ethernet/via/via-velocity.h 	BYTE_REG_BITS_ON(MIBCR_MIBFRZ,&((regs)->MIBCR));\
regs             1142 drivers/net/ethernet/via/via-velocity.h 	BYTE_REG_BITS_ON(MIBCR_MIBCLR,&((regs)->MIBCR));\
regs             1144 drivers/net/ethernet/via/via-velocity.h 		while (BYTE_REG_BITS_IS_ON(MIBCR_MIBCLR,&((regs)->MIBCR)));\
regs             1145 drivers/net/ethernet/via/via-velocity.h 	BYTE_REG_BITS_OFF(MIBCR_MIBFRZ,&((regs)->MIBCR));\
regs             1148 drivers/net/ethernet/via/via-velocity.h #define mac_read_isr(regs)  		readl(&((regs)->ISR))
regs             1149 drivers/net/ethernet/via/via-velocity.h #define mac_write_isr(regs, x)  	writel((x),&((regs)->ISR))
regs             1150 drivers/net/ethernet/via/via-velocity.h #define mac_clear_isr(regs) 		writel(0xffffffffL,&((regs)->ISR))
regs             1152 drivers/net/ethernet/via/via-velocity.h #define mac_write_int_mask(mask, regs) 	writel((mask),&((regs)->IMR));
regs             1153 drivers/net/ethernet/via/via-velocity.h #define mac_disable_int(regs)       	writel(CR0_GINTMSK1,&((regs)->CR0Clr))
regs             1154 drivers/net/ethernet/via/via-velocity.h #define mac_enable_int(regs)    	writel(CR0_GINTMSK1,&((regs)->CR0Set))
regs             1156 drivers/net/ethernet/via/via-velocity.h #define mac_set_dma_length(regs, n) {\
regs             1157 drivers/net/ethernet/via/via-velocity.h 	BYTE_REG_BITS_SET((n),0x07,&((regs)->DCFG));\
regs             1160 drivers/net/ethernet/via/via-velocity.h #define mac_set_rx_thresh(regs, n) {\
regs             1161 drivers/net/ethernet/via/via-velocity.h 	BYTE_REG_BITS_SET((n),(MCFG_RFT0|MCFG_RFT1),&((regs)->MCFG));\
regs             1164 drivers/net/ethernet/via/via-velocity.h #define mac_rx_queue_run(regs) {\
regs             1165 drivers/net/ethernet/via/via-velocity.h 	writeb(TRDCSR_RUN, &((regs)->RDCSRSet));\
regs             1168 drivers/net/ethernet/via/via-velocity.h #define mac_rx_queue_wake(regs) {\
regs             1169 drivers/net/ethernet/via/via-velocity.h 	writeb(TRDCSR_WAK, &((regs)->RDCSRSet));\
regs             1172 drivers/net/ethernet/via/via-velocity.h #define mac_tx_queue_run(regs, n) {\
regs             1173 drivers/net/ethernet/via/via-velocity.h 	writew(TRDCSR_RUN<<((n)*4),&((regs)->TDCSRSet));\
regs             1176 drivers/net/ethernet/via/via-velocity.h #define mac_tx_queue_wake(regs, n) {\
regs             1177 drivers/net/ethernet/via/via-velocity.h 	writew(TRDCSR_WAK<<(n*4),&((regs)->TDCSRSet));\
regs             1180 drivers/net/ethernet/via/via-velocity.h static inline void mac_eeprom_reload(struct mac_regs __iomem * regs) {
regs             1183 drivers/net/ethernet/via/via-velocity.h 	BYTE_REG_BITS_ON(EECSR_RELOAD,&(regs->EECSR));
regs             1188 drivers/net/ethernet/via/via-velocity.h 	} while (BYTE_REG_BITS_IS_ON(EECSR_RELOAD,&(regs->EECSR)));
regs             1557 drivers/net/ethernet/via/via-velocity.h 	struct mac_regs __iomem * regs = vptr->mac_regs;
regs             1561 drivers/net/ethernet/via/via-velocity.h 	writel((CR0_XONEN | CR0_XHITH1 | CR0_XLTH1 | CR0_XLTH0), &regs->CR0Set);
regs             1562 drivers/net/ethernet/via/via-velocity.h 	writel((CR0_FDXTFCEN | CR0_FDXRFCEN | CR0_HDXFCEN | CR0_XHITH0), &regs->CR0Clr);
regs             1565 drivers/net/ethernet/via/via-velocity.h 	writew(0xFFFF, &regs->tx_pause_timer);
regs             1568 drivers/net/ethernet/via/via-velocity.h 	writew(vptr->options.numrx, &regs->RBRDU);
regs              763 drivers/net/ethernet/wiznet/w5100.c 			   struct ethtool_regs *regs, void *buf)
regs              767 drivers/net/ethernet/wiznet/w5100.c 	regs->version = 1;
regs              321 drivers/net/ethernet/wiznet/w5300.c 			   struct ethtool_regs *regs, void *_buf)
regs              328 drivers/net/ethernet/wiznet/w5300.c 	regs->version = 1;
regs              345 drivers/net/ethernet/xilinx/ll_temac.h 	void __iomem *regs;
regs               70 drivers/net/ethernet/xilinx/ll_temac_main.c 	return ioread32be(lp->regs + offset);
regs               75 drivers/net/ethernet/xilinx/ll_temac_main.c 	return iowrite32be(value, lp->regs + offset);
regs               80 drivers/net/ethernet/xilinx/ll_temac_main.c 	return ioread32(lp->regs + offset);
regs               85 drivers/net/ethernet/xilinx/ll_temac_main.c 	return iowrite32(value, lp->regs + offset);
regs             1334 drivers/net/ethernet/xilinx/ll_temac_main.c 	lp->regs = devm_ioremap_nocache(&pdev->dev, res->start,
regs             1336 drivers/net/ethernet/xilinx/ll_temac_main.c 	if (IS_ERR(lp->regs)) {
regs             1338 drivers/net/ethernet/xilinx/ll_temac_main.c 		return PTR_ERR(lp->regs);
regs              435 drivers/net/ethernet/xilinx/xilinx_axienet.h 	void __iomem *regs;
regs              492 drivers/net/ethernet/xilinx/xilinx_axienet.h 	return ioread32(lp->regs + offset);
regs              512 drivers/net/ethernet/xilinx/xilinx_axienet.h 	iowrite32(value, lp->regs + offset);
regs             1140 drivers/net/ethernet/xilinx/xilinx_axienet_main.c 				      struct ethtool_regs *regs, void *ret)
regs             1146 drivers/net/ethernet/xilinx/xilinx_axienet_main.c 	regs->version = 0;
regs             1147 drivers/net/ethernet/xilinx/xilinx_axienet_main.c 	regs->len = len;
regs             1682 drivers/net/ethernet/xilinx/xilinx_axienet_main.c 	lp->regs = devm_ioremap_resource(&pdev->dev, ethres);
regs             1683 drivers/net/ethernet/xilinx/xilinx_axienet_main.c 	if (IS_ERR(lp->regs)) {
regs             1685 drivers/net/ethernet/xilinx/xilinx_axienet_main.c 		ret = PTR_ERR(lp->regs);
regs              167 drivers/net/ethernet/xscale/ixp4xx_eth.c 	struct eth_regs __iomem *regs;
regs              283 drivers/net/ethernet/xscale/ixp4xx_eth.c 	struct ixp46x_ts_regs *regs;
regs              293 drivers/net/ethernet/xscale/ixp4xx_eth.c 	regs = (struct ixp46x_ts_regs __iomem *) IXP4XX_TIMESYNC_BASE_VIRT;
regs              295 drivers/net/ethernet/xscale/ixp4xx_eth.c 	val = __raw_readl(&regs->channel[ch].ch_event);
regs              300 drivers/net/ethernet/xscale/ixp4xx_eth.c 	lo = __raw_readl(&regs->channel[ch].src_uuid_lo);
regs              301 drivers/net/ethernet/xscale/ixp4xx_eth.c 	hi = __raw_readl(&regs->channel[ch].src_uuid_hi);
regs              309 drivers/net/ethernet/xscale/ixp4xx_eth.c 	lo = __raw_readl(&regs->channel[ch].rx_snap_lo);
regs              310 drivers/net/ethernet/xscale/ixp4xx_eth.c 	hi = __raw_readl(&regs->channel[ch].rx_snap_hi);
regs              319 drivers/net/ethernet/xscale/ixp4xx_eth.c 	__raw_writel(RX_SNAPSHOT_LOCKED, &regs->channel[ch].ch_event);
regs              325 drivers/net/ethernet/xscale/ixp4xx_eth.c 	struct ixp46x_ts_regs *regs;
regs              338 drivers/net/ethernet/xscale/ixp4xx_eth.c 	regs = (struct ixp46x_ts_regs __iomem *) IXP4XX_TIMESYNC_BASE_VIRT;
regs              345 drivers/net/ethernet/xscale/ixp4xx_eth.c 		val = __raw_readl(&regs->channel[ch].ch_event);
regs              355 drivers/net/ethernet/xscale/ixp4xx_eth.c 	lo = __raw_readl(&regs->channel[ch].tx_snap_lo);
regs              356 drivers/net/ethernet/xscale/ixp4xx_eth.c 	hi = __raw_readl(&regs->channel[ch].tx_snap_hi);
regs              365 drivers/net/ethernet/xscale/ixp4xx_eth.c 	__raw_writel(TX_SNAPSHOT_LOCKED, &regs->channel[ch].ch_event);
regs              371 drivers/net/ethernet/xscale/ixp4xx_eth.c 	struct ixp46x_ts_regs *regs;
regs              382 drivers/net/ethernet/xscale/ixp4xx_eth.c 	regs = (struct ixp46x_ts_regs __iomem *) IXP4XX_TIMESYNC_BASE_VIRT;
regs              393 drivers/net/ethernet/xscale/ixp4xx_eth.c 		__raw_writel(0, &regs->channel[ch].ch_control);
regs              397 drivers/net/ethernet/xscale/ixp4xx_eth.c 		__raw_writel(MASTER_MODE, &regs->channel[ch].ch_control);
regs              407 drivers/net/ethernet/xscale/ixp4xx_eth.c 		     &regs->channel[ch].ch_event);
regs              520 drivers/net/ethernet/xscale/ixp4xx_eth.c static int ixp4xx_mdio_register(struct eth_regs __iomem *regs)
regs              527 drivers/net/ethernet/xscale/ixp4xx_eth.c 	mdio_regs = regs;
regs              568 drivers/net/ethernet/xscale/ixp4xx_eth.c 			     &port->regs->tx_control[0]);
regs              571 drivers/net/ethernet/xscale/ixp4xx_eth.c 			     &port->regs->tx_control[0]);
regs              927 drivers/net/ethernet/xscale/ixp4xx_eth.c 			__raw_writel(allmulti[i], &port->regs->mcast_addr[i]);
regs              928 drivers/net/ethernet/xscale/ixp4xx_eth.c 			__raw_writel(allmulti[i], &port->regs->mcast_mask[i]);
regs              931 drivers/net/ethernet/xscale/ixp4xx_eth.c 			&port->regs->rx_control[0]);
regs              937 drivers/net/ethernet/xscale/ixp4xx_eth.c 			     &port->regs->rx_control[0]);
regs              952 drivers/net/ethernet/xscale/ixp4xx_eth.c 		__raw_writel(addr[i], &port->regs->mcast_addr[i]);
regs              953 drivers/net/ethernet/xscale/ixp4xx_eth.c 		__raw_writel(~diffs[i], &port->regs->mcast_mask[i]);
regs              957 drivers/net/ethernet/xscale/ixp4xx_eth.c 		     &port->regs->rx_control[0]);
regs             1229 drivers/net/ethernet/xscale/ixp4xx_eth.c 		__raw_writel(dev->dev_addr[i], &port->regs->hw_addr[i]);
regs             1230 drivers/net/ethernet/xscale/ixp4xx_eth.c 	__raw_writel(0x08, &port->regs->random_seed);
regs             1231 drivers/net/ethernet/xscale/ixp4xx_eth.c 	__raw_writel(0x12, &port->regs->partial_empty_threshold);
regs             1232 drivers/net/ethernet/xscale/ixp4xx_eth.c 	__raw_writel(0x30, &port->regs->partial_full_threshold);
regs             1233 drivers/net/ethernet/xscale/ixp4xx_eth.c 	__raw_writel(0x08, &port->regs->tx_start_bytes);
regs             1234 drivers/net/ethernet/xscale/ixp4xx_eth.c 	__raw_writel(0x15, &port->regs->tx_deferral);
regs             1235 drivers/net/ethernet/xscale/ixp4xx_eth.c 	__raw_writel(0x08, &port->regs->tx_2part_deferral[0]);
regs             1236 drivers/net/ethernet/xscale/ixp4xx_eth.c 	__raw_writel(0x07, &port->regs->tx_2part_deferral[1]);
regs             1237 drivers/net/ethernet/xscale/ixp4xx_eth.c 	__raw_writel(0x80, &port->regs->slot_time);
regs             1238 drivers/net/ethernet/xscale/ixp4xx_eth.c 	__raw_writel(0x01, &port->regs->int_clock_threshold);
regs             1249 drivers/net/ethernet/xscale/ixp4xx_eth.c 	__raw_writel(TX_CNTRL1_RETRIES, &port->regs->tx_control[1]);
regs             1250 drivers/net/ethernet/xscale/ixp4xx_eth.c 	__raw_writel(DEFAULT_TX_CNTRL0, &port->regs->tx_control[0]);
regs             1251 drivers/net/ethernet/xscale/ixp4xx_eth.c 	__raw_writel(0, &port->regs->rx_control[1]);
regs             1252 drivers/net/ethernet/xscale/ixp4xx_eth.c 	__raw_writel(DEFAULT_RX_CNTRL0, &port->regs->rx_control[0]);
regs             1389 drivers/net/ethernet/xscale/ixp4xx_eth.c 		port->regs = (struct eth_regs __iomem *)IXP4XX_EthA_BASE_VIRT;
regs             1408 drivers/net/ethernet/xscale/ixp4xx_eth.c 		port->regs = (struct eth_regs __iomem *)IXP4XX_EthB_BASE_VIRT;
regs             1426 drivers/net/ethernet/xscale/ixp4xx_eth.c 		port->regs = (struct eth_regs __iomem *)IXP4XX_EthC_BASE_VIRT;
regs             1455 drivers/net/ethernet/xscale/ixp4xx_eth.c 		     &port->regs->core_control);
regs             1457 drivers/net/ethernet/xscale/ixp4xx_eth.c 	__raw_writel(DEFAULT_CORE_CNTRL, &port->regs->core_control);
regs              215 drivers/net/fddi/defza.c 	pr_debug(" reset:           0x%04x\n", readw_o(&fp->regs->reset));
regs              216 drivers/net/fddi/defza.c 	pr_debug(" interrupt event: 0x%04x\n", readw_u(&fp->regs->int_event));
regs              217 drivers/net/fddi/defza.c 	pr_debug(" status:          0x%04x\n", readw_u(&fp->regs->status));
regs              218 drivers/net/fddi/defza.c 	pr_debug(" interrupt mask:  0x%04x\n", readw_u(&fp->regs->int_mask));
regs              219 drivers/net/fddi/defza.c 	pr_debug(" control A:       0x%04x\n", readw_u(&fp->regs->control_a));
regs              220 drivers/net/fddi/defza.c 	pr_debug(" control B:       0x%04x\n", readw_u(&fp->regs->control_b));
regs              226 drivers/net/fddi/defza.c 	writew_o(FZA_RESET_INIT, &fp->regs->reset);
regs              227 drivers/net/fddi/defza.c 	readw_o(&fp->regs->reset);	/* Synchronize. */
regs              228 drivers/net/fddi/defza.c 	readw_o(&fp->regs->reset);	/* Read it back for a small delay. */
regs              229 drivers/net/fddi/defza.c 	writew_o(FZA_RESET_CLR, &fp->regs->reset);
regs              232 drivers/net/fddi/defza.c 	writew_o(fp->int_mask, &fp->regs->int_mask);
regs              233 drivers/net/fddi/defza.c 	readw_o(&fp->regs->int_mask);	/* Synchronize. */
regs              239 drivers/net/fddi/defza.c 	writew_o(FZA_CONTROL_B_IDLE, &fp->regs->control_b);
regs              242 drivers/net/fddi/defza.c 	writew_o(FZA_RESET_INIT, &fp->regs->reset);
regs              243 drivers/net/fddi/defza.c 	readw_o(&fp->regs->reset);	/* Synchronize. */
regs              244 drivers/net/fddi/defza.c 	writew_o(FZA_RESET_CLR, &fp->regs->reset);
regs              245 drivers/net/fddi/defza.c 	readw_o(&fp->regs->reset);	/* Synchronize. */
regs              267 drivers/net/fddi/defza.c 	status = readw_u(&fp->regs->status);
regs              297 drivers/net/fddi/defza.c 	writew_u(new_mask, &fp->regs->int_mask);
regs              298 drivers/net/fddi/defza.c 	readw_o(&fp->regs->int_mask);			/* Synchronize. */
regs              367 drivers/net/fddi/defza.c 	writew_o(FZA_CONTROL_A_CMD_POLL, &fp->regs->control_a);
regs              372 drivers/net/fddi/defza.c 	writew_u(fp->int_mask, &fp->regs->int_mask);
regs              400 drivers/net/fddi/defza.c 		       FZA_STATUS_GET_STATE(readw_u(&fp->regs->status)));
regs              407 drivers/net/fddi/defza.c 		       FZA_STATUS_GET_STATE(readw_u(&fp->regs->status)));
regs              506 drivers/net/fddi/defza.c 	writew_o(FZA_CONTROL_A_TX_POLL, &fp->regs->control_a);
regs              536 drivers/net/fddi/defza.c 	writew_o(FZA_CONTROL_A_SMT_RX_POLL, &fp->regs->control_a);
regs              621 drivers/net/fddi/defza.c 			writew_o(FZA_CONTROL_A_HALT, &fp->regs->control_a);
regs              622 drivers/net/fddi/defza.c 			readw_o(&fp->regs->control_a);	/* Synchronize. */
regs              639 drivers/net/fddi/defza.c 			writew_o(FZA_CONTROL_A_HALT, &fp->regs->control_a);
regs              640 drivers/net/fddi/defza.c 			readw_o(&fp->regs->control_a);	/* Synchronize. */
regs              744 drivers/net/fddi/defza.c 						 &fp->regs->control_a);
regs              897 drivers/net/fddi/defza.c 	writew_o(FZA_CONTROL_A_FLUSH_DONE, &fp->regs->control_a);
regs              907 drivers/net/fddi/defza.c 	int_event = readw_o(&fp->regs->int_event) & fp->int_mask;
regs              912 drivers/net/fddi/defza.c 	writew_u(int_event, &fp->regs->int_event);
regs              955 drivers/net/fddi/defza.c 		status = readw_u(&fp->regs->status);
regs              977 drivers/net/fddi/defza.c 		status = readw_u(&fp->regs->status);
regs             1054 drivers/net/fddi/defza.c 		writew_o(FZA_RESET_INIT, &fp->regs->reset);
regs             1055 drivers/net/fddi/defza.c 		readw_o(&fp->regs->reset);		/* Synchronize. */
regs             1061 drivers/net/fddi/defza.c 		writew_u(FZA_RESET_CLR, &fp->regs->reset);
regs             1064 drivers/net/fddi/defza.c 		writew_o(fp->int_mask, &fp->regs->int_mask);
regs             1065 drivers/net/fddi/defza.c 		readw_o(&fp->regs->int_mask);		/* Synchronize. */
regs             1124 drivers/net/fddi/defza.c 	writew_u(new_mask, &fp->regs->int_mask);
regs             1125 drivers/net/fddi/defza.c 	readw_o(&fp->regs->int_mask);			/* Synchronize. */
regs             1131 drivers/net/fddi/defza.c 	writew_u(fp->int_mask, &fp->regs->int_mask);
regs             1203 drivers/net/fddi/defza.c 		       FZA_STATUS_GET_STATE(readw_u(&fp->regs->status)));
regs             1210 drivers/net/fddi/defza.c 		       FZA_STATUS_GET_STATE(readw_u(&fp->regs->status)));
regs             1235 drivers/net/fddi/defza.c 	writew_o(FZA_CONTROL_A_SHUT, &fp->regs->control_a);
regs             1236 drivers/net/fddi/defza.c 	readw_o(&fp->regs->control_a);			/* Synchronize. */
regs             1242 drivers/net/fddi/defza.c 	state = FZA_STATUS_GET_STATE(readw_o(&fp->regs->status));
regs             1345 drivers/net/fddi/defza.c 	fp->regs = mmio + FZA_REG_BASE;
regs             1367 drivers/net/fddi/defza.c 	writew_o(FZA_CONTROL_B_DRIVER, &fp->regs->control_b);
regs              668 drivers/net/fddi/defza.h 	struct fza_regs __iomem *regs;	/* pointer to FZA registers */
regs              183 drivers/net/fjes/fjes_ethtool.c 			  struct ethtool_regs *regs, void *p)
regs              191 drivers/net/fjes/fjes_ethtool.c 	regs->version = 1;
regs              146 drivers/net/hippi/rrunner.c 	rrpriv->regs = pci_iomap(pdev, 0, 0x1000);
regs              147 drivers/net/hippi/rrunner.c 	if (!rrpriv->regs) {
regs              185 drivers/net/hippi/rrunner.c 	writel(readl(&rrpriv->regs->HostCtrl) | NO_SWAP,
regs              186 drivers/net/hippi/rrunner.c 		&rrpriv->regs->HostCtrl);
regs              209 drivers/net/hippi/rrunner.c 	if (rrpriv->regs)
regs              210 drivers/net/hippi/rrunner.c 		pci_iounmap(pdev, rrpriv->regs);
regs              224 drivers/net/hippi/rrunner.c 	if (!(readl(&rr->regs->HostCtrl) & NIC_HALTED)) {
regs              227 drivers/net/hippi/rrunner.c 		writel(HALT_NIC, &rr->regs->HostCtrl);
regs              237 drivers/net/hippi/rrunner.c 	pci_iounmap(pdev, rr->regs);
regs              250 drivers/net/hippi/rrunner.c 	struct rr_regs __iomem *regs;
regs              253 drivers/net/hippi/rrunner.c 	regs = rrpriv->regs;
regs              258 drivers/net/hippi/rrunner.c 	if (readl(&regs->HostCtrl) & NIC_HALTED){
regs              260 drivers/net/hippi/rrunner.c 		       "HostCtrl %08x\n", cmd->code, readl(&regs->HostCtrl));
regs              261 drivers/net/hippi/rrunner.c 		if (readl(&regs->Mode) & FATAL_ERR)
regs              263 drivers/net/hippi/rrunner.c 			       readl(&regs->Fail1), readl(&regs->Fail2));
regs              268 drivers/net/hippi/rrunner.c 	writel(*(u32*)(cmd), &regs->CmdRing[idx]);
regs              275 drivers/net/hippi/rrunner.c 	if (readl(&regs->Mode) & FATAL_ERR)
regs              276 drivers/net/hippi/rrunner.c 		printk("error code %02x\n", readl(&regs->Fail1));
regs              287 drivers/net/hippi/rrunner.c 	struct rr_regs __iomem *regs;
regs              292 drivers/net/hippi/rrunner.c 	regs = rrpriv->regs;
regs              296 drivers/net/hippi/rrunner.c 	writel(0x01000000, &regs->TX_state);
regs              297 drivers/net/hippi/rrunner.c 	writel(0xff800000, &regs->RX_state);
regs              298 drivers/net/hippi/rrunner.c 	writel(0, &regs->AssistState);
regs              299 drivers/net/hippi/rrunner.c 	writel(CLEAR_INTA, &regs->LocalCtrl);
regs              300 drivers/net/hippi/rrunner.c 	writel(0x01, &regs->BrkPt);
regs              301 drivers/net/hippi/rrunner.c 	writel(0, &regs->Timer);
regs              302 drivers/net/hippi/rrunner.c 	writel(0, &regs->TimerRef);
regs              303 drivers/net/hippi/rrunner.c 	writel(RESET_DMA, &regs->DmaReadState);
regs              304 drivers/net/hippi/rrunner.c 	writel(RESET_DMA, &regs->DmaWriteState);
regs              305 drivers/net/hippi/rrunner.c 	writel(0, &regs->DmaWriteHostHi);
regs              306 drivers/net/hippi/rrunner.c 	writel(0, &regs->DmaWriteHostLo);
regs              307 drivers/net/hippi/rrunner.c 	writel(0, &regs->DmaReadHostHi);
regs              308 drivers/net/hippi/rrunner.c 	writel(0, &regs->DmaReadHostLo);
regs              309 drivers/net/hippi/rrunner.c 	writel(0, &regs->DmaReadLen);
regs              310 drivers/net/hippi/rrunner.c 	writel(0, &regs->DmaWriteLen);
regs              311 drivers/net/hippi/rrunner.c 	writel(0, &regs->DmaWriteLcl);
regs              312 drivers/net/hippi/rrunner.c 	writel(0, &regs->DmaWriteIPchecksum);
regs              313 drivers/net/hippi/rrunner.c 	writel(0, &regs->DmaReadLcl);
regs              314 drivers/net/hippi/rrunner.c 	writel(0, &regs->DmaReadIPchecksum);
regs              315 drivers/net/hippi/rrunner.c 	writel(0, &regs->PciState);
regs              317 drivers/net/hippi/rrunner.c 	writel(SWAP_DATA | PTR64BIT | PTR_WD_SWAP, &regs->Mode);
regs              319 drivers/net/hippi/rrunner.c 	writel(SWAP_DATA | PTR64BIT | PTR_WD_NOSWAP, &regs->Mode);
regs              321 drivers/net/hippi/rrunner.c 	writel(SWAP_DATA | PTR32BIT | PTR_WD_NOSWAP, &regs->Mode);
regs              328 drivers/net/hippi/rrunner.c 	writel(0xdf000, &regs->RxBase);
regs              329 drivers/net/hippi/rrunner.c 	writel(0xdf000, &regs->RxPrd);
regs              330 drivers/net/hippi/rrunner.c 	writel(0xdf000, &regs->RxCon);
regs              331 drivers/net/hippi/rrunner.c 	writel(0xce000, &regs->TxBase);
regs              332 drivers/net/hippi/rrunner.c 	writel(0xce000, &regs->TxPrd);
regs              333 drivers/net/hippi/rrunner.c 	writel(0xce000, &regs->TxCon);
regs              334 drivers/net/hippi/rrunner.c 	writel(0, &regs->RxIndPro);
regs              335 drivers/net/hippi/rrunner.c 	writel(0, &regs->RxIndCon);
regs              336 drivers/net/hippi/rrunner.c 	writel(0, &regs->RxIndRef);
regs              337 drivers/net/hippi/rrunner.c 	writel(0, &regs->TxIndPro);
regs              338 drivers/net/hippi/rrunner.c 	writel(0, &regs->TxIndCon);
regs              339 drivers/net/hippi/rrunner.c 	writel(0, &regs->TxIndRef);
regs              340 drivers/net/hippi/rrunner.c 	writel(0xcc000, &regs->pad10[0]);
regs              341 drivers/net/hippi/rrunner.c 	writel(0, &regs->DrCmndPro);
regs              342 drivers/net/hippi/rrunner.c 	writel(0, &regs->DrCmndCon);
regs              343 drivers/net/hippi/rrunner.c 	writel(0, &regs->DwCmndPro);
regs              344 drivers/net/hippi/rrunner.c 	writel(0, &regs->DwCmndCon);
regs              345 drivers/net/hippi/rrunner.c 	writel(0, &regs->DwCmndRef);
regs              346 drivers/net/hippi/rrunner.c 	writel(0, &regs->DrDataPro);
regs              347 drivers/net/hippi/rrunner.c 	writel(0, &regs->DrDataCon);
regs              348 drivers/net/hippi/rrunner.c 	writel(0, &regs->DrDataRef);
regs              349 drivers/net/hippi/rrunner.c 	writel(0, &regs->DwDataPro);
regs              350 drivers/net/hippi/rrunner.c 	writel(0, &regs->DwDataCon);
regs              351 drivers/net/hippi/rrunner.c 	writel(0, &regs->DwDataRef);
regs              354 drivers/net/hippi/rrunner.c 	writel(0xffffffff, &regs->MbEvent);
regs              355 drivers/net/hippi/rrunner.c 	writel(0, &regs->Event);
regs              357 drivers/net/hippi/rrunner.c 	writel(0, &regs->TxPi);
regs              358 drivers/net/hippi/rrunner.c 	writel(0, &regs->IpRxPi);
regs              360 drivers/net/hippi/rrunner.c 	writel(0, &regs->EvtCon);
regs              361 drivers/net/hippi/rrunner.c 	writel(0, &regs->EvtPrd);
regs              366 drivers/net/hippi/rrunner.c 		writel(0, &regs->CmdRing[i]);
regs              371 drivers/net/hippi/rrunner.c 	writel(RBURST_64|WBURST_64, &regs->PciState);
regs              382 drivers/net/hippi/rrunner.c 	writel(start_pc + 0x800, &regs->Pc);
regs              386 drivers/net/hippi/rrunner.c 	writel(start_pc, &regs->Pc);
regs              401 drivers/net/hippi/rrunner.c 	struct rr_regs __iomem *regs = rrpriv->regs;
regs              404 drivers/net/hippi/rrunner.c 	io = readl(&regs->ExtIo);
regs              405 drivers/net/hippi/rrunner.c 	writel(0, &regs->ExtIo);
regs              406 drivers/net/hippi/rrunner.c 	misc = readl(&regs->LocalCtrl);
regs              407 drivers/net/hippi/rrunner.c 	writel(0, &regs->LocalCtrl);
regs              408 drivers/net/hippi/rrunner.c 	host = readl(&regs->HostCtrl);
regs              409 drivers/net/hippi/rrunner.c 	writel(host | HALT_NIC, &regs->HostCtrl);
regs              413 drivers/net/hippi/rrunner.c 		writel((EEPROM_BASE + ((offset+i) << 3)), &regs->WinBase);
regs              415 drivers/net/hippi/rrunner.c 		buf[i] = (readl(&regs->WinData) >> 24) & 0xff;
regs              419 drivers/net/hippi/rrunner.c 	writel(host, &regs->HostCtrl);
regs              420 drivers/net/hippi/rrunner.c 	writel(misc, &regs->LocalCtrl);
regs              421 drivers/net/hippi/rrunner.c 	writel(io, &regs->ExtIo);
regs              453 drivers/net/hippi/rrunner.c 	struct rr_regs __iomem *regs = rrpriv->regs;
regs              456 drivers/net/hippi/rrunner.c 	io = readl(&regs->ExtIo);
regs              457 drivers/net/hippi/rrunner.c 	writel(0, &regs->ExtIo);
regs              458 drivers/net/hippi/rrunner.c 	misc = readl(&regs->LocalCtrl);
regs              459 drivers/net/hippi/rrunner.c 	writel(ENABLE_EEPROM_WRITE, &regs->LocalCtrl);
regs              463 drivers/net/hippi/rrunner.c 		writel((EEPROM_BASE + ((offset+i) << 3)), &regs->WinBase);
regs              470 drivers/net/hippi/rrunner.c 		if ((readl(&regs->WinData) & 0xff000000) != data){
regs              471 drivers/net/hippi/rrunner.c 			writel(data, &regs->WinData);
regs              477 drivers/net/hippi/rrunner.c 				if ((readl(&regs->WinData) & 0xff000000) ==
regs              484 drivers/net/hippi/rrunner.c 					       readl(&regs->WinData));
regs              492 drivers/net/hippi/rrunner.c 	writel(misc, &regs->LocalCtrl);
regs              493 drivers/net/hippi/rrunner.c 	writel(io, &regs->ExtIo);
regs              503 drivers/net/hippi/rrunner.c 	struct rr_regs __iomem *regs;
regs              507 drivers/net/hippi/rrunner.c 	regs = rrpriv->regs;
regs              509 drivers/net/hippi/rrunner.c 	rev = readl(&regs->FwRev);
regs              525 drivers/net/hippi/rrunner.c 	printk("  Maximum receive rings %i\n", readl(&regs->MaxRxRng));
regs              554 drivers/net/hippi/rrunner.c 	struct rr_regs __iomem *regs;
regs              562 drivers/net/hippi/rrunner.c 	regs = rrpriv->regs;
regs              566 drivers/net/hippi/rrunner.c 	hostctrl = readl(&regs->HostCtrl);
regs              567 drivers/net/hippi/rrunner.c 	writel(hostctrl | HALT_NIC | RR_CLEAR_INT, &regs->HostCtrl);
regs              578 drivers/net/hippi/rrunner.c 	set_rxaddr(regs, rrpriv->rx_ctrl_dma);
regs              579 drivers/net/hippi/rrunner.c 	set_infoaddr(regs, rrpriv->info_dma);
regs              593 drivers/net/hippi/rrunner.c 		writel(0, &regs->CmdRing[i]);
regs              620 drivers/net/hippi/rrunner.c 	writel(0x5000, &regs->ConRetry);
regs              621 drivers/net/hippi/rrunner.c 	writel(0x100, &regs->ConRetryTmr);
regs              622 drivers/net/hippi/rrunner.c 	writel(0x500000, &regs->ConTmout);
regs              623 drivers/net/hippi/rrunner.c  	writel(0x60, &regs->IntrTmr);
regs              624 drivers/net/hippi/rrunner.c 	writel(0x500000, &regs->TxDataMvTimeout);
regs              625 drivers/net/hippi/rrunner.c 	writel(0x200000, &regs->RxDataMvTimeout);
regs              626 drivers/net/hippi/rrunner.c  	writel(0x80, &regs->WriteDmaThresh);
regs              627 drivers/net/hippi/rrunner.c  	writel(0x80, &regs->ReadDmaThresh);
regs              633 drivers/net/hippi/rrunner.c 	writel(hostctrl, &regs->HostCtrl);
regs              724 drivers/net/hippi/rrunner.c 	struct rr_regs __iomem *regs;
regs              728 drivers/net/hippi/rrunner.c 	regs = rrpriv->regs;
regs              733 drivers/net/hippi/rrunner.c 			tmp = readl(&regs->FwRev);
regs              738 drivers/net/hippi/rrunner.c 			writel(RX_RING_ENTRIES - 1, &regs->IpRxPi);
regs              758 drivers/net/hippi/rrunner.c 			writel(readl(&regs->HostCtrl)|HALT_NIC|RR_CLEAR_INT,
regs              759 drivers/net/hippi/rrunner.c 			       &regs->HostCtrl);
regs              765 drivers/net/hippi/rrunner.c 			writel(readl(&regs->HostCtrl)|HALT_NIC|RR_CLEAR_INT,
regs              766 drivers/net/hippi/rrunner.c 			       &regs->HostCtrl);
regs              789 drivers/net/hippi/rrunner.c 			writel(readl(&regs->HostCtrl)|HALT_NIC|RR_CLEAR_INT,
regs              790 drivers/net/hippi/rrunner.c 			       &regs->HostCtrl);
regs              801 drivers/net/hippi/rrunner.c 			writel(readl(&regs->HostCtrl)|HALT_NIC|RR_CLEAR_INT,
regs              802 drivers/net/hippi/rrunner.c 			       &regs->HostCtrl);
regs              808 drivers/net/hippi/rrunner.c 			writel(readl(&regs->HostCtrl)|HALT_NIC|RR_CLEAR_INT,
regs              809 drivers/net/hippi/rrunner.c 			       &regs->HostCtrl);
regs              815 drivers/net/hippi/rrunner.c 			writel(readl(&regs->HostCtrl)|HALT_NIC|RR_CLEAR_INT,
regs              816 drivers/net/hippi/rrunner.c 			       &regs->HostCtrl);
regs              822 drivers/net/hippi/rrunner.c 			writel(readl(&regs->HostCtrl)|HALT_NIC|RR_CLEAR_INT,
regs              823 drivers/net/hippi/rrunner.c 			       &regs->HostCtrl);
regs              876 drivers/net/hippi/rrunner.c 			writel(readl(&regs->HostCtrl)|HALT_NIC|RR_CLEAR_INT,
regs              877 drivers/net/hippi/rrunner.c 			       &regs->HostCtrl);
regs              883 drivers/net/hippi/rrunner.c 			writel(readl(&regs->HostCtrl)|HALT_NIC|RR_CLEAR_INT,
regs              884 drivers/net/hippi/rrunner.c 			       &regs->HostCtrl);
regs              890 drivers/net/hippi/rrunner.c 			writel(readl(&regs->HostCtrl)|HALT_NIC|RR_CLEAR_INT,
regs              891 drivers/net/hippi/rrunner.c 			       &regs->HostCtrl);
regs              927 drivers/net/hippi/rrunner.c 	struct rr_regs __iomem *regs = rrpriv->regs;
regs             1007 drivers/net/hippi/rrunner.c 			writel(index, &regs->IpRxPi);
regs             1020 drivers/net/hippi/rrunner.c 	struct rr_regs __iomem *regs;
regs             1025 drivers/net/hippi/rrunner.c 	regs = rrpriv->regs;
regs             1027 drivers/net/hippi/rrunner.c 	if (!(readl(&regs->HostCtrl) & RR_INT))
regs             1032 drivers/net/hippi/rrunner.c 	prodidx = readl(&regs->EvtPrd);
regs             1095 drivers/net/hippi/rrunner.c 	writel(eidx, &regs->EvtCon);
regs             1149 drivers/net/hippi/rrunner.c 	struct rr_regs __iomem *regs = rrpriv->regs;
regs             1152 drivers/net/hippi/rrunner.c 	if (readl(&regs->HostCtrl) & NIC_HALTED){
regs             1163 drivers/net/hippi/rrunner.c 			writel(readl(&regs->HostCtrl)|HALT_NIC|RR_CLEAR_INT,
regs             1164 drivers/net/hippi/rrunner.c 			       &regs->HostCtrl);
regs             1177 drivers/net/hippi/rrunner.c 	struct rr_regs __iomem *regs;
regs             1182 drivers/net/hippi/rrunner.c 	regs = rrpriv->regs;
regs             1210 drivers/net/hippi/rrunner.c 	writel(readl(&regs->HostCtrl)|HALT_NIC|RR_CLEAR_INT, &regs->HostCtrl);
regs             1211 drivers/net/hippi/rrunner.c 	readl(&regs->HostCtrl);
regs             1236 drivers/net/hippi/rrunner.c 	writel(readl(&regs->HostCtrl)|HALT_NIC|RR_CLEAR_INT, &regs->HostCtrl);
regs             1259 drivers/net/hippi/rrunner.c 	struct rr_regs __iomem *regs;
regs             1265 drivers/net/hippi/rrunner.c 	regs = rrpriv->regs;
regs             1270 drivers/net/hippi/rrunner.c 	       readl(&regs->RxPrd), readl(&regs->TxPrd),
regs             1271 drivers/net/hippi/rrunner.c 	       readl(&regs->EvtPrd), readl(&regs->TxPi),
regs             1274 drivers/net/hippi/rrunner.c 	printk("Error code 0x%x\n", readl(&regs->Fail1));
regs             1276 drivers/net/hippi/rrunner.c 	index = (((readl(&regs->EvtPrd) >> 8) & 0xff) - 1) % TX_RING_ENTRIES;
regs             1322 drivers/net/hippi/rrunner.c 	struct rr_regs __iomem *regs = rrpriv->regs;
regs             1337 drivers/net/hippi/rrunner.c 	tmp = readl(&regs->HostCtrl);
regs             1343 drivers/net/hippi/rrunner.c 		writel(tmp, &regs->HostCtrl);
regs             1344 drivers/net/hippi/rrunner.c 		readl(&regs->HostCtrl);
regs             1351 drivers/net/hippi/rrunner.c 	writel(0, &regs->TxPi);
regs             1352 drivers/net/hippi/rrunner.c 	writel(0, &regs->IpRxPi);
regs             1354 drivers/net/hippi/rrunner.c 	writel(0, &regs->EvtCon);
regs             1355 drivers/net/hippi/rrunner.c 	writel(0, &regs->EvtPrd);
regs             1358 drivers/net/hippi/rrunner.c 		writel(0, &regs->CmdRing[i]);
regs             1387 drivers/net/hippi/rrunner.c 	struct rr_regs __iomem *regs = rrpriv->regs;
regs             1395 drivers/net/hippi/rrunner.c 	if (readl(&regs->Mode) & FATAL_ERR)
regs             1397 drivers/net/hippi/rrunner.c 		       readl(&regs->Fail1), readl(&regs->Fail2));
regs             1439 drivers/net/hippi/rrunner.c 	writel(txctrl->pi, &regs->TxPi);
regs             1462 drivers/net/hippi/rrunner.c 	struct rr_regs __iomem *regs;
regs             1469 drivers/net/hippi/rrunner.c 	regs = rrpriv->regs;
regs             1474 drivers/net/hippi/rrunner.c 	if (!(readl(&regs->HostCtrl) & NIC_HALTED)){
regs             1480 drivers/net/hippi/rrunner.c 	localctrl = readl(&regs->LocalCtrl);
regs             1481 drivers/net/hippi/rrunner.c 	writel(0, &regs->LocalCtrl);
regs             1483 drivers/net/hippi/rrunner.c 	writel(0, &regs->EvtPrd);
regs             1484 drivers/net/hippi/rrunner.c 	writel(0, &regs->RxPrd);
regs             1485 drivers/net/hippi/rrunner.c 	writel(0, &regs->TxPrd);
regs             1492 drivers/net/hippi/rrunner.c 	io = readl(&regs->ExtIo);
regs             1493 drivers/net/hippi/rrunner.c 	writel(0, &regs->ExtIo);
regs             1497 drivers/net/hippi/rrunner.c 		writel(i * 4, &regs->WinBase);
regs             1499 drivers/net/hippi/rrunner.c 		writel(0, &regs->WinData);
regs             1502 drivers/net/hippi/rrunner.c 	writel(io, &regs->ExtIo);
regs             1548 drivers/net/hippi/rrunner.c 			writel(sptr, &regs->WinBase);
regs             1550 drivers/net/hippi/rrunner.c 			writel(tmp, &regs->WinData);
regs             1558 drivers/net/hippi/rrunner.c 	writel(localctrl, &regs->LocalCtrl);
regs              513 drivers/net/hippi/rrunner.h static inline void set_rxaddr(struct rr_regs __iomem *regs, volatile dma_addr_t addr)
regs              517 drivers/net/hippi/rrunner.h 	writel(baddr & 0xffffffff, &regs->RxRingHi);
regs              518 drivers/net/hippi/rrunner.h 	writel(baddr >> 32, &regs->RxRingLo);
regs              520 drivers/net/hippi/rrunner.h 	writel(baddr >> 32, &regs->RxRingHi);
regs              521 drivers/net/hippi/rrunner.h 	writel(baddr & 0xffffffff, &regs->RxRingLo);
regs              523 drivers/net/hippi/rrunner.h 	writel(0, &regs->RxRingHi);
regs              524 drivers/net/hippi/rrunner.h 	writel(baddr, &regs->RxRingLo);
regs              530 drivers/net/hippi/rrunner.h static inline void set_infoaddr(struct rr_regs __iomem *regs, volatile dma_addr_t addr)
regs              534 drivers/net/hippi/rrunner.h 	writel(baddr & 0xffffffff, &regs->InfoPtrHi);
regs              535 drivers/net/hippi/rrunner.h 	writel(baddr >> 32, &regs->InfoPtrLo);
regs              537 drivers/net/hippi/rrunner.h 	writel(baddr >> 32, &regs->InfoPtrHi);
regs              538 drivers/net/hippi/rrunner.h 	writel(baddr & 0xffffffff, &regs->InfoPtrLo);
regs              540 drivers/net/hippi/rrunner.h 	writel(0, &regs->InfoPtrHi);
regs              541 drivers/net/hippi/rrunner.h 	writel(baddr, &regs->InfoPtrLo);
regs              811 drivers/net/hippi/rrunner.h 	struct rr_regs		__iomem *regs;		/* Register base */
regs               37 drivers/net/phy/mdio-mscc-miim.c 	void __iomem *regs;
regs               46 drivers/net/phy/mdio-mscc-miim.c 	readl_poll_timeout(miim->regs + MSCC_MIIM_REG_STATUS, val,
regs               66 drivers/net/phy/mdio-mscc-miim.c 	       miim->regs + MSCC_MIIM_REG_CMD);
regs               72 drivers/net/phy/mdio-mscc-miim.c 	val = readl(miim->regs + MSCC_MIIM_REG_DATA);
regs               97 drivers/net/phy/mdio-mscc-miim.c 	       miim->regs + MSCC_MIIM_REG_CMD);
regs              139 drivers/net/phy/mdio-mscc-miim.c 	dev->regs = devm_ioremap_resource(&pdev->dev, res);
regs              140 drivers/net/phy/mdio-mscc-miim.c 	if (IS_ERR(dev->regs)) {
regs              142 drivers/net/phy/mdio-mscc-miim.c 		return PTR_ERR(dev->regs);
regs               56 drivers/net/phy/mdio-mux-meson-g12a.c 	void __iomem *regs;
regs              163 drivers/net/phy/mdio-mux-meson-g12a.c 	writel(EPHY_G12A_ID, priv->regs + ETH_PHY_CNTL0);
regs              170 drivers/net/phy/mdio-mux-meson-g12a.c 	       priv->regs + ETH_PHY_CNTL1);
regs              174 drivers/net/phy/mdio-mux-meson-g12a.c 	       priv->regs + ETH_PHY_CNTL2);
regs              182 drivers/net/phy/mdio-mux-meson-g12a.c 	writel_relaxed(0x0, priv->regs + ETH_PHY_CNTL2);
regs              258 drivers/net/phy/mdio-mux-meson-g12a.c 	mux->reg = priv->regs + ETH_PLL_CTL0;
regs              286 drivers/net/phy/mdio-mux-meson-g12a.c 	pll->base = priv->regs;
regs              313 drivers/net/phy/mdio-mux-meson-g12a.c 	priv->regs = devm_platform_ioremap_resource(pdev, 0);
regs              314 drivers/net/phy/mdio-mux-meson-g12a.c 	if (IS_ERR(priv->regs))
regs              315 drivers/net/phy/mdio-mux-meson-g12a.c 		return PTR_ERR(priv->regs);
regs             1624 drivers/net/usb/lan78xx.c lan78xx_get_regs(struct net_device *netdev, struct ethtool_regs *regs,
regs             2426 drivers/net/usb/lan78xx.c 	u32 regs[6] = { 0 };
regs             2437 drivers/net/usb/lan78xx.c 							      (u8 *)regs);
regs             2446 drivers/net/usb/lan78xx.c 							   (u8 *)regs);
regs             2453 drivers/net/usb/lan78xx.c 	lan78xx_write_reg(dev, LTM_BELT_IDLE0, regs[0]);
regs             2454 drivers/net/usb/lan78xx.c 	lan78xx_write_reg(dev, LTM_BELT_IDLE1, regs[1]);
regs             2455 drivers/net/usb/lan78xx.c 	lan78xx_write_reg(dev, LTM_BELT_ACT0, regs[2]);
regs             2456 drivers/net/usb/lan78xx.c 	lan78xx_write_reg(dev, LTM_BELT_ACT1, regs[3]);
regs             2457 drivers/net/usb/lan78xx.c 	lan78xx_write_reg(dev, LTM_INACTIVE0, regs[4]);
regs             2458 drivers/net/usb/lan78xx.c 	lan78xx_write_reg(dev, LTM_INACTIVE1, regs[5]);
regs              437 drivers/net/usb/mcs7830.c static void mcs7830_get_regs(struct net_device *net, struct ethtool_regs *regs, void *data)
regs              441 drivers/net/usb/mcs7830.c 	regs->version = mcs7830_get_rev(dev);
regs              442 drivers/net/usb/mcs7830.c 	mcs7830_get_reg(dev, 0, regs->len, data);
regs              723 drivers/net/usb/smsc95xx.c smsc95xx_ethtool_getregs(struct net_device *netdev, struct ethtool_regs *regs,
regs              731 drivers/net/usb/smsc95xx.c 	retval = smsc95xx_read_reg(dev, ID_REV, &regs->version);
regs              362 drivers/net/vmxnet3/vmxnet3_ethtool.c vmxnet3_get_regs(struct net_device *netdev, struct ethtool_regs *regs, void *p)
regs              370 drivers/net/vmxnet3/vmxnet3_ethtool.c 	regs->version = 2;
regs             1170 drivers/net/wan/fsl_ucc_hdlc.c 	ut_info->uf_info.regs = res.start;
regs              302 drivers/net/wan/z85230.c 		c->regs[5] |= (RTS | DTR);
regs              304 drivers/net/wan/z85230.c 		c->regs[5] &= ~(RTS | DTR);
regs              305 drivers/net/wan/z85230.c 	write_zsreg(c, R5, c->regs[5]);
regs              422 drivers/net/wan/z85230.c 			write_zsreg(c, R10, c->regs[10]&~ABUNDER);
regs              467 drivers/net/wan/z85230.c 			write_zsreg(chan, R3, chan->regs[3] | RxENABLE);
regs              472 drivers/net/wan/z85230.c 			write_zsreg(chan, R3, chan->regs[3] & ~RxENABLE);
regs              587 drivers/net/wan/z85230.c 			write_zsreg(chan, R3, chan->regs[3] | RxENABLE);
regs              592 drivers/net/wan/z85230.c 			write_zsreg(chan, R3, chan->regs[3] & ~RxENABLE);
regs              803 drivers/net/wan/z85230.c 	c->regs[R1]|=TxINT_ENAB;
regs              804 drivers/net/wan/z85230.c 	write_zsreg(c, R1, c->regs[R1]);
regs              805 drivers/net/wan/z85230.c 	write_zsreg(c, R3, c->regs[R3]|RxENABLE);
regs              834 drivers/net/wan/z85230.c 	write_zsreg(c, R3, c->regs[R3]);
regs              906 drivers/net/wan/z85230.c 	c->regs[R14]|= DTRREQ;
regs              907 drivers/net/wan/z85230.c 	write_zsreg(c, R14, c->regs[R14]);     
regs              909 drivers/net/wan/z85230.c 	c->regs[R1]&= ~TxINT_ENAB;
regs              910 drivers/net/wan/z85230.c 	write_zsreg(c, R1, c->regs[R1]);
regs              916 drivers/net/wan/z85230.c 	c->regs[R1]|= WT_FN_RDYFN;
regs              917 drivers/net/wan/z85230.c 	c->regs[R1]|= WT_RDY_RT;
regs              918 drivers/net/wan/z85230.c 	c->regs[R1]|= INT_ERR_Rx;
regs              919 drivers/net/wan/z85230.c 	c->regs[R1]&= ~TxINT_ENAB;
regs              920 drivers/net/wan/z85230.c 	write_zsreg(c, R1, c->regs[R1]);
regs              921 drivers/net/wan/z85230.c 	c->regs[R1]|= WT_RDY_ENAB;
regs              922 drivers/net/wan/z85230.c 	write_zsreg(c, R1, c->regs[R1]);            
regs              958 drivers/net/wan/z85230.c 	write_zsreg(c, R3, c->regs[R3]|RxENABLE);
regs             1008 drivers/net/wan/z85230.c 	c->regs[R1]&= ~WT_RDY_ENAB;
regs             1009 drivers/net/wan/z85230.c 	write_zsreg(c, R1, c->regs[R1]);            
regs             1010 drivers/net/wan/z85230.c 	c->regs[R1]&= ~(WT_RDY_RT|WT_FN_RDYFN|INT_ERR_Rx);
regs             1011 drivers/net/wan/z85230.c 	c->regs[R1]|= INT_ALL_Rx;
regs             1012 drivers/net/wan/z85230.c 	write_zsreg(c, R1, c->regs[R1]);
regs             1013 drivers/net/wan/z85230.c 	c->regs[R14]&= ~DTRREQ;
regs             1014 drivers/net/wan/z85230.c 	write_zsreg(c, R14, c->regs[R14]);   
regs             1027 drivers/net/wan/z85230.c 	write_zsreg(c, R3, c->regs[R3]);
regs             1102 drivers/net/wan/z85230.c 	c->regs[R14]|= DTRREQ;
regs             1103 drivers/net/wan/z85230.c 	write_zsreg(c, R14, c->regs[R14]);     
regs             1105 drivers/net/wan/z85230.c 	c->regs[R1]&= ~TxINT_ENAB;
regs             1106 drivers/net/wan/z85230.c 	write_zsreg(c, R1, c->regs[R1]);
regs             1131 drivers/net/wan/z85230.c 	write_zsreg(c, R3, c->regs[R3]|RxENABLE);
regs             1177 drivers/net/wan/z85230.c 	c->regs[R1]&= ~WT_RDY_ENAB;
regs             1178 drivers/net/wan/z85230.c 	write_zsreg(c, R1, c->regs[R1]);            
regs             1179 drivers/net/wan/z85230.c 	c->regs[R1]&= ~(WT_RDY_RT|WT_FN_RDYFN|INT_ERR_Rx);
regs             1180 drivers/net/wan/z85230.c 	c->regs[R1]|= INT_ALL_Rx;
regs             1181 drivers/net/wan/z85230.c 	write_zsreg(c, R1, c->regs[R1]);
regs             1182 drivers/net/wan/z85230.c 	c->regs[R14]&= ~DTRREQ;
regs             1183 drivers/net/wan/z85230.c 	write_zsreg(c, R14, c->regs[R14]);   
regs             1191 drivers/net/wan/z85230.c 	write_zsreg(c, R3, c->regs[R3]);
regs             1296 drivers/net/wan/z85230.c 	memcpy(dev->chanA.regs, reg_init, 16);
regs             1297 drivers/net/wan/z85230.c 	memcpy(dev->chanB.regs, reg_init ,16);
regs             1388 drivers/net/wan/z85230.c 			write_zsreg(c, R15, c->regs[15]|1);
regs             1391 drivers/net/wan/z85230.c 			write_zsreg(c, R15, c->regs[15]&~1);
regs             1392 drivers/net/wan/z85230.c 		c->regs[reg]=*rtable++;
regs             1403 drivers/net/wan/z85230.c 	write_zsreg(c, R3, c->regs[R3]|RxENABLE);
regs             1482 drivers/net/wan/z85230.c 			write_zsreg(c, R10, c->regs[10]&~ABUNDER);
regs             1489 drivers/net/wan/z85230.c 			write_zsreg(c, R5, c->regs[R5]|TxENAB);
regs             1495 drivers/net/wan/z85230.c 			write_zsreg(c, R10, c->regs[10]);
regs              280 drivers/net/wan/z85230.h 	u8		regs[32];	/* Register map for the chip */
regs              365 drivers/net/wireless/ath/ath10k/ce.h 				ar->regs->ce_wrap_intr_sum_host_msi_lsb
regs              367 drivers/net/wireless/ath/ath10k/ce.h 				ar->regs->ce_wrap_intr_sum_host_msi_mask
regs             3132 drivers/net/wireless/ath/ath10k/core.c 		ar->regs = &qca988x_regs;
regs             3138 drivers/net/wireless/ath/ath10k/core.c 		ar->regs = &qca6174_regs;
regs             3144 drivers/net/wireless/ath/ath10k/core.c 		ar->regs = &qca99x0_regs;
regs             3149 drivers/net/wireless/ath/ath10k/core.c 		ar->regs = &qca99x0_regs;
regs             3154 drivers/net/wireless/ath/ath10k/core.c 		ar->regs = &qca4019_regs;
regs             3159 drivers/net/wireless/ath/ath10k/core.c 		ar->regs = &wcn3990_regs;
regs              986 drivers/net/wireless/ath/ath10k/core.h 	const struct ath10k_hw_regs *regs;
regs              746 drivers/net/wireless/ath/ath10k/hw.c 	if (ar->regs->core_clk_div_address == 0 ||
regs              747 drivers/net/wireless/ath/ath10k/hw.c 	    ar->regs->cpu_pll_init_address == 0 ||
regs              748 drivers/net/wireless/ath/ath10k/hw.c 	    ar->regs->cpu_speed_address == 0)
regs              751 drivers/net/wireless/ath/ath10k/hw.c 	clk_div_addr = ar->regs->core_clk_div_address;
regs              752 drivers/net/wireless/ath/ath10k/hw.c 	pll_init_addr = ar->regs->cpu_pll_init_address;
regs              753 drivers/net/wireless/ath/ath10k/hw.c 	speed_addr = ar->regs->cpu_speed_address;
regs              867 drivers/net/wireless/ath/ath10k/hw.h #define RTC_SOC_BASE_ADDRESS			ar->regs->rtc_soc_base_address
regs              868 drivers/net/wireless/ath/ath10k/hw.h #define RTC_WMAC_BASE_ADDRESS			ar->regs->rtc_wmac_base_address
regs              872 drivers/net/wireless/ath/ath10k/hw.h #define SOC_CORE_BASE_ADDRESS			ar->regs->soc_core_base_address
regs              877 drivers/net/wireless/ath/ath10k/hw.h #define WLAN_MAC_BASE_ADDRESS			ar->regs->wlan_mac_base_address
regs              881 drivers/net/wireless/ath/ath10k/hw.h #define CE_WRAPPER_BASE_ADDRESS			ar->regs->ce_wrapper_base_address
regs              882 drivers/net/wireless/ath/ath10k/hw.h #define CE0_BASE_ADDRESS			ar->regs->ce0_base_address
regs              883 drivers/net/wireless/ath/ath10k/hw.h #define CE1_BASE_ADDRESS			ar->regs->ce1_base_address
regs              884 drivers/net/wireless/ath/ath10k/hw.h #define CE2_BASE_ADDRESS			ar->regs->ce2_base_address
regs              885 drivers/net/wireless/ath/ath10k/hw.h #define CE3_BASE_ADDRESS			ar->regs->ce3_base_address
regs              886 drivers/net/wireless/ath/ath10k/hw.h #define CE4_BASE_ADDRESS			ar->regs->ce4_base_address
regs              887 drivers/net/wireless/ath/ath10k/hw.h #define CE5_BASE_ADDRESS			ar->regs->ce5_base_address
regs              888 drivers/net/wireless/ath/ath10k/hw.h #define CE6_BASE_ADDRESS			ar->regs->ce6_base_address
regs              889 drivers/net/wireless/ath/ath10k/hw.h #define CE7_BASE_ADDRESS			ar->regs->ce7_base_address
regs              892 drivers/net/wireless/ath/ath10k/hw.h #define PCIE_LOCAL_BASE_ADDRESS		ar->regs->pcie_local_base_address
regs              896 drivers/net/wireless/ath/ath10k/hw.h #define SOC_RESET_CONTROL_SI0_RST_MASK		ar->regs->soc_reset_control_si0_rst_mask
regs              897 drivers/net/wireless/ath/ath10k/hw.h #define SOC_RESET_CONTROL_CE_RST_MASK		ar->regs->soc_reset_control_ce_rst_mask
regs              911 drivers/net/wireless/ath/ath10k/hw.h #define SOC_CHIP_ID_ADDRESS			ar->regs->soc_chip_id_address
regs              973 drivers/net/wireless/ath/ath10k/hw.h #define PCIE_INTR_CLR_ADDRESS			ar->regs->pcie_intr_clr_address
regs              974 drivers/net/wireless/ath/ath10k/hw.h #define SCRATCH_3_ADDRESS			ar->regs->scratch_3_address
regs              981 drivers/net/wireless/ath/ath10k/hw.h #define FW_INDICATOR_ADDRESS			ar->regs->fw_indicator_address
regs              987 drivers/net/wireless/ath/ath10k/hw.h #define PCIE_INTR_FIRMWARE_MASK			ar->regs->pcie_intr_fw_mask
regs              988 drivers/net/wireless/ath/ath10k/hw.h #define PCIE_INTR_CE_MASK_ALL			ar->regs->pcie_intr_ce_mask_all
regs             1383 drivers/net/wireless/ath/ath10k/sdio.c 	struct ath10k_sdio_irq_enable_regs *regs = irq_data->irq_en_reg;
regs             1388 drivers/net/wireless/ath/ath10k/sdio.c 	memset(regs, 0, sizeof(*regs));
regs             1390 drivers/net/wireless/ath/ath10k/sdio.c 				&regs->int_status_en, sizeof(*regs));
regs             1508 drivers/net/wireless/ath/ath10k/sdio.c 	struct ath10k_sdio_irq_enable_regs *regs = irq_data->irq_en_reg;
regs             1514 drivers/net/wireless/ath/ath10k/sdio.c 	regs->int_status_en = FIELD_PREP(MBOX_INT_STATUS_ENABLE_ERROR_MASK, 1) |
regs             1521 drivers/net/wireless/ath/ath10k/sdio.c 	regs->int_status_en |=
regs             1527 drivers/net/wireless/ath/ath10k/sdio.c 	regs->cpu_int_status_en = FIELD_PREP(MBOX_CPU_STATUS_ENABLE_ASSERT_MASK, 1);
regs             1530 drivers/net/wireless/ath/ath10k/sdio.c 	regs->err_int_status_en =
regs             1537 drivers/net/wireless/ath/ath10k/sdio.c 	regs->cntr_int_status_en =
regs             1542 drivers/net/wireless/ath/ath10k/sdio.c 				&regs->int_status_en, sizeof(*regs));
regs             1736 drivers/net/wireless/ath/ath10k/sdio.c 	struct ath10k_sdio_irq_enable_regs *regs = irq_data->irq_en_reg;
regs             1741 drivers/net/wireless/ath/ath10k/sdio.c 	skb = dev_alloc_skb(sizeof(*regs));
regs             1747 drivers/net/wireless/ath/ath10k/sdio.c 	memset(regs, 0, sizeof(*regs)); /* disable all interrupts */
regs             1748 drivers/net/wireless/ath/ath10k/sdio.c 	memcpy(skb->data, regs, sizeof(*regs));
regs             1749 drivers/net/wireless/ath/ath10k/sdio.c 	skb_put(skb, sizeof(*regs));
regs               42 drivers/net/wireless/ath/ath5k/attach.c 	static const u16 regs[2] = { AR5K_STA_ID0, AR5K_PHY(8) };
regs               51 drivers/net/wireless/ath/ath5k/attach.c 		cur_reg = regs[c];
regs               88 drivers/net/wireless/ath/ath5k/debug.c static const struct reg regs[] = {
regs              141 drivers/net/wireless/ath/ath5k/debug.c 	return *pos < ARRAY_SIZE(regs) ? (void *)&regs[*pos] : NULL;
regs              152 drivers/net/wireless/ath/ath5k/debug.c 	return *pos < ARRAY_SIZE(regs) ? (void *)&regs[*pos] : NULL;
regs              202 drivers/net/wireless/ath/ath6kl/hif.c 	struct ath6kl_irq_enable_reg regs;
regs              218 drivers/net/wireless/ath/ath6kl/hif.c 	memcpy(&regs, &dev->irq_en_reg, sizeof(regs));
regs              223 drivers/net/wireless/ath/ath6kl/hif.c 				     &regs.int_status_en,
regs              570 drivers/net/wireless/ath/ath6kl/hif.c 	struct ath6kl_irq_enable_reg regs;
regs              601 drivers/net/wireless/ath/ath6kl/hif.c 	memcpy(&regs, &dev->irq_en_reg, sizeof(regs));
regs              606 drivers/net/wireless/ath/ath6kl/hif.c 				     &regs.int_status_en, sizeof(regs),
regs              618 drivers/net/wireless/ath/ath6kl/hif.c 	struct ath6kl_irq_enable_reg regs;
regs              626 drivers/net/wireless/ath/ath6kl/hif.c 	memcpy(&regs, &dev->irq_en_reg, sizeof(regs));
regs              630 drivers/net/wireless/ath/ath6kl/hif.c 				   &regs.int_status_en, sizeof(regs),
regs               63 drivers/net/wireless/ath/carl9170/cmd.c 		       const u32 *regs, u32 *out)
regs               71 drivers/net/wireless/ath/carl9170/cmd.c 		offs[i] = cpu_to_le32(regs[i]);
regs               48 drivers/net/wireless/ath/carl9170/cmd.h 		       const u32 *regs, u32 *out);
regs              156 drivers/net/wireless/ath/carl9170/cmd.h 	__cmd->wreg.regs[__nreg].addr = cpu_to_le32(r);			\
regs              157 drivers/net/wireless/ath/carl9170/cmd.h 	__cmd->wreg.regs[__nreg].val = cpu_to_le32(v);			\
regs              117 drivers/net/wireless/ath/carl9170/fwcmd.h 	__le32		regs[0];
regs              124 drivers/net/wireless/ath/carl9170/fwcmd.h 	} regs[0] __packed;
regs             4838 drivers/net/wireless/ath/wcn36xx/hal.h 	} regs[];
regs             2388 drivers/net/wireless/ath/wcn36xx/smd.c 			    rsp->regs[i].addr, rsp->regs[i].value);
regs              199 drivers/net/wireless/broadcom/b43/phy_ht.c 	static const u16 regs[3] = { B43_PHY_HT_RF_CTL_INT_C1,
regs              206 drivers/net/wireless/broadcom/b43/phy_ht.c 			b43_phy_write(dev, regs[i], htphy->rf_ctl_int_save[i]);
regs              209 drivers/net/wireless/broadcom/b43/phy_ht.c 			htphy->rf_ctl_int_save[i] = b43_phy_read(dev, regs[i]);
regs              212 drivers/net/wireless/broadcom/b43/phy_ht.c 			b43_phy_write(dev, regs[i], 0x0400);
regs             4397 drivers/net/wireless/broadcom/b43/phy_n.c 	u16 *regs = dev->phy.n->tx_rx_cal_phy_saveregs;
regs             4399 drivers/net/wireless/broadcom/b43/phy_n.c 	b43_phy_write(dev, B43_NPHY_RFSEQCA, regs[0]);
regs             4401 drivers/net/wireless/broadcom/b43/phy_n.c 		b43_phy_write(dev, B43_NPHY_AFECTL_C1, regs[1]);
regs             4402 drivers/net/wireless/broadcom/b43/phy_n.c 		b43_phy_write(dev, B43_NPHY_AFECTL_OVER1, regs[2]);
regs             4404 drivers/net/wireless/broadcom/b43/phy_n.c 		b43_phy_write(dev, B43_NPHY_AFECTL_C2, regs[1]);
regs             4405 drivers/net/wireless/broadcom/b43/phy_n.c 		b43_phy_write(dev, B43_NPHY_AFECTL_OVER, regs[2]);
regs             4407 drivers/net/wireless/broadcom/b43/phy_n.c 	b43_phy_write(dev, B43_NPHY_RFCTL_INTC1, regs[3]);
regs             4408 drivers/net/wireless/broadcom/b43/phy_n.c 	b43_phy_write(dev, B43_NPHY_RFCTL_INTC2, regs[4]);
regs             4409 drivers/net/wireless/broadcom/b43/phy_n.c 	b43_phy_write(dev, B43_NPHY_RFCTL_RSSIO1, regs[5]);
regs             4410 drivers/net/wireless/broadcom/b43/phy_n.c 	b43_phy_write(dev, B43_NPHY_RFCTL_RSSIO2, regs[6]);
regs             4411 drivers/net/wireless/broadcom/b43/phy_n.c 	b43_phy_write(dev, B43_NPHY_TXF_40CO_B1S1, regs[7]);
regs             4412 drivers/net/wireless/broadcom/b43/phy_n.c 	b43_phy_write(dev, B43_NPHY_RFCTL_OVER, regs[8]);
regs             4413 drivers/net/wireless/broadcom/b43/phy_n.c 	b43_phy_write(dev, B43_NPHY_PAPD_EN0, regs[9]);
regs             4414 drivers/net/wireless/broadcom/b43/phy_n.c 	b43_phy_write(dev, B43_NPHY_PAPD_EN1, regs[10]);
regs             4421 drivers/net/wireless/broadcom/b43/phy_n.c 	u16 *regs = dev->phy.n->tx_rx_cal_phy_saveregs;
regs             4423 drivers/net/wireless/broadcom/b43/phy_n.c 	regs[0] = b43_phy_read(dev, B43_NPHY_RFSEQCA);
regs             4425 drivers/net/wireless/broadcom/b43/phy_n.c 		regs[1] = b43_phy_read(dev, B43_NPHY_AFECTL_C1);
regs             4426 drivers/net/wireless/broadcom/b43/phy_n.c 		regs[2] = b43_phy_read(dev, B43_NPHY_AFECTL_OVER1);
regs             4428 drivers/net/wireless/broadcom/b43/phy_n.c 		regs[1] = b43_phy_read(dev, B43_NPHY_AFECTL_C2);
regs             4429 drivers/net/wireless/broadcom/b43/phy_n.c 		regs[2] = b43_phy_read(dev, B43_NPHY_AFECTL_OVER);
regs             4431 drivers/net/wireless/broadcom/b43/phy_n.c 	regs[3] = b43_phy_read(dev, B43_NPHY_RFCTL_INTC1);
regs             4432 drivers/net/wireless/broadcom/b43/phy_n.c 	regs[4] = b43_phy_read(dev, B43_NPHY_RFCTL_INTC2);
regs             4433 drivers/net/wireless/broadcom/b43/phy_n.c 	regs[5] = b43_phy_read(dev, B43_NPHY_RFCTL_RSSIO1);
regs             4434 drivers/net/wireless/broadcom/b43/phy_n.c 	regs[6] = b43_phy_read(dev, B43_NPHY_RFCTL_RSSIO2);
regs             4435 drivers/net/wireless/broadcom/b43/phy_n.c 	regs[7] = b43_phy_read(dev, B43_NPHY_TXF_40CO_B1S1);
regs             4436 drivers/net/wireless/broadcom/b43/phy_n.c 	regs[8] = b43_phy_read(dev, B43_NPHY_RFCTL_OVER);
regs             4437 drivers/net/wireless/broadcom/b43/phy_n.c 	regs[9] = b43_phy_read(dev, B43_NPHY_PAPD_EN0);
regs             4438 drivers/net/wireless/broadcom/b43/phy_n.c 	regs[10] = b43_phy_read(dev, B43_NPHY_PAPD_EN1);
regs             5083 drivers/net/wireless/broadcom/b43/phy_n.c 	u16 *regs = dev->phy.n->tx_rx_cal_phy_saveregs;
regs             5086 drivers/net/wireless/broadcom/b43/phy_n.c 		b43_phy_write(dev, B43_NPHY_AFECTL_C1, regs[0]);
regs             5087 drivers/net/wireless/broadcom/b43/phy_n.c 		b43_phy_write(dev, B43_NPHY_AFECTL_C2, regs[1]);
regs             5088 drivers/net/wireless/broadcom/b43/phy_n.c 		b43_phy_write(dev, B43_NPHY_AFECTL_OVER1, regs[2]);
regs             5089 drivers/net/wireless/broadcom/b43/phy_n.c 		b43_phy_write(dev, B43_NPHY_AFECTL_OVER, regs[3]);
regs             5090 drivers/net/wireless/broadcom/b43/phy_n.c 		b43_phy_write(dev, B43_NPHY_BBCFG, regs[4]);
regs             5091 drivers/net/wireless/broadcom/b43/phy_n.c 		b43_ntab_write(dev, B43_NTAB16(8, 3), regs[5]);
regs             5092 drivers/net/wireless/broadcom/b43/phy_n.c 		b43_ntab_write(dev, B43_NTAB16(8, 19), regs[6]);
regs             5093 drivers/net/wireless/broadcom/b43/phy_n.c 		b43_phy_write(dev, B43_NPHY_RFCTL_INTC1, regs[7]);
regs             5094 drivers/net/wireless/broadcom/b43/phy_n.c 		b43_phy_write(dev, B43_NPHY_RFCTL_INTC2, regs[8]);
regs             5095 drivers/net/wireless/broadcom/b43/phy_n.c 		b43_phy_write(dev, B43_NPHY_PAPD_EN0, regs[9]);
regs             5096 drivers/net/wireless/broadcom/b43/phy_n.c 		b43_phy_write(dev, B43_NPHY_PAPD_EN1, regs[10]);
regs             5099 drivers/net/wireless/broadcom/b43/phy_n.c 		b43_phy_maskset(dev, B43_NPHY_AFECTL_C1, 0x0FFF, regs[0]);
regs             5100 drivers/net/wireless/broadcom/b43/phy_n.c 		b43_phy_maskset(dev, B43_NPHY_AFECTL_C2, 0x0FFF, regs[1]);
regs             5101 drivers/net/wireless/broadcom/b43/phy_n.c 		b43_phy_write(dev, B43_NPHY_AFECTL_OVER, regs[2]);
regs             5102 drivers/net/wireless/broadcom/b43/phy_n.c 		b43_ntab_write(dev, B43_NTAB16(8, 2), regs[3]);
regs             5103 drivers/net/wireless/broadcom/b43/phy_n.c 		b43_ntab_write(dev, B43_NTAB16(8, 18), regs[4]);
regs             5104 drivers/net/wireless/broadcom/b43/phy_n.c 		b43_phy_write(dev, B43_NPHY_RFCTL_INTC1, regs[5]);
regs             5105 drivers/net/wireless/broadcom/b43/phy_n.c 		b43_phy_write(dev, B43_NPHY_RFCTL_INTC2, regs[6]);
regs             5114 drivers/net/wireless/broadcom/b43/phy_n.c 	u16 *regs = dev->phy.n->tx_rx_cal_phy_saveregs;
regs             5117 drivers/net/wireless/broadcom/b43/phy_n.c 	regs[0] = b43_phy_read(dev, B43_NPHY_AFECTL_C1);
regs             5118 drivers/net/wireless/broadcom/b43/phy_n.c 	regs[1] = b43_phy_read(dev, B43_NPHY_AFECTL_C2);
regs             5124 drivers/net/wireless/broadcom/b43/phy_n.c 		regs[2] = tmp;
regs             5128 drivers/net/wireless/broadcom/b43/phy_n.c 		regs[3] = tmp;
regs             5131 drivers/net/wireless/broadcom/b43/phy_n.c 		regs[4] = b43_phy_read(dev, B43_NPHY_BBCFG);
regs             5136 drivers/net/wireless/broadcom/b43/phy_n.c 		regs[5] = tmp;
regs             5140 drivers/net/wireless/broadcom/b43/phy_n.c 		regs[6] = tmp;
regs             5142 drivers/net/wireless/broadcom/b43/phy_n.c 		regs[7] = b43_phy_read(dev, B43_NPHY_RFCTL_INTC1);
regs             5143 drivers/net/wireless/broadcom/b43/phy_n.c 		regs[8] = b43_phy_read(dev, B43_NPHY_RFCTL_INTC2);
regs             5154 drivers/net/wireless/broadcom/b43/phy_n.c 		regs[9] = b43_phy_read(dev, B43_NPHY_PAPD_EN0);
regs             5155 drivers/net/wireless/broadcom/b43/phy_n.c 		regs[10] = b43_phy_read(dev, B43_NPHY_PAPD_EN1);
regs             5189 drivers/net/wireless/broadcom/b43/phy_n.c 		regs[2] = tmp;
regs             5192 drivers/net/wireless/broadcom/b43/phy_n.c 		regs[3] = tmp;
regs             5196 drivers/net/wireless/broadcom/b43/phy_n.c 		regs[4] = tmp;
regs             5199 drivers/net/wireless/broadcom/b43/phy_n.c 		regs[5] = b43_phy_read(dev, B43_NPHY_RFCTL_INTC1);
regs             5200 drivers/net/wireless/broadcom/b43/phy_n.c 		regs[6] = b43_phy_read(dev, B43_NPHY_RFCTL_INTC2);
regs              253 drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c 	void __iomem *regs;
regs              346 drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c 	void __iomem *address = devinfo->regs + reg_offset;
regs              356 drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c 	void __iomem *address = devinfo->regs + reg_offset;
regs             1648 drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c 	devinfo->regs = ioremap_nocache(bar0_addr, BRCMF_PCIE_REG_MAP_SIZE);
regs             1651 drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c 	if (!devinfo->regs || !devinfo->tcm) {
regs             1652 drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c 		brcmf_err(bus, "ioremap() failed (%p,%p)\n", devinfo->regs,
regs             1657 drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c 		  devinfo->regs, (unsigned long long)bar0_addr);
regs             1670 drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c 	if (devinfo->regs)
regs             1671 drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c 		iounmap(devinfo->regs);
regs              151 drivers/net/wireless/intersil/hostap/hostap_hw.c 			      struct hfa384x_regs *regs)
regs              153 drivers/net/wireless/intersil/hostap/hostap_hw.c 	regs->cmd = HFA384X_INW(HFA384X_CMD_OFF);
regs              154 drivers/net/wireless/intersil/hostap/hostap_hw.c 	regs->evstat = HFA384X_INW(HFA384X_EVSTAT_OFF);
regs              155 drivers/net/wireless/intersil/hostap/hostap_hw.c 	regs->offset0 = HFA384X_INW(HFA384X_OFFSET0_OFF);
regs              156 drivers/net/wireless/intersil/hostap/hostap_hw.c 	regs->offset1 = HFA384X_INW(HFA384X_OFFSET1_OFF);
regs              157 drivers/net/wireless/intersil/hostap/hostap_hw.c 	regs->swsupport0 = HFA384X_INW(HFA384X_SWSUPPORT0_OFF);
regs              768 drivers/net/wireless/intersil/hostap/hostap_main.c 	struct hfa384x_regs regs;
regs              776 drivers/net/wireless/intersil/hostap/hostap_main.c 	local->func->read_regs(dev, &regs);
regs              779 drivers/net/wireless/intersil/hostap/hostap_main.c 	       dev->name, regs.cmd, regs.evstat, regs.offset0, regs.offset1,
regs              780 drivers/net/wireless/intersil/hostap/hostap_main.c 	       regs.swsupport0);
regs              588 drivers/net/wireless/intersil/hostap/hostap_wlan.h 	void (*read_regs)(struct net_device *dev, struct hfa384x_regs *regs);
regs              189 drivers/net/wireless/marvell/mwl8k.c 	void __iomem *regs;
regs              499 drivers/net/wireless/marvell/mwl8k.c 		priv->regs + MWL8K_HIU_H2A_INTERRUPT_EVENTS);
regs              501 drivers/net/wireless/marvell/mwl8k.c 		priv->regs + MWL8K_HIU_H2A_INTERRUPT_EVENTS);
regs              604 drivers/net/wireless/marvell/mwl8k.c 	void __iomem *regs = priv->regs;
regs              612 drivers/net/wireless/marvell/mwl8k.c 	iowrite32(dma_addr, regs + MWL8K_HIU_GEN_PTR);
regs              613 drivers/net/wireless/marvell/mwl8k.c 	iowrite32(0, regs + MWL8K_HIU_INT_CODE);
regs              615 drivers/net/wireless/marvell/mwl8k.c 		regs + MWL8K_HIU_H2A_INTERRUPT_EVENTS);
regs              617 drivers/net/wireless/marvell/mwl8k.c 		regs + MWL8K_HIU_H2A_INTERRUPT_EVENTS);
regs              623 drivers/net/wireless/marvell/mwl8k.c 			int_code = ioread32(regs +
regs              628 drivers/net/wireless/marvell/mwl8k.c 			int_code = ioread32(regs + MWL8K_HIU_INT_CODE);
regs              630 drivers/net/wireless/marvell/mwl8k.c 				iowrite32(0, regs + MWL8K_HIU_INT_CODE);
regs              702 drivers/net/wireless/marvell/mwl8k.c 		block_size = ioread32(priv->regs + MWL8K_HIU_SCRATCH);
regs              782 drivers/net/wireless/marvell/mwl8k.c 	iowrite32(MWL8K_MODE_STA, priv->regs + MWL8K_HIU_GEN_PTR);
regs              788 drivers/net/wireless/marvell/mwl8k.c 		ready_code = ioread32(priv->regs + MWL8K_HIU_INT_CODE);
regs             1493 drivers/net/wireless/marvell/mwl8k.c 		priv->regs + MWL8K_HIU_H2A_INTERRUPT_EVENTS);
regs             1495 drivers/net/wireless/marvell/mwl8k.c 		priv->regs + MWL8K_HIU_H2A_INTERRUPT_EVENTS);
regs             1496 drivers/net/wireless/marvell/mwl8k.c 	ioread32(priv->regs + MWL8K_HIU_INT_CODE);
regs             2103 drivers/net/wireless/marvell/mwl8k.c 		tx->timestamp = cpu_to_le32(ioread32(priv->regs +
regs             2203 drivers/net/wireless/marvell/mwl8k.c 	void __iomem *regs = priv->regs;
regs             2248 drivers/net/wireless/marvell/mwl8k.c 	iowrite32(dma_addr, regs + MWL8K_HIU_GEN_PTR);
regs             2250 drivers/net/wireless/marvell/mwl8k.c 		regs + MWL8K_HIU_H2A_INTERRUPT_EVENTS);
regs             2252 drivers/net/wireless/marvell/mwl8k.c 		regs + MWL8K_HIU_H2A_INTERRUPT_EVENTS);
regs             3112 drivers/net/wireless/marvell/mwl8k.c 	cca_cnt = ioread32(priv->regs + NOK_CCA_CNT_REG);
regs             3116 drivers/net/wireless/marvell/mwl8k.c 	rx_rdy = ioread32(priv->regs + BBU_RXRDY_CNT_REG);
regs             3851 drivers/net/wireless/marvell/mwl8k.c 	status = ioread32(priv->regs + MWL8K_HIU_A2H_INTERRUPT_STATUS_MASK);
regs             3853 drivers/net/wireless/marvell/mwl8k.c 		  priv->regs + MWL8K_HIU_A2H_INTERRUPT_STATUS_MASK);
regs             4593 drivers/net/wireless/marvell/mwl8k.c 	status = ioread32(priv->regs + MWL8K_HIU_A2H_INTERRUPT_STATUS);
regs             4609 drivers/net/wireless/marvell/mwl8k.c 			  priv->regs + MWL8K_HIU_A2H_INTERRUPT_STATUS_MASK);
regs             4617 drivers/net/wireless/marvell/mwl8k.c 		iowrite32(~status, priv->regs + MWL8K_HIU_A2H_INTERRUPT_STATUS);
regs             4656 drivers/net/wireless/marvell/mwl8k.c 		       priv->regs + MWL8K_HIU_A2H_INTERRUPT_STATUS);
regs             4674 drivers/net/wireless/marvell/mwl8k.c 		       priv->regs + MWL8K_HIU_A2H_INTERRUPT_STATUS);
regs             4720 drivers/net/wireless/marvell/mwl8k.c 	iowrite32(MWL8K_A2H_EVENTS, priv->regs + MWL8K_HIU_A2H_INTERRUPT_MASK);
regs             4722 drivers/net/wireless/marvell/mwl8k.c 		  priv->regs + MWL8K_HIU_A2H_INTERRUPT_STATUS_MASK);
regs             4750 drivers/net/wireless/marvell/mwl8k.c 		iowrite32(0, priv->regs + MWL8K_HIU_A2H_INTERRUPT_MASK);
regs             4773 drivers/net/wireless/marvell/mwl8k.c 	iowrite32(0, priv->regs + MWL8K_HIU_A2H_INTERRUPT_MASK);
regs             5579 drivers/net/wireless/marvell/mwl8k.c 	ioread32(priv->regs + BBU_RXRDY_CNT_REG);
regs             5580 drivers/net/wireless/marvell/mwl8k.c 	ioread32(priv->regs + NOK_CCA_CNT_REG);
regs             5599 drivers/net/wireless/marvell/mwl8k.c 	ioread32(priv->regs + BBU_RXRDY_CNT_REG);
regs             5600 drivers/net/wireless/marvell/mwl8k.c 	ioread32(priv->regs + NOK_CCA_CNT_REG);
regs             5904 drivers/net/wireless/marvell/mwl8k.c 	iowrite32(0, priv->regs + MWL8K_HIU_A2H_INTERRUPT_STATUS);
regs             5905 drivers/net/wireless/marvell/mwl8k.c 	iowrite32(0, priv->regs + MWL8K_HIU_A2H_INTERRUPT_MASK);
regs             5908 drivers/net/wireless/marvell/mwl8k.c 		  priv->regs + MWL8K_HIU_A2H_INTERRUPT_CLEAR_SEL);
regs             5910 drivers/net/wireless/marvell/mwl8k.c 		  priv->regs + MWL8K_HIU_A2H_INTERRUPT_STATUS_MASK);
regs             5933 drivers/net/wireless/marvell/mwl8k.c 	iowrite32(MWL8K_A2H_EVENTS, priv->regs + MWL8K_HIU_A2H_INTERRUPT_MASK);
regs             5974 drivers/net/wireless/marvell/mwl8k.c 	iowrite32(0, priv->regs + MWL8K_HIU_A2H_INTERRUPT_MASK);
regs             5987 drivers/net/wireless/marvell/mwl8k.c 	iowrite32(0, priv->regs + MWL8K_HIU_A2H_INTERRUPT_MASK);
regs             6243 drivers/net/wireless/marvell/mwl8k.c 	priv->regs = pci_iomap(pdev, 1, 0x10000);
regs             6244 drivers/net/wireless/marvell/mwl8k.c 	if (priv->regs == NULL) {
regs             6245 drivers/net/wireless/marvell/mwl8k.c 		priv->regs = pci_iomap(pdev, 2, 0x10000);
regs             6246 drivers/net/wireless/marvell/mwl8k.c 		if (priv->regs == NULL) {
regs             6287 drivers/net/wireless/marvell/mwl8k.c 	if (priv->regs != NULL)
regs             6288 drivers/net/wireless/marvell/mwl8k.c 		pci_iounmap(pdev, priv->regs);
regs             6344 drivers/net/wireless/marvell/mwl8k.c 	pci_iounmap(pdev, priv->regs);
regs               20 drivers/net/wireless/mediatek/mt76/dma.c 	q->regs = dev->mmio.regs + ring_base + idx * MT_RING_SIZE;
regs               39 drivers/net/wireless/mediatek/mt76/dma.c 	writel(q->desc_dma, &q->regs->desc_base);
regs               40 drivers/net/wireless/mediatek/mt76/dma.c 	writel(0, &q->regs->cpu_idx);
regs               41 drivers/net/wireless/mediatek/mt76/dma.c 	writel(0, &q->regs->dma_idx);
regs               42 drivers/net/wireless/mediatek/mt76/dma.c 	writel(q->ndesc, &q->regs->ring_size);
regs              131 drivers/net/wireless/mediatek/mt76/dma.c 	writel(q->desc_dma, &q->regs->desc_base);
regs              132 drivers/net/wireless/mediatek/mt76/dma.c 	writel(q->ndesc, &q->regs->ring_size);
regs              133 drivers/net/wireless/mediatek/mt76/dma.c 	q->head = readl(&q->regs->dma_idx);
regs              135 drivers/net/wireless/mediatek/mt76/dma.c 	writel(q->head, &q->regs->cpu_idx);
regs              155 drivers/net/wireless/mediatek/mt76/dma.c 		last = readl(&q->regs->dma_idx);
regs              175 drivers/net/wireless/mediatek/mt76/dma.c 			last = readl(&q->regs->dma_idx);
regs              253 drivers/net/wireless/mediatek/mt76/dma.c 	writel(q->head, &q->regs->cpu_idx);
regs               13 drivers/net/wireless/mediatek/mt76/mmio.c 	val = readl(dev->mmio.regs + offset);
regs               22 drivers/net/wireless/mediatek/mt76/mmio.c 	writel(val, dev->mmio.regs + offset);
regs               35 drivers/net/wireless/mediatek/mt76/mmio.c 	__iowrite32_copy(dev->mmio.regs + offset, data, DIV_ROUND_UP(len, 4));
regs               41 drivers/net/wireless/mediatek/mt76/mmio.c 	__ioread32_copy(data, dev->mmio.regs + offset, DIV_ROUND_UP(len, 4));
regs               81 drivers/net/wireless/mediatek/mt76/mmio.c void mt76_mmio_init(struct mt76_dev *dev, void __iomem *regs)
regs               95 drivers/net/wireless/mediatek/mt76/mmio.c 	dev->mmio.regs = regs;
regs              109 drivers/net/wireless/mediatek/mt76/mt76.h 	struct mt76_queue_regs __iomem *regs;
regs              419 drivers/net/wireless/mediatek/mt76/mt76.h 	void __iomem *regs;
regs              581 drivers/net/wireless/mediatek/mt76/mt76.h void mt76_mmio_init(struct mt76_dev *dev, void __iomem *regs);
regs             1404 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 		dma_idx = readl(&q->regs->dma_idx);
regs             1408 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 		    dma_idx != readl(&q->regs->cpu_idx))
regs               12 drivers/net/wireless/mediatek/mt76/mt76x02_beacon.c 	u32 regs[4] = {};
regs               18 drivers/net/wireless/mediatek/mt76/mt76x02_beacon.c 		regs[i / 4] |= (val / 64) << (8 * (i % 4));
regs               22 drivers/net/wireless/mediatek/mt76/mt76x02_beacon.c 		mt76_wr(dev, MT_BCN_OFFSET(i), regs[i]);
regs              370 drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c 		dma_idx = readl(&q->regs->dma_idx);
regs              139 drivers/net/wireless/mediatek/mt7601u/init.c 	u32 regs[4] = {};
regs              145 drivers/net/wireless/mediatek/mt7601u/init.c 		regs[i / 4] |= ((addr - base) / 64) << (8 * (i % 4));
regs              149 drivers/net/wireless/mediatek/mt7601u/init.c 		mt7601u_wr(dev, MT_BCN_OFFSET(i), regs[i]);
regs              265 drivers/net/wireless/mediatek/mt7601u/initvals_phy.h 	const struct mt76_reg_pair *regs;
regs              298 drivers/net/wireless/mediatek/mt7601u/phy.c 	return mt7601u_write_reg_pairs(dev, MT_MCU_MEMMAP_BBP, t->regs, t->n);
regs              314 drivers/net/wireless/mediatek/mt7601u/phy.c 				      t[2].regs, t[2].n);
regs              319 drivers/net/wireless/mediatek/mt7601u/phy.c 				       t[dev->bw].regs, t[dev->bw].n);
regs             4660 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	u32 regs[TX_PWR_CFG_IDX_COUNT];
regs             4666 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	memset(regs, '\0', sizeof(regs));
regs             4689 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2x00_set_field32(&regs[TX_PWR_CFG_0_IDX],
regs             4691 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2x00_set_field32(&regs[TX_PWR_CFG_0_IDX],
regs             4693 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2x00_set_field32(&regs[TX_PWR_CFG_0_EXT_IDX],
regs             4700 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2x00_set_field32(&regs[TX_PWR_CFG_0_IDX],
regs             4702 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2x00_set_field32(&regs[TX_PWR_CFG_0_IDX],
regs             4704 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2x00_set_field32(&regs[TX_PWR_CFG_0_EXT_IDX],
regs             4711 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2x00_set_field32(&regs[TX_PWR_CFG_0_IDX],
regs             4713 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2x00_set_field32(&regs[TX_PWR_CFG_0_IDX],
regs             4715 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2x00_set_field32(&regs[TX_PWR_CFG_0_EXT_IDX],
regs             4722 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2x00_set_field32(&regs[TX_PWR_CFG_0_IDX],
regs             4724 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2x00_set_field32(&regs[TX_PWR_CFG_0_IDX],
regs             4726 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2x00_set_field32(&regs[TX_PWR_CFG_0_EXT_IDX],
regs             4737 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2x00_set_field32(&regs[TX_PWR_CFG_1_IDX],
regs             4739 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2x00_set_field32(&regs[TX_PWR_CFG_1_IDX],
regs             4741 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2x00_set_field32(&regs[TX_PWR_CFG_1_EXT_IDX],
regs             4748 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2x00_set_field32(&regs[TX_PWR_CFG_1_IDX],
regs             4750 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2x00_set_field32(&regs[TX_PWR_CFG_1_IDX],
regs             4752 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2x00_set_field32(&regs[TX_PWR_CFG_1_EXT_IDX],
regs             4759 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2x00_set_field32(&regs[TX_PWR_CFG_7_IDX],
regs             4761 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2x00_set_field32(&regs[TX_PWR_CFG_7_IDX],
regs             4763 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2x00_set_field32(&regs[TX_PWR_CFG_7_IDX],
regs             4774 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2x00_set_field32(&regs[TX_PWR_CFG_1_IDX],
regs             4776 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2x00_set_field32(&regs[TX_PWR_CFG_1_IDX],
regs             4778 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2x00_set_field32(&regs[TX_PWR_CFG_1_EXT_IDX],
regs             4785 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2x00_set_field32(&regs[TX_PWR_CFG_1_IDX],
regs             4787 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2x00_set_field32(&regs[TX_PWR_CFG_1_IDX],
regs             4789 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2x00_set_field32(&regs[TX_PWR_CFG_1_EXT_IDX],
regs             4796 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2x00_set_field32(&regs[TX_PWR_CFG_2_IDX],
regs             4798 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2x00_set_field32(&regs[TX_PWR_CFG_2_IDX],
regs             4800 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2x00_set_field32(&regs[TX_PWR_CFG_2_EXT_IDX],
regs             4807 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2x00_set_field32(&regs[TX_PWR_CFG_2_IDX],
regs             4809 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2x00_set_field32(&regs[TX_PWR_CFG_2_IDX],
regs             4811 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2x00_set_field32(&regs[TX_PWR_CFG_2_EXT_IDX],
regs             4822 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2x00_set_field32(&regs[TX_PWR_CFG_7_IDX],
regs             4824 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2x00_set_field32(&regs[TX_PWR_CFG_7_IDX],
regs             4826 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2x00_set_field32(&regs[TX_PWR_CFG_7_IDX],
regs             4833 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2x00_set_field32(&regs[TX_PWR_CFG_2_IDX],
regs             4835 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2x00_set_field32(&regs[TX_PWR_CFG_2_IDX],
regs             4837 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2x00_set_field32(&regs[TX_PWR_CFG_2_EXT_IDX],
regs             4844 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2x00_set_field32(&regs[TX_PWR_CFG_2_IDX],
regs             4846 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2x00_set_field32(&regs[TX_PWR_CFG_2_IDX],
regs             4848 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2x00_set_field32(&regs[TX_PWR_CFG_2_EXT_IDX],
regs             4855 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2x00_set_field32(&regs[TX_PWR_CFG_3_IDX],
regs             4857 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2x00_set_field32(&regs[TX_PWR_CFG_3_IDX],
regs             4859 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2x00_set_field32(&regs[TX_PWR_CFG_3_EXT_IDX],
regs             4870 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2x00_set_field32(&regs[TX_PWR_CFG_3_IDX],
regs             4872 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2x00_set_field32(&regs[TX_PWR_CFG_3_IDX],
regs             4874 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2x00_set_field32(&regs[TX_PWR_CFG_3_EXT_IDX],
regs             4881 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2x00_set_field32(&regs[TX_PWR_CFG_8_IDX],
regs             4883 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2x00_set_field32(&regs[TX_PWR_CFG_8_IDX],
regs             4885 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2x00_set_field32(&regs[TX_PWR_CFG_8_IDX],
regs             4892 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2x00_set_field32(&regs[TX_PWR_CFG_5_IDX],
regs             4894 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2x00_set_field32(&regs[TX_PWR_CFG_5_IDX],
regs             4896 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2x00_set_field32(&regs[TX_PWR_CFG_5_IDX],
regs             4903 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2x00_set_field32(&regs[TX_PWR_CFG_5_IDX],
regs             4905 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2x00_set_field32(&regs[TX_PWR_CFG_5_IDX],
regs             4907 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2x00_set_field32(&regs[TX_PWR_CFG_5_IDX],
regs             4918 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2x00_set_field32(&regs[TX_PWR_CFG_6_IDX],
regs             4920 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2x00_set_field32(&regs[TX_PWR_CFG_6_IDX],
regs             4922 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2x00_set_field32(&regs[TX_PWR_CFG_6_IDX],
regs             4929 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2x00_set_field32(&regs[TX_PWR_CFG_6_IDX],
regs             4931 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2x00_set_field32(&regs[TX_PWR_CFG_6_IDX],
regs             4933 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2x00_set_field32(&regs[TX_PWR_CFG_6_IDX],
regs             4940 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2x00_set_field32(&regs[TX_PWR_CFG_8_IDX],
regs             4942 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2x00_set_field32(&regs[TX_PWR_CFG_8_IDX],
regs             4944 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2x00_set_field32(&regs[TX_PWR_CFG_8_IDX],
regs             4955 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2x00_set_field32(&regs[TX_PWR_CFG_3_IDX],
regs             4957 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2x00_set_field32(&regs[TX_PWR_CFG_3_IDX],
regs             4959 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2x00_set_field32(&regs[TX_PWR_CFG_3_EXT_IDX],
regs             4966 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2x00_set_field32(&regs[TX_PWR_CFG_3_IDX],
regs             4968 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2x00_set_field32(&regs[TX_PWR_CFG_3_IDX],
regs             4970 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2x00_set_field32(&regs[TX_PWR_CFG_3_EXT_IDX],
regs             4977 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2x00_set_field32(&regs[TX_PWR_CFG_4_IDX], TX_PWR_CFG_RATE0, txpower);
regs             4978 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2x00_set_field32(&regs[TX_PWR_CFG_4_IDX], TX_PWR_CFG_RATE1, txpower);
regs             4979 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2x00_set_field32(&regs[TX_PWR_CFG_4_EXT_IDX], TX_PWR_CFG_RATE0,
regs             4986 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2x00_set_field32(&regs[TX_PWR_CFG_4_IDX], TX_PWR_CFG_RATE2, txpower);
regs             4987 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2x00_set_field32(&regs[TX_PWR_CFG_4_IDX], TX_PWR_CFG_RATE3, txpower);
regs             4988 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2x00_set_field32(&regs[TX_PWR_CFG_4_EXT_IDX], TX_PWR_CFG_RATE2,
regs             4999 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2x00_set_field32(&regs[TX_PWR_CFG_9_IDX],
regs             5001 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2x00_set_field32(&regs[TX_PWR_CFG_9_IDX],
regs             5003 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2x00_set_field32(&regs[TX_PWR_CFG_9_IDX],
regs             5006 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2800_register_write(rt2x00dev, TX_PWR_CFG_0, regs[TX_PWR_CFG_0_IDX]);
regs             5007 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2800_register_write(rt2x00dev, TX_PWR_CFG_1, regs[TX_PWR_CFG_1_IDX]);
regs             5008 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2800_register_write(rt2x00dev, TX_PWR_CFG_2, regs[TX_PWR_CFG_2_IDX]);
regs             5009 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2800_register_write(rt2x00dev, TX_PWR_CFG_3, regs[TX_PWR_CFG_3_IDX]);
regs             5010 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2800_register_write(rt2x00dev, TX_PWR_CFG_4, regs[TX_PWR_CFG_4_IDX]);
regs             5011 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2800_register_write(rt2x00dev, TX_PWR_CFG_5, regs[TX_PWR_CFG_5_IDX]);
regs             5012 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2800_register_write(rt2x00dev, TX_PWR_CFG_6, regs[TX_PWR_CFG_6_IDX]);
regs             5013 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2800_register_write(rt2x00dev, TX_PWR_CFG_7, regs[TX_PWR_CFG_7_IDX]);
regs             5014 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2800_register_write(rt2x00dev, TX_PWR_CFG_8, regs[TX_PWR_CFG_8_IDX]);
regs             5015 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2800_register_write(rt2x00dev, TX_PWR_CFG_9, regs[TX_PWR_CFG_9_IDX]);
regs             5018 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 			      regs[TX_PWR_CFG_0_EXT_IDX]);
regs             5020 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 			      regs[TX_PWR_CFG_1_EXT_IDX]);
regs             5022 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 			      regs[TX_PWR_CFG_2_EXT_IDX]);
regs             5024 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 			      regs[TX_PWR_CFG_3_EXT_IDX]);
regs             5026 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 			      regs[TX_PWR_CFG_4_EXT_IDX]);
regs             5037 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 			   (unsigned long) regs[i]);
regs             1373 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.h void rtl8xxxu_save_regs(struct rtl8xxxu_priv *priv, const u32 *regs,
regs             1375 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.h void rtl8xxxu_restore_regs(struct rtl8xxxu_priv *priv, const u32 *regs,
regs             1381 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.h void rtl8xxxu_path_adda_on(struct rtl8xxxu_priv *priv, const u32 *regs,
regs             1384 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.h 			      const u32 *regs, u32 *backup);
regs             2966 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c void rtl8xxxu_save_regs(struct rtl8xxxu_priv *priv, const u32 *regs,
regs             2972 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 		backup[i] = rtl8xxxu_read32(priv, regs[i]);
regs             2975 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c void rtl8xxxu_restore_regs(struct rtl8xxxu_priv *priv, const u32 *regs,
regs             2981 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 		rtl8xxxu_write32(priv, regs[i], backup[i]);
regs             2985 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c void rtl8xxxu_path_adda_on(struct rtl8xxxu_priv *priv, const u32 *regs,
regs             2993 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 		rtl8xxxu_write32(priv, regs[0], priv->fops->adda_1t_init);
regs             2998 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 		rtl8xxxu_write32(priv, regs[0], path_on);
regs             3002 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 		rtl8xxxu_write32(priv, regs[i], path_on);
regs             3006 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 			      const u32 *regs, u32 *backup)
regs             3010 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 	rtl8xxxu_write8(priv, regs[i], 0x3f);
regs             3013 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 		rtl8xxxu_write8(priv, regs[i], (u8)(backup[i] & ~BIT(3)));
regs             3015 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 	rtl8xxxu_write8(priv, regs[i], (u8)(backup[i] & ~BIT(5)));
regs             1629 drivers/net/wireless/zydas/zd1211rw/zd_usb.c 	struct usb_int_regs *regs = (struct usb_int_regs *)rr->buffer;
regs             1634 drivers/net/wireless/zydas/zd1211rw/zd_usb.c 	if (rr->length < struct_size(regs, regs, count)) {
regs             1637 drivers/net/wireless/zydas/zd1211rw/zd_usb.c 			 rr->length, struct_size(regs, regs, count));
regs             1649 drivers/net/wireless/zydas/zd1211rw/zd_usb.c 		struct reg_data *rd = &regs->regs[i];
regs             1670 drivers/net/wireless/zydas/zd1211rw/zd_usb.c 	struct usb_int_regs *regs = (struct usb_int_regs *)rr->buffer;
regs             1687 drivers/net/wireless/zydas/zd1211rw/zd_usb.c 		struct reg_data *rd = &regs->regs[i];
regs              121 drivers/net/wireless/zydas/zd1211rw/zd_usb.h 	struct reg_data regs[0];
regs              298 drivers/oprofile/cpu_buffer.c __oprofile_add_ext_sample(unsigned long pc, struct pt_regs * const regs,
regs              317 drivers/oprofile/cpu_buffer.c 	oprofile_ops.backtrace(regs, backtrace);
regs              321 drivers/oprofile/cpu_buffer.c void oprofile_add_ext_hw_sample(unsigned long pc, struct pt_regs * const regs,
regs              325 drivers/oprofile/cpu_buffer.c 	__oprofile_add_ext_sample(pc, regs, event, is_kernel, task);
regs              328 drivers/oprofile/cpu_buffer.c void oprofile_add_ext_sample(unsigned long pc, struct pt_regs * const regs,
regs              331 drivers/oprofile/cpu_buffer.c 	__oprofile_add_ext_sample(pc, regs, event, is_kernel, NULL);
regs              334 drivers/oprofile/cpu_buffer.c void oprofile_add_sample(struct pt_regs * const regs, unsigned long event)
regs              339 drivers/oprofile/cpu_buffer.c 	if (likely(regs)) {
regs              340 drivers/oprofile/cpu_buffer.c 		is_kernel = !user_mode(regs);
regs              341 drivers/oprofile/cpu_buffer.c 		pc = profile_pc(regs);
regs              347 drivers/oprofile/cpu_buffer.c 	__oprofile_add_ext_sample(pc, regs, event, is_kernel, NULL);
regs              357 drivers/oprofile/cpu_buffer.c oprofile_write_reserve(struct op_entry *entry, struct pt_regs * const regs,
regs              361 drivers/oprofile/cpu_buffer.c 	int is_kernel = !user_mode(regs);
regs               31 drivers/oprofile/nmi_timer_int.c 			       struct pt_regs *regs)
regs               34 drivers/oprofile/nmi_timer_int.c 	oprofile_add_sample(regs, 0);
regs               37 drivers/oprofile/oprofile_perf.c 			struct perf_sample_data *data, struct pt_regs *regs)
regs               47 drivers/oprofile/oprofile_perf.c 		oprofile_add_sample(regs, id);
regs              250 drivers/parport/parport_ip32.c 	struct parport_ip32_regs	regs;
regs              329 drivers/parport/parport_ip32.c 		unsigned int ecr = readb(priv->regs.ecr);
regs              347 drivers/parport/parport_ip32.c 		oecr = readb(priv->regs.ecr);
regs              348 drivers/parport/parport_ip32.c 		writeb(ECR_MODE_PS2, priv->regs.ecr);
regs              349 drivers/parport/parport_ip32.c 		writeb(ECR_MODE_CFG, priv->regs.ecr);
regs              350 drivers/parport/parport_ip32.c 		cnfgA = readb(priv->regs.cnfgA);
regs              351 drivers/parport/parport_ip32.c 		cnfgB = readb(priv->regs.cnfgB);
regs              352 drivers/parport/parport_ip32.c 		writeb(ECR_MODE_PS2, priv->regs.ecr);
regs              353 drivers/parport/parport_ip32.c 		writeb(oecr, priv->regs.ecr);
regs              386 drivers/parport/parport_ip32.c 		unsigned int dcr = i ? priv->dcr_cache : readb(priv->regs.dcr);
regs              405 drivers/parport/parport_ip32.c 		unsigned int dsr = readb(priv->regs.dsr);
regs              793 drivers/parport/parport_ip32.c 	return readb(priv->regs.ecr);
regs              805 drivers/parport/parport_ip32.c 	writeb(c, priv->regs.ecr);
regs              859 drivers/parport/parport_ip32.c 	return readb(priv->regs.data);
regs              870 drivers/parport/parport_ip32.c 	writeb(d, priv->regs.data);
regs              880 drivers/parport/parport_ip32.c 	return readb(priv->regs.dsr);
regs              904 drivers/parport/parport_ip32.c 	writeb(c, priv->regs.dcr);
regs             1078 drivers/parport/parport_ip32.c 		writeb(r | DSR_TIMEOUT, priv->regs.dsr);
regs             1080 drivers/parport/parport_ip32.c 		writeb(r & ~DSR_TIMEOUT, priv->regs.dsr);
regs             1109 drivers/parport/parport_ip32.c 		if (readb(priv->regs.dsr) & DSR_TIMEOUT) {
regs             1118 drivers/parport/parport_ip32.c 			if (readb(priv->regs.dsr) & DSR_TIMEOUT) {
regs             1148 drivers/parport/parport_ip32.c 		if (readb(priv->regs.dsr) & DSR_TIMEOUT) {
regs             1157 drivers/parport/parport_ip32.c 			if (readb(priv->regs.dsr) & DSR_TIMEOUT) {
regs             1178 drivers/parport/parport_ip32.c 	return parport_ip32_epp_read(priv->regs.eppData0, p, buf, len, flags);
regs             1192 drivers/parport/parport_ip32.c 	return parport_ip32_epp_write(priv->regs.eppData0, p, buf, len, flags);
regs             1206 drivers/parport/parport_ip32.c 	return parport_ip32_epp_read(priv->regs.eppAddr, p, buf, len, flags);
regs             1220 drivers/parport/parport_ip32.c 	return parport_ip32_epp_write(priv->regs.eppAddr, p, buf, len, flags);
regs             1401 drivers/parport/parport_ip32.c 			writeb(*bufp, priv->regs.fifo);
regs             1404 drivers/parport/parport_ip32.c 			writesb(priv->regs.fifo, bufp, count);
regs             1566 drivers/parport/parport_ip32.c 			writeb(0x00, priv->regs.fifo);
regs             1593 drivers/parport/parport_ip32.c 	cnfga = readb(priv->regs.cnfgA);
regs             1813 drivers/parport/parport_ip32.c 	writeb(ecr, priv->regs.ecr);
regs             1814 drivers/parport/parport_ip32.c 	if (readb(priv->regs.ecr) != (ecr | ECR_F_EMPTY))
regs             1844 drivers/parport/parport_ip32.c 	configa = readb(priv->regs.cnfgA);
regs             1845 drivers/parport/parport_ip32.c 	configb = readb(priv->regs.cnfgB);
regs             1872 drivers/parport/parport_ip32.c 	writeb(configb | CNFGB_COMPRESS, priv->regs.cnfgB);
regs             1873 drivers/parport/parport_ip32.c 	if (readb(priv->regs.cnfgB) & CNFGB_COMPRESS)
regs             1875 drivers/parport/parport_ip32.c 	writeb(configb & ~CNFGB_COMPRESS, priv->regs.cnfgB);
regs             1881 drivers/parport/parport_ip32.c 	if (!(readb(priv->regs.ecr) & ECR_F_EMPTY)) {
regs             1889 drivers/parport/parport_ip32.c 		if (readb(priv->regs.ecr) & ECR_F_FULL) {
regs             1894 drivers/parport/parport_ip32.c 		writeb((u8)i, priv->regs.fifo);
regs             1913 drivers/parport/parport_ip32.c 		if (readb(priv->regs.fifo) != (u8)i) {
regs             1918 drivers/parport/parport_ip32.c 		    && readb(priv->regs.ecr) & ECR_SERVINTR)
regs             1922 drivers/parport/parport_ip32.c 		    && readb(priv->regs.ecr) & ECR_F_EMPTY) {
regs             1935 drivers/parport/parport_ip32.c 	if (!(readb(priv->regs.ecr) & ECR_F_EMPTY)) {
regs             1953 drivers/parport/parport_ip32.c 		writeb(0xaa, priv->regs.fifo);
regs             1954 drivers/parport/parport_ip32.c 		if (readb(priv->regs.ecr) & ECR_SERVINTR) {
regs             1992 drivers/parport/parport_ip32.c parport_ip32_make_isa_registers(struct parport_ip32_regs *regs,
regs             1998 drivers/parport/parport_ip32.c 	*regs = (struct parport_ip32_regs){
regs             2025 drivers/parport/parport_ip32.c 	struct parport_ip32_regs regs;
regs             2031 drivers/parport/parport_ip32.c 	parport_ip32_make_isa_registers(&regs, &mace->isa.parallel,
regs             2047 drivers/parport/parport_ip32.c 		.regs			= regs,
regs               53 drivers/parport/parport_sunbpp.c 	struct bpp_regs __iomem *regs = (struct bpp_regs __iomem *)p->base;
regs               56 drivers/parport/parport_sunbpp.c 	tmp = sbus_readl(&regs->p_csr);
regs               58 drivers/parport/parport_sunbpp.c 	sbus_writel(tmp, &regs->p_csr);
regs               63 drivers/parport/parport_sunbpp.c 	struct bpp_regs __iomem *regs = (struct bpp_regs __iomem *)p->base;
regs               66 drivers/parport/parport_sunbpp.c 	tmp = sbus_readl(&regs->p_csr);
regs               68 drivers/parport/parport_sunbpp.c 	sbus_writel(tmp, &regs->p_csr);
regs               73 drivers/parport/parport_sunbpp.c 	struct bpp_regs __iomem *regs = (struct bpp_regs __iomem *)p->base;
regs               75 drivers/parport/parport_sunbpp.c 	sbus_writeb(d, &regs->p_dr);
regs               81 drivers/parport/parport_sunbpp.c 	struct bpp_regs __iomem *regs = (struct bpp_regs __iomem *)p->base;
regs               83 drivers/parport/parport_sunbpp.c 	return sbus_readb(&regs->p_dr);
regs               88 drivers/parport/parport_sunbpp.c 	struct bpp_regs __iomem *regs = (struct bpp_regs __iomem *)p->base;
regs               90 drivers/parport/parport_sunbpp.c 	unsigned char value_tcr = sbus_readb(&regs->p_tcr);
regs               91 drivers/parport/parport_sunbpp.c 	unsigned char value_ir = sbus_readb(&regs->p_ir);
regs              111 drivers/parport/parport_sunbpp.c 	struct bpp_regs __iomem *regs = (struct bpp_regs __iomem *)p->base;
regs              113 drivers/parport/parport_sunbpp.c 	unsigned char value_tcr = sbus_readb(&regs->p_tcr);
regs              114 drivers/parport/parport_sunbpp.c 	unsigned char value_or = sbus_readb(&regs->p_or);
regs              139 drivers/parport/parport_sunbpp.c 	struct bpp_regs __iomem *regs = (struct bpp_regs __iomem *)p->base;
regs              140 drivers/parport/parport_sunbpp.c 	unsigned char value_tcr = sbus_readb(&regs->p_tcr);
regs              141 drivers/parport/parport_sunbpp.c 	unsigned char value_or = sbus_readb(&regs->p_or);
regs              174 drivers/parport/parport_sunbpp.c 	sbus_writeb(value_or, &regs->p_or);
regs              175 drivers/parport/parport_sunbpp.c 	sbus_writeb(value_tcr, &regs->p_tcr);
regs              198 drivers/parport/parport_sunbpp.c 	struct bpp_regs __iomem *regs = (struct bpp_regs __iomem *)p->base;
regs              199 drivers/parport/parport_sunbpp.c 	unsigned char value_tcr = sbus_readb(&regs->p_tcr);
regs              203 drivers/parport/parport_sunbpp.c 	sbus_writeb(value_tcr, &regs->p_tcr);
regs              208 drivers/parport/parport_sunbpp.c 	struct bpp_regs __iomem *regs = (struct bpp_regs __iomem *)p->base;
regs              209 drivers/parport/parport_sunbpp.c 	u8 val = sbus_readb(&regs->p_tcr);
regs              213 drivers/parport/parport_sunbpp.c 	sbus_writeb(val, &regs->p_tcr);
regs              272 drivers/parport/parport_sunbpp.c 	struct bpp_regs __iomem *regs;
regs              311 drivers/parport/parport_sunbpp.c 	regs = (struct bpp_regs __iomem *)p->base;
regs              313 drivers/parport/parport_sunbpp.c 	value_tcr = sbus_readb(&regs->p_tcr);
regs              315 drivers/parport/parport_sunbpp.c 	sbus_writeb(value_tcr, &regs->p_tcr);
regs              304 drivers/pci/controller/dwc/pci-imx6.c 		unsigned int fsr, struct pt_regs *regs)
regs              306 drivers/pci/controller/dwc/pci-imx6.c 	unsigned long pc = instruction_pointer(regs);
regs              322 drivers/pci/controller/dwc/pci-imx6.c 		regs->uregs[reg] = val;
regs              323 drivers/pci/controller/dwc/pci-imx6.c 		regs->ARM_pc += 4;
regs              328 drivers/pci/controller/dwc/pci-imx6.c 		regs->uregs[reg] = -1;
regs              329 drivers/pci/controller/dwc/pci-imx6.c 		regs->ARM_pc += 4;
regs              764 drivers/pci/controller/dwc/pci-keystone.c 			 struct pt_regs *regs)
regs              766 drivers/pci/controller/dwc/pci-keystone.c 	unsigned long instr = *(unsigned long *) instruction_pointer(regs);
regs              771 drivers/pci/controller/dwc/pci-keystone.c 		regs->uregs[reg] = -1;
regs              772 drivers/pci/controller/dwc/pci-keystone.c 		regs->ARM_pc += 4;
regs              432 drivers/pci/controller/pci-ftpci100.c 	struct resource *regs;
regs              478 drivers/pci/controller/pci-ftpci100.c 	regs = platform_get_resource(pdev, IORESOURCE_MEM, 0);
regs              479 drivers/pci/controller/pci-ftpci100.c 	p->base = devm_ioremap_resource(dev, regs);
regs              711 drivers/pci/controller/pci-mvebu.c 	struct resource regs;
regs              714 drivers/pci/controller/pci-mvebu.c 	ret = of_address_to_resource(np, 0, &regs);
regs              718 drivers/pci/controller/pci-mvebu.c 	return devm_ioremap_resource(&pdev->dev, &regs);
regs              339 drivers/pci/controller/pci-tegra.c 		} regs;
regs              397 drivers/pci/controller/pci-tegra.c 	struct resource regs;
regs              614 drivers/pci/controller/pci-tegra.c 	value |= soc->ectl.regs.rp_ectl_2_r1;
regs              619 drivers/pci/controller/pci-tegra.c 	value |= soc->ectl.regs.rp_ectl_4_r1 <<
regs              625 drivers/pci/controller/pci-tegra.c 	value |= soc->ectl.regs.rp_ectl_5_r1;
regs              630 drivers/pci/controller/pci-tegra.c 	value |= soc->ectl.regs.rp_ectl_6_r1;
regs              635 drivers/pci/controller/pci-tegra.c 	value |= soc->ectl.regs.rp_ectl_2_r2;
regs              640 drivers/pci/controller/pci-tegra.c 	value |= soc->ectl.regs.rp_ectl_4_r2 <<
regs              646 drivers/pci/controller/pci-tegra.c 	value |= soc->ectl.regs.rp_ectl_5_r2;
regs              651 drivers/pci/controller/pci-tegra.c 	value |= soc->ectl.regs.rp_ectl_6_r2;
regs              774 drivers/pci/controller/pci-tegra.c 	devm_release_mem_region(dev, port->regs.start,
regs              775 drivers/pci/controller/pci-tegra.c 				resource_size(&port->regs));
regs             2282 drivers/pci/controller/pci-tegra.c 		err = of_address_to_resource(port, 0, &rp->regs);
regs             2294 drivers/pci/controller/pci-tegra.c 		rp->base = devm_pci_remap_cfg_resource(dev, &rp->regs);
regs             2596 drivers/pci/controller/pci-tegra.c 		.regs = {
regs              736 drivers/pci/controller/pci-v3-semi.c 	struct resource *regs;
regs              772 drivers/pci/controller/pci-v3-semi.c 	regs = platform_get_resource(pdev, IORESOURCE_MEM, 0);
regs              773 drivers/pci/controller/pci-v3-semi.c 	v3->base = devm_ioremap_resource(dev, regs);
regs              781 drivers/pci/controller/pci-v3-semi.c 	if (readl(v3->base + V3_LB_IO_BASE) != (regs->start >> 16))
regs              783 drivers/pci/controller/pci-v3-semi.c 			readl(v3->base + V3_LB_IO_BASE), regs);
regs              786 drivers/pci/controller/pci-v3-semi.c 	regs = platform_get_resource(pdev, IORESOURCE_MEM, 1);
regs              787 drivers/pci/controller/pci-v3-semi.c 	if (resource_size(regs) != SZ_16M) {
regs              791 drivers/pci/controller/pci-v3-semi.c 	v3->config_mem = regs->start;
regs              792 drivers/pci/controller/pci-v3-semi.c 	v3->config_base = devm_ioremap_resource(dev, regs);
regs             1424 drivers/pci/controller/pcie-iproc.c 	const u16 *regs;
regs             1428 drivers/pci/controller/pcie-iproc.c 		regs = iproc_pcie_reg_paxb_bcma;
regs             1431 drivers/pci/controller/pcie-iproc.c 		regs = iproc_pcie_reg_paxb;
regs             1439 drivers/pci/controller/pcie-iproc.c 		regs = iproc_pcie_reg_paxb_v2;
regs             1453 drivers/pci/controller/pcie-iproc.c 		regs = iproc_pcie_reg_paxc;
regs             1459 drivers/pci/controller/pcie-iproc.c 		regs = iproc_pcie_reg_paxc_v2;
regs             1478 drivers/pci/controller/pcie-iproc.c 		IPROC_PCIE_REG_INVALID : regs[0];
regs             1480 drivers/pci/controller/pcie-iproc.c 		pcie->reg_offsets[reg_idx] = regs[reg_idx] ?
regs             1481 drivers/pci/controller/pcie-iproc.c 			regs[reg_idx] : IPROC_PCIE_REG_INVALID;
regs              898 drivers/pci/controller/pcie-mediatek.c 	struct resource *regs;
regs              909 drivers/pci/controller/pcie-mediatek.c 	regs = platform_get_resource_byname(pdev, IORESOURCE_MEM, name);
regs              910 drivers/pci/controller/pcie-mediatek.c 	port->base = devm_ioremap_resource(dev, regs);
regs              979 drivers/pci/controller/pcie-mediatek.c 	struct resource *regs;
regs              983 drivers/pci/controller/pcie-mediatek.c 	regs = platform_get_resource_byname(pdev, IORESOURCE_MEM, "subsys");
regs              984 drivers/pci/controller/pcie-mediatek.c 	if (regs) {
regs              985 drivers/pci/controller/pcie-mediatek.c 		pcie->base = devm_ioremap_resource(dev, regs);
regs               30 drivers/pci/controller/pcie-rockchip.c 	struct resource *regs;
regs               34 drivers/pci/controller/pcie-rockchip.c 		regs = platform_get_resource_byname(pdev,
regs               37 drivers/pci/controller/pcie-rockchip.c 		rockchip->reg_base = devm_pci_remap_cfg_resource(dev, regs);
regs               48 drivers/pci/controller/pcie-rockchip.c 	regs = platform_get_resource_byname(pdev, IORESOURCE_MEM,
regs               50 drivers/pci/controller/pcie-rockchip.c 	rockchip->apb_base = devm_ioremap_resource(dev, regs);
regs              161 drivers/pci/controller/pcie-rockchip.c 	u32 regs;
regs              240 drivers/pci/controller/pcie-rockchip.c 	regs = PCIE_CLIENT_LINK_TRAIN_ENABLE | PCIE_CLIENT_ARI_ENABLE |
regs              244 drivers/pci/controller/pcie-rockchip.c 		regs |= PCIE_CLIENT_CONF_ENABLE | PCIE_CLIENT_MODE_RC;
regs              246 drivers/pci/controller/pcie-rockchip.c 		regs |= PCIE_CLIENT_CONF_DISABLE | PCIE_CLIENT_MODE_EP;
regs              248 drivers/pci/controller/pcie-rockchip.c 	rockchip_pcie_write(rockchip, regs, PCIE_CLIENT_CONFIG);
regs              584 drivers/pci/controller/pcie-xilinx.c 	struct resource regs;
regs              587 drivers/pci/controller/pcie-xilinx.c 	err = of_address_to_resource(node, 0, &regs);
regs              593 drivers/pci/controller/pcie-xilinx.c 	port->reg_base = devm_pci_remap_cfg_resource(dev, &regs);
regs             1017 drivers/pci/pcie/aer.c 	struct aer_capability_regs *regs;
regs             1037 drivers/pci/pcie/aer.c 		cper_print_aer(pdev, entry.severity, entry.regs);
regs             1064 drivers/pci/pcie/aer.c 		.regs		= aer_regs,
regs             3350 drivers/pci/quirks.c 	void __iomem *regs = pci_iomap(dev, 0, 0);
regs             3351 drivers/pci/quirks.c 	if (regs == NULL) {
regs             3357 drivers/pci/quirks.c 	if (readl(regs + I915_DEIER_REG) != 0) {
regs             3360 drivers/pci/quirks.c 		writel(0, regs + I915_DEIER_REG);
regs             3363 drivers/pci/quirks.c 	pci_iounmap(dev, regs);
regs              157 drivers/perf/qcom_l3_pmu.c 	void __iomem		*regs;
regs              201 drivers/perf/qcom_l3_pmu.c 	gang = readl_relaxed(l3pmu->regs + L3_M_BC_GANG);
regs              203 drivers/perf/qcom_l3_pmu.c 	writel_relaxed(gang, l3pmu->regs + L3_M_BC_GANG);
regs              207 drivers/perf/qcom_l3_pmu.c 	writel_relaxed(0, l3pmu->regs + L3_HML3_PM_EVCNTR(idx + 1));
regs              208 drivers/perf/qcom_l3_pmu.c 	writel_relaxed(0, l3pmu->regs + L3_HML3_PM_EVCNTR(idx));
regs              214 drivers/perf/qcom_l3_pmu.c 	writel_relaxed(EVSEL(0), l3pmu->regs + L3_HML3_PM_EVTYPE(idx + 1));
regs              215 drivers/perf/qcom_l3_pmu.c 	writel_relaxed(EVSEL(evsel), l3pmu->regs + L3_HML3_PM_EVTYPE(idx));
regs              218 drivers/perf/qcom_l3_pmu.c 	writel_relaxed(PMCNT_RESET, l3pmu->regs + L3_HML3_PM_CNTCTL(idx + 1));
regs              219 drivers/perf/qcom_l3_pmu.c 	writel_relaxed(PMCNTENSET(idx + 1), l3pmu->regs + L3_M_BC_CNTENSET);
regs              220 drivers/perf/qcom_l3_pmu.c 	writel_relaxed(PMCNT_RESET, l3pmu->regs + L3_HML3_PM_CNTCTL(idx));
regs              221 drivers/perf/qcom_l3_pmu.c 	writel_relaxed(PMCNTENSET(idx), l3pmu->regs + L3_M_BC_CNTENSET);
regs              229 drivers/perf/qcom_l3_pmu.c 	u32 gang = readl_relaxed(l3pmu->regs + L3_M_BC_GANG);
regs              232 drivers/perf/qcom_l3_pmu.c 	writel_relaxed(PMCNTENCLR(idx), l3pmu->regs + L3_M_BC_CNTENCLR);
regs              233 drivers/perf/qcom_l3_pmu.c 	writel_relaxed(PMCNTENCLR(idx + 1), l3pmu->regs + L3_M_BC_CNTENCLR);
regs              236 drivers/perf/qcom_l3_pmu.c 	writel_relaxed(gang & ~GANG_EN(idx + 1), l3pmu->regs + L3_M_BC_GANG);
regs              249 drivers/perf/qcom_l3_pmu.c 			hi = readl_relaxed(l3pmu->regs + L3_HML3_PM_EVCNTR(idx + 1));
regs              250 drivers/perf/qcom_l3_pmu.c 			lo = readl_relaxed(l3pmu->regs + L3_HML3_PM_EVCNTR(idx));
regs              251 drivers/perf/qcom_l3_pmu.c 		} while (hi != readl_relaxed(l3pmu->regs + L3_HML3_PM_EVCNTR(idx + 1)));
regs              279 drivers/perf/qcom_l3_pmu.c 	u32 irqctl = readl_relaxed(l3pmu->regs + L3_M_BC_IRQCTL);
regs              282 drivers/perf/qcom_l3_pmu.c 	writel_relaxed(irqctl | PMIRQONMSBEN(idx), l3pmu->regs + L3_M_BC_IRQCTL);
regs              286 drivers/perf/qcom_l3_pmu.c 	writel_relaxed(0, l3pmu->regs + L3_HML3_PM_EVCNTR(idx));
regs              289 drivers/perf/qcom_l3_pmu.c 	writel_relaxed(EVSEL(evsel), l3pmu->regs + L3_HML3_PM_EVTYPE(idx));
regs              292 drivers/perf/qcom_l3_pmu.c 	writel_relaxed(PMINTENSET(idx), l3pmu->regs + L3_M_BC_INTENSET);
regs              295 drivers/perf/qcom_l3_pmu.c 	writel_relaxed(PMCNT_RESET, l3pmu->regs + L3_HML3_PM_CNTCTL(idx));
regs              296 drivers/perf/qcom_l3_pmu.c 	writel_relaxed(PMCNTENSET(idx), l3pmu->regs + L3_M_BC_CNTENSET);
regs              304 drivers/perf/qcom_l3_pmu.c 	u32 irqctl = readl_relaxed(l3pmu->regs + L3_M_BC_IRQCTL);
regs              307 drivers/perf/qcom_l3_pmu.c 	writel_relaxed(PMCNTENCLR(idx), l3pmu->regs + L3_M_BC_CNTENCLR);
regs              310 drivers/perf/qcom_l3_pmu.c 	writel_relaxed(PMINTENCLR(idx), l3pmu->regs + L3_M_BC_INTENCLR);
regs              313 drivers/perf/qcom_l3_pmu.c 	writel_relaxed(irqctl & ~PMIRQONMSBEN(idx), l3pmu->regs + L3_M_BC_IRQCTL);
regs              324 drivers/perf/qcom_l3_pmu.c 		new = readl_relaxed(l3pmu->regs + L3_HML3_PM_EVCNTR(idx));
regs              354 drivers/perf/qcom_l3_pmu.c 	writel_relaxed(BC_RESET, l3pmu->regs + L3_M_BC_CR);
regs              360 drivers/perf/qcom_l3_pmu.c 	writel(BC_SATROLL_CR_RESET, l3pmu->regs + L3_M_BC_SATROLL_CR);
regs              362 drivers/perf/qcom_l3_pmu.c 	writel_relaxed(BC_CNTENCLR_RESET, l3pmu->regs + L3_M_BC_CNTENCLR);
regs              363 drivers/perf/qcom_l3_pmu.c 	writel_relaxed(BC_INTENCLR_RESET, l3pmu->regs + L3_M_BC_INTENCLR);
regs              364 drivers/perf/qcom_l3_pmu.c 	writel_relaxed(PMOVSRCLR_RESET, l3pmu->regs + L3_M_BC_OVSR);
regs              365 drivers/perf/qcom_l3_pmu.c 	writel_relaxed(BC_GANG_RESET, l3pmu->regs + L3_M_BC_GANG);
regs              366 drivers/perf/qcom_l3_pmu.c 	writel_relaxed(BC_IRQCTL_RESET, l3pmu->regs + L3_M_BC_IRQCTL);
regs              367 drivers/perf/qcom_l3_pmu.c 	writel_relaxed(PM_CR_RESET, l3pmu->regs + L3_HML3_PM_CR);
regs              370 drivers/perf/qcom_l3_pmu.c 		writel_relaxed(PMCNT_RESET, l3pmu->regs + L3_HML3_PM_CNTCTL(i));
regs              371 drivers/perf/qcom_l3_pmu.c 		writel_relaxed(EVSEL(0), l3pmu->regs + L3_HML3_PM_EVTYPE(i));
regs              374 drivers/perf/qcom_l3_pmu.c 	writel_relaxed(PM_FLTR_RESET, l3pmu->regs + L3_HML3_PM_FILTRA);
regs              375 drivers/perf/qcom_l3_pmu.c 	writel_relaxed(PM_FLTR_RESET, l3pmu->regs + L3_HML3_PM_FILTRAM);
regs              376 drivers/perf/qcom_l3_pmu.c 	writel_relaxed(PM_FLTR_RESET, l3pmu->regs + L3_HML3_PM_FILTRB);
regs              377 drivers/perf/qcom_l3_pmu.c 	writel_relaxed(PM_FLTR_RESET, l3pmu->regs + L3_HML3_PM_FILTRBM);
regs              378 drivers/perf/qcom_l3_pmu.c 	writel_relaxed(PM_FLTR_RESET, l3pmu->regs + L3_HML3_PM_FILTRC);
regs              379 drivers/perf/qcom_l3_pmu.c 	writel_relaxed(PM_FLTR_RESET, l3pmu->regs + L3_HML3_PM_FILTRCM);
regs              385 drivers/perf/qcom_l3_pmu.c 	writel(BC_ENABLE, l3pmu->regs + L3_M_BC_CR);
regs              392 drivers/perf/qcom_l3_pmu.c 	long status = readl_relaxed(l3pmu->regs + L3_M_BC_OVSR);
regs              399 drivers/perf/qcom_l3_pmu.c 	writel_relaxed(status, l3pmu->regs + L3_M_BC_OVSR);
regs              434 drivers/perf/qcom_l3_pmu.c 	writel_relaxed(BC_ENABLE, l3pmu->regs + L3_M_BC_CR);
regs              441 drivers/perf/qcom_l3_pmu.c 	writel_relaxed(0, l3pmu->regs + L3_M_BC_CR);
regs              769 drivers/perf/qcom_l3_pmu.c 	l3pmu->regs = devm_ioremap_resource(&pdev->dev, memrc);
regs              770 drivers/perf/qcom_l3_pmu.c 	if (IS_ERR(l3pmu->regs)) {
regs              772 drivers/perf/qcom_l3_pmu.c 		return PTR_ERR(l3pmu->regs);
regs               90 drivers/phy/allwinner/phy-sun6i-mipi-dphy.c 	struct regmap				*regs;
regs              127 drivers/phy/allwinner/phy-sun6i-mipi-dphy.c 	regmap_write(dphy->regs, SUN6I_DPHY_TX_CTL_REG,
regs              130 drivers/phy/allwinner/phy-sun6i-mipi-dphy.c 	regmap_write(dphy->regs, SUN6I_DPHY_TX_TIME0_REG,
regs              135 drivers/phy/allwinner/phy-sun6i-mipi-dphy.c 	regmap_write(dphy->regs, SUN6I_DPHY_TX_TIME1_REG,
regs              141 drivers/phy/allwinner/phy-sun6i-mipi-dphy.c 	regmap_write(dphy->regs, SUN6I_DPHY_TX_TIME2_REG,
regs              144 drivers/phy/allwinner/phy-sun6i-mipi-dphy.c 	regmap_write(dphy->regs, SUN6I_DPHY_TX_TIME3_REG, 0);
regs              146 drivers/phy/allwinner/phy-sun6i-mipi-dphy.c 	regmap_write(dphy->regs, SUN6I_DPHY_TX_TIME4_REG,
regs              150 drivers/phy/allwinner/phy-sun6i-mipi-dphy.c 	regmap_write(dphy->regs, SUN6I_DPHY_GCTL_REG,
regs              154 drivers/phy/allwinner/phy-sun6i-mipi-dphy.c 	regmap_write(dphy->regs, SUN6I_DPHY_ANA0_REG,
regs              161 drivers/phy/allwinner/phy-sun6i-mipi-dphy.c 	regmap_write(dphy->regs, SUN6I_DPHY_ANA1_REG,
regs              165 drivers/phy/allwinner/phy-sun6i-mipi-dphy.c 	regmap_write(dphy->regs, SUN6I_DPHY_ANA4_REG,
regs              176 drivers/phy/allwinner/phy-sun6i-mipi-dphy.c 	regmap_write(dphy->regs, SUN6I_DPHY_ANA2_REG,
regs              180 drivers/phy/allwinner/phy-sun6i-mipi-dphy.c 	regmap_write(dphy->regs, SUN6I_DPHY_ANA3_REG,
regs              186 drivers/phy/allwinner/phy-sun6i-mipi-dphy.c 	regmap_update_bits(dphy->regs, SUN6I_DPHY_ANA3_REG,
regs              193 drivers/phy/allwinner/phy-sun6i-mipi-dphy.c 	regmap_update_bits(dphy->regs, SUN6I_DPHY_ANA3_REG,
regs              198 drivers/phy/allwinner/phy-sun6i-mipi-dphy.c 	regmap_update_bits(dphy->regs, SUN6I_DPHY_ANA2_REG,
regs              203 drivers/phy/allwinner/phy-sun6i-mipi-dphy.c 	regmap_update_bits(dphy->regs, SUN6I_DPHY_ANA1_REG,
regs              207 drivers/phy/allwinner/phy-sun6i-mipi-dphy.c 	regmap_update_bits(dphy->regs, SUN6I_DPHY_ANA2_REG,
regs              218 drivers/phy/allwinner/phy-sun6i-mipi-dphy.c 	regmap_update_bits(dphy->regs, SUN6I_DPHY_ANA1_REG,
regs              257 drivers/phy/allwinner/phy-sun6i-mipi-dphy.c 	void __iomem *regs;
regs              264 drivers/phy/allwinner/phy-sun6i-mipi-dphy.c 	regs = devm_ioremap_resource(&pdev->dev, res);
regs              265 drivers/phy/allwinner/phy-sun6i-mipi-dphy.c 	if (IS_ERR(regs)) {
regs              267 drivers/phy/allwinner/phy-sun6i-mipi-dphy.c 		return PTR_ERR(regs);
regs              270 drivers/phy/allwinner/phy-sun6i-mipi-dphy.c 	dphy->regs = devm_regmap_init_mmio_clk(&pdev->dev, "bus",
regs              271 drivers/phy/allwinner/phy-sun6i-mipi-dphy.c 					       regs, &sun6i_dphy_regmap_config);
regs              272 drivers/phy/allwinner/phy-sun6i-mipi-dphy.c 	if (IS_ERR(dphy->regs)) {
regs              274 drivers/phy/allwinner/phy-sun6i-mipi-dphy.c 		return PTR_ERR(dphy->regs);
regs              108 drivers/phy/amlogic/phy-meson8b-usb2.c 	void __iomem		*regs;
regs              118 drivers/phy/amlogic/phy-meson8b-usb2.c 	return readl(phy_priv->regs + reg);
regs              130 drivers/phy/amlogic/phy-meson8b-usb2.c 	writel(data, phy_priv->regs + reg);
regs              225 drivers/phy/amlogic/phy-meson8b-usb2.c 	priv->regs = devm_ioremap_resource(&pdev->dev, res);
regs              226 drivers/phy/amlogic/phy-meson8b-usb2.c 	if (IS_ERR(priv->regs))
regs              227 drivers/phy/amlogic/phy-meson8b-usb2.c 		return PTR_ERR(priv->regs);
regs               31 drivers/phy/broadcom/phy-bcm-kona-usb2.c 	void __iomem *regs;
regs               38 drivers/phy/broadcom/phy-bcm-kona-usb2.c 	val = readl(phy->regs + OTGCTL);
regs               47 drivers/phy/broadcom/phy-bcm-kona-usb2.c 	writel(val, phy->regs + OTGCTL);
regs               56 drivers/phy/broadcom/phy-bcm-kona-usb2.c 	val = readl(phy->regs + P1CTL);
regs               59 drivers/phy/broadcom/phy-bcm-kona-usb2.c 	writel(val, phy->regs + P1CTL);
regs               60 drivers/phy/broadcom/phy-bcm-kona-usb2.c 	writel(val & ~P1CTL_SOFT_RESET, phy->regs + P1CTL);
regs               63 drivers/phy/broadcom/phy-bcm-kona-usb2.c 	writel(val | P1CTL_SOFT_RESET, phy->regs + P1CTL);
regs              106 drivers/phy/broadcom/phy-bcm-kona-usb2.c 	phy->regs = devm_ioremap_resource(&pdev->dev, res);
regs              107 drivers/phy/broadcom/phy-bcm-kona-usb2.c 	if (IS_ERR(phy->regs))
regs              108 drivers/phy/broadcom/phy-bcm-kona-usb2.c 		return PTR_ERR(phy->regs);
regs              112 drivers/phy/broadcom/phy-bcm-sr-usb.c 	void __iomem *regs;
regs              156 drivers/phy/broadcom/phy-bcm-sr-usb.c 	void __iomem *regs = phy_cfg->regs;
regs              163 drivers/phy/broadcom/phy-bcm-sr-usb.c 	rd_data = readl(regs + offset[PHY_CTRL]);
regs              166 drivers/phy/broadcom/phy-bcm-sr-usb.c 	writel(rd_data, regs + offset[PHY_CTRL]);
regs              168 drivers/phy/broadcom/phy-bcm-sr-usb.c 	bcm_usb_reg32_clrbits(regs + offset[PLL_CTRL],
regs              170 drivers/phy/broadcom/phy-bcm-sr-usb.c 	bcm_usb_reg32_setbits(regs + offset[PLL_CTRL],
regs              172 drivers/phy/broadcom/phy-bcm-sr-usb.c 	bcm_usb_reg32_setbits(regs + offset[PLL_CTRL],
regs              178 drivers/phy/broadcom/phy-bcm-sr-usb.c 	ret = bcm_usb_pll_lock_check(regs + offset[PLL_CTRL],
regs              187 drivers/phy/broadcom/phy-bcm-sr-usb.c 	void __iomem *regs = phy_cfg->regs;
regs              193 drivers/phy/broadcom/phy-bcm-sr-usb.c 	writel(HSPLL_NDIV_INT_VAL, regs + offset[PLL_NDIV_INT]);
regs              194 drivers/phy/broadcom/phy-bcm-sr-usb.c 	writel(HSPLL_NDIV_FRAC_VAL, regs + offset[PLL_NDIV_FRAC]);
regs              196 drivers/phy/broadcom/phy-bcm-sr-usb.c 	rd_data = readl(regs + offset[PLL_CTRL]);
regs              199 drivers/phy/broadcom/phy-bcm-sr-usb.c 	writel(rd_data, regs + offset[PLL_CTRL]);
regs              202 drivers/phy/broadcom/phy-bcm-sr-usb.c 	bcm_usb_reg32_setbits(regs + offset[PHY_CTRL],
regs              208 drivers/phy/broadcom/phy-bcm-sr-usb.c 	bcm_usb_reg32_setbits(regs + offset[PLL_CTRL],
regs              210 drivers/phy/broadcom/phy-bcm-sr-usb.c 	bcm_usb_reg32_setbits(regs + offset[PHY_CTRL],
regs              214 drivers/phy/broadcom/phy-bcm-sr-usb.c 	rd_data = readl(regs + offset[PHY_CTRL]);
regs              217 drivers/phy/broadcom/phy-bcm-sr-usb.c 	writel(rd_data, regs + offset[PHY_CTRL]);
regs              222 drivers/phy/broadcom/phy-bcm-sr-usb.c 	ret = bcm_usb_pll_lock_check(regs + offset[PLL_CTRL],
regs              231 drivers/phy/broadcom/phy-bcm-sr-usb.c 	void __iomem *regs = phy_cfg->regs;
regs              237 drivers/phy/broadcom/phy-bcm-sr-usb.c 		bcm_usb_reg32_clrbits(regs + offset[PHY_CTRL],
regs              239 drivers/phy/broadcom/phy-bcm-sr-usb.c 		bcm_usb_reg32_setbits(regs + offset[PHY_CTRL],
regs              287 drivers/phy/broadcom/phy-bcm-sr-usb.c 			      void __iomem *regs, uint32_t version)
regs              300 drivers/phy/broadcom/phy-bcm-sr-usb.c 			phy_cfg[idx].regs = regs;
regs              322 drivers/phy/broadcom/phy-bcm-sr-usb.c 		phy_cfg->regs = regs;
regs              358 drivers/phy/broadcom/phy-bcm-sr-usb.c 	void __iomem *regs;
regs              364 drivers/phy/broadcom/phy-bcm-sr-usb.c 	regs = devm_ioremap_resource(dev, res);
regs              365 drivers/phy/broadcom/phy-bcm-sr-usb.c 	if (IS_ERR(regs))
regs              366 drivers/phy/broadcom/phy-bcm-sr-usb.c 		return PTR_ERR(regs);
regs              374 drivers/phy/broadcom/phy-bcm-sr-usb.c 	ret = bcm_usb_phy_create(dev, dn, regs, version);
regs               88 drivers/phy/cadence/cdns-dphy.c 	void __iomem *regs;
regs              187 drivers/phy/cadence/cdns-dphy.c 	       dphy->regs + DPHY_CMN_OPIPDIV);
regs              190 drivers/phy/cadence/cdns-dphy.c 	       dphy->regs + DPHY_CMN_FBDIV);
regs              193 drivers/phy/cadence/cdns-dphy.c 	       dphy->regs + DPHY_CMN_PWM);
regs              199 drivers/phy/cadence/cdns-dphy.c 	       dphy->regs + DPHY_PSM_CFG);
regs              291 drivers/phy/cadence/cdns-dphy.c 	       dphy->regs + DPHY_CMN_SSM);
regs              330 drivers/phy/cadence/cdns-dphy.c 	dphy->regs = devm_ioremap_resource(&pdev->dev, res);
regs              331 drivers/phy/cadence/cdns-dphy.c 	if (IS_ERR(dphy->regs))
regs              332 drivers/phy/cadence/cdns-dphy.c 		return PTR_ERR(dphy->regs);
regs              443 drivers/phy/cadence/phy-cadence-dp.c 	struct resource *regs;
regs              462 drivers/phy/cadence/phy-cadence-dp.c 	regs = platform_get_resource(pdev, IORESOURCE_MEM, 0);
regs              463 drivers/phy/cadence/phy-cadence-dp.c 	cdns_phy->base = devm_ioremap_resource(&pdev->dev, regs);
regs              467 drivers/phy/cadence/phy-cadence-dp.c 	regs = platform_get_resource(pdev, IORESOURCE_MEM, 1);
regs              468 drivers/phy/cadence/phy-cadence-dp.c 	cdns_phy->sd_base = devm_ioremap_resource(&pdev->dev, regs);
regs               80 drivers/phy/marvell/phy-mvebu-a3700-utmi.c 	void __iomem *regs;
regs               98 drivers/phy/marvell/phy-mvebu-a3700-utmi.c 	reg = readl(utmi->regs + USB2_PHY_PLL_CTRL_REG0);
regs              102 drivers/phy/marvell/phy-mvebu-a3700-utmi.c 	writel(reg, utmi->regs + USB2_PHY_PLL_CTRL_REG0);
regs              111 drivers/phy/marvell/phy-mvebu-a3700-utmi.c 		reg = readl(utmi->regs + USB2_PHY_OTG_CTRL);
regs              113 drivers/phy/marvell/phy-mvebu-a3700-utmi.c 		writel(reg, utmi->regs + USB2_PHY_OTG_CTRL);
regs              116 drivers/phy/marvell/phy-mvebu-a3700-utmi.c 		reg = readl(utmi->regs + USB2_PHY_CHRGR_DETECT);
regs              119 drivers/phy/marvell/phy-mvebu-a3700-utmi.c 		writel(reg, utmi->regs + USB2_PHY_CHRGR_DETECT);
regs              128 drivers/phy/marvell/phy-mvebu-a3700-utmi.c 	ret = readl_poll_timeout(utmi->regs + USB2_PHY_CAL_CTRL, reg,
regs              137 drivers/phy/marvell/phy-mvebu-a3700-utmi.c 	ret = readl_poll_timeout(utmi->regs + USB2_PHY_CAL_CTRL, reg,
regs              146 drivers/phy/marvell/phy-mvebu-a3700-utmi.c 	ret = readl_poll_timeout(utmi->regs + USB2_RX_CHAN_CTRL1, reg,
regs              155 drivers/phy/marvell/phy-mvebu-a3700-utmi.c 	ret = readl_poll_timeout(utmi->regs + USB2_PHY_PLL_CTRL_REG0, reg,
regs              171 drivers/phy/marvell/phy-mvebu-a3700-utmi.c 	reg = readl(utmi->regs + USB2_PHY_CTRL(usb32));
regs              173 drivers/phy/marvell/phy-mvebu-a3700-utmi.c 	writel(reg, utmi->regs + USB2_PHY_CTRL(usb32));
regs              177 drivers/phy/marvell/phy-mvebu-a3700-utmi.c 		reg = readl(utmi->regs + USB2_PHY_OTG_CTRL);
regs              179 drivers/phy/marvell/phy-mvebu-a3700-utmi.c 		writel(reg, utmi->regs + USB2_PHY_OTG_CTRL);
regs              232 drivers/phy/marvell/phy-mvebu-a3700-utmi.c 	utmi->regs = devm_ioremap_resource(dev, res);
regs              233 drivers/phy/marvell/phy-mvebu-a3700-utmi.c 	if (IS_ERR(utmi->regs))
regs              234 drivers/phy/marvell/phy-mvebu-a3700-utmi.c 		return PTR_ERR(utmi->regs);
regs               22 drivers/phy/mscc/phy-ocelot-serdes.c 	struct regmap		*regs;
regs              418 drivers/phy/mscc/phy-ocelot-serdes.c 		ret = regmap_update_bits(macro->ctrl->regs, HSIO_HW_CFG,
regs              425 drivers/phy/mscc/phy-ocelot-serdes.c 			return serdes_init_s1g(macro->ctrl->regs, macro->idx);
regs              427 drivers/phy/mscc/phy-ocelot-serdes.c 			return serdes_init_s6g(macro->ctrl->regs,
regs              505 drivers/phy/mscc/phy-ocelot-serdes.c 	ctrl->regs = syscon_node_to_regmap(pdev->dev.parent->of_node);
regs              506 drivers/phy/mscc/phy-ocelot-serdes.c 	if (IS_ERR(ctrl->regs))
regs              507 drivers/phy/mscc/phy-ocelot-serdes.c 		return PTR_ERR(ctrl->regs);
regs              911 drivers/phy/qualcomm/phy-qcom-qmp.c 	const unsigned int *regs;
regs             1073 drivers/phy/qualcomm/phy-qcom-qmp.c 	.regs			= pciephy_regs_layout,
regs             1104 drivers/phy/qualcomm/phy-qcom-qmp.c 	.regs			= usb3phy_regs_layout,
regs             1133 drivers/phy/qualcomm/phy-qcom-qmp.c 	.regs			= pciephy_regs_layout,
regs             1163 drivers/phy/qualcomm/phy-qcom-qmp.c 	.regs			= qmp_v3_usb3phy_regs_layout,
regs             1194 drivers/phy/qualcomm/phy-qcom-qmp.c 	.regs			= qmp_v3_usb3phy_regs_layout,
regs             1220 drivers/phy/qualcomm/phy-qcom-qmp.c 	.regs			= sdm845_ufsphy_regs_layout,
regs             1247 drivers/phy/qualcomm/phy-qcom-qmp.c 	.regs			= pciephy_regs_layout,
regs             1271 drivers/phy/qualcomm/phy-qcom-qmp.c 	.regs                   = qmp_v3_usb3phy_regs_layout,
regs             1280 drivers/phy/qualcomm/phy-qcom-qmp.c 				   const unsigned int *regs,
regs             1292 drivers/phy/qualcomm/phy-qcom-qmp.c 			writel(t->val, base + regs[t->offset]);
regs             1362 drivers/phy/qualcomm/phy-qcom-qmp.c 		qphy_setbits(serdes, cfg->regs[QPHY_COM_POWER_DOWN_CONTROL],
regs             1368 drivers/phy/qualcomm/phy-qcom-qmp.c 	qcom_qmp_phy_configure(serdes, cfg->regs, cfg->serdes_tbl,
regs             1375 drivers/phy/qualcomm/phy-qcom-qmp.c 		qphy_clrbits(serdes, cfg->regs[QPHY_COM_SW_RESET], SW_RESET);
regs             1376 drivers/phy/qualcomm/phy-qcom-qmp.c 		qphy_setbits(serdes, cfg->regs[QPHY_COM_START_CONTROL],
regs             1379 drivers/phy/qualcomm/phy-qcom-qmp.c 		status = serdes + cfg->regs[QPHY_COM_PCS_READY_STATUS];
regs             1422 drivers/phy/qualcomm/phy-qcom-qmp.c 		qphy_setbits(serdes, cfg->regs[QPHY_COM_START_CONTROL],
regs             1424 drivers/phy/qualcomm/phy-qcom-qmp.c 		qphy_clrbits(serdes, cfg->regs[QPHY_COM_SW_RESET],
regs             1426 drivers/phy/qualcomm/phy-qcom-qmp.c 		qphy_setbits(serdes, cfg->regs[QPHY_COM_POWER_DOWN_CONTROL],
regs             1504 drivers/phy/qualcomm/phy-qcom-qmp.c 	qcom_qmp_phy_configure(tx, cfg->regs, cfg->tx_tbl, cfg->tx_tbl_num);
regs             1507 drivers/phy/qualcomm/phy-qcom-qmp.c 		qcom_qmp_phy_configure(qphy->tx2, cfg->regs,
regs             1510 drivers/phy/qualcomm/phy-qcom-qmp.c 	qcom_qmp_phy_configure(rx, cfg->regs, cfg->rx_tbl, cfg->rx_tbl_num);
regs             1512 drivers/phy/qualcomm/phy-qcom-qmp.c 		qcom_qmp_phy_configure(qphy->rx2, cfg->regs,
regs             1515 drivers/phy/qualcomm/phy-qcom-qmp.c 	qcom_qmp_phy_configure(pcs, cfg->regs, cfg->pcs_tbl, cfg->pcs_tbl_num);
regs             1532 drivers/phy/qualcomm/phy-qcom-qmp.c 		qphy_clrbits(pcs, cfg->regs[QPHY_SW_RESET], SW_RESET);
regs             1538 drivers/phy/qualcomm/phy-qcom-qmp.c 	qphy_setbits(pcs, cfg->regs[QPHY_START_CTRL], cfg->start_ctrl);
regs             1541 drivers/phy/qualcomm/phy-qcom-qmp.c 		status = pcs + cfg->regs[QPHY_PCS_READY_STATUS];
regs             1545 drivers/phy/qualcomm/phy-qcom-qmp.c 		status = pcs + cfg->regs[QPHY_PCS_STATUS];
regs             1581 drivers/phy/qualcomm/phy-qcom-qmp.c 		qphy_setbits(qphy->pcs, cfg->regs[QPHY_SW_RESET], SW_RESET);
regs             1584 drivers/phy/qualcomm/phy-qcom-qmp.c 	qphy_clrbits(qphy->pcs, cfg->regs[QPHY_START_CTRL], cfg->start_ctrl);
regs             1625 drivers/phy/qualcomm/phy-qcom-qmp.c 	qphy_setbits(pcs, cfg->regs[QPHY_PCS_LFPS_RXTERM_IRQ_CLEAR], IRQ_CLEAR);
regs             1627 drivers/phy/qualcomm/phy-qcom-qmp.c 	qphy_clrbits(pcs, cfg->regs[QPHY_PCS_LFPS_RXTERM_IRQ_CLEAR], IRQ_CLEAR);
regs             1629 drivers/phy/qualcomm/phy-qcom-qmp.c 	qphy_clrbits(pcs, cfg->regs[QPHY_PCS_AUTONOMOUS_MODE_CTRL],
regs             1633 drivers/phy/qualcomm/phy-qcom-qmp.c 	qphy_setbits(pcs, cfg->regs[QPHY_PCS_AUTONOMOUS_MODE_CTRL], intr_mask);
regs             1651 drivers/phy/qualcomm/phy-qcom-qmp.c 	qphy_clrbits(pcs, cfg->regs[QPHY_PCS_AUTONOMOUS_MODE_CTRL],
regs             1654 drivers/phy/qualcomm/phy-qcom-qmp.c 	qphy_setbits(pcs, cfg->regs[QPHY_PCS_LFPS_RXTERM_IRQ_CLEAR], IRQ_CLEAR);
regs             1656 drivers/phy/qualcomm/phy-qcom-qmp.c 	qphy_clrbits(pcs, cfg->regs[QPHY_PCS_LFPS_RXTERM_IRQ_CLEAR], IRQ_CLEAR);
regs              223 drivers/phy/qualcomm/phy-qcom-qusb2.c 	const unsigned int *regs;
regs              241 drivers/phy/qualcomm/phy-qcom-qusb2.c 	.regs		= msm8996_regs_layout,
regs              252 drivers/phy/qualcomm/phy-qcom-qusb2.c 	.regs           = msm8998_regs_layout,
regs              264 drivers/phy/qualcomm/phy-qcom-qusb2.c 	.regs		= sdm845_regs_layout,
regs              377 drivers/phy/qualcomm/phy-qcom-qusb2.c 			      const unsigned int *regs,
regs              384 drivers/phy/qualcomm/phy-qcom-qusb2.c 			writel(tbl[i].val, base + regs[tbl[i].offset]);
regs              404 drivers/phy/qualcomm/phy-qcom-qusb2.c 		qusb2_write_mask(qphy->base, cfg->regs[QUSB2PHY_PORT_TUNE1],
regs              409 drivers/phy/qualcomm/phy-qcom-qusb2.c 		qusb2_write_mask(qphy->base, cfg->regs[QUSB2PHY_PORT_TUNE1],
regs              417 drivers/phy/qualcomm/phy-qcom-qusb2.c 				      cfg->regs[QUSB2PHY_PORT_TUNE1],
regs              421 drivers/phy/qualcomm/phy-qcom-qusb2.c 				      cfg->regs[QUSB2PHY_PORT_TUNE1],
regs              456 drivers/phy/qualcomm/phy-qcom-qusb2.c 		qusb2_write_mask(qphy->base, cfg->regs[QUSB2PHY_PORT_TUNE1],
regs              460 drivers/phy/qualcomm/phy-qcom-qusb2.c 		qusb2_write_mask(qphy->base, cfg->regs[QUSB2PHY_PORT_TUNE2],
regs              513 drivers/phy/qualcomm/phy-qcom-qusb2.c 	writel(intr_mask, qphy->base + cfg->regs[QUSB2PHY_INTR_CTRL]);
regs              518 drivers/phy/qualcomm/phy-qcom-qusb2.c 			      cfg->regs[QUSB2PHY_PLL_CORE_INPUT_OVERRIDE],
regs              525 drivers/phy/qualcomm/phy-qcom-qusb2.c 		qusb2_setbits(qphy->base, cfg->regs[QUSB2PHY_PORT_TEST1],
regs              528 drivers/phy/qualcomm/phy-qcom-qusb2.c 		qusb2_clrbits(qphy->base, cfg->regs[QUSB2PHY_PORT_TEST1],
regs              574 drivers/phy/qualcomm/phy-qcom-qusb2.c 	writel(0x0, qphy->base + cfg->regs[QUSB2PHY_INTR_CTRL]);
regs              579 drivers/phy/qualcomm/phy-qcom-qusb2.c 			      cfg->regs[QUSB2PHY_PLL_CORE_INPUT_OVERRIDE],
regs              638 drivers/phy/qualcomm/phy-qcom-qusb2.c 	qusb2_setbits(qphy->base, cfg->regs[QUSB2PHY_PORT_POWERDOWN],
regs              646 drivers/phy/qualcomm/phy-qcom-qusb2.c 	qcom_qusb2_phy_configure(qphy->base, cfg->regs, cfg->tbl,
regs              656 drivers/phy/qualcomm/phy-qcom-qusb2.c 	qusb2_clrbits(qphy->base, cfg->regs[QUSB2PHY_PORT_POWERDOWN],
regs              713 drivers/phy/qualcomm/phy-qcom-qusb2.c 	val = readb(qphy->base + cfg->regs[QUSB2PHY_PLL_STATUS]);
regs              744 drivers/phy/qualcomm/phy-qcom-qusb2.c 	qusb2_setbits(qphy->base, qphy->cfg->regs[QUSB2PHY_PORT_POWERDOWN],
regs              276 drivers/phy/rockchip/phy-rockchip-inno-hdmi.c 	u8		regs[14];
regs              930 drivers/phy/rockchip/phy-rockchip-inno-hdmi.c 		inno_write(inno, 0xef + v, phy_cfg->regs[v]);
regs             1038 drivers/phy/rockchip/phy-rockchip-inno-hdmi.c 		inno_write(inno, 0xb5 + v, phy_cfg->regs[v]);
regs             1148 drivers/phy/rockchip/phy-rockchip-inno-hdmi.c 	void __iomem *regs;
regs             1162 drivers/phy/rockchip/phy-rockchip-inno-hdmi.c 	regs = devm_ioremap_resource(inno->dev, res);
regs             1163 drivers/phy/rockchip/phy-rockchip-inno-hdmi.c 	if (IS_ERR(regs))
regs             1164 drivers/phy/rockchip/phy-rockchip-inno-hdmi.c 		return PTR_ERR(regs);
regs             1210 drivers/phy/rockchip/phy-rockchip-inno-hdmi.c 	inno->regmap = devm_regmap_init_mmio(inno->dev, regs,
regs               27 drivers/phy/samsung/phy-exynos-dp-video.c 	struct regmap *regs;
regs               36 drivers/phy/samsung/phy-exynos-dp-video.c 	return regmap_update_bits(state->regs, state->drvdata->phy_ctrl_offset,
regs               45 drivers/phy/samsung/phy-exynos-dp-video.c 	return regmap_update_bits(state->regs, state->drvdata->phy_ctrl_offset,
regs               86 drivers/phy/samsung/phy-exynos-dp-video.c 	state->regs = syscon_regmap_lookup_by_phandle(dev->of_node,
regs               88 drivers/phy/samsung/phy-exynos-dp-video.c 	if (IS_ERR(state->regs)) {
regs               90 drivers/phy/samsung/phy-exynos-dp-video.c 		return PTR_ERR(state->regs);
regs               51 drivers/phy/samsung/phy-exynos5250-sata.c 	void __iomem *regs;
regs               99 drivers/phy/samsung/phy-exynos5250-sata.c 	writel(val, sata_phy->regs + EXYNOS5_SATA_RESET);
regs              101 drivers/phy/samsung/phy-exynos5250-sata.c 	val = readl(sata_phy->regs + EXYNOS5_SATA_RESET);
regs              105 drivers/phy/samsung/phy-exynos5250-sata.c 	writel(val, sata_phy->regs + EXYNOS5_SATA_RESET);
regs              107 drivers/phy/samsung/phy-exynos5250-sata.c 	val = readl(sata_phy->regs + EXYNOS5_SATA_RESET);
regs              109 drivers/phy/samsung/phy-exynos5250-sata.c 	writel(val, sata_phy->regs + EXYNOS5_SATA_RESET);
regs              111 drivers/phy/samsung/phy-exynos5250-sata.c 	val = readl(sata_phy->regs + EXYNOS5_SATA_RESET);
regs              113 drivers/phy/samsung/phy-exynos5250-sata.c 	writel(val, sata_phy->regs + EXYNOS5_SATA_RESET);
regs              115 drivers/phy/samsung/phy-exynos5250-sata.c 	val = readl(sata_phy->regs + EXYNOS5_SATA_PHSATA_CTRLM);
regs              117 drivers/phy/samsung/phy-exynos5250-sata.c 	writel(val, sata_phy->regs + EXYNOS5_SATA_PHSATA_CTRLM);
regs              120 drivers/phy/samsung/phy-exynos5250-sata.c 	val = readl(sata_phy->regs + EXYNOS5_SATA_PHSATA_CTRLM);
regs              122 drivers/phy/samsung/phy-exynos5250-sata.c 	writel(val, sata_phy->regs + EXYNOS5_SATA_PHSATA_CTRLM);
regs              124 drivers/phy/samsung/phy-exynos5250-sata.c 	val = readl(sata_phy->regs + EXYNOS5_SATA_CTRL0);
regs              126 drivers/phy/samsung/phy-exynos5250-sata.c 	writel(val, sata_phy->regs + EXYNOS5_SATA_CTRL0);
regs              128 drivers/phy/samsung/phy-exynos5250-sata.c 	val = readl(sata_phy->regs + EXYNOS5_SATA_MODE0);
regs              130 drivers/phy/samsung/phy-exynos5250-sata.c 	writel(val, sata_phy->regs + EXYNOS5_SATA_MODE0);
regs              137 drivers/phy/samsung/phy-exynos5250-sata.c 	val = readl(sata_phy->regs + EXYNOS5_SATA_RESET);
regs              139 drivers/phy/samsung/phy-exynos5250-sata.c 	writel(val, sata_phy->regs + EXYNOS5_SATA_RESET);
regs              141 drivers/phy/samsung/phy-exynos5250-sata.c 	val = readl(sata_phy->regs + EXYNOS5_SATA_RESET);
regs              143 drivers/phy/samsung/phy-exynos5250-sata.c 	writel(val, sata_phy->regs + EXYNOS5_SATA_RESET);
regs              145 drivers/phy/samsung/phy-exynos5250-sata.c 	ret = wait_for_reg_status(sata_phy->regs,
regs              176 drivers/phy/samsung/phy-exynos5250-sata.c 	sata_phy->regs = devm_ioremap_resource(dev, res);
regs              177 drivers/phy/samsung/phy-exynos5250-sata.c 	if (IS_ERR(sata_phy->regs))
regs              178 drivers/phy/samsung/phy-exynos5250-sata.c 		return PTR_ERR(sata_phy->regs);
regs              891 drivers/phy/tegra/xusb.c 	padctl->regs = devm_ioremap_resource(&pdev->dev, res);
regs              892 drivers/phy/tegra/xusb.c 	if (IS_ERR(padctl->regs)) {
regs              893 drivers/phy/tegra/xusb.c 		err = PTR_ERR(padctl->regs);
regs              396 drivers/phy/tegra/xusb.h 	void __iomem *regs;
regs              423 drivers/phy/tegra/xusb.h 	writel(value, padctl->regs + offset);
regs              429 drivers/phy/tegra/xusb.h 	u32 value = readl(padctl->regs + offset);
regs              260 drivers/pinctrl/freescale/pinctrl-imx23.c 	.regs = &imx23_regs,
regs              376 drivers/pinctrl/freescale/pinctrl-imx28.c 	.regs = &imx28_regs,
regs              213 drivers/pinctrl/freescale/pinctrl-mxs.c 		reg = d->base + d->soc->regs->muxsel;
regs              278 drivers/pinctrl/freescale/pinctrl-mxs.c 			reg = d->base + d->soc->regs->drive;
regs              298 drivers/pinctrl/freescale/pinctrl-mxs.c 				reg = d->base + d->soc->regs->pull;
regs               72 drivers/pinctrl/freescale/pinctrl-mxs.h 	const struct mxs_regs *regs;
regs              167 drivers/pinctrl/intel/pinctrl-cherryview.c 	void __iomem *regs;
regs              675 drivers/pinctrl/intel/pinctrl-cherryview.c 	return pctrl->regs + offset + reg;
regs             1328 drivers/pinctrl/intel/pinctrl-cherryview.c 	chv_writel(BIT(intr_line), pctrl->regs + CHV_INTSTAT);
regs             1347 drivers/pinctrl/intel/pinctrl-cherryview.c 	value = readl(pctrl->regs + CHV_INTMASK);
regs             1352 drivers/pinctrl/intel/pinctrl-cherryview.c 	chv_writel(value, pctrl->regs + CHV_INTMASK);
regs             1483 drivers/pinctrl/intel/pinctrl-cherryview.c 	pending = readl(pctrl->regs + CHV_INTSTAT);
regs             1609 drivers/pinctrl/intel/pinctrl-cherryview.c 			   pctrl->regs + CHV_INTMASK);
regs             1613 drivers/pinctrl/intel/pinctrl-cherryview.c 	chv_writel(0xffff, pctrl->regs + CHV_INTSTAT);
regs             1665 drivers/pinctrl/intel/pinctrl-cherryview.c 		chv_writel((u32)(*value), pctrl->regs + (u32)address);
regs             1667 drivers/pinctrl/intel/pinctrl-cherryview.c 		*value = readl(pctrl->regs + (u32)address);
regs             1709 drivers/pinctrl/intel/pinctrl-cherryview.c 	pctrl->regs = devm_platform_ioremap_resource(pdev, 0);
regs             1710 drivers/pinctrl/intel/pinctrl-cherryview.c 	if (IS_ERR(pctrl->regs))
regs             1711 drivers/pinctrl/intel/pinctrl-cherryview.c 		return PTR_ERR(pctrl->regs);
regs             1765 drivers/pinctrl/intel/pinctrl-cherryview.c 	pctrl->saved_intmask = readl(pctrl->regs + CHV_INTMASK);
regs             1803 drivers/pinctrl/intel/pinctrl-cherryview.c 	chv_writel(0, pctrl->regs + CHV_INTMASK);
regs             1839 drivers/pinctrl/intel/pinctrl-cherryview.c 	chv_writel(0xffff, pctrl->regs + CHV_INTSTAT);
regs             1840 drivers/pinctrl/intel/pinctrl-cherryview.c 	chv_writel(pctrl->saved_intmask, pctrl->regs + CHV_INTMASK);
regs              197 drivers/pinctrl/intel/pinctrl-intel.c 	padown = community->regs + offset;
regs              221 drivers/pinctrl/intel/pinctrl-intel.c 	hostown = community->regs + offset;
regs              271 drivers/pinctrl/intel/pinctrl-intel.c 	value = readl(community->regs + offset);
regs              276 drivers/pinctrl/intel/pinctrl-intel.c 	value = readl(community->regs + offset);
regs              991 drivers/pinctrl/intel/pinctrl-intel.c 		writel(BIT(gpp_offset), community->regs + is_offset);
regs             1014 drivers/pinctrl/intel/pinctrl-intel.c 		reg = community->regs + community->ie_offset + gpp * 4;
regs             1015 drivers/pinctrl/intel/pinctrl-intel.c 		is = community->regs + community->is_offset + gpp * 4;
regs             1125 drivers/pinctrl/intel/pinctrl-intel.c 		pending = readl(community->regs + community->is_offset +
regs             1127 drivers/pinctrl/intel/pinctrl-intel.c 		enabled = readl(community->regs + community->ie_offset +
regs             1394 drivers/pinctrl/intel/pinctrl-intel.c 		void __iomem *regs;
regs             1399 drivers/pinctrl/intel/pinctrl-intel.c 		regs = devm_platform_ioremap_resource(pdev, community->barno);
regs             1400 drivers/pinctrl/intel/pinctrl-intel.c 		if (IS_ERR(regs))
regs             1401 drivers/pinctrl/intel/pinctrl-intel.c 			return PTR_ERR(regs);
regs             1410 drivers/pinctrl/intel/pinctrl-intel.c 			rev = (readl(regs + REVID) & REVID_MASK) >> REVID_SHIFT;
regs             1418 drivers/pinctrl/intel/pinctrl-intel.c 		padbar = readl(regs + PADBAR);
regs             1420 drivers/pinctrl/intel/pinctrl-intel.c 		community->regs = regs;
regs             1421 drivers/pinctrl/intel/pinctrl-intel.c 		community->pad_regs = regs + padbar;
regs             1552 drivers/pinctrl/intel/pinctrl-intel.c 		base = community->regs + community->ie_offset;
regs             1556 drivers/pinctrl/intel/pinctrl-intel.c 		base = community->regs + community->hostown_offset;
regs             1575 drivers/pinctrl/intel/pinctrl-intel.c 		base = community->regs;
regs             1662 drivers/pinctrl/intel/pinctrl-intel.c 		base = community->regs + community->ie_offset;
regs             1669 drivers/pinctrl/intel/pinctrl-intel.c 		base = community->regs + community->hostown_offset;
regs              116 drivers/pinctrl/intel/pinctrl-intel.h 	void __iomem *regs;
regs               69 drivers/pinctrl/intel/pinctrl-merrifield.c 	void __iomem *regs;
regs              476 drivers/pinctrl/intel/pinctrl-merrifield.c 	return family->regs + BUFCFG_OFFSET + bufno * 4;
regs              888 drivers/pinctrl/intel/pinctrl-merrifield.c 	void __iomem *regs;
regs              899 drivers/pinctrl/intel/pinctrl-merrifield.c 	regs = devm_platform_ioremap_resource(pdev, 0);
regs              900 drivers/pinctrl/intel/pinctrl-merrifield.c 	if (IS_ERR(regs))
regs              901 drivers/pinctrl/intel/pinctrl-merrifield.c 		return PTR_ERR(regs);
regs              918 drivers/pinctrl/intel/pinctrl-merrifield.c 		family->regs = regs + family->barno * MRFLD_FAMILY_LEN;
regs               71 drivers/pinctrl/mediatek/mtk-eint.c 						eint->regs->sens);
regs               97 drivers/pinctrl/mediatek/mtk-eint.c 			reg_offset = eint->regs->pol_clr;
regs               99 drivers/pinctrl/mediatek/mtk-eint.c 			reg_offset = eint->regs->pol_set;
regs              114 drivers/pinctrl/mediatek/mtk-eint.c 						eint->regs->mask_set);
regs              126 drivers/pinctrl/mediatek/mtk-eint.c 						eint->regs->mask_clr);
regs              141 drivers/pinctrl/mediatek/mtk-eint.c 						eint->regs->mask);
regs              151 drivers/pinctrl/mediatek/mtk-eint.c 						eint->regs->ack);
regs              176 drivers/pinctrl/mediatek/mtk-eint.c 		reg = mtk_eint_get_offset(eint, d->hwirq, eint->regs->pol_clr);
regs              179 drivers/pinctrl/mediatek/mtk-eint.c 		reg = mtk_eint_get_offset(eint, d->hwirq, eint->regs->pol_set);
regs              184 drivers/pinctrl/mediatek/mtk-eint.c 		reg = mtk_eint_get_offset(eint, d->hwirq, eint->regs->sens_clr);
regs              187 drivers/pinctrl/mediatek/mtk-eint.c 		reg = mtk_eint_get_offset(eint, d->hwirq, eint->regs->sens_set);
regs              219 drivers/pinctrl/mediatek/mtk-eint.c 		writel_relaxed(~buf[port], reg + eint->regs->mask_set);
regs              220 drivers/pinctrl/mediatek/mtk-eint.c 		writel_relaxed(buf[port], reg + eint->regs->mask_clr);
regs              280 drivers/pinctrl/mediatek/mtk-eint.c 	void __iomem *reg = eint->base + eint->regs->dom_en;
regs              297 drivers/pinctrl/mediatek/mtk-eint.c 	ctrl_offset = (index / 4) * 4 + eint->regs->dbnc_ctrl;
regs              301 drivers/pinctrl/mediatek/mtk-eint.c 		ctrl_offset = (index / 4) * 4 + eint->regs->dbnc_set;
regs              313 drivers/pinctrl/mediatek/mtk-eint.c 	void __iomem *reg =  mtk_eint_get_offset(eint, 0, eint->regs->stat);
regs              336 drivers/pinctrl/mediatek/mtk-eint.c 					eint->regs->stat +
regs              337 drivers/pinctrl/mediatek/mtk-eint.c 					eint->regs->mask_set);
regs              346 drivers/pinctrl/mediatek/mtk-eint.c 				writel(BIT(offset), reg - eint->regs->stat +
regs              347 drivers/pinctrl/mediatek/mtk-eint.c 				       eint->regs->soft_clr);
regs              365 drivers/pinctrl/mediatek/mtk-eint.c 					       eint->regs->stat +
regs              366 drivers/pinctrl/mediatek/mtk-eint.c 					       eint->regs->soft_set);
regs              404 drivers/pinctrl/mediatek/mtk-eint.c 	set_offset = (eint_num / 4) * 4 + eint->regs->dbnc_set;
regs              405 drivers/pinctrl/mediatek/mtk-eint.c 	clr_offset = (eint_num / 4) * 4 + eint->regs->dbnc_clr;
regs              460 drivers/pinctrl/mediatek/mtk-eint.c 	if (!eint->regs)
regs              461 drivers/pinctrl/mediatek/mtk-eint.c 		eint->regs = &mtk_generic_eint_regs;
regs               64 drivers/pinctrl/mediatek/mtk-eint.h 	const struct mtk_eint_regs *regs;
regs             1008 drivers/pinctrl/mediatek/pinctrl-mtk-common.c 	pctl->eint->regs = pctl->devdata->eint_regs;
regs               97 drivers/pinctrl/meson/pinctrl-meson.c 	struct meson_reg_desc *desc = &bank->regs[reg_type];
regs              102 drivers/pinctrl/meson/pinctrl-meson.h 	struct meson_reg_desc regs[NUM_REG];
regs              148 drivers/pinctrl/meson/pinctrl-meson.h 		.regs = {						\
regs               97 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c 	void __iomem		*regs;
regs              543 drivers/pinctrl/pinctrl-amd.c 	u32 __iomem *regs;
regs              556 drivers/pinctrl/pinctrl-amd.c 	regs = gpio_dev->base;
regs              557 drivers/pinctrl/pinctrl-amd.c 	for (mask = 1, irqnr = 0; status; mask <<= 1, regs += 4, irqnr += 4) {
regs              564 drivers/pinctrl/pinctrl-amd.c 			regval = readl(regs + i);
regs              581 drivers/pinctrl/pinctrl-amd.c 			regval = readl(regs + i);
regs              588 drivers/pinctrl/pinctrl-amd.c 			writel(regval, regs + i);
regs               40 drivers/pinctrl/pinctrl-digicolor.c 	void __iomem		*regs;
regs              134 drivers/pinctrl/pinctrl-digicolor.c 	reg = readb_relaxed(pmap->regs + reg_off);
regs              137 drivers/pinctrl/pinctrl-digicolor.c 	writeb_relaxed(reg, pmap->regs + reg_off);
regs              152 drivers/pinctrl/pinctrl-digicolor.c 	reg = readb_relaxed(pmap->regs + reg_off);
regs              176 drivers/pinctrl/pinctrl-digicolor.c 	drive = readb_relaxed(pmap->regs + reg_off);
regs              178 drivers/pinctrl/pinctrl-digicolor.c 	writeb_relaxed(drive, pmap->regs + reg_off);
regs              198 drivers/pinctrl/pinctrl-digicolor.c 	drive = readb_relaxed(pmap->regs + reg_off);
regs              200 drivers/pinctrl/pinctrl-digicolor.c 	writeb_relaxed(drive, pmap->regs + reg_off);
regs              213 drivers/pinctrl/pinctrl-digicolor.c 	input = readb_relaxed(pmap->regs + reg_off);
regs              227 drivers/pinctrl/pinctrl-digicolor.c 	output = readb_relaxed(pmap->regs + reg_off);
regs              232 drivers/pinctrl/pinctrl-digicolor.c 	writeb_relaxed(output, pmap->regs + reg_off);
regs              285 drivers/pinctrl/pinctrl-digicolor.c 	pmap->regs = devm_ioremap_resource(&pdev->dev, r);
regs              286 drivers/pinctrl/pinctrl-digicolor.c 	if (IS_ERR(pmap->regs))
regs              287 drivers/pinctrl/pinctrl-digicolor.c 		return PTR_ERR(pmap->regs);
regs             3078 drivers/pinctrl/pinctrl-rockchip.c 		gc->chip_types[0].regs.mask = GPIO_INTMASK;
regs             3079 drivers/pinctrl/pinctrl-rockchip.c 		gc->chip_types[0].regs.ack = GPIO_PORTS_EOI;
regs               66 drivers/pinctrl/qcom/pinctrl-msm.c 	void __iomem *regs[MAX_NR_TILES];
regs               73 drivers/pinctrl/qcom/pinctrl-msm.c 	return readl(pctrl->regs[g->tile] + g->name##_reg); \
regs               78 drivers/pinctrl/qcom/pinctrl-msm.c 	writel(val, pctrl->regs[g->tile] + g->name##_reg); \
regs             1077 drivers/pinctrl/qcom/pinctrl-msm.c 	writel(0, pctrl->regs[0] + PS_HOLD_OFFSET);
regs             1148 drivers/pinctrl/qcom/pinctrl-msm.c 			pctrl->regs[i] = devm_ioremap_resource(&pdev->dev, res);
regs             1149 drivers/pinctrl/qcom/pinctrl-msm.c 			if (IS_ERR(pctrl->regs[i]))
regs             1150 drivers/pinctrl/qcom/pinctrl-msm.c 				return PTR_ERR(pctrl->regs[i]);
regs             1154 drivers/pinctrl/qcom/pinctrl-msm.c 		pctrl->regs[0] = devm_ioremap_resource(&pdev->dev, res);
regs             1155 drivers/pinctrl/qcom/pinctrl-msm.c 		if (IS_ERR(pctrl->regs[0]))
regs             1156 drivers/pinctrl/qcom/pinctrl-msm.c 			return PTR_ERR(pctrl->regs[0]);
regs              200 drivers/pinctrl/samsung/pinctrl-exynos-arm.c 	.regs	 = exynos3250_retention_regs,
regs              300 drivers/pinctrl/samsung/pinctrl-exynos-arm.c 	.regs	 = exynos4_retention_regs,
regs              313 drivers/pinctrl/samsung/pinctrl-exynos-arm.c 	.regs	 = exynos4_audio_retention_regs,
regs              834 drivers/pinctrl/samsung/pinctrl-exynos-arm.c 	.regs	 = exynos5420_retention_regs,
regs              151 drivers/pinctrl/samsung/pinctrl-exynos-arm64.c 	.regs	 = exynos5433_retention_regs,
regs              164 drivers/pinctrl/samsung/pinctrl-exynos-arm64.c 	.regs	 = exynos5433_audio_retention_regs,
regs              178 drivers/pinctrl/samsung/pinctrl-exynos-arm64.c 	.regs	 = exynos5433_fsys_retention_regs,
regs              603 drivers/pinctrl/samsung/pinctrl-exynos.c 	void __iomem *regs = bank->eint_base;
regs              605 drivers/pinctrl/samsung/pinctrl-exynos.c 	save->eint_con = readl(regs + EXYNOS_GPIO_ECON_OFFSET
regs              607 drivers/pinctrl/samsung/pinctrl-exynos.c 	save->eint_fltcon0 = readl(regs + EXYNOS_GPIO_EFLTCON_OFFSET
regs              609 drivers/pinctrl/samsung/pinctrl-exynos.c 	save->eint_fltcon1 = readl(regs + EXYNOS_GPIO_EFLTCON_OFFSET
regs              645 drivers/pinctrl/samsung/pinctrl-exynos.c 	void __iomem *regs = bank->eint_base;
regs              648 drivers/pinctrl/samsung/pinctrl-exynos.c 			readl(regs + EXYNOS_GPIO_ECON_OFFSET
regs              651 drivers/pinctrl/samsung/pinctrl-exynos.c 			readl(regs + EXYNOS_GPIO_EFLTCON_OFFSET
regs              654 drivers/pinctrl/samsung/pinctrl-exynos.c 			readl(regs + EXYNOS_GPIO_EFLTCON_OFFSET
regs              657 drivers/pinctrl/samsung/pinctrl-exynos.c 	writel(save->eint_con, regs + EXYNOS_GPIO_ECON_OFFSET
regs              659 drivers/pinctrl/samsung/pinctrl-exynos.c 	writel(save->eint_fltcon0, regs + EXYNOS_GPIO_EFLTCON_OFFSET
regs              661 drivers/pinctrl/samsung/pinctrl-exynos.c 	writel(save->eint_fltcon1, regs + EXYNOS_GPIO_EFLTCON_OFFSET
regs              691 drivers/pinctrl/samsung/pinctrl-exynos.c 		regmap_write(pmu_regs, ctrl->regs[i], ctrl->value);
regs              711 drivers/pinctrl/samsung/pinctrl-exynos.c 	ctrl->regs = data->regs;
regs              720 drivers/pinctrl/samsung/pinctrl-exynos.c 		regmap_write(pmu_regs, ctrl->regs[i], ctrl->value);
regs              190 drivers/pinctrl/samsung/pinctrl-samsung.h 	const u32	*regs;
regs              208 drivers/pinctrl/samsung/pinctrl-samsung.h 	const u32	*regs;
regs               34 drivers/pinctrl/sh-pfc/gpio.c 	struct sh_pfc_gpio_data_reg	*regs;
regs               51 drivers/pinctrl/sh-pfc/gpio.c 	*reg = &chip->regs[gpio_pin->dreg];
regs              107 drivers/pinctrl/sh-pfc/gpio.c 	chip->regs = devm_kcalloc(pfc->dev, i, sizeof(*chip->regs),
regs              109 drivers/pinctrl/sh-pfc/gpio.c 	if (chip->regs == NULL)
regs              113 drivers/pinctrl/sh-pfc/gpio.c 		chip->regs[i].info = dreg;
regs              114 drivers/pinctrl/sh-pfc/gpio.c 		chip->regs[i].shadow = gpio_read_data_reg(chip, dreg);
regs              367 drivers/pinctrl/sirf/pinctrl-atlas7.c 	void __iomem *regs[ATLAS7_PINCTRL_REG_BANKS];
regs             4973 drivers/pinctrl/sirf/pinctrl-atlas7.c 			pmx->regs[BANK_DS] + CLR_REG(mux->dinput_reg));
regs             4975 drivers/pinctrl/sirf/pinctrl-atlas7.c 			pmx->regs[BANK_DS] + mux->dinput_reg);
regs             4979 drivers/pinctrl/sirf/pinctrl-atlas7.c 			pmx->regs[BANK_DS] + CLR_REG(mux->dinput_val_reg));
regs             4981 drivers/pinctrl/sirf/pinctrl-atlas7.c 			pmx->regs[BANK_DS] + mux->dinput_val_reg);
regs             4991 drivers/pinctrl/sirf/pinctrl-atlas7.c 			pmx->regs[BANK_DS] + CLR_REG(mux->dinput_reg));
regs             4993 drivers/pinctrl/sirf/pinctrl-atlas7.c 			pmx->regs[BANK_DS] + mux->dinput_reg);
regs             4996 drivers/pinctrl/sirf/pinctrl-atlas7.c 			pmx->regs[BANK_DS] + CLR_REG(mux->dinput_val_reg));
regs             4998 drivers/pinctrl/sirf/pinctrl-atlas7.c 			pmx->regs[BANK_DS] + mux->dinput_val_reg);
regs             5010 drivers/pinctrl/sirf/pinctrl-atlas7.c 		pmx->regs[bank] + CLR_REG(conf->ad_ctrl_reg));
regs             5013 drivers/pinctrl/sirf/pinctrl-atlas7.c 	regv = readl(pmx->regs[bank] + conf->ad_ctrl_reg);
regs             5016 drivers/pinctrl/sirf/pinctrl-atlas7.c 			pmx->regs[bank] + conf->ad_ctrl_reg);
regs             5018 drivers/pinctrl/sirf/pinctrl-atlas7.c 	regv = readl(pmx->regs[bank] + conf->ad_ctrl_reg);
regs             5080 drivers/pinctrl/sirf/pinctrl-atlas7.c 		pmx->regs[bank] + CLR_REG(conf->mux_reg));
regs             5083 drivers/pinctrl/sirf/pinctrl-atlas7.c 	regv = readl(pmx->regs[bank] + conf->mux_reg);
regs             5086 drivers/pinctrl/sirf/pinctrl-atlas7.c 			pmx->regs[bank] + conf->mux_reg);
regs             5088 drivers/pinctrl/sirf/pinctrl-atlas7.c 	regv = readl(pmx->regs[bank] + conf->mux_reg);
regs             5173 drivers/pinctrl/sirf/pinctrl-atlas7.c 	pull_sel_reg = pmx->regs[bank] + conf->pupd_reg;
regs             5201 drivers/pinctrl/sirf/pinctrl-atlas7.c 	ds_sel_reg = pmx->regs[bank] + conf->drvstr_reg;
regs             5443 drivers/pinctrl/sirf/pinctrl-atlas7.c 		pmx->regs[idx] = of_iomap(np, idx);
regs             5444 drivers/pinctrl/sirf/pinctrl-atlas7.c 		if (!pmx->regs[idx]) {
regs             5468 drivers/pinctrl/sirf/pinctrl-atlas7.c 		if (!pmx->regs[idx])
regs             5470 drivers/pinctrl/sirf/pinctrl-atlas7.c 		iounmap(pmx->regs[idx]);
regs             5495 drivers/pinctrl/sirf/pinctrl-atlas7.c 		regv = readl(pmx->regs[bank] + conf->mux_reg);
regs             5502 drivers/pinctrl/sirf/pinctrl-atlas7.c 		regv = readl(pmx->regs[bank] + conf->ad_ctrl_reg);
regs             5512 drivers/pinctrl/sirf/pinctrl-atlas7.c 		regv = readl(pmx->regs[bank] + conf->drvstr_reg);
regs             5518 drivers/pinctrl/sirf/pinctrl-atlas7.c 		regv = readl(pmx->regs[bank] + conf->pupd_reg);
regs             5528 drivers/pinctrl/sirf/pinctrl-atlas7.c 		pmx->status_ds[idx] = readl(pmx->regs[BANK_DS] +
regs             5530 drivers/pinctrl/sirf/pinctrl-atlas7.c 		pmx->status_dsv[idx] = readl(pmx->regs[BANK_DS] +
regs             5568 drivers/pinctrl/sirf/pinctrl-atlas7.c 		writel(~0, pmx->regs[BANK_DS] +
regs             5570 drivers/pinctrl/sirf/pinctrl-atlas7.c 		writel(pmx->status_ds[idx], pmx->regs[BANK_DS] +
regs             5572 drivers/pinctrl/sirf/pinctrl-atlas7.c 		writel(~0, pmx->regs[BANK_DS] +
regs             5574 drivers/pinctrl/sirf/pinctrl-atlas7.c 		writel(pmx->status_dsv[idx], pmx->regs[BANK_DS] +
regs              433 drivers/pinctrl/sirf/pinctrl-sirf.c 	val = readl(sgpio->chip.regs + offset);
regs              435 drivers/pinctrl/sirf/pinctrl-sirf.c 	writel(val, sgpio->chip.regs + offset);
regs              451 drivers/pinctrl/sirf/pinctrl-sirf.c 	val = readl(sgpio->chip.regs + offset);
regs              454 drivers/pinctrl/sirf/pinctrl-sirf.c 	writel(val, sgpio->chip.regs + offset);
regs              481 drivers/pinctrl/sirf/pinctrl-sirf.c 	val = readl(sgpio->chip.regs + offset);
regs              484 drivers/pinctrl/sirf/pinctrl-sirf.c 	writel(val, sgpio->chip.regs + offset);
regs              502 drivers/pinctrl/sirf/pinctrl-sirf.c 	val = readl(sgpio->chip.regs + offset);
regs              535 drivers/pinctrl/sirf/pinctrl-sirf.c 	writel(val, sgpio->chip.regs + offset);
regs              570 drivers/pinctrl/sirf/pinctrl-sirf.c 	status = readl(sgpio->chip.regs + SIRFSOC_GPIO_INT_STATUS(bank->id));
regs              580 drivers/pinctrl/sirf/pinctrl-sirf.c 		ctrl = readl(sgpio->chip.regs + SIRFSOC_GPIO_CTRL(bank->id, idx));
regs              605 drivers/pinctrl/sirf/pinctrl-sirf.c 	val = readl(sgpio->chip.regs + ctrl_offset);
regs              607 drivers/pinctrl/sirf/pinctrl-sirf.c 	writel(val, sgpio->chip.regs + ctrl_offset);
regs              678 drivers/pinctrl/sirf/pinctrl-sirf.c 	out_ctrl = readl(sgpio->chip.regs + offset);
regs              686 drivers/pinctrl/sirf/pinctrl-sirf.c 	writel(out_ctrl, sgpio->chip.regs + offset);
regs              720 drivers/pinctrl/sirf/pinctrl-sirf.c 	val = readl(sgpio->chip.regs + SIRFSOC_GPIO_CTRL(bank->id, offset));
regs              737 drivers/pinctrl/sirf/pinctrl-sirf.c 	ctrl = readl(sgpio->chip.regs + SIRFSOC_GPIO_CTRL(bank->id, offset));
regs              742 drivers/pinctrl/sirf/pinctrl-sirf.c 	writel(ctrl, sgpio->chip.regs + SIRFSOC_GPIO_CTRL(bank->id, offset));
regs              756 drivers/pinctrl/sirf/pinctrl-sirf.c 			u32 val = readl(sgpio->chip.regs + offset);
regs              759 drivers/pinctrl/sirf/pinctrl-sirf.c 			writel(val, sgpio->chip.regs + offset);
regs              773 drivers/pinctrl/sirf/pinctrl-sirf.c 			u32 val = readl(sgpio->chip.regs + offset);
regs              776 drivers/pinctrl/sirf/pinctrl-sirf.c 			writel(val, sgpio->chip.regs + offset);
regs              786 drivers/pinctrl/sirf/pinctrl-sirf.c 	void __iomem *regs;
regs              800 drivers/pinctrl/sirf/pinctrl-sirf.c 	regs = of_iomap(np, 0);
regs              801 drivers/pinctrl/sirf/pinctrl-sirf.c 	if (!regs)
regs              817 drivers/pinctrl/sirf/pinctrl-sirf.c 	sgpio->chip.regs = regs;
regs              873 drivers/pinctrl/sirf/pinctrl-sirf.c 	iounmap(regs);
regs               73 drivers/pinctrl/spear/pinctrl-plgpio.c 	struct plgpio_regs	regs;
regs              121 drivers/pinctrl/spear/pinctrl-plgpio.c 	plgpio_reg_set(plgpio->base, offset, plgpio->regs.dir);
regs              149 drivers/pinctrl/spear/pinctrl-plgpio.c 				plgpio->regs.wdata);
regs              152 drivers/pinctrl/spear/pinctrl-plgpio.c 				plgpio->regs.wdata);
regs              154 drivers/pinctrl/spear/pinctrl-plgpio.c 	plgpio_reg_reset(plgpio->base, dir_offset, plgpio->regs.dir);
regs              174 drivers/pinctrl/spear/pinctrl-plgpio.c 	return is_plgpio_set(plgpio->base, offset, plgpio->regs.rdata);
regs              192 drivers/pinctrl/spear/pinctrl-plgpio.c 		plgpio_reg_set(plgpio->base, offset, plgpio->regs.wdata);
regs              194 drivers/pinctrl/spear/pinctrl-plgpio.c 		plgpio_reg_reset(plgpio->base, offset, plgpio->regs.wdata);
regs              217 drivers/pinctrl/spear/pinctrl-plgpio.c 	if (plgpio->regs.enb == -1)
regs              237 drivers/pinctrl/spear/pinctrl-plgpio.c 	plgpio_reg_set(plgpio->base, offset, plgpio->regs.enb);
regs              258 drivers/pinctrl/spear/pinctrl-plgpio.c 	if (plgpio->regs.enb == -1)
regs              269 drivers/pinctrl/spear/pinctrl-plgpio.c 	plgpio_reg_reset(plgpio->base, offset, plgpio->regs.enb);
regs              295 drivers/pinctrl/spear/pinctrl-plgpio.c 	plgpio_reg_set(plgpio->base, offset, plgpio->regs.ie);
regs              314 drivers/pinctrl/spear/pinctrl-plgpio.c 	plgpio_reg_reset(plgpio->base, offset, plgpio->regs.ie);
regs              329 drivers/pinctrl/spear/pinctrl-plgpio.c 	if (plgpio->regs.eit == -1)
regs              337 drivers/pinctrl/spear/pinctrl-plgpio.c 	if (plgpio->regs.eit == -1)
regs              340 drivers/pinctrl/spear/pinctrl-plgpio.c 	reg_off = REG_OFFSET(plgpio->base, plgpio->regs.eit, offset);
regs              373 drivers/pinctrl/spear/pinctrl-plgpio.c 		pending = readl_relaxed(plgpio->base + plgpio->regs.mis +
regs              379 drivers/pinctrl/spear/pinctrl-plgpio.c 		writel_relaxed(~pending, plgpio->base + plgpio->regs.mis +
regs              466 drivers/pinctrl/spear/pinctrl-plgpio.c 		plgpio->regs.enb = val;
regs              468 drivers/pinctrl/spear/pinctrl-plgpio.c 		plgpio->regs.enb = -1;
regs              471 drivers/pinctrl/spear/pinctrl-plgpio.c 		plgpio->regs.wdata = val;
regs              478 drivers/pinctrl/spear/pinctrl-plgpio.c 		plgpio->regs.dir = val;
regs              485 drivers/pinctrl/spear/pinctrl-plgpio.c 		plgpio->regs.ie = val;
regs              492 drivers/pinctrl/spear/pinctrl-plgpio.c 		plgpio->regs.rdata = val;
regs              499 drivers/pinctrl/spear/pinctrl-plgpio.c 		plgpio->regs.mis = val;
regs              506 drivers/pinctrl/spear/pinctrl-plgpio.c 		plgpio->regs.eit = val;
regs              508 drivers/pinctrl/spear/pinctrl-plgpio.c 		plgpio->regs.eit = -1;
regs              623 drivers/pinctrl/spear/pinctrl-plgpio.c 		if (plgpio->regs.enb != -1)
regs              625 drivers/pinctrl/spear/pinctrl-plgpio.c 				readl_relaxed(plgpio->regs.enb + off);
regs              626 drivers/pinctrl/spear/pinctrl-plgpio.c 		if (plgpio->regs.eit != -1)
regs              628 drivers/pinctrl/spear/pinctrl-plgpio.c 				readl_relaxed(plgpio->regs.eit + off);
regs              629 drivers/pinctrl/spear/pinctrl-plgpio.c 		plgpio->csave_regs[i].wdata = readl_relaxed(plgpio->regs.wdata +
regs              631 drivers/pinctrl/spear/pinctrl-plgpio.c 		plgpio->csave_regs[i].dir = readl_relaxed(plgpio->regs.dir +
regs              633 drivers/pinctrl/spear/pinctrl-plgpio.c 		plgpio->csave_regs[i].ie = readl_relaxed(plgpio->regs.ie + off);
regs              647 drivers/pinctrl/spear/pinctrl-plgpio.c 	_tmp = readl_relaxed(plgpio->regs.__reg + _off);		\
regs              667 drivers/pinctrl/spear/pinctrl-plgpio.c 			if (plgpio->regs.enb != -1)
regs              670 drivers/pinctrl/spear/pinctrl-plgpio.c 			if (plgpio->regs.eit != -1)
regs              678 drivers/pinctrl/spear/pinctrl-plgpio.c 		writel_relaxed(plgpio->csave_regs[i].wdata, plgpio->regs.wdata +
regs              680 drivers/pinctrl/spear/pinctrl-plgpio.c 		writel_relaxed(plgpio->csave_regs[i].dir, plgpio->regs.dir +
regs              683 drivers/pinctrl/spear/pinctrl-plgpio.c 		if (plgpio->regs.eit != -1)
regs              685 drivers/pinctrl/spear/pinctrl-plgpio.c 					plgpio->regs.eit + off);
regs              687 drivers/pinctrl/spear/pinctrl-plgpio.c 		writel_relaxed(plgpio->csave_regs[i].ie, plgpio->regs.ie + off);
regs              689 drivers/pinctrl/spear/pinctrl-plgpio.c 		if (plgpio->regs.enb != -1)
regs              691 drivers/pinctrl/spear/pinctrl-plgpio.c 					plgpio->regs.enb + off);
regs               79 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	void __iomem *regs;
regs               96 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	writel(value, padctl->regs + offset);
regs              102 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	return readl(padctl->regs + offset);
regs              892 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	padctl->regs = devm_ioremap_resource(&pdev->dev, res);
regs              893 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	if (IS_ERR(padctl->regs))
regs              894 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 		return PTR_ERR(padctl->regs);
regs               30 drivers/pinctrl/tegra/pinctrl-tegra.c 	return readl(pmx->regs[bank] + reg);
regs               35 drivers/pinctrl/tegra/pinctrl-tegra.c 	writel_relaxed(val, pmx->regs[bank] + reg);
regs              651 drivers/pinctrl/tegra/pinctrl-tegra.c 	u32 *regs;
regs              657 drivers/pinctrl/tegra/pinctrl-tegra.c 		regs = pmx->regs[i];
regs              659 drivers/pinctrl/tegra/pinctrl-tegra.c 			*backup_regs++ = readl_relaxed(regs++);
regs              669 drivers/pinctrl/tegra/pinctrl-tegra.c 	u32 *regs;
regs              675 drivers/pinctrl/tegra/pinctrl-tegra.c 		regs = pmx->regs[i];
regs              677 drivers/pinctrl/tegra/pinctrl-tegra.c 			writel_relaxed(*backup_regs++, regs++);
regs              681 drivers/pinctrl/tegra/pinctrl-tegra.c 	readl_relaxed(pmx->regs[0]);
regs              773 drivers/pinctrl/tegra/pinctrl-tegra.c 	pmx->regs = devm_kcalloc(&pdev->dev, pmx->nbanks, sizeof(*pmx->regs),
regs              775 drivers/pinctrl/tegra/pinctrl-tegra.c 	if (!pmx->regs)
regs              785 drivers/pinctrl/tegra/pinctrl-tegra.c 		pmx->regs[i] = devm_ioremap_resource(&pdev->dev, res);
regs              786 drivers/pinctrl/tegra/pinctrl-tegra.c 		if (IS_ERR(pmx->regs[i]))
regs              787 drivers/pinctrl/tegra/pinctrl-tegra.c 			return PTR_ERR(pmx->regs[i]);
regs               19 drivers/pinctrl/tegra/pinctrl-tegra.h 	void __iomem **regs;
regs             2241 drivers/pinctrl/tegra/pinctrl-tegra20.c 			 pmx->regs[1] + 0x8, 2, 2, CLK_MUX_READ_ONLY, NULL);
regs             2244 drivers/pinctrl/tegra/pinctrl-tegra20.c 			 pmx->regs[1] + 0x8, 4, 2, CLK_MUX_READ_ONLY, NULL);
regs             2501 drivers/platform/x86/toshiba_acpi.c static int toshiba_acpi_smm_bridge(SMMRegisters *regs)
regs             2503 drivers/platform/x86/toshiba_acpi.c 	u32 in[TCI_WORDS] = { regs->eax, regs->ebx, regs->ecx,
regs             2504 drivers/platform/x86/toshiba_acpi.c 			      regs->edx, regs->esi, regs->edi };
regs             2515 drivers/platform/x86/toshiba_acpi.c 	regs->eax = out[0];
regs             2516 drivers/platform/x86/toshiba_acpi.c 	regs->ebx = out[1];
regs             2517 drivers/platform/x86/toshiba_acpi.c 	regs->ecx = out[2];
regs             2518 drivers/platform/x86/toshiba_acpi.c 	regs->edx = out[3];
regs             2519 drivers/platform/x86/toshiba_acpi.c 	regs->esi = out[4];
regs             2520 drivers/platform/x86/toshiba_acpi.c 	regs->edi = out[5];
regs             2529 drivers/platform/x86/toshiba_acpi.c 	SMMRegisters regs;
regs             2537 drivers/platform/x86/toshiba_acpi.c 		if (copy_from_user(&regs, argp, sizeof(SMMRegisters)))
regs             2539 drivers/platform/x86/toshiba_acpi.c 		ret = toshiba_acpi_smm_bridge(&regs);
regs             2542 drivers/platform/x86/toshiba_acpi.c 		if (copy_to_user(argp, &regs, sizeof(SMMRegisters)))
regs             2546 drivers/platform/x86/toshiba_acpi.c 		if (copy_from_user(&regs, argp, sizeof(SMMRegisters)))
regs             2549 drivers/platform/x86/toshiba_acpi.c 		if (regs.eax != SCI_GET && regs.eax != SCI_SET)
regs             2553 drivers/platform/x86/toshiba_acpi.c 		ret = toshiba_acpi_smm_bridge(&regs);
regs             2557 drivers/platform/x86/toshiba_acpi.c 		if (copy_to_user(argp, &regs, sizeof(SMMRegisters)))
regs              779 drivers/power/supply/bq27xxx_battery.c 	.regs  = ref##_regs,			\
regs              787 drivers/power/supply/bq27xxx_battery.c 	u8 *regs;
regs              917 drivers/power/supply/bq27xxx_battery.c 	if (!di || di->regs[reg_index] == INVALID_REG_ADDR)
regs              920 drivers/power/supply/bq27xxx_battery.c 	ret = di->bus.read(di, di->regs[reg_index], single);
regs              923 drivers/power/supply/bq27xxx_battery.c 			di->regs[reg_index], reg_index);
regs              933 drivers/power/supply/bq27xxx_battery.c 	if (!di || di->regs[reg_index] == INVALID_REG_ADDR)
regs              939 drivers/power/supply/bq27xxx_battery.c 	ret = di->bus.write(di, di->regs[reg_index], value, single);
regs              942 drivers/power/supply/bq27xxx_battery.c 			di->regs[reg_index], reg_index);
regs              952 drivers/power/supply/bq27xxx_battery.c 	if (!di || di->regs[reg_index] == INVALID_REG_ADDR)
regs              958 drivers/power/supply/bq27xxx_battery.c 	ret = di->bus.read_bulk(di, di->regs[reg_index], data, len);
regs              961 drivers/power/supply/bq27xxx_battery.c 			di->regs[reg_index], reg_index);
regs              971 drivers/power/supply/bq27xxx_battery.c 	if (!di || di->regs[reg_index] == INVALID_REG_ADDR)
regs              977 drivers/power/supply/bq27xxx_battery.c 	ret = di->bus.write_bulk(di, di->regs[reg_index], data, len);
regs              980 drivers/power/supply/bq27xxx_battery.c 			di->regs[reg_index], reg_index);
regs             1592 drivers/power/supply/bq27xxx_battery.c 			if (di->regs[BQ27XXX_REG_TTE] != INVALID_REG_ADDR)
regs             1594 drivers/power/supply/bq27xxx_battery.c 			if (di->regs[BQ27XXX_REG_TTECP] != INVALID_REG_ADDR)
regs             1596 drivers/power/supply/bq27xxx_battery.c 			if (di->regs[BQ27XXX_REG_TTF] != INVALID_REG_ADDR)
regs             1600 drivers/power/supply/bq27xxx_battery.c 			if (di->regs[BQ27XXX_REG_AE] != INVALID_REG_ADDR)
regs             1605 drivers/power/supply/bq27xxx_battery.c 		if (di->regs[BQ27XXX_REG_CYCT] != INVALID_REG_ADDR)
regs             1607 drivers/power/supply/bq27xxx_battery.c 		if (di->regs[BQ27XXX_REG_AP] != INVALID_REG_ADDR)
regs             1870 drivers/power/supply/bq27xxx_battery.c 	di->regs       = bq27xxx_chip_data[di->chip].regs;
regs              537 drivers/powercap/intel_rapl_common.c 			rd->regs[j] = rp->priv->regs[i][j];
regs              649 drivers/powercap/intel_rapl_common.c 	ra.reg = rd->regs[rp->id];
regs              701 drivers/powercap/intel_rapl_common.c 	ra.reg = rd->regs[rp->id];
regs             1092 drivers/powercap/intel_rapl_common.c 	ra.reg = priv->regs[RAPL_DOMAIN_PLATFORM][RAPL_DOMAIN_REG_STATUS];
regs             1098 drivers/powercap/intel_rapl_common.c 	ra.reg = priv->regs[RAPL_DOMAIN_PLATFORM][RAPL_DOMAIN_REG_LIMIT];
regs             1110 drivers/powercap/intel_rapl_common.c 	rd->regs[RAPL_DOMAIN_REG_LIMIT] =
regs             1111 drivers/powercap/intel_rapl_common.c 	    priv->regs[RAPL_DOMAIN_PLATFORM][RAPL_DOMAIN_REG_LIMIT];
regs             1112 drivers/powercap/intel_rapl_common.c 	rd->regs[RAPL_DOMAIN_REG_STATUS] =
regs             1113 drivers/powercap/intel_rapl_common.c 	    priv->regs[RAPL_DOMAIN_PLATFORM][RAPL_DOMAIN_REG_STATUS];
regs             1155 drivers/powercap/intel_rapl_common.c 		ra.reg = rp->priv->regs[domain][RAPL_DOMAIN_REG_STATUS];
regs               35 drivers/powercap/intel_rapl_msr.c 	.regs[RAPL_DOMAIN_PACKAGE] = {
regs               37 drivers/powercap/intel_rapl_msr.c 	.regs[RAPL_DOMAIN_PP0] = {
regs               39 drivers/powercap/intel_rapl_msr.c 	.regs[RAPL_DOMAIN_PP1] = {
regs               41 drivers/powercap/intel_rapl_msr.c 	.regs[RAPL_DOMAIN_DRAM] = {
regs               43 drivers/powercap/intel_rapl_msr.c 	.regs[RAPL_DOMAIN_PLATFORM] = {
regs               52 drivers/ptp/ptp_dte.c 	void __iomem *regs;
regs               62 drivers/ptp/ptp_dte.c static void dte_write_nco(void __iomem *regs, s64 ns)
regs               75 drivers/ptp/ptp_dte.c 	writel(0, (regs + DTE_NCO_LOW_TIME_REG));
regs               76 drivers/ptp/ptp_dte.c 	writel(sum2, (regs + DTE_NCO_TIME_REG));
regs               77 drivers/ptp/ptp_dte.c 	writel(sum3, (regs + DTE_NCO_OVERFLOW_REG));
regs               80 drivers/ptp/ptp_dte.c static s64 dte_read_nco(void __iomem *regs)
regs               89 drivers/ptp/ptp_dte.c 	sum3 = readl(regs + DTE_NCO_OVERFLOW_REG) & DTE_NCO_SUM3_MASK;
regs               90 drivers/ptp/ptp_dte.c 	sum2 = readl(regs + DTE_NCO_TIME_REG);
regs              101 drivers/ptp/ptp_dte.c 	ns = dte_read_nco(ptp_dte->regs);
regs              119 drivers/ptp/ptp_dte.c 	dte_write_nco(ptp_dte->regs, ns);
regs              130 drivers/ptp/ptp_dte.c 	ns = dte_read_nco(ptp_dte->regs);
regs              164 drivers/ptp/ptp_dte.c 	writel(nco_incr, ptp_dte->regs + DTE_NCO_INC_REG);
regs              203 drivers/ptp/ptp_dte.c 	writel(0, ptp_dte->regs + DTE_NCO_INC_REG);
regs              205 drivers/ptp/ptp_dte.c 	dte_write_nco(ptp_dte->regs, timespec64_to_ns(ts));
regs              212 drivers/ptp/ptp_dte.c 	writel(DTE_NCO_INC_DEFAULT, ptp_dte->regs + DTE_NCO_INC_REG);
regs              250 drivers/ptp/ptp_dte.c 	ptp_dte->regs = devm_ioremap_resource(dev, res);
regs              251 drivers/ptp/ptp_dte.c 	if (IS_ERR(ptp_dte->regs))
regs              252 drivers/ptp/ptp_dte.c 		return PTR_ERR(ptp_dte->regs);
regs              280 drivers/ptp/ptp_dte.c 		writel(0, ptp_dte->regs + (i * sizeof(u32)));
regs              293 drivers/ptp/ptp_dte.c 			readl(ptp_dte->regs + (i * sizeof(u32)));
regs              297 drivers/ptp/ptp_dte.c 	writel(0, ptp_dte->regs + DTE_NCO_INC_REG);
regs              310 drivers/ptp/ptp_dte.c 				(ptp_dte->regs + (i * sizeof(u32))));
regs              314 drivers/ptp/ptp_dte.c 				(ptp_dte->regs + (i * sizeof(u32))));
regs               28 drivers/ptp/ptp_ixp46x.c 	struct ixp46x_ts_regs *regs;
regs               41 drivers/ptp/ptp_ixp46x.c static u64 ixp_systime_read(struct ixp46x_ts_regs *regs)
regs               46 drivers/ptp/ptp_ixp46x.c 	lo = __raw_readl(&regs->systime_lo);
regs               47 drivers/ptp/ptp_ixp46x.c 	hi = __raw_readl(&regs->systime_hi);
regs               56 drivers/ptp/ptp_ixp46x.c static void ixp_systime_write(struct ixp46x_ts_regs *regs, u64 ns)
regs               64 drivers/ptp/ptp_ixp46x.c 	__raw_writel(lo, &regs->systime_lo);
regs               65 drivers/ptp/ptp_ixp46x.c 	__raw_writel(hi, &regs->systime_hi);
regs               75 drivers/ptp/ptp_ixp46x.c 	struct ixp46x_ts_regs *regs = ixp_clock->regs;
regs               79 drivers/ptp/ptp_ixp46x.c 	val = __raw_readl(&regs->event);
regs               84 drivers/ptp/ptp_ixp46x.c 			hi = __raw_readl(&regs->asms_hi);
regs               85 drivers/ptp/ptp_ixp46x.c 			lo = __raw_readl(&regs->asms_lo);
regs               98 drivers/ptp/ptp_ixp46x.c 			hi = __raw_readl(&regs->amms_hi);
regs               99 drivers/ptp/ptp_ixp46x.c 			lo = __raw_readl(&regs->amms_lo);
regs              113 drivers/ptp/ptp_ixp46x.c 		__raw_writel(ack, &regs->event);
regs              129 drivers/ptp/ptp_ixp46x.c 	struct ixp46x_ts_regs *regs = ixp_clock->regs;
regs              142 drivers/ptp/ptp_ixp46x.c 	__raw_writel(addend, &regs->addend);
regs              152 drivers/ptp/ptp_ixp46x.c 	struct ixp46x_ts_regs *regs = ixp_clock->regs;
regs              156 drivers/ptp/ptp_ixp46x.c 	now = ixp_systime_read(regs);
regs              158 drivers/ptp/ptp_ixp46x.c 	ixp_systime_write(regs, now);
regs              170 drivers/ptp/ptp_ixp46x.c 	struct ixp46x_ts_regs *regs = ixp_clock->regs;
regs              174 drivers/ptp/ptp_ixp46x.c 	ns = ixp_systime_read(regs);
regs              188 drivers/ptp/ptp_ixp46x.c 	struct ixp46x_ts_regs *regs = ixp_clock->regs;
regs              194 drivers/ptp/ptp_ixp46x.c 	ixp_systime_write(regs, ns);
regs              289 drivers/ptp/ptp_ixp46x.c 	ixp_clock.regs =
regs              301 drivers/ptp/ptp_ixp46x.c 	__raw_writel(DEFAULT_ADDEND, &ixp_clock.regs->addend);
regs              302 drivers/ptp/ptp_ixp46x.c 	__raw_writel(1, &ixp_clock.regs->trgt_lo);
regs              303 drivers/ptp/ptp_ixp46x.c 	__raw_writel(0, &ixp_clock.regs->trgt_hi);
regs              304 drivers/ptp/ptp_ixp46x.c 	__raw_writel(TTIPEND, &ixp_clock.regs->event);
regs              109 drivers/ptp/ptp_pch.c 	struct pch_ts_regs __iomem *regs;
regs              141 drivers/ptp/ptp_pch.c 	val = ioread32(&chip->regs->ts_sel) | (PCH_ECS_ETH);
regs              142 drivers/ptp/ptp_pch.c 	iowrite32(val, (&chip->regs->ts_sel));
regs              145 drivers/ptp/ptp_pch.c static u64 pch_systime_read(struct pch_ts_regs __iomem *regs)
regs              150 drivers/ptp/ptp_pch.c 	lo = ioread32(&regs->systime_lo);
regs              151 drivers/ptp/ptp_pch.c 	hi = ioread32(&regs->systime_hi);
regs              160 drivers/ptp/ptp_pch.c static void pch_systime_write(struct pch_ts_regs __iomem *regs, u64 ns)
regs              168 drivers/ptp/ptp_pch.c 	iowrite32(lo, &regs->systime_lo);
regs              169 drivers/ptp/ptp_pch.c 	iowrite32(hi, &regs->systime_hi);
regs              176 drivers/ptp/ptp_pch.c 	val = ioread32(&chip->regs->control) | PCH_TSC_RESET;
regs              177 drivers/ptp/ptp_pch.c 	iowrite32(val, (&chip->regs->control));
regs              179 drivers/ptp/ptp_pch.c 	iowrite32(val, (&chip->regs->control));
regs              187 drivers/ptp/ptp_pch.c 	val = ioread32(&chip->regs->ch_control);
regs              197 drivers/ptp/ptp_pch.c 	iowrite32(val, (&chip->regs->ch_control));
regs              206 drivers/ptp/ptp_pch.c 	val = ioread32(&chip->regs->ch_event);
regs              216 drivers/ptp/ptp_pch.c 	iowrite32(val, (&chip->regs->ch_event));
regs              225 drivers/ptp/ptp_pch.c 	val = ioread32(&chip->regs->src_uuid_lo);
regs              236 drivers/ptp/ptp_pch.c 	val = ioread32(&chip->regs->src_uuid_hi);
regs              248 drivers/ptp/ptp_pch.c 	lo = ioread32(&chip->regs->rx_snap_lo);
regs              249 drivers/ptp/ptp_pch.c 	hi = ioread32(&chip->regs->rx_snap_hi);
regs              265 drivers/ptp/ptp_pch.c 	lo = ioread32(&chip->regs->tx_snap_lo);
regs              266 drivers/ptp/ptp_pch.c 	hi = ioread32(&chip->regs->tx_snap_hi);
regs              280 drivers/ptp/ptp_pch.c 	iowrite32(0x01, &chip->regs->stl_max_set_en);
regs              281 drivers/ptp/ptp_pch.c 	iowrite32(0xFFFFFFFF, &chip->regs->stl_max_set);
regs              282 drivers/ptp/ptp_pch.c 	iowrite32(0x00, &chip->regs->stl_max_set_en);
regs              306 drivers/ptp/ptp_pch.c 	if ((chip->regs == NULL) || addr == (u8 *)NULL) {
regs              340 drivers/ptp/ptp_pch.c 		iowrite32(val, &chip->regs->ts_st[i]);
regs              352 drivers/ptp/ptp_pch.c 	struct pch_ts_regs __iomem *regs = pch_dev->regs;
regs              356 drivers/ptp/ptp_pch.c 	val = ioread32(&regs->event);
regs              361 drivers/ptp/ptp_pch.c 			hi = ioread32(&regs->asms_hi);
regs              362 drivers/ptp/ptp_pch.c 			lo = ioread32(&regs->asms_lo);
regs              375 drivers/ptp/ptp_pch.c 			hi = ioread32(&regs->amms_hi);
regs              376 drivers/ptp/ptp_pch.c 			lo = ioread32(&regs->amms_lo);
regs              390 drivers/ptp/ptp_pch.c 		iowrite32(ack, &regs->event);
regs              406 drivers/ptp/ptp_pch.c 	struct pch_ts_regs __iomem *regs = pch_dev->regs;
regs              419 drivers/ptp/ptp_pch.c 	iowrite32(addend, &regs->addend);
regs              429 drivers/ptp/ptp_pch.c 	struct pch_ts_regs __iomem *regs = pch_dev->regs;
regs              432 drivers/ptp/ptp_pch.c 	now = pch_systime_read(regs);
regs              434 drivers/ptp/ptp_pch.c 	pch_systime_write(regs, now);
regs              445 drivers/ptp/ptp_pch.c 	struct pch_ts_regs __iomem *regs = pch_dev->regs;
regs              448 drivers/ptp/ptp_pch.c 	ns = pch_systime_read(regs);
regs              461 drivers/ptp/ptp_pch.c 	struct pch_ts_regs __iomem *regs = pch_dev->regs;
regs              466 drivers/ptp/ptp_pch.c 	pch_systime_write(regs, ns);
regs              556 drivers/ptp/ptp_pch.c 	if (chip->regs != NULL) {
regs              557 drivers/ptp/ptp_pch.c 		iounmap(chip->regs);
regs              558 drivers/ptp/ptp_pch.c 		chip->regs = NULL;
regs              607 drivers/ptp/ptp_pch.c 	chip->regs = ioremap(chip->mem_base, chip->mem_size);
regs              609 drivers/ptp/ptp_pch.c 	if (!chip->regs) {
regs              639 drivers/ptp/ptp_pch.c 	iowrite32(DEFAULT_ADDEND, &chip->regs->addend);
regs              640 drivers/ptp/ptp_pch.c 	iowrite32(1, &chip->regs->trgt_lo);
regs              641 drivers/ptp/ptp_pch.c 	iowrite32(0, &chip->regs->trgt_hi);
regs              642 drivers/ptp/ptp_pch.c 	iowrite32(PCH_TSE_TTIPEND, &chip->regs->event);
regs              660 drivers/ptp/ptp_pch.c 	iounmap(chip->regs);
regs              661 drivers/ptp/ptp_pch.c 	chip->regs = NULL;
regs               29 drivers/ptp/ptp_qoriq.c 	struct ptp_qoriq_registers *regs = &ptp_qoriq->regs;
regs               33 drivers/ptp/ptp_qoriq.c 	lo = ptp_qoriq->read(&regs->ctrl_regs->tmr_cnt_l);
regs               34 drivers/ptp/ptp_qoriq.c 	hi = ptp_qoriq->read(&regs->ctrl_regs->tmr_cnt_h);
regs               43 drivers/ptp/ptp_qoriq.c 	struct ptp_qoriq_registers *regs = &ptp_qoriq->regs;
regs               47 drivers/ptp/ptp_qoriq.c 	ptp_qoriq->write(&regs->ctrl_regs->tmr_cnt_l, lo);
regs               48 drivers/ptp/ptp_qoriq.c 	ptp_qoriq->write(&regs->ctrl_regs->tmr_cnt_h, hi);
regs               54 drivers/ptp/ptp_qoriq.c 	struct ptp_qoriq_registers *regs = &ptp_qoriq->regs;
regs               63 drivers/ptp/ptp_qoriq.c 	ptp_qoriq->write(&regs->alarm_regs->tmr_alarm1_l, lo);
regs               64 drivers/ptp/ptp_qoriq.c 	ptp_qoriq->write(&regs->alarm_regs->tmr_alarm1_h, hi);
regs               70 drivers/ptp/ptp_qoriq.c 	struct ptp_qoriq_registers *regs = &ptp_qoriq->regs;
regs               73 drivers/ptp/ptp_qoriq.c 	ptp_qoriq->write(&regs->fiper_regs->tmr_fiper1, ptp_qoriq->tmr_fiper1);
regs               74 drivers/ptp/ptp_qoriq.c 	ptp_qoriq->write(&regs->fiper_regs->tmr_fiper2, ptp_qoriq->tmr_fiper2);
regs               80 drivers/ptp/ptp_qoriq.c 	struct ptp_qoriq_registers *regs = &ptp_qoriq->regs;
regs               89 drivers/ptp/ptp_qoriq.c 		reg_etts_l = &regs->etts_regs->tmr_etts1_l;
regs               90 drivers/ptp/ptp_qoriq.c 		reg_etts_h = &regs->etts_regs->tmr_etts1_h;
regs               94 drivers/ptp/ptp_qoriq.c 		reg_etts_l = &regs->etts_regs->tmr_etts2_l;
regs               95 drivers/ptp/ptp_qoriq.c 		reg_etts_h = &regs->etts_regs->tmr_etts2_h;
regs              114 drivers/ptp/ptp_qoriq.c 		stat = ptp_qoriq->read(&regs->ctrl_regs->tmr_stat);
regs              127 drivers/ptp/ptp_qoriq.c 	struct ptp_qoriq_registers *regs = &ptp_qoriq->regs;
regs              134 drivers/ptp/ptp_qoriq.c 	val = ptp_qoriq->read(&regs->ctrl_regs->tmr_tevent);
regs              135 drivers/ptp/ptp_qoriq.c 	mask = ptp_qoriq->read(&regs->ctrl_regs->tmr_temask);
regs              163 drivers/ptp/ptp_qoriq.c 			ptp_qoriq->write(&regs->alarm_regs->tmr_alarm2_l, lo);
regs              164 drivers/ptp/ptp_qoriq.c 			ptp_qoriq->write(&regs->alarm_regs->tmr_alarm2_h, hi);
regs              168 drivers/ptp/ptp_qoriq.c 			mask = ptp_qoriq->read(&regs->ctrl_regs->tmr_temask);
regs              170 drivers/ptp/ptp_qoriq.c 			ptp_qoriq->write(&regs->ctrl_regs->tmr_temask, mask);
regs              184 drivers/ptp/ptp_qoriq.c 		ptp_qoriq->write(&regs->ctrl_regs->tmr_tevent, ack);
regs              201 drivers/ptp/ptp_qoriq.c 	struct ptp_qoriq_registers *regs = &ptp_qoriq->regs;
regs              219 drivers/ptp/ptp_qoriq.c 	ptp_qoriq->write(&regs->ctrl_regs->tmr_add, tmr_add);
regs              286 drivers/ptp/ptp_qoriq.c 	struct ptp_qoriq_registers *regs = &ptp_qoriq->regs;
regs              316 drivers/ptp/ptp_qoriq.c 	mask = ptp_qoriq->read(&regs->ctrl_regs->tmr_temask);
regs              319 drivers/ptp/ptp_qoriq.c 		ptp_qoriq->write(&regs->ctrl_regs->tmr_tevent, bit);
regs              324 drivers/ptp/ptp_qoriq.c 	ptp_qoriq->write(&regs->ctrl_regs->tmr_temask, mask);
regs              452 drivers/ptp/ptp_qoriq.c 	struct ptp_qoriq_registers *regs;
regs              499 drivers/ptp/ptp_qoriq.c 		ptp_qoriq->regs.ctrl_regs = base + ETSEC_CTRL_REGS_OFFSET;
regs              500 drivers/ptp/ptp_qoriq.c 		ptp_qoriq->regs.alarm_regs = base + ETSEC_ALARM_REGS_OFFSET;
regs              501 drivers/ptp/ptp_qoriq.c 		ptp_qoriq->regs.fiper_regs = base + ETSEC_FIPER_REGS_OFFSET;
regs              502 drivers/ptp/ptp_qoriq.c 		ptp_qoriq->regs.etts_regs = base + ETSEC_ETTS_REGS_OFFSET;
regs              504 drivers/ptp/ptp_qoriq.c 		ptp_qoriq->regs.ctrl_regs = base + CTRL_REGS_OFFSET;
regs              505 drivers/ptp/ptp_qoriq.c 		ptp_qoriq->regs.alarm_regs = base + ALARM_REGS_OFFSET;
regs              506 drivers/ptp/ptp_qoriq.c 		ptp_qoriq->regs.fiper_regs = base + FIPER_REGS_OFFSET;
regs              507 drivers/ptp/ptp_qoriq.c 		ptp_qoriq->regs.etts_regs = base + ETTS_REGS_OFFSET;
regs              521 drivers/ptp/ptp_qoriq.c 	regs = &ptp_qoriq->regs;
regs              522 drivers/ptp/ptp_qoriq.c 	ptp_qoriq->write(&regs->ctrl_regs->tmr_ctrl, tmr_ctrl);
regs              523 drivers/ptp/ptp_qoriq.c 	ptp_qoriq->write(&regs->ctrl_regs->tmr_add, ptp_qoriq->tmr_add);
regs              524 drivers/ptp/ptp_qoriq.c 	ptp_qoriq->write(&regs->ctrl_regs->tmr_prsc, ptp_qoriq->tmr_prsc);
regs              525 drivers/ptp/ptp_qoriq.c 	ptp_qoriq->write(&regs->fiper_regs->tmr_fiper1, ptp_qoriq->tmr_fiper1);
regs              526 drivers/ptp/ptp_qoriq.c 	ptp_qoriq->write(&regs->fiper_regs->tmr_fiper2, ptp_qoriq->tmr_fiper2);
regs              528 drivers/ptp/ptp_qoriq.c 	ptp_qoriq->write(&regs->ctrl_regs->tmr_ctrl,
regs              545 drivers/ptp/ptp_qoriq.c 	struct ptp_qoriq_registers *regs = &ptp_qoriq->regs;
regs              547 drivers/ptp/ptp_qoriq.c 	ptp_qoriq->write(&regs->ctrl_regs->tmr_temask, 0);
regs              548 drivers/ptp/ptp_qoriq.c 	ptp_qoriq->write(&regs->ctrl_regs->tmr_ctrl,   0);
regs               11 drivers/ptp/ptp_qoriq_debugfs.c 	struct ptp_qoriq_registers *regs = &ptp_qoriq->regs;
regs               14 drivers/ptp/ptp_qoriq_debugfs.c 	ctrl = ptp_qoriq->read(&regs->ctrl_regs->tmr_ctrl);
regs               23 drivers/ptp/ptp_qoriq_debugfs.c 	struct ptp_qoriq_registers *regs = &ptp_qoriq->regs;
regs               26 drivers/ptp/ptp_qoriq_debugfs.c 	ctrl = ptp_qoriq->read(&regs->ctrl_regs->tmr_ctrl);
regs               32 drivers/ptp/ptp_qoriq_debugfs.c 	ptp_qoriq->write(&regs->ctrl_regs->tmr_ctrl, ctrl);
regs               42 drivers/ptp/ptp_qoriq_debugfs.c 	struct ptp_qoriq_registers *regs = &ptp_qoriq->regs;
regs               45 drivers/ptp/ptp_qoriq_debugfs.c 	ctrl = ptp_qoriq->read(&regs->ctrl_regs->tmr_ctrl);
regs               54 drivers/ptp/ptp_qoriq_debugfs.c 	struct ptp_qoriq_registers *regs = &ptp_qoriq->regs;
regs               57 drivers/ptp/ptp_qoriq_debugfs.c 	ctrl = ptp_qoriq->read(&regs->ctrl_regs->tmr_ctrl);
regs               63 drivers/ptp/ptp_qoriq_debugfs.c 	ptp_qoriq->write(&regs->ctrl_regs->tmr_ctrl, ctrl);
regs               78 drivers/pwm/pwm-atmel-tcb.c 	void __iomem *regs = tc->regs;
regs              101 drivers/pwm/pwm-atmel-tcb.c 	cmr = __raw_readl(regs + ATMEL_TC_REG(group, CMR));
regs              109 drivers/pwm/pwm-atmel-tcb.c 				__raw_readl(regs + ATMEL_TC_REG(group, RA));
regs              112 drivers/pwm/pwm-atmel-tcb.c 				__raw_readl(regs + ATMEL_TC_REG(group, RB));
regs              115 drivers/pwm/pwm-atmel-tcb.c 		tcbpwm->period = __raw_readl(regs + ATMEL_TC_REG(group, RC));
regs              122 drivers/pwm/pwm-atmel-tcb.c 	__raw_writel(cmr, regs + ATMEL_TC_REG(group, CMR));
regs              146 drivers/pwm/pwm-atmel-tcb.c 	void __iomem *regs = tc->regs;
regs              164 drivers/pwm/pwm-atmel-tcb.c 	cmr = __raw_readl(regs + ATMEL_TC_REG(group, CMR));
regs              181 drivers/pwm/pwm-atmel-tcb.c 	__raw_writel(cmr, regs + ATMEL_TC_REG(group, CMR));
regs              189 drivers/pwm/pwm-atmel-tcb.c 			     regs + ATMEL_TC_REG(group, CCR));
regs              192 drivers/pwm/pwm-atmel-tcb.c 		__raw_writel(ATMEL_TC_SWTRG, regs +
regs              205 drivers/pwm/pwm-atmel-tcb.c 	void __iomem *regs = tc->regs;
regs              223 drivers/pwm/pwm-atmel-tcb.c 	cmr = __raw_readl(regs + ATMEL_TC_REG(group, CMR));
regs              266 drivers/pwm/pwm-atmel-tcb.c 	__raw_writel(cmr, regs + ATMEL_TC_REG(group, CMR));
regs              269 drivers/pwm/pwm-atmel-tcb.c 		__raw_writel(tcbpwm->duty, regs + ATMEL_TC_REG(group, RA));
regs              271 drivers/pwm/pwm-atmel-tcb.c 		__raw_writel(tcbpwm->duty, regs + ATMEL_TC_REG(group, RB));
regs              273 drivers/pwm/pwm-atmel-tcb.c 	__raw_writel(tcbpwm->period, regs + ATMEL_TC_REG(group, RC));
regs              277 drivers/pwm/pwm-atmel-tcb.c 		     regs + ATMEL_TC_REG(group, CCR));
regs              464 drivers/pwm/pwm-atmel-tcb.c 	void __iomem *base = tcbpwm->tc->regs;
regs              481 drivers/pwm/pwm-atmel-tcb.c 	void __iomem *base = tcbpwm->tc->regs;
regs               63 drivers/pwm/pwm-atmel.c 	struct atmel_pwm_registers regs;
regs              152 drivers/pwm/pwm-atmel.c 	if (atmel_pwm->data->regs.duty_upd ==
regs              153 drivers/pwm/pwm-atmel.c 	    atmel_pwm->data->regs.period_upd) {
regs              160 drivers/pwm/pwm-atmel.c 			    atmel_pwm->data->regs.duty_upd, cdty);
regs              170 drivers/pwm/pwm-atmel.c 			    atmel_pwm->data->regs.duty, cdty);
regs              172 drivers/pwm/pwm-atmel.c 			    atmel_pwm->data->regs.period, cprd);
regs              227 drivers/pwm/pwm-atmel.c 						  atmel_pwm->data->regs.period);
regs              280 drivers/pwm/pwm-atmel.c 	.regs = {
regs              294 drivers/pwm/pwm-atmel.c 	.regs = {
regs              308 drivers/pwm/pwm-atmel.c 	.regs = {
regs               41 drivers/pwm/pwm-lpss.c 	return readl(lpwm->regs + pwm->hwpwm * PWM_SIZE + PWM);
regs               48 drivers/pwm/pwm-lpss.c 	writel(value, lpwm->regs + pwm->hwpwm * PWM_SIZE + PWM);
regs               54 drivers/pwm/pwm-lpss.c 	const void __iomem *addr = lpwm->regs + pwm->hwpwm * PWM_SIZE + PWM;
regs              214 drivers/pwm/pwm-lpss.c 	lpwm->regs = devm_ioremap_resource(dev, r);
regs              215 drivers/pwm/pwm-lpss.c 	if (IS_ERR(lpwm->regs))
regs              216 drivers/pwm/pwm-lpss.c 		return ERR_CAST(lpwm->regs);
regs              257 drivers/pwm/pwm-lpss.c 		lpwm->saved_ctrl[i] = readl(lpwm->regs + i * PWM_SIZE + PWM);
regs              269 drivers/pwm/pwm-lpss.c 		writel(lpwm->saved_ctrl[i], lpwm->regs + i * PWM_SIZE + PWM);
regs               20 drivers/pwm/pwm-lpss.h 	void __iomem *regs;
regs               52 drivers/pwm/pwm-mediatek.c 	void __iomem *regs;
regs              110 drivers/pwm/pwm-mediatek.c 	return readl(chip->regs + pwm_mediatek_reg_offset[num] + offset);
regs              117 drivers/pwm/pwm-mediatek.c 	writel(value, chip->regs + pwm_mediatek_reg_offset[num] + offset);
regs              181 drivers/pwm/pwm-mediatek.c 	value = readl(pc->regs);
regs              183 drivers/pwm/pwm-mediatek.c 	writel(value, pc->regs);
regs              193 drivers/pwm/pwm-mediatek.c 	value = readl(pc->regs);
regs              195 drivers/pwm/pwm-mediatek.c 	writel(value, pc->regs);
regs              221 drivers/pwm/pwm-mediatek.c 	pc->regs = devm_ioremap_resource(&pdev->dev, res);
regs              222 drivers/pwm/pwm-mediatek.c 	if (IS_ERR(pc->regs))
regs              223 drivers/pwm/pwm-mediatek.c 		return PTR_ERR(pc->regs);
regs              540 drivers/pwm/pwm-meson.c 	struct resource *regs;
regs              547 drivers/pwm/pwm-meson.c 	regs = platform_get_resource(pdev, IORESOURCE_MEM, 0);
regs              548 drivers/pwm/pwm-meson.c 	meson->base = devm_ioremap_resource(&pdev->dev, regs);
regs               48 drivers/pwm/pwm-rockchip.c 	struct rockchip_pwm_regs regs;
regs               77 drivers/pwm/pwm-rockchip.c 	tmp = readl_relaxed(pc->base + pc->data->regs.period);
regs               81 drivers/pwm/pwm-rockchip.c 	tmp = readl_relaxed(pc->base + pc->data->regs.duty);
regs               85 drivers/pwm/pwm-rockchip.c 	val = readl_relaxed(pc->base + pc->data->regs.ctrl);
regs              127 drivers/pwm/pwm-rockchip.c 	ctrl = readl_relaxed(pc->base + pc->data->regs.ctrl);
regs              130 drivers/pwm/pwm-rockchip.c 		writel_relaxed(ctrl, pc->base + pc->data->regs.ctrl);
regs              133 drivers/pwm/pwm-rockchip.c 	writel(period, pc->base + pc->data->regs.period);
regs              134 drivers/pwm/pwm-rockchip.c 	writel(duty, pc->base + pc->data->regs.duty);
regs              152 drivers/pwm/pwm-rockchip.c 	writel(ctrl, pc->base + pc->data->regs.ctrl);
regs              170 drivers/pwm/pwm-rockchip.c 	val = readl_relaxed(pc->base + pc->data->regs.ctrl);
regs              177 drivers/pwm/pwm-rockchip.c 	writel_relaxed(val, pc->base + pc->data->regs.ctrl);
regs              228 drivers/pwm/pwm-rockchip.c 	.regs = {
regs              241 drivers/pwm/pwm-rockchip.c 	.regs = {
regs              255 drivers/pwm/pwm-rockchip.c 	.regs = {
regs              269 drivers/pwm/pwm-rockchip.c 	.regs = {
regs               49 drivers/pwm/pwm-sifive.c 	void __iomem *regs;
regs              100 drivers/pwm/pwm-sifive.c 	writel(val, ddata->regs + PWM_SIFIVE_PWMCFG);
regs              115 drivers/pwm/pwm-sifive.c 	duty = readl(ddata->regs + PWM_SIFIVE_PWMCMP0 +
regs              120 drivers/pwm/pwm-sifive.c 	val = readl(ddata->regs + PWM_SIFIVE_PWMCFG);
regs              197 drivers/pwm/pwm-sifive.c 	writel(frac, ddata->regs + PWM_SIFIVE_PWMCMP0 +
regs              252 drivers/pwm/pwm-sifive.c 	ddata->regs = devm_ioremap_resource(dev, res);
regs              253 drivers/pwm/pwm-sifive.c 	if (IS_ERR(ddata->regs))
regs              254 drivers/pwm/pwm-sifive.c 		return PTR_ERR(ddata->regs);
regs               45 drivers/pwm/pwm-tegra.c 	void __iomem *regs;
regs               57 drivers/pwm/pwm-tegra.c 	return readl(chip->regs + (num << 4));
regs               63 drivers/pwm/pwm-tegra.c 	writel(val, chip->regs + (num << 4));
regs              184 drivers/pwm/pwm-tegra.c 	pwm->regs = devm_ioremap_resource(&pdev->dev, r);
regs              185 drivers/pwm/pwm-tegra.c 	if (IS_ERR(pwm->regs))
regs              186 drivers/pwm/pwm-tegra.c 		return PTR_ERR(pwm->regs);
regs               65 drivers/rapidio/devices/tsi721.c 	*data = ioread32(priv->regs + offset);
regs               89 drivers/rapidio/devices/tsi721.c 	iowrite32(data, priv->regs + offset);
regs              113 drivers/rapidio/devices/tsi721.c 	void __iomem *regs = priv->regs + TSI721_DMAC_BASE(priv->mdma.ch_id);
regs              127 drivers/rapidio/devices/tsi721.c 	rd_count = ioread32(regs + TSI721_DMAC_DRDCNT);
regs              142 drivers/rapidio/devices/tsi721.c 	iowrite32(rd_count + 2,	regs + TSI721_DMAC_DWRCNT);
regs              143 drivers/rapidio/devices/tsi721.c 	ioread32(regs + TSI721_DMAC_DWRCNT);
regs              147 drivers/rapidio/devices/tsi721.c 	while ((ch_stat = ioread32(regs + TSI721_DMAC_STS))
regs              171 drivers/rapidio/devices/tsi721.c 		iowrite32(TSI721_DMAC_INT_ALL, regs + TSI721_DMAC_INT);
regs              172 drivers/rapidio/devices/tsi721.c 		iowrite32(TSI721_DMAC_CTL_INIT, regs + TSI721_DMAC_CTL);
regs              174 drivers/rapidio/devices/tsi721.c 		iowrite32(0, regs + TSI721_DMAC_DWRCNT);
regs              190 drivers/rapidio/devices/tsi721.c 	swr_ptr = ioread32(regs + TSI721_DMAC_DSWP);
regs              191 drivers/rapidio/devices/tsi721.c 	iowrite32(swr_ptr, regs + TSI721_DMAC_DSRP);
regs              261 drivers/rapidio/devices/tsi721.c 	pw_stat = ioread32(priv->regs + TSI721_RIO_PW_RX_STAT);
regs              264 drivers/rapidio/devices/tsi721.c 		pw_buf[0] = ioread32(priv->regs + TSI721_RIO_PW_RX_CAPT(0));
regs              265 drivers/rapidio/devices/tsi721.c 		pw_buf[1] = ioread32(priv->regs + TSI721_RIO_PW_RX_CAPT(1));
regs              266 drivers/rapidio/devices/tsi721.c 		pw_buf[2] = ioread32(priv->regs + TSI721_RIO_PW_RX_CAPT(2));
regs              267 drivers/rapidio/devices/tsi721.c 		pw_buf[3] = ioread32(priv->regs + TSI721_RIO_PW_RX_CAPT(3));
regs              283 drivers/rapidio/devices/tsi721.c 		  priv->regs + TSI721_RIO_PW_RX_STAT);
regs              316 drivers/rapidio/devices/tsi721.c 	rval = ioread32(priv->regs + TSI721_RIO_EM_INT_ENABLE);
regs              325 drivers/rapidio/devices/tsi721.c 		  priv->regs + TSI721_RIO_PW_RX_STAT);
regs              327 drivers/rapidio/devices/tsi721.c 	iowrite32(rval, priv->regs + TSI721_RIO_EM_INT_ENABLE);
regs              371 drivers/rapidio/devices/tsi721.c 	regval = ioread32(priv->regs + TSI721_SR_CHINTE(IDB_QUEUE));
regs              374 drivers/rapidio/devices/tsi721.c 		priv->regs + TSI721_SR_CHINTE(IDB_QUEUE));
regs              401 drivers/rapidio/devices/tsi721.c 	wr_ptr = ioread32(priv->regs + TSI721_IDQ_WP(IDB_QUEUE)) % IDB_QSIZE;
regs              402 drivers/rapidio/devices/tsi721.c 	rd_ptr = ioread32(priv->regs + TSI721_IDQ_RP(IDB_QUEUE)) % IDB_QSIZE;
regs              431 drivers/rapidio/devices/tsi721.c 		wr_ptr = ioread32(priv->regs +
regs              436 drivers/rapidio/devices/tsi721.c 		priv->regs + TSI721_IDQ_RP(IDB_QUEUE));
regs              439 drivers/rapidio/devices/tsi721.c 	regval = ioread32(priv->regs + TSI721_SR_CHINTE(IDB_QUEUE));
regs              442 drivers/rapidio/devices/tsi721.c 		priv->regs + TSI721_SR_CHINTE(IDB_QUEUE));
regs              444 drivers/rapidio/devices/tsi721.c 	wr_ptr = ioread32(priv->regs + TSI721_IDQ_WP(IDB_QUEUE)) % IDB_QSIZE;
regs              467 drivers/rapidio/devices/tsi721.c 		iowrite32(0, priv->regs + TSI721_DEV_INTE);
regs              469 drivers/rapidio/devices/tsi721.c 	dev_int = ioread32(priv->regs + TSI721_DEV_INT);
regs              473 drivers/rapidio/devices/tsi721.c 	dev_ch_int = ioread32(priv->regs + TSI721_DEV_CHAN_INT);
regs              479 drivers/rapidio/devices/tsi721.c 			intval = ioread32(priv->regs +
regs              489 drivers/rapidio/devices/tsi721.c 				priv->regs + TSI721_SR_CHINT(IDB_QUEUE));
regs              490 drivers/rapidio/devices/tsi721.c 			ioread32(priv->regs + TSI721_SR_CHINT(IDB_QUEUE));
regs              503 drivers/rapidio/devices/tsi721.c 			ch_inte = ioread32(priv->regs + TSI721_DEV_CHAN_INTE);
regs              505 drivers/rapidio/devices/tsi721.c 			iowrite32(ch_inte, priv->regs + TSI721_DEV_CHAN_INTE);
regs              519 drivers/rapidio/devices/tsi721.c 			ch_inte = ioread32(priv->regs + TSI721_DEV_CHAN_INTE);
regs              521 drivers/rapidio/devices/tsi721.c 			iowrite32(ch_inte, priv->regs + TSI721_DEV_CHAN_INTE);
regs              537 drivers/rapidio/devices/tsi721.c 		intval = ioread32(priv->regs + TSI721_RIO_EM_INT_STAT);
regs              563 drivers/rapidio/devices/tsi721.c 		iowrite32(dev_int, priv->regs + TSI721_DEV_INTE);
regs              575 drivers/rapidio/devices/tsi721.c 		priv->regs + TSI721_SR_CHINT(IDB_QUEUE));
regs              577 drivers/rapidio/devices/tsi721.c 		priv->regs + TSI721_SR_CHINTE(IDB_QUEUE));
regs              581 drivers/rapidio/devices/tsi721.c 		priv->regs + TSI721_RIO_EM_DEV_INT_EN);
regs              591 drivers/rapidio/devices/tsi721.c 	iowrite32(intr,	priv->regs + TSI721_DEV_CHAN_INTE);
regs              599 drivers/rapidio/devices/tsi721.c 	iowrite32(intr, priv->regs + TSI721_DEV_INTE);
regs              600 drivers/rapidio/devices/tsi721.c 	ioread32(priv->regs + TSI721_DEV_INTE);
regs              651 drivers/rapidio/devices/tsi721.c 	srio_int = ioread32(priv->regs + TSI721_RIO_EM_INT_STAT);
regs              673 drivers/rapidio/devices/tsi721.c 	sr_ch_int = ioread32(priv->regs + TSI721_SR_CHINT(IDB_QUEUE));
regs              678 drivers/rapidio/devices/tsi721.c 	iowrite32(sr_ch_int, priv->regs + TSI721_SR_CHINT(IDB_QUEUE));
regs              680 drivers/rapidio/devices/tsi721.c 	sr_ch_int = ioread32(priv->regs + TSI721_SR_CHINT(IDB_QUEUE));
regs              973 drivers/rapidio/devices/tsi721.c 		while (ioread32(priv->regs + TSI721_ZONE_SEL) &
regs              980 drivers/rapidio/devices/tsi721.c 		iowrite32(rval, priv->regs + TSI721_LUT_DATA0);
regs              982 drivers/rapidio/devices/tsi721.c 		iowrite32(rval, priv->regs + TSI721_LUT_DATA1);
regs              984 drivers/rapidio/devices/tsi721.c 		iowrite32(rval, priv->regs + TSI721_LUT_DATA2);
regs              987 drivers/rapidio/devices/tsi721.c 		iowrite32(rval, priv->regs + TSI721_ZONE_SEL);
regs              993 drivers/rapidio/devices/tsi721.c 		  priv->regs + TSI721_OBWINSZ(obw));
regs              994 drivers/rapidio/devices/tsi721.c 	iowrite32((u32)(ob_win->base >> 32), priv->regs + TSI721_OBWINUB(obw));
regs              996 drivers/rapidio/devices/tsi721.c 		  priv->regs + TSI721_OBWINLB(obw));
regs             1019 drivers/rapidio/devices/tsi721.c 			iowrite32(0, priv->regs + TSI721_OBWINLB(i));
regs             1041 drivers/rapidio/devices/tsi721.c 		iowrite32(0, priv->regs + TSI721_OBWINLB(i));
regs             1044 drivers/rapidio/devices/tsi721.c 	iowrite32(0, priv->regs + TSI721_LUT_DATA0);
regs             1045 drivers/rapidio/devices/tsi721.c 	iowrite32(0, priv->regs + TSI721_LUT_DATA1);
regs             1046 drivers/rapidio/devices/tsi721.c 	iowrite32(0, priv->regs + TSI721_LUT_DATA2);
regs             1050 drivers/rapidio/devices/tsi721.c 			while (ioread32(priv->regs + TSI721_ZONE_SEL) &
regs             1055 drivers/rapidio/devices/tsi721.c 			iowrite32(rval, priv->regs + TSI721_ZONE_SEL);
regs             1187 drivers/rapidio/devices/tsi721.c 	regval = ioread32(priv->regs + TSI721_IBWIN_LB(i));
regs             1212 drivers/rapidio/devices/tsi721.c 			priv->regs + TSI721_IBWIN_SZ(i));
regs             1214 drivers/rapidio/devices/tsi721.c 	iowrite32(((u64)loc_start >> 32), priv->regs + TSI721_IBWIN_TUA(i));
regs             1216 drivers/rapidio/devices/tsi721.c 		  priv->regs + TSI721_IBWIN_TLA(i));
regs             1218 drivers/rapidio/devices/tsi721.c 	iowrite32(ibw_start >> 32, priv->regs + TSI721_IBWIN_UB(i));
regs             1220 drivers/rapidio/devices/tsi721.c 		priv->regs + TSI721_IBWIN_LB(i));
regs             1283 drivers/rapidio/devices/tsi721.c 			iowrite32(0, priv->regs + TSI721_IBWIN_LB(i));
regs             1308 drivers/rapidio/devices/tsi721.c 		iowrite32(0, priv->regs + TSI721_IBWIN_LB(i));
regs             1326 drivers/rapidio/devices/tsi721.c 			iowrite32(0, priv->regs + TSI721_IBWIN_LB(i));
regs             1351 drivers/rapidio/devices/tsi721.c 	iowrite32(TSI721_RIO_PW_CTL_PWC_REL, priv->regs + TSI721_RIO_PW_CTL);
regs             1383 drivers/rapidio/devices/tsi721.c 		priv->regs + TSI721_IDQ_SIZE(IDB_QUEUE));
regs             1385 drivers/rapidio/devices/tsi721.c 		priv->regs + TSI721_IDQ_BASEU(IDB_QUEUE));
regs             1387 drivers/rapidio/devices/tsi721.c 		priv->regs + TSI721_IDQ_BASEL(IDB_QUEUE));
regs             1389 drivers/rapidio/devices/tsi721.c 	iowrite32(0, priv->regs + TSI721_IDQ_MASK(IDB_QUEUE));
regs             1391 drivers/rapidio/devices/tsi721.c 	iowrite32(TSI721_IDQ_INIT, priv->regs + TSI721_IDQ_CTL(IDB_QUEUE));
regs             1393 drivers/rapidio/devices/tsi721.c 	iowrite32(0, priv->regs + TSI721_IDQ_RP(IDB_QUEUE));
regs             1424 drivers/rapidio/devices/tsi721.c 	void __iomem	*regs;
regs             1434 drivers/rapidio/devices/tsi721.c 	regs = priv->regs + TSI721_DMAC_BASE(TSI721_DMACH_MAINT);
regs             1481 drivers/rapidio/devices/tsi721.c 	iowrite32(((u64)bd_phys >> 32),	regs + TSI721_DMAC_DPTRH);
regs             1483 drivers/rapidio/devices/tsi721.c 		regs + TSI721_DMAC_DPTRL);
regs             1486 drivers/rapidio/devices/tsi721.c 	iowrite32(((u64)sts_phys >> 32), regs + TSI721_DMAC_DSBH);
regs             1488 drivers/rapidio/devices/tsi721.c 		regs + TSI721_DMAC_DSBL);
regs             1490 drivers/rapidio/devices/tsi721.c 		regs + TSI721_DMAC_DSSZ);
regs             1493 drivers/rapidio/devices/tsi721.c 	iowrite32(TSI721_DMAC_INT_ALL, regs + TSI721_DMAC_INT);
regs             1495 drivers/rapidio/devices/tsi721.c 	ioread32(regs + TSI721_DMAC_INT);
regs             1498 drivers/rapidio/devices/tsi721.c 	iowrite32(TSI721_DMAC_CTL_INIT,	regs + TSI721_DMAC_CTL);
regs             1499 drivers/rapidio/devices/tsi721.c 	ioread32(regs + TSI721_DMAC_CTL);
regs             1509 drivers/rapidio/devices/tsi721.c 	void __iomem *regs = priv->regs + TSI721_DMAC_BASE(mdma->ch_id);
regs             1515 drivers/rapidio/devices/tsi721.c 	ch_stat = ioread32(regs + TSI721_DMAC_STS);
regs             1520 drivers/rapidio/devices/tsi721.c 	iowrite32(TSI721_DMAC_CTL_INIT,	regs + TSI721_DMAC_CTL);
regs             1547 drivers/rapidio/devices/tsi721.c 	iowrite32(inte_mask, priv->regs + TSI721_IBDMAC_INT(ch));
regs             1550 drivers/rapidio/devices/tsi721.c 	rval = ioread32(priv->regs + TSI721_IBDMAC_INTE(ch));
regs             1551 drivers/rapidio/devices/tsi721.c 	iowrite32(rval | inte_mask, priv->regs + TSI721_IBDMAC_INTE(ch));
regs             1561 drivers/rapidio/devices/tsi721.c 	rval = ioread32(priv->regs + TSI721_DEV_CHAN_INTE);
regs             1563 drivers/rapidio/devices/tsi721.c 		  priv->regs + TSI721_DEV_CHAN_INTE);
regs             1577 drivers/rapidio/devices/tsi721.c 	iowrite32(inte_mask, priv->regs + TSI721_IBDMAC_INT(ch));
regs             1580 drivers/rapidio/devices/tsi721.c 	rval = ioread32(priv->regs + TSI721_IBDMAC_INTE(ch));
regs             1582 drivers/rapidio/devices/tsi721.c 	iowrite32(rval, priv->regs + TSI721_IBDMAC_INTE(ch));
regs             1592 drivers/rapidio/devices/tsi721.c 	rval = ioread32(priv->regs + TSI721_DEV_CHAN_INTE);
regs             1594 drivers/rapidio/devices/tsi721.c 	iowrite32(rval, priv->regs + TSI721_DEV_CHAN_INTE);
regs             1608 drivers/rapidio/devices/tsi721.c 	iowrite32(inte_mask, priv->regs + TSI721_OBDMAC_INT(ch));
regs             1611 drivers/rapidio/devices/tsi721.c 	rval = ioread32(priv->regs + TSI721_OBDMAC_INTE(ch));
regs             1612 drivers/rapidio/devices/tsi721.c 	iowrite32(rval | inte_mask, priv->regs + TSI721_OBDMAC_INTE(ch));
regs             1622 drivers/rapidio/devices/tsi721.c 	rval = ioread32(priv->regs + TSI721_DEV_CHAN_INTE);
regs             1624 drivers/rapidio/devices/tsi721.c 		  priv->regs + TSI721_DEV_CHAN_INTE);
regs             1638 drivers/rapidio/devices/tsi721.c 	iowrite32(inte_mask, priv->regs + TSI721_OBDMAC_INT(ch));
regs             1641 drivers/rapidio/devices/tsi721.c 	rval = ioread32(priv->regs + TSI721_OBDMAC_INTE(ch));
regs             1643 drivers/rapidio/devices/tsi721.c 	iowrite32(rval, priv->regs + TSI721_OBDMAC_INTE(ch));
regs             1653 drivers/rapidio/devices/tsi721.c 	rval = ioread32(priv->regs + TSI721_DEV_CHAN_INTE);
regs             1655 drivers/rapidio/devices/tsi721.c 	iowrite32(rval, priv->regs + TSI721_DEV_CHAN_INTE);
regs             1719 drivers/rapidio/devices/tsi721.c 		priv->regs + TSI721_OBDMAC_DWRCNT(mbox));
regs             1720 drivers/rapidio/devices/tsi721.c 	ioread32(priv->regs + TSI721_OBDMAC_DWRCNT(mbox));
regs             1744 drivers/rapidio/devices/tsi721.c 	omsg_int = ioread32(priv->regs + TSI721_OBDMAC_INT(ch));
regs             1779 drivers/rapidio/devices/tsi721.c 		iowrite32(srd_ptr, priv->regs + TSI721_OBDMAC_DSRP(ch));
regs             1827 drivers/rapidio/devices/tsi721.c 			  ioread32(priv->regs + TSI721_OBDMAC_STS(ch)));
regs             1830 drivers/rapidio/devices/tsi721.c 				priv->regs + TSI721_OBDMAC_INT(ch));
regs             1832 drivers/rapidio/devices/tsi721.c 				priv->regs + TSI721_OBDMAC_CTL(ch));
regs             1833 drivers/rapidio/devices/tsi721.c 		ioread32(priv->regs + TSI721_OBDMAC_CTL(ch));
regs             1842 drivers/rapidio/devices/tsi721.c 			priv->regs + TSI721_OBDMAC_DRDCNT(ch));
regs             1843 drivers/rapidio/devices/tsi721.c 		ioread32(priv->regs + TSI721_OBDMAC_DRDCNT(ch));
regs             1849 drivers/rapidio/devices/tsi721.c 	iowrite32(omsg_int, priv->regs + TSI721_OBDMAC_INT(ch));
regs             1855 drivers/rapidio/devices/tsi721.c 		ch_inte = ioread32(priv->regs + TSI721_DEV_CHAN_INTE);
regs             1857 drivers/rapidio/devices/tsi721.c 		iowrite32(ch_inte, priv->regs + TSI721_DEV_CHAN_INTE);
regs             1946 drivers/rapidio/devices/tsi721.c 			priv->regs + TSI721_OBDMAC_DPTRH(mbox));
regs             1949 drivers/rapidio/devices/tsi721.c 			priv->regs + TSI721_OBDMAC_DPTRL(mbox));
regs             1953 drivers/rapidio/devices/tsi721.c 			priv->regs + TSI721_OBDMAC_DSBH(mbox));
regs             1956 drivers/rapidio/devices/tsi721.c 			priv->regs + TSI721_OBDMAC_DSBL(mbox));
regs             1958 drivers/rapidio/devices/tsi721.c 		priv->regs + (u32)TSI721_OBDMAC_DSSZ(mbox));
regs             2007 drivers/rapidio/devices/tsi721.c 		  priv->regs + TSI721_OBDMAC_CTL(mbox));
regs             2008 drivers/rapidio/devices/tsi721.c 	ioread32(priv->regs + TSI721_OBDMAC_DWRCNT(mbox));
regs             2121 drivers/rapidio/devices/tsi721.c 	imsg_int = ioread32(priv->regs + TSI721_IBDMAC_INT(ch));
regs             2133 drivers/rapidio/devices/tsi721.c 	iowrite32(imsg_int, priv->regs + TSI721_IBDMAC_INT(ch));
regs             2145 drivers/rapidio/devices/tsi721.c 		ch_inte = ioread32(priv->regs + TSI721_DEV_CHAN_INTE);
regs             2147 drivers/rapidio/devices/tsi721.c 		iowrite32(ch_inte, priv->regs + TSI721_DEV_CHAN_INTE);
regs             2249 drivers/rapidio/devices/tsi721.c 			priv->regs + TSI721_IB_DEVID);
regs             2259 drivers/rapidio/devices/tsi721.c 		priv->regs + TSI721_IBDMAC_FQBH(ch));
regs             2262 drivers/rapidio/devices/tsi721.c 		priv->regs+TSI721_IBDMAC_FQBL(ch));
regs             2264 drivers/rapidio/devices/tsi721.c 		priv->regs + TSI721_IBDMAC_FQSZ(ch));
regs             2268 drivers/rapidio/devices/tsi721.c 		priv->regs + TSI721_IBDMAC_DQBH(ch));
regs             2271 drivers/rapidio/devices/tsi721.c 		priv->regs+TSI721_IBDMAC_DQBL(ch));
regs             2273 drivers/rapidio/devices/tsi721.c 		priv->regs + TSI721_IBDMAC_DQSZ(ch));
regs             2310 drivers/rapidio/devices/tsi721.c 	iowrite32(TSI721_IBDMAC_CTL_INIT, priv->regs + TSI721_IBDMAC_CTL(ch));
regs             2311 drivers/rapidio/devices/tsi721.c 	ioread32(priv->regs + TSI721_IBDMAC_CTL(ch));
regs             2314 drivers/rapidio/devices/tsi721.c 	iowrite32(entries - 1, priv->regs + TSI721_IBDMAC_FQWP(ch));
regs             2490 drivers/rapidio/devices/tsi721.c 		priv->regs + TSI721_IBDMAC_DQRP(ch));
regs             2500 drivers/rapidio/devices/tsi721.c 		priv->regs + TSI721_IBDMAC_FQWP(ch));
regs             2515 drivers/rapidio/devices/tsi721.c 	iowrite32(0, priv->regs + TSI721_SMSG_ECC_LOG);
regs             2516 drivers/rapidio/devices/tsi721.c 	iowrite32(0, priv->regs + TSI721_RETRY_GEN_CNT);
regs             2517 drivers/rapidio/devices/tsi721.c 	iowrite32(0, priv->regs + TSI721_RETRY_RX_CNT);
regs             2520 drivers/rapidio/devices/tsi721.c 	iowrite32(TSI721_RQRPTO_VAL, priv->regs + TSI721_RQRPTO);
regs             2526 drivers/rapidio/devices/tsi721.c 			priv->regs + TSI721_IBDMAC_INT(ch));
regs             2528 drivers/rapidio/devices/tsi721.c 		iowrite32(0, priv->regs + TSI721_IBDMAC_STS(ch));
regs             2531 drivers/rapidio/devices/tsi721.c 				priv->regs + TSI721_SMSG_ECC_COR_LOG(ch));
regs             2533 drivers/rapidio/devices/tsi721.c 				priv->regs + TSI721_SMSG_ECC_NCOR(ch));
regs             2552 drivers/rapidio/devices/tsi721.c 	rval = ioread32(priv->regs + 0x100 + RIO_PORT_N_ERR_STS_CSR(0, 0));
regs             2554 drivers/rapidio/devices/tsi721.c 		rval = ioread32(priv->regs + 0x100 + RIO_PORT_N_CTL2_CSR(0, 0));
regs             2556 drivers/rapidio/devices/tsi721.c 		rval = ioread32(priv->regs + 0x100 + RIO_PORT_N_CTL_CSR(0, 0));
regs             2581 drivers/rapidio/devices/tsi721.c 	iowrite32(0, priv->regs + TSI721_DEV_INTE);
regs             2584 drivers/rapidio/devices/tsi721.c 	iowrite32(0, priv->regs + TSI721_DEV_CHAN_INTE);
regs             2588 drivers/rapidio/devices/tsi721.c 		iowrite32(0, priv->regs + TSI721_IBDMAC_INTE(ch));
regs             2592 drivers/rapidio/devices/tsi721.c 		iowrite32(0, priv->regs + TSI721_OBDMAC_INTE(ch));
regs             2595 drivers/rapidio/devices/tsi721.c 	iowrite32(0, priv->regs + TSI721_SMSG_INTE);
regs             2600 drivers/rapidio/devices/tsi721.c 			priv->regs + TSI721_DMAC_BASE(ch) + TSI721_DMAC_INTE);
regs             2603 drivers/rapidio/devices/tsi721.c 	iowrite32(0, priv->regs + TSI721_BDMA_INTE);
regs             2607 drivers/rapidio/devices/tsi721.c 		iowrite32(0, priv->regs + TSI721_SR_CHINTE(ch));
regs             2610 drivers/rapidio/devices/tsi721.c 	iowrite32(0, priv->regs + TSI721_SR2PC_GEN_INTE);
regs             2613 drivers/rapidio/devices/tsi721.c 	iowrite32(0, priv->regs + TSI721_PC2SR_INTE);
regs             2616 drivers/rapidio/devices/tsi721.c 	iowrite32(0, priv->regs + TSI721_I2C_INT_ENABLE);
regs             2619 drivers/rapidio/devices/tsi721.c 	iowrite32(0, priv->regs + TSI721_RIO_EM_INT_ENABLE);
regs             2620 drivers/rapidio/devices/tsi721.c 	iowrite32(0, priv->regs + TSI721_RIO_EM_DEV_INT_EN);
regs             2710 drivers/rapidio/devices/tsi721.c 	iowrite32(ioread32(priv->regs + TSI721_DEVCTL) |
regs             2712 drivers/rapidio/devices/tsi721.c 		  priv->regs + TSI721_DEVCTL);
regs             2717 drivers/rapidio/devices/tsi721.c 			  priv->regs + (0x100 + RIO_PORT_GEN_CTL_CSR));
regs             2719 drivers/rapidio/devices/tsi721.c 		iowrite32(0, priv->regs + (0x100 + RIO_PORT_GEN_CTL_CSR));
regs             2824 drivers/rapidio/devices/tsi721.c 	priv->regs = pci_ioremap_bar(pdev, BAR_0);
regs             2825 drivers/rapidio/devices/tsi721.c 	if (!priv->regs) {
regs             2921 drivers/rapidio/devices/tsi721.c 	if (priv->regs)
regs             2922 drivers/rapidio/devices/tsi721.c 		iounmap(priv->regs);
regs             2953 drivers/rapidio/devices/tsi721.c 	if (priv->regs)
regs             2954 drivers/rapidio/devices/tsi721.c 		iounmap(priv->regs);
regs              690 drivers/rapidio/devices/tsi721.h 	void __iomem	*regs;
regs              871 drivers/rapidio/devices/tsi721.h 	void __iomem	*regs;
regs              127 drivers/rapidio/devices/tsi721_dma.c 		bdma_chan->regs + TSI721_DMAC_DPTRH);
regs              129 drivers/rapidio/devices/tsi721_dma.c 		bdma_chan->regs + TSI721_DMAC_DPTRL);
regs              133 drivers/rapidio/devices/tsi721_dma.c 		bdma_chan->regs + TSI721_DMAC_DSBH);
regs              135 drivers/rapidio/devices/tsi721_dma.c 		bdma_chan->regs + TSI721_DMAC_DSBL);
regs              137 drivers/rapidio/devices/tsi721_dma.c 		bdma_chan->regs + TSI721_DMAC_DSSZ);
regs              141 drivers/rapidio/devices/tsi721_dma.c 		bdma_chan->regs + TSI721_DMAC_INT);
regs              143 drivers/rapidio/devices/tsi721_dma.c 	ioread32(bdma_chan->regs + TSI721_DMAC_INT);
regs              197 drivers/rapidio/devices/tsi721_dma.c 	iowrite32(TSI721_DMAC_CTL_INIT,	bdma_chan->regs + TSI721_DMAC_CTL);
regs              198 drivers/rapidio/devices/tsi721_dma.c 	ioread32(bdma_chan->regs + TSI721_DMAC_CTL);
regs              217 drivers/rapidio/devices/tsi721_dma.c 	ch_stat = ioread32(bdma_chan->regs + TSI721_DMAC_STS);
regs              222 drivers/rapidio/devices/tsi721_dma.c 	iowrite32(TSI721_DMAC_CTL_INIT,	bdma_chan->regs + TSI721_DMAC_CTL);
regs              253 drivers/rapidio/devices/tsi721_dma.c 			bdma_chan->regs + TSI721_DMAC_INT);
regs              254 drivers/rapidio/devices/tsi721_dma.c 		ioread32(bdma_chan->regs + TSI721_DMAC_INT);
regs              257 drivers/rapidio/devices/tsi721_dma.c 			bdma_chan->regs + TSI721_DMAC_INTE);
regs              260 drivers/rapidio/devices/tsi721_dma.c 		iowrite32(0, bdma_chan->regs + TSI721_DMAC_INTE);
regs              263 drivers/rapidio/devices/tsi721_dma.c 			bdma_chan->regs + TSI721_DMAC_INT);
regs              272 drivers/rapidio/devices/tsi721_dma.c 	sts = ioread32(bdma_chan->regs + TSI721_DMAC_STS);
regs              279 drivers/rapidio/devices/tsi721_dma.c 	iowrite32(0, bdma_chan->regs + TSI721_DMAC_INTE);
regs              324 drivers/rapidio/devices/tsi721_dma.c 		bdma_chan->regs + TSI721_DMAC_DWRCNT);
regs              325 drivers/rapidio/devices/tsi721_dma.c 	ioread32(bdma_chan->regs + TSI721_DMAC_DWRCNT);
regs              404 drivers/rapidio/devices/tsi721_dma.c 	iowrite32(srd_ptr, bdma_chan->regs + TSI721_DMAC_DSRP);
regs              440 drivers/rapidio/devices/tsi721_dma.c 	rd_idx = ioread32(bdma_chan->regs + TSI721_DMAC_DRDCNT);
regs              574 drivers/rapidio/devices/tsi721_dma.c 	dmac_int = ioread32(bdma_chan->regs + TSI721_DMAC_INT);
regs              578 drivers/rapidio/devices/tsi721_dma.c 	iowrite32(dmac_int, bdma_chan->regs + TSI721_DMAC_INT);
regs              585 drivers/rapidio/devices/tsi721_dma.c 		dmac_sts = ioread32(bdma_chan->regs + TSI721_DMAC_STS);
regs              601 drivers/rapidio/devices/tsi721_dma.c 			  bdma_chan->regs + TSI721_DMAC_CTL);
regs              604 drivers/rapidio/devices/tsi721_dma.c 			dmac_sts = ioread32(bdma_chan->regs + TSI721_DMAC_STS);
regs              617 drivers/rapidio/devices/tsi721_dma.c 			bdma_chan->regs + TSI721_DMAC_DPTRH);
regs              619 drivers/rapidio/devices/tsi721_dma.c 			bdma_chan->regs + TSI721_DMAC_DPTRL);
regs              623 drivers/rapidio/devices/tsi721_dma.c 			bdma_chan->regs + TSI721_DMAC_DSBH);
regs              625 drivers/rapidio/devices/tsi721_dma.c 			bdma_chan->regs + TSI721_DMAC_DSBL);
regs              627 drivers/rapidio/devices/tsi721_dma.c 			bdma_chan->regs + TSI721_DMAC_DSSZ);
regs              631 drivers/rapidio/devices/tsi721_dma.c 			bdma_chan->regs + TSI721_DMAC_INT);
regs              633 drivers/rapidio/devices/tsi721_dma.c 		ioread32(bdma_chan->regs + TSI721_DMAC_INT);
regs              688 drivers/rapidio/devices/tsi721_dma.c 	iowrite32(TSI721_DMAC_INT_ALL, bdma_chan->regs + TSI721_DMAC_INTE);
regs              911 drivers/rapidio/devices/tsi721_dma.c 			  bdma_chan->regs + TSI721_DMAC_CTL);
regs              915 drivers/rapidio/devices/tsi721_dma.c 			dmac_int = ioread32(bdma_chan->regs + TSI721_DMAC_INT);
regs              942 drivers/rapidio/devices/tsi721_dma.c 			  bdma_chan->regs + TSI721_DMAC_CTL);
regs              977 drivers/rapidio/devices/tsi721_dma.c 		bdma_chan->regs = priv->regs + TSI721_DMAC_BASE(i);
regs              110 drivers/regulator/ti-abb-regulator.c 	const struct ti_abb_reg *regs;
regs              250 drivers/regulator/ti-abb-regulator.c 	const struct ti_abb_reg *regs = abb->regs;
regs              258 drivers/regulator/ti-abb-regulator.c 	ti_abb_rmw(regs->fbb_sel_mask | regs->rbb_sel_mask, 0, abb->setup_reg);
regs              262 drivers/regulator/ti-abb-regulator.c 		ti_abb_rmw(regs->rbb_sel_mask, 1, abb->setup_reg);
regs              265 drivers/regulator/ti-abb-regulator.c 		ti_abb_rmw(regs->fbb_sel_mask, 1, abb->setup_reg);
regs              270 drivers/regulator/ti-abb-regulator.c 	ti_abb_rmw(regs->opp_sel_mask, info->opp_sel, abb->control_reg);
regs              281 drivers/regulator/ti-abb-regulator.c 	ti_abb_rmw(regs->opp_change_mask, 1, abb->control_reg);
regs              412 drivers/regulator/ti-abb-regulator.c 	const struct ti_abb_reg *regs = abb->regs;
regs              483 drivers/regulator/ti-abb-regulator.c 	ti_abb_rmw(regs->sr2_wtcnt_value_mask, sr2_wt_cnt_val, abb->setup_reg);
regs              714 drivers/regulator/ti-abb-regulator.c 	abb->regs = match->data;
regs              717 drivers/regulator/ti-abb-regulator.c 	if (abb->regs->setup_off || abb->regs->control_off) {
regs              724 drivers/regulator/ti-abb-regulator.c 		abb->setup_reg = abb->base + abb->regs->setup_off;
regs              725 drivers/regulator/ti-abb-regulator.c 		abb->control_reg = abb->base + abb->regs->control_off;
regs              874 drivers/regulator/ti-abb-regulator.c 	ti_abb_rmw(abb->regs->sr2_en_mask, 1, abb->setup_reg);
regs              399 drivers/regulator/tps6586x-regulator.c 	struct device_node *regs;
regs              405 drivers/regulator/tps6586x-regulator.c 	regs = of_get_child_by_name(np, "regulators");
regs              406 drivers/regulator/tps6586x-regulator.c 	if (!regs) {
regs              411 drivers/regulator/tps6586x-regulator.c 	err = of_regulator_match(&pdev->dev, regs, tps6586x_matches, num);
regs              412 drivers/regulator/tps6586x-regulator.c 	of_node_put(regs);
regs              202 drivers/remoteproc/qcom_q6v5_mss.c static int q6v5_regulator_init(struct device *dev, struct reg_info *regs,
regs              212 drivers/remoteproc/qcom_q6v5_mss.c 		regs[i].reg = devm_regulator_get(dev, reg_res[i].supply);
regs              213 drivers/remoteproc/qcom_q6v5_mss.c 		if (IS_ERR(regs[i].reg)) {
regs              214 drivers/remoteproc/qcom_q6v5_mss.c 			rc = PTR_ERR(regs[i].reg);
regs              221 drivers/remoteproc/qcom_q6v5_mss.c 		regs[i].uV = reg_res[i].uV;
regs              222 drivers/remoteproc/qcom_q6v5_mss.c 		regs[i].uA = reg_res[i].uA;
regs              229 drivers/remoteproc/qcom_q6v5_mss.c 				 struct reg_info *regs, int count)
regs              235 drivers/remoteproc/qcom_q6v5_mss.c 		if (regs[i].uV > 0) {
regs              236 drivers/remoteproc/qcom_q6v5_mss.c 			ret = regulator_set_voltage(regs[i].reg,
regs              237 drivers/remoteproc/qcom_q6v5_mss.c 					regs[i].uV, INT_MAX);
regs              246 drivers/remoteproc/qcom_q6v5_mss.c 		if (regs[i].uA > 0) {
regs              247 drivers/remoteproc/qcom_q6v5_mss.c 			ret = regulator_set_load(regs[i].reg,
regs              248 drivers/remoteproc/qcom_q6v5_mss.c 						 regs[i].uA);
regs              256 drivers/remoteproc/qcom_q6v5_mss.c 		ret = regulator_enable(regs[i].reg);
regs              266 drivers/remoteproc/qcom_q6v5_mss.c 		if (regs[i].uV > 0)
regs              267 drivers/remoteproc/qcom_q6v5_mss.c 			regulator_set_voltage(regs[i].reg, 0, INT_MAX);
regs              269 drivers/remoteproc/qcom_q6v5_mss.c 		if (regs[i].uA > 0)
regs              270 drivers/remoteproc/qcom_q6v5_mss.c 			regulator_set_load(regs[i].reg, 0);
regs              272 drivers/remoteproc/qcom_q6v5_mss.c 		regulator_disable(regs[i].reg);
regs              279 drivers/remoteproc/qcom_q6v5_mss.c 				   struct reg_info *regs, int count)
regs              284 drivers/remoteproc/qcom_q6v5_mss.c 		if (regs[i].uV > 0)
regs              285 drivers/remoteproc/qcom_q6v5_mss.c 			regulator_set_voltage(regs[i].reg, 0, INT_MAX);
regs              287 drivers/remoteproc/qcom_q6v5_mss.c 		if (regs[i].uA > 0)
regs              288 drivers/remoteproc/qcom_q6v5_mss.c 			regulator_set_load(regs[i].reg, 0);
regs              290 drivers/remoteproc/qcom_q6v5_mss.c 		regulator_disable(regs[i].reg);
regs               16 drivers/reset/reset-meson-audio-arb.c 	void __iomem *regs;
regs               41 drivers/reset/reset-meson-audio-arb.c 	val = readl(arb->regs);
regs               48 drivers/reset/reset-meson-audio-arb.c 	writel(val, arb->regs);
regs               61 drivers/reset/reset-meson-audio-arb.c 	val = readl(arb->regs);
regs               96 drivers/reset/reset-meson-audio-arb.c 	writel(0, arb->regs);
regs              124 drivers/reset/reset-meson-audio-arb.c 	arb->regs = devm_ioremap_resource(dev, res);
regs              125 drivers/reset/reset-meson-audio-arb.c 	if (IS_ERR(arb->regs))
regs              126 drivers/reset/reset-meson-audio-arb.c 		return PTR_ERR(arb->regs);
regs              145 drivers/reset/reset-meson-audio-arb.c 	writel(BIT(ARB_GENERAL_BIT), arb->regs);
regs              135 drivers/rtc/rtc-ab-b5ze-s3.c 	u8 regs[ABB5ZES3_MEM_MAP_LEN];
regs              143 drivers/rtc/rtc-ab-b5ze-s3.c 	ret = regmap_bulk_read(regmap, 0, regs, ABB5ZES3_MEM_MAP_LEN);
regs              148 drivers/rtc/rtc-ab-b5ze-s3.c 		if (regs[i] & mask[i]) /* check if bits are cleared */
regs              208 drivers/rtc/rtc-ab-b5ze-s3.c 	u8 regs[ABB5ZES3_REG_RTC_SC + ABB5ZES3_RTC_SEC_LEN];
regs              217 drivers/rtc/rtc-ab-b5ze-s3.c 	ret = regmap_bulk_read(data->regmap, ABB5ZES3_REG_CTRL1, regs,
regs              218 drivers/rtc/rtc-ab-b5ze-s3.c 			       sizeof(regs));
regs              226 drivers/rtc/rtc-ab-b5ze-s3.c 	if (regs[ABB5ZES3_REG_RTC_SC] & ABB5ZES3_REG_RTC_SC_OSC)
regs              229 drivers/rtc/rtc-ab-b5ze-s3.c 	tm->tm_sec = bcd2bin(regs[ABB5ZES3_REG_RTC_SC] & 0x7F);
regs              230 drivers/rtc/rtc-ab-b5ze-s3.c 	tm->tm_min = bcd2bin(regs[ABB5ZES3_REG_RTC_MN]);
regs              232 drivers/rtc/rtc-ab-b5ze-s3.c 	if (regs[ABB5ZES3_REG_CTRL1] & ABB5ZES3_REG_CTRL1_PM) { /* 12hr mode */
regs              233 drivers/rtc/rtc-ab-b5ze-s3.c 		tm->tm_hour = bcd2bin(regs[ABB5ZES3_REG_RTC_HR] & 0x1f);
regs              234 drivers/rtc/rtc-ab-b5ze-s3.c 		if (regs[ABB5ZES3_REG_RTC_HR] & ABB5ZES3_REG_RTC_HR_PM) /* PM */
regs              237 drivers/rtc/rtc-ab-b5ze-s3.c 		tm->tm_hour = bcd2bin(regs[ABB5ZES3_REG_RTC_HR]);
regs              240 drivers/rtc/rtc-ab-b5ze-s3.c 	tm->tm_mday = bcd2bin(regs[ABB5ZES3_REG_RTC_DT]);
regs              241 drivers/rtc/rtc-ab-b5ze-s3.c 	tm->tm_wday = bcd2bin(regs[ABB5ZES3_REG_RTC_DW]);
regs              242 drivers/rtc/rtc-ab-b5ze-s3.c 	tm->tm_mon  = bcd2bin(regs[ABB5ZES3_REG_RTC_MO]) - 1; /* starts at 1 */
regs              243 drivers/rtc/rtc-ab-b5ze-s3.c 	tm->tm_year = bcd2bin(regs[ABB5ZES3_REG_RTC_YR]) + 100;
regs              251 drivers/rtc/rtc-ab-b5ze-s3.c 	u8 regs[ABB5ZES3_REG_RTC_SC + ABB5ZES3_RTC_SEC_LEN];
regs              254 drivers/rtc/rtc-ab-b5ze-s3.c 	regs[ABB5ZES3_REG_RTC_SC] = bin2bcd(tm->tm_sec); /* MSB=0 clears OSC */
regs              255 drivers/rtc/rtc-ab-b5ze-s3.c 	regs[ABB5ZES3_REG_RTC_MN] = bin2bcd(tm->tm_min);
regs              256 drivers/rtc/rtc-ab-b5ze-s3.c 	regs[ABB5ZES3_REG_RTC_HR] = bin2bcd(tm->tm_hour); /* 24-hour format */
regs              257 drivers/rtc/rtc-ab-b5ze-s3.c 	regs[ABB5ZES3_REG_RTC_DT] = bin2bcd(tm->tm_mday);
regs              258 drivers/rtc/rtc-ab-b5ze-s3.c 	regs[ABB5ZES3_REG_RTC_DW] = bin2bcd(tm->tm_wday);
regs              259 drivers/rtc/rtc-ab-b5ze-s3.c 	regs[ABB5ZES3_REG_RTC_MO] = bin2bcd(tm->tm_mon + 1);
regs              260 drivers/rtc/rtc-ab-b5ze-s3.c 	regs[ABB5ZES3_REG_RTC_YR] = bin2bcd(tm->tm_year - 100);
regs              263 drivers/rtc/rtc-ab-b5ze-s3.c 				regs + ABB5ZES3_REG_RTC_SC,
regs              302 drivers/rtc/rtc-ab-b5ze-s3.c 	u8 regs[ABB5ZES3_TIMA_SEC_LEN + 1];
regs              313 drivers/rtc/rtc-ab-b5ze-s3.c 	ret = regmap_bulk_read(data->regmap, ABB5ZES3_REG_TIM_CLK, regs,
regs              330 drivers/rtc/rtc-ab-b5ze-s3.c 	ret = sec_from_timer_a(&timer_secs, regs[1], regs[2]);
regs              356 drivers/rtc/rtc-ab-b5ze-s3.c 	u8 regs[ABB5ZES3_ALRM_SEC_LEN];
regs              360 drivers/rtc/rtc-ab-b5ze-s3.c 	ret = regmap_bulk_read(data->regmap, ABB5ZES3_REG_ALRM_MN, regs,
regs              369 drivers/rtc/rtc-ab-b5ze-s3.c 	alarm_tm->tm_min  = bcd2bin(regs[0] & 0x7f);
regs              370 drivers/rtc/rtc-ab-b5ze-s3.c 	alarm_tm->tm_hour = bcd2bin(regs[1] & 0x3f);
regs              371 drivers/rtc/rtc-ab-b5ze-s3.c 	alarm_tm->tm_mday = bcd2bin(regs[2] & 0x3f);
regs              441 drivers/rtc/rtc-ab-b5ze-s3.c 	u8 regs[ABB5ZES3_ALRM_SEC_LEN];
regs              481 drivers/rtc/rtc-ab-b5ze-s3.c 	regs[0] = bin2bcd(alarm_tm->tm_min) & 0x7f;
regs              482 drivers/rtc/rtc-ab-b5ze-s3.c 	regs[1] = bin2bcd(alarm_tm->tm_hour) & 0x3f;
regs              483 drivers/rtc/rtc-ab-b5ze-s3.c 	regs[2] = bin2bcd(alarm_tm->tm_mday) & 0x3f;
regs              484 drivers/rtc/rtc-ab-b5ze-s3.c 	regs[3] = ABB5ZES3_REG_ALRM_DW_AE; /* do not match day of the week */
regs              486 drivers/rtc/rtc-ab-b5ze-s3.c 	ret = regmap_bulk_write(data->regmap, ABB5ZES3_REG_ALRM_MN, regs,
regs              509 drivers/rtc/rtc-ab-b5ze-s3.c 	u8 regs[ABB5ZES3_TIMA_SEC_LEN];
regs              514 drivers/rtc/rtc-ab-b5ze-s3.c 	sec_to_timer_a(secs, &regs[0], &regs[1]);
regs              515 drivers/rtc/rtc-ab-b5ze-s3.c 	ret = regmap_bulk_write(data->regmap, ABB5ZES3_REG_TIMA_CLK, regs,
regs              750 drivers/rtc/rtc-ab-b5ze-s3.c 	u8 regs[ABB5ZES3_CTRL_SEC_LEN];
regs              753 drivers/rtc/rtc-ab-b5ze-s3.c 	ret = regmap_bulk_read(rtc_data->regmap, 0, regs,
regs              766 drivers/rtc/rtc-ab-b5ze-s3.c 	if (regs[ABB5ZES3_REG_CTRL3] & ABB5ZES3_REG_CTRL3_BLF) {
regs              775 drivers/rtc/rtc-ab-b5ze-s3.c 	if (regs[ABB5ZES3_REG_CTRL2] & ABB5ZES3_REG_CTRL2_AF) {
regs              788 drivers/rtc/rtc-ab-b5ze-s3.c 	if (regs[ABB5ZES3_REG_CTRL2] & ABB5ZES3_REG_CTRL2_WTAF) {
regs              127 drivers/rtc/rtc-ab-eoz9.c 	u8 regs[ABEOZ9_SEC_LEN];
regs              135 drivers/rtc/rtc-ab-eoz9.c 			       regs,
regs              136 drivers/rtc/rtc-ab-eoz9.c 			       sizeof(regs));
regs              142 drivers/rtc/rtc-ab-eoz9.c 	tm->tm_sec = bcd2bin(regs[ABEOZ9_REG_SEC - ABEOZ9_REG_SEC] & 0x7F);
regs              143 drivers/rtc/rtc-ab-eoz9.c 	tm->tm_min = bcd2bin(regs[ABEOZ9_REG_MIN - ABEOZ9_REG_SEC] & 0x7F);
regs              145 drivers/rtc/rtc-ab-eoz9.c 	if (regs[ABEOZ9_REG_HOURS - ABEOZ9_REG_SEC] & ABEOZ9_HOURS_PM) {
regs              147 drivers/rtc/rtc-ab-eoz9.c 			bcd2bin(regs[ABEOZ9_REG_HOURS - ABEOZ9_REG_SEC] & 0x1f);
regs              148 drivers/rtc/rtc-ab-eoz9.c 		if (regs[ABEOZ9_REG_HOURS - ABEOZ9_REG_SEC] & ABEOZ9_HOURS_PM)
regs              151 drivers/rtc/rtc-ab-eoz9.c 		tm->tm_hour = bcd2bin(regs[ABEOZ9_REG_HOURS - ABEOZ9_REG_SEC]);
regs              154 drivers/rtc/rtc-ab-eoz9.c 	tm->tm_mday = bcd2bin(regs[ABEOZ9_REG_DAYS - ABEOZ9_REG_SEC]);
regs              155 drivers/rtc/rtc-ab-eoz9.c 	tm->tm_wday = bcd2bin(regs[ABEOZ9_REG_WEEKDAYS - ABEOZ9_REG_SEC]);
regs              156 drivers/rtc/rtc-ab-eoz9.c 	tm->tm_mon  = bcd2bin(regs[ABEOZ9_REG_MONTHS - ABEOZ9_REG_SEC]) - 1;
regs              157 drivers/rtc/rtc-ab-eoz9.c 	tm->tm_year = bcd2bin(regs[ABEOZ9_REG_YEARS - ABEOZ9_REG_SEC]) + 100;
regs              166 drivers/rtc/rtc-ab-eoz9.c 	u8 regs[ABEOZ9_SEC_LEN];
regs              169 drivers/rtc/rtc-ab-eoz9.c 	regs[ABEOZ9_REG_SEC - ABEOZ9_REG_SEC] = bin2bcd(tm->tm_sec);
regs              170 drivers/rtc/rtc-ab-eoz9.c 	regs[ABEOZ9_REG_MIN - ABEOZ9_REG_SEC] = bin2bcd(tm->tm_min);
regs              171 drivers/rtc/rtc-ab-eoz9.c 	regs[ABEOZ9_REG_HOURS - ABEOZ9_REG_SEC] = bin2bcd(tm->tm_hour);
regs              172 drivers/rtc/rtc-ab-eoz9.c 	regs[ABEOZ9_REG_DAYS - ABEOZ9_REG_SEC] = bin2bcd(tm->tm_mday);
regs              173 drivers/rtc/rtc-ab-eoz9.c 	regs[ABEOZ9_REG_WEEKDAYS - ABEOZ9_REG_SEC] = bin2bcd(tm->tm_wday);
regs              174 drivers/rtc/rtc-ab-eoz9.c 	regs[ABEOZ9_REG_MONTHS - ABEOZ9_REG_SEC] = bin2bcd(tm->tm_mon + 1);
regs              175 drivers/rtc/rtc-ab-eoz9.c 	regs[ABEOZ9_REG_YEARS - ABEOZ9_REG_SEC] = bin2bcd(tm->tm_year - 100);
regs              178 drivers/rtc/rtc-ab-eoz9.c 				regs,
regs              179 drivers/rtc/rtc-ab-eoz9.c 				sizeof(regs));
regs               48 drivers/rtc/rtc-ab3100.c 	u8 regs[] = {AB3100_TI0, AB3100_TI1, AB3100_TI2,
regs               64 drivers/rtc/rtc-ab3100.c 							regs[i], buf[i]);
regs              147 drivers/rtc/rtc-ab3100.c 	u8 regs[] = {AB3100_AL0, AB3100_AL1, AB3100_AL2, AB3100_AL3};
regs              164 drivers/rtc/rtc-ab3100.c 							regs[i], buf[i]);
regs               71 drivers/rtc/rtc-armada38x.c 	void __iomem	    *regs;
regs              106 drivers/rtc/rtc-armada38x.c 	writel(0, rtc->regs + RTC_STATUS);
regs              107 drivers/rtc/rtc-armada38x.c 	writel(0, rtc->regs + RTC_STATUS);
regs              108 drivers/rtc/rtc-armada38x.c 	writel(val, rtc->regs + offset);
regs              144 drivers/rtc/rtc-armada38x.c 	return readl(rtc->regs + rtc_reg);
regs              152 drivers/rtc/rtc-armada38x.c 		rtc->val_to_freq[i].value = readl(rtc->regs + rtc_reg);
regs              523 drivers/rtc/rtc-armada38x.c 	rtc->regs = devm_ioremap_resource(&pdev->dev, res);
regs              524 drivers/rtc/rtc-armada38x.c 	if (IS_ERR(rtc->regs))
regs              525 drivers/rtc/rtc-armada38x.c 		return PTR_ERR(rtc->regs);
regs              367 drivers/rtc/rtc-at91rm9200.c 	struct resource *regs;
regs              374 drivers/rtc/rtc-at91rm9200.c 	regs = platform_get_resource(pdev, IORESOURCE_MEM, 0);
regs              375 drivers/rtc/rtc-at91rm9200.c 	if (!regs) {
regs              384 drivers/rtc/rtc-at91rm9200.c 	at91_rtc_regs = devm_ioremap(&pdev->dev, regs->start,
regs              385 drivers/rtc/rtc-at91rm9200.c 				     resource_size(regs));
regs               91 drivers/rtc/rtc-bq32k.c 	struct bq32k_regs regs;
regs               94 drivers/rtc/rtc-bq32k.c 	error = bq32k_read(dev, &regs, 0, sizeof(regs));
regs              102 drivers/rtc/rtc-bq32k.c 	if (regs.minutes & BQ32K_OF)
regs              105 drivers/rtc/rtc-bq32k.c 	tm->tm_sec = bcd2bin(regs.seconds & BQ32K_SECONDS_MASK);
regs              106 drivers/rtc/rtc-bq32k.c 	tm->tm_min = bcd2bin(regs.minutes & BQ32K_MINUTES_MASK);
regs              107 drivers/rtc/rtc-bq32k.c 	tm->tm_hour = bcd2bin(regs.cent_hours & BQ32K_HOURS_MASK);
regs              108 drivers/rtc/rtc-bq32k.c 	tm->tm_mday = bcd2bin(regs.date);
regs              109 drivers/rtc/rtc-bq32k.c 	tm->tm_wday = bcd2bin(regs.day) - 1;
regs              110 drivers/rtc/rtc-bq32k.c 	tm->tm_mon = bcd2bin(regs.month) - 1;
regs              111 drivers/rtc/rtc-bq32k.c 	tm->tm_year = bcd2bin(regs.years) +
regs              112 drivers/rtc/rtc-bq32k.c 				((regs.cent_hours & BQ32K_CENT) ? 100 : 0);
regs              119 drivers/rtc/rtc-bq32k.c 	struct bq32k_regs regs;
regs              121 drivers/rtc/rtc-bq32k.c 	regs.seconds = bin2bcd(tm->tm_sec);
regs              122 drivers/rtc/rtc-bq32k.c 	regs.minutes = bin2bcd(tm->tm_min);
regs              123 drivers/rtc/rtc-bq32k.c 	regs.cent_hours = bin2bcd(tm->tm_hour) | BQ32K_CENT_EN;
regs              124 drivers/rtc/rtc-bq32k.c 	regs.day = bin2bcd(tm->tm_wday + 1);
regs              125 drivers/rtc/rtc-bq32k.c 	regs.date = bin2bcd(tm->tm_mday);
regs              126 drivers/rtc/rtc-bq32k.c 	regs.month = bin2bcd(tm->tm_mon + 1);
regs              129 drivers/rtc/rtc-bq32k.c 		regs.cent_hours |= BQ32K_CENT;
regs              130 drivers/rtc/rtc-bq32k.c 		regs.years = bin2bcd(tm->tm_year - 100);
regs              132 drivers/rtc/rtc-bq32k.c 		regs.years = bin2bcd(tm->tm_year);
regs              134 drivers/rtc/rtc-bq32k.c 	return bq32k_write(dev, &regs, 0, sizeof(regs));
regs               21 drivers/rtc/rtc-bq4802.c 	void __iomem		*regs;
regs               42 drivers/rtc/rtc-bq4802.c 	return readb(p->regs + off);
regs               47 drivers/rtc/rtc-bq4802.c 	writeb(val, p->regs + off);
regs              164 drivers/rtc/rtc-bq4802.c 		p->regs = devm_ioremap(&pdev->dev, p->r->start,
regs              166 drivers/rtc/rtc-bq4802.c 		if (!p->regs){
regs               83 drivers/rtc/rtc-cadence.c 	void __iomem *regs;
regs               91 drivers/rtc/rtc-cadence.c 	writel(reg, crtc->regs + CDNS_RTC_CTLR);
regs               96 drivers/rtc/rtc-cadence.c 	return !(readl(crtc->regs + CDNS_RTC_CTLR) & CDNS_RTC_CTLR_TIME_CAL);
regs              105 drivers/rtc/rtc-cadence.c 	if (!(readl(crtc->regs + CDNS_RTC_EFLR) & CDNS_RTC_AEI_ALRM))
regs              137 drivers/rtc/rtc-cadence.c 	reg = readl(crtc->regs + CDNS_RTC_TIMR);
regs              140 drivers/rtc/rtc-cadence.c 	reg = readl(crtc->regs + CDNS_RTC_CALR);
regs              171 drivers/rtc/rtc-cadence.c 		writel(timr, crtc->regs + CDNS_RTC_TIMR);
regs              172 drivers/rtc/rtc-cadence.c 		writel(calr, crtc->regs + CDNS_RTC_CALR);
regs              173 drivers/rtc/rtc-cadence.c 		stsr = readl(crtc->regs + CDNS_RTC_STSR);
regs              192 drivers/rtc/rtc-cadence.c 		       crtc->regs + CDNS_RTC_AENR);
regs              193 drivers/rtc/rtc-cadence.c 		writel(CDNS_RTC_AEI_ALRM, crtc->regs + CDNS_RTC_IENR);
regs              195 drivers/rtc/rtc-cadence.c 		writel(0, crtc->regs + CDNS_RTC_AENR);
regs              196 drivers/rtc/rtc-cadence.c 		writel(CDNS_RTC_AEI_ALRM, crtc->regs + CDNS_RTC_IDISR);
regs              207 drivers/rtc/rtc-cadence.c 	reg = readl(crtc->regs + CDNS_RTC_TIMAR);
regs              210 drivers/rtc/rtc-cadence.c 	reg = readl(crtc->regs + CDNS_RTC_CALAR);
regs              232 drivers/rtc/rtc-cadence.c 		writel(timar, crtc->regs + CDNS_RTC_TIMAR);
regs              233 drivers/rtc/rtc-cadence.c 		writel(calar, crtc->regs + CDNS_RTC_CALAR);
regs              234 drivers/rtc/rtc-cadence.c 		stsr = readl(crtc->regs + CDNS_RTC_STSR);
regs              267 drivers/rtc/rtc-cadence.c 	crtc->regs = devm_ioremap_resource(&pdev->dev, res);
regs              268 drivers/rtc/rtc-cadence.c 	if (IS_ERR(crtc->regs))
regs              269 drivers/rtc/rtc-cadence.c 		return PTR_ERR(crtc->regs);
regs              338 drivers/rtc/rtc-cadence.c 	writel(0, crtc->regs + CDNS_RTC_HMR);
regs              339 drivers/rtc/rtc-cadence.c 	writel(CDNS_RTC_KRTCR_KRTC, crtc->regs + CDNS_RTC_KRTCR);
regs               38 drivers/rtc/rtc-digicolor.c 	void __iomem		*regs;
regs               48 drivers/rtc/rtc-digicolor.c 			       rtc->regs + DC_RTC_CONTROL);
regs               50 drivers/rtc/rtc-digicolor.c 			rtc->regs + DC_RTC_CONTROL, val,
regs               69 drivers/rtc/rtc-digicolor.c 	reference = readl_relaxed(rtc->regs + DC_RTC_REFERENCE);
regs               70 drivers/rtc/rtc-digicolor.c 	time1 = readl_relaxed(rtc->regs + DC_RTC_TIME);
regs               73 drivers/rtc/rtc-digicolor.c 		time2 = readl_relaxed(rtc->regs + DC_RTC_TIME);
regs               87 drivers/rtc/rtc-digicolor.c 	writel_relaxed(val, rtc->regs + DC_RTC_REFERENCE);
regs              119 drivers/rtc/rtc-digicolor.c 	alarm_reg = readl_relaxed(rtc->regs + DC_RTC_ALARM);
regs              120 drivers/rtc/rtc-digicolor.c 	reference = readl_relaxed(rtc->regs + DC_RTC_REFERENCE);
regs              128 drivers/rtc/rtc-digicolor.c 	alarm->enabled = readl_relaxed(rtc->regs + DC_RTC_INTENABLE);
regs              141 drivers/rtc/rtc-digicolor.c 	reference = readl_relaxed(rtc->regs + DC_RTC_REFERENCE);
regs              142 drivers/rtc/rtc-digicolor.c 	writel_relaxed(alarm_time - reference, rtc->regs + DC_RTC_ALARM);
regs              144 drivers/rtc/rtc-digicolor.c 	writeb_relaxed(!!alarm->enabled, rtc->regs + DC_RTC_INTENABLE);
regs              153 drivers/rtc/rtc-digicolor.c 	writeb_relaxed(!!enabled, rtc->regs + DC_RTC_INTENABLE);
regs              170 drivers/rtc/rtc-digicolor.c 	writeb_relaxed(1, rtc->regs + DC_RTC_INTFLAG_CLEAR);
regs              187 drivers/rtc/rtc-digicolor.c 	rtc->regs = devm_ioremap_resource(&pdev->dev, res);
regs              188 drivers/rtc/rtc-digicolor.c 	if (IS_ERR(rtc->regs))
regs              189 drivers/rtc/rtc-digicolor.c 		return PTR_ERR(rtc->regs);
regs               81 drivers/rtc/rtc-ds1216.c 	struct ds1216_regs regs;
regs               84 drivers/rtc/rtc-ds1216.c 	ds1216_read(priv->ioaddr, (u8 *)&regs);
regs               86 drivers/rtc/rtc-ds1216.c 	tm->tm_sec = bcd2bin(regs.sec);
regs               87 drivers/rtc/rtc-ds1216.c 	tm->tm_min = bcd2bin(regs.min);
regs               88 drivers/rtc/rtc-ds1216.c 	if (regs.hour & DS1216_HOUR_1224) {
regs               90 drivers/rtc/rtc-ds1216.c 		tm->tm_hour = bcd2bin(regs.hour & 0x1f);
regs               91 drivers/rtc/rtc-ds1216.c 		if (regs.hour & DS1216_HOUR_AMPM)
regs               94 drivers/rtc/rtc-ds1216.c 		tm->tm_hour = bcd2bin(regs.hour & 0x3f);
regs               95 drivers/rtc/rtc-ds1216.c 	tm->tm_wday = (regs.wday & 7) - 1;
regs               96 drivers/rtc/rtc-ds1216.c 	tm->tm_mday = bcd2bin(regs.mday & 0x3f);
regs               97 drivers/rtc/rtc-ds1216.c 	tm->tm_mon = bcd2bin(regs.month & 0x1f);
regs               98 drivers/rtc/rtc-ds1216.c 	tm->tm_year = bcd2bin(regs.year);
regs              108 drivers/rtc/rtc-ds1216.c 	struct ds1216_regs regs;
regs              111 drivers/rtc/rtc-ds1216.c 	ds1216_read(priv->ioaddr, (u8 *)&regs);
regs              113 drivers/rtc/rtc-ds1216.c 	regs.tsec = 0; /* clear 0.1 and 0.01 seconds */
regs              114 drivers/rtc/rtc-ds1216.c 	regs.sec = bin2bcd(tm->tm_sec);
regs              115 drivers/rtc/rtc-ds1216.c 	regs.min = bin2bcd(tm->tm_min);
regs              116 drivers/rtc/rtc-ds1216.c 	regs.hour &= DS1216_HOUR_1224;
regs              117 drivers/rtc/rtc-ds1216.c 	if (regs.hour && tm->tm_hour > 12) {
regs              118 drivers/rtc/rtc-ds1216.c 		regs.hour |= DS1216_HOUR_AMPM;
regs              121 drivers/rtc/rtc-ds1216.c 	regs.hour |= bin2bcd(tm->tm_hour);
regs              122 drivers/rtc/rtc-ds1216.c 	regs.wday &= ~7;
regs              123 drivers/rtc/rtc-ds1216.c 	regs.wday |= tm->tm_wday;
regs              124 drivers/rtc/rtc-ds1216.c 	regs.mday = bin2bcd(tm->tm_mday);
regs              125 drivers/rtc/rtc-ds1216.c 	regs.month = bin2bcd(tm->tm_mon);
regs              126 drivers/rtc/rtc-ds1216.c 	regs.year = bin2bcd(tm->tm_year % 100);
regs              129 drivers/rtc/rtc-ds1216.c 	ds1216_write(priv->ioaddr, (u8 *)&regs);
regs              192 drivers/rtc/rtc-ds1307.c 	u8 regs[7];
regs              209 drivers/rtc/rtc-ds1307.c 	ret = regmap_bulk_read(ds1307->regmap, chip->offset, regs,
regs              210 drivers/rtc/rtc-ds1307.c 			       sizeof(regs));
regs              216 drivers/rtc/rtc-ds1307.c 	dev_dbg(dev, "%s: %7ph\n", "read", regs);
regs              220 drivers/rtc/rtc-ds1307.c 	    regs[DS1307_REG_MIN] & M41T0_BIT_OF) {
regs              225 drivers/rtc/rtc-ds1307.c 	tmp = regs[DS1307_REG_SECS];
regs              264 drivers/rtc/rtc-ds1307.c 	t->tm_sec = bcd2bin(regs[DS1307_REG_SECS] & 0x7f);
regs              265 drivers/rtc/rtc-ds1307.c 	t->tm_min = bcd2bin(regs[DS1307_REG_MIN] & 0x7f);
regs              266 drivers/rtc/rtc-ds1307.c 	tmp = regs[DS1307_REG_HOUR] & 0x3f;
regs              268 drivers/rtc/rtc-ds1307.c 	t->tm_wday = bcd2bin(regs[DS1307_REG_WDAY] & 0x07) - 1;
regs              269 drivers/rtc/rtc-ds1307.c 	t->tm_mday = bcd2bin(regs[DS1307_REG_MDAY] & 0x3f);
regs              270 drivers/rtc/rtc-ds1307.c 	tmp = regs[DS1307_REG_MONTH] & 0x1f;
regs              272 drivers/rtc/rtc-ds1307.c 	t->tm_year = bcd2bin(regs[DS1307_REG_YEAR]) + 100;
regs              274 drivers/rtc/rtc-ds1307.c 	if (regs[chip->century_reg] & chip->century_bit &&
regs              293 drivers/rtc/rtc-ds1307.c 	u8		regs[7];
regs              312 drivers/rtc/rtc-ds1307.c 	regs[DS1307_REG_SECS] = bin2bcd(t->tm_sec);
regs              313 drivers/rtc/rtc-ds1307.c 	regs[DS1307_REG_MIN] = bin2bcd(t->tm_min);
regs              314 drivers/rtc/rtc-ds1307.c 	regs[DS1307_REG_HOUR] = bin2bcd(t->tm_hour);
regs              315 drivers/rtc/rtc-ds1307.c 	regs[DS1307_REG_WDAY] = bin2bcd(t->tm_wday + 1);
regs              316 drivers/rtc/rtc-ds1307.c 	regs[DS1307_REG_MDAY] = bin2bcd(t->tm_mday);
regs              317 drivers/rtc/rtc-ds1307.c 	regs[DS1307_REG_MONTH] = bin2bcd(t->tm_mon + 1);
regs              321 drivers/rtc/rtc-ds1307.c 	regs[DS1307_REG_YEAR] = bin2bcd(tmp);
regs              324 drivers/rtc/rtc-ds1307.c 		regs[chip->century_reg] |= chip->century_enable_bit;
regs              326 drivers/rtc/rtc-ds1307.c 		regs[chip->century_reg] |= chip->century_bit;
regs              344 drivers/rtc/rtc-ds1307.c 		regs[DS1307_REG_SECS] |= MCP794XX_BIT_ST;
regs              345 drivers/rtc/rtc-ds1307.c 		regs[DS1307_REG_WDAY] |= MCP794XX_BIT_VBATEN;
regs              351 drivers/rtc/rtc-ds1307.c 	dev_dbg(dev, "%s: %7ph\n", "write", regs);
regs              353 drivers/rtc/rtc-ds1307.c 	result = regmap_bulk_write(ds1307->regmap, chip->offset, regs,
regs              354 drivers/rtc/rtc-ds1307.c 				   sizeof(regs));
regs              377 drivers/rtc/rtc-ds1307.c 	u8			regs[9];
regs              384 drivers/rtc/rtc-ds1307.c 			       regs, sizeof(regs));
regs              391 drivers/rtc/rtc-ds1307.c 		&regs[0], &regs[4], &regs[7]);
regs              397 drivers/rtc/rtc-ds1307.c 	t->time.tm_sec = bcd2bin(regs[0] & 0x7f);
regs              398 drivers/rtc/rtc-ds1307.c 	t->time.tm_min = bcd2bin(regs[1] & 0x7f);
regs              399 drivers/rtc/rtc-ds1307.c 	t->time.tm_hour = bcd2bin(regs[2] & 0x3f);
regs              400 drivers/rtc/rtc-ds1307.c 	t->time.tm_mday = bcd2bin(regs[3] & 0x3f);
regs              403 drivers/rtc/rtc-ds1307.c 	t->enabled = !!(regs[7] & DS1337_BIT_A1IE);
regs              404 drivers/rtc/rtc-ds1307.c 	t->pending = !!(regs[8] & DS1337_BIT_A1I);
regs              418 drivers/rtc/rtc-ds1307.c 	unsigned char		regs[9];
regs              432 drivers/rtc/rtc-ds1307.c 	ret = regmap_bulk_read(ds1307->regmap, DS1339_REG_ALARM1_SECS, regs,
regs              433 drivers/rtc/rtc-ds1307.c 			       sizeof(regs));
regs              438 drivers/rtc/rtc-ds1307.c 	control = regs[7];
regs              439 drivers/rtc/rtc-ds1307.c 	status = regs[8];
regs              442 drivers/rtc/rtc-ds1307.c 		&regs[0], &regs[4], control, status);
regs              445 drivers/rtc/rtc-ds1307.c 	regs[0] = bin2bcd(t->time.tm_sec);
regs              446 drivers/rtc/rtc-ds1307.c 	regs[1] = bin2bcd(t->time.tm_min);
regs              447 drivers/rtc/rtc-ds1307.c 	regs[2] = bin2bcd(t->time.tm_hour);
regs              448 drivers/rtc/rtc-ds1307.c 	regs[3] = bin2bcd(t->time.tm_mday);
regs              451 drivers/rtc/rtc-ds1307.c 	regs[4] = 0;
regs              452 drivers/rtc/rtc-ds1307.c 	regs[5] = 0;
regs              453 drivers/rtc/rtc-ds1307.c 	regs[6] = 0;
regs              456 drivers/rtc/rtc-ds1307.c 	regs[7] = control & ~(DS1337_BIT_A1IE | DS1337_BIT_A2IE);
regs              457 drivers/rtc/rtc-ds1307.c 	regs[8] = status & ~(DS1337_BIT_A1I | DS1337_BIT_A2I);
regs              459 drivers/rtc/rtc-ds1307.c 	ret = regmap_bulk_write(ds1307->regmap, DS1339_REG_ALARM1_SECS, regs,
regs              460 drivers/rtc/rtc-ds1307.c 				sizeof(regs));
regs              469 drivers/rtc/rtc-ds1307.c 		regs[7] |= DS1337_BIT_A1IE;	/* only ALARM1 is used */
regs              470 drivers/rtc/rtc-ds1307.c 		regmap_write(ds1307->regmap, DS1337_REG_CONTROL, regs[7]);
regs              689 drivers/rtc/rtc-ds1307.c 	u8 regs[10];
regs              696 drivers/rtc/rtc-ds1307.c 	ret = regmap_bulk_read(ds1307->regmap, MCP794XX_REG_CONTROL, regs,
regs              697 drivers/rtc/rtc-ds1307.c 			       sizeof(regs));
regs              701 drivers/rtc/rtc-ds1307.c 	t->enabled = !!(regs[0] & MCP794XX_BIT_ALM0_EN);
regs              704 drivers/rtc/rtc-ds1307.c 	t->time.tm_sec = bcd2bin(regs[3] & 0x7f);
regs              705 drivers/rtc/rtc-ds1307.c 	t->time.tm_min = bcd2bin(regs[4] & 0x7f);
regs              706 drivers/rtc/rtc-ds1307.c 	t->time.tm_hour = bcd2bin(regs[5] & 0x3f);
regs              707 drivers/rtc/rtc-ds1307.c 	t->time.tm_wday = bcd2bin(regs[6] & 0x7) - 1;
regs              708 drivers/rtc/rtc-ds1307.c 	t->time.tm_mday = bcd2bin(regs[7] & 0x3f);
regs              709 drivers/rtc/rtc-ds1307.c 	t->time.tm_mon = bcd2bin(regs[8] & 0x1f) - 1;
regs              718 drivers/rtc/rtc-ds1307.c 		!!(regs[6] & MCP794XX_BIT_ALMX_POL),
regs              719 drivers/rtc/rtc-ds1307.c 		!!(regs[6] & MCP794XX_BIT_ALMX_IF),
regs              720 drivers/rtc/rtc-ds1307.c 		(regs[6] & MCP794XX_MSK_ALMX_MATCH) >> 4);
regs              747 drivers/rtc/rtc-ds1307.c 	unsigned char regs[10];
regs              764 drivers/rtc/rtc-ds1307.c 	ret = regmap_bulk_read(ds1307->regmap, MCP794XX_REG_CONTROL, regs,
regs              765 drivers/rtc/rtc-ds1307.c 			       sizeof(regs));
regs              770 drivers/rtc/rtc-ds1307.c 	regs[3] = bin2bcd(t->time.tm_sec);
regs              771 drivers/rtc/rtc-ds1307.c 	regs[4] = bin2bcd(t->time.tm_min);
regs              772 drivers/rtc/rtc-ds1307.c 	regs[5] = bin2bcd(t->time.tm_hour);
regs              773 drivers/rtc/rtc-ds1307.c 	regs[6] = wday;
regs              774 drivers/rtc/rtc-ds1307.c 	regs[7] = bin2bcd(t->time.tm_mday);
regs              775 drivers/rtc/rtc-ds1307.c 	regs[8] = bin2bcd(t->time.tm_mon + 1);
regs              778 drivers/rtc/rtc-ds1307.c 	regs[6] &= ~MCP794XX_BIT_ALMX_IF;
regs              780 drivers/rtc/rtc-ds1307.c 	regs[6] |= MCP794XX_MSK_ALMX_MATCH;
regs              782 drivers/rtc/rtc-ds1307.c 	regs[0] &= ~MCP794XX_BIT_ALM0_EN;
regs              784 drivers/rtc/rtc-ds1307.c 	ret = regmap_bulk_write(ds1307->regmap, MCP794XX_REG_CONTROL, regs,
regs              785 drivers/rtc/rtc-ds1307.c 				sizeof(regs));
regs              791 drivers/rtc/rtc-ds1307.c 	regs[0] |= MCP794XX_BIT_ALM0_EN;
regs              792 drivers/rtc/rtc-ds1307.c 	return regmap_write(ds1307->regmap, MCP794XX_REG_CONTROL, regs[0]);
regs             1584 drivers/rtc/rtc-ds1307.c 	unsigned char		regs[8];
regs             1659 drivers/rtc/rtc-ds1307.c 				       regs, 2);
regs             1666 drivers/rtc/rtc-ds1307.c 		if (regs[0] & DS1337_BIT_nEOSC)
regs             1667 drivers/rtc/rtc-ds1307.c 			regs[0] &= ~DS1337_BIT_nEOSC;
regs             1676 drivers/rtc/rtc-ds1307.c 			regs[0] |= DS1337_BIT_INTCN | chip->bbsqi_bit;
regs             1677 drivers/rtc/rtc-ds1307.c 			regs[0] &= ~(DS1337_BIT_A2IE | DS1337_BIT_A1IE);
regs             1681 drivers/rtc/rtc-ds1307.c 			     regs[0]);
regs             1684 drivers/rtc/rtc-ds1307.c 		if (regs[1] & DS1337_BIT_OSF) {
regs             1686 drivers/rtc/rtc-ds1307.c 				     regs[1] & ~DS1337_BIT_OSF);
regs             1693 drivers/rtc/rtc-ds1307.c 				       RX8025_REG_CTRL1 << 4 | 0x08, regs, 2);
regs             1700 drivers/rtc/rtc-ds1307.c 		if (!(regs[1] & RX8025_BIT_XST)) {
regs             1701 drivers/rtc/rtc-ds1307.c 			regs[1] |= RX8025_BIT_XST;
regs             1704 drivers/rtc/rtc-ds1307.c 				     regs[1]);
regs             1709 drivers/rtc/rtc-ds1307.c 		if (regs[1] & RX8025_BIT_PON) {
regs             1710 drivers/rtc/rtc-ds1307.c 			regs[1] &= ~RX8025_BIT_PON;
regs             1713 drivers/rtc/rtc-ds1307.c 				     regs[1]);
regs             1717 drivers/rtc/rtc-ds1307.c 		if (regs[1] & RX8025_BIT_VDET) {
regs             1718 drivers/rtc/rtc-ds1307.c 			regs[1] &= ~RX8025_BIT_VDET;
regs             1721 drivers/rtc/rtc-ds1307.c 				     regs[1]);
regs             1726 drivers/rtc/rtc-ds1307.c 		if (!(regs[0] & RX8025_BIT_2412)) {
regs             1732 drivers/rtc/rtc-ds1307.c 				     regs[0] | RX8025_BIT_2412);
regs             1736 drivers/rtc/rtc-ds1307.c 					       regs, 2);
regs             1743 drivers/rtc/rtc-ds1307.c 			hour = bcd2bin(regs[DS1307_REG_HOUR]);
regs             1746 drivers/rtc/rtc-ds1307.c 			if (regs[DS1307_REG_HOUR] & DS1307_BIT_PM)
regs             1758 drivers/rtc/rtc-ds1307.c 	err = regmap_bulk_read(ds1307->regmap, chip->offset, regs,
regs             1759 drivers/rtc/rtc-ds1307.c 			       sizeof(regs));
regs             1766 drivers/rtc/rtc-ds1307.c 	    !(regs[DS1307_REG_WDAY] & MCP794XX_BIT_VBATEN)) {
regs             1768 drivers/rtc/rtc-ds1307.c 			     regs[DS1307_REG_WDAY] |
regs             1772 drivers/rtc/rtc-ds1307.c 	tmp = regs[DS1307_REG_HOUR];
regs             1796 drivers/rtc/rtc-ds1307.c 		if (regs[DS1307_REG_HOUR] & DS1307_BIT_PM)
regs               44 drivers/rtc/rtc-ds1685.c 	return readb((u8 __iomem *)rtc->regs +
regs               57 drivers/rtc/rtc-ds1685.c 	writeb(value, ((u8 __iomem *)rtc->regs +
regs             1090 drivers/rtc/rtc-ds1685.c 		rtc->regs = devm_ioremap(&pdev->dev, res->start, rtc->size);
regs             1091 drivers/rtc/rtc-ds1685.c 		if (!rtc->regs)
regs               48 drivers/rtc/rtc-fm3130.c 	u8			regs[15];
regs               69 drivers/rtc/rtc-fm3130.c 	fm3130->regs[FM3130_RTC_CONTROL] =
regs               73 drivers/rtc/rtc-fm3130.c 		fm3130->regs[FM3130_RTC_CONTROL] &=
regs               78 drivers/rtc/rtc-fm3130.c 		fm3130->regs[FM3130_RTC_CONTROL] |= FM3130_RTC_CONTROL_BIT_WRITE;
regs               81 drivers/rtc/rtc-fm3130.c 		fm3130->regs[FM3130_RTC_CONTROL] |= FM3130_RTC_CONTROL_BIT_READ;
regs               89 drivers/rtc/rtc-fm3130.c 		 FM3130_RTC_CONTROL, fm3130->regs[FM3130_RTC_CONTROL]);
regs              115 drivers/rtc/rtc-fm3130.c 	dev_dbg(dev, "%s: %15ph\n", "read", fm3130->regs);
regs              117 drivers/rtc/rtc-fm3130.c 	t->tm_sec = bcd2bin(fm3130->regs[FM3130_RTC_SECONDS] & 0x7f);
regs              118 drivers/rtc/rtc-fm3130.c 	t->tm_min = bcd2bin(fm3130->regs[FM3130_RTC_MINUTES] & 0x7f);
regs              119 drivers/rtc/rtc-fm3130.c 	tmp = fm3130->regs[FM3130_RTC_HOURS] & 0x3f;
regs              121 drivers/rtc/rtc-fm3130.c 	t->tm_wday = bcd2bin(fm3130->regs[FM3130_RTC_DAY] & 0x07) - 1;
regs              122 drivers/rtc/rtc-fm3130.c 	t->tm_mday = bcd2bin(fm3130->regs[FM3130_RTC_DATE] & 0x3f);
regs              123 drivers/rtc/rtc-fm3130.c 	tmp = fm3130->regs[FM3130_RTC_MONTHS] & 0x1f;
regs              127 drivers/rtc/rtc-fm3130.c 	t->tm_year = bcd2bin(fm3130->regs[FM3130_RTC_YEARS]) + 100;
regs              143 drivers/rtc/rtc-fm3130.c 	u8		*buf = fm3130->regs;
regs              171 drivers/rtc/rtc-fm3130.c 					fm3130->regs[FM3130_RTC_SECONDS + i]);
regs              205 drivers/rtc/rtc-fm3130.c 			fm3130->regs[FM3130_ALARM_SECONDS],
regs              206 drivers/rtc/rtc-fm3130.c 			fm3130->regs[FM3130_ALARM_MINUTES],
regs              207 drivers/rtc/rtc-fm3130.c 			fm3130->regs[FM3130_ALARM_HOURS],
regs              208 drivers/rtc/rtc-fm3130.c 			fm3130->regs[FM3130_ALARM_DATE],
regs              209 drivers/rtc/rtc-fm3130.c 			fm3130->regs[FM3130_ALARM_MONTHS]);
regs              211 drivers/rtc/rtc-fm3130.c 	tm->tm_sec	= bcd2bin(fm3130->regs[FM3130_ALARM_SECONDS] & 0x7F);
regs              212 drivers/rtc/rtc-fm3130.c 	tm->tm_min	= bcd2bin(fm3130->regs[FM3130_ALARM_MINUTES] & 0x7F);
regs              213 drivers/rtc/rtc-fm3130.c 	tm->tm_hour	= bcd2bin(fm3130->regs[FM3130_ALARM_HOURS] & 0x3F);
regs              214 drivers/rtc/rtc-fm3130.c 	tm->tm_mday	= bcd2bin(fm3130->regs[FM3130_ALARM_DATE] & 0x3F);
regs              215 drivers/rtc/rtc-fm3130.c 	tm->tm_mon	= bcd2bin(fm3130->regs[FM3130_ALARM_MONTHS] & 0x1F);
regs              227 drivers/rtc/rtc-fm3130.c 	fm3130->regs[FM3130_RTC_CONTROL] =
regs              230 drivers/rtc/rtc-fm3130.c 	if ((fm3130->regs[FM3130_RTC_CONTROL] & FM3130_RTC_CONTROL_BIT_AEN) &&
regs              231 drivers/rtc/rtc-fm3130.c 		(~fm3130->regs[FM3130_RTC_CONTROL] &
regs              251 drivers/rtc/rtc-fm3130.c 	fm3130->regs[FM3130_ALARM_SECONDS] =
regs              254 drivers/rtc/rtc-fm3130.c 	fm3130->regs[FM3130_ALARM_MINUTES] =
regs              257 drivers/rtc/rtc-fm3130.c 	fm3130->regs[FM3130_ALARM_HOURS] =
regs              260 drivers/rtc/rtc-fm3130.c 	fm3130->regs[FM3130_ALARM_DATE] =
regs              263 drivers/rtc/rtc-fm3130.c 	fm3130->regs[FM3130_ALARM_MONTHS] =
regs              267 drivers/rtc/rtc-fm3130.c 			fm3130->regs[FM3130_ALARM_SECONDS],
regs              268 drivers/rtc/rtc-fm3130.c 			fm3130->regs[FM3130_ALARM_MINUTES],
regs              269 drivers/rtc/rtc-fm3130.c 			fm3130->regs[FM3130_ALARM_HOURS],
regs              270 drivers/rtc/rtc-fm3130.c 			fm3130->regs[FM3130_ALARM_DATE],
regs              271 drivers/rtc/rtc-fm3130.c 			fm3130->regs[FM3130_ALARM_MONTHS]);
regs              276 drivers/rtc/rtc-fm3130.c 					fm3130->regs[FM3130_ALARM_SECONDS + i]);
regs              278 drivers/rtc/rtc-fm3130.c 	fm3130->regs[FM3130_RTC_CONTROL] =
regs              284 drivers/rtc/rtc-fm3130.c 			(fm3130->regs[FM3130_RTC_CONTROL] &
regs              289 drivers/rtc/rtc-fm3130.c 			fm3130->regs[FM3130_RTC_CONTROL] &
regs              306 drivers/rtc/rtc-fm3130.c 	fm3130->regs[FM3130_RTC_CONTROL] =
regs              310 drivers/rtc/rtc-fm3130.c 		enabled, fm3130->regs[FM3130_RTC_CONTROL]);
regs              315 drivers/rtc/rtc-fm3130.c 			FM3130_RTC_CONTROL, fm3130->regs[FM3130_RTC_CONTROL] &
regs              321 drivers/rtc/rtc-fm3130.c 			FM3130_RTC_CONTROL, (fm3130->regs[FM3130_RTC_CONTROL] &
regs              374 drivers/rtc/rtc-fm3130.c 	fm3130->msg[1].buf = &fm3130->regs[FM3130_RTC_SECONDS];
regs              385 drivers/rtc/rtc-fm3130.c 	fm3130->msg[3].buf = &fm3130->regs[FM3130_ALARM_SECONDS];
regs              397 drivers/rtc/rtc-fm3130.c 	fm3130->regs[FM3130_RTC_CONTROL] =
regs              399 drivers/rtc/rtc-fm3130.c 	fm3130->regs[FM3130_CAL_CONTROL] =
regs              403 drivers/rtc/rtc-fm3130.c 	if (fm3130->regs[FM3130_RTC_CONTROL] & FM3130_RTC_CONTROL_BIT_CAL) {
regs              405 drivers/rtc/rtc-fm3130.c 			fm3130->regs[FM3130_RTC_CONTROL] &
regs              411 drivers/rtc/rtc-fm3130.c 	if (fm3130->regs[FM3130_RTC_CONTROL] & FM3130_RTC_CONTROL_BIT_WRITE ||
regs              412 drivers/rtc/rtc-fm3130.c 	    fm3130->regs[FM3130_RTC_CONTROL] & FM3130_RTC_CONTROL_BIT_READ) {
regs              414 drivers/rtc/rtc-fm3130.c 			fm3130->regs[FM3130_RTC_CONTROL] &
regs              421 drivers/rtc/rtc-fm3130.c 	if (fm3130->regs[FM3130_CAL_CONTROL] & FM3130_CAL_CONTROL_BIT_nOSCEN)
regs              423 drivers/rtc/rtc-fm3130.c 			fm3130->regs[FM3130_CAL_CONTROL] &
regs              427 drivers/rtc/rtc-fm3130.c 	if (fm3130->regs[FM3130_RTC_CONTROL] & FM3130_RTC_CONTROL_BIT_LB) {
regs              429 drivers/rtc/rtc-fm3130.c 			fm3130->regs[FM3130_RTC_CONTROL] &
regs              435 drivers/rtc/rtc-fm3130.c 	if (fm3130->regs[FM3130_RTC_CONTROL] & FM3130_RTC_CONTROL_BIT_POR) {
regs              437 drivers/rtc/rtc-fm3130.c 			fm3130->regs[FM3130_RTC_CONTROL] &
regs              445 drivers/rtc/rtc-fm3130.c 	tmp = bcd2bin(fm3130->regs[FM3130_RTC_SECONDS] & 0x7f);
regs              449 drivers/rtc/rtc-fm3130.c 	tmp = bcd2bin(fm3130->regs[FM3130_RTC_MINUTES] & 0x7f);
regs              453 drivers/rtc/rtc-fm3130.c 	tmp = bcd2bin(fm3130->regs[FM3130_RTC_HOURS] & 0x3f);
regs              457 drivers/rtc/rtc-fm3130.c 	tmp = bcd2bin(fm3130->regs[FM3130_RTC_DATE] & 0x3f);
regs              461 drivers/rtc/rtc-fm3130.c 	tmp = bcd2bin(fm3130->regs[FM3130_RTC_MONTHS] & 0x1f);
regs              470 drivers/rtc/rtc-fm3130.c 	tmp = bcd2bin(fm3130->regs[FM3130_RTC_SECONDS] & 0x7f);
regs              474 drivers/rtc/rtc-fm3130.c 	tmp = bcd2bin(fm3130->regs[FM3130_RTC_MINUTES] & 0x7f);
regs              478 drivers/rtc/rtc-fm3130.c 	tmp = bcd2bin(fm3130->regs[FM3130_RTC_HOURS] & 0x3f);
regs              482 drivers/rtc/rtc-fm3130.c 	tmp = bcd2bin(fm3130->regs[FM3130_RTC_DAY] & 0x7);
regs              486 drivers/rtc/rtc-fm3130.c 	tmp = bcd2bin(fm3130->regs[FM3130_RTC_DATE] & 0x3f);
regs              490 drivers/rtc/rtc-fm3130.c 	tmp = bcd2bin(fm3130->regs[FM3130_RTC_MONTHS] & 0x1f);
regs              500 drivers/rtc/rtc-fm3130.c 			fm3130->regs);
regs              150 drivers/rtc/rtc-isl1208.c 	u8 regs[ISL1208_RTC_SECTION_LEN] = { 0, };
regs              157 drivers/rtc/rtc-isl1208.c 	ret = isl1208_i2c_read_regs(client, 0, regs, ISL1208_RTC_SECTION_LEN);
regs              162 drivers/rtc/rtc-isl1208.c 		if (regs[i] & zero_mask[i])	/* check if bits are cleared */
regs              307 drivers/rtc/rtc-isl1208.c 	u8 regs[ISL1208_RTC_SECTION_LEN] = { 0, };
regs              315 drivers/rtc/rtc-isl1208.c 	sr = isl1208_i2c_read_regs(client, 0, regs, ISL1208_RTC_SECTION_LEN);
regs              322 drivers/rtc/rtc-isl1208.c 	tm->tm_sec = bcd2bin(regs[ISL1208_REG_SC]);
regs              323 drivers/rtc/rtc-isl1208.c 	tm->tm_min = bcd2bin(regs[ISL1208_REG_MN]);
regs              327 drivers/rtc/rtc-isl1208.c 		const u8 _hr = regs[ISL1208_REG_HR];
regs              338 drivers/rtc/rtc-isl1208.c 	tm->tm_mday = bcd2bin(regs[ISL1208_REG_DT]);
regs              339 drivers/rtc/rtc-isl1208.c 	tm->tm_mon = bcd2bin(regs[ISL1208_REG_MO]) - 1;	/* rtc starts at 1 */
regs              340 drivers/rtc/rtc-isl1208.c 	tm->tm_year = bcd2bin(regs[ISL1208_REG_YR]) + 100;
regs              341 drivers/rtc/rtc-isl1208.c 	tm->tm_wday = bcd2bin(regs[ISL1208_REG_DW]);
regs              350 drivers/rtc/rtc-isl1208.c 	u8 regs[ISL1208_ALARM_SECTION_LEN] = { 0, };
regs              358 drivers/rtc/rtc-isl1208.c 	sr = isl1208_i2c_read_regs(client, ISL1208_REG_SCA, regs,
regs              367 drivers/rtc/rtc-isl1208.c 	tm->tm_sec = bcd2bin(regs[ISL1208_REG_SCA - ISL1208_REG_SCA] & 0x7f);
regs              368 drivers/rtc/rtc-isl1208.c 	tm->tm_min = bcd2bin(regs[ISL1208_REG_MNA - ISL1208_REG_SCA] & 0x7f);
regs              369 drivers/rtc/rtc-isl1208.c 	tm->tm_hour = bcd2bin(regs[ISL1208_REG_HRA - ISL1208_REG_SCA] & 0x3f);
regs              370 drivers/rtc/rtc-isl1208.c 	tm->tm_mday = bcd2bin(regs[ISL1208_REG_DTA - ISL1208_REG_SCA] & 0x3f);
regs              372 drivers/rtc/rtc-isl1208.c 		bcd2bin(regs[ISL1208_REG_MOA - ISL1208_REG_SCA] & 0x1f) - 1;
regs              373 drivers/rtc/rtc-isl1208.c 	tm->tm_wday = bcd2bin(regs[ISL1208_REG_DWA - ISL1208_REG_SCA] & 0x03);
regs              397 drivers/rtc/rtc-isl1208.c 	u8 regs[ISL1208_ALARM_SECTION_LEN] = { 0, };
regs              413 drivers/rtc/rtc-isl1208.c 	regs[ISL1208_REG_SCA - offs] = bin2bcd(alarm_tm->tm_sec) | enable;
regs              414 drivers/rtc/rtc-isl1208.c 	regs[ISL1208_REG_MNA - offs] = bin2bcd(alarm_tm->tm_min) | enable;
regs              415 drivers/rtc/rtc-isl1208.c 	regs[ISL1208_REG_HRA - offs] = bin2bcd(alarm_tm->tm_hour) |
regs              418 drivers/rtc/rtc-isl1208.c 	regs[ISL1208_REG_DTA - offs] = bin2bcd(alarm_tm->tm_mday) | enable;
regs              419 drivers/rtc/rtc-isl1208.c 	regs[ISL1208_REG_MOA - offs] = bin2bcd(alarm_tm->tm_mon + 1) | enable;
regs              420 drivers/rtc/rtc-isl1208.c 	regs[ISL1208_REG_DWA - offs] = bin2bcd(alarm_tm->tm_wday & 7) | enable;
regs              423 drivers/rtc/rtc-isl1208.c 	err = isl1208_i2c_set_regs(client, offs, regs,
regs              448 drivers/rtc/rtc-isl1208.c 	u8 regs[ISL1208_RTC_SECTION_LEN] = { 0, };
regs              457 drivers/rtc/rtc-isl1208.c 	regs[ISL1208_REG_SC] = bin2bcd(tm->tm_sec);
regs              458 drivers/rtc/rtc-isl1208.c 	regs[ISL1208_REG_MN] = bin2bcd(tm->tm_min);
regs              459 drivers/rtc/rtc-isl1208.c 	regs[ISL1208_REG_HR] = bin2bcd(tm->tm_hour) | ISL1208_REG_HR_MIL;
regs              461 drivers/rtc/rtc-isl1208.c 	regs[ISL1208_REG_DT] = bin2bcd(tm->tm_mday);
regs              462 drivers/rtc/rtc-isl1208.c 	regs[ISL1208_REG_MO] = bin2bcd(tm->tm_mon + 1);
regs              463 drivers/rtc/rtc-isl1208.c 	regs[ISL1208_REG_YR] = bin2bcd(tm->tm_year - 100);
regs              465 drivers/rtc/rtc-isl1208.c 	regs[ISL1208_REG_DW] = bin2bcd(tm->tm_wday & 7);
regs              482 drivers/rtc/rtc-isl1208.c 	sr = isl1208_i2c_set_regs(client, 0, regs, ISL1208_RTC_SECTION_LEN);
regs              551 drivers/rtc/rtc-isl1208.c 	u8 regs[ISL1219_EVT_SECTION_LEN] = { 0, };
regs              564 drivers/rtc/rtc-isl1208.c 	sr = isl1208_i2c_read_regs(client, ISL1219_REG_SCT, regs,
regs              573 drivers/rtc/rtc-isl1208.c 	tm.tm_sec = bcd2bin(regs[ISL1219_REG_SCT - ISL1219_REG_SCT] & 0x7f);
regs              574 drivers/rtc/rtc-isl1208.c 	tm.tm_min = bcd2bin(regs[ISL1219_REG_MNT - ISL1219_REG_SCT] & 0x7f);
regs              575 drivers/rtc/rtc-isl1208.c 	tm.tm_hour = bcd2bin(regs[ISL1219_REG_HRT - ISL1219_REG_SCT] & 0x3f);
regs              576 drivers/rtc/rtc-isl1208.c 	tm.tm_mday = bcd2bin(regs[ISL1219_REG_DTT - ISL1219_REG_SCT] & 0x3f);
regs              578 drivers/rtc/rtc-isl1208.c 		bcd2bin(regs[ISL1219_REG_MOT - ISL1219_REG_SCT] & 0x1f) - 1;
regs              579 drivers/rtc/rtc-isl1208.c 	tm.tm_year = bcd2bin(regs[ISL1219_REG_YRT - ISL1219_REG_SCT]) + 100;
regs              146 drivers/rtc/rtc-max6900.c 	u8 regs[MAX6900_REG_LEN];
regs              148 drivers/rtc/rtc-max6900.c 	rc = max6900_i2c_read_regs(client, regs);
regs              152 drivers/rtc/rtc-max6900.c 	tm->tm_sec = bcd2bin(regs[MAX6900_REG_SC]);
regs              153 drivers/rtc/rtc-max6900.c 	tm->tm_min = bcd2bin(regs[MAX6900_REG_MN]);
regs              154 drivers/rtc/rtc-max6900.c 	tm->tm_hour = bcd2bin(regs[MAX6900_REG_HR] & 0x3f);
regs              155 drivers/rtc/rtc-max6900.c 	tm->tm_mday = bcd2bin(regs[MAX6900_REG_DT]);
regs              156 drivers/rtc/rtc-max6900.c 	tm->tm_mon = bcd2bin(regs[MAX6900_REG_MO]) - 1;
regs              157 drivers/rtc/rtc-max6900.c 	tm->tm_year = bcd2bin(regs[MAX6900_REG_YR]) +
regs              158 drivers/rtc/rtc-max6900.c 		      bcd2bin(regs[MAX6900_REG_CENTURY]) * 100 - 1900;
regs              159 drivers/rtc/rtc-max6900.c 	tm->tm_wday = bcd2bin(regs[MAX6900_REG_DW]);
regs              172 drivers/rtc/rtc-max6900.c 	u8 regs[MAX6900_REG_LEN];
regs              179 drivers/rtc/rtc-max6900.c 	regs[MAX6900_REG_SC] = bin2bcd(tm->tm_sec);
regs              180 drivers/rtc/rtc-max6900.c 	regs[MAX6900_REG_MN] = bin2bcd(tm->tm_min);
regs              181 drivers/rtc/rtc-max6900.c 	regs[MAX6900_REG_HR] = bin2bcd(tm->tm_hour);
regs              182 drivers/rtc/rtc-max6900.c 	regs[MAX6900_REG_DT] = bin2bcd(tm->tm_mday);
regs              183 drivers/rtc/rtc-max6900.c 	regs[MAX6900_REG_MO] = bin2bcd(tm->tm_mon + 1);
regs              184 drivers/rtc/rtc-max6900.c 	regs[MAX6900_REG_DW] = bin2bcd(tm->tm_wday);
regs              185 drivers/rtc/rtc-max6900.c 	regs[MAX6900_REG_YR] = bin2bcd(tm->tm_year % 100);
regs              186 drivers/rtc/rtc-max6900.c 	regs[MAX6900_REG_CENTURY] = bin2bcd((tm->tm_year + 1900) / 100);
regs              188 drivers/rtc/rtc-max6900.c 	regs[MAX6900_REG_CT] = MAX6900_REG_CT_WP;
regs              190 drivers/rtc/rtc-max6900.c 	rc = max6900_i2c_write_regs(client, regs);
regs               58 drivers/rtc/rtc-max8907.c static void regs_to_tm(u8 *regs, struct rtc_time *tm)
regs               60 drivers/rtc/rtc-max8907.c 	tm->tm_year = bcd2bin(regs[RTC_YEAR2]) * 100 +
regs               61 drivers/rtc/rtc-max8907.c 		bcd2bin(regs[RTC_YEAR1]) - 1900;
regs               62 drivers/rtc/rtc-max8907.c 	tm->tm_mon = bcd2bin(regs[RTC_MONTH] & 0x1f) - 1;
regs               63 drivers/rtc/rtc-max8907.c 	tm->tm_mday = bcd2bin(regs[RTC_DATE] & 0x3f);
regs               64 drivers/rtc/rtc-max8907.c 	tm->tm_wday = (regs[RTC_WEEKDAY] & 0x07);
regs               65 drivers/rtc/rtc-max8907.c 	if (regs[RTC_HOUR] & HOUR_12) {
regs               66 drivers/rtc/rtc-max8907.c 		tm->tm_hour = bcd2bin(regs[RTC_HOUR] & 0x01f);
regs               69 drivers/rtc/rtc-max8907.c 		if (regs[RTC_HOUR] & HOUR_AM_PM)
regs               72 drivers/rtc/rtc-max8907.c 		tm->tm_hour = bcd2bin(regs[RTC_HOUR] & 0x03f);
regs               74 drivers/rtc/rtc-max8907.c 	tm->tm_min = bcd2bin(regs[RTC_MIN] & 0x7f);
regs               75 drivers/rtc/rtc-max8907.c 	tm->tm_sec = bcd2bin(regs[RTC_SEC] & 0x7f);
regs               78 drivers/rtc/rtc-max8907.c static void tm_to_regs(struct rtc_time *tm, u8 *regs)
regs               84 drivers/rtc/rtc-max8907.c 	regs[RTC_YEAR2] = bin2bcd(high);
regs               85 drivers/rtc/rtc-max8907.c 	regs[RTC_YEAR1] = bin2bcd(low);
regs               86 drivers/rtc/rtc-max8907.c 	regs[RTC_MONTH] = bin2bcd(tm->tm_mon + 1);
regs               87 drivers/rtc/rtc-max8907.c 	regs[RTC_DATE] = bin2bcd(tm->tm_mday);
regs               88 drivers/rtc/rtc-max8907.c 	regs[RTC_WEEKDAY] = tm->tm_wday;
regs               89 drivers/rtc/rtc-max8907.c 	regs[RTC_HOUR] = bin2bcd(tm->tm_hour);
regs               90 drivers/rtc/rtc-max8907.c 	regs[RTC_MIN] = bin2bcd(tm->tm_min);
regs               91 drivers/rtc/rtc-max8907.c 	regs[RTC_SEC] = bin2bcd(tm->tm_sec);
regs               97 drivers/rtc/rtc-max8907.c 	u8 regs[TIME_NUM];
regs              100 drivers/rtc/rtc-max8907.c 	ret = regmap_bulk_read(rtc->regmap, MAX8907_REG_RTC_SEC, regs,
regs              105 drivers/rtc/rtc-max8907.c 	regs_to_tm(regs, tm);
regs              113 drivers/rtc/rtc-max8907.c 	u8 regs[TIME_NUM];
regs              115 drivers/rtc/rtc-max8907.c 	tm_to_regs(tm, regs);
regs              117 drivers/rtc/rtc-max8907.c 	return regmap_bulk_write(rtc->regmap, MAX8907_REG_RTC_SEC, regs,
regs              124 drivers/rtc/rtc-max8907.c 	u8 regs[TIME_NUM];
regs              128 drivers/rtc/rtc-max8907.c 	ret = regmap_bulk_read(rtc->regmap, MAX8907_REG_ALARM0_SEC, regs,
regs              133 drivers/rtc/rtc-max8907.c 	regs_to_tm(regs, &alrm->time);
regs              147 drivers/rtc/rtc-max8907.c 	u8 regs[TIME_NUM];
regs              150 drivers/rtc/rtc-max8907.c 	tm_to_regs(&alrm->time, regs);
regs              157 drivers/rtc/rtc-max8907.c 	ret = regmap_bulk_write(rtc->regmap, MAX8907_REG_ALARM0_SEC, regs,
regs               79 drivers/rtc/rtc-mpc5121.c 	struct mpc5121_rtc_regs __iomem *regs;
regs               89 drivers/rtc/rtc-mpc5121.c static void mpc5121_rtc_update_smh(struct mpc5121_rtc_regs __iomem *regs,
regs               92 drivers/rtc/rtc-mpc5121.c 	out_8(&regs->second_set, tm->tm_sec);
regs               93 drivers/rtc/rtc-mpc5121.c 	out_8(&regs->minute_set, tm->tm_min);
regs               94 drivers/rtc/rtc-mpc5121.c 	out_8(&regs->hour_set, tm->tm_hour);
regs               97 drivers/rtc/rtc-mpc5121.c 	out_8(&regs->set_time, 0x1);
regs               98 drivers/rtc/rtc-mpc5121.c 	out_8(&regs->set_time, 0x3);
regs               99 drivers/rtc/rtc-mpc5121.c 	out_8(&regs->set_time, 0x1);
regs              100 drivers/rtc/rtc-mpc5121.c 	out_8(&regs->set_time, 0x0);
regs              106 drivers/rtc/rtc-mpc5121.c 	struct mpc5121_rtc_regs __iomem *regs = rtc->regs;
regs              112 drivers/rtc/rtc-mpc5121.c 	now = in_be32(&regs->actual_time) + in_be32(&regs->target_time);
regs              120 drivers/rtc/rtc-mpc5121.c 	mpc5121_rtc_update_smh(regs, tm);
regs              128 drivers/rtc/rtc-mpc5121.c 	struct mpc5121_rtc_regs __iomem *regs = rtc->regs;
regs              138 drivers/rtc/rtc-mpc5121.c 		out_be32(&regs->target_time, now - in_be32(&regs->actual_time));
regs              144 drivers/rtc/rtc-mpc5121.c 	mpc5121_rtc_update_smh(regs, tm);
regs              152 drivers/rtc/rtc-mpc5121.c 	struct mpc5121_rtc_regs __iomem *regs = rtc->regs;
regs              155 drivers/rtc/rtc-mpc5121.c 	tm->tm_sec = in_8(&regs->second);
regs              156 drivers/rtc/rtc-mpc5121.c 	tm->tm_min = in_8(&regs->minute);
regs              159 drivers/rtc/rtc-mpc5121.c 	if (in_8(&regs->hour) & 0x20)
regs              160 drivers/rtc/rtc-mpc5121.c 		tm->tm_hour = (in_8(&regs->hour) >> 1) +
regs              161 drivers/rtc/rtc-mpc5121.c 			(in_8(&regs->hour) & 1 ? 12 : 0);
regs              163 drivers/rtc/rtc-mpc5121.c 		tm->tm_hour = in_8(&regs->hour);
regs              165 drivers/rtc/rtc-mpc5121.c 	tmp = in_8(&regs->wday_mday);
regs              167 drivers/rtc/rtc-mpc5121.c 	tm->tm_mon = in_8(&regs->month) - 1;
regs              168 drivers/rtc/rtc-mpc5121.c 	tm->tm_year = in_be16(&regs->year) - 1900;
regs              179 drivers/rtc/rtc-mpc5121.c 	struct mpc5121_rtc_regs __iomem *regs = rtc->regs;
regs              181 drivers/rtc/rtc-mpc5121.c 	mpc5121_rtc_update_smh(regs, tm);
regs              184 drivers/rtc/rtc-mpc5121.c 	out_8(&regs->month_set, tm->tm_mon + 1);
regs              185 drivers/rtc/rtc-mpc5121.c 	out_8(&regs->weekday_set, tm->tm_wday ? tm->tm_wday : 7);
regs              186 drivers/rtc/rtc-mpc5121.c 	out_8(&regs->date_set, tm->tm_mday);
regs              187 drivers/rtc/rtc-mpc5121.c 	out_be16(&regs->year_set, tm->tm_year + 1900);
regs              190 drivers/rtc/rtc-mpc5121.c 	out_8(&regs->set_date, 0x1);
regs              191 drivers/rtc/rtc-mpc5121.c 	out_8(&regs->set_date, 0x3);
regs              192 drivers/rtc/rtc-mpc5121.c 	out_8(&regs->set_date, 0x1);
regs              193 drivers/rtc/rtc-mpc5121.c 	out_8(&regs->set_date, 0x0);
regs              201 drivers/rtc/rtc-mpc5121.c 	struct mpc5121_rtc_regs __iomem *regs = rtc->regs;
regs              205 drivers/rtc/rtc-mpc5121.c 	alarm->pending = in_8(&regs->alm_status);
regs              213 drivers/rtc/rtc-mpc5121.c 	struct mpc5121_rtc_regs __iomem *regs = rtc->regs;
regs              233 drivers/rtc/rtc-mpc5121.c 	out_8(&regs->alm_min_set, alarm->time.tm_min);
regs              234 drivers/rtc/rtc-mpc5121.c 	out_8(&regs->alm_hour_set, alarm->time.tm_hour);
regs              236 drivers/rtc/rtc-mpc5121.c 	out_8(&regs->alm_enable, alarm->enabled);
regs              245 drivers/rtc/rtc-mpc5121.c 	struct mpc5121_rtc_regs __iomem *regs = rtc->regs;
regs              247 drivers/rtc/rtc-mpc5121.c 	if (in_8(&regs->int_alm)) {
regs              249 drivers/rtc/rtc-mpc5121.c 		out_8(&regs->int_alm, 1);
regs              250 drivers/rtc/rtc-mpc5121.c 		out_8(&regs->alm_status, 1);
regs              262 drivers/rtc/rtc-mpc5121.c 	struct mpc5121_rtc_regs __iomem *regs = rtc->regs;
regs              264 drivers/rtc/rtc-mpc5121.c 	if (in_8(&regs->int_sec) && (in_8(&regs->int_enable) & 0x1)) {
regs              266 drivers/rtc/rtc-mpc5121.c 		out_8(&regs->int_sec, 1);
regs              279 drivers/rtc/rtc-mpc5121.c 	struct mpc5121_rtc_regs __iomem *regs = rtc->regs;
regs              287 drivers/rtc/rtc-mpc5121.c 	out_8(&regs->alm_enable, val);
regs              318 drivers/rtc/rtc-mpc5121.c 	rtc->regs = of_iomap(op->dev.of_node, 0);
regs              319 drivers/rtc/rtc-mpc5121.c 	if (!rtc->regs) {
regs              348 drivers/rtc/rtc-mpc5121.c 		ka = in_be32(&rtc->regs->keep_alive);
regs              352 drivers/rtc/rtc-mpc5121.c 			out_be32(&rtc->regs->keep_alive, ka);
regs              377 drivers/rtc/rtc-mpc5121.c 	iounmap(rtc->regs);
regs              385 drivers/rtc/rtc-mpc5121.c 	struct mpc5121_rtc_regs __iomem *regs = rtc->regs;
regs              388 drivers/rtc/rtc-mpc5121.c 	out_8(&regs->alm_enable, 0);
regs              389 drivers/rtc/rtc-mpc5121.c 	out_8(&regs->int_enable, in_8(&regs->int_enable) & ~0x1);
regs              391 drivers/rtc/rtc-mpc5121.c 	iounmap(rtc->regs);
regs               75 drivers/rtc/rtc-msm6242.c 	u32 __iomem *regs;
regs               82 drivers/rtc/rtc-msm6242.c 	return __raw_readl(&priv->regs[reg]) & 0xf;
regs               88 drivers/rtc/rtc-msm6242.c 	__raw_writel(val, &priv->regs[reg]);
regs              215 drivers/rtc/rtc-msm6242.c 	priv->regs = devm_ioremap(&pdev->dev, res->start, resource_size(res));
regs              216 drivers/rtc/rtc-msm6242.c 	if (!priv->regs)
regs               70 drivers/rtc/rtc-pcf85063.c 	u8 regs[7];
regs               78 drivers/rtc/rtc-pcf85063.c 	rc = regmap_bulk_read(pcf85063->regmap, PCF85063_REG_SC, regs,
regs               79 drivers/rtc/rtc-pcf85063.c 			      sizeof(regs));
regs               84 drivers/rtc/rtc-pcf85063.c 	if (regs[0] & PCF85063_REG_SC_OS) {
regs               89 drivers/rtc/rtc-pcf85063.c 	tm->tm_sec = bcd2bin(regs[0] & 0x7F);
regs               90 drivers/rtc/rtc-pcf85063.c 	tm->tm_min = bcd2bin(regs[1] & 0x7F);
regs               91 drivers/rtc/rtc-pcf85063.c 	tm->tm_hour = bcd2bin(regs[2] & 0x3F); /* rtc hr 0-23 */
regs               92 drivers/rtc/rtc-pcf85063.c 	tm->tm_mday = bcd2bin(regs[3] & 0x3F);
regs               93 drivers/rtc/rtc-pcf85063.c 	tm->tm_wday = regs[4] & 0x07;
regs               94 drivers/rtc/rtc-pcf85063.c 	tm->tm_mon = bcd2bin(regs[5] & 0x1F) - 1; /* rtc mn 1-12 */
regs               95 drivers/rtc/rtc-pcf85063.c 	tm->tm_year = bcd2bin(regs[6]);
regs              105 drivers/rtc/rtc-pcf85063.c 	u8 regs[7];
regs              118 drivers/rtc/rtc-pcf85063.c 	regs[0] = bin2bcd(tm->tm_sec) & 0x7F; /* clear OS flag */
regs              120 drivers/rtc/rtc-pcf85063.c 	regs[1] = bin2bcd(tm->tm_min);
regs              121 drivers/rtc/rtc-pcf85063.c 	regs[2] = bin2bcd(tm->tm_hour);
regs              124 drivers/rtc/rtc-pcf85063.c 	regs[3] = bin2bcd(tm->tm_mday);
regs              127 drivers/rtc/rtc-pcf85063.c 	regs[4] = tm->tm_wday & 0x07;
regs              130 drivers/rtc/rtc-pcf85063.c 	regs[5] = bin2bcd(tm->tm_mon + 1);
regs              133 drivers/rtc/rtc-pcf85063.c 	regs[6] = bin2bcd(tm->tm_year - 100);
regs              137 drivers/rtc/rtc-pcf85063.c 			       regs, sizeof(regs));
regs              186 drivers/rtc/rtc-pcf8523.c 	u8 start = REG_SECONDS, regs[7];
regs              205 drivers/rtc/rtc-pcf8523.c 	msgs[1].len = sizeof(regs);
regs              206 drivers/rtc/rtc-pcf8523.c 	msgs[1].buf = regs;
regs              212 drivers/rtc/rtc-pcf8523.c 	if (regs[0] & REG_SECONDS_OS)
regs              215 drivers/rtc/rtc-pcf8523.c 	tm->tm_sec = bcd2bin(regs[0] & 0x7f);
regs              216 drivers/rtc/rtc-pcf8523.c 	tm->tm_min = bcd2bin(regs[1] & 0x7f);
regs              217 drivers/rtc/rtc-pcf8523.c 	tm->tm_hour = bcd2bin(regs[2] & 0x3f);
regs              218 drivers/rtc/rtc-pcf8523.c 	tm->tm_mday = bcd2bin(regs[3] & 0x3f);
regs              219 drivers/rtc/rtc-pcf8523.c 	tm->tm_wday = regs[4] & 0x7;
regs              220 drivers/rtc/rtc-pcf8523.c 	tm->tm_mon = bcd2bin(regs[5] & 0x1f) - 1;
regs              221 drivers/rtc/rtc-pcf8523.c 	tm->tm_year = bcd2bin(regs[6]) + 100;
regs              230 drivers/rtc/rtc-pcf8523.c 	u8 regs[8];
regs              248 drivers/rtc/rtc-pcf8523.c 	regs[0] = REG_SECONDS;
regs              250 drivers/rtc/rtc-pcf8523.c 	regs[1] = bin2bcd(tm->tm_sec);
regs              251 drivers/rtc/rtc-pcf8523.c 	regs[2] = bin2bcd(tm->tm_min);
regs              252 drivers/rtc/rtc-pcf8523.c 	regs[3] = bin2bcd(tm->tm_hour);
regs              253 drivers/rtc/rtc-pcf8523.c 	regs[4] = bin2bcd(tm->tm_mday);
regs              254 drivers/rtc/rtc-pcf8523.c 	regs[5] = tm->tm_wday;
regs              255 drivers/rtc/rtc-pcf8523.c 	regs[6] = bin2bcd(tm->tm_mon + 1);
regs              256 drivers/rtc/rtc-pcf8523.c 	regs[7] = bin2bcd(tm->tm_year - 100);
regs              260 drivers/rtc/rtc-pcf8523.c 	msg.len = sizeof(regs);
regs              261 drivers/rtc/rtc-pcf8523.c 	msg.buf = regs;
regs               61 drivers/rtc/rtc-pm8xxx.c 	const struct pm8xxx_rtc_regs *regs;
regs               82 drivers/rtc/rtc-pm8xxx.c 	const struct pm8xxx_rtc_regs *regs = rtc_dd->regs;
regs               98 drivers/rtc/rtc-pm8xxx.c 	rc = regmap_read(rtc_dd->regmap, regs->alarm_ctrl, &ctrl_reg);
regs              102 drivers/rtc/rtc-pm8xxx.c 	if (ctrl_reg & regs->alarm_en) {
regs              104 drivers/rtc/rtc-pm8xxx.c 		ctrl_reg &= ~regs->alarm_en;
regs              105 drivers/rtc/rtc-pm8xxx.c 		rc = regmap_write(rtc_dd->regmap, regs->alarm_ctrl, ctrl_reg);
regs              113 drivers/rtc/rtc-pm8xxx.c 	rc = regmap_read(rtc_dd->regmap, regs->ctrl, &rtc_ctrl_reg);
regs              120 drivers/rtc/rtc-pm8xxx.c 		rc = regmap_write(rtc_dd->regmap, regs->ctrl, rtc_ctrl_reg);
regs              128 drivers/rtc/rtc-pm8xxx.c 	rc = regmap_write(rtc_dd->regmap, regs->write, 0);
regs              135 drivers/rtc/rtc-pm8xxx.c 	rc = regmap_bulk_write(rtc_dd->regmap, regs->write + 1,
regs              143 drivers/rtc/rtc-pm8xxx.c 	rc = regmap_write(rtc_dd->regmap, regs->write, value[0]);
regs              152 drivers/rtc/rtc-pm8xxx.c 		rc = regmap_write(rtc_dd->regmap, regs->ctrl, rtc_ctrl_reg);
regs              160 drivers/rtc/rtc-pm8xxx.c 		ctrl_reg |= regs->alarm_en;
regs              161 drivers/rtc/rtc-pm8xxx.c 		rc = regmap_write(rtc_dd->regmap, regs->alarm_ctrl, ctrl_reg);
regs              181 drivers/rtc/rtc-pm8xxx.c 	const struct pm8xxx_rtc_regs *regs = rtc_dd->regs;
regs              183 drivers/rtc/rtc-pm8xxx.c 	rc = regmap_bulk_read(rtc_dd->regmap, regs->read, value, sizeof(value));
regs              193 drivers/rtc/rtc-pm8xxx.c 	rc = regmap_read(rtc_dd->regmap, regs->read, &reg);
regs              200 drivers/rtc/rtc-pm8xxx.c 		rc = regmap_bulk_read(rtc_dd->regmap, regs->read,
regs              225 drivers/rtc/rtc-pm8xxx.c 	const struct pm8xxx_rtc_regs *regs = rtc_dd->regs;
regs              236 drivers/rtc/rtc-pm8xxx.c 	rc = regmap_bulk_write(rtc_dd->regmap, regs->alarm_rw, value,
regs              243 drivers/rtc/rtc-pm8xxx.c 	rc = regmap_read(rtc_dd->regmap, regs->alarm_ctrl, &ctrl_reg);
regs              248 drivers/rtc/rtc-pm8xxx.c 		ctrl_reg |= regs->alarm_en;
regs              250 drivers/rtc/rtc-pm8xxx.c 		ctrl_reg &= ~regs->alarm_en;
regs              252 drivers/rtc/rtc-pm8xxx.c 	rc = regmap_write(rtc_dd->regmap, regs->alarm_ctrl, ctrl_reg);
regs              271 drivers/rtc/rtc-pm8xxx.c 	const struct pm8xxx_rtc_regs *regs = rtc_dd->regs;
regs              273 drivers/rtc/rtc-pm8xxx.c 	rc = regmap_bulk_read(rtc_dd->regmap, regs->alarm_rw, value,
regs              302 drivers/rtc/rtc-pm8xxx.c 	const struct pm8xxx_rtc_regs *regs = rtc_dd->regs;
regs              307 drivers/rtc/rtc-pm8xxx.c 	rc = regmap_read(rtc_dd->regmap, regs->alarm_ctrl, &ctrl_reg);
regs              312 drivers/rtc/rtc-pm8xxx.c 		ctrl_reg |= regs->alarm_en;
regs              314 drivers/rtc/rtc-pm8xxx.c 		ctrl_reg &= ~regs->alarm_en;
regs              316 drivers/rtc/rtc-pm8xxx.c 	rc = regmap_write(rtc_dd->regmap, regs->alarm_ctrl, ctrl_reg);
regs              338 drivers/rtc/rtc-pm8xxx.c 	const struct pm8xxx_rtc_regs *regs = rtc_dd->regs;
regs              348 drivers/rtc/rtc-pm8xxx.c 	rc = regmap_read(rtc_dd->regmap, regs->alarm_ctrl, &ctrl_reg);
regs              354 drivers/rtc/rtc-pm8xxx.c 	ctrl_reg &= ~regs->alarm_en;
regs              356 drivers/rtc/rtc-pm8xxx.c 	rc = regmap_write(rtc_dd->regmap, regs->alarm_ctrl, ctrl_reg);
regs              367 drivers/rtc/rtc-pm8xxx.c 	rc = regmap_read(rtc_dd->regmap, regs->alarm_ctrl2, &ctrl_reg);
regs              375 drivers/rtc/rtc-pm8xxx.c 	rc = regmap_write(rtc_dd->regmap, regs->alarm_ctrl2, ctrl_reg);
regs              386 drivers/rtc/rtc-pm8xxx.c 	const struct pm8xxx_rtc_regs *regs = rtc_dd->regs;
regs              391 drivers/rtc/rtc-pm8xxx.c 	rc = regmap_read(rtc_dd->regmap, regs->ctrl, &ctrl_reg);
regs              397 drivers/rtc/rtc-pm8xxx.c 		rc = regmap_write(rtc_dd->regmap, regs->ctrl, ctrl_reg);
regs              477 drivers/rtc/rtc-pm8xxx.c 	rtc_dd->regs = match->data;
regs              358 drivers/rtc/rtc-r7301.c 	void __iomem *regs;
regs              371 drivers/rtc/rtc-r7301.c 	regs = devm_ioremap_resource(&dev->dev, res);
regs              372 drivers/rtc/rtc-r7301.c 	if (IS_ERR(regs))
regs              373 drivers/rtc/rtc-r7301.c 		return PTR_ERR(regs);
regs              375 drivers/rtc/rtc-r7301.c 	priv->regmap = devm_regmap_init_mmio(&dev->dev, regs,
regs               51 drivers/rtc/rtc-r9701.c static int read_regs(struct device *dev, unsigned char *regs, int no_regs)
regs               60 drivers/rtc/rtc-r9701.c 		txbuf[0] = 0x80 | regs[k];
regs               62 drivers/rtc/rtc-r9701.c 		regs[k] = rxbuf[0];
regs               65 drivers/rtc/rtc-rp5c01.c 	u32 __iomem *regs;
regs               73 drivers/rtc/rtc-rp5c01.c 	return __raw_readl(&priv->regs[reg]) & 0xf;
regs               79 drivers/rtc/rtc-rp5c01.c 	__raw_writel(val, &priv->regs[reg]);
regs              241 drivers/rtc/rtc-rp5c01.c 	priv->regs = devm_ioremap(&dev->dev, res->start, resource_size(res));
regs              242 drivers/rtc/rtc-rp5c01.c 	if (!priv->regs)
regs              128 drivers/rtc/rtc-rs5c372.c 	char			*regs;
regs              172 drivers/rtc/rtc-rs5c372.c 		rs5c->regs + 0, rs5c->regs[3],
regs              173 drivers/rtc/rtc-rs5c372.c 		rs5c->regs + 4, rs5c->regs[7],
regs              174 drivers/rtc/rtc-rs5c372.c 		rs5c->regs + 8, rs5c->regs + 11,
regs              175 drivers/rtc/rtc-rs5c372.c 		rs5c->regs[14], rs5c->regs[15]);
regs              214 drivers/rtc/rtc-rs5c372.c 	unsigned char ctrl2 = rs5c->regs[RS5C_REG_CTRL2];
regs              235 drivers/rtc/rtc-rs5c372.c 	tm->tm_sec = bcd2bin(rs5c->regs[RS5C372_REG_SECS] & 0x7f);
regs              236 drivers/rtc/rtc-rs5c372.c 	tm->tm_min = bcd2bin(rs5c->regs[RS5C372_REG_MINS] & 0x7f);
regs              237 drivers/rtc/rtc-rs5c372.c 	tm->tm_hour = rs5c_reg2hr(rs5c, rs5c->regs[RS5C372_REG_HOURS]);
regs              239 drivers/rtc/rtc-rs5c372.c 	tm->tm_wday = bcd2bin(rs5c->regs[RS5C372_REG_WDAY] & 0x07);
regs              240 drivers/rtc/rtc-rs5c372.c 	tm->tm_mday = bcd2bin(rs5c->regs[RS5C372_REG_DAY] & 0x3f);
regs              243 drivers/rtc/rtc-rs5c372.c 	tm->tm_mon = bcd2bin(rs5c->regs[RS5C372_REG_MONTH] & 0x1f) - 1;
regs              246 drivers/rtc/rtc-rs5c372.c 	tm->tm_year = bcd2bin(rs5c->regs[RS5C372_REG_YEAR]) + 100;
regs              325 drivers/rtc/rtc-rs5c372.c 	u8 tmp = rs5c372->regs[RS5C372_REG_TRIM];
regs              358 drivers/rtc/rtc-rs5c372.c 	buf = rs5c->regs[RS5C_REG_CTRL1];
regs              377 drivers/rtc/rtc-rs5c372.c 		rs5c->regs[RS5C_REG_CTRL1] = buf;
regs              404 drivers/rtc/rtc-rs5c372.c 	t->time.tm_min = bcd2bin(rs5c->regs[RS5C_REG_ALARM_A_MIN] & 0x7f);
regs              405 drivers/rtc/rtc-rs5c372.c 	t->time.tm_hour = rs5c_reg2hr(rs5c, rs5c->regs[RS5C_REG_ALARM_A_HOURS]);
regs              408 drivers/rtc/rtc-rs5c372.c 	t->enabled = !!(rs5c->regs[RS5C_REG_CTRL1] & RS5C_CTRL1_AALE);
regs              409 drivers/rtc/rtc-rs5c372.c 	t->pending = !!(rs5c->regs[RS5C_REG_CTRL2] & RS5C_CTRL2_AAFG);
regs              433 drivers/rtc/rtc-rs5c372.c 	if (rs5c->regs[RS5C_REG_CTRL1] & RS5C_CTRL1_AALE) {
regs              435 drivers/rtc/rtc-rs5c372.c 		buf[0] = rs5c->regs[RS5C_REG_CTRL1] & ~RS5C_CTRL1_AALE;
regs              440 drivers/rtc/rtc-rs5c372.c 		rs5c->regs[RS5C_REG_CTRL1] = buf[0];
regs              459 drivers/rtc/rtc-rs5c372.c 		buf[0] = rs5c->regs[RS5C_REG_CTRL1] | RS5C_CTRL1_AALE;
regs              462 drivers/rtc/rtc-rs5c372.c 		rs5c->regs[RS5C_REG_CTRL1] = buf[0];
regs              565 drivers/rtc/rtc-rs5c372.c 	buf[0] = rs5c372->regs[RS5C_REG_CTRL1];
regs              566 drivers/rtc/rtc-rs5c372.c 	buf[1] = rs5c372->regs[RS5C_REG_CTRL2];
regs              609 drivers/rtc/rtc-rs5c372.c 	rs5c372->regs[RS5C_REG_CTRL1] = buf[0];
regs              610 drivers/rtc/rtc-rs5c372.c 	rs5c372->regs[RS5C_REG_CTRL2] = buf[1];
regs              657 drivers/rtc/rtc-rs5c372.c 	rs5c372->regs = &rs5c372->buf[1];
regs              671 drivers/rtc/rtc-rs5c372.c 		if (rs5c372->regs[RS5C_REG_CTRL2] & RS5C372_CTRL2_24)
regs              678 drivers/rtc/rtc-rs5c372.c 		if (rs5c372->regs[RS5C_REG_CTRL1] & RV5C387_CTRL1_24)
regs              373 drivers/rtc/rtc-rv3029c2.c 	u8 regs[RV3029_WATCH_SECTION_LEN] = { 0, };
regs              381 drivers/rtc/rtc-rv3029c2.c 	ret = rv3029_read_regs(dev, RV3029_W_SEC, regs,
regs              388 drivers/rtc/rtc-rv3029c2.c 	tm->tm_sec = bcd2bin(regs[RV3029_W_SEC - RV3029_W_SEC]);
regs              389 drivers/rtc/rtc-rv3029c2.c 	tm->tm_min = bcd2bin(regs[RV3029_W_MINUTES - RV3029_W_SEC]);
regs              393 drivers/rtc/rtc-rv3029c2.c 		const u8 _hr = regs[RV3029_W_HOURS - RV3029_W_SEC];
regs              404 drivers/rtc/rtc-rv3029c2.c 	tm->tm_mday = bcd2bin(regs[RV3029_W_DATE - RV3029_W_SEC]);
regs              405 drivers/rtc/rtc-rv3029c2.c 	tm->tm_mon = bcd2bin(regs[RV3029_W_MONTHS - RV3029_W_SEC]) - 1;
regs              406 drivers/rtc/rtc-rv3029c2.c 	tm->tm_year = bcd2bin(regs[RV3029_W_YEARS - RV3029_W_SEC]) + 100;
regs              407 drivers/rtc/rtc-rv3029c2.c 	tm->tm_wday = bcd2bin(regs[RV3029_W_DAYS - RV3029_W_SEC]) - 1;
regs              416 drivers/rtc/rtc-rv3029c2.c 	u8 regs[8], controls, flags;
regs              418 drivers/rtc/rtc-rv3029c2.c 	ret = rv3029_get_sr(dev, regs);
regs              424 drivers/rtc/rtc-rv3029c2.c 	ret = rv3029_read_regs(dev, RV3029_A_SC, regs,
regs              443 drivers/rtc/rtc-rv3029c2.c 	tm->tm_sec = bcd2bin(regs[RV3029_A_SC - RV3029_A_SC] & 0x7f);
regs              444 drivers/rtc/rtc-rv3029c2.c 	tm->tm_min = bcd2bin(regs[RV3029_A_MN - RV3029_A_SC] & 0x7f);
regs              445 drivers/rtc/rtc-rv3029c2.c 	tm->tm_hour = bcd2bin(regs[RV3029_A_HR - RV3029_A_SC] & 0x3f);
regs              446 drivers/rtc/rtc-rv3029c2.c 	tm->tm_mday = bcd2bin(regs[RV3029_A_DT - RV3029_A_SC] & 0x3f);
regs              447 drivers/rtc/rtc-rv3029c2.c 	tm->tm_mon = bcd2bin(regs[RV3029_A_MO - RV3029_A_SC] & 0x1f) - 1;
regs              448 drivers/rtc/rtc-rv3029c2.c 	tm->tm_year = bcd2bin(regs[RV3029_A_YR - RV3029_A_SC] & 0x7f) + 100;
regs              449 drivers/rtc/rtc-rv3029c2.c 	tm->tm_wday = bcd2bin(regs[RV3029_A_DW - RV3029_A_SC] & 0x07) - 1;
regs              487 drivers/rtc/rtc-rv3029c2.c 	u8 regs[8];
regs              497 drivers/rtc/rtc-rv3029c2.c 	ret = rv3029_get_sr(dev, regs);
regs              504 drivers/rtc/rtc-rv3029c2.c 	regs[RV3029_A_SC - RV3029_A_SC] = bin2bcd(tm->tm_sec) | RV3029_A_AE_X;
regs              505 drivers/rtc/rtc-rv3029c2.c 	regs[RV3029_A_MN - RV3029_A_SC] = bin2bcd(tm->tm_min) | RV3029_A_AE_X;
regs              506 drivers/rtc/rtc-rv3029c2.c 	regs[RV3029_A_HR - RV3029_A_SC] = (bin2bcd(tm->tm_hour) & 0x3f)
regs              508 drivers/rtc/rtc-rv3029c2.c 	regs[RV3029_A_DT - RV3029_A_SC] = (bin2bcd(tm->tm_mday) & 0x3f)
regs              510 drivers/rtc/rtc-rv3029c2.c 	regs[RV3029_A_MO - RV3029_A_SC] = (bin2bcd(tm->tm_mon + 1) & 0x1f)
regs              512 drivers/rtc/rtc-rv3029c2.c 	regs[RV3029_A_DW - RV3029_A_SC] = (bin2bcd(tm->tm_wday + 1) & 0x7)
regs              514 drivers/rtc/rtc-rv3029c2.c 	regs[RV3029_A_YR - RV3029_A_SC] = (bin2bcd(tm->tm_year - 100))
regs              518 drivers/rtc/rtc-rv3029c2.c 	ret = rv3029_write_regs(dev, RV3029_A_SC, regs,
regs              540 drivers/rtc/rtc-rv3029c2.c 	u8 regs[8];
regs              551 drivers/rtc/rtc-rv3029c2.c 	regs[RV3029_W_SEC - RV3029_W_SEC] = bin2bcd(tm->tm_sec);
regs              552 drivers/rtc/rtc-rv3029c2.c 	regs[RV3029_W_MINUTES - RV3029_W_SEC] = bin2bcd(tm->tm_min);
regs              553 drivers/rtc/rtc-rv3029c2.c 	regs[RV3029_W_HOURS - RV3029_W_SEC] = bin2bcd(tm->tm_hour);
regs              554 drivers/rtc/rtc-rv3029c2.c 	regs[RV3029_W_DATE - RV3029_W_SEC] = bin2bcd(tm->tm_mday);
regs              555 drivers/rtc/rtc-rv3029c2.c 	regs[RV3029_W_MONTHS - RV3029_W_SEC] = bin2bcd(tm->tm_mon + 1);
regs              556 drivers/rtc/rtc-rv3029c2.c 	regs[RV3029_W_DAYS - RV3029_W_SEC] = bin2bcd(tm->tm_wday + 1) & 0x7;
regs              557 drivers/rtc/rtc-rv3029c2.c 	regs[RV3029_W_YEARS - RV3029_W_SEC] = bin2bcd(tm->tm_year - 100);
regs              559 drivers/rtc/rtc-rv3029c2.c 	ret = rv3029_write_regs(dev, RV3029_W_SEC, regs,
regs              564 drivers/rtc/rtc-rv3029c2.c 	ret = rv3029_get_sr(dev, regs);
regs              570 drivers/rtc/rtc-rv3029c2.c 	ret = rv3029_set_sr(dev, (regs[0] & ~RV3029_STATUS_PON));
regs              156 drivers/rtc/rtc-s5m.c 	const struct s5m_rtc_reg_config	*regs;
regs              228 drivers/rtc/rtc-s5m.c 		ret = regmap_read(info->regmap, info->regs->udr_update, &data);
regs              229 drivers/rtc/rtc-s5m.c 	} while (--retry && (data & info->regs->autoclear_udr_mask) && !ret);
regs              275 drivers/rtc/rtc-s5m.c 	ret = regmap_read(info->regmap, info->regs->udr_update, &data);
regs              281 drivers/rtc/rtc-s5m.c 	data |= info->regs->write_time_udr_mask;
regs              283 drivers/rtc/rtc-s5m.c 	ret = regmap_write(info->regmap, info->regs->udr_update, data);
regs              299 drivers/rtc/rtc-s5m.c 	ret = regmap_read(info->regmap, info->regs->udr_update, &data);
regs              306 drivers/rtc/rtc-s5m.c 	data |= info->regs->write_alarm_udr_mask;
regs              321 drivers/rtc/rtc-s5m.c 	ret = regmap_write(info->regmap, info->regs->udr_update, data);
regs              332 drivers/rtc/rtc-s5m.c 		regmap_update_bits(info->regmap, info->regs->udr_update,
regs              376 drivers/rtc/rtc-s5m.c 	if (info->regs->read_time_udr_mask) {
regs              378 drivers/rtc/rtc-s5m.c 				info->regs->udr_update,
regs              379 drivers/rtc/rtc-s5m.c 				info->regs->read_time_udr_mask,
regs              380 drivers/rtc/rtc-s5m.c 				info->regs->read_time_udr_mask);
regs              388 drivers/rtc/rtc-s5m.c 	ret = regmap_bulk_read(info->regmap, info->regs->time, data,
regs              389 drivers/rtc/rtc-s5m.c 			info->regs->regs_count);
regs              439 drivers/rtc/rtc-s5m.c 	ret = regmap_raw_write(info->regmap, info->regs->time, data,
regs              440 drivers/rtc/rtc-s5m.c 			info->regs->regs_count);
regs              456 drivers/rtc/rtc-s5m.c 	ret = regmap_bulk_read(info->regmap, info->regs->alarm0, data,
regs              457 drivers/rtc/rtc-s5m.c 			info->regs->regs_count);
regs              477 drivers/rtc/rtc-s5m.c 		for (i = 0; i < info->regs->regs_count; i++) {
regs              502 drivers/rtc/rtc-s5m.c 	ret = regmap_bulk_read(info->regmap, info->regs->alarm0, data,
regs              503 drivers/rtc/rtc-s5m.c 			info->regs->regs_count);
regs              519 drivers/rtc/rtc-s5m.c 		for (i = 0; i < info->regs->regs_count; i++)
regs              522 drivers/rtc/rtc-s5m.c 		ret = regmap_raw_write(info->regmap, info->regs->alarm0, data,
regs              523 drivers/rtc/rtc-s5m.c 				info->regs->regs_count);
regs              545 drivers/rtc/rtc-s5m.c 	ret = regmap_bulk_read(info->regmap, info->regs->alarm0, data,
regs              546 drivers/rtc/rtc-s5m.c 			info->regs->regs_count);
regs              574 drivers/rtc/rtc-s5m.c 		ret = regmap_raw_write(info->regmap, info->regs->alarm0, data,
regs              575 drivers/rtc/rtc-s5m.c 				info->regs->regs_count);
regs              617 drivers/rtc/rtc-s5m.c 	ret = regmap_raw_write(info->regmap, info->regs->alarm0, data,
regs              618 drivers/rtc/rtc-s5m.c 			info->regs->regs_count);
regs              686 drivers/rtc/rtc-s5m.c 		ret = regmap_write(info->regmap, info->regs->ctrl, data[0]);
regs              733 drivers/rtc/rtc-s5m.c 		info->regs = &s2mps15_rtc_regs;
regs              738 drivers/rtc/rtc-s5m.c 		info->regs = &s2mps14_rtc_regs;
regs              743 drivers/rtc/rtc-s5m.c 		info->regs = &s2mps13_rtc_regs;
regs              748 drivers/rtc/rtc-s5m.c 		info->regs = &s5m_rtc_regs;
regs              753 drivers/rtc/rtc-s5m.c 		info->regs = &s5m_rtc_regs;
regs              112 drivers/rtc/rtc-stm32.c 	const struct stm32_rtc_registers regs;
regs              135 drivers/rtc/rtc-stm32.c 	const struct stm32_rtc_registers *regs = &rtc->data->regs;
regs              137 drivers/rtc/rtc-stm32.c 	writel_relaxed(RTC_WPR_1ST_KEY, rtc->base + regs->wpr);
regs              138 drivers/rtc/rtc-stm32.c 	writel_relaxed(RTC_WPR_2ND_KEY, rtc->base + regs->wpr);
regs              143 drivers/rtc/rtc-stm32.c 	const struct stm32_rtc_registers *regs = &rtc->data->regs;
regs              145 drivers/rtc/rtc-stm32.c 	writel_relaxed(RTC_WPR_WRONG_KEY, rtc->base + regs->wpr);
regs              150 drivers/rtc/rtc-stm32.c 	const struct stm32_rtc_registers *regs = &rtc->data->regs;
regs              151 drivers/rtc/rtc-stm32.c 	unsigned int isr = readl_relaxed(rtc->base + regs->isr);
regs              155 drivers/rtc/rtc-stm32.c 		writel_relaxed(isr, rtc->base + regs->isr);
regs              164 drivers/rtc/rtc-stm32.c 					rtc->base + regs->isr,
regs              174 drivers/rtc/rtc-stm32.c 	const struct stm32_rtc_registers *regs = &rtc->data->regs;
regs              175 drivers/rtc/rtc-stm32.c 	unsigned int isr = readl_relaxed(rtc->base + regs->isr);
regs              178 drivers/rtc/rtc-stm32.c 	writel_relaxed(isr, rtc->base + regs->isr);
regs              183 drivers/rtc/rtc-stm32.c 	const struct stm32_rtc_registers *regs = &rtc->data->regs;
regs              184 drivers/rtc/rtc-stm32.c 	unsigned int isr = readl_relaxed(rtc->base + regs->isr);
regs              187 drivers/rtc/rtc-stm32.c 	writel_relaxed(isr, rtc->base + regs->isr);
regs              193 drivers/rtc/rtc-stm32.c 	return readl_relaxed_poll_timeout_atomic(rtc->base + regs->isr,
regs              208 drivers/rtc/rtc-stm32.c 	const struct stm32_rtc_registers *regs = &rtc->data->regs;
regs              214 drivers/rtc/rtc-stm32.c 	status = readl_relaxed(rtc->base + regs->sr);
regs              215 drivers/rtc/rtc-stm32.c 	cr = readl_relaxed(rtc->base + regs->cr);
regs              273 drivers/rtc/rtc-stm32.c 	const struct stm32_rtc_registers *regs = &rtc->data->regs;
regs              277 drivers/rtc/rtc-stm32.c 	tr = readl_relaxed(rtc->base + regs->tr);
regs              278 drivers/rtc/rtc-stm32.c 	dr = readl_relaxed(rtc->base + regs->dr);
regs              299 drivers/rtc/rtc-stm32.c 	const struct stm32_rtc_registers *regs = &rtc->data->regs;
regs              324 drivers/rtc/rtc-stm32.c 	writel_relaxed(tr, rtc->base + regs->tr);
regs              325 drivers/rtc/rtc-stm32.c 	writel_relaxed(dr, rtc->base + regs->dr);
regs              339 drivers/rtc/rtc-stm32.c 	const struct stm32_rtc_registers *regs = &rtc->data->regs;
regs              344 drivers/rtc/rtc-stm32.c 	alrmar = readl_relaxed(rtc->base + regs->alrmar);
regs              345 drivers/rtc/rtc-stm32.c 	cr = readl_relaxed(rtc->base + regs->cr);
regs              346 drivers/rtc/rtc-stm32.c 	status = readl_relaxed(rtc->base + regs->sr);
regs              407 drivers/rtc/rtc-stm32.c 	const struct stm32_rtc_registers *regs = &rtc->data->regs;
regs              411 drivers/rtc/rtc-stm32.c 	cr = readl_relaxed(rtc->base + regs->cr);
regs              420 drivers/rtc/rtc-stm32.c 	writel_relaxed(cr, rtc->base + regs->cr);
regs              432 drivers/rtc/rtc-stm32.c 	const struct stm32_rtc_registers *regs = &rtc->data->regs;
regs              434 drivers/rtc/rtc-stm32.c 	unsigned int dr = readl_relaxed(rtc->base + regs->dr);
regs              435 drivers/rtc/rtc-stm32.c 	unsigned int tr = readl_relaxed(rtc->base + regs->tr);
regs              469 drivers/rtc/rtc-stm32.c 	const struct stm32_rtc_registers *regs = &rtc->data->regs;
regs              501 drivers/rtc/rtc-stm32.c 	cr = readl_relaxed(rtc->base + regs->cr);
regs              503 drivers/rtc/rtc-stm32.c 	writel_relaxed(cr, rtc->base + regs->cr);
regs              509 drivers/rtc/rtc-stm32.c 	ret = readl_relaxed_poll_timeout_atomic(rtc->base + regs->isr,
regs              520 drivers/rtc/rtc-stm32.c 	writel_relaxed(alrmar, rtc->base + regs->alrmar);
regs              540 drivers/rtc/rtc-stm32.c 	const struct stm32_rtc_registers *regs = &rtc->data->regs;
regs              543 drivers/rtc/rtc-stm32.c 	writel_relaxed(readl_relaxed(rtc->base + regs->isr) & ~flags,
regs              544 drivers/rtc/rtc-stm32.c 		       rtc->base + regs->isr);
regs              551 drivers/rtc/rtc-stm32.c 	.regs = {
regs              573 drivers/rtc/rtc-stm32.c 	.regs = {
regs              594 drivers/rtc/rtc-stm32.c 	struct stm32_rtc_registers regs = rtc->data->regs;
regs              597 drivers/rtc/rtc-stm32.c 	writel_relaxed(flags, rtc->base + regs.scr);
regs              604 drivers/rtc/rtc-stm32.c 	.regs = {
regs              633 drivers/rtc/rtc-stm32.c 	const struct stm32_rtc_registers *regs = &rtc->data->regs;
regs              674 drivers/rtc/rtc-stm32.c 	writel_relaxed(prer, rtc->base + regs->prer);
regs              676 drivers/rtc/rtc-stm32.c 	writel_relaxed(prer, rtc->base + regs->prer);
regs              679 drivers/rtc/rtc-stm32.c 	cr = readl_relaxed(rtc->base + regs->cr);
regs              681 drivers/rtc/rtc-stm32.c 	writel_relaxed(cr, rtc->base + regs->cr);
regs              695 drivers/rtc/rtc-stm32.c 	const struct stm32_rtc_registers *regs;
regs              710 drivers/rtc/rtc-stm32.c 	regs = &rtc->data->regs;
regs              823 drivers/rtc/rtc-stm32.c 	if (!(readl_relaxed(rtc->base + regs->isr) & STM32_RTC_ISR_INITS))
regs              826 drivers/rtc/rtc-stm32.c 	if (regs->verr != UNDEF_REG) {
regs              827 drivers/rtc/rtc-stm32.c 		u32 ver = readl_relaxed(rtc->base + regs->verr);
regs              852 drivers/rtc/rtc-stm32.c 	const struct stm32_rtc_registers *regs = &rtc->data->regs;
regs              857 drivers/rtc/rtc-stm32.c 	cr = readl_relaxed(rtc->base + regs->cr);
regs              859 drivers/rtc/rtc-stm32.c 	writel_relaxed(cr, rtc->base + regs->cr);
regs              288 drivers/s390/crypto/vfio_ap_ops.c 	apqn = vcpu->run->s.regs.gprs[0] & 0xffff;
regs              300 drivers/s390/crypto/vfio_ap_ops.c 	status = vcpu->run->s.regs.gprs[1];
regs              305 drivers/s390/crypto/vfio_ap_ops.c 					     vcpu->run->s.regs.gprs[2]);
regs              310 drivers/s390/crypto/vfio_ap_ops.c 	memcpy(&vcpu->run->s.regs.gprs[1], &qstatus, sizeof(qstatus));
regs              311 drivers/s390/crypto/vfio_ap_ops.c 	vcpu->run->s.regs.gprs[1] >>= 32;
regs               56 drivers/sbus/char/display7seg.c 	void __iomem	*regs;
regs               92 drivers/sbus/char/display7seg.c 		regval = readb(p->regs);
regs               97 drivers/sbus/char/display7seg.c 		writeb(regval, p->regs);
regs              106 drivers/sbus/char/display7seg.c 	u8 regs = readb(p->regs);
regs              124 drivers/sbus/char/display7seg.c 			if (regs & D7S_FLIP)
regs              129 drivers/sbus/char/display7seg.c 		writeb(ireg, p->regs);
regs              139 drivers/sbus/char/display7seg.c 		if (put_user(regs, (int __user *) arg)) {
regs              147 drivers/sbus/char/display7seg.c 		regs ^= D7S_FLIP;
regs              148 drivers/sbus/char/display7seg.c 		writeb(regs, p->regs);
regs              176 drivers/sbus/char/display7seg.c 	u8 regs;
regs              186 drivers/sbus/char/display7seg.c 	p->regs = of_ioremap(&op->resource[0], 0, sizeof(u8), "d7s");
regs              187 drivers/sbus/char/display7seg.c 	if (!p->regs) {
regs              202 drivers/sbus/char/display7seg.c 	regs = readb(p->regs);
regs              209 drivers/sbus/char/display7seg.c 		regs |= D7S_FLIP;
regs              211 drivers/sbus/char/display7seg.c 		regs &= ~D7S_FLIP;
regs              213 drivers/sbus/char/display7seg.c 	writeb(regs,  p->regs);
regs              217 drivers/sbus/char/display7seg.c 	       (regs & D7S_FLIP) ? " (FLIPPED)" : "",
regs              230 drivers/sbus/char/display7seg.c 	of_iounmap(&op->resource[0], p->regs, sizeof(u8));
regs              239 drivers/sbus/char/display7seg.c 	u8 regs = readb(p->regs);
regs              244 drivers/sbus/char/display7seg.c 			regs |= D7S_FLIP;
regs              246 drivers/sbus/char/display7seg.c 			regs &= ~D7S_FLIP;
regs              247 drivers/sbus/char/display7seg.c 		writeb(regs, p->regs);
regs              251 drivers/sbus/char/display7seg.c 	of_iounmap(&op->resource[0], p->regs, sizeof(u8));
regs              191 drivers/sbus/char/uctrl.c 	struct uctrl_regs __iomem *regs;
regs              243 drivers/sbus/char/uctrl.c       if (UCTRL_STAT_TXNF_STA & sbus_readl(&driver->regs->uctrl_stat)) \
regs              247 drivers/sbus/char/uctrl.c   sbus_writel(value, &driver->regs->uctrl_data); \
regs              256 drivers/sbus/char/uctrl.c       if ((UCTRL_STAT_RXNE_STA & sbus_readl(&driver->regs->uctrl_stat)) == 0) \
regs              260 drivers/sbus/char/uctrl.c   value = sbus_readl(&driver->regs->uctrl_data); \
regs              262 drivers/sbus/char/uctrl.c   sbus_writel(UCTRL_STAT_RXNE_STA, &driver->regs->uctrl_stat); \
regs              270 drivers/sbus/char/uctrl.c 	stat = sbus_readl(&driver->regs->uctrl_stat);
regs              271 drivers/sbus/char/uctrl.c 	intr = sbus_readl(&driver->regs->uctrl_intr);
regs              272 drivers/sbus/char/uctrl.c 	sbus_writel(stat, &driver->regs->uctrl_stat);
regs              361 drivers/sbus/char/uctrl.c 	p->regs = of_ioremap(&op->resource[0], 0,
regs              364 drivers/sbus/char/uctrl.c 	if (!p->regs) {
regs              382 drivers/sbus/char/uctrl.c 	sbus_writel(UCTRL_INTR_RXNE_REQ|UCTRL_INTR_RXNE_MSK, &p->regs->uctrl_intr);
regs              384 drivers/sbus/char/uctrl.c 	       op->dev.of_node, p->regs, p->irq);
regs              398 drivers/sbus/char/uctrl.c 	of_iounmap(&op->resource[0], p->regs, resource_size(&op->resource[0]));
regs              412 drivers/sbus/char/uctrl.c 		of_iounmap(&op->resource[0], p->regs, resource_size(&op->resource[0]));
regs               23 drivers/scsi/a2091.c 	struct a2091_scsiregs *regs;
regs               30 drivers/scsi/a2091.c 	unsigned int status = hdata->regs->ISTR;
regs               47 drivers/scsi/a2091.c 	struct a2091_scsiregs *regs = hdata->regs;
regs               89 drivers/scsi/a2091.c 	regs->CNTR = cntr;
regs               92 drivers/scsi/a2091.c 	regs->ACR = addr;
regs              102 drivers/scsi/a2091.c 	regs->ST_DMA = 1;
regs              113 drivers/scsi/a2091.c 	struct a2091_scsiregs *regs = hdata->regs;
regs              122 drivers/scsi/a2091.c 	regs->CNTR = cntr;
regs              126 drivers/scsi/a2091.c 		regs->FLUSH = 1;
regs              127 drivers/scsi/a2091.c 		while (!(regs->ISTR & ISTR_FE_FLG))
regs              132 drivers/scsi/a2091.c 	regs->CINT = 1;
regs              135 drivers/scsi/a2091.c 	regs->SP_DMA = 1;
regs              138 drivers/scsi/a2091.c 	regs->CNTR = CNTR_PDMD | CNTR_INTEN;
regs              171 drivers/scsi/a2091.c 	struct a2091_scsiregs *regs;
regs              188 drivers/scsi/a2091.c 	regs = ZTWO_VADDR(z->resource.start);
regs              189 drivers/scsi/a2091.c 	regs->DAWR = DAWR_A2091;
regs              191 drivers/scsi/a2091.c 	wdregs.SASR = &regs->SASR;
regs              192 drivers/scsi/a2091.c 	wdregs.SCMD = &regs->SCMD;
regs              198 drivers/scsi/a2091.c 	hdata->regs = regs;
regs              206 drivers/scsi/a2091.c 	regs->CNTR = CNTR_PDMD | CNTR_INTEN;
regs              231 drivers/scsi/a2091.c 	hdata->regs->CNTR = 0;
regs               24 drivers/scsi/a3000.c 	struct a3000_scsiregs *regs;
regs               31 drivers/scsi/a3000.c 	unsigned int status = hdata->regs->ISTR;
regs               51 drivers/scsi/a3000.c 	struct a3000_scsiregs *regs = hdata->regs;
regs               88 drivers/scsi/a3000.c 	regs->CNTR = cntr;
regs               91 drivers/scsi/a3000.c 	regs->ACR = addr;
regs              103 drivers/scsi/a3000.c 	regs->ST_DMA = 1;
regs              115 drivers/scsi/a3000.c 	struct a3000_scsiregs *regs = hdata->regs;
regs              123 drivers/scsi/a3000.c 	regs->CNTR = cntr;
regs              128 drivers/scsi/a3000.c 		regs->FLUSH = 1;
regs              130 drivers/scsi/a3000.c 		while (!(regs->ISTR & ISTR_FE_FLG))
regs              139 drivers/scsi/a3000.c 	regs->CINT = 1;
regs              142 drivers/scsi/a3000.c 	regs->SP_DMA = 1;
regs              146 drivers/scsi/a3000.c 	regs->CNTR = CNTR_PDMD | CNTR_INTEN;
regs              186 drivers/scsi/a3000.c 	struct a3000_scsiregs *regs;
regs              206 drivers/scsi/a3000.c 	regs = ZTWO_VADDR(res->start);
regs              207 drivers/scsi/a3000.c 	regs->DAWR = DAWR_A3000;
regs              209 drivers/scsi/a3000.c 	wdregs.SASR = &regs->SASR;
regs              210 drivers/scsi/a3000.c 	wdregs.SCMD = &regs->SCMD;
regs              216 drivers/scsi/a3000.c 	hdata->regs = regs;
regs              224 drivers/scsi/a3000.c 	regs->CNTR = CNTR_PDMD | CNTR_INTEN;
regs              250 drivers/scsi/a3000.c 	hdata->regs->CNTR = 0;
regs             1080 drivers/scsi/aacraid/aacraid.h #define sa_readw(AEP, CSR)		readl(&((AEP)->regs.sa->CSR))
regs             1081 drivers/scsi/aacraid/aacraid.h #define sa_readl(AEP, CSR)		readl(&((AEP)->regs.sa->CSR))
regs             1082 drivers/scsi/aacraid/aacraid.h #define sa_writew(AEP, CSR, value)	writew(value, &((AEP)->regs.sa->CSR))
regs             1083 drivers/scsi/aacraid/aacraid.h #define sa_writel(AEP, CSR, value)	writel(value, &((AEP)->regs.sa->CSR))
regs             1142 drivers/scsi/aacraid/aacraid.h #define rx_readb(AEP, CSR)		readb(&((AEP)->regs.rx->CSR))
regs             1143 drivers/scsi/aacraid/aacraid.h #define rx_readl(AEP, CSR)		readl(&((AEP)->regs.rx->CSR))
regs             1144 drivers/scsi/aacraid/aacraid.h #define rx_writeb(AEP, CSR, value)	writeb(value, &((AEP)->regs.rx->CSR))
regs             1145 drivers/scsi/aacraid/aacraid.h #define rx_writel(AEP, CSR, value)	writel(value, &((AEP)->regs.rx->CSR))
regs             1160 drivers/scsi/aacraid/aacraid.h #define rkt_readb(AEP, CSR)		readb(&((AEP)->regs.rkt->CSR))
regs             1161 drivers/scsi/aacraid/aacraid.h #define rkt_readl(AEP, CSR)		readl(&((AEP)->regs.rkt->CSR))
regs             1162 drivers/scsi/aacraid/aacraid.h #define rkt_writeb(AEP, CSR, value)	writeb(value, &((AEP)->regs.rkt->CSR))
regs             1163 drivers/scsi/aacraid/aacraid.h #define rkt_writel(AEP, CSR, value)	writel(value, &((AEP)->regs.rkt->CSR))
regs             1208 drivers/scsi/aacraid/aacraid.h #define src_readb(AEP, CSR)		readb(&((AEP)->regs.src.bar0->CSR))
regs             1209 drivers/scsi/aacraid/aacraid.h #define src_readl(AEP, CSR)		readl(&((AEP)->regs.src.bar0->CSR))
regs             1211 drivers/scsi/aacraid/aacraid.h 						&((AEP)->regs.src.bar0->CSR))
regs             1213 drivers/scsi/aacraid/aacraid.h 						&((AEP)->regs.src.bar0->CSR))
regs             1216 drivers/scsi/aacraid/aacraid.h 						&((AEP)->regs.src.bar0->CSR))
regs             1630 drivers/scsi/aacraid/aacraid.h 	} regs;
regs              299 drivers/scsi/aacraid/dpcsup.c 				(((uintptr_t)(dev->regs.sa)) + index),
regs               33 drivers/scsi/aacraid/nark.c 		iounmap(dev->regs.rx);
regs               34 drivers/scsi/aacraid/nark.c 		dev->regs.rx = NULL;
regs               40 drivers/scsi/aacraid/nark.c 	dev->regs.rx = ioremap((u64)pci_resource_start(dev->pdev, 0) |
regs               44 drivers/scsi/aacraid/nark.c 	if (dev->regs.rx == NULL)
regs               48 drivers/scsi/aacraid/nark.c 		iounmap(dev->regs.rx);
regs               49 drivers/scsi/aacraid/nark.c 		dev->regs.rx = NULL;
regs               66 drivers/scsi/aacraid/rkt.c 		iounmap(dev->regs.rkt);
regs               69 drivers/scsi/aacraid/rkt.c 	dev->base = dev->regs.rkt = ioremap(dev->base_start, size);
regs               72 drivers/scsi/aacraid/rkt.c 	dev->IndexRegs = &dev->regs.rkt->IndexRegs;
regs              452 drivers/scsi/aacraid/rx.c 		iounmap(dev->regs.rx);
regs              455 drivers/scsi/aacraid/rx.c 	dev->base = dev->regs.rx = ioremap(dev->base_start, size);
regs              458 drivers/scsi/aacraid/rx.c 	dev->IndexRegs = &dev->regs.rx->IndexRegs;
regs              292 drivers/scsi/aacraid/sa.c 		iounmap(dev->regs.sa);
regs              295 drivers/scsi/aacraid/sa.c 	dev->base = dev->regs.sa = ioremap(dev->base_start, size);
regs              611 drivers/scsi/aacraid/src.c 		iounmap(dev->regs.src.bar1);
regs              612 drivers/scsi/aacraid/src.c 		dev->regs.src.bar1 = NULL;
regs              613 drivers/scsi/aacraid/src.c 		iounmap(dev->regs.src.bar0);
regs              614 drivers/scsi/aacraid/src.c 		dev->base = dev->regs.src.bar0 = NULL;
regs              617 drivers/scsi/aacraid/src.c 	dev->regs.src.bar1 = ioremap(pci_resource_start(dev->pdev, 2),
regs              620 drivers/scsi/aacraid/src.c 	if (dev->regs.src.bar1 == NULL)
regs              622 drivers/scsi/aacraid/src.c 	dev->base = dev->regs.src.bar0 = ioremap(dev->base_start, size);
regs              624 drivers/scsi/aacraid/src.c 		iounmap(dev->regs.src.bar1);
regs              625 drivers/scsi/aacraid/src.c 		dev->regs.src.bar1 = NULL;
regs              641 drivers/scsi/aacraid/src.c 		iounmap(dev->regs.src.bar0);
regs              642 drivers/scsi/aacraid/src.c 		dev->base = dev->regs.src.bar0 = NULL;
regs              646 drivers/scsi/aacraid/src.c 	dev->regs.src.bar1 =
regs              649 drivers/scsi/aacraid/src.c 	if (dev->regs.src.bar1 == NULL)
regs              651 drivers/scsi/aacraid/src.c 	dev->base = dev->regs.src.bar0 = ioremap(dev->base_start, size);
regs              653 drivers/scsi/aacraid/src.c 		iounmap(dev->regs.src.bar1);
regs              654 drivers/scsi/aacraid/src.c 		dev->regs.src.bar1 = NULL;
regs              986 drivers/scsi/aacraid/src.c 	dev->dbg_base_mapped = dev->regs.src.bar1;
regs             1296 drivers/scsi/aacraid/src.c 	dev->dbg_base_mapped = dev->regs.src.bar1;
regs              105 drivers/scsi/am53c974.c 	iowrite8(val, esp->regs + (reg * 4UL));
regs              110 drivers/scsi/am53c974.c 	return ioread8(esp->regs + (reg * 4UL));
regs              115 drivers/scsi/am53c974.c 	return iowrite32(val, esp->regs + (reg * 4UL));
regs              431 drivers/scsi/am53c974.c 	esp->regs = pci_iomap(pdev, 0, pci_resource_len(pdev, 0));
regs              432 drivers/scsi/am53c974.c 	if (!esp->regs) {
regs              437 drivers/scsi/am53c974.c 	esp->dma_regs = esp->regs;
regs              485 drivers/scsi/am53c974.c 	pci_iounmap(pdev, esp->regs);
regs              508 drivers/scsi/am53c974.c 	pci_iounmap(pdev, esp->regs);
regs             1236 drivers/scsi/cxlflash/main.c 	port_sel = readq_be(&afu->afu_map->global.regs.afu_port_sel);
regs             1238 drivers/scsi/cxlflash/main.c 	writeq_be(port_sel, &afu->afu_map->global.regs.afu_port_sel);
regs             1255 drivers/scsi/cxlflash/main.c 	writeq_be(port_sel, &afu->afu_map->global.regs.afu_port_sel);
regs             1281 drivers/scsi/cxlflash/main.c 	writeq_be(-1ULL, &afu->afu_map->global.regs.aintr_mask);
regs             1287 drivers/scsi/cxlflash/main.c 	writeq_be(reg, &afu->afu_map->global.regs.afu_ctrl);
regs             1289 drivers/scsi/cxlflash/main.c 	writeq_be(-1ULL, &afu->afu_map->global.regs.aintr_clear);
regs             1292 drivers/scsi/cxlflash/main.c 	writeq_be(SISL_ASTATUS_MASK, &afu->afu_map->global.regs.aintr_mask);
regs             1295 drivers/scsi/cxlflash/main.c 	writeq_be(-1ULL, &afu->afu_map->global.regs.aintr_clear);
regs             1557 drivers/scsi/cxlflash/main.c 	reg = readq_be(&global->regs.aintr_status);
regs             1567 drivers/scsi/cxlflash/main.c 	writeq_be(reg_unmasked, &global->regs.aintr_clear);
regs             1806 drivers/scsi/cxlflash/main.c 	reg = readq_be(&afu->afu_map->global.regs.afu_config);
regs             1812 drivers/scsi/cxlflash/main.c 	writeq_be(reg, &afu->afu_map->global.regs.afu_config);
regs             1817 drivers/scsi/cxlflash/main.c 		writeq_be(PORT0, &afu->afu_map->global.regs.afu_port_sel);
regs             1821 drivers/scsi/cxlflash/main.c 			  &afu->afu_map->global.regs.afu_port_sel);
regs             1887 drivers/scsi/cxlflash/main.c 	afu->hb = readq_be(&afu->afu_map->global.regs.afu_hb);
regs             2099 drivers/scsi/cxlflash/main.c 	port_mask = readq_be(&afu->afu_map->global.regs.afu_port_sel);
regs             2151 drivers/scsi/cxlflash/main.c 	reg = readq(&afu->afu_map->global.regs.afu_version);
regs             2154 drivers/scsi/cxlflash/main.c 	    readq_be(&afu->afu_map->global.regs.interface_version);
regs              444 drivers/scsi/cxlflash/sislite.h 		struct sisl_global_regs regs;
regs              142 drivers/scsi/esas2r/esas2r.h 	readl((void __iomem *)a->regs + (reg) + MW_REG_OFFSET_HWREG)
regs              145 drivers/scsi/esas2r/esas2r.h 	writel(data, (void __iomem *)(a->regs + (reg) + MW_REG_OFFSET_HWREG))
regs              800 drivers/scsi/esas2r/esas2r.h 	unsigned char *regs;
regs              135 drivers/scsi/esas2r/esas2r_init.c 	if (a->regs)
regs              136 drivers/scsi/esas2r/esas2r_init.c 		iounmap((void __iomem *)a->regs);
regs              138 drivers/scsi/esas2r/esas2r_init.c 	a->regs = NULL;
regs              154 drivers/scsi/esas2r/esas2r_init.c 	a->regs = NULL;
regs              166 drivers/scsi/esas2r/esas2r_init.c 	a->regs = (void __force *)ioremap(pci_resource_start(a->pcid, 2),
regs              168 drivers/scsi/esas2r/esas2r_init.c 	if (a->regs == NULL) {
regs              533 drivers/scsi/esas2r/esas2r_init.c 	if (a->regs) {
regs              535 drivers/scsi/esas2r/esas2r_init.c 		a->regs = NULL;
regs             2405 drivers/scsi/esp_scsi.c 		   esp->host->unique_id, esp->regs, esp->dma_regs,
regs              417 drivers/scsi/esp_scsi.h 	void __iomem		*regs;
regs               25 drivers/scsi/gvp11.c 	struct gvp11_scsiregs *regs;
regs               32 drivers/scsi/gvp11.c 	unsigned int status = hdata->regs->CNTR;
regs               56 drivers/scsi/gvp11.c 	struct gvp11_scsiregs *regs = hdata->regs;
regs              123 drivers/scsi/gvp11.c 	regs->CNTR = cntr;
regs              126 drivers/scsi/gvp11.c 	regs->ACR = addr;
regs              138 drivers/scsi/gvp11.c 		regs->BANK = bank_mask & (addr >> 18);
regs              141 drivers/scsi/gvp11.c 	regs->ST_DMA = 1;
regs              152 drivers/scsi/gvp11.c 	struct gvp11_scsiregs *regs = hdata->regs;
regs              155 drivers/scsi/gvp11.c 	regs->SP_DMA = 1;
regs              157 drivers/scsi/gvp11.c 	regs->CNTR = GVP11_DMAC_INT_ENABLE;
regs              191 drivers/scsi/gvp11.c static int check_wd33c93(struct gvp11_scsiregs *regs)
regs              209 drivers/scsi/gvp11.c 	sasr_3393 = &regs->SASR;
regs              210 drivers/scsi/gvp11.c 	scmd_3393 = &regs->SCMD;
regs              279 drivers/scsi/gvp11.c 	struct gvp11_scsiregs *regs;
regs              296 drivers/scsi/gvp11.c 	regs = ZTWO_VADDR(address);
regs              298 drivers/scsi/gvp11.c 	error = check_wd33c93(regs);
regs              312 drivers/scsi/gvp11.c 	regs->secret2 = 1;
regs              313 drivers/scsi/gvp11.c 	regs->secret1 = 0;
regs              314 drivers/scsi/gvp11.c 	regs->secret3 = 15;
regs              315 drivers/scsi/gvp11.c 	while (regs->CNTR & GVP11_DMAC_BUSY)
regs              317 drivers/scsi/gvp11.c 	regs->CNTR = 0;
regs              318 drivers/scsi/gvp11.c 	regs->BANK = 0;
regs              320 drivers/scsi/gvp11.c 	wdregs.SASR = &regs->SASR;
regs              321 drivers/scsi/gvp11.c 	wdregs.SCMD = &regs->SCMD;
regs              332 drivers/scsi/gvp11.c 	hdata->regs = regs;
regs              347 drivers/scsi/gvp11.c 	regs->CNTR = GVP11_DMAC_INT_ENABLE;
regs              371 drivers/scsi/gvp11.c 	hdata->regs->CNTR = 0;
regs              334 drivers/scsi/hisi_sas/hisi_sas.h 	void __iomem *regs;
regs             2587 drivers/scsi/hisi_sas/hisi_sas_main.c 	hisi_hba->regs = devm_platform_ioremap_resource(pdev, 0);
regs             2588 drivers/scsi/hisi_sas/hisi_sas_main.c 	if (IS_ERR(hisi_hba->regs))
regs              414 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 	void __iomem *regs = hisi_hba->regs + off;
regs              416 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 	return readl(regs);
regs              422 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 	void __iomem *regs = hisi_hba->regs + off;
regs              424 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 	writel(val, regs);
regs              430 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 	void __iomem *regs = hisi_hba->regs + (0x400 * phy_no) + off;
regs              432 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 	writel(val, regs);
regs              438 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 	void __iomem *regs = hisi_hba->regs + (0x400 * phy_no) + off;
regs              440 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 	return readl(regs);
regs              731 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 	void __iomem *regs = hisi_hba->regs + off;
regs              733 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 	return readl(regs);
regs              738 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 	void __iomem *regs = hisi_hba->regs + off;
regs              740 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 	return readl_relaxed(regs);
regs              745 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 	void __iomem *regs = hisi_hba->regs + off;
regs              747 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 	writel(val, regs);
regs              753 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 	void __iomem *regs = hisi_hba->regs + (0x400 * phy_no) + off;
regs              755 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 	writel(val, regs);
regs              761 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 	void __iomem *regs = hisi_hba->regs + (0x400 * phy_no) + off;
regs              763 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 	return readl(regs);
regs              517 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	void __iomem *regs = hisi_hba->regs + off;
regs              519 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	return readl(regs);
regs              524 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	void __iomem *regs = hisi_hba->regs + off;
regs              526 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	writel(val, regs);
regs              532 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	void __iomem *regs = hisi_hba->regs + (0x400 * phy_no) + off;
regs              534 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	writel(val, regs);
regs              540 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	void __iomem *regs = hisi_hba->regs + (0x400 * phy_no) + off;
regs              542 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	return readl(regs);
regs              548 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	void __iomem *regs = hisi_hba->regs + off;			\
regs              549 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	readl_poll_timeout(regs, val, cond, delay_us, timeout_us);	\
regs              555 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	void __iomem *regs = hisi_hba->regs + off;			\
regs              556 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	readl_poll_timeout_atomic(regs, val, cond, delay_us, timeout_us);\
regs             3191 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	hisi_hba->regs = pcim_iomap(pdev, 5, 0);
regs             3192 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	if (!hisi_hba->regs) {
regs              172 drivers/scsi/hptiop.c 			&hba->u.mv.regs->inbound_doorbell);
regs              208 drivers/scsi/hptiop.c 	status = readl(&hba->u.mv.regs->outbound_doorbell);
regs              209 drivers/scsi/hptiop.c 	writel(~status, &hba->u.mv.regs->outbound_doorbell);
regs              369 drivers/scsi/hptiop.c 	writel(MVIOP_MU_INBOUND_INT_MSG, &hba->u.mv.regs->inbound_doorbell);
regs              370 drivers/scsi/hptiop.c 	readl(&hba->u.mv.regs->inbound_doorbell);
regs              558 drivers/scsi/hptiop.c 		&hba->u.mv.regs->outbound_intmask);
regs              637 drivers/scsi/hptiop.c 	hba->u.mv.regs = hptiop_map_pci_bar(hba, 0);
regs              638 drivers/scsi/hptiop.c 	if (hba->u.mv.regs == NULL)
regs              643 drivers/scsi/hptiop.c 		iounmap(hba->u.mv.regs);
regs              667 drivers/scsi/hptiop.c 	iounmap(hba->u.mv.regs);
regs             1536 drivers/scsi/hptiop.c 	writel(0, &hba->u.mv.regs->outbound_intmask);
regs             1537 drivers/scsi/hptiop.c 	readl(&hba->u.mv.regs->outbound_intmask);
regs              277 drivers/scsi/hptiop.h 			struct hpt_iopmv_regs *regs;
regs              599 drivers/scsi/ipr.c 		trace_entry->ata_op_code = ipr_cmd->i.ata_ioadl.regs.command;
regs              601 drivers/scsi/ipr.c 		trace_entry->ata_op_code = ipr_cmd->ioarcb.u.add_data.u.regs.command;
regs              752 drivers/scsi/ipr.c 		writeq(~0, ioa_cfg->regs.set_interrupt_mask_reg);
regs              754 drivers/scsi/ipr.c 		writel(~0, ioa_cfg->regs.set_interrupt_mask_reg);
regs              758 drivers/scsi/ipr.c 		writel(~0, ioa_cfg->regs.clr_interrupt_reg);
regs              759 drivers/scsi/ipr.c 	writel(clr_ints, ioa_cfg->regs.clr_interrupt_reg32);
regs              760 drivers/scsi/ipr.c 	int_reg = readl(ioa_cfg->regs.sense_interrupt_reg);
regs              960 drivers/scsi/ipr.c 		writeq(send_dma_addr, ioa_cfg->regs.ioarrin_reg);
regs              962 drivers/scsi/ipr.c 		writel(send_dma_addr, ioa_cfg->regs.ioarrin_reg);
regs             2822 drivers/scsi/ipr.c 		pcii_reg = readl(ioa_cfg->regs.sense_interrupt_reg);
regs             2855 drivers/scsi/ipr.c 		writel(start_addr+(i*4), ioa_cfg->regs.dump_addr_reg);
regs             2856 drivers/scsi/ipr.c 		*dest = cpu_to_be32(readl(ioa_cfg->regs.dump_data_reg));
regs             2886 drivers/scsi/ipr.c 	       ioa_cfg->regs.set_uproc_interrupt_reg32);
regs             2898 drivers/scsi/ipr.c 	       ioa_cfg->regs.clr_interrupt_reg);
regs             2905 drivers/scsi/ipr.c 	       ioa_cfg->regs.clr_uproc_interrupt_reg32);
regs             2924 drivers/scsi/ipr.c 			       ioa_cfg->regs.clr_interrupt_reg);
regs             2930 drivers/scsi/ipr.c 	       ioa_cfg->regs.set_uproc_interrupt_reg32);
regs             2933 drivers/scsi/ipr.c 	       ioa_cfg->regs.clr_uproc_interrupt_reg32);
regs             2937 drivers/scsi/ipr.c 	       ioa_cfg->regs.clr_interrupt_reg);
regs             2942 drivers/scsi/ipr.c 		    readl(ioa_cfg->regs.sense_uproc_interrupt_reg32);
regs             5221 drivers/scsi/ipr.c 	struct ipr_ioarcb_ata_regs *regs;
regs             5230 drivers/scsi/ipr.c 		regs = &ipr_cmd->i.ata_ioadl.regs;
regs             5233 drivers/scsi/ipr.c 		regs = &ioarcb->u.add_data.u.regs;
regs             5240 drivers/scsi/ipr.c 		ioarcb->add_cmd_parms_len = cpu_to_be16(sizeof(regs->flags));
regs             5241 drivers/scsi/ipr.c 		regs->flags |= IPR_ATA_FLAG_STATUS_ON_GOOD_COMPLETION;
regs             5520 drivers/scsi/ipr.c 	int_reg = readl(ioa_cfg->regs.sense_interrupt_reg);
regs             5633 drivers/scsi/ipr.c 	int_mask_reg = readl(ioa_cfg->regs.sense_interrupt_mask_reg32);
regs             5641 drivers/scsi/ipr.c 			int_mask_reg = readl(ioa_cfg->regs.sense_interrupt_mask_reg);
regs             5642 drivers/scsi/ipr.c 			int_reg = readl(ioa_cfg->regs.sense_interrupt_reg) & ~int_mask_reg;
regs             5646 drivers/scsi/ipr.c 				writel(IPR_PCII_IPL_STAGE_CHANGE, ioa_cfg->regs.clr_interrupt_reg);
regs             5647 drivers/scsi/ipr.c 				int_reg = readl(ioa_cfg->regs.sense_interrupt_reg) & ~int_mask_reg;
regs             5660 drivers/scsi/ipr.c 		writel(IPR_PCII_IOA_TRANS_TO_OPER, ioa_cfg->regs.set_interrupt_mask_reg);
regs             5661 drivers/scsi/ipr.c 		int_reg = readl(ioa_cfg->regs.sense_interrupt_reg);
regs             5671 drivers/scsi/ipr.c 			writel(IPR_PCII_HRRQ_UPDATED, ioa_cfg->regs.clr_interrupt_reg32);
regs             5672 drivers/scsi/ipr.c 			int_reg = readl(ioa_cfg->regs.sense_interrupt_reg32);
regs             5829 drivers/scsi/ipr.c 				     ioa_cfg->regs.clr_interrupt_reg32);
regs             5830 drivers/scsi/ipr.c 				int_reg = readl(ioa_cfg->regs.sense_interrupt_reg32);
regs             5835 drivers/scsi/ipr.c 			int_reg = readl(ioa_cfg->regs.sense_interrupt_reg32);
regs             6835 drivers/scsi/ipr.c static void ipr_copy_sata_tf(struct ipr_ioarcb_ata_regs *regs,
regs             6838 drivers/scsi/ipr.c 	regs->feature = tf->feature;
regs             6839 drivers/scsi/ipr.c 	regs->nsect = tf->nsect;
regs             6840 drivers/scsi/ipr.c 	regs->lbal = tf->lbal;
regs             6841 drivers/scsi/ipr.c 	regs->lbam = tf->lbam;
regs             6842 drivers/scsi/ipr.c 	regs->lbah = tf->lbah;
regs             6843 drivers/scsi/ipr.c 	regs->device = tf->device;
regs             6844 drivers/scsi/ipr.c 	regs->command = tf->command;
regs             6845 drivers/scsi/ipr.c 	regs->hob_feature = tf->hob_feature;
regs             6846 drivers/scsi/ipr.c 	regs->hob_nsect = tf->hob_nsect;
regs             6847 drivers/scsi/ipr.c 	regs->hob_lbal = tf->hob_lbal;
regs             6848 drivers/scsi/ipr.c 	regs->hob_lbam = tf->hob_lbam;
regs             6849 drivers/scsi/ipr.c 	regs->hob_lbah = tf->hob_lbah;
regs             6850 drivers/scsi/ipr.c 	regs->ctl = tf->ctl;
regs             7040 drivers/scsi/ipr.c 	struct ipr_ioarcb_ata_regs *regs;
regs             7062 drivers/scsi/ipr.c 		regs = &ipr_cmd->i.ata_ioadl.regs;
regs             7065 drivers/scsi/ipr.c 		regs = &ioarcb->u.add_data.u.regs;
regs             7067 drivers/scsi/ipr.c 	memset(regs, 0, sizeof(*regs));
regs             7068 drivers/scsi/ipr.c 	ioarcb->add_cmd_parms_len = cpu_to_be16(sizeof(*regs));
regs             7084 drivers/scsi/ipr.c 	regs->flags |= IPR_ATA_FLAG_STATUS_ON_GOOD_COMPLETION;
regs             7085 drivers/scsi/ipr.c 	ipr_copy_sata_tf(regs, &qc->tf);
regs             7095 drivers/scsi/ipr.c 		regs->flags |= IPR_ATA_FLAG_XFER_TYPE_DMA;
regs             7100 drivers/scsi/ipr.c 		regs->flags |= IPR_ATA_FLAG_PACKET_CMD;
regs             7104 drivers/scsi/ipr.c 		regs->flags |= IPR_ATA_FLAG_PACKET_CMD;
regs             7105 drivers/scsi/ipr.c 		regs->flags |= IPR_ATA_FLAG_XFER_TYPE_DMA;
regs             8367 drivers/scsi/ipr.c 	feedback = readl(ioa_cfg->regs.init_feedback_reg);
regs             8382 drivers/scsi/ipr.c 		writel(IPR_PCII_IPL_STAGE_CHANGE, ioa_cfg->regs.set_interrupt_mask_reg);
regs             8383 drivers/scsi/ipr.c 		int_reg = readl(ioa_cfg->regs.sense_interrupt_mask_reg);
regs             8387 drivers/scsi/ipr.c 		int_reg = readl(ioa_cfg->regs.sense_interrupt_reg32);
regs             8392 drivers/scsi/ipr.c 			writeq(maskval, ioa_cfg->regs.set_interrupt_mask_reg);
regs             8393 drivers/scsi/ipr.c 			int_reg = readl(ioa_cfg->regs.sense_interrupt_mask_reg);
regs             8436 drivers/scsi/ipr.c 		writel(IPR_ENDIAN_SWAP_KEY, ioa_cfg->regs.endian_swap_reg);
regs             8437 drivers/scsi/ipr.c 		int_reg = readl(ioa_cfg->regs.endian_swap_reg);
regs             8440 drivers/scsi/ipr.c 	int_reg = readl(ioa_cfg->regs.sense_interrupt_reg32);
regs             8444 drivers/scsi/ipr.c 		       ioa_cfg->regs.clr_interrupt_mask_reg32);
regs             8445 drivers/scsi/ipr.c 		int_reg = readl(ioa_cfg->regs.sense_interrupt_mask_reg);
regs             8450 drivers/scsi/ipr.c 	writel(ioa_cfg->doorbell, ioa_cfg->regs.set_uproc_interrupt_reg32);
regs             8455 drivers/scsi/ipr.c 		writeq(maskval, ioa_cfg->regs.clr_interrupt_mask_reg);
regs             8457 drivers/scsi/ipr.c 		writel(IPR_PCII_OPER_INTERRUPTS, ioa_cfg->regs.clr_interrupt_mask_reg32);
regs             8459 drivers/scsi/ipr.c 	int_reg = readl(ioa_cfg->regs.sense_interrupt_mask_reg);
regs             8618 drivers/scsi/ipr.c 	    (readl(ioa_cfg->regs.sense_interrupt_reg) &
regs             8673 drivers/scsi/ipr.c 		writel(IPR_ENDIAN_SWAP_KEY, ioa_cfg->regs.endian_swap_reg);
regs             8674 drivers/scsi/ipr.c 		int_reg = readl(ioa_cfg->regs.endian_swap_reg);
regs             8743 drivers/scsi/ipr.c 		       ioa_cfg->regs.set_uproc_interrupt_reg32);
regs             8889 drivers/scsi/ipr.c 	temp_reg = readl(ioa_cfg->regs.sense_interrupt_reg);
regs             8947 drivers/scsi/ipr.c 		writel(IPR_UPROCI_RESET_ALERT, ioa_cfg->regs.set_uproc_interrupt_reg32);
regs             9880 drivers/scsi/ipr.c 	p = &ioa_cfg->chip_cfg->regs;
regs             9881 drivers/scsi/ipr.c 	t = &ioa_cfg->regs;
regs             10107 drivers/scsi/ipr.c 	writel(IPR_PCII_IO_DEBUG_ACKNOWLEDGE, ioa_cfg->regs.clr_interrupt_mask_reg32);
regs             10108 drivers/scsi/ipr.c 	int_reg = readl(ioa_cfg->regs.sense_interrupt_mask_reg);
regs             10118 drivers/scsi/ipr.c 	writel(IPR_PCII_IO_DEBUG_ACKNOWLEDGE, ioa_cfg->regs.sense_interrupt_reg32);
regs             10119 drivers/scsi/ipr.c 	int_reg = readl(ioa_cfg->regs.sense_interrupt_reg);
regs             10264 drivers/scsi/ipr.c 	interrupts = readl(ioa_cfg->regs.sense_interrupt_reg);
regs             10347 drivers/scsi/ipr.c 	mask = readl(ioa_cfg->regs.sense_interrupt_mask_reg32);
regs             10348 drivers/scsi/ipr.c 	interrupts = readl(ioa_cfg->regs.sense_interrupt_reg32);
regs             10349 drivers/scsi/ipr.c 	uproc = readl(ioa_cfg->regs.sense_uproc_interrupt_reg32);
regs              594 drivers/scsi/ipr.h 	struct ipr_ioarcb_ata_regs regs;
regs              601 drivers/scsi/ipr.h 		struct ipr_ioarcb_ata_regs regs;
regs             1405 drivers/scsi/ipr.h 	struct ipr_interrupt_offsets regs;
regs             1552 drivers/scsi/ipr.h 	struct ipr_interrupts regs;
regs               34 drivers/scsi/jazz_esp.c 	*(volatile u8 *)(esp->regs + reg) = val;
regs               39 drivers/scsi/jazz_esp.c 	return *(volatile u8 *)(esp->regs + reg);
regs              130 drivers/scsi/jazz_esp.c 	esp->regs = (void __iomem *)res->start;
regs              131 drivers/scsi/jazz_esp.c 	if (!esp->regs)
regs               45 drivers/scsi/mac53c94.c 	struct	mac53c94_regs __iomem *regs;
regs              108 drivers/scsi/mac53c94.c 	struct mac53c94_regs __iomem *regs = state->regs;
regs              115 drivers/scsi/mac53c94.c 	writeb(CMD_SCSI_RESET, &regs->command);	/* assert RST */
regs              117 drivers/scsi/mac53c94.c 	writeb(CMD_RESET, &regs->command);
regs              120 drivers/scsi/mac53c94.c 	writeb(CMD_NOP, &regs->command);
regs              128 drivers/scsi/mac53c94.c 	struct mac53c94_regs __iomem *regs = state->regs;
regs              132 drivers/scsi/mac53c94.c 	writeb(state->host->this_id | CF1_PAR_ENABLE, &regs->config1);
regs              133 drivers/scsi/mac53c94.c 	writeb(TIMO_VAL(250), &regs->sel_timeout);	/* 250ms */
regs              134 drivers/scsi/mac53c94.c 	writeb(CLKF_VAL(state->clk_freq), &regs->clk_factor);
regs              135 drivers/scsi/mac53c94.c 	writeb(CF2_FEATURE_EN, &regs->config2);
regs              136 drivers/scsi/mac53c94.c 	writeb(0, &regs->config3);
regs              137 drivers/scsi/mac53c94.c 	writeb(0, &regs->sync_period);
regs              138 drivers/scsi/mac53c94.c 	writeb(0, &regs->sync_offset);
regs              139 drivers/scsi/mac53c94.c 	x = readb(&regs->interrupt);
regs              150 drivers/scsi/mac53c94.c 	struct mac53c94_regs __iomem *regs = state->regs;
regs              161 drivers/scsi/mac53c94.c 	writeb(0, &regs->count_lo);
regs              162 drivers/scsi/mac53c94.c 	writeb(0, &regs->count_mid);
regs              163 drivers/scsi/mac53c94.c 	writeb(0, &regs->count_hi);
regs              164 drivers/scsi/mac53c94.c 	writeb(CMD_NOP + CMD_DMA_MODE, &regs->command);
regs              166 drivers/scsi/mac53c94.c 	writeb(CMD_FLUSH, &regs->command);
regs              168 drivers/scsi/mac53c94.c 	writeb(cmd->device->id, &regs->dest_id);
regs              169 drivers/scsi/mac53c94.c 	writeb(0, &regs->sync_period);
regs              170 drivers/scsi/mac53c94.c 	writeb(0, &regs->sync_offset);
regs              174 drivers/scsi/mac53c94.c 		writeb(cmd->cmnd[i], &regs->fifo);
regs              177 drivers/scsi/mac53c94.c 	writeb(CMD_SELECT, &regs->command);
regs              197 drivers/scsi/mac53c94.c 	struct mac53c94_regs __iomem *regs = state->regs;
regs              207 drivers/scsi/mac53c94.c 	seq = readb(&regs->seqstep);
regs              208 drivers/scsi/mac53c94.c 	stat = readb(&regs->status);
regs              209 drivers/scsi/mac53c94.c 	intr = readb(&regs->interrupt);
regs              219 drivers/scsi/mac53c94.c 		writeb(CMD_NOP, &regs->command);
regs              237 drivers/scsi/mac53c94.c 		writeb(CMD_NOP + CMD_DMA_MODE, &regs->command);
regs              265 drivers/scsi/mac53c94.c 		writeb(CMD_NOP, &regs->command);
regs              273 drivers/scsi/mac53c94.c 			writeb(nb, &regs->count_lo);
regs              274 drivers/scsi/mac53c94.c 			writeb(nb >> 8, &regs->count_mid);
regs              275 drivers/scsi/mac53c94.c 			writeb(CMD_DMA_MODE + CMD_NOP, &regs->command);
regs              278 drivers/scsi/mac53c94.c 			writeb(CMD_DMA_MODE + CMD_XFER_DATA, &regs->command);
regs              283 drivers/scsi/mac53c94.c 			writeb(CMD_I_COMPLETE, &regs->command);
regs              306 drivers/scsi/mac53c94.c 			writeb(nb, &regs->count_lo);
regs              307 drivers/scsi/mac53c94.c 			writeb(nb >> 8, &regs->count_mid);
regs              308 drivers/scsi/mac53c94.c 			writeb(CMD_DMA_MODE + CMD_NOP, &regs->command);
regs              309 drivers/scsi/mac53c94.c 			writeb(CMD_DMA_MODE + CMD_XFER_DATA, &regs->command);
regs              318 drivers/scsi/mac53c94.c 		writeb(CMD_I_COMPLETE, &regs->command);
regs              327 drivers/scsi/mac53c94.c 		cmd->SCp.Status = readb(&regs->fifo);
regs              328 drivers/scsi/mac53c94.c 		cmd->SCp.Message = readb(&regs->fifo);
regs              330 drivers/scsi/mac53c94.c 		writeb(CMD_ACCEPT_MSG, &regs->command);
regs              445 drivers/scsi/mac53c94.c 	state->regs = (struct mac53c94_regs __iomem *)
regs              451 drivers/scsi/mac53c94.c 	if (state->regs == NULL || state->dma == NULL) {
regs              504 drivers/scsi/mac53c94.c 	if (state->regs != NULL)
regs              505 drivers/scsi/mac53c94.c 		iounmap(state->regs);
regs              522 drivers/scsi/mac53c94.c 	if (fp->regs)
regs              523 drivers/scsi/mac53c94.c 		iounmap(fp->regs);
regs               65 drivers/scsi/mac_esp.c 	nubus_writeb(val, esp->regs + reg * 16);
regs               70 drivers/scsi/mac_esp.c 	return nubus_readb(esp->regs + reg * 16);
regs              335 drivers/scsi/mac_esp.c 		esp->regs      = (void __iomem *)MAC_ESP_REGS_QUADRA;
regs              336 drivers/scsi/mac_esp.c 		mep->pdma_io   = esp->regs + MAC_ESP_PDMA_IO_OFFSET;
regs              341 drivers/scsi/mac_esp.c 		esp->regs      = (void __iomem *)(MAC_ESP_REGS_QUADRA2 +
regs              343 drivers/scsi/mac_esp.c 		mep->pdma_io   = esp->regs + MAC_ESP_PDMA_IO_OFFSET;
regs              353 drivers/scsi/mac_esp.c 		esp->regs      = (void __iomem *)MAC_ESP_REGS_QUADRA3;
regs              358 drivers/scsi/mac_esp.c 	esp->fifo_reg = esp->regs + ESP_FDATA * 16;
regs              442 drivers/scsi/megaraid/megaraid_sas_base.c 	struct megasas_register_set __iomem *regs;
regs              444 drivers/scsi/megaraid/megaraid_sas_base.c 	regs = instance->reg_set;
regs              445 drivers/scsi/megaraid/megaraid_sas_base.c 	writel(0, &(regs)->outbound_intr_mask);
regs              448 drivers/scsi/megaraid/megaraid_sas_base.c 	readl(&regs->outbound_intr_mask);
regs              458 drivers/scsi/megaraid/megaraid_sas_base.c 	struct megasas_register_set __iomem *regs;
regs              461 drivers/scsi/megaraid/megaraid_sas_base.c 	regs = instance->reg_set;
regs              462 drivers/scsi/megaraid/megaraid_sas_base.c 	writel(mask, &regs->outbound_intr_mask);
regs              464 drivers/scsi/megaraid/megaraid_sas_base.c 	readl(&regs->outbound_intr_mask);
regs              485 drivers/scsi/megaraid/megaraid_sas_base.c 	struct megasas_register_set __iomem *regs;
regs              486 drivers/scsi/megaraid/megaraid_sas_base.c 	regs = instance->reg_set;
regs              491 drivers/scsi/megaraid/megaraid_sas_base.c 	status = readl(&regs->outbound_intr_status);
regs              502 drivers/scsi/megaraid/megaraid_sas_base.c 		writel(status, &regs->outbound_intr_status);
regs              505 drivers/scsi/megaraid/megaraid_sas_base.c 	readl(&regs->outbound_intr_status);
regs              520 drivers/scsi/megaraid/megaraid_sas_base.c 		struct megasas_register_set __iomem *regs)
regs              526 drivers/scsi/megaraid/megaraid_sas_base.c 	       &(regs)->inbound_queue_port);
regs              536 drivers/scsi/megaraid/megaraid_sas_base.c 	struct megasas_register_set __iomem *regs)
regs              541 drivers/scsi/megaraid/megaraid_sas_base.c 	writel(MFI_ADP_RESET, &regs->inbound_doorbell);
regs              577 drivers/scsi/megaraid/megaraid_sas_base.c 		struct megasas_register_set __iomem *regs)
regs              619 drivers/scsi/megaraid/megaraid_sas_base.c 	struct megasas_register_set __iomem *regs;
regs              621 drivers/scsi/megaraid/megaraid_sas_base.c 	regs = instance->reg_set;
regs              622 drivers/scsi/megaraid/megaraid_sas_base.c 	writel(0xFFFFFFFF, &(regs)->outbound_doorbell_clear);
regs              624 drivers/scsi/megaraid/megaraid_sas_base.c 	writel(~0x80000000, &(regs)->outbound_intr_mask);
regs              627 drivers/scsi/megaraid/megaraid_sas_base.c 	readl(&regs->outbound_intr_mask);
regs              637 drivers/scsi/megaraid/megaraid_sas_base.c 	struct megasas_register_set __iomem *regs;
regs              640 drivers/scsi/megaraid/megaraid_sas_base.c 	regs = instance->reg_set;
regs              641 drivers/scsi/megaraid/megaraid_sas_base.c 	writel(mask, &regs->outbound_intr_mask);
regs              643 drivers/scsi/megaraid/megaraid_sas_base.c 	readl(&regs->outbound_intr_mask);
regs              664 drivers/scsi/megaraid/megaraid_sas_base.c 	struct megasas_register_set __iomem *regs;
regs              665 drivers/scsi/megaraid/megaraid_sas_base.c 	regs = instance->reg_set;
regs              670 drivers/scsi/megaraid/megaraid_sas_base.c 	status = readl(&regs->outbound_intr_status);
regs              681 drivers/scsi/megaraid/megaraid_sas_base.c 	writel(status, &regs->outbound_doorbell_clear);
regs              684 drivers/scsi/megaraid/megaraid_sas_base.c 	readl(&regs->outbound_doorbell_clear);
regs              699 drivers/scsi/megaraid/megaraid_sas_base.c 		struct megasas_register_set __iomem *regs)
regs              705 drivers/scsi/megaraid/megaraid_sas_base.c 			&(regs)->inbound_queue_port);
regs              715 drivers/scsi/megaraid/megaraid_sas_base.c 			struct megasas_register_set __iomem *regs)
regs              746 drivers/scsi/megaraid/megaraid_sas_base.c 	struct megasas_register_set __iomem *regs;
regs              748 drivers/scsi/megaraid/megaraid_sas_base.c 	regs = instance->reg_set;
regs              749 drivers/scsi/megaraid/megaraid_sas_base.c 	writel(0xFFFFFFFF, &(regs)->outbound_intr_mask);
regs              751 drivers/scsi/megaraid/megaraid_sas_base.c 	writel(~MFI_SKINNY_ENABLE_INTERRUPT_MASK, &(regs)->outbound_intr_mask);
regs              754 drivers/scsi/megaraid/megaraid_sas_base.c 	readl(&regs->outbound_intr_mask);
regs              764 drivers/scsi/megaraid/megaraid_sas_base.c 	struct megasas_register_set __iomem *regs;
regs              767 drivers/scsi/megaraid/megaraid_sas_base.c 	regs = instance->reg_set;
regs              768 drivers/scsi/megaraid/megaraid_sas_base.c 	writel(mask, &regs->outbound_intr_mask);
regs              770 drivers/scsi/megaraid/megaraid_sas_base.c 	readl(&regs->outbound_intr_mask);
regs              792 drivers/scsi/megaraid/megaraid_sas_base.c 	struct megasas_register_set __iomem *regs;
regs              793 drivers/scsi/megaraid/megaraid_sas_base.c 	regs = instance->reg_set;
regs              798 drivers/scsi/megaraid/megaraid_sas_base.c 	status = readl(&regs->outbound_intr_status);
regs              816 drivers/scsi/megaraid/megaraid_sas_base.c 	writel(status, &regs->outbound_intr_status);
regs              821 drivers/scsi/megaraid/megaraid_sas_base.c 	readl(&regs->outbound_intr_status);
regs              836 drivers/scsi/megaraid/megaraid_sas_base.c 			struct megasas_register_set __iomem *regs)
regs              842 drivers/scsi/megaraid/megaraid_sas_base.c 	       &(regs)->inbound_high_queue_port);
regs              844 drivers/scsi/megaraid/megaraid_sas_base.c 	       &(regs)->inbound_low_queue_port);
regs              854 drivers/scsi/megaraid/megaraid_sas_base.c 				struct megasas_register_set __iomem *regs)
regs              891 drivers/scsi/megaraid/megaraid_sas_base.c 	struct megasas_register_set __iomem *regs;
regs              893 drivers/scsi/megaraid/megaraid_sas_base.c 	regs = instance->reg_set;
regs              894 drivers/scsi/megaraid/megaraid_sas_base.c 	writel(0xFFFFFFFF, &(regs)->outbound_doorbell_clear);
regs              897 drivers/scsi/megaraid/megaraid_sas_base.c 	writel(~MFI_GEN2_ENABLE_INTERRUPT_MASK, &(regs)->outbound_intr_mask);
regs              900 drivers/scsi/megaraid/megaraid_sas_base.c 	readl(&regs->outbound_intr_mask);
regs              910 drivers/scsi/megaraid/megaraid_sas_base.c 	struct megasas_register_set __iomem *regs;
regs              913 drivers/scsi/megaraid/megaraid_sas_base.c 	regs = instance->reg_set;
regs              914 drivers/scsi/megaraid/megaraid_sas_base.c 	writel(mask, &regs->outbound_intr_mask);
regs              916 drivers/scsi/megaraid/megaraid_sas_base.c 	readl(&regs->outbound_intr_mask);
regs              938 drivers/scsi/megaraid/megaraid_sas_base.c 	struct megasas_register_set __iomem *regs;
regs              939 drivers/scsi/megaraid/megaraid_sas_base.c 	regs = instance->reg_set;
regs              944 drivers/scsi/megaraid/megaraid_sas_base.c 	status = readl(&regs->outbound_intr_status);
regs              957 drivers/scsi/megaraid/megaraid_sas_base.c 		writel(status, &regs->outbound_doorbell_clear);
regs              960 drivers/scsi/megaraid/megaraid_sas_base.c 	readl(&regs->outbound_intr_status);
regs              974 drivers/scsi/megaraid/megaraid_sas_base.c 			struct megasas_register_set __iomem *regs)
regs              980 drivers/scsi/megaraid/megaraid_sas_base.c 			&(regs)->inbound_queue_port);
regs             1050 drivers/scsi/megaraid/megaraid_sas_base.c 		struct megasas_register_set __iomem *regs)
regs              182 drivers/scsi/megaraid/megaraid_sas_fusion.c 	struct megasas_register_set __iomem *regs;
regs              183 drivers/scsi/megaraid/megaraid_sas_fusion.c 	regs = instance->reg_set;
regs              187 drivers/scsi/megaraid/megaraid_sas_fusion.c 	writel(~0, &regs->outbound_intr_status);
regs              188 drivers/scsi/megaraid/megaraid_sas_fusion.c 	readl(&regs->outbound_intr_status);
regs              190 drivers/scsi/megaraid/megaraid_sas_fusion.c 	writel(~MFI_FUSION_ENABLE_INTERRUPT_MASK, &(regs)->outbound_intr_mask);
regs              194 drivers/scsi/megaraid/megaraid_sas_fusion.c 		 __func__, readl(&regs->outbound_intr_mask));
regs              205 drivers/scsi/megaraid/megaraid_sas_fusion.c 	struct megasas_register_set __iomem *regs;
regs              206 drivers/scsi/megaraid/megaraid_sas_fusion.c 	regs = instance->reg_set;
regs              209 drivers/scsi/megaraid/megaraid_sas_fusion.c 	writel(mask, &regs->outbound_intr_mask);
regs              212 drivers/scsi/megaraid/megaraid_sas_fusion.c 		 __func__, readl(&regs->outbound_intr_mask));
regs              219 drivers/scsi/megaraid/megaraid_sas_fusion.c 	struct megasas_register_set __iomem *regs;
regs              220 drivers/scsi/megaraid/megaraid_sas_fusion.c 	regs = instance->reg_set;
regs              225 drivers/scsi/megaraid/megaraid_sas_fusion.c 			       &regs->outbound_intr_status);
regs              228 drivers/scsi/megaraid/megaraid_sas_fusion.c 		writel(status, &regs->outbound_intr_status);
regs              229 drivers/scsi/megaraid/megaraid_sas_fusion.c 		readl(&regs->outbound_intr_status);
regs             3984 drivers/scsi/megaraid/megaraid_sas_fusion.c 			 struct megasas_register_set __iomem *regs)
regs             4061 drivers/scsi/megaraid/megaraid_sas_fusion.c 			   struct megasas_register_set __iomem *regs)
regs               87 drivers/scsi/mvme147.c 	wd33c93_regs regs;
regs              101 drivers/scsi/mvme147.c 	regs.SASR = (volatile unsigned char *)0xfffe4000;
regs              102 drivers/scsi/mvme147.c 	regs.SCMD = (volatile unsigned char *)0xfffe4001;
regs              109 drivers/scsi/mvme147.c 	wd33c93_init(mvme147_shost, regs, dma_setup, dma_stop, WD33C93_FS_8_10);
regs               16 drivers/scsi/mvsas/mv_64xx.c 	void __iomem *regs = mvi->regs;
regs               30 drivers/scsi/mvsas/mv_64xx.c 	void __iomem *regs = mvi->regs;
regs               43 drivers/scsi/mvsas/mv_64xx.c 	void __iomem *regs = mvi->regs;
regs               69 drivers/scsi/mvsas/mv_64xx.c 	void __iomem *regs = mvi->regs;
regs              126 drivers/scsi/mvsas/mv_64xx.c 	void __iomem *regs = mvi->regs;
regs              146 drivers/scsi/mvsas/mv_64xx.c 	void __iomem *regs = mvi->regs;
regs              196 drivers/scsi/mvsas/mv_64xx.c 	void __iomem *regs = mvi->regs;
regs              218 drivers/scsi/mvsas/mv_64xx.c 	void __iomem *regs = mvi->regs;
regs              240 drivers/scsi/mvsas/mv_64xx.c 	void __iomem *regs = mvi->regs;
regs              336 drivers/scsi/mvsas/mv_64xx.c 		writel(0x0E008000, regs + 0x000);
regs              337 drivers/scsi/mvsas/mv_64xx.c 		writel(0x59000008, regs + 0x004);
regs              338 drivers/scsi/mvsas/mv_64xx.c 		writel(0x20, regs + 0x008);
regs              339 drivers/scsi/mvsas/mv_64xx.c 		writel(0x20, regs + 0x00c);
regs              340 drivers/scsi/mvsas/mv_64xx.c 		writel(0x20, regs + 0x010);
regs              341 drivers/scsi/mvsas/mv_64xx.c 		writel(0x20, regs + 0x014);
regs              342 drivers/scsi/mvsas/mv_64xx.c 		writel(0x20, regs + 0x018);
regs              343 drivers/scsi/mvsas/mv_64xx.c 		writel(0x20, regs + 0x01c);
regs              416 drivers/scsi/mvsas/mv_64xx.c 	mvs_iounmap(mvi->regs);
regs              422 drivers/scsi/mvsas/mv_64xx.c 	void __iomem *regs = mvi->regs;
regs              431 drivers/scsi/mvsas/mv_64xx.c 	void __iomem *regs = mvi->regs;
regs              440 drivers/scsi/mvsas/mv_64xx.c 	void __iomem *regs = mvi->regs;
regs              455 drivers/scsi/mvsas/mv_64xx.c 	void __iomem *regs = mvi->regs;
regs              483 drivers/scsi/mvsas/mv_64xx.c 	void __iomem *regs = mvi->regs;
regs              497 drivers/scsi/mvsas/mv_64xx.c 	void __iomem *regs = mvi->regs;
regs              524 drivers/scsi/mvsas/mv_64xx.c 	void __iomem *regs = mvi->regs;
regs              646 drivers/scsi/mvsas/mv_64xx.c 	void __iomem *regs = mvi->regs;
regs              658 drivers/scsi/mvsas/mv_64xx.c 	void __iomem *regs = mvi->regs_ex;
regs              664 drivers/scsi/mvsas/mv_64xx.c 	void __iomem *regs = mvi->regs_ex;
regs              696 drivers/scsi/mvsas/mv_64xx.c 	void __iomem *regs = mvi->regs_ex;
regs              711 drivers/scsi/mvsas/mv_64xx.c 	void __iomem *regs = mvi->regs_ex;
regs              741 drivers/scsi/mvsas/mv_64xx.c 	void __iomem *regs = mvi->regs;
regs              246 drivers/scsi/mvsas/mv_94xx.c 	void __iomem *regs = mvi->regs;
regs              319 drivers/scsi/mvsas/mv_94xx.c 	void __iomem *regs = mvi->regs_ex - 0x10200;
regs              364 drivers/scsi/mvsas/mv_94xx.c 	void __iomem *regs = mvi->regs;
regs              477 drivers/scsi/mvsas/mv_94xx.c 		writel(0x0E008000, regs + 0x000);
regs              478 drivers/scsi/mvsas/mv_94xx.c 		writel(0x59000008, regs + 0x004);
regs              479 drivers/scsi/mvsas/mv_94xx.c 		writel(0x20, regs + 0x008);
regs              480 drivers/scsi/mvsas/mv_94xx.c 		writel(0x20, regs + 0x00c);
regs              481 drivers/scsi/mvsas/mv_94xx.c 		writel(0x20, regs + 0x010);
regs              482 drivers/scsi/mvsas/mv_94xx.c 		writel(0x20, regs + 0x014);
regs              483 drivers/scsi/mvsas/mv_94xx.c 		writel(0x20, regs + 0x018);
regs              484 drivers/scsi/mvsas/mv_94xx.c 		writel(0x20, regs + 0x01c);
regs              573 drivers/scsi/mvsas/mv_94xx.c 		mvi->regs_ex = mvi->regs + 0x10200;
regs              574 drivers/scsi/mvsas/mv_94xx.c 		mvi->regs += 0x20000;
regs              576 drivers/scsi/mvsas/mv_94xx.c 			mvi->regs += 0x4000;
regs              584 drivers/scsi/mvsas/mv_94xx.c 	if (mvi->regs) {
regs              585 drivers/scsi/mvsas/mv_94xx.c 		mvi->regs -= 0x20000;
regs              587 drivers/scsi/mvsas/mv_94xx.c 			mvi->regs -= 0x4000;
regs              588 drivers/scsi/mvsas/mv_94xx.c 		mvs_iounmap(mvi->regs);
regs              594 drivers/scsi/mvsas/mv_94xx.c 	void __iomem *regs = mvi->regs_ex;
regs              600 drivers/scsi/mvsas/mv_94xx.c 	writel(tmp, regs + 0x0C);
regs              601 drivers/scsi/mvsas/mv_94xx.c 	writel(tmp, regs + 0x10);
regs              602 drivers/scsi/mvsas/mv_94xx.c 	writel(tmp, regs + 0x14);
regs              603 drivers/scsi/mvsas/mv_94xx.c 	writel(tmp, regs + 0x18);
regs              609 drivers/scsi/mvsas/mv_94xx.c 	void __iomem *regs = mvi->regs_ex;
regs              616 drivers/scsi/mvsas/mv_94xx.c 	writel(tmp, regs + 0x0C);
regs              617 drivers/scsi/mvsas/mv_94xx.c 	writel(tmp, regs + 0x10);
regs              618 drivers/scsi/mvsas/mv_94xx.c 	writel(tmp, regs + 0x14);
regs              619 drivers/scsi/mvsas/mv_94xx.c 	writel(tmp, regs + 0x18);
regs              625 drivers/scsi/mvsas/mv_94xx.c 	void __iomem *regs = mvi->regs_ex;
regs              638 drivers/scsi/mvsas/mv_94xx.c 	void __iomem *regs = mvi->regs;
regs              669 drivers/scsi/mvsas/mv_94xx.c 	void __iomem *regs = mvi->regs;
regs              702 drivers/scsi/mvsas/mv_94xx.c 	void __iomem *regs = mvi->regs;
regs              714 drivers/scsi/mvsas/mv_94xx.c 	void __iomem *regs = mvi->regs;
regs              743 drivers/scsi/mvsas/mv_94xx.c 	void __iomem *regs = mvi->regs;
regs              763 drivers/scsi/mvsas/mv_94xx.c 	void __iomem *regs = mvi->regs;
regs              914 drivers/scsi/mvsas/mv_94xx.c 	void __iomem *regs = mvi->regs;
regs              926 drivers/scsi/mvsas/mv_94xx.c 	void __iomem *regs = mvi->regs_ex - 0x10200;
regs              932 drivers/scsi/mvsas/mv_94xx.c 	void __iomem *regs = mvi->regs_ex - 0x10200;
regs              946 drivers/scsi/mvsas/mv_94xx.c 	void __iomem *regs = mvi->regs_ex - 0x10200;
regs              965 drivers/scsi/mvsas/mv_94xx.c 	void __iomem *regs = mvi->regs_ex - 0x10200;
regs              973 drivers/scsi/mvsas/mv_94xx.c 	void __iomem *regs = mvi->regs_ex - 0x10200;
regs             1020 drivers/scsi/mvsas/mv_94xx.c 	void __iomem *regs = mvi->regs;
regs             1065 drivers/scsi/mvsas/mv_94xx.c 			void __iomem *regs = mvi->regs_ex - 0x10200;
regs             1069 drivers/scsi/mvsas/mv_94xx.c 			u32 block = ioread32be(regs + MVS_SGPIO_DCTRL +
regs             1105 drivers/scsi/mvsas/mv_94xx.c 				regs + MVS_SGPIO_DCTRL +
regs             1118 drivers/scsi/mvsas/mv_94xx.c 			void __iomem *regs = mvi->regs_ex - 0x10200;
regs               14 drivers/scsi/mvsas/mv_chips.h #define mr32(reg)	readl(regs + reg)
regs               15 drivers/scsi/mvsas/mv_chips.h #define mw32(reg, val)	writel((val), regs + reg)
regs               21 drivers/scsi/mvsas/mv_chips.h #define iow32(reg, val) 	outl(val, (unsigned long)(regs + reg))
regs               22 drivers/scsi/mvsas/mv_chips.h #define ior32(reg) 		inl((unsigned long)(regs + reg))
regs               23 drivers/scsi/mvsas/mv_chips.h #define iow16(reg, val) 	outw((unsigned long)(val, regs + reg))
regs               24 drivers/scsi/mvsas/mv_chips.h #define ior16(reg) 		inw((unsigned long)(regs + reg))
regs               25 drivers/scsi/mvsas/mv_chips.h #define iow8(reg, val) 		outb((unsigned long)(val, regs + reg))
regs               26 drivers/scsi/mvsas/mv_chips.h #define ior8(reg) 		inb((unsigned long)(regs + reg))
regs               30 drivers/scsi/mvsas/mv_chips.h 	void __iomem *regs = mvi->regs;
regs               37 drivers/scsi/mvsas/mv_chips.h 	void __iomem *regs = mvi->regs;
regs               44 drivers/scsi/mvsas/mv_chips.h 	void __iomem *regs = mvi->regs;
regs               51 drivers/scsi/mvsas/mv_chips.h 	void __iomem *regs = mvi->regs;
regs               61 drivers/scsi/mvsas/mv_chips.h 	void __iomem *regs = mvi->regs + off;
regs               62 drivers/scsi/mvsas/mv_chips.h 	void __iomem *regs2 = mvi->regs + off2;
regs               63 drivers/scsi/mvsas/mv_chips.h 	return (port < 4) ? readl(regs + port * 8) :
regs               70 drivers/scsi/mvsas/mv_chips.h 	void __iomem *regs = mvi->regs + off;
regs               71 drivers/scsi/mvsas/mv_chips.h 	void __iomem *regs2 = mvi->regs + off2;
regs               73 drivers/scsi/mvsas/mv_chips.h 		writel(val, regs + port * 8);
regs              174 drivers/scsi/mvsas/mv_chips.h 	void __iomem *regs = mvi->regs;
regs              183 drivers/scsi/mvsas/mv_chips.h 	void __iomem *regs = mvi->regs;
regs              207 drivers/scsi/mvsas/mv_chips.h 	void __iomem *regs = mvi->regs;
regs              213 drivers/scsi/mvsas/mv_chips.h 	void __iomem *regs = mvi->regs;
regs              327 drivers/scsi/mvsas/mv_init.c 	mvi->regs = ioremap(res_start, res_len);
regs              329 drivers/scsi/mvsas/mv_init.c 	if (!mvi->regs) {
regs              341 drivers/scsi/mvsas/mv_init.c void mvs_iounmap(void __iomem *regs)
regs              343 drivers/scsi/mvsas/mv_init.c 	iounmap(regs);
regs              338 drivers/scsi/mvsas/mv_sas.h 	void __iomem *regs;
regs              432 drivers/scsi/mvsas/mv_sas.h void mvs_iounmap(void __iomem *regs);
regs              405 drivers/scsi/mvumi.c 	struct mvumi_hw_regs *regs = mhba->regs;
regs              407 drivers/scsi/mvumi.c 	ib_rp_reg = ioread32(mhba->regs->inb_read_pointer);
regs              409 drivers/scsi/mvumi.c 	if (unlikely(((ib_rp_reg & regs->cl_slot_num_mask) ==
regs              410 drivers/scsi/mvumi.c 			(mhba->ib_cur_slot & regs->cl_slot_num_mask)) &&
regs              411 drivers/scsi/mvumi.c 			((ib_rp_reg & regs->cl_pointer_toggle)
regs              412 drivers/scsi/mvumi.c 			 != (mhba->ib_cur_slot & regs->cl_pointer_toggle)))) {
regs              439 drivers/scsi/mvumi.c 	cur_ib_entry = mhba->ib_cur_slot & mhba->regs->cl_slot_num_mask;
regs              443 drivers/scsi/mvumi.c 		mhba->ib_cur_slot ^= mhba->regs->cl_pointer_toggle;
regs              445 drivers/scsi/mvumi.c 	mhba->ib_cur_slot &= ~mhba->regs->cl_slot_num_mask;
regs              446 drivers/scsi/mvumi.c 	mhba->ib_cur_slot |= (cur_ib_entry & mhba->regs->cl_slot_num_mask);
regs              459 drivers/scsi/mvumi.c 	iowrite32(mhba->ib_cur_slot, mhba->regs->inb_write_pointer);
regs              493 drivers/scsi/mvumi.c 	struct mvumi_hw_regs *regs = mhba->regs;
regs              496 drivers/scsi/mvumi.c 		ob_write = ioread32(regs->outb_copy_pointer);
regs              498 drivers/scsi/mvumi.c 	} while ((ob_write & regs->cl_slot_num_mask) != ob_write_shadow);
regs              500 drivers/scsi/mvumi.c 	*cur_obf = mhba->ob_cur_slot & mhba->regs->cl_slot_num_mask;
regs              501 drivers/scsi/mvumi.c 	*assign_obf_end = ob_write & mhba->regs->cl_slot_num_mask;
regs              503 drivers/scsi/mvumi.c 	if ((ob_write & regs->cl_pointer_toggle) !=
regs              504 drivers/scsi/mvumi.c 			(mhba->ob_cur_slot & regs->cl_pointer_toggle)) {
regs              514 drivers/scsi/mvumi.c 	struct mvumi_hw_regs *regs = mhba->regs;
regs              516 drivers/scsi/mvumi.c 	ob_write = ioread32(regs->outb_read_pointer);
regs              517 drivers/scsi/mvumi.c 	ob_write = ioread32(regs->outb_copy_pointer);
regs              518 drivers/scsi/mvumi.c 	*cur_obf = mhba->ob_cur_slot & mhba->regs->cl_slot_num_mask;
regs              519 drivers/scsi/mvumi.c 	*assign_obf_end = ob_write & mhba->regs->cl_slot_num_mask;
regs              532 drivers/scsi/mvumi.c 	struct mvumi_hw_regs *regs = mhba->regs;
regs              541 drivers/scsi/mvumi.c 			mhba->ob_cur_slot ^= regs->cl_pointer_toggle;
regs              565 drivers/scsi/mvumi.c 				mhba->ob_cur_slot ^= regs->cl_pointer_toggle;
regs              576 drivers/scsi/mvumi.c 	mhba->ob_cur_slot &= ~regs->cl_slot_num_mask;
regs              577 drivers/scsi/mvumi.c 	mhba->ob_cur_slot |= (cur_obf & regs->cl_slot_num_mask);
regs              578 drivers/scsi/mvumi.c 	iowrite32(mhba->ob_cur_slot, regs->outb_read_pointer);
regs              583 drivers/scsi/mvumi.c 	struct mvumi_hw_regs *regs = mhba->regs;
regs              585 drivers/scsi/mvumi.c 	iowrite32(0, regs->enpointa_mask_reg);
regs              586 drivers/scsi/mvumi.c 	if (ioread32(regs->arm_to_pciea_msg1) != HANDSHAKE_DONESTATE)
regs              589 drivers/scsi/mvumi.c 	iowrite32(DRBL_SOFT_RESET, regs->pciea_to_arm_drbl_reg);
regs              607 drivers/scsi/mvumi.c 	struct mvumi_hw_regs *regs = mhba->regs;
regs              612 drivers/scsi/mvumi.c 	iowrite32(0, regs->enpointa_mask_reg);
regs              613 drivers/scsi/mvumi.c 	tmp = ioread32(regs->arm_to_pciea_msg1);
regs              615 drivers/scsi/mvumi.c 		iowrite32(DRBL_MU_RESET, regs->pciea_to_arm_drbl_reg);
regs              624 drivers/scsi/mvumi.c 		tmp = ioread32(regs->arm_to_pciea_msg1);
regs              670 drivers/scsi/mvumi.c 	iowrite32(0, mhba->regs->reset_enable);
regs              671 drivers/scsi/mvumi.c 	iowrite32(0xf, mhba->regs->reset_request);
regs              673 drivers/scsi/mvumi.c 	iowrite32(0x10, mhba->regs->reset_enable);
regs              674 drivers/scsi/mvumi.c 	iowrite32(0x10, mhba->regs->reset_request);
regs              762 drivers/scsi/mvumi.c 	kfree(mhba->regs);
regs             1095 drivers/scsi/mvumi.c 	struct mvumi_hw_regs *regs = mhba->regs;
regs             1100 drivers/scsi/mvumi.c 		tmp = ioread32(regs->arm_to_pciea_msg0);
regs             1115 drivers/scsi/mvumi.c 		iowrite32(HANDSHAKE_SIGNATURE, regs->pciea_to_arm_msg1);
regs             1116 drivers/scsi/mvumi.c 		iowrite32(hs_fun, regs->pciea_to_arm_msg0);
regs             1117 drivers/scsi/mvumi.c 		iowrite32(DRBL_HANDSHAKE, regs->pciea_to_arm_drbl_reg);
regs             1122 drivers/scsi/mvumi.c 					regs->pciea_to_arm_msg1);
regs             1124 drivers/scsi/mvumi.c 					regs->arm_to_pciea_msg1);
regs             1127 drivers/scsi/mvumi.c 		iowrite32(hs_fun, regs->pciea_to_arm_msg0);
regs             1128 drivers/scsi/mvumi.c 		iowrite32(DRBL_HANDSHAKE, regs->pciea_to_arm_drbl_reg);
regs             1168 drivers/scsi/mvumi.c 		iowrite32(hs_fun, regs->pciea_to_arm_msg0);
regs             1169 drivers/scsi/mvumi.c 		iowrite32(DRBL_HANDSHAKE, regs->pciea_to_arm_drbl_reg);
regs             1174 drivers/scsi/mvumi.c 		tmp = ioread32(regs->enpointa_mask_reg);
regs             1175 drivers/scsi/mvumi.c 		tmp |= regs->int_comaout | regs->int_comaerr;
regs             1176 drivers/scsi/mvumi.c 		iowrite32(tmp, regs->enpointa_mask_reg);
regs             1180 drivers/scsi/mvumi.c 					regs->inb_aval_count_basel);
regs             1182 drivers/scsi/mvumi.c 					regs->inb_aval_count_baseh);
regs             1187 drivers/scsi/mvumi.c 							regs->cl_pointer_toggle,
regs             1190 drivers/scsi/mvumi.c 							regs->outb_copy_basel);
regs             1192 drivers/scsi/mvumi.c 							regs->outb_copy_baseh);
regs             1196 drivers/scsi/mvumi.c 							regs->cl_pointer_toggle;
regs             1198 drivers/scsi/mvumi.c 							regs->cl_pointer_toggle;
regs             1244 drivers/scsi/mvumi.c 	tmp = ioread32(mhba->regs->arm_to_pciea_msg1);
regs             1248 drivers/scsi/mvumi.c 					mhba->regs->pciea_to_arm_drbl_reg);
regs             1256 drivers/scsi/mvumi.c 		tmp = ioread32(mhba->regs->arm_to_pciea_msg1);
regs             1278 drivers/scsi/mvumi.c 	struct mvumi_hw_regs *regs = mhba->regs;
regs             1281 drivers/scsi/mvumi.c 	tmp = ioread32(regs->arm_to_pciea_drbl_reg);
regs             1282 drivers/scsi/mvumi.c 	iowrite32(tmp, regs->arm_to_pciea_drbl_reg);
regs             1284 drivers/scsi/mvumi.c 	iowrite32(regs->int_drbl_int_mask, regs->arm_to_pciea_mask_reg);
regs             1285 drivers/scsi/mvumi.c 	tmp = ioread32(regs->enpointa_mask_reg) | regs->int_dl_cpu2pciea;
regs             1286 drivers/scsi/mvumi.c 	iowrite32(tmp, regs->enpointa_mask_reg);
regs             1801 drivers/scsi/mvumi.c 	if (mhba->global_isr & mhba->regs->int_dl_cpu2pciea) {
regs             1811 drivers/scsi/mvumi.c 	if (mhba->global_isr & mhba->regs->int_comaout)
regs             1901 drivers/scsi/mvumi.c 	struct mvumi_hw_regs *regs = mhba->regs;
regs             1903 drivers/scsi/mvumi.c 	iowrite32(regs->int_drbl_int_mask, regs->arm_to_pciea_mask_reg);
regs             1904 drivers/scsi/mvumi.c 	mask = ioread32(regs->enpointa_mask_reg);
regs             1905 drivers/scsi/mvumi.c 	mask |= regs->int_dl_cpu2pciea | regs->int_comaout | regs->int_comaerr;
regs             1906 drivers/scsi/mvumi.c 	iowrite32(mask, regs->enpointa_mask_reg);
regs             1916 drivers/scsi/mvumi.c 	struct mvumi_hw_regs *regs = mhba->regs;
regs             1918 drivers/scsi/mvumi.c 	iowrite32(0, regs->arm_to_pciea_mask_reg);
regs             1919 drivers/scsi/mvumi.c 	mask = ioread32(regs->enpointa_mask_reg);
regs             1920 drivers/scsi/mvumi.c 	mask &= ~(regs->int_dl_cpu2pciea | regs->int_comaout |
regs             1921 drivers/scsi/mvumi.c 							regs->int_comaerr);
regs             1922 drivers/scsi/mvumi.c 	iowrite32(mask, regs->enpointa_mask_reg);
regs             1929 drivers/scsi/mvumi.c 	struct mvumi_hw_regs *regs = mhba->regs;
regs             1931 drivers/scsi/mvumi.c 	status = ioread32(regs->main_int_cause_reg);
regs             1932 drivers/scsi/mvumi.c 	if (!(status & regs->int_mu) || status == 0xFFFFFFFF)
regs             1934 drivers/scsi/mvumi.c 	if (unlikely(status & regs->int_comaerr)) {
regs             1935 drivers/scsi/mvumi.c 		tmp = ioread32(regs->outb_isr_cause);
regs             1937 drivers/scsi/mvumi.c 			if (tmp & regs->clic_out_err) {
regs             1938 drivers/scsi/mvumi.c 				iowrite32(tmp & regs->clic_out_err,
regs             1939 drivers/scsi/mvumi.c 							regs->outb_isr_cause);
regs             1942 drivers/scsi/mvumi.c 			if (tmp & (regs->clic_in_err | regs->clic_out_err))
regs             1943 drivers/scsi/mvumi.c 				iowrite32(tmp & (regs->clic_in_err |
regs             1944 drivers/scsi/mvumi.c 						regs->clic_out_err),
regs             1945 drivers/scsi/mvumi.c 						regs->outb_isr_cause);
regs             1947 drivers/scsi/mvumi.c 		status ^= mhba->regs->int_comaerr;
regs             1950 drivers/scsi/mvumi.c 	if (status & regs->int_comaout) {
regs             1951 drivers/scsi/mvumi.c 		tmp = ioread32(regs->outb_isr_cause);
regs             1952 drivers/scsi/mvumi.c 		if (tmp & regs->clic_irq)
regs             1953 drivers/scsi/mvumi.c 			iowrite32(tmp & regs->clic_irq, regs->outb_isr_cause);
regs             1955 drivers/scsi/mvumi.c 	if (status & regs->int_dl_cpu2pciea) {
regs             1956 drivers/scsi/mvumi.c 		isr_status = ioread32(regs->arm_to_pciea_drbl_reg);
regs             1958 drivers/scsi/mvumi.c 			iowrite32(isr_status, regs->arm_to_pciea_drbl_reg);
regs             1975 drivers/scsi/mvumi.c 	status = ioread32(mhba->regs->arm_to_pciea_drbl_reg);
regs             1977 drivers/scsi/mvumi.c 		iowrite32(status, mhba->regs->arm_to_pciea_drbl_reg);
regs             2190 drivers/scsi/mvumi.c 	struct mvumi_hw_regs *regs;
regs             2196 drivers/scsi/mvumi.c 		if (!mhba->regs) {
regs             2197 drivers/scsi/mvumi.c 			mhba->regs = kzalloc(sizeof(*regs), GFP_KERNEL);
regs             2198 drivers/scsi/mvumi.c 			if (mhba->regs == NULL)
regs             2201 drivers/scsi/mvumi.c 		regs = mhba->regs;
regs             2204 drivers/scsi/mvumi.c 		regs->ctrl_sts_reg          = base + 0x20104;
regs             2205 drivers/scsi/mvumi.c 		regs->rstoutn_mask_reg      = base + 0x20108;
regs             2206 drivers/scsi/mvumi.c 		regs->sys_soft_rst_reg      = base + 0x2010C;
regs             2207 drivers/scsi/mvumi.c 		regs->main_int_cause_reg    = base + 0x20200;
regs             2208 drivers/scsi/mvumi.c 		regs->enpointa_mask_reg     = base + 0x2020C;
regs             2209 drivers/scsi/mvumi.c 		regs->rstoutn_en_reg        = base + 0xF1400;
regs             2211 drivers/scsi/mvumi.c 		regs->pciea_to_arm_drbl_reg = base + 0x20400;
regs             2212 drivers/scsi/mvumi.c 		regs->arm_to_pciea_drbl_reg = base + 0x20408;
regs             2213 drivers/scsi/mvumi.c 		regs->arm_to_pciea_mask_reg = base + 0x2040C;
regs             2214 drivers/scsi/mvumi.c 		regs->pciea_to_arm_msg0     = base + 0x20430;
regs             2215 drivers/scsi/mvumi.c 		regs->pciea_to_arm_msg1     = base + 0x20434;
regs             2216 drivers/scsi/mvumi.c 		regs->arm_to_pciea_msg0     = base + 0x20438;
regs             2217 drivers/scsi/mvumi.c 		regs->arm_to_pciea_msg1     = base + 0x2043C;
regs             2221 drivers/scsi/mvumi.c 		regs->inb_aval_count_basel  = base + 0x508;
regs             2222 drivers/scsi/mvumi.c 		regs->inb_aval_count_baseh  = base + 0x50C;
regs             2223 drivers/scsi/mvumi.c 		regs->inb_write_pointer     = base + 0x518;
regs             2224 drivers/scsi/mvumi.c 		regs->inb_read_pointer      = base + 0x51C;
regs             2225 drivers/scsi/mvumi.c 		regs->outb_coal_cfg         = base + 0x568;
regs             2226 drivers/scsi/mvumi.c 		regs->outb_copy_basel       = base + 0x5B0;
regs             2227 drivers/scsi/mvumi.c 		regs->outb_copy_baseh       = base + 0x5B4;
regs             2228 drivers/scsi/mvumi.c 		regs->outb_copy_pointer     = base + 0x544;
regs             2229 drivers/scsi/mvumi.c 		regs->outb_read_pointer     = base + 0x548;
regs             2230 drivers/scsi/mvumi.c 		regs->outb_isr_cause        = base + 0x560;
regs             2231 drivers/scsi/mvumi.c 		regs->outb_coal_cfg         = base + 0x568;
regs             2233 drivers/scsi/mvumi.c 		regs->int_comaout           = 1 << 8;
regs             2234 drivers/scsi/mvumi.c 		regs->int_comaerr           = 1 << 6;
regs             2235 drivers/scsi/mvumi.c 		regs->int_dl_cpu2pciea      = 1 << 1;
regs             2236 drivers/scsi/mvumi.c 		regs->cl_pointer_toggle     = 1 << 12;
regs             2237 drivers/scsi/mvumi.c 		regs->clic_irq              = 1 << 1;
regs             2238 drivers/scsi/mvumi.c 		regs->clic_in_err           = 1 << 8;
regs             2239 drivers/scsi/mvumi.c 		regs->clic_out_err          = 1 << 12;
regs             2240 drivers/scsi/mvumi.c 		regs->cl_slot_num_mask      = 0xFFF;
regs             2241 drivers/scsi/mvumi.c 		regs->int_drbl_int_mask     = 0x3FFFFFFF;
regs             2242 drivers/scsi/mvumi.c 		regs->int_mu = regs->int_dl_cpu2pciea | regs->int_comaout |
regs             2243 drivers/scsi/mvumi.c 							regs->int_comaerr;
regs             2248 drivers/scsi/mvumi.c 		if (!mhba->regs) {
regs             2249 drivers/scsi/mvumi.c 			mhba->regs = kzalloc(sizeof(*regs), GFP_KERNEL);
regs             2250 drivers/scsi/mvumi.c 			if (mhba->regs == NULL)
regs             2253 drivers/scsi/mvumi.c 		regs = mhba->regs;
regs             2255 drivers/scsi/mvumi.c 		regs->ctrl_sts_reg          = base + 0x20104;
regs             2256 drivers/scsi/mvumi.c 		regs->rstoutn_mask_reg      = base + 0x1010C;
regs             2257 drivers/scsi/mvumi.c 		regs->sys_soft_rst_reg      = base + 0x10108;
regs             2258 drivers/scsi/mvumi.c 		regs->main_int_cause_reg    = base + 0x10200;
regs             2259 drivers/scsi/mvumi.c 		regs->enpointa_mask_reg     = base + 0x1020C;
regs             2260 drivers/scsi/mvumi.c 		regs->rstoutn_en_reg        = base + 0xF1400;
regs             2263 drivers/scsi/mvumi.c 		regs->pciea_to_arm_drbl_reg = base + 0x10460;
regs             2264 drivers/scsi/mvumi.c 		regs->arm_to_pciea_drbl_reg = base + 0x10480;
regs             2265 drivers/scsi/mvumi.c 		regs->arm_to_pciea_mask_reg = base + 0x10484;
regs             2266 drivers/scsi/mvumi.c 		regs->pciea_to_arm_msg0     = base + 0x10400;
regs             2267 drivers/scsi/mvumi.c 		regs->pciea_to_arm_msg1     = base + 0x10404;
regs             2268 drivers/scsi/mvumi.c 		regs->arm_to_pciea_msg0     = base + 0x10420;
regs             2269 drivers/scsi/mvumi.c 		regs->arm_to_pciea_msg1     = base + 0x10424;
regs             2272 drivers/scsi/mvumi.c 		regs->reset_request         = base + 0x10108;
regs             2273 drivers/scsi/mvumi.c 		regs->reset_enable          = base + 0x1010c;
regs             2276 drivers/scsi/mvumi.c 		regs->inb_aval_count_basel  = base + 0x4008;
regs             2277 drivers/scsi/mvumi.c 		regs->inb_aval_count_baseh  = base + 0x400C;
regs             2278 drivers/scsi/mvumi.c 		regs->inb_write_pointer     = base + 0x4018;
regs             2279 drivers/scsi/mvumi.c 		regs->inb_read_pointer      = base + 0x401C;
regs             2280 drivers/scsi/mvumi.c 		regs->outb_copy_basel       = base + 0x4058;
regs             2281 drivers/scsi/mvumi.c 		regs->outb_copy_baseh       = base + 0x405C;
regs             2282 drivers/scsi/mvumi.c 		regs->outb_copy_pointer     = base + 0x406C;
regs             2283 drivers/scsi/mvumi.c 		regs->outb_read_pointer     = base + 0x4070;
regs             2284 drivers/scsi/mvumi.c 		regs->outb_coal_cfg         = base + 0x4080;
regs             2285 drivers/scsi/mvumi.c 		regs->outb_isr_cause        = base + 0x4088;
regs             2287 drivers/scsi/mvumi.c 		regs->int_comaout           = 1 << 4;
regs             2288 drivers/scsi/mvumi.c 		regs->int_dl_cpu2pciea      = 1 << 12;
regs             2289 drivers/scsi/mvumi.c 		regs->int_comaerr           = 1 << 29;
regs             2290 drivers/scsi/mvumi.c 		regs->cl_pointer_toggle     = 1 << 14;
regs             2291 drivers/scsi/mvumi.c 		regs->cl_slot_num_mask      = 0x3FFF;
regs             2292 drivers/scsi/mvumi.c 		regs->clic_irq              = 1 << 0;
regs             2293 drivers/scsi/mvumi.c 		regs->clic_out_err          = 1 << 1;
regs             2294 drivers/scsi/mvumi.c 		regs->int_drbl_int_mask     = 0x3FFFFFFF;
regs             2295 drivers/scsi/mvumi.c 		regs->int_mu = regs->int_dl_cpu2pciea | regs->int_comaout;
regs             2375 drivers/scsi/mvumi.c 	kfree(mhba->regs);
regs              536 drivers/scsi/mvumi.h 	struct mvumi_hw_regs *regs;
regs              221 drivers/scsi/sgiwd93.c 	wd33c93_regs regs;
regs              248 drivers/scsi/sgiwd93.c 	regs.SASR = wdregs + 3;
regs              249 drivers/scsi/sgiwd93.c 	regs.SCMD = wdregs + 7;
regs              255 drivers/scsi/sgiwd93.c 	wd33c93_init(host, regs, dma_setup, dma_stop, WD33C93_FS_MHZ(20));
regs               56 drivers/scsi/sun3x_esp.c 	writeb(val, esp->regs + (reg * 4UL));
regs               61 drivers/scsi/sun3x_esp.c 	return readb(esp->regs + (reg * 4UL));
regs              193 drivers/scsi/sun3x_esp.c 	esp->regs = ioremap_nocache(res->start, 0x20);
regs              194 drivers/scsi/sun3x_esp.c 	if (!esp->regs)
regs              237 drivers/scsi/sun3x_esp.c 	iounmap(esp->regs);
regs               95 drivers/scsi/sun_esp.c 	esp->regs = of_ioremap(res, 0, SBUS_ESP_REG_SIZE, "ESP");
regs               96 drivers/scsi/sun_esp.c 	if (!esp->regs)
regs              206 drivers/scsi/sun_esp.c 	sbus_writeb(val, esp->regs + (reg * 4UL));
regs              211 drivers/scsi/sun_esp.c 	return sbus_readb(esp->regs + (reg * 4UL));
regs              518 drivers/scsi/sun_esp.c 	of_iounmap(&op->resource[(hme ? 1 : 0)], esp->regs, SBUS_ESP_REG_SIZE);
regs              573 drivers/scsi/sun_esp.c 	of_iounmap(&op->resource[(is_hme ? 1 : 0)], esp->regs,
regs              111 drivers/scsi/ufs/ufshcd.c 	u32 *regs;
regs              117 drivers/scsi/ufs/ufshcd.c 	regs = kzalloc(len, GFP_KERNEL);
regs              118 drivers/scsi/ufs/ufshcd.c 	if (!regs)
regs              122 drivers/scsi/ufs/ufshcd.c 		regs[pos / 4] = ufshcd_readl(hba, offset + pos);
regs              124 drivers/scsi/ufs/ufshcd.c 	ufshcd_hex_dump(prefix, regs, len);
regs              125 drivers/scsi/ufs/ufshcd.c 	kfree(regs);
regs              167 drivers/scsi/wd33c93.c read_wd33c93(const wd33c93_regs regs, uchar reg_num)
regs              171 drivers/scsi/wd33c93.c 	outb(reg_num, regs.SASR);
regs              172 drivers/scsi/wd33c93.c 	data = inb(regs.SCMD);
regs              177 drivers/scsi/wd33c93.c read_wd33c93_count(const wd33c93_regs regs)
regs              181 drivers/scsi/wd33c93.c 	outb(WD_TRANSFER_COUNT_MSB, regs.SASR);
regs              182 drivers/scsi/wd33c93.c 	value = inb(regs.SCMD) << 16;
regs              183 drivers/scsi/wd33c93.c 	value |= inb(regs.SCMD) << 8;
regs              184 drivers/scsi/wd33c93.c 	value |= inb(regs.SCMD);
regs              189 drivers/scsi/wd33c93.c read_aux_stat(const wd33c93_regs regs)
regs              191 drivers/scsi/wd33c93.c 	return inb(regs.SASR);
regs              195 drivers/scsi/wd33c93.c write_wd33c93(const wd33c93_regs regs, uchar reg_num, uchar value)
regs              197 drivers/scsi/wd33c93.c       outb(reg_num, regs.SASR);
regs              198 drivers/scsi/wd33c93.c       outb(value, regs.SCMD);
regs              202 drivers/scsi/wd33c93.c write_wd33c93_count(const wd33c93_regs regs, unsigned long value)
regs              204 drivers/scsi/wd33c93.c 	outb(WD_TRANSFER_COUNT_MSB, regs.SASR);
regs              205 drivers/scsi/wd33c93.c 	outb((value >> 16) & 0xff, regs.SCMD);
regs              206 drivers/scsi/wd33c93.c 	outb((value >> 8) & 0xff, regs.SCMD);
regs              207 drivers/scsi/wd33c93.c 	outb( value & 0xff, regs.SCMD);
regs              210 drivers/scsi/wd33c93.c #define write_wd33c93_cmd(regs, cmd) \
regs              211 drivers/scsi/wd33c93.c 	write_wd33c93((regs), WD_COMMAND, (cmd))
regs              214 drivers/scsi/wd33c93.c write_wd33c93_cdb(const wd33c93_regs regs, uint len, uchar cmnd[])
regs              218 drivers/scsi/wd33c93.c 	outb(WD_CDB_1, regs.SASR);
regs              220 drivers/scsi/wd33c93.c 		outb(cmnd[i], regs.SCMD);
regs              225 drivers/scsi/wd33c93.c read_wd33c93(const wd33c93_regs regs, uchar reg_num)
regs              227 drivers/scsi/wd33c93.c 	*regs.SASR = reg_num;
regs              229 drivers/scsi/wd33c93.c 	return (*regs.SCMD);
regs              233 drivers/scsi/wd33c93.c read_wd33c93_count(const wd33c93_regs regs)
regs              237 drivers/scsi/wd33c93.c 	*regs.SASR = WD_TRANSFER_COUNT_MSB;
regs              239 drivers/scsi/wd33c93.c 	value = *regs.SCMD << 16;
regs              240 drivers/scsi/wd33c93.c 	value |= *regs.SCMD << 8;
regs              241 drivers/scsi/wd33c93.c 	value |= *regs.SCMD;
regs              247 drivers/scsi/wd33c93.c read_aux_stat(const wd33c93_regs regs)
regs              249 drivers/scsi/wd33c93.c 	return *regs.SASR;
regs              253 drivers/scsi/wd33c93.c write_wd33c93(const wd33c93_regs regs, uchar reg_num, uchar value)
regs              255 drivers/scsi/wd33c93.c 	*regs.SASR = reg_num;
regs              257 drivers/scsi/wd33c93.c 	*regs.SCMD = value;
regs              262 drivers/scsi/wd33c93.c write_wd33c93_count(const wd33c93_regs regs, unsigned long value)
regs              264 drivers/scsi/wd33c93.c 	*regs.SASR = WD_TRANSFER_COUNT_MSB;
regs              266 drivers/scsi/wd33c93.c 	*regs.SCMD = value >> 16;
regs              267 drivers/scsi/wd33c93.c 	*regs.SCMD = value >> 8;
regs              268 drivers/scsi/wd33c93.c 	*regs.SCMD = value;
regs              273 drivers/scsi/wd33c93.c write_wd33c93_cmd(const wd33c93_regs regs, uchar cmd)
regs              275 drivers/scsi/wd33c93.c 	*regs.SASR = WD_COMMAND;
regs              277 drivers/scsi/wd33c93.c 	*regs.SCMD = cmd;
regs              282 drivers/scsi/wd33c93.c write_wd33c93_cdb(const wd33c93_regs regs, uint len, uchar cmnd[])
regs              286 drivers/scsi/wd33c93.c 	*regs.SASR = WD_CDB_1;
regs              288 drivers/scsi/wd33c93.c 		*regs.SCMD = cmnd[i];
regs              293 drivers/scsi/wd33c93.c read_1_byte(const wd33c93_regs regs)
regs              298 drivers/scsi/wd33c93.c 	write_wd33c93(regs, WD_CONTROL, CTRL_IDI | CTRL_EDI | CTRL_POLLED);
regs              299 drivers/scsi/wd33c93.c 	write_wd33c93_cmd(regs, WD_CMD_TRANS_INFO | 0x80);
regs              301 drivers/scsi/wd33c93.c 		asr = read_aux_stat(regs);
regs              303 drivers/scsi/wd33c93.c 			x = read_wd33c93(regs, WD_DATA);
regs              479 drivers/scsi/wd33c93.c 	const wd33c93_regs regs = hostdata->regs;
regs              526 drivers/scsi/wd33c93.c 		write_wd33c93(regs, WD_DESTINATION_ID, cmd->device->id);
regs              528 drivers/scsi/wd33c93.c 		write_wd33c93(regs, WD_DESTINATION_ID, cmd->device->id | DSTID_DPD);
regs              586 drivers/scsi/wd33c93.c 	write_wd33c93(regs, WD_SOURCE_ID, ((cmd->SCp.phase) ? SRCID_ER : 0));
regs              588 drivers/scsi/wd33c93.c 	write_wd33c93(regs, WD_TARGET_LUN, (u8)cmd->device->lun);
regs              589 drivers/scsi/wd33c93.c 	write_wd33c93(regs, WD_SYNCHRONOUS_TRANSFER,
regs              621 drivers/scsi/wd33c93.c 		write_wd33c93_count(regs, 0);	/* guarantee a DATA_PHASE interrupt */
regs              622 drivers/scsi/wd33c93.c 		write_wd33c93_cmd(regs, WD_CMD_SEL_ATN);
regs              634 drivers/scsi/wd33c93.c 		write_wd33c93(regs, WD_COMMAND_PHASE, 0);
regs              640 drivers/scsi/wd33c93.c 		write_wd33c93_cdb(regs, cmd->cmd_len, cmd->cmnd);
regs              648 drivers/scsi/wd33c93.c 		write_wd33c93(regs, WD_OWN_ID, cmd->cmd_len);
regs              659 drivers/scsi/wd33c93.c 				write_wd33c93_count(regs, 0);	/* guarantee a DATA_PHASE interrupt */
regs              661 drivers/scsi/wd33c93.c 				write_wd33c93_count(regs,
regs              663 drivers/scsi/wd33c93.c 				write_wd33c93(regs, WD_CONTROL,
regs              668 drivers/scsi/wd33c93.c 			write_wd33c93_count(regs, 0);	/* guarantee a DATA_PHASE interrupt */
regs              671 drivers/scsi/wd33c93.c 		write_wd33c93_cmd(regs, WD_CMD_SEL_ATN_XFER);
regs              686 drivers/scsi/wd33c93.c transfer_pio(const wd33c93_regs regs, uchar * buf, int cnt,
regs              694 drivers/scsi/wd33c93.c 	write_wd33c93(regs, WD_CONTROL, CTRL_IDI | CTRL_EDI | CTRL_POLLED);
regs              695 drivers/scsi/wd33c93.c 	write_wd33c93_count(regs, cnt);
regs              696 drivers/scsi/wd33c93.c 	write_wd33c93_cmd(regs, WD_CMD_TRANS_INFO);
regs              699 drivers/scsi/wd33c93.c 			asr = read_aux_stat(regs);
regs              701 drivers/scsi/wd33c93.c 				*buf++ = read_wd33c93(regs, WD_DATA);
regs              705 drivers/scsi/wd33c93.c 			asr = read_aux_stat(regs);
regs              707 drivers/scsi/wd33c93.c 				write_wd33c93(regs, WD_DATA, *buf++);
regs              721 drivers/scsi/wd33c93.c transfer_bytes(const wd33c93_regs regs, struct scsi_cmnd *cmd,
regs              746 drivers/scsi/wd33c93.c 	write_wd33c93(regs, WD_SYNCHRONOUS_TRANSFER,
regs              757 drivers/scsi/wd33c93.c 		transfer_pio(regs, (uchar *) cmd->SCp.ptr,
regs              760 drivers/scsi/wd33c93.c 		cmd->SCp.this_residual = read_wd33c93_count(regs);
regs              777 drivers/scsi/wd33c93.c 		write_wd33c93(regs, WD_CONTROL, CTRL_IDI | CTRL_EDI | hostdata->dma_mode);
regs              778 drivers/scsi/wd33c93.c 		write_wd33c93_count(regs, cmd->SCp.this_residual);
regs              782 drivers/scsi/wd33c93.c 			write_wd33c93(regs, WD_COMMAND_PHASE, 0x45);
regs              783 drivers/scsi/wd33c93.c 			write_wd33c93_cmd(regs, WD_CMD_SEL_ATN_XFER);
regs              786 drivers/scsi/wd33c93.c 			write_wd33c93_cmd(regs, WD_CMD_TRANS_INFO);
regs              797 drivers/scsi/wd33c93.c 	const wd33c93_regs regs = hostdata->regs;
regs              802 drivers/scsi/wd33c93.c 	asr = read_aux_stat(regs);
regs              813 drivers/scsi/wd33c93.c 	sr = read_wd33c93(regs, WD_SCSI_STATUS);	/* clear the interrupt */
regs              814 drivers/scsi/wd33c93.c 	phs = read_wd33c93(regs, WD_COMMAND_PHASE);
regs              838 drivers/scsi/wd33c93.c 		cmd->SCp.this_residual = read_wd33c93_count(regs);
regs              935 drivers/scsi/wd33c93.c 		    transfer_bytes(regs, cmd, DATA_IN_DIR);
regs              947 drivers/scsi/wd33c93.c 		    transfer_bytes(regs, cmd, DATA_OUT_DIR);
regs              959 drivers/scsi/wd33c93.c 		    transfer_pio(regs, cmd->cmnd, cmd->cmd_len, DATA_OUT_DIR,
regs              969 drivers/scsi/wd33c93.c 		cmd->SCp.Status = read_1_byte(regs);
regs              972 drivers/scsi/wd33c93.c 			sr = read_wd33c93(regs, WD_SCSI_STATUS);	/* clear interrupt */
regs              975 drivers/scsi/wd33c93.c 			write_wd33c93(regs, WD_COMMAND_PHASE, 0x50);
regs              976 drivers/scsi/wd33c93.c 			write_wd33c93_cmd(regs, WD_CMD_SEL_ATN_XFER);
regs              988 drivers/scsi/wd33c93.c 		msg = read_1_byte(regs);
regs              989 drivers/scsi/wd33c93.c 		sr = read_wd33c93(regs, WD_SCSI_STATUS);	/* clear interrupt */
regs             1003 drivers/scsi/wd33c93.c 			    write_wd33c93_cmd(regs, WD_CMD_NEGATE_ACK);
regs             1009 drivers/scsi/wd33c93.c 			    write_wd33c93_cmd(regs, WD_CMD_NEGATE_ACK);
regs             1016 drivers/scsi/wd33c93.c 				write_wd33c93(regs, WD_COMMAND_PHASE, 0x45);
regs             1017 drivers/scsi/wd33c93.c 				write_wd33c93_cmd(regs, WD_CMD_SEL_ATN_XFER);
regs             1020 drivers/scsi/wd33c93.c 				write_wd33c93_cmd(regs, WD_CMD_NEGATE_ACK);
regs             1028 drivers/scsi/wd33c93.c 			write_wd33c93_cmd(regs, WD_CMD_NEGATE_ACK);
regs             1044 drivers/scsi/wd33c93.c 			write_wd33c93_cmd(regs, WD_CMD_NEGATE_ACK);
regs             1079 drivers/scsi/wd33c93.c 						write_wd33c93_cmd(regs, WD_CMD_ASSERT_ATN);	/* want MESS_OUT */
regs             1105 drivers/scsi/wd33c93.c 					write_wd33c93_cmd(regs,
regs             1110 drivers/scsi/wd33c93.c 					write_wd33c93_cmd(regs, WD_CMD_ASSERT_ATN);	/* want MESS_OUT */
regs             1119 drivers/scsi/wd33c93.c 					write_wd33c93_cmd(regs,
regs             1124 drivers/scsi/wd33c93.c 					write_wd33c93_cmd(regs, WD_CMD_ASSERT_ATN);	/* want MESS_OUT */
regs             1131 drivers/scsi/wd33c93.c 					write_wd33c93_cmd(regs,
regs             1143 drivers/scsi/wd33c93.c 				write_wd33c93_cmd(regs, WD_CMD_NEGATE_ACK);
regs             1150 drivers/scsi/wd33c93.c 			write_wd33c93_cmd(regs, WD_CMD_ASSERT_ATN);	/* want MESS_OUT */
regs             1153 drivers/scsi/wd33c93.c 			write_wd33c93_cmd(regs, WD_CMD_NEGATE_ACK);
regs             1167 drivers/scsi/wd33c93.c 		write_wd33c93(regs, WD_SOURCE_ID, SRCID_ER);
regs             1171 drivers/scsi/wd33c93.c 			lun = read_wd33c93(regs, WD_TARGET_LUN);
regs             1206 drivers/scsi/wd33c93.c 		write_wd33c93(regs, WD_COMMAND_PHASE, 0x41);
regs             1207 drivers/scsi/wd33c93.c 		write_wd33c93_cmd(regs, WD_CMD_SEL_ATN_XFER);
regs             1232 drivers/scsi/wd33c93.c 		transfer_pio(regs, hostdata->outgoing_msg,
regs             1254 drivers/scsi/wd33c93.c 		write_wd33c93(regs, WD_SOURCE_ID, SRCID_ER);
regs             1286 drivers/scsi/wd33c93.c 		write_wd33c93(regs, WD_SOURCE_ID, SRCID_ER);
regs             1377 drivers/scsi/wd33c93.c 		id = read_wd33c93(regs, WD_SOURCE_ID);
regs             1386 drivers/scsi/wd33c93.c 			lun = read_wd33c93(regs, WD_DATA);
regs             1388 drivers/scsi/wd33c93.c 				write_wd33c93_cmd(regs, WD_CMD_NEGATE_ACK);
regs             1393 drivers/scsi/wd33c93.c 				if ((asr = read_aux_stat(regs)) & ASR_INT)
regs             1403 drivers/scsi/wd33c93.c 				sr = read_wd33c93(regs, WD_SCSI_STATUS);
regs             1409 drivers/scsi/wd33c93.c 					lun = read_1_byte(regs);
regs             1411 drivers/scsi/wd33c93.c 					asr = read_aux_stat(regs);
regs             1414 drivers/scsi/wd33c93.c 						asr = read_aux_stat(regs);
regs             1420 drivers/scsi/wd33c93.c 					sr = read_wd33c93(regs, WD_SCSI_STATUS);
regs             1427 drivers/scsi/wd33c93.c 					write_wd33c93_cmd(regs,
regs             1474 drivers/scsi/wd33c93.c 			write_wd33c93(regs, WD_DESTINATION_ID, cmd->device->id);
regs             1476 drivers/scsi/wd33c93.c 			write_wd33c93(regs, WD_DESTINATION_ID,
regs             1479 drivers/scsi/wd33c93.c 			write_wd33c93_count(regs, 0);	/* we want a DATA_PHASE interrupt */
regs             1480 drivers/scsi/wd33c93.c 			write_wd33c93(regs, WD_COMMAND_PHASE, 0x45);
regs             1481 drivers/scsi/wd33c93.c 			write_wd33c93_cmd(regs, WD_CMD_SEL_ATN_XFER);
regs             1503 drivers/scsi/wd33c93.c 	const wd33c93_regs regs = hostdata->regs;
regs             1511 drivers/scsi/wd33c93.c 		while ((read_aux_stat(regs) & ASR_BSY) && busycount++ < 100)
regs             1521 drivers/scsi/wd33c93.c 	if (read_aux_stat(regs) & ASR_BSY)
regs             1526 drivers/scsi/wd33c93.c 	write_wd33c93(regs, WD_OWN_ID, OWNID_EAF | OWNID_RAF |
regs             1528 drivers/scsi/wd33c93.c 	write_wd33c93(regs, WD_CONTROL, CTRL_IDI | CTRL_EDI | CTRL_POLLED);
regs             1529 drivers/scsi/wd33c93.c 	write_wd33c93(regs, WD_SYNCHRONOUS_TRANSFER,
regs             1532 drivers/scsi/wd33c93.c 	write_wd33c93(regs, WD_COMMAND, WD_CMD_RESET);
regs             1539 drivers/scsi/wd33c93.c 	while (!(read_aux_stat(regs) & ASR_INT))
regs             1541 drivers/scsi/wd33c93.c 	sr = read_wd33c93(regs, WD_SCSI_STATUS);
regs             1543 drivers/scsi/wd33c93.c 	hostdata->microcode = read_wd33c93(regs, WD_CDB_1);
regs             1547 drivers/scsi/wd33c93.c 		write_wd33c93(regs, WD_QUEUE_TAG, 0xa5);	/* any random number */
regs             1548 drivers/scsi/wd33c93.c 		sr = read_wd33c93(regs, WD_QUEUE_TAG);
regs             1551 drivers/scsi/wd33c93.c 			write_wd33c93(regs, WD_QUEUE_TAG, 0);
regs             1560 drivers/scsi/wd33c93.c 	write_wd33c93(regs, WD_TIMEOUT_PERIOD, TIMEOUT_PERIOD_VALUE);
regs             1561 drivers/scsi/wd33c93.c 	write_wd33c93(regs, WD_CONTROL, CTRL_IDI | CTRL_EDI | CTRL_POLLED);
regs             1607 drivers/scsi/wd33c93.c 	wd33c93_regs regs;
regs             1614 drivers/scsi/wd33c93.c 	regs = hostdata->regs;
regs             1668 drivers/scsi/wd33c93.c 		write_wd33c93(regs, WD_CONTROL,
regs             1670 drivers/scsi/wd33c93.c 		write_wd33c93_cmd(regs, WD_CMD_ABORT);
regs             1677 drivers/scsi/wd33c93.c 			asr = read_aux_stat(regs);
regs             1679 drivers/scsi/wd33c93.c 				read_wd33c93(regs, WD_DATA);
regs             1681 drivers/scsi/wd33c93.c 		sr = read_wd33c93(regs, WD_SCSI_STATUS);
regs             1684 drivers/scsi/wd33c93.c 		     asr, sr, read_wd33c93_count(regs), timeout);
regs             1693 drivers/scsi/wd33c93.c 		write_wd33c93_cmd(regs, WD_CMD_DISCONNECT);
regs             1696 drivers/scsi/wd33c93.c 		asr = read_aux_stat(regs);
regs             1698 drivers/scsi/wd33c93.c 			asr = read_aux_stat(regs);
regs             1699 drivers/scsi/wd33c93.c 		sr = read_wd33c93(regs, WD_SCSI_STATUS);
regs             1927 drivers/scsi/wd33c93.c wd33c93_init(struct Scsi_Host *instance, const wd33c93_regs regs,
regs             1941 drivers/scsi/wd33c93.c 	hostdata->regs = regs;
regs              218 drivers/scsi/wd33c93.h     wd33c93_regs     regs;
regs              333 drivers/scsi/wd33c93.h void wd33c93_init (struct Scsi_Host *instance, const wd33c93_regs regs,
regs              562 drivers/scsi/wd719x.c 					union wd719x_regs regs,
regs              568 drivers/scsi/wd719x.c 	switch (regs.bytes.SUE) {
regs              624 drivers/scsi/wd719x.c 		if (regs.bytes.SCSI == 0)
regs              648 drivers/scsi/wd719x.c 			 regs.bytes.SUE);
regs              659 drivers/scsi/wd719x.c 	union wd719x_regs regs;
regs              667 drivers/scsi/wd719x.c 	regs.all = cpu_to_le32(wd719x_readl(wd, WD719X_AMR_OP_CODE));
regs              669 drivers/scsi/wd719x.c 	switch (regs.bytes.INT) {
regs              684 drivers/scsi/wd719x.c 		if (regs.bytes.OPC == WD719X_CMD_PROCESS_SCB) {
regs              690 drivers/scsi/wd719x.c 				wd719x_interrupt_SCB(wd, regs, scb);
regs              695 drivers/scsi/wd719x.c 				 regs.bytes.OPC);
regs              703 drivers/scsi/wd719x.c 			regs.bytes.INT);
regs              174 drivers/scsi/zorro_esp.c 	writeb(val, esp->regs + (reg * 4UL));
regs              179 drivers/scsi/zorro_esp.c 	return readb(esp->regs + (reg * 4UL));
regs              819 drivers/scsi/zorro_esp.c 		esp->regs = ioremap_nocache(ioaddr, 0x20);
regs              822 drivers/scsi/zorro_esp.c 		esp->regs = ZTWO_VADDR(ioaddr);
regs              824 drivers/scsi/zorro_esp.c 	if (!esp->regs) {
regs              829 drivers/scsi/zorro_esp.c 	esp->fifo_reg = esp->regs + ESP_FDATA * 4;
regs              897 drivers/scsi/zorro_esp.c 		iounmap(esp->regs);
regs              934 drivers/scsi/zorro_esp.c 		iounmap(esp->regs);
regs              158 drivers/soc/atmel/soc.c 	void __iomem *regs;
regs              167 drivers/soc/atmel/soc.c 	regs = of_iomap(np, 0);
regs              170 drivers/soc/atmel/soc.c 	if (!regs) {
regs              175 drivers/soc/atmel/soc.c 	*cidr = readl(regs + AT91_DBGU_CIDR);
regs              176 drivers/soc/atmel/soc.c 	*exid = readl(regs + AT91_DBGU_EXID);
regs              178 drivers/soc/atmel/soc.c 	iounmap(regs);
regs              186 drivers/soc/atmel/soc.c 	void __iomem *regs;
regs              192 drivers/soc/atmel/soc.c 	regs = of_iomap(np, 0);
regs              195 drivers/soc/atmel/soc.c 	if (!regs) {
regs              200 drivers/soc/atmel/soc.c 	*cidr = readl(regs + AT91_CHIPID_CIDR);
regs              201 drivers/soc/atmel/soc.c 	*exid = readl(regs + AT91_CHIPID_EXID);
regs              203 drivers/soc/atmel/soc.c 	iounmap(regs);
regs              296 drivers/soc/dove/pmu.c 	gc->chip_types[0].regs.mask = PMC_IRQ_MASK;
regs               18 drivers/soc/fsl/guts.c 	struct ccsr_guts __iomem *regs;
regs              128 drivers/soc/fsl/guts.c 	if (!guts || !guts->regs)
regs              132 drivers/soc/fsl/guts.c 		svr = ioread32(&guts->regs->svr);
regs              134 drivers/soc/fsl/guts.c 		svr = ioread32be(&guts->regs->svr);
regs              156 drivers/soc/fsl/guts.c 	guts->regs = devm_ioremap_resource(dev, res);
regs              157 drivers/soc/fsl/guts.c 	if (IS_ERR(guts->regs))
regs              158 drivers/soc/fsl/guts.c 		return PTR_ERR(guts->regs);
regs               42 drivers/soc/fsl/qe/gpio.c 	struct qe_pio_regs __iomem *regs = mm_gc->regs;
regs               44 drivers/soc/fsl/qe/gpio.c 	qe_gc->cpdata = in_be32(&regs->cpdata);
regs               46 drivers/soc/fsl/qe/gpio.c 	qe_gc->saved_regs.cpdir1 = in_be32(&regs->cpdir1);
regs               47 drivers/soc/fsl/qe/gpio.c 	qe_gc->saved_regs.cpdir2 = in_be32(&regs->cpdir2);
regs               48 drivers/soc/fsl/qe/gpio.c 	qe_gc->saved_regs.cppar1 = in_be32(&regs->cppar1);
regs               49 drivers/soc/fsl/qe/gpio.c 	qe_gc->saved_regs.cppar2 = in_be32(&regs->cppar2);
regs               50 drivers/soc/fsl/qe/gpio.c 	qe_gc->saved_regs.cpodr = in_be32(&regs->cpodr);
regs               56 drivers/soc/fsl/qe/gpio.c 	struct qe_pio_regs __iomem *regs = mm_gc->regs;
regs               59 drivers/soc/fsl/qe/gpio.c 	return !!(in_be32(&regs->cpdata) & pin_mask);
regs               66 drivers/soc/fsl/qe/gpio.c 	struct qe_pio_regs __iomem *regs = mm_gc->regs;
regs               77 drivers/soc/fsl/qe/gpio.c 	out_be32(&regs->cpdata, qe_gc->cpdata);
regs               87 drivers/soc/fsl/qe/gpio.c 	struct qe_pio_regs __iomem *regs = mm_gc->regs;
regs              104 drivers/soc/fsl/qe/gpio.c 	out_be32(&regs->cpdata, qe_gc->cpdata);
regs              117 drivers/soc/fsl/qe/gpio.c 	__par_io_config_pin(mm_gc->regs, gpio, QE_PIO_DIR_IN, 0, 0, 0);
regs              134 drivers/soc/fsl/qe/gpio.c 	__par_io_config_pin(mm_gc->regs, gpio, QE_PIO_DIR_OUT, 0, 0, 0);
regs              247 drivers/soc/fsl/qe/gpio.c 	struct qe_pio_regs __iomem *regs = qe_gc->mm_gc.regs;
regs              258 drivers/soc/fsl/qe/gpio.c 		clrsetbits_be32(&regs->cpdir2, mask2, sregs->cpdir2 & mask2);
regs              259 drivers/soc/fsl/qe/gpio.c 		clrsetbits_be32(&regs->cppar2, mask2, sregs->cppar2 & mask2);
regs              261 drivers/soc/fsl/qe/gpio.c 		clrsetbits_be32(&regs->cpdir1, mask2, sregs->cpdir1 & mask2);
regs              262 drivers/soc/fsl/qe/gpio.c 		clrsetbits_be32(&regs->cppar1, mask2, sregs->cppar1 & mask2);
regs              270 drivers/soc/fsl/qe/gpio.c 	out_be32(&regs->cpdata, qe_gc->cpdata);
regs              271 drivers/soc/fsl/qe/gpio.c 	clrsetbits_be32(&regs->cpodr, mask1, sregs->cpodr & mask1);
regs              287 drivers/soc/fsl/qe/gpio.c 	struct qe_pio_regs __iomem *regs = qe_gc->mm_gc.regs;
regs              293 drivers/soc/fsl/qe/gpio.c 	__par_io_config_pin(regs, qe_pin->num, QE_PIO_DIR_IN, 0, 0, 0);
regs              204 drivers/soc/fsl/qe/qe_ic.c 	temp = qe_ic_read(qe_ic->regs, qe_ic_info[src].mask_reg);
regs              205 drivers/soc/fsl/qe/qe_ic.c 	qe_ic_write(qe_ic->regs, qe_ic_info[src].mask_reg,
regs              220 drivers/soc/fsl/qe/qe_ic.c 	temp = qe_ic_read(qe_ic->regs, qe_ic_info[src].mask_reg);
regs              221 drivers/soc/fsl/qe/qe_ic.c 	qe_ic_write(qe_ic->regs, qe_ic_info[src].mask_reg,
regs              292 drivers/soc/fsl/qe/qe_ic.c 	irq = qe_ic_read(qe_ic->regs, QEIC_CIVEC) >> 26;
regs              308 drivers/soc/fsl/qe/qe_ic.c 	irq = qe_ic_read(qe_ic->regs, QEIC_CHIVEC) >> 26;
regs              339 drivers/soc/fsl/qe/qe_ic.c 	qe_ic->regs = ioremap(res.start, resource_size(&res));
regs              373 drivers/soc/fsl/qe/qe_ic.c 	qe_ic_write(qe_ic->regs, QEIC_CICR, temp);
regs              391 drivers/soc/fsl/qe/qe_ic.c 	temp = qe_ic_read(qe_ic->regs, QEIC_CICR);
regs              399 drivers/soc/fsl/qe/qe_ic.c 	qe_ic_write(qe_ic->regs, QEIC_CICR, temp);
regs              417 drivers/soc/fsl/qe/qe_ic.c 	temp = qe_ic_read(qe_ic->regs, qe_ic_info[src].pri_reg);
regs              427 drivers/soc/fsl/qe/qe_ic.c 	qe_ic_write(qe_ic->regs, qe_ic_info[src].pri_reg, temp);
regs              471 drivers/soc/fsl/qe/qe_ic.c 	temp = qe_ic_read(qe_ic->regs, control_reg);
regs              474 drivers/soc/fsl/qe/qe_ic.c 	qe_ic_write(qe_ic->regs, control_reg, temp);
regs               75 drivers/soc/fsl/qe/qe_ic.h 	volatile u32 __iomem *regs;
regs              203 drivers/soc/fsl/qe/ucc_fast.c 	uccf->uf_regs = ioremap(uf_info->regs, sizeof(struct ucc_fast));
regs              161 drivers/soc/fsl/qe/ucc_slow.c 	uccs->us_regs = ioremap(us_info->regs, sizeof(struct ucc_slow));
regs              164 drivers/soc/ixp4xx/ixp4xx-npe.c 	return (__raw_readl(&npe->regs->exec_status_cmd) & STAT_RUN) != 0;
regs              169 drivers/soc/ixp4xx/ixp4xx-npe.c 	__raw_writel(data, &npe->regs->exec_data);
regs              170 drivers/soc/ixp4xx/ixp4xx-npe.c 	__raw_writel(addr, &npe->regs->exec_addr);
regs              171 drivers/soc/ixp4xx/ixp4xx-npe.c 	__raw_writel(cmd, &npe->regs->exec_status_cmd);
regs              176 drivers/soc/ixp4xx/ixp4xx-npe.c 	__raw_writel(addr, &npe->regs->exec_addr);
regs              177 drivers/soc/ixp4xx/ixp4xx-npe.c 	__raw_writel(cmd, &npe->regs->exec_status_cmd);
regs              181 drivers/soc/ixp4xx/ixp4xx-npe.c 	__raw_readl(&npe->regs->exec_data);
regs              182 drivers/soc/ixp4xx/ixp4xx-npe.c 	__raw_readl(&npe->regs->exec_data);
regs              183 drivers/soc/ixp4xx/ixp4xx-npe.c 	return __raw_readl(&npe->regs->exec_data);
regs              199 drivers/soc/ixp4xx/ixp4xx-npe.c 	__raw_writel(CMD_NPE_CLR_PIPE, &npe->regs->exec_status_cmd);
regs              200 drivers/soc/ixp4xx/ixp4xx-npe.c 	__raw_writel(CMD_NPE_START, &npe->regs->exec_status_cmd);
regs              205 drivers/soc/ixp4xx/ixp4xx-npe.c 	__raw_writel(CMD_NPE_STOP, &npe->regs->exec_status_cmd);
regs              206 drivers/soc/ixp4xx/ixp4xx-npe.c 	__raw_writel(CMD_NPE_CLR_PIPE, &npe->regs->exec_status_cmd); /*FIXME?*/
regs              229 drivers/soc/ixp4xx/ixp4xx-npe.c 	__raw_writel(CMD_NPE_CLR_PIPE, &npe->regs->exec_status_cmd);
regs              236 drivers/soc/ixp4xx/ixp4xx-npe.c 	wc = __raw_readl(&npe->regs->watch_count);
regs              239 drivers/soc/ixp4xx/ixp4xx-npe.c 	__raw_writel(CMD_NPE_STEP, &npe->regs->exec_status_cmd);
regs              243 drivers/soc/ixp4xx/ixp4xx-npe.c 		if (wc != __raw_readl(&npe->regs->watch_count))
regs              288 drivers/soc/ixp4xx/ixp4xx-npe.c 	ctl = (__raw_readl(&npe->regs->messaging_control) | 0x3F000000) &
regs              292 drivers/soc/ixp4xx/ixp4xx-npe.c 	__raw_writel(ctl & 0x3F00FFFF, &npe->regs->messaging_control);
regs              296 drivers/soc/ixp4xx/ixp4xx-npe.c 	exec_count = __raw_readl(&npe->regs->exec_count);
regs              297 drivers/soc/ixp4xx/ixp4xx-npe.c 	__raw_writel(0, &npe->regs->exec_count);
regs              305 drivers/soc/ixp4xx/ixp4xx-npe.c 	while (__raw_readl(&npe->regs->watchpoint_fifo) & WFIFO_VALID)
regs              307 drivers/soc/ixp4xx/ixp4xx-npe.c 	while (__raw_readl(&npe->regs->messaging_status) & MSGSTAT_OFNE)
regs              310 drivers/soc/ixp4xx/ixp4xx-npe.c 			  __raw_readl(&npe->regs->in_out_fifo));
regs              312 drivers/soc/ixp4xx/ixp4xx-npe.c 	while (__raw_readl(&npe->regs->messaging_status) & MSGSTAT_IFNE)
regs              319 drivers/soc/ixp4xx/ixp4xx-npe.c 	__raw_writel(RESET_MBOX_STAT, &npe->regs->mailbox_status);
regs              361 drivers/soc/ixp4xx/ixp4xx-npe.c 	__raw_writel(CMD_NPE_CLR_PIPE, &npe->regs->exec_status_cmd);
regs              363 drivers/soc/ixp4xx/ixp4xx-npe.c 	__raw_writel(exec_count, &npe->regs->exec_count);
regs              372 drivers/soc/ixp4xx/ixp4xx-npe.c 	__raw_writel(CMD_CLR_PROFILE_CNT, &npe->regs->exec_status_cmd);
regs              374 drivers/soc/ixp4xx/ixp4xx-npe.c 	__raw_writel(0, &npe->regs->exec_count);
regs              375 drivers/soc/ixp4xx/ixp4xx-npe.c 	__raw_writel(0, &npe->regs->action_points[0]);
regs              376 drivers/soc/ixp4xx/ixp4xx-npe.c 	__raw_writel(0, &npe->regs->action_points[1]);
regs              377 drivers/soc/ixp4xx/ixp4xx-npe.c 	__raw_writel(0, &npe->regs->action_points[2]);
regs              378 drivers/soc/ixp4xx/ixp4xx-npe.c 	__raw_writel(0, &npe->regs->action_points[3]);
regs              379 drivers/soc/ixp4xx/ixp4xx-npe.c 	__raw_writel(0, &npe->regs->watch_count);
regs              400 drivers/soc/ixp4xx/ixp4xx-npe.c 	__raw_writel(ctl, &npe->regs->messaging_control);
regs              413 drivers/soc/ixp4xx/ixp4xx-npe.c 	if (__raw_readl(&npe->regs->messaging_status) & MSGSTAT_IFNE) {
regs              418 drivers/soc/ixp4xx/ixp4xx-npe.c 	__raw_writel(send[0], &npe->regs->in_out_fifo);
regs              420 drivers/soc/ixp4xx/ixp4xx-npe.c 	if (!(__raw_readl(&npe->regs->messaging_status) & MSGSTAT_IFNF)) {
regs              425 drivers/soc/ixp4xx/ixp4xx-npe.c 	__raw_writel(send[1], &npe->regs->in_out_fifo);
regs              428 drivers/soc/ixp4xx/ixp4xx-npe.c 	       (__raw_readl(&npe->regs->messaging_status) & MSGSTAT_IFNE)) {
regs              452 drivers/soc/ixp4xx/ixp4xx-npe.c 		if (__raw_readl(&npe->regs->messaging_status) & MSGSTAT_OFNE) {
regs              453 drivers/soc/ixp4xx/ixp4xx-npe.c 			recv[cnt++] = __raw_readl(&npe->regs->in_out_fifo);
regs              697 drivers/soc/ixp4xx/ixp4xx-npe.c 		npe->regs = devm_ioremap_resource(dev, res);
regs              698 drivers/soc/ixp4xx/ixp4xx-npe.c 		if (IS_ERR(npe->regs))
regs              699 drivers/soc/ixp4xx/ixp4xx-npe.c 			return PTR_ERR(npe->regs);
regs              722 drivers/soc/ixp4xx/ixp4xx-npe.c 		if (npe_tab[i].regs) {
regs              987 drivers/soc/mediatek/mtk-pmic-wrap.c 	int *regs;
regs             1002 drivers/soc/mediatek/mtk-pmic-wrap.c 	return readl(wrp->base + wrp->master->regs[reg]);
regs             1007 drivers/soc/mediatek/mtk-pmic-wrap.c 	writel(val, wrp->base + wrp->master->regs[reg]);
regs             1762 drivers/soc/mediatek/mtk-pmic-wrap.c 	.regs = mt2701_regs,
regs             1775 drivers/soc/mediatek/mtk-pmic-wrap.c 	.regs = mt6765_regs,
regs             1787 drivers/soc/mediatek/mtk-pmic-wrap.c 	.regs = mt6797_regs,
regs             1800 drivers/soc/mediatek/mtk-pmic-wrap.c 	.regs = mt7622_regs,
regs             1813 drivers/soc/mediatek/mtk-pmic-wrap.c 	.regs = mt8135_regs,
regs             1826 drivers/soc/mediatek/mtk-pmic-wrap.c 	.regs = mt8173_regs,
regs             1839 drivers/soc/mediatek/mtk-pmic-wrap.c 	.regs = mt8183_regs,
regs             1852 drivers/soc/mediatek/mtk-pmic-wrap.c 	.regs = mt8516_regs,
regs              157 drivers/soc/mediatek/mtk-scpsys.c 	const struct scp_ctrl_reg regs;
regs              938 drivers/soc/mediatek/mtk-scpsys.c 	.regs = {
regs              950 drivers/soc/mediatek/mtk-scpsys.c 	.regs = {
regs              962 drivers/soc/mediatek/mtk-scpsys.c 	.regs = {
regs              972 drivers/soc/mediatek/mtk-scpsys.c 	.regs = {
regs              982 drivers/soc/mediatek/mtk-scpsys.c 	.regs = {
regs              994 drivers/soc/mediatek/mtk-scpsys.c 	.regs = {
regs             1039 drivers/soc/mediatek/mtk-scpsys.c 	scp = init_scp(pdev, soc->domains, soc->num_domains, &soc->regs,
regs              244 drivers/soc/tegra/fuse/fuse-tegra.c 	struct resource regs;
regs              261 drivers/soc/tegra/fuse/fuse-tegra.c 			regs.start = 0x7000f800;
regs              262 drivers/soc/tegra/fuse/fuse-tegra.c 			regs.end = 0x7000fbff;
regs              263 drivers/soc/tegra/fuse/fuse-tegra.c 			regs.flags = IORESOURCE_MEM;
regs              306 drivers/soc/tegra/fuse/fuse-tegra.c 		if (of_address_to_resource(np, 0, &regs) < 0) {
regs              326 drivers/soc/tegra/fuse/fuse-tegra.c 	fuse->base = ioremap_nocache(regs.start, resource_size(&regs));
regs              224 drivers/soc/tegra/pmc.c 	const struct tegra_pmc_regs *regs;
regs              855 drivers/soc/tegra/pmc.c 	value = tegra_pmc_scratch_readl(pmc, pmc->soc->regs->scratch0);
regs              869 drivers/soc/tegra/pmc.c 	tegra_pmc_scratch_writel(pmc, value, pmc->soc->regs->scratch0);
regs             1173 drivers/soc/tegra/pmc.c 		*status = pmc->soc->regs->dpd_status;
regs             1174 drivers/soc/tegra/pmc.c 		*request = pmc->soc->regs->dpd_req;
regs             1176 drivers/soc/tegra/pmc.c 		*status = pmc->soc->regs->dpd2_status;
regs             1177 drivers/soc/tegra/pmc.c 		*request = pmc->soc->regs->dpd2_req;
regs             1789 drivers/soc/tegra/pmc.c 	value = tegra_pmc_readl(pmc, pmc->soc->regs->rst_status);
regs             1790 drivers/soc/tegra/pmc.c 	value &= pmc->soc->regs->rst_source_mask;
regs             1791 drivers/soc/tegra/pmc.c 	value >>= pmc->soc->regs->rst_source_shift;
regs             1806 drivers/soc/tegra/pmc.c 	value = tegra_pmc_readl(pmc, pmc->soc->regs->rst_status);
regs             1807 drivers/soc/tegra/pmc.c 	value &= pmc->soc->regs->rst_level_mask;
regs             1808 drivers/soc/tegra/pmc.c 	value >>= pmc->soc->regs->rst_level_shift;
regs             2266 drivers/soc/tegra/pmc.c 	.regs = &tegra20_pmc_regs,
regs             2313 drivers/soc/tegra/pmc.c 	.regs = &tegra20_pmc_regs,
regs             2364 drivers/soc/tegra/pmc.c 	.regs = &tegra20_pmc_regs,
regs             2475 drivers/soc/tegra/pmc.c 	.regs = &tegra20_pmc_regs,
regs             2581 drivers/soc/tegra/pmc.c 	.regs = &tegra20_pmc_regs,
regs             2656 drivers/soc/tegra/pmc.c 	struct resource regs;
regs             2667 drivers/soc/tegra/pmc.c 	of_address_to_resource(np, index, &regs);
regs             2669 drivers/soc/tegra/pmc.c 	wake = ioremap_nocache(regs.start, resource_size(&regs));
regs             2706 drivers/soc/tegra/pmc.c 	.regs = &tegra186_pmc_regs,
regs             2784 drivers/soc/tegra/pmc.c 	.regs = &tegra186_pmc_regs,
regs             2820 drivers/soc/tegra/pmc.c 	saved = readl(pmc->base + pmc->soc->regs->scratch0);
regs             2827 drivers/soc/tegra/pmc.c 	writel(value, pmc->base + pmc->soc->regs->scratch0);
regs             2828 drivers/soc/tegra/pmc.c 	value = readl(pmc->base + pmc->soc->regs->scratch0);
regs             2837 drivers/soc/tegra/pmc.c 	writel(saved, pmc->base + pmc->soc->regs->scratch0);
regs             2850 drivers/soc/tegra/pmc.c 	struct resource regs;
regs             2871 drivers/soc/tegra/pmc.c 			regs.start = 0x7000e400;
regs             2872 drivers/soc/tegra/pmc.c 			regs.end = 0x7000e7ff;
regs             2873 drivers/soc/tegra/pmc.c 			regs.flags = IORESOURCE_MEM;
regs             2875 drivers/soc/tegra/pmc.c 			pr_warn("Using memory region %pR\n", &regs);
regs             2888 drivers/soc/tegra/pmc.c 		if (of_address_to_resource(np, 0, &regs) < 0) {
regs             2895 drivers/soc/tegra/pmc.c 	pmc->base = ioremap_nocache(regs.start, resource_size(&regs));
regs              542 drivers/soc/ti/knav_dma.c 	void __iomem *regs;
regs              552 drivers/soc/ti/knav_dma.c 	regs = devm_ioremap_resource(kdev->dev, &res);
regs              553 drivers/soc/ti/knav_dma.c 	if (IS_ERR(regs))
regs              559 drivers/soc/ti/knav_dma.c 	return regs;
regs              124 drivers/soc/ti/knav_qmss.h 	struct knav_reg_pdsp_regs  __iomem		*regs;
regs              992 drivers/soc/ti/knav_qmss_queue.c 	struct knav_reg_region __iomem  *regs;
regs             1055 drivers/soc/ti/knav_qmss_queue.c 		regs = qmgr->reg_region + id;
regs             1056 drivers/soc/ti/knav_qmss_queue.c 		writel_relaxed((u32)region->dma_start, &regs->base);
regs             1057 drivers/soc/ti/knav_qmss_queue.c 		writel_relaxed(region->link_index, &regs->start_index);
regs             1059 drivers/soc/ti/knav_qmss_queue.c 			       &regs->size_count);
regs             1380 drivers/soc/ti/knav_qmss_queue.c 	void __iomem *regs;
regs             1390 drivers/soc/ti/knav_qmss_queue.c 	regs = devm_ioremap_resource(kdev->dev, &res);
regs             1391 drivers/soc/ti/knav_qmss_queue.c 	if (IS_ERR(regs))
regs             1394 drivers/soc/ti/knav_qmss_queue.c 	return regs;
regs             1515 drivers/soc/ti/knav_qmss_queue.c 		pdsp->regs =
regs             1526 drivers/soc/ti/knav_qmss_queue.c 		    IS_ERR(pdsp->regs) || IS_ERR(pdsp->intd)) {
regs             1533 drivers/soc/ti/knav_qmss_queue.c 			if (!IS_ERR(pdsp->regs))
regs             1534 drivers/soc/ti/knav_qmss_queue.c 				devm_iounmap(dev, pdsp->regs);
regs             1543 drivers/soc/ti/knav_qmss_queue.c 			pdsp->name, pdsp->command, pdsp->iram, pdsp->regs,
regs             1555 drivers/soc/ti/knav_qmss_queue.c 	val = readl_relaxed(&pdsp->regs->control) & ~PDSP_CTRL_ENABLE;
regs             1556 drivers/soc/ti/knav_qmss_queue.c 	writel_relaxed(val, &pdsp->regs->control);
regs             1557 drivers/soc/ti/knav_qmss_queue.c 	ret = knav_queue_pdsp_wait(&pdsp->regs->control, timeout,
regs             1619 drivers/soc/ti/knav_qmss_queue.c 	val  = readl_relaxed(&pdsp->regs->control);
regs             1621 drivers/soc/ti/knav_qmss_queue.c 	writel_relaxed(val, &pdsp->regs->control);
regs             1624 drivers/soc/ti/knav_qmss_queue.c 	val = readl_relaxed(&pdsp->regs->control) | PDSP_CTRL_ENABLE;
regs             1625 drivers/soc/ti/knav_qmss_queue.c 	writel_relaxed(val, &pdsp->regs->control);
regs              146 drivers/spi/atmel-quadspi.c 	void __iomem		*regs;
regs              296 drivers/spi/atmel-quadspi.c 		writel_relaxed(QSPI_MR_SMM, aq->regs + QSPI_MR);
regs              301 drivers/spi/atmel-quadspi.c 	(void)readl_relaxed(aq->regs + QSPI_SR);
regs              308 drivers/spi/atmel-quadspi.c 		writel_relaxed(iar, aq->regs + QSPI_IAR);
regs              310 drivers/spi/atmel-quadspi.c 			writel_relaxed(icr, aq->regs + QSPI_RICR);
regs              312 drivers/spi/atmel-quadspi.c 			writel_relaxed(icr, aq->regs + QSPI_WICR);
regs              313 drivers/spi/atmel-quadspi.c 		writel_relaxed(ifr, aq->regs + QSPI_IFR);
regs              319 drivers/spi/atmel-quadspi.c 		writel_relaxed(iar, aq->regs + QSPI_IAR);
regs              320 drivers/spi/atmel-quadspi.c 		writel_relaxed(icr, aq->regs + QSPI_ICR);
regs              321 drivers/spi/atmel-quadspi.c 		writel_relaxed(ifr, aq->regs + QSPI_IFR);
regs              348 drivers/spi/atmel-quadspi.c 		(void)readl_relaxed(aq->regs + QSPI_IFR);
regs              359 drivers/spi/atmel-quadspi.c 		writel_relaxed(QSPI_CR_LASTXFER, aq->regs + QSPI_CR);
regs              363 drivers/spi/atmel-quadspi.c 	sr = readl_relaxed(aq->regs + QSPI_SR);
regs              370 drivers/spi/atmel-quadspi.c 	writel_relaxed(QSPI_SR_CMD_COMPLETED, aq->regs + QSPI_IER);
regs              374 drivers/spi/atmel-quadspi.c 	writel_relaxed(QSPI_SR_CMD_COMPLETED, aq->regs + QSPI_IDR);
regs              413 drivers/spi/atmel-quadspi.c 	writel_relaxed(aq->scr, aq->regs + QSPI_SCR);
regs              421 drivers/spi/atmel-quadspi.c 	writel_relaxed(QSPI_CR_SWRST, aq->regs + QSPI_CR);
regs              424 drivers/spi/atmel-quadspi.c 	writel_relaxed(QSPI_MR_SMM, aq->regs + QSPI_MR);
regs              428 drivers/spi/atmel-quadspi.c 	writel_relaxed(QSPI_CR_QSPIEN, aq->regs + QSPI_CR);
regs              436 drivers/spi/atmel-quadspi.c 	status = readl_relaxed(aq->regs + QSPI_SR);
regs              437 drivers/spi/atmel-quadspi.c 	mask = readl_relaxed(aq->regs + QSPI_IMR);
regs              476 drivers/spi/atmel-quadspi.c 	aq->regs = devm_ioremap_resource(&pdev->dev, res);
regs              477 drivers/spi/atmel-quadspi.c 	if (IS_ERR(aq->regs)) {
regs              479 drivers/spi/atmel-quadspi.c 		err = PTR_ERR(aq->regs);
regs              572 drivers/spi/atmel-quadspi.c 	writel_relaxed(QSPI_CR_QSPIDIS, aq->regs + QSPI_CR);
regs              599 drivers/spi/atmel-quadspi.c 	writel_relaxed(aq->scr, aq->regs + QSPI_SCR);
regs               70 drivers/spi/spi-at91-usart.c 	readl_relaxed((port)->regs + US_##reg)
regs               72 drivers/spi/spi-at91-usart.c 	writel_relaxed((value), (port)->regs + US_##reg)
regs               75 drivers/spi/spi-at91-usart.c 	readb_relaxed((port)->regs + US_##reg)
regs               77 drivers/spi/spi-at91-usart.c 	writeb_relaxed((value), (port)->regs + US_##reg)
regs               82 drivers/spi/spi-at91-usart.c 	void __iomem		*regs;
regs              514 drivers/spi/spi-at91-usart.c 	struct resource *regs;
regs              521 drivers/spi/spi-at91-usart.c 	regs = platform_get_resource(to_platform_device(pdev->dev.parent),
regs              523 drivers/spi/spi-at91-usart.c 	if (!regs)
regs              562 drivers/spi/spi-at91-usart.c 	aus->regs = devm_ioremap_resource(&pdev->dev, regs);
regs              563 drivers/spi/spi-at91-usart.c 	if (IS_ERR(aus->regs)) {
regs              564 drivers/spi/spi-at91-usart.c 		ret = PTR_ERR(aus->regs);
regs              583 drivers/spi/spi-at91-usart.c 	aus->phybase = regs->start;
regs              601 drivers/spi/spi-at91-usart.c 		 &regs->start, irq);
regs              227 drivers/spi/spi-atmel.c 	__raw_readl((port)->regs + SPI_##reg)
regs              229 drivers/spi/spi-atmel.c 	__raw_writel((value), (port)->regs + SPI_##reg)
regs              232 drivers/spi/spi-atmel.c 	__raw_readw((port)->regs + SPI_##reg)
regs              234 drivers/spi/spi-atmel.c 	__raw_writew((value), (port)->regs + SPI_##reg)
regs              237 drivers/spi/spi-atmel.c 	__raw_readb((port)->regs + SPI_##reg)
regs              239 drivers/spi/spi-atmel.c 	__raw_writeb((value), (port)->regs + SPI_##reg)
regs              242 drivers/spi/spi-atmel.c 	readl_relaxed((port)->regs + SPI_##reg)
regs              244 drivers/spi/spi-atmel.c 	writel_relaxed((value), (port)->regs + SPI_##reg)
regs              247 drivers/spi/spi-atmel.c 	readw_relaxed((port)->regs + SPI_##reg)
regs              249 drivers/spi/spi-atmel.c 	writew_relaxed((value), (port)->regs + SPI_##reg)
regs              252 drivers/spi/spi-atmel.c 	readb_relaxed((port)->regs + SPI_##reg)
regs              254 drivers/spi/spi-atmel.c 	writeb_relaxed((value), (port)->regs + SPI_##reg)
regs              282 drivers/spi/spi-atmel.c 	void __iomem		*regs;
regs             1490 drivers/spi/spi-atmel.c 	struct resource		*regs;
regs             1500 drivers/spi/spi-atmel.c 	regs = platform_get_resource(pdev, IORESOURCE_MEM, 0);
regs             1501 drivers/spi/spi-atmel.c 	if (!regs)
regs             1539 drivers/spi/spi-atmel.c 	as->regs = devm_ioremap_resource(&pdev->dev, regs);
regs             1540 drivers/spi/spi-atmel.c 	if (IS_ERR(as->regs)) {
regs             1541 drivers/spi/spi-atmel.c 		ret = PTR_ERR(as->regs);
regs             1544 drivers/spi/spi-atmel.c 	as->phybase = regs->start;
regs             1641 drivers/spi/spi-atmel.c 			atmel_get_version(as), (unsigned long)regs->start,
regs               43 drivers/spi/spi-au1550.c 	volatile psc_spi_t __iomem *regs;
regs              127 drivers/spi/spi-au1550.c 	hw->regs->psc_spimsk =
regs              133 drivers/spi/spi-au1550.c 	hw->regs->psc_spievent =
regs              144 drivers/spi/spi-au1550.c 	hw->regs->psc_spipcr = PSC_SPIPCR_RC | PSC_SPIPCR_TC;
regs              147 drivers/spi/spi-au1550.c 		pcr = hw->regs->psc_spipcr;
regs              177 drivers/spi/spi-au1550.c 		cfg = hw->regs->psc_spicfg;
regs              179 drivers/spi/spi-au1550.c 		hw->regs->psc_spicfg = cfg & ~PSC_SPICFG_DE_ENABLE;
regs              207 drivers/spi/spi-au1550.c 		hw->regs->psc_spicfg = cfg | PSC_SPICFG_DE_ENABLE;
regs              210 drivers/spi/spi-au1550.c 			stat = hw->regs->psc_spistat;
regs              240 drivers/spi/spi-au1550.c 	cfg = hw->regs->psc_spicfg;
regs              242 drivers/spi/spi-au1550.c 	hw->regs->psc_spicfg = cfg & ~PSC_SPICFG_DE_ENABLE;
regs              256 drivers/spi/spi-au1550.c 	hw->regs->psc_spicfg = cfg;
regs              261 drivers/spi/spi-au1550.c 			stat = hw->regs->psc_spistat;
regs              384 drivers/spi/spi-au1550.c 	hw->regs->psc_spimsk = PSC_SPIMSK_SD;
regs              388 drivers/spi/spi-au1550.c 	hw->regs->psc_spipcr = PSC_SPIPCR_MS;
regs              416 drivers/spi/spi-au1550.c 	stat = hw->regs->psc_spistat;
regs              417 drivers/spi/spi-au1550.c 	evnt = hw->regs->psc_spievent;
regs              472 drivers/spi/spi-au1550.c 	u32 fifoword = hw->regs->psc_spitxrx & (u32)(mask);		\
regs              492 drivers/spi/spi-au1550.c 	hw->regs->psc_spitxrx = fifoword;				\
regs              527 drivers/spi/spi-au1550.c 		stat = hw->regs->psc_spistat;
regs              534 drivers/spi/spi-au1550.c 	hw->regs->psc_spimsk = mask;
regs              538 drivers/spi/spi-au1550.c 	hw->regs->psc_spipcr = PSC_SPIPCR_MS;
regs              551 drivers/spi/spi-au1550.c 	stat = hw->regs->psc_spistat;
regs              552 drivers/spi/spi-au1550.c 	evnt = hw->regs->psc_spievent;
regs              582 drivers/spi/spi-au1550.c 		stat = hw->regs->psc_spistat;
regs              603 drivers/spi/spi-au1550.c 	hw->regs->psc_spievent = PSC_SPIEVNT_RR | PSC_SPIEVNT_TR;
regs              622 drivers/spi/spi-au1550.c 		hw->regs->psc_spievent = PSC_SPIEVNT_TU | PSC_SPIEVNT_MD;
regs              624 drivers/spi/spi-au1550.c 		hw->regs->psc_spipcr = PSC_SPIPCR_MS;
regs              678 drivers/spi/spi-au1550.c 	hw->regs->psc_ctrl = PSC_CTRL_DISABLE;
regs              680 drivers/spi/spi-au1550.c 	hw->regs->psc_sel = PSC_SEL_PS_SPIMODE;
regs              683 drivers/spi/spi-au1550.c 	hw->regs->psc_spicfg = 0;
regs              686 drivers/spi/spi-au1550.c 	hw->regs->psc_ctrl = PSC_CTRL_ENABLE;
regs              690 drivers/spi/spi-au1550.c 		stat = hw->regs->psc_spistat;
regs              705 drivers/spi/spi-au1550.c 	hw->regs->psc_spicfg = cfg;
regs              710 drivers/spi/spi-au1550.c 	hw->regs->psc_spicfg |= PSC_SPICFG_DE_ENABLE;
regs              714 drivers/spi/spi-au1550.c 		stat = hw->regs->psc_spistat;
regs              791 drivers/spi/spi-au1550.c 	hw->regs = (psc_spi_t __iomem *)ioremap(r->start, sizeof(psc_spi_t));
regs              792 drivers/spi/spi-au1550.c 	if (!hw->regs) {
regs              911 drivers/spi/spi-au1550.c 	iounmap((void __iomem *)hw->regs);
regs              933 drivers/spi/spi-au1550.c 	iounmap((void __iomem *)hw->regs);
regs              124 drivers/spi/spi-bcm2835.c 	void __iomem *regs;
regs              196 drivers/spi/spi-bcm2835.c 	return readl(bs->regs + reg);
regs              201 drivers/spi/spi-bcm2835.c 	writel(val, bs->regs + reg);
regs             1299 drivers/spi/spi-bcm2835.c 	bs->regs = devm_platform_ioremap_resource(pdev, 0);
regs             1300 drivers/spi/spi-bcm2835.c 	if (IS_ERR(bs->regs)) {
regs             1301 drivers/spi/spi-bcm2835.c 		err = PTR_ERR(bs->regs);
regs               90 drivers/spi/spi-bcm2835aux.c 	void __iomem *regs;
regs              148 drivers/spi/spi-bcm2835aux.c 	return readl(bs->regs + reg);
regs              154 drivers/spi/spi-bcm2835aux.c 	writel(val, bs->regs + reg);
regs              526 drivers/spi/spi-bcm2835aux.c 	bs->regs = devm_platform_ioremap_resource(pdev, 0);
regs              527 drivers/spi/spi-bcm2835aux.c 	if (IS_ERR(bs->regs)) {
regs              528 drivers/spi/spi-bcm2835aux.c 		err = PTR_ERR(bs->regs);
regs              105 drivers/spi/spi-bcm63xx-hsspi.c 	void __iomem *regs;
regs              118 drivers/spi/spi-bcm63xx-hsspi.c 	reg = __raw_readl(bs->regs + HSSPI_GLOBAL_CTRL_REG);
regs              124 drivers/spi/spi-bcm63xx-hsspi.c 	__raw_writel(reg, bs->regs + HSSPI_GLOBAL_CTRL_REG);
regs              136 drivers/spi/spi-bcm63xx-hsspi.c 		     bs->regs + HSSPI_PROFILE_CLK_CTRL_REG(profile));
regs              138 drivers/spi/spi-bcm63xx-hsspi.c 	reg = __raw_readl(bs->regs + HSSPI_PROFILE_SIGNAL_CTRL_REG(profile));
regs              143 drivers/spi/spi-bcm63xx-hsspi.c 	__raw_writel(reg, bs->regs + HSSPI_PROFILE_SIGNAL_CTRL_REG(profile));
regs              147 drivers/spi/spi-bcm63xx-hsspi.c 	reg = __raw_readl(bs->regs + HSSPI_GLOBAL_CTRL_REG);
regs              151 drivers/spi/spi-bcm63xx-hsspi.c 	__raw_writel(reg, bs->regs + HSSPI_GLOBAL_CTRL_REG);
regs              184 drivers/spi/spi-bcm63xx-hsspi.c 		     bs->regs + HSSPI_PROFILE_MODE_CTRL_REG(chip_select));
regs              199 drivers/spi/spi-bcm63xx-hsspi.c 			     bs->regs + HSSPI_INT_MASK_REG);
regs              205 drivers/spi/spi-bcm63xx-hsspi.c 			     bs->regs + HSSPI_PINGPONG_COMMAND_REG(0));
regs              228 drivers/spi/spi-bcm63xx-hsspi.c 	reg = __raw_readl(bs->regs +
regs              235 drivers/spi/spi-bcm63xx-hsspi.c 	__raw_writel(reg, bs->regs +
regs              239 drivers/spi/spi-bcm63xx-hsspi.c 	reg = __raw_readl(bs->regs + HSSPI_GLOBAL_CTRL_REG);
regs              247 drivers/spi/spi-bcm63xx-hsspi.c 		__raw_writel(reg, bs->regs + HSSPI_GLOBAL_CTRL_REG);
regs              302 drivers/spi/spi-bcm63xx-hsspi.c 	reg = __raw_readl(bs->regs + HSSPI_GLOBAL_CTRL_REG);
regs              305 drivers/spi/spi-bcm63xx-hsspi.c 	__raw_writel(reg, bs->regs + HSSPI_GLOBAL_CTRL_REG);
regs              318 drivers/spi/spi-bcm63xx-hsspi.c 	if (__raw_readl(bs->regs + HSSPI_INT_STATUS_MASKED_REG) == 0)
regs              321 drivers/spi/spi-bcm63xx-hsspi.c 	__raw_writel(HSSPI_INT_CLEAR_ALL, bs->regs + HSSPI_INT_STATUS_REG);
regs              322 drivers/spi/spi-bcm63xx-hsspi.c 	__raw_writel(0, bs->regs + HSSPI_INT_MASK_REG);
regs              333 drivers/spi/spi-bcm63xx-hsspi.c 	void __iomem *regs;
regs              343 drivers/spi/spi-bcm63xx-hsspi.c 	regs = devm_platform_ioremap_resource(pdev, 0);
regs              344 drivers/spi/spi-bcm63xx-hsspi.c 	if (IS_ERR(regs))
regs              345 drivers/spi/spi-bcm63xx-hsspi.c 		return PTR_ERR(regs);
regs              386 drivers/spi/spi-bcm63xx-hsspi.c 	bs->regs = regs;
regs              388 drivers/spi/spi-bcm63xx-hsspi.c 	bs->fifo = (u8 __iomem *)(bs->regs + HSSPI_FIFO_REG(0));
regs              414 drivers/spi/spi-bcm63xx-hsspi.c 	__raw_writel(0, bs->regs + HSSPI_INT_MASK_REG);
regs              417 drivers/spi/spi-bcm63xx-hsspi.c 	__raw_writel(HSSPI_INT_CLEAR_ALL, bs->regs + HSSPI_INT_STATUS_REG);
regs              420 drivers/spi/spi-bcm63xx-hsspi.c 	reg = __raw_readl(bs->regs + HSSPI_GLOBAL_CTRL_REG);
regs              423 drivers/spi/spi-bcm63xx-hsspi.c 		     bs->regs + HSSPI_GLOBAL_CTRL_REG);
regs              454 drivers/spi/spi-bcm63xx-hsspi.c 	__raw_writel(0, bs->regs + HSSPI_INT_MASK_REG);
regs              136 drivers/spi/spi-bcm63xx.c 	void __iomem		*regs;
regs              156 drivers/spi/spi-bcm63xx.c 	return readb(bs->regs + bs->reg_offsets[offset]);
regs              163 drivers/spi/spi-bcm63xx.c 	return ioread16be(bs->regs + bs->reg_offsets[offset]);
regs              165 drivers/spi/spi-bcm63xx.c 	return readw(bs->regs + bs->reg_offsets[offset]);
regs              172 drivers/spi/spi-bcm63xx.c 	writeb(value, bs->regs + bs->reg_offsets[offset]);
regs              179 drivers/spi/spi-bcm63xx.c 	iowrite16be(value, bs->regs + bs->reg_offsets[offset]);
regs              181 drivers/spi/spi-bcm63xx.c 	writew(value, bs->regs + bs->reg_offsets[offset]);
regs              545 drivers/spi/spi-bcm63xx.c 	bs->regs = devm_ioremap_resource(&pdev->dev, r);
regs              546 drivers/spi/spi-bcm63xx.c 	if (IS_ERR(bs->regs)) {
regs              547 drivers/spi/spi-bcm63xx.c 		ret = PTR_ERR(bs->regs);
regs              574 drivers/spi/spi-bcm63xx.c 	bs->tx_io = (u8 *)(bs->regs + bs->reg_offsets[SPI_MSG_DATA]);
regs              575 drivers/spi/spi-bcm63xx.c 	bs->rx_io = (const u8 *)(bs->regs + bs->reg_offsets[SPI_RX_DATA]);
regs              115 drivers/spi/spi-cadence.c 	void __iomem *regs;
regs              130 drivers/spi/spi-cadence.c 	return readl_relaxed(xspi->regs + offset);
regs              135 drivers/spi/spi-cadence.c 	writel_relaxed(val, xspi->regs + offset);
regs              487 drivers/spi/spi-cadence.c 	xspi->regs = devm_platform_ioremap_resource(pdev, 0);
regs              488 drivers/spi/spi-cadence.c 	if (IS_ERR(xspi->regs)) {
regs              489 drivers/spi/spi-cadence.c 		ret = PTR_ERR(xspi->regs);
regs               41 drivers/spi/spi-cavium-octeon.c 	p->regs.config = 0;
regs               42 drivers/spi/spi-cavium-octeon.c 	p->regs.status = 0x08;
regs               43 drivers/spi/spi-cavium-octeon.c 	p->regs.tx = 0x10;
regs               44 drivers/spi/spi-cavium-octeon.c 	p->regs.data = 0x80;
regs               47 drivers/spi/spi-cavium-thunderx.c 	p->regs.config = 0x1000;
regs               48 drivers/spi/spi-cavium-thunderx.c 	p->regs.status = 0x1008;
regs               49 drivers/spi/spi-cavium-thunderx.c 	p->regs.tx = 0x1010;
regs               50 drivers/spi/spi-cavium-thunderx.c 	p->regs.data = 0x1080;
regs               22 drivers/spi/spi-cavium.h 	struct octeon_spi_regs regs;
regs               26 drivers/spi/spi-cavium.h #define OCTEON_SPI_CFG(x)	(x->regs.config)
regs               27 drivers/spi/spi-cavium.h #define OCTEON_SPI_STS(x)	(x->regs.status)
regs               28 drivers/spi/spi-cavium.h #define OCTEON_SPI_TX(x)	(x->regs.tx)
regs               29 drivers/spi/spi-cavium.h #define OCTEON_SPI_DAT0(x)	(x->regs.data)
regs              150 drivers/spi/spi-dw-mmio.c 	dws->regs = devm_platform_ioremap_resource(pdev, 0);
regs              151 drivers/spi/spi-dw-mmio.c 	if (IS_ERR(dws->regs)) {
regs              153 drivers/spi/spi-dw-mmio.c 		return PTR_ERR(dws->regs);
regs               65 drivers/spi/spi-dw-pci.c 	dws->regs = pcim_iomap_table(pdev)[pci_bar];
regs              107 drivers/spi/spi-dw.h 	void __iomem		*regs;
regs              151 drivers/spi/spi-dw.h 	return __raw_readl(dws->regs + offset);
regs              156 drivers/spi/spi-dw.h 	return __raw_readw(dws->regs + offset);
regs              161 drivers/spi/spi-dw.h 	__raw_writel(val, dws->regs + offset);
regs              166 drivers/spi/spi-dw.h 	__raw_writew(val, dws->regs + offset);
regs               93 drivers/spi/spi-img-spfi.c 	void __iomem *regs;
regs              111 drivers/spi/spi-img-spfi.c 	return readl(spfi->regs + reg);
regs              116 drivers/spi/spi-img-spfi.c 	writel(val, spfi->regs + reg);
regs              597 drivers/spi/spi-img-spfi.c 	spfi->regs = devm_ioremap_resource(spfi->dev, res);
regs              598 drivers/spi/spi-img-spfi.c 	if (IS_ERR(spfi->regs)) {
regs              599 drivers/spi/spi-img-spfi.c 		ret = PTR_ERR(spfi->regs);
regs               62 drivers/spi/spi-mpc52xx.c 	void __iomem *regs;
regs              103 drivers/spi/spi-mpc52xx.c 		out_8(ms->regs + SPI_PORTDATA, value ? 0 : 0x08);
regs              125 drivers/spi/spi-mpc52xx.c 		out_8(ms->regs + SPI_DATA, *ms->tx_buf++);
regs              127 drivers/spi/spi-mpc52xx.c 		out_8(ms->regs + SPI_DATA, 0);
regs              170 drivers/spi/spi-mpc52xx.c 	out_8(ms->regs + SPI_CTRL1, ctrl1);
regs              189 drivers/spi/spi-mpc52xx.c 	out_8(ms->regs + SPI_BRR, sppr << 4 | spr); /* Set speed */
regs              229 drivers/spi/spi-mpc52xx.c 		out_8(ms->regs + SPI_DATA, data); /* try again */
regs              259 drivers/spi/spi-mpc52xx.c 		out_8(ms->regs + SPI_DATA, *ms->tx_buf++);
regs              261 drivers/spi/spi-mpc52xx.c 		out_8(ms->regs + SPI_DATA, 0);
regs              322 drivers/spi/spi-mpc52xx.c 		status = in_8(ms->regs + SPI_STATUS);
regs              323 drivers/spi/spi-mpc52xx.c 		data = in_8(ms->regs + SPI_DATA);
regs              383 drivers/spi/spi-mpc52xx.c 	void __iomem *regs;
regs              390 drivers/spi/spi-mpc52xx.c 	regs = of_iomap(op->dev.of_node, 0);
regs              391 drivers/spi/spi-mpc52xx.c 	if (!regs)
regs              396 drivers/spi/spi-mpc52xx.c 	out_8(regs + SPI_CTRL1, ctrl1);
regs              397 drivers/spi/spi-mpc52xx.c 	out_8(regs + SPI_CTRL2, 0x0);
regs              398 drivers/spi/spi-mpc52xx.c 	out_8(regs + SPI_DATADIR, 0xe);	/* Set output pins */
regs              399 drivers/spi/spi-mpc52xx.c 	out_8(regs + SPI_PORTDATA, 0x8);	/* Deassert /SS signal */
regs              405 drivers/spi/spi-mpc52xx.c 	in_8(regs + SPI_STATUS);
regs              406 drivers/spi/spi-mpc52xx.c 	out_8(regs + SPI_CTRL1, ctrl1);
regs              408 drivers/spi/spi-mpc52xx.c 	in_8(regs + SPI_DATA);
regs              409 drivers/spi/spi-mpc52xx.c 	if (in_8(regs + SPI_STATUS) & SPI_STATUS_MODF) {
regs              431 drivers/spi/spi-mpc52xx.c 	ms->regs = regs;
regs              512 drivers/spi/spi-mpc52xx.c 	iounmap(regs);
regs              530 drivers/spi/spi-mpc52xx.c 	iounmap(ms->regs);
regs              173 drivers/spi/spi-mxic.c 	void __iomem *regs;
regs              209 drivers/spi/spi-mxic.c 	       mxic->regs + IDLY_CODE(0));
regs              214 drivers/spi/spi-mxic.c 	       mxic->regs + IDLY_CODE(1));
regs              273 drivers/spi/spi-mxic.c 	writel(0, mxic->regs + DATA_STROB);
regs              274 drivers/spi/spi-mxic.c 	writel(INT_STS_ALL, mxic->regs + INT_STS_EN);
regs              275 drivers/spi/spi-mxic.c 	writel(0, mxic->regs + HC_EN);
regs              276 drivers/spi/spi-mxic.c 	writel(0, mxic->regs + LRD_CFG);
regs              277 drivers/spi/spi-mxic.c 	writel(0, mxic->regs + LRD_CTRL);
regs              280 drivers/spi/spi-mxic.c 	       mxic->regs + HC_CFG);
regs              300 drivers/spi/spi-mxic.c 		ret = readl_poll_timeout(mxic->regs + INT_STS, sts,
regs              305 drivers/spi/spi-mxic.c 		writel(data, mxic->regs + TXD(nbytes % 4));
regs              308 drivers/spi/spi-mxic.c 			ret = readl_poll_timeout(mxic->regs + INT_STS, sts,
regs              314 drivers/spi/spi-mxic.c 			ret = readl_poll_timeout(mxic->regs + INT_STS, sts,
regs              320 drivers/spi/spi-mxic.c 			data = readl(mxic->regs + RXD);
regs              323 drivers/spi/spi-mxic.c 			WARN_ON(readl(mxic->regs + INT_STS) & INT_RX_NOT_EMPTY);
regs              325 drivers/spi/spi-mxic.c 			readl(mxic->regs + RXD);
regs              327 drivers/spi/spi-mxic.c 		WARN_ON(readl(mxic->regs + INT_STS) & INT_RX_NOT_EMPTY);
regs              373 drivers/spi/spi-mxic.c 	       mxic->regs + HC_CFG);
regs              374 drivers/spi/spi-mxic.c 	writel(HC_EN_BIT, mxic->regs + HC_EN);
regs              391 drivers/spi/spi-mxic.c 	writel(ss_ctrl, mxic->regs + SS_CTRL(mem->spi->chip_select));
regs              393 drivers/spi/spi-mxic.c 	writel(readl(mxic->regs + HC_CFG) | HC_CFG_MAN_CS_ASSERT,
regs              394 drivers/spi/spi-mxic.c 	       mxic->regs + HC_CFG);
regs              419 drivers/spi/spi-mxic.c 	writel(readl(mxic->regs + HC_CFG) & ~HC_CFG_MAN_CS_ASSERT,
regs              420 drivers/spi/spi-mxic.c 	       mxic->regs + HC_CFG);
regs              421 drivers/spi/spi-mxic.c 	writel(0, mxic->regs + HC_EN);
regs              436 drivers/spi/spi-mxic.c 		writel(readl(mxic->regs + HC_CFG) | HC_CFG_MAN_CS_EN,
regs              437 drivers/spi/spi-mxic.c 		       mxic->regs + HC_CFG);
regs              438 drivers/spi/spi-mxic.c 		writel(HC_EN_BIT, mxic->regs + HC_EN);
regs              439 drivers/spi/spi-mxic.c 		writel(readl(mxic->regs + HC_CFG) | HC_CFG_MAN_CS_ASSERT,
regs              440 drivers/spi/spi-mxic.c 		       mxic->regs + HC_CFG);
regs              442 drivers/spi/spi-mxic.c 		writel(readl(mxic->regs + HC_CFG) & ~HC_CFG_MAN_CS_ASSERT,
regs              443 drivers/spi/spi-mxic.c 		       mxic->regs + HC_CFG);
regs              444 drivers/spi/spi-mxic.c 		writel(0, mxic->regs + HC_EN);
regs              482 drivers/spi/spi-mxic.c 	       mxic->regs + SS_CTRL(0));
regs              554 drivers/spi/spi-mxic.c 	mxic->regs = devm_ioremap_resource(&pdev->dev, res);
regs              555 drivers/spi/spi-mxic.c 	if (IS_ERR(mxic->regs))
regs              556 drivers/spi/spi-mxic.c 		return PTR_ERR(mxic->regs);
regs              139 drivers/spi/spi-pic32-sqi.c 	void __iomem		*regs;
regs              173 drivers/spi/spi-pic32-sqi.c 	val = readl(sqi->regs + PESQI_CLK_CTRL_REG);
regs              177 drivers/spi/spi-pic32-sqi.c 	writel(val, sqi->regs + PESQI_CLK_CTRL_REG);
regs              180 drivers/spi/spi-pic32-sqi.c 	return readl_poll_timeout(sqi->regs + PESQI_CLK_CTRL_REG, val,
regs              188 drivers/spi/spi-pic32-sqi.c 	writel(mask, sqi->regs + PESQI_INT_ENABLE_REG);
regs              190 drivers/spi/spi-pic32-sqi.c 	writel(mask, sqi->regs + PESQI_INT_SIGEN_REG);
regs              195 drivers/spi/spi-pic32-sqi.c 	writel(0, sqi->regs + PESQI_INT_ENABLE_REG);
regs              196 drivers/spi/spi-pic32-sqi.c 	writel(0, sqi->regs + PESQI_INT_SIGEN_REG);
regs              204 drivers/spi/spi-pic32-sqi.c 	enable = readl(sqi->regs + PESQI_INT_ENABLE_REG);
regs              205 drivers/spi/spi-pic32-sqi.c 	status = readl(sqi->regs + PESQI_INT_STAT_REG);
regs              235 drivers/spi/spi-pic32-sqi.c 	writel(enable, sqi->regs + PESQI_INT_ENABLE_REG);
regs              324 drivers/spi/spi-pic32-sqi.c 	pic32_setbits(sqi->regs + PESQI_CONF_REG, PESQI_EN);
regs              326 drivers/spi/spi-pic32-sqi.c 	pic32_setbits(sqi->regs + PESQI_CLK_CTRL_REG, PESQI_CLK_EN);
regs              371 drivers/spi/spi-pic32-sqi.c 			val = readl(sqi->regs + PESQI_CONF_REG);
regs              378 drivers/spi/spi-pic32-sqi.c 			writel(val, sqi->regs + PESQI_CONF_REG);
regs              403 drivers/spi/spi-pic32-sqi.c 	writel(rdesc->bd_dma, sqi->regs + PESQI_BD_BASE_ADDR_REG);
regs              410 drivers/spi/spi-pic32-sqi.c 	writel(val, sqi->regs + PESQI_BD_CTRL_REG);
regs              425 drivers/spi/spi-pic32-sqi.c 	writel(0, sqi->regs + PESQI_BD_CTRL_REG);
regs              447 drivers/spi/spi-pic32-sqi.c 	pic32_clrbits(sqi->regs + PESQI_CLK_CTRL_REG, PESQI_CLK_EN);
regs              449 drivers/spi/spi-pic32-sqi.c 	pic32_clrbits(sqi->regs + PESQI_CONF_REG, PESQI_EN);
regs              519 drivers/spi/spi-pic32-sqi.c 	writel(PESQI_SOFT_RESET, sqi->regs + PESQI_CONF_REG);
regs              522 drivers/spi/spi-pic32-sqi.c 	readl_poll_timeout_atomic(sqi->regs + PESQI_CONF_REG, val,
regs              532 drivers/spi/spi-pic32-sqi.c 	val = readl(sqi->regs + PESQI_CMD_THRES_REG);
regs              536 drivers/spi/spi-pic32-sqi.c 	writel(val, sqi->regs + PESQI_CMD_THRES_REG);
regs              538 drivers/spi/spi-pic32-sqi.c 	val = readl(sqi->regs + PESQI_INT_THRES_REG);
regs              542 drivers/spi/spi-pic32-sqi.c 	writel(val, sqi->regs + PESQI_INT_THRES_REG);
regs              545 drivers/spi/spi-pic32-sqi.c 	val = readl(sqi->regs + PESQI_CONF_REG);
regs              550 drivers/spi/spi-pic32-sqi.c 	writel(val, sqi->regs + PESQI_CONF_REG);
regs              560 drivers/spi/spi-pic32-sqi.c 	writel(val, sqi->regs + PESQI_CONF_REG);
regs              563 drivers/spi/spi-pic32-sqi.c 	writel(0, sqi->regs + PESQI_BD_POLL_CTRL_REG);
regs              582 drivers/spi/spi-pic32-sqi.c 	sqi->regs = devm_platform_ioremap_resource(pdev, 0);
regs              583 drivers/spi/spi-pic32-sqi.c 	if (IS_ERR(sqi->regs)) {
regs              584 drivers/spi/spi-pic32-sqi.c 		ret = PTR_ERR(sqi->regs);
regs               97 drivers/spi/spi-pic32.c 	struct pic32_spi_regs __iomem *regs;
regs              125 drivers/spi/spi-pic32.c 	writel(CTRL_ON | CTRL_SIDL, &pic32s->regs->ctrl_set);
regs              130 drivers/spi/spi-pic32.c 	writel(CTRL_ON | CTRL_SIDL, &pic32s->regs->ctrl_clr);
regs              143 drivers/spi/spi-pic32.c 	writel(div & BAUD_MASK, &pic32s->regs->baud);
regs              148 drivers/spi/spi-pic32.c 	u32 sr = readl(&pic32s->regs->status);
regs              155 drivers/spi/spi-pic32.c 	u32 sr = readl(&pic32s->regs->status);
regs              195 drivers/spi/spi-pic32.c 		v = read##__bwl(&pic32s->regs->buf);		\
regs              210 drivers/spi/spi-pic32.c 		write##__bwl(v, &pic32s->regs->buf);		\
regs              238 drivers/spi/spi-pic32.c 	status = readl(&pic32s->regs->status);
regs              242 drivers/spi/spi-pic32.c 		writel(STAT_RX_OV, &pic32s->regs->status_clr);
regs              243 drivers/spi/spi-pic32.c 		writel(STAT_TX_UR, &pic32s->regs->status_clr);
regs              422 drivers/spi/spi-pic32.c 	v = readl(&pic32s->regs->ctrl);
regs              425 drivers/spi/spi-pic32.c 	writel(v, &pic32s->regs->ctrl);
regs              464 drivers/spi/spi-pic32.c 		val = readl(&pic32s->regs->ctrl);
regs              478 drivers/spi/spi-pic32.c 		writel(val, &pic32s->regs->ctrl);
regs              667 drivers/spi/spi-pic32.c 	ctrl = readl(&pic32s->regs->ctrl);
regs              692 drivers/spi/spi-pic32.c 	writel(ctrl, &pic32s->regs->ctrl);
regs              696 drivers/spi/spi-pic32.c 	writel(ctrl, &pic32s->regs->ctrl2_set);
regs              706 drivers/spi/spi-pic32.c 	pic32s->regs = devm_ioremap_resource(&pdev->dev, mem);
regs              707 drivers/spi/spi-pic32.c 	if (IS_ERR(pic32s->regs))
regs              708 drivers/spi/spi-pic32.c 		return PTR_ERR(pic32s->regs);
regs              132 drivers/spi/spi-ppc4xx.c 	struct spi_ppc4xx_regs __iomem *regs; /* pointer to the registers */
regs              159 drivers/spi/spi-ppc4xx.c 	out_8(&hw->regs->txd, data);
regs              160 drivers/spi/spi-ppc4xx.c 	out_8(&hw->regs->cr, SPI_PPC4XX_CR_STR);
regs              197 drivers/spi/spi-ppc4xx.c 	out_8(&hw->regs->mode, cs->mode);
regs              207 drivers/spi/spi-ppc4xx.c 	if (in_8(&hw->regs->cdm) != cdm)
regs              208 drivers/spi/spi-ppc4xx.c 		out_8(&hw->regs->cdm, cdm);
regs              293 drivers/spi/spi-ppc4xx.c 	status = in_8(&hw->regs->sr);
regs              310 drivers/spi/spi-ppc4xx.c 			lstatus = in_8(&hw->regs->sr);
regs              319 drivers/spi/spi-ppc4xx.c 			status = in_8(&hw->regs->sr);
regs              328 drivers/spi/spi-ppc4xx.c 	data = in_8(&hw->regs->rxd);
regs              336 drivers/spi/spi-ppc4xx.c 		out_8(&hw->regs->txd, data);
regs              337 drivers/spi/spi-ppc4xx.c 		out_8(&hw->regs->cr, SPI_PPC4XX_CR_STR);
regs              513 drivers/spi/spi-ppc4xx.c 	hw->regs = ioremap(hw->mapbase, sizeof(struct spi_ppc4xx_regs));
regs              515 drivers/spi/spi-ppc4xx.c 	if (!hw->regs) {
regs              536 drivers/spi/spi-ppc4xx.c 	iounmap(hw->regs);
regs              558 drivers/spi/spi-ppc4xx.c 	iounmap(hw->regs);
regs              166 drivers/spi/spi-rockchip.c 	void __iomem *regs;
regs              190 drivers/spi/spi-rockchip.c 	writel_relaxed((enable ? 1U : 0U), rs->regs + ROCKCHIP_SPI_SSIENR);
regs              198 drivers/spi/spi-rockchip.c 		if (!(readl_relaxed(rs->regs + ROCKCHIP_SPI_SR) & SR_BUSY))
regs              210 drivers/spi/spi-rockchip.c 		writel_relaxed(fifo, rs->regs + ROCKCHIP_SPI_TXFTLR);
regs              211 drivers/spi/spi-rockchip.c 		if (fifo != readl_relaxed(rs->regs + ROCKCHIP_SPI_TXFTLR))
regs              215 drivers/spi/spi-rockchip.c 	writel_relaxed(0, rs->regs + ROCKCHIP_SPI_TXFTLR);
regs              234 drivers/spi/spi-rockchip.c 		ROCKCHIP_SPI_SET_BITS(rs->regs + ROCKCHIP_SPI_SER,
regs              237 drivers/spi/spi-rockchip.c 		ROCKCHIP_SPI_CLR_BITS(rs->regs + ROCKCHIP_SPI_SER,
regs              258 drivers/spi/spi-rockchip.c 	writel_relaxed(0, rs->regs + ROCKCHIP_SPI_IMR);
regs              269 drivers/spi/spi-rockchip.c 	u32 tx_free = rs->fifo_len - readl_relaxed(rs->regs + ROCKCHIP_SPI_TXFLR);
regs              281 drivers/spi/spi-rockchip.c 		writel_relaxed(txw, rs->regs + ROCKCHIP_SPI_TXDR);
regs              288 drivers/spi/spi-rockchip.c 	u32 words = readl_relaxed(rs->regs + ROCKCHIP_SPI_RXFLR);
regs              297 drivers/spi/spi-rockchip.c 		u32 ftl = readl_relaxed(rs->regs + ROCKCHIP_SPI_RXFTLR) + 1;
regs              307 drivers/spi/spi-rockchip.c 		u32 rxw = readl_relaxed(rs->regs + ROCKCHIP_SPI_RXDR);
regs              331 drivers/spi/spi-rockchip.c 		writel_relaxed(0, rs->regs + ROCKCHIP_SPI_IMR);
regs              346 drivers/spi/spi-rockchip.c 	writel_relaxed(INT_RF_FULL, rs->regs + ROCKCHIP_SPI_IMR);
regs              509 drivers/spi/spi-rockchip.c 	writel_relaxed(cr0, rs->regs + ROCKCHIP_SPI_CTRLR0);
regs              510 drivers/spi/spi-rockchip.c 	writel_relaxed(cr1, rs->regs + ROCKCHIP_SPI_CTRLR1);
regs              517 drivers/spi/spi-rockchip.c 		writel_relaxed(xfer->len - 1, rs->regs + ROCKCHIP_SPI_RXFTLR);
regs              519 drivers/spi/spi-rockchip.c 		writel_relaxed(rs->fifo_len / 2 - 1, rs->regs + ROCKCHIP_SPI_RXFTLR);
regs              521 drivers/spi/spi-rockchip.c 	writel_relaxed(rs->fifo_len / 2, rs->regs + ROCKCHIP_SPI_DMATDLR);
regs              522 drivers/spi/spi-rockchip.c 	writel_relaxed(0, rs->regs + ROCKCHIP_SPI_DMARDLR);
regs              523 drivers/spi/spi-rockchip.c 	writel_relaxed(dmacr, rs->regs + ROCKCHIP_SPI_DMACR);
regs              530 drivers/spi/spi-rockchip.c 			rs->regs + ROCKCHIP_SPI_BAUDR);
regs              546 drivers/spi/spi-rockchip.c 	WARN_ON(readl_relaxed(rs->regs + ROCKCHIP_SPI_SSIENR) &&
regs              547 drivers/spi/spi-rockchip.c 		(readl_relaxed(rs->regs + ROCKCHIP_SPI_SR) & SR_BUSY));
regs              603 drivers/spi/spi-rockchip.c 	rs->regs = devm_ioremap_resource(&pdev->dev, mem);
regs              604 drivers/spi/spi-rockchip.c 	if (IS_ERR(rs->regs)) {
regs              605 drivers/spi/spi-rockchip.c 		ret =  PTR_ERR(rs->regs);
regs               56 drivers/spi/spi-s3c24xx.c 	void __iomem		*regs;
regs              104 drivers/spi/spi-s3c24xx.c 		writeb(cs->spcon, hw->regs + S3C2410_SPCON);
regs              109 drivers/spi/spi-s3c24xx.c 		       hw->regs + S3C2410_SPCON);
regs              168 drivers/spi/spi-s3c24xx.c 		writeb(cs->sppre, hw->regs + S3C2410_SPPRE);
regs              261 drivers/spi/spi-s3c24xx.c 	struct pt_regs regs;
regs              282 drivers/spi/spi-s3c24xx.c 	regs.uregs[fiq_rspi] = (long)hw->regs;
regs              283 drivers/spi/spi-s3c24xx.c 	regs.uregs[fiq_rrx]  = (long)hw->rx;
regs              284 drivers/spi/spi-s3c24xx.c 	regs.uregs[fiq_rtx]  = (long)hw->tx + 1;
regs              285 drivers/spi/spi-s3c24xx.c 	regs.uregs[fiq_rcount] = hw->len - 1;
regs              286 drivers/spi/spi-s3c24xx.c 	regs.uregs[fiq_rirq] = (long)S3C24XX_VA_IRQ;
regs              288 drivers/spi/spi-s3c24xx.c 	set_fiq_regs(&regs);
regs              414 drivers/spi/spi-s3c24xx.c 	writeb(hw_txbyte(hw, 0), hw->regs + S3C2410_SPTDAT);
regs              423 drivers/spi/spi-s3c24xx.c 	unsigned int spsta = readb(hw->regs + S3C2410_SPSTA);
regs              442 drivers/spi/spi-s3c24xx.c 			hw->rx[count] = readb(hw->regs + S3C2410_SPRDAT);
regs              447 drivers/spi/spi-s3c24xx.c 			writeb(hw_txbyte(hw, count), hw->regs + S3C2410_SPTDAT);
regs              455 drivers/spi/spi-s3c24xx.c 			hw->rx[hw->len-1] = readb(hw->regs + S3C2410_SPRDAT);
regs              472 drivers/spi/spi-s3c24xx.c 	writeb(0xff, hw->regs + S3C2410_SPPRE);
regs              473 drivers/spi/spi-s3c24xx.c 	writeb(SPPIN_DEFAULT, hw->regs + S3C2410_SPPIN);
regs              474 drivers/spi/spi-s3c24xx.c 	writeb(SPCON_DEFAULT, hw->regs + S3C2410_SPCON);
regs              538 drivers/spi/spi-s3c24xx.c 	hw->regs = devm_platform_ioremap_resource(pdev, 0);
regs              539 drivers/spi/spi-s3c24xx.c 	if (IS_ERR(hw->regs)) {
regs              540 drivers/spi/spi-s3c24xx.c 		err = PTR_ERR(hw->regs);
regs              172 drivers/spi/spi-s3c64xx.c 	void __iomem                    *regs;
regs              193 drivers/spi/spi-s3c64xx.c 	void __iomem *regs = sdd->regs;
regs              197 drivers/spi/spi-s3c64xx.c 	writel(0, regs + S3C64XX_SPI_PACKET_CNT);
regs              199 drivers/spi/spi-s3c64xx.c 	val = readl(regs + S3C64XX_SPI_CH_CFG);
regs              201 drivers/spi/spi-s3c64xx.c 	writel(val, regs + S3C64XX_SPI_CH_CFG);
regs              203 drivers/spi/spi-s3c64xx.c 	val = readl(regs + S3C64XX_SPI_CH_CFG);
regs              206 drivers/spi/spi-s3c64xx.c 	writel(val, regs + S3C64XX_SPI_CH_CFG);
regs              211 drivers/spi/spi-s3c64xx.c 		val = readl(regs + S3C64XX_SPI_STATUS);
regs              220 drivers/spi/spi-s3c64xx.c 		val = readl(regs + S3C64XX_SPI_STATUS);
regs              222 drivers/spi/spi-s3c64xx.c 			readl(regs + S3C64XX_SPI_RX_DATA);
regs              230 drivers/spi/spi-s3c64xx.c 	val = readl(regs + S3C64XX_SPI_CH_CFG);
regs              232 drivers/spi/spi-s3c64xx.c 	writel(val, regs + S3C64XX_SPI_CH_CFG);
regs              234 drivers/spi/spi-s3c64xx.c 	val = readl(regs + S3C64XX_SPI_MODE_CFG);
regs              236 drivers/spi/spi-s3c64xx.c 	writel(val, regs + S3C64XX_SPI_MODE_CFG);
regs              314 drivers/spi/spi-s3c64xx.c 			writel(0, sdd->regs + S3C64XX_SPI_SLAVE_SEL);
regs              316 drivers/spi/spi-s3c64xx.c 			u32 ssel = readl(sdd->regs + S3C64XX_SPI_SLAVE_SEL);
regs              320 drivers/spi/spi-s3c64xx.c 			writel(ssel, sdd->regs + S3C64XX_SPI_SLAVE_SEL);
regs              325 drivers/spi/spi-s3c64xx.c 			       sdd->regs + S3C64XX_SPI_SLAVE_SEL);
regs              354 drivers/spi/spi-s3c64xx.c 	void __iomem *regs = sdd->regs;
regs              357 drivers/spi/spi-s3c64xx.c 	modecfg = readl(regs + S3C64XX_SPI_MODE_CFG);
regs              360 drivers/spi/spi-s3c64xx.c 	chcfg = readl(regs + S3C64XX_SPI_CH_CFG);
regs              373 drivers/spi/spi-s3c64xx.c 					regs + S3C64XX_SPI_PACKET_CNT);
regs              385 drivers/spi/spi-s3c64xx.c 				iowrite32_rep(regs + S3C64XX_SPI_TX_DATA,
regs              389 drivers/spi/spi-s3c64xx.c 				iowrite16_rep(regs + S3C64XX_SPI_TX_DATA,
regs              393 drivers/spi/spi-s3c64xx.c 				iowrite8_rep(regs + S3C64XX_SPI_TX_DATA,
regs              412 drivers/spi/spi-s3c64xx.c 					regs + S3C64XX_SPI_PACKET_CNT);
regs              417 drivers/spi/spi-s3c64xx.c 	writel(modecfg, regs + S3C64XX_SPI_MODE_CFG);
regs              418 drivers/spi/spi-s3c64xx.c 	writel(chcfg, regs + S3C64XX_SPI_CH_CFG);
regs              424 drivers/spi/spi-s3c64xx.c 	void __iomem *regs = sdd->regs;
regs              435 drivers/spi/spi-s3c64xx.c 		status = readl(regs + S3C64XX_SPI_STATUS);
regs              445 drivers/spi/spi-s3c64xx.c 	void __iomem *regs = sdd->regs;
regs              468 drivers/spi/spi-s3c64xx.c 		status = readl(regs + S3C64XX_SPI_STATUS);
regs              473 drivers/spi/spi-s3c64xx.c 			status = readl(regs + S3C64XX_SPI_STATUS);
regs              488 drivers/spi/spi-s3c64xx.c 	void __iomem *regs = sdd->regs;
regs              502 drivers/spi/spi-s3c64xx.c 		status = readl(regs + S3C64XX_SPI_STATUS);
regs              531 drivers/spi/spi-s3c64xx.c 			ioread32_rep(regs + S3C64XX_SPI_RX_DATA,
regs              535 drivers/spi/spi-s3c64xx.c 			ioread16_rep(regs + S3C64XX_SPI_RX_DATA,
regs              539 drivers/spi/spi-s3c64xx.c 			ioread8_rep(regs + S3C64XX_SPI_RX_DATA,
regs              553 drivers/spi/spi-s3c64xx.c 	void __iomem *regs = sdd->regs;
regs              558 drivers/spi/spi-s3c64xx.c 		val = readl(regs + S3C64XX_SPI_CLK_CFG);
regs              560 drivers/spi/spi-s3c64xx.c 		writel(val, regs + S3C64XX_SPI_CLK_CFG);
regs              564 drivers/spi/spi-s3c64xx.c 	val = readl(regs + S3C64XX_SPI_CH_CFG);
regs              575 drivers/spi/spi-s3c64xx.c 	writel(val, regs + S3C64XX_SPI_CH_CFG);
regs              578 drivers/spi/spi-s3c64xx.c 	val = readl(regs + S3C64XX_SPI_MODE_CFG);
regs              597 drivers/spi/spi-s3c64xx.c 	writel(val, regs + S3C64XX_SPI_MODE_CFG);
regs              604 drivers/spi/spi-s3c64xx.c 		val = readl(regs + S3C64XX_SPI_CLK_CFG);
regs              608 drivers/spi/spi-s3c64xx.c 		writel(val, regs + S3C64XX_SPI_CLK_CFG);
regs              611 drivers/spi/spi-s3c64xx.c 		val = readl(regs + S3C64XX_SPI_CLK_CFG);
regs              613 drivers/spi/spi-s3c64xx.c 		writel(val, regs + S3C64XX_SPI_CLK_CFG);
regs              627 drivers/spi/spi-s3c64xx.c 	writel(cs->fb_delay & 0x3, sdd->regs + S3C64XX_SPI_FB_CLK);
regs              900 drivers/spi/spi-s3c64xx.c 	val = readl(sdd->regs + S3C64XX_SPI_STATUS);
regs              920 drivers/spi/spi-s3c64xx.c 	writel(clr, sdd->regs + S3C64XX_SPI_PENDING_CLR);
regs              921 drivers/spi/spi-s3c64xx.c 	writel(0, sdd->regs + S3C64XX_SPI_PENDING_CLR);
regs              929 drivers/spi/spi-s3c64xx.c 	void __iomem *regs = sdd->regs;
regs              935 drivers/spi/spi-s3c64xx.c 		writel(0, sdd->regs + S3C64XX_SPI_SLAVE_SEL);
regs              937 drivers/spi/spi-s3c64xx.c 		writel(S3C64XX_SPI_SLAVE_SIG_INACT, sdd->regs + S3C64XX_SPI_SLAVE_SEL);
regs              940 drivers/spi/spi-s3c64xx.c 	writel(0, regs + S3C64XX_SPI_INT_EN);
regs              944 drivers/spi/spi-s3c64xx.c 				regs + S3C64XX_SPI_CLK_CFG);
regs              945 drivers/spi/spi-s3c64xx.c 	writel(0, regs + S3C64XX_SPI_MODE_CFG);
regs              946 drivers/spi/spi-s3c64xx.c 	writel(0, regs + S3C64XX_SPI_PACKET_CNT);
regs              953 drivers/spi/spi-s3c64xx.c 	writel(val, regs + S3C64XX_SPI_PENDING_CLR);
regs              954 drivers/spi/spi-s3c64xx.c 	writel(0, regs + S3C64XX_SPI_PENDING_CLR);
regs              956 drivers/spi/spi-s3c64xx.c 	writel(0, regs + S3C64XX_SPI_SWAP_CFG);
regs              958 drivers/spi/spi-s3c64xx.c 	val = readl(regs + S3C64XX_SPI_MODE_CFG);
regs              962 drivers/spi/spi-s3c64xx.c 	writel(val, regs + S3C64XX_SPI_MODE_CFG);
regs             1099 drivers/spi/spi-s3c64xx.c 	sdd->regs = devm_ioremap_resource(&pdev->dev, mem_res);
regs             1100 drivers/spi/spi-s3c64xx.c 	if (IS_ERR(sdd->regs)) {
regs             1101 drivers/spi/spi-s3c64xx.c 		ret = PTR_ERR(sdd->regs);
regs             1195 drivers/spi/spi-s3c64xx.c 	       sdd->regs + S3C64XX_SPI_INT_EN);
regs             1242 drivers/spi/spi-s3c64xx.c 	writel(0, sdd->regs + S3C64XX_SPI_INT_EN);
regs               92 drivers/spi/spi-sifive.c 	void __iomem      *regs;        /* virt. address of control registers */
regs              101 drivers/spi/spi-sifive.c 	iowrite32(value, spi->regs + offset);
regs              106 drivers/spi/spi-sifive.c 	return ioread32(spi->regs + offset);
regs              309 drivers/spi/spi-sifive.c 	spi->regs = devm_platform_ioremap_resource(pdev, 0);
regs              310 drivers/spi/spi-sifive.c 	if (IS_ERR(spi->regs)) {
regs              311 drivers/spi/spi-sifive.c 		ret = PTR_ERR(spi->regs);
regs              286 drivers/spi/spi-sirf.c 	const struct sirf_spi_register *regs;
regs              296 drivers/spi/spi-sirf.c 	const struct sirf_spi_register *regs;
regs              306 drivers/spi/spi-sirf.c 	writel(readl(sspi->base + sspi->regs->usp_mode1) &
regs              307 drivers/spi/spi-sirf.c 		~SIRFSOC_USP_EN, sspi->base + sspi->regs->usp_mode1);
regs              308 drivers/spi/spi-sirf.c 	writel(readl(sspi->base + sspi->regs->usp_mode1) |
regs              309 drivers/spi/spi-sirf.c 		SIRFSOC_USP_EN, sspi->base + sspi->regs->usp_mode1);
regs              317 drivers/spi/spi-sirf.c 	data = readl(sspi->base + sspi->regs->rxfifo_data);
regs              336 drivers/spi/spi-sirf.c 	writel(data, sspi->base + sspi->regs->txfifo_data);
regs              345 drivers/spi/spi-sirf.c 	data = readl(sspi->base + sspi->regs->rxfifo_data);
regs              365 drivers/spi/spi-sirf.c 	writel(data, sspi->base + sspi->regs->txfifo_data);
regs              374 drivers/spi/spi-sirf.c 	data = readl(sspi->base + sspi->regs->rxfifo_data);
regs              395 drivers/spi/spi-sirf.c 	writel(data, sspi->base + sspi->regs->txfifo_data);
regs              404 drivers/spi/spi-sirf.c 	spi_stat = readl(sspi->base + sspi->regs->int_st);
regs              408 drivers/spi/spi-sirf.c 		writel(0x0, sspi->base + sspi->regs->int_en);
regs              409 drivers/spi/spi-sirf.c 		writel(readl(sspi->base + sspi->regs->int_st),
regs              410 drivers/spi/spi-sirf.c 				sspi->base + sspi->regs->int_st);
regs              421 drivers/spi/spi-sirf.c 			writel(0x0, sspi->base + sspi->regs->int_en);
regs              424 drivers/spi/spi-sirf.c 			writel(~0UL, sspi->base + sspi->regs->usp_int_en_clr);
regs              427 drivers/spi/spi-sirf.c 		writel(readl(sspi->base + sspi->regs->int_st),
regs              428 drivers/spi/spi-sirf.c 				sspi->base + sspi->regs->int_st);
regs              433 drivers/spi/spi-sirf.c 	while (!(readl(sspi->base + sspi->regs->int_st) &
regs              440 drivers/spi/spi-sirf.c 		writel(0x0, sspi->base + sspi->regs->int_en);
regs              443 drivers/spi/spi-sirf.c 		writel(~0UL, sspi->base + sspi->regs->usp_int_en_clr);
regs              446 drivers/spi/spi-sirf.c 	writel(readl(sspi->base + sspi->regs->int_st),
regs              447 drivers/spi/spi-sirf.c 			sspi->base + sspi->regs->int_st);
regs              467 drivers/spi/spi-sirf.c 	writel(SIRFSOC_SPI_FIFO_RESET, sspi->base + sspi->regs->txfifo_op);
regs              468 drivers/spi/spi-sirf.c 	writel(SIRFSOC_SPI_FIFO_START, sspi->base + sspi->regs->txfifo_op);
regs              476 drivers/spi/spi-sirf.c 	writel(cmd, sspi->base + sspi->regs->spi_cmd);
regs              478 drivers/spi/spi-sirf.c 		sspi->base + sspi->regs->int_en);
regs              480 drivers/spi/spi-sirf.c 		sspi->base + sspi->regs->tx_rx_en);
regs              496 drivers/spi/spi-sirf.c 	writel(SIRFSOC_SPI_FIFO_RESET, sspi->base + sspi->regs->rxfifo_op);
regs              497 drivers/spi/spi-sirf.c 	writel(SIRFSOC_SPI_FIFO_RESET, sspi->base + sspi->regs->txfifo_op);
regs              501 drivers/spi/spi-sirf.c 			sspi->base + sspi->regs->rxfifo_op);
regs              503 drivers/spi/spi-sirf.c 			sspi->base + sspi->regs->txfifo_op);
regs              504 drivers/spi/spi-sirf.c 		writel(0, sspi->base + sspi->regs->int_en);
regs              507 drivers/spi/spi-sirf.c 		writel(0x0, sspi->base + sspi->regs->rxfifo_op);
regs              508 drivers/spi/spi-sirf.c 		writel(0x0, sspi->base + sspi->regs->txfifo_op);
regs              509 drivers/spi/spi-sirf.c 		writel(0, sspi->base + sspi->regs->int_en);
regs              512 drivers/spi/spi-sirf.c 		writel(0x0, sspi->base + sspi->regs->rxfifo_op);
regs              513 drivers/spi/spi-sirf.c 		writel(0x0, sspi->base + sspi->regs->txfifo_op);
regs              514 drivers/spi/spi-sirf.c 		writel(~0UL, sspi->base + sspi->regs->usp_int_en_clr);
regs              517 drivers/spi/spi-sirf.c 	writel(readl(sspi->base + sspi->regs->int_st),
regs              518 drivers/spi/spi-sirf.c 		sspi->base + sspi->regs->int_st);
regs              522 drivers/spi/spi-sirf.c 			writel(readl(sspi->base + sspi->regs->spi_ctrl) |
regs              525 drivers/spi/spi-sirf.c 				sspi->base + sspi->regs->spi_ctrl);
regs              527 drivers/spi/spi-sirf.c 				sspi->base + sspi->regs->tx_dma_io_len);
regs              529 drivers/spi/spi-sirf.c 				sspi->base + sspi->regs->rx_dma_io_len);
regs              535 drivers/spi/spi-sirf.c 				sspi->base + sspi->regs->tx_dma_io_len);
regs              537 drivers/spi/spi-sirf.c 				sspi->base + sspi->regs->rx_dma_io_len);
regs              542 drivers/spi/spi-sirf.c 			writel(readl(sspi->base + sspi->regs->spi_ctrl),
regs              543 drivers/spi/spi-sirf.c 				sspi->base + sspi->regs->spi_ctrl);
regs              544 drivers/spi/spi-sirf.c 		writel(0, sspi->base + sspi->regs->tx_dma_io_len);
regs              545 drivers/spi/spi-sirf.c 		writel(0, sspi->base + sspi->regs->rx_dma_io_len);
regs              570 drivers/spi/spi-sirf.c 			sspi->base + sspi->regs->tx_rx_en);
regs              574 drivers/spi/spi-sirf.c 			sspi->base + sspi->regs->rxfifo_op);
regs              576 drivers/spi/spi-sirf.c 			sspi->base + sspi->regs->txfifo_op);
regs              592 drivers/spi/spi-sirf.c 			writel(0, sspi->base + sspi->regs->tx_rx_en);
regs              598 drivers/spi/spi-sirf.c 	writel(0, sspi->base + sspi->regs->rxfifo_op);
regs              599 drivers/spi/spi-sirf.c 	writel(0, sspi->base + sspi->regs->txfifo_op);
regs              601 drivers/spi/spi-sirf.c 		writel(0, sspi->base + sspi->regs->tx_rx_en);
regs              604 drivers/spi/spi-sirf.c 		writel(0, sspi->base + sspi->regs->tx_rx_en);
regs              617 drivers/spi/spi-sirf.c 			sspi->base + sspi->regs->rxfifo_op);
regs              619 drivers/spi/spi-sirf.c 			sspi->base + sspi->regs->txfifo_op);
regs              622 drivers/spi/spi-sirf.c 			writel(0x0, sspi->base + sspi->regs->rxfifo_op);
regs              623 drivers/spi/spi-sirf.c 			writel(0x0, sspi->base + sspi->regs->txfifo_op);
regs              624 drivers/spi/spi-sirf.c 			writel(0, sspi->base + sspi->regs->int_en);
regs              625 drivers/spi/spi-sirf.c 			writel(readl(sspi->base + sspi->regs->int_st),
regs              626 drivers/spi/spi-sirf.c 				sspi->base + sspi->regs->int_st);
regs              629 drivers/spi/spi-sirf.c 				sspi->base + sspi->regs->tx_dma_io_len);
regs              632 drivers/spi/spi-sirf.c 				sspi->base + sspi->regs->rx_dma_io_len);
regs              635 drivers/spi/spi-sirf.c 			writel(0x0, sspi->base + sspi->regs->rxfifo_op);
regs              636 drivers/spi/spi-sirf.c 			writel(0x0, sspi->base + sspi->regs->txfifo_op);
regs              637 drivers/spi/spi-sirf.c 			writel(~0UL, sspi->base + sspi->regs->usp_int_en_clr);
regs              638 drivers/spi/spi-sirf.c 			writel(readl(sspi->base + sspi->regs->int_st),
regs              639 drivers/spi/spi-sirf.c 				sspi->base + sspi->regs->int_st);
regs              642 drivers/spi/spi-sirf.c 				sspi->base + sspi->regs->tx_dma_io_len);
regs              645 drivers/spi/spi-sirf.c 				sspi->base + sspi->regs->rx_dma_io_len);
regs              649 drivers/spi/spi-sirf.c 				sspi->base + sspi->regs->rxfifo_op);
regs              651 drivers/spi/spi-sirf.c 				sspi->base + sspi->regs->txfifo_op);
regs              652 drivers/spi/spi-sirf.c 			writel(0, sspi->base + sspi->regs->int_en);
regs              653 drivers/spi/spi-sirf.c 			writel(readl(sspi->base + sspi->regs->int_st),
regs              654 drivers/spi/spi-sirf.c 				sspi->base + sspi->regs->int_st);
regs              655 drivers/spi/spi-sirf.c 			writel(readl(sspi->base + sspi->regs->spi_ctrl) |
regs              658 drivers/spi/spi-sirf.c 				sspi->base + sspi->regs->spi_ctrl);
regs              661 drivers/spi/spi-sirf.c 				sspi->base + sspi->regs->tx_dma_io_len);
regs              663 drivers/spi/spi-sirf.c 				sspi->base + sspi->regs->rx_dma_io_len);
regs              666 drivers/spi/spi-sirf.c 		while (!((readl(sspi->base + sspi->regs->txfifo_st)
regs              674 drivers/spi/spi-sirf.c 			sspi->base + sspi->regs->int_en);
regs              676 drivers/spi/spi-sirf.c 			sspi->base + sspi->regs->tx_rx_en);
regs              680 drivers/spi/spi-sirf.c 				sspi->base + sspi->regs->rxfifo_op);
regs              682 drivers/spi/spi-sirf.c 				sspi->base + sspi->regs->txfifo_op);
regs              689 drivers/spi/spi-sirf.c 				writel(0, sspi->base + sspi->regs->tx_rx_en);
regs              692 drivers/spi/spi-sirf.c 		while (!((readl(sspi->base + sspi->regs->rxfifo_st)
regs              698 drivers/spi/spi-sirf.c 			writel(0, sspi->base + sspi->regs->tx_rx_en);
regs              699 drivers/spi/spi-sirf.c 		writel(0, sspi->base + sspi->regs->rxfifo_op);
regs              700 drivers/spi/spi-sirf.c 		writel(0, sspi->base + sspi->regs->txfifo_op);
regs              738 drivers/spi/spi-sirf.c 			regval = readl(sspi->base + sspi->regs->spi_ctrl);
regs              753 drivers/spi/spi-sirf.c 			writel(regval, sspi->base + sspi->regs->spi_ctrl);
regs              758 drivers/spi/spi-sirf.c 					sspi->regs->usp_pin_io_data);
regs              774 drivers/spi/spi-sirf.c 				sspi->base + sspi->regs->usp_pin_io_data);
regs              797 drivers/spi/spi-sirf.c 	regval = readl(sspi->base + sspi->regs->spi_ctrl);
regs              798 drivers/spi/spi-sirf.c 	usp_mode1 = readl(sspi->base + sspi->regs->usp_mode1);
regs              840 drivers/spi/spi-sirf.c 		sspi->base + sspi->regs->txfifo_level_chk);
regs              847 drivers/spi/spi-sirf.c 		sspi->base + sspi->regs->rxfifo_level_chk);
regs              855 drivers/spi/spi-sirf.c 		writel(regval, sspi->base + sspi->regs->spi_ctrl);
regs              862 drivers/spi/spi-sirf.c 		writel(usp_mode1, sspi->base + sspi->regs->usp_mode1);
regs              919 drivers/spi/spi-sirf.c 	writel(txfifo_ctrl, sspi->base + sspi->regs->txfifo_ctrl);
regs              920 drivers/spi/spi-sirf.c 	writel(rxfifo_ctrl, sspi->base + sspi->regs->rxfifo_ctrl);
regs              947 drivers/spi/spi-sirf.c 			sspi->base + sspi->regs->usp_tx_frame_ctrl);
regs              951 drivers/spi/spi-sirf.c 			sspi->base + sspi->regs->usp_rx_frame_ctrl);
regs              952 drivers/spi/spi-sirf.c 		writel(readl(sspi->base + sspi->regs->usp_mode2) |
regs              959 drivers/spi/spi-sirf.c 			sspi->base + sspi->regs->usp_mode2);
regs              962 drivers/spi/spi-sirf.c 		writel(regval, sspi->base + sspi->regs->spi_ctrl);
regs              968 drivers/spi/spi-sirf.c 			writel(readl(sspi->base + sspi->regs->spi_ctrl) |
regs              971 drivers/spi/spi-sirf.c 				sspi->base + sspi->regs->spi_ctrl);
regs              974 drivers/spi/spi-sirf.c 			writel(readl(sspi->base + sspi->regs->spi_ctrl) &
regs              976 drivers/spi/spi-sirf.c 				sspi->base + sspi->regs->spi_ctrl);
regs              981 drivers/spi/spi-sirf.c 		writel(0, sspi->base + sspi->regs->tx_dma_io_ctrl);
regs              983 drivers/spi/spi-sirf.c 			sspi->base + sspi->regs->rx_dma_io_ctrl);
regs              987 drivers/spi/spi-sirf.c 			sspi->base + sspi->regs->tx_dma_io_ctrl);
regs              989 drivers/spi/spi-sirf.c 			sspi->base + sspi->regs->rx_dma_io_ctrl);
regs             1039 drivers/spi/spi-sirf.c 	.regs = &real_spi_register,
regs             1046 drivers/spi/spi-sirf.c 	.regs = &usp_spi_register,
regs             1054 drivers/spi/spi-sirf.c 	.regs = &usp_spi_register,
regs             1094 drivers/spi/spi-sirf.c 	sspi->regs = spi_comp_data->regs;
regs             1211 drivers/spi/spi-sirf.c 	writel(SIRFSOC_SPI_FIFO_RESET, sspi->base + sspi->regs->txfifo_op);
regs             1212 drivers/spi/spi-sirf.c 	writel(SIRFSOC_SPI_FIFO_RESET, sspi->base + sspi->regs->rxfifo_op);
regs             1213 drivers/spi/spi-sirf.c 	writel(SIRFSOC_SPI_FIFO_START, sspi->base + sspi->regs->txfifo_op);
regs             1214 drivers/spi/spi-sirf.c 	writel(SIRFSOC_SPI_FIFO_START, sspi->base + sspi->regs->rxfifo_op);
regs              243 drivers/spi/spi-stm32.c 	const struct stm32_spi_regspec *regs;
regs              642 drivers/spi/spi-stm32.c 	stm32_spi_set_bits(spi, spi->cfg->regs->en.reg,
regs              643 drivers/spi/spi-stm32.c 			   spi->cfg->regs->en.mask);
regs             1017 drivers/spi/spi-stm32.c 		setb |= spi->cfg->regs->cpol.mask;
regs             1019 drivers/spi/spi-stm32.c 		clrb |= spi->cfg->regs->cpol.mask;
regs             1022 drivers/spi/spi-stm32.c 		setb |= spi->cfg->regs->cpha.mask;
regs             1024 drivers/spi/spi-stm32.c 		clrb |= spi->cfg->regs->cpha.mask;
regs             1027 drivers/spi/spi-stm32.c 		setb |= spi->cfg->regs->lsb_first.mask;
regs             1029 drivers/spi/spi-stm32.c 		clrb |= spi->cfg->regs->lsb_first.mask;
regs             1042 drivers/spi/spi-stm32.c 			(readl_relaxed(spi->base + spi->cfg->regs->cpol.reg) &
regs             1044 drivers/spi/spi-stm32.c 			spi->base + spi->cfg->regs->cpol.reg);
regs             1134 drivers/spi/spi-stm32.c 		dma_conf->src_addr = spi->phys_addr + spi->cfg->regs->rx.reg;
regs             1141 drivers/spi/spi-stm32.c 		dma_conf->dst_addr = spi->phys_addr + spi->cfg->regs->tx.reg;
regs             1289 drivers/spi/spi-stm32.c 		stm32_spi_set_bits(spi, spi->cfg->regs->dma_rx_en.reg,
regs             1290 drivers/spi/spi-stm32.c 				   spi->cfg->regs->dma_rx_en.mask);
regs             1345 drivers/spi/spi-stm32.c 		stm32_spi_set_bits(spi, spi->cfg->regs->dma_tx_en.reg,
regs             1346 drivers/spi/spi-stm32.c 				   spi->cfg->regs->dma_tx_en.mask);
regs             1360 drivers/spi/spi-stm32.c 	stm32_spi_clr_bits(spi, spi->cfg->regs->dma_rx_en.reg,
regs             1361 drivers/spi/spi-stm32.c 			   spi->cfg->regs->dma_rx_en.mask);
regs             1420 drivers/spi/spi-stm32.c 	clrb |= spi->cfg->regs->br.mask;
regs             1421 drivers/spi/spi-stm32.c 	setb |= ((u32)mbrdiv << spi->cfg->regs->br.shift) &
regs             1422 drivers/spi/spi-stm32.c 		spi->cfg->regs->br.mask;
regs             1424 drivers/spi/spi-stm32.c 	writel_relaxed((readl_relaxed(spi->base + spi->cfg->regs->br.reg) &
regs             1426 drivers/spi/spi-stm32.c 		       spi->base + spi->cfg->regs->br.reg);
regs             1764 drivers/spi/spi-stm32.c 	.regs = &stm32f4_spi_regspec,
regs             1782 drivers/spi/spi-stm32.c 	.regs = &stm32h7_spi_regspec,
regs              133 drivers/spi/spi-synquacer.c 	void __iomem *regs;
regs              143 drivers/spi/spi-synquacer.c 	u32 len = readl(sspi->regs + SYNQUACER_HSSPI_REG_DMSTATUS);
regs              153 drivers/spi/spi-synquacer.c 		ioread8_rep(sspi->regs + SYNQUACER_HSSPI_REG_RX_FIFO,
regs              161 drivers/spi/spi-synquacer.c 		ioread16_rep(sspi->regs + SYNQUACER_HSSPI_REG_RX_FIFO,
regs              171 drivers/spi/spi-synquacer.c 		ioread32_rep(sspi->regs + SYNQUACER_HSSPI_REG_RX_FIFO,
regs              186 drivers/spi/spi-synquacer.c 	u32 len = readl(sspi->regs + SYNQUACER_HSSPI_REG_DMSTATUS);
regs              197 drivers/spi/spi-synquacer.c 		iowrite8_rep(sspi->regs + SYNQUACER_HSSPI_REG_TX_FIFO,
regs              205 drivers/spi/spi-synquacer.c 		iowrite16_rep(sspi->regs + SYNQUACER_HSSPI_REG_TX_FIFO,
regs              215 drivers/spi/spi-synquacer.c 		iowrite32_rep(sspi->regs + SYNQUACER_HSSPI_REG_TX_FIFO,
regs              275 drivers/spi/spi-synquacer.c 	val = readl(sspi->regs + SYNQUACER_HSSPI_REG_PCC(cs));
regs              321 drivers/spi/spi-synquacer.c 	writel(val, sspi->regs + SYNQUACER_HSSPI_REG_PCC(cs));
regs              323 drivers/spi/spi-synquacer.c 	val = readl(sspi->regs + SYNQUACER_HSSPI_REG_FIFOCFG);
regs              327 drivers/spi/spi-synquacer.c 	writel(val, sspi->regs + SYNQUACER_HSSPI_REG_FIFOCFG);
regs              329 drivers/spi/spi-synquacer.c 	val = readl(sspi->regs + SYNQUACER_HSSPI_REG_DMSTART);
regs              342 drivers/spi/spi-synquacer.c 	writel(val, sspi->regs + SYNQUACER_HSSPI_REG_DMSTART);
regs              364 drivers/spi/spi-synquacer.c 	val = readl(sspi->regs + SYNQUACER_HSSPI_REG_DMSTART);
regs              366 drivers/spi/spi-synquacer.c 	writel(val, sspi->regs + SYNQUACER_HSSPI_REG_DMSTART);
regs              368 drivers/spi/spi-synquacer.c 	val = readl(sspi->regs + SYNQUACER_HSSPI_REG_FIFOCFG);
regs              371 drivers/spi/spi-synquacer.c 	writel(val, sspi->regs + SYNQUACER_HSSPI_REG_FIFOCFG);
regs              431 drivers/spi/spi-synquacer.c 		val = readl(sspi->regs + SYNQUACER_HSSPI_REG_FIFOCFG);
regs              437 drivers/spi/spi-synquacer.c 		writel(val, sspi->regs + SYNQUACER_HSSPI_REG_FIFOCFG);
regs              440 drivers/spi/spi-synquacer.c 	writel(~0, sspi->regs + SYNQUACER_HSSPI_REG_TXC);
regs              441 drivers/spi/spi-synquacer.c 	writel(~0, sspi->regs + SYNQUACER_HSSPI_REG_RXC);
regs              444 drivers/spi/spi-synquacer.c 	val = readl(sspi->regs + SYNQUACER_HSSPI_REG_DMSTART);
regs              446 drivers/spi/spi-synquacer.c 	writel(val, sspi->regs + SYNQUACER_HSSPI_REG_DMSTART);
regs              450 drivers/spi/spi-synquacer.c 		writel(val, sspi->regs + SYNQUACER_HSSPI_REG_TXE);
regs              453 drivers/spi/spi-synquacer.c 		writel(0, sspi->regs + SYNQUACER_HSSPI_REG_TXE);
regs              461 drivers/spi/spi-synquacer.c 		writel(val, sspi->regs + SYNQUACER_HSSPI_REG_RXE);
regs              464 drivers/spi/spi-synquacer.c 		writel(0, sspi->regs + SYNQUACER_HSSPI_REG_RXE);
regs              467 drivers/spi/spi-synquacer.c 		val = readl(sspi->regs + SYNQUACER_HSSPI_REG_DMSTART);
regs              469 drivers/spi/spi-synquacer.c 		writel(val, sspi->regs + SYNQUACER_HSSPI_REG_DMSTART);
regs              489 drivers/spi/spi-synquacer.c 	val = readl(sspi->regs + SYNQUACER_HSSPI_REG_DMSTART);
regs              493 drivers/spi/spi-synquacer.c 	writel(val, sspi->regs + SYNQUACER_HSSPI_REG_DMSTART);
regs              505 drivers/spi/spi-synquacer.c 		val = readl(sspi->regs + SYNQUACER_HSSPI_REG_MCTRL) &
regs              524 drivers/spi/spi-synquacer.c 	writel(0, sspi->regs + SYNQUACER_HSSPI_REG_MCTRL);
regs              529 drivers/spi/spi-synquacer.c 	writel(0, sspi->regs + SYNQUACER_HSSPI_REG_TXE);
regs              530 drivers/spi/spi-synquacer.c 	writel(0, sspi->regs + SYNQUACER_HSSPI_REG_RXE);
regs              531 drivers/spi/spi-synquacer.c 	writel(~0, sspi->regs + SYNQUACER_HSSPI_REG_TXC);
regs              532 drivers/spi/spi-synquacer.c 	writel(~0, sspi->regs + SYNQUACER_HSSPI_REG_RXC);
regs              533 drivers/spi/spi-synquacer.c 	writel(~0, sspi->regs + SYNQUACER_HSSPI_REG_FAULTC);
regs              535 drivers/spi/spi-synquacer.c 	val = readl(sspi->regs + SYNQUACER_HSSPI_REG_DMCFG);
regs              538 drivers/spi/spi-synquacer.c 	writel(val, sspi->regs + SYNQUACER_HSSPI_REG_DMCFG);
regs              540 drivers/spi/spi-synquacer.c 	val = readl(sspi->regs + SYNQUACER_HSSPI_REG_MCTRL);
regs              551 drivers/spi/spi-synquacer.c 	writel(val, sspi->regs + SYNQUACER_HSSPI_REG_MCTRL);
regs              564 drivers/spi/spi-synquacer.c 	val = readl(sspi->regs + SYNQUACER_HSSPI_REG_RXF);
regs              570 drivers/spi/spi-synquacer.c 			writel(0, sspi->regs + SYNQUACER_HSSPI_REG_RXE);
regs              584 drivers/spi/spi-synquacer.c 	val = readl(sspi->regs + SYNQUACER_HSSPI_REG_TXF);
regs              587 drivers/spi/spi-synquacer.c 			writel(0, sspi->regs + SYNQUACER_HSSPI_REG_TXE);
regs              617 drivers/spi/spi-synquacer.c 	sspi->regs = devm_platform_ioremap_resource(pdev, 0);
regs              618 drivers/spi/spi-synquacer.c 	if (IS_ERR(sspi->regs)) {
regs              619 drivers/spi/spi-synquacer.c 		ret = PTR_ERR(sspi->regs);
regs               83 drivers/spi/spi-xilinx.c 	void __iomem	*regs;	/* virt. address of the control registers */
regs              121 drivers/spi/spi-xilinx.c 		xspi->write_fn(0, xspi->regs + XSPI_TXD_OFFSET);
regs              137 drivers/spi/spi-xilinx.c 	xspi->write_fn(data, xspi->regs + XSPI_TXD_OFFSET);
regs              143 drivers/spi/spi-xilinx.c 	u32 data = xspi->read_fn(xspi->regs + XSPI_RXD_OFFSET);
regs              165 drivers/spi/spi-xilinx.c 	void __iomem *regs_base = xspi->regs;
regs              194 drivers/spi/spi-xilinx.c 		xspi->write_fn(xspi->cs_inactive, xspi->regs + XSPI_SSR_OFFSET);
regs              199 drivers/spi/spi-xilinx.c 	cr = xspi->read_fn(xspi->regs + XSPI_CR_OFFSET)	& ~XSPI_CR_MODE_MASK;
regs              208 drivers/spi/spi-xilinx.c 	xspi->write_fn(cr, xspi->regs + XSPI_CR_OFFSET);
regs              219 drivers/spi/spi-xilinx.c 	xspi->write_fn(cs, xspi->regs + XSPI_SSR_OFFSET);
regs              255 drivers/spi/spi-xilinx.c 		cr = xspi->read_fn(xspi->regs + XSPI_CR_OFFSET);
regs              257 drivers/spi/spi-xilinx.c 			       xspi->regs + XSPI_CR_OFFSET);
regs              259 drivers/spi/spi-xilinx.c 		isr = xspi->read_fn(xspi->regs + XIPIF_V123B_IISR_OFFSET);
regs              262 drivers/spi/spi-xilinx.c 				       xspi->regs + XIPIF_V123B_IISR_OFFSET);
regs              265 drivers/spi/spi-xilinx.c 				xspi->regs + XIPIF_V123B_DGIER_OFFSET);
regs              285 drivers/spi/spi-xilinx.c 			xspi->write_fn(cr, xspi->regs + XSPI_CR_OFFSET);
regs              294 drivers/spi/spi-xilinx.c 				       xspi->regs + XSPI_CR_OFFSET);
regs              297 drivers/spi/spi-xilinx.c 			sr = xspi->read_fn(xspi->regs + XSPI_SR_OFFSET);
regs              318 drivers/spi/spi-xilinx.c 			sr = xspi->read_fn(xspi->regs + XSPI_SR_OFFSET);
regs              329 drivers/spi/spi-xilinx.c 		xspi->write_fn(0, xspi->regs + XIPIF_V123B_DGIER_OFFSET);
regs              330 drivers/spi/spi-xilinx.c 		xspi->write_fn(cr, xspi->regs + XSPI_CR_OFFSET);
regs              348 drivers/spi/spi-xilinx.c 	ipif_isr = xspi->read_fn(xspi->regs + XIPIF_V123B_IISR_OFFSET);
regs              349 drivers/spi/spi-xilinx.c 	xspi->write_fn(ipif_isr, xspi->regs + XIPIF_V123B_IISR_OFFSET);
regs              369 drivers/spi/spi-xilinx.c 		xspi->regs + XIPIF_V123B_RESETR_OFFSET);
regs              373 drivers/spi/spi-xilinx.c 		xspi->write_fn(0, xspi->regs + XSPI_TXD_OFFSET);
regs              374 drivers/spi/spi-xilinx.c 		sr = xspi->read_fn(xspi->regs + XSPI_SR_OFFSET);
regs              436 drivers/spi/spi-xilinx.c 	xspi->regs = devm_ioremap_resource(&pdev->dev, res);
regs              437 drivers/spi/spi-xilinx.c 	if (IS_ERR(xspi->regs)) {
regs              438 drivers/spi/spi-xilinx.c 		ret = PTR_ERR(xspi->regs);
regs              456 drivers/spi/spi-xilinx.c 	xspi->write_fn(XSPI_CR_LOOP, xspi->regs + XSPI_CR_OFFSET);
regs              457 drivers/spi/spi-xilinx.c 	tmp = xspi->read_fn(xspi->regs + XSPI_CR_OFFSET);
regs              490 drivers/spi/spi-xilinx.c 		(unsigned long long)res->start, xspi->regs, xspi->irq);
regs              510 drivers/spi/spi-xilinx.c 	void __iomem *regs_base = xspi->regs;
regs               26 drivers/spi/spi-xtensa-xtfpga.c 	void __iomem *regs;
regs               34 drivers/spi/spi-xtensa-xtfpga.c 	__raw_writel(val, spi->regs + addr);
regs               40 drivers/spi/spi-xtensa-xtfpga.c 	return __raw_readl(spi->regs + addr);
regs              107 drivers/spi/spi-xtensa-xtfpga.c 	xspi->regs = devm_ioremap_resource(&pdev->dev, mem);
regs              108 drivers/spi/spi-xtensa-xtfpga.c 	if (IS_ERR(xspi->regs)) {
regs              109 drivers/spi/spi-xtensa-xtfpga.c 		ret = PTR_ERR(xspi->regs);
regs              136 drivers/spi/spi-zynq-qspi.c 	void __iomem *regs;
regs              152 drivers/spi/spi-zynq-qspi.c 	return readl_relaxed(xqspi->regs + offset);
regs              158 drivers/spi/spi-zynq-qspi.c 	writel_relaxed(val, xqspi->regs + offset);
regs              410 drivers/spi/spi-zynq-qspi.c 		iowrite32_rep(xqspi->regs + ZYNQ_QSPI_TXD_00_00_OFFSET,
regs              415 drivers/spi/spi-zynq-qspi.c 			writel_relaxed(0, xqspi->regs +
regs              436 drivers/spi/spi-zynq-qspi.c 		ioread32_rep(xqspi->regs + ZYNQ_QSPI_RXD_OFFSET,
regs              441 drivers/spi/spi-zynq-qspi.c 			readl_relaxed(xqspi->regs + ZYNQ_QSPI_RXD_OFFSET);
regs              632 drivers/spi/spi-zynq-qspi.c 	xqspi->regs = devm_platform_ioremap_resource(pdev, 0);
regs              633 drivers/spi/spi-zynq-qspi.c 	if (IS_ERR(xqspi->regs)) {
regs              634 drivers/spi/spi-zynq-qspi.c 		ret = PTR_ERR(xqspi->regs);
regs              159 drivers/spi/spi-zynqmp-gqspi.c 	void __iomem *regs;
regs              183 drivers/spi/spi-zynqmp-gqspi.c 	return readl_relaxed(xqspi->regs + offset);
regs              195 drivers/spi/spi-zynqmp-gqspi.c 	writel_relaxed(val, (xqspi->regs + offset));
regs             1030 drivers/spi/spi-zynqmp-gqspi.c 	xqspi->regs = devm_platform_ioremap_resource(pdev, 0);
regs             1031 drivers/spi/spi-zynqmp-gqspi.c 	if (IS_ERR(xqspi->regs)) {
regs             1032 drivers/spi/spi-zynqmp-gqspi.c 		ret = PTR_ERR(xqspi->regs);
regs              689 drivers/ssb/driver_chipcommon.c 		ports[i].regs = uart_regs;
regs               41 drivers/ssb/driver_extif.c static bool serial_exists(u8 *regs)
regs               45 drivers/ssb/driver_extif.c 	if (regs) {
regs               46 drivers/ssb/driver_extif.c 		save_mcr = regs[UART_MCR];
regs               47 drivers/ssb/driver_extif.c 		regs[UART_MCR] = (UART_MCR_LOOP | UART_MCR_OUT2 | UART_MCR_RTS);
regs               48 drivers/ssb/driver_extif.c 		msr = regs[UART_MSR] & (UART_MSR_DCD | UART_MSR_RI
regs               50 drivers/ssb/driver_extif.c 		regs[UART_MCR] = save_mcr;
regs               74 drivers/ssb/driver_extif.c 				ports[i].regs = uart_regs;
regs               80 drivers/staging/android/vsoc.c 	void __iomem *regs;
regs              583 drivers/staging/android/vsoc.c 			writel(reg_num, vsoc_dev.regs + DOORBELL);
regs              591 drivers/staging/android/vsoc.c 		writel(reg_num, vsoc_dev.regs + DOORBELL);
regs              772 drivers/staging/android/vsoc.c 		vsoc_dev.regs =
regs              775 drivers/staging/android/vsoc.c 		vsoc_dev.regs = pci_iomap(pdev, REGISTER_BAR, reg_size);
regs              777 drivers/staging/android/vsoc.c 	if (!vsoc_dev.regs) {
regs             1007 drivers/staging/android/vsoc.c 	if (vsoc_dev.regs) {
regs             1008 drivers/staging/android/vsoc.c 		pci_iounmap(pdev, vsoc_dev.regs);
regs             1009 drivers/staging/android/vsoc.c 		vsoc_dev.regs = NULL;
regs              231 drivers/staging/comedi/drivers/ni_tio.c 		unsigned int *regs = counter_dev->regs[chip];
regs              234 drivers/staging/comedi/drivers/ni_tio.c 		regs[reg] &= ~mask;
regs              235 drivers/staging/comedi/drivers/ni_tio.c 		regs[reg] |= (value & mask);
regs              236 drivers/staging/comedi/drivers/ni_tio.c 		ni_tio_write(counter, regs[reg] | transient, reg);
regs              278 drivers/staging/comedi/drivers/ni_tio.c 		value = counter_dev->regs[chip][reg];
regs              325 drivers/staging/comedi/drivers/ni_tio.c 		if (counter_dev->regs[chip][second_gate_reg] & GI_SRC_SUBSEL)
regs              335 drivers/staging/comedi/drivers/ni_tio.c 		if (counter_dev->regs[chip][second_gate_reg] & GI_SRC_SUBSEL)
regs              737 drivers/staging/comedi/drivers/ni_tio.c 		counter_dev->regs[chip][second_gate_reg] &= ~GI_SRC_SUBSEL;
regs              742 drivers/staging/comedi/drivers/ni_tio.c 		counter_dev->regs[chip][second_gate_reg] |= GI_SRC_SUBSEL;
regs              748 drivers/staging/comedi/drivers/ni_tio.c 	ni_tio_write(counter, counter_dev->regs[chip][second_gate_reg],
regs             1150 drivers/staging/comedi/drivers/ni_tio.c 	counter_dev->regs[chip][abz_reg] &= ~mask;
regs             1151 drivers/staging/comedi/drivers/ni_tio.c 	counter_dev->regs[chip][abz_reg] |= (source << shift) & mask;
regs             1152 drivers/staging/comedi/drivers/ni_tio.c 	ni_tio_write(counter, counter_dev->regs[chip][abz_reg], abz_reg);
regs             1651 drivers/staging/comedi/drivers/ni_tio.c 			    counter_dev->regs[chip][NITIO_LOADA_REG(cidx)];
regs             1655 drivers/staging/comedi/drivers/ni_tio.c 			    counter_dev->regs[chip][NITIO_LOADB_REG(cidx)];
regs             1705 drivers/staging/comedi/drivers/ni_tio.c 		ni_tio_write(counter, counter_dev->regs[chip][load_reg],
regs             1709 drivers/staging/comedi/drivers/ni_tio.c 		counter_dev->regs[chip][NITIO_LOADA_REG(cidx)] = load_val;
regs             1713 drivers/staging/comedi/drivers/ni_tio.c 		counter_dev->regs[chip][NITIO_LOADB_REG(cidx)] = load_val;
regs             1732 drivers/staging/comedi/drivers/ni_tio.c 	counter_dev->regs[chip][NITIO_AUTO_INC_REG(cidx)] = 0x0;
regs             1740 drivers/staging/comedi/drivers/ni_tio.c 	counter_dev->regs[chip][NITIO_LOADA_REG(cidx)] = 0x0;
regs             1743 drivers/staging/comedi/drivers/ni_tio.c 	counter_dev->regs[chip][NITIO_LOADB_REG(cidx)] = 0x0;
regs             1752 drivers/staging/comedi/drivers/ni_tio.c 		counter_dev->regs[chip][NITIO_GATE2_REG(cidx)] = 0x0;
regs             1798 drivers/staging/comedi/drivers/ni_tio.c 	counter_dev->regs = kcalloc(counter_dev->num_chips,
regs             1799 drivers/staging/comedi/drivers/ni_tio.c 				    sizeof(*counter_dev->regs), GFP_KERNEL);
regs             1800 drivers/staging/comedi/drivers/ni_tio.c 	if (!counter_dev->regs || !counter_dev->counters) {
regs             1801 drivers/staging/comedi/drivers/ni_tio.c 		kfree(counter_dev->regs);
regs             1823 drivers/staging/comedi/drivers/ni_tio.c 	kfree(counter_dev->regs);
regs              111 drivers/staging/comedi/drivers/ni_tio.h 	unsigned int (*regs)[NITIO_NUM_REGS]; /* [num_chips][NITIO_NUM_REGS] */
regs             2903 drivers/staging/media/allegro-dvt/allegro-core.c 	void __iomem *regs, *sram_regs;
regs             2920 drivers/staging/media/allegro-dvt/allegro-core.c 	regs = devm_ioremap_nocache(&pdev->dev, res->start, resource_size(res));
regs             2921 drivers/staging/media/allegro-dvt/allegro-core.c 	if (IS_ERR(regs)) {
regs             2923 drivers/staging/media/allegro-dvt/allegro-core.c 		return PTR_ERR(regs);
regs             2925 drivers/staging/media/allegro-dvt/allegro-core.c 	dev->regmap = devm_regmap_init_mmio(&pdev->dev, regs,
regs              231 drivers/staging/media/imx/imx7-mipi-csis.c 	void __iomem *regs;
regs              288 drivers/staging/media/imx/imx7-mipi-csis.c #define mipi_csis_write(__csis, __r, __v) writel(__v, (__csis)->regs + (__r))
regs              289 drivers/staging/media/imx/imx7-mipi-csis.c #define mipi_csis_read(__csis, __r) readl((__csis)->regs + (__r))
regs              978 drivers/staging/media/imx/imx7-mipi-csis.c 	state->regs = devm_ioremap_resource(dev, mem_res);
regs              979 drivers/staging/media/imx/imx7-mipi-csis.c 	if (IS_ERR(state->regs))
regs              980 drivers/staging/media/imx/imx7-mipi-csis.c 		return PTR_ERR(state->regs);
regs              106 drivers/staging/media/omap4iss/iss.c 	if (iss->regs[OMAP4_ISS_MEM_ISP_SYS1])
regs              116 drivers/staging/media/omap4iss/iss.c 	if (iss->regs[OMAP4_ISS_MEM_ISP_SYS1])
regs              915 drivers/staging/media/omap4iss/iss.c 	iss->regs[res] = devm_ioremap_resource(iss->dev, mem);
regs              917 drivers/staging/media/omap4iss/iss.c 	return PTR_ERR_OR_ZERO(iss->regs[res]);
regs               96 drivers/staging/media/omap4iss/iss.h 	void __iomem *regs[OMAP4_ISS_MEM_LAST];
regs              168 drivers/staging/media/omap4iss/iss.h 	return readl(iss->regs[res] + offset);
regs              182 drivers/staging/media/omap4iss/iss.h 	writel(value, iss->regs[res] + offset);
regs              600 drivers/staging/media/omap4iss/iss_csi2.c #define CSI2_PRINT_REGISTER(iss, regs, name)\
regs              602 drivers/staging/media/omap4iss/iss_csi2.c 		iss_reg_read(iss, regs, CSI2_##name))
regs              952 drivers/staging/media/tegra-vde/vde.c 	struct resource *regs;
regs              962 drivers/staging/media/tegra-vde/vde.c 	regs = platform_get_resource_byname(pdev, IORESOURCE_MEM, "sxe");
regs              963 drivers/staging/media/tegra-vde/vde.c 	if (!regs)
regs              966 drivers/staging/media/tegra-vde/vde.c 	vde->sxe = devm_ioremap_resource(dev, regs);
regs              970 drivers/staging/media/tegra-vde/vde.c 	regs = platform_get_resource_byname(pdev, IORESOURCE_MEM, "bsev");
regs              971 drivers/staging/media/tegra-vde/vde.c 	if (!regs)
regs              974 drivers/staging/media/tegra-vde/vde.c 	vde->bsev = devm_ioremap_resource(dev, regs);
regs              978 drivers/staging/media/tegra-vde/vde.c 	regs = platform_get_resource_byname(pdev, IORESOURCE_MEM, "mbe");
regs              979 drivers/staging/media/tegra-vde/vde.c 	if (!regs)
regs              982 drivers/staging/media/tegra-vde/vde.c 	vde->mbe = devm_ioremap_resource(dev, regs);
regs              986 drivers/staging/media/tegra-vde/vde.c 	regs = platform_get_resource_byname(pdev, IORESOURCE_MEM, "ppe");
regs              987 drivers/staging/media/tegra-vde/vde.c 	if (!regs)
regs              990 drivers/staging/media/tegra-vde/vde.c 	vde->ppe = devm_ioremap_resource(dev, regs);
regs              994 drivers/staging/media/tegra-vde/vde.c 	regs = platform_get_resource_byname(pdev, IORESOURCE_MEM, "mce");
regs              995 drivers/staging/media/tegra-vde/vde.c 	if (!regs)
regs              998 drivers/staging/media/tegra-vde/vde.c 	vde->mce = devm_ioremap_resource(dev, regs);
regs             1002 drivers/staging/media/tegra-vde/vde.c 	regs = platform_get_resource_byname(pdev, IORESOURCE_MEM, "tfe");
regs             1003 drivers/staging/media/tegra-vde/vde.c 	if (!regs)
regs             1006 drivers/staging/media/tegra-vde/vde.c 	vde->tfe = devm_ioremap_resource(dev, regs);
regs             1010 drivers/staging/media/tegra-vde/vde.c 	regs = platform_get_resource_byname(pdev, IORESOURCE_MEM, "ppb");
regs             1011 drivers/staging/media/tegra-vde/vde.c 	if (!regs)
regs             1014 drivers/staging/media/tegra-vde/vde.c 	vde->ppb = devm_ioremap_resource(dev, regs);
regs             1018 drivers/staging/media/tegra-vde/vde.c 	regs = platform_get_resource_byname(pdev, IORESOURCE_MEM, "vdma");
regs             1019 drivers/staging/media/tegra-vde/vde.c 	if (!regs)
regs             1022 drivers/staging/media/tegra-vde/vde.c 	vde->vdma = devm_ioremap_resource(dev, regs);
regs             1026 drivers/staging/media/tegra-vde/vde.c 	regs = platform_get_resource_byname(pdev, IORESOURCE_MEM, "frameid");
regs             1027 drivers/staging/media/tegra-vde/vde.c 	if (!regs)
regs             1030 drivers/staging/media/tegra-vde/vde.c 	vde->frameid = devm_ioremap_resource(dev, regs);
regs              881 drivers/staging/most/usb/usb.c static const struct regs ro_regs[] = {
regs              888 drivers/staging/most/usb/usb.c static const struct regs rw_regs[] = {
regs              899 drivers/staging/most/usb/usb.c static int get_stat_reg_addr(const struct regs *regs, int size,
regs              905 drivers/staging/most/usb/usb.c 		if (!strcmp(name, regs[i].name)) {
regs              906 drivers/staging/most/usb/usb.c 			*reg_addr = regs[i].reg;
regs              913 drivers/staging/most/usb/usb.c #define get_static_reg_addr(regs, name, reg_addr) \
regs              914 drivers/staging/most/usb/usb.c 	get_stat_reg_addr(regs, ARRAY_SIZE(regs), name, reg_addr)
regs              332 drivers/staging/mt7621-pci/pci-mt7621.c 	struct resource regs;
regs              340 drivers/staging/mt7621-pci/pci-mt7621.c 	err = of_address_to_resource(pnode, slot + 1, &regs);
regs              346 drivers/staging/mt7621-pci/pci-mt7621.c 	port->base = devm_ioremap_resource(dev, &regs);
regs              375 drivers/staging/mt7621-pci/pci-mt7621.c 	struct resource regs;
regs              384 drivers/staging/mt7621-pci/pci-mt7621.c 	err = of_address_to_resource(node, 0, &regs);
regs              390 drivers/staging/mt7621-pci/pci-mt7621.c 	pcie->base = devm_ioremap_resource(dev, &regs);
regs              609 drivers/staging/qlge/qlge_ethtool.c 			struct ethtool_regs *regs, void *p)
regs              616 drivers/staging/qlge/qlge_ethtool.c 		regs->len = sizeof(struct ql_mpi_coredump);
regs              618 drivers/staging/qlge/qlge_ethtool.c 		regs->len = sizeof(struct ql_reg_dump);
regs               29 drivers/staging/rtl8188eu/include/usb_ops_linux.h #define _usbctrl_vendorreq_async_callback(urb, regs)	\
regs               31 drivers/staging/rtl8188eu/include/usb_ops_linux.h #define usb_bulkout_zero_complete(purb, regs)		\
regs               33 drivers/staging/rtl8188eu/include/usb_ops_linux.h #define usb_write_mem_complete(purb, regs)		\
regs               35 drivers/staging/rtl8188eu/include/usb_ops_linux.h #define usb_write_port_complete(purb, regs)		\
regs               37 drivers/staging/rtl8188eu/include/usb_ops_linux.h #define usb_read_port_complete(purb, regs)		\
regs               39 drivers/staging/rtl8188eu/include/usb_ops_linux.h #define usb_read_interrupt_complete(purb, regs)		\
regs              348 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c static void usb_read_port_complete(struct urb *purb, struct pt_regs *regs)
regs              571 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c static void usb_write_port_complete(struct urb *purb, struct pt_regs *regs)
regs               68 drivers/thermal/broadcom/bcm2835_thermal.c 	void __iomem *regs;
regs               94 drivers/thermal/broadcom/bcm2835_thermal.c 	u32 val = readl(data->regs + BCM2835_TS_TSENSSTAT);
regs              131 drivers/thermal/broadcom/bcm2835_thermal.c 	regset->regs = bcm2835_thermal_regs;
regs              133 drivers/thermal/broadcom/bcm2835_thermal.c 	regset->base = data->regs;
regs              184 drivers/thermal/broadcom/bcm2835_thermal.c 	data->regs = devm_ioremap_resource(&pdev->dev, res);
regs              185 drivers/thermal/broadcom/bcm2835_thermal.c 	if (IS_ERR(data->regs)) {
regs              186 drivers/thermal/broadcom/bcm2835_thermal.c 		err = PTR_ERR(data->regs);
regs              226 drivers/thermal/broadcom/bcm2835_thermal.c 	val = readl(data->regs + BCM2835_TS_TSENSCTL);
regs              259 drivers/thermal/broadcom/bcm2835_thermal.c 		writel(val, data->regs + BCM2835_TS_TSENSCTL);
regs              261 drivers/thermal/broadcom/bcm2835_thermal.c 		writel(val, data->regs + BCM2835_TS_TSENSCTL);
regs               29 drivers/thermal/broadcom/sr-thermal.c 	void __iomem *regs;
regs               39 drivers/thermal/broadcom/sr-thermal.c 	*temp = readl(sr_thermal->regs + SR_TMON_TEMP_BASE(tmon->tmon_id));
regs               63 drivers/thermal/broadcom/sr-thermal.c 	sr_thermal->regs = (void __iomem *)devm_memremap(&pdev->dev, res->start,
regs               66 drivers/thermal/broadcom/sr-thermal.c 	if (IS_ERR(sr_thermal->regs)) {
regs               68 drivers/thermal/broadcom/sr-thermal.c 		return PTR_ERR(sr_thermal->regs);
regs               81 drivers/thermal/broadcom/sr-thermal.c 		writel(0, sr_thermal->regs + SR_TMON_TEMP_BASE(i));
regs               89 drivers/thermal/hisi_thermal.c 	void __iomem *regs;
regs              287 drivers/thermal/hisi_thermal.c 	hi6220_thermal_alarm_clear(data->regs, 1);
regs              295 drivers/thermal/hisi_thermal.c 	hi3660_thermal_alarm_clear(data->regs, sensor->id, 1);
regs              303 drivers/thermal/hisi_thermal.c 	return hi6220_thermal_get_temperature(data->regs);
regs              310 drivers/thermal/hisi_thermal.c 	return hi3660_thermal_get_temperature(data->regs, sensor->id);
regs              318 drivers/thermal/hisi_thermal.c 	hi6220_thermal_enable(data->regs, 0);
regs              319 drivers/thermal/hisi_thermal.c 	hi6220_thermal_alarm_enable(data->regs, 0);
regs              320 drivers/thermal/hisi_thermal.c 	hi6220_thermal_reset_enable(data->regs, 0);
regs              332 drivers/thermal/hisi_thermal.c 	hi3660_thermal_alarm_enable(data->regs, sensor->id, 0);
regs              347 drivers/thermal/hisi_thermal.c 	hi6220_thermal_reset_enable(data->regs, 0);
regs              348 drivers/thermal/hisi_thermal.c 	hi6220_thermal_enable(data->regs, 0);
regs              351 drivers/thermal/hisi_thermal.c 	hi6220_thermal_sensor_select(data->regs, sensor->id);
regs              354 drivers/thermal/hisi_thermal.c 	hi6220_thermal_hdak_set(data->regs, 0);
regs              357 drivers/thermal/hisi_thermal.c 	hi6220_thermal_set_lag(data->regs, HI6220_TEMP_LAG);
regs              360 drivers/thermal/hisi_thermal.c 	hi6220_thermal_alarm_set(data->regs, sensor->thres_temp);
regs              362 drivers/thermal/hisi_thermal.c 	hi6220_thermal_reset_set(data->regs, HI6220_TEMP_RESET);
regs              365 drivers/thermal/hisi_thermal.c 	hi6220_thermal_reset_enable(data->regs, 1);
regs              366 drivers/thermal/hisi_thermal.c 	hi6220_thermal_enable(data->regs, 1);
regs              368 drivers/thermal/hisi_thermal.c 	hi6220_thermal_alarm_clear(data->regs, 0);
regs              369 drivers/thermal/hisi_thermal.c 	hi6220_thermal_alarm_enable(data->regs, 1);
regs              380 drivers/thermal/hisi_thermal.c 	hi3660_thermal_alarm_enable(data->regs, sensor->id, 0);
regs              383 drivers/thermal/hisi_thermal.c 	hi3660_thermal_set_lag(data->regs, sensor->id, HI3660_TEMP_LAG);
regs              387 drivers/thermal/hisi_thermal.c 	hi3660_thermal_alarm_set(data->regs, sensor->id, value);
regs              390 drivers/thermal/hisi_thermal.c 	hi3660_thermal_alarm_clear(data->regs, sensor->id, 1);
regs              391 drivers/thermal/hisi_thermal.c 	hi3660_thermal_alarm_enable(data->regs, sensor->id, 1);
regs              572 drivers/thermal/hisi_thermal.c 	data->regs = devm_ioremap_resource(dev, res);
regs              573 drivers/thermal/hisi_thermal.c 	if (IS_ERR(data->regs)) {
regs              575 drivers/thermal/hisi_thermal.c 		return PTR_ERR(data->regs);
regs               73 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c 	u64 regs[RAPL_DOMAIN_MAX][RAPL_DOMAIN_REG_MAX];
regs              546 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c 			if (rapl_regs->regs[domain][reg])
regs              547 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c 				rapl_mmio_priv.regs[domain][reg] =
regs              549 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c 						rapl_regs->regs[domain][reg];
regs              586 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c 	.regs[RAPL_DOMAIN_PACKAGE] = { 0x59a0, 0x593c, 0x58f0, 0, 0x5930},
regs              587 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c 	.regs[RAPL_DOMAIN_DRAM] = { 0x58e0, 0x58e8, 0x58ec, 0, 0},
regs               75 drivers/thermal/qoriq_thermal.c 	struct qoriq_tmu_regs __iomem *regs;
regs              103 drivers/thermal/qoriq_thermal.c 	val = tmu_read(qdata, &qdata->regs->site[qsensor->id].tritsr);
regs              140 drivers/thermal/qoriq_thermal.c 		tmu_write(qdata, sites | TMR_ME | TMR_ALPF, &qdata->regs->tmr);
regs              159 drivers/thermal/qoriq_thermal.c 	tmu_write(data, range[0], &data->regs->ttr0cr);
regs              160 drivers/thermal/qoriq_thermal.c 	tmu_write(data, range[1], &data->regs->ttr1cr);
regs              161 drivers/thermal/qoriq_thermal.c 	tmu_write(data, range[2], &data->regs->ttr2cr);
regs              162 drivers/thermal/qoriq_thermal.c 	tmu_write(data, range[3], &data->regs->ttr3cr);
regs              172 drivers/thermal/qoriq_thermal.c 		tmu_write(data, val, &data->regs->ttcfgr);
regs              174 drivers/thermal/qoriq_thermal.c 		tmu_write(data, val, &data->regs->tscfgr);
regs              183 drivers/thermal/qoriq_thermal.c 	tmu_write(data, TIER_DISABLE, &data->regs->tier);
regs              186 drivers/thermal/qoriq_thermal.c 	tmu_write(data, TMTMIR_DEFAULT, &data->regs->tmtmir);
regs              189 drivers/thermal/qoriq_thermal.c 	tmu_write(data, TMR_DISABLE, &data->regs->tmr);
regs              207 drivers/thermal/qoriq_thermal.c 	data->regs = devm_platform_ioremap_resource(pdev, 0);
regs              208 drivers/thermal/qoriq_thermal.c 	if (IS_ERR(data->regs)) {
regs              210 drivers/thermal/qoriq_thermal.c 		return PTR_ERR(data->regs);
regs              250 drivers/thermal/qoriq_thermal.c 	tmu_write(data, TMR_DISABLE, &data->regs->tmr);
regs              265 drivers/thermal/qoriq_thermal.c 	tmr = tmu_read(data, &data->regs->tmr);
regs              267 drivers/thermal/qoriq_thermal.c 	tmu_write(data, tmr, &data->regs->tmr);
regs              285 drivers/thermal/qoriq_thermal.c 	tmr = tmu_read(data, &data->regs->tmr);
regs              287 drivers/thermal/qoriq_thermal.c 	tmu_write(data, tmr, &data->regs->tmr);
regs              162 drivers/thermal/rockchip_thermal.c 	void __iomem *regs;
regs              606 drivers/thermal/rockchip_thermal.c static void rk_tsadcv2_initialize(struct regmap *grf, void __iomem *regs,
regs              611 drivers/thermal/rockchip_thermal.c 			       regs + TSADCV2_AUTO_CON);
regs              614 drivers/thermal/rockchip_thermal.c 			       regs + TSADCV2_AUTO_CON);
regs              616 drivers/thermal/rockchip_thermal.c 	writel_relaxed(TSADCV2_AUTO_PERIOD_TIME, regs + TSADCV2_AUTO_PERIOD);
regs              618 drivers/thermal/rockchip_thermal.c 		       regs + TSADCV2_HIGHT_INT_DEBOUNCE);
regs              620 drivers/thermal/rockchip_thermal.c 		       regs + TSADCV2_AUTO_PERIOD_HT);
regs              622 drivers/thermal/rockchip_thermal.c 		       regs + TSADCV2_HIGHT_TSHUT_DEBOUNCE);
regs              642 drivers/thermal/rockchip_thermal.c static void rk_tsadcv3_initialize(struct regmap *grf, void __iomem *regs,
regs              648 drivers/thermal/rockchip_thermal.c 		writel_relaxed(TSADCV2_USER_INTER_PD_SOC, regs +
regs              652 drivers/thermal/rockchip_thermal.c 			       regs + TSADCV2_AUTO_PERIOD);
regs              654 drivers/thermal/rockchip_thermal.c 			       regs + TSADCV2_HIGHT_INT_DEBOUNCE);
regs              656 drivers/thermal/rockchip_thermal.c 			       regs + TSADCV2_AUTO_PERIOD_HT);
regs              658 drivers/thermal/rockchip_thermal.c 			       regs + TSADCV2_HIGHT_TSHUT_DEBOUNCE);
regs              671 drivers/thermal/rockchip_thermal.c 			       regs + TSADCV2_AUTO_PERIOD);
regs              673 drivers/thermal/rockchip_thermal.c 			       regs + TSADCV2_HIGHT_INT_DEBOUNCE);
regs              675 drivers/thermal/rockchip_thermal.c 			       regs + TSADCV2_AUTO_PERIOD_HT);
regs              677 drivers/thermal/rockchip_thermal.c 			       regs + TSADCV2_HIGHT_TSHUT_DEBOUNCE);
regs              682 drivers/thermal/rockchip_thermal.c 			       regs + TSADCV2_AUTO_CON);
regs              685 drivers/thermal/rockchip_thermal.c 			       regs + TSADCV2_AUTO_CON);
regs              688 drivers/thermal/rockchip_thermal.c static void rk_tsadcv4_initialize(struct regmap *grf, void __iomem *regs,
regs              691 drivers/thermal/rockchip_thermal.c 	rk_tsadcv2_initialize(grf, regs, tshut_polarity);
regs              695 drivers/thermal/rockchip_thermal.c static void rk_tsadcv2_irq_ack(void __iomem *regs)
regs              699 drivers/thermal/rockchip_thermal.c 	val = readl_relaxed(regs + TSADCV2_INT_PD);
regs              700 drivers/thermal/rockchip_thermal.c 	writel_relaxed(val & TSADCV2_INT_PD_CLEAR_MASK, regs + TSADCV2_INT_PD);
regs              703 drivers/thermal/rockchip_thermal.c static void rk_tsadcv3_irq_ack(void __iomem *regs)
regs              707 drivers/thermal/rockchip_thermal.c 	val = readl_relaxed(regs + TSADCV2_INT_PD);
regs              708 drivers/thermal/rockchip_thermal.c 	writel_relaxed(val & TSADCV3_INT_PD_CLEAR_MASK, regs + TSADCV2_INT_PD);
regs              711 drivers/thermal/rockchip_thermal.c static void rk_tsadcv2_control(void __iomem *regs, bool enable)
regs              715 drivers/thermal/rockchip_thermal.c 	val = readl_relaxed(regs + TSADCV2_AUTO_CON);
regs              721 drivers/thermal/rockchip_thermal.c 	writel_relaxed(val, regs + TSADCV2_AUTO_CON);
regs              731 drivers/thermal/rockchip_thermal.c static void rk_tsadcv3_control(void __iomem *regs, bool enable)
regs              735 drivers/thermal/rockchip_thermal.c 	val = readl_relaxed(regs + TSADCV2_AUTO_CON);
regs              741 drivers/thermal/rockchip_thermal.c 	writel_relaxed(val, regs + TSADCV2_AUTO_CON);
regs              745 drivers/thermal/rockchip_thermal.c 			       int chn, void __iomem *regs, int *temp)
regs              749 drivers/thermal/rockchip_thermal.c 	val = readl_relaxed(regs + TSADCV2_DATA(chn));
regs              755 drivers/thermal/rockchip_thermal.c 				 int chn, void __iomem *regs, int temp)
regs              767 drivers/thermal/rockchip_thermal.c 		int_clr = readl_relaxed(regs + TSADCV2_INT_EN);
regs              769 drivers/thermal/rockchip_thermal.c 		writel_relaxed(int_clr, regs + TSADCV2_INT_EN);
regs              779 drivers/thermal/rockchip_thermal.c 		       regs + TSADCV2_COMP_INT(chn));
regs              781 drivers/thermal/rockchip_thermal.c 	int_en = readl_relaxed(regs + TSADCV2_INT_EN);
regs              783 drivers/thermal/rockchip_thermal.c 	writel_relaxed(int_en, regs + TSADCV2_INT_EN);
regs              789 drivers/thermal/rockchip_thermal.c 				 int chn, void __iomem *regs, int temp)
regs              798 drivers/thermal/rockchip_thermal.c 	writel_relaxed(tshut_value, regs + TSADCV2_COMP_SHUT(chn));
regs              801 drivers/thermal/rockchip_thermal.c 	val = readl_relaxed(regs + TSADCV2_AUTO_CON);
regs              802 drivers/thermal/rockchip_thermal.c 	writel_relaxed(val | TSADCV2_AUTO_SRC_EN(chn), regs + TSADCV2_AUTO_CON);
regs              807 drivers/thermal/rockchip_thermal.c static void rk_tsadcv2_tshut_mode(int chn, void __iomem *regs,
regs              812 drivers/thermal/rockchip_thermal.c 	val = readl_relaxed(regs + TSADCV2_INT_EN);
regs              821 drivers/thermal/rockchip_thermal.c 	writel_relaxed(val, regs + TSADCV2_INT_EN);
regs             1071 drivers/thermal/rockchip_thermal.c 	thermal->chip->irq_ack(thermal->regs);
regs             1090 drivers/thermal/rockchip_thermal.c 				     sensor->id, thermal->regs, high);
regs             1101 drivers/thermal/rockchip_thermal.c 				 sensor->id, thermal->regs, out_temp);
regs             1185 drivers/thermal/rockchip_thermal.c 	tsadc->set_tshut_mode(id, thermal->regs, thermal->tshut_mode);
regs             1187 drivers/thermal/rockchip_thermal.c 	error = tsadc->set_tshut_temp(&tsadc->table, id, thermal->regs,
regs             1249 drivers/thermal/rockchip_thermal.c 	thermal->regs = devm_ioremap_resource(&pdev->dev, res);
regs             1250 drivers/thermal/rockchip_thermal.c 	if (IS_ERR(thermal->regs))
regs             1251 drivers/thermal/rockchip_thermal.c 		return PTR_ERR(thermal->regs);
regs             1297 drivers/thermal/rockchip_thermal.c 	thermal->chip->initialize(thermal->grf, thermal->regs,
regs             1322 drivers/thermal/rockchip_thermal.c 	thermal->chip->control(thermal->regs, true);
regs             1350 drivers/thermal/rockchip_thermal.c 	thermal->chip->control(thermal->regs, false);
regs             1366 drivers/thermal/rockchip_thermal.c 	thermal->chip->control(thermal->regs, false);
regs             1394 drivers/thermal/rockchip_thermal.c 	thermal->chip->initialize(thermal->grf, thermal->regs,
regs             1400 drivers/thermal/rockchip_thermal.c 		thermal->chip->set_tshut_mode(id, thermal->regs,
regs             1404 drivers/thermal/rockchip_thermal.c 					      id, thermal->regs,
regs             1411 drivers/thermal/rockchip_thermal.c 	thermal->chip->control(thermal->regs, true);
regs              333 drivers/thermal/tegra/soctherm.c 	void __iomem *regs;
regs              388 drivers/thermal/tegra/soctherm.c 	void __iomem *base = tegra->regs + sensor->base;
regs              486 drivers/thermal/tegra/soctherm.c 	r = readl(ts->regs + THERMCTL_THERMTRIP_CTL);
regs              490 drivers/thermal/tegra/soctherm.c 	writel(r, ts->regs + THERMCTL_THERMTRIP_CTL);
regs              543 drivers/thermal/tegra/soctherm.c 	r = readl(ts->regs + reg_off);
regs              549 drivers/thermal/tegra/soctherm.c 	writel(r, ts->regs + reg_off);
regs              672 drivers/thermal/tegra/soctherm.c 	r = readl(zn->ts->regs + THERMCTL_INTR_ENABLE);
regs              674 drivers/thermal/tegra/soctherm.c 	writel(r, zn->ts->regs + THERMCTL_INTR_ENABLE);
regs              684 drivers/thermal/tegra/soctherm.c 	r = readl(zn->ts->regs + THERMCTL_INTR_DISABLE);
regs              686 drivers/thermal/tegra/soctherm.c 	writel(r, zn->ts->regs + THERMCTL_INTR_DISABLE);
regs              697 drivers/thermal/tegra/soctherm.c 	r = readl(zone->ts->regs + zone->sg->thermctl_lvl0_offset);
regs              699 drivers/thermal/tegra/soctherm.c 	writel(r, zone->ts->regs + zone->sg->thermctl_lvl0_offset);
regs              708 drivers/thermal/tegra/soctherm.c 	writel(r, zone->ts->regs + zone->sg->thermctl_lvl0_offset);
regs              845 drivers/thermal/tegra/soctherm.c 	r = readl(ts->regs + THERMCTL_INTR_STATUS);
regs              846 drivers/thermal/tegra/soctherm.c 	writel(r, ts->regs + THERMCTL_INTR_DISABLE);
regs              874 drivers/thermal/tegra/soctherm.c 	st = readl(ts->regs + THERMCTL_INTR_STATUS);
regs              891 drivers/thermal/tegra/soctherm.c 		writel(ex, ts->regs + THERMCTL_INTR_STATUS);
regs              926 drivers/thermal/tegra/soctherm.c 		writel(st, ts->regs + THERMCTL_INTR_STATUS);
regs              950 drivers/thermal/tegra/soctherm.c 	r = readl(ts->regs + OC_INTR_ENABLE);
regs              968 drivers/thermal/tegra/soctherm.c 	writel(r, ts->regs + OC_INTR_ENABLE);
regs             1034 drivers/thermal/tegra/soctherm.c 	st = readl(ts->regs + OC_INTR_STATUS);
regs             1045 drivers/thermal/tegra/soctherm.c 		writel(st, ts->regs + OC_INTR_STATUS);
regs             1079 drivers/thermal/tegra/soctherm.c 		writel(st, ts->regs + OC_INTR_STATUS);
regs             1108 drivers/thermal/tegra/soctherm.c 	r = readl(ts->regs + OC_INTR_STATUS);
regs             1109 drivers/thermal/tegra/soctherm.c 	writel(r, ts->regs + OC_INTR_DISABLE);
regs             1299 drivers/thermal/tegra/soctherm.c 		r = readl(ts->regs + tsensors[i].base + SENSOR_CONFIG1);
regs             1317 drivers/thermal/tegra/soctherm.c 		r = readl(ts->regs + tsensors[i].base + SENSOR_STATUS1);
regs             1323 drivers/thermal/tegra/soctherm.c 		r = readl(ts->regs + tsensors[i].base + SENSOR_STATUS0);
regs             1329 drivers/thermal/tegra/soctherm.c 		r = readl(ts->regs + tsensors[i].base + SENSOR_CONFIG0);
regs             1341 drivers/thermal/tegra/soctherm.c 		r = readl(ts->regs + tsensors[i].base + SENSOR_CONFIG2);
regs             1348 drivers/thermal/tegra/soctherm.c 	r = readl(ts->regs + SENSOR_PDIV);
regs             1351 drivers/thermal/tegra/soctherm.c 	r = readl(ts->regs + SENSOR_HOTSPOT_OFF);
regs             1357 drivers/thermal/tegra/soctherm.c 	r = readl(ts->regs + SENSOR_TEMP1);
regs             1362 drivers/thermal/tegra/soctherm.c 	r = readl(ts->regs + SENSOR_TEMP2);
regs             1375 drivers/thermal/tegra/soctherm.c 			r = readl(ts->regs + THERMCTL_LVL_REG(off, level));
regs             1426 drivers/thermal/tegra/soctherm.c 	r = readl(ts->regs + THERMCTL_STATS_CTL);
regs             1435 drivers/thermal/tegra/soctherm.c 		r = readl(ts->regs + THERMCTL_LVL_REG(off, level));
regs             1439 drivers/thermal/tegra/soctherm.c 		r = readl(ts->regs + THERMCTL_LVL_REG(off, level));
regs             1443 drivers/thermal/tegra/soctherm.c 	r = readl(ts->regs + THERMCTL_THERMTRIP_CTL);
regs             1454 drivers/thermal/tegra/soctherm.c 	r = readl(ts->regs + THROT_GLOBAL_CFG);
regs             1459 drivers/thermal/tegra/soctherm.c 	r = readl(ts->regs + THROT_STATUS);
regs             1467 drivers/thermal/tegra/soctherm.c 	r = readl(ts->regs + CPU_PSKIP_STATUS);
regs             1483 drivers/thermal/tegra/soctherm.c DEFINE_SHOW_ATTRIBUTE(regs);
regs             1546 drivers/thermal/tegra/soctherm.c 	r = readl(ts->regs + THROT_STATUS);
regs             1831 drivers/thermal/tegra/soctherm.c 	r = readl(ts->regs + THROT_PSKIP_CTRL(throt, THROTTLE_DEV_CPU));
regs             1835 drivers/thermal/tegra/soctherm.c 	writel(r, ts->regs + THROT_PSKIP_CTRL(throt, THROTTLE_DEV_CPU));
regs             1839 drivers/thermal/tegra/soctherm.c 	writel(r, ts->regs + THROT_PSKIP_RAMP(throt, THROTTLE_DEV_CPU));
regs             1863 drivers/thermal/tegra/soctherm.c 	r = readl(ts->regs + THROT_PSKIP_CTRL(throt, THROTTLE_DEV_CPU));
regs             1867 drivers/thermal/tegra/soctherm.c 	writel(r, ts->regs + THROT_PSKIP_CTRL(throt, THROTTLE_DEV_CPU));
regs             1869 drivers/thermal/tegra/soctherm.c 	r = readl(ts->regs + THROT_PSKIP_RAMP(throt, THROTTLE_DEV_CPU));
regs             1872 drivers/thermal/tegra/soctherm.c 	writel(r, ts->regs + THROT_PSKIP_RAMP(throt, THROTTLE_DEV_CPU));
regs             1891 drivers/thermal/tegra/soctherm.c 	r = readl(ts->regs + THROT_PSKIP_CTRL(throt, THROTTLE_DEV_GPU));
regs             1894 drivers/thermal/tegra/soctherm.c 	writel(r, ts->regs + THROT_PSKIP_CTRL(throt, THROTTLE_DEV_GPU));
regs             1910 drivers/thermal/tegra/soctherm.c 	writel(r, ts->regs + ALARM_CFG(throt));
regs             1911 drivers/thermal/tegra/soctherm.c 	writel(oc->throt_period, ts->regs + ALARM_THROTTLE_PERIOD(throt));
regs             1912 drivers/thermal/tegra/soctherm.c 	writel(oc->alarm_cnt_thresh, ts->regs + ALARM_CNT_THRESHOLD(throt));
regs             1913 drivers/thermal/tegra/soctherm.c 	writel(oc->alarm_filter, ts->regs + ALARM_FILTER(throt));
regs             1947 drivers/thermal/tegra/soctherm.c 	writel(r, ts->regs + THROT_PRIORITY_CTRL(throt));
regs             1950 drivers/thermal/tegra/soctherm.c 	writel(r, ts->regs + THROT_DELAY_CTRL(throt));
regs             1952 drivers/thermal/tegra/soctherm.c 	r = readl(ts->regs + THROT_PRIORITY_LOCK);
regs             1958 drivers/thermal/tegra/soctherm.c 	writel(r, ts->regs + THROT_PRIORITY_LOCK);
regs             1986 drivers/thermal/tegra/soctherm.c 		writel(v, ts->regs + THROT_GLOBAL_CFG);
regs             1996 drivers/thermal/tegra/soctherm.c 	writel(v, ts->regs + THERMCTL_STATS_CTL);
regs             2062 drivers/thermal/tegra/soctherm.c 	pdiv = readl(tegra->regs + SENSOR_PDIV);
regs             2063 drivers/thermal/tegra/soctherm.c 	hotspot = readl(tegra->regs + SENSOR_HOTSPOT_OFF);
regs             2074 drivers/thermal/tegra/soctherm.c 	writel(pdiv, tegra->regs + SENSOR_PDIV);
regs             2075 drivers/thermal/tegra/soctherm.c 	writel(hotspot, tegra->regs + SENSOR_HOTSPOT_OFF);
regs             2134 drivers/thermal/tegra/soctherm.c 	tegra->regs = devm_ioremap_resource(&pdev->dev, res);
regs             2135 drivers/thermal/tegra/soctherm.c 	if (IS_ERR(tegra->regs)) {
regs             2137 drivers/thermal/tegra/soctherm.c 		return PTR_ERR(tegra->regs);
regs             2220 drivers/thermal/tegra/soctherm.c 		zone->reg = tegra->regs + soc->ttgs[i]->sensor_temp_offset;
regs               55 drivers/thermal/zx2967_thermal.c 	void __iomem			*regs;
regs               61 drivers/thermal/zx2967_thermal.c 	void __iomem *regs;
regs               69 drivers/thermal/zx2967_thermal.c 	regs = priv->regs;
regs               72 drivers/thermal/zx2967_thermal.c 		       regs + ZX2967_THERMAL_POWER_MODE);
regs               73 drivers/thermal/zx2967_thermal.c 	writel_relaxed(ZX2967_DCF_EN, regs + ZX2967_THERMAL_DCF);
regs               75 drivers/thermal/zx2967_thermal.c 	val = readl_relaxed(regs + ZX2967_THERMAL_SEL);
regs               78 drivers/thermal/zx2967_thermal.c 	writel_relaxed(val, regs + ZX2967_THERMAL_SEL);
regs               86 drivers/thermal/zx2967_thermal.c 	ret = readx_poll_timeout(readl, regs + ZX2967_THERMAL_CTRL,
regs               95 drivers/thermal/zx2967_thermal.c 		       regs + ZX2967_THERMAL_DCF);
regs               96 drivers/thermal/zx2967_thermal.c 	val = readl_relaxed(regs + ZX2967_THERMAL_CTRL)
regs               99 drivers/thermal/zx2967_thermal.c 		       regs + ZX2967_THERMAL_POWER_MODE);
regs              128 drivers/thermal/zx2967_thermal.c 	priv->regs = devm_ioremap_resource(&pdev->dev, res);
regs              129 drivers/thermal/zx2967_thermal.c 	if (IS_ERR(priv->regs))
regs              130 drivers/thermal/zx2967_thermal.c 		return PTR_ERR(priv->regs);
regs               16 drivers/thunderbolt/path.c static void tb_dump_hop(const struct tb_path_hop *hop, const struct tb_regs_hop *regs)
regs               21 drivers/thunderbolt/path.c 		    hop->in_hop_index, regs->out_port, regs->next_hop);
regs               23 drivers/thunderbolt/path.c 		    regs->weight, regs->priority,
regs               24 drivers/thunderbolt/path.c 		    regs->initial_credits, regs->drop_packages);
regs               26 drivers/thunderbolt/path.c 		    regs->counter_enable, regs->counter);
regs               28 drivers/thunderbolt/path.c 		    regs->ingress_fc, regs->egress_fc,
regs               29 drivers/thunderbolt/path.c 		    regs->ingress_shared_buffer, regs->egress_shared_buffer);
regs               31 drivers/thunderbolt/path.c 		    regs->unknown1, regs->unknown2, regs->unknown3);
regs              296 drivers/tty/mips_ejtag_fdc.c 	void __iomem		*regs[NR_CPUS];
regs              305 drivers/tty/mips_ejtag_fdc.c 	void __iomem *regs;
regs              317 drivers/tty/mips_ejtag_fdc.c 	regs = cons->regs[cpu];
regs              319 drivers/tty/mips_ejtag_fdc.c 	if (!regs) {
regs              320 drivers/tty/mips_ejtag_fdc.c 		regs = mips_cdmm_early_probe(0xfd);
regs              321 drivers/tty/mips_ejtag_fdc.c 		cons->regs[cpu] = regs;
regs              324 drivers/tty/mips_ejtag_fdc.c 	if (IS_ERR(regs))
regs              347 drivers/tty/mips_ejtag_fdc.c 		while (__raw_readl(regs + REG_FDSTAT) & REG_FDSTAT_TXF)
regs              349 drivers/tty/mips_ejtag_fdc.c 		__raw_writel(word.word, regs + REG_FDTX(c->index));
regs              368 drivers/tty/mips_ejtag_fdc.c 	void __iomem *regs;
regs              377 drivers/tty/mips_ejtag_fdc.c 	regs = mips_cdmm_early_probe(0xfd);
regs              378 drivers/tty/mips_ejtag_fdc.c 	if (IS_ERR(regs)) {
regs              379 drivers/tty/mips_ejtag_fdc.c 		ret = PTR_ERR(regs);
regs              384 drivers/tty/mips_ejtag_fdc.c 	c->regs[smp_processor_id()] = regs;
regs              952 drivers/tty/mips_ejtag_fdc.c 	mips_ejtag_fdc_con.regs[dev->cpu] = priv->reg;
regs             1162 drivers/tty/mips_ejtag_fdc.c 	void __iomem *regs;
regs             1167 drivers/tty/mips_ejtag_fdc.c 	regs = mips_ejtag_fdc_con.regs[cpu];
regs             1169 drivers/tty/mips_ejtag_fdc.c 	if (!regs) {
regs             1170 drivers/tty/mips_ejtag_fdc.c 		regs = mips_cdmm_early_probe(0xfd);
regs             1171 drivers/tty/mips_ejtag_fdc.c 		mips_ejtag_fdc_con.regs[cpu] = regs;
regs             1174 drivers/tty/mips_ejtag_fdc.c 	if (IS_ERR(regs))
regs             1175 drivers/tty/mips_ejtag_fdc.c 		return regs;
regs             1177 drivers/tty/mips_ejtag_fdc.c 	return regs;
regs             1184 drivers/tty/mips_ejtag_fdc.c 	void __iomem *regs;
regs             1191 drivers/tty/mips_ejtag_fdc.c 		regs = kgdbfdc_setup();
regs             1192 drivers/tty/mips_ejtag_fdc.c 		if (IS_ERR(regs))
regs             1197 drivers/tty/mips_ejtag_fdc.c 			stat = __raw_readl(regs + REG_FDSTAT);
regs             1206 drivers/tty/mips_ejtag_fdc.c 			data = __raw_readl(regs + REG_FDRX);
regs             1221 drivers/tty/mips_ejtag_fdc.c 	void __iomem *regs;
regs             1231 drivers/tty/mips_ejtag_fdc.c 	regs = kgdbfdc_setup();
regs             1232 drivers/tty/mips_ejtag_fdc.c 	if (IS_ERR(regs))
regs             1236 drivers/tty/mips_ejtag_fdc.c 	while (__raw_readl(regs + REG_FDSTAT) & REG_FDSTAT_TXF)
regs             1239 drivers/tty/mips_ejtag_fdc.c 		     regs + REG_FDTX(CONFIG_MIPS_EJTAG_FDC_KGDB_CHAN));
regs             1460 drivers/tty/mxser.c static int __init mxser_read_register(int port, unsigned short *regs)
regs             1488 drivers/tty/mxser.c 		regs[i] = value;
regs             2443 drivers/tty/mxser.c 	unsigned short regs[16], irq;
regs             2448 drivers/tty/mxser.c 	id = mxser_read_register(cap, regs);
regs             2476 drivers/tty/mxser.c 		irq = regs[9] & 0xF000;
regs             2478 drivers/tty/mxser.c 		if (irq != (regs[9] & 0xFF00))
regs             2481 drivers/tty/mxser.c 		irq = regs[9] & 0xF000;
regs             2484 drivers/tty/mxser.c 		if (irq != regs[9])
regs             2487 drivers/tty/mxser.c 		irq = regs[9] & 0xF000;
regs             2490 drivers/tty/mxser.c 		if ((irq != regs[9]) || (irq != regs[10]))
regs             2500 drivers/tty/mxser.c 		brd->ports[i].ioaddr = (int) regs[i + 1] & 0xFFF8;
regs             2501 drivers/tty/mxser.c 	if ((regs[12] & 0x80) == 0) {
regs             2505 drivers/tty/mxser.c 	brd->vector = (int)regs[11];	/* interrupt vector */
regs             2511 drivers/tty/mxser.c 		if (regs[12] & bits) {
regs               34 drivers/tty/serial/8250/8250_aspeed_vuart.c 	void __iomem		*regs;
regs               70 drivers/tty/serial/8250/8250_aspeed_vuart.c 	addr = (readb(vuart->regs + ASPEED_VUART_ADDRH) << 8) |
regs               71 drivers/tty/serial/8250/8250_aspeed_vuart.c 		(readb(vuart->regs + ASPEED_VUART_ADDRL));
regs               88 drivers/tty/serial/8250/8250_aspeed_vuart.c 	writeb(val >> 8, vuart->regs + ASPEED_VUART_ADDRH);
regs               89 drivers/tty/serial/8250/8250_aspeed_vuart.c 	writeb(val >> 0, vuart->regs + ASPEED_VUART_ADDRL);
regs              102 drivers/tty/serial/8250/8250_aspeed_vuart.c 	reg = readb(vuart->regs + ASPEED_VUART_GCRB);
regs              124 drivers/tty/serial/8250/8250_aspeed_vuart.c 	reg = readb(vuart->regs + ASPEED_VUART_GCRB);
regs              127 drivers/tty/serial/8250/8250_aspeed_vuart.c 	writeb(reg, vuart->regs + ASPEED_VUART_GCRB);
regs              146 drivers/tty/serial/8250/8250_aspeed_vuart.c 	u8 reg = readb(vuart->regs + ASPEED_VUART_GCRA);
regs              153 drivers/tty/serial/8250/8250_aspeed_vuart.c 	writeb(reg, vuart->regs + ASPEED_VUART_GCRA);
regs              161 drivers/tty/serial/8250/8250_aspeed_vuart.c 	reg = readb(vuart->regs + ASPEED_VUART_GCRA);
regs              169 drivers/tty/serial/8250/8250_aspeed_vuart.c 	writeb(reg, vuart->regs + ASPEED_VUART_GCRA);
regs              324 drivers/tty/serial/8250/8250_aspeed_vuart.c 	vuart->regs = devm_ioremap_resource(&pdev->dev, res);
regs              325 drivers/tty/serial/8250/8250_aspeed_vuart.c 	if (IS_ERR(vuart->regs))
regs              326 drivers/tty/serial/8250/8250_aspeed_vuart.c 		return PTR_ERR(vuart->regs);
regs              330 drivers/tty/serial/8250/8250_aspeed_vuart.c 	port.port.membase = vuart->regs;
regs              388 drivers/tty/serial/8250/8250_dw.c 	struct resource *regs = platform_get_resource(pdev, IORESOURCE_MEM, 0);
regs              396 drivers/tty/serial/8250/8250_dw.c 	if (!regs) {
regs              406 drivers/tty/serial/8250/8250_dw.c 	p->mapbase	= regs->start;
regs              419 drivers/tty/serial/8250/8250_dw.c 	p->membase = devm_ioremap(dev, regs->start, resource_size(regs));
regs               81 drivers/tty/serial/8250/8250_em.c 	struct resource *regs = platform_get_resource(pdev, IORESOURCE_MEM, 0);
regs               87 drivers/tty/serial/8250/8250_em.c 	if (!regs || !irq) {
regs              103 drivers/tty/serial/8250/8250_em.c 	up.port.mapbase = regs->start;
regs              210 drivers/tty/serial/8250/8250_ingenic.c 	struct resource *regs = platform_get_resource(pdev, IORESOURCE_MEM, 0);
regs              224 drivers/tty/serial/8250/8250_ingenic.c 	if (!regs || !irq) {
regs              237 drivers/tty/serial/8250/8250_ingenic.c 	uart.port.mapbase = regs->start;
regs              252 drivers/tty/serial/8250/8250_ingenic.c 	uart.port.membase = devm_ioremap(&pdev->dev, regs->start,
regs              253 drivers/tty/serial/8250/8250_ingenic.c 					 resource_size(regs));
regs              182 drivers/tty/serial/8250/8250_lpss.c 	chip->regs = pci_ioremap_bar(pdev, 1);
regs              183 drivers/tty/serial/8250/8250_lpss.c 	if (!chip->regs)
regs              215 drivers/tty/serial/8250/8250_lpss.c 	pci_iounmap(to_pci_dev(chip->dev), chip->regs);
regs              175 drivers/tty/serial/8250/8250_mid.c 	chip->regs = p->membase;
regs              485 drivers/tty/serial/8250/8250_mtk.c 	struct resource *regs = platform_get_resource(pdev, IORESOURCE_MEM, 0);
regs              490 drivers/tty/serial/8250/8250_mtk.c 	if (!regs || !irq) {
regs              495 drivers/tty/serial/8250/8250_mtk.c 	uart.port.membase = devm_ioremap(&pdev->dev, regs->start,
regs              496 drivers/tty/serial/8250/8250_mtk.c 					 resource_size(regs));
regs              512 drivers/tty/serial/8250/8250_mtk.c 	uart.port.mapbase = regs->start;
regs             1132 drivers/tty/serial/8250/8250_omap.c 	struct resource *regs = platform_get_resource(pdev, IORESOURCE_MEM, 0);
regs             1141 drivers/tty/serial/8250/8250_omap.c 	if (!regs || !irq) {
regs             1150 drivers/tty/serial/8250/8250_omap.c 	membase = devm_ioremap_nocache(&pdev->dev, regs->start,
regs             1151 drivers/tty/serial/8250/8250_omap.c 				       resource_size(regs));
regs             1157 drivers/tty/serial/8250/8250_omap.c 	up.port.mapbase = regs->start;
regs              163 drivers/tty/serial/8250/8250_uniphier.c 	struct resource *regs;
regs              168 drivers/tty/serial/8250/8250_uniphier.c 	regs = platform_get_resource(pdev, IORESOURCE_MEM, 0);
regs              169 drivers/tty/serial/8250/8250_uniphier.c 	if (!regs) {
regs              174 drivers/tty/serial/8250/8250_uniphier.c 	membase = devm_ioremap(dev, regs->start, resource_size(regs));
regs              211 drivers/tty/serial/8250/8250_uniphier.c 	up.port.mapbase = regs->start;
regs              212 drivers/tty/serial/8250/8250_uniphier.c 	up.port.mapsize = resource_size(regs);
regs              604 drivers/tty/serial/apbuart.c 		const struct amba_prom_registers *regs;
regs              611 drivers/tty/serial/apbuart.c 		regs = of_get_property(np, "reg", NULL);
regs              615 drivers/tty/serial/apbuart.c 		if (!regs || !freq_hz || (*freq_hz == 0))
regs              620 drivers/tty/serial/apbuart.c 		addr = regs->phys_addr;
regs              162 drivers/tty/serial/ip22zilog.c static void __load_zsregs(struct zilog_channel *channel, unsigned char *regs)
regs              182 drivers/tty/serial/ip22zilog.c 		    regs[R1] & ~(RxINT_MASK | TxINT_ENAB | EXT_INT_ENAB));
regs              185 drivers/tty/serial/ip22zilog.c 	write_zsreg(channel, R4, regs[R4]);
regs              188 drivers/tty/serial/ip22zilog.c 	write_zsreg(channel, R10, regs[R10]);
regs              191 drivers/tty/serial/ip22zilog.c 	write_zsreg(channel, R3, regs[R3] & ~RxENAB);
regs              192 drivers/tty/serial/ip22zilog.c 	write_zsreg(channel, R5, regs[R5] & ~TxENAB);
regs              195 drivers/tty/serial/ip22zilog.c 	write_zsreg(channel, R6, regs[R6]);
regs              196 drivers/tty/serial/ip22zilog.c 	write_zsreg(channel, R7, regs[R7]);
regs              204 drivers/tty/serial/ip22zilog.c 	write_zsreg(channel, R14, regs[R14] & ~BRENAB);
regs              207 drivers/tty/serial/ip22zilog.c 	write_zsreg(channel, R11, regs[R11]);
regs              210 drivers/tty/serial/ip22zilog.c 	write_zsreg(channel, R12, regs[R12]);
regs              211 drivers/tty/serial/ip22zilog.c 	write_zsreg(channel, R13, regs[R13]);
regs              214 drivers/tty/serial/ip22zilog.c 	write_zsreg(channel, R14, regs[R14]);
regs              217 drivers/tty/serial/ip22zilog.c 	write_zsreg(channel, R15, regs[R15]);
regs              224 drivers/tty/serial/ip22zilog.c 	write_zsreg(channel, R3, regs[R3]);
regs              225 drivers/tty/serial/ip22zilog.c 	write_zsreg(channel, R5, regs[R5]);
regs              228 drivers/tty/serial/ip22zilog.c 	write_zsreg(channel, R1, regs[R1]);
regs              111 drivers/tty/serial/mvebu-uart.c 	struct uart_regs_layout regs;
regs              145 drivers/tty/serial/mvebu-uart.c #define UART_RBR(port) (to_mvuart(port)->data->regs.rbr)
regs              146 drivers/tty/serial/mvebu-uart.c #define UART_TSH(port) (to_mvuart(port)->data->regs.tsh)
regs              147 drivers/tty/serial/mvebu-uart.c #define UART_CTRL(port) (to_mvuart(port)->data->regs.ctrl)
regs              148 drivers/tty/serial/mvebu-uart.c #define UART_INTR(port) (to_mvuart(port)->data->regs.intr)
regs              923 drivers/tty/serial/mvebu-uart.c 	.regs.rbr = UART_STD_RBR,
regs              924 drivers/tty/serial/mvebu-uart.c 	.regs.tsh = UART_STD_TSH,
regs              925 drivers/tty/serial/mvebu-uart.c 	.regs.ctrl = UART_STD_CTRL1,
regs              926 drivers/tty/serial/mvebu-uart.c 	.regs.intr = UART_STD_CTRL2,
regs              935 drivers/tty/serial/mvebu-uart.c 	.regs.rbr = UART_EXT_RBR,
regs              936 drivers/tty/serial/mvebu-uart.c 	.regs.tsh = UART_EXT_TSH,
regs              937 drivers/tty/serial/mvebu-uart.c 	.regs.ctrl = UART_EXT_CTRL1,
regs              938 drivers/tty/serial/mvebu-uart.c 	.regs.intr = UART_EXT_CTRL2,
regs              116 drivers/tty/serial/pmac_zilog.c static void pmz_load_zsregs(struct uart_pmac_port *uap, u8 *regs)
regs              136 drivers/tty/serial/pmac_zilog.c 		    regs[R1] & ~(RxINT_MASK | TxINT_ENAB | EXT_INT_ENAB));
regs              139 drivers/tty/serial/pmac_zilog.c 	write_zsreg(uap, R4, regs[R4]);
regs              142 drivers/tty/serial/pmac_zilog.c 	write_zsreg(uap, R10, regs[R10]);
regs              145 drivers/tty/serial/pmac_zilog.c 	write_zsreg(uap, R3, regs[R3] & ~RxENABLE);
regs              146 drivers/tty/serial/pmac_zilog.c 	write_zsreg(uap, R5, regs[R5] & ~TxENABLE);
regs              149 drivers/tty/serial/pmac_zilog.c 	write_zsreg(uap, R15, regs[R15] | EN85C30);
regs              150 drivers/tty/serial/pmac_zilog.c 	write_zsreg(uap, R7, regs[R7P]);
regs              153 drivers/tty/serial/pmac_zilog.c 	write_zsreg(uap, R15, regs[R15] & ~EN85C30);
regs              156 drivers/tty/serial/pmac_zilog.c 	write_zsreg(uap, R6, regs[R6]);
regs              157 drivers/tty/serial/pmac_zilog.c 	write_zsreg(uap, R7, regs[R7]);
regs              160 drivers/tty/serial/pmac_zilog.c 	write_zsreg(uap, R14, regs[R14] & ~BRENAB);
regs              163 drivers/tty/serial/pmac_zilog.c 	write_zsreg(uap, R11, regs[R11]);
regs              166 drivers/tty/serial/pmac_zilog.c 	write_zsreg(uap, R12, regs[R12]);
regs              167 drivers/tty/serial/pmac_zilog.c 	write_zsreg(uap, R13, regs[R13]);
regs              170 drivers/tty/serial/pmac_zilog.c 	write_zsreg(uap, R14, regs[R14]);
regs              177 drivers/tty/serial/pmac_zilog.c 	write_zsreg(uap, R3, regs[R3]);
regs              178 drivers/tty/serial/pmac_zilog.c 	write_zsreg(uap, R5, regs[R5]);
regs              181 drivers/tty/serial/pmac_zilog.c 	write_zsreg(uap, R1, regs[R1]);
regs              184 drivers/tty/serial/pmac_zilog.c 	write_zsreg(uap, R9, regs[R9]);
regs              110 drivers/tty/serial/sh-sci.c 	const struct plat_sci_reg regs[SCIx_NR_REGS];
regs              182 drivers/tty/serial/sh-sci.c 		.regs = {
regs              202 drivers/tty/serial/sh-sci.c 		.regs = {
regs              224 drivers/tty/serial/sh-sci.c 		.regs = {
regs              248 drivers/tty/serial/sh-sci.c 		.regs = {
regs              274 drivers/tty/serial/sh-sci.c 		.regs = {
regs              301 drivers/tty/serial/sh-sci.c 		.regs = {
regs              325 drivers/tty/serial/sh-sci.c 		.regs = {
regs              347 drivers/tty/serial/sh-sci.c 		.regs = {
regs              372 drivers/tty/serial/sh-sci.c 		.regs = {
regs              398 drivers/tty/serial/sh-sci.c 		.regs = {
regs              428 drivers/tty/serial/sh-sci.c 		.regs = {
regs              452 drivers/tty/serial/sh-sci.c 		.regs = {
regs              479 drivers/tty/serial/sh-sci.c 		.regs = {
regs              498 drivers/tty/serial/sh-sci.c #define sci_getreg(up, offset)		(&to_sci_port(up)->params->regs[offset])
regs               54 drivers/tty/serial/sunsab.c 	union sab82532_async_regs	__iomem *regs;	/* Chip registers	*/
regs               99 drivers/tty/serial/sunsab.c 	while ((readb(&up->regs->r.star) & SAB82532_STAR_TEC) && --timeout)
regs              107 drivers/tty/serial/sunsab.c 	while ((readb(&up->regs->r.star) & SAB82532_STAR_CEC) && --timeout)
regs              132 drivers/tty/serial/sunsab.c 		count = readb(&up->regs->r.rbcl) & (SAB82532_RECV_FIFO_SIZE - 1);
regs              139 drivers/tty/serial/sunsab.c 		writeb(SAB82532_CMDR_RFRD, &up->regs->w.cmdr);
regs              148 drivers/tty/serial/sunsab.c 		buf[i] = readb(&up->regs->r.rfifo[i]);
regs              153 drivers/tty/serial/sunsab.c 		writeb(SAB82532_CMDR_RMC, &up->regs->w.cmdr);
regs              243 drivers/tty/serial/sunsab.c 		writeb(up->interrupt_mask1, &up->regs->w.imr1);
regs              252 drivers/tty/serial/sunsab.c 	if (!(readb(&up->regs->r.star) & SAB82532_STAR_XFW))
regs              260 drivers/tty/serial/sunsab.c 		writeb(up->interrupt_mask1, &up->regs->w.imr1);
regs              265 drivers/tty/serial/sunsab.c 	writeb(up->interrupt_mask1, &up->regs->w.imr1);
regs              272 drivers/tty/serial/sunsab.c 		       &up->regs->w.xfifo[i]);
regs              281 drivers/tty/serial/sunsab.c 	writeb(SAB82532_CMDR_XF, &up->regs->w.cmdr);
regs              295 drivers/tty/serial/sunsab.c 				       !(readb(&up->regs->r.vstr) & SAB82532_VSTR_CD));
regs              299 drivers/tty/serial/sunsab.c 				       (readb(&up->regs->r.star) & SAB82532_STAR_CTS));
regs              301 drivers/tty/serial/sunsab.c 	if ((readb(&up->regs->r.pvr) & up->pvr_dsr_bit) ^ up->dsr) {
regs              302 drivers/tty/serial/sunsab.c 		up->dsr = (readb(&up->regs->r.pvr) & up->pvr_dsr_bit) ? 0 : 1;
regs              320 drivers/tty/serial/sunsab.c 	gis = readb(&up->regs->r.gis) >> up->gis_shift;
regs              322 drivers/tty/serial/sunsab.c 		status.sreg.isr0 = readb(&up->regs->r.isr0);
regs              324 drivers/tty/serial/sunsab.c 		status.sreg.isr1 = readb(&up->regs->r.isr1);
regs              396 drivers/tty/serial/sunsab.c 	val = readb(&up->regs->r.pvr);
regs              399 drivers/tty/serial/sunsab.c 	val = readb(&up->regs->r.vstr);
regs              402 drivers/tty/serial/sunsab.c 	val = readb(&up->regs->r.star);
regs              415 drivers/tty/serial/sunsab.c 	writeb(up->interrupt_mask1, &up->regs->w.imr1);
regs              425 drivers/tty/serial/sunsab.c 		writeb(up->cached_mode, &up->regs->rw.mode);
regs              426 drivers/tty/serial/sunsab.c 		writeb(up->cached_pvr, &up->regs->rw.pvr);
regs              427 drivers/tty/serial/sunsab.c 		writeb(up->cached_dafo, &up->regs->w.dafo);
regs              429 drivers/tty/serial/sunsab.c 		writeb(up->cached_ebrg & 0xff, &up->regs->w.bgr);
regs              430 drivers/tty/serial/sunsab.c 		tmp = readb(&up->regs->rw.ccr2);
regs              433 drivers/tty/serial/sunsab.c 		writeb(tmp, &up->regs->rw.ccr2);
regs              449 drivers/tty/serial/sunsab.c 	writeb(up->interrupt_mask1, &up->regs->w.imr1);
regs              459 drivers/tty/serial/sunsab.c 		       &up->regs->w.xfifo[i]);
regs              468 drivers/tty/serial/sunsab.c 	writeb(SAB82532_CMDR_XF, &up->regs->w.cmdr);
regs              484 drivers/tty/serial/sunsab.c 	writeb(ch, &up->regs->w.tic);
regs              496 drivers/tty/serial/sunsab.c 	writeb(up->interrupt_mask1, &up->regs->w.imr0);
regs              546 drivers/tty/serial/sunsab.c 	writeb(SAB82532_CMDR_RRES, &up->regs->w.cmdr);
regs              548 drivers/tty/serial/sunsab.c 	writeb(SAB82532_CMDR_XRES, &up->regs->w.cmdr);
regs              553 drivers/tty/serial/sunsab.c 	(void) readb(&up->regs->r.isr0);
regs              554 drivers/tty/serial/sunsab.c 	(void) readb(&up->regs->r.isr1);
regs              559 drivers/tty/serial/sunsab.c 	writeb(0, &up->regs->w.ccr0);				/* power-down */
regs              561 drivers/tty/serial/sunsab.c 	       SAB82532_CCR0_SM_ASYNC, &up->regs->w.ccr0);
regs              562 drivers/tty/serial/sunsab.c 	writeb(SAB82532_CCR1_ODS | SAB82532_CCR1_BCR | 7, &up->regs->w.ccr1);
regs              564 drivers/tty/serial/sunsab.c 	       SAB82532_CCR2_TOE, &up->regs->w.ccr2);
regs              565 drivers/tty/serial/sunsab.c 	writeb(0, &up->regs->w.ccr3);
regs              566 drivers/tty/serial/sunsab.c 	writeb(SAB82532_CCR4_MCK4 | SAB82532_CCR4_EBRG, &up->regs->w.ccr4);
regs              569 drivers/tty/serial/sunsab.c 	writeb(up->cached_mode, &up->regs->w.mode);
regs              570 drivers/tty/serial/sunsab.c 	writeb(SAB82532_RFC_DPS|SAB82532_RFC_RFTH_32, &up->regs->w.rfc);
regs              572 drivers/tty/serial/sunsab.c 	tmp = readb(&up->regs->rw.ccr0);
regs              574 drivers/tty/serial/sunsab.c 	writeb(tmp, &up->regs->rw.ccr0);
regs              581 drivers/tty/serial/sunsab.c 	writeb(up->interrupt_mask0, &up->regs->w.imr0);
regs              586 drivers/tty/serial/sunsab.c 	writeb(up->interrupt_mask1, &up->regs->w.imr1);
regs              606 drivers/tty/serial/sunsab.c 	writeb(up->interrupt_mask0, &up->regs->w.imr0);
regs              608 drivers/tty/serial/sunsab.c 	writeb(up->interrupt_mask1, &up->regs->w.imr1);
regs              611 drivers/tty/serial/sunsab.c 	up->cached_dafo = readb(&up->regs->rw.dafo);
regs              613 drivers/tty/serial/sunsab.c 	writeb(up->cached_dafo, &up->regs->rw.dafo);
regs              617 drivers/tty/serial/sunsab.c 	writeb(up->cached_mode, &up->regs->rw.mode);
regs              631 drivers/tty/serial/sunsab.c 	tmp = readb(&up->regs->rw.ccr0);
regs              633 drivers/tty/serial/sunsab.c 	writeb(tmp, &up->regs->rw.ccr0);
regs              859 drivers/tty/serial/sunsab.c 	writeb(c, &up->regs->w.tic);
regs              933 drivers/tty/serial/sunsab.c 	writeb(up->interrupt_mask0, &up->regs->w.imr0);
regs              938 drivers/tty/serial/sunsab.c 	writeb(up->interrupt_mask1, &up->regs->w.imr1);
regs              982 drivers/tty/serial/sunsab.c 	up->regs = (union sab82532_async_regs __iomem *) up->port.membase;
regs              989 drivers/tty/serial/sunsab.c 	writeb(SAB82532_IPC_IC_ACT_LOW, &up->regs->w.ipc);
regs              995 drivers/tty/serial/sunsab.c 	up->type = readb(&up->regs->r.vstr) & 0x0f;
regs              996 drivers/tty/serial/sunsab.c 	writeb(~((1 << 1) | (1 << 2) | (1 << 4)), &up->regs->w.pcr);
regs              997 drivers/tty/serial/sunsab.c 	writeb(0xff, &up->regs->w.pim);
regs             1008 drivers/tty/serial/sunsab.c 	writeb(up->cached_pvr, &up->regs->w.pvr);
regs             1009 drivers/tty/serial/sunsab.c 	up->cached_mode = readb(&up->regs->rw.mode);
regs             1011 drivers/tty/serial/sunsab.c 	writeb(up->cached_mode, &up->regs->rw.mode);
regs             1013 drivers/tty/serial/sunsab.c 	writeb(up->cached_mode, &up->regs->rw.mode);
regs              179 drivers/tty/serial/sunzilog.c static int __load_zsregs(struct zilog_channel __iomem *channel, unsigned char *regs)
regs              201 drivers/tty/serial/sunzilog.c 		    regs[R1] & ~(RxINT_MASK | TxINT_ENAB | EXT_INT_ENAB));
regs              204 drivers/tty/serial/sunzilog.c 	write_zsreg(channel, R4, regs[R4]);
regs              207 drivers/tty/serial/sunzilog.c 	write_zsreg(channel, R10, regs[R10]);
regs              210 drivers/tty/serial/sunzilog.c 	write_zsreg(channel, R3, regs[R3] & ~RxENAB);
regs              211 drivers/tty/serial/sunzilog.c 	write_zsreg(channel, R5, regs[R5] & ~TxENAB);
regs              214 drivers/tty/serial/sunzilog.c 	write_zsreg(channel, R6, regs[R6]);
regs              215 drivers/tty/serial/sunzilog.c 	write_zsreg(channel, R7, regs[R7]);
regs              223 drivers/tty/serial/sunzilog.c 	write_zsreg(channel, R14, regs[R14] & ~BRENAB);
regs              226 drivers/tty/serial/sunzilog.c 	write_zsreg(channel, R11, regs[R11]);
regs              229 drivers/tty/serial/sunzilog.c 	write_zsreg(channel, R12, regs[R12]);
regs              230 drivers/tty/serial/sunzilog.c 	write_zsreg(channel, R13, regs[R13]);
regs              233 drivers/tty/serial/sunzilog.c 	write_zsreg(channel, R14, regs[R14]);
regs              236 drivers/tty/serial/sunzilog.c 	write_zsreg(channel, R15, (regs[R15] | WR7pEN) & ~FIFOEN);
regs              241 drivers/tty/serial/sunzilog.c 		write_zsreg(channel, R7,  regs[R7p]);
regs              244 drivers/tty/serial/sunzilog.c 		write_zsreg(channel, R15, regs[R15] & ~WR7pEN);
regs              248 drivers/tty/serial/sunzilog.c 		regs[R15] &= ~FIFOEN;
regs              257 drivers/tty/serial/sunzilog.c 	write_zsreg(channel, R3, regs[R3]);
regs              258 drivers/tty/serial/sunzilog.c 	write_zsreg(channel, R5, regs[R5]);
regs              261 drivers/tty/serial/sunzilog.c 	write_zsreg(channel, R1, regs[R1]);
regs             1523 drivers/tty/serial/sunzilog.c 	struct zilog_layout __iomem *regs;
regs             1528 drivers/tty/serial/sunzilog.c 	regs = sunzilog_chip_regs[up[0].port.line / 2];
regs             1529 drivers/tty/serial/sunzilog.c 	of_iounmap(&op->resource[0], regs, sizeof(struct zilog_layout));
regs             1422 drivers/tty/serial/ucc_uart.c 	qe_port->us_info.regs = (phys_addr_t) res.start;
regs              206 drivers/tty/serial/zs.c 			printk("W%-2d = 0x%02x\t", j, zport->regs[j]);
regs              268 drivers/tty/serial/zs.c static void load_zsregs(struct zs_port *zport, u8 *regs, int irq)
regs              273 drivers/tty/serial/zs.c 	write_zsreg(zport, R3, regs[3] & ~RxENABLE);
regs              274 drivers/tty/serial/zs.c 	write_zsreg(zport, R5, regs[5] & ~TxENAB);
regs              275 drivers/tty/serial/zs.c 	write_zsreg(zport, R4, regs[4]);
regs              276 drivers/tty/serial/zs.c 	write_zsreg(zport, R9, regs[9]);
regs              277 drivers/tty/serial/zs.c 	write_zsreg(zport, R1, regs[1]);
regs              278 drivers/tty/serial/zs.c 	write_zsreg(zport, R2, regs[2]);
regs              279 drivers/tty/serial/zs.c 	write_zsreg(zport, R10, regs[10]);
regs              280 drivers/tty/serial/zs.c 	write_zsreg(zport, R14, regs[14] & ~BRENABL);
regs              281 drivers/tty/serial/zs.c 	write_zsreg(zport, R11, regs[11]);
regs              282 drivers/tty/serial/zs.c 	write_zsreg(zport, R12, regs[12]);
regs              283 drivers/tty/serial/zs.c 	write_zsreg(zport, R13, regs[13]);
regs              284 drivers/tty/serial/zs.c 	write_zsreg(zport, R14, regs[14]);
regs              285 drivers/tty/serial/zs.c 	write_zsreg(zport, R15, regs[15]);
regs              286 drivers/tty/serial/zs.c 	if (regs[3] & RxENABLE)
regs              287 drivers/tty/serial/zs.c 		write_zsreg(zport, R3, regs[3]);
regs              288 drivers/tty/serial/zs.c 	if (regs[5] & TxENAB)
regs              289 drivers/tty/serial/zs.c 		write_zsreg(zport, R5, regs[5]);
regs              355 drivers/tty/serial/zs.c 	mask_a = zport_a->regs[15];
regs              356 drivers/tty/serial/zs.c 	mask_b = zport->regs[15];
regs              399 drivers/tty/serial/zs.c 			zport_a->regs[5] |= DTR;
regs              401 drivers/tty/serial/zs.c 			zport_a->regs[5] &= ~DTR;
regs              403 drivers/tty/serial/zs.c 			zport_a->regs[5] |= RTS;
regs              405 drivers/tty/serial/zs.c 			zport_a->regs[5] &= ~RTS;
regs              406 drivers/tty/serial/zs.c 		write_zsreg(zport_a, R5, zport_a->regs[5]);
regs              410 drivers/tty/serial/zs.c 	oldloop = zport->regs[14];
regs              417 drivers/tty/serial/zs.c 		zport->regs[14] = newloop;
regs              418 drivers/tty/serial/zs.c 		write_zsreg(zport, R14, zport->regs[14]);
regs              462 drivers/tty/serial/zs.c 	zport->regs[15] &= ~BRKIE;
regs              463 drivers/tty/serial/zs.c 	zport->regs[1] &= ~(RxINT_MASK | TxINT_ENAB);
regs              464 drivers/tty/serial/zs.c 	zport->regs[1] |= RxINT_DISAB;
regs              468 drivers/tty/serial/zs.c 		zport_a->regs[15] &= ~(DCDIE | SYNCIE);
regs              469 drivers/tty/serial/zs.c 		write_zsreg(zport_a, R15, zport_a->regs[15]);
regs              470 drivers/tty/serial/zs.c 		if (!(zport_a->regs[15] & BRKIE)) {
regs              471 drivers/tty/serial/zs.c 			zport_a->regs[1] &= ~EXT_INT_ENAB;
regs              472 drivers/tty/serial/zs.c 			write_zsreg(zport_a, R1, zport_a->regs[1]);
regs              476 drivers/tty/serial/zs.c 		zport->regs[15] &= ~(DCDIE | CTSIE);
regs              477 drivers/tty/serial/zs.c 		zport->regs[1] &= ~EXT_INT_ENAB;
regs              480 drivers/tty/serial/zs.c 		if (!(zport->regs[15] & (DCDIE | SYNCIE)))
regs              481 drivers/tty/serial/zs.c 			zport->regs[1] &= ~EXT_INT_ENAB;
regs              484 drivers/tty/serial/zs.c 	write_zsreg(zport, R15, zport->regs[15]);
regs              485 drivers/tty/serial/zs.c 	write_zsreg(zport, R1, zport->regs[1]);
regs              501 drivers/tty/serial/zs.c 	if (!(zport_a->regs[1] & EXT_INT_ENAB))
regs              505 drivers/tty/serial/zs.c 	zport_a->regs[1] |= EXT_INT_ENAB;
regs              506 drivers/tty/serial/zs.c 	zport_a->regs[15] |= DCDIE | SYNCIE;
regs              509 drivers/tty/serial/zs.c 	zport->regs[15] |= DCDIE | CTSIE;
regs              513 drivers/tty/serial/zs.c 	write_zsreg(zport_a, R1, zport_a->regs[1]);
regs              514 drivers/tty/serial/zs.c 	write_zsreg(zport_a, R15, zport_a->regs[15]);
regs              515 drivers/tty/serial/zs.c 	write_zsreg(zport, R15, zport->regs[15]);
regs              527 drivers/tty/serial/zs.c 		zport->regs[5] |= SND_BRK;
regs              529 drivers/tty/serial/zs.c 		zport->regs[5] &= ~SND_BRK;
regs              530 drivers/tty/serial/zs.c 	write_zsreg(zport, R5, zport->regs[5]);
regs              662 drivers/tty/serial/zs.c 	if (zport->regs[15] & BRKIE) {
regs              785 drivers/tty/serial/zs.c 	if (!(zport->regs[1] & EXT_INT_ENAB))
regs              789 drivers/tty/serial/zs.c 	zport->regs[1] &= ~RxINT_MASK;
regs              790 drivers/tty/serial/zs.c 	zport->regs[1] |= RxINT_ALL | TxINT_ENAB | EXT_INT_ENAB;
regs              791 drivers/tty/serial/zs.c 	zport->regs[3] |= RxENABLE;
regs              792 drivers/tty/serial/zs.c 	zport->regs[15] |= BRKIE;
regs              793 drivers/tty/serial/zs.c 	write_zsreg(zport, R1, zport->regs[1]);
regs              794 drivers/tty/serial/zs.c 	write_zsreg(zport, R3, zport->regs[3]);
regs              795 drivers/tty/serial/zs.c 	write_zsreg(zport, R5, zport->regs[5]);
regs              796 drivers/tty/serial/zs.c 	write_zsreg(zport, R15, zport->regs[15]);
regs              818 drivers/tty/serial/zs.c 	zport->regs[3] &= ~RxENABLE;
regs              819 drivers/tty/serial/zs.c 	write_zsreg(zport, R5, zport->regs[5]);
regs              820 drivers/tty/serial/zs.c 	write_zsreg(zport, R3, zport->regs[3]);
regs              848 drivers/tty/serial/zs.c 	load_zsregs(zport, zport->regs, irq);
regs              866 drivers/tty/serial/zs.c 	zport->regs[3] &= ~RxNBITS_MASK;
regs              867 drivers/tty/serial/zs.c 	zport->regs[5] &= ~TxNBITS_MASK;
regs              870 drivers/tty/serial/zs.c 		zport->regs[3] |= Rx5;
regs              871 drivers/tty/serial/zs.c 		zport->regs[5] |= Tx5;
regs              874 drivers/tty/serial/zs.c 		zport->regs[3] |= Rx6;
regs              875 drivers/tty/serial/zs.c 		zport->regs[5] |= Tx6;
regs              878 drivers/tty/serial/zs.c 		zport->regs[3] |= Rx7;
regs              879 drivers/tty/serial/zs.c 		zport->regs[5] |= Tx7;
regs              883 drivers/tty/serial/zs.c 		zport->regs[3] |= Rx8;
regs              884 drivers/tty/serial/zs.c 		zport->regs[5] |= Tx8;
regs              889 drivers/tty/serial/zs.c 	zport->regs[4] &= ~(XCLK_MASK | SB_MASK | PAR_ENA | PAR_EVEN);
regs              891 drivers/tty/serial/zs.c 		zport->regs[4] |= SB2;
regs              893 drivers/tty/serial/zs.c 		zport->regs[4] |= SB1;
regs              895 drivers/tty/serial/zs.c 		zport->regs[4] |= PAR_ENA;
regs              897 drivers/tty/serial/zs.c 		zport->regs[4] |= PAR_EVEN;
regs              900 drivers/tty/serial/zs.c 		zport->regs[4] |= X64CLK;
regs              903 drivers/tty/serial/zs.c 		zport->regs[4] |= X32CLK;
regs              906 drivers/tty/serial/zs.c 		zport->regs[4] |= X16CLK;
regs              909 drivers/tty/serial/zs.c 		zport->regs[4] |= X1CLK;
regs              919 drivers/tty/serial/zs.c 	zport->regs[12] = brg & 0xff;
regs              920 drivers/tty/serial/zs.c 	zport->regs[13] = (brg >> 8) & 0xff;
regs              940 drivers/tty/serial/zs.c 		zport->regs[3] |= RxENABLE;
regs              942 drivers/tty/serial/zs.c 		zport->regs[3] &= ~RxENABLE;
regs              946 drivers/tty/serial/zs.c 			zport->regs[15] |= DCDIE;
regs              948 drivers/tty/serial/zs.c 			zport->regs[15] &= ~DCDIE;
regs              950 drivers/tty/serial/zs.c 			zport->regs[15] |= CTSIE;
regs              952 drivers/tty/serial/zs.c 			zport->regs[15] &= ~CTSIE;
regs              957 drivers/tty/serial/zs.c 	load_zsregs(zport, zport->regs, irq);
regs              973 drivers/tty/serial/zs.c 		zport->regs[5] |= TxENAB;
regs              975 drivers/tty/serial/zs.c 		zport->regs[5] &= ~TxENAB;
regs              976 drivers/tty/serial/zs.c 	write_zsreg(zport, R5, zport->regs[5]);
regs             1121 drivers/tty/serial/zs.c 				zport->regs[i] = zs_init_regs[i];
regs             1160 drivers/tty/serial/zs.c 	txint = zport->regs[1];
regs             1161 drivers/tty/serial/zs.c 	txenb = zport->regs[5];
regs             1163 drivers/tty/serial/zs.c 		zport->regs[1] = txint & ~TxINT_ENAB;
regs             1164 drivers/tty/serial/zs.c 		write_zsreg(zport, R1, zport->regs[1]);
regs             1167 drivers/tty/serial/zs.c 		zport->regs[5] = txenb | TxENAB;
regs             1168 drivers/tty/serial/zs.c 		write_zsreg(zport, R5, zport->regs[5]);
regs             1179 drivers/tty/serial/zs.c 		zport->regs[5] &= ~TxENAB;
regs             1180 drivers/tty/serial/zs.c 		write_zsreg(zport, R5, zport->regs[5]);
regs             1183 drivers/tty/serial/zs.c 		zport->regs[1] |= TxINT_ENAB;
regs             1184 drivers/tty/serial/zs.c 		write_zsreg(zport, R1, zport->regs[1]);
regs               34 drivers/tty/serial/zs.h 	u8		regs[ZS_NUM_REGS];	/* Channel write registers.  */
regs              242 drivers/tty/sysrq.c 		struct pt_regs *regs = NULL;
regs              245 drivers/tty/sysrq.c 			regs = get_irq_regs();
regs              246 drivers/tty/sysrq.c 		if (regs) {
regs              248 drivers/tty/sysrq.c 			show_regs(regs);
regs              264 drivers/tty/sysrq.c 	struct pt_regs *regs = NULL;
regs              267 drivers/tty/sysrq.c 		regs = get_irq_regs();
regs              268 drivers/tty/sysrq.c 	if (regs)
regs              269 drivers/tty/sysrq.c 		show_regs(regs);
regs              480 drivers/tty/vt/keyboard.c 	struct pt_regs *regs = get_irq_regs();
regs              482 drivers/tty/vt/keyboard.c 	if (regs)
regs              483 drivers/tty/vt/keyboard.c 		show_regs(regs);
regs              323 drivers/uio/uio_fsl_elbc_gpcm.c 	if (!fsl_lbc_ctrl_dev || !fsl_lbc_ctrl_dev->regs)
regs              331 drivers/uio/uio_fsl_elbc_gpcm.c 	priv->lbc = fsl_lbc_ctrl_dev->regs;
regs               20 drivers/usb/c67x00/c67x00-ll-hpi.c 	u16 regs[COMM_REGS];
regs              288 drivers/usb/c67x00/c67x00-ll-hpi.c 		hpi_write_word(dev, COMM_R(i), data->regs[i]);
regs              322 drivers/usb/c67x00/c67x00-ll-hpi.c 	data.regs[0] = 50;	/* Reset USB port for 50ms */
regs              323 drivers/usb/c67x00/c67x00-ll-hpi.c 	data.regs[1] = port | (sie->sie_num << 1);
regs              443 drivers/usb/cdns3/core.c 	void __iomem *regs;
regs              484 drivers/usb/cdns3/core.c 	regs = devm_ioremap_resource(dev, res);
regs              485 drivers/usb/cdns3/core.c 	if (IS_ERR(regs))
regs              486 drivers/usb/cdns3/core.c 		return PTR_ERR(regs);
regs              487 drivers/usb/cdns3/core.c 	cdns->dev_regs	= regs;
regs              309 drivers/usb/cdns3/drd.c 	void __iomem *regs;
regs              313 drivers/usb/cdns3/drd.c 	regs = devm_ioremap_resource(cdns->dev, &cdns->otg_res);
regs              314 drivers/usb/cdns3/drd.c 	if (IS_ERR(regs))
regs              315 drivers/usb/cdns3/drd.c 		return PTR_ERR(regs);
regs              326 drivers/usb/cdns3/drd.c 	cdns->otg_v0_regs = regs;
regs              330 drivers/usb/cdns3/drd.c 		cdns->otg_regs = regs;
regs              336 drivers/usb/cdns3/drd.c 		cdns->otg_v1_regs = regs;
regs               37 drivers/usb/cdns3/ep0.c 	struct cdns3_usb_regs __iomem *regs = priv_dev->regs;
regs               59 drivers/usb/cdns3/ep0.c 	writel(EP_STS_TRBERR, &regs->ep_sts);
regs               60 drivers/usb/cdns3/ep0.c 	writel(EP_TRADDR_TRADDR(priv_ep->trb_pool_dma), &regs->ep_traddr);
regs               62 drivers/usb/cdns3/ep0.c 				 readl(&regs->ep_traddr));
regs               65 drivers/usb/cdns3/ep0.c 	writel(EP_CMD_DRDY, &regs->ep_cmd);
regs               71 drivers/usb/cdns3/ep0.c 		writel(EP_CMD_ERDY, &priv_dev->regs->ep_cmd);
regs              117 drivers/usb/cdns3/ep0.c 		writel(EP_CMD_SSTALL, &priv_dev->regs->ep_cmd);
regs              124 drivers/usb/cdns3/ep0.c 	       &priv_dev->regs->ep_cmd);
regs              216 drivers/usb/cdns3/ep0.c 	reg = readl(&priv_dev->regs->usb_cmd);
regs              219 drivers/usb/cdns3/ep0.c 	       &priv_dev->regs->usb_cmd);
regs              272 drivers/usb/cdns3/ep0.c 		if (EP_STS_STALL(readl(&priv_dev->regs->ep_sts)) ||
regs              342 drivers/usb/cdns3/ep0.c 			cdns3_set_register_bit(&priv_dev->regs->usb_cmd,
regs              620 drivers/usb/cdns3/ep0.c 	ep_sts_reg = readl(&priv_dev->regs->ep_sts);
regs              636 drivers/usb/cdns3/ep0.c 	ep_sts_reg = readl(&priv_dev->regs->ep_sts);
regs              637 drivers/usb/cdns3/ep0.c 	writel(ep_sts_reg, &priv_dev->regs->ep_sts);
regs              814 drivers/usb/cdns3/ep0.c 	struct cdns3_usb_regs __iomem *regs;
regs              818 drivers/usb/cdns3/ep0.c 	regs = priv_dev->regs;
regs              842 drivers/usb/cdns3/ep0.c 		cdns3_set_register_bit(&priv_dev->regs->dtrans,
regs              844 drivers/usb/cdns3/ep0.c 		cdns3_set_register_bit(&priv_dev->regs->tdl_from_trb,
regs              849 drivers/usb/cdns3/ep0.c 	       &regs->ep_cfg);
regs              852 drivers/usb/cdns3/ep0.c 	       &regs->ep_sts_en);
regs              858 drivers/usb/cdns3/ep0.c 	       &regs->ep_cfg);
regs              860 drivers/usb/cdns3/ep0.c 	writel(EP_STS_EN_SETUPEN | EP_STS_EN_TRBERREN, &regs->ep_sts_en);
regs              862 drivers/usb/cdns3/ep0.c 	cdns3_set_register_bit(&regs->usb_conf, USB_CONF_U1DS | USB_CONF_U2DS);
regs              101 drivers/usb/cdns3/gadget.c 	dma_index = readl(&priv_dev->regs->ep_traddr) - priv_ep->trb_pool_dma;
regs              150 drivers/usb/cdns3/gadget.c 	writel(ep, &priv_dev->regs->ep_sel);
regs              234 drivers/usb/cdns3/gadget.c 	       &priv_dev->regs->ep_cmd);
regs              237 drivers/usb/cdns3/gadget.c 	readl_poll_timeout_atomic(&priv_dev->regs->ep_cmd, val,
regs              249 drivers/usb/cdns3/gadget.c 	writel(USB_CONF_CFGRST, &priv_dev->regs->usb_conf);
regs              324 drivers/usb/cdns3/gadget.c 		writel(USB_CONF_L1EN, &priv_dev->regs->usb_conf);
regs              326 drivers/usb/cdns3/gadget.c 		writel(USB_CONF_L1DS, &priv_dev->regs->usb_conf);
regs              333 drivers/usb/cdns3/gadget.c 	reg = readl(&priv_dev->regs->usb_sts);
regs              487 drivers/usb/cdns3/gadget.c 		reg = readl(&priv_dev->regs->ep_sts_en);
regs              490 drivers/usb/cdns3/gadget.c 		writel(reg, &priv_dev->regs->ep_sts_en);
regs              783 drivers/usb/cdns3/gadget.c 		doorbell = !!(readl(&priv_dev->regs->ep_cmd) & EP_CMD_DRDY);
regs              803 drivers/usb/cdns3/gadget.c 	doorbell = !!(readl(&priv_dev->regs->ep_cmd) & EP_CMD_DRDY);
regs              863 drivers/usb/cdns3/gadget.c 		doorbell = !!(readl(&priv_dev->regs->ep_cmd) & EP_CMD_DRDY);
regs              990 drivers/usb/cdns3/gadget.c 			cdns3_set_register_bit(&priv_dev->regs->ep_cfg,
regs              996 drivers/usb/cdns3/gadget.c 					&priv_dev->regs->ep_traddr);
regs             1004 drivers/usb/cdns3/gadget.c 		writel(EP_STS_TRBERR | EP_STS_DESCMIS, &priv_dev->regs->ep_sts);
regs             1005 drivers/usb/cdns3/gadget.c 		writel(EP_CMD_DRDY, &priv_dev->regs->ep_cmd);
regs             1007 drivers/usb/cdns3/gadget.c 					 readl(&priv_dev->regs->ep_traddr));
regs             1025 drivers/usb/cdns3/gadget.c 	writel(USB_CONF_CFGSET, &priv_dev->regs->usb_conf);
regs             1026 drivers/usb/cdns3/gadget.c 	writel(EP_CMD_ERDY | EP_CMD_REQ_CMPL, &priv_dev->regs->ep_cmd);
regs             1028 drivers/usb/cdns3/gadget.c 	cdns3_set_register_bit(&priv_dev->regs->usb_conf,
regs             1032 drivers/usb/cdns3/gadget.c 	readl_poll_timeout_atomic(&priv_dev->regs->usb_sts, val,
regs             1098 drivers/usb/cdns3/gadget.c 	doorbell = !!(readl(&priv_dev->regs->ep_cmd) & EP_CMD_DRDY);
regs             1199 drivers/usb/cdns3/gadget.c 		writel(EP_CMD_DRDY, &priv_dev->regs->ep_cmd);
regs             1204 drivers/usb/cdns3/gadget.c 					 readl(&priv_dev->regs->ep_traddr));
regs             1223 drivers/usb/cdns3/gadget.c 	ep_sts_reg = readl(&priv_dev->regs->ep_sts);
regs             1224 drivers/usb/cdns3/gadget.c 	writel(ep_sts_reg, &priv_dev->regs->ep_sts);
regs             1243 drivers/usb/cdns3/gadget.c 				u32 ep_cfg = readl(&priv_dev->regs->ep_cfg);
regs             1246 drivers/usb/cdns3/gadget.c 				writel(ep_cfg, &priv_dev->regs->ep_cfg);
regs             1313 drivers/usb/cdns3/gadget.c 		if (readl(&priv_dev->regs->drbl))
regs             1383 drivers/usb/cdns3/gadget.c 	reg = readl(&priv_dev->regs->usb_ists);
regs             1392 drivers/usb/cdns3/gadget.c 		reg = ~reg & readl(&priv_dev->regs->usb_ien);
regs             1394 drivers/usb/cdns3/gadget.c 		writel(reg, &priv_dev->regs->usb_ien);
regs             1399 drivers/usb/cdns3/gadget.c 	reg = readl(&priv_dev->regs->ep_ists);
regs             1401 drivers/usb/cdns3/gadget.c 		writel(0, &priv_dev->regs->ep_ien);
regs             1427 drivers/usb/cdns3/gadget.c 	reg = readl(&priv_dev->regs->usb_ists);
regs             1429 drivers/usb/cdns3/gadget.c 		writel(reg, &priv_dev->regs->usb_ists);
regs             1430 drivers/usb/cdns3/gadget.c 		writel(USB_IEN_INIT, &priv_dev->regs->usb_ien);
regs             1435 drivers/usb/cdns3/gadget.c 	reg = readl(&priv_dev->regs->ep_ists);
regs             1461 drivers/usb/cdns3/gadget.c 	writel(~0, &priv_dev->regs->ep_ien);
regs             1517 drivers/usb/cdns3/gadget.c 	struct cdns3_usb_regs __iomem *regs = priv_dev->regs;
regs             1521 drivers/usb/cdns3/gadget.c 		writel(USB_CONF_DMULT, &regs->usb_conf);
regs             1524 drivers/usb/cdns3/gadget.c 		writel(USB_CONF2_EN_TDL_TRB, &regs->usb_conf2);
regs             1535 drivers/usb/cdns3/gadget.c 			cdns3_set_register_bit(&regs->tdl_from_trb, mask);
regs             1536 drivers/usb/cdns3/gadget.c 			cdns3_set_register_bit(&regs->tdl_beh, mask);
regs             1537 drivers/usb/cdns3/gadget.c 			cdns3_set_register_bit(&regs->tdl_beh2, mask);
regs             1538 drivers/usb/cdns3/gadget.c 			cdns3_set_register_bit(&regs->dma_adv_td, mask);
regs             1542 drivers/usb/cdns3/gadget.c 			cdns3_set_register_bit(&regs->tdl_from_trb, mask);
regs             1544 drivers/usb/cdns3/gadget.c 		cdns3_set_register_bit(&regs->dtrans, mask);
regs             1636 drivers/usb/cdns3/gadget.c 	writel(ep_cfg, &priv_dev->regs->ep_cfg);
regs             1824 drivers/usb/cdns3/gadget.c 	writel(EP_CMD_EPRST, &priv_dev->regs->ep_cmd);
regs             1826 drivers/usb/cdns3/gadget.c 	ret = readl_poll_timeout_atomic(&priv_dev->regs->ep_cmd, val,
regs             1837 drivers/usb/cdns3/gadget.c 	cdns3_set_register_bit(&priv_dev->regs->ep_ien,
regs             1843 drivers/usb/cdns3/gadget.c 	writel(reg, &priv_dev->regs->ep_sts_en);
regs             1857 drivers/usb/cdns3/gadget.c 		cdns3_set_register_bit(&priv_dev->regs->ep_cfg, EP_CFG_ENABLE);
regs             1866 drivers/usb/cdns3/gadget.c 	reg = readl(&priv_dev->regs->ep_sts);
regs             1912 drivers/usb/cdns3/gadget.c 	ep_cfg = readl(&priv_dev->regs->ep_cfg);
regs             1914 drivers/usb/cdns3/gadget.c 	writel(ep_cfg, &priv_dev->regs->ep_cfg);
regs             1921 drivers/usb/cdns3/gadget.c 	readl_poll_timeout_atomic(&priv_dev->regs->ep_sts, val,
regs             1923 drivers/usb/cdns3/gadget.c 	writel(EP_CMD_EPRST, &priv_dev->regs->ep_cmd);
regs             1925 drivers/usb/cdns3/gadget.c 	readl_poll_timeout_atomic(&priv_dev->regs->ep_cmd, val,
regs             2137 drivers/usb/cdns3/gadget.c 		u32 ep_sts_reg = readl(&priv_dev->regs->ep_sts);
regs             2170 drivers/usb/cdns3/gadget.c 	writel(EP_CMD_CSTALL | EP_CMD_EPRST, &priv_dev->regs->ep_cmd);
regs             2173 drivers/usb/cdns3/gadget.c 	ret = readl_poll_timeout_atomic(&priv_dev->regs->ep_cmd, val,
regs             2246 drivers/usb/cdns3/gadget.c 	return readl(&priv_dev->regs->usb_itpn);
regs             2259 drivers/usb/cdns3/gadget.c 	writel(USB_CONF_LGO_L0, &priv_dev->regs->usb_conf);
regs             2293 drivers/usb/cdns3/gadget.c 		writel(USB_CONF_DEVEN, &priv_dev->regs->usb_conf);
regs             2295 drivers/usb/cdns3/gadget.c 		writel(USB_CONF_DEVDS, &priv_dev->regs->usb_conf);
regs             2302 drivers/usb/cdns3/gadget.c 	struct cdns3_usb_regs __iomem *regs = priv_dev->regs;
regs             2308 drivers/usb/cdns3/gadget.c 	writel(EP_IEN_EP_OUT0 | EP_IEN_EP_IN0, &regs->ep_ien);
regs             2315 drivers/usb/cdns3/gadget.c 		reg = readl(&regs->dbg_link1);
regs             2320 drivers/usb/cdns3/gadget.c 		writel(reg, &regs->dbg_link1);
regs             2328 drivers/usb/cdns3/gadget.c 	reg = readl(&regs->dma_axi_ctrl);
regs             2331 drivers/usb/cdns3/gadget.c 	writel(reg, &regs->dma_axi_ctrl);
regs             2334 drivers/usb/cdns3/gadget.c 	writel(USB_IEN_INIT, &regs->usb_ien);
regs             2335 drivers/usb/cdns3/gadget.c 	writel(USB_CONF_CLK2OFFDS | USB_CONF_L1DS, &regs->usb_conf);
regs             2362 drivers/usb/cdns3/gadget.c 		writel(USB_CONF_SFORCE_FS, &priv_dev->regs->usb_conf);
regs             2363 drivers/usb/cdns3/gadget.c 		writel(USB_CONF_USB3DIS, &priv_dev->regs->usb_conf);
regs             2366 drivers/usb/cdns3/gadget.c 		writel(USB_CONF_USB3DIS, &priv_dev->regs->usb_conf);
regs             2411 drivers/usb/cdns3/gadget.c 		writel(EP_CMD_EPRST, &priv_dev->regs->ep_cmd);
regs             2412 drivers/usb/cdns3/gadget.c 		readl_poll_timeout_atomic(&priv_dev->regs->ep_cmd, val,
regs             2419 drivers/usb/cdns3/gadget.c 	writel(0, &priv_dev->regs->usb_ien);
regs             2420 drivers/usb/cdns3/gadget.c 	writel(USB_CONF_DEVDS, &priv_dev->regs->usb_conf);
regs             2465 drivers/usb/cdns3/gadget.c 	ep_enabled_reg = readl(&priv_dev->regs->usb_cap3);
regs             2466 drivers/usb/cdns3/gadget.c 	iso_ep_reg = readl(&priv_dev->regs->usb_cap4);
regs             2591 drivers/usb/cdns3/gadget.c 	priv_dev->regs = cdns->dev_regs;
regs             2597 drivers/usb/cdns3/gadget.c 		u32 reg = readl(&priv_dev->regs->usb_cap2);
regs             2656 drivers/usb/cdns3/gadget.c 	priv_dev->dev_ver = readl(&priv_dev->regs->usb_cap6);
regs             2659 drivers/usb/cdns3/gadget.c 		readl(&priv_dev->regs->usb_cap6));
regs             2661 drivers/usb/cdns3/gadget.c 		readl(&priv_dev->regs->usb_cap1));
regs             2663 drivers/usb/cdns3/gadget.c 		readl(&priv_dev->regs->usb_cap2));
regs             2742 drivers/usb/cdns3/gadget.c 	writel(0, &priv_dev->regs->usb_ien);
regs             1268 drivers/usb/cdns3/gadget.h 	struct cdns3_usb_regs		__iomem *regs;
regs              129 drivers/usb/cdns3/trace.h 		__entry->ep_sts = readl(&priv_dev->regs->ep_sts);
regs              130 drivers/usb/cdns3/trace.h 		__entry->ep_traddr = readl(&priv_dev->regs->ep_traddr);
regs              125 drivers/usb/chipidea/host.c 	hcd->regs = ci->hw_bank.abs;
regs              243 drivers/usb/chipidea/host.c 	status_reg = &ehci->regs->port_status[(wIndex & 0xff) - 1];
regs              314 drivers/usb/chipidea/host.c 		u32 __iomem *reg = &ehci->regs->port_status[port];
regs              328 drivers/usb/chipidea/host.c 			tmp = ehci_readl(ehci, &ehci->regs->command);
regs              330 drivers/usb/chipidea/host.c 			ehci_writel(ehci, tmp, &ehci->regs->command);
regs              225 drivers/usb/core/hcd-pci.c 		hcd->regs = devm_ioremap_nocache(&dev->dev, hcd->rsrc_start,
regs              227 drivers/usb/core/hcd-pci.c 		if (hcd->regs == NULL) {
regs              696 drivers/usb/dwc2/core.c 	addr = hsotg->regs + HCFG;
regs              699 drivers/usb/dwc2/core.c 	addr = hsotg->regs + HFIR;
regs              702 drivers/usb/dwc2/core.c 	addr = hsotg->regs + HFNUM;
regs              705 drivers/usb/dwc2/core.c 	addr = hsotg->regs + HPTXSTS;
regs              708 drivers/usb/dwc2/core.c 	addr = hsotg->regs + HAINT;
regs              711 drivers/usb/dwc2/core.c 	addr = hsotg->regs + HAINTMSK;
regs              715 drivers/usb/dwc2/core.c 		addr = hsotg->regs + HFLBADDR;
regs              720 drivers/usb/dwc2/core.c 	addr = hsotg->regs + HPRT0;
regs              726 drivers/usb/dwc2/core.c 		addr = hsotg->regs + HCCHAR(i);
regs              729 drivers/usb/dwc2/core.c 		addr = hsotg->regs + HCSPLT(i);
regs              732 drivers/usb/dwc2/core.c 		addr = hsotg->regs + HCINT(i);
regs              735 drivers/usb/dwc2/core.c 		addr = hsotg->regs + HCINTMSK(i);
regs              738 drivers/usb/dwc2/core.c 		addr = hsotg->regs + HCTSIZ(i);
regs              741 drivers/usb/dwc2/core.c 		addr = hsotg->regs + HCDMA(i);
regs              745 drivers/usb/dwc2/core.c 			addr = hsotg->regs + HCDMAB(i);
regs              768 drivers/usb/dwc2/core.c 	addr = hsotg->regs + GOTGCTL;
regs              771 drivers/usb/dwc2/core.c 	addr = hsotg->regs + GOTGINT;
regs              774 drivers/usb/dwc2/core.c 	addr = hsotg->regs + GAHBCFG;
regs              777 drivers/usb/dwc2/core.c 	addr = hsotg->regs + GUSBCFG;
regs              780 drivers/usb/dwc2/core.c 	addr = hsotg->regs + GRSTCTL;
regs              783 drivers/usb/dwc2/core.c 	addr = hsotg->regs + GINTSTS;
regs              786 drivers/usb/dwc2/core.c 	addr = hsotg->regs + GINTMSK;
regs              789 drivers/usb/dwc2/core.c 	addr = hsotg->regs + GRXSTSR;
regs              792 drivers/usb/dwc2/core.c 	addr = hsotg->regs + GRXFSIZ;
regs              795 drivers/usb/dwc2/core.c 	addr = hsotg->regs + GNPTXFSIZ;
regs              798 drivers/usb/dwc2/core.c 	addr = hsotg->regs + GNPTXSTS;
regs              801 drivers/usb/dwc2/core.c 	addr = hsotg->regs + GI2CCTL;
regs              804 drivers/usb/dwc2/core.c 	addr = hsotg->regs + GPVNDCTL;
regs              807 drivers/usb/dwc2/core.c 	addr = hsotg->regs + GGPIO;
regs              810 drivers/usb/dwc2/core.c 	addr = hsotg->regs + GUID;
regs              813 drivers/usb/dwc2/core.c 	addr = hsotg->regs + GSNPSID;
regs              816 drivers/usb/dwc2/core.c 	addr = hsotg->regs + GHWCFG1;
regs              819 drivers/usb/dwc2/core.c 	addr = hsotg->regs + GHWCFG2;
regs              822 drivers/usb/dwc2/core.c 	addr = hsotg->regs + GHWCFG3;
regs              825 drivers/usb/dwc2/core.c 	addr = hsotg->regs + GHWCFG4;
regs              828 drivers/usb/dwc2/core.c 	addr = hsotg->regs + GLPMCFG;
regs              831 drivers/usb/dwc2/core.c 	addr = hsotg->regs + GPWRDN;
regs              834 drivers/usb/dwc2/core.c 	addr = hsotg->regs + GDFIFOCFG;
regs              837 drivers/usb/dwc2/core.c 	addr = hsotg->regs + HPTXFSIZ;
regs              841 drivers/usb/dwc2/core.c 	addr = hsotg->regs + PCGCTL;
regs             1043 drivers/usb/dwc2/core.h 	void __iomem *regs;
regs             1208 drivers/usb/dwc2/core.h 	val = readl(hsotg->regs + offset);
regs             1218 drivers/usb/dwc2/core.h 		writel(swab32(value), hsotg->regs + offset);
regs             1220 drivers/usb/dwc2/core.h 		writel(value, hsotg->regs + offset);
regs             1223 drivers/usb/dwc2/core.h 	pr_info("info:: wrote %08x to %p\n", value, hsotg->regs + offset);
regs              790 drivers/usb/dwc2/debugfs.c 	hsotg->regset->regs = dwc2_regs;
regs              792 drivers/usb/dwc2/debugfs.c 	hsotg->regset->base = hsotg->regs;
regs             4344 drivers/usb/dwc2/hcd.c 			pcgctl = readl(hsotg->regs + PCGCTL);
regs             4346 drivers/usb/dwc2/hcd.c 			writel(pcgctl, hsotg->regs + PCGCTL);
regs             4423 drivers/usb/dwc2/hcd.c 		pcgctl = readl(hsotg->regs + PCGCTL);
regs             4425 drivers/usb/dwc2/hcd.c 		writel(pcgctl, hsotg->regs + PCGCTL);
regs              352 drivers/usb/dwc2/platform.c 	snpsid = ioread32(hsotg->regs + GSNPSID);
regs              396 drivers/usb/dwc2/platform.c 	hsotg->regs = devm_ioremap_resource(&dev->dev, res);
regs              397 drivers/usb/dwc2/platform.c 	if (IS_ERR(hsotg->regs))
regs              398 drivers/usb/dwc2/platform.c 		return PTR_ERR(hsotg->regs);
regs              401 drivers/usb/dwc2/platform.c 		(unsigned long)res->start, hsotg->regs);
regs              107 drivers/usb/dwc3/core.c 	reg = dwc3_readl(dwc->regs, DWC3_GCTL);
regs              110 drivers/usb/dwc3/core.c 	dwc3_writel(dwc->regs, DWC3_GCTL, reg);
regs              211 drivers/usb/dwc3/core.c 	dwc3_writel(dwc->regs, DWC3_GDBGFIFOSPACE,
regs              215 drivers/usb/dwc3/core.c 	reg = dwc3_readl(dwc->regs, DWC3_GDBGFIFOSPACE);
regs              250 drivers/usb/dwc3/core.c 	reg = dwc3_readl(dwc->regs, DWC3_DCTL);
regs              252 drivers/usb/dwc3/core.c 	dwc3_writel(dwc->regs, DWC3_DCTL, reg);
regs              264 drivers/usb/dwc3/core.c 		reg = dwc3_readl(dwc->regs, DWC3_DCTL);
regs              313 drivers/usb/dwc3/core.c 	reg = dwc3_readl(dwc->regs, DWC3_GFLADJ);
regs              318 drivers/usb/dwc3/core.c 		dwc3_writel(dwc->regs, DWC3_GFLADJ, reg);
regs              411 drivers/usb/dwc3/core.c 	dwc3_writel(dwc->regs, DWC3_GEVNTADRLO(0),
regs              413 drivers/usb/dwc3/core.c 	dwc3_writel(dwc->regs, DWC3_GEVNTADRHI(0),
regs              415 drivers/usb/dwc3/core.c 	dwc3_writel(dwc->regs, DWC3_GEVNTSIZ(0),
regs              417 drivers/usb/dwc3/core.c 	dwc3_writel(dwc->regs, DWC3_GEVNTCOUNT(0), 0);
regs              430 drivers/usb/dwc3/core.c 	dwc3_writel(dwc->regs, DWC3_GEVNTADRLO(0), 0);
regs              431 drivers/usb/dwc3/core.c 	dwc3_writel(dwc->regs, DWC3_GEVNTADRHI(0), 0);
regs              432 drivers/usb/dwc3/core.c 	dwc3_writel(dwc->regs, DWC3_GEVNTSIZ(0), DWC3_GEVNTSIZ_INTMASK
regs              434 drivers/usb/dwc3/core.c 	dwc3_writel(dwc->regs, DWC3_GEVNTCOUNT(0), 0);
regs              532 drivers/usb/dwc3/core.c 	parms->hwparams0 = dwc3_readl(dwc->regs, DWC3_GHWPARAMS0);
regs              533 drivers/usb/dwc3/core.c 	parms->hwparams1 = dwc3_readl(dwc->regs, DWC3_GHWPARAMS1);
regs              534 drivers/usb/dwc3/core.c 	parms->hwparams2 = dwc3_readl(dwc->regs, DWC3_GHWPARAMS2);
regs              535 drivers/usb/dwc3/core.c 	parms->hwparams3 = dwc3_readl(dwc->regs, DWC3_GHWPARAMS3);
regs              536 drivers/usb/dwc3/core.c 	parms->hwparams4 = dwc3_readl(dwc->regs, DWC3_GHWPARAMS4);
regs              537 drivers/usb/dwc3/core.c 	parms->hwparams5 = dwc3_readl(dwc->regs, DWC3_GHWPARAMS5);
regs              538 drivers/usb/dwc3/core.c 	parms->hwparams6 = dwc3_readl(dwc->regs, DWC3_GHWPARAMS6);
regs              539 drivers/usb/dwc3/core.c 	parms->hwparams7 = dwc3_readl(dwc->regs, DWC3_GHWPARAMS7);
regs              540 drivers/usb/dwc3/core.c 	parms->hwparams8 = dwc3_readl(dwc->regs, DWC3_GHWPARAMS8);
regs              571 drivers/usb/dwc3/core.c 	reg = dwc3_readl(dwc->regs, DWC3_GUSB3PIPECTL(0));
regs              618 drivers/usb/dwc3/core.c 	dwc3_writel(dwc->regs, DWC3_GUSB3PIPECTL(0), reg);
regs              620 drivers/usb/dwc3/core.c 	reg = dwc3_readl(dwc->regs, DWC3_GUSB2PHYCFG(0));
regs              632 drivers/usb/dwc3/core.c 			dwc3_writel(dwc->regs, DWC3_GUSB2PHYCFG(0), reg);
regs              682 drivers/usb/dwc3/core.c 	dwc3_writel(dwc->regs, DWC3_GUSB2PHYCFG(0), reg);
regs              708 drivers/usb/dwc3/core.c 	reg = dwc3_readl(dwc->regs, DWC3_GSNPSID);
regs              716 drivers/usb/dwc3/core.c 		dwc->revision = dwc3_readl(dwc->regs, DWC3_VER_NUMBER);
regs              718 drivers/usb/dwc3/core.c 		dwc->version_type = dwc3_readl(dwc->regs, DWC3_VER_TYPE);
regs              731 drivers/usb/dwc3/core.c 	reg = dwc3_readl(dwc->regs, DWC3_GCTL);
regs              797 drivers/usb/dwc3/core.c 	dwc3_writel(dwc->regs, DWC3_GCTL, reg);
regs              817 drivers/usb/dwc3/core.c 	cfg = dwc3_readl(dwc->regs, DWC3_GSBUSCFG0);
regs              894 drivers/usb/dwc3/core.c 	dwc3_writel(dwc->regs, DWC3_GSBUSCFG0, cfg);
regs              912 drivers/usb/dwc3/core.c 	dwc3_writel(dwc->regs, DWC3_GUID, LINUX_VERSION_CODE);
regs              977 drivers/usb/dwc3/core.c 		reg = dwc3_readl(dwc->regs, DWC3_GUCTL2);
regs              979 drivers/usb/dwc3/core.c 		dwc3_writel(dwc->regs, DWC3_GUCTL2, reg);
regs              983 drivers/usb/dwc3/core.c 		reg = dwc3_readl(dwc->regs, DWC3_GUCTL1);
regs              998 drivers/usb/dwc3/core.c 		dwc3_writel(dwc->regs, DWC3_GUCTL1, reg);
regs             1003 drivers/usb/dwc3/core.c 		reg = dwc3_readl(dwc->regs, DWC3_GUCTL);
regs             1014 drivers/usb/dwc3/core.c 		dwc3_writel(dwc->regs, DWC3_GUCTL, reg);
regs             1028 drivers/usb/dwc3/core.c 			reg = dwc3_readl(dwc->regs, DWC3_GRXTHRCFG);
regs             1037 drivers/usb/dwc3/core.c 			dwc3_writel(dwc->regs, DWC3_GRXTHRCFG, reg);
regs             1041 drivers/usb/dwc3/core.c 			reg = dwc3_readl(dwc->regs, DWC3_GTXTHRCFG);
regs             1050 drivers/usb/dwc3/core.c 			dwc3_writel(dwc->regs, DWC3_GTXTHRCFG, reg);
regs             1406 drivers/usb/dwc3/core.c 	void __iomem		*regs;
regs             1438 drivers/usb/dwc3/core.c 	regs = devm_ioremap_resource(dev, &dwc_res);
regs             1439 drivers/usb/dwc3/core.c 	if (IS_ERR(regs))
regs             1440 drivers/usb/dwc3/core.c 		return PTR_ERR(regs);
regs             1442 drivers/usb/dwc3/core.c 	dwc->regs	= regs;
regs             1623 drivers/usb/dwc3/core.c 			reg = dwc3_readl(dwc->regs, DWC3_GUSB2PHYCFG(0));
regs             1626 drivers/usb/dwc3/core.c 			dwc3_writel(dwc->regs, DWC3_GUSB2PHYCFG(0), reg);
regs             1684 drivers/usb/dwc3/core.c 		reg = dwc3_readl(dwc->regs, DWC3_GUSB2PHYCFG(0));
regs             1691 drivers/usb/dwc3/core.c 		dwc3_writel(dwc->regs, DWC3_GUSB2PHYCFG(0), reg);
regs              684 drivers/usb/dwc3/core.h 	void __iomem		*regs;
regs             1087 drivers/usb/dwc3/core.h 	void __iomem		*regs;
regs              298 drivers/usb/dwc3/debugfs.c 	dwc3_writel(dwc->regs, DWC3_GDBGLSPMUX, reg);
regs              299 drivers/usb/dwc3/debugfs.c 	val = dwc3_readl(dwc->regs, DWC3_GDBGLSP);
regs              304 drivers/usb/dwc3/debugfs.c 		dwc3_writel(dwc->regs, DWC3_GDBGLSPMUX, reg);
regs              305 drivers/usb/dwc3/debugfs.c 		val = dwc3_readl(dwc->regs, DWC3_GDBGLSP);
regs              318 drivers/usb/dwc3/debugfs.c 		dwc3_writel(dwc->regs, DWC3_GDBGLSPMUX, reg);
regs              319 drivers/usb/dwc3/debugfs.c 		reg = dwc3_readl(dwc->regs, DWC3_GDBGLSP);
regs              332 drivers/usb/dwc3/debugfs.c 	reg = dwc3_readl(dwc->regs, DWC3_GSTS);
regs              395 drivers/usb/dwc3/debugfs.c 	reg = dwc3_readl(dwc->regs, DWC3_GCTL);
regs              460 drivers/usb/dwc3/debugfs.c 	reg = dwc3_readl(dwc->regs, DWC3_DCTL);
regs              545 drivers/usb/dwc3/debugfs.c 	reg = dwc3_readl(dwc->regs, DWC3_GSTS);
regs              552 drivers/usb/dwc3/debugfs.c 	reg = dwc3_readl(dwc->regs, DWC3_DSTS);
regs              599 drivers/usb/dwc3/debugfs.c 	reg = dwc3_readl(dwc->regs, DWC3_GSTS);
regs              605 drivers/usb/dwc3/debugfs.c 	reg = dwc3_readl(dwc->regs, DWC3_DSTS);
regs              832 drivers/usb/dwc3/debugfs.c 	dwc3_writel(dwc->regs, DWC3_GDBGLSPMUX, reg);
regs              834 drivers/usb/dwc3/debugfs.c 	lower_32_bits = dwc3_readl(dwc->regs, DWC3_GDBGEPINFO0);
regs              835 drivers/usb/dwc3/debugfs.c 	upper_32_bits = dwc3_readl(dwc->regs, DWC3_GDBGEPINFO1);
regs              915 drivers/usb/dwc3/debugfs.c 	dwc->regset->regs = dwc3_regs;
regs              917 drivers/usb/dwc3/debugfs.c 	dwc->regset->base = dwc->regs - DWC3_GLOBALS_REGS_START;
regs               21 drivers/usb/dwc3/drd.c 	u32 reg = dwc3_readl(dwc->regs, DWC3_OEVTEN);
regs               24 drivers/usb/dwc3/drd.c 	dwc3_writel(dwc->regs, DWC3_OEVTEN, reg);
regs               29 drivers/usb/dwc3/drd.c 	u32 reg = dwc3_readl(dwc->regs, DWC3_OEVTEN);
regs               32 drivers/usb/dwc3/drd.c 	dwc3_writel(dwc->regs, DWC3_OEVTEN, reg);
regs               37 drivers/usb/dwc3/drd.c 	u32 reg = dwc3_readl(dwc->regs, DWC3_OEVT);
regs               39 drivers/usb/dwc3/drd.c 	dwc3_writel(dwc->regs, DWC3_OEVTEN, reg);
regs               75 drivers/usb/dwc3/drd.c 	reg = dwc3_readl(dwc->regs, DWC3_OEVT);
regs               79 drivers/usb/dwc3/drd.c 			dwc3_writel(dwc->regs, DWC3_OEVT, reg);
regs               86 drivers/usb/dwc3/drd.c 		dwc3_writel(dwc->regs, DWC3_OEVT, reg);
regs              103 drivers/usb/dwc3/drd.c 	reg = dwc3_readl(dwc->regs, DWC3_OCFG);
regs              105 drivers/usb/dwc3/drd.c 	dwc3_writel(dwc->regs, DWC3_OCFG, reg);
regs              108 drivers/usb/dwc3/drd.c 	reg = dwc3_readl(dwc->regs, DWC3_GCTL);
regs              110 drivers/usb/dwc3/drd.c 	dwc3_writel(dwc->regs, DWC3_GCTL, reg);
regs              117 drivers/usb/dwc3/drd.c 	reg = dwc3_readl(dwc->regs, DWC3_OCFG);
regs              119 drivers/usb/dwc3/drd.c 	dwc3_writel(dwc->regs, DWC3_OCFG, reg);
regs              130 drivers/usb/dwc3/drd.c 	reg = dwc3_readl(dwc->regs, DWC3_OCTL);
regs              134 drivers/usb/dwc3/drd.c 	dwc3_writel(dwc->regs, DWC3_OCTL, reg);
regs              178 drivers/usb/dwc3/drd.c 	reg = dwc3_readl(dwc->regs, DWC3_GUSB2PHYCFG(0));
regs              180 drivers/usb/dwc3/drd.c 	dwc3_writel(dwc->regs, DWC3_GUSB2PHYCFG(0), reg);
regs              206 drivers/usb/dwc3/drd.c 	reg = dwc3_readl(dwc->regs, DWC3_OCTL);
regs              209 drivers/usb/dwc3/drd.c 	dwc3_writel(dwc->regs, DWC3_OCTL, reg);
regs              214 drivers/usb/dwc3/drd.c 	reg = dwc3_readl(dwc->regs, DWC3_OCFG);
regs              216 drivers/usb/dwc3/drd.c 	dwc3_writel(dwc->regs, DWC3_OCFG, reg);
regs              232 drivers/usb/dwc3/drd.c 		reg = dwc3_readl(dwc->regs, DWC3_GUSB2PHYCFG(0));
regs              234 drivers/usb/dwc3/drd.c 		dwc3_writel(dwc->regs, DWC3_GUSB2PHYCFG(0), reg);
regs              238 drivers/usb/dwc3/drd.c 	reg = dwc3_readl(dwc->regs, DWC3_OCTL);
regs              240 drivers/usb/dwc3/drd.c 	dwc3_writel(dwc->regs, DWC3_OCTL, reg);
regs              261 drivers/usb/dwc3/drd.c 	reg = dwc3_readl(dwc->regs, DWC3_OCTL);
regs              263 drivers/usb/dwc3/drd.c 	dwc3_writel(dwc->regs, DWC3_OCTL, reg);
regs              277 drivers/usb/dwc3/drd.c 	reg = dwc3_readl(dwc->regs, DWC3_OCFG);
regs              280 drivers/usb/dwc3/drd.c 	dwc3_writel(dwc->regs, DWC3_OCFG, reg);
regs              286 drivers/usb/dwc3/drd.c 	reg = dwc3_readl(dwc->regs, DWC3_OCTL);
regs              290 drivers/usb/dwc3/drd.c 	dwc3_writel(dwc->regs, DWC3_OCTL, reg);
regs              295 drivers/usb/dwc3/drd.c 		reg = dwc3_readl(dwc->regs, DWC3_GUSB2PHYCFG(0));
regs              297 drivers/usb/dwc3/drd.c 		dwc3_writel(dwc->regs, DWC3_GUSB2PHYCFG(0), reg);
regs              322 drivers/usb/dwc3/drd.c 	reg = dwc3_readl(dwc->regs, DWC3_OCTL);
regs              325 drivers/usb/dwc3/drd.c 	dwc3_writel(dwc->regs, DWC3_OCTL, reg);
regs              343 drivers/usb/dwc3/drd.c 		reg = dwc3_readl(dwc->regs, DWC3_OSTS);
regs              332 drivers/usb/dwc3/ep0.c 			reg = dwc3_readl(dwc->regs, DWC3_DCTL);
regs              385 drivers/usb/dwc3/ep0.c 	reg = dwc3_readl(dwc->regs, DWC3_DCTL);
regs              390 drivers/usb/dwc3/ep0.c 	dwc3_writel(dwc->regs, DWC3_DCTL, reg);
regs              409 drivers/usb/dwc3/ep0.c 	reg = dwc3_readl(dwc->regs, DWC3_DCTL);
regs              414 drivers/usb/dwc3/ep0.c 	dwc3_writel(dwc->regs, DWC3_DCTL, reg);
regs              577 drivers/usb/dwc3/ep0.c 	reg = dwc3_readl(dwc->regs, DWC3_DCFG);
regs              580 drivers/usb/dwc3/ep0.c 	dwc3_writel(dwc->regs, DWC3_DCFG, reg);
regs              632 drivers/usb/dwc3/ep0.c 			reg = dwc3_readl(dwc->regs, DWC3_DCTL);
regs              637 drivers/usb/dwc3/ep0.c 			dwc3_writel(dwc->regs, DWC3_DCTL, reg);
regs              677 drivers/usb/dwc3/ep0.c 	reg = dwc3_readl(dwc->regs, DWC3_DCTL);
regs               45 drivers/usb/dwc3/gadget.c 	reg = dwc3_readl(dwc->regs, DWC3_DCTL);
regs               60 drivers/usb/dwc3/gadget.c 	dwc3_writel(dwc->regs, DWC3_DCTL, reg);
regs               76 drivers/usb/dwc3/gadget.c 	reg = dwc3_readl(dwc->regs, DWC3_DSTS);
regs              100 drivers/usb/dwc3/gadget.c 			reg = dwc3_readl(dwc->regs, DWC3_DSTS);
regs              111 drivers/usb/dwc3/gadget.c 	reg = dwc3_readl(dwc->regs, DWC3_DCTL);
regs              116 drivers/usb/dwc3/gadget.c 	dwc3_writel(dwc->regs, DWC3_DCTL, reg);
regs              128 drivers/usb/dwc3/gadget.c 		reg = dwc3_readl(dwc->regs, DWC3_DSTS);
regs              234 drivers/usb/dwc3/gadget.c 	dwc3_writel(dwc->regs, DWC3_DGCMDPAR, param);
regs              235 drivers/usb/dwc3/gadget.c 	dwc3_writel(dwc->regs, DWC3_DGCMD, cmd | DWC3_DGCMD_CMDACT);
regs              238 drivers/usb/dwc3/gadget.c 		reg = dwc3_readl(dwc->regs, DWC3_DGCMD);
regs              291 drivers/usb/dwc3/gadget.c 		reg = dwc3_readl(dwc->regs, DWC3_GUSB2PHYCFG(0));
regs              303 drivers/usb/dwc3/gadget.c 			dwc3_writel(dwc->regs, DWC3_GUSB2PHYCFG(0), reg);
regs              320 drivers/usb/dwc3/gadget.c 	dwc3_writel(dep->regs, DWC3_DEPCMDPAR0, params->param0);
regs              321 drivers/usb/dwc3/gadget.c 	dwc3_writel(dep->regs, DWC3_DEPCMDPAR1, params->param1);
regs              322 drivers/usb/dwc3/gadget.c 	dwc3_writel(dep->regs, DWC3_DEPCMDPAR2, params->param2);
regs              345 drivers/usb/dwc3/gadget.c 	dwc3_writel(dep->regs, DWC3_DEPCMD, cmd);
regs              347 drivers/usb/dwc3/gadget.c 		reg = dwc3_readl(dep->regs, DWC3_DEPCMD);
regs              393 drivers/usb/dwc3/gadget.c 		reg = dwc3_readl(dwc->regs, DWC3_GUSB2PHYCFG(0));
regs              395 drivers/usb/dwc3/gadget.c 		dwc3_writel(dwc->regs, DWC3_GUSB2PHYCFG(0), reg);
regs              636 drivers/usb/dwc3/gadget.c 		reg = dwc3_readl(dwc->regs, DWC3_DALEPENA);
regs              638 drivers/usb/dwc3/gadget.c 		dwc3_writel(dwc->regs, DWC3_DALEPENA, reg);
regs              741 drivers/usb/dwc3/gadget.c 	reg = dwc3_readl(dwc->regs, DWC3_DALEPENA);
regs              743 drivers/usb/dwc3/gadget.c 	dwc3_writel(dwc->regs, DWC3_DALEPENA, reg);
regs             1277 drivers/usb/dwc3/gadget.c 	reg = dwc3_readl(dwc->regs, DWC3_DSTS);
regs             1735 drivers/usb/dwc3/gadget.c 	reg = dwc3_readl(dwc->regs, DWC3_DSTS);
regs             1758 drivers/usb/dwc3/gadget.c 		reg = dwc3_readl(dwc->regs, DWC3_DCTL);
regs             1760 drivers/usb/dwc3/gadget.c 		dwc3_writel(dwc->regs, DWC3_DCTL, reg);
regs             1767 drivers/usb/dwc3/gadget.c 		reg = dwc3_readl(dwc->regs, DWC3_DSTS);
regs             1816 drivers/usb/dwc3/gadget.c 	reg = dwc3_readl(dwc->regs, DWC3_DCTL);
regs             1840 drivers/usb/dwc3/gadget.c 	dwc3_writel(dwc->regs, DWC3_DCTL, reg);
regs             1843 drivers/usb/dwc3/gadget.c 		reg = dwc3_readl(dwc->regs, DWC3_DSTS);
regs             1900 drivers/usb/dwc3/gadget.c 	dwc3_writel(dwc->regs, DWC3_DEVTEN, reg);
regs             1906 drivers/usb/dwc3/gadget.c 	dwc3_writel(dwc->regs, DWC3_DEVTEN, 0x00);
regs             1947 drivers/usb/dwc3/gadget.c 	reg = dwc3_readl(dwc->regs, DWC3_DCFG);
regs             1950 drivers/usb/dwc3/gadget.c 	dwc3_writel(dwc->regs, DWC3_DCFG, reg);
regs             1964 drivers/usb/dwc3/gadget.c 		dwc3_writel(dwc->regs, DWC3_DEV_IMOD(0), dwc->imod_interval);
regs             1965 drivers/usb/dwc3/gadget.c 		dwc3_writel(dwc->regs, DWC3_GEVNTCOUNT(0), DWC3_GEVNTCOUNT_EHB);
regs             1967 drivers/usb/dwc3/gadget.c 		dwc3_writel(dwc->regs, DWC3_DEV_IMOD(0), 0);
regs             1977 drivers/usb/dwc3/gadget.c 	reg = dwc3_readl(dwc->regs, DWC3_GRXTHRCFG);
regs             1983 drivers/usb/dwc3/gadget.c 	dwc3_writel(dwc->regs, DWC3_GRXTHRCFG, reg);
regs             2138 drivers/usb/dwc3/gadget.c 	reg = dwc3_readl(dwc->regs, DWC3_DCFG);
regs             2186 drivers/usb/dwc3/gadget.c 	dwc3_writel(dwc->regs, DWC3_DCFG, reg);
regs             2229 drivers/usb/dwc3/gadget.c 	size = dwc3_readl(dwc->regs, DWC3_GTXFIFOSIZ(dep->number >> 1));
regs             2275 drivers/usb/dwc3/gadget.c 	size = dwc3_readl(dwc->regs, DWC3_GRXFIFOSIZ(0));
regs             2324 drivers/usb/dwc3/gadget.c 	dep->regs = dwc->regs + DWC3_DEP_BASE(epnum);
regs             2606 drivers/usb/dwc3/gadget.c 		reg = dwc3_readl(dwc->regs, DWC3_DCTL);
regs             2608 drivers/usb/dwc3/gadget.c 		dwc3_writel(dwc->regs, DWC3_DCTL, reg);
regs             2798 drivers/usb/dwc3/gadget.c 	reg = dwc3_readl(dwc->regs, DWC3_DCTL);
regs             2800 drivers/usb/dwc3/gadget.c 	dwc3_writel(dwc->regs, DWC3_DCTL, reg);
regs             2803 drivers/usb/dwc3/gadget.c 	dwc3_writel(dwc->regs, DWC3_DCTL, reg);
regs             2853 drivers/usb/dwc3/gadget.c 	reg = dwc3_readl(dwc->regs, DWC3_DCTL);
regs             2855 drivers/usb/dwc3/gadget.c 	dwc3_writel(dwc->regs, DWC3_DCTL, reg);
regs             2860 drivers/usb/dwc3/gadget.c 	reg = dwc3_readl(dwc->regs, DWC3_DCFG);
regs             2862 drivers/usb/dwc3/gadget.c 	dwc3_writel(dwc->regs, DWC3_DCFG, reg);
regs             2872 drivers/usb/dwc3/gadget.c 	reg = dwc3_readl(dwc->regs, DWC3_DSTS);
regs             2936 drivers/usb/dwc3/gadget.c 		reg = dwc3_readl(dwc->regs, DWC3_DCFG);
regs             2938 drivers/usb/dwc3/gadget.c 		dwc3_writel(dwc->regs, DWC3_DCFG, reg);
regs             2940 drivers/usb/dwc3/gadget.c 		reg = dwc3_readl(dwc->regs, DWC3_DCTL);
regs             2959 drivers/usb/dwc3/gadget.c 		dwc3_writel(dwc->regs, DWC3_DCTL, reg);
regs             2961 drivers/usb/dwc3/gadget.c 		reg = dwc3_readl(dwc->regs, DWC3_DCTL);
regs             2963 drivers/usb/dwc3/gadget.c 		dwc3_writel(dwc->regs, DWC3_DCTL, reg);
regs             3061 drivers/usb/dwc3/gadget.c 				reg = dwc3_readl(dwc->regs, DWC3_DCTL);
regs             3072 drivers/usb/dwc3/gadget.c 				dwc3_writel(dwc->regs, DWC3_DCTL, reg);
regs             3234 drivers/usb/dwc3/gadget.c 	reg = dwc3_readl(dwc->regs, DWC3_GEVNTSIZ(0));
regs             3236 drivers/usb/dwc3/gadget.c 	dwc3_writel(dwc->regs, DWC3_GEVNTSIZ(0), reg);
regs             3239 drivers/usb/dwc3/gadget.c 		dwc3_writel(dwc->regs, DWC3_GEVNTCOUNT(0), DWC3_GEVNTCOUNT_EHB);
regs             3240 drivers/usb/dwc3/gadget.c 		dwc3_writel(dwc->regs, DWC3_DEV_IMOD(0), dwc->imod_interval);
regs             3283 drivers/usb/dwc3/gadget.c 	count = dwc3_readl(dwc->regs, DWC3_GEVNTCOUNT(0));
regs             3292 drivers/usb/dwc3/gadget.c 	reg = dwc3_readl(dwc->regs, DWC3_GEVNTSIZ(0));
regs             3294 drivers/usb/dwc3/gadget.c 	dwc3_writel(dwc->regs, DWC3_GEVNTSIZ(0), reg);
regs             3302 drivers/usb/dwc3/gadget.c 	dwc3_writel(dwc->regs, DWC3_GEVNTCOUNT(0), count);
regs              126 drivers/usb/dwc3/gadget.h 	res_id = dwc3_readl(dep->regs, DWC3_DEPCMD);
regs               26 drivers/usb/dwc3/ulpi.c 		reg = dwc3_readl(dwc->regs, DWC3_GUSB2PHYACC(0));
regs               41 drivers/usb/dwc3/ulpi.c 	reg = dwc3_readl(dwc->regs, DWC3_GUSB2PHYCFG(0));
regs               44 drivers/usb/dwc3/ulpi.c 		dwc3_writel(dwc->regs, DWC3_GUSB2PHYCFG(0), reg);
regs               48 drivers/usb/dwc3/ulpi.c 	dwc3_writel(dwc->regs, DWC3_GUSB2PHYACC(0), reg);
regs               54 drivers/usb/dwc3/ulpi.c 	reg = dwc3_readl(dwc->regs, DWC3_GUSB2PHYACC(0));
regs               64 drivers/usb/dwc3/ulpi.c 	reg = dwc3_readl(dwc->regs, DWC3_GUSB2PHYCFG(0));
regs               67 drivers/usb/dwc3/ulpi.c 		dwc3_writel(dwc->regs, DWC3_GUSB2PHYCFG(0), reg);
regs               72 drivers/usb/dwc3/ulpi.c 	dwc3_writel(dwc->regs, DWC3_GUSB2PHYACC(0), reg);
regs              219 drivers/usb/early/xhci-dbc.h #define xdbc_read64(regs)	xhci_read_64(NULL, (regs))
regs              220 drivers/usb/early/xhci-dbc.h #define xdbc_write64(val, regs)	xhci_write_64(NULL, (val), (regs))
regs              499 drivers/usb/gadget/udc/amd5536udc.h 	struct udc_ep_regs __iomem	*regs;
regs              549 drivers/usb/gadget/udc/amd5536udc.h 	struct udc_regs __iomem		*regs;
regs               71 drivers/usb/gadget/udc/amd5536udc_pci.c 	writel(AMD_BIT(UDC_DEVCFG_SOFTRESET), &dev->regs->cfg);
regs              136 drivers/usb/gadget/udc/amd5536udc_pci.c 	dev->regs = dev->virt_addr + UDC_DEVCFG_ADDR;
regs              111 drivers/usb/gadget/udc/aspeed-vhub/core.c 	istat = readl(vhub->regs + AST_VHUB_ISR);
regs              114 drivers/usb/gadget/udc/aspeed-vhub/core.c 	writel(istat, vhub->regs + AST_VHUB_ISR);
regs              119 drivers/usb/gadget/udc/aspeed-vhub/core.c 	       readl(vhub->regs + AST_VHUB_EP_ACK_ISR),
regs              120 drivers/usb/gadget/udc/aspeed-vhub/core.c 	       readl(vhub->regs + AST_VHUB_EP_NACK_ISR));
regs              124 drivers/usb/gadget/udc/aspeed-vhub/core.c 		u32 i, ep_acks = readl(vhub->regs + AST_VHUB_EP_ACK_ISR);
regs              125 drivers/usb/gadget/udc/aspeed-vhub/core.c 		writel(ep_acks, vhub->regs + AST_VHUB_EP_ACK_ISR);
regs              213 drivers/usb/gadget/udc/aspeed-vhub/core.c 	writel(ctrl, vhub->regs + AST_VHUB_CTRL);
regs              219 drivers/usb/gadget/udc/aspeed-vhub/core.c 		writel(ctrl, vhub->regs + AST_VHUB_CTRL);
regs              225 drivers/usb/gadget/udc/aspeed-vhub/core.c 	writel(VHUB_SW_RESET_ALL, vhub->regs + AST_VHUB_SW_RESET);
regs              227 drivers/usb/gadget/udc/aspeed-vhub/core.c 	writel(0, vhub->regs + AST_VHUB_SW_RESET);
regs              230 drivers/usb/gadget/udc/aspeed-vhub/core.c 	writel(0, vhub->regs + AST_VHUB_EP_ACK_IER);
regs              231 drivers/usb/gadget/udc/aspeed-vhub/core.c 	writel(0, vhub->regs + AST_VHUB_EP_NACK_IER);
regs              232 drivers/usb/gadget/udc/aspeed-vhub/core.c 	writel(VHUB_EP_IRQ_ALL, vhub->regs + AST_VHUB_EP_ACK_ISR);
regs              233 drivers/usb/gadget/udc/aspeed-vhub/core.c 	writel(VHUB_EP_IRQ_ALL, vhub->regs + AST_VHUB_EP_NACK_ISR);
regs              236 drivers/usb/gadget/udc/aspeed-vhub/core.c 	writel(0, vhub->regs + AST_VHUB_EP0_CTRL);
regs              239 drivers/usb/gadget/udc/aspeed-vhub/core.c 	       vhub->regs + AST_VHUB_EP1_CTRL);
regs              240 drivers/usb/gadget/udc/aspeed-vhub/core.c 	writel(0, vhub->regs + AST_VHUB_EP1_STS_CHG);
regs              243 drivers/usb/gadget/udc/aspeed-vhub/core.c 	writel(vhub->ep0.buf_dma, vhub->regs + AST_VHUB_EP0_DATA);
regs              246 drivers/usb/gadget/udc/aspeed-vhub/core.c 	writel(0, vhub->regs + AST_VHUB_CONF);
regs              253 drivers/usb/gadget/udc/aspeed-vhub/core.c 	writel(ctrl, vhub->regs + AST_VHUB_CTRL);
regs              263 drivers/usb/gadget/udc/aspeed-vhub/core.c 	       vhub->regs + AST_VHUB_IER);
regs              272 drivers/usb/gadget/udc/aspeed-vhub/core.c 	if (!vhub || !vhub->regs)
regs              282 drivers/usb/gadget/udc/aspeed-vhub/core.c 	writel(0, vhub->regs + AST_VHUB_IER);
regs              283 drivers/usb/gadget/udc/aspeed-vhub/core.c 	writel(VHUB_IRQ_ACK_ALL, vhub->regs + AST_VHUB_ISR);
regs              288 drivers/usb/gadget/udc/aspeed-vhub/core.c 	       vhub->regs + AST_VHUB_CTRL);
regs              321 drivers/usb/gadget/udc/aspeed-vhub/core.c 	vhub->regs = devm_ioremap_resource(&pdev->dev, res);
regs              322 drivers/usb/gadget/udc/aspeed-vhub/core.c 	if (IS_ERR(vhub->regs)) {
regs              324 drivers/usb/gadget/udc/aspeed-vhub/core.c 		return PTR_ERR(vhub->regs);
regs              326 drivers/usb/gadget/udc/aspeed-vhub/core.c 	UDCDBG(vhub, "vHub@%pR mapped @%p\n", res, vhub->regs);
regs              347 drivers/usb/gadget/udc/aspeed-vhub/core.c 	writel(0, vhub->regs + AST_VHUB_IER);
regs              348 drivers/usb/gadget/udc/aspeed-vhub/core.c 	writel(VHUB_IRQ_ACK_ALL, vhub->regs + AST_VHUB_ISR);
regs               39 drivers/usb/gadget/udc/aspeed-vhub/dev.c 	u32 istat = readl(d->regs + AST_VHUB_DEV_ISR);
regs               41 drivers/usb/gadget/udc/aspeed-vhub/dev.c 	writel(istat, d->regs + AST_VHUB_DEV_ISR);
regs               68 drivers/usb/gadget/udc/aspeed-vhub/dev.c 	writel(reg, d->regs + AST_VHUB_DEV_EN_CTRL);
regs               72 drivers/usb/gadget/udc/aspeed-vhub/dev.c 	reg = readl(d->vhub->regs + AST_VHUB_IER);
regs               74 drivers/usb/gadget/udc/aspeed-vhub/dev.c 	writel(reg, d->vhub->regs + AST_VHUB_IER);
regs               77 drivers/usb/gadget/udc/aspeed-vhub/dev.c 	writel(d->ep0.buf_dma, d->regs + AST_VHUB_DEV_EP0_DATA);
regs              104 drivers/usb/gadget/udc/aspeed-vhub/dev.c 	reg = readl(d->vhub->regs + AST_VHUB_IER);
regs              106 drivers/usb/gadget/udc/aspeed-vhub/dev.c 	writel(reg, d->vhub->regs + AST_VHUB_IER);
regs              109 drivers/usb/gadget/udc/aspeed-vhub/dev.c 	writel(0, d->regs + AST_VHUB_DEV_EN_CTRL);
regs              206 drivers/usb/gadget/udc/aspeed-vhub/dev.c 	reg = readl(d->regs + AST_VHUB_DEV_EN_CTRL);
regs              209 drivers/usb/gadget/udc/aspeed-vhub/dev.c 	writel(reg, d->regs + AST_VHUB_DEV_EN_CTRL);
regs              295 drivers/usb/gadget/udc/aspeed-vhub/dev.c 	return (readl(d->vhub->regs + AST_VHUB_USBSTS) >> 16) & 0x7ff;
regs              545 drivers/usb/gadget/udc/aspeed-vhub/dev.c 	d->regs = vhub->regs + 0x100 + 0x10 * idx;
regs              507 drivers/usb/gadget/udc/aspeed-vhub/ep0.c 		ep->ep0.ctlstat = dev->regs + AST_VHUB_DEV_EP0_CTRL;
regs              508 drivers/usb/gadget/udc/aspeed-vhub/ep0.c 		ep->ep0.setup = vhub->regs +
regs              515 drivers/usb/gadget/udc/aspeed-vhub/ep0.c 		ep->ep0.ctlstat = vhub->regs + AST_VHUB_EP0_CTRL;
regs              516 drivers/usb/gadget/udc/aspeed-vhub/ep0.c 		ep->ep0.setup = vhub->regs + AST_VHUB_SETUP0;
regs               73 drivers/usb/gadget/udc/aspeed-vhub/epn.c 		writel(ep->buf_dma, ep->epn.regs + AST_VHUB_EP_DESC_BASE);
regs               77 drivers/usb/gadget/udc/aspeed-vhub/epn.c 		writel(req->req.dma + act, ep->epn.regs + AST_VHUB_EP_DESC_BASE);
regs               83 drivers/usb/gadget/udc/aspeed-vhub/epn.c 	       ep->epn.regs + AST_VHUB_EP_DESC_STATUS);
regs               85 drivers/usb/gadget/udc/aspeed-vhub/epn.c 	       ep->epn.regs + AST_VHUB_EP_DESC_STATUS);
regs               95 drivers/usb/gadget/udc/aspeed-vhub/epn.c 	stat = readl(ep->epn.regs + AST_VHUB_EP_DESC_STATUS);
regs              240 drivers/usb/gadget/udc/aspeed-vhub/epn.c 	       ep->epn.regs + AST_VHUB_EP_DESC_STATUS);
regs              243 drivers/usb/gadget/udc/aspeed-vhub/epn.c 	       ep->epn.d_next, readl(ep->epn.regs + AST_VHUB_EP_DESC_STATUS));
regs              254 drivers/usb/gadget/udc/aspeed-vhub/epn.c 		stat = readl(ep->epn.regs + AST_VHUB_EP_DESC_STATUS);
regs              255 drivers/usb/gadget/udc/aspeed-vhub/epn.c 		stat1 = readl(ep->epn.regs + AST_VHUB_EP_DESC_STATUS);
regs              423 drivers/usb/gadget/udc/aspeed-vhub/epn.c 	writel(0, ep->epn.regs + AST_VHUB_EP_DMA_CTLSTAT);
regs              427 drivers/usb/gadget/udc/aspeed-vhub/epn.c 		state = readl(ep->epn.regs + AST_VHUB_EP_DMA_CTLSTAT);
regs              455 drivers/usb/gadget/udc/aspeed-vhub/epn.c 		writel(reg, ep->epn.regs + AST_VHUB_EP_DESC_STATUS);
regs              459 drivers/usb/gadget/udc/aspeed-vhub/epn.c 		       ep->epn.regs + AST_VHUB_EP_DMA_CTLSTAT);
regs              463 drivers/usb/gadget/udc/aspeed-vhub/epn.c 		       ep->epn.regs + AST_VHUB_EP_DMA_CTLSTAT);
regs              502 drivers/usb/gadget/udc/aspeed-vhub/epn.c 	reg = readl(ep->epn.regs + AST_VHUB_EP_CONFIG);
regs              507 drivers/usb/gadget/udc/aspeed-vhub/epn.c 	writel(reg, ep->epn.regs + AST_VHUB_EP_CONFIG);
regs              511 drivers/usb/gadget/udc/aspeed-vhub/epn.c 		       ep->vhub->regs + AST_VHUB_EP_TOGGLE);
regs              573 drivers/usb/gadget/udc/aspeed-vhub/epn.c 	writel(0, ep->epn.regs + AST_VHUB_EP_CONFIG);
regs              577 drivers/usb/gadget/udc/aspeed-vhub/epn.c 	ep_ier = readl(vhub->regs + AST_VHUB_EP_ACK_IER);
regs              579 drivers/usb/gadget/udc/aspeed-vhub/epn.c 	writel(ep_ier, vhub->regs + AST_VHUB_EP_ACK_IER);
regs              580 drivers/usb/gadget/udc/aspeed-vhub/epn.c 	writel(imask, vhub->regs + AST_VHUB_EP_ACK_ISR);
regs              695 drivers/usb/gadget/udc/aspeed-vhub/epn.c 	writel(0, ep->epn.regs + AST_VHUB_EP_CONFIG);
regs              697 drivers/usb/gadget/udc/aspeed-vhub/epn.c 	       ep->epn.regs + AST_VHUB_EP_DMA_CTLSTAT);
regs              700 drivers/usb/gadget/udc/aspeed-vhub/epn.c 	writel(ep_conf, ep->epn.regs + AST_VHUB_EP_CONFIG);
regs              704 drivers/usb/gadget/udc/aspeed-vhub/epn.c 		writel(0, ep->epn.regs + AST_VHUB_EP_DESC_STATUS);
regs              708 drivers/usb/gadget/udc/aspeed-vhub/epn.c 		       ep->epn.regs + AST_VHUB_EP_DESC_BASE);
regs              717 drivers/usb/gadget/udc/aspeed-vhub/epn.c 		       ep->epn.regs + AST_VHUB_EP_DMA_CTLSTAT);
regs              721 drivers/usb/gadget/udc/aspeed-vhub/epn.c 		       ep->epn.regs + AST_VHUB_EP_DMA_CTLSTAT);
regs              728 drivers/usb/gadget/udc/aspeed-vhub/epn.c 		       ep->epn.regs + AST_VHUB_EP_DMA_CTLSTAT);
regs              730 drivers/usb/gadget/udc/aspeed-vhub/epn.c 		       ep->epn.regs + AST_VHUB_EP_DMA_CTLSTAT);
regs              731 drivers/usb/gadget/udc/aspeed-vhub/epn.c 		writel(0, ep->epn.regs + AST_VHUB_EP_DESC_STATUS);
regs              736 drivers/usb/gadget/udc/aspeed-vhub/epn.c 	       vhub->regs + AST_VHUB_EP_TOGGLE);
regs              740 drivers/usb/gadget/udc/aspeed-vhub/epn.c 	writel(imask, vhub->regs + AST_VHUB_EP_ACK_ISR);
regs              741 drivers/usb/gadget/udc/aspeed-vhub/epn.c 	ep_ier = readl(vhub->regs + AST_VHUB_EP_ACK_IER);
regs              743 drivers/usb/gadget/udc/aspeed-vhub/epn.c 	writel(ep_ier, vhub->regs + AST_VHUB_EP_ACK_IER);
regs              824 drivers/usb/gadget/udc/aspeed-vhub/epn.c 	ep->epn.regs = vhub->regs + 0x200 + (i * 0x10);
regs              253 drivers/usb/gadget/udc/aspeed-vhub/hub.c 	reg = readl(ep->vhub->regs + AST_VHUB_EP1_CTRL);
regs              260 drivers/usb/gadget/udc/aspeed-vhub/hub.c 	writel(reg, ep->vhub->regs + AST_VHUB_EP1_CTRL);
regs              347 drivers/usb/gadget/udc/aspeed-vhub/hub.c 		u32 ustat = readl(vhub->regs + AST_VHUB_USBSTS);
regs              360 drivers/usb/gadget/udc/aspeed-vhub/hub.c 		writel(wValue, vhub->regs + AST_VHUB_CONF);
regs              417 drivers/usb/gadget/udc/aspeed-vhub/hub.c 	u32 reg = readl(vhub->regs + AST_VHUB_EP1_STS_CHG);
regs              423 drivers/usb/gadget/udc/aspeed-vhub/hub.c 	writel(reg, vhub->regs + AST_VHUB_EP1_STS_CHG);
regs              467 drivers/usb/gadget/udc/aspeed-vhub/hub.c 	u32 reg = readl(vhub->regs + AST_VHUB_CTRL);
regs              470 drivers/usb/gadget/udc/aspeed-vhub/hub.c 	writel(reg, vhub->regs + AST_VHUB_CTRL);
regs              829 drivers/usb/gadget/udc/aspeed-vhub/hub.c 	writel(0, vhub->regs + AST_VHUB_CONF);
regs              830 drivers/usb/gadget/udc/aspeed-vhub/hub.c 	writel(0, vhub->regs + AST_VHUB_EP0_CTRL);
regs              833 drivers/usb/gadget/udc/aspeed-vhub/hub.c 	       vhub->regs + AST_VHUB_EP1_CTRL);
regs              834 drivers/usb/gadget/udc/aspeed-vhub/hub.c 	writel(0, vhub->regs + AST_VHUB_EP1_STS_CHG);
regs              313 drivers/usb/gadget/udc/aspeed-vhub/vhub.h 			void __iomem   		*regs;
regs              343 drivers/usb/gadget/udc/aspeed-vhub/vhub.h 	void __iomem			*regs;
regs              379 drivers/usb/gadget/udc/aspeed-vhub/vhub.h 	void __iomem			*regs;
regs              154 drivers/usb/gadget/udc/atmel_usba_udc.c 		data[i] = readl_relaxed(udc->regs + i * 4);
regs             2152 drivers/usb/gadget/udc/atmel_usba_udc.c 		ep->ep_regs = udc->regs + USBA_EPT_BASE(i);
regs             2153 drivers/usb/gadget/udc/atmel_usba_udc.c 		ep->dma_regs = udc->regs + USBA_DMA_BASE(i);
regs             2218 drivers/usb/gadget/udc/atmel_usba_udc.c 	udc->regs = devm_ioremap_resource(&pdev->dev, res);
regs             2219 drivers/usb/gadget/udc/atmel_usba_udc.c 	if (IS_ERR(udc->regs))
regs             2220 drivers/usb/gadget/udc/atmel_usba_udc.c 		return PTR_ERR(udc->regs);
regs             2222 drivers/usb/gadget/udc/atmel_usba_udc.c 		 res, udc->regs);
regs              189 drivers/usb/gadget/udc/atmel_usba_udc.h 	readl_relaxed((udc)->regs + USBA_##reg)
regs              191 drivers/usb/gadget/udc/atmel_usba_udc.h 	writel_relaxed((value), (udc)->regs + USBA_##reg)
regs              317 drivers/usb/gadget/udc/atmel_usba_udc.h 	void __iomem *regs;
regs              421 drivers/usb/gadget/udc/bdc/bdc.h 	void __iomem		*regs;
regs               24 drivers/usb/gadget/udc/bdc/bdc_cmd.c 	bdc_writel(bdc->regs, BDC_CMDPAR0, param0);
regs               25 drivers/usb/gadget/udc/bdc/bdc_cmd.c 	bdc_writel(bdc->regs, BDC_CMDPAR1, param1);
regs               26 drivers/usb/gadget/udc/bdc/bdc_cmd.c 	bdc_writel(bdc->regs, BDC_CMDPAR2, param2);
regs               31 drivers/usb/gadget/udc/bdc/bdc_cmd.c 	bdc_writel(bdc->regs, BDC_CMDSC, cmd_sc | BDC_CMD_CWS | BDC_CMD_SRD);
regs               33 drivers/usb/gadget/udc/bdc/bdc_cmd.c 		temp = bdc_readl(bdc->regs, BDC_CMDSC);
regs               57 drivers/usb/gadget/udc/bdc/bdc_cmd.c 	temp = bdc_readl(bdc->regs, BDC_CMDSC);
regs               37 drivers/usb/gadget/udc/bdc/bdc_core.c 		status = bdc_readl(bdc->regs, BDC_BDCSC);
regs               59 drivers/usb/gadget/udc/bdc/bdc_core.c 	temp = bdc_readl(bdc->regs, BDC_BDCSC);
regs               67 drivers/usb/gadget/udc/bdc/bdc_core.c 	bdc_writel(bdc->regs, BDC_BDCSC, temp);
regs               88 drivers/usb/gadget/udc/bdc/bdc_core.c 	temp = bdc_readl(bdc->regs, BDC_BDCSC);
regs               91 drivers/usb/gadget/udc/bdc/bdc_core.c 	bdc_writel(bdc->regs, BDC_BDCSC, temp);
regs              106 drivers/usb/gadget/udc/bdc/bdc_core.c 	temp = bdc_readl(bdc->regs, BDC_BDCSC);
regs              115 drivers/usb/gadget/udc/bdc/bdc_core.c 	bdc_writel(bdc->regs, BDC_BDCSC, temp);
regs              121 drivers/usb/gadget/udc/bdc/bdc_core.c 	temp = bdc_readl(bdc->regs, BDC_BDCSC);
regs              139 drivers/usb/gadget/udc/bdc/bdc_core.c 	uspc = bdc_readl(bdc->regs, BDC_USPC);
regs              144 drivers/usb/gadget/udc/bdc/bdc_core.c 	bdc_writel(bdc->regs, BDC_USPC, uspc);
regs              152 drivers/usb/gadget/udc/bdc/bdc_core.c 	uspc = bdc_readl(bdc->regs, BDC_USPC);
regs              156 drivers/usb/gadget/udc/bdc/bdc_core.c 	bdc_writel(bdc->regs, BDC_USPC, uspc);
regs              166 drivers/usb/gadget/udc/bdc/bdc_core.c 	sp_buff_size = BDC_SPB(bdc_readl(bdc->regs, BDC_BDCCFG0));
regs              188 drivers/usb/gadget/udc/bdc/bdc_core.c 	bdc_writel(bdc->regs, BDC_SPBBAL, low32);
regs              189 drivers/usb/gadget/udc/bdc/bdc_core.c 	bdc_writel(bdc->regs, BDC_SPBBAH, upp32);
regs              203 drivers/usb/gadget/udc/bdc/bdc_core.c 	bdc_writel(bdc->regs, BDC_SRRINT(0), BDC_SRR_RWS | BDC_SRR_RST);
regs              232 drivers/usb/gadget/udc/bdc/bdc_core.c 	bdc_writel(bdc->regs, BDC_SPBBAL, bdc->scratchpad.sp_dma);
regs              236 drivers/usb/gadget/udc/bdc/bdc_core.c 	bdc_writel(bdc->regs, BDC_SRRINT(0), temp);
regs              250 drivers/usb/gadget/udc/bdc/bdc_core.c 	bdc_writel(bdc->regs, BDC_SRRBAL(0), low32);
regs              251 drivers/usb/gadget/udc/bdc/bdc_core.c 	bdc_writel(bdc->regs, BDC_SRRBAH(0), upp32);
regs              253 drivers/usb/gadget/udc/bdc/bdc_core.c 	temp = bdc_readl(bdc->regs, BDC_SRRINT(0));
regs              256 drivers/usb/gadget/udc/bdc/bdc_core.c 	bdc_writel(bdc->regs, BDC_SRRINT(0), temp);
regs              259 drivers/usb/gadget/udc/bdc/bdc_core.c 	temp = bdc_readl(bdc->regs, BDC_INTCTLS(0));
regs              262 drivers/usb/gadget/udc/bdc/bdc_core.c 	bdc_writel(bdc->regs, BDC_INTCTLS(0), temp);
regs              264 drivers/usb/gadget/udc/bdc/bdc_core.c 	usb2_pm = bdc_readl(bdc->regs, BDC_USPPM2);
regs              268 drivers/usb/gadget/udc/bdc/bdc_core.c 	bdc_writel(bdc->regs, BDC_USPPM2, usb2_pm);
regs              271 drivers/usb/gadget/udc/bdc/bdc_core.c 	usb2_pm = bdc_readl(bdc->regs, BDC_USPPM2);
regs              275 drivers/usb/gadget/udc/bdc/bdc_core.c 	temp = bdc_readl(bdc->regs, BDC_BDCSC);
regs              278 drivers/usb/gadget/udc/bdc/bdc_core.c 	bdc_writel(bdc->regs, BDC_BDCSC, temp);
regs              286 drivers/usb/gadget/udc/bdc/bdc_core.c 		temp = bdc_readl(bdc->regs, BDC_BDCSC);
regs              288 drivers/usb/gadget/udc/bdc/bdc_core.c 		bdc_writel(bdc->regs, BDC_BDCSC, temp);
regs              369 drivers/usb/gadget/udc/bdc/bdc_core.c 	page_size = BDC_PGS(bdc_readl(bdc->regs, BDC_BDCCFG0));
regs              388 drivers/usb/gadget/udc/bdc/bdc_core.c 	num_ieps = NUM_NCS(bdc_readl(bdc->regs, BDC_FSCNIC));
regs              389 drivers/usb/gadget/udc/bdc/bdc_core.c 	num_oeps = NUM_NCS(bdc_readl(bdc->regs, BDC_FSCNOC));
regs              512 drivers/usb/gadget/udc/bdc/bdc_core.c 	bdc->regs = devm_ioremap_resource(dev, res);
regs              513 drivers/usb/gadget/udc/bdc/bdc_core.c 	if (IS_ERR(bdc->regs)) {
regs              524 drivers/usb/gadget/udc/bdc/bdc_core.c 	dev_dbg(dev, "bdc->regs: %p irq=%d\n", bdc->regs, bdc->irq);
regs              555 drivers/usb/gadget/udc/bdc/bdc_core.c 	temp = bdc_readl(bdc->regs, BDC_BDCCAP1);
regs               17 drivers/usb/gadget/udc/bdc/bdc_dbg.c 	dev_vdbg(bdc->dev, "bdc->regs:%p\n", bdc->regs);
regs               18 drivers/usb/gadget/udc/bdc/bdc_dbg.c 	temp = bdc_readl(bdc->regs, BDC_BDCCFG0);
regs               20 drivers/usb/gadget/udc/bdc/bdc_dbg.c 	temp = bdc_readl(bdc->regs, BDC_BDCCFG1);
regs               22 drivers/usb/gadget/udc/bdc/bdc_dbg.c 	temp = bdc_readl(bdc->regs, BDC_BDCCAP0);
regs               24 drivers/usb/gadget/udc/bdc/bdc_dbg.c 	temp = bdc_readl(bdc->regs, BDC_BDCCAP1);
regs               26 drivers/usb/gadget/udc/bdc/bdc_dbg.c 	temp = bdc_readl(bdc->regs, BDC_USPC);
regs               28 drivers/usb/gadget/udc/bdc/bdc_dbg.c 	temp = bdc_readl(bdc->regs, BDC_DVCSA);
regs               30 drivers/usb/gadget/udc/bdc/bdc_dbg.c 	temp = bdc_readl(bdc->regs, BDC_DVCSB);
regs               38 drivers/usb/gadget/udc/bdc/bdc_dbg.c 	temp = bdc_readl(bdc->regs, BDC_EPSTS0);
regs               41 drivers/usb/gadget/udc/bdc/bdc_dbg.c 	temp = bdc_readl(bdc->regs, BDC_EPSTS1);
regs               44 drivers/usb/gadget/udc/bdc/bdc_dbg.c 	temp = bdc_readl(bdc->regs, BDC_EPSTS2);
regs               47 drivers/usb/gadget/udc/bdc/bdc_dbg.c 	temp = bdc_readl(bdc->regs, BDC_EPSTS3);
regs               50 drivers/usb/gadget/udc/bdc/bdc_dbg.c 	temp = bdc_readl(bdc->regs, BDC_EPSTS4);
regs               53 drivers/usb/gadget/udc/bdc/bdc_dbg.c 	temp = bdc_readl(bdc->regs, BDC_EPSTS5);
regs               56 drivers/usb/gadget/udc/bdc/bdc_dbg.c 	temp = bdc_readl(bdc->regs, BDC_EPSTS6);
regs               59 drivers/usb/gadget/udc/bdc/bdc_dbg.c 	temp = bdc_readl(bdc->regs, BDC_EPSTS7);
regs              353 drivers/usb/gadget/udc/bdc/bdc_ep.c 	bdc_writel(bdc->regs, BDC_XSFNTF, epnum);
regs              774 drivers/usb/gadget/udc/bdc/bdc_ep.c 	tmp_32 = bdc_readl(bdc->regs, BDC_EPSTS0);
regs              776 drivers/usb/gadget/udc/bdc/bdc_ep.c 	tmp_32 = bdc_readl(bdc->regs, BDC_EPSTS1);
regs              926 drivers/usb/gadget/udc/bdc/bdc_ep.c 	usb2_pm = bdc_readl(bdc->regs, BDC_USPPM2);
regs              941 drivers/usb/gadget/udc/bdc/bdc_ep.c 	bdc_writel(bdc->regs, BDC_USPPM2, usb2_pm);
regs             1177 drivers/usb/gadget/udc/bdc/bdc_ep.c 		usppms =  bdc_readl(bdc->regs, BDC_USPPMS);
regs             1189 drivers/usb/gadget/udc/bdc/bdc_ep.c 		bdc_writel(bdc->regs, BDC_USPPMS, usppms);
regs             1199 drivers/usb/gadget/udc/bdc/bdc_ep.c 		usppms = bdc_readl(bdc->regs, BDC_USPPMS);
regs             1209 drivers/usb/gadget/udc/bdc/bdc_ep.c 		bdc_writel(bdc->regs, BDC_USPPMS, usppms);
regs               79 drivers/usb/gadget/udc/bdc/bdc_udc.c 	temp = bdc_readl(bdc->regs, BDC_USPC);
regs               89 drivers/usb/gadget/udc/bdc/bdc_udc.c 		usppms =  bdc_readl(bdc->regs, BDC_USPPMS);
regs               93 drivers/usb/gadget/udc/bdc/bdc_udc.c 		bdc_writel(bdc->regs, BDC_USPPMS, usppms);
regs              237 drivers/usb/gadget/udc/bdc/bdc_udc.c 	uspc = bdc_readl(bdc->regs, BDC_USPC);
regs              281 drivers/usb/gadget/udc/bdc/bdc_udc.c 	uspc = bdc_readl(bdc->regs, BDC_USPC);
regs              284 drivers/usb/gadget/udc/bdc/bdc_udc.c 	bdc_writel(bdc->regs, BDC_USPC, clear_flags);
regs              297 drivers/usb/gadget/udc/bdc/bdc_udc.c 	status = bdc_readl(bdc->regs, BDC_BDCSC);
regs              302 drivers/usb/gadget/udc/bdc/bdc_udc.c 	srr_int = bdc_readl(bdc->regs, BDC_SRRINT(0));
regs              343 drivers/usb/gadget/udc/bdc/bdc_udc.c 	srr_int = bdc_readl(bdc->regs, BDC_SRRINT(0));
regs              348 drivers/usb/gadget/udc/bdc/bdc_udc.c 	bdc_writel(bdc->regs, BDC_SRRINT(0), srr_int);
regs              349 drivers/usb/gadget/udc/bdc/bdc_udc.c 	srr_int = bdc_readl(bdc->regs, BDC_SRRINT(0));
regs              437 drivers/usb/gadget/udc/bdc/bdc_udc.c 		uspc = bdc_readl(bdc->regs, BDC_USPC);
regs              481 drivers/usb/gadget/udc/bdc/bdc_udc.c 	uspc = bdc_readl(bdc->regs, BDC_USPC);
regs              498 drivers/usb/gadget/udc/bdc/bdc_udc.c 	bdc_writel(bdc->regs, BDC_USPC, uspc);
regs              499 drivers/usb/gadget/udc/bdc/bdc_udc.c 	uspc = bdc_readl(bdc->regs, BDC_USPC);
regs              566 drivers/usb/gadget/udc/bdc/bdc_udc.c 	temp = bdc_readl(bdc->regs, BDC_BDCSC);
regs              568 drivers/usb/gadget/udc/bdc/bdc_udc.c 	bdc_writel(bdc->regs, BDC_BDCSC, temp);
regs             2411 drivers/usb/gadget/udc/fsl_udc_core.c 	pdata->regs = (void __iomem *)dr_regs;
regs               84 drivers/usb/gadget/udc/goku_udc.c command(struct goku_udc_regs __iomem *regs, int command, unsigned epnum)
regs               86 drivers/usb/gadget/udc/goku_udc.c 	writel(COMMAND_EP(epnum) | command, &regs->Command);
regs              159 drivers/usb/gadget/udc/goku_udc.c 		struct goku_udc_regs __iomem	*regs = ep->dev->regs;
regs              167 drivers/usb/gadget/udc/goku_udc.c 		tmp |= readl(&regs->EPxSingle);
regs              168 drivers/usb/gadget/udc/goku_udc.c 		writel(tmp, &regs->EPxSingle);
regs              171 drivers/usb/gadget/udc/goku_udc.c 		tmp |= readl(&regs->EPxBCS);
regs              172 drivers/usb/gadget/udc/goku_udc.c 		writel(tmp, &regs->EPxBCS);
regs              175 drivers/usb/gadget/udc/goku_udc.c 	command(ep->dev->regs, COMMAND_RESET, ep->num);
regs              189 drivers/usb/gadget/udc/goku_udc.c static void ep_reset(struct goku_udc_regs __iomem *regs, struct goku_ep *ep)
regs              193 drivers/usb/gadget/udc/goku_udc.c 	if (regs) {
regs              194 drivers/usb/gadget/udc/goku_udc.c 		command(regs, COMMAND_INVALID, ep->num);
regs              204 drivers/usb/gadget/udc/goku_udc.c 		writel(dev->int_enable, &regs->int_enable);
regs              205 drivers/usb/gadget/udc/goku_udc.c 		readl(&regs->int_enable);
regs              207 drivers/usb/gadget/udc/goku_udc.c 			struct goku_udc_regs __iomem	*r = ep->dev->regs;
regs              222 drivers/usb/gadget/udc/goku_udc.c 			master = readl(&regs->dma_master) & MST_RW_BITS;
regs              230 drivers/usb/gadget/udc/goku_udc.c 			writel(master, &regs->dma_master);
regs              258 drivers/usb/gadget/udc/goku_udc.c 	ep_reset(dev->regs, ep);
regs              354 drivers/usb/gadget/udc/goku_udc.c 	tmp = readl(&dev->regs->DataSet);
regs              368 drivers/usb/gadget/udc/goku_udc.c 		writel(~INT_EPxDATASET(ep->num), &dev->regs->int_status);
regs              374 drivers/usb/gadget/udc/goku_udc.c 		writel(~(1<<ep->num), &dev->regs->EOP);
regs              407 drivers/usb/gadget/udc/goku_udc.c 	struct goku_udc_regs __iomem	*regs;
regs              412 drivers/usb/gadget/udc/goku_udc.c 	regs = ep->dev->regs;
regs              424 drivers/usb/gadget/udc/goku_udc.c 			writel(~INT_EPxDATASET(ep->num), &regs->int_status);
regs              426 drivers/usb/gadget/udc/goku_udc.c 		set = readl(&regs->DataSet) & DATASET_AB(ep->num);
regs              427 drivers/usb/gadget/udc/goku_udc.c 		size = readl(&regs->EPxSizeLA[ep->num]);
regs              436 drivers/usb/gadget/udc/goku_udc.c 				size = readl(&regs->EPxSizeLB[ep->num]);
regs              479 drivers/usb/gadget/udc/goku_udc.c 						&regs->UsbState);
regs              481 drivers/usb/gadget/udc/goku_udc.c 				writel(~(1<<0), &regs->EOP);
regs              501 drivers/usb/gadget/udc/goku_udc.c 		struct goku_udc_regs __iomem *regs, int epnum)
regs              504 drivers/usb/gadget/udc/goku_udc.c 	writel(dev->int_enable, &regs->int_enable);
regs              510 drivers/usb/gadget/udc/goku_udc.c 		struct goku_udc_regs __iomem *regs, int epnum)
regs              513 drivers/usb/gadget/udc/goku_udc.c 	writel(dev->int_enable, &regs->int_enable);
regs              534 drivers/usb/gadget/udc/goku_udc.c 	struct goku_udc_regs __iomem	*regs = ep->dev->regs;
regs              539 drivers/usb/gadget/udc/goku_udc.c 	master = readl(&regs->dma_master) & MST_RW_BITS;
regs              548 drivers/usb/gadget/udc/goku_udc.c 		writel(end, &regs->in_dma_end);
regs              549 drivers/usb/gadget/udc/goku_udc.c 		writel(start, &regs->in_dma_start);
regs              573 drivers/usb/gadget/udc/goku_udc.c 		writel(end, &regs->out_dma_end);
regs              574 drivers/usb/gadget/udc/goku_udc.c 		writel(start, &regs->out_dma_start);
regs              582 drivers/usb/gadget/udc/goku_udc.c 	writel(master, &regs->dma_master);
regs              583 drivers/usb/gadget/udc/goku_udc.c 	writel(ep->dev->int_enable, &regs->int_enable);
regs              590 drivers/usb/gadget/udc/goku_udc.c 	struct goku_udc_regs __iomem	*regs = ep->dev->regs;
regs              593 drivers/usb/gadget/udc/goku_udc.c 	master = readl(&regs->dma_master);
regs              601 drivers/usb/gadget/udc/goku_udc.c 		writel(dev->int_enable, &regs->int_enable);
regs              610 drivers/usb/gadget/udc/goku_udc.c 		req->req.actual = readl(&regs->in_dma_current);
regs              618 drivers/usb/gadget/udc/goku_udc.c 		req->req.actual = readl(&regs->out_dma_current);
regs              637 drivers/usb/gadget/udc/goku_udc.c 	struct goku_udc_regs __iomem	*regs = ep->dev->regs;
regs              648 drivers/usb/gadget/udc/goku_udc.c 	command(regs, COMMAND_FIFO_DISABLE, ep->num);
regs              650 drivers/usb/gadget/udc/goku_udc.c 	master = readl(&regs->dma_master) & MST_RW_BITS;
regs              658 drivers/usb/gadget/udc/goku_udc.c 		if (unlikely((readl(&regs->dma_master) & MST_RD_ENA) == 0))
regs              660 drivers/usb/gadget/udc/goku_udc.c 		curr = readl(&regs->in_dma_current);
regs              662 drivers/usb/gadget/udc/goku_udc.c 		writel(curr, &regs->in_dma_end);
regs              663 drivers/usb/gadget/udc/goku_udc.c 		writel(curr, &regs->in_dma_start);
regs              667 drivers/usb/gadget/udc/goku_udc.c 		writel(master, &regs->dma_master);
regs              669 drivers/usb/gadget/udc/goku_udc.c 		if (readl(&regs->dma_master) & MST_RD_ENA)
regs              673 drivers/usb/gadget/udc/goku_udc.c 		if (unlikely((readl(&regs->dma_master) & MST_WR_ENA) == 0))
regs              675 drivers/usb/gadget/udc/goku_udc.c 		curr = readl(&regs->out_dma_current);
regs              677 drivers/usb/gadget/udc/goku_udc.c 		writel(curr, &regs->out_dma_end);
regs              678 drivers/usb/gadget/udc/goku_udc.c 		writel(curr, &regs->out_dma_start);
regs              682 drivers/usb/gadget/udc/goku_udc.c 		writel(master, &regs->dma_master);
regs              684 drivers/usb/gadget/udc/goku_udc.c 		if (readl(&regs->dma_master) & MST_WR_ENA)
regs              694 drivers/usb/gadget/udc/goku_udc.c 	command(regs, COMMAND_FIFO_ENABLE, ep->num);
regs              700 drivers/usb/gadget/udc/goku_udc.c 	command(regs, COMMAND_FIFO_ENABLE, ep->num);
regs              782 drivers/usb/gadget/udc/goku_udc.c 		pio_irq_enable(dev, dev->regs, ep->num);
regs              861 drivers/usb/gadget/udc/goku_udc.c 	command(ep->dev->regs, COMMAND_SETDATA0, ep->num);
regs              862 drivers/usb/gadget/udc/goku_udc.c 	command(ep->dev->regs, COMMAND_STALL_CLEAR, ep->num);
regs              906 drivers/usb/gadget/udc/goku_udc.c 			&& (readl(&ep->dev->regs->DataSet)
regs              914 drivers/usb/gadget/udc/goku_udc.c 		command(ep->dev->regs, COMMAND_STALL, ep->num);
regs              924 drivers/usb/gadget/udc/goku_udc.c 	struct goku_udc_regs __iomem	*regs;
regs              936 drivers/usb/gadget/udc/goku_udc.c 	regs = ep->dev->regs;
regs              937 drivers/usb/gadget/udc/goku_udc.c 	size = readl(&regs->EPxSizeLA[ep->num]) & DATASIZE;
regs              938 drivers/usb/gadget/udc/goku_udc.c 	size += readl(&regs->EPxSizeLB[ep->num]) & DATASIZE;
regs              946 drivers/usb/gadget/udc/goku_udc.c 	struct goku_udc_regs __iomem	*regs;
regs              960 drivers/usb/gadget/udc/goku_udc.c 	regs = ep->dev->regs;
regs              961 drivers/usb/gadget/udc/goku_udc.c 	size = readl(&regs->EPxSizeLA[ep->num]);
regs              969 drivers/usb/gadget/udc/goku_udc.c 		command(regs, COMMAND_FIFO_CLEAR, ep->num);
regs             1135 drivers/usb/gadget/udc/goku_udc.c 	struct goku_udc_regs __iomem	*regs = dev->regs;
regs             1143 drivers/usb/gadget/udc/goku_udc.c 	tmp = readl(&regs->power_detect);
regs             1159 drivers/usb/gadget/udc/goku_udc.c 	dump_intmask(m, "int_status", readl(&regs->int_status));
regs             1160 drivers/usb/gadget/udc/goku_udc.c 	dump_intmask(m, "int_enable", readl(&regs->int_enable));
regs             1167 drivers/usb/gadget/udc/goku_udc.c 		   dev->irqs, readl(&regs->DataSet),
regs             1168 drivers/usb/gadget/udc/goku_udc.c 		   readl(&regs->EPxSingle), readl(&regs->EPxBCS),
regs             1169 drivers/usb/gadget/udc/goku_udc.c 		   readl(&regs->UsbState),
regs             1170 drivers/usb/gadget/udc/goku_udc.c 		   readl(&regs->address));
regs             1174 drivers/usb/gadget/udc/goku_udc.c 	tmp = readl(&regs->dma_master);
regs             1224 drivers/usb/gadget/udc/goku_udc.c 					tmp = readl(&regs->in_dma_current);
regs             1226 drivers/usb/gadget/udc/goku_udc.c 					tmp = readl(&regs->out_dma_current);
regs             1265 drivers/usb/gadget/udc/goku_udc.c 		ep->reg_fifo = &dev->regs->ep_fifo [i];
regs             1266 drivers/usb/gadget/udc/goku_udc.c 		ep->reg_status = &dev->regs->ep_status [i];
regs             1267 drivers/usb/gadget/udc/goku_udc.c 		ep->reg_mode = &dev->regs->ep_mode[i];
regs             1292 drivers/usb/gadget/udc/goku_udc.c 	struct goku_udc_regs __iomem	*regs = dev->regs;
regs             1294 drivers/usb/gadget/udc/goku_udc.c 	writel(0, &regs->power_detect);
regs             1295 drivers/usb/gadget/udc/goku_udc.c 	writel(0, &regs->int_enable);
regs             1296 drivers/usb/gadget/udc/goku_udc.c 	readl(&regs->int_enable);
regs             1303 drivers/usb/gadget/udc/goku_udc.c 	writel(PW_RESETB, &regs->power_detect);
regs             1304 drivers/usb/gadget/udc/goku_udc.c 	readl(&regs->int_enable);
regs             1309 drivers/usb/gadget/udc/goku_udc.c 	struct goku_udc_regs __iomem	*regs = dev->regs;
regs             1323 drivers/usb/gadget/udc/goku_udc.c 		, &regs->reqmode);
regs             1330 drivers/usb/gadget/udc/goku_udc.c 		writel(0, &regs->descriptors[i]);
regs             1331 drivers/usb/gadget/udc/goku_udc.c 	writel(0, &regs->UsbReady);
regs             1334 drivers/usb/gadget/udc/goku_udc.c 	writel(PW_RESETB | PW_PULLUP, &regs->power_detect);
regs             1336 drivers/usb/gadget/udc/goku_udc.c 	writel(dev->int_enable, &dev->regs->int_enable);
regs             1337 drivers/usb/gadget/udc/goku_udc.c 	readl(&regs->int_enable);
regs             1345 drivers/usb/gadget/udc/goku_udc.c 	if (readl(&dev->regs->power_detect) & PW_DETECT)
regs             1350 drivers/usb/gadget/udc/goku_udc.c 		writel(dev->int_enable, &dev->regs->int_enable);
regs             1417 drivers/usb/gadget/udc/goku_udc.c 	struct goku_udc_regs __iomem	*regs = dev->regs;
regs             1422 drivers/usb/gadget/udc/goku_udc.c 	ctrl.bRequestType = readl(&regs->bRequestType);
regs             1423 drivers/usb/gadget/udc/goku_udc.c 	ctrl.bRequest = readl(&regs->bRequest);
regs             1424 drivers/usb/gadget/udc/goku_udc.c 	ctrl.wValue  = cpu_to_le16((readl(&regs->wValueH)  << 8)
regs             1425 drivers/usb/gadget/udc/goku_udc.c 					| readl(&regs->wValueL));
regs             1426 drivers/usb/gadget/udc/goku_udc.c 	ctrl.wIndex  = cpu_to_le16((readl(&regs->wIndexH)  << 8)
regs             1427 drivers/usb/gadget/udc/goku_udc.c 					| readl(&regs->wIndexL));
regs             1428 drivers/usb/gadget/udc/goku_udc.c 	ctrl.wLength = cpu_to_le16((readl(&regs->wLengthH) << 8)
regs             1429 drivers/usb/gadget/udc/goku_udc.c 					| readl(&regs->wLengthL));
regs             1430 drivers/usb/gadget/udc/goku_udc.c 	writel(0, &regs->SetupRecv);
regs             1438 drivers/usb/gadget/udc/goku_udc.c 		writel(ICONTROL_STATUSNAK, &dev->regs->IntControl);
regs             1471 drivers/usb/gadget/udc/goku_udc.c 				writel(~(1<<0), &regs->EOP);
regs             1517 drivers/usb/gadget/udc/goku_udc.c 		command(regs, COMMAND_STALL, 0);
regs             1527 drivers/usb/gadget/udc/goku_udc.c 		writel(~irqbit, &regs->int_status); \
regs             1534 drivers/usb/gadget/udc/goku_udc.c 	struct goku_udc_regs __iomem	*regs = dev->regs;
regs             1542 drivers/usb/gadget/udc/goku_udc.c 	stat = readl(&regs->int_status) & dev->int_enable;
regs             1559 drivers/usb/gadget/udc/goku_udc.c 			writel(~stat, &regs->int_status);
regs             1560 drivers/usb/gadget/udc/goku_udc.c 			if (readl(&dev->regs->power_detect) & PW_DETECT) {
regs             1569 drivers/usb/gadget/udc/goku_udc.c 				writel(dev->int_enable, &dev->regs->int_enable);
regs             1577 drivers/usb/gadget/udc/goku_udc.c 			if (readl(&regs->ep_status[0]) & EPxSTATUS_SUSPEND) {
regs             1634 drivers/usb/gadget/udc/goku_udc.c 			writel(~(1<<0), &regs->EOP);
regs             1675 drivers/usb/gadget/udc/goku_udc.c 			pio_irq_disable(dev, regs, i);
regs             1685 drivers/usb/gadget/udc/goku_udc.c 	(void)readl(&regs->int_enable);
regs             1689 drivers/usb/gadget/udc/goku_udc.c 				readl(&regs->int_status), dev->int_enable);
regs             1719 drivers/usb/gadget/udc/goku_udc.c 	if (dev->regs)
regs             1723 drivers/usb/gadget/udc/goku_udc.c 	if (dev->regs)
regs             1724 drivers/usb/gadget/udc/goku_udc.c 		iounmap(dev->regs);
regs             1731 drivers/usb/gadget/udc/goku_udc.c 	dev->regs = NULL;
regs             1791 drivers/usb/gadget/udc/goku_udc.c 	dev->regs = (struct goku_udc_regs __iomem *) base;
regs              254 drivers/usb/gadget/udc/goku_udc.h 	struct goku_udc_regs __iomem	*regs;
regs              127 drivers/usb/gadget/udc/gr_udc.c 	u32 epctrl = gr_read32(&ep->regs->epctrl);
regs              128 drivers/usb/gadget/udc/gr_udc.c 	u32 epstat = gr_read32(&ep->regs->epstat);
regs              185 drivers/usb/gadget/udc/gr_udc.c 	u32 control = gr_read32(&dev->regs->control);
regs              186 drivers/usb/gadget/udc/gr_udc.c 	u32 status = gr_read32(&dev->regs->status);
regs              391 drivers/usb/gadget/udc/gr_udc.c 	gr_write32(&ep->regs->dmaaddr, req->curr_desc->paddr);
regs              394 drivers/usb/gadget/udc/gr_udc.c 	dmactrl = gr_read32(&ep->regs->dmactrl);
regs              395 drivers/usb/gadget/udc/gr_udc.c 	gr_write32(&ep->regs->dmactrl, dmactrl | GR_DMACTRL_DA);
regs              425 drivers/usb/gadget/udc/gr_udc.c 	dmactrl = gr_read32(&ep->regs->dmactrl);
regs              426 drivers/usb/gadget/udc/gr_udc.c 	gr_write32(&ep->regs->dmactrl, dmactrl | GR_DMACTRL_AD);
regs              672 drivers/usb/gadget/udc/gr_udc.c 	gr_write32(&ep->regs->epctrl, 0);
regs              673 drivers/usb/gadget/udc/gr_udc.c 	gr_write32(&ep->regs->dmactrl, 0);
regs              690 drivers/usb/gadget/udc/gr_udc.c 	epctrl = gr_read32(&dev->epo[0].regs->epctrl);
regs              691 drivers/usb/gadget/udc/gr_udc.c 	gr_write32(&dev->epo[0].regs->epctrl, epctrl | GR_EPCTRL_CS);
regs              692 drivers/usb/gadget/udc/gr_udc.c 	epctrl = gr_read32(&dev->epi[0].regs->epctrl);
regs              693 drivers/usb/gadget/udc/gr_udc.c 	gr_write32(&dev->epi[0].regs->epctrl, epctrl | GR_EPCTRL_CS);
regs              728 drivers/usb/gadget/udc/gr_udc.c 	epctrl = gr_read32(&ep->regs->epctrl);
regs              731 drivers/usb/gadget/udc/gr_udc.c 		gr_write32(&ep->regs->epctrl, epctrl | GR_EPCTRL_EH);
regs              736 drivers/usb/gadget/udc/gr_udc.c 		gr_write32(&ep->regs->epctrl, epctrl & ~GR_EPCTRL_EH);
regs              764 drivers/usb/gadget/udc/gr_udc.c 	gr_write32(&dev->regs->control, 0);
regs              802 drivers/usb/gadget/udc/gr_udc.c 	control = gr_read32(&dev->regs->control);
regs              804 drivers/usb/gadget/udc/gr_udc.c 	gr_write32(&dev->regs->control, control);
regs              874 drivers/usb/gadget/udc/gr_udc.c 	control = gr_read32(&dev->regs->control) & ~GR_CONTROL_UA_MASK;
regs              877 drivers/usb/gadget/udc/gr_udc.c 	gr_write32(&dev->regs->control, control);
regs              997 drivers/usb/gadget/udc/gr_udc.c 		halted = gr_read32(&ep->regs->epctrl) & GR_EPCTRL_EH;
regs             1178 drivers/usb/gadget/udc/gr_udc.c 	gr_write32(&dev->regs->control, control);
regs             1188 drivers/usb/gadget/udc/gr_udc.c 	gr_write32(&dev->regs->control, GR_CONTROL_VI);
regs             1191 drivers/usb/gadget/udc/gr_udc.c 	status = gr_read32(&dev->regs->status);
regs             1247 drivers/usb/gadget/udc/gr_udc.c 	if (gr_read32(&ep->regs->epstat) & (GR_EPSTAT_B1 | GR_EPSTAT_B0))
regs             1303 drivers/usb/gadget/udc/gr_udc.c 		ep_dmactrl = gr_read32(&ep->regs->dmactrl);
regs             1304 drivers/usb/gadget/udc/gr_udc.c 		gr_write32(&ep->regs->dmactrl, ep_dmactrl | GR_DMACTRL_DA);
regs             1317 drivers/usb/gadget/udc/gr_udc.c 	u32 status = gr_read32(&dev->regs->status);
regs             1340 drivers/usb/gadget/udc/gr_udc.c 		gr_write32(&dev->regs->status, GR_STATUS_UR);
regs             1435 drivers/usb/gadget/udc/gr_udc.c 			if (gr_read32(&ep->regs->dmactrl) & GR_DMACTRL_AE) {
regs             1490 drivers/usb/gadget/udc/gr_udc.c 	epctrl = gr_read32(&ep->regs->epctrl);
regs             1587 drivers/usb/gadget/udc/gr_udc.c 	gr_write32(&ep->regs->epctrl, epctrl);
regs             1589 drivers/usb/gadget/udc/gr_udc.c 	gr_write32(&ep->regs->dmactrl, GR_DMACTRL_IE | GR_DMACTRL_AI);
regs             1793 drivers/usb/gadget/udc/gr_udc.c 	epstat = gr_read32(&ep->regs->epstat);
regs             1817 drivers/usb/gadget/udc/gr_udc.c 	epctrl = gr_read32(&ep->regs->epctrl);
regs             1819 drivers/usb/gadget/udc/gr_udc.c 	gr_write32(&ep->regs->epctrl, epctrl);
regs             1850 drivers/usb/gadget/udc/gr_udc.c 	return gr_read32(&dev->regs->status) & GR_STATUS_FN_MASK;
regs             1867 drivers/usb/gadget/udc/gr_udc.c 	gr_write32(&dev->regs->control,
regs             1868 drivers/usb/gadget/udc/gr_udc.c 		   gr_read32(&dev->regs->control) | GR_CONTROL_RW);
regs             1886 drivers/usb/gadget/udc/gr_udc.c 	control = gr_read32(&dev->regs->control);
regs             1891 drivers/usb/gadget/udc/gr_udc.c 	gr_write32(&dev->regs->control, control);
regs             1967 drivers/usb/gadget/udc/gr_udc.c 		ep->regs = &dev->regs->epi[num];
regs             1971 drivers/usb/gadget/udc/gr_udc.c 		ep->regs = &dev->regs->epo[num];
regs             2066 drivers/usb/gadget/udc/gr_udc.c 	gr_write32(&dev->epo[0].regs->epctrl, epctrl_val);
regs             2067 drivers/usb/gadget/udc/gr_udc.c 	gr_write32(&dev->epi[0].regs->epctrl, epctrl_val | GR_EPCTRL_PI);
regs             2068 drivers/usb/gadget/udc/gr_udc.c 	gr_write32(&dev->epo[0].regs->dmactrl, dmactrl_val);
regs             2069 drivers/usb/gadget/udc/gr_udc.c 	gr_write32(&dev->epi[0].regs->dmactrl, dmactrl_val);
regs             2122 drivers/usb/gadget/udc/gr_udc.c 	struct gr_regs __iomem *regs;
regs             2132 drivers/usb/gadget/udc/gr_udc.c 	regs = devm_ioremap_resource(dev->dev, res);
regs             2133 drivers/usb/gadget/udc/gr_udc.c 	if (IS_ERR(regs))
regs             2134 drivers/usb/gadget/udc/gr_udc.c 		return PTR_ERR(regs);
regs             2155 drivers/usb/gadget/udc/gr_udc.c 	dev->regs = regs;
regs             2160 drivers/usb/gadget/udc/gr_udc.c 	status = gr_read32(&dev->regs->status);
regs             2224 drivers/usb/gadget/udc/gr_udc.c 		dev_info(dev->dev, "regs: %p, irqs %d, %d, %d\n", dev->regs,
regs             2227 drivers/usb/gadget/udc/gr_udc.c 		dev_info(dev->dev, "regs: %p, irq %d\n", dev->regs, dev->irq);
regs              143 drivers/usb/gadget/udc/gr_udc.h 	struct gr_epregs __iomem *regs;
regs              199 drivers/usb/gadget/udc/gr_udc.h 	struct gr_regs __iomem *regs;
regs              169 drivers/usb/gadget/udc/net2280.c 	u32 tmp = readl(&ep->dev->regs->pciirqenb0);
regs              175 drivers/usb/gadget/udc/net2280.c 	writel(tmp, &ep->dev->regs->pciirqenb0);
regs              242 drivers/usb/gadget/udc/net2280.c 	writel(BIT(FIFO_FLUSH), &ep->regs->ep_stat);
regs              264 drivers/usb/gadget/udc/net2280.c 				&ep->regs->ep_rsp);
regs              306 drivers/usb/gadget/udc/net2280.c 		writel(BIT(SET_NAK_OUT_PACKETS), &ep->regs->ep_rsp);
regs              312 drivers/usb/gadget/udc/net2280.c 			BIT(CLEAR_NAK_OUT_PACKETS_MODE), &ep->regs->ep_rsp);
regs              326 drivers/usb/gadget/udc/net2280.c 			tmp |= readl(&ep->regs->ep_irqenb);
regs              327 drivers/usb/gadget/udc/net2280.c 		writel(tmp, &ep->regs->ep_irqenb);
regs              330 drivers/usb/gadget/udc/net2280.c 		tmp |= readl(&dev->regs->pciirqenb1);
regs              331 drivers/usb/gadget/udc/net2280.c 		writel(tmp, &dev->regs->pciirqenb1);
regs              339 drivers/usb/gadget/udc/net2280.c 			writel(tmp, &ep->regs->ep_irqenb);
regs              379 drivers/usb/gadget/udc/net2280.c static void ep_reset_228x(struct net2280_regs __iomem *regs,
regs              398 drivers/usb/gadget/udc/net2280.c 		tmp = readl(&regs->pciirqenb0);
regs              400 drivers/usb/gadget/udc/net2280.c 		writel(tmp, &regs->pciirqenb0);
regs              402 drivers/usb/gadget/udc/net2280.c 		tmp = readl(&regs->pciirqenb1);
regs              404 drivers/usb/gadget/udc/net2280.c 		writel(tmp, &regs->pciirqenb1);
regs              406 drivers/usb/gadget/udc/net2280.c 	writel(0, &ep->regs->ep_irqenb);
regs              428 drivers/usb/gadget/udc/net2280.c 	writel(tmp, &ep->regs->ep_rsp);
regs              450 drivers/usb/gadget/udc/net2280.c 		&ep->regs->ep_stat);
regs              455 drivers/usb/gadget/udc/net2280.c static void ep_reset_338x(struct net2280_regs __iomem *regs,
regs              483 drivers/usb/gadget/udc/net2280.c 		tmp = readl(&regs->pciirqenb0);
regs              485 drivers/usb/gadget/udc/net2280.c 		writel(tmp, &regs->pciirqenb0);
regs              488 drivers/usb/gadget/udc/net2280.c 			tmp = readl(&regs->pciirqenb1);
regs              490 drivers/usb/gadget/udc/net2280.c 			writel(tmp, &regs->pciirqenb1);
regs              493 drivers/usb/gadget/udc/net2280.c 	writel(0, &ep->regs->ep_irqenb);
regs              501 drivers/usb/gadget/udc/net2280.c 	       BIT(DATA_IN_TOKEN_INTERRUPT), &ep->regs->ep_stat);
regs              527 drivers/usb/gadget/udc/net2280.c 		ep_reset_338x(ep->dev->regs, ep);
regs              529 drivers/usb/gadget/udc/net2280.c 		ep_reset_228x(ep->dev->regs, ep);
regs              611 drivers/usb/gadget/udc/net2280.c 	struct net2280_ep_regs	__iomem *regs = ep->regs;
regs              643 drivers/usb/gadget/udc/net2280.c 		writel(tmp, &regs->ep_data);
regs              656 drivers/usb/gadget/udc/net2280.c 		writel(tmp, &regs->ep_data);
regs              674 drivers/usb/gadget/udc/net2280.c 	statp = &ep->regs->ep_stat;
regs              680 drivers/usb/gadget/udc/net2280.c 		writel(BIT(SET_NAK_OUT_PACKETS), &ep->regs->ep_rsp);
regs              711 drivers/usb/gadget/udc/net2280.c 	struct net2280_ep_regs	__iomem *regs = ep->regs;
regs              722 drivers/usb/gadget/udc/net2280.c 		tmp = readl(&ep->regs->ep_stat);
regs              736 drivers/usb/gadget/udc/net2280.c 	count = readl(&regs->ep_avail);
regs              739 drivers/usb/gadget/udc/net2280.c 		tmp = readl(&ep->regs->ep_stat);
regs              740 drivers/usb/gadget/udc/net2280.c 		count = readl(&regs->ep_avail);
regs              771 drivers/usb/gadget/udc/net2280.c 		tmp = readl(&regs->ep_data);
regs              778 drivers/usb/gadget/udc/net2280.c 		tmp = readl(&regs->ep_data);
regs              788 drivers/usb/gadget/udc/net2280.c 		writel(BIT(CLEAR_NAK_OUT_PACKETS), &ep->regs->ep_rsp);
regs              789 drivers/usb/gadget/udc/net2280.c 		(void) readl(&ep->regs->ep_rsp);
regs              882 drivers/usb/gadget/udc/net2280.c 	if (!ep->is_in && (readl(&ep->regs->ep_stat) &
regs              885 drivers/usb/gadget/udc/net2280.c 			&ep->regs->ep_stat);
regs              887 drivers/usb/gadget/udc/net2280.c 		tmp = readl(&ep->regs->ep_avail);
regs             1043 drivers/usb/gadget/udc/net2280.c 		  (readl(&ep->regs->ep_rsp) & BIT(CLEAR_ENDPOINT_HALT)))) {
regs             1064 drivers/usb/gadget/udc/net2280.c 				s = readl(&ep->regs->ep_stat);
regs             1083 drivers/usb/gadget/udc/net2280.c 						s = readl(&ep->regs->ep_stat);
regs             1089 drivers/usb/gadget/udc/net2280.c 							&ep->regs->ep_rsp);
regs             1171 drivers/usb/gadget/udc/net2280.c 			u32 const ep_stat = readl(&ep->regs->ep_stat);
regs             1181 drivers/usb/gadget/udc/net2280.c 				u32 const ep_avail = readl(&ep->regs->ep_avail);
regs             1375 drivers/usb/gadget/udc/net2280.c 		(void) readl(&ep->regs->ep_rsp);
regs             1419 drivers/usb/gadget/udc/net2280.c 	avail = readl(&ep->regs->ep_avail) & (BIT(12) - 1);
regs             1445 drivers/usb/gadget/udc/net2280.c 	writel(BIT(FIFO_FLUSH), &ep->regs->ep_stat);
regs             1446 drivers/usb/gadget/udc/net2280.c 	(void) readl(&ep->regs->ep_rsp);
regs             1477 drivers/usb/gadget/udc/net2280.c 	retval = get_idx_reg(dev->regs, REG_FRAME) & 0x03ff;
regs             1682 drivers/usb/gadget/udc/net2280.c 			readl(&dev->regs->devinit),
regs             1683 drivers/usb/gadget/udc/net2280.c 			readl(&dev->regs->fifoctl),
regs             1685 drivers/usb/gadget/udc/net2280.c 			readl(&dev->regs->pciirqenb0),
regs             1686 drivers/usb/gadget/udc/net2280.c 			readl(&dev->regs->pciirqenb1),
regs             1687 drivers/usb/gadget/udc/net2280.c 			readl(&dev->regs->irqstat0),
regs             1688 drivers/usb/gadget/udc/net2280.c 			readl(&dev->regs->irqstat1));
regs             1726 drivers/usb/gadget/udc/net2280.c 		t2 = readl(&ep->regs->ep_rsp) & 0xff;
regs             1747 drivers/usb/gadget/udc/net2280.c 				readl(&ep->regs->ep_irqenb));
regs             1754 drivers/usb/gadget/udc/net2280.c 				readl(&ep->regs->ep_stat),
regs             1755 drivers/usb/gadget/udc/net2280.c 				readl(&ep->regs->ep_avail),
regs             1914 drivers/usb/gadget/udc/net2280.c 	writel((0xffff << PCI_BASE2_RANGE) | mode, &dev->regs->fifoctl);
regs             1987 drivers/usb/gadget/udc/net2280.c 	scratch = get_idx_reg(dev->regs, SCRATCH);
regs             2048 drivers/usb/gadget/udc/net2280.c 	set_idx_reg(dev->regs, SCRATCH, scratch);
regs             2072 drivers/usb/gadget/udc/net2280.c 	writel(0, &dev->regs->pciirqenb0);
regs             2073 drivers/usb/gadget/udc/net2280.c 	writel(0, &dev->regs->pciirqenb1);
regs             2082 drivers/usb/gadget/udc/net2280.c 	writel(~0, &dev->regs->irqstat0),
regs             2083 drivers/usb/gadget/udc/net2280.c 	writel(~(u32)BIT(SUSPEND_REQUEST_INTERRUPT), &dev->regs->irqstat1),
regs             2086 drivers/usb/gadget/udc/net2280.c 	tmp = readl(&dev->regs->devinit) |
regs             2091 drivers/usb/gadget/udc/net2280.c 	writel(tmp, &dev->regs->devinit);
regs             2109 drivers/usb/gadget/udc/net2280.c 		writel(0, &dev->regs->pciirqenb0);
regs             2110 drivers/usb/gadget/udc/net2280.c 		writel(0, &dev->regs->pciirqenb1);
regs             2127 drivers/usb/gadget/udc/net2280.c 	writel(~0, &dev->regs->irqstat0), writel(~0, &dev->regs->irqstat1);
regs             2131 drivers/usb/gadget/udc/net2280.c 		tmp = readl(&dev->regs->devinit) |
regs             2137 drivers/usb/gadget/udc/net2280.c 		writel(tmp, &dev->regs->devinit);
regs             2173 drivers/usb/gadget/udc/net2280.c 		ep->regs = &dev->epregs[tmp];
regs             2175 drivers/usb/gadget/udc/net2280.c 		ep_reset_228x(dev->regs, ep);
regs             2222 drivers/usb/gadget/udc/net2280.c 			ep->regs = (struct net2280_ep_regs __iomem *)
regs             2227 drivers/usb/gadget/udc/net2280.c 			ep->regs = &dev->epregs[i];
regs             2232 drivers/usb/gadget/udc/net2280.c 		ep_reset_338x(dev->regs, ep);
regs             2341 drivers/usb/gadget/udc/net2280.c 		&dev->regs->pciirqenb0);
regs             2349 drivers/usb/gadget/udc/net2280.c 		&dev->regs->pciirqenb1);
regs             2385 drivers/usb/gadget/udc/net2280.c 	       &dev->regs->pciirqenb0);
regs             2390 drivers/usb/gadget/udc/net2280.c 	       &dev->regs->pciirqenb1);
regs             2526 drivers/usb/gadget/udc/net2280.c 	t = readl(&ep->regs->ep_stat);
regs             2533 drivers/usb/gadget/udc/net2280.c 		writel(t & ~BIT(NAK_OUT_PACKETS), &ep->regs->ep_stat);
regs             2536 drivers/usb/gadget/udc/net2280.c 		writel(t, &ep->regs->ep_stat);
regs             2609 drivers/usb/gadget/udc/net2280.c 			for (count = 0; ; t = readl(&ep->regs->ep_stat)) {
regs             2668 drivers/usb/gadget/udc/net2280.c 				t = readl(&ep->regs->ep_avail);
regs             2778 drivers/usb/gadget/udc/net2280.c 	scratch = get_idx_reg(dev->regs, SCRATCH);
regs             2841 drivers/usb/gadget/udc/net2280.c 	set_idx_reg(dev->regs, SCRATCH, scratch);
regs             2896 drivers/usb/gadget/udc/net2280.c 			status = readl(&e->regs->ep_rsp) &
regs             3161 drivers/usb/gadget/udc/net2280.c 				   &ep->regs->ep_stat);
regs             3179 drivers/usb/gadget/udc/net2280.c 		writel(BIT(SETUP_PACKET_INTERRUPT), &dev->regs->irqstat0);
regs             3221 drivers/usb/gadget/udc/net2280.c 			if (readl(&e->regs->ep_rsp) & BIT(SET_ENDPOINT_HALT))
regs             3377 drivers/usb/gadget/udc/net2280.c 		writel(tmp, &dev->regs->irqstat1);
regs             3421 drivers/usb/gadget/udc/net2280.c 		writel(tmp, &dev->regs->irqstat1);
regs             3439 drivers/usb/gadget/udc/net2280.c 		writel(stat, &dev->regs->irqstat1);
regs             3538 drivers/usb/gadget/udc/net2280.c 		(!(readl(&dev->regs->irqstat0) & BIT(INTA_ASSERTED))))
regs             3544 drivers/usb/gadget/udc/net2280.c 	handle_stat1_irqs(dev, readl(&dev->regs->irqstat1));
regs             3547 drivers/usb/gadget/udc/net2280.c 	handle_stat0_irqs(dev, readl(&dev->regs->irqstat0));
regs             3551 drivers/usb/gadget/udc/net2280.c 		u32 pciirqenb1 = readl(&dev->regs->pciirqenb1);
regs             3552 drivers/usb/gadget/udc/net2280.c 		writel(pciirqenb1 & 0x7FFFFFFF, &dev->regs->pciirqenb1);
regs             3553 drivers/usb/gadget/udc/net2280.c 		writel(pciirqenb1, &dev->regs->pciirqenb1);
regs             3595 drivers/usb/gadget/udc/net2280.c 	if (dev->regs) {
regs             3597 drivers/usb/gadget/udc/net2280.c 		iounmap(dev->regs);
regs             3668 drivers/usb/gadget/udc/net2280.c 	dev->regs = (struct net2280_regs __iomem *) base;
regs             3688 drivers/usb/gadget/udc/net2280.c 		fsmvalue = get_idx_reg(dev->regs, SCRATCH) &
regs             3766 drivers/usb/gadget/udc/net2280.c 	dev->chiprev = get_idx_reg(dev->regs, REG_CHIPREV) & 0xffff;
regs             3799 drivers/usb/gadget/udc/net2280.c 	writel(0, &dev->regs->pciirqenb0);
regs             3800 drivers/usb/gadget/udc/net2280.c 	writel(0, &dev->regs->pciirqenb1);
regs               24 drivers/usb/gadget/udc/net2280.h static inline u32 get_idx_reg(struct net2280_regs __iomem *regs, u32 index)
regs               26 drivers/usb/gadget/udc/net2280.h 	writel(index, &regs->idxaddr);
regs               28 drivers/usb/gadget/udc/net2280.h 	return readl(&regs->idxdata);
regs               32 drivers/usb/gadget/udc/net2280.h set_idx_reg(struct net2280_regs __iomem *regs, u32 index, u32 value)
regs               34 drivers/usb/gadget/udc/net2280.h 	writel(index, &regs->idxaddr);
regs               35 drivers/usb/gadget/udc/net2280.h 	writel(value, &regs->idxdata);
regs               93 drivers/usb/gadget/udc/net2280.h 	struct net2280_ep_regs			__iomem *regs;
regs              120 drivers/usb/gadget/udc/net2280.h 		&ep->regs->ep_rsp);
regs              131 drivers/usb/gadget/udc/net2280.h 	writel(BIT(CLEAR_CONTROL_STATUS_PHASE_HANDSHAKE), &ep->regs->ep_rsp);
regs              173 drivers/usb/gadget/udc/net2280.h 	struct net2280_regs		__iomem *regs;
regs              194 drivers/usb/gadget/udc/net2280.h 		&ep->regs->ep_rsp);
regs              207 drivers/usb/gadget/udc/net2280.h 		&ep->regs->ep_rsp);
regs              257 drivers/usb/gadget/udc/net2280.h 		&dev->regs->gpioctl);
regs              264 drivers/usb/gadget/udc/net2280.h 	u32	val = readl(&dev->regs->gpioctl);
regs              281 drivers/usb/gadget/udc/net2280.h 	writel(val, &dev->regs->gpioctl);
regs              287 drivers/usb/gadget/udc/net2280.h 	u32	val = readl(&dev->regs->gpioctl);
regs              294 drivers/usb/gadget/udc/net2280.h 	writel(val, &dev->regs->gpioctl);
regs              300 drivers/usb/gadget/udc/net2280.h 	writel(readl(&dev->regs->gpioctl) & ~0x0f,
regs              301 drivers/usb/gadget/udc/net2280.h 			&dev->regs->gpioctl);
regs              334 drivers/usb/gadget/udc/net2280.h 		writeb(count, 2 + (u8 __iomem *) &ep->regs->ep_cfg);
regs              345 drivers/usb/gadget/udc/net2280.h 	writel(BIT(SET_NAK_OUT_PACKETS), &ep->regs->ep_rsp);
regs              347 drivers/usb/gadget/udc/net2280.h 	readl(&ep->regs->ep_rsp);
regs              354 drivers/usb/gadget/udc/net2280.h 	tmp = readl(&ep->regs->ep_stat);
regs              356 drivers/usb/gadget/udc/net2280.h 		writel(BIT(CLEAR_NAK_OUT_PACKETS), &ep->regs->ep_rsp);
regs              385 drivers/usb/gadget/udc/net2280.h 	set_idx_reg(ep->dev->regs, reg, max);
regs              299 drivers/usb/gadget/udc/pxa25x_udc.c 	iowrite32be(val, dev->regs + reg);
regs              304 drivers/usb/gadget/udc/pxa25x_udc.c 	return ioread32be(dev->regs + reg);
regs              309 drivers/usb/gadget/udc/pxa25x_udc.c 	writel(val, dev->regs + reg);
regs              314 drivers/usb/gadget/udc/pxa25x_udc.c 	return readl(dev->regs + reg);
regs             2371 drivers/usb/gadget/udc/pxa25x_udc.c 	dev->regs = devm_ioremap_resource(&pdev->dev, res);
regs             2372 drivers/usb/gadget/udc/pxa25x_udc.c 	if (IS_ERR(dev->regs))
regs             2373 drivers/usb/gadget/udc/pxa25x_udc.c 		return PTR_ERR(dev->regs);
regs              123 drivers/usb/gadget/udc/pxa25x_udc.h 	void __iomem				*regs;
regs             2359 drivers/usb/gadget/udc/pxa27x_udc.c 	struct resource *regs;
regs             2381 drivers/usb/gadget/udc/pxa27x_udc.c 	regs = platform_get_resource(pdev, IORESOURCE_MEM, 0);
regs             2382 drivers/usb/gadget/udc/pxa27x_udc.c 	udc->regs = devm_ioremap_resource(&pdev->dev, regs);
regs             2383 drivers/usb/gadget/udc/pxa27x_udc.c 	if (IS_ERR(udc->regs))
regs             2384 drivers/usb/gadget/udc/pxa27x_udc.c 		return PTR_ERR(udc->regs);
regs              181 drivers/usb/gadget/udc/pxa27x_udc.h 	__raw_readl((ep)->dev->regs + ofs_##reg(ep))
regs              183 drivers/usb/gadget/udc/pxa27x_udc.h 	__raw_writel((value), ep->dev->regs + ofs_##reg(ep))
regs              185 drivers/usb/gadget/udc/pxa27x_udc.h 	__raw_readb((ep)->dev->regs + ofs_##reg(ep))
regs              187 drivers/usb/gadget/udc/pxa27x_udc.h 	__raw_writeb((value), ep->dev->regs + ofs_##reg(ep))
regs              189 drivers/usb/gadget/udc/pxa27x_udc.h 	__raw_readl((dev)->regs + (reg))
regs              191 drivers/usb/gadget/udc/pxa27x_udc.h 	__raw_writel((value), (udc)->regs + (reg))
regs              449 drivers/usb/gadget/udc/pxa27x_udc.h 	void __iomem				*regs;
regs              148 drivers/usb/gadget/udc/s3c-hsudc.c 	void __iomem *regs;
regs              181 drivers/usb/gadget/udc/s3c-hsudc.c 	writel(ep_addr, hsudc->regs + S3C_IR);
regs              313 drivers/usb/gadget/udc/s3c-hsudc.c 	count = readl(hsudc->regs + S3C_BRCR);
regs              315 drivers/usb/gadget/udc/s3c-hsudc.c 		*buf++ = (u16)readl(hsudc->regs + S3C_BR(0));
regs              317 drivers/usb/gadget/udc/s3c-hsudc.c 	writel(S3C_EP0SR_RX_SUCCESS, hsudc->regs + S3C_EP0SR);
regs              344 drivers/usb/gadget/udc/s3c-hsudc.c 	writel(length, hsep->dev->regs + S3C_BWCR);
regs              385 drivers/usb/gadget/udc/s3c-hsudc.c 	csr = readl(hsudc->regs + offset);
regs              393 drivers/usb/gadget/udc/s3c-hsudc.c 	rcnt = readl(hsudc->regs + S3C_BRCR);
regs              409 drivers/usb/gadget/udc/s3c-hsudc.c 	writel(S3C_ESR_RX_SUCCESS, hsudc->regs + offset);
regs              433 drivers/usb/gadget/udc/s3c-hsudc.c 	csr = readl(hsudc->regs + S3C_ESR);
regs              435 drivers/usb/gadget/udc/s3c-hsudc.c 		writel(S3C_ESR_STALL, hsudc->regs + S3C_ESR);
regs              440 drivers/usb/gadget/udc/s3c-hsudc.c 		writel(S3C_ESR_TX_SUCCESS, hsudc->regs + S3C_ESR);
regs              466 drivers/usb/gadget/udc/s3c-hsudc.c 	csr = readl(hsudc->regs + S3C_ESR);
regs              468 drivers/usb/gadget/udc/s3c-hsudc.c 		writel(S3C_ESR_STALL, hsudc->regs + S3C_ESR);
regs              473 drivers/usb/gadget/udc/s3c-hsudc.c 		__orr32(hsudc->regs + S3C_ECR, S3C_ECR_FLUSH);
regs              512 drivers/usb/gadget/udc/s3c-hsudc.c 	ecr = readl(hsudc->regs + offset);
regs              523 drivers/usb/gadget/udc/s3c-hsudc.c 	writel(ecr, hsudc->regs + offset);
regs              695 drivers/usb/gadget/udc/s3c-hsudc.c 	u32 csr = readl(hsudc->regs + S3C_EP0SR);
regs              699 drivers/usb/gadget/udc/s3c-hsudc.c 		ecr = readl(hsudc->regs + S3C_EP0CR);
regs              701 drivers/usb/gadget/udc/s3c-hsudc.c 		writel(ecr, hsudc->regs + S3C_EP0CR);
regs              703 drivers/usb/gadget/udc/s3c-hsudc.c 		writel(S3C_EP0SR_STALL, hsudc->regs + S3C_EP0SR);
regs              713 drivers/usb/gadget/udc/s3c-hsudc.c 		writel(S3C_EP0SR_TX_SUCCESS, hsudc->regs + S3C_EP0SR);
regs              776 drivers/usb/gadget/udc/s3c-hsudc.c 	writel(ecr, hsudc->regs + S3C_ECR);
regs              783 drivers/usb/gadget/udc/s3c-hsudc.c 	__set_bit(ep_index(hsep), hsudc->regs + S3C_EIER);
regs              808 drivers/usb/gadget/udc/s3c-hsudc.c 	__clear_bit(ep_index(hsep), hsudc->regs + S3C_EIER);
regs              899 drivers/usb/gadget/udc/s3c-hsudc.c 			csr = readl(hsudc->regs + offset);
regs              904 drivers/usb/gadget/udc/s3c-hsudc.c 			csr = readl(hsudc->regs + offset);
regs             1000 drivers/usb/gadget/udc/s3c-hsudc.c 	hsep->fifo = hsudc->regs + S3C_BR(epnum);
regs             1021 drivers/usb/gadget/udc/s3c-hsudc.c 	writel(hsep->ep.maxpacket, hsudc->regs + S3C_MPR);
regs             1048 drivers/usb/gadget/udc/s3c-hsudc.c 	writel(0xAA, hsudc->regs + S3C_EDR);
regs             1049 drivers/usb/gadget/udc/s3c-hsudc.c 	writel(1, hsudc->regs + S3C_EIER);
regs             1050 drivers/usb/gadget/udc/s3c-hsudc.c 	writel(0, hsudc->regs + S3C_TR);
regs             1052 drivers/usb/gadget/udc/s3c-hsudc.c 			S3C_SCR_RST_EN, hsudc->regs + S3C_SCR);
regs             1053 drivers/usb/gadget/udc/s3c-hsudc.c 	writel(0, hsudc->regs + S3C_EP0CR);
regs             1076 drivers/usb/gadget/udc/s3c-hsudc.c 	sys_status = readl(hsudc->regs + S3C_SSR);
regs             1077 drivers/usb/gadget/udc/s3c-hsudc.c 	ep_intr = readl(hsudc->regs + S3C_EIR) & 0x3FF;
regs             1086 drivers/usb/gadget/udc/s3c-hsudc.c 			writel(S3C_SSR_VBUSON, hsudc->regs + S3C_SSR);
regs             1089 drivers/usb/gadget/udc/s3c-hsudc.c 			writel(S3C_SSR_ERR, hsudc->regs + S3C_SSR);
regs             1092 drivers/usb/gadget/udc/s3c-hsudc.c 			writel(S3C_SSR_SDE, hsudc->regs + S3C_SSR);
regs             1098 drivers/usb/gadget/udc/s3c-hsudc.c 			writel(S3C_SSR_SUSPEND, hsudc->regs + S3C_SSR);
regs             1105 drivers/usb/gadget/udc/s3c-hsudc.c 			writel(S3C_SSR_RESUME, hsudc->regs + S3C_SSR);
regs             1112 drivers/usb/gadget/udc/s3c-hsudc.c 			writel(S3C_SSR_RESET, hsudc->regs + S3C_SSR);
regs             1124 drivers/usb/gadget/udc/s3c-hsudc.c 		writel(S3C_EIR_EP0, hsudc->regs + S3C_EIR);
regs             1135 drivers/usb/gadget/udc/s3c-hsudc.c 			writel(1 << ep_idx, hsudc->regs + S3C_EIR);
regs             1235 drivers/usb/gadget/udc/s3c-hsudc.c 	return readl(hsudc->regs + S3C_FNR) & 0x3FF;
regs             1295 drivers/usb/gadget/udc/s3c-hsudc.c 	hsudc->regs = devm_ioremap_resource(&pdev->dev, res);
regs             1296 drivers/usb/gadget/udc/s3c-hsudc.c 	if (IS_ERR(hsudc->regs)) {
regs             1297 drivers/usb/gadget/udc/s3c-hsudc.c 		ret = PTR_ERR(hsudc->regs);
regs              193 drivers/usb/gadget/udc/snps_udc_core.c 	DBG(dev, "dev config     = %08x\n", readl(&dev->regs->cfg));
regs              194 drivers/usb/gadget/udc/snps_udc_core.c 	DBG(dev, "dev control    = %08x\n", readl(&dev->regs->ctl));
regs              195 drivers/usb/gadget/udc/snps_udc_core.c 	DBG(dev, "dev status     = %08x\n", readl(&dev->regs->sts));
regs              197 drivers/usb/gadget/udc/snps_udc_core.c 	DBG(dev, "dev int's      = %08x\n", readl(&dev->regs->irqsts));
regs              198 drivers/usb/gadget/udc/snps_udc_core.c 	DBG(dev, "dev intmask    = %08x\n", readl(&dev->regs->irqmsk));
regs              200 drivers/usb/gadget/udc/snps_udc_core.c 	DBG(dev, "dev ep int's   = %08x\n", readl(&dev->regs->ep_irqsts));
regs              201 drivers/usb/gadget/udc/snps_udc_core.c 	DBG(dev, "dev ep intmask = %08x\n", readl(&dev->regs->ep_irqmsk));
regs              236 drivers/usb/gadget/udc/snps_udc_core.c 	writel(tmp, &dev->regs->irqmsk);
regs              239 drivers/usb/gadget/udc/snps_udc_core.c 	writel(UDC_EPINT_MSK_DISABLE_ALL, &dev->regs->ep_irqmsk);
regs              253 drivers/usb/gadget/udc/snps_udc_core.c 	tmp = readl(&dev->regs->ep_irqmsk);
regs              257 drivers/usb/gadget/udc/snps_udc_core.c 	writel(tmp, &dev->regs->ep_irqmsk);
regs              270 drivers/usb/gadget/udc/snps_udc_core.c 	tmp = readl(&dev->regs->irqmsk);
regs              278 drivers/usb/gadget/udc/snps_udc_core.c 	writel(tmp, &dev->regs->irqmsk);
regs              299 drivers/usb/gadget/udc/snps_udc_core.c 		if (dev->ep[i].regs) {
regs              301 drivers/usb/gadget/udc/snps_udc_core.c 			tmp = readl(&dev->ep[i].regs->bufin_framenum);
regs              314 drivers/usb/gadget/udc/snps_udc_core.c 	if (readl(&ep->regs->ctl) & AMD_BIT(UDC_EPCTL_NAK)) {
regs              354 drivers/usb/gadget/udc/snps_udc_core.c 	tmp = readl(&dev->ep[ep->num].regs->ctl);
regs              356 drivers/usb/gadget/udc/snps_udc_core.c 	writel(tmp, &dev->ep[ep->num].regs->ctl);
regs              360 drivers/usb/gadget/udc/snps_udc_core.c 	tmp = readl(&dev->ep[ep->num].regs->bufout_maxpkt);
regs              363 drivers/usb/gadget/udc/snps_udc_core.c 	writel(tmp, &dev->ep[ep->num].regs->bufout_maxpkt);
regs              372 drivers/usb/gadget/udc/snps_udc_core.c 		tmp = readl(&dev->ep[ep->num].regs->bufin_framenum);
regs              379 drivers/usb/gadget/udc/snps_udc_core.c 		writel(tmp, &dev->ep[ep->num].regs->bufin_framenum);
regs              385 drivers/usb/gadget/udc/snps_udc_core.c 		tmp = readl(&ep->regs->ctl);
regs              387 drivers/usb/gadget/udc/snps_udc_core.c 		writel(tmp, &ep->regs->ctl);
regs              430 drivers/usb/gadget/udc/snps_udc_core.c 	tmp = readl(&dev->regs->ep_irqmsk);
regs              432 drivers/usb/gadget/udc/snps_udc_core.c 	writel(tmp, &dev->regs->ep_irqmsk);
regs              439 drivers/usb/gadget/udc/snps_udc_core.c 		tmp = readl(&ep->regs->ctl);
regs              441 drivers/usb/gadget/udc/snps_udc_core.c 		writel(tmp, &ep->regs->ctl);
regs              453 drivers/usb/gadget/udc/snps_udc_core.c static void ep_init(struct udc_regs __iomem *regs, struct udc_ep *ep)
regs              464 drivers/usb/gadget/udc/snps_udc_core.c 	tmp = readl(&ep->regs->ctl);
regs              466 drivers/usb/gadget/udc/snps_udc_core.c 	writel(tmp, &ep->regs->ctl);
regs              470 drivers/usb/gadget/udc/snps_udc_core.c 	tmp = readl(&regs->ep_irqmsk);
regs              472 drivers/usb/gadget/udc/snps_udc_core.c 	writel(tmp, &regs->ep_irqmsk);
regs              476 drivers/usb/gadget/udc/snps_udc_core.c 		tmp = readl(&ep->regs->ctl);
regs              478 drivers/usb/gadget/udc/snps_udc_core.c 		writel(tmp, &ep->regs->ctl);
regs              480 drivers/usb/gadget/udc/snps_udc_core.c 		tmp = readl(&ep->regs->sts);
regs              482 drivers/usb/gadget/udc/snps_udc_core.c 		writel(tmp, &ep->regs->sts);
regs              485 drivers/usb/gadget/udc/snps_udc_core.c 		tmp = readl(&ep->regs->ctl);
regs              487 drivers/usb/gadget/udc/snps_udc_core.c 		writel(tmp, &ep->regs->ctl);
regs              491 drivers/usb/gadget/udc/snps_udc_core.c 	writel(0, &ep->regs->desptr);
regs              512 drivers/usb/gadget/udc/snps_udc_core.c 	ep_init(ep->dev->regs, ep);
regs              682 drivers/usb/gadget/udc/snps_udc_core.c 	writel(0, &ep->regs->confirm);
regs              731 drivers/usb/gadget/udc/snps_udc_core.c 	bytes = readl(&ep->regs->sts);
regs              952 drivers/usb/gadget/udc/snps_udc_core.c 			tmp = readl(&ep->regs->ctl);
regs              954 drivers/usb/gadget/udc/snps_udc_core.c 			writel(tmp, &ep->regs->ctl);
regs             1047 drivers/usb/gadget/udc/snps_udc_core.c 	tmp = readl(&dev->regs->ctl);
regs             1049 drivers/usb/gadget/udc/snps_udc_core.c 	writel(tmp, &dev->regs->ctl);
regs             1110 drivers/usb/gadget/udc/snps_udc_core.c 				tmp = readl(&dev->regs->ctl);
regs             1112 drivers/usb/gadget/udc/snps_udc_core.c 				writel(tmp, &dev->regs->ctl);
regs             1118 drivers/usb/gadget/udc/snps_udc_core.c 				tmp = readl(&dev->ep[UDC_EP0IN_IX].regs->ctl);
regs             1120 drivers/usb/gadget/udc/snps_udc_core.c 				writel(tmp, &dev->ep[UDC_EP0IN_IX].regs->ctl);
regs             1149 drivers/usb/gadget/udc/snps_udc_core.c 				tmp = readl(&dev->regs->ctl);
regs             1151 drivers/usb/gadget/udc/snps_udc_core.c 				writel(tmp, &dev->regs->ctl);
regs             1166 drivers/usb/gadget/udc/snps_udc_core.c 			writel(req->td_phys, &ep->regs->desptr);
regs             1170 drivers/usb/gadget/udc/snps_udc_core.c 				tmp = readl(&ep->regs->ctl);
regs             1172 drivers/usb/gadget/udc/snps_udc_core.c 				writel(tmp, &ep->regs->ctl);
regs             1179 drivers/usb/gadget/udc/snps_udc_core.c 				tmp = readl(&dev->regs->ep_irqmsk);
regs             1181 drivers/usb/gadget/udc/snps_udc_core.c 				writel(tmp, &dev->regs->ep_irqmsk);
regs             1185 drivers/usb/gadget/udc/snps_udc_core.c 				tmp = readl(&dev->regs->ep_irqmsk);
regs             1187 drivers/usb/gadget/udc/snps_udc_core.c 				writel(tmp, &dev->regs->ep_irqmsk);
regs             1282 drivers/usb/gadget/udc/snps_udc_core.c 				tmp = readl(&udc->regs->ctl);
regs             1284 drivers/usb/gadget/udc/snps_udc_core.c 							&udc->regs->ctl);
regs             1296 drivers/usb/gadget/udc/snps_udc_core.c 						&ep->regs->desptr);
regs             1298 drivers/usb/gadget/udc/snps_udc_core.c 				writel(tmp, &udc->regs->ctl);
regs             1339 drivers/usb/gadget/udc/snps_udc_core.c 			tmp = readl(&ep->regs->ctl);
regs             1341 drivers/usb/gadget/udc/snps_udc_core.c 			writel(tmp, &ep->regs->ctl);
regs             1358 drivers/usb/gadget/udc/snps_udc_core.c 			tmp = readl(&ep->regs->ctl);
regs             1363 drivers/usb/gadget/udc/snps_udc_core.c 			writel(tmp, &ep->regs->ctl);
regs             1405 drivers/usb/gadget/udc/snps_udc_core.c 	tmp = readl(&dev->regs->ctl);
regs             1407 drivers/usb/gadget/udc/snps_udc_core.c 	writel(tmp, &dev->regs->ctl);
regs             1409 drivers/usb/gadget/udc/snps_udc_core.c 	writel(tmp, &dev->regs->ctl);
regs             1478 drivers/usb/gadget/udc/snps_udc_core.c 	tmp = readl(&dev->regs->ctl);
regs             1481 drivers/usb/gadget/udc/snps_udc_core.c 	writel(tmp, &dev->regs->ctl);
regs             1484 drivers/usb/gadget/udc/snps_udc_core.c 	tmp = readl(&dev->regs->cfg);
regs             1490 drivers/usb/gadget/udc/snps_udc_core.c 	writel(tmp, &dev->regs->cfg);
regs             1516 drivers/usb/gadget/udc/snps_udc_core.c 	tmp = readl(&dev->regs->cfg);
regs             1521 drivers/usb/gadget/udc/snps_udc_core.c 	writel(tmp, &dev->regs->cfg);
regs             1536 drivers/usb/gadget/udc/snps_udc_core.c 	tmp = readl(&dev->regs->sts);
regs             1562 drivers/usb/gadget/udc/snps_udc_core.c 		ep->regs = &dev->ep_regs[tmp];
regs             1569 drivers/usb/gadget/udc/snps_udc_core.c 			ep_init(dev->regs, ep);
regs             1577 drivers/usb/gadget/udc/snps_udc_core.c 			ep->dma = &dev->regs->ctl;
regs             1583 drivers/usb/gadget/udc/snps_udc_core.c 				reg = readl(&dev->ep[tmp].regs->ctl);
regs             1585 drivers/usb/gadget/udc/snps_udc_core.c 				writel(reg, &dev->ep[tmp].regs->ctl);
regs             1682 drivers/usb/gadget/udc/snps_udc_core.c 	ep_init(dev->regs,
regs             1696 drivers/usb/gadget/udc/snps_udc_core.c 		tmp = readl(&dev->regs->cfg);
regs             1698 drivers/usb/gadget/udc/snps_udc_core.c 		writel(tmp, &dev->regs->cfg);
regs             1715 drivers/usb/gadget/udc/snps_udc_core.c 	writel(UDC_EPINT_MSK_DISABLE_ALL, &dev->regs->ep_irqsts);
regs             1717 drivers/usb/gadget/udc/snps_udc_core.c 	writel(UDC_DEV_MSK_DISABLE, &dev->regs->irqsts);
regs             1724 drivers/usb/gadget/udc/snps_udc_core.c 		writel(AMD_BIT(UDC_DEVCFG_SOFTRESET), &dev->regs->cfg);
regs             1725 drivers/usb/gadget/udc/snps_udc_core.c 		readl(&dev->regs->cfg);
regs             1744 drivers/usb/gadget/udc/snps_udc_core.c 			tmp = readl(&udc->regs->ctl);
regs             1746 drivers/usb/gadget/udc/snps_udc_core.c 			writel(tmp, &udc->regs->ctl);
regs             1748 drivers/usb/gadget/udc/snps_udc_core.c 		} else if (readl(&udc->regs->sts)
regs             1786 drivers/usb/gadget/udc/snps_udc_core.c 		tmp = readl(&ep->regs->ctl);
regs             1803 drivers/usb/gadget/udc/snps_udc_core.c 			writel(tmp, &ep->regs->ctl);
regs             1852 drivers/usb/gadget/udc/snps_udc_core.c 	tmp = readl(&dev->ep[UDC_EP0IN_IX].regs->ctl);
regs             1854 drivers/usb/gadget/udc/snps_udc_core.c 	writel(tmp, &dev->ep[UDC_EP0IN_IX].regs->ctl);
regs             1861 drivers/usb/gadget/udc/snps_udc_core.c 	tmp = readl(&dev->ep[UDC_EP0IN_IX].regs->bufin_framenum);
regs             1868 drivers/usb/gadget/udc/snps_udc_core.c 	writel(tmp, &dev->ep[UDC_EP0IN_IX].regs->bufin_framenum);
regs             1871 drivers/usb/gadget/udc/snps_udc_core.c 	tmp = readl(&dev->ep[UDC_EP0IN_IX].regs->bufout_maxpkt);
regs             1878 drivers/usb/gadget/udc/snps_udc_core.c 	writel(tmp, &dev->ep[UDC_EP0IN_IX].regs->bufout_maxpkt);
regs             1881 drivers/usb/gadget/udc/snps_udc_core.c 	tmp = readl(&dev->ep[UDC_EP0OUT_IX].regs->bufout_maxpkt);
regs             1888 drivers/usb/gadget/udc/snps_udc_core.c 	writel(tmp, &dev->ep[UDC_EP0OUT_IX].regs->bufout_maxpkt);
regs             1905 drivers/usb/gadget/udc/snps_udc_core.c 			&dev->ep[UDC_EP0OUT_IX].regs->subptr);
regs             1907 drivers/usb/gadget/udc/snps_udc_core.c 			&dev->ep[UDC_EP0OUT_IX].regs->desptr);
regs             1917 drivers/usb/gadget/udc/snps_udc_core.c 		tmp = readl(&dev->regs->ctl);
regs             1925 drivers/usb/gadget/udc/snps_udc_core.c 		writel(tmp, &dev->regs->ctl);
regs             1929 drivers/usb/gadget/udc/snps_udc_core.c 	tmp = readl(&dev->ep[UDC_EP0IN_IX].regs->ctl);
regs             1931 drivers/usb/gadget/udc/snps_udc_core.c 	writel(tmp, &dev->ep[UDC_EP0IN_IX].regs->ctl);
regs             1936 drivers/usb/gadget/udc/snps_udc_core.c 	tmp = readl(&dev->ep[UDC_EP0OUT_IX].regs->ctl);
regs             1938 drivers/usb/gadget/udc/snps_udc_core.c 	writel(tmp, &dev->ep[UDC_EP0OUT_IX].regs->ctl);
regs             1975 drivers/usb/gadget/udc/snps_udc_core.c 	tmp = readl(&dev->regs->ctl);
regs             1977 drivers/usb/gadget/udc/snps_udc_core.c 	writel(tmp, &dev->regs->ctl);
regs             2016 drivers/usb/gadget/udc/snps_udc_core.c 	tmp = readl(&dev->regs->ctl);
regs             2018 drivers/usb/gadget/udc/snps_udc_core.c 	writel(tmp, &dev->regs->ctl);
regs             2035 drivers/usb/gadget/udc/snps_udc_core.c 			reg = readl(&dev->ep[tmp].regs->ctl);
regs             2037 drivers/usb/gadget/udc/snps_udc_core.c 			writel(reg, &dev->ep[tmp].regs->ctl);
regs             2046 drivers/usb/gadget/udc/snps_udc_core.c 		reg = readl(&dev->ep[UDC_EP0OUT_IX].regs->ctl);
regs             2048 drivers/usb/gadget/udc/snps_udc_core.c 		writel(reg, &dev->ep[UDC_EP0OUT_IX].regs->ctl);
regs             2096 drivers/usb/gadget/udc/snps_udc_core.c 	tmp = readl(&ep->regs->sts);
regs             2101 drivers/usb/gadget/udc/snps_udc_core.c 					ep->num, readl(&ep->regs->desptr));
regs             2103 drivers/usb/gadget/udc/snps_udc_core.c 			writel(tmp | AMD_BIT(UDC_EPSTS_BNA), &ep->regs->sts);
regs             2117 drivers/usb/gadget/udc/snps_udc_core.c 		writel(tmp | AMD_BIT(UDC_EPSTS_HE), &ep->regs->sts);
regs             2235 drivers/usb/gadget/udc/snps_udc_core.c 						&ep->regs->desptr);
regs             2248 drivers/usb/gadget/udc/snps_udc_core.c 						&ep->regs->desptr);
regs             2286 drivers/usb/gadget/udc/snps_udc_core.c 		if (readl(&dev->regs->sts) & AMD_BIT(UDC_DEVSTS_RXFIFO_EMPTY))
regs             2291 drivers/usb/gadget/udc/snps_udc_core.c 	writel(UDC_EPSTS_OUT_CLEAR, &ep->regs->sts);
regs             2309 drivers/usb/gadget/udc/snps_udc_core.c 	epsts = readl(&ep->regs->sts);
regs             2316 drivers/usb/gadget/udc/snps_udc_core.c 				(unsigned long) readl(&ep->regs->desptr));
regs             2319 drivers/usb/gadget/udc/snps_udc_core.c 			writel(epsts, &ep->regs->sts);
regs             2328 drivers/usb/gadget/udc/snps_udc_core.c 			ep->num, (unsigned long) readl(&ep->regs->desptr));
regs             2331 drivers/usb/gadget/udc/snps_udc_core.c 		writel(epsts | AMD_BIT(UDC_EPSTS_HE), &ep->regs->sts);
regs             2363 drivers/usb/gadget/udc/snps_udc_core.c 					tmp = readl(&dev->regs->ep_irqmsk);
regs             2365 drivers/usb/gadget/udc/snps_udc_core.c 					writel(tmp, &dev->regs->ep_irqmsk);
regs             2416 drivers/usb/gadget/udc/snps_udc_core.c 					writel(req->td_phys, &ep->regs->desptr);
regs             2426 drivers/usb/gadget/udc/snps_udc_core.c 					tmp = readl(&ep->regs->ctl);
regs             2428 drivers/usb/gadget/udc/snps_udc_core.c 					writel(tmp, &ep->regs->ctl);
regs             2435 drivers/usb/gadget/udc/snps_udc_core.c 				&dev->regs->ep_irqmsk);
regs             2438 drivers/usb/gadget/udc/snps_udc_core.c 				&dev->regs->ep_irqmsk);
regs             2442 drivers/usb/gadget/udc/snps_udc_core.c 	writel(epsts, &ep->regs->sts);
regs             2465 drivers/usb/gadget/udc/snps_udc_core.c 	writel(AMD_BIT(UDC_EPINT_OUT_EP0), &dev->regs->ep_irqsts);
regs             2467 drivers/usb/gadget/udc/snps_udc_core.c 	tmp = readl(&dev->ep[UDC_EP0OUT_IX].regs->sts);
regs             2472 drivers/usb/gadget/udc/snps_udc_core.c 			&dev->ep[UDC_EP0OUT_IX].regs->sts);
regs             2490 drivers/usb/gadget/udc/snps_udc_core.c 		tmp = readl(&dev->ep[UDC_EP0IN_IX].regs->ctl);
regs             2492 drivers/usb/gadget/udc/snps_udc_core.c 		writel(tmp, &dev->ep[UDC_EP0IN_IX].regs->ctl);
regs             2499 drivers/usb/gadget/udc/snps_udc_core.c 				&dev->ep[UDC_EP0OUT_IX].regs->sts);
regs             2528 drivers/usb/gadget/udc/snps_udc_core.c 					&dev->ep[UDC_EP0OUT_IX].regs->desptr);
regs             2572 drivers/usb/gadget/udc/snps_udc_core.c 		tmp = readl(&dev->ep[UDC_EP0IN_IX].regs->ctl);
regs             2578 drivers/usb/gadget/udc/snps_udc_core.c 			writel(tmp, &dev->ep[UDC_EP0IN_IX].regs->ctl);
regs             2585 drivers/usb/gadget/udc/snps_udc_core.c 			writel(tmp, &dev->ep[UDC_EP0IN_IX].regs->ctl);
regs             2592 drivers/usb/gadget/udc/snps_udc_core.c 			tmp = readl(&dev->ep[UDC_EP0OUT_IX].regs->ctl);
regs             2594 drivers/usb/gadget/udc/snps_udc_core.c 			writel(tmp, &dev->ep[UDC_EP0OUT_IX].regs->ctl);
regs             2602 drivers/usb/gadget/udc/snps_udc_core.c 				&dev->ep[UDC_EP0OUT_IX].regs->sts);
regs             2608 drivers/usb/gadget/udc/snps_udc_core.c 		writel(UDC_EPSTS_OUT_CLEAR, &dev->ep[UDC_EP0OUT_IX].regs->sts);
regs             2631 drivers/usb/gadget/udc/snps_udc_core.c 					&dev->ep[UDC_EP0OUT_IX].regs->desptr);
regs             2638 drivers/usb/gadget/udc/snps_udc_core.c 			count = readl(&dev->ep[UDC_EP0OUT_IX].regs->sts);
regs             2648 drivers/usb/gadget/udc/snps_udc_core.c 				readl(&dev->ep[UDC_EP0OUT_IX].regs->confirm);
regs             2657 drivers/usb/gadget/udc/snps_udc_core.c 		if (readl(&dev->regs->sts) & AMD_BIT(UDC_DEVSTS_RXFIFO_EMPTY))
regs             2677 drivers/usb/gadget/udc/snps_udc_core.c 	writel(AMD_BIT(UDC_EPINT_IN_EP0), &dev->regs->ep_irqsts);
regs             2679 drivers/usb/gadget/udc/snps_udc_core.c 	tmp = readl(&dev->ep[UDC_EP0IN_IX].regs->sts);
regs             2687 drivers/usb/gadget/udc/snps_udc_core.c 				&dev->ep[UDC_EP0IN_IX].regs->sts);
regs             2696 drivers/usb/gadget/udc/snps_udc_core.c 				&dev->ep[UDC_EP0IN_IX].regs->sts);
regs             2701 drivers/usb/gadget/udc/snps_udc_core.c 			tmp = readl(&ep->regs->ctl);
regs             2703 drivers/usb/gadget/udc/snps_udc_core.c 			writel(tmp, &ep->regs->ctl);
regs             2712 drivers/usb/gadget/udc/snps_udc_core.c 					writel(req->td_phys, &ep->regs->desptr);
regs             2722 drivers/usb/gadget/udc/snps_udc_core.c 					readl(&dev->ep[UDC_EP0IN_IX].regs->ctl);
regs             2725 drivers/usb/gadget/udc/snps_udc_core.c 					&dev->ep[UDC_EP0IN_IX].regs->ctl);
regs             2757 drivers/usb/gadget/udc/snps_udc_core.c 				&dev->ep[UDC_EP0IN_IX].regs->sts);
regs             2782 drivers/usb/gadget/udc/snps_udc_core.c 		tmp = readl(&dev->regs->sts);
regs             2817 drivers/usb/gadget/udc/snps_udc_core.c 			tmp = readl(&ep->regs->ctl);
regs             2819 drivers/usb/gadget/udc/snps_udc_core.c 			writel(tmp, &ep->regs->ctl);
regs             2832 drivers/usb/gadget/udc/snps_udc_core.c 		tmp = readl(&dev->regs->sts);
regs             2876 drivers/usb/gadget/udc/snps_udc_core.c 			tmp = readl(&ep->regs->ctl);
regs             2878 drivers/usb/gadget/udc/snps_udc_core.c 			writel(tmp, &ep->regs->ctl);
regs             2911 drivers/usb/gadget/udc/snps_udc_core.c 		ep_init(dev->regs, &dev->ep[UDC_EP0IN_IX]);
regs             2914 drivers/usb/gadget/udc/snps_udc_core.c 		tmp = readl(&dev->regs->sts);
regs             2927 drivers/usb/gadget/udc/snps_udc_core.c 		tmp = readl(&dev->regs->cfg);
regs             2928 drivers/usb/gadget/udc/snps_udc_core.c 		writel(tmp | AMD_BIT(UDC_DEVCFG_DMARST), &dev->regs->cfg);
regs             2929 drivers/usb/gadget/udc/snps_udc_core.c 		writel(tmp, &dev->regs->cfg);
regs             2938 drivers/usb/gadget/udc/snps_udc_core.c 		tmp = readl(&dev->regs->irqmsk);
regs             2940 drivers/usb/gadget/udc/snps_udc_core.c 		writel(tmp, &dev->regs->irqmsk);
regs             2960 drivers/usb/gadget/udc/snps_udc_core.c 		ep_init(dev->regs, &dev->ep[UDC_EP0IN_IX]);
regs             2979 drivers/usb/gadget/udc/snps_udc_core.c 		tmp = readl(&dev->regs->sts);
regs             2982 drivers/usb/gadget/udc/snps_udc_core.c 			tmp = readl(&dev->regs->irqmsk);
regs             2984 drivers/usb/gadget/udc/snps_udc_core.c 			writel(tmp, &dev->regs->irqmsk);
regs             3007 drivers/usb/gadget/udc/snps_udc_core.c 	reg = readl(&dev->regs->ep_irqsts);
regs             3024 drivers/usb/gadget/udc/snps_udc_core.c 			writel(ep_irq, &dev->regs->ep_irqsts);
regs             3037 drivers/usb/gadget/udc/snps_udc_core.c 	reg = readl(&dev->regs->irqsts);
regs             3040 drivers/usb/gadget/udc/snps_udc_core.c 		writel(reg, &dev->regs->irqsts);
regs             3111 drivers/usb/gadget/udc/snps_udc_core.c 	dev->ep[UDC_EP0IN_IX].dma = &dev->regs->ctl;
regs             3203 drivers/usb/gadget/udc/snps_udc_core.c 	reg = readl(&dev->regs->ctl);
regs             3205 drivers/usb/gadget/udc/snps_udc_core.c 	writel(reg, &dev->regs->ctl);
regs               41 drivers/usb/gadget/udc/snps_udc_plat.c 	reg = readl(&udc->regs->ctl);
regs               43 drivers/usb/gadget/udc/snps_udc_plat.c 	writel(reg, &udc->regs->ctl);
regs               45 drivers/usb/gadget/udc/snps_udc_plat.c 	reg = readl(&udc->regs->ctl);
regs               47 drivers/usb/gadget/udc/snps_udc_plat.c 	writel(reg, &udc->regs->ctl);
regs              117 drivers/usb/gadget/udc/snps_udc_plat.c 	if (IS_ERR(udc->regs))
regs              118 drivers/usb/gadget/udc/snps_udc_plat.c 		return PTR_ERR(udc->regs);
regs              124 drivers/usb/gadget/udc/snps_udc_plat.c 	udc->regs = udc->virt_addr + UDC_DEVCFG_ADDR;
regs              123 drivers/usb/host/ehci-atmel.c 	hcd->regs = devm_ioremap_resource(&pdev->dev, res);
regs              124 drivers/usb/host/ehci-atmel.c 	if (IS_ERR(hcd->regs)) {
regs              125 drivers/usb/host/ehci-atmel.c 		retval = PTR_ERR(hcd->regs);
regs              148 drivers/usb/host/ehci-atmel.c 	ehci->caps = hcd->regs;
regs              848 drivers/usb/host/ehci-dbg.c 			ehci_readl(ehci, &ehci->regs->status));
regs              854 drivers/usb/host/ehci-dbg.c 			ehci_readl(ehci, &ehci->regs->command));
regs              860 drivers/usb/host/ehci-dbg.c 			ehci_readl(ehci, &ehci->regs->intr_enable));
regs              873 drivers/usb/host/ehci-dbg.c 					&ehci->regs->port_status[i - 1]));
regs              196 drivers/usb/host/ehci-exynos.c 	hcd->regs = devm_ioremap_resource(&pdev->dev, res);
regs              197 drivers/usb/host/ehci-exynos.c 	if (IS_ERR(hcd->regs)) {
regs              198 drivers/usb/host/ehci-exynos.c 		err = PTR_ERR(hcd->regs);
regs              219 drivers/usb/host/ehci-exynos.c 	ehci->caps = hcd->regs;
regs              230 drivers/usb/host/ehci-exynos.c 	writel(EHCI_INSNREG00_ENABLE_DMA_BURST, EHCI_INSNREG00(hcd->regs));
regs              309 drivers/usb/host/ehci-exynos.c 	writel(EHCI_INSNREG00_ENABLE_DMA_BURST, EHCI_INSNREG00(hcd->regs));
regs               96 drivers/usb/host/ehci-fsl.c 	hcd->regs = devm_ioremap_resource(&pdev->dev, res);
regs               97 drivers/usb/host/ehci-fsl.c 	if (IS_ERR(hcd->regs)) {
regs               98 drivers/usb/host/ehci-fsl.c 		retval = PTR_ERR(hcd->regs);
regs              105 drivers/usb/host/ehci-fsl.c 	pdata->regs = hcd->regs;
regs              120 drivers/usb/host/ehci-fsl.c 		tmp = ioread32be(hcd->regs + FSL_SOC_USB_CTRL);
regs              123 drivers/usb/host/ehci-fsl.c 		iowrite32be(tmp, hcd->regs + FSL_SOC_USB_CTRL);
regs              129 drivers/usb/host/ehci-fsl.c 		iowrite32be(USB_CTRL_USB_EN, hcd->regs + FSL_SOC_USB_CTRL);
regs              136 drivers/usb/host/ehci-fsl.c 		tmp = ioread32be(hcd->regs + FSL_SOC_USB_CTRL);
regs              139 drivers/usb/host/ehci-fsl.c 		iowrite32be(tmp, hcd->regs + FSL_SOC_USB_CTRL);
regs              141 drivers/usb/host/ehci-fsl.c 		writel(PORT_PTS_UTMI, hcd->regs + FSL_SOC_USB_PORTSC1);
regs              188 drivers/usb/host/ehci-fsl.c 	void __iomem *non_ehci = hcd->regs;
regs              203 drivers/usb/host/ehci-fsl.c 	void __iomem *non_ehci = hcd->regs;
regs              212 drivers/usb/host/ehci-fsl.c 	portsc = ehci_readl(ehci, &ehci->regs->port_status[port_offset]);
regs              289 drivers/usb/host/ehci-fsl.c 	ehci_writel(ehci, portsc, &ehci->regs->port_status[port_offset]);
regs              305 drivers/usb/host/ehci-fsl.c 	void __iomem *non_ehci = hcd->regs;
regs              388 drivers/usb/host/ehci-fsl.c 	ehci->caps = hcd->regs + 0x100;
regs              412 drivers/usb/host/ehci-fsl.c 			    hcd->regs + FSL_SOC_USB_SBUSCFG);
regs              439 drivers/usb/host/ehci-fsl.c 	u32 mode = ehci_readl(ehci, hcd->regs + FSL_SOC_USB_USBMODE);
regs              441 drivers/usb/host/ehci-fsl.c 	tmp = ehci_readl(ehci, hcd->regs + 0x140);	/* usbcmd */
regs              468 drivers/usb/host/ehci-fsl.c 	tmp = ehci_readl(ehci, &ehci->regs->command);
regs              470 drivers/usb/host/ehci-fsl.c 	ehci_writel(ehci, tmp, &ehci->regs->command);
regs              473 drivers/usb/host/ehci-fsl.c 	pdata->pm_command = ehci_readl(ehci, &ehci->regs->command);
regs              475 drivers/usb/host/ehci-fsl.c 	pdata->pm_status  = ehci_readl(ehci, &ehci->regs->status);
regs              476 drivers/usb/host/ehci-fsl.c 	pdata->pm_intr_enable  = ehci_readl(ehci, &ehci->regs->intr_enable);
regs              477 drivers/usb/host/ehci-fsl.c 	pdata->pm_frame_index  = ehci_readl(ehci, &ehci->regs->frame_index);
regs              478 drivers/usb/host/ehci-fsl.c 	pdata->pm_segment  = ehci_readl(ehci, &ehci->regs->segment);
regs              479 drivers/usb/host/ehci-fsl.c 	pdata->pm_frame_list  = ehci_readl(ehci, &ehci->regs->frame_list);
regs              480 drivers/usb/host/ehci-fsl.c 	pdata->pm_async_next  = ehci_readl(ehci, &ehci->regs->async_next);
regs              482 drivers/usb/host/ehci-fsl.c 		ehci_readl(ehci, &ehci->regs->configured_flag);
regs              483 drivers/usb/host/ehci-fsl.c 	pdata->pm_portsc = ehci_readl(ehci, &ehci->regs->port_status[0]);
regs              485 drivers/usb/host/ehci-fsl.c 					  hcd->regs + FSL_SOC_USB_USBGENCTRL);
regs              493 drivers/usb/host/ehci-fsl.c 	tmp = ehci_readl(ehci, &ehci->regs->port_status[0]);
regs              495 drivers/usb/host/ehci-fsl.c 	ehci_writel(ehci, tmp, &ehci->regs->port_status[0]);
regs              531 drivers/usb/host/ehci-fsl.c 	ehci_writel(ehci, tmp, hcd->regs + FSL_SOC_USB_USBMODE);
regs              534 drivers/usb/host/ehci-fsl.c 		    hcd->regs + FSL_SOC_USB_USBGENCTRL);
regs              536 drivers/usb/host/ehci-fsl.c 		    hcd->regs + FSL_SOC_USB_ISIPHYCTRL);
regs              538 drivers/usb/host/ehci-fsl.c 	ehci_writel(ehci, SBUSCFG_INCR8, hcd->regs + FSL_SOC_USB_SBUSCFG);
regs              541 drivers/usb/host/ehci-fsl.c 	ehci_writel(ehci, pdata->pm_command, &ehci->regs->command);
regs              542 drivers/usb/host/ehci-fsl.c 	ehci_writel(ehci, pdata->pm_intr_enable, &ehci->regs->intr_enable);
regs              543 drivers/usb/host/ehci-fsl.c 	ehci_writel(ehci, pdata->pm_frame_index, &ehci->regs->frame_index);
regs              544 drivers/usb/host/ehci-fsl.c 	ehci_writel(ehci, pdata->pm_segment, &ehci->regs->segment);
regs              545 drivers/usb/host/ehci-fsl.c 	ehci_writel(ehci, pdata->pm_frame_list, &ehci->regs->frame_list);
regs              546 drivers/usb/host/ehci-fsl.c 	ehci_writel(ehci, pdata->pm_async_next, &ehci->regs->async_next);
regs              548 drivers/usb/host/ehci-fsl.c 		    &ehci->regs->configured_flag);
regs              549 drivers/usb/host/ehci-fsl.c 	ehci_writel(ehci, pdata->pm_portsc, &ehci->regs->port_status[0]);
regs              555 drivers/usb/host/ehci-fsl.c 	tmp = ehci_readl(ehci, &ehci->regs->command);
regs              557 drivers/usb/host/ehci-fsl.c 	ehci_writel(ehci, tmp, &ehci->regs->command);
regs              586 drivers/usb/host/ehci-fsl.c 	void __iomem *non_ehci = hcd->regs;
regs              607 drivers/usb/host/ehci-fsl.c 	void __iomem *non_ehci = hcd->regs;
regs              660 drivers/usb/host/ehci-fsl.c 	status = readl(&ehci->regs->port_status[port]);
regs              668 drivers/usb/host/ehci-fsl.c 		       &ehci->regs->port_status[port]);
regs              670 drivers/usb/host/ehci-fsl.c 		writel(PORT_RESET, &ehci->regs->port_status[port]);
regs              109 drivers/usb/host/ehci-grlib.c 	hcd->regs = devm_ioremap_resource(&op->dev, &res);
regs              110 drivers/usb/host/ehci-grlib.c 	if (IS_ERR(hcd->regs)) {
regs              111 drivers/usb/host/ehci-grlib.c 		rv = PTR_ERR(hcd->regs);
regs              117 drivers/usb/host/ehci-grlib.c 	ehci->caps = hcd->regs;
regs              113 drivers/usb/host/ehci-hcd.c 	uf = ehci_readl(ehci, &ehci->regs->frame_index);
regs              115 drivers/usb/host/ehci-hcd.c 		uf = ehci_readl(ehci, &ehci->regs->frame_index);
regs              123 drivers/usb/host/ehci-hcd.c 	return ehci_readl(ehci, &ehci->regs->frame_index);
regs              171 drivers/usb/host/ehci-hcd.c 	tmp = ehci_readl(ehci, &ehci->regs->usbmode);
regs              186 drivers/usb/host/ehci-hcd.c 	ehci_writel(ehci, 0, &ehci->regs->intr_enable);
regs              198 drivers/usb/host/ehci-hcd.c 	temp = ehci_readl(ehci, &ehci->regs->command);
regs              200 drivers/usb/host/ehci-hcd.c 	ehci_writel(ehci, temp, &ehci->regs->command);
regs              205 drivers/usb/host/ehci-hcd.c 	return ehci_handshake(ehci, &ehci->regs->status,
regs              214 drivers/usb/host/ehci-hcd.c 	tmp = ehci_readl(ehci, &ehci->regs->usbmode);
regs              222 drivers/usb/host/ehci-hcd.c 	ehci_writel(ehci, tmp, &ehci->regs->usbmode);
regs              232 drivers/usb/host/ehci-hcd.c 	u32	command = ehci_readl(ehci, &ehci->regs->command);
regs              241 drivers/usb/host/ehci-hcd.c 	ehci_writel(ehci, command, &ehci->regs->command);
regs              244 drivers/usb/host/ehci-hcd.c 	retval = ehci_handshake(ehci, &ehci->regs->command,
regs              249 drivers/usb/host/ehci-hcd.c 				&ehci->regs->usbmode_ex);
regs              250 drivers/usb/host/ehci-hcd.c 		ehci_writel(ehci, TXFIFO_DEFAULT, &ehci->regs->txfill_tuning);
regs              280 drivers/usb/host/ehci-hcd.c 	ehci_handshake(ehci, &ehci->regs->status, STS_ASS | STS_PSS, temp,
regs              286 drivers/usb/host/ehci-hcd.c 	ehci_writel(ehci, ehci->command, &ehci->regs->command);
regs              290 drivers/usb/host/ehci-hcd.c 	ehci_handshake(ehci, &ehci->regs->status, STS_ASS | STS_PSS, 0,
regs              326 drivers/usb/host/ehci-hcd.c 				&ehci->regs->port_status[port]);
regs              343 drivers/usb/host/ehci-hcd.c 	ehci_writel(ehci, 0, &ehci->regs->configured_flag);
regs              346 drivers/usb/host/ehci-hcd.c 	ehci_readl(ehci, &ehci->regs->configured_flag);
regs              448 drivers/usb/host/ehci-hcd.c 		    ehci_readl(ehci, &ehci->regs->status));
regs              581 drivers/usb/host/ehci-hcd.c 	ehci_writel(ehci, ehci->periodic_dma, &ehci->regs->frame_list);
regs              582 drivers/usb/host/ehci-hcd.c 	ehci_writel(ehci, (u32)ehci->async->qh_dma, &ehci->regs->async_next);
regs              598 drivers/usb/host/ehci-hcd.c 		ehci_writel(ehci, 0, &ehci->regs->segment);
regs              611 drivers/usb/host/ehci-hcd.c 	ehci_writel(ehci, ehci->command, &ehci->regs->command);
regs              630 drivers/usb/host/ehci-hcd.c 	ehci_writel(ehci, FLAG_CF, &ehci->regs->configured_flag);
regs              631 drivers/usb/host/ehci-hcd.c 	ehci_readl(ehci, &ehci->regs->command);	/* unblock posted writes */
regs              644 drivers/usb/host/ehci-hcd.c 		    &ehci->regs->intr_enable); /* Turn On Interrupts */
regs              661 drivers/usb/host/ehci-hcd.c 	ehci->regs = (void __iomem *)ehci->caps +
regs              705 drivers/usb/host/ehci-hcd.c 	status = ehci_readl(ehci, &ehci->regs->status);
regs              726 drivers/usb/host/ehci-hcd.c 	ehci_writel(ehci, masked_status, &ehci->regs->status);
regs              727 drivers/usb/host/ehci-hcd.c 	cmd = ehci_readl(ehci, &ehci->regs->command);
regs              786 drivers/usb/host/ehci-hcd.c 					 &ehci->regs->port_status[i]);
regs              822 drivers/usb/host/ehci-hcd.c 		ehci_writel(ehci, ehci->command, &ehci->regs->command);
regs              823 drivers/usb/host/ehci-hcd.c 		ehci_writel(ehci, 0, &ehci->regs->intr_enable);
regs             1099 drivers/usb/host/ehci-hcd.c 	ehci_writel(ehci, 0, &ehci->regs->intr_enable);
regs             1100 drivers/usb/host/ehci-hcd.c 	(void) ehci_readl(ehci, &ehci->regs->intr_enable);
regs             1136 drivers/usb/host/ehci-hcd.c 	if (ehci_readl(ehci, &ehci->regs->configured_flag) == FLAG_CF &&
regs             1148 drivers/usb/host/ehci-hcd.c 		ehci_writel(ehci, mask, &ehci->regs->intr_enable);
regs             1149 drivers/usb/host/ehci-hcd.c 		ehci_readl(ehci, &ehci->regs->intr_enable);
regs             1167 drivers/usb/host/ehci-hcd.c 	ehci_writel(ehci, ehci->command, &ehci->regs->command);
regs             1168 drivers/usb/host/ehci-hcd.c 	ehci_writel(ehci, FLAG_CF, &ehci->regs->configured_flag);
regs             1169 drivers/usb/host/ehci-hcd.c 	ehci_readl(ehci, &ehci->regs->command);	/* unblock posted writes */
regs               59 drivers/usb/host/ehci-hub.c 			reg = &ehci->regs->port_status[port];
regs               73 drivers/usb/host/ehci-hub.c 			reg = &ehci->regs->port_status[port];
regs              110 drivers/usb/host/ehci-hub.c 			reg = &ehci->regs->port_status[port];
regs              132 drivers/usb/host/ehci-hub.c 	if (ehci_readl(ehci, &ehci->regs->status) & STS_PCD)
regs              141 drivers/usb/host/ehci-hub.c 		if (ehci_readl(ehci, &ehci->regs->port_status[i]) & PORT_CSC)
regs              167 drivers/usb/host/ehci-hub.c 			u32 __iomem	*hostpc_reg = &ehci->regs->hostpc[port];
regs              179 drivers/usb/host/ehci-hub.c 		u32 __iomem	*reg = &ehci->regs->port_status[port];
regs              199 drivers/usb/host/ehci-hub.c 			u32 __iomem	*hostpc_reg = &ehci->regs->hostpc[port];
regs              258 drivers/usb/host/ehci-hub.c 		u32 __iomem	*reg = &ehci->regs->port_status [port];
regs              320 drivers/usb/host/ehci-hub.c 			u32 __iomem	*hostpc_reg = &ehci->regs->hostpc[port];
regs              359 drivers/usb/host/ehci-hub.c 	ehci_writel(ehci, mask, &ehci->regs->intr_enable);
regs              360 drivers/usb/host/ehci-hub.c 	ehci_readl(ehci, &ehci->regs->intr_enable);
regs              401 drivers/usb/host/ehci-hub.c 	power_okay = ehci_readl(ehci, &ehci->regs->intr_enable);
regs              408 drivers/usb/host/ehci-hub.c 	ehci_writel(ehci, 0, &ehci->regs->intr_enable);
regs              411 drivers/usb/host/ehci-hub.c 	ehci_writel(ehci, 0, &ehci->regs->segment);
regs              412 drivers/usb/host/ehci-hub.c 	ehci_writel(ehci, ehci->periodic_dma, &ehci->regs->frame_list);
regs              413 drivers/usb/host/ehci-hub.c 	ehci_writel(ehci, (u32) ehci->async->qh_dma, &ehci->regs->async_next);
regs              417 drivers/usb/host/ehci-hub.c 	ehci_writel(ehci, ehci->command, &ehci->regs->command);
regs              427 drivers/usb/host/ehci-hub.c 		temp = ehci_readl(ehci, &ehci->regs->port_status[i]);
regs              447 drivers/usb/host/ehci-hub.c 							&ehci->regs->hostpc[i];
regs              464 drivers/usb/host/ehci-hub.c 		temp = ehci_readl(ehci, &ehci->regs->port_status [i]);
regs              471 drivers/usb/host/ehci-hub.c 		ehci_writel(ehci, temp, &ehci->regs->port_status [i]);
regs              488 drivers/usb/host/ehci-hub.c 		temp = ehci_readl(ehci, &ehci->regs->port_status [i]);
regs              491 drivers/usb/host/ehci-hub.c 			ehci_writel(ehci, temp, &ehci->regs->port_status [i]);
regs              504 drivers/usb/host/ehci-hub.c 	ehci_writel(ehci, INTR_MASK, &ehci->regs->intr_enable);
regs              505 drivers/usb/host/ehci-hub.c 	(void) ehci_readl(ehci, &ehci->regs->intr_enable);
regs              541 drivers/usb/host/ehci-hub.c 	status_reg = &ehci->regs->port_status[portnum];
regs              657 drivers/usb/host/ehci-hub.c 		ppcd = ehci_readl(ehci, &ehci->regs->status) >> 16;
regs              662 drivers/usb/host/ehci-hub.c 			temp = ehci_readl(ehci, &ehci->regs->port_status[i]);
regs              891 drivers/usb/host/ehci-hub.c 	status_reg = &ehci->regs->port_status[temp];
regs              892 drivers/usb/host/ehci-hub.c 	hostpc_reg = &ehci->regs->hostpc[temp];
regs              990 drivers/usb/host/ehci-hub.c 		ehci_readl(ehci, &ehci->regs->command);	/* unblock posted write */
regs             1281 drivers/usb/host/ehci-hub.c 						&ehci->regs->port_status[ports];
regs             1301 drivers/usb/host/ehci-hub.c 		ehci_readl(ehci, &ehci->regs->command);	/* unblock posted writes */
regs             1331 drivers/usb/host/ehci-hub.c 	reg = &ehci->regs->port_status[portnum - 1];
regs             1338 drivers/usb/host/ehci-hub.c 	u32 __iomem *status_reg = &ehci->regs->port_status[portnum];
regs              157 drivers/usb/host/ehci-mv.c 	hcd->regs = ehci_mv->op_regs;
regs              207 drivers/usb/host/ehci-mv.c 		 " working in %s mode\n", hcd->regs, hcd->irq,
regs               59 drivers/usb/host/ehci-mxc.c 	hcd->regs = devm_ioremap_resource(&pdev->dev, res);
regs               60 drivers/usb/host/ehci-mxc.c 	if (IS_ERR(hcd->regs)) {
regs               61 drivers/usb/host/ehci-mxc.c 		ret = PTR_ERR(hcd->regs);
regs              106 drivers/usb/host/ehci-mxc.c 	ehci->caps = hcd->regs + 0x100;
regs              107 drivers/usb/host/ehci-mxc.c 	ehci->regs = hcd->regs + 0x100 +
regs              111 drivers/usb/host/ehci-mxc.c 	ehci_writel(ehci, pdata->portsc, &ehci->regs->port_status[0]);
regs              118 drivers/usb/host/ehci-mxc.c 		pdata->otg->io_priv = hcd->regs + ULPI_VIEWPORT_OFFSET;
regs              136 drivers/usb/host/ehci-npcm7xx.c 	hcd->regs = devm_ioremap_resource(&pdev->dev, res);
regs              137 drivers/usb/host/ehci-npcm7xx.c 	if (IS_ERR(hcd->regs)) {
regs              138 drivers/usb/host/ehci-npcm7xx.c 		retval = PTR_ERR(hcd->regs);
regs              145 drivers/usb/host/ehci-npcm7xx.c 	hcd_to_ehci(hcd)->caps = hcd->regs;
regs               92 drivers/usb/host/ehci-omap.c 	void __iomem *regs;
regs              122 drivers/usb/host/ehci-omap.c 	regs = devm_ioremap_resource(dev, res);
regs              123 drivers/usb/host/ehci-omap.c 	if (IS_ERR(regs))
regs              124 drivers/usb/host/ehci-omap.c 		return PTR_ERR(regs);
regs              145 drivers/usb/host/ehci-omap.c 	hcd->regs = regs;
regs              146 drivers/usb/host/ehci-omap.c 	hcd_to_ehci(hcd)->caps = regs;
regs              193 drivers/usb/host/ehci-omap.c 	ehci_write(regs, EHCI_INSNREG04,
regs               25 drivers/usb/host/ehci-orion.c #define rdl(off)	readl_relaxed(hcd->regs + (off))
regs               26 drivers/usb/host/ehci-orion.c #define wrl(off, val)	writel_relaxed((val), hcd->regs + (off))
regs              214 drivers/usb/host/ehci-orion.c 	void __iomem *regs;
regs              240 drivers/usb/host/ehci-orion.c 	regs = devm_ioremap_resource(&pdev->dev, res);
regs              241 drivers/usb/host/ehci-orion.c 	if (IS_ERR(regs)) {
regs              242 drivers/usb/host/ehci-orion.c 		err = PTR_ERR(regs);
regs              255 drivers/usb/host/ehci-orion.c 	hcd->regs = regs;
regs              258 drivers/usb/host/ehci-orion.c 	ehci->caps = hcd->regs + 0x100;
regs               80 drivers/usb/host/ehci-pci.c 			ehci->regs->intel_quark_x1000_insnreg01);
regs               94 drivers/usb/host/ehci-pci.c 	ehci->caps = hcd->regs;
regs              231 drivers/usb/host/ehci-pci.c 			ehci->debug = hcd->regs + temp;
regs               66 drivers/usb/host/ehci-platform.c 	ehci->caps = hcd->regs + pdata->caps_offset;
regs              234 drivers/usb/host/ehci-platform.c 	hcd->regs = devm_ioremap_resource(&dev->dev, res_mem);
regs              235 drivers/usb/host/ehci-platform.c 	if (IS_ERR(hcd->regs)) {
regs              236 drivers/usb/host/ehci-platform.c 		err = PTR_ERR(hcd->regs);
regs               45 drivers/usb/host/ehci-pmcmsp.c 	struct ehci_regs *reg_base = ehci->regs;
regs               78 drivers/usb/host/ehci-pmcmsp.c 	ehci->caps = hcd->regs;
regs              181 drivers/usb/host/ehci-pmcmsp.c 	hcd->regs = ioremap_nocache(hcd->rsrc_start, hcd->rsrc_len);
regs              182 drivers/usb/host/ehci-pmcmsp.c 	if (!hcd->regs) {
regs              213 drivers/usb/host/ehci-pmcmsp.c 	iounmap(hcd->regs);
regs              239 drivers/usb/host/ehci-pmcmsp.c 	iounmap(hcd->regs);
regs              129 drivers/usb/host/ehci-ppc-of.c 	hcd->regs = devm_ioremap_resource(&op->dev, &res);
regs              130 drivers/usb/host/ehci-ppc-of.c 	if (IS_ERR(hcd->regs)) {
regs              131 drivers/usb/host/ehci-ppc-of.c 		rv = PTR_ERR(hcd->regs);
regs              162 drivers/usb/host/ehci-ppc-of.c 	ehci->caps = hcd->regs;
regs               31 drivers/usb/host/ehci-ps3.c 	writel_be(0x01000020, (void __iomem *)ehci->regs +
regs               36 drivers/usb/host/ehci-ps3.c 	writel_be(0x00000001, (void __iomem *)ehci->regs +
regs               46 drivers/usb/host/ehci-ps3.c 	ehci->caps = hcd->regs;
regs              154 drivers/usb/host/ehci-ps3.c 	hcd->regs = ioremap(dev->m_region->lpar_addr, dev->m_region->len);
regs              156 drivers/usb/host/ehci-ps3.c 	if (!hcd->regs) {
regs              168 drivers/usb/host/ehci-ps3.c 		(unsigned long)hcd->regs);
regs              186 drivers/usb/host/ehci-ps3.c 	iounmap(hcd->regs);
regs              210 drivers/usb/host/ehci-ps3.c 	dev_dbg(&dev->core, "%s:%d: regs %p\n", __func__, __LINE__, hcd->regs);
regs              219 drivers/usb/host/ehci-ps3.c 	BUG_ON(!hcd->regs);
regs              220 drivers/usb/host/ehci-ps3.c 	iounmap(hcd->regs);
regs             1290 drivers/usb/host/ehci-q.c 				&ehci->regs->command);
regs             1291 drivers/usb/host/ehci-q.c 		ehci_readl(ehci, &ehci->regs->command);
regs             1301 drivers/usb/host/ehci-q.c 			    &ehci->regs->async_next);
regs               22 drivers/usb/host/ehci-sh.c 	ehci->caps = hcd->regs;
regs              103 drivers/usb/host/ehci-sh.c 	hcd->regs = devm_ioremap_resource(&pdev->dev, res);
regs              104 drivers/usb/host/ehci-sh.c 	if (IS_ERR(hcd->regs)) {
regs              105 drivers/usb/host/ehci-sh.c 		ret = PTR_ERR(hcd->regs);
regs               99 drivers/usb/host/ehci-spear.c 	hcd->regs = devm_ioremap_resource(&pdev->dev, res);
regs              100 drivers/usb/host/ehci-spear.c 	if (IS_ERR(hcd->regs)) {
regs              101 drivers/usb/host/ehci-spear.c 		retval = PTR_ERR(hcd->regs);
regs              111 drivers/usb/host/ehci-spear.c 	hcd_to_ehci(hcd)->caps = hcd->regs;
regs               59 drivers/usb/host/ehci-st.c 	writel(threshold, hcd->regs + AHB2STBUS_INSREG01);
regs               61 drivers/usb/host/ehci-st.c 	ehci->caps = hcd->regs + pdata->caps_offset;
regs              230 drivers/usb/host/ehci-st.c 	hcd->regs = devm_ioremap_resource(&dev->dev, res_mem);
regs              231 drivers/usb/host/ehci-st.c 	if (IS_ERR(hcd->regs)) {
regs              232 drivers/usb/host/ehci-st.c 		err = PTR_ERR(hcd->regs);
regs              117 drivers/usb/host/ehci-tegra.c 	saved_usbintr = ehci_readl(ehci, &ehci->regs->intr_enable);
regs              119 drivers/usb/host/ehci-tegra.c 	ehci_writel(ehci, 0, &ehci->regs->intr_enable);
regs              162 drivers/usb/host/ehci-tegra.c 	temp = ehci_readl(ehci, &ehci->regs->status);
regs              163 drivers/usb/host/ehci-tegra.c 	ehci_writel(ehci, temp, &ehci->regs->status);
regs              166 drivers/usb/host/ehci-tegra.c 	ehci_writel(ehci, saved_usbintr, &ehci->regs->intr_enable);
regs              186 drivers/usb/host/ehci-tegra.c 	status_reg = &ehci->regs->port_status[(wIndex & 0xff) - 1];
regs              458 drivers/usb/host/ehci-tegra.c 	hcd->regs = devm_ioremap_resource(&pdev->dev, res);
regs              459 drivers/usb/host/ehci-tegra.c 	if (IS_ERR(hcd->regs)) {
regs              460 drivers/usb/host/ehci-tegra.c 		err = PTR_ERR(hcd->regs);
regs              466 drivers/usb/host/ehci-tegra.c 	ehci->caps = hcd->regs + 0x100;
regs              574 drivers/usb/host/ehci-tegra.c 	ehci_writel(ehci, txfifothresh << 16, &ehci->regs->txfill_tuning);
regs               14 drivers/usb/host/ehci-timer.c 	ehci_writel(ehci, ehci->command, &ehci->regs->command);
regs               17 drivers/usb/host/ehci-timer.c 	ehci_readl(ehci, &ehci->regs->command);
regs               24 drivers/usb/host/ehci-timer.c 	ehci_writel(ehci, ehci->command, &ehci->regs->command);
regs               27 drivers/usb/host/ehci-timer.c 	ehci_readl(ehci, &ehci->regs->command);
regs              104 drivers/usb/host/ehci-timer.c 	actual = ehci_readl(ehci, &ehci->regs->status) & STS_ASS;
regs              150 drivers/usb/host/ehci-timer.c 	actual = ehci_readl(ehci, &ehci->regs->status) & STS_PSS;
regs              189 drivers/usb/host/ehci-timer.c 	if (!(ehci_readl(ehci, &ehci->regs->status) & STS_HALT)) {
regs              202 drivers/usb/host/ehci-timer.c 	ehci_writel(ehci, 0, &ehci->regs->configured_flag);
regs              203 drivers/usb/host/ehci-timer.c 	ehci_writel(ehci, 0, &ehci->regs->intr_enable);
regs              339 drivers/usb/host/ehci-timer.c 	cmd = ehci_readl(ehci, &ehci->regs->command);
regs              348 drivers/usb/host/ehci-timer.c 	status = ehci_readl(ehci, &ehci->regs->status);
regs              351 drivers/usb/host/ehci-timer.c 		ehci_writel(ehci, STS_IAA, &ehci->regs->status);
regs              151 drivers/usb/host/ehci-xilinx-of.c 	hcd->regs = devm_ioremap_resource(&op->dev, &res);
regs              152 drivers/usb/host/ehci-xilinx-of.c 	if (IS_ERR(hcd->regs)) {
regs              153 drivers/usb/host/ehci-xilinx-of.c 		rv = PTR_ERR(hcd->regs);
regs              179 drivers/usb/host/ehci-xilinx-of.c 	ehci->caps = hcd->regs + 0x100;
regs              124 drivers/usb/host/ehci.h 	struct ehci_regs __iomem *regs;
regs              739 drivers/usb/host/ehci.h 		__u32 __iomem *regs)
regs              743 drivers/usb/host/ehci.h 		readl_be(regs) :
regs              744 drivers/usb/host/ehci.h 		readl(regs);
regs              746 drivers/usb/host/ehci.h 	return readl(regs);
regs              763 drivers/usb/host/ehci.h 		const unsigned int val, __u32 __iomem *regs)
regs              767 drivers/usb/host/ehci.h 		writel_be(val, regs) :
regs              768 drivers/usb/host/ehci.h 		writel(val, regs);
regs              771 drivers/usb/host/ehci.h 		imx28_ehci_writel(val, regs);
regs              773 drivers/usb/host/ehci.h 		writel(val, regs);
regs               40 drivers/usb/host/fhci-dbg.c 	struct qe_usb_ctlr __iomem *regs = fhci->regs;
regs               49 drivers/usb/host/fhci-dbg.c 		in_8(&regs->usb_usmod), in_8(&regs->usb_usadr),
regs               50 drivers/usb/host/fhci-dbg.c 		in_8(&regs->usb_uscom), in_be16(&regs->usb_usep[0]),
regs               51 drivers/usb/host/fhci-dbg.c 		in_be16(&regs->usb_usber), in_be16(&regs->usb_usbmr),
regs               52 drivers/usb/host/fhci-dbg.c 		in_8(&regs->usb_usbs), in_be16(&regs->usb_ussft),
regs               53 drivers/usb/host/fhci-dbg.c 		in_be16(&regs->usb_usfrn),
regs               41 drivers/usb/host/fhci-hcd.c 	out_be16(&fhci->regs->usb_ussft, 0);
regs               42 drivers/usb/host/fhci-hcd.c 	setbits8(&fhci->regs->usb_usmod, USB_MODE_SFTE);
regs               51 drivers/usb/host/fhci-hcd.c 	clrbits8(&fhci->regs->usb_usmod, USB_MODE_SFTE);
regs               59 drivers/usb/host/fhci-hcd.c 	return be16_to_cpu(in_be16(&usb->fhci->regs->usb_ussft) / 12);
regs               89 drivers/usb/host/fhci-hcd.c 		out_be16(&usb->fhci->regs->usb_usber, 0xffff);
regs               90 drivers/usb/host/fhci-hcd.c 		out_be16(&usb->fhci->regs->usb_usbmr, usb->saved_msk);
regs              110 drivers/usb/host/fhci-hcd.c 		out_be16(&usb->fhci->regs->usb_usbmr, 0);
regs              120 drivers/usb/host/fhci-hcd.c 	out_be16(&usb->fhci->regs->usb_usber, 0xffff);
regs              121 drivers/usb/host/fhci-hcd.c 	out_be16(&usb->fhci->regs->usb_usbmr, usb->saved_msk);
regs              122 drivers/usb/host/fhci-hcd.c 	setbits8(&usb->fhci->regs->usb_usmod, USB_MODE_EN);
regs              142 drivers/usb/host/fhci-hcd.c 	clrbits8(&usb->fhci->regs->usb_usmod, USB_MODE_EN);
regs              286 drivers/usb/host/fhci-hcd.c 	out_8(&usb->fhci->regs->usb_usmod, USB_MODE_HOST | USB_MODE_EN);
regs              289 drivers/usb/host/fhci-hcd.c 	out_be16(&usb->fhci->regs->usb_usbmr, 0);
regs              292 drivers/usb/host/fhci-hcd.c 	out_be16(&usb->fhci->regs->usb_usber, 0xffff);
regs              604 drivers/usb/host/fhci-hcd.c 	hcd->regs = ioremap(usb_regs.start, resource_size(&usb_regs));
regs              605 drivers/usb/host/fhci-hcd.c 	if (!hcd->regs) {
regs              610 drivers/usb/host/fhci-hcd.c 	fhci->regs = hcd->regs;
regs              730 drivers/usb/host/fhci-hcd.c 	dev_info(dev, "at 0x%p, irq %d\n", hcd->regs, usb_irq);
regs              744 drivers/usb/host/fhci-hcd.c 	out_be16(&fhci->regs->usb_usber, 0xffff);
regs              745 drivers/usb/host/fhci-hcd.c 	out_be16(&fhci->regs->usb_usbmr, 0);
regs              775 drivers/usb/host/fhci-hcd.c 	iounmap(hcd->regs);
regs               96 drivers/usb/host/fhci-hub.c 	out_be16(&usb->fhci->regs->usb_usbmr, usb->saved_msk);
regs              157 drivers/usb/host/fhci-hub.c 	mode = in_8(&fhci->regs->usb_usmod);
regs              158 drivers/usb/host/fhci-hub.c 	out_8(&fhci->regs->usb_usmod, mode & (~USB_MODE_EN));
regs              161 drivers/usb/host/fhci-hub.c 	mask = in_be16(&fhci->regs->usb_usbmr);
regs              162 drivers/usb/host/fhci-hub.c 	out_be16(&fhci->regs->usb_usbmr, mask & (~USB_E_IDLE_MASK));
regs              167 drivers/usb/host/fhci-hub.c 	out_be16(&fhci->regs->usb_usbmr, mask);
regs              170 drivers/usb/host/fhci-hub.c 	mode = in_8(&fhci->regs->usb_usmod);
regs              171 drivers/usb/host/fhci-hub.c 	out_8(&fhci->regs->usb_usmod, mode | USB_MODE_EN);
regs              131 drivers/usb/host/fhci-sched.c 	mode = in_8(&usb->fhci->regs->usb_usmod);
regs              132 drivers/usb/host/fhci-sched.c 	clrbits8(&usb->fhci->regs->usb_usmod, USB_MODE_EN);
regs              146 drivers/usb/host/fhci-sched.c 	out_be16(&usb->fhci->regs->usb_usber, 0xffff);
regs              148 drivers/usb/host/fhci-sched.c 	out_8(&usb->fhci->regs->usb_usmod, mode | USB_MODE_EN);
regs              412 drivers/usb/host/fhci-sched.c 		out_be16(&usb->fhci->regs->usb_usbmr, usb->saved_msk);
regs              431 drivers/usb/host/fhci-sched.c 	clrbits8(&usb->fhci->regs->usb_usmod, USB_MODE_LSS);
regs              438 drivers/usb/host/fhci-sched.c 	out_be16(&usb->fhci->regs->usb_usbmr, usb->saved_msk);
regs              471 drivers/usb/host/fhci-sched.c 		setbits8(&usb->fhci->regs->usb_usmod, USB_MODE_LSS);
regs              489 drivers/usb/host/fhci-sched.c 		clrbits8(&usb->fhci->regs->usb_usmod, USB_MODE_LSS);
regs              533 drivers/usb/host/fhci-sched.c 	out_8(&usb->fhci->regs->usb_uscom, USB_CMD_FLUSH_FIFO | EP_ZERO);
regs              553 drivers/usb/host/fhci-sched.c 	usb_er |= in_be16(&usb->fhci->regs->usb_usber) &
regs              554 drivers/usb/host/fhci-sched.c 		  in_be16(&usb->fhci->regs->usb_usbmr);
regs              557 drivers/usb/host/fhci-sched.c 	out_be16(&usb->fhci->regs->usb_usber, usb_er);
regs              571 drivers/usb/host/fhci-sched.c 			out_be16(&usb->fhci->regs->usb_usber,
regs              609 drivers/usb/host/fhci-sched.c 			out_be16(&usb->fhci->regs->usb_usbmr,
regs              248 drivers/usb/host/fhci-tds.c 	out_be16(&usb->fhci->regs->usb_usep[0],
regs              462 drivers/usb/host/fhci-tds.c 		out_8(&usb->fhci->regs->usb_uscom, USB_CMD_STR_FIFO);
regs              534 drivers/usb/host/fhci-tds.c 	mode = in_8(&usb->fhci->regs->usb_usmod);
regs              535 drivers/usb/host/fhci-tds.c 	out_8(&usb->fhci->regs->usb_usmod, mode & ~USB_MODE_EN);
regs              570 drivers/usb/host/fhci-tds.c 	out_be16(&usb->fhci->regs->usb_usber, 0xffff);
regs              572 drivers/usb/host/fhci-tds.c 	out_8(&usb->fhci->regs->usb_usmod, mode | USB_MODE_EN);
regs              612 drivers/usb/host/fhci-tds.c 			out_8(&usb->fhci->regs->usb_uscom, USB_CMD_STR_FIFO);
regs              248 drivers/usb/host/fhci.h 	struct qe_usb_ctlr __iomem *regs; /* I/O memory used to communicate */
regs              694 drivers/usb/host/fotg210-hcd.c 			fotg210_readl(fotg210, &fotg210->regs->status));
regs              700 drivers/usb/host/fotg210-hcd.c 			fotg210_readl(fotg210, &fotg210->regs->command));
regs              706 drivers/usb/host/fotg210-hcd.c 			fotg210_readl(fotg210, &fotg210->regs->intr_enable));
regs              910 drivers/usb/host/fotg210-hcd.c 	fotg210_writel(fotg210, 0, &fotg210->regs->intr_enable);
regs              917 drivers/usb/host/fotg210-hcd.c 	temp = fotg210_readl(fotg210, &fotg210->regs->command);
regs              919 drivers/usb/host/fotg210-hcd.c 	fotg210_writel(fotg210, temp, &fotg210->regs->command);
regs              924 drivers/usb/host/fotg210-hcd.c 	return handshake(fotg210, &fotg210->regs->status,
regs              934 drivers/usb/host/fotg210-hcd.c 	u32 command = fotg210_readl(fotg210, &fotg210->regs->command);
regs              944 drivers/usb/host/fotg210-hcd.c 	fotg210_writel(fotg210, command, &fotg210->regs->command);
regs              947 drivers/usb/host/fotg210-hcd.c 	retval = handshake(fotg210, &fotg210->regs->command,
regs              973 drivers/usb/host/fotg210-hcd.c 	handshake(fotg210, &fotg210->regs->status, STS_ASS | STS_PSS, temp,
regs              979 drivers/usb/host/fotg210-hcd.c 	fotg210_writel(fotg210, fotg210->command, &fotg210->regs->command);
regs              983 drivers/usb/host/fotg210-hcd.c 	handshake(fotg210, &fotg210->regs->status, STS_ASS | STS_PSS, 0,
regs              998 drivers/usb/host/fotg210-hcd.c 	fotg210_writel(fotg210, fotg210->command, &fotg210->regs->command);
regs             1001 drivers/usb/host/fotg210-hcd.c 	fotg210_readl(fotg210, &fotg210->regs->command);
regs             1008 drivers/usb/host/fotg210-hcd.c 	fotg210_writel(fotg210, fotg210->command, &fotg210->regs->command);
regs             1011 drivers/usb/host/fotg210-hcd.c 	fotg210_readl(fotg210, &fotg210->regs->command);
regs             1082 drivers/usb/host/fotg210-hcd.c 	actual = fotg210_readl(fotg210, &fotg210->regs->status) & STS_ASS;
regs             1130 drivers/usb/host/fotg210-hcd.c 	actual = fotg210_readl(fotg210, &fotg210->regs->status) & STS_PSS;
regs             1171 drivers/usb/host/fotg210-hcd.c 	if (!(fotg210_readl(fotg210, &fotg210->regs->status) & STS_HALT)) {
regs             1185 drivers/usb/host/fotg210-hcd.c 	fotg210_writel(fotg210, 0, &fotg210->regs->intr_enable);
regs             1279 drivers/usb/host/fotg210-hcd.c 		cmd = fotg210_readl(fotg210, &fotg210->regs->command);
regs             1288 drivers/usb/host/fotg210-hcd.c 		status = fotg210_readl(fotg210, &fotg210->regs->status);
regs             1292 drivers/usb/host/fotg210-hcd.c 					&fotg210->regs->status);
regs             1418 drivers/usb/host/fotg210-hcd.c 	temp = fotg210_readl(fotg210, &fotg210->regs->port_status);
regs             1466 drivers/usb/host/fotg210-hcd.c 	u32 __iomem *status_reg = &fotg210->regs->port_status;
regs             1533 drivers/usb/host/fotg210-hcd.c 					&fotg210->regs->otgisr);
regs             1541 drivers/usb/host/fotg210-hcd.c 		fotg210_readl(fotg210, &fotg210->regs->command);
regs             1565 drivers/usb/host/fotg210-hcd.c 		temp1 = fotg210_readl(fotg210, &fotg210->regs->otgisr);
regs             1635 drivers/usb/host/fotg210-hcd.c 			fotg210_writel(fotg210, fotg210->command, &fotg210->regs->command);
regs             1677 drivers/usb/host/fotg210-hcd.c 		temp1 = fotg210_readl(fotg210, &fotg210->regs->otgisr);
regs             1774 drivers/usb/host/fotg210-hcd.c 		fotg210_readl(fotg210, &fotg210->regs->command);
regs             3122 drivers/usb/host/fotg210-hcd.c 				&fotg210->regs->command);
regs             3123 drivers/usb/host/fotg210-hcd.c 		fotg210_readl(fotg210, &fotg210->regs->command);
regs             4790 drivers/usb/host/fotg210-hcd.c 	u32 __iomem *status_reg = &fotg210->regs->port_status;
regs             4898 drivers/usb/host/fotg210-hcd.c 			fotg210_readl(fotg210, &fotg210->regs->status));
regs             5020 drivers/usb/host/fotg210-hcd.c 			&fotg210->regs->frame_list);
regs             5022 drivers/usb/host/fotg210-hcd.c 			&fotg210->regs->async_next);
regs             5044 drivers/usb/host/fotg210-hcd.c 	fotg210_writel(fotg210, fotg210->command, &fotg210->regs->command);
regs             5064 drivers/usb/host/fotg210-hcd.c 	fotg210_readl(fotg210, &fotg210->regs->command);
regs             5077 drivers/usb/host/fotg210-hcd.c 			&fotg210->regs->intr_enable); /* Turn On Interrupts */
regs             5094 drivers/usb/host/fotg210-hcd.c 	fotg210->regs = (void __iomem *)fotg210->caps +
regs             5128 drivers/usb/host/fotg210-hcd.c 	status = fotg210_readl(fotg210, &fotg210->regs->status);
regs             5150 drivers/usb/host/fotg210-hcd.c 	fotg210_writel(fotg210, masked_status, &fotg210->regs->status);
regs             5151 drivers/usb/host/fotg210-hcd.c 	cmd = fotg210_readl(fotg210, &fotg210->regs->command);
regs             5198 drivers/usb/host/fotg210-hcd.c 		u32 __iomem *status_reg = &fotg210->regs->port_status;
regs             5240 drivers/usb/host/fotg210-hcd.c 				&fotg210->regs->command);
regs             5241 drivers/usb/host/fotg210-hcd.c 		fotg210_writel(fotg210, 0, &fotg210->regs->intr_enable);
regs             5553 drivers/usb/host/fotg210-hcd.c 			&fotg210->regs->gmir);
regs             5555 drivers/usb/host/fotg210-hcd.c 	value = ioread32(&fotg210->regs->otgcsr);
regs             5558 drivers/usb/host/fotg210-hcd.c 	iowrite32(value, &fotg210->regs->otgcsr);
regs             5602 drivers/usb/host/fotg210-hcd.c 	hcd->regs = devm_ioremap_resource(&pdev->dev, res);
regs             5603 drivers/usb/host/fotg210-hcd.c 	if (IS_ERR(hcd->regs)) {
regs             5604 drivers/usb/host/fotg210-hcd.c 		retval = PTR_ERR(hcd->regs);
regs             5613 drivers/usb/host/fotg210-hcd.c 	fotg210->caps = hcd->regs;
regs               89 drivers/usb/host/fotg210.h 	struct fotg210_regs __iomem *regs;
regs              615 drivers/usb/host/fotg210.h 	return (readl(&fotg210->regs->otgcsr)
regs              653 drivers/usb/host/fotg210.h 		__u32 __iomem *regs)
regs              655 drivers/usb/host/fotg210.h 	return readl(regs);
regs              659 drivers/usb/host/fotg210.h 		const unsigned int val, __u32 __iomem *regs)
regs              661 drivers/usb/host/fotg210.h 	writel(val, regs);
regs              686 drivers/usb/host/fotg210.h 	return fotg210_readl(fotg210, &fotg210->regs->frame_index);
regs              316 drivers/usb/host/fsl-mph-dr-of.c 		out_be32(pdata->regs + ISIPHYCTRL, PHYCTRL_PHYE | PHYCTRL_PXE);
regs              317 drivers/usb/host/fsl-mph-dr-of.c 		out_be32(pdata->regs + USBGENCTRL, reg);
regs              326 drivers/usb/host/fsl-mph-dr-of.c 	pdata->regs = NULL;
regs              205 drivers/usb/host/imx21-dbg.c 	etd_enable_mask = readl(imx21->regs + USBH_ETDENSET);
regs              237 drivers/usb/host/imx21-dbg.c 		readl(imx21->regs + USBH_FRMNUB) & 0xFFFF,
regs              307 drivers/usb/host/imx21-dbg.c 			(readl(imx21->regs + USBH_ETDENSET) & (1 << i)) > 0,
regs               58 drivers/usb/host/imx21-hcd.c 	(etd)->event##_frame = readl((imx21)->regs + USBH_FRMNUB)
regs               77 drivers/usb/host/imx21-hcd.c 	void __iomem *reg = imx21->regs + offset;
regs               84 drivers/usb/host/imx21-hcd.c 	void __iomem *reg = imx21->regs + offset;
regs               90 drivers/usb/host/imx21-hcd.c 	void __iomem *reg = imx21->regs + offset;
regs               98 drivers/usb/host/imx21-hcd.c 	void __iomem *reg = imx21->regs + offset;
regs              106 drivers/usb/host/imx21-hcd.c 	writel(value, imx21->regs + USB_ETD_DWORD(etd_num, dword));
regs              111 drivers/usb/host/imx21-hcd.c 	return readl(imx21->regs + USB_ETD_DWORD(etd_num, dword));
regs              129 drivers/usb/host/imx21-hcd.c 	return wrap_frame(readl(imx21->regs + USBH_FRMNUB));
regs              169 drivers/usb/host/imx21-hcd.c 	writel(etd_mask, imx21->regs + USBH_ETDENCLR);
regs              171 drivers/usb/host/imx21-hcd.c 	writel(etd_mask, imx21->regs + USB_ETDDMACHANLCLR);
regs              234 drivers/usb/host/imx21-hcd.c 	void __iomem *dmem = imx21->regs + USBOTG_DMEM + dmem_offset;
regs              310 drivers/usb/host/imx21-hcd.c 		writel(etd->dma_handle, imx21->regs + USB_ETDSMSA(etd_num));
regs              325 drivers/usb/host/imx21-hcd.c 		etd->activated_frame = readl(imx21->regs + USBH_FRMNUB);
regs              336 drivers/usb/host/imx21-hcd.c 	writel(etd_mask, imx21->regs + USBH_ETDENSET);
regs              662 drivers/usb/host/imx21-hcd.c 				imx21->regs + USBOTG_DMEM + etd->dmem_offset,
regs              919 drivers/usb/host/imx21-hcd.c 	if (readl(imx21->regs + USBH_ETDENSET) & (1 << etd_num))
regs              976 drivers/usb/host/imx21-hcd.c 		relpolpos = (readl(imx21->regs + USBH_FRMNUB) + 1) & 0xff;
regs             1063 drivers/usb/host/imx21-hcd.c 				imx21->regs + USBOTG_DMEM + etd->dmem_offset,
regs             1310 drivers/usb/host/imx21-hcd.c 		u32 enabled = readl(imx21->regs + USBH_ETDENSET) & etd_mask;
regs             1311 drivers/usb/host/imx21-hcd.c 		u32 done = readl(imx21->regs + USBH_ETDDONESTAT) & etd_mask;
regs             1365 drivers/usb/host/imx21-hcd.c 				readl(imx21->regs + USBH_FRMNUB));
regs             1400 drivers/usb/host/imx21-hcd.c 	u32 ints = readl(imx21->regs + USBH_SYSISR);
regs             1411 drivers/usb/host/imx21-hcd.c 	writel(ints, imx21->regs + USBH_SYSISR);
regs             1467 drivers/usb/host/imx21-hcd.c 	desc->bNbrPorts = readl(imx21->regs + USBH_ROOTHUBA)
regs             1489 drivers/usb/host/imx21-hcd.c 	ports = readl(imx21->regs + USBH_ROOTHUBA)
regs             1496 drivers/usb/host/imx21-hcd.c 		if (readl(imx21->regs + USBH_PORTSTAT(i)) &
regs             1595 drivers/usb/host/imx21-hcd.c 		*(__le32 *) buf = readl(imx21->regs +
regs             1646 drivers/usb/host/imx21-hcd.c 		writel(status_write, imx21->regs + USBH_PORTSTAT(wIndex - 1));
regs             1665 drivers/usb/host/imx21-hcd.c 		imx21->regs + USBOTG_RST_CTRL);
regs             1669 drivers/usb/host/imx21-hcd.c 	while (readl(imx21->regs + USBOTG_RST_CTRL) != 0) {
regs             1709 drivers/usb/host/imx21-hcd.c 		imx21->regs + USBOTG_CLK_CTRL);
regs             1710 drivers/usb/host/imx21-hcd.c 	writel(hw_mode, imx21->regs + USBOTG_HWMODE);
regs             1711 drivers/usb/host/imx21-hcd.c 	writel(usb_control, imx21->regs + USBCTRL);
regs             1713 drivers/usb/host/imx21-hcd.c 		imx21->regs + USB_MISCCONTROL);
regs             1722 drivers/usb/host/imx21-hcd.c 		imx21->regs + USBH_HOST_CTRL);
regs             1727 drivers/usb/host/imx21-hcd.c 			imx21->regs + USBH_PORTSTAT(0));
regs             1731 drivers/usb/host/imx21-hcd.c 			imx21->regs + USBH_PORTSTAT(1));
regs             1735 drivers/usb/host/imx21-hcd.c 			imx21->regs + USBH_PORTSTAT(2));
regs             1758 drivers/usb/host/imx21-hcd.c 	writel(0, imx21->regs + USBH_SYSIEN);
regs             1816 drivers/usb/host/imx21-hcd.c 		iounmap(imx21->regs);
regs             1869 drivers/usb/host/imx21-hcd.c 	imx21->regs = ioremap(res->start, resource_size(res));
regs             1870 drivers/usb/host/imx21-hcd.c 	if (imx21->regs == NULL) {
regs             1892 drivers/usb/host/imx21-hcd.c 		(readl(imx21->regs + USBOTG_HWMODE) >> 16) & 0xFF);
regs             1909 drivers/usb/host/imx21-hcd.c 	iounmap(imx21->regs);
regs              416 drivers/usb/host/imx21-hcd.h 	void __iomem *regs;
regs               99 drivers/usb/host/ohci-at91.c 	struct ohci_regs __iomem *regs = hcd->regs;
regs              112 drivers/usb/host/ohci-at91.c 	writel(0, &regs->control);
regs              118 drivers/usb/host/ohci-at91.c 	struct ohci_regs __iomem *regs = hcd->regs;
regs              126 drivers/usb/host/ohci-at91.c 	writel(0, &regs->control);
regs              189 drivers/usb/host/ohci-at91.c 	hcd->regs = devm_ioremap_resource(dev, res);
regs              190 drivers/usb/host/ohci-at91.c 	if (IS_ERR(hcd->regs)) {
regs              191 drivers/usb/host/ohci-at91.c 		retval = PTR_ERR(hcd->regs);
regs              630 drivers/usb/host/ohci-at91.c 		(void) ohci_readl (ohci, &ohci->regs->control);
regs              259 drivers/usb/host/ohci-da8xx.c 	rh_a = ohci_readl(ohci, &ohci->regs->roothub.a);
regs              272 drivers/usb/host/ohci-da8xx.c 	ohci_writel(ohci, rh_a, &ohci->regs->roothub.a);
regs              439 drivers/usb/host/ohci-da8xx.c 	hcd->regs = devm_ioremap_resource(dev, mem);
regs              440 drivers/usb/host/ohci-da8xx.c 	if (IS_ERR(hcd->regs)) {
regs              441 drivers/usb/host/ohci-da8xx.c 		error = PTR_ERR(hcd->regs);
regs              103 drivers/usb/host/ohci-dbg.c 	struct ohci_regs __iomem *regs = controller->regs;
regs              106 drivers/usb/host/ohci-dbg.c 	temp = ohci_readl (controller, &regs->revision) & 0xff;
regs              113 drivers/usb/host/ohci-dbg.c 	temp = ohci_readl (controller, &regs->control);
regs              128 drivers/usb/host/ohci-dbg.c 	temp = ohci_readl (controller, &regs->cmdstatus);
regs              139 drivers/usb/host/ohci-dbg.c 			ohci_readl (controller, &regs->intrstatus),
regs              142 drivers/usb/host/ohci-dbg.c 			ohci_readl (controller, &regs->intrenable),
regs              147 drivers/usb/host/ohci-dbg.c 			ohci_readl (controller, &regs->ed_periodcurrent),
regs              151 drivers/usb/host/ohci-dbg.c 			ohci_readl (controller, &regs->ed_controlhead),
regs              154 drivers/usb/host/ohci-dbg.c 			ohci_readl (controller, &regs->ed_controlcurrent),
regs              158 drivers/usb/host/ohci-dbg.c 			ohci_readl (controller, &regs->ed_bulkhead),
regs              161 drivers/usb/host/ohci-dbg.c 			ohci_readl (controller, &regs->ed_bulkcurrent),
regs              165 drivers/usb/host/ohci-dbg.c 			ohci_readl (controller, &regs->donehead), next, size);
regs              585 drivers/usb/host/ohci-dbg.c 	struct ohci_regs __iomem *regs;
regs              593 drivers/usb/host/ohci-dbg.c 	regs = ohci->regs;
regs              624 drivers/usb/host/ohci-dbg.c 	rdata = ohci_readl (ohci, &regs->fminterval);
regs              632 drivers/usb/host/ohci-dbg.c 	rdata = ohci_readl (ohci, &regs->fmremaining);
regs              639 drivers/usb/host/ohci-dbg.c 	rdata = ohci_readl (ohci, &regs->periodicstart);
regs              645 drivers/usb/host/ohci-dbg.c 	rdata = ohci_readl (ohci, &regs->lsthresh);
regs              165 drivers/usb/host/ohci-exynos.c 	hcd->regs = devm_ioremap_resource(&pdev->dev, res);
regs              166 drivers/usb/host/ohci-exynos.c 	if (IS_ERR(hcd->regs)) {
regs              167 drivers/usb/host/ohci-exynos.c 		err = PTR_ERR(hcd->regs);
regs              412 drivers/usb/host/ohci-hcd.c 	ohci->hc_control = ohci_readl (ohci, &ohci->regs->control);
regs              414 drivers/usb/host/ohci-hcd.c 	ohci_writel (ohci, ohci->hc_control, &ohci->regs->control);
regs              427 drivers/usb/host/ohci-hcd.c 	ohci_writel(ohci, (u32) ~0, &ohci->regs->intrdisable);
regs              430 drivers/usb/host/ohci-hcd.c 	ohci_writel(ohci, OHCI_HCR, &ohci->regs->cmdstatus);
regs              431 drivers/usb/host/ohci-hcd.c 	ohci_readl(ohci, &ohci->regs->cmdstatus);	/* flush the writes */
regs              434 drivers/usb/host/ohci-hcd.c 	ohci_writel(ohci, ohci->fminterval, &ohci->regs->fminterval);
regs              467 drivers/usb/host/ohci-hcd.c 	ohci->regs = hcd->regs;
regs              476 drivers/usb/host/ohci-hcd.c 					&ohci->regs->control) & OHCI_CTRL_IR) {
regs              487 drivers/usb/host/ohci-hcd.c 		ohci_writel (ohci, OHCI_INTR_OC, &ohci->regs->intrenable);
regs              488 drivers/usb/host/ohci-hcd.c 		ohci_writel (ohci, OHCI_OCR, &ohci->regs->cmdstatus);
regs              489 drivers/usb/host/ohci-hcd.c 		while (ohci_readl (ohci, &ohci->regs->control) & OHCI_CTRL_IR) {
regs              502 drivers/usb/host/ohci-hcd.c 	ohci_writel (ohci, OHCI_INTR_MIE, &ohci->regs->intrdisable);
regs              505 drivers/usb/host/ohci-hcd.c 	if (ohci_readl (ohci, &ohci->regs->control) & OHCI_CTRL_RWC)
regs              556 drivers/usb/host/ohci-hcd.c 		val = ohci_readl (ohci, &ohci->regs->fminterval);
regs              591 drivers/usb/host/ohci-hcd.c 	ohci_writel (ohci, ohci->hc_control, &ohci->regs->control);
regs              593 drivers/usb/host/ohci-hcd.c 	(void) ohci_readl (ohci, &ohci->regs->control);
regs              603 drivers/usb/host/ohci-hcd.c 	ohci_writel (ohci, OHCI_HCR,  &ohci->regs->cmdstatus);
regs              605 drivers/usb/host/ohci-hcd.c 	while ((ohci_readl (ohci, &ohci->regs->cmdstatus) & OHCI_HCR) != 0) {
regs              624 drivers/usb/host/ohci-hcd.c 		ohci_writel (ohci, ohci->hc_control, &ohci->regs->control);
regs              626 drivers/usb/host/ohci-hcd.c 		(void) ohci_readl (ohci, &ohci->regs->control);
regs              631 drivers/usb/host/ohci-hcd.c 	ohci_writel (ohci, 0, &ohci->regs->ed_controlhead);
regs              632 drivers/usb/host/ohci-hcd.c 	ohci_writel (ohci, 0, &ohci->regs->ed_bulkhead);
regs              635 drivers/usb/host/ohci-hcd.c 	ohci_writel (ohci, (u32) ohci->hcca_dma, &ohci->regs->hcca);
regs              642 drivers/usb/host/ohci-hcd.c 	if ((ohci_readl (ohci, &ohci->regs->fminterval) & 0x3fff0000) == 0
regs              643 drivers/usb/host/ohci-hcd.c 			|| !ohci_readl (ohci, &ohci->regs->periodicstart)) {
regs              651 drivers/usb/host/ohci-hcd.c 			ohci_readl (ohci, &ohci->regs->fminterval),
regs              652 drivers/usb/host/ohci-hcd.c 			ohci_readl (ohci, &ohci->regs->periodicstart));
regs              663 drivers/usb/host/ohci-hcd.c 	ohci_writel (ohci, ohci->hc_control, &ohci->regs->control);
regs              667 drivers/usb/host/ohci-hcd.c 	ohci_writel (ohci, RH_HS_DRWE, &ohci->regs->roothub.status);
regs              671 drivers/usb/host/ohci-hcd.c 	ohci_writel (ohci, ~0, &ohci->regs->intrstatus);
regs              672 drivers/usb/host/ohci-hcd.c 	ohci_writel (ohci, mask, &ohci->regs->intrenable);
regs              681 drivers/usb/host/ohci-hcd.c 		ohci_writel (ohci, val, &ohci->regs->roothub.a);
regs              688 drivers/usb/host/ohci-hcd.c 		ohci_writel (ohci, val, &ohci->regs->roothub.a);
regs              690 drivers/usb/host/ohci-hcd.c 	ohci_writel (ohci, RH_HS_LPSC, &ohci->regs->roothub.status);
regs              692 drivers/usb/host/ohci-hcd.c 						&ohci->regs->roothub.b);
regs              694 drivers/usb/host/ohci-hcd.c 	(void) ohci_readl (ohci, &ohci->regs->control);
regs              765 drivers/usb/host/ohci-hcd.c 	status = ohci_readl(ohci, &ohci->regs->intrstatus);
regs              861 drivers/usb/host/ohci-hcd.c 					&ohci->regs->donehead);
regs              877 drivers/usb/host/ohci-hcd.c 	struct ohci_regs __iomem *regs = ohci->regs;
regs              884 drivers/usb/host/ohci-hcd.c 	ints = ohci_readl(ohci, &regs->intrstatus);
regs              897 drivers/usb/host/ohci-hcd.c 	ints &= ohci_readl(ohci, &regs->intrenable);
regs              911 drivers/usb/host/ohci-hcd.c 			ohci_writel (ohci, OHCI_INTR_UE, &regs->intrdisable);
regs              928 drivers/usb/host/ohci-hcd.c 				&regs->intrstatus);
regs              938 drivers/usb/host/ohci-hcd.c 		ohci_writel(ohci, OHCI_INTR_RHSC, &regs->intrdisable);
regs              948 drivers/usb/host/ohci-hcd.c 		ohci_writel(ohci, OHCI_INTR_RD, &regs->intrstatus);
regs              970 drivers/usb/host/ohci-hcd.c 		ohci_writel (ohci, OHCI_INTR_SF, &regs->intrdisable);
regs              973 drivers/usb/host/ohci-hcd.c 		ohci_writel (ohci, ints, &regs->intrstatus);
regs              977 drivers/usb/host/ohci-hcd.c 		ohci_writel (ohci, OHCI_INTR_MIE, &regs->intrenable);
regs              979 drivers/usb/host/ohci-hcd.c 		(void) ohci_readl (ohci, &ohci->regs->control);
regs              999 drivers/usb/host/ohci-hcd.c 	ohci_writel (ohci, OHCI_INTR_MIE, &ohci->regs->intrdisable);
regs             1105 drivers/usb/host/ohci-hcd.c 	ohci_writel(ohci, OHCI_INTR_MIE, &ohci->regs->intrdisable);
regs             1106 drivers/usb/host/ohci-hcd.c 	(void)ohci_readl(ohci, &ohci->regs->intrdisable);
regs             1135 drivers/usb/host/ohci-hcd.c 	ohci->hc_control = ohci_readl(ohci, &ohci->regs->control);
regs             1159 drivers/usb/host/ohci-hcd.c 					&ohci->regs->roothub.portstatus[port]);
regs             1161 drivers/usb/host/ohci-hcd.c 		ohci_writel(ohci, OHCI_INTR_MIE, &ohci->regs->intrenable);
regs             1162 drivers/usb/host/ohci-hcd.c 		ohci_readl(ohci, &ohci->regs->intrenable);
regs               53 drivers/usb/host/ohci-hub.c 	ohci->hc_control = ohci_readl (ohci, &ohci->regs->control);
regs               59 drivers/usb/host/ohci-hub.c 		ohci_writel (ohci, ohci->hc_control, &ohci->regs->control);
regs               60 drivers/usb/host/ohci-hub.c 		(void) ohci_readl (ohci, &ohci->regs->control);
regs               78 drivers/usb/host/ohci-hub.c 		ohci_writel (ohci, ohci->hc_control, &ohci->regs->control);
regs               79 drivers/usb/host/ohci-hub.c 		ohci->hc_control = ohci_readl (ohci, &ohci->regs->control);
regs               80 drivers/usb/host/ohci-hub.c 		ohci_writel (ohci, OHCI_INTR_SF, &ohci->regs->intrstatus);
regs              100 drivers/usb/host/ohci-hub.c 		__hc32 __iomem	*portstat = ohci->regs->roothub.portstatus;
regs              117 drivers/usb/host/ohci-hub.c 				&ohci->regs->intrdisable);
regs              126 drivers/usb/host/ohci-hub.c 	ohci_writel (ohci, ohci->hc_control, &ohci->regs->control);
regs              127 drivers/usb/host/ohci-hub.c 	(void) ohci_readl (ohci, &ohci->regs->control);
regs              159 drivers/usb/host/ohci-hub.c 	ohci->hc_control = ohci_readl (ohci, &ohci->regs->control);
regs              176 drivers/usb/host/ohci-hub.c 		ohci_writel (ohci, ohci->hc_control, &ohci->regs->control);
regs              177 drivers/usb/host/ohci-hub.c 		(void) ohci_readl (ohci, &ohci->regs->control);
regs              215 drivers/usb/host/ohci-hub.c 	temp = ohci_readl (ohci, &ohci->regs->control);
regs              224 drivers/usb/host/ohci-hub.c 	ohci_writel (ohci, 0, &ohci->regs->ed_controlhead);
regs              225 drivers/usb/host/ohci-hub.c 	ohci_writel (ohci, 0, &ohci->regs->ed_controlcurrent);
regs              226 drivers/usb/host/ohci-hub.c 	ohci_writel (ohci, 0, &ohci->regs->ed_bulkhead);
regs              227 drivers/usb/host/ohci-hub.c 	ohci_writel (ohci, 0, &ohci->regs->ed_bulkcurrent);
regs              228 drivers/usb/host/ohci-hub.c 	ohci_writel (ohci, 0, &ohci->regs->ed_periodcurrent);
regs              229 drivers/usb/host/ohci-hub.c 	ohci_writel (ohci, (u32) ohci->hcca_dma, &ohci->regs->hcca);
regs              241 drivers/usb/host/ohci-hub.c 	ohci_writel (ohci, OHCI_INTR_INIT, &ohci->regs->intrenable);
regs              243 drivers/usb/host/ohci-hub.c 		ohci_writel (ohci, OHCI_INTR_SF, &ohci->regs->intrenable);
regs              246 drivers/usb/host/ohci-hub.c 	ohci_writel (ohci, OHCI_USB_OPER, &ohci->regs->control);
regs              247 drivers/usb/host/ohci-hub.c 	(void) ohci_readl (ohci, &ohci->regs->control);
regs              255 drivers/usb/host/ohci-hub.c 	ohci_writel (ohci, temp, &ohci->regs->control);
regs              256 drivers/usb/host/ohci-hub.c 	(void) ohci_readl (ohci, &ohci->regs->control);
regs              275 drivers/usb/host/ohci-hub.c 					&ohci->regs->ed_controlhead);
regs              281 drivers/usb/host/ohci-hub.c 				&ohci->regs->ed_bulkhead);
regs              291 drivers/usb/host/ohci-hub.c 		ohci_writel (ohci, ohci->hc_control, &ohci->regs->control);
regs              293 drivers/usb/host/ohci-hub.c 			ohci_writel (ohci, temp, &ohci->regs->cmdstatus);
regs              294 drivers/usb/host/ohci-hub.c 		(void) ohci_readl (ohci, &ohci->regs->control);
regs              354 drivers/usb/host/ohci-hub.c 	rhsc_enable = ohci_readl(ohci, &ohci->regs->intrenable) &
regs              362 drivers/usb/host/ohci-hub.c 			ohci_writel(ohci, rhsc_enable, &ohci->regs->intrenable);
regs              419 drivers/usb/host/ohci-hub.c 						&ohci->regs->intrenable);
regs              444 drivers/usb/host/ohci-hub.c 	if (ohci_readl(ohci, &ohci->regs->intrenable) & OHCI_INTR_RHSC)
regs              455 drivers/usb/host/ohci-hub.c 	ohci_writel(ohci, OHCI_INTR_RHSC, &ohci->regs->intrenable);
regs              481 drivers/usb/host/ohci-hub.c 			  ohci_readl (ohci, &ohci->regs->roothub.a) & RH_A_NDP);
regs              497 drivers/usb/host/ohci-hub.c 	ohci_writel(ohci, OHCI_INTR_RHSC, &ohci->regs->intrstatus);
regs              498 drivers/usb/host/ohci-hub.c 	rhsc_status = ohci_readl(ohci, &ohci->regs->intrstatus) &
regs              587 drivers/usb/host/ohci-hub.c 	status = ohci_readl(ohci, &ohci->regs->roothub.portstatus [port]);
regs              592 drivers/usb/host/ohci-hub.c 	ohci_writel(ohci, RH_PS_PRS, &ohci->regs->roothub.portstatus [port]);
regs              619 drivers/usb/host/ohci-hub.c 	__hc32 __iomem *portstat = &ohci->regs->roothub.portstatus [port];
regs              621 drivers/usb/host/ohci-hub.c 	u16	now = ohci_readl(ohci, &ohci->regs->fmnumber);
regs              663 drivers/usb/host/ohci-hub.c 		now = ohci_readl(ohci, &ohci->regs->fmnumber);
regs              694 drivers/usb/host/ohci-hub.c 					&ohci->regs->roothub.status);
regs              735 drivers/usb/host/ohci-hub.c 				&ohci->regs->roothub.portstatus [wIndex]);
regs              778 drivers/usb/host/ohci-hub.c 				&ohci->regs->roothub.portstatus [wIndex]);
regs              782 drivers/usb/host/ohci-hub.c 				&ohci->regs->roothub.portstatus [wIndex]);
regs              205 drivers/usb/host/ohci-nxp.c 	hcd->regs = devm_ioremap_resource(&pdev->dev, res);
regs              206 drivers/usb/host/ohci-nxp.c 	if (IS_ERR(hcd->regs)) {
regs              207 drivers/usb/host/ohci-nxp.c 		ret = PTR_ERR(hcd->regs);
regs              222 drivers/usb/host/ohci-nxp.c 	dev_info(&pdev->dev, "at 0x%p, irq %d\n", hcd->regs, hcd->irq);
regs              184 drivers/usb/host/ohci-omap.c 	writel (RH_PS_PSS, &ohci->regs->roothub.portstatus [port]);
regs              251 drivers/usb/host/ohci-omap.c 		writel(OHCI_CTRL_RWC, &ohci->regs->control);
regs              275 drivers/usb/host/ohci-omap.c 		ohci_writel(ohci, rh, &ohci->regs->roothub.a);
regs              351 drivers/usb/host/ohci-omap.c 	hcd->regs = ioremap(hcd->rsrc_start, hcd->rsrc_len);
regs              352 drivers/usb/host/ohci-omap.c 	if (!hcd->regs) {
regs              370 drivers/usb/host/ohci-omap.c 	iounmap(hcd->regs);
regs              406 drivers/usb/host/ohci-omap.c 	iounmap(hcd->regs);
regs              205 drivers/usb/host/ohci-platform.c 	hcd->regs = devm_ioremap_resource(&dev->dev, res_mem);
regs              206 drivers/usb/host/ohci-platform.c 	if (IS_ERR(hcd->regs)) {
regs              207 drivers/usb/host/ohci-platform.c 		err = PTR_ERR(hcd->regs);
regs              119 drivers/usb/host/ohci-ppc-of.c 	hcd->regs = devm_ioremap_resource(&op->dev, &res);
regs              120 drivers/usb/host/ohci-ppc-of.c 	if (IS_ERR(hcd->regs)) {
regs              121 drivers/usb/host/ohci-ppc-of.c 		rv = PTR_ERR(hcd->regs);
regs              165 drivers/usb/host/ohci-ppc-of.c 				writel_be((readl_be(&ohci->regs->control) |
regs              166 drivers/usb/host/ohci-ppc-of.c 					OHCI_USB_SUSPEND), &ohci->regs->control);
regs              167 drivers/usb/host/ohci-ppc-of.c 					(void) readl_be(&ohci->regs->control);
regs               30 drivers/usb/host/ohci-ps3.c 		&ohci->regs->roothub.a);
regs               31 drivers/usb/host/ohci-ps3.c 	ohci_writel(ohci, 0x00060000, &ohci->regs->roothub.b);
regs              138 drivers/usb/host/ohci-ps3.c 	hcd->regs = ioremap(dev->m_region->lpar_addr, dev->m_region->len);
regs              140 drivers/usb/host/ohci-ps3.c 	if (!hcd->regs) {
regs              152 drivers/usb/host/ohci-ps3.c 		(unsigned long)hcd->regs);
regs              170 drivers/usb/host/ohci-ps3.c 	iounmap(hcd->regs);
regs              194 drivers/usb/host/ohci-ps3.c 	dev_dbg(&dev->core, "%s:%d: regs %p\n", __func__, __LINE__, hcd->regs);
regs              204 drivers/usb/host/ohci-ps3.c 	BUG_ON(!hcd->regs);
regs              205 drivers/usb/host/ohci-ps3.c 	iounmap(hcd->regs);
regs              455 drivers/usb/host/ohci-pxa27x.c 	hcd->regs = devm_ioremap_resource(&pdev->dev, r);
regs              456 drivers/usb/host/ohci-pxa27x.c 	if (IS_ERR(hcd->regs)) {
regs              457 drivers/usb/host/ohci-pxa27x.c 		retval = PTR_ERR(hcd->regs);
regs              466 drivers/usb/host/ohci-pxa27x.c 	pxa_ohci->mmio_base = (void __iomem *)hcd->regs;
regs               82 drivers/usb/host/ohci-q.c 		ohci_writel (ohci, ohci->hc_control, &ohci->regs->control);
regs              207 drivers/usb/host/ohci-q.c 					&ohci->regs->ed_controlhead);
regs              217 drivers/usb/host/ohci-q.c 			ohci_writel (ohci, 0, &ohci->regs->ed_controlcurrent);
regs              219 drivers/usb/host/ohci-q.c 					&ohci->regs->control);
regs              227 drivers/usb/host/ohci-q.c 			ohci_writel (ohci, ed->dma, &ohci->regs->ed_bulkhead);
regs              237 drivers/usb/host/ohci-q.c 			ohci_writel (ohci, 0, &ohci->regs->ed_bulkcurrent);
regs              239 drivers/usb/host/ohci-q.c 					&ohci->regs->control);
regs              340 drivers/usb/host/ohci-q.c 						&ohci->regs->control);
regs              345 drivers/usb/host/ohci-q.c 					&ohci->regs->ed_controlhead);
regs              366 drivers/usb/host/ohci-q.c 						&ohci->regs->control);
regs              371 drivers/usb/host/ohci-q.c 					&ohci->regs->ed_bulkhead);
regs              495 drivers/usb/host/ohci-q.c 	ohci_writel (ohci, OHCI_INTR_SF, &ohci->regs->intrstatus);
regs              496 drivers/usb/host/ohci-q.c 	ohci_writel (ohci, OHCI_INTR_SF, &ohci->regs->intrenable);
regs              498 drivers/usb/host/ohci-q.c 	(void) ohci_readl (ohci, &ohci->regs->control);
regs              687 drivers/usb/host/ohci-q.c 			ohci_writel (ohci, OHCI_BLF, &ohci->regs->cmdstatus);
regs              709 drivers/usb/host/ohci-q.c 		ohci_writel (ohci, OHCI_CLF, &ohci->regs->cmdstatus);
regs              745 drivers/usb/host/ohci-q.c 		ohci_writel (ohci, ohci->hc_control, &ohci->regs->control);
regs             1115 drivers/usb/host/ohci-q.c 					&ohci->regs->ed_controlcurrent);
regs             1125 drivers/usb/host/ohci-q.c 					&ohci->regs->ed_bulkcurrent);
regs             1135 drivers/usb/host/ohci-q.c 					&ohci->regs->control);
regs             1140 drivers/usb/host/ohci-q.c 			ohci_writel (ohci, command, &ohci->regs->cmdstatus);
regs             1180 drivers/usb/host/ohci-q.c 						&ohci->regs->cmdstatus);
regs             1184 drivers/usb/host/ohci-q.c 						&ohci->regs->cmdstatus);
regs              371 drivers/usb/host/ohci-s3c2410.c 	hcd->regs = devm_ioremap_resource(&dev->dev, &dev->resource[0]);
regs              372 drivers/usb/host/ohci-s3c2410.c 	if (IS_ERR(hcd->regs)) {
regs              373 drivers/usb/host/ohci-s3c2410.c 		retval = PTR_ERR(hcd->regs);
regs               46 drivers/usb/host/ohci-sa1111.c 	unsigned long status = readl_relaxed(hcd->regs + USB_STATUS);
regs              212 drivers/usb/host/ohci-sa1111.c 	hcd->regs = dev->mapbase;
regs              136 drivers/usb/host/ohci-sm501.c 	hcd->regs = ioremap(hcd->rsrc_start, hcd->rsrc_len);
regs              137 drivers/usb/host/ohci-sm501.c 	if (hcd->regs == NULL) {
regs              176 drivers/usb/host/ohci-sm501.c 	iounmap(hcd->regs);
regs               73 drivers/usb/host/ohci-spear.c 	hcd->regs = devm_ioremap_resource(&pdev->dev, res);
regs               74 drivers/usb/host/ohci-spear.c 	if (IS_ERR(hcd->regs)) {
regs               75 drivers/usb/host/ohci-spear.c 		retval = PTR_ERR(hcd->regs);
regs              207 drivers/usb/host/ohci-st.c 	hcd->regs = devm_ioremap_resource(&dev->dev, res_mem);
regs              208 drivers/usb/host/ohci-st.c 	if (IS_ERR(hcd->regs)) {
regs              209 drivers/usb/host/ohci-st.c 		err = PTR_ERR(hcd->regs);
regs              190 drivers/usb/host/ohci-tmio.c 	struct resource *regs = platform_get_resource(dev, IORESOURCE_MEM, 0);
regs              211 drivers/usb/host/ohci-tmio.c 	hcd->rsrc_start = regs->start;
regs              212 drivers/usb/host/ohci-tmio.c 	hcd->rsrc_len = resource_size(regs);
regs              224 drivers/usb/host/ohci-tmio.c 	hcd->regs = ioremap(hcd->rsrc_start, hcd->rsrc_len);
regs              225 drivers/usb/host/ohci-tmio.c 	if (!hcd->regs) {
regs              260 drivers/usb/host/ohci-tmio.c 	iounmap(hcd->regs);
regs              280 drivers/usb/host/ohci-tmio.c 	iounmap(hcd->regs);
regs              368 drivers/usb/host/ohci.h 	struct ohci_regs __iomem *regs;
regs              562 drivers/usb/host/ohci.h 					__hc32 __iomem * regs)
regs              566 drivers/usb/host/ohci.h 		readl_be (regs) :
regs              567 drivers/usb/host/ohci.h 		readl (regs);
regs              569 drivers/usb/host/ohci.h 	return readl (regs);
regs              574 drivers/usb/host/ohci.h 				 const unsigned int val, __hc32 __iomem *regs)
regs              578 drivers/usb/host/ohci.h 		writel_be (val, regs) :
regs              579 drivers/usb/host/ohci.h 		writel (val, regs);
regs              581 drivers/usb/host/ohci.h 		writel (val, regs);
regs              697 drivers/usb/host/ohci.h 	u32	fit = ohci_readl(ohci, &ohci->regs->fminterval) & FIT;
regs              700 drivers/usb/host/ohci.h 						&ohci->regs->fminterval);
regs              702 drivers/usb/host/ohci.h 						&ohci->regs->periodicstart);
regs              710 drivers/usb/host/ohci.h 	u32 temp = ohci_readl (hc, &hc->regs->roothub.register); \
regs              715 drivers/usb/host/ohci.h 			temp = ohci_readl (hc, &hc->regs->roothub.register); \
regs              721 drivers/usb/host/ohci.h 	{ return ohci_readl (hc, &hc->regs->roothub.b); }
regs              723 drivers/usb/host/ohci.h 	{ return ohci_readl (hc, &hc->regs->roothub.status); }
regs              416 drivers/usb/host/oxu210hp-hcd.c 	struct ehci_regs __iomem *regs;
regs              768 drivers/usb/host/oxu210hp-hcd.c 	u32	temp = readl(&oxu->regs->status);
regs              771 drivers/usb/host/oxu210hp-hcd.c 	writel(0, &oxu->regs->intr_enable);
regs              776 drivers/usb/host/oxu210hp-hcd.c 	temp = readl(&oxu->regs->command);
regs              778 drivers/usb/host/oxu210hp-hcd.c 	writel(temp, &oxu->regs->command);
regs              779 drivers/usb/host/oxu210hp-hcd.c 	return handshake(oxu, &oxu->regs->status,
regs              789 drivers/usb/host/oxu210hp-hcd.c 	reg_ptr = (u32 __iomem *)(((u8 __iomem *)oxu->regs) + 0x68);
regs              799 drivers/usb/host/oxu210hp-hcd.c 	u32	command = readl(&oxu->regs->command);
regs              803 drivers/usb/host/oxu210hp-hcd.c 	writel(command, &oxu->regs->command);
regs              806 drivers/usb/host/oxu210hp-hcd.c 	retval = handshake(oxu, &oxu->regs->command,
regs              827 drivers/usb/host/oxu210hp-hcd.c 	temp = readl(&oxu->regs->command) << 10;
regs              829 drivers/usb/host/oxu210hp-hcd.c 	if (handshake(oxu, &oxu->regs->status, STS_ASS | STS_PSS,
regs              836 drivers/usb/host/oxu210hp-hcd.c 	temp = readl(&oxu->regs->command);
regs              838 drivers/usb/host/oxu210hp-hcd.c 	writel(temp, &oxu->regs->command);
regs              841 drivers/usb/host/oxu210hp-hcd.c 	if (handshake(oxu, &oxu->regs->status, STS_ASS | STS_PSS,
regs             1925 drivers/usb/host/oxu210hp-hcd.c 		u32	cmd = readl(&oxu->regs->command);
regs             1929 drivers/usb/host/oxu210hp-hcd.c 			(void)handshake(oxu, &oxu->regs->status,
regs             1932 drivers/usb/host/oxu210hp-hcd.c 			writel(cmd, &oxu->regs->command);
regs             2127 drivers/usb/host/oxu210hp-hcd.c 	int cmd = readl(&oxu->regs->command);
regs             2142 drivers/usb/host/oxu210hp-hcd.c 			writel(cmd & ~CMD_ASE, &oxu->regs->command);
regs             2171 drivers/usb/host/oxu210hp-hcd.c 	writel(cmd, &oxu->regs->command);
regs             2172 drivers/usb/host/oxu210hp-hcd.c 	(void) readl(&oxu->regs->command);
regs             2305 drivers/usb/host/oxu210hp-hcd.c 	status = handshake(oxu, &oxu->regs->status, STS_PSS, 0, 9 * 125);
regs             2312 drivers/usb/host/oxu210hp-hcd.c 	cmd = readl(&oxu->regs->command) | CMD_PSE;
regs             2313 drivers/usb/host/oxu210hp-hcd.c 	writel(cmd, &oxu->regs->command);
regs             2318 drivers/usb/host/oxu210hp-hcd.c 	oxu->next_uframe = readl(&oxu->regs->frame_index)
regs             2331 drivers/usb/host/oxu210hp-hcd.c 	status = handshake(oxu, &oxu->regs->status, STS_PSS, STS_PSS, 9 * 125);
regs             2338 drivers/usb/host/oxu210hp-hcd.c 	cmd = readl(&oxu->regs->command) & ~CMD_PSE;
regs             2339 drivers/usb/host/oxu210hp-hcd.c 	writel(cmd, &oxu->regs->command);
regs             2687 drivers/usb/host/oxu210hp-hcd.c 		clock = readl(&oxu->regs->frame_index);
regs             2753 drivers/usb/host/oxu210hp-hcd.c 			now = readl(&oxu->regs->frame_index) % mod;
regs             2775 drivers/usb/host/oxu210hp-hcd.c 		writel(PORT_RWC_BITS, &oxu->regs->port_status[port]);
regs             2861 drivers/usb/host/oxu210hp-hcd.c 	status = readl(&oxu->regs->status);
regs             2877 drivers/usb/host/oxu210hp-hcd.c 	writel(status, &oxu->regs->status);
regs             2878 drivers/usb/host/oxu210hp-hcd.c 	readl(&oxu->regs->command);	/* unblock posted write */
regs             2904 drivers/usb/host/oxu210hp-hcd.c 		if (!(readl(&oxu->regs->command) & CMD_RUN))
regs             2908 drivers/usb/host/oxu210hp-hcd.c 			int pstatus = readl(&oxu->regs->port_status[i]);
regs             2930 drivers/usb/host/oxu210hp-hcd.c 		status = readl(&oxu->regs->status);
regs             2931 drivers/usb/host/oxu210hp-hcd.c 		dbg_cmd(oxu, "fatal", readl(&oxu->regs->command));
regs             2937 drivers/usb/host/oxu210hp-hcd.c 			writel(0, &oxu->regs->configured_flag);
regs             2959 drivers/usb/host/oxu210hp-hcd.c 	u32 status = oxu_readl(hcd->regs, OXU_CHIPIRQSTATUS);
regs             2960 drivers/usb/host/oxu210hp-hcd.c 	u32 enable = oxu_readl(hcd->regs, OXU_CHIPIRQEN_SET);
regs             2963 drivers/usb/host/oxu210hp-hcd.c 	oxu_writel(hcd->regs, OXU_CHIPIRQEN_CLR, enable);
regs             2972 drivers/usb/host/oxu210hp-hcd.c 	oxu_writel(hcd->regs, OXU_CHIPIRQEN_SET, enable);
regs             2986 drivers/usb/host/oxu210hp-hcd.c 		u32 status = readl(&oxu->regs->status);
regs             2989 drivers/usb/host/oxu210hp-hcd.c 			writel(STS_IAA, &oxu->regs->status);
regs             3092 drivers/usb/host/oxu210hp-hcd.c 		oxu->caps = hcd->regs + OXU_OTG_CAP_OFFSET;
regs             3093 drivers/usb/host/oxu210hp-hcd.c 		oxu->regs = hcd->regs + OXU_OTG_CAP_OFFSET + \
regs             3096 drivers/usb/host/oxu210hp-hcd.c 		oxu->mem = hcd->regs + OXU_SPH_MEM;
regs             3098 drivers/usb/host/oxu210hp-hcd.c 		oxu->caps = hcd->regs + OXU_SPH_CAP_OFFSET;
regs             3099 drivers/usb/host/oxu210hp-hcd.c 		oxu->regs = hcd->regs + OXU_SPH_CAP_OFFSET + \
regs             3102 drivers/usb/host/oxu210hp-hcd.c 		oxu->mem = hcd->regs + OXU_OTG_MEM;
regs             3125 drivers/usb/host/oxu210hp-hcd.c 	writel(oxu->periodic_dma, &oxu->regs->frame_list);
regs             3126 drivers/usb/host/oxu210hp-hcd.c 	writel((u32) oxu->async->qh_dma, &oxu->regs->async_next);
regs             3141 drivers/usb/host/oxu210hp-hcd.c 		writel(0, &oxu->regs->segment);
regs             3146 drivers/usb/host/oxu210hp-hcd.c 	writel(oxu->command, &oxu->regs->command);
regs             3156 drivers/usb/host/oxu210hp-hcd.c 	writel(FLAG_CF, &oxu->regs->configured_flag);
regs             3157 drivers/usb/host/oxu210hp-hcd.c 	readl(&oxu->regs->command);	/* unblock posted writes */
regs             3165 drivers/usb/host/oxu210hp-hcd.c 	writel(INTR_MASK, &oxu->regs->intr_enable); /* Turn On Interrupts */
regs             3185 drivers/usb/host/oxu210hp-hcd.c 	writel(0, &oxu->regs->intr_enable);
regs             3189 drivers/usb/host/oxu210hp-hcd.c 	writel(0, &oxu->regs->configured_flag);
regs             3198 drivers/usb/host/oxu210hp-hcd.c 	dbg_status(oxu, "oxu_stop completed", readl(&oxu->regs->status));
regs             3213 drivers/usb/host/oxu210hp-hcd.c 	writel(0, &oxu->regs->configured_flag);
regs             3216 drivers/usb/host/oxu210hp-hcd.c 	readl(&oxu->regs->configured_flag);
regs             3480 drivers/usb/host/oxu210hp-hcd.c 	return (readl(&oxu->regs->frame_index) >> 3) %
regs             3520 drivers/usb/host/oxu210hp-hcd.c 		temp = readl(&oxu->regs->port_status[i]);
regs             3566 drivers/usb/host/oxu210hp-hcd.c 	u32 __iomem *status_reg = &oxu->regs->port_status[wIndex - 1];
regs             3644 drivers/usb/host/oxu210hp-hcd.c 		readl(&oxu->regs->command);	/* unblock posted write */
regs             3840 drivers/usb/host/oxu210hp-hcd.c 		readl(&oxu->regs->command);	/* unblock posted writes */
regs             3873 drivers/usb/host/oxu210hp-hcd.c 	oxu->command = readl(&oxu->regs->command);
regs             3885 drivers/usb/host/oxu210hp-hcd.c 		u32 __iomem *reg = &oxu->regs->port_status[port];
regs             3918 drivers/usb/host/oxu210hp-hcd.c 	writel(mask, &oxu->regs->intr_enable);
regs             3919 drivers/usb/host/oxu210hp-hcd.c 	readl(&oxu->regs->intr_enable);
regs             3943 drivers/usb/host/oxu210hp-hcd.c 	temp = readl(&oxu->regs->intr_enable);
regs             3949 drivers/usb/host/oxu210hp-hcd.c 	writel(0, &oxu->regs->intr_enable);
regs             3952 drivers/usb/host/oxu210hp-hcd.c 	writel(0, &oxu->regs->segment);
regs             3953 drivers/usb/host/oxu210hp-hcd.c 	writel(oxu->periodic_dma, &oxu->regs->frame_list);
regs             3954 drivers/usb/host/oxu210hp-hcd.c 	writel((u32) oxu->async->qh_dma, &oxu->regs->async_next);
regs             3957 drivers/usb/host/oxu210hp-hcd.c 	writel(oxu->command, &oxu->regs->command);
regs             3966 drivers/usb/host/oxu210hp-hcd.c 		temp = readl(&oxu->regs->port_status[i]);
regs             3973 drivers/usb/host/oxu210hp-hcd.c 		writel(temp, &oxu->regs->port_status[i]);
regs             3978 drivers/usb/host/oxu210hp-hcd.c 		temp = readl(&oxu->regs->port_status[i]);
regs             3981 drivers/usb/host/oxu210hp-hcd.c 			writel(temp, &oxu->regs->port_status[i]);
regs             3985 drivers/usb/host/oxu210hp-hcd.c 	(void) readl(&oxu->regs->command);
regs             3995 drivers/usb/host/oxu210hp-hcd.c 		writel(oxu->command, &oxu->regs->command);
regs             4002 drivers/usb/host/oxu210hp-hcd.c 	writel(INTR_MASK, &oxu->regs->intr_enable);
regs             4144 drivers/usb/host/oxu210hp-hcd.c 	hcd->regs = base;
regs              125 drivers/usb/host/uhci-grlib.c 	hcd->regs = devm_ioremap_resource(&op->dev, &res);
regs              126 drivers/usb/host/uhci-grlib.c 	if (IS_ERR(hcd->regs)) {
regs              127 drivers/usb/host/uhci-grlib.c 		rv = PTR_ERR(hcd->regs);
regs              133 drivers/usb/host/uhci-grlib.c 	uhci->regs = hcd->regs;
regs              392 drivers/usb/host/uhci-hcd.h 	void __iomem *regs;
regs              596 drivers/usb/host/uhci-hcd.h 		return readl(uhci->regs + uhci_aspeed_reg(reg));
regs              599 drivers/usb/host/uhci-hcd.h 		return readl_be(uhci->regs + reg);
regs              602 drivers/usb/host/uhci-hcd.h 		return readl(uhci->regs + reg);
regs              610 drivers/usb/host/uhci-hcd.h 		writel(val, uhci->regs + uhci_aspeed_reg(reg));
regs              613 drivers/usb/host/uhci-hcd.h 		writel_be(val, uhci->regs + reg);
regs              616 drivers/usb/host/uhci-hcd.h 		writel(val, uhci->regs + reg);
regs              624 drivers/usb/host/uhci-hcd.h 		return readl(uhci->regs + uhci_aspeed_reg(reg));
regs              627 drivers/usb/host/uhci-hcd.h 		return readw_be(uhci->regs + reg);
regs              630 drivers/usb/host/uhci-hcd.h 		return readw(uhci->regs + reg);
regs              638 drivers/usb/host/uhci-hcd.h 		writel(val, uhci->regs + uhci_aspeed_reg(reg));
regs              641 drivers/usb/host/uhci-hcd.h 		writew_be(val, uhci->regs + reg);
regs              644 drivers/usb/host/uhci-hcd.h 		writew(val, uhci->regs + reg);
regs              652 drivers/usb/host/uhci-hcd.h 		return readl(uhci->regs + uhci_aspeed_reg(reg));
regs              655 drivers/usb/host/uhci-hcd.h 		return readb_be(uhci->regs + reg);
regs              658 drivers/usb/host/uhci-hcd.h 		return readb(uhci->regs + reg);
regs              666 drivers/usb/host/uhci-hcd.h 		writel(val, uhci->regs + uhci_aspeed_reg(reg));
regs              669 drivers/usb/host/uhci-hcd.h 		writeb_be(val, uhci->regs + reg);
regs              672 drivers/usb/host/uhci-hcd.h 		writeb(val, uhci->regs + reg);
regs               95 drivers/usb/host/uhci-platform.c 	hcd->regs = devm_ioremap_resource(&pdev->dev, res);
regs               96 drivers/usb/host/uhci-platform.c 	if (IS_ERR(hcd->regs)) {
regs               97 drivers/usb/host/uhci-platform.c 		ret = PTR_ERR(hcd->regs);
regs              103 drivers/usb/host/uhci-platform.c 	uhci->regs = hcd->regs;
regs              110 drivers/usb/host/xhci-dbgcap.c 	max_burst		= DBC_CTRL_MAXBURST(readl(&dbc->regs->control));
regs              124 drivers/usb/host/xhci-dbgcap.c 	xhci_write_64(xhci, dbc->ctx->dma, &dbc->regs->dccp);
regs              127 drivers/usb/host/xhci-dbgcap.c 	writel(dev_info, &dbc->regs->devinfo1);
regs              130 drivers/usb/host/xhci-dbgcap.c 	writel(dev_info, &dbc->regs->devinfo2);
regs              283 drivers/usb/host/xhci-dbgcap.c 	writel(DBC_DOOR_BELL_TARGET(dep->direction), &dbc->regs->doorbell);
regs              413 drivers/usb/host/xhci-dbgcap.c 	writel(dbc->erst.erst_size, &dbc->regs->ersts);
regs              414 drivers/usb/host/xhci-dbgcap.c 	xhci_write_64(xhci, dbc->erst.erst_dma_addr, &dbc->regs->erstba);
regs              417 drivers/usb/host/xhci-dbgcap.c 	xhci_write_64(xhci, deq, &dbc->regs->erdp);
regs              483 drivers/usb/host/xhci-dbgcap.c 	writel(0, &dbc->regs->control);
regs              484 drivers/usb/host/xhci-dbgcap.c 	ret = xhci_handshake(&dbc->regs->control,
regs              494 drivers/usb/host/xhci-dbgcap.c 	ctrl = readl(&dbc->regs->control);
regs              496 drivers/usb/host/xhci-dbgcap.c 	       &dbc->regs->control);
regs              497 drivers/usb/host/xhci-dbgcap.c 	ret = xhci_handshake(&dbc->regs->control,
regs              515 drivers/usb/host/xhci-dbgcap.c 	writel(0, &dbc->regs->control);
regs              573 drivers/usb/host/xhci-dbgcap.c 	portsc = readl(&dbc->regs->portsc);
regs              587 drivers/usb/host/xhci-dbgcap.c 	writel(portsc & ~DBC_PORTSC_RESET_CHANGE, &dbc->regs->portsc);
regs              663 drivers/usb/host/xhci-dbgcap.c 		portsc = readl(&dbc->regs->portsc);
regs              671 drivers/usb/host/xhci-dbgcap.c 		ctrl = readl(&dbc->regs->control);
regs              675 drivers/usb/host/xhci-dbgcap.c 			portsc = readl(&dbc->regs->portsc);
regs              676 drivers/usb/host/xhci-dbgcap.c 			writel(portsc, &dbc->regs->portsc);
regs              683 drivers/usb/host/xhci-dbgcap.c 		portsc = readl(&dbc->regs->portsc);
regs              696 drivers/usb/host/xhci-dbgcap.c 			writel(portsc, &dbc->regs->portsc);
regs              704 drivers/usb/host/xhci-dbgcap.c 		ctrl = readl(&dbc->regs->control);
regs              725 drivers/usb/host/xhci-dbgcap.c 			writel(ctrl, &dbc->regs->control);
regs              726 drivers/usb/host/xhci-dbgcap.c 			ctrl = readl(&dbc->regs->control);
regs              731 drivers/usb/host/xhci-dbgcap.c 		ctrl = readl(&dbc->regs->control);
regs              777 drivers/usb/host/xhci-dbgcap.c 		xhci_write_64(xhci, deq, &dbc->regs->erdp);
regs              848 drivers/usb/host/xhci-dbgcap.c 	dbc->regs = base + dbc_cap_offs;
regs              851 drivers/usb/host/xhci-dbgcap.c 	reg = readl(&dbc->regs->control);
regs              137 drivers/usb/host/xhci-dbgcap.h 	struct dbc_regs __iomem		*regs;
regs              114 drivers/usb/host/xhci-debugfs.c 				const struct debugfs_reg32 *regs,
regs              132 drivers/usb/host/xhci-debugfs.c 	regset->regs = regs;
regs              134 drivers/usb/host/xhci-debugfs.c 	regset->base = hcd->regs + base;
regs              140 drivers/usb/host/xhci-debugfs.c 				       const struct debugfs_reg32 *regs,
regs              155 drivers/usb/host/xhci-debugfs.c 		xhci_debugfs_regset(xhci, offset, regs, nregs,
regs              252 drivers/usb/host/xhci-histb.c 	hcd->regs = histb->ctrl;
regs              510 drivers/usb/host/xhci-mtk.c 	hcd->regs = devm_ioremap_resource(dev, res);
regs              511 drivers/usb/host/xhci-mtk.c 	if (IS_ERR(hcd->regs)) {
regs              512 drivers/usb/host/xhci-mtk.c 		ret = PTR_ERR(hcd->regs);
regs              223 drivers/usb/host/xhci-plat.c 	hcd->regs = devm_ioremap_resource(&pdev->dev, res);
regs              224 drivers/usb/host/xhci-plat.c 	if (IS_ERR(hcd->regs)) {
regs              225 drivers/usb/host/xhci-plat.c 		ret = PTR_ERR(hcd->regs);
regs               90 drivers/usb/host/xhci-rcar.c 	writel(RCAR_USB3_LCLK_ENA_VAL, hcd->regs + RCAR_USB3_LCLK);
regs               92 drivers/usb/host/xhci-rcar.c 	writel(RCAR_USB3_CONF1_VAL, hcd->regs + RCAR_USB3_CONF1);
regs               93 drivers/usb/host/xhci-rcar.c 	writel(RCAR_USB3_CONF2_VAL, hcd->regs + RCAR_USB3_CONF2);
regs               94 drivers/usb/host/xhci-rcar.c 	writel(RCAR_USB3_CONF3_VAL, hcd->regs + RCAR_USB3_CONF3);
regs               96 drivers/usb/host/xhci-rcar.c 	writel(RCAR_USB3_RX_POL_VAL, hcd->regs + RCAR_USB3_RX_POL);
regs               97 drivers/usb/host/xhci-rcar.c 	writel(RCAR_USB3_TX_POL_VAL, hcd->regs + RCAR_USB3_TX_POL);
regs              114 drivers/usb/host/xhci-rcar.c 	if (hcd->regs != NULL) {
regs              116 drivers/usb/host/xhci-rcar.c 		temp = readl(hcd->regs + RCAR_USB3_INT_ENA);
regs              118 drivers/usb/host/xhci-rcar.c 		writel(temp, hcd->regs + RCAR_USB3_INT_ENA);
regs              127 drivers/usb/host/xhci-rcar.c 	void __iomem *regs = hcd->regs;
regs              154 drivers/usb/host/xhci-rcar.c 	temp = readl(regs + RCAR_USB3_DL_CTRL);
regs              156 drivers/usb/host/xhci-rcar.c 	writel(temp, regs + RCAR_USB3_DL_CTRL);
regs              164 drivers/usb/host/xhci-rcar.c 		writel(data, regs + RCAR_USB3_FW_DATA0);
regs              165 drivers/usb/host/xhci-rcar.c 		temp = readl(regs + RCAR_USB3_DL_CTRL);
regs              167 drivers/usb/host/xhci-rcar.c 		writel(temp, regs + RCAR_USB3_DL_CTRL);
regs              170 drivers/usb/host/xhci-rcar.c 			val = readl(regs + RCAR_USB3_DL_CTRL);
regs              181 drivers/usb/host/xhci-rcar.c 	temp = readl(regs + RCAR_USB3_DL_CTRL);
regs              183 drivers/usb/host/xhci-rcar.c 	writel(temp, regs + RCAR_USB3_DL_CTRL);
regs              186 drivers/usb/host/xhci-rcar.c 		val = readl(regs + RCAR_USB3_DL_CTRL);
regs              207 drivers/usb/host/xhci-rcar.c 		val = readl(hcd->regs + RCAR_USB3_AXH_STA);
regs              221 drivers/usb/host/xhci-rcar.c 	if (!hcd->regs)
regs             1573 drivers/usb/host/xhci-ring.c 		writel(0x6F, hcd->regs + 0x1048);
regs             1576 drivers/usb/host/xhci-ring.c 		writel(0x7F, hcd->regs + 0x1048);
regs             1578 drivers/usb/host/xhci-ring.c 		pll_lock_check = readl(hcd->regs + 0x1070);
regs              169 drivers/usb/host/xhci-tegra.c 	void __iomem *regs;
regs              619 drivers/usb/host/xhci-tegra.c 			      struct resource *regs)
regs              634 drivers/usb/host/xhci-tegra.c 	value |= regs->start & (XUSB_BASE_ADDR_MASK << XUSB_BASE_ADDR_SHIFT);
regs              964 drivers/usb/host/xhci-tegra.c 	struct resource *res, *regs;
regs              981 drivers/usb/host/xhci-tegra.c 	regs = platform_get_resource(pdev, IORESOURCE_MEM, 0);
regs              982 drivers/usb/host/xhci-tegra.c 	tegra->regs = devm_ioremap_resource(&pdev->dev, regs);
regs              983 drivers/usb/host/xhci-tegra.c 	if (IS_ERR(tegra->regs))
regs              984 drivers/usb/host/xhci-tegra.c 		return PTR_ERR(tegra->regs);
regs             1192 drivers/usb/host/xhci-tegra.c 	tegra_xusb_config(tegra, regs);
regs             1210 drivers/usb/host/xhci-tegra.c 	tegra->hcd->regs = tegra->regs;
regs             1211 drivers/usb/host/xhci-tegra.c 	tegra->hcd->rsrc_start = regs->start;
regs             1212 drivers/usb/host/xhci-tegra.c 	tegra->hcd->rsrc_len = resource_size(regs);
regs             5191 drivers/usb/host/xhci.c 	xhci->cap_regs = hcd->regs;
regs             5192 drivers/usb/host/xhci.c 	xhci->op_regs = hcd->regs +
regs             5194 drivers/usb/host/xhci.c 	xhci->run_regs = hcd->regs +
regs             1956 drivers/usb/host/xhci.h 		__le64 __iomem *regs)
regs             1958 drivers/usb/host/xhci.h 	return lo_hi_readq(regs);
regs             1961 drivers/usb/host/xhci.h 				 const u64 val, __le64 __iomem *regs)
regs             1963 drivers/usb/host/xhci.h 	lo_hi_writeq(val, regs);
regs               42 drivers/usb/isp1760/isp1760-core.c 	isp1760_write32(isp->regs, HC_RESET_REG, SW_RESET_RESET_ALL);
regs               68 drivers/usb/isp1760/isp1760-core.c 		isp1760_write32(isp->regs, DC_MODE, 0);
regs               77 drivers/usb/isp1760/isp1760-core.c 	isp1760_write32(isp->regs, HC_HW_MODE_CTRL, hwmode);
regs               78 drivers/usb/isp1760/isp1760-core.c 	isp1760_write32(isp->regs, HC_HW_MODE_CTRL, hwmode);
regs               95 drivers/usb/isp1760/isp1760-core.c 	isp1760_write32(isp->regs, HC_PORT1_CTRL, otgctrl);
regs              104 drivers/usb/isp1760/isp1760-core.c 	isp1760_write32(isp->regs, HW_OTG_CTRL_SET,
regs              134 drivers/usb/isp1760/isp1760-core.c 	isp->regs = devm_ioremap_resource(dev, mem);
regs              135 drivers/usb/isp1760/isp1760-core.c 	if (IS_ERR(isp->regs))
regs              136 drivers/usb/isp1760/isp1760-core.c 		return PTR_ERR(isp->regs);
regs              141 drivers/usb/isp1760/isp1760-core.c 		ret = isp1760_hcd_register(&isp->hcd, isp->regs, mem, irq,
regs               41 drivers/usb/isp1760/isp1760-core.h 	void __iomem *regs;
regs              385 drivers/usb/isp1760/isp1760-hcd.c 		result = reg_read32(hcd->regs, reg);
regs              402 drivers/usb/isp1760/isp1760-hcd.c 	u32 command = reg_read32(hcd->regs, HC_USBCMD);
regs              405 drivers/usb/isp1760/isp1760-hcd.c 	reg_write32(hcd->regs, HC_USBCMD, command);
regs              453 drivers/usb/isp1760/isp1760-hcd.c 	hcc_params = reg_read32(hcd->regs, HC_HCCPARAMS);
regs              469 drivers/usb/isp1760/isp1760-hcd.c 	reg_write32(hcd->regs, HC_SCRATCH_REG, 0xdeadbabe);
regs              471 drivers/usb/isp1760/isp1760-hcd.c 	scratch = reg_read32(hcd->regs, HC_CHIP_ID_REG);
regs              472 drivers/usb/isp1760/isp1760-hcd.c 	scratch = reg_read32(hcd->regs, HC_SCRATCH_REG);
regs              486 drivers/usb/isp1760/isp1760-hcd.c 	reg_write32(hcd->regs, HC_BUFFER_STATUS_REG, 0);
regs              487 drivers/usb/isp1760/isp1760-hcd.c 	reg_write32(hcd->regs, HC_ATL_PTD_SKIPMAP_REG, NO_TRANSFER_ACTIVE);
regs              488 drivers/usb/isp1760/isp1760-hcd.c 	reg_write32(hcd->regs, HC_INT_PTD_SKIPMAP_REG, NO_TRANSFER_ACTIVE);
regs              489 drivers/usb/isp1760/isp1760-hcd.c 	reg_write32(hcd->regs, HC_ISO_PTD_SKIPMAP_REG, NO_TRANSFER_ACTIVE);
regs              498 drivers/usb/isp1760/isp1760-hcd.c 	hwmode = reg_read32(hcd->regs, HC_HW_MODE_CTRL) & ~ALL_ATX_RESET;
regs              499 drivers/usb/isp1760/isp1760-hcd.c 	reg_write32(hcd->regs, HC_HW_MODE_CTRL, hwmode | ALL_ATX_RESET);
regs              501 drivers/usb/isp1760/isp1760-hcd.c 	reg_write32(hcd->regs, HC_HW_MODE_CTRL, hwmode);
regs              503 drivers/usb/isp1760/isp1760-hcd.c 	reg_write32(hcd->regs, HC_INTERRUPT_ENABLE, INTERRUPT_ENABLE_MASK);
regs              505 drivers/usb/isp1760/isp1760-hcd.c 	priv->hcs_params = reg_read32(hcd->regs, HC_HCSPARAMS);
regs              735 drivers/usb/isp1760/isp1760-hcd.c 		priv->atl_done_map |= reg_read32(hcd->regs,
regs              739 drivers/usb/isp1760/isp1760-hcd.c 		priv->int_done_map |= reg_read32(hcd->regs,
regs              749 drivers/usb/isp1760/isp1760-hcd.c 	ptd_write(hcd->regs, ptd_offset, slot, ptd);
regs              752 drivers/usb/isp1760/isp1760-hcd.c 		skip_map = reg_read32(hcd->regs, HC_ATL_PTD_SKIPMAP_REG);
regs              754 drivers/usb/isp1760/isp1760-hcd.c 		reg_write32(hcd->regs, HC_ATL_PTD_SKIPMAP_REG, skip_map);
regs              756 drivers/usb/isp1760/isp1760-hcd.c 		skip_map = reg_read32(hcd->regs, HC_INT_PTD_SKIPMAP_REG);
regs              758 drivers/usb/isp1760/isp1760-hcd.c 		reg_write32(hcd->regs, HC_INT_PTD_SKIPMAP_REG, skip_map);
regs              788 drivers/usb/isp1760/isp1760-hcd.c 					mem_reads8(hcd->regs, qtd->payload_addr,
regs              878 drivers/usb/isp1760/isp1760-hcd.c 				mem_writes8(hcd->regs, qtd->payload_addr,
regs             1081 drivers/usb/isp1760/isp1760-hcd.c 	skip_map = reg_read32(hcd->regs, HC_INT_PTD_SKIPMAP_REG);
regs             1083 drivers/usb/isp1760/isp1760-hcd.c 	skip_map = reg_read32(hcd->regs, HC_ATL_PTD_SKIPMAP_REG);
regs             1101 drivers/usb/isp1760/isp1760-hcd.c 			ptd_read(hcd->regs, INT_PTD_OFFSET, slot, &ptd);
regs             1116 drivers/usb/isp1760/isp1760-hcd.c 			ptd_read(hcd->regs, ATL_PTD_OFFSET, slot, &ptd);
regs             1217 drivers/usb/isp1760/isp1760-hcd.c 	imask = reg_read32(hcd->regs, HC_INTERRUPT_REG);
regs             1220 drivers/usb/isp1760/isp1760-hcd.c 	reg_write32(hcd->regs, HC_INTERRUPT_REG, imask); /* Clear */
regs             1222 drivers/usb/isp1760/isp1760-hcd.c 	priv->int_done_map |= reg_read32(hcd->regs, HC_INT_PTD_DONEMAP_REG);
regs             1223 drivers/usb/isp1760/isp1760-hcd.c 	priv->atl_done_map |= reg_read32(hcd->regs, HC_ATL_PTD_DONEMAP_REG);
regs             1278 drivers/usb/isp1760/isp1760-hcd.c 			ptd_read(hcd->regs, ATL_PTD_OFFSET, slot, &ptd);
regs             1305 drivers/usb/isp1760/isp1760-hcd.c 	reg_write32(hcd->regs, HC_ATL_IRQ_MASK_AND_REG, 0);
regs             1306 drivers/usb/isp1760/isp1760-hcd.c 	reg_write32(hcd->regs, HC_ATL_IRQ_MASK_OR_REG, 0xffffffff);
regs             1307 drivers/usb/isp1760/isp1760-hcd.c 	reg_write32(hcd->regs, HC_INT_IRQ_MASK_AND_REG, 0);
regs             1308 drivers/usb/isp1760/isp1760-hcd.c 	reg_write32(hcd->regs, HC_INT_IRQ_MASK_OR_REG, 0xffffffff);
regs             1309 drivers/usb/isp1760/isp1760-hcd.c 	reg_write32(hcd->regs, HC_ISO_IRQ_MASK_AND_REG, 0);
regs             1310 drivers/usb/isp1760/isp1760-hcd.c 	reg_write32(hcd->regs, HC_ISO_IRQ_MASK_OR_REG, 0xffffffff);
regs             1313 drivers/usb/isp1760/isp1760-hcd.c 	temp = reg_read32(hcd->regs, HC_HW_MODE_CTRL);
regs             1314 drivers/usb/isp1760/isp1760-hcd.c 	reg_write32(hcd->regs, HC_HW_MODE_CTRL, temp | HW_GLOBAL_INTR_EN);
regs             1316 drivers/usb/isp1760/isp1760-hcd.c 	command = reg_read32(hcd->regs, HC_USBCMD);
regs             1319 drivers/usb/isp1760/isp1760-hcd.c 	reg_write32(hcd->regs, HC_USBCMD, command);
regs             1331 drivers/usb/isp1760/isp1760-hcd.c 	reg_write32(hcd->regs, HC_CONFIGFLAG, FLAG_CF);
regs             1343 drivers/usb/isp1760/isp1760-hcd.c 	chipid = reg_read32(hcd->regs, HC_CHIP_ID_REG);
regs             1350 drivers/usb/isp1760/isp1760-hcd.c 	reg_write32(hcd->regs, HC_ATL_PTD_LASTPTD_REG, 0x80000000);
regs             1351 drivers/usb/isp1760/isp1760-hcd.c 	reg_write32(hcd->regs, HC_INT_PTD_LASTPTD_REG, 0x80000000);
regs             1352 drivers/usb/isp1760/isp1760-hcd.c 	reg_write32(hcd->regs, HC_ISO_PTD_LASTPTD_REG, 0x00000001);
regs             1353 drivers/usb/isp1760/isp1760-hcd.c 	reg_write32(hcd->regs, HC_ATL_PTD_SKIPMAP_REG, 0xffffffff);
regs             1354 drivers/usb/isp1760/isp1760-hcd.c 	reg_write32(hcd->regs, HC_INT_PTD_SKIPMAP_REG, 0xffffffff);
regs             1355 drivers/usb/isp1760/isp1760-hcd.c 	reg_write32(hcd->regs, HC_ISO_PTD_SKIPMAP_REG, 0xffffffff);
regs             1356 drivers/usb/isp1760/isp1760-hcd.c 	reg_write32(hcd->regs, HC_BUFFER_STATUS_REG,
regs             1591 drivers/usb/isp1760/isp1760-hcd.c 		skip_map = reg_read32(hcd->regs, HC_ATL_PTD_SKIPMAP_REG);
regs             1593 drivers/usb/isp1760/isp1760-hcd.c 		reg_write32(hcd->regs, HC_ATL_PTD_SKIPMAP_REG, skip_map);
regs             1597 drivers/usb/isp1760/isp1760-hcd.c 		skip_map = reg_read32(hcd->regs, HC_INT_PTD_SKIPMAP_REG);
regs             1599 drivers/usb/isp1760/isp1760-hcd.c 		reg_write32(hcd->regs, HC_INT_PTD_SKIPMAP_REG, skip_map);
regs             1726 drivers/usb/isp1760/isp1760-hcd.c 	temp = reg_read32(hcd->regs, HC_PORTSC1);
regs             1731 drivers/usb/isp1760/isp1760-hcd.c 			reg_write32(hcd->regs, HC_PORTSC1, temp);
regs             1803 drivers/usb/isp1760/isp1760-hcd.c 		reg_write32(hcd->regs, HC_PORTSC1, port_status);
regs             1844 drivers/usb/isp1760/isp1760-hcd.c 		temp = reg_read32(hcd->regs, HC_PORTSC1);
regs             1855 drivers/usb/isp1760/isp1760-hcd.c 			reg_write32(hcd->regs, HC_PORTSC1, temp & ~PORT_PE);
regs             1869 drivers/usb/isp1760/isp1760-hcd.c 				reg_write32(hcd->regs, HC_PORTSC1,
regs             1880 drivers/usb/isp1760/isp1760-hcd.c 				reg_write32(hcd->regs, HC_PORTSC1,
regs             1884 drivers/usb/isp1760/isp1760-hcd.c 			reg_write32(hcd->regs, HC_PORTSC1, temp | PORT_CSC);
regs             1895 drivers/usb/isp1760/isp1760-hcd.c 		reg_read32(hcd->regs, HC_USBCMD);
regs             1910 drivers/usb/isp1760/isp1760-hcd.c 		temp = reg_read32(hcd->regs, HC_PORTSC1);
regs             1937 drivers/usb/isp1760/isp1760-hcd.c 				temp = reg_read32(hcd->regs, HC_PORTSC1);
regs             1938 drivers/usb/isp1760/isp1760-hcd.c 				reg_write32(hcd->regs, HC_PORTSC1,
regs             1960 drivers/usb/isp1760/isp1760-hcd.c 			reg_write32(hcd->regs, HC_PORTSC1, temp & ~PORT_RESET);
regs             1974 drivers/usb/isp1760/isp1760-hcd.c 					reg_read32(hcd->regs, HC_PORTSC1));
regs             2016 drivers/usb/isp1760/isp1760-hcd.c 		temp = reg_read32(hcd->regs, HC_PORTSC1);
regs             2023 drivers/usb/isp1760/isp1760-hcd.c 			reg_write32(hcd->regs, HC_PORTSC1, temp | PORT_PE);
regs             2031 drivers/usb/isp1760/isp1760-hcd.c 			reg_write32(hcd->regs, HC_PORTSC1, temp | PORT_SUSPEND);
regs             2035 drivers/usb/isp1760/isp1760-hcd.c 				reg_write32(hcd->regs, HC_PORTSC1,
regs             2059 drivers/usb/isp1760/isp1760-hcd.c 			reg_write32(hcd->regs, HC_PORTSC1, temp);
regs             2064 drivers/usb/isp1760/isp1760-hcd.c 		reg_read32(hcd->regs, HC_USBCMD);
regs             2081 drivers/usb/isp1760/isp1760-hcd.c 	fr = reg_read32(hcd->regs, HC_FRINDEX);
regs             2099 drivers/usb/isp1760/isp1760-hcd.c 	temp = reg_read32(hcd->regs, HC_HW_MODE_CTRL);
regs             2100 drivers/usb/isp1760/isp1760-hcd.c 	reg_write32(hcd->regs, HC_HW_MODE_CTRL, temp &= ~HW_GLOBAL_INTR_EN);
regs             2103 drivers/usb/isp1760/isp1760-hcd.c 	reg_write32(hcd->regs, HC_CONFIGFLAG, 0);
regs             2111 drivers/usb/isp1760/isp1760-hcd.c 	temp = reg_read32(hcd->regs, HC_HW_MODE_CTRL);
regs             2112 drivers/usb/isp1760/isp1760-hcd.c 	reg_write32(hcd->regs, HC_HW_MODE_CTRL, temp &= ~HW_GLOBAL_INTR_EN);
regs             2114 drivers/usb/isp1760/isp1760-hcd.c 	command = reg_read32(hcd->regs, HC_USBCMD);
regs             2116 drivers/usb/isp1760/isp1760-hcd.c 	reg_write32(hcd->regs, HC_USBCMD, command);
regs             2189 drivers/usb/isp1760/isp1760-hcd.c int isp1760_hcd_register(struct isp1760_hcd *priv, void __iomem *regs,
regs             2207 drivers/usb/isp1760/isp1760-hcd.c 	hcd->regs = regs;
regs               73 drivers/usb/isp1760/isp1760-hcd.h int isp1760_hcd_register(struct isp1760_hcd *priv, void __iomem *regs,
regs               82 drivers/usb/isp1760/isp1760-hcd.h 				       void __iomem *regs, struct resource *mem,
regs               50 drivers/usb/isp1760/isp1760-udc.c 	return isp1760_read32(udc->regs, reg);
regs               55 drivers/usb/isp1760/isp1760-udc.c 	isp1760_write32(udc->regs, reg, val);
regs              214 drivers/usb/isp1760/isp1760-udc.c 		*(u16 *)buf = le16_to_cpu(readw(udc->regs + DC_DATAPORT));
regs              270 drivers/usb/isp1760/isp1760-udc.c 		writew(cpu_to_le16(*(u16 *)buf), udc->regs + DC_DATAPORT);
regs              485 drivers/usb/isp1760/isp1760-udc.c 	writew(cpu_to_le16(status), udc->regs + DC_DATAPORT);
regs             1448 drivers/usb/isp1760/isp1760-udc.c 	udc->regs = isp->regs;
regs               67 drivers/usb/isp1760/isp1760-udc.h 	void __iomem *regs;
regs              124 drivers/usb/mtu3/mtu3_debugfs.c 				const struct debugfs_reg32 *regs, size_t nregs,
regs              136 drivers/usb/mtu3/mtu3_debugfs.c 	regset->regs = regs;
regs              146 drivers/usb/mtu3/mtu3_debugfs.c 	struct debugfs_reg32 *regs;
regs              150 drivers/usb/mtu3/mtu3_debugfs.c 	regs = devm_kcalloc(mtu->dev, 7, sizeof(*regs), GFP_KERNEL);
regs              151 drivers/usb/mtu3/mtu3_debugfs.c 	if (!regs)
regs              154 drivers/usb/mtu3/mtu3_debugfs.c 	regs[0].name = in ? "TCR0" : "RCR0";
regs              155 drivers/usb/mtu3/mtu3_debugfs.c 	regs[0].offset = in ? MU3D_EP_TXCR0(epnum) : MU3D_EP_RXCR0(epnum);
regs              156 drivers/usb/mtu3/mtu3_debugfs.c 	regs[1].name = in ? "TCR1" : "RCR1";
regs              157 drivers/usb/mtu3/mtu3_debugfs.c 	regs[1].offset = in ? MU3D_EP_TXCR1(epnum) : MU3D_EP_RXCR1(epnum);
regs              158 drivers/usb/mtu3/mtu3_debugfs.c 	regs[2].name = in ? "TCR2" : "RCR2";
regs              159 drivers/usb/mtu3/mtu3_debugfs.c 	regs[2].offset = in ? MU3D_EP_TXCR2(epnum) : MU3D_EP_RXCR2(epnum);
regs              160 drivers/usb/mtu3/mtu3_debugfs.c 	regs[3].name = in ? "TQHIAR" : "RQHIAR";
regs              161 drivers/usb/mtu3/mtu3_debugfs.c 	regs[3].offset = in ? USB_QMU_TQHIAR(epnum) : USB_QMU_RQHIAR(epnum);
regs              162 drivers/usb/mtu3/mtu3_debugfs.c 	regs[4].name = in ? "TQCSR" : "RQCSR";
regs              163 drivers/usb/mtu3/mtu3_debugfs.c 	regs[4].offset = in ? USB_QMU_TQCSR(epnum) : USB_QMU_RQCSR(epnum);
regs              164 drivers/usb/mtu3/mtu3_debugfs.c 	regs[5].name = in ? "TQSAR" : "RQSAR";
regs              165 drivers/usb/mtu3/mtu3_debugfs.c 	regs[5].offset = in ? USB_QMU_TQSAR(epnum) : USB_QMU_RQSAR(epnum);
regs              166 drivers/usb/mtu3/mtu3_debugfs.c 	regs[6].name = in ? "TQCPR" : "RQCPR";
regs              167 drivers/usb/mtu3/mtu3_debugfs.c 	regs[6].offset = in ? USB_QMU_TQCPR(epnum) : USB_QMU_RQCPR(epnum);
regs              169 drivers/usb/mtu3/mtu3_debugfs.c 	mtu3_debugfs_regset(mtu, mtu->mac_base, regs, 7, "ep-regs", parent);
regs              292 drivers/usb/mtu3/mtu3_debugfs.c 	const struct debugfs_reg32 *regs;
regs              296 drivers/usb/mtu3/mtu3_debugfs.c 		regs = &mtu3_prb_regs[i];
regs              298 drivers/usb/mtu3/mtu3_debugfs.c 		if (strcmp(regs->name, file_name) == 0)
regs              302 drivers/usb/mtu3/mtu3_debugfs.c 	seq_printf(sf, "0x%04x - 0x%08x\n", (u32)regs->offset,
regs              303 drivers/usb/mtu3/mtu3_debugfs.c 		   mtu3_readl(mtu->ippc_base, (u32)regs->offset));
regs              319 drivers/usb/mtu3/mtu3_debugfs.c 	const struct debugfs_reg32 *regs;
regs              331 drivers/usb/mtu3/mtu3_debugfs.c 		regs = &mtu3_prb_regs[i];
regs              333 drivers/usb/mtu3/mtu3_debugfs.c 		if (strcmp(regs->name, file_name) == 0)
regs              336 drivers/usb/mtu3/mtu3_debugfs.c 	mtu3_writel(mtu->ippc_base, (u32)regs->offset, val);
regs              352 drivers/usb/mtu3/mtu3_debugfs.c 	struct debugfs_reg32 *regs;
regs              359 drivers/usb/mtu3/mtu3_debugfs.c 		regs = &mtu3_prb_regs[i];
regs              360 drivers/usb/mtu3/mtu3_debugfs.c 		debugfs_create_file(regs->name, 0644, dir_prb,
regs              366 drivers/usb/musb/cppi_dma.c 		musb_readw(c->hw_ep->regs, MUSB_RXCSR),
regs              394 drivers/usb/musb/cppi_dma.c 		musb_readw(c->hw_ep->regs, MUSB_TXCSR),
regs              496 drivers/usb/musb/cppi_dma.c 		void __iomem	*regs = rx->hw_ep->regs;
regs              498 drivers/usb/musb/cppi_dma.c 		val = musb_readw(regs, MUSB_RXCSR);
regs              501 drivers/usb/musb/cppi_dma.c 			musb_writew(regs, MUSB_RXCSR, val);
regs              503 drivers/usb/musb/cppi_dma.c 			val = musb_readw(regs, MUSB_RXCSR);
regs             1011 drivers/usb/musb/cppi_dma.c 	void __iomem			*regs = rx->hw_ep->regs;
regs             1101 drivers/usb/musb/cppi_dma.c 		csr = musb_readw(regs, MUSB_RXCSR);
regs             1123 drivers/usb/musb/cppi_dma.c 		csr = musb_readw(rx->hw_ep->regs, MUSB_RXCSR);
regs             1128 drivers/usb/musb/cppi_dma.c 			musb_writew(regs, MUSB_RXCSR,
regs             1130 drivers/usb/musb/cppi_dma.c 			csr = musb_readw(rx->hw_ep->regs, MUSB_RXCSR);
regs             1378 drivers/usb/musb/cppi_dma.c 	void __iomem		*regs;
regs             1392 drivers/usb/musb/cppi_dma.c 		regs = cppi_ch->hw_ep->regs;
regs             1439 drivers/usb/musb/cppi_dma.c 		value = musb_readw(regs, MUSB_TXCSR);
regs             1442 drivers/usb/musb/cppi_dma.c 		musb_writew(regs, MUSB_TXCSR, value);
regs             1443 drivers/usb/musb/cppi_dma.c 		musb_writew(regs, MUSB_TXCSR, value);
regs             1478 drivers/usb/musb/cppi_dma.c 		csr = musb_readw(regs, MUSB_RXCSR);
regs             1489 drivers/usb/musb/cppi_dma.c 		musb_writew(regs, MUSB_RXCSR, csr);
regs             1490 drivers/usb/musb/cppi_dma.c 		csr = musb_readw(regs, MUSB_RXCSR);
regs              441 drivers/usb/musb/musb_core.c 	void __iomem	*regs = musb->endpoints[0].regs;
regs              446 drivers/usb/musb/musb_core.c 	musb_writew(regs, MUSB_CSR0, MUSB_CSR0_TXPKTRDY);
regs             1035 drivers/usb/musb/musb_core.c 	void __iomem    *regs = musb->mregs;
regs             1039 drivers/usb/musb/musb_core.c 	musb_writew(regs, MUSB_INTRTXE, musb->intrtxe);
regs             1041 drivers/usb/musb/musb_core.c 	musb_writew(regs, MUSB_INTRRXE, musb->intrrxe);
regs             1042 drivers/usb/musb/musb_core.c 	musb_writeb(regs, MUSB_INTRUSBE, 0xf7);
regs             1051 drivers/usb/musb/musb_core.c 	void __iomem    *regs = musb->mregs;
regs             1052 drivers/usb/musb/musb_core.c 	u8              devctl = musb_readb(regs, MUSB_DEVCTL);
regs             1058 drivers/usb/musb/musb_core.c 	musb_writeb(regs, MUSB_TESTMODE, 0);
regs             1068 drivers/usb/musb/musb_core.c 	musb_writeb(regs, MUSB_POWER, power);
regs             1071 drivers/usb/musb/musb_core.c 	devctl = musb_readb(regs, MUSB_DEVCTL);
regs             1088 drivers/usb/musb/musb_core.c 	musb_writeb(regs, MUSB_DEVCTL, devctl);
regs             1551 drivers/usb/musb/musb_core.c 		hw_ep->regs = musb->io.ep_offset(i, 0) + mbase;
regs             2521 drivers/usb/musb/musb_core.c 		epio = hw_ep->regs;
regs             2602 drivers/usb/musb/musb_core.c 		epio = hw_ep->regs;
regs              194 drivers/usb/musb/musb_core.h 	void __iomem		*regs;
regs               64 drivers/usb/musb/musb_cppi41.c 	csr = musb_readw(cppi41_channel->hw_ep->regs, MUSB_RXCSR);
regs               83 drivers/usb/musb/musb_cppi41.c 	csr = musb_readw(hw_ep->regs, MUSB_RXCSR);
regs               93 drivers/usb/musb/musb_cppi41.c 		musb_writew(cppi41_channel->hw_ep->regs, MUSB_RXCSR, csr);
regs              104 drivers/usb/musb/musb_cppi41.c 	void __iomem	*epio = musb->endpoints[epnum].regs;
regs              121 drivers/usb/musb/musb_cppi41.c 	void __iomem *epio = hw_ep->regs;
regs              578 drivers/usb/musb/musb_cppi41.c 	void __iomem *epio = cppi41_channel->hw_ep->regs;
regs              417 drivers/usb/musb/musb_dsps.c 	glue->regset.regs = dsps_musb_regs;
regs              162 drivers/usb/musb/musb_gadget.c 	void __iomem *epio = ep->musb->endpoints[ep->current_epnum].regs;
regs              227 drivers/usb/musb/musb_gadget.c 	void __iomem		*epio = musb->endpoints[epnum].regs;
regs              413 drivers/usb/musb/musb_gadget.c 	void __iomem		*epio = musb->endpoints[epnum].regs;
regs              523 drivers/usb/musb/musb_gadget.c 	void __iomem		*epio = musb->endpoints[epnum].regs;
regs              794 drivers/usb/musb/musb_gadget.c 	void __iomem		*epio = musb->endpoints[epnum].regs;
regs              911 drivers/usb/musb/musb_gadget.c 	void __iomem		*regs;
regs              924 drivers/usb/musb/musb_gadget.c 	regs = hw_ep->regs;
regs              991 drivers/usb/musb/musb_gadget.c 		musb_writew(regs, MUSB_TXMAXP, musb_ep->packet_sz
regs              995 drivers/usb/musb/musb_gadget.c 		if (musb_readw(regs, MUSB_TXCSR)
regs             1002 drivers/usb/musb/musb_gadget.c 		musb_writew(regs, MUSB_TXCSR, csr);
regs             1004 drivers/usb/musb/musb_gadget.c 		musb_writew(regs, MUSB_TXCSR, csr);
regs             1027 drivers/usb/musb/musb_gadget.c 		musb_writew(regs, MUSB_RXMAXP, musb_ep->packet_sz
regs             1032 drivers/usb/musb/musb_gadget.c 			csr = musb_readw(regs, MUSB_TXCSR);
regs             1034 drivers/usb/musb/musb_gadget.c 			musb_writew(regs, MUSB_TXCSR, csr);
regs             1044 drivers/usb/musb/musb_gadget.c 		musb_writew(regs, MUSB_RXCSR, csr);
regs             1045 drivers/usb/musb/musb_gadget.c 		musb_writew(regs, MUSB_RXCSR, csr);
regs             1093 drivers/usb/musb/musb_gadget.c 	epio = musb->endpoints[epnum].regs;
regs             1329 drivers/usb/musb/musb_gadget.c 	void __iomem		*epio = musb->endpoints[epnum].regs;
regs             1425 drivers/usb/musb/musb_gadget.c 	void __iomem		*epio = musb_ep->hw_ep->regs;
regs             1450 drivers/usb/musb/musb_gadget.c 	void __iomem	*epio = musb->endpoints[epnum].regs;
regs               83 drivers/usb/musb/musb_gadget_ep0.c 		void __iomem	*regs;
regs              102 drivers/usb/musb/musb_gadget_ep0.c 		regs = musb->endpoints[epnum].regs;
regs              111 drivers/usb/musb/musb_gadget_ep0.c 			tmp = musb_readw(regs, MUSB_TXCSR)
regs              114 drivers/usb/musb/musb_gadget_ep0.c 			tmp = musb_readw(regs, MUSB_RXCSR)
regs              241 drivers/usb/musb/musb_gadget_ep0.c 				void __iomem		*regs;
regs              250 drivers/usb/musb/musb_gadget_ep0.c 				regs = ep->regs;
regs              266 drivers/usb/musb/musb_gadget_ep0.c 					csr  = musb_readw(regs, MUSB_TXCSR);
regs              272 drivers/usb/musb/musb_gadget_ep0.c 					musb_writew(regs, MUSB_TXCSR, csr);
regs              274 drivers/usb/musb/musb_gadget_ep0.c 					csr  = musb_readw(regs, MUSB_RXCSR);
regs              279 drivers/usb/musb/musb_gadget_ep0.c 					musb_writew(regs, MUSB_RXCSR, csr);
regs              405 drivers/usb/musb/musb_gadget_ep0.c 				void __iomem		*regs;
regs              414 drivers/usb/musb/musb_gadget_ep0.c 				regs = ep->regs;
regs              425 drivers/usb/musb/musb_gadget_ep0.c 					csr = musb_readw(regs, MUSB_TXCSR);
regs              431 drivers/usb/musb/musb_gadget_ep0.c 					musb_writew(regs, MUSB_TXCSR, csr);
regs              433 drivers/usb/musb/musb_gadget_ep0.c 					csr = musb_readw(regs, MUSB_RXCSR);
regs              438 drivers/usb/musb/musb_gadget_ep0.c 					musb_writew(regs, MUSB_RXCSR, csr);
regs              466 drivers/usb/musb/musb_gadget_ep0.c 	void __iomem		*regs = musb->control_ep->regs;
regs              482 drivers/usb/musb/musb_gadget_ep0.c 		count = musb_readb(regs, MUSB_COUNT0);
regs              512 drivers/usb/musb/musb_gadget_ep0.c 	musb_writew(regs, MUSB_CSR0, csr);
regs              523 drivers/usb/musb/musb_gadget_ep0.c 	void __iomem		*regs = musb->control_ep->regs;
regs              532 drivers/usb/musb/musb_gadget_ep0.c 		musb_dbg(musb, "odd; csr0 %04x", musb_readw(regs, MUSB_CSR0));
regs              569 drivers/usb/musb/musb_gadget_ep0.c 	musb_writew(regs, MUSB_CSR0, csr);
regs              582 drivers/usb/musb/musb_gadget_ep0.c 	void __iomem		*regs = musb->control_ep->regs;
regs              617 drivers/usb/musb/musb_gadget_ep0.c 		musb_writew(regs, MUSB_CSR0, MUSB_CSR0_P_SVDRXPKTRDY);
regs              618 drivers/usb/musb/musb_gadget_ep0.c 		while ((musb_readw(regs, MUSB_CSR0)
regs              650 drivers/usb/musb/musb_gadget_ep0.c 	void __iomem	*regs = musb->endpoints[0].regs;
regs              654 drivers/usb/musb/musb_gadget_ep0.c 	csr = musb_readw(regs, MUSB_CSR0);
regs              655 drivers/usb/musb/musb_gadget_ep0.c 	len = musb_readb(regs, MUSB_COUNT0);
regs              670 drivers/usb/musb/musb_gadget_ep0.c 		musb_writew(regs, MUSB_CSR0,
regs              674 drivers/usb/musb/musb_gadget_ep0.c 		csr = musb_readw(regs, MUSB_CSR0);
regs              679 drivers/usb/musb/musb_gadget_ep0.c 		musb_writew(regs, MUSB_CSR0, MUSB_CSR0_P_SVDSETUPEND);
regs              693 drivers/usb/musb/musb_gadget_ep0.c 		csr = musb_readw(regs, MUSB_CSR0);
regs              867 drivers/usb/musb/musb_gadget_ep0.c 				musb_writew(regs, MUSB_CSR0,
regs              884 drivers/usb/musb/musb_gadget_ep0.c 		musb_writew(regs, MUSB_CSR0, MUSB_CSR0_P_SENDSTALL);
regs              914 drivers/usb/musb/musb_gadget_ep0.c 	void __iomem		*regs;
regs              921 drivers/usb/musb/musb_gadget_ep0.c 	regs = musb->control_ep->regs;
regs              968 drivers/usb/musb/musb_gadget_ep0.c 			musb_writew(regs, MUSB_CSR0,
regs              979 drivers/usb/musb/musb_gadget_ep0.c 		musb_writew(regs, MUSB_CSR0, musb->ackpend);
regs              998 drivers/usb/musb/musb_gadget_ep0.c 	void __iomem		*base, *regs;
regs             1009 drivers/usb/musb/musb_gadget_ep0.c 	regs = musb->control_ep->regs;
regs             1030 drivers/usb/musb/musb_gadget_ep0.c 		csr = musb_readw(regs, MUSB_CSR0);
regs             1040 drivers/usb/musb/musb_gadget_ep0.c 		musb_writew(regs, MUSB_CSR0, csr);
regs               89 drivers/usb/musb/musb_host.c 	void __iomem	*epio = ep->regs;
regs              123 drivers/usb/musb/musb_host.c 	void __iomem	*epio = ep->regs;
regs              154 drivers/usb/musb/musb_host.c 		txcsr = musb_readw(ep->regs, MUSB_TXCSR);
regs              156 drivers/usb/musb/musb_host.c 		musb_writew(ep->regs, MUSB_TXCSR, txcsr);
regs              159 drivers/usb/musb/musb_host.c 		musb_writew(ep->regs, MUSB_CSR0, txcsr);
regs              169 drivers/usb/musb/musb_host.c 	txcsr = musb_readw(ep->regs, MUSB_TXCSR);
regs              173 drivers/usb/musb/musb_host.c 	musb_writew(ep->regs, MUSB_TXCSR, txcsr);
regs              293 drivers/usb/musb/musb_host.c 	void __iomem		*epio = qh->hw_ep->regs;
regs              414 drivers/usb/musb/musb_host.c 	musb_writew(hw_ep->regs, MUSB_RXCSR, csr);
regs              415 drivers/usb/musb/musb_host.c 	musb_writew(hw_ep->regs, MUSB_RXCSR, csr);
regs              418 drivers/usb/musb/musb_host.c 	return musb_readw(hw_ep->regs, MUSB_RXCSR);
regs              434 drivers/usb/musb/musb_host.c 	void __iomem		*epio = hw_ep->regs;
regs              538 drivers/usb/musb/musb_host.c 		csr = musb_readw(ep->regs, MUSB_TXCSR);
regs              541 drivers/usb/musb/musb_host.c 			csr = musb_readw(ep->regs, MUSB_TXCSR);
regs              542 drivers/usb/musb/musb_host.c 			musb_writew(ep->regs, MUSB_TXCSR,
regs              551 drivers/usb/musb/musb_host.c 			musb_writew(ep->regs, MUSB_TXCSR, MUSB_TXCSR_DMAMODE);
regs              552 drivers/usb/musb/musb_host.c 		musb_writew(ep->regs, MUSB_TXCSR, 0);
regs              556 drivers/usb/musb/musb_host.c 	csr = musb_readw(ep->regs, MUSB_RXCSR);
regs              559 drivers/usb/musb/musb_host.c 			musb_readw(ep->regs, MUSB_RXCOUNT));
regs              572 drivers/usb/musb/musb_host.c 	musb_writeb(ep->regs, MUSB_RXTYPE, qh->type_reg);
regs              573 drivers/usb/musb/musb_host.c 	musb_writeb(ep->regs, MUSB_RXINTERVAL, qh->intv_reg);
regs              578 drivers/usb/musb/musb_host.c 	musb_writew(ep->regs, MUSB_RXMAXP,
regs              590 drivers/usb/musb/musb_host.c 	void __iomem		*epio = hw_ep->regs;
regs              669 drivers/usb/musb/musb_host.c 		void __iomem *epio = hw_ep->regs;
regs              696 drivers/usb/musb/musb_host.c 	void __iomem		*epio = hw_ep->regs;
regs              878 drivers/usb/musb/musb_host.c 			csr = musb_readw(hw_ep->regs, MUSB_RXCSR);
regs              898 drivers/usb/musb/musb_host.c 			musb_writew(hw_ep->regs, MUSB_RXCSR, csr);
regs              899 drivers/usb/musb/musb_host.c 			csr = musb_readw(hw_ep->regs, MUSB_RXCSR);
regs              919 drivers/usb/musb/musb_host.c 		musb_writew(hw_ep->regs, MUSB_RXCSR, csr);
regs              920 drivers/usb/musb/musb_host.c 		csr = musb_readw(hw_ep->regs, MUSB_RXCSR);
regs              933 drivers/usb/musb/musb_host.c 	void __iomem		*epio = ep->regs;
regs             1087 drivers/usb/musb/musb_host.c 	void __iomem		*epio = hw_ep->regs;
regs             1229 drivers/usb/musb/musb_host.c 	void __iomem		*epio = hw_ep->regs;
regs             1497 drivers/usb/musb/musb_host.c 	void __iomem *epio = hw_ep->regs;
regs             1509 drivers/usb/musb/musb_host.c 	musb_writew(hw_ep->regs, MUSB_RXCSR, val);
regs             1568 drivers/usb/musb/musb_host.c 	void __iomem *epio = hw_ep->regs;
regs             1639 drivers/usb/musb/musb_host.c 	void __iomem *epio = hw_ep->regs;
regs             1760 drivers/usb/musb/musb_host.c 	void __iomem		*epio = hw_ep->regs;
regs             1903 drivers/usb/musb/musb_host.c 		musb_writew(hw_ep->regs, MUSB_RXCSR, val);
regs             2079 drivers/usb/musb/musb_host.c 			txtype = (musb_readb(hw_ep->regs, MUSB_TXTYPE)
regs             2332 drivers/usb/musb/musb_host.c 	void __iomem		*epio = ep->regs;
regs             2334 drivers/usb/musb/musb_host.c 	void __iomem		*regs = ep->musb->mregs;
regs             2340 drivers/usb/musb/musb_host.c 	musb_ep_select(regs, hw_end);
regs              171 drivers/usb/musb/tusb6010_omap.c 			csr = musb_readw(hw_ep->regs, MUSB_TXCSR);
regs              174 drivers/usb/musb/tusb6010_omap.c 			musb_writew(hw_ep->regs, MUSB_TXCSR, csr);
regs              328 drivers/usb/musb/tusb6010_omap.c 		csr = musb_readw(hw_ep->regs, MUSB_TXCSR);
regs              332 drivers/usb/musb/tusb6010_omap.c 		musb_writew(hw_ep->regs, MUSB_TXCSR, csr);
regs              334 drivers/usb/musb/tusb6010_omap.c 		csr = musb_readw(hw_ep->regs, MUSB_RXCSR);
regs              337 drivers/usb/musb/tusb6010_omap.c 		musb_writew(hw_ep->regs, MUSB_RXCSR,
regs              212 drivers/usb/musb/ux500_dma.c 	void __iomem *epio = musb->endpoints[ux500_channel->hw_ep->epnum].regs;
regs              859 drivers/usb/phy/phy-fsl-usb.c 	pdata->regs = (void *)usb_dr_regs;
regs              199 drivers/usb/phy/phy-tegra-usb.c 	void __iomem *base = phy->regs;
regs              217 drivers/usb/phy/phy-tegra-usb.c 	void __iomem *base = phy->regs;
regs              387 drivers/usb/phy/phy-tegra-usb.c 	void __iomem *base = phy->regs;
regs              418 drivers/usb/phy/phy-tegra-usb.c 	void __iomem *base = phy->regs;
regs              451 drivers/usb/phy/phy-tegra-usb.c 	void __iomem *base = phy->regs;
regs              600 drivers/usb/phy/phy-tegra-usb.c 	void __iomem *base = phy->regs;
regs              635 drivers/usb/phy/phy-tegra-usb.c 	void __iomem *base = phy->regs;
regs              645 drivers/usb/phy/phy-tegra-usb.c 	void __iomem *base = phy->regs;
regs              656 drivers/usb/phy/phy-tegra-usb.c 	void __iomem *base = phy->regs;
regs              676 drivers/usb/phy/phy-tegra-usb.c 	void __iomem *base = phy->regs;
regs              688 drivers/usb/phy/phy-tegra-usb.c 	void __iomem *base = phy->regs;
regs              834 drivers/usb/phy/phy-tegra-usb.c 	phy->ulpi->io_priv = phy->regs + ULPI_VIEWPORT;
regs             1080 drivers/usb/phy/phy-tegra-usb.c 	tegra_phy->regs = devm_ioremap(&pdev->dev, res->start,
regs             1082 drivers/usb/phy/phy-tegra-usb.c 	if (!tegra_phy->regs) {
regs              166 drivers/usb/storage/cypress_atacb.c 		unsigned char regs[8];
regs              172 drivers/usb/storage/cypress_atacb.c 		scsi_eh_prep_cmnd(srb, &ses, NULL, 0, sizeof(regs));
regs              184 drivers/usb/storage/cypress_atacb.c 		memcpy(regs, srb->sense_buffer, sizeof(regs));
regs              216 drivers/usb/storage/cypress_atacb.c 		desc[ 3] = regs[1];  /* features */
regs              217 drivers/usb/storage/cypress_atacb.c 		desc[ 5] = regs[2];  /* sector count */
regs              218 drivers/usb/storage/cypress_atacb.c 		desc[ 7] = regs[3];  /* lba low */
regs              219 drivers/usb/storage/cypress_atacb.c 		desc[ 9] = regs[4];  /* lba med */
regs              220 drivers/usb/storage/cypress_atacb.c 		desc[11] = regs[5];  /* lba high */
regs              221 drivers/usb/storage/cypress_atacb.c 		desc[12] = regs[6];  /* device */
regs              222 drivers/usb/storage/cypress_atacb.c 		desc[13] = regs[7];  /* command */
regs              915 drivers/usb/storage/isd200.c 	unsigned char *regs = info->RegsBuf;
regs              931 drivers/usb/storage/isd200.c 					regs, 8 );
regs              936 drivers/usb/storage/isd200.c 			if (regs[ATA_REG_STATUS_OFFSET] & ATA_BUSY) {
regs              950 drivers/usb/storage/isd200.c 		else if (regs[ATA_REG_STATUS_OFFSET] &
regs              955 drivers/usb/storage/isd200.c 		else if (regs[ATA_REG_STATUS_OFFSET] & ATA_DRDY) {
regs              965 drivers/usb/storage/isd200.c 		else if (regs[ATA_REG_HCYL_OFFSET] == 0xEB &&
regs              966 drivers/usb/storage/isd200.c 			 regs[ATA_REG_LCYL_OFFSET] == 0x14) {
regs               58 drivers/video/console/newport_con.c #define RENDER(regs, cp) do { \
regs               59 drivers/video/console/newport_con.c (regs)->go.zpattern = BMASK((cp)[0x0]); (regs)->go.zpattern = BMASK((cp)[0x1]); \
regs               60 drivers/video/console/newport_con.c (regs)->go.zpattern = BMASK((cp)[0x2]); (regs)->go.zpattern = BMASK((cp)[0x3]); \
regs               61 drivers/video/console/newport_con.c (regs)->go.zpattern = BMASK((cp)[0x4]); (regs)->go.zpattern = BMASK((cp)[0x5]); \
regs               62 drivers/video/console/newport_con.c (regs)->go.zpattern = BMASK((cp)[0x6]); (regs)->go.zpattern = BMASK((cp)[0x7]); \
regs               63 drivers/video/console/newport_con.c (regs)->go.zpattern = BMASK((cp)[0x8]); (regs)->go.zpattern = BMASK((cp)[0x9]); \
regs               64 drivers/video/console/newport_con.c (regs)->go.zpattern = BMASK((cp)[0xa]); (regs)->go.zpattern = BMASK((cp)[0xb]); \
regs               65 drivers/video/console/newport_con.c (regs)->go.zpattern = BMASK((cp)[0xc]); (regs)->go.zpattern = BMASK((cp)[0xd]); \
regs               66 drivers/video/console/newport_con.c (regs)->go.zpattern = BMASK((cp)[0xe]); (regs)->go.zpattern = BMASK((cp)[0xf]); \
regs               59 drivers/video/fbdev/amba-clcd.c 	writel(ustart, fb->regs + CLCD_UBAS);
regs               60 drivers/video/fbdev/amba-clcd.c 	writel(lstart, fb->regs + CLCD_LBAS);
regs               75 drivers/video/fbdev/amba-clcd.c 	val = readl(fb->regs + fb->off_cntl);
regs               78 drivers/video/fbdev/amba-clcd.c 		writel(val, fb->regs + fb->off_cntl);
regs               84 drivers/video/fbdev/amba-clcd.c 		writel(val, fb->regs + fb->off_cntl);
regs              110 drivers/video/fbdev/amba-clcd.c 	writel(cntl, fb->regs + fb->off_cntl);
regs              118 drivers/video/fbdev/amba-clcd.c 	writel(cntl, fb->regs + fb->off_cntl);
regs              295 drivers/video/fbdev/amba-clcd.c 	struct clcd_regs regs;
regs              305 drivers/video/fbdev/amba-clcd.c 	fb->board->decode(fb, &regs);
regs              309 drivers/video/fbdev/amba-clcd.c 	writel(regs.tim0, fb->regs + CLCD_TIM0);
regs              310 drivers/video/fbdev/amba-clcd.c 	writel(regs.tim1, fb->regs + CLCD_TIM1);
regs              311 drivers/video/fbdev/amba-clcd.c 	writel(regs.tim2, fb->regs + CLCD_TIM2);
regs              312 drivers/video/fbdev/amba-clcd.c 	writel(regs.tim3, fb->regs + CLCD_TIM3);
regs              316 drivers/video/fbdev/amba-clcd.c 	clk_set_rate(fb->clk, (1000000000 / regs.pixclock) * 1000);
regs              318 drivers/video/fbdev/amba-clcd.c 	fb->clcd_cntl = regs.cntl;
regs              320 drivers/video/fbdev/amba-clcd.c 	clcdfb_enable(fb, regs.cntl);
regs              327 drivers/video/fbdev/amba-clcd.c 		readl(fb->regs + CLCD_TIM0), readl(fb->regs + CLCD_TIM1),
regs              328 drivers/video/fbdev/amba-clcd.c 		readl(fb->regs + CLCD_TIM2), readl(fb->regs + CLCD_TIM3),
regs              329 drivers/video/fbdev/amba-clcd.c 		readl(fb->regs + CLCD_UBAS), readl(fb->regs + CLCD_LBAS),
regs              330 drivers/video/fbdev/amba-clcd.c 		readl(fb->regs + fb->off_ienb), readl(fb->regs + fb->off_cntl));
regs              381 drivers/video/fbdev/amba-clcd.c 		val = readl(fb->regs + hw_reg) & mask;
regs              382 drivers/video/fbdev/amba-clcd.c 		writel(val | newval, fb->regs + hw_reg);
regs              469 drivers/video/fbdev/amba-clcd.c 	fb->regs = ioremap(fb->fb.fix.mmio_start, fb->fb.fix.mmio_len);
regs              470 drivers/video/fbdev/amba-clcd.c 	if (!fb->regs) {
regs              531 drivers/video/fbdev/amba-clcd.c 	writel(0, fb->regs + fb->off_ienb);
regs              546 drivers/video/fbdev/amba-clcd.c 	iounmap(fb->regs);
regs              939 drivers/video/fbdev/amba-clcd.c 	iounmap(fb->regs);
regs             1047 drivers/video/fbdev/atmel_lcdfb.c 	struct resource *regs = NULL;
regs             1108 drivers/video/fbdev/atmel_lcdfb.c 	regs = platform_get_resource(pdev, IORESOURCE_MEM, 0);
regs             1109 drivers/video/fbdev/atmel_lcdfb.c 	if (!regs) {
regs             1155 drivers/video/fbdev/atmel_lcdfb.c 	info->fix.mmio_start = regs->start;
regs             1156 drivers/video/fbdev/atmel_lcdfb.c 	info->fix.mmio_len = resource_size(regs);
regs             1530 drivers/video/fbdev/aty/radeon_base.c static void radeon_calc_pll_regs(struct radeonfb_info *rinfo, struct radeon_regs *regs,
regs             1639 drivers/video/fbdev/aty/radeon_base.c 	regs->ppll_ref_div = rinfo->pll.ref_div;
regs             1640 drivers/video/fbdev/aty/radeon_base.c 	regs->ppll_div_3 = fb_div | (post_div->bitvalue << 16);
regs             1644 drivers/video/fbdev/aty/radeon_base.c 	pr_debug("ppll_div_3 = 0x%x\n", regs->ppll_div_3);
regs              116 drivers/video/fbdev/au1100fb.c 		fbdev->regs->lcd_control |= LCD_CONTROL_GO;
regs              124 drivers/video/fbdev/au1100fb.c 		fbdev->regs->lcd_control &= ~LCD_CONTROL_GO;
regs              192 drivers/video/fbdev/au1100fb.c 	fbdev->regs->lcd_control = fbdev->panel->control_base;
regs              193 drivers/video/fbdev/au1100fb.c 	fbdev->regs->lcd_horztiming = fbdev->panel->horztiming;
regs              194 drivers/video/fbdev/au1100fb.c 	fbdev->regs->lcd_verttiming = fbdev->panel->verttiming;
regs              195 drivers/video/fbdev/au1100fb.c 	fbdev->regs->lcd_clkcontrol = fbdev->panel->clkcontrol_base;
regs              196 drivers/video/fbdev/au1100fb.c 	fbdev->regs->lcd_intenable = 0;
regs              197 drivers/video/fbdev/au1100fb.c 	fbdev->regs->lcd_intstatus = 0;
regs              198 drivers/video/fbdev/au1100fb.c 	fbdev->regs->lcd_dmaaddr0 = LCD_DMA_SA_N(fbdev->fb_phys);
regs              204 drivers/video/fbdev/au1100fb.c 			fbdev->regs->lcd_dmaaddr1 = LCD_DMA_SA_N(fbdev->fb_phys +
regs              208 drivers/video/fbdev/au1100fb.c 			fbdev->regs->lcd_dmaaddr1 = LCD_DMA_SA_N(fbdev->fb_phys);
regs              219 drivers/video/fbdev/au1100fb.c 	fbdev->regs->lcd_words = LCD_WRD_WRDS_N(words);
regs              221 drivers/video/fbdev/au1100fb.c 	fbdev->regs->lcd_pwmdiv = 0;
regs              222 drivers/video/fbdev/au1100fb.c 	fbdev->regs->lcd_pwmhi = 0;
regs              225 drivers/video/fbdev/au1100fb.c 	fbdev->regs->lcd_control |= LCD_CONTROL_GO;
regs              242 drivers/video/fbdev/au1100fb.c 	palette = fbdev->regs->lcd_pallettebase;
regs              320 drivers/video/fbdev/au1100fb.c 		dmaaddr = fbdev->regs->lcd_dmaaddr0;
regs              324 drivers/video/fbdev/au1100fb.c 		fbdev->regs->lcd_dmaaddr0 = LCD_DMA_SA_N(dmaaddr);
regs              327 drivers/video/fbdev/au1100fb.c 			dmaaddr = fbdev->regs->lcd_dmaaddr1;
regs              329 drivers/video/fbdev/au1100fb.c 			fbdev->regs->lcd_dmaaddr0 = LCD_DMA_SA_N(dmaaddr);
regs              445 drivers/video/fbdev/au1100fb.c 	fbdev->regs = (struct au1100fb_regs*)KSEG1ADDR(au1100fb_fix.mmio_start);
regs              447 drivers/video/fbdev/au1100fb.c 	print_dbg("Register memory map at %p", fbdev->regs);
regs              535 drivers/video/fbdev/au1100fb.c 	fbdev->regs->lcd_control &= ~LCD_CONTROL_GO;
regs              566 drivers/video/fbdev/au1100fb.c 	memcpy(&fbregs, fbdev->regs, sizeof(struct au1100fb_regs));
regs              578 drivers/video/fbdev/au1100fb.c 	memcpy(fbdev->regs, &fbregs, sizeof(struct au1100fb_regs));
regs              104 drivers/video/fbdev/au1100fb.h 	struct au1100fb_regs* 	regs;		/* Registers memory map */
regs               76 drivers/video/fbdev/bt431.h static inline void bt431_select_reg(struct bt431_regs *regs, int ir)
regs               82 drivers/video/fbdev/bt431.h 	volatile u16 *lo = &(regs->addr_lo);
regs               83 drivers/video/fbdev/bt431.h 	volatile u16 *hi = &(regs->addr_hi);
regs               92 drivers/video/fbdev/bt431.h static inline u8 bt431_read_reg_inc(struct bt431_regs *regs)
regs               98 drivers/video/fbdev/bt431.h 	volatile u16 *r = &(regs->addr_reg);
regs              104 drivers/video/fbdev/bt431.h static inline void bt431_write_reg_inc(struct bt431_regs *regs, u8 value)
regs              110 drivers/video/fbdev/bt431.h 	volatile u16 *r = &(regs->addr_reg);
regs              116 drivers/video/fbdev/bt431.h static inline u8 bt431_read_reg(struct bt431_regs *regs, int ir)
regs              118 drivers/video/fbdev/bt431.h 	bt431_select_reg(regs, ir);
regs              119 drivers/video/fbdev/bt431.h 	return bt431_read_reg_inc(regs);
regs              122 drivers/video/fbdev/bt431.h static inline void bt431_write_reg(struct bt431_regs *regs, int ir, u8 value)
regs              124 drivers/video/fbdev/bt431.h 	bt431_select_reg(regs, ir);
regs              125 drivers/video/fbdev/bt431.h 	bt431_write_reg_inc(regs, value);
regs              129 drivers/video/fbdev/bt431.h static inline u16 bt431_read_cmap_inc(struct bt431_regs *regs)
regs              135 drivers/video/fbdev/bt431.h 	volatile u16 *r = &(regs->addr_cmap);
regs              141 drivers/video/fbdev/bt431.h static inline void bt431_write_cmap_inc(struct bt431_regs *regs, u16 value)
regs              147 drivers/video/fbdev/bt431.h 	volatile u16 *r = &(regs->addr_cmap);
regs              153 drivers/video/fbdev/bt431.h static inline u16 bt431_read_cmap(struct bt431_regs *regs, int cr)
regs              155 drivers/video/fbdev/bt431.h 	bt431_select_reg(regs, cr);
regs              156 drivers/video/fbdev/bt431.h 	return bt431_read_cmap_inc(regs);
regs              159 drivers/video/fbdev/bt431.h static inline void bt431_write_cmap(struct bt431_regs *regs, int cr, u16 value)
regs              161 drivers/video/fbdev/bt431.h 	bt431_select_reg(regs, cr);
regs              162 drivers/video/fbdev/bt431.h 	bt431_write_cmap_inc(regs, value);
regs              165 drivers/video/fbdev/bt431.h static inline void bt431_enable_cursor(struct bt431_regs *regs)
regs              167 drivers/video/fbdev/bt431.h 	bt431_write_reg(regs, BT431_REG_CMD,
regs              172 drivers/video/fbdev/bt431.h static inline void bt431_erase_cursor(struct bt431_regs *regs)
regs              174 drivers/video/fbdev/bt431.h 	bt431_write_reg(regs, BT431_REG_CMD, BT431_CMD_4_1_MUX);
regs              177 drivers/video/fbdev/bt431.h static inline void bt431_position_cursor(struct bt431_regs *regs, u16 x, u16 y)
regs              195 drivers/video/fbdev/bt431.h 	bt431_select_reg(regs, BT431_REG_CXLO);
regs              196 drivers/video/fbdev/bt431.h 	bt431_write_reg_inc(regs, x & 0xff); /* BT431_REG_CXLO */
regs              197 drivers/video/fbdev/bt431.h 	bt431_write_reg_inc(regs, (x >> 8) & 0x0f); /* BT431_REG_CXHI */
regs              198 drivers/video/fbdev/bt431.h 	bt431_write_reg_inc(regs, y & 0xff); /* BT431_REG_CYLO */
regs              199 drivers/video/fbdev/bt431.h 	bt431_write_reg_inc(regs, (y >> 8) & 0x0f); /* BT431_REG_CYHI */
regs              202 drivers/video/fbdev/bt431.h static inline void bt431_set_cursor(struct bt431_regs *regs,
regs              211 drivers/video/fbdev/bt431.h 	bt431_select_reg(regs, BT431_REG_CRAM_BASE);
regs              224 drivers/video/fbdev/bt431.h 			bt431_write_cmap_inc(regs, val);
regs              228 drivers/video/fbdev/bt431.h static inline void bt431_init_cursor(struct bt431_regs *regs)
regs              231 drivers/video/fbdev/bt431.h 	bt431_select_reg(regs, BT431_REG_WXLO);
regs              232 drivers/video/fbdev/bt431.h 	bt431_write_reg_inc(regs, 0x00); /* BT431_REG_WXLO */
regs              233 drivers/video/fbdev/bt431.h 	bt431_write_reg_inc(regs, 0x00); /* BT431_REG_WXHI */
regs              234 drivers/video/fbdev/bt431.h 	bt431_write_reg_inc(regs, 0x00); /* BT431_REG_WYLO */
regs              235 drivers/video/fbdev/bt431.h 	bt431_write_reg_inc(regs, 0x00); /* BT431_REG_WYHI */
regs              236 drivers/video/fbdev/bt431.h 	bt431_write_reg_inc(regs, 0x00); /* BT431_REG_WWLO */
regs              237 drivers/video/fbdev/bt431.h 	bt431_write_reg_inc(regs, 0x00); /* BT431_REG_WWHI */
regs              238 drivers/video/fbdev/bt431.h 	bt431_write_reg_inc(regs, 0x00); /* BT431_REG_WHLO */
regs              239 drivers/video/fbdev/bt431.h 	bt431_write_reg_inc(regs, 0x00); /* BT431_REG_WHHI */
regs               27 drivers/video/fbdev/bt455.h static inline void bt455_select_reg(struct bt455_regs *regs, int ir)
regs               30 drivers/video/fbdev/bt455.h 	regs->addr_cmap = ir & 0x0f;
regs               33 drivers/video/fbdev/bt455.h static inline void bt455_reset_reg(struct bt455_regs *regs)
regs               36 drivers/video/fbdev/bt455.h 	regs->addr_clr = 0;
regs               42 drivers/video/fbdev/bt455.h static inline void bt455_read_cmap_next(struct bt455_regs *regs, u8 *grey)
regs               45 drivers/video/fbdev/bt455.h 	regs->addr_cmap_data;
regs               47 drivers/video/fbdev/bt455.h 	*grey = regs->addr_cmap_data & 0xf;
regs               49 drivers/video/fbdev/bt455.h 	regs->addr_cmap_data;
regs               52 drivers/video/fbdev/bt455.h static inline void bt455_write_cmap_next(struct bt455_regs *regs, u8 grey)
regs               55 drivers/video/fbdev/bt455.h 	regs->addr_cmap_data = 0x0;
regs               57 drivers/video/fbdev/bt455.h 	regs->addr_cmap_data = grey & 0xf;
regs               59 drivers/video/fbdev/bt455.h 	regs->addr_cmap_data = 0x0;
regs               62 drivers/video/fbdev/bt455.h static inline void bt455_write_ovly_next(struct bt455_regs *regs, u8 grey)
regs               65 drivers/video/fbdev/bt455.h 	regs->addr_ovly = 0x0;
regs               67 drivers/video/fbdev/bt455.h 	regs->addr_ovly = grey & 0xf;
regs               69 drivers/video/fbdev/bt455.h 	regs->addr_ovly = 0x0;
regs               72 drivers/video/fbdev/bt455.h static inline void bt455_read_cmap_entry(struct bt455_regs *regs,
regs               75 drivers/video/fbdev/bt455.h 	bt455_select_reg(regs, cr);
regs               76 drivers/video/fbdev/bt455.h 	bt455_read_cmap_next(regs, grey);
regs               79 drivers/video/fbdev/bt455.h static inline void bt455_write_cmap_entry(struct bt455_regs *regs,
regs               82 drivers/video/fbdev/bt455.h 	bt455_select_reg(regs, cr);
regs               83 drivers/video/fbdev/bt455.h 	bt455_write_cmap_next(regs, grey);
regs               86 drivers/video/fbdev/bt455.h static inline void bt455_write_ovly_entry(struct bt455_regs *regs, u8 grey)
regs               88 drivers/video/fbdev/bt455.h 	bt455_reset_reg(regs);
regs               89 drivers/video/fbdev/bt455.h 	bt455_write_ovly_next(regs, grey);
regs              109 drivers/video/fbdev/bw2.c 	struct bw2_regs		__iomem *regs;
regs              126 drivers/video/fbdev/bw2.c 	struct bw2_regs __iomem *regs = par->regs;
regs              134 drivers/video/fbdev/bw2.c 		val = sbus_readb(&regs->control);
regs              136 drivers/video/fbdev/bw2.c 		sbus_writeb(val, &regs->control);
regs              144 drivers/video/fbdev/bw2.c 		val = sbus_readb(&regs->control);
regs              146 drivers/video/fbdev/bw2.c 		sbus_writeb(val, &regs->control);
regs              236 drivers/video/fbdev/bw2.c 	status = sbus_readb(&par->regs->status);
regs              270 drivers/video/fbdev/bw2.c 		u8 __iomem *regp = &((u8 __iomem *)par->regs)[p[0]];
regs              304 drivers/video/fbdev/bw2.c 	par->regs = of_ioremap(&op->resource[0], BWTWO_REGISTER_OFFSET,
regs              306 drivers/video/fbdev/bw2.c 	if (!par->regs)
regs              346 drivers/video/fbdev/bw2.c 	of_iounmap(&op->resource[0], par->regs, sizeof(struct bw2_regs));
regs              362 drivers/video/fbdev/bw2.c 	of_iounmap(&op->resource[0], par->regs, sizeof(struct bw2_regs));
regs              541 drivers/video/fbdev/carminefb.c static int alloc_carmine_fb(void __iomem *regs, void __iomem *smem_base,
regs              554 drivers/video/fbdev/carminefb.c 	par->display_reg = regs;
regs              192 drivers/video/fbdev/cg14.c 	struct cg14_regs	__iomem *regs;
regs              209 drivers/video/fbdev/cg14.c 	struct cg14_regs __iomem *regs = par->regs;
regs              212 drivers/video/fbdev/cg14.c 	val = sbus_readb(&regs->mcr);
regs              214 drivers/video/fbdev/cg14.c 	sbus_writeb(val, &regs->mcr);
regs              279 drivers/video/fbdev/cg14.c 	struct cg14_regs __iomem *regs = par->regs;
regs              315 drivers/video/fbdev/cg14.c 		cur_mode = sbus_readb(&regs->mcr);
regs              336 drivers/video/fbdev/cg14.c 			sbus_writeb(cur_mode, &regs->mcr);
regs              451 drivers/video/fbdev/cg14.c 	if (par->regs)
regs              453 drivers/video/fbdev/cg14.c 			   par->regs, sizeof(struct cg14_regs));
regs              499 drivers/video/fbdev/cg14.c 	par->regs = of_ioremap(&op->resource[0], 0,
regs              509 drivers/video/fbdev/cg14.c 	if (!par->regs || !par->clut || !par->cursor || !info->screen_base)
regs              114 drivers/video/fbdev/cg3.c 	struct cg3_regs		__iomem *regs;
regs              143 drivers/video/fbdev/cg3.c 	struct bt_regs __iomem *bt = &par->regs->cmap;
regs              188 drivers/video/fbdev/cg3.c 	struct cg3_regs __iomem *regs = par->regs;
regs              196 drivers/video/fbdev/cg3.c 		val = sbus_readb(&regs->control);
regs              198 drivers/video/fbdev/cg3.c 		sbus_writeb(val, &regs->control);
regs              206 drivers/video/fbdev/cg3.c 		val = sbus_readb(&regs->control);
regs              208 drivers/video/fbdev/cg3.c 		sbus_writeb(val, &regs->control);
regs              320 drivers/video/fbdev/cg3.c 		u8 status = sbus_readb(&par->regs->status), mon;
regs              336 drivers/video/fbdev/cg3.c 		u8 __iomem *regp = &((u8 __iomem *)par->regs)[p[0]];
regs              342 drivers/video/fbdev/cg3.c 		regp = (u8 __iomem *)&par->regs->cmap.addr;
regs              344 drivers/video/fbdev/cg3.c 		regp = (u8 __iomem *)&par->regs->cmap.control;
regs              382 drivers/video/fbdev/cg3.c 	par->regs = of_ioremap(&op->resource[0], CG3_REGS_OFFSET,
regs              384 drivers/video/fbdev/cg3.c 	if (!par->regs)
regs              428 drivers/video/fbdev/cg3.c 	of_iounmap(&op->resource[0], par->regs, sizeof(struct cg3_regs));
regs              445 drivers/video/fbdev/cg3.c 	of_iounmap(&op->resource[0], par->regs, sizeof(struct cg3_regs));
regs               80 drivers/video/fbdev/controlfb.c 		results &= !DIRTY(regvals.regs[i]);
regs              510 drivers/video/fbdev/controlfb.c 		out_le32(&rp->r, r->regs[i]);
regs              922 drivers/video/fbdev/controlfb.c 	r->regs[0] = vswin;
regs              923 drivers/video/fbdev/controlfb.c 	r->regs[1] = vsblank;
regs              924 drivers/video/fbdev/controlfb.c 	r->regs[2] = veblank;
regs              925 drivers/video/fbdev/controlfb.c 	r->regs[3] = vewin;
regs              926 drivers/video/fbdev/controlfb.c 	r->regs[4] = vesync;
regs              927 drivers/video/fbdev/controlfb.c 	r->regs[5] = vssync;
regs              928 drivers/video/fbdev/controlfb.c 	r->regs[6] = vperiod;
regs              929 drivers/video/fbdev/controlfb.c 	r->regs[7] = piped;
regs              930 drivers/video/fbdev/controlfb.c 	r->regs[8] = hperiod;
regs              931 drivers/video/fbdev/controlfb.c 	r->regs[9] = hsblank;
regs              932 drivers/video/fbdev/controlfb.c 	r->regs[10] = heblank;
regs              933 drivers/video/fbdev/controlfb.c 	r->regs[11] = hesync;
regs              934 drivers/video/fbdev/controlfb.c 	r->regs[12] = hssync;
regs              935 drivers/video/fbdev/controlfb.c 	r->regs[13] = heq;
regs              936 drivers/video/fbdev/controlfb.c 	r->regs[14] = hlfln;
regs              937 drivers/video/fbdev/controlfb.c 	r->regs[15] = hserr;
regs              959 drivers/video/fbdev/controlfb.c 	rv = (struct control_regints *) par->regvals.regs;
regs              100 drivers/video/fbdev/controlfb.h 	unsigned regs[16];		/* for vswin .. hserr */
regs               62 drivers/video/fbdev/cyber2000fb.c 	unsigned char		__iomem *regs;
regs              110 drivers/video/fbdev/cyber2000fb.c #define cyber2000fb_writel(val, reg, cfb)	writel(val, (cfb)->regs + (reg))
regs              111 drivers/video/fbdev/cyber2000fb.c #define cyber2000fb_writew(val, reg, cfb)	writew(val, (cfb)->regs + (reg))
regs              112 drivers/video/fbdev/cyber2000fb.c #define cyber2000fb_writeb(val, reg, cfb)	writeb(val, (cfb)->regs + (reg))
regs              114 drivers/video/fbdev/cyber2000fb.c #define cyber2000fb_readb(reg, cfb)		readb((cfb)->regs + (reg))
regs             1132 drivers/video/fbdev/cyber2000fb.c 		info->regs	      = int_cfb_info->regs;
regs             1742 drivers/video/fbdev/cyber2000fb.c 	cfb->regs = cfb->region + MMIO_OFFSET;
regs              466 drivers/video/fbdev/cyber2000fb.h 	unsigned char	__iomem *regs;
regs               41 drivers/video/fbdev/grvga.c 	struct grvga_regs *regs;
regs              109 drivers/video/fbdev/grvga.c 		if (var->pixclock == par->regs->clk_vector[i])
regs              151 drivers/video/fbdev/grvga.c 		     &par->regs->video_length);
regs              154 drivers/video/fbdev/grvga.c 		     &par->regs->front_porch);
regs              157 drivers/video/fbdev/grvga.c 		     &par->regs->sync_length);
regs              161 drivers/video/fbdev/grvga.c 		     &par->regs->line_length);
regs              182 drivers/video/fbdev/grvga.c 		     &par->regs->status);
regs              215 drivers/video/fbdev/grvga.c 			     &par->regs->clut);
regs              249 drivers/video/fbdev/grvga.c 		     &par->regs->fb_pos);
regs              390 drivers/video/fbdev/grvga.c 	par->regs = of_ioremap(&dev->resource[0], 0,
regs              394 drivers/video/fbdev/grvga.c 	if (!par->regs) {
regs              485 drivers/video/fbdev/grvga.c 	__raw_writel(physical_start, &par->regs->fb_pos);
regs              486 drivers/video/fbdev/grvga.c 	__raw_writel(__raw_readl(&par->regs->status) | 1,  /* Enable framebuffer */
regs              487 drivers/video/fbdev/grvga.c 		     &par->regs->status);
regs              499 drivers/video/fbdev/grvga.c 	of_iounmap(&dev->resource[0], par->regs,
regs              517 drivers/video/fbdev/grvga.c 		of_iounmap(&device->resource[0], par->regs,
regs              141 drivers/video/fbdev/gxt4500.c #define readreg(par, reg)	readl((par)->regs + (reg))
regs              142 drivers/video/fbdev/gxt4500.c #define writereg(par, reg, val)	writel((val), (par)->regs + (reg))
regs              145 drivers/video/fbdev/gxt4500.c 	void __iomem *regs;
regs              658 drivers/video/fbdev/gxt4500.c 	par->regs = pci_ioremap_bar(pdev, 0);
regs              659 drivers/video/fbdev/gxt4500.c 	if (!par->regs) {
regs              722 drivers/video/fbdev/gxt4500.c 	iounmap(par->regs);
regs              744 drivers/video/fbdev/gxt4500.c 	iounmap(par->regs);
regs               37 drivers/video/fbdev/i740fb.c 	unsigned char __iomem *regs;
regs               97 drivers/video/fbdev/i740fb.c 	vga_mm_w(par->regs, port, val);
regs              101 drivers/video/fbdev/i740fb.c 	return vga_mm_r(par->regs, port);
regs              105 drivers/video/fbdev/i740fb.c 	vga_mm_w_fast(par->regs, port, reg, val);
regs              109 drivers/video/fbdev/i740fb.c 	vga_mm_w(par->regs, port, reg);
regs              110 drivers/video/fbdev/i740fb.c 	return vga_mm_r(par->regs, port+1);
regs              115 drivers/video/fbdev/i740fb.c 	vga_mm_w_fast(par->regs, port, reg, (val & mask)
regs              824 drivers/video/fbdev/i740fb.c 	itemp = readl(par->regs + FWATER_BLC);
regs              827 drivers/video/fbdev/i740fb.c 	writel(itemp, par->regs + FWATER_BLC);
regs             1039 drivers/video/fbdev/i740fb.c 	par->regs = pci_ioremap_bar(dev, 1);
regs             1040 drivers/video/fbdev/i740fb.c 	if (!par->regs) {
regs             1147 drivers/video/fbdev/i740fb.c 	pci_iounmap(dev, par->regs);
regs             1170 drivers/video/fbdev/i740fb.c 		pci_iounmap(dev, par->regs);
regs              254 drivers/video/fbdev/i810/i810.h 	struct mode_registers    regs;
regs              236 drivers/video/fbdev/i810/i810_dvt.c 	u32 i_best = i810fb_find_best_mode(xres, yres, par->regs.pixclock);
regs              238 drivers/video/fbdev/i810/i810_dvt.c 	par->regs = std_modes[i_best];
regs              282 drivers/video/fbdev/i810/i810_dvt.c 	struct mode_registers *params = &par->regs;
regs              135 drivers/video/fbdev/i810/i810_gtf.c 	par->regs.cr00 =  (u8) n;
regs              136 drivers/video/fbdev/i810/i810_gtf.c 	par->regs.cr35 = (u8) ((n >> 8) & 1);
regs              139 drivers/video/fbdev/i810/i810_gtf.c 	par->regs.cr01 = (u8) ((xres >> 3) - 1);
regs              148 drivers/video/fbdev/i810/i810_gtf.c 	par->regs.cr02 = (u8) blank_s;
regs              149 drivers/video/fbdev/i810/i810_gtf.c 	par->regs.cr03 = (u8) (blank_e & 0x1F);
regs              150 drivers/video/fbdev/i810/i810_gtf.c 	par->regs.cr05 = (u8) ((blank_e & (1 << 5)) << 2);
regs              151 drivers/video/fbdev/i810/i810_gtf.c 	par->regs.cr39 = (u8) ((blank_e >> 6) & 1);
regs              154 drivers/video/fbdev/i810/i810_gtf.c 	par->regs.cr04 = (u8) ((xres + var->right_margin) >> 3);
regs              155 drivers/video/fbdev/i810/i810_gtf.c 	par->regs.cr05 |= (u8) (((xres + var->right_margin + 
regs              161 drivers/video/fbdev/i810/i810_gtf.c 	par->regs.cr06 = (u8) (n & 0xFF);
regs              162 drivers/video/fbdev/i810/i810_gtf.c 	par->regs.cr30 = (u8) ((n >> 8) & 0x0F);
regs              166 drivers/video/fbdev/i810/i810_gtf.c 	par->regs.cr10 = (u8) (n & 0xFF);
regs              167 drivers/video/fbdev/i810/i810_gtf.c 	par->regs.cr32 = (u8) ((n >> 8) & 0x0F);
regs              168 drivers/video/fbdev/i810/i810_gtf.c 	par->regs.cr11 = i810_readb(CR11, mmio) & ~0x0F;
regs              169 drivers/video/fbdev/i810/i810_gtf.c 	par->regs.cr11 |= (u8) ((yres + var->lower_margin + 
regs              174 drivers/video/fbdev/i810/i810_gtf.c 	par->regs.cr12 = (u8) (n & 0xFF);
regs              175 drivers/video/fbdev/i810/i810_gtf.c 	par->regs.cr31 = (u8) ((n >> 8) & 0x0F);
regs              184 drivers/video/fbdev/i810/i810_gtf.c 	par->regs.cr15 = (u8) (blank_s & 0xFF);
regs              185 drivers/video/fbdev/i810/i810_gtf.c 	par->regs.cr33 = (u8) ((blank_s >> 8) & 0x0F);
regs              186 drivers/video/fbdev/i810/i810_gtf.c 	par->regs.cr16 = (u8) (blank_e & 0xFF);
regs              187 drivers/video/fbdev/i810/i810_gtf.c 	par->regs.cr09 = 0;	
regs              194 drivers/video/fbdev/i810/i810_gtf.c 	par->regs.msr = msr;
regs              203 drivers/video/fbdev/i810/i810_gtf.c 		par->regs.cr09 |= 1 << 7;
regs              235 drivers/video/fbdev/i810/i810_main.c 	tmp1 = par->regs.M | par->regs.N << 16;
regs              240 drivers/video/fbdev/i810/i810_main.c 	tmp1 = par->regs.P;
regs              245 drivers/video/fbdev/i810/i810_main.c 	i810_writeb(MSR_WRITE, mmio, par->regs.msr | 0xC8 | 1);
regs              265 drivers/video/fbdev/i810/i810_main.c 	i810_writeb(CR_DATA_CGA, mmio, par->regs.cr00);
regs              267 drivers/video/fbdev/i810/i810_main.c 	i810_writeb(CR_DATA_CGA, mmio, par->regs.cr01);
regs              269 drivers/video/fbdev/i810/i810_main.c 	i810_writeb(CR_DATA_CGA, mmio, par->regs.cr02);
regs              271 drivers/video/fbdev/i810/i810_main.c 	i810_writeb(CR_DATA_CGA, mmio, par->regs.cr03);
regs              273 drivers/video/fbdev/i810/i810_main.c 	i810_writeb(CR_DATA_CGA, mmio, par->regs.cr04);
regs              275 drivers/video/fbdev/i810/i810_main.c 	i810_writeb(CR_DATA_CGA, mmio, par->regs.cr05);
regs              277 drivers/video/fbdev/i810/i810_main.c 	i810_writeb(CR_DATA_CGA, mmio, par->regs.cr06);
regs              279 drivers/video/fbdev/i810/i810_main.c 	i810_writeb(CR_DATA_CGA, mmio, par->regs.cr09);
regs              281 drivers/video/fbdev/i810/i810_main.c 	i810_writeb(CR_DATA_CGA, mmio, par->regs.cr10);
regs              283 drivers/video/fbdev/i810/i810_main.c 	i810_writeb(CR_DATA_CGA, mmio, par->regs.cr11);
regs              285 drivers/video/fbdev/i810/i810_main.c 	i810_writeb(CR_DATA_CGA, mmio, par->regs.cr12);
regs              287 drivers/video/fbdev/i810/i810_main.c 	i810_writeb(CR_DATA_CGA, mmio, par->regs.cr15);
regs              289 drivers/video/fbdev/i810/i810_main.c 	i810_writeb(CR_DATA_CGA, mmio, par->regs.cr16);
regs              304 drivers/video/fbdev/i810/i810_main.c 	i810_writeb(CR_DATA_CGA, mmio, par->regs.cr30);
regs              306 drivers/video/fbdev/i810/i810_main.c 	i810_writeb(CR_DATA_CGA, mmio, par->regs.cr31);
regs              308 drivers/video/fbdev/i810/i810_main.c 	i810_writeb(CR_DATA_CGA, mmio, par->regs.cr32);
regs              310 drivers/video/fbdev/i810/i810_main.c 	i810_writeb(CR_DATA_CGA, mmio, par->regs.cr33);
regs              312 drivers/video/fbdev/i810/i810_main.c 	i810_writeb(CR_DATA_CGA, mmio, par->regs.cr35);
regs              314 drivers/video/fbdev/i810/i810_main.c 	i810_writeb(CR_DATA_CGA, mmio, par->regs.cr39);
regs             1178 drivers/video/fbdev/i810/i810_main.c 	i810_calc_dclk(var->pixclock, &par->regs.M, 
regs             1179 drivers/video/fbdev/i810/i810_main.c 		       &par->regs.N, &par->regs.P);
regs              144 drivers/video/fbdev/imxfb.c 	void __iomem		*regs;
regs              270 drivers/video/fbdev/imxfb.c 		writel(val, fbi->regs + 0x800 + (regno << 2));
regs              494 drivers/video/fbdev/imxfb.c 	writel(fbi->map_dma, fbi->regs + LCDC_SSA);
regs              497 drivers/video/fbdev/imxfb.c 	writel(0x00000000, fbi->regs + LCDC_POS);
regs              500 drivers/video/fbdev/imxfb.c 	writel(readl(fbi->regs + LCDC_CPOS) & ~(CPOS_CC0 | CPOS_CC1),
regs              501 drivers/video/fbdev/imxfb.c 		fbi->regs + LCDC_CPOS);
regs              507 drivers/video/fbdev/imxfb.c 	writel(RMCR_LCDC_EN_MX1, fbi->regs + LCDC_RMCR);
regs              529 drivers/video/fbdev/imxfb.c 	writel(0, fbi->regs + LCDC_RMCR);
regs              546 drivers/video/fbdev/imxfb.c 	writel(0, fbi->regs + LCDC_RMCR);
regs              626 drivers/video/fbdev/imxfb.c 		fbi->regs + LCDC_VPW);
regs              631 drivers/video/fbdev/imxfb.c 		fbi->regs + LCDC_HCR);
regs              636 drivers/video/fbdev/imxfb.c 		fbi->regs + LCDC_VCR);
regs              639 drivers/video/fbdev/imxfb.c 			fbi->regs + LCDC_SIZE);
regs              641 drivers/video/fbdev/imxfb.c 	writel(fbi->pcr, fbi->regs + LCDC_PCR);
regs              643 drivers/video/fbdev/imxfb.c 		writel(fbi->pwmr, fbi->regs + LCDC_PWMR);
regs              644 drivers/video/fbdev/imxfb.c 	writel(fbi->lscr1, fbi->regs + LCDC_LSCR1);
regs              648 drivers/video/fbdev/imxfb.c 		writel(fbi->dmacr, fbi->regs + LCDC_DMACR);
regs              651 drivers/video/fbdev/imxfb.c 		writel(fbi->lauscr, fbi->regs + LCDC_LAUSCR);
regs              787 drivers/video/fbdev/imxfb.c 		writel(fbi->pwmr, fbi->regs + LCDC_PWMR);
regs              969 drivers/video/fbdev/imxfb.c 	fbi->regs = ioremap(res->start, resource_size(res));
regs              970 drivers/video/fbdev/imxfb.c 	if (fbi->regs == NULL) {
regs             1051 drivers/video/fbdev/imxfb.c 	iounmap(fbi->regs);
regs             1081 drivers/video/fbdev/imxfb.c 	iounmap(fbi->regs);
regs              250 drivers/video/fbdev/matrox/matroxfb_base.h 	u_int8_t regs[256];
regs              251 drivers/video/fbdev/matrox/matroxfb_g450.c 	r->regs[0x80] = 0x03;	/* | 0x40 for SCART */
regs              281 drivers/video/fbdev/matrox/matroxfb_g450.c 	r->regs[0] = piic >> 24;
regs              282 drivers/video/fbdev/matrox/matroxfb_g450.c 	r->regs[1] = piic >> 16;
regs              283 drivers/video/fbdev/matrox/matroxfb_g450.c 	r->regs[2] = piic >>  8;
regs              284 drivers/video/fbdev/matrox/matroxfb_g450.c 	r->regs[3] = piic >>  0;
regs              307 drivers/video/fbdev/matrox/matroxfb_g450.c 	r->regs[0x08] = hsl;
regs              308 drivers/video/fbdev/matrox/matroxfb_g450.c 	r->regs[0x09] = (outd->burst + pixclock - 1) / pixclock;	/* burst length */
regs              309 drivers/video/fbdev/matrox/matroxfb_g450.c 	r->regs[0x0A] = hbp;
regs              310 drivers/video/fbdev/matrox/matroxfb_g450.c 	r->regs[0x2C] = hfp;
regs              311 drivers/video/fbdev/matrox/matroxfb_g450.c 	r->regs[0x31] = hvis / 8;
regs              312 drivers/video/fbdev/matrox/matroxfb_g450.c 	r->regs[0x32] = hvis & 7;
regs              316 drivers/video/fbdev/matrox/matroxfb_g450.c 	r->regs[0x84] = 1;	/* x sync point */
regs              317 drivers/video/fbdev/matrox/matroxfb_g450.c 	r->regs[0x85] = 0;
regs              348 drivers/video/fbdev/matrox/matroxfb_g450.c 		r->regs[0x17] = outd->v_total / 4;
regs              349 drivers/video/fbdev/matrox/matroxfb_g450.c 		r->regs[0x18] = outd->v_total & 3;
regs              350 drivers/video/fbdev/matrox/matroxfb_g450.c 		r->regs[0x33] = upper - 1;	/* upper blanking */
regs              351 drivers/video/fbdev/matrox/matroxfb_g450.c 		r->regs[0x82] = upper;		/* y sync point */
regs              352 drivers/video/fbdev/matrox/matroxfb_g450.c 		r->regs[0x83] = upper >> 8;
regs              503 drivers/video/fbdev/matrox/matroxfb_g450.c #define LR(x) cve2_set_reg(minfo, (x), m->regs[(x)])
regs              534 drivers/video/fbdev/matrox/matroxfb_g450.c 			minfo->hw.maven.regs[0x0E] = blacklevel >> 2;
regs              535 drivers/video/fbdev/matrox/matroxfb_g450.c 			minfo->hw.maven.regs[0x0F] = blacklevel & 3;
regs              536 drivers/video/fbdev/matrox/matroxfb_g450.c 			minfo->hw.maven.regs[0x1E] = whitelevel >> 2;
regs              537 drivers/video/fbdev/matrox/matroxfb_g450.c 			minfo->hw.maven.regs[0x1F] = whitelevel & 3;
regs              539 drivers/video/fbdev/matrox/matroxfb_g450.c 			minfo->hw.maven.regs[0x20] =
regs              540 drivers/video/fbdev/matrox/matroxfb_g450.c 			minfo->hw.maven.regs[0x22] = minfo->altout.tvo_params.saturation;
regs              542 drivers/video/fbdev/matrox/matroxfb_g450.c 			minfo->hw.maven.regs[0x25] = minfo->altout.tvo_params.hue;
regs              545 drivers/video/fbdev/matrox/matroxfb_g450.c 				minfo->hw.maven.regs[0x05] |= 0x02;
regs              485 drivers/video/fbdev/matrox/matroxfb_maven.c 	data->regs[0x93] = maven_compute_deflicker(md);
regs              491 drivers/video/fbdev/matrox/matroxfb_maven.c 		data->regs[0x83] = g->reg83;
regs              492 drivers/video/fbdev/matrox/matroxfb_maven.c 		data->regs[0x84] = g->reg84;
regs              493 drivers/video/fbdev/matrox/matroxfb_maven.c 		data->regs[0x85] = g->reg85;
regs              494 drivers/video/fbdev/matrox/matroxfb_maven.c 		data->regs[0x86] = g->reg86;
regs              495 drivers/video/fbdev/matrox/matroxfb_maven.c 		data->regs[0x87] = g->reg87;
regs              496 drivers/video/fbdev/matrox/matroxfb_maven.c 		data->regs[0x88] = g->reg88;
regs              497 drivers/video/fbdev/matrox/matroxfb_maven.c 		data->regs[0x89] = g->reg89;
regs              498 drivers/video/fbdev/matrox/matroxfb_maven.c 		data->regs[0x8A] = g->reg8a;
regs              499 drivers/video/fbdev/matrox/matroxfb_maven.c 		data->regs[0x8B] = g->reg8b;
regs              506 drivers/video/fbdev/matrox/matroxfb_maven.c 		data->regs[0x0e] = bl >> 2;
regs              507 drivers/video/fbdev/matrox/matroxfb_maven.c 		data->regs[0x0f] = bl & 3;
regs              508 drivers/video/fbdev/matrox/matroxfb_maven.c 		data->regs[0x1e] = wl >> 2;
regs              509 drivers/video/fbdev/matrox/matroxfb_maven.c 		data->regs[0x1f] = wl & 3;
regs              514 drivers/video/fbdev/matrox/matroxfb_maven.c 		data->regs[0x20] =
regs              515 drivers/video/fbdev/matrox/matroxfb_maven.c 		data->regs[0x22] = minfo->altout.tvo_params.saturation;
regs              519 drivers/video/fbdev/matrox/matroxfb_maven.c 	data->regs[0x25] = minfo->altout.tvo_params.hue;
regs              523 drivers/video/fbdev/matrox/matroxfb_maven.c #define LR(x) maven_set_reg(c, (x), m->regs[(x)])
regs              524 drivers/video/fbdev/matrox/matroxfb_maven.c #define LRP(x) maven_set_reg_pair(c, (x), m->regs[(x)] | (m->regs[(x)+1] << 8))
regs              729 drivers/video/fbdev/matrox/matroxfb_maven.c 	m->regs[0x80] = 0x0F;
regs              730 drivers/video/fbdev/matrox/matroxfb_maven.c 	m->regs[0x81] = 0x07;
regs              731 drivers/video/fbdev/matrox/matroxfb_maven.c 	m->regs[0x82] = 0x81;
regs              744 drivers/video/fbdev/matrox/matroxfb_maven.c 				m->regs[0x80] = a - 1;
regs              745 drivers/video/fbdev/matrox/matroxfb_maven.c 				m->regs[0x81] = b - 1;
regs              746 drivers/video/fbdev/matrox/matroxfb_maven.c 				m->regs[0x82] = c | 0x80;
regs              790 drivers/video/fbdev/matrox/matroxfb_maven.c 		m->regs[0x96] = m->hcorr;
regs              791 drivers/video/fbdev/matrox/matroxfb_maven.c 		m->regs[0x97] = m->hcorr >> 8;
regs              793 drivers/video/fbdev/matrox/matroxfb_maven.c 		m->regs[0x98] = 0x00; m->regs[0x99] = 0x00;
regs              795 drivers/video/fbdev/matrox/matroxfb_maven.c 		m->regs[0x9A] = lmargin;	/* 100% */
regs              796 drivers/video/fbdev/matrox/matroxfb_maven.c 		m->regs[0x9B] = lmargin >> 8;	/* 100% */
regs              798 drivers/video/fbdev/matrox/matroxfb_maven.c 		m->regs[0x9C] = 0x04;
regs              799 drivers/video/fbdev/matrox/matroxfb_maven.c 		m->regs[0x9D] = 0x00;
regs              801 drivers/video/fbdev/matrox/matroxfb_maven.c 		m->regs[0xA0] = m->htotal;
regs              802 drivers/video/fbdev/matrox/matroxfb_maven.c 		m->regs[0xA1] = m->htotal >> 8;
regs              804 drivers/video/fbdev/matrox/matroxfb_maven.c 		m->regs[0xA2] = mt->VTotal - mt->VSyncStart - 1;	/* stop vblanking */
regs              805 drivers/video/fbdev/matrox/matroxfb_maven.c 		m->regs[0xA3] = (mt->VTotal - mt->VSyncStart - 1) >> 8;
regs              808 drivers/video/fbdev/matrox/matroxfb_maven.c 			m->regs[0xA4] = 0x04;
regs              809 drivers/video/fbdev/matrox/matroxfb_maven.c 			m->regs[0xA5] = 0x00;
regs              811 drivers/video/fbdev/matrox/matroxfb_maven.c 			m->regs[0xA4] = 0x01;
regs              812 drivers/video/fbdev/matrox/matroxfb_maven.c 			m->regs[0xA5] = 0x00;
regs              815 drivers/video/fbdev/matrox/matroxfb_maven.c 		m->regs[0xA6] = 0x00;
regs              816 drivers/video/fbdev/matrox/matroxfb_maven.c 		m->regs[0xA7] = 0x00;
regs              818 drivers/video/fbdev/matrox/matroxfb_maven.c 		m->regs[0xA8] = mt->VTotal - 1;
regs              819 drivers/video/fbdev/matrox/matroxfb_maven.c 		m->regs[0xA9] = (mt->VTotal - 1) >> 8;
regs              821 drivers/video/fbdev/matrox/matroxfb_maven.c 		m->regs[0xAA] = hcrt;		/* 0 <= hcrt <= htotal - 2 */
regs              822 drivers/video/fbdev/matrox/matroxfb_maven.c 		m->regs[0xAB] = hcrt >> 8;
regs              824 drivers/video/fbdev/matrox/matroxfb_maven.c 		m->regs[0xAC] = mt->VTotal - 2;
regs              825 drivers/video/fbdev/matrox/matroxfb_maven.c 		m->regs[0xAD] = (mt->VTotal - 2) >> 8;
regs              827 drivers/video/fbdev/matrox/matroxfb_maven.c 		m->regs[0xAE] = 0x01; /* Fix this... 0..VTotal */
regs              828 drivers/video/fbdev/matrox/matroxfb_maven.c 		m->regs[0xAF] = 0x00;
regs              877 drivers/video/fbdev/matrox/matroxfb_maven.c 			m->regs[0x90] = hdec;	/* < 0x40 || > 0x80 is bad... 0x80 is questionable */
regs              878 drivers/video/fbdev/matrox/matroxfb_maven.c 			m->regs[0xC2] = hlen;
regs              880 drivers/video/fbdev/matrox/matroxfb_maven.c 			m->regs[0x9E] = ib;
regs              881 drivers/video/fbdev/matrox/matroxfb_maven.c 			m->regs[0x9F] = ib >> 8;
regs              914 drivers/video/fbdev/matrox/matroxfb_maven.c 			m->regs[0x91] = vdec;
regs              915 drivers/video/fbdev/matrox/matroxfb_maven.c 			m->regs[0x92] = vdec >> 8;
regs              916 drivers/video/fbdev/matrox/matroxfb_maven.c 			m->regs[0xBE] = vlen;
regs              918 drivers/video/fbdev/matrox/matroxfb_maven.c 		m->regs[0xB0] = 0x08;	/* output: SVideo/Composite */
regs              923 drivers/video/fbdev/matrox/matroxfb_maven.c 	m->regs[0x80] = a;
regs              924 drivers/video/fbdev/matrox/matroxfb_maven.c 	m->regs[0x81] = bv;
regs              925 drivers/video/fbdev/matrox/matroxfb_maven.c 	m->regs[0x82] = c | 0x80;
regs              927 drivers/video/fbdev/matrox/matroxfb_maven.c 	m->regs[0xB3] = 0x01;
regs              928 drivers/video/fbdev/matrox/matroxfb_maven.c 	m->regs[0x94] = 0xB2;
regs              931 drivers/video/fbdev/matrox/matroxfb_maven.c 	m->regs[0x96] = mt->HTotal;
regs              932 drivers/video/fbdev/matrox/matroxfb_maven.c 	m->regs[0x97] = mt->HTotal >> 8;
regs              934 drivers/video/fbdev/matrox/matroxfb_maven.c 	m->regs[0x98] = 0x00;
regs              935 drivers/video/fbdev/matrox/matroxfb_maven.c 	m->regs[0x99] = 0x00;
regs              938 drivers/video/fbdev/matrox/matroxfb_maven.c 	m->regs[0x9A] = tmpi;
regs              939 drivers/video/fbdev/matrox/matroxfb_maven.c 	m->regs[0x9B] = tmpi >> 8;
regs              942 drivers/video/fbdev/matrox/matroxfb_maven.c 	m->regs[0x9C] = tmpi;
regs              943 drivers/video/fbdev/matrox/matroxfb_maven.c 	m->regs[0x9D] = tmpi >> 8;
regs              946 drivers/video/fbdev/matrox/matroxfb_maven.c 	m->regs[0x9E] = tmpi;
regs              947 drivers/video/fbdev/matrox/matroxfb_maven.c 	m->regs[0x9F] = tmpi >> 8;
regs              950 drivers/video/fbdev/matrox/matroxfb_maven.c 	m->regs[0xA0] = tmpi;
regs              951 drivers/video/fbdev/matrox/matroxfb_maven.c 	m->regs[0xA1] = tmpi >> 8;
regs              954 drivers/video/fbdev/matrox/matroxfb_maven.c 	m->regs[0xA2] = tmpi;
regs              955 drivers/video/fbdev/matrox/matroxfb_maven.c 	m->regs[0xA3] = tmpi >> 8;
regs              958 drivers/video/fbdev/matrox/matroxfb_maven.c 	m->regs[0xA4] = tmpi;
regs              959 drivers/video/fbdev/matrox/matroxfb_maven.c 	m->regs[0xA5] = tmpi >> 8;
regs              962 drivers/video/fbdev/matrox/matroxfb_maven.c 	m->regs[0xA6] = tmpi;
regs              963 drivers/video/fbdev/matrox/matroxfb_maven.c 	m->regs[0xA7] = tmpi >> 8;
regs              965 drivers/video/fbdev/matrox/matroxfb_maven.c 	m->regs[0xA8] = tmpi;
regs              966 drivers/video/fbdev/matrox/matroxfb_maven.c 	m->regs[0xA9] = tmpi >> 8;
regs              969 drivers/video/fbdev/matrox/matroxfb_maven.c 	m->regs[0xAA] = tmpi;
regs              970 drivers/video/fbdev/matrox/matroxfb_maven.c 	m->regs[0xAB] = tmpi >> 8;
regs              973 drivers/video/fbdev/matrox/matroxfb_maven.c 	m->regs[0xAC] = tmpi;
regs              974 drivers/video/fbdev/matrox/matroxfb_maven.c 	m->regs[0xAD] = tmpi >> 8;
regs              976 drivers/video/fbdev/matrox/matroxfb_maven.c 	m->regs[0xAE] = 0x00;
regs              977 drivers/video/fbdev/matrox/matroxfb_maven.c 	m->regs[0xAF] = 0x00;
regs              979 drivers/video/fbdev/matrox/matroxfb_maven.c 	m->regs[0xB0] = 0x03;	/* output: monitor */
regs              980 drivers/video/fbdev/matrox/matroxfb_maven.c 	m->regs[0xB1] = 0xA0;	/* ??? */
regs              981 drivers/video/fbdev/matrox/matroxfb_maven.c 	m->regs[0x8C] = 0x20;	/* must be set... */
regs              982 drivers/video/fbdev/matrox/matroxfb_maven.c 	m->regs[0x8D] = 0x04;	/* defaults to 0x10: test signal */
regs              983 drivers/video/fbdev/matrox/matroxfb_maven.c 	m->regs[0xB9] = 0x1A;	/* defaults to 0x2C: too bright */
regs              984 drivers/video/fbdev/matrox/matroxfb_maven.c 	m->regs[0xBF] = 0x22;	/* makes picture stable */
regs               66 drivers/video/fbdev/maxinefb.c 	register unsigned char *regs = (char *) MAXINEFB_IMS332_ADDRESS;
regs               69 drivers/video/fbdev/maxinefb.c 	wptr = regs + 0xa0000 + (regno << 4);
regs               70 drivers/video/fbdev/maxinefb.c 	*((volatile unsigned int *) (regs)) = (val >> 8) & 0xff00;
regs               76 drivers/video/fbdev/maxinefb.c 	register unsigned char *regs = (char *) MAXINEFB_IMS332_ADDRESS;
regs               80 drivers/video/fbdev/maxinefb.c 	rptr = regs + 0x80000 + (regno << 4);
regs               82 drivers/video/fbdev/maxinefb.c 	k = *((volatile unsigned short *) regs);
regs              131 drivers/video/fbdev/mmp/hw/mmp_ctrl.c 	struct lcd_regs *regs = path_regs(overlay->path);
regs              139 drivers/video/fbdev/mmp/hw/mmp_ctrl.c 		writel_relaxed(win->pitch[0], &regs->v_pitch_yc);
regs              141 drivers/video/fbdev/mmp/hw/mmp_ctrl.c 				win->pitch[1], &regs->v_pitch_uv);
regs              143 drivers/video/fbdev/mmp/hw/mmp_ctrl.c 		writel_relaxed((win->ysrc << 16) | win->xsrc, &regs->v_size);
regs              144 drivers/video/fbdev/mmp/hw/mmp_ctrl.c 		writel_relaxed((win->ydst << 16) | win->xdst, &regs->v_size_z);
regs              145 drivers/video/fbdev/mmp/hw/mmp_ctrl.c 		writel_relaxed(win->ypos << 16 | win->xpos, &regs->v_start);
regs              147 drivers/video/fbdev/mmp/hw/mmp_ctrl.c 		writel_relaxed(win->pitch[0], &regs->g_pitch);
regs              149 drivers/video/fbdev/mmp/hw/mmp_ctrl.c 		writel_relaxed((win->ysrc << 16) | win->xsrc, &regs->g_size);
regs              150 drivers/video/fbdev/mmp/hw/mmp_ctrl.c 		writel_relaxed((win->ydst << 16) | win->xdst, &regs->g_size_z);
regs              151 drivers/video/fbdev/mmp/hw/mmp_ctrl.c 		writel_relaxed(win->ypos << 16 | win->xpos, &regs->g_start);
regs              230 drivers/video/fbdev/mmp/hw/mmp_ctrl.c 	struct lcd_regs *regs = path_regs(overlay->path);
regs              236 drivers/video/fbdev/mmp/hw/mmp_ctrl.c 		writel_relaxed(addr->phys[0], &regs->v_y0);
regs              237 drivers/video/fbdev/mmp/hw/mmp_ctrl.c 		writel_relaxed(addr->phys[1], &regs->v_u0);
regs              238 drivers/video/fbdev/mmp/hw/mmp_ctrl.c 		writel_relaxed(addr->phys[2], &regs->v_v0);
regs              240 drivers/video/fbdev/mmp/hw/mmp_ctrl.c 		writel_relaxed(addr->phys[0], &regs->g_0);
regs              247 drivers/video/fbdev/mmp/hw/mmp_ctrl.c 	struct lcd_regs *regs = path_regs(path);
regs              271 drivers/video/fbdev/mmp/hw/mmp_ctrl.c 	writel_relaxed((mode->yres << 16) | mode->xres, &regs->screen_active);
regs              273 drivers/video/fbdev/mmp/hw/mmp_ctrl.c 		&regs->screen_h_porch);
regs              275 drivers/video/fbdev/mmp/hw/mmp_ctrl.c 		&regs->screen_v_porch);
regs              280 drivers/video/fbdev/mmp/hw/mmp_ctrl.c 	writel_relaxed((total_y << 16) | total_x, &regs->screen_size);
regs              288 drivers/video/fbdev/mmp/hw/mmp_ctrl.c 	writel_relaxed(vsync_ctrl, &regs->vsync_ctrl);
regs              338 drivers/video/fbdev/mmp/hw/mmp_ctrl.c 	struct lcd_regs *regs = path_regs(path);
regs              369 drivers/video/fbdev/mmp/hw/mmp_ctrl.c 	writel_relaxed(0x00000000, &regs->blank_color);
regs              370 drivers/video/fbdev/mmp/hw/mmp_ctrl.c 	writel_relaxed(0x00000000, &regs->g_1);
regs              371 drivers/video/fbdev/mmp/hw/mmp_ctrl.c 	writel_relaxed(0x00000000, &regs->g_start);
regs             1294 drivers/video/fbdev/neofb.c 			SMMRegisters regs;
regs             1296 drivers/video/fbdev/neofb.c 			regs.eax = 0xff00; /* HCI_SET */
regs             1297 drivers/video/fbdev/neofb.c 			regs.ebx = 0x0002; /* HCI_BACKLIGHT */
regs             1298 drivers/video/fbdev/neofb.c 			regs.ecx = 0x0000; /* HCI_DISABLE */
regs             1299 drivers/video/fbdev/neofb.c 			tosh_smm(&regs);
regs             1335 drivers/video/fbdev/neofb.c 			SMMRegisters regs;
regs             1337 drivers/video/fbdev/neofb.c 			regs.eax = 0xff00; /* HCI_SET */
regs             1338 drivers/video/fbdev/neofb.c 			regs.ebx = 0x0002; /* HCI_BACKLIGHT */
regs             1339 drivers/video/fbdev/neofb.c 			regs.ecx = 0x0001; /* HCI_ENABLE */
regs             1340 drivers/video/fbdev/neofb.c 			tosh_smm(&regs);
regs               60 drivers/video/fbdev/ocfb.c 	void __iomem *regs;
regs               90 drivers/video/fbdev/ocfb.c 		return ioread32(fbdev->regs + offset);
regs               92 drivers/video/fbdev/ocfb.c 		return ioread32be(fbdev->regs + offset);
regs               98 drivers/video/fbdev/ocfb.c 		iowrite32(data, fbdev->regs + offset);
regs              100 drivers/video/fbdev/ocfb.c 		iowrite32be(data, fbdev->regs + offset);
regs              328 drivers/video/fbdev/ocfb.c 	fbdev->regs = devm_ioremap_resource(&pdev->dev, res);
regs              329 drivers/video/fbdev/ocfb.c 	if (IS_ERR(fbdev->regs))
regs              330 drivers/video/fbdev/ocfb.c 		return PTR_ERR(fbdev->regs);
regs              132 drivers/video/fbdev/p9100.c 	struct p9100_regs	__iomem *regs;
regs              154 drivers/video/fbdev/p9100.c 	struct p9100_regs __iomem *regs = par->regs;
regs              166 drivers/video/fbdev/p9100.c 	sbus_writel((regno << 16), &regs->ramdac_cmap_wridx);
regs              167 drivers/video/fbdev/p9100.c 	sbus_writel((red << 16), &regs->ramdac_palette_data);
regs              168 drivers/video/fbdev/p9100.c 	sbus_writel((green << 16), &regs->ramdac_palette_data);
regs              169 drivers/video/fbdev/p9100.c 	sbus_writel((blue << 16), &regs->ramdac_palette_data);
regs              185 drivers/video/fbdev/p9100.c 	struct p9100_regs __iomem *regs = par->regs;
regs              193 drivers/video/fbdev/p9100.c 		val = sbus_readl(&regs->vid_screenpaint_timectl1);
regs              195 drivers/video/fbdev/p9100.c 		sbus_writel(val, &regs->vid_screenpaint_timectl1);
regs              203 drivers/video/fbdev/p9100.c 		val = sbus_readl(&regs->vid_screenpaint_timectl1);
regs              205 drivers/video/fbdev/p9100.c 		sbus_writel(val, &regs->vid_screenpaint_timectl1);
regs              281 drivers/video/fbdev/p9100.c 	par->regs = of_ioremap(&op->resource[0], 0,
regs              283 drivers/video/fbdev/p9100.c 	if (!par->regs)
regs              321 drivers/video/fbdev/p9100.c 	of_iounmap(&op->resource[0], par->regs, sizeof(struct p9100_regs));
regs              338 drivers/video/fbdev/p9100.c 	of_iounmap(&op->resource[0], par->regs, sizeof(struct p9100_regs));
regs              282 drivers/video/fbdev/platinumfb.c 		out_be32(&platinum_regs->reg[i+32].r, init->regs[i]);
regs               62 drivers/video/fbdev/platinumfb.h 	unsigned regs[26];
regs              588 drivers/video/fbdev/riva/fbdev.c static void riva_save_state(struct riva_par *par, struct riva_regs *regs)
regs              595 drivers/video/fbdev/riva/fbdev.c 	par->riva.UnloadStateExt(&par->riva, &regs->ext);
regs              597 drivers/video/fbdev/riva/fbdev.c 	regs->misc_output = MISCin(par);
regs              600 drivers/video/fbdev/riva/fbdev.c 		regs->crtc[i] = CRTCin(par, i);
regs              603 drivers/video/fbdev/riva/fbdev.c 		regs->attr[i] = ATTRin(par, i);
regs              606 drivers/video/fbdev/riva/fbdev.c 		regs->gra[i] = GRAin(par, i);
regs              609 drivers/video/fbdev/riva/fbdev.c 		regs->seq[i] = SEQin(par, i);
regs              627 drivers/video/fbdev/riva/fbdev.c static void riva_load_state(struct riva_par *par, struct riva_regs *regs)
regs              629 drivers/video/fbdev/riva/fbdev.c 	RIVA_HW_STATE *state = &regs->ext;
regs              639 drivers/video/fbdev/riva/fbdev.c 	MISCout(par, regs->misc_output);
regs              647 drivers/video/fbdev/riva/fbdev.c 			CRTCout(par, i, regs->crtc[i]);
regs              652 drivers/video/fbdev/riva/fbdev.c 		ATTRout(par, i, regs->attr[i]);
regs              655 drivers/video/fbdev/riva/fbdev.c 		GRAout(par, i, regs->gra[i]);
regs              658 drivers/video/fbdev/riva/fbdev.c 		SEQout(par, i, regs->seq[i]);
regs               99 drivers/video/fbdev/s1d13xxxfb.c 	return readb(par->regs + regno);
regs              105 drivers/video/fbdev/s1d13xxxfb.c 	writeb(value, par->regs + regno);
regs              733 drivers/video/fbdev/s1d13xxxfb.c 		if (par && par->regs) {
regs              737 drivers/video/fbdev/s1d13xxxfb.c 			iounmap(par->regs);
regs              812 drivers/video/fbdev/s1d13xxxfb.c 	default_par->regs = ioremap_nocache(pdev->resource[1].start,
regs              814 drivers/video/fbdev/s1d13xxxfb.c 	if (!default_par->regs) {
regs              865 drivers/video/fbdev/s1d13xxxfb.c 	       default_par->regs, info->fix.smem_len / 1024, info->screen_base);
regs              940 drivers/video/fbdev/s1d13xxxfb.c 	memcpy_fromio(s1dfb->regs_save, s1dfb->regs, info->fix.mmio_len);
regs              969 drivers/video/fbdev/s1d13xxxfb.c 		memcpy_toio(s1dfb->regs, s1dfb->regs_save, info->fix.mmio_len);
regs              207 drivers/video/fbdev/s3c-fb.c 	void __iomem		*regs;
regs              398 drivers/video/fbdev/s3c-fb.c 		writel(size, sfb->regs + OSD_BASE(win->index, sfb->variant)
regs              413 drivers/video/fbdev/s3c-fb.c 		writel(alpha, sfb->regs + VIDOSD_C(win->index, sfb->variant));
regs              429 drivers/video/fbdev/s3c-fb.c 			writel(PRTCON_PROTECT, sfb->regs + PRTCON);
regs              431 drivers/video/fbdev/s3c-fb.c 			reg = readl(sfb->regs + SHADOWCON);
regs              433 drivers/video/fbdev/s3c-fb.c 				sfb->regs + SHADOWCON);
regs              437 drivers/video/fbdev/s3c-fb.c 			writel(0, sfb->regs + PRTCON);
regs              439 drivers/video/fbdev/s3c-fb.c 			reg = readl(sfb->regs + SHADOWCON);
regs              441 drivers/video/fbdev/s3c-fb.c 				sfb->regs + SHADOWCON);
regs              453 drivers/video/fbdev/s3c-fb.c 	u32 vidcon0 = readl(sfb->regs + VIDCON0);
regs              471 drivers/video/fbdev/s3c-fb.c 	writel(vidcon0, sfb->regs + VIDCON0);
regs              490 drivers/video/fbdev/s3c-fb.c 	void __iomem *regs = sfb->regs;
regs              491 drivers/video/fbdev/s3c-fb.c 	void __iomem *buf = regs;
regs              530 drivers/video/fbdev/s3c-fb.c 	writel(0, regs + WINCON(win_no));
regs              538 drivers/video/fbdev/s3c-fb.c 	buf = regs + win_no * 8;
regs              550 drivers/video/fbdev/s3c-fb.c 	writel(data, regs + sfb->variant.buf_size + (win_no * 4));
regs              556 drivers/video/fbdev/s3c-fb.c 	writel(data, regs + VIDOSD_A(win_no, sfb->variant));
regs              565 drivers/video/fbdev/s3c-fb.c 	writel(data, regs + VIDOSD_B(win_no, sfb->variant));
regs              578 drivers/video/fbdev/s3c-fb.c 		data = readl(sfb->regs + SHADOWCON);
regs              580 drivers/video/fbdev/s3c-fb.c 		writel(data, sfb->regs + SHADOWCON);
regs              647 drivers/video/fbdev/s3c-fb.c 		void __iomem *keycon = regs + sfb->variant.keycon;
regs              661 drivers/video/fbdev/s3c-fb.c 	writel(data, regs + sfb->variant.wincon + (win_no * 4));
regs              662 drivers/video/fbdev/s3c-fb.c 	writel(0x0, regs + sfb->variant.winmap + (win_no * 4));
regs              666 drivers/video/fbdev/s3c-fb.c 		data = readl(sfb->regs + BLENDCON);
regs              672 drivers/video/fbdev/s3c-fb.c 		writel(data, sfb->regs + BLENDCON);
regs              704 drivers/video/fbdev/s3c-fb.c 	palreg = sfb->regs + sfb->variant.palette[win->index];
regs              711 drivers/video/fbdev/s3c-fb.c 	palcon = readl(sfb->regs + WPALCON);
regs              712 drivers/video/fbdev/s3c-fb.c 	writel(palcon | WPALCON_PAL_UPDATE, sfb->regs + WPALCON);
regs              719 drivers/video/fbdev/s3c-fb.c 	writel(palcon, sfb->regs + WPALCON);
regs              806 drivers/video/fbdev/s3c-fb.c 	wincon = readl(sfb->regs + sfb->variant.wincon + (index * 4));
regs              818 drivers/video/fbdev/s3c-fb.c 		       sfb->regs + sfb->variant.winmap + (index * 4));
regs              824 drivers/video/fbdev/s3c-fb.c 		writel(0x0, sfb->regs + sfb->variant.winmap + (index * 4));
regs              838 drivers/video/fbdev/s3c-fb.c 	writel(wincon, sfb->regs + sfb->variant.wincon + (index * 4));
regs              869 drivers/video/fbdev/s3c-fb.c 	void __iomem *buf	= sfb->regs + win->index * 8;
regs              918 drivers/video/fbdev/s3c-fb.c 	void __iomem *regs = sfb->regs;
regs              923 drivers/video/fbdev/s3c-fb.c 		irq_ctrl_reg = readl(regs + VIDINTCON0);
regs              933 drivers/video/fbdev/s3c-fb.c 		writel(irq_ctrl_reg, regs + VIDINTCON0);
regs              943 drivers/video/fbdev/s3c-fb.c 	void __iomem *regs = sfb->regs;
regs              948 drivers/video/fbdev/s3c-fb.c 		irq_ctrl_reg = readl(regs + VIDINTCON0);
regs              953 drivers/video/fbdev/s3c-fb.c 		writel(irq_ctrl_reg, regs + VIDINTCON0);
regs              960 drivers/video/fbdev/s3c-fb.c 	void __iomem  *regs = sfb->regs;
regs              965 drivers/video/fbdev/s3c-fb.c 	irq_sts_reg = readl(regs + VIDINTCON1);
regs              970 drivers/video/fbdev/s3c-fb.c 		writel(VIDINTCON1_INT_FRAME, regs + VIDINTCON1);
regs             1147 drivers/video/fbdev/s3c-fb.c 			data = readl(sfb->regs + SHADOWCON);
regs             1150 drivers/video/fbdev/s3c-fb.c 			writel(data, sfb->regs + SHADOWCON);
regs             1291 drivers/video/fbdev/s3c-fb.c 	void __iomem *regs = sfb->regs;
regs             1310 drivers/video/fbdev/s3c-fb.c 	writel(data, regs + VIDCON0);
regs             1315 drivers/video/fbdev/s3c-fb.c 	writel(data, regs + sfb->variant.vidtcon);
regs             1320 drivers/video/fbdev/s3c-fb.c 	writel(data, regs + sfb->variant.vidtcon + 4);
regs             1326 drivers/video/fbdev/s3c-fb.c 	writel(data, regs + sfb->variant.vidtcon + 8);
regs             1338 drivers/video/fbdev/s3c-fb.c 	void __iomem *regs = sfb->regs;
regs             1341 drivers/video/fbdev/s3c-fb.c 	writel(0, regs + sfb->variant.wincon + (win * 4));
regs             1342 drivers/video/fbdev/s3c-fb.c 	writel(0, regs + VIDOSD_A(win, sfb->variant));
regs             1343 drivers/video/fbdev/s3c-fb.c 	writel(0, regs + VIDOSD_B(win, sfb->variant));
regs             1344 drivers/video/fbdev/s3c-fb.c 	writel(0, regs + VIDOSD_C(win, sfb->variant));
regs             1347 drivers/video/fbdev/s3c-fb.c 		reg = readl(sfb->regs + SHADOWCON);
regs             1351 drivers/video/fbdev/s3c-fb.c 		writel(reg, sfb->regs + SHADOWCON);
regs             1415 drivers/video/fbdev/s3c-fb.c 	sfb->regs = devm_ioremap_resource(dev, res);
regs             1416 drivers/video/fbdev/s3c-fb.c 	if (IS_ERR(sfb->regs)) {
regs             1417 drivers/video/fbdev/s3c-fb.c 		ret = PTR_ERR(sfb->regs);
regs             1435 drivers/video/fbdev/s3c-fb.c 	dev_dbg(dev, "got resources (regs %p), probing windows\n", sfb->regs);
regs             1444 drivers/video/fbdev/s3c-fb.c 	writel(pd->vidcon1, sfb->regs + VIDCON1);
regs             1448 drivers/video/fbdev/s3c-fb.c 		reg = readl(sfb->regs + VIDCON1);
regs             1451 drivers/video/fbdev/s3c-fb.c 		writel(reg, sfb->regs + VIDCON1);
regs             1461 drivers/video/fbdev/s3c-fb.c 		void __iomem *regs = sfb->regs + sfb->variant.keycon;
regs             1463 drivers/video/fbdev/s3c-fb.c 		regs += (win * 8);
regs             1464 drivers/video/fbdev/s3c-fb.c 		writel(0xffffff, regs + WKEYCON0);
regs             1465 drivers/video/fbdev/s3c-fb.c 		writel(0xffffff, regs + WKEYCON1);
regs             1580 drivers/video/fbdev/s3c-fb.c 	writel(pd->vidcon1, sfb->regs + VIDCON1);
regs             1584 drivers/video/fbdev/s3c-fb.c 		reg = readl(sfb->regs + VIDCON1);
regs             1587 drivers/video/fbdev/s3c-fb.c 		writel(reg, sfb->regs + VIDCON1);
regs             1595 drivers/video/fbdev/s3c-fb.c 		void __iomem *regs = sfb->regs + sfb->variant.keycon;
regs             1601 drivers/video/fbdev/s3c-fb.c 		regs += (win_no * 8);
regs             1602 drivers/video/fbdev/s3c-fb.c 		writel(0xffffff, regs + WKEYCON0);
regs             1603 drivers/video/fbdev/s3c-fb.c 		writel(0xffffff, regs + WKEYCON1);
regs             1650 drivers/video/fbdev/s3c-fb.c 	writel(pd->vidcon1, sfb->regs + VIDCON1);
regs               74 drivers/video/fbdev/s3c2410fb.c 	void __iomem *regs = fbi->io;
regs               88 drivers/video/fbdev/s3c2410fb.c 	writel(saddr1, regs + S3C2410_LCDSADDR1);
regs               89 drivers/video/fbdev/s3c2410fb.c 	writel(saddr2, regs + S3C2410_LCDSADDR2);
regs               90 drivers/video/fbdev/s3c2410fb.c 	writel(saddr3, regs + S3C2410_LCDSADDR3);
regs              172 drivers/video/fbdev/s3c2410fb.c 	fbi->regs.lcdcon5 = display->lcdcon5;
regs              174 drivers/video/fbdev/s3c2410fb.c 	fbi->regs.lcdcon1 = display->type;
regs              252 drivers/video/fbdev/s3c2410fb.c 					     struct s3c2410fb_hw *regs)
regs              256 drivers/video/fbdev/s3c2410fb.c 	int type = regs->lcdcon1 & ~S3C2410_LCDCON1_TFT;
regs              266 drivers/video/fbdev/s3c2410fb.c 		regs->lcdcon1 |= S3C2410_LCDCON1_STN1BPP;
regs              269 drivers/video/fbdev/s3c2410fb.c 		regs->lcdcon1 |= S3C2410_LCDCON1_STN2GREY;
regs              272 drivers/video/fbdev/s3c2410fb.c 		regs->lcdcon1 |= S3C2410_LCDCON1_STN4GREY;
regs              275 drivers/video/fbdev/s3c2410fb.c 		regs->lcdcon1 |= S3C2410_LCDCON1_STN8BPP;
regs              279 drivers/video/fbdev/s3c2410fb.c 		regs->lcdcon1 |= S3C2410_LCDCON1_STN12BPP;
regs              292 drivers/video/fbdev/s3c2410fb.c 	regs->lcdcon2 = S3C2410_LCDCON2_LINEVAL(var->yres - 1);
regs              300 drivers/video/fbdev/s3c2410fb.c 	regs->lcdcon3 =	S3C2410_LCDCON3_WDLY(wdly) |
regs              304 drivers/video/fbdev/s3c2410fb.c 	regs->lcdcon4 = S3C2410_LCDCON4_WLH(wlh);
regs              312 drivers/video/fbdev/s3c2410fb.c 					     struct s3c2410fb_hw *regs)
regs              319 drivers/video/fbdev/s3c2410fb.c 		regs->lcdcon1 |= S3C2410_LCDCON1_TFT1BPP;
regs              322 drivers/video/fbdev/s3c2410fb.c 		regs->lcdcon1 |= S3C2410_LCDCON1_TFT2BPP;
regs              325 drivers/video/fbdev/s3c2410fb.c 		regs->lcdcon1 |= S3C2410_LCDCON1_TFT4BPP;
regs              328 drivers/video/fbdev/s3c2410fb.c 		regs->lcdcon1 |= S3C2410_LCDCON1_TFT8BPP;
regs              329 drivers/video/fbdev/s3c2410fb.c 		regs->lcdcon5 |= S3C2410_LCDCON5_BSWP |
regs              331 drivers/video/fbdev/s3c2410fb.c 		regs->lcdcon5 &= ~S3C2410_LCDCON5_HWSWP;
regs              334 drivers/video/fbdev/s3c2410fb.c 		regs->lcdcon1 |= S3C2410_LCDCON1_TFT16BPP;
regs              335 drivers/video/fbdev/s3c2410fb.c 		regs->lcdcon5 &= ~S3C2410_LCDCON5_BSWP;
regs              336 drivers/video/fbdev/s3c2410fb.c 		regs->lcdcon5 |= S3C2410_LCDCON5_HWSWP;
regs              339 drivers/video/fbdev/s3c2410fb.c 		regs->lcdcon1 |= S3C2410_LCDCON1_TFT24BPP;
regs              340 drivers/video/fbdev/s3c2410fb.c 		regs->lcdcon5 &= ~(S3C2410_LCDCON5_BSWP |
regs              356 drivers/video/fbdev/s3c2410fb.c 	regs->lcdcon2 = S3C2410_LCDCON2_LINEVAL(var->yres - 1) |
regs              361 drivers/video/fbdev/s3c2410fb.c 	regs->lcdcon3 = S3C2410_LCDCON3_HBPD(var->right_margin - 1) |
regs              365 drivers/video/fbdev/s3c2410fb.c 	regs->lcdcon4 = S3C2410_LCDCON4_HSPW(var->hsync_len - 1);
regs              376 drivers/video/fbdev/s3c2410fb.c 	void __iomem *regs = fbi->io;
regs              377 drivers/video/fbdev/s3c2410fb.c 	int type = fbi->regs.lcdcon1 & S3C2410_LCDCON1_TFT;
regs              388 drivers/video/fbdev/s3c2410fb.c 		s3c2410fb_calculate_tft_lcd_regs(info, &fbi->regs);
regs              393 drivers/video/fbdev/s3c2410fb.c 		s3c2410fb_calculate_stn_lcd_regs(info, &fbi->regs);
regs              398 drivers/video/fbdev/s3c2410fb.c 	fbi->regs.lcdcon1 |=  S3C2410_LCDCON1_CLKVAL(clkdiv);
regs              403 drivers/video/fbdev/s3c2410fb.c 	dprintk("lcdcon[1] = 0x%08lx\n", fbi->regs.lcdcon1);
regs              404 drivers/video/fbdev/s3c2410fb.c 	dprintk("lcdcon[2] = 0x%08lx\n", fbi->regs.lcdcon2);
regs              405 drivers/video/fbdev/s3c2410fb.c 	dprintk("lcdcon[3] = 0x%08lx\n", fbi->regs.lcdcon3);
regs              406 drivers/video/fbdev/s3c2410fb.c 	dprintk("lcdcon[4] = 0x%08lx\n", fbi->regs.lcdcon4);
regs              407 drivers/video/fbdev/s3c2410fb.c 	dprintk("lcdcon[5] = 0x%08lx\n", fbi->regs.lcdcon5);
regs              409 drivers/video/fbdev/s3c2410fb.c 	writel(fbi->regs.lcdcon1 & ~S3C2410_LCDCON1_ENVID,
regs              410 drivers/video/fbdev/s3c2410fb.c 		regs + S3C2410_LCDCON1);
regs              411 drivers/video/fbdev/s3c2410fb.c 	writel(fbi->regs.lcdcon2, regs + S3C2410_LCDCON2);
regs              412 drivers/video/fbdev/s3c2410fb.c 	writel(fbi->regs.lcdcon3, regs + S3C2410_LCDCON3);
regs              413 drivers/video/fbdev/s3c2410fb.c 	writel(fbi->regs.lcdcon4, regs + S3C2410_LCDCON4);
regs              414 drivers/video/fbdev/s3c2410fb.c 	writel(fbi->regs.lcdcon5, regs + S3C2410_LCDCON5);
regs              419 drivers/video/fbdev/s3c2410fb.c 	fbi->regs.lcdcon1 |= S3C2410_LCDCON1_ENVID,
regs              420 drivers/video/fbdev/s3c2410fb.c 	writel(fbi->regs.lcdcon1, regs + S3C2410_LCDCON1);
regs              491 drivers/video/fbdev/s3c2410fb.c 	void __iomem *regs = fbi->io;
regs              520 drivers/video/fbdev/s3c2410fb.c 			writel(val, regs + S3C2410_TFTPAL(regno));
regs              544 drivers/video/fbdev/s3c2410fb.c 		fbi->regs.lcdcon1 |= S3C2410_LCDCON1_ENVID;
regs              546 drivers/video/fbdev/s3c2410fb.c 		fbi->regs.lcdcon1 &= ~S3C2410_LCDCON1_ENVID;
regs              548 drivers/video/fbdev/s3c2410fb.c 	writel(fbi->regs.lcdcon1, fbi->io + S3C2410_LCDCON1);
regs              691 drivers/video/fbdev/s3c2410fb.c 	void __iomem *regs = fbi->io;
regs              696 drivers/video/fbdev/s3c2410fb.c 		tpal = regs + S3C2412_TPAL;
regs              697 drivers/video/fbdev/s3c2410fb.c 		lpcsel = regs + S3C2412_TCONSEL;
regs              699 drivers/video/fbdev/s3c2410fb.c 		tpal = regs + S3C2410_TPAL;
regs              700 drivers/video/fbdev/s3c2410fb.c 		lpcsel = regs + S3C2410_LPCSEL;
regs              730 drivers/video/fbdev/s3c2410fb.c 	void __iomem *regs = fbi->io;
regs              739 drivers/video/fbdev/s3c2410fb.c 		writel(ent, regs + S3C2410_TFTPAL(i));
regs              746 drivers/video/fbdev/s3c2410fb.c 		if (readw(regs + S3C2410_TFTPAL(i)) == ent)
regs               30 drivers/video/fbdev/s3c2410fb.h 	struct s3c2410fb_hw	regs;
regs               93 drivers/video/fbdev/sm501fb.c 	void __iomem		*regs;		/* remapped registers */
regs              138 drivers/video/fbdev/sm501fb.c 	smc501_readl(info->regs);
regs              283 drivers/video/fbdev/sm501fb.c 		smc501_writel(value, fbi->regs + palette + offset);
regs              498 drivers/video/fbdev/sm501fb.c 			fbi->regs + head_addr);
regs              528 drivers/video/fbdev/sm501fb.c 	void __iomem *base = fbi->regs;
regs              541 drivers/video/fbdev/sm501fb.c 	smc501_writel(reg, fbi->regs + (par->head == HEAD_CRT ?
regs              588 drivers/video/fbdev/sm501fb.c 	reg = smc501_readl(fbi->regs + SM501_DC_CRT_CONTROL);
regs              592 drivers/video/fbdev/sm501fb.c 	smc501_writel(reg, fbi->regs + SM501_DC_CRT_CONTROL);
regs              596 drivers/video/fbdev/sm501fb.c 	smc501_writel(reg | SM501_ADDR_FLIP, fbi->regs + SM501_DC_CRT_FB_ADDR);
regs              615 drivers/video/fbdev/sm501fb.c 	smc501_writel(reg, fbi->regs + SM501_DC_PANEL_FB_WIDTH);
regs              618 drivers/video/fbdev/sm501fb.c 	smc501_writel(reg, fbi->regs + SM501_DC_PANEL_FB_HEIGHT);
regs              644 drivers/video/fbdev/sm501fb.c 	control = smc501_readl(fbi->regs + SM501_DC_CRT_CONTROL);
regs              706 drivers/video/fbdev/sm501fb.c 	smc501_writel(control, fbi->regs + SM501_DC_CRT_CONTROL);
regs              715 drivers/video/fbdev/sm501fb.c 	void __iomem *ctrl_reg = fbi->regs + SM501_DC_PANEL_CONTROL;
regs              821 drivers/video/fbdev/sm501fb.c 	control = smc501_readl(fbi->regs + SM501_DC_PANEL_CONTROL);
regs              855 drivers/video/fbdev/sm501fb.c 	smc501_writel(0x0, fbi->regs + SM501_DC_PANEL_PANNING_CONTROL);
regs              859 drivers/video/fbdev/sm501fb.c 	smc501_writel(0x00, fbi->regs + SM501_DC_PANEL_TL_LOC);
regs              864 drivers/video/fbdev/sm501fb.c 	smc501_writel(reg, fbi->regs + SM501_DC_PANEL_BR_LOC);
regs              877 drivers/video/fbdev/sm501fb.c 	smc501_writel(control, fbi->regs + SM501_DC_PANEL_CONTROL);
regs              917 drivers/video/fbdev/sm501fb.c 	void __iomem *base = fbi->regs;
regs             1002 drivers/video/fbdev/sm501fb.c 	ctrl = smc501_readl(fbi->regs + SM501_DC_CRT_CONTROL);
regs             1027 drivers/video/fbdev/sm501fb.c 	smc501_writel(ctrl, fbi->regs + SM501_DC_CRT_CONTROL);
regs             1042 drivers/video/fbdev/sm501fb.c 	void __iomem *base = fbi->regs;
regs             1166 drivers/video/fbdev/sm501fb.c 	ctrl = smc501_readl(info->regs + SM501_DC_CRT_CONTROL);
regs             1197 drivers/video/fbdev/sm501fb.c 	ctrl = smc501_readl(info->regs + SM501_DC_CRT_CONTROL);
regs             1209 drivers/video/fbdev/sm501fb.c 	smc501_writel(ctrl, info->regs + SM501_DC_CRT_CONTROL);
regs             1225 drivers/video/fbdev/sm501fb.c 	void __iomem *mem = info->regs;
regs             1291 drivers/video/fbdev/sm501fb.c 	       (smc501_readl(fbi->regs + SM501_SYSTEM_CONTROL) &
regs             1498 drivers/video/fbdev/sm501fb.c 	par->cursor_regs = info->regs + reg_base;
regs             1556 drivers/video/fbdev/sm501fb.c 	info->regs = ioremap(res->start, resource_size(res));
regs             1557 drivers/video/fbdev/sm501fb.c 	if (info->regs == NULL) {
regs             1620 drivers/video/fbdev/sm501fb.c 		smc501_writel(0, info->regs + SM501_DC_PANEL_PALETTE + (k * 4));
regs             1646 drivers/video/fbdev/sm501fb.c 	iounmap(info->regs);
regs             1669 drivers/video/fbdev/sm501fb.c 	iounmap(info->regs);
regs             1687 drivers/video/fbdev/sm501fb.c 		ctrl = smc501_readl(info->regs + SM501_DC_CRT_CONTROL);
regs             1693 drivers/video/fbdev/sm501fb.c 			smc501_writel(ctrl, info->regs + SM501_DC_CRT_CONTROL);
regs             1700 drivers/video/fbdev/sm501fb.c 		ctrl = smc501_readl(info->regs + SM501_DC_PANEL_CONTROL);
regs             1718 drivers/video/fbdev/sm501fb.c 		smc501_writel(ctrl, info->regs + SM501_DC_CRT_CONTROL);
regs             2170 drivers/video/fbdev/sm501fb.c 	info->pm_crt_ctrl = smc501_readl(info->regs + SM501_DC_CRT_CONTROL);
regs             2194 drivers/video/fbdev/sm501fb.c 	crt_ctrl = smc501_readl(info->regs + SM501_DC_CRT_CONTROL);
regs             2197 drivers/video/fbdev/sm501fb.c 	smc501_writel(crt_ctrl, info->regs + SM501_DC_CRT_CONTROL);
regs              371 drivers/video/fbdev/uvesafb.c 	task->t.regs.eax = 0x4f04;
regs              372 drivers/video/fbdev/uvesafb.c 	task->t.regs.ecx = 0x000f;
regs              373 drivers/video/fbdev/uvesafb.c 	task->t.regs.edx = 0x0001;
regs              379 drivers/video/fbdev/uvesafb.c 	if (err || (task->t.regs.eax & 0xffff) != 0x004f) {
regs              381 drivers/video/fbdev/uvesafb.c 			task->t.regs.eax, err);
regs              402 drivers/video/fbdev/uvesafb.c 	task->t.regs.eax = 0x4f04;
regs              403 drivers/video/fbdev/uvesafb.c 	task->t.regs.ecx = 0x000f;
regs              404 drivers/video/fbdev/uvesafb.c 	task->t.regs.edx = 0x0002;
regs              410 drivers/video/fbdev/uvesafb.c 	if (err || (task->t.regs.eax & 0xffff) != 0x004f)
regs              412 drivers/video/fbdev/uvesafb.c 			task->t.regs.eax, err);
regs              422 drivers/video/fbdev/uvesafb.c 	task->t.regs.eax = 0x4f00;
regs              429 drivers/video/fbdev/uvesafb.c 	if (err || (task->t.regs.eax & 0xffff) != 0x004f) {
regs              431 drivers/video/fbdev/uvesafb.c 		       (u32)task->t.regs.eax, err);
regs              502 drivers/video/fbdev/uvesafb.c 		task->t.regs.eax = 0x4f01;
regs              503 drivers/video/fbdev/uvesafb.c 		task->t.regs.ecx = (u32) *mode;
regs              509 drivers/video/fbdev/uvesafb.c 		if (err || (task->t.regs.eax & 0xffff) != 0x004f) {
regs              511 drivers/video/fbdev/uvesafb.c 				*mode, (u32)task->t.regs.eax, err);
regs              560 drivers/video/fbdev/uvesafb.c 	task->t.regs.eax = 0x4f0a;
regs              561 drivers/video/fbdev/uvesafb.c 	task->t.regs.ebx = 0x0;
regs              564 drivers/video/fbdev/uvesafb.c 	if ((task->t.regs.eax & 0xffff) != 0x4f || task->t.regs.es < 0xc000) {
regs              567 drivers/video/fbdev/uvesafb.c 		par->pmi_base = (u16 *)phys_to_virt(((u32)task->t.regs.es << 4)
regs              568 drivers/video/fbdev/uvesafb.c 						+ task->t.regs.edi);
regs              572 drivers/video/fbdev/uvesafb.c 			(u16)task->t.regs.es, (u16)task->t.regs.edi);
regs              621 drivers/video/fbdev/uvesafb.c 	task->t.regs.eax = 0x4f15;
regs              622 drivers/video/fbdev/uvesafb.c 	task->t.regs.ebx = 0;
regs              623 drivers/video/fbdev/uvesafb.c 	task->t.regs.ecx = 0;
regs              629 drivers/video/fbdev/uvesafb.c 	if ((task->t.regs.eax & 0xffff) != 0x004f || err)
regs              632 drivers/video/fbdev/uvesafb.c 	if ((task->t.regs.ebx & 0x3) == 3) {
regs              634 drivers/video/fbdev/uvesafb.c 	} else if ((task->t.regs.ebx & 0x3) == 2) {
regs              636 drivers/video/fbdev/uvesafb.c 	} else if ((task->t.regs.ebx & 0x3) == 1) {
regs              643 drivers/video/fbdev/uvesafb.c 	task->t.regs.eax = 0x4f15;
regs              644 drivers/video/fbdev/uvesafb.c 	task->t.regs.ebx = 1;
regs              645 drivers/video/fbdev/uvesafb.c 	task->t.regs.ecx = task->t.regs.edx = 0;
regs              654 drivers/video/fbdev/uvesafb.c 	if ((task->t.regs.eax & 0xffff) == 0x004f && !err) {
regs              764 drivers/video/fbdev/uvesafb.c 	task->t.regs.eax = 0x4f04;
regs              765 drivers/video/fbdev/uvesafb.c 	task->t.regs.ecx = 0x000f;
regs              766 drivers/video/fbdev/uvesafb.c 	task->t.regs.edx = 0x0000;
regs              771 drivers/video/fbdev/uvesafb.c 	if (err || (task->t.regs.eax & 0xffff) != 0x004f) {
regs              773 drivers/video/fbdev/uvesafb.c 			task->t.regs.eax, err);
regs              778 drivers/video/fbdev/uvesafb.c 	par->vbe_state_size = 64 * (task->t.regs.ebx & 0xffff);
regs              970 drivers/video/fbdev/uvesafb.c 		task->t.regs.eax = 0x4f09;
regs              971 drivers/video/fbdev/uvesafb.c 		task->t.regs.ebx = 0x0;
regs              972 drivers/video/fbdev/uvesafb.c 		task->t.regs.ecx = count;
regs              973 drivers/video/fbdev/uvesafb.c 		task->t.regs.edx = start;
regs              979 drivers/video/fbdev/uvesafb.c 		if ((task->t.regs.eax & 0xffff) != 0x004f)
regs             1140 drivers/video/fbdev/uvesafb.c 		task->t.regs.eax = 0x4f10;
regs             1143 drivers/video/fbdev/uvesafb.c 			task->t.regs.ebx = 0x0001;
regs             1146 drivers/video/fbdev/uvesafb.c 			task->t.regs.ebx = 0x0101;	/* standby */
regs             1149 drivers/video/fbdev/uvesafb.c 			task->t.regs.ebx = 0x0401;	/* powerdown */
regs             1156 drivers/video/fbdev/uvesafb.c 		if (err || (task->t.regs.eax & 0xffff) != 0x004f)
regs             1200 drivers/video/fbdev/uvesafb.c 	task->t.regs.eax = 0x0003;
regs             1237 drivers/video/fbdev/uvesafb.c 	task->t.regs.eax = 0x4f02;
regs             1238 drivers/video/fbdev/uvesafb.c 	task->t.regs.ebx = mode->mode_id | 0x4000;	/* use LFB */
regs             1242 drivers/video/fbdev/uvesafb.c 		task->t.regs.ebx |= 0x0800;		/* use CRTC data */
regs             1278 drivers/video/fbdev/uvesafb.c 	if (err || (task->t.regs.eax & 0xffff) != 0x004f) {
regs             1285 drivers/video/fbdev/uvesafb.c 				task->t.regs.eax, err);
regs             1293 drivers/video/fbdev/uvesafb.c 			       task->t.regs.eax, err);
regs             1304 drivers/video/fbdev/uvesafb.c 		task->t.regs.eax = 0x4f08;
regs             1305 drivers/video/fbdev/uvesafb.c 		task->t.regs.ebx = 0x0800;
regs             1308 drivers/video/fbdev/uvesafb.c 		if (err || (task->t.regs.eax & 0xffff) != 0x004f ||
regs             1309 drivers/video/fbdev/uvesafb.c 		    ((task->t.regs.ebx & 0xff00) >> 8) != 8) {
regs              113 drivers/video/fbdev/w100fb.c 	unsigned long regs, param;
regs              114 drivers/video/fbdev/w100fb.c 	regs = simple_strtoul(buf, NULL, 16);
regs              115 drivers/video/fbdev/w100fb.c 	param = readl(remapped_regs + regs);
regs              116 drivers/video/fbdev/w100fb.c 	printk("Read Register 0x%08lX: 0x%08lX\n", regs, param);
regs              124 drivers/video/fbdev/w100fb.c 	unsigned long regs, param;
regs              125 drivers/video/fbdev/w100fb.c 	sscanf(buf, "%lx %lx", &regs, &param);
regs              127 drivers/video/fbdev/w100fb.c 	if (regs <= 0x2000) {
regs              128 drivers/video/fbdev/w100fb.c 		printk("Write Register 0x%08lX: 0x%08lX\n", regs, param);
regs              129 drivers/video/fbdev/w100fb.c 		writel(param, remapped_regs + regs);
regs             1297 drivers/video/fbdev/w100fb.c 	struct w100_gen_regs *regs = par->mach->regs;
regs             1341 drivers/video/fbdev/w100fb.c 	writel(regs->lcd_format, remapped_regs + mmLCD_FORMAT);
regs             1342 drivers/video/fbdev/w100fb.c 	writel(regs->lcdd_cntl1, remapped_regs + mmLCDD_CNTL1);
regs             1343 drivers/video/fbdev/w100fb.c 	writel(regs->lcdd_cntl2, remapped_regs + mmLCDD_CNTL2);
regs             1344 drivers/video/fbdev/w100fb.c 	writel(regs->genlcd_cntl1, remapped_regs + mmGENLCD_CNTL1);
regs             1345 drivers/video/fbdev/w100fb.c 	writel(regs->genlcd_cntl2, remapped_regs + mmGENLCD_CNTL2);
regs             1346 drivers/video/fbdev/w100fb.c 	writel(regs->genlcd_cntl3, remapped_regs + mmGENLCD_CNTL3);
regs              140 drivers/video/fbdev/xilinxfb.c 	void __iomem	*regs;		/* virt. address of the control
regs              172 drivers/video/fbdev/xilinxfb.c 			iowrite32(val, drvdata->regs + (offset << 2));
regs              174 drivers/video/fbdev/xilinxfb.c 			iowrite32be(val, drvdata->regs + (offset << 2));
regs              186 drivers/video/fbdev/xilinxfb.c 			return ioread32(drvdata->regs + (offset << 2));
regs              188 drivers/video/fbdev/xilinxfb.c 			return ioread32be(drvdata->regs + (offset << 2));
regs              275 drivers/video/fbdev/xilinxfb.c 		drvdata->regs = devm_ioremap_resource(&pdev->dev, res);
regs              276 drivers/video/fbdev/xilinxfb.c 		if (IS_ERR(drvdata->regs))
regs              277 drivers/video/fbdev/xilinxfb.c 			return PTR_ERR(drvdata->regs);
regs              353 drivers/video/fbdev/xilinxfb.c 			&drvdata->regs_phys, drvdata->regs);
regs               30 drivers/w1/masters/mxc_w1.c 	void __iomem *regs;
regs               45 drivers/w1/masters/mxc_w1.c 	writeb(MXC_W1_CONTROL_RPP, dev->regs + MXC_W1_CONTROL);
regs               53 drivers/w1/masters/mxc_w1.c 		u8 ctrl = readb(dev->regs + MXC_W1_CONTROL);
regs               73 drivers/w1/masters/mxc_w1.c 	writeb(MXC_W1_CONTROL_WR(bit), dev->regs + MXC_W1_CONTROL);
regs               81 drivers/w1/masters/mxc_w1.c 		u8 ctrl = readb(dev->regs + MXC_W1_CONTROL);
regs              122 drivers/w1/masters/mxc_w1.c 	mdev->regs = devm_platform_ioremap_resource(pdev, 0);
regs              123 drivers/w1/masters/mxc_w1.c 	if (IS_ERR(mdev->regs)) {
regs              124 drivers/w1/masters/mxc_w1.c 		err = PTR_ERR(mdev->regs);
regs              129 drivers/w1/masters/mxc_w1.c 	writeb(MXC_W1_RESET_RST, mdev->regs + MXC_W1_RESET);
regs              130 drivers/w1/masters/mxc_w1.c 	writeb(0, mdev->regs + MXC_W1_RESET);
regs              132 drivers/w1/masters/mxc_w1.c 	writeb(clkdiv - 1, mdev->regs + MXC_W1_TIME_DIVIDER);
regs               42 drivers/watchdog/bcm63xx_wdt.c 	void __iomem *regs;
regs               59 drivers/watchdog/bcm63xx_wdt.c 	bcm_writel(0xfffffffe, bcm63xx_wdt_device.regs + WDT_DEFVAL_REG);
regs               60 drivers/watchdog/bcm63xx_wdt.c 	bcm_writel(WDT_START_1, bcm63xx_wdt_device.regs + WDT_CTL_REG);
regs               61 drivers/watchdog/bcm63xx_wdt.c 	bcm_writel(WDT_START_2, bcm63xx_wdt_device.regs + WDT_CTL_REG);
regs               66 drivers/watchdog/bcm63xx_wdt.c 	bcm_writel(WDT_STOP_1, bcm63xx_wdt_device.regs + WDT_CTL_REG);
regs               67 drivers/watchdog/bcm63xx_wdt.c 	bcm_writel(WDT_STOP_2, bcm63xx_wdt_device.regs + WDT_CTL_REG);
regs               72 drivers/watchdog/bcm63xx_wdt.c 	struct pt_regs *regs = get_irq_regs();
regs               74 drivers/watchdog/bcm63xx_wdt.c 	die(PFX " fire", regs);
regs              248 drivers/watchdog/bcm63xx_wdt.c 	bcm63xx_wdt_device.regs = devm_ioremap_nocache(&pdev->dev, r->start,
regs              250 drivers/watchdog/bcm63xx_wdt.c 	if (!bcm63xx_wdt_device.regs) {
regs               75 drivers/watchdog/cadence_wdt.c 	void __iomem		*regs;
regs               87 drivers/watchdog/cadence_wdt.c 	writel_relaxed(val, wdt->regs + offset);
regs              310 drivers/watchdog/cadence_wdt.c 	wdt->regs = devm_platform_ioremap_resource(pdev, 0);
regs              311 drivers/watchdog/cadence_wdt.c 	if (IS_ERR(wdt->regs))
regs              312 drivers/watchdog/cadence_wdt.c 		return PTR_ERR(wdt->regs);
regs              371 drivers/watchdog/cadence_wdt.c 		 wdt->regs, cdns_wdt_device->timeout,
regs               74 drivers/watchdog/cpwd.c 	void __iomem	*regs;
regs               87 drivers/watchdog/cpwd.c 		void __iomem		*regs;
regs              207 drivers/watchdog/cpwd.c 	unsigned char curregs = cpwd_readb(p->regs + PLD_IMASK);
regs              218 drivers/watchdog/cpwd.c 	cpwd_writeb(curregs, p->regs + PLD_IMASK);
regs              227 drivers/watchdog/cpwd.c 	cpwd_writew(WD_BLIMIT, p->devs[index].regs + WD_LIMIT);
regs              265 drivers/watchdog/cpwd.c 	if (cpwd_readb(p->devs[index].regs + WD_STATUS) & WD_S_RUNNING)
regs              266 drivers/watchdog/cpwd.c 		cpwd_readw(p->devs[index].regs + WD_DCNTR);
regs              275 drivers/watchdog/cpwd.c 	if (cpwd_readb(p->devs[index].regs + WD_STATUS) & WD_S_RUNNING) {
regs              299 drivers/watchdog/cpwd.c 	cpwd_writew(p->devs[index].timeout, p->devs[index].regs + WD_LIMIT);
regs              305 drivers/watchdog/cpwd.c 	unsigned char stat = cpwd_readb(p->devs[index].regs + WD_STATUS);
regs              306 drivers/watchdog/cpwd.c 	unsigned char intr = cpwd_readb(p->devs[index].regs + PLD_IMASK);
regs              533 drivers/watchdog/cpwd.c 	p->regs = of_ioremap(&op->resource[0], 0,
regs              535 drivers/watchdog/cpwd.c 	if (!p->regs) {
regs              580 drivers/watchdog/cpwd.c 		p->devs[i].regs = p->regs + (i * WD_TIMER_REGSZ);
regs              613 drivers/watchdog/cpwd.c 	of_iounmap(&op->resource[0], p->regs, 4 * WD_TIMER_REGSZ);
regs              639 drivers/watchdog/cpwd.c 	of_iounmap(&op->resource[0], p->regs, 4 * WD_TIMER_REGSZ);
regs               49 drivers/watchdog/dw_wdt.c 	void __iomem		*regs;
regs               63 drivers/watchdog/dw_wdt.c 	return readl(dw_wdt->regs + WDOG_CONTROL_REG_OFFSET) &
regs               78 drivers/watchdog/dw_wdt.c 	int top = readl(dw_wdt->regs + WDOG_TIMEOUT_RANGE_REG_OFFSET) & 0xF;
regs               87 drivers/watchdog/dw_wdt.c 	writel(WDOG_COUNTER_RESTART_KICK_VALUE, dw_wdt->regs +
regs              115 drivers/watchdog/dw_wdt.c 	       dw_wdt->regs + WDOG_TIMEOUT_RANGE_REG_OFFSET);
regs              124 drivers/watchdog/dw_wdt.c 	u32 val = readl(dw_wdt->regs + WDOG_CONTROL_REG_OFFSET);
regs              130 drivers/watchdog/dw_wdt.c 	writel(val, dw_wdt->regs + WDOG_CONTROL_REG_OFFSET);
regs              163 drivers/watchdog/dw_wdt.c 	writel(0, dw_wdt->regs + WDOG_TIMEOUT_RANGE_REG_OFFSET);
regs              166 drivers/watchdog/dw_wdt.c 		       dw_wdt->regs + WDOG_COUNTER_RESTART_REG_OFFSET);
regs              180 drivers/watchdog/dw_wdt.c 	return readl(dw_wdt->regs + WDOG_CURRENT_COUNT_REG_OFFSET) /
regs              205 drivers/watchdog/dw_wdt.c 	dw_wdt->control = readl(dw_wdt->regs + WDOG_CONTROL_REG_OFFSET);
regs              206 drivers/watchdog/dw_wdt.c 	dw_wdt->timeout = readl(dw_wdt->regs + WDOG_TIMEOUT_RANGE_REG_OFFSET);
regs              221 drivers/watchdog/dw_wdt.c 	writel(dw_wdt->timeout, dw_wdt->regs + WDOG_TIMEOUT_RANGE_REG_OFFSET);
regs              222 drivers/watchdog/dw_wdt.c 	writel(dw_wdt->control, dw_wdt->regs + WDOG_CONTROL_REG_OFFSET);
regs              243 drivers/watchdog/dw_wdt.c 	dw_wdt->regs = devm_platform_ioremap_resource(pdev, 0);
regs              244 drivers/watchdog/dw_wdt.c 	if (IS_ERR(dw_wdt->regs))
regs              245 drivers/watchdog/dw_wdt.c 		return PTR_ERR(dw_wdt->regs);
regs              166 drivers/watchdog/hpwdt.c static int hpwdt_pretimeout(unsigned int ulReason, struct pt_regs *regs)
regs              193 drivers/watchdog/hpwdt.c 	nmi_panic(regs, panic_msg);
regs               44 drivers/watchdog/pic32-dmt.c 	void __iomem	*regs;
regs               50 drivers/watchdog/pic32-dmt.c 	writel(DMT_ON, PIC32_SET(dmt->regs + DMTCON_REG));
regs               55 drivers/watchdog/pic32-dmt.c 	writel(DMT_ON, PIC32_CLR(dmt->regs + DMTCON_REG));
regs               67 drivers/watchdog/pic32-dmt.c 	val = readl(dmt->regs + DMTSTAT_REG);
regs               81 drivers/watchdog/pic32-dmt.c 	writel(DMT_STEP1_KEY << 8, dmt->regs + DMTPRECLR_REG);
regs               85 drivers/watchdog/pic32-dmt.c 		v = readl(dmt->regs + DMTSTAT_REG) & DMTSTAT_WINOPN;
regs               91 drivers/watchdog/pic32-dmt.c 	writel(DMT_STEP2_KEY, dmt->regs + DMTCLR_REG);
regs              103 drivers/watchdog/pic32-dmt.c 		return readl(dmt->regs + DMTPSCNT_REG) / rate;
regs              183 drivers/watchdog/pic32-dmt.c 	dmt->regs = devm_platform_ioremap_resource(pdev, 0);
regs              184 drivers/watchdog/pic32-dmt.c 	if (IS_ERR(dmt->regs))
regs              185 drivers/watchdog/pic32-dmt.c 		return PTR_ERR(dmt->regs);
regs               40 drivers/watchdog/pic32-wdt.c 	void __iomem	*regs;
regs               47 drivers/watchdog/pic32-wdt.c 	return !!(readl(wdt->regs + WDTCON_REG) & WDTCON_WIN_EN);
regs               52 drivers/watchdog/pic32-wdt.c 	u32 v = readl(wdt->regs + WDTCON_REG);
regs               59 drivers/watchdog/pic32-wdt.c 	u32 v = readl(wdt->regs + WDTCON_REG);
regs              104 drivers/watchdog/pic32-wdt.c 	writew(WDTCON_CLR_KEY, wdt->regs + WDTCON_REG + 2);
regs              111 drivers/watchdog/pic32-wdt.c 	writel(WDTCON_ON, PIC32_SET(wdt->regs + WDTCON_REG));
regs              121 drivers/watchdog/pic32-wdt.c 	writel(WDTCON_ON, PIC32_CLR(wdt->regs + WDTCON_REG));
regs              181 drivers/watchdog/pic32-wdt.c 	wdt->regs = devm_platform_ioremap_resource(pdev, 0);
regs              182 drivers/watchdog/pic32-wdt.c 	if (IS_ERR(wdt->regs))
regs              183 drivers/watchdog/pic32-wdt.c 		return PTR_ERR(wdt->regs);
regs              188 drivers/watchdog/qcom-wdt.c 	const u32 *regs;
regs              193 drivers/watchdog/qcom-wdt.c 	regs = of_device_get_match_data(dev);
regs              194 drivers/watchdog/qcom-wdt.c 	if (!regs) {
regs              270 drivers/watchdog/qcom-wdt.c 	wdt->layout = regs;
regs               56 drivers/watchdog/riowd.c 	void __iomem		*regs;
regs               73 drivers/watchdog/riowd.c 	writeb(index, p->regs + 0);
regs               74 drivers/watchdog/riowd.c 	writeb(val, p->regs + 1);
regs              192 drivers/watchdog/riowd.c 	p->regs = of_ioremap(&op->resource[0], 0, 2, DRIVER_NAME);
regs              193 drivers/watchdog/riowd.c 	if (!p->regs) {
regs              207 drivers/watchdog/riowd.c 		riowd_timeout, p->regs);
regs              214 drivers/watchdog/riowd.c 	of_iounmap(&op->resource[0], p->regs, 2);
regs              225 drivers/watchdog/riowd.c 	of_iounmap(&op->resource[0], p->regs, 2);
regs              202 drivers/watchdog/sama5d4_wdt.c 	void __iomem *regs;
regs              221 drivers/watchdog/sama5d4_wdt.c 	regs = devm_platform_ioremap_resource(pdev, 0);
regs              222 drivers/watchdog/sama5d4_wdt.c 	if (IS_ERR(regs))
regs              223 drivers/watchdog/sama5d4_wdt.c 		return PTR_ERR(regs);
regs              225 drivers/watchdog/sama5d4_wdt.c 	wdt->reg_base = regs;
regs               71 drivers/watchdog/stm32_iwdg.c 	void __iomem		*regs;
regs              106 drivers/watchdog/stm32_iwdg.c 	reg_write(wdt->regs, IWDG_KR, KR_KEY_EWA);
regs              109 drivers/watchdog/stm32_iwdg.c 	reg_write(wdt->regs, IWDG_PR, iwdg_pr);
regs              110 drivers/watchdog/stm32_iwdg.c 	reg_write(wdt->regs, IWDG_RLR, iwdg_rlr);
regs              111 drivers/watchdog/stm32_iwdg.c 	reg_write(wdt->regs, IWDG_KR, KR_KEY_ENABLE);
regs              114 drivers/watchdog/stm32_iwdg.c 	ret = readl_relaxed_poll_timeout(wdt->regs + IWDG_SR, iwdg_sr,
regs              123 drivers/watchdog/stm32_iwdg.c 	reg_write(wdt->regs, IWDG_KR, KR_KEY_RELOAD);
regs              135 drivers/watchdog/stm32_iwdg.c 	reg_write(wdt->regs, IWDG_KR, KR_KEY_RELOAD);
regs              242 drivers/watchdog/stm32_iwdg.c 	wdt->regs = devm_platform_ioremap_resource(pdev, 0);
regs              243 drivers/watchdog/stm32_iwdg.c 	if (IS_ERR(wdt->regs)) {
regs              245 drivers/watchdog/stm32_iwdg.c 		return PTR_ERR(wdt->regs);
regs               87 drivers/watchdog/sunxi_wdt.c 	const struct sunxi_wdt_reg *regs = sunxi_wdt->wdt_regs;
regs               91 drivers/watchdog/sunxi_wdt.c 	val = readl(wdt_base + regs->wdt_cfg);
regs               92 drivers/watchdog/sunxi_wdt.c 	val &= ~(regs->wdt_reset_mask);
regs               93 drivers/watchdog/sunxi_wdt.c 	val |= regs->wdt_reset_val;
regs               94 drivers/watchdog/sunxi_wdt.c 	writel(val, wdt_base + regs->wdt_cfg);
regs               97 drivers/watchdog/sunxi_wdt.c 	val = readl(wdt_base + regs->wdt_mode);
regs               98 drivers/watchdog/sunxi_wdt.c 	val &= ~(WDT_TIMEOUT_MASK << regs->wdt_timeout_shift);
regs              100 drivers/watchdog/sunxi_wdt.c 	writel(val, wdt_base + regs->wdt_mode);
regs              106 drivers/watchdog/sunxi_wdt.c 	writel(WDT_CTRL_RELOAD, wdt_base + regs->wdt_ctrl);
regs              110 drivers/watchdog/sunxi_wdt.c 		val = readl(wdt_base + regs->wdt_mode);
regs              112 drivers/watchdog/sunxi_wdt.c 		writel(val, wdt_base + regs->wdt_mode);
regs              121 drivers/watchdog/sunxi_wdt.c 	const struct sunxi_wdt_reg *regs = sunxi_wdt->wdt_regs;
regs              123 drivers/watchdog/sunxi_wdt.c 	writel(WDT_CTRL_RELOAD, wdt_base + regs->wdt_ctrl);
regs              133 drivers/watchdog/sunxi_wdt.c 	const struct sunxi_wdt_reg *regs = sunxi_wdt->wdt_regs;
regs              141 drivers/watchdog/sunxi_wdt.c 	reg = readl(wdt_base + regs->wdt_mode);
regs              142 drivers/watchdog/sunxi_wdt.c 	reg &= ~(WDT_TIMEOUT_MASK << regs->wdt_timeout_shift);
regs              143 drivers/watchdog/sunxi_wdt.c 	reg |= wdt_timeout_map[timeout] << regs->wdt_timeout_shift;
regs              144 drivers/watchdog/sunxi_wdt.c 	writel(reg, wdt_base + regs->wdt_mode);
regs              155 drivers/watchdog/sunxi_wdt.c 	const struct sunxi_wdt_reg *regs = sunxi_wdt->wdt_regs;
regs              157 drivers/watchdog/sunxi_wdt.c 	writel(0, wdt_base + regs->wdt_mode);
regs              167 drivers/watchdog/sunxi_wdt.c 	const struct sunxi_wdt_reg *regs = sunxi_wdt->wdt_regs;
regs              176 drivers/watchdog/sunxi_wdt.c 	reg = readl(wdt_base + regs->wdt_cfg);
regs              177 drivers/watchdog/sunxi_wdt.c 	reg &= ~(regs->wdt_reset_mask);
regs              178 drivers/watchdog/sunxi_wdt.c 	reg |= regs->wdt_reset_val;
regs              179 drivers/watchdog/sunxi_wdt.c 	writel(reg, wdt_base + regs->wdt_cfg);
regs              182 drivers/watchdog/sunxi_wdt.c 	reg = readl(wdt_base + regs->wdt_mode);
regs              184 drivers/watchdog/sunxi_wdt.c 	writel(reg, wdt_base + regs->wdt_mode);
regs              187 drivers/watchdog/tegra_wdt.c 	void __iomem *regs;
regs              191 drivers/watchdog/tegra_wdt.c 	regs = devm_platform_ioremap_resource(pdev, 0);
regs              192 drivers/watchdog/tegra_wdt.c 	if (IS_ERR(regs))
regs              193 drivers/watchdog/tegra_wdt.c 		return PTR_ERR(regs);
regs              204 drivers/watchdog/tegra_wdt.c 	wdt->wdt_regs = regs + WDT_BASE;
regs              205 drivers/watchdog/tegra_wdt.c 	wdt->tmr_regs = regs + WDT_TIMER_BASE;
regs              320 drivers/watchdog/wdat_wdt.c 	void __iomem **regs;
regs              333 drivers/watchdog/wdat_wdt.c 	regs = devm_kcalloc(dev, pdev->num_resources, sizeof(*regs),
regs              335 drivers/watchdog/wdat_wdt.c 	if (!regs)
regs              370 drivers/watchdog/wdat_wdt.c 		regs[i] = reg;
regs              414 drivers/watchdog/wdat_wdt.c 				instr->reg = regs[j] + r.start - res->start;
regs             1243 drivers/xen/events/events_base.c void xen_evtchn_do_upcall(struct pt_regs *regs)
regs             1245 drivers/xen/events/events_base.c 	struct pt_regs *old_regs = set_irq_regs(regs);
regs              119 fs/binfmt_aout.c 	struct pt_regs *regs = current_pt_regs();
regs              249 fs/binfmt_aout.c 	regs->gp = ex.a_gpvalue;
regs              252 fs/binfmt_aout.c 	start_thread(regs, ex.a_entry, current->mm->start_stack);
regs              693 fs/binfmt_elf.c 	struct pt_regs *regs;
regs             1138 fs/binfmt_elf.c 	regs = current_pt_regs();
regs             1150 fs/binfmt_elf.c 	ELF_PLAT_INIT(regs, reloc_func_desc);
regs             1154 fs/binfmt_elf.c 	start_thread(regs, elf_entry, bprm->p);
regs             1762 fs/binfmt_elf.c 			  const kernel_siginfo_t *siginfo, struct pt_regs *regs)
regs             2011 fs/binfmt_elf.c 			  const kernel_siginfo_t *siginfo, struct pt_regs *regs)
regs             2038 fs/binfmt_elf.c 	elf_core_copy_regs(&info->prstatus->pr_reg, regs);
regs             2064 fs/binfmt_elf.c 	info->prstatus->pr_fpvalid = elf_core_copy_task_fpregs(current, regs,
regs             2239 fs/binfmt_elf.c 	if (!fill_note_info(elf, e_phnum, &info, cprm->siginfo, cprm->regs))
regs              185 fs/binfmt_elf_fdpic.c 	struct pt_regs *regs = current_pt_regs();
regs              458 fs/binfmt_elf_fdpic.c 	ELF_FDPIC_PLAT_INIT(regs, exec_params.map_addr, interp_params.map_addr,
regs              465 fs/binfmt_elf_fdpic.c 	start_thread(regs, entryaddr, current->mm->start_stack);
regs             1633 fs/binfmt_elf_fdpic.c 	elf_core_copy_regs(&prstatus->pr_reg, cprm->regs);
regs             1672 fs/binfmt_elf_fdpic.c 	     elf_core_copy_task_fpregs(current, cprm->regs, fpu)))
regs              925 fs/binfmt_flat.c 	struct pt_regs *regs = current_pt_regs();
regs             1008 fs/binfmt_flat.c 	FLAT_PLAT_INIT(regs);
regs             1013 fs/binfmt_flat.c 		 regs, start_addr, current->mm->start_stack);
regs             1014 fs/binfmt_flat.c 	start_thread(regs, start_addr, current->mm->start_stack);
regs              586 fs/coredump.c  		.regs = signal_pt_regs(),
regs             1082 fs/debugfs/file.c void debugfs_print_regs32(struct seq_file *s, const struct debugfs_reg32 *regs,
regs             1087 fs/debugfs/file.c 	for (i = 0; i < nregs; i++, regs++) {
regs             1090 fs/debugfs/file.c 		seq_printf(s, "%s = 0x%08x\n", regs->name,
regs             1091 fs/debugfs/file.c 			   readl(base + regs->offset));
regs             1102 fs/debugfs/file.c 	debugfs_print_regs32(s, regset->regs, regset->nregs, regset->base, "");
regs               28 fs/pstore/ftrace.c 				       struct pt_regs *regs)
regs              109 include/asm-generic/bug.h 	    struct pt_regs *regs, struct warn_args *args);
regs               34 include/asm-generic/error-injection.h void override_function_with_return(struct pt_regs *regs);
regs               38 include/asm-generic/error-injection.h static inline void override_function_with_return(struct pt_regs *regs) { }
regs               25 include/asm-generic/extable.h extern int fixup_exception(struct pt_regs *regs);
regs               99 include/asm-generic/mshyperv.h void hv_setup_crash_handler(void (*handler)(struct pt_regs *regs));
regs              166 include/asm-generic/mshyperv.h void hyperv_report_panic(struct pt_regs *regs, long err, bool in_die);
regs               38 include/asm-generic/syscall.h int syscall_get_nr(struct task_struct *task, struct pt_regs *regs);
regs               56 include/asm-generic/syscall.h void syscall_rollback(struct task_struct *task, struct pt_regs *regs);
regs               68 include/asm-generic/syscall.h long syscall_get_error(struct task_struct *task, struct pt_regs *regs);
regs               81 include/asm-generic/syscall.h long syscall_get_return_value(struct task_struct *task, struct pt_regs *regs);
regs               98 include/asm-generic/syscall.h void syscall_set_return_value(struct task_struct *task, struct pt_regs *regs,
regs              113 include/asm-generic/syscall.h void syscall_get_arguments(struct task_struct *task, struct pt_regs *regs,
regs              128 include/asm-generic/syscall.h void syscall_set_arguments(struct task_struct *task, struct pt_regs *regs,
regs               26 include/asm-generic/syscalls.h asmlinkage long sys_rt_sigreturn(struct pt_regs *regs);
regs               96 include/linux/amba/clcd.h 	void	(*decode)(struct clcd_fb *fb, struct clcd_regs *regs);
regs              135 include/linux/amba/clcd.h 	void __iomem		*regs;
regs              143 include/linux/amba/clcd.h static inline void clcdfb_decode(struct clcd_fb *fb, struct clcd_regs *regs)
regs              155 include/linux/amba/clcd.h 	regs->tim0 = val;
regs              164 include/linux/amba/clcd.h 	regs->tim1 = val;
regs              180 include/linux/amba/clcd.h 	regs->tim2 = val | ((cpl - 1) << 16);
regs              182 include/linux/amba/clcd.h 	regs->tim3 = fb->panel->tim3;
regs              238 include/linux/amba/clcd.h 	regs->cntl = val;
regs              239 include/linux/amba/clcd.h 	regs->pixclock = var->pixclock;
regs               29 include/linux/arm_sdei.h typedef int (sdei_event_callback)(u32 event, struct pt_regs *regs, void *arg);
regs               82 include/linux/arm_sdei.h int notrace sdei_event_handler(struct pt_regs *regs,
regs               17 include/linux/atmel-ssc.h 	void __iomem		*regs;
regs              609 include/linux/bcma/bcma_driver_chipcommon.h 	void *regs;
regs               84 include/linux/binfmts.h 	struct pt_regs *regs;
regs              172 include/linux/bpf_verifier.h 	struct bpf_reg_state regs[MAX_BPF_REG];
regs              410 include/linux/bpf_verifier.h 	return cur_func(env)->regs;
regs               41 include/linux/bug.h enum bug_trap_type report_bug(unsigned long bug_addr, struct pt_regs *regs);
regs               56 include/linux/bug.h 					    struct pt_regs *regs)
regs               35 include/linux/debugfs.h 	const struct debugfs_reg32 *regs;
regs              133 include/linux/debugfs.h void debugfs_print_regs32(struct seq_file *s, const struct debugfs_reg32 *regs,
regs              345 include/linux/debugfs.h static inline void debugfs_print_regs32(struct seq_file *s, const struct debugfs_reg32 *regs,
regs               34 include/linux/dma/dw.h 	void __iomem	*regs;
regs               31 include/linux/dma/hsu.h 	void __iomem			*regs;
regs               14 include/linux/elfcore.h static inline void elf_core_copy_regs(elf_gregset_t *elfregs, struct pt_regs *regs)
regs               17 include/linux/elfcore.h 	ELF_CORE_COPY_REGS((*elfregs), regs)
regs               19 include/linux/elfcore.h 	BUG_ON(sizeof(*elfregs) != sizeof(*regs));
regs               20 include/linux/elfcore.h 	*(struct pt_regs *)elfregs = *regs;
regs               24 include/linux/elfcore.h static inline void elf_core_copy_kernel_regs(elf_gregset_t *elfregs, struct pt_regs *regs)
regs               27 include/linux/elfcore.h 	ELF_CORE_COPY_KERNEL_REGS((*elfregs), regs);
regs               29 include/linux/elfcore.h 	elf_core_copy_regs(elfregs, regs);
regs               45 include/linux/elfcore.h static inline int elf_core_copy_task_fpregs(struct task_struct *t, struct pt_regs *regs, elf_fpregset_t *fpu)
regs               50 include/linux/elfcore.h 	return dump_fpu(regs, fpu);
regs               70 include/linux/fsl/bestcomm/bestcomm_priv.h 	struct mpc52xx_sdma __iomem     *regs;
regs              256 include/linux/fsl/bestcomm/bestcomm_priv.h 	regval = in_be16(&bcom_eng->regs->PtdCntrl);
regs              257 include/linux/fsl/bestcomm/bestcomm_priv.h 	out_be16(&bcom_eng->regs->PtdCntrl, regval | 1);
regs              264 include/linux/fsl/bestcomm/bestcomm_priv.h         reg = in_be16(&bcom_eng->regs->tcr[task]);
regs              265 include/linux/fsl/bestcomm/bestcomm_priv.h         out_be16(&bcom_eng->regs->tcr[task],  reg | TASK_ENABLE);
regs              271 include/linux/fsl/bestcomm/bestcomm_priv.h         u16 reg = in_be16(&bcom_eng->regs->tcr[task]);
regs              272 include/linux/fsl/bestcomm/bestcomm_priv.h         out_be16(&bcom_eng->regs->tcr[task], reg & ~TASK_ENABLE);
regs              337 include/linux/fsl/bestcomm/bestcomm_priv.h 	u16 __iomem *tcr = &bcom_eng->regs->tcr[task];
regs              344 include/linux/fsl/bestcomm/bestcomm_priv.h 	u16 __iomem *tcr = &bcom_eng->regs->tcr[task];
regs              142 include/linux/fsl/ptp_qoriq.h 	struct ptp_qoriq_registers regs;
regs               84 include/linux/fsl_devices.h 	void __iomem	*regs;		/* ioremap'd register base */
regs               90 include/linux/ftrace.h 			      struct ftrace_ops *op, struct pt_regs *regs);
regs              228 include/linux/ftrace.h 			struct ftrace_ops *op, struct pt_regs *regs);
regs               82 include/linux/intel_rapl.h 	u64 regs[RAPL_DOMAIN_REG_MAX];
regs              119 include/linux/intel_rapl.h 	u64 regs[RAPL_DOMAIN_MAX][RAPL_DOMAIN_REG_MAX];
regs              967 include/linux/irq.h 	struct irq_chip_regs	regs;
regs                8 include/linux/irqchip/versatile-fpga.h void fpga_handle_irq(struct pt_regs *regs);
regs              169 include/linux/irqdesc.h 			bool lookup, struct pt_regs *regs);
regs              172 include/linux/irqdesc.h 				    unsigned int hwirq, struct pt_regs *regs)
regs              174 include/linux/irqdesc.h 	return __handle_domain_irq(domain, hwirq, true, regs);
regs              179 include/linux/irqdesc.h 		      struct pt_regs *regs);
regs               10 include/linux/kdebug.h 	struct pt_regs *regs;
regs               21 include/linux/kdebug.h 	       struct pt_regs *regs, long err, int trap, int sig);
regs              323 include/linux/kernel.h void nmi_panic(struct pt_regs *regs, const char *msg);
regs              332 include/linux/kernel.h void refcount_error_report(struct pt_regs *regs, const char *err);
regs              334 include/linux/kernel.h static inline void refcount_error_report(struct pt_regs *regs, const char *err)
regs              309 include/linux/kexec.h void crash_save_cpu(struct pt_regs *regs, int cpu);
regs              396 include/linux/kexec.h static inline void __crash_kexec(struct pt_regs *regs) { }
regs              397 include/linux/kexec.h static inline void crash_kexec(struct pt_regs *regs) { }
regs               35 include/linux/kgdb.h extern int kgdb_skipexception(int exception, struct pt_regs *regs);
regs               93 include/linux/kgdb.h extern char *dbg_get_reg(int regno, void *mem, struct pt_regs *regs);
regs               94 include/linux/kgdb.h extern int dbg_set_reg(int regno, void *mem, struct pt_regs *regs);
regs              130 include/linux/kgdb.h extern void pt_regs_to_gdb_regs(unsigned long *gdb_regs, struct pt_regs *regs);
regs              155 include/linux/kgdb.h extern void gdb_regs_to_pt_regs(unsigned long *gdb_regs, struct pt_regs *regs);
regs              177 include/linux/kgdb.h 			   struct pt_regs *regs);
regs              211 include/linux/kgdb.h extern void kgdb_arch_set_pc(struct pt_regs *regs, unsigned long pc);
regs              258 include/linux/kgdb.h 	void	(*disable_hw_break)(struct pt_regs *regs);
regs              292 include/linux/kgdb.h extern unsigned long kgdb_arch_pc(int exception, struct pt_regs *regs);
regs              317 include/linux/kgdb.h 		      struct pt_regs *regs);
regs              318 include/linux/kgdb.h extern int kgdb_nmicallback(int cpu, void *regs);
regs              319 include/linux/kgdb.h extern int kgdb_nmicallin(int cpu, int trapnr, void *regs, int err_code,
regs              192 include/linux/kprobes.h 				   struct pt_regs *regs);
regs              196 include/linux/kprobes.h 					struct pt_regs *regs)
regs              230 include/linux/kprobes.h extern void show_registers(struct pt_regs *regs);
regs              308 include/linux/kprobes.h extern void opt_pre_handler(struct kprobe *p, struct pt_regs *regs);
regs              324 include/linux/kprobes.h 				  struct ftrace_ops *ops, struct pt_regs *regs);
regs              382 include/linux/kprobes.h static inline int kprobe_fault_handler(struct pt_regs *regs, int trapnr)
regs              462 include/linux/kprobes.h static nokprobe_inline bool kprobe_page_fault(struct pt_regs *regs,
regs              467 include/linux/kprobes.h 	if (user_mode(regs))
regs              477 include/linux/kprobes.h 	return kprobe_fault_handler(regs, trap);
regs              839 include/linux/kvm_host.h int kvm_arch_vcpu_ioctl_get_regs(struct kvm_vcpu *vcpu, struct kvm_regs *regs);
regs              840 include/linux/kvm_host.h int kvm_arch_vcpu_ioctl_set_regs(struct kvm_vcpu *vcpu, struct kvm_regs *regs);
regs                9 include/linux/mfd/imx25-tsadc.h 	struct regmap *regs;
regs              503 include/linux/mfd/sta2x11-mfd.h 				     void __iomem **regs,
regs              133 include/linux/mfd/stmpe.h 	const u8 *regs;
regs               44 include/linux/mfd/wm8994/pdata.h         u16 regs[WM8994_DRC_REGS];
regs               57 include/linux/mfd/wm8994/pdata.h         u16 regs[WM8994_EQ_REGS];
regs               83 include/linux/mfd/wm8994/pdata.h 	u16 regs[WM8958_VSS_HPF_REGS];
regs               94 include/linux/mfd/wm8994/pdata.h 	u16 regs[WM8958_VSS_REGS];
regs              105 include/linux/mfd/wm8994/pdata.h 	u16 regs[WM8958_ENH_EQ_REGS];
regs               45 include/linux/mmiotrace.h extern int kmmio_handler(struct pt_regs *regs, unsigned long addr);
regs               60 include/linux/mmiotrace.h static inline int kmmio_handler(struct pt_regs *regs, unsigned long addr)
regs              172 include/linux/nmi.h bool nmi_cpu_backtrace(struct pt_regs *regs);
regs               43 include/linux/of_gpio.h 	void __iomem *regs;
regs               31 include/linux/omap-gpmc.h struct gpmc_nand_ops *gpmc_omap_get_nand_ops(struct gpmc_nand_regs *regs,
regs               48 include/linux/omap-gpmc.h static inline struct gpmc_nand_ops *gpmc_omap_get_nand_ops(struct gpmc_nand_regs *regs,
regs               71 include/linux/oprofile.h 	void (*backtrace)(struct pt_regs * const regs, unsigned int depth);
regs               96 include/linux/oprofile.h void oprofile_add_sample(struct pt_regs * const regs, unsigned long event);
regs              105 include/linux/oprofile.h void oprofile_add_ext_sample(unsigned long pc, struct pt_regs * const regs,
regs              111 include/linux/oprofile.h void oprofile_add_ext_hw_sample(unsigned long pc, struct pt_regs * const regs,
regs              190 include/linux/oprofile.h 			    struct pt_regs * const regs,
regs              533 include/linux/perf_event.h 					struct pt_regs *regs);
regs              841 include/linux/perf_event.h 	bpf_user_pt_regs_t *regs;
regs             1004 include/linux/perf_event.h 				struct pt_regs *regs);
regs             1008 include/linux/perf_event.h 				 struct pt_regs *regs);
regs             1012 include/linux/perf_event.h 				     struct pt_regs *regs);
regs             1015 include/linux/perf_event.h 				       struct pt_regs *regs);
regs             1018 include/linux/perf_event.h 			     struct pt_regs *regs);
regs             1083 include/linux/perf_event.h static inline void perf_arch_fetch_caller_regs(struct pt_regs *regs, unsigned long ip) { }
regs             1100 include/linux/perf_event.h static inline void perf_fetch_caller_regs(struct pt_regs *regs)
regs             1102 include/linux/perf_event.h 	perf_arch_fetch_caller_regs(regs, CALLER_ADDR0);
regs             1106 include/linux/perf_event.h perf_sw_event(u32 event_id, u64 nr, struct pt_regs *regs, u64 addr)
regs             1109 include/linux/perf_event.h 		__perf_sw_event(event_id, nr, regs, addr);
regs             1123 include/linux/perf_event.h 		struct pt_regs *regs = this_cpu_ptr(&__perf_regs[0]);
regs             1125 include/linux/perf_event.h 		perf_fetch_caller_regs(regs);
regs             1126 include/linux/perf_event.h 		___perf_sw_event(event_id, nr, regs, addr);
regs             1153 include/linux/perf_event.h 		struct pt_regs *regs = this_cpu_ptr(&__perf_regs[0]);
regs             1155 include/linux/perf_event.h 		perf_fetch_caller_regs(regs);
regs             1156 include/linux/perf_event.h 		___perf_sw_event(PERF_COUNT_SW_CPU_MIGRATIONS, 1, regs, 0);
regs             1190 include/linux/perf_event.h extern void perf_callchain_user(struct perf_callchain_entry_ctx *entry, struct pt_regs *regs);
regs             1191 include/linux/perf_event.h extern void perf_callchain_kernel(struct perf_callchain_entry_ctx *entry, struct pt_regs *regs);
regs             1193 include/linux/perf_event.h get_perf_callchain(struct pt_regs *regs, u32 init_nr, bool kernel, bool user,
regs             1195 include/linux/perf_event.h extern struct perf_callchain_entry *perf_callchain(struct perf_event *event, struct pt_regs *regs);
regs             1261 include/linux/perf_event.h 			  int entry_size, struct pt_regs *regs,
regs             1267 include/linux/perf_event.h # define perf_misc_flags(regs) \
regs             1268 include/linux/perf_event.h 		(user_mode(regs) ? PERF_RECORD_MISC_USER : PERF_RECORD_MISC_KERNEL)
regs             1269 include/linux/perf_event.h # define perf_instruction_pointer(regs)	instruction_pointer(regs)
regs             1272 include/linux/perf_event.h # define perf_arch_bpf_user_pt_regs(regs) regs
regs             1386 include/linux/perf_event.h perf_sw_event(u32 event_id, u64 nr, struct pt_regs *regs, u64 addr)	{ }
regs                9 include/linux/perf_regs.h 	struct pt_regs	*regs;
regs               19 include/linux/perf_regs.h u64 perf_reg_value(struct pt_regs *regs, int idx);
regs               23 include/linux/perf_regs.h 			struct pt_regs *regs,
regs               29 include/linux/perf_regs.h static inline u64 perf_reg_value(struct pt_regs *regs, int idx)
regs               45 include/linux/perf_regs.h 				      struct pt_regs *regs,
regs               48 include/linux/perf_regs.h 	regs_user->regs = task_pt_regs(current);
regs               34 include/linux/platform_data/b53.h 	void __iomem *regs;
regs              189 include/linux/platform_data/gpio-omap.h 	const struct omap_gpio_reg_offs *regs;
regs               73 include/linux/power/bq27xxx_battery.h 	u8 *regs;
regs              263 include/linux/ptrace.h #define is_syscall_success(regs) (!IS_ERR_VALUE((unsigned long)(regs_return_value(regs))))
regs              347 include/linux/ptrace.h extern void user_single_step_report(struct pt_regs *regs);
regs              349 include/linux/ptrace.h static inline void user_single_step_report(struct pt_regs *regs)
regs              564 include/linux/regmap.h 				      void __iomem *regs,
regs              609 include/linux/regmap.h 					   void __iomem *regs,
regs              771 include/linux/regmap.h #define regmap_init_mmio_clk(dev, clk_id, regs, config)			\
regs              773 include/linux/regmap.h 				dev, clk_id, regs, config)
regs              785 include/linux/regmap.h #define regmap_init_mmio(dev, regs, config)		\
regs              786 include/linux/regmap.h 	regmap_init_mmio_clk(dev, NULL, regs, config)
regs              928 include/linux/regmap.h #define devm_regmap_init_mmio_clk(dev, clk_id, regs, config)		\
regs              930 include/linux/regmap.h 				dev, clk_id, regs, config)
regs              943 include/linux/regmap.h #define devm_regmap_init_mmio(dev, regs, config)		\
regs              944 include/linux/regmap.h 	devm_regmap_init_mmio_clk(dev, NULL, regs, config)
regs             1017 include/linux/regmap.h int regmap_multi_reg_write(struct regmap *map, const struct reg_sequence *regs,
regs             1020 include/linux/regmap.h 				    const struct reg_sequence *regs,
regs             1054 include/linux/regmap.h int regmap_register_patch(struct regmap *map, const struct reg_sequence *regs,
regs             1444 include/linux/regmap.h 					const struct reg_sequence *regs,
regs               44 include/linux/rtc/ds1685.h 	void __iomem *regs;
regs             1884 include/linux/sched.h void __rseq_handle_notify_resume(struct ksignal *sig, struct pt_regs *regs);
regs             1887 include/linux/sched.h 					     struct pt_regs *regs)
regs             1890 include/linux/sched.h 		__rseq_handle_notify_resume(ksig, regs);
regs             1894 include/linux/sched.h 				       struct pt_regs *regs)
regs             1899 include/linux/sched.h 	rseq_handle_notify_resume(ksig, regs);
regs             1946 include/linux/sched.h 					     struct pt_regs *regs)
regs             1950 include/linux/sched.h 				       struct pt_regs *regs)
regs             1978 include/linux/sched.h void rseq_syscall(struct pt_regs *regs);
regs             1982 include/linux/sched.h static inline void rseq_syscall(struct pt_regs *regs)
regs               19 include/linux/soc/ixp4xx/npe.h 	struct npe_regs __iomem *regs;
regs               10 include/linux/ssb/ssb_driver_mips.h 	void *regs;
regs               21 include/linux/stacktrace.h unsigned int stack_trace_save_regs(struct pt_regs *regs, unsigned long *store,
regs               57 include/linux/stacktrace.h 		     struct task_struct *task, struct pt_regs *regs);
regs               61 include/linux/stacktrace.h 			  const struct pt_regs *regs);
regs               71 include/linux/stacktrace.h extern void save_stack_trace_regs(struct pt_regs *regs,
regs               14 include/linux/toshiba.h int tosh_smm(SMMRegisters *regs);
regs              603 include/linux/trace_events.h void *perf_trace_buf_alloc(int size, struct pt_regs **regs, int *rctxp);
regs              634 include/linux/trace_events.h 			       struct pt_regs *regs, struct hlist_head *head,
regs              639 include/linux/trace_events.h 		       u64 count, struct pt_regs *regs, void *head,
regs              642 include/linux/trace_events.h 	perf_tp_event(type, count, raw_data, size, regs, head, rctx, task);
regs               57 include/linux/tracehook.h static inline int ptrace_report_syscall(struct pt_regs *regs,
regs              102 include/linux/tracehook.h 	struct pt_regs *regs)
regs              104 include/linux/tracehook.h 	return ptrace_report_syscall(regs, PTRACE_EVENTMSG_SYSCALL_ENTRY);
regs              124 include/linux/tracehook.h static inline void tracehook_report_syscall_exit(struct pt_regs *regs, int step)
regs              127 include/linux/tracehook.h 		user_single_step_report(regs);
regs              129 include/linux/tracehook.h 		ptrace_report_syscall(regs, PTRACE_EVENTMSG_SYSCALL_EXIT);
regs              179 include/linux/tracehook.h static inline void tracehook_notify_resume(struct pt_regs *regs)
regs               37 include/linux/uprobes.h 	int (*handler)(struct uprobe_consumer *self, struct pt_regs *regs);
regs               40 include/linux/uprobes.h 				struct pt_regs *regs);
regs              110 include/linux/uprobes.h extern unsigned long uprobe_get_swbp_addr(struct pt_regs *regs);
regs              111 include/linux/uprobes.h extern unsigned long uprobe_get_trap_addr(struct pt_regs *regs);
regs              124 include/linux/uprobes.h extern int uprobe_post_sstep_notifier(struct pt_regs *regs);
regs              125 include/linux/uprobes.h extern int uprobe_pre_sstep_notifier(struct pt_regs *regs);
regs              126 include/linux/uprobes.h extern void uprobe_notify_resume(struct pt_regs *regs);
regs              128 include/linux/uprobes.h extern bool arch_uprobe_skip_sstep(struct arch_uprobe *aup, struct pt_regs *regs);
regs              131 include/linux/uprobes.h extern int  arch_uprobe_pre_xol(struct arch_uprobe *aup, struct pt_regs *regs);
regs              132 include/linux/uprobes.h extern int  arch_uprobe_post_xol(struct arch_uprobe *aup, struct pt_regs *regs);
regs              135 include/linux/uprobes.h extern void arch_uprobe_abort_xol(struct arch_uprobe *aup, struct pt_regs *regs);
regs              136 include/linux/uprobes.h extern unsigned long arch_uretprobe_hijack_return_addr(unsigned long trampoline_vaddr, struct pt_regs *regs);
regs              137 include/linux/uprobes.h extern bool arch_uretprobe_is_alive(struct return_instance *ret, enum rp_check ctx, struct pt_regs *regs);
regs              138 include/linux/uprobes.h extern bool arch_uprobe_ignore(struct arch_uprobe *aup, struct pt_regs *regs);
regs              149 include/linux/uprobes.h #define uprobe_get_trap_addr(regs)	instruction_pointer(regs)
regs              187 include/linux/uprobes.h static inline void uprobe_notify_resume(struct pt_regs *regs)
regs              177 include/linux/usb/hcd.h 	void __iomem		*regs;		/* device memory/io */
regs               66 include/linux/usb/tegra_usb_phy.h 	void __iomem *regs;
regs              456 include/net/dsa.h 			    struct ethtool_regs *regs, void *p);
regs              332 include/net/netfilter/nf_tables.h 						  struct nft_regs *regs,
regs              778 include/net/netfilter/nf_tables.h 						struct nft_regs *regs,
regs             1131 include/net/netfilter/nf_tables.h 						struct nft_regs *regs,
regs               82 include/net/netfilter/nf_tables_core.h 		       struct nft_regs *regs, const struct nft_pktinfo *pkt);
regs               84 include/net/netfilter/nf_tables_core.h 		  struct nft_regs *regs, const struct nft_pktinfo *pkt);
regs               86 include/net/netfilter/nf_tables_core.h 		     struct nft_regs *regs, const struct nft_pktinfo *pkt);
regs               88 include/net/netfilter/nf_tables_core.h 		      struct nft_regs *regs, const struct nft_pktinfo *pkt);
regs               90 include/net/netfilter/nf_tables_core.h 			struct nft_regs *regs, const struct nft_pktinfo *pkt);
regs               92 include/net/netfilter/nf_tables_core.h 		      struct nft_regs *regs, const struct nft_pktinfo *pkt);
regs               94 include/net/netfilter/nf_tables_core.h 		    struct nft_regs *regs, const struct nft_pktinfo *pkt);
regs               96 include/net/netfilter/nf_tables_core.h 			struct nft_regs *regs, const struct nft_pktinfo *pkt);
regs               98 include/net/netfilter/nf_tables_core.h 		     struct nft_regs *regs, const struct nft_pktinfo *pkt);
regs              100 include/net/netfilter/nf_tables_core.h 		     struct nft_regs *regs, const struct nft_pktinfo *pkt);
regs               30 include/net/netfilter/nf_tables_offload.h 	struct nft_offload_reg			regs[NFT_REG32_15 + 1];
regs               28 include/net/netfilter/nft_fib.h void nft_fib4_eval_type(const struct nft_expr *expr, struct nft_regs *regs,
regs               30 include/net/netfilter/nft_fib.h void nft_fib4_eval(const struct nft_expr *expr, struct nft_regs *regs,
regs               33 include/net/netfilter/nft_fib.h void nft_fib6_eval_type(const struct nft_expr *expr, struct nft_regs *regs,
regs               35 include/net/netfilter/nft_fib.h void nft_fib6_eval(const struct nft_expr *expr, struct nft_regs *regs,
regs               32 include/net/netfilter/nft_meta.h 		       struct nft_regs *regs,
regs               36 include/net/netfilter/nft_meta.h 		       struct nft_regs *regs,
regs               65 include/soc/at91/atmel_tcb.h 	void __iomem		*regs;
regs              146 include/soc/fsl/qe/ucc_fast.h 	resource_size_t regs;
regs              150 include/soc/fsl/qe/ucc_slow.h 	phys_addr_t regs;
regs              169 include/soc/tegra/mc.h 	void __iomem *regs;
regs              259 include/sound/ac97_codec.h 	unsigned short regs[0x80]; /* register cache */
regs               58 include/sound/ak4531_codec.h 	unsigned char regs[0x20];
regs              131 include/sound/wm8904.h 	u16 regs[WM8904_DRC_REGS];
regs              144 include/sound/wm8904.h 	u16 regs[WM8904_EQ_REGS];
regs               28 include/sound/wm8996.h 	u16 regs[20];
regs               20 include/trace/events/syscalls.h 	TP_PROTO(struct pt_regs *regs, long id),
regs               22 include/trace/events/syscalls.h 	TP_ARGS(regs, id),
regs               31 include/trace/events/syscalls.h 		syscall_get_arguments(current, regs, __entry->args);
regs               46 include/trace/events/syscalls.h 	TP_PROTO(struct pt_regs *regs, long ret),
regs               48 include/trace/events/syscalls.h 	TP_ARGS(regs, ret),
regs               56 include/trace/events/syscalls.h 		__entry->id	= syscall_get_nr(current, regs);
regs               14 include/uapi/linux/bpf_perf_event.h 	bpf_user_pt_regs_t regs;
regs              415 include/uapi/linux/kvm.h 		struct kvm_sync_regs regs;
regs               36 include/uapi/video/uvesafb.h 	struct v86_regs regs;
regs              386 include/video/newport.h static inline void newport_vc2_set(struct newport_regs *regs,
regs              390 include/video/newport.h 	regs->set.dcbmode = (NPORT_DMODE_AVC2 | VC2_REGADDR_INDEX | NPORT_DMODE_W3 |
regs              392 include/video/newport.h 	regs->set.dcbdata0.byword = (vc2ireg << 24) | (val << 8);
regs              395 include/video/newport.h static inline unsigned short newport_vc2_get(struct newport_regs *regs,
regs              398 include/video/newport.h 	regs->set.dcbmode = (NPORT_DMODE_AVC2 | VC2_REGADDR_INDEX | NPORT_DMODE_W1 |
regs              400 include/video/newport.h 	regs->set.dcbdata0.bybytes.b3 = vc2ireg;
regs              401 include/video/newport.h 	regs->set.dcbmode = (NPORT_DMODE_AVC2 | VC2_REGADDR_IREG | NPORT_DMODE_W2 |
regs              403 include/video/newport.h 	return regs->set.dcbdata0.byshort.s1;
regs              429 include/video/newport.h static __inline__ void newport_cmap_setaddr(struct newport_regs *regs,
regs              432 include/video/newport.h 	regs->set.dcbmode = (NPORT_DMODE_ACMALL | NCMAP_PROTOCOL |
regs              435 include/video/newport.h 	regs->set.dcbdata0.byshort.s1 = addr;
regs              436 include/video/newport.h 	regs->set.dcbmode = (NPORT_DMODE_ACMALL | NCMAP_PROTOCOL |
regs              440 include/video/newport.h static __inline__ void newport_cmap_setrgb(struct newport_regs *regs,
regs              445 include/video/newport.h 	regs->set.dcbdata0.byword =
regs              453 include/video/newport.h static __inline__ int newport_wait(struct newport_regs *regs)
regs              458 include/video/newport.h 		if (!(regs->cset.status & NPORT_STAT_GBUSY))
regs              463 include/video/newport.h static __inline__ int newport_bfwait(struct newport_regs *regs)
regs              468 include/video/newport.h 		if(!(regs->cset.status & NPORT_STAT_BBUSY))
regs              151 include/video/s1d13xxxfb.h 	void __iomem	*regs;
regs              112 include/video/w100fb.h 	struct w100_gen_regs *regs;
regs              101 include/xen/events.h void xen_evtchn_do_upcall(struct pt_regs *regs);
regs               37 kernel/bpf/core.c #define BPF_R0	regs[BPF_REG_0]
regs               38 kernel/bpf/core.c #define BPF_R1	regs[BPF_REG_1]
regs               39 kernel/bpf/core.c #define BPF_R2	regs[BPF_REG_2]
regs               40 kernel/bpf/core.c #define BPF_R3	regs[BPF_REG_3]
regs               41 kernel/bpf/core.c #define BPF_R4	regs[BPF_REG_4]
regs               42 kernel/bpf/core.c #define BPF_R5	regs[BPF_REG_5]
regs               43 kernel/bpf/core.c #define BPF_R6	regs[BPF_REG_6]
regs               44 kernel/bpf/core.c #define BPF_R7	regs[BPF_REG_7]
regs               45 kernel/bpf/core.c #define BPF_R8	regs[BPF_REG_8]
regs               46 kernel/bpf/core.c #define BPF_R9	regs[BPF_REG_9]
regs               47 kernel/bpf/core.c #define BPF_R10	regs[BPF_REG_10]
regs               50 kernel/bpf/core.c #define DST	regs[insn->dst_reg]
regs               51 kernel/bpf/core.c #define SRC	regs[insn->src_reg]
regs               52 kernel/bpf/core.c #define FP	regs[BPF_REG_FP]
regs               53 kernel/bpf/core.c #define AX	regs[BPF_REG_AX]
regs               54 kernel/bpf/core.c #define ARG1	regs[BPF_REG_ARG1]
regs               55 kernel/bpf/core.c #define CTX	regs[BPF_REG_CTX]
regs             1302 kernel/bpf/core.c static u64 __no_fgcse ___bpf_prog_run(u64 *regs, const struct bpf_insn *insn, u64 *stack)
regs             1571 kernel/bpf/core.c 	u64 regs[MAX_BPF_EXT_REG]; \
regs             1575 kernel/bpf/core.c 	return ___bpf_prog_run(regs, insn, stack); \
regs             1584 kernel/bpf/core.c 	u64 regs[MAX_BPF_EXT_REG]; \
regs             1592 kernel/bpf/core.c 	return ___bpf_prog_run(regs, insn, stack); \
regs              346 kernel/bpf/stackmap.c BPF_CALL_3(bpf_get_stackid, struct pt_regs *, regs, struct bpf_map *, map,
regs              366 kernel/bpf/stackmap.c 	trace = get_perf_callchain(regs, init_nr, kernel, user,
regs              446 kernel/bpf/stackmap.c BPF_CALL_4(bpf_get_stack, struct pt_regs *, regs, void *, buf, u32, size,
regs              474 kernel/bpf/stackmap.c 	trace = get_perf_callchain(regs, init_nr, kernel, user,
regs              442 kernel/bpf/verifier.c 		reg = &state->regs[i];
regs              887 kernel/bpf/verifier.c 				struct bpf_reg_state *regs, u32 regno)
regs              893 kernel/bpf/verifier.c 			__mark_reg_not_init(env, regs + regno);
regs              896 kernel/bpf/verifier.c 	__mark_reg_known_zero(regs + regno);
regs             1008 kernel/bpf/verifier.c 			     struct bpf_reg_state *regs, u32 regno)
regs             1014 kernel/bpf/verifier.c 			__mark_reg_not_init(env, regs + regno);
regs             1017 kernel/bpf/verifier.c 	__mark_reg_unknown(env, regs + regno);
regs             1028 kernel/bpf/verifier.c 			      struct bpf_reg_state *regs, u32 regno)
regs             1034 kernel/bpf/verifier.c 			__mark_reg_not_init(env, regs + regno);
regs             1037 kernel/bpf/verifier.c 	__mark_reg_not_init(env, regs + regno);
regs             1044 kernel/bpf/verifier.c 	struct bpf_reg_state *regs = state->regs;
regs             1048 kernel/bpf/verifier.c 		mark_reg_not_init(env, regs, i);
regs             1049 kernel/bpf/verifier.c 		regs[i].live = REG_LIVE_NONE;
regs             1050 kernel/bpf/verifier.c 		regs[i].parent = NULL;
regs             1051 kernel/bpf/verifier.c 		regs[i].subreg_def = DEF_NOT_SUBREG;
regs             1055 kernel/bpf/verifier.c 	regs[BPF_REG_FP].type = PTR_TO_STACK;
regs             1056 kernel/bpf/verifier.c 	mark_reg_known_zero(env, regs, BPF_REG_FP);
regs             1057 kernel/bpf/verifier.c 	regs[BPF_REG_FP].frameno = state->frameno;
regs             1060 kernel/bpf/verifier.c 	regs[BPF_REG_1].type = PTR_TO_CTX;
regs             1061 kernel/bpf/verifier.c 	mark_reg_known_zero(env, regs, BPF_REG_1);
regs             1364 kernel/bpf/verifier.c 	struct bpf_reg_state *reg, *regs = state->regs;
regs             1372 kernel/bpf/verifier.c 	reg = &regs[regno];
regs             1398 kernel/bpf/verifier.c 			mark_reg_unknown(env, regs, regno);
regs             1644 kernel/bpf/verifier.c 				reg = &func->regs[j];
regs             1680 kernel/bpf/verifier.c 		reg = &func->regs[regno];
regs             1762 kernel/bpf/verifier.c 			reg = &func->regs[i];
regs             1918 kernel/bpf/verifier.c 		reg = &cur->regs[value_regno];
regs             2047 kernel/bpf/verifier.c 				mark_reg_unknown(env, state->regs, value_regno);
regs             2048 kernel/bpf/verifier.c 				state->regs[value_regno].live |= REG_LIVE_WRITTEN;
regs             2062 kernel/bpf/verifier.c 			state->regs[value_regno] = *reg;
regs             2067 kernel/bpf/verifier.c 			state->regs[value_regno].live |= REG_LIVE_WRITTEN;
regs             2100 kernel/bpf/verifier.c 				__mark_reg_const_zero(&state->regs[value_regno]);
regs             2111 kernel/bpf/verifier.c 				state->regs[value_regno].precise = true;
regs             2114 kernel/bpf/verifier.c 				mark_reg_unknown(env, state->regs, value_regno);
regs             2116 kernel/bpf/verifier.c 			state->regs[value_regno].live |= REG_LIVE_WRITTEN;
regs             2150 kernel/bpf/verifier.c 	struct bpf_reg_state *regs = cur_regs(env);
regs             2151 kernel/bpf/verifier.c 	struct bpf_map *map = regs[regno].map_ptr;
regs             2173 kernel/bpf/verifier.c 	struct bpf_reg_state *regs = cur_regs(env);
regs             2174 kernel/bpf/verifier.c 	struct bpf_map *map = regs[regno].map_ptr;
regs             2191 kernel/bpf/verifier.c 	struct bpf_reg_state *reg = &state->regs[regno];
regs             2300 kernel/bpf/verifier.c 	struct bpf_reg_state *regs = cur_regs(env);
regs             2301 kernel/bpf/verifier.c 	struct bpf_reg_state *reg = &regs[regno];
regs             2315 kernel/bpf/verifier.c 	struct bpf_reg_state *regs = cur_regs(env);
regs             2316 kernel/bpf/verifier.c 	struct bpf_reg_state *reg = &regs[regno];
regs             2397 kernel/bpf/verifier.c 	struct bpf_reg_state *regs = cur_regs(env);
regs             2398 kernel/bpf/verifier.c 	struct bpf_reg_state *reg = &regs[regno];
regs             2762 kernel/bpf/verifier.c 	struct bpf_reg_state *regs = cur_regs(env);
regs             2763 kernel/bpf/verifier.c 	struct bpf_reg_state *reg = regs + regno;
regs             2790 kernel/bpf/verifier.c 			mark_reg_unknown(env, regs, value_regno);
regs             2812 kernel/bpf/verifier.c 				mark_reg_unknown(env, regs, value_regno);
regs             2814 kernel/bpf/verifier.c 				mark_reg_known_zero(env, regs,
regs             2817 kernel/bpf/verifier.c 					regs[value_regno].id = ++env->id_gen;
regs             2823 kernel/bpf/verifier.c 				regs[value_regno].subreg_def = DEF_NOT_SUBREG;
regs             2825 kernel/bpf/verifier.c 			regs[value_regno].type = reg_type;
regs             2858 kernel/bpf/verifier.c 			mark_reg_unknown(env, regs, value_regno);
regs             2869 kernel/bpf/verifier.c 			mark_reg_unknown(env, regs, value_regno);
regs             2878 kernel/bpf/verifier.c 			mark_reg_unknown(env, regs, value_regno);
regs             2882 kernel/bpf/verifier.c 			mark_reg_unknown(env, regs, value_regno);
regs             2890 kernel/bpf/verifier.c 	    regs[value_regno].type == SCALAR_VALUE) {
regs             2892 kernel/bpf/verifier.c 		coerce_reg_to_size(&regs[value_regno], size);
regs             3101 kernel/bpf/verifier.c 	struct bpf_reg_state *regs = cur_regs(env), *reg = &regs[regno];
regs             3143 kernel/bpf/verifier.c 	struct bpf_reg_state *regs = cur_regs(env), *reg = &regs[regno];
regs             3239 kernel/bpf/verifier.c 	struct bpf_reg_state *regs = cur_regs(env), *reg = &regs[regno];
regs             3696 kernel/bpf/verifier.c 	struct bpf_reg_state *regs = state->regs, *reg;
regs             3700 kernel/bpf/verifier.c 		if (reg_is_pkt_pointer_any(&regs[i]))
regs             3701 kernel/bpf/verifier.c 			mark_reg_unknown(env, regs, i);
regs             3724 kernel/bpf/verifier.c 	struct bpf_reg_state *regs = state->regs, *reg;
regs             3728 kernel/bpf/verifier.c 		if (regs[i].ref_obj_id == ref_obj_id)
regs             3729 kernel/bpf/verifier.c 			mark_reg_unknown(env, regs, i);
regs             3811 kernel/bpf/verifier.c 		callee->regs[i] = caller->regs[i];
regs             3815 kernel/bpf/verifier.c 		mark_reg_not_init(env, caller->regs, caller_saved[i]);
regs             3842 kernel/bpf/verifier.c 	r0 = &callee->regs[BPF_REG_0];
regs             3857 kernel/bpf/verifier.c 	caller->regs[BPF_REG_0] = *r0;
regs             3878 kernel/bpf/verifier.c 				  struct bpf_reg_state *regs, int ret_type,
regs             3881 kernel/bpf/verifier.c 	struct bpf_reg_state *ret_reg = &regs[BPF_REG_0];
regs             3975 kernel/bpf/verifier.c 	struct bpf_reg_state *regs;
regs             4066 kernel/bpf/verifier.c 	regs = cur_regs(env);
regs             4072 kernel/bpf/verifier.c 	    !register_is_null(&regs[BPF_REG_2])) {
regs             4079 kernel/bpf/verifier.c 		mark_reg_not_init(env, regs, caller_saved[i]);
regs             4084 kernel/bpf/verifier.c 	regs[BPF_REG_0].subreg_def = DEF_NOT_SUBREG;
regs             4089 kernel/bpf/verifier.c 		mark_reg_unknown(env, regs, BPF_REG_0);
regs             4091 kernel/bpf/verifier.c 		regs[BPF_REG_0].type = NOT_INIT;
regs             4095 kernel/bpf/verifier.c 		mark_reg_known_zero(env, regs, BPF_REG_0);
regs             4105 kernel/bpf/verifier.c 		regs[BPF_REG_0].map_ptr = meta.map_ptr;
regs             4107 kernel/bpf/verifier.c 			regs[BPF_REG_0].type = PTR_TO_MAP_VALUE;
regs             4109 kernel/bpf/verifier.c 				regs[BPF_REG_0].id = ++env->id_gen;
regs             4111 kernel/bpf/verifier.c 			regs[BPF_REG_0].type = PTR_TO_MAP_VALUE_OR_NULL;
regs             4112 kernel/bpf/verifier.c 			regs[BPF_REG_0].id = ++env->id_gen;
regs             4115 kernel/bpf/verifier.c 		mark_reg_known_zero(env, regs, BPF_REG_0);
regs             4116 kernel/bpf/verifier.c 		regs[BPF_REG_0].type = PTR_TO_SOCKET_OR_NULL;
regs             4117 kernel/bpf/verifier.c 		regs[BPF_REG_0].id = ++env->id_gen;
regs             4119 kernel/bpf/verifier.c 		mark_reg_known_zero(env, regs, BPF_REG_0);
regs             4120 kernel/bpf/verifier.c 		regs[BPF_REG_0].type = PTR_TO_SOCK_COMMON_OR_NULL;
regs             4121 kernel/bpf/verifier.c 		regs[BPF_REG_0].id = ++env->id_gen;
regs             4123 kernel/bpf/verifier.c 		mark_reg_known_zero(env, regs, BPF_REG_0);
regs             4124 kernel/bpf/verifier.c 		regs[BPF_REG_0].type = PTR_TO_TCP_SOCK_OR_NULL;
regs             4125 kernel/bpf/verifier.c 		regs[BPF_REG_0].id = ++env->id_gen;
regs             4134 kernel/bpf/verifier.c 		regs[BPF_REG_0].ref_obj_id = meta.ref_obj_id;
regs             4141 kernel/bpf/verifier.c 		regs[BPF_REG_0].id = id;
regs             4143 kernel/bpf/verifier.c 		regs[BPF_REG_0].ref_obj_id = id;
regs             4146 kernel/bpf/verifier.c 	err = do_refine_retval_range(env, regs, fn->ret_type, func_id, &meta);
regs             4366 kernel/bpf/verifier.c 	struct bpf_reg_state *regs = state->regs, *dst_reg;
regs             4376 kernel/bpf/verifier.c 	dst_reg = &regs[dst];
regs             4605 kernel/bpf/verifier.c 	struct bpf_reg_state *regs = cur_regs(env);
regs             4787 kernel/bpf/verifier.c 			mark_reg_unknown(env, regs, insn->dst_reg);
regs             4812 kernel/bpf/verifier.c 			mark_reg_unknown(env, regs, insn->dst_reg);
regs             4842 kernel/bpf/verifier.c 			mark_reg_unknown(env, regs, insn->dst_reg);
regs             4868 kernel/bpf/verifier.c 		mark_reg_unknown(env, regs, insn->dst_reg);
regs             4890 kernel/bpf/verifier.c 	struct bpf_reg_state *regs = state->regs, *dst_reg, *src_reg;
regs             4895 kernel/bpf/verifier.c 	dst_reg = &regs[insn->dst_reg];
regs             4900 kernel/bpf/verifier.c 		src_reg = &regs[insn->src_reg];
regs             4908 kernel/bpf/verifier.c 					mark_reg_unknown(env, regs, insn->dst_reg);
regs             4963 kernel/bpf/verifier.c 	struct bpf_reg_state *regs = cur_regs(env);
regs             5025 kernel/bpf/verifier.c 			struct bpf_reg_state *src_reg = regs + insn->src_reg;
regs             5026 kernel/bpf/verifier.c 			struct bpf_reg_state *dst_reg = regs + insn->dst_reg;
regs             5047 kernel/bpf/verifier.c 					mark_reg_unknown(env, regs,
regs             5057 kernel/bpf/verifier.c 			mark_reg_unknown(env, regs, insn->dst_reg);
regs             5058 kernel/bpf/verifier.c 			regs[insn->dst_reg].type = SCALAR_VALUE;
regs             5060 kernel/bpf/verifier.c 				__mark_reg_known(regs + insn->dst_reg,
regs             5063 kernel/bpf/verifier.c 				__mark_reg_known(regs + insn->dst_reg,
regs             5130 kernel/bpf/verifier.c 		reg = &state->regs[i];
regs             5737 kernel/bpf/verifier.c 		mark_ptr_or_null_reg(state, &state->regs[i], id, is_null);
regs             5753 kernel/bpf/verifier.c 	struct bpf_reg_state *regs = state->regs;
regs             5754 kernel/bpf/verifier.c 	u32 ref_obj_id = regs[regno].ref_obj_id;
regs             5755 kernel/bpf/verifier.c 	u32 id = regs[regno].id;
regs             5871 kernel/bpf/verifier.c 	struct bpf_reg_state *regs = this_branch->frame[this_branch->curframe]->regs;
regs             5900 kernel/bpf/verifier.c 		src_reg = &regs[insn->src_reg];
regs             5913 kernel/bpf/verifier.c 	dst_reg = &regs[insn->dst_reg];
regs             5945 kernel/bpf/verifier.c 	other_branch_regs = other_branch->frame[other_branch->curframe]->regs;
regs             5955 kernel/bpf/verifier.c 		struct bpf_reg_state *src_reg = &regs[insn->src_reg];
regs             6009 kernel/bpf/verifier.c 	} else if (!try_match_pkt_pointers(insn, dst_reg, &regs[insn->src_reg],
regs             6025 kernel/bpf/verifier.c 	struct bpf_reg_state *regs = cur_regs(env);
regs             6045 kernel/bpf/verifier.c 		regs[insn->dst_reg].type = SCALAR_VALUE;
regs             6046 kernel/bpf/verifier.c 		__mark_reg_known(&regs[insn->dst_reg], imm);
regs             6051 kernel/bpf/verifier.c 	mark_reg_known_zero(env, regs, insn->dst_reg);
regs             6052 kernel/bpf/verifier.c 	regs[insn->dst_reg].map_ptr = map;
regs             6055 kernel/bpf/verifier.c 		regs[insn->dst_reg].type = PTR_TO_MAP_VALUE;
regs             6056 kernel/bpf/verifier.c 		regs[insn->dst_reg].off = aux->map_off;
regs             6058 kernel/bpf/verifier.c 			regs[insn->dst_reg].id = ++env->id_gen;
regs             6060 kernel/bpf/verifier.c 		regs[insn->dst_reg].type = CONST_PTR_TO_MAP;
regs             6098 kernel/bpf/verifier.c 	struct bpf_reg_state *regs = cur_regs(env);
regs             6152 kernel/bpf/verifier.c 	if (regs[ctx_reg].type != PTR_TO_CTX) {
regs             6165 kernel/bpf/verifier.c 	err = check_ctx_reg(env, &regs[ctx_reg], ctx_reg);
regs             6171 kernel/bpf/verifier.c 		mark_reg_not_init(env, regs, caller_saved[i]);
regs             6179 kernel/bpf/verifier.c 	mark_reg_unknown(env, regs, BPF_REG_0);
regs             6181 kernel/bpf/verifier.c 	regs[BPF_REG_0].subreg_def = env->insn_idx + 1;
regs             6805 kernel/bpf/verifier.c 		live = st->regs[i].live;
regs             6807 kernel/bpf/verifier.c 		st->regs[i].live |= REG_LIVE_DONE;
regs             6812 kernel/bpf/verifier.c 			__mark_reg_not_init(env, &st->regs[i]);
regs             6832 kernel/bpf/verifier.c 	if (st->frame[0]->regs[0].live & REG_LIVE_DONE)
regs             7123 kernel/bpf/verifier.c 		if (!regsafe(&old->regs[i], &cur->regs[i], idmap))
regs             7222 kernel/bpf/verifier.c 		parent_reg = parent->regs;
regs             7223 kernel/bpf/verifier.c 		state_reg = state->regs;
regs             7259 kernel/bpf/verifier.c 	state_reg = state->regs;
regs             7300 kernel/bpf/verifier.c 		if (memcmp(&fold->regs[i], &fcur->regs[i],
regs             7411 kernel/bpf/verifier.c 			if (sl->state.frame[0]->regs[0].live & REG_LIVE_DONE) {
regs             7494 kernel/bpf/verifier.c 			cur->frame[j]->regs[i].parent = &new->frame[j]->regs[i];
regs             7496 kernel/bpf/verifier.c 			cur->frame[j]->regs[i].live = REG_LIVE_NONE;
regs             7553 kernel/bpf/verifier.c 	struct bpf_reg_state *regs;
regs             7653 kernel/bpf/verifier.c 		regs = cur_regs(env);
regs             7676 kernel/bpf/verifier.c 			src_reg_type = regs[insn->src_reg].type;
regs             7728 kernel/bpf/verifier.c 			dst_reg_type = regs[insn->dst_reg].type;
regs              209 kernel/debug/debug_core.c unsigned long __weak kgdb_arch_pc(int exception, struct pt_regs *regs)
regs              211 kernel/debug/debug_core.c 	return instruction_pointer(regs);
regs              219 kernel/debug/debug_core.c int __weak kgdb_skipexception(int exception, struct pt_regs *regs)
regs              525 kernel/debug/debug_core.c static int kgdb_cpu_enter(struct kgdb_state *ks, struct pt_regs *regs,
regs              545 kernel/debug/debug_core.c 		arch_kgdb_ops.disable_hw_break(regs);
regs              555 kernel/debug/debug_core.c 	kgdb_info[cpu].debuggerinfo = regs;
regs              753 kernel/debug/debug_core.c kgdb_handle_exception(int evector, int signo, int ecode, struct pt_regs *regs)
regs              775 kernel/debug/debug_core.c 	ks->linux_regs		= regs;
regs              782 kernel/debug/debug_core.c 	ret = kgdb_cpu_enter(ks, regs, DCPU_WANT_MASTER);
regs              802 kernel/debug/debug_core.c int kgdb_nmicallback(int cpu, void *regs)
regs              812 kernel/debug/debug_core.c 	ks->linux_regs		= regs;
regs              816 kernel/debug/debug_core.c 		kgdb_cpu_enter(ks, regs, DCPU_IS_SLAVE);
regs              823 kernel/debug/debug_core.c int kgdb_nmicallin(int cpu, int trapnr, void *regs, int err_code,
regs              839 kernel/debug/debug_core.c 		ks->linux_regs		= regs;
regs              841 kernel/debug/debug_core.c 		kgdb_cpu_enter(ks, regs, DCPU_WANT_MASTER);
regs              342 kernel/debug/gdbstub.c void pt_regs_to_gdb_regs(unsigned long *gdb_regs, struct pt_regs *regs)
regs              349 kernel/debug/gdbstub.c 		dbg_get_reg(i, ptr + idx, regs);
regs              354 kernel/debug/gdbstub.c void gdb_regs_to_pt_regs(unsigned long *gdb_regs, struct pt_regs *regs)
regs              361 kernel/debug/gdbstub.c 		dbg_set_reg(i, ptr + idx, regs);
regs              433 kernel/debug/gdbstub.c static struct task_struct *getthread(struct pt_regs *regs, int tid)
regs               27 kernel/debug/kdb/kdb_bp.c static void kdb_setsinglestep(struct pt_regs *regs)
regs              108 kernel/debug/kdb/kdb_bp.c static void kdb_handle_bp(struct pt_regs *regs, kdb_bp_t *bp)
regs              111 kernel/debug/kdb/kdb_bp.c 		kdb_printf("regs->ip = 0x%lx\n", instruction_pointer(regs));
regs              116 kernel/debug/kdb/kdb_bp.c 	kdb_setsinglestep(regs);
regs              125 kernel/debug/kdb/kdb_bp.c static int _kdb_bp_install(struct pt_regs *regs, kdb_bp_t *bp)
regs              142 kernel/debug/kdb/kdb_bp.c 		kdb_handle_bp(regs, bp);
regs              174 kernel/debug/kdb/kdb_bp.c void kdb_bp_install(struct pt_regs *regs)
regs              186 kernel/debug/kdb/kdb_bp.c 			_kdb_bp_install(regs, bp);
regs             1131 kernel/debug/kdb/kdb_main.c static void kdb_dumpregs(struct pt_regs *regs)
regs             1136 kernel/debug/kdb/kdb_main.c 	show_regs(regs);
regs             1182 kernel/debug/kdb/kdb_main.c static int kdb_local(kdb_reason_t reason, int error, struct pt_regs *regs,
regs             1217 kernel/debug/kdb/kdb_main.c 				   instruction_pointer(regs));
regs             1250 kernel/debug/kdb/kdb_main.c 			   instruction_pointer(regs));
regs             1251 kernel/debug/kdb/kdb_main.c 		kdb_dumpregs(regs);
regs             1259 kernel/debug/kdb/kdb_main.c 			   instruction_pointer(regs));
regs             1265 kernel/debug/kdb/kdb_main.c 			   "Breakpoint" : "SS trap", instruction_pointer(regs));
regs             1279 kernel/debug/kdb/kdb_main.c 			   instruction_pointer(regs));
regs             1398 kernel/debug/kdb/kdb_main.c 	      kdb_dbtrap_t db_result, struct pt_regs *regs)
regs             1422 kernel/debug/kdb/kdb_main.c 		result = kdb_local(reason2, error, regs, db_result);
regs               39 kernel/events/callchain.c 				  struct pt_regs *regs)
regs               44 kernel/events/callchain.c 				struct pt_regs *regs)
regs              178 kernel/events/callchain.c get_perf_callchain(struct pt_regs *regs, u32 init_nr, bool kernel, bool user,
regs              198 kernel/events/callchain.c 	if (kernel && !user_mode(regs)) {
regs              201 kernel/events/callchain.c 		perf_callchain_kernel(&ctx, regs);
regs              205 kernel/events/callchain.c 		if (!user_mode(regs)) {
regs              207 kernel/events/callchain.c 				regs = task_pt_regs(current);
regs              209 kernel/events/callchain.c 				regs = NULL;
regs              212 kernel/events/callchain.c 		if (regs) {
regs              223 kernel/events/callchain.c 			perf_callchain_user(&ctx, regs);
regs             6054 kernel/events/core.c 			struct pt_regs *regs, u64 mask)
regs             6063 kernel/events/core.c 		val = perf_reg_value(regs, bit);
regs             6069 kernel/events/core.c 				  struct pt_regs *regs,
regs             6072 kernel/events/core.c 	if (user_mode(regs)) {
regs             6074 kernel/events/core.c 		regs_user->regs = regs;
regs             6076 kernel/events/core.c 		perf_get_regs_user(regs_user, regs, regs_user_copy);
regs             6079 kernel/events/core.c 		regs_user->regs = NULL;
regs             6084 kernel/events/core.c 				  struct pt_regs *regs)
regs             6086 kernel/events/core.c 	regs_intr->regs = regs;
regs             6098 kernel/events/core.c static u64 perf_ustack_task_size(struct pt_regs *regs)
regs             6100 kernel/events/core.c 	unsigned long addr = perf_user_stack_pointer(regs);
regs             6110 kernel/events/core.c 			struct pt_regs *regs)
regs             6115 kernel/events/core.c 	if (!regs)
regs             6128 kernel/events/core.c 	task_size  = min((u64) USHRT_MAX, perf_ustack_task_size(regs));
regs             6149 kernel/events/core.c 			  struct pt_regs *regs)
regs             6152 kernel/events/core.c 	if (!regs) {
regs             6176 kernel/events/core.c 		sp = perf_user_stack_pointer(regs);
regs             6469 kernel/events/core.c 						data->regs_user.regs,
regs             6477 kernel/events/core.c 					  data->regs_user.regs);
regs             6501 kernel/events/core.c 						data->regs_intr.regs,
regs             6562 kernel/events/core.c perf_callchain(struct perf_event *event, struct pt_regs *regs)
regs             6574 kernel/events/core.c 	callchain = get_perf_callchain(regs, 0, kernel, user,
regs             6582 kernel/events/core.c 			 struct pt_regs *regs)
regs             6590 kernel/events/core.c 	header->misc |= perf_misc_flags(regs);
regs             6595 kernel/events/core.c 		data->ip = perf_instruction_pointer(regs);
regs             6601 kernel/events/core.c 			data->callchain = perf_callchain(event, regs);
regs             6643 kernel/events/core.c 		perf_sample_regs_user(&data->regs_user, regs,
regs             6650 kernel/events/core.c 		if (data->regs_user.regs) {
regs             6669 kernel/events/core.c 						     data->regs_user.regs);
regs             6687 kernel/events/core.c 		perf_sample_regs_intr(&data->regs_intr, regs);
regs             6689 kernel/events/core.c 		if (data->regs_intr.regs) {
regs             6705 kernel/events/core.c 		    struct pt_regs *regs,
regs             6717 kernel/events/core.c 	perf_prepare_sample(&header, data, event, regs);
regs             6735 kernel/events/core.c 			 struct pt_regs *regs)
regs             6737 kernel/events/core.c 	__perf_event_output(event, data, regs, perf_output_begin_forward);
regs             6743 kernel/events/core.c 			   struct pt_regs *regs)
regs             6745 kernel/events/core.c 	__perf_event_output(event, data, regs, perf_output_begin_backward);
regs             6751 kernel/events/core.c 		  struct pt_regs *regs)
regs             6753 kernel/events/core.c 	return __perf_event_output(event, data, regs, perf_output_begin);
regs             8184 kernel/events/core.c 				   struct pt_regs *regs)
regs             8211 kernel/events/core.c 	READ_ONCE(event->overflow_handler)(event, data, regs);
regs             8223 kernel/events/core.c 			  struct pt_regs *regs)
regs             8225 kernel/events/core.c 	return __perf_event_overflow(event, 1, data, regs);
regs             8275 kernel/events/core.c 				    struct pt_regs *regs)
regs             8288 kernel/events/core.c 					    data, regs)) {
regs             8301 kernel/events/core.c 			       struct pt_regs *regs)
regs             8307 kernel/events/core.c 	if (!regs)
regs             8315 kernel/events/core.c 		return perf_swevent_overflow(event, 1, data, regs);
regs             8320 kernel/events/core.c 		return perf_swevent_overflow(event, 1, data, regs);
regs             8325 kernel/events/core.c 	perf_swevent_overflow(event, 0, data, regs);
regs             8329 kernel/events/core.c 			      struct pt_regs *regs)
regs             8334 kernel/events/core.c 	if (regs) {
regs             8335 kernel/events/core.c 		if (event->attr.exclude_user && user_mode(regs))
regs             8338 kernel/events/core.c 		if (event->attr.exclude_kernel && !user_mode(regs))
regs             8349 kernel/events/core.c 				struct pt_regs *regs)
regs             8357 kernel/events/core.c 	if (perf_exclude_event(event, regs))
regs             8415 kernel/events/core.c 				    struct pt_regs *regs)
regs             8427 kernel/events/core.c 		if (perf_swevent_match(event, type, event_id, data, regs))
regs             8428 kernel/events/core.c 			perf_swevent_event(event, nr, data, regs);
regs             8451 kernel/events/core.c void ___perf_sw_event(u32 event_id, u64 nr, struct pt_regs *regs, u64 addr)
regs             8455 kernel/events/core.c 	if (WARN_ON_ONCE(!regs))
regs             8459 kernel/events/core.c 	do_perf_sw_event(PERF_TYPE_SOFTWARE, event_id, nr, &data, regs);
regs             8462 kernel/events/core.c void __perf_sw_event(u32 event_id, u64 nr, struct pt_regs *regs, u64 addr)
regs             8471 kernel/events/core.c 	___perf_sw_event(event_id, nr, regs, addr);
regs             8689 kernel/events/core.c 				struct pt_regs *regs)
regs             8696 kernel/events/core.c 	if (event->attr.exclude_kernel && !user_mode(regs))
regs             8707 kernel/events/core.c 			       struct pt_regs *regs, struct hlist_head *head,
regs             8711 kernel/events/core.c 		*(struct pt_regs **)raw_data = regs;
regs             8717 kernel/events/core.c 	perf_tp_event(call->event.type, count, raw_data, size, regs, head,
regs             8723 kernel/events/core.c 		   struct pt_regs *regs, struct hlist_head *head, int rctx,
regs             8742 kernel/events/core.c 		if (perf_tp_event_match(event, &data, regs))
regs             8743 kernel/events/core.c 			perf_swevent_event(event, count, &data, regs);
regs             8766 kernel/events/core.c 			if (perf_tp_event_match(event, &data, regs))
regs             8767 kernel/events/core.c 				perf_swevent_event(event, count, &data, regs);
regs             8975 kernel/events/core.c 				 struct pt_regs *regs)
regs             8983 kernel/events/core.c 	ctx.regs = perf_arch_bpf_user_pt_regs(regs);
regs             8996 kernel/events/core.c 	event->orig_overflow_handler(event, data, regs);
regs             9143 kernel/events/core.c 	struct pt_regs *regs = data;
regs             9147 kernel/events/core.c 	if (!bp->hw.state && !perf_exclude_event(bp, regs))
regs             9148 kernel/events/core.c 		perf_swevent_event(bp, 1, &sample, regs);
regs             9581 kernel/events/core.c 	struct pt_regs *regs;
regs             9593 kernel/events/core.c 	regs = get_irq_regs();
regs             9595 kernel/events/core.c 	if (regs && !perf_exclude_event(event, regs)) {
regs             9597 kernel/events/core.c 			if (__perf_event_overflow(event, 1, &data, regs))
regs              239 kernel/events/internal.h #define perf_user_stack_pointer(regs) user_stack_pointer(regs)
regs              246 kernel/events/internal.h #define perf_user_stack_pointer(regs) 0
regs             1696 kernel/events/uprobes.c unsigned long __weak uprobe_get_swbp_addr(struct pt_regs *regs)
regs             1698 kernel/events/uprobes.c 	return instruction_pointer(regs) - UPROBE_SWBP_INSN_SIZE;
regs             1701 kernel/events/uprobes.c unsigned long uprobe_get_trap_addr(struct pt_regs *regs)
regs             1708 kernel/events/uprobes.c 	return instruction_pointer(regs);
regs             1855 kernel/events/uprobes.c 					struct pt_regs *regs)
regs             1860 kernel/events/uprobes.c 	while (ri && !arch_uretprobe_is_alive(ri, ctx, regs)) {
regs             1867 kernel/events/uprobes.c static void prepare_uretprobe(struct uprobe *uprobe, struct pt_regs *regs)
regs             1893 kernel/events/uprobes.c 	orig_ret_vaddr = arch_uretprobe_hijack_return_addr(trampoline_vaddr, regs);
regs             1899 kernel/events/uprobes.c 	cleanup_return_instances(utask, chained, regs);
regs             1919 kernel/events/uprobes.c 	ri->func = instruction_pointer(regs);
regs             1920 kernel/events/uprobes.c 	ri->stack = user_stack_pointer(regs);
regs             1935 kernel/events/uprobes.c pre_ssout(struct uprobe *uprobe, struct pt_regs *regs, unsigned long bp_vaddr)
regs             1952 kernel/events/uprobes.c 	err = arch_uprobe_pre_xol(&uprobe->arch, regs);
regs             2079 kernel/events/uprobes.c static void handler_chain(struct uprobe *uprobe, struct pt_regs *regs)
regs             2090 kernel/events/uprobes.c 			rc = uc->handler(uc, regs);
regs             2102 kernel/events/uprobes.c 		prepare_uretprobe(uprobe, regs); /* put bp at return */
regs             2112 kernel/events/uprobes.c handle_uretprobe_chain(struct return_instance *ri, struct pt_regs *regs)
regs             2120 kernel/events/uprobes.c 			uc->ret_handler(uc, ri->func, regs);
regs             2137 kernel/events/uprobes.c static void handle_trampoline(struct pt_regs *regs)
regs             2159 kernel/events/uprobes.c 		valid = !next || arch_uretprobe_is_alive(next, RP_CHECK_RET, regs);
regs             2161 kernel/events/uprobes.c 		instruction_pointer_set(regs, ri->orig_ret_vaddr);
regs             2164 kernel/events/uprobes.c 				handle_uretprobe_chain(ri, regs);
regs             2179 kernel/events/uprobes.c bool __weak arch_uprobe_ignore(struct arch_uprobe *aup, struct pt_regs *regs)
regs             2185 kernel/events/uprobes.c 					struct pt_regs *regs)
regs             2194 kernel/events/uprobes.c static void handle_swbp(struct pt_regs *regs)
regs             2200 kernel/events/uprobes.c 	bp_vaddr = uprobe_get_swbp_addr(regs);
regs             2202 kernel/events/uprobes.c 		return handle_trampoline(regs);
regs             2218 kernel/events/uprobes.c 			instruction_pointer_set(regs, bp_vaddr);
regs             2224 kernel/events/uprobes.c 	instruction_pointer_set(regs, bp_vaddr);
regs             2247 kernel/events/uprobes.c 	if (arch_uprobe_ignore(&uprobe->arch, regs))
regs             2250 kernel/events/uprobes.c 	handler_chain(uprobe, regs);
regs             2252 kernel/events/uprobes.c 	if (arch_uprobe_skip_sstep(&uprobe->arch, regs))
regs             2255 kernel/events/uprobes.c 	if (!pre_ssout(uprobe, regs, bp_vaddr))
regs             2267 kernel/events/uprobes.c static void handle_singlestep(struct uprobe_task *utask, struct pt_regs *regs)
regs             2274 kernel/events/uprobes.c 		err = arch_uprobe_post_xol(&uprobe->arch, regs);
regs             2276 kernel/events/uprobes.c 		arch_uprobe_abort_xol(&uprobe->arch, regs);
regs             2306 kernel/events/uprobes.c void uprobe_notify_resume(struct pt_regs *regs)
regs             2314 kernel/events/uprobes.c 		handle_singlestep(utask, regs);
regs             2316 kernel/events/uprobes.c 		handle_swbp(regs);
regs             2323 kernel/events/uprobes.c int uprobe_pre_sstep_notifier(struct pt_regs *regs)
regs             2340 kernel/events/uprobes.c int uprobe_post_sstep_notifier(struct pt_regs *regs)
regs               15 kernel/fail_function.c static int fei_kprobe_handler(struct kprobe *kp, struct pt_regs *regs);
regs               17 kernel/fail_function.c static void fei_post_handler(struct kprobe *kp, struct pt_regs *regs,
regs              172 kernel/fail_function.c static int fei_kprobe_handler(struct kprobe *kp, struct pt_regs *regs)
regs              177 kernel/fail_function.c 		regs_set_return_value(regs, attr->retval);
regs              178 kernel/fail_function.c 		override_function_with_return(regs);
regs               43 kernel/irq/generic-chip.c 	irq_reg_writel(gc, mask, ct->regs.disable);
regs               63 kernel/irq/generic-chip.c 	irq_reg_writel(gc, *ct->mask_cache, ct->regs.mask);
regs               83 kernel/irq/generic-chip.c 	irq_reg_writel(gc, *ct->mask_cache, ct->regs.mask);
regs              102 kernel/irq/generic-chip.c 	irq_reg_writel(gc, mask, ct->regs.enable);
regs              118 kernel/irq/generic-chip.c 	irq_reg_writel(gc, mask, ct->regs.ack);
regs              134 kernel/irq/generic-chip.c 	irq_reg_writel(gc, mask, ct->regs.ack);
regs              157 kernel/irq/generic-chip.c 	irq_reg_writel(gc, mask, ct->regs.disable);
regs              159 kernel/irq/generic-chip.c 	irq_reg_writel(gc, mask, ct->regs.ack);
regs              174 kernel/irq/generic-chip.c 	irq_reg_writel(gc, mask, ct->regs.eoi);
regs              257 kernel/irq/generic-chip.c 	u32 *mskptr = &gc->mask_cache, mskreg = ct->regs.mask;
regs              263 kernel/irq/generic-chip.c 			mskreg = ct[i].regs.mask;
regs              660 kernel/irq/irqdesc.c 			bool lookup, struct pt_regs *regs)
regs              662 kernel/irq/irqdesc.c 	struct pt_regs *old_regs = set_irq_regs(regs);
regs              701 kernel/irq/irqdesc.c 		      struct pt_regs *regs)
regs              703 kernel/irq/irqdesc.c 	struct pt_regs *old_regs = set_irq_regs(regs);
regs              938 kernel/kexec_core.c void __noclone __crash_kexec(struct pt_regs *regs)
regs              952 kernel/kexec_core.c 			crash_setup_regs(&fixed_regs, regs);
regs              962 kernel/kexec_core.c void crash_kexec(struct pt_regs *regs)
regs              976 kernel/kexec_core.c 		__crash_kexec(regs);
regs             1055 kernel/kexec_core.c void crash_save_cpu(struct pt_regs *regs, int cpu)
regs             1075 kernel/kexec_core.c 	elf_core_copy_kernel_regs(&prstatus.pr_reg, regs);
regs              338 kernel/kprobes.c static int aggr_pre_handler(struct kprobe *p, struct pt_regs *regs);
regs              370 kernel/kprobes.c void opt_pre_handler(struct kprobe *p, struct pt_regs *regs)
regs              377 kernel/kprobes.c 			kp->pre_handler(kp, regs);
regs             1116 kernel/kprobes.c static int aggr_pre_handler(struct kprobe *p, struct pt_regs *regs)
regs             1123 kernel/kprobes.c 			if (kp->pre_handler(kp, regs))
regs             1132 kernel/kprobes.c static void aggr_post_handler(struct kprobe *p, struct pt_regs *regs,
regs             1140 kernel/kprobes.c 			kp->post_handler(kp, regs, flags);
regs             1147 kernel/kprobes.c static int aggr_fault_handler(struct kprobe *p, struct pt_regs *regs,
regs             1157 kernel/kprobes.c 		if (cur->fault_handler(cur, regs, trapnr))
regs             1858 kernel/kprobes.c static int pre_handler_kretprobe(struct kprobe *p, struct pt_regs *regs)
regs             1887 kernel/kprobes.c 		if (rp->entry_handler && rp->entry_handler(ri, regs)) {
regs             1894 kernel/kprobes.c 		arch_prepare_kretprobe(ri, regs);
regs             2052 kernel/kprobes.c static int pre_handler_kretprobe(struct kprobe *p, struct pt_regs *regs)
regs               43 kernel/livepatch/patch.c 				       struct pt_regs *regs)
regs              116 kernel/livepatch/patch.c 	klp_arch_set_pc(regs, (unsigned long)func->new_func);
regs              539 kernel/notifier.c 	       struct pt_regs *regs, long err, int trap, int sig)
regs              542 kernel/notifier.c 		.regs	= regs,
regs               85 kernel/panic.c void __weak nmi_panic_self_stop(struct pt_regs *regs)
regs              124 kernel/panic.c void nmi_panic(struct pt_regs *regs, const char *msg)
regs              134 kernel/panic.c 		nmi_panic_self_stop(regs);
regs              559 kernel/panic.c 	    struct pt_regs *regs, struct warn_args *args)
regs              587 kernel/panic.c 	if (regs)
regs              588 kernel/panic.c 		show_regs(regs);
regs              675 kernel/panic.c void refcount_error_report(struct pt_regs *regs, const char *err)
regs              678 kernel/panic.c 		err, (void *)instruction_pointer(regs),
regs              404 kernel/profile.c 	struct pt_regs *regs = get_irq_regs();
regs              406 kernel/profile.c 	if (!user_mode(regs) && prof_cpu_mask != NULL &&
regs              408 kernel/profile.c 		profile_hit(type, (void *)profile_pc(regs));
regs              909 kernel/ptrace.c ptrace_get_syscall_info_entry(struct task_struct *child, struct pt_regs *regs,
regs              916 kernel/ptrace.c 	info->entry.nr = syscall_get_nr(child, regs);
regs              917 kernel/ptrace.c 	syscall_get_arguments(child, regs, args);
regs              926 kernel/ptrace.c ptrace_get_syscall_info_seccomp(struct task_struct *child, struct pt_regs *regs,
regs              936 kernel/ptrace.c 	ptrace_get_syscall_info_entry(child, regs, info);
regs              945 kernel/ptrace.c ptrace_get_syscall_info_exit(struct task_struct *child, struct pt_regs *regs,
regs              949 kernel/ptrace.c 	info->exit.rval = syscall_get_error(child, regs);
regs              952 kernel/ptrace.c 		info->exit.rval = syscall_get_return_value(child, regs);
regs              962 kernel/ptrace.c 	struct pt_regs *regs = task_pt_regs(child);
regs              966 kernel/ptrace.c 		.instruction_pointer = instruction_pointer(regs),
regs              967 kernel/ptrace.c 		.stack_pointer = user_stack_pointer(regs),
regs              982 kernel/ptrace.c 			actual_size = ptrace_get_syscall_info_entry(child, regs,
regs              986 kernel/ptrace.c 			actual_size = ptrace_get_syscall_info_exit(child, regs,
regs              992 kernel/ptrace.c 		actual_size = ptrace_get_syscall_info_seccomp(child, regs,
regs              221 kernel/rseq.c  static int rseq_ip_fixup(struct pt_regs *regs)
regs              223 kernel/rseq.c  	unsigned long ip = instruction_pointer(regs);
regs              247 kernel/rseq.c  	instruction_pointer_set(regs, (unsigned long)rseq_cs.abort_ip);
regs              262 kernel/rseq.c  void __rseq_handle_notify_resume(struct ksignal *ksig, struct pt_regs *regs)
regs              271 kernel/rseq.c  	ret = rseq_ip_fixup(regs);
regs              289 kernel/rseq.c  void rseq_syscall(struct pt_regs *regs)
regs              291 kernel/rseq.c  	unsigned long ip = instruction_pointer(regs);
regs              342 kernel/sched/cpuacct.c 	struct pt_regs *regs = task_pt_regs(tsk);
regs              344 kernel/sched/cpuacct.c 	if (regs && user_mode(regs))
regs              147 kernel/seccomp.c 	struct pt_regs *regs = task_pt_regs(task);
regs              150 kernel/seccomp.c 	sd->nr = syscall_get_nr(task, regs);
regs              152 kernel/seccomp.c 	syscall_get_arguments(task, regs, args);
regs             1246 kernel/signal.c 	struct pt_regs *regs = signal_pt_regs();
regs             1250 kernel/signal.c 	pr_info("code at %08lx: ", regs->ip);
regs             1256 kernel/signal.c 			if (get_user(insn, (unsigned char *)(regs->ip + i)))
regs             1264 kernel/signal.c 	show_regs(regs);
regs              165 kernel/stacktrace.c unsigned int stack_trace_save_regs(struct pt_regs *regs, unsigned long *store,
regs              175 kernel/stacktrace.c 	arch_stack_walk(consume_entry, &c, current, regs);
regs              259 kernel/stacktrace.c save_stack_trace_regs(struct pt_regs *regs, struct stack_trace *trace)
regs              319 kernel/stacktrace.c unsigned int stack_trace_save_regs(struct pt_regs *regs, unsigned long *store,
regs              328 kernel/stacktrace.c 	save_stack_trace_regs(regs, &trace);
regs               26 kernel/test_kprobes.c static int kp_pre_handler(struct kprobe *p, struct pt_regs *regs)
regs               36 kernel/test_kprobes.c static void kp_post_handler(struct kprobe *p, struct pt_regs *regs,
regs               87 kernel/test_kprobes.c static int kp_pre_handler2(struct kprobe *p, struct pt_regs *regs)
regs               93 kernel/test_kprobes.c static void kp_post_handler2(struct kprobe *p, struct pt_regs *regs,
regs              159 kernel/test_kprobes.c static int entry_handler(struct kretprobe_instance *ri, struct pt_regs *regs)
regs              169 kernel/test_kprobes.c static int return_handler(struct kretprobe_instance *ri, struct pt_regs *regs)
regs              171 kernel/test_kprobes.c 	unsigned long ret = regs_return_value(regs);
regs              216 kernel/test_kprobes.c static int return_handler2(struct kretprobe_instance *ri, struct pt_regs *regs)
regs              218 kernel/test_kprobes.c 	unsigned long ret = regs_return_value(regs);
regs              148 kernel/time/tick-sched.c static void tick_sched_handle(struct tick_sched *ts, struct pt_regs *regs)
regs              171 kernel/time/tick-sched.c 	update_process_times(user_mode(regs));
regs             1196 kernel/time/tick-sched.c 	struct pt_regs *regs = get_irq_regs();
regs             1202 kernel/time/tick-sched.c 	tick_sched_handle(ts, regs);
regs             1293 kernel/time/tick-sched.c 	struct pt_regs *regs = get_irq_regs();
regs             1302 kernel/time/tick-sched.c 	if (regs)
regs             1303 kernel/time/tick-sched.c 		tick_sched_handle(ts, regs);
regs              125 kernel/trace/bpf_trace.c BPF_CALL_2(bpf_override_return, struct pt_regs *, regs, unsigned long, rc)
regs              127 kernel/trace/bpf_trace.c 	regs_set_return_value(regs, rc);
regs              128 kernel/trace/bpf_trace.c 	override_function_with_return(regs);
regs              420 kernel/trace/bpf_trace.c __bpf_perf_event_output(struct pt_regs *regs, struct bpf_map *map,
regs              446 kernel/trace/bpf_trace.c 	return perf_event_output(event, sd, regs);
regs              459 kernel/trace/bpf_trace.c BPF_CALL_5(bpf_perf_event_output, struct pt_regs *, regs, struct bpf_map *, map,
regs              488 kernel/trace/bpf_trace.c 	err = __bpf_perf_event_output(regs, map, flags, sd);
regs              508 kernel/trace/bpf_trace.c 	struct pt_regs regs[3];
regs              532 kernel/trace/bpf_trace.c 	struct pt_regs *regs;
regs              540 kernel/trace/bpf_trace.c 	regs = this_cpu_ptr(&bpf_pt_regs.regs[nest_level - 1]);
regs              542 kernel/trace/bpf_trace.c 	perf_fetch_caller_regs(regs);
regs              546 kernel/trace/bpf_trace.c 	ret = __bpf_perf_event_output(regs, map, flags, sd);
regs              794 kernel/trace/bpf_trace.c 	struct pt_regs *regs = *(struct pt_regs **)tp_buff;
regs              801 kernel/trace/bpf_trace.c 	return ____bpf_perf_event_output(regs, map, flags, data, size);
regs              818 kernel/trace/bpf_trace.c 	struct pt_regs *regs = *(struct pt_regs **)tp_buff;
regs              825 kernel/trace/bpf_trace.c 	return bpf_get_stackid((unsigned long) regs, (unsigned long) map,
regs              841 kernel/trace/bpf_trace.c 	struct pt_regs *regs = *(struct pt_regs **)tp_buff;
regs              843 kernel/trace/bpf_trace.c 	return bpf_get_stack((unsigned long) regs, (unsigned long) buf,
regs              947 kernel/trace/bpf_trace.c 	struct pt_regs regs[3];
regs              956 kernel/trace/bpf_trace.c 	if (WARN_ON_ONCE(nest_level > ARRAY_SIZE(tp_regs->regs))) {
regs              961 kernel/trace/bpf_trace.c 	return &tp_regs->regs[nest_level - 1];
regs              972 kernel/trace/bpf_trace.c 	struct pt_regs *regs = get_bpf_raw_tp_regs();
regs              975 kernel/trace/bpf_trace.c 	if (IS_ERR(regs))
regs              976 kernel/trace/bpf_trace.c 		return PTR_ERR(regs);
regs              978 kernel/trace/bpf_trace.c 	perf_fetch_caller_regs(regs);
regs              979 kernel/trace/bpf_trace.c 	ret = ____bpf_perf_event_output(regs, map, flags, data, size);
regs              999 kernel/trace/bpf_trace.c 	struct pt_regs *regs = get_bpf_raw_tp_regs();
regs             1002 kernel/trace/bpf_trace.c 	if (IS_ERR(regs))
regs             1003 kernel/trace/bpf_trace.c 		return PTR_ERR(regs);
regs             1005 kernel/trace/bpf_trace.c 	perf_fetch_caller_regs(regs);
regs             1007 kernel/trace/bpf_trace.c 	ret = bpf_get_stackid((unsigned long) regs, (unsigned long) map,
regs             1025 kernel/trace/bpf_trace.c 	struct pt_regs *regs = get_bpf_raw_tp_regs();
regs             1028 kernel/trace/bpf_trace.c 	if (IS_ERR(regs))
regs             1029 kernel/trace/bpf_trace.c 		return PTR_ERR(regs);
regs             1031 kernel/trace/bpf_trace.c 	perf_fetch_caller_regs(regs);
regs             1032 kernel/trace/bpf_trace.c 	ret = bpf_get_stack((unsigned long) regs, (unsigned long) buf,
regs             1171 kernel/trace/bpf_trace.c 						       regs), si->dst_reg, si->src_reg,
regs             1172 kernel/trace/bpf_trace.c 				      offsetof(struct bpf_perf_event_data_kern, regs));
regs              126 kernel/trace/ftrace.c 				 struct ftrace_ops *op, struct pt_regs *regs);
regs              145 kernel/trace/ftrace.c 			    struct ftrace_ops *op, struct pt_regs *regs)
regs              152 kernel/trace/ftrace.c 	op->saved_func(ip, parent_ip, op, regs);
regs              761 kernel/trace/ftrace.c 		      struct ftrace_ops *ops, struct pt_regs *regs)
regs             1484 kernel/trace/ftrace.c ftrace_ops_test(struct ftrace_ops *ops, unsigned long ip, void *regs)
regs             1495 kernel/trace/ftrace.c 	if (regs == NULL && (ops->flags & FTRACE_OPS_FL_SAVE_REGS))
regs             6302 kernel/trace/ftrace.c 		       struct ftrace_ops *ignored, struct pt_regs *regs)
regs             6331 kernel/trace/ftrace.c 		    ftrace_ops_test(op, ip, regs)) {
regs             6336 kernel/trace/ftrace.c 			op->func(ip, parent_ip, op, regs);
regs             6359 kernel/trace/ftrace.c 				 struct ftrace_ops *op, struct pt_regs *regs)
regs             6361 kernel/trace/ftrace.c 	__ftrace_ops_list_func(ip, parent_ip, NULL, regs);
regs             6378 kernel/trace/ftrace.c 				   struct ftrace_ops *op, struct pt_regs *regs)
regs             6391 kernel/trace/ftrace.c 	op->func(ip, parent_ip, op, regs);
regs               36 kernel/trace/ftrace_internal.h int ftrace_ops_test(struct ftrace_ops *ops, unsigned long ip, void *regs);
regs               58 kernel/trace/ftrace_internal.h ftrace_ops_test(struct ftrace_ops *ops, unsigned long ip, void *regs)
regs              737 kernel/trace/trace.c 				 int skip, int pc, struct pt_regs *regs);
regs              741 kernel/trace/trace.c 				      int skip, int pc, struct pt_regs *regs);
regs              746 kernel/trace/trace.c 					int skip, int pc, struct pt_regs *regs)
regs              752 kernel/trace/trace.c 				      int skip, int pc, struct pt_regs *regs)
regs             2613 kernel/trace/trace.c 				     struct pt_regs *regs)
regs             2623 kernel/trace/trace.c 	ftrace_trace_stack(tr, buffer, flags, regs ? 0 : STACK_SKIP, pc, regs);
regs             2806 kernel/trace/trace.c 				 int skip, int pc, struct pt_regs *regs)
regs             2820 kernel/trace/trace.c 	if (!regs)
regs             2850 kernel/trace/trace.c 	if (regs) {
regs             2851 kernel/trace/trace.c 		nr_entries = stack_trace_save_regs(regs, fstack->calls,
regs             2881 kernel/trace/trace.c 				      int skip, int pc, struct pt_regs *regs)
regs             2886 kernel/trace/trace.c 	__ftrace_trace_stack(buffer, flags, skip, pc, regs);
regs             1378 kernel/trace/trace.h 				     struct pt_regs *regs);
regs             1489 kernel/trace/trace.h 				 struct pt_regs *regs)
regs             1495 kernel/trace/trace.h 						irq_flags, pc, regs);
regs              390 kernel/trace/trace_event_perf.c void *perf_trace_buf_alloc(int size, struct pt_regs **regs, int *rctxp)
regs              405 kernel/trace/trace_event_perf.c 	if (regs)
regs              406 kernel/trace/trace_event_perf.c 		*regs = this_cpu_ptr(&__perf_regs[rctx]);
regs              435 kernel/trace/trace_event_perf.c 	struct pt_regs regs;
regs              456 kernel/trace/trace_event_perf.c 	memset(&regs, 0, sizeof(regs));
regs              457 kernel/trace/trace_event_perf.c 	perf_fetch_caller_regs(&regs);
regs              466 kernel/trace/trace_event_perf.c 			      1, &regs, &head, NULL);
regs              239 kernel/trace/trace_kprobe.c static int kprobe_dispatcher(struct kprobe *kp, struct pt_regs *regs);
regs              241 kernel/trace/trace_kprobe.c 				struct pt_regs *regs);
regs             1128 kernel/trace/trace_kprobe.c process_fetch_insn(struct fetch_insn *code, struct pt_regs *regs, void *dest,
regs             1137 kernel/trace/trace_kprobe.c 		val = regs_get_register(regs, code->param);
regs             1140 kernel/trace/trace_kprobe.c 		val = regs_get_kernel_stack_nth(regs, code->param);
regs             1143 kernel/trace/trace_kprobe.c 		val = kernel_stack_pointer(regs);
regs             1146 kernel/trace/trace_kprobe.c 		val = regs_return_value(regs);
regs             1159 kernel/trace/trace_kprobe.c 		val = regs_get_kernel_argument(regs, code->param);
regs             1176 kernel/trace/trace_kprobe.c __kprobe_trace_func(struct trace_kprobe *tk, struct pt_regs *regs,
regs             1194 kernel/trace/trace_kprobe.c 	dsize = __get_data_size(&tk->tp, regs);
regs             1205 kernel/trace/trace_kprobe.c 	store_trace_args(&entry[1], &tk->tp, regs, sizeof(*entry), dsize);
regs             1208 kernel/trace/trace_kprobe.c 					 entry, irq_flags, pc, regs);
regs             1212 kernel/trace/trace_kprobe.c kprobe_trace_func(struct trace_kprobe *tk, struct pt_regs *regs)
regs             1217 kernel/trace/trace_kprobe.c 		__kprobe_trace_func(tk, regs, link->file);
regs             1224 kernel/trace/trace_kprobe.c 		       struct pt_regs *regs,
regs             1242 kernel/trace/trace_kprobe.c 	dsize = __get_data_size(&tk->tp, regs);
regs             1254 kernel/trace/trace_kprobe.c 	store_trace_args(&entry[1], &tk->tp, regs, sizeof(*entry), dsize);
regs             1257 kernel/trace/trace_kprobe.c 					 entry, irq_flags, pc, regs);
regs             1262 kernel/trace/trace_kprobe.c 		     struct pt_regs *regs)
regs             1267 kernel/trace/trace_kprobe.c 		__kretprobe_trace_func(tk, ri, regs, link->file);
regs             1374 kernel/trace/trace_kprobe.c kprobe_perf_func(struct trace_kprobe *tk, struct pt_regs *regs)
regs             1383 kernel/trace/trace_kprobe.c 		unsigned long orig_ip = instruction_pointer(regs);
regs             1386 kernel/trace/trace_kprobe.c 		ret = trace_call_bpf(call, regs);
regs             1393 kernel/trace/trace_kprobe.c 		if (orig_ip != instruction_pointer(regs))
regs             1403 kernel/trace/trace_kprobe.c 	dsize = __get_data_size(&tk->tp, regs);
regs             1414 kernel/trace/trace_kprobe.c 	store_trace_args(&entry[1], &tk->tp, regs, sizeof(*entry), dsize);
regs             1415 kernel/trace/trace_kprobe.c 	perf_trace_buf_submit(entry, size, rctx, call->event.type, 1, regs,
regs             1424 kernel/trace/trace_kprobe.c 		    struct pt_regs *regs)
regs             1432 kernel/trace/trace_kprobe.c 	if (bpf_prog_array_valid(call) && !trace_call_bpf(call, regs))
regs             1439 kernel/trace/trace_kprobe.c 	dsize = __get_data_size(&tk->tp, regs);
regs             1450 kernel/trace/trace_kprobe.c 	store_trace_args(&entry[1], &tk->tp, regs, sizeof(*entry), dsize);
regs             1451 kernel/trace/trace_kprobe.c 	perf_trace_buf_submit(entry, size, rctx, call->event.type, 1, regs,
regs             1518 kernel/trace/trace_kprobe.c static int kprobe_dispatcher(struct kprobe *kp, struct pt_regs *regs)
regs             1526 kernel/trace/trace_kprobe.c 		kprobe_trace_func(tk, regs);
regs             1529 kernel/trace/trace_kprobe.c 		ret = kprobe_perf_func(tk, regs);
regs             1536 kernel/trace/trace_kprobe.c kretprobe_dispatcher(struct kretprobe_instance *ri, struct pt_regs *regs)
regs             1543 kernel/trace/trace_kprobe.c 		kretprobe_trace_func(tk, ri, regs);
regs             1546 kernel/trace/trace_kprobe.c 		kretprobe_perf_func(tk, ri, regs);
regs               57 kernel/trace/trace_probe_tmpl.h process_fetch_insn(struct fetch_insn *code, struct pt_regs *regs,
regs              172 kernel/trace/trace_probe_tmpl.h __get_data_size(struct trace_probe *tp, struct pt_regs *regs)
regs              180 kernel/trace/trace_probe_tmpl.h 			len = process_fetch_insn(arg->code, regs, NULL, NULL);
regs              191 kernel/trace/trace_probe_tmpl.h store_trace_args(void *data, struct trace_probe *tp, struct pt_regs *regs,
regs              206 kernel/trace/trace_probe_tmpl.h 		ret = process_fetch_insn(arg->code, regs, dl, base);
regs               65 kernel/trace/trace_syscalls.c trace_get_syscall_nr(struct task_struct *task, struct pt_regs *regs)
regs               67 kernel/trace/trace_syscalls.c 	if (unlikely(arch_trace_is_compat_syscall(regs)))
regs               70 kernel/trace/trace_syscalls.c 	return syscall_get_nr(task, regs);
regs               74 kernel/trace/trace_syscalls.c trace_get_syscall_nr(struct task_struct *task, struct pt_regs *regs)
regs               76 kernel/trace/trace_syscalls.c 	return syscall_get_nr(task, regs);
regs              308 kernel/trace/trace_syscalls.c static void ftrace_syscall_enter(void *data, struct pt_regs *regs, long id)
regs              322 kernel/trace/trace_syscalls.c 	syscall_nr = trace_get_syscall_nr(current, regs);
regs              351 kernel/trace/trace_syscalls.c 	syscall_get_arguments(current, regs, args);
regs              358 kernel/trace/trace_syscalls.c static void ftrace_syscall_exit(void *data, struct pt_regs *regs, long ret)
regs              370 kernel/trace/trace_syscalls.c 	syscall_nr = trace_get_syscall_nr(current, regs);
regs              398 kernel/trace/trace_syscalls.c 	entry->ret = syscall_get_return_value(current, regs);
regs              565 kernel/trace/trace_syscalls.c static int perf_call_bpf_enter(struct trace_event_call *call, struct pt_regs *regs,
regs              570 kernel/trace/trace_syscalls.c 		unsigned long long regs;
regs              576 kernel/trace/trace_syscalls.c 	*(struct pt_regs **)&param = regs;
regs              583 kernel/trace/trace_syscalls.c static void perf_syscall_enter(void *ignore, struct pt_regs *regs, long id)
regs              594 kernel/trace/trace_syscalls.c 	syscall_nr = trace_get_syscall_nr(current, regs);
regs              619 kernel/trace/trace_syscalls.c 	syscall_get_arguments(current, regs, args);
regs              623 kernel/trace/trace_syscalls.c 	     !perf_call_bpf_enter(sys_data->enter_event, regs, sys_data, rec)) ||
regs              630 kernel/trace/trace_syscalls.c 			      sys_data->enter_event->event.type, 1, regs,
regs              668 kernel/trace/trace_syscalls.c static int perf_call_bpf_exit(struct trace_event_call *call, struct pt_regs *regs,
regs              672 kernel/trace/trace_syscalls.c 		unsigned long long regs;
regs              677 kernel/trace/trace_syscalls.c 	*(struct pt_regs **)&param = regs;
regs              683 kernel/trace/trace_syscalls.c static void perf_syscall_exit(void *ignore, struct pt_regs *regs, long ret)
regs              693 kernel/trace/trace_syscalls.c 	syscall_nr = trace_get_syscall_nr(current, regs);
regs              717 kernel/trace/trace_syscalls.c 	rec->ret = syscall_get_return_value(current, regs);
regs              720 kernel/trace/trace_syscalls.c 	     !perf_call_bpf_exit(sys_data->exit_event, regs, rec)) ||
regs              727 kernel/trace/trace_syscalls.c 			      1, regs, head, NULL);
regs               98 kernel/trace/trace_uprobe.c static int uprobe_dispatcher(struct uprobe_consumer *con, struct pt_regs *regs);
regs              100 kernel/trace/trace_uprobe.c 				unsigned long func, struct pt_regs *regs);
regs              114 kernel/trace/trace_uprobe.c static unsigned long get_user_stack_nth(struct pt_regs *regs, unsigned int n)
regs              117 kernel/trace/trace_uprobe.c 	unsigned long addr = user_stack_pointer(regs);
regs              220 kernel/trace/trace_uprobe.c process_fetch_insn(struct fetch_insn *code, struct pt_regs *regs, void *dest,
regs              228 kernel/trace/trace_uprobe.c 		val = regs_get_register(regs, code->param);
regs              231 kernel/trace/trace_uprobe.c 		val = get_user_stack_nth(regs, code->param);
regs              234 kernel/trace/trace_uprobe.c 		val = user_stack_pointer(regs);
regs              237 kernel/trace/trace_uprobe.c 		val = regs_return_value(regs);
regs              929 kernel/trace/trace_uprobe.c 				unsigned long func, struct pt_regs *regs,
regs              958 kernel/trace/trace_uprobe.c 		entry->vaddr[1] = instruction_pointer(regs);
regs              961 kernel/trace/trace_uprobe.c 		entry->vaddr[0] = instruction_pointer(regs);
regs              971 kernel/trace/trace_uprobe.c static int uprobe_trace_func(struct trace_uprobe *tu, struct pt_regs *regs,
regs              981 kernel/trace/trace_uprobe.c 		__uprobe_trace_func(tu, 0, regs, ucb, dsize, link->file);
regs              988 kernel/trace/trace_uprobe.c 				 struct pt_regs *regs,
regs              995 kernel/trace/trace_uprobe.c 		__uprobe_trace_func(tu, func, regs, ucb, dsize, link->file);
regs             1326 kernel/trace/trace_uprobe.c 			       unsigned long func, struct pt_regs *regs,
regs             1336 kernel/trace/trace_uprobe.c 	if (bpf_prog_array_valid(call) && !trace_call_bpf(call, regs))
regs             1357 kernel/trace/trace_uprobe.c 		entry->vaddr[1] = instruction_pointer(regs);
regs             1360 kernel/trace/trace_uprobe.c 		entry->vaddr[0] = instruction_pointer(regs);
regs             1372 kernel/trace/trace_uprobe.c 	perf_trace_buf_submit(entry, size, rctx, call->event.type, 1, regs,
regs             1379 kernel/trace/trace_uprobe.c static int uprobe_perf_func(struct trace_uprobe *tu, struct pt_regs *regs,
regs             1386 kernel/trace/trace_uprobe.c 		__uprobe_perf_func(tu, 0, regs, ucb, dsize);
regs             1391 kernel/trace/trace_uprobe.c 				struct pt_regs *regs,
regs             1394 kernel/trace/trace_uprobe.c 	__uprobe_perf_func(tu, func, regs, ucb, dsize);
regs             1455 kernel/trace/trace_uprobe.c static int uprobe_dispatcher(struct uprobe_consumer *con, struct pt_regs *regs)
regs             1468 kernel/trace/trace_uprobe.c 	udd.bp_addr = instruction_pointer(regs);
regs             1475 kernel/trace/trace_uprobe.c 	dsize = __get_data_size(&tu->tp, regs);
regs             1479 kernel/trace/trace_uprobe.c 	store_trace_args(ucb->buf, &tu->tp, regs, esize, dsize);
regs             1482 kernel/trace/trace_uprobe.c 		ret |= uprobe_trace_func(tu, regs, ucb, dsize);
regs             1486 kernel/trace/trace_uprobe.c 		ret |= uprobe_perf_func(tu, regs, ucb, dsize);
regs             1493 kernel/trace/trace_uprobe.c 				unsigned long func, struct pt_regs *regs)
regs             1510 kernel/trace/trace_uprobe.c 	dsize = __get_data_size(&tu->tp, regs);
regs             1514 kernel/trace/trace_uprobe.c 	store_trace_args(ucb->buf, &tu->tp, regs, esize, dsize);
regs             1517 kernel/trace/trace_uprobe.c 		uretprobe_trace_func(tu, func, regs, ucb, dsize);
regs             1521 kernel/trace/trace_uprobe.c 		uretprobe_perf_func(tu, func, regs, ucb, dsize);
regs              367 kernel/watchdog.c 	struct pt_regs *regs = get_irq_regs();
regs              455 kernel/watchdog.c 		if (regs)
regs              456 kernel/watchdog.c 			show_regs(regs);
regs              112 kernel/watchdog_hld.c 				       struct pt_regs *regs)
regs              142 kernel/watchdog_hld.c 		if (regs)
regs              143 kernel/watchdog_hld.c 			show_regs(regs);
regs              156 kernel/watchdog_hld.c 			nmi_panic(regs, "Hard LOCKUP");
regs              143 lib/bug.c      enum bug_trap_type report_bug(unsigned long bugaddr, struct pt_regs *regs)
regs              195 lib/bug.c      		__warn(file, line, (void *)bugaddr, BUG_GET_TAINT(bug), regs,
regs               88 lib/nmi_backtrace.c bool nmi_cpu_backtrace(struct pt_regs *regs)
regs               93 lib/nmi_backtrace.c 		if (regs && cpu_in_idle(instruction_pointer(regs))) {
regs               95 lib/nmi_backtrace.c 				cpu, (void *)instruction_pointer(regs));
regs               98 lib/nmi_backtrace.c 			if (regs)
regs               99 lib/nmi_backtrace.c 				show_regs(regs);
regs               10 lib/syscall.c  	struct pt_regs *regs;
regs               19 lib/syscall.c  	regs = task_pt_regs(target);
regs               20 lib/syscall.c  	if (unlikely(!regs)) {
regs               25 lib/syscall.c  	info->sp = user_stack_pointer(regs);
regs               26 lib/syscall.c  	info->data.instruction_pointer = instruction_pointer(regs);
regs               28 lib/syscall.c  	info->data.nr = syscall_get_nr(target, regs);
regs               30 lib/syscall.c  		syscall_get_arguments(target, regs,
regs               22 net/bridge/netfilter/nft_meta_bridge.c 				     struct nft_regs *regs,
regs               27 net/bridge/netfilter/nft_meta_bridge.c 	u32 *dest = &regs->data[priv->dreg];
regs               60 net/bridge/netfilter/nft_meta_bridge.c 		return nft_meta_get_eval(expr, regs, pkt);
regs               66 net/bridge/netfilter/nft_meta_bridge.c 	regs->verdict.code = NFT_BREAK;
regs              298 net/bridge/netfilter/nft_reject_bridge.c 				   struct nft_regs *regs,
regs              356 net/bridge/netfilter/nft_reject_bridge.c 	regs->verdict.code = NF_DROP;
regs             1337 net/core/ethtool.c 	struct ethtool_regs regs;
regs             1345 net/core/ethtool.c 	if (copy_from_user(&regs, useraddr, sizeof(regs)))
regs             1352 net/core/ethtool.c 	if (regs.len > reglen)
regs             1353 net/core/ethtool.c 		regs.len = reglen;
regs             1359 net/core/ethtool.c 	if (regs.len < reglen)
regs             1360 net/core/ethtool.c 		reglen = regs.len;
regs             1362 net/core/ethtool.c 	ops->get_regs(dev, &regs, regbuf);
regs             1365 net/core/ethtool.c 	if (copy_to_user(useraddr, &regs, sizeof(regs)))
regs               41 net/dsa/master.c 				struct ethtool_regs *regs, void *data)
regs               55 net/dsa/master.c 		regs->len = len;
regs               56 net/dsa/master.c 		ops->get_regs(dev, regs, data);
regs               57 net/dsa/master.c 		data += regs->len;
regs              585 net/dsa/slave.c dsa_slave_get_regs(struct net_device *dev, struct ethtool_regs *regs, void *_p)
regs              591 net/dsa/slave.c 		ds->ops->get_regs(ds, dp->index, regs, _p);
regs               21 net/ipv4/netfilter/nft_dup_ipv4.c 			      struct nft_regs *regs,
regs               26 net/ipv4/netfilter/nft_dup_ipv4.c 		.s_addr = (__force __be32)regs->data[priv->sreg_addr],
regs               28 net/ipv4/netfilter/nft_dup_ipv4.c 	int oif = priv->sreg_dev ? regs->data[priv->sreg_dev] : -1;
regs               27 net/ipv4/netfilter/nft_fib_ipv4.c void nft_fib4_eval_type(const struct nft_expr *expr, struct nft_regs *regs,
regs               32 net/ipv4/netfilter/nft_fib_ipv4.c 	u32 *dst = &regs->data[priv->dreg];
regs               44 net/ipv4/netfilter/nft_fib_ipv4.c 		regs->verdict.code = NFT_BREAK;
regs               57 net/ipv4/netfilter/nft_fib_ipv4.c void nft_fib4_eval(const struct nft_expr *expr, struct nft_regs *regs,
regs               62 net/ipv4/netfilter/nft_fib_ipv4.c 	u32 *dest = &regs->data[priv->dreg];
regs               94 net/ipv4/netfilter/nft_fib_ipv4.c 		regs->verdict.code = NFT_BREAK;
regs               20 net/ipv4/netfilter/nft_reject_ipv4.c 				 struct nft_regs *regs,
regs               36 net/ipv4/netfilter/nft_reject_ipv4.c 	regs->verdict.code = NF_DROP;
regs               21 net/ipv6/netfilter/nft_dup_ipv6.c 			      struct nft_regs *regs,
regs               25 net/ipv6/netfilter/nft_dup_ipv6.c 	struct in6_addr *gw = (struct in6_addr *)&regs->data[priv->sreg_addr];
regs               26 net/ipv6/netfilter/nft_dup_ipv6.c 	int oif = priv->sreg_dev ? regs->data[priv->sreg_dev] : -1;
regs              120 net/ipv6/netfilter/nft_fib_ipv6.c void nft_fib6_eval_type(const struct nft_expr *expr, struct nft_regs *regs,
regs              125 net/ipv6/netfilter/nft_fib_ipv6.c 	u32 *dest = &regs->data[priv->dreg];
regs              130 net/ipv6/netfilter/nft_fib_ipv6.c 		regs->verdict.code = NFT_BREAK;
regs              138 net/ipv6/netfilter/nft_fib_ipv6.c void nft_fib6_eval(const struct nft_expr *expr, struct nft_regs *regs,
regs              144 net/ipv6/netfilter/nft_fib_ipv6.c 	u32 *dest = &regs->data[priv->dreg];
regs              160 net/ipv6/netfilter/nft_fib_ipv6.c 		regs->verdict.code = NFT_BREAK;
regs               20 net/ipv6/netfilter/nft_reject_ipv6.c 				 struct nft_regs *regs,
regs               37 net/ipv6/netfilter/nft_reject_ipv6.c 	regs->verdict.code = NF_DROP;
regs              223 net/mac80211/ethtool.c 			       struct ethtool_regs *regs,
regs              228 net/mac80211/ethtool.c 	regs->version = wdev->wiphy->hw_version;
regs              229 net/mac80211/ethtool.c 	regs->len = 0;
regs               51 net/netfilter/nf_tables_core.c 			      struct nft_regs *regs)
regs               56 net/netfilter/nf_tables_core.c 	if ((regs->data[priv->sreg] & mask) == priv->data)
regs               58 net/netfilter/nf_tables_core.c 	regs->verdict.code = NFT_BREAK;
regs               62 net/netfilter/nf_tables_core.c 				  struct nft_regs *regs,
regs               67 net/netfilter/nf_tables_core.c 	u32 *dest = &regs->data[priv->dreg];
regs              124 net/netfilter/nf_tables_core.c 			       struct nft_regs *regs,
regs              131 net/netfilter/nf_tables_core.c 		return fun(expr, regs, pkt); } while (0)
regs              145 net/netfilter/nf_tables_core.c 	expr->ops->eval(expr, regs, pkt);
regs              156 net/netfilter/nf_tables_core.c 	struct nft_regs regs;
regs              164 net/netfilter/nf_tables_core.c 		nft_trace_init(&info, pkt, &regs.verdict, basechain);
regs              173 net/netfilter/nf_tables_core.c 	regs.verdict.code = NFT_CONTINUE;
regs              178 net/netfilter/nf_tables_core.c 				nft_cmp_fast_eval(expr, &regs);
regs              180 net/netfilter/nf_tables_core.c 				 !nft_payload_fast_eval(expr, &regs, pkt))
regs              181 net/netfilter/nf_tables_core.c 				expr_call_ops_eval(expr, &regs, pkt);
regs              183 net/netfilter/nf_tables_core.c 			if (regs.verdict.code != NFT_CONTINUE)
regs              187 net/netfilter/nf_tables_core.c 		switch (regs.verdict.code) {
regs              189 net/netfilter/nf_tables_core.c 			regs.verdict.code = NFT_CONTINUE;
regs              199 net/netfilter/nf_tables_core.c 	switch (regs.verdict.code & NF_VERDICT_MASK) {
regs              206 net/netfilter/nf_tables_core.c 		return regs.verdict.code;
regs              209 net/netfilter/nf_tables_core.c 	switch (regs.verdict.code) {
regs              221 net/netfilter/nf_tables_core.c 		chain = regs.verdict.chain;
regs               27 net/netfilter/nft_bitwise.c 		      struct nft_regs *regs, const struct nft_pktinfo *pkt)
regs               30 net/netfilter/nft_bitwise.c 	const u32 *src = &regs->data[priv->sreg];
regs               31 net/netfilter/nft_bitwise.c 	u32 *dst = &regs->data[priv->dreg];
regs              137 net/netfilter/nft_bitwise.c 	struct nft_offload_reg *reg = &ctx->regs[priv->dreg];
regs               27 net/netfilter/nft_byteorder.c 			struct nft_regs *regs,
regs               31 net/netfilter/nft_byteorder.c 	u32 *src = &regs->data[priv->sreg];
regs               32 net/netfilter/nft_byteorder.c 	u32 *dst = &regs->data[priv->dreg];
regs               26 net/netfilter/nft_cmp.c 		  struct nft_regs *regs,
regs               32 net/netfilter/nft_cmp.c 	d = memcmp(&regs->data[priv->sreg], &priv->data, priv->len);
regs               62 net/netfilter/nft_cmp.c 	regs->verdict.code = NFT_BREAK;
regs              121 net/netfilter/nft_cmp.c 	struct nft_offload_reg *reg = &ctx->regs[priv->sreg];
regs               68 net/netfilter/nft_compat.c 			       struct nft_regs *regs,
regs               85 net/netfilter/nft_compat.c 		regs->verdict.code = NFT_CONTINUE;
regs               88 net/netfilter/nft_compat.c 		regs->verdict.code = ret;
regs               94 net/netfilter/nft_compat.c 				   struct nft_regs *regs,
regs              111 net/netfilter/nft_compat.c 		regs->verdict.code = NF_ACCEPT;
regs              114 net/netfilter/nft_compat.c 		regs->verdict.code = NF_DROP;
regs              117 net/netfilter/nft_compat.c 		regs->verdict.code = NFT_CONTINUE;
regs              120 net/netfilter/nft_compat.c 		regs->verdict.code = NFT_RETURN;
regs              123 net/netfilter/nft_compat.c 		regs->verdict.code = ret;
regs              329 net/netfilter/nft_compat.c 			     struct nft_regs *regs,
regs              342 net/netfilter/nft_compat.c 		regs->verdict.code = NF_DROP;
regs              348 net/netfilter/nft_compat.c 		regs->verdict.code = NFT_CONTINUE;
regs              351 net/netfilter/nft_compat.c 		regs->verdict.code = NFT_BREAK;
regs              357 net/netfilter/nft_compat.c 				 struct nft_regs *regs,
regs              362 net/netfilter/nft_compat.c 	__nft_match_eval(expr, regs, pkt, priv->info);
regs              366 net/netfilter/nft_compat.c 			   struct nft_regs *regs,
regs              369 net/netfilter/nft_compat.c 	__nft_match_eval(expr, regs, pkt, nft_expr_priv(expr));
regs               23 net/netfilter/nft_connlimit.c 					 struct nft_regs *regs,
regs               42 net/netfilter/nft_connlimit.c 		regs->verdict.code = NF_DROP;
regs               47 net/netfilter/nft_connlimit.c 		regs->verdict.code = NF_DROP;
regs               54 net/netfilter/nft_connlimit.c 		regs->verdict.code = NFT_BREAK;
regs              109 net/netfilter/nft_connlimit.c 					struct nft_regs *regs,
regs              114 net/netfilter/nft_connlimit.c 	nft_connlimit_do_eval(priv, regs, pkt, NULL);
regs              166 net/netfilter/nft_connlimit.c 			       struct nft_regs *regs,
regs              171 net/netfilter/nft_connlimit.c 	nft_connlimit_do_eval(priv, regs, pkt, NULL);
regs               29 net/netfilter/nft_counter.c 				       struct nft_regs *regs,
regs               49 net/netfilter/nft_counter.c 					struct nft_regs *regs,
regs               54 net/netfilter/nft_counter.c 	nft_counter_do_eval(priv, regs, pkt);
regs              195 net/netfilter/nft_counter.c 			     struct nft_regs *regs,
regs              200 net/netfilter/nft_counter.c 	nft_counter_do_eval(priv, regs, pkt);
regs               59 net/netfilter/nft_ct.c 			    struct nft_regs *regs,
regs               63 net/netfilter/nft_ct.c 	u32 *dest = &regs->data[priv->dreg];
regs              229 net/netfilter/nft_ct.c 	regs->verdict.code = NFT_BREAK;
regs              234 net/netfilter/nft_ct.c 				 struct nft_regs *regs,
regs              241 net/netfilter/nft_ct.c 	u16 value = nft_reg_load16(&regs->data[priv->sreg]);
regs              269 net/netfilter/nft_ct.c 			regs->verdict.code = NF_DROP;
regs              280 net/netfilter/nft_ct.c 			    struct nft_regs *regs,
regs              286 net/netfilter/nft_ct.c 	u32 value = regs->data[priv->sreg];
regs              315 net/netfilter/nft_ct.c 				      &regs->data[priv->sreg],
regs              316 net/netfilter/nft_ct.c 				      &regs->data[priv->sreg],
regs              323 net/netfilter/nft_ct.c 		u32 ctmask = regs->data[priv->sreg];
regs              763 net/netfilter/nft_ct.c 			     struct nft_regs *regs,
regs              827 net/netfilter/nft_ct.c 				    struct nft_regs *regs,
regs              845 net/netfilter/nft_ct.c 			regs->verdict.code = NF_DROP;
regs             1063 net/netfilter/nft_ct.c 				   struct nft_regs *regs,
regs             1211 net/netfilter/nft_ct.c 				   struct nft_regs *regs,
regs             1224 net/netfilter/nft_ct.c 		regs->verdict.code = NFT_BREAK;
regs             1233 net/netfilter/nft_ct.c 		regs->verdict.code = NF_DROP;
regs             1238 net/netfilter/nft_ct.c 		regs->verdict.code = NFT_BREAK;
regs             1246 net/netfilter/nft_ct.c 		regs->verdict.code = NF_DROP;
regs             1256 net/netfilter/nft_ct.c 		regs->verdict.code = NF_DROP;
regs               21 net/netfilter/nft_dup_netdev.c 				struct nft_regs *regs,
regs               25 net/netfilter/nft_dup_netdev.c 	int oif = regs->data[priv->sreg_dev];
regs               65 net/netfilter/nft_dup_netdev.c 	int oif = ctx->regs[priv->sreg_dev].data.data[0];
regs               45 net/netfilter/nft_dynset.c 			    struct nft_regs *regs)
regs               57 net/netfilter/nft_dynset.c 				 &regs->data[priv->sreg_key],
regs               58 net/netfilter/nft_dynset.c 				 &regs->data[priv->sreg_data],
regs               79 net/netfilter/nft_dynset.c 		     struct nft_regs *regs, const struct nft_pktinfo *pkt)
regs               88 net/netfilter/nft_dynset.c 		set->ops->delete(set, &regs->data[priv->sreg_key]);
regs               92 net/netfilter/nft_dynset.c 	if (set->ops->update(set, &regs->data[priv->sreg_key], nft_dynset_new,
regs               93 net/netfilter/nft_dynset.c 			     expr, regs, &ext)) {
regs              105 net/netfilter/nft_dynset.c 			sexpr->ops->eval(sexpr, regs, pkt);
regs              108 net/netfilter/nft_dynset.c 			regs->verdict.code = NFT_BREAK;
regs              113 net/netfilter/nft_dynset.c 		regs->verdict.code = NFT_BREAK;
regs               37 net/netfilter/nft_exthdr.c 				 struct nft_regs *regs,
regs               41 net/netfilter/nft_exthdr.c 	u32 *dest = &regs->data[priv->dreg];
regs               59 net/netfilter/nft_exthdr.c 	regs->verdict.code = NFT_BREAK;
regs              130 net/netfilter/nft_exthdr.c 				 struct nft_regs *regs,
regs              134 net/netfilter/nft_exthdr.c 	u32 *dest = &regs->data[priv->dreg];
regs              156 net/netfilter/nft_exthdr.c 	regs->verdict.code = NFT_BREAK;
regs              180 net/netfilter/nft_exthdr.c 				struct nft_regs *regs,
regs              186 net/netfilter/nft_exthdr.c 	u32 *dest = &regs->data[priv->dreg];
regs              219 net/netfilter/nft_exthdr.c 		regs->verdict.code = NFT_BREAK;
regs              223 net/netfilter/nft_exthdr.c 				    struct nft_regs *regs,
regs              262 net/netfilter/nft_exthdr.c 		src = regs->data[priv->sreg];
regs               15 net/netfilter/nft_fib_inet.c 			      struct nft_regs *regs,
regs               25 net/netfilter/nft_fib_inet.c 			return nft_fib4_eval(expr, regs, pkt);
regs               27 net/netfilter/nft_fib_inet.c 			return nft_fib4_eval_type(expr, regs, pkt);
regs               34 net/netfilter/nft_fib_inet.c 			return nft_fib6_eval(expr, regs, pkt);
regs               36 net/netfilter/nft_fib_inet.c 			return nft_fib6_eval_type(expr, regs, pkt);
regs               41 net/netfilter/nft_fib_inet.c 	regs->verdict.code = NF_DROP;
regs               22 net/netfilter/nft_fib_netdev.c 				struct nft_regs *regs,
regs               32 net/netfilter/nft_fib_netdev.c 			return nft_fib4_eval(expr, regs, pkt);
regs               34 net/netfilter/nft_fib_netdev.c 			return nft_fib4_eval_type(expr, regs, pkt);
regs               43 net/netfilter/nft_fib_netdev.c 			return nft_fib6_eval(expr, regs, pkt);
regs               45 net/netfilter/nft_fib_netdev.c 			return nft_fib6_eval_type(expr, regs, pkt);
regs               50 net/netfilter/nft_fib_netdev.c 	regs->verdict.code = NFT_BREAK;
regs               71 net/netfilter/nft_flow_offload.c 				  struct nft_regs *regs,
regs              141 net/netfilter/nft_flow_offload.c 	regs->verdict.code = NFT_BREAK;
regs               25 net/netfilter/nft_fwd_netdev.c 				struct nft_regs *regs,
regs               29 net/netfilter/nft_fwd_netdev.c 	int oif = regs->data[priv->sreg_dev];
regs               35 net/netfilter/nft_fwd_netdev.c 	regs->verdict.code = NF_STOLEN;
regs               75 net/netfilter/nft_fwd_netdev.c 	int oif = ctx->regs[priv->sreg_dev].data.data[0];
regs               87 net/netfilter/nft_fwd_netdev.c 			      struct nft_regs *regs,
regs               91 net/netfilter/nft_fwd_netdev.c 	void *addr = &regs->data[priv->sreg_addr];
regs               92 net/netfilter/nft_fwd_netdev.c 	int oif = regs->data[priv->sreg_dev];
regs              143 net/netfilter/nft_fwd_netdev.c 	regs->verdict.code = verdict;
regs               27 net/netfilter/nft_hash.c 			   struct nft_regs *regs,
regs               31 net/netfilter/nft_hash.c 	const void *data = &regs->data[priv->sreg];
regs               37 net/netfilter/nft_hash.c 	regs->data[priv->dreg] = h + priv->offset;
regs               47 net/netfilter/nft_hash.c 			     struct nft_regs *regs,
regs               56 net/netfilter/nft_hash.c 	regs->data[priv->dreg] = h + priv->offset;
regs               19 net/netfilter/nft_immediate.c 			struct nft_regs *regs,
regs               24 net/netfilter/nft_immediate.c 	nft_data_copy(&regs->data[priv->dreg], &priv->data, priv->dlen);
regs              161 net/netfilter/nft_immediate.c 	memcpy(&ctx->regs[priv->dreg].data, &priv->data, sizeof(priv->data));
regs              130 net/netfilter/nft_limit.c 				struct nft_regs *regs,
regs              136 net/netfilter/nft_limit.c 		regs->verdict.code = NFT_BREAK;
regs              179 net/netfilter/nft_limit.c 				 struct nft_regs *regs,
regs              186 net/netfilter/nft_limit.c 		regs->verdict.code = NFT_BREAK;
regs              240 net/netfilter/nft_limit.c 				    struct nft_regs *regs,
regs              246 net/netfilter/nft_limit.c 		regs->verdict.code = NFT_BREAK;
regs              283 net/netfilter/nft_limit.c 				     struct nft_regs *regs,
regs              290 net/netfilter/nft_limit.c 		regs->verdict.code = NFT_BREAK;
regs              105 net/netfilter/nft_log.c 			 struct nft_regs *regs,
regs               27 net/netfilter/nft_lookup.c 		     struct nft_regs *regs,
regs               35 net/netfilter/nft_lookup.c 	found = set->ops->lookup(nft_net(pkt), set, &regs->data[priv->sreg],
regs               38 net/netfilter/nft_lookup.c 		regs->verdict.code = NFT_BREAK;
regs               43 net/netfilter/nft_lookup.c 		nft_data_copy(&regs->data[priv->dreg],
regs              103 net/netfilter/nft_masq.c 			       struct nft_regs *regs,
regs              113 net/netfilter/nft_masq.c 			&regs->data[priv->sreg_proto_min]);
regs              115 net/netfilter/nft_masq.c 			&regs->data[priv->sreg_proto_max]);
regs              117 net/netfilter/nft_masq.c 	regs->verdict.code = nf_nat_masquerade_ipv4(pkt->skb, nft_hook(pkt),
regs              149 net/netfilter/nft_masq.c 			       struct nft_regs *regs,
regs              159 net/netfilter/nft_masq.c 			&regs->data[priv->sreg_proto_min]);
regs              161 net/netfilter/nft_masq.c 			&regs->data[priv->sreg_proto_max]);
regs              163 net/netfilter/nft_masq.c 	regs->verdict.code = nf_nat_masquerade_ipv6(pkt->skb, &range,
regs              209 net/netfilter/nft_masq.c 			       struct nft_regs *regs,
regs              214 net/netfilter/nft_masq.c 		return nft_masq_ipv4_eval(expr, regs, pkt);
regs              216 net/netfilter/nft_masq.c 		return nft_masq_ipv6_eval(expr, regs, pkt);
regs               60 net/netfilter/nft_meta.c 		       struct nft_regs *regs,
regs               67 net/netfilter/nft_meta.c 	u32 *dest = &regs->data[priv->dreg];
regs              265 net/netfilter/nft_meta.c 	regs->verdict.code = NFT_BREAK;
regs              270 net/netfilter/nft_meta.c 		       struct nft_regs *regs,
regs              275 net/netfilter/nft_meta.c 	u32 *sreg = &regs->data[meta->sreg];
regs              537 net/netfilter/nft_meta.c 	struct nft_offload_reg *reg = &ctx->regs[priv->dreg];
regs              638 net/netfilter/nft_meta.c static void nft_secmark_obj_eval(struct nft_object *obj, struct nft_regs *regs,
regs               34 net/netfilter/nft_nat.c 			 struct nft_regs *regs,
regs               46 net/netfilter/nft_nat.c 					regs->data[priv->sreg_addr_min];
regs               48 net/netfilter/nft_nat.c 					regs->data[priv->sreg_addr_max];
regs               52 net/netfilter/nft_nat.c 			       &regs->data[priv->sreg_addr_min],
regs               55 net/netfilter/nft_nat.c 			       &regs->data[priv->sreg_addr_max],
regs               63 net/netfilter/nft_nat.c 			&regs->data[priv->sreg_proto_min]);
regs               65 net/netfilter/nft_nat.c 			&regs->data[priv->sreg_proto_max]);
regs               71 net/netfilter/nft_nat.c 	regs->verdict.code = nf_nat_setup_info(ct, &range, priv->type);
regs              279 net/netfilter/nft_nat.c 			      struct nft_regs *regs,
regs              285 net/netfilter/nft_nat.c 		nft_nat_eval(expr, regs, pkt);
regs               38 net/netfilter/nft_numgen.c 			    struct nft_regs *regs,
regs               43 net/netfilter/nft_numgen.c 	regs->data[priv->dreg] = nft_ng_inc_gen(priv);
regs              117 net/netfilter/nft_numgen.c 			       struct nft_regs *regs,
regs              122 net/netfilter/nft_numgen.c 	regs->data[priv->dreg] = nft_ng_random_gen(priv);
regs               17 net/netfilter/nft_objref.c 			    struct nft_regs *regs,
regs               22 net/netfilter/nft_objref.c 	obj->ops->eval(obj, regs, pkt);
regs              103 net/netfilter/nft_objref.c 				struct nft_regs *regs,
regs              112 net/netfilter/nft_objref.c 	found = set->ops->lookup(nft_net(pkt), set, &regs->data[priv->sreg],
regs              115 net/netfilter/nft_objref.c 		regs->verdict.code = NFT_BREAK;
regs              119 net/netfilter/nft_objref.c 	obj->ops->eval(obj, regs, pkt);
regs               20 net/netfilter/nft_osf.c static void nft_osf_eval(const struct nft_expr *expr, struct nft_regs *regs,
regs               24 net/netfilter/nft_osf.c 	u32 *dest = &regs->data[priv->dreg];
regs               34 net/netfilter/nft_osf.c 		regs->verdict.code = NFT_BREAK;
regs               38 net/netfilter/nft_osf.c 		regs->verdict.code = NFT_BREAK;
regs               74 net/netfilter/nft_payload.c 		      struct nft_regs *regs,
regs               79 net/netfilter/nft_payload.c 	u32 *dest = &regs->data[priv->dreg];
regs              113 net/netfilter/nft_payload.c 	regs->verdict.code = NFT_BREAK;
regs              161 net/netfilter/nft_payload.c 	struct nft_offload_reg *reg = &ctx->regs[priv->dreg];
regs              189 net/netfilter/nft_payload.c 	struct nft_offload_reg *reg = &ctx->regs[priv->dreg];
regs              225 net/netfilter/nft_payload.c 	struct nft_offload_reg *reg = &ctx->regs[priv->dreg];
regs              281 net/netfilter/nft_payload.c 	struct nft_offload_reg *reg = &ctx->regs[priv->dreg];
regs              309 net/netfilter/nft_payload.c 	struct nft_offload_reg *reg = &ctx->regs[priv->dreg];
regs              493 net/netfilter/nft_payload.c 				 struct nft_regs *regs,
regs              498 net/netfilter/nft_payload.c 	const u32 *src = &regs->data[priv->sreg];
regs              544 net/netfilter/nft_payload.c 	regs->verdict.code = NFT_BREAK;
regs               29 net/netfilter/nft_queue.c 			   struct nft_regs *regs,
regs               52 net/netfilter/nft_queue.c 	regs->verdict.code = ret;
regs               56 net/netfilter/nft_queue.c 				struct nft_regs *regs,
regs               62 net/netfilter/nft_queue.c 	queue = regs->data[priv->sreg_qnum];
regs               68 net/netfilter/nft_queue.c 	regs->verdict.code = ret;
regs               34 net/netfilter/nft_quota.c 				     struct nft_regs *regs,
regs               38 net/netfilter/nft_quota.c 		regs->verdict.code = NFT_BREAK;
regs               50 net/netfilter/nft_quota.c 			       struct nft_regs *regs,
regs               58 net/netfilter/nft_quota.c 		regs->verdict.code = NFT_BREAK;
regs              184 net/netfilter/nft_quota.c 			   struct nft_regs *regs,
regs              189 net/netfilter/nft_quota.c 	nft_quota_do_eval(priv, regs, pkt);
regs               24 net/netfilter/nft_range.c 		    struct nft_regs *regs, const struct nft_pktinfo *pkt)
regs               29 net/netfilter/nft_range.c 	d1 = memcmp(&regs->data[priv->sreg], &priv->data_from, priv->len);
regs               30 net/netfilter/nft_range.c 	d2 = memcmp(&regs->data[priv->sreg], &priv->data_to, priv->len);
regs               34 net/netfilter/nft_range.c 			regs->verdict.code = NFT_BREAK;
regs               38 net/netfilter/nft_range.c 			regs->verdict.code = NFT_BREAK;
regs              106 net/netfilter/nft_redir.c 				struct nft_regs *regs,
regs              115 net/netfilter/nft_redir.c 			&regs->data[priv->sreg_proto_min]);
regs              117 net/netfilter/nft_redir.c 			&regs->data[priv->sreg_proto_max]);
regs              123 net/netfilter/nft_redir.c 	regs->verdict.code = nf_nat_redirect_ipv4(pkt->skb, &mr, nft_hook(pkt));
regs              154 net/netfilter/nft_redir.c 				struct nft_regs *regs,
regs              163 net/netfilter/nft_redir.c 			&regs->data[priv->sreg_proto_min]);
regs              165 net/netfilter/nft_redir.c 			&regs->data[priv->sreg_proto_max]);
regs              171 net/netfilter/nft_redir.c 	regs->verdict.code =
regs              204 net/netfilter/nft_redir.c 				struct nft_regs *regs,
regs              209 net/netfilter/nft_redir.c 		return nft_redir_ipv4_eval(expr, regs, pkt);
regs              211 net/netfilter/nft_redir.c 		return nft_redir_ipv6_eval(expr, regs, pkt);
regs               18 net/netfilter/nft_reject_inet.c 				 struct nft_regs *regs,
regs               58 net/netfilter/nft_reject_inet.c 	regs->verdict.code = NF_DROP;
regs               54 net/netfilter/nft_rt.c 		     struct nft_regs *regs,
regs               59 net/netfilter/nft_rt.c 	u32 *dest = &regs->data[priv->dreg];
regs              102 net/netfilter/nft_rt.c 	regs->verdict.code = NFT_BREAK;
regs              116 net/netfilter/nft_set_hash.c 					  struct nft_regs *regs),
regs              118 net/netfilter/nft_set_hash.c 			     struct nft_regs *regs,
regs              133 net/netfilter/nft_set_hash.c 	he = new(set, expr, regs);
regs               18 net/netfilter/nft_socket.c 			    struct nft_regs *regs,
regs               24 net/netfilter/nft_socket.c 	u32 *dest = &regs->data[priv->dreg];
regs               41 net/netfilter/nft_socket.c 			regs->verdict.code = NFT_BREAK;
regs               46 net/netfilter/nft_socket.c 		regs->verdict.code = NFT_BREAK;
regs               58 net/netfilter/nft_socket.c 			regs->verdict.code = NFT_BREAK;
regs               64 net/netfilter/nft_socket.c 		regs->verdict.code = NFT_BREAK;
regs               45 net/netfilter/nft_synproxy.c 				 struct nft_regs *regs,
regs               61 net/netfilter/nft_synproxy.c 		regs->verdict.code = NF_STOLEN;
regs               67 net/netfilter/nft_synproxy.c 			regs->verdict.code = NF_STOLEN;
regs               69 net/netfilter/nft_synproxy.c 			regs->verdict.code = NF_DROP;
regs               76 net/netfilter/nft_synproxy.c 				 struct nft_regs *regs,
regs               92 net/netfilter/nft_synproxy.c 		regs->verdict.code = NF_STOLEN;
regs               98 net/netfilter/nft_synproxy.c 			regs->verdict.code = NF_STOLEN;
regs              100 net/netfilter/nft_synproxy.c 			regs->verdict.code = NF_DROP;
regs              107 net/netfilter/nft_synproxy.c 				 struct nft_regs *regs,
regs              117 net/netfilter/nft_synproxy.c 		regs->verdict.code = NFT_BREAK;
regs              122 net/netfilter/nft_synproxy.c 		regs->verdict.code = NF_DROP;
regs              130 net/netfilter/nft_synproxy.c 		regs->verdict.code = NF_DROP;
regs              135 net/netfilter/nft_synproxy.c 		regs->verdict.code = NF_DROP;
regs              141 net/netfilter/nft_synproxy.c 		nft_synproxy_eval_v4(priv, regs, pkt, tcp, &_tcph, &opts);
regs              145 net/netfilter/nft_synproxy.c 		nft_synproxy_eval_v6(priv, regs, pkt, tcp, &_tcph, &opts);
regs              149 net/netfilter/nft_synproxy.c 	regs->verdict.code = NFT_BREAK;
regs              242 net/netfilter/nft_synproxy.c 			      struct nft_regs *regs,
regs              247 net/netfilter/nft_synproxy.c 	nft_synproxy_do_eval(priv, regs, pkt);
regs              323 net/netfilter/nft_synproxy.c 				  struct nft_regs *regs,
regs              328 net/netfilter/nft_synproxy.c 	nft_synproxy_do_eval(priv, regs, pkt);
regs               22 net/netfilter/nft_tproxy.c 			       struct nft_regs *regs,
regs               35 net/netfilter/nft_tproxy.c 		regs->verdict.code = NFT_BREAK;
regs               49 net/netfilter/nft_tproxy.c 		taddr = regs->data[priv->sreg_addr];
regs               53 net/netfilter/nft_tproxy.c 		tport = nft_reg_load16(&regs->data[priv->sreg_port]);
regs               74 net/netfilter/nft_tproxy.c 		regs->verdict.code = NFT_BREAK;
regs               79 net/netfilter/nft_tproxy.c 			       struct nft_regs *regs,
regs               95 net/netfilter/nft_tproxy.c 		regs->verdict.code = NFT_BREAK;
regs              102 net/netfilter/nft_tproxy.c 		regs->verdict.code = NFT_BREAK;
regs              116 net/netfilter/nft_tproxy.c 		memcpy(&taddr, &regs->data[priv->sreg_addr], sizeof(taddr));
regs              120 net/netfilter/nft_tproxy.c 		tport = nft_reg_load16(&regs->data[priv->sreg_port]);
regs              146 net/netfilter/nft_tproxy.c 		regs->verdict.code = NFT_BREAK;
regs              151 net/netfilter/nft_tproxy.c 			    struct nft_regs *regs,
regs              161 net/netfilter/nft_tproxy.c 			nft_tproxy_eval_v4(expr, regs, pkt);
regs              170 net/netfilter/nft_tproxy.c 			nft_tproxy_eval_v6(expr, regs, pkt);
regs              175 net/netfilter/nft_tproxy.c 	regs->verdict.code = NFT_BREAK;
regs               22 net/netfilter/nft_tunnel.c 				struct nft_regs *regs,
regs               26 net/netfilter/nft_tunnel.c 	u32 *dest = &regs->data[priv->dreg];
regs               48 net/netfilter/nft_tunnel.c 			regs->verdict.code = NFT_BREAK;
regs               58 net/netfilter/nft_tunnel.c 			regs->verdict.code = NFT_BREAK;
regs               62 net/netfilter/nft_tunnel.c 		regs->verdict.code = NFT_BREAK;
regs              431 net/netfilter/nft_tunnel.c 				       struct nft_regs *regs,
regs              118 net/netfilter/nft_xfrm.c 				   struct nft_regs *regs,
regs              121 net/netfilter/nft_xfrm.c 	u32 *dest = &regs->data[priv->dreg];
regs              126 net/netfilter/nft_xfrm.c 		regs->verdict.code = NFT_BREAK;
regs              155 net/netfilter/nft_xfrm.c 	regs->verdict.code = NFT_BREAK;
regs              159 net/netfilter/nft_xfrm.c 				    struct nft_regs *regs,
regs              166 net/netfilter/nft_xfrm.c 		regs->verdict.code = NFT_BREAK;
regs              171 net/netfilter/nft_xfrm.c 	nft_xfrm_state_get_key(priv, regs, state);
regs              175 net/netfilter/nft_xfrm.c 				  struct nft_regs *regs,
regs              186 net/netfilter/nft_xfrm.c 		nft_xfrm_state_get_key(priv, regs, dst->xfrm);
regs              190 net/netfilter/nft_xfrm.c 	regs->verdict.code = NFT_BREAK;
regs              194 net/netfilter/nft_xfrm.c 			      struct nft_regs *regs,
regs              201 net/netfilter/nft_xfrm.c 		nft_xfrm_get_eval_in(priv, regs, pkt);
regs              204 net/netfilter/nft_xfrm.c 		nft_xfrm_get_eval_out(priv, regs, pkt);
regs              208 net/netfilter/nft_xfrm.c 		regs->verdict.code = NFT_BREAK;
regs               28 samples/bpf/sampleip_kern.c 	ip = PT_REGS_IP(&ctx->regs);
regs               58 samples/bpf/trace_event_kern.c 				 PT_REGS_IP(&ctx->regs));
regs               33 samples/hw_breakpoint/data_breakpoint.c 			       struct pt_regs *regs)
regs               28 samples/kprobes/kprobe_example.c static int handler_pre(struct kprobe *p, struct pt_regs *regs)
regs               32 samples/kprobes/kprobe_example.c 		p->symbol_name, p->addr, regs->ip, regs->flags);
regs               36 samples/kprobes/kprobe_example.c 		p->symbol_name, p->addr, regs->nip, regs->msr);
regs               40 samples/kprobes/kprobe_example.c 		p->symbol_name, p->addr, regs->cp0_epc, regs->cp0_status);
regs               45 samples/kprobes/kprobe_example.c 		p->symbol_name, p->addr, (long)regs->pc, (long)regs->pstate);
regs               49 samples/kprobes/kprobe_example.c 		p->symbol_name, p->addr, regs->psw.addr, regs->flags);
regs               57 samples/kprobes/kprobe_example.c static void handler_post(struct kprobe *p, struct pt_regs *regs,
regs               62 samples/kprobes/kprobe_example.c 		p->symbol_name, p->addr, regs->flags);
regs               66 samples/kprobes/kprobe_example.c 		p->symbol_name, p->addr, regs->msr);
regs               70 samples/kprobes/kprobe_example.c 		p->symbol_name, p->addr, regs->cp0_status);
regs               74 samples/kprobes/kprobe_example.c 		p->symbol_name, p->addr, (long)regs->pstate);
regs               78 samples/kprobes/kprobe_example.c 		p->symbol_name, p->addr, regs->flags);
regs               87 samples/kprobes/kprobe_example.c static int handler_fault(struct kprobe *p, struct pt_regs *regs, int trapnr)
regs               40 samples/kprobes/kretprobe_example.c static int entry_handler(struct kretprobe_instance *ri, struct pt_regs *regs)
regs               57 samples/kprobes/kretprobe_example.c static int ret_handler(struct kretprobe_instance *ri, struct pt_regs *regs)
regs               59 samples/kprobes/kretprobe_example.c 	unsigned long retval = regs_return_value(regs);
regs              403 samples/vfio-mdev/mbochs.c 	char *regs = (void *)&mdev_state->edid_regs;
regs              416 samples/vfio-mdev/mbochs.c 			memcpy(regs + offset, buf, count);
regs              423 samples/vfio-mdev/mbochs.c 		memcpy(buf, regs + offset, count);
regs              582 sound/aoa/codecs/onyx.c 	u8 regs[sizeof(initial_values)];
regs              585 sound/aoa/codecs/onyx.c 		memcpy(regs, initial_values, sizeof(initial_values));
regs              590 sound/aoa/codecs/onyx.c 		regs[3] = val;
regs              593 sound/aoa/codecs/onyx.c 			regs[i] = onyx->cache[register_map[i]-FIRSTREGISTER];
regs              597 sound/aoa/codecs/onyx.c 		if (onyx_write_register(onyx, register_map[i], regs[i]))
regs               51 sound/atmel/ac97c.c 	void __iomem			*regs;
regs               60 sound/atmel/ac97c.c 	__raw_writel((val), (chip)->regs + AC97C_##reg)
regs               62 sound/atmel/ac97c.c 	__raw_readl((chip)->regs + AC97C_##reg)
regs              272 sound/atmel/ac97c.c 	writel(runtime->dma_addr, chip->regs + ATMEL_PDC_TPR);
regs              273 sound/atmel/ac97c.c 	writel(block_size / 2, chip->regs + ATMEL_PDC_TCR);
regs              274 sound/atmel/ac97c.c 	writel(runtime->dma_addr + block_size, chip->regs + ATMEL_PDC_TNPR);
regs              275 sound/atmel/ac97c.c 	writel(block_size / 2, chip->regs + ATMEL_PDC_TNCR);
regs              354 sound/atmel/ac97c.c 	writel(runtime->dma_addr, chip->regs + ATMEL_PDC_RPR);
regs              355 sound/atmel/ac97c.c 	writel(block_size / 2, chip->regs + ATMEL_PDC_RCR);
regs              356 sound/atmel/ac97c.c 	writel(runtime->dma_addr + block_size, chip->regs + ATMEL_PDC_RNPR);
regs              357 sound/atmel/ac97c.c 	writel(block_size / 2, chip->regs + ATMEL_PDC_RNCR);
regs              389 sound/atmel/ac97c.c 	writel(ptcr, chip->regs + ATMEL_PDC_PTCR);
regs              400 sound/atmel/ac97c.c 	ptcr = readl(chip->regs + ATMEL_PDC_PTSR);
regs              421 sound/atmel/ac97c.c 	writel(ptcr, chip->regs + ATMEL_PDC_PTCR);
regs              433 sound/atmel/ac97c.c 	bytes = readl(chip->regs + ATMEL_PDC_TPR);
regs              450 sound/atmel/ac97c.c 	bytes = readl(chip->regs + ATMEL_PDC_RPR);
regs              513 sound/atmel/ac97c.c 			writel(runtime->dma_addr + offset, chip->regs + ATMEL_PDC_TNPR);
regs              514 sound/atmel/ac97c.c 			writel(block_size / 2, chip->regs + ATMEL_PDC_TNCR);
regs              531 sound/atmel/ac97c.c 			writel(runtime->dma_addr + offset, chip->regs + ATMEL_PDC_RNPR);
regs              532 sound/atmel/ac97c.c 			writel(block_size / 2, chip->regs + ATMEL_PDC_RNCR);
regs              719 sound/atmel/ac97c.c 	struct resource			*regs;
regs              728 sound/atmel/ac97c.c 	regs = platform_get_resource(pdev, IORESOURCE_MEM, 0);
regs              729 sound/atmel/ac97c.c 	if (!regs) {
regs              775 sound/atmel/ac97c.c 	chip->regs = ioremap(regs->start, resource_size(regs));
regs              777 sound/atmel/ac97c.c 	if (!chip->regs) {
regs              820 sound/atmel/ac97c.c 			chip->regs, irq);
regs              825 sound/atmel/ac97c.c 	iounmap(chip->regs);
regs              873 sound/atmel/ac97c.c 	iounmap(chip->regs);
regs               38 sound/i2c/tea6330t.c 	unsigned char regs[8];
regs              108 sound/i2c/tea6330t.c 	if (tea->regs[TEA6330T_SADDR_VOLUME_LEFT] != 0) {
regs              110 sound/i2c/tea6330t.c 		bytes[count++] = tea->regs[TEA6330T_SADDR_VOLUME_LEFT] = tea->mleft;
regs              112 sound/i2c/tea6330t.c 	if (tea->regs[TEA6330T_SADDR_VOLUME_RIGHT] != 0) {
regs              115 sound/i2c/tea6330t.c 		bytes[count++] = tea->regs[TEA6330T_SADDR_VOLUME_RIGHT] = tea->mright;
regs              138 sound/i2c/tea6330t.c 	ucontrol->value.integer.value[0] = tea->regs[TEA6330T_SADDR_VOLUME_LEFT] == 0 ? 0 : 1;
regs              139 sound/i2c/tea6330t.c 	ucontrol->value.integer.value[1] = tea->regs[TEA6330T_SADDR_VOLUME_RIGHT] == 0 ? 0 : 1;
regs              155 sound/i2c/tea6330t.c 	oval1 = tea->regs[TEA6330T_SADDR_VOLUME_LEFT] == 0 ? 0 : 1;
regs              156 sound/i2c/tea6330t.c 	oval2 = tea->regs[TEA6330T_SADDR_VOLUME_RIGHT] == 0 ? 0 : 1;
regs              158 sound/i2c/tea6330t.c 	tea->regs[TEA6330T_SADDR_VOLUME_LEFT] = val1 ? tea->mleft : 0;
regs              159 sound/i2c/tea6330t.c 	tea->regs[TEA6330T_SADDR_VOLUME_RIGHT] = val2 ? tea->mright : 0;
regs              161 sound/i2c/tea6330t.c 	bytes[1] = tea->regs[TEA6330T_SADDR_VOLUME_LEFT];
regs              162 sound/i2c/tea6330t.c 	bytes[2] = tea->regs[TEA6330T_SADDR_VOLUME_RIGHT];
regs              207 sound/i2c/tea6330t.c 	change = tea->regs[TEA6330T_SADDR_BASS] != val1;
regs              209 sound/i2c/tea6330t.c 	bytes[1] = tea->regs[TEA6330T_SADDR_BASS] = val1;
regs              254 sound/i2c/tea6330t.c 	change = tea->regs[TEA6330T_SADDR_TREBLE] != val1;
regs              256 sound/i2c/tea6330t.c 	bytes[1] = tea->regs[TEA6330T_SADDR_TREBLE] = val1;
regs              304 sound/i2c/tea6330t.c 	tea->regs[TEA6330T_SADDR_FADER] = 0x3f;
regs              305 sound/i2c/tea6330t.c 	tea->regs[TEA6330T_SADDR_AUDIO_SWITCH] = equalizer ? 0 : TEA6330T_EQN;
regs              323 sound/i2c/tea6330t.c 	tea->regs[TEA6330T_SADDR_BASS] = default_bass;
regs              324 sound/i2c/tea6330t.c 	tea->regs[TEA6330T_SADDR_TREBLE] = default_treble;
regs              329 sound/i2c/tea6330t.c 		bytes[idx+1] = tea->regs[idx];
regs              875 sound/isa/sb/sb_mixer.c static void save_mixer(struct snd_sb *chip, unsigned char *regs, int num_regs)
regs              881 sound/isa/sb/sb_mixer.c 		*val++ = snd_sbmixer_read(chip, *regs++);
regs              884 sound/isa/sb/sb_mixer.c static void restore_mixer(struct snd_sb *chip, unsigned char *regs, int num_regs)
regs              890 sound/isa/sb/sb_mixer.c 		snd_sbmixer_write(chip, *regs++, *val++);
regs               87 sound/mips/hal2.c #define H2_INDIRECT_WAIT(regs)	while (hal2_read(&regs->isr) & H2_ISR_TSTATUS);
regs              106 sound/mips/hal2.c 	struct hal2_ctl_regs *regs = hal2->ctl_regs;
regs              108 sound/mips/hal2.c 	hal2_write(H2_READ_ADDR(addr), &regs->iar);
regs              109 sound/mips/hal2.c 	H2_INDIRECT_WAIT(regs);
regs              110 sound/mips/hal2.c 	ret = hal2_read(&regs->idr0) & 0xffff;
regs              111 sound/mips/hal2.c 	hal2_write(H2_READ_ADDR(addr) | 0x1, &regs->iar);
regs              112 sound/mips/hal2.c 	H2_INDIRECT_WAIT(regs);
regs              113 sound/mips/hal2.c 	ret |= (hal2_read(&regs->idr0) & 0xffff) << 16;
regs              119 sound/mips/hal2.c 	struct hal2_ctl_regs *regs = hal2->ctl_regs;
regs              121 sound/mips/hal2.c 	hal2_write(val, &regs->idr0);
regs              122 sound/mips/hal2.c 	hal2_write(0, &regs->idr1);
regs              123 sound/mips/hal2.c 	hal2_write(0, &regs->idr2);
regs              124 sound/mips/hal2.c 	hal2_write(0, &regs->idr3);
regs              125 sound/mips/hal2.c 	hal2_write(H2_WRITE_ADDR(addr), &regs->iar);
regs              126 sound/mips/hal2.c 	H2_INDIRECT_WAIT(regs);
regs              131 sound/mips/hal2.c 	struct hal2_ctl_regs *regs = hal2->ctl_regs;
regs              133 sound/mips/hal2.c 	hal2_write(val & 0xffff, &regs->idr0);
regs              134 sound/mips/hal2.c 	hal2_write(val >> 16, &regs->idr1);
regs              135 sound/mips/hal2.c 	hal2_write(0, &regs->idr2);
regs              136 sound/mips/hal2.c 	hal2_write(0, &regs->idr3);
regs              137 sound/mips/hal2.c 	hal2_write(H2_WRITE_ADDR(addr), &regs->iar);
regs              138 sound/mips/hal2.c 	H2_INDIRECT_WAIT(regs);
regs              143 sound/mips/hal2.c 	struct hal2_ctl_regs *regs = hal2->ctl_regs;
regs              145 sound/mips/hal2.c 	hal2_write(H2_READ_ADDR(addr), &regs->iar);
regs              146 sound/mips/hal2.c 	H2_INDIRECT_WAIT(regs);
regs              147 sound/mips/hal2.c 	hal2_write((hal2_read(&regs->idr0) & 0xffff) | bit, &regs->idr0);
regs              148 sound/mips/hal2.c 	hal2_write(0, &regs->idr1);
regs              149 sound/mips/hal2.c 	hal2_write(0, &regs->idr2);
regs              150 sound/mips/hal2.c 	hal2_write(0, &regs->idr3);
regs              151 sound/mips/hal2.c 	hal2_write(H2_WRITE_ADDR(addr), &regs->iar);
regs              152 sound/mips/hal2.c 	H2_INDIRECT_WAIT(regs);
regs              157 sound/mips/hal2.c 	struct hal2_ctl_regs *regs = hal2->ctl_regs;
regs              159 sound/mips/hal2.c 	hal2_write(H2_READ_ADDR(addr), &regs->iar);
regs              160 sound/mips/hal2.c 	H2_INDIRECT_WAIT(regs);
regs              161 sound/mips/hal2.c 	hal2_write((hal2_read(&regs->idr0) & 0xffff) & ~bit, &regs->idr0);
regs              162 sound/mips/hal2.c 	hal2_write(0, &regs->idr1);
regs              163 sound/mips/hal2.c 	hal2_write(0, &regs->idr2);
regs              164 sound/mips/hal2.c 	hal2_write(0, &regs->idr3);
regs              165 sound/mips/hal2.c 	hal2_write(H2_WRITE_ADDR(addr), &regs->iar);
regs              166 sound/mips/hal2.c 	H2_INDIRECT_WAIT(regs);
regs              308 sound/pci/ac97/ac97_codec.c 		ac97->regs[reg] = ac97->bus->ops->read(ac97, reg);
regs              311 sound/pci/ac97/ac97_codec.c 	return ac97->regs[reg];
regs              331 sound/pci/ac97/ac97_codec.c 	ac97->regs[reg] = value;
regs              358 sound/pci/ac97/ac97_codec.c 	change = ac97->regs[reg] != value;
regs              360 sound/pci/ac97/ac97_codec.c 		ac97->regs[reg] = value;
regs              408 sound/pci/ac97/ac97_codec.c 		ac97->regs[reg] = new;
regs             1331 sound/pci/ac97/ac97_codec.c 	ac97->regs[AC97_CENTER_LFE_MASTER] = AC97_MUTE_MASK_STEREO;
regs             1344 sound/pci/ac97/ac97_codec.c 		snd_ac97_write_cache(ac97, AC97_CENTER_LFE_MASTER, ac97->regs[AC97_CENTER_LFE_MASTER] | max);
regs             1358 sound/pci/ac97/ac97_codec.c 		snd_ac97_write_cache(ac97, AC97_CENTER_LFE_MASTER, ac97->regs[AC97_CENTER_LFE_MASTER] | max << 8);
regs             2309 sound/pci/ac97/ac97_codec.c 	power = ac97->regs[AC97_EXTENDED_STATUS];
regs             2319 sound/pci/ac97/ac97_codec.c 		power = ac97->regs[AC97_POWERDOWN] & ~AC97_PD_EAPD;
regs             2321 sound/pci/ac97/ac97_codec.c 		power = ac97->regs[AC97_POWERDOWN] | AC97_PD_EAPD;
regs             2426 sound/pci/ac97/ac97_codec.c 		if (ac97->regs[AC97_POWERDOWN] & AC97_PD_PR2) {
regs             2444 sound/pci/ac97/ac97_codec.c 		if (! (ac97->regs[AC97_POWERDOWN] & AC97_PD_PR2)) {
regs             2491 sound/pci/ac97/ac97_codec.c 			snd_ac97_write(ac97, i, ac97->regs[i]);
regs             2503 sound/pci/ac97/ac97_codec.c 		if (ac97->regs[AC97_EXTENDED_STATUS] & AC97_EA_SPDIF) {
regs             2506 sound/pci/ac97/ac97_codec.c 			snd_ac97_write(ac97, AC97_EXTENDED_STATUS, ac97->regs[AC97_EXTENDED_STATUS]);
regs             2508 sound/pci/ac97/ac97_codec.c 				snd_ac97_write(ac97, AC97_CSR_SPDIF, ac97->regs[AC97_CSR_SPDIF]);
regs             2510 sound/pci/ac97/ac97_codec.c 				snd_ac97_write(ac97, AC97_SPDIF, ac97->regs[AC97_SPDIF]);
regs             2546 sound/pci/ac97/ac97_codec.c 	snd_ac97_write(ac97, AC97_POWERDOWN, ac97->regs[AC97_POWERDOWN]);
regs             2766 sound/pci/ac97/ac97_codec.c 				     (ac97->regs[AC97_MASTER] & mask) == mask ?
regs             2802 sound/pci/ac97/ac97_codec.c 				     (ac97->regs[AC97_MASTER] & mask) == mask ?
regs              231 sound/pci/ac97/ac97_patch.c 	val = ac97->regs[AC97_YMF7X3_3D_MODE_SEL];
regs              276 sound/pci/ac97/ac97_patch.c 	val = ac97->regs[AC97_YMF7X3_DIT_CTRL];
regs              377 sound/pci/ac97/ac97_patch.c 	val = ac97->regs[AC97_YMF7X3_DIT_CTRL];
regs             1076 sound/pci/ac97/ac97_patch.c 	val = ac97->regs[AC97_SIGMATEL_OUTSEL] >> shift;
regs             1115 sound/pci/ac97/ac97_patch.c 	val = ac97->regs[AC97_SIGMATEL_INSEL];
regs             1142 sound/pci/ac97/ac97_patch.c 	ucontrol->value.enumerated.item[0] = ac97->regs[AC97_SIGMATEL_IOMISC] & 3;
regs             1214 sound/pci/ac97/ac97_patch.c 	static unsigned short regs[4] = {
regs             1246 sound/pci/ac97/ac97_patch.c 		snd_ac97_write_cache(ac97, regs[i], pregs[i]);
regs             1372 sound/pci/ac97/ac97_patch.c 			snd_ac97_write(ac97, reg, ac97->regs[reg]);
regs             1417 sound/pci/ac97/ac97_patch.c 			snd_ac97_write(ac97, i, ac97->regs[i]);
regs             1760 sound/pci/ac97/ac97_patch.c 	val = ac97->regs[AC97_AD_SERIAL_CFG];
regs             1911 sound/pci/ac97/ac97_patch.c 	val = ac97->regs[AC97_AD_MISC];
regs             1944 sound/pci/ac97/ac97_patch.c 	val = ac97->regs[AC97_AD_MISC];
regs             2100 sound/pci/ac97/ac97_patch.c 	val = (ac97->regs[AC97_AD_MISC] & AC97_AD198X_VREF_MASK)
regs             2220 sound/pci/ac97/ac97_patch.c 	val = ac97->regs[AC97_AD_MISC3];
regs             2231 sound/pci/ac97/ac97_patch.c 	int sprd = (ac97->regs[AC97_AD_MISC] & AC97_AD1986_SPRD) != 0;
regs             2256 sound/pci/ac97/ac97_patch.c 	val = ac97->regs[AC97_AD_MISC];
regs             2267 sound/pci/ac97/ac97_patch.c 	int sprd = (ac97->regs[AC97_AD_MISC3] & AC97_AD1986_LOSEL) != 0;
regs             2316 sound/pci/ac97/ac97_patch.c 	unsigned short reg = ac97->regs[AC97_AD_MISC2];
regs             2704 sound/pci/ac97/ac97_patch.c 	val = ac97->regs[AC97_ALC650_MULTICH];
regs             2992 sound/pci/ac97/ac97_patch.c 	val = ac97->regs[AC97_CM9739_SPDIF_CTRL];
regs             3165 sound/pci/ac97/ac97_patch.c 	if (ac97->regs[AC97_CM9761_FUNC] & 0x1)
regs             3167 sound/pci/ac97/ac97_patch.c 	else if (ac97->regs[AC97_CM9761_SPDIF_CTRL] & 0x2)
regs              259 sound/pci/ac97/ac97_pcm.c 		if ((ac97->regs[AC97_EXTENDED_STATUS] & AC97_EA_VRM) == 0)	/* MIC VRA */
regs              265 sound/pci/ac97/ac97_pcm.c 		if ((ac97->regs[AC97_EXTENDED_STATUS] & AC97_EA_VRA) == 0)	/* VRA */
regs              316 sound/pci/ac97/ac97_pcm.c 			es = ac97->regs[AC97_EXTENDED_ID] &= ~AC97_EI_DACS_SLOT_MASK;
regs              154 sound/pci/ac97/ac97_proc.c 	snd_iprintf(buffer, "Mic gain         : %s [%s]\n", val & 0x0040 ? "+20dB" : "+0dB", ac97->regs[AC97_MIC] & 0x0040 ? "+20dB" : "+0dB");
regs               37 sound/pci/ak4531_codec.c 		       idx, ak4531->regs[idx]);
regs               81 sound/pci/ak4531_codec.c 	val = (ak4531->regs[reg] >> shift) & mask;
regs              106 sound/pci/ak4531_codec.c 	val = (ak4531->regs[reg] & ~(mask << shift)) | val;
regs              107 sound/pci/ak4531_codec.c 	change = val != ak4531->regs[reg];
regs              108 sound/pci/ak4531_codec.c 	ak4531->write(ak4531, reg, ak4531->regs[reg] = val);
regs              150 sound/pci/ak4531_codec.c 	left = (ak4531->regs[left_reg] >> left_shift) & mask;
regs              151 sound/pci/ak4531_codec.c 	right = (ak4531->regs[right_reg] >> right_shift) & mask;
regs              184 sound/pci/ak4531_codec.c 		left = (ak4531->regs[left_reg] & ~((mask << left_shift) | (mask << right_shift))) | left | right;
regs              185 sound/pci/ak4531_codec.c 		change = left != ak4531->regs[left_reg];
regs              186 sound/pci/ak4531_codec.c 		ak4531->write(ak4531, left_reg, ak4531->regs[left_reg] = left);
regs              188 sound/pci/ak4531_codec.c 		left = (ak4531->regs[left_reg] & ~(mask << left_shift)) | left;
regs              189 sound/pci/ak4531_codec.c 		right = (ak4531->regs[right_reg] & ~(mask << right_shift)) | right;
regs              190 sound/pci/ak4531_codec.c 		change = left != ak4531->regs[left_reg] || right != ak4531->regs[right_reg];
regs              191 sound/pci/ak4531_codec.c 		ak4531->write(ak4531, left_reg, ak4531->regs[left_reg] = left);
regs              192 sound/pci/ak4531_codec.c 		ak4531->write(ak4531, right_reg, ak4531->regs[right_reg] = right);
regs              222 sound/pci/ak4531_codec.c 	ucontrol->value.integer.value[0] = (ak4531->regs[reg1] >> left_shift) & 1;
regs              223 sound/pci/ak4531_codec.c 	ucontrol->value.integer.value[1] = (ak4531->regs[reg2] >> left_shift) & 1;
regs              224 sound/pci/ak4531_codec.c 	ucontrol->value.integer.value[2] = (ak4531->regs[reg1] >> right_shift) & 1;
regs              225 sound/pci/ak4531_codec.c 	ucontrol->value.integer.value[3] = (ak4531->regs[reg2] >> right_shift) & 1;
regs              241 sound/pci/ak4531_codec.c 	val1 = ak4531->regs[reg1] & ~((1 << left_shift) | (1 << right_shift));
regs              242 sound/pci/ak4531_codec.c 	val2 = ak4531->regs[reg2] & ~((1 << left_shift) | (1 << right_shift));
regs              247 sound/pci/ak4531_codec.c 	change = val1 != ak4531->regs[reg1] || val2 != ak4531->regs[reg2];
regs              248 sound/pci/ak4531_codec.c 	ak4531->write(ak4531, reg1, ak4531->regs[reg1] = val1);
regs              249 sound/pci/ak4531_codec.c 	ak4531->write(ak4531, reg2, ak4531->regs[reg2] = val2);
regs              398 sound/pci/ak4531_codec.c 		ak4531->write(ak4531, idx, ak4531->regs[idx] = snd_ak4531_initial_map[idx]);	/* recording source is mixer */
regs              445 sound/pci/ak4531_codec.c 		ak4531->write(ak4531, idx, ak4531->regs[idx]);
regs              462 sound/pci/ak4531_codec.c 		    ak4531->regs[AK4531_AD_IN] & 1 ? "external" : "mixer",
regs              463 sound/pci/ak4531_codec.c 		    ak4531->regs[AK4531_MIC_GAIN] & 1 ? "+30dB" : "+0dB");
regs              167 sound/pci/ali5451/ali5451.c 	} regs;
regs              209 sound/pci/ali5451/ali5451.c 	u32 regs[ALI_GLOBAL_REGS];
regs              336 sound/pci/ali5451/ali5451.c 	port = codec->chregs.regs.ac97write;
regs              368 sound/pci/ali5451/ali5451.c 	port = codec->chregs.regs.ac97read;
regs              510 sound/pci/ali5451/ali5451.c 	pchregs->data.ainten  = inl(ALI_REG(codec, pchregs->regs.ainten));
regs              512 sound/pci/ali5451/ali5451.c 	outl(pchregs->data.ainten, ALI_REG(codec, pchregs->regs.ainten));
regs              608 sound/pci/ali5451/ali5451.c 	outl(mask, ALI_REG(codec, codec->chregs.regs.stop));
regs              877 sound/pci/ali5451/ali5451.c 	outl(mask,ALI_REG(codec,pchregs->regs.aint));
regs              898 sound/pci/ali5451/ali5451.c 		pchregs->data.aint = inl(ALI_REG(codec, pchregs->regs.aint));
regs             1876 sound/pci/ali5451/ali5451.c 	im->regs[ALI_MISCINT >> 2] = inl(ALI_REG(chip, ALI_MISCINT));
regs             1878 sound/pci/ali5451/ali5451.c 	im->regs[ALI_STOP >> 2] = inl(ALI_REG(chip, ALI_STOP));
regs             1886 sound/pci/ali5451/ali5451.c 		im->regs[i] = inl(ALI_REG(chip, i*4));
regs             1925 sound/pci/ali5451/ali5451.c 		outl(im->regs[i], ALI_REG(chip, i*4));
regs             1929 sound/pci/ali5451/ali5451.c 	outl(im->regs[ALI_START >> 2], ALI_REG(chip, ALI_START));
regs             1931 sound/pci/ali5451/ali5451.c 	outl(im->regs[ALI_MISCINT >> 2], ALI_REG(chip, ALI_MISCINT));
regs             2138 sound/pci/ali5451/ali5451.c 		codec->chregs.regs.ac97read = ALI_AC97_WRITE;
regs             2140 sound/pci/ali5451/ali5451.c 		codec->chregs.regs.ac97read = ALI_AC97_READ;
regs             2141 sound/pci/ali5451/ali5451.c 	codec->chregs.regs.ac97write = ALI_AC97_WRITE;
regs             2143 sound/pci/ali5451/ali5451.c 	codec->chregs.regs.start  = ALI_START;
regs             2144 sound/pci/ali5451/ali5451.c 	codec->chregs.regs.stop   = ALI_STOP;
regs             2145 sound/pci/ali5451/ali5451.c 	codec->chregs.regs.aint   = ALI_AINT;
regs             2146 sound/pci/ali5451/ali5451.c 	codec->chregs.regs.ainten = ALI_AINTEN;
regs               65 sound/pci/hda/hda_tegra.c 	void __iomem *regs;
regs               85 sound/pci/hda/hda_tegra.c 	v = readl(hda->regs + HDA_IPFS_CONFIG);
regs               87 sound/pci/hda/hda_tegra.c 	writel(v, hda->regs + HDA_IPFS_CONFIG);
regs               90 sound/pci/hda/hda_tegra.c 	v = readl(hda->regs + HDA_CFG_CMD);
regs               94 sound/pci/hda/hda_tegra.c 	writel(v, hda->regs + HDA_CFG_CMD);
regs               96 sound/pci/hda/hda_tegra.c 	writel(HDA_BAR0_INIT_PROGRAM, hda->regs + HDA_CFG_BAR0);
regs               97 sound/pci/hda/hda_tegra.c 	writel(HDA_BAR0_FINAL_PROGRAM, hda->regs + HDA_CFG_BAR0);
regs               98 sound/pci/hda/hda_tegra.c 	writel(HDA_FPCI_BAR0_START, hda->regs + HDA_IPFS_FPCI_BAR0);
regs              100 sound/pci/hda/hda_tegra.c 	v = readl(hda->regs + HDA_IPFS_INTR_MASK);
regs              102 sound/pci/hda/hda_tegra.c 	writel(v, hda->regs + HDA_IPFS_INTR_MASK);
regs              243 sound/pci/hda/hda_tegra.c 	hda->regs = devm_ioremap_resource(dev, res);
regs              244 sound/pci/hda/hda_tegra.c 	if (IS_ERR(hda->regs))
regs              245 sound/pci/hda/hda_tegra.c 		return PTR_ERR(hda->regs);
regs              247 sound/pci/hda/hda_tegra.c 	bus->remap_addr = hda->regs + HDA_BAR0;
regs               63 sound/pci/ice1712/maya44.c 	unsigned short regs[WM8776_NUM_REGS];
regs               86 sound/pci/ice1712/maya44.c 	wm->regs[reg] = val;
regs               96 sound/pci/ice1712/maya44.c 	val |= wm->regs[reg] & ~mask;
regs               97 sound/pci/ice1712/maya44.c 	if (val != wm->regs[reg]) {
regs              111 sound/pci/ice1712/maya44.c 	unsigned char regs[2];		/* left and right registers */
regs              122 sound/pci/ice1712/maya44.c 		.regs = { WM8776_REG_HEADPHONE_L, WM8776_REG_HEADPHONE_R },
regs              130 sound/pci/ice1712/maya44.c 		.regs = { WM8776_REG_DAC_ATTEN_L, WM8776_REG_DAC_ATTEN_R },
regs              138 sound/pci/ice1712/maya44.c 		.regs = { WM8776_REG_ADC_ATTEN_L, WM8776_REG_ADC_ATTEN_R },
regs              208 sound/pci/ice1712/maya44.c 		changed |= wm8776_write_bits(chip->ice, wm, vol->regs[ch],
regs              182 sound/pci/ice1712/psc724.c 	u16 power = spec->wm8776.regs[WM8776_REG_PWRDOWN] & ~WM8776_PWR_HPPD;
regs               21 sound/pci/ice1712/wm8766.c 		wm->regs[addr] = data;
regs              161 sound/pci/ice1712/wm8766.c 		snd_wm8766_write(wm, i, wm->regs[i]);
regs              166 sound/pci/ice1712/wm8766.c 	u16 val = wm->regs[WM8766_REG_IFCTRL] & ~WM8766_IF_MASK;
regs              174 sound/pci/ice1712/wm8766.c 	u16 val = wm->regs[WM8766_REG_DACR1];
regs              215 sound/pci/ice1712/wm8766.c 		val1 = wm->regs[wm->ctl[n].reg1] & wm->ctl[n].mask1;
regs              218 sound/pci/ice1712/wm8766.c 			val2 = wm->regs[wm->ctl[n].reg2] & wm->ctl[n].mask2;
regs              253 sound/pci/ice1712/wm8766.c 		val = wm->regs[wm->ctl[n].reg1] & ~wm->ctl[n].mask1;
regs              265 sound/pci/ice1712/wm8766.c 			val = wm->regs[wm->ctl[n].reg2] & ~wm->ctl[n].mask2;
regs              136 sound/pci/ice1712/wm8766.h 	u16 regs[WM8766_REG_COUNT];	/* 9-bit registers */
regs               24 sound/pci/ice1712/wm8776.c 		wm->regs[addr] = data;
regs               84 sound/pci/ice1712/wm8776.c 	u16 alc1 = wm->regs[WM8776_REG_ALCCTRL1] & ~WM8776_ALC1_LCT_MASK;
regs               85 sound/pci/ice1712/wm8776.c 	u16 alc2 = wm->regs[WM8776_REG_ALCCTRL2] & ~WM8776_ALC2_LCEN;
regs              438 sound/pci/ice1712/wm8776.c 		snd_wm8776_write(wm, i, wm->regs[i]);
regs              448 sound/pci/ice1712/wm8776.c 	u16 val = wm->regs[WM8776_REG_DACRVOL];
regs              489 sound/pci/ice1712/wm8776.c 		val1 = wm->regs[wm->ctl[n].reg1] & wm->ctl[n].mask1;
regs              492 sound/pci/ice1712/wm8776.c 			val2 = wm->regs[wm->ctl[n].reg2] & wm->ctl[n].mask2;
regs              527 sound/pci/ice1712/wm8776.c 		val = wm->regs[wm->ctl[n].reg1] & ~wm->ctl[n].mask1;
regs              539 sound/pci/ice1712/wm8776.c 			val = wm->regs[wm->ctl[n].reg2] & ~wm->ctl[n].mask2;
regs              198 sound/pci/ice1712/wm8776.h 	u16 regs[WM8776_REG_COUNT];	/* 9-bit registers */
regs             1656 sound/pci/maestro3.c 		snd_mpu401_uart_interrupt(irq, chip->rmidi->private_data, regs);
regs              435 sound/pci/trident/trident_main.c 	unsigned int regs[5];
regs              437 sound/pci/trident/trident_main.c 	regs[1] = voice->LBA;
regs              438 sound/pci/trident/trident_main.c 	regs[4] = (voice->GVSel << 31) |
regs              447 sound/pci/trident/trident_main.c 		regs[4] |= voice->number > 31 ?
regs              451 sound/pci/trident/trident_main.c 		regs[0] = (voice->CSO << 16) | ((voice->Alpha & 0x00000fff) << 4) |
regs              453 sound/pci/trident/trident_main.c 		regs[2] = (voice->ESO << 16) | (voice->Delta & 0x0ffff);
regs              454 sound/pci/trident/trident_main.c 		regs[3] = (voice->Attribute << 16) | FmcRvolCvol;
regs              457 sound/pci/trident/trident_main.c 		regs[4] |= ((voice->Vol & 0x000003fc) << (16-2)) |
regs              459 sound/pci/trident/trident_main.c 		regs[0] = (voice->CSO << 16) | ((voice->Alpha & 0x00000fff) << 4) |
regs              461 sound/pci/trident/trident_main.c 		regs[2] = (voice->ESO << 16) | (voice->Delta & 0x0ffff);
regs              462 sound/pci/trident/trident_main.c 		regs[3] = FmcRvolCvol;
regs              465 sound/pci/trident/trident_main.c 		regs[4] |= ((voice->Vol & 0x000003fc) << (16-2)) |
regs              467 sound/pci/trident/trident_main.c 		regs[0] = (voice->Delta << 24) | (voice->CSO & 0x00ffffff);
regs              468 sound/pci/trident/trident_main.c 		regs[2] = ((voice->Delta << 16) & 0xff000000) |
regs              470 sound/pci/trident/trident_main.c 		regs[3] = (voice->Alpha << 20) |
regs              479 sound/pci/trident/trident_main.c 	outl(regs[0], TRID_REG(trident, CH_START + 0));
regs              480 sound/pci/trident/trident_main.c 	outl(regs[1], TRID_REG(trident, CH_START + 4));
regs              481 sound/pci/trident/trident_main.c 	outl(regs[2], TRID_REG(trident, CH_START + 8));
regs              482 sound/pci/trident/trident_main.c 	outl(regs[3], TRID_REG(trident, CH_START + 12));
regs              483 sound/pci/trident/trident_main.c 	outl(regs[4], TRID_REG(trident, CH_START + 16));
regs              488 sound/pci/trident/trident_main.c 	       regs[0], inl(TRID_REG(trident, CH_START + 0)));
regs              490 sound/pci/trident/trident_main.c 	       regs[1], inl(TRID_REG(trident, CH_START + 4)));
regs              492 sound/pci/trident/trident_main.c 	       regs[2], inl(TRID_REG(trident, CH_START + 8)));
regs              494 sound/pci/trident/trident_main.c 	       regs[3], inl(TRID_REG(trident, CH_START + 12)));
regs              496 sound/pci/trident/trident_main.c 	       regs[4], inl(TRID_REG(trident, CH_START + 16)));
regs              109 sound/ppc/tumbler.c static int send_init_client(struct pmac_keywest *i2c, unsigned int *regs)
regs              111 sound/ppc/tumbler.c 	while (*regs > 0) {
regs              115 sound/ppc/tumbler.c 							regs[0], regs[1]);
regs              123 sound/ppc/tumbler.c 		regs += 2;
regs              131 sound/ppc/tumbler.c 	static unsigned int regs[] = {
regs              137 sound/ppc/tumbler.c 	return send_init_client(i2c, regs);
regs              142 sound/ppc/tumbler.c 	static unsigned int regs[] = {
regs              152 sound/ppc/tumbler.c 	return send_init_client(i2c, regs);
regs               69 sound/soc/atmel/atmel-pcm-dma.c 		ssc_writex(prtd->ssc->regs, SSC_CR, prtd->mask->ssc_disable);
regs               73 sound/soc/atmel/atmel-pcm-dma.c 		ssc_readx(prtd->ssc->regs, SSC_RHR);
regs               74 sound/soc/atmel/atmel-pcm-dma.c 		ssc_readx(prtd->ssc->regs, SSC_SR);
regs              166 sound/soc/atmel/atmel-pcm-pdc.c 		ssc_writex(params->ssc->regs, ATMEL_PDC_PTCR,
regs              172 sound/soc/atmel/atmel-pcm-pdc.c 		ssc_writex(params->ssc->regs, params->pdc->xpr,
regs              174 sound/soc/atmel/atmel-pcm-pdc.c 		ssc_writex(params->ssc->regs, params->pdc->xcr,
regs              176 sound/soc/atmel/atmel-pcm-pdc.c 		ssc_writex(params->ssc->regs, ATMEL_PDC_PTCR,
regs              186 sound/soc/atmel/atmel-pcm-pdc.c 		ssc_writex(params->ssc->regs, params->pdc->xnpr,
regs              188 sound/soc/atmel/atmel-pcm-pdc.c 		ssc_writex(params->ssc->regs, params->pdc->xncr,
regs              234 sound/soc/atmel/atmel-pcm-pdc.c 		ssc_writex(params->ssc->regs, SSC_PDC_PTCR,
regs              247 sound/soc/atmel/atmel-pcm-pdc.c 	ssc_writex(params->ssc->regs, SSC_IDR,
regs              249 sound/soc/atmel/atmel-pcm-pdc.c 	ssc_writex(params->ssc->regs, ATMEL_PDC_PTCR,
regs              270 sound/soc/atmel/atmel-pcm-pdc.c 		ssc_writex(params->ssc->regs, params->pdc->xpr,
regs              272 sound/soc/atmel/atmel-pcm-pdc.c 		ssc_writex(params->ssc->regs, params->pdc->xcr,
regs              276 sound/soc/atmel/atmel-pcm-pdc.c 		ssc_writex(params->ssc->regs, params->pdc->xnpr,
regs              278 sound/soc/atmel/atmel-pcm-pdc.c 		ssc_writex(params->ssc->regs, params->pdc->xncr,
regs              285 sound/soc/atmel/atmel-pcm-pdc.c 			ssc_readx(params->ssc->regs, params->pdc->xpr),
regs              286 sound/soc/atmel/atmel-pcm-pdc.c 			ssc_readx(params->ssc->regs, params->pdc->xcr),
regs              287 sound/soc/atmel/atmel-pcm-pdc.c 			ssc_readx(params->ssc->regs, params->pdc->xnpr),
regs              288 sound/soc/atmel/atmel-pcm-pdc.c 			ssc_readx(params->ssc->regs, params->pdc->xncr));
regs              290 sound/soc/atmel/atmel-pcm-pdc.c 		ssc_writex(params->ssc->regs, SSC_IER,
regs              292 sound/soc/atmel/atmel-pcm-pdc.c 		ssc_writex(params->ssc->regs, SSC_PDC_PTCR,
regs              296 sound/soc/atmel/atmel-pcm-pdc.c 			ssc_readx(params->ssc->regs, SSC_SR),
regs              297 sound/soc/atmel/atmel-pcm-pdc.c 			ssc_readx(params->ssc->regs, SSC_IER));
regs              303 sound/soc/atmel/atmel-pcm-pdc.c 		ssc_writex(params->ssc->regs, ATMEL_PDC_PTCR,
regs              309 sound/soc/atmel/atmel-pcm-pdc.c 		ssc_writex(params->ssc->regs, ATMEL_PDC_PTCR,
regs              329 sound/soc/atmel/atmel-pcm-pdc.c 	ptr = (dma_addr_t) ssc_readx(params->ssc->regs, params->pdc->xpr);
regs              147 sound/soc/atmel/atmel_ssc_dai.c 	ssc_sr = (unsigned long)ssc_readl(ssc_p->ssc->regs, SR)
regs              148 sound/soc/atmel/atmel_ssc_dai.c 			& (unsigned long)ssc_readl(ssc_p->ssc->regs, IMR);
regs              279 sound/soc/atmel/atmel_ssc_dai.c 		ssc_readl(ssc_p->ssc->regs, SR));
regs              288 sound/soc/atmel/atmel_ssc_dai.c 		ssc_writel(ssc_p->ssc->regs, CR, SSC_BIT(CR_SWRST));
regs              360 sound/soc/atmel/atmel_ssc_dai.c 		ssc_writel(ssc_p->ssc->regs, CR, SSC_BIT(CR_SWRST));
regs              669 sound/soc/atmel/atmel_ssc_dai.c 			ssc_writel(ssc_p->ssc->regs, PDC_RPR, 0);
regs              670 sound/soc/atmel/atmel_ssc_dai.c 			ssc_writel(ssc_p->ssc->regs, PDC_RCR, 0);
regs              671 sound/soc/atmel/atmel_ssc_dai.c 			ssc_writel(ssc_p->ssc->regs, PDC_RNPR, 0);
regs              672 sound/soc/atmel/atmel_ssc_dai.c 			ssc_writel(ssc_p->ssc->regs, PDC_RNCR, 0);
regs              674 sound/soc/atmel/atmel_ssc_dai.c 			ssc_writel(ssc_p->ssc->regs, PDC_TPR, 0);
regs              675 sound/soc/atmel/atmel_ssc_dai.c 			ssc_writel(ssc_p->ssc->regs, PDC_TCR, 0);
regs              676 sound/soc/atmel/atmel_ssc_dai.c 			ssc_writel(ssc_p->ssc->regs, PDC_TNPR, 0);
regs              677 sound/soc/atmel/atmel_ssc_dai.c 			ssc_writel(ssc_p->ssc->regs, PDC_TNCR, 0);
regs              694 sound/soc/atmel/atmel_ssc_dai.c 	ssc_writel(ssc_p->ssc->regs, CMR, cmr_div);
regs              697 sound/soc/atmel/atmel_ssc_dai.c 	ssc_writel(ssc_p->ssc->regs, RCMR, rcmr);
regs              698 sound/soc/atmel/atmel_ssc_dai.c 	ssc_writel(ssc_p->ssc->regs, RFMR, rfmr);
regs              701 sound/soc/atmel/atmel_ssc_dai.c 	ssc_writel(ssc_p->ssc->regs, TCMR, tcmr);
regs              702 sound/soc/atmel/atmel_ssc_dai.c 	ssc_writel(ssc_p->ssc->regs, TFMR, tfmr);
regs              724 sound/soc/atmel/atmel_ssc_dai.c 	ssc_writel(ssc_p->ssc->regs, CR, dma_params->mask->ssc_disable);
regs              725 sound/soc/atmel/atmel_ssc_dai.c 	ssc_writel(ssc_p->ssc->regs, IDR, dma_params->mask->ssc_error);
regs              729 sound/soc/atmel/atmel_ssc_dai.c 			ssc_readl(ssc_p->ssc->regs, SR));
regs              752 sound/soc/atmel/atmel_ssc_dai.c 		ssc_writel(ssc_p->ssc->regs, CR, dma_params->mask->ssc_enable);
regs              755 sound/soc/atmel/atmel_ssc_dai.c 		ssc_writel(ssc_p->ssc->regs, CR, dma_params->mask->ssc_disable);
regs              774 sound/soc/atmel/atmel_ssc_dai.c 	ssc_p->ssc_state.ssc_sr = ssc_readl(ssc_p->ssc->regs, SR);
regs              775 sound/soc/atmel/atmel_ssc_dai.c 	ssc_writel(ssc_p->ssc->regs, CR, SSC_BIT(CR_TXDIS) | SSC_BIT(CR_RXDIS));
regs              778 sound/soc/atmel/atmel_ssc_dai.c 	ssc_p->ssc_state.ssc_imr = ssc_readl(ssc_p->ssc->regs, IMR);
regs              779 sound/soc/atmel/atmel_ssc_dai.c 	ssc_writel(ssc_p->ssc->regs, IDR, ssc_p->ssc_state.ssc_imr);
regs              781 sound/soc/atmel/atmel_ssc_dai.c 	ssc_p->ssc_state.ssc_cmr = ssc_readl(ssc_p->ssc->regs, CMR);
regs              782 sound/soc/atmel/atmel_ssc_dai.c 	ssc_p->ssc_state.ssc_rcmr = ssc_readl(ssc_p->ssc->regs, RCMR);
regs              783 sound/soc/atmel/atmel_ssc_dai.c 	ssc_p->ssc_state.ssc_rfmr = ssc_readl(ssc_p->ssc->regs, RFMR);
regs              784 sound/soc/atmel/atmel_ssc_dai.c 	ssc_p->ssc_state.ssc_tcmr = ssc_readl(ssc_p->ssc->regs, TCMR);
regs              785 sound/soc/atmel/atmel_ssc_dai.c 	ssc_p->ssc_state.ssc_tfmr = ssc_readl(ssc_p->ssc->regs, TFMR);
regs              804 sound/soc/atmel/atmel_ssc_dai.c 	ssc_writel(ssc_p->ssc->regs, TFMR, ssc_p->ssc_state.ssc_tfmr);
regs              805 sound/soc/atmel/atmel_ssc_dai.c 	ssc_writel(ssc_p->ssc->regs, TCMR, ssc_p->ssc_state.ssc_tcmr);
regs              806 sound/soc/atmel/atmel_ssc_dai.c 	ssc_writel(ssc_p->ssc->regs, RFMR, ssc_p->ssc_state.ssc_rfmr);
regs              807 sound/soc/atmel/atmel_ssc_dai.c 	ssc_writel(ssc_p->ssc->regs, RCMR, ssc_p->ssc_state.ssc_rcmr);
regs              808 sound/soc/atmel/atmel_ssc_dai.c 	ssc_writel(ssc_p->ssc->regs, CMR, ssc_p->ssc_state.ssc_cmr);
regs              811 sound/soc/atmel/atmel_ssc_dai.c 	ssc_writel(ssc_p->ssc->regs, IER, ssc_p->ssc_state.ssc_imr);
regs              819 sound/soc/atmel/atmel_ssc_dai.c 	ssc_writel(ssc_p->ssc->regs, CR, cr);
regs              261 sound/soc/bcm/cygnus-ssp.c 		value = readl(aio->cygaud->audio + aio->regs.i2s_stream_cfg);
regs              266 sound/soc/bcm/cygnus-ssp.c 			aio->cygaud->audio + aio->regs.bf_sourcech_grp);
regs              272 sound/soc/bcm/cygnus-ssp.c 		writel(value, aio->cygaud->audio + aio->regs.i2s_stream_cfg);
regs              275 sound/soc/bcm/cygnus-ssp.c 		value = readl(aio->cygaud->audio + aio->regs.bf_sourcech_cfg);
regs              279 sound/soc/bcm/cygnus-ssp.c 		writel(value, aio->cygaud->audio + aio->regs.bf_sourcech_cfg);
regs              283 sound/soc/bcm/cygnus-ssp.c 			aio->regs.i2s_cap_stream_cfg);
regs              287 sound/soc/bcm/cygnus-ssp.c 			aio->regs.i2s_cap_stream_cfg);
regs              292 sound/soc/bcm/cygnus-ssp.c 		value = readl(aio->cygaud->audio + aio->regs.bf_destch_cfg);
regs              297 sound/soc/bcm/cygnus-ssp.c 		writel(value, aio->cygaud->audio + aio->regs.bf_destch_cfg);
regs              318 sound/soc/bcm/cygnus-ssp.c 		value = readl(aio->cygaud->audio + aio->regs.bf_sourcech_cfg);
regs              322 sound/soc/bcm/cygnus-ssp.c 		writel(value, aio->cygaud->audio + aio->regs.bf_sourcech_cfg);
regs              341 sound/soc/bcm/cygnus-ssp.c 	value = readl(aio->cygaud->audio + aio->regs.bf_destch_cfg);
regs              343 sound/soc/bcm/cygnus-ssp.c 	writel(value, aio->cygaud->audio + aio->regs.bf_destch_cfg);
regs              345 sound/soc/bcm/cygnus-ssp.c 	writel(0x1, aio->cygaud->audio + aio->regs.bf_destch_ctrl);
regs              347 sound/soc/bcm/cygnus-ssp.c 	value = readl(aio->cygaud->audio + aio->regs.i2s_cfg);
regs              350 sound/soc/bcm/cygnus-ssp.c 	writel(value, aio->cygaud->audio + aio->regs.i2s_cfg);
regs              352 sound/soc/bcm/cygnus-ssp.c 	value = readl(aio->cygaud->i2s_in + aio->regs.i2s_cap_stream_cfg);
regs              354 sound/soc/bcm/cygnus-ssp.c 	writel(value, aio->cygaud->i2s_in + aio->regs.i2s_cap_stream_cfg);
regs              363 sound/soc/bcm/cygnus-ssp.c 	value = readl(aio->cygaud->i2s_in + aio->regs.i2s_cap_stream_cfg);
regs              365 sound/soc/bcm/cygnus-ssp.c 	writel(value, aio->cygaud->i2s_in + aio->regs.i2s_cap_stream_cfg);
regs              371 sound/soc/bcm/cygnus-ssp.c 		value = readl(aio->cygaud->audio + aio->regs.i2s_cfg);
regs              374 sound/soc/bcm/cygnus-ssp.c 		writel(value, aio->cygaud->audio + aio->regs.i2s_cfg);
regs              377 sound/soc/bcm/cygnus-ssp.c 	writel(0x0, aio->cygaud->audio + aio->regs.bf_destch_ctrl);
regs              379 sound/soc/bcm/cygnus-ssp.c 	value = readl(aio->cygaud->audio + aio->regs.bf_destch_cfg);
regs              381 sound/soc/bcm/cygnus-ssp.c 	writel(value, aio->cygaud->audio + aio->regs.bf_destch_cfg);
regs              391 sound/soc/bcm/cygnus-ssp.c 		value = readl(aio->cygaud->audio + aio->regs.i2s_stream_cfg);
regs              393 sound/soc/bcm/cygnus-ssp.c 		writel(value, aio->cygaud->audio + aio->regs.i2s_stream_cfg);
regs              395 sound/soc/bcm/cygnus-ssp.c 		writel(1, aio->cygaud->audio + aio->regs.bf_sourcech_ctrl);
regs              397 sound/soc/bcm/cygnus-ssp.c 		value = readl(aio->cygaud->audio + aio->regs.i2s_cfg);
regs              400 sound/soc/bcm/cygnus-ssp.c 		writel(value, aio->cygaud->audio + aio->regs.i2s_cfg);
regs              402 sound/soc/bcm/cygnus-ssp.c 		value = readl(aio->cygaud->audio + aio->regs.bf_sourcech_cfg);
regs              404 sound/soc/bcm/cygnus-ssp.c 		writel(value, aio->cygaud->audio + aio->regs.bf_sourcech_cfg);
regs              413 sound/soc/bcm/cygnus-ssp.c 		writel(1, aio->cygaud->audio + aio->regs.bf_sourcech_ctrl);
regs              415 sound/soc/bcm/cygnus-ssp.c 		value = readl(aio->cygaud->audio + aio->regs.bf_sourcech_cfg);
regs              417 sound/soc/bcm/cygnus-ssp.c 		writel(value, aio->cygaud->audio + aio->regs.bf_sourcech_cfg);
regs              439 sound/soc/bcm/cygnus-ssp.c 			value = readl(aio->cygaud->audio + aio->regs.i2s_cfg);
regs              442 sound/soc/bcm/cygnus-ssp.c 			writel(value, aio->cygaud->audio + aio->regs.i2s_cfg);
regs              450 sound/soc/bcm/cygnus-ssp.c 		writel(0, aio->cygaud->audio + aio->regs.bf_sourcech_ctrl);
regs              452 sound/soc/bcm/cygnus-ssp.c 		value = readl(aio->cygaud->audio + aio->regs.bf_sourcech_cfg);
regs              454 sound/soc/bcm/cygnus-ssp.c 		writel(value, aio->cygaud->audio + aio->regs.bf_sourcech_cfg);
regs              461 sound/soc/bcm/cygnus-ssp.c 		value = readl(aio->cygaud->audio + aio->regs.i2s_stream_cfg);
regs              463 sound/soc/bcm/cygnus-ssp.c 		writel(value, aio->cygaud->audio + aio->regs.i2s_stream_cfg);
regs              476 sound/soc/bcm/cygnus-ssp.c 		writel(0, aio->cygaud->audio + aio->regs.bf_sourcech_ctrl);
regs              478 sound/soc/bcm/cygnus-ssp.c 		value = readl(aio->cygaud->audio + aio->regs.bf_sourcech_cfg);
regs              480 sound/soc/bcm/cygnus-ssp.c 		writel(value, aio->cygaud->audio + aio->regs.bf_sourcech_cfg);
regs              594 sound/soc/bcm/cygnus-ssp.c 		value = readl(aio->cygaud->audio + aio->regs.i2s_cfg);
regs              597 sound/soc/bcm/cygnus-ssp.c 		writel(value, aio->cygaud->audio + aio->regs.i2s_cfg);
regs              609 sound/soc/bcm/cygnus-ssp.c 	value = readl(aio->cygaud->audio + aio->regs.i2s_mclk_cfg);
regs              612 sound/soc/bcm/cygnus-ssp.c 	writel(value, aio->cygaud->audio + aio->regs.i2s_mclk_cfg);
regs              656 sound/soc/bcm/cygnus-ssp.c 		value = readl(aio->cygaud->audio + aio->regs.bf_sourcech_cfg);
regs              659 sound/soc/bcm/cygnus-ssp.c 		writel(value, aio->cygaud->audio + aio->regs.bf_sourcech_cfg);
regs              675 sound/soc/bcm/cygnus-ssp.c 		value = readl(aio->cygaud->audio + aio->regs.bf_sourcech_cfg);
regs              678 sound/soc/bcm/cygnus-ssp.c 		writel(value, aio->cygaud->audio + aio->regs.bf_sourcech_cfg);
regs              685 sound/soc/bcm/cygnus-ssp.c 					aio->regs.bf_destch_cfg);
regs              688 sound/soc/bcm/cygnus-ssp.c 					aio->regs.bf_destch_cfg);
regs              693 sound/soc/bcm/cygnus-ssp.c 					aio->regs.bf_destch_cfg);
regs              696 sound/soc/bcm/cygnus-ssp.c 					aio->regs.bf_destch_cfg);
regs              735 sound/soc/bcm/cygnus-ssp.c 	value = readl(aio->cygaud->audio + aio->regs.i2s_mclk_cfg);
regs              738 sound/soc/bcm/cygnus-ssp.c 	writel(value, aio->cygaud->audio + aio->regs.i2s_mclk_cfg);
regs              775 sound/soc/bcm/cygnus-ssp.c 		val = readl(aio->cygaud->audio + aio->regs.i2s_mclk_cfg);
regs              896 sound/soc/bcm/cygnus-ssp.c 	ssp_curcfg = readl(aio->cygaud->audio + aio->regs.i2s_cfg);
regs              898 sound/soc/bcm/cygnus-ssp.c 	writel(ssp_outcfg, aio->cygaud->audio + aio->regs.i2s_cfg);
regs              904 sound/soc/bcm/cygnus-ssp.c 	ssp_curcfg = readl(aio->cygaud->i2s_in + aio->regs.i2s_cap_cfg);
regs              906 sound/soc/bcm/cygnus-ssp.c 	writel(ssp_incfg, aio->cygaud->i2s_in + aio->regs.i2s_cap_cfg);
regs             1036 sound/soc/bcm/cygnus-ssp.c 	value = readl(aio->cygaud->i2s_in + aio->regs.i2s_cap_cfg);
regs             1041 sound/soc/bcm/cygnus-ssp.c 	writel(value, aio->cygaud->i2s_in + aio->regs.i2s_cap_cfg);
regs             1044 sound/soc/bcm/cygnus-ssp.c 	value = readl(aio->cygaud->audio + aio->regs.i2s_cfg);
regs             1049 sound/soc/bcm/cygnus-ssp.c 	writel(value, aio->cygaud->audio + aio->regs.i2s_cfg);
regs             1062 sound/soc/bcm/cygnus-ssp.c 		val = readl(aio->cygaud->audio + aio->regs.i2s_mclk_cfg);
regs             1233 sound/soc/bcm/cygnus-ssp.c 		aio->regs = ssp_regs[portnum];
regs             1239 sound/soc/bcm/cygnus-ssp.c 		aio->regs.bf_sourcech_cfg = BF_SRC_CFG3_OFFSET;
regs             1240 sound/soc/bcm/cygnus-ssp.c 		aio->regs.bf_sourcech_ctrl = BF_SRC_CTRL3_OFFSET;
regs             1241 sound/soc/bcm/cygnus-ssp.c 		aio->regs.i2s_mclk_cfg = SPDIF_MCLK_CFG_OFFSET;
regs             1242 sound/soc/bcm/cygnus-ssp.c 		aio->regs.i2s_stream_cfg = SPDIF_STREAM_CFG_OFFSET;
regs              105 sound/soc/bcm/cygnus-ssp.h 	struct cygnus_ssp_regs regs;
regs               97 sound/soc/cirrus/ep93xx-ac97.c 	void __iomem		*regs;
regs              121 sound/soc/cirrus/ep93xx-ac97.c 	return __raw_readl(info->regs + reg);
regs              127 sound/soc/cirrus/ep93xx-ac97.c 	__raw_writel(val, info->regs + reg);
regs              372 sound/soc/cirrus/ep93xx-ac97.c 	info->regs = devm_platform_ioremap_resource(pdev, 0);
regs              373 sound/soc/cirrus/ep93xx-ac97.c 	if (IS_ERR(info->regs))
regs              374 sound/soc/cirrus/ep93xx-ac97.c 		return PTR_ERR(info->regs);
regs               77 sound/soc/cirrus/ep93xx-i2s.c 	void __iomem			*regs;
regs               98 sound/soc/cirrus/ep93xx-i2s.c 	__raw_writel(val, info->regs + reg);
regs              104 sound/soc/cirrus/ep93xx-i2s.c 	return __raw_readl(info->regs + reg);
regs              439 sound/soc/cirrus/ep93xx-i2s.c 	info->regs = devm_platform_ioremap_resource(pdev, 0);
regs              440 sound/soc/cirrus/ep93xx-i2s.c 	if (IS_ERR(info->regs))
regs              441 sound/soc/cirrus/ep93xx-i2s.c 		return PTR_ERR(info->regs);
regs               16 sound/soc/codecs/adau-utils.c 	uint8_t regs[5])
regs               46 sound/soc/codecs/adau-utils.c 	regs[0] = m >> 8;
regs               47 sound/soc/codecs/adau-utils.c 	regs[1] = m & 0xff;
regs               48 sound/soc/codecs/adau-utils.c 	regs[2] = n >> 8;
regs               49 sound/soc/codecs/adau-utils.c 	regs[3] = n & 0xff;
regs               50 sound/soc/codecs/adau-utils.c 	regs[4] = (r << 3) | (div << 1);
regs               52 sound/soc/codecs/adau-utils.c 		regs[4] |= 1; /* Fractional mode */
regs                6 sound/soc/codecs/adau-utils.h 	uint8_t regs[5]);
regs               70 sound/soc/codecs/tas2552.c 	unsigned char regs[TAS2552_VBAT_DATA];
regs              381 sound/soc/codecs/wm8904.c 				    pdata->drc_cfgs[wm8904->drc_cfg].regs[i]);
regs              454 sound/soc/codecs/wm8904.c 				pdata->retune_mobile_cfgs[best].regs[i]);
regs              262 sound/soc/codecs/wm8958-dsp2.c 		for (i = 0; i < ARRAY_SIZE(cfg->regs); i++)
regs              263 sound/soc/codecs/wm8958-dsp2.c 			snd_soc_component_write(component, i + 0x2600, cfg->regs[i]);
regs              270 sound/soc/codecs/wm8958-dsp2.c 		for (i = 0; i < ARRAY_SIZE(cfg->regs); i++)
regs              271 sound/soc/codecs/wm8958-dsp2.c 			snd_soc_component_write(component, i + 0x2400, cfg->regs[i]);
regs              313 sound/soc/codecs/wm8958-dsp2.c 		for (i = 0; i < ARRAY_SIZE(cfg->regs); i++)
regs              315 sound/soc/codecs/wm8958-dsp2.c 				      cfg->regs[i]);
regs              334 sound/soc/codecs/wm8994.c 				    pdata->drc_cfgs[cfg].regs[i]);
regs              443 sound/soc/codecs/wm8994.c 				pdata->retune_mobile_cfgs[best].regs[i]);
regs              392 sound/soc/codecs/wm8996.c 	for (i = 0; i < ARRAY_SIZE(pdata->retune_mobile_cfgs[best].regs); i++)
regs              394 sound/soc/codecs/wm8996.c 				    pdata->retune_mobile_cfgs[best].regs[i]);
regs              862 sound/soc/fsl/fsl_asrc.c 	void __iomem *regs;
regs              874 sound/soc/fsl/fsl_asrc.c 	regs = devm_ioremap_resource(&pdev->dev, res);
regs              875 sound/soc/fsl/fsl_asrc.c 	if (IS_ERR(regs))
regs              876 sound/soc/fsl/fsl_asrc.c 		return PTR_ERR(regs);
regs              880 sound/soc/fsl/fsl_asrc.c 	asrc_priv->regmap = devm_regmap_init_mmio_clk(&pdev->dev, "mem", regs,
regs              468 sound/soc/fsl/fsl_audmix.c 	void __iomem *regs;
regs              482 sound/soc/fsl/fsl_audmix.c 	regs = devm_platform_ioremap_resource(pdev, 0);
regs              483 sound/soc/fsl/fsl_audmix.c 	if (IS_ERR(regs))
regs              484 sound/soc/fsl/fsl_audmix.c 		return PTR_ERR(regs);
regs              486 sound/soc/fsl/fsl_audmix.c 	priv->regmap = devm_regmap_init_mmio_clk(dev, "ipg", regs,
regs              925 sound/soc/fsl/fsl_esai.c 	void __iomem *regs;
regs              941 sound/soc/fsl/fsl_esai.c 	regs = devm_ioremap_resource(&pdev->dev, res);
regs              942 sound/soc/fsl/fsl_esai.c 	if (IS_ERR(regs))
regs              943 sound/soc/fsl/fsl_esai.c 		return PTR_ERR(regs);
regs              946 sound/soc/fsl/fsl_esai.c 			"core", regs, &fsl_esai_regmap_config);
regs              644 sound/soc/fsl/fsl_micfil.c 	void __iomem *regs;
regs              673 sound/soc/fsl/fsl_micfil.c 	regs = devm_ioremap_resource(&pdev->dev, res);
regs              674 sound/soc/fsl/fsl_micfil.c 	if (IS_ERR(regs))
regs              675 sound/soc/fsl/fsl_micfil.c 		return PTR_ERR(regs);
regs              679 sound/soc/fsl/fsl_micfil.c 						   regs,
regs             1221 sound/soc/fsl/fsl_spdif.c 	void __iomem *regs;
regs             1239 sound/soc/fsl/fsl_spdif.c 	regs = devm_ioremap_resource(&pdev->dev, res);
regs             1240 sound/soc/fsl/fsl_spdif.c 	if (IS_ERR(regs))
regs             1241 sound/soc/fsl/fsl_spdif.c 		return PTR_ERR(regs);
regs             1244 sound/soc/fsl/fsl_spdif.c 			"core", regs, &fsl_spdif_regmap_config);
regs              259 sound/soc/fsl/fsl_ssi.c 	struct regmap *regs;
regs              382 sound/soc/fsl/fsl_ssi.c 	struct regmap *regs = ssi->regs;
regs              385 sound/soc/fsl/fsl_ssi.c 	regmap_read(regs, REG_SSI_SISR, &sisr);
regs              390 sound/soc/fsl/fsl_ssi.c 		regmap_write(regs, REG_SSI_SISR, sisr2);
regs              412 sound/soc/fsl/fsl_ssi.c 	regmap_update_bits(ssi->regs, REG_SSI_SOR,
regs              439 sound/soc/fsl/fsl_ssi.c 	regmap_update_bits(ssi->regs, REG_SSI_SRCR, srcr, srcr);
regs              440 sound/soc/fsl/fsl_ssi.c 	regmap_update_bits(ssi->regs, REG_SSI_STCR, stcr, stcr);
regs              441 sound/soc/fsl/fsl_ssi.c 	regmap_update_bits(ssi->regs, REG_SSI_SIER, sier, sier);
regs              455 sound/soc/fsl/fsl_ssi.c 		regmap_update_bits(ssi->regs, REG_SSI_SCR,
regs              460 sound/soc/fsl/fsl_ssi.c 			regmap_read(ssi->regs, REG_SSI_SFCSR, &sfcsr);
regs              470 sound/soc/fsl/fsl_ssi.c 	regmap_update_bits(ssi->regs, REG_SSI_SCR,
regs              528 sound/soc/fsl/fsl_ssi.c 	regmap_update_bits(ssi->regs, REG_SSI_SCR, scr, 0);
regs              556 sound/soc/fsl/fsl_ssi.c 	regmap_update_bits(ssi->regs, REG_SSI_SRCR, srcr, 0);
regs              557 sound/soc/fsl/fsl_ssi.c 	regmap_update_bits(ssi->regs, REG_SSI_STCR, stcr, 0);
regs              558 sound/soc/fsl/fsl_ssi.c 	regmap_update_bits(ssi->regs, REG_SSI_SIER, sier, 0);
regs              562 sound/soc/fsl/fsl_ssi.c 	regmap_update_bits(ssi->regs, REG_SSI_SOR,
regs              568 sound/soc/fsl/fsl_ssi.c 	struct regmap *regs = ssi->regs;
regs              573 sound/soc/fsl/fsl_ssi.c 		regmap_write(regs, REG_SSI_SACCDIS, 0xff);
regs              575 sound/soc/fsl/fsl_ssi.c 		regmap_write(regs, REG_SSI_SACCEN, 0x300);
regs              613 sound/soc/fsl/fsl_ssi.c 	struct regmap *regs = ssi->regs;
regs              616 sound/soc/fsl/fsl_ssi.c 	regmap_write(regs, REG_SSI_STCCR, SSI_SxCCR_WL(17) | SSI_SxCCR_DC(13));
regs              617 sound/soc/fsl/fsl_ssi.c 	regmap_write(regs, REG_SSI_SRCCR, SSI_SxCCR_WL(17) | SSI_SxCCR_DC(13));
regs              620 sound/soc/fsl/fsl_ssi.c 	regmap_write(regs, REG_SSI_SACNT, SSI_SACNT_AC97EN | SSI_SACNT_FV);
regs              623 sound/soc/fsl/fsl_ssi.c 	regmap_update_bits(regs, REG_SSI_SCR,
regs              627 sound/soc/fsl/fsl_ssi.c 	regmap_write(regs, REG_SSI_SOR, SSI_SOR_WAIT(3));
regs              678 sound/soc/fsl/fsl_ssi.c 	struct regmap *regs = ssi->regs;
regs              766 sound/soc/fsl/fsl_ssi.c 	regmap_update_bits(regs, REG_SSI_SxCCR(tx2), mask, stccr);
regs              796 sound/soc/fsl/fsl_ssi.c 	struct regmap *regs = ssi->regs;
regs              842 sound/soc/fsl/fsl_ssi.c 		regmap_update_bits(regs, REG_SSI_SCR,
regs              848 sound/soc/fsl/fsl_ssi.c 	regmap_update_bits(regs, REG_SSI_SxCCR(tx2), SSI_SxCCR_WL_MASK, wl);
regs              902 sound/soc/fsl/fsl_ssi.c 		regmap_update_bits(ssi->regs, REG_SSI_STCCR,
regs              904 sound/soc/fsl/fsl_ssi.c 		regmap_update_bits(ssi->regs, REG_SSI_SRCCR,
regs              984 sound/soc/fsl/fsl_ssi.c 	regmap_update_bits(ssi->regs, REG_SSI_STCR, mask, stcr);
regs              985 sound/soc/fsl/fsl_ssi.c 	regmap_update_bits(ssi->regs, REG_SSI_SRCR, mask, srcr);
regs              989 sound/soc/fsl/fsl_ssi.c 	regmap_update_bits(ssi->regs, REG_SSI_SCR, mask, scr);
regs             1015 sound/soc/fsl/fsl_ssi.c 	struct regmap *regs = ssi->regs;
regs             1030 sound/soc/fsl/fsl_ssi.c 	regmap_update_bits(regs, REG_SSI_STCCR,
regs             1032 sound/soc/fsl/fsl_ssi.c 	regmap_update_bits(regs, REG_SSI_SRCCR,
regs             1036 sound/soc/fsl/fsl_ssi.c 	regmap_read(regs, REG_SSI_SCR, &val);
regs             1038 sound/soc/fsl/fsl_ssi.c 	regmap_update_bits(regs, REG_SSI_SCR, SSI_SCR_SSIEN, SSI_SCR_SSIEN);
regs             1040 sound/soc/fsl/fsl_ssi.c 	regmap_write(regs, REG_SSI_STMSK, ~tx_mask);
regs             1041 sound/soc/fsl/fsl_ssi.c 	regmap_write(regs, REG_SSI_SRMSK, ~rx_mask);
regs             1044 sound/soc/fsl/fsl_ssi.c 	regmap_update_bits(regs, REG_SSI_SCR, SSI_SCR_SSIEN, val);
regs             1165 sound/soc/fsl/fsl_ssi.c 	struct regmap *regs = fsl_ac97_data->regs;
regs             1183 sound/soc/fsl/fsl_ssi.c 	regmap_write(regs, REG_SSI_SACADD, lreg);
regs             1186 sound/soc/fsl/fsl_ssi.c 	regmap_write(regs, REG_SSI_SACDAT, lval);
regs             1188 sound/soc/fsl/fsl_ssi.c 	regmap_update_bits(regs, REG_SSI_SACNT,
regs             1201 sound/soc/fsl/fsl_ssi.c 	struct regmap *regs = fsl_ac97_data->regs;
regs             1216 sound/soc/fsl/fsl_ssi.c 	regmap_write(regs, REG_SSI_SACADD, lreg);
regs             1217 sound/soc/fsl/fsl_ssi.c 	regmap_update_bits(regs, REG_SSI_SACNT,
regs             1222 sound/soc/fsl/fsl_ssi.c 	regmap_read(regs, REG_SSI_SACDAT, &reg_val);
regs             1248 sound/soc/fsl/fsl_ssi.c 	regmap_write(ssi->regs, REG_SSI_SFCSR,
regs             1254 sound/soc/fsl/fsl_ssi.c 		regmap_update_bits(ssi->regs, REG_SSI_SCR,
regs             1274 sound/soc/fsl/fsl_ssi.c 		regmap_update_bits(ssi->regs, REG_SSI_SCR,
regs             1277 sound/soc/fsl/fsl_ssi.c 		regmap_write(ssi->regs, REG_SSI_SACNT, 0);
regs             1279 sound/soc/fsl/fsl_ssi.c 		regmap_write(ssi->regs, REG_SSI_SOR, 0);
regs             1281 sound/soc/fsl/fsl_ssi.c 		regmap_update_bits(ssi->regs, REG_SSI_SCR, SSI_SCR_SSIEN, 0);
regs             1503 sound/soc/fsl/fsl_ssi.c 		ssi->regs = devm_regmap_init_mmio_clk(dev, "ipg", iomem,
regs             1506 sound/soc/fsl/fsl_ssi.c 		ssi->regs = devm_regmap_init_mmio(dev, iomem, &regconfig);
regs             1507 sound/soc/fsl/fsl_ssi.c 	if (IS_ERR(ssi->regs)) {
regs             1509 sound/soc/fsl/fsl_ssi.c 		return PTR_ERR(ssi->regs);
regs             1654 sound/soc/fsl/fsl_ssi.c 	struct regmap *regs = ssi->regs;
regs             1656 sound/soc/fsl/fsl_ssi.c 	regmap_read(regs, REG_SSI_SFCSR, &ssi->regcache_sfcsr);
regs             1657 sound/soc/fsl/fsl_ssi.c 	regmap_read(regs, REG_SSI_SACNT, &ssi->regcache_sacnt);
regs             1659 sound/soc/fsl/fsl_ssi.c 	regcache_cache_only(regs, true);
regs             1660 sound/soc/fsl/fsl_ssi.c 	regcache_mark_dirty(regs);
regs             1668 sound/soc/fsl/fsl_ssi.c 	struct regmap *regs = ssi->regs;
regs             1670 sound/soc/fsl/fsl_ssi.c 	regcache_cache_only(regs, false);
regs             1672 sound/soc/fsl/fsl_ssi.c 	regmap_update_bits(regs, REG_SSI_SFCSR,
regs             1676 sound/soc/fsl/fsl_ssi.c 	regmap_write(regs, REG_SSI_SACNT, ssi->regcache_sacnt);
regs             1678 sound/soc/fsl/fsl_ssi.c 	return regcache_sync(regs);
regs               49 sound/soc/fsl/imx-pcm-fiq.c 	struct pt_regs regs;
regs               54 sound/soc/fsl/imx-pcm-fiq.c 	get_fiq_regs(&regs);
regs               57 sound/soc/fsl/imx-pcm-fiq.c 		iprtd->offset = regs.ARM_r8 & 0xffff;
regs               59 sound/soc/fsl/imx-pcm-fiq.c 		iprtd->offset = regs.ARM_r9 & 0xffff;
regs               92 sound/soc/fsl/imx-pcm-fiq.c 	struct pt_regs regs;
regs               94 sound/soc/fsl/imx-pcm-fiq.c 	get_fiq_regs(&regs);
regs               96 sound/soc/fsl/imx-pcm-fiq.c 		regs.ARM_r8 = (iprtd->period * iprtd->periods - 1) << 16;
regs               98 sound/soc/fsl/imx-pcm-fiq.c 		regs.ARM_r9 = (iprtd->period * iprtd->periods - 1) << 16;
regs              100 sound/soc/fsl/imx-pcm-fiq.c 	set_fiq_regs(&regs);
regs               33 sound/soc/fsl/mpc5200_dma.c 	struct mpc52xx_psc __iomem *regs = psc_dma->psc_regs;
regs               36 sound/soc/fsl/mpc5200_dma.c 	isr = in_be16(&regs->mpc52xx_psc_isr);
regs               46 sound/soc/fsl/mpc5200_dma.c 	out_8(&regs->command, MPC52xx_PSC_RST_ERR_STAT);
regs              119 sound/soc/fsl/mpc5200_dma.c 	struct mpc52xx_psc __iomem *regs = psc_dma->psc_regs;
regs              154 sound/soc/fsl/mpc5200_dma.c 		out_8(&regs->command, MPC52xx_PSC_RST_ERR_STAT);
regs              185 sound/soc/fsl/mpc5200_dma.c 	out_be16(&regs->isr_imr.imr, psc_dma->imr | imr);
regs              377 sound/soc/fsl/mpc5200_dma.c 	void __iomem *regs;
regs              386 sound/soc/fsl/mpc5200_dma.c 	regs = ioremap(res.start, resource_size(&res));
regs              387 sound/soc/fsl/mpc5200_dma.c 	if (!regs) {
regs              410 sound/soc/fsl/mpc5200_dma.c 	psc_dma->psc_regs = regs;
regs              411 sound/soc/fsl/mpc5200_dma.c 	psc_dma->fifo_regs = regs + sizeof *psc_dma->psc_regs;
regs              485 sound/soc/fsl/mpc5200_dma.c 	iounmap(regs);
regs               98 sound/soc/fsl/mpc5200_psc_ac97.c 	struct mpc52xx_psc __iomem *regs = psc_dma->psc_regs;
regs              102 sound/soc/fsl/mpc5200_psc_ac97.c 	out_be32(&regs->sicr, psc_dma->sicr | MPC52xx_PSC_SICR_AWR);
regs              104 sound/soc/fsl/mpc5200_psc_ac97.c 	out_be32(&regs->sicr, psc_dma->sicr);
regs              111 sound/soc/fsl/mpc5200_psc_ac97.c 	struct mpc52xx_psc __iomem *regs = psc_dma->psc_regs;
regs              119 sound/soc/fsl/mpc5200_psc_ac97.c 	out_be32(&regs->sicr, psc_dma->sicr | MPC52xx_PSC_SICR_ACRB);
regs              122 sound/soc/fsl/mpc5200_psc_ac97.c 	out_8(&regs->command, MPC52xx_PSC_TX_ENABLE | MPC52xx_PSC_RX_ENABLE);
regs              207 sound/soc/fsl/mpc5200_psc_ac97.c 	struct mpc52xx_psc __iomem *regs = psc_dma->psc_regs;
regs              210 sound/soc/fsl/mpc5200_psc_ac97.c 	out_8(&regs->command, MPC52xx_PSC_TX_ENABLE | MPC52xx_PSC_RX_ENABLE);
regs              281 sound/soc/fsl/mpc5200_psc_ac97.c 	struct mpc52xx_psc __iomem *regs;
regs              301 sound/soc/fsl/mpc5200_psc_ac97.c 	regs = psc_dma->psc_regs;
regs              308 sound/soc/fsl/mpc5200_psc_ac97.c 	out_be32(&regs->sicr, psc_dma->sicr);
regs              311 sound/soc/fsl/mpc5200_psc_ac97.c 	out_be32(&regs->ac97_slots, 0x00000000);
regs              163 sound/soc/fsl/mpc5200_psc_i2s.c 	struct mpc52xx_psc __iomem *regs;
regs              177 sound/soc/fsl/mpc5200_psc_i2s.c 	regs = psc_dma->psc_regs;
regs              195 sound/soc/fsl/mpc5200_psc_i2s.c 	while ((in_8(&regs->ipcr_acr.ipcr) & 0x80) != 0)
regs              198 sound/soc/fsl/mpc5200_psc_i2s.c 	while ((in_8(&regs->ipcr_acr.ipcr) & 0x80) == 0)
regs              188 sound/soc/intel/common/sst-firmware.c 	chip->regs = devm_ioremap_resource(dev, mem);
regs              189 sound/soc/intel/common/sst-firmware.c 	if (IS_ERR(chip->regs))
regs              190 sound/soc/intel/common/sst-firmware.c 		return ERR_CAST(chip->regs);
regs              335 sound/soc/meson/axg-fifo.c 	void __iomem *regs;
regs              348 sound/soc/meson/axg-fifo.c 	regs = devm_platform_ioremap_resource(pdev, 0);
regs              349 sound/soc/meson/axg-fifo.c 	if (IS_ERR(regs))
regs              350 sound/soc/meson/axg-fifo.c 		return PTR_ERR(regs);
regs              352 sound/soc/meson/axg-fifo.c 	fifo->map = devm_regmap_init_mmio(dev, regs, &axg_fifo_regmap_cfg);
regs              588 sound/soc/meson/axg-pdm.c 	void __iomem *regs;
regs              602 sound/soc/meson/axg-pdm.c 	regs = devm_platform_ioremap_resource(pdev, 0);
regs              603 sound/soc/meson/axg-pdm.c 	if (IS_ERR(regs))
regs              604 sound/soc/meson/axg-pdm.c 		return PTR_ERR(regs);
regs              606 sound/soc/meson/axg-pdm.c 	priv->map = devm_regmap_init_mmio(dev, regs, &axg_pdm_regmap_cfg);
regs              456 sound/soc/meson/axg-spdifin.c 	void __iomem *regs;
regs              470 sound/soc/meson/axg-spdifin.c 	regs = devm_platform_ioremap_resource(pdev, 0);
regs              471 sound/soc/meson/axg-spdifin.c 	if (IS_ERR(regs))
regs              472 sound/soc/meson/axg-spdifin.c 		return PTR_ERR(regs);
regs              474 sound/soc/meson/axg-spdifin.c 	priv->map = devm_regmap_init_mmio(dev, regs, &axg_spdifin_regmap_cfg);
regs              404 sound/soc/meson/axg-spdifout.c 	void __iomem *regs;
regs              412 sound/soc/meson/axg-spdifout.c 	regs = devm_platform_ioremap_resource(pdev, 0);
regs              413 sound/soc/meson/axg-spdifout.c 	if (IS_ERR(regs))
regs              414 sound/soc/meson/axg-spdifout.c 		return PTR_ERR(regs);
regs              416 sound/soc/meson/axg-spdifout.c 	priv->map = devm_regmap_init_mmio(dev, regs, &axg_spdifout_regmap_cfg);
regs              256 sound/soc/meson/axg-tdm-formatter.c 	void __iomem *regs;
regs              271 sound/soc/meson/axg-tdm-formatter.c 	regs = devm_platform_ioremap_resource(pdev, 0);
regs              272 sound/soc/meson/axg-tdm-formatter.c 	if (IS_ERR(regs))
regs              273 sound/soc/meson/axg-tdm-formatter.c 		return PTR_ERR(regs);
regs              275 sound/soc/meson/axg-tdm-formatter.c 	formatter->map = devm_regmap_init_mmio(dev, regs, drv->regmap_cfg);
regs              379 sound/soc/meson/g12a-tohdmitx.c 	void __iomem *regs;
regs              382 sound/soc/meson/g12a-tohdmitx.c 	regs = devm_platform_ioremap_resource(pdev, 0);
regs              383 sound/soc/meson/g12a-tohdmitx.c 	if (IS_ERR(regs))
regs              384 sound/soc/meson/g12a-tohdmitx.c 		return PTR_ERR(regs);
regs              386 sound/soc/meson/g12a-tohdmitx.c 	map = devm_regmap_init_mmio(dev, regs, &g12a_tohdmitx_regmap_cfg);
regs              584 sound/soc/rockchip/rockchip_i2s.c 	void __iomem *regs;
regs              622 sound/soc/rockchip/rockchip_i2s.c 	regs = devm_ioremap_resource(&pdev->dev, res);
regs              623 sound/soc/rockchip/rockchip_i2s.c 	if (IS_ERR(regs))
regs              624 sound/soc/rockchip/rockchip_i2s.c 		return PTR_ERR(regs);
regs              626 sound/soc/rockchip/rockchip_i2s.c 	i2s->regmap = devm_regmap_init_mmio(&pdev->dev, regs,
regs              481 sound/soc/rockchip/rockchip_pdm.c 	void __iomem *regs;
regs              499 sound/soc/rockchip/rockchip_pdm.c 	regs = devm_ioremap_resource(&pdev->dev, res);
regs              500 sound/soc/rockchip/rockchip_pdm.c 	if (IS_ERR(regs))
regs              501 sound/soc/rockchip/rockchip_pdm.c 		return PTR_ERR(regs);
regs              503 sound/soc/rockchip/rockchip_pdm.c 	pdm->regmap = devm_regmap_init_mmio(&pdev->dev, regs,
regs              284 sound/soc/rockchip/rockchip_spdif.c 	void __iomem *regs;
regs              333 sound/soc/rockchip/rockchip_spdif.c 	regs = devm_ioremap_resource(&pdev->dev, res);
regs              334 sound/soc/rockchip/rockchip_spdif.c 	if (IS_ERR(regs)) {
regs              335 sound/soc/rockchip/rockchip_spdif.c 		ret = PTR_ERR(regs);
regs              339 sound/soc/rockchip/rockchip_spdif.c 	spdif->regmap = devm_regmap_init_mmio_clk(&pdev->dev, "hclk", regs,
regs               52 sound/soc/samsung/idma.c 	void		 __iomem  *regs;
regs               61 sound/soc/samsung/idma.c 		(readl(idma.regs + I2STRNCNT) & 0xffffff) * 4;
regs               76 sound/soc/samsung/idma.c 	writel(val, idma.regs + I2SLVL0ADDR);
regs               80 sound/soc/samsung/idma.c 	writel(val, idma.regs + I2SSTR0);
regs               86 sound/soc/samsung/idma.c 	val = readl(idma.regs + I2SSIZE);
regs               90 sound/soc/samsung/idma.c 	writel(val, idma.regs + I2SSIZE);
regs               92 sound/soc/samsung/idma.c 	val = readl(idma.regs + I2SAHB);
regs               94 sound/soc/samsung/idma.c 	writel(val, idma.regs + I2SAHB);
regs              111 sound/soc/samsung/idma.c 	u32 val = readl(idma.regs + I2SAHB);
regs              127 sound/soc/samsung/idma.c 	writel(val, idma.regs + I2SAHB);
regs              145 sound/soc/samsung/idma.c 	u32 mod = readl(idma.regs + I2SMOD);
regs              146 sound/soc/samsung/idma.c 	u32 ahb = readl(idma.regs + I2SAHB);
regs              150 sound/soc/samsung/idma.c 	writel(ahb, idma.regs + I2SAHB);
regs              151 sound/soc/samsung/idma.c 	writel(mod, idma.regs + I2SMOD);
regs              259 sound/soc/samsung/idma.c 	iisahb  = readl(idma.regs + I2SAHB);
regs              265 sound/soc/samsung/idma.c 		writel(iisahb, idma.regs + I2SAHB);
regs              267 sound/soc/samsung/idma.c 		addr = readl(idma.regs + I2SLVL0ADDR) - idma.lp_tx_addr;
regs              272 sound/soc/samsung/idma.c 		writel(addr, idma.regs + I2SLVL0ADDR);
regs              388 sound/soc/samsung/idma.c void idma_reg_addr_init(void __iomem *regs, dma_addr_t addr)
regs              391 sound/soc/samsung/idma.c 	idma.regs = regs;
regs               10 sound/soc/samsung/idma.h extern void idma_reg_addr_init(void __iomem *regs, dma_addr_t addr);
regs              115 sound/soc/samsung/pcm.c 	void __iomem	*regs;
regs              151 sound/soc/samsung/pcm.c 	void __iomem *regs = pcm->regs;
regs              154 sound/soc/samsung/pcm.c 	clkctl = readl(regs + S3C_PCM_CLKCTL);
regs              155 sound/soc/samsung/pcm.c 	ctl = readl(regs + S3C_PCM_CTL);
regs              176 sound/soc/samsung/pcm.c 	writel(clkctl, regs + S3C_PCM_CLKCTL);
regs              177 sound/soc/samsung/pcm.c 	writel(ctl, regs + S3C_PCM_CTL);
regs              182 sound/soc/samsung/pcm.c 	void __iomem *regs = pcm->regs;
regs              185 sound/soc/samsung/pcm.c 	ctl = readl(regs + S3C_PCM_CTL);
regs              186 sound/soc/samsung/pcm.c 	clkctl = readl(regs + S3C_PCM_CLKCTL);
regs              207 sound/soc/samsung/pcm.c 	writel(clkctl, regs + S3C_PCM_CLKCTL);
regs              208 sound/soc/samsung/pcm.c 	writel(ctl, regs + S3C_PCM_CTL);
regs              260 sound/soc/samsung/pcm.c 	void __iomem *regs = pcm->regs;
regs              279 sound/soc/samsung/pcm.c 	clkctl = readl(regs + S3C_PCM_CLKCTL);
regs              302 sound/soc/samsung/pcm.c 	writel(clkctl, regs + S3C_PCM_CLKCTL);
regs              317 sound/soc/samsung/pcm.c 	void __iomem *regs = pcm->regs;
regs              326 sound/soc/samsung/pcm.c 	ctl = readl(regs + S3C_PCM_CTL);
regs              376 sound/soc/samsung/pcm.c 	writel(ctl, regs + S3C_PCM_CTL);
regs              405 sound/soc/samsung/pcm.c 	void __iomem *regs = pcm->regs;
regs              406 sound/soc/samsung/pcm.c 	u32 clkctl = readl(regs + S3C_PCM_CLKCTL);
regs              425 sound/soc/samsung/pcm.c 	writel(clkctl, regs + S3C_PCM_CLKCTL);
regs              511 sound/soc/samsung/pcm.c 	pcm->regs = devm_ioremap_resource(&pdev->dev, mem_res);
regs              512 sound/soc/samsung/pcm.c 	if (IS_ERR(pcm->regs))
regs              513 sound/soc/samsung/pcm.c 		return PTR_ERR(pcm->regs);
regs               74 sound/soc/samsung/s3c-i2s-v2.c 	void __iomem *regs = i2s->regs;
regs               79 sound/soc/samsung/s3c-i2s-v2.c 	fic = readl(regs + S3C2412_IISFIC);
regs               80 sound/soc/samsung/s3c-i2s-v2.c 	con = readl(regs + S3C2412_IISCON);
regs               81 sound/soc/samsung/s3c-i2s-v2.c 	mod = readl(regs + S3C2412_IISMOD);
regs              107 sound/soc/samsung/s3c-i2s-v2.c 		writel(con, regs + S3C2412_IISCON);
regs              108 sound/soc/samsung/s3c-i2s-v2.c 		writel(mod, regs + S3C2412_IISMOD);
regs              136 sound/soc/samsung/s3c-i2s-v2.c 		writel(mod, regs + S3C2412_IISMOD);
regs              137 sound/soc/samsung/s3c-i2s-v2.c 		writel(con, regs + S3C2412_IISCON);
regs              140 sound/soc/samsung/s3c-i2s-v2.c 	fic = readl(regs + S3C2412_IISFIC);
regs              147 sound/soc/samsung/s3c-i2s-v2.c 	void __iomem *regs = i2s->regs;
regs              152 sound/soc/samsung/s3c-i2s-v2.c 	fic = readl(regs + S3C2412_IISFIC);
regs              153 sound/soc/samsung/s3c-i2s-v2.c 	con = readl(regs + S3C2412_IISCON);
regs              154 sound/soc/samsung/s3c-i2s-v2.c 	mod = readl(regs + S3C2412_IISMOD);
regs              179 sound/soc/samsung/s3c-i2s-v2.c 		writel(mod, regs + S3C2412_IISMOD);
regs              180 sound/soc/samsung/s3c-i2s-v2.c 		writel(con, regs + S3C2412_IISCON);
regs              204 sound/soc/samsung/s3c-i2s-v2.c 		writel(con, regs + S3C2412_IISCON);
regs              205 sound/soc/samsung/s3c-i2s-v2.c 		writel(mod, regs + S3C2412_IISMOD);
regs              208 sound/soc/samsung/s3c-i2s-v2.c 	fic = readl(regs + S3C2412_IISFIC);
regs              226 sound/soc/samsung/s3c-i2s-v2.c 		iiscon = readl(i2s->regs + S3C2412_IISCON);
regs              252 sound/soc/samsung/s3c-i2s-v2.c 	iismod = readl(i2s->regs + S3C2412_IISMOD);
regs              289 sound/soc/samsung/s3c-i2s-v2.c 	writel(iismod, i2s->regs + S3C2412_IISMOD);
regs              312 sound/soc/samsung/s3c-i2s-v2.c 	iismod = readl(i2s->regs + S3C2412_IISMOD);
regs              328 sound/soc/samsung/s3c-i2s-v2.c 	writel(iismod, i2s->regs + S3C2412_IISMOD);
regs              338 sound/soc/samsung/s3c-i2s-v2.c 	u32 iismod = readl(i2s->regs + S3C2412_IISMOD);
regs              373 sound/soc/samsung/s3c-i2s-v2.c 	writel(iismod, i2s->regs + S3C2412_IISMOD);
regs              395 sound/soc/samsung/s3c-i2s-v2.c 		       i2s->regs + S3C2412_IISFIC);
regs              398 sound/soc/samsung/s3c-i2s-v2.c 		writel(0x0, i2s->regs + S3C2412_IISFIC);
regs              474 sound/soc/samsung/s3c-i2s-v2.c 		reg = readl(i2s->regs + S3C2412_IISMOD);
regs              476 sound/soc/samsung/s3c-i2s-v2.c 		writel(reg | div, i2s->regs + S3C2412_IISMOD);
regs              478 sound/soc/samsung/s3c-i2s-v2.c 		pr_debug("%s: MOD=%08x\n", __func__, readl(i2s->regs + S3C2412_IISMOD));
regs              503 sound/soc/samsung/s3c-i2s-v2.c 		reg = readl(i2s->regs + S3C2412_IISMOD);
regs              505 sound/soc/samsung/s3c-i2s-v2.c 		writel(reg | div, i2s->regs + S3C2412_IISMOD);
regs              506 sound/soc/samsung/s3c-i2s-v2.c 		pr_debug("%s: MOD=%08x\n", __func__, readl(i2s->regs + S3C2412_IISMOD));
regs              512 sound/soc/samsung/s3c-i2s-v2.c 			       i2s->regs + S3C2412_IISPSR);
regs              514 sound/soc/samsung/s3c-i2s-v2.c 			writel(0x0, i2s->regs + S3C2412_IISPSR);
regs              516 sound/soc/samsung/s3c-i2s-v2.c 		pr_debug("%s: PSR=%08x\n", __func__, readl(i2s->regs + S3C2412_IISPSR));
regs              530 sound/soc/samsung/s3c-i2s-v2.c 	u32 reg = readl(i2s->regs + S3C2412_IISFIC);
regs              544 sound/soc/samsung/s3c-i2s-v2.c 	u32 iismod = readl(i2s->regs + S3C2412_IISMOD);
regs              640 sound/soc/samsung/s3c-i2s-v2.c 	iismod = readl(i2s->regs + S3C2412_IISMOD);
regs              642 sound/soc/samsung/s3c-i2s-v2.c 	writel(iismod, i2s->regs + S3C2412_IISMOD);
regs              666 sound/soc/samsung/s3c-i2s-v2.c 		i2s->suspend_iismod = readl(i2s->regs + S3C2412_IISMOD);
regs              667 sound/soc/samsung/s3c-i2s-v2.c 		i2s->suspend_iiscon = readl(i2s->regs + S3C2412_IISCON);
regs              668 sound/soc/samsung/s3c-i2s-v2.c 		i2s->suspend_iispsr = readl(i2s->regs + S3C2412_IISPSR);
regs              672 sound/soc/samsung/s3c-i2s-v2.c 		iismod = readl(i2s->regs + S3C2412_IISMOD);
regs              695 sound/soc/samsung/s3c-i2s-v2.c 		writel(i2s->suspend_iiscon, i2s->regs + S3C2412_IISCON);
regs              696 sound/soc/samsung/s3c-i2s-v2.c 		writel(i2s->suspend_iismod, i2s->regs + S3C2412_IISMOD);
regs              697 sound/soc/samsung/s3c-i2s-v2.c 		writel(i2s->suspend_iispsr, i2s->regs + S3C2412_IISPSR);
regs              700 sound/soc/samsung/s3c-i2s-v2.c 		       i2s->regs + S3C2412_IISFIC);
regs              703 sound/soc/samsung/s3c-i2s-v2.c 		writel(0x0, i2s->regs + S3C2412_IISFIC);
regs               49 sound/soc/samsung/s3c-i2s-v2.h 	void __iomem	*regs;
regs              102 sound/soc/samsung/s3c2412-i2s.c 	iismod = readl(i2s->regs + S3C2412_IISMOD);
regs              114 sound/soc/samsung/s3c2412-i2s.c 	writel(iismod, i2s->regs + S3C2412_IISMOD);
regs              163 sound/soc/samsung/s3c2412-i2s.c 	s3c2412_i2s.regs = devm_ioremap_resource(&pdev->dev, res);
regs              164 sound/soc/samsung/s3c2412-i2s.c 	if (IS_ERR(s3c2412_i2s.regs))
regs              165 sound/soc/samsung/s3c2412-i2s.c 		return PTR_ERR(s3c2412_i2s.regs);
regs               39 sound/soc/samsung/s3c24xx-i2s.c 	void __iomem	*regs;
regs               54 sound/soc/samsung/s3c24xx-i2s.c 	iisfcon = readl(s3c24xx_i2s.regs + S3C2410_IISFCON);
regs               55 sound/soc/samsung/s3c24xx-i2s.c 	iiscon  = readl(s3c24xx_i2s.regs + S3C2410_IISCON);
regs               56 sound/soc/samsung/s3c24xx-i2s.c 	iismod  = readl(s3c24xx_i2s.regs + S3C2410_IISMOD);
regs               66 sound/soc/samsung/s3c24xx-i2s.c 		writel(iismod,  s3c24xx_i2s.regs + S3C2410_IISMOD);
regs               67 sound/soc/samsung/s3c24xx-i2s.c 		writel(iisfcon, s3c24xx_i2s.regs + S3C2410_IISFCON);
regs               68 sound/soc/samsung/s3c24xx-i2s.c 		writel(iiscon,  s3c24xx_i2s.regs + S3C2410_IISCON);
regs               83 sound/soc/samsung/s3c24xx-i2s.c 		writel(iiscon,  s3c24xx_i2s.regs + S3C2410_IISCON);
regs               84 sound/soc/samsung/s3c24xx-i2s.c 		writel(iisfcon, s3c24xx_i2s.regs + S3C2410_IISFCON);
regs               85 sound/soc/samsung/s3c24xx-i2s.c 		writel(iismod,  s3c24xx_i2s.regs + S3C2410_IISMOD);
regs               97 sound/soc/samsung/s3c24xx-i2s.c 	iisfcon = readl(s3c24xx_i2s.regs + S3C2410_IISFCON);
regs               98 sound/soc/samsung/s3c24xx-i2s.c 	iiscon  = readl(s3c24xx_i2s.regs + S3C2410_IISCON);
regs               99 sound/soc/samsung/s3c24xx-i2s.c 	iismod  = readl(s3c24xx_i2s.regs + S3C2410_IISMOD);
regs              109 sound/soc/samsung/s3c24xx-i2s.c 		writel(iismod,  s3c24xx_i2s.regs + S3C2410_IISMOD);
regs              110 sound/soc/samsung/s3c24xx-i2s.c 		writel(iisfcon, s3c24xx_i2s.regs + S3C2410_IISFCON);
regs              111 sound/soc/samsung/s3c24xx-i2s.c 		writel(iiscon,  s3c24xx_i2s.regs + S3C2410_IISCON);
regs              126 sound/soc/samsung/s3c24xx-i2s.c 		writel(iisfcon, s3c24xx_i2s.regs + S3C2410_IISFCON);
regs              127 sound/soc/samsung/s3c24xx-i2s.c 		writel(iiscon,  s3c24xx_i2s.regs + S3C2410_IISCON);
regs              128 sound/soc/samsung/s3c24xx-i2s.c 		writel(iismod,  s3c24xx_i2s.regs + S3C2410_IISMOD);
regs              144 sound/soc/samsung/s3c24xx-i2s.c 		iiscon = readl(s3c24xx_i2s.regs + S3C2410_IISCON);
regs              161 sound/soc/samsung/s3c24xx-i2s.c 	return (readl(s3c24xx_i2s.regs + S3C2410_IISMOD) & S3C2410_IISMOD_SLAVE) ? 0:1;
regs              172 sound/soc/samsung/s3c24xx-i2s.c 	iismod = readl(s3c24xx_i2s.regs + S3C2410_IISMOD);
regs              197 sound/soc/samsung/s3c24xx-i2s.c 	writel(iismod, s3c24xx_i2s.regs + S3C2410_IISMOD);
regs              213 sound/soc/samsung/s3c24xx-i2s.c 	iismod = readl(s3c24xx_i2s.regs + S3C2410_IISMOD);
regs              229 sound/soc/samsung/s3c24xx-i2s.c 	writel(iismod, s3c24xx_i2s.regs + S3C2410_IISMOD);
regs              279 sound/soc/samsung/s3c24xx-i2s.c 	u32 iismod = readl(s3c24xx_i2s.regs + S3C2410_IISMOD);
regs              293 sound/soc/samsung/s3c24xx-i2s.c 	writel(iismod, s3c24xx_i2s.regs + S3C2410_IISMOD);
regs              307 sound/soc/samsung/s3c24xx-i2s.c 		reg = readl(s3c24xx_i2s.regs + S3C2410_IISMOD) & ~S3C2410_IISMOD_FS_MASK;
regs              308 sound/soc/samsung/s3c24xx-i2s.c 		writel(reg | div, s3c24xx_i2s.regs + S3C2410_IISMOD);
regs              311 sound/soc/samsung/s3c24xx-i2s.c 		reg = readl(s3c24xx_i2s.regs + S3C2410_IISMOD) & ~(S3C2410_IISMOD_384FS);
regs              312 sound/soc/samsung/s3c24xx-i2s.c 		writel(reg | div, s3c24xx_i2s.regs + S3C2410_IISMOD);
regs              315 sound/soc/samsung/s3c24xx-i2s.c 		writel(div, s3c24xx_i2s.regs + S3C2410_IISPSR);
regs              316 sound/soc/samsung/s3c24xx-i2s.c 		reg = readl(s3c24xx_i2s.regs + S3C2410_IISCON);
regs              317 sound/soc/samsung/s3c24xx-i2s.c 		writel(reg | S3C2410_IISCON_PSCEN, s3c24xx_i2s.regs + S3C2410_IISCON);
regs              355 sound/soc/samsung/s3c24xx-i2s.c 	writel(S3C2410_IISCON_IISEN, s3c24xx_i2s.regs + S3C2410_IISCON);
regs              366 sound/soc/samsung/s3c24xx-i2s.c 	s3c24xx_i2s.iiscon = readl(s3c24xx_i2s.regs + S3C2410_IISCON);
regs              367 sound/soc/samsung/s3c24xx-i2s.c 	s3c24xx_i2s.iismod = readl(s3c24xx_i2s.regs + S3C2410_IISMOD);
regs              368 sound/soc/samsung/s3c24xx-i2s.c 	s3c24xx_i2s.iisfcon = readl(s3c24xx_i2s.regs + S3C2410_IISFCON);
regs              369 sound/soc/samsung/s3c24xx-i2s.c 	s3c24xx_i2s.iispsr = readl(s3c24xx_i2s.regs + S3C2410_IISPSR);
regs              384 sound/soc/samsung/s3c24xx-i2s.c 	writel(s3c24xx_i2s.iiscon, s3c24xx_i2s.regs + S3C2410_IISCON);
regs              385 sound/soc/samsung/s3c24xx-i2s.c 	writel(s3c24xx_i2s.iismod, s3c24xx_i2s.regs + S3C2410_IISMOD);
regs              386 sound/soc/samsung/s3c24xx-i2s.c 	writel(s3c24xx_i2s.iisfcon, s3c24xx_i2s.regs + S3C2410_IISFCON);
regs              387 sound/soc/samsung/s3c24xx-i2s.c 	writel(s3c24xx_i2s.iispsr, s3c24xx_i2s.regs + S3C2410_IISPSR);
regs              436 sound/soc/samsung/s3c24xx-i2s.c 	s3c24xx_i2s.regs = devm_ioremap_resource(&pdev->dev, res);
regs              437 sound/soc/samsung/s3c24xx-i2s.c 	if (IS_ERR(s3c24xx_i2s.regs))
regs              438 sound/soc/samsung/s3c24xx-i2s.c 		return PTR_ERR(s3c24xx_i2s.regs);
regs               81 sound/soc/samsung/spdif.c 	void __iomem	*regs;
regs              101 sound/soc/samsung/spdif.c 	void __iomem *regs = spdif->regs;
regs              106 sound/soc/samsung/spdif.c 	clkcon = readl(regs + CLKCON) & CLKCTL_MASK;
regs              108 sound/soc/samsung/spdif.c 		writel(clkcon | CLKCTL_PWR_ON, regs + CLKCON);
regs              110 sound/soc/samsung/spdif.c 		writel(clkcon & ~CLKCTL_PWR_ON, regs + CLKCON);
regs              121 sound/soc/samsung/spdif.c 	clkcon = readl(spdif->regs + CLKCON);
regs              128 sound/soc/samsung/spdif.c 	writel(clkcon, spdif->regs + CLKCON);
regs              176 sound/soc/samsung/spdif.c 	void __iomem *regs = spdif->regs;
regs              195 sound/soc/samsung/spdif.c 	con = readl(regs + CON) & CON_MASK;
regs              196 sound/soc/samsung/spdif.c 	cstas = readl(regs + CSTAS) & CSTAS_MASK;
regs              197 sound/soc/samsung/spdif.c 	clkcon = readl(regs + CLKCON) & CLKCTL_MASK;
regs              261 sound/soc/samsung/spdif.c 	writel(con, regs + CON);
regs              262 sound/soc/samsung/spdif.c 	writel(cstas, regs + CSTAS);
regs              263 sound/soc/samsung/spdif.c 	writel(clkcon, regs + CLKCON);
regs              278 sound/soc/samsung/spdif.c 	void __iomem *regs = spdif->regs;
regs              283 sound/soc/samsung/spdif.c 	con = readl(regs + CON) & CON_MASK;
regs              284 sound/soc/samsung/spdif.c 	clkcon = readl(regs + CLKCON) & CLKCTL_MASK;
regs              286 sound/soc/samsung/spdif.c 	writel(con | CON_SW_RESET, regs + CON);
regs              289 sound/soc/samsung/spdif.c 	writel(clkcon & ~CLKCTL_PWR_ON, regs + CLKCON);
regs              300 sound/soc/samsung/spdif.c 	spdif->saved_clkcon = readl(spdif->regs	+ CLKCON) & CLKCTL_MASK;
regs              301 sound/soc/samsung/spdif.c 	spdif->saved_con = readl(spdif->regs + CON) & CON_MASK;
regs              302 sound/soc/samsung/spdif.c 	spdif->saved_cstas = readl(spdif->regs + CSTAS) & CSTAS_MASK;
regs              304 sound/soc/samsung/spdif.c 	writel(con | CON_SW_RESET, spdif->regs + CON);
regs              316 sound/soc/samsung/spdif.c 	writel(spdif->saved_clkcon, spdif->regs	+ CLKCON);
regs              317 sound/soc/samsung/spdif.c 	writel(spdif->saved_con, spdif->regs + CON);
regs              318 sound/soc/samsung/spdif.c 	writel(spdif->saved_cstas, spdif->regs + CSTAS);
regs              411 sound/soc/samsung/spdif.c 	spdif->regs = ioremap(mem_res->start, 0x100);
regs              412 sound/soc/samsung/spdif.c 	if (spdif->regs == NULL) {
regs              445 sound/soc/samsung/spdif.c 	iounmap(spdif->regs);
regs              461 sound/soc/samsung/spdif.c 	iounmap(spdif->regs);
regs               29 sound/soc/sh/rcar/gen.c 	struct regmap_field *regs[REG_MAX];
regs               64 sound/soc/sh/rcar/gen.c 	if (!gen->regs[reg]) {
regs               92 sound/soc/sh/rcar/gen.c 	regmap_fields_read(gen->regs[reg], rsnd_mod_id_cmd(mod), &val);
regs              111 sound/soc/sh/rcar/gen.c 	regmap_fields_force_write(gen->regs[reg], rsnd_mod_id_cmd(mod), data);
regs              128 sound/soc/sh/rcar/gen.c 	regmap_fields_force_update_bits(gen->regs[reg],
regs              158 sound/soc/sh/rcar/gen.c 	struct regmap_field *regs;
regs              197 sound/soc/sh/rcar/gen.c 		regs = devm_regmap_field_alloc(dev, regmap, regf);
regs              198 sound/soc/sh/rcar/gen.c 		if (IS_ERR(regs))
regs              199 sound/soc/sh/rcar/gen.c 			return PTR_ERR(regs);
regs              202 sound/soc/sh/rcar/gen.c 		gen->regs[conf[i].idx] = regs;
regs             1187 sound/soc/sunxi/sun4i-i2s.c 	void __iomem *regs;
regs             1196 sound/soc/sunxi/sun4i-i2s.c 	regs = devm_ioremap_resource(&pdev->dev, res);
regs             1197 sound/soc/sunxi/sun4i-i2s.c 	if (IS_ERR(regs))
regs             1198 sound/soc/sunxi/sun4i-i2s.c 		return PTR_ERR(regs);
regs             1216 sound/soc/sunxi/sun4i-i2s.c 	i2s->regmap = devm_regmap_init_mmio(&pdev->dev, regs,
regs              306 sound/soc/tegra/tegra20_ac97.c 	void __iomem *regs;
regs              325 sound/soc/tegra/tegra20_ac97.c 	regs = devm_ioremap_resource(&pdev->dev, mem);
regs              326 sound/soc/tegra/tegra20_ac97.c 	if (IS_ERR(regs)) {
regs              327 sound/soc/tegra/tegra20_ac97.c 		ret = PTR_ERR(regs);
regs              331 sound/soc/tegra/tegra20_ac97.c 	ac97->regmap = devm_regmap_init_mmio(&pdev->dev, regs,
regs              123 sound/soc/tegra/tegra20_das.c 	void __iomem *regs;
regs              136 sound/soc/tegra/tegra20_das.c 	regs = devm_platform_ioremap_resource(pdev, 0);
regs              137 sound/soc/tegra/tegra20_das.c 	if (IS_ERR(regs)) {
regs              138 sound/soc/tegra/tegra20_das.c 		ret = PTR_ERR(regs);
regs              142 sound/soc/tegra/tegra20_das.c 	das->regmap = devm_regmap_init_mmio(&pdev->dev, regs,
regs              329 sound/soc/tegra/tegra20_i2s.c 	void __iomem *regs;
regs              350 sound/soc/tegra/tegra20_i2s.c 	regs = devm_ioremap_resource(&pdev->dev, mem);
regs              351 sound/soc/tegra/tegra20_i2s.c 	if (IS_ERR(regs)) {
regs              352 sound/soc/tegra/tegra20_i2s.c 		ret = PTR_ERR(regs);
regs              356 sound/soc/tegra/tegra20_i2s.c 	i2s->regmap = devm_regmap_init_mmio(&pdev->dev, regs,
regs              255 sound/soc/tegra/tegra20_spdif.c 	void __iomem *regs;
regs              273 sound/soc/tegra/tegra20_spdif.c 	regs = devm_ioremap_resource(&pdev->dev, mem);
regs              274 sound/soc/tegra/tegra20_spdif.c 	if (IS_ERR(regs))
regs              275 sound/soc/tegra/tegra20_spdif.c 		return PTR_ERR(regs);
regs              283 sound/soc/tegra/tegra20_spdif.c 	spdif->regmap = devm_regmap_init_mmio(&pdev->dev, regs,
regs              371 sound/soc/tegra/tegra30_i2s.c 	void __iomem *regs;
regs              408 sound/soc/tegra/tegra30_i2s.c 	regs = devm_platform_ioremap_resource(pdev, 0);
regs              409 sound/soc/tegra/tegra30_i2s.c 	if (IS_ERR(regs)) {
regs              410 sound/soc/tegra/tegra30_i2s.c 		ret = PTR_ERR(regs);
regs              414 sound/soc/tegra/tegra30_i2s.c 	i2s->regmap = devm_regmap_init_mmio(&pdev->dev, regs,
regs              934 sound/soc/ti/omap-mcbsp.c 	struct omap_mcbsp_reg_cfg *regs = &mcbsp->cfg_regs;
regs             1003 sound/soc/ti/omap-mcbsp.c 	regs->rcr2	&= ~(RPHASE | RFRLEN2(0x7f) | RWDLEN2(7));
regs             1004 sound/soc/ti/omap-mcbsp.c 	regs->xcr2	&= ~(RPHASE | XFRLEN2(0x7f) | XWDLEN2(7));
regs             1005 sound/soc/ti/omap-mcbsp.c 	regs->rcr1	&= ~(RFRLEN1(0x7f) | RWDLEN1(7));
regs             1006 sound/soc/ti/omap-mcbsp.c 	regs->xcr1	&= ~(XFRLEN1(0x7f) | XWDLEN1(7));
regs             1012 sound/soc/ti/omap-mcbsp.c 		regs->rcr2	|= RPHASE;
regs             1013 sound/soc/ti/omap-mcbsp.c 		regs->xcr2	|= XPHASE;
regs             1016 sound/soc/ti/omap-mcbsp.c 		regs->rcr2	|= RFRLEN2(wpf - 1);
regs             1017 sound/soc/ti/omap-mcbsp.c 		regs->xcr2	|= XFRLEN2(wpf - 1);
regs             1020 sound/soc/ti/omap-mcbsp.c 	regs->rcr1	|= RFRLEN1(wpf - 1);
regs             1021 sound/soc/ti/omap-mcbsp.c 	regs->xcr1	|= XFRLEN1(wpf - 1);
regs             1026 sound/soc/ti/omap-mcbsp.c 		regs->rcr2	|= RWDLEN2(OMAP_MCBSP_WORD_16);
regs             1027 sound/soc/ti/omap-mcbsp.c 		regs->rcr1	|= RWDLEN1(OMAP_MCBSP_WORD_16);
regs             1028 sound/soc/ti/omap-mcbsp.c 		regs->xcr2	|= XWDLEN2(OMAP_MCBSP_WORD_16);
regs             1029 sound/soc/ti/omap-mcbsp.c 		regs->xcr1	|= XWDLEN1(OMAP_MCBSP_WORD_16);
regs             1033 sound/soc/ti/omap-mcbsp.c 		regs->rcr2	|= RWDLEN2(OMAP_MCBSP_WORD_32);
regs             1034 sound/soc/ti/omap-mcbsp.c 		regs->rcr1	|= RWDLEN1(OMAP_MCBSP_WORD_32);
regs             1035 sound/soc/ti/omap-mcbsp.c 		regs->xcr2	|= XWDLEN2(OMAP_MCBSP_WORD_32);
regs             1036 sound/soc/ti/omap-mcbsp.c 		regs->xcr1	|= XWDLEN1(OMAP_MCBSP_WORD_32);
regs             1059 sound/soc/ti/omap-mcbsp.c 	regs->srgr2	&= ~FPER(0xfff);
regs             1060 sound/soc/ti/omap-mcbsp.c 	regs->srgr1	&= ~FWID(0xff);
regs             1064 sound/soc/ti/omap-mcbsp.c 		regs->srgr2	|= FPER(framesize - 1);
regs             1065 sound/soc/ti/omap-mcbsp.c 		regs->srgr1	|= FWID((framesize >> 1) - 1);
regs             1069 sound/soc/ti/omap-mcbsp.c 		regs->srgr2	|= FPER(framesize - 1);
regs             1070 sound/soc/ti/omap-mcbsp.c 		regs->srgr1	|= FWID(0);
regs             1089 sound/soc/ti/omap-mcbsp.c 	struct omap_mcbsp_reg_cfg *regs = &mcbsp->cfg_regs;
regs             1096 sound/soc/ti/omap-mcbsp.c 	memset(regs, 0, sizeof(*regs));
regs             1098 sound/soc/ti/omap-mcbsp.c 	regs->spcr2	|= XINTM(3) | FREE;
regs             1099 sound/soc/ti/omap-mcbsp.c 	regs->spcr1	|= RINTM(3);
regs             1102 sound/soc/ti/omap-mcbsp.c 		regs->rcr2	|= RFIG;
regs             1103 sound/soc/ti/omap-mcbsp.c 		regs->xcr2	|= XFIG;
regs             1108 sound/soc/ti/omap-mcbsp.c 		regs->xccr = DXENDLY(1) | XDMAEN | XDISABLE;
regs             1109 sound/soc/ti/omap-mcbsp.c 		regs->rccr = RFULL_CYCLE | RDMAEN | RDISABLE;
regs             1115 sound/soc/ti/omap-mcbsp.c 		regs->rcr2	|= RDATDLY(1);
regs             1116 sound/soc/ti/omap-mcbsp.c 		regs->xcr2	|= XDATDLY(1);
regs             1120 sound/soc/ti/omap-mcbsp.c 		regs->rcr2	|= RDATDLY(0);
regs             1121 sound/soc/ti/omap-mcbsp.c 		regs->xcr2	|= XDATDLY(0);
regs             1122 sound/soc/ti/omap-mcbsp.c 		regs->spcr1	|= RJUST(2);
regs             1128 sound/soc/ti/omap-mcbsp.c 		regs->rcr2      |= RDATDLY(1);
regs             1129 sound/soc/ti/omap-mcbsp.c 		regs->xcr2      |= XDATDLY(1);
regs             1135 sound/soc/ti/omap-mcbsp.c 		regs->rcr2      |= RDATDLY(0);
regs             1136 sound/soc/ti/omap-mcbsp.c 		regs->xcr2      |= XDATDLY(0);
regs             1148 sound/soc/ti/omap-mcbsp.c 		regs->pcr0	|= FSXM | FSRM |
regs             1151 sound/soc/ti/omap-mcbsp.c 		regs->srgr2	|= FSGM;
regs             1155 sound/soc/ti/omap-mcbsp.c 		regs->srgr2	|= FSGM;
regs             1156 sound/soc/ti/omap-mcbsp.c 		regs->pcr0	|= FSXM | FSRM;
regs             1174 sound/soc/ti/omap-mcbsp.c 		regs->pcr0	|= FSXP | FSRP |
regs             1178 sound/soc/ti/omap-mcbsp.c 		regs->pcr0	|= CLKXP | CLKRP;
regs             1181 sound/soc/ti/omap-mcbsp.c 		regs->pcr0	|= FSXP | FSRP;
regs             1189 sound/soc/ti/omap-mcbsp.c 		regs->pcr0 ^= FSXP | FSRP;
regs             1198 sound/soc/ti/omap-mcbsp.c 	struct omap_mcbsp_reg_cfg *regs = &mcbsp->cfg_regs;
regs             1204 sound/soc/ti/omap-mcbsp.c 	regs->srgr1	&= ~CLKGDV(0xff);
regs             1205 sound/soc/ti/omap-mcbsp.c 	regs->srgr1	|= CLKGDV(div - 1);
regs             1215 sound/soc/ti/omap-mcbsp.c 	struct omap_mcbsp_reg_cfg *regs = &mcbsp->cfg_regs;
regs             1226 sound/soc/ti/omap-mcbsp.c 	regs->srgr2 &= ~CLKSM;
regs             1227 sound/soc/ti/omap-mcbsp.c 	regs->pcr0 &= ~SCLKME;
regs             1231 sound/soc/ti/omap-mcbsp.c 		regs->srgr2	|= CLKSM;
regs             1251 sound/soc/ti/omap-mcbsp.c 		regs->srgr2	|= CLKSM;
regs             1252 sound/soc/ti/omap-mcbsp.c 		regs->pcr0	|= SCLKME;
regs             1259 sound/soc/ti/omap-mcbsp.c 		regs->pcr0	&= ~CLKXM;
regs             1262 sound/soc/ti/omap-mcbsp.c 		regs->pcr0	|= SCLKME;
regs             1264 sound/soc/ti/omap-mcbsp.c 		regs->pcr0	&= ~CLKRM;
regs               61 sound/soc/xtensa/xtfpga-i2s.c 	void __iomem *regs;
regs              140 sound/soc/xtensa/xtfpga-i2s.c 			  i2s->regs + XTFPGA_I2S_CHAN0_DATA); \
regs              142 sound/soc/xtensa/xtfpga-i2s.c 			  i2s->regs + XTFPGA_I2S_CHAN0_DATA); \
regs              545 sound/soc/xtensa/xtfpga-i2s.c 	i2s->regs = devm_platform_ioremap_resource(pdev, 0);
regs              546 sound/soc/xtensa/xtfpga-i2s.c 	if (IS_ERR(i2s->regs)) {
regs              547 sound/soc/xtensa/xtfpga-i2s.c 		err = PTR_ERR(i2s->regs);
regs              551 sound/soc/xtensa/xtfpga-i2s.c 	i2s->regmap = devm_regmap_init_mmio(&pdev->dev, i2s->regs,
regs              318 sound/sparc/amd7930.c 	void __iomem		*regs;
regs              353 sound/sparc/amd7930.c 	sbus_writeb(AMR_INIT, amd->regs + AMD7930_CR);
regs              354 sound/sparc/amd7930.c 	sbus_writeb(0, amd->regs + AMD7930_DR);
regs              364 sound/sparc/amd7930.c 	sbus_writeb(AMR_INIT, amd->regs + AMD7930_CR);
regs              365 sound/sparc/amd7930.c 	sbus_writeb(AM_INIT_ACTIVE, amd->regs + AMD7930_DR);
regs              375 sound/sparc/amd7930.c 	sbus_writeb(AMR_INIT, amd->regs + AMD7930_CR);
regs              376 sound/sparc/amd7930.c 	sbus_writeb(AM_INIT_ACTIVE | AM_INIT_DISABLE_INTS, amd->regs + AMD7930_DR);
regs              387 sound/sparc/amd7930.c 	sbus_writeb(AMR_MAP_GX, amd->regs + AMD7930_CR);
regs              388 sound/sparc/amd7930.c 	sbus_writeb(((map->gx >> 0) & 0xff), amd->regs + AMD7930_DR);
regs              389 sound/sparc/amd7930.c 	sbus_writeb(((map->gx >> 8) & 0xff), amd->regs + AMD7930_DR);
regs              391 sound/sparc/amd7930.c 	sbus_writeb(AMR_MAP_GR, amd->regs + AMD7930_CR);
regs              392 sound/sparc/amd7930.c 	sbus_writeb(((map->gr >> 0) & 0xff), amd->regs + AMD7930_DR);
regs              393 sound/sparc/amd7930.c 	sbus_writeb(((map->gr >> 8) & 0xff), amd->regs + AMD7930_DR);
regs              395 sound/sparc/amd7930.c 	sbus_writeb(AMR_MAP_STGR, amd->regs + AMD7930_CR);
regs              396 sound/sparc/amd7930.c 	sbus_writeb(((map->stgr >> 0) & 0xff), amd->regs + AMD7930_DR);
regs              397 sound/sparc/amd7930.c 	sbus_writeb(((map->stgr >> 8) & 0xff), amd->regs + AMD7930_DR);
regs              399 sound/sparc/amd7930.c 	sbus_writeb(AMR_MAP_GER, amd->regs + AMD7930_CR);
regs              400 sound/sparc/amd7930.c 	sbus_writeb(((map->ger >> 0) & 0xff), amd->regs + AMD7930_DR);
regs              401 sound/sparc/amd7930.c 	sbus_writeb(((map->ger >> 8) & 0xff), amd->regs + AMD7930_DR);
regs              403 sound/sparc/amd7930.c 	sbus_writeb(AMR_MAP_MMR1, amd->regs + AMD7930_CR);
regs              404 sound/sparc/amd7930.c 	sbus_writeb(map->mmr1, amd->regs + AMD7930_DR);
regs              406 sound/sparc/amd7930.c 	sbus_writeb(AMR_MAP_MMR2, amd->regs + AMD7930_CR);
regs              407 sound/sparc/amd7930.c 	sbus_writeb(map->mmr2, amd->regs + AMD7930_DR);
regs              505 sound/sparc/amd7930.c 	ir = sbus_readb(amd->regs + AMD7930_IR);
regs              513 sound/sparc/amd7930.c 				sbus_writeb(byte, amd->regs + AMD7930_BBTB);
regs              517 sound/sparc/amd7930.c 				sbus_writeb(0, amd->regs + AMD7930_BBTB);
regs              519 sound/sparc/amd7930.c 			byte = sbus_readb(amd->regs + AMD7930_BBRB);
regs              549 sound/sparc/amd7930.c 			sbus_writeb(AMR_MUX_MCR4, amd->regs + AMD7930_CR);
regs              550 sound/sparc/amd7930.c 			sbus_writeb(AM_MUX_MCR4_ENABLE_INTS, amd->regs + AMD7930_DR);
regs              557 sound/sparc/amd7930.c 			sbus_writeb(AMR_MUX_MCR4, amd->regs + AMD7930_CR);
regs              558 sound/sparc/amd7930.c 			sbus_writeb(0, amd->regs + AMD7930_DR);
regs              917 sound/sparc/amd7930.c 	if (amd->regs)
regs              918 sound/sparc/amd7930.c 		of_iounmap(&op->resource[0], amd->regs,
regs              955 sound/sparc/amd7930.c 	amd->regs = of_ioremap(&op->resource[0], 0,
regs              957 sound/sparc/amd7930.c 	if (!amd->regs) {
regs              991 sound/sparc/amd7930.c 	sbus_writeb(AMR_MUX_MCR1, amd->regs + AMD7930_CR);
regs              993 sound/sparc/amd7930.c 		    amd->regs + AMD7930_DR);
regs               61 sound/sparc/cs4231.c        void __iomem	*regs;
regs             1683 sound/sparc/cs4231.c 	csr = sbus_readl(base->regs + APCCSR);
regs             1697 sound/sparc/cs4231.c 	sbus_writel(bus_addr, base->regs + base->dir + APCNVA);
regs             1698 sound/sparc/cs4231.c 	sbus_writel(len, base->regs + base->dir + APCNC);
regs             1711 sound/sparc/cs4231.c 	csr = sbus_readl(base->regs + APCCSR);
regs             1719 sound/sparc/cs4231.c 	sbus_writel(csr, base->regs + APCCSR);
regs             1731 sound/sparc/cs4231.c 		sbus_writel(0, base->regs + base->dir + APCNC);
regs             1732 sound/sparc/cs4231.c 		sbus_writel(0, base->regs + base->dir + APCNVA);
regs             1734 sound/sparc/cs4231.c 			sbus_writel(0, base->regs + base->dir + APCC);
regs             1735 sound/sparc/cs4231.c 			sbus_writel(0, base->regs + base->dir + APCVA);
regs             1740 sound/sparc/cs4231.c 	csr = sbus_readl(base->regs + APCCSR);
regs             1748 sound/sparc/cs4231.c 	sbus_writel(csr, base->regs + APCCSR);
regs             1753 sound/sparc/cs4231.c 	sbus_writel(csr, base->regs + APCCSR);
regs             1762 sound/sparc/cs4231.c 	return sbus_readl(base->regs + base->dir + APCVA);
regs             1817 sound/sparc/cs4231.c 	chip->c_dma.sbus_info.regs = chip->port;
regs             1818 sound/sparc/cs4231.c 	chip->p_dma.sbus_info.regs = chip->port;
regs             1933 sound/sparc/cs4231.c 	if (chip->c_dma.ebus_info.regs) {
regs             1935 sound/sparc/cs4231.c 		of_iounmap(&op->resource[2], chip->c_dma.ebus_info.regs, 0x10);
regs             1937 sound/sparc/cs4231.c 	if (chip->p_dma.ebus_info.regs) {
regs             1939 sound/sparc/cs4231.c 		of_iounmap(&op->resource[1], chip->p_dma.ebus_info.regs, 0x10);
regs             1997 sound/sparc/cs4231.c 	chip->p_dma.ebus_info.regs =
regs             1999 sound/sparc/cs4231.c 	chip->c_dma.ebus_info.regs =
regs             2001 sound/sparc/cs4231.c 	if (!chip->port || !chip->p_dma.ebus_info.regs ||
regs             2002 sound/sparc/cs4231.c 	    !chip->c_dma.ebus_info.regs) {
regs              310 sound/sparc/dbri.c 	void __iomem *regs;	/* dbri HW regs */
regs              646 sound/sparc/dbri.c 	while ((--maxloops) > 0 && (sbus_readl(dbri->regs + REG0) & D_P)) {
regs              672 sound/sparc/dbri.c 	else if (len < sbus_readl(dbri->regs + REG8) - dvma_addr)
regs              724 sound/sparc/dbri.c 	tmp = sbus_readl(dbri->regs + REG0);
regs              726 sound/sparc/dbri.c 	sbus_writel(tmp, dbri->regs + REG0);
regs              739 sound/sparc/dbri.c 		sbus_readl(dbri->regs + REG0),
regs              740 sound/sparc/dbri.c 		sbus_readl(dbri->regs + REG2),
regs              741 sound/sparc/dbri.c 		sbus_readl(dbri->regs + REG8), sbus_readl(dbri->regs + REG9));
regs              743 sound/sparc/dbri.c 	sbus_writel(D_R, dbri->regs + REG0);	/* Soft Reset */
regs              744 sound/sparc/dbri.c 	for (i = 0; (sbus_readl(dbri->regs + REG0) & D_R) && i < 64; i++)
regs              749 sound/sparc/dbri.c 	tmp = sbus_readl(dbri->regs + REG0);
regs              752 sound/sparc/dbri.c 	sbus_writel(tmp, dbri->regs + REG0);
regs              791 sound/sparc/dbri.c 	sbus_writel(dma_addr, dbri->regs + REG8);
regs             1447 sound/sparc/dbri.c 	tmp = sbus_readl(dbri->regs + REG0);
regs             1449 sound/sparc/dbri.c 	sbus_writel(tmp, dbri->regs + REG0);
regs             1453 sound/sparc/dbri.c 		    (dbri->mm.onboard ? D_PIO0 : D_PIO2), dbri->regs + REG2);
regs             1471 sound/sparc/dbri.c 	tmp = sbus_readl(dbri->regs + REG0);
regs             1473 sound/sparc/dbri.c 	sbus_writel(tmp, dbri->regs + REG0);
regs             1501 sound/sparc/dbri.c 	sbus_writel(val, dbri->regs + REG2);
regs             1524 sound/sparc/dbri.c 	tmp = sbus_readl(dbri->regs + REG0);
regs             1526 sound/sparc/dbri.c 	sbus_writel(tmp, dbri->regs + REG0);
regs             1547 sound/sparc/dbri.c 	tmp = sbus_readl(dbri->regs + REG0);
regs             1549 sound/sparc/dbri.c 	sbus_writel(tmp, dbri->regs + REG0);
regs             1645 sound/sparc/dbri.c 	u32 reg2 = sbus_readl(dbri->regs + REG2);
regs             1660 sound/sparc/dbri.c 			sbus_writel(D_ENPIO2, dbri->regs + REG2);
regs             1940 sound/sparc/dbri.c 	x = sbus_readl(dbri->regs + REG1);
regs             1972 sound/sparc/dbri.c 			tmp = sbus_readl(dbri->regs + REG0);
regs             1974 sound/sparc/dbri.c 			sbus_writel(tmp, dbri->regs + REG0);
regs             2482 sound/sparc/dbri.c 	snd_iprintf(buffer, "REG0: 0x%x\n", sbus_readl(dbri->regs + REG0));
regs             2483 sound/sparc/dbri.c 	snd_iprintf(buffer, "REG2: 0x%x\n", sbus_readl(dbri->regs + REG2));
regs             2484 sound/sparc/dbri.c 	snd_iprintf(buffer, "REG8: 0x%x\n", sbus_readl(dbri->regs + REG8));
regs             2485 sound/sparc/dbri.c 	snd_iprintf(buffer, "REG9: 0x%x\n", sbus_readl(dbri->regs + REG9));
regs             2550 sound/sparc/dbri.c 	dbri->regs = of_ioremap(&op->resource[0], 0,
regs             2552 sound/sparc/dbri.c 	if (!dbri->regs) {
regs             2563 sound/sparc/dbri.c 		of_iounmap(&op->resource[0], dbri->regs, dbri->regs_size);
regs             2588 sound/sparc/dbri.c 	if (dbri->regs)
regs             2589 sound/sparc/dbri.c 		of_iounmap(&dbri->op->resource[0], dbri->regs, dbri->regs_size);
regs             2655 sound/sparc/dbri.c 	       dev, dbri->regs,
regs              193 sound/spi/at73c213.c 	ssc_writel(chip->ssc->regs, CMR, ssc_div/2);
regs              241 sound/spi/at73c213.c 	val = ssc_readl(chip->ssc->regs, TFMR);
regs              243 sound/spi/at73c213.c 	ssc_writel(chip->ssc->regs, TFMR, val);
regs              264 sound/spi/at73c213.c 	ssc_writel(chip->ssc->regs, PDC_TPR,
regs              266 sound/spi/at73c213.c 	ssc_writel(chip->ssc->regs, PDC_TCR,
regs              268 sound/spi/at73c213.c 	ssc_writel(chip->ssc->regs, PDC_TNPR,
regs              270 sound/spi/at73c213.c 	ssc_writel(chip->ssc->regs, PDC_TNCR,
regs              286 sound/spi/at73c213.c 		ssc_writel(chip->ssc->regs, IER, SSC_BIT(IER_ENDTX));
regs              287 sound/spi/at73c213.c 		ssc_writel(chip->ssc->regs, PDC_PTCR, SSC_BIT(PDC_PTCR_TXTEN));
regs              290 sound/spi/at73c213.c 		ssc_writel(chip->ssc->regs, PDC_PTCR, SSC_BIT(PDC_PTCR_TXTDIS));
regs              291 sound/spi/at73c213.c 		ssc_writel(chip->ssc->regs, IDR, SSC_BIT(IDR_ENDTX));
regs              312 sound/spi/at73c213.c 	bytes = ssc_readl(chip->ssc->regs, PDC_TPR)
regs              370 sound/spi/at73c213.c 	status = ssc_readl(chip->ssc->regs, IMR);
regs              382 sound/spi/at73c213.c 		ssc_writel(chip->ssc->regs, PDC_TNPR,
regs              384 sound/spi/at73c213.c 		ssc_writel(chip->ssc->regs, PDC_TNCR,
regs              389 sound/spi/at73c213.c 	ssc_readl(chip->ssc->regs, IMR);
regs              755 sound/spi/at73c213.c 	ssc_writel(chip->ssc->regs, TCMR,
regs              767 sound/spi/at73c213.c 	ssc_writel(chip->ssc->regs, TFMR,
regs              859 sound/spi/at73c213.c 	ssc_writel(chip->ssc->regs, CR, SSC_BIT(CR_TXEN));
regs              873 sound/spi/at73c213.c 	ssc_writel(chip->ssc->regs, CR, SSC_BIT(CR_TXDIS));
regs             1020 sound/spi/at73c213.c 	ssc_writel(chip->ssc->regs, CR, SSC_BIT(CR_TXDIS));
regs             1088 sound/spi/at73c213.c 	ssc_writel(chip->ssc->regs, CR, SSC_BIT(CR_TXDIS));
regs             1102 sound/spi/at73c213.c 	ssc_writel(chip->ssc->regs, CR, SSC_BIT(CR_TXEN));
regs               51 tools/arch/arm64/include/uapi/asm/kvm.h 	struct user_pt_regs regs;	/* sp = sp_el0 */
regs              128 tools/arch/x86/include/uapi/asm/kvm.h 	char regs[KVM_APIC_REG_SIZE];
regs              376 tools/arch/x86/include/uapi/asm/kvm.h 	struct kvm_regs regs;
regs               14 tools/include/uapi/linux/bpf_perf_event.h 	bpf_user_pt_regs_t regs;
regs              415 tools/include/uapi/linux/kvm.h 		struct kvm_sync_regs regs;
regs              488 tools/objtool/arch/x86/decode.c 		state->regs[i].base = CFI_UNDEFINED;
regs              489 tools/objtool/arch/x86/decode.c 		state->regs[i].offset = 0;
regs              497 tools/objtool/arch/x86/decode.c 	state->regs[16].base = CFI_CFA;
regs              498 tools/objtool/arch/x86/decode.c 	state->regs[16].offset = -8;
regs               40 tools/objtool/cfi.h 	struct cfi_reg regs[CFI_NUM_REGS];
regs              219 tools/objtool/check.c 		state->regs[i].base = CFI_UNDEFINED;
regs             1381 tools/objtool/check.c 		if (state->regs[i].base != initial_func_cfi.regs[i].base ||
regs             1382 tools/objtool/check.c 		    state->regs[i].offset != initial_func_cfi.regs[i].offset)
regs             1390 tools/objtool/check.c 	if (state->cfa.base == CFI_BP && state->regs[CFI_BP].base == CFI_CFA &&
regs             1391 tools/objtool/check.c 	    state->regs[CFI_BP].offset == -16)
regs             1394 tools/objtool/check.c 	if (state->drap && state->regs[CFI_BP].base == CFI_BP)
regs             1428 tools/objtool/check.c 	    state->regs[reg].base == CFI_UNDEFINED) {
regs             1429 tools/objtool/check.c 		state->regs[reg].base = base;
regs             1430 tools/objtool/check.c 		state->regs[reg].offset = offset;
regs             1436 tools/objtool/check.c 	state->regs[reg].base = CFI_UNDEFINED;
regs             1437 tools/objtool/check.c 	state->regs[reg].offset = 0;
regs             1497 tools/objtool/check.c 	struct cfi_reg *regs = state->regs;
regs             1519 tools/objtool/check.c 			    regs[CFI_BP].base == CFI_CFA &&
regs             1520 tools/objtool/check.c 			    regs[CFI_BP].offset == -cfa->offset) {
regs             1531 tools/objtool/check.c 				regs[CFI_BP].base = CFI_BP;
regs             1532 tools/objtool/check.c 				regs[CFI_BP].offset = -state->stack_size;
regs             1560 tools/objtool/check.c 				state->stack_size = -state->regs[CFI_BP].offset;
regs             1601 tools/objtool/check.c 				state->stack_size = -(op->src.offset + regs[CFI_BP].offset);
regs             1688 tools/objtool/check.c 			} else if (regs[op->dest.reg].offset == -state->stack_size) {
regs             1711 tools/objtool/check.c 			    op->src.offset == regs[op->dest.reg].offset) {
regs             1717 tools/objtool/check.c 			    op->src.offset == regs[op->dest.reg].offset + cfa->offset) {
regs             1758 tools/objtool/check.c 			} else if (regs[op->src.reg].base == CFI_UNDEFINED) {
regs             1789 tools/objtool/check.c 			else if (regs[op->src.reg].base == CFI_UNDEFINED) {
regs             1815 tools/objtool/check.c 		state->stack_size = -state->regs[CFI_BP].offset - 8;
regs             1859 tools/objtool/check.c 	} else if (memcmp(&state1->regs, &state2->regs, sizeof(state1->regs))) {
regs             1861 tools/objtool/check.c 			if (!memcmp(&state1->regs[i], &state2->regs[i],
regs             1867 tools/objtool/check.c 				  i, state1->regs[i].base, state1->regs[i].offset,
regs             1868 tools/objtool/check.c 				  i, state2->regs[i].base, state2->regs[i].offset);
regs             2365 tools/objtool/check.c 	memcpy(&state.regs, &initial_func_cfi.regs,
regs               18 tools/objtool/check.h 	struct cfi_reg regs[CFI_NUM_REGS];
regs               20 tools/objtool/orc_gen.c 		struct cfi_reg *bp = &insn->state.regs[CFI_BP];
regs                9 tools/perf/arch/arm/include/perf_regs.h void perf_regs_load(u64 *regs);
regs               14 tools/perf/arch/arm/tests/dwarf-unwind.c 			 struct thread *thread, u64 *regs)
regs               27 tools/perf/arch/arm/tests/dwarf-unwind.c 	sp = (unsigned long) regs[PERF_REG_ARM_SP];
regs               48 tools/perf/arch/arm/tests/dwarf-unwind.c 	struct regs_dump *regs = &sample->user_regs;
regs               58 tools/perf/arch/arm/tests/dwarf-unwind.c 	regs->abi  = PERF_SAMPLE_REGS_ABI;
regs               59 tools/perf/arch/arm/tests/dwarf-unwind.c 	regs->regs = buf;
regs               60 tools/perf/arch/arm/tests/dwarf-unwind.c 	regs->mask = PERF_REGS_MASK;
regs                9 tools/perf/arch/arm64/include/perf_regs.h void perf_regs_load(u64 *regs);
regs               14 tools/perf/arch/arm64/tests/dwarf-unwind.c 		struct thread *thread, u64 *regs)
regs               27 tools/perf/arch/arm64/tests/dwarf-unwind.c 	sp = (unsigned long) regs[PERF_REG_ARM64_SP];
regs               48 tools/perf/arch/arm64/tests/dwarf-unwind.c 	struct regs_dump *regs = &sample->user_regs;
regs               58 tools/perf/arch/arm64/tests/dwarf-unwind.c 	regs->abi  = PERF_SAMPLE_REGS_ABI;
regs               59 tools/perf/arch/arm64/tests/dwarf-unwind.c 	regs->regs = buf;
regs               60 tools/perf/arch/arm64/tests/dwarf-unwind.c 	regs->mask = PERF_REGS_MASK;
regs               25 tools/perf/arch/arm64/util/dwarf-regs.c 	(index * sizeof((struct user_pt_regs *)0)->regs[0])
regs                9 tools/perf/arch/powerpc/include/perf_regs.h void perf_regs_load(u64 *regs);
regs               15 tools/perf/arch/powerpc/tests/dwarf-unwind.c 			 struct thread *thread, u64 *regs)
regs               28 tools/perf/arch/powerpc/tests/dwarf-unwind.c 	sp = (unsigned long) regs[PERF_REG_POWERPC_R1];
regs               49 tools/perf/arch/powerpc/tests/dwarf-unwind.c 	struct regs_dump *regs = &sample->user_regs;
regs               59 tools/perf/arch/powerpc/tests/dwarf-unwind.c 	regs->abi  = PERF_SAMPLE_REGS_ABI;
regs               60 tools/perf/arch/powerpc/tests/dwarf-unwind.c 	regs->regs = buf;
regs               61 tools/perf/arch/powerpc/tests/dwarf-unwind.c 	regs->mask = PERF_REGS_MASK;
regs                8 tools/perf/arch/s390/include/perf_regs.h void perf_regs_load(u64 *regs);
regs                9 tools/perf/arch/x86/include/perf_regs.h void perf_regs_load(u64 *regs);
regs               15 tools/perf/arch/x86/tests/dwarf-unwind.c 			 struct thread *thread, u64 *regs)
regs               28 tools/perf/arch/x86/tests/dwarf-unwind.c 	sp = (unsigned long) regs[PERF_REG_X86_SP];
regs               49 tools/perf/arch/x86/tests/dwarf-unwind.c 	struct regs_dump *regs = &sample->user_regs;
regs               59 tools/perf/arch/x86/tests/dwarf-unwind.c 	regs->abi  = PERF_SAMPLE_REGS_ABI;
regs               60 tools/perf/arch/x86/tests/dwarf-unwind.c 	regs->regs = buf;
regs               61 tools/perf/arch/x86/tests/dwarf-unwind.c 	regs->mask = PERF_REGS_MASK;
regs              588 tools/perf/builtin-script.c static int perf_sample__fprintf_regs(struct regs_dump *regs, uint64_t mask,
regs              595 tools/perf/builtin-script.c 	if (!regs || !regs->regs)
regs              598 tools/perf/builtin-script.c 	printed += fprintf(fp, " ABI:%" PRIu64 " ", regs->abi);
regs              601 tools/perf/builtin-script.c 		u64 val = regs->regs[i++];
regs              122 tools/perf/tests/dwarf-unwind.c 	zfree(&sample.user_regs.regs);
regs              112 tools/perf/tests/sample-parsing.c 		    (!s1->user_regs.regs || !s2->user_regs.regs ||
regs              113 tools/perf/tests/sample-parsing.c 		     memcmp(s1->user_regs.regs, s2->user_regs.regs, sz))) {
regs              143 tools/perf/tests/sample-parsing.c 		    (!s1->intr_regs.regs || !s2->intr_regs.regs ||
regs              144 tools/perf/tests/sample-parsing.c 		     memcmp(s1->intr_regs.regs, s2->intr_regs.regs, sz))) {
regs              182 tools/perf/tests/sample-parsing.c 	u64 regs[64];
regs              205 tools/perf/tests/sample-parsing.c 			.regs	= regs,
regs              218 tools/perf/tests/sample-parsing.c 			.regs	= regs,
regs              233 tools/perf/tests/sample-parsing.c 	for (i = 0; i < sizeof(regs); i++)
regs              234 tools/perf/tests/sample-parsing.c 		*(i + (u8 *)regs) = i & 0xfe;
regs               50 tools/perf/util/event.h 	u64 *regs;
regs             2142 tools/perf/util/evsel.c 			data->user_regs.regs = (u64 *)array;
regs             2198 tools/perf/util/evsel.c 			data->intr_regs.regs = (u64 *)array;
regs             1760 tools/perf/util/intel-pt.c 		u64 regs[sizeof(sample.intr_regs.mask)];
regs             1767 tools/perf/util/intel-pt.c 		sample.intr_regs.regs = regs;
regs             1769 tools/perf/util/intel-pt.c 		pos = intel_pt_add_gp_regs(&sample.intr_regs, regs, items, regs_mask);
regs             2493 tools/perf/util/machine.c 	if ((!sample->user_regs.regs) ||
regs               27 tools/perf/util/perf_regs.c int perf_reg_value(u64 *valp, struct regs_dump *regs, int id)
regs               30 tools/perf/util/perf_regs.c 	u64 mask = regs->mask;
regs               32 tools/perf/util/perf_regs.c 	if (regs->cache_mask & (1ULL << id))
regs               43 tools/perf/util/perf_regs.c 	regs->cache_mask |= (1ULL << id);
regs               44 tools/perf/util/perf_regs.c 	regs->cache_regs[id] = regs->regs[idx];
regs               47 tools/perf/util/perf_regs.c 	*valp = regs->cache_regs[id];
regs               34 tools/perf/util/perf_regs.h int perf_reg_value(u64 *valp, struct regs_dump *regs, int id);
regs               48 tools/perf/util/perf_regs.h 				 struct regs_dump *regs __maybe_unused,
regs              174 tools/perf/util/probe-finder.c 	const char *regs;
regs              260 tools/perf/util/probe-finder.c 	regs = get_dwarf_regstr(regn, machine);
regs              261 tools/perf/util/probe-finder.c 	if (!regs) {
regs              268 tools/perf/util/probe-finder.c 	tvar->value = strdup(regs);
regs              688 tools/perf/util/scripting-engines/trace-event-python.c static int regs_map(struct regs_dump *regs, uint64_t mask, char *bf, int size)
regs              696 tools/perf/util/scripting-engines/trace-event-python.c 		u64 val = regs->regs[i++];
regs             1091 tools/perf/util/session.c static void regs_dump__printf(u64 mask, u64 *regs)
regs             1096 tools/perf/util/session.c 		u64 val = regs[i++];
regs             1117 tools/perf/util/session.c static void regs__printf(const char *type, struct regs_dump *regs)
regs             1119 tools/perf/util/session.c 	u64 mask = regs->mask;
regs             1124 tools/perf/util/session.c 	       regs_dump_abi(regs));
regs             1126 tools/perf/util/session.c 	regs_dump__printf(mask, regs->regs);
regs             1133 tools/perf/util/session.c 	if (user_regs->regs)
regs             1141 tools/perf/util/session.c 	if (intr_regs->regs)
regs             1351 tools/perf/util/synthetic-events.c 			memcpy(array, sample->user_regs.regs, sz);
regs             1387 tools/perf/util/synthetic-events.c 			memcpy(array, sample->intr_regs.regs, sz);
regs              210 tools/perf/util/unwind-libdw.c 	if (!data->user_regs.regs)
regs              496 tools/perf/util/unwind-libunwind-local.c 	if (__write || !stack || !ui->sample->user_regs.regs) {
regs              545 tools/perf/util/unwind-libunwind-local.c 	if (!ui->sample->user_regs.regs) {
regs              714 tools/perf/util/unwind-libunwind-local.c 	if (!data->user_regs.regs)
regs              445 tools/testing/selftests/bpf/bpf_helpers.h #define PT_REGS_PARM1(x) (((PT_REGS_ARM64 *)(x))->regs[0])
regs              446 tools/testing/selftests/bpf/bpf_helpers.h #define PT_REGS_PARM2(x) (((PT_REGS_ARM64 *)(x))->regs[1])
regs              447 tools/testing/selftests/bpf/bpf_helpers.h #define PT_REGS_PARM3(x) (((PT_REGS_ARM64 *)(x))->regs[2])
regs              448 tools/testing/selftests/bpf/bpf_helpers.h #define PT_REGS_PARM4(x) (((PT_REGS_ARM64 *)(x))->regs[3])
regs              449 tools/testing/selftests/bpf/bpf_helpers.h #define PT_REGS_PARM5(x) (((PT_REGS_ARM64 *)(x))->regs[4])
regs              450 tools/testing/selftests/bpf/bpf_helpers.h #define PT_REGS_RET(x) (((PT_REGS_ARM64 *)(x))->regs[30])
regs              452 tools/testing/selftests/bpf/bpf_helpers.h #define PT_REGS_FP(x) (((PT_REGS_ARM64 *)(x))->regs[29])
regs              453 tools/testing/selftests/bpf/bpf_helpers.h #define PT_REGS_RC(x) (((PT_REGS_ARM64 *)(x))->regs[0])
regs              459 tools/testing/selftests/bpf/bpf_helpers.h #define PT_REGS_PARM1(x) ((x)->regs[4])
regs              460 tools/testing/selftests/bpf/bpf_helpers.h #define PT_REGS_PARM2(x) ((x)->regs[5])
regs              461 tools/testing/selftests/bpf/bpf_helpers.h #define PT_REGS_PARM3(x) ((x)->regs[6])
regs              462 tools/testing/selftests/bpf/bpf_helpers.h #define PT_REGS_PARM4(x) ((x)->regs[7])
regs              463 tools/testing/selftests/bpf/bpf_helpers.h #define PT_REGS_PARM5(x) ((x)->regs[8])
regs              464 tools/testing/selftests/bpf/bpf_helpers.h #define PT_REGS_RET(x) ((x)->regs[31])
regs              465 tools/testing/selftests/bpf/bpf_helpers.h #define PT_REGS_FP(x) ((x)->regs[30]) /* Works only with CONFIG_FRAME_POINTER */
regs              466 tools/testing/selftests/bpf/bpf_helpers.h #define PT_REGS_RC(x) ((x)->regs[1])
regs              467 tools/testing/selftests/bpf/bpf_helpers.h #define PT_REGS_SP(x) ((x)->regs[29])
regs              119 tools/testing/selftests/kvm/include/kvm_util.h void vcpu_regs_get(struct kvm_vm *vm, uint32_t vcpuid, struct kvm_regs *regs);
regs              120 tools/testing/selftests/kvm/include/kvm_util.h void vcpu_regs_set(struct kvm_vm *vm, uint32_t vcpuid, struct kvm_regs *regs);
regs              309 tools/testing/selftests/kvm/lib/aarch64/processor.c 	get_reg(vm, vcpuid, ARM64_CORE_REG(regs.pstate), &pstate);
regs              310 tools/testing/selftests/kvm/lib/aarch64/processor.c 	get_reg(vm, vcpuid, ARM64_CORE_REG(regs.pc), &pc);
regs              329 tools/testing/selftests/kvm/lib/aarch64/processor.c 	set_reg(vm, vcpuid, ARM64_CORE_REG(regs.pc), (uint64_t)guest_code);
regs             1217 tools/testing/selftests/kvm/lib/kvm_util.c void vcpu_regs_get(struct kvm_vm *vm, uint32_t vcpuid, struct kvm_regs *regs)
regs             1224 tools/testing/selftests/kvm/lib/kvm_util.c 	ret = ioctl(vcpu->fd, KVM_GET_REGS, regs);
regs             1244 tools/testing/selftests/kvm/lib/kvm_util.c void vcpu_regs_set(struct kvm_vm *vm, uint32_t vcpuid, struct kvm_regs *regs)
regs             1251 tools/testing/selftests/kvm/lib/kvm_util.c 	ret = ioctl(vcpu->fd, KVM_SET_REGS, regs);
regs               68 tools/testing/selftests/kvm/lib/kvm_util_internal.h void regs_dump(FILE *stream, struct kvm_regs *regs, uint8_t indent);
regs              245 tools/testing/selftests/kvm/lib/s390x/processor.c 	struct kvm_regs regs;
regs              258 tools/testing/selftests/kvm/lib/s390x/processor.c 	vcpu_regs_get(vm, vcpuid, &regs);
regs              259 tools/testing/selftests/kvm/lib/s390x/processor.c 	regs.gprs[15] = stack_vaddr + (DEFAULT_STACK_PGS * getpagesize()) - 160;
regs              260 tools/testing/selftests/kvm/lib/s390x/processor.c 	vcpu_regs_set(vm, vcpuid, &regs);
regs               47 tools/testing/selftests/kvm/lib/s390x/ucall.c 		memcpy(&ucall, addr_gva2hva(vm, run->s.regs.gprs[reg]),
regs               94 tools/testing/selftests/kvm/lib/x86_64/processor.c void regs_dump(FILE *stream, struct kvm_regs *regs,
regs              100 tools/testing/selftests/kvm/lib/x86_64/processor.c 		regs->rax, regs->rbx, regs->rcx, regs->rdx);
regs              104 tools/testing/selftests/kvm/lib/x86_64/processor.c 		regs->rsi, regs->rdi, regs->rsp, regs->rbp);
regs              108 tools/testing/selftests/kvm/lib/x86_64/processor.c 		regs->r8, regs->r9, regs->r10, regs->r11);
regs              112 tools/testing/selftests/kvm/lib/x86_64/processor.c 		regs->r12, regs->r13, regs->r14, regs->r15);
regs              115 tools/testing/selftests/kvm/lib/x86_64/processor.c 		regs->rip, regs->rflags);
regs              652 tools/testing/selftests/kvm/lib/x86_64/processor.c 	struct kvm_regs regs;
regs              662 tools/testing/selftests/kvm/lib/x86_64/processor.c 	vcpu_regs_get(vm, vcpuid, &regs);
regs              663 tools/testing/selftests/kvm/lib/x86_64/processor.c 	regs.rflags = regs.rflags | 0x2;
regs              664 tools/testing/selftests/kvm/lib/x86_64/processor.c 	regs.rsp = stack_vaddr + (DEFAULT_STACK_PGS * getpagesize());
regs              665 tools/testing/selftests/kvm/lib/x86_64/processor.c 	regs.rip = (unsigned long) guest_code;
regs              666 tools/testing/selftests/kvm/lib/x86_64/processor.c 	vcpu_regs_set(vm, vcpuid, &regs);
regs              925 tools/testing/selftests/kvm/lib/x86_64/processor.c 	struct kvm_regs regs;
regs              932 tools/testing/selftests/kvm/lib/x86_64/processor.c 	vcpu_regs_get(vm, vcpuid, &regs);
regs              935 tools/testing/selftests/kvm/lib/x86_64/processor.c 		regs.rdi = va_arg(ap, uint64_t);
regs              938 tools/testing/selftests/kvm/lib/x86_64/processor.c 		regs.rsi = va_arg(ap, uint64_t);
regs              941 tools/testing/selftests/kvm/lib/x86_64/processor.c 		regs.rdx = va_arg(ap, uint64_t);
regs              944 tools/testing/selftests/kvm/lib/x86_64/processor.c 		regs.rcx = va_arg(ap, uint64_t);
regs              947 tools/testing/selftests/kvm/lib/x86_64/processor.c 		regs.r8 = va_arg(ap, uint64_t);
regs              950 tools/testing/selftests/kvm/lib/x86_64/processor.c 		regs.r9 = va_arg(ap, uint64_t);
regs              952 tools/testing/selftests/kvm/lib/x86_64/processor.c 	vcpu_regs_set(vm, vcpuid, &regs);
regs              974 tools/testing/selftests/kvm/lib/x86_64/processor.c 	struct kvm_regs regs;
regs              980 tools/testing/selftests/kvm/lib/x86_64/processor.c 	vcpu_regs_get(vm, vcpuid, &regs);
regs              981 tools/testing/selftests/kvm/lib/x86_64/processor.c 	regs_dump(stream, &regs, indent + 4);
regs              991 tools/testing/selftests/kvm/lib/x86_64/processor.c 	struct kvm_regs regs;
regs             1055 tools/testing/selftests/kvm/lib/x86_64/processor.c 	r = ioctl(vcpu->fd, KVM_GET_REGS, &state->regs);
regs             1134 tools/testing/selftests/kvm/lib/x86_64/processor.c 	r = ioctl(vcpu->fd, KVM_SET_REGS, &state->regs);
regs               44 tools/testing/selftests/kvm/lib/x86_64/ucall.c 		struct kvm_regs regs;
regs               46 tools/testing/selftests/kvm/lib/x86_64/ucall.c 		vcpu_regs_get(vm, vcpu_id, &regs);
regs               47 tools/testing/selftests/kvm/lib/x86_64/ucall.c 		memcpy(&ucall, addr_gva2hva(vm, (vm_vaddr_t)regs.rdi),
regs               70 tools/testing/selftests/kvm/s390x/sync_regs_test.c 	struct kvm_regs regs;
regs              133 tools/testing/selftests/kvm/s390x/sync_regs_test.c 	vcpu_regs_get(vm, VCPU_ID, &regs);
regs              134 tools/testing/selftests/kvm/s390x/sync_regs_test.c 	compare_regs(&regs, &run->s.regs);
regs              137 tools/testing/selftests/kvm/s390x/sync_regs_test.c 	compare_sregs(&sregs, &run->s.regs);
regs              140 tools/testing/selftests/kvm/s390x/sync_regs_test.c 	run->s.regs.gprs[11] = 0xBAD1DEA;
regs              141 tools/testing/selftests/kvm/s390x/sync_regs_test.c 	run->s.regs.acrs[0] = 1 << 11;
regs              151 tools/testing/selftests/kvm/s390x/sync_regs_test.c 	TEST_ASSERT(run->s.regs.gprs[11] == 0xBAD1DEA + 1,
regs              153 tools/testing/selftests/kvm/s390x/sync_regs_test.c 		    run->s.regs.gprs[11]);
regs              154 tools/testing/selftests/kvm/s390x/sync_regs_test.c 	TEST_ASSERT(run->s.regs.acrs[0]  == 1 << 11,
regs              156 tools/testing/selftests/kvm/s390x/sync_regs_test.c 		    run->s.regs.acrs[0]);
regs              158 tools/testing/selftests/kvm/s390x/sync_regs_test.c 	vcpu_regs_get(vm, VCPU_ID, &regs);
regs              159 tools/testing/selftests/kvm/s390x/sync_regs_test.c 	compare_regs(&regs, &run->s.regs);
regs              162 tools/testing/selftests/kvm/s390x/sync_regs_test.c 	compare_sregs(&sregs, &run->s.regs);
regs              169 tools/testing/selftests/kvm/s390x/sync_regs_test.c 	run->s.regs.gprs[11] = 0xDEADBEEF;
regs              176 tools/testing/selftests/kvm/s390x/sync_regs_test.c 	TEST_ASSERT(run->s.regs.gprs[11] != 0xDEADBEEF,
regs              178 tools/testing/selftests/kvm/s390x/sync_regs_test.c 		    run->s.regs.gprs[11]);
regs               92 tools/testing/selftests/kvm/x86_64/smm_test.c 	struct kvm_regs regs;
regs              131 tools/testing/selftests/kvm/x86_64/smm_test.c 		memset(&regs, 0, sizeof(regs));
regs              132 tools/testing/selftests/kvm/x86_64/smm_test.c 		vcpu_regs_get(vm, VCPU_ID, &regs);
regs              134 tools/testing/selftests/kvm/x86_64/smm_test.c 		stage_reported = regs.rax & 0xff;
regs               84 tools/testing/selftests/kvm/x86_64/sync_regs_test.c 	struct kvm_regs regs;
regs              146 tools/testing/selftests/kvm/x86_64/sync_regs_test.c 	vcpu_regs_get(vm, VCPU_ID, &regs);
regs              147 tools/testing/selftests/kvm/x86_64/sync_regs_test.c 	compare_regs(&regs, &run->s.regs.regs);
regs              150 tools/testing/selftests/kvm/x86_64/sync_regs_test.c 	compare_sregs(&sregs, &run->s.regs.sregs);
regs              153 tools/testing/selftests/kvm/x86_64/sync_regs_test.c 	compare_vcpu_events(&events, &run->s.regs.events);
regs              156 tools/testing/selftests/kvm/x86_64/sync_regs_test.c 	run->s.regs.regs.rbx = 0xBAD1DEA;
regs              157 tools/testing/selftests/kvm/x86_64/sync_regs_test.c 	run->s.regs.sregs.apic_base = 1 << 11;
regs              167 tools/testing/selftests/kvm/x86_64/sync_regs_test.c 	TEST_ASSERT(run->s.regs.regs.rbx == 0xBAD1DEA + 1,
regs              169 tools/testing/selftests/kvm/x86_64/sync_regs_test.c 		    run->s.regs.regs.rbx);
regs              170 tools/testing/selftests/kvm/x86_64/sync_regs_test.c 	TEST_ASSERT(run->s.regs.sregs.apic_base == 1 << 11,
regs              172 tools/testing/selftests/kvm/x86_64/sync_regs_test.c 		    run->s.regs.sregs.apic_base);
regs              174 tools/testing/selftests/kvm/x86_64/sync_regs_test.c 	vcpu_regs_get(vm, VCPU_ID, &regs);
regs              175 tools/testing/selftests/kvm/x86_64/sync_regs_test.c 	compare_regs(&regs, &run->s.regs.regs);
regs              178 tools/testing/selftests/kvm/x86_64/sync_regs_test.c 	compare_sregs(&sregs, &run->s.regs.sregs);
regs              181 tools/testing/selftests/kvm/x86_64/sync_regs_test.c 	compare_vcpu_events(&events, &run->s.regs.events);
regs              188 tools/testing/selftests/kvm/x86_64/sync_regs_test.c 	run->s.regs.regs.rbx = 0xDEADBEEF;
regs              194 tools/testing/selftests/kvm/x86_64/sync_regs_test.c 	TEST_ASSERT(run->s.regs.regs.rbx != 0xDEADBEEF,
regs              196 tools/testing/selftests/kvm/x86_64/sync_regs_test.c 		    run->s.regs.regs.rbx);
regs              204 tools/testing/selftests/kvm/x86_64/sync_regs_test.c 	run->s.regs.regs.rbx = 0xAAAA;
regs              205 tools/testing/selftests/kvm/x86_64/sync_regs_test.c 	regs.rbx = 0xBAC0;
regs              206 tools/testing/selftests/kvm/x86_64/sync_regs_test.c 	vcpu_regs_set(vm, VCPU_ID, &regs);
regs              212 tools/testing/selftests/kvm/x86_64/sync_regs_test.c 	TEST_ASSERT(run->s.regs.regs.rbx == 0xAAAA,
regs              214 tools/testing/selftests/kvm/x86_64/sync_regs_test.c 		    run->s.regs.regs.rbx);
regs              215 tools/testing/selftests/kvm/x86_64/sync_regs_test.c 	vcpu_regs_get(vm, VCPU_ID, &regs);
regs              216 tools/testing/selftests/kvm/x86_64/sync_regs_test.c 	TEST_ASSERT(regs.rbx == 0xBAC0 + 1,
regs              218 tools/testing/selftests/kvm/x86_64/sync_regs_test.c 		    regs.rbx);
regs              226 tools/testing/selftests/kvm/x86_64/sync_regs_test.c 	run->s.regs.regs.rbx = 0xBBBB;
regs              232 tools/testing/selftests/kvm/x86_64/sync_regs_test.c 	TEST_ASSERT(run->s.regs.regs.rbx == 0xBBBB,
regs              234 tools/testing/selftests/kvm/x86_64/sync_regs_test.c 		    run->s.regs.regs.rbx);
regs              235 tools/testing/selftests/kvm/x86_64/sync_regs_test.c 	vcpu_regs_get(vm, VCPU_ID, &regs);
regs              236 tools/testing/selftests/kvm/x86_64/sync_regs_test.c 	TEST_ASSERT(regs.rbx == 0xBBBB + 1,
regs              238 tools/testing/selftests/kvm/x86_64/sync_regs_test.c 		    regs.rbx);
regs               28 tools/testing/selftests/powerpc/mm/segv_errors.c 	struct pt_regs *regs = ctxt->uc_mcontext.regs;
regs               32 tools/testing/selftests/powerpc/mm/segv_errors.c 	regs->nip += 4;
regs               40 tools/testing/selftests/powerpc/mm/subpage_prot.c 	struct pt_regs *regs = ctxt->uc_mcontext.regs;
regs               48 tools/testing/selftests/powerpc/mm/subpage_prot.c 	dar = (void *)regs->dar;
regs               49 tools/testing/selftests/powerpc/mm/subpage_prot.c 	regs->nip += 4;
regs               28 tools/testing/selftests/powerpc/mm/wild_bctr.c 	struct pt_regs *regs = ctxt->uc_mcontext.regs;
regs               30 tools/testing/selftests/powerpc/mm/wild_bctr.c 	memcpy(&signal_regs, regs, sizeof(signal_regs));
regs              198 tools/testing/selftests/powerpc/ptrace/core-pkey.c 	unsigned long *regs;
regs              244 tools/testing/selftests/powerpc/ptrace/core-pkey.c 	regs = (unsigned long *) note;
regs              247 tools/testing/selftests/powerpc/ptrace/core-pkey.c 	       core_read_running, regs[0], regs[1], regs[2]);
regs              249 tools/testing/selftests/powerpc/ptrace/core-pkey.c 	FAIL_IF(regs[0] != info->amr);
regs              250 tools/testing/selftests/powerpc/ptrace/core-pkey.c 	FAIL_IF(regs[1] != info->iamr);
regs              251 tools/testing/selftests/powerpc/ptrace/core-pkey.c 	FAIL_IF(regs[2] != info->uamor);
regs              260 tools/testing/selftests/powerpc/ptrace/core-pkey.c 	unsigned long regs[3];
regs              268 tools/testing/selftests/powerpc/ptrace/core-pkey.c 	ret = ptrace_read_regs(pid, NT_PPC_PKEY, regs, 3);
regs              272 tools/testing/selftests/powerpc/ptrace/core-pkey.c 	info->amr = regs[0];
regs              273 tools/testing/selftests/powerpc/ptrace/core-pkey.c 	info->iamr = regs[1];
regs              274 tools/testing/selftests/powerpc/ptrace/core-pkey.c 	info->uamor = regs[2];
regs              188 tools/testing/selftests/powerpc/ptrace/ptrace-pkey.c 	unsigned long regs[3];
regs              195 tools/testing/selftests/powerpc/ptrace/ptrace-pkey.c 	ret = ptrace_read_regs(pid, NT_PPC_PKEY, regs, 3);
regs              199 tools/testing/selftests/powerpc/ptrace/ptrace-pkey.c 	info->amr1 = info->amr2 = info->amr3 = regs[0];
regs              200 tools/testing/selftests/powerpc/ptrace/ptrace-pkey.c 	info->expected_iamr = info->new_iamr = regs[1];
regs              201 tools/testing/selftests/powerpc/ptrace/ptrace-pkey.c 	info->expected_uamor = info->new_uamor = regs[2];
regs              212 tools/testing/selftests/powerpc/ptrace/ptrace-pkey.c 	ret = ptrace_read_regs(pid, NT_PPC_PKEY, regs, 3);
regs              216 tools/testing/selftests/powerpc/ptrace/ptrace-pkey.c 	       ptrace_read_running, regs[0], regs[1], regs[2]);
regs              218 tools/testing/selftests/powerpc/ptrace/ptrace-pkey.c 	PARENT_FAIL_IF(regs[0] != info->amr1, &info->child_sync);
regs              219 tools/testing/selftests/powerpc/ptrace/ptrace-pkey.c 	PARENT_FAIL_IF(regs[1] != info->expected_iamr, &info->child_sync);
regs              220 tools/testing/selftests/powerpc/ptrace/ptrace-pkey.c 	PARENT_FAIL_IF(regs[2] != info->expected_uamor, &info->child_sync);
regs              251 tools/testing/selftests/powerpc/ptrace/ptrace-pkey.c 	regs[0] = info->amr1;
regs              252 tools/testing/selftests/powerpc/ptrace/ptrace-pkey.c 	regs[1] = info->new_iamr;
regs              253 tools/testing/selftests/powerpc/ptrace/ptrace-pkey.c 	ret = ptrace_write_regs(pid, NT_PPC_PKEY, regs, 2);
regs              257 tools/testing/selftests/powerpc/ptrace/ptrace-pkey.c 	       ptrace_write_running, regs[0], regs[1]);
regs              260 tools/testing/selftests/powerpc/ptrace/ptrace-pkey.c 	regs[2] = info->new_uamor;
regs              261 tools/testing/selftests/powerpc/ptrace/ptrace-pkey.c 	ret = ptrace_write_regs(pid, NT_PPC_PKEY, regs, 3);
regs              265 tools/testing/selftests/powerpc/ptrace/ptrace-pkey.c 	       ptrace_write_running, regs[0], regs[1], regs[2]);
regs              268 tools/testing/selftests/powerpc/ptrace/ptrace-pkey.c 	ret = ptrace_read_regs(pid, NT_PPC_PKEY, regs, 3);
regs              272 tools/testing/selftests/powerpc/ptrace/ptrace-pkey.c 	       ptrace_read_running, regs[0], regs[1], regs[2]);
regs              274 tools/testing/selftests/powerpc/ptrace/ptrace-pkey.c 	PARENT_FAIL_IF(regs[0] != info->amr2, &info->child_sync);
regs              275 tools/testing/selftests/powerpc/ptrace/ptrace-pkey.c 	PARENT_FAIL_IF(regs[1] != info->expected_iamr, &info->child_sync);
regs              276 tools/testing/selftests/powerpc/ptrace/ptrace-pkey.c 	PARENT_FAIL_IF(regs[2] != info->expected_uamor, &info->child_sync);
regs               56 tools/testing/selftests/powerpc/ptrace/ptrace-syscall.c 	struct pt_regs regs;
regs               96 tools/testing/selftests/powerpc/ptrace/ptrace-syscall.c 	if (ptrace(PTRACE_GETREGS, chld, 0, &regs) != 0)
regs              103 tools/testing/selftests/powerpc/ptrace/ptrace-syscall.c 	if (regs.user_syscall_nr != SYS_gettid ||
regs              104 tools/testing/selftests/powerpc/ptrace/ptrace-syscall.c 	    regs.user_arg0 != 10 || regs.user_arg1 != 11 ||
regs              105 tools/testing/selftests/powerpc/ptrace/ptrace-syscall.c 	    regs.user_arg2 != 12 || regs.user_arg3 != 13 ||
regs              106 tools/testing/selftests/powerpc/ptrace/ptrace-syscall.c 	    regs.user_arg4 != 14 || regs.user_arg5 != 15) {
regs              108 tools/testing/selftests/powerpc/ptrace/ptrace-syscall.c 			(unsigned long)regs.user_syscall_nr,
regs              109 tools/testing/selftests/powerpc/ptrace/ptrace-syscall.c 			(unsigned long)regs.user_arg0,
regs              110 tools/testing/selftests/powerpc/ptrace/ptrace-syscall.c 			(unsigned long)regs.user_arg1,
regs              111 tools/testing/selftests/powerpc/ptrace/ptrace-syscall.c 			(unsigned long)regs.user_arg2,
regs              112 tools/testing/selftests/powerpc/ptrace/ptrace-syscall.c 			(unsigned long)regs.user_arg3,
regs              113 tools/testing/selftests/powerpc/ptrace/ptrace-syscall.c 			(unsigned long)regs.user_arg4,
regs              114 tools/testing/selftests/powerpc/ptrace/ptrace-syscall.c 			(unsigned long)regs.user_arg5);
regs              120 tools/testing/selftests/powerpc/ptrace/ptrace-syscall.c 	       (unsigned long)regs.user_ip);
regs              126 tools/testing/selftests/powerpc/ptrace/ptrace-syscall.c 	regs.user_ip -= 4;
regs              127 tools/testing/selftests/powerpc/ptrace/ptrace-syscall.c 	if (ptrace(PTRACE_SETREGS, chld, 0, &regs) != 0)
regs              134 tools/testing/selftests/powerpc/ptrace/ptrace-syscall.c 	if (ptrace(PTRACE_GETREGS, chld, 0, &regs) != 0)
regs              137 tools/testing/selftests/powerpc/ptrace/ptrace-syscall.c 	if (regs.user_syscall_nr != SYS_gettid ||
regs              138 tools/testing/selftests/powerpc/ptrace/ptrace-syscall.c 	    regs.user_arg0 != 10 || regs.user_arg1 != 11 ||
regs              139 tools/testing/selftests/powerpc/ptrace/ptrace-syscall.c 	    regs.user_arg2 != 12 || regs.user_arg3 != 13 ||
regs              140 tools/testing/selftests/powerpc/ptrace/ptrace-syscall.c 	    regs.user_arg4 != 14 || regs.user_arg5 != 15) {
regs              142 tools/testing/selftests/powerpc/ptrace/ptrace-syscall.c 			(unsigned long)regs.user_syscall_nr,
regs              143 tools/testing/selftests/powerpc/ptrace/ptrace-syscall.c 			(unsigned long)regs.user_arg0,
regs              144 tools/testing/selftests/powerpc/ptrace/ptrace-syscall.c 			(unsigned long)regs.user_arg1,
regs              145 tools/testing/selftests/powerpc/ptrace/ptrace-syscall.c 			(unsigned long)regs.user_arg2,
regs              146 tools/testing/selftests/powerpc/ptrace/ptrace-syscall.c 			(unsigned long)regs.user_arg3,
regs              147 tools/testing/selftests/powerpc/ptrace/ptrace-syscall.c 			(unsigned long)regs.user_arg4,
regs              148 tools/testing/selftests/powerpc/ptrace/ptrace-syscall.c 			(unsigned long)regs.user_arg5);
regs              155 tools/testing/selftests/powerpc/ptrace/ptrace-syscall.c 	       (unsigned long)regs.user_ip);
regs              161 tools/testing/selftests/powerpc/ptrace/ptrace-syscall.c 	regs.user_syscall_nr = SYS_getpid;
regs              162 tools/testing/selftests/powerpc/ptrace/ptrace-syscall.c 	regs.user_arg0 = 20;
regs              163 tools/testing/selftests/powerpc/ptrace/ptrace-syscall.c 	regs.user_arg1 = 21;
regs              164 tools/testing/selftests/powerpc/ptrace/ptrace-syscall.c 	regs.user_arg2 = 22;
regs              165 tools/testing/selftests/powerpc/ptrace/ptrace-syscall.c 	regs.user_arg3 = 23;
regs              166 tools/testing/selftests/powerpc/ptrace/ptrace-syscall.c 	regs.user_arg4 = 24;
regs              167 tools/testing/selftests/powerpc/ptrace/ptrace-syscall.c 	regs.user_arg5 = 25;
regs              168 tools/testing/selftests/powerpc/ptrace/ptrace-syscall.c 	regs.user_ip -= 4;
regs              170 tools/testing/selftests/powerpc/ptrace/ptrace-syscall.c 	if (ptrace(PTRACE_SETREGS, chld, 0, &regs) != 0)
regs              177 tools/testing/selftests/powerpc/ptrace/ptrace-syscall.c 	if (ptrace(PTRACE_GETREGS, chld, 0, &regs) != 0)
regs              185 tools/testing/selftests/powerpc/ptrace/ptrace-syscall.c 	if (regs.user_syscall_nr != SYS_getpid
regs              186 tools/testing/selftests/powerpc/ptrace/ptrace-syscall.c 		|| regs.user_arg0 != 20 || regs.user_arg1 != 21
regs              187 tools/testing/selftests/powerpc/ptrace/ptrace-syscall.c 		|| regs.user_arg2 != 22 || regs.user_arg3 != 23
regs              188 tools/testing/selftests/powerpc/ptrace/ptrace-syscall.c 		|| regs.user_arg4 != 24 || regs.user_arg5 != 25) {
regs              191 tools/testing/selftests/powerpc/ptrace/ptrace-syscall.c 			(unsigned long)regs.user_syscall_nr,
regs              192 tools/testing/selftests/powerpc/ptrace/ptrace-syscall.c 			(unsigned long)regs.user_arg0,
regs              193 tools/testing/selftests/powerpc/ptrace/ptrace-syscall.c 			(unsigned long)regs.user_arg1,
regs              194 tools/testing/selftests/powerpc/ptrace/ptrace-syscall.c 			(unsigned long)regs.user_arg2,
regs              195 tools/testing/selftests/powerpc/ptrace/ptrace-syscall.c 			(unsigned long)regs.user_arg3,
regs              196 tools/testing/selftests/powerpc/ptrace/ptrace-syscall.c 			(unsigned long)regs.user_arg4,
regs              197 tools/testing/selftests/powerpc/ptrace/ptrace-syscall.c 			(unsigned long)regs.user_arg5);
regs               24 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-tar.c 	unsigned long regs[3];
regs               84 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-tar.c 		regs[0] = mfspr(SPRN_TAR);
regs               85 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-tar.c 		regs[1] = mfspr(SPRN_PPR);
regs               86 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-tar.c 		regs[2] = mfspr(SPRN_DSCR);
regs               90 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-tar.c 				user_read, regs[0], regs[1], regs[2]);
regs               92 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-tar.c 		ret = validate_tar_registers(regs, TAR_4, PPR_4, DSCR_4);
regs              103 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-tar.c 	unsigned long regs[3];
regs              106 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-tar.c 	FAIL_IF(show_tar_registers(child, regs));
regs              108 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-tar.c 			ptrace_read_running, regs[0], regs[1], regs[2]);
regs              110 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-tar.c 	FAIL_IF(validate_tar_registers(regs, TAR_3, PPR_3, DSCR_3));
regs              111 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-tar.c 	FAIL_IF(show_tm_checkpointed_state(child, regs));
regs              113 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-tar.c 			ptrace_read_ckpt, regs[0], regs[1], regs[2]);
regs              115 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-tar.c 	FAIL_IF(validate_tar_registers(regs, TAR_1, PPR_1, DSCR_1));
regs               13 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spr.c 	struct tm_spr_regs regs;
regs               24 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spr.c int validate_tm_spr(struct tm_spr_regs *regs)
regs               26 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spr.c 	FAIL_IF(regs->tm_tfhar != tfhar);
regs               27 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spr.c 	FAIL_IF((regs->tm_texasr == TM_KVM_SCHED) && (regs->tm_tfiar != 0));
regs               85 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spr.c 		ret = validate_tm_spr((struct tm_spr_regs *)&cptr->regs);
regs              100 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spr.c 	FAIL_IF(show_tm_spr(child, (struct tm_spr_regs *)&pptr->regs));
regs              102 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spr.c 	printf("TFHAR: %lx TEXASR: %lx TFIAR: %lx\n", pptr->regs.tm_tfhar,
regs              103 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spr.c 				pptr->regs.tm_texasr, pptr->regs.tm_tfiar);
regs               18 tools/testing/selftests/powerpc/ptrace/ptrace-tm-tar.c 	unsigned long regs[3];
regs               73 tools/testing/selftests/powerpc/ptrace/ptrace-tm-tar.c 		regs[0] = mfspr(SPRN_TAR);
regs               74 tools/testing/selftests/powerpc/ptrace/ptrace-tm-tar.c 		regs[1] = mfspr(SPRN_PPR);
regs               75 tools/testing/selftests/powerpc/ptrace/ptrace-tm-tar.c 		regs[2] = mfspr(SPRN_DSCR);
regs               79 tools/testing/selftests/powerpc/ptrace/ptrace-tm-tar.c 				user_read, regs[0], regs[1], regs[2]);
regs               81 tools/testing/selftests/powerpc/ptrace/ptrace-tm-tar.c 		ret = validate_tar_registers(regs, TAR_4, PPR_4, DSCR_4);
regs               92 tools/testing/selftests/powerpc/ptrace/ptrace-tm-tar.c 	unsigned long regs[3];
regs               95 tools/testing/selftests/powerpc/ptrace/ptrace-tm-tar.c 	FAIL_IF(show_tar_registers(child, regs));
regs               97 tools/testing/selftests/powerpc/ptrace/ptrace-tm-tar.c 			ptrace_read_running, regs[0], regs[1], regs[2]);
regs               99 tools/testing/selftests/powerpc/ptrace/ptrace-tm-tar.c 	FAIL_IF(validate_tar_registers(regs, TAR_2, PPR_2, DSCR_2));
regs              100 tools/testing/selftests/powerpc/ptrace/ptrace-tm-tar.c 	FAIL_IF(show_tm_checkpointed_state(child, regs));
regs              102 tools/testing/selftests/powerpc/ptrace/ptrace-tm-tar.c 			ptrace_read_ckpt, regs[0], regs[1], regs[2]);
regs              104 tools/testing/selftests/powerpc/ptrace/ptrace-tm-tar.c 	FAIL_IF(validate_tar_registers(regs, TAR_1, PPR_1, DSCR_1));
regs              101 tools/testing/selftests/powerpc/ptrace/ptrace.h int ptrace_read_regs(pid_t child, unsigned long type, unsigned long regs[],
regs              109 tools/testing/selftests/powerpc/ptrace/ptrace.h 	iov.iov_base = regs;
regs              121 tools/testing/selftests/powerpc/ptrace/ptrace.h long ptrace_write_regs(pid_t child, unsigned long type, unsigned long regs[],
regs              129 tools/testing/selftests/powerpc/ptrace/ptrace.h 	iov.iov_base = regs;
regs              323 tools/testing/selftests/powerpc/ptrace/ptrace.h 	struct fpr_regs *regs;
regs              326 tools/testing/selftests/powerpc/ptrace/ptrace.h 	regs = (struct fpr_regs *) malloc(sizeof(struct fpr_regs));
regs              327 tools/testing/selftests/powerpc/ptrace/ptrace.h 	ret = ptrace(PTRACE_GETFPREGS, child, NULL, regs);
regs              335 tools/testing/selftests/powerpc/ptrace/ptrace.h 			fpr[i] = regs->fpr[i];
regs              342 tools/testing/selftests/powerpc/ptrace/ptrace.h 	struct fpr_regs *regs;
regs              345 tools/testing/selftests/powerpc/ptrace/ptrace.h 	regs = (struct fpr_regs *) malloc(sizeof(struct fpr_regs));
regs              346 tools/testing/selftests/powerpc/ptrace/ptrace.h 	ret = ptrace(PTRACE_GETFPREGS, child, NULL, regs);
regs              353 tools/testing/selftests/powerpc/ptrace/ptrace.h 		regs->fpr[i] = val;
regs              355 tools/testing/selftests/powerpc/ptrace/ptrace.h 	ret = ptrace(PTRACE_SETFPREGS, child, NULL, regs);
regs              365 tools/testing/selftests/powerpc/ptrace/ptrace.h 	struct fpr_regs *regs;
regs              369 tools/testing/selftests/powerpc/ptrace/ptrace.h 	regs = (struct fpr_regs *) malloc(sizeof(struct fpr_regs));
regs              370 tools/testing/selftests/powerpc/ptrace/ptrace.h 	iov.iov_base = regs;
regs              381 tools/testing/selftests/powerpc/ptrace/ptrace.h 			fpr[i] = regs->fpr[i];
regs              389 tools/testing/selftests/powerpc/ptrace/ptrace.h 	struct fpr_regs *regs;
regs              393 tools/testing/selftests/powerpc/ptrace/ptrace.h 	regs = (struct fpr_regs *) malloc(sizeof(struct fpr_regs));
regs              394 tools/testing/selftests/powerpc/ptrace/ptrace.h 	iov.iov_base = regs;
regs              404 tools/testing/selftests/powerpc/ptrace/ptrace.h 		regs->fpr[i] = val;
regs              417 tools/testing/selftests/powerpc/ptrace/ptrace.h 	struct pt_regs *regs;
regs              420 tools/testing/selftests/powerpc/ptrace/ptrace.h 	regs = (struct pt_regs *) malloc(sizeof(struct pt_regs));
regs              421 tools/testing/selftests/powerpc/ptrace/ptrace.h 	if (!regs) {
regs              426 tools/testing/selftests/powerpc/ptrace/ptrace.h 	ret = ptrace(PTRACE_GETREGS, child, NULL, regs);
regs              434 tools/testing/selftests/powerpc/ptrace/ptrace.h 			gpr[i-14] = regs->gpr[i];
regs              442 tools/testing/selftests/powerpc/ptrace/ptrace.h 	struct pt_regs *regs;
regs              445 tools/testing/selftests/powerpc/ptrace/ptrace.h 	regs = (struct pt_regs *) malloc(sizeof(struct pt_regs));
regs              446 tools/testing/selftests/powerpc/ptrace/ptrace.h 	if (!regs) {
regs              451 tools/testing/selftests/powerpc/ptrace/ptrace.h 	ret = ptrace(PTRACE_GETREGS, child, NULL, regs);
regs              458 tools/testing/selftests/powerpc/ptrace/ptrace.h 		regs->gpr[i] = val;
regs              460 tools/testing/selftests/powerpc/ptrace/ptrace.h 	ret = ptrace(PTRACE_SETREGS, child, NULL, regs);
regs              470 tools/testing/selftests/powerpc/ptrace/ptrace.h 	struct pt_regs *regs;
regs              474 tools/testing/selftests/powerpc/ptrace/ptrace.h 	regs = (struct pt_regs *) malloc(sizeof(struct pt_regs));
regs              475 tools/testing/selftests/powerpc/ptrace/ptrace.h 	if (!regs) {
regs              480 tools/testing/selftests/powerpc/ptrace/ptrace.h 	iov.iov_base = (u64 *) regs;
regs              491 tools/testing/selftests/powerpc/ptrace/ptrace.h 			gpr[i-14] = regs->gpr[i];
regs              499 tools/testing/selftests/powerpc/ptrace/ptrace.h 	struct pt_regs *regs;
regs              503 tools/testing/selftests/powerpc/ptrace/ptrace.h 	regs = (struct pt_regs *) malloc(sizeof(struct pt_regs));
regs              504 tools/testing/selftests/powerpc/ptrace/ptrace.h 	if (!regs) {
regs              508 tools/testing/selftests/powerpc/ptrace/ptrace.h 	iov.iov_base = (u64 *) regs;
regs              518 tools/testing/selftests/powerpc/ptrace/ptrace.h 		regs->gpr[i] = val;
regs              543 tools/testing/selftests/powerpc/ptrace/ptrace.h 	unsigned long regs[34][2];
regs              547 tools/testing/selftests/powerpc/ptrace/ptrace.h 	iov.iov_base = (u64 *) regs;
regs              548 tools/testing/selftests/powerpc/ptrace/ptrace.h 	iov.iov_len = sizeof(regs);
regs              554 tools/testing/selftests/powerpc/ptrace/ptrace.h 	memcpy(vmx, regs, sizeof(regs));
regs              573 tools/testing/selftests/powerpc/ptrace/ptrace.h 	unsigned long regs[34][2];
regs              577 tools/testing/selftests/powerpc/ptrace/ptrace.h 	memcpy(regs, vmx, sizeof(regs));
regs              578 tools/testing/selftests/powerpc/ptrace/ptrace.h 	iov.iov_base = (u64 *) regs;
regs              579 tools/testing/selftests/powerpc/ptrace/ptrace.h 	iov.iov_len = sizeof(regs);
regs              603 tools/testing/selftests/powerpc/ptrace/ptrace.h 	unsigned long regs[32];
regs              607 tools/testing/selftests/powerpc/ptrace/ptrace.h 	iov.iov_base = (u64 *) regs;
regs              608 tools/testing/selftests/powerpc/ptrace/ptrace.h 	iov.iov_len = sizeof(regs);
regs              614 tools/testing/selftests/powerpc/ptrace/ptrace.h 	memcpy(vsx, regs, sizeof(regs));
regs              632 tools/testing/selftests/powerpc/ptrace/ptrace.h 	unsigned long regs[32];
regs              636 tools/testing/selftests/powerpc/ptrace/ptrace.h 	memcpy(regs, vsx, sizeof(regs));
regs              637 tools/testing/selftests/powerpc/ptrace/ptrace.h 	iov.iov_base = (u64 *) regs;
regs              638 tools/testing/selftests/powerpc/ptrace/ptrace.h 	iov.iov_len = sizeof(regs);
regs              650 tools/testing/selftests/powerpc/ptrace/ptrace.h 	struct tm_spr_regs *regs;
regs              654 tools/testing/selftests/powerpc/ptrace/ptrace.h 	regs = (struct tm_spr_regs *) malloc(sizeof(struct tm_spr_regs));
regs              655 tools/testing/selftests/powerpc/ptrace/ptrace.h 	if (!regs) {
regs              660 tools/testing/selftests/powerpc/ptrace/ptrace.h 	iov.iov_base = (u64 *) regs;
regs              670 tools/testing/selftests/powerpc/ptrace/ptrace.h 		memcpy(out, regs, sizeof(struct tm_spr_regs));
regs               27 tools/testing/selftests/powerpc/tm/tm-signal-sigreturn-nt.c 	ucp->uc_mcontext.regs->nip += 4;
regs             1589 tools/testing/selftests/seccomp/seccomp_bpf.c # define SYSCALL_NUM	regs[8]
regs             1590 tools/testing/selftests/seccomp/seccomp_bpf.c # define SYSCALL_RET	regs[0]
regs             1605 tools/testing/selftests/seccomp/seccomp_bpf.c # define SYSCALL_NUM	regs[2]
regs             1606 tools/testing/selftests/seccomp/seccomp_bpf.c # define SYSCALL_SYSCALL_NUM regs[4]
regs             1607 tools/testing/selftests/seccomp/seccomp_bpf.c # define SYSCALL_RET	regs[2]
regs             1639 tools/testing/selftests/seccomp/seccomp_bpf.c 	ARCH_REGS regs;
regs             1641 tools/testing/selftests/seccomp/seccomp_bpf.c 	EXPECT_EQ(0, ptrace(PTRACE_GETREGS, tracee, 0, &regs)) {
regs             1648 tools/testing/selftests/seccomp/seccomp_bpf.c 	iov.iov_base = &regs;
regs             1649 tools/testing/selftests/seccomp/seccomp_bpf.c 	iov.iov_len = sizeof(regs);
regs             1657 tools/testing/selftests/seccomp/seccomp_bpf.c 	if (regs.SYSCALL_NUM == __NR_O32_Linux)
regs             1658 tools/testing/selftests/seccomp/seccomp_bpf.c 		return regs.SYSCALL_SYSCALL_NUM;
regs             1660 tools/testing/selftests/seccomp/seccomp_bpf.c 	return regs.SYSCALL_NUM;
regs             1668 tools/testing/selftests/seccomp/seccomp_bpf.c 	ARCH_REGS regs;
regs             1670 tools/testing/selftests/seccomp/seccomp_bpf.c 	ret = ptrace(PTRACE_GETREGS, tracee, 0, &regs);
regs             1673 tools/testing/selftests/seccomp/seccomp_bpf.c 	iov.iov_base = &regs;
regs             1674 tools/testing/selftests/seccomp/seccomp_bpf.c 	iov.iov_len = sizeof(regs);
regs             1682 tools/testing/selftests/seccomp/seccomp_bpf.c 		regs.SYSCALL_NUM = syscall;
regs             1686 tools/testing/selftests/seccomp/seccomp_bpf.c 		if (regs.SYSCALL_NUM == __NR_O32_Linux)
regs             1687 tools/testing/selftests/seccomp/seccomp_bpf.c 			regs.SYSCALL_SYSCALL_NUM = syscall;
regs             1689 tools/testing/selftests/seccomp/seccomp_bpf.c 			regs.SYSCALL_NUM = syscall;
regs             1724 tools/testing/selftests/seccomp/seccomp_bpf.c 		regs.SYSCALL_RET = result;
regs             1728 tools/testing/selftests/seccomp/seccomp_bpf.c 	ret = ptrace(PTRACE_SETREGS, tracee, 0, &regs);
regs             1730 tools/testing/selftests/seccomp/seccomp_bpf.c 	iov.iov_base = &regs;
regs             1731 tools/testing/selftests/seccomp/seccomp_bpf.c 	iov.iov_len = sizeof(regs);
regs              141 tools/testing/selftests/x86/entry_from_vm86.c 	v86->regs.eip = eip;
regs              181 tools/testing/selftests/x86/entry_from_vm86.c 		printf("[FAIL]\tIncorrect return reason (started at eip = 0x%lx, ended at eip = 0x%lx)\n", eip, v86->regs.eip);
regs              265 tools/testing/selftests/x86/entry_from_vm86.c 	v86.regs.cs = load_addr / 16;
regs              266 tools/testing/selftests/x86/entry_from_vm86.c 	v86.regs.ss = load_addr / 16;
regs              267 tools/testing/selftests/x86/entry_from_vm86.c 	v86.regs.ds = load_addr / 16;
regs              268 tools/testing/selftests/x86/entry_from_vm86.c 	v86.regs.es = load_addr / 16;
regs              271 tools/testing/selftests/x86/entry_from_vm86.c 	v86.regs.esp = 4096;
regs              273 tools/testing/selftests/x86/entry_from_vm86.c 	assert((v86.regs.cs & 3) == 0);	/* Looks like RPL = 0 */
regs              300 tools/testing/selftests/x86/entry_from_vm86.c 	v86.regs.eflags |= X86_EFLAGS_VIP;
regs              301 tools/testing/selftests/x86/entry_from_vm86.c 	v86.regs.eflags &= ~X86_EFLAGS_IF;
regs              305 tools/testing/selftests/x86/entry_from_vm86.c 	v86.regs.eflags = X86_EFLAGS_VIP;
regs              306 tools/testing/selftests/x86/entry_from_vm86.c 	v86.regs.eax = 0;
regs              310 tools/testing/selftests/x86/entry_from_vm86.c 	v86.regs.eflags = X86_EFLAGS_VIP;
regs              311 tools/testing/selftests/x86/entry_from_vm86.c 	v86.regs.eax = X86_EFLAGS_IF;
regs              315 tools/testing/selftests/x86/entry_from_vm86.c 	v86.regs.eflags = 0;
regs              316 tools/testing/selftests/x86/entry_from_vm86.c 	v86.regs.eax = X86_EFLAGS_IF;
regs              319 tools/testing/selftests/x86/entry_from_vm86.c 	v86.regs.eflags = 0;
regs              325 tools/testing/selftests/x86/entry_from_vm86.c 	v86.regs.eax = (unsigned int)-1;
regs              332 tools/testing/selftests/x86/entry_from_vm86.c 	v86.regs.cs = 0;
regs              333 tools/testing/selftests/x86/entry_from_vm86.c 	v86.regs.ss = 0;
regs              201 tools/testing/selftests/x86/ptrace_syscall.c 	struct user_regs_struct regs;
regs              208 tools/testing/selftests/x86/ptrace_syscall.c 	if (ptrace(PTRACE_GETREGS, chld, 0, &regs) != 0)
regs              211 tools/testing/selftests/x86/ptrace_syscall.c 	if (regs.user_syscall_nr != SYS_gettid ||
regs              212 tools/testing/selftests/x86/ptrace_syscall.c 	    regs.user_arg0 != 10 || regs.user_arg1 != 11 ||
regs              213 tools/testing/selftests/x86/ptrace_syscall.c 	    regs.user_arg2 != 12 || regs.user_arg3 != 13 ||
regs              214 tools/testing/selftests/x86/ptrace_syscall.c 	    regs.user_arg4 != 14 || regs.user_arg5 != 15) {
regs              215 tools/testing/selftests/x86/ptrace_syscall.c 		printf("[FAIL]\tInitial args are wrong (nr=%lu, args=%lu %lu %lu %lu %lu %lu)\n", (unsigned long)regs.user_syscall_nr, (unsigned long)regs.user_arg0, (unsigned long)regs.user_arg1, (unsigned long)regs.user_arg2, (unsigned long)regs.user_arg3, (unsigned long)regs.user_arg4, (unsigned long)regs.user_arg5);
regs              222 tools/testing/selftests/x86/ptrace_syscall.c 	       (unsigned long)regs.user_ip);
regs              230 tools/testing/selftests/x86/ptrace_syscall.c 	regs.user_ax = regs.user_syscall_nr;
regs              231 tools/testing/selftests/x86/ptrace_syscall.c 	regs.user_ip -= 2;
regs              232 tools/testing/selftests/x86/ptrace_syscall.c 	if (ptrace(PTRACE_SETREGS, chld, 0, &regs) != 0)
regs              239 tools/testing/selftests/x86/ptrace_syscall.c 	if (ptrace(PTRACE_GETREGS, chld, 0, &regs) != 0)
regs              242 tools/testing/selftests/x86/ptrace_syscall.c 	if (regs.user_syscall_nr != SYS_gettid ||
regs              243 tools/testing/selftests/x86/ptrace_syscall.c 	    regs.user_arg0 != 10 || regs.user_arg1 != 11 ||
regs              244 tools/testing/selftests/x86/ptrace_syscall.c 	    regs.user_arg2 != 12 || regs.user_arg3 != 13 ||
regs              245 tools/testing/selftests/x86/ptrace_syscall.c 	    regs.user_arg4 != 14 || regs.user_arg5 != 15) {
regs              246 tools/testing/selftests/x86/ptrace_syscall.c 		printf("[FAIL]\tRestart nr or args are wrong (nr=%lu, args=%lu %lu %lu %lu %lu %lu)\n", (unsigned long)regs.user_syscall_nr, (unsigned long)regs.user_arg0, (unsigned long)regs.user_arg1, (unsigned long)regs.user_arg2, (unsigned long)regs.user_arg3, (unsigned long)regs.user_arg4, (unsigned long)regs.user_arg5);
regs              253 tools/testing/selftests/x86/ptrace_syscall.c 	       (unsigned long)regs.user_ip);
regs              255 tools/testing/selftests/x86/ptrace_syscall.c 	regs.user_ax = SYS_getpid;
regs              256 tools/testing/selftests/x86/ptrace_syscall.c 	regs.user_arg0 = 20;
regs              257 tools/testing/selftests/x86/ptrace_syscall.c 	regs.user_arg1 = 21;
regs              258 tools/testing/selftests/x86/ptrace_syscall.c 	regs.user_arg2 = 22;
regs              259 tools/testing/selftests/x86/ptrace_syscall.c 	regs.user_arg3 = 23;
regs              260 tools/testing/selftests/x86/ptrace_syscall.c 	regs.user_arg4 = 24;
regs              261 tools/testing/selftests/x86/ptrace_syscall.c 	regs.user_arg5 = 25;
regs              262 tools/testing/selftests/x86/ptrace_syscall.c 	regs.user_ip -= 2;
regs              264 tools/testing/selftests/x86/ptrace_syscall.c 	if (ptrace(PTRACE_SETREGS, chld, 0, &regs) != 0)
regs              271 tools/testing/selftests/x86/ptrace_syscall.c 	if (ptrace(PTRACE_GETREGS, chld, 0, &regs) != 0)
regs              274 tools/testing/selftests/x86/ptrace_syscall.c 	if (regs.user_syscall_nr != SYS_getpid ||
regs              275 tools/testing/selftests/x86/ptrace_syscall.c 	    regs.user_arg0 != 20 || regs.user_arg1 != 21 || regs.user_arg2 != 22 ||
regs              276 tools/testing/selftests/x86/ptrace_syscall.c 	    regs.user_arg3 != 23 || regs.user_arg4 != 24 || regs.user_arg5 != 25) {
regs              277 tools/testing/selftests/x86/ptrace_syscall.c 		printf("[FAIL]\tRestart nr or args are wrong (nr=%lu, args=%lu %lu %lu %lu %lu %lu)\n", (unsigned long)regs.user_syscall_nr, (unsigned long)regs.user_arg0, (unsigned long)regs.user_arg1, (unsigned long)regs.user_arg2, (unsigned long)regs.user_arg3, (unsigned long)regs.user_arg4, (unsigned long)regs.user_arg5);
regs              322 tools/testing/selftests/x86/ptrace_syscall.c 	struct user_regs_struct regs;
regs              331 tools/testing/selftests/x86/ptrace_syscall.c 	if (ptrace(PTRACE_GETREGS, chld, 0, &regs) != 0)
regs              334 tools/testing/selftests/x86/ptrace_syscall.c 	if (regs.user_syscall_nr != SYS_pause ||
regs              335 tools/testing/selftests/x86/ptrace_syscall.c 	    regs.user_arg0 != 0 || regs.user_arg1 != 0 ||
regs              336 tools/testing/selftests/x86/ptrace_syscall.c 	    regs.user_arg2 != 0 || regs.user_arg3 != 0 ||
regs              337 tools/testing/selftests/x86/ptrace_syscall.c 	    regs.user_arg4 != 0 || regs.user_arg5 != 0) {
regs              338 tools/testing/selftests/x86/ptrace_syscall.c 		printf("[FAIL]\tInitial args are wrong (nr=%lu, args=%lu %lu %lu %lu %lu %lu)\n", (unsigned long)regs.user_syscall_nr, (unsigned long)regs.user_arg0, (unsigned long)regs.user_arg1, (unsigned long)regs.user_arg2, (unsigned long)regs.user_arg3, (unsigned long)regs.user_arg4, (unsigned long)regs.user_arg5);
regs              353 tools/testing/selftests/x86/ptrace_syscall.c 	if (ptrace(PTRACE_GETREGS, chld, 0, &regs) != 0)
regs              356 tools/testing/selftests/x86/ptrace_syscall.c 	if (regs.user_syscall_nr != SYS_pause ||
regs              357 tools/testing/selftests/x86/ptrace_syscall.c 	    regs.user_arg0 != 0 || regs.user_arg1 != 0 ||
regs              358 tools/testing/selftests/x86/ptrace_syscall.c 	    regs.user_arg2 != 0 || regs.user_arg3 != 0 ||
regs              359 tools/testing/selftests/x86/ptrace_syscall.c 	    regs.user_arg4 != 0 || regs.user_arg5 != 0) {
regs              360 tools/testing/selftests/x86/ptrace_syscall.c 		printf("[FAIL]\tArgs after SIGUSR1 are wrong (nr=%lu, args=%lu %lu %lu %lu %lu %lu)\n", (unsigned long)regs.user_syscall_nr, (unsigned long)regs.user_arg0, (unsigned long)regs.user_arg1, (unsigned long)regs.user_arg2, (unsigned long)regs.user_arg3, (unsigned long)regs.user_arg4, (unsigned long)regs.user_arg5);
regs              364 tools/testing/selftests/x86/ptrace_syscall.c 		       (long)regs.user_ax);
regs              368 tools/testing/selftests/x86/ptrace_syscall.c 	if (ptrace(PTRACE_SETREGS, chld, 0, &regs) != 0)
regs              391 tools/testing/selftests/x86/ptrace_syscall.c 	if (ptrace(PTRACE_GETREGS, chld, 0, &regs) != 0)
regs              394 tools/testing/selftests/x86/ptrace_syscall.c 	if (regs.user_syscall_nr != SYS_pause ||
regs              395 tools/testing/selftests/x86/ptrace_syscall.c 	    regs.user_arg0 != 0 || regs.user_arg1 != 0 ||
regs              396 tools/testing/selftests/x86/ptrace_syscall.c 	    regs.user_arg2 != 0 || regs.user_arg3 != 0 ||
regs              397 tools/testing/selftests/x86/ptrace_syscall.c 	    regs.user_arg4 != 0 || regs.user_arg5 != 0) {
regs              398 tools/testing/selftests/x86/ptrace_syscall.c 		printf("[FAIL]\tpause did not restart (nr=%lu, args=%lu %lu %lu %lu %lu %lu)\n", (unsigned long)regs.user_syscall_nr, (unsigned long)regs.user_arg0, (unsigned long)regs.user_arg1, (unsigned long)regs.user_arg2, (unsigned long)regs.user_arg3, (unsigned long)regs.user_arg4, (unsigned long)regs.user_arg5);
regs              283 virt/kvm/arm/arch_timer.c 	struct kvm_sync_regs *regs = &vcpu->run->s.regs;
regs              286 virt/kvm/arm/arch_timer.c 	regs->device_irq_level &= ~(KVM_ARM_DEV_EL1_VTIMER |
regs              289 virt/kvm/arm/arch_timer.c 		regs->device_irq_level |= KVM_ARM_DEV_EL1_VTIMER;
regs              291 virt/kvm/arm/arch_timer.c 		regs->device_irq_level |= KVM_ARM_DEV_EL1_PTIMER;
regs              557 virt/kvm/arm/arch_timer.c 	struct kvm_sync_regs *sregs = &vcpu->run->s.regs;
regs              358 virt/kvm/arm/arm.c #define __ptrauth_save_key(regs, key)						\
regs              360 virt/kvm/arm/arm.c 	regs[key ## KEYLO_EL1] = read_sysreg_s(SYS_ ## key ## KEYLO_EL1);	\
regs              361 virt/kvm/arm/arm.c 	regs[key ## KEYHI_EL1] = read_sysreg_s(SYS_ ## key ## KEYHI_EL1);	\
regs              364 virt/kvm/arm/arm.c #define  __ptrauth_save_key(regs, key)	do { } while (0)
regs              392 virt/kvm/arm/pmu.c 	struct kvm_sync_regs *sregs = &vcpu->run->s.regs;
regs              406 virt/kvm/arm/pmu.c 	struct kvm_sync_regs *regs = &vcpu->run->s.regs;
regs              409 virt/kvm/arm/pmu.c 	regs->device_irq_level &= ~KVM_ARM_DEV_PMU;
regs              411 virt/kvm/arm/pmu.c 		regs->device_irq_level |= KVM_ARM_DEV_PMU;
regs              443 virt/kvm/arm/pmu.c 				  struct pt_regs *regs)