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

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/input/keyboard/
H A Dadp5588-keys.c54 #define KP_SEL(x) (0xFFFF >> (16 - x)) /* 2^x-1 */ macro
356 ret = adp5588_write(client, KP_GPIO1, KP_SEL(pdata->rows));
357 ret |= adp5588_write(client, KP_GPIO2, KP_SEL(pdata->cols) & 0xFF);
358 ret |= adp5588_write(client, KP_GPIO3, KP_SEL(pdata->cols) >> 8);

Completed in 46 milliseconds