Home
last modified time | relevance | path

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

/drivers/firmware/arm_scmi/
Dmailbox.c37 struct scmi_mailbox *smbox = client_to_scmi_mailbox(cl); in tx_prepare() local
39 shmem_tx_prepare(smbox->shmem, m); in tx_prepare()
44 struct scmi_mailbox *smbox = client_to_scmi_mailbox(cl); in rx_callback() local
55 if (cl->knows_txdone && !shmem_channel_free(smbox->shmem)) { in rx_callback()
56 dev_warn(smbox->cinfo->dev, "Ignoring spurious A2P IRQ !\n"); in rx_callback()
60 scmi_rx_callback(smbox->cinfo, shmem_read_header(smbox->shmem), NULL); in rx_callback()
107 struct scmi_mailbox *smbox; in mailbox_chan_setup() local
118 smbox = devm_kzalloc(dev, sizeof(*smbox), GFP_KERNEL); in mailbox_chan_setup()
119 if (!smbox) in mailbox_chan_setup()
136 smbox->shmem = devm_ioremap(dev, res.start, size); in mailbox_chan_setup()
[all …]