Searched refs:regdata (Results 1 – 3 of 3) sorted by relevance
253 uint8_t regdata; in tmag5273_attr_set_xyz_meas_range() local257 regdata = TMAG5273_XYZ_MEAS_RANGE_HIGH; in tmag5273_attr_set_xyz_meas_range()260 regdata = TMAG5273_XYZ_MEAS_RANGE_LOW; in tmag5273_attr_set_xyz_meas_range()265 TMAG5273_MEAS_RANGE_XYZ_MSK, regdata); in tmag5273_attr_set_xyz_meas_range()290 uint8_t regdata; in tmag5273_attr_get_xyz_meas_range() local293 retval = i2c_reg_read_byte_dt(&drv_cfg->i2c, TMAG5273_REG_SENSOR_CONFIG_2, ®data); in tmag5273_attr_get_xyz_meas_range()298 if ((regdata & TMAG5273_MEAS_RANGE_XYZ_MSK) == TMAG5273_XYZ_MEAS_RANGE_HIGH) { in tmag5273_attr_get_xyz_meas_range()322 uint8_t regdata; in tmag5273_attr_set_xyz_calc() local327 regdata = TMAG5273_ANGLE_EN_NONE; in tmag5273_attr_set_xyz_calc()334 regdata = TMAG5273_ANGLE_EN_XY; in tmag5273_attr_set_xyz_calc()[all …]
167 uint16_t regdata; in vcnl36825t_trigger_set() local189 regdata = VCNL36825T_PS_INT_DISABLE; in vcnl36825t_trigger_set()193 regdata = VCNL36825T_PS_INT_MODE_NORMAL; in vcnl36825t_trigger_set()196 regdata = VCNL36825T_PS_INT_MODE_FIRST_HIGH; in vcnl36825t_trigger_set()199 regdata = VCNL36825T_PS_INT_MODE_LOGIC_HIGH_LOW; in vcnl36825t_trigger_set()208 regdata); in vcnl36825t_trigger_set()222 rc = vcnl36825t_read(&config->i2c, VCNL36825T_REG_INT_FLAG, ®data); in vcnl36825t_trigger_set()
440 uint8_t regdata; in lis2dh_pm_action() local445 status = lis2dh->hw_tf->read_reg(dev, LIS2DH_REG_REFERENCE, ®data); in lis2dh_pm_action()