Lines Matching refs:readval
331 unsigned int readval, reg, bit; in adf4371_read() local
337 ret = regmap_read(st->regmap, ADF4371_REG(0x7C), &readval); in adf4371_read()
341 if (readval == 0x00) { in adf4371_read()
350 ret = regmap_read(st->regmap, reg, &readval); in adf4371_read()
354 val = !(readval & BIT(bit)); in adf4371_read()
375 unsigned int bit, readval, reg; in adf4371_write() local
394 ret = regmap_read(st->regmap, reg, &readval); in adf4371_write()
398 readval &= ~BIT(bit); in adf4371_write()
399 readval |= (!power_down << bit); in adf4371_write()
401 ret = regmap_write(st->regmap, reg, readval); in adf4371_write()
461 unsigned int *readval) in adf4371_reg_access() argument
465 if (readval) in adf4371_reg_access()
466 return regmap_read(st->regmap, reg, readval); in adf4371_reg_access()