Home
last modified time | relevance | path

Searched refs:platform_ops (Results 1 – 25 of 58) sorted by relevance

123

/kernel/linux/linux-5.10/sound/arm/
Dpxa2xx-ac97.c67 pxa2xx_audio_ops_t *platform_ops; in pxa2xx_ac97_pcm_open() local
82 platform_ops = substream->pcm->card->dev->platform_data; in pxa2xx_ac97_pcm_open()
83 if (platform_ops && platform_ops->startup) { in pxa2xx_ac97_pcm_open()
84 ret = platform_ops->startup(substream, platform_ops->priv); in pxa2xx_ac97_pcm_open()
94 pxa2xx_audio_ops_t *platform_ops; in pxa2xx_ac97_pcm_close() local
96 platform_ops = substream->pcm->card->dev->platform_data; in pxa2xx_ac97_pcm_close()
97 if (platform_ops && platform_ops->shutdown) in pxa2xx_ac97_pcm_close()
98 platform_ops->shutdown(substream, platform_ops->priv); in pxa2xx_ac97_pcm_close()
121 pxa2xx_audio_ops_t *platform_ops = card->dev->platform_data; in pxa2xx_ac97_do_suspend() local
125 if (platform_ops && platform_ops->suspend) in pxa2xx_ac97_do_suspend()
[all …]
/kernel/linux/linux-5.10/arch/arm/common/
Dmcpm_entry.c161 static const struct mcpm_platform_ops *platform_ops; variable
165 if (platform_ops) in mcpm_platform_register()
167 platform_ops = ops; in mcpm_platform_register()
173 return (platform_ops) ? true : false; in mcpm_is_available()
201 if (!platform_ops) in mcpm_cpu_power_up()
228 ret = platform_ops->cluster_powerup(cluster); in mcpm_cpu_power_up()
230 ret = platform_ops->cpu_powerup(cpu, cluster); in mcpm_cpu_power_up()
249 if (WARN_ON_ONCE(!platform_ops)) in mcpm_cpu_power_down()
266 platform_ops->cpu_powerdown_prepare(cpu, cluster); in mcpm_cpu_power_down()
267 platform_ops->cluster_powerdown_prepare(cluster); in mcpm_cpu_power_down()
[all …]
/kernel/linux/linux-5.10/arch/powerpc/boot/
Dmain.c45 if (platform_ops.image_hdr) in prep_kernel()
46 platform_ops.image_hdr(elfheader); in prep_kernel()
55 if (platform_ops.vmlinux_alloc) { in prep_kernel()
56 addr = platform_ops.vmlinux_alloc(ei.memsize); in prep_kernel()
222 struct platform_ops platform_ops; variable
243 if (platform_ops.fixups) in start()
244 platform_ops.fixups(); in start()
273 if(platform_ops.kentry) in start()
274 platform_ops.kentry(ft_addr, vmlinux.addr); in start()
Dops.h25 struct platform_ops { struct
35 extern struct platform_ops platform_ops; argument
219 return (platform_ops.malloc) ? platform_ops.malloc(size) : NULL; in malloc()
224 if (platform_ops.free) in free()
225 platform_ops.free(ptr); in free()
230 if (platform_ops.exit) in exit()
231 platform_ops.exit(); in exit()
Dof.c65 platform_ops.image_hdr = of_image_hdr; in of_platform_init()
66 platform_ops.malloc = of_try_claim; in of_platform_init()
67 platform_ops.exit = of_exit; in of_platform_init()
68 platform_ops.vmlinux_alloc = of_vmlinux_alloc; in of_platform_init()
Dtreeboot-iss4xx.c66 platform_ops.fixups = iss_4xx_fixups; in platform_init()
67 platform_ops.vmlinux_alloc = iss_4xx_vmlinux_alloc; in platform_init()
68 platform_ops.exit = ibm44x_dbcr_reset; in platform_init()
Dcuboot-warp.c31 platform_ops.fixups = warp_fixups; in platform_init()
32 platform_ops.exit = ibm44x_dbcr_reset; in platform_init()
Dbamboo.c39 platform_ops.fixups = bamboo_fixups; in bamboo_init()
40 platform_ops.exit = ibm44x_dbcr_reset; in bamboo_init()
Dcuboot-rainier.c50 platform_ops.fixups = rainier_fixups; in platform_init()
51 platform_ops.exit = ibm44x_dbcr_reset; in platform_init()
Dcuboot-sequoia.c50 platform_ops.fixups = sequoia_fixups; in platform_init()
51 platform_ops.exit = ibm44x_dbcr_reset; in platform_init()
Dcuboot-sam440ep.c42 platform_ops.fixups = sam440ep_fixups; in platform_init()
43 platform_ops.exit = ibm44x_dbcr_reset; in platform_init()
Dcuboot-yosemite.c37 platform_ops.fixups = yosemite_fixups; in platform_init()
38 platform_ops.exit = ibm44x_dbcr_reset; in platform_init()
Dcuboot-kilauea.c42 platform_ops.fixups = kilauea_fixups; in platform_init()
43 platform_ops.exit = ibm40x_dbcr_reset; in platform_init()
Dsimple_alloc.c145 platform_ops.malloc = simple_malloc; in simple_alloc_init()
146 platform_ops.free = simple_free; in simple_alloc_init()
147 platform_ops.realloc = simple_realloc; in simple_alloc_init()
Debony.c82 platform_ops.fixups = ebony_fixups; in ebony_init()
83 platform_ops.exit = ibm44x_dbcr_reset; in ebony_init()
Dtreeboot-currituck.c95 platform_ops.fixups = ibm_currituck_fixups; in platform_init()
96 platform_ops.exit = ibm44x_dbcr_reset; in platform_init()
Dtreeboot-akebono.c139 platform_ops.fixups = ibm_akebono_fixups; in platform_init()
140 platform_ops.exit = ibm44x_dbcr_reset; in platform_init()
Dcuboot-acadia.c167 platform_ops.fixups = acadia_fixups; in platform_init()
168 platform_ops.exit = ibm40x_dbcr_reset; in platform_init()
Dcuboot-hotfoot.c135 platform_ops.fixups = hotfoot_fixups; in platform_init()
136 platform_ops.exit = ibm40x_dbcr_reset; in platform_init()
Dcuboot-katmai.c51 platform_ops.fixups = katmai_fixups; in platform_init()
Dcuboot-amigaone.c31 platform_ops.fixups = platform_fixups; in platform_init()
Dcuboot-taishan.c51 platform_ops.fixups = taishan_fixups; in platform_init()
Dep8248e.c51 platform_ops.fixups = platform_fixups; in platform_init()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/wil6210/
Dpcie_bus.c127 if (wil->platform_ops.get_capa) { in wil_set_capabilities()
129 wil->platform_ops.get_capa(wil->platform_handle); in wil_set_capabilities()
290 if (wil->platform_ops.uninit) in wil_platform_ops_uninit()
291 wil->platform_ops.uninit(wil->platform_handle); in wil_platform_ops_uninit()
292 memset(&wil->platform_ops, 0, sizeof(wil->platform_ops)); in wil_platform_ops_uninit()
334 wil_platform_init(&pdev->dev, &wil->platform_ops, &rops, wil); in wil_pcie_probe()
588 if (wil->platform_ops.notify) in wil6210_pm_notify()
589 rc = wil->platform_ops.notify(wil->platform_handle, in wil6210_pm_notify()
596 if (wil->platform_ops.notify) in wil6210_pm_notify()
597 rc = wil->platform_ops.notify(wil->platform_handle, in wil6210_pm_notify()
Dpm.c88 if (is_runtime && !wil->platform_ops.suspend) { in wil_can_suspend()
261 if (wil->platform_ops.suspend) { in wil_suspend_keep_radio_on()
262 rc = wil->platform_ops.suspend(wil->platform_handle, true); in wil_suspend_keep_radio_on()
336 if (wil->platform_ops.suspend) { in wil_suspend_radio_off()
337 rc = wil->platform_ops.suspend(wil->platform_handle, false); in wil_suspend_radio_off()
405 if (wil->platform_ops.resume) { in wil_resume()
406 rc = wil->platform_ops.resume(wil->platform_handle, in wil_resume()

123