/kernel/linux/linux-5.10/sound/pci/ctxfi/ |
H A D | ctdaio.c | 152 daio_device_index(dao->daio.type, dao->hw), dao->ctrl_blk); in dao_commit_write() 159 struct daio *daio = &dao->daio; in dao_set_left_input() local 162 entry = kzalloc((sizeof(*entry) * daio->rscl.msr), GFP_KERNEL); in dao_set_left_input() 169 daio->rscl.ops->master(&daio->rscl); in dao_set_left_input() 170 for (i = 0; i < daio->rscl.msr; i++, entry++) { in dao_set_left_input() 172 entry->user = entry->addr = daio->rscl.ops->index(&daio in dao_set_left_input() 188 struct daio *daio = &dao->daio; dao_set_right_input() local 217 struct daio *daio = &dao->daio; dao_clear_left_input() local 241 struct daio *daio = &dao->daio; dao_clear_right_input() local 326 daio_rsc_init(struct daio *daio, const struct daio_desc *desc, struct hw *hw) daio_rsc_init() argument 377 daio_rsc_uninit(struct daio *daio) daio_rsc_uninit() argument 582 put_daio_rsc(struct daio_mgr *mgr, struct daio *daio) put_daio_rsc() argument 604 daio_mgr_enb_daio(struct daio_mgr *mgr, struct daio *daio) daio_mgr_enb_daio() argument 618 daio_mgr_dsb_daio(struct daio_mgr *mgr, struct daio *daio) daio_mgr_dsb_daio() argument [all...] |
H A D | ctdaio.h | 24 /* Define the descriptor of a daio resource */ 42 struct daio { struct 49 struct daio daio; member 58 struct daio daio; member 89 /* Define daio resource request description info */ 105 /* request one daio resource */ 107 const struct daio_desc *desc, struct daio **rdaio); 108 /* return one daio resourc [all...] |
H A D | ctatc.c | 860 struct dao *dao = container_of(atc->daios[SPDIFOO], struct dao, daio); in spdif_passthru_playback_setup() 928 dao = container_of(atc->daios[SPDIFOO], struct dao, daio); in spdif_passthru_playback_prepare() 1048 struct dao *dao = container_of(atc->daios[type], struct dao, daio); in atc_dao_get_status() 1055 struct dao *dao = container_of(atc->daios[type], struct dao, daio); in atc_dao_set_status() 1122 dao = container_of(atc->daios[SPDIFOO], struct dao, daio); in atc_spdif_out_passthru() 1149 struct daio *daio = NULL; in atc_release_resources() local 1170 daio = atc->daios[i]; in atc_release_resources() 1171 if (daio->type < LINEIM) { in atc_release_resources() 1172 dao = container_of(daio, struc in atc_release_resources() [all...] |
/kernel/linux/linux-6.6/sound/pci/ctxfi/ |
H A D | ctdaio.c | 152 daio_device_index(dao->daio.type, dao->hw), dao->ctrl_blk); in dao_commit_write() 159 struct daio *daio = &dao->daio; in dao_set_left_input() local 162 entry = kzalloc((sizeof(*entry) * daio->rscl.msr), GFP_KERNEL); in dao_set_left_input() 169 daio->rscl.ops->master(&daio->rscl); in dao_set_left_input() 170 for (i = 0; i < daio->rscl.msr; i++, entry++) { in dao_set_left_input() 172 entry->user = entry->addr = daio->rscl.ops->index(&daio in dao_set_left_input() 188 struct daio *daio = &dao->daio; dao_set_right_input() local 217 struct daio *daio = &dao->daio; dao_clear_left_input() local 241 struct daio *daio = &dao->daio; dao_clear_right_input() local 326 daio_rsc_init(struct daio *daio, const struct daio_desc *desc, struct hw *hw) daio_rsc_init() argument 377 daio_rsc_uninit(struct daio *daio) daio_rsc_uninit() argument 582 put_daio_rsc(struct daio_mgr *mgr, struct daio *daio) put_daio_rsc() argument 604 daio_mgr_enb_daio(struct daio_mgr *mgr, struct daio *daio) daio_mgr_enb_daio() argument 618 daio_mgr_dsb_daio(struct daio_mgr *mgr, struct daio *daio) daio_mgr_dsb_daio() argument [all...] |
H A D | ctdaio.h | 24 /* Define the descriptor of a daio resource */ 42 struct daio { struct 49 struct daio daio; member 58 struct daio daio; member 89 /* Define daio resource request description info */ 105 /* request one daio resource */ 107 const struct daio_desc *desc, struct daio **rdaio); 108 /* return one daio resourc [all...] |
H A D | ctatc.c | 860 struct dao *dao = container_of(atc->daios[SPDIFOO], struct dao, daio); in spdif_passthru_playback_setup() 928 dao = container_of(atc->daios[SPDIFOO], struct dao, daio); in spdif_passthru_playback_prepare() 1048 struct dao *dao = container_of(atc->daios[type], struct dao, daio); in atc_dao_get_status() 1055 struct dao *dao = container_of(atc->daios[type], struct dao, daio); in atc_dao_set_status() 1122 dao = container_of(atc->daios[SPDIFOO], struct dao, daio); in atc_spdif_out_passthru() 1149 struct daio *daio = NULL; in atc_release_resources() local 1170 daio = atc->daios[i]; in atc_release_resources() 1171 if (daio->type < LINEIM) { in atc_release_resources() 1172 dao = container_of(daio, struc in atc_release_resources() [all...] |