Lines Matching refs:cb
40 static const struct bt_tmap_cb *cb; variable
55 if (cb->discovery_complete) { in tmap_char_read()
56 cb->discovery_complete(0, conn, err); in tmap_char_read()
64 if (cb->discovery_complete) { in tmap_char_read()
65 cb->discovery_complete(0, conn, BT_ATT_ERR_INVALID_ATTRIBUTE_LEN); in tmap_char_read()
75 if (cb->discovery_complete) { in tmap_char_read()
76 cb->discovery_complete((enum bt_tmap_role)peer_role, conn, 0); in tmap_char_read()
79 if (cb->discovery_complete) { in tmap_char_read()
80 cb->discovery_complete(0, conn, BT_ATT_ERR_VALUE_NOT_ALLOWED); in tmap_char_read()
97 if (cb->discovery_complete) { in discover_func()
98 cb->discovery_complete(0, conn, BT_ATT_ERR_ATTRIBUTE_NOT_FOUND); in discover_func()
237 cb = tmap_cb; in bt_tmap_discover()