Home
last modified time | relevance | path

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

/openbmc/linux/drivers/firmware/arm_scmi/
H A Dmailbox.c41 struct scmi_mailbox *smbox = client_to_scmi_mailbox(cl); in tx_prepare() local
43 shmem_tx_prepare(smbox->shmem, m, smbox->cinfo); in tx_prepare()
48 struct scmi_mailbox *smbox = client_to_scmi_mailbox(cl); in rx_callback() local
59 if (cl->knows_txdone && !shmem_channel_free(smbox->shmem)) { in rx_callback()
60 dev_warn(smbox->cinfo->dev, "Ignoring spurious A2P IRQ !\n"); in rx_callback()
64 scmi_rx_callback(smbox->cinfo, shmem_read_header(smbox->shmem), NULL); in rx_callback()
166 struct scmi_mailbox *smbox; in mailbox_chan_setup() local
180 smbox = devm_kzalloc(dev, sizeof(*smbox), GFP_KERNEL); in mailbox_chan_setup()
181 if (!smbox) in mailbox_chan_setup()
198 smbox->shmem = devm_ioremap(dev, res.start, size); in mailbox_chan_setup()
[all …]