Searched defs:pdev (Results 1 - 25 of 2702) sorted by relevance

1234567891011>>

/drivers/media/usb/pwc/
H A Dpwc-dec1.c27 void pwc_dec1_init(struct pwc_device *pdev, const unsigned char *cmd) argument
29 struct pwc_dec1_private *pdec = &pdev->dec1;
31 pdec->version = pdev->release;
H A Dpwc-misc.c41 int pwc_get_size(struct pwc_device *pdev, int width, int height) argument
48 if (!(pdev->image_mask & (1 << i)))
58 if (pdev->image_mask & (1 << i))
67 void pwc_construct(struct pwc_device *pdev) argument
69 if (DEVICE_USE_CODEC1(pdev->type)) {
71 pdev->image_mask = 1 << PSZ_SQCIF | 1 << PSZ_QCIF | 1 << PSZ_CIF;
72 pdev->vcinterface = 2;
73 pdev->vendpoint = 4;
74 pdev->frame_header_size = 0;
75 pdev
[all...]
/drivers/usb/host/
H A Dxhci-mvebu.h14 int xhci_mvebu_mbus_init_quirk(struct platform_device *pdev);
16 static inline int xhci_mvebu_mbus_init_quirk(struct platform_device *pdev) argument
/drivers/xen/xen-pciback/
H A Dconf_space_quirks.h17 struct pci_dev *pdev; member in struct:xen_pcibk_config_quirk
/drivers/clk/
H A Dclk-max77686.c54 static int max77686_clk_probe(struct platform_device *pdev) argument
56 struct max77686_dev *iodev = dev_get_drvdata(pdev->dev.parent);
58 return max_gen_clk_probe(pdev, iodev->regmap, MAX77686_REG_32KHZ,
62 static int max77686_clk_remove(struct platform_device *pdev) argument
64 return max_gen_clk_remove(pdev, MAX77686_CLKS_NUM);
H A Dclk-max77802.c50 static int max77802_clk_probe(struct platform_device *pdev) argument
52 struct max77686_dev *iodev = dev_get_drvdata(pdev->dev.parent);
55 ret = max_gen_clk_probe(pdev, iodev->regmap, MAX77802_REG_32KHZ,
59 dev_err(&pdev->dev, "generic probe failed %d\n", ret);
68 dev_err(&pdev->dev, "failed to enable low-jitter mode\n");
73 static int max77802_clk_remove(struct platform_device *pdev) argument
75 return max_gen_clk_remove(pdev, MAX77802_CLKS_NUM);
/drivers/clk/x86/
H A Dclk-lpt.c21 static int lpt_clk_probe(struct platform_device *pdev) argument
26 drvdata = devm_kzalloc(&pdev->dev, sizeof(*drvdata), GFP_KERNEL);
32 clk = clk_register_fixed_rate(&pdev->dev, drvdata->name, NULL,
38 platform_set_drvdata(pdev, drvdata);
/drivers/net/wireless/
H A Datmel_pci.c51 static int atmel_pci_probe(struct pci_dev *pdev, argument
56 if (pci_enable_device(pdev))
59 pci_set_master(pdev);
61 dev = init_atmel_card(pdev->irq, pdev->resource[1].start,
63 &pdev->dev, NULL, NULL);
67 pci_set_drvdata(pdev, dev);
71 static void atmel_pci_remove(struct pci_dev *pdev) argument
73 stop_atmel_card(pci_get_drvdata(pdev));
/drivers/pci/
H A Dirq.c13 static void pci_note_irq_problem(struct pci_dev *pdev, const char *reason) argument
15 struct pci_dev *parent = to_pci_dev(pdev->dev.parent);
17 dev_err(&pdev->dev,
20 dev_err(&pdev->dev, "%s\n", reason);
21 dev_err(&pdev->dev, "Please report to linux-kernel@vger.kernel.org\n");
27 * @pdev: device whose interrupt is lost
37 enum pci_lost_interrupt_reason pci_lost_interrupt(struct pci_dev *pdev) argument
39 if (pdev->msi_enabled || pdev->msix_enabled) {
42 if (pdev
[all...]
/drivers/pinctrl/sunxi/
H A Dpinctrl-sun4i-a10.c1016 static int sun4i_a10_pinctrl_probe(struct platform_device *pdev) argument
1018 return sunxi_pinctrl_init(pdev,
H A Dpinctrl-sun5i-a10s.c667 static int sun5i_a10s_pinctrl_probe(struct platform_device *pdev) argument
669 return sunxi_pinctrl_init(pdev,
H A Dpinctrl-sun5i-a13.c385 static int sun5i_a13_pinctrl_probe(struct platform_device *pdev) argument
387 return sunxi_pinctrl_init(pdev,
H A Dpinctrl-sun6i-a31.c914 static int sun6i_a31_pinctrl_probe(struct platform_device *pdev) argument
916 return sunxi_pinctrl_init(pdev,
H A Dpinctrl-sun7i-a20.c1042 static int sun7i_a20_pinctrl_probe(struct platform_device *pdev) argument
1044 return sunxi_pinctrl_init(pdev,
H A Dpinctrl-sun8i-a23.c568 static int sun8i_a23_pinctrl_probe(struct platform_device *pdev) argument
570 return sunxi_pinctrl_init(pdev,
/drivers/power/reset/
H A Drestart-poweroff.c27 static int restart_poweroff_probe(struct platform_device *pdev) argument
31 dev_err(&pdev->dev,
40 static int restart_poweroff_remove(struct platform_device *pdev) argument
/drivers/usb/chipidea/
H A Dci_hdrc_zevio.c25 static int ci_hdrc_zevio_probe(struct platform_device *pdev) argument
29 dev_dbg(&pdev->dev, "ci_hdrc_zevio_probe\n");
31 ci_pdev = ci_hdrc_add_device(&pdev->dev,
32 pdev->resource, pdev->num_resources,
36 dev_err(&pdev->dev, "ci_hdrc_add_device failed!\n");
40 platform_set_drvdata(pdev, ci_pdev);
45 static int ci_hdrc_zevio_remove(struct platform_device *pdev) argument
47 struct platform_device *ci_pdev = platform_get_drvdata(pdev);
/drivers/usb/musb/
H A Dmusb_am335x.c6 static int am335x_child_probe(struct platform_device *pdev) argument
10 pm_runtime_enable(&pdev->dev);
12 ret = of_platform_populate(pdev->dev.of_node, NULL, NULL, &pdev->dev);
18 pm_runtime_disable(&pdev->dev);
/drivers/ata/
H A Dahci_platform.c32 static int ahci_probe(struct platform_device *pdev) argument
34 struct device *dev = &pdev->dev;
38 hpriv = ahci_platform_get_resources(pdev);
49 rc = ahci_platform_init_host(pdev, hpriv, &ahci_port_info);
/drivers/bus/
H A Domap-ocp2scp.c28 struct platform_device *pdev = to_platform_device(dev); local
30 platform_device_unregister(pdev);
35 static int omap_ocp2scp_probe(struct platform_device *pdev) argument
38 struct device_node *np = pdev->dev.of_node;
41 ret = of_platform_populate(np, NULL, NULL, &pdev->dev);
43 dev_err(&pdev->dev,
49 pm_runtime_enable(&pdev->dev);
54 device_for_each_child(&pdev->dev, NULL, ocp2scp_remove_devices);
59 static int omap_ocp2scp_remove(struct platform_device *pdev) argument
61 pm_runtime_disable(&pdev
[all...]
/drivers/clk/sunxi/
H A Dclk-sun8i-apb0.c22 static int sun8i_a23_apb0_clk_probe(struct platform_device *pdev) argument
24 struct device_node *np = pdev->dev.of_node;
31 r = platform_get_resource(pdev, IORESOURCE_MEM, 0);
32 reg = devm_ioremap_resource(&pdev->dev, r);
43 clk = clk_register_divider(&pdev->dev, clk_name, clk_parent, 0, reg,
/drivers/cpufreq/
H A Dvexpress-spc-cpufreq.c49 static int ve_spc_cpufreq_probe(struct platform_device *pdev) argument
54 static int ve_spc_cpufreq_remove(struct platform_device *pdev) argument
/drivers/cpuidle/
H A Dcpuidle-zynq.c65 static int zynq_cpuidle_probe(struct platform_device *pdev) argument
/drivers/edac/
H A Docteon_edac-pci.c61 static int octeon_pci_probe(struct platform_device *pdev) argument
70 pci->dev = &pdev->dev;
71 platform_set_drvdata(pdev, pci);
72 pci->dev_name = dev_name(&pdev->dev);
91 static int octeon_pci_remove(struct platform_device *pdev) argument
93 struct edac_pci_ctl_info *pci = platform_get_drvdata(pdev);
95 edac_pci_del_device(&pdev->dev);
/drivers/gpu/drm/msm/adreno/
H A Da3xx_gpu.h31 struct platform_device *pdev; member in struct:a3xx_gpu

Completed in 3583 milliseconds

1234567891011>>