Lines Matching refs:i3g4250d
23 LOG_MODULE_REGISTER(i3g4250d, CONFIG_SENSOR_LOG_LEVEL);
28 struct i3g4250d_data *i3g4250d = dev->data; in i3g4250d_sample_fetch() local
37 ret = i3g4250d_flag_data_ready_get(i3g4250d->ctx, ®); in i3g4250d_sample_fetch()
42 ret = i3g4250d_angular_rate_raw_get(i3g4250d->ctx, buf); in i3g4250d_sample_fetch()
48 memcpy(i3g4250d->angular_rate, buf, sizeof(i3g4250d->angular_rate)); in i3g4250d_sample_fetch()
90 struct i3g4250d_data *i3g4250d = dev->data; in i3g4250d_channel_get() local
100 i3g4250d_channel_convert(chan, i3g4250d->angular_rate, val); in i3g4250d_channel_get()
131 struct i3g4250d_data *i3g4250d = dev->data; in i3g4250d_config_gyro() local
137 return i3g4250d_data_rate_set(i3g4250d->ctx, dr_reg); in i3g4250d_config_gyro()
169 struct i3g4250d_data *i3g4250d = dev->data; in i3g4250d_init() local
178 ret = i3g4250d_device_id_get(i3g4250d->ctx, &wai); in i3g4250d_init()
189 ret = i3g4250d_filter_path_set(i3g4250d->ctx, I3G4250D_LPF1_HP_ON_OUT); in i3g4250d_init()
195 ret = i3g4250d_hp_bandwidth_set(i3g4250d->ctx, I3G4250D_HP_LEVEL_3); in i3g4250d_init()
202 ret = i3g4250d_data_rate_set(i3g4250d->ctx, I3G4250D_ODR_100Hz); in i3g4250d_init()