Searched refs:GPIOD_ACTIVE_LOW (Results 1 – 24 of 24) sorted by relevance
124 #define GPIOD_ACTIVE_LOW BIT(3) /* GPIO is active when value is low */ macro139 #define GPIOD_FLAGS_OUTPUT_MASK (GPIOD_ACTIVE_LOW | GPIOD_IS_OUT_ACTIVE)142 (((flags) & GPIOD_FLAGS_OUTPUT_MASK) == GPIOD_ACTIVE_LOW)))
134 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()
500 GPIOD_ACTIVE_LOW | in i2c_gpio_set_pin()
24 flags |= GPIOD_ACTIVE_LOW; in regulator_common_of_to_plat()
248 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()
60 ARRAY_SIZE(priv->gpios), GPIOD_IS_OUT | GPIOD_ACTIVE_LOW); in mpc8xxx_spi_of_to_plat()
272 GPIOD_IS_OUT | GPIOD_ACTIVE_LOW); in mvebu_spi_probe()
611 GPIOD_IS_OUT | GPIOD_ACTIVE_LOW); in mxc_spi_probe()
83 priv->sdmode_gpio.flags & GPIOD_ACTIVE_LOW ? in max98357a_acpi_fill_ssdt()
64 info->flags = desc.flags & GPIOD_ACTIVE_LOW ? CROS_GPIO_ACTIVE_LOW : in chromeos_get_gpio()
197 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()
113 desc->flags = args->args[1] & GPIO_ACTIVE_LOW ? GPIOD_ACTIVE_LOW : 0; in gen_74x164_xlate()
127 desc->flags = args->args[1] & GPIO_ACTIVE_LOW ? GPIOD_ACTIVE_LOW : 0; in intel_gpio_xlate()
162 desc->flags |= GPIOD_ACTIVE_LOW; in octeon_gpio_xlate()
149 desc->flags = args->args[1] & GPIO_ACTIVE_LOW ? GPIOD_ACTIVE_LOW : 0; in tegra186_gpio_xlate()
225 desc->flags = args->args[2] & GPIO_ACTIVE_LOW ? GPIOD_ACTIVE_LOW : 0; in sunxi_gpio_xlate()
224 GPIO_ACTIVE_LOW ? GPIOD_ACTIVE_LOW : 0); in xilinx_gpio_xlate()
247 desc->flags = args->args[1] & GPIO_ACTIVE_LOW ? GPIOD_ACTIVE_LOW : 0; in tegra_gpio_xlate()
258 desc->flags = args->args[1] & GPIO_ACTIVE_LOW ? GPIOD_ACTIVE_LOW : 0; in pca953x_xlate()
508 desc->flags = GPIOD_ACTIVE_LOW; in davinci_gpio_xlate()
226 if (desc->flags & GPIOD_ACTIVE_LOW) { in sb_gpio_get_acpi()
118 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()
841 reset_flags |= GPIOD_ACTIVE_LOW; in designware_eth_of_to_plat()
981 reset_flags |= GPIOD_ACTIVE_LOW; in sun8i_emac_eth_of_to_plat()
Completed in 90 milliseconds