Home
last modified time | relevance | path

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

/linux/drivers/iio/dac/
H A Dadi-axi-dac.c66 #define AXI_DAC_2_PI_MEGA 6283190 macro
239 phase = DIV_ROUND_CLOSEST_ULL((u64)raw * AXI_DAC_2_PI_MEGA, U16_MAX); in axi_dac_phase_get()
352 if (phase < 0 || phase > AXI_DAC_2_PI_MEGA) in axi_dac_phase_set()
355 raw = DIV_ROUND_CLOSEST_ULL((u64)phase * U16_MAX, AXI_DAC_2_PI_MEGA); in axi_dac_phase_set()