Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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.h58 void (*cs_control)(u32 command); member
87 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()
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()
Dspi-pxa2xx.c428 if (chip->cs_control) { in cs_assert()
429 chip->cs_control(PXA2XX_CS_ASSERT); in cs_assert()
458 if (chip->cs_control) { in cs_deassert()
459 chip->cs_control(PXA2XX_CS_DEASSERT); in cs_deassert()
1239 if (chip_info->cs_control) { in setup_cs()
1240 chip->cs_control = chip_info->cs_control; in setup_cs()
Dspi-pl022.c430 void (*cs_control) (u32 command); member
474 pl022->cur_chip->cs_control(command); in pl022_cs_control()
1833 .cs_control = null_cs_control,
1944 if (!chip_info->cs_control) { in pl022_setup()
1945 chip->cs_control = null_cs_control; in pl022_setup()
1950 chip->cs_control = chip_info->cs_control; in pl022_setup()
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()
1108 tspi->cs_control = spi; in tegra_spi_transfer_one_message()
/kernel/linux/linux-5.10/arch/powerpc/platforms/83xx/
Dmpc832x_rdb.c41 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()
/kernel/linux/linux-5.10/arch/m68k/coldfire/
Ddevice.c205 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,
/kernel/linux/linux-5.10/arch/m68k/include/asm/
Dmcfqspi.h39 struct mcfqspi_cs_control *cs_control; member
/kernel/linux/linux-5.10/Documentation/spi/
Dpxa2xx.rst100 void (*cs_control)(u32 command);
131 The "pxa2xx_spi_chip.cs_control" field is used to point to a board specific
138 asserted around the complete message. Use SSPFRM as a GPIO (through cs_control)
173 .cs_control = cs8415a_cs_control, /* Use external chip select */
181 .cs_control = cs8405a_cs_control, /* Use external chip select */
/kernel/linux/linux-5.10/include/linux/spi/
Dpxa2xx_spi.h42 void (*cs_control)(u32 command); member
/kernel/linux/linux-5.10/include/linux/
Dfsl_devices.h136 void (*cs_control)(struct spi_device *spi, bool on); member
/kernel/linux/linux-5.10/include/linux/amba/
Dpl022.h283 void (*cs_control) (u32 control); member
/kernel/linux/linux-5.10/arch/arm/mach-pxa/
Dlubbock.c223 .cs_control = ads7846_cs,