xref: /netbsd-src/sys/arch/arm/sunxi/sunxi_sid.h (revision 3b0ef0a5e24df36be0ee534f824b604b81ddc81e)
1*3b0ef0a5Sjmcneill /* $NetBSD: sunxi_sid.h,v 1.1 2017/10/05 01:29:25 jmcneill Exp $ */
2*3b0ef0a5Sjmcneill 
3*3b0ef0a5Sjmcneill /*-
4*3b0ef0a5Sjmcneill  * Copyright (c) 2017 Jared McNeill <jmcneill@invisible.ca>
5*3b0ef0a5Sjmcneill  * All rights reserved.
6*3b0ef0a5Sjmcneill  *
7*3b0ef0a5Sjmcneill  * Redistribution and use in source and binary forms, with or without
8*3b0ef0a5Sjmcneill  * modification, are permitted provided that the following conditions
9*3b0ef0a5Sjmcneill  * are met:
10*3b0ef0a5Sjmcneill  * 1. Redistributions of source code must retain the above copyright
11*3b0ef0a5Sjmcneill  *    notice, this list of conditions and the following disclaimer.
12*3b0ef0a5Sjmcneill  * 2. Redistributions in binary form must reproduce the above copyright
13*3b0ef0a5Sjmcneill  *    notice, this list of conditions and the following disclaimer in the
14*3b0ef0a5Sjmcneill  *    documentation and/or other materials provided with the distribution.
15*3b0ef0a5Sjmcneill  *
16*3b0ef0a5Sjmcneill  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
17*3b0ef0a5Sjmcneill  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
18*3b0ef0a5Sjmcneill  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
19*3b0ef0a5Sjmcneill  * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
20*3b0ef0a5Sjmcneill  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
21*3b0ef0a5Sjmcneill  * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
22*3b0ef0a5Sjmcneill  * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
23*3b0ef0a5Sjmcneill  * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
24*3b0ef0a5Sjmcneill  * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25*3b0ef0a5Sjmcneill  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26*3b0ef0a5Sjmcneill  * SUCH DAMAGE.
27*3b0ef0a5Sjmcneill  */
28*3b0ef0a5Sjmcneill 
29*3b0ef0a5Sjmcneill #ifndef _ARM_SUNXI_SID_H
30*3b0ef0a5Sjmcneill #define	_ARM_SUNXI_SID_H
31*3b0ef0a5Sjmcneill 
32*3b0ef0a5Sjmcneill int	sunxi_sid_read_tscalib(uint32_t *);
33*3b0ef0a5Sjmcneill 
34*3b0ef0a5Sjmcneill #endif /* !_ARM_SUNXI_SID_H */
35