Lines Matching +full:0 +full:x82
16 /* dword 0 */
61 /* dword 0 */
84 NVME_SCT_GENERIC = 0x0,
85 NVME_SCT_COMMAND_SPECIFIC = 0x1,
86 NVME_SCT_MEDIA_ERROR = 0x2,
87 NVME_SCT_PATH_RELATED = 0x3,
88 /* 0x3-0x6 - reserved */
89 NVME_SCT_VENDOR_SPECIFIC = 0x7,
94 NVME_SC_SUCCESS = 0x00,
95 NVME_SC_INVALID_OPCODE = 0x01,
96 NVME_SC_INVALID_FIELD = 0x02,
97 NVME_SC_COMMAND_ID_CONFLICT = 0x03,
98 NVME_SC_DATA_TRANSFER_ERROR = 0x04,
99 NVME_SC_ABORTED_POWER_LOSS = 0x05,
100 NVME_SC_INTERNAL_DEVICE_ERROR = 0x06,
101 NVME_SC_ABORTED_BY_REQUEST = 0x07,
102 NVME_SC_ABORTED_SQ_DELETION = 0x08,
103 NVME_SC_ABORTED_FAILED_FUSED = 0x09,
104 NVME_SC_ABORTED_MISSING_FUSED = 0x0a,
105 NVME_SC_INVALID_NAMESPACE_OR_FORMAT = 0x0b,
106 NVME_SC_COMMAND_SEQUENCE_ERROR = 0x0c,
107 NVME_SC_INVALID_SGL_SEGMENT_DESCR = 0x0d,
108 NVME_SC_INVALID_NUMBER_OF_SGL_DESCR = 0x0e,
109 NVME_SC_DATA_SGL_LENGTH_INVALID = 0x0f,
110 NVME_SC_METADATA_SGL_LENGTH_INVALID = 0x10,
111 NVME_SC_SGL_DESCRIPTOR_TYPE_INVALID = 0x11,
112 NVME_SC_INVALID_USE_OF_CMB = 0x12,
113 NVME_SC_PRP_OFFSET_INVALID = 0x13,
114 NVME_SC_ATOMIC_WRITE_UNIT_EXCEEDED = 0x14,
115 NVME_SC_OPERATION_DENIED = 0x15,
116 NVME_SC_SGL_OFFSET_INVALID = 0x16,
117 /* 0x17 - reserved */
118 NVME_SC_HOST_ID_INCONSISTENT_FORMAT = 0x18,
119 NVME_SC_KEEP_ALIVE_TIMEOUT_EXPIRED = 0x19,
120 NVME_SC_KEEP_ALIVE_TIMEOUT_INVALID = 0x1a,
121 NVME_SC_ABORTED_DUE_TO_PREEMPT = 0x1b,
122 NVME_SC_SANITIZE_FAILED = 0x1c,
123 NVME_SC_SANITIZE_IN_PROGRESS = 0x1d,
124 NVME_SC_SGL_DATA_BLOCK_GRAN_INVALID = 0x1e,
125 NVME_SC_NOT_SUPPORTED_IN_CMB = 0x1f,
126 NVME_SC_NAMESPACE_IS_WRITE_PROTECTED = 0x20,
127 NVME_SC_COMMAND_INTERRUPTED = 0x21,
128 NVME_SC_TRANSIENT_TRANSPORT_ERROR = 0x22,
130 NVME_SC_LBA_OUT_OF_RANGE = 0x80,
131 NVME_SC_CAPACITY_EXCEEDED = 0x81,
132 NVME_SC_NAMESPACE_NOT_READY = 0x82,
133 NVME_SC_RESERVATION_CONFLICT = 0x83,
134 NVME_SC_FORMAT_IN_PROGRESS = 0x84,
139 NVME_SC_COMPLETION_QUEUE_INVALID = 0x00,
140 NVME_SC_INVALID_QUEUE_IDENTIFIER = 0x01,
141 NVME_SC_MAXIMUM_QUEUE_SIZE_EXCEEDED = 0x02,
142 NVME_SC_ABORT_COMMAND_LIMIT_EXCEEDED = 0x03,
143 /* 0x04 - reserved */
144 NVME_SC_ASYNC_EVENT_REQUEST_LIMIT_EXCEEDED = 0x05,
145 NVME_SC_INVALID_FIRMWARE_SLOT = 0x06,
146 NVME_SC_INVALID_FIRMWARE_IMAGE = 0x07,
147 NVME_SC_INVALID_INTERRUPT_VECTOR = 0x08,
148 NVME_SC_INVALID_LOG_PAGE = 0x09,
149 NVME_SC_INVALID_FORMAT = 0x0a,
150 NVME_SC_FIRMWARE_REQUIRES_RESET = 0x0b,
151 NVME_SC_INVALID_QUEUE_DELETION = 0x0c,
152 NVME_SC_FEATURE_NOT_SAVEABLE = 0x0d,
153 NVME_SC_FEATURE_NOT_CHANGEABLE = 0x0e,
154 NVME_SC_FEATURE_NOT_NS_SPECIFIC = 0x0f,
155 NVME_SC_FW_ACT_REQUIRES_NVMS_RESET = 0x10,
156 NVME_SC_FW_ACT_REQUIRES_RESET = 0x11,
157 NVME_SC_FW_ACT_REQUIRES_TIME = 0x12,
158 NVME_SC_FW_ACT_PROHIBITED = 0x13,
159 NVME_SC_OVERLAPPING_RANGE = 0x14,
160 NVME_SC_NS_INSUFFICIENT_CAPACITY = 0x15,
161 NVME_SC_NS_ID_UNAVAILABLE = 0x16,
162 /* 0x17 - reserved */
163 NVME_SC_NS_ALREADY_ATTACHED = 0x18,
164 NVME_SC_NS_IS_PRIVATE = 0x19,
165 NVME_SC_NS_NOT_ATTACHED = 0x1a,
166 NVME_SC_THIN_PROV_NOT_SUPPORTED = 0x1b,
167 NVME_SC_CTRLR_LIST_INVALID = 0x1c,
168 NVME_SC_SELF_TEST_IN_PROGRESS = 0x1d,
169 NVME_SC_BOOT_PART_WRITE_PROHIB = 0x1e,
170 NVME_SC_INVALID_CTRLR_ID = 0x1f,
171 NVME_SC_INVALID_SEC_CTRLR_STATE = 0x20,
172 NVME_SC_INVALID_NUM_OF_CTRLR_RESRC = 0x21,
173 NVME_SC_INVALID_RESOURCE_ID = 0x22,
174 NVME_SC_SANITIZE_PROHIBITED_WPMRE = 0x23,
175 NVME_SC_ANA_GROUP_ID_INVALID = 0x24,
176 NVME_SC_ANA_ATTACH_FAILED = 0x25,
178 NVME_SC_CONFLICTING_ATTRIBUTES = 0x80,
179 NVME_SC_INVALID_PROTECTION_INFO = 0x81,
180 NVME_SC_ATTEMPTED_WRITE_TO_RO_PAGE = 0x82,
185 NVME_SC_WRITE_FAULTS = 0x80,
186 NVME_SC_UNRECOVERED_READ_ERROR = 0x81,
187 NVME_SC_GUARD_CHECK_ERROR = 0x82,
188 NVME_SC_APPLICATION_TAG_CHECK_ERROR = 0x83,
189 NVME_SC_REFERENCE_TAG_CHECK_ERROR = 0x84,
190 NVME_SC_COMPARE_FAILURE = 0x85,
191 NVME_SC_ACCESS_DENIED = 0x86,
192 NVME_SC_DEALLOCATED_OR_UNWRITTEN = 0x87,
197 NVME_SC_INTERNAL_PATH_ERROR = 0x00,
198 NVME_SC_ASYMMETRIC_ACCESS_PERSISTENT_LOSS = 0x01,
199 NVME_SC_ASYMMETRIC_ACCESS_INACCESSIBLE = 0x02,
200 NVME_SC_ASYMMETRIC_ACCESS_TRANSITION = 0x03,
201 NVME_SC_CONTROLLER_PATHING_ERROR = 0x60,
202 NVME_SC_HOST_PATHING_ERROR = 0x70,
203 NVME_SC_COMMAND_ABORTED_BY_HOST = 0x71,
208 NVME_OPC_DELETE_IO_SQ = 0x00,
209 NVME_OPC_CREATE_IO_SQ = 0x01,
210 NVME_OPC_GET_LOG_PAGE = 0x02,
211 /* 0x03 - reserved */
212 NVME_OPC_DELETE_IO_CQ = 0x04,
213 NVME_OPC_CREATE_IO_CQ = 0x05,
214 NVME_OPC_IDENTIFY = 0x06,
215 /* 0x07 - reserved */
216 NVME_OPC_ABORT = 0x08,
217 NVME_OPC_SET_FEATURES = 0x09,
218 NVME_OPC_GET_FEATURES = 0x0a,
219 /* 0x0b - reserved */
220 NVME_OPC_ASYNC_EVENT_REQUEST = 0x0c,
221 NVME_OPC_NAMESPACE_MANAGEMENT = 0x0d,
222 /* 0x0e-0x0f - reserved */
223 NVME_OPC_FIRMWARE_ACTIVATE = 0x10,
224 NVME_OPC_FIRMWARE_IMAGE_DOWNLOAD = 0x11,
225 /* 0x12-0x13 - reserved */
226 NVME_OPC_DEVICE_SELF_TEST = 0x14,
227 NVME_OPC_NAMESPACE_ATTACHMENT = 0x15,
228 /* 0x16-0x17 - reserved */
229 NVME_OPC_KEEP_ALIVE = 0x18,
230 NVME_OPC_DIRECTIVE_SEND = 0x19,
231 NVME_OPC_DIRECTIVE_RECEIVE = 0x1a,
232 /* 0x1b - reserved */
233 NVME_OPC_VIRTUALIZATION_MANAGEMENT = 0x1c,
234 NVME_OPC_NVME_MI_SEND = 0x1d,
235 NVME_OPC_NVME_MI_RECEIVE = 0x1e,
236 /* 0x1f-0x7b - reserved */
237 NVME_OPC_DOORBELL_BUFFER_CONFIG = 0x7c,
239 NVME_OPC_FORMAT_NVM = 0x80,
240 NVME_OPC_SECURITY_SEND = 0x81,
241 NVME_OPC_SECURITY_RECEIVE = 0x82,
242 /* 0x83 - reserved */
243 NVME_OPC_SANITIZE = 0x84,
244 /* 0x85 - reserved */
245 NVME_OPC_GET_LBA_STATUS = 0x86,
250 NVME_OPC_FLUSH = 0x00,
251 NVME_OPC_WRITE = 0x01,
252 NVME_OPC_READ = 0x02,
253 /* 0x03 - reserved */
254 NVME_OPC_WRITE_UNCORRECTABLE = 0x04,
255 NVME_OPC_COMPARE = 0x05,
256 /* 0x06-0x07 - reserved */
257 NVME_OPC_WRITE_ZEROES = 0x08,
258 NVME_OPC_DATASET_MANAGEMENT = 0x09,
259 /* 0x0a-0x0b - reserved */
260 NVME_OPC_VERIFY = 0x0c,
261 NVME_OPC_RESERVATION_REGISTER = 0x0d,
262 NVME_OPC_RESERVATION_REPORT = 0x0e,
263 /* 0x0f-0x10 - reserved */
264 NVME_OPC_RESERVATION_ACQUIRE = 0x11,
265 /* 0x12-0x14 - reserved */
266 NVME_OPC_RESERVATION_RELEASE = 0x15,
270 /* 0x00 - reserved */
271 NVME_FEAT_ARBITRATION = 0x01,
272 NVME_FEAT_POWER_MANAGEMENT = 0x02,
273 NVME_FEAT_LBA_RANGE_TYPE = 0x03,
274 NVME_FEAT_TEMPERATURE_THRESHOLD = 0x04,
275 NVME_FEAT_ERROR_RECOVERY = 0x05,
276 NVME_FEAT_VOLATILE_WRITE_CACHE = 0x06,
277 NVME_FEAT_NUMBER_OF_QUEUES = 0x07,
278 NVME_FEAT_INTERRUPT_COALESCING = 0x08,
279 NVME_FEAT_INTERRUPT_VECTOR_CONFIGURATION = 0x09,
280 NVME_FEAT_WRITE_ATOMICITY = 0x0A,
281 NVME_FEAT_ASYNC_EVENT_CONFIGURATION = 0x0B,
282 NVME_FEAT_AUTONOMOUS_POWER_STATE_TRANSITION = 0x0C,
283 NVME_FEAT_HOST_MEMORY_BUFFER = 0x0D,
284 NVME_FEAT_TIMESTAMP = 0x0E,
285 NVME_FEAT_KEEP_ALIVE_TIMER = 0x0F,
286 NVME_FEAT_HOST_CONTROLLED_THERMAL_MGMT = 0x10,
287 NVME_FEAT_NON_OP_POWER_STATE_CONFIG = 0x11,
288 NVME_FEAT_READ_RECOVERY_LEVEL_CONFIG = 0x12,
289 NVME_FEAT_PREDICTABLE_LATENCY_MODE_CONFIG = 0x13,
290 NVME_FEAT_PREDICTABLE_LATENCY_MODE_WINDOW = 0x14,
291 NVME_FEAT_LBA_STATUS_INFORMATION_ATTRIBUTES = 0x15,
292 NVME_FEAT_HOST_BEHAVIOR_SUPPORT = 0x16,
293 NVME_FEAT_SANITIZE_CONFIG = 0x17,
294 NVME_FEAT_ENDURANCE_GROUP_EVENT_CONFIGURATION = 0x18,
295 /* 0x19-0x77 - reserved */
296 /* 0x78-0x7f - NVMe Management Interface */
297 NVME_FEAT_SOFTWARE_PROGRESS_MARKER = 0x80,
298 NVME_FEAT_HOST_IDENTIFIER = 0x81,
299 NVME_FEAT_RESERVATION_NOTIFICATION_MASK = 0x82,
300 NVME_FEAT_RESERVATION_PERSISTENCE = 0x83,
301 NVME_FEAT_NAMESPACE_WRITE_PROTECTION_CONFIG = 0x84,
302 /* 0x85-0xBF - command set specific (reserved) */
303 /* 0xC0-0xFF - vendor specific */
306 #if !defined(CONFIG_DCACHE_LINE_SIZE) || (CONFIG_DCACHE_LINE_SIZE == 0)
508 cmd->cdw10 = sys_cpu_to_le32(lba & 0xffffffffu); in nvme_namespace_rw_cmd()
549 .status = 0, \
550 .sem = Z_SEM_INITIALIZER(cpl_status.sem, 0, 1), \
556 status->status = 0; in nvme_cpl_status_poll_init()
557 k_sem_init(&status->sem, 0, 1); in nvme_cpl_status_poll_init()
561 ((NVME_STATUS_GET_SC((cpl)->status) != 0) | \
562 (NVME_STATUS_GET_SCT((cpl)->status) != 0))
567 return ((status->status != 0) || in nvme_cpl_status_is_error()