Lines Matching refs:rxattr

687 			struct vas_rx_win_attr *rxattr,  in init_winctx_for_rxwin()  argument
705 winctx->rx_fifo = rxattr->rx_fifo; in init_winctx_for_rxwin()
706 winctx->rx_fifo_size = rxattr->rx_fifo_size; in init_winctx_for_rxwin()
708 winctx->pin_win = rxattr->pin_win; in init_winctx_for_rxwin()
710 winctx->nx_win = rxattr->nx_win; in init_winctx_for_rxwin()
711 winctx->fault_win = rxattr->fault_win; in init_winctx_for_rxwin()
712 winctx->user_win = rxattr->user_win; in init_winctx_for_rxwin()
713 winctx->rej_no_credit = rxattr->rej_no_credit; in init_winctx_for_rxwin()
714 winctx->rx_word_mode = rxattr->rx_win_ord_mode; in init_winctx_for_rxwin()
715 winctx->tx_word_mode = rxattr->tx_win_ord_mode; in init_winctx_for_rxwin()
716 winctx->rx_wcred_mode = rxattr->rx_wcred_mode; in init_winctx_for_rxwin()
717 winctx->tx_wcred_mode = rxattr->tx_wcred_mode; in init_winctx_for_rxwin()
718 winctx->notify_early = rxattr->notify_early; in init_winctx_for_rxwin()
745 winctx->lnotify_lpid = rxattr->lnotify_lpid; in init_winctx_for_rxwin()
746 winctx->lnotify_pid = rxattr->lnotify_pid; in init_winctx_for_rxwin()
747 winctx->lnotify_tid = rxattr->lnotify_tid; in init_winctx_for_rxwin()
748 winctx->pswid = rxattr->pswid; in init_winctx_for_rxwin()
750 winctx->tc_mode = rxattr->tc_mode; in init_winctx_for_rxwin()
817 void vas_init_rx_win_attr(struct vas_rx_win_attr *rxattr, enum vas_cop_type cop) in vas_init_rx_win_attr() argument
819 memset(rxattr, 0, sizeof(*rxattr)); in vas_init_rx_win_attr()
823 rxattr->pin_win = true; in vas_init_rx_win_attr()
824 rxattr->nx_win = true; in vas_init_rx_win_attr()
825 rxattr->fault_win = false; in vas_init_rx_win_attr()
826 rxattr->intr_disable = true; in vas_init_rx_win_attr()
827 rxattr->rx_wcred_mode = true; in vas_init_rx_win_attr()
828 rxattr->tx_wcred_mode = true; in vas_init_rx_win_attr()
829 rxattr->rx_win_ord_mode = true; in vas_init_rx_win_attr()
830 rxattr->tx_win_ord_mode = true; in vas_init_rx_win_attr()
832 rxattr->pin_win = true; in vas_init_rx_win_attr()
833 rxattr->fault_win = true; in vas_init_rx_win_attr()
834 rxattr->notify_disable = true; in vas_init_rx_win_attr()
835 rxattr->rx_wcred_mode = true; in vas_init_rx_win_attr()
836 rxattr->rx_win_ord_mode = true; in vas_init_rx_win_attr()
837 rxattr->rej_no_credit = true; in vas_init_rx_win_attr()
838 rxattr->tc_mode = VAS_THRESH_DISABLED; in vas_init_rx_win_attr()
840 rxattr->user_win = true; in vas_init_rx_win_attr()
841 rxattr->intr_disable = true; in vas_init_rx_win_attr()
854 struct vas_rx_win_attr *rxattr) in vas_rx_win_open() argument
860 trace_vas_rx_win_open(current, vasid, cop, rxattr); in vas_rx_win_open()
862 if (!rx_win_args_valid(cop, rxattr)) in vas_rx_win_open()
879 rxwin->nx_win = rxattr->nx_win; in vas_rx_win_open()
880 rxwin->user_win = rxattr->user_win; in vas_rx_win_open()
882 rxwin->vas_win.wcreds_max = rxattr->wcreds_max; in vas_rx_win_open()
884 init_winctx_for_rxwin(rxwin, rxattr, &winctx); in vas_rx_win_open()