Lines Matching full:api
11 * @brief Inter-VM Shared Memory (ivshmem) reference API
12 * @defgroup ivshmem Inter-VM Shared Memory (ivshmem) reference API
87 * Note: This API is not supported for ivshmem-v2, as
104 const struct ivshmem_driver_api *api = in z_impl_ivshmem_get_mem() local
105 (const struct ivshmem_driver_api *)dev->api; in z_impl_ivshmem_get_mem()
107 return api->get_mem(dev, memmap); in z_impl_ivshmem_get_mem()
121 const struct ivshmem_driver_api *api = in z_impl_ivshmem_get_id() local
122 (const struct ivshmem_driver_api *)dev->api; in z_impl_ivshmem_get_id()
124 return api->get_id(dev); in z_impl_ivshmem_get_id()
138 const struct ivshmem_driver_api *api = in z_impl_ivshmem_get_vectors() local
139 (const struct ivshmem_driver_api *)dev->api; in z_impl_ivshmem_get_vectors()
141 return api->get_vectors(dev); in z_impl_ivshmem_get_vectors()
159 const struct ivshmem_driver_api *api = in z_impl_ivshmem_int_peer() local
160 (const struct ivshmem_driver_api *)dev->api; in z_impl_ivshmem_int_peer()
162 return api->int_peer(dev, peer_id, vector); in z_impl_ivshmem_int_peer()
188 const struct ivshmem_driver_api *api = in z_impl_ivshmem_register_handler() local
189 (const struct ivshmem_driver_api *)dev->api; in z_impl_ivshmem_register_handler()
191 return api->register_handler(dev, signal, vector); in z_impl_ivshmem_register_handler()
210 const struct ivshmem_driver_api *api = in z_impl_ivshmem_get_rw_mem_section() local
211 (const struct ivshmem_driver_api *)dev->api; in z_impl_ivshmem_get_rw_mem_section()
213 return api->get_rw_mem_section(dev, memmap); in z_impl_ivshmem_get_rw_mem_section()
233 const struct ivshmem_driver_api *api = in z_impl_ivshmem_get_output_mem_section() local
234 (const struct ivshmem_driver_api *)dev->api; in z_impl_ivshmem_get_output_mem_section()
236 return api->get_output_mem_section(dev, peer_id, memmap); in z_impl_ivshmem_get_output_mem_section()
253 const struct ivshmem_driver_api *api = in z_impl_ivshmem_get_state() local
254 (const struct ivshmem_driver_api *)dev->api; in z_impl_ivshmem_get_state()
256 return api->get_state(dev, peer_id); in z_impl_ivshmem_get_state()
273 const struct ivshmem_driver_api *api = in z_impl_ivshmem_set_state() local
274 (const struct ivshmem_driver_api *)dev->api; in z_impl_ivshmem_set_state()
276 return api->set_state(dev, state); in z_impl_ivshmem_set_state()
290 const struct ivshmem_driver_api *api = in z_impl_ivshmem_get_max_peers() local
291 (const struct ivshmem_driver_api *)dev->api; in z_impl_ivshmem_get_max_peers()
293 return api->get_max_peers(dev); in z_impl_ivshmem_get_max_peers()
307 const struct ivshmem_driver_api *api = in z_impl_ivshmem_get_protocol() local
308 (const struct ivshmem_driver_api *)dev->api; in z_impl_ivshmem_get_protocol()
310 return api->get_protocol(dev); in z_impl_ivshmem_get_protocol()
327 const struct ivshmem_driver_api *api = in z_impl_ivshmem_enable_interrupts() local
328 (const struct ivshmem_driver_api *)dev->api; in z_impl_ivshmem_enable_interrupts()
330 return api->enable_interrupts(dev, enable); in z_impl_ivshmem_enable_interrupts()