Lines Matching refs:ev
238 struct btp_vocs_offset_state_ev ev; in btp_send_vocs_state_ev() local
240 bt_addr_le_copy(&ev.address, bt_conn_get_dst(conn)); in btp_send_vocs_state_ev()
242 ev.att_status = att_status; in btp_send_vocs_state_ev()
243 ev.offset = sys_cpu_to_le16(offset); in btp_send_vocs_state_ev()
245 tester_event(BTP_SERVICE_ID_VOCS, BTP_VOCS_OFFSET_STATE_EV, &ev, sizeof(ev)); in btp_send_vocs_state_ev()
250 struct btp_vocs_audio_location_ev ev; in btp_send_vocs_location_ev() local
252 bt_addr_le_copy(&ev.address, bt_conn_get_dst(conn)); in btp_send_vocs_location_ev()
254 ev.att_status = att_status; in btp_send_vocs_location_ev()
255 ev.location = sys_cpu_to_le32(location); in btp_send_vocs_location_ev()
257 tester_event(BTP_SERVICE_ID_VOCS, BTP_VOCS_AUDIO_LOCATION_EV, &ev, sizeof(ev)); in btp_send_vocs_location_ev()
262 struct btp_vocs_procedure_ev ev; in btp_send_vocs_procedure_ev() local
264 bt_addr_le_copy(&ev.address, bt_conn_get_dst(conn)); in btp_send_vocs_procedure_ev()
266 ev.att_status = att_status; in btp_send_vocs_procedure_ev()
267 ev.opcode = opcode; in btp_send_vocs_procedure_ev()
269 tester_event(BTP_SERVICE_ID_VOCS, BTP_VOCS_PROCEDURE_EV, &ev, sizeof(ev)); in btp_send_vocs_procedure_ev()
561 struct btp_vcp_discovered_ev ev; in btp_send_vcp_found_ev() local
563 bt_addr_le_copy(&ev.address, bt_conn_get_dst(conn)); in btp_send_vcp_found_ev()
565 ev.att_status = att_status; in btp_send_vcp_found_ev()
566 ev.vcs_handles.control_handle = sys_cpu_to_le16(chrc_handles->vcp_handles.ctrl_pt); in btp_send_vcp_found_ev()
567 ev.vcs_handles.flag_handle = sys_cpu_to_le16(chrc_handles->vcp_handles.flags); in btp_send_vcp_found_ev()
568 ev.vcs_handles.state_handle = sys_cpu_to_le16(chrc_handles->vcp_handles.state); in btp_send_vcp_found_ev()
569 ev.vocs_handles.state_handle = sys_cpu_to_le16(chrc_handles->vocs_handles.state); in btp_send_vcp_found_ev()
570 ev.vocs_handles.location_handle = sys_cpu_to_le16(chrc_handles->vocs_handles.location); in btp_send_vcp_found_ev()
571 ev.vocs_handles.control_handle = sys_cpu_to_le16(chrc_handles->vocs_handles.control); in btp_send_vcp_found_ev()
572 ev.vocs_handles.desc_handle = sys_cpu_to_le16(chrc_handles->vocs_handles.desc); in btp_send_vcp_found_ev()
573 ev.aics_handles.state_handle = sys_cpu_to_le16(chrc_handles->aics_handles.state); in btp_send_vcp_found_ev()
574 ev.aics_handles.gain_handle = sys_cpu_to_le16(chrc_handles->aics_handles.gain); in btp_send_vcp_found_ev()
575 ev.aics_handles.type_handle = sys_cpu_to_le16(chrc_handles->aics_handles.type); in btp_send_vcp_found_ev()
576 ev.aics_handles.status_handle = sys_cpu_to_le16(chrc_handles->aics_handles.status); in btp_send_vcp_found_ev()
577 ev.aics_handles.control_handle = sys_cpu_to_le16(chrc_handles->aics_handles.control); in btp_send_vcp_found_ev()
578 ev.aics_handles.desc_handle = sys_cpu_to_le16(chrc_handles->aics_handles.desc); in btp_send_vcp_found_ev()
580 tester_event(BTP_SERVICE_ID_VCP, BTP_VCP_DISCOVERED_EV, &ev, sizeof(ev)); in btp_send_vcp_found_ev()
586 struct btp_vcp_state_ev ev; in btp_send_vcp_state_ev() local
588 bt_addr_le_copy(&ev.address, bt_conn_get_dst(conn)); in btp_send_vcp_state_ev()
590 ev.att_status = att_status; in btp_send_vcp_state_ev()
591 ev.volume = volume; in btp_send_vcp_state_ev()
592 ev.mute = mute; in btp_send_vcp_state_ev()
594 tester_event(BTP_SERVICE_ID_VCP, BTP_VCP_STATE_EV, &ev, sizeof(ev)); in btp_send_vcp_state_ev()
599 struct btp_vcp_volume_flags_ev ev; in btp_send_vcp_volume_flags_ev() local
601 bt_addr_le_copy(&ev.address, bt_conn_get_dst(conn)); in btp_send_vcp_volume_flags_ev()
603 ev.att_status = att_status; in btp_send_vcp_volume_flags_ev()
604 ev.flags = flags; in btp_send_vcp_volume_flags_ev()
606 tester_event(BTP_SERVICE_ID_VCP, BTP_VCP_FLAGS_EV, &ev, sizeof(ev)); in btp_send_vcp_volume_flags_ev()
611 struct btp_vcp_procedure_ev ev; in btp_send_vcp_procedure_ev() local
613 bt_addr_le_copy(&ev.address, bt_conn_get_dst(conn)); in btp_send_vcp_procedure_ev()
615 ev.att_status = att_status; in btp_send_vcp_procedure_ev()
616 ev.opcode = opcode; in btp_send_vcp_procedure_ev()
618 tester_event(BTP_SERVICE_ID_VCP, BTP_VCP_PROCEDURE_EV, &ev, sizeof(ev)); in btp_send_vcp_procedure_ev()