| /kernel/linux/linux-5.10/drivers/media/usb/stk1160/ |
| D | stk1160-reg.h | 35 * Decimation Control Register: 36 * Byte 104: Horizontal Decimation Line Unit Count 37 * Byte 105: Vertical Decimation Line Unit Count 38 * Byte 106: Decimation Control 39 * Bit 0 - Horizontal Decimation Control 40 * 0 Horizontal decimation is disabled. 41 * 1 Horizontal decimation is enabled. 47 * Bit 2 - Vertical Decimation Control 48 * 0 Vertical decimation is disabled. 49 * 1 Vertical decimation is enabled. [all …]
|
| /kernel/linux/linux-6.6/drivers/media/usb/stk1160/ |
| D | stk1160-reg.h | 35 * Decimation Control Register: 36 * Byte 104: Horizontal Decimation Line Unit Count 37 * Byte 105: Vertical Decimation Line Unit Count 38 * Byte 106: Decimation Control 39 * Bit 0 - Horizontal Decimation Control 40 * 0 Horizontal decimation is disabled. 41 * 1 Horizontal decimation is enabled. 47 * Bit 2 - Vertical Decimation Control 48 * 0 Vertical decimation is disabled. 49 * 1 Vertical decimation is enabled. [all …]
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/qcom/ |
| D | pm660.dtsi | 96 qcom,decimation = <1024>; 103 qcom,decimation = <1024>; 110 qcom,decimation = <1024>; 118 qcom,decimation = <1024>; 127 qcom,decimation = <1024>; 136 qcom,decimation = <1024>; 145 qcom,decimation = <1024>; 154 qcom,decimation = <1024>; 163 qcom,decimation = <1024>; 171 qcom,decimation = <1024>; [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/thermal/ |
| D | qcom-spmi-adc-tm5.yaml | 48 qcom,decimation: 51 Quicker measurements can be made by reducing decimation ratio. 113 qcom,decimation: 116 Quicker measurements can be made by reducing decimation ratio. 142 qcom,decimation: false 154 qcom,decimation: false 247 qcom,decimation = <340>;
|
| D | qcom-spmi-adc-tm-hc.yaml | 44 qcom,decimation: 47 Quicker measurements can be made by reducing decimation ratio.
|
| /kernel/linux/linux-6.6/drivers/thermal/qcom/ |
| D | qcom-spmi-adc-tm5.c | 167 unsigned int *decimation; member 185 * @decimation: sampling rate supported for the channel. 201 unsigned int decimation; /* For Gen2 ADC_TM */ member 218 * @decimation: sampling rate supported for the channel. 235 unsigned int decimation; member 593 buf[2] |= FIELD_PREP(ADC_TM_GEN2_CTL_DEC_RATIO_MASK, channel->decimation); in adc_tm5_gen2_configure() 710 buf[0] = chip->decimation; in adc_tm_hc_init() 740 buf[0] = chip->decimation; in adc_tm5_init() 872 ret = of_property_read_u32(node, "qcom,decimation", &value); in adc_tm5_get_dt_channel_data() 874 ret = qcom_adc5_decimation_from_dt(value, adc_tm->data->decimation); in adc_tm5_get_dt_channel_data() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/adc/ |
| D | qcom,spmi-vadc.yaml | 87 qcom,decimation: 91 Quicker measurements can be made by reducing decimation ratio. 155 qcom,decimation: 178 qcom,decimation: 201 qcom,decimation: 224 qcom,decimation: 257 qcom,decimation = <512>;
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/iio/adc/ |
| D | qcom,spmi-vadc.yaml | 85 qcom,decimation: 89 Quicker measurements can be made by reducing decimation ratio. 153 qcom,decimation: 176 qcom,decimation: 199 qcom,decimation: 222 qcom,decimation: 254 qcom,decimation = <512>;
|
| /kernel/linux/linux-5.10/drivers/iio/adc/ |
| D | qcom-spmi-adc5.c | 73 * Conversion time varies based on the decimation, clock rate, fast average 107 * @decimation: sampling rate supported for the channel. 122 unsigned int decimation; member 221 const unsigned int *decimation) in adc5_decimation_from_dt() argument 226 if (value == decimation[i]) in adc5_decimation_from_dt() 291 /* Update decimation ratio select */ in adc5_update_dig_param() 293 *data |= (prop->decimation << ADC5_USR_DIG_PARAM_DEC_RATIO_SEL_SHIFT); in adc5_update_dig_param() 718 ret = of_property_read_u32(node, "qcom,decimation", &value); in adc5_get_dt_channel_data() 720 ret = adc5_decimation_from_dt(value, data->decimation); in adc5_get_dt_channel_data() 722 dev_err(dev, "%02x invalid decimation %d\n", in adc5_get_dt_channel_data() [all …]
|
| D | qcom-spmi-vadc.c | 79 * @decimation: sampling rate supported for the channel. 91 unsigned int decimation; member 211 u8 decimation, mode_ctrl; in vadc_configure() local 227 decimation = prop->decimation << VADC_ADC_DIG_DEC_RATIO_SEL_SHIFT; in vadc_configure() 228 ret = vadc_write(vadc, VADC_ADC_DIG_PARAM, decimation); in vadc_configure() 673 ret = of_property_read_u32(node, "qcom,decimation", &value); in vadc_get_dt_channel_data() 677 dev_err(dev, "%02x invalid decimation %d\n", in vadc_get_dt_channel_data() 681 prop->decimation = ret; in vadc_get_dt_channel_data() 683 prop->decimation = VADC_DEF_DECIMATION; in vadc_get_dt_channel_data()
|
| D | qcom-pm8xxx-xoadc.c | 100 * On a later ADC the decimation factors are defined as 375 * @decimation: 0,1,2,3 383 u8 decimation:2; member 505 /* Decimation factor */ in pm8xxx_read_channel_rsv() 509 ch->decimation << ADC_DIG_PARAM_DEC_SHIFT); in pm8xxx_read_channel_rsv() 777 /* Everyone seems to use default ("type 2") decimation */ in pm8xxx_xoadc_parse_channel() 778 ch->decimation = VADC_DEF_DECIMATION; in pm8xxx_xoadc_parse_channel() 792 /* Optional decimation, if omitted we use the default */ in pm8xxx_xoadc_parse_channel() 793 ret = of_property_read_u32(np, "qcom,decimation", &dec); in pm8xxx_xoadc_parse_channel() 797 dev_err(dev, "%s invalid decimation %d\n", in pm8xxx_xoadc_parse_channel() [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/sound/ |
| D | adi,adau7118.yaml | 38 adi,decimation-ratio: 40 This property set's the decimation ratio of PDM to PCM audio data. 78 adi,decimation-ratio = <16>;
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/ |
| D | adi,adau7118.yaml | 35 adi,decimation-ratio: 37 This property set's the decimation ratio of PDM to PCM audio data. 75 adi,decimation-ratio = <16>;
|
| /kernel/linux/linux-6.6/drivers/iio/adc/ |
| D | qcom-spmi-adc5.c | 74 * Conversion time varies based on the decimation, clock rate, fast average 108 * @decimation: sampling rate supported for the channel. 123 unsigned int decimation; member 231 /* Update decimation ratio select */ in adc5_update_dig_param() 233 *data |= (prop->decimation << ADC5_USR_DIG_PARAM_DEC_RATIO_SEL_SHIFT); in adc5_update_dig_param() 677 ret = fwnode_property_read_u32(fwnode, "qcom,decimation", &value); in adc5_get_fw_channel_data() 679 ret = qcom_adc5_decimation_from_dt(value, data->decimation); in adc5_get_fw_channel_data() 681 dev_err(dev, "%02x invalid decimation %d\n", in adc5_get_fw_channel_data() 685 prop->decimation = ret; in adc5_get_fw_channel_data() 687 prop->decimation = ADC5_DECIMATION_DEFAULT; in adc5_get_fw_channel_data() [all …]
|
| D | qcom-spmi-vadc.c | 79 * @decimation: sampling rate supported for the channel. 92 unsigned int decimation; member 213 u8 decimation, mode_ctrl; in vadc_configure() local 229 decimation = prop->decimation << VADC_ADC_DIG_DEC_RATIO_SEL_SHIFT; in vadc_configure() 230 ret = vadc_write(vadc, VADC_ADC_DIG_PARAM, decimation); in vadc_configure() 690 ret = fwnode_property_read_u32(fwnode, "qcom,decimation", &value); in vadc_get_fw_channel_data() 694 dev_err(dev, "%02x invalid decimation %d\n", in vadc_get_fw_channel_data() 698 prop->decimation = ret; in vadc_get_fw_channel_data() 700 prop->decimation = VADC_DEF_DECIMATION; in vadc_get_fw_channel_data()
|
| D | qcom-pm8xxx-xoadc.c | 99 * On a later ADC the decimation factors are defined as 376 * @decimation: 0,1,2,3 384 u8 decimation:2; member 506 /* Decimation factor */ in pm8xxx_read_channel_rsv() 510 ch->decimation << ADC_DIG_PARAM_DEC_SHIFT); in pm8xxx_read_channel_rsv() 778 /* Everyone seems to use default ("type 2") decimation */ in pm8xxx_xoadc_parse_channel() 779 ch->decimation = VADC_DEF_DECIMATION; in pm8xxx_xoadc_parse_channel() 793 /* Optional decimation, if omitted we use the default */ in pm8xxx_xoadc_parse_channel() 794 ret = fwnode_property_read_u32(fwnode, "qcom,decimation", &dec); in pm8xxx_xoadc_parse_channel() 798 dev_err(dev, "%s invalid decimation %d\n", in pm8xxx_xoadc_parse_channel() [all …]
|
| /kernel/linux/linux-6.6/drivers/media/platform/st/sti/delta/ |
| D | delta-mjpeg-fw.h | 74 /* identifies the horizontal decimation factor */ 84 /* identifies the vertical decimation factor */ 163 * @horizontal_decimation_factor:horizontal decimation factor 164 * @vertical_decimation_factor: vertical decimation factor
|
| /kernel/linux/linux-5.10/drivers/media/platform/sti/delta/ |
| D | delta-mjpeg-fw.h | 74 /* identifies the horizontal decimation factor */ 84 /* identifies the vertical decimation factor */ 163 * @horizontal_decimation_factor:horizontal decimation factor 164 * @vertical_decimation_factor: vertical decimation factor
|
| /kernel/linux/linux-5.10/drivers/media/platform/ti-vpe/ |
| D | sc.c | 59 * input widths, after accounting for up to two levels of decimation 74 dst_w <<= 1; /* first level decimation */ in sc_set_hs_coeffs() 76 dst_w <<= 1; /* second level decimation */ in sc_set_hs_coeffs() 189 /* enable 2X or 4X decimation */ in sc_config_scaler() 206 dev_dbg(dev, "hs config: src_w = %d, dst_w = %d, decimation = %s, lin_acc_inc = %08x\n", in sc_config_scaler()
|
| /kernel/linux/linux-6.6/drivers/media/platform/ti/vpe/ |
| D | sc.c | 59 * input widths, after accounting for up to two levels of decimation 74 dst_w <<= 1; /* first level decimation */ in sc_set_hs_coeffs() 76 dst_w <<= 1; /* second level decimation */ in sc_set_hs_coeffs() 189 /* enable 2X or 4X decimation */ in sc_config_scaler() 206 dev_dbg(dev, "hs config: src_w = %d, dst_w = %d, decimation = %s, lin_acc_inc = %08x\n", in sc_config_scaler()
|
| /kernel/linux/linux-6.6/include/linux/iio/adc/ |
| D | qcom-vadc-common.h | 35 /* Default decimation - 1024 for rev2, 840 for pmic5 */ 131 unsigned int *decimation; member 163 int qcom_adc5_decimation_from_dt(u32 value, const unsigned int *decimation);
|
| /kernel/linux/linux-6.6/drivers/video/fbdev/kyro/ |
| D | STG4000OverlayDevice.c | 45 /* Decimation and Scaling */ 105 /* Set Overlay Vt Decimation */ in ResetOverlayRegisters() 361 /************* Vertical decimation/scaling ******************/ in SetOverlayViewPort() 405 …ulVertDecFactor = (63 - ulBits) / (32 - ulBits); /* vertical decimation factor scaled up to neares… in SetOverlayViewPort() 412 tmp = STG_READ_REG(DACOverlayVtDec); /* Decimation */ in SetOverlayViewPort() 417 /***************** Horizontal decimation/scaling ***************************/ in SetOverlayViewPort() 515 * decimation and scaling in SetOverlayViewPort()
|
| /kernel/linux/linux-5.10/drivers/video/fbdev/kyro/ |
| D | STG4000OverlayDevice.c | 45 /* Decimation and Scaling */ 105 /* Set Overlay Vt Decimation */ in ResetOverlayRegisters() 361 /************* Vertical decimation/scaling ******************/ in SetOverlayViewPort() 405 …ulVertDecFactor = (63 - ulBits) / (32 - ulBits); /* vertical decimation factor scaled up to neares… in SetOverlayViewPort() 412 tmp = STG_READ_REG(DACOverlayVtDec); /* Decimation */ in SetOverlayViewPort() 417 /***************** Horizontal decimation/scaling ***************************/ in SetOverlayViewPort() 515 * decimation and scaling in SetOverlayViewPort()
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/dpu1/ |
| D | dpu_hw_util.h | 219 * @horz_decimate: Horizontal decimation factor 220 * @vert_decimate: Vertical decimation factor 256 * Decimation settings
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/msm/disp/dpu1/ |
| D | dpu_hw_util.h | 230 * @horz_decimate: Horizontal decimation factor 231 * @vert_decimate: Vertical decimation factor 267 * Decimation settings
|