Home
last modified time | relevance | path

Searched full:decimation (Results 1 – 25 of 89) sorted by relevance

1234

/linux-6.12.1/drivers/media/usb/stk1160/
Dstk1160-reg.h35 * 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 …]
/linux-6.12.1/arch/arm64/boot/dts/qcom/
Dpm660.dtsi112 qcom,decimation = <1024>;
119 qcom,decimation = <1024>;
126 qcom,decimation = <1024>;
134 qcom,decimation = <1024>;
143 qcom,decimation = <1024>;
152 qcom,decimation = <1024>;
161 qcom,decimation = <1024>;
170 qcom,decimation = <1024>;
179 qcom,decimation = <1024>;
187 qcom,decimation = <1024>;
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/thermal/
Dqcom-spmi-adc-tm5.yaml47 qcom,decimation:
50 Quicker measurements can be made by reducing decimation ratio.
112 qcom,decimation:
115 Quicker measurements can be made by reducing decimation ratio.
141 qcom,decimation: false
153 qcom,decimation: false
249 qcom,decimation = <340>;
Dqcom-spmi-adc-tm-hc.yaml43 qcom,decimation:
46 Quicker measurements can be made by reducing decimation ratio.
/linux-6.12.1/drivers/thermal/qcom/
Dqcom-spmi-adc-tm5.c167 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()
869 ret = of_property_read_u32(node, "qcom,decimation", &value); in adc_tm5_get_dt_channel_data()
871 ret = qcom_adc5_decimation_from_dt(value, adc_tm->data->decimation); in adc_tm5_get_dt_channel_data()
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/iio/adc/
Dqcom,spmi-vadc.yaml84 qcom,decimation:
88 Quicker measurements can be made by reducing decimation ratio.
152 qcom,decimation:
175 qcom,decimation:
198 qcom,decimation:
221 qcom,decimation:
253 qcom,decimation = <512>;
Dqcom,pm8018-adc.yaml81 qcom,decimation:
85 Quicker measurements can be made by reducing the decimation ratio.
/linux-6.12.1/drivers/iio/adc/
Dqcom-spmi-adc5.c74 * 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 …]
Dqcom-spmi-vadc.c79 * @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()
Dqcom-pm8xxx-xoadc.c99 * 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 = fwnode_property_read_u32(fwnode, "qcom,decimation", &dec); in pm8xxx_xoadc_parse_channel()
797 dev_err(dev, "%s invalid decimation %d\n", in pm8xxx_xoadc_parse_channel()
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/sound/
Dadi,adau7118.yaml38 adi,decimation-ratio:
40 This property set's the decimation ratio of PDM to PCM audio data.
78 adi,decimation-ratio = <16>;
/linux-6.12.1/drivers/media/platform/st/sti/delta/
Ddelta-mjpeg-fw.h74 /* 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
/linux-6.12.1/drivers/media/platform/ti/vpe/
Dsc.c59 * 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()
/linux-6.12.1/include/linux/iio/adc/
Dqcom-vadc-common.h35 /* 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);
/linux-6.12.1/drivers/video/fbdev/kyro/
DSTG4000OverlayDevice.c45 /* 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()
/linux-6.12.1/drivers/media/platform/st/stm32/stm32-dcmipp/
Ddcmipp-byteproc.c127 /* Adjust height - we can only perform 1/2 decimation */ in dcmipp_byteproc_adjust_compose()
281 * In the HW, the decimation block is located prior to the crop hence: in dcmipp_byteproc_get_selection()
335 * In the HW, the decimation block is located prior to the crop hence: in dcmipp_byteproc_set_selection()
415 /* clear decimation/crop */ in dcmipp_byteproc_configure_scale_crop()
421 /* Ignore decimation/crop with JPEG */ in dcmipp_byteproc_configure_scale_crop()
425 /* decimation */ in dcmipp_byteproc_configure_scale_crop()
/linux-6.12.1/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_hw_util.h236 * @horz_decimate: Horizontal decimation factor
237 * @vert_decimate: Vertical decimation factor
273 * Decimation settings
/linux-6.12.1/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_smp.c111 * NOTE: looks like if horizontal decimation is used (if we supported that)
113 * decimated width. Ie. SMP buffering sits downstream of decimation (which
139 /* if decimation is enabled, HW decimates less on the in mdp5_smp_calculate()
/linux-6.12.1/drivers/media/pci/zoran/
Dzoran_card.c726 __func__, settings->decimation, settings->hor_dcm, in zoran_check_jpg_settings()
731 /* Check decimation, set default values for decimation = 1, 2, 4 */ in zoran_check_jpg_settings()
732 switch (settings->decimation) { in zoran_check_jpg_settings()
836 pci_err(zr->pci_dev, "%s - error in params for decimation = 0\n", __func__); in zoran_check_jpg_settings()
841 pci_err(zr->pci_dev, "%s - decimation = %d, must be 0, 1, 2 or 4\n", in zoran_check_jpg_settings()
842 __func__, settings->decimation); in zoran_check_jpg_settings()
967 zr->jpg_settings.decimation = 1; in zoran_open_init_params()
1200 seq_printf(seq, "JPG decimation %u\n", zr->jpg_settings.decimation); in zoran_debugfs_show()
Dzr36016.c222 cap->decimation); in zr36016_set_video()
248 ptr->xdec = ((cap->decimation & 0xff) == 1) ? 0 : 1; in zr36016_set_video()
249 ptr->ydec = (((cap->decimation >> 8) & 0xff) == 1) ? 0 : 1; in zr36016_set_video()
Dzr36060.c242 /* horizontal 422 decimation setup (maybe we support 411 or so later, too) */
492 cap->x, cap->y, cap->width, cap->height, cap->decimation); in zr36060_set_video()
498 ptr->width = cap->width / (cap->decimation & 0xff); in zr36060_set_video()
499 ptr->height = cap->height / (cap->decimation >> 8); in zr36060_set_video()
519 switch (cap->decimation & 0xff) { in zr36060_set_video()
533 switch (cap->decimation >> 8) { in zr36060_set_video()
618 * buz can't handle more at decimation=1... Use low_bitrate if in zr36060_set_video()
Dzoran.h144 int decimation; member
145 /* capture decimation settings (tmp_dcm=1 means both fields) */
/linux-6.12.1/drivers/staging/media/atomisp/pci/isp/kernels/vf/vf_1.0/
Dia_css_vf_types.h19 /* Viewfinder decimation
Dia_css_vf_param.h27 /* Viewfinder decimation */
/linux-6.12.1/drivers/media/usb/gspca/
Dstk1135.h18 #define STK1135_REG_DCTRL 0x104 /* Decimation control register */

1234