Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/media/platform/davinci/
Ddm355_ccdc.c73 .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() local
732 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() local
751 if (alaw->enable) in ccdc_get_pixel_format()
787 if ((config_params->alaw.enable) || in ccdc_get_line_length()
Ddm644x_ccdc.c415 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() local
604 if (alaw->enable) in ccdc_get_pixel_format()
641 if ((config_params->alaw.enable) || in ccdc_get_line_length()
/Linux-v4.19/drivers/isdn/mISDN/
Ddsp_audio.c75 static inline short int alaw2linear(unsigned char alaw) in alaw2linear() argument
80 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()
/Linux-v4.19/include/uapi/linux/
Dam437x-vpfe.h109 struct vpfe_ccdc_a_law alaw; member
/Linux-v4.19/include/media/davinci/
Ddm644x_ccdc.h113 struct ccdc_a_law alaw; member
Ddm355_ccdc.h236 struct ccdc_a_law alaw; member
/Linux-v4.19/drivers/media/platform/omap3isp/
Dispccdc.h140 unsigned int alaw:1, member
Dispccdc.c617 u32 alaw = 0; in ccdc_configure_alaw() local
626 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()
/Linux-v4.19/drivers/media/platform/am437x/
Dam437x-vpfe.c413 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()