Lines Matching refs:regmap_fields
144 struct regmap_field *regmap_fields[F_MAX_FIELDS]; member
240 ret = regmap_field_read(data->regmap_fields[F_FS_DOUBLE], &fs_double); in fxas21002c_range_fs_from_value()
273 ret = regmap_field_write(data->regmap_fields[F_FS_DOUBLE], fs_double); in fxas21002c_range_value_from_fs()
286 ret = regmap_field_read(data->regmap_fields[F_ACTIVE], &active); in fxas21002c_mode_get()
292 ret = regmap_field_read(data->regmap_fields[F_READY], &ready); in fxas21002c_mode_get()
310 ret = regmap_field_write(data->regmap_fields[F_READY], 1); in fxas21002c_mode_set()
312 ret = regmap_field_write(data->regmap_fields[F_READY], 0); in fxas21002c_mode_set()
317 ret = regmap_field_write(data->regmap_fields[F_ACTIVE], 1); in fxas21002c_mode_set()
319 ret = regmap_field_write(data->regmap_fields[F_ACTIVE], 0); in fxas21002c_mode_set()
355 ret = regmap_field_write(data->regmap_fields[field], bits); in fxas21002c_write()
392 ret = regmap_field_read(data->regmap_fields[F_TEMP], &temp); in fxas21002c_temp_get()
453 ret = regmap_field_read(data->regmap_fields[F_DR], &odr_bits); in fxas21002c_odr_get()
484 ret = regmap_field_read(data->regmap_fields[F_BW], &bw_bits); in fxas21002c_lpf_get()
528 ret = regmap_field_read(data->regmap_fields[F_SEL], &sel_bits); in fxas21002c_hpf_get()
560 ret = regmap_field_read(data->regmap_fields[F_FS], &fs_bits); in fxas21002c_scale_get()
755 ret = regmap_field_read(data->regmap_fields[F_WHO_AM_I], &chip_id); in fxas21002c_chip_init()
785 return regmap_field_write(data->regmap_fields[F_INT_EN_DRDY], state); in fxas21002c_data_rdy_trigger_set_state()
809 ret = regmap_field_read(data->regmap_fields[F_SRC_DRDY], &data_ready); in fxas21002c_data_rdy_thread()
836 ret = regmap_field_write(data->regmap_fields[F_INT_CFG_DRDY], in fxas21002c_trigger_probe()
855 ret = regmap_field_write(data->regmap_fields[F_IPOL], 1); in fxas21002c_trigger_probe()
944 data->regmap_fields[i] = f; in fxas21002c_core_probe()