Lines Matching refs:cmd

187 			pddcb->cmd);  in print_ddcb_info()
201 return &req->cmd; in ddcb_requ_alloc()
204 void ddcb_requ_free(struct genwqe_ddcb_cmd *cmd) in ddcb_requ_free() argument
206 struct ddcb_requ *req = container_of(cmd, struct ddcb_requ, cmd); in ddcb_requ_free()
224 return req->cmd.ddata_addr != 0x0; in ddcb_requ_collect_debug_data()
335 memcpy(&req->cmd.asv[0], &pddcb->asv[0], DDCB_ASV_LENGTH); in copy_ddcb_results()
338 req->cmd.vcrc = be16_to_cpu(pddcb->vcrc_16); in copy_ddcb_results()
339 req->cmd.deque_ts = be64_to_cpu(pddcb->deque_ts_64); in copy_ddcb_results()
340 req->cmd.cmplt_ts = be64_to_cpu(pddcb->cmplt_ts_64); in copy_ddcb_results()
342 req->cmd.attn = be16_to_cpu(pddcb->attn_16); in copy_ddcb_results()
343 req->cmd.progress = be32_to_cpu(pddcb->progress_32); in copy_ddcb_results()
344 req->cmd.retc = be16_to_cpu(pddcb->retc_16); in copy_ddcb_results()
430 VCRC_LENGTH(req->cmd.asv_length), in genwqe_check_ddcb_queue()
437 pddcb->pre, VCRC_LENGTH(req->cmd.asv_length), in genwqe_check_ddcb_queue()
820 pddcb->cmdopts_16 = cpu_to_be16(req->cmd.cmdopts); in __genwqe_enqueue_ddcb()
821 pddcb->cmd = req->cmd.cmd; in __genwqe_enqueue_ddcb()
822 pddcb->acfunc = req->cmd.acfunc; /* functional unit */ in __genwqe_enqueue_ddcb()
838 pddcb->psp = (((req->cmd.asiv_length / 8) << 4) | in __genwqe_enqueue_ddcb()
839 ((req->cmd.asv_length / 8))); in __genwqe_enqueue_ddcb()
840 pddcb->disp_ts_64 = cpu_to_be64(req->cmd.disp_ts); in __genwqe_enqueue_ddcb()
857 &req->cmd.__asiv[0], /* source */ in __genwqe_enqueue_ddcb()
860 pddcb->n.ats_64 = cpu_to_be64(req->cmd.ats); in __genwqe_enqueue_ddcb()
862 &req->cmd.asiv[0], /* source */ in __genwqe_enqueue_ddcb()
873 ICRC_LENGTH(req->cmd.asiv_length), 0xffff); in __genwqe_enqueue_ddcb()
912 struct genwqe_ddcb_cmd *cmd, in __genwqe_execute_raw_ddcb() argument
917 struct ddcb_requ *req = container_of(cmd, struct ddcb_requ, cmd); in __genwqe_execute_raw_ddcb()
919 if (cmd->asiv_length > DDCB_ASIV_LENGTH) { in __genwqe_execute_raw_ddcb()
921 __func__, cmd->asiv_length); in __genwqe_execute_raw_ddcb()
924 if (cmd->asv_length > DDCB_ASV_LENGTH) { in __genwqe_execute_raw_ddcb()
926 __func__, cmd->asiv_length); in __genwqe_execute_raw_ddcb()
939 (unsigned long)cmd->ddata_addr, in __genwqe_execute_raw_ddcb()
950 if (cmd->retc != DDCB_RETC_COMPLETE) { in __genwqe_execute_raw_ddcb()
963 (unsigned long)cmd->ddata_addr, in __genwqe_execute_raw_ddcb()