Home
last modified time | relevance | path

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

12345678910>>...149

/linux/arch/arm/mach-pxa/
H A Ddevices.h6 extern struct platform_device pxa_device_pmu;
7 extern struct platform_device pxa3xx_device_mci2;
8 extern struct platform_device pxa3xx_device_mci3;
9 extern struct platform_device pxa25x_device_udc;
10 extern struct platform_device pxa27x_device_udc;
11 extern struct platform_device pxa_device_fb;
12 extern struct platform_device pxa_device_ffuart;
13 extern struct platform_device pxa_device_btuart;
14 extern struct platform_device pxa_device_stuart;
15 extern struct platform_device pxa_device_hwuart;
[all …]
H A Ddevices.c27 void __init pxa_register_device(struct platform_device *dev, void *data) in pxa_register_device()
44 struct platform_device pxa_device_pmu = {
77 struct platform_device *mci_dev; in pxa_set_mci_info()
105 struct platform_device pxa25x_device_udc = {
116 struct platform_device pxa27x_device_udc = {
142 struct platform_device pxa_device_fb = {
171 struct platform_device pxa_device_ffuart = {
195 struct platform_device pxa_device_btuart = {
219 struct platform_device pxa_device_stuart = {
243 struct platform_device pxa_device_hwuart = {
[all …]
/linux/arch/arm/mach-s3c/
H A Ddevs.h25 extern struct platform_device *s3c24xx_uart_devs[];
26 extern struct platform_device *s3c24xx_uart_src[];
28 extern struct platform_device s3c64xx_device_iis0;
29 extern struct platform_device s3c64xx_device_iis1;
30 extern struct platform_device s3c64xx_device_spi0;
32 extern struct platform_device s3c_device_fb;
33 extern struct platform_device s3c_device_hsmmc0;
34 extern struct platform_device s3c_device_hsmmc1;
35 extern struct platform_device s3c_device_hsmmc2;
36 extern struct platform_device s3c_device_hsmmc3;
[all …]
H A Ddev-uart.c17 static struct platform_device s3c24xx_uart_device0 = {
21 static struct platform_device s3c24xx_uart_device1 = {
25 static struct platform_device s3c24xx_uart_device2 = {
29 static struct platform_device s3c24xx_uart_device3 = {
33 struct platform_device *s3c24xx_uart_src[4] = {
40 struct platform_device *s3c24xx_uart_devs[4] = {
H A Ddevs.c62 struct platform_device s3c_device_fb = {
94 struct platform_device s3c_device_hsmmc0 = {
124 struct platform_device s3c_device_hsmmc1 = {
156 struct platform_device s3c_device_hsmmc2 = {
186 struct platform_device s3c_device_hsmmc3 = {
211 struct platform_device s3c_device_i2c0 = {
246 struct platform_device s3c_device_i2c1 = {
277 struct platform_device samsung_device_keypad = {
302 struct platform_device samsung_device_pwm = {
323 struct platform_device s3c_device_ohci = {
[all …]
/linux/include/linux/soc/cirrus/
H A Dep93xx.h
/linux/arch/mips/include/asm/mach-loongson32/
H A Dplatform.h11 extern struct platform_device ls1x_uart_pdev;
12 extern struct platform_device ls1x_eth0_pdev;
13 extern struct platform_device ls1x_eth1_pdev;
14 extern struct platform_device ls1x_ehci_pdev;
15 extern struct platform_device ls1x_gpio0_pdev;
16 extern struct platform_device ls1x_gpio1_pdev;
17 extern struct platform_device ls1x_rtc_pdev;
18 extern struct platform_device ls1x_wdt_pdev;
20 void __init ls1x_rtc_set_extclk(struct platform_device *pdev);
21 void __init ls1x_serial_set_uartclk(struct platform_device *pdev);
/linux/include/linux/platform_data/
H A Di2c-s3c2410.h14 struct platform_device;
35 void (*cfg_gpio)(struct platform_device *dev);
64 extern void s3c_i2c0_cfg_gpio(struct platform_device *dev);
65 extern void s3c_i2c1_cfg_gpio(struct platform_device *dev);
66 extern void s3c_i2c2_cfg_gpio(struct platform_device *dev);
67 extern void s3c_i2c3_cfg_gpio(struct platform_device *dev);
68 extern void s3c_i2c4_cfg_gpio(struct platform_device *dev);
69 extern void s3c_i2c5_cfg_gpio(struct platform_device *dev);
70 extern void s3c_i2c6_cfg_gpio(struct platform_device *dev);
71 extern void s3c_i2c7_cfg_gpio(struct platform_device *dev);
H A Diommu-omap.h14 int (*assert_reset)(struct platform_device *pdev, const char *name);
15 int (*deassert_reset)(struct platform_device *pdev, const char *name);
16 int (*device_enable)(struct platform_device *pdev);
17 int (*device_idle)(struct platform_device *pdev);
18 int (*set_pwrdm_constraint)(struct platform_device *pdev, bool request,
/linux/drivers/gpu/drm/renesas/rcar-du/
H A Drcar_cmm.h14 struct platform_device;
29 int rcar_cmm_init(struct platform_device *pdev);
31 int rcar_cmm_enable(struct platform_device *pdev);
32 void rcar_cmm_disable(struct platform_device *pdev);
34 int rcar_cmm_setup(struct platform_device *pdev,
37 static inline int rcar_cmm_init(struct platform_device *pdev) in rcar_cmm_init()
42 static inline int rcar_cmm_enable(struct platform_device *pdev) in rcar_cmm_enable()
47 static inline void rcar_cmm_disable(struct platform_device *pdev) in rcar_cmm_disable()
51 static inline int rcar_cmm_setup(struct platform_device *pdev, in rcar_cmm_setup()
/linux/drivers/media/platform/mediatek/vpu/
H A Dmtk_vpu.h94 int vpu_ipi_register(struct platform_device *pdev, enum ipi_id id,
112 int vpu_ipi_send(struct platform_device *pdev,
125 struct platform_device *vpu_get_plat_device(struct platform_device *pdev);
141 int vpu_wdt_reg_handler(struct platform_device *pdev,
152 unsigned int vpu_get_vdec_hw_capa(struct platform_device *pdev);
161 unsigned int vpu_get_venc_hw_capa(struct platform_device *pdev);
171 int vpu_load_firmware(struct platform_device *pdev);
186 void *vpu_mapping_dm_addr(struct platform_device *pdev,
/linux/drivers/platform/x86/dell/
H A Ddell-smbios-smm.c25 static struct platform_device *platform_device; variable
118 platform_device = platform_device_alloc("dell-smbios", 1); in init_dell_smbios_smm()
119 if (!platform_device) { in init_dell_smbios_smm()
124 ret = platform_device_add(platform_device); in init_dell_smbios_smm()
128 ret = dell_smbios_register_device(&platform_device->dev, in init_dell_smbios_smm()
136 platform_device_del(platform_device); in init_dell_smbios_smm()
139 platform_device_put(platform_device); in init_dell_smbios_smm()
149 if (platform_device) { in exit_dell_smbios_smm()
150 dell_smbios_unregister_device(&platform_device->dev); in exit_dell_smbios_smm()
151 platform_device_unregister(platform_device); in exit_dell_smbios_smm()
H A Dalienware-wmi.c217 static struct platform_device *platform_device; variable
429 static int alienware_zone_init(struct platform_device *dev) in alienware_zone_init()
488 static void alienware_zone_exit(struct platform_device *dev) in alienware_zone_exit()
615 static void remove_hdmi(struct platform_device *dev) in remove_hdmi()
621 static int create_hdmi(struct platform_device *dev) in create_hdmi()
669 static void remove_amplifier(struct platform_device *dev) in remove_amplifier()
675 static int create_amplifier(struct platform_device *dev) in create_amplifier()
747 static void remove_deepsleep(struct platform_device *dev) in remove_deepsleep()
753 static int create_deepsleep(struct platform_device *dev) in create_deepsleep()
783 platform_device = platform_device_alloc("alienware-wmi", PLATFORM_DEVID_NONE); in alienware_wmi_init()
[all …]
/linux/drivers/usb/fotg210/
H A Dfotg210.h23 int fotg210_hcd_probe(struct platform_device *pdev, struct fotg210 *fotg);
24 int fotg210_hcd_remove(struct platform_device *pdev);
28 static inline int fotg210_hcd_probe(struct platform_device *pdev, in fotg210_hcd_probe()
33 static inline int fotg210_hcd_remove(struct platform_device *pdev) in fotg210_hcd_remove()
47 int fotg210_udc_probe(struct platform_device *pdev, struct fotg210 *fotg);
48 int fotg210_udc_remove(struct platform_device *pdev);
50 static inline int fotg210_udc_probe(struct platform_device *pdev, in fotg210_udc_probe()
55 static inline int fotg210_udc_remove(struct platform_device *pdev) in fotg210_udc_remove()
/linux/arch/arm/plat-orion/
H A Dcommon.c52 static void fill_resources(struct platform_device *device, in fill_resources()
64 static void fill_resources_irq(struct platform_device *device, in fill_resources_irq()
88 struct platform_device *orion_uart, in uart_complete()
120 static struct platform_device orion_uart0 = {
148 static struct platform_device orion_uart1 = {
176 static struct platform_device orion_uart2 = {
204 static struct platform_device orion_uart3 = {
242 struct platform_device *orion_ge_shared, in ge_complete()
243 struct platform_device *orion_ge_mvmdio, in ge_complete()
245 struct platform_device *orion_ge) in ge_complete()
[all …]
/linux/drivers/net/ethernet/ibm/emac/
H A Drgmii.h50 struct platform_device *ofdev;
57 int rgmii_attach(struct platform_device *ofdev, int input, int mode);
58 void rgmii_detach(struct platform_device *ofdev, int input);
59 void rgmii_get_mdio(struct platform_device *ofdev, int input);
60 void rgmii_put_mdio(struct platform_device *ofdev, int input);
61 void rgmii_set_speed(struct platform_device *ofdev, int input, int speed);
62 int rgmii_get_regs_len(struct platform_device *ofdev);
63 void *rgmii_dump_regs(struct platform_device *ofdev, void *buf);
H A Dzmii.h46 struct platform_device *ofdev;
53 int zmii_attach(struct platform_device *ofdev, int input,
55 void zmii_detach(struct platform_device *ofdev, int input);
56 void zmii_get_mdio(struct platform_device *ofdev, int input);
57 void zmii_put_mdio(struct platform_device *ofdev, int input);
58 void zmii_set_speed(struct platform_device *ofdev, int input, int speed);
59 int zmii_get_regs_len(struct platform_device *ocpdev);
60 void *zmii_dump_regs(struct platform_device *ofdev, void *buf);
H A Dtah.h47 struct platform_device *ofdev;
73 int tah_attach(struct platform_device *ofdev, int channel);
74 void tah_detach(struct platform_device *ofdev, int channel);
75 void tah_reset(struct platform_device *ofdev);
76 int tah_get_regs_len(struct platform_device *ofdev);
77 void *tah_dump_regs(struct platform_device *ofdev, void *buf);
/linux/include/linux/
H A Dof_platform.h14 struct platform_device;
53 extern struct platform_device *of_device_alloc(struct device_node *np,
57 extern int of_device_add(struct platform_device *pdev);
58 extern int of_device_register(struct platform_device *ofdev);
59 extern void of_device_unregister(struct platform_device *ofdev);
62 extern struct platform_device *of_find_device_by_node(struct device_node *np);
64 static inline struct platform_device *of_find_device_by_node(struct device_node *np) in of_find_device_by_node()
76 extern struct platform_device *of_platform_device_create(struct device_node *np,
96 static inline struct platform_device *of_platform_device_create(struct device_node *np, in of_platform_device_create()
/linux/drivers/net/dsa/realtek/
H A Drealtek-smi.h18 int realtek_smi_probe(struct platform_device *pdev);
19 void realtek_smi_remove(struct platform_device *pdev);
20 void realtek_smi_shutdown(struct platform_device *pdev);
33 static inline int realtek_smi_probe(struct platform_device *pdev) in realtek_smi_probe()
38 static inline void realtek_smi_remove(struct platform_device *pdev) in realtek_smi_remove()
42 static inline void realtek_smi_shutdown(struct platform_device *pdev) in realtek_smi_shutdown()
/linux/sound/soc/fsl/
H A Dimx-pcm.h31 int imx_pcm_dma_init(struct platform_device *pdev);
33 static inline int imx_pcm_dma_init(struct platform_device *pdev) in imx_pcm_dma_init()
40 int imx_pcm_fiq_init(struct platform_device *pdev,
42 void imx_pcm_fiq_exit(struct platform_device *pdev);
44 static inline int imx_pcm_fiq_init(struct platform_device *pdev, in imx_pcm_fiq_init()
50 static inline void imx_pcm_fiq_exit(struct platform_device *pdev) in imx_pcm_fiq_exit()
/linux/arch/arm/mach-omap2/
H A Domap_device.h53 struct platform_device *pdev;
63 int omap_device_enable(struct platform_device *pdev);
64 int omap_device_idle(struct platform_device *pdev);
68 int omap_device_assert_hardreset(struct platform_device *pdev,
70 int omap_device_deassert_hardreset(struct platform_device *pdev,
74 static inline struct omap_device *to_omap_device(struct platform_device *pdev) in to_omap_device()
/linux/include/linux/usb/
H A Drenesas_usbhs.h12 #include <linux/platform_device.h>
39 int (*hardware_init)(struct platform_device *pdev);
47 int (*hardware_exit)(struct platform_device *pdev);
54 int (*power_ctrl)(struct platform_device *pdev,
62 int (*phy_reset)(struct platform_device *pdev);
69 int (*get_id)(struct platform_device *pdev);
74 int (*get_vbus)(struct platform_device *pdev);
81 int (*set_vbus)(struct platform_device *pdev, int enable);
/linux/include/linux/mfd/
H A Ddln2.h25 typedef void (*dln2_event_cb_t)(struct platform_device *pdev, u16 echo,
37 int dln2_register_event_cb(struct platform_device *pdev, u16 event,
46 void dln2_unregister_event_cb(struct platform_device *pdev, u16 event);
64 int dln2_transfer(struct platform_device *pdev, u16 cmd,
81 static inline int dln2_transfer_rx(struct platform_device *pdev, u16 cmd, in dln2_transfer_rx()
98 static inline int dln2_transfer_tx(struct platform_device *pdev, u16 cmd, in dln2_transfer_tx()
/linux/drivers/watchdog/
H A Dxen_wdt.c25 static struct platform_device *platform_device; variable
119 static int xen_wdt_probe(struct platform_device *pdev) in xen_wdt_probe()
150 static int xen_wdt_suspend(struct platform_device *dev, pm_message_t state) in xen_wdt_suspend()
159 static int xen_wdt_resume(struct platform_device *dev) in xen_wdt_resume()
187 platform_device = platform_device_register_simple(DRV_NAME, in xen_wdt_init_module()
189 if (IS_ERR(platform_device)) { in xen_wdt_init_module()
190 err = PTR_ERR(platform_device); in xen_wdt_init_module()
199 platform_device_unregister(platform_device); in xen_wdt_cleanup_module()

12345678910>>...149