Velocity Userspace
Functions
gas.h File Reference

GAS Accessor functions. More...

#include <switchtec/switchtec.h>
#include <stdint.h>
Include dependency graph for gas.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void memcpy_to_gas (struct switchtec_dev *dev, void __gas *dest, const void *src, size_t n)
 Copy data to the GAS. More...
 
ssize_t write_from_gas (struct switchtec_dev *dev, int fd, const void __gas *src, size_t n)
 Call write() with data from the GAS. More...
 
void gas_write8 (struct switchtec_dev *dev, uint8_t val, uint8_t __gas *addr)
 Write a uint8_t to the GAS. More...
 
void gas_write16 (struct switchtec_dev *dev, uint16_t val, uint16_t __gas *addr)
 Write a uint16_t to the GAS. More...
 
void gas_write32 (struct switchtec_dev *dev, uint32_t val, uint32_t __gas *addr)
 Write a uint32_t to the GAS. More...
 
void gas_write64 (struct switchtec_dev *dev, uint64_t val, uint64_t __gas *addr)
 Write a uint64_t to the GAS. More...
 

Detailed Description

GAS Accessor functions.

Definition in file gas.h.