Home
last modified time | relevance | path

Searched refs:error (Results 51 – 75 of 1189) sorted by relevance

12345678910>>...48

/Zephyr-latest/drivers/adc/
Dadc_vf610.c73 int error; in start_read() local
119 error = adc_context_wait_for_completion(&data->ctx); in start_read()
120 return error; in start_read()
127 int error; in vf610_adc_read() local
130 error = start_read(dev, sequence); in vf610_adc_read()
131 adc_context_release(&data->ctx, error); in vf610_adc_read()
133 return error; in vf610_adc_read()
142 int error; in vf610_adc_read_async() local
145 error = start_read(dev, sequence); in vf610_adc_read_async()
146 adc_context_release(&data->ctx, error); in vf610_adc_read_async()
[all …]
Dadc_nrfx_saadc.c502 int error; in start_read() local
584 error = set_resolution(sequence); in start_read()
585 if (error) { in start_read()
586 return error; in start_read()
589 error = set_oversampling(sequence, active_channels); in start_read()
590 if (error) { in start_read()
591 return error; in start_read()
594 error = check_buffer_size(sequence, active_channels); in start_read()
595 if (error) { in start_read()
596 return error; in start_read()
[all …]
Dadc_nxp_s32_adc_sar.c207 int error; in adc_nxp_s32_start_read_async() local
216 error = adc_nxp_s32_validate_buffer_size(dev, sequence); in adc_nxp_s32_start_read_async()
217 if (error) { in adc_nxp_s32_start_read_async()
223 error = adc_nxp_s32_set_averaging(dev, sequence->oversampling); in adc_nxp_s32_start_read_async()
224 if (error) { in adc_nxp_s32_start_read_async()
235 error = adc_nxp_s32_set_resolution(dev, sequence->resolution); in adc_nxp_s32_start_read_async()
236 if (error) { in adc_nxp_s32_start_read_async()
248 error = Adc_Sar_Ip_DoCalibration(config->instance); in adc_nxp_s32_start_read_async()
249 if (error) { in adc_nxp_s32_start_read_async()
282 error = adc_context_wait_for_completion(&data->ctx); in adc_nxp_s32_start_read_async()
[all …]
Dadc_sam.c204 int error; in start_read() local
227 error = check_buffer_size(sequence, data->num_active_channels); in start_read()
228 if (error) { in start_read()
229 return error; in start_read()
249 int error; in adc_sam_read() local
252 error = start_read(dev, sequence); in adc_sam_read()
253 adc_context_release(&data->ctx, error); in adc_sam_read()
255 return error; in adc_sam_read()
369 int error; in adc_sam_read_async() local
372 error = start_read(dev, sequence); in adc_sam_read_async()
[all …]
/Zephyr-latest/drivers/i2c/
Di2c_mcux_lpi2c.c263 int error = 0; in mcux_lpi2c_recover_bus() local
277 error = gpio_pin_configure_dt(&config->scl, GPIO_OUTPUT_HIGH); in mcux_lpi2c_recover_bus()
278 if (error != 0) { in mcux_lpi2c_recover_bus()
279 LOG_ERR("failed to configure SCL GPIO (err %d)", error); in mcux_lpi2c_recover_bus()
283 error = gpio_pin_configure_dt(&config->sda, GPIO_OUTPUT_HIGH); in mcux_lpi2c_recover_bus()
284 if (error != 0) { in mcux_lpi2c_recover_bus()
285 LOG_ERR("failed to configure SDA GPIO (err %d)", error); in mcux_lpi2c_recover_bus()
292 error = i2c_bitbang_configure(&bitbang_ctx, bitrate_cfg); in mcux_lpi2c_recover_bus()
293 if (error != 0) { in mcux_lpi2c_recover_bus()
294 LOG_ERR("failed to configure I2C bitbang (err %d)", error); in mcux_lpi2c_recover_bus()
[all …]
Di2c_ll_stm32.c262 int error = 0; in i2c_stm32_recover_bus() local
278 error = gpio_pin_configure_dt(&config->scl, GPIO_OUTPUT_HIGH); in i2c_stm32_recover_bus()
279 if (error != 0) { in i2c_stm32_recover_bus()
280 LOG_ERR("failed to configure SCL GPIO (err %d)", error); in i2c_stm32_recover_bus()
284 error = gpio_pin_configure_dt(&config->sda, GPIO_OUTPUT_HIGH); in i2c_stm32_recover_bus()
285 if (error != 0) { in i2c_stm32_recover_bus()
286 LOG_ERR("failed to configure SDA GPIO (err %d)", error); in i2c_stm32_recover_bus()
293 error = i2c_bitbang_configure(&bitbang_ctx, bitrate_cfg); in i2c_stm32_recover_bus()
294 if (error != 0) { in i2c_stm32_recover_bus()
295 LOG_ERR("failed to configure I2C bitbang (err %d)", error); in i2c_stm32_recover_bus()
[all …]
Di2c_ambiq.c286 int error = 0; in i2c_ambiq_recover_bus() local
302 error = gpio_pin_configure_dt(&config->scl, GPIO_OUTPUT_HIGH); in i2c_ambiq_recover_bus()
303 if (error != 0) { in i2c_ambiq_recover_bus()
304 LOG_ERR("failed to configure SCL GPIO (err %d)", error); in i2c_ambiq_recover_bus()
308 error = gpio_pin_configure_dt(&config->sda, GPIO_OUTPUT_HIGH); in i2c_ambiq_recover_bus()
309 if (error != 0) { in i2c_ambiq_recover_bus()
310 LOG_ERR("failed to configure SDA GPIO (err %d)", error); in i2c_ambiq_recover_bus()
317 error = i2c_bitbang_configure(&bitbang_ctx, bitrate_cfg); in i2c_ambiq_recover_bus()
318 if (error != 0) { in i2c_ambiq_recover_bus()
319 LOG_ERR("failed to configure I2C bitbang (err %d)", error); in i2c_ambiq_recover_bus()
[all …]
/Zephyr-latest/include/zephyr/linker/
Dlinker-devnull.h20 #error "ROM_SIZE, ROM_ADDR or ROM_BASE not defined"
25 #error "RAM_SIZE, RAM_ADDR or RAM_BASE not defined"
66 #error "Cannot place devnull segment adjacent to ROM region."
/Zephyr-latest/subsys/net/lib/http/
Dhttp_parser.c945 goto error; in parser_execute()
962 goto error; in parser_execute()
1001 goto error; in parser_execute()
1026 goto error; in parser_execute()
1043 goto error; in parser_execute()
1051 goto error; in parser_execute()
1059 goto error; in parser_execute()
1067 goto error; in parser_execute()
1075 goto error; in parser_execute()
1091 goto error; in parser_execute()
[all …]
/Zephyr-latest/doc/services/device_mgmt/smp_groups/
Dsmp_group_10.rst66 In case of error the CBOR data takes the form:
97 | "err" -> "group" | :c:enum:`mcumgr_group_t` group of the group-based error code. Only |
98 | | appears if an error is returned when using SMP version 2. |
100 | "err" -> "rc" | contains the index of the group-based error code. Only appears if |
101 | | non-zero (error condition) when using SMP version 2. |
103 | "rc" | :c:enum:`mcumgr_err_t` only appears if non-zero (error condition) when |
154 In case of error the CBOR data takes the form:
185 | "err" -> "group" | :c:enum:`mcumgr_group_t` group of the group-based error code. Only |
186 | | appears if an error is returned when using SMP version 2. |
188 | "err" -> "rc" | contains the index of the group-based error code. Only appears if |
[all …]
Dsmp_group_63.rst54 The command sends an empty CBOR map as data if successful. In case of error the CBOR data takes
84 | "err" -> "group" | :c:enum:`mcumgr_group_t` group of the group-based error code. Only |
85 | | appears if an error is returned when using SMP version 2. |
87 | "err" -> "rc" | contains the index of the group-based error code. Only appears if |
88 | | non-zero (error condition) when using SMP version 2. |
90 | "rc" | :c:enum:`mcumgr_err_t` only appears if non-zero (error condition) when |
Dsmp_group_2.rst87 In case of error the CBOR data takes the form:
125 | "err" -> "group" | :c:enum:`mcumgr_group_t` group of the group-based error code. Only |
126 | | appears if an error is returned when using SMP version 2. |
128 | "err" -> "rc" | contains the index of the group-based error code. Only appears if |
129 | | non-zero (error condition) when using SMP version 2. |
131 | "rc" | :c:enum:`mcumgr_err_t` only appears if non-zero (error condition) when |
185 In case of error the CBOR data takes the form:
218 | "err" -> "group" | :c:enum:`mcumgr_group_t` group of the group-based error code. Only |
219 | | appears if an error is returned when using SMP version 2. |
221 | "err" -> "rc" | contains the index of the group-based error code. Only appears if |
[all …]
Dsmp_group_8.rst113 In case of error the CBOR data takes the form:
149 | "err" -> "group" | :c:enum:`mcumgr_group_t` group of the group-based error code. Only |
150 | | appears if an error is returned when using SMP version 2. |
152 | "err" -> "rc" | contains the index of the group-based error code. Only appears if |
153 | | non-zero (error condition) when using SMP version 2. |
155 | "rc" | :c:enum:`mcumgr_err_t` only appears if non-zero (error condition) when |
257 In case of error the CBOR data takes the form:
288 | "err" -> "group" | :c:enum:`mcumgr_group_t` group of the group-based error code. Only |
289 | | appears if an error is returned when using SMP version 2. |
291 | "err" -> "rc" | contains the index of the group-based error code. Only appears if |
[all …]
/Zephyr-latest/soc/atmel/sam0/common/
Dadc_fixup_sam0.h17 #error ADC not supported...
30 #error ADC not supported...
46 #error ADC not supported...
56 #error ADC not supported...
64 #error ADC not supported...
72 #error ADC not supported...
118 # error ADC not supported...
/Zephyr-latest/drivers/video/
Dvideo_esp32_dvp.c144 int error = 0; in video_esp32_set_stream() local
154 error = dma_stop(cfg->dma_dev, cfg->rx_dma_channel); in video_esp32_set_stream()
155 if (error) { in video_esp32_set_stream()
156 LOG_ERR("Unable to stop DMA (%d)", error); in video_esp32_set_stream()
157 return error; in video_esp32_set_stream()
171 error = dma_get_status(cfg->dma_dev, cfg->rx_dma_channel, &dma_status); in video_esp32_set_stream()
173 if (error) { in video_esp32_set_stream()
174 LOG_ERR("Unable to get Rx status (%d)", error); in video_esp32_set_stream()
175 return error; in video_esp32_set_stream()
219 error = dma_config(cfg->dma_dev, cfg->rx_dma_channel, &dma_cfg); in video_esp32_set_stream()
[all …]
/Zephyr-latest/subsys/net/lib/lwm2m/
Dlwm2m_pull_context.c246 goto error; in do_firmware_transfer_reply_cb()
256 goto error; in do_firmware_transfer_reply_cb()
266 goto error; in do_firmware_transfer_reply_cb()
295 goto error; in do_firmware_transfer_reply_cb()
301 goto error; in do_firmware_transfer_reply_cb()
325 goto error; in do_firmware_transfer_reply_cb()
333 goto error; in do_firmware_transfer_reply_cb()
344 goto error; in do_firmware_transfer_reply_cb()
354 error: in do_firmware_transfer_reply_cb()
380 goto error; in firmware_transfer()
[all …]
/Zephyr-latest/drivers/sensor/honeywell/mpr/
Dmpr_configuration.h54 #error "MPR: Unknown pressure range."
77 #error "MPR: Unknown pressure unit."
93 #error "MPR: Unknown pressure reference."
/Zephyr-latest/include/zephyr/arch/arm/
Dasm_inline_gcc.h53 #error "Cortex-M0 and Cortex-M0+ require SoC specific support for cross core synchronisation." in arch_irq_lock()
69 #error Unknown ARM architecture in arch_irq_lock()
98 #error Unknown ARM architecture in arch_irq_unlock()
/Zephyr-latest/drivers/spi/
Dspi_nrfx_spi.c164 static void finish_transaction(const struct device *dev, int error) in finish_transaction() argument
169 LOG_DBG("Transaction finished with status %d", error); in finish_transaction()
171 spi_context_complete(ctx, dev, error); in finish_transaction()
180 int error = 0; in transfer_next_chunk() local
199 error = -EIO; in transfer_next_chunk()
202 finish_transaction(dev, error); in transfer_next_chunk()
235 int error; in transceive() local
239 error = configure(dev, spi_cfg); in transceive()
240 if (error == 0) { in transceive()
244 error = spi_nrfx_wake_request(&dev_config->wake_gpiote, in transceive()
[all …]
Dspi_nrfx_spim.c37 #error This driver is not available by default for nRF52832 because of Product Anomaly 58 \
104 int error; in request_clock() local
110 error = nrf_clock_control_request_sync( in request_clock()
113 if (error < 0) { in request_clock()
114 LOG_ERR("Failed to request clock: %d", error); in request_clock()
115 return error; in request_clock()
390 static void finish_transaction(const struct device *dev, int error) in finish_transaction() argument
395 LOG_DBG("Transaction finished with status %d", error); in finish_transaction()
397 spi_context_complete(ctx, dev, error); in finish_transaction()
408 int error = 0; in transfer_next_chunk() local
[all …]
Dspi_andes_atcspi200.c231 uint32_t error = 0; in spi_dma_move_buffers() local
237 error = spi_dma_tx_load(dev); in spi_dma_move_buffers()
238 if (error != 0) { in spi_dma_move_buffers()
239 return error; in spi_dma_move_buffers()
244 error = spi_dma_rx_load(dev); in spi_dma_move_buffers()
245 if (error != 0) { in spi_dma_move_buffers()
246 return error; in spi_dma_move_buffers()
259 int error; in dma_rx_callback() local
269 error = dma_start(data->dma_rx.dma_dev, data->dma_rx.channel); in dma_rx_callback()
270 __ASSERT(error == 0, "dma_start was failed in rx callback"); in dma_rx_callback()
[all …]
/Zephyr-latest/subsys/net/lib/ptp/
Dtransport.c24 #error "Chosen PTP transport protocol not implemented"
47 goto error; in transport_socket_open()
52 goto error; in transport_socket_open()
62 goto error; in transport_socket_open()
67 goto error; in transport_socket_open()
72 goto error; in transport_socket_open()
76 error: in transport_socket_open()
122 goto error; in transport_udp_ipv4_open()
138 error: in transport_udp_ipv4_open()
165 goto error; in transport_udp_ipv6_open()
[all …]
/Zephyr-latest/scripts/coredump/coredump_parser/
Dlog_parser.py107 logger.error(f"Memory block version: {hdr_ver}, expected {COREDUMP_MEM_HDR_VER}!")
143 logger.error("Log header ID not found...")
147 logger.error(f"Log version: {hdr_ver}, expected: {COREDUMP_HDR_VER}!")
174 logger.error("Cannot parse architecture section")
178 logger.error("Cannot parse threads metadata section")
182 logger.error("Cannot parse memory section")
186 logger.error(f"Unknown section in log file with ID {section_id}")
/Zephyr-latest/scripts/build/
Dgen_isr_tables_parser_carrays.py129 self.__log.error("one or both of -s or -V needs to be specified on command line")
143 self.__log.error("Direct Interrupt %d declared with parameter 0x%x "
147 self.__log.error("Direct irq %d declared, but has non-NULL parameter"
150 self.__log.error("IRQ %d (offset=%d) exceeds the maximum of %d"
156 self.__log.error("Regular Interrupt %d declared with parameter 0x%x "
163 self.__log.error("IRQ %d (offset=%d) exceeds the maximum of %d" %
168 self.__log.error("Attempting to register the same ISR/arg pair twice.")
170 self.__log.error(f"Reached shared interrupt client limit. Maybe increase"
174 … self.__log.error(f"multiple registrations at table_index {table_index} for irq {irq} (0x{irq:x})"
254 self.__log.error("CONFIG_IRQ_VECTOR_TABLE_JUMP_BY_{ADDRESS,CODE} not set")
/Zephyr-latest/tests/arch/arc/arc_dsp_sharing/src/
Dmain.c11 #error Rebuild with the ARC_DSP config option enabled
15 #error Rebuild with the ARC_DSP_SHARING config option enabled

12345678910>>...48