Definition: iio_adin1300.h:12
#define END_ATTRIBUTES_ARRAY
Definition: iio_types.h:116
@ IIO_VAL_INT
Definition: iio_types.h:50
#define ADIN1300_MII_CONTROL
Definition: adin1300.h:8
#define ADIN1300_AUTONEG_EN_MASK
Definition: adin1300.h:11
Structure holding channel attributess.
Definition: iio_types.h:103
bool adin1300_link_is_up(struct adin1300_desc *dev)
Definition: adin1300.c:246
@ ADIN1300_IIO_ATTR_AUTONEGOTIATE
Definition: iio_adin1300.h:19
@ ADIN1300_IIO_ATTR_LINK
Definition: iio_adin1300.h:17
Header file of Delay functions.
int adin1300_write(struct adin1300_desc *dev, uint32_t addr, uint16_t val)
Definition: adin1300.c:120
Definition: ad9361_util.h:69
enum adin1300_speed adin1300_resolved_speed(struct adin1300_desc *dev)
Definition: adin1300.c:258
int32_t adin1300_iio_init(struct adin1300_iio_desc **iio_dev, struct adin1300_iio_init_param *init_param)
Definition: iio_adin1300.c:145
void * no_os_calloc(size_t nitems, size_t size)
Allocate memory and return a pointer to it, set memory to 0.
Definition: chibios_alloc.c:54
#define ADIN1300_LINK_EN_MASK
Definition: adin1300.h:50
@ ADIN1300_1000_BASE_T_FULLDUPLEX
Definition: adin1300.h:119
int32_t adin1300_iio_remove(struct adin1300_iio_desc *iiodev)
Definition: iio_adin1300.c:176
int adin1300_autoneg(struct adin1300_desc *dev, bool on)
Definition: adin1300.c:239
const char * name
Definition: iio_types.h:131
int adin1300_read(struct adin1300_desc *dev, uint32_t addr, uint16_t *val)
Definition: adin1300.c:126
@ ADIN1300_IIO_ATTR_SPEED
Definition: iio_adin1300.h:18
Structure holding pointers to show and store functions.
Definition: iio_types.h:129
int32_t adin1300_iio_remove(struct adin1300_iio_desc *desc)
Definition: iio_adin1300.c:176
int32_t iio_parse_value(char *buf, enum iio_val fmt, int32_t *val, int32_t *val2)
Definition: iio.c:630
struct iio_device * iio_dev
Definition: iio_adin1300.h:9
Definition: adin1300.h:157
int iio_format_value(char *buf, uint32_t len, enum iio_val fmt, int32_t size, int32_t *vals)
Definition: iio.c:686
uint32_t no_os_field_get(uint32_t mask, uint32_t word)
void no_os_free(void *ptr)
Deallocate memory previously allocated by a call to no_os_calloc or no_os_malloc.
Definition: chibios_alloc.c:69
int32_t adin1300_iio_init(struct adin1300_iio_desc **iiodev, struct adin1300_iio_init_param *init_param)
Definition: iio_adin1300.c:145
adin1300_iio_attr_id
Definition: iio_adin1300.h:16
#define NULL
Definition: wrapper.h:64
struct ad7616_init_param init_param
Definition: ad7616_sdz.c:113
Structure holding channels and attributes of a device.
Definition: iio_types.h:247
int adin1300_write_bits(struct adin1300_desc *dev, uint32_t addr, uint16_t val, uint16_t bitmask)
Definition: adin1300.c:132
struct adin1300_desc * dev
Definition: iio_adin1300.h:13
struct adin1300_desc * dev
Definition: iio_adin1300.h:8
int adin1300_config_speed(struct adin1300_desc *dev, enum adin1300_speed speed_cap)
Definition: adin1300.c:194
Definition: iio_adin1300.h:7
Header file of utility functions.
#define ADIN1300_PHY_CTRL_3
Definition: adin1300.h:49
adin1300_speed
Definition: adin1300.h:113
struct iio_attribute * attributes
Definition: iio_types.h:256