Home
last modified time | relevance | path

Searched refs:ars_cap (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/drivers/nvdimm/
Dbus.c240 struct nd_cmd_ars_cap ars_cap; in nvdimm_clear_poison() local
256 memset(&ars_cap, 0, sizeof(ars_cap)); in nvdimm_clear_poison()
257 ars_cap.address = phys; in nvdimm_clear_poison()
258 ars_cap.length = len; in nvdimm_clear_poison()
260 rc = nd_desc->ndctl(nd_desc, NULL, ND_CMD_ARS_CAP, &ars_cap, in nvdimm_clear_poison()
261 sizeof(ars_cap), &cmd_rc); in nvdimm_clear_poison()
267 clear_err_unit = ars_cap.clear_err_unit; in nvdimm_clear_poison()
/Linux-v4.19/drivers/acpi/nfit/
Dcore.c3009 struct nd_cmd_ars_cap ars_cap; in acpi_nfit_init_ars() local
3012 memset(&ars_cap, 0, sizeof(ars_cap)); in acpi_nfit_init_ars()
3013 rc = ars_get_cap(acpi_desc, &ars_cap, nfit_spa); in acpi_nfit_init_ars()
3017 if (type == NFIT_SPA_VOLATILE && ((ars_cap.status >> 16) in acpi_nfit_init_ars()
3020 if (type == NFIT_SPA_PM && ((ars_cap.status >> 16) in acpi_nfit_init_ars()
3024 nfit_spa->max_ars = ars_cap.max_ars_out; in acpi_nfit_init_ars()
3025 nfit_spa->clear_err_unit = ars_cap.clear_err_unit; in acpi_nfit_init_ars()
/Linux-v4.19/tools/testing/nvdimm/test/
Dnfit.c2368 struct nd_cmd_ars_cap ars_cap; in nfit_ctl_test() member
2471 cmd_size = sizeof(cmds.ars_cap); in nfit_ctl_test()
2472 cmds.ars_cap = (struct nd_cmd_ars_cap) { in nfit_ctl_test()