Lines Matching defs:cp
2360 unsigned char cp[254], rp[254];
2363 memset(&cp, 0, sizeof(cp));
2364 cp[0] = 0xc2;
2365 memcpy(cp + 1, cmd, sizeof(cmd));
2372 return hci_send_cmd(dd, OGF_VENDOR_CMD, 0x00, sizeof(cmd) + 1, cp);
2379 rq.cparam = cp;
2406 unsigned char cp[254], rp[254];
2409 memset(&cp, 0, sizeof(cp));
2410 cp[0] = 0xc2;
2411 memcpy(cp + 1, cmd, sizeof(cmd));
2412 memcpy(cp + 11, value, length);
2418 rq.cparam = cp;
2445 unsigned char cp[254], rp[254];
2448 memset(&cp, 0, sizeof(cp));
2449 cp[0] = 0xc2;
2450 memcpy(cp + 1, cmd, sizeof(cmd));
2451 memcpy(cp + 11, value, length);
2457 rq.cparam = cp;
2486 unsigned char cp[254], rp[254];
2489 memset(&cp, 0, sizeof(cp));
2490 cp[0] = 0xc2;
2491 memcpy(cp + 1, cmd, sizeof(cmd));
2497 rq.cparam = cp;
2526 unsigned char cp[254], rp[254];
2529 memset(&cp, 0, sizeof(cp));
2530 cp[0] = 0xc2;
2531 memcpy(cp + 1, cmd, sizeof(cmd));
2537 rq.cparam = cp;
2568 unsigned char cp[254], rp[254];
2571 memset(&cp, 0, sizeof(cp));
2572 cp[0] = 0xc2;
2573 memcpy(cp + 1, cmd, sizeof(cmd));
2579 rq.cparam = cp;
2610 unsigned char cp[254], rp[254];
2613 memset(&cp, 0, sizeof(cp));
2614 cp[0] = 0xc2;
2615 memcpy(cp + 1, cmd, sizeof(cmd));
2617 memcpy(cp + 17, value, length);
2623 rq.cparam = cp;