Lines Matching +full:ipa +full:- +full:setup +full:- +full:ready

1 /* SPDX-License-Identifier: GPL-2.0 */
3 /* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved.
4 * Copyright (C) 2018-2024 Linaro Ltd.
25 * struct ipa - IPA information
27 * @version: IPA hardware version
28 * @dev: IPA device pointer
33 * @power: IPA power information
39 * @interrupt: IPA Interrupt information
41 * @uc_loaded: true after microcontroller has reported it's ready
42 * @reg_virt: Virtual address used for IPA register access
43 * @regs: IPA register definitions
44 * @mem_addr: DMA address of IPA-local memory space
45 * @mem_virt: Virtual address of IPA-local memory space
46 * @mem_offset: Offset from @mem_virt used for access to IPA memory
49 * @mem: Array of IPA-local memory region descriptors
50 * @imem_iova: I/O virtual address of IPA region in IMEM
52 * @smem_iova: I/O virtual address of IPA region in SMEM
54 * @zero_addr: DMA address of preallocated zero-filled memory
55 * @zero_virt: Virtual address of preallocated zero-filled memory
56 * @zero_size: Size (bytes) of preallocated zero-filled memory
66 * @channel_map: Mapping of GSI channel to IPA endpoint
67 * @name_map: Mapping of IPA endpoint name to IPA endpoint
68 * @setup_complete: Flag indicating whether setup stage has completed
73 struct ipa { struct
135 * ipa_setup() - Perform IPA setup
136 * @ipa: IPA pointer argument
138 * IPA initialization is broken into stages: init; config; and setup.
142 * any access to IPA hardware. Activities performed at the config stage
143 * require IPA power, because they involve access to IPA registers.
144 * The setup stage is performed only after the GSI hardware is ready
145 * (more on this below). The setup stage allows the AP to perform
147 * a special interface to the IPA.
149 * This function, @ipa_setup(), starts the setup stage.
152 * loaded (in addition to some other low-level initialization). This early
158 * verification was successful, the GSI layer is ready and ipa_setup()
159 * implements the setup phase of initialization.
165 int ipa_setup(struct ipa *ipa);