Home
last modified time | relevance | path

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

/system/core/trusty/utils/rpmb_dev/
Drpmb_protocol.h39 struct rpmb_u16 { struct
55 struct rpmb_u16 address; argument
56 struct rpmb_u16 block_count;
57 struct rpmb_u16 result;
58 struct rpmb_u16 req_resp;
89 static inline struct rpmb_u16 rpmb_u16(uint16_t val) { in rpmb_u16() function
90 struct rpmb_u16 ret = {{ in rpmb_u16()
107 static inline uint16_t rpmb_get_u16(struct rpmb_u16 u16) { in rpmb_get_u16()
Drpmb_dev.c390 s->res[0].result = rpmb_u16(RPMB_RES_NO_AUTH_KEY); in rpmb_dev_process_cmd()
410 s->res[i].address = rpmb_u16(addr); in rpmb_dev_process_cmd()
411 s->res[i].block_count = rpmb_u16(block_count); in rpmb_dev_process_cmd()
412 s->res[i].result = rpmb_u16(result); in rpmb_dev_process_cmd()
413 s->res[i].req_resp = rpmb_u16(cmd->resp); in rpmb_dev_process_cmd()