Lines Matching refs:hdac
332 chmap->hdac, pin_nid, i); in hdmi_debug_channel_mapping()
333 dev_dbg(&chmap->hdac->dev, "HDMI: ASP channel %d => slot %d\n", in hdmi_debug_channel_mapping()
381 err = chmap->ops.pin_set_slot_channel(chmap->hdac, in hdmi_std_setup_channel_mapping()
384 dev_dbg(&chmap->hdac->dev, "HDMI: channel mapping failed\n"); in hdmi_std_setup_channel_mapping()
527 err = chmap->ops.pin_set_slot_channel(chmap->hdac, in hdmi_manual_setup_channel_mapping()
587 int snd_hdac_channel_allocation(struct hdac_device *hdac, int spk_alloc, in snd_hdac_channel_allocation() argument
595 ca = hdmi_channel_allocation_spk_alloc_blk(hdac, in snd_hdac_channel_allocation()
683 spk_alloc = chmap->ops.get_spk_alloc(chmap->hdac, pcm_idx); in hdmi_chmap_ctl_tlv()
748 chmap->ops.get_chmap(chmap->hdac, pcm_idx, pcm_chmap); in hdmi_chmap_ctl_get()
770 if (!hchmap->ops.is_pcm_attached(hchmap->hdac, pcm_idx)) in hdmi_chmap_ctl_put()
791 hchmap->ops.get_chmap(hchmap->hdac, pcm_idx, per_pin_chmap); in hdmi_chmap_ctl_put()
804 hchmap->ops.set_chmap(hchmap->hdac, pcm_idx, chmap, prepared); in hdmi_chmap_ctl_put()
817 void snd_hdac_register_chmap_ops(struct hdac_device *hdac, in snd_hdac_register_chmap_ops() argument
821 chmap->hdac = hdac; in snd_hdac_register_chmap_ops()