Searched refs:cs_gpiods (Results 1 - 12 of 12) sorted by relevance
/kernel/linux/linux-5.10/drivers/spi/ |
H A D | spidev.c | 385 if (ctlr->use_gpio_descriptors && ctlr->cs_gpiods && in spidev_ioctl() 386 ctlr->cs_gpiods[spi->chip_select]) in spidev_ioctl() 424 if (ctlr->use_gpio_descriptors && ctlr->cs_gpiods && in spidev_ioctl() 425 ctlr->cs_gpiods[spi->chip_select]) in spidev_ioctl()
|
H A D | spi-pxa2xx.h | 63 struct gpio_desc **cs_gpiods; member
|
H A D | spi-pxa2xx.c | 1216 if (drv_data->cs_gpiods) { in setup_cs() 1217 gpiod = drv_data->cs_gpiods[spi->chip_select]; in setup_cs() 1435 if (drv_data->ssp_type != CE4100_SSP && !drv_data->cs_gpiods && in cleanup() 1861 drv_data->cs_gpiods = devm_kcalloc(&pdev->dev, in pxa2xx_spi_probe() 1864 if (!drv_data->cs_gpiods) { in pxa2xx_spi_probe() 1881 drv_data->cs_gpiods[i] = gpiod; in pxa2xx_spi_probe()
|
H A D | spi-atmel.c | 1178 if (!master->cs_gpiods) in initialize_native_cs_for_gpio() 1191 if (master->cs_gpiods[i]) in initialize_native_cs_for_gpio()
|
H A D | spi.c | 595 if (ctlr->cs_gpiods) in spi_add_device() 596 spi->cs_gpiod = ctlr->cs_gpiods[spi->chip_select]; in spi_add_device() 2575 ctlr->cs_gpiods = cs; in spi_get_gpio_descs()
|
H A D | spi-stm32.c | 1963 if (!master->cs_gpiods) { in stm32_spi_probe()
|
/kernel/linux/linux-6.6/drivers/spi/ |
H A D | spidev.c | 396 if (ctlr->use_gpio_descriptors && ctlr->cs_gpiods && in spidev_ioctl() 397 ctlr->cs_gpiods[spi_get_chipselect(spi, 0)]) in spidev_ioctl() 435 if (ctlr->use_gpio_descriptors && ctlr->cs_gpiods && in spidev_ioctl() 436 ctlr->cs_gpiods[spi_get_chipselect(spi, 0)]) in spidev_ioctl()
|
H A D | spi-atmel.c | 1241 if (!host->cs_gpiods) in initialize_native_cs_for_gpio() 1254 if (host->cs_gpiods[i]) in initialize_native_cs_for_gpio()
|
H A D | spi.c | 662 if (ctlr->cs_gpiods) in __spi_add_device() 663 spi_set_csgpiod(spi, 0, ctlr->cs_gpiods[spi_get_chipselect(spi, 0)]); in __spi_add_device() 3002 ctlr->cs_gpiods = cs; in spi_get_gpio_descs()
|
H A D | spi-mt65xx.c | 1245 if (!master->cs_gpiods && master->num_chipselect > 1) in mtk_spi_probe()
|
/kernel/linux/linux-5.10/include/linux/spi/ |
H A D | spi.h | 423 * are not GPIOs (driven by the SPI controller itself). Use the cs_gpiods 425 * @cs_gpiods: Array of GPIO descs to use as chip select lines; one per CS 430 * driver. This will fill in @cs_gpiods and @cs_gpios should not be used, 432 * @unused_native_cs: When cs_gpiods is used, spi_register_controller() will 435 * @max_native_cs: When cs_gpiods is used, and this field is filled in, 651 struct gpio_desc **cs_gpiods; member
|
/kernel/linux/linux-6.6/include/linux/spi/ |
H A D | spi.h | 477 * @cs_gpiods: Array of GPIO descriptors to use as chip select lines; one per CS 481 * GPIO descriptors. This will fill in @cs_gpiods and SPI devices will have 483 * @unused_native_cs: When cs_gpiods is used, spi_register_controller() will 486 * @max_native_cs: When cs_gpiods is used, and this field is filled in, 714 struct gpio_desc **cs_gpiods; member
|
Completed in 28 milliseconds