Lines Matching defs:bluetooth_data

121 struct bluetooth_data {
168 static int audioservice_send(struct bluetooth_data *data, const bt_audio_msg_header_t *msg);
169 static int audioservice_expect(struct bluetooth_data *data, bt_audio_msg_header_t *outmsg,
171 static int bluetooth_a2dp_hw_params(struct bluetooth_data *data);
172 static void set_state(struct bluetooth_data *data, a2dp_state_t state);
175 static void bluetooth_close(struct bluetooth_data *data)
216 static int bluetooth_start(struct bluetooth_data *data)
283 static int bluetooth_stop(struct bluetooth_data *data)
356 static int bluetooth_a2dp_init(struct bluetooth_data *data)
435 static void bluetooth_a2dp_setup(struct bluetooth_data *data)
499 static int bluetooth_a2dp_hw_params(struct bluetooth_data *data)
639 static int avdtp_write(struct bluetooth_data *data)
732 static int audioservice_send(struct bluetooth_data *data,
755 static int audioservice_recv(struct bluetooth_data *data,
808 static int audioservice_expect(struct bluetooth_data *data,
826 static int bluetooth_init(struct bluetooth_data *data)
852 static int bluetooth_parse_capabilities(struct bluetooth_data *data,
883 static int bluetooth_configure(struct bluetooth_data *data)
942 static void set_state(struct bluetooth_data *data, a2dp_state_t state)
948 static void __set_command(struct bluetooth_data *data, a2dp_command_t command)
956 static void set_command(struct bluetooth_data *data, a2dp_command_t command)
964 static int wait_for_start(struct bluetooth_data *data, int timeout)
1023 static void a2dp_free(struct bluetooth_data *data)
1035 struct bluetooth_data* data = (struct bluetooth_data*)d;
1110 struct bluetooth_data* data;
1116 data = malloc(sizeof(struct bluetooth_data));
1120 memset(data, 0, sizeof(struct bluetooth_data));
1175 struct bluetooth_data* data = (struct bluetooth_data*)d;
1184 struct bluetooth_data* data = (struct bluetooth_data*)d;
1252 struct bluetooth_data* data = (struct bluetooth_data*)d;
1263 struct bluetooth_data* data = (struct bluetooth_data*)d;