/linux-6.3-rc2/drivers/iio/imu/inv_mpu6050/ |
A 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 …]
|
A D | inv_mpu_core.c | 282 clock = st->chip_config.clk; in inv_mpu6050_pwr_mgmt_1_write() 309 st->chip_config.clk = clock; in inv_mpu6050_clock_switch() 343 st->chip_config.temp_en = en; in inv_mpu6050_switch_engine() 357 st->chip_config.magn_en = en; in inv_mpu6050_switch_engine() 524 d = st->chip_config.divider; in inv_mpu6050_init_config() 631 if (!st->chip_config.accl_en && !st->chip_config.gyro_en) { in inv_mpu6050_read_channel_data() 769 st->chip_config.fsr = i; in inv_mpu6050_write_gyro_scale() 917 st->chip_config.lpf = data; in inv_mpu6050_set_lpf() 959 st->chip_config.divider = d; in inv_mpu6050_fifo_rate_store() 1710 if (st->chip_config.accl_en) in inv_mpu_suspend() [all …]
|
A 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()
|
A 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()
|
A D | inv_mpu_spi.c | 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()
|
A D | inv_mpu_iio.h | 186 struct inv_mpu6050_chip_config chip_config; member 380 ((st)->chip_config.divider + 1)
|
/linux-6.3-rc2/drivers/media/pci/cx18/ |
A 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,
|
A D | cx18-cards.h | 99 u32 chip_config; member
|
A D | cx18-firmware.c | 324 cx18_write_reg(cx, cx->card->ddr.chip_config, CX18_DDR_CHIP_CONFIG); in cx18_init_memory()
|
/linux-6.3-rc2/drivers/iio/pressure/ |
A D | bmp280-core.c | 214 int (*chip_config)(struct bmp280_data *); member 665 data->chip_info->chip_config(data); in bmp280_write_oversampling_ratio_humid() 690 data->chip_info->chip_config(data); in bmp280_write_oversampling_ratio_temp() 715 data->chip_info->chip_config(data); in bmp280_write_oversampling_ratio_press() 740 data->chip_info->chip_config(data); in bmp280_write_sampling_frequency() 764 data->chip_info->chip_config(data); in bmp280_write_iir_filter_coeffs() 932 .chip_config = bmp280_chip_config, 974 .chip_config = bme280_chip_config, 1344 .chip_config = bmp380_chip_config, 1598 .chip_config = bmp180_chip_config, [all …]
|
/linux-6.3-rc2/drivers/iio/adc/ |
A D | ad799x.c | 126 const struct ad799x_chip_config *chip_config; member 798 st->chip_config = &chip_info->irq_config; in ad799x_probe() 800 st->chip_config = &chip_info->noirq_config; in ad799x_probe() 844 indio_dev->info = st->chip_config->info; in ad799x_probe() 847 indio_dev->channels = st->chip_config->channel; in ad799x_probe() 850 ret = ad799x_update_config(st, st->chip_config->default_config | extra_config); in ad799x_probe()
|
/linux-6.3-rc2/drivers/iio/accel/ |
A 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()
|
/linux-6.3-rc2/drivers/spi/ |
A D | spi-mt65xx.c | 355 struct mtk_chip_config *chip_config = spi->controller_data; in mtk_spi_hw_init() local 405 if (chip_config->sample_sel) in mtk_spi_hw_init() 432 reg_val |= ((chip_config->tick_delay & 0x7) in mtk_spi_hw_init() 438 reg_val |= ((chip_config->tick_delay & 0x7) in mtk_spi_hw_init() 445 reg_val |= ((chip_config->tick_delay & 0x3) in mtk_spi_hw_init()
|
/linux-6.3-rc2/drivers/net/phy/ |
A D | motorcomm.c | 848 int chip_config; in yt8521_probe() local 859 chip_config = ytphy_read_ext_with_lock(phydev, YT8521_CHIP_CONFIG_REG); in yt8521_probe() 860 if (chip_config < 0) in yt8521_probe() 861 return chip_config; in yt8521_probe() 863 priv->strap_mode = chip_config & YT8521_CCR_MODE_SEL_MASK; in yt8521_probe()
|
/linux-6.3-rc2/drivers/hwmon/ |
A D | lm90.c | 688 u32 chip_config[2]; member 2796 info->config = data->chip_config; in lm90_probe() 2798 data->chip_config[0] = HWMON_C_REGISTER_TZ; in lm90_probe() 2800 data->chip_config[0] |= HWMON_C_ALARMS; in lm90_probe() 2802 data->chip_config[0] |= HWMON_C_UPDATE_INTERVAL; in lm90_probe() 2804 data->chip_config[0] |= HWMON_C_TEMP_SAMPLES; in lm90_probe()
|