Lines Matching refs:command
638 struct mpl_cmd command; in write_control_point() local
644 if (len != sizeof(command.opcode) && in write_control_point()
645 len != sizeof(command.opcode) + sizeof(command.param)) { in write_control_point()
649 memcpy(&command.opcode, buf, sizeof(command.opcode)); in write_control_point()
650 LOG_DBG("Opcode: %d", command.opcode); in write_control_point()
651 command.use_param = false; in write_control_point()
653 if (!BT_MCS_VALID_OP(command.opcode)) { in write_control_point()
657 .requested_opcode = command.opcode, in write_control_point()
661 LOG_DBG("Opcode 0x%02X is invalid", command.opcode); in write_control_point()
673 .requested_opcode = command.opcode, in write_control_point()
685 if (len == sizeof(command.opcode) + sizeof(command.param)) { in write_control_point()
686 command.param = sys_get_le32((char *)buf + sizeof(command.opcode)); in write_control_point()
687 command.use_param = true; in write_control_point()
688 LOG_DBG("Parameter: %d", command.param); in write_control_point()
691 media_proxy_sctrl_send_command(&command); in write_control_point()
1450 cbs.command = media_proxy_sctrl_command_cb; in bt_mcs_init()