/openbmc/linux/drivers/iio/imu/inv_mpu6050/ |
H A D | inv_mpu_trigger.c | 23 st->chip_config.temp_fifo_enable = true; in inv_scan_query_mpu6050() 27 st->chip_config.gyro_fifo_enable = in inv_scan_query_mpu6050() 35 st->chip_config.accl_fifo_enable = in inv_scan_query_mpu6050() 43 st->chip_config.temp_fifo_enable = in inv_scan_query_mpu6050() 47 if (st->chip_config.gyro_fifo_enable) in inv_scan_query_mpu6050() 49 if (st->chip_config.accl_fifo_enable) in inv_scan_query_mpu6050() 51 if (st->chip_config.temp_fifo_enable) in inv_scan_query_mpu6050() 68 st->chip_config.magn_fifo_enable = in inv_scan_query_mpu9x50() 75 if (st->chip_config.magn_fifo_enable) in inv_scan_query_mpu9x50() 100 if (st->chip_config.magn_fifo_enable) in inv_compute_skip_samples() [all …]
|
H A D | inv_mpu_ring.c | 71 if (!(st->chip_config.accl_fifo_enable | in inv_mpu6050_read_fifo() 72 st->chip_config.gyro_fifo_enable | in inv_mpu6050_read_fifo() 73 st->chip_config.magn_fifo_enable)) in inv_mpu6050_read_fifo() 76 if (st->chip_config.accl_fifo_enable) in inv_mpu6050_read_fifo() 79 if (st->chip_config.gyro_fifo_enable) in inv_mpu6050_read_fifo() 82 if (st->chip_config.temp_fifo_enable) in inv_mpu6050_read_fifo() 85 if (st->chip_config.magn_fifo_enable) in inv_mpu6050_read_fifo() 115 fifo_period = NSEC_PER_SEC / INV_MPU6050_DIVIDER_TO_FIFO_RATE(st->chip_config.divider); in inv_mpu6050_read_fifo()
|
H A D | inv_mpu_core.c | 294 clock = st->chip_config.clk; in inv_mpu6050_pwr_mgmt_1_write() 296 temp_dis = !st->chip_config.temp_en; in inv_mpu6050_pwr_mgmt_1_write() 321 st->chip_config.clk = clock; in inv_mpu6050_clock_switch() 339 if (mask & INV_MPU6050_SENSOR_ACCL && en == st->chip_config.accl_en) in inv_mpu6050_switch_engine() 341 if (mask & INV_MPU6050_SENSOR_GYRO && en == st->chip_config.gyro_en) in inv_mpu6050_switch_engine() 343 if (mask & INV_MPU6050_SENSOR_TEMP && en == st->chip_config.temp_en) in inv_mpu6050_switch_engine() 345 if (mask & INV_MPU6050_SENSOR_MAGN && en == st->chip_config.magn_en) in inv_mpu6050_switch_engine() 355 st->chip_config.temp_en = en; in inv_mpu6050_switch_engine() 360 user_ctrl = st->chip_config.user_ctrl; in inv_mpu6050_switch_engine() 368 st->chip_config.user_ctrl = user_ctrl; in inv_mpu6050_switch_engine() [all …]
|
H 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()
|
H 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()
|
H A D | inv_mpu_iio.h | 187 struct inv_mpu6050_chip_config chip_config; member 379 ((st)->chip_config.divider + 1)
|
/openbmc/linux/drivers/media/pci/cx18/ |
H 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,
|
H A D | cx18-cards.h | 99 u32 chip_config; member
|
H A D | cx18-firmware.c | 324 cx18_write_reg(cx, cx->card->ddr.chip_config, CX18_DDR_CHIP_CONFIG); in cx18_init_memory()
|
/openbmc/u-boot/drivers/net/ |
H A D | natsemi.c | 294 u32 iobase, status, chip_config; in natsemi_initialize() local 378 chip_config = INL(dev, ChipConfig); in natsemi_initialize() 383 dev->name, chip_config & AnegMask ? "enabled, advertise" : in natsemi_initialize() 384 "disabled, force", chip_config & SpeedMask ? "0" : "", in natsemi_initialize() 385 chip_config & DuplexMask ? "full" : "half"); in natsemi_initialize() 387 chip_config |= AnegEnBothBoth; in natsemi_initialize() 390 dev->name, chip_config & AnegMask ? "enabled, advertise" : in natsemi_initialize() 391 "disabled, force", chip_config & SpeedMask ? "0" : "", in natsemi_initialize() 392 chip_config & DuplexMask ? "full" : "half"); in natsemi_initialize() 395 OUTL(dev, (chip_config | PhyRst), ChipConfig); in natsemi_initialize() [all …]
|
H A D | ns8382x.c | 314 u32 chip_config; in ns8382x_initialize() local 401 chip_config = INL(dev, ChipConfig); in ns8382x_initialize() 403 OUTL(dev, (chip_config | PhyRst), ChipConfig); in ns8382x_initialize() 405 OUTL(dev, (chip_config & ~(PhyDis)), ChipConfig); in ns8382x_initialize()
|
/openbmc/linux/drivers/iio/pressure/ |
H A D | bmp280-core.c | 553 ret = data->chip_info->chip_config(data); in bme280_write_oversampling_ratio_humid() 556 data->chip_info->chip_config(data); in bme280_write_oversampling_ratio_humid() 578 ret = data->chip_info->chip_config(data); in bmp280_write_oversampling_ratio_temp() 581 data->chip_info->chip_config(data); in bmp280_write_oversampling_ratio_temp() 603 ret = data->chip_info->chip_config(data); in bmp280_write_oversampling_ratio_press() 606 data->chip_info->chip_config(data); in bmp280_write_oversampling_ratio_press() 628 ret = data->chip_info->chip_config(data); in bmp280_write_sampling_frequency() 631 data->chip_info->chip_config(data); in bmp280_write_sampling_frequency() 652 ret = data->chip_info->chip_config(data); in bmp280_write_iir_filter_coeffs() 655 data->chip_info->chip_config(data); in bmp280_write_iir_filter_coeffs() [all …]
|
H A D | bmp280.h | 453 int (*chip_config)(struct bmp280_data *); member
|
/openbmc/qemu/hw/isa/ |
H A D | lpc_ich9.c | 96 pci_get_word(lpc->chip_config + *offset)); in ich9_cc_update() 134 uint8_t *c = lpc->chip_config; in ich9_cc_reset() 136 memset(lpc->chip_config, 0, sizeof(lpc->chip_config)); in ich9_cc_reset() 166 memcpy(lpc->chip_config + addr, &val, len); in ich9_cc_write() 179 memcpy(&val, lpc->chip_config + addr, len); in ich9_cc_read() 818 VMSTATE_UINT8_ARRAY(chip_config, ICH9LPCState, ICH9_CC_SIZE),
|
/openbmc/linux/drivers/iio/adc/ |
H 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()
|
/openbmc/linux/drivers/iio/accel/ |
H A D | bma180.c | 61 int (*chip_config)(struct bma180_data *data); member 781 .chip_config = bma023_chip_config, 809 .chip_config = bma023_chip_config, 836 .chip_config = bma180_chip_config, 864 .chip_config = bma250_chip_config, 979 ret = data->part_info->chip_config(data); in bma180_probe()
|
/openbmc/qemu/include/hw/southbridge/ |
H A D | ich9.h | 47 uint8_t chip_config[ICH9_CC_SIZE]; member
|
/openbmc/linux/drivers/spi/ |
H 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()
|
/openbmc/u-boot/arch/arm/cpu/arm926ejs/spear/ |
H A D | spr_misc.c | 243 U_BOOT_CMD(chip_config, 3, 1, do_chip_config,
|
/openbmc/u-boot/doc/ |
H A D | README.spear | 74 memory by using chip_config command
|
/openbmc/linux/drivers/net/phy/ |
H A D | motorcomm.c | 962 int chip_config; in yt8521_probe() local 973 chip_config = ytphy_read_ext_with_lock(phydev, YT8521_CHIP_CONFIG_REG); in yt8521_probe() 974 if (chip_config < 0) in yt8521_probe() 975 return chip_config; in yt8521_probe() 977 priv->strap_mode = chip_config & YT8521_CCR_MODE_SEL_MASK; in yt8521_probe()
|
/openbmc/linux/drivers/hwmon/ |
H 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()
|
/openbmc/qemu/hw/acpi/ |
H A D | ich9_tco.c | 54 uint32_t gcs = pci_get_long(lpc->chip_config + ICH9_CC_GCS); in tco_timer_expired()
|