Lines Matching defs:adp5588_write
68 static int adp5588_write(struct i2c_client *client, u8 reg, u8 val)
107 adp5588_write(kpad->client, GPIO_DAT_OUT1 + bank,
123 ret = adp5588_write(kpad->client, GPIO_DIR1 + bank, kpad->dir[bank]);
147 ret = adp5588_write(kpad->client, GPIO_DAT_OUT1 + bank,
149 ret |= adp5588_write(kpad->client, GPIO_DIR1 + bank,
311 adp5588_write(client, INT_STAT, status); /* Status is W1C */
337 ret = adp5588_write(client, KP_GPIO1, KP_SEL(pdata->rows));
338 ret |= adp5588_write(client, KP_GPIO2, KP_SEL(pdata->cols) & 0xFF);
339 ret |= adp5588_write(client, KP_GPIO3, KP_SEL(pdata->cols) >> 8);
342 ret |= adp5588_write(client, UNLOCK1, pdata->unlock_key1);
343 ret |= adp5588_write(client, UNLOCK2, pdata->unlock_key2);
344 ret |= adp5588_write(client, KEY_LCK_EC_STAT, ADP5588_K_LCK_EN);
362 ret |= adp5588_write(client, GPI_EM1, evt_mode1);
363 ret |= adp5588_write(client, GPI_EM2, evt_mode2);
364 ret |= adp5588_write(client, GPI_EM3, evt_mode3);
371 ret |= adp5588_write(client, GPIO_PULL1 + i,
376 ret |= adp5588_write(client, INT_STAT,
381 ret |= adp5588_write(client, CFG, ADP5588_INT_CFG |
605 adp5588_write(client, CFG, 0);