dao 858 sound/pci/ctxfi/ctatc.c struct dao *dao = container_of(atc->daios[SPDIFOO], struct dao, daio); dao 879 sound/pci/ctxfi/ctatc.c dao->ops->get_spos(dao, &status); dao 883 sound/pci/ctxfi/ctatc.c dao->ops->set_spos(dao, status); dao 884 sound/pci/ctxfi/ctatc.c dao->ops->commit_write(dao); dao 898 sound/pci/ctxfi/ctatc.c struct dao *dao; dao 926 sound/pci/ctxfi/ctatc.c dao = container_of(atc->daios[SPDIFOO], struct dao, daio); dao 928 sound/pci/ctxfi/ctatc.c dao->ops->set_left_input(dao, &amixer->rsc); dao 930 sound/pci/ctxfi/ctatc.c dao->ops->set_right_input(dao, &amixer->rsc); dao 1046 sound/pci/ctxfi/ctatc.c struct dao *dao = container_of(atc->daios[type], struct dao, daio); dao 1047 sound/pci/ctxfi/ctatc.c return dao->ops->get_spos(dao, status); dao 1053 sound/pci/ctxfi/ctatc.c struct dao *dao = container_of(atc->daios[type], struct dao, daio); dao 1055 sound/pci/ctxfi/ctatc.c dao->ops->set_spos(dao, status); dao 1056 sound/pci/ctxfi/ctatc.c dao->ops->commit_write(dao); dao 1113 sound/pci/ctxfi/ctatc.c struct dao *dao; dao 1120 sound/pci/ctxfi/ctatc.c dao = container_of(atc->daios[SPDIFOO], struct dao, daio); dao 1123 sound/pci/ctxfi/ctatc.c err = dao->ops->reinit(dao, &da_dsc); dao 1129 sound/pci/ctxfi/ctatc.c dao->ops->set_left_input(dao, rscs[0]); dao 1130 sound/pci/ctxfi/ctatc.c dao->ops->set_right_input(dao, rscs[1]); dao 1135 sound/pci/ctxfi/ctatc.c dao->ops->set_spos(dao, spos); dao 1136 sound/pci/ctxfi/ctatc.c dao->ops->commit_write(dao); dao 1146 sound/pci/ctxfi/ctatc.c struct dao *dao = NULL; dao 1170 sound/pci/ctxfi/ctatc.c dao = container_of(daio, struct dao, daio); dao 1171 sound/pci/ctxfi/ctatc.c dao->ops->clear_left_input(dao); dao 1172 sound/pci/ctxfi/ctatc.c dao->ops->clear_right_input(dao); dao 1490 sound/pci/ctxfi/ctatc.c struct dao *dao; dao 1501 sound/pci/ctxfi/ctatc.c dao = container_of(atc->daios[j], struct dao, daio); dao 1502 sound/pci/ctxfi/ctatc.c dao->ops->set_left_input(dao, rscs[0]); dao 1503 sound/pci/ctxfi/ctatc.c dao->ops->set_right_input(dao, rscs[1]); dao 135 sound/pci/ctxfi/ctdaio.c static int dao_rsc_reinit(struct dao *dao, const struct dao_desc *desc); dao 137 sound/pci/ctxfi/ctdaio.c static int dao_spdif_get_spos(struct dao *dao, unsigned int *spos) dao 139 sound/pci/ctxfi/ctdaio.c dao->hw->dao_get_spos(dao->ctrl_blk, spos); dao 143 sound/pci/ctxfi/ctdaio.c static int dao_spdif_set_spos(struct dao *dao, unsigned int spos) dao 145 sound/pci/ctxfi/ctdaio.c dao->hw->dao_set_spos(dao->ctrl_blk, spos); dao 149 sound/pci/ctxfi/ctdaio.c static int dao_commit_write(struct dao *dao) dao 151 sound/pci/ctxfi/ctdaio.c dao->hw->dao_commit_write(dao->hw, dao 152 sound/pci/ctxfi/ctdaio.c daio_device_index(dao->daio.type, dao->hw), dao->ctrl_blk); dao 156 sound/pci/ctxfi/ctdaio.c static int dao_set_left_input(struct dao *dao, struct rsc *input) dao 159 sound/pci/ctxfi/ctdaio.c struct daio *daio = &dao->daio; dao 166 sound/pci/ctxfi/ctdaio.c dao->ops->clear_left_input(dao); dao 173 sound/pci/ctxfi/ctdaio.c dao->mgr->imap_add(dao->mgr, entry); dao 174 sound/pci/ctxfi/ctdaio.c dao->imappers[i] = entry; dao 185 sound/pci/ctxfi/ctdaio.c static int dao_set_right_input(struct dao *dao, struct rsc *input) dao 188 sound/pci/ctxfi/ctdaio.c struct daio *daio = &dao->daio; dao 195 sound/pci/ctxfi/ctdaio.c dao->ops->clear_right_input(dao); dao 202 sound/pci/ctxfi/ctdaio.c dao->mgr->imap_add(dao->mgr, entry); dao 203 sound/pci/ctxfi/ctdaio.c dao->imappers[daio->rscl.msr + i] = entry; dao 214 sound/pci/ctxfi/ctdaio.c static int dao_clear_left_input(struct dao *dao) dao 217 sound/pci/ctxfi/ctdaio.c struct daio *daio = &dao->daio; dao 220 sound/pci/ctxfi/ctdaio.c if (!dao->imappers[0]) dao 223 sound/pci/ctxfi/ctdaio.c entry = dao->imappers[0]; dao 224 sound/pci/ctxfi/ctdaio.c dao->mgr->imap_delete(dao->mgr, entry); dao 227 sound/pci/ctxfi/ctdaio.c entry = dao->imappers[i]; dao 228 sound/pci/ctxfi/ctdaio.c dao->mgr->imap_delete(dao->mgr, entry); dao 229 sound/pci/ctxfi/ctdaio.c dao->imappers[i] = NULL; dao 232 sound/pci/ctxfi/ctdaio.c kfree(dao->imappers[0]); dao 233 sound/pci/ctxfi/ctdaio.c dao->imappers[0] = NULL; dao 238 sound/pci/ctxfi/ctdaio.c static int dao_clear_right_input(struct dao *dao) dao 241 sound/pci/ctxfi/ctdaio.c struct daio *daio = &dao->daio; dao 244 sound/pci/ctxfi/ctdaio.c if (!dao->imappers[daio->rscl.msr]) dao 247 sound/pci/ctxfi/ctdaio.c entry = dao->imappers[daio->rscl.msr]; dao 248 sound/pci/ctxfi/ctdaio.c dao->mgr->imap_delete(dao->mgr, entry); dao 251 sound/pci/ctxfi/ctdaio.c entry = dao->imappers[daio->rscl.msr + i]; dao 252 sound/pci/ctxfi/ctdaio.c dao->mgr->imap_delete(dao->mgr, entry); dao 253 sound/pci/ctxfi/ctdaio.c dao->imappers[daio->rscl.msr + i] = NULL; dao 256 sound/pci/ctxfi/ctdaio.c kfree(dao->imappers[daio->rscl.msr]); dao 257 sound/pci/ctxfi/ctdaio.c dao->imappers[daio->rscl.msr] = NULL; dao 385 sound/pci/ctxfi/ctdaio.c static int dao_rsc_init(struct dao *dao, dao 393 sound/pci/ctxfi/ctdaio.c err = daio_rsc_init(&dao->daio, desc, mgr->mgr.hw); dao 397 sound/pci/ctxfi/ctdaio.c dao->imappers = kzalloc(array3_size(sizeof(void *), desc->msr, 2), dao 399 sound/pci/ctxfi/ctdaio.c if (!dao->imappers) { dao 403 sound/pci/ctxfi/ctdaio.c dao->ops = &dao_ops; dao 404 sound/pci/ctxfi/ctdaio.c dao->mgr = mgr; dao 405 sound/pci/ctxfi/ctdaio.c dao->hw = hw; dao 406 sound/pci/ctxfi/ctdaio.c err = hw->dao_get_ctrl_blk(&dao->ctrl_blk); dao 411 sound/pci/ctxfi/ctdaio.c daio_device_index(dao->daio.type, hw)); dao 416 sound/pci/ctxfi/ctdaio.c daio_device_index(dao->daio.type, hw), conf); dao 418 sound/pci/ctxfi/ctdaio.c daio_device_index(dao->daio.type, hw)); dao 424 sound/pci/ctxfi/ctdaio.c kfree(dao->imappers); dao 425 sound/pci/ctxfi/ctdaio.c dao->imappers = NULL; dao 427 sound/pci/ctxfi/ctdaio.c daio_rsc_uninit(&dao->daio); dao 431 sound/pci/ctxfi/ctdaio.c static int dao_rsc_uninit(struct dao *dao) dao 433 sound/pci/ctxfi/ctdaio.c if (dao->imappers) { dao 434 sound/pci/ctxfi/ctdaio.c if (dao->imappers[0]) dao 435 sound/pci/ctxfi/ctdaio.c dao_clear_left_input(dao); dao 437 sound/pci/ctxfi/ctdaio.c if (dao->imappers[dao->daio.rscl.msr]) dao 438 sound/pci/ctxfi/ctdaio.c dao_clear_right_input(dao); dao 440 sound/pci/ctxfi/ctdaio.c kfree(dao->imappers); dao 441 sound/pci/ctxfi/ctdaio.c dao->imappers = NULL; dao 443 sound/pci/ctxfi/ctdaio.c dao->hw->dao_put_ctrl_blk(dao->ctrl_blk); dao 444 sound/pci/ctxfi/ctdaio.c dao->hw = dao->ctrl_blk = NULL; dao 445 sound/pci/ctxfi/ctdaio.c daio_rsc_uninit(&dao->daio); dao 450 sound/pci/ctxfi/ctdaio.c static int dao_rsc_reinit(struct dao *dao, const struct dao_desc *desc) dao 452 sound/pci/ctxfi/ctdaio.c struct daio_mgr *mgr = dao->mgr; dao 455 sound/pci/ctxfi/ctdaio.c dsc.type = dao->daio.type; dao 458 sound/pci/ctxfi/ctdaio.c dao_rsc_uninit(dao); dao 459 sound/pci/ctxfi/ctdaio.c return dao_rsc_init(dao, &dsc, mgr); dao 545 sound/pci/ctxfi/ctdaio.c struct dao *dao = kzalloc(sizeof(*dao), GFP_KERNEL); dao 546 sound/pci/ctxfi/ctdaio.c if (!dao) dao 549 sound/pci/ctxfi/ctdaio.c err = dao_rsc_init(dao, desc, mgr); dao 551 sound/pci/ctxfi/ctdaio.c kfree(dao); dao 555 sound/pci/ctxfi/ctdaio.c *rdaio = &dao->daio; dao 594 sound/pci/ctxfi/ctdaio.c dao_rsc_uninit(container_of(daio, struct dao, daio)); dao 595 sound/pci/ctxfi/ctdaio.c kfree(container_of(daio, struct dao, daio)); dao 70 sound/pci/ctxfi/ctdaio.h int (*set_spos)(struct dao *dao, unsigned int spos); dao 71 sound/pci/ctxfi/ctdaio.h int (*commit_write)(struct dao *dao); dao 72 sound/pci/ctxfi/ctdaio.h int (*get_spos)(struct dao *dao, unsigned int *spos); dao 73 sound/pci/ctxfi/ctdaio.h int (*reinit)(struct dao *dao, const struct dao_desc *desc); dao 74 sound/pci/ctxfi/ctdaio.h int (*set_left_input)(struct dao *dao, struct rsc *input); dao 75 sound/pci/ctxfi/ctdaio.h int (*set_right_input)(struct dao *dao, struct rsc *input); dao 76 sound/pci/ctxfi/ctdaio.h int (*clear_left_input)(struct dao *dao); dao 77 sound/pci/ctxfi/ctdaio.h int (*clear_right_input)(struct dao *dao);