Searched refs:rgif (Results 1 – 3 of 3) sorted by relevance
117 static bool nvme_calc_rgif(uint16_t nruh, uint16_t nrg, uint8_t *rgif) in nvme_calc_rgif() argument124 *rgif = 0; in nvme_calc_rgif()134 *rgif = i; in nvme_calc_rgif()138 *rgif = 0; in nvme_calc_rgif()172 if (!nvme_calc_rgif(endgrp->fdp.nruh, endgrp->fdp.nrg, &endgrp->fdp.rgif)) { in nvme_subsys_setup_fdp()
87 uint8_t rgif; member
325 uint16_t rgif = ns->endgrp->fdp.rgif; in nvme_make_pid() local327 if (!rgif) { in nvme_make_pid()331 return (rg << (16 - rgif)) | ph; in nvme_make_pid()346 uint16_t rgif = ns->endgrp->fdp.rgif; in nvme_pid2ph() local348 if (!rgif) { in nvme_pid2ph()352 return pid & ((1 << (15 - rgif)) - 1); in nvme_pid2ph()357 uint16_t rgif = ns->endgrp->fdp.rgif; in nvme_pid2rg() local359 if (!rgif) { in nvme_pid2rg()363 return pid >> (16 - rgif); in nvme_pid2rg()5174 hdr->fdpa = FIELD_DP8(hdr->fdpa, FDPA, RGIF, endgrp->fdp.rgif); in nvme_fdp_confs()