Lines Matching refs:device

274 typedef void (*smbus_callback_handler_t)(const struct device *dev,
303 const struct device *bus;
341 typedef int (*smbus_api_configure_t)(const struct device *dev,
343 typedef int (*smbus_api_get_config_t)(const struct device *dev,
345 typedef int (*smbus_api_quick_t)(const struct device *dev,
347 typedef int (*smbus_api_byte_write_t)(const struct device *dev,
349 typedef int (*smbus_api_byte_read_t)(const struct device *dev,
351 typedef int (*smbus_api_byte_data_write_t)(const struct device *dev,
354 typedef int (*smbus_api_byte_data_read_t)(const struct device *dev,
357 typedef int (*smbus_api_word_data_write_t)(const struct device *dev,
360 typedef int (*smbus_api_word_data_read_t)(const struct device *dev,
363 typedef int (*smbus_api_pcall_t)(const struct device *dev,
366 typedef int (*smbus_api_block_write_t)(const struct device *dev,
369 typedef int (*smbus_api_block_read_t)(const struct device *dev,
372 typedef int (*smbus_api_block_pcall_t)(const struct device *dev,
376 typedef int (*smbus_api_smbalert_cb_t)(const struct device *dev,
378 typedef int (*smbus_api_host_notify_cb_t)(const struct device *dev,
443 UTIL_CAT(dev_name, _init)(const struct device *dev) \
465 static inline void smbus_xfer_stats(const struct device *dev, uint8_t sent, in smbus_xfer_stats()
522 static inline void smbus_xfer_stats(const struct device *dev, uint8_t sent, in smbus_xfer_stats()
561 __syscall int smbus_configure(const struct device *dev, uint32_t dev_config);
563 static inline int z_impl_smbus_configure(const struct device *dev, in z_impl_smbus_configure()
592 __syscall int smbus_get_config(const struct device *dev, uint32_t *dev_config);
594 static inline int z_impl_smbus_get_config(const struct device *dev, in z_impl_smbus_get_config()
618 static inline int smbus_smbalert_set_cb(const struct device *dev, in smbus_smbalert_set_cb()
642 __syscall int smbus_smbalert_remove_cb(const struct device *dev,
645 static inline int z_impl_smbus_smbalert_remove_cb(const struct device *dev, in z_impl_smbus_smbalert_remove_cb()
669 static inline int smbus_host_notify_set_cb(const struct device *dev, in smbus_host_notify_set_cb()
693 __syscall int smbus_host_notify_remove_cb(const struct device *dev,
696 static inline int z_impl_smbus_host_notify_remove_cb(const struct device *dev, in z_impl_smbus_host_notify_remove_cb()
725 __syscall int smbus_quick(const struct device *dev, uint16_t addr,
728 static inline int z_impl_smbus_quick(const struct device *dev, uint16_t addr, in z_impl_smbus_quick()
760 __syscall int smbus_byte_write(const struct device *dev, uint16_t addr,
763 static inline int z_impl_smbus_byte_write(const struct device *dev, in z_impl_smbus_byte_write()
791 __syscall int smbus_byte_read(const struct device *dev, uint16_t addr,
794 static inline int z_impl_smbus_byte_read(const struct device *dev, in z_impl_smbus_byte_read()
823 __syscall int smbus_byte_data_write(const struct device *dev, uint16_t addr,
826 static inline int z_impl_smbus_byte_data_write(const struct device *dev, in z_impl_smbus_byte_data_write()
856 __syscall int smbus_byte_data_read(const struct device *dev, uint16_t addr,
859 static inline int z_impl_smbus_byte_data_read(const struct device *dev, in z_impl_smbus_byte_data_read()
889 __syscall int smbus_word_data_write(const struct device *dev, uint16_t addr,
892 static inline int z_impl_smbus_word_data_write(const struct device *dev, in z_impl_smbus_word_data_write()
922 __syscall int smbus_word_data_read(const struct device *dev, uint16_t addr,
925 static inline int z_impl_smbus_word_data_read(const struct device *dev, in z_impl_smbus_word_data_read()
957 __syscall int smbus_pcall(const struct device *dev, uint16_t addr,
960 static inline int z_impl_smbus_pcall(const struct device *dev, in z_impl_smbus_pcall()
991 __syscall int smbus_block_write(const struct device *dev, uint16_t addr,
994 static inline int z_impl_smbus_block_write(const struct device *dev, in z_impl_smbus_block_write()
1029 __syscall int smbus_block_read(const struct device *dev, uint16_t addr,
1032 static inline int z_impl_smbus_block_read(const struct device *dev, in z_impl_smbus_block_read()
1066 __syscall int smbus_block_pcall(const struct device *dev,
1071 static inline int z_impl_smbus_block_pcall(const struct device *dev, in z_impl_smbus_block_pcall()