Lines Matching refs:ars_status
202 struct nd_cmd_ars_status *ars_status; member
524 struct nd_cmd_ars_status *ars_status; in post_ars_status() local
531 ars_status = ars_state->ars_status; in post_ars_status()
532 ars_status->status = 0; in post_ars_status()
533 ars_status->address = addr; in post_ars_status()
534 ars_status->length = len; in post_ars_status()
535 ars_status->type = ND_ARS_PERSISTENT; in post_ars_status()
548 ars_record = &ars_status->records[i]; in post_ars_status()
555 ars_status->num_records = i; in post_ars_status()
556 ars_status->out_length = sizeof(struct nd_cmd_ars_status) in post_ars_status()
585 struct nd_cmd_ars_status *ars_status, unsigned int buf_len, in nfit_test_cmd_ars_status() argument
588 if (buf_len < ars_state->ars_status->out_length) in nfit_test_cmd_ars_status()
593 memset(ars_status, 0, buf_len); in nfit_test_cmd_ars_status()
594 ars_status->status = NFIT_ARS_STATUS_BUSY; in nfit_test_cmd_ars_status()
595 ars_status->out_length = sizeof(*ars_status); in nfit_test_cmd_ars_status()
598 memcpy(ars_status, ars_state->ars_status, in nfit_test_cmd_ars_status()
599 ars_state->ars_status->out_length); in nfit_test_cmd_ars_status()
1213 ars_state->ars_status = devm_kzalloc(dev, in ars_state_init()
1215 if (!ars_state->ars_status) in ars_state_init()