Home
last modified time | relevance | path

Searched refs:cs_control (Results 1 – 12 of 12) sorted by relevance

/drivers/spi/
Dspi-coldfire-qspi.c72 struct mcfqspi_cs_control *cs_control; member
120 mcfqspi->cs_control->select(mcfqspi->cs_control, chip_select, cs_high); in mcfqspi_cs_select()
126 mcfqspi->cs_control->deselect(mcfqspi->cs_control, chip_select, cs_high); in mcfqspi_cs_deselect()
131 return (mcfqspi->cs_control->setup) ? in mcfqspi_cs_setup()
132 mcfqspi->cs_control->setup(mcfqspi->cs_control) : 0; in mcfqspi_cs_setup()
137 if (mcfqspi->cs_control->teardown) in mcfqspi_cs_teardown()
138 mcfqspi->cs_control->teardown(mcfqspi->cs_control); in mcfqspi_cs_teardown()
361 if (!pdata->cs_control) { in mcfqspi_probe()
406 mcfqspi->cs_control = pdata->cs_control; in mcfqspi_probe()
Dspi-mpc52xx-psc.c35 void (*cs_control)(struct spi_device *spi, bool on); member
115 if (mps->cs_control) in mpc52xx_psc_spi_activate_cs()
116 mps->cs_control(spi, (spi->mode & SPI_CS_HIGH) ? 1 : 0); in mpc52xx_psc_spi_activate_cs()
123 if (mps->cs_control) in mpc52xx_psc_spi_deactivate_cs()
124 mps->cs_control(spi, (spi->mode & SPI_CS_HIGH) ? 0 : 1); in mpc52xx_psc_spi_deactivate_cs()
388 mps->cs_control = NULL; in mpc52xx_psc_spi_do_probe()
393 mps->cs_control = pdata->cs_control; in mpc52xx_psc_spi_do_probe()
Dspi-mpc512x-psc.c59 void (*cs_control)(struct spi_device *spi, bool on); member
135 if (mps->cs_control && gpio_is_valid(spi->cs_gpio)) in mpc512x_psc_spi_activate_cs()
136 mps->cs_control(spi, (spi->mode & SPI_CS_HIGH) ? 1 : 0); in mpc512x_psc_spi_activate_cs()
143 if (mps->cs_control && gpio_is_valid(spi->cs_gpio)) in mpc512x_psc_spi_deactivate_cs()
144 mps->cs_control(spi, (spi->mode & SPI_CS_HIGH) ? 0 : 1); in mpc512x_psc_spi_deactivate_cs()
509 mps->cs_control = mpc512x_spi_cs_control; in mpc512x_psc_spi_do_probe()
511 mps->cs_control = pdata->cs_control; in mpc512x_psc_spi_do_probe()
Dspi-dw.c42 void (*cs_control)(u32 command); member
144 if (chip && chip->cs_control) in dw_spi_set_cs()
145 chip->cs_control(!enable); in dw_spi_set_cs()
343 if (chip->cs_control) { in dw_spi_transfer_one()
432 if (chip_info->cs_control) in dw_spi_setup()
433 chip->cs_control = chip_info->cs_control; in dw_spi_setup()
Dspi-pxa2xx.h80 void (*cs_control)(u32 command); member
103 void (*cs_control)(u32 command); member
Dspi-fsl-spi.c121 if (pdata->cs_control) in fsl_spi_chipselect()
122 pdata->cs_control(spi, !pol); in fsl_spi_chipselect()
133 if (pdata->cs_control) in fsl_spi_chipselect()
134 pdata->cs_control(spi, pol); in fsl_spi_chipselect()
600 pdata->cs_control = fsl_spi_grlib_cs_control; in fsl_spi_grlib_probe()
772 pdata->cs_control = fsl_spi_cs_control; in of_fsl_spi_get_chipselects()
Dspi-pxa2xx.c334 if (chip->cs_control) { in cs_assert()
335 chip->cs_control(PXA2XX_CS_ASSERT); in cs_assert()
355 if (chip->cs_control) { in cs_deassert()
356 chip->cs_control(PXA2XX_CS_DEASSERT); in cs_deassert()
1141 if (chip_info->cs_control) { in setup_cs()
1142 chip->cs_control = chip_info->cs_control; in setup_cs()
Dspi-tegra114.c177 struct spi_device *cs_control; member
728 if (tspi->cs_control) { in tegra_spi_setup_transfer_one()
729 if (tspi->cs_control != spi) in tegra_spi_setup_transfer_one()
731 tspi->cs_control = NULL; in tegra_spi_setup_transfer_one()
893 tspi->cs_control = spi; in tegra_spi_transfer_one_message()
Dspi-pl022.c441 void (*cs_control) (u32 command); member
485 pl022->cur_chip->cs_control(command); in pl022_cs_control()
1820 .cs_control = null_cs_control,
1931 if (!chip_info->cs_control) { in pl022_setup()
1932 chip->cs_control = null_cs_control; in pl022_setup()
1937 chip->cs_control = chip_info->cs_control; in pl022_setup()
Dspi-dw.h244 void (*cs_control)(u32 command); member
Dspi-ep93xx.c237 if (chip->ops && chip->ops->cs_control) in ep93xx_spi_cs_control()
238 chip->ops->cs_control(spi, value); in ep93xx_spi_cs_control()
Dspi-fsl-espi.c775 pdata->cs_control = NULL; in of_fsl_espi_get_chipselects()