Lines Matching refs:real_product_id
89 const u16 real_product_id; member
123 const u16 real_product_id; member
385 const u16 real_product_id) in lg4ff_init_wheel_data() argument
399 .real_product_id = real_product_id, in lg4ff_init_wheel_data()
695 …ct lg4ff_compat_mode_switch *lg4ff_get_mode_switch_command(const u16 real_product_id, const u16 ta… in lg4ff_get_mode_switch_command() argument
697 switch (real_product_id) { in lg4ff_get_mode_switch_command()
840 …4ff_alternate_modes[i].product_id == 0 && entry->wdata.product_id == entry->wdata.real_product_id)) in lg4ff_alternate_modes_show()
902 target_product_id = entry->wdata.real_product_id; in lg4ff_alternate_modes_store()
928 …if ((entry->wdata.real_product_id == USB_DEVICE_ID_LOGITECH_DFP_WHEEL || entry->wdata.real_product… in lg4ff_alternate_modes_store()
934 s = lg4ff_get_mode_switch_command(entry->wdata.real_product_id, target_product_id); in lg4ff_alternate_modes_store()
1212 const u16 real_product_id = lg4ff_main_checklist[i]->real_product_id; in lg4ff_identify_multimode_wheel() local
1216 …dbg_hid("Found wheel with real PID %X whose reported PID is %X\n", real_product_id, reported_produ… in lg4ff_identify_multimode_wheel()
1217 return real_product_id; in lg4ff_identify_multimode_wheel()
1227 static int lg4ff_handle_multimode_wheel(struct hid_device *hid, u16 *real_product_id, const u16 bcd… in lg4ff_handle_multimode_wheel() argument
1232 *real_product_id = lg4ff_identify_multimode_wheel(hid, reported_product_id, bcdDevice); in lg4ff_handle_multimode_wheel()
1234 if (!*real_product_id) { in lg4ff_handle_multimode_wheel()
1235 *real_product_id = reported_product_id; in lg4ff_handle_multimode_wheel()
1243 reported_product_id != *real_product_id && in lg4ff_handle_multimode_wheel()
1245 …ct lg4ff_compat_mode_switch *s = lg4ff_get_mode_switch_command(*real_product_id, *real_product_id); in lg4ff_handle_multimode_wheel()
1248 hid_err(hid, "Invalid product id %X\n", *real_product_id); in lg4ff_handle_multimode_wheel()
1279 u16 real_product_id; in lg4ff_init() local
1306 mmode_ret = lg4ff_handle_multimode_wheel(hid, &real_product_id, bcdDevice); in lg4ff_init()
1337 if (real_product_id == lg4ff_multimode_wheels[mmode_idx].product_id) in lg4ff_init()
1342 hid_err(hid, "Device product ID %X is not listed as a multimode wheel", real_product_id); in lg4ff_init()
1362 lg4ff_init_wheel_data(&entry->wdata, &lg4ff_devices[i], mmode_wheel, real_product_id); in lg4ff_init()