Lines Matching refs:ars_status
206 struct nd_cmd_ars_status *ars_status; member
532 struct nd_cmd_ars_status *ars_status; in post_ars_status() local
539 ars_status = ars_state->ars_status; in post_ars_status()
540 ars_status->status = 0; in post_ars_status()
541 ars_status->address = addr; in post_ars_status()
542 ars_status->length = len; in post_ars_status()
543 ars_status->type = ND_ARS_PERSISTENT; in post_ars_status()
556 ars_record = &ars_status->records[i]; in post_ars_status()
563 ars_status->num_records = i; in post_ars_status()
564 ars_status->out_length = sizeof(struct nd_cmd_ars_status) in post_ars_status()
593 struct nd_cmd_ars_status *ars_status, unsigned int buf_len, in nfit_test_cmd_ars_status() argument
596 if (buf_len < ars_state->ars_status->out_length) in nfit_test_cmd_ars_status()
601 memset(ars_status, 0, buf_len); in nfit_test_cmd_ars_status()
602 ars_status->status = NFIT_ARS_STATUS_BUSY; in nfit_test_cmd_ars_status()
603 ars_status->out_length = sizeof(*ars_status); in nfit_test_cmd_ars_status()
606 memcpy(ars_status, ars_state->ars_status, in nfit_test_cmd_ars_status()
607 ars_state->ars_status->out_length); in nfit_test_cmd_ars_status()
1697 ars_state->ars_status = devm_kzalloc(dev, in ars_state_init()
1699 if (!ars_state->ars_status) in ars_state_init()