Searched refs:irtoy (Results 1 – 1 of 1) sorted by relevance
56 struct irtoy { struct81 static void irtoy_response(struct irtoy *irtoy, u32 len) in irtoy_response() argument83 switch (irtoy->state) { in irtoy_response()85 if (len == LEN_VERSION && irtoy->in[0] == REPLY_VERSION) { in irtoy_response()88 irtoy->in[LEN_VERSION] = 0; in irtoy_response()90 if (kstrtouint(irtoy->in + 1, 10, &version)) { in irtoy_response()91 …dev_err(irtoy->dev, "invalid version %*phN. Please make sure you are using firmware v20 or higher", in irtoy_response()92 LEN_VERSION, irtoy->in); in irtoy_response()96 dev_dbg(irtoy->dev, "version %s\n", irtoy->in); in irtoy_response()98 irtoy->hw_version = version / 100; in irtoy_response()[all …]