Home
last modified time | relevance | path

Searched refs:spi_controller_get_devdata (Results 1 – 21 of 21) sorted by relevance

/Linux-v5.4/drivers/spi/
Dspi-slave-mt27xx.c115 struct mtk_spi_slave *mdata = spi_controller_get_devdata(ctlr); in mtk_spi_slave_prepare_message()
149 struct mtk_spi_slave *mdata = spi_controller_get_devdata(ctlr); in mtk_spi_slave_fifo_transfer()
186 struct mtk_spi_slave *mdata = spi_controller_get_devdata(ctlr); in mtk_spi_slave_dma_transfer()
269 struct mtk_spi_slave *mdata = spi_controller_get_devdata(ctlr); in mtk_spi_slave_transfer_one()
283 struct mtk_spi_slave *mdata = spi_controller_get_devdata(spi->master); in mtk_spi_slave_setup()
302 struct mtk_spi_slave *mdata = spi_controller_get_devdata(ctlr); in mtk_slave_abort()
313 struct mtk_spi_slave *mdata = spi_controller_get_devdata(ctlr); in mtk_spi_slave_interrupt()
390 mdata = spi_controller_get_devdata(ctlr); in mtk_spi_slave_probe()
470 struct mtk_spi_slave *mdata = spi_controller_get_devdata(ctlr); in mtk_spi_slave_suspend()
486 struct mtk_spi_slave *mdata = spi_controller_get_devdata(ctlr); in mtk_spi_slave_resume()
[all …]
Dspi-fsl-lpspi.c207 spi_controller_get_devdata(controller); in lpspi_prepare_xfer_hardware()
222 spi_controller_get_devdata(controller); in lpspi_unprepare_xfer_hardware()
234 spi_controller_get_devdata(controller); in fsl_lpspi_prepare_message()
360 spi_controller_get_devdata(controller); in fsl_lpspi_dma_configure()
439 spi_controller_get_devdata(spi->controller); in fsl_lpspi_setup_transfer()
482 spi_controller_get_devdata(controller); in fsl_lpspi_slave_abort()
498 spi_controller_get_devdata(controller); in fsl_lpspi_wait_for_completion()
710 spi_controller_get_devdata(controller); in fsl_lpspi_pio_transfer()
736 spi_controller_get_devdata(controller); in fsl_lpspi_transfer_one()
796 fsl_lpspi = spi_controller_get_devdata(controller); in fsl_lpspi_runtime_resume()
[all …]
Dspi-bcm2835.c340 struct bcm2835_spi *bs = spi_controller_get_devdata(ctlr); in bcm2835_spi_reset_hw()
367 struct bcm2835_spi *bs = spi_controller_get_devdata(ctlr); in bcm2835_spi_interrupt()
402 struct bcm2835_spi *bs = spi_controller_get_devdata(ctlr); in bcm2835_spi_transfer_one_irq()
597 struct bcm2835_spi *bs = spi_controller_get_devdata(ctlr); in bcm2835_spi_dma_rx_done()
625 struct bcm2835_spi *bs = spi_controller_get_devdata(ctlr); in bcm2835_spi_dma_tx_done()
763 struct bcm2835_spi *bs = spi_controller_get_devdata(ctlr); in bcm2835_spi_transfer_one_dma()
1016 struct bcm2835_spi *bs = spi_controller_get_devdata(ctlr); in bcm2835_spi_transfer_one_poll()
1070 struct bcm2835_spi *bs = spi_controller_get_devdata(ctlr); in bcm2835_spi_transfer_one()
1132 struct bcm2835_spi *bs = spi_controller_get_devdata(ctlr); in bcm2835_spi_prepare_message()
1159 struct bcm2835_spi *bs = spi_controller_get_devdata(ctlr); in bcm2835_spi_handle_err()
[all …]
Dspi-npcm-fiu.c271 spi_controller_get_devdata(desc->mem->spi->master); in npcm_fiu_direct_read()
298 spi_controller_get_devdata(desc->mem->spi->master); in npcm_fiu_direct_write()
319 spi_controller_get_devdata(mem->spi->master); in npcm_fiu_uma_read()
374 spi_controller_get_devdata(mem->spi->master); in npcm_fiu_uma_write()
423 spi_controller_get_devdata(mem->spi->master); in npcm_fiu_manualwrite()
528 spi_controller_get_devdata(mem->spi->master); in npcm_fiu_exec_op()
588 spi_controller_get_devdata(desc->mem->spi->master); in npcm_fiu_dirmap_create()
646 struct npcm_fiu_spi *fiu = spi_controller_get_devdata(ctrl); in npcm_fiu_setup()
687 fiu = spi_controller_get_devdata(ctrl); in npcm_fiu_probe()
Dspi-mt7621.c64 return spi_controller_get_devdata(spi->master); in spidev_to_mt7621_spi()
250 struct mt7621_spi *rs = spi_controller_get_devdata(master); in mt7621_spi_transfer_one_message()
369 rs = spi_controller_get_devdata(master); in mt7621_spi_probe()
392 rs = spi_controller_get_devdata(master); in mt7621_spi_remove()
Datmel-quadspi.c328 struct atmel_qspi *aq = spi_controller_get_devdata(mem->spi->master); in atmel_qspi_exec_op()
384 struct atmel_qspi *aq = spi_controller_get_devdata(ctrl); in atmel_qspi_setup()
460 aq = spi_controller_get_devdata(ctrl); in atmel_qspi_probe()
558 struct atmel_qspi *aq = spi_controller_get_devdata(ctrl); in atmel_qspi_remove()
570 struct atmel_qspi *aq = spi_controller_get_devdata(ctrl); in atmel_qspi_suspend()
581 struct atmel_qspi *aq = spi_controller_get_devdata(ctrl); in atmel_qspi_resume()
Dspi-pxa2xx.c339 spi_controller_get_devdata(spi->controller); in lpss_ssp_select_cs()
369 spi_controller_get_devdata(spi->controller); in lpss_ssp_cs_control()
390 spi_controller_get_devdata(spi->controller); in cs_assert()
415 spi_controller_get_devdata(spi->controller); in cs_deassert()
921 struct driver_data *drv_data = spi_controller_get_devdata(controller); in pxa2xx_spi_transfer_one()
1111 struct driver_data *drv_data = spi_controller_get_devdata(controller); in pxa2xx_spi_slave_abort()
1133 struct driver_data *drv_data = spi_controller_get_devdata(controller); in pxa2xx_spi_handle_err()
1159 struct driver_data *drv_data = spi_controller_get_devdata(controller); in pxa2xx_spi_unprepare_transfer()
1172 spi_controller_get_devdata(spi->controller); in setup_cs()
1231 spi_controller_get_devdata(spi->controller); in setup()
[all …]
Dspi-sprd.c294 struct sprd_spi *ss = spi_controller_get_devdata(sctlr); in sprd_spi_chipselect()
404 struct sprd_spi *ss = spi_controller_get_devdata(sdev->controller); in sprd_spi_txrx_bufs()
719 struct sprd_spi *ss = spi_controller_get_devdata(sdev->controller); in sprd_spi_setup_transfer()
891 struct sprd_spi *ss = spi_controller_get_devdata(sctlr); in sprd_spi_can_dma()
929 ss = spi_controller_get_devdata(sctlr); in sprd_spi_probe()
1006 struct sprd_spi *ss = spi_controller_get_devdata(sctlr); in sprd_spi_remove()
1029 struct sprd_spi *ss = spi_controller_get_devdata(sctlr); in sprd_spi_runtime_suspend()
1042 struct sprd_spi *ss = spi_controller_get_devdata(sctlr); in sprd_spi_runtime_resume()
Dspi-zynq-qspi.c288 struct zynq_qspi *xqspi = spi_controller_get_devdata(ctrl); in zynq_qspi_chipselect()
369 struct zynq_qspi *qspi = spi_controller_get_devdata(ctrl); in zynq_qspi_setup_op()
516 struct zynq_qspi *xqspi = spi_controller_get_devdata(mem->spi->master); in zynq_qspi_exec_mem_op()
629 xqspi = spi_controller_get_devdata(ctlr); in zynq_qspi_probe()
Dspi-dw.c129 struct dw_spi *dws = spi_controller_get_devdata(spi->controller); in dw_spi_set_cs()
247 struct dw_spi *dws = spi_controller_get_devdata(master); in dw_spi_irq()
276 struct dw_spi *dws = spi_controller_get_devdata(master); in dw_spi_transfer_one()
378 struct dw_spi *dws = spi_controller_get_devdata(master); in dw_spi_handle_err()
Dspi-rspi.c669 struct rspi_data *rspi = spi_controller_get_devdata(ctlr); in rspi_can_dma()
707 struct rspi_data *rspi = spi_controller_get_devdata(ctlr); in rspi_transfer_one()
726 struct rspi_data *rspi = spi_controller_get_devdata(ctlr); in rspi_rz_transfer_one()
843 struct rspi_data *rspi = spi_controller_get_devdata(ctlr); in qspi_transfer_one()
927 struct rspi_data *rspi = spi_controller_get_devdata(ctlr); in rspi_prepare_message()
962 struct rspi_data *rspi = spi_controller_get_devdata(ctlr); in rspi_unprepare_message()
1228 rspi = spi_controller_get_devdata(ctlr); in rspi_probe()
Dspi-sh-hspi.c146 struct hspi_priv *hspi = spi_controller_get_devdata(ctlr); in hspi_transfer_one_message()
239 hspi = spi_controller_get_devdata(ctlr); in hspi_probe()
Dspi-fsl-qspi.c341 struct fsl_qspi *q = spi_controller_get_devdata(mem->spi->master); in fsl_qspi_supports_op()
614 struct fsl_qspi *q = spi_controller_get_devdata(mem->spi->master); in fsl_qspi_exec_op()
671 struct fsl_qspi *q = spi_controller_get_devdata(mem->spi->master); in fsl_qspi_adjust_op_size()
767 struct fsl_qspi *q = spi_controller_get_devdata(mem->spi->master); in fsl_qspi_get_name()
814 q = spi_controller_get_devdata(ctlr); in fsl_qspi_probe()
Dspi-sprd-adi.c278 struct sprd_adi *sadi = spi_controller_get_devdata(ctlr); in sprd_adi_transfer_one()
472 sadi = spi_controller_get_devdata(ctlr); in sprd_adi_probe()
541 struct sprd_adi *sadi = spi_controller_get_devdata(ctlr); in sprd_adi_remove()
Dspi-stm32-qspi.c329 struct stm32_qspi *qspi = spi_controller_get_devdata(mem->spi->master); in stm32_qspi_send()
431 struct stm32_qspi *qspi = spi_controller_get_devdata(mem->spi->master); in stm32_qspi_exec_op()
444 struct stm32_qspi *qspi = spi_controller_get_devdata(ctrl); in stm32_qspi_setup()
547 qspi = spi_controller_get_devdata(ctrl); in stm32_qspi_probe()
Dspi-nxp-fspi.c395 struct nxp_fspi *f = spi_controller_get_devdata(mem->spi->master); in nxp_fspi_supports_op()
789 struct nxp_fspi *f = spi_controller_get_devdata(mem->spi->master); in nxp_fspi_exec_op()
827 struct nxp_fspi *f = spi_controller_get_devdata(mem->spi->master); in nxp_fspi_adjust_op_size()
916 struct nxp_fspi *f = spi_controller_get_devdata(mem->spi->master); in nxp_fspi_get_name()
959 f = spi_controller_get_devdata(ctlr); in nxp_fspi_probe()
Dspi-fsl-dspi.c724 struct fsl_dspi *dspi = spi_controller_get_devdata(ctlr); in dspi_transfer_one_message()
831 struct fsl_dspi *dspi = spi_controller_get_devdata(spi->controller); in dspi_setup()
916 struct fsl_dspi *dspi = spi_controller_get_devdata(ctlr); in dspi_suspend()
929 struct fsl_dspi *dspi = spi_controller_get_devdata(ctlr); in dspi_resume()
1024 dspi = spi_controller_get_devdata(ctlr); in dspi_probe()
1167 struct fsl_dspi *dspi = spi_controller_get_devdata(ctlr); in dspi_remove()
Dspi-sh-msiof.c553 spi_controller_get_devdata(spi->controller); in sh_msiof_spi_setup()
584 struct sh_msiof_spi_priv *p = spi_controller_get_devdata(ctlr); in sh_msiof_prepare_message()
643 struct sh_msiof_spi_priv *p = spi_controller_get_devdata(ctlr); in sh_msiof_slave_abort()
910 struct sh_msiof_spi_priv *p = spi_controller_get_devdata(ctlr); in sh_msiof_transfer_one()
1329 p = spi_controller_get_devdata(ctlr); in sh_msiof_spi_probe()
Dspi-pxa2xx-dma.c239 struct driver_data *drv_data = spi_controller_get_devdata(spi->controller); in pxa2xx_spi_set_dma_burst_and_threshold()
Dspi-dw-mid.c110 struct dw_spi *dws = spi_controller_get_devdata(master); in mid_spi_can_dma()
/Linux-v5.4/include/linux/spi/
Dspi.h609 static inline void *spi_controller_get_devdata(struct spi_controller *ctlr) in spi_controller_get_devdata() function
1407 #define spi_master_get_devdata(_ctlr) spi_controller_get_devdata(_ctlr)