Lines Matching refs:ev

71 	struct btp_aics_state_ev ev;  in btp_send_aics_state_ev()  local
73 bt_addr_le_copy(&ev.address, bt_conn_get_dst(conn)); in btp_send_aics_state_ev()
75 ev.att_status = att_status; in btp_send_aics_state_ev()
76 ev.gain = gain; in btp_send_aics_state_ev()
77 ev.mute = mute; in btp_send_aics_state_ev()
78 ev.mode = mode; in btp_send_aics_state_ev()
80 tester_event(BTP_SERVICE_ID_AICS, BTP_AICS_STATE_EV, &ev, sizeof(ev)); in btp_send_aics_state_ev()
86 struct btp_gain_setting_properties_ev ev; in btp_send_gain_setting_properties_ev() local
88 bt_addr_le_copy(&ev.address, bt_conn_get_dst(conn)); in btp_send_gain_setting_properties_ev()
90 ev.att_status = att_status; in btp_send_gain_setting_properties_ev()
91 ev.units = units; in btp_send_gain_setting_properties_ev()
92 ev.minimum = minimum; in btp_send_gain_setting_properties_ev()
93 ev.maximum = maximum; in btp_send_gain_setting_properties_ev()
95 tester_event(BTP_SERVICE_ID_AICS, BTP_GAIN_SETTING_PROPERTIES_EV, &ev, sizeof(ev)); in btp_send_gain_setting_properties_ev()
100 struct btp_aics_input_type_ev ev; in btp_send_aics_input_type_event() local
102 bt_addr_le_copy(&ev.address, bt_conn_get_dst(conn)); in btp_send_aics_input_type_event()
104 ev.att_status = att_status; in btp_send_aics_input_type_event()
105 ev.input_type = input_type; in btp_send_aics_input_type_event()
107 tester_event(BTP_SERVICE_ID_AICS, BTP_AICS_INPUT_TYPE_EV, &ev, sizeof(ev)); in btp_send_aics_input_type_event()
112 struct btp_aics_status_ev ev; in btp_send_aics_status_ev() local
114 bt_addr_le_copy(&ev.address, bt_conn_get_dst(conn)); in btp_send_aics_status_ev()
116 ev.att_status = att_status; in btp_send_aics_status_ev()
117 ev.active = active; in btp_send_aics_status_ev()
119 tester_event(BTP_SERVICE_ID_AICS, BTP_AICS_STATUS_EV, &ev, sizeof(ev)); in btp_send_aics_status_ev()
125 struct btp_aics_description_ev *ev; in btp_send_aics_description_ev() local
129 ev = net_buf_simple_add(rx_ev_buf, sizeof(*ev)); in btp_send_aics_description_ev()
131 bt_addr_le_copy(&ev->address, bt_conn_get_dst(conn)); in btp_send_aics_description_ev()
133 ev->att_status = att_status; in btp_send_aics_description_ev()
134 ev->data_len = data_len; in btp_send_aics_description_ev()
135 memcpy(ev->data, description, data_len); in btp_send_aics_description_ev()
137 tester_event(BTP_SERVICE_ID_AICS, BTP_AICS_DESCRIPTION_EV, ev, sizeof(*ev) + data_len); in btp_send_aics_description_ev()
142 struct btp_aics_procedure_ev ev; in btp_send_aics_procedure_ev() local
144 bt_addr_le_copy(&ev.address, bt_conn_get_dst(conn)); in btp_send_aics_procedure_ev()
146 ev.att_status = att_status; in btp_send_aics_procedure_ev()
147 ev.opcode = opcode; in btp_send_aics_procedure_ev()
149 tester_event(BTP_SERVICE_ID_AICS, BTP_AICS_PROCEDURE_EV, &ev, sizeof(ev)); in btp_send_aics_procedure_ev()