Home
last modified time | relevance | path

Searched refs:mma9553_get_bits (Results 1 – 1 of 1) sorted by relevance

/linux-4.1.27/drivers/iio/accel/
Dmma9553.c199 static u8 mma9553_get_bits(u16 val, u16 mask) in mma9553_get_bits() function
275 if (val == mma9553_get_bits(reg_val, mask)) in mma9553_set_config()
311 } while (mma9553_get_bits(config, MMA9553_MASK_CONF_CONFIG) && in mma9553_set_config()
331 *activity = mma9553_get_bits(buf[0], MMA9553_MASK_STATUS_ACTIVITY); in mma9553_read_activity_stepcnt()
514 mma9553_get_bits(tmp, MMA9553_MASK_STATUS_ACTIVITY); in mma9553_read_raw()
599 tmp = mma9553_get_bits(data->conf.height_weight, in mma9553_read_raw()
605 *val = mma9553_get_bits(data->conf.height_weight, in mma9553_read_raw()
611 *val = mma9553_get_bits(data->conf.filter, in mma9553_read_raw()
620 *val = mma9553_get_bits(data->conf.filter, in mma9553_read_raw()
631 *val = mma9553_get_bits(data->conf.speed_step, in mma9553_read_raw()
[all …]