Lines Matching refs:nvmex
220 struct ccb_trans_settings_nvme *nvmex; in nvme_sim_action() local
226 nvmex = &cts->xport_specific.nvme; in nvme_sim_action()
229 nvmex->spec = nvme_mmio_read_4(ctrlr, vs); in nvme_sim_action()
230 nvmex->valid = CTS_NVME_VALID_SPEC; in nvme_sim_action()
237 nvmex->valid |= CTS_NVME_VALID_LINK; in nvme_sim_action()
238 nvmex->speed = status & PCIEM_LINK_STA_SPEED; in nvme_sim_action()
239 nvmex->lanes = (status & PCIEM_LINK_STA_WIDTH) >> 4; in nvme_sim_action()
240 nvmex->max_speed = caps & PCIEM_LINK_CAP_MAX_SPEED; in nvme_sim_action()
241 nvmex->max_lanes = (caps & PCIEM_LINK_CAP_MAX_WIDTH) >> 4; in nvme_sim_action()
247 nvmep->spec = nvmex->spec; in nvme_sim_action()
250 cts->transport_version = nvmex->spec; in nvme_sim_action()
252 cts->protocol_version = nvmex->spec; in nvme_sim_action()