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