Searched refs:cs_gpios (Results 1 - 7 of 7) sorted by relevance

/linux-4.4.14/drivers/spi/
H A Dspi-clps711x.c130 master->cs_gpios = devm_kzalloc(&pdev->dev, sizeof(int) * spi_clps711x_probe()
132 if (!master->cs_gpios) { spi_clps711x_probe()
148 master->cs_gpios[i] = pdata->chipselect[i]; spi_clps711x_probe()
149 ret = devm_gpio_request(&pdev->dev, master->cs_gpios[i], spi_clps711x_probe()
H A Dspi-gpio.c47 unsigned long cs_gpios[0]; member in struct:spi_gpio
219 unsigned long cs = spi_gpio->cs_gpios[spi->chip_select]; spi_gpio_chipselect()
243 cs = spi_gpio->cs_gpios[spi->chip_select]; spi_gpio_setup()
262 spi_gpio->cs_gpios[spi->chip_select] = cs; spi_gpio_setup()
276 unsigned long cs = spi_gpio->cs_gpios[spi->chip_select]; spi_gpio_cleanup()
467 spi_gpio->cs_gpios[0] = SPI_GPIO_NO_CHIPSELECT; spi_gpio_probe()
476 spi_gpio->cs_gpios[i] = status; spi_gpio_probe()
H A Dspi-mt65xx.c635 if (!master->cs_gpios && master->num_chipselect > 1) { mtk_spi_probe()
637 "cs_gpios not specified and num_chipselect > 1\n"); mtk_spi_probe()
642 if (master->cs_gpios) { mtk_spi_probe()
645 master->cs_gpios[i], mtk_spi_probe()
H A Dspi-davinci.c432 if (np && (master->cs_gpios != NULL) && (spi->cs_gpio >= 0)) { davinci_spi_setup()
900 * indicated by chip_sel being NULL or cs_gpios being NULL or spi_davinci_get_pdata()
H A Dspi.c528 if (master->cs_gpios) spi_add_device()
529 spi->cs_gpio = master->cs_gpios[spi->chip_select]; spi_add_device()
1736 master->cs_gpios = cs; of_spi_register_master()
1738 if (!master->cs_gpios) of_spi_register_master()
/linux-4.4.14/drivers/usb/dwc3/
H A Ddwc3-pci.c41 static const struct acpi_gpio_params cs_gpios = { 1, 0, false }; variable in typeref:struct:acpi_gpio_params
45 { "cs-gpios", &cs_gpios, 1 },
/linux-4.4.14/include/linux/spi/
H A Dspi.h364 * @cs_gpios: Array of GPIOs to use as chip select lines; one per CS
522 int *cs_gpios; member in struct:spi_master

Completed in 203 milliseconds