Home
last modified time | relevance | path

Searched refs:pi_size (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_hw_qp.c388 size_t pi_size; in hinic_init_rq() local
413 pi_size = ALIGN(sizeof(*rq->pi_virt_addr), sizeof(u32)); in hinic_init_rq()
414 rq->pi_virt_addr = dma_alloc_coherent(&pdev->dev, pi_size, in hinic_init_rq()
439 size_t pi_size; in hinic_clean_rq() local
441 pi_size = ALIGN(sizeof(*rq->pi_virt_addr), sizeof(u32)); in hinic_clean_rq()
442 dma_free_coherent(&pdev->dev, pi_size, rq->pi_virt_addr, in hinic_clean_rq()
/openbmc/qemu/hw/nvme/
H A Dns.c549 unsigned int pi_size; in nvme_ns_check_constraints() local
564 pi_size = 8; in nvme_ns_check_constraints()
567 pi_size = 16; in nvme_ns_check_constraints()
574 if (ns->params.ms < pi_size) { in nvme_ns_check_constraints()
576 "enable protection information", pi_size); in nvme_ns_check_constraints()
/openbmc/linux/drivers/nvme/host/
H A Dnvme.h523 u16 pi_size; member
548 return ns->pi_type && ns->ms == ns->pi_size; in nvme_ns_has_pi()
H A Dcore.c1754 ns->pi_size = 0; in nvme_init_ms()
1757 ns->pi_size = sizeof(struct t10_pi_tuple); in nvme_init_ms()
1784 ns->pi_size = sizeof(struct crc64_pi_tuple); in nvme_init_ms()
1787 ns->pi_size = sizeof(struct t10_pi_tuple); in nvme_init_ms()
1796 if (ns->pi_size && (first || ns->ms == ns->pi_size)) in nvme_init_ms()