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 shmem_tx_prepare(smbox->shmem, m, smbox->cinfo); in tx_prepare()
62 scmi_rx_callback(smbox->cinfo, shmem_read_header(smbox->shmem), NULL); in rx_callback()
178 smbox = devm_kzalloc(dev, sizeof(*smbox), GFP_KERNEL); in mailbox_chan_setup()
179 if (!smbox) in mailbox_chan_setup()
197 if (!smbox->shmem) { in mailbox_chan_setup()
202 cl = &smbox->cl; in mailbox_chan_setup()
210 if (IS_ERR(smbox->chan)) { in mailbox_chan_setup()
230 smbox->cinfo = cinfo; in mailbox_chan_setup()
240 if (smbox && !IS_ERR(smbox->chan)) { in mailbox_chan_free()
244 smbox->chan = NULL; in mailbox_chan_free()
[all …]