Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/sensor/bosch/bma4xx/
Dbma4xx.c56 return bma4xx->hw_ops->write_reg(dev, reg_addr, reg_val[0]); in bma4xx_attr_set_offset()
66 return bma4xx->hw_ops->write_data(dev, reg_addr, (uint8_t *)reg_val, in bma4xx_attr_set_offset()
126 status = bma4xx->hw_ops->update_reg(dev, BMA4XX_REG_ACCEL_CONFIG, BMA4XX_MASK_ACC_CONF_ODR, in bma4xx_attr_set_odr()
178 status = bma4xx->hw_ops->update_reg(dev, BMA4XX_REG_ACCEL_RANGE, BMA4XX_MASK_ACC_RANGE, in bma4xx_attr_set_range()
200 return bma4xx->hw_ops->update_reg(dev, BMA4XX_REG_ACCEL_CONFIG, BMA4XX_MASK_ACC_CONF_BWP, in bma4xx_attr_set_bwp()
242 status = bma4xx->hw_ops->read_reg(dev, BMA4XX_REG_CHIP_ID, &bma4xx->chip_id); in bma4xx_chip_init()
254 status = bma4xx->hw_ops->write_reg(dev, BMA4XX_REG_CMD, BMA4XX_CMD_SOFT_RESET); in bma4xx_chip_init()
268 status = bma4xx->hw_ops->update_reg(dev, BMA4XX_REG_ACCEL_CONFIG, BMA4XX_BIT_ACC_PERF_MODE, in bma4xx_chip_init()
276 status = bma4xx->hw_ops->update_reg(dev, BMA4XX_REG_POWER_CTRL, BMA4XX_BIT_ACC_EN, in bma4xx_chip_init()
300 status = bma4xx->hw_ops->read_data(dev, BMA4XX_REG_DATA_8, (uint8_t *)&read_data, in bma4xx_sample_fetch()
[all …]
Dbma4xx_spi.c67 data->hw_ops = &spi_ops; in bma4xx_spi_init()
Dbma4xx_i2c.c79 data->hw_ops = &i2c_ops; in bma4xx_i2c_init()
Dbma4xx.h207 const struct bma4xx_hw_operations *hw_ops; member