/drivers/base/ |
D | component.c | 30 struct master { struct 35 const struct component_master_ops *ops; argument 43 struct master *master; argument 67 static void component_attach_master(struct master *master, struct component *c) in component_attach_master() 75 static void component_detach_master(struct master *master, struct component *c) in component_detach_master() 87 int component_master_add_child(struct master *master, in component_master_add_child() 109 static int find_components(struct master *master) in find_components() 138 static void master_remove_components(struct master *master) in master_remove_components() 157 static int try_to_bring_up_master(struct master *master, in try_to_bring_up_master() 216 static void take_down_master(struct master *master) in take_down_master() [all …]
|
/drivers/spi/ |
D | spi.c | 353 struct spi_device *spi_alloc_device(struct spi_master *master) in spi_alloc_device() 412 struct spi_master *master = spi->master; in spi_add_device() local 482 struct spi_device *spi_new_device(struct spi_master *master, in spi_new_device() 520 static void spi_match_master_to_boardinfo(struct spi_master *master, in spi_match_master_to_boardinfo() 566 struct spi_master *master; in spi_register_board_info() local 593 static int spi_map_buf(struct spi_master *master, struct device *dev, in spi_map_buf() 643 static void spi_unmap_buf(struct spi_master *master, struct device *dev, in spi_unmap_buf() 652 static int __spi_map_msg(struct spi_master *master, struct spi_message *msg) in __spi_map_msg() 693 static int spi_unmap_msg(struct spi_master *master, struct spi_message *msg) in spi_unmap_msg() 715 static inline int __spi_map_msg(struct spi_master *master, in __spi_map_msg() [all …]
|
D | spi-omap-100k.c | 94 static void spi100k_enable_clock(struct spi_master *master) in spi100k_enable_clock() 105 static void spi100k_disable_clock(struct spi_master *master) in spi100k_disable_clock() 116 static void spi100k_write_data(struct spi_master *master, int len, int data) in spi100k_write_data() 142 static int spi100k_read_data(struct spi_master *master, int len) in spi100k_read_data() 168 static void spi100k_open(struct spi_master *master) in spi100k_open() 302 static int omap1_spi100k_prepare_hardware(struct spi_master *master) in omap1_spi100k_prepare_hardware() 312 static int omap1_spi100k_transfer_one_message(struct spi_master *master, in omap1_spi100k_transfer_one_message() 380 static int omap1_spi100k_unprepare_hardware(struct spi_master *master) in omap1_spi100k_unprepare_hardware() 392 struct spi_master *master; in omap1_spi100k_probe() local
|
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() 433 static int cdns_prepare_transfer_hardware(struct spi_master *master) in cdns_prepare_transfer_hardware() 452 static int cdns_unprepare_transfer_hardware(struct spi_master *master) in cdns_unprepare_transfer_hardware() 473 struct spi_master *master; in cdns_spi_probe() local 592 struct spi_master *master = platform_get_drvdata(pdev); in cdns_spi_remove() local 619 struct spi_master *master = platform_get_drvdata(pdev); in cdns_spi_suspend() local 643 struct spi_master *master = platform_get_drvdata(pdev); in cdns_spi_resume() local
|
D | spi-bcm63xx.c | 222 static int bcm63xx_spi_transfer_one(struct spi_master *master, in bcm63xx_spi_transfer_one() 305 struct spi_master *master = (struct spi_master *)dev_id; in bcm63xx_spi_interrupt() local 328 struct spi_master *master; in bcm63xx_spi_probe() local 424 struct spi_master *master = platform_get_drvdata(pdev); in bcm63xx_spi_remove() local 439 struct spi_master *master = dev_get_drvdata(dev); in bcm63xx_spi_suspend() local 451 struct spi_master *master = dev_get_drvdata(dev); in bcm63xx_spi_resume() local
|
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() local 108 struct spi_master *master; in spi_clps711x_probe() 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 int rockchip_spi_unprepare_message(struct spi_master *master, in rockchip_spi_unprepare_message() 544 struct spi_master *master, in rockchip_spi_transfer_one() 605 static bool rockchip_spi_can_dma(struct spi_master *master, in rockchip_spi_can_dma() 618 struct spi_master *master; in rockchip_spi_probe() local 744 struct spi_master *master = spi_master_get(platform_get_drvdata(pdev)); in rockchip_spi_remove() local 766 struct spi_master *master = dev_get_drvdata(dev); in rockchip_spi_suspend() local 784 struct spi_master *master = dev_get_drvdata(dev); in rockchip_spi_resume() local [all …]
|
D | spi-falcon.c | 96 struct spi_master *master; member 356 static int falcon_sflash_prepare_xfer(struct spi_master *master) in falcon_sflash_prepare_xfer() 361 static int falcon_sflash_unprepare_xfer(struct spi_master *master) in falcon_sflash_unprepare_xfer() 366 static int falcon_sflash_xfer_one(struct spi_master *master, in falcon_sflash_xfer_one() 405 struct spi_master *master; in falcon_sflash_probe() local
|
D | spi-coldfire-qspi.c | 312 static int mcfqspi_transfer_one(struct spi_master *master, in mcfqspi_transfer_one() 354 struct spi_master *master; in mcfqspi_probe() local 454 struct spi_master *master = platform_get_drvdata(pdev); in mcfqspi_remove() local 470 struct spi_master *master = dev_get_drvdata(dev); in mcfqspi_suspend() local 485 struct spi_master *master = dev_get_drvdata(dev); in mcfqspi_resume() local 497 struct spi_master *master = dev_get_drvdata(dev); in mcfqspi_runtime_suspend() local 507 struct spi_master *master = dev_get_drvdata(dev); in mcfqspi_runtime_resume() local
|
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() local 561 struct spi_master *master = dev_get_drvdata(dev); in mpc512x_psc_spi_do_remove() local
|
D | spi-omap2-mcspi.c | 136 struct spi_master *master; member 158 static inline void mcspi_write_reg(struct spi_master *master, in mcspi_write_reg() 166 static inline u32 mcspi_read_reg(struct spi_master *master, int idx) in mcspi_read_reg() 263 static void omap2_mcspi_set_master_mode(struct spi_master *master) in omap2_mcspi_set_master_mode() 284 struct spi_master *master = spi->master; in omap2_mcspi_set_fifo() local 947 struct spi_master *master = spi->master; in omap2_mcspi_request_dma() local 1072 struct spi_master *master; in omap2_mcspi_work() local 1211 static int omap2_mcspi_transfer_one_message(struct spi_master *master, in omap2_mcspi_transfer_one_message() 1273 struct spi_master *master = mcspi->master; in omap2_mcspi_master_setup() local 1294 struct spi_master *master; in omap_mcspi_runtime_resume() local [all …]
|
D | spi-atmel.c | 503 struct spi_master *master = data; in dma_callback() local 512 static void atmel_spi_next_xfer_pio(struct spi_master *master, in atmel_spi_next_xfer_pio() 548 static int atmel_spi_next_xfer_dma_submit(struct spi_master *master, in atmel_spi_next_xfer_dma_submit() 646 static void atmel_spi_next_xfer_data(struct spi_master *master, in atmel_spi_next_xfer_data() 730 static void atmel_spi_pdc_next_xfer(struct spi_master *master, in atmel_spi_pdc_next_xfer() 831 static void atmel_spi_dma_unmap_xfer(struct spi_master *master, in atmel_spi_dma_unmap_xfer() 888 struct spi_master *master = dev_id; in atmel_spi_pio_interrupt() local 946 struct spi_master *master = dev_id; in atmel_spi_pdc_interrupt() local 1049 static int atmel_spi_one_transfer(struct spi_master *master, in atmel_spi_one_transfer() 1196 static int atmel_spi_transfer_one_message(struct spi_master *master, in atmel_spi_transfer_one_message() [all …]
|
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
|
D | spi-orion.c | 67 struct spi_master *master; member 341 static int orion_spi_transfer_one_message(struct spi_master *master, in orion_spi_transfer_one_message() 428 struct spi_master *master; in orion_spi_probe() local 533 struct spi_master *master = platform_get_drvdata(pdev); in orion_spi_remove() local 550 struct spi_master *master = dev_get_drvdata(dev); in orion_spi_runtime_suspend() local 559 struct spi_master *master = dev_get_drvdata(dev); in orion_spi_runtime_resume() local
|
D | spi-rspi.c | 189 struct spi_master *master; member 609 static bool rspi_can_dma(struct spi_master *master, struct spi_device *spi, in rspi_can_dma() 640 static int rspi_transfer_one(struct spi_master *master, struct spi_device *spi, in rspi_transfer_one() 658 static int rspi_rz_transfer_one(struct spi_master *master, in rspi_rz_transfer_one() 708 static int qspi_transfer_one(struct spi_master *master, struct spi_device *spi, in qspi_transfer_one() 814 static int rspi_prepare_message(struct spi_master *master, in rspi_prepare_message() 833 static int rspi_unprepare_message(struct spi_master *master, in rspi_unprepare_message() 941 static int rspi_request_dma(struct device *dev, struct spi_master *master, in rspi_request_dma() 977 static void rspi_release_dma(struct spi_master *master) in rspi_release_dma() 1034 static int rspi_parse_dt(struct device *dev, struct spi_master *master) in rspi_parse_dt() [all …]
|
D | spi-s3c64xx.c | 187 struct spi_master *master; member 377 static bool s3c64xx_spi_can_dma(struct spi_master *master, in s3c64xx_spi_can_dma() 658 static int s3c64xx_spi_prepare_message(struct spi_master *master, in s3c64xx_spi_prepare_message() 681 static int s3c64xx_spi_transfer_one(struct spi_master *master, in s3c64xx_spi_transfer_one() 1034 struct spi_master *master; in s3c64xx_spi_probe() local 1215 struct spi_master *master = spi_master_get(platform_get_drvdata(pdev)); in s3c64xx_spi_remove() local 1232 struct spi_master *master = dev_get_drvdata(dev); in s3c64xx_spi_suspend() local 1251 struct spi_master *master = dev_get_drvdata(dev); in s3c64xx_spi_resume() local 1272 struct spi_master *master = dev_get_drvdata(dev); in s3c64xx_spi_runtime_suspend() local 1283 struct spi_master *master = dev_get_drvdata(dev); in s3c64xx_spi_runtime_resume() local
|
D | spi-sun4i.c | 77 struct spi_master *master; member 167 static int sun4i_spi_transfer_one(struct spi_master *master, in sun4i_spi_transfer_one() 329 struct spi_master *master = dev_get_drvdata(dev); in sun4i_spi_runtime_resume() local 358 struct spi_master *master = dev_get_drvdata(dev); in sun4i_spi_runtime_suspend() local 369 struct spi_master *master; in sun4i_spi_probe() local
|
D | spi-sun6i.c | 82 struct spi_master *master; member 157 static int sun6i_spi_transfer_one(struct spi_master *master, in sun6i_spi_transfer_one() 312 struct spi_master *master = dev_get_drvdata(dev); in sun6i_spi_runtime_resume() local 349 struct spi_master *master = dev_get_drvdata(dev); in sun6i_spi_runtime_suspend() local 361 struct spi_master *master; in sun6i_spi_probe() local
|
D | spi-qup.c | 430 static int spi_qup_transfer_one(struct spi_master *master, in spi_qup_transfer_one() 486 struct spi_master *master; in spi_qup_probe() local 653 struct spi_master *master = dev_get_drvdata(device); in spi_qup_pm_suspend_runtime() local 666 struct spi_master *master = dev_get_drvdata(device); in spi_qup_pm_resume_runtime() local 681 struct spi_master *master = dev_get_drvdata(device); in spi_qup_suspend() local 700 struct spi_master *master = dev_get_drvdata(device); in spi_qup_resume() local 722 struct spi_master *master = dev_get_drvdata(&pdev->dev); in spi_qup_remove() local
|
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() local 231 struct spi_master *master = platform_get_drvdata(pdev); in octeon_spi_remove() local
|
/drivers/clk/at91/ |
D | clk-master.c | 56 struct clk_master *master = (struct clk_master *)dev_id; in clk_master_irq_handler() local 65 struct clk_master *master = to_clk_master(hw); in clk_master_prepare() local 79 struct clk_master *master = to_clk_master(hw); in clk_master_is_prepared() local 90 struct clk_master *master = to_clk_master(hw); in clk_master_recalc_rate() local 121 struct clk_master *master = to_clk_master(hw); in clk_master_get_parent() local 142 struct clk_master *master; in at91_clk_register_master() local
|
/drivers/gpu/drm/ |
D | drm_auth.c | 55 static struct drm_file *drm_find_file(struct drm_master *master, drm_magic_t magic) in drm_find_file() 82 static int drm_add_magic(struct drm_master *master, struct drm_file *priv, in drm_add_magic() 111 int drm_remove_magic(struct drm_master *master, drm_magic_t magic) in drm_remove_magic()
|
D | drm_lock.c | 61 struct drm_master *master = file_priv->master; in drm_legacy_lock() local 157 struct drm_master *master = file_priv->master; in drm_legacy_unlock() local 377 struct drm_master *master = file_priv->master; in drm_legacy_i_have_hw_lock() local
|
D | drm_ioctl.c | 60 struct drm_master *master = file_priv->master; in drm_getunique() local 73 struct drm_master *master) in drm_unset_busid() 99 struct drm_master *master = file_priv->master; in drm_setunique() local 127 struct drm_master *master = file_priv->master; in drm_set_busid() local
|
/drivers/mtd/ |
D | mtdpart.c | 43 struct mtd_info *master; member 330 int del_mtd_partitions(struct mtd_info *master) in del_mtd_partitions() 351 static struct mtd_part *allocate_partition(struct mtd_info *master, in allocate_partition() 550 int mtd_add_partition(struct mtd_info *master, const char *name, in mtd_add_partition() 607 int mtd_del_partition(struct mtd_info *master, int partno) in mtd_del_partition() 639 int add_mtd_partitions(struct mtd_info *master, in add_mtd_partitions() 734 int parse_mtd_partitions(struct mtd_info *master, const char *const *types, in parse_mtd_partitions()
|