Lines Matching +full:axi +full:- +full:bus
1 /* SPDX-License-Identifier: GPL-2.0+ */
10 #define axi_emul_get_ops(dev) ((struct axi_emul_ops *)(dev)->driver->ops)
13 * axi_sandbox_get_emul() - Retrieve a pointer to a AXI emulation device
14 * @bus: The AXI bus from which to retrieve a emulation device
22 * To test the AXI uclass, we implement a simple AXI emulation device, which is
23 * a virtual device on a AXI bus that exposes a simple storage interface: When
31 * axi: axi@0 {
32 * compatible = "sandbox,axi";
33 * #address-cells = <0x1>;
34 * #size-cells = <0x1>;
42 * emulation device given the AXI bus device, and the data (address, data
43 * width) of a AXI transfer which should be handled by a emulation device.
45 * Return: 0 of OK, -ENODEV if no device capable of handling the specified
48 int axi_sandbox_get_emul(struct udevice *bus, ulong address, uint length,
51 * axi_get_store() - Get address of internal storage of a emulated AXI device
52 * @dev: Emulated AXI device to get the pointer of the internal storage
54 * @storep: Pointer to the internal storage of the emulated AXI device.
56 * To preset or read back the contents internal storage of the emulated AXI
58 * contents of the storage are reflected when using the AXI read/write API
62 * Return: 0 if OK, -ve on error.