Home
last modified time | relevance | path

Searched refs:spi_master (Results 1 – 25 of 99) sorted by relevance

1234

/linux/drivers/spi/
A Dspi-ep93xx.c112 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()
439 struct spi_master *master = dev_id; in ep93xx_spi_interrupt()
649 struct spi_master *master; in ep93xx_spi_probe()
[all …]
A Dspi-omap-100k.c80 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()
425 struct spi_master *master = platform_get_drvdata(pdev); in omap1_spi100k_remove()
439 struct spi_master *master = dev_get_drvdata(dev); in omap1_spi100k_runtime_suspend()
450 struct spi_master *master = dev_get_drvdata(dev); in omap1_spi100k_runtime_resume()
A Dspi-img-spfi.c89 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()
430 static int img_spfi_unprepare(struct spi_master *master, in img_spfi_unprepare()
527 struct spi_master *master; in img_spfi_probe()
671 struct spi_master *master = platform_get_drvdata(pdev); in img_spfi_remove()
691 struct spi_master *master = dev_get_drvdata(dev); in img_spfi_runtime_suspend()
702 struct spi_master *master = dev_get_drvdata(dev); in img_spfi_runtime_resume()
722 struct spi_master *master = dev_get_drvdata(dev); in img_spfi_suspend()
[all …]
A Dspi-cadence.c343 struct spi_master *master = dev_id; in cdns_spi_irq()
391 static int cdns_prepare_message(struct spi_master *master, in cdns_prepare_message()
410 static int cdns_transfer_one(struct spi_master *master, in cdns_transfer_one()
438 static int cdns_prepare_transfer_hardware(struct spi_master *master) in cdns_prepare_transfer_hardware()
456 static int cdns_unprepare_transfer_hardware(struct spi_master *master) in cdns_unprepare_transfer_hardware()
476 struct spi_master *master; in cdns_spi_probe()
604 struct spi_master *master = platform_get_drvdata(pdev); in cdns_spi_remove()
630 struct spi_master *master = dev_get_drvdata(dev); in cdns_spi_suspend()
645 struct spi_master *master = dev_get_drvdata(dev); in cdns_spi_resume()
662 struct spi_master *master = dev_get_drvdata(dev); in cnds_runtime_resume()
[all …]
A Dspi-bcm2835aux.c237 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()
A Dspi-meson-spifc.c76 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()
A Dspi-mt65xx.c412 static void mtk_spi_setup_packet(struct spi_master *master) in mtk_spi_setup_packet()
536 static int mtk_spi_dma_transfer(struct spi_master *master, in mtk_spi_dma_transfer()
581 static int mtk_spi_transfer_one(struct spi_master *master, in mtk_spi_transfer_one()
591 static bool mtk_spi_can_dma(struct spi_master *master, in mtk_spi_can_dma()
617 struct spi_master *master = dev_id; in mtk_spi_interrupt()
712 struct spi_master *master; in mtk_spi_probe()
904 struct spi_master *master = platform_get_drvdata(pdev); in mtk_spi_remove()
921 struct spi_master *master = dev_get_drvdata(dev); in mtk_spi_suspend()
937 struct spi_master *master = dev_get_drvdata(dev); in mtk_spi_resume()
959 struct spi_master *master = dev_get_drvdata(dev); in mtk_spi_runtime_suspend()
[all …]
A Dspi-atmel.c422 static bool atmel_spi_can_dma(struct spi_master *master, in atmel_spi_can_dma()
541 static void atmel_spi_stop_dma(struct spi_master *master) in atmel_spi_stop_dma()
564 struct spi_master *master = data; in dma_callback()
1048 struct spi_master *master = dev_id; in atmel_spi_pio_interrupt()
1106 struct spi_master *master = dev_id; in atmel_spi_pdc_interrupt()
1449 struct spi_master *master; in atmel_spi_probe()
1607 struct spi_master *master = platform_get_drvdata(pdev); in atmel_spi_remove()
1643 struct spi_master *master = dev_get_drvdata(dev); in atmel_spi_runtime_suspend()
1654 struct spi_master *master = dev_get_drvdata(dev); in atmel_spi_runtime_resume()
1665 struct spi_master *master = dev_get_drvdata(dev); in atmel_spi_suspend()
[all …]
A Dspi-geni-qcom.c136 static void handle_fifo_timeout(struct spi_master *spi, in handle_fifo_timeout()
208 struct spi_master *spi = dev_get_drvdata(mas->dev); in spi_geni_set_cs()
312 struct spi_master *spi) in setup_fifo_params()
351 struct spi_master *spi = cb; in spi_gsi_callback_result()
697 u16 mode, struct spi_master *spi) in setup_fifo_xfer()
786 struct spi_master *spi = data; in geni_spi_isr()
866 struct spi_master *spi; in spi_geni_probe()
994 struct spi_master *spi = dev_get_drvdata(dev); in spi_geni_runtime_suspend()
1010 struct spi_master *spi = dev_get_drvdata(dev); in spi_geni_runtime_resume()
1027 struct spi_master *spi = dev_get_drvdata(dev); in spi_geni_suspend()
[all …]
A Dspi-uniphier.c29 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()
574 static void uniphier_spi_handle_err(struct spi_master *master, in uniphier_spi_handle_err()
[all …]
A Dspi-st-ssc4.c119 static int spi_st_transfer_one(struct spi_master *master, in spi_st_transfer_one()
300 struct spi_master *master; in spi_st_probe()
394 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()
A Dspi-clps711x.c35 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()
A Dspi-qcom-qspi.c216 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()
A Dspi-pic32.c103 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()
435 static int pic32_spi_prepare_hardware(struct spi_master *master) in pic32_spi_prepare_hardware()
444 static int pic32_spi_prepare_message(struct spi_master *master, in pic32_spi_prepare_message()
486 static bool pic32_spi_can_dma(struct spi_master *master, in pic32_spi_can_dma()
497 static int pic32_spi_one_transfer(struct spi_master *master, in pic32_spi_one_transfer()
565 static int pic32_spi_unprepare_message(struct spi_master *master, in pic32_spi_unprepare_message()
572 static int pic32_spi_unprepare_hardware(struct spi_master *master) in pic32_spi_unprepare_hardware()
612 struct spi_master *master = pic32s->master; in pic32_spi_dma_prep()
[all …]
A Dspi-armada-3700.c103 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()
A Dspi-npcm-pspi.c23 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()
A Dspi-tegra20-sflash.c105 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()
526 struct spi_master *master = platform_get_drvdata(pdev); in tegra_sflash_remove()
541 struct spi_master *master = dev_get_drvdata(dev); in tegra_sflash_suspend()
548 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()
A Dspi-omap2-mcspi.c120 struct spi_master *master;
144 static inline void mcspi_write_reg(struct spi_master *master, in mcspi_write_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()
1282 static bool omap2_mcspi_can_dma(struct spi_master *master, in omap2_mcspi_can_dma()
1316 struct spi_master *master = mcspi->master; in omap2_mcspi_controller_setup()
1355 struct spi_master *master = dev_get_drvdata(dev); in omap_mcspi_runtime_resume()
1422 struct spi_master *master; in omap2_mcspi_probe()
1552 struct spi_master *master = platform_get_drvdata(pdev); in omap2_mcspi_remove()
1569 struct spi_master *master = dev_get_drvdata(dev); in omap2_mcspi_suspend()
[all …]
A Dspi-coldfire-qspi.c298 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()
A Dspi-bitbang.c271 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()
A Dspi-sun6i.c89 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()
A Dspi-qup.c416 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()
918 static void spi_qup_release_dma(struct spi_master *master) in spi_qup_release_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()
1192 struct spi_master *master = dev_get_drvdata(device); in spi_qup_pm_resume_runtime()
1216 struct spi_master *master = dev_get_drvdata(device); in spi_qup_suspend()
1240 struct spi_master *master = dev_get_drvdata(device); in spi_qup_resume()
[all …]
A Dspi-bcm63xx.c325 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()
A Dspi-dln2.c81 struct spi_master *master;
591 static int dln2_spi_prepare_message(struct spi_master *master, in dln2_spi_prepare_message()
652 static int dln2_spi_transfer_one(struct spi_master *master, in dln2_spi_transfer_one()
681 struct spi_master *master; in dln2_spi_probe()
784 struct spi_master *master = platform_get_drvdata(pdev); in dln2_spi_remove()
799 struct spi_master *master = dev_get_drvdata(dev); in dln2_spi_suspend()
827 struct spi_master *master = dev_get_drvdata(dev); in dln2_spi_resume()
847 struct spi_master *master = dev_get_drvdata(dev); in dln2_spi_runtime_suspend()
855 struct spi_master *master = dev_get_drvdata(dev); in dln2_spi_runtime_resume()
/linux/drivers/staging/greybus/
A Dspilib.c45 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()

Completed in 50 milliseconds

1234