/* * Copyright (C) 2015 Anshuman Khandual, IBM Corporation. * * 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. */ #define GPR_1 1 #define GPR_2 2 #define GPR_3 3 #define GPR_4 4 #define FPR_1 0.001 #define FPR_2 0.002 #define FPR_3 0.003 #define FPR_4 0.004 #define FPR_1_REP 0x3f50624de0000000 #define FPR_2_REP 0x3f60624de0000000 #define FPR_3_REP 0x3f689374c0000000 #define FPR_4_REP 0x3f70624de0000000 /* Buffer must have 18 elements */ int validate_gpr(unsigned long *gpr, unsigned long val) { int i, found = 1; for (i = 0; i < 18; i++) { if (gpr[i] != val) { printf("GPR[%d]: %lx Expected: %lx\n", i+14, gpr[i], val); found = 0; } } if (!found) return TEST_FAIL; return TEST_PASS; } /* Buffer must have 32 elements */ int validate_fpr(unsigned long *fpr, unsigned long val) { int i, found = 1; for (i = 0; i < 32; i++) { if (fpr[i] != val) { printf("FPR[%d]: %lx Expected: %lx\n", i, fpr[i], val); found = 0; } } if (!found) return TEST_FAIL; return TEST_PASS; } /* Buffer must have 32 elements */ int validate_fpr_float(float *fpr, float val) { int i, found = 1; for (i = 0; i < 32; i++) { if (fpr[i] != val) { printf("FPR[%d]: %f Expected: %f\n", i, fpr[i], val); found = 0; } } if (!found) return TEST_FAIL; return TEST_PASS; } linux/net-next.git/'>summaryrefslogtreecommitdiff
path: root/include/dt-bindings/clock/exynos4415.h
lass='ctrl'>
AgeCommit message (Expand)AuthorFilesLines
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2016-12-11 10:17:39 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2016-12-11 10:17:39 -0800
commit2e4333c14de06a333783d6812cf3c4998f78b0c8 (patch)
tree368428514d70f34f2261c7f954f241f886d6bb51 /tools/perf/arch/xtensa/Makefile
parent045169816b31b10faed984b01c390db1b32ee4c1 (diff)
parentba735155b9647b6167fd50276ca0fbfbce4e836c (diff)
Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus
Pull MIPS fixes from Ralf Baechle: "Two more MIPS fixes for 4.9: - RTC: Return -ENODEV so an external RTC will be tried - Fix mask of GPE frequency These two have been tested on Imagination's automated test system and also both received positive reviews on the linux-mips mailing list" * 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus: MIPS: Lantiq: Fix mask of GPE frequency MIPS: Return -ENODEV from weak implementation of rtc_mips_set_time
Diffstat (limited to 'tools/perf/arch/xtensa/Makefile')