Searched refs:alaw (Results 1 – 9 of 9) sorted by relevance
73 .alaw = {561 config_params->alaw.enable) in ccdc_config_raw()583 if (config_params->alaw.enable) { in ccdc_config_raw()585 ((config_params->alaw.gamma_wd & in ccdc_config_raw()635 config_params->alaw.enable) { in ccdc_config_raw()727 struct ccdc_a_law *alaw = &ccdc_cfg.bayer.config_params.alaw; in ccdc_set_pixel_format() local732 alaw->enable = 1; in ccdc_set_pixel_format()747 struct ccdc_a_law *alaw = &ccdc_cfg.bayer.config_params.alaw; in ccdc_get_pixel_format() local751 if (alaw->enable) in ccdc_get_pixel_format()787 if ((config_params->alaw.enable) || in ccdc_get_line_length()
415 if (config_params->alaw.enable) { in ccdc_config_raw()416 val = ((config_params->alaw.gamma_wd & in ccdc_config_raw()433 config_params->alaw.enable) in ccdc_config_raw()483 config_params->alaw.enable) in ccdc_config_raw()584 ccdc_cfg.bayer.config_params.alaw.enable = 1; in ccdc_set_pixel_format()600 struct ccdc_a_law *alaw = &ccdc_cfg.bayer.config_params.alaw; in ccdc_get_pixel_format() local604 if (alaw->enable) in ccdc_get_pixel_format()641 if ((config_params->alaw.enable) || in ccdc_get_line_length()
75 static inline short int alaw2linear(unsigned char alaw) in alaw2linear() argument80 alaw ^= AMI_MASK; in alaw2linear()81 i = ((alaw & 0x0F) << 4) + 8 /* rounding error */; in alaw2linear()82 seg = (((int) alaw & 0x70) >> 4); in alaw2linear()85 return (short int) ((alaw & 0x80) ? i : -i); in alaw2linear()
109 struct vpfe_ccdc_a_law alaw; member
113 struct ccdc_a_law alaw; member
236 struct ccdc_a_law alaw; member
140 unsigned int alaw:1, member
617 u32 alaw = 0; in ccdc_configure_alaw() local626 alaw = ISPCCDC_ALAW_GWDI_9_0; in ccdc_configure_alaw()629 alaw = ISPCCDC_ALAW_GWDI_10_1; in ccdc_configure_alaw()632 alaw = ISPCCDC_ALAW_GWDI_11_2; in ccdc_configure_alaw()635 alaw = ISPCCDC_ALAW_GWDI_12_3; in ccdc_configure_alaw()639 if (ccdc->alaw) in ccdc_configure_alaw()640 alaw |= ISPCCDC_ALAW_CCDTBL; in ccdc_configure_alaw()642 isp_reg_writel(isp, alaw, OMAP3_ISP_IOMEM_CCDC, ISPCCDC_ALAW); in ccdc_configure_alaw()677 ccdc->alaw = !!(OMAP3ISP_CCDC_ALAW & ccdc_struct->flag); in ccdc_config()
413 if (!ccdcparam->alaw.enable) in vpfe_ccdc_validate_param()416 max_gamma = ccdc_gamma_width_max_bit(ccdcparam->alaw.gamma_wd); in vpfe_ccdc_validate_param()419 if (ccdcparam->alaw.gamma_wd > VPFE_CCDC_GAMMA_BITS_09_0 || in vpfe_ccdc_validate_param()420 ccdcparam->alaw.gamma_wd < VPFE_CCDC_GAMMA_BITS_15_6 || in vpfe_ccdc_validate_param()690 if (config_params->alaw.enable) { in vpfe_ccdc_config_raw()691 val = ((config_params->alaw.gamma_wd & in vpfe_ccdc_config_raw()709 config_params->alaw.enable) in vpfe_ccdc_config_raw()775 ccdc->ccdc_cfg.bayer.config_params.alaw.enable = 0; in vpfe_ccdc_set_pixel_format()779 ccdc->ccdc_cfg.bayer.config_params.alaw.enable = 1; in vpfe_ccdc_set_pixel_format()1004 ccdc->ccdc_cfg.bayer.config_params.alaw.gamma_wd = in vpfe_ccdc_config_defaults()