Lines Matching refs:ars_status
209 struct nd_cmd_ars_status *ars_status; member
535 struct nd_cmd_ars_status *ars_status; in post_ars_status() local
542 ars_status = ars_state->ars_status; in post_ars_status()
543 ars_status->status = 0; in post_ars_status()
544 ars_status->address = addr; in post_ars_status()
545 ars_status->length = len; in post_ars_status()
546 ars_status->type = ND_ARS_PERSISTENT; in post_ars_status()
559 ars_record = &ars_status->records[i]; in post_ars_status()
566 ars_status->num_records = i; in post_ars_status()
567 ars_status->out_length = sizeof(struct nd_cmd_ars_status) in post_ars_status()
596 struct nd_cmd_ars_status *ars_status, unsigned int buf_len, in nfit_test_cmd_ars_status() argument
599 if (buf_len < ars_state->ars_status->out_length) in nfit_test_cmd_ars_status()
604 memset(ars_status, 0, buf_len); in nfit_test_cmd_ars_status()
605 ars_status->status = NFIT_ARS_STATUS_BUSY; in nfit_test_cmd_ars_status()
606 ars_status->out_length = sizeof(*ars_status); in nfit_test_cmd_ars_status()
609 memcpy(ars_status, ars_state->ars_status, in nfit_test_cmd_ars_status()
610 ars_state->ars_status->out_length); in nfit_test_cmd_ars_status()
1700 ars_state->ars_status = devm_kzalloc(dev, in ars_state_init()
1702 if (!ars_state->ars_status) in ars_state_init()