Lines Matching refs:headers
268 q->headers.producer = (__le32 *)mem; in aac_queue_init()
269 q->headers.consumer = (__le32 *)(mem+1); in aac_queue_init()
270 *(q->headers.producer) = cpu_to_le32(qsize); in aac_queue_init()
271 *(q->headers.consumer) = cpu_to_le32(qsize); in aac_queue_init()
372 u32 *headers; in aac_comm_init() local
391 if (!aac_alloc_comm(dev, (void * *)&headers, size, QUEUE_ALIGNMENT)) in aac_comm_init()
394 queues = (struct aac_entry *)(((ulong)headers) + hdrsize); in aac_comm_init()
398 aac_queue_init(dev, &comm->queue[HostNormCmdQueue], headers, HOST_NORM_CMD_ENTRIES); in aac_comm_init()
400 headers += 2; in aac_comm_init()
404 aac_queue_init(dev, &comm->queue[HostHighCmdQueue], headers, HOST_HIGH_CMD_ENTRIES); in aac_comm_init()
407 headers +=2; in aac_comm_init()
411 aac_queue_init(dev, &comm->queue[AdapNormCmdQueue], headers, ADAP_NORM_CMD_ENTRIES); in aac_comm_init()
414 headers += 2; in aac_comm_init()
418 aac_queue_init(dev, &comm->queue[AdapHighCmdQueue], headers, ADAP_HIGH_CMD_ENTRIES); in aac_comm_init()
421 headers += 2; in aac_comm_init()
425 aac_queue_init(dev, &comm->queue[HostNormRespQueue], headers, HOST_NORM_RESP_ENTRIES); in aac_comm_init()
427 headers += 2; in aac_comm_init()
431 aac_queue_init(dev, &comm->queue[HostHighRespQueue], headers, HOST_HIGH_RESP_ENTRIES); in aac_comm_init()
434 headers += 2; in aac_comm_init()
438 aac_queue_init(dev, &comm->queue[AdapNormRespQueue], headers, ADAP_NORM_RESP_ENTRIES); in aac_comm_init()
441 headers += 2; in aac_comm_init()
445 aac_queue_init(dev, &comm->queue[AdapHighRespQueue], headers, ADAP_HIGH_RESP_ENTRIES); in aac_comm_init()