Lines Matching refs:reply_queue
306 int reply_queue);
982 struct reply_queue_buffer *rq = &h->reply_queue[q]; in next_command()
1038 int reply_queue) in set_performant_mode() argument
1044 c->Header.ReplyQueue = reply_queue; in set_performant_mode()
1050 int reply_queue) in set_ioaccel1_performant_mode() argument
1058 cp->ReplyQueue = reply_queue; in set_ioaccel1_performant_mode()
1071 int reply_queue) in set_ioaccel2_tmf_performant_mode() argument
1079 cp->reply_queue = reply_queue; in set_ioaccel2_tmf_performant_mode()
1090 int reply_queue) in set_ioaccel2_performant_mode() argument
1098 cp->reply_queue = reply_queue; in set_ioaccel2_performant_mode()
1139 struct CommandList *c, int reply_queue) in __enqueue_cmd_and_start_io() argument
1146 reply_queue = h->reply_map[raw_smp_processor_id()]; in __enqueue_cmd_and_start_io()
1149 set_ioaccel1_performant_mode(h, c, reply_queue); in __enqueue_cmd_and_start_io()
1153 set_ioaccel2_performant_mode(h, c, reply_queue); in __enqueue_cmd_and_start_io()
1157 set_ioaccel2_tmf_performant_mode(h, c, reply_queue); in __enqueue_cmd_and_start_io()
1161 set_performant_mode(h, c, reply_queue); in __enqueue_cmd_and_start_io()
2830 struct CommandList *c, int reply_queue, unsigned long timeout_msecs) in hpsa_scsi_do_simple_cmd_core() argument
2835 __enqueue_cmd_and_start_io(h, c, reply_queue); in hpsa_scsi_do_simple_cmd_core()
2850 int reply_queue, unsigned long timeout_msecs) in hpsa_scsi_do_simple_cmd() argument
2856 return hpsa_scsi_do_simple_cmd_core(h, c, reply_queue, timeout_msecs); in hpsa_scsi_do_simple_cmd()
3066 u8 reset_type, int reply_queue) in hpsa_send_reset() argument
3077 rc = hpsa_scsi_do_simple_cmd(h, c, reply_queue, NO_TIMEOUT); in hpsa_send_reset()
3154 u8 reset_type, int reply_queue) in hpsa_do_reset() argument
3164 rc = hpsa_send_reset(h, dev, reset_type, reply_queue); in hpsa_do_reset()
5853 int reply_queue) in hpsa_send_test_unit_ready() argument
5860 rc = hpsa_scsi_do_simple_cmd(h, c, reply_queue, NO_TIMEOUT); in hpsa_send_test_unit_ready()
5889 unsigned char lunaddr[], int reply_queue) in hpsa_wait_for_test_unit_ready() argument
5904 rc = hpsa_send_test_unit_ready(h, c, lunaddr, reply_queue); in hpsa_wait_for_test_unit_ready()
5922 int reply_queue) in wait_for_device_to_become_ready() argument
5937 if (reply_queue == DEFAULT_REPLY_QUEUE) { in wait_for_device_to_become_ready()
5941 first_queue = reply_queue; in wait_for_device_to_become_ready()
5942 last_queue = reply_queue; in wait_for_device_to_become_ready()
8146 if (!h->reply_queue[i].head) in hpsa_free_reply_queues()
8150 h->reply_queue[i].head, in hpsa_free_reply_queues()
8151 h->reply_queue[i].busaddr); in hpsa_free_reply_queues()
8152 h->reply_queue[i].head = NULL; in hpsa_free_reply_queues()
8153 h->reply_queue[i].busaddr = 0; in hpsa_free_reply_queues()
9172 memset(h->reply_queue[i].head, 0, h->reply_queue_size); in hpsa_enter_performant_mode()
9188 writel(h->reply_queue[i].busaddr, in hpsa_enter_performant_mode()
9228 h->reply_queue[i].current_entry = in hpsa_enter_performant_mode()
9237 memset(h->reply_queue[i].head, in hpsa_enter_performant_mode()
9452 h->reply_queue[i].head = dma_alloc_coherent(&h->pdev->dev, in hpsa_put_ctlr_into_performant_mode()
9454 &h->reply_queue[i].busaddr, in hpsa_put_ctlr_into_performant_mode()
9456 if (!h->reply_queue[i].head) { in hpsa_put_ctlr_into_performant_mode()
9460 h->reply_queue[i].size = h->max_commands; in hpsa_put_ctlr_into_performant_mode()
9461 h->reply_queue[i].wraparound = 1; /* spec: init to 1 */ in hpsa_put_ctlr_into_performant_mode()
9462 h->reply_queue[i].current_entry = 0; in hpsa_put_ctlr_into_performant_mode()
9917 VERIFY_OFFSET(reply_queue, 2); in verify_offsets()