Lines Matching full:target
28 int (*set_data)(const struct emul *target, size_t offset, size_t count,
31 int (*get_data)(const struct emul *target, size_t offset, size_t count, uint8_t *data);
41 * @param target Pointer to the emulator instance to operate on
49 static inline int emul_bbram_backend_set_data(const struct emul *target, size_t offset, in emul_bbram_backend_set_data() argument
52 if (target == NULL || target->backend_api == NULL) { in emul_bbram_backend_set_data()
56 struct emul_bbram_driver_api *api = (struct emul_bbram_driver_api *)target->backend_api; in emul_bbram_backend_set_data()
62 return api->set_data(target, offset, count, data); in emul_bbram_backend_set_data()
68 * @param target Pointer to the emulator instance to operate on
76 static inline int emul_bbram_backend_get_data(const struct emul *target, size_t offset, in emul_bbram_backend_get_data() argument
79 if (target == NULL || target->backend_api == NULL) { in emul_bbram_backend_get_data()
83 struct emul_bbram_driver_api *api = (struct emul_bbram_driver_api *)target->backend_api; in emul_bbram_backend_get_data()
89 return api->get_data(target, offset, count, data); in emul_bbram_backend_get_data()