Home
last modified time | relevance | path

Searched defs:gpio (Results 1 – 25 of 58) sorted by relevance

123

/openbsd/sys/dev/pci/drm/amd/display/dc/gpio/
H A Dgpio_base.c53 struct gpio *gpio, in dal_gpio_open()
60 struct gpio *gpio, in dal_gpio_open_ex()
79 const struct gpio *gpio, in dal_gpio_get_value()
91 const struct gpio *gpio, in dal_gpio_set_value()
103 const struct gpio *gpio) in dal_gpio_get_mode()
109 struct gpio *gpio) in dal_gpio_lock_pin()
115 struct gpio *gpio) in dal_gpio_unlock_pin()
121 struct gpio *gpio, in dal_gpio_change_mode()
145 struct gpio *gpio, in dal_gpio_set_config()
252 struct gpio *gpio) in dal_gpio_close()
[all …]
H A Dhw_gpio.c43 struct hw_gpio *gpio) in store_registers()
52 struct hw_gpio *gpio) in restore_registers()
77 const struct hw_gpio *gpio = FROM_HW_GPIO_PIN(ptr); in dal_hw_gpio_get_value() local
99 struct hw_gpio *gpio = FROM_HW_GPIO_PIN(ptr); in dal_hw_gpio_set_value() local
142 struct hw_gpio *gpio, in dal_hw_gpio_config_mode()
H A Dgeneric_regs.h53 struct gpio_registers gpio; member
H A Dhw_generic.c124 struct hw_gpio_pin *dal_hw_generic_get_pin(struct gpio *gpio) in dal_hw_generic_get_pin()
H A Dhpd_regs.h64 struct gpio_registers gpio; member
H A Dhw_hpd.c144 struct hw_gpio_pin *dal_hw_hpd_get_pin(struct gpio *gpio) in dal_hw_hpd_get_pin()
H A Dhw_ddc.c248 struct hw_gpio_pin *dal_hw_ddc_get_pin(struct gpio *gpio) in dal_hw_ddc_get_pin()
/openbsd/sys/dev/pci/drm/amd/display/dc/inc/hw/
H A Dgpio.h38 struct gpio { struct
39 struct gpio_service *service; argument
40 struct hw_gpio_pin *pin; argument
41 enum gpio_id id; argument
44 union gpio_hw_container hw_container; argument
45 enum gpio_mode mode; argument
48 enum gpio_pin_output_state output_state; argument
/openbsd/sys/dev/gpio/
H A Dgpio.c169 gpio_pin_map(void *gpio, int offset, u_int32_t mask, struct gpio_pinmap *map) in gpio_pin_map()
194 gpio_pin_unmap(void *gpio, struct gpio_pinmap *map) in gpio_pin_unmap()
206 gpio_pin_read(void *gpio, struct gpio_pinmap *map, int pin) in gpio_pin_read()
214 gpio_pin_write(void *gpio, struct gpio_pinmap *map, int pin, int value) in gpio_pin_write()
222 gpio_pin_ctl(void *gpio, struct gpio_pinmap *map, int pin, int flags) in gpio_pin_ctl()
230 gpio_pin_caps(void *gpio, struct gpio_pinmap *map, int pin) in gpio_pin_caps()
/openbsd/sys/dev/ofw/
H A Dofw_regulator.c111 uint32_t *gpio; in regulator_fixed_set() local
372 uint32_t *gpio, *gpios, *states; in regulator_gpio_get() local
422 uint32_t *gpio, *gpios, *states; in regulator_gpio_set() local
H A Dofw_gpio.c45 uint32_t *gpio; in gpio_controller_register() local
/openbsd/sys/arch/armv7/omap/
H A Domgpio.c450 omgpio_get_bit(unsigned int gpio) in omgpio_get_bit()
458 omgpio_set_bit(unsigned int gpio) in omgpio_set_bit()
466 omgpio_clear_bit(unsigned int gpio) in omgpio_clear_bit()
474 omgpio_set_dir(unsigned int gpio, unsigned int dir) in omgpio_set_dir()
523 omgpio_pin_dir_write(struct omgpio_softc *sc, unsigned int gpio, in omgpio_pin_dir_write()
542 omgpio_pin_dir_read(struct omgpio_softc *sc, unsigned int gpio) in omgpio_pin_dir_read()
/openbsd/sys/dev/pci/drm/amd/amdgpu/
H A Damdgpu_atombios.c40 ATOM_GPIO_I2C_ASSIGMENT *gpio, in amdgpu_atombios_lookup_i2c_gpio_quirks()
46 …c struct amdgpu_i2c_bus_rec amdgpu_atombios_get_bus_rec_for_i2c_gpio(ATOM_GPIO_I2C_ASSIGMENT *gpio) in amdgpu_atombios_get_bus_rec_for_i2c_gpio()
93 ATOM_GPIO_I2C_ASSIGMENT *gpio; in amdgpu_atombios_lookup_i2c_gpio() local
129 ATOM_GPIO_I2C_ASSIGMENT *gpio; in amdgpu_atombios_i2c_init() local
164 struct amdgpu_gpio_rec gpio; in amdgpu_atombios_lookup_gpio() local
200 struct amdgpu_gpio_rec *gpio) in amdgpu_atombios_get_hpd_info_from_gpio()
308 struct amdgpu_gpio_rec gpio; in amdgpu_atombios_get_connector_info_from_object_table() local
1370 ATOM_GPIO_VOLTAGE_OBJECT_V3 *gpio = in amdgpu_atombios_get_voltage_table() local
/openbsd/sys/dev/acpi/
H A Dsdhc_acpi.c131 struct acpi_gpio *gpio = sc->sc_gpio_int_node->gpio; in sdhc_acpi_attach() local
191 struct acpi_gpio *gpio = sc->sc_gpio_io_node->gpio; in sdhc_acpi_card_detect_gpio() local
/openbsd/sys/dev/fdt/
H A Dhidwusb.c66 uint32_t gpio[3]; in hidwusb_attach() local
H A Dimxspi.c174 uint32_t *gpio; in imxspi_attachhook() local
309 uint32_t *gpio; in imxspi_find_cs_gpio() local
329 uint32_t *gpio; in imxspi_transfer() local
H A Dsxipio.c500 struct sxipio_gpio *gpio = cookie; in sxipio_pin_read() local
513 struct sxipio_gpio *gpio = cookie; in sxipio_pin_write() local
526 struct sxipio_gpio *gpio = cookie; in sxipio_pin_ctl() local
H A Dsfp.c121 sfp_get_gpio(struct sfp_softc *sc, const char *name, uint32_t **gpio) in sfp_get_gpio()
/openbsd/sys/dev/ic/
H A Dar5210.c1593 ar5k_ar5210_set_gpio_output(struct ath_hal *hal, u_int32_t gpio) in ar5k_ar5210_set_gpio_output()
1606 ar5k_ar5210_set_gpio_input(struct ath_hal *hal, u_int32_t gpio) in ar5k_ar5210_set_gpio_input()
1619 ar5k_ar5210_get_gpio(struct ath_hal *hal, u_int32_t gpio) in ar5k_ar5210_get_gpio()
1630 ar5k_ar5210_set_gpio(struct ath_hal *hal, u_int32_t gpio, u_int32_t val) in ar5k_ar5210_set_gpio()
1649 ar5k_ar5210_set_gpio_intr(struct ath_hal *hal, u_int gpio, in ar5k_ar5210_set_gpio_intr()
H A Dar5211.c1699 ar5k_ar5211_set_gpio_output(struct ath_hal *hal, u_int32_t gpio) in ar5k_ar5211_set_gpio_output()
1712 ar5k_ar5211_set_gpio_input(struct ath_hal *hal, u_int32_t gpio) in ar5k_ar5211_set_gpio_input()
1725 ar5k_ar5211_get_gpio(struct ath_hal *hal, u_int32_t gpio) in ar5k_ar5211_get_gpio()
1736 ar5k_ar5211_set_gpio(struct ath_hal *hal, u_int32_t gpio, u_int32_t val) in ar5k_ar5211_set_gpio()
1755 ar5k_ar5211_set_gpio_intr(struct ath_hal *hal, u_int gpio, in ar5k_ar5211_set_gpio_intr()
H A Ddl10019.c188 u_int8_t gpio; in dl10019_mii_bitbang_write() local
H A Dar5212.c2022 ar5k_ar5212_set_gpio_output(struct ath_hal *hal, u_int32_t gpio) in ar5k_ar5212_set_gpio_output()
2035 ar5k_ar5212_set_gpio_input(struct ath_hal *hal, u_int32_t gpio) in ar5k_ar5212_set_gpio_input()
2048 ar5k_ar5212_get_gpio(struct ath_hal *hal, u_int32_t gpio) in ar5k_ar5212_get_gpio()
2059 ar5k_ar5212_set_gpio(struct ath_hal *hal, u_int32_t gpio, u_int32_t val) in ar5k_ar5212_set_gpio()
2078 ar5k_ar5212_set_gpio_intr(struct ath_hal *hal, u_int gpio, in ar5k_ar5212_set_gpio_intr()
/openbsd/sys/arch/macppc/dev/
H A Dmacgpio.c129 macgpio_print(void *aux, const char *gpio) in macgpio_print()
H A Dif_wi_obio.c178 const u_int gpio = keywest + 0x6a; in wi_obio_enable() local
/openbsd/sys/dev/pci/drm/i915/display/
H A Dintel_dvo_dev.h40 u32 gpio; member

123