Home
last modified time | relevance | path

Searched refs:to_platform_device (Results 1 – 25 of 293) sorted by relevance

12345678910>>...12

/linux/arch/powerpc/platforms/pseries/
H A Dibmebus.c155 struct device_node *dn = to_platform_device(dev)->dev.of_node; in ibmebus_match_path()
165 return to_platform_device(dev)->dev.of_node == data; in ibmebus_match_node()
320 of_device_unregister(to_platform_device(dev)); in remove_store()
359 of_dev = to_platform_device(dev); in ibmebus_bus_device_probe()
376 struct platform_device *of_dev = to_platform_device(dev); in ibmebus_bus_device_remove()
385 struct platform_device *of_dev = to_platform_device(dev); in ibmebus_bus_device_shutdown()
400 ofdev = to_platform_device(dev); in devspec_show()
410 ofdev = to_platform_device(dev); in name_show()
/linux/arch/arm/mach-omap2/
H A Domap_device.c216 struct platform_device *pdev = to_platform_device(dev); in _omap_device_notifier_call()
354 struct platform_device *pdev = to_platform_device(dev); in _od_runtime_suspend()
366 struct platform_device *pdev = to_platform_device(dev); in _od_runtime_resume()
395 struct platform_device *pdev = to_platform_device(dev); in _od_suspend_noirq()
417 struct platform_device *pdev = to_platform_device(dev); in _od_resume_noirq()
593 struct platform_device *pdev = to_platform_device(dev); in omap_device_late_idle()
/linux/drivers/base/
H A Dplatform.c317 platform_disable_acpi_irq(to_platform_device(dev), i); in devm_platform_get_irqs_affinity_release()
1098 struct platform_device *pdev = to_platform_device(dev); in platform_legacy_suspend()
1110 struct platform_device *pdev = to_platform_device(dev); in platform_legacy_resume()
1246 struct platform_device *pdev = to_platform_device(dev); in modalias_show()
1271 struct platform_device *pdev = to_platform_device(dev); in driver_override_show()
1285 struct platform_device *pdev = to_platform_device(dev); in driver_override_store()
1337 struct platform_device *pdev = to_platform_device(dev); in platform_match()
1362 const struct platform_device *pdev = to_platform_device(dev); in platform_uevent()
1382 struct platform_device *dev = to_platform_device(_dev); in platform_probe()
1421 struct platform_device *dev = to_platform_device(_dev); in platform_remove()
[all …]
/linux/drivers/bus/
H A Dbt1-axi.c87 struct platform_device *pdev = to_platform_device(axi->dev); in bt1_axi_clear_data()
117 struct platform_device *pdev = to_platform_device(axi->dev); in bt1_axi_request_regs()
161 struct platform_device *pdev = to_platform_device(axi->dev); in bt1_axi_request_irq()
H A Dbt1-apb.c120 struct platform_device *pdev = to_platform_device(apb->dev); in bt1_apb_clear_data()
150 struct platform_device *pdev = to_platform_device(apb->dev); in bt1_apb_request_regs()
213 struct platform_device *pdev = to_platform_device(apb->dev); in bt1_apb_request_irq()
/linux/drivers/input/misc/
H A De3x0-button.c40 struct platform_device *pdev = to_platform_device(dev); in e3x0_button_suspend()
50 struct platform_device *pdev = to_platform_device(dev); in e3x0_button_resume()
H A D88pm860x_onkey.c115 struct platform_device *pdev = to_platform_device(dev); in pm860x_onkey_suspend()
124 struct platform_device *pdev = to_platform_device(dev); in pm860x_onkey_resume()
H A Dmax8925_onkey.c134 struct platform_device *pdev = to_platform_device(dev); in max8925_onkey_suspend()
148 struct platform_device *pdev = to_platform_device(dev); in max8925_onkey_resume()
H A Dgpio-vibra.c154 struct platform_device *pdev = to_platform_device(dev); in gpio_vibrator_suspend()
166 struct platform_device *pdev = to_platform_device(dev); in gpio_vibrator_resume()
H A Dstpmic1_onkey.c147 struct platform_device *pdev = to_platform_device(dev); in stpmic1_onkey_suspend()
159 struct platform_device *pdev = to_platform_device(dev); in stpmic1_onkey_resume()
H A Dnxp-bbnsm-pwrkey.c192 struct platform_device *pdev = to_platform_device(dev); in bbnsm_pwrkey_suspend()
202 struct platform_device *pdev = to_platform_device(dev); in bbnsm_pwrkey_resume()
H A Dregulator-haptic.c204 struct platform_device *pdev = to_platform_device(dev); in regulator_haptic_suspend()
219 struct platform_device *pdev = to_platform_device(dev); in regulator_haptic_resume()
H A Dpalmas-pwrbutton.c269 struct platform_device *pdev = to_platform_device(dev); in palmas_pwron_suspend()
290 struct platform_device *pdev = to_platform_device(dev); in palmas_pwron_resume()
/linux/drivers/dma/stm32/
H A Dstm32-dmamux.c304 struct platform_device *pdev = to_platform_device(dev); in stm32_dmamux_runtime_suspend()
314 struct platform_device *pdev = to_platform_device(dev); in stm32_dmamux_runtime_resume()
331 struct platform_device *pdev = to_platform_device(dev); in stm32_dmamux_suspend()
352 struct platform_device *pdev = to_platform_device(dev); in stm32_dmamux_resume()
/linux/drivers/gpu/drm/imagination/
H A Dpvr_power.c236 struct platform_device *plat_dev = to_platform_device(dev); in pvr_power_device_suspend()
264 struct platform_device *plat_dev = to_platform_device(dev); in pvr_power_device_resume()
313 struct platform_device *plat_dev = to_platform_device(dev); in pvr_power_device_idle()
/linux/drivers/rtc/
H A Drtc-da9055.c320 struct platform_device *pdev = to_platform_device(dev); in da9055_rtc_suspend()
339 struct platform_device *pdev = to_platform_device(dev); in da9055_rtc_resume()
358 struct platform_device *pdev = to_platform_device(dev); in da9055_rtc_freeze()
H A Drtc-xgene.c206 struct platform_device *pdev = to_platform_device(dev); in xgene_rtc_suspend()
230 struct platform_device *pdev = to_platform_device(dev); in xgene_rtc_resume()
/linux/drivers/input/keyboard/
H A Dsamsung-keypad.c460 struct platform_device *pdev = to_platform_device(dev); in samsung_keypad_runtime_suspend()
484 struct platform_device *pdev = to_platform_device(dev); in samsung_keypad_runtime_resume()
527 struct platform_device *pdev = to_platform_device(dev); in samsung_keypad_suspend()
545 struct platform_device *pdev = to_platform_device(dev); in samsung_keypad_resume()
H A Dst-keyscan.c215 struct platform_device *pdev = to_platform_device(dev); in keyscan_suspend()
231 struct platform_device *pdev = to_platform_device(dev); in keyscan_resume()
/linux/drivers/gpu/drm/bridge/cadence/
H A Dcdns-dsi-j721e.c25 struct platform_device *pdev = to_platform_device(dsi->base.dev); in cdns_dsi_j721e_init()
H A Dcdns-mhdp8546-j721e.c45 struct platform_device *pdev = to_platform_device(mhdp->dev); in cdns_mhdp_j721e_init()
/linux/drivers/macintosh/
H A Dadb.c278 return __adb_suspend(to_platform_device(dev), PMSG_SUSPEND); in adb_suspend()
283 return __adb_suspend(to_platform_device(dev), PMSG_FREEZE); in adb_freeze()
288 return __adb_suspend(to_platform_device(dev), PMSG_HIBERNATE); in adb_poweroff()
305 return __adb_resume(to_platform_device(dev)); in adb_resume()
/linux/include/linux/mfd/
H A D88pm80x.h345 struct platform_device *pdev = to_platform_device(dev); in pm80x_dev_suspend()
357 struct platform_device *pdev = to_platform_device(dev); in pm80x_dev_resume()
/linux/arch/sparc/kernel/
H A Dtime_32.c241 struct platform_device *pdev = to_platform_device(dev); in mostek_read_byte()
249 struct platform_device *pdev = to_platform_device(dev); in mostek_write_byte()
/linux/drivers/mmc/host/
H A Dcb710-mmc.h30 struct platform_device *pdev = to_platform_device(mmc_dev(mmc)); in cb710_mmc_to_slot()

12345678910>>...12