lg4ff_alternate_modes 163 drivers/hid/hid-lg4ff.c static const struct lg4ff_alternate_mode lg4ff_alternate_modes[] = { lg4ff_alternate_modes 827 drivers/hid/hid-lg4ff.c lg4ff_alternate_modes[i].tag, lg4ff_alternate_modes 828 drivers/hid/hid-lg4ff.c !lg4ff_alternate_modes[i].product_id ? entry->wdata.real_name : lg4ff_alternate_modes[i].name); lg4ff_alternate_modes 833 drivers/hid/hid-lg4ff.c if (lg4ff_alternate_modes[i].product_id == entry->wdata.product_id || lg4ff_alternate_modes 834 drivers/hid/hid-lg4ff.c (lg4ff_alternate_modes[i].product_id == 0 && entry->wdata.product_id == entry->wdata.real_product_id)) lg4ff_alternate_modes 884 drivers/hid/hid-lg4ff.c const u16 mode_product_id = lg4ff_alternate_modes[i].product_id; lg4ff_alternate_modes 885 drivers/hid/hid-lg4ff.c const char *tag = lg4ff_alternate_modes[i].tag; lg4ff_alternate_modes 918 drivers/hid/hid-lg4ff.c hid_info(hid, "\"%s\" cannot be switched back into \"%s\" mode\n", entry->wdata.real_name, lg4ff_alternate_modes[i].name); lg4ff_alternate_modes 1186 drivers/hid/hid-lg4ff.c for (i = 1; i < ARRAY_SIZE(lg4ff_alternate_modes); i++) { lg4ff_alternate_modes 1187 drivers/hid/hid-lg4ff.c dbg_hid("Testing whether PID is %X\n", lg4ff_alternate_modes[i].product_id); lg4ff_alternate_modes 1188 drivers/hid/hid-lg4ff.c if (reported_product_id == lg4ff_alternate_modes[i].product_id) lg4ff_alternate_modes 1192 drivers/hid/hid-lg4ff.c if (i == ARRAY_SIZE(lg4ff_alternate_modes))