Searched refs:chip_config (Results 1 – 10 of 10) sorted by relevance
24 st->chip_config.temp_fifo_enable = true; in inv_scan_query_mpu6050()28 st->chip_config.gyro_fifo_enable = in inv_scan_query_mpu6050()36 st->chip_config.accl_fifo_enable = in inv_scan_query_mpu6050()44 st->chip_config.temp_fifo_enable = in inv_scan_query_mpu6050()48 if (st->chip_config.gyro_fifo_enable) in inv_scan_query_mpu6050()50 if (st->chip_config.accl_fifo_enable) in inv_scan_query_mpu6050()52 if (st->chip_config.temp_fifo_enable) in inv_scan_query_mpu6050()69 st->chip_config.magn_fifo_enable = in inv_scan_query_mpu9x50()76 if (st->chip_config.magn_fifo_enable) in inv_scan_query_mpu9x50()101 if (st->chip_config.magn_fifo_enable) in inv_compute_skip_samples()[all …]
59 if (!(st->chip_config.accl_fifo_enable | in inv_mpu6050_read_fifo()60 st->chip_config.gyro_fifo_enable | in inv_mpu6050_read_fifo()61 st->chip_config.magn_fifo_enable)) in inv_mpu6050_read_fifo()64 if (st->chip_config.accl_fifo_enable) in inv_mpu6050_read_fifo()67 if (st->chip_config.gyro_fifo_enable) in inv_mpu6050_read_fifo()70 if (st->chip_config.temp_fifo_enable) in inv_mpu6050_read_fifo()73 if (st->chip_config.magn_fifo_enable) in inv_mpu6050_read_fifo()103 fifo_period = NSEC_PER_SEC / INV_MPU6050_DIVIDER_TO_FIFO_RATE(st->chip_config.divider); in inv_mpu6050_read_fifo()
323 clock = st->chip_config.clk; in inv_mpu6050_pwr_mgmt_1_write()325 temp_dis = !st->chip_config.temp_en; in inv_mpu6050_pwr_mgmt_1_write()352 st->chip_config.clk = clock; in inv_mpu6050_clock_switch()370 if (mask & INV_MPU6050_SENSOR_ACCL && en == st->chip_config.accl_en) in inv_mpu6050_switch_engine()372 if (mask & INV_MPU6050_SENSOR_GYRO && en == st->chip_config.gyro_en) in inv_mpu6050_switch_engine()374 if (mask & INV_MPU6050_SENSOR_TEMP && en == st->chip_config.temp_en) in inv_mpu6050_switch_engine()376 if (mask & INV_MPU6050_SENSOR_MAGN && en == st->chip_config.magn_en) in inv_mpu6050_switch_engine()378 if (mask & INV_MPU6050_SENSOR_WOM && en == st->chip_config.wom_en) in inv_mpu6050_switch_engine()382 if (!en && (mask & INV_MPU6050_SENSOR_ACCL) && st->chip_config.wom_en && in inv_mpu6050_switch_engine()394 st->chip_config.temp_en = en; in inv_mpu6050_switch_engine()[all …]
37 user_ctrl = st->chip_config.user_ctrl | INV_MPU6050_BIT_I2C_MST_EN; in inv_mpu_i2c_master_xfer()46 user_ctrl = st->chip_config.user_ctrl; in inv_mpu_i2c_master_xfer()52 d = st->chip_config.divider; in inv_mpu_i2c_master_xfer()73 regmap_write(st->map, st->reg->user_ctrl, st->chip_config.user_ctrl); in inv_mpu_i2c_master_xfer()75 regmap_write(st->map, st->reg->sample_rate_div, st->chip_config.divider); in inv_mpu_i2c_master_xfer()
27 st->chip_config.user_ctrl |= INV_MPU6050_BIT_I2C_IF_DIS; in inv_mpu_i2c_disable()29 st->chip_config.user_ctrl); in inv_mpu_i2c_disable()
196 struct inv_mpu6050_chip_config chip_config; member407 ((st)->chip_config.divider + 1)
749 int chip_config; in mxl86111_probe() local753 chip_config = mxl86110_read_extended_reg(phydev, MXL86110_EXT_CHIP_CFG_REG); in mxl86111_probe()754 if (chip_config < 0) in mxl86111_probe()755 return chip_config; in mxl86111_probe()757 switch (chip_config & MXL86111_EXT_CHIP_CFG_MODE_SEL_MASK) { in mxl86111_probe()
1057 int chip_config; in yt8521_probe() local1068 chip_config = ytphy_read_ext_with_lock(phydev, YT8521_CHIP_CONFIG_REG); in yt8521_probe()1069 if (chip_config < 0) in yt8521_probe()1070 return chip_config; in yt8521_probe()1072 priv->strap_mode = chip_config & YT8521_CCR_MODE_SEL_MASK; in yt8521_probe()
773 ret = data->chip_info->chip_config(data); in bme280_write_oversampling_ratio_humid()776 data->chip_info->chip_config(data); in bme280_write_oversampling_ratio_humid()798 ret = data->chip_info->chip_config(data); in bmp280_write_oversampling_ratio_temp()801 data->chip_info->chip_config(data); in bmp280_write_oversampling_ratio_temp()823 ret = data->chip_info->chip_config(data); in bmp280_write_oversampling_ratio_press()826 data->chip_info->chip_config(data); in bmp280_write_oversampling_ratio_press()848 ret = data->chip_info->chip_config(data); in bmp280_write_sampling_frequency()851 data->chip_info->chip_config(data); in bmp280_write_sampling_frequency()872 ret = data->chip_info->chip_config(data); in bmp280_write_iir_filter_coeffs()875 data->chip_info->chip_config(data); in bmp280_write_iir_filter_coeffs()[all …]
515 int (*chip_config)(struct bmp280_data *data); member