/Zephyr-latest/drivers/sensor/ti/tmp007/ |
D | tmp007.c | 46 uint16_t new_val; in tmp007_reg_update() local 52 new_val = old_val & ~mask; in tmp007_reg_update() 53 new_val |= val & mask; in tmp007_reg_update() 55 return tmp007_reg_write(i2c, reg, new_val); in tmp007_reg_update()
|
/Zephyr-latest/tests/subsys/settings/fcb_init/src/ |
D | settings_test_fcb_init.c | 106 uint8_t new_val[FLASH_WRITE_BLOCK_SIZE]; in test_prepare_storage() local 121 (void)memset(new_val, (~ERASED_VAL) & 0xFF, in test_prepare_storage() 123 err = flash_write(dev, (off_t)&prepared_mark, &new_val, in test_prepare_storage() 124 sizeof(new_val)); in test_prepare_storage()
|
/Zephyr-latest/drivers/sensor/ti/opt3001/ |
D | opt3001.c | 52 uint16_t new_val; in opt3001_reg_update() local 58 new_val = old_val & ~mask; in opt3001_reg_update() 59 new_val |= val & mask; in opt3001_reg_update() 61 return opt3001_reg_write(dev, reg, new_val); in opt3001_reg_update()
|
/Zephyr-latest/drivers/charger/ |
D | sbs_charger.c | 53 uint16_t old_val, new_val; in sbs_cmd_reg_update() local 61 new_val = (old_val & ~mask) | (val & mask); in sbs_cmd_reg_update() 62 if (new_val == old_val) { in sbs_cmd_reg_update() 66 return sbs_cmd_reg_write(dev, reg_addr, new_val); in sbs_cmd_reg_update()
|
/Zephyr-latest/drivers/sensor/maxim/max44009/ |
D | max44009.c | 60 uint8_t new_val = 0U; in max44009_reg_update() local 66 new_val = old_val & ~mask; in max44009_reg_update() 67 new_val |= val & mask; in max44009_reg_update() 69 return max44009_reg_write(dev, reg, new_val); in max44009_reg_update()
|
/Zephyr-latest/drivers/gpio/ |
D | gpio_rt1718s.h | 156 uint8_t new_val) in rt1718s_reg_update() argument 158 if (reg_val == new_val) { in rt1718s_reg_update() 162 return rt1718s_reg_write_byte(dev, reg_addr, new_val); in rt1718s_reg_update()
|
D | gpio_ite_it8801.c | 259 uint8_t val, new_val; in gpio_it8801_port_toggle_bits() local 266 new_val = val ^ pins; in gpio_it8801_port_toggle_bits() 267 if (new_val != val) { in gpio_it8801_port_toggle_bits() 268 ret = i2c_reg_write_byte_dt(&config->i2c_dev, config->reg_sovr, new_val); in gpio_it8801_port_toggle_bits()
|
/Zephyr-latest/samples/bluetooth/peripheral_esp/src/ |
D | main.c | 269 static bool check_condition(uint8_t condition, int16_t old_val, int16_t new_val, in check_condition() argument 280 return new_val != old_val; in check_condition() 282 return new_val < ref_val; in check_condition() 284 return new_val <= ref_val; in check_condition() 286 return new_val > ref_val; in check_condition() 288 return new_val >= ref_val; in check_condition() 290 return new_val == ref_val; in check_condition() 292 return new_val != ref_val; in check_condition()
|
/Zephyr-latest/drivers/sensor/ti/tmp112/ |
D | tmp112.c | 55 const uint16_t new_val = set_config_flags(data, mask, val); in tmp112_update_config() local 57 rc = tmp112_reg_write(dev->config, TMP112_REG_CONFIG, new_val); in tmp112_update_config() 59 data->config_reg = new_val; in tmp112_update_config()
|
/Zephyr-latest/arch/x86/core/ |
D | x86_mmu.c | 795 pentry_t new_val; in reset_pte() local 798 new_val = old_val & (~K_MEM_PARTITION_PERM_MASK); in reset_pte() 802 new_val |= MMU_RW; in reset_pte() 805 new_val |= MMU_US; in reset_pte() 809 new_val |= MMU_XD; in reset_pte() 812 return new_val; in reset_pte() 937 pentry_t old_val, new_val; in pte_atomic_update() local 942 new_val = old_val; in pte_atomic_update() 944 if (is_flipped_pte(new_val)) { in pte_atomic_update() 946 new_val = ~new_val; in pte_atomic_update() [all …]
|
/Zephyr-latest/drivers/sensor/maxim/max31875/ |
D | max31875.c | 108 const uint16_t new_val = set_config_flags(data, mask, val); in max31875_update_config() local 110 rc = max31875_reg_write(cfg, MAX31875_REG_CONFIG, new_val); in max31875_update_config() 114 data->config_reg = new_val; in max31875_update_config()
|
/Zephyr-latest/drivers/sensor/vishay/veml7700/ |
D | veml7700.c | 283 static int veml7700_set_shutdown_flag(const struct device *dev, uint8_t new_val) in veml7700_set_shutdown_flag() argument 290 data->shut_down = new_val; in veml7700_set_shutdown_flag()
|
/Zephyr-latest/drivers/display/ |
D | display_nrf_led_matrix.c | 184 int16_t new_val = old_val + delta; in api_set_brightness() local 187 (uint8_t)CLAMP(new_val, 1, BRIGHTNESS_MAX); in api_set_brightness()
|
/Zephyr-latest/scripts/kconfig/ |
D | kconfiglib.py | 1379 def _assigned_twice(self, sym, new_val, filename, linenr): argument 1389 sym.name_and_loc, user_val, new_val) 1391 if user_val == new_val:
|
/Zephyr-latest/subsys/bluetooth/mesh/ |
D | cfg_cli.c | 1159 static int set_state_u8(uint16_t net_idx, uint16_t addr, uint32_t op, uint32_t rsp, uint8_t new_val, in set_state_u8() argument 1172 net_buf_simple_add_u8(&msg, new_val); in set_state_u8()
|