Searched refs:ars_start (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.6/drivers/acpi/nfit/ |
D | core.c | 2362 static int ars_start(struct acpi_nfit_desc *acpi_desc, in ars_start() function 2367 struct nd_cmd_ars_start ars_start; in ars_start() local 2371 memset(&ars_start, 0, sizeof(ars_start)); in ars_start() 2372 ars_start.address = spa->address; in ars_start() 2373 ars_start.length = spa->length; in ars_start() 2375 ars_start.flags = ND_ARS_RETURN_PREV_DATA; in ars_start() 2377 ars_start.type = ND_ARS_PERSISTENT; in ars_start() 2379 ars_start.type = ND_ARS_VOLATILE; in ars_start() 2383 rc = nd_desc->ndctl(nd_desc, NULL, ND_CMD_ARS_START, &ars_start, in ars_start() 2384 sizeof(ars_start), &cmd_rc); in ars_start() [all …]
|
/Linux-v6.6/tools/testing/nvdimm/test/ |
D | nfit.c | 570 struct nd_cmd_ars_start *ars_start, unsigned int buf_len, in nfit_test_cmd_ars_start() argument 573 if (buf_len < sizeof(*ars_start)) in nfit_test_cmd_ars_start() 578 ars_start->status = NFIT_ARS_START_BUSY; in nfit_test_cmd_ars_start() 581 ars_start->status = 0; in nfit_test_cmd_ars_start() 582 ars_start->scrub_time = 1; in nfit_test_cmd_ars_start() 583 post_ars_status(ars_state, &t->badrange, ars_start->address, in nfit_test_cmd_ars_start() 584 ars_start->length); in nfit_test_cmd_ars_start()
|