Lines Matching defs:ctrl2
267 u8 ctrl[2], ctrl2;
305 ctrl2 = ctrl[0];
306 ctrl2 &= ~(RX8025_BIT_CTRL2_PON | RX8025_BIT_CTRL2_VDET |
309 ctrl2 |= RX8025_BIT_CTRL2_XST;
311 err = rx8025_write_reg(client, RX8025_REG_CTRL2, ctrl2);
322 u8 ctrl2, ald[2];
332 err = rx8025_read_reg(client, RX8025_REG_CTRL2, &ctrl2);
336 dev_dbg(dev, "%s: read alarm 0x%02x 0x%02x ctrl2 %02x\n",
337 __func__, ald[0], ald[1], ctrl2);
358 t->pending = (ctrl2 & RX8025_BIT_CTRL2_DAFG) && t->enabled;