smc.h 433 B

12345678910
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. extern int tango_smc(unsigned int val, unsigned int service);
  3. #define tango_set_l2_control(val) tango_smc(val, 0x102)
  4. #define tango_start_aux_core(val) tango_smc(val, 0x104)
  5. #define tango_set_aux_boot_addr(val) tango_smc(val, 0x105)
  6. #define tango_suspend(val) tango_smc(val, 0x120)
  7. #define tango_aux_core_die(val) tango_smc(val, 0x121)
  8. #define tango_aux_core_kill(val) tango_smc(val, 0x122)