Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/iio/imu/inv_mpu6050/
Dinv_mpu_trigger.c14 st->chip_config.gyro_fifo_enable = in inv_scan_query_mpu6050()
22 st->chip_config.accl_fifo_enable = in inv_scan_query_mpu6050()
30 st->chip_config.temp_fifo_enable = in inv_scan_query_mpu6050()
34 if (st->chip_config.gyro_fifo_enable) in inv_scan_query_mpu6050()
36 if (st->chip_config.accl_fifo_enable) in inv_scan_query_mpu6050()
38 if (st->chip_config.temp_fifo_enable) in inv_scan_query_mpu6050()
55 st->chip_config.magn_fifo_enable = in inv_scan_query_mpu9x50()
62 if (st->chip_config.magn_fifo_enable) in inv_scan_query_mpu9x50()
89 if (st->chip_config.gyro_fifo_enable) in inv_compute_skip_samples()
93 if (st->chip_config.magn_fifo_enable) in inv_compute_skip_samples()
[all …]
Dinv_mpu_core.c251 clock = st->chip_config.clk; in inv_mpu6050_pwr_mgmt_1_write()
253 temp_dis = !st->chip_config.temp_en; in inv_mpu6050_pwr_mgmt_1_write()
278 st->chip_config.clk = clock; in inv_mpu6050_clock_switch()
296 if (mask & INV_MPU6050_SENSOR_ACCL && en == st->chip_config.accl_en) in inv_mpu6050_switch_engine()
298 if (mask & INV_MPU6050_SENSOR_GYRO && en == st->chip_config.gyro_en) in inv_mpu6050_switch_engine()
300 if (mask & INV_MPU6050_SENSOR_TEMP && en == st->chip_config.temp_en) in inv_mpu6050_switch_engine()
302 if (mask & INV_MPU6050_SENSOR_MAGN && en == st->chip_config.magn_en) in inv_mpu6050_switch_engine()
312 st->chip_config.temp_en = en; in inv_mpu6050_switch_engine()
317 user_ctrl = st->chip_config.user_ctrl; in inv_mpu6050_switch_engine()
325 st->chip_config.user_ctrl = user_ctrl; in inv_mpu6050_switch_engine()
[all …]
Dinv_mpu_ring.c140 if (!(st->chip_config.accl_fifo_enable | in inv_mpu6050_read_fifo()
141 st->chip_config.gyro_fifo_enable | in inv_mpu6050_read_fifo()
142 st->chip_config.magn_fifo_enable)) in inv_mpu6050_read_fifo()
145 if (st->chip_config.accl_fifo_enable) in inv_mpu6050_read_fifo()
148 if (st->chip_config.gyro_fifo_enable) in inv_mpu6050_read_fifo()
151 if (st->chip_config.temp_fifo_enable) in inv_mpu6050_read_fifo()
154 if (st->chip_config.magn_fifo_enable) in inv_mpu6050_read_fifo()
Dinv_mpu_aux.c34 user_ctrl = st->chip_config.user_ctrl | INV_MPU6050_BIT_I2C_MST_EN; in inv_mpu_i2c_master_xfer()
43 user_ctrl = st->chip_config.user_ctrl; in inv_mpu_i2c_master_xfer()
49 d = st->chip_config.divider; in inv_mpu_i2c_master_xfer()
57 regmap_write(st->map, st->reg->user_ctrl, st->chip_config.user_ctrl); in inv_mpu_i2c_master_xfer()
59 regmap_write(st->map, st->reg->sample_rate_div, st->chip_config.divider); in inv_mpu_i2c_master_xfer()
Dinv_mpu_spi.c28 st->chip_config.user_ctrl |= INV_MPU6050_BIT_I2C_IF_DIS; in inv_mpu_i2c_disable()
30 st->chip_config.user_ctrl); in inv_mpu_i2c_disable()
Dinv_mpu_iio.h180 struct inv_mpu6050_chip_config chip_config; member
364 ((st)->chip_config.divider + 1)
/Linux-v5.10/drivers/media/pci/cx18/
Dcx18-cards.c76 .chip_config = 0x003,
123 .chip_config = 0x003,
170 .chip_config = 0x003,
223 .chip_config = 0x50003,
276 .chip_config = 0x303,
336 .chip_config = 0x303,
392 .chip_config = 0x50306,
440 .chip_config = 0x202,
489 .chip_config = 0x303,
542 .chip_config = 0x303,
Dcx18-cards.h99 u32 chip_config; member
Dcx18-firmware.c324 cx18_write_reg(cx, cx->card->ddr.chip_config, CX18_DDR_CHIP_CONFIG); in cx18_init_memory()
/Linux-v5.10/drivers/iio/pressure/
Dbmp280-core.c119 int (*chip_config)(struct bmp280_data *); member
501 return data->chip_info->chip_config(data); in bmp280_write_oversampling_ratio_humid()
518 return data->chip_info->chip_config(data); in bmp280_write_oversampling_ratio_temp()
535 return data->chip_info->chip_config(data); in bmp280_write_oversampling_ratio_press()
649 .chip_config = bmp280_chip_config,
682 .chip_config = bme280_chip_config,
924 .chip_config = bmp180_chip_config,
1083 ret = data->chip_info->chip_config(data); in bmp280_common_probe()
1160 return data->chip_info->chip_config(data); in bmp280_runtime_resume()
/Linux-v5.10/drivers/iio/adc/
Dad799x.c125 const struct ad799x_chip_config *chip_config; member
794 st->chip_config = &chip_info->irq_config; in ad799x_probe()
796 st->chip_config = &chip_info->noirq_config; in ad799x_probe()
818 indio_dev->info = st->chip_config->info; in ad799x_probe()
821 indio_dev->channels = st->chip_config->channel; in ad799x_probe()
824 ret = ad799x_update_config(st, st->chip_config->default_config); in ad799x_probe()
/Linux-v5.10/drivers/iio/accel/
Dbma180.c65 int (*chip_config)(struct bma180_data *data); member
806 .chip_config = bma023_chip_config,
834 .chip_config = bma023_chip_config,
861 .chip_config = bma180_chip_config,
890 .chip_config = bma25x_chip_config,
919 .chip_config = bma25x_chip_config,
1032 ret = data->part_info->chip_config(data); in bma180_probe()
/Linux-v5.10/drivers/spi/
Dspi-mt65xx.c201 struct mtk_chip_config *chip_config = spi->controller_data; in mtk_spi_prepare_message() local
242 if (chip_config->sample_sel) in mtk_spi_prepare_message()