Searched refs:gpio_intel_softc (Results 1 – 3 of 3) sorted by relevance
/dflybsd-src/sys/bus/gpio/gpio_intel/ |
H A D | gpio_intel_var.h | 24 struct gpio_intel_softc { struct 36 typedef void(*gpio_intel_init_fn)(struct gpio_intel_softc *sc); argument 37 typedef int(*gpio_intel_map_intr_fn)(struct gpio_intel_softc *sc, 39 typedef void(*gpio_intel_unmap_intr_fn)(struct gpio_intel_softc *sc, 41 typedef void(*gpio_intel_enable_intr_fn)(struct gpio_intel_softc *sc, 43 typedef void(*gpio_intel_disable_intr_fn)(struct gpio_intel_softc *sc, 45 typedef int(*gpio_intel_check_io_pin_fn)(struct gpio_intel_softc *sc, 47 typedef void(*gpio_intel_write_pin_fn)(struct gpio_intel_softc *sc, 49 typedef int(*gpio_intel_read_pin_fn)(struct gpio_intel_softc *sc, 64 int gpio_cherryview_matchuid(struct gpio_intel_softc *sc);
|
H A D | gpio_cherryview.c | 83 static void gpio_cherryview_init(struct gpio_intel_softc *sc); 85 static int gpio_cherryview_map_intr(struct gpio_intel_softc *sc, 87 static void gpio_cherryview_unmap_intr(struct gpio_intel_softc *sc, 89 static void gpio_cherryview_enable_intr(struct gpio_intel_softc *sc, 91 static void gpio_cherryview_disable_intr(struct gpio_intel_softc *sc, 93 static int gpio_cherryview_check_io_pin(struct gpio_intel_softc *sc, 95 static int gpio_cherryview_read_pin(struct gpio_intel_softc *sc, 97 static void gpio_cherryview_write_pin(struct gpio_intel_softc *sc, 162 chvgpio_read(struct gpio_intel_softc *sc, bus_size_t offset) in chvgpio_read() 173 chvgpio_write(struct gpio_intel_softc *sc, bus_size_t offset, uint32_t val) in chvgpio_write() [all …]
|
H A D | gpio_intel.c | 74 static int gpio_intel_pin_exists(struct gpio_intel_softc *sc, 95 struct gpio_intel_softc *sc = device_get_softc(dev); in gpio_intel_attach() 173 struct gpio_intel_softc *sc = device_get_softc(dev); in gpio_intel_detach() 209 struct gpio_intel_softc *sc = device_get_softc(dev); in gpio_intel_alloc_intr() 253 struct gpio_intel_softc *sc = device_get_softc(dev); in gpio_intel_free_intr() 269 struct gpio_intel_softc *sc = device_get_softc(dev); in gpio_intel_setup_intr() 284 struct gpio_intel_softc *sc = device_get_softc(dev); in gpio_intel_teardown_intr() 299 struct gpio_intel_softc *sc = device_get_softc(dev); in gpio_intel_alloc_io_pin() 346 struct gpio_intel_softc *sc = device_get_softc(dev); in gpio_intel_release_io_pin() 358 struct gpio_intel_softc *sc = device_get_softc(dev); in gpio_intel_read_pin() [all …]
|