Lines Matching refs:bhnd_nvram_io
47 struct bhnd_nvram_io;
49 struct bhnd_nvram_io *bhnd_nvram_iobuf_new(const void *buffer, size_t size);
50 struct bhnd_nvram_io *bhnd_nvram_iobuf_empty(size_t size, size_t capacity);
51 struct bhnd_nvram_io *bhnd_nvram_iobuf_copy(struct bhnd_nvram_io *src);
52 struct bhnd_nvram_io *bhnd_nvram_iobuf_copy_range(struct bhnd_nvram_io *src,
55 struct bhnd_nvram_io *bhnd_nvram_ioptr_new(const void *ptr, size_t size,
59 struct bhnd_nvram_io *bhnd_nvram_iores_new(struct bhnd_resource *r,
64 size_t bhnd_nvram_io_getsize(struct bhnd_nvram_io *io);
65 int bhnd_nvram_io_setsize(struct bhnd_nvram_io *io,
68 int bhnd_nvram_io_read(struct bhnd_nvram_io *io,
70 int bhnd_nvram_io_read_ptr(struct bhnd_nvram_io *io,
74 int bhnd_nvram_io_write(struct bhnd_nvram_io *io,
76 int bhnd_nvram_io_write_ptr(struct bhnd_nvram_io *io,
80 void bhnd_nvram_io_free(struct bhnd_nvram_io *io);