regl 383 drivers/hwmon/adt7411.c int ret, reg, regl, regh; regl 387 drivers/hwmon/adt7411.c regl = channel ? ADT7411_REG_EXT_TEMP_AIN14_LSB : regl 391 drivers/hwmon/adt7411.c ret = adt7411_read_10_bit(client, regl, regh, 0); regl 512 drivers/hwmon/lm90.c static int lm90_read16(struct i2c_client *client, u8 regh, u8 regl) regl 532 drivers/hwmon/lm90.c l = lm90_read_reg(client, regl); regl 539 drivers/hwmon/lm90.c l = lm90_read_reg(client, regl); regl 164 drivers/hwmon/lm95245.c int ret, regl, regh, regvall, regvalh; regl 168 drivers/hwmon/lm95245.c regl = channel ? LM95245_REG_R_REMOTE_TEMPL_S : regl 172 drivers/hwmon/lm95245.c ret = regmap_read(regmap, regl, ®vall); regl 39 drivers/power/supply/rt5033_battery.c unsigned int regh, regl; regl 46 drivers/power/supply/rt5033_battery.c regl = RT5033_FUEL_REG_VBAT_L; regl 50 drivers/power/supply/rt5033_battery.c regl = RT5033_FUEL_REG_AVG_VOLT_L; regl 54 drivers/power/supply/rt5033_battery.c regl = RT5033_FUEL_REG_OCV_L; regl 61 drivers/power/supply/rt5033_battery.c regmap_read(battery->regmap, regl, &lsb); regl 110 drivers/regulator/da9062-regulator.c struct da9062_regulator *regl = rdev_get_drvdata(rdev); regl 127 drivers/regulator/da9062-regulator.c return regmap_field_write(regl->mode, val); regl 138 drivers/regulator/da9062-regulator.c struct da9062_regulator *regl = rdev_get_drvdata(rdev); regl 142 drivers/regulator/da9062-regulator.c ret = regmap_field_read(regl->mode, &val); regl 160 drivers/regulator/da9062-regulator.c ret = regmap_field_read(regl->sleep, &val); regl 179 drivers/regulator/da9062-regulator.c struct da9062_regulator *regl = rdev_get_drvdata(rdev); regl 193 drivers/regulator/da9062-regulator.c return regmap_field_write(regl->sleep, val); regl 198 drivers/regulator/da9062-regulator.c struct da9062_regulator *regl = rdev_get_drvdata(rdev); regl 201 drivers/regulator/da9062-regulator.c ret = regmap_field_read(regl->sleep, &val); regl 247 drivers/regulator/da9062-regulator.c struct da9062_regulator *regl = rdev_get_drvdata(rdev); regl 248 drivers/regulator/da9062-regulator.c const struct da9062_regulator_info *rinfo = regl->info; regl 257 drivers/regulator/da9062-regulator.c ret = regmap_update_bits(regl->hw->regmap, rinfo->suspend_vsel_reg, regl 265 drivers/regulator/da9062-regulator.c struct da9062_regulator *regl = rdev_get_drvdata(rdev); regl 267 drivers/regulator/da9062-regulator.c return regmap_field_write(regl->suspend, 1); regl 272 drivers/regulator/da9062-regulator.c struct da9062_regulator *regl = rdev_get_drvdata(rdev); regl 274 drivers/regulator/da9062-regulator.c return regmap_field_write(regl->suspend, 0); regl 280 drivers/regulator/da9062-regulator.c struct da9062_regulator *regl = rdev_get_drvdata(rdev); regl 297 drivers/regulator/da9062-regulator.c return regmap_field_write(regl->mode, val); regl 303 drivers/regulator/da9062-regulator.c struct da9062_regulator *regl = rdev_get_drvdata(rdev); regl 317 drivers/regulator/da9062-regulator.c return regmap_field_write(regl->suspend_sleep, val); regl 883 drivers/regulator/da9062-regulator.c struct da9062_regulator *regl; regl 895 drivers/regulator/da9062-regulator.c regl = ®ulators->regulator[i]; regl 896 drivers/regulator/da9062-regulator.c if (regl->info->oc_event.reg != DA9062AA_STATUS_D) regl 899 drivers/regulator/da9062-regulator.c if (BIT(regl->info->oc_event.lsb) & bits) { regl 900 drivers/regulator/da9062-regulator.c regulator_lock(regl->rdev); regl 901 drivers/regulator/da9062-regulator.c regulator_notifier_call_chain(regl->rdev, regl 903 drivers/regulator/da9062-regulator.c regulator_unlock(regl->rdev); regl 916 drivers/regulator/da9062-regulator.c struct da9062_regulator *regl; regl 948 drivers/regulator/da9062-regulator.c regl = ®ulators->regulator[n]; regl 949 drivers/regulator/da9062-regulator.c regl->hw = chip; regl 950 drivers/regulator/da9062-regulator.c regl->info = &rinfo[n]; regl 951 drivers/regulator/da9062-regulator.c regl->desc = regl->info->desc; regl 952 drivers/regulator/da9062-regulator.c regl->desc.type = REGULATOR_VOLTAGE; regl 953 drivers/regulator/da9062-regulator.c regl->desc.owner = THIS_MODULE; regl 955 drivers/regulator/da9062-regulator.c if (regl->info->mode.reg) { regl 956 drivers/regulator/da9062-regulator.c regl->mode = devm_regmap_field_alloc( regl 959 drivers/regulator/da9062-regulator.c regl->info->mode); regl 960 drivers/regulator/da9062-regulator.c if (IS_ERR(regl->mode)) regl 961 drivers/regulator/da9062-regulator.c return PTR_ERR(regl->mode); regl 964 drivers/regulator/da9062-regulator.c if (regl->info->suspend.reg) { regl 965 drivers/regulator/da9062-regulator.c regl->suspend = devm_regmap_field_alloc( regl 968 drivers/regulator/da9062-regulator.c regl->info->suspend); regl 969 drivers/regulator/da9062-regulator.c if (IS_ERR(regl->suspend)) regl 970 drivers/regulator/da9062-regulator.c return PTR_ERR(regl->suspend); regl 973 drivers/regulator/da9062-regulator.c if (regl->info->sleep.reg) { regl 974 drivers/regulator/da9062-regulator.c regl->sleep = devm_regmap_field_alloc( regl 977 drivers/regulator/da9062-regulator.c regl->info->sleep); regl 978 drivers/regulator/da9062-regulator.c if (IS_ERR(regl->sleep)) regl 979 drivers/regulator/da9062-regulator.c return PTR_ERR(regl->sleep); regl 982 drivers/regulator/da9062-regulator.c if (regl->info->suspend_sleep.reg) { regl 983 drivers/regulator/da9062-regulator.c regl->suspend_sleep = devm_regmap_field_alloc( regl 986 drivers/regulator/da9062-regulator.c regl->info->suspend_sleep); regl 987 drivers/regulator/da9062-regulator.c if (IS_ERR(regl->suspend_sleep)) regl 988 drivers/regulator/da9062-regulator.c return PTR_ERR(regl->suspend_sleep); regl 994 drivers/regulator/da9062-regulator.c config.driver_data = regl; regl 997 drivers/regulator/da9062-regulator.c regl->rdev = devm_regulator_register(&pdev->dev, ®l->desc, regl 999 drivers/regulator/da9062-regulator.c if (IS_ERR(regl->rdev)) { regl 1002 drivers/regulator/da9062-regulator.c regl->desc.name); regl 1003 drivers/regulator/da9062-regulator.c return PTR_ERR(regl->rdev); regl 198 drivers/regulator/da9063-regulator.c struct da9063_regulator *regl = rdev_get_drvdata(rdev); regl 215 drivers/regulator/da9063-regulator.c return regmap_field_write(regl->mode, val); regl 226 drivers/regulator/da9063-regulator.c struct da9063_regulator *regl = rdev_get_drvdata(rdev); regl 231 drivers/regulator/da9063-regulator.c ret = regmap_field_read(regl->mode, &val); regl 250 drivers/regulator/da9063-regulator.c ret = regmap_field_read(regl->suspend, &val); regl 256 drivers/regulator/da9063-regulator.c field = regl->suspend_sleep; regl 258 drivers/regulator/da9063-regulator.c field = regl->sleep; regl 279 drivers/regulator/da9063-regulator.c struct da9063_regulator *regl = rdev_get_drvdata(rdev); regl 293 drivers/regulator/da9063-regulator.c return regmap_field_write(regl->sleep, val); regl 298 drivers/regulator/da9063-regulator.c struct da9063_regulator *regl = rdev_get_drvdata(rdev); regl 303 drivers/regulator/da9063-regulator.c ret = regmap_field_read(regl->suspend, &val); regl 309 drivers/regulator/da9063-regulator.c field = regl->suspend_sleep; regl 311 drivers/regulator/da9063-regulator.c field = regl->sleep; regl 359 drivers/regulator/da9063-regulator.c struct da9063_regulator *regl = rdev_get_drvdata(rdev); regl 360 drivers/regulator/da9063-regulator.c const struct da9063_regulator_info *rinfo = regl->info; regl 369 drivers/regulator/da9063-regulator.c ret = regmap_update_bits(regl->hw->regmap, rinfo->suspend_vsel_reg, regl 377 drivers/regulator/da9063-regulator.c struct da9063_regulator *regl = rdev_get_drvdata(rdev); regl 379 drivers/regulator/da9063-regulator.c return regmap_field_write(regl->suspend, 1); regl 384 drivers/regulator/da9063-regulator.c struct da9063_regulator *regl = rdev_get_drvdata(rdev); regl 386 drivers/regulator/da9063-regulator.c return regmap_field_write(regl->suspend, 0); regl 391 drivers/regulator/da9063-regulator.c struct da9063_regulator *regl = rdev_get_drvdata(rdev); regl 408 drivers/regulator/da9063-regulator.c return regmap_field_write(regl->mode, val); regl 413 drivers/regulator/da9063-regulator.c struct da9063_regulator *regl = rdev_get_drvdata(rdev); regl 427 drivers/regulator/da9063-regulator.c return regmap_field_write(regl->suspend_sleep, val); regl 598 drivers/regulator/da9063-regulator.c struct da9063_regulator *regl; regl 606 drivers/regulator/da9063-regulator.c regl = ®ulators->regulator[i]; regl 607 drivers/regulator/da9063-regulator.c if (regl->info->oc_event.reg != DA9063_REG_STATUS_D) regl 610 drivers/regulator/da9063-regulator.c if (BIT(regl->info->oc_event.lsb) & bits) { regl 611 drivers/regulator/da9063-regulator.c regulator_lock(regl->rdev); regl 612 drivers/regulator/da9063-regulator.c regulator_notifier_call_chain(regl->rdev, regl 614 drivers/regulator/da9063-regulator.c regulator_unlock(regl->rdev); regl 722 drivers/regulator/da9063-regulator.c struct da9063_regulator *regl; regl 809 drivers/regulator/da9063-regulator.c regl = ®ulators->regulator[n]; regl 810 drivers/regulator/da9063-regulator.c regl->hw = da9063; regl 811 drivers/regulator/da9063-regulator.c regl->info = &model->regulator_info[id]; regl 812 drivers/regulator/da9063-regulator.c regl->desc = regl->info->desc; regl 813 drivers/regulator/da9063-regulator.c regl->desc.type = REGULATOR_VOLTAGE; regl 814 drivers/regulator/da9063-regulator.c regl->desc.owner = THIS_MODULE; regl 816 drivers/regulator/da9063-regulator.c if (regl->info->mode.reg) { regl 817 drivers/regulator/da9063-regulator.c regl->mode = devm_regmap_field_alloc(&pdev->dev, regl 818 drivers/regulator/da9063-regulator.c da9063->regmap, regl->info->mode); regl 819 drivers/regulator/da9063-regulator.c if (IS_ERR(regl->mode)) regl 820 drivers/regulator/da9063-regulator.c return PTR_ERR(regl->mode); regl 823 drivers/regulator/da9063-regulator.c if (regl->info->suspend.reg) { regl 824 drivers/regulator/da9063-regulator.c regl->suspend = devm_regmap_field_alloc(&pdev->dev, regl 825 drivers/regulator/da9063-regulator.c da9063->regmap, regl->info->suspend); regl 826 drivers/regulator/da9063-regulator.c if (IS_ERR(regl->suspend)) regl 827 drivers/regulator/da9063-regulator.c return PTR_ERR(regl->suspend); regl 830 drivers/regulator/da9063-regulator.c if (regl->info->sleep.reg) { regl 831 drivers/regulator/da9063-regulator.c regl->sleep = devm_regmap_field_alloc(&pdev->dev, regl 832 drivers/regulator/da9063-regulator.c da9063->regmap, regl->info->sleep); regl 833 drivers/regulator/da9063-regulator.c if (IS_ERR(regl->sleep)) regl 834 drivers/regulator/da9063-regulator.c return PTR_ERR(regl->sleep); regl 837 drivers/regulator/da9063-regulator.c if (regl->info->suspend_sleep.reg) { regl 838 drivers/regulator/da9063-regulator.c regl->suspend_sleep = devm_regmap_field_alloc(&pdev->dev, regl 839 drivers/regulator/da9063-regulator.c da9063->regmap, regl->info->suspend_sleep); regl 840 drivers/regulator/da9063-regulator.c if (IS_ERR(regl->suspend_sleep)) regl 841 drivers/regulator/da9063-regulator.c return PTR_ERR(regl->suspend_sleep); regl 848 drivers/regulator/da9063-regulator.c config.driver_data = regl; regl 852 drivers/regulator/da9063-regulator.c regl->rdev = devm_regulator_register(&pdev->dev, ®l->desc, regl 854 drivers/regulator/da9063-regulator.c if (IS_ERR(regl->rdev)) { regl 857 drivers/regulator/da9063-regulator.c regl->desc.name); regl 858 drivers/regulator/da9063-regulator.c return PTR_ERR(regl->rdev); regl 525 drivers/scsi/3w-sas.c u32 regh, regl; regl 535 drivers/scsi/3w-sas.c regl = readl(TWL_HOBQPL_REG_ADDR(tw_dev)); regl 536 drivers/scsi/3w-sas.c mfa = ((u64)regh << 32) | regl; regl 1126 drivers/scsi/3w-sas.c u32 reg, regl, regh, response, request_id = 0; regl 1157 drivers/scsi/3w-sas.c regl = readl(TWL_HOBQPL_REG_ADDR(tw_dev)); regl 1158 drivers/scsi/3w-sas.c mfa = ((u64)regh << 32) | regl;