Home
last modified time | relevance | path

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

/Linux-v5.10/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-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()
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-v5.10/drivers/dma/ti/
Dk3-udma.c1898 size_t tr_size, int tr_count, in udma_alloc_tr_desc() argument
1907 switch (tr_size) { in udma_alloc_tr_desc()
1914 dev_err(uc->ud->dev, "Unsupported TR size of %zu\n", tr_size); in udma_alloc_tr_desc()
1935 hwdesc->cppi5_desc_size = cppi5_trdesc_calc_size(tr_size, in udma_alloc_tr_desc()
1951 hwdesc->tr_req_base = hwdesc->cppi5_desc_vaddr + tr_size; 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()
2028 size_t tr_size; in udma_prep_slave_sg_tr() local
2041 tr_size = sizeof(struct cppi5_tr_type1_t); in udma_prep_slave_sg_tr()
2042 d = udma_alloc_tr_desc(uc, tr_size, num_tr, dir); in udma_prep_slave_sg_tr()
[all …]