Lines Matching +full:rpmsg +full:- +full:in
1 /* SPDX-License-Identifier: GPL-2.0
3 * Copyright 2008-2013 Solarflare Communications Inc.
4 * Copyright (C) 2022-2023, Advanced Micro Devices, Inc.
12 #include <linux/rpmsg.h>
26 * enum cdx_mcdi_mode - MCDI transaction mode
28 * @MCDI_MODE_FAIL: we think MCDI is dead, so fail-fast all calls
42 * enum cdx_mcdi_cmd_state - State for an individual MCDI command
62 * struct cdx_mcdi - CDX MCDI Firmware interface, to interact
67 * @rpdev: RPMsg device
68 * @ept: RPMsg endpoint
95 * struct cdx_mcdi_cmd - An outstanding MCDI command
97 * in the mcdi_iface cmd_list, another if it's on a cleanup list,
98 * and a third if it's queued in the work queue.
99 * @list: The data for this entry in mcdi->cmd_list
100 * @cleanup_list: The data for this entry in a cleanup list
101 * @work: The work item for this command, queued in mcdi->workqueue
143 * struct cdx_mcdi_iface - MCDI protocol context
150 * @db_held_by: Command the MC doorbell is in use by
151 * @seq_held_by: Command each sequence number is in use by
174 * struct cdx_mcdi_data - extra state for NICs that implement MCDI
185 return cdx->mcdi ? &cdx->mcdi->iface : NULL; in cdx_mcdi_if()
203 * We expect that 16- and 32-bit fields in MCDI requests and responses
204 * are appropriately aligned, but 64-bit fields are only
205 * 32-bit-aligned.
213 ((void)BUILD_BUG_ON_ZERO((_ofst) & ((_align) - 1)), \