Lines Matching refs:cmdq_buf
111 struct hinic_cmdq_buf cmdq_buf; in write_sq_ctxts() local
117 err = hinic_alloc_cmdq_buf(&func_to_io->cmdqs, &cmdq_buf); in write_sq_ctxts()
123 sq_ctxt_block = cmdq_buf.buf; in write_sq_ctxts()
135 cmdq_buf.size = HINIC_SQ_CTXT_SIZE(num_sqs); in write_sq_ctxts()
138 IO_CMD_MODIFY_QUEUE_CTXT, &cmdq_buf, in write_sq_ctxts()
145 hinic_free_cmdq_buf(&func_to_io->cmdqs, &cmdq_buf); in write_sq_ctxts()
155 struct hinic_cmdq_buf cmdq_buf; in write_rq_ctxts() local
161 err = hinic_alloc_cmdq_buf(&func_to_io->cmdqs, &cmdq_buf); in write_rq_ctxts()
167 rq_ctxt_block = cmdq_buf.buf; in write_rq_ctxts()
179 cmdq_buf.size = HINIC_RQ_CTXT_SIZE(num_rqs); in write_rq_ctxts()
182 IO_CMD_MODIFY_QUEUE_CTXT, &cmdq_buf, in write_rq_ctxts()
189 hinic_free_cmdq_buf(&func_to_io->cmdqs, &cmdq_buf); in write_rq_ctxts()
214 struct hinic_cmdq_buf cmdq_buf; in hinic_clean_queue_offload_ctxt() local
218 err = hinic_alloc_cmdq_buf(&func_to_io->cmdqs, &cmdq_buf); in hinic_clean_queue_offload_ctxt()
224 ctxt_block = cmdq_buf.buf; in hinic_clean_queue_offload_ctxt()
234 cmdq_buf.size = sizeof(*ctxt_block); in hinic_clean_queue_offload_ctxt()
238 &cmdq_buf, &out_param); in hinic_clean_queue_offload_ctxt()
247 hinic_free_cmdq_buf(&func_to_io->cmdqs, &cmdq_buf); in hinic_clean_queue_offload_ctxt()