Lines Matching full:queues

237 	 *	Fill in addresses of the Comm Area Headers and Queues  in aac_alloc_comm()
373 struct aac_entry * queues; in aac_comm_init() local
375 struct aac_queue_block * comm = dev->queues; in aac_comm_init()
394 queues = (struct aac_entry *)(((ulong)headers) + hdrsize); in aac_comm_init()
397 comm->queue[HostNormCmdQueue].base = queues; in aac_comm_init()
399 queues += HOST_NORM_CMD_ENTRIES; in aac_comm_init()
403 comm->queue[HostHighCmdQueue].base = queues; in aac_comm_init()
406 queues += HOST_HIGH_CMD_ENTRIES; in aac_comm_init()
410 comm->queue[AdapNormCmdQueue].base = queues; in aac_comm_init()
413 queues += ADAP_NORM_CMD_ENTRIES; in aac_comm_init()
417 comm->queue[AdapHighCmdQueue].base = queues; in aac_comm_init()
420 queues += ADAP_HIGH_CMD_ENTRIES; in aac_comm_init()
424 comm->queue[HostNormRespQueue].base = queues; in aac_comm_init()
426 queues += HOST_NORM_RESP_ENTRIES; in aac_comm_init()
430 comm->queue[HostHighRespQueue].base = queues; in aac_comm_init()
433 queues += HOST_HIGH_RESP_ENTRIES; in aac_comm_init()
437 comm->queue[AdapNormRespQueue].base = queues; in aac_comm_init()
440 queues += ADAP_NORM_RESP_ENTRIES; in aac_comm_init()
444 comm->queue[AdapHighRespQueue].base = queues; in aac_comm_init()
636 dev->queues = kzalloc(sizeof(struct aac_queue_block), GFP_KERNEL); in aac_init_adapter()
637 if (dev->queues == NULL) { in aac_init_adapter()
643 kfree(dev->queues); in aac_init_adapter()
644 dev->queues = NULL; in aac_init_adapter()
651 kfree(dev->queues); in aac_init_adapter()
652 dev->queues = NULL; in aac_init_adapter()