Home
last modified time | relevance | path

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

12

/freebsd/lib/libgpio/
H A Dlibgpio.h36 typedef uint32_t gpio_pin_t; typedef
42 gpio_pin_t g_pin;
75 int gpio_pin_set_name(gpio_handle_t, gpio_pin_t, char *);
84 gpio_value_t gpio_pin_get(gpio_handle_t, gpio_pin_t);
85 int gpio_pin_set(gpio_handle_t, gpio_pin_t, gpio_value_t);
86 int gpio_pin_toggle(gpio_handle_t, gpio_pin_t);
90 int gpio_pin_low(gpio_handle_t, gpio_pin_t);
91 int gpio_pin_high(gpio_handle_t, gpio_pin_t);
95 int gpio_pin_input(gpio_handle_t, gpio_pin_t);
96 int gpio_pin_output(gpio_handle_t, gpio_pin_t);
[all …]
H A Dgpio.c120 gpio_pin_set_name(gpio_handle_t handle, gpio_pin_t pin, char *name) in gpio_pin_set_name()
151 gpio_pin_get(gpio_handle_t handle, gpio_pin_t pin) in gpio_pin_get()
164 gpio_pin_set(gpio_handle_t handle, gpio_pin_t pin, gpio_value_t value) in gpio_pin_set()
180 gpio_pin_toggle(gpio_handle_t handle, gpio_pin_t pin) in gpio_pin_toggle()
193 gpio_pin_low(gpio_handle_t handle, gpio_pin_t pin) in gpio_pin_low()
199 gpio_pin_high(gpio_handle_t handle, gpio_pin_t pin) in gpio_pin_high()
205 gpio_pin_set_flag(gpio_handle_t handle, gpio_pin_t pin, uint32_t flag) in gpio_pin_set_flag()
219 gpio_pin_input(gpio_handle_t handle, gpio_pin_t pin) in gpio_pin_input()
225 gpio_pin_output(gpio_handle_t handle, gpio_pin_t pin) in gpio_pin_output()
231 gpio_pin_opendrain(gpio_handle_t handle, gpio_pin_t pin) in gpio_pin_opendrain()
[all …]
/freebsd/sys/dev/gpio/
H A Dgpiobusvar.h102 typedef struct gpiobus_pin *gpio_pin_t; typedef
144 char *name, gpio_pin_t *gpio);
146 int idx, gpio_pin_t *gpio);
148 char *name, gpio_pin_t *gpio);
150 char *name, int idx, gpio_pin_t *gpio);
154 int gpio_pin_get_by_bus_pinnum(device_t _bus, uint32_t _pinnum, gpio_pin_t *_gp);
157 int gpio_pin_get_by_child_index(device_t _child, uint32_t _idx, gpio_pin_t *_gp);
160 void gpio_pin_release(gpio_pin_t gpio);
163 int gpio_pin_getcaps(gpio_pin_t pin, uint32_t *caps);
164 int gpio_pin_is_active(gpio_pin_t pin, bool *active);
[all …]
H A Dgpiobus.c96 gpio_pin_t pin, uint32_t intr_mode) in gpio_alloc_intr_resource()
121 gpio_pin_t pin, uint32_t intr_mode) in gpio_alloc_intr_resource()
155 gpio_pin_get_by_bus_pinnum(device_t busdev, uint32_t pinnum, gpio_pin_t *ppin) in gpio_pin_get_by_bus_pinnum()
157 gpio_pin_t pin; in gpio_pin_get_by_bus_pinnum()
175 gpio_pin_get_by_child_index(device_t childdev, uint32_t idx, gpio_pin_t *ppin) in gpio_pin_get_by_child_index()
188 gpio_pin_getcaps(gpio_pin_t pin, uint32_t *caps) in gpio_pin_getcaps()
197 gpio_pin_is_active(gpio_pin_t pin, bool *active) in gpio_pin_is_active()
217 gpio_pin_release(gpio_pin_t gpio) in gpio_pin_release()
234 gpio_pin_set_active(gpio_pin_t pin, bool active) in gpio_pin_set_active()
251 gpio_pin_setflags(gpio_pin_t pin, uint32_t flags) in gpio_pin_setflags()
H A Dofw_gpiobus.c59 char *prop_name, int idx, gpio_pin_t *out_pin) in gpio_pin_get_by_ofw_propidx()
109 int idx, gpio_pin_t *pin) in gpio_pin_get_by_ofw_idx()
117 char *name, gpio_pin_t *pin) in gpio_pin_get_by_ofw_property()
125 char *name, gpio_pin_t *pin) in gpio_pin_get_by_ofw_name()
H A Dacpi_gpiobusvar.h47 gpio_pin_t *out_pin);
H A Dgpioiic.c53 gpio_pin_t sclpin;
54 gpio_pin_t sdapin;
H A Dgpiobacklight.c48 gpio_pin_t sc_pin;
H A Dgpiopower.c43 gpio_pin_t sc_pin;
H A Dgpioaei.c81 gpio_pin_t pin; in gpio_aei_attach()
H A Dgpioled_fdt.c51 gpio_pin_t pin;
H A Dgpiopps.c52 gpio_pin_t gpin;
H A Dgpioths.c87 gpio_pin_t pin;
H A Dacpi_gpiobus.c385 gpio_pin_t *out_pin) in gpio_pin_get_by_acpi_index()
/freebsd/sys/dev/mmc/
H A Dmmc_helpers.h37 gpio_pin_t wp_pin;
38 gpio_pin_t cd_pin;
/freebsd/sys/dev/sdhci/
H A Dsdhci_fdt_gpio.c48 gpio_pin_t wp_pin;
49 gpio_pin_t cd_pin;
/freebsd/sys/riscv/sifive/
H A Dfu740_pci_dw.c95 gpio_pin_t porst_pin;
96 gpio_pin_t pwren_pin;
/freebsd/sys/arm/nvidia/drm2/
H A Dtegra_drm.h75 gpio_pin_t gpio_hpd;
/freebsd/sys/dev/sound/fdt/
H A Dsimple_amplifier.c58 gpio_pin_t gpio_enable;
/freebsd/sys/arm/allwinner/
H A Daw_usbphy.c149 gpio_pin_t id_det_pin;
151 gpio_pin_t vbus_det_pin;
/freebsd/sys/dev/qcom_qup/
H A Dqcom_spi_var.h59 gpio_pin_t cs_pins[CS_MAX];
/freebsd/sys/dev/iicbus/mux/
H A Diic_gpiomux.c71 gpio_pin_t pins[IICMUX_MAX_BUSES];
/freebsd/sys/arm/freescale/imx/
H A Dimx_i2c.c146 gpio_pin_t rb_sclpin;
147 gpio_pin_t rb_sdapin;
/freebsd/sys/dev/ow/
H A Dowc_gpiobus.c66 gpio_pin_t sc_pin;
/freebsd/sys/arm/nvidia/
H A Dtegra_sdhci.c110 gpio_pin_t gpio_power;

12