Lines Matching defs:response
79 * This structs contains (in little endian) the response data
123 struct tm_wheel_response *response;
224 if (tm_wheel->response->type == cpu_to_le16(0x49))
225 model = le16_to_cpu(tm_wheel->response->data.a.model);
226 else if (tm_wheel->response->type == cpu_to_le16(0x47))
227 model = le16_to_cpu(tm_wheel->response->data.b.model);
229 hid_err(hdev, "Unknown packet type 0x%x, unable to proceed further with wheel init\n", tm_wheel->response->type);
250 NULL, 0, // We do not expect any response from the wheel
267 kfree(tm_wheel->response);
322 tm_wheel->response = kzalloc(sizeof(struct tm_wheel_response), GFP_KERNEL);
323 if (!tm_wheel->response) {
346 tm_wheel->response,
361 error5: kfree(tm_wheel->response);