Searched refs:cs_gpios (Results 1 – 3 of 3) sorted by relevance
/Linux-v6.6/drivers/spi/ |
D | spi-gpio.c | 37 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() 249 if (spi_gpio->cs_gpios) { in spi_gpio_setup() 250 cs = spi_gpio->cs_gpios[spi_get_chipselect(spi, 0)]; in spi_gpio_setup() 370 spi_gpio->cs_gpios = devm_kcalloc(dev, host->num_chipselect, in spi_gpio_probe_pdata() 371 sizeof(*spi_gpio->cs_gpios), in spi_gpio_probe_pdata() 373 if (!spi_gpio->cs_gpios) in spi_gpio_probe_pdata() 377 spi_gpio->cs_gpios[i] = devm_gpiod_get_index(dev, "cs", i, in spi_gpio_probe_pdata() 379 if (IS_ERR(spi_gpio->cs_gpios[i])) in spi_gpio_probe_pdata() [all …]
|
D | spi-at91-usart.c | 484 struct gpio_descs *cs_gpios; in at91_usart_gpio_setup() local 486 cs_gpios = devm_gpiod_get_array_optional(&pdev->dev, "cs", GPIOD_OUT_LOW); in at91_usart_gpio_setup() 488 return PTR_ERR_OR_ZERO(cs_gpios); in at91_usart_gpio_setup()
|
/Linux-v6.6/drivers/usb/dwc3/ |
D | dwc3-pci.c | 85 static const struct acpi_gpio_params cs_gpios = { 1, 0, false }; variable 89 { "cs-gpios", &cs_gpios, 1 },
|