/kernel/linux/linux-5.10/drivers/regulator/ |
D | slg51000-regulator.c | 43 struct gpio_desc *cs_gpiod; member 442 struct gpio_desc *cs_gpiod; in slg51000_i2c_probe() local 449 cs_gpiod = devm_gpiod_get_optional(dev, "dlg,cs", in slg51000_i2c_probe() 452 if (IS_ERR(cs_gpiod)) in slg51000_i2c_probe() 453 return PTR_ERR(cs_gpiod); in slg51000_i2c_probe() 455 if (cs_gpiod) { in slg51000_i2c_probe() 457 chip->cs_gpiod = cs_gpiod; in slg51000_i2c_probe()
|
/kernel/linux/linux-5.10/drivers/input/touchscreen/ |
D | bu21013_ts.c | 162 struct gpio_desc *cs_gpiod; member 404 gpiod_set_value(ts->cs_gpiod, 0); in bu21013_disable_chip() 498 ts->cs_gpiod = devm_gpiod_get(&client->dev, "reset", GPIOD_OUT_HIGH); in bu21013_probe() 499 error = PTR_ERR_OR_ZERO(ts->cs_gpiod); in bu21013_probe() 505 gpiod_set_consumer_name(ts->cs_gpiod, "BU21013 CS"); in bu21013_probe()
|
/kernel/linux/linux-5.10/drivers/spi/ |
D | spi-atmel.c | 330 if (spi->cs_gpiod) in cs_activate() 355 if (spi->cs_gpiod) in cs_activate() 356 gpiod_set_value(spi->cs_gpiod, 1); in cs_activate() 372 if (spi->cs_gpiod) in cs_activate() 373 gpiod_set_value(spi->cs_gpiod, 1); in cs_activate() 385 if (spi->cs_gpiod) in cs_deactivate() 401 if (!spi->cs_gpiod) in cs_deactivate() 404 gpiod_set_value(spi->cs_gpiod, 0); in cs_deactivate() 825 if (spi->cs_gpiod) in atmel_spi_set_xfer_speed() 1217 if (!spi->cs_gpiod && (spi->mode & SPI_CS_HIGH)) { in atmel_spi_setup() [all …]
|
D | spi-fsl-spi.c | 560 if (spi->cs_gpiod) { in fsl_spi_grlib_cs_control() 561 gpiod_set_value(spi->cs_gpiod, on); in fsl_spi_grlib_cs_control() 693 if (spi->cs_gpiod) { in fsl_spi_cs_control() 694 gpiod_set_value(spi->cs_gpiod, on); in fsl_spi_cs_control()
|
D | spi-davinci.c | 215 if (spi->cs_gpiod) { in davinci_spi_chipselect() 217 gpiod_set_value(spi->cs_gpiod, 1); in davinci_spi_chipselect() 219 gpiod_set_value(spi->cs_gpiod, 0); in davinci_spi_chipselect() 418 if (np && spi->cs_gpiod) in davinci_spi_setup()
|
D | spi-tegra114.c | 834 if (spi->cs_gpiod) in tegra_spi_setup_transfer_one() 835 gpiod_set_value(spi->cs_gpiod, 1); in tegra_spi_setup_transfer_one() 984 if (spi->cs_gpiod) in tegra_spi_setup() 985 gpiod_set_value(spi->cs_gpiod, 0); in tegra_spi_setup() 1006 if (spi->cs_gpiod) in tegra_spi_transfer_end() 1007 gpiod_set_value(spi->cs_gpiod, 0); in tegra_spi_transfer_end()
|
D | spi-txx9.c | 108 c->last_chipselect = spi->cs_gpiod; in txx9spi_cs_func() 114 gpiod_set_value(spi->cs_gpiod, on); in txx9spi_cs_func()
|
D | spi-bcm2835.c | 1246 if (spi->cs_gpiod) in bcm2835_spi_setup() 1272 spi->cs_gpiod = gpiochip_request_own_desc(chip, 8 - spi->chip_select, in bcm2835_spi_setup() 1276 if (IS_ERR(spi->cs_gpiod)) in bcm2835_spi_setup() 1277 return PTR_ERR(spi->cs_gpiod); in bcm2835_spi_setup()
|
D | spi.c | 602 spi->cs_gpiod = ctlr->cs_gpiods[spi->chip_select]; in spi_add_device() 821 if (spi->cs_gpiod || gpio_is_valid(spi->cs_gpio)) { in spi_set_cs() 823 if (spi->cs_gpiod) { in spi_set_cs() 835 gpiod_set_value_cansleep(spi->cs_gpiod, !enable); in spi_set_cs() 838 gpiod_set_value_cansleep(spi->cs_gpiod, enable1); in spi_set_cs() 3532 spi->cs_gpiod || in __spi_validate()
|
D | spi-rspi.c | 952 if (spi->cs_gpiod) in rspi_setup() 1003 rspi->spcmd |= SPCMD_SSLA(spi->cs_gpiod ? rspi->ctlr->unused_native_cs in rspi_prepare_message()
|
D | spi-mem.c | 298 if (ctlr->mem_ops && !mem->spi->cs_gpiod) { in spi_mem_exec_op()
|
D | spi-sh-msiof.c | 553 if (spi->cs_gpiod || spi_controller_is_slave(p->ctlr)) in sh_msiof_spi_setup() 586 if (spi->cs_gpiod) { in sh_msiof_prepare_message()
|
D | spi-bcm-qspi.c | 876 if (!spi->cs_gpiod) in bcm_qspi_bspi_exec_mem_op() 956 if (!spi->cs_gpiod) in bcm_qspi_transfer_one()
|
D | spi-omap2-mcspi.c | 1157 if (spi->cs_gpiod) in omap2_mcspi_transfer_one() 1246 if (spi->cs_gpiod) in omap2_mcspi_transfer_one()
|
D | spi-imx.c | 738 if (!spi->cs_gpiod) in mx31_prepare_transfer() 838 if (!spi->cs_gpiod) in mx21_prepare_transfer()
|
D | spi-lantiq-ssc.c | 395 if (spidev->cs_gpiod) in lantiq_ssc_setup()
|
/kernel/linux/linux-5.10/include/linux/spi/ |
D | spi.h | 194 struct gpio_desc *cs_gpiod; /* chip select gpio desc */ member
|
/kernel/linux/patches/linux-5.10/yangfan_patch/ |
D | drivers.patch | 59849 + if (spi->cs_gpiod) 59856 + if (spi->cs_gpiod)
|