no-OS
Macros | Functions
ad9361_util.c File Reference

AD9361 Implementation of Util Driver. More...

#include "ad9361_util.h"
#include "string.h"
#include "no_os_delay.h"
Include dependency graph for ad9361_util.c:

Macros

#define NO_OS_BITS_PER_LONG   32
 

Functions

int32_t clk_prepare_enable (struct no_os_clk *clk)
 clk_prepare_enable More...
 
uint32_t clk_get_rate (struct ad9361_rf_phy *phy, struct refclk_scale *clk_priv)
 clk_get_rate More...
 
int32_t no_os_clk_set_rate (struct ad9361_rf_phy *phy, struct refclk_scale *clk_priv, uint32_t rate)
 clk_set_rate More...
 
uint32_t int_sqrt (uint32_t x)
 int_sqrt More...
 
int32_t ilog2 (int32_t x)
 ilog2 More...
 
uint32_t find_first_bit (uint32_t word)
 find_first_bit More...
 
void * ERR_PTR (long error)
 ERR_PTR. More...
 
void * zmalloc (size_t size)
 zmalloc More...
 

Detailed Description

AD9361 Implementation of Util Driver.

Author
DBogdan (drago.nosp@m.s.bo.nosp@m.gdan@.nosp@m.anal.nosp@m.og.co.nosp@m.m)

Copyright 2013(c) Analog Devices, Inc.

All rights reserved.

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, INTELLECTUAL PROPERTY RIGHTS, 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.

Macro Definition Documentation

◆ NO_OS_BITS_PER_LONG

#define NO_OS_BITS_PER_LONG   32

Function Documentation

◆ clk_get_rate()

uint32_t clk_get_rate ( struct ad9361_rf_phy phy,
struct refclk_scale clk_priv 
)

clk_get_rate

Here is the caller graph for this function:

◆ clk_prepare_enable()

int32_t clk_prepare_enable ( struct no_os_clk clk)

clk_prepare_enable

◆ ERR_PTR()

void* ERR_PTR ( long  error)

ERR_PTR.

◆ find_first_bit()

uint32_t find_first_bit ( uint32_t  word)

find_first_bit

◆ ilog2()

int32_t ilog2 ( int32_t  x)

ilog2

◆ int_sqrt()

uint32_t int_sqrt ( uint32_t  x)

int_sqrt

◆ no_os_clk_set_rate()

int32_t no_os_clk_set_rate ( struct ad9361_rf_phy phy,
struct refclk_scale clk_priv,
uint32_t  rate 
)

clk_set_rate

◆ zmalloc()

void* zmalloc ( size_t  size)

zmalloc

Here is the caller graph for this function: