Lines Matching refs:ad9523_write
332 static int ad9523_write(struct iio_dev *indio_dev, in ad9523_write() function
362 return ad9523_write(indio_dev, AD9523_IO_UPDATE, AD9523_IO_UPDATE_EN); in ad9523_io_update()
384 ret = ad9523_write(indio_dev, in ad9523_vco_out_map()
396 ret = ad9523_write(indio_dev, AD9523_PLL1_OUTPUT_CTRL, ret); in ad9523_vco_out_map()
407 ret = ad9523_write(indio_dev, in ad9523_vco_out_map()
449 ret = ad9523_write(indio_dev, AD9523_EEPROM_CTRL1, in ad9523_store_eeprom()
453 ret = ad9523_write(indio_dev, AD9523_EEPROM_CTRL2, in ad9523_store_eeprom()
467 ret = ad9523_write(indio_dev, AD9523_EEPROM_CTRL1, 0); in ad9523_store_eeprom()
494 ret = ad9523_write(indio_dev, AD9523_STATUS_SIGNALS, tmp); in ad9523_sync()
501 ret = ad9523_write(indio_dev, AD9523_STATUS_SIGNALS, tmp); in ad9523_sync()
714 ret = ad9523_write(indio_dev, AD9523_CHANNEL_CLOCK_DIST(chan->channel), in ad9523_write_raw()
734 ret = ad9523_write(indio_dev, reg | AD9523_R1B, writeval); in ad9523_reg_access()
765 ret = ad9523_write(indio_dev, AD9523_SERIAL_PORT_CONFIG, in ad9523_setup()
772 ret = ad9523_write(indio_dev, AD9523_READBACK_CTRL, in ad9523_setup()
784 ret = ad9523_write(indio_dev, AD9523_PLL1_REF_A_DIVIDER, in ad9523_setup()
789 ret = ad9523_write(indio_dev, AD9523_PLL1_REF_B_DIVIDER, in ad9523_setup()
794 ret = ad9523_write(indio_dev, AD9523_PLL1_FEEDBACK_DIVIDER, in ad9523_setup()
799 ret = ad9523_write(indio_dev, AD9523_PLL1_CHARGE_PUMP_CTRL, in ad9523_setup()
807 ret = ad9523_write(indio_dev, AD9523_PLL1_INPUT_RECEIVERS_CTRL, in ad9523_setup()
818 ret = ad9523_write(indio_dev, AD9523_PLL1_REF_CTRL, in ad9523_setup()
830 ret = ad9523_write(indio_dev, AD9523_PLL1_MISC_CTRL, in ad9523_setup()
836 ret = ad9523_write(indio_dev, AD9523_PLL1_LOOP_FILTER_CTRL, in ad9523_setup()
844 ret = ad9523_write(indio_dev, AD9523_PLL2_CHARGE_PUMP, in ad9523_setup()
850 ret = ad9523_write(indio_dev, AD9523_PLL2_FEEDBACK_DIVIDER_AB, in ad9523_setup()
856 ret = ad9523_write(indio_dev, AD9523_PLL2_CTRL, in ad9523_setup()
869 ret = ad9523_write(indio_dev, AD9523_PLL2_VCO_CTRL, in ad9523_setup()
874 ret = ad9523_write(indio_dev, AD9523_PLL2_VCO_DIVIDER, in ad9523_setup()
894 ret = ad9523_write(indio_dev, AD9523_PLL2_R2_DIVIDER, in ad9523_setup()
899 ret = ad9523_write(indio_dev, AD9523_PLL2_LOOP_FILTER_CTRL, in ad9523_setup()
912 ret = ad9523_write(indio_dev, in ad9523_setup()
947 ret = ad9523_write(indio_dev, in ad9523_setup()
955 ret = ad9523_write(indio_dev, AD9523_POWER_DOWN_CTRL, 0); in ad9523_setup()
959 ret = ad9523_write(indio_dev, AD9523_STATUS_SIGNALS, in ad9523_setup()