Home
last modified time | relevance | path

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

12345678910>>...15

/linux-5.19.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()
/linux-5.19.10/arch/powerpc/platforms/pseries/
Dibmebus.c154 struct device_node *dn = to_platform_device(dev)->dev.of_node; in ibmebus_match_path()
160 return to_platform_device(dev)->dev.of_node == data; in ibmebus_match_node()
315 of_device_unregister(to_platform_device(dev)); in remove_store()
354 of_dev = to_platform_device(dev); in ibmebus_bus_device_probe()
371 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()
/linux-5.19.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()
/linux-5.19.10/arch/arm/mach-omap2/
Domap_device.c210 struct platform_device *pdev = to_platform_device(dev); in _omap_device_notifier_call()
377 struct platform_device *pdev = to_platform_device(dev); in _od_runtime_suspend()
389 struct platform_device *pdev = to_platform_device(dev); in _od_runtime_resume()
418 struct platform_device *pdev = to_platform_device(dev); in _od_suspend_noirq()
440 struct platform_device *pdev = to_platform_device(dev); in _od_resume_noirq()
648 struct platform_device *pdev = to_platform_device(dev); in omap_device_late_idle()
/linux-5.19.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()
/linux-5.19.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()
/linux-5.19.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()
/linux-5.19.10/drivers/base/
Dplatform.c316 platform_disable_acpi_irq(to_platform_device(dev), i); in devm_platform_get_irqs_affinity_release()
1094 struct platform_device *pdev = to_platform_device(dev); in platform_legacy_suspend()
1106 struct platform_device *pdev = to_platform_device(dev); in platform_legacy_resume()
1242 struct platform_device *pdev = to_platform_device(dev); in modalias_show()
1267 struct platform_device *pdev = to_platform_device(dev); in driver_override_show()
1281 struct platform_device *pdev = to_platform_device(dev); in driver_override_store()
1333 struct platform_device *pdev = to_platform_device(dev); in platform_match()
1358 struct platform_device *pdev = to_platform_device(dev); in platform_uevent()
1378 struct platform_device *dev = to_platform_device(_dev); in platform_probe()
1417 struct platform_device *dev = to_platform_device(_dev); in platform_remove()
[all …]
/linux-5.19.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()
Dpalmas-pwrbutton.c279 struct platform_device *pdev = to_platform_device(dev); in palmas_pwron_suspend()
300 struct platform_device *pdev = to_platform_device(dev); in palmas_pwron_resume()
/linux-5.19.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()
180 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()
235 struct platform_device *pdev = to_platform_device(apb->dev); in bt1_apb_request_irq()
/linux-5.19.10/drivers/usb/dwc3/
Dhost.c24 struct platform_device *pdev = to_platform_device(dwc->dev); in dwc3_host_fill_xhci_irq_res()
38 struct platform_device *dwc3_pdev = to_platform_device(dwc->dev); in dwc3_host_get_irq()
/linux-5.19.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()
/linux-5.19.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()
/linux-5.19.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()
/linux-5.19.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()
/linux-5.19.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()
/linux-5.19.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()
/linux-5.19.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()
/linux-5.19.10/drivers/input/keyboard/
Dsamsung-keypad.c464 struct platform_device *pdev = to_platform_device(dev); in samsung_keypad_runtime_suspend()
488 struct platform_device *pdev = to_platform_device(dev); in samsung_keypad_runtime_resume()
533 struct platform_device *pdev = to_platform_device(dev); in samsung_keypad_suspend()
551 struct platform_device *pdev = to_platform_device(dev); in samsung_keypad_resume()

12345678910>>...15