Lines Matching refs:ars_status
107 struct nd_cmd_ars_status *ars_status; in xlat_bus_status() local
134 ars_status = buf; in xlat_bus_status()
156 if (ars_status->out_length >= 40 && (ars_status->flags in xlat_bus_status()
2399 struct nd_cmd_ars_status *ars_status = acpi_desc->ars_status; in ars_continue() local
2402 .address = ars_status->restart_address, in ars_continue()
2403 .length = ars_status->restart_length, in ars_continue()
2404 .type = ars_status->type, in ars_continue()
2416 struct nd_cmd_ars_status *ars_status = acpi_desc->ars_status; in ars_get_status() local
2419 rc = nd_desc->ndctl(nd_desc, NULL, ND_CMD_ARS_STATUS, ars_status, in ars_get_status()
2429 struct nd_cmd_ars_status *ars_status = acpi_desc->ars_status; in ars_complete() local
2443 if ((ars_status->address >= spa->address && ars_status->address in ars_complete()
2445 || (ars_status->address < spa->address)) { in ars_complete()
2454 if (ars_status->address + ars_status->length in ars_complete()
2474 struct nd_cmd_ars_status *ars_status = acpi_desc->ars_status; in ars_status_process_records() local
2482 if (ars_status->out_length < 44) in ars_status_process_records()
2491 ars_status->num_records); in ars_status_process_records()
2495 for (i = 0; i < ars_status->num_records; i++) { in ars_status_process_records()
2497 if (ars_status->out_length in ars_status_process_records()
2501 ars_status->records[i].err_address, in ars_status_process_records()
2502 ars_status->records[i].length); in ars_status_process_records()
2506 if (i < ars_status->num_records) in ars_status_process_records()
2717 struct nd_cmd_ars_status *ars_status; in ars_status_alloc() local
2719 if (acpi_desc->ars_status) { in ars_status_alloc()
2720 memset(acpi_desc->ars_status, 0, acpi_desc->max_ars); in ars_status_alloc()
2724 ars_status = devm_kzalloc(dev, acpi_desc->max_ars, GFP_KERNEL); in ars_status_alloc()
2725 if (!ars_status) in ars_status_alloc()
2727 acpi_desc->ars_status = ars_status; in ars_status_alloc()
2837 addr = acpi_desc->ars_status->address; in __acpi_nfit_scrub()
2838 end = addr + acpi_desc->ars_status->length; in __acpi_nfit_scrub()
2932 memset(acpi_desc->ars_status, 0, acpi_desc->max_ars); in acpi_nfit_scrub()