Lines Matching refs:effects
1074 u32 effects = 0; in nvme_command_effects() local
1077 if (ns->head->effects) in nvme_command_effects()
1078 effects = le32_to_cpu(ns->head->effects->iocs[opcode]); in nvme_command_effects()
1079 if (effects & ~(NVME_CMD_EFFECTS_CSUPP | NVME_CMD_EFFECTS_LBCC)) in nvme_command_effects()
1082 opcode, effects); in nvme_command_effects()
1086 if (ctrl->effects) in nvme_command_effects()
1087 effects = le32_to_cpu(ctrl->effects->acs[opcode]); in nvme_command_effects()
1088 effects |= nvme_known_admin_effects(opcode); in nvme_command_effects()
1090 return effects; in nvme_command_effects()
1097 u32 effects = nvme_command_effects(ctrl, ns, opcode); in nvme_passthru_start() local
1103 if (effects & NVME_CMD_EFFECTS_CSE_MASK) { in nvme_passthru_start()
1111 return effects; in nvme_passthru_start()
1114 void nvme_passthru_end(struct nvme_ctrl *ctrl, u32 effects, in nvme_passthru_end() argument
1117 if (effects & NVME_CMD_EFFECTS_CSE_MASK) { in nvme_passthru_end()
1124 if (effects & NVME_CMD_EFFECTS_CCC) in nvme_passthru_end()
1126 if (effects & (NVME_CMD_EFFECTS_NIC | NVME_CMD_EFFECTS_NCC)) { in nvme_passthru_end()
1153 int nvme_execute_passthru_rq(struct request *rq, u32 *effects) in nvme_execute_passthru_rq() argument
1159 *effects = nvme_passthru_start(ctrl, ns, cmd->common.opcode); in nvme_execute_passthru_rq()
3087 ret = nvme_get_effects_log(ctrl, NVME_CSI_NVM, &ctrl->effects); in nvme_init_identify()
4030 ret = nvme_get_effects_log(ctrl, head->ids.csi, &head->effects); in nvme_alloc_ns_head()
4034 head->effects = ctrl->effects; in nvme_alloc_ns_head()