Lines Matching refs:ars_start
2469 static int ars_start(struct acpi_nfit_desc *acpi_desc, struct nfit_spa *nfit_spa) in ars_start() function
2473 struct nd_cmd_ars_start ars_start; in ars_start() local
2477 memset(&ars_start, 0, sizeof(ars_start)); in ars_start()
2478 ars_start.address = spa->address; in ars_start()
2479 ars_start.length = spa->length; in ars_start()
2481 ars_start.flags = ND_ARS_RETURN_PREV_DATA; in ars_start()
2483 ars_start.type = ND_ARS_PERSISTENT; in ars_start()
2485 ars_start.type = ND_ARS_VOLATILE; in ars_start()
2489 rc = nd_desc->ndctl(nd_desc, NULL, ND_CMD_ARS_START, &ars_start, in ars_start()
2490 sizeof(ars_start), &cmd_rc); in ars_start()
2500 struct nd_cmd_ars_start ars_start; in ars_continue() local
2504 memset(&ars_start, 0, sizeof(ars_start)); in ars_continue()
2505 ars_start.address = ars_status->restart_address; in ars_continue()
2506 ars_start.length = ars_status->restart_length; in ars_continue()
2507 ars_start.type = ars_status->type; in ars_continue()
2508 ars_start.flags = acpi_desc->ars_start_flags; in ars_continue()
2509 rc = nd_desc->ndctl(nd_desc, NULL, ND_CMD_ARS_START, &ars_start, in ars_continue()
2510 sizeof(ars_start), &cmd_rc); in ars_continue()
2872 rc = ars_start(acpi_desc, nfit_spa); in ars_register()
2945 int rc = ars_start(acpi_desc, nfit_spa); in __acpi_nfit_scrub()