| .. | .. |
|---|
| 61 | 61 | return res.a0; |
|---|
| 62 | 62 | } |
|---|
| 63 | 63 | |
|---|
| 64 | +int sip_smc_remotectl_config(unsigned long func, unsigned long data) |
|---|
| 65 | +{ |
|---|
| 66 | + struct arm_smccc_res res; |
|---|
| 67 | + |
|---|
| 68 | + res = __invoke_sip_fn_smc(SIP_REMOTECTL_CFG, func, data, 0); |
|---|
| 69 | + |
|---|
| 70 | + return res.a0; |
|---|
| 71 | +} |
|---|
| 72 | + |
|---|
| 64 | 73 | int sip_smc_amp_cfg(unsigned long func, unsigned long arg0, unsigned long arg1, |
|---|
| 65 | 74 | unsigned long arg2) |
|---|
| 66 | 75 | { |
|---|
| .. | .. |
|---|
| 142 | 151 | |
|---|
| 143 | 152 | return 0; |
|---|
| 144 | 153 | } |
|---|
| 154 | + |
|---|
| 155 | +int sip_smc_mcu_config(unsigned long mcu_id, unsigned long func, unsigned long arg2) |
|---|
| 156 | +{ |
|---|
| 157 | + struct arm_smccc_res res; |
|---|
| 158 | + |
|---|
| 159 | + res = __invoke_sip_fn_smc(SIP_MCU_CFG, mcu_id, func, arg2); |
|---|
| 160 | + return res.a0; |
|---|
| 161 | +} |
|---|