Home
last modified time | relevance | path

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

12345678910>>...15

/linux/drivers/net/wireless/ath/ath5k/
H A Dahb.c39 struct platform_device *pdev = to_platform_device(ah->dev); in ath5k_ahb_eeprom_read()
56 struct platform_device *pdev = to_platform_device(ah->dev); in ath5k_hw_read_srev()
64 struct platform_device *pdev = to_platform_device(ah->dev); in ath5k_ahb_eeprom_read_mac()
68 if (to_platform_device(ah->dev)->id == 0) in ath5k_ahb_eeprom_read_mac()
150 if (to_platform_device(ah->dev)->id == 0) in ath_ahb_probe()
161 if (to_platform_device(ah->dev)->id == 0 && in ath_ahb_probe()
208 if (to_platform_device(ah->dev)->id == 0) in ath_ahb_remove()
/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/scsi/
H A Dsun_esp.c85 struct platform_device *op = to_platform_device(esp->dev); in esp_sbus_map_regs()
116 struct platform_device *op = to_platform_device(esp->dev); in esp_sbus_register_irq()
124 struct platform_device *op = to_platform_device(esp->dev); in esp_get_scsi_id()
146 struct platform_device *op = to_platform_device(esp->dev); in esp_get_differential()
158 struct platform_device *op = to_platform_device(esp->dev); in esp_get_clock_params()
175 struct platform_device *op = to_platform_device(esp->dev); in esp_get_bursts()
226 struct platform_device *op = to_platform_device(esp->dev); in sbus_esp_reset_dma()
/linux/sound/soc/atmel/
H A Datmel_ssc_dai.c272 struct platform_device *pdev = to_platform_device(dai->dev); in atmel_ssc_startup()
335 struct platform_device *pdev = to_platform_device(dai->dev); in atmel_ssc_shutdown()
381 struct platform_device *pdev = to_platform_device(cpu_dai->dev); in atmel_ssc_set_dai_fmt()
394 struct platform_device *pdev = to_platform_device(cpu_dai->dev); in atmel_ssc_set_dai_clkdiv()
461 struct platform_device *pdev = to_platform_device(dai->dev); in atmel_ssc_hw_params()
715 struct platform_device *pdev = to_platform_device(dai->dev); in atmel_ssc_prepare()
739 struct platform_device *pdev = to_platform_device(dai->dev); in atmel_ssc_trigger()
768 struct platform_device *pdev = to_platform_device(component->dev); in atmel_ssc_suspend()
795 struct platform_device *pdev = to_platform_device(component->dev); in atmel_ssc_resume()
/linux/drivers/usb/dwc3/
H A Dhost.c71 pdev = to_platform_device(hcd->self.controller); in dwc3_xhci_plat_start()
84 struct platform_device *pdev = to_platform_device(dwc->dev); in dwc3_host_fill_xhci_irq_res()
98 struct platform_device *dwc3_pdev = to_platform_device(dwc->dev); in dwc3_host_get_irq()
/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 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/hwmon/
H A Dmc13783-adc.c71 struct platform_device *pdev = to_platform_device(dev); in mc13783_adc_bp_show()
114 struct platform_device *pdev = to_platform_device(dev); in mc13783_adc_uid_show()
136 struct platform_device *pdev = to_platform_device(dev); in mc13783_adc_temp_show()
/linux/drivers/thermal/st/
H A Dst_thermal_memmap.c93 struct platform_device *pdev = to_platform_device(dev); in st_mmap_register_enable_irq()
121 struct platform_device *pdev = to_platform_device(dev); in st_mmap_regmap_init()
/linux/drivers/usb/host/
H A Dehci-st.c50 struct platform_device *pdev = to_platform_device(hcd->self.controller); in st_ehci_platform_reset()
276 struct platform_device *pdev = to_platform_device(dev); in st_ehci_suspend()
296 struct platform_device *pdev = to_platform_device(dev); in st_ehci_resume()
/linux/drivers/gpu/drm/msm/dp/
H A Ddp_audio.c383 pdev = to_platform_device(dev); in dp_audio_hook_plugged_cb()
404 pdev = to_platform_device(dev); in dp_audio_get_eld()
433 pdev = to_platform_device(dev); in dp_audio_hw_params()
474 pdev = to_platform_device(dev); in dp_audio_shutdown()
/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()
/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()
/linux/drivers/gpu/drm/
H A Ddrm_aperture.c150 pdev = to_platform_device(dev->dev); in devm_aperture_acquire_from_firmware()
/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()

12345678910>>...15