diff options
author | Damien Le Moal <dlemoal@kernel.org> | 2025-01-04 07:59:36 +0300 |
---|---|---|
committer | Keith Busch <kbusch@kernel.org> | 2025-01-11 06:30:47 +0300 |
commit | 15e9d26445441a0c05ee14bef7ba752088f66a0c (patch) | |
tree | 16b17f2aa3e7121ab0c8d3afe8a2c59c453a714f /tools/perf/scripts/python | |
parent | 5d4f4ea8fa2992eaf7040aab2f87e8dc849387fd (diff) | |
download | linux-15e9d26445441a0c05ee14bef7ba752088f66a0c.tar.xz |
nvmet: Export nvmet_update_cc() and nvmet_cc_xxx() helpers
Make the function nvmet_update_cc() available to target drivers by
exporting it. To also facilitate the manipulation of the cc register
bits, move the inline helper functions nvmet_cc_en(), nvmet_cc_css(),
nvmet_cc_mps(), nvmet_cc_ams(), nvmet_cc_shn(), nvmet_cc_iosqes(), and
nvmet_cc_iocqes() from core.c to nvmet.h so that these functions can be
reused in target controller drivers.
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Tested-by: Rick Wertenbroek <rick.wertenbroek@gmail.com>
Tested-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions