Lines Matching refs:in_wc
1863 int port, const struct ib_wc *in_wc, const struct ib_grh *in_grh, in mthca_MAD_IFC() argument
1898 if (ignore_mkey || !in_wc) in mthca_MAD_IFC()
1900 if (ignore_bkey || !in_wc) in mthca_MAD_IFC()
1903 if (in_wc) { in mthca_MAD_IFC()
1908 MTHCA_PUT(inbox, in_wc->qp->qp_num, MAD_IFC_MY_QPN_OFFSET); in mthca_MAD_IFC()
1909 MTHCA_PUT(inbox, in_wc->src_qp, MAD_IFC_RQPN_OFFSET); in mthca_MAD_IFC()
1911 val = in_wc->sl << 4; in mthca_MAD_IFC()
1914 val = in_wc->dlid_path_bits | in mthca_MAD_IFC()
1915 (in_wc->wc_flags & IB_WC_GRH ? 0x80 : 0); in mthca_MAD_IFC()
1918 MTHCA_PUT(inbox, ib_lid_cpu16(in_wc->slid), MAD_IFC_RLID_OFFSET); in mthca_MAD_IFC()
1919 MTHCA_PUT(inbox, in_wc->pkey_index, MAD_IFC_PKEY_OFFSET); in mthca_MAD_IFC()
1926 in_modifier |= ib_lid_cpu16(in_wc->slid) << 16; in mthca_MAD_IFC()