Home
last modified time | relevance | path

Searched refs:refp (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/drivers/iio/adc/
Dfsl-imx25-gcq.c203 u32 refp = MX25_ADCQ_CFG_REFP_INT; in mx25_gcq_setup_cfgs() local
220 of_property_read_u32(child, "fsl,adc-refp", &refp); in mx25_gcq_setup_cfgs()
223 switch (refp) { in mx25_gcq_setup_cfgs()
227 if (IS_ERR(priv->vref[refp])) { in mx25_gcq_setup_cfgs()
229 mx25_gcq_refp_names[refp]); in mx25_gcq_setup_cfgs()
231 return PTR_ERR(priv->vref[refp]); in mx25_gcq_setup_cfgs()
234 regulator_get_voltage(priv->vref[refp]); in mx25_gcq_setup_cfgs()
242 dev_err(dev, "Invalid positive reference %d\n", refp); in mx25_gcq_setup_cfgs()
247 ++refp_used[refp]; in mx25_gcq_setup_cfgs()
253 refp = MX25_ADCQ_CFG_REFP(refp); in mx25_gcq_setup_cfgs()
[all …]
/Linux-v5.4/Documentation/devicetree/bindings/iio/adc/
Dfsl,imx25-gcq.txt37 - fsl,adc-refp: specifies the positive reference input as defined in
54 fsl,adc-refp = <MX25_ADC_REFP_INT>;
/Linux-v5.4/drivers/media/platform/vicodec/
Dcodec-fwht.c683 static u32 encode_plane(u8 *input, u8 *refp, __be16 **rlco, __be16 *rlco_max, in encode_plane() argument
707 blocktype = decide_blocktype(input, refp, in encode_plane()
724 add_deltas(cf->de_fwht, refp, 8, 1); in encode_plane()
725 fill_decoder_block(refp, cf->de_fwht, 8, 1); in encode_plane()
729 refp += 8 * 8; in encode_plane()
870 const u8 *refp = ref + j * 8 * ref_stride + in decode_plane() local
877 add_deltas(cf->de_fwht, refp, in decode_plane()
900 add_deltas(cf->de_fwht, refp, in decode_plane()