Lines Matching refs:desc
138 struct axidma_bd *desc) in desc_set_phys_addr() argument
140 desc->phys = lower_32_bits(addr); in desc_set_phys_addr()
142 desc->phys_msb = upper_32_bits(addr); in desc_set_phys_addr()
146 struct axidma_bd *desc) in desc_get_phys_addr() argument
148 dma_addr_t ret = desc->phys; in desc_get_phys_addr()
151 ret |= ((dma_addr_t)desc->phys_msb << 16) << 16; in desc_get_phys_addr()
2079 void __iomem *desc = lp->dma_regs + XAXIDMA_TX_CDESC_OFFSET + 4; in axienet_probe() local
2081 iowrite32(0x0, desc); in axienet_probe()
2082 if (ioread32(desc) == 0) { /* sanity check */ in axienet_probe()
2083 iowrite32(0xffffffff, desc); in axienet_probe()
2084 if (ioread32(desc) > 0) { in axienet_probe()
2090 iowrite32(0x0, desc); in axienet_probe()