Searched refs:mma9553_get_bits (Results 1 – 1 of 1) sorted by relevance
| /linux/drivers/iio/accel/ |
| H A D | mma9553.c | 191 static u8 mma9553_get_bits(u16 val, u16 mask) in mma9553_get_bits() function 267 if (val == mma9553_get_bits(reg_val, mask)) in mma9553_set_config() 303 } while (mma9553_get_bits(config, MMA9553_MASK_CONF_CONFIG) && in mma9553_set_config() 324 *activity = mma9553_get_bits(buf[0], MMA9553_MASK_STATUS_ACTIVITY); in mma9553_read_activity_stepcnt() 495 mma9553_get_bits(tmp, MMA9553_MASK_STATUS_ACTIVITY); in mma9553_read_raw() 559 tmp = mma9553_get_bits(data->conf.height_weight, in mma9553_read_raw() 565 *val = mma9553_get_bits(data->conf.height_weight, in mma9553_read_raw() 571 *val = mma9553_get_bits(data->conf.filter, in mma9553_read_raw() 580 *val = mma9553_get_bits(data->conf.filter, in mma9553_read_raw() 591 *val = mma9553_get_bits(data->conf.speed_step, in mma9553_read_raw() [all …]
|