Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/spi/
Dspi-omap2-mcspi.c162 struct omap2_mcspi_cs *cs = spi->controller_state; in mcspi_write_cs_reg()
169 struct omap2_mcspi_cs *cs = spi->controller_state; in mcspi_read_cs_reg()
176 struct omap2_mcspi_cs *cs = spi->controller_state; in mcspi_cached_chconf0()
183 struct omap2_mcspi_cs *cs = spi->controller_state; in mcspi_write_chconf0()
222 struct omap2_mcspi_cs *cs = spi->controller_state; in omap2_mcspi_set_enable()
248 if (spi->controller_state) { in omap2_mcspi_set_cs()
295 struct omap2_mcspi_cs *cs = spi->controller_state; in omap2_mcspi_set_fifo()
444 struct omap2_mcspi_cs *cs = spi->controller_state; in omap2_mcspi_rx_dma()
581 struct omap2_mcspi_cs *cs = spi->controller_state; in omap2_mcspi_txrx_dma()
689 struct omap2_mcspi_cs *cs = spi->controller_state; in omap2_mcspi_txrx_pio()
[all …]
Dspi-bitbang.c143 struct spi_bitbang_cs *cs = spi->controller_state; in spi_bitbang_setup_transfer()
185 struct spi_bitbang_cs *cs = spi->controller_state; in spi_bitbang_setup()
196 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.c173 struct uwire_state *ust = spi->controller_state; in uwire_chipselect()
308 struct uwire_state *ust = spi->controller_state; in uwire_setup_transfer()
423 struct uwire_state *ust = spi->controller_state; in uwire_setup()
431 spi->controller_state = ust; in uwire_setup()
444 kfree(spi->controller_state); in uwire_cleanup()
Dspi-mpc52xx-psc.c56 struct mpc52xx_psc_spi_cs *cs = spi->controller_state; in mpc52xx_psc_spi_transfer_setup()
68 struct mpc52xx_psc_spi_cs *cs = spi->controller_state; in mpc52xx_psc_spi_activate_cs()
241 struct mpc52xx_psc_spi_cs *cs = spi->controller_state; in mpc52xx_psc_spi_setup()
250 spi->controller_state = cs; in mpc52xx_psc_spi_setup()
261 kfree(spi->controller_state); in mpc52xx_psc_spi_cleanup()
Dspi-s3c24xx.c85 struct s3c24xx_spi_devstate *cs = spi->controller_state; in s3c24xx_spi_chipsel()
106 struct s3c24xx_spi_devstate *cs = spi->controller_state; in s3c24xx_spi_update_state()
149 struct s3c24xx_spi_devstate *cs = spi->controller_state; in s3c24xx_spi_setupxfer()
162 struct s3c24xx_spi_devstate *cs = spi->controller_state; in s3c24xx_spi_setup()
176 spi->controller_state = cs; in s3c24xx_spi_setup()
Dspi-ppc4xx.c165 struct spi_ppc4xx_cs *cs = spi->controller_state; in spi_ppc4xx_setupxfer()
218 struct spi_ppc4xx_cs *cs = spi->controller_state; in spi_ppc4xx_setup()
229 spi->controller_state = cs; in spi_ppc4xx_setup()
322 kfree(spi->controller_state); in spi_ppc4xx_cleanup()
Dspi-mpc512x-psc.c81 struct mpc512x_psc_spi_cs *cs = spi->controller_state; in mpc512x_psc_spi_transfer_setup()
93 struct mpc512x_psc_spi_cs *cs = spi->controller_state; in mpc512x_psc_spi_activate_cs()
375 struct mpc512x_psc_spi_cs *cs = spi->controller_state; in mpc512x_psc_spi_setup()
385 spi->controller_state = cs; in mpc512x_psc_spi_setup()
396 kfree(spi->controller_state); in mpc512x_psc_spi_cleanup()
Dspi-omap-100k.c180 struct omap1_spi100k_cs *cs = spi->controller_state; in omap1_spi100k_txrx_pio()
236 struct omap1_spi100k_cs *cs = spi->controller_state; in omap1_spi100k_setup_transfer()
263 struct omap1_spi100k_cs *cs = spi->controller_state; in omap1_spi100k_setup()
272 spi->controller_state = cs; in omap1_spi100k_setup()
Dspi-at91-usart.c363 u32 *ausd = spi->controller_state; in at91_usart_spi_setup()
386 spi->controller_state = ausd; in at91_usart_spi_setup()
449 u32 *ausd = spi->controller_state; in at91_usart_spi_prepare_message()
471 struct at91_usart_spi_device *ausd = spi->controller_state; in at91_usart_spi_cleanup()
473 spi->controller_state = NULL; in at91_usart_spi_cleanup()
Dspi-atmel.c326 struct atmel_spi_device *asd = spi->controller_state; in cs_activate()
1234 asd = spi->controller_state; in atmel_spi_setup()
1240 spi->controller_state = asd; in atmel_spi_setup()
1286 asd = spi->controller_state; in atmel_spi_one_transfer()
1390 struct atmel_spi_device *asd = spi->controller_state; in atmel_spi_cleanup()
1395 spi->controller_state = NULL; in atmel_spi_cleanup()
Dspi-meson-spicc.c513 if (!spi->controller_state) in meson_spicc_setup()
514 spi->controller_state = spi_master_get_devdata(spi->master); in meson_spicc_setup()
521 spi->controller_state = NULL; in meson_spicc_cleanup()
Dspi-fsl-spi.c92 struct spi_mpc8xxx_cs *cs = spi->controller_state; in fsl_spi_change_mode()
205 struct spi_mpc8xxx_cs *cs = spi->controller_state; in fsl_spi_setup_transfer()
Dspi-gpio.c252 if (!spi->controller_state && cs) in spi_gpio_setup()
Dspi.c759 proxy->controller_state = NULL; in spi_new_device()
/linux-6.1.9/include/linux/spi/
Dspi.h198 void *controller_state; member
246 return spi->controller_state; in spi_get_ctldata()
251 spi->controller_state = state; in spi_set_ctldata()
/linux-6.1.9/include/soc/tegra/
Dbpmp-abi.h2490 struct cmd_uphy_pcie_controller_state_request controller_state; member
/linux-6.1.9/drivers/pci/controller/dwc/
Dpcie-tegra194.c1216 req.controller_state.pcie_controller = pcie->cid; in tegra_pcie_bpmp_set_ctrl_state()
1217 req.controller_state.enable = enable; in tegra_pcie_bpmp_set_ctrl_state()
/linux-6.1.9/Documentation/spi/
Dspi-summary.rst545 Your controller driver may use spi_device.controller_state to hold