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

/linux-4.4.14/drivers/input/joystick/
H A Dgrip_mp.c169 int portvals = 0; /* used for port value sanity check */ mp_io() local
181 portvals |= 1 << ((raw_data >> 4) & 3); /* Demux B4, B5 */ mp_io()
184 if (portvals == 1) { /* B4, B5 off */ mp_io()
186 portvals = raw_data & 0xf0; mp_io()
200 portvals |= raw_data >> 4; /* Compare B4-B7 before & after trigger */ mp_io()
202 if (portvals != 0xb) mp_io()

Completed in 60 milliseconds