Home
last modified time | relevance | path

Searched refs:tr_size (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/media/pci/netup_unidvb/
Dnetup_unidvb_spi.c102 u32 tr_size; in netup_spi_transfer() local
108 tr_size = t->len; in netup_spi_transfer()
109 while (tr_size) { in netup_spi_transfer()
110 u32 frag_offset = t->len - tr_size; in netup_spi_transfer()
111 u32 frag_size = (tr_size > sizeof(spi->regs->data)) ? in netup_spi_transfer()
112 sizeof(spi->regs->data) : tr_size; in netup_spi_transfer()
158 tr_size -= frag_size; in netup_spi_transfer()
/linux-6.1.9/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()
968 u32 tr_count, u32 tr_size, u32 reload_idx, in cppi5_trdesc_init() argument
981 desc_hdr->pkt_info1 |= ((ffs(tr_size >> 4) - 1) << in cppi5_trdesc_init()
/linux-6.1.9/drivers/dma/ti/
Dk3-udma.c2752 size_t tr_size, int tr_count, in udma_alloc_tr_desc() argument
2761 switch (tr_size) { in udma_alloc_tr_desc()
2768 dev_err(uc->ud->dev, "Unsupported TR size of %zu\n", tr_size); in udma_alloc_tr_desc()
2789 hwdesc->cppi5_desc_size = cppi5_trdesc_calc_size(tr_size, in udma_alloc_tr_desc()
2805 hwdesc->tr_req_base = hwdesc->cppi5_desc_vaddr + tr_size; in udma_alloc_tr_desc()
2807 hwdesc->tr_resp_base = hwdesc->tr_req_base + tr_size * tr_count; in udma_alloc_tr_desc()
2819 cppi5_trdesc_init(tr_desc, tr_count, tr_size, 0, reload_count); in udma_alloc_tr_desc()
2882 size_t tr_size; in udma_prep_slave_sg_tr() local
2896 tr_size = sizeof(struct cppi5_tr_type1_t); in udma_prep_slave_sg_tr()
2897 d = udma_alloc_tr_desc(uc, tr_size, num_tr, dir); in udma_prep_slave_sg_tr()
[all …]