Home
last modified time | relevance | path

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

/linux-4.1.27/include/linux/spi/
Dspi.h74 struct spi_master *master;
315 struct spi_master { struct
406 bool (*can_dma)(struct spi_master *master, argument
433 int (*prepare_transfer_hardware)(struct spi_master *master); argument
434 int (*transfer_one_message)(struct spi_master *master, argument
436 int (*unprepare_transfer_hardware)(struct spi_master *master); argument
437 int (*prepare_message)(struct spi_master *master, argument
439 int (*unprepare_message)(struct spi_master *master, argument
447 int (*transfer_one)(struct spi_master *master, struct spi_device *spi, argument
449 void (*handle_err)(struct spi_master *master, argument
[all …]
Dspi_bitbang.h12 struct spi_master *master;
/linux-4.1.27/drivers/spi/
Dspi.c234 struct spi_device *spi_alloc_device(struct spi_master *master) in spi_alloc_device()
293 struct spi_master *master = spi->master; in spi_add_device()
363 struct spi_device *spi_new_device(struct spi_master *master, in spi_new_device()
401 static void spi_match_master_to_boardinfo(struct spi_master *master, in spi_match_master_to_boardinfo()
447 struct spi_master *master; in spi_register_board_info()
474 static int spi_map_buf(struct spi_master *master, struct device *dev, in spi_map_buf()
524 static void spi_unmap_buf(struct spi_master *master, struct device *dev, in spi_unmap_buf()
533 static int __spi_map_msg(struct spi_master *master, struct spi_message *msg) in __spi_map_msg()
574 static int spi_unmap_msg(struct spi_master *master, struct spi_message *msg) in spi_unmap_msg()
605 static inline int __spi_map_msg(struct spi_master *master, in __spi_map_msg()
[all …]
Dspi-bcm2835.c123 static void bcm2835_spi_reset_hw(struct spi_master *master) in bcm2835_spi_reset_hw()
141 struct spi_master *master = dev_id; in bcm2835_spi_interrupt()
160 static int bcm2835_spi_transfer_one_poll(struct spi_master *master, in bcm2835_spi_transfer_one_poll()
196 static int bcm2835_spi_transfer_one_irq(struct spi_master *master, in bcm2835_spi_transfer_one_irq()
232 static int bcm2835_spi_transfer_one(struct spi_master *master, in bcm2835_spi_transfer_one()
292 static int bcm2835_spi_prepare_message(struct spi_master *master, in bcm2835_spi_prepare_message()
311 static void bcm2835_spi_handle_err(struct spi_master *master, in bcm2835_spi_handle_err()
329 struct spi_master *master = spi->master; in bcm2835_spi_set_cs()
429 struct spi_master *master; in bcm2835_spi_probe()
505 struct spi_master *master = platform_get_drvdata(pdev); in bcm2835_spi_remove()
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()
368 struct spi_master *master; in omap1_spi100k_probe()
448 struct spi_master *master = spi_master_get(platform_get_drvdata(pdev)); in omap1_spi100k_remove()
462 struct spi_master *master = spi_master_get(dev_get_drvdata(dev)); in omap1_spi100k_runtime_suspend()
473 struct spi_master *master = spi_master_get(dev_get_drvdata(dev)); in omap1_spi100k_runtime_resume()
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-bcm63xx.c218 static int bcm63xx_spi_transfer_one(struct spi_master *master, in bcm63xx_spi_transfer_one()
301 struct spi_master *master = (struct spi_master *)dev_id; in bcm63xx_spi_interrupt()
324 struct spi_master *master; in bcm63xx_spi_probe()
420 struct spi_master *master = platform_get_drvdata(pdev); in bcm63xx_spi_remove()
435 struct spi_master *master = dev_get_drvdata(dev); in bcm63xx_spi_suspend()
447 struct spi_master *master = dev_get_drvdata(dev); in bcm63xx_spi_resume()
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-rockchip.c165 struct spi_master *master;
295 static int rockchip_spi_prepare_message(struct spi_master *master, in rockchip_spi_prepare_message()
306 static void rockchip_spi_handle_err(struct spi_master *master, in rockchip_spi_handle_err()
333 static int rockchip_spi_unprepare_message(struct spi_master *master, in rockchip_spi_unprepare_message()
563 struct spi_master *master, in rockchip_spi_transfer_one()
624 static bool rockchip_spi_can_dma(struct spi_master *master, in rockchip_spi_can_dma()
637 struct spi_master *master; in rockchip_spi_probe()
769 struct spi_master *master = spi_master_get(platform_get_drvdata(pdev)); in rockchip_spi_remove()
789 struct spi_master *master = dev_get_drvdata(dev); in rockchip_spi_suspend()
807 struct spi_master *master = dev_get_drvdata(dev); in rockchip_spi_resume()
[all …]
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-coldfire-qspi.c307 static int mcfqspi_transfer_one(struct spi_master *master, in mcfqspi_transfer_one()
349 struct spi_master *master; in mcfqspi_probe()
449 struct spi_master *master = platform_get_drvdata(pdev); in mcfqspi_remove()
465 struct spi_master *master = dev_get_drvdata(dev); in mcfqspi_suspend()
480 struct spi_master *master = dev_get_drvdata(dev); in mcfqspi_resume()
492 struct spi_master *master = dev_get_drvdata(dev); in mcfqspi_runtime_suspend()
502 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-atmel.c498 struct spi_master *master = data; in dma_callback()
507 static void atmel_spi_next_xfer_pio(struct spi_master *master, in atmel_spi_next_xfer_pio()
543 static int atmel_spi_next_xfer_dma_submit(struct spi_master *master, in atmel_spi_next_xfer_dma_submit()
641 static void atmel_spi_next_xfer_data(struct spi_master *master, in atmel_spi_next_xfer_data()
725 static void atmel_spi_pdc_next_xfer(struct spi_master *master, in atmel_spi_pdc_next_xfer()
826 static void atmel_spi_dma_unmap_xfer(struct spi_master *master, in atmel_spi_dma_unmap_xfer()
883 struct spi_master *master = dev_id; in atmel_spi_pio_interrupt()
941 struct spi_master *master = dev_id; in atmel_spi_pdc_interrupt()
1044 static int atmel_spi_one_transfer(struct spi_master *master, in atmel_spi_one_transfer()
1189 static int atmel_spi_transfer_one_message(struct spi_master *master, in atmel_spi_transfer_one_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,
657 static bool rspi_can_dma(struct spi_master *master, struct spi_device *spi, in rspi_can_dma()
698 static int rspi_transfer_one(struct spi_master *master, struct spi_device *spi, in rspi_transfer_one()
716 static int rspi_rz_transfer_one(struct spi_master *master, in rspi_rz_transfer_one()
813 static int qspi_transfer_one(struct spi_master *master, struct spi_device *spi, in qspi_transfer_one()
919 static int rspi_prepare_message(struct spi_master *master, in rspi_prepare_message()
938 static int rspi_unprepare_message(struct spi_master *master, in rspi_unprepare_message()
1045 static int rspi_request_dma(struct device *dev, struct spi_master *master, in rspi_request_dma()
1081 static void rspi_release_dma(struct spi_master *master) in rspi_release_dma()
[all …]
Dspi-orion.c76 struct spi_master *master;
359 static int orion_spi_transfer_one(struct spi_master *master, in orion_spi_transfer_one()
413 struct spi_master *master; in orion_spi_probe()
519 struct spi_master *master = platform_get_drvdata(pdev); in orion_spi_remove()
536 struct spi_master *master = dev_get_drvdata(dev); in orion_spi_runtime_suspend()
545 struct spi_master *master = dev_get_drvdata(dev); in orion_spi_runtime_resume()
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-omap2-mcspi.c131 struct spi_master *master;
153 static inline void mcspi_write_reg(struct spi_master *master, in mcspi_write_reg()
161 static inline u32 mcspi_read_reg(struct spi_master *master, int idx) in mcspi_read_reg()
258 static void omap2_mcspi_set_master_mode(struct spi_master *master) in omap2_mcspi_set_master_mode()
279 struct spi_master *master = spi->master; in omap2_mcspi_set_fifo()
337 struct spi_master *spi_cntrl = mcspi->master; in omap2_mcspi_restore_ctx()
847 struct spi_master *spi_cntrl; in omap2_mcspi_setup_transfer()
942 struct spi_master *master = spi->master; in omap2_mcspi_request_dma()
1067 struct spi_master *master; in omap2_mcspi_work()
1206 static int omap2_mcspi_transfer_one_message(struct spi_master *master, in omap2_mcspi_transfer_one_message()
[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.c185 struct spi_master *master;
313 static int s3c64xx_spi_prepare_transfer(struct spi_master *spi) in s3c64xx_spi_prepare_transfer()
353 static int s3c64xx_spi_unprepare_transfer(struct spi_master *spi) in s3c64xx_spi_unprepare_transfer()
366 static bool s3c64xx_spi_can_dma(struct spi_master *master, in s3c64xx_spi_can_dma()
647 static int s3c64xx_spi_prepare_message(struct spi_master *master, in s3c64xx_spi_prepare_message()
670 static int s3c64xx_spi_transfer_one(struct spi_master *master, in s3c64xx_spi_transfer_one()
908 struct spi_master *spi = sdd->master; in s3c64xx_spi_irq()
1031 struct spi_master *master; in s3c64xx_spi_probe()
1212 struct spi_master *master = spi_master_get(platform_get_drvdata(pdev)); in s3c64xx_spi_remove()
1229 struct spi_master *master = dev_get_drvdata(dev); in s3c64xx_spi_suspend()
[all …]
Dspi-mpc512x-psc.c268 static int mpc512x_psc_spi_msg_xfer(struct spi_master *master, in mpc512x_psc_spi_msg_xfer()
315 static int mpc512x_psc_spi_prep_xfer_hw(struct spi_master *master) in mpc512x_psc_spi_prep_xfer_hw()
332 static int mpc512x_psc_spi_unprep_xfer_hw(struct spi_master *master) in mpc512x_psc_spi_unprep_xfer_hw()
388 static int mpc512x_psc_spi_port_config(struct spi_master *master, in mpc512x_psc_spi_port_config()
474 struct spi_master *master; in mpc512x_psc_spi_do_probe()
561 struct spi_master *master = dev_get_drvdata(dev); in mpc512x_psc_spi_do_remove()
Dspi-bitbang.c255 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()
378 static int spi_bitbang_unprepare_hardware(struct spi_master *spi) in spi_bitbang_unprepare_hardware()
424 struct spi_master *master = bitbang->master; in spi_bitbang_start()
Dspi-bcm63xx-hsspi.c253 static int bcm63xx_hsspi_transfer_one(struct spi_master *master, in bcm63xx_hsspi_transfer_one()
324 struct spi_master *master; in bcm63xx_hsspi_probe()
418 struct spi_master *master = platform_get_drvdata(pdev); in bcm63xx_hsspi_remove()
431 struct spi_master *master = dev_get_drvdata(dev); in bcm63xx_hsspi_suspend()
442 struct spi_master *master = dev_get_drvdata(dev); in bcm63xx_hsspi_resume()
Dspi-fsl-dspi.c112 struct spi_master *master;
330 static int dspi_transfer_one_message(struct spi_master *master, in dspi_transfer_one_message()
491 struct spi_master *master = dev_get_drvdata(dev); in dspi_suspend()
502 struct spi_master *master = dev_get_drvdata(dev); in dspi_resume()
524 struct spi_master *master; in dspi_probe()
620 struct spi_master *master = platform_get_drvdata(pdev); in dspi_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.c428 static int fsl_espi_do_one_msg(struct spi_master *master, in fsl_espi_do_one_msg()
608 static int fsl_espi_suspend(struct spi_master *master) in fsl_espi_suspend()
624 static int fsl_espi_resume(struct spi_master *master) in fsl_espi_resume()
640 static struct spi_master * fsl_espi_probe(struct device *dev, in fsl_espi_probe()
644 struct spi_master *master; in fsl_espi_probe()
771 struct spi_master *master; in of_fsl_espi_probe()
814 struct spi_master *master = dev_get_drvdata(dev); in of_fsl_espi_suspend()
829 struct spi_master *master = dev_get_drvdata(dev); in of_fsl_espi_resume()
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-lib.c88 struct spi_master *master; in mpc8xxx_spi_probe()
120 struct spi_master *master; in mpc8xxx_spi_remove()
Dspi-fsl-spi.c356 static int fsl_spi_do_one_msg(struct spi_master *master, in fsl_spi_do_one_msg()
587 struct spi_master *master = dev_get_drvdata(dev); in fsl_spi_grlib_probe()
609 static struct spi_master * fsl_spi_probe(struct device *dev, in fsl_spi_probe()
613 struct spi_master *master; in fsl_spi_probe()
825 struct spi_master *master; in of_fsl_spi_probe()
867 struct spi_master *master = platform_get_drvdata(ofdev); in of_fsl_spi_remove()
900 struct spi_master *master; in plat_mpc8xxx_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()
802 struct spi_master *master = spi_imx->bitbang.master; in spi_imx_sdma_exit()
818 struct spi_master *master, in spi_imx_sdma_init()
902 struct spi_master *master = spi_imx->bitbang.master; in spi_imx_dma_transfer()
1046 spi_imx_prepare_message(struct spi_master *master, struct spi_message *msg) in spi_imx_prepare_message()
1065 spi_imx_unprepare_message(struct spi_master *master, struct spi_message *msg) in spi_imx_unprepare_message()
1081 struct spi_master *master; in spi_imx_probe()
1222 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-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-dw.c258 struct spi_master *master = dev_id; in dw_spi_irq()
285 static int dw_spi_transfer_one(struct spi_master *master, in dw_spi_transfer_one()
402 static void dw_spi_handle_err(struct spi_master *master, in dw_spi_handle_err()
515 struct spi_master *master; in dw_spi_add_host()
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-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-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-ti-qspi.c47 struct spi_master *master;
338 static int ti_qspi_start_transfer_one(struct spi_master *master, in ti_qspi_start_transfer_one()
440 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.c249 struct spi_master *master; in tiny_spi_probe()
331 struct spi_master *master = hw->bitbang.master; in tiny_spi_remove()
Dspi-sirf.c646 struct spi_master *master; in spi_sirfsoc_probe()
770 struct spi_master *master; in spi_sirfsoc_remove()
789 struct spi_master *master = dev_get_drvdata(dev); in spi_sirfsoc_suspend()
803 struct spi_master *master = dev_get_drvdata(dev); in spi_sirfsoc_resume()
Dspi-nuc900.c60 struct spi_master *master;
333 struct spi_master *master; in nuc900_spi_probe()
Dspi-xilinx.c374 struct spi_master *master; in xilinx_spi_probe()
484 struct spi_master *master = platform_get_drvdata(pdev); in xilinx_spi_remove()
Dspi-pxa2xx.h34 struct spi_master *master;
Dspi-sh.c83 struct spi_master *master;
437 struct spi_master *master; in spi_sh_probe()
Dspi-sh-sci.c117 struct spi_master *master; in sh_sci_spi_probe()
Dspi-lm70llp.c197 struct spi_master *master; in spi_lm70llp_attach()
Dspi-s3c24xx.c78 struct spi_master *master;
493 struct spi_master *master; in s3c24xx_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-butterfly.c198 struct spi_master *master; in butterfly_attach()
Dspi-davinci.c428 struct spi_master *master = spi->master; in davinci_spi_setup()
911 struct spi_master *master; in davinci_spi_probe()
1102 struct spi_master *master; in davinci_spi_remove()
Dspi-ath79.c206 struct spi_master *master; in ath79_spi_probe()
Dspi-dw-mid.c115 static bool mid_spi_can_dma(struct spi_master *master, struct spi_device *spi, in mid_spi_can_dma()
Dspi-bfin-sport.c58 struct spi_master *master;
753 struct spi_master *master; in bfin_sport_spi_probe()
Dspi-omap-uwire.c451 struct spi_master *master; in uwire_probe()
Dspi-au1550.c78 struct spi_master *master;
735 struct spi_master *master; in au1550_spi_probe()
Dspi-pxa2xx.c1008 static int pxa2xx_spi_transfer_one_message(struct spi_master *master, in pxa2xx_spi_transfer_one_message()
1029 static int pxa2xx_spi_unprepare_transfer(struct spi_master *master) in pxa2xx_spi_unprepare_transfer()
1314 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;
1560 static int pl022_transfer_one_message(struct spi_master *master, in pl022_transfer_one_message()
1587 static int pl022_unprepare_transfer_hardware(struct spi_master *master) in pl022_unprepare_transfer_hardware()
2099 struct spi_master *master; in pl022_probe()
Dspi-bfin5xx.c59 struct spi_master *master;
1262 struct spi_master *master; in bfin_spi_probe()
/linux-4.1.27/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.1.27/Documentation/devicetree/bindings/misc/
Dti,dac7512.txt13 spi_master {
/linux-4.1.27/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.1.27/drivers/video/fbdev/mmp/hw/
Dmmp_spi.c152 struct spi_master *master; in lcd_spi_register()
/linux-4.1.27/include/media/
Dv4l2-common.h143 struct spi_master *master, struct spi_board_info *info);
/linux-4.1.27/drivers/media/v4l2-core/
Dv4l2-common.c263 struct spi_master *master, struct spi_board_info *info) in v4l2_spi_new_subdev()
/linux-4.1.27/drivers/media/usb/msi2500/
Dmsi2500.c127 struct spi_master *master;
1142 static int msi2500_transfer_one_message(struct spi_master *master, in msi2500_transfer_one_message()
1169 struct spi_master *master; in msi2500_probe()
/linux-4.1.27/drivers/staging/fbtft/
Dfbtft_device.c1229 static void fbtft_device_spi_delete(struct spi_master *master, unsigned cs) in fbtft_device_spi_delete()
1246 struct spi_master *master; in fbtft_device_spi_device_register()