Searched refs:edb_arr (Results 1 – 6 of 6) sorted by relevance
277 seq->edb_arr = kmalloc_array(seq->num_edbs, sizeof(*seq->edb_arr), in asd_alloc_edbs()279 if (!seq->edb_arr) in asd_alloc_edbs()283 seq->edb_arr[i] = asd_alloc_coherent(asd_ha, ASD_EDB_SIZE, in asd_alloc_edbs()285 if (!seq->edb_arr[i]) in asd_alloc_edbs()287 memset(seq->edb_arr[i]->vaddr, 0, ASD_EDB_SIZE); in asd_alloc_edbs()296 asd_free_coherent(asd_ha, seq->edb_arr[i]); in asd_alloc_edbs()297 kfree(seq->edb_arr); in asd_alloc_edbs()298 seq->edb_arr = NULL; in asd_alloc_edbs()354 struct asd_dma_tok *edb = seq->edb_arr[z++]; in asd_assign_edbs2escbs()
544 asd_free_coherent(asd_ha, seq->edb_arr[i]); in asd_free_edbs()545 kfree(seq->edb_arr); in asd_free_edbs()546 seq->edb_arr = NULL; in asd_free_edbs()583 if (asd_ha->seq.edb_arr) in asd_destroy_ha_caches()
162 struct asd_dma_tok **edb_arr; member
224 struct asd_dma_tok *edb = ascb->ha->seq.edb_arr[edb_el]; in asd_bytes_dmaed_tasklet()371 struct asd_dma_tok *edb = seq->edb_arr[ascb->edb_index + edb_id]; in asd_invalidate_edb()
285 edb = asd_ha->seq.edb_arr[edb_id + escb->edb_index]; in asd_get_tmf_resp_tasklet()
170 edb = asd_ha->seq.edb_arr[edb_id + escb->edb_index]; in asd_get_response_tasklet()