Home
last modified time | relevance | path

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

/openbmc/linux/drivers/crypto/ccp/
H A Ddbc.c40 static int send_dbc_cmd(struct psp_dbc_device *dbc_dev, in send_dbc_cmd() argument
45 dbc_dev->mbox->req.header.status = 0; in send_dbc_cmd()
46 ret = psp_send_platform_access_msg(msg, (struct psp_request *)dbc_dev->mbox); in send_dbc_cmd()
50 dev_dbg(dbc_dev->dev, in send_dbc_cmd()
52 msg, dbc_dev->mbox->req.header.status); in send_dbc_cmd()
55 if (dbc_dev->mbox->req.header.status == error_codes[i].psp) in send_dbc_cmd()
63 static int send_dbc_nonce(struct psp_dbc_device *dbc_dev) in send_dbc_nonce() argument
67 dbc_dev->mbox->req.header.payload_size = sizeof(dbc_dev->mbox->dbc_nonce); in send_dbc_nonce()
68 ret = send_dbc_cmd(dbc_dev, PSP_DYNAMIC_BOOST_GET_NONCE); in send_dbc_nonce()
70 dev_dbg(dbc_dev->dev, "retrying get nonce\n"); in send_dbc_nonce()
[all …]