Lines Matching full:alt
29 * @alt: flag set for alternate extended links
50 bool alt; member
107 h2link->alt = FIELD_GET(AZX_ML_HDA_LCAP_ALT, hlink->lcaps); in hdaml_lnk_enum()
110 if (!h2link->alt) { in hdaml_lnk_enum()
409 if (!h2link->alt) in hda_ml_alloc_h2link()
458 find_ext2_link(struct hdac_bus *bus, bool alt, int elid) in find_ext2_link() argument
465 if (h2link->alt == alt && h2link->elid == elid) in find_ext2_link()
472 int hdac_bus_eml_get_count(struct hdac_bus *bus, bool alt, int elid) in hdac_bus_eml_get_count() argument
476 h2link = find_ext2_link(bus, alt, elid); in hdac_bus_eml_get_count()
484 void hdac_bus_eml_enable_interrupt(struct hdac_bus *bus, bool alt, int elid, bool enable) in hdac_bus_eml_enable_interrupt() argument
489 h2link = find_ext2_link(bus, alt, elid); in hdac_bus_eml_enable_interrupt()
506 bool hdac_bus_eml_check_interrupt(struct hdac_bus *bus, bool alt, int elid) in hdac_bus_eml_check_interrupt() argument
511 h2link = find_ext2_link(bus, alt, elid); in hdac_bus_eml_check_interrupt()
524 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
529 h2link = find_ext2_link(bus, alt, elid); in hdac_bus_eml_set_syncprd_unlocked()
550 int hdac_bus_eml_wait_syncpu_unlocked(struct hdac_bus *bus, bool alt, int elid) in hdac_bus_eml_wait_syncpu_unlocked() argument
555 h2link = find_ext2_link(bus, alt, elid); in hdac_bus_eml_wait_syncpu_unlocked()
574 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
579 h2link = find_ext2_link(bus, alt, elid); in hdac_bus_eml_sync_arm_unlocked()
598 int hdac_bus_eml_sync_go_unlocked(struct hdac_bus *bus, bool alt, int elid) in hdac_bus_eml_sync_go_unlocked() argument
603 h2link = find_ext2_link(bus, alt, elid); in hdac_bus_eml_sync_go_unlocked()
624 bool hdac_bus_eml_check_cmdsync_unlocked(struct hdac_bus *bus, bool alt, int elid) in hdac_bus_eml_check_cmdsync_unlocked() argument
630 h2link = find_ext2_link(bus, alt, elid); in hdac_bus_eml_check_cmdsync_unlocked()
653 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
660 h2link = find_ext2_link(bus, alt, elid); in hdac_bus_eml_power_up_base()
672 if (!alt) { in hdac_bus_eml_power_up_base()
689 int hdac_bus_eml_power_up(struct hdac_bus *bus, bool alt, int elid, int sublink) in hdac_bus_eml_power_up() argument
691 return hdac_bus_eml_power_up_base(bus, alt, elid, sublink, true); in hdac_bus_eml_power_up()
695 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
697 return hdac_bus_eml_power_up_base(bus, alt, elid, sublink, false); in hdac_bus_eml_power_up_unlocked()
701 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
708 h2link = find_ext2_link(bus, alt, elid); in hdac_bus_eml_power_down_base()
720 if (!alt) { in hdac_bus_eml_power_down_base()
736 int hdac_bus_eml_power_down(struct hdac_bus *bus, bool alt, int elid, int sublink) in hdac_bus_eml_power_down() argument
738 return hdac_bus_eml_power_down_base(bus, alt, elid, sublink, true); in hdac_bus_eml_power_down()
742 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
744 return hdac_bus_eml_power_down_base(bus, alt, elid, sublink, false); in hdac_bus_eml_power_down_unlocked()
847 if (!h2link->alt) in hda_bus_ml_put_all()
872 if (!h2link->alt && hlink->ref_count) { in hda_bus_ml_resume()
890 if (!h2link->alt) { in hda_bus_ml_suspend()
900 struct mutex *hdac_bus_eml_get_mutex(struct hdac_bus *bus, bool alt, int elid) in hdac_bus_eml_get_mutex() argument
904 h2link = find_ext2_link(bus, alt, elid); in hdac_bus_eml_get_mutex()
948 int hdac_bus_eml_enable_offload(struct hdac_bus *bus, bool alt, int elid, bool enable) in hdac_bus_eml_enable_offload() argument
953 h2link = find_ext2_link(bus, alt, elid); in hdac_bus_eml_enable_offload()