/linux/arch/um/drivers/ |
H A D | stdio_console.c | 73 static struct line vts[MAX_TTYS]; variable 77 return line_config(vts, ARRAY_SIZE(vts), str, &opts, error_out); in con_config() 82 return line_get_config(dev, vts, ARRAY_SIZE(vts), str, size, error_out); in con_get_config() 87 return line_remove(vts, ARRAY_SIZE(vts), n, error_out); in con_remove() 95 return line_install(driver, tty, &vts[tty->index]); in con_install() 115 struct line *line = &vts[console->index]; in uml_console_write() 131 struct line *line = &vts[co->index]; in uml_console_setup() 152 err = register_lines(&driver, &console_ops, vts, in stdio_init() 153 ARRAY_SIZE(vts)); in stdio_init() 170 if (setup_one_line(vts, i, s, &opts, &error)) in stdio_init() [all …]
|
/linux/drivers/thermal/mediatek/ |
H A D | auxadc_thermal.c | 345 s32 vts[MAX_NUM_VTS]; member 721 tmp *= raw - mt->vts[sensno] - 3350; in raw_to_mcelsius_v1() 742 format_1 = mt->vts[VTS2] + 3105 - g_oe; in raw_to_mcelsius_v2() 768 tmp *= raw - mt->vts[sensno] - 2900; in raw_to_mcelsius_v3() 1004 mt->vts[VTS1] = CALIB_BUF0_VTS_TS1_V1(buf[0]); in mtk_thermal_extract_efuse_v1() 1007 mt->vts[VTS2] = CALIB_BUF0_VTS_TS2_V1(buf[0]); in mtk_thermal_extract_efuse_v1() 1010 mt->vts[VTS3] = CALIB_BUF1_VTS_TS3_V1(buf[1]); in mtk_thermal_extract_efuse_v1() 1013 mt->vts[VTS4] = CALIB_BUF2_VTS_TS4_V1(buf[2]); in mtk_thermal_extract_efuse_v1() 1016 mt->vts[VTS5] = CALIB_BUF2_VTS_TS5_V1(buf[2]); in mtk_thermal_extract_efuse_v1() 1019 mt->vts[VTSABB] = in mtk_thermal_extract_efuse_v1() [all …]
|
/linux/drivers/media/i2c/ |
H A D | ov5647.c | 94 int vts; member 524 .vts = 0x7b0, 545 .vts = 0x450, 566 .vts = 0x59b, 587 .vts = 0x1f8, 1020 vblank = mode->vts - mode->format.height; in ov5647_set_pad_fmt() 1026 exposure_max = mode->vts - 4; in ov5647_set_pad_fmt() 1304 exposure_max = sensor->mode->vts - 4; in ov5647_init_controls() 1333 sensor->mode->vts - in ov5647_init_controls()
|
H A D | ov7251.c | 78 u32 vts; member 646 .vts = 1724, 659 .vts = 860, 672 .vts = 572, 1017 u8 vts[2]; in ov7251_vts_configure() local 1019 vts[0] = ((ov7251->current_mode->height + vblank) & 0xff00) >> 8; in ov7251_vts_configure() 1020 vts[1] = ((ov7251->current_mode->height + vblank) & 0x00ff); in ov7251_vts_configure() 1022 return ov7251_write_seq_regs(ov7251, OV7251_TIMING_VTS_REG, vts, 2); in ov7251_vts_configure() 1255 vblank_def = new_mode->vts - new_mode->height; in ov7251_set_format() 1606 vblank_def = ov7251->current_mode->vts - ov7251->current_mode->height; in ov7251_init_ctrls()
|
H A D | ov5693.c | 154 unsigned int vts; member 456 u16 vts = ov5693->mode.format.height + vblank; in ov5693_vts_configure() local 459 cci_write(ov5693->regmap, OV5693_TIMING_VTS_REG, vts, &ret); in ov5693_vts_configure() 860 ov5693->mode.vts = __ov5693_calc_vts(fmt->height); in ov5693_set_fmt() 865 1, ov5693->mode.vts - fmt->height); in ov5693_set_fmt() 867 ov5693->mode.vts - fmt->height); in ov5693_set_fmt() 873 exposure_max = ov5693->mode.vts - OV5693_INTEGRATION_TIME_MARGIN; in ov5693_set_fmt() 1109 exposure_max = ov5693->mode.vts - OV5693_INTEGRATION_TIME_MARGIN; in ov5693_init_controls() 1146 vblank_def = ov5693->mode.vts - ov5693->mode.format.height; in ov5693_init_controls() 1325 ov5693->mode.vts = __ov5693_calc_vts(ov5693->mode.format.height); in ov5693_probe()
|
H A D | ov8865.c | 619 unsigned int vts; member 971 .vts = 2470, 1022 .vts = 2470, 1073 .vts = 1248, 1128 .vts = 640, 1950 ret = ov8865_write(sensor, OV8865_VTS_H_REG, OV8865_VTS_H(mode->vts)); in ov8865_mode_configure() 1954 ret = ov8865_write(sensor, OV8865_VTS_L_REG, OV8865_VTS_L(mode->vts)); in ov8865_mode_configure() 2227 u16 vts = sensor->state.mode->output_size_y + vblank; in ov8865_vts_configure() local 2230 ret = ov8865_write(sensor, OV8865_VTS_H_REG, OV8865_VTS_H(vts)); in ov8865_vts_configure() 2234 return ov8865_write(sensor, OV8865_VTS_L_REG, OV8865_VTS_L(vts)); in ov8865_vts_configure() [all …]
|
H A D | ov5648.c | 599 unsigned int vts; member 721 .vts = 1984, 756 .vts = 1984, 791 .vts = 1984, 826 .vts = 1496, 864 .vts = 1496, 902 .vts = 984, 1431 ret = ov5648_write(sensor, OV5648_VTS_H_REG, OV5648_VTS_H(mode->vts)); in ov5648_mode_configure() 1435 ret = ov5648_write(sensor, OV5648_VTS_L_REG, OV5648_VTS_L(mode->vts)); in ov5648_mode_configure()
|
H A D | ov02a10.c | 618 u32 vts = val + ov02a10->cur_mode->height - OV02A10_BASE_LINES; in ov02a10_set_vblank() local 626 vts >> OV02A10_VTS_SHIFT); in ov02a10_set_vblank() 630 ret = i2c_smbus_write_byte_data(client, OV02A10_REG_VTS_L, vts); in ov02a10_set_vblank()
|