Home
last modified time | relevance | path

Searched refs:cs_gpios (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/drivers/spi/
Dspi-gpio.c37 struct gpio_desc **cs_gpios; member
231 if (spi_gpio->cs_gpios) { in spi_gpio_chipselect()
232 struct gpio_desc *cs = spi_gpio->cs_gpios[spi_get_chipselect(spi, 0)]; in spi_gpio_chipselect()
257 if (spi_gpio->cs_gpios) { in spi_gpio_setup()
258 cs = spi_gpio->cs_gpios[spi_get_chipselect(spi, 0)]; in spi_gpio_setup()
354 spi_gpio->cs_gpios = devm_kcalloc(dev, host->num_chipselect, in spi_gpio_probe_pdata()
355 sizeof(*spi_gpio->cs_gpios), in spi_gpio_probe_pdata()
357 if (!spi_gpio->cs_gpios) in spi_gpio_probe_pdata()
361 spi_gpio->cs_gpios[i] = devm_gpiod_get_index(dev, "cs", i, in spi_gpio_probe_pdata()
363 if (IS_ERR(spi_gpio->cs_gpios[i])) in spi_gpio_probe_pdata()
[all …]
Dspi-at91-usart.c470 struct gpio_descs *cs_gpios; in at91_usart_gpio_setup() local
472 cs_gpios = devm_gpiod_get_array_optional(&pdev->dev, "cs", GPIOD_OUT_LOW); in at91_usart_gpio_setup()
474 return PTR_ERR_OR_ZERO(cs_gpios); in at91_usart_gpio_setup()
/linux-6.12.1/drivers/usb/dwc3/
Ddwc3-pci.c91 static const struct acpi_gpio_params cs_gpios = { 1, 0, false }; variable
95 { "cs-gpios", &cs_gpios, 1 },