Lines Matching refs:ret_val
141 int ret_val = -1; in uart_intel_lw_poll_in() local
159 ret_val = 0; in uart_intel_lw_poll_in()
164 return ret_val; in uart_intel_lw_poll_in()
335 bool ret_val = false; in uart_intel_lw_check_configuration() local
341 ret_val = true; in uart_intel_lw_check_configuration()
344 return ret_val; in uart_intel_lw_check_configuration()
363 int ret_val; in uart_intel_lw_configure() local
386 ret_val = 0; in uart_intel_lw_configure()
389 ret_val = -ENOTSUP; in uart_intel_lw_configure()
392 return ret_val; in uart_intel_lw_configure()
440 int ret_val = 0; in uart_intel_lw_fifo_fill() local
459 sys_write32(tx_data[ret_val++], config->base in uart_intel_lw_fifo_fill()
468 } while ((size - ret_val) > 0); in uart_intel_lw_fifo_fill()
470 return ret_val; in uart_intel_lw_fifo_fill()
489 int ret_val = 0; in uart_intel_lw_fifo_read() local
503 rx_data[ret_val++] = sys_read32(config->base + in uart_intel_lw_fifo_read()
512 } while ((size - ret_val) > 0); in uart_intel_lw_fifo_read()
514 return ret_val; in uart_intel_lw_fifo_read()
576 int ret_val = 0; in uart_intel_lw_irq_tx_ready() local
584 ret_val = 1; in uart_intel_lw_irq_tx_ready()
591 ret_val = 0; in uart_intel_lw_irq_tx_ready()
598 return ret_val; in uart_intel_lw_irq_tx_ready()
611 int ret_val = 0; in uart_intel_lw_irq_tx_complete() local
616 ret_val = 1; in uart_intel_lw_irq_tx_complete()
621 return ret_val; in uart_intel_lw_irq_tx_complete()
670 int ret_val = 0; in uart_intel_lw_irq_rx_ready() local
678 ret_val = 1; in uart_intel_lw_irq_rx_ready()
684 return ret_val; in uart_intel_lw_irq_rx_ready()
718 int ret_val = 0; in uart_intel_lw_irq_is_pending() local
723 ret_val = 1; in uart_intel_lw_irq_is_pending()
728 return ret_val; in uart_intel_lw_irq_is_pending()
858 int ret_val = -ENOTSUP; in uart_intel_lw_drv_cmd() local
876 ret_val = 0; in uart_intel_lw_drv_cmd()
888 ret_val = 0; in uart_intel_lw_drv_cmd()
897 ret_val = 0; in uart_intel_lw_drv_cmd()
905 ret_val = 0; in uart_intel_lw_drv_cmd()
913 ret_val = 0; in uart_intel_lw_drv_cmd()
921 ret_val = 0; in uart_intel_lw_drv_cmd()
925 ret_val = -ENOTSUP; in uart_intel_lw_drv_cmd()
931 return ret_val; in uart_intel_lw_drv_cmd()