Home
last modified time | relevance | path

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

12345678910>>...168

/linux-6.1.9/arch/arm/mach-s3c/
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 …]
Ddevs.c79 struct platform_device s3c_device_ac97 = {
100 struct platform_device s3c_device_adc = {
115 struct platform_device s3c_device_adc = {
132 struct platform_device s3c_device_camif = {
154 struct platform_device s3c_device_fb = {
175 struct platform_device s3c_device_hwmon = {
202 struct platform_device s3c_device_hsmmc0 = {
232 struct platform_device s3c_device_hsmmc1 = {
264 struct platform_device s3c_device_hsmmc2 = {
294 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] = {
Ddev-audio-s3c64xx.c21 static int s3c64xx_i2s_cfg_gpio(struct platform_device *pdev) in s3c64xx_i2s_cfg_gpio()
57 struct platform_device s3c64xx_device_iis0 = {
76 struct platform_device s3c64xx_device_iis1 = {
98 struct platform_device s3c64xx_device_iisv4 = {
112 static int s3c64xx_pcm_cfg_gpio(struct platform_device *pdev) in s3c64xx_pcm_cfg_gpio()
141 struct platform_device s3c64xx_device_pcm0 = {
160 struct platform_device s3c64xx_device_pcm1 = {
173 static int s3c64xx_ac97_cfg_gpd(struct platform_device *pdev) in s3c64xx_ac97_cfg_gpd()
178 static int s3c64xx_ac97_cfg_gpe(struct platform_device *pdev) in s3c64xx_ac97_cfg_gpe()
193 struct platform_device s3c64xx_device_ac97 = {
/linux-6.1.9/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.c32 void __init pxa_register_device(struct platform_device *dev, void *data) in pxa_register_device()
49 struct platform_device pxa_device_pmu = {
71 struct platform_device pxa_device_mci = {
112 struct platform_device pxa25x_device_udc = {
123 struct platform_device pxa27x_device_udc = {
148 struct platform_device pxa3xx_device_u2d = {
176 struct platform_device pxa_device_fb = {
205 struct platform_device pxa_device_ffuart = {
229 struct platform_device pxa_device_btuart = {
253 struct platform_device pxa_device_stuart = {
[all …]
/linux-6.1.9/include/linux/
Dplatform_device.h23 struct platform_device { struct
50 #define to_platform_device(x) container_of((x), struct platform_device, dev) argument
52 extern int platform_device_register(struct platform_device *);
53 extern void platform_device_unregister(struct platform_device *);
58 extern struct resource *platform_get_resource(struct platform_device *,
60 extern struct resource *platform_get_mem_or_io(struct platform_device *,
67 devm_platform_get_and_ioremap_resource(struct platform_device *pdev,
70 devm_platform_ioremap_resource(struct platform_device *pdev,
73 devm_platform_ioremap_resource_byname(struct platform_device *pdev,
75 extern int platform_get_irq(struct platform_device *, unsigned int);
[all …]
/linux-6.1.9/include/linux/soc/cirrus/
Dep93xx.h5 struct platform_device;
14 int ep93xx_pwm_acquire_gpio(struct platform_device *pdev);
15 void ep93xx_pwm_release_gpio(struct platform_device *pdev);
16 int ep93xx_ide_acquire_gpio(struct platform_device *pdev);
17 void ep93xx_ide_release_gpio(struct platform_device *pdev);
18 int ep93xx_keypad_acquire_gpio(struct platform_device *pdev);
19 void ep93xx_keypad_release_gpio(struct platform_device *pdev);
25 static inline int ep93xx_pwm_acquire_gpio(struct platform_device *pdev) { return 0; } in ep93xx_pwm_acquire_gpio()
26 static inline void ep93xx_pwm_release_gpio(struct platform_device *pdev) {} in ep93xx_pwm_release_gpio()
27 static inline int ep93xx_ide_acquire_gpio(struct platform_device *pdev) { return 0; } in ep93xx_ide_acquire_gpio()
[all …]
/linux-6.1.9/arch/mips/include/asm/mach-loongson32/
Dplatform.h14 extern struct platform_device ls1x_uart_pdev;
15 extern struct platform_device ls1x_cpufreq_pdev;
16 extern struct platform_device ls1x_eth0_pdev;
17 extern struct platform_device ls1x_eth1_pdev;
18 extern struct platform_device ls1x_ehci_pdev;
19 extern struct platform_device ls1x_gpio0_pdev;
20 extern struct platform_device ls1x_gpio1_pdev;
21 extern struct platform_device ls1x_rtc_pdev;
22 extern struct platform_device ls1x_wdt_pdev;
25 void __init ls1x_rtc_set_extclk(struct platform_device *pdev);
[all …]
/linux-6.1.9/include/linux/platform_data/
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);
/linux-6.1.9/drivers/gpu/drm/rcar-du/
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-6.1.9/drivers/media/platform/mediatek/vpu/
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-6.1.9/drivers/platform/x86/dell/
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()
/linux-6.1.9/arch/arm/mach-omap2/
Domap_device.h56 struct platform_device *pdev;
66 int omap_device_enable(struct platform_device *pdev);
67 int omap_device_idle(struct platform_device *pdev);
71 struct omap_device *omap_device_alloc(struct platform_device *pdev,
78 int omap_device_get_context_loss_count(struct platform_device *pdev);
82 int omap_device_assert_hardreset(struct platform_device *pdev,
84 int omap_device_deassert_hardreset(struct platform_device *pdev,
88 static inline struct omap_device *to_omap_device(struct platform_device *pdev) in to_omap_device()
/linux-6.1.9/drivers/fpga/
Ddfl.h186 int (*get_id)(struct platform_device *pdev);
187 int (*enable_set)(struct platform_device *pdev, bool enable);
192 struct dfl_fpga_port_ops *dfl_fpga_port_ops_get(struct platform_device *pdev);
194 int dfl_fpga_check_port_id(struct platform_device *pdev, void *pport_id);
245 struct platform_device *dev;
279 struct platform_device *dev;
339 int (*init)(struct platform_device *pdev, struct dfl_feature *feature);
340 void (*uinit)(struct platform_device *pdev,
342 long (*ioctl)(struct platform_device *pdev, struct dfl_feature *feature,
349 void dfl_fpga_dev_feature_uinit(struct platform_device *pdev);
[all …]
/linux-6.1.9/drivers/net/ethernet/ibm/emac/
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);
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);
/linux-6.1.9/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-6.1.9/include/linux/mfd/
Dtc6393xb.h24 int (*enable)(struct platform_device *dev);
25 void (*disable)(struct platform_device *dev);
26 int (*suspend)(struct platform_device *dev);
27 int (*resume)(struct platform_device *dev);
39 extern int tc6393xb_lcd_mode(struct platform_device *fb,
41 extern int tc6393xb_lcd_set_power(struct platform_device *fb, bool on);
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-6.1.9/sound/soc/fsl/
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-6.1.9/drivers/usb/misc/
Dusb_u132.h58 void ftdi_elan_gone_away(struct platform_device *pdev);
67 int usb_ftdi_elan_edset_single(struct platform_device *pdev, u8 ed_number,
72 int usb_ftdi_elan_edset_output(struct platform_device *pdev, u8 ed_number,
77 int usb_ftdi_elan_edset_empty(struct platform_device *pdev, u8 ed_number,
82 int usb_ftdi_elan_edset_input(struct platform_device *pdev, u8 ed_number,
87 int usb_ftdi_elan_edset_setup(struct platform_device *pdev, u8 ed_number,
92 int usb_ftdi_elan_edset_flush(struct platform_device *pdev, u8 ed_number,
94 int usb_ftdi_elan_read_pcimem(struct platform_device *pdev, int mem_offset,
96 int usb_ftdi_elan_write_pcimem(struct platform_device *pdev, int mem_offset,
/linux-6.1.9/include/linux/usb/
Drenesas_usbhs.h49 int (*hardware_init)(struct platform_device *pdev);
57 int (*hardware_exit)(struct platform_device *pdev);
64 int (*power_ctrl)(struct platform_device *pdev,
72 int (*phy_reset)(struct platform_device *pdev);
79 int (*get_id)(struct platform_device *pdev);
84 int (*get_vbus)(struct platform_device *pdev);
91 int (*set_vbus)(struct platform_device *pdev, int enable);
/linux-6.1.9/arch/mips/loongson32/common/
Dplatform.c40 struct platform_device ls1x_uart_pdev = {
48 void __init ls1x_serial_set_uartclk(struct platform_device *pdev) in ls1x_serial_set_uartclk()
73 struct platform_device ls1x_cpufreq_pdev = {
89 int ls1x_eth_mux_init(struct platform_device *pdev, void *priv) in ls1x_eth_mux_init()
175 struct platform_device ls1x_eth0_pdev = {
212 struct platform_device ls1x_eth1_pdev = {
232 struct platform_device ls1x_gpio0_pdev = {
247 struct platform_device ls1x_gpio1_pdev = {
272 struct platform_device ls1x_ehci_pdev = {
284 void __init ls1x_rtc_set_extclk(struct platform_device *pdev) in ls1x_rtc_set_extclk()
[all …]
/linux-6.1.9/drivers/base/
Dplatform.c55 struct resource *platform_get_resource(struct platform_device *dev, in platform_get_resource()
70 struct resource *platform_get_mem_or_io(struct platform_device *dev, in platform_get_mem_or_io()
99 devm_platform_get_and_ioremap_resource(struct platform_device *pdev, in devm_platform_get_and_ioremap_resource()
122 void __iomem *devm_platform_ioremap_resource(struct platform_device *pdev, in devm_platform_ioremap_resource()
142 devm_platform_ioremap_resource_byname(struct platform_device *pdev, in devm_platform_ioremap_resource_byname()
171 int platform_get_irq_optional(struct platform_device *dev, unsigned int num) in platform_get_irq_optional()
259 int platform_get_irq(struct platform_device *dev, unsigned int num) in platform_get_irq()
278 int platform_irq_count(struct platform_device *dev) in platform_irq_count()
297 static void platform_disable_acpi_irq(struct platform_device *pdev, int index) in platform_disable_acpi_irq()
334 int devm_platform_get_irqs_affinity(struct platform_device *dev, in devm_platform_get_irqs_affinity()
[all …]

12345678910>>...168