Lines Matching refs:target_product_id
646 …_mode_switch *lg4ff_get_mode_switch_command(const u16 real_product_id, const u16 target_product_id) in lg4ff_get_mode_switch_command() argument
650 switch (target_product_id) { in lg4ff_get_mode_switch_command()
659 switch (target_product_id) { in lg4ff_get_mode_switch_command()
670 switch (target_product_id) { in lg4ff_get_mode_switch_command()
685 switch (target_product_id) { in lg4ff_get_mode_switch_command()
702 switch (target_product_id) { in lg4ff_get_mode_switch_command()
810 u16 target_product_id = 0; in lg4ff_alternate_modes_store() local
847 target_product_id = entry->wdata.real_product_id; in lg4ff_alternate_modes_store()
849 target_product_id = mode_product_id; in lg4ff_alternate_modes_store()
862 if (target_product_id == entry->wdata.product_id) /* Nothing to do */ in lg4ff_alternate_modes_store()
866 if (target_product_id == USB_DEVICE_ID_LOGITECH_WHEEL && !lg4ff_no_autoswitch) { in lg4ff_alternate_modes_store()
874 entry->wdata.product_id > target_product_id) { in lg4ff_alternate_modes_store()
879 s = lg4ff_get_mode_switch_command(entry->wdata.real_product_id, target_product_id); in lg4ff_alternate_modes_store()
881 hid_err(hid, "Invalid target product ID %X\n", target_product_id); in lg4ff_alternate_modes_store()