Lines Matching full:api
9 * @brief Public API for PS/2 devices such as keyboard and mouse.
10 * Callers of this API are responsible for setting the typematic rate
44 * PS2 driver API definition and system call entry points
82 const struct ps2_driver_api *api = in z_impl_ps2_config() local
83 (struct ps2_driver_api *)dev->api; in z_impl_ps2_config()
85 return api->config(dev, callback_isr); in z_impl_ps2_config()
101 const struct ps2_driver_api *api = in z_impl_ps2_write() local
102 (const struct ps2_driver_api *)dev->api; in z_impl_ps2_write()
104 return api->write(dev, value); in z_impl_ps2_write()
119 const struct ps2_driver_api *api = in z_impl_ps2_read() local
120 (const struct ps2_driver_api *)dev->api; in z_impl_ps2_read()
122 return api->read(dev, value); in z_impl_ps2_read()
136 const struct ps2_driver_api *api = in z_impl_ps2_enable_callback() local
137 (const struct ps2_driver_api *)dev->api; in z_impl_ps2_enable_callback()
139 if (api->enable_callback == NULL) { in z_impl_ps2_enable_callback()
143 return api->enable_callback(dev); in z_impl_ps2_enable_callback()
157 const struct ps2_driver_api *api = in z_impl_ps2_disable_callback() local
158 (const struct ps2_driver_api *)dev->api; in z_impl_ps2_disable_callback()
160 if (api->disable_callback == NULL) { in z_impl_ps2_disable_callback()
164 return api->disable_callback(dev); in z_impl_ps2_disable_callback()