Home
last modified time | relevance | path

Searched refs:gpio_pin_t (Results 1 – 15 of 15) sorted by relevance

/freebsd-11-stable/lib/libgpio/
HDlibgpio.h38 typedef uint32_t gpio_pin_t; typedef
44 gpio_pin_t g_pin;
77 int gpio_pin_set_name(gpio_handle_t, gpio_pin_t, char *);
86 int gpio_pin_get(gpio_handle_t, gpio_pin_t);
87 int gpio_pin_set(gpio_handle_t, gpio_pin_t, int);
88 int gpio_pin_toggle(gpio_handle_t, gpio_pin_t);
92 int gpio_pin_low(gpio_handle_t, gpio_pin_t);
93 int gpio_pin_high(gpio_handle_t, gpio_pin_t);
97 int gpio_pin_input(gpio_handle_t, gpio_pin_t);
98 int gpio_pin_output(gpio_handle_t, gpio_pin_t);
[all …]
HDgpio.c122 gpio_pin_set_name(gpio_handle_t handle, gpio_pin_t pin, char *name) in gpio_pin_set_name()
153 gpio_pin_get(gpio_handle_t handle, gpio_pin_t pin) in gpio_pin_get()
166 gpio_pin_set(gpio_handle_t handle, gpio_pin_t pin, gpio_value_t value) in gpio_pin_set()
182 gpio_pin_toggle(gpio_handle_t handle, gpio_pin_t pin) in gpio_pin_toggle()
195 gpio_pin_low(gpio_handle_t handle, gpio_pin_t pin) in gpio_pin_low()
201 gpio_pin_high(gpio_handle_t handle, gpio_pin_t pin) in gpio_pin_high()
207 gpio_pin_set_flag(gpio_handle_t handle, gpio_pin_t pin, uint32_t flag) in gpio_pin_set_flag()
221 gpio_pin_input(gpio_handle_t handle, gpio_pin_t pin) in gpio_pin_input()
227 gpio_pin_output(gpio_handle_t handle, gpio_pin_t pin) in gpio_pin_output()
233 gpio_pin_opendrain(gpio_handle_t handle, gpio_pin_t pin) in gpio_pin_opendrain()
[all …]
/freebsd-11-stable/sys/dev/gpio/
HDgpiobusvar.h99 typedef struct gpiobus_pin *gpio_pin_t; typedef
141 char *name, gpio_pin_t *gpio);
143 int idx, gpio_pin_t *gpio);
145 char *name, gpio_pin_t *gpio);
147 char *name, int idx, gpio_pin_t *gpio);
148 void gpio_pin_release(gpio_pin_t gpio);
149 int gpio_pin_getcaps(gpio_pin_t pin, uint32_t *caps);
150 int gpio_pin_is_active(gpio_pin_t pin, bool *active);
151 int gpio_pin_set_active(gpio_pin_t pin, bool active);
152 int gpio_pin_setflags(gpio_pin_t pin, uint32_t flags);
[all …]
HDofw_gpiobus.c60 char *prop_name, int idx, gpio_pin_t *out_pin) in gpio_pin_get_by_ofw_propidx()
110 int idx, gpio_pin_t *pin) in gpio_pin_get_by_ofw_idx()
118 char *name, gpio_pin_t *pin) in gpio_pin_get_by_ofw_property()
126 char *name, gpio_pin_t *pin) in gpio_pin_get_by_ofw_name()
140 gpio_pin_release(gpio_pin_t gpio) in gpio_pin_release()
158 gpio_pin_getcaps(gpio_pin_t pin, uint32_t *caps) in gpio_pin_getcaps()
167 gpio_pin_is_active(gpio_pin_t pin, bool *active) in gpio_pin_is_active()
187 gpio_pin_set_active(gpio_pin_t pin, bool active) in gpio_pin_set_active()
204 gpio_pin_setflags(gpio_pin_t pin, uint32_t flags) in gpio_pin_setflags()
HDgpiobacklight.c50 gpio_pin_t sc_pin;
HDgpioled_fdt.c53 gpio_pin_t pin;
HDgpiopps.c56 gpio_pin_t gpin;
HDgpiobus.c87 gpio_pin_t pin, uint32_t intr_mode) in gpio_alloc_intr_resource()
112 gpio_pin_t pin, uint32_t intr_mode) in gpio_alloc_intr_resource()
HDgpiokeys.c97 gpio_pin_t pin;
/freebsd-11-stable/sys/arm/allwinner/
HDaw_usbphy.c69 gpio_pin_t id_det_pin;
71 gpio_pin_t vbus_det_pin;
/freebsd-11-stable/sys/dev/sdhci/
HDsdhci_fdt_gpio.c51 gpio_pin_t wp_pin;
52 gpio_pin_t cd_pin;
/freebsd-11-stable/sys/arm/nvidia/drm2/
HDtegra_drm.h77 gpio_pin_t gpio_hpd;
/freebsd-11-stable/sys/arm/freescale/imx/
HDimx_i2c.c141 gpio_pin_t rb_sclpin;
142 gpio_pin_t rb_sdapin;
HDimx_spi.c130 gpio_pin_t cspins[CS_MAX];
/freebsd-11-stable/sys/arm/nvidia/
HDtegra_sdhci.c109 gpio_pin_t gpio_power;