Lines Matching refs:cpu_to_le16
144 return cpu_to_le16((cmdid < USHRT_MAX) ? cmdid++ : 0); in nvme_get_cmd_id()
288 c.delete_queue.qid = cpu_to_le16(id); in nvme_delete_queue()
428 c.create_cq.cqid = cpu_to_le16(qid); in nvme_alloc_cq()
429 c.create_cq.qsize = cpu_to_le16(nvmeq->q_depth - 1); in nvme_alloc_cq()
430 c.create_cq.cq_flags = cpu_to_le16(flags); in nvme_alloc_cq()
431 c.create_cq.irq_vector = cpu_to_le16(nvmeq->cq_vector); in nvme_alloc_cq()
445 c.create_sq.sqid = cpu_to_le16(qid); in nvme_alloc_sq()
446 c.create_sq.qsize = cpu_to_le16(nvmeq->q_depth - 1); in nvme_alloc_sq()
447 c.create_sq.sq_flags = cpu_to_le16(flags); in nvme_alloc_sq()
448 c.create_sq.cqid = cpu_to_le16(qid); in nvme_alloc_sq()
781 c.rw.length = cpu_to_le16(lbas - 1); in nvme_blk_rw()