Home
last modified time | relevance | path

Searched refs:controller_state (Results 1 – 17 of 17) sorted by relevance

/Linux-v4.19/drivers/spi/
Dspi-omap2-mcspi.c169 struct omap2_mcspi_cs *cs = spi->controller_state; in mcspi_write_cs_reg()
176 struct omap2_mcspi_cs *cs = spi->controller_state; in mcspi_read_cs_reg()
183 struct omap2_mcspi_cs *cs = spi->controller_state; in mcspi_cached_chconf0()
190 struct omap2_mcspi_cs *cs = spi->controller_state; in mcspi_write_chconf0()
229 struct omap2_mcspi_cs *cs = spi->controller_state; in omap2_mcspi_set_enable()
255 if (spi->controller_state) { in omap2_mcspi_set_cs()
299 struct omap2_mcspi_cs *cs = spi->controller_state; in omap2_mcspi_set_fifo()
441 struct omap2_mcspi_cs *cs = spi->controller_state; in omap2_mcspi_rx_dma()
580 struct omap2_mcspi_cs *cs = spi->controller_state; in omap2_mcspi_txrx_dma()
674 struct omap2_mcspi_cs *cs = spi->controller_state; in omap2_mcspi_txrx_pio()
[all …]
Dspi-bitbang.c149 struct spi_bitbang_cs *cs = spi->controller_state; in spi_bitbang_setup_transfer()
191 struct spi_bitbang_cs *cs = spi->controller_state; in spi_bitbang_setup()
200 spi->controller_state = cs; in spi_bitbang_setup()
238 kfree(spi->controller_state); in spi_bitbang_cleanup()
244 struct spi_bitbang_cs *cs = spi->controller_state; in spi_bitbang_bufs()
Dspi-omap-uwire.c176 struct uwire_state *ust = spi->controller_state; in uwire_chipselect()
311 struct uwire_state *ust = spi->controller_state; in uwire_setup_transfer()
426 struct uwire_state *ust = spi->controller_state; in uwire_setup()
432 spi->controller_state = ust; in uwire_setup()
440 kfree(spi->controller_state); in uwire_cleanup()
Dspi-mpc52xx-psc.c65 struct mpc52xx_psc_spi_cs *cs = spi->controller_state; in mpc52xx_psc_spi_transfer_setup()
77 struct mpc52xx_psc_spi_cs *cs = spi->controller_state; in mpc52xx_psc_spi_activate_cs()
266 struct mpc52xx_psc_spi_cs *cs = spi->controller_state; in mpc52xx_psc_spi_setup()
276 spi->controller_state = cs; in mpc52xx_psc_spi_setup()
309 kfree(spi->controller_state); in mpc52xx_psc_spi_cleanup()
Dspi-mpc512x-psc.c86 struct mpc512x_psc_spi_cs *cs = spi->controller_state; in mpc512x_psc_spi_transfer_setup()
98 struct mpc512x_psc_spi_cs *cs = spi->controller_state; in mpc512x_psc_spi_activate_cs()
370 struct mpc512x_psc_spi_cs *cs = spi->controller_state; in mpc512x_psc_spi_setup()
393 spi->controller_state = cs; in mpc512x_psc_spi_setup()
406 kfree(spi->controller_state); in mpc512x_psc_spi_cleanup()
Dspi-s3c24xx.c99 struct s3c24xx_spi_devstate *cs = spi->controller_state; in s3c24xx_spi_chipsel()
123 struct s3c24xx_spi_devstate *cs = spi->controller_state; in s3c24xx_spi_update_state()
166 struct s3c24xx_spi_devstate *cs = spi->controller_state; in s3c24xx_spi_setupxfer()
179 struct s3c24xx_spi_devstate *cs = spi->controller_state; in s3c24xx_spi_setup()
193 spi->controller_state = cs; in s3c24xx_spi_setup()
Dspi-omap-100k.c190 struct omap1_spi100k_cs *cs = spi->controller_state; in omap1_spi100k_txrx_pio()
246 struct omap1_spi100k_cs *cs = spi->controller_state; in omap1_spi100k_setup_transfer()
273 struct omap1_spi100k_cs *cs = spi->controller_state; in omap1_spi100k_setup()
282 spi->controller_state = cs; in omap1_spi100k_setup()
Dspi-ppc4xx.c172 struct spi_ppc4xx_cs *cs = spi->controller_state; in spi_ppc4xx_setupxfer()
225 struct spi_ppc4xx_cs *cs = spi->controller_state; in spi_ppc4xx_setup()
236 spi->controller_state = cs; in spi_ppc4xx_setup()
350 kfree(spi->controller_state); in spi_ppc4xx_cleanup()
Dspi-clps711x.c41 if (!spi->controller_state) { in spi_clps711x_setup()
49 spi->controller_state = spi; in spi_clps711x_setup()
Dspi-ath79.c159 if (!spi->controller_state) { in ath79_spi_setup()
166 if (status && !spi->controller_state) in ath79_spi_setup()
Dspi-meson-spicc.c472 if (!spi->controller_state) in meson_spicc_setup()
473 spi->controller_state = spi_master_get_devdata(spi->master); in meson_spicc_setup()
499 spi->controller_state = NULL; in meson_spicc_cleanup()
Dspi-atmel.c357 struct atmel_spi_device *asd = spi->controller_state; in cs_activate()
410 struct atmel_spi_device *asd = spi->controller_state; in cs_deactivate()
1228 asd = spi->controller_state; in atmel_spi_setup()
1239 spi->controller_state = asd; in atmel_spi_setup()
1274 asd = spi->controller_state; in atmel_spi_one_transfer()
1450 struct atmel_spi_device *asd = spi->controller_state; in atmel_spi_cleanup()
1455 spi->controller_state = NULL; in atmel_spi_cleanup()
Dspi-fsl-spi.c89 struct spi_mpc8xxx_cs *cs = spi->controller_state; in fsl_spi_change_mode()
116 struct spi_mpc8xxx_cs *cs = spi->controller_state; in fsl_spi_chipselect()
229 struct spi_mpc8xxx_cs *cs = spi->controller_state; in fsl_spi_setup_transfer()
Dspi-gpio.c246 if (!spi->controller_state && cs) in spi_gpio_setup()
Dspi.c609 proxy->controller_state = NULL; in spi_new_device()
/Linux-v4.19/include/linux/spi/
Dspi.h167 void *controller_state; member
206 return spi->controller_state; in spi_get_ctldata()
211 spi->controller_state = state; in spi_set_ctldata()
/Linux-v4.19/Documentation/spi/
Dspi-summary537 Your controller driver may use spi_device.controller_state to hold