Lines Matching refs:cts
623 struct ccb_trans_settings cts; in nvme_device_transport() local
636 memset(&cts, 0, sizeof(cts)); in nvme_device_transport()
637 xpt_setup_ccb(&cts.ccb_h, path, CAM_PRIORITY_NONE); in nvme_device_transport()
638 cts.ccb_h.func_code = XPT_SET_TRAN_SETTINGS; in nvme_device_transport()
639 cts.type = CTS_TYPE_CURRENT_SETTINGS; in nvme_device_transport()
640 cts.transport = path->device->transport; in nvme_device_transport()
641 cts.transport_version = path->device->transport_version; in nvme_device_transport()
642 cts.protocol = path->device->protocol; in nvme_device_transport()
643 cts.protocol_version = path->device->protocol_version; in nvme_device_transport()
644 cts.proto_specific.valid = 0; in nvme_device_transport()
645 cts.xport_specific.valid = 0; in nvme_device_transport()
646 xpt_action((union ccb *)&cts); in nvme_device_transport()
789 struct ccb_trans_settings cts; in nvme_announce_periph_sbuf() local
796 memset(&cts, 0, sizeof(cts)); in nvme_announce_periph_sbuf()
797 xpt_setup_ccb(&cts.ccb_h, path, CAM_PRIORITY_NORMAL); in nvme_announce_periph_sbuf()
798 cts.ccb_h.func_code = XPT_GET_TRAN_SETTINGS; in nvme_announce_periph_sbuf()
799 cts.type = CTS_TYPE_CURRENT_SETTINGS; in nvme_announce_periph_sbuf()
800 xpt_action((union ccb*)&cts); in nvme_announce_periph_sbuf()
801 if ((cts.ccb_h.status & CAM_STATUS_MASK) != CAM_REQ_CMP) in nvme_announce_periph_sbuf()
808 NVME_MAJOR(cts.protocol_version), in nvme_announce_periph_sbuf()
809 NVME_MINOR(cts.protocol_version)); in nvme_announce_periph_sbuf()
810 if (cts.transport == XPORT_NVME) { in nvme_announce_periph_sbuf()
811 nvmex = &cts.proto_specific.nvme; in nvme_announce_periph_sbuf()