Lines Matching refs:bd_ptr
112 struct tsi721_dma_desc *bd_ptr; in tsi721_maint_dma() local
120 bd_ptr = priv->mdma.bd_base; in tsi721_maint_dma()
125 bd_ptr[0].type_id = cpu_to_le32((DTYPE2 << 29) | (op << 19) | destid); in tsi721_maint_dma()
126 bd_ptr[0].bcount = cpu_to_le32((sys_size << 26) | 0x04); in tsi721_maint_dma()
127 bd_ptr[0].raddr_lo = cpu_to_le32((hopcount << 24) | offset); in tsi721_maint_dma()
128 bd_ptr[0].raddr_hi = 0; in tsi721_maint_dma()
130 bd_ptr[0].data[0] = cpu_to_be32p(data); in tsi721_maint_dma()
132 bd_ptr[0].data[0] = 0xffffffff; in tsi721_maint_dma()
176 *data = be32_to_cpu(bd_ptr[0].data[0]); in tsi721_maint_dma()
1052 struct tsi721_dma_desc *bd_ptr; in tsi721_bdma_maint_init() local
1071 bd_ptr = dma_zalloc_coherent(&priv->pdev->dev, in tsi721_bdma_maint_init()
1074 if (!bd_ptr) in tsi721_bdma_maint_init()
1079 priv->mdma.bd_base = bd_ptr; in tsi721_bdma_maint_init()
1082 bd_ptr, (unsigned long long)bd_phys); in tsi721_bdma_maint_init()
1095 bd_ptr, bd_phys); in tsi721_bdma_maint_init()
1109 bd_ptr[bd_num - 1].type_id = cpu_to_le32(DTYPE3 << 29); in tsi721_bdma_maint_init()
1110 bd_ptr[bd_num - 1].next_lo = cpu_to_le32((u64)bd_phys & in tsi721_bdma_maint_init()
1112 bd_ptr[bd_num - 1].next_hi = cpu_to_le32((u64)bd_phys >> 32); in tsi721_bdma_maint_init()
1493 struct tsi721_omsg_desc *bd_ptr; in tsi721_open_outb_mbox() local
1612 bd_ptr = priv->omsg_ring[mbox].omd_base; in tsi721_open_outb_mbox()
1613 bd_ptr[entries].type_id = cpu_to_le32(DTYPE5 << 29); in tsi721_open_outb_mbox()
1614 bd_ptr[entries].msg_info = 0; in tsi721_open_outb_mbox()
1615 bd_ptr[entries].next_lo = in tsi721_open_outb_mbox()
1618 bd_ptr[entries].next_hi = in tsi721_open_outb_mbox()