Home
last modified time | relevance | path

Searched refs:gpio_cs_inverted (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/spi/
Dspi-pxa2xx.h84 int gpio_cs_inverted; member
Dspi-pxa2xx.c434 gpiod_set_value(chip->gpiod_cs, chip->gpio_cs_inverted); in cs_assert()
464 gpiod_set_value(chip->gpiod_cs, !chip->gpio_cs_inverted); in cs_deassert()
1220 chip->gpio_cs_inverted = spi->mode & SPI_CS_HIGH; in setup_cs()
1221 gpiod_set_value(gpiod, chip->gpio_cs_inverted); in setup_cs()
1254 chip->gpio_cs_inverted = spi->mode & SPI_CS_HIGH; in setup_cs()
1256 err = gpiod_direction_output(gpiod, !chip->gpio_cs_inverted); in setup_cs()