Home
last modified time | relevance | path

Searched refs:platform_get_drvdata (Results 1 – 25 of 1899) sorted by relevance

12345678910>>...76

/openbmc/linux/drivers/net/ethernet/ibm/emac/
H A Dtah.c27 struct tah_instance *dev = platform_get_drvdata(ofdev); in tah_attach()
39 struct tah_instance *dev = platform_get_drvdata(ofdev); in tah_detach()
48 struct tah_instance *dev = platform_get_drvdata(ofdev); in tah_reset()
75 struct tah_instance *dev = platform_get_drvdata(ofdev); in tah_dump_regs()
135 struct tah_instance *dev = platform_get_drvdata(ofdev); in tah_remove()
H A Dzmii.c86 struct zmii_instance *dev = platform_get_drvdata(ofdev); in zmii_attach()
152 struct zmii_instance *dev = platform_get_drvdata(ofdev); in zmii_get_mdio()
165 struct zmii_instance *dev = platform_get_drvdata(ofdev); in zmii_put_mdio()
174 struct zmii_instance *dev = platform_get_drvdata(ofdev); in zmii_set_speed()
195 struct zmii_instance *dev = platform_get_drvdata(ofdev); in zmii_detach()
220 struct zmii_instance *dev = platform_get_drvdata(ofdev); in zmii_dump_regs()
283 struct zmii_instance *dev = platform_get_drvdata(ofdev); in zmii_remove()
H A Drgmii.c82 struct rgmii_instance *dev = platform_get_drvdata(ofdev); in rgmii_attach()
111 struct rgmii_instance *dev = platform_get_drvdata(ofdev); in rgmii_set_speed()
135 struct rgmii_instance *dev = platform_get_drvdata(ofdev); in rgmii_get_mdio()
156 struct rgmii_instance *dev = platform_get_drvdata(ofdev); in rgmii_put_mdio()
177 struct rgmii_instance *dev = platform_get_drvdata(ofdev); in rgmii_detach()
203 struct rgmii_instance *dev = platform_get_drvdata(ofdev); in rgmii_dump_regs()
278 struct rgmii_instance *dev = platform_get_drvdata(ofdev); in rgmii_remove()
/openbmc/linux/drivers/mfd/
H A Dtwl4030-audio.c46 struct twl4030_audio *audio = platform_get_drvdata(twl4030_audio_dev); in twl4030_audio_set_resource()
65 struct twl4030_audio *audio = platform_get_drvdata(twl4030_audio_dev); in twl4030_audio_get_resource()
80 struct twl4030_audio *audio = platform_get_drvdata(twl4030_audio_dev); in twl4030_audio_enable_resource()
109 struct twl4030_audio *audio = platform_get_drvdata(twl4030_audio_dev); in twl4030_audio_disable_resource()
141 struct twl4030_audio *audio = platform_get_drvdata(twl4030_audio_dev); in twl4030_audio_get_mclk()
/openbmc/linux/drivers/gpu/drm/renesas/rcar-du/
H A Drcar_cmm.c84 struct rcar_cmm *rcmm = platform_get_drvdata(pdev); in rcar_cmm_setup()
145 struct rcar_cmm *rcmm = platform_get_drvdata(pdev); in rcar_cmm_disable()
163 struct rcar_cmm *rcmm = platform_get_drvdata(pdev); in rcar_cmm_init()
/openbmc/linux/drivers/mtd/maps/
H A Dphysmap-core.c71 info = platform_get_drvdata(dev); in physmap_flash_remove()
107 info = platform_get_drvdata(pdev); in physmap_set_vpp()
151 info = platform_get_drvdata(pdev); in physmap_addr_gpios_read()
166 info = platform_get_drvdata(pdev); in physmap_addr_gpios_copy_from()
189 info = platform_get_drvdata(pdev); in physmap_addr_gpios_write()
203 info = platform_get_drvdata(pdev); in physmap_addr_gpios_copy_to()
335 struct physmap_flash_info *info = platform_get_drvdata(dev); in physmap_flash_of_init()
422 struct physmap_flash_info *info = platform_get_drvdata(dev); in physmap_flash_pdata_init()
616 struct physmap_flash_info *info = platform_get_drvdata(dev); in physmap_flash_shutdown()
/openbmc/linux/drivers/net/wireless/ralink/rt2x00/
H A Drt2x00soc.c113 struct ieee80211_hw *hw = platform_get_drvdata(pdev); in rt2x00soc_remove()
130 struct ieee80211_hw *hw = platform_get_drvdata(pdev); in rt2x00soc_suspend()
139 struct ieee80211_hw *hw = platform_get_drvdata(pdev); in rt2x00soc_resume()
/openbmc/linux/drivers/platform/surface/
H A Dsurface_hotplug.c84 struct shps_device *sdev = platform_get_drvdata(pdev); in shps_dsm_notify_irq()
124 struct shps_device *sdev = platform_get_drvdata(pdev); in shps_handle_irq()
144 struct shps_device *sdev = platform_get_drvdata(pdev); in shps_setup_irq()
188 struct shps_device *sdev = platform_get_drvdata(pdev); in surface_hotplug_remove()
/openbmc/linux/drivers/mmc/host/
H A Dsdhci-pltfm.c59 struct sdhci_host *host = platform_get_drvdata(pdev); in sdhci_get_compatibility()
78 struct sdhci_host *host = platform_get_drvdata(pdev); in sdhci_get_property()
163 struct sdhci_host *host = platform_get_drvdata(pdev); in sdhci_pltfm_free()
192 struct sdhci_host *host = platform_get_drvdata(pdev); in sdhci_pltfm_remove()
H A Dsdhci-pic32.c108 struct sdhci_host *host = platform_get_drvdata(pdev); in pic32_sdhci_shared_bus()
128 struct sdhci_host *host = platform_get_drvdata(pdev); in pic32_sdhci_probe_platform()
215 struct sdhci_host *host = platform_get_drvdata(pdev); in pic32_sdhci_remove()
/openbmc/linux/drivers/usb/host/
H A Dohci-spear.c102 struct usb_hcd *hcd = platform_get_drvdata(pdev); in spear_ohci_hcd_drv_remove()
116 struct usb_hcd *hcd = platform_get_drvdata(pdev); in spear_ohci_hcd_drv_suspend()
137 struct usb_hcd *hcd = platform_get_drvdata(dev); in spear_ohci_hcd_drv_resume()
H A Dehci-atmel.c71 struct usb_hcd *hcd = platform_get_drvdata(pdev); in atmel_start_ehci()
80 struct usb_hcd *hcd = platform_get_drvdata(pdev); in atmel_stop_ehci()
177 struct usb_hcd *hcd = platform_get_drvdata(pdev); in ehci_atmel_drv_remove()
H A Dohci-sm501.c190 struct usb_hcd *hcd = platform_get_drvdata(pdev); in ohci_hcd_sm501_drv_remove()
212 struct usb_hcd *hcd = platform_get_drvdata(pdev); in ohci_sm501_suspend()
232 struct usb_hcd *hcd = platform_get_drvdata(pdev); in ohci_sm501_resume()
/openbmc/linux/drivers/cdx/controller/
H A Dcdx_rpmsg.c56 cdx_c = platform_get_drvdata(pdev); in cdx_attach_to_rproc()
90 cdx_c = platform_get_drvdata(pdev); in cdx_detach_to_r5()
181 cdx_c = platform_get_drvdata(pdev); in cdx_setup_rpmsg()
/openbmc/linux/drivers/dma/
H A Dstm32-dmamux.c90 struct stm32_dmamux_data *dmamux = platform_get_drvdata(pdev); in stm32_dmamux_route_allocate()
305 struct stm32_dmamux_data *stm32_dmamux = platform_get_drvdata(pdev); in stm32_dmamux_runtime_suspend()
315 struct stm32_dmamux_data *stm32_dmamux = platform_get_drvdata(pdev); in stm32_dmamux_runtime_resume()
332 struct stm32_dmamux_data *stm32_dmamux = platform_get_drvdata(pdev); in stm32_dmamux_suspend()
353 struct stm32_dmamux_data *stm32_dmamux = platform_get_drvdata(pdev); in stm32_dmamux_resume()
/openbmc/linux/drivers/staging/greybus/
H A Darche-apb-ctrl.c69 struct arche_apb_ctrl_drvdata *apb = platform_get_drvdata(pdev); in coldboot_seq()
118 struct arche_apb_ctrl_drvdata *apb = platform_get_drvdata(pdev); in fw_flashing_seq()
164 struct arche_apb_ctrl_drvdata *apb = platform_get_drvdata(pdev); in standby_boot_seq()
196 struct arche_apb_ctrl_drvdata *apb = platform_get_drvdata(pdev); in poweroff_seq()
253 struct arche_apb_ctrl_drvdata *apb = platform_get_drvdata(pdev); in state_store()
/openbmc/linux/drivers/net/mdio/
H A Dmdio-mux-multiplexer.c39 s = platform_get_drvdata(pdev); in mdio_mux_multiplexer_switch_fn()
90 struct mdio_mux_multiplexer_state *s = platform_get_drvdata(pdev); in mdio_mux_multiplexer_remove()
/openbmc/linux/drivers/net/dsa/
H A Dmt7530-mmio.c69 struct mt7530_priv *priv = platform_get_drvdata(pdev); in mt7988_remove()
79 struct mt7530_priv *priv = platform_get_drvdata(pdev); in mt7988_shutdown()
/openbmc/linux/drivers/watchdog/
H A Dtwl4030_wdt.c86 struct watchdog_device *wdt = platform_get_drvdata(pdev); in twl4030_wdt_suspend()
95 struct watchdog_device *wdt = platform_get_drvdata(pdev); in twl4030_wdt_resume()
H A Domap_wdt.c299 struct omap_wdt_dev *wdev = platform_get_drvdata(pdev); in omap_wdt_shutdown()
311 struct omap_wdt_dev *wdev = platform_get_drvdata(pdev); in omap_wdt_remove()
325 struct omap_wdt_dev *wdev = platform_get_drvdata(pdev); in omap_wdt_suspend()
339 struct omap_wdt_dev *wdev = platform_get_drvdata(pdev); in omap_wdt_resume()
/openbmc/u-boot/drivers/usb/musb-new/
H A Dmusb_dsps.c153 struct dsps_glue *glue = platform_get_drvdata(pdev); in dsps_musb_enable()
186 struct dsps_glue *glue = platform_get_drvdata(pdev); in dsps_musb_disable()
205 struct dsps_glue *glue = platform_get_drvdata(pdev); in otg_timer()
259 struct dsps_glue *glue = platform_get_drvdata(pdev); in dsps_musb_try_idle()
299 struct dsps_glue *glue = platform_get_drvdata(pdev); in dsps_interrupt()
414 struct dsps_glue *glue = platform_get_drvdata(pdev); in dsps_musb_init()
482 struct dsps_glue *glue = platform_get_drvdata(pdev); in dsps_musb_exit()
674 struct dsps_glue *glue = platform_get_drvdata(pdev); in dsps_remove()
/openbmc/linux/scripts/coccinelle/free/
H A Dput_device.cocci28 when != e1 = (T1)platform_get_drvdata(id)
33 | (T3)platform_get_drvdata(id)
/openbmc/linux/drivers/mtd/nand/raw/ingenic/
H A Dingenic_ecc.c75 if (!platform_get_drvdata(pdev)) { in ingenic_ecc_get()
80 ecc = platform_get_drvdata(pdev); in ingenic_ecc_get()
/openbmc/linux/drivers/pci/controller/
H A Dpcie-iproc-platform.c119 struct iproc_pcie *pcie = platform_get_drvdata(pdev); in iproc_pltfm_pcie_remove()
126 struct iproc_pcie *pcie = platform_get_drvdata(pdev); in iproc_pltfm_pcie_shutdown()
/openbmc/linux/drivers/input/misc/
H A Dpalmas-pwrbutton.c250 struct palmas_pwron *pwron = platform_get_drvdata(pdev); in palmas_pwron_remove()
272 struct palmas_pwron *pwron = platform_get_drvdata(pdev); in palmas_pwron_suspend()
293 struct palmas_pwron *pwron = platform_get_drvdata(pdev); in palmas_pwron_resume()

12345678910>>...76