Searched refs:ars_cap (Results 1 – 2 of 2) sorted by relevance
/drivers/nvdimm/ |
D | bus.c | 229 struct nd_cmd_ars_cap ars_cap; in nvdimm_clear_poison() local 245 memset(&ars_cap, 0, sizeof(ars_cap)); in nvdimm_clear_poison() 246 ars_cap.address = phys; in nvdimm_clear_poison() 247 ars_cap.length = len; in nvdimm_clear_poison() 249 rc = nd_desc->ndctl(nd_desc, NULL, ND_CMD_ARS_CAP, &ars_cap, in nvdimm_clear_poison() 250 sizeof(ars_cap), &cmd_rc); in nvdimm_clear_poison() 256 clear_err_unit = ars_cap.clear_err_unit; in nvdimm_clear_poison()
|
/drivers/acpi/nfit/ |
D | core.c | 3319 struct nd_cmd_ars_cap ars_cap; in acpi_nfit_init_ars() local 3323 memset(&ars_cap, 0, sizeof(ars_cap)); in acpi_nfit_init_ars() 3324 rc = ars_get_cap(acpi_desc, &ars_cap, nfit_spa); in acpi_nfit_init_ars() 3328 if (type == NFIT_SPA_VOLATILE && ((ars_cap.status >> 16) in acpi_nfit_init_ars() 3331 if (type == NFIT_SPA_PM && ((ars_cap.status >> 16) in acpi_nfit_init_ars() 3335 nfit_spa->max_ars = ars_cap.max_ars_out; in acpi_nfit_init_ars() 3336 nfit_spa->clear_err_unit = ars_cap.clear_err_unit; in acpi_nfit_init_ars()
|