readval 108 drivers/gpio/gpio-htc-egpio.c unsigned long readval = egpio_readw(ei, ei->ack_register); readval 109 drivers/gpio/gpio-htc-egpio.c pr_debug("IRQ reg: %x\n", (unsigned int)readval); readval 113 drivers/gpio/gpio-htc-egpio.c readval &= ei->irqs_enabled; readval 114 drivers/gpio/gpio-htc-egpio.c for_each_set_bit(irqpin, &readval, ei->nirqs) { readval 633 drivers/iio/accel/adxl372.c unsigned int *readval) readval 637 drivers/iio/accel/adxl372.c if (readval) readval 638 drivers/iio/accel/adxl372.c return regmap_read(st->regmap, reg, readval); readval 1112 drivers/iio/accel/mma8452.c unsigned int *readval) readval 1120 drivers/iio/accel/mma8452.c if (!readval) readval 1127 drivers/iio/accel/mma8452.c *readval = ret; readval 185 drivers/iio/adc/ad7124.c unsigned int readval; readval 188 drivers/iio/adc/ad7124.c ret = ad_sd_read_reg(&st->sd, addr, bytes, &readval); readval 192 drivers/iio/adc/ad7124.c readval &= ~mask; readval 193 drivers/iio/adc/ad7124.c readval |= val; readval 195 drivers/iio/adc/ad7124.c return ad_sd_write_reg(&st->sd, addr, bytes, readval); readval 382 drivers/iio/adc/ad7124.c unsigned int readval, timeout; readval 391 drivers/iio/adc/ad7124.c ret = ad_sd_read_reg(&st->sd, AD7124_STATUS, 1, &readval); readval 395 drivers/iio/adc/ad7124.c if (!(readval & AD7124_STATUS_POR_FLAG_MSK)) readval 66 drivers/iio/adc/ad7606.c unsigned int *readval) readval 72 drivers/iio/adc/ad7606.c if (readval) { readval 76 drivers/iio/adc/ad7606.c *readval = ret; readval 164 drivers/iio/adc/ad7606_spi.c int readval; readval 166 drivers/iio/adc/ad7606_spi.c readval = st->bops->reg_read(st, addr); readval 167 drivers/iio/adc/ad7606_spi.c if (readval < 0) readval 168 drivers/iio/adc/ad7606_spi.c return readval; readval 170 drivers/iio/adc/ad7606_spi.c readval &= ~mask; readval 171 drivers/iio/adc/ad7606_spi.c readval |= val; readval 173 drivers/iio/adc/ad7606_spi.c return st->bops->reg_write(st, addr, readval); readval 219 drivers/iio/adc/ad7768-1.c int readval, ret; readval 232 drivers/iio/adc/ad7768-1.c readval = ad7768_spi_reg_read(st, AD7768_REG_ADC_DATA, 3); readval 233 drivers/iio/adc/ad7768-1.c if (readval < 0) readval 234 drivers/iio/adc/ad7768-1.c return readval; readval 243 drivers/iio/adc/ad7768-1.c return readval; readval 249 drivers/iio/adc/ad7768-1.c unsigned int *readval) readval 255 drivers/iio/adc/ad7768-1.c if (readval) { readval 259 drivers/iio/adc/ad7768-1.c *readval = ret; readval 194 drivers/iio/adc/ad7949.c unsigned int *readval) readval 199 drivers/iio/adc/ad7949.c if (readval) readval 200 drivers/iio/adc/ad7949.c *readval = ad7949_adc->cfg; readval 153 drivers/iio/adc/aspeed_adc.c unsigned int *readval) readval 157 drivers/iio/adc/aspeed_adc.c if (!readval || reg % 4 || reg > ASPEED_REG_MAX) readval 160 drivers/iio/adc/aspeed_adc.c *readval = readl(data->base + reg); readval 663 drivers/iio/adc/exynos_adc.c unsigned *readval) readval 667 drivers/iio/adc/exynos_adc.c if (readval == NULL) readval 670 drivers/iio/adc/exynos_adc.c *readval = readl(info->regs + reg); readval 269 drivers/iio/adc/hi8435.c unsigned *readval) readval 275 drivers/iio/adc/hi8435.c if (readval != NULL) { readval 277 drivers/iio/adc/hi8435.c *readval = val; readval 394 drivers/iio/adc/imx7d_adc.c unsigned *readval) readval 398 drivers/iio/adc/imx7d_adc.c if (!readval || reg % 4 || reg > IMX7D_REG_ADC_ADC_CFG) readval 401 drivers/iio/adc/imx7d_adc.c *readval = readl(info->regs + reg); readval 874 drivers/iio/adc/ina2xx-adc.c unsigned reg, unsigned writeval, unsigned *readval) readval 878 drivers/iio/adc/ina2xx-adc.c if (!readval) readval 881 drivers/iio/adc/ina2xx-adc.c return regmap_read(chip->regmap, reg, readval); readval 307 drivers/iio/adc/max1027.c unsigned *readval) readval 312 drivers/iio/adc/max1027.c if (readval != NULL) readval 247 drivers/iio/adc/rcar-gyroadc.c unsigned int *readval) readval 252 drivers/iio/adc/rcar-gyroadc.c if (readval == NULL) readval 265 drivers/iio/adc/rcar-gyroadc.c *readval = readl(priv->regs + reg); readval 1310 drivers/iio/adc/stm32-adc.c unsigned *readval) readval 1322 drivers/iio/adc/stm32-adc.c if (!readval) readval 1325 drivers/iio/adc/stm32-adc.c *readval = stm32_adc_readl(adc, reg); readval 775 drivers/iio/adc/vf610_adc.c unsigned *readval) readval 779 drivers/iio/adc/vf610_adc.c if ((readval == NULL) || readval 783 drivers/iio/adc/vf610_adc.c *readval = readl(info->regs + reg); readval 40 drivers/iio/common/st_sensors/st_sensors_core.c unsigned *readval) readval 45 drivers/iio/common/st_sensors/st_sensors_core.c if (!readval) readval 48 drivers/iio/common/st_sensors/st_sensors_core.c err = regmap_read(sdata->regmap, reg, readval); readval 496 drivers/iio/dac/ad5758.c unsigned int *readval) readval 502 drivers/iio/dac/ad5758.c if (readval) { readval 509 drivers/iio/dac/ad5758.c *readval = ret; readval 132 drivers/iio/dac/stm32-dac.c unsigned *readval) readval 136 drivers/iio/dac/stm32-dac.c if (!readval) readval 139 drivers/iio/dac/stm32-dac.c return regmap_read(dac->common->regmap, reg, readval); readval 728 drivers/iio/frequency/ad9523.c unsigned int *readval) readval 734 drivers/iio/frequency/ad9523.c if (readval == NULL) { readval 741 drivers/iio/frequency/ad9523.c *readval = ret; readval 95 drivers/iio/frequency/adf4350.c unsigned *readval) readval 104 drivers/iio/frequency/adf4350.c if (readval == NULL) { readval 108 drivers/iio/frequency/adf4350.c *readval = st->regs_hw[reg]; readval 331 drivers/iio/frequency/adf4371.c unsigned int readval, reg, bit; readval 337 drivers/iio/frequency/adf4371.c ret = regmap_read(st->regmap, ADF4371_REG(0x7C), &readval); readval 341 drivers/iio/frequency/adf4371.c if (readval == 0x00) { readval 350 drivers/iio/frequency/adf4371.c ret = regmap_read(st->regmap, reg, &readval); readval 354 drivers/iio/frequency/adf4371.c val = !(readval & BIT(bit)); readval 375 drivers/iio/frequency/adf4371.c unsigned int bit, readval, reg; readval 394 drivers/iio/frequency/adf4371.c ret = regmap_read(st->regmap, reg, &readval); readval 398 drivers/iio/frequency/adf4371.c readval &= ~BIT(bit); readval 399 drivers/iio/frequency/adf4371.c readval |= (!power_down << bit); readval 401 drivers/iio/frequency/adf4371.c ret = regmap_write(st->regmap, reg, readval); readval 461 drivers/iio/frequency/adf4371.c unsigned int *readval) readval 465 drivers/iio/frequency/adf4371.c if (readval) readval 466 drivers/iio/frequency/adf4371.c return regmap_read(st->regmap, reg, readval); readval 223 drivers/iio/imu/adis.c unsigned int reg, unsigned int writeval, unsigned int *readval) readval 227 drivers/iio/imu/adis.c if (readval) { readval 232 drivers/iio/imu/adis.c *readval = val16; readval 82 drivers/iio/light/bh1780.c unsigned int *readval) readval 87 drivers/iio/light/bh1780.c if (!readval) readval 94 drivers/iio/light/bh1780.c *readval = ret; readval 271 drivers/media/i2c/ov2680.c u32 readval; readval 274 drivers/media/i2c/ov2680.c ret = ov2680_read_reg(sensor, reg, &readval); readval 278 drivers/media/i2c/ov2680.c readval &= ~mask; readval 280 drivers/media/i2c/ov2680.c val |= readval; readval 704 drivers/media/i2c/ov5640.c u8 readval; readval 707 drivers/media/i2c/ov5640.c ret = ov5640_read_reg(sensor, reg, &readval); readval 711 drivers/media/i2c/ov5640.c readval &= ~mask; readval 713 drivers/media/i2c/ov5640.c val |= readval; readval 95 drivers/net/can/sja1000/sja1000_isa.c u8 readval; readval 99 drivers/net/can/sja1000/sja1000_isa.c readval = inb(base + 1); readval 102 drivers/net/can/sja1000/sja1000_isa.c return readval; readval 2591 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c u32 readval = 0, readval2 = 0; readval 2597 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c readval = rtl_get_rfreg(hw, (enum radio_path)index, readval 2599 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c curvecount_val[2 * i + 1] = (readval & 0xfffe0) >> 5; readval 2604 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c curvecount_val[2 * i] = (((readval & 0x1F) << 10) | readval 5687 drivers/tty/synclink.c u32 readval; readval 5704 drivers/tty/synclink.c readval = *MiscCtrl; readval 5170 drivers/tty/synclinkmp.c u32 readval; readval 5181 drivers/tty/synclinkmp.c readval = *MiscCtrl; readval 295 include/linux/iio/common/st_sensors.h unsigned *readval); readval 456 include/linux/iio/iio.h unsigned *readval); readval 291 include/linux/iio/imu/adis.h unsigned int reg, unsigned int writeval, unsigned int *readval);