/
usr
/
src
/
linux-headers-5.15.0-190
/
arch
/
arm
/
include
/
asm
/
/usr/src/linux-headers-5.15.0-190/arch/arm/include/asm
mkdir
upload
Name
Size
Mode
Actions
hardware/
-
0755
rm
mach/
-
0755
rm
vdso/
-
0755
rm
xen/
-
0755
rm
archrandom.h
192
0644
edit
dl
rm
arch_gicv3.h
6327
0644
edit
dl
rm
arch_timer.h
3124
0644
edit
dl
rm
arm-cci.h
535
0644
edit
dl
rm
asm-offsets.h
35
0644
edit
dl
rm
assembler.h
13106
0644
edit
dl
rm
atomic.h
12536
0644
edit
dl
rm
auxvec.h
29
0644
edit
dl
rm
barrier.h
2910
0644
edit
dl
rm
bitops.h
7627
0644
edit
dl
rm
bitrev.h
451
0644
edit
dl
rm
bL_switcher.h
2186
0644
edit
dl
rm
bug.h
2620
0644
edit
dl
rm
bugs.h
297
0644
edit
dl
rm
cache.h
794
0644
edit
dl
rm
cacheflush.h
15794
0644
edit
dl
rm
cachetype.h
2779
0644
edit
dl
rm
checksum.h
4026
0644
edit
dl
rm
clocksource.h
161
0644
edit
dl
rm
cmpxchg.h
6328
0644
edit
dl
rm
compiler.h
978
0644
edit
dl
rm
cp15.h
3302
0644
edit
dl
rm
cpu.h
387
0644
edit
dl
rm
cpufeature.h
1291
0644
edit
dl
rm
cpuidle.h
1628
0644
edit
dl
rm
cputype.h
8766
0644
edit
dl
rm
cti.h
3703
0644
edit
dl
rm
dcc.h
623
0644
edit
dl
rm
delay.h
2903
0644
edit
dl
rm
device.h
636
0644
edit
dl
rm
div64.h
2640
0644
edit
dl
rm
dma-direct.h
1341
0644
edit
dl
rm
dma-iommu.h
908
0644
edit
dl
rm
dma-mapping.h
4714
0644
edit
dl
rm
dma.h
4287
0644
edit
dl
rm
dmi.h
378
0644
edit
dl
rm
domain.h
3751
0644
edit
dl
rm
ecard.h
6119
0644
edit
dl
rm
edac.h
995
0644
edit
dl
rm
efi.h
2501
0644
edit
dl
rm
elf.h
4636
0644
edit
dl
rm
entry-macro-multi.S
336
0644
edit
dl
rm
exception.h
416
0644
edit
dl
rm
fb.h
375
0644
edit
dl
rm
fiq.h
1391
0644
edit
dl
rm
firmware.h
1728
0644
edit
dl
rm
fixmap.h
1881
0644
edit
dl
rm
floppy.h
2318
0644
edit
dl
rm
fncpy.h
2552
0644
edit
dl
rm
fpstate.h
1478
0644
edit
dl
rm
ftrace.h
1821
0644
edit
dl
rm
futex.h
4357
0644
edit
dl
rm
glue-cache.h
3515
0644
edit
dl
rm
glue-df.h
2110
0644
edit
dl
rm
glue-pf.h
1005
0644
edit
dl
rm
glue-proc.h
4424
0644
edit
dl
rm
glue.h
613
0644
edit
dl
rm
gpio.h
615
0644
edit
dl
rm
hardirq.h
246
0644
edit
dl
rm
highmem.h
2379
0644
edit
dl
rm
hugetlb-3level.h
690
0644
edit
dl
rm
hugetlb.h
513
0644
edit
dl
rm
hwcap.h
378
0644
edit
dl
rm
hw_breakpoint.h
3811
0644
edit
dl
rm
hw_irq.h
349
0644
edit
dl
rm
hypervisor.h
224
0644
edit
dl
rm
ide.h
566
0644
edit
dl
rm
idmap.h
359
0644
edit
dl
rm
insn.h
636
0644
edit
dl
rm
io.h
15027
0644
edit
dl
rm
irq.h
887
0644
edit
dl
rm
irqflags.h
3969
0644
edit
dl
rm
irq_work.h
234
0644
edit
dl
rm
jump_label.h
1009
0644
edit
dl
rm
kasan.h
708
0644
edit
dl
rm
kasan_def.h
2726
0644
edit
dl
rm
Kbuild
186
0644
edit
dl
rm
kexec-internal.h
272
0644
edit
dl
rm
kexec.h
2255
0644
edit
dl
rm
kgdb.h
2783
0644
edit
dl
rm
kprobes.h
2248
0644
edit
dl
rm
krait-l2-accessors.h
231
0644
edit
dl
rm
linkage.h
216
0644
edit
dl
rm
mc146818rtc.h
720
0644
edit
dl
rm
mcpm.h
12061
0644
edit
dl
rm
mcs_spinlock.h
570
0644
edit
dl
rm
memblock.h
248
0644
edit
dl
rm
memory.h
10945
0644
edit
dl
rm
mmu.h
953
0644
edit
dl
rm
mmu_context.h
3461
0644
edit
dl
rm
module.h
1216
0644
edit
dl
rm
module.lds.h
134
0644
edit
dl
rm
mpu.h
3300
0644
edit
dl
rm
mtd-xip.h
520
0644
edit
dl
rm
neon.h
1041
0644
edit
dl
rm
nwflash.h
195
0644
edit
dl
rm
opcodes-sec.h
350
0644
edit
dl
rm
opcodes-virt.h
684
0644
edit
dl
rm
opcodes.h
8118
0644
edit
dl
rm
outercache.h
3268
0644
edit
dl
rm
page-nommu.h
811
0644
edit
dl
rm
page.h
3448
0644
edit
dl
rm
paravirt.h
477
0644
edit
dl
rm
patch.h
438
0644
edit
dl
rm
pci.h
794
0644
edit
dl
rm
percpu.h
1069
0644
edit
dl
rm
perf_event.h
708
0644
edit
dl
rm
pgalloc.h
3373
0644
edit
dl
rm
pgtable-2level-hwdef.h
3385
0644
edit
dl
rm
pgtable-2level-types.h
1278
0644
edit
dl
rm
pgtable-2level.h
8645
0644
edit
dl
rm
pgtable-3level-hwdef.h
3435
0644
edit
dl
rm
pgtable-3level-types.h
1331
0644
edit
dl
rm
pgtable-3level.h
8148
0644
edit
dl
rm
pgtable-hwdef.h
321
0644
edit
dl
rm
pgtable-nommu.h
1979
0644
edit
dl
rm
pgtable.h
10492
0644
edit
dl
rm
probes.h
1332
0644
edit
dl
rm
proc-fns.h
4754
0644
edit
dl
rm
processor.h
3166
0644
edit
dl
rm
procinfo.h
1152
0644
edit
dl
rm
prom.h
552
0644
edit
dl
rm
psci.h
379
0644
edit
dl
rm
ptdump.h
923
0644
edit
dl
rm
ptrace.h
4841
0644
edit
dl
rm
seccomp.h
281
0644
edit
dl
rm
sections.h
622
0644
edit
dl
rm
secure_cntvoff.h
152
0644
edit
dl
rm
setup.h
773
0644
edit
dl
rm
set_memory.h
720
0644
edit
dl
rm
shmparam.h
419
0644
edit
dl
rm
signal.h
559
0644
edit
dl
rm
smp.h
2839
0644
edit
dl
rm
smp_plat.h
2535
0644
edit
dl
rm
smp_scu.h
1352
0644
edit
dl
rm
smp_twd.h
590
0644
edit
dl
rm
sparsemem.h
716
0644
edit
dl
rm
spectre.h
906
0644
edit
dl
rm
spinlock.h
5645
0644
edit
dl
rm
spinlock_types.h
541
0644
edit
dl
rm
stackprotector.h
1357
0644
edit
dl
rm
stacktrace.h
742
0644
edit
dl
rm
string.h
2277
0644
edit
dl
rm
suspend.h
369
0644
edit
dl
rm
swab.h
1005
0644
edit
dl
rm
switch_to.h
1058
0644
edit
dl
rm
sync_bitops.h
1514
0644
edit
dl
rm
syscall.h
2347
0644
edit
dl
rm
system_info.h
763
0644
edit
dl
rm
system_misc.h
1005
0644
edit
dl
rm
tcm.h
925
0644
edit
dl
rm
therm.h
655
0644
edit
dl
rm
thread_info.h
4974
0644
edit
dl
rm
thread_notify.h
1086
0644
edit
dl
rm
timex.h
431
0644
edit
dl
rm
tlb.h
1442
0644
edit
dl
rm
tlbflush.h
17909
0644
edit
dl
rm
tls.h
3166
0644
edit
dl
rm
topology.h
1139
0644
edit
dl
rm
traps.h
911
0644
edit
dl
rm
uaccess-asm.h
2703
0644
edit
dl
rm
uaccess.h
17431
0644
edit
dl
rm
ucontext.h
2745
0644
edit
dl
rm
unified.h
979
0644
edit
dl
rm
unistd.h
1578
0644
edit
dl
rm
unwind.h
1173
0644
edit
dl
rm
uprobes.h
948
0644
edit
dl
rm
user.h
4302
0644
edit
dl
rm
v7m.h
3233
0644
edit
dl
rm
vdso.h
507
0644
edit
dl
rm
vdso_datapage.h
444
0644
edit
dl
rm
vermagic.h
800
0644
edit
dl
rm
vfp.h
2969
0644
edit
dl
rm
vfpmacros.h
2074
0644
edit
dl
rm
vga.h
305
0644
edit
dl
rm
virt.h
1855
0644
edit
dl
rm
vmalloc.h
87
0644
edit
dl
rm
vmlinux.lds.h
4490
0644
edit
dl
rm
word-at-a-time.h
2128
0644
edit
dl
rm
xor.h
5204
0644
edit
dl
rm
Edit:
/usr/src/linux-headers-5.15.0-190/arch/arm/include/asm/dma.h
(4287B)
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASM_ARM_DMA_H #define __ASM_ARM_DMA_H /* * This is the maximum virtual address which can be DMA'd from. */ #ifndef CONFIG_ZONE_DMA #define MAX_DMA_ADDRESS 0xffffffffUL #else #define MAX_DMA_ADDRESS ({ \ extern phys_addr_t arm_dma_zone_size; \ arm_dma_zone_size && arm_dma_zone_size < (0x100000000ULL - PAGE_OFFSET) ? \ (PAGE_OFFSET + arm_dma_zone_size) : 0xffffffffUL; }) #endif #ifdef CONFIG_ISA_DMA_API /* * This is used to support drivers written for the x86 ISA DMA API. * It should not be re-used except for that purpose. */ #include <linux/spinlock.h> #include <linux/scatterlist.h> #include <mach/isa-dma.h> /* * The DMA modes reflect the settings for the ISA DMA controller */ #define DMA_MODE_MASK 0xcc #define DMA_MODE_READ 0x44 #define DMA_MODE_WRITE 0x48 #define DMA_MODE_CASCADE 0xc0 #define DMA_AUTOINIT 0x10 extern raw_spinlock_t dma_spin_lock; static inline unsigned long claim_dma_lock(void) { unsigned long flags; raw_spin_lock_irqsave(&dma_spin_lock, flags); return flags; } static inline void release_dma_lock(unsigned long flags) { raw_spin_unlock_irqrestore(&dma_spin_lock, flags); } /* Clear the 'DMA Pointer Flip Flop'. * Write 0 for LSB/MSB, 1 for MSB/LSB access. */ #define clear_dma_ff(chan) /* Set only the page register bits of the transfer address. * * NOTE: This is an architecture specific function, and should * be hidden from the drivers */ extern void set_dma_page(unsigned int chan, char pagenr); /* Request a DMA channel * * Some architectures may need to do allocate an interrupt */ extern int request_dma(unsigned int chan, const char * device_id); /* Free a DMA channel * * Some architectures may need to do free an interrupt */ extern void free_dma(unsigned int chan); /* Enable DMA for this channel * * On some architectures, this may have other side effects like * enabling an interrupt and setting the DMA registers. */ extern void enable_dma(unsigned int chan); /* Disable DMA for this channel * * On some architectures, this may have other side effects like * disabling an interrupt or whatever. */ extern void disable_dma(unsigned int chan); /* Test whether the specified channel has an active DMA transfer */ extern int dma_channel_active(unsigned int chan); /* Set the DMA scatter gather list for this channel * * This should not be called if a DMA channel is enabled, * especially since some DMA architectures don't update the * DMA address immediately, but defer it to the enable_dma(). */ extern void set_dma_sg(unsigned int chan, struct scatterlist *sg, int nr_sg); /* Set the DMA address for this channel * * This should not be called if a DMA channel is enabled, * especially since some DMA architectures don't update the * DMA address immediately, but defer it to the enable_dma(). */ extern void __set_dma_addr(unsigned int chan, void *addr); #define set_dma_addr(chan, addr) \ __set_dma_addr(chan, (void *)__bus_to_virt(addr)) /* Set the DMA byte count for this channel * * This should not be called if a DMA channel is enabled, * especially since some DMA architectures don't update the * DMA count immediately, but defer it to the enable_dma(). */ extern void set_dma_count(unsigned int chan, unsigned long count); /* Set the transfer direction for this channel * * This should not be called if a DMA channel is enabled, * especially since some DMA architectures don't update the * DMA transfer direction immediately, but defer it to the * enable_dma(). */ extern void set_dma_mode(unsigned int chan, unsigned int mode); /* Set the transfer speed for this channel */ extern void set_dma_speed(unsigned int chan, int cycle_ns); /* Get DMA residue count. After a DMA transfer, this * should return zero. Reading this while a DMA transfer is * still in progress will return unpredictable results. * If called before the channel has been used, it may return 1. * Otherwise, it returns the number of _bytes_ left to transfer. */ extern int get_dma_residue(unsigned int chan); #ifndef NO_DMA #define NO_DMA 255 #endif #endif /* CONFIG_ISA_DMA_API */ #ifdef CONFIG_PCI extern int isa_dma_bridge_buggy; #else #define isa_dma_bridge_buggy (0) #endif #endif /* __ASM_ARM_DMA_H */
Save
cmd:
run