Lines Matching refs:ots
71 static int ots_obj_created(struct bt_ots *ots, struct bt_conn *conn, uint64_t id, in ots_obj_created() argument
114 static int ots_obj_deleted(struct bt_ots *ots, struct bt_conn *conn, in ots_obj_deleted() argument
128 static void ots_obj_selected(struct bt_ots *ots, struct bt_conn *conn, in ots_obj_selected() argument
138 static ssize_t ots_obj_read(struct bt_ots *ots, struct bt_conn *conn, in ots_obj_read() argument
170 static ssize_t ots_obj_write(struct bt_ots *ots, struct bt_conn *conn, in ots_obj_write() argument
188 static void ots_obj_name_written(struct bt_ots *ots, struct bt_conn *conn, in ots_obj_name_written() argument
199 static int ots_obj_cal_checksum(struct bt_ots *ots, struct bt_conn *conn, uint64_t id, in ots_obj_cal_checksum() argument
225 struct bt_ots *ots; in ots_init() local
234 ots = bt_ots_free_instance_get(); in ots_init()
235 if (!ots) { in ots_init()
251 err = bt_ots_init(ots, &ots_init); in ots_init()
280 err = bt_ots_obj_add(ots, ¶m); in ots_init()
308 err = bt_ots_obj_add(ots, ¶m); in ots_init()