Searched refs:mma9553_get_bits (Results 1 – 1 of 1) sorted by relevance
/drivers/iio/accel/ |
D | mma9553.c | 194 static u8 mma9553_get_bits(u16 val, u16 mask) in mma9553_get_bits() function 270 if (val == mma9553_get_bits(reg_val, mask)) in mma9553_set_config() 306 } while (mma9553_get_bits(config, MMA9553_MASK_CONF_CONFIG) && in mma9553_set_config() 327 *activity = mma9553_get_bits(buf[0], MMA9553_MASK_STATUS_ACTIVITY); in mma9553_read_activity_stepcnt() 498 mma9553_get_bits(tmp, MMA9553_MASK_STATUS_ACTIVITY); in mma9553_read_raw() 562 tmp = mma9553_get_bits(data->conf.height_weight, in mma9553_read_raw() 568 *val = mma9553_get_bits(data->conf.height_weight, in mma9553_read_raw() 574 *val = mma9553_get_bits(data->conf.filter, in mma9553_read_raw() 583 *val = mma9553_get_bits(data->conf.filter, in mma9553_read_raw() 594 *val = mma9553_get_bits(data->conf.speed_step, in mma9553_read_raw() [all …]
|