Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/misc/
Dad525x_dpot.c134 return dpot->rdac_cache[reg & DPOT_RDAC_MASK]; in dpot_read_spi()
193 ctrl = ((reg & DPOT_RDAC_MASK) == DPOT_RDAC0) ? in dpot_read_i2c()
202 ctrl = ((reg & DPOT_RDAC_MASK) == DPOT_RDAC0) ? in dpot_read_i2c()
245 dpot->rdac_cache[reg & DPOT_RDAC_MASK] = value; in dpot_write_spi()
249 val = ((reg & DPOT_RDAC_MASK) << in dpot_write_spi()
254 val = ((reg & DPOT_RDAC_MASK) << in dpot_write_spi()
288 val = DPOT_SPI_RDAC | (reg & DPOT_RDAC_MASK); in dpot_write_spi()
291 val = DPOT_SPI_EEPROM | (reg & DPOT_RDAC_MASK); in dpot_write_spi()
345 ctrl = ((reg & DPOT_RDAC_MASK) == DPOT_RDAC0) ? in dpot_write_i2c()
359 ctrl = ((reg & DPOT_RDAC_MASK) == DPOT_RDAC0) ? in dpot_write_i2c()
[all …]
Dad525x_dpot.h141 #define DPOT_RDAC_MASK 0x1F macro