Searched refs:DAC_TO_REG (Results 1 – 1 of 1) sorted by relevance
224 #define DAC_TO_REG(val) DIV_ROUND_CLOSEST(clamp_val(val, 0, 2500) * 255, \ macro1061 data->analog_out = DAC_TO_REG(val); in analog_out_store()