Searched refs:cs_gpios (Results 1 – 1 of 1) sorted by relevance
237 struct gpio_desc cs_gpios[MAX_CS_COUNT]; member299 if (!dm_gpio_is_valid(&priv->cs_gpios[cs])) in atmel_spi_cs_activate()302 dm_gpio_set_value(&priv->cs_gpios[cs], 0); in atmel_spi_cs_activate()314 if (!dm_gpio_is_valid(&priv->cs_gpios[cs])) in atmel_spi_cs_deactivate()317 dm_gpio_set_value(&priv->cs_gpios[cs], 1); in atmel_spi_cs_deactivate()480 ret = gpio_request_list_by_name(bus, "cs-gpios", priv->cs_gpios, in atmel_spi_probe()481 ARRAY_SIZE(priv->cs_gpios), 0); in atmel_spi_probe()487 for(i = 0; i < ARRAY_SIZE(priv->cs_gpios); i++) { in atmel_spi_probe()488 if (!dm_gpio_is_valid(&priv->cs_gpios[i])) in atmel_spi_probe()491 dm_gpio_set_dir_flags(&priv->cs_gpios[i], in atmel_spi_probe()