|
Switchtec Userspace
PROJECT_NUMBER = PROJECT_NUMBER=PROJECT_NUMBER = 2.2
|
GAS Accessor functions. More...


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... | |
| void | memcpy_from_gas (struct switchtec_dev *dev, void *dest, const void __gas *src, size_t n) |
| Copy data from 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... | |
| uint8_t | gas_read8 (struct switchtec_dev *dev, uint8_t __gas *addr) |
| Read a uint8_t from the GAS. More... | |
| uint16_t | gas_read16 (struct switchtec_dev *dev, uint16_t __gas *addr) |
| Read a uint16_t from the GAS. More... | |
| uint32_t | gas_read32 (struct switchtec_dev *dev, uint32_t __gas *addr) |
| Read a uint32_t from the GAS. More... | |
| uint64_t | gas_read64 (struct switchtec_dev *dev, uint64_t __gas *addr) |
| Read a uint64_t 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... | |
GAS Accessor functions.
Definition in file gas.h.
1.8.11