Home
last modified time | relevance | path

Searched refs:mc_enc (Results 1 – 1 of 1) sorted by relevance

/external/u-boot/include/fsl-mc/
Dfsl_mc_cmd.h13 static inline uint64_t mc_enc(int lsoffset, int width, uint64_t val) in mc_enc() function
81 ((_ext)[_param] |= cpu_to_le64(mc_enc((_offset), (_width), _arg)))
87 ((_cmd).params[_param] |= mc_enc((_offset), (_width), _arg))
106 hdr = mc_enc(MC_CMD_HDR_CMDID_O, MC_CMD_HDR_CMDID_S, cmd_id); in mc_encode_cmd_header()
107 hdr |= mc_enc(MC_CMD_HDR_FLAGS_O, MC_CMD_HDR_FLAGS_S, in mc_encode_cmd_header()
109 hdr |= mc_enc(MC_CMD_HDR_TOKEN_O, MC_CMD_HDR_TOKEN_S, token); in mc_encode_cmd_header()
110 hdr |= mc_enc(MC_CMD_HDR_STATUS_O, MC_CMD_HDR_STATUS_S, in mc_encode_cmd_header()