Lines Matching refs:device
87 nvram_result_t (*get_total_size_in_bytes)(const struct nvram_device* device,
99 const struct nvram_device* device, uint64_t* available_size);
110 nvram_result_t (*get_max_spaces)(const struct nvram_device* device,
127 nvram_result_t (*get_space_list)(const struct nvram_device* device,
139 nvram_result_t (*get_space_size)(const struct nvram_device* device,
155 nvram_result_t (*get_space_controls)(const struct nvram_device* device,
172 nvram_result_t (*is_space_locked)(const struct nvram_device* device,
198 nvram_result_t (*create_space)(const struct nvram_device* device,
218 nvram_result_t (*delete_space)(const struct nvram_device* device,
230 nvram_result_t (*disable_create)(const struct nvram_device* device);
252 nvram_result_t (*write_space)(const struct nvram_device* device,
283 nvram_result_t (*read_space)(const struct nvram_device* device,
305 nvram_result_t (*enable_write_lock)(const struct nvram_device* device,
328 nvram_result_t (*enable_read_lock)(const struct nvram_device* device,
338 nvram_device_t** device) { in nvram_open() argument
340 (struct hw_device_t**)device); in nvram_open()
343 static inline int nvram_close(nvram_device_t* device) { in nvram_close() argument
344 return device->common.close(&device->common); in nvram_close()