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

/linux-4.1.27/drivers/spi/
H A Dspi-omap2-mcspi.c171 struct omap2_mcspi_cs *cs = spi->controller_state; mcspi_write_cs_reg()
178 struct omap2_mcspi_cs *cs = spi->controller_state; mcspi_read_cs_reg()
185 struct omap2_mcspi_cs *cs = spi->controller_state; mcspi_cached_chconf0()
192 struct omap2_mcspi_cs *cs = spi->controller_state; mcspi_write_chconf0()
231 struct omap2_mcspi_cs *cs = spi->controller_state; omap2_mcspi_set_enable()
280 struct omap2_mcspi_cs *cs = spi->controller_state; omap2_mcspi_set_fifo()
438 struct omap2_mcspi_cs *cs = spi->controller_state; omap2_mcspi_rx_dma()
541 struct omap2_mcspi_cs *cs = spi->controller_state; omap2_mcspi_txrx_dma()
641 struct omap2_mcspi_cs *cs = spi->controller_state; omap2_mcspi_txrx_pio()
845 struct omap2_mcspi_cs *cs = spi->controller_state; omap2_mcspi_setup_transfer()
990 struct omap2_mcspi_cs *cs = spi->controller_state; omap2_mcspi_setup()
1003 spi->controller_state = cs; omap2_mcspi_setup()
1033 if (spi->controller_state) { omap2_mcspi_cleanup()
1035 cs = spi->controller_state; omap2_mcspi_cleanup()
1079 cs = spi->controller_state; omap2_mcspi_work()
H A Dspi-bitbang.c34 * spi_bitbang_cs is in spi_device->controller_state, which is unavailable
139 struct spi_bitbang_cs *cs = spi->controller_state; spi_bitbang_setup_transfer()
181 struct spi_bitbang_cs *cs = spi->controller_state; spi_bitbang_setup()
191 spi->controller_state = cs; spi_bitbang_setup()
229 kfree(spi->controller_state); spi_bitbang_cleanup()
235 struct spi_bitbang_cs *cs = spi->controller_state; spi_bitbang_bufs()
H A Dspi-omap-100k.c190 struct omap1_spi100k_cs *cs = spi->controller_state; omap1_spi100k_txrx_pio()
246 struct omap1_spi100k_cs *cs = spi->controller_state; omap1_spi100k_setup_transfer()
273 struct omap1_spi100k_cs *cs = spi->controller_state; omap1_spi100k_setup()
282 spi->controller_state = cs; omap1_spi100k_setup()
H A Dspi-mpc512x-psc.c60 struct mpc512x_psc_spi_cs *cs = spi->controller_state; mpc512x_psc_spi_transfer_setup()
72 struct mpc512x_psc_spi_cs *cs = spi->controller_state; mpc512x_psc_spi_activate_cs()
349 struct mpc512x_psc_spi_cs *cs = spi->controller_state; mpc512x_psc_spi_setup()
372 spi->controller_state = cs; mpc512x_psc_spi_setup()
385 kfree(spi->controller_state); mpc512x_psc_spi_cleanup()
H A Dspi-mpc52xx-psc.c66 struct mpc52xx_psc_spi_cs *cs = spi->controller_state; mpc52xx_psc_spi_transfer_setup()
78 struct mpc52xx_psc_spi_cs *cs = spi->controller_state; mpc52xx_psc_spi_activate_cs()
267 struct mpc52xx_psc_spi_cs *cs = spi->controller_state; mpc52xx_psc_spi_setup()
277 spi->controller_state = cs; mpc52xx_psc_spi_setup()
310 kfree(spi->controller_state); mpc52xx_psc_spi_cleanup()
H A Dspi-omap-uwire.c176 struct uwire_state *ust = spi->controller_state; uwire_chipselect()
311 struct uwire_state *ust = spi->controller_state; uwire_setup_transfer()
425 struct uwire_state *ust = spi->controller_state; uwire_setup()
431 spi->controller_state = ust; uwire_setup()
439 kfree(spi->controller_state); uwire_cleanup()
H A Dspi-ppc4xx.c172 struct spi_ppc4xx_cs *cs = spi->controller_state; spi_ppc4xx_setupxfer()
225 struct spi_ppc4xx_cs *cs = spi->controller_state; spi_ppc4xx_setup()
236 spi->controller_state = cs; spi_ppc4xx_setup()
350 kfree(spi->controller_state); spi_ppc4xx_cleanup()
H A Dspi-ath79.c156 if (!spi->controller_state) { ath79_spi_setup()
163 if (status && !spi->controller_state) ath79_spi_setup()
H A Dspi-s3c24xx.c99 struct s3c24xx_spi_devstate *cs = spi->controller_state; s3c24xx_spi_chipsel()
123 struct s3c24xx_spi_devstate *cs = spi->controller_state; s3c24xx_spi_update_state()
166 struct s3c24xx_spi_devstate *cs = spi->controller_state; s3c24xx_spi_setupxfer()
179 struct s3c24xx_spi_devstate *cs = spi->controller_state; s3c24xx_spi_setup()
193 spi->controller_state = cs; s3c24xx_spi_setup()
H A Dspi-gpio.c37 * spi->controller_state ... reserved for bitbang framework code
251 if (!spi->controller_state) { spi_gpio_setup()
267 if (!spi->controller_state && cs != SPI_GPIO_NO_CHIPSELECT) spi_gpio_setup()
H A Dspi-atmel.c300 struct atmel_spi_device *asd = spi->controller_state; cs_activate()
352 struct atmel_spi_device *asd = spi->controller_state; cs_deactivate()
1015 asd = spi->controller_state; atmel_spi_setup()
1028 spi->controller_state = asd; atmel_spi_setup()
1065 asd = spi->controller_state; atmel_spi_one_transfer()
1242 struct atmel_spi_device *asd = spi->controller_state; atmel_spi_cleanup()
1248 spi->controller_state = NULL; atmel_spi_cleanup()
H A Dspi-fsl-spi.c89 struct spi_mpc8xxx_cs *cs = spi->controller_state; fsl_spi_change_mode()
116 struct spi_mpc8xxx_cs *cs = spi->controller_state; fsl_spi_chipselect()
229 struct spi_mpc8xxx_cs *cs = spi->controller_state; fsl_spi_setup_transfer()
H A Dspi-fsl-espi.c91 struct spi_mpc8xxx_cs *cs = spi->controller_state; fsl_espi_change_mode()
138 struct spi_mpc8xxx_cs *cs = spi->controller_state; fsl_espi_setup_transfer()
H A Dspi-pl022.c359 * @cur_chip: pointer to current clients chip(assigned from controller_state)
1837 /* Get controller_state if one is supplied */ pl022_setup()
2043 /* Save controller_state */ pl022_setup()
H A Dspi.c389 proxy->controller_state = NULL; spi_new_device()
/linux-4.1.27/include/linux/spi/
H A Dspi.h54 * @controller_state: Controller's runtime state
96 void *controller_state; member in struct:spi_device
132 return spi->controller_state; spi_get_ctldata()
137 spi->controller_state = state; spi_set_ctldata()

Completed in 210 milliseconds