Searched refs:cs_control (Results 1 – 14 of 14) sorted by relevance
/linux/drivers/spi/ |
A 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()
|
A 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() 382 mps->cs_control = NULL; in mpc52xx_psc_spi_do_probe() 387 mps->cs_control = pdata->cs_control; in mpc52xx_psc_spi_do_probe()
|
A 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() 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()
|
A D | spi-pxa2xx.h | 52 void (*cs_control)(u32 command); member 75 void (*cs_control)(u32 command); member
|
A D | spi-fsl-spi.c | 123 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() 591 pdata->cs_control = fsl_spi_grlib_cs_control; in fsl_spi_grlib_probe() 751 pdata->cs_control = fsl_spi_cs_control; in of_fsl_spi_probe()
|
A D | spi-pxa2xx.c | 439 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()
|
A D | spi-tegra114.c | 179 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()
|
/linux/arch/powerpc/platforms/83xx/ |
A D | mpc832x_rdb.c | 41 void (*cs_control)(struct spi_device *dev, in of_fsl_spi_probe() 54 .cs_control = cs_control, in of_fsl_spi_probe() 121 void (*cs_control)(struct spi_device *spi, in fsl_spi_init() 136 num_board_infos, cs_control); in fsl_spi_init() 139 num_board_infos, cs_control); in fsl_spi_init()
|
/linux/arch/m68k/coldfire/ |
A D | device.c | 205 static int mcf_cs_setup(struct mcfqspi_cs_control *cs_control) in mcf_cs_setup() argument 268 static void mcf_cs_teardown(struct mcfqspi_cs_control *cs_control) in mcf_cs_teardown() argument 278 static void mcf_cs_select(struct mcfqspi_cs_control *cs_control, in mcf_cs_select() argument 299 static void mcf_cs_deselect(struct mcfqspi_cs_control *cs_control, in mcf_cs_deselect() argument 330 .cs_control = &mcf_cs_control,
|
/linux/arch/m68k/include/asm/ |
A D | mcfqspi.h | 39 struct mcfqspi_cs_control *cs_control; member
|
/linux/Documentation/spi/ |
A D | pxa2xx.rst | 105 void (*cs_control)(u32 command); 136 The "pxa2xx_spi_chip.cs_control" field is used to point to a board specific 178 .cs_control = cs8415a_cs_control, /* Use external chip select */ 186 .cs_control = cs8405a_cs_control, /* Use external chip select */
|
/linux/include/linux/spi/ |
A D | pxa2xx_spi.h | 50 void (*cs_control)(u32 command); member
|
/linux/include/linux/ |
A D | fsl_devices.h | 136 void (*cs_control)(struct spi_device *spi, bool on); member
|
/linux/arch/arm/mach-pxa/ |
A D | lubbock.c | 223 .cs_control = ads7846_cs,
|
Completed in 27 milliseconds