Lines Matching refs:sr_info

75 	struct scan_recv_info *sr_info = (struct scan_recv_info *)user_data;  in device_found()  local
81 memcpy(sr_info->bt_name, data->data, MIN(data->data_len, NAME_LEN - 1)); in device_found()
84 memcpy(sr_info->broadcast_name, data->data, MIN(data->data_len, NAME_LEN - 1)); in device_found()
100 sr_info->broadcast_id = sys_get_le24(data->data + BT_UUID_SIZE_16); in device_found()
130 sr_info->has_bass = true; in device_found()
135 sr_info->has_pacs = true; in device_found()
295 struct scan_recv_info sr_info = {0}; in scan_recv_cb() local
300 sr_info.broadcast_id = BT_BAP_INVALID_BROADCAST_ID; in scan_recv_cb()
308 bt_data_parse(ad, device_found, (void *)&sr_info); in scan_recv_cb()
310 if (sr_info.broadcast_id != BT_BAP_INVALID_BROADCAST_ID) { in scan_recv_cb()
312 printk(" BT Name: %s\n", sr_info.bt_name); in scan_recv_cb()
313 printk(" Broadcast Name: %s\n", sr_info.broadcast_name); in scan_recv_cb()
314 printk(" Broadcast ID: 0x%06x\n\n", sr_info.broadcast_id); in scan_recv_cb()
319 if (is_substring(CONFIG_SELECT_SOURCE_NAME, sr_info.bt_name) || in scan_recv_cb()
321 sr_info.broadcast_name)) { in scan_recv_cb()
341 printk("Selecting Broadcast ID: 0x%06x\n", sr_info.broadcast_id); in scan_recv_cb()
343 selected_broadcast_id = sr_info.broadcast_id; in scan_recv_cb()
361 bt_data_parse(ad, device_found, (void *)&sr_info); in scan_recv_cb()
363 if (sr_info.has_bass && sr_info.has_pacs) { in scan_recv_cb()
365 printk(" BT Name: %s\n", sr_info.bt_name); in scan_recv_cb()
369 if (is_substring(CONFIG_SELECT_SINK_NAME, sr_info.bt_name)) { in scan_recv_cb()
383 printk("Connecting to Broadcast Sink: %s\n", sr_info.bt_name); in scan_recv_cb()