Home
last modified time | relevance | path

Searched refs:tm_wheel (Results 1 – 1 of 1) sorted by relevance

/Linux-v6.6/drivers/hid/
Dhid-thrustmaster.c118 struct tm_wheel { struct
214 struct tm_wheel *tm_wheel = hid_get_drvdata(hdev); in thrustmaster_model_handler() local
224 if (tm_wheel->response->type == cpu_to_le16(0x49)) in thrustmaster_model_handler()
225 model = le16_to_cpu(tm_wheel->response->data.a.model); in thrustmaster_model_handler()
226 else if (tm_wheel->response->type == cpu_to_le16(0x47)) in thrustmaster_model_handler()
227 model = le16_to_cpu(tm_wheel->response->data.b.model); in thrustmaster_model_handler()
229 …hid_err(hdev, "Unknown packet type 0x%x, unable to proceed further with wheel init\n", tm_wheel->r… in thrustmaster_model_handler()
244 tm_wheel->change_request->wValue = cpu_to_le16(twi->switch_value); in thrustmaster_model_handler()
246 tm_wheel->urb, in thrustmaster_model_handler()
247 tm_wheel->usb_dev, in thrustmaster_model_handler()
[all …]