Searched refs:cfg_reg (Results 1 – 5 of 5) sorted by relevance
/Zephyr-latest/drivers/regulator/ |
D | regulator_adp5360.c | 42 uint8_t cfg_reg; member 54 .cfg_reg = ADP5360_BUCK_CFG, 67 .cfg_reg = ADP5360_BUCKBST_CFG, 147 return i2c_reg_update_byte_dt(&config->i2c, config->desc->cfg_reg, in regulator_adp5360_set_mode() 162 ret = i2c_reg_read_byte_dt(&config->i2c, config->desc->cfg_reg, &val); in regulator_adp5360_get_mode() 176 return i2c_reg_update_byte_dt(&config->i2c, config->desc->cfg_reg, ADP5360_BUCK_CFG_EN_MSK, in regulator_adp5360_enable() 184 return i2c_reg_update_byte_dt(&config->i2c, config->desc->cfg_reg, ADP5360_BUCK_CFG_EN_MSK, in regulator_adp5360_disable() 227 ret = i2c_reg_read_byte_dt(&config->i2c, config->desc->cfg_reg, &val); in regulator_adp5360_init() 261 ret = i2c_reg_write_byte_dt(&config->i2c, config->desc->cfg_reg, in regulator_adp5360_init()
|
D | regulator_max20335.c | 50 uint8_t cfg_reg; member 81 .cfg_reg = MAX20335_BUCK1_CFG, 90 .cfg_reg = MAX20335_BUCK2_CFG, 99 .cfg_reg = MAX20335_LDO1_CFG, 107 .cfg_reg = MAX20335_LDO2_CFG, 115 .cfg_reg = MAX20335_LDO3_CFG, 124 config->desc->cfg_reg, in regulator_max20335_set_enable() 154 config->desc->cfg_reg, in regulator_max20335_set_mode()
|
/Zephyr-latest/drivers/sensor/ti/tmp114/ |
D | tmp114.c | 85 uint16_t cfg_reg = 0; in tmp114_sample_fetch() local 95 rc = tmp114_reg_read(dev, TMP114_REG_ALERT, &cfg_reg); in tmp114_sample_fetch() 101 if ((cfg_reg & TMP114_ALERT_DATA_READY) == 0) { in tmp114_sample_fetch()
|
/Zephyr-latest/drivers/dma/ |
D | dma_mcux_lpc.c | 690 uint32_t cfg_reg = 0; in dma_mcux_lpc_configure() local 694 cfg_reg |= DMA_CHANNEL_CFG_PERIPHREQEN_MASK; in dma_mcux_lpc_configure() 698 cfg_reg |= DMA_CHANNEL_CFG_HWTRIGEN_MASK; in dma_mcux_lpc_configure() 700 cfg_reg |= DMA_CHANNEL_CFG_TRIGTYPE_MASK; in dma_mcux_lpc_configure() 703 cfg_reg |= DMA_CHANNEL_CFG_TRIGPOL_MASK; in dma_mcux_lpc_configure() 706 cfg_reg |= DMA_CHANNEL_CFG_TRIGBURST_MASK; in dma_mcux_lpc_configure() 707 cfg_reg |= DMA_CHANNEL_CFG_BURSTPOWER( in dma_mcux_lpc_configure() 711 p_handle->base->CHANNEL[p_handle->channel].CFG = cfg_reg; in dma_mcux_lpc_configure()
|
/Zephyr-latest/drivers/sensor/ti/tmp116/ |
D | tmp116.c | 188 uint16_t cfg_reg = 0; in tmp116_sample_fetch() local 198 rc = tmp116_reg_read(dev, TMP116_REG_CFGR, &cfg_reg); in tmp116_sample_fetch() 205 if ((cfg_reg & TMP116_CFGR_DATA_READY) == 0) { in tmp116_sample_fetch()
|