Searched refs:data_mask (Results 1 – 8 of 8) sorted by relevance
76 unsigned int data_mask; member219 int adc_data_mask(struct udevice *dev, unsigned int *data_mask);
38 unsigned int data_mask, ch_mask; in do_adc_info() local56 ret = adc_data_mask(dev, &data_mask); in do_adc_info()58 printf("data mask: %x\n", data_mask); in do_adc_info()
71 int adc_data_mask(struct udevice *dev, unsigned int *data_mask) in adc_data_mask() argument78 *data_mask = uc_pdata->data_mask; in adc_data_mask()348 unsigned int data_mask; in adc_raw_to_uV() local359 ret = adc_data_mask(dev, &data_mask); in adc_raw_to_uV()364 do_div(raw64, data_mask); in adc_raw_to_uV()
60 *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()
115 uc_pdata->data_mask = ADC_V2_DAT_MASK; in exynos_adc_of_to_plat()
142 uc_pdata->data_mask = SANDBOX_ADC_DATA_MASK; in sandbox_adc_of_to_plat()
200 uc_pdata->data_mask = (1 << adc->cfg->num_bits) - 1; in stm32_adc_chan_of_init()
709 uc_pdata->data_mask = GENMASK(priv->data->num_bits - 1, 0); in meson_saradc_of_to_plat()
Completed in 14 milliseconds