Searched refs:mmode_idx (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/hid/
H A Dhid-lg4ff.c999 int mmode_ret, mmode_idx = -1; lg4ff_init() local
1031 for (mmode_idx = 0; mmode_idx < ARRAY_SIZE(lg4ff_multimode_wheels); mmode_idx++) { lg4ff_init()
1032 if (real_product_id == lg4ff_multimode_wheels[mmode_idx].product_id) lg4ff_init()
1036 if (mmode_idx == ARRAY_SIZE(lg4ff_multimode_wheels)) { lg4ff_init()
1072 BUG_ON(mmode_idx == -1); lg4ff_init()
1073 entry->alternate_modes = lg4ff_multimode_wheels[mmode_idx].alternate_modes; lg4ff_init()
1074 entry->real_tag = lg4ff_multimode_wheels[mmode_idx].real_tag; lg4ff_init()
1075 entry->real_name = lg4ff_multimode_wheels[mmode_idx].real_name; lg4ff_init()

Completed in 49 milliseconds