Lines Matching refs:ars_status
103 struct nd_cmd_ars_status *ars_status; in xlat_bus_status() local
130 ars_status = buf; in xlat_bus_status()
152 if (ars_status->out_length >= 40 && (ars_status->flags in xlat_bus_status()
2502 struct nd_cmd_ars_status *ars_status = acpi_desc->ars_status; in ars_continue() local
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()
2519 struct nd_cmd_ars_status *ars_status = acpi_desc->ars_status; in ars_get_status() local
2522 rc = nd_desc->ndctl(nd_desc, NULL, ND_CMD_ARS_STATUS, ars_status, in ars_get_status()
2532 struct nd_cmd_ars_status *ars_status = acpi_desc->ars_status; in ars_complete() local
2537 if ((ars_status->address >= spa->address && ars_status->address in ars_complete()
2539 || (ars_status->address < spa->address)) { in ars_complete()
2548 if (ars_status->address + ars_status->length in ars_complete()
2583 struct nd_cmd_ars_status *ars_status = acpi_desc->ars_status; in ars_status_process_records() local
2591 if (ars_status->out_length < 44) in ars_status_process_records()
2593 for (i = 0; i < ars_status->num_records; i++) { in ars_status_process_records()
2595 if (ars_status->out_length in ars_status_process_records()
2599 ars_status->records[i].err_address, in ars_status_process_records()
2600 ars_status->records[i].length); in ars_status_process_records()
2604 if (i < ars_status->num_records) in ars_status_process_records()
2826 struct nd_cmd_ars_status *ars_status; in ars_status_alloc() local
2828 if (acpi_desc->ars_status) { in ars_status_alloc()
2829 memset(acpi_desc->ars_status, 0, acpi_desc->max_ars); in ars_status_alloc()
2833 ars_status = devm_kzalloc(dev, acpi_desc->max_ars, GFP_KERNEL); in ars_status_alloc()
2834 if (!ars_status) in ars_status_alloc()
2836 acpi_desc->ars_status = ars_status; in ars_status_alloc()
2934 addr = acpi_desc->ars_status->address; in __acpi_nfit_scrub()
2935 end = addr + acpi_desc->ars_status->length; in __acpi_nfit_scrub()
3001 memset(acpi_desc->ars_status, 0, acpi_desc->max_ars); in acpi_nfit_scrub()