Lines Matching refs:id_ctrl
676 struct nvme_id_ctrl *id_ctrl; in nvme_trans_ext_inq_page() local
707 nvme_sc = nvme_identify_ctrl(dev, &id_ctrl); in nvme_trans_ext_inq_page()
712 v_sup = id_ctrl->vwc; in nvme_trans_ext_inq_page()
713 kfree(id_ctrl); in nvme_trans_ext_inq_page()
1211 struct nvme_id_ctrl *id_ctrl; in nvme_trans_power_state() local
1215 nvme_sc = nvme_identify_ctrl(dev, &id_ctrl); in nvme_trans_power_state()
1220 lowest_pow_st = max(POWER_STATE_0, (int)(id_ctrl->npss - 1)); in nvme_trans_power_state()
1221 kfree(id_ctrl); in nvme_trans_power_state()
2084 struct nvme_id_ctrl *id_ctrl; in nvme_trans_report_luns() local
2097 nvme_sc = nvme_identify_ctrl(dev, &id_ctrl); in nvme_trans_report_luns()
2102 ll_length = le32_to_cpu(id_ctrl->nn) * LUN_ENTRY_SIZE; in nvme_trans_report_luns()
2121 for (lun_id = 0; lun_id < le32_to_cpu(id_ctrl->nn); lun_id++) { in nvme_trans_report_luns()
2139 kfree(id_ctrl); in nvme_trans_report_luns()