/usr/src/linux-headers-5.15.0-190/arch/sh/include/asm
NameSizeModeActions
adc.h2110644editdlrm
addrspace.h18960644editdlrm
alignment.h6540644editdlrm
asm-offsets.h740644editdlrm
atomic-grb.h26770644editdlrm
atomic-irq.h16870644editdlrm
atomic-llsc.h21860644editdlrm
atomic.h8400644editdlrm
barrier.h15030644editdlrm
bitops-cas.h17700644editdlrm
bitops-grb.h63640644editdlrm
bitops-llsc.h28580644editdlrm
bitops-op32.h38420644editdlrm
bitops.h16530644editdlrm
bl_bit.h660644editdlrm
bl_bit_32.h6390644editdlrm
bug.h28350644editdlrm
cache.h11710644editdlrm
cacheflush.h37350644editdlrm
cache_insns.h710644editdlrm
cache_insns_32.h6420644editdlrm
checksum.h680644editdlrm
checksum_32.h50090644editdlrm
clock.h4360644editdlrm
cmpxchg-cas.h5490644editdlrm
cmpxchg-grb.h28690644editdlrm
cmpxchg-irq.h10650644editdlrm
cmpxchg-llsc.h10850644editdlrm
cmpxchg-xchg.h12740644editdlrm
cmpxchg.h18220644editdlrm
device.h4420644editdlrm
dma-register.h17080644editdlrm
dma.h36520644editdlrm
dmabrg.h5360644editdlrm
dwarf.h98960644editdlrm
elf.h60090644editdlrm
entry-macros.S18970644editdlrm
extable.h1350644editdlrm
fb.h4140644editdlrm
fixmap.h25430644editdlrm
flat.h8630644editdlrm
fpu.h16350644editdlrm
freq.h2120644editdlrm
ftrace.h11380644editdlrm
futex-cas.h7280644editdlrm
futex-irq.h4820644editdlrm
futex-llsc.h8700644editdlrm
futex.h13810644editdlrm
gpio.h8510644editdlrm
hardirq.h2670644editdlrm
hd64461.h120680644editdlrm
heartbeat.h3830644editdlrm
hugetlb.h9150644editdlrm
hw_breakpoint.h19700644editdlrm
hw_irq.h9150644editdlrm
i2c-sh7760.h4060644editdlrm
io.h86990644editdlrm
io_generic.h6610644editdlrm
io_noioport.h15020644editdlrm
io_trapped.h14740644editdlrm
irq.h16420644editdlrm
irqflags.h2260644editdlrm
Kbuild1410644editdlrm
kdebug.h4330644editdlrm
kexec.h26720644editdlrm
kgdb.h8510644editdlrm
kprobes.h14070644editdlrm
linkage.h1540644editdlrm
machvec.h8500644editdlrm
mmiowb.h2460644editdlrm
mmu.h22310644editdlrm
mmu_context.h41670644editdlrm
mmu_context_32.h11360644editdlrm
mmzone.h10520644editdlrm
module.h2760644editdlrm
page.h54190644editdlrm
pci.h30070644editdlrm
perf_event.h7970644editdlrm
pgalloc.h11070644editdlrm
pgtable-2level.h5670644editdlrm
pgtable-3level.h14640644editdlrm
pgtable.h43050644editdlrm
pgtable_32.h158990644editdlrm
platform_early.h18500644editdlrm
posix_types.h710644editdlrm
processor.h43420644editdlrm
processor_32.h46140644editdlrm
ptrace.h38340644editdlrm
ptrace_32.h3070644editdlrm
push-switch.h7550644editdlrm
reboot.h4720644editdlrm
romimage-macros.h11260644editdlrm
rtc.h2490644editdlrm
seccomp.h5460644editdlrm
sections.h3110644editdlrm
segment.h8600644editdlrm
setup.h7250644editdlrm
sfp-machine.h27670644editdlrm
sh7760fb.h57400644editdlrm
shmparam.h4890644editdlrm
sh_bios.h7430644editdlrm
siu.h3850644editdlrm
smc37c93x.h56980644editdlrm
smp-ops.h10120644editdlrm
smp.h18470644editdlrm
sparsemem.h3190644editdlrm
spi.h2650644editdlrm
spinlock-cas.h20010644editdlrm
spinlock-llsc.h41490644editdlrm
spinlock.h4380644editdlrm
spinlock_types.h4630644editdlrm
sram.h6700644editdlrm
stackprotector.h7110644editdlrm
stacktrace.h5280644editdlrm
string.h660644editdlrm
string_32.h22080644editdlrm
suspend.h25760644editdlrm
switch_to.h1900644editdlrm
switch_to_32.h36310644editdlrm
syscall.h2010644editdlrm
syscalls.h4540644editdlrm
syscalls_32.h9790644editdlrm
syscall_32.h19170644editdlrm
thread_info.h53420644editdlrm
timex.h6370644editdlrm
tlb.h6250644editdlrm
tlbflush.h18090644editdlrm
topology.h6450644editdlrm
traps.h4240644editdlrm
traps_32.h13380644editdlrm
types.h3260644editdlrm
uaccess.h48110644editdlrm
uaccess_32.h50070644editdlrm
uncached.h13720644editdlrm
unistd.h9190644editdlrm
unwinder.h8560644editdlrm
user.h24400644editdlrm
vermagic.h7090644editdlrm
vga.h1370644editdlrm
vmalloc.h840644editdlrm
vmlinux.lds.h4160644editdlrm
watchdog.h39810644editdlrm
word-at-a-time.h13210644editdlrm
Edit: /usr/src/linux-headers-5.15.0-190/arch/sh/include/asm/processor.h (4342B)
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASM_SH_PROCESSOR_H #define __ASM_SH_PROCESSOR_H #include #include #include #ifndef __ASSEMBLY__ /* * CPU type and hardware bug flags. Kept separately for each CPU. * * Each one of these also needs a CONFIG_CPU_SUBTYPE_xxx entry * in arch/sh/mm/Kconfig, as well as an entry in arch/sh/kernel/setup.c * for parsing the subtype in get_cpu_subtype(). */ enum cpu_type { /* SH-2 types */ CPU_SH7619, CPU_J2, /* SH-2A types */ CPU_SH7201, CPU_SH7203, CPU_SH7206, CPU_SH7263, CPU_SH7264, CPU_SH7269, CPU_MXG, /* SH-3 types */ CPU_SH7705, CPU_SH7706, CPU_SH7707, CPU_SH7708, CPU_SH7708S, CPU_SH7708R, CPU_SH7709, CPU_SH7709A, CPU_SH7710, CPU_SH7712, CPU_SH7720, CPU_SH7721, CPU_SH7729, /* SH-4 types */ CPU_SH7750, CPU_SH7750S, CPU_SH7750R, CPU_SH7751, CPU_SH7751R, CPU_SH7760, CPU_SH4_202, CPU_SH4_501, /* SH-4A types */ CPU_SH7763, CPU_SH7770, CPU_SH7780, CPU_SH7781, CPU_SH7785, CPU_SH7786, CPU_SH7723, CPU_SH7724, CPU_SH7757, CPU_SH7734, CPU_SHX3, /* SH4AL-DSP types */ CPU_SH7343, CPU_SH7722, CPU_SH7366, CPU_SH7372, /* Unknown subtype */ CPU_SH_NONE }; enum cpu_family { CPU_FAMILY_SH2, CPU_FAMILY_SH2A, CPU_FAMILY_SH3, CPU_FAMILY_SH4, CPU_FAMILY_SH4A, CPU_FAMILY_SH4AL_DSP, CPU_FAMILY_UNKNOWN, }; /* * TLB information structure * * Defined for both I and D tlb, per-processor. */ struct tlb_info { unsigned long long next; unsigned long long first; unsigned long long last; unsigned int entries; unsigned int step; unsigned long flags; }; struct sh_cpuinfo { unsigned int type, family; int cut_major, cut_minor; unsigned long loops_per_jiffy; unsigned long asid_cache; struct cache_info icache; /* Primary I-cache */ struct cache_info dcache; /* Primary D-cache */ struct cache_info scache; /* Secondary cache */ /* TLB info */ struct tlb_info itlb; struct tlb_info dtlb; unsigned int phys_bits; unsigned long flags; } __attribute__ ((aligned(L1_CACHE_BYTES))); extern struct sh_cpuinfo cpu_data[]; #define boot_cpu_data cpu_data[0] #define current_cpu_data cpu_data[smp_processor_id()] #define raw_current_cpu_data cpu_data[raw_smp_processor_id()] #define cpu_sleep() __asm__ __volatile__ ("sleep" : : : "memory") #define cpu_relax() barrier() void default_idle(void); void stop_this_cpu(void *); /* Forward decl */ struct seq_operations; struct task_struct; extern struct pt_regs fake_swapper_regs; extern void cpu_init(void); extern void cpu_probe(void); /* arch/sh/kernel/process.c */ extern unsigned int xstate_size; extern void free_thread_xstate(struct task_struct *); extern struct kmem_cache *task_xstate_cachep; /* arch/sh/mm/alignment.c */ extern int get_unalign_ctl(struct task_struct *, unsigned long addr); extern int set_unalign_ctl(struct task_struct *, unsigned int val); #define GET_UNALIGN_CTL(tsk, addr) get_unalign_ctl((tsk), (addr)) #define SET_UNALIGN_CTL(tsk, val) set_unalign_ctl((tsk), (val)) /* arch/sh/mm/init.c */ extern unsigned int mem_init_done; /* arch/sh/kernel/setup.c */ const char *get_cpu_subtype(struct sh_cpuinfo *c); extern const struct seq_operations cpuinfo_op; /* thread_struct flags */ #define SH_THREAD_UAC_NOPRINT (1 << 0) #define SH_THREAD_UAC_SIGBUS (1 << 1) #define SH_THREAD_UAC_MASK (SH_THREAD_UAC_NOPRINT | SH_THREAD_UAC_SIGBUS) /* processor boot mode configuration */ #define MODE_PIN0 (1 << 0) #define MODE_PIN1 (1 << 1) #define MODE_PIN2 (1 << 2) #define MODE_PIN3 (1 << 3) #define MODE_PIN4 (1 << 4) #define MODE_PIN5 (1 << 5) #define MODE_PIN6 (1 << 6) #define MODE_PIN7 (1 << 7) #define MODE_PIN8 (1 << 8) #define MODE_PIN9 (1 << 9) #define MODE_PIN10 (1 << 10) #define MODE_PIN11 (1 << 11) #define MODE_PIN12 (1 << 12) #define MODE_PIN13 (1 << 13) #define MODE_PIN14 (1 << 14) #define MODE_PIN15 (1 << 15) int generic_mode_pins(void); int test_mode_pin(int pin); #ifdef CONFIG_VSYSCALL int vsyscall_init(void); #else #define vsyscall_init() do { } while (0) #endif /* * SH-2A has both 16 and 32-bit opcodes, do lame encoding checks. */ #ifdef CONFIG_CPU_SH2A extern unsigned int instruction_size(unsigned int insn); #else #define instruction_size(insn) (2) #endif void select_idle_routine(void); #endif /* __ASSEMBLY__ */ #include #endif /* __ASM_SH_PROCESSOR_H */