/Linux-v4.19/sound/arm/ |
D | pxa2xx-ac97.c | 70 pxa2xx_audio_ops_t *platform_ops; in pxa2xx_ac97_pcm_open() local 85 platform_ops = substream->pcm->card->dev->platform_data; in pxa2xx_ac97_pcm_open() 86 if (platform_ops && platform_ops->startup) { in pxa2xx_ac97_pcm_open() 87 ret = platform_ops->startup(substream, platform_ops->priv); in pxa2xx_ac97_pcm_open() 97 pxa2xx_audio_ops_t *platform_ops; in pxa2xx_ac97_pcm_close() local 99 platform_ops = substream->pcm->card->dev->platform_data; in pxa2xx_ac97_pcm_close() 100 if (platform_ops && platform_ops->shutdown) in pxa2xx_ac97_pcm_close() 101 platform_ops->shutdown(substream, platform_ops->priv); in pxa2xx_ac97_pcm_close() 124 pxa2xx_audio_ops_t *platform_ops = card->dev->platform_data; in pxa2xx_ac97_do_suspend() local 129 if (platform_ops && platform_ops->suspend) in pxa2xx_ac97_do_suspend() [all …]
|
/Linux-v4.19/arch/arm/common/ |
D | mcpm_entry.c | 164 static const struct mcpm_platform_ops *platform_ops; variable 168 if (platform_ops) in mcpm_platform_register() 170 platform_ops = ops; in mcpm_platform_register() 176 return (platform_ops) ? true : false; in mcpm_is_available() 204 if (!platform_ops) in mcpm_cpu_power_up() 231 ret = platform_ops->cluster_powerup(cluster); in mcpm_cpu_power_up() 233 ret = platform_ops->cpu_powerup(cpu, cluster); in mcpm_cpu_power_up() 252 if (WARN_ON_ONCE(!platform_ops)) in mcpm_cpu_power_down() 269 platform_ops->cpu_powerdown_prepare(cpu, cluster); in mcpm_cpu_power_down() 270 platform_ops->cluster_powerdown_prepare(cluster); in mcpm_cpu_power_down() [all …]
|
/Linux-v4.19/arch/powerpc/boot/ |
D | main.c | 49 if (platform_ops.image_hdr) in prep_kernel() 50 platform_ops.image_hdr(elfheader); in prep_kernel() 59 if (platform_ops.vmlinux_alloc) { in prep_kernel() 60 addr = platform_ops.vmlinux_alloc(ei.memsize); in prep_kernel() 186 struct platform_ops platform_ops; variable 207 if (platform_ops.fixups) in start() 208 platform_ops.fixups(); in start() 236 if(platform_ops.kentry) in start() 237 platform_ops.kentry(ft_addr, vmlinux.addr); in start()
|
D | ops.h | 25 struct platform_ops { struct 35 extern struct platform_ops platform_ops; argument 220 return (platform_ops.malloc) ? platform_ops.malloc(size) : NULL; in malloc() 225 if (platform_ops.free) in free() 226 platform_ops.free(ptr); in free() 231 if (platform_ops.exit) in exit() 232 platform_ops.exit(); in exit()
|
D | of.c | 69 platform_ops.image_hdr = of_image_hdr; in of_platform_init() 70 platform_ops.malloc = of_try_claim; in of_platform_init() 71 platform_ops.exit = of_exit; in of_platform_init() 72 platform_ops.vmlinux_alloc = of_vmlinux_alloc; in of_platform_init()
|
D | treeboot-iss4xx.c | 70 platform_ops.fixups = iss_4xx_fixups; in platform_init() 71 platform_ops.vmlinux_alloc = iss_4xx_vmlinux_alloc; in platform_init() 72 platform_ops.exit = ibm44x_dbcr_reset; in platform_init()
|
D | cuboot-warp.c | 34 platform_ops.fixups = warp_fixups; in platform_init() 35 platform_ops.exit = ibm44x_dbcr_reset; in platform_init()
|
D | bamboo.c | 42 platform_ops.fixups = bamboo_fixups; in bamboo_init() 43 platform_ops.exit = ibm44x_dbcr_reset; in bamboo_init()
|
D | cuboot-rainier.c | 53 platform_ops.fixups = rainier_fixups; in platform_init() 54 platform_ops.exit = ibm44x_dbcr_reset; in platform_init()
|
D | cuboot-sequoia.c | 53 platform_ops.fixups = sequoia_fixups; in platform_init() 54 platform_ops.exit = ibm44x_dbcr_reset; in platform_init()
|
D | cuboot-sam440ep.c | 45 platform_ops.fixups = sam440ep_fixups; in platform_init() 46 platform_ops.exit = ibm44x_dbcr_reset; in platform_init()
|
D | cuboot-yosemite.c | 40 platform_ops.fixups = yosemite_fixups; in platform_init() 41 platform_ops.exit = ibm44x_dbcr_reset; in platform_init()
|
D | cuboot-kilauea.c | 45 platform_ops.fixups = kilauea_fixups; in platform_init() 46 platform_ops.exit = ibm40x_dbcr_reset; in platform_init()
|
D | simple_alloc.c | 145 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()
|
D | ebony.c | 86 platform_ops.fixups = ebony_fixups; in ebony_init() 87 platform_ops.exit = ibm44x_dbcr_reset; in ebony_init()
|
D | treeboot-walnut.c | 80 platform_ops.fixups = walnut_fixups; in platform_init() 81 platform_ops.exit = ibm40x_dbcr_reset; in platform_init()
|
D | treeboot-currituck.c | 99 platform_ops.fixups = ibm_currituck_fixups; in platform_init() 100 platform_ops.exit = ibm44x_dbcr_reset; in platform_init()
|
D | treeboot-akebono.c | 143 platform_ops.fixups = ibm_akebono_fixups; in platform_init() 144 platform_ops.exit = ibm44x_dbcr_reset; in platform_init()
|
D | cuboot-acadia.c | 170 platform_ops.fixups = acadia_fixups; in platform_init() 171 platform_ops.exit = ibm40x_dbcr_reset; in platform_init()
|
D | cuboot-hotfoot.c | 138 platform_ops.fixups = hotfoot_fixups; in platform_init() 139 platform_ops.exit = ibm40x_dbcr_reset; in platform_init()
|
D | cuboot-katmai.c | 54 platform_ops.fixups = katmai_fixups; in platform_init()
|
D | cuboot-amigaone.c | 34 platform_ops.fixups = platform_fixups; in platform_init()
|
D | cuboot-taishan.c | 54 platform_ops.fixups = taishan_fixups; in platform_init()
|
/Linux-v4.19/drivers/net/wireless/ath/wil6210/ |
D | pcie_bus.c | 137 if (wil->platform_ops.get_capa) { in wil_set_capabilities() 139 wil->platform_ops.get_capa(wil->platform_handle); in wil_set_capabilities() 298 if (wil->platform_ops.uninit) in wil_platform_ops_uninit() 299 wil->platform_ops.uninit(wil->platform_handle); in wil_platform_ops_uninit() 300 memset(&wil->platform_ops, 0, sizeof(wil->platform_ops)); in wil_platform_ops_uninit() 342 wil_platform_init(&pdev->dev, &wil->platform_ops, &rops, wil); in wil_pcie_probe() 597 if (wil->platform_ops.notify) in wil6210_pm_notify() 598 rc = wil->platform_ops.notify(wil->platform_handle, in wil6210_pm_notify() 605 if (wil->platform_ops.notify) in wil6210_pm_notify() 606 rc = wil->platform_ops.notify(wil->platform_handle, in wil6210_pm_notify()
|
D | pm.c | 99 if (is_runtime && !wil->platform_ops.suspend) { in wil_can_suspend() 269 if (wil->platform_ops.suspend) { in wil_suspend_keep_radio_on() 270 rc = wil->platform_ops.suspend(wil->platform_handle, true); in wil_suspend_keep_radio_on() 341 if (wil->platform_ops.suspend) { in wil_suspend_radio_off() 342 rc = wil->platform_ops.suspend(wil->platform_handle, false); in wil_suspend_radio_off() 410 if (wil->platform_ops.resume) { in wil_resume() 411 rc = wil->platform_ops.resume(wil->platform_handle, in wil_resume()
|