Home
last modified time | relevance | path

Searched refs:pif (Results 1 – 6 of 6) sorted by relevance

/openbmc/qemu/hw/nvme/
H A Ddif.h175 return ns->pif ? 16 : 8; in nvme_pi_tuple_size()
H A Dns.c109 ns->pif = ns->params.pif; in nvme_ns_init()
145 id_ns_nvm->elbaf[i] = (ns->pif & 0x3) << 7; in nvme_ns_init()
556 switch (ns->params.pif) { in nvme_ns_check_constraints()
807 DEFINE_PROP_UINT8("pif", NvmeNamespace, params.pif, 0),
H A Ddif.c22 uint64_t mask = ns->pif ? 0xffffffffffff : 0xffffffff; in nvme_check_prinfo()
141 switch (ns->pif) { in nvme_dif_pract_generate_dif()
284 switch (ns->pif) { in nvme_dif_prchk()
600 switch (ns->pif) { in nvme_dif_rw()
H A Dnvme.h200 uint8_t pif; member
238 uint8_t pif; member
H A Dctrl.c3128 ((dns->lbaf.ms == 8 && dns->pif == 0) || in nvme_copy_corresp_pi_match()
3129 (dns->lbaf.ms == 16 && dns->pif == 1)); in nvme_copy_corresp_pi_match()
3332 if ((ns->pif == 0x0 && (format != 0x0 && format != 0x2)) || in nvme_copy()
3333 (ns->pif != 0x0 && (format != 0x1 && format != 0x3))) { in nvme_copy()
3338 if (ns->pif) { in nvme_copy()
/openbmc/qemu/docs/system/devices/
H A Dnvme.rst285 ``pif=UINT8`` (default: ``0``)
287 format (``pif=0``). Set to ``2`` to enable 64 bit guard protection
289 ``pif=1`` (32 bit guards) is currently not supported.