Lines Matching refs:device
62 * device - The nvram_device instance.
65 nvram_result_t (*get_total_size_in_bytes)(const struct nvram_device* device,
73 * device - The nvram_device instance.
77 const struct nvram_device* device, uint64_t* available_size);
84 * device - The nvram_device instance.
88 const struct nvram_device* device, uint64_t* max_space_size);
96 * device - The nvram_device instance.
99 nvram_result_t (*get_max_spaces)(const struct nvram_device* device,
106 * device - The nvram_device instance.
116 nvram_result_t (*get_space_list)(const struct nvram_device* device,
124 * device - The nvram_device instance.
128 nvram_result_t (*get_space_size)(const struct nvram_device* device,
134 * device - The nvram_device instance.
144 nvram_result_t (*get_space_controls)(const struct nvram_device* device,
154 * device - The nvram_device instance.
161 nvram_result_t (*is_space_locked)(const struct nvram_device* device,
169 * device - The nvram_device instance.
187 nvram_result_t (*create_space)(const struct nvram_device* device,
197 * device - The nvram_device instance.
207 nvram_result_t (*delete_space)(const struct nvram_device* device,
213 * Disables any further creation of spaces until the next full device
217 * device - The nvram_device instance.
219 nvram_result_t (*disable_create)(const struct nvram_device* device);
226 * device - The nvram_device instance.
241 nvram_result_t (*write_space)(const struct nvram_device* device,
251 * device - The nvram_device instance.
272 nvram_result_t (*read_space)(const struct nvram_device* device,
284 * device - The nvram_device instance.
294 nvram_result_t (*enable_write_lock)(const struct nvram_device* device,
304 * device - The nvram_device instance.
317 nvram_result_t (*enable_read_lock)(const struct nvram_device* device,
327 nvram_device_t** device) {
329 TO_HW_DEVICE_T_OPEN(device));
332 static inline int nvram_close(nvram_device_t* device) {
333 return device->common.close(&device->common);