/linux-6.1.9/drivers/spi/ |
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() 345 struct spi_master *master; in omap1_spi100k_probe() 426 struct spi_master *master = platform_get_drvdata(pdev); in omap1_spi100k_remove() 440 struct spi_master *master = dev_get_drvdata(dev); in omap1_spi100k_runtime_suspend() 451 struct spi_master *master = dev_get_drvdata(dev); in omap1_spi100k_runtime_resume()
|
D | spi-cadence.c | 343 struct spi_master *master = dev_id; in cdns_spi_irq() 392 static int cdns_prepare_message(struct spi_master *master, in cdns_prepare_message() 411 static int cdns_transfer_one(struct spi_master *master, in cdns_transfer_one() 439 static int cdns_prepare_transfer_hardware(struct spi_master *master) in cdns_prepare_transfer_hardware() 457 static int cdns_unprepare_transfer_hardware(struct spi_master *master) in cdns_unprepare_transfer_hardware() 500 struct spi_master *master; in cdns_spi_probe() 630 struct spi_master *master = platform_get_drvdata(pdev); in cdns_spi_remove() 656 struct spi_master *master = dev_get_drvdata(dev); in cdns_spi_suspend() 671 struct spi_master *master = dev_get_drvdata(dev); in cdns_spi_resume() 688 struct spi_master *master = dev_get_drvdata(dev); in cdns_spi_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 | 236 struct spi_master *master = dev_id; in bcm2835aux_spi_interrupt() 262 static int __bcm2835aux_spi_transfer_one_irq(struct spi_master *master, in __bcm2835aux_spi_transfer_one_irq() 277 static int bcm2835aux_spi_transfer_one_irq(struct spi_master *master, in bcm2835aux_spi_transfer_one_irq() 302 static int bcm2835aux_spi_transfer_one_poll(struct spi_master *master, in bcm2835aux_spi_transfer_one_poll() 342 static int bcm2835aux_spi_transfer_one(struct spi_master *master, in bcm2835aux_spi_transfer_one() 403 static int bcm2835aux_spi_prepare_message(struct spi_master *master, in bcm2835aux_spi_prepare_message() 427 static int bcm2835aux_spi_unprepare_message(struct spi_master *master, in bcm2835aux_spi_unprepare_message() 437 static void bcm2835aux_spi_handle_err(struct spi_master *master, in bcm2835aux_spi_handle_err() 478 struct spi_master *master; in bcm2835aux_spi_probe() 572 struct spi_master *master = platform_get_drvdata(pdev); in bcm2835aux_spi_remove()
|
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() 360 struct spi_master *master = platform_get_drvdata(pdev); in meson_spifc_remove() 373 struct spi_master *master = dev_get_drvdata(dev); in meson_spifc_suspend() 389 struct spi_master *master = dev_get_drvdata(dev); in meson_spifc_resume() 412 struct spi_master *master = dev_get_drvdata(dev); in meson_spifc_runtime_suspend() 422 struct spi_master *master = dev_get_drvdata(dev); in meson_spifc_runtime_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-geni-qcom.c | 132 static void handle_fifo_timeout(struct spi_master *spi, in handle_fifo_timeout() 167 static void handle_gpi_timeout(struct spi_master *spi, struct spi_message *msg) in handle_gpi_timeout() 175 static void spi_geni_handle_err(struct spi_master *spi, struct spi_message *msg) in spi_geni_handle_err() 228 struct spi_master *spi = dev_get_drvdata(mas->dev); in spi_geni_set_cs() 332 struct spi_master *spi) in setup_fifo_params() 371 struct spi_master *spi = cb; in spi_gsi_callback_result() 391 struct spi_device *spi_slv, struct spi_master *spi) in setup_gsi_xfer() 489 static int spi_geni_prepare_message(struct spi_master *spi, in spi_geni_prepare_message() 721 u16 mode, struct spi_master *spi) in setup_fifo_xfer() 788 static int spi_geni_transfer_one(struct spi_master *spi, in spi_geni_transfer_one() [all …]
|
D | spi-clps711x.c | 36 static int spi_clps711x_prepare_message(struct spi_master *master, in spi_clps711x_prepare_message() 48 static int spi_clps711x_transfer_one(struct spi_master *master, in spi_clps711x_transfer_one() 71 struct spi_master *master = dev_id; in spi_clps711x_isr() 95 struct spi_master *master; in spi_clps711x_probe()
|
D | spi-atmel.c | 422 static bool atmel_spi_can_dma(struct spi_master *master, in atmel_spi_can_dma() 438 struct spi_master *master = platform_get_drvdata(as->pdev); in atmel_spi_dma_slave_config() 493 static int atmel_spi_configure_dma(struct spi_master *master, in atmel_spi_configure_dma() 537 static void atmel_spi_stop_dma(struct spi_master *master) in atmel_spi_stop_dma() 545 static void atmel_spi_release_dma(struct spi_master *master) in atmel_spi_release_dma() 560 struct spi_master *master = data; in dma_callback() 574 static void atmel_spi_next_xfer_single(struct spi_master *master, in atmel_spi_next_xfer_single() 606 static void atmel_spi_next_xfer_fifo(struct spi_master *master, in atmel_spi_next_xfer_fifo() 676 static void atmel_spi_next_xfer_pio(struct spi_master *master, in atmel_spi_next_xfer_pio() 690 static int atmel_spi_next_xfer_dma_submit(struct spi_master *master, in atmel_spi_next_xfer_dma_submit() [all …]
|
D | spi-st-ssc4.c | 118 static int spi_st_transfer_one(struct spi_master *master, in spi_st_transfer_one() 277 struct spi_master *master; in spi_st_probe() 371 struct spi_master *master = platform_get_drvdata(pdev); in spi_st_remove() 386 struct spi_master *master = dev_get_drvdata(dev); in spi_st_runtime_suspend() 399 struct spi_master *master = dev_get_drvdata(dev); in spi_st_runtime_resume() 413 struct spi_master *master = dev_get_drvdata(dev); in spi_st_suspend() 425 struct spi_master *master = dev_get_drvdata(dev); in spi_st_resume()
|
D | spi-qcom-qspi.c | 216 static void qcom_qspi_handle_err(struct spi_master *master, in qcom_qspi_handle_err() 260 static int qcom_qspi_transfer_one(struct spi_master *master, in qcom_qspi_transfer_one() 300 static int qcom_qspi_prepare_message(struct spi_master *master, in qcom_qspi_prepare_message() 459 struct spi_master *master; in qcom_qspi_probe() 557 struct spi_master *master = platform_get_drvdata(pdev); in qcom_qspi_remove() 569 struct spi_master *master = dev_get_drvdata(dev); in qcom_qspi_runtime_suspend() 589 struct spi_master *master = dev_get_drvdata(dev); in qcom_qspi_runtime_resume() 609 struct spi_master *master = dev_get_drvdata(dev); in qcom_qspi_suspend() 625 struct spi_master *master = dev_get_drvdata(dev); in qcom_qspi_resume()
|
D | spi-mt65xx.c | 350 static int mtk_spi_hw_init(struct spi_master *master, in mtk_spi_hw_init() 455 static int mtk_spi_prepare_message(struct spi_master *master, in mtk_spi_prepare_message() 481 static void mtk_spi_prepare_transfer(struct spi_master *master, in mtk_spi_prepare_transfer() 514 static void mtk_spi_setup_packet(struct spi_master *master) in mtk_spi_setup_packet() 541 static void mtk_spi_enable_transfer(struct spi_master *master) in mtk_spi_enable_transfer() 569 static void mtk_spi_update_mdata_len(struct spi_master *master) in mtk_spi_update_mdata_len() 597 static void mtk_spi_setup_dma_addr(struct spi_master *master, in mtk_spi_setup_dma_addr() 623 static int mtk_spi_fifo_transfer(struct spi_master *master, in mtk_spi_fifo_transfer() 653 static int mtk_spi_dma_transfer(struct spi_master *master, in mtk_spi_dma_transfer() 698 static int mtk_spi_transfer_one(struct spi_master *master, in mtk_spi_transfer_one() [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() 433 static int pic32_spi_prepare_hardware(struct spi_master *master) in pic32_spi_prepare_hardware() 442 static int pic32_spi_prepare_message(struct spi_master *master, in pic32_spi_prepare_message() 484 static bool pic32_spi_can_dma(struct spi_master *master, in pic32_spi_can_dma() 495 static int pic32_spi_one_transfer(struct spi_master *master, in pic32_spi_one_transfer() 563 static int pic32_spi_unprepare_message(struct spi_master *master, in pic32_spi_unprepare_message() 570 static int pic32_spi_unprepare_hardware(struct spi_master *master) in pic32_spi_unprepare_hardware() 608 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-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-sifive.c | 131 sifive_spi_prepare_message(struct spi_master *master, struct spi_message *msg) in sifive_spi_prepare_message() 255 sifive_spi_transfer_one(struct spi_master *master, struct spi_device *device, in sifive_spi_transfer_one() 297 struct spi_master *master; in sifive_spi_probe() 420 struct spi_master *master = platform_get_drvdata(pdev); in sifive_spi_remove() 432 struct spi_master *master = dev_get_drvdata(dev); in sifive_spi_suspend() 450 struct spi_master *master = dev_get_drvdata(dev); in sifive_spi_resume()
|
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() 419 struct spi_master *master; in tegra_sflash_probe() 525 struct spi_master *master = platform_get_drvdata(pdev); in tegra_sflash_remove() 540 struct spi_master *master = dev_get_drvdata(dev); in tegra_sflash_suspend() 547 struct spi_master *master = dev_get_drvdata(dev); in tegra_sflash_resume() 565 struct spi_master *master = dev_get_drvdata(dev); in tegra_sflash_runtime_suspend() 577 struct spi_master *master = dev_get_drvdata(dev); in tegra_sflash_runtime_resume()
|
D | spi-bitbang.c | 271 static int spi_bitbang_prepare_hardware(struct spi_master *spi) in spi_bitbang_prepare_hardware() 284 static int spi_bitbang_transfer_one(struct spi_master *master, in spi_bitbang_transfer_one() 311 static int spi_bitbang_unprepare_hardware(struct spi_master *spi) in spi_bitbang_unprepare_hardware() 344 struct spi_master *master = bitbang->master; in spi_bitbang_init() 425 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-sun6i.c | 89 struct spi_master *master; 196 struct spi_master *master = sspi->master; in sun6i_spi_prepare_dma() 254 static int sun6i_spi_transfer_one(struct spi_master *master, in sun6i_spi_transfer_one() 488 struct spi_master *master = dev_get_drvdata(dev); in sun6i_spi_runtime_resume() 525 struct spi_master *master = dev_get_drvdata(dev); in sun6i_spi_runtime_suspend() 535 static bool sun6i_spi_can_dma(struct spi_master *master, in sun6i_spi_can_dma() 551 struct spi_master *master; in sun6i_spi_probe() 688 struct spi_master *master = platform_get_drvdata(pdev); in sun6i_spi_remove()
|
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() 269 static void omap2_mcspi_set_mode(struct spi_master *master) in omap2_mcspi_set_mode() 294 struct spi_master *master = spi->master; in omap2_mcspi_set_fifo() 1020 static void omap2_mcspi_release_dma(struct spi_master *master) in omap2_mcspi_release_dma() 1111 static int omap2_mcspi_slave_abort(struct spi_master *master) in omap2_mcspi_slave_abort() 1124 static int omap2_mcspi_transfer_one(struct spi_master *master, in omap2_mcspi_transfer_one() 1259 static int omap2_mcspi_prepare_message(struct spi_master *master, in omap2_mcspi_prepare_message() 1286 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() 621 struct spi_master *master = platform_get_drvdata(pdev); in bcm63xx_spi_remove() 636 struct spi_master *master = dev_get_drvdata(dev); in bcm63xx_spi_suspend() 648 struct spi_master *master = dev_get_drvdata(dev); in bcm63xx_spi_resume()
|
/linux-6.1.9/drivers/staging/greybus/ |
D | spilib.c | 45 static struct spi_master *get_master_from_spi(struct gb_spilib *spi) in get_master_from_spi() 327 static int gb_spi_transfer_one_message(struct spi_master *master, in gb_spi_transfer_one_message() 379 static int gb_spi_prepare_transfer_hardware(struct spi_master *master) in gb_spi_prepare_transfer_hardware() 386 static int gb_spi_unprepare_transfer_hardware(struct spi_master *master) in gb_spi_unprepare_transfer_hardware() 443 struct spi_master *master = get_master_from_spi(spi); in gb_spi_setup_device() 489 struct spi_master *master; in gb_spilib_master_init() 564 struct spi_master *master = gb_connection_get_data(connection); in gb_spilib_master_exit()
|
/linux-6.1.9/Documentation/ABI/testing/ |
D | sysfs-class-spi-eeprom | 1 What: /sys/class/spi_master/spi<bus>/spi<bus>.<dev>/fram 10 What: /sys/class/spi_master/spi<bus>/spi<bus>.<dev>/sernum
|