![]() |
no-OS
|
AXI clkgen setup for ADRV903X project. More...
Functions | |
| int | clkgen_setup (struct axi_clkgen **rx_clkgen, struct axi_clkgen **tx_clkgen) |
| Initialize and set rates for RX and TX AXI clkgen instances. | |
| int | clkgen_remove (struct axi_clkgen *rx_clkgen, struct axi_clkgen *tx_clkgen) |
| Remove AXI clkgen instances. | |
AXI clkgen setup for ADRV903X project.
Copyright 2026(c) Analog Devices, Inc.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
THIS SOFTWARE IS PROVIDED BY ANALOG DEVICES "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ANALOG DEVICES BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
| int clkgen_remove | ( | struct axi_clkgen * | rx_clkgen, |
| struct axi_clkgen * | tx_clkgen ) |
Remove AXI clkgen instances.
| rx_clkgen | - RX clkgen instance. |
| tx_clkgen | - TX clkgen instance. |
| int clkgen_setup | ( | struct axi_clkgen ** | rx_clkgen, |
| struct axi_clkgen ** | tx_clkgen ) |
Initialize and set rates for RX and TX AXI clkgen instances.
Both clkgens share the same parent clock (DEVICE_CLK) and output rate (lane_rate / 66 for JESD204C).
| rx_clkgen | - Output pointer for the RX clkgen instance. |
| tx_clkgen | - Output pointer for the TX clkgen instance. |