Lines Matching full:api
10 * @brief Public cellular network API
79 /** API for configuring networks */
84 /** API for getting supported networks */
89 /** API for getting network signal strength */
93 /** API for getting modem information */
98 /** Cellular driver API */
124 * @retval -ENOTSUP if API is not supported by cellular network device.
130 const struct cellular_driver_api *api = (const struct cellular_driver_api *)dev->api; in cellular_configure_networks() local
132 if (api->configure_networks == NULL) { in cellular_configure_networks()
136 return api->configure_networks(dev, networks, size); in cellular_configure_networks()
147 * @retval -ENOTSUP if API is not supported by cellular network device.
154 const struct cellular_driver_api *api = (const struct cellular_driver_api *)dev->api; in cellular_get_supported_networks() local
156 if (api->get_supported_networks == NULL) { in cellular_get_supported_networks()
160 return api->get_supported_networks(dev, networks, size); in cellular_get_supported_networks()
171 * @retval -ENOTSUP if API is not supported by cellular network device.
178 const struct cellular_driver_api *api = (const struct cellular_driver_api *)dev->api; in cellular_get_signal() local
180 if (api->get_signal == NULL) { in cellular_get_signal()
184 return api->get_signal(dev, type, value); in cellular_get_signal()
196 * @retval -ENOTSUP if API is not supported by cellular network device.
204 const struct cellular_driver_api *api = (const struct cellular_driver_api *)dev->api; in cellular_get_modem_info() local
206 if (api->get_modem_info == NULL) { in cellular_get_modem_info()
210 return api->get_modem_info(dev, type, info, size); in cellular_get_modem_info()