Home
last modified time | relevance | path

Searched refs:rt_platform_device (Results 1 – 19 of 19) sorted by relevance

/components/drivers/include/drivers/
A Dplatform.h18 struct rt_platform_device struct
37 rt_err_t (*probe)(struct rt_platform_device *pdev); argument
38 rt_err_t (*remove)(struct rt_platform_device *pdev);
39 rt_err_t (*shutdown)(struct rt_platform_device *pdev);
42 struct rt_platform_device *rt_platform_device_alloc(const char *name);
45 rt_err_t rt_platform_device_register(struct rt_platform_device *pdev);
49 rt_err_t rt_platform_ofw_free(struct rt_platform_device *pdev);
/components/drivers/sdio/sdhci/include/
A Dsdhci-platform.h35 void rt_sdhci_get_property(struct rt_platform_device *pdev);
37 static inline void sdhci_get_of_property(struct rt_platform_device *pdev) in sdhci_get_of_property()
41 extern struct rt_sdhci_host *rt_sdhci_pltfm_init(struct rt_platform_device *pdev,
44 extern void rt_sdhci_pltfm_free(struct rt_platform_device *pdev);
46 extern int rt_sdhci_pltfm_init_and_add_host(struct rt_platform_device *pdev,
49 extern void rt_sdhci_pltfm_remove(struct rt_platform_device *pdev);
/components/drivers/core/
A Dplatform.c32 struct rt_platform_device *rt_platform_device_alloc(const char *name) in rt_platform_device_alloc()
34 struct rt_platform_device *pdev = rt_calloc(1, sizeof(*pdev)); in rt_platform_device_alloc()
70 rt_err_t rt_platform_device_register(struct rt_platform_device *pdev) in rt_platform_device_register()
80 struct rt_platform_device *pdev = rt_container_of(dev, struct rt_platform_device, parent); in platform_match()
117 struct rt_platform_device *pdev = rt_container_of(dev, struct rt_platform_device, parent); in platform_probe()
164 struct rt_platform_device *pdev = rt_container_of(dev, struct rt_platform_device, parent); in platform_remove()
180 struct rt_platform_device *pdev = rt_container_of(dev, struct rt_platform_device, parent); in platform_shutdown()
A Dplatform_ofw.c86 static struct rt_platform_device *alloc_ofw_platform_device(struct rt_ofw_node *np) in alloc_ofw_platform_device()
88 struct rt_platform_device *pdev = rt_platform_device_alloc(""); in alloc_ofw_platform_device()
112 struct rt_platform_device *pdev; in platform_ofw_device_probe_once()
195 struct rt_platform_device *pdev = alloc_ofw_platform_device(np); in rt_platform_ofw_device_probe_child()
239 struct rt_platform_device *pdev = alloc_ofw_platform_device(np); in rt_platform_ofw_request()
305 rt_err_t rt_platform_ofw_free(struct rt_platform_device *pdev) in rt_platform_ofw_free()
/components/drivers/sdio/sdhci/
A Dsdhci-platform.c19 void rt_sdhci_get_property(struct rt_platform_device *pdev) in rt_sdhci_get_property()
47 struct rt_sdhci_host *rt_sdhci_pltfm_init(struct rt_platform_device *pdev, in rt_sdhci_pltfm_init()
91 int rt_sdhci_pltfm_init_and_add_host(struct rt_platform_device *pdev, in rt_sdhci_pltfm_init_and_add_host()
111 void rt_sdhci_pltfm_free(struct rt_platform_device *pdev) in rt_sdhci_pltfm_free()
118 void rt_sdhci_pltfm_remove(struct rt_platform_device *pdev) in rt_sdhci_pltfm_remove()
/components/drivers/mfd/
A Dmfd-syscon.c84 static rt_err_t syscon_probe(struct rt_platform_device *pdev);
90 struct rt_platform_device syscon_pdev; in rt_syscon_find_by_ofw_node()
164 static rt_err_t syscon_probe(struct rt_platform_device *pdev) in syscon_probe()
212 static rt_err_t syscon_remove(struct rt_platform_device *pdev) in syscon_remove()
/components/drivers/pci/
A Decam.h66 rt_err_t pci_host_common_probe(struct rt_platform_device *pdev);
67 rt_err_t pci_host_common_remove(struct rt_platform_device *pdev);
/components/drivers/pci/host/
A Dpci-host-common.c15 rt_err_t pci_host_common_probe(struct rt_platform_device *pdev) in pci_host_common_probe()
72 rt_err_t pci_host_common_remove(struct rt_platform_device *pdev) in pci_host_common_remove()
/components/drivers/clk/
A Dclk-fixed-rate.c16 static rt_err_t fixed_clk_ofw_init(struct rt_platform_device *pdev, struct rt_clk_fixed_rate *clk_f… in fixed_clk_ofw_init()
45 static rt_err_t fixed_clk_probe(struct rt_platform_device *pdev) in fixed_clk_probe()
/components/drivers/thermal/
A Dthermal-cool-pwm-fan.c163 static rt_err_t pwm_fan_cool_probe(struct rt_platform_device *pdev) in pwm_fan_cool_probe()
256 static rt_err_t pwm_fan_cool_remove(struct rt_platform_device *pdev) in pwm_fan_cool_remove()
268 static rt_err_t pwm_fan_cool_shutdown(struct rt_platform_device *pdev) in pwm_fan_cool_shutdown()
/components/drivers/led/
A Dled-gpio.c148 static rt_err_t gpio_led_probe(struct rt_platform_device *pdev) in gpio_led_probe()
187 static rt_err_t gpio_led_remove(struct rt_platform_device *pdev) in gpio_led_remove()
/components/drivers/pci/host/dw/
A Dpcie-dw_platfrom.c170 static rt_err_t dw_platform_pcie_probe(struct rt_platform_device *pdev) in dw_platform_pcie_probe()
255 static rt_err_t dw_platform_pcie_remove(struct rt_platform_device *pdev) in dw_platform_pcie_remove()
/components/drivers/mailbox/
A Dmailbox-pic.c161 static rt_err_t pic_mbox_probe(struct rt_platform_device *pdev) in pic_mbox_probe()
265 static rt_err_t pic_mbox_remove(struct rt_platform_device *pdev) in pic_mbox_remove()
/components/drivers/regulator/
A Dregulator-fixed.c93 static rt_err_t regulator_fixed_probe(struct rt_platform_device *pdev) in regulator_fixed_probe()
A Dregulator-gpio.c170 static rt_err_t regulator_gpio_probe(struct rt_platform_device *pdev) in regulator_gpio_probe()
/components/drivers/reset/
A Dreset-simple.c105 static rt_err_t reset_simple_probe(struct rt_platform_device *pdev) in reset_simple_probe()
/components/drivers/watchdog/
A Dwatchdog-dw.c513 static rt_err_t dw_wdt_probe(struct rt_platform_device *pdev) in dw_wdt_probe()
589 static rt_err_t dw_wdt_remove(struct rt_platform_device *pdev) in dw_wdt_remove()
/components/drivers/ofw/
A Dofw.c189 struct rt_platform_device *pdev; in tty_device_compare()
192 pdev = rt_container_of(dev, struct rt_platform_device, parent); in tty_device_compare()
/components/drivers/hwtimer/
A Dhwtimer-arm_arch.c316 static rt_err_t arm_arch_timer_probe(struct rt_platform_device *pdev) in arm_arch_timer_probe()

Completed in 20 milliseconds