Zephyr Project API 4.0.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
sip_svc_agilex_smc.h File Reference

Intel SoC FPGA Agilex customized Arm SiP Services SMC protocol. More...

Go to the source code of this file.

Macros

#define SMC_STATUS_INVALID   0xFFFFFFFF
 
#define SMC_STATUS_OKAY   0
 
#define SMC_STATUS_BUSY   1
 
#define SMC_STATUS_REJECT   2
 
#define SMC_STATUS_NO_RESPONSE   3
 
#define SMC_STATUS_ERROR   4
 
#define SMC_PLAT_PROTO_VER   0x0
 
#define SMC_PLAT_PROTO_HEADER_TRANS_ID_OFFSET   0
 
#define SMC_PLAT_PROTO_HEADER_TRANS_ID_MASK   0xFF
 
#define SMC_PLAT_PROTO_HEADER_VER_OFFSET   60
 
#define SMC_PLAT_PROTO_HEADER_VER_MASK   0xF
 
#define SMC_PLAT_PROTO_HEADER    ((SMC_PLAT_PROTO_VER & SMC_PLAT_PROTO_HEADER_VER_MASK) << SMC_PLAT_PROTO_HEADER_VER_OFFSET)
 
#define SMC_PLAT_PROTO_HEADER_SET_TRANS_ID(header, trans_id)
 
#define SMC_FUNC_ID_GET_SVC_VERSION   0xC2000400
 
#define SMC_FUNC_ID_REG_READ   0xC2000401
 
#define SMC_FUNC_ID_REG_WRITE   0xC2000402
 
#define SMC_FUNC_ID_REG_UPDATE   0xC2000403
 
#define SMC_FUNC_ID_SET_HPS_BRIDGES   0xC2000404
 
#define SMC_FUNC_ID_RSU_UPDATE_ADDR   0xC2000405
 
#define SMC_FUNC_ID_MAILBOX_SEND_COMMAND   0xC2000420
 
#define SMC_FUNC_ID_MAILBOX_POLL_RESPONSE   0xC2000421
 
#define MAILBOX_CANCEL_COMMAND   0x03
 

Detailed Description

Intel SoC FPGA Agilex customized Arm SiP Services SMC protocol.

Macro Definition Documentation

◆ MAILBOX_CANCEL_COMMAND

#define MAILBOX_CANCEL_COMMAND   0x03

◆ SMC_FUNC_ID_GET_SVC_VERSION

#define SMC_FUNC_ID_GET_SVC_VERSION   0xC2000400

◆ SMC_FUNC_ID_MAILBOX_POLL_RESPONSE

#define SMC_FUNC_ID_MAILBOX_POLL_RESPONSE   0xC2000421

◆ SMC_FUNC_ID_MAILBOX_SEND_COMMAND

#define SMC_FUNC_ID_MAILBOX_SEND_COMMAND   0xC2000420

◆ SMC_FUNC_ID_REG_READ

#define SMC_FUNC_ID_REG_READ   0xC2000401

◆ SMC_FUNC_ID_REG_UPDATE

#define SMC_FUNC_ID_REG_UPDATE   0xC2000403

◆ SMC_FUNC_ID_REG_WRITE

#define SMC_FUNC_ID_REG_WRITE   0xC2000402

◆ SMC_FUNC_ID_RSU_UPDATE_ADDR

#define SMC_FUNC_ID_RSU_UPDATE_ADDR   0xC2000405

◆ SMC_FUNC_ID_SET_HPS_BRIDGES

#define SMC_FUNC_ID_SET_HPS_BRIDGES   0xC2000404

◆ SMC_PLAT_PROTO_HEADER

◆ SMC_PLAT_PROTO_HEADER_SET_TRANS_ID

#define SMC_PLAT_PROTO_HEADER_SET_TRANS_ID (   header,
  trans_id 
)
Value:
(header) &= \
(header) |= (((trans_id)&SMC_PLAT_PROTO_HEADER_TRANS_ID_MASK) \
#define SMC_PLAT_PROTO_HEADER_TRANS_ID_MASK
Definition sip_svc_agilex_smc.h:36
#define SMC_PLAT_PROTO_HEADER_TRANS_ID_OFFSET
Definition sip_svc_agilex_smc.h:35

◆ SMC_PLAT_PROTO_HEADER_TRANS_ID_MASK

#define SMC_PLAT_PROTO_HEADER_TRANS_ID_MASK   0xFF

◆ SMC_PLAT_PROTO_HEADER_TRANS_ID_OFFSET

#define SMC_PLAT_PROTO_HEADER_TRANS_ID_OFFSET   0

◆ SMC_PLAT_PROTO_HEADER_VER_MASK

#define SMC_PLAT_PROTO_HEADER_VER_MASK   0xF

◆ SMC_PLAT_PROTO_HEADER_VER_OFFSET

#define SMC_PLAT_PROTO_HEADER_VER_OFFSET   60

◆ SMC_PLAT_PROTO_VER

#define SMC_PLAT_PROTO_VER   0x0

◆ SMC_STATUS_BUSY

#define SMC_STATUS_BUSY   1

◆ SMC_STATUS_ERROR

#define SMC_STATUS_ERROR   4

◆ SMC_STATUS_INVALID

#define SMC_STATUS_INVALID   0xFFFFFFFF

◆ SMC_STATUS_NO_RESPONSE

#define SMC_STATUS_NO_RESPONSE   3

◆ SMC_STATUS_OKAY

#define SMC_STATUS_OKAY   0

◆ SMC_STATUS_REJECT

#define SMC_STATUS_REJECT   2