Lines Matching refs:device
86 typedef int (*w1_reset_bus_t)(const struct device *dev);
87 typedef int (*w1_read_bit_t)(const struct device *dev);
88 typedef int (*w1_write_bit_t)(const struct device *dev, bool bit);
89 typedef int (*w1_read_byte_t)(const struct device *dev);
90 typedef int (*w1_write_byte_t)(const struct device *dev, const uint8_t byte);
91 typedef int (*w1_read_block_t)(const struct device *dev, uint8_t *buffer,
93 typedef int (*w1_write_block_t)(const struct device *dev, const uint8_t *buffer,
95 typedef size_t (*w1_get_slave_count_t)(const struct device *dev);
96 typedef int (*w1_configure_t)(const struct device *dev,
98 typedef int (*w1_change_bus_lock_t)(const struct device *dev, bool lock);
114 __syscall int w1_change_bus_lock(const struct device *dev, bool lock);
116 static inline int z_impl_w1_change_bus_lock(const struct device *dev, bool lock) in z_impl_w1_change_bus_lock()
145 static inline int w1_lock_bus(const struct device *dev) in w1_lock_bus()
160 static inline int w1_unlock_bus(const struct device *dev) in w1_unlock_bus()
191 __syscall int w1_reset_bus(const struct device *dev);
193 static inline int z_impl_w1_reset_bus(const struct device *dev) in z_impl_w1_reset_bus()
208 __syscall int w1_read_bit(const struct device *dev);
210 static inline int z_impl_w1_read_bit(const struct device *dev) in z_impl_w1_read_bit()
226 __syscall int w1_write_bit(const struct device *dev, const bool bit);
228 static inline int z_impl_w1_write_bit(const struct device *dev, bool bit) in z_impl_w1_write_bit()
243 __syscall int w1_read_byte(const struct device *dev);
245 static inline int z_impl_w1_read_byte(const struct device *dev) in z_impl_w1_read_byte()
261 __syscall int w1_write_byte(const struct device *dev, uint8_t byte);
263 static inline int z_impl_w1_write_byte(const struct device *dev, uint8_t byte) in z_impl_w1_write_byte()
280 __syscall int w1_read_block(const struct device *dev, uint8_t *buffer, size_t len);
292 __syscall int w1_write_block(const struct device *dev,
303 __syscall size_t w1_get_slave_count(const struct device *dev);
305 static inline size_t z_impl_w1_get_slave_count(const struct device *dev) in z_impl_w1_get_slave_count()
327 __syscall int w1_configure(const struct device *dev,
330 static inline int z_impl_w1_configure(const struct device *dev, in z_impl_w1_configure()
490 int w1_read_rom(const struct device *dev, struct w1_rom *rom);
512 int w1_match_rom(const struct device *dev, const struct w1_slave_config *config);
526 int w1_resume_command(const struct device *dev);
543 int w1_skip_rom(const struct device *dev, const struct w1_slave_config *config);
556 int w1_reset_select(const struct device *dev, const struct w1_slave_config *config);
575 int w1_write_read(const struct device *dev, const struct w1_slave_config *config,
603 __syscall int w1_search_bus(const struct device *dev, uint8_t command,
622 static inline int w1_search_rom(const struct device *dev, in w1_search_rom()
644 static inline int w1_search_alarm(const struct device *dev, in w1_search_alarm()