Searched refs:mma9553_get_bits (Results 1 – 1 of 1) sorted by relevance
| /linux-4.4.14/drivers/iio/accel/ |
| D | mma9553.c | 203 static u8 mma9553_get_bits(u16 val, u16 mask) in mma9553_get_bits() function 279 if (val == mma9553_get_bits(reg_val, mask)) in mma9553_set_config() 315 } while (mma9553_get_bits(config, MMA9553_MASK_CONF_CONFIG) && in mma9553_set_config() 336 *activity = mma9553_get_bits(buf[0], MMA9553_MASK_STATUS_ACTIVITY); in mma9553_read_activity_stepcnt() 507 mma9553_get_bits(tmp, MMA9553_MASK_STATUS_ACTIVITY); in mma9553_read_raw() 571 tmp = mma9553_get_bits(data->conf.height_weight, in mma9553_read_raw() 577 *val = mma9553_get_bits(data->conf.height_weight, in mma9553_read_raw() 583 *val = mma9553_get_bits(data->conf.filter, in mma9553_read_raw() 592 *val = mma9553_get_bits(data->conf.filter, in mma9553_read_raw() 603 *val = mma9553_get_bits(data->conf.speed_step, in mma9553_read_raw() [all …]
|