Lines Matching full:alt

30  * @alt:		flag set for alternate extended links
52 bool alt; member
118 h2link->alt = FIELD_GET(AZX_ML_HDA_LCAP_ALT, hlink->lcaps); in hdaml_lnk_enum()
121 if (!h2link->alt) { in hdaml_lnk_enum()
420 if (!h2link->alt) in hda_ml_alloc_h2link()
469 find_ext2_link(struct hdac_bus *bus, bool alt, int elid) in find_ext2_link() argument
476 if (h2link->alt == alt && h2link->elid == elid) in find_ext2_link()
483 int hdac_bus_eml_get_count(struct hdac_bus *bus, bool alt, int elid) in hdac_bus_eml_get_count() argument
487 h2link = find_ext2_link(bus, alt, elid); in hdac_bus_eml_get_count()
495 void hdac_bus_eml_enable_interrupt_unlocked(struct hdac_bus *bus, bool alt, int elid, bool enable) in hdac_bus_eml_enable_interrupt_unlocked() argument
500 h2link = find_ext2_link(bus, alt, elid); in hdac_bus_eml_enable_interrupt_unlocked()
513 void hdac_bus_eml_enable_interrupt(struct hdac_bus *bus, bool alt, int elid, bool enable) in hdac_bus_eml_enable_interrupt() argument
518 h2link = find_ext2_link(bus, alt, elid); in hdac_bus_eml_enable_interrupt()
535 bool hdac_bus_eml_check_interrupt(struct hdac_bus *bus, bool alt, int elid) in hdac_bus_eml_check_interrupt() argument
540 h2link = find_ext2_link(bus, alt, elid); in hdac_bus_eml_check_interrupt()
553 int hdac_bus_eml_set_syncprd_unlocked(struct hdac_bus *bus, bool alt, int elid, u32 syncprd) in hdac_bus_eml_set_syncprd_unlocked() argument
558 h2link = find_ext2_link(bus, alt, elid); in hdac_bus_eml_set_syncprd_unlocked()
579 int hdac_bus_eml_wait_syncpu_unlocked(struct hdac_bus *bus, bool alt, int elid) in hdac_bus_eml_wait_syncpu_unlocked() argument
584 h2link = find_ext2_link(bus, alt, elid); in hdac_bus_eml_wait_syncpu_unlocked()
603 void hdac_bus_eml_sync_arm_unlocked(struct hdac_bus *bus, bool alt, int elid, int sublink) in hdac_bus_eml_sync_arm_unlocked() argument
608 h2link = find_ext2_link(bus, alt, elid); in hdac_bus_eml_sync_arm_unlocked()
627 int hdac_bus_eml_sync_go_unlocked(struct hdac_bus *bus, bool alt, int elid) in hdac_bus_eml_sync_go_unlocked() argument
632 h2link = find_ext2_link(bus, alt, elid); in hdac_bus_eml_sync_go_unlocked()
653 bool hdac_bus_eml_check_cmdsync_unlocked(struct hdac_bus *bus, bool alt, int elid) in hdac_bus_eml_check_cmdsync_unlocked() argument
659 h2link = find_ext2_link(bus, alt, elid); in hdac_bus_eml_check_cmdsync_unlocked()
682 static int hdac_bus_eml_power_up_base(struct hdac_bus *bus, bool alt, int elid, int sublink, in hdac_bus_eml_power_up_base() argument
689 h2link = find_ext2_link(bus, alt, elid); in hdac_bus_eml_power_up_base()
701 if (!alt) { in hdac_bus_eml_power_up_base()
722 sublink, alt, elid); in hdac_bus_eml_power_up_base()
732 int hdac_bus_eml_power_up(struct hdac_bus *bus, bool alt, int elid, int sublink) in hdac_bus_eml_power_up() argument
734 return hdac_bus_eml_power_up_base(bus, alt, elid, sublink, true); in hdac_bus_eml_power_up()
738 int hdac_bus_eml_power_up_unlocked(struct hdac_bus *bus, bool alt, int elid, int sublink) in hdac_bus_eml_power_up_unlocked() argument
740 return hdac_bus_eml_power_up_base(bus, alt, elid, sublink, false); in hdac_bus_eml_power_up_unlocked()
744 static int hdac_bus_eml_power_down_base(struct hdac_bus *bus, bool alt, int elid, int sublink, in hdac_bus_eml_power_down_base() argument
751 h2link = find_ext2_link(bus, alt, elid); in hdac_bus_eml_power_down_base()
763 if (!alt) { in hdac_bus_eml_power_down_base()
789 int hdac_bus_eml_power_down(struct hdac_bus *bus, bool alt, int elid, int sublink) in hdac_bus_eml_power_down() argument
791 return hdac_bus_eml_power_down_base(bus, alt, elid, sublink, true); in hdac_bus_eml_power_down()
795 int hdac_bus_eml_power_down_unlocked(struct hdac_bus *bus, bool alt, int elid, int sublink) in hdac_bus_eml_power_down_unlocked() argument
797 return hdac_bus_eml_power_down_base(bus, alt, elid, sublink, false); in hdac_bus_eml_power_down_unlocked()
900 if (!h2link->alt) in hda_bus_ml_put_all()
925 if (!h2link->alt && hlink->ref_count) { in hda_bus_ml_resume()
943 if (!h2link->alt) { in hda_bus_ml_suspend()
953 struct mutex *hdac_bus_eml_get_mutex(struct hdac_bus *bus, bool alt, int elid) in hdac_bus_eml_get_mutex() argument
957 h2link = find_ext2_link(bus, alt, elid); in hdac_bus_eml_get_mutex()
1001 int hdac_bus_eml_enable_offload(struct hdac_bus *bus, bool alt, int elid, bool enable) in hdac_bus_eml_enable_offload() argument
1006 h2link = find_ext2_link(bus, alt, elid); in hdac_bus_eml_enable_offload()
1025 void hdac_bus_eml_set_mic_privacy_mask(struct hdac_bus *bus, bool alt, int elid, in hdac_bus_eml_set_mic_privacy_mask() argument
1033 h2link = find_ext2_link(bus, alt, elid); in hdac_bus_eml_set_mic_privacy_mask()
1040 __func__, alt, elid, h2link->slcount, mask); in hdac_bus_eml_set_mic_privacy_mask()
1044 dev_dbg(bus->dev, "sublink mask for %d:%d, slcount %d: %#lx\n", alt, in hdac_bus_eml_set_mic_privacy_mask()
1051 bool hdac_bus_eml_is_mic_privacy_changed(struct hdac_bus *bus, bool alt, int elid) in hdac_bus_eml_is_mic_privacy_changed() argument
1058 h2link = find_ext2_link(bus, alt, elid); in hdac_bus_eml_is_mic_privacy_changed()
1085 bool hdac_bus_eml_get_mic_privacy_state(struct hdac_bus *bus, bool alt, int elid) in hdac_bus_eml_get_mic_privacy_state() argument
1092 h2link = find_ext2_link(bus, alt, elid); in hdac_bus_eml_get_mic_privacy_state()
1107 dev_dbg(bus->dev, "alt: %d, elid: %d: Mic privacy is %s\n", alt, in hdac_bus_eml_get_mic_privacy_state()