Home
last modified time | relevance | path

Searched refs:tr_count (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/include/linux/dma/
Dti-cppi5.h943 static inline size_t cppi5_trdesc_calc_size(u32 tr_count, u32 tr_size) in cppi5_trdesc_calc_size() argument
951 return tr_size * (tr_count + 1) + in cppi5_trdesc_calc_size()
952 sizeof(struct cppi5_tr_resp_t) * tr_count; in cppi5_trdesc_calc_size()
968 u32 tr_count, u32 tr_size, u32 reload_idx, in cppi5_trdesc_init() argument
979 desc_hdr->pkt_info0 |= (tr_count - 1) & CPPI5_INFO0_TRDESC_LASTIDX_MASK; in cppi5_trdesc_init()
/Linux-v5.10/drivers/dma/ti/
Dk3-udma.c1898 size_t tr_size, int tr_count, in udma_alloc_tr_desc() argument
1923 d->sglen = tr_count; in udma_alloc_tr_desc()
1936 tr_count); in udma_alloc_tr_desc()
1953 hwdesc->tr_resp_base = hwdesc->tr_req_base + tr_size * tr_count; in udma_alloc_tr_desc()
1965 cppi5_trdesc_init(tr_desc, tr_count, tr_size, 0, reload_count); in udma_alloc_tr_desc()