Lines Matching defs:memory
62 * consistent memory allocation.
137 * memory (which is 32 bits) so that we can use all of the structure
298 __u8 *memory;
307 memory = dma_alloc_coherent(dev, TOTAL_MEM_SIZE, &pScript, GFP_KERNEL);
308 if (!memory) {
310 memory = dma_alloc_noncoherent(dev, TOTAL_MEM_SIZE, &pScript,
313 if (!memory) {
314 printk(KERN_ERR "53c700: Failed to allocate memory for driver, detaching\n");
318 script = (__u32 *)memory;
319 hostdata->msgin = memory + MSGIN_OFFSET;
320 hostdata->msgout = memory + MSGOUT_OFFSET;
321 hostdata->status = memory + STATUS_OFFSET;
322 hostdata->slots = (struct NCR_700_command_slot *)(memory + SLOTS_OFFSET);
2043 /* to do here: allocate memory; build a queue_full list */