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

/linux-4.1.27/drivers/misc/
H A Dad525x_dpot.c135 return dpot->rdac_cache[reg & DPOT_RDAC_MASK]; dpot_read_spi()
191 ctrl = ((reg & DPOT_RDAC_MASK) == DPOT_RDAC0) ? dpot_read_i2c()
200 ctrl = ((reg & DPOT_RDAC_MASK) == DPOT_RDAC0) ? dpot_read_i2c()
245 dpot->rdac_cache[reg & DPOT_RDAC_MASK] = value; dpot_write_spi()
249 val = ((reg & DPOT_RDAC_MASK) << dpot_write_spi()
254 val = ((reg & DPOT_RDAC_MASK) << dpot_write_spi()
288 val = DPOT_SPI_RDAC | (reg & DPOT_RDAC_MASK); dpot_write_spi()
291 val = DPOT_SPI_EEPROM | (reg & DPOT_RDAC_MASK); dpot_write_spi()
345 ctrl = ((reg & DPOT_RDAC_MASK) == DPOT_RDAC0) ? dpot_write_i2c()
359 ctrl = ((reg & DPOT_RDAC_MASK) == DPOT_RDAC0) ?
422 test_bit(DPOT_RDAC_MASK & reg, data->otp_en_mask) ? sysfs_show_reg()
456 set_bit(DPOT_RDAC_MASK & reg, data->otp_en_mask); sysfs_set_reg()
458 clear_bit(DPOT_RDAC_MASK & reg, data->otp_en_mask); sysfs_set_reg()
464 !test_bit(DPOT_RDAC_MASK & reg, data->otp_en_mask)) sysfs_set_reg()
H A Dad525x_dpot.h142 #define DPOT_RDAC_MASK 0x1F macro

Completed in 83 milliseconds