Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/acpi/nfit/
Dcore.c2718 static int ars_start(struct acpi_nfit_desc *acpi_desc, in ars_start() function
2723 struct nd_cmd_ars_start ars_start; in ars_start() local
2727 memset(&ars_start, 0, sizeof(ars_start)); in ars_start()
2728 ars_start.address = spa->address; in ars_start()
2729 ars_start.length = spa->length; in ars_start()
2731 ars_start.flags = ND_ARS_RETURN_PREV_DATA; in ars_start()
2733 ars_start.type = ND_ARS_PERSISTENT; in ars_start()
2735 ars_start.type = ND_ARS_VOLATILE; in ars_start()
2739 rc = nd_desc->ndctl(nd_desc, NULL, ND_CMD_ARS_START, &ars_start, in ars_start()
2740 sizeof(ars_start), &cmd_rc); in ars_start()
[all …]
/Linux-v5.10/tools/testing/nvdimm/test/
Dnfit.c573 struct nd_cmd_ars_start *ars_start, unsigned int buf_len, in nfit_test_cmd_ars_start() argument
576 if (buf_len < sizeof(*ars_start)) in nfit_test_cmd_ars_start()
581 ars_start->status = NFIT_ARS_START_BUSY; in nfit_test_cmd_ars_start()
584 ars_start->status = 0; in nfit_test_cmd_ars_start()
585 ars_start->scrub_time = 1; in nfit_test_cmd_ars_start()
586 post_ars_status(ars_state, &t->badrange, ars_start->address, in nfit_test_cmd_ars_start()
587 ars_start->length); in nfit_test_cmd_ars_start()