/drivers/spi/ |
D | spi.c | 246 struct spi_master *master) in spi_statistics_add_transfer_stats() 442 struct spi_device *spi_alloc_device(struct spi_master *master) in spi_alloc_device() 504 struct spi_master *master = spi->master; in spi_add_device() local 574 struct spi_device *spi_new_device(struct spi_master *master, in spi_new_device() 634 static void spi_match_master_to_boardinfo(struct spi_master *master, in spi_match_master_to_boardinfo() 682 struct spi_master *master; in spi_register_board_info() local 709 static int spi_map_buf(struct spi_master *master, struct device *dev, in spi_map_buf() 787 static void spi_unmap_buf(struct spi_master *master, struct device *dev, in spi_unmap_buf() 796 static int __spi_map_msg(struct spi_master *master, struct spi_message *msg) in __spi_map_msg() 844 static int __spi_unmap_msg(struct spi_master *master, struct spi_message *msg) in __spi_unmap_msg() [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() local 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() local 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-mt65xx.c | 144 static int mtk_spi_prepare_message(struct spi_master *master, in mtk_spi_prepare_message() 221 static void mtk_spi_prepare_transfer(struct spi_master *master, in mtk_spi_prepare_transfer() 248 static void mtk_spi_setup_packet(struct spi_master *master) in mtk_spi_setup_packet() 263 static void mtk_spi_enable_transfer(struct spi_master *master) in mtk_spi_enable_transfer() 288 static void mtk_spi_update_mdata_len(struct spi_master *master) in mtk_spi_update_mdata_len() 316 static void mtk_spi_setup_dma_addr(struct spi_master *master, in mtk_spi_setup_dma_addr() 327 static int mtk_spi_fifo_transfer(struct spi_master *master, in mtk_spi_fifo_transfer() 355 static int mtk_spi_dma_transfer(struct spi_master *master, in mtk_spi_dma_transfer() 399 static int mtk_spi_transfer_one(struct spi_master *master, in mtk_spi_transfer_one() 409 static bool mtk_spi_can_dma(struct spi_master *master, in mtk_spi_can_dma() [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() local 438 struct spi_master *master = spi_master_get(platform_get_drvdata(pdev)); in omap1_spi100k_remove() local 452 struct spi_master *master = spi_master_get(dev_get_drvdata(dev)); in omap1_spi100k_runtime_suspend() local 463 struct spi_master *master = spi_master_get(dev_get_drvdata(dev)); in omap1_spi100k_runtime_resume() local
|
D | spi-img-spfi.c | 93 struct spi_master *master; member 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() local [all …]
|
D | spi-cadence.c | 337 struct spi_master *master = dev_id; in cdns_spi_irq() local 385 static int cdns_prepare_message(struct spi_master *master, in cdns_prepare_message() 404 static int cdns_transfer_one(struct spi_master *master, in cdns_transfer_one() 432 static int cdns_prepare_transfer_hardware(struct spi_master *master) in cdns_prepare_transfer_hardware() 450 static int cdns_unprepare_transfer_hardware(struct spi_master *master) in cdns_unprepare_transfer_hardware() 470 struct spi_master *master; in cdns_spi_probe() local 598 struct spi_master *master = platform_get_drvdata(pdev); in cdns_spi_remove() local 625 struct spi_master *master = platform_get_drvdata(pdev); in cdns_spi_suspend() local 641 struct spi_master *master = platform_get_drvdata(pdev); in cdns_spi_resume() local 656 struct spi_master *master = dev_get_drvdata(dev); in cnds_runtime_resume() local [all …]
|
D | spi-bcm2835aux.c | 183 struct spi_master *master = dev_id; in bcm2835aux_spi_interrupt() local 228 static int __bcm2835aux_spi_transfer_one_irq(struct spi_master *master, in __bcm2835aux_spi_transfer_one_irq() 243 static int bcm2835aux_spi_transfer_one_irq(struct spi_master *master, in bcm2835aux_spi_transfer_one_irq() 265 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() 377 static int bcm2835aux_spi_prepare_message(struct spi_master *master, in bcm2835aux_spi_prepare_message() 401 static int bcm2835aux_spi_unprepare_message(struct spi_master *master, in bcm2835aux_spi_unprepare_message() 411 static void bcm2835aux_spi_handle_err(struct spi_master *master, in bcm2835aux_spi_handle_err() 421 struct spi_master *master; in bcm2835aux_spi_probe() local 511 struct spi_master *master = platform_get_drvdata(pdev); in bcm2835aux_spi_remove() local
|
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() local [all …]
|
D | spi-meson-spifc.c | 82 struct spi_master *master; member 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() local 367 struct spi_master *master = platform_get_drvdata(pdev); in meson_spifc_remove() local 380 struct spi_master *master = dev_get_drvdata(dev); in meson_spifc_suspend() local 396 struct spi_master *master = dev_get_drvdata(dev); in meson_spifc_resume() local 419 struct spi_master *master = dev_get_drvdata(dev); in meson_spifc_runtime_suspend() local 429 struct spi_master *master = dev_get_drvdata(dev); in meson_spifc_runtime_resume() local
|
D | spi-st-ssc4.c | 121 static int spi_st_transfer_one(struct spi_master *master, in spi_st_transfer_one() 302 struct spi_master *master; in spi_st_probe() local 396 struct spi_master *master = platform_get_drvdata(pdev); in spi_st_remove() local 409 struct spi_master *master = dev_get_drvdata(dev); in spi_st_runtime_suspend() local 422 struct spi_master *master = dev_get_drvdata(dev); in spi_st_runtime_resume() local 436 struct spi_master *master = dev_get_drvdata(dev); in spi_st_suspend() local 448 struct spi_master *master = dev_get_drvdata(dev); in spi_st_resume() local
|
D | spi-rockchip.c | 165 struct spi_master *master; member 267 struct spi_master *master = spi->master; in rockchip_spi_set_cs() local 299 static int rockchip_spi_prepare_message(struct spi_master *master, in rockchip_spi_prepare_message() 310 static void rockchip_spi_handle_err(struct spi_master *master, in rockchip_spi_handle_err() 337 static int rockchip_spi_unprepare_message(struct spi_master *master, in rockchip_spi_unprepare_message() 588 struct spi_master *master, in rockchip_spi_transfer_one() 656 static bool rockchip_spi_can_dma(struct spi_master *master, in rockchip_spi_can_dma() 669 struct spi_master *master; in rockchip_spi_probe() local 812 struct spi_master *master = spi_master_get(platform_get_drvdata(pdev)); in rockchip_spi_remove() local 834 struct spi_master *master = dev_get_drvdata(dev); in rockchip_spi_suspend() local [all …]
|
D | spi-pic32.c | 111 struct spi_master *master; member 311 struct spi_master *master = pic32s->master; in pic32_spi_dma_transfer() local 368 struct spi_master *master = pic32s->master; in pic32_spi_dma_config() local 442 static int pic32_spi_prepare_hardware(struct spi_master *master) in pic32_spi_prepare_hardware() 451 static int pic32_spi_prepare_message(struct spi_master *master, in pic32_spi_prepare_message() 493 static bool pic32_spi_can_dma(struct spi_master *master, in pic32_spi_can_dma() 504 static int pic32_spi_one_transfer(struct spi_master *master, in pic32_spi_one_transfer() 572 static int pic32_spi_unprepare_message(struct spi_master *master, in pic32_spi_unprepare_message() 579 static int pic32_spi_unprepare_hardware(struct spi_master *master) in pic32_spi_unprepare_hardware() 619 struct spi_master *master = pic32s->master; in pic32_spi_dma_prep() local [all …]
|
D | spi-clps711x.c | 58 static int spi_clps711x_prepare_message(struct spi_master *master, in spi_clps711x_prepare_message() 70 static int spi_clps711x_transfer_one(struct spi_master *master, in spi_clps711x_transfer_one() 93 struct spi_master *master = dev_id; in spi_clps711x_isr() local 116 struct spi_master *master; in spi_clps711x_probe() local
|
D | spi-omap2-mcspi.c | 129 struct spi_master *master; member 151 static inline void mcspi_write_reg(struct spi_master *master, in mcspi_write_reg() 159 static inline u32 mcspi_read_reg(struct spi_master *master, int idx) in mcspi_read_reg() 276 static void omap2_mcspi_set_master_mode(struct spi_master *master) in omap2_mcspi_set_master_mode() 297 struct spi_master *master = spi->master; in omap2_mcspi_set_fifo() local 994 struct spi_master *master = spi->master; in omap2_mcspi_request_dma() local 1111 static int omap2_mcspi_transfer_one(struct spi_master *master, in omap2_mcspi_transfer_one() 1246 static int omap2_mcspi_prepare_message(struct spi_master *master, in omap2_mcspi_prepare_message() 1273 static bool omap2_mcspi_can_dma(struct spi_master *master, in omap2_mcspi_can_dma() 1282 struct spi_master *master = mcspi->master; in omap2_mcspi_master_setup() local [all …]
|
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() local 450 struct spi_master *master = platform_get_drvdata(pdev); in mcfqspi_remove() local 466 struct spi_master *master = dev_get_drvdata(dev); in mcfqspi_suspend() local 481 struct spi_master *master = dev_get_drvdata(dev); in mcfqspi_resume() local 493 struct spi_master *master = dev_get_drvdata(dev); in mcfqspi_runtime_suspend() local 503 struct spi_master *master = dev_get_drvdata(dev); in mcfqspi_runtime_resume() local
|
D | spi-atmel.c | 590 struct spi_master *master = data; in dma_callback() local 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() local 1166 struct spi_master *master = dev_id; in atmel_spi_pdc_interrupt() local [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() local 582 struct spi_master *master = dev_get_drvdata(dev); in mpc512x_psc_spi_do_remove() local
|
D | spi-tegra20-sflash.c | 116 struct spi_master *master; member 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() local 539 struct spi_master *master = platform_get_drvdata(pdev); in tegra_sflash_remove() local 554 struct spi_master *master = dev_get_drvdata(dev); in tegra_sflash_suspend() local 561 struct spi_master *master = dev_get_drvdata(dev); in tegra_sflash_resume() local 579 struct spi_master *master = dev_get_drvdata(dev); in tegra_sflash_runtime_suspend() local 591 struct spi_master *master = dev_get_drvdata(dev); in tegra_sflash_runtime_resume() local
|
/drivers/base/ |
D | component.c | 37 struct master { struct 41 const struct component_master_ops *ops; argument 48 struct master *master; argument 71 static struct component *find_component(struct master *master, in find_component() 87 static int find_components(struct master *master) in find_components() 123 static void remove_component(struct master *master, struct component *c) in remove_component() 140 static int try_to_bring_up_master(struct master *master, in try_to_bring_up_master() 189 static void take_down_master(struct master *master) in take_down_master() 198 static void component_match_release(struct device *master, in component_match_release() 246 void component_match_add_release(struct device *master, in component_match_add_release() [all …]
|
/drivers/mtd/ |
D | bcm63xxpart.c | 48 static int bcm63xx_detect_cfe(struct mtd_info *master) in bcm63xx_detect_cfe() 72 static int bcm63xx_read_nvram(struct mtd_info *master, in bcm63xx_read_nvram() 96 static int bcm63xx_read_image_tag(struct mtd_info *master, const char *name, in bcm63xx_read_image_tag() 127 static int bcm63xx_parse_cfe_nor_partitions(struct mtd_info *master, in bcm63xx_parse_cfe_nor_partitions() 286 static int bcm63xx_parse_cfe_partitions(struct mtd_info *master, in bcm63xx_parse_cfe_partitions()
|
/drivers/gpu/drm/ |
D | drm_auth.c | 98 struct drm_master *master; in drm_master_create() local 245 struct drm_master *master = file_priv->master; in drm_master_release() local 301 struct drm_master *drm_master_get(struct drm_master *master) in drm_master_get() 310 struct drm_master *master = container_of(kref, struct drm_master, refcount); in drm_master_destroy() local 329 void drm_master_put(struct drm_master **master) in drm_master_put()
|
/drivers/clk/at91/ |
D | clk-master.c | 58 struct clk_master *master = to_clk_master(hw); in clk_master_prepare() local 68 struct clk_master *master = to_clk_master(hw); in clk_master_is_prepared() local 79 struct clk_master *master = to_clk_master(hw); in clk_master_recalc_rate() local 108 struct clk_master *master = to_clk_master(hw); in clk_master_get_parent() local 130 struct clk_master *master; in at91_clk_register_master() local
|
/drivers/hwtracing/intel_th/ |
D | sth.c | 39 sth_channel(struct sth_device *sth, unsigned int master, unsigned int channel) in sth_channel() 70 static ssize_t sth_stm_packet(struct stm_data *stm_data, unsigned int master, in sth_stm_packet() 143 sth_stm_mmio_addr(struct stm_data *stm_data, unsigned int master, in sth_stm_mmio_addr() 160 static int sth_stm_link(struct stm_data *stm_data, unsigned int master, in sth_stm_link()
|
/drivers/iommu/ |
D | msm_iommu.c | 133 struct msm_iommu_ctx_dev *master; in __flush_iotlb() local 155 struct msm_iommu_ctx_dev *master; in __flush_iotlb_range() local 217 struct msm_iommu_ctx_dev *master) in config_mids() 380 struct msm_iommu_ctx_dev *master; in msm_iommu_attach_dev() local 429 struct msm_iommu_ctx_dev *master; in msm_iommu_detach_dev() local 482 struct msm_iommu_ctx_dev *master; in msm_iommu_iova_to_phys() local 560 struct msm_iommu_ctx_dev *master = dev->archdata.iommu; in insert_iommu_master() local
|
/drivers/staging/greybus/ |
D | spilib.c | 324 static int gb_spi_transfer_one_message(struct spi_master *master, in gb_spi_transfer_one_message() 376 static int gb_spi_prepare_transfer_hardware(struct spi_master *master) in gb_spi_prepare_transfer_hardware() 383 static int gb_spi_unprepare_transfer_hardware(struct spi_master *master) in gb_spi_unprepare_transfer_hardware() 440 struct spi_master *master = get_master_from_spi(spi); in gb_spi_setup_device() local 486 struct spi_master *master; in gb_spilib_master_init() local 561 struct spi_master *master = gb_connection_get_data(connection); in gb_spilib_master_exit() local
|