Home
last modified time | relevance | path

Searched refs:DPOT_RDAC_MASK (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/misc/
Dad525x_dpot.c134 return dpot->rdac_cache[reg & DPOT_RDAC_MASK]; in dpot_read_spi()
190 ctrl = ((reg & DPOT_RDAC_MASK) == DPOT_RDAC0) ? in dpot_read_i2c()
199 ctrl = ((reg & DPOT_RDAC_MASK) == DPOT_RDAC0) ? in dpot_read_i2c()
242 dpot->rdac_cache[reg & DPOT_RDAC_MASK] = value; in dpot_write_spi()
246 val = ((reg & DPOT_RDAC_MASK) << in dpot_write_spi()
251 val = ((reg & DPOT_RDAC_MASK) << in dpot_write_spi()
285 val = DPOT_SPI_RDAC | (reg & DPOT_RDAC_MASK); in dpot_write_spi()
288 val = DPOT_SPI_EEPROM | (reg & DPOT_RDAC_MASK); in dpot_write_spi()
342 ctrl = ((reg & DPOT_RDAC_MASK) == DPOT_RDAC0) ? in dpot_write_i2c()
356 ctrl = ((reg & DPOT_RDAC_MASK) == DPOT_RDAC0) ? in dpot_write_i2c()
[all …]
Dad525x_dpot.h141 #define DPOT_RDAC_MASK 0x1F macro