Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/nvdimm/
Dbus.c220 struct nd_cmd_ars_cap ars_cap; in nvdimm_clear_poison() local
236 memset(&ars_cap, 0, sizeof(ars_cap)); in nvdimm_clear_poison()
237 ars_cap.address = phys; in nvdimm_clear_poison()
238 ars_cap.length = len; in nvdimm_clear_poison()
240 rc = nd_desc->ndctl(nd_desc, NULL, ND_CMD_ARS_CAP, &ars_cap, in nvdimm_clear_poison()
241 sizeof(ars_cap), &cmd_rc); in nvdimm_clear_poison()
247 clear_err_unit = ars_cap.clear_err_unit; in nvdimm_clear_poison()
/linux-6.1.9/drivers/acpi/nfit/
Dcore.c2941 struct nd_cmd_ars_cap ars_cap; in acpi_nfit_init_ars() local
2945 memset(&ars_cap, 0, sizeof(ars_cap)); in acpi_nfit_init_ars()
2946 rc = ars_get_cap(acpi_desc, &ars_cap, nfit_spa); in acpi_nfit_init_ars()
2950 if (type == NFIT_SPA_VOLATILE && ((ars_cap.status >> 16) in acpi_nfit_init_ars()
2953 if (type == NFIT_SPA_PM && ((ars_cap.status >> 16) in acpi_nfit_init_ars()
2957 nfit_spa->max_ars = ars_cap.max_ars_out; in acpi_nfit_init_ars()
2958 nfit_spa->clear_err_unit = ars_cap.clear_err_unit; in acpi_nfit_init_ars()
/linux-6.1.9/tools/testing/nvdimm/test/
Dnfit.c2885 struct nd_cmd_ars_cap ars_cap; in nfit_ctl_test() member
2994 cmd_size = sizeof(cmd.ars_cap); in nfit_ctl_test()
2995 cmd.ars_cap = (struct nd_cmd_ars_cap) { in nfit_ctl_test()