Searched refs:cfg_reg (Results 1 – 4 of 4) sorted by relevance
/Zephyr-Core-3.6.0/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-Core-3.6.0/drivers/sensor/tmp116/ |
D | tmp116.c | 170 uint16_t cfg_reg = 0; in tmp116_sample_fetch() local 180 rc = tmp116_reg_read(dev, TMP116_REG_CFGR, &cfg_reg); in tmp116_sample_fetch() 187 if ((cfg_reg & TMP116_CFGR_DATA_READY) == 0) { in tmp116_sample_fetch()
|
/Zephyr-Core-3.6.0/drivers/dma/ |
D | dma_mcux_lpc.c | 658 uint32_t cfg_reg = 0; in dma_mcux_lpc_configure() local 662 cfg_reg |= DMA_CHANNEL_CFG_PERIPHREQEN_MASK; in dma_mcux_lpc_configure() 666 cfg_reg |= DMA_CHANNEL_CFG_HWTRIGEN_MASK; in dma_mcux_lpc_configure() 668 cfg_reg |= DMA_CHANNEL_CFG_TRIGTYPE_MASK; in dma_mcux_lpc_configure() 671 cfg_reg |= DMA_CHANNEL_CFG_TRIGPOL_MASK; in dma_mcux_lpc_configure() 674 cfg_reg |= DMA_CHANNEL_CFG_TRIGBURST_MASK; in dma_mcux_lpc_configure() 675 cfg_reg |= DMA_CHANNEL_CFG_BURSTPOWER( in dma_mcux_lpc_configure() 679 p_handle->base->CHANNEL[p_handle->channel].CFG = cfg_reg; in dma_mcux_lpc_configure()
|