| /Zephyr-4.3.0/subsys/net/lib/mqtt/ |
| D | mqtt.c | 51 int err_code; in mqtt_client_disconnect() local 53 err_code = mqtt_transport_disconnect(client); in mqtt_client_disconnect() 54 if (err_code < 0) { in mqtt_client_disconnect() 74 int err_code; in client_connect() local 77 err_code = mqtt_transport_connect(client); in client_connect() 78 if (err_code < 0) { in client_connect() 79 return err_code; in client_connect() 85 err_code = connect_request_encode(client, &packet); in client_connect() 86 if (err_code < 0) { in client_connect() 91 err_code = mqtt_transport_write(client, packet.cur, in client_connect() [all …]
|
| D | mqtt_rx.c | 24 int err_code = 0; in mqtt_handle_packet() local 36 err_code = connect_ack_decode(client, buf, &evt.param.connack); in mqtt_handle_packet() 37 if (err_code == 0) { in mqtt_handle_packet() 49 err_code = -ECONNREFUSED; in mqtt_handle_packet() 54 evt.result = err_code; in mqtt_handle_packet() 63 err_code = publish_decode(client, type_and_flags, var_length, in mqtt_handle_packet() 65 evt.result = err_code; in mqtt_handle_packet() 81 err_code = publish_ack_decode(client, buf, &evt.param.puback); in mqtt_handle_packet() 82 evt.result = err_code; in mqtt_handle_packet() 89 err_code = publish_receive_decode(client, buf, in mqtt_handle_packet() [all …]
|
| D | mqtt_encoder.c | 726 int err_code; in connect_request_encode() local 743 err_code = pack_utf8_str(proto_desc, buf); in connect_request_encode() 744 if (err_code != 0) { in connect_request_encode() 745 return err_code; in connect_request_encode() 749 err_code = pack_uint8(client->protocol_version, buf); in connect_request_encode() 750 if (err_code != 0) { in connect_request_encode() 751 return err_code; in connect_request_encode() 759 err_code = pack_uint8(0, buf); in connect_request_encode() 760 if (err_code != 0) { in connect_request_encode() 761 return err_code; in connect_request_encode() [all …]
|
| D | mqtt_decoder.c | 93 int err_code; in unpack_utf8_str() local 97 err_code = unpack_uint16(buf, &utf8_strlen); in unpack_utf8_str() 98 if (err_code != 0) { in unpack_utf8_str() 99 return err_code; in unpack_utf8_str() 191 int err_code; in fixed_header_decode() local 193 err_code = unpack_uint8(buf, type_and_flags); in fixed_header_decode() 194 if (err_code != 0) { in fixed_header_decode() 195 return err_code; in fixed_header_decode() 198 err_code = unpack_variable_int(buf, length); in fixed_header_decode() 199 if (err_code < 0) { in fixed_header_decode() [all …]
|
| /Zephyr-4.3.0/drivers/watchdog/ |
| D | wdt_nrfx.c | 37 int err_code; in wdt_nrf_setup() local 55 err_code = nrfx_wdt_reconfigure(&data->wdt, &wdt_config); in wdt_nrf_setup() 57 if (err_code < 0) { in wdt_nrf_setup() 58 return err_code; in wdt_nrf_setup() 71 int err_code; in wdt_nrf_disable() local 74 err_code = nrfx_wdt_stop(&data->wdt); in wdt_nrf_disable() 76 if (err_code < 0) { in wdt_nrf_disable() 104 int err_code; in wdt_nrf_install_timeout() local 137 err_code = nrfx_wdt_channel_alloc(&data->wdt, in wdt_nrf_install_timeout() 140 if (err_code == -ENOMEM) { in wdt_nrf_install_timeout() [all …]
|
| /Zephyr-4.3.0/drivers/timer/ |
| D | nrf_grtc_timer.c | 169 int err_code; in z_nrf_grtc_timer_chan_alloc() local 175 err_code = nrfx_grtc_channel_alloc(&chan); in z_nrf_grtc_timer_chan_alloc() 176 if (err_code < 0) { in z_nrf_grtc_timer_chan_alloc() 186 int err_code = nrfx_grtc_channel_free(chan); in z_nrf_grtc_timer_chan_free() local 188 if (err_code == 0) { in z_nrf_grtc_timer_chan_free() 344 int err_code; in z_nrf_grtc_wakeup_prepare() local 367 err_code = nrfx_grtc_channel_alloc(&systemoff_channel); in z_nrf_grtc_wakeup_prepare() 368 if (err_code < 0) { in z_nrf_grtc_wakeup_prepare() 370 return err_code; in z_nrf_grtc_wakeup_prepare() 453 int err_code; in sys_clock_driver_init() local [all …]
|
| /Zephyr-4.3.0/drivers/i2c/ |
| D | i2c_ene_kb1200.c | 34 volatile int err_code; member 67 data->err_code = 0; in i2c_kb1200_isr() 69 data->err_code = config->fsmbm->FSMBMSTS & FSMBM_STS_MASK; in i2c_kb1200_isr() 75 data->err_code = config->fsmbm->FSMBMSTS & FSMBM_STS_MASK; in i2c_kb1200_isr() 106 data->err_code = 0; in i2c_kb1200_isr() 108 data->err_code = config->fsmbm->FSMBMSTS & FSMBM_STS_MASK; in i2c_kb1200_isr() 114 data->err_code = config->fsmbm->FSMBMSTS & FSMBM_STS_MASK; in i2c_kb1200_isr() 144 data->err_code = 0; in i2c_kb1200_poll_write() 167 data->err_code |= FSMBM_SDA_TIMEOUT; in i2c_kb1200_poll_write() 170 if (data->err_code) { in i2c_kb1200_poll_write() [all …]
|
| /Zephyr-4.3.0/subsys/net/lib/tftp/ |
| D | tftp_client.c | 145 static inline int send_err(int sock, struct tftpc *client, int err_code, char *err_msg) in send_err() argument 149 LOG_DBG("Client sending error code: %d", err_code); in send_err() 153 sys_put_be16(err_code, client->tftp_buf + 2); in send_err()
|
| /Zephyr-4.3.0/samples/bluetooth/hci_uart_async/src/ |
| D | hci_uart_async.c | 146 const uint8_t err_code = 0; in send_hw_error() local 148 sizeof(struct bt_hci_evt_hardware_error), err_code}; in send_hw_error()
|
| /Zephyr-4.3.0/subsys/bluetooth/controller/ll_sw/ |
| D | ull_llcp_common.c | 1077 uint8_t err_code = 0; local 1080 err_code = BT_HCI_ERR_UNSUPP_LL_PARAM_VAL; 1088 err_code = BT_HCI_ERR_INVALID_LL_PARAM; 1093 err_code = BT_HCI_ERR_UNSUPP_LL_PARAM_VAL; 1096 if (!err_code) { 1100 llcp_pdu_encode_reject_ext_ind(pdu, PDU_DATA_LLCTRL_TYPE_CTE_REQ, err_code);
|
| /Zephyr-4.3.0/drivers/modem/hl78xx/ |
| D | hl78xx_sockets.c | 109 enum hl78xx_tcp_socket_status_code err_code; member 114 enum hl78xx_udp_socket_status_code err_code; member 398 socket_data->tcp_conn_status[HL78XX_TCP_STATUS_ID(socket_id)].err_code = in hl78xx_on_ktcpind() 404 socket_data->tcp_conn_status[HL78XX_TCP_STATUS_ID(socket_id)].err_code = tcp_conn_stat; in hl78xx_on_ktcpind() 454 socket_data->tcp_conn_status[HL78XX_TCP_STATUS_ID(socket_id)].err_code = TCP_SOCKET_ERROR; in hl78xx_on_ktcpsocket_create() 503 socket_data->udp_conn_status[HL78XX_UDP_STATUS_ID(socket_id)].err_code = in hl78xx_on_kudpsocket_create() 509 socket_data->udp_conn_status[HL78XX_UDP_STATUS_ID(socket_id)].err_code = UDP_SOCKET_ERROR; in hl78xx_on_kudpsocket_create() 1662 errno = (socket_data->tcp_conn_status[HL78XX_TCP_STATUS_ID(sock->id)].err_code > 0) in offload_connect() 1664 .err_code in offload_connect()
|
| /Zephyr-4.3.0/drivers/usb/device/ |
| D | usb_dc_nrfx.c | 913 nrf_usbd_common_ep_status_t err_code; in usbd_event_transfer_ctrl() local 919 err_code = nrf_usbd_common_ep_status_get( in usbd_event_transfer_ctrl() 922 if (err_code != NRF_USBD_COMMON_EP_OK) { in usbd_event_transfer_ctrl() 924 err_code); in usbd_event_transfer_ctrl()
|
| /Zephyr-4.3.0/subsys/bluetooth/host/classic/ |
| D | avdtp.c | 823 uint8_t err_code; member 888 return handler->err_code; in bt_avdtp_check_service_category() 946 uint8_t err_code = 0; in avdtp_process_configuration_cmd() local 954 err_code = bt_avdtp_check_service_category(buf, &service_category, in avdtp_process_configuration_cmd() 957 if (err_code) { in avdtp_process_configuration_cmd() 958 avdtp_err_code = err_code; in avdtp_process_configuration_cmd()
|
| /Zephyr-4.3.0/drivers/serial/ |
| D | uart_silabs_eusart.c | 389 static void eusart_async_evt_rx_err(struct eusart_data *data, int err_code) in eusart_async_evt_rx_err() argument 393 .data.rx_stop.reason = err_code, in eusart_async_evt_rx_err()
|
| D | uart_silabs_usart.c | 361 static inline void async_evt_rx_err(struct uart_silabs_data *data, int err_code) in async_evt_rx_err() argument 365 .data.rx_stop.reason = err_code, in async_evt_rx_err()
|
| D | uart_stm32.c | 1205 static inline void async_evt_rx_err(struct uart_stm32_data *data, int err_code) in async_evt_rx_err() argument 1207 LOG_DBG("rx error: %d", err_code); in async_evt_rx_err() 1211 .data.rx_stop.reason = err_code, in async_evt_rx_err()
|
| /Zephyr-4.3.0/subsys/bluetooth/controller/include/ |
| D | ll.h | 247 uint8_t ll_start_enc_req_send(uint16_t handle, uint8_t err_code,
|