Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/rapidio/devices/
Dtsi721_dma.c65 struct tsi721_dma_desc *bd_ptr; in tsi721_bdma_ch_init() local
81 bd_ptr = dma_alloc_coherent(dev, in tsi721_bdma_ch_init()
84 if (!bd_ptr) in tsi721_bdma_ch_init()
89 bdma_chan->bd_base = bd_ptr; in tsi721_bdma_ch_init()
93 bdma_chan->id, bd_ptr, &bd_phys); in tsi721_bdma_ch_init()
106 bd_ptr, bd_phys); in tsi721_bdma_ch_init()
120 bd_ptr[bd_num].type_id = cpu_to_le32(DTYPE3 << 29); in tsi721_bdma_ch_init()
121 bd_ptr[bd_num].next_lo = cpu_to_le32((u64)bd_phys & in tsi721_bdma_ch_init()
123 bd_ptr[bd_num].next_hi = cpu_to_le32((u64)bd_phys >> 32); in tsi721_bdma_ch_init()
182 bd_ptr, bd_phys); in tsi721_bdma_ch_init()
[all …]
Dtsi721.c116 struct tsi721_dma_desc *bd_ptr; in tsi721_maint_dma() local
127 bd_ptr = priv->mdma.bd_base; in tsi721_maint_dma()
132 bd_ptr[0].type_id = cpu_to_le32((DTYPE2 << 29) | (op << 19) | destid); in tsi721_maint_dma()
133 bd_ptr[0].bcount = cpu_to_le32((sys_size << 26) | 0x04); in tsi721_maint_dma()
134 bd_ptr[0].raddr_lo = cpu_to_le32((hopcount << 24) | offset); in tsi721_maint_dma()
135 bd_ptr[0].raddr_hi = 0; in tsi721_maint_dma()
137 bd_ptr[0].data[0] = cpu_to_be32p(data); in tsi721_maint_dma()
139 bd_ptr[0].data[0] = 0xffffffff; in tsi721_maint_dma()
185 *data = be32_to_cpu(bd_ptr[0].data[0]); in tsi721_maint_dma()
1444 struct tsi721_dma_desc *bd_ptr; in tsi721_bdma_maint_init() local
[all …]