Lines Matching refs:l2cap
39 ots = CONTAINER_OF(l2cap_ctx, struct bt_ots, l2cap); in oacp_l2cap_closed()
232 if (!bt_gatt_ots_l2cap_is_open(&ots->l2cap, conn)) { in oacp_read_proc_validate()
289 if (!bt_gatt_ots_l2cap_is_open(&ots->l2cap, conn)) { in oacp_write_proc_validate()
310 ots->l2cap.rx_done = oacp_write_proc_cb; in oacp_write_proc_validate()
311 ots->l2cap.closed = oacp_l2cap_closed; in oacp_write_proc_validate()
457 ots = CONTAINER_OF(l2cap_ctx, struct bt_ots, l2cap); in oacp_read_proc_cb()
502 bt_gatt_ots_l2cap_disconnect(&ots->l2cap); in oacp_read_proc_cb()
508 ots->l2cap.tx_done = oacp_read_proc_cb; in oacp_read_proc_cb()
509 ots->l2cap.closed = oacp_l2cap_closed; in oacp_read_proc_cb()
510 err = bt_gatt_ots_l2cap_send(&ots->l2cap, obj_chunk, len); in oacp_read_proc_cb()
534 oacp_read_proc_cb(&ots->l2cap, conn); in oacp_read_proc_execute()
548 ots = CONTAINER_OF(l2cap_ctx, struct bt_ots, l2cap); in oacp_write_proc_cb()