Lines Matching full:api
10 * @brief Public cellular network API
88 /** API for configuring networks */
93 /** API for getting supported networks */
98 /** API for getting network signal strength */
102 /** API for getting modem information */
107 /** API for getting registration status */
112 /** Cellular driver API */
139 * @retval -ENOTSUP if API is not supported by cellular network device.
145 const struct cellular_driver_api *api = (const struct cellular_driver_api *)dev->api; in cellular_configure_networks() local
147 if (api->configure_networks == NULL) { in cellular_configure_networks()
151 return api->configure_networks(dev, networks, size); in cellular_configure_networks()
162 * @retval -ENOTSUP if API is not supported by cellular network device.
169 const struct cellular_driver_api *api = (const struct cellular_driver_api *)dev->api; in cellular_get_supported_networks() local
171 if (api->get_supported_networks == NULL) { in cellular_get_supported_networks()
175 return api->get_supported_networks(dev, networks, size); in cellular_get_supported_networks()
186 * @retval -ENOTSUP if API is not supported by cellular network device.
193 const struct cellular_driver_api *api = (const struct cellular_driver_api *)dev->api; in cellular_get_signal() local
195 if (api->get_signal == NULL) { in cellular_get_signal()
199 return api->get_signal(dev, type, value); in cellular_get_signal()
211 * @retval -ENOTSUP if API is not supported by cellular network device.
219 const struct cellular_driver_api *api = (const struct cellular_driver_api *)dev->api; in cellular_get_modem_info() local
221 if (api->get_modem_info == NULL) { in cellular_get_modem_info()
225 return api->get_modem_info(dev, type, info, size); in cellular_get_modem_info()
236 * @retval -ENOSYS if API is not supported by cellular network device.
244 const struct cellular_driver_api *api = (const struct cellular_driver_api *)dev->api; in cellular_get_registration_status() local
246 if (api->get_registration_status == NULL) { in cellular_get_registration_status()
250 return api->get_registration_status(dev, tech, status); in cellular_get_registration_status()