1*cff5caddSsnj /* $NetBSD: at91pmcvar.h,v 1.3 2009/10/23 06:53:13 snj Exp $ */ 2c62a0ac4Smatt /* 3c62a0ac4Smatt * Copyright (c) 2007 Embedtronics Oy 4c62a0ac4Smatt * All rights reserved. 5c62a0ac4Smatt * 6c62a0ac4Smatt * Redistribution and use in source and binary forms, with or without 7c62a0ac4Smatt * modification, are permitted provided that the following conditions 8c62a0ac4Smatt * are met: 9c62a0ac4Smatt * 1. Redistributions of source code must retain the above copyright 10c62a0ac4Smatt * notice, this list of conditions and the following disclaimer. 11c62a0ac4Smatt * 2. Redistributions in binary form must reproduce the above copyright 12c62a0ac4Smatt * notice, this list of conditions and the following disclaimer in the 13c62a0ac4Smatt * documentation and/or other materials provided with the distribution. 14c62a0ac4Smatt * 15c62a0ac4Smatt * THIS SOFTWARE IS PROVIDED BY ICHIRO FUKUHARA ``AS IS'' AND ANY EXPRESS OR 16c62a0ac4Smatt * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 17c62a0ac4Smatt * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 18c62a0ac4Smatt * IN NO EVENT SHALL ICHIRO FUKUHARA OR THE VOICES IN HIS HEAD BE LIABLE FOR 19c62a0ac4Smatt * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 20c62a0ac4Smatt * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 21c62a0ac4Smatt * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22c62a0ac4Smatt * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23c62a0ac4Smatt * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24c62a0ac4Smatt * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25c62a0ac4Smatt * SUCH DAMAGE. 26c62a0ac4Smatt */ 27c62a0ac4Smatt 28c62a0ac4Smatt #ifndef _AT91PMCVAR_H_ 29c62a0ac4Smatt #define _AT91PMCVAR_H_ 30c62a0ac4Smatt 31c62a0ac4Smatt void at91pmc_get_clocks(struct at91bus_clocks *); 32c62a0ac4Smatt void at91pmc_peripheral_clock(int pid, int enable); 33c62a0ac4Smatt 34c62a0ac4Smatt #endif /* _AT91PMCVAR_H_ */ 35