Lines Matching refs:hw_tf
38 ret = data->hw_tf->write_reg(dev, axis_reg_h++, act->thresh >> 3); in adxl372_set_activity_threshold()
53 return data->hw_tf->write_reg(dev, axis_reg_h, val); in adxl372_set_activity_threshold()
94 int ret = data->hw_tf->write_reg_mask(dev, ADXL372_POWER_CTL, in adxl372_set_op_mode()
120 return data->hw_tf->write_reg_mask(dev, ADXL372_MEASURE, in adxl372_set_autosleep()
150 ret = data->hw_tf->write_reg_mask(dev, ADXL372_POWER_CTL, in adxl372_set_bandwidth()
161 return data->hw_tf->write_reg_mask(dev, ADXL372_MEASURE, in adxl372_set_bandwidth()
191 ret = data->hw_tf->write_reg_mask(dev, ADXL372_POWER_CTL, in adxl372_set_hpf_corner()
202 return data->hw_tf->write_reg(dev, ADXL372_HPF, ADXL372_HPF_CORNER(c)); in adxl372_set_hpf_corner()
220 return data->hw_tf->write_reg_mask(dev, ADXL372_MEASURE, in adxl372_set_act_proc_mode()
240 return data->hw_tf->write_reg_mask(dev, ADXL372_TIMING, in adxl372_set_odr()
258 int ret = data->hw_tf->write_reg_mask(dev, ADXL372_POWER_CTL, in adxl372_set_instant_on_th()
291 return data->hw_tf->write_reg_mask(dev, ADXL372_TIMING, in adxl372_set_wakeup_rate()
306 return data->hw_tf->write_reg(dev, ADXL372_TIME_ACT, time); in adxl372_set_activity_time()
322 ret = data->hw_tf->write_reg(dev, ADXL372_TIME_INACT_H, time >> 8); in adxl372_set_inactivity_time()
327 return data->hw_tf->write_reg(dev, ADXL372_TIME_INACT_L, time & 0xFF); in adxl372_set_inactivity_time()
343 int ret = data->hw_tf->write_reg_mask(dev, ADXL372_POWER_CTL, in adxl372_set_filter_settle()
371 ret = data->hw_tf->write_reg(dev, ADXL372_INT1_MAP, int1); in adxl372_interrupt_config()
376 return data->hw_tf->write_reg(dev, ADXL372_INT2_MAP, int2); in adxl372_interrupt_config()
415 ret = data->hw_tf->read_reg_multiple(dev, ADXL372_STATUS_1, buf, length); in adxl372_get_status()
445 ret = data->hw_tf->write_reg(dev, ADXL372_RESET, ADXL372_RESET_CODE); in adxl372_reset()
496 ret = data->hw_tf->write_reg(dev, ADXL372_FIFO_CTL, fifo_config); in adxl372_configure_fifo()
500 ret = data->hw_tf->write_reg(dev, ADXL372_FIFO_SAMPLES, fifo_samples & 0xFF); in adxl372_configure_fifo()
535 ret = data->hw_tf->read_reg_multiple(dev, maxpeak ? ADXL372_X_MAXPEAK_H : in adxl372_get_accel_data()
716 ret = data->hw_tf->read_reg(dev, ADXL372_DEVID, &dev_id); in adxl372_probe()
720 ret = data->hw_tf->read_reg(dev, ADXL372_PARTID, &part_id); in adxl372_probe()