at91_pmcvar.h (237745) | at91_pmcvar.h (239190) |
---|---|
1/*- 2 * Copyright (c) 2005 M. Warner Losh. All rights reserved. 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions 6 * are met: 7 * 1. Redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer. --- 9 unchanged lines hidden (view full) --- 18 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 19 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 20 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 21 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 22 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 23 * SUCH DAMAGE. 24 */ 25 | 1/*- 2 * Copyright (c) 2005 M. Warner Losh. All rights reserved. 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions 6 * are met: 7 * 1. Redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer. --- 9 unchanged lines hidden (view full) --- 18 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 19 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 20 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 21 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 22 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 23 * SUCH DAMAGE. 24 */ 25 |
26/* $FreeBSD: head/sys/arm/at91/at91_pmcvar.h 237745 2012-06-29 06:06:19Z imp $ */ | 26/* $FreeBSD: head/sys/arm/at91/at91_pmcvar.h 239190 2012-08-11 05:45:19Z imp $ */ |
27 28#ifndef ARM_AT91_AT91_PMCVAR_H 29#define ARM_AT91_AT91_PMCVAR_H 30 31struct at91_pmc_clock 32{ 33 char *name; 34 uint32_t hz; --- 22 unchanged lines hidden (view full) --- 57 58struct at91_pmc_clock *at91_pmc_clock_add(const char *name, uint32_t irq, 59 struct at91_pmc_clock *parent); 60struct at91_pmc_clock *at91_pmc_clock_ref(const char *name); 61void at91_pmc_clock_deref(struct at91_pmc_clock *); 62void at91_pmc_clock_enable(struct at91_pmc_clock *); 63void at91_pmc_clock_disable(struct at91_pmc_clock *); 64 | 27 28#ifndef ARM_AT91_AT91_PMCVAR_H 29#define ARM_AT91_AT91_PMCVAR_H 30 31struct at91_pmc_clock 32{ 33 char *name; 34 uint32_t hz; --- 22 unchanged lines hidden (view full) --- 57 58struct at91_pmc_clock *at91_pmc_clock_add(const char *name, uint32_t irq, 59 struct at91_pmc_clock *parent); 60struct at91_pmc_clock *at91_pmc_clock_ref(const char *name); 61void at91_pmc_clock_deref(struct at91_pmc_clock *); 62void at91_pmc_clock_enable(struct at91_pmc_clock *); 63void at91_pmc_clock_disable(struct at91_pmc_clock *); 64 |
65uint32_t at91_pmc_800mhz_plla_outb(int freq); 66uint32_t at91_pmc_800mhz_pllb_outb(int freq); |
|
65#endif /* ARM_AT91_AT91_PMCVAR_H */ | 67#endif /* ARM_AT91_AT91_PMCVAR_H */ |