Home
last modified time | relevance | path

Searched refs:dao (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/sound/pci/ctxfi/
Dctdaio.c135 static int dao_rsc_reinit(struct dao *dao, const struct dao_desc *desc);
137 static int dao_spdif_get_spos(struct dao *dao, unsigned int *spos) in dao_spdif_get_spos() argument
139 dao->hw->dao_get_spos(dao->ctrl_blk, spos); in dao_spdif_get_spos()
143 static int dao_spdif_set_spos(struct dao *dao, unsigned int spos) in dao_spdif_set_spos() argument
145 dao->hw->dao_set_spos(dao->ctrl_blk, spos); in dao_spdif_set_spos()
149 static int dao_commit_write(struct dao *dao) in dao_commit_write() argument
151 dao->hw->dao_commit_write(dao->hw, in dao_commit_write()
152 daio_device_index(dao->daio.type, dao->hw), dao->ctrl_blk); in dao_commit_write()
156 static int dao_set_left_input(struct dao *dao, struct rsc *input) in dao_set_left_input() argument
159 struct daio *daio = &dao->daio; in dao_set_left_input()
[all …]
Dctdaio.h48 struct dao { struct
70 int (*set_spos)(struct dao *dao, unsigned int spos); argument
71 int (*commit_write)(struct dao *dao);
72 int (*get_spos)(struct dao *dao, unsigned int *spos);
73 int (*reinit)(struct dao *dao, const struct dao_desc *desc);
74 int (*set_left_input)(struct dao *dao, struct rsc *input);
75 int (*set_right_input)(struct dao *dao, struct rsc *input);
76 int (*clear_left_input)(struct dao *dao);
77 int (*clear_right_input)(struct dao *dao);
Dctatc.c858 struct dao *dao = container_of(atc->daios[SPDIFOO], struct dao, daio); in spdif_passthru_playback_setup() local
879 dao->ops->get_spos(dao, &status); in spdif_passthru_playback_setup()
883 dao->ops->set_spos(dao, status); in spdif_passthru_playback_setup()
884 dao->ops->commit_write(dao); in spdif_passthru_playback_setup()
898 struct dao *dao; in spdif_passthru_playback_prepare() local
926 dao = container_of(atc->daios[SPDIFOO], struct dao, daio); in spdif_passthru_playback_prepare()
928 dao->ops->set_left_input(dao, &amixer->rsc); in spdif_passthru_playback_prepare()
930 dao->ops->set_right_input(dao, &amixer->rsc); in spdif_passthru_playback_prepare()
1046 struct dao *dao = container_of(atc->daios[type], struct dao, daio); in atc_dao_get_status() local
1047 return dao->ops->get_spos(dao, status); in atc_dao_get_status()
[all …]