summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-ixp4xx
AgeCommit message (Expand)Author
2017-11-21treewide: Switch DEFINE_TIMER callbacks to struct timer_list *Kees Cook
2017-11-14Merge branch 'i2c/for-4.15' of ssh://gitolite.kernel.org/pub/scm/linux/kernel...Linus Torvalds
2017-11-13Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman
2017-10-30i2c: gpio: Augment all boardfiles to use open drainLinus Walleij
2017-10-30i2c: gpio: Convert to use descriptorsLinus Walleij
2017-10-05timer: Remove expires and data arguments from DEFINE_TIMERKees Cook
2017-09-01Merge tag 'nand/for-4.14' of git://git.infradead.org/l2-mtd into mtd/nextBoris Brezillon
2017-08-13mtd: nand: Rename nand.h into rawnand.hBoris Brezillon
2017-07-27ARM: ixp4xx: fix ioport_unmap definitionArnd Bergmann
2017-07-27ARM: ixp4xx: use normal prototype for {read,write}s{b,w,l}Arnd Bergmann
2017-05-08scripts/spelling.txt: add regsiter -> register spelling mistakeStephen Boyd
2016-12-25clocksource: Use a plain u64 instead of cycle_tThomas Gleixner
2016-12-24Replace <asm/uaccess.h> with <linux/uaccess.h> globallyLinus Torvalds
2016-11-26ARM: ixp4xx: drop duplicate header gpio.hGeliang Tang
2016-03-17Merge tag 'gpio-v4.6-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linu...Linus Torvalds
2016-03-04usb: gadget: pxa25x_udc: move register definitions from archArnd Bergmann
2016-02-19ARM: ixp4xx: switch to gpiochip_add_data()Linus Walleij
2016-01-13Merge tag 'for-linus-20160112' of git://git.infradead.org/linux-mtdLinus Torvalds
2016-01-07ARM: make use of nand_set/get_controller_data() helpersBoris BREZILLON
2015-12-07ARM: nand: make use of mtd_to_nand() where appropriateBoris BREZILLON
2015-12-01ARM: ixp4xx: fix read{b,w,l} return typesArnd Bergmann
2015-07-28ARM: kill off set_irq_flags usageRob Herring
2015-07-17ARM/ixp4xx/timer: Migrate to new 'set-state' interfaceViresh Kumar
2015-05-14ARM: Show proper respect for Heinrich Hertz by using the correct unit for fre...Russell King
2015-02-18ARM: ixp4xx: fix {in,out}s{bwl} data typesArnd Bergmann
2014-11-10ARM: ixp4xx: Properly override I/O accessorsThierry Reding
2014-11-10ARM: ixp4xx: Fix build with IXP4XX_INDIRECT_PCIArnd Bergmann
2014-04-05Merge tag 'cleanup-3.15' of git://git.kernel.org/pub/scm/linux/kernel/git/arm...Linus Torvalds
2014-04-05Merge tag 'fixes-non-critical-3.15' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds
2014-03-26IXP4xx: Fix DMA masks.Krzysztof Halasa
2014-03-26Revert "ARM: ixp4xx: Make dma_set_coherent_mask common, correct implementation"Arnd Bergmann
2014-03-26IXP4xx: Fix Goramo Multilink GPIO conversion.Krzysztof Halasa
2014-03-26Revert "ARM: ixp4xx: fix gpio rework"Arnd Bergmann
2014-03-22Merge branch 'randconfig-fixes' into next/fixes-non-criticalArnd Bergmann
2014-03-21ARM: ixp4xx: fix gpio reworkArnd Bergmann
2014-03-21ARM: ixp4xx: avoid use of PCIBIOS_MIN_MEM in io.hArnd Bergmann
2014-03-21ARM: ixp4xx/omixp: always include linux/leds.hArnd Bergmann
2014-03-18ARM: ixp4xx: Make dma_set_coherent_mask common, correct implementationSimon Kågström
2014-03-12ARM: 7998/1: IXP4xx: remove deprecated IRQF_DISABLEDMichael Opdenacker
2014-02-18Merge tag 'dropmachtimexh-v2' of git://git.pengutronix.de/git/ukl/linux into ...Olof Johansson
2014-02-18ARM: ixp4xx: fix timer latch calculationUwe Kleine-König
2014-01-23Merge tag 'soc-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ar...Linus Torvalds
2014-01-22Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jik...Linus Torvalds
2014-01-02IXP4xx: remove '1 &&' from a condition check in ixp4xx_restart()Krzysztof Hałasa
2013-12-20ARM: drop <mach/timex.h> for !ARCH_MULTIPLATFORM, tooUwe Kleine-König
2013-12-20ARM: ixp4xx: stop using <mach/timex.h>Uwe Kleine-König
2013-12-11arm/PCI: Use dev_is_pci() to identify PCI devicesYijing Wang
2013-12-06Merge branch 'soc/sched_clock' into next/socKevin Hilman
2013-11-21ARM: IXP4xx: Switch to sched_clock_register()Stephen Boyd
/span>\$opt_all, "I=s" => \@opt_include, graph => \$opt_graph, ); push @opt_include, 'include'; my %deps = (); my %linenos = (); my @headers = grep { strip($_) } @ARGV; parse_all(@headers); if($opt_graph) { graph(); } else { detect_cycles(@headers); } sub help { print "Usage: $0 [options] file...\n"; print "\n"; print "Options:\n"; print " --all\n"; print " --graph\n"; print "\n"; print " -I includedir\n"; print "\n"; print "To make nice graphs, try:\n"; print " $0 --graph include/linux/kernel.h | dot -Tpng -o graph.png\n"; exit; } sub version { print "headerdep version 2\n"; exit; } # Get a file name that is relative to our include paths sub strip { my $filename = shift; for my $i (@opt_include) { my $stripped = $filename; $stripped =~ s/^$i\///; return $stripped if $stripped ne $filename; } return $filename; } # Search for the file name in the list of include paths sub search { my $filename = shift; return $filename if -f $filename; for my $i (@opt_include) { my $path = "$i/$filename"; return $path if -f $path; } return; } sub parse_all { # Parse all the headers. my @queue = @_; while(@queue) { my $header = pop @queue; next if exists $deps{$header}; $deps{$header} = [] unless exists $deps{$header}; my $path = search($header); next unless $path; open(my $file, '<', $path) or die($!); chomp(my @lines = <$file>); close($file); for my $i (0 .. $#lines) { my $line = $lines[$i]; if(my($dep) = ($line =~ m/^#\s*include\s*<(.*?)>/)) { push @queue, $dep; push @{$deps{$header}}, [$i + 1, $dep]; } } } } sub print_cycle { # $cycle[n] includes $cycle[n + 1]; # $cycle[-1] will be the culprit my $cycle = shift; # Adjust the line numbers for my $i (0 .. $#$cycle - 1) { $cycle->[$i]->[0] = $cycle->[$i + 1]->[0]; } $cycle->[-1]->[0] = 0; my $first = shift @$cycle; my $last = pop @$cycle; my $msg = "In file included"; printf "%s from %s,\n", $msg, $last->[1] if defined $last; for my $header (reverse @$cycle) { printf "%s from %s:%d%s\n", " " x length $msg, $header->[1], $header->[0], $header->[1] eq $last->[1] ? ' <-- here' : ''; } printf "%s:%d: warning: recursive header inclusion\n", $first->[1], $first->[0]; } # Find and print the smallest cycle starting in the specified node. sub detect_cycles { my @queue = map { [[0, $_]] } @_; while(@queue) { my $top = pop @queue; my $name = $top->[-1]->[1]; for my $dep (@{$deps{$name}}) { my $chain = [@$top, [$dep->[0], $dep->[1]]]; # If the dep already exists in the chain, we have a # cycle... if(grep { $_->[1] eq $dep->[1] } @$top) { print_cycle($chain); next if $opt_all; return; } push @queue, $chain; } } } sub mangle { $_ = shift; s/\//__/g; s/\./_/g; s/-/_/g; $_; } # Output dependency graph in GraphViz language. sub graph { print "digraph {\n"; print "\t/* vertices */\n"; for my $header (keys %deps) { printf "\t%s [label=\"%s\"];\n", mangle($header), $header; } print "\n"; print "\t/* edges */\n"; for my $header (keys %deps) { for my $dep (@{$deps{$header}}) { printf "\t%s -> %s;\n", mangle($header), mangle($dep->[1]); } } print "}\n"; }