/freebsd/lib/libgpio/ |
H A D | libgpio.h | 36 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 D | gpio.c | 120 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 D | gpiobusvar.h | 102 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 D | gpiobus.c | 96 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 D | ofw_gpiobus.c | 59 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 D | acpi_gpiobusvar.h | 47 gpio_pin_t *out_pin);
|
H A D | gpioiic.c | 53 gpio_pin_t sclpin; 54 gpio_pin_t sdapin;
|
H A D | gpiobacklight.c | 48 gpio_pin_t sc_pin;
|
H A D | gpiopower.c | 43 gpio_pin_t sc_pin;
|
H A D | gpioaei.c | 81 gpio_pin_t pin; in gpio_aei_attach()
|
H A D | gpioled_fdt.c | 51 gpio_pin_t pin;
|
H A D | gpiopps.c | 52 gpio_pin_t gpin;
|
H A D | gpioths.c | 87 gpio_pin_t pin;
|
H A D | acpi_gpiobus.c | 385 gpio_pin_t *out_pin) in gpio_pin_get_by_acpi_index()
|
/freebsd/sys/dev/mmc/ |
H A D | mmc_helpers.h | 37 gpio_pin_t wp_pin; 38 gpio_pin_t cd_pin;
|
/freebsd/sys/dev/sdhci/ |
H A D | sdhci_fdt_gpio.c | 48 gpio_pin_t wp_pin; 49 gpio_pin_t cd_pin;
|
/freebsd/sys/riscv/sifive/ |
H A D | fu740_pci_dw.c | 95 gpio_pin_t porst_pin; 96 gpio_pin_t pwren_pin;
|
/freebsd/sys/arm/nvidia/drm2/ |
H A D | tegra_drm.h | 75 gpio_pin_t gpio_hpd;
|
/freebsd/sys/dev/sound/fdt/ |
H A D | simple_amplifier.c | 58 gpio_pin_t gpio_enable;
|
/freebsd/sys/arm/allwinner/ |
H A D | aw_usbphy.c | 149 gpio_pin_t id_det_pin; 151 gpio_pin_t vbus_det_pin;
|
/freebsd/sys/dev/qcom_qup/ |
H A D | qcom_spi_var.h | 59 gpio_pin_t cs_pins[CS_MAX];
|
/freebsd/sys/dev/iicbus/mux/ |
H A D | iic_gpiomux.c | 71 gpio_pin_t pins[IICMUX_MAX_BUSES];
|
/freebsd/sys/arm/freescale/imx/ |
H A D | imx_i2c.c | 146 gpio_pin_t rb_sclpin; 147 gpio_pin_t rb_sdapin;
|
/freebsd/sys/dev/ow/ |
H A D | owc_gpiobus.c | 66 gpio_pin_t sc_pin;
|
/freebsd/sys/arm/nvidia/ |
H A D | tegra_sdhci.c | 110 gpio_pin_t gpio_power;
|