Lines Matching full:wrapped
177 static void cmdq_prepare_wqe_ctrl(struct hinic_cmdq_wqe *wqe, int wrapped, in cmdq_prepare_wqe_ctrl() argument
216 HINIC_CMDQ_WQE_HEADER_SET(wrapped, TOGGLED_WRAPPED); in cmdq_prepare_wqe_ctrl()
246 struct hinic_cmdq_buf *buf_out, int wrapped, in cmdq_set_lcmd_wqe() argument
264 cmdq_prepare_wqe_ctrl(wqe, wrapped, ack_type, mod, cmd, in cmdq_set_lcmd_wqe()
274 struct hinic_cmdq_buf *buf_out, int wrapped, in cmdq_set_direct_wqe() argument
295 cmdq_prepare_wqe_ctrl(wqe, wrapped, ack_type, mod, cmd, prod_idx, in cmdq_set_direct_wqe()
342 int errcode, wrapped, num_wqebbs; in cmdq_sync_cmd_direct_resp() local
359 wrapped = cmdq->wrapped; in cmdq_sync_cmd_direct_resp()
364 cmdq->wrapped = !cmdq->wrapped; in cmdq_sync_cmd_direct_resp()
374 wrapped, HINIC_CMD_ACK_TYPE_CMDQ, mod, cmd, in cmdq_sync_cmd_direct_resp()
424 int wrapped, num_wqebbs; in cmdq_set_arm_bit() local
438 wrapped = cmdq->wrapped; in cmdq_set_arm_bit()
443 cmdq->wrapped = !cmdq->wrapped; in cmdq_set_arm_bit()
448 in_size, NULL, wrapped, HINIC_CMD_ACK_TYPE_CMDQ, in cmdq_set_arm_bit()
711 HINIC_CMDQ_CTXT_PAGE_INFO_SET(cmdq->wrapped, WRAPPED); in cmdq_init_queue_ctxt()
745 cmdq->wrapped = 1; in init_cmdq()