Lines Matching refs:h_desc

1040 	struct cppi5_host_desc_t *h_desc;  in udma_cyclic_packet_elapsed()  local
1042 h_desc = d->hwdesc[d->desc_idx].cppi5_desc_vaddr; in udma_cyclic_packet_elapsed()
1043 cppi5_hdesc_reset_to_original(h_desc); in udma_cyclic_packet_elapsed()
1050 struct cppi5_host_desc_t *h_desc = d->hwdesc[0].cppi5_desc_vaddr; in udma_fetch_epib() local
1052 memcpy(d->metadata, h_desc->epib, d->metadata_size); in udma_fetch_epib()
3214 struct cppi5_host_desc_t *h_desc = NULL; in udma_prep_slave_sg_pkt() local
3275 if (h_desc) in udma_prep_slave_sg_pkt()
3276 cppi5_hdesc_link_hbdesc(h_desc, in udma_prep_slave_sg_pkt()
3281 h_desc = desc; in udma_prep_slave_sg_pkt()
3293 h_desc = d->hwdesc[0].cppi5_desc_vaddr; in udma_prep_slave_sg_pkt()
3294 cppi5_hdesc_set_pktlen(h_desc, d->residue); in udma_prep_slave_sg_pkt()
3304 struct cppi5_host_desc_t *h_desc; in udma_attach_metadata() local
3317 h_desc = d->hwdesc[0].cppi5_desc_vaddr; in udma_attach_metadata()
3319 memcpy(h_desc->epib, data, len); in udma_attach_metadata()
3329 cppi5_hdesc_update_flags(h_desc, flags); in udma_attach_metadata()
3330 cppi5_hdesc_update_psdata_size(h_desc, psd_size); in udma_attach_metadata()
3340 struct cppi5_host_desc_t *h_desc; in udma_get_metadata_ptr() local
3345 h_desc = d->hwdesc[0].cppi5_desc_vaddr; in udma_get_metadata_ptr()
3349 *payload_len = cppi5_hdesc_epib_present(&h_desc->hdr) ? in udma_get_metadata_ptr()
3351 *payload_len += cppi5_hdesc_get_psdata_size(h_desc); in udma_get_metadata_ptr()
3353 return h_desc->epib; in udma_get_metadata_ptr()
3361 struct cppi5_host_desc_t *h_desc; in udma_set_metadata_len() local
3374 h_desc = d->hwdesc[0].cppi5_desc_vaddr; in udma_set_metadata_len()
3381 cppi5_hdesc_update_flags(h_desc, flags); in udma_set_metadata_len()
3382 cppi5_hdesc_update_psdata_size(h_desc, psd_size); in udma_set_metadata_len()
3567 struct cppi5_host_desc_t *h_desc; in udma_prep_dma_cyclic_pkt() local
3582 h_desc = hwdesc->cppi5_desc_vaddr; in udma_prep_dma_cyclic_pkt()
3584 cppi5_hdesc_init(h_desc, 0, 0); in udma_prep_dma_cyclic_pkt()
3585 cppi5_hdesc_set_pktlen(h_desc, period_len); in udma_prep_dma_cyclic_pkt()
3588 cppi5_desc_set_pktids(&h_desc->hdr, uc->id, in udma_prep_dma_cyclic_pkt()
3590 cppi5_desc_set_retpolicy(&h_desc->hdr, 0, ring_id); in udma_prep_dma_cyclic_pkt()
3593 cppi5_hdesc_attach_buf(h_desc, in udma_prep_dma_cyclic_pkt()