Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/media/test-drivers/vimc/
Dvimc-sensor.c99 struct vimc_sensor_device *vsensor = in vimc_sensor_get_fmt() local
104 vsensor->mbus_format; in vimc_sensor_get_fmt()
109 static void vimc_sensor_tpg_s_format(struct vimc_sensor_device *vsensor) in vimc_sensor_tpg_s_format() argument
112 vimc_pix_map_by_code(vsensor->mbus_format.code); in vimc_sensor_tpg_s_format()
114 tpg_reset_source(&vsensor->tpg, vsensor->mbus_format.width, in vimc_sensor_tpg_s_format()
115 vsensor->mbus_format.height, vsensor->mbus_format.field); in vimc_sensor_tpg_s_format()
116 tpg_s_bytesperline(&vsensor->tpg, 0, vsensor->mbus_format.width * vpix->bpp); in vimc_sensor_tpg_s_format()
117 tpg_s_buf_height(&vsensor->tpg, vsensor->mbus_format.height); in vimc_sensor_tpg_s_format()
118 tpg_s_fourcc(&vsensor->tpg, vpix->pixelformat); in vimc_sensor_tpg_s_format()
120 tpg_s_field(&vsensor->tpg, vsensor->mbus_format.field, false); in vimc_sensor_tpg_s_format()
[all …]