Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/nvdimm/
Dbus.c231 struct nd_cmd_ars_cap ars_cap; in nvdimm_clear_poison() local
247 memset(&ars_cap, 0, sizeof(ars_cap)); in nvdimm_clear_poison()
248 ars_cap.address = phys; in nvdimm_clear_poison()
249 ars_cap.length = len; in nvdimm_clear_poison()
251 rc = nd_desc->ndctl(nd_desc, NULL, ND_CMD_ARS_CAP, &ars_cap, in nvdimm_clear_poison()
252 sizeof(ars_cap), &cmd_rc); in nvdimm_clear_poison()
258 clear_err_unit = ars_cap.clear_err_unit; in nvdimm_clear_poison()
/Linux-v5.10/drivers/acpi/nfit/
Dcore.c3310 struct nd_cmd_ars_cap ars_cap; in acpi_nfit_init_ars() local
3314 memset(&ars_cap, 0, sizeof(ars_cap)); in acpi_nfit_init_ars()
3315 rc = ars_get_cap(acpi_desc, &ars_cap, nfit_spa); in acpi_nfit_init_ars()
3319 if (type == NFIT_SPA_VOLATILE && ((ars_cap.status >> 16) in acpi_nfit_init_ars()
3322 if (type == NFIT_SPA_PM && ((ars_cap.status >> 16) in acpi_nfit_init_ars()
3326 nfit_spa->max_ars = ars_cap.max_ars_out; in acpi_nfit_init_ars()
3327 nfit_spa->clear_err_unit = ars_cap.clear_err_unit; in acpi_nfit_init_ars()
/Linux-v5.10/tools/testing/nvdimm/test/
Dnfit.c2902 struct nd_cmd_ars_cap ars_cap; in nfit_ctl_test() member
3011 cmd_size = sizeof(cmd.ars_cap); in nfit_ctl_test()
3012 cmd.ars_cap = (struct nd_cmd_ars_cap) { in nfit_ctl_test()