Home
last modified time | relevance | path

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

12345678910>>...161

/Linux-v4.19/arch/arm/plat-samsung/include/plat/
Ddevs.h25 extern struct platform_device *s3c24xx_uart_devs[];
26 extern struct platform_device *s3c24xx_uart_src[];
28 extern struct platform_device s3c64xx_device_ac97;
29 extern struct platform_device s3c64xx_device_iis0;
30 extern struct platform_device s3c64xx_device_iis1;
31 extern struct platform_device s3c64xx_device_iisv4;
32 extern struct platform_device s3c64xx_device_onenand1;
33 extern struct platform_device s3c64xx_device_pcm0;
34 extern struct platform_device s3c64xx_device_pcm1;
35 extern struct platform_device s3c64xx_device_spi0;
[all …]
/Linux-v4.19/arch/arm/mach-pxa/
Ddevices.h6 extern struct platform_device pxa_device_pmu;
7 extern struct platform_device pxa_device_mci;
8 extern struct platform_device pxa3xx_device_mci2;
9 extern struct platform_device pxa3xx_device_mci3;
10 extern struct platform_device pxa25x_device_udc;
11 extern struct platform_device pxa27x_device_udc;
12 extern struct platform_device pxa3xx_device_u2d;
13 extern struct platform_device pxa_device_fb;
14 extern struct platform_device pxa_device_ffuart;
15 extern struct platform_device pxa_device_btuart;
[all …]
Ddevices.c29 void __init pxa_register_device(struct platform_device *dev, void *data) in pxa_register_device()
46 struct platform_device pxa_device_pmu = {
68 struct platform_device pxa_device_mci = {
109 struct platform_device pxa25x_device_udc = {
120 struct platform_device pxa27x_device_udc = {
145 struct platform_device pxa3xx_device_u2d = {
173 struct platform_device pxa_device_fb = {
202 struct platform_device pxa_device_ffuart = {
226 struct platform_device pxa_device_btuart = {
250 struct platform_device pxa_device_stuart = {
[all …]
/Linux-v4.19/include/linux/
Dplatform_device.h23 struct platform_device { struct
43 #define to_platform_device(x) container_of((x), struct platform_device, dev) argument
45 extern int platform_device_register(struct platform_device *);
46 extern void platform_device_unregister(struct platform_device *);
51 extern void arch_setup_pdev_archdata(struct platform_device *);
52 extern struct resource *platform_get_resource(struct platform_device *,
54 extern int platform_get_irq(struct platform_device *, unsigned int);
55 extern int platform_irq_count(struct platform_device *);
56 extern struct resource *platform_get_resource_byname(struct platform_device *,
59 extern int platform_get_irq_byname(struct platform_device *, const char *);
[all …]
/Linux-v4.19/arch/mips/include/asm/mach-loongson32/
Dplatform.h18 extern struct platform_device ls1x_uart_pdev;
19 extern struct platform_device ls1x_cpufreq_pdev;
20 extern struct platform_device ls1x_dma_pdev;
21 extern struct platform_device ls1x_eth0_pdev;
22 extern struct platform_device ls1x_eth1_pdev;
23 extern struct platform_device ls1x_ehci_pdev;
24 extern struct platform_device ls1x_gpio0_pdev;
25 extern struct platform_device ls1x_gpio1_pdev;
26 extern struct platform_device ls1x_nand_pdev;
27 extern struct platform_device ls1x_rtc_pdev;
[all …]
/Linux-v4.19/arch/arm/mach-imx/devices/
Ddevices-common.h17 static inline struct platform_device *imx_add_platform_device_dmamask( in imx_add_platform_device_dmamask()
34 static inline struct platform_device *imx_add_platform_device( in imx_add_platform_device()
49 struct platform_device *__init imx_add_fec(
59 struct platform_device *__init imx_add_flexcan(
68 struct platform_device *__init imx_add_fsl_usb2_udc(
73 struct platform_device *__init imx_add_gpio_keys(
81 struct platform_device *__init imx_add_imx21_hcd(
90 struct platform_device *__init imx_add_imx27_coda(
98 struct platform_device *__init imx_add_imx2_wdt(
105 struct platform_device *__init imx_add_imxdi_rtc(
[all …]
/Linux-v4.19/arch/mips/include/asm/mach-jz4740/
Dplatform.h22 extern struct platform_device jz4740_udc_device;
23 extern struct platform_device jz4740_udc_xceiv_device;
24 extern struct platform_device jz4740_mmc_device;
25 extern struct platform_device jz4740_i2c_device;
26 extern struct platform_device jz4740_nand_device;
27 extern struct platform_device jz4740_framebuffer_device;
28 extern struct platform_device jz4740_i2s_device;
29 extern struct platform_device jz4740_pcm_device;
30 extern struct platform_device jz4740_codec_device;
31 extern struct platform_device jz4740_adc_device;
[all …]
/Linux-v4.19/include/linux/platform_data/
Di2c-s3c2410.h17 struct platform_device;
38 void (*cfg_gpio)(struct platform_device *dev);
67 extern void s3c_i2c0_cfg_gpio(struct platform_device *dev);
68 extern void s3c_i2c1_cfg_gpio(struct platform_device *dev);
69 extern void s3c_i2c2_cfg_gpio(struct platform_device *dev);
70 extern void s3c_i2c3_cfg_gpio(struct platform_device *dev);
71 extern void s3c_i2c4_cfg_gpio(struct platform_device *dev);
72 extern void s3c_i2c5_cfg_gpio(struct platform_device *dev);
73 extern void s3c_i2c6_cfg_gpio(struct platform_device *dev);
74 extern void s3c_i2c7_cfg_gpio(struct platform_device *dev);
/Linux-v4.19/arch/arm/mach-omap2/
Domap_device.h59 struct platform_device *pdev;
69 int omap_device_enable(struct platform_device *pdev);
70 int omap_device_idle(struct platform_device *pdev);
74 struct platform_device *omap_device_build(const char *pdev_name, int pdev_id,
78 struct omap_device *omap_device_alloc(struct platform_device *pdev,
81 int omap_device_register(struct platform_device *pdev);
86 int omap_device_get_context_loss_count(struct platform_device *pdev);
90 int omap_device_assert_hardreset(struct platform_device *pdev,
92 int omap_device_deassert_hardreset(struct platform_device *pdev,
96 static inline struct omap_device *to_omap_device(struct platform_device *pdev) in to_omap_device()
/Linux-v4.19/drivers/media/platform/mtk-vpu/
Dmtk_vpu.h100 int vpu_ipi_register(struct platform_device *pdev, enum ipi_id id,
118 int vpu_ipi_send(struct platform_device *pdev,
131 struct platform_device *vpu_get_plat_device(struct platform_device *pdev);
147 int vpu_wdt_reg_handler(struct platform_device *pdev,
158 unsigned int vpu_get_vdec_hw_capa(struct platform_device *pdev);
167 unsigned int vpu_get_venc_hw_capa(struct platform_device *pdev);
177 int vpu_load_firmware(struct platform_device *pdev);
192 void *vpu_mapping_dm_addr(struct platform_device *pdev,
/Linux-v4.19/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);
/Linux-v4.19/drivers/fpga/
Ddfl.h146 int (*get_id)(struct platform_device *pdev);
147 int (*enable_set)(struct platform_device *pdev, bool enable);
152 struct dfl_fpga_port_ops *dfl_fpga_port_ops_get(struct platform_device *pdev);
154 int dfl_fpga_check_port_id(struct platform_device *pdev, void *pport_id);
204 struct platform_device *dev;
243 int (*init)(struct platform_device *pdev, struct dfl_feature *feature);
244 void (*uinit)(struct platform_device *pdev,
246 long (*ioctl)(struct platform_device *pdev, struct dfl_feature *feature,
259 void dfl_fpga_dev_feature_uinit(struct platform_device *pdev);
260 int dfl_fpga_dev_feature_init(struct platform_device *pdev,
[all …]
/Linux-v4.19/drivers/platform/x86/
Ddell-smbios-smm.c27 static struct platform_device *platform_device; variable
150 platform_device = platform_device_alloc("dell-smbios", 1); in init_dell_smbios_smm()
151 if (!platform_device) { in init_dell_smbios_smm()
156 ret = platform_device_add(platform_device); in init_dell_smbios_smm()
160 ret = dell_smbios_register_device(&platform_device->dev, in init_dell_smbios_smm()
168 platform_device_del(platform_device); in init_dell_smbios_smm()
171 platform_device_put(platform_device); in init_dell_smbios_smm()
181 if (platform_device) { in exit_dell_smbios_smm()
182 dell_smbios_unregister_device(&platform_device->dev); in exit_dell_smbios_smm()
183 platform_device_unregister(platform_device); in exit_dell_smbios_smm()
/Linux-v4.19/drivers/net/ethernet/ibm/emac/
Dzmii.h51 struct platform_device *ofdev;
58 int zmii_attach(struct platform_device *ofdev, int input, int *mode);
59 void zmii_detach(struct platform_device *ofdev, int input);
60 void zmii_get_mdio(struct platform_device *ofdev, int input);
61 void zmii_put_mdio(struct platform_device *ofdev, int input);
62 void zmii_set_speed(struct platform_device *ofdev, int input, int speed);
63 int zmii_get_regs_len(struct platform_device *ocpdev);
64 void *zmii_dump_regs(struct platform_device *ofdev, void *buf);
Drgmii.h54 struct platform_device *ofdev;
61 int rgmii_attach(struct platform_device *ofdev, int input, int mode);
62 void rgmii_detach(struct platform_device *ofdev, int input);
63 void rgmii_get_mdio(struct platform_device *ofdev, int input);
64 void rgmii_put_mdio(struct platform_device *ofdev, int input);
65 void rgmii_set_speed(struct platform_device *ofdev, int input, int speed);
66 int rgmii_get_regs_len(struct platform_device *ofdev);
67 void *rgmii_dump_regs(struct platform_device *ofdev, void *buf);
/Linux-v4.19/arch/mips/jz4740/
Dplatform.c36 struct platform_device jz4740_udc_xceiv_device = {
55 struct platform_device jz4740_udc_device = {
80 struct platform_device jz4740_mmc_device = {
105 struct platform_device jz4740_i2c_device = {
146 struct platform_device jz4740_nand_device = {
161 struct platform_device jz4740_framebuffer_device = {
181 struct platform_device jz4740_i2s_device = {
189 struct platform_device jz4740_pcm_device = {
203 struct platform_device jz4740_codec_device = {
229 struct platform_device jz4740_adc_device = {
[all …]
/Linux-v4.19/arch/arm/plat-samsung/
Ddevs.c74 struct platform_device s3c_device_ac97 = {
95 struct platform_device s3c_device_adc = {
110 struct platform_device s3c_device_adc = {
127 struct platform_device s3c_device_camif = {
149 struct platform_device s3c_device_fb = {
170 struct platform_device s3c_device_hwmon = {
197 struct platform_device s3c_device_hsmmc0 = {
227 struct platform_device s3c_device_hsmmc1 = {
259 struct platform_device s3c_device_hsmmc2 = {
289 struct platform_device s3c_device_hsmmc3 = {
[all …]
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] = {
/Linux-v4.19/arch/arm/mach-w90x900/
Dcpu.h51 extern void nuc900_board_init(struct platform_device **device, int size);
55 extern struct platform_device nuc900_serial_device;
56 extern struct platform_device nuc900_device_fmi;
57 extern struct platform_device nuc900_device_kpi;
58 extern struct platform_device nuc900_device_rtc;
59 extern struct platform_device nuc900_device_ts;
60 extern struct platform_device nuc900_device_lcd;
/Linux-v4.19/arch/arm/plat-orion/
Dcommon.c53 static void fill_resources(struct platform_device *device, in fill_resources()
65 static void fill_resources_irq(struct platform_device *device, in fill_resources_irq()
89 struct platform_device *orion_uart, in uart_complete()
121 static struct platform_device orion_uart0 = {
149 static struct platform_device orion_uart1 = {
177 static struct platform_device orion_uart2 = {
205 static struct platform_device orion_uart3 = {
243 struct platform_device *orion_ge_shared, in ge_complete()
244 struct platform_device *orion_ge_mvmdio, in ge_complete()
246 struct platform_device *orion_ge) in ge_complete()
[all …]
/Linux-v4.19/drivers/gpu/drm/msm/dsi/pll/
Ddsi_pll.h82 void msm_dsi_pll_helper_unregister_clks(struct platform_device *pdev,
89 struct msm_dsi_pll *msm_dsi_pll_28nm_init(struct platform_device *pdev,
93 struct platform_device *pdev, enum msm_dsi_phy_type type, int id) in msm_dsi_pll_28nm_init()
99 struct msm_dsi_pll *msm_dsi_pll_28nm_8960_init(struct platform_device *pdev,
103 struct platform_device *pdev, int id) in msm_dsi_pll_28nm_8960_init()
110 struct msm_dsi_pll *msm_dsi_pll_14nm_init(struct platform_device *pdev, int id);
113 msm_dsi_pll_14nm_init(struct platform_device *pdev, int id) in msm_dsi_pll_14nm_init()
119 struct msm_dsi_pll *msm_dsi_pll_10nm_init(struct platform_device *pdev, int id);
122 msm_dsi_pll_10nm_init(struct platform_device *pdev, int id) in msm_dsi_pll_10nm_init()
/Linux-v4.19/include/linux/usb/
Drenesas_usbhs.h43 int (*notify_hotplug)(struct platform_device *pdev);
59 int (*hardware_init)(struct platform_device *pdev);
67 int (*hardware_exit)(struct platform_device *pdev);
74 int (*power_ctrl)(struct platform_device *pdev,
82 int (*phy_reset)(struct platform_device *pdev);
89 int (*get_id)(struct platform_device *pdev);
94 int (*get_vbus)(struct platform_device *pdev);
101 int (*set_vbus)(struct platform_device *pdev, int enable);
/Linux-v4.19/arch/arm/mach-ep93xx/include/mach/
Dplatform.h13 struct platform_device;
44 int ep93xx_pwm_acquire_gpio(struct platform_device *pdev);
45 void ep93xx_pwm_release_gpio(struct platform_device *pdev);
47 int ep93xx_keypad_acquire_gpio(struct platform_device *pdev);
48 void ep93xx_keypad_release_gpio(struct platform_device *pdev);
55 int ep93xx_ide_acquire_gpio(struct platform_device *pdev);
56 void ep93xx_ide_release_gpio(struct platform_device *pdev);
/Linux-v4.19/arch/arm/mach-s3c64xx/
Ddev-audio.c22 static int s3c64xx_i2s_cfg_gpio(struct platform_device *pdev) in s3c64xx_i2s_cfg_gpio()
58 struct platform_device s3c64xx_device_iis0 = {
77 struct platform_device s3c64xx_device_iis1 = {
99 struct platform_device s3c64xx_device_iisv4 = {
113 static int s3c64xx_pcm_cfg_gpio(struct platform_device *pdev) in s3c64xx_pcm_cfg_gpio()
142 struct platform_device s3c64xx_device_pcm0 = {
161 struct platform_device s3c64xx_device_pcm1 = {
174 static int s3c64xx_ac97_cfg_gpd(struct platform_device *pdev) in s3c64xx_ac97_cfg_gpd()
179 static int s3c64xx_ac97_cfg_gpe(struct platform_device *pdev) in s3c64xx_ac97_cfg_gpe()
194 struct platform_device s3c64xx_device_ac97 = {
/Linux-v4.19/drivers/mfd/
Dtc6387xb.c48 static int tc6387xb_suspend(struct platform_device *dev, pm_message_t state) in tc6387xb_suspend()
60 static int tc6387xb_resume(struct platform_device *dev) in tc6387xb_resume()
81 static void tc6387xb_mmc_pwr(struct platform_device *mmc, int state) in tc6387xb_mmc_pwr()
83 struct platform_device *dev = to_platform_device(mmc->dev.parent); in tc6387xb_mmc_pwr()
89 static void tc6387xb_mmc_clk_div(struct platform_device *mmc, int state) in tc6387xb_mmc_clk_div()
91 struct platform_device *dev = to_platform_device(mmc->dev.parent); in tc6387xb_mmc_clk_div()
98 static int tc6387xb_mmc_enable(struct platform_device *mmc) in tc6387xb_mmc_enable()
100 struct platform_device *dev = to_platform_device(mmc->dev.parent); in tc6387xb_mmc_enable()
111 static int tc6387xb_mmc_disable(struct platform_device *mmc) in tc6387xb_mmc_disable()
113 struct platform_device *dev = to_platform_device(mmc->dev.parent); in tc6387xb_mmc_disable()
[all …]

12345678910>>...161