| /Linux-v5.10/drivers/spi/ |
| D | spi-amd.c | 44 static inline u8 amd_spi_readreg8(struct spi_master *master, int idx) in amd_spi_readreg8() 51 static inline void amd_spi_writereg8(struct spi_master *master, int idx, in amd_spi_writereg8() 59 static inline void amd_spi_setclear_reg8(struct spi_master *master, int idx, in amd_spi_setclear_reg8() 68 static inline u32 amd_spi_readreg32(struct spi_master *master, int idx) in amd_spi_readreg32() 75 static inline void amd_spi_writereg32(struct spi_master *master, int idx, in amd_spi_writereg32() 83 static inline void amd_spi_setclear_reg32(struct spi_master *master, int idx, in amd_spi_setclear_reg32() 92 static void amd_spi_select_chip(struct spi_master *master) in amd_spi_select_chip() 101 static void amd_spi_clear_fifo_ptr(struct spi_master *master) in amd_spi_clear_fifo_ptr() 107 static void amd_spi_set_opcode(struct spi_master *master, u8 cmd_opcode) in amd_spi_set_opcode() 113 static inline void amd_spi_set_rx_count(struct spi_master *master, in amd_spi_set_rx_count() [all …]
|
| D | spi-ep93xx.c | 112 static int ep93xx_spi_calc_divisors(struct spi_master *master, in ep93xx_spi_calc_divisors() 146 static int ep93xx_spi_chip_setup(struct spi_master *master, in ep93xx_spi_chip_setup() 179 static void ep93xx_do_write(struct spi_master *master) in ep93xx_do_write() 197 static void ep93xx_do_read(struct spi_master *master) in ep93xx_do_read() 226 static int ep93xx_spi_read_write(struct spi_master *master) in ep93xx_spi_read_write() 272 ep93xx_spi_dma_prepare(struct spi_master *master, in ep93xx_spi_dma_prepare() 376 static void ep93xx_spi_dma_finish(struct spi_master *master, in ep93xx_spi_dma_finish() 396 struct spi_master *master = callback_param; in ep93xx_spi_dma_callback() 404 static int ep93xx_spi_dma_transfer(struct spi_master *master) in ep93xx_spi_dma_transfer() 439 struct spi_master *master = dev_id; in ep93xx_spi_interrupt() [all …]
|
| D | spi-omap-100k.c | 80 static void spi100k_enable_clock(struct spi_master *master) in spi100k_enable_clock() 91 static void spi100k_disable_clock(struct spi_master *master) in spi100k_disable_clock() 102 static void spi100k_write_data(struct spi_master *master, int len, int data) in spi100k_write_data() 128 static int spi100k_read_data(struct spi_master *master, int len) in spi100k_read_data() 154 static void spi100k_open(struct spi_master *master) in spi100k_open() 288 static int omap1_spi100k_transfer_one_message(struct spi_master *master, in omap1_spi100k_transfer_one_message() 347 struct spi_master *master; in omap1_spi100k_probe() 427 struct spi_master *master = spi_master_get(platform_get_drvdata(pdev)); in omap1_spi100k_remove() 441 struct spi_master *master = spi_master_get(dev_get_drvdata(dev)); in omap1_spi100k_runtime_suspend() 452 struct spi_master *master = spi_master_get(dev_get_drvdata(dev)); in omap1_spi100k_runtime_resume()
|
| D | spi-cadence.c | 342 struct spi_master *master = dev_id; in cdns_spi_irq() 390 static int cdns_prepare_message(struct spi_master *master, in cdns_prepare_message() 409 static int cdns_transfer_one(struct spi_master *master, in cdns_transfer_one() 437 static int cdns_prepare_transfer_hardware(struct spi_master *master) in cdns_prepare_transfer_hardware() 455 static int cdns_unprepare_transfer_hardware(struct spi_master *master) in cdns_unprepare_transfer_hardware() 475 struct spi_master *master; in cdns_spi_probe() 598 struct spi_master *master = platform_get_drvdata(pdev); in cdns_spi_remove() 624 struct spi_master *master = dev_get_drvdata(dev); in cdns_spi_suspend() 639 struct spi_master *master = dev_get_drvdata(dev); in cdns_spi_resume() 656 struct spi_master *master = dev_get_drvdata(dev); in cnds_runtime_resume() [all …]
|
| D | spi-img-spfi.c | 89 struct spi_master *master; 224 static int img_spfi_start_pio(struct spi_master *master, in img_spfi_start_pio() 306 static int img_spfi_start_dma(struct spi_master *master, in img_spfi_start_dma() 387 static void img_spfi_handle_err(struct spi_master *master, in img_spfi_handle_err() 408 static int img_spfi_prepare(struct spi_master *master, struct spi_message *msg) in img_spfi_prepare() 430 static int img_spfi_unprepare(struct spi_master *master, in img_spfi_unprepare() 440 static void img_spfi_config(struct spi_master *master, struct spi_device *spi, in img_spfi_config() 479 static int img_spfi_transfer_one(struct spi_master *master, in img_spfi_transfer_one() 502 static bool img_spfi_can_dma(struct spi_master *master, struct spi_device *spi, in img_spfi_can_dma() 527 struct spi_master *master; in img_spfi_probe() [all …]
|
| D | spi-bcm2835aux.c | 237 struct spi_master *master = dev_id; in bcm2835aux_spi_interrupt() 263 static int __bcm2835aux_spi_transfer_one_irq(struct spi_master *master, in __bcm2835aux_spi_transfer_one_irq() 278 static int bcm2835aux_spi_transfer_one_irq(struct spi_master *master, in bcm2835aux_spi_transfer_one_irq() 303 static int bcm2835aux_spi_transfer_one_poll(struct spi_master *master, in bcm2835aux_spi_transfer_one_poll() 343 static int bcm2835aux_spi_transfer_one(struct spi_master *master, in bcm2835aux_spi_transfer_one() 404 static int bcm2835aux_spi_prepare_message(struct spi_master *master, in bcm2835aux_spi_prepare_message() 428 static int bcm2835aux_spi_unprepare_message(struct spi_master *master, in bcm2835aux_spi_unprepare_message() 438 static void bcm2835aux_spi_handle_err(struct spi_master *master, in bcm2835aux_spi_handle_err() 492 struct spi_master *master; in bcm2835aux_spi_probe() 585 struct spi_master *master = platform_get_drvdata(pdev); in bcm2835aux_spi_remove()
|
| D | spi-mt65xx.c | 195 static int mtk_spi_prepare_message(struct spi_master *master, in mtk_spi_prepare_message() 287 static void mtk_spi_prepare_transfer(struct spi_master *master, in mtk_spi_prepare_transfer() 328 static void mtk_spi_setup_packet(struct spi_master *master) in mtk_spi_setup_packet() 343 static void mtk_spi_enable_transfer(struct spi_master *master) in mtk_spi_enable_transfer() 368 static void mtk_spi_update_mdata_len(struct spi_master *master) in mtk_spi_update_mdata_len() 396 static void mtk_spi_setup_dma_addr(struct spi_master *master, in mtk_spi_setup_dma_addr() 422 static int mtk_spi_fifo_transfer(struct spi_master *master, in mtk_spi_fifo_transfer() 451 static int mtk_spi_dma_transfer(struct spi_master *master, in mtk_spi_dma_transfer() 496 static int mtk_spi_transfer_one(struct spi_master *master, in mtk_spi_transfer_one() 506 static bool mtk_spi_can_dma(struct spi_master *master, in mtk_spi_can_dma() [all …]
|
| D | spi-meson-spifc.c | 76 struct spi_master *master; 245 static int meson_spifc_transfer_one(struct spi_master *master, in meson_spifc_transfer_one() 287 struct spi_master *master; in meson_spifc_probe() 359 struct spi_master *master = platform_get_drvdata(pdev); in meson_spifc_remove() 372 struct spi_master *master = dev_get_drvdata(dev); in meson_spifc_suspend() 388 struct spi_master *master = dev_get_drvdata(dev); in meson_spifc_resume() 411 struct spi_master *master = dev_get_drvdata(dev); in meson_spifc_runtime_suspend() 421 struct spi_master *master = dev_get_drvdata(dev); in meson_spifc_runtime_resume()
|
| D | spi-atmel.c | 428 static bool atmel_spi_can_dma(struct spi_master *master, in atmel_spi_can_dma() 446 struct spi_master *master = platform_get_drvdata(as->pdev); in atmel_spi_dma_slave_config() 502 static int atmel_spi_configure_dma(struct spi_master *master, in atmel_spi_configure_dma() 551 static void atmel_spi_stop_dma(struct spi_master *master) in atmel_spi_stop_dma() 559 static void atmel_spi_release_dma(struct spi_master *master) in atmel_spi_release_dma() 574 struct spi_master *master = data; in dma_callback() 588 static void atmel_spi_next_xfer_single(struct spi_master *master, in atmel_spi_next_xfer_single() 620 static void atmel_spi_next_xfer_fifo(struct spi_master *master, in atmel_spi_next_xfer_fifo() 690 static void atmel_spi_next_xfer_pio(struct spi_master *master, in atmel_spi_next_xfer_pio() 704 static int atmel_spi_next_xfer_dma_submit(struct spi_master *master, in atmel_spi_next_xfer_dma_submit() [all …]
|
| D | spi-geni-qcom.c | 120 static void handle_fifo_timeout(struct spi_master *spi, in handle_fifo_timeout() 151 struct spi_master *spi = dev_get_drvdata(mas->dev); in spi_geni_set_cs() 241 struct spi_master *spi) in setup_fifo_params() 277 static int spi_geni_prepare_message(struct spi_master *spi, in spi_geni_prepare_message() 419 u16 mode, struct spi_master *spi) in setup_fifo_xfer() 492 static int spi_geni_transfer_one(struct spi_master *spi, in spi_geni_transfer_one() 508 struct spi_master *spi = data; in geni_spi_isr() 588 struct spi_master *spi; in spi_geni_probe() 685 struct spi_master *spi = platform_get_drvdata(pdev); in spi_geni_remove() 700 struct spi_master *spi = dev_get_drvdata(dev); in spi_geni_runtime_suspend() [all …]
|
| D | spi-clps711x.c | 35 static int spi_clps711x_prepare_message(struct spi_master *master, in spi_clps711x_prepare_message() 47 static int spi_clps711x_transfer_one(struct spi_master *master, in spi_clps711x_transfer_one() 70 struct spi_master *master = dev_id; in spi_clps711x_isr() 93 struct spi_master *master; in spi_clps711x_probe()
|
| D | spi-st-ssc4.c | 119 static int spi_st_transfer_one(struct spi_master *master, in spi_st_transfer_one() 300 struct spi_master *master; in spi_st_probe() 393 struct spi_master *master = platform_get_drvdata(pdev); in spi_st_remove() 408 struct spi_master *master = dev_get_drvdata(dev); in spi_st_runtime_suspend() 421 struct spi_master *master = dev_get_drvdata(dev); in spi_st_runtime_resume() 435 struct spi_master *master = dev_get_drvdata(dev); in spi_st_suspend() 447 struct spi_master *master = dev_get_drvdata(dev); in spi_st_resume()
|
| D | spi-uniphier.c | 29 struct spi_master *master; 349 static bool uniphier_spi_can_dma(struct spi_master *master, in uniphier_spi_can_dma() 366 struct spi_master *master = data; in uniphier_spi_dma_rxcb() 378 struct spi_master *master = data; in uniphier_spi_dma_txcb() 388 static int uniphier_spi_transfer_one_dma(struct spi_master *master, in uniphier_spi_transfer_one_dma() 471 static int uniphier_spi_transfer_one_irq(struct spi_master *master, in uniphier_spi_transfer_one_irq() 498 static int uniphier_spi_transfer_one_poll(struct spi_master *master, in uniphier_spi_transfer_one_poll() 526 static int uniphier_spi_transfer_one(struct spi_master *master, in uniphier_spi_transfer_one() 556 static int uniphier_spi_prepare_transfer_hardware(struct spi_master *master) in uniphier_spi_prepare_transfer_hardware() 565 static int uniphier_spi_unprepare_transfer_hardware(struct spi_master *master) in uniphier_spi_unprepare_transfer_hardware() [all …]
|
| D | spi-pic32.c | 103 struct spi_master *master; 303 struct spi_master *master = pic32s->master; in pic32_spi_dma_transfer() 360 struct spi_master *master = pic32s->master; in pic32_spi_dma_config() 434 static int pic32_spi_prepare_hardware(struct spi_master *master) in pic32_spi_prepare_hardware() 443 static int pic32_spi_prepare_message(struct spi_master *master, in pic32_spi_prepare_message() 485 static bool pic32_spi_can_dma(struct spi_master *master, in pic32_spi_can_dma() 496 static int pic32_spi_one_transfer(struct spi_master *master, in pic32_spi_one_transfer() 564 static int pic32_spi_unprepare_message(struct spi_master *master, in pic32_spi_unprepare_message() 571 static int pic32_spi_unprepare_hardware(struct spi_master *master) in pic32_spi_unprepare_hardware() 611 struct spi_master *master = pic32s->master; in pic32_spi_dma_prep() [all …]
|
| D | spi-armada-3700.c | 103 struct spi_master *master; 281 struct spi_master *master = a3700_spi->master; in a3700_spi_init() 318 struct spi_master *master = dev_id; in a3700_spi_interrupt() 568 static int a3700_spi_prepare_message(struct spi_master *master, in a3700_spi_prepare_message() 591 static int a3700_spi_transfer_one_fifo(struct spi_master *master, in a3700_spi_transfer_one_fifo() 740 static int a3700_spi_transfer_one_full_duplex(struct spi_master *master, in a3700_spi_transfer_one_full_duplex() 785 static int a3700_spi_transfer_one(struct spi_master *master, in a3700_spi_transfer_one() 797 static int a3700_spi_unprepare_message(struct spi_master *master, in a3700_spi_unprepare_message() 818 struct spi_master *master; in a3700_spi_probe() 913 struct spi_master *master = platform_get_drvdata(pdev); in a3700_spi_remove()
|
| D | spi-qcom-qspi.c | 217 static void qcom_qspi_handle_err(struct spi_master *master, in qcom_qspi_handle_err() 261 static int qcom_qspi_transfer_one(struct spi_master *master, in qcom_qspi_transfer_one() 301 static int qcom_qspi_prepare_message(struct spi_master *master, in qcom_qspi_prepare_message() 460 struct spi_master *master; in qcom_qspi_probe() 573 struct spi_master *master = platform_get_drvdata(pdev); in qcom_qspi_remove() 588 struct spi_master *master = dev_get_drvdata(dev); in qcom_qspi_runtime_suspend() 608 struct spi_master *master = dev_get_drvdata(dev); in qcom_qspi_runtime_resume() 628 struct spi_master *master = dev_get_drvdata(dev); in qcom_qspi_suspend() 644 struct spi_master *master = dev_get_drvdata(dev); in qcom_qspi_resume()
|
| D | spi-npcm-pspi.c | 23 struct spi_master *master; 248 static int npcm_pspi_transfer_one(struct spi_master *master, in npcm_pspi_transfer_one() 269 static int npcm_pspi_prepare_transfer_hardware(struct spi_master *master) in npcm_pspi_prepare_transfer_hardware() 278 static int npcm_pspi_unprepare_transfer_hardware(struct spi_master *master) in npcm_pspi_unprepare_transfer_hardware() 343 struct spi_master *master; in npcm_pspi_probe() 435 struct spi_master *master = platform_get_drvdata(pdev); in npcm_pspi_remove()
|
| D | spi-tegra20-sflash.c | 105 struct spi_master *master; 306 static int tegra_sflash_transfer_one_message(struct spi_master *master, in tegra_sflash_transfer_one_message() 420 struct spi_master *master; in tegra_sflash_probe() 527 struct spi_master *master = platform_get_drvdata(pdev); in tegra_sflash_remove() 542 struct spi_master *master = dev_get_drvdata(dev); in tegra_sflash_suspend() 549 struct spi_master *master = dev_get_drvdata(dev); in tegra_sflash_resume() 567 struct spi_master *master = dev_get_drvdata(dev); in tegra_sflash_runtime_suspend() 579 struct spi_master *master = dev_get_drvdata(dev); in tegra_sflash_runtime_resume()
|
| D | spi-bitbang.c | 258 static int spi_bitbang_prepare_hardware(struct spi_master *spi) in spi_bitbang_prepare_hardware() 271 static int spi_bitbang_transfer_one(struct spi_master *master, in spi_bitbang_transfer_one() 298 static int spi_bitbang_unprepare_hardware(struct spi_master *spi) in spi_bitbang_unprepare_hardware() 331 struct spi_master *master = bitbang->master; in spi_bitbang_init() 412 struct spi_master *master = bitbang->master; in spi_bitbang_start()
|
| D | spi-coldfire-qspi.c | 298 static int mcfqspi_transfer_one(struct spi_master *master, in mcfqspi_transfer_one() 340 struct spi_master *master; in mcfqspi_probe() 439 struct spi_master *master = platform_get_drvdata(pdev); in mcfqspi_remove() 455 struct spi_master *master = dev_get_drvdata(dev); in mcfqspi_suspend() 470 struct spi_master *master = dev_get_drvdata(dev); in mcfqspi_resume() 482 struct spi_master *master = dev_get_drvdata(dev); in mcfqspi_runtime_suspend() 492 struct spi_master *master = dev_get_drvdata(dev); in mcfqspi_runtime_resume()
|
| D | spi-omap2-mcspi.c | 120 struct spi_master *master; 144 static inline void mcspi_write_reg(struct spi_master *master, in mcspi_write_reg() 152 static inline u32 mcspi_read_reg(struct spi_master *master, int idx) in mcspi_read_reg() 270 static void omap2_mcspi_set_mode(struct spi_master *master) in omap2_mcspi_set_mode() 295 struct spi_master *master = spi->master; in omap2_mcspi_set_fifo() 1015 static void omap2_mcspi_release_dma(struct spi_master *master) in omap2_mcspi_release_dma() 1100 static int omap2_mcspi_slave_abort(struct spi_master *master) in omap2_mcspi_slave_abort() 1113 static int omap2_mcspi_transfer_one(struct spi_master *master, in omap2_mcspi_transfer_one() 1248 static int omap2_mcspi_prepare_message(struct spi_master *master, in omap2_mcspi_prepare_message() 1275 static bool omap2_mcspi_can_dma(struct spi_master *master, in omap2_mcspi_can_dma() [all …]
|
| D | spi-bcm63xx.c | 325 static int bcm63xx_spi_transfer_one(struct spi_master *master, in bcm63xx_spi_transfer_one() 408 struct spi_master *master = (struct spi_master *)dev_id; in bcm63xx_spi_interrupt() 492 struct spi_master *master; in bcm63xx_spi_probe() 617 struct spi_master *master = platform_get_drvdata(pdev); in bcm63xx_spi_remove() 632 struct spi_master *master = dev_get_drvdata(dev); in bcm63xx_spi_suspend() 644 struct spi_master *master = dev_get_drvdata(dev); in bcm63xx_spi_resume()
|
| D | spi-qup.c | 389 static int spi_qup_prep_sg(struct spi_master *master, struct scatterlist *sgl, in spi_qup_prep_sg() 416 static void spi_qup_dma_terminate(struct spi_master *master, in spi_qup_dma_terminate() 449 struct spi_master *master = spi->master; in spi_qup_do_dma() 517 struct spi_master *master = spi->master; in spi_qup_do_pio() 845 static int spi_qup_transfer_one(struct spi_master *master, in spi_qup_transfer_one() 888 static bool spi_qup_can_dma(struct spi_master *master, struct spi_device *spi, in spi_qup_can_dma() 918 static void spi_qup_release_dma(struct spi_master *master) in spi_qup_release_dma() 926 static int spi_qup_init_dma(struct spi_master *master, resource_size_t base) in spi_qup_init_dma() 997 struct spi_master *master; in spi_qup_probe() 1175 struct spi_master *master = dev_get_drvdata(device); in spi_qup_pm_suspend_runtime() [all …]
|
| D | spi-dln2.c | 81 struct spi_master *master; 590 static int dln2_spi_prepare_message(struct spi_master *master, in dln2_spi_prepare_message() 651 static int dln2_spi_transfer_one(struct spi_master *master, in dln2_spi_transfer_one() 680 struct spi_master *master; in dln2_spi_probe() 783 struct spi_master *master = spi_master_get(platform_get_drvdata(pdev)); in dln2_spi_remove() 798 struct spi_master *master = dev_get_drvdata(dev); in dln2_spi_suspend() 826 struct spi_master *master = dev_get_drvdata(dev); in dln2_spi_resume() 846 struct spi_master *master = dev_get_drvdata(dev); in dln2_spi_runtime_suspend() 854 struct spi_master *master = dev_get_drvdata(dev); in dln2_spi_runtime_resume()
|
| /Linux-v5.10/drivers/staging/greybus/ |
| D | spilib.c | 45 static struct spi_master *get_master_from_spi(struct gb_spilib *spi) in get_master_from_spi() 323 static int gb_spi_transfer_one_message(struct spi_master *master, in gb_spi_transfer_one_message() 375 static int gb_spi_prepare_transfer_hardware(struct spi_master *master) in gb_spi_prepare_transfer_hardware() 382 static int gb_spi_unprepare_transfer_hardware(struct spi_master *master) in gb_spi_unprepare_transfer_hardware() 439 struct spi_master *master = get_master_from_spi(spi); in gb_spi_setup_device() 485 struct spi_master *master; in gb_spilib_master_init() 560 struct spi_master *master = gb_connection_get_data(connection); in gb_spilib_master_exit()
|