Lines Matching full:api
32 * API template to get the base address of the syscon region.
39 * API template to read a single register.
46 * API template to write a single register.
53 * API template to get the size of the syscon register.
60 * @brief System Control (syscon) register driver API
80 const struct syscon_driver_api *api = (const struct syscon_driver_api *)dev->api; in z_impl_syscon_get_base() local
82 if (api == NULL) { in z_impl_syscon_get_base()
86 return api->get_base(dev, addr); in z_impl_syscon_get_base()
105 const struct syscon_driver_api *api = (const struct syscon_driver_api *)dev->api; in z_impl_syscon_read_reg() local
107 if (api == NULL) { in z_impl_syscon_read_reg()
111 return api->read(dev, reg, val); in z_impl_syscon_read_reg()
130 const struct syscon_driver_api *api = (const struct syscon_driver_api *)dev->api; in z_impl_syscon_write_reg() local
132 if (api == NULL) { in z_impl_syscon_write_reg()
136 return api->write(dev, reg, val); in z_impl_syscon_write_reg()
150 const struct syscon_driver_api *api = (const struct syscon_driver_api *)dev->api; in z_impl_syscon_get_size() local
152 return api->get_size(dev, size); in z_impl_syscon_get_size()