Home
last modified time | relevance | path

Searched refs:cowork_source_sel (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/sound/soc/mediatek/mt8188/
Dmt8188-dai-etdm.c1737 int cowork_source_sel; in mt8188_etdm_sync_mode_slv() local
1743 cowork_source_sel = etdm_cowork_slv_sel(etdm_data->cowork_source_id, in mt8188_etdm_sync_mode_slv()
1745 if (cowork_source_sel < 0) in mt8188_etdm_sync_mode_slv()
1746 return cowork_source_sel; in mt8188_etdm_sync_mode_slv()
1752 val = FIELD_PREP(ETDM_IN1_SLAVE_SEL_MASK, cowork_source_sel); in mt8188_etdm_sync_mode_slv()
1757 val = FIELD_PREP(ETDM_IN2_SLAVE_SEL_MASK, cowork_source_sel); in mt8188_etdm_sync_mode_slv()
1762 val = FIELD_PREP(ETDM_OUT1_SLAVE_SEL_MASK, cowork_source_sel); in mt8188_etdm_sync_mode_slv()
1767 val = FIELD_PREP(ETDM_OUT2_SLAVE_SEL_MASK, cowork_source_sel); in mt8188_etdm_sync_mode_slv()
1772 val = FIELD_PREP(ETDM_OUT3_SLAVE_SEL_MASK, cowork_source_sel); in mt8188_etdm_sync_mode_slv()
1791 int cowork_source_sel; in mt8188_etdm_sync_mode_mst() local
[all …]
/linux-6.12.1/sound/soc/mediatek/mt8195/
Dmt8195-dai-etdm.c1414 int cowork_source_sel; in mt8195_etdm_sync_mode_configure() local
1423 cowork_source_sel = etdm_cowork_slv_sel(etdm_data->cowork_source_id, in mt8195_etdm_sync_mode_configure()
1425 if (cowork_source_sel < 0) in mt8195_etdm_sync_mode_configure()
1426 return cowork_source_sel; in mt8195_etdm_sync_mode_configure()
1432 val = ETDM_IN1_SLAVE_SEL(cowork_source_sel); in mt8195_etdm_sync_mode_configure()
1437 val = ETDM_IN2_SLAVE_SEL(cowork_source_sel); in mt8195_etdm_sync_mode_configure()
1442 val = ETDM_OUT1_SLAVE_SEL(cowork_source_sel); in mt8195_etdm_sync_mode_configure()
1447 val = ETDM_OUT2_SLAVE_SEL(cowork_source_sel); in mt8195_etdm_sync_mode_configure()
1452 val = ETDM_OUT3_SLAVE_SEL(cowork_source_sel); in mt8195_etdm_sync_mode_configure()