Home
last modified time | relevance | path

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

/openbmc/linux/drivers/input/joystick/
H A Dgrip_mp.c170 int portvals = 0; /* used for port value sanity check */ in mp_io() local
182 portvals |= 1 << ((raw_data >> 4) & 3); /* Demux B4, B5 */ in mp_io()
185 if (portvals == 1) { /* B4, B5 off */ in mp_io()
187 portvals = raw_data & 0xf0; in mp_io()
201 portvals |= raw_data >> 4; /* Compare B4-B7 before & after trigger */ in mp_io()
203 if (portvals != 0xb) in mp_io()