Home
last modified time | relevance | path

Searched refs:data_mask (Results 1 – 8 of 8) sorted by relevance

/u-boot/include/
A Dadc.h76 unsigned int data_mask; member
219 int adc_data_mask(struct udevice *dev, unsigned int *data_mask);
/u-boot/cmd/
A Dadc.c38 unsigned int data_mask, ch_mask; in do_adc_info() local
56 ret = adc_data_mask(dev, &data_mask); in do_adc_info()
58 printf("data mask: %x\n", data_mask); in do_adc_info()
/u-boot/drivers/adc/
A Dadc-uclass.c71 int adc_data_mask(struct udevice *dev, unsigned int *data_mask) in adc_data_mask() argument
78 *data_mask = uc_pdata->data_mask; in adc_data_mask()
348 unsigned int data_mask; in adc_raw_to_uV() local
359 ret = adc_data_mask(dev, &data_mask); in adc_raw_to_uV()
364 do_div(raw64, data_mask); in adc_raw_to_uV()
A Drockchip-saradc.c60 *data &= uc_pdata->data_mask; in rockchip_saradc_channel_data()
134 uc_pdata->data_mask = (1 << priv->data->num_bits) - 1;; in rockchip_saradc_of_to_plat()
A Dexynos-adc.c115 uc_pdata->data_mask = ADC_V2_DAT_MASK; in exynos_adc_of_to_plat()
A Dsandbox.c142 uc_pdata->data_mask = SANDBOX_ADC_DATA_MASK; in sandbox_adc_of_to_plat()
A Dstm32-adc.c200 uc_pdata->data_mask = (1 << adc->cfg->num_bits) - 1; in stm32_adc_chan_of_init()
A Dmeson-saradc.c709 uc_pdata->data_mask = GENMASK(priv->data->num_bits - 1, 0); in meson_saradc_of_to_plat()

Completed in 14 milliseconds