Lines Matching +full:smc +full:- +full:id
35 {.compatible = "brcm,kona-smc"},
36 {.compatible = "bcm,kona-smc"}, /* deprecated name */
52 return -ENODEV; in bcm_kona_smc_init()
56 return -EINVAL; in bcm_kona_smc_init()
58 /* We assume space for four 32-bit arguments */ in bcm_kona_smc_init()
60 return -EINVAL; in bcm_kona_smc_init()
65 return -EINVAL; in bcm_kona_smc_init()
69 return -ENOMEM; in bcm_kona_smc_init()
80 * Only core 0 can run the secure monitor code. If an "smc" request
84 * Each "smc" request supplies a service id and the address of a
89 * Parameters to the "smc" request are passed in r4-r6 as follows:
90 * r4 service id
94 * Execution of an "smc" request produces two distinct results.
98 * "smc" request completes this value is found in r12; it should
105 * when the "smc" request completes.
127 " smc #0\n" in bcm_kona_do_smc()
137 /* __bcm_kona_smc() should only run on CPU 0, with pre-emption disabled */
147 writel_relaxed(data->arg0, args++); in __bcm_kona_smc()
148 writel_relaxed(data->arg1, args++); in __bcm_kona_smc()
149 writel_relaxed(data->arg2, args++); in __bcm_kona_smc()
150 writel(data->arg3, args); in __bcm_kona_smc()
156 data->result = bcm_kona_do_smc(data->service_id, bcm_smc_buffer_phys); in __bcm_kona_smc()