Home
last modified time | relevance | path

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

/drivers/spi/
Dspi-coldfire-qspi.c63 struct mcfqspi_cs_control *cs_control; member
111 mcfqspi->cs_control->select(mcfqspi->cs_control, chip_select, cs_high); in mcfqspi_cs_select()
117 mcfqspi->cs_control->deselect(mcfqspi->cs_control, chip_select, cs_high); in mcfqspi_cs_deselect()
122 return (mcfqspi->cs_control->setup) ? in mcfqspi_cs_setup()
123 mcfqspi->cs_control->setup(mcfqspi->cs_control) : 0; in mcfqspi_cs_setup()
128 if (mcfqspi->cs_control->teardown) in mcfqspi_cs_teardown()
129 mcfqspi->cs_control->teardown(mcfqspi->cs_control); in mcfqspi_cs_teardown()
351 if (!pdata->cs_control) { in mcfqspi_probe()
395 mcfqspi->cs_control = pdata->cs_control; in mcfqspi_probe()
Dspi-mpc52xx-psc.c31 void (*cs_control)(struct spi_device *spi, bool on); member
110 if (mps->cs_control) in mpc52xx_psc_spi_activate_cs()
111 mps->cs_control(spi, (spi->mode & SPI_CS_HIGH) ? 1 : 0); in mpc52xx_psc_spi_activate_cs()
118 if (mps->cs_control) in mpc52xx_psc_spi_deactivate_cs()
119 mps->cs_control(spi, (spi->mode & SPI_CS_HIGH) ? 0 : 1); in mpc52xx_psc_spi_deactivate_cs()
382 mps->cs_control = NULL; in mpc52xx_psc_spi_do_probe()
387 mps->cs_control = pdata->cs_control; in mpc52xx_psc_spi_do_probe()
Dspi-mpc512x-psc.c55 void (*cs_control)(struct spi_device *spi, bool on); member
131 if (mps->cs_control && gpio_is_valid(spi->cs_gpio)) in mpc512x_psc_spi_activate_cs()
132 mps->cs_control(spi, (spi->mode & SPI_CS_HIGH) ? 1 : 0); in mpc512x_psc_spi_activate_cs()
139 if (mps->cs_control && gpio_is_valid(spi->cs_gpio)) in mpc512x_psc_spi_deactivate_cs()
140 mps->cs_control(spi, (spi->mode & SPI_CS_HIGH) ? 0 : 1); in mpc512x_psc_spi_deactivate_cs()
504 mps->cs_control = mpc512x_spi_cs_control; in mpc512x_psc_spi_do_probe()
506 mps->cs_control = pdata->cs_control; in mpc512x_psc_spi_do_probe()
Dspi-pxa2xx.h52 void (*cs_control)(u32 command); member
75 void (*cs_control)(u32 command); member
Dspi-fsl-spi.c123 if (pdata->cs_control) in fsl_spi_chipselect()
124 pdata->cs_control(spi, false); in fsl_spi_chipselect()
135 if (pdata->cs_control) in fsl_spi_chipselect()
136 pdata->cs_control(spi, true); in fsl_spi_chipselect()
586 pdata->cs_control = fsl_spi_grlib_cs_control; in fsl_spi_grlib_probe()
752 pdata->cs_control = fsl_spi_cs_control; in of_fsl_spi_probe()
Dspi-pxa2xx.c439 if (chip->cs_control) { in cs_assert()
440 chip->cs_control(PXA2XX_CS_ASSERT); in cs_assert()
464 if (chip->cs_control) { in cs_deassert()
465 chip->cs_control(PXA2XX_CS_DEASSERT); in cs_deassert()
1217 if (chip_info->cs_control) { in setup_cs()
1218 chip->cs_control = chip_info->cs_control; in setup_cs()
Dspi-tegra114.c179 struct spi_device *cs_control; member
826 if (tspi->cs_control) { in tegra_spi_setup_transfer_one()
827 if (tspi->cs_control != spi) in tegra_spi_setup_transfer_one()
829 tspi->cs_control = NULL; in tegra_spi_setup_transfer_one()
1107 tspi->cs_control = spi; in tegra_spi_transfer_one_message()