/Linux-v4.19/drivers/spi/ |
D | spi-bcm2835.c | 129 static void bcm2835_spi_reset_hw(struct spi_master *master) in bcm2835_spi_reset_hw() 150 struct spi_master *master = dev_id; in bcm2835_spi_interrupt() 169 static int bcm2835_spi_transfer_one_irq(struct spi_master *master, in bcm2835_spi_transfer_one_irq() 225 struct spi_master *master = data; in bcm2835_spi_dma_done() 245 static int bcm2835_spi_prepare_sg(struct spi_master *master, in bcm2835_spi_prepare_sg() 303 static int bcm2835_spi_transfer_one_dma(struct spi_master *master, in bcm2835_spi_transfer_one_dma() 356 static bool bcm2835_spi_can_dma(struct spi_master *master, in bcm2835_spi_can_dma() 404 static void bcm2835_dma_release(struct spi_master *master) in bcm2835_dma_release() 418 static void bcm2835_dma_init(struct spi_master *master, struct device *dev) in bcm2835_dma_init() 479 static int bcm2835_spi_transfer_one_poll(struct spi_master *master, in bcm2835_spi_transfer_one_poll() [all …]
|
D | spi-ep93xx.c | 115 static int ep93xx_spi_calc_divisors(struct spi_master *master, in ep93xx_spi_calc_divisors() 149 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() 259 ep93xx_spi_dma_prepare(struct spi_master *master, in ep93xx_spi_dma_prepare() 362 static void ep93xx_spi_dma_finish(struct spi_master *master, in ep93xx_spi_dma_finish() 382 struct spi_master *master = callback_param; in ep93xx_spi_dma_callback() 390 static int ep93xx_spi_dma_transfer(struct spi_master *master) in ep93xx_spi_dma_transfer() 425 struct spi_master *master = dev_id; in ep93xx_spi_interrupt() [all …]
|
D | spi-omap-100k.c | 90 static void spi100k_enable_clock(struct spi_master *master) in spi100k_enable_clock() 101 static void spi100k_disable_clock(struct spi_master *master) in spi100k_disable_clock() 112 static void spi100k_write_data(struct spi_master *master, int len, int data) in spi100k_write_data() 138 static int spi100k_read_data(struct spi_master *master, int len) in spi100k_read_data() 164 static void spi100k_open(struct spi_master *master) in spi100k_open() 298 static int omap1_spi100k_transfer_one_message(struct spi_master *master, in omap1_spi100k_transfer_one_message() 358 struct spi_master *master; in omap1_spi100k_probe() 438 struct spi_master *master = spi_master_get(platform_get_drvdata(pdev)); in omap1_spi100k_remove() 452 struct spi_master *master = spi_master_get(dev_get_drvdata(dev)); in omap1_spi100k_runtime_suspend() 463 struct spi_master *master = spi_master_get(dev_get_drvdata(dev)); in omap1_spi100k_runtime_resume()
|
D | spi-bcm2835aux.c | 183 struct spi_master *master = dev_id; in bcm2835aux_spi_interrupt() 233 static int __bcm2835aux_spi_transfer_one_irq(struct spi_master *master, in __bcm2835aux_spi_transfer_one_irq() 248 static int bcm2835aux_spi_transfer_one_irq(struct spi_master *master, in bcm2835aux_spi_transfer_one_irq() 270 static int bcm2835aux_spi_transfer_one_poll(struct spi_master *master, in bcm2835aux_spi_transfer_one_poll() 322 static int bcm2835aux_spi_transfer_one(struct spi_master *master, in bcm2835aux_spi_transfer_one() 382 static int bcm2835aux_spi_prepare_message(struct spi_master *master, in bcm2835aux_spi_prepare_message() 406 static int bcm2835aux_spi_unprepare_message(struct spi_master *master, in bcm2835aux_spi_unprepare_message() 416 static void bcm2835aux_spi_handle_err(struct spi_master *master, in bcm2835aux_spi_handle_err() 426 struct spi_master *master; in bcm2835aux_spi_probe() 516 struct spi_master *master = platform_get_drvdata(pdev); in bcm2835aux_spi_remove()
|
D | spi-mt65xx.c | 170 static int mtk_spi_prepare_message(struct spi_master *master, in mtk_spi_prepare_message() 258 static void mtk_spi_prepare_transfer(struct spi_master *master, in mtk_spi_prepare_transfer() 299 static void mtk_spi_setup_packet(struct spi_master *master) in mtk_spi_setup_packet() 314 static void mtk_spi_enable_transfer(struct spi_master *master) in mtk_spi_enable_transfer() 339 static void mtk_spi_update_mdata_len(struct spi_master *master) in mtk_spi_update_mdata_len() 367 static void mtk_spi_setup_dma_addr(struct spi_master *master, in mtk_spi_setup_dma_addr() 378 static int mtk_spi_fifo_transfer(struct spi_master *master, in mtk_spi_fifo_transfer() 406 static int mtk_spi_dma_transfer(struct spi_master *master, in mtk_spi_dma_transfer() 450 static int mtk_spi_transfer_one(struct spi_master *master, in mtk_spi_transfer_one() 460 static bool mtk_spi_can_dma(struct spi_master *master, in mtk_spi_can_dma() [all …]
|
D | spi-cadence.c | 350 struct spi_master *master = dev_id; in cdns_spi_irq() 398 static int cdns_prepare_message(struct spi_master *master, in cdns_prepare_message() 417 static int cdns_transfer_one(struct spi_master *master, in cdns_transfer_one() 445 static int cdns_prepare_transfer_hardware(struct spi_master *master) in cdns_prepare_transfer_hardware() 463 static int cdns_unprepare_transfer_hardware(struct spi_master *master) in cdns_unprepare_transfer_hardware() 541 struct spi_master *master; in cdns_spi_probe() 671 struct spi_master *master = platform_get_drvdata(pdev); in cdns_spi_remove() 697 struct spi_master *master = dev_get_drvdata(dev); in cdns_spi_suspend() 712 struct spi_master *master = dev_get_drvdata(dev); in cdns_spi_resume() 729 struct spi_master *master = dev_get_drvdata(dev); in cnds_runtime_resume() [all …]
|
D | spi-img-spfi.c | 93 struct spi_master *master; 232 static int img_spfi_start_pio(struct spi_master *master, in img_spfi_start_pio() 314 static int img_spfi_start_dma(struct spi_master *master, in img_spfi_start_dma() 395 static void img_spfi_handle_err(struct spi_master *master, in img_spfi_handle_err() 416 static int img_spfi_prepare(struct spi_master *master, struct spi_message *msg) in img_spfi_prepare() 438 static int img_spfi_unprepare(struct spi_master *master, in img_spfi_unprepare() 496 static void img_spfi_config(struct spi_master *master, struct spi_device *spi, in img_spfi_config() 535 static int img_spfi_transfer_one(struct spi_master *master, in img_spfi_transfer_one() 558 static bool img_spfi_can_dma(struct spi_master *master, struct spi_device *spi, in img_spfi_can_dma() 583 struct spi_master *master; in img_spfi_probe() [all …]
|
D | spi-meson-spifc.c | 82 struct spi_master *master; 251 static int meson_spifc_transfer_one(struct spi_master *master, in meson_spifc_transfer_one() 293 struct spi_master *master; in meson_spifc_probe() 367 struct spi_master *master = platform_get_drvdata(pdev); in meson_spifc_remove() 380 struct spi_master *master = dev_get_drvdata(dev); in meson_spifc_suspend() 396 struct spi_master *master = dev_get_drvdata(dev); in meson_spifc_resume() 419 struct spi_master *master = dev_get_drvdata(dev); in meson_spifc_runtime_suspend() 429 struct spi_master *master = dev_get_drvdata(dev); in meson_spifc_runtime_resume()
|
D | spi-clps711x.c | 58 static int spi_clps711x_prepare_message(struct spi_master *master, in spi_clps711x_prepare_message() 70 static int spi_clps711x_transfer_one(struct spi_master *master, in spi_clps711x_transfer_one() 93 struct spi_master *master = dev_id; in spi_clps711x_isr() 116 struct spi_master *master; in spi_clps711x_probe()
|
D | spi-st-ssc4.c | 121 static int spi_st_transfer_one(struct spi_master *master, in spi_st_transfer_one() 302 struct spi_master *master; in spi_st_probe() 396 struct spi_master *master = platform_get_drvdata(pdev); in spi_st_remove() 409 struct spi_master *master = dev_get_drvdata(dev); in spi_st_runtime_suspend() 422 struct spi_master *master = dev_get_drvdata(dev); in spi_st_runtime_resume() 436 struct spi_master *master = dev_get_drvdata(dev); in spi_st_suspend() 448 struct spi_master *master = dev_get_drvdata(dev); in spi_st_resume()
|
D | spi-rockchip.c | 173 struct spi_master *master; 276 struct spi_master *master = spi->master; in rockchip_spi_set_cs() 301 static int rockchip_spi_prepare_message(struct spi_master *master, in rockchip_spi_prepare_message() 312 static void rockchip_spi_handle_err(struct spi_master *master, in rockchip_spi_handle_err() 339 static int rockchip_spi_unprepare_message(struct spi_master *master, in rockchip_spi_unprepare_message() 596 struct spi_master *master, in rockchip_spi_transfer_one() 664 static bool rockchip_spi_can_dma(struct spi_master *master, in rockchip_spi_can_dma() 677 struct spi_master *master; in rockchip_spi_probe() 822 struct spi_master *master = spi_master_get(platform_get_drvdata(pdev)); in rockchip_spi_remove() 848 struct spi_master *master = dev_get_drvdata(dev); in rockchip_spi_suspend() [all …]
|
D | spi-atmel.c | 454 static bool atmel_spi_can_dma(struct spi_master *master, in atmel_spi_can_dma() 472 struct spi_master *master = platform_get_drvdata(as->pdev); in atmel_spi_dma_slave_config() 528 static int atmel_spi_configure_dma(struct spi_master *master, in atmel_spi_configure_dma() 585 static void atmel_spi_stop_dma(struct spi_master *master) in atmel_spi_stop_dma() 593 static void atmel_spi_release_dma(struct spi_master *master) in atmel_spi_release_dma() 608 struct spi_master *master = data; in dma_callback() 622 static void atmel_spi_next_xfer_single(struct spi_master *master, in atmel_spi_next_xfer_single() 654 static void atmel_spi_next_xfer_fifo(struct spi_master *master, in atmel_spi_next_xfer_fifo() 724 static void atmel_spi_next_xfer_pio(struct spi_master *master, in atmel_spi_next_xfer_pio() 738 static int atmel_spi_next_xfer_dma_submit(struct spi_master *master, in atmel_spi_next_xfer_dma_submit() [all …]
|
D | spi-pic32.c | 111 struct spi_master *master; 311 struct spi_master *master = pic32s->master; in pic32_spi_dma_transfer() 368 struct spi_master *master = pic32s->master; in pic32_spi_dma_config() 442 static int pic32_spi_prepare_hardware(struct spi_master *master) in pic32_spi_prepare_hardware() 451 static int pic32_spi_prepare_message(struct spi_master *master, in pic32_spi_prepare_message() 493 static bool pic32_spi_can_dma(struct spi_master *master, in pic32_spi_can_dma() 504 static int pic32_spi_one_transfer(struct spi_master *master, in pic32_spi_one_transfer() 572 static int pic32_spi_unprepare_message(struct spi_master *master, in pic32_spi_unprepare_message() 579 static int pic32_spi_unprepare_hardware(struct spi_master *master) in pic32_spi_unprepare_hardware() 619 struct spi_master *master = pic32s->master; in pic32_spi_dma_prep() [all …]
|
D | spi-armada-3700.c | 106 struct spi_master *master; 284 struct spi_master *master = a3700_spi->master; in a3700_spi_init() 323 struct spi_master *master = dev_id; in a3700_spi_interrupt() 573 static int a3700_spi_prepare_message(struct spi_master *master, in a3700_spi_prepare_message() 596 static int a3700_spi_transfer_one_fifo(struct spi_master *master, in a3700_spi_transfer_one_fifo() 745 static int a3700_spi_transfer_one_full_duplex(struct spi_master *master, in a3700_spi_transfer_one_full_duplex() 790 static int a3700_spi_transfer_one(struct spi_master *master, in a3700_spi_transfer_one() 802 static int a3700_spi_unprepare_message(struct spi_master *master, in a3700_spi_unprepare_message() 824 struct spi_master *master; in a3700_spi_probe() 924 struct spi_master *master = platform_get_drvdata(pdev); in a3700_spi_remove()
|
D | spi-zynqmp-gqspi.c | 358 static int zynqmp_prepare_transfer_hardware(struct spi_master *master) in zynqmp_prepare_transfer_hardware() 375 static int zynqmp_unprepare_transfer_hardware(struct spi_master *master) in zynqmp_unprepare_transfer_hardware() 622 struct spi_master *master = dev_id; in zynqmp_qspi_irq() 804 static int zynqmp_qspi_start_transfer(struct spi_master *master, in zynqmp_qspi_start_transfer() 909 struct spi_master *master = dev_get_drvdata(dev); in zynqmp_qspi_suspend() 929 struct spi_master *master = dev_get_drvdata(dev); in zynqmp_qspi_resume() 964 struct spi_master *master = platform_get_drvdata(pdev); in zynqmp_runtime_suspend() 984 struct spi_master *master = platform_get_drvdata(pdev); in zynqmp_runtime_resume() 1021 struct spi_master *master; in zynqmp_qspi_probe() 1137 struct spi_master *master = platform_get_drvdata(pdev); in zynqmp_qspi_remove()
|
D | spi-coldfire-qspi.c | 307 static int mcfqspi_transfer_one(struct spi_master *master, in mcfqspi_transfer_one() 349 struct spi_master *master; in mcfqspi_probe() 450 struct spi_master *master = platform_get_drvdata(pdev); in mcfqspi_remove() 466 struct spi_master *master = dev_get_drvdata(dev); in mcfqspi_suspend() 481 struct spi_master *master = dev_get_drvdata(dev); in mcfqspi_resume() 493 struct spi_master *master = dev_get_drvdata(dev); in mcfqspi_runtime_suspend() 503 struct spi_master *master = dev_get_drvdata(dev); in mcfqspi_runtime_resume()
|
D | spi-qup.c | 388 static int spi_qup_prep_sg(struct spi_master *master, struct scatterlist *sgl, in spi_qup_prep_sg() 415 static void spi_qup_dma_terminate(struct spi_master *master, in spi_qup_dma_terminate() 448 struct spi_master *master = spi->master; in spi_qup_do_dma() 516 struct spi_master *master = spi->master; in spi_qup_do_pio() 814 static int spi_qup_transfer_one(struct spi_master *master, in spi_qup_transfer_one() 861 static bool spi_qup_can_dma(struct spi_master *master, struct spi_device *spi, in spi_qup_can_dma() 891 static void spi_qup_release_dma(struct spi_master *master) in spi_qup_release_dma() 899 static int spi_qup_init_dma(struct spi_master *master, resource_size_t base) in spi_qup_init_dma() 970 struct spi_master *master; in spi_qup_probe() 1148 struct spi_master *master = dev_get_drvdata(device); in spi_qup_pm_suspend_runtime() [all …]
|
D | spi-tegra20-sflash.c | 116 struct spi_master *master; 317 static int tegra_sflash_transfer_one_message(struct spi_master *master, in tegra_sflash_transfer_one_message() 431 struct spi_master *master; in tegra_sflash_probe() 539 struct spi_master *master = platform_get_drvdata(pdev); in tegra_sflash_remove() 554 struct spi_master *master = dev_get_drvdata(dev); in tegra_sflash_suspend() 561 struct spi_master *master = dev_get_drvdata(dev); in tegra_sflash_resume() 579 struct spi_master *master = dev_get_drvdata(dev); in tegra_sflash_runtime_suspend() 591 struct spi_master *master = dev_get_drvdata(dev); in tegra_sflash_runtime_resume()
|
D | spi-mxs.c | 360 static int mxs_spi_transfer_one(struct spi_master *master, in mxs_spi_transfer_one() 438 struct spi_master *master = dev_get_drvdata(dev); in mxs_spi_runtime_suspend() 459 struct spi_master *master = dev_get_drvdata(dev); in mxs_spi_runtime_resume() 477 struct spi_master *master = dev_get_drvdata(dev); in mxs_spi_suspend() 492 struct spi_master *master = dev_get_drvdata(dev); in mxs_spi_resume() 527 struct spi_master *master; in mxs_spi_probe() 641 struct spi_master *master; in mxs_spi_remove()
|
D | spi-bcm63xx.c | 333 static int bcm63xx_spi_transfer_one(struct spi_master *master, in bcm63xx_spi_transfer_one() 416 struct spi_master *master = (struct spi_master *)dev_id; in bcm63xx_spi_interrupt() 500 struct spi_master *master; in bcm63xx_spi_probe() 616 struct spi_master *master = platform_get_drvdata(pdev); in bcm63xx_spi_remove() 631 struct spi_master *master = dev_get_drvdata(dev); in bcm63xx_spi_suspend() 643 struct spi_master *master = dev_get_drvdata(dev); in bcm63xx_spi_resume()
|
D | spi-omap2-mcspi.c | 129 struct spi_master *master; 151 static inline void mcspi_write_reg(struct spi_master *master, in mcspi_write_reg() 159 static inline u32 mcspi_read_reg(struct spi_master *master, int idx) in mcspi_read_reg() 277 static void omap2_mcspi_set_master_mode(struct spi_master *master) in omap2_mcspi_set_master_mode() 298 struct spi_master *master = spi->master; in omap2_mcspi_set_fifo() 972 struct spi_master *master = spi->master; in omap2_mcspi_request_dma() 1092 static int omap2_mcspi_transfer_one(struct spi_master *master, in omap2_mcspi_transfer_one() 1227 static int omap2_mcspi_prepare_message(struct spi_master *master, in omap2_mcspi_prepare_message() 1254 static bool omap2_mcspi_can_dma(struct spi_master *master, in omap2_mcspi_can_dma() 1263 struct spi_master *master = mcspi->master; in omap2_mcspi_master_setup() [all …]
|
D | spi-fsl-lpspi.c | 140 static int lpspi_prepare_xfer_hardware(struct spi_master *master) in lpspi_prepare_xfer_hardware() 147 static int lpspi_unprepare_xfer_hardware(struct spi_master *master) in lpspi_unprepare_xfer_hardware() 321 static int fsl_lpspi_transfer_one(struct spi_master *master, in fsl_lpspi_transfer_one() 350 static int fsl_lpspi_transfer_one_msg(struct spi_master *master, in fsl_lpspi_transfer_one_msg() 413 struct spi_master *master; in fsl_lpspi_probe() 494 struct spi_master *master = platform_get_drvdata(pdev); in fsl_lpspi_remove()
|
D | spi-dln2.c | 84 struct spi_master *master; 593 static int dln2_spi_prepare_message(struct spi_master *master, in dln2_spi_prepare_message() 654 static int dln2_spi_transfer_one(struct spi_master *master, in dln2_spi_transfer_one() 683 struct spi_master *master; in dln2_spi_probe() 786 struct spi_master *master = spi_master_get(platform_get_drvdata(pdev)); in dln2_spi_remove() 801 struct spi_master *master = dev_get_drvdata(dev); in dln2_spi_suspend() 829 struct spi_master *master = dev_get_drvdata(dev); in dln2_spi_resume() 849 struct spi_master *master = dev_get_drvdata(dev); in dln2_spi_runtime_suspend() 857 struct spi_master *master = dev_get_drvdata(dev); in dln2_spi_runtime_resume()
|
/Linux-v4.19/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()
|
/Linux-v4.19/drivers/staging/mt7621-spi/ |
D | spi-mt7621.c | 64 struct spi_master *master; 264 static int mt7621_spi_transfer_half_duplex(struct spi_master *master, in mt7621_spi_transfer_half_duplex() 303 static int mt7621_spi_transfer_full_duplex(struct spi_master *master, in mt7621_spi_transfer_full_duplex() 388 static int mt7621_spi_transfer_one_message(struct spi_master *master, in mt7621_spi_transfer_one_message() 425 struct spi_master *master; in mt7621_spi_probe() 488 struct spi_master *master; in mt7621_spi_remove()
|