Searched defs:dev (Results 101 - 125 of 5572) sorted by relevance

1234567891011>>

/drivers/clk/ux500/
H A Dabx500-clk.c23 static int ab8500_reg_clks(struct device *dev) argument
36 dev_info(dev, "register clocks for ab850x\n");
52 clk = clk_reg_sysctrl_gate(dev , "ab8500_sysclk2", "ab8500_sysclk",
58 clk = clk_reg_sysctrl_gate(dev , "ab8500_sysclk3", "ab8500_sysclk",
64 clk = clk_reg_sysctrl_gate(dev , "ab8500_sysclk4", "ab8500_sysclk",
69 clk = clk_reg_sysctrl_gate_fixed_rate(dev, "ulpclk", NULL,
76 clk = clk_reg_sysctrl_set_parent(dev , "intclk", intclk_parents, 2,
82 clk = clk_reg_sysctrl_gate(dev , "audioclk", "intclk",
91 static int ab8540_reg_clks(struct device *dev) argument
97 static int ab9540_reg_clks(struct device *dev) argument
[all...]
/drivers/cpuidle/
H A Dcpuidle-arm64.c29 * dev: cpuidle device
36 static int arm64_enter_idle_state(struct cpuidle_device *dev, argument
H A Dcpuidle-calxeda.c40 static int calxeda_pwrdown_idle(struct cpuidle_device *dev, argument
H A Dcpuidle-clps711x.c22 static int clps711x_cpuidle_halt(struct cpuidle_device *dev, argument
47 clps711x_halt = devm_ioremap_resource(&pdev->dev, res);
H A Dcpuidle-exynos.c23 static int exynos_enter_lowpower(struct cpuidle_device *dev, argument
30 if (num_online_cpus() > 1 || dev->cpu != 0)
34 return arm_cpuidle_simple_enter(dev, drv, new_index);
63 exynos_enter_aftr = (void *)(pdev->dev.platform_data);
67 dev_err(&pdev->dev, "failed to register cpuidle driver\n");
H A Dcpuidle-kirkwood.c32 static int kirkwood_enter_idle(struct cpuidle_device *dev, argument
63 ddr_operation_base = devm_ioremap_resource(&pdev->dev, res);
H A Dcpuidle-mvebu-v7.c28 static int mvebu_v7_enter_idle(struct cpuidle_device *dev, argument
106 mvebu_v7_cpu_suspend = pdev->dev.platform_data;
108 if (!strcmp(pdev->dev.driver->name, "cpuidle-armada-xp"))
110 else if (!strcmp(pdev->dev.driver->name, "cpuidle-armada-370"))
112 else if (!strcmp(pdev->dev.driver->name, "cpuidle-armada-38x"))
H A Dcpuidle-ux500.c27 static inline int ux500_enter_idle(struct cpuidle_device *dev, argument
/drivers/dca/
H A Ddca-sysfs.c36 int dca_sysfs_add_req(struct dca_provider *dca, struct device *dev, int slot) argument
53 int dca_sysfs_add_provider(struct dca_provider *dca, struct device *dev) argument
70 cd = device_create(dca_class, dev, MKDEV(0, 0), NULL, "dca%d", dca->id);
/drivers/dio/
H A Ddio-driver.c47 static int dio_device_probe(struct device *dev) argument
50 struct dio_driver *drv = to_dio_driver(dev->driver);
51 struct dio_dev *d = to_dio_dev(dev);
105 * @dev: the DIO device structure to match against
113 static int dio_bus_match(struct device *dev, struct device_driver *drv) argument
115 struct dio_dev *d = to_dio_dev(dev);
H A Ddio-sysfs.c20 static ssize_t dio_show_id(struct device *dev, struct device_attribute *attr, char *buf) argument
24 d = to_dio_dev(dev);
29 static ssize_t dio_show_ipl(struct device *dev, struct device_attribute *attr, char *buf) argument
33 d = to_dio_dev(dev);
38 static ssize_t dio_show_secid(struct device *dev, struct device_attribute *attr, char *buf) argument
42 d = to_dio_dev(dev);
47 static ssize_t dio_show_name(struct device *dev, struct device_attribute *attr, char *buf) argument
51 d = to_dio_dev(dev);
56 static ssize_t dio_show_resource(struct device *dev, struct device_attribute *attr, char *buf) argument
58 struct dio_dev *d = to_dio_dev(dev);
69 struct device *dev = &d->dev; local
[all...]
/drivers/dma/
H A Dcoh901318.h19 struct device *dev; member in struct:coh901318_pool
48 * @dev: dma device
54 struct device *dev,
/drivers/dma/dw/
H A Dpci.c36 dev_err(&pdev->dev, "I/O memory remapping failed\n");
51 chip = devm_kzalloc(&pdev->dev, sizeof(*chip), GFP_KERNEL);
55 chip->dev = &pdev->dev;
75 dev_warn(&pdev->dev, "can't remove device properly: %d\n", ret);
80 static int dw_pci_suspend_late(struct device *dev) argument
82 struct pci_dev *pci = to_pci_dev(dev);
88 static int dw_pci_resume_early(struct device *dev) argument
90 struct pci_dev *pci = to_pci_dev(dev);
/drivers/edac/
H A Damd64_edac_dbg.c4 static ssize_t amd64_##reg##_show(struct device *dev, \
8 struct mem_ctl_info *mci = to_mci(dev); \
18 static ssize_t amd64_hole_show(struct device *dev, argument
22 struct mem_ctl_info *mci = to_mci(dev);
47 rc = device_create_file(&mci->dev, &dev_attr_dhar);
50 rc = device_create_file(&mci->dev, &dev_attr_dbam);
53 rc = device_create_file(&mci->dev, &dev_attr_topmem);
56 rc = device_create_file(&mci->dev, &dev_attr_topmem2);
59 rc = device_create_file(&mci->dev, &dev_attr_dram_hole);
68 device_remove_file(&mci->dev,
[all...]
/drivers/eisa/
H A Dpci_eisa.c28 dev_err(&pdev->dev, "Could not enable device\n");
49 dev_err(&pdev->dev, "No resources available\n");
53 pci_eisa_root.dev = &pdev->dev;
58 dev_set_drvdata(pci_eisa_root.dev, &pci_eisa_root);
61 dev_err(&pdev->dev, "Could not register EISA root\n");
78 struct pci_dev *dev = NULL; local
81 for_each_pci_dev(dev)
82 if ((dev->class >> 8) == PCI_CLASS_BRIDGE_EISA) {
83 ret = pci_eisa_init(dev);
[all...]
/drivers/gpio/
H A Dgpio-max7300.c19 static int max7300_i2c_write(struct device *dev, unsigned int reg, argument
22 struct i2c_client *client = to_i2c_client(dev);
27 static int max7300_i2c_read(struct device *dev, unsigned int reg) argument
29 struct i2c_client *client = to_i2c_client(dev);
44 ts = devm_kzalloc(&client->dev, sizeof(struct max7301), GFP_KERNEL);
50 ts->dev = &client->dev;
58 return __max730x_remove(&client->dev);
H A Dgpio-max7301.c22 static int max7301_spi_write(struct device *dev, unsigned int reg, argument
25 struct spi_device *spi = to_spi_device(dev);
33 static int max7301_spi_read(struct device *dev, unsigned int reg) argument
37 struct spi_device *spi = to_spi_device(dev);
64 ts = devm_kzalloc(&spi->dev, sizeof(struct max7301), GFP_KERNEL);
70 ts->dev = &spi->dev;
78 return __max730x_remove(&spi->dev);
H A Dgpio-ucb1400.c46 static int ucb1400_gpio_probe(struct platform_device *dev) argument
48 struct ucb1400_gpio *ucb = dev_get_platdata(&dev->dev);
56 platform_set_drvdata(dev, ucb);
74 err = ucb->gpio_setup(&dev->dev, ucb->gc.ngpio);
81 static int ucb1400_gpio_remove(struct platform_device *dev) argument
84 struct ucb1400_gpio *ucb = platform_get_drvdata(dev);
87 err = ucb->gpio_teardown(&dev->dev, uc
[all...]
/drivers/gpu/drm/armada/
H A Darmada_510.c18 static int armada510_crtc_init(struct armada_crtc *dcrtc, struct device *dev) argument
22 clk = devm_clk_get(dev, "ext_ref_clk1");
H A Darmada_gem.h41 struct dma_buf *armada_gem_prime_export(struct drm_device *dev,
48 struct drm_device *dev, struct drm_file *dfile, unsigned handle)
50 struct drm_gem_object *obj = drm_gem_object_lookup(dev, dfile, handle);
47 armada_gem_object_lookup( struct drm_device *dev, struct drm_file *dfile, unsigned handle) argument
/drivers/gpu/drm/exynos/
H A Dexynos_drm_buf.c20 static int lowlevel_buffer_allocate(struct drm_device *dev, argument
56 if (!is_drm_iommu_supported(dev)) {
66 buf->kvaddr = (void __iomem *)dma_alloc_attrs(dev->dev,
84 buf->pages = dma_alloc_attrs(dev->dev, buf->size,
107 dma_free_attrs(dev->dev, buf->size, buf->pages,
111 if (!is_drm_iommu_supported(dev))
117 static void lowlevel_buffer_deallocate(struct drm_device *dev, argument
145 exynos_drm_init_buf(struct drm_device *dev, unsigned int size) argument
160 exynos_drm_fini_buf(struct drm_device *dev, struct exynos_drm_gem_buf *buffer) argument
167 exynos_drm_alloc_buf(struct drm_device *dev, struct exynos_drm_gem_buf *buf, unsigned int flags) argument
181 exynos_drm_free_buf(struct drm_device *dev, unsigned int flags, struct exynos_drm_gem_buf *buffer) argument
[all...]
H A Dexynos_drm_core.c23 int exynos_drm_create_enc_conn(struct drm_device *dev, argument
30 ret = exynos_drm_crtc_get_pipe_from_type(dev, display->type);
37 encoder = exynos_drm_encoder_create(dev, display, possible_crtcs);
80 int exynos_drm_device_subdrv_probe(struct drm_device *dev) argument
85 if (!dev)
90 subdrv->drm_dev = dev;
97 err = subdrv->probe(dev, subdrv->dev);
110 int exynos_drm_device_subdrv_remove(struct drm_device *dev) argument
114 if (!dev) {
128 exynos_drm_subdrv_open(struct drm_device *dev, struct drm_file *file) argument
152 exynos_drm_subdrv_close(struct drm_device *dev, struct drm_file *file) argument
[all...]
H A Dexynos_drm_iommu.h33 struct device *dev = drm_dev->dev; local
35 return dev->archdata.mapping ? true : false;
/drivers/gpu/drm/gma500/
H A Dmdfld_dsi_dpi.h46 struct drm_device *dev; member in struct:mdfld_dsi_dpi_output
61 extern struct mdfld_dsi_encoder *mdfld_dsi_dpi_init(struct drm_device *dev,
H A Dmdfld_tpo_vid.c30 static struct drm_display_mode *tpo_vid_get_config_mode(struct drm_device *dev) argument
33 struct drm_psb_private *dev_priv = dev->dev_private;
62 dev_dbg(dev->dev, "hdisplay is %d\n", mode->hdisplay);
63 dev_dbg(dev->dev, "vdisplay is %d\n", mode->vdisplay);
64 dev_dbg(dev->dev, "HSS is %d\n", mode->hsync_start);
65 dev_dbg(dev->dev, "HS
91 tpo_vid_get_panel_info(struct drm_device *dev, int pipe, struct panel_info *pi) argument
[all...]

Completed in 9674 milliseconds

1234567891011>>