Lines Matching refs:target_product_id
689 static const struct lg4ff_compat_mode_switch *lg4ff_get_mode_switch_command(const u16 real_product_id, const u16 target_product_id)
693 switch (target_product_id) {
702 switch (target_product_id) {
713 switch (target_product_id) {
728 switch (target_product_id) {
745 switch (target_product_id) {
853 u16 target_product_id = 0;
896 target_product_id = entry->wdata.real_product_id;
898 target_product_id = mode_product_id;
911 if (target_product_id == entry->wdata.product_id) /* Nothing to do */
915 if (target_product_id == USB_DEVICE_ID_LOGITECH_WHEEL && !lg4ff_no_autoswitch) {
923 entry->wdata.product_id > target_product_id) {
928 s = lg4ff_get_mode_switch_command(entry->wdata.real_product_id, target_product_id);
930 hid_err(hid, "Invalid target product ID %X\n", target_product_id);