summaryrefslogtreecommitdiffstats
path: root/default.h
blob: 927921ba72cd4b8104824473b6b4dae149682ad1 (plain)
1
2
3
4
5
6
7
8
9
#ifndef _PCILIB_DEFAULT_H
#define _PCILIB_DEFAULT_H

#include "pcilib.h"

int pcilib_default_read(pcilib_t *ctx, pcilib_register_bank_description_t *bank, pcilib_register_addr_t addr, uint8_t bits, pcilib_register_value_t *value);
int pcilib_default_write(pcilib_t *ctx, pcilib_register_bank_description_t *bank, pcilib_register_addr_t addr, uint8_t bits, pcilib_register_value_t value);

#endif /* _PCILIB_DEFAULT_H */