Lines Matching refs:ret_val
146 int ret_val = -1; in uart_altera_poll_in() local
164 ret_val = 0; in uart_altera_poll_in()
169 return ret_val; in uart_altera_poll_in()
298 bool ret_val = false; in uart_altera_check_configuration() local
304 ret_val = true; in uart_altera_check_configuration()
307 return ret_val; in uart_altera_check_configuration()
326 int ret_val; in uart_altera_configure() local
345 ret_val = 0; in uart_altera_configure()
348 ret_val = -ENOTSUP; in uart_altera_configure()
351 return ret_val; in uart_altera_configure()
402 int ret_val; in uart_altera_fifo_fill() local
416 ret_val = 1; in uart_altera_fifo_fill()
420 ret_val = 0; in uart_altera_fifo_fill()
430 return ret_val; in uart_altera_fifo_fill()
452 int ret_val; in uart_altera_fifo_read() local
466 ret_val = 1; in uart_altera_fifo_read()
471 ret_val = 0; in uart_altera_fifo_read()
487 return ret_val; in uart_altera_fifo_read()
549 int ret_val = 0; in uart_altera_irq_tx_ready() local
557 ret_val = 1; in uart_altera_irq_tx_ready()
564 ret_val = 0; in uart_altera_irq_tx_ready()
568 ret_val = 0; in uart_altera_irq_tx_ready()
576 return ret_val; in uart_altera_irq_tx_ready()
589 int ret_val = 0; in uart_altera_irq_tx_complete() local
594 ret_val = 1; in uart_altera_irq_tx_complete()
599 return ret_val; in uart_altera_irq_tx_complete()
648 int ret_val = 0; in uart_altera_irq_rx_ready() local
656 ret_val = 1; in uart_altera_irq_rx_ready()
662 return ret_val; in uart_altera_irq_rx_ready()
696 int ret_val = 0; in uart_altera_irq_is_pending() local
701 ret_val = 1; in uart_altera_irq_is_pending()
706 return ret_val; in uart_altera_irq_is_pending()
857 int ret_val = -ENOTSUP; in uart_altera_drv_cmd() local
875 ret_val = 0; in uart_altera_drv_cmd()
887 ret_val = 0; in uart_altera_drv_cmd()
891 ret_val = -ENOTSUP; in uart_altera_drv_cmd()
897 return ret_val; in uart_altera_drv_cmd()