bhnd_nvram_io
bhnd_nvram_data_probe(bhnd_nvram_data_class *cls, struct bhnd_nvram_io *io)
struct bhnd_nvram_io *io, bhnd_nvram_data_class *classes[],
struct bhnd_nvram_io *io, const char *name, void *buf, size_t *len,
struct bhnd_nvram_io *io)
struct bhnd_nvram_io *io);
struct bhnd_nvram_io *io,
struct bhnd_nvram_io *io, const char *name,
struct bhnd_nvram_io *io);
struct bhnd_nvram_io *data; /**< backing buffer */
bhnd_nvram_bcm_probe(struct bhnd_nvram_io *io)
bhnd_nvram_bcm_getvar_direct(struct bhnd_nvram_io *io, const char *name,
bhnd_nvram_bcm_getvar_direct_common(struct bhnd_nvram_io *io, const char *name,
bhnd_nvram_bcm_init(struct bhnd_nvram_bcm *bcm, struct bhnd_nvram_io *src)
bhnd_nvram_bcm_new(struct bhnd_nvram_data *nv, struct bhnd_nvram_io *io)
bhnd_nvram_bcmraw_getvar_direct(struct bhnd_nvram_io *io, const char *name,
bhnd_nvram_bcmraw_init(struct bhnd_nvram_bcmraw *bcm, struct bhnd_nvram_io *src)
bhnd_nvram_bcmraw_new(struct bhnd_nvram_data *nv, struct bhnd_nvram_io *io)
bhnd_nvram_bcmraw_probe(struct bhnd_nvram_io *io)
int bhnd_nvram_bcm_getvar_direct_common(struct bhnd_nvram_io *io,
bhnd_nvram_btxt_getvar_direct(struct bhnd_nvram_io *io, const char *name,
bhnd_nvram_btxt_init(struct bhnd_nvram_btxt *btxt, struct bhnd_nvram_io *src)
bhnd_nvram_btxt_new(struct bhnd_nvram_data *nv, struct bhnd_nvram_io *io)
struct bhnd_nvram_io *data; /**< memory-backed board text data */
bhnd_nvram_btxt_entry_len(struct bhnd_nvram_io *io, size_t offset,
static int bhnd_nvram_btxt_entry_len(struct bhnd_nvram_io *io,
bhnd_nvram_btxt_seek_eol(struct bhnd_nvram_io *io, size_t *offset)
static int bhnd_nvram_btxt_seek_next(struct bhnd_nvram_io *io,
static int bhnd_nvram_btxt_seek_eol(struct bhnd_nvram_io *io,
bhnd_nvram_btxt_seek_next(struct bhnd_nvram_io *io, size_t *offset)
bhnd_nvram_btxt_probe(struct bhnd_nvram_io *io)
struct bhnd_sprom_opcode_idx_entry *entry, struct bhnd_nvram_io *io,
bhnd_nvram_sprom_check_magic(struct bhnd_nvram_io *io,
bhnd_nvram_sprom_ident(struct bhnd_nvram_io *io,
bhnd_nvram_sprom_probe(struct bhnd_nvram_io *io)
bhnd_nvram_sprom_getvar_direct(struct bhnd_nvram_io *io, const char *name,
struct bhnd_nvram_io *io)
struct bhnd_nvram_io *io;
struct bhnd_nvram_io *io,
struct bhnd_nvram_io *io);
bhnd_nvram_sprom_new(struct bhnd_nvram_data *nv, struct bhnd_nvram_io *io)
struct bhnd_nvram_io *io,
struct bhnd_nvram_io *data,
struct bhnd_nvram_io *data, bhnd_nvram_type type, size_t offset,
struct bhnd_nvram_io *data,
struct bhnd_nvram_io *data, bhnd_nvram_type type, size_t offset,
struct bhnd_nvram_io *data; /**< backing SPROM image */
bhnd_nvram_tlv_probe(struct bhnd_nvram_io *io)
bhnd_nvram_tlv_getvar_direct(struct bhnd_nvram_io *io, const char *name,
bhnd_nvram_tlv_init(struct bhnd_nvram_tlv *tlv, struct bhnd_nvram_io *src)
bhnd_nvram_tlv_new(struct bhnd_nvram_data *nv, struct bhnd_nvram_io *io)
struct bhnd_nvram_io *data; /**< backing buffer */
bhnd_nvram_tlv_next_record(struct bhnd_nvram_io *io, size_t *next, size_t
bhnd_nvram_tlv_parse_size(struct bhnd_nvram_io *io, size_t *size)
struct bhnd_nvram_io *io,
struct bhnd_nvram_io *io,
typedef int (bhnd_nvram_data_op_probe)(struct bhnd_nvram_io *io);
struct bhnd_nvram_io *io, const char *name,
struct bhnd_nvram_io *io);
bhnd_nvram_io_write(struct bhnd_nvram_io *io, size_t offset, void *buffer,
bhnd_nvram_io_write_ptr(struct bhnd_nvram_io *io, size_t offset, void **ptr,
bhnd_nvram_io_getsize(struct bhnd_nvram_io *io)
bhnd_nvram_io_setsize(struct bhnd_nvram_io *io, size_t size)
bhnd_nvram_io_free(struct bhnd_nvram_io *io)
bhnd_nvram_io_read(struct bhnd_nvram_io *io, size_t offset, void *buffer,
bhnd_nvram_io_read_ptr(struct bhnd_nvram_io *io, size_t offset,
struct bhnd_nvram_io;
struct bhnd_nvram_io *bhnd_nvram_iobuf_new(const void *buffer, size_t size);
struct bhnd_nvram_io *bhnd_nvram_iobuf_empty(size_t size, size_t capacity);
struct bhnd_nvram_io *bhnd_nvram_iobuf_copy(struct bhnd_nvram_io *src);
struct bhnd_nvram_io *bhnd_nvram_iobuf_copy_range(struct bhnd_nvram_io *src,
struct bhnd_nvram_io *bhnd_nvram_ioptr_new(const void *ptr, size_t size,
struct bhnd_nvram_io *bhnd_nvram_iores_new(struct bhnd_resource *r,
size_t bhnd_nvram_io_getsize(struct bhnd_nvram_io *io);
int bhnd_nvram_io_setsize(struct bhnd_nvram_io *io,
int bhnd_nvram_io_read(struct bhnd_nvram_io *io,
int bhnd_nvram_io_read_ptr(struct bhnd_nvram_io *io,
int bhnd_nvram_io_write(struct bhnd_nvram_io *io,
int bhnd_nvram_io_write_ptr(struct bhnd_nvram_io *io,
void bhnd_nvram_io_free(struct bhnd_nvram_io *io);
struct bhnd_nvram_io *
struct bhnd_nvram_io *io;
struct bhnd_nvram_io *
bhnd_nvram_iobuf_copy(struct bhnd_nvram_io *src)
struct bhnd_nvram_io *
bhnd_nvram_iobuf_copy_range(struct bhnd_nvram_io *src, size_t offset,
struct bhnd_nvram_io *io;
bhnd_nvram_iobuf_free(struct bhnd_nvram_io *io)
bhnd_nvram_iobuf_getsize(struct bhnd_nvram_io *io)
bhnd_nvram_iobuf_setsize(struct bhnd_nvram_io *io, size_t size)
bhnd_nvram_iobuf_read_ptr(struct bhnd_nvram_io *io, size_t offset,
bhnd_nvram_iobuf_write_ptr(struct bhnd_nvram_io *io, size_t offset,
bhnd_nvram_iobuf_read(struct bhnd_nvram_io *io, size_t offset, void *buffer,
bhnd_nvram_iobuf_write(struct bhnd_nvram_io *io, size_t offset,
struct bhnd_nvram_io io; /**< common I/O instance state */
struct bhnd_nvram_io *
bhnd_nvram_ioptr_free(struct bhnd_nvram_io *io)
bhnd_nvram_ioptr_getsize(struct bhnd_nvram_io *io)
bhnd_nvram_ioptr_setsize(struct bhnd_nvram_io *io, size_t size)
bhnd_nvram_ioptr_read_ptr(struct bhnd_nvram_io *io, size_t offset,
bhnd_nvram_ioptr_write_ptr(struct bhnd_nvram_io *io, size_t offset,
bhnd_nvram_ioptr_read(struct bhnd_nvram_io *io, size_t offset, void *buffer,
bhnd_nvram_ioptr_write(struct bhnd_nvram_io *io, size_t offset,
struct bhnd_nvram_io io; /**< common I/O instance state */
struct bhnd_nvram_io *
bhnd_nvram_iores_free(struct bhnd_nvram_io *io)
bhnd_nvram_iores_getsize(struct bhnd_nvram_io *io)
bhnd_nvram_iores_setsize(struct bhnd_nvram_io *io, size_t size)
bhnd_nvram_iores_read_ptr(struct bhnd_nvram_io *io, size_t offset,
bhnd_nvram_iores_write_ptr(struct bhnd_nvram_io *io, size_t offset,
bhnd_nvram_iores_read(struct bhnd_nvram_io *io, size_t offset, void *buffer,
bhnd_nvram_iores_write(struct bhnd_nvram_io *io, size_t offset,
struct bhnd_nvram_io io; /**< common I/O instance state */
struct bhnd_nvram_io *
typedef int (bhnd_nvram_iop_read)(struct bhnd_nvram_io *io, size_t offset,
typedef int (bhnd_nvram_iop_read_ptr)(struct bhnd_nvram_io *io, size_t offset,
typedef int (bhnd_nvram_iop_write)(struct bhnd_nvram_io *io, size_t offset,
typedef int (bhnd_nvram_iop_write_ptr)(struct bhnd_nvram_io *io, size_t offset,
typedef size_t (bhnd_nvram_iop_getsize)(struct bhnd_nvram_io *io);
typedef int (bhnd_nvram_iop_setsize)(struct bhnd_nvram_io *io, size_t size);
typedef void (bhnd_nvram_iop_free)(struct bhnd_nvram_io *io);
struct bhnd_nvram_io **data, uint32_t flags)
struct bhnd_nvram_io *io;
struct bhnd_nvram_io *io, bhnd_nvram_data_class *cls)
struct bhnd_nvram_io *io, bhnd_nvram_data_class *cls);
const char *path, struct bhnd_nvram_io **data, uint32_t flags);
struct bhnd_nvram_io *io;