Home
last modified time | relevance | path

Searched refs:vts (Results 1 – 12 of 12) sorted by relevance

/linux-6.1.9/arch/um/drivers/
Dstdio_console.c73 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-6.1.9/drivers/thermal/
Dmtk_thermal.c291 s32 vts[MAX_NUM_VTS]; member
570 tmp *= raw - mt->vts[sensno] - 3350; in raw_to_mcelsius_v1()
591 format_1 = mt->vts[VTS2] + 3105 - g_oe; in raw_to_mcelsius_v2()
840 mt->vts[VTS1] = CALIB_BUF0_VTS_TS1_V1(buf[0]); in mtk_thermal_extract_efuse_v1()
843 mt->vts[VTS2] = CALIB_BUF0_VTS_TS2_V1(buf[0]); in mtk_thermal_extract_efuse_v1()
846 mt->vts[VTS3] = CALIB_BUF1_VTS_TS3_V1(buf[1]); in mtk_thermal_extract_efuse_v1()
849 mt->vts[VTS4] = CALIB_BUF2_VTS_TS4_V1(buf[2]); in mtk_thermal_extract_efuse_v1()
852 mt->vts[VTS5] = CALIB_BUF2_VTS_TS5_V1(buf[2]); in mtk_thermal_extract_efuse_v1()
855 mt->vts[VTSABB] = in mtk_thermal_extract_efuse_v1()
882 mt->vts[VTS1] = CALIB_BUF1_VTS_TS1_V2(buf[1]); in mtk_thermal_extract_efuse_v2()
[all …]
/linux-6.1.9/drivers/media/i2c/
Dov5647.c93 int vts; member
510 .vts = 0x7b0,
531 .vts = 0x450,
552 .vts = 0x59b,
573 .vts = 0x1f8,
1005 vblank = mode->vts - mode->format.height; in ov5647_set_pad_fmt()
1011 exposure_max = mode->vts - 4; in ov5647_set_pad_fmt()
1285 exposure_max = sensor->mode->vts - 4; in ov5647_init_controls()
1314 sensor->mode->vts - in ov5647_init_controls()
Dov5693.c169 unsigned int vts; member
585 u16 vts = ov5693->mode.format.height + vblank; in ov5693_vts_configure() local
588 ov5693_write_reg(ov5693, OV5693_TIMING_VTS_REG, vts, &ret); in ov5693_vts_configure()
993 ov5693->mode.vts = __ov5693_calc_vts(fmt->height); in ov5693_set_fmt()
998 1, ov5693->mode.vts - fmt->height); in ov5693_set_fmt()
1000 ov5693->mode.vts - fmt->height); in ov5693_set_fmt()
1006 exposure_max = ov5693->mode.vts - OV5693_INTEGRATION_TIME_MARGIN; in ov5693_set_fmt()
1236 exposure_max = ov5693->mode.vts - OV5693_INTEGRATION_TIME_MARGIN; in ov5693_init_controls()
1273 vblank_def = ov5693->mode.vts - ov5693->mode.format.height; in ov5693_init_controls()
1449 ov5693->mode.vts = __ov5693_calc_vts(ov5693->mode.format.height); in ov5693_probe()
Dov7251.c78 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()
1585 vblank_def = ov7251->current_mode->vts - ov7251->current_mode->height; in ov7251_init_ctrls()
Dov8865.c619 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 …]
Dov5648.c599 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()
Dov02a10.c620 u32 vts = val + ov02a10->cur_mode->height - OV02A10_BASE_LINES; in ov02a10_set_vblank() local
628 vts >> OV02A10_VTS_SHIFT); in ov02a10_set_vblank()
632 ret = i2c_smbus_write_byte_data(client, OV02A10_REG_VTS_L, vts); in ov02a10_set_vblank()
Dov5640.c1925 u16 vts; in ov5640_get_vts() local
1928 ret = ov5640_read_reg16(sensor, OV5640_REG_TIMING_VTS, &vts); in ov5640_get_vts()
1931 return vts; in ov5640_get_vts()
1934 static int ov5640_set_vts(struct ov5640_dev *sensor, int vts) in ov5640_set_vts() argument
1936 return ov5640_write_reg16(sensor, OV5640_REG_TIMING_VTS, vts); in ov5640_set_vts()
/linux-6.1.9/drivers/staging/media/atomisp/i2c/
Datomisp-ov2680.c247 u16 vts; in __ov2680_set_exposure() local
254 vts = dev->res->lines_per_frame; in __ov2680_set_exposure()
266 if (coarse_itg > vts - OV2680_INTEGRATION_TIME_MARGIN) in __ov2680_set_exposure()
267 vts = (u16)coarse_itg + OV2680_INTEGRATION_TIME_MARGIN; in __ov2680_set_exposure()
269 ret = ov2680_write_reg(client, 2, OV2680_TIMING_VTS_H, vts); in __ov2680_set_exposure()
827 int vts, ret = 0; in ov2680_set_fmt() local
873 vts = dev->res->lines_per_frame; in ov2680_set_fmt()
876 if (dev->exposure > vts - OV2680_INTEGRATION_TIME_MARGIN) in ov2680_set_fmt()
877 vts = dev->exposure + OV2680_INTEGRATION_TIME_MARGIN; in ov2680_set_fmt()
879 ret = ov2680_write_reg(client, 2, OV2680_TIMING_VTS_H, vts); in ov2680_set_fmt()
Datomisp-ov2722.c398 u16 hts, vts; in __ov2722_set_exposure() local
409 vts = dev->lines_per_frame; in __ov2722_set_exposure()
411 if ((coarse_itg + OV2722_COARSE_INTG_TIME_MAX_MARGIN) > vts) in __ov2722_set_exposure()
412 vts = coarse_itg + OV2722_COARSE_INTG_TIME_MAX_MARGIN; in __ov2722_set_exposure()
418 OV2722_VTS_H, vts); in __ov2722_set_exposure()
/linux-6.1.9/drivers/staging/media/atomisp/i2c/ov5693/
Datomisp-ov5693.c541 u16 vts, hts; in __ov5693_set_exposure() local
545 vts = ov5693_res[dev->fmt_idx].lines_per_frame; in __ov5693_set_exposure()
580 if (coarse_itg > vts - OV5693_INTEGRATION_TIME_MARGIN) in __ov5693_set_exposure()
581 vts = (u16)coarse_itg + OV5693_INTEGRATION_TIME_MARGIN; in __ov5693_set_exposure()
584 OV5693_TIMING_VTS_H, (vts >> 8) & 0xFF); in __ov5693_set_exposure()
592 OV5693_TIMING_VTS_L, vts & 0xFF); in __ov5693_set_exposure()