Lines Matching refs:alt

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