Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/iio/adc/
Dfsl-imx25-gcq.c206 u32 refp = MX25_ADCQ_CFG_REFP_INT; in mx25_gcq_setup_cfgs() local
221 of_property_read_u32(child, "fsl,adc-refp", &refp); in mx25_gcq_setup_cfgs()
224 switch (refp) { in mx25_gcq_setup_cfgs()
228 if (IS_ERR(priv->vref[refp])) { in mx25_gcq_setup_cfgs()
230 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()
246 ++refp_used[refp]; in mx25_gcq_setup_cfgs()
252 refp = MX25_ADCQ_CFG_REFP(refp); in mx25_gcq_setup_cfgs()
[all …]
/Linux-v4.19/drivers/media/platform/vicodec/
Dvicodec-codec.c618 static u32 encode_plane(u8 *input, u8 *refp, __be16 **rlco, __be16 *rlco_max, in encode_plane() argument
638 blocktype = decide_blocktype(input, refp, in encode_plane()
654 add_deltas(cf->de_fwht, refp, 8); in encode_plane()
655 fill_decoder_block(refp, cf->de_fwht, 8); in encode_plane()
659 refp += 8 * 8; in encode_plane()
756 u8 *refp = ref + j * 8 * width + i * 8; in decode_plane() local
761 add_deltas(cf->de_fwht, refp, width); in decode_plane()
762 fill_decoder_block(refp, cf->de_fwht, width); in decode_plane()
781 add_deltas(cf->de_fwht, refp, width); in decode_plane()
782 fill_decoder_block(refp, cf->de_fwht, width); in decode_plane()
/Linux-v4.19/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>;