Home
last modified time | relevance | path

Searched refs:reg_value (Results 1 – 5 of 5) sorted by relevance

/device/google/contexthub/firmware/os/cpu/cortexm4/inc/cpu/cmsis/
Dcore_cm3.h1313 uint32_t reg_value; in NVIC_SetPriorityGrouping() local
1316reg_value = SCB->AIRCR; /* read old register c… in NVIC_SetPriorityGrouping()
1317reg_value &= ~(SCB_AIRCR_VECTKEY_Msk | SCB_AIRCR_PRIGROUP_Msk); /* clear bits to chang… in NVIC_SetPriorityGrouping()
1318 reg_value = (reg_value | in NVIC_SetPriorityGrouping()
1321 SCB->AIRCR = reg_value; in NVIC_SetPriorityGrouping()
Dcore_sc300.h1293 uint32_t reg_value; in NVIC_SetPriorityGrouping() local
1296reg_value = SCB->AIRCR; /* read old register c… in NVIC_SetPriorityGrouping()
1297reg_value &= ~(SCB_AIRCR_VECTKEY_Msk | SCB_AIRCR_PRIGROUP_Msk); /* clear bits to chang… in NVIC_SetPriorityGrouping()
1298 reg_value = (reg_value | in NVIC_SetPriorityGrouping()
1301 SCB->AIRCR = reg_value; in NVIC_SetPriorityGrouping()
Dcore_cm4.h1464 uint32_t reg_value; in NVIC_SetPriorityGrouping() local
1467reg_value = SCB->AIRCR; /* read old register c… in NVIC_SetPriorityGrouping()
1468reg_value &= ~(SCB_AIRCR_VECTKEY_Msk | SCB_AIRCR_PRIGROUP_Msk); /* clear bits to chang… in NVIC_SetPriorityGrouping()
1469 reg_value = (reg_value | in NVIC_SetPriorityGrouping()
1472 SCB->AIRCR = reg_value; in NVIC_SetPriorityGrouping()
Dcore_cm7.h1651 uint32_t reg_value; in NVIC_SetPriorityGrouping() local
1654reg_value = SCB->AIRCR; /* read old register c… in NVIC_SetPriorityGrouping()
1655reg_value &= ~(SCB_AIRCR_VECTKEY_Msk | SCB_AIRCR_PRIGROUP_Msk); /* clear bits to chang… in NVIC_SetPriorityGrouping()
1656 reg_value = (reg_value | in NVIC_SetPriorityGrouping()
1659 SCB->AIRCR = reg_value; in NVIC_SetPriorityGrouping()
/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/
Dst_lsm6dsm.c2702 uint8_t i, reg_value = LSM6DSM_SENSOR_SLAVE_BARO_POWER_BASE; in lsm6dsm_setPressPower() local
2708 reg_value |= LSM6DSM_SENSOR_SLAVE_BARO_RATES_REG_VALUE(i); in lsm6dsm_setPressPower()
2710 reg_value |= LSM6DSM_SENSOR_SLAVE_BARO_POWER_OFF_VALUE; in lsm6dsm_setPressPower()
2712 SPI_WRITE_SLAVE_SENSOR_REGISTER(LSM6DSM_SENSOR_SLAVE_BARO_POWER_ADDR, reg_value, in lsm6dsm_setPressPower()
2779 uint8_t i, reg_value = LSM6DSM_SENSOR_SLAVE_BARO_POWER_BASE; in lsm6dsm_setTempPower() local
2785 reg_value |= LSM6DSM_SENSOR_SLAVE_BARO_RATES_REG_VALUE(i); in lsm6dsm_setTempPower()
2787 reg_value |= LSM6DSM_SENSOR_SLAVE_BARO_POWER_OFF_VALUE; in lsm6dsm_setTempPower()
2789 SPI_WRITE_SLAVE_SENSOR_REGISTER(LSM6DSM_SENSOR_SLAVE_BARO_POWER_ADDR, reg_value, in lsm6dsm_setTempPower()