Lines Matching refs:read_op
246 ots->cur_obj->state.read_op.sent_len = 0; in oacp_read_proc_validate()
247 memcpy(&ots->cur_obj->state.read_op.oacp_params, &proc->read_params, in oacp_read_proc_validate()
248 sizeof(ots->cur_obj->state.read_op.oacp_params)); in oacp_read_proc_validate()
455 struct bt_gatt_ots_object_read_op *read_op; in oacp_read_proc_cb() local
467 read_op = &ots->cur_obj->state.read_op; in oacp_read_proc_cb()
468 offset = read_op->oacp_params.offset + read_op->sent_len; in oacp_read_proc_cb()
470 if (read_op->sent_len >= read_op->oacp_params.len) { in oacp_read_proc_cb()
473 if (read_op->sent_len > read_op->oacp_params.len) { in oacp_read_proc_cb()
489 len = read_op->oacp_params.len - read_op->sent_len; in oacp_read_proc_cb()
516 read_op->sent_len += len; in oacp_read_proc_cb()
524 &ots->cur_obj->state.read_op.oacp_params; in oacp_read_proc_execute()