Searched refs:dao (Results 1 – 3 of 3) sorted by relevance
/linux-5.19.10/sound/pci/ctxfi/ |
D | ctdaio.c | 135 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 …]
|
D | ctdaio.h | 48 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);
|
D | ctatc.c | 860 struct dao *dao = container_of(atc->daios[SPDIFOO], struct dao, daio); in spdif_passthru_playback_setup() local 881 dao->ops->get_spos(dao, &status); in spdif_passthru_playback_setup() 885 dao->ops->set_spos(dao, status); in spdif_passthru_playback_setup() 886 dao->ops->commit_write(dao); in spdif_passthru_playback_setup() 900 struct dao *dao; in spdif_passthru_playback_prepare() local 928 dao = container_of(atc->daios[SPDIFOO], struct dao, daio); in spdif_passthru_playback_prepare() 930 dao->ops->set_left_input(dao, &amixer->rsc); in spdif_passthru_playback_prepare() 932 dao->ops->set_right_input(dao, &amixer->rsc); in spdif_passthru_playback_prepare() 1048 struct dao *dao = container_of(atc->daios[type], struct dao, daio); in atc_dao_get_status() local 1049 return dao->ops->get_spos(dao, status); in atc_dao_get_status() [all …]
|