/drivers/power/supply/ |
D | rt5033_battery.c | 61 unsigned int regh, regl; in rt5033_battery_get_watt_prop() local 67 regh = RT5033_FUEL_REG_VBAT_H; in rt5033_battery_get_watt_prop() 71 regh = RT5033_FUEL_REG_AVG_VOLT_H; in rt5033_battery_get_watt_prop() 75 regh = RT5033_FUEL_REG_OCV_H; in rt5033_battery_get_watt_prop() 82 regmap_read(battery->regmap, regh, &msb); in rt5033_battery_get_watt_prop()
|
/drivers/regulator/ |
D | bd71815-regulator.c | 297 int ret, regh, regl, val; in bd7181x_buck12_get_voltage_sel() local 299 regh = BD71815_REG_BUCK1_VOLT_H + rid * 0x2; in bd7181x_buck12_get_voltage_sel() 302 ret = regmap_read(rdev->regmap, regh, &val); in bd7181x_buck12_get_voltage_sel() 329 int ret, val, reg, regh, regl; in bd7181x_buck12_set_voltage_sel() local 331 regh = BD71815_REG_BUCK1_VOLT_H + rid*0x2; in bd7181x_buck12_set_voltage_sel() 334 ret = regmap_read(rdev->regmap, regh, &val); in bd7181x_buck12_set_voltage_sel() 344 return regmap_update_bits(rdev->regmap, regh, BD71815_VOLT_MASK, in bd7181x_buck12_set_voltage_sel() 351 reg = regh; in bd7181x_buck12_set_voltage_sel() 358 return regmap_update_bits(rdev->regmap, regh, BD71815_BUCK_DVSSEL, in bd7181x_buck12_set_voltage_sel()
|
/drivers/hwmon/ |
D | lm95245.c | 164 int ret, regl, regh, regvall, regvalh; in lm95245_read_temp() local 170 regh = channel ? LM95245_REG_R_REMOTE_TEMPH_S : in lm95245_read_temp() 175 ret = regmap_read(regmap, regh, ®valh); in lm95245_read_temp() 206 regh = channel ? LM95245_REG_RW_REMOTE_TCRIT_LIMIT : in lm95245_read_temp() 208 ret = regmap_read(regmap, regh, ®valh); in lm95245_read_temp() 225 regh = channel ? LM95245_REG_RW_REMOTE_TCRIT_LIMIT : in lm95245_read_temp() 227 ret = regmap_read(regmap, regh, ®valh); in lm95245_read_temp()
|
D | adt7411.c | 383 int ret, reg, regl, regh; in adt7411_read_temp() local 389 regh = channel ? ADT7411_REG_EXT_TEMP_AIN1_MSB : in adt7411_read_temp() 391 ret = adt7411_read_10_bit(client, regl, regh, 0); in adt7411_read_temp()
|
D | lm90.c | 794 static int lm90_write16(struct i2c_client *client, u8 regh, u8 regl, u16 val) in lm90_write16() argument 798 ret = lm90_write_reg(client, regh, val >> 8); in lm90_write16() 804 static int lm90_read16(struct i2c_client *client, u8 regh, u8 regl, in lm90_read16() argument 809 oldh = lm90_read_reg(client, regh); in lm90_read16() 836 newh = lm90_read_reg(client, regh); in lm90_read16() 1398 u8 regh = regs[index]; in lm90_set_temp() local 1422 err = lm90_write16(client, regh, regl, data->temp[index]); in lm90_set_temp()
|
/drivers/net/ethernet/intel/igc/ |
D | igc_ptp.c | 815 regval |= (u64)rd32(tstamp->regh) << 32; in igc_ptp_tx_hwtstamp() 1055 tstamp->regh = IGC_TXSTMPH_0; in igc_ptp_init() 1061 tstamp->regh = IGC_TXSTMPH_1; in igc_ptp_init() 1067 tstamp->regh = IGC_TXSTMPH_2; in igc_ptp_init() 1073 tstamp->regh = IGC_TXSTMPH_3; in igc_ptp_init()
|
D | igc.h | 80 u32 regh; /* which TXSTMPH_{X} register should be used */ member
|
/drivers/scsi/ |
D | 3w-sas.c | 524 u32 regh, regl; in twl_poll_response() local 533 regh = readl(TWL_HOBQPH_REG_ADDR(tw_dev)); in twl_poll_response() 535 mfa = ((u64)regh << 32) | regl; in twl_poll_response() 1124 u32 reg, regl, regh, response, request_id = 0; in twl_interrupt() local 1154 regh = readl(TWL_HOBQPH_REG_ADDR(tw_dev)); in twl_interrupt() 1156 mfa = ((u64)regh << 32) | regl; in twl_interrupt()
|