Lines Matching full:device

10 #include <device.h>
21 typedef int (*bbram_api_check_invalid)(const struct device *dev);
28 typedef int (*bbram_api_check_standby_power)(const struct device *dev);
35 typedef int (*bbram_api_check_power)(const struct device *dev);
42 typedef int (*bbram_api_get_size)(const struct device *dev, size_t *size);
49 typedef int (*bbram_api_read)(const struct device *dev, size_t offset, size_t size,
57 typedef int (*bbram_api_write)(const struct device *dev, size_t offset, size_t size,
75 * @param dev BBRAM device pointer.
78 __syscall int bbram_check_invalid(const struct device *dev);
80 static inline int z_impl_bbram_check_invalid(const struct device *dev) in z_impl_bbram_check_invalid()
98 * @param dev BBRAM device pointer.
101 __syscall int bbram_check_standby_power(const struct device *dev);
103 static inline int z_impl_bbram_check_standby_power(const struct device *dev) in z_impl_bbram_check_standby_power()
121 * @param dev BBRAM device pointer.
125 __syscall int bbram_check_power(const struct device *dev);
127 static inline int z_impl_bbram_check_power(const struct device *dev) in z_impl_bbram_check_power()
142 * @param dev BBRAM device pointer.
146 __syscall int bbram_get_size(const struct device *dev, size_t *size);
148 static inline int z_impl_bbram_get_size(const struct device *dev, size_t *size) in z_impl_bbram_get_size()
163 * @param dev The BBRAM device pointer to read from.
169 __syscall int bbram_read(const struct device *dev, size_t offset, size_t size,
172 static inline int z_impl_bbram_read(const struct device *dev, size_t offset, in z_impl_bbram_read()
188 * @param dev The BBRAM device pointer to write to.
194 __syscall int bbram_write(const struct device *dev, size_t offset, size_t size,
197 static inline int z_impl_bbram_write(const struct device *dev, size_t offset, in z_impl_bbram_write()
216 int bbram_emul_set_invalid(const struct device *dev, bool is_invalid);
218 int bbram_emul_set_standby_power_state(const struct device *dev, bool failure);
220 int bbram_emul_set_power_state(const struct device *dev, bool failure);