Lines Matching defs:smc_cmd
446 struct tc_ns_smc_cmd smc_cmd = { {0}, 0};
456 smc_cmd.cmd_type = CMD_TYPE_GLOBAL;
457 smc_cmd.cmd_id = GLOBAL_CMD_ID_REGISTER_TTF_MEM;
471 smc_cmd.operation_phys = (unsigned int)mailbox_virt_to_phys((uintptr_t)&mb_pack->operation);
472 smc_cmd.operation_h_phys = mailbox_virt_to_phys((uintptr_t)&mb_pack->operation) >> HIGH_VALUES;
473 if (tc_ns_smc(&smc_cmd)) {
475 tloge("send ttf mem info failed. ret = 0x%x\n", smc_cmd.ret_val);
1034 static int32_t tui_send_smc_cmd(int32_t event, struct mb_cmd_pack *mb_pack, struct tc_ns_smc_cmd smc_cmd)
1052 smc_cmd.cmd_type = CMD_TYPE_GLOBAL;
1053 smc_cmd.operation_phys = mailbox_virt_to_phys((uintptr_t)&mb_pack->operation);
1054 smc_cmd.operation_h_phys = mailbox_virt_to_phys((uintptr_t)&mb_pack->operation) >> HIGH_VALUES;
1055 smc_cmd.agent_id = event;
1056 smc_cmd.uid = uid;
1058 int32_t ret = tc_ns_smc(&smc_cmd);
1068 /* Send tui event by smc_cmd */
1093 struct tc_ns_smc_cmd smc_cmd = { {0}, 0 };
1105 smc_cmd.cmd_id = GLOBAL_CMD_ID_TUI_EXCEPTION;
1114 smc_cmd.cmd_id = GLOBAL_CMD_ID_TUI_NOTCH;
1118 smc_cmd.cmd_id = GLOBAL_CMD_ID_TUI_FOLD;
1125 ret = tui_send_smc_cmd(event, mb_pack, smc_cmd);