Searched refs:oncs (Results 1 – 10 of 10) sorted by relevance
28 static void print_optional_nvm_cmd(u16 oncs, int devnum) in print_optional_nvm_cmd() argument33 oncs & 0x10 ? "yes" : "no"); in print_optional_nvm_cmd()35 oncs & 0x08 ? "yes" : "no"); in print_optional_nvm_cmd()37 oncs & 0x04 ? "yes" : "no"); in print_optional_nvm_cmd()39 oncs & 0x02 ? "yes" : "no"); in print_optional_nvm_cmd()41 oncs & 0x01 ? "yes" : "no"); in print_optional_nvm_cmd()118 print_optional_nvm_cmd(le16_to_cpu(ctrl->oncs), ns->devnum); in nvme_print_info()
64 __le16 oncs; member
548 uint16_t oncs; in nvme_identify() local586 oncs = le16_to_cpu(id->ctrl.oncs); in nvme_identify()587 s->supports_write_zeroes = !!(oncs & NVME_ONCS_WRITE_ZEROES); in nvme_identify()588 s->supports_discard = !!(oncs & NVME_ONCS_DSM); in nvme_identify()
166 id->oncs &= cpu_to_le16(~NVME_CTRL_ONCS_RESERVATIONS); in nvmet_passthru_override_id_ctrl()
435 id->oncs = cpu_to_le16(NVME_CTRL_ONCS_DSM | in nvmet_execute_identify_ctrl()
2317 if (!(ctrl->oncs & NVME_CTRL_ONCS_TIMESTAMP)) in nvme_configure_timestamp()2904 if (ctrl->oncs & NVME_CTRL_ONCS_DSM) { in nvme_init_non_mdts_limits()2918 if ((ctrl->oncs & NVME_CTRL_ONCS_WRITE_ZEROES) && in nvme_init_non_mdts_limits()3081 ctrl->oncs = le16_to_cpu(id->oncs); in nvme_init_identify()
330 u16 oncs; member
331 __le16 oncs; member
1147 uint16_t oncs; member
8737 id->oncs = cpu_to_le16(NVME_ONCS_WRITE_ZEROES | NVME_ONCS_TIMESTAMP | in nvme_init_ctrl()