Lines Matching refs:h_desc

1041 	struct cppi5_host_desc_t *h_desc;  in udma_cyclic_packet_elapsed()  local
1043 h_desc = d->hwdesc[d->desc_idx].cppi5_desc_vaddr; in udma_cyclic_packet_elapsed()
1044 cppi5_hdesc_reset_to_original(h_desc); in udma_cyclic_packet_elapsed()
1051 struct cppi5_host_desc_t *h_desc = d->hwdesc[0].cppi5_desc_vaddr; in udma_fetch_epib() local
1053 memcpy(d->metadata, h_desc->epib, d->metadata_size); in udma_fetch_epib()
3215 struct cppi5_host_desc_t *h_desc = NULL; in udma_prep_slave_sg_pkt() local
3276 if (h_desc) in udma_prep_slave_sg_pkt()
3277 cppi5_hdesc_link_hbdesc(h_desc, in udma_prep_slave_sg_pkt()
3282 h_desc = desc; in udma_prep_slave_sg_pkt()
3294 h_desc = d->hwdesc[0].cppi5_desc_vaddr; in udma_prep_slave_sg_pkt()
3295 cppi5_hdesc_set_pktlen(h_desc, d->residue); in udma_prep_slave_sg_pkt()
3305 struct cppi5_host_desc_t *h_desc; in udma_attach_metadata() local
3318 h_desc = d->hwdesc[0].cppi5_desc_vaddr; in udma_attach_metadata()
3320 memcpy(h_desc->epib, data, len); in udma_attach_metadata()
3330 cppi5_hdesc_update_flags(h_desc, flags); in udma_attach_metadata()
3331 cppi5_hdesc_update_psdata_size(h_desc, psd_size); in udma_attach_metadata()
3341 struct cppi5_host_desc_t *h_desc; in udma_get_metadata_ptr() local
3346 h_desc = d->hwdesc[0].cppi5_desc_vaddr; in udma_get_metadata_ptr()
3350 *payload_len = cppi5_hdesc_epib_present(&h_desc->hdr) ? in udma_get_metadata_ptr()
3352 *payload_len += cppi5_hdesc_get_psdata_size(h_desc); in udma_get_metadata_ptr()
3354 return h_desc->epib; in udma_get_metadata_ptr()
3362 struct cppi5_host_desc_t *h_desc; in udma_set_metadata_len() local
3375 h_desc = d->hwdesc[0].cppi5_desc_vaddr; in udma_set_metadata_len()
3382 cppi5_hdesc_update_flags(h_desc, flags); in udma_set_metadata_len()
3383 cppi5_hdesc_update_psdata_size(h_desc, psd_size); in udma_set_metadata_len()
3568 struct cppi5_host_desc_t *h_desc; in udma_prep_dma_cyclic_pkt() local
3583 h_desc = hwdesc->cppi5_desc_vaddr; in udma_prep_dma_cyclic_pkt()
3585 cppi5_hdesc_init(h_desc, 0, 0); in udma_prep_dma_cyclic_pkt()
3586 cppi5_hdesc_set_pktlen(h_desc, period_len); in udma_prep_dma_cyclic_pkt()
3589 cppi5_desc_set_pktids(&h_desc->hdr, uc->id, in udma_prep_dma_cyclic_pkt()
3591 cppi5_desc_set_retpolicy(&h_desc->hdr, 0, ring_id); in udma_prep_dma_cyclic_pkt()
3594 cppi5_hdesc_attach_buf(h_desc, in udma_prep_dma_cyclic_pkt()