Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/spi/
Dspi-bitbang.c141 struct spi_bitbang_cs *cs = spi->controller_state; in spi_bitbang_setup_transfer()
183 struct spi_bitbang_cs *cs = spi->controller_state; in spi_bitbang_setup()
192 spi->controller_state = cs; in spi_bitbang_setup()
230 kfree(spi->controller_state); in spi_bitbang_cleanup()
236 struct spi_bitbang_cs *cs = spi->controller_state; in spi_bitbang_bufs()
Dspi-omap2-mcspi.c172 struct omap2_mcspi_cs *cs = spi->controller_state; in mcspi_write_cs_reg()
179 struct omap2_mcspi_cs *cs = spi->controller_state; in mcspi_read_cs_reg()
186 struct omap2_mcspi_cs *cs = spi->controller_state; in mcspi_cached_chconf0()
193 struct omap2_mcspi_cs *cs = spi->controller_state; in mcspi_write_chconf0()
232 struct omap2_mcspi_cs *cs = spi->controller_state; in omap2_mcspi_set_enable()
258 if (spi->controller_state) { in omap2_mcspi_set_cs()
301 struct omap2_mcspi_cs *cs = spi->controller_state; in omap2_mcspi_set_fifo()
459 struct omap2_mcspi_cs *cs = spi->controller_state; in omap2_mcspi_rx_dma()
562 struct omap2_mcspi_cs *cs = spi->controller_state; in omap2_mcspi_txrx_dma()
662 struct omap2_mcspi_cs *cs = spi->controller_state; in omap2_mcspi_txrx_pio()
[all …]
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-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-mpc52xx-psc.c66 struct mpc52xx_psc_spi_cs *cs = spi->controller_state; in mpc52xx_psc_spi_transfer_setup()
78 struct mpc52xx_psc_spi_cs *cs = spi->controller_state; in mpc52xx_psc_spi_activate_cs()
267 struct mpc52xx_psc_spi_cs *cs = spi->controller_state; in mpc52xx_psc_spi_setup()
277 spi->controller_state = cs; in mpc52xx_psc_spi_setup()
310 kfree(spi->controller_state); in mpc52xx_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-ath79.c159 if (!spi->controller_state) { in ath79_spi_setup()
166 if (status && !spi->controller_state) in ath79_spi_setup()
Dspi-gpio.c251 if (!spi->controller_state) { in spi_gpio_setup()
267 if (!spi->controller_state && cs != SPI_GPIO_NO_CHIPSELECT) in spi_gpio_setup()
Dspi-atmel.c367 struct atmel_spi_device *asd = spi->controller_state; in cs_activate()
420 struct atmel_spi_device *asd = spi->controller_state; in cs_deactivate()
1244 asd = spi->controller_state; in atmel_spi_setup()
1262 spi->controller_state = asd; in atmel_spi_setup()
1297 asd = spi->controller_state; in atmel_spi_one_transfer()
1473 struct atmel_spi_device *asd = spi->controller_state; in atmel_spi_cleanup()
1479 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-fsl-espi.c94 struct spi_mpc8xxx_cs *cs = spi->controller_state; in fsl_espi_change_mode()
141 struct spi_mpc8xxx_cs *cs = spi->controller_state; in fsl_espi_setup_transfer()
Dspi.c596 proxy->controller_state = NULL; in spi_new_device()
/linux-4.4.14/include/linux/spi/
Dspi.h157 void *controller_state; member
196 return spi->controller_state; in spi_get_ctldata()
201 spi->controller_state = state; in spi_set_ctldata()
/linux-4.4.14/Documentation/spi/
Dspi-summary524 Your controller driver may use spi_device.controller_state to hold