Lines Matching refs:proc

54 	struct bt_gatt_ots_oacp_proc *proc)  in oacp_create_proc_validate()  argument
60 .size = proc->create_params.size, in oacp_create_proc_validate()
61 .type = proc->create_params.type, in oacp_create_proc_validate()
126 struct bt_gatt_ots_oacp_proc *proc) in oacp_delete_proc_validate() argument
169 struct bt_gatt_ots_oacp_proc *proc, in oacp_checksum_proc_validate() argument
172 struct bt_gatt_ots_oacp_cs_calc_params *params = &proc->cs_calc_params; in oacp_checksum_proc_validate()
217 const struct bt_gatt_ots_oacp_proc *proc) in oacp_read_proc_validate() argument
219 const struct bt_gatt_ots_oacp_read_params *params = &proc->read_params; in oacp_read_proc_validate()
247 memcpy(&ots->cur_obj->state.read_op.oacp_params, &proc->read_params, in oacp_read_proc_validate()
259 struct bt_gatt_ots_oacp_proc *proc) in oacp_write_proc_validate() argument
261 struct bt_gatt_ots_oacp_write_params *params = &proc->write_params; in oacp_write_proc_validate()
326 struct bt_gatt_ots_oacp_proc *proc, in oacp_proc_validate() argument
329 switch (proc->type) { in oacp_proc_validate()
331 return oacp_read_proc_validate(conn, ots, proc); in oacp_proc_validate()
334 return oacp_write_proc_validate(conn, ots, proc); in oacp_proc_validate()
338 return oacp_create_proc_validate(conn, ots, proc); in oacp_proc_validate()
342 return oacp_delete_proc_validate(conn, ots, proc); in oacp_proc_validate()
346 return oacp_checksum_proc_validate(conn, ots, proc, resp_param); in oacp_proc_validate()
356 struct bt_gatt_ots_oacp_proc *proc) in oacp_command_decode() argument
366 proc->type = net_buf_simple_pull_u8(&net_buf); in oacp_command_decode()
367 switch (proc->type) { in oacp_command_decode()
373 proc->create_params.size = net_buf_simple_pull_le32(&net_buf); in oacp_command_decode()
374 if (!bt_uuid_create(&proc->create_params.type.uuid, net_buf.data, in oacp_command_decode()
381 switch (proc->create_params.type.uuid.type) { in oacp_command_decode()
403 proc->cs_calc_params.offset = in oacp_command_decode()
405 proc->cs_calc_params.len = in oacp_command_decode()
419 proc->read_params.offset = in oacp_command_decode()
421 proc->read_params.len = in oacp_command_decode()
430 proc->write_params.offset = in oacp_command_decode()
432 proc->write_params.len = in oacp_command_decode()
434 proc->write_params.mode = in oacp_command_decode()