Lines Matching refs:lg4ff_alternate_modes
170 static const struct lg4ff_alternate_mode lg4ff_alternate_modes[] = { variable
784 lg4ff_alternate_modes[i].tag, in lg4ff_alternate_modes_show()
785 … !lg4ff_alternate_modes[i].product_id ? entry->wdata.real_name : lg4ff_alternate_modes[i].name); in lg4ff_alternate_modes_show()
790 if (lg4ff_alternate_modes[i].product_id == entry->wdata.product_id || in lg4ff_alternate_modes_show()
791 …(lg4ff_alternate_modes[i].product_id == 0 && entry->wdata.product_id == entry->wdata.real_product_… in lg4ff_alternate_modes_show()
841 const u16 mode_product_id = lg4ff_alternate_modes[i].product_id; in lg4ff_alternate_modes_store()
842 const char *tag = lg4ff_alternate_modes[i].tag; in lg4ff_alternate_modes_store()
875 …annot be switched back into \"%s\" mode\n", entry->wdata.real_name, lg4ff_alternate_modes[i].name); in lg4ff_alternate_modes_store()
1091 for (i = 1; i < ARRAY_SIZE(lg4ff_alternate_modes); i++) { in lg4ff_identify_multimode_wheel()
1092 dbg_hid("Testing whether PID is %X\n", lg4ff_alternate_modes[i].product_id); in lg4ff_identify_multimode_wheel()
1093 if (reported_product_id == lg4ff_alternate_modes[i].product_id) in lg4ff_identify_multimode_wheel()
1097 if (i == ARRAY_SIZE(lg4ff_alternate_modes)) in lg4ff_identify_multimode_wheel()