Searched refs:xpsc (Results 1 - 3 of 3) sorted by relevance

/linux-4.4.14/drivers/media/common/saa7146/
H A Dsaa7146_hlp.c71 u32 dcgx = 0, xpsc = 0, xacm = 0, cxy = 0, cxuv = 0; calculate_h_scale_registers() local
92 xpsc = in_x / out_x; calculate_h_scale_registers()
96 xpsc = 1; calculate_h_scale_registers()
106 while (in_x / xpsc >= 384 ) calculate_h_scale_registers()
107 xpsc++; calculate_h_scale_registers()
112 while ( in_x / xpsc >= 768 ) calculate_h_scale_registers()
113 xpsc++; calculate_h_scale_registers()
117 if ( xpsc > 64 ) calculate_h_scale_registers()
118 xpsc = 64; calculate_h_scale_registers()
124 cxy = hps_h_coeff_tab[( (xpsc - 1) < 63 ? (xpsc - 1) : 63 )].hps_coeff; calculate_h_scale_registers()
130 if ( (in_x == out_x) && ( 1 == xpsc ) ) calculate_h_scale_registers()
133 xsci = ( (1024 * in_x) / (out_x * xpsc) ) + xpsc; calculate_h_scale_registers()
146 if( 1 == xpsc ) { calculate_h_scale_registers()
153 h_atten = hps_h_coeff_tab[( (xpsc - 1) < 63 ? (xpsc - 1) : 63 )].weight_sum; calculate_h_scale_registers()
184 *hps_h_prescale |= (dcgx << 27) | ((xpsc-1) << 18) | (xacm << 17) | (cxy << 8) | (cxuv << 0); calculate_h_scale_registers()
/linux-4.4.14/drivers/media/i2c/
H A Dsaa717x.c823 int xpsc; set_h_prescale() member in struct:__anon5942
846 if (vals[i].xpsc == prescale) set_h_prescale()
852 saa717x_write(sd, 0x60 + task_shift, vals[i].xpsc); set_h_prescale()
/linux-4.4.14/drivers/media/pci/saa7134/
H A Dsaa7134-video.c491 int xpsc; set_h_prescale() member in struct:__anon5983
513 if (vals[i].xpsc == prescale) set_h_prescale()
518 saa_writeb(SAA7134_H_PRESCALE(task), vals[i].xpsc); set_h_prescale()

Completed in 199 milliseconds