OpenSSD Cosmos+ Platform Firmware  0.0.2
The firmware of Cosmos+ OpenSSD Platform for TOSHIBA nand flash module.
_NVME_COMPLETION Struct Reference

The main structure of completion queue entry. More...

#include <nvme.h>

Data Fields

union {
   unsigned int   dword [2]
 
   struct {
      union {
         unsigned short   statusFieldWord
 
         struct {
            unsigned short   reserved0: 1
 
            unsigned short   SC: 8
 
            unsigned short   SCT: 3
 
            unsigned short   reserved1: 2
 
            unsigned short   MORE: 1
 
            unsigned short   DNR: 1
 
         }   statusField
 
      } 
 
      unsigned int   specific
 
   } 
 
}; 
 

Detailed Description

The main structure of completion queue entry.

A completion queue entry consisted of 4 DWORDs (16B)

Warning
but here only 2DW?

Definition at line 349 of file nvme.h.

Field Documentation

◆ 

union { ... } _NVME_COMPLETION::@73

◆ DNR

unsigned short _NVME_COMPLETION::DNR

Definition at line 366 of file nvme.h.

◆ dword

unsigned int _NVME_COMPLETION::dword[2]

Definition at line 353 of file nvme.h.

◆ MORE

unsigned short _NVME_COMPLETION::MORE

Definition at line 365 of file nvme.h.

◆ reserved0

unsigned short _NVME_COMPLETION::reserved0

Definition at line 361 of file nvme.h.

◆ reserved1

unsigned short _NVME_COMPLETION::reserved1

Definition at line 364 of file nvme.h.

◆ SC

unsigned short _NVME_COMPLETION::SC

Definition at line 362 of file nvme.h.

◆ SCT

unsigned short _NVME_COMPLETION::SCT

Definition at line 363 of file nvme.h.

◆ specific

unsigned int _NVME_COMPLETION::specific

Definition at line 370 of file nvme.h.

◆ 

struct { ... } _NVME_COMPLETION::statusField

◆ statusFieldWord

unsigned short _NVME_COMPLETION::statusFieldWord

Definition at line 358 of file nvme.h.


The documentation for this struct was generated from the following file: