Home
last modified time | relevance | path

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

/external/u-boot/drivers/adc/
Dmeson-saradc.c187 return FIELD_GET(MESON_SAR_ADC_REG0_FIFO_COUNT_MASK, regval); in meson_saradc_get_fifo_count()
256 } while (FIELD_GET(MESON_SAR_ADC_REG0_BUSY_MASK, regval) && timeout--); in meson_saradc_wait_busy_clear()
281 fifo_chan = FIELD_GET(MESON_SAR_ADC_FIFO_RD_CHAN_ID_MASK, regval); in meson_saradc_read_raw_sample()
288 fifo_val = FIELD_GET(MESON_SAR_ADC_FIFO_RD_SAMPLE_VALUE_MASK, regval); in meson_saradc_read_raw_sample()
/external/u-boot/include/linux/
Dbitfield.h100 #define FIELD_GET(_mask, _reg) \ macro
/external/u-boot/drivers/mtd/nand/
Ddenali.c124 denali->max_banks = 1 << FIELD_GET(FEATURES__N_BANKS, features); in denali_detect_max_banks()
371 max_bitflips = FIELD_GET(ECC_COR_INFO__MAX_ERRORS, ecc_cor); in denali_hw_ecc_fixup()
401 err_sector = FIELD_GET(ECC_ERROR_ADDRESS__SECTOR, err_addr); in denali_sw_ecc_fixup()
402 err_byte = FIELD_GET(ECC_ERROR_ADDRESS__OFFSET, err_addr); in denali_sw_ecc_fixup()
405 err_cor_value = FIELD_GET(ERR_CORRECTION_INFO__BYTE, in denali_sw_ecc_fixup()
407 err_device = FIELD_GET(ERR_CORRECTION_INFO__DEVICE, in denali_sw_ecc_fixup()