MCPcopy Create free account
hub / github.com/LemonOSProject/LemonOS / SetCommandSet

Method SetCommandSet

Kernel/include/nvme.h:357–359  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

355 }
356
357 __attribute__((always_inline)) inline void SetCommandSet(uint8_t set){
358 cRegs->config = (cRegs->config & ~NVME_CFG_CSS(NVME_CFG_CSS_MASK)) | NVME_CFG_CSS(set);
359 }
360
361 __attribute__((always_inline)) inline void Enable(){
362 cRegs->config |= NVME_CFG_ENABLE;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected