Home
last modified time | relevance | path

Searched refs:platform_device (Results 1 – 25 of 57) sorted by relevance

123

/include/linux/
Dplatform_device.h19 struct platform_device { struct
37 #define to_platform_device(x) container_of((x), struct platform_device, dev) argument
39 extern int platform_device_register(struct platform_device *);
40 extern void platform_device_unregister(struct platform_device *);
45 extern void arch_setup_pdev_archdata(struct platform_device *);
46 extern struct resource *platform_get_resource(struct platform_device *, unsigned int, unsigned int);
47 extern int platform_get_irq(struct platform_device *, unsigned int);
48 extern struct resource *platform_get_resource_byname(struct platform_device *, unsigned int, const …
49 extern int platform_get_irq_byname(struct platform_device *, const char *);
50 extern int platform_add_devices(struct platform_device **, int);
[all …]
Dof_platform.h63 int (*probe)(struct platform_device* dev,
65 int (*remove)(struct platform_device* dev);
67 int (*suspend)(struct platform_device* dev, pm_message_t state);
68 int (*resume)(struct platform_device* dev);
69 int (*shutdown)(struct platform_device* dev);
79 extern struct platform_device *of_device_alloc(struct device_node *np,
82 extern struct platform_device *of_find_device_by_node(struct device_node *np);
86 extern struct platform_device *of_platform_device_create(struct device_node *np,
Dof_device.h28 extern struct platform_device *of_dev_get(struct platform_device *dev);
29 extern void of_dev_put(struct platform_device *dev);
31 extern int of_device_add(struct platform_device *pdev);
32 extern int of_device_register(struct platform_device *ofdev);
33 extern void of_device_unregister(struct platform_device *ofdev);
Drfkill-gpio.h43 void (*gpio_runtime_close)(struct platform_device *);
44 int (*gpio_runtime_setup)(struct platform_device *);
Dstmmac.h56 int (*init)(struct platform_device *pdev);
57 void (*exit)(struct platform_device *pdev);
Dmv643xx_eth.h20 struct platform_device *shared_smi;
37 struct platform_device *shared;
Dfsl_devices.h62 struct platform_device;
71 int (*init)(struct platform_device *);
72 void (*exit)(struct platform_device *);
/include/linux/mfd/
Dtc6393xb.h27 int (*enable)(struct platform_device *dev);
28 int (*disable)(struct platform_device *dev);
29 int (*suspend)(struct platform_device *dev);
30 int (*resume)(struct platform_device *dev);
34 int (*setup)(struct platform_device *dev);
35 void (*teardown)(struct platform_device *dev);
45 extern int tc6393xb_lcd_mode(struct platform_device *fb,
47 extern int tc6393xb_lcd_set_power(struct platform_device *fb, bool on);
Dcore.h30 int (*enable)(struct platform_device *dev);
31 int (*disable)(struct platform_device *dev);
33 int (*suspend)(struct platform_device *dev);
34 int (*resume)(struct platform_device *dev);
63 extern int mfd_cell_enable(struct platform_device *pdev);
64 extern int mfd_cell_disable(struct platform_device *pdev);
88 static inline const struct mfd_cell *mfd_get_cell(struct platform_device *pdev) in mfd_get_cell()
Dtc6387xb.h14 int (*enable)(struct platform_device *dev);
15 int (*disable)(struct platform_device *dev);
16 int (*suspend)(struct platform_device *dev);
17 int (*resume)(struct platform_device *dev);
Dt7l66xb.h18 int (*enable)(struct platform_device *dev);
19 int (*disable)(struct platform_device *dev);
20 int (*suspend)(struct platform_device *dev);
21 int (*resume)(struct platform_device *dev);
Dtmio.h109 void (*set_pwr)(struct platform_device *host, int state);
110 void (*set_clk_div)(struct platform_device *host, int state);
111 int (*get_cd)(struct platform_device *host);
140 int (*lcd_set_power)(struct platform_device *fb_dev,
142 int (*lcd_mode)(struct platform_device *fb_dev,
Ddavinci_voicecodec.h92 struct platform_device *pdev;
100 struct platform_device *pdev;
110 struct platform_device *pdev;
/include/linux/mmc/
Dsh_mobile_sdhi.h6 struct platform_device;
18 void (*cd_wakeup)(const struct platform_device *pdev);
29 void (*set_pwr)(struct platform_device *pdev, int state);
30 int (*get_cd)(struct platform_device *pdev);
33 int (*init)(struct platform_device *pdev,
35 void (*cleanup)(struct platform_device *pdev);
Dsdhci-spear.h37 sdhci_set_plat_data(struct platform_device *pdev, struct sdhci_plat_data *data) in sdhci_set_plat_data()
/include/linux/usb/
Drenesas_usbhs.h41 int (*notify_hotplug)(struct platform_device *pdev);
57 int (*hardware_init)(struct platform_device *pdev);
65 void (*hardware_exit)(struct platform_device *pdev);
72 void (*power_ctrl)(struct platform_device *pdev,
80 void (*phy_reset)(struct platform_device *pdev);
87 int (*get_id)(struct platform_device *pdev);
92 int (*get_vbus)(struct platform_device *pdev);
99 int (*set_vbus)(struct platform_device *pdev, int enable);
/include/linux/mtd/
Dphysmap.h22 struct platform_device;
26 int (*init)(struct platform_device *);
27 void (*exit)(struct platform_device *);
28 void (*set_vpp)(struct platform_device *, int);
/include/linux/platform_data/
Ddwc3-exynos.h20 int (*phy_init)(struct platform_device *pdev, int type);
21 int (*phy_exit)(struct platform_device *pdev, int type);
/include/linux/regulator/
Dfixed.h54 struct platform_device *regulator_register_fixed(int id,
57 static inline struct platform_device *regulator_register_fixed(int id, in regulator_register_fixed()
/include/media/
Dsh_mobile_csi2.h29 struct platform_device;
35 struct platform_device *pdev; /* client platform device */
Dsoc_camera_platform.h30 static inline void soc_camera_platform_release(struct platform_device **pdev) in soc_camera_platform_release()
36 struct platform_device **pdev, in soc_camera_platform_add()
70 struct platform_device *pdev, in soc_camera_platform_del()
Dmmp-camera.h6 struct platform_device *i2c_device;
/include/linux/mfd/pcf50633/
Dcore.h155 struct platform_device *rtc_pdev;
156 struct platform_device *mbc_pdev;
157 struct platform_device *adc_pdev;
158 struct platform_device *input_pdev;
159 struct platform_device *bl_pdev;
160 struct platform_device *regulator_pdev[PCF50633_NUM_REGULATORS];
/include/sound/
Dpxa2xx-lib.h42 extern int pxa2xx_ac97_hw_probe(struct platform_device *dev);
43 extern void pxa2xx_ac97_hw_remove(struct platform_device *dev);
/include/linux/mfd/wm8350/
Dwdt.h25 struct platform_device *pdev;

123