Lines Matching +full:smc +full:- +full:id
37 {.compatible = "brcm,kona-smc"},
38 {.compatible = "bcm,kona-smc"}, /* deprecated name */
54 return -ENODEV; in bcm_kona_smc_init()
58 return -EINVAL; in bcm_kona_smc_init()
60 /* We assume space for four 32-bit arguments */ in bcm_kona_smc_init()
62 return -EINVAL; in bcm_kona_smc_init()
67 return -EINVAL; in bcm_kona_smc_init()
71 return -ENOMEM; in bcm_kona_smc_init()
82 * Only core 0 can run the secure monitor code. If an "smc" request
86 * Each "smc" request supplies a service id and the address of a
91 * Parameters to the "smc" request are passed in r4-r6 as follows:
92 * r4 service id
96 * Execution of an "smc" request produces two distinct results.
100 * "smc" request completes this value is found in r12; it should
107 * when the "smc" request completes.
129 " smc #0\n" in bcm_kona_do_smc()
139 /* __bcm_kona_smc() should only run on CPU 0, with pre-emption disabled */
149 writel_relaxed(data->arg0, args++); in __bcm_kona_smc()
150 writel_relaxed(data->arg1, args++); in __bcm_kona_smc()
151 writel_relaxed(data->arg2, args++); in __bcm_kona_smc()
152 writel(data->arg3, args); in __bcm_kona_smc()
158 data->result = bcm_kona_do_smc(data->service_id, bcm_smc_buffer_phys); in __bcm_kona_smc()