Lines Matching refs:ars_status
106 struct nd_cmd_ars_status *ars_status; in xlat_bus_status() local
133 ars_status = buf; in xlat_bus_status()
155 if (ars_status->out_length >= 40 && (ars_status->flags in xlat_bus_status()
2755 struct nd_cmd_ars_status *ars_status = acpi_desc->ars_status; in ars_continue() local
2758 .address = ars_status->restart_address, in ars_continue()
2759 .length = ars_status->restart_length, in ars_continue()
2760 .type = ars_status->type, in ars_continue()
2772 struct nd_cmd_ars_status *ars_status = acpi_desc->ars_status; in ars_get_status() local
2775 rc = nd_desc->ndctl(nd_desc, NULL, ND_CMD_ARS_STATUS, ars_status, in ars_get_status()
2785 struct nd_cmd_ars_status *ars_status = acpi_desc->ars_status; in ars_complete() local
2799 if ((ars_status->address >= spa->address && ars_status->address in ars_complete()
2801 || (ars_status->address < spa->address)) { in ars_complete()
2810 if (ars_status->address + ars_status->length in ars_complete()
2830 struct nd_cmd_ars_status *ars_status = acpi_desc->ars_status; in ars_status_process_records() local
2838 if (ars_status->out_length < 44) in ars_status_process_records()
2847 ars_status->num_records); in ars_status_process_records()
2851 for (i = 0; i < ars_status->num_records; i++) { in ars_status_process_records()
2853 if (ars_status->out_length in ars_status_process_records()
2857 ars_status->records[i].err_address, in ars_status_process_records()
2858 ars_status->records[i].length); in ars_status_process_records()
2862 if (i < ars_status->num_records) in ars_status_process_records()
3086 struct nd_cmd_ars_status *ars_status; in ars_status_alloc() local
3088 if (acpi_desc->ars_status) { in ars_status_alloc()
3089 memset(acpi_desc->ars_status, 0, acpi_desc->max_ars); in ars_status_alloc()
3093 ars_status = devm_kzalloc(dev, acpi_desc->max_ars, GFP_KERNEL); in ars_status_alloc()
3094 if (!ars_status) in ars_status_alloc()
3096 acpi_desc->ars_status = ars_status; in ars_status_alloc()
3206 addr = acpi_desc->ars_status->address; in __acpi_nfit_scrub()
3207 end = addr + acpi_desc->ars_status->length; in __acpi_nfit_scrub()
3301 memset(acpi_desc->ars_status, 0, acpi_desc->max_ars); in acpi_nfit_scrub()