Home
last modified time | relevance | path

Searched refs:reg_val_h (Results 1 – 2 of 2) sorted by relevance

/drivers/staging/media/atomisp/i2c/
Datomisp-gc2235.c251 u16 reg_val, reg_val_h; in gc2235_get_intg_factor() local
276 GC2235_H_CROP_START_H, &reg_val_h); in gc2235_get_intg_factor()
282 buf->crop_horizontal_start = (reg_val_h << 8) | reg_val; in gc2235_get_intg_factor()
285 GC2235_V_CROP_START_H, &reg_val_h); in gc2235_get_intg_factor()
291 buf->crop_vertical_start = (reg_val_h << 8) | reg_val; in gc2235_get_intg_factor()
294 GC2235_H_OUTSIZE_H, &reg_val_h); in gc2235_get_intg_factor()
299 buf->output_width = (reg_val_h << 8) | reg_val; in gc2235_get_intg_factor()
302 GC2235_V_OUTSIZE_H, &reg_val_h); in gc2235_get_intg_factor()
307 buf->output_height = (reg_val_h << 8) | reg_val; in gc2235_get_intg_factor()
315 GC2235_HB_H, &reg_val_h); in gc2235_get_intg_factor()
[all …]
/drivers/iio/accel/
Dadxl372.c501 unsigned int reg_val_h, reg_val_l, res, scale_factor; in adxl372_set_inactivity_time_ms() local
514 reg_val_h = (res >> 8) & 0xFF; in adxl372_set_inactivity_time_ms()
517 ret = regmap_write(st->regmap, ADXL372_TIME_INACT_H, reg_val_h); in adxl372_set_inactivity_time_ms()