Lines Matching refs:ops
43 if (!acomp || !acomp->ops) in snd_hdac_set_codec_wakeup()
46 if (!acomp->ops->codec_wake_override) { in snd_hdac_set_codec_wakeup()
55 acomp->ops->codec_wake_override(acomp->dev, enable); in snd_hdac_set_codec_wakeup()
78 if (!acomp || !acomp->ops) in snd_hdac_display_power()
86 acomp->ops->get_power(acomp->dev); in snd_hdac_display_power()
93 acomp->ops->put_power(acomp->dev); in snd_hdac_display_power()
114 if (!acomp || !acomp->ops) in snd_hdac_get_display_clk()
117 return acomp->ops->get_cdclk_freq(acomp->dev); in snd_hdac_get_display_clk()
130 if (WARN_ON(!(acomp->dev && acomp->ops && acomp->ops->get_power && in hdac_component_master_bind()
131 acomp->ops->put_power && acomp->ops->get_cdclk_freq))) { in hdac_component_master_bind()
140 if (!try_module_get(acomp->ops->owner)) { in hdac_component_master_bind()
157 module_put(acomp->ops->owner); in hdac_component_master_unbind()
159 WARN_ON(acomp->ops || acomp->dev); in hdac_component_master_unbind()
231 if (!acomp->ops) { in snd_hdac_i915_init()
269 if (bus->i915_power_refcount > 0 && acomp->ops) in snd_hdac_i915_exit()
270 acomp->ops->put_power(acomp->dev); in snd_hdac_i915_exit()