RT-Thread RTOS 1.2.0
An open source embedded real-time operating system
|
#include <nvme.h>
成员变量 | ||
rt_list_t | list | |
struct rt_device * | dev | |
int | nvme_id | |
char | name [RT_NAME_MAX] | |
void * | regs | |
rt_uint64_t | cap | |
rt_uint32_t | page_shift | |
rt_uint32_t | page_size | |
rt_uint32_t | queue_depth | |
rt_uint32_t | io_queue_max | |
rt_uint32_t | ctrl_config | |
rt_uint32_t | max_transfer_shift:8 | |
rt_uint32_t | volatile_write_cache:8 | |
rt_uint32_t | write_zeroes:1 | |
rt_uint32_t | sgl_mode:2 | |
rt_uint32_t | doorbell_stride | |
rt_uint32_t * | doorbell_tbl | |
const struct rt_nvme_ops * | ops | |
int | irqs_nr | |
int | irqs [RT_USING_NVME_QUEUE] | |
union { | ||
struct { | ||
struct rt_nvme_queue admin_queue | ||
struct rt_nvme_queue io_queues [RT_USING_NVME_IO_QUEUE *RT_CPUS_NR] | ||
} | ||
struct rt_nvme_queue queue [RT_USING_NVME_QUEUE] | ||
}; | ||
volatile rt_atomic_t | cmdid | |
volatile rt_atomic_t | ioqid [RT_CPUS_NR] | |
rt_list_t | ns_nodes | |
rt_uint64_t rt_nvme_controller::cap |
rt_uint32_t rt_nvme_controller::page_shift |
rt_uint32_t rt_nvme_controller::page_size |
rt_uint32_t rt_nvme_controller::queue_depth |
rt_uint32_t rt_nvme_controller::io_queue_max |
rt_uint32_t rt_nvme_controller::ctrl_config |
rt_uint32_t rt_nvme_controller::max_transfer_shift |
rt_uint32_t rt_nvme_controller::volatile_write_cache |
rt_uint32_t rt_nvme_controller::write_zeroes |
rt_uint32_t rt_nvme_controller::sgl_mode |
rt_uint32_t rt_nvme_controller::doorbell_stride |
rt_uint32_t* rt_nvme_controller::doorbell_tbl |
const struct rt_nvme_ops* rt_nvme_controller::ops |
int rt_nvme_controller::irqs[RT_USING_NVME_QUEUE] |
struct rt_nvme_queue rt_nvme_controller::admin_queue |
struct rt_nvme_queue rt_nvme_controller::io_queues[RT_USING_NVME_IO_QUEUE *RT_CPUS_NR] |
struct rt_nvme_queue rt_nvme_controller::queue[RT_USING_NVME_QUEUE] |
union { ... } rt_nvme_controller |
volatile rt_atomic_t rt_nvme_controller::cmdid |
volatile rt_atomic_t rt_nvme_controller::ioqid[RT_CPUS_NR] |