Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/media/common/saa7146/
Dsaa7146_hlp.c219 u32 yacm = 0, ysci = 0, yacl = 0, ypo = 0, ype = 0; in calculate_v_scale_registers() local
255 ysci = ((1024 * in_y) / (out_y + 1)) - 1024; in calculate_v_scale_registers()
257 ysci = 0; in calculate_v_scale_registers()
262 ype = ysci / 16; in calculate_v_scale_registers()
263 ypo = ype + (ysci / 64); in calculate_v_scale_registers()
269 ysci = (((10 * 1024 * (in_y - out_y - 1)) / in_y) + 9) / 10; in calculate_v_scale_registers()
272 ypo = ype = ((ysci + 15) / 16); in calculate_v_scale_registers()
279 if ( ysci < 512) { in calculate_v_scale_registers()
282 yacl = ( ysci / (1024 - ysci) ); in calculate_v_scale_registers()
300 *hps_v_scale |= (yacm << 31) | (ysci << 21) | (yacl << 15) | (ypo << 8 ) | (ype << 1); in calculate_v_scale_registers()