Lines Matching full:dev

11 static inline int z_vrfy_smbus_configure(const struct device *dev,  in z_vrfy_smbus_configure()  argument
14 K_OOPS(K_SYSCALL_DRIVER_SMBUS(dev, configure)); in z_vrfy_smbus_configure()
16 return z_impl_smbus_configure(dev, dev_config); in z_vrfy_smbus_configure()
20 static inline int z_vrfy_smbus_get_config(const struct device *dev, in z_vrfy_smbus_get_config() argument
23 K_OOPS(K_SYSCALL_DRIVER_SMBUS(dev, get_config)); in z_vrfy_smbus_get_config()
26 return z_impl_smbus_get_config(dev, dev_config); in z_vrfy_smbus_get_config()
30 static inline int z_vrfy_smbus_quick(const struct device *dev, uint16_t addr, in z_vrfy_smbus_quick() argument
33 K_OOPS(K_SYSCALL_OBJ(dev, K_OBJ_DRIVER_SMBUS)); in z_vrfy_smbus_quick()
35 return z_impl_smbus_quick(dev, addr, rw); in z_vrfy_smbus_quick()
39 static inline int z_vrfy_smbus_byte_write(const struct device *dev, in z_vrfy_smbus_byte_write() argument
42 K_OOPS(K_SYSCALL_OBJ(dev, K_OBJ_DRIVER_SMBUS)); in z_vrfy_smbus_byte_write()
44 return z_impl_smbus_byte_write(dev, addr, byte); in z_vrfy_smbus_byte_write()
48 static inline int z_vrfy_smbus_byte_read(const struct device *dev, in z_vrfy_smbus_byte_read() argument
51 K_OOPS(K_SYSCALL_OBJ(dev, K_OBJ_DRIVER_SMBUS)); in z_vrfy_smbus_byte_read()
54 return z_impl_smbus_byte_read(dev, addr, byte); in z_vrfy_smbus_byte_read()
58 static inline int z_vrfy_smbus_byte_data_write(const struct device *dev, in z_vrfy_smbus_byte_data_write() argument
62 K_OOPS(K_SYSCALL_OBJ(dev, K_OBJ_DRIVER_SMBUS)); in z_vrfy_smbus_byte_data_write()
64 return z_impl_smbus_byte_data_write(dev, addr, cmd, byte); in z_vrfy_smbus_byte_data_write()
68 static inline int z_vrfy_smbus_byte_data_read(const struct device *dev, in z_vrfy_smbus_byte_data_read() argument
72 K_OOPS(K_SYSCALL_OBJ(dev, K_OBJ_DRIVER_SMBUS)); in z_vrfy_smbus_byte_data_read()
75 return z_impl_smbus_byte_data_read(dev, addr, cmd, byte); in z_vrfy_smbus_byte_data_read()
79 static inline int z_vrfy_smbus_word_data_write(const struct device *dev, in z_vrfy_smbus_word_data_write() argument
83 K_OOPS(K_SYSCALL_OBJ(dev, K_OBJ_DRIVER_SMBUS)); in z_vrfy_smbus_word_data_write()
85 return z_impl_smbus_word_data_write(dev, addr, cmd, word); in z_vrfy_smbus_word_data_write()
89 static inline int z_vrfy_smbus_word_data_read(const struct device *dev, in z_vrfy_smbus_word_data_read() argument
93 K_OOPS(K_SYSCALL_OBJ(dev, K_OBJ_DRIVER_SMBUS)); in z_vrfy_smbus_word_data_read()
96 return z_impl_smbus_word_data_read(dev, addr, cmd, word); in z_vrfy_smbus_word_data_read()
100 static inline int z_vrfy_smbus_pcall(const struct device *dev, in z_vrfy_smbus_pcall() argument
104 K_OOPS(K_SYSCALL_OBJ(dev, K_OBJ_DRIVER_SMBUS)); in z_vrfy_smbus_pcall()
107 return z_impl_smbus_pcall(dev, addr, cmd, send_word, recv_word); in z_vrfy_smbus_pcall()
111 static inline int z_vrfy_smbus_block_write(const struct device *dev, in z_vrfy_smbus_block_write() argument
115 K_OOPS(K_SYSCALL_OBJ(dev, K_OBJ_DRIVER_SMBUS)); in z_vrfy_smbus_block_write()
118 return z_impl_smbus_block_write(dev, addr, cmd, count, buf); in z_vrfy_smbus_block_write()
122 static inline int z_vrfy_smbus_block_read(const struct device *dev, in z_vrfy_smbus_block_read() argument
126 K_OOPS(K_SYSCALL_OBJ(dev, K_OBJ_DRIVER_SMBUS)); in z_vrfy_smbus_block_read()
129 return z_impl_smbus_block_read(dev, addr, cmd, count, buf); in z_vrfy_smbus_block_read()
133 static inline int z_vrfy_smbus_block_pcall(const struct device *dev, in z_vrfy_smbus_block_pcall() argument
138 K_OOPS(K_SYSCALL_OBJ(dev, K_OBJ_DRIVER_SMBUS)); in z_vrfy_smbus_block_pcall()
142 return z_impl_smbus_block_pcall(dev, addr, cmd, snd_count, snd_buf, in z_vrfy_smbus_block_pcall()
147 static inline int z_vrfy_smbus_smbalert_remove_cb(const struct device *dev, in z_vrfy_smbus_smbalert_remove_cb() argument
150 K_OOPS(K_SYSCALL_OBJ(dev, K_OBJ_DRIVER_SMBUS)); in z_vrfy_smbus_smbalert_remove_cb()
152 return z_impl_smbus_smbalert_remove_cb(dev, cb); in z_vrfy_smbus_smbalert_remove_cb()
156 static inline int z_vrfy_smbus_host_notify_remove_cb(const struct device *dev, in z_vrfy_smbus_host_notify_remove_cb() argument
159 K_OOPS(K_SYSCALL_OBJ(dev, K_OBJ_DRIVER_SMBUS)); in z_vrfy_smbus_host_notify_remove_cb()
161 return z_impl_smbus_host_notify_remove_cb(dev, cb); in z_vrfy_smbus_host_notify_remove_cb()