Lines Matching refs:real_product_id
77 const u16 real_product_id; member
115 const u16 real_product_id; member
379 const u16 real_product_id) in lg4ff_init_wheel_data() argument
393 .real_product_id = real_product_id, in lg4ff_init_wheel_data()
689 …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
691 switch (real_product_id) { in lg4ff_get_mode_switch_command()
834 …4ff_alternate_modes[i].product_id == 0 && entry->wdata.product_id == entry->wdata.real_product_id)) in lg4ff_alternate_modes_show()
896 target_product_id = entry->wdata.real_product_id; in lg4ff_alternate_modes_store()
922 …if ((entry->wdata.real_product_id == USB_DEVICE_ID_LOGITECH_DFP_WHEEL || entry->wdata.real_product… in lg4ff_alternate_modes_store()
928 s = lg4ff_get_mode_switch_command(entry->wdata.real_product_id, target_product_id); in lg4ff_alternate_modes_store()
1206 const u16 real_product_id = lg4ff_main_checklist[i]->real_product_id; in lg4ff_identify_multimode_wheel() local
1210 …dbg_hid("Found wheel with real PID %X whose reported PID is %X\n", real_product_id, reported_produ… in lg4ff_identify_multimode_wheel()
1211 return real_product_id; in lg4ff_identify_multimode_wheel()
1221 static int lg4ff_handle_multimode_wheel(struct hid_device *hid, u16 *real_product_id, const u16 bcd… in lg4ff_handle_multimode_wheel() argument
1226 *real_product_id = lg4ff_identify_multimode_wheel(hid, reported_product_id, bcdDevice); in lg4ff_handle_multimode_wheel()
1228 if (!*real_product_id) { in lg4ff_handle_multimode_wheel()
1229 *real_product_id = reported_product_id; in lg4ff_handle_multimode_wheel()
1237 reported_product_id != *real_product_id && in lg4ff_handle_multimode_wheel()
1239 …ct lg4ff_compat_mode_switch *s = lg4ff_get_mode_switch_command(*real_product_id, *real_product_id); in lg4ff_handle_multimode_wheel()
1242 hid_err(hid, "Invalid product id %X\n", *real_product_id); in lg4ff_handle_multimode_wheel()
1273 u16 real_product_id; in lg4ff_init() local
1300 mmode_ret = lg4ff_handle_multimode_wheel(hid, &real_product_id, bcdDevice); in lg4ff_init()
1331 if (real_product_id == lg4ff_multimode_wheels[mmode_idx].product_id) in lg4ff_init()
1336 hid_err(hid, "Device product ID %X is not listed as a multimode wheel", real_product_id); in lg4ff_init()
1356 lg4ff_init_wheel_data(&entry->wdata, &lg4ff_devices[i], mmode_wheel, real_product_id); in lg4ff_init()