Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/spi/
Dspi-bitbang.c139 struct spi_bitbang_cs *cs = spi->controller_state; in spi_bitbang_setup_transfer()
181 struct spi_bitbang_cs *cs = spi->controller_state; in spi_bitbang_setup()
191 spi->controller_state = cs; in spi_bitbang_setup()
229 kfree(spi->controller_state); in spi_bitbang_cleanup()
235 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()
425 struct uwire_state *ust = spi->controller_state; in uwire_setup()
431 spi->controller_state = ust; in uwire_setup()
439 kfree(spi->controller_state); in uwire_cleanup()
Dspi-omap2-mcspi.c171 struct omap2_mcspi_cs *cs = spi->controller_state; in mcspi_write_cs_reg()
178 struct omap2_mcspi_cs *cs = spi->controller_state; in mcspi_read_cs_reg()
185 struct omap2_mcspi_cs *cs = spi->controller_state; in mcspi_cached_chconf0()
192 struct omap2_mcspi_cs *cs = spi->controller_state; in mcspi_write_chconf0()
231 struct omap2_mcspi_cs *cs = spi->controller_state; in omap2_mcspi_set_enable()
280 struct omap2_mcspi_cs *cs = spi->controller_state; in omap2_mcspi_set_fifo()
438 struct omap2_mcspi_cs *cs = spi->controller_state; in omap2_mcspi_rx_dma()
541 struct omap2_mcspi_cs *cs = spi->controller_state; in omap2_mcspi_txrx_dma()
641 struct omap2_mcspi_cs *cs = spi->controller_state; in omap2_mcspi_txrx_pio()
845 struct omap2_mcspi_cs *cs = spi->controller_state; in omap2_mcspi_setup_transfer()
[all …]
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-mpc512x-psc.c60 struct mpc512x_psc_spi_cs *cs = spi->controller_state; in mpc512x_psc_spi_transfer_setup()
72 struct mpc512x_psc_spi_cs *cs = spi->controller_state; in mpc512x_psc_spi_activate_cs()
349 struct mpc512x_psc_spi_cs *cs = spi->controller_state; in mpc512x_psc_spi_setup()
372 spi->controller_state = cs; in mpc512x_psc_spi_setup()
385 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-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-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-ath79.c156 if (!spi->controller_state) { in ath79_spi_setup()
163 if (status && !spi->controller_state) in ath79_spi_setup()
Dspi-atmel.c300 struct atmel_spi_device *asd = spi->controller_state; in cs_activate()
352 struct atmel_spi_device *asd = spi->controller_state; in cs_deactivate()
1015 asd = spi->controller_state; in atmel_spi_setup()
1028 spi->controller_state = asd; in atmel_spi_setup()
1065 asd = spi->controller_state; in atmel_spi_one_transfer()
1242 struct atmel_spi_device *asd = spi->controller_state; in atmel_spi_cleanup()
1248 spi->controller_state = NULL; in atmel_spi_cleanup()
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-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.c91 struct spi_mpc8xxx_cs *cs = spi->controller_state; in fsl_espi_change_mode()
138 struct spi_mpc8xxx_cs *cs = spi->controller_state; in fsl_espi_setup_transfer()
Dspi.c389 proxy->controller_state = NULL; in spi_new_device()
/linux-4.1.27/include/linux/spi/
Dspi.h96 void *controller_state; member
132 return spi->controller_state; in spi_get_ctldata()
137 spi->controller_state = state; in spi_set_ctldata()
/linux-4.1.27/Documentation/spi/
Dspi-summary524 Your controller driver may use spi_device.controller_state to hold