Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/spi/
Dspi-slave-mt27xx.c132 struct mtk_spi_slave *mdata = spi_controller_get_devdata(ctlr); in mtk_spi_slave_prepare_message()
166 struct mtk_spi_slave *mdata = spi_controller_get_devdata(ctlr); in mtk_spi_slave_fifo_transfer()
203 struct mtk_spi_slave *mdata = spi_controller_get_devdata(ctlr); in mtk_spi_slave_dma_transfer()
286 struct mtk_spi_slave *mdata = spi_controller_get_devdata(ctlr); in mtk_spi_slave_transfer_one()
300 struct mtk_spi_slave *mdata = spi_controller_get_devdata(spi->master); in mtk_spi_slave_setup()
319 struct mtk_spi_slave *mdata = spi_controller_get_devdata(ctlr); in mtk_slave_abort()
330 struct mtk_spi_slave *mdata = spi_controller_get_devdata(ctlr); in mtk_spi_slave_interrupt()
413 mdata = spi_controller_get_devdata(ctlr); in mtk_spi_slave_probe()
488 struct mtk_spi_slave *mdata = spi_controller_get_devdata(ctlr); in mtk_spi_slave_suspend()
504 struct mtk_spi_slave *mdata = spi_controller_get_devdata(ctlr); in mtk_spi_slave_resume()
[all …]
Dspi-rpc-if.c23 struct rpcif *rpc = spi_controller_get_devdata(spi_dev->controller); in rpcif_spi_mem_prepare()
82 spi_controller_get_devdata(desc->mem->spi->controller); in rpcif_spi_mem_dirmap_read()
95 spi_controller_get_devdata(desc->mem->spi->controller); in rpcif_spi_mem_dirmap_create()
116 spi_controller_get_devdata(mem->spi->controller); in rpcif_spi_mem_exec_op()
141 rpc = spi_controller_get_devdata(ctlr); in rpcif_spi_probe()
179 struct rpcif *rpc = spi_controller_get_devdata(ctlr); in rpcif_spi_remove()
Dspi-mux.c51 struct spi_mux_priv *priv = spi_controller_get_devdata(spi->controller); in spi_mux_select()
76 struct spi_mux_priv *priv = spi_controller_get_devdata(spi->controller); in spi_mux_setup()
102 struct spi_mux_priv *priv = spi_controller_get_devdata(ctlr); in spi_mux_transfer_one_message()
137 priv = spi_controller_get_devdata(ctlr); in spi_mux_probe()
Dspi-rockchip.c245 struct rockchip_spi *rs = spi_controller_get_devdata(ctlr); in rockchip_spi_set_cs()
276 struct rockchip_spi *rs = spi_controller_get_devdata(ctlr); in rockchip_spi_handle_err()
350 struct rockchip_spi *rs = spi_controller_get_devdata(ctlr); in rockchip_spi_isr()
403 struct rockchip_spi *rs = spi_controller_get_devdata(ctlr); in rockchip_spi_dma_rxcb()
419 struct rockchip_spi *rs = spi_controller_get_devdata(ctlr); in rockchip_spi_dma_txcb()
617 struct rockchip_spi *rs = spi_controller_get_devdata(ctlr); in rockchip_spi_slave_abort()
671 struct rockchip_spi *rs = spi_controller_get_devdata(ctlr); in rockchip_spi_transfer_one()
712 struct rockchip_spi *rs = spi_controller_get_devdata(ctlr); in rockchip_spi_can_dma()
724 struct rockchip_spi *rs = spi_controller_get_devdata(spi->controller); in rockchip_spi_setup()
774 rs = spi_controller_get_devdata(ctlr); in rockchip_spi_probe()
[all …]
Dspi-fsl-lpspi.c200 spi_controller_get_devdata(controller); in lpspi_prepare_xfer_hardware()
215 spi_controller_get_devdata(controller); in lpspi_unprepare_xfer_hardware()
337 spi_controller_get_devdata(controller); in fsl_lpspi_dma_configure()
416 spi_controller_get_devdata(spi->controller); in fsl_lpspi_setup_transfer()
462 spi_controller_get_devdata(controller); in fsl_lpspi_slave_abort()
478 spi_controller_get_devdata(controller); in fsl_lpspi_wait_for_completion()
690 spi_controller_get_devdata(controller); in fsl_lpspi_pio_transfer()
716 spi_controller_get_devdata(controller); in fsl_lpspi_transfer_one()
776 fsl_lpspi = spi_controller_get_devdata(controller); in fsl_lpspi_runtime_resume()
796 fsl_lpspi = spi_controller_get_devdata(controller); in fsl_lpspi_runtime_suspend()
[all …]
Dspi-ar934x.c64 struct ar934x_spi *sp = spi_controller_get_devdata(spi->master); in ar934x_spi_setup()
80 struct ar934x_spi *sp = spi_controller_get_devdata(master); in ar934x_spi_transfer_one_message()
208 sp = spi_controller_get_devdata(ctlr); in ar934x_spi_probe()
229 sp = spi_controller_get_devdata(ctlr); in ar934x_spi_remove()
Dspi-ingenic.c83 struct ingenic_spi *priv = spi_controller_get_devdata(spi->controller); in spi_ingenic_set_cs()
125 struct ingenic_spi *priv = spi_controller_get_devdata(ctlr); in spi_ingenic_prepare_dma()
243 struct ingenic_spi *priv = spi_controller_get_devdata(ctlr); in spi_ingenic_transfer_one()
264 struct ingenic_spi *priv = spi_controller_get_devdata(ctlr); in spi_ingenic_prepare_message()
303 struct ingenic_spi *priv = spi_controller_get_devdata(ctlr); in spi_ingenic_prepare_hardware()
320 struct ingenic_spi *priv = spi_controller_get_devdata(ctlr); in spi_ingenic_unprepare_hardware()
401 priv = spi_controller_get_devdata(ctlr); in spi_ingenic_probe()
Dspi-realtek-rtl.c35 struct rtspi *rtspi = spi_controller_get_devdata(spi->controller); in rt_set_cs()
96 struct rtspi *rtspi = spi_controller_get_devdata(ctrl); in transfer_one()
162 rtspi = spi_controller_get_devdata(ctrl); in realtek_rtl_spi_probe()
Dspi-bcm2835.c411 struct bcm2835_spi *bs = spi_controller_get_devdata(ctlr); in bcm2835_spi_transfer_one_irq()
606 struct bcm2835_spi *bs = spi_controller_get_devdata(ctlr); in bcm2835_spi_dma_rx_done()
634 struct bcm2835_spi *bs = spi_controller_get_devdata(ctlr); in bcm2835_spi_dma_tx_done()
771 struct bcm2835_spi *bs = spi_controller_get_devdata(ctlr); in bcm2835_spi_transfer_one_dma()
998 struct bcm2835_spi *bs = spi_controller_get_devdata(ctlr); in bcm2835_spi_transfer_one_poll()
1052 struct bcm2835_spi *bs = spi_controller_get_devdata(ctlr); in bcm2835_spi_transfer_one()
1114 struct bcm2835_spi *bs = spi_controller_get_devdata(ctlr); in bcm2835_spi_prepare_message()
1142 struct bcm2835_spi *bs = spi_controller_get_devdata(ctlr); in bcm2835_spi_handle_err()
1222 struct bcm2835_spi *bs = spi_controller_get_devdata(ctlr); in bcm2835_spi_setup()
1347 bs = spi_controller_get_devdata(ctlr); in bcm2835_spi_probe()
[all …]
Datmel-quadspi.c409 struct atmel_qspi *aq = spi_controller_get_devdata(mem->spi->master); in atmel_qspi_exec_op()
480 struct atmel_qspi *aq = spi_controller_get_devdata(ctrl); in atmel_qspi_setup()
564 aq = spi_controller_get_devdata(ctrl); in atmel_qspi_probe()
672 struct atmel_qspi *aq = spi_controller_get_devdata(ctrl); in atmel_qspi_remove()
693 struct atmel_qspi *aq = spi_controller_get_devdata(ctrl); in atmel_qspi_suspend()
714 struct atmel_qspi *aq = spi_controller_get_devdata(ctrl); in atmel_qspi_resume()
737 struct atmel_qspi *aq = spi_controller_get_devdata(ctrl); in atmel_qspi_runtime_suspend()
748 struct atmel_qspi *aq = spi_controller_get_devdata(ctrl); in atmel_qspi_runtime_resume()
Dspi-npcm-fiu.c290 spi_controller_get_devdata(desc->mem->spi->master); in npcm_fiu_direct_read()
317 spi_controller_get_devdata(desc->mem->spi->master); in npcm_fiu_direct_write()
338 spi_controller_get_devdata(mem->spi->master); in npcm_fiu_uma_read()
393 spi_controller_get_devdata(mem->spi->master); in npcm_fiu_uma_write()
442 spi_controller_get_devdata(mem->spi->master); in npcm_fiu_manualwrite()
547 spi_controller_get_devdata(mem->spi->master); in npcm_fiu_exec_op()
607 spi_controller_get_devdata(desc->mem->spi->master); in npcm_fiu_dirmap_create()
669 struct npcm_fiu_spi *fiu = spi_controller_get_devdata(ctrl); in npcm_fiu_setup()
709 fiu = spi_controller_get_devdata(ctrl); in npcm_fiu_probe()
Dspi-hisi-kunpeng.c340 struct hisi_spi *hs = spi_controller_get_devdata(master); in hisi_spi_irq()
379 struct hisi_spi *hs = spi_controller_get_devdata(master); in hisi_spi_transfer_one()
415 struct hisi_spi *hs = spi_controller_get_devdata(master); in hisi_spi_handle_err()
469 hs = spi_controller_get_devdata(master); in hisi_spi_probe()
529 struct hisi_spi *hs = spi_controller_get_devdata(master); in hisi_spi_remove()
Dspi-imx.c237 struct spi_imx_data *spi_imx = spi_controller_get_devdata(controller); in spi_imx_can_dma()
1184 struct spi_imx_data *spi_imx = spi_controller_get_devdata(controller); in spi_imx_dma_configure()
1226 struct spi_imx_data *spi_imx = spi_controller_get_devdata(spi->controller); in spi_imx_setupxfer()
1471 struct spi_imx_data *spi_imx = spi_controller_get_devdata(spi->controller); in spi_imx_pio_transfer()
1503 struct spi_imx_data *spi_imx = spi_controller_get_devdata(spi->controller); in spi_imx_poll_transfer()
1551 struct spi_imx_data *spi_imx = spi_controller_get_devdata(spi->controller); in spi_imx_pio_transfer_slave()
1596 struct spi_imx_data *spi_imx = spi_controller_get_devdata(spi->controller); in spi_imx_transfer_one()
1645 struct spi_imx_data *spi_imx = spi_controller_get_devdata(controller); in spi_imx_prepare_message()
1666 struct spi_imx_data *spi_imx = spi_controller_get_devdata(controller); in spi_imx_unprepare_message()
1675 struct spi_imx_data *spi_imx = spi_controller_get_devdata(controller); in spi_imx_slave_abort()
[all …]
Dspi-mtk-nor.c265 struct mtk_nor *sp = spi_controller_get_devdata(mem->spi->master); in mtk_nor_adjust_op_size()
595 struct mtk_nor *sp = spi_controller_get_devdata(mem->spi->master); in mtk_nor_exec_op()
628 struct mtk_nor *sp = spi_controller_get_devdata(spi->master); in mtk_nor_setup()
643 struct mtk_nor *sp = spi_controller_get_devdata(master); in mtk_nor_transfer_one_message()
851 sp = spi_controller_get_devdata(ctlr); in mtk_nor_probe()
927 struct mtk_nor *sp = spi_controller_get_devdata(ctlr); in mtk_nor_remove()
941 struct mtk_nor *sp = spi_controller_get_devdata(ctlr); in mtk_nor_runtime_suspend()
951 struct mtk_nor *sp = spi_controller_get_devdata(ctlr); in mtk_nor_runtime_resume()
964 struct mtk_nor *sp = spi_controller_get_devdata(ctlr); in mtk_nor_resume()
Dspi-dw-core.c95 struct dw_spi *dws = spi_controller_get_devdata(spi->controller); in dw_spi_set_cs()
257 struct dw_spi *dws = spi_controller_get_devdata(master); in dw_spi_irq()
420 struct dw_spi *dws = spi_controller_get_devdata(master); in dw_spi_transfer_one()
472 struct dw_spi *dws = spi_controller_get_devdata(master); in dw_spi_handle_err()
666 struct dw_spi *dws = spi_controller_get_devdata(mem->spi->controller); in dw_spi_exec_mem_op()
780 struct dw_spi *dws = spi_controller_get_devdata(spi->controller); in dw_spi_setup()
786 struct dw_spi *dws = spi_controller_get_devdata(spi->controller); in dw_spi_setup()
Dspi-hisi-sfc-v3xx.c155 host = spi_controller_get_devdata(spi->master); in hisi_sfc_v3xx_adjust_op_size()
177 host = spi_controller_get_devdata(spi->master); in hisi_sfc_v3xx_supports_op()
366 host = spi_controller_get_devdata(spi->master); in hisi_sfc_v3xx_exec_op()
443 host = spi_controller_get_devdata(ctlr); in hisi_sfc_v3xx_probe()
Dspi-stm32-qspi.c361 struct stm32_qspi *qspi = spi_controller_get_devdata(spi->master); in stm32_qspi_send()
452 struct stm32_qspi *qspi = spi_controller_get_devdata(mem->spi->master); in stm32_qspi_poll_status()
480 struct stm32_qspi *qspi = spi_controller_get_devdata(mem->spi->master); in stm32_qspi_exec_op()
504 struct stm32_qspi *qspi = spi_controller_get_devdata(desc->mem->spi->master); in stm32_qspi_dirmap_create()
522 struct stm32_qspi *qspi = spi_controller_get_devdata(desc->mem->spi->master); in stm32_qspi_dirmap_read()
561 struct stm32_qspi *qspi = spi_controller_get_devdata(ctrl); in stm32_qspi_transfer_one_message()
645 struct stm32_qspi *qspi = spi_controller_get_devdata(ctrl); in stm32_qspi_setup()
783 qspi = spi_controller_get_devdata(ctrl); in stm32_qspi_probe()
Dspi-gxp.c203 struct gxp_spi *spifi = spi_controller_get_devdata(mem->spi->master); in do_gxp_exec_mem_op()
239 struct gxp_spi *spifi = spi_controller_get_devdata(spi->master); in gxp_spi_setup()
265 spifi = spi_controller_get_devdata(ctlr); in gxp_spifi_probe()
Dspi-mt7621.c63 return spi_controller_get_devdata(spi->master); in spidev_to_mt7621_spi()
249 struct mt7621_spi *rs = spi_controller_get_devdata(master); in mt7621_spi_transfer_one_message()
361 rs = spi_controller_get_devdata(master); in mt7621_spi_probe()
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()
718 struct sprd_spi *ss = spi_controller_get_devdata(sdev->controller); in sprd_spi_setup_transfer()
893 struct sprd_spi *ss = spi_controller_get_devdata(sctlr); in sprd_spi_can_dma()
931 ss = spi_controller_get_devdata(sctlr); in sprd_spi_probe()
1008 struct sprd_spi *ss = spi_controller_get_devdata(sctlr); in sprd_spi_remove()
1031 struct sprd_spi *ss = spi_controller_get_devdata(sctlr); in sprd_spi_runtime_suspend()
1044 struct sprd_spi *ss = spi_controller_get_devdata(sctlr); in sprd_spi_runtime_resume()
Dspi-pxa2xx.c364 spi_controller_get_devdata(spi->controller); in lpss_ssp_select_cs()
394 spi_controller_get_devdata(spi->controller); in lpss_ssp_cs_control()
430 spi_controller_get_devdata(spi->controller); in cs_assert()
444 spi_controller_get_devdata(spi->controller); in cs_deassert()
947 struct driver_data *drv_data = spi_controller_get_devdata(controller); in pxa2xx_spi_transfer_one()
1127 struct driver_data *drv_data = spi_controller_get_devdata(controller); in pxa2xx_spi_slave_abort()
1137 struct driver_data *drv_data = spi_controller_get_devdata(controller); in pxa2xx_spi_handle_err()
1157 struct driver_data *drv_data = spi_controller_get_devdata(controller); in pxa2xx_spi_unprepare_transfer()
1171 spi_controller_get_devdata(spi->controller); in setup()
1528 struct driver_data *drv_data = spi_controller_get_devdata(controller); in pxa2xx_spi_fw_translate_cs()
[all …]
Dspi-microchip-core-qspi.c303 struct mchp_coreqspi *qspi = spi_controller_get_devdata(ctlr); in mchp_coreqspi_setup_op()
370 struct mchp_coreqspi *qspi = spi_controller_get_devdata in mchp_qspi_wait_for_ready()
389 struct mchp_coreqspi *qspi = spi_controller_get_devdata in mchp_coreqspi_exec_op()
513 qspi = spi_controller_get_devdata(ctlr); in mchp_coreqspi_probe()
Dspi-rspi.c690 struct rspi_data *rspi = spi_controller_get_devdata(ctlr); in rspi_can_dma()
730 struct rspi_data *rspi = spi_controller_get_devdata(ctlr); in rspi_transfer_one()
749 struct rspi_data *rspi = spi_controller_get_devdata(ctlr); in rspi_rz_transfer_one()
866 struct rspi_data *rspi = spi_controller_get_devdata(ctlr); in qspi_transfer_one()
950 struct rspi_data *rspi = spi_controller_get_devdata(spi->controller); in rspi_setup()
974 struct rspi_data *rspi = spi_controller_get_devdata(ctlr); in rspi_prepare_message()
1030 struct rspi_data *rspi = spi_controller_get_devdata(ctlr); in rspi_unprepare_message()
1317 rspi = spi_controller_get_devdata(ctlr); in rspi_probe()
Dspi-zynq-qspi.c293 struct zynq_qspi *xqspi = spi_controller_get_devdata(ctlr); in zynq_qspi_chipselect()
381 struct zynq_qspi *qspi = spi_controller_get_devdata(ctlr); in zynq_qspi_setup_op()
528 struct zynq_qspi *xqspi = spi_controller_get_devdata(mem->spi->master); in zynq_qspi_exec_mem_op()
644 xqspi = spi_controller_get_devdata(ctlr); in zynq_qspi_probe()
Dspi-sh-hspi.c146 struct hspi_priv *hspi = spi_controller_get_devdata(ctlr); in hspi_transfer_one_message()
238 hspi = spi_controller_get_devdata(ctlr); in hspi_probe()

12