Searched refs:scp_cmd (Results 1 – 1 of 1) sorted by relevance
1242 struct mpl_sci scp_cmd; in mcp_cmd_search() local1259 scp_cmd.type = cp->type; in mcp_cmd_search()1261 if (scp_cmd.type == BT_MCS_SEARCH_TYPE_ONLY_TRACKS || in mcp_cmd_search()1262 scp_cmd.type == BT_MCS_SEARCH_TYPE_ONLY_GROUPS) { in mcp_cmd_search()1263 scp_cmd.len = sizeof(scp_cmd.type); in mcp_cmd_search()1265 if (ARRAY_SIZE(search_items.search) < (sizeof(scp_cmd.len) + in mcp_cmd_search()1266 sizeof(scp_cmd.type))) { in mcp_cmd_search()1270 memcpy(&search_items.search[search_items.len], &scp_cmd.len, sizeof(scp_cmd.len)); in mcp_cmd_search()1271 search_items.len += sizeof(scp_cmd.len); in mcp_cmd_search()1273 memcpy(&search_items.search[search_items.len], &scp_cmd.type, in mcp_cmd_search()[all …]