Lines Matching refs:cpl
75 struct nvme_completion cpl; member
341 struct nvme_completion *cpl; member
376 void nvme_completion_poll_cb(void *arg, const struct nvme_completion *cpl);
379 void nvme_completion_print(const struct nvme_completion *cpl);
524 static inline void nvme_completion_swapbytes(struct nvme_completion *cpl) in nvme_completion_swapbytes() argument
527 cpl->cdw0 = sys_le32_to_cpu(cpl->cdw0); in nvme_completion_swapbytes()
529 cpl->sqhd = sys_le16_to_cpu(cpl->sqhd); in nvme_completion_swapbytes()
530 cpl->sqid = sys_le16_to_cpu(cpl->sqid); in nvme_completion_swapbytes()
532 cpl->status = sys_le16_to_cpu(s->status); in nvme_completion_swapbytes()
534 ARG_UNUSED(cpl); in nvme_completion_swapbytes()
557 #define nvme_completion_is_error(cpl) \ argument
558 ((NVME_STATUS_GET_SC((cpl)->status) != 0) | \
559 (NVME_STATUS_GET_SCT((cpl)->status) != 0))
565 nvme_completion_is_error(&status->cpl)); in nvme_cpl_status_is_error()