Lines Matching refs:resp
104 struct ec_response_lightbar *resp; in get_lightbar_version() local
105 struct cros_ec_command msg = INIT_MSG(param, resp); in get_lightbar_version()
124 resp = (struct ec_response_lightbar *)msg.indata; in get_lightbar_version()
128 *ver_ptr = resp->version.num; in get_lightbar_version()
130 *flg_ptr = resp->version.flags; in get_lightbar_version()
161 struct ec_response_lightbar *resp; in brightness_store() local
162 struct cros_ec_command msg = INIT_MSG(param, resp); in brightness_store()
199 struct ec_response_lightbar *resp; in led_rgb_store() local
200 struct cros_ec_command msg = INIT_MSG(param, resp); in led_rgb_store()
263 struct ec_response_lightbar *resp; in sequence_show() local
264 struct cros_ec_command msg = INIT_MSG(param, resp); in sequence_show()
282 resp = (struct ec_response_lightbar *)msg.indata; in sequence_show()
283 if (resp->get_seq.num >= ARRAY_SIZE(seqname)) in sequence_show()
284 return scnprintf(buf, PAGE_SIZE, "%d\n", resp->get_seq.num); in sequence_show()
287 seqname[resp->get_seq.num]); in sequence_show()
294 struct ec_response_lightbar *resp; in sequence_store() local
295 struct cros_ec_command msg = INIT_MSG(param, resp); in sequence_store()