Searched refs:cs_control (Results 1 – 10 of 10) sorted by relevance
/drivers/spi/ |
D | spi-coldfire-qspi.c | 63 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()
|
D | spi-mpc52xx-psc.c | 31 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() 383 mps->cs_control = NULL; in mpc52xx_psc_spi_do_probe() 388 mps->cs_control = pdata->cs_control; in mpc52xx_psc_spi_do_probe()
|
D | spi-mpc512x-psc.c | 55 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() 505 mps->cs_control = mpc512x_spi_cs_control; in mpc512x_psc_spi_do_probe() 507 mps->cs_control = pdata->cs_control; in mpc512x_psc_spi_do_probe()
|
D | spi-dw.c | 31 void (*cs_control)(u32 command); member 133 if (chip && chip->cs_control) in dw_spi_set_cs() 134 chip->cs_control(!enable); in dw_spi_set_cs() 328 if (chip->cs_control) { in dw_spi_transfer_one() 419 if (chip_info->cs_control) in dw_spi_setup() 420 chip->cs_control = chip_info->cs_control; in dw_spi_setup()
|
D | spi-pxa2xx.h | 58 void (*cs_control)(u32 command); member 87 void (*cs_control)(u32 command); member
|
D | spi-fsl-spi.c | 124 if (pdata->cs_control) in fsl_spi_chipselect() 125 pdata->cs_control(spi, !pol); in fsl_spi_chipselect() 136 if (pdata->cs_control) in fsl_spi_chipselect() 137 pdata->cs_control(spi, pol); in fsl_spi_chipselect() 589 pdata->cs_control = fsl_spi_grlib_cs_control; in fsl_spi_grlib_probe() 743 pdata->cs_control = fsl_spi_cs_control; in of_fsl_spi_probe()
|
D | spi-pxa2xx.c | 397 if (chip->cs_control) { in cs_assert() 398 chip->cs_control(PXA2XX_CS_ASSERT); in cs_assert() 427 if (chip->cs_control) { in cs_deassert() 428 chip->cs_control(PXA2XX_CS_DEASSERT); in cs_deassert() 1202 if (chip_info->cs_control) { in setup_cs() 1203 chip->cs_control = chip_info->cs_control; in setup_cs()
|
D | spi-pl022.c | 426 void (*cs_control) (u32 command); member 470 pl022->cur_chip->cs_control(command); in pl022_cs_control() 1829 .cs_control = null_cs_control, 1940 if (!chip_info->cs_control) { in pl022_setup() 1941 chip->cs_control = null_cs_control; in pl022_setup() 1946 chip->cs_control = chip_info->cs_control; in pl022_setup()
|
D | spi-tegra114.c | 179 struct spi_device *cs_control; member 814 if (tspi->cs_control) { in tegra_spi_setup_transfer_one() 815 if (tspi->cs_control != spi) in tegra_spi_setup_transfer_one() 817 tspi->cs_control = NULL; in tegra_spi_setup_transfer_one() 1106 tspi->cs_control = spi; in tegra_spi_transfer_one_message()
|
D | spi-dw.h | 248 void (*cs_control)(u32 command); member
|