Home
last modified time | relevance | path

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

12

/linux-6.6.21/drivers/spi/
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()
360 struct spi_master *master = platform_get_drvdata(pdev); in meson_spifc_remove()
371 struct spi_master *master = dev_get_drvdata(dev); in meson_spifc_suspend()
387 struct spi_master *master = dev_get_drvdata(dev); in meson_spifc_resume()
410 struct spi_master *master = dev_get_drvdata(dev); in meson_spifc_runtime_suspend()
420 struct spi_master *master = dev_get_drvdata(dev); in meson_spifc_runtime_resume()
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()
565 static int uniphier_spi_unprepare_transfer_hardware(struct spi_master *master) in uniphier_spi_unprepare_transfer_hardware()
[all …]
Dspi-st-ssc4.c118 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()
384 struct spi_master *master = dev_get_drvdata(dev); in spi_st_runtime_suspend()
397 struct spi_master *master = dev_get_drvdata(dev); in spi_st_runtime_resume()
411 struct spi_master *master = dev_get_drvdata(dev); in spi_st_suspend()
423 struct spi_master *master = dev_get_drvdata(dev); in spi_st_resume()
Dspi-geni-qcom.c148 static void handle_se_timeout(struct spi_master *spi, in handle_se_timeout()
228 static void handle_gpi_timeout(struct spi_master *spi, struct spi_message *msg) in handle_gpi_timeout()
236 static void spi_geni_handle_err(struct spi_master *spi, struct spi_message *msg) in spi_geni_handle_err()
290 struct spi_master *spi = dev_get_drvdata(mas->dev); in spi_geni_set_cs()
398 struct spi_master *spi) in setup_fifo_params()
437 struct spi_master *spi = cb; in spi_gsi_callback_result()
457 struct spi_device *spi_slv, struct spi_master *spi) in setup_gsi_xfer()
582 static int spi_geni_prepare_message(struct spi_master *spi, in spi_geni_prepare_message()
650 struct spi_master *spi = dev_get_drvdata(mas->dev); in spi_geni_init()
827 u16 mode, struct spi_master *spi) in setup_se_xfer()
[all …]
Dspi-mt65xx.c350 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 …]
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()
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()
529 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()
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()
Dspi-mxs.c360 static int mxs_spi_transfer_one(struct spi_master *master, in mxs_spi_transfer_one()
442 struct spi_master *master = dev_get_drvdata(dev); in mxs_spi_runtime_suspend()
463 struct spi_master *master = dev_get_drvdata(dev); in mxs_spi_runtime_resume()
481 struct spi_master *master = dev_get_drvdata(dev); in mxs_spi_suspend()
496 struct spi_master *master = dev_get_drvdata(dev); in mxs_spi_resume()
531 struct spi_master *master; in mxs_spi_probe()
643 struct spi_master *master; in mxs_spi_remove()
Dspi-sun6i.c100 struct spi_master *master;
215 struct spi_master *master = sspi->master; in sun6i_spi_prepare_dma()
275 static int sun6i_spi_transfer_one(struct spi_master *master, in sun6i_spi_transfer_one()
567 struct spi_master *master = dev_get_drvdata(dev); in sun6i_spi_runtime_resume()
604 struct spi_master *master = dev_get_drvdata(dev); in sun6i_spi_runtime_suspend()
614 static bool sun6i_spi_can_dma(struct spi_master *master, in sun6i_spi_can_dma()
630 struct spi_master *master; in sun6i_spi_probe()
769 struct spi_master *master = platform_get_drvdata(pdev); in sun6i_spi_remove()
Dspi-microchip-core.c274 static void mchp_corespi_init(struct spi_master *master, struct mchp_corespi *spi) in mchp_corespi_init()
374 struct spi_master *master = dev_id; in mchp_corespi_interrupt()
458 static int mchp_corespi_transfer_one(struct spi_master *master, in mchp_corespi_transfer_one()
487 static int mchp_corespi_prepare_message(struct spi_master *master, in mchp_corespi_prepare_message()
501 struct spi_master *master; in mchp_corespi_probe()
569 struct spi_master *master = platform_get_drvdata(pdev); in mchp_corespi_remove()
Dspi-sun4i.c78 struct spi_master *master;
204 static int sun4i_spi_transfer_one(struct spi_master *master, in sun4i_spi_transfer_one()
389 struct spi_master *master = dev_get_drvdata(dev); in sun4i_spi_runtime_resume()
418 struct spi_master *master = dev_get_drvdata(dev); in sun4i_spi_runtime_suspend()
429 struct spi_master *master; in sun4i_spi_probe()
Dspi-mpc512x-psc.c283 static int mpc512x_psc_spi_msg_xfer(struct spi_master *master, in mpc512x_psc_spi_msg_xfer()
327 static int mpc512x_psc_spi_prep_xfer_hw(struct spi_master *master) in mpc512x_psc_spi_prep_xfer_hw()
343 static int mpc512x_psc_spi_unprep_xfer_hw(struct spi_master *master) in mpc512x_psc_spi_unprep_xfer_hw()
383 static int mpc512x_psc_spi_port_config(struct spi_master *master, in mpc512x_psc_spi_port_config()
462 struct spi_master *master; in mpc512x_psc_spi_of_probe()
Dspi-synquacer.c228 static int synquacer_spi_config(struct spi_master *master, in synquacer_spi_config()
353 static int synquacer_spi_transfer_one(struct spi_master *master, in synquacer_spi_transfer_one()
520 static int synquacer_spi_enable(struct spi_master *master) in synquacer_spi_enable()
604 struct spi_master *master; in synquacer_spi_probe()
740 struct spi_master *master = platform_get_drvdata(pdev); in synquacer_spi_remove()
750 struct spi_master *master = dev_get_drvdata(dev); in synquacer_spi_suspend()
766 struct spi_master *master = dev_get_drvdata(dev); in synquacer_spi_resume()
Dspi-xtensa-xtfpga.c84 struct spi_master *master; in xtfpga_spi_probe()
122 struct spi_master *master = platform_get_drvdata(pdev); in xtfpga_spi_remove()
Dspi-tegra20-slink.c155 struct spi_master *master;
771 static int tegra_slink_prepare_message(struct spi_master *master, in tegra_slink_prepare_message()
797 static int tegra_slink_transfer_one(struct spi_master *master, in tegra_slink_transfer_one()
828 static int tegra_slink_unprepare_message(struct spi_master *master, in tegra_slink_unprepare_message()
1002 struct spi_master *master; in tegra_slink_probe()
1134 struct spi_master *master = spi_master_get(platform_get_drvdata(pdev)); in tegra_slink_remove()
1155 struct spi_master *master = dev_get_drvdata(dev); in tegra_slink_suspend()
1162 struct spi_master *master = dev_get_drvdata(dev); in tegra_slink_resume()
1181 struct spi_master *master = dev_get_drvdata(dev); in tegra_slink_runtime_suspend()
1193 struct spi_master *master = dev_get_drvdata(dev); in tegra_slink_runtime_resume()
Dspi-lp8841-rtc.c98 spi_lp8841_rtc_transfer_one(struct spi_master *master, in spi_lp8841_rtc_transfer_one()
185 struct spi_master *master; in spi_lp8841_rtc_probe()
Dspi-xcomm.c135 static int spi_xcomm_transfer_one(struct spi_master *master, in spi_xcomm_transfer_one()
208 struct spi_master *master; in spi_xcomm_probe()
Dspi-topcliff-pch.c164 struct spi_master *master;
223 static inline void pch_spi_writereg(struct spi_master *master, int idx, u32 val) in pch_spi_writereg()
234 static inline u32 pch_spi_readreg(struct spi_master *master, int idx) in pch_spi_readreg()
240 static inline void pch_spi_setclr_reg(struct spi_master *master, int idx, in pch_spi_setclr_reg()
248 static void pch_spi_set_master_mode(struct spi_master *master) in pch_spi_set_master_mode()
257 static void pch_spi_clear_fifo(struct spi_master *master) in pch_spi_clear_fifo()
389 static void pch_spi_set_baud_rate(struct spi_master *master, u32 speed_hz) in pch_spi_set_baud_rate()
405 static void pch_spi_set_bits_per_word(struct spi_master *master, in pch_spi_set_bits_per_word()
447 static void pch_spi_reset(struct spi_master *master) in pch_spi_reset()
1300 struct spi_master *master; in pch_spi_pd_probe()
Dspi-meson-spicc.c154 struct spi_master *master;
402 static int meson_spicc_transfer_one(struct spi_master *master, in meson_spicc_transfer_one()
457 static int meson_spicc_prepare_message(struct spi_master *master, in meson_spicc_prepare_message()
522 static int meson_spicc_unprepare_transfer(struct spi_master *master) in meson_spicc_unprepare_transfer()
772 struct spi_master *master; in meson_spicc_probe()
/linux-6.6.21/drivers/staging/greybus/
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()
/linux-6.6.21/Documentation/ABI/testing/
Dsysfs-class-spi-eeprom1 What: /sys/class/spi_master/spi<bus>/spi<bus>.<dev>/fram
10 What: /sys/class/spi_master/spi<bus>/spi<bus>.<dev>/sernum
/linux-6.6.21/drivers/media/pci/netup_unidvb/
Dnetup_unidvb_spi.c38 struct spi_master *master;
96 static int netup_spi_transfer(struct spi_master *master, in netup_spi_transfer()
175 struct spi_master *master; in netup_spi_init()
/linux-6.6.21/include/linux/spi/
Dspi_bitbang.h13 struct spi_master *master;
/linux-6.6.21/drivers/media/v4l2-core/
Dv4l2-spi.c37 struct spi_master *master, in v4l2_spi_new_subdev()

12