Searched refs:mma9553_get_bits (Results 1 – 1 of 1) sorted by relevance
/Linux-v4.19/drivers/iio/accel/ |
D | mma9553.c | 202 static u8 mma9553_get_bits(u16 val, u16 mask) in mma9553_get_bits() function 278 if (val == mma9553_get_bits(reg_val, mask)) in mma9553_set_config() 314 } while (mma9553_get_bits(config, MMA9553_MASK_CONF_CONFIG) && in mma9553_set_config() 335 *activity = mma9553_get_bits(buf[0], MMA9553_MASK_STATUS_ACTIVITY); in mma9553_read_activity_stepcnt() 506 mma9553_get_bits(tmp, MMA9553_MASK_STATUS_ACTIVITY); in mma9553_read_raw() 570 tmp = mma9553_get_bits(data->conf.height_weight, in mma9553_read_raw() 576 *val = mma9553_get_bits(data->conf.height_weight, in mma9553_read_raw() 582 *val = mma9553_get_bits(data->conf.filter, in mma9553_read_raw() 591 *val = mma9553_get_bits(data->conf.filter, in mma9553_read_raw() 602 *val = mma9553_get_bits(data->conf.speed_step, in mma9553_read_raw() [all …]
|