/linux-4.1.27/include/linux/spi/ |
D | spi.h | 74 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 …]
|
D | spi_bitbang.h | 12 struct spi_master *master;
|
/linux-4.1.27/drivers/spi/ |
D | spi.c | 234 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 …]
|
D | spi-bcm2835.c | 123 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()
|
D | spi-omap-100k.c | 90 static void spi100k_enable_clock(struct spi_master *master) in spi100k_enable_clock() 101 static void spi100k_disable_clock(struct spi_master *master) in spi100k_disable_clock() 112 static void spi100k_write_data(struct spi_master *master, int len, int data) in spi100k_write_data() 138 static int spi100k_read_data(struct spi_master *master, int len) in spi100k_read_data() 164 static void spi100k_open(struct spi_master *master) in spi100k_open() 298 static int omap1_spi100k_transfer_one_message(struct spi_master *master, in omap1_spi100k_transfer_one_message() 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()
|
D | spi-meson-spifc.c | 82 struct spi_master *master; 251 static int meson_spifc_transfer_one(struct spi_master *master, in meson_spifc_transfer_one() 293 struct spi_master *master; in meson_spifc_probe() 367 struct spi_master *master = platform_get_drvdata(pdev); in meson_spifc_remove() 380 struct spi_master *master = dev_get_drvdata(dev); in meson_spifc_suspend() 396 struct spi_master *master = dev_get_drvdata(dev); in meson_spifc_resume() 419 struct spi_master *master = dev_get_drvdata(dev); in meson_spifc_runtime_suspend() 429 struct spi_master *master = dev_get_drvdata(dev); in meson_spifc_runtime_resume()
|
D | spi-img-spfi.c | 93 struct spi_master *master; 232 static int img_spfi_start_pio(struct spi_master *master, in img_spfi_start_pio() 314 static int img_spfi_start_dma(struct spi_master *master, in img_spfi_start_dma() 395 static void img_spfi_handle_err(struct spi_master *master, in img_spfi_handle_err() 416 static int img_spfi_prepare(struct spi_master *master, struct spi_message *msg) in img_spfi_prepare() 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 …]
|
D | spi-cadence.c | 342 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()
|
D | spi-bcm63xx.c | 218 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()
|
D | spi-st-ssc4.c | 147 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()
|
D | spi-rockchip.c | 165 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 …]
|
D | spi-qup.c | 284 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 …]
|
D | spi-clps711x.c | 49 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()
|
D | spi-coldfire-qspi.c | 307 static int mcfqspi_transfer_one(struct spi_master *master, in mcfqspi_transfer_one() 349 struct spi_master *master; in mcfqspi_probe() 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()
|
D | spi-tegra20-sflash.c | 116 struct spi_master *master; 317 static int tegra_sflash_transfer_one_message(struct spi_master *master, in tegra_sflash_transfer_one_message() 431 struct spi_master *master; in tegra_sflash_probe() 539 struct spi_master *master = platform_get_drvdata(pdev); in tegra_sflash_remove() 554 struct spi_master *master = dev_get_drvdata(dev); in tegra_sflash_suspend() 561 struct spi_master *master = dev_get_drvdata(dev); in tegra_sflash_resume() 579 struct spi_master *master = dev_get_drvdata(dev); in tegra_sflash_runtime_suspend() 591 struct spi_master *master = dev_get_drvdata(dev); in tegra_sflash_runtime_resume()
|
D | spi-atmel.c | 498 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 …]
|
D | spi-sun4i.c | 77 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()
|
D | spi-rspi.c | 191 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 …]
|
D | spi-orion.c | 76 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()
|
D | spi-dln2.c | 84 struct spi_master *master; 593 static int dln2_spi_prepare_message(struct spi_master *master, in dln2_spi_prepare_message() 654 static int dln2_spi_transfer_one(struct spi_master *master, in dln2_spi_transfer_one() 683 struct spi_master *master; in dln2_spi_probe() 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()
|
D | spi-omap2-mcspi.c | 131 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 …]
|
D | spi-sun6i.c | 82 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()
|
D | spi-s3c64xx.c | 185 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 …]
|
D | spi-mpc512x-psc.c | 268 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()
|
D | spi-bitbang.c | 255 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()
|
D | spi-bcm63xx-hsspi.c | 253 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()
|
D | spi-fsl-dspi.c | 112 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()
|
D | spi-sh-hspi.c | 46 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()
|
D | spi-bcm53xx.c | 19 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()
|
D | spi-fsl-espi.c | 428 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()
|
D | spi-octeon.c | 150 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()
|
D | spi-xtensa-xtfpga.c | 88 struct spi_master *master; in xtfpga_spi_probe() 139 struct spi_master *master = platform_get_drvdata(pdev); in xtfpga_spi_remove()
|
D | spi-falcon.c | 96 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()
|
D | spi-sc18is602.c | 41 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()
|
D | spi-tegra20-slink.c | 164 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()
|
D | spi-fsl-lib.c | 88 struct spi_master *master; in mpc8xxx_spi_probe() 120 struct spi_master *master; in mpc8xxx_spi_remove()
|
D | spi-fsl-spi.c | 356 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()
|
D | spi-dw.h | 95 bool (*can_dma)(struct spi_master *master, struct spi_device *spi, 102 struct spi_master *master;
|
D | spi-imx.c | 199 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()
|
D | spi-xcomm.c | 136 static int spi_xcomm_transfer_one(struct spi_master *master, in spi_xcomm_transfer_one() 211 struct spi_master *master; in spi_xcomm_probe()
|
D | spi-tegra114.c | 166 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()
|
D | spi-topcliff-pch.c | 170 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()
|
D | spi-txx9.c | 303 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()
|
D | spi-ppc4xx.c | 136 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()
|
D | spi-dw.c | 258 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()
|
D | spi-adi-v3.c | 54 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()
|
D | spi-altera.c | 203 struct spi_master *master; in altera_spi_probe() 264 struct spi_master *master = hw->bitbang.master; in altera_spi_remove()
|
D | spi-mpc52xx.c | 62 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()
|
D | spi-mxs.c | 369 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()
|
D | spi-efm32.c | 291 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()
|
D | spi-ti-qspi.c | 47 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()
|
D | spi-sh-msiof.c | 44 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()
|
D | spi-ep93xx.c | 200 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()
|
D | spi-oc-tiny.c | 249 struct spi_master *master; in tiny_spi_probe() 331 struct spi_master *master = hw->bitbang.master; in tiny_spi_remove()
|
D | spi-sirf.c | 646 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()
|
D | spi-nuc900.c | 60 struct spi_master *master; 333 struct spi_master *master; in nuc900_spi_probe()
|
D | spi-xilinx.c | 374 struct spi_master *master; in xilinx_spi_probe() 484 struct spi_master *master = platform_get_drvdata(pdev); in xilinx_spi_remove()
|
D | spi-pxa2xx.h | 34 struct spi_master *master;
|
D | spi-sh.c | 83 struct spi_master *master; 437 struct spi_master *master; in spi_sh_probe()
|
D | spi-sh-sci.c | 117 struct spi_master *master; in sh_sci_spi_probe()
|
D | spi-lm70llp.c | 197 struct spi_master *master; in spi_lm70llp_attach()
|
D | spi-s3c24xx.c | 78 struct spi_master *master; 493 struct spi_master *master; in s3c24xx_spi_probe()
|
D | spi-mpc52xx-psc.c | 371 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()
|
D | spi-butterfly.c | 198 struct spi_master *master; in butterfly_attach()
|
D | spi-davinci.c | 428 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()
|
D | spi-ath79.c | 206 struct spi_master *master; in ath79_spi_probe()
|
D | spi-dw-mid.c | 115 static bool mid_spi_can_dma(struct spi_master *master, struct spi_device *spi, in mid_spi_can_dma()
|
D | spi-bfin-sport.c | 58 struct spi_master *master; 753 struct spi_master *master; in bfin_sport_spi_probe()
|
D | spi-omap-uwire.c | 451 struct spi_master *master; in uwire_probe()
|
D | spi-au1550.c | 78 struct spi_master *master; 735 struct spi_master *master; in au1550_spi_probe()
|
D | spi-pxa2xx.c | 1008 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()
|
D | spi-gpio.c | 407 struct spi_master *master; in spi_gpio_probe()
|
D | spi-pl022.c | 385 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()
|
D | spi-bfin5xx.c | 59 struct spi_master *master; 1262 struct spi_master *master; in bfin_spi_probe()
|
/linux-4.1.27/include/trace/events/ |
D | spi.h | 10 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/ |
D | ti,dac7512.txt | 13 spi_master {
|
/linux-4.1.27/Documentation/spi/ |
D | spi-summary | 179 /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 …]
|
D | spidev | 62 for its SPI controller (so its spi_master vanishes).
|
/linux-4.1.27/drivers/video/fbdev/mmp/hw/ |
D | mmp_spi.c | 152 struct spi_master *master; in lcd_spi_register()
|
/linux-4.1.27/include/media/ |
D | v4l2-common.h | 143 struct spi_master *master, struct spi_board_info *info);
|
/linux-4.1.27/drivers/media/v4l2-core/ |
D | v4l2-common.c | 263 struct spi_master *master, struct spi_board_info *info) in v4l2_spi_new_subdev()
|
/linux-4.1.27/drivers/media/usb/msi2500/ |
D | msi2500.c | 127 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/ |
D | fbtft_device.c | 1229 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()
|