Searched refs:ars_cap (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.4/drivers/nvdimm/ |
D | bus.c | 231 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.4/drivers/acpi/nfit/ |
D | core.c | 3255 struct nd_cmd_ars_cap ars_cap; in acpi_nfit_init_ars() local 3259 memset(&ars_cap, 0, sizeof(ars_cap)); in acpi_nfit_init_ars() 3260 rc = ars_get_cap(acpi_desc, &ars_cap, nfit_spa); in acpi_nfit_init_ars() 3264 if (type == NFIT_SPA_VOLATILE && ((ars_cap.status >> 16) in acpi_nfit_init_ars() 3267 if (type == NFIT_SPA_PM && ((ars_cap.status >> 16) in acpi_nfit_init_ars() 3271 nfit_spa->max_ars = ars_cap.max_ars_out; in acpi_nfit_init_ars() 3272 nfit_spa->clear_err_unit = ars_cap.clear_err_unit; in acpi_nfit_init_ars()
|
/Linux-v5.4/tools/testing/nvdimm/test/ |
D | nfit.c | 2706 struct nd_cmd_ars_cap ars_cap; in nfit_ctl_test() member 2809 cmd_size = sizeof(cmds.ars_cap); in nfit_ctl_test() 2810 cmds.ars_cap = (struct nd_cmd_ars_cap) { in nfit_ctl_test()
|