Lines Matching full:device
19 #include <device.h>
35 * @param dev Pointer to the device structure for the driver instance.
38 typedef void (*ps2_callback_t)(const struct device *dev, uint8_t data);
47 typedef int (*ps2_config_t)(const struct device *dev,
49 typedef int (*ps2_read_t)(const struct device *dev, uint8_t *value);
50 typedef int (*ps2_write_t)(const struct device *dev, uint8_t value);
51 typedef int (*ps2_disable_callback_t)(const struct device *dev);
52 typedef int (*ps2_enable_callback_t)(const struct device *dev);
68 * @param dev Pointer to the device structure for the driver instance.
75 __syscall int ps2_config(const struct device *dev,
78 static inline int z_impl_ps2_config(const struct device *dev, in z_impl_ps2_config()
88 * @brief Write to PS/2 device.
90 * @param dev Pointer to the device structure for the driver instance.
91 * @param value Data for the PS2 device.
96 __syscall int ps2_write(const struct device *dev, uint8_t value);
98 static inline int z_impl_ps2_write(const struct device *dev, uint8_t value) in z_impl_ps2_write()
107 * @brief Read slave-to-host values from PS/2 device.
108 * @param dev Pointer to the device structure for the driver instance.
109 * @param value Pointer used for reading the PS/2 device.
114 __syscall int ps2_read(const struct device *dev, uint8_t *value);
116 static inline int z_impl_ps2_read(const struct device *dev, uint8_t *value) in z_impl_ps2_read()
126 * @param dev Pointer to the device structure for the driver instance.
131 __syscall int ps2_enable_callback(const struct device *dev);
133 static inline int z_impl_ps2_enable_callback(const struct device *dev) in z_impl_ps2_enable_callback()
147 * @param dev Pointer to the device structure for the driver instance.
152 __syscall int ps2_disable_callback(const struct device *dev);
154 static inline int z_impl_ps2_disable_callback(const struct device *dev) in z_impl_ps2_disable_callback()