Home
last modified time | relevance | path

Searched refs:ec_tx (Results 1 – 6 of 6) sorted by relevance

/dports/multimedia/v4l_compat/linux-5.13-rc2/sound/soc/codecs/
H A Dlpass-wsa-macro.c1717 u16 val, ec_tx, ec_hq_reg; in wsa_macro_enable_echo() local
1724 ec_tx = val - 1; in wsa_macro_enable_echo()
1728 ec_tx = (val >> CDC_WSA_RX_MIX_TX1_SEL_SHFT) - 1; in wsa_macro_enable_echo()
1732 if (wsa->ec_hq[ec_tx]) { in wsa_macro_enable_echo()
1733 ec_hq_reg = CDC_WSA_EC_HQ0_EC_REF_HQ_PATH_CTL + 0x40 * ec_tx; in wsa_macro_enable_echo()
1737 ec_hq_reg = CDC_WSA_EC_HQ0_EC_REF_HQ_CFG0 + 0x40 * ec_tx; in wsa_macro_enable_echo()
1752 int ec_tx = ((struct soc_mixer_control *) kcontrol->private_value)->shift; in wsa_macro_get_ec_hq() local
1755 ucontrol->value.integer.value[0] = wsa->ec_hq[ec_tx]; in wsa_macro_get_ec_hq()
1764 int ec_tx = ((struct soc_mixer_control *) kcontrol->private_value)->shift; in wsa_macro_set_ec_hq() local
1768 wsa->ec_hq[ec_tx] = value; in wsa_macro_set_ec_hq()
H A Dlpass-rx-macro.c2896 int ec_tx = -1; in rx_macro_enable_echo() local
2901 ec_tx = ((val & 0xf0) >> 0x4) - 1; in rx_macro_enable_echo()
2903 ec_tx = (val & 0x0f) - 1; in rx_macro_enable_echo()
2908 ec_tx = (val & 0x0f) - 1; in rx_macro_enable_echo()
2910 if (ec_tx < 0 || (ec_tx >= RX_MACRO_EC_MUX_MAX)) { in rx_macro_enable_echo()
2916 0x40 * ec_tx; in rx_macro_enable_echo()
2919 0x40 * ec_tx; in rx_macro_enable_echo()
/dports/multimedia/libv4l/linux-5.13-rc2/sound/soc/codecs/
H A Dlpass-wsa-macro.c1717 u16 val, ec_tx, ec_hq_reg; in wsa_macro_enable_echo() local
1724 ec_tx = val - 1; in wsa_macro_enable_echo()
1728 ec_tx = (val >> CDC_WSA_RX_MIX_TX1_SEL_SHFT) - 1; in wsa_macro_enable_echo()
1732 if (wsa->ec_hq[ec_tx]) { in wsa_macro_enable_echo()
1733 ec_hq_reg = CDC_WSA_EC_HQ0_EC_REF_HQ_PATH_CTL + 0x40 * ec_tx; in wsa_macro_enable_echo()
1737 ec_hq_reg = CDC_WSA_EC_HQ0_EC_REF_HQ_CFG0 + 0x40 * ec_tx; in wsa_macro_enable_echo()
1752 int ec_tx = ((struct soc_mixer_control *) kcontrol->private_value)->shift; in wsa_macro_get_ec_hq() local
1755 ucontrol->value.integer.value[0] = wsa->ec_hq[ec_tx]; in wsa_macro_get_ec_hq()
1764 int ec_tx = ((struct soc_mixer_control *) kcontrol->private_value)->shift; in wsa_macro_set_ec_hq() local
1768 wsa->ec_hq[ec_tx] = value; in wsa_macro_set_ec_hq()
H A Dlpass-rx-macro.c2896 int ec_tx = -1; in rx_macro_enable_echo() local
2901 ec_tx = ((val & 0xf0) >> 0x4) - 1; in rx_macro_enable_echo()
2903 ec_tx = (val & 0x0f) - 1; in rx_macro_enable_echo()
2908 ec_tx = (val & 0x0f) - 1; in rx_macro_enable_echo()
2910 if (ec_tx < 0 || (ec_tx >= RX_MACRO_EC_MUX_MAX)) { in rx_macro_enable_echo()
2916 0x40 * ec_tx; in rx_macro_enable_echo()
2919 0x40 * ec_tx; in rx_macro_enable_echo()
/dports/multimedia/v4l-utils/linux-5.13-rc2/sound/soc/codecs/
H A Dlpass-wsa-macro.c1717 u16 val, ec_tx, ec_hq_reg; in wsa_macro_enable_echo() local
1724 ec_tx = val - 1; in wsa_macro_enable_echo()
1728 ec_tx = (val >> CDC_WSA_RX_MIX_TX1_SEL_SHFT) - 1; in wsa_macro_enable_echo()
1732 if (wsa->ec_hq[ec_tx]) { in wsa_macro_enable_echo()
1733 ec_hq_reg = CDC_WSA_EC_HQ0_EC_REF_HQ_PATH_CTL + 0x40 * ec_tx; in wsa_macro_enable_echo()
1737 ec_hq_reg = CDC_WSA_EC_HQ0_EC_REF_HQ_CFG0 + 0x40 * ec_tx; in wsa_macro_enable_echo()
1752 int ec_tx = ((struct soc_mixer_control *) kcontrol->private_value)->shift; in wsa_macro_get_ec_hq() local
1755 ucontrol->value.integer.value[0] = wsa->ec_hq[ec_tx]; in wsa_macro_get_ec_hq()
1764 int ec_tx = ((struct soc_mixer_control *) kcontrol->private_value)->shift; in wsa_macro_set_ec_hq() local
1768 wsa->ec_hq[ec_tx] = value; in wsa_macro_set_ec_hq()
H A Dlpass-rx-macro.c2896 int ec_tx = -1; in rx_macro_enable_echo() local
2901 ec_tx = ((val & 0xf0) >> 0x4) - 1; in rx_macro_enable_echo()
2903 ec_tx = (val & 0x0f) - 1; in rx_macro_enable_echo()
2908 ec_tx = (val & 0x0f) - 1; in rx_macro_enable_echo()
2910 if (ec_tx < 0 || (ec_tx >= RX_MACRO_EC_MUX_MAX)) { in rx_macro_enable_echo()
2916 0x40 * ec_tx; in rx_macro_enable_echo()
2919 0x40 * ec_tx; in rx_macro_enable_echo()