/linux-4.4.14/include/linux/spi/ |
D | spi.h | 26 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 …]
|
D | spi_bitbang.h | 12 struct spi_master *master;
|
/linux-4.4.14/drivers/spi/ |
D | spi.c | 75 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 …]
|
D | spi-bcm2835.c | 129 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 …]
|
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() 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()
|
D | spi-mt65xx.c | 136 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 …]
|
D | spi-bcm2835aux.c | 186 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()
|
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-rockchip.c | 165 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 …]
|
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-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-bcm63xx.c | 333 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()
|
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() 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()
|
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-omap2-mcspi.c | 132 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 …]
|
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, 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 …]
|
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-bitbang.c | 256 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()
|
D | spi-atmel.c | 590 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 …]
|
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 | 186 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 …]
|
D | spi-mpc512x-psc.c | 293 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()
|
D | spi-orion.c | 82 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()
|
D | spi-bcm63xx-hsspi.c | 257 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()
|
D | spi-zynqmp-gqspi.c | 356 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()
|
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 | 431 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()
|
D | spi-fsl-spi.c | 356 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()
|
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-dspi.c | 139 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()
|
D | spi-rb4xx.c | 98 static int rb4xx_transfer_one(struct spi_master *master, in rb4xx_transfer_one() 139 struct spi_master *master; in rb4xx_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() 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()
|
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-dw.c | 252 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()
|
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-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-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-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-ti-qspi.c | 45 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()
|
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 | 245 struct spi_master *master; in tiny_spi_probe() 327 struct spi_master *master = hw->bitbang.master; in tiny_spi_remove()
|
D | spi-fsl-lib.c | 88 struct spi_master *master; in mpc8xxx_spi_probe()
|
D | spi-xlp.c | 354 static int xlp_spi_transfer_one(struct spi_master *master, in xlp_spi_transfer_one() 378 struct spi_master *master; in xlp_spi_probe()
|
D | spi-nuc900.c | 60 struct spi_master *master; 333 struct spi_master *master; in nuc900_spi_probe()
|
D | spi-pxa2xx.h | 34 struct spi_master *master;
|
D | spi-xilinx.c | 384 struct spi_master *master; in xilinx_spi_probe() 494 struct spi_master *master = platform_get_drvdata(pdev); in xilinx_spi_remove()
|
D | spi-sh.c | 83 struct spi_master *master; 437 struct spi_master *master; in spi_sh_probe()
|
D | spi-lm70llp.c | 197 struct spi_master *master; in spi_lm70llp_attach()
|
D | spi-sh-sci.c | 117 struct spi_master *master; in sh_sci_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-s3c24xx.c | 78 struct spi_master *master; 493 struct spi_master *master; in s3c24xx_spi_probe()
|
D | spi-butterfly.c | 198 struct spi_master *master; in butterfly_attach()
|
D | spi-davinci.c | 424 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()
|
D | spi-sirf.c | 1073 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()
|
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-ath79.c | 209 struct spi_master *master; in ath79_spi_probe()
|
D | spi-bfin-sport.c | 58 struct spi_master *master; 750 struct spi_master *master; in bfin_sport_spi_probe()
|
D | spi-omap-uwire.c | 452 struct spi_master *master; in uwire_probe()
|
D | spi-au1550.c | 78 struct spi_master *master; 734 struct spi_master *master; in au1550_spi_probe()
|
D | spi-pxa2xx.c | 1083 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()
|
D | spi-gpio.c | 407 struct spi_master *master; in spi_gpio_probe()
|
D | spi-pl022.c | 385 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()
|
D | spi-bfin5xx.c | 59 struct spi_master *master; 1258 struct spi_master *master; in bfin_spi_probe()
|
/linux-4.4.14/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.4.14/drivers/media/pci/netup_unidvb/ |
D | netup_unidvb_spi.c | 47 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/ |
D | lm70.txt | 15 spi_master {
|
/linux-4.4.14/Documentation/devicetree/bindings/iio/dac/ |
D | ti,dac7512.txt | 13 spi_master {
|
/linux-4.4.14/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.4.14/drivers/video/fbdev/mmp/hw/ |
D | mmp_spi.c | 152 struct spi_master *master; in lcd_spi_register()
|
/linux-4.4.14/include/media/ |
D | v4l2-common.h | 143 struct spi_master *master, struct spi_board_info *info);
|
/linux-4.4.14/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.4.14/drivers/media/usb/msi2500/ |
D | msi2500.c | 126 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/ |
D | fbtft_device.c | 1324 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()
|