Searched refs:dao (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/sound/pci/ctxfi/ |
D | ctdaio.c | 139 static int dao_rsc_reinit(struct dao *dao, const struct dao_desc *desc); 141 static int dao_spdif_get_spos(struct dao *dao, unsigned int *spos) in dao_spdif_get_spos() argument 143 dao->hw->dao_get_spos(dao->ctrl_blk, spos); in dao_spdif_get_spos() 147 static int dao_spdif_set_spos(struct dao *dao, unsigned int spos) in dao_spdif_set_spos() argument 149 dao->hw->dao_set_spos(dao->ctrl_blk, spos); in dao_spdif_set_spos() 153 static int dao_commit_write(struct dao *dao) in dao_commit_write() argument 155 dao->hw->dao_commit_write(dao->hw, in dao_commit_write() 156 daio_device_index(dao->daio.type, dao->hw), dao->ctrl_blk); in dao_commit_write() 160 static int dao_set_left_input(struct dao *dao, struct rsc *input) in dao_set_left_input() argument 163 struct daio *daio = &dao->daio; in dao_set_left_input() [all …]
|
D | ctdaio.h | 52 struct dao { struct 74 int (*set_spos)(struct dao *dao, unsigned int spos); argument 75 int (*commit_write)(struct dao *dao); 76 int (*get_spos)(struct dao *dao, unsigned int *spos); 77 int (*reinit)(struct dao *dao, const struct dao_desc *desc); 78 int (*set_left_input)(struct dao *dao, struct rsc *input); 79 int (*set_right_input)(struct dao *dao, struct rsc *input); 80 int (*clear_left_input)(struct dao *dao); 81 int (*clear_right_input)(struct dao *dao);
|
D | ctatc.c | 861 struct dao *dao = container_of(atc->daios[SPDIFOO], struct dao, daio); in spdif_passthru_playback_setup() local 882 dao->ops->get_spos(dao, &status); in spdif_passthru_playback_setup() 886 dao->ops->set_spos(dao, status); in spdif_passthru_playback_setup() 887 dao->ops->commit_write(dao); in spdif_passthru_playback_setup() 901 struct dao *dao; in spdif_passthru_playback_prepare() local 929 dao = container_of(atc->daios[SPDIFOO], struct dao, daio); in spdif_passthru_playback_prepare() 931 dao->ops->set_left_input(dao, &amixer->rsc); in spdif_passthru_playback_prepare() 933 dao->ops->set_right_input(dao, &amixer->rsc); in spdif_passthru_playback_prepare() 1049 struct dao *dao = container_of(atc->daios[type], struct dao, daio); in atc_dao_get_status() local 1050 return dao->ops->get_spos(dao, status); in atc_dao_get_status() [all …]
|