Searched refs:dao (Results 1 – 3 of 3) sorted by relevance
/linux-3.4.99/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 ((struct hw *)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 ((struct hw *)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 ((struct hw *)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 | 51 struct dao { struct 73 int (*set_spos)(struct dao *dao, unsigned int spos); argument 74 int (*commit_write)(struct dao *dao); 75 int (*get_spos)(struct dao *dao, unsigned int *spos); 76 int (*reinit)(struct dao *dao, const struct dao_desc *desc); 77 int (*set_left_input)(struct dao *dao, struct rsc *input); 78 int (*set_right_input)(struct dao *dao, struct rsc *input); 79 int (*clear_left_input)(struct dao *dao); 80 int (*clear_right_input)(struct dao *dao);
|
D | ctatc.c | 850 struct dao *dao = container_of(atc->daios[SPDIFOO], struct dao, daio); in spdif_passthru_playback_setup() local 871 dao->ops->get_spos(dao, &status); in spdif_passthru_playback_setup() 875 dao->ops->set_spos(dao, status); in spdif_passthru_playback_setup() 876 dao->ops->commit_write(dao); in spdif_passthru_playback_setup() 890 struct dao *dao; in spdif_passthru_playback_prepare() local 918 dao = container_of(atc->daios[SPDIFOO], struct dao, daio); in spdif_passthru_playback_prepare() 920 dao->ops->set_left_input(dao, &amixer->rsc); in spdif_passthru_playback_prepare() 922 dao->ops->set_right_input(dao, &amixer->rsc); in spdif_passthru_playback_prepare() 1038 struct dao *dao = container_of(atc->daios[type], struct dao, daio); in atc_dao_get_status() local 1039 return dao->ops->get_spos(dao, status); in atc_dao_get_status() [all …]
|