/openbmc/linux/drivers/net/wireless/ath/ath5k/ |
H A D | ahb.c | 39 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()
|
/openbmc/linux/arch/powerpc/platforms/pseries/ |
H A D | ibmebus.c | 155 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()
|
/openbmc/linux/drivers/usb/dwc3/ |
H A D | host.c | 27 pdev = to_platform_device(hcd->self.controller); in dwc3_xhci_plat_start() 40 struct platform_device *pdev = to_platform_device(dwc->dev); in dwc3_host_fill_xhci_irq_res() 54 struct platform_device *dwc3_pdev = to_platform_device(dwc->dev); in dwc3_host_get_irq()
|
/openbmc/linux/arch/arm/mach-omap2/ |
H A D | omap_device.c | 216 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()
|
/openbmc/linux/drivers/staging/greybus/ |
H A D | arche-apb-ctrl.c | 230 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()
|
/openbmc/linux/drivers/scsi/ |
H A D | sun_esp.c | 85 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()
|
/openbmc/linux/sound/soc/atmel/ |
H A D | atmel_ssc_dai.c | 272 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()
|
/openbmc/u-boot/drivers/usb/musb-new/ |
H A D | musb_dsps.c | 152 struct platform_device *pdev = to_platform_device(dev->parent); in dsps_musb_enable() 185 struct platform_device *pdev = to_platform_device(dev->parent); in dsps_musb_disable() 204 struct platform_device *pdev = to_platform_device(dev->parent); in otg_timer() 258 struct platform_device *pdev = to_platform_device(dev->parent); in dsps_musb_try_idle() 298 struct platform_device *pdev = to_platform_device(dev->parent); in dsps_interrupt() 413 struct platform_device *pdev = to_platform_device(dev->parent); in dsps_musb_init() 481 struct platform_device *pdev = to_platform_device(dev->parent); in dsps_musb_exit() 530 struct platform_device *pdev = to_platform_device(dev); in dsps_create_musb_pdev()
|
/openbmc/linux/drivers/input/misc/ |
H A D | e3x0-button.c | 40 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 D | 88pm860x_onkey.c | 115 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 D | max8925_onkey.c | 134 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 D | stpmic1_onkey.c | 147 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 D | gpio-vibra.c | 154 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 D | palmas-pwrbutton.c | 271 struct platform_device *pdev = to_platform_device(dev); in palmas_pwron_suspend() 292 struct platform_device *pdev = to_platform_device(dev); in palmas_pwron_resume()
|
/openbmc/linux/drivers/base/ |
H A D | platform.c | 316 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 …]
|
/openbmc/linux/drivers/bus/ |
H A D | bt1-axi.c | 87 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()
|
H A D | bt1-apb.c | 121 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()
|
/openbmc/linux/drivers/dma/ |
H A D | stm32-dmamux.c | 304 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()
|
/openbmc/linux/drivers/pwm/ |
H A D | pwm-ep93xx.c | 49 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()
|
/openbmc/linux/drivers/hwmon/ |
H A D | mc13783-adc.c | 71 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()
|
/openbmc/linux/drivers/thermal/st/ |
H A D | st_thermal_memmap.c | 93 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()
|
/openbmc/linux/drivers/usb/host/ |
H A D | ehci-st.c | 50 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()
|
/openbmc/linux/drivers/gpu/drm/bridge/cadence/ |
H A D | cdns-dsi-j721e.c | 25 struct platform_device *pdev = to_platform_device(dsi->base.dev); in cdns_dsi_j721e_init()
|
/openbmc/linux/drivers/rtc/ |
H A D | rtc-da9055.c | 320 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()
|
/openbmc/linux/drivers/gpu/drm/ |
H A D | drm_aperture.c | 150 pdev = to_platform_device(dev->dev); in devm_aperture_acquire_from_firmware()
|