Lines Matching refs:cpl
78 struct nvme_completion cpl; member
344 struct nvme_completion *cpl; member
379 void nvme_completion_poll_cb(void *arg, const struct nvme_completion *cpl);
382 void nvme_completion_print(const struct nvme_completion *cpl);
527 static inline void nvme_completion_swapbytes(struct nvme_completion *cpl) in nvme_completion_swapbytes() argument
530 cpl->cdw0 = sys_le32_to_cpu(cpl->cdw0); in nvme_completion_swapbytes()
532 cpl->sqhd = sys_le16_to_cpu(cpl->sqhd); in nvme_completion_swapbytes()
533 cpl->sqid = sys_le16_to_cpu(cpl->sqid); in nvme_completion_swapbytes()
535 cpl->status = sys_le16_to_cpu(s->status); in nvme_completion_swapbytes()
537 ARG_UNUSED(cpl); in nvme_completion_swapbytes()
560 #define nvme_completion_is_error(cpl) \ argument
561 ((NVME_STATUS_GET_SC((cpl)->status) != 0) | \
562 (NVME_STATUS_GET_SCT((cpl)->status) != 0))
568 nvme_completion_is_error(&status->cpl)); in nvme_cpl_status_is_error()