Lines Matching refs:iv
1042 struct iv_val iv; in iv_set() local
1053 err = bt_mesh_settings_set(read_cb, cb_arg, &iv, sizeof(iv)); in iv_set()
1059 bt_mesh.iv_index = iv.iv_index; in iv_set()
1060 atomic_set_bit_to(bt_mesh.flags, BT_MESH_IVU_IN_PROGRESS, iv.iv_update); in iv_set()
1061 bt_mesh.ivu_duration = iv.iv_duration; in iv_set()
1063 LOG_DBG("IV Index 0x%04x (IV Update Flag %u) duration %u hours", iv.iv_index, iv.iv_update, in iv_set()
1064 iv.iv_duration); in iv_set()
1069 BT_MESH_SETTINGS_DEFINE(iv, "IV", iv_set);
1170 struct iv_val iv; in store_pending_iv() local
1173 iv.iv_index = bt_mesh.iv_index; in store_pending_iv()
1174 iv.iv_update = atomic_test_bit(bt_mesh.flags, BT_MESH_IVU_IN_PROGRESS); in store_pending_iv()
1175 iv.iv_duration = bt_mesh.ivu_duration; in store_pending_iv()
1177 err = settings_save_one("bt/mesh/IV", &iv, sizeof(iv)); in store_pending_iv()