Lines Matching refs:bt_keys
23 #define LOG_MODULE_NAME bt_keys
34 static struct bt_keys key_pool[CONFIG_BT_MAX_PAIRED];
40 static struct bt_keys *last_keys_updated;
43 struct bt_keys *bt_keys_get_addr(u8_t id, const bt_addr_le_t *addr) in bt_keys_get_addr()
45 struct bt_keys *keys; in bt_keys_get_addr()
66 struct bt_keys *oldest = &key_pool[0]; in bt_keys_get_addr()
70 struct bt_keys *current = &key_pool[i]; in bt_keys_get_addr()
110 struct bt_keys *keys = &key_pool[i]; in bt_foreach_bond()
121 void bt_keys_foreach(int type, void (*func)(struct bt_keys *keys, void *data), in bt_keys_foreach()
133 struct bt_keys *bt_keys_find(int type, u8_t id, const bt_addr_le_t *addr) in bt_keys_find()
149 struct bt_keys *bt_keys_get_type(int type, u8_t id, const bt_addr_le_t *addr) in bt_keys_get_type()
151 struct bt_keys *keys; in bt_keys_get_type()
170 struct bt_keys *bt_keys_find_irk(u8_t id, const bt_addr_le_t *addr) in bt_keys_find_irk()
219 struct bt_keys *bt_keys_find_addr(u8_t id, const bt_addr_le_t *addr) in bt_keys_find_addr()
235 void bt_keys_add_type(struct bt_keys *keys, int type) in bt_keys_add_type()
240 void bt_keys_clear(struct bt_keys *keys) in bt_keys_clear()
271 int bt_keys_store(struct bt_keys *keys) in bt_keys_store()
302 struct bt_keys *keys; in keys_set()
388 static void id_add(struct bt_keys *keys, void *user_data) in id_add()
415 SETTINGS_HANDLER_DEFINE(bt_keys, "bt/keys", NULL, keys_set, keys_commit, in bt_key_settings_init()
425 struct bt_keys *keys = bt_keys_find_addr(id, addr); in bt_keys_update_usage()