Lines Matching defs:desc
99 static struct ioat_dma_descriptor *ioat_desc; /* I/O AT desc & data (1 page) */
145 struct ioat_dma_descriptor *desc, unsigned long desc_phys)
149 memset(desc, 0, 2048);
150 memset((u8 *) desc + 2048, 0xab, 1024);
152 desc[0].size = 1024;
153 desc[0].ctl = 0;
154 desc[0].src_addr = desc_phys + 2048;
155 desc[0].dst_addr = desc_phys + 1024;
156 desc[0].next = 0;
173 if (*(u32 *) ((u8 *) desc + 3068) != 0xabababab ||
174 *(u32 *) ((u8 *) desc + 2044) != 0xabababab) {
176 *(u32 *) ((u8 *) desc + 2048),
177 *(u32 *) ((u8 *) desc + 1024),
178 *(u32 *) ((u8 *) desc + 3072));
239 printk(KERN_ERR I7300_PRINT "failed to allocate I/O AT desc\n");