Lines Matching refs:opcode
847 (params->length != sizeof(cmd.opcode) &&
848 params->length != sizeof(cmd.opcode) + sizeof(cmd.param))) {
854 (void)memcpy(&cmd.opcode, params->data, sizeof(cmd.opcode));
855 if (params->length == sizeof(cmd.opcode) + sizeof(cmd.param)) {
857 (char *)(params->data) + sizeof(cmd.opcode),
860 LOG_DBG("Command in callback: %d, param: %d", cmd.opcode, cmd.param);
3073 CHECKIF(!BT_MCS_VALID_OP(cmd->opcode)) {
3074 LOG_DBG("Opcode 0x%02X is invalid", cmd->opcode);
3094 length = sizeof(cmd->opcode);
3095 (void)memcpy(mcs_inst->write_buf, &cmd->opcode, length);
3098 (void)memcpy(&mcs_inst->write_buf[sizeof(cmd->opcode)], &cmd->param,