diff --git a/.axp209.ko.cmd b/.axp209.ko.cmd new file mode 100644 index 0000000..2dbb234 --- /dev/null +++ b/.axp209.ko.cmd @@ -0,0 +1 @@ +cmd_/home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/driver_dev/axp209_drv/axp209.ko := mipsel-openwrt-linux-ld -r -m elf32ltsmip -T /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/scripts/module-common.lds -s --build-id -o /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/driver_dev/axp209_drv/axp209.ko /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/driver_dev/axp209_drv/axp209.o /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/driver_dev/axp209_drv/axp209.mod.o diff --git a/.axp209.mod.o.cmd b/.axp209.mod.o.cmd new file mode 100644 index 0000000..ac0ccb7 --- /dev/null +++ b/.axp209.mod.o.cmd @@ -0,0 +1,419 @@ +cmd_/home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/driver_dev/axp209_drv/axp209.mod.o := mipsel-openwrt-linux-gcc -Wp,-MD,/home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/driver_dev/axp209_drv/.axp209.mod.o.d -nostdinc -isystem /home/mrdong/openwrt/openwrt/staging_dir/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/lib/gcc/mipsel-openwrt-linux-uclibc/4.8.3/include -I/home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include -Iarch/mips/include/generated -Iinclude -I/home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/uapi -Iarch/mips/include/generated/uapi -I/home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/include/uapi -Iinclude/generated/uapi -include /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/include/linux/kconfig.h -D__KERNEL__ -DVMLINUX_LOAD_ADDRESS=0xffffffff80000000 -DDATAOFFSET=0 -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -Os -Wno-maybe-uninitialized -mno-check-zero-division -mabi=32 -G 0 -mno-abicalls -fno-pic -pipe -mno-branch-likely -msoft-float -ffreestanding -march=mips32r2 -Wa,-mips32r2 -Wa,--trap -I/home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/mach-ralink -I/home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/mach-ralink/mt7620 -I/home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/mach-ralink/mt7621 -I/home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/mach-generic -Wframe-larger-than=1024 -fno-stack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -g -femit-struct-debug-baseonly -fno-var-tracking -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -D"KBUILD_STR(s)=\#s" -D"KBUILD_BASENAME=KBUILD_STR(axp209.mod)" -D"KBUILD_MODNAME=KBUILD_STR(axp209)" -DMODULE -mno-long-calls -c -o /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/driver_dev/axp209_drv/axp209.mod.o /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/driver_dev/axp209_drv/axp209.mod.c + +source_/home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/driver_dev/axp209_drv/axp209.mod.o := /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/driver_dev/axp209_drv/axp209.mod.c + +deps_/home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/driver_dev/axp209_drv/axp209.mod.o := \ + $(wildcard include/config/module/unload.h) \ + include/linux/module.h \ + $(wildcard include/config/module/stripped.h) \ + $(wildcard include/config/sysfs.h) \ + $(wildcard include/config/modules.h) \ + $(wildcard include/config/unused/symbols.h) \ + $(wildcard include/config/module/sig.h) \ + $(wildcard include/config/generic/bug.h) \ + $(wildcard include/config/kallsyms.h) \ + $(wildcard include/config/smp.h) \ + $(wildcard include/config/tracepoints.h) \ + $(wildcard include/config/tracing.h) \ + $(wildcard include/config/event/tracing.h) \ + $(wildcard include/config/ftrace/mcount/record.h) \ + $(wildcard include/config/constructors.h) \ + $(wildcard include/config/debug/set/module/ronx.h) \ + include/linux/list.h \ + $(wildcard include/config/debug/list.h) \ + include/linux/types.h \ + $(wildcard include/config/uid16.h) \ + $(wildcard include/config/lbdaf.h) \ + $(wildcard include/config/arch/dma/addr/t/64bit.h) \ + $(wildcard include/config/phys/addr/t/64bit.h) \ + $(wildcard include/config/64bit.h) \ + include/uapi/linux/types.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/types.h \ + $(wildcard include/config/64bit/phys/addr.h) \ + include/asm-generic/int-ll64.h \ + include/uapi/asm-generic/int-ll64.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/uapi/asm/bitsperlong.h \ + include/asm-generic/bitsperlong.h \ + include/uapi/asm-generic/bitsperlong.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/uapi/asm/types.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/include/uapi/linux/posix_types.h \ + include/linux/stddef.h \ + include/uapi/linux/stddef.h \ + include/linux/compiler.h \ + $(wildcard include/config/sparse/rcu/pointer.h) \ + $(wildcard include/config/trace/branch/profiling.h) \ + $(wildcard include/config/profile/all/branches.h) \ + $(wildcard include/config/enable/must/check.h) \ + $(wildcard include/config/enable/warn/deprecated.h) \ + $(wildcard include/config/kprobes.h) \ + include/linux/compiler-gcc.h \ + $(wildcard include/config/arch/supports/optimized/inlining.h) \ + $(wildcard include/config/optimize/inlining.h) \ + include/linux/compiler-gcc4.h \ + $(wildcard include/config/arch/use/builtin/bswap.h) \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/uapi/asm/posix_types.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/uapi/asm/sgidefs.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/include/uapi/asm-generic/posix_types.h \ + include/linux/poison.h \ + $(wildcard include/config/illegal/pointer/value.h) \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/include/uapi/linux/const.h \ + include/linux/stat.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/uapi/asm/stat.h \ + include/uapi/linux/stat.h \ + include/linux/time.h \ + $(wildcard include/config/arch/uses/gettimeoffset.h) \ + include/linux/cache.h \ + $(wildcard include/config/arch/has/cache/line/size.h) \ + include/linux/kernel.h \ + $(wildcard include/config/preempt/voluntary.h) \ + $(wildcard include/config/debug/atomic/sleep.h) \ + $(wildcard include/config/prove/locking.h) \ + $(wildcard include/config/ring/buffer.h) \ + /home/mrdong/openwrt/openwrt/staging_dir/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/lib/gcc/mipsel-openwrt-linux-uclibc/4.8.3/include/stdarg.h \ + include/linux/linkage.h \ + include/linux/stringify.h \ + include/linux/export.h \ + $(wildcard include/config/have/underscore/symbol/prefix.h) \ + $(wildcard include/config/modversions.h) \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/linkage.h \ + include/linux/bitops.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/bitops.h \ + $(wildcard include/config/cpu/mipsr2.h) \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/barrier.h \ + $(wildcard include/config/cpu/has/sync.h) \ + $(wildcard include/config/cpu/cavium/octeon.h) \ + $(wildcard include/config/sgi/ip28.h) \ + $(wildcard include/config/cpu/has/wb.h) \ + $(wildcard include/config/weak/ordering.h) \ + $(wildcard include/config/weak/reordering/beyond/llsc.h) \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/addrspace.h \ + $(wildcard include/config/cpu/r8000.h) \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/mach-generic/spaces.h \ + $(wildcard include/config/32bit.h) \ + $(wildcard include/config/kvm/guest.h) \ + $(wildcard include/config/dma/noncoherent.h) \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/uapi/asm/byteorder.h \ + include/linux/byteorder/little_endian.h \ + include/uapi/linux/byteorder/little_endian.h \ + include/linux/swab.h \ + include/uapi/linux/swab.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/uapi/asm/swab.h \ + include/linux/byteorder/generic.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/cpu-features.h \ + $(wildcard include/config/sys/supports/micromips.h) \ + $(wildcard include/config/cpu/mipsr2/irq/vi.h) \ + $(wildcard include/config/cpu/mipsr2/irq/ei.h) \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/cpu.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/cpu-info.h \ + $(wildcard include/config/mips/mt/smp.h) \ + $(wildcard include/config/mips/mt/smtc.h) \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/cache.h \ + $(wildcard include/config/mips/l1/cache/shift.h) \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/mach-generic/kmalloc.h \ + $(wildcard include/config/dma/coherent.h) \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/mach-generic/cpu-feature-overrides.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/war.h \ + $(wildcard include/config/cpu/r4000/workarounds.h) \ + $(wildcard include/config/cpu/r4400/workarounds.h) \ + $(wildcard include/config/cpu/daddi/workarounds.h) \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/mach-ralink/war.h \ + include/asm-generic/bitops/non-atomic.h \ + include/asm-generic/bitops/fls64.h \ + include/asm-generic/bitops/ffz.h \ + include/asm-generic/bitops/find.h \ + $(wildcard include/config/generic/find/first/bit.h) \ + include/asm-generic/bitops/sched.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/arch_hweight.h \ + include/asm-generic/bitops/arch_hweight.h \ + include/asm-generic/bitops/const_hweight.h \ + include/asm-generic/bitops/le.h \ + include/asm-generic/bitops/ext2-atomic.h \ + include/linux/log2.h \ + $(wildcard include/config/arch/has/ilog2/u32.h) \ + $(wildcard include/config/arch/has/ilog2/u64.h) \ + include/linux/typecheck.h \ + include/linux/printk.h \ + $(wildcard include/config/early/printk.h) \ + $(wildcard include/config/printk.h) \ + $(wildcard include/config/dynamic/debug.h) \ + include/linux/init.h \ + $(wildcard include/config/broken/rodata.h) \ + include/linux/kern_levels.h \ + include/linux/dynamic_debug.h \ + include/linux/string.h \ + $(wildcard include/config/binary/printf.h) \ + include/uapi/linux/string.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/string.h \ + $(wildcard include/config/cpu/r3000.h) \ + include/linux/errno.h \ + include/uapi/linux/errno.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/errno.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/uapi/asm/errno.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/include/uapi/asm-generic/errno-base.h \ + include/uapi/linux/kernel.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/include/uapi/linux/sysinfo.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/div64.h \ + include/asm-generic/div64.h \ + include/linux/seqlock.h \ + include/linux/spinlock.h \ + $(wildcard include/config/debug/spinlock.h) \ + $(wildcard include/config/generic/lockbreak.h) \ + $(wildcard include/config/preempt.h) \ + $(wildcard include/config/debug/lock/alloc.h) \ + include/linux/preempt.h \ + $(wildcard include/config/debug/preempt.h) \ + $(wildcard include/config/preempt/tracer.h) \ + $(wildcard include/config/context/tracking.h) \ + $(wildcard include/config/preempt/count.h) \ + $(wildcard include/config/preempt/notifiers.h) \ + include/linux/thread_info.h \ + $(wildcard include/config/compat.h) \ + $(wildcard include/config/debug/stack/usage.h) \ + include/linux/bug.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/bug.h \ + $(wildcard include/config/bug.h) \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/break.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/uapi/asm/break.h \ + include/asm-generic/bug.h \ + $(wildcard include/config/generic/bug/relative/pointers.h) \ + $(wildcard include/config/debug/bugverbose.h) \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/thread_info.h \ + $(wildcard include/config/page/size/4kb.h) \ + $(wildcard include/config/page/size/8kb.h) \ + $(wildcard include/config/page/size/16kb.h) \ + $(wildcard include/config/page/size/32kb.h) \ + $(wildcard include/config/page/size/64kb.h) \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/processor.h \ + $(wildcard include/config/cavium/octeon/cvmseg/size.h) \ + $(wildcard include/config/mips/mt/fpaff.h) \ + $(wildcard include/config/cpu/has/prefetch.h) \ + include/linux/cpumask.h \ + $(wildcard include/config/cpumask/offstack.h) \ + $(wildcard include/config/hotplug/cpu.h) \ + $(wildcard include/config/debug/per/cpu/maps.h) \ + $(wildcard include/config/disable/obsolete/cpumask/functions.h) \ + include/linux/threads.h \ + $(wildcard include/config/nr/cpus.h) \ + $(wildcard include/config/base/small.h) \ + include/linux/bitmap.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/uapi/asm/cachectl.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/mipsregs.h \ + $(wildcard include/config/cpu/vr41xx.h) \ + $(wildcard include/config/mips/huge/tlb/support.h) \ + $(wildcard include/config/cpu/micromips.h) \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/hazards.h \ + $(wildcard include/config/cpu/mipsr1.h) \ + $(wildcard include/config/mips/alchemy.h) \ + $(wildcard include/config/cpu/bmips.h) \ + $(wildcard include/config/cpu/loongson2.h) \ + $(wildcard include/config/cpu/r10000.h) \ + $(wildcard include/config/cpu/r5500.h) \ + $(wildcard include/config/cpu/xlr.h) \ + $(wildcard include/config/cpu/sb1.h) \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/prefetch.h \ + include/linux/irqflags.h \ + $(wildcard include/config/trace/irqflags.h) \ + $(wildcard include/config/irqsoff/tracer.h) \ + $(wildcard include/config/trace/irqflags/support.h) \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/irqflags.h \ + $(wildcard include/config/irq/cpu.h) \ + include/linux/bottom_half.h \ + include/linux/spinlock_types.h \ + include/linux/spinlock_types_up.h \ + include/linux/lockdep.h \ + $(wildcard include/config/lockdep.h) \ + $(wildcard include/config/lock/stat.h) \ + $(wildcard include/config/prove/rcu.h) \ + include/linux/rwlock_types.h \ + include/linux/spinlock_up.h \ + include/linux/rwlock.h \ + include/linux/spinlock_api_up.h \ + include/linux/atomic.h \ + $(wildcard include/config/arch/has/atomic/or.h) \ + $(wildcard include/config/generic/atomic64.h) \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/atomic.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/cmpxchg.h \ + include/asm-generic/cmpxchg-local.h \ + include/asm-generic/atomic-long.h \ + include/asm-generic/atomic64.h \ + include/linux/math64.h \ + include/uapi/linux/time.h \ + include/linux/uidgid.h \ + $(wildcard include/config/uidgid/strict/type/checks.h) \ + $(wildcard include/config/user/ns.h) \ + include/linux/highuid.h \ + include/linux/kmod.h \ + include/linux/gfp.h \ + $(wildcard include/config/numa.h) \ + $(wildcard include/config/highmem.h) \ + $(wildcard include/config/zone/dma.h) \ + $(wildcard include/config/zone/dma32.h) \ + $(wildcard include/config/pm/sleep.h) \ + $(wildcard include/config/cma.h) \ + include/linux/mmzone.h \ + $(wildcard include/config/force/max/zoneorder.h) \ + $(wildcard include/config/memory/isolation.h) \ + $(wildcard include/config/memcg.h) \ + $(wildcard include/config/compaction.h) \ + $(wildcard include/config/memory/hotplug.h) \ + $(wildcard include/config/sparsemem.h) \ + $(wildcard include/config/have/memblock/node/map.h) \ + $(wildcard include/config/discontigmem.h) \ + $(wildcard include/config/flat/node/mem/map.h) \ + $(wildcard include/config/no/bootmem.h) \ + $(wildcard include/config/numa/balancing.h) \ + $(wildcard include/config/have/memory/present.h) \ + $(wildcard include/config/have/memoryless/nodes.h) \ + $(wildcard include/config/need/node/memmap/size.h) \ + $(wildcard include/config/need/multiple/nodes.h) \ + $(wildcard include/config/have/arch/early/pfn/to/nid.h) \ + $(wildcard include/config/flatmem.h) \ + $(wildcard include/config/sparsemem/extreme.h) \ + $(wildcard include/config/have/arch/pfn/valid.h) \ + $(wildcard include/config/nodes/span/other/nodes.h) \ + $(wildcard include/config/holes/in/zone.h) \ + $(wildcard include/config/arch/has/holes/memorymodel.h) \ + include/linux/wait.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/current.h \ + include/asm-generic/current.h \ + include/uapi/linux/wait.h \ + include/linux/numa.h \ + $(wildcard include/config/nodes/shift.h) \ + include/linux/nodemask.h \ + $(wildcard include/config/movable/node.h) \ + include/linux/pageblock-flags.h \ + $(wildcard include/config/hugetlb/page.h) \ + $(wildcard include/config/hugetlb/page/size/variable.h) \ + include/linux/page-flags-layout.h \ + $(wildcard include/config/sparsemem/vmemmap.h) \ + include/generated/bounds.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/page.h \ + $(wildcard include/config/cpu/mips32.h) \ + include/linux/pfn.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/io.h \ + $(wildcard include/config/pci.h) \ + include/asm-generic/iomap.h \ + $(wildcard include/config/has/ioport.h) \ + $(wildcard include/config/generic/iomap.h) \ + include/asm-generic/pci_iomap.h \ + $(wildcard include/config/no/generic/pci/ioport/map.h) \ + $(wildcard include/config/generic/pci/iomap.h) \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/pgtable-bits.h \ + $(wildcard include/config/cpu/tx39xx.h) \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/mach-generic/ioremap.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/mach-generic/mangle-port.h \ + $(wildcard include/config/swap/io/space.h) \ + include/asm-generic/memory_model.h \ + include/asm-generic/getorder.h \ + include/linux/memory_hotplug.h \ + $(wildcard include/config/memory/hotremove.h) \ + $(wildcard include/config/have/arch/nodedata/extension.h) \ + $(wildcard include/config/have/bootmem/info/node.h) \ + include/linux/notifier.h \ + include/linux/mutex.h \ + $(wildcard include/config/debug/mutexes.h) \ + $(wildcard include/config/mutex/spin/on/owner.h) \ + $(wildcard include/config/have/arch/mutex/cpu/relax.h) \ + include/linux/rwsem.h \ + $(wildcard include/config/rwsem/generic/spinlock.h) \ + include/linux/rwsem-spinlock.h \ + include/linux/srcu.h \ + include/linux/rcupdate.h \ + $(wildcard include/config/rcu/torture/test.h) \ + $(wildcard include/config/tree/rcu.h) \ + $(wildcard include/config/tree/preempt/rcu.h) \ + $(wildcard include/config/rcu/trace.h) \ + $(wildcard include/config/preempt/rcu.h) \ + $(wildcard include/config/rcu/user/qs.h) \ + $(wildcard include/config/tiny/rcu.h) \ + $(wildcard include/config/tiny/preempt/rcu.h) \ + $(wildcard include/config/debug/objects/rcu/head.h) \ + $(wildcard include/config/rcu/nocb/cpu.h) \ + include/linux/completion.h \ + include/linux/debugobjects.h \ + $(wildcard include/config/debug/objects.h) \ + $(wildcard include/config/debug/objects/free.h) \ + include/linux/rcutiny.h \ + include/linux/workqueue.h \ + $(wildcard include/config/debug/objects/work.h) \ + $(wildcard include/config/freezer.h) \ + include/linux/timer.h \ + $(wildcard include/config/timer/stats.h) \ + $(wildcard include/config/debug/objects/timers.h) \ + include/linux/ktime.h \ + $(wildcard include/config/ktime/scalar.h) \ + include/linux/jiffies.h \ + include/linux/timex.h \ + include/uapi/linux/timex.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/include/uapi/linux/param.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/uapi/asm/param.h \ + include/asm-generic/param.h \ + $(wildcard include/config/hz.h) \ + include/uapi/asm-generic/param.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/timex.h \ + include/linux/topology.h \ + $(wildcard include/config/sched/smt.h) \ + $(wildcard include/config/sched/mc.h) \ + $(wildcard include/config/sched/book.h) \ + $(wildcard include/config/use/percpu/numa/node/id.h) \ + include/linux/smp.h \ + $(wildcard include/config/use/generic/smp/helpers.h) \ + include/linux/percpu.h \ + $(wildcard include/config/need/per/cpu/embed/first/chunk.h) \ + $(wildcard include/config/need/per/cpu/page/first/chunk.h) \ + $(wildcard include/config/have/setup/per/cpu/area.h) \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/percpu.h \ + include/asm-generic/percpu.h \ + include/linux/percpu-defs.h \ + $(wildcard include/config/debug/force/weak/per/cpu.h) \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/topology.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/mach-generic/topology.h \ + include/asm-generic/topology.h \ + include/linux/mmdebug.h \ + $(wildcard include/config/debug/vm.h) \ + $(wildcard include/config/debug/virtual.h) \ + include/linux/sysctl.h \ + $(wildcard include/config/sysctl.h) \ + include/linux/rbtree.h \ + include/uapi/linux/sysctl.h \ + include/linux/elf.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/elf.h \ + $(wildcard include/config/mips32/n32.h) \ + $(wildcard include/config/mips32/o32.h) \ + $(wildcard include/config/mips32/compat.h) \ + include/uapi/linux/elf.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/include/uapi/linux/elf-em.h \ + include/linux/kobject.h \ + include/linux/sysfs.h \ + include/linux/kobject_ns.h \ + include/linux/kref.h \ + include/linux/moduleparam.h \ + $(wildcard include/config/alpha.h) \ + $(wildcard include/config/ia64.h) \ + $(wildcard include/config/ppc64.h) \ + include/linux/tracepoint.h \ + include/linux/static_key.h \ + include/linux/jump_label.h \ + $(wildcard include/config/jump/label.h) \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/module.h \ + $(wildcard include/config/cpu/mips32/r1.h) \ + $(wildcard include/config/cpu/mips32/r2.h) \ + $(wildcard include/config/cpu/mips64/r1.h) \ + $(wildcard include/config/cpu/mips64/r2.h) \ + $(wildcard include/config/cpu/r4300.h) \ + $(wildcard include/config/cpu/r4x00.h) \ + $(wildcard include/config/cpu/tx49xx.h) \ + $(wildcard include/config/cpu/r5000.h) \ + $(wildcard include/config/cpu/r5432.h) \ + $(wildcard include/config/cpu/r6000.h) \ + $(wildcard include/config/cpu/nevada.h) \ + $(wildcard include/config/cpu/rm7000.h) \ + $(wildcard include/config/cpu/loongson1.h) \ + $(wildcard include/config/cpu/xlp.h) \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/uaccess.h \ + include/linux/vermagic.h \ + include/generated/utsrelease.h \ + +/home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/driver_dev/axp209_drv/axp209.mod.o: $(deps_/home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/driver_dev/axp209_drv/axp209.mod.o) + +$(deps_/home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/driver_dev/axp209_drv/axp209.mod.o): diff --git a/.axp209.o.cmd b/.axp209.o.cmd new file mode 100644 index 0000000..0bf77ce --- /dev/null +++ b/.axp209.o.cmd @@ -0,0 +1,700 @@ +cmd_/home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/driver_dev/axp209_drv/axp209.o := mipsel-openwrt-linux-gcc -Wp,-MD,/home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/driver_dev/axp209_drv/.axp209.o.d -nostdinc -isystem /home/mrdong/openwrt/openwrt/staging_dir/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/lib/gcc/mipsel-openwrt-linux-uclibc/4.8.3/include -I/home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include -Iarch/mips/include/generated -Iinclude -I/home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/uapi -Iarch/mips/include/generated/uapi -I/home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/include/uapi -Iinclude/generated/uapi -include /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/include/linux/kconfig.h -D__KERNEL__ -DVMLINUX_LOAD_ADDRESS=0xffffffff80000000 -DDATAOFFSET=0 -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -Os -Wno-maybe-uninitialized -mno-check-zero-division -mabi=32 -G 0 -mno-abicalls -fno-pic -pipe -mno-branch-likely -msoft-float -ffreestanding -march=mips32r2 -Wa,-mips32r2 -Wa,--trap -I/home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/mach-ralink -I/home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/mach-ralink/mt7620 -I/home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/mach-ralink/mt7621 -I/home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/mach-generic -Wframe-larger-than=1024 -fno-stack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -g -femit-struct-debug-baseonly -fno-var-tracking -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -DMODULE -mno-long-calls -D"KBUILD_STR(s)=\#s" -D"KBUILD_BASENAME=KBUILD_STR(axp209)" -D"KBUILD_MODNAME=KBUILD_STR(axp209)" -c -o /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/driver_dev/axp209_drv/axp209.o /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/driver_dev/axp209_drv/axp209.c + +source_/home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/driver_dev/axp209_drv/axp209.o := /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/driver_dev/axp209_drv/axp209.c + +deps_/home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/driver_dev/axp209_drv/axp209.o := \ + include/linux/i2c.h \ + $(wildcard include/config/i2c.h) \ + $(wildcard include/config/i2c/boardinfo.h) \ + $(wildcard include/config/acpi/i2c.h) \ + include/linux/mod_devicetable.h \ + include/linux/types.h \ + $(wildcard include/config/uid16.h) \ + $(wildcard include/config/lbdaf.h) \ + $(wildcard include/config/arch/dma/addr/t/64bit.h) \ + $(wildcard include/config/phys/addr/t/64bit.h) \ + $(wildcard include/config/64bit.h) \ + include/uapi/linux/types.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/types.h \ + $(wildcard include/config/64bit/phys/addr.h) \ + include/asm-generic/int-ll64.h \ + include/uapi/asm-generic/int-ll64.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/uapi/asm/bitsperlong.h \ + include/asm-generic/bitsperlong.h \ + include/uapi/asm-generic/bitsperlong.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/uapi/asm/types.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/include/uapi/linux/posix_types.h \ + include/linux/stddef.h \ + include/uapi/linux/stddef.h \ + include/linux/compiler.h \ + $(wildcard include/config/sparse/rcu/pointer.h) \ + $(wildcard include/config/trace/branch/profiling.h) \ + $(wildcard include/config/profile/all/branches.h) \ + $(wildcard include/config/enable/must/check.h) \ + $(wildcard include/config/enable/warn/deprecated.h) \ + $(wildcard include/config/kprobes.h) \ + include/linux/compiler-gcc.h \ + $(wildcard include/config/arch/supports/optimized/inlining.h) \ + $(wildcard include/config/optimize/inlining.h) \ + include/linux/compiler-gcc4.h \ + $(wildcard include/config/arch/use/builtin/bswap.h) \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/uapi/asm/posix_types.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/uapi/asm/sgidefs.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/include/uapi/asm-generic/posix_types.h \ + include/linux/uuid.h \ + include/uapi/linux/uuid.h \ + include/linux/string.h \ + $(wildcard include/config/binary/printf.h) \ + /home/mrdong/openwrt/openwrt/staging_dir/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/lib/gcc/mipsel-openwrt-linux-uclibc/4.8.3/include/stdarg.h \ + include/uapi/linux/string.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/string.h \ + $(wildcard include/config/32bit.h) \ + $(wildcard include/config/cpu/r3000.h) \ + include/linux/device.h \ + $(wildcard include/config/debug/devres.h) \ + $(wildcard include/config/acpi.h) \ + $(wildcard include/config/pinctrl.h) \ + $(wildcard include/config/numa.h) \ + $(wildcard include/config/cma.h) \ + $(wildcard include/config/pm/sleep.h) \ + $(wildcard include/config/devtmpfs.h) \ + $(wildcard include/config/printk.h) \ + $(wildcard include/config/dynamic/debug.h) \ + $(wildcard include/config/sysfs/deprecated.h) \ + include/linux/ioport.h \ + $(wildcard include/config/memory/hotremove.h) \ + include/linux/kobject.h \ + include/linux/list.h \ + $(wildcard include/config/debug/list.h) \ + include/linux/poison.h \ + $(wildcard include/config/illegal/pointer/value.h) \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/include/uapi/linux/const.h \ + include/linux/sysfs.h \ + $(wildcard include/config/debug/lock/alloc.h) \ + $(wildcard include/config/sysfs.h) \ + include/linux/errno.h \ + include/uapi/linux/errno.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/errno.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/uapi/asm/errno.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/include/uapi/asm-generic/errno-base.h \ + include/linux/lockdep.h \ + $(wildcard include/config/lockdep.h) \ + $(wildcard include/config/lock/stat.h) \ + $(wildcard include/config/trace/irqflags.h) \ + $(wildcard include/config/prove/locking.h) \ + $(wildcard include/config/prove/rcu.h) \ + include/linux/kobject_ns.h \ + include/linux/atomic.h \ + $(wildcard include/config/arch/has/atomic/or.h) \ + $(wildcard include/config/generic/atomic64.h) \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/atomic.h \ + include/linux/irqflags.h \ + $(wildcard include/config/irqsoff/tracer.h) \ + $(wildcard include/config/preempt/tracer.h) \ + $(wildcard include/config/trace/irqflags/support.h) \ + include/linux/typecheck.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/irqflags.h \ + $(wildcard include/config/cpu/mipsr2.h) \ + $(wildcard include/config/mips/mt/smtc.h) \ + $(wildcard include/config/irq/cpu.h) \ + include/linux/stringify.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/hazards.h \ + $(wildcard include/config/cpu/cavium/octeon.h) \ + $(wildcard include/config/cpu/mipsr1.h) \ + $(wildcard include/config/mips/alchemy.h) \ + $(wildcard include/config/cpu/bmips.h) \ + $(wildcard include/config/cpu/loongson2.h) \ + $(wildcard include/config/cpu/r10000.h) \ + $(wildcard include/config/cpu/r5500.h) \ + $(wildcard include/config/cpu/xlr.h) \ + $(wildcard include/config/cpu/sb1.h) \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/barrier.h \ + $(wildcard include/config/cpu/has/sync.h) \ + $(wildcard include/config/sgi/ip28.h) \ + $(wildcard include/config/cpu/has/wb.h) \ + $(wildcard include/config/weak/ordering.h) \ + $(wildcard include/config/smp.h) \ + $(wildcard include/config/weak/reordering/beyond/llsc.h) \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/addrspace.h \ + $(wildcard include/config/cpu/r8000.h) \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/mach-generic/spaces.h \ + $(wildcard include/config/kvm/guest.h) \ + $(wildcard include/config/dma/noncoherent.h) \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/cpu-features.h \ + $(wildcard include/config/sys/supports/micromips.h) \ + $(wildcard include/config/cpu/mipsr2/irq/vi.h) \ + $(wildcard include/config/cpu/mipsr2/irq/ei.h) \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/cpu.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/cpu-info.h \ + $(wildcard include/config/mips/mt/smp.h) \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/cache.h \ + $(wildcard include/config/mips/l1/cache/shift.h) \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/mach-generic/kmalloc.h \ + $(wildcard include/config/dma/coherent.h) \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/mach-generic/cpu-feature-overrides.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/cmpxchg.h \ + include/linux/bug.h \ + $(wildcard include/config/generic/bug.h) \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/bug.h \ + $(wildcard include/config/bug.h) \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/break.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/uapi/asm/break.h \ + include/asm-generic/bug.h \ + $(wildcard include/config/generic/bug/relative/pointers.h) \ + $(wildcard include/config/debug/bugverbose.h) \ + include/linux/kernel.h \ + $(wildcard include/config/preempt/voluntary.h) \ + $(wildcard include/config/debug/atomic/sleep.h) \ + $(wildcard include/config/ring/buffer.h) \ + $(wildcard include/config/tracing.h) \ + $(wildcard include/config/ftrace/mcount/record.h) \ + include/linux/linkage.h \ + include/linux/export.h \ + $(wildcard include/config/have/underscore/symbol/prefix.h) \ + $(wildcard include/config/modules.h) \ + $(wildcard include/config/modversions.h) \ + $(wildcard include/config/unused/symbols.h) \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/linkage.h \ + include/linux/bitops.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/bitops.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/uapi/asm/byteorder.h \ + include/linux/byteorder/little_endian.h \ + include/uapi/linux/byteorder/little_endian.h \ + include/linux/swab.h \ + include/uapi/linux/swab.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/uapi/asm/swab.h \ + include/linux/byteorder/generic.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/war.h \ + $(wildcard include/config/cpu/r4000/workarounds.h) \ + $(wildcard include/config/cpu/r4400/workarounds.h) \ + $(wildcard include/config/cpu/daddi/workarounds.h) \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/mach-ralink/war.h \ + include/asm-generic/bitops/non-atomic.h \ + include/asm-generic/bitops/fls64.h \ + include/asm-generic/bitops/ffz.h \ + include/asm-generic/bitops/find.h \ + $(wildcard include/config/generic/find/first/bit.h) \ + include/asm-generic/bitops/sched.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/arch_hweight.h \ + include/asm-generic/bitops/arch_hweight.h \ + include/asm-generic/bitops/const_hweight.h \ + include/asm-generic/bitops/le.h \ + include/asm-generic/bitops/ext2-atomic.h \ + include/linux/log2.h \ + $(wildcard include/config/arch/has/ilog2/u32.h) \ + $(wildcard include/config/arch/has/ilog2/u64.h) \ + include/linux/printk.h \ + $(wildcard include/config/early/printk.h) \ + include/linux/init.h \ + $(wildcard include/config/broken/rodata.h) \ + include/linux/kern_levels.h \ + include/linux/dynamic_debug.h \ + include/uapi/linux/kernel.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/include/uapi/linux/sysinfo.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/div64.h \ + include/asm-generic/div64.h \ + include/asm-generic/cmpxchg-local.h \ + include/asm-generic/atomic-long.h \ + include/asm-generic/atomic64.h \ + include/linux/spinlock.h \ + $(wildcard include/config/debug/spinlock.h) \ + $(wildcard include/config/generic/lockbreak.h) \ + $(wildcard include/config/preempt.h) \ + include/linux/preempt.h \ + $(wildcard include/config/debug/preempt.h) \ + $(wildcard include/config/context/tracking.h) \ + $(wildcard include/config/preempt/count.h) \ + $(wildcard include/config/preempt/notifiers.h) \ + include/linux/thread_info.h \ + $(wildcard include/config/compat.h) \ + $(wildcard include/config/debug/stack/usage.h) \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/thread_info.h \ + $(wildcard include/config/page/size/4kb.h) \ + $(wildcard include/config/page/size/8kb.h) \ + $(wildcard include/config/page/size/16kb.h) \ + $(wildcard include/config/page/size/32kb.h) \ + $(wildcard include/config/page/size/64kb.h) \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/processor.h \ + $(wildcard include/config/cavium/octeon/cvmseg/size.h) \ + $(wildcard include/config/mips/mt/fpaff.h) \ + $(wildcard include/config/cpu/has/prefetch.h) \ + include/linux/cpumask.h \ + $(wildcard include/config/cpumask/offstack.h) \ + $(wildcard include/config/hotplug/cpu.h) \ + $(wildcard include/config/debug/per/cpu/maps.h) \ + $(wildcard include/config/disable/obsolete/cpumask/functions.h) \ + include/linux/threads.h \ + $(wildcard include/config/nr/cpus.h) \ + $(wildcard include/config/base/small.h) \ + include/linux/bitmap.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/uapi/asm/cachectl.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/mipsregs.h \ + $(wildcard include/config/cpu/vr41xx.h) \ + $(wildcard include/config/mips/huge/tlb/support.h) \ + $(wildcard include/config/cpu/micromips.h) \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/prefetch.h \ + include/linux/bottom_half.h \ + include/linux/spinlock_types.h \ + include/linux/spinlock_types_up.h \ + include/linux/rwlock_types.h \ + include/linux/spinlock_up.h \ + include/linux/rwlock.h \ + include/linux/spinlock_api_up.h \ + include/linux/kref.h \ + include/linux/mutex.h \ + $(wildcard include/config/debug/mutexes.h) \ + $(wildcard include/config/mutex/spin/on/owner.h) \ + $(wildcard include/config/have/arch/mutex/cpu/relax.h) \ + include/linux/wait.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/current.h \ + include/asm-generic/current.h \ + include/uapi/linux/wait.h \ + include/linux/klist.h \ + include/linux/pinctrl/devinfo.h \ + include/linux/pinctrl/consumer.h \ + $(wildcard include/config/pinconf.h) \ + include/linux/err.h \ + include/linux/seq_file.h \ + $(wildcard include/config/user/ns.h) \ + include/linux/nodemask.h \ + $(wildcard include/config/highmem.h) \ + $(wildcard include/config/movable/node.h) \ + include/linux/numa.h \ + $(wildcard include/config/nodes/shift.h) \ + include/linux/pinctrl/pinctrl-state.h \ + include/linux/pm.h \ + $(wildcard include/config/vt/console/sleep.h) \ + $(wildcard include/config/pm.h) \ + $(wildcard include/config/pm/runtime.h) \ + $(wildcard include/config/pm/clk.h) \ + $(wildcard include/config/pm/generic/domains.h) \ + include/linux/workqueue.h \ + $(wildcard include/config/debug/objects/work.h) \ + $(wildcard include/config/freezer.h) \ + include/linux/timer.h \ + $(wildcard include/config/timer/stats.h) \ + $(wildcard include/config/debug/objects/timers.h) \ + include/linux/ktime.h \ + $(wildcard include/config/ktime/scalar.h) \ + include/linux/time.h \ + $(wildcard include/config/arch/uses/gettimeoffset.h) \ + include/linux/cache.h \ + $(wildcard include/config/arch/has/cache/line/size.h) \ + include/linux/seqlock.h \ + include/linux/math64.h \ + include/uapi/linux/time.h \ + include/linux/jiffies.h \ + include/linux/timex.h \ + include/uapi/linux/timex.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/include/uapi/linux/param.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/uapi/asm/param.h \ + include/asm-generic/param.h \ + $(wildcard include/config/hz.h) \ + include/uapi/asm-generic/param.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/timex.h \ + include/linux/debugobjects.h \ + $(wildcard include/config/debug/objects.h) \ + $(wildcard include/config/debug/objects/free.h) \ + include/linux/completion.h \ + include/linux/ratelimit.h \ + include/linux/uidgid.h \ + $(wildcard include/config/uidgid/strict/type/checks.h) \ + include/linux/highuid.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/device.h \ + include/linux/pm_wakeup.h \ + include/linux/sched.h \ + $(wildcard include/config/sched/debug.h) \ + $(wildcard include/config/no/hz/common.h) \ + $(wildcard include/config/lockup/detector.h) \ + $(wildcard include/config/mmu.h) \ + $(wildcard include/config/core/dump/default/elf/headers.h) \ + $(wildcard include/config/sched/autogroup.h) \ + $(wildcard include/config/virt/cpu/accounting/native.h) \ + $(wildcard include/config/bsd/process/acct.h) \ + $(wildcard include/config/taskstats.h) \ + $(wildcard include/config/audit.h) \ + $(wildcard include/config/cgroups.h) \ + $(wildcard include/config/inotify/user.h) \ + $(wildcard include/config/fanotify.h) \ + $(wildcard include/config/epoll.h) \ + $(wildcard include/config/posix/mqueue.h) \ + $(wildcard include/config/keys.h) \ + $(wildcard include/config/perf/events.h) \ + $(wildcard include/config/schedstats.h) \ + $(wildcard include/config/task/delay/acct.h) \ + $(wildcard include/config/fair/group/sched.h) \ + $(wildcard include/config/rt/group/sched.h) \ + $(wildcard include/config/cgroup/sched.h) \ + $(wildcard include/config/blk/dev/io/trace.h) \ + $(wildcard include/config/preempt/rcu.h) \ + $(wildcard include/config/tree/preempt/rcu.h) \ + $(wildcard include/config/rcu/boost.h) \ + $(wildcard include/config/compat/brk.h) \ + $(wildcard include/config/cc/stackprotector.h) \ + $(wildcard include/config/virt/cpu/accounting/gen.h) \ + $(wildcard include/config/sysvipc.h) \ + $(wildcard include/config/detect/hung/task.h) \ + $(wildcard include/config/auditsyscall.h) \ + $(wildcard include/config/rt/mutexes.h) \ + $(wildcard include/config/block.h) \ + $(wildcard include/config/task/xacct.h) \ + $(wildcard include/config/cpusets.h) \ + $(wildcard include/config/futex.h) \ + $(wildcard include/config/numa/balancing.h) \ + $(wildcard include/config/fault/injection.h) \ + $(wildcard include/config/latencytop.h) \ + $(wildcard include/config/function/graph/tracer.h) \ + $(wildcard include/config/memcg.h) \ + $(wildcard include/config/have/hw/breakpoint.h) \ + $(wildcard include/config/uprobes.h) \ + $(wildcard include/config/bcache.h) \ + $(wildcard include/config/have/unstable/sched/clock.h) \ + $(wildcard include/config/irq/time/accounting.h) \ + $(wildcard include/config/no/hz/full.h) \ + $(wildcard include/config/proc/fs.h) \ + $(wildcard include/config/stack/growsup.h) \ + $(wildcard include/config/mm/owner.h) \ + include/uapi/linux/sched.h \ + include/linux/capability.h \ + include/uapi/linux/capability.h \ + include/linux/rbtree.h \ + include/linux/mm_types.h \ + $(wildcard include/config/split/ptlock/cpus.h) \ + $(wildcard include/config/have/cmpxchg/double.h) \ + $(wildcard include/config/have/aligned/struct/page.h) \ + $(wildcard include/config/want/page/debug/flags.h) \ + $(wildcard include/config/kmemcheck.h) \ + $(wildcard include/config/aio.h) \ + $(wildcard include/config/mmu/notifier.h) \ + $(wildcard include/config/transparent/hugepage.h) \ + $(wildcard include/config/compaction.h) \ + include/linux/auxvec.h \ + include/uapi/linux/auxvec.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/uapi/asm/auxvec.h \ + include/linux/rwsem.h \ + $(wildcard include/config/rwsem/generic/spinlock.h) \ + include/linux/rwsem-spinlock.h \ + include/linux/page-debug-flags.h \ + $(wildcard include/config/page/poisoning.h) \ + $(wildcard include/config/page/guard.h) \ + $(wildcard include/config/page/debug/something/else.h) \ + include/linux/uprobes.h \ + $(wildcard include/config/arch/supports/uprobes.h) \ + include/linux/page-flags-layout.h \ + $(wildcard include/config/sparsemem.h) \ + $(wildcard include/config/sparsemem/vmemmap.h) \ + include/generated/bounds.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/page.h \ + $(wildcard include/config/cpu/mips32.h) \ + $(wildcard include/config/flatmem.h) \ + $(wildcard include/config/need/multiple/nodes.h) \ + include/linux/pfn.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/io.h \ + $(wildcard include/config/pci.h) \ + include/asm-generic/iomap.h \ + $(wildcard include/config/has/ioport.h) \ + $(wildcard include/config/generic/iomap.h) \ + include/asm-generic/pci_iomap.h \ + $(wildcard include/config/no/generic/pci/ioport/map.h) \ + $(wildcard include/config/generic/pci/iomap.h) \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/pgtable-bits.h \ + $(wildcard include/config/cpu/tx39xx.h) \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/mach-generic/ioremap.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/mach-generic/mangle-port.h \ + $(wildcard include/config/swap/io/space.h) \ + include/asm-generic/memory_model.h \ + $(wildcard include/config/discontigmem.h) \ + include/asm-generic/getorder.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/mmu.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/ptrace.h \ + $(wildcard include/config/cpu/has/smartmips.h) \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/isadep.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/uapi/asm/ptrace.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/cputime.h \ + include/asm-generic/cputime.h \ + $(wildcard include/config/virt/cpu/accounting.h) \ + include/asm-generic/cputime_jiffies.h \ + include/linux/smp.h \ + $(wildcard include/config/use/generic/smp/helpers.h) \ + include/linux/sem.h \ + include/linux/rcupdate.h \ + $(wildcard include/config/rcu/torture/test.h) \ + $(wildcard include/config/tree/rcu.h) \ + $(wildcard include/config/rcu/trace.h) \ + $(wildcard include/config/rcu/user/qs.h) \ + $(wildcard include/config/tiny/rcu.h) \ + $(wildcard include/config/tiny/preempt/rcu.h) \ + $(wildcard include/config/debug/objects/rcu/head.h) \ + $(wildcard include/config/rcu/nocb/cpu.h) \ + include/linux/rcutiny.h \ + include/uapi/linux/sem.h \ + include/linux/ipc.h \ + include/uapi/linux/ipc.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/uapi/asm/ipcbuf.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/include/uapi/asm-generic/ipcbuf.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/uapi/asm/sembuf.h \ + include/linux/signal.h \ + $(wildcard include/config/old/sigaction.h) \ + include/uapi/linux/signal.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/signal.h \ + $(wildcard include/config/trad/signals.h) \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/uapi/asm/signal.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/include/uapi/asm-generic/signal-defs.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/sigcontext.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/uapi/asm/sigcontext.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/siginfo.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/uapi/asm/siginfo.h \ + include/asm-generic/siginfo.h \ + include/uapi/asm-generic/siginfo.h \ + include/linux/pid.h \ + include/linux/percpu.h \ + $(wildcard include/config/need/per/cpu/embed/first/chunk.h) \ + $(wildcard include/config/need/per/cpu/page/first/chunk.h) \ + $(wildcard include/config/have/setup/per/cpu/area.h) \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/percpu.h \ + include/asm-generic/percpu.h \ + include/linux/percpu-defs.h \ + $(wildcard include/config/debug/force/weak/per/cpu.h) \ + include/linux/topology.h \ + $(wildcard include/config/sched/smt.h) \ + $(wildcard include/config/sched/mc.h) \ + $(wildcard include/config/sched/book.h) \ + $(wildcard include/config/use/percpu/numa/node/id.h) \ + $(wildcard include/config/have/memoryless/nodes.h) \ + include/linux/mmzone.h \ + $(wildcard include/config/force/max/zoneorder.h) \ + $(wildcard include/config/memory/isolation.h) \ + $(wildcard include/config/zone/dma.h) \ + $(wildcard include/config/zone/dma32.h) \ + $(wildcard include/config/memory/hotplug.h) \ + $(wildcard include/config/have/memblock/node/map.h) \ + $(wildcard include/config/flat/node/mem/map.h) \ + $(wildcard include/config/no/bootmem.h) \ + $(wildcard include/config/have/memory/present.h) \ + $(wildcard include/config/need/node/memmap/size.h) \ + $(wildcard include/config/have/arch/early/pfn/to/nid.h) \ + $(wildcard include/config/sparsemem/extreme.h) \ + $(wildcard include/config/have/arch/pfn/valid.h) \ + $(wildcard include/config/nodes/span/other/nodes.h) \ + $(wildcard include/config/holes/in/zone.h) \ + $(wildcard include/config/arch/has/holes/memorymodel.h) \ + include/linux/pageblock-flags.h \ + $(wildcard include/config/hugetlb/page.h) \ + $(wildcard include/config/hugetlb/page/size/variable.h) \ + include/linux/memory_hotplug.h \ + $(wildcard include/config/have/arch/nodedata/extension.h) \ + $(wildcard include/config/have/bootmem/info/node.h) \ + include/linux/notifier.h \ + include/linux/srcu.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/topology.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/mach-generic/topology.h \ + include/asm-generic/topology.h \ + include/linux/proportions.h \ + include/linux/percpu_counter.h \ + include/linux/seccomp.h \ + $(wildcard include/config/seccomp.h) \ + $(wildcard include/config/seccomp/filter.h) \ + include/uapi/linux/seccomp.h \ + include/linux/rculist.h \ + include/linux/rtmutex.h \ + $(wildcard include/config/debug/rt/mutexes.h) \ + include/linux/plist.h \ + $(wildcard include/config/debug/pi/list.h) \ + include/linux/resource.h \ + include/uapi/linux/resource.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/uapi/asm/resource.h \ + include/asm-generic/resource.h \ + include/uapi/asm-generic/resource.h \ + include/linux/hrtimer.h \ + $(wildcard include/config/high/res/timers.h) \ + $(wildcard include/config/timerfd.h) \ + include/linux/timerqueue.h \ + include/linux/task_io_accounting.h \ + $(wildcard include/config/task/io/accounting.h) \ + include/linux/latencytop.h \ + include/linux/cred.h \ + $(wildcard include/config/debug/credentials.h) \ + $(wildcard include/config/security.h) \ + include/linux/key.h \ + $(wildcard include/config/sysctl.h) \ + include/linux/sysctl.h \ + include/uapi/linux/sysctl.h \ + include/linux/selinux.h \ + $(wildcard include/config/security/selinux.h) \ + include/linux/llist.h \ + $(wildcard include/config/arch/have/nmi/safe/cmpxchg.h) \ + include/linux/gfp.h \ + include/linux/mmdebug.h \ + $(wildcard include/config/debug/vm.h) \ + $(wildcard include/config/debug/virtual.h) \ + include/linux/of.h \ + $(wildcard include/config/sparc.h) \ + $(wildcard include/config/of/dynamic.h) \ + $(wildcard include/config/of.h) \ + $(wildcard include/config/attach/node.h) \ + $(wildcard include/config/detach/node.h) \ + $(wildcard include/config/add/property.h) \ + $(wildcard include/config/remove/property.h) \ + $(wildcard include/config/update/property.h) \ + $(wildcard include/config/proc/devicetree.h) \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/prom.h \ + include/linux/io.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/bootinfo.h \ + $(wildcard include/config/swiotlb.h) \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/setup.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/uapi/asm/setup.h \ + include/uapi/linux/i2c.h \ + include/linux/module.h \ + $(wildcard include/config/module/stripped.h) \ + $(wildcard include/config/module/sig.h) \ + $(wildcard include/config/kallsyms.h) \ + $(wildcard include/config/tracepoints.h) \ + $(wildcard include/config/event/tracing.h) \ + $(wildcard include/config/module/unload.h) \ + $(wildcard include/config/constructors.h) \ + $(wildcard include/config/debug/set/module/ronx.h) \ + include/linux/stat.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/uapi/asm/stat.h \ + include/uapi/linux/stat.h \ + include/linux/kmod.h \ + include/linux/elf.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/elf.h \ + $(wildcard include/config/mips32/n32.h) \ + $(wildcard include/config/mips32/o32.h) \ + $(wildcard include/config/mips32/compat.h) \ + include/uapi/linux/elf.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/include/uapi/linux/elf-em.h \ + include/linux/moduleparam.h \ + $(wildcard include/config/alpha.h) \ + $(wildcard include/config/ia64.h) \ + $(wildcard include/config/ppc64.h) \ + include/linux/tracepoint.h \ + include/linux/static_key.h \ + include/linux/jump_label.h \ + $(wildcard include/config/jump/label.h) \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/module.h \ + $(wildcard include/config/cpu/mips32/r1.h) \ + $(wildcard include/config/cpu/mips32/r2.h) \ + $(wildcard include/config/cpu/mips64/r1.h) \ + $(wildcard include/config/cpu/mips64/r2.h) \ + $(wildcard include/config/cpu/r4300.h) \ + $(wildcard include/config/cpu/r4x00.h) \ + $(wildcard include/config/cpu/tx49xx.h) \ + $(wildcard include/config/cpu/r5000.h) \ + $(wildcard include/config/cpu/r5432.h) \ + $(wildcard include/config/cpu/r6000.h) \ + $(wildcard include/config/cpu/nevada.h) \ + $(wildcard include/config/cpu/rm7000.h) \ + $(wildcard include/config/cpu/loongson1.h) \ + $(wildcard include/config/cpu/xlp.h) \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/uaccess.h \ + include/linux/cdev.h \ + include/linux/kdev_t.h \ + include/uapi/linux/kdev_t.h \ + include/linux/fs.h \ + $(wildcard include/config/fs/posix/acl.h) \ + $(wildcard include/config/quota.h) \ + $(wildcard include/config/fsnotify.h) \ + $(wildcard include/config/ima.h) \ + $(wildcard include/config/debug/writecount.h) \ + $(wildcard include/config/file/locking.h) \ + $(wildcard include/config/fs/xip.h) \ + $(wildcard include/config/direct/io.h) \ + $(wildcard include/config/migration.h) \ + include/linux/dcache.h \ + include/linux/rculist_bl.h \ + include/linux/list_bl.h \ + include/linux/bit_spinlock.h \ + include/linux/path.h \ + include/linux/radix-tree.h \ + include/linux/semaphore.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/include/uapi/linux/fiemap.h \ + include/linux/shrinker.h \ + include/linux/migrate_mode.h \ + include/linux/percpu-rwsem.h \ + include/linux/blk_types.h \ + $(wildcard include/config/blk/cgroup.h) \ + $(wildcard include/config/blk/dev/integrity.h) \ + include/uapi/linux/fs.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/include/uapi/linux/limits.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/include/uapi/linux/ioctl.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/uapi/asm/ioctl.h \ + include/asm-generic/ioctl.h \ + include/uapi/asm-generic/ioctl.h \ + include/linux/quota.h \ + $(wildcard include/config/quota/netlink/interface.h) \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/include/uapi/linux/dqblk_xfs.h \ + include/linux/dqblk_v1.h \ + include/linux/dqblk_v2.h \ + include/linux/dqblk_qtree.h \ + include/linux/projid.h \ + include/uapi/linux/quota.h \ + include/linux/nfs_fs_i.h \ + include/linux/fcntl.h \ + include/uapi/linux/fcntl.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/uapi/asm/fcntl.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/include/uapi/asm-generic/fcntl.h \ + include/linux/interrupt.h \ + $(wildcard include/config/generic/hardirqs.h) \ + $(wildcard include/config/irq/forced/threading.h) \ + $(wildcard include/config/generic/irq/probe.h) \ + include/linux/irqreturn.h \ + include/linux/irqnr.h \ + include/uapi/linux/irqnr.h \ + include/linux/hardirq.h \ + include/linux/ftrace_irq.h \ + $(wildcard include/config/ftrace/nmi/enter.h) \ + include/linux/vtime.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/hardirq.h \ + include/asm-generic/hardirq.h \ + include/linux/irq_cpustat.h \ + include/linux/irq.h \ + $(wildcard include/config/generic/pending/irq.h) \ + $(wildcard include/config/hardirqs/sw/resend.h) \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/irq.h \ + $(wildcard include/config/i8259.h) \ + $(wildcard include/config/mips/mt/smtc/irqaff.h) \ + $(wildcard include/config/mips/mt/smtc/im/backstop.h) \ + include/linux/irqdomain.h \ + $(wildcard include/config/irq/domain.h) \ + $(wildcard include/config/of/irq.h) \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/mipsmtregs.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/mach-ralink/irq.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/mach-generic/irq.h \ + $(wildcard include/config/irq/cpu/rm7k.h) \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/irq_regs.h \ + include/linux/irqdesc.h \ + $(wildcard include/config/irq/preflow/fasteoi.h) \ + $(wildcard include/config/sparse/irq.h) \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/hw_irq.h \ + include/linux/gpio.h \ + $(wildcard include/config/gpiolib.h) \ + $(wildcard include/config/arch/have/custom/gpio/h.h) \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/gpio.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/mach-ralink/gpio.h \ + include/asm-generic/gpio.h \ + $(wildcard include/config/of/gpio.h) \ + $(wildcard include/config/gpio/sysfs.h) \ + include/linux/pinctrl/pinctrl.h \ + include/linux/kthread.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/driver_dev/axp209_drv/axp209.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/driver_dev/axp209_drv/axp209_event.h \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/driver_dev/axp209_drv/mt7620a_reg.h \ + $(wildcard include/config/ralink/mt7620.h) \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/rt2880/rt_mmap.h \ + $(wildcard include/config/ralink/rt2880/shuttle.h) \ + $(wildcard include/config/ralink/rt2880/mp.h) \ + $(wildcard include/config/ralink/rt3052.h) \ + $(wildcard include/config/ralink/rt3352.h) \ + $(wildcard include/config/ralink/rt5350.h) \ + $(wildcard include/config/ralink/rt2883.h) \ + $(wildcard include/config/ralink/rt3883.h) \ + $(wildcard include/config/ralink/rt6855.h) \ + $(wildcard include/config/ralink/mt7621.h) \ + $(wildcard include/config/ralink/mt7628.h) \ + /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/arch/mips/include/asm/rt2880/surfboardint.h \ + $(wildcard include/config/ralink/rt2880.h) \ + +/home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/driver_dev/axp209_drv/axp209.o: $(deps_/home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/driver_dev/axp209_drv/axp209.o) + +$(deps_/home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/driver_dev/axp209_drv/axp209.o): diff --git a/.tmp_versions/axp209.mod b/.tmp_versions/axp209.mod new file mode 100644 index 0000000..fa96763 --- /dev/null +++ b/.tmp_versions/axp209.mod @@ -0,0 +1,2 @@ +/home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/driver_dev/axp209_drv/axp209.ko +/home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/driver_dev/axp209_drv/axp209.o diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..d96937b --- /dev/null +++ b/Makefile @@ -0,0 +1,17 @@ +ARCH ?=mips +CROSS_COMPILE ?=mipsel-openwrt-linux- +CC=$(CROSS_COMPILE)gcc +obj-m := axp209.o #要生成的模块名 +mymodules-objs:= axp209.o #生成这个模块名所需要的目标文件 + +KDIR :=/home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/ + +PWD := $(shell pwd) + +default: + $(CC) demo.c -o demo + $(CC) axp.c -o axp209 -lm + make -C $(KDIR) M=$(PWD) modules + +clean: + rm -rf *.o .* .cmd *.ko *.mod.c .tmp_versions demo axp209 diff --git a/Module.symvers b/Module.symvers new file mode 100644 index 0000000..3ff499e --- /dev/null +++ b/Module.symvers @@ -0,0 +1,4 @@ +0x00000000 unregister_axp209_notifier /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/driver_dev/axp209_drv/axp209 EXPORT_SYMBOL +0x00000000 rgbled_notifier /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/driver_dev/rgbled/rgbled EXPORT_SYMBOL +0x00000000 register_axp209_notifier /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/driver_dev/axp209_drv/axp209 EXPORT_SYMBOL +0x00000000 call_axp209_notifiers /home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/driver_dev/axp209_drv/axp209 EXPORT_SYMBOL diff --git a/axp.c b/axp.c new file mode 100644 index 0000000..c086e39 --- /dev/null +++ b/axp.c @@ -0,0 +1,91 @@ +#include "axp209.h" +#include +#include +#include +#include +#include +#include +#include +#include +void usage() __attribute__ ((noreturn)); +void usage() +{ + printf("-----------usage----------->\n"); + printf("axp209 set reg value\n"); + printf("axp209 get reg\n"); + exit(-1); +} + +int hex2int(char *szhex) +{ + int n = 0, len; + int value = 0; + char hs2i[128] ={ + ['0'] = 0, + ['1'] = 1, + ['2'] = 2, + ['3'] = 3, + ['4'] = 4, + ['5'] = 5, + ['6'] = 6, + ['7'] = 7, + ['8'] = 8, + ['9'] = 9, + ['A'] = 10, + ['B'] = 11, + ['C'] = 12, + ['D'] = 13, + ['E'] = 14, + ['F'] = 15, + ['a'] = 10, + ['b'] = 11, + ['c'] = 12, + ['d'] = 13, + ['e'] = 14, + ['f'] = 15, + }; + len = strlen(szhex); + while(len) + { + value += hs2i[szhex[len - 1]] * pow(16, n); + n ++; + len --; + } + return value; +} +int str2int(char *hex) +{ + if(hex[1] == 'x' || hex[1] == 'X') + { + return hex2int(&hex[2]); + } + return atoi(hex); +} +int main(int argc, char *argv[]) +{ + int fd = -1; + unsigned char status = 0xff; + unsigned short context = 0xff; + fd = open("/dev/axp209",O_RDWR, S_IRUSR | S_IWUSR); + ioctl(fd, AXP209_GET_ELEC, &status); + printf("%s\t%d\t%d\n", __func__, __LINE__, status); + if(argc > 2 && (!strcmp("get",argv[1])) ) + { + context = (str2int(argv[2]) & 0xff) << 8; + ioctl(fd, AXP209_GET_REG, &context); + printf("%x\t%x\n",context >> 8, context & 0xff); + } + else if(argc > 3 && (!strcmp("set",argv[1]))) + { + context = (str2int(argv[2]) & 0xff) << 8; + context |= (str2int(argv[3]) & 0xff); + ioctl(fd, AXP209_SET_REG, &context); + } + else + { + // usage(); + ioctl(fd, AXP209_GET_ADDR, 0x00); + } + close(fd); + return 0; +} diff --git a/axp209 b/axp209 new file mode 100755 index 0000000..8a6c50b Binary files /dev/null and b/axp209 differ diff --git a/axp209.c b/axp209.c new file mode 100644 index 0000000..779c713 --- /dev/null +++ b/axp209.c @@ -0,0 +1,434 @@ +/* + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include "axp209.h" +#include "axp209_event.h" +#include "mt7620a_reg.h" + +#define GPIO_IRQ_NUM 33 + +struct { + dev_t dev; + struct cdev dev_c; + struct i2c_client *client; + struct class *cdev_class; + struct work_struct work; + unsigned char irq_status[5]; + unsigned int irq_mask; +}axp209_info; + +extern struct notifier_block rgbled_notifier; + +static RAW_NOTIFIER_HEAD(axp209_chain); + +const unsigned char reg_map[] = {21, 20, 6, 12, 13, 12, 6, 5, 47}; + +struct file_operations axp209_fops; + +int axp209_read_a8_d8(struct i2c_client *client, unsigned char addr,unsigned char *value); + +int axp209_write_a8_d8(struct i2c_client *client, unsigned char addr,unsigned char value); + +int axp209_open (struct inode *, struct file *); + +int axp209_release (struct inode *, struct file *); + +long axp209_ioctl (struct file *, unsigned int, unsigned long); + +static void axp209_irq_status_clear(); + +static void send_irq_status(struct work_struct*data); + +static int call_axp209_notifiers(unsigned long val, void *v) +{ + return raw_notifier_call_chain(&axp209_chain, val, v); +} +EXPORT_SYMBOL(call_axp209_notifiers); + +static int register_axp209_notifier(struct notifier_block *nb) +{ + return raw_notifier_chain_register(&axp209_chain, nb); +} +EXPORT_SYMBOL(register_axp209_notifier); + +static int unregister_axp209_notifier(struct notifier_block *nb) +{ + return raw_notifier_chain_unregister(&axp209_chain, nb); +} +EXPORT_SYMBOL(unregister_axp209_notifier); + +static int axp209_sendData(struct i2c_client *client, unsigned char reg,unsigned char value) +{ + int ret = 0; + int times = 0; + ret = axp209_write_a8_d8(client,reg,value); + while(ret != 0 && times < 2) + { + ret = axp209_write_a8_d8(client,reg,value); + times ++; + } + return ret; +} +static int axp209_readData(struct i2c_client *client, unsigned char reg,unsigned char *value) +{ + int ret = 0; + int times = 0; + + ret = axp209_read_a8_d8(client,reg,value); + while(ret != 0 && times < 2) + { + ret = axp209_read_a8_d8(client,reg,value); + times ++; + } + return ret; +} +int axp209_read_a8_d8(struct i2c_client *client, unsigned char addr,unsigned char *value) +{ + unsigned char data[2]; + struct i2c_msg msg[2]; + int ret; + + data[0] = addr; + data[1] = 0xee; + msg[0].addr = client->addr; + msg[0].flags = 0; + msg[0].len = 1; + msg[0].buf = &data[0]; + msg[1].addr = client->addr; + msg[1].flags = I2C_M_RD; + msg[1].len = 1; + msg[1].buf = &data[1]; + + ret = i2c_transfer(client->adapter, msg, 2); + if (ret >= 0) + { + *value = data[1]; + ret = 0; + } + return ret; +} +int axp209_write_a8_d8(struct i2c_client *client, unsigned char addr,unsigned char value) +{ + struct i2c_msg msg; + unsigned char data[2]; + int ret; + + data[0] = addr; + data[1] = value; + + msg.addr = client->addr; + msg.flags = 0; + msg.len = 2; + msg.buf = data; + + ret = i2c_transfer(client->adapter, &msg, 1); + return ret; +} + +int axp209_open (struct inode *i, struct file *f) +{ + return 0; +} + +int axp209_release (struct inode *i, struct file *f) +{ + return 0; +} + +long axp209_ioctl (struct file *i, unsigned int cmd, unsigned long arg) +{ + unsigned int context = 0x0000; + unsigned char value = 0x00; + switch(cmd) + { + case AXP209_GET_REG: + copy_from_user((void *)&context,(void __user *)arg, sizeof(unsigned short)); + axp209_readData(axp209_info.client, context >> 8, &value); + context |= value; + copy_to_user((void __user *)arg,(void *)&context, sizeof(unsigned short)); + break; + case AXP209_SET_REG: + copy_from_user((void *)&context,(void __user *)arg, sizeof(unsigned short)); + axp209_sendData(axp209_info.client, context >> 8, context & 0xff); + break; + case AXP209_SET_IRQ_MASK: + copy_from_user((void *)&context,(void __user *)arg, sizeof(unsigned int)); + axp209_info.irq_mask |= context; + break; + case AXP209_CLEAR_IRQ_MASK: + copy_from_user((void *)&context,(void __user *)arg, sizeof(unsigned int)); + axp209_info.irq_mask &= ~context; + break; + case AXP209_GET_IRQ_MASK: + copy_to_user((void __user *)arg,(void *)&axp209_info.irq_mask, sizeof(unsigned int)); + break; + case AXP209_GET_ELEC: + axp209_readData(axp209_info.client, 0xB9, &value); + context |= value; + context = value *100 / 0x7f; + copy_to_user((void __user *)arg,(void *)&context, sizeof(unsigned char)); + break; + default : + break; + } + return 0; +} + +static void axp209_irq_status_clear() +{ + axp209_sendData(axp209_info.client, 0x48, 0xff); + axp209_sendData(axp209_info.client, 0x49, 0xff); + axp209_sendData(axp209_info.client, 0x4a, 0xff); + axp209_sendData(axp209_info.client, 0x4b, 0xff); + axp209_sendData(axp209_info.client, 0x4c, 0xff); +} + +static void axp209_irq_status_read() +{ + int cnt; + for(cnt = 0; cnt < 5; cnt ++) + { + axp209_readData(axp209_info.client, 0x48 + cnt, &axp209_info.irq_status[cnt]); + printk("reg:%x\t%x\n",0x48 + cnt, axp209_info.irq_status[cnt]); + } +} + +irqreturn_t axp209_irq(int irq, void *data) +{ + axp209_irq_status_read(); + schedule_work(&axp209_info.work); + return IRQ_RETVAL(IRQ_HANDLED); +} + +static void usb_power_on() +{ + //gpio 61 62 63 output high + *(volatile unsigned int*)GPIO_MODE |= (0x01 << 10); + *(volatile unsigned int*)GPIO_71_40_DIR |= (0x07 << 21); + *(volatile unsigned int*)GPIO_71_40_DATA |= (0x07 << 21); +} + +#if 0 +static void gpio33_led_on() +{ + *(volatile unsigned int*)GPIO_MODE |= (0x01 << 9); + *(volatile unsigned int*)GPIO_39_24_DIR |= (0x01 << 9); + *(volatile unsigned int*)GPIO_39_24_DATA |= (0x01 << 9); +} + +static void gpio33_led_off() +{ + *(volatile unsigned *)GPIO_39_24_DATA &= ~(0x01 << 9); +} +#endif + +void gpio33_irq_init() +{ + *(volatile unsigned int*)GPIO_MODE |= (0x01 << 9); + *(volatile unsigned int*)GPIO_39_24_DIR &= ~(0x01 << 9); + //*(volatile unsigned int*)GPIO_39_24_INT |= (0x01 << 9); + //*(volatile unsigned int*)GPIO_39_24_EDGE |= (0x01 << 9); + *(volatile unsigned int*)GPIO_39_24_RMASK &= ~(0x01 << 9); + *(volatile unsigned int*)GPIO_39_24_FMASK |= (0x01 << 9); + *(volatile unsigned int*)INTENA |= RALINK_INTCTL_PIO; +} + +static unsigned int irq_status_reg_to_event() +{ + unsigned int event = 0x00, cnt; + for(cnt = 0; cnt < 32 && (axp209_info.irq_mask >> cnt); cnt ++) + { + if((axp209_info.irq_mask >> cnt | 0x01) && (axp209_info.irq_status[reg_map[cnt] / 10] & (0x01 << reg_map[cnt] % 10)) ) + { + event = (0x01 << cnt); + break; + } + } + return event; +} + + + +static void send_irq_status(struct work_struct*data) +{ + char context[15], cnt; + static unsigned long prev_event_time = 0; + unsigned int event = 0x00; + char *msg[2] = {context, NULL}; + + event = irq_status_reg_to_event(); + if(event) + { + sprintf(msg[0], "%d", event); + //PEK 抖动 + if(event & AXP209_PEK_PRESS) + { + if(jiffies - prev_event_time < 10) + goto out; + prev_event_time = jiffies; + } + kobject_uevent_env(&axp209_info.client->dev.kobj, KOBJ_CHANGE, msg); + } + +out: + axp209_irq_status_clear(); +} +static void axp209_irq_enable() +{ + //timer + axp209_sendData(axp209_info.client, 0x44, 0x80); +} + +int precent2level(uint8_t val) +{ + const static int map[2][4] = {{ELEC80_100, ELEC50_80, ELEC20_50, ELEC0_20}, {ELEC80_100_C, ELEC50_80_C, ELEC20_50_C, ELEC0_20_C}}; + int idx0 = 0, idx1 = 0; + uint8_t value = 0x00; + axp209_readData(axp209_info.client, 0x00, &value); + if(value & (1 << 2)) + idx0 = 1; + switch(val) + { + case 80 ... 100: + idx1 = 0; + break; + case 50 ... 79: + idx1 = 1; + break; + case 20 ... 49: + idx1 = 2; + break; + case 0 ... 19: + idx1 = 3; + break; + default: + break; + } + return map[idx0][idx1]; +} +static void elec_check(void *dummy) +{ + uint8_t value; + int ev = 0x00; + static int oldev = 0x00; + while(1) + { + schedule_timeout(10000 * HZ); + axp209_readData(axp209_info.client, 0xB9, &value); + value = value *100 / 0x7f; + ev = precent2level(value); + if (ev != oldev) + { + call_axp209_notifiers(ev, NULL); + oldev = ev; + } + } +} + +static int axp209_probe(struct i2c_client *client,const struct i2c_device_id *id) +{ + int ret; + if(!i2c_check_functionality(client->adapter,I2C_FUNC_I2C)) + return -ENODEV; + //gpio33_led_on(); + gpio33_irq_init(); + usb_power_on(); + ret = alloc_chrdev_region(&axp209_info.dev, 0, 1, AXP209_DEV_NAME ); + if(ret) return ret; + cdev_init(&axp209_info.dev_c, &axp209_fops); + ret = cdev_add(&axp209_info.dev_c, axp209_info.dev, 1); + if(ret) + { + unregister_chrdev_region(axp209_info.dev, 1); + return ret; + } + axp209_info.cdev_class = class_create(THIS_MODULE, AXP209_DEV_NAME); + if(IS_ERR(axp209_info.cdev_class)) + { + unregister_chrdev_region(axp209_info.dev, 1); + return -1; + } + device_create(axp209_info.cdev_class, NULL, axp209_info.dev, 0, AXP209_DEV_NAME); + axp209_sendData(client, 0x40, 0xFE); + axp209_info.client = client; + axp209_info.irq_mask = 0x1ff; + axp209_irq_status_clear(); + axp209_irq_enable(); + register_axp209_notifier(&rgbled_notifier); + INIT_WORK(&axp209_info.work, send_irq_status); + request_threaded_irq(gpio_to_irq(GPIO_IRQ_NUM), axp209_irq, NULL, IRQF_TRIGGER_FALLING,"axp209", NULL); + kthread_run(elec_check, NULL, "axp209_elec_chk"); + return 0; +} + +static int axp209_remove(struct i2c_client *client) +{ + device_destroy(axp209_info.cdev_class, axp209_info.dev); + class_destroy(axp209_info.cdev_class); + unregister_chrdev_region(axp209_info.dev, 1); + free_irq(gpio_to_irq(GPIO_IRQ_NUM), NULL); + unregister_axp209_notifier(&rgbled_notifier); + //gpio33_led_off(); + return 0; +} + +static const struct i2c_device_id axp209_id[] = { + {"axp209",0}, + { }, +}; +MODULE_DEVICE_TABLE(i2c,axp209_id); + +static const struct of_device_id axp209_of_match[] = { + {.compatible = "x-powers,axp209"}, + { } +}; +MODULE_DEVICE_TABLE(of,axp209_of_match); + +static struct i2c_driver axp209_driver = { + .driver = { + .name = "axp209", + .owner = THIS_MODULE, + .of_match_table = of_match_ptr(axp209_of_match) + }, + .probe = axp209_probe, + .remove = axp209_remove, + .id_table = axp209_id +}; + +struct file_operations axp209_fops = { + .open = axp209_open, + .release = axp209_release, + .unlocked_ioctl = axp209_ioctl, +}; + +module_i2c_driver(axp209_driver); + +MODULE_AUTHOR("mrdong "); +MODULE_DESCRIPTION("AXP209 I2C bus driver"); +MODULE_LICENSE("GPL"); diff --git a/axp209.h b/axp209.h new file mode 100644 index 0000000..06edf1d --- /dev/null +++ b/axp209.h @@ -0,0 +1,25 @@ +#ifndef _AXP209_H +#define _AXP209_H +#include + +#define SET_BIT(value, bit) (value |= (0x1 << bit)) +#define CLR_BIT(value, bit) (value &= ~(0x1 << bit)) + +#define AXP209_DEV_NAME "axp209" +#define AXP209_IOC_MAGIC 't' + +#define AXP209_GET_REG _IOR(AXP209_IOC_MAGIC, 0xff, unsigned short) +#define AXP209_SET_REG _IOW(AXP209_IOC_MAGIC, 0xff, unsigned short) +#define AXP209_GET_ELEC _IOR(AXP209_IOC_MAGIC, 0xb9, unsigned char) +#define AXP209_SET_IRQ_MASK _IOW(AXP209_IOC_MAGIC, 0xfe, unsigned int) +#define AXP209_GET_IRQ_MASK _IOR(AXP209_IOC_MAGIC, 0xfe, unsigned int) +#define AXP209_CLEAR_IRQ_MASK _IOW(AXP209_IOC_MAGIC, 0xfd, unsigned int) + +/* +#define AXP209_GET_ACIN_STATUS _IOR(AXP209_IOC_MAGIC, 0x00, char) +#define AXP209_GET_MODEL _IOR(AXP209_IOC_MAGIC, 0x01, char) +#define AXP209_POWER_OFF _IO(AXP209_IOC_MAGIC,0x32) +*/ +#define AXP209_GET_ADDR _IOR(AXP209_IOC_MAGIC, 0xfe, unsigned int) + +#endif diff --git a/axp209.ko b/axp209.ko new file mode 100644 index 0000000..4a655ba Binary files /dev/null and b/axp209.ko differ diff --git a/axp209.mod.c b/axp209.mod.c new file mode 100644 index 0000000..0708f59 --- /dev/null +++ b/axp209.mod.c @@ -0,0 +1,19 @@ +#include +#include +#include + + +struct module __this_module +__attribute__((section(".gnu.linkonce.this_module"))) = { + .name = KBUILD_MODNAME, + .init = init_module, +#ifdef CONFIG_MODULE_UNLOAD + .exit = cleanup_module, +#endif + .arch = MODULE_ARCH_INIT, +}; + +static const char __module_depends[] +__used +__attribute__((section(".modinfo"))) = +"depends=rgbled"; diff --git a/axp209.mod.o b/axp209.mod.o new file mode 100644 index 0000000..4e7014f Binary files /dev/null and b/axp209.mod.o differ diff --git a/axp209.o b/axp209.o new file mode 100644 index 0000000..775d3cd Binary files /dev/null and b/axp209.o differ diff --git a/axp209_event.h b/axp209_event.h new file mode 100644 index 0000000..f7cc050 --- /dev/null +++ b/axp209_event.h @@ -0,0 +1,25 @@ +#ifndef __AXP209_EVENT_H__ +#define __AXP209_EVENT_H__ + +#define AXP209_PEK_PRESS (1 << 0) +#define AXP209_PEK_PRESS_LONG (1 << 1) +#define AXP209_VBUS_INSERT (1 << 2) +#define AXP209_VBUS_REMOVE (1 << 3) +#define AXP209_CHARGING (1 << 4) +#define AXP209_CHARG_FINISHED (1 << 5) +#define AXP209_ACIN_INSERT (1 << 6) +#define AXP209_ACIN_REMOVE (1 << 7) +#define AXP209_SET_TIMER (1 << 8) + +enum{ + ELEC80_100 = 0x20, + ELEC50_80, + ELEC20_50, + ELEC0_20, + ELEC80_100_C, + ELEC50_80_C, + ELEC20_50_C, + ELEC0_20_C, +}; + +#endif diff --git a/demo b/demo new file mode 100755 index 0000000..e4ac0ad Binary files /dev/null and b/demo differ diff --git a/demo.c b/demo.c new file mode 100644 index 0000000..f05af33 --- /dev/null +++ b/demo.c @@ -0,0 +1,57 @@ +#include +#include +#include +#include +#include +#include +//该头文件需要放在netlink.h前面防止编译出现__kernel_sa_family未定义 +#include +#include + +void MonitorNetlinkUevent() +{ + int sockfd; + struct sockaddr_nl sa; + int len; + char buf[4096]; + struct iovec iov; + struct msghdr msg; + int i; + + memset(&sa,0,sizeof(sa)); + sa.nl_family=AF_NETLINK; + sa.nl_groups=NETLINK_KOBJECT_UEVENT; + sa.nl_pid = 0;//getpid(); both is ok + //①、创建一个socket描述符 + sockfd=socket(AF_NETLINK,SOCK_RAW,NETLINK_KOBJECT_UEVENT); + if(sockfd==-1) + printf("socket creating failed:%s\n",strerror(errno)); + + //②、将描述符绑定到接收地址, 函数 bind() 用于把一个打开的 netlink socket 和 netlink 源 socket 地址绑定在一起 + if(bind(sockfd,(struct sockaddr *)&sa,sizeof(sa))==-1) + printf("bind error:%s\n",strerror(errno)); + + memset(&msg,0,sizeof(msg)); + iov.iov_base=(void *)buf; + iov.iov_len=sizeof(buf); + msg.msg_name=(void *)&sa; + msg.msg_namelen=sizeof(sa); + msg.msg_iov=&iov; + msg.msg_iovlen=1; + //③开始接收uevent + len=recvmsg(sockfd,&msg,0); + if(len<0) + printf("receive error\n"); + else if(len<32||len>sizeof(buf)) + printf("invalid message"); + for(i=0;i +#include + +#define GPIO_MODE_OFFSET 0x0060 +#define GPIO_39_24_DATA_OFFSET 0x0048 +#define GPIO_39_24_DIR_OFFSET 0x004C +#define GPIO_39_24_INT_OFFSET 0x0038 +#define GPIO_39_24_EDGE_OFFSET 0x003C +#define GPIO_39_24_RMASK_OFFSET 0x0040 +#define GPIO_39_24_FMASK_OFFSET 0x0044 + +#define GPIO_71_40_DATA_OFFSET 0x0070 +#define GPIO_71_40_DIR_OFFSET 0x0074 +#define GPIO_71_40_INT_OFFSET 0x0060 +#define GPIO_71_40_EDGE_OFFSET 0x0064 +#define GPIO_71_40_RMASK_OFFSET 0x0068 +#define GPIO_71_40_FMASK_OFFSET 0x006C + +#define INTENA_OFFSET 0x0034 + +#define GPIO_MODE (RALINK_SYSCTL_BASE + GPIO_MODE_OFFSET) + +#define GPIO_39_24_DATA (RALINK_PIO_BASE + GPIO_39_24_DATA_OFFSET) +#define GPIO_39_24_DIR (RALINK_PIO_BASE + GPIO_39_24_DIR_OFFSET) +#define GPIO_39_24_INT (RALINK_PIO_BASE + GPIO_39_24_INT_OFFSET) +#define GPIO_39_24_EDGE (RALINK_PIO_BASE + GPIO_39_24_EDGE_OFFSET) +#define GPIO_39_24_RMASK (RALINK_PIO_BASE + GPIO_39_24_RMASK_OFFSET) +#define GPIO_39_24_FMASK (RALINK_PIO_BASE + GPIO_39_24_FMASK_OFFSET) +#define INTENA (RALINK_INTCL_BASE + INTENA_OFFSET) + +#define GPIO_71_40_DATA (RALINK_PIO_BASE + GPIO_71_40_DATA_OFFSET) +#define GPIO_71_40_DIR (RALINK_PIO_BASE + GPIO_71_40_DIR_OFFSET) +#define GPIO_71_40_INT (RALINK_PIO_BASE + GPIO_71_40_INT_OFFSET) +#define GPIO_71_40_EDGE (RALINK_PIO_BASE + GPIO_71_40_EDGE_OFFSET) +#define GPIO_71_40_RMASK (RALINK_PIO_BASE + GPIO_71_40_RMASK_OFFSET) +#define GPIO_71_40_FMASK (RALINK_PIO_BASE + GPIO_71_40_FMASK_OFFSET) + +#endif diff --git a/taghl_config.txt b/taghl_config.txt new file mode 100644 index 0000000..f449b96 --- /dev/null +++ b/taghl_config.txt @@ -0,0 +1,3 @@ +IncludeLocals:True +UserLibraries:/home/mrdong/openwrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620a/linux-3.10.49/types_c.taghl +TagFileDirectory:. diff --git a/tags b/tags new file mode 100644 index 0000000..1b5cbc0 --- /dev/null +++ b/tags @@ -0,0 +1,121 @@ +!_TAG_FILE_FORMAT 2 /extended format; --format=1 will not append ;" to lines/ +!_TAG_FILE_SORTED 1 /0=unsorted, 1=sorted, 2=foldcase/ +!_TAG_PROGRAM_AUTHOR Darren Hiebert /dhiebert@users.sourceforge.net/ +!_TAG_PROGRAM_NAME Exuberant Ctags // +!_TAG_PROGRAM_URL http://ctags.sourceforge.net /official site/ +!_TAG_PROGRAM_VERSION 5.9~svn20110310 // +AXP209_ACIN_INSERT axp209_event.h 10;" d +AXP209_ACIN_REMOVE axp209_event.h 11;" d +AXP209_CHARGING axp209_event.h 8;" d +AXP209_CHARG_FINISHED axp209_event.h 9;" d +AXP209_CLEAR_IRQ_MASK axp209.h 16;" d +AXP209_DEV_NAME axp209.h 8;" d +AXP209_GET_ADDR axp209.h 23;" d +AXP209_GET_ELEC axp209.h 13;" d +AXP209_GET_IRQ_MASK axp209.h 15;" d +AXP209_GET_REG axp209.h 11;" d +AXP209_IOC_MAGIC axp209.h 9;" d +AXP209_PEK_PRESS axp209_event.h 4;" d +AXP209_PEK_PRESS_LONG axp209_event.h 5;" d +AXP209_SET_IRQ_MASK axp209.h 14;" d +AXP209_SET_REG axp209.h 12;" d +AXP209_SET_TIMER axp209_event.h 12;" d +AXP209_VBUS_INSERT axp209_event.h 6;" d +AXP209_VBUS_REMOVE axp209_event.h 7;" d +CLR_BIT axp209.h 6;" d +CONFIG_RALINK_MT7620 mt7620a_reg.h 4;" d +GPIO_39_24_DATA mt7620a_reg.h 27;" d +GPIO_39_24_DATA_OFFSET mt7620a_reg.h 9;" d +GPIO_39_24_DIR mt7620a_reg.h 28;" d +GPIO_39_24_DIR_OFFSET mt7620a_reg.h 10;" d +GPIO_39_24_EDGE mt7620a_reg.h 30;" d +GPIO_39_24_EDGE_OFFSET mt7620a_reg.h 12;" d +GPIO_39_24_FMASK mt7620a_reg.h 32;" d +GPIO_39_24_FMASK_OFFSET mt7620a_reg.h 14;" d +GPIO_39_24_INT mt7620a_reg.h 29;" d +GPIO_39_24_INT_OFFSET mt7620a_reg.h 11;" d +GPIO_39_24_RMASK mt7620a_reg.h 31;" d +GPIO_39_24_RMASK_OFFSET mt7620a_reg.h 13;" d +GPIO_71_40_DATA mt7620a_reg.h 35;" d +GPIO_71_40_DATA_OFFSET mt7620a_reg.h 16;" d +GPIO_71_40_DIR mt7620a_reg.h 36;" d +GPIO_71_40_DIR_OFFSET mt7620a_reg.h 17;" d +GPIO_71_40_EDGE mt7620a_reg.h 38;" d +GPIO_71_40_EDGE_OFFSET mt7620a_reg.h 19;" d +GPIO_71_40_FMASK mt7620a_reg.h 40;" d +GPIO_71_40_FMASK_OFFSET mt7620a_reg.h 21;" d +GPIO_71_40_INT mt7620a_reg.h 37;" d +GPIO_71_40_INT_OFFSET mt7620a_reg.h 18;" d +GPIO_71_40_RMASK mt7620a_reg.h 39;" d +GPIO_71_40_RMASK_OFFSET mt7620a_reg.h 20;" d +GPIO_IRQ_NUM axp209.c 33;" d file: +GPIO_MODE mt7620a_reg.h 25;" d +GPIO_MODE_OFFSET mt7620a_reg.h 8;" d +INTENA mt7620a_reg.h 33;" d +INTENA_OFFSET mt7620a_reg.h 23;" d +MonitorNetlinkUevent demo.c /^void MonitorNetlinkUevent() $/;" f +RAW_NOTIFIER_HEAD axp209.c /^static RAW_NOTIFIER_HEAD(axp209_chain);$/;" p file: +SET_BIT axp209.h 5;" d +_AXP209_H axp209.h 2;" d +__AXP209_EVENT_H__ axp209_event.h 2;" d +__MT7620A_REG_H__ mt7620a_reg.h 2;" d +__anon1::cdev_class axp209.c /^ struct class *cdev_class;$/;" m struct:__anon1 typeref:struct:__anon1::class file: access:public +__anon1::client axp209.c /^ struct i2c_client *client;$/;" m struct:__anon1 typeref:struct:__anon1::i2c_client file: access:public +__anon1::dev axp209.c /^ dev_t dev;$/;" m struct:__anon1 file: access:public +__anon1::dev_c axp209.c /^ struct cdev dev_c;$/;" m struct:__anon1 typeref:struct:__anon1::cdev file: access:public +__anon1::irq_mask axp209.c /^ unsigned int irq_mask;$/;" m struct:__anon1 file: access:public +__anon1::irq_status axp209.c /^ unsigned char irq_status[5];$/;" m struct:__anon1 file: access:public +__anon1::work axp209.c /^ struct work_struct work;$/;" m struct:__anon1 typeref:struct:__anon1::work_struct file: access:public +__module_depends axp209.mod.c /^static const char __module_depends[]$/;" p file: signature:(section()) +axp209_driver axp209.c /^module_i2c_driver(axp209_driver);$/;" v +axp209_driver axp209.c /^static struct i2c_driver axp209_driver = {$/;" v typeref:struct:i2c_driver file: +axp209_fops axp209.c /^struct file_operations axp209_fops = {$/;" v typeref:struct:file_operations +axp209_fops axp209.c /^struct file_operations axp209_fops;$/;" v typeref:struct:file_operations +axp209_id axp209.c /^static const struct i2c_device_id axp209_id[] = {$/;" v typeref:struct:i2c_device_id file: +axp209_info axp209.c /^}axp209_info;$/;" v typeref:struct:__anon1 +axp209_ioctl axp209.c /^long axp209_ioctl (struct file *, unsigned int, unsigned long);$/;" p file: signature:(struct file *, unsigned int, unsigned long) +axp209_ioctl axp209.c /^long axp209_ioctl (struct file *i, unsigned int cmd, unsigned long arg)$/;" f signature:(struct file *i, unsigned int cmd, unsigned long arg) +axp209_irq axp209.c /^irqreturn_t axp209_irq(int irq, void *data)$/;" f signature:(int irq, void *data) +axp209_irq_enable axp209.c /^static void axp209_irq_enable()$/;" f file: +axp209_irq_status_clear axp209.c /^static void axp209_irq_status_clear()$/;" f file: +axp209_irq_status_clear axp209.c /^static void axp209_irq_status_clear();$/;" p file: +axp209_irq_status_read axp209.c /^static void axp209_irq_status_read()$/;" f file: +axp209_of_match axp209.c /^static const struct of_device_id axp209_of_match[] = {$/;" v typeref:struct:of_device_id file: +axp209_open axp209.c /^int axp209_open (struct inode *, struct file *);$/;" p file: signature:(struct inode *, struct file *) +axp209_open axp209.c /^int axp209_open (struct inode *i, struct file *f)$/;" f signature:(struct inode *i, struct file *f) +axp209_probe axp209.c /^static int axp209_probe(struct i2c_client *client,const struct i2c_device_id *id)$/;" f file: signature:(struct i2c_client *client,const struct i2c_device_id *id) +axp209_readData axp209.c /^static int axp209_readData(struct i2c_client *client, unsigned char reg,unsigned char *value)$/;" f file: signature:(struct i2c_client *client, unsigned char reg,unsigned char *value) +axp209_read_a8_d8 axp209.c /^int axp209_read_a8_d8(struct i2c_client *client, unsigned char addr,unsigned char *value)$/;" f signature:(struct i2c_client *client, unsigned char addr,unsigned char *value) +axp209_read_a8_d8 axp209.c /^int axp209_read_a8_d8(struct i2c_client *client, unsigned char addr,unsigned char *value);$/;" p file: signature:(struct i2c_client *client, unsigned char addr,unsigned char *value) +axp209_release axp209.c /^int axp209_release (struct inode *, struct file *);$/;" p file: signature:(struct inode *, struct file *) +axp209_release axp209.c /^int axp209_release (struct inode *i, struct file *f)$/;" f signature:(struct inode *i, struct file *f) +axp209_remove axp209.c /^static int axp209_remove(struct i2c_client *client)$/;" f file: signature:(struct i2c_client *client) +axp209_sendData axp209.c /^static int axp209_sendData(struct i2c_client *client, unsigned char reg,unsigned char value)$/;" f file: signature:(struct i2c_client *client, unsigned char reg,unsigned char value) +axp209_write_a8_d8 axp209.c /^int axp209_write_a8_d8(struct i2c_client *client, unsigned char addr,unsigned char value)$/;" f signature:(struct i2c_client *client, unsigned char addr,unsigned char value) +axp209_write_a8_d8 axp209.c /^int axp209_write_a8_d8(struct i2c_client *client, unsigned char addr,unsigned char value);$/;" p file: signature:(struct i2c_client *client, unsigned char addr,unsigned char value) +call_axp209_notifiers axp209.c /^EXPORT_SYMBOL(call_axp209_notifiers);$/;" v +call_axp209_notifiers axp209.c /^static int call_axp209_notifiers(unsigned long val, void *v)$/;" f file: signature:(unsigned long val, void *v) +cdev_class axp209.c /^ struct class *cdev_class;$/;" m struct:__anon1 typeref:struct:__anon1::class file: access:public +client axp209.c /^ struct i2c_client *client;$/;" m struct:__anon1 typeref:struct:__anon1::i2c_client file: access:public +dev axp209.c /^ dev_t dev;$/;" m struct:__anon1 file: access:public +dev_c axp209.c /^ struct cdev dev_c;$/;" m struct:__anon1 typeref:struct:__anon1::cdev file: access:public +gpio33_irq_init axp209.c /^void gpio33_irq_init()$/;" f +hex2int axp.c /^int hex2int(char *szhex)$/;" f signature:(char *szhex) +irq_mask axp209.c /^ unsigned int irq_mask;$/;" m struct:__anon1 file: access:public +irq_status axp209.c /^ unsigned char irq_status[5];$/;" m struct:__anon1 file: access:public +irq_status_reg_to_event axp209.c /^static unsigned int irq_status_reg_to_event()$/;" f file: +main axp.c /^int main(int argc, char *argv[])$/;" f signature:(int argc, char *argv[]) +main demo.c /^int main(int argc,char **argv) $/;" f signature:(int argc,char **argv) +module axp209.mod.c /^struct module __this_module$/;" p file: signature:(section()) +reg_map axp209.c /^const unsigned char reg_map[] = {21, 20, 6, 12, 13, 12, 6, 5, 47};$/;" v +register_axp209_notifier axp209.c /^EXPORT_SYMBOL(register_axp209_notifier);$/;" v +register_axp209_notifier axp209.c /^static int register_axp209_notifier(struct notifier_block *nb)$/;" f file: signature:(struct notifier_block *nb) +send_irq_status axp209.c /^static void send_irq_status(struct work_struct*data)$/;" f file: signature:(struct work_struct*data) +send_irq_status axp209.c /^static void send_irq_status(struct work_struct*data);$/;" p file: signature:(struct work_struct*data) +str2int axp.c /^int str2int(char *hex)$/;" f signature:(char *hex) +unregister_axp209_notifier axp209.c /^EXPORT_SYMBOL(unregister_axp209_notifier);$/;" v +unregister_axp209_notifier axp209.c /^static int unregister_axp209_notifier(struct notifier_block *nb)$/;" f file: signature:(struct notifier_block *nb) +usage axp.c /^void usage() __attribute__ ((noreturn));$/;" p file: +usage axp.c /^void usage()$/;" f +usb_power_on axp209.c /^static void usb_power_on()$/;" f file: +work axp209.c /^ struct work_struct work;$/;" m struct:__anon1 typeref:struct:__anon1::work_struct file: access:public diff --git a/types_c.taghl b/types_c.taghl new file mode 100644 index 0000000..274201a --- /dev/null +++ b/types_c.taghl @@ -0,0 +1,7 @@ +syn keyword CTagsMember cdev_class work dev_c dev client irq_status irq_mask +syn keyword CTagsGlobalVariable unregister_axp209_notifier register_axp209_notifier call_axp209_notifiers axp209_driver axp209_fops axp209_info +syn keyword CTagsConstant axp209_id reg_map axp209_of_match +syn keyword CTagsFunction axp209_irq send_irq_status module axp209_sendData axp209_release axp209_remove axp209_irq_status_read call_axp209_notifiers axp209_open __module_depends usage axp209_write_a8_d8 main hex2int axp209_probe axp209_readData axp209_ioctl str2int axp209_irq_enable unregister_axp209_notifier gpio33_irq_init register_axp209_notifier usb_power_on axp209_read_a8_d8 irq_status_reg_to_event MonitorNetlinkUevent axp209_irq_status_clear RAW_NOTIFIER_HEAD +syn keyword CTagsDefinedName GPIO_71_40_DIR AXP209_IOC_MAGIC GPIO_71_40_INT CONFIG_RALINK_MT7620 GPIO_71_40_INT_OFFSET GPIO_71_40_DATA_OFFSET AXP209_SET_TIMER AXP209_SET_IRQ_MASK AXP209_SET_REG GPIO_39_24_EDGE GPIO_39_24_FMASK GPIO_39_24_DATA_OFFSET GPIO_39_24_DIR GPIO_71_40_FMASK GPIO_39_24_DATA GPIO_MODE_OFFSET GPIO_MODE AXP209_CHARGING AXP209_GET_ADDR AXP209_ACIN_REMOVE GPIO_71_40_EDGE GPIO_71_40_DATA GPIO_71_40_DIR_OFFSET GPIO_71_40_RMASK_OFFSET GPIO_39_24_EDGE_OFFSET GPIO_71_40_RMASK INTENA_OFFSET +syn keyword CTagsDefinedName CLR_BIT GPIO_71_40_EDGE_OFFSET GPIO_39_24_RMASK_OFFSET AXP209_VBUS_REMOVE SET_BIT _AXP209_H GPIO_39_24_DIR_OFFSET AXP209_CHARG_FINISHED AXP209_VBUS_INSERT __MT7620A_REG_H__ GPIO_39_24_FMASK_OFFSET AXP209_GET_IRQ_MASK AXP209_GET_REG AXP209_DEV_NAME GPIO_39_24_INT AXP209_PEK_PRESS AXP209_CLEAR_IRQ_MASK INTENA AXP209_ACIN_INSERT GPIO_39_24_RMASK GPIO_71_40_FMASK_OFFSET AXP209_GET_ELEC __AXP209_EVENT_H__ GPIO_IRQ_NUM GPIO_39_24_INT_OFFSET AXP209_PEK_PRESS_LONG +