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

#include <nvme.h>

Data Fields

union {
   unsigned int   dword
 
   struct {
      unsigned short   NLB
 
      unsigned short   reserved0: 10
 
      unsigned short   PRINFO: 4
 
      unsigned short   FUA: 1
 
      unsigned short   LR: 1
 
   } 
 
}; 
 

Detailed Description

For read and write commands, CDW[12] was used for:

Todo:
  • bit[00,15]: Num of Logical Blocks to read or write
  • bit[16,19]: Reserved
  • bit[20,23]: Directive Type for write command.
  • bit[24]: STC
  • bit[25]: Reserved
  • bit[26,29]: Protection Info
  • bit[30]: Force Unit Access
  • bit[31]: Limited Retry

Definition at line 784 of file nvme.h.

Field Documentation

◆ 

union { ... } _IO_WRITE_COMMAND_DW12::@145

◆ dword

unsigned int _IO_WRITE_COMMAND_DW12::dword

Definition at line 788 of file nvme.h.

◆ FUA

unsigned short _IO_WRITE_COMMAND_DW12::FUA

Definition at line 794 of file nvme.h.

◆ LR

unsigned short _IO_WRITE_COMMAND_DW12::LR

Definition at line 795 of file nvme.h.

◆ NLB

unsigned short _IO_WRITE_COMMAND_DW12::NLB

Definition at line 791 of file nvme.h.

◆ PRINFO

unsigned short _IO_WRITE_COMMAND_DW12::PRINFO

Definition at line 793 of file nvme.h.

◆ reserved0

unsigned short _IO_WRITE_COMMAND_DW12::reserved0

Definition at line 792 of file nvme.h.


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