Home
last modified time | relevance | path

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

/drivers/iio/imu/inv_mpu6050/
Dinv_mpu_ring.c68 if (st->chip_config.accl_fifo_enable || in inv_reset_fifo()
69 st->chip_config.gyro_fifo_enable) { in inv_reset_fifo()
82 if (st->chip_config.gyro_fifo_enable) in inv_reset_fifo()
84 if (st->chip_config.accl_fifo_enable) in inv_reset_fifo()
132 if (!(st->chip_config.accl_fifo_enable | in inv_mpu6050_read_fifo()
133 st->chip_config.gyro_fifo_enable)) in inv_mpu6050_read_fifo()
136 if (st->chip_config.accl_fifo_enable) in inv_mpu6050_read_fifo()
139 if (st->chip_config.gyro_fifo_enable) in inv_mpu6050_read_fifo()
Dinv_mpu_core.c276 memcpy(&st->chip_config, hw_info[st->chip_type].config, in inv_mpu6050_init_config()
328 if (!st->chip_config.enable) { in inv_mpu6050_read_raw()
336 if (!st->chip_config.gyro_fifo_enable || in inv_mpu6050_read_raw()
337 !st->chip_config.enable) { in inv_mpu6050_read_raw()
345 if (!st->chip_config.gyro_fifo_enable || in inv_mpu6050_read_raw()
346 !st->chip_config.enable) { in inv_mpu6050_read_raw()
354 if (!st->chip_config.accl_fifo_enable || in inv_mpu6050_read_raw()
355 !st->chip_config.enable) { in inv_mpu6050_read_raw()
363 if (!st->chip_config.accl_fifo_enable || in inv_mpu6050_read_raw()
364 !st->chip_config.enable) { in inv_mpu6050_read_raw()
[all …]
Dinv_mpu_trigger.c20 st->chip_config.gyro_fifo_enable = in inv_scan_query()
28 st->chip_config.accl_fifo_enable = in inv_scan_query()
52 if (st->chip_config.gyro_fifo_enable) { in inv_mpu6050_set_enable()
58 if (st->chip_config.accl_fifo_enable) { in inv_mpu6050_set_enable()
93 st->chip_config.enable = enable; in inv_mpu6050_set_enable()
Dinv_mpu_iio.h131 struct inv_mpu6050_chip_config chip_config; member
/drivers/media/pci/cx18/
Dcx18-cards.c90 .chip_config = 0x003,
137 .chip_config = 0x003,
184 .chip_config = 0x003,
237 .chip_config = 0x50003,
290 .chip_config = 0x303,
350 .chip_config = 0x303,
406 .chip_config = 0x50306,
454 .chip_config = 0x202,
503 .chip_config = 0x303,
556 .chip_config = 0x303,
Dcx18-cards.h118 u32 chip_config; member
Dcx18-firmware.c338 cx18_write_reg(cx, cx->card->ddr.chip_config, CX18_DDR_CHIP_CONFIG); in cx18_init_memory()
/drivers/iio/pressure/
Dbmp280-core.c92 int (*chip_config)(struct bmp280_data *); member
425 return data->chip_info->chip_config(data); in bmp280_write_oversampling_ratio_humid()
442 return data->chip_info->chip_config(data); in bmp280_write_oversampling_ratio_temp()
459 return data->chip_info->chip_config(data); in bmp280_write_oversampling_ratio_press()
593 .chip_config = bmp280_chip_config,
620 .chip_config = bme280_chip_config,
862 .chip_config = bmp180_chip_config,
1004 ret = data->chip_info->chip_config(data); in bmp280_common_probe()
1106 return data->chip_info->chip_config(data); in bmp280_runtime_resume()
/drivers/iio/adc/
Dad799x.c129 const struct ad799x_chip_config *chip_config; member
786 st->chip_config = &chip_info->irq_config; in ad799x_probe()
788 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_write_config(st, st->chip_config->default_config); in ad799x_probe()
/drivers/spi/
Dspi-mt65xx.c150 struct mtk_chip_config *chip_config = spi->controller_data; in mtk_spi_prepare_message() local
167 if (chip_config->tx_mlsb) in mtk_spi_prepare_message()
171 if (chip_config->rx_mlsb) in mtk_spi_prepare_message()
/drivers/iio/accel/
Dbma180.c58 int (*chip_config)(struct bma180_data *data); member
721 ret = data->part_info->chip_config(data); in bma180_probe()