Lines Matching refs:lg4ff_alternate_modes
163 static const struct lg4ff_alternate_mode lg4ff_alternate_modes[] = {
827 lg4ff_alternate_modes[i].tag,
828 !lg4ff_alternate_modes[i].product_id ? entry->wdata.real_name : lg4ff_alternate_modes[i].name);
833 if (lg4ff_alternate_modes[i].product_id == entry->wdata.product_id ||
834 (lg4ff_alternate_modes[i].product_id == 0 && entry->wdata.product_id == entry->wdata.real_product_id))
890 const u16 mode_product_id = lg4ff_alternate_modes[i].product_id;
891 const char *tag = lg4ff_alternate_modes[i].tag;
924 hid_info(hid, "\"%s\" cannot be switched back into \"%s\" mode\n", entry->wdata.real_name, lg4ff_alternate_modes[i].name);
1192 for (i = 1; i < ARRAY_SIZE(lg4ff_alternate_modes); i++) {
1193 dbg_hid("Testing whether PID is %X\n", lg4ff_alternate_modes[i].product_id);
1194 if (reported_product_id == lg4ff_alternate_modes[i].product_id)
1198 if (i == ARRAY_SIZE(lg4ff_alternate_modes))