Home
last modified time | relevance | path

Searched refs:retval (Results 51 – 75 of 96) sorted by relevance

1234

/Zephyr-latest/tests/posix/common/src/
Dpthread.c265 void *retval; in ZTEST() local
337 pthread_join(newthread[i], &retval); in ZTEST()
356 void *retval; in ZTEST() local
369 zassert_ok(pthread_join(newthread[i], &retval)); in ZTEST()
374 ret = pthread_join(pthread_self(), &retval); in ZTEST()
386 void *retval; in ZTEST() local
393 zassert_equal(pthread_tryjoin_np(th, &retval), EBUSY); in ZTEST()
399 zassert_ok(pthread_tryjoin_np(th, &retval)); in ZTEST()
Dkey.c79 void *retval; in ZTEST() local
92 zassert_ok(pthread_join(newthread[i], &retval), "failed to join thread %d", i); in ZTEST()
Dmqueue.c74 void *retval; in ZTEST() local
91 pthread_join(newthread[i], &retval); in ZTEST()
/Zephyr-latest/arch/posix/include/
Dkernel_arch_func.h33 thread->callee_saved.retval = value; in arch_thread_return_value_set()
/Zephyr-latest/drivers/pwm/
Dpwm_sam0_tc.c136 int retval; in pwm_sam0_init() local
151 retval = pinctrl_apply_state(cfg->pcfg, PINCTRL_STATE_DEFAULT); in pwm_sam0_init()
152 if (retval < 0) { in pwm_sam0_init()
153 return retval; in pwm_sam0_init()
/Zephyr-latest/drivers/adc/
Dadc_sam_afec.c271 int retval; in adc_sam_init() local
304 retval = pinctrl_apply_state(cfg->pcfg, PINCTRL_STATE_DEFAULT); in adc_sam_init()
305 if (retval < 0) { in adc_sam_init()
306 return retval; in adc_sam_init()
315 return retval; in adc_sam_init()
/Zephyr-latest/include/zephyr/arch/nios2/
Dthread.h51 uint32_t retval; member
/Zephyr-latest/drivers/mdio/
Dmdio_sam.c143 int retval; in mdio_sam_initialize() local
156 retval = pinctrl_apply_state(cfg->pcfg, PINCTRL_STATE_DEFAULT); in mdio_sam_initialize()
158 return retval; in mdio_sam_initialize()
/Zephyr-latest/kernel/
Dpoll.c686 int retval; in k_work_poll_submit_to_queue() local
688 retval = triggered_work_cancel(work, key); in k_work_poll_submit_to_queue()
689 if (retval < 0) { in k_work_poll_submit_to_queue()
693 work, timeout, retval); in k_work_poll_submit_to_queue()
695 return retval; in k_work_poll_submit_to_queue()
797 int retval; in k_work_poll_cancel() local
809 retval = triggered_work_cancel(work, key); in k_work_poll_cancel()
812 SYS_PORT_TRACING_FUNC_EXIT(k_work_poll, cancel, work, retval); in k_work_poll_cancel()
814 return retval; in k_work_poll_cancel()
/Zephyr-latest/arch/nios2/include/
Dkernel_arch_func.h43 thread->callee_saved.retval = value; in arch_thread_return_value_set()
/Zephyr-latest/drivers/counter/
Dcounter_sam_tc.c318 int retval; in counter_sam_initialize() local
321 retval = pinctrl_apply_state(dev_cfg->pcfg, PINCTRL_STATE_DEFAULT); in counter_sam_initialize()
322 if (retval < 0 && retval != -ENOENT) { in counter_sam_initialize()
323 return retval; in counter_sam_initialize()
Dcounter_sam0_tc32.c337 int retval; in counter_sam0_tc32_initialize() local
374 retval = pinctrl_apply_state(cfg->pcfg, PINCTRL_STATE_DEFAULT); in counter_sam0_tc32_initialize()
375 if (retval < 0) { in counter_sam0_tc32_initialize()
376 return retval; in counter_sam0_tc32_initialize()
/Zephyr-latest/drivers/entropy/
Dentropy_nrf5.c105 int retval = -EAGAIN; in random_byte_get() local
111 retval = nrf_rng_random_value_get(NRF_RNG); in random_byte_get()
117 return retval; in random_byte_get()
Dentropy_smartbond.c117 int retval = -EAGAIN; in random_word_get() local
124 retval = 0; in random_word_get()
134 return retval; in random_word_get()
/Zephyr-latest/drivers/serial/
Duart_rzt2m.c93 uint32_t retval = 0; in rzt2m_err_check() local
96 retval |= UART_ERROR_OVERRUN; in rzt2m_err_check()
99 retval |= UART_ERROR_FRAMING; in rzt2m_err_check()
102 retval |= UART_ERROR_PARITY; in rzt2m_err_check()
105 return retval; in rzt2m_err_check()
Duart_mcux.c45 status_t retval; in uart_mcux_configure() local
105 retval = UART_Init(config->base, &uart_config, clock_freq); in uart_mcux_configure()
106 if (retval != kStatus_Success) { in uart_mcux_configure()
/Zephyr-latest/drivers/i2c/
Di2c_cc32xx.c164 int retval = 0; in i2c_cc32xx_transfer() local
180 retval = -EIO; in i2c_cc32xx_transfer()
191 return retval; in i2c_cc32xx_transfer()
/Zephyr-latest/lib/posix/options/
Dposix_internal.h60 void *retval; member
Dpthread.c464 static void posix_thread_finalize(struct posix_thread *t, void *retval) in posix_thread_finalize() argument
505 t->retval = retval; in posix_thread_finalize()
1039 void pthread_exit(void *retval) in pthread_exit() argument
1061 posix_thread_finalize(self, retval); in pthread_exit()
1133 *status = t->retval; in pthread_timedjoin_internal()
/Zephyr-latest/arch/nios2/core/offsets/
Doffsets.c45 GEN_OFFSET_SYM(_callee_saved_t, retval);
/Zephyr-latest/drivers/dma/
Ddma_xilinx_axi_dma.c458 int retval = DMA_STATUS_COMPLETE; in dma_xilinx_axi_dma_clean_up_sg_descriptors() local
466 retval = -EFAULT; in dma_xilinx_axi_dma_clean_up_sg_descriptors()
475 retval = -EFAULT; in dma_xilinx_axi_dma_clean_up_sg_descriptors()
482 retval = -EFAULT; in dma_xilinx_axi_dma_clean_up_sg_descriptors()
489 retval = -EFAULT; in dma_xilinx_axi_dma_clean_up_sg_descriptors()
496 retval = -EFAULT; in dma_xilinx_axi_dma_clean_up_sg_descriptors()
517 XILINX_AXI_DMA_TX_CHANNEL_NUM, retval); in dma_xilinx_axi_dma_clean_up_sg_descriptors()
/Zephyr-latest/arch/xtensa/core/
Dgdbstub.c82 unsigned int retval; \
85 : [retval] "=r" (retval) \
87 retval; \
/Zephyr-latest/drivers/ethernet/dwc_xgmac/
Deth_dwc_xgmac.c1570 int retval = 0; in eth_dwc_xgmac_set_config() local
1580 retval = phy_api->cfg_link(phy, adv_speeds); in eth_dwc_xgmac_set_config()
1582 retval = -EALREADY; in eth_dwc_xgmac_set_config()
1589 retval = -EALREADY; in eth_dwc_xgmac_set_config()
1602 retval = phy_api->cfg_link(phy, adv_speeds); in eth_dwc_xgmac_set_config()
1606 retval = -EALREADY; in eth_dwc_xgmac_set_config()
1613 retval = phy_api->cfg_link(phy, adv_speeds); in eth_dwc_xgmac_set_config()
1617 retval = net_if_set_link_addr(dev_data->iface, dev_data->mac_addr, in eth_dwc_xgmac_set_config()
1619 if (retval == 0) { in eth_dwc_xgmac_set_config()
1636 retval = -EALREADY; in eth_dwc_xgmac_set_config()
[all …]
/Zephyr-latest/drivers/usb/device/
Dusb_dc_sam0.c222 int retval; in usb_dc_attach() local
256 retval = pinctrl_apply_state(pcfg, PINCTRL_STATE_DEFAULT); in usb_dc_attach()
257 if (retval < 0) { in usb_dc_attach()
258 return retval; in usb_dc_attach()
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/general/src/
Dmain_l2cap_ecred.c97 const int retval = memcmp(buf->data + sizeof(received_iterration), in chan_recv_cb() local
100 if (retval) { in chan_recv_cb()
101 FAIL("Payload received didn't match expected value memcmp returned %i", retval); in chan_recv_cb()

1234