Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/tty/
Dsynclink_gt.c3341 unsigned int pbufs; in alloc_desc() local
3352 pbufs = (unsigned int)info->bufs_dma_addr; in alloc_desc()
3360 info->rbufs[i].pdesc = pbufs + (i * sizeof(struct slgt_desc)); in alloc_desc()
3364 info->rbufs[i].next = cpu_to_le32(pbufs); in alloc_desc()
3366 info->rbufs[i].next = cpu_to_le32(pbufs + ((i+1) * sizeof(struct slgt_desc))); in alloc_desc()
3372 info->tbufs[i].pdesc = pbufs + ((info->rbuf_count + i) * sizeof(struct slgt_desc)); in alloc_desc()
3376 info->tbufs[i].next = cpu_to_le32(pbufs + info->rbuf_count * sizeof(struct slgt_desc)); in alloc_desc()
3378 …info->tbufs[i].next = cpu_to_le32(pbufs + ((info->rbuf_count + i + 1) * sizeof(struct slgt_desc))); in alloc_desc()