Lines Matching refs:wrapped
182 static void cmdq_prepare_wqe_ctrl(struct hinic_cmdq_wqe *wqe, int wrapped, in cmdq_prepare_wqe_ctrl() argument
221 HINIC_CMDQ_WQE_HEADER_SET(wrapped, TOGGLED_WRAPPED); in cmdq_prepare_wqe_ctrl()
251 struct hinic_cmdq_buf *buf_out, int wrapped, in cmdq_set_lcmd_wqe() argument
269 cmdq_prepare_wqe_ctrl(wqe, wrapped, ack_type, mod, cmd, in cmdq_set_lcmd_wqe()
279 struct hinic_cmdq_buf *buf_out, int wrapped, in cmdq_set_direct_wqe() argument
300 cmdq_prepare_wqe_ctrl(wqe, wrapped, ack_type, mod, cmd, prod_idx, in cmdq_set_direct_wqe()
347 int errcode, wrapped, num_wqebbs; in cmdq_sync_cmd_direct_resp() local
364 wrapped = cmdq->wrapped; in cmdq_sync_cmd_direct_resp()
369 cmdq->wrapped = !cmdq->wrapped; in cmdq_sync_cmd_direct_resp()
379 wrapped, HINIC_CMD_ACK_TYPE_CMDQ, mod, cmd, in cmdq_sync_cmd_direct_resp()
429 int wrapped, num_wqebbs; in cmdq_set_arm_bit() local
443 wrapped = cmdq->wrapped; in cmdq_set_arm_bit()
448 cmdq->wrapped = !cmdq->wrapped; in cmdq_set_arm_bit()
453 in_size, NULL, wrapped, HINIC_CMD_ACK_TYPE_CMDQ, in cmdq_set_arm_bit()
716 HINIC_CMDQ_CTXT_PAGE_INFO_SET(cmdq->wrapped, WRAPPED); in cmdq_init_queue_ctxt()
750 cmdq->wrapped = 1; in init_cmdq()