Home
last modified time | relevance | path

Searched refs:GPIOD_ACTIVE_LOW (Results 1 – 24 of 24) sorted by relevance

/u-boot/include/asm-generic/
A Dgpio.h124 #define GPIOD_ACTIVE_LOW BIT(3) /* GPIO is active when value is low */ macro
139 #define GPIOD_FLAGS_OUTPUT_MASK (GPIOD_ACTIVE_LOW | GPIOD_IS_OUT_ACTIVE)
142 (((flags) & GPIOD_FLAGS_OUTPUT_MASK) == GPIOD_ACTIVE_LOW)))
/u-boot/drivers/i2c/
A Dacpi_i2c.c134 GPIOD_ACTIVE_LOW ? in acpi_i2c_fill_ssdt()
140 GPIOD_ACTIVE_LOW ? in acpi_i2c_fill_ssdt()
146 GPIOD_ACTIVE_LOW ? in acpi_i2c_fill_ssdt()
A Di2c-uclass.c500 GPIOD_ACTIVE_LOW | in i2c_gpio_set_pin()
/u-boot/drivers/power/regulator/
A Dregulator_common.c24 flags |= GPIOD_ACTIVE_LOW; in regulator_common_of_to_plat()
/u-boot/drivers/spi/
A Dsoft_spi.c248 cs_flags = (slave && slave->mode & SPI_CS_HIGH) ? 0 : GPIOD_ACTIVE_LOW; in soft_spi_probe()
249 clk_flags = (slave && slave->mode & SPI_CPOL) ? GPIOD_ACTIVE_LOW : 0; in soft_spi_probe()
A Dmpc8xxx_spi.c60 ARRAY_SIZE(priv->gpios), GPIOD_IS_OUT | GPIOD_ACTIVE_LOW); in mpc8xxx_spi_of_to_plat()
A Dmvebu_a3700_spi.c272 GPIOD_IS_OUT | GPIOD_ACTIVE_LOW); in mvebu_spi_probe()
A Dmxc_spi.c611 GPIOD_IS_OUT | GPIOD_ACTIVE_LOW); in mxc_spi_probe()
/u-boot/drivers/sound/
A Dmax98357a.c83 priv->sdmode_gpio.flags & GPIOD_ACTIVE_LOW ? in max98357a_acpi_fill_ssdt()
/u-boot/board/google/chromebook_coral/
A Dcoral.c64 info->flags = desc.flags & GPIOD_ACTIVE_LOW ? CROS_GPIO_ACTIVE_LOW : in chromeos_get_gpio()
/u-boot/drivers/gpio/
A Dgpio-uclass.c197 desc->flags |= GPIOD_ACTIVE_LOW; in gpio_xlate_offs_flags()
556 return desc->flags & GPIOD_ACTIVE_LOW ? !value : value; in _gpio_get_value()
578 if (desc->flags & GPIOD_ACTIVE_LOW) in dm_gpio_set_value()
705 if (desc->flags & GPIOD_ACTIVE_LOW) in dm_gpio_get_dir_flags()
707 dir_flags &= ~(GPIOD_ACTIVE_LOW | GPIOD_IS_OUT_ACTIVE); in dm_gpio_get_dir_flags()
708 dir_flags |= (desc->flags & GPIOD_ACTIVE_LOW); in dm_gpio_get_dir_flags()
A D74x164_gpio.c113 desc->flags = args->args[1] & GPIO_ACTIVE_LOW ? GPIOD_ACTIVE_LOW : 0; in gen_74x164_xlate()
A Dintel_gpio.c127 desc->flags = args->args[1] & GPIO_ACTIVE_LOW ? GPIOD_ACTIVE_LOW : 0; in intel_gpio_xlate()
A Docteon_gpio.c162 desc->flags |= GPIOD_ACTIVE_LOW; in octeon_gpio_xlate()
A Dtegra186_gpio.c149 desc->flags = args->args[1] & GPIO_ACTIVE_LOW ? GPIOD_ACTIVE_LOW : 0; in tegra186_gpio_xlate()
A Dsunxi_gpio.c225 desc->flags = args->args[2] & GPIO_ACTIVE_LOW ? GPIOD_ACTIVE_LOW : 0; in sunxi_gpio_xlate()
A Dxilinx_gpio.c224 GPIO_ACTIVE_LOW ? GPIOD_ACTIVE_LOW : 0); in xilinx_gpio_xlate()
A Dtegra_gpio.c247 desc->flags = args->args[1] & GPIO_ACTIVE_LOW ? GPIOD_ACTIVE_LOW : 0; in tegra_gpio_xlate()
A Dpca953x_gpio.c258 desc->flags = args->args[1] & GPIO_ACTIVE_LOW ? GPIOD_ACTIVE_LOW : 0; in pca953x_xlate()
A Dda8xx_gpio.c508 desc->flags = GPIOD_ACTIVE_LOW; in davinci_gpio_xlate()
A Dsandbox.c226 if (desc->flags & GPIOD_ACTIVE_LOW) { in sb_gpio_get_acpi()
/u-boot/test/dm/
A Dgpio.c118 ut_asserteq(GPIOD_IS_IN | GPIOD_ACTIVE_LOW, desc->flags); in dm_test_gpio()
206 ut_asserteq(GPIOD_ACTIVE_LOW | GPIOD_IS_OUT | GPIOD_OPEN_DRAIN, in dm_test_gpio_opendrain_opensource()
220 ut_asserteq(GPIOD_ACTIVE_LOW | GPIOD_IS_OUT | GPIOD_OPEN_SOURCE, in dm_test_gpio_opendrain_opensource()
/u-boot/drivers/net/
A Ddesignware.c841 reset_flags |= GPIOD_ACTIVE_LOW; in designware_eth_of_to_plat()
A Dsun8i_emac.c981 reset_flags |= GPIOD_ACTIVE_LOW; in sun8i_emac_eth_of_to_plat()

Completed in 90 milliseconds