Home
last modified time | relevance | path

Searched refs:ars_start (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/acpi/nfit/
Dcore.c2661 static int ars_start(struct acpi_nfit_desc *acpi_desc, in ars_start() function
2666 struct nd_cmd_ars_start ars_start; in ars_start() local
2670 memset(&ars_start, 0, sizeof(ars_start)); in ars_start()
2671 ars_start.address = spa->address; in ars_start()
2672 ars_start.length = spa->length; in ars_start()
2674 ars_start.flags = ND_ARS_RETURN_PREV_DATA; in ars_start()
2676 ars_start.type = ND_ARS_PERSISTENT; in ars_start()
2678 ars_start.type = ND_ARS_VOLATILE; in ars_start()
2682 rc = nd_desc->ndctl(nd_desc, NULL, ND_CMD_ARS_START, &ars_start, in ars_start()
2683 sizeof(ars_start), &cmd_rc); in ars_start()
[all …]
/Linux-v5.4/tools/testing/nvdimm/test/
Dnfit.c568 struct nd_cmd_ars_start *ars_start, unsigned int buf_len, in nfit_test_cmd_ars_start() argument
571 if (buf_len < sizeof(*ars_start)) in nfit_test_cmd_ars_start()
576 ars_start->status = NFIT_ARS_START_BUSY; in nfit_test_cmd_ars_start()
579 ars_start->status = 0; in nfit_test_cmd_ars_start()
580 ars_start->scrub_time = 1; in nfit_test_cmd_ars_start()
581 post_ars_status(ars_state, &t->badrange, ars_start->address, in nfit_test_cmd_ars_start()
582 ars_start->length); in nfit_test_cmd_ars_start()