Lines Matching +full:mailbox +full:-
1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Copyright (C) 2022-2024, Advanced Micro Devices, Inc.
9 struct mailbox;
13 * xdna_mailbox_msg - message struct
21 * The mailbox will split the sending data in to multiple firmware message if
34 * xdna_mailbox_res - mailbox hardware resource
38 * @mbox_base: mailbox base address
39 * @mbox_size: mailbox size
50 * xdna_mailbox_chann_res - resources
54 * @mb_head_ptr_reg: mailbox head pointer register
55 * @mb_tail_ptr_reg: mailbox tail pointer register
65 * xdna_mailbox_create() -- create mailbox subsystem and initialize
68 * @res: SRAM and mailbox resources
70 * Return: If success, return a handle of mailbox subsystem.
73 struct mailbox *xdnam_mailbox_create(struct drm_device *ddev,
77 * xdna_mailbox_create_channel() -- Create a mailbox channel instance
79 * @mailbox: the handle return from xdna_mailbox_create()
80 * @x2i: host to firmware mailbox resources
81 * @i2x: firmware to host mailbox resources
82 * @xdna_mailbox_intr_reg: register addr of MSI-X interrupt
83 * @mb_irq: Linux IRQ number associated with mailbox MSI-X interrupt vector index
85 * Return: If success, return a handle of mailbox channel. Otherwise, return NULL.
88 xdna_mailbox_create_channel(struct mailbox *mailbox,
95 * xdna_mailbox_destroy_channel() -- destroy mailbox channel
104 * xdna_mailbox_stop_channel() -- stop mailbox channel
113 * xdna_mailbox_send_msg() -- Send a message
115 * @mailbox_chann: Mailbox channel handle