Home
last modified time | relevance | path

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

/linux-4.4.14/include/linux/spi/
Dspi.h26 struct spi_master;
79 struct spi_master *master);
135 struct spi_master *master;
384 struct spi_master { struct
475 bool (*can_dma)(struct spi_master *master, argument
502 int (*prepare_transfer_hardware)(struct spi_master *master); argument
503 int (*transfer_one_message)(struct spi_master *master, argument
505 int (*unprepare_transfer_hardware)(struct spi_master *master); argument
506 int (*prepare_message)(struct spi_master *master, argument
508 int (*unprepare_message)(struct spi_master *master, argument
[all …]
Dspi_bitbang.h12 struct spi_master *master;
/linux-4.4.14/drivers/spi/
Dspi.c75 struct spi_master *master = container_of(dev, \
76 struct spi_master, dev); \
242 struct spi_master *master) in spi_statistics_add_transfer_stats()
438 struct spi_device *spi_alloc_device(struct spi_master *master) in spi_alloc_device()
500 struct spi_master *master = spi->master; in spi_add_device()
570 struct spi_device *spi_new_device(struct spi_master *master, in spi_new_device()
608 static void spi_match_master_to_boardinfo(struct spi_master *master, in spi_match_master_to_boardinfo()
656 struct spi_master *master; in spi_register_board_info()
683 static int spi_map_buf(struct spi_master *master, struct device *dev, in spi_map_buf()
743 static void spi_unmap_buf(struct spi_master *master, struct device *dev, in spi_unmap_buf()
[all …]
Dspi-bcm2835.c129 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 …]
Dspi-omap-100k.c90 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()
Dspi-mt65xx.c136 static int mtk_spi_prepare_message(struct spi_master *master, in mtk_spi_prepare_message()
216 static void mtk_spi_prepare_transfer(struct spi_master *master, in mtk_spi_prepare_transfer()
243 static void mtk_spi_setup_packet(struct spi_master *master) in mtk_spi_setup_packet()
258 static void mtk_spi_enable_transfer(struct spi_master *master) in mtk_spi_enable_transfer()
283 static void mtk_spi_update_mdata_len(struct spi_master *master) in mtk_spi_update_mdata_len()
311 static void mtk_spi_setup_dma_addr(struct spi_master *master, in mtk_spi_setup_dma_addr()
322 static int mtk_spi_fifo_transfer(struct spi_master *master, in mtk_spi_fifo_transfer()
345 static int mtk_spi_dma_transfer(struct spi_master *master, in mtk_spi_dma_transfer()
389 static int mtk_spi_transfer_one(struct spi_master *master, in mtk_spi_transfer_one()
399 static bool mtk_spi_can_dma(struct spi_master *master, in mtk_spi_can_dma()
[all …]
Dspi-bcm2835aux.c186 struct spi_master *master = dev_id; in bcm2835aux_spi_interrupt()
225 static int __bcm2835aux_spi_transfer_one_irq(struct spi_master *master, in __bcm2835aux_spi_transfer_one_irq()
240 static int bcm2835aux_spi_transfer_one_irq(struct spi_master *master, in bcm2835aux_spi_transfer_one_irq()
262 static int bcm2835aux_spi_transfer_one_poll(struct spi_master *master, in bcm2835aux_spi_transfer_one_poll()
317 static int bcm2835aux_spi_transfer_one(struct spi_master *master, in bcm2835aux_spi_transfer_one()
385 static void bcm2835aux_spi_handle_err(struct spi_master *master, in bcm2835aux_spi_handle_err()
395 struct spi_master *master; in bcm2835aux_spi_probe()
483 struct spi_master *master = platform_get_drvdata(pdev); in bcm2835aux_spi_remove()
Dspi-meson-spifc.c82 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()
Dspi-img-spfi.c93 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()
435 static int img_spfi_unprepare(struct spi_master *master, in img_spfi_unprepare()
493 static void img_spfi_config(struct spi_master *master, struct spi_device *spi, in img_spfi_config()
532 static int img_spfi_transfer_one(struct spi_master *master, in img_spfi_transfer_one()
555 static bool img_spfi_can_dma(struct spi_master *master, struct spi_device *spi, in img_spfi_can_dma()
580 struct spi_master *master; in img_spfi_probe()
[all …]
Dspi-cadence.c342 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()
438 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()
478 struct spi_master *master; in cdns_spi_probe()
595 struct spi_master *master = platform_get_drvdata(pdev); in cdns_spi_remove()
622 struct spi_master *master = platform_get_drvdata(pdev); in cdns_spi_suspend()
646 struct spi_master *master = platform_get_drvdata(pdev); in cdns_spi_resume()
Dspi-rockchip.c165 struct spi_master *master;
268 struct spi_master *master = spi->master; in rockchip_spi_set_cs()
300 static int rockchip_spi_prepare_message(struct spi_master *master, in rockchip_spi_prepare_message()
311 static void rockchip_spi_handle_err(struct spi_master *master, in rockchip_spi_handle_err()
338 static int rockchip_spi_unprepare_message(struct spi_master *master, in rockchip_spi_unprepare_message()
568 struct spi_master *master, in rockchip_spi_transfer_one()
629 static bool rockchip_spi_can_dma(struct spi_master *master, in rockchip_spi_can_dma()
642 struct spi_master *master; in rockchip_spi_probe()
773 struct spi_master *master = spi_master_get(platform_get_drvdata(pdev)); in rockchip_spi_remove()
793 struct spi_master *master = dev_get_drvdata(dev); in rockchip_spi_suspend()
[all …]
Dspi-st-ssc4.c147 static int spi_st_transfer_one(struct spi_master *master, in spi_st_transfer_one()
325 struct spi_master *master; in spi_st_probe()
417 struct spi_master *master = platform_get_drvdata(pdev); in spi_st_remove()
430 struct spi_master *master = dev_get_drvdata(dev); in spi_st_runtime_suspend()
443 struct spi_master *master = dev_get_drvdata(dev); in spi_st_runtime_resume()
457 struct spi_master *master = dev_get_drvdata(dev); in spi_st_suspend()
469 struct spi_master *master = dev_get_drvdata(dev); in spi_st_resume()
Dspi-qup.c284 static int spi_qup_prep_sg(struct spi_master *master, struct spi_transfer *xfer, in spi_qup_prep_sg()
318 static void spi_qup_dma_terminate(struct spi_master *master, in spi_qup_dma_terminate()
327 static int spi_qup_do_dma(struct spi_master *master, struct spi_transfer *xfer) in spi_qup_do_dma()
356 static int spi_qup_do_pio(struct spi_master *master, struct spi_transfer *xfer) in spi_qup_do_pio()
447 spi_qup_get_mode(struct spi_master *master, struct spi_transfer *xfer) in spi_qup_get_mode()
611 static int spi_qup_transfer_one(struct spi_master *master, in spi_qup_transfer_one()
666 static bool spi_qup_can_dma(struct spi_master *master, struct spi_device *spi, in spi_qup_can_dma()
694 static void spi_qup_release_dma(struct spi_master *master) in spi_qup_release_dma()
702 static int spi_qup_init_dma(struct spi_master *master, resource_size_t base) in spi_qup_init_dma()
755 struct spi_master *master; in spi_qup_probe()
[all …]
Dspi-clps711x.c49 static int spi_clps711x_prepare_message(struct spi_master *master, in spi_clps711x_prepare_message()
61 static int spi_clps711x_transfer_one(struct spi_master *master, in spi_clps711x_transfer_one()
84 struct spi_master *master = dev_id; in spi_clps711x_isr()
108 struct spi_master *master; in spi_clps711x_probe()
Dspi-bcm63xx.c333 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()
487 struct spi_master *master; in bcm63xx_spi_probe()
579 struct spi_master *master = platform_get_drvdata(pdev); in bcm63xx_spi_remove()
594 struct spi_master *master = dev_get_drvdata(dev); in bcm63xx_spi_suspend()
606 struct spi_master *master = dev_get_drvdata(dev); in bcm63xx_spi_resume()
Dspi-coldfire-qspi.c307 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()
Dspi-tegra20-sflash.c116 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()
Dspi-omap2-mcspi.c132 struct spi_master *master;
154 static inline void mcspi_write_reg(struct spi_master *master, in mcspi_write_reg()
162 static inline u32 mcspi_read_reg(struct spi_master *master, int idx) in mcspi_read_reg()
279 static void omap2_mcspi_set_master_mode(struct spi_master *master) in omap2_mcspi_set_master_mode()
300 struct spi_master *master = spi->master; in omap2_mcspi_set_fifo()
358 struct spi_master *spi_cntrl = mcspi->master; in omap2_mcspi_restore_ctx()
868 struct spi_master *spi_cntrl; in omap2_mcspi_setup_transfer()
963 struct spi_master *master = spi->master; in omap2_mcspi_request_dma()
1100 struct spi_master *master; in omap2_mcspi_work_one()
1221 static int omap2_mcspi_prepare_message(struct spi_master *master, in omap2_mcspi_prepare_message()
[all …]
Dspi-sun4i.c77 struct spi_master *master;
167 static int sun4i_spi_transfer_one(struct spi_master *master, in sun4i_spi_transfer_one()
314 struct spi_master *master = dev_get_drvdata(dev); in sun4i_spi_runtime_resume()
343 struct spi_master *master = dev_get_drvdata(dev); in sun4i_spi_runtime_suspend()
354 struct spi_master *master; in sun4i_spi_probe()
Dspi-rspi.c191 struct spi_master *master;
248 int (*transfer_one)(struct spi_master *master, struct spi_device *spi,
658 static bool rspi_can_dma(struct spi_master *master, struct spi_device *spi, in rspi_can_dma()
696 static int rspi_transfer_one(struct spi_master *master, struct spi_device *spi, in rspi_transfer_one()
714 static int rspi_rz_transfer_one(struct spi_master *master, in rspi_rz_transfer_one()
807 static int qspi_transfer_one(struct spi_master *master, struct spi_device *spi, in qspi_transfer_one()
913 static int rspi_prepare_message(struct spi_master *master, in rspi_prepare_message()
932 static int rspi_unprepare_message(struct spi_master *master, in rspi_unprepare_message()
1039 static int rspi_request_dma(struct device *dev, struct spi_master *master, in rspi_request_dma()
1075 static void rspi_release_dma(struct spi_master *master) in rspi_release_dma()
[all …]
Dspi-dln2.c84 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()
784 struct spi_master *master = spi_master_get(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()
Dspi-bitbang.c256 static int spi_bitbang_prepare_hardware(struct spi_master *spi) in spi_bitbang_prepare_hardware()
269 static int spi_bitbang_transfer_one(struct spi_master *master, in spi_bitbang_transfer_one()
296 static int spi_bitbang_unprepare_hardware(struct spi_master *spi) in spi_bitbang_unprepare_hardware()
357 struct spi_master *master = bitbang->master; in spi_bitbang_start()
Dspi-atmel.c590 struct spi_master *master = data; in dma_callback()
599 static void atmel_spi_next_xfer_single(struct spi_master *master, in atmel_spi_next_xfer_single()
635 static void atmel_spi_next_xfer_fifo(struct spi_master *master, in atmel_spi_next_xfer_fifo()
714 static void atmel_spi_next_xfer_pio(struct spi_master *master, in atmel_spi_next_xfer_pio()
728 static int atmel_spi_next_xfer_dma_submit(struct spi_master *master, in atmel_spi_next_xfer_dma_submit()
827 static void atmel_spi_next_xfer_data(struct spi_master *master, in atmel_spi_next_xfer_data()
904 static void atmel_spi_pdc_next_xfer(struct spi_master *master, in atmel_spi_pdc_next_xfer()
1005 static void atmel_spi_dma_unmap_xfer(struct spi_master *master, in atmel_spi_dma_unmap_xfer()
1108 struct spi_master *master = dev_id; in atmel_spi_pio_interrupt()
1166 struct spi_master *master = dev_id; in atmel_spi_pdc_interrupt()
[all …]
Dspi-sun6i.c82 struct spi_master *master;
157 static int sun6i_spi_transfer_one(struct spi_master *master, in sun6i_spi_transfer_one()
304 struct spi_master *master = dev_get_drvdata(dev); in sun6i_spi_runtime_resume()
341 struct spi_master *master = dev_get_drvdata(dev); in sun6i_spi_runtime_suspend()
353 struct spi_master *master; in sun6i_spi_probe()
Dspi-s3c64xx.c186 struct spi_master *master;
314 static int s3c64xx_spi_prepare_transfer(struct spi_master *spi) in s3c64xx_spi_prepare_transfer()
354 static int s3c64xx_spi_unprepare_transfer(struct spi_master *spi) in s3c64xx_spi_unprepare_transfer()
367 static bool s3c64xx_spi_can_dma(struct spi_master *master, in s3c64xx_spi_can_dma()
648 static int s3c64xx_spi_prepare_message(struct spi_master *master, in s3c64xx_spi_prepare_message()
671 static int s3c64xx_spi_transfer_one(struct spi_master *master, in s3c64xx_spi_transfer_one()
911 struct spi_master *spi = sdd->master; in s3c64xx_spi_irq()
1034 struct spi_master *master; in s3c64xx_spi_probe()
1225 struct spi_master *master = spi_master_get(platform_get_drvdata(pdev)); in s3c64xx_spi_remove()
1246 struct spi_master *master = dev_get_drvdata(dev); in s3c64xx_spi_suspend()
[all …]
Dspi-mpc512x-psc.c293 static int mpc512x_psc_spi_msg_xfer(struct spi_master *master, in mpc512x_psc_spi_msg_xfer()
338 static int mpc512x_psc_spi_prep_xfer_hw(struct spi_master *master) in mpc512x_psc_spi_prep_xfer_hw()
354 static int mpc512x_psc_spi_unprep_xfer_hw(struct spi_master *master) in mpc512x_psc_spi_unprep_xfer_hw()
409 static int mpc512x_psc_spi_port_config(struct spi_master *master, in mpc512x_psc_spi_port_config()
494 struct spi_master *master; in mpc512x_psc_spi_do_probe()
582 struct spi_master *master = dev_get_drvdata(dev); in mpc512x_psc_spi_do_remove()
Dspi-orion.c82 struct spi_master *master;
403 static int orion_spi_transfer_one(struct spi_master *master, in orion_spi_transfer_one()
502 struct spi_master *master; in orion_spi_probe()
610 struct spi_master *master = platform_get_drvdata(pdev); in orion_spi_remove()
627 struct spi_master *master = dev_get_drvdata(dev); in orion_spi_runtime_suspend()
636 struct spi_master *master = dev_get_drvdata(dev); in orion_spi_runtime_resume()
Dspi-bcm63xx-hsspi.c257 static int bcm63xx_hsspi_transfer_one(struct spi_master *master, in bcm63xx_hsspi_transfer_one()
328 struct spi_master *master; in bcm63xx_hsspi_probe()
423 struct spi_master *master = platform_get_drvdata(pdev); in bcm63xx_hsspi_remove()
436 struct spi_master *master = dev_get_drvdata(dev); in bcm63xx_hsspi_suspend()
447 struct spi_master *master = dev_get_drvdata(dev); in bcm63xx_hsspi_resume()
Dspi-zynqmp-gqspi.c356 static int zynqmp_prepare_transfer_hardware(struct spi_master *master) in zynqmp_prepare_transfer_hardware()
384 static int zynqmp_unprepare_transfer_hardware(struct spi_master *master) in zynqmp_unprepare_transfer_hardware()
633 struct spi_master *master = dev_id; in zynqmp_qspi_irq()
815 static int zynqmp_qspi_start_transfer(struct spi_master *master, in zynqmp_qspi_start_transfer()
923 struct spi_master *master = platform_get_drvdata(pdev); in zynqmp_qspi_suspend()
946 struct spi_master *master = platform_get_drvdata(pdev); in zynqmp_qspi_resume()
982 struct spi_master *master; in zynqmp_qspi_probe()
1090 struct spi_master *master = platform_get_drvdata(pdev); in zynqmp_qspi_remove()
Dspi-sh-hspi.c46 struct spi_master *master;
151 static int hspi_transfer_one_message(struct spi_master *master, in hspi_transfer_one_message()
224 struct spi_master *master; in hspi_probe()
Dspi-bcm53xx.c19 struct spi_master *master;
171 static int bcm53xxspi_transfer_one(struct spi_master *master, in bcm53xxspi_transfer_one()
226 struct spi_master *master; in bcm53xxspi_bcma_probe()
Dspi-fsl-espi.c431 static int fsl_espi_do_one_msg(struct spi_master *master, in fsl_espi_do_one_msg()
619 struct spi_master *master = dev_get_drvdata(dev); in fsl_espi_runtime_suspend()
633 struct spi_master *master = dev_get_drvdata(dev); in fsl_espi_runtime_resume()
646 static struct spi_master * fsl_espi_probe(struct device *dev, in fsl_espi_probe()
650 struct spi_master *master; in fsl_espi_probe()
784 struct spi_master *master; in of_fsl_espi_probe()
829 struct spi_master *master = dev_get_drvdata(dev); in of_fsl_espi_suspend()
848 struct spi_master *master = dev_get_drvdata(dev); in of_fsl_espi_resume()
Dspi-fsl-spi.c356 static int fsl_spi_do_one_msg(struct spi_master *master, in fsl_spi_do_one_msg()
581 struct spi_master *master = dev_get_drvdata(dev); in fsl_spi_grlib_probe()
603 static struct spi_master * fsl_spi_probe(struct device *dev, in fsl_spi_probe()
607 struct spi_master *master; in fsl_spi_probe()
814 struct spi_master *master; in of_fsl_spi_probe()
856 struct spi_master *master = platform_get_drvdata(ofdev); in of_fsl_spi_remove()
886 struct spi_master *master; in plat_mpc8xxx_spi_probe()
905 struct spi_master *master = platform_get_drvdata(pdev); in plat_mpc8xxx_spi_remove()
Dspi-octeon.c150 static int octeon_spi_transfer_one_message(struct spi_master *master, in octeon_spi_transfer_one_message()
178 struct spi_master *master; in octeon_spi_probe()
231 struct spi_master *master = platform_get_drvdata(pdev); in octeon_spi_remove()
Dspi-xtensa-xtfpga.c88 struct spi_master *master; in xtfpga_spi_probe()
139 struct spi_master *master = platform_get_drvdata(pdev); in xtfpga_spi_remove()
Dspi-falcon.c96 struct spi_master *master;
356 static int falcon_sflash_xfer_one(struct spi_master *master, in falcon_sflash_xfer_one()
395 struct spi_master *master; in falcon_sflash_probe()
Dspi-sc18is602.c41 struct spi_master *master;
188 static int sc18is602_transfer_one(struct spi_master *master, in sc18is602_transfer_one()
246 struct spi_master *master; in sc18is602_probe()
Dspi-tegra20-slink.c164 struct spi_master *master;
782 static int tegra_slink_prepare_message(struct spi_master *master, in tegra_slink_prepare_message()
808 static int tegra_slink_transfer_one(struct spi_master *master, in tegra_slink_transfer_one()
839 static int tegra_slink_unprepare_message(struct spi_master *master, in tegra_slink_unprepare_message()
1013 struct spi_master *master; in tegra_slink_probe()
1148 struct spi_master *master = platform_get_drvdata(pdev); in tegra_slink_remove()
1169 struct spi_master *master = dev_get_drvdata(dev); in tegra_slink_suspend()
1176 struct spi_master *master = dev_get_drvdata(dev); in tegra_slink_resume()
1195 struct spi_master *master = dev_get_drvdata(dev); in tegra_slink_runtime_suspend()
1207 struct spi_master *master = dev_get_drvdata(dev); in tegra_slink_runtime_resume()
Dspi-fsl-dspi.c139 struct spi_master *master;
367 static int dspi_transfer_one_message(struct spi_master *master, in dspi_transfer_one_message()
608 struct spi_master *master = dev_get_drvdata(dev); in dspi_suspend()
621 struct spi_master *master = dev_get_drvdata(dev); in dspi_resume()
645 struct spi_master *master; in dspi_probe()
750 struct spi_master *master = platform_get_drvdata(pdev); in dspi_remove()
Dspi-rb4xx.c98 static int rb4xx_transfer_one(struct spi_master *master, in rb4xx_transfer_one()
139 struct spi_master *master; in rb4xx_spi_probe()
Dspi-dw.h95 bool (*can_dma)(struct spi_master *master, struct spi_device *spi,
102 struct spi_master *master;
Dspi-imx.c199 static bool spi_imx_can_dma(struct spi_master *master, struct spi_device *spi, in spi_imx_can_dma()
809 struct spi_master *master = spi_imx->bitbang.master; in spi_imx_sdma_exit()
825 struct spi_master *master, in spi_imx_sdma_init()
909 struct spi_master *master = spi_imx->bitbang.master; in spi_imx_dma_transfer()
1053 spi_imx_prepare_message(struct spi_master *master, struct spi_message *msg) in spi_imx_prepare_message()
1072 spi_imx_unprepare_message(struct spi_master *master, struct spi_message *msg) in spi_imx_unprepare_message()
1088 struct spi_master *master; in spi_imx_probe()
1229 struct spi_master *master = platform_get_drvdata(pdev); in spi_imx_remove()
Dspi-xcomm.c136 static int spi_xcomm_transfer_one(struct spi_master *master, in spi_xcomm_transfer_one()
211 struct spi_master *master; in spi_xcomm_probe()
Dspi-tegra114.c166 struct spi_master *master;
802 static int tegra_spi_transfer_one_message(struct spi_master *master, in tegra_spi_transfer_one_message()
1032 struct spi_master *master; in tegra_spi_probe()
1148 struct spi_master *master = platform_get_drvdata(pdev); in tegra_spi_remove()
1169 struct spi_master *master = dev_get_drvdata(dev); in tegra_spi_suspend()
1176 struct spi_master *master = dev_get_drvdata(dev); in tegra_spi_resume()
1194 struct spi_master *master = dev_get_drvdata(dev); in tegra_spi_runtime_suspend()
1206 struct spi_master *master = dev_get_drvdata(dev); in tegra_spi_runtime_resume()
Dspi-dw.c252 struct spi_master *master = dev_id; in dw_spi_irq()
279 static int dw_spi_transfer_one(struct spi_master *master, in dw_spi_transfer_one()
386 static void dw_spi_handle_err(struct spi_master *master, in dw_spi_handle_err()
474 struct spi_master *master; in dw_spi_add_host()
Dspi-topcliff-pch.c170 struct spi_master *master;
230 static inline void pch_spi_writereg(struct spi_master *master, int idx, u32 val) in pch_spi_writereg()
241 static inline u32 pch_spi_readreg(struct spi_master *master, int idx) in pch_spi_readreg()
247 static inline void pch_spi_setclr_reg(struct spi_master *master, int idx, in pch_spi_setclr_reg()
255 static void pch_spi_set_master_mode(struct spi_master *master) in pch_spi_set_master_mode()
264 static void pch_spi_clear_fifo(struct spi_master *master) in pch_spi_clear_fifo()
396 static void pch_spi_set_baud_rate(struct spi_master *master, u32 speed_hz) in pch_spi_set_baud_rate()
412 static void pch_spi_set_bits_per_word(struct spi_master *master, in pch_spi_set_bits_per_word()
454 static void pch_spi_reset(struct spi_master *master) in pch_spi_reset()
1346 struct spi_master *master; in pch_spi_pd_probe()
Dspi-txx9.c303 struct spi_master *master = spi->master; in txx9spi_transfer()
326 struct spi_master *master; in txx9spi_probe()
412 struct spi_master *master = platform_get_drvdata(dev); in txx9spi_remove()
Dspi-ppc4xx.c136 struct spi_master *master;
384 struct spi_master *master; in spi_ppc4xx_of_probe()
554 struct spi_master *master = platform_get_drvdata(op); in spi_ppc4xx_of_remove()
Dspi-adi-v3.c54 struct spi_master *master;
619 static int adi_spi_transfer_one_message(struct spi_master *master, in adi_spi_transfer_one_message()
799 struct spi_master *master; in adi_spi_probe()
915 struct spi_master *master = platform_get_drvdata(pdev); in adi_spi_remove()
928 struct spi_master *master = dev_get_drvdata(dev); in adi_spi_suspend()
946 struct spi_master *master = dev_get_drvdata(dev); in adi_spi_resume()
Dspi-altera.c203 struct spi_master *master; in altera_spi_probe()
264 struct spi_master *master = hw->bitbang.master; in altera_spi_remove()
Dspi-efm32.c291 struct spi_master *master, struct efm32_spi_ddata *ddata) in efm32_spi_probe_dt()
324 struct spi_master *master; in efm32_spi_probe()
464 struct spi_master *master = platform_get_drvdata(pdev); in efm32_spi_remove()
Dspi-mpc52xx.c62 struct spi_master *master;
382 struct spi_master *master; in mpc52xx_spi_probe()
519 struct spi_master *master = spi_master_get(platform_get_drvdata(op)); in mpc52xx_spi_remove()
Dspi-mxs.c369 static int mxs_spi_transfer_one(struct spi_master *master, in mxs_spi_transfer_one()
457 struct spi_master *master; in mxs_spi_probe()
555 struct spi_master *master; in mxs_spi_remove()
Dspi-ti-qspi.c45 struct spi_master *master;
371 static int ti_qspi_start_transfer_one(struct spi_master *master, in ti_qspi_start_transfer_one()
454 struct spi_master *master; in ti_qspi_probe()
Dspi-sh-msiof.c44 struct spi_master *master;
548 static int sh_msiof_prepare_message(struct spi_master *master, in sh_msiof_prepare_message()
825 static int sh_msiof_transfer_one(struct spi_master *master, in sh_msiof_transfer_one()
1062 struct spi_master *master; in sh_msiof_request_dma()
1134 struct spi_master *master = p->master; in sh_msiof_release_dma()
1154 struct spi_master *master; in sh_msiof_spi_probe()
Dspi-ep93xx.c200 struct spi_master *master = platform_get_drvdata(espi->pdev); in ep93xx_spi_calc_divisors()
731 static int ep93xx_spi_transfer_one_message(struct spi_master *master, in ep93xx_spi_transfer_one_message()
860 struct spi_master *master; in ep93xx_spi_probe()
956 struct spi_master *master = platform_get_drvdata(pdev); in ep93xx_spi_remove()
Dspi-oc-tiny.c245 struct spi_master *master; in tiny_spi_probe()
327 struct spi_master *master = hw->bitbang.master; in tiny_spi_remove()
Dspi-fsl-lib.c88 struct spi_master *master; in mpc8xxx_spi_probe()
Dspi-xlp.c354 static int xlp_spi_transfer_one(struct spi_master *master, in xlp_spi_transfer_one()
378 struct spi_master *master; in xlp_spi_probe()
Dspi-nuc900.c60 struct spi_master *master;
333 struct spi_master *master; in nuc900_spi_probe()
Dspi-pxa2xx.h34 struct spi_master *master;
Dspi-xilinx.c384 struct spi_master *master; in xilinx_spi_probe()
494 struct spi_master *master = platform_get_drvdata(pdev); in xilinx_spi_remove()
Dspi-sh.c83 struct spi_master *master;
437 struct spi_master *master; in spi_sh_probe()
Dspi-lm70llp.c197 struct spi_master *master; in spi_lm70llp_attach()
Dspi-sh-sci.c117 struct spi_master *master; in sh_sci_spi_probe()
Dspi-mpc52xx-psc.c371 struct spi_master *master; in mpc52xx_psc_spi_do_probe()
484 struct spi_master *master = spi_master_get(platform_get_drvdata(op)); in mpc52xx_psc_spi_of_remove()
Dspi-s3c24xx.c78 struct spi_master *master;
493 struct spi_master *master; in s3c24xx_spi_probe()
Dspi-butterfly.c198 struct spi_master *master; in butterfly_attach()
Dspi-davinci.c424 struct spi_master *master = spi->master; in davinci_spi_setup()
934 struct spi_master *master; in davinci_spi_probe()
1126 struct spi_master *master; in davinci_spi_remove()
Dspi-sirf.c1073 struct spi_master *master; in spi_sirfsoc_probe()
1179 struct spi_master *master; in spi_sirfsoc_remove()
1196 struct spi_master *master = dev_get_drvdata(dev); in spi_sirfsoc_suspend()
1210 struct spi_master *master = dev_get_drvdata(dev); in spi_sirfsoc_resume()
Dspi-dw-mid.c115 static bool mid_spi_can_dma(struct spi_master *master, struct spi_device *spi, in mid_spi_can_dma()
Dspi-ath79.c209 struct spi_master *master; in ath79_spi_probe()
Dspi-bfin-sport.c58 struct spi_master *master;
750 struct spi_master *master; in bfin_sport_spi_probe()
Dspi-omap-uwire.c452 struct spi_master *master; in uwire_probe()
Dspi-au1550.c78 struct spi_master *master;
734 struct spi_master *master; in au1550_spi_probe()
Dspi-pxa2xx.c1083 static int pxa2xx_spi_transfer_one_message(struct spi_master *master, in pxa2xx_spi_transfer_one_message()
1104 static int pxa2xx_spi_unprepare_transfer(struct spi_master *master) in pxa2xx_spi_unprepare_transfer()
1445 struct spi_master *master; in pxa2xx_spi_probe()
Dspi-gpio.c407 struct spi_master *master; in spi_gpio_probe()
Dspi-pl022.c385 struct spi_master *master;
1572 static int pl022_transfer_one_message(struct spi_master *master, in pl022_transfer_one_message()
1599 static int pl022_unprepare_transfer_hardware(struct spi_master *master) in pl022_unprepare_transfer_hardware()
2111 struct spi_master *master; in pl022_probe()
Dspi-bfin5xx.c59 struct spi_master *master;
1258 struct spi_master *master; in bfin_spi_probe()
/linux-4.4.14/include/trace/events/
Dspi.h10 DECLARE_EVENT_CLASS(spi_master,
12 TP_PROTO(struct spi_master *master),
28 DEFINE_EVENT(spi_master, spi_master_idle,
30 TP_PROTO(struct spi_master *master),
36 DEFINE_EVENT(spi_master, spi_master_busy,
38 TP_PROTO(struct spi_master *master),
/linux-4.4.14/drivers/media/pci/netup_unidvb/
Dnetup_unidvb_spi.c47 struct spi_master *master;
105 static int netup_spi_transfer(struct spi_master *master, in netup_spi_transfer()
184 struct spi_master *master; in netup_spi_init()
/linux-4.4.14/Documentation/devicetree/bindings/hwmon/
Dlm70.txt15 spi_master {
/linux-4.4.14/Documentation/devicetree/bindings/iio/dac/
Dti,dac7512.txt13 spi_master {
/linux-4.4.14/Documentation/spi/
Dspi-summary179 /sys/class/spi_master/spiB ... symlink (or actual device node) to
355 a bus (appearing under /sys/class/spi_master).
465 The main task of this type of driver is to provide an "spi_master".
469 struct spi_master *master;
478 The driver will initialize the fields of that spi_master, including the
484 After you initialize the spi_master, then use spi_register_master() to
519 ** many spi_master drivers seems to get this wrong.
528 master->prepare_transfer_hardware(struct spi_master *master)
534 master->unprepare_transfer_hardware(struct spi_master *master)
539 master->transfer_one_message(struct spi_master *master,
[all …]
Dspidev62 for its SPI controller (so its spi_master vanishes).
/linux-4.4.14/drivers/video/fbdev/mmp/hw/
Dmmp_spi.c152 struct spi_master *master; in lcd_spi_register()
/linux-4.4.14/include/media/
Dv4l2-common.h143 struct spi_master *master, struct spi_board_info *info);
/linux-4.4.14/drivers/media/v4l2-core/
Dv4l2-common.c263 struct spi_master *master, struct spi_board_info *info) in v4l2_spi_new_subdev()
/linux-4.4.14/drivers/media/usb/msi2500/
Dmsi2500.c126 struct spi_master *master;
1166 static int msi2500_transfer_one_message(struct spi_master *master, in msi2500_transfer_one_message()
1193 struct spi_master *master; in msi2500_probe()
/linux-4.4.14/drivers/staging/fbtft/
Dfbtft_device.c1324 static void fbtft_device_spi_delete(struct spi_master *master, unsigned cs) in fbtft_device_spi_delete()
1341 struct spi_master *master; in fbtft_device_spi_device_register()