gpiobusvar.h (279553) | gpiobusvar.h (279622) |
---|---|
1/*- 2 * Copyright (c) 2009 Oleksandr Tymoshenko <gonzo@freebsd.org> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * | 1/*- 2 * Copyright (c) 2009 Oleksandr Tymoshenko <gonzo@freebsd.org> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * |
26 * $FreeBSD: head/sys/dev/gpio/gpiobusvar.h 279553 2015-03-02 22:28:47Z loos $ | 26 * $FreeBSD: head/sys/dev/gpio/gpiobusvar.h 279622 2015-03-05 03:11:47Z loos $ |
27 * 28 */ 29 30#ifndef __GPIOBUS_H__ 31#define __GPIOBUS_H__ 32 33#include "opt_platform.h" 34 --- 70 unchanged lines hidden (view full) --- 105void ofw_gpiobus_unregister_provider(device_t); 106#endif 107int gpio_check_flags(uint32_t, uint32_t); 108device_t gpiobus_attach_bus(device_t); 109int gpiobus_detach_bus(device_t); 110int gpiobus_init_softc(device_t); 111int gpiobus_alloc_ivars(struct gpiobus_ivar *); 112void gpiobus_free_ivars(struct gpiobus_ivar *); | 27 * 28 */ 29 30#ifndef __GPIOBUS_H__ 31#define __GPIOBUS_H__ 32 33#include "opt_platform.h" 34 --- 70 unchanged lines hidden (view full) --- 105void ofw_gpiobus_unregister_provider(device_t); 106#endif 107int gpio_check_flags(uint32_t, uint32_t); 108device_t gpiobus_attach_bus(device_t); 109int gpiobus_detach_bus(device_t); 110int gpiobus_init_softc(device_t); 111int gpiobus_alloc_ivars(struct gpiobus_ivar *); 112void gpiobus_free_ivars(struct gpiobus_ivar *); |
113int gpiobus_map_pin(device_t, device_t, uint32_t); | 113int gpiobus_map_pin(device_t, uint32_t); |
114 115extern driver_t gpiobus_driver; 116 117#endif /* __GPIOBUS_H__ */ | 114 115extern driver_t gpiobus_driver; 116 117#endif /* __GPIOBUS_H__ */ |