Searched refs:async_desc (Results 1 – 2 of 2) sorted by relevance
654 struct bam_async_desc *async_desc; in bam_prep_slave_sg() local671 async_desc = kzalloc(struct_size(async_desc, desc, num_alloc), in bam_prep_slave_sg()674 if (!async_desc) in bam_prep_slave_sg()678 async_desc->flags |= DESC_FLAG_NWD; in bam_prep_slave_sg()681 async_desc->flags |= DESC_FLAG_EOT; in bam_prep_slave_sg()683 async_desc->num_desc = num_alloc; in bam_prep_slave_sg()684 async_desc->curr_desc = async_desc->desc; in bam_prep_slave_sg()685 async_desc->dir = direction; in bam_prep_slave_sg()688 desc = async_desc->desc; in bam_prep_slave_sg()709 async_desc->length += le16_to_cpu(desc->size); in bam_prep_slave_sg()[all …]
355 struct adm_async_desc *async_desc; in adm_prep_slave_sg() local405 async_desc = kzalloc(sizeof(*async_desc), GFP_NOWAIT); in adm_prep_slave_sg()406 if (!async_desc) { in adm_prep_slave_sg()411 async_desc->mux = achan->mux ? ADM_CRCI_CTL_MUX_SEL : 0; in adm_prep_slave_sg()412 async_desc->crci = crci; in adm_prep_slave_sg()413 async_desc->blk_size = blk_size; in adm_prep_slave_sg()414 async_desc->dma_len = single_count * sizeof(struct adm_desc_hw_single) + in adm_prep_slave_sg()418 async_desc->cpl = kzalloc(async_desc->dma_len, GFP_NOWAIT); in adm_prep_slave_sg()419 if (!async_desc->cpl) { in adm_prep_slave_sg()424 async_desc->adev = adev; in adm_prep_slave_sg()[all …]