Searched refs:sigma_delta (Results 1 – 2 of 2) sorted by relevance
40 void ad_sd_set_comm(struct ad_sigma_delta *sigma_delta, uint8_t comm) in ad_sd_set_comm() argument44 sigma_delta->comm = comm & AD_SD_COMM_CHAN_MASK; in ad_sd_set_comm()58 int ad_sd_write_reg(struct ad_sigma_delta *sigma_delta, unsigned int reg, in ad_sd_write_reg() argument61 uint8_t *data = sigma_delta->data; in ad_sd_write_reg()65 .cs_change = sigma_delta->keep_cs_asserted, in ad_sd_write_reg()70 data[0] = (reg << sigma_delta->info->addr_shift) | sigma_delta->comm; in ad_sd_write_reg()93 if (sigma_delta->bus_locked) in ad_sd_write_reg()94 ret = spi_sync_locked(sigma_delta->spi, &m); in ad_sd_write_reg()96 ret = spi_sync(sigma_delta->spi, &m); in ad_sd_write_reg()102 static int ad_sd_read_reg_raw(struct ad_sigma_delta *sigma_delta, in ad_sd_read_reg_raw() argument[all …]
64 static int ad7780_set_mode(struct ad_sigma_delta *sigma_delta, in ad7780_set_mode() argument67 struct ad7780_state *st = ad_sigma_delta_to_ad7780(sigma_delta); in ad7780_set_mode()113 static int ad7780_postprocess_sample(struct ad_sigma_delta *sigma_delta, in ad7780_postprocess_sample() argument116 struct ad7780_state *st = ad_sigma_delta_to_ad7780(sigma_delta); in ad7780_postprocess_sample()