Home
last modified time | relevance | path

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

12345678910>>...156

/linux-6.6.21/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 pxa_device_fb;
13 extern struct platform_device pxa_device_ffuart;
14 extern struct platform_device pxa_device_btuart;
15 extern struct platform_device pxa_device_stuart;
[all …]
Ddevices.c26 void __init pxa_register_device(struct platform_device *dev, void *data) in pxa_register_device()
43 struct platform_device pxa_device_pmu = {
65 struct platform_device pxa_device_mci = {
100 struct platform_device pxa25x_device_udc = {
111 struct platform_device pxa27x_device_udc = {
137 struct platform_device pxa_device_fb = {
166 struct platform_device pxa_device_ffuart = {
190 struct platform_device pxa_device_btuart = {
214 struct platform_device pxa_device_stuart = {
238 struct platform_device pxa_device_hwuart = {
[all …]
/linux-6.6.21/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 *,
69 devm_platform_get_and_ioremap_resource(struct platform_device *pdev,
72 devm_platform_ioremap_resource(struct platform_device *pdev,
75 devm_platform_ioremap_resource_byname(struct platform_device *pdev,
80 devm_platform_get_and_ioremap_resource(struct platform_device *pdev, in devm_platform_get_and_ioremap_resource()
[all …]
Dof_platform.h53 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-6.6.21/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_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 …]
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-6.6.21/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.6.21/arch/mips/include/asm/mach-loongson32/
Dplatform.h14 extern struct platform_device ls1x_uart_pdev;
15 extern struct platform_device ls1x_eth0_pdev;
16 extern struct platform_device ls1x_eth1_pdev;
17 extern struct platform_device ls1x_ehci_pdev;
18 extern struct platform_device ls1x_gpio0_pdev;
19 extern struct platform_device ls1x_gpio1_pdev;
20 extern struct platform_device ls1x_rtc_pdev;
21 extern struct platform_device ls1x_wdt_pdev;
23 void __init ls1x_rtc_set_extclk(struct platform_device *pdev);
24 void __init ls1x_serial_set_uartclk(struct platform_device *pdev);
/linux-6.6.21/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);
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-6.6.21/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_platform.h15 stmmac_probe_config_dt(struct platform_device *pdev, u8 *mac);
17 devm_stmmac_probe_config_dt(struct platform_device *pdev, u8 *mac);
18 void stmmac_remove_config_dt(struct platform_device *pdev,
21 int stmmac_get_platform_resources(struct platform_device *pdev,
24 int stmmac_pltfr_init(struct platform_device *pdev,
26 void stmmac_pltfr_exit(struct platform_device *pdev,
29 int stmmac_pltfr_probe(struct platform_device *pdev,
32 int devm_stmmac_pltfr_probe(struct platform_device *pdev,
35 void stmmac_pltfr_remove_no_dt(struct platform_device *pdev);
36 void stmmac_pltfr_remove(struct platform_device *pdev);
/linux-6.6.21/drivers/gpu/drm/renesas/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.6.21/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.6.21/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.6.21/drivers/usb/fotg210/
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-6.6.21/drivers/fpga/
Ddfl.h222 int (*get_id)(struct platform_device *pdev);
223 int (*enable_set)(struct platform_device *pdev, bool enable);
228 struct dfl_fpga_port_ops *dfl_fpga_port_ops_get(struct platform_device *pdev);
230 int dfl_fpga_check_port_id(struct platform_device *pdev, void *pport_id);
285 struct platform_device *dev;
322 struct platform_device *dev;
382 int (*init)(struct platform_device *pdev, struct dfl_feature *feature);
383 void (*uinit)(struct platform_device *pdev,
385 long (*ioctl)(struct platform_device *pdev, struct dfl_feature *feature,
392 void dfl_fpga_dev_feature_uinit(struct platform_device *pdev);
[all …]
/linux-6.6.21/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.6.21/arch/arm/plat-orion/
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-6.6.21/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.6.21/arch/arm/mach-omap2/
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-6.6.21/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.6.21/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 …]
/linux-6.6.21/include/linux/mfd/
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.6.21/arch/arm/mach-ep93xx/
Dcore.c155 static struct platform_device ep93xx_gpio_device = {
198 static struct platform_device ep93xx_rtc_device = {
211 static int ep93xx_ohci_power_on(struct platform_device *pdev) in ep93xx_ohci_power_on()
222 static void ep93xx_ohci_power_off(struct platform_device *pdev) in ep93xx_ohci_power_off()
240 static struct platform_device ep93xx_ohci_device = {
261 static struct platform_device ep93xx_flash = {
301 static struct platform_device ep93xx_eth_device = {
346 static struct platform_device ep93xx_i2c_device = {
389 static struct platform_device ep93xx_spi_device = {
457 static struct platform_device ep93xx_pwm0_device = {
[all …]

12345678910>>...156