File tree Expand file tree Collapse file tree
drivers/media/platform/davinci Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ static struct ccdc_oper_config {
8585 .mfilt1 = CCDC_NO_MEDIAN_FILTER1 ,
8686 .mfilt2 = CCDC_NO_MEDIAN_FILTER2 ,
8787 .alaw = {
88- .gama_wd = 2 ,
88+ .gamma_wd = 2 ,
8989 },
9090 .blk_clamp = {
9191 .sample_pixel = 1 ,
@@ -303,8 +303,8 @@ static int validate_ccdc_param(struct ccdc_config_params_raw *ccdcparam)
303303 }
304304
305305 if (ccdcparam -> alaw .enable ) {
306- if (ccdcparam -> alaw .gama_wd < CCDC_GAMMA_BITS_13_4 ||
307- ccdcparam -> alaw .gama_wd > CCDC_GAMMA_BITS_09_0 ) {
306+ if (ccdcparam -> alaw .gamma_wd < CCDC_GAMMA_BITS_13_4 ||
307+ ccdcparam -> alaw .gamma_wd > CCDC_GAMMA_BITS_09_0 ) {
308308 dev_dbg (ccdc_cfg .dev , "Invalid value of ALAW\n" );
309309 return - EINVAL ;
310310 }
@@ -680,8 +680,8 @@ static int ccdc_config_raw(void)
680680 /* Enable and configure aLaw register if needed */
681681 if (config_params -> alaw .enable ) {
682682 val |= (CCDC_ALAW_ENABLE |
683- ((config_params -> alaw .gama_wd &
684- CCDC_ALAW_GAMA_WD_MASK ) <<
683+ ((config_params -> alaw .gamma_wd &
684+ CCDC_ALAW_GAMMA_WD_MASK ) <<
685685 CCDC_GAMMAWD_INPUT_SHIFT ));
686686 }
687687
Original file line number Diff line number Diff line change 153153#define CCDC_VDHDEN_ENABLE (1 << 16)
154154#define CCDC_LPF_ENABLE (1 << 14)
155155#define CCDC_ALAW_ENABLE 1
156- #define CCDC_ALAW_GAMA_WD_MASK 7
156+ #define CCDC_ALAW_GAMMA_WD_MASK 7
157157#define CCDC_REC656IF_BT656_EN 3
158158
159159#define CCDC_FMTCFG_FMTMODE_MASK 3
Original file line number Diff line number Diff line change @@ -604,7 +604,7 @@ static int isif_config_raw(void)
604604 if (module_params -> compress .alg == ISIF_ALAW )
605605 val |= ISIF_ALAW_ENABLE ;
606606
607- val |= (params -> data_msb << ISIF_ALAW_GAMA_WD_SHIFT );
607+ val |= (params -> data_msb << ISIF_ALAW_GAMMA_WD_SHIFT );
608608 regw (val , CGAMMAWD );
609609
610610 /* Configure DPCM compression settings */
Original file line number Diff line number Diff line change 203203#define ISIF_LPF_MASK 1
204204
205205/* GAMMAWD registers */
206- #define ISIF_ALAW_GAMA_WD_MASK 0xF
207- #define ISIF_ALAW_GAMA_WD_SHIFT 1
206+ #define ISIF_ALAW_GAMMA_WD_MASK 0xF
207+ #define ISIF_ALAW_GAMMA_WD_SHIFT 1
208208#define ISIF_ALAW_ENABLE 1
209209#define ISIF_GAMMAWD_CFA_SHIFT 5
210210
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ enum ccdc_sample_line {
3838 CCDC_SAMPLE_16LINES
3939};
4040
41- /* enum for Alaw gama width */
41+ /* enum for Alaw gamma width */
4242enum ccdc_gamma_width {
4343 CCDC_GAMMA_BITS_13_4 ,
4444 CCDC_GAMMA_BITS_12_3 ,
@@ -97,8 +97,8 @@ enum ccdc_mfilt2 {
9797struct ccdc_a_law {
9898 /* Enable/disable A-Law */
9999 unsigned char enable ;
100- /* Gama Width Input */
101- enum ccdc_gamma_width gama_wd ;
100+ /* Gamma Width Input */
101+ enum ccdc_gamma_width gamma_wd ;
102102};
103103
104104/* structure for Black Clamping */
You can’t perform that action at this time.
0 commit comments