Searched refs:chip_config (Results 1 – 13 of 13) sorted by relevance
/drivers/iio/imu/inv_mpu6050/ |
D | inv_mpu_trigger.c | 20 st->chip_config.temp_fifo_enable = true; in inv_scan_query_mpu6050() 24 st->chip_config.gyro_fifo_enable = in inv_scan_query_mpu6050() 32 st->chip_config.accl_fifo_enable = in inv_scan_query_mpu6050() 40 st->chip_config.temp_fifo_enable = in inv_scan_query_mpu6050() 44 if (st->chip_config.gyro_fifo_enable) in inv_scan_query_mpu6050() 46 if (st->chip_config.accl_fifo_enable) in inv_scan_query_mpu6050() 48 if (st->chip_config.temp_fifo_enable) in inv_scan_query_mpu6050() 65 st->chip_config.magn_fifo_enable = in inv_scan_query_mpu9x50() 72 if (st->chip_config.magn_fifo_enable) in inv_scan_query_mpu9x50() 97 if (st->chip_config.magn_fifo_enable) in inv_compute_skip_samples() [all …]
|
D | inv_mpu_core.c | 273 clock = st->chip_config.clk; in inv_mpu6050_pwr_mgmt_1_write() 275 temp_dis = !st->chip_config.temp_en; in inv_mpu6050_pwr_mgmt_1_write() 300 st->chip_config.clk = clock; in inv_mpu6050_clock_switch() 318 if (mask & INV_MPU6050_SENSOR_ACCL && en == st->chip_config.accl_en) in inv_mpu6050_switch_engine() 320 if (mask & INV_MPU6050_SENSOR_GYRO && en == st->chip_config.gyro_en) in inv_mpu6050_switch_engine() 322 if (mask & INV_MPU6050_SENSOR_TEMP && en == st->chip_config.temp_en) in inv_mpu6050_switch_engine() 324 if (mask & INV_MPU6050_SENSOR_MAGN && en == st->chip_config.magn_en) in inv_mpu6050_switch_engine() 334 st->chip_config.temp_en = en; in inv_mpu6050_switch_engine() 339 user_ctrl = st->chip_config.user_ctrl; in inv_mpu6050_switch_engine() 347 st->chip_config.user_ctrl = user_ctrl; in inv_mpu6050_switch_engine() [all …]
|
D | inv_mpu_ring.c | 140 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()
|
D | inv_mpu_aux.c | 34 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()
|
D | inv_mpu_spi.c | 28 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()
|
D | inv_mpu_iio.h | 185 struct inv_mpu6050_chip_config chip_config; member 379 ((st)->chip_config.divider + 1)
|
/drivers/media/pci/cx18/ |
D | cx18-cards.c | 76 .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,
|
D | cx18-cards.h | 99 u32 chip_config; member
|
D | cx18-firmware.c | 324 cx18_write_reg(cx, cx->card->ddr.chip_config, CX18_DDR_CHIP_CONFIG); in cx18_init_memory()
|
/drivers/iio/pressure/ |
D | bmp280-core.c | 119 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()
|
/drivers/iio/adc/ |
D | ad799x.c | 125 const struct ad799x_chip_config *chip_config; member 788 st->chip_config = &chip_info->irq_config; in ad799x_probe() 790 st->chip_config = &chip_info->noirq_config; in ad799x_probe() 812 indio_dev->info = st->chip_config->info; in ad799x_probe() 815 indio_dev->channels = st->chip_config->channel; in ad799x_probe() 818 ret = ad799x_update_config(st, st->chip_config->default_config); in ad799x_probe()
|
/drivers/iio/accel/ |
D | bma180.c | 62 int (*chip_config)(struct bma180_data *data); member 782 .chip_config = bma023_chip_config, 810 .chip_config = bma023_chip_config, 837 .chip_config = bma180_chip_config, 865 .chip_config = bma250_chip_config, 980 ret = data->part_info->chip_config(data); in bma180_probe()
|
/drivers/spi/ |
D | spi-mt65xx.c | 287 struct mtk_chip_config *chip_config = spi->controller_data; in mtk_spi_prepare_message() local 328 if (chip_config->sample_sel) in mtk_spi_prepare_message() 354 reg_val |= ((chip_config->tick_delay & 0x7) in mtk_spi_prepare_message() 358 reg_val |= ((chip_config->tick_delay & 0x3) in mtk_spi_prepare_message()
|