Home
last modified time | relevance | path

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

12345678910>>...15

/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath5k/
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()
153 if (to_platform_device(ah->dev)->id == 0) in ath_ahb_probe()
164 if (to_platform_device(ah->dev)->id == 0 && in ath_ahb_probe()
211 if (to_platform_device(ah->dev)->id == 0) in ath_ahb_remove()
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/
Dibmebus.c153 struct device_node *dn = to_platform_device(dev)->dev.of_node; in ibmebus_match_path()
159 return to_platform_device(dev)->dev.of_node == data; in ibmebus_match_node()
314 of_device_unregister(to_platform_device(dev)); in remove_store()
353 of_dev = to_platform_device(dev); in ibmebus_bus_device_probe()
370 struct platform_device *of_dev = to_platform_device(dev); in ibmebus_bus_device_remove()
380 struct platform_device *of_dev = to_platform_device(dev); in ibmebus_bus_device_shutdown()
395 ofdev = to_platform_device(dev); in devspec_show()
405 ofdev = to_platform_device(dev); in name_show()
/kernel/linux/linux-5.10/drivers/leds/
Dleds-asic3.c39 struct platform_device *pdev = to_platform_device(cdev->dev->parent); in brightness_set()
58 struct platform_device *pdev = to_platform_device(cdev->dev->parent); in blink_set()
136 struct platform_device *pdev = to_platform_device(dev); in asic3_led_suspend()
149 struct platform_device *pdev = to_platform_device(dev); in asic3_led_resume()
/kernel/linux/linux-5.10/arch/arm/mach-omap2/
Domap_device.c213 struct platform_device *pdev = to_platform_device(dev); in _omap_device_notifier_call()
381 struct platform_device *pdev = to_platform_device(dev); in _od_runtime_suspend()
393 struct platform_device *pdev = to_platform_device(dev); in _od_runtime_resume()
422 struct platform_device *pdev = to_platform_device(dev); in _od_suspend_noirq()
444 struct platform_device *pdev = to_platform_device(dev); in _od_resume_noirq()
669 struct platform_device *pdev = to_platform_device(dev); in omap_device_late_idle()
/kernel/linux/linux-5.10/drivers/scsi/
Dsun_esp.c84 struct platform_device *op = to_platform_device(esp->dev); in esp_sbus_map_regs()
115 struct platform_device *op = to_platform_device(esp->dev); in esp_sbus_register_irq()
123 struct platform_device *op = to_platform_device(esp->dev); in esp_get_scsi_id()
145 struct platform_device *op = to_platform_device(esp->dev); in esp_get_differential()
157 struct platform_device *op = to_platform_device(esp->dev); in esp_get_clock_params()
174 struct platform_device *op = to_platform_device(esp->dev); in esp_get_bursts()
225 struct platform_device *op = to_platform_device(esp->dev); in sbus_esp_reset_dma()
/kernel/linux/linux-5.10/drivers/staging/greybus/
Darche-apb-ctrl.c230 return coldboot_seq(to_platform_device(dev)); in apb_ctrl_coldboot()
235 return fw_flashing_seq(to_platform_device(dev)); in apb_ctrl_fw_flashing()
240 return standby_boot_seq(to_platform_device(dev)); in apb_ctrl_standby_boot()
245 poweroff_seq(to_platform_device(dev)); in apb_ctrl_poweroff()
252 struct platform_device *pdev = to_platform_device(dev); in state_store()
/kernel/linux/linux-5.10/sound/soc/atmel/
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()
769 struct platform_device *pdev = to_platform_device(component->dev); in atmel_ssc_suspend()
796 struct platform_device *pdev = to_platform_device(component->dev); in atmel_ssc_resume()
/kernel/linux/linux-5.10/drivers/base/
Dplatform.c749 struct platform_device *dev = to_platform_device(_dev); in platform_drv_probe()
783 struct platform_device *dev = to_platform_device(_dev); in platform_drv_remove()
796 struct platform_device *dev = to_platform_device(_dev); in platform_drv_shutdown()
1029 struct platform_device *pdev = to_platform_device(dev); in modalias_show()
1048 struct platform_device *pdev = to_platform_device(dev); in driver_override_store()
1081 struct platform_device *pdev = to_platform_device(dev); in driver_override_show()
1126 struct platform_device *pdev = to_platform_device(dev); in platform_uevent()
1172 struct platform_device *pdev = to_platform_device(dev); in platform_match()
1200 struct platform_device *pdev = to_platform_device(dev); in platform_legacy_suspend()
1212 struct platform_device *pdev = to_platform_device(dev); in platform_legacy_resume()
/kernel/linux/linux-5.10/drivers/input/misc/
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()
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()
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()
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()
Dgpio-vibra.c162 struct platform_device *pdev = to_platform_device(dev); in gpio_vibrator_suspend()
174 struct platform_device *pdev = to_platform_device(dev); in gpio_vibrator_resume()
/kernel/linux/linux-5.10/drivers/usb/dwc3/
Dhost.c17 struct platform_device *dwc3_pdev = to_platform_device(dwc->dev); in dwc3_host_get_irq()
51 struct platform_device *dwc3_pdev = to_platform_device(dwc->dev); in dwc3_host_init()
/kernel/linux/linux-5.10/drivers/bus/
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()
182 struct platform_device *pdev = to_platform_device(axi->dev); in bt1_axi_request_irq()
Dbt1-apb.c121 struct platform_device *pdev = to_platform_device(apb->dev); in bt1_apb_clear_data()
151 struct platform_device *pdev = to_platform_device(apb->dev); in bt1_apb_request_regs()
237 struct platform_device *pdev = to_platform_device(apb->dev); in bt1_apb_request_irq()
/kernel/linux/linux-5.10/drivers/dma/
Dstm32-dmamux.c310 struct platform_device *pdev = to_platform_device(dev); in stm32_dmamux_runtime_suspend()
320 struct platform_device *pdev = to_platform_device(dev); in stm32_dmamux_runtime_resume()
337 struct platform_device *pdev = to_platform_device(dev); in stm32_dmamux_suspend()
358 struct platform_device *pdev = to_platform_device(dev); in stm32_dmamux_resume()
/kernel/linux/linux-5.10/drivers/hwmon/
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()
/kernel/linux/linux-5.10/drivers/thermal/st/
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()
/kernel/linux/linux-5.10/drivers/pwm/
Dpwm-ep93xx.c49 struct platform_device *pdev = to_platform_device(chip->dev); in ep93xx_pwm_request()
56 struct platform_device *pdev = to_platform_device(chip->dev); in ep93xx_pwm_free()
/kernel/linux/linux-5.10/drivers/mmc/host/
Dtmio_mmc.c89 struct platform_device *pdev = to_platform_device(dev); in tmio_mmc_suspend()
104 struct platform_device *pdev = to_platform_device(dev); in tmio_mmc_resume()
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/edp/
Dedp.c74 edp = edp_init(to_platform_device(dev)); in edp_bind()
89 edp_destroy(to_platform_device(dev)); in edp_unbind()
/kernel/linux/linux-5.10/drivers/usb/host/
Dehci-st.c52 struct platform_device *pdev = to_platform_device(hcd->self.controller); in st_ehci_platform_reset()
286 struct platform_device *pdev = to_platform_device(dev); in st_ehci_suspend()
306 struct platform_device *pdev = to_platform_device(dev); in st_ehci_resume()
/kernel/linux/linux-5.10/drivers/rtc/
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()
/kernel/linux/linux-5.10/drivers/platform/chrome/
Dcros_ec_sensorhub.c227 struct platform_device *pdev = to_platform_device(dev); in cros_ec_sensorhub_suspend()
238 struct platform_device *pdev = to_platform_device(dev); in cros_ec_sensorhub_resume()

12345678910>>...15