Lines Matching refs:bops
138 st->d16[0] = cpu_to_be16(st->bops->rd_wr_cmd(addr, 0) << 8); in ad7606_spi_reg_read()
153 st->d16[0] = cpu_to_be16((st->bops->rd_wr_cmd(addr, 1) << 8) | in ad7606_spi_reg_write()
166 readval = st->bops->reg_read(st, addr); in ad7606_spi_write_mask()
173 return st->bops->reg_write(st, addr, readval); in ad7606_spi_write_mask()
200 return st->bops->write_mask(st, ch_addr, AD7616_RANGE_CH_MSK(ch_index), in ad7616_write_scale_sw()
208 return st->bops->write_mask(st, AD7616_CONFIGURATION_REGISTER, in ad7616_write_os_sw()
243 return st->bops->write_mask(st, in ad7616_sw_mode_config()
272 st->bops->reg_write(st, in ad7606B_sw_mode_config()
310 const struct ad7606_bus_ops *bops; in ad7606_spi_probe() local
314 bops = &ad7616_spi_bops; in ad7606_spi_probe()
317 bops = &ad7606B_spi_bops; in ad7606_spi_probe()
320 bops = &ad7606_spi_bops; in ad7606_spi_probe()
326 bops); in ad7606_spi_probe()