Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/input/keyboard/
Dadp5588-keys.c29 #define KP_SEL(x) (0xFFFF >> (16 - x)) /* 2^x-1 */ macro
337 ret = adp5588_write(client, KP_GPIO1, KP_SEL(pdata->rows)); in adp5588_setup()
338 ret |= adp5588_write(client, KP_GPIO2, KP_SEL(pdata->cols) & 0xFF); in adp5588_setup()
339 ret |= adp5588_write(client, KP_GPIO3, KP_SEL(pdata->cols) >> 8); in adp5588_setup()