Home
last modified time | relevance | path

Searched refs:to_mah (Results 1 – 7 of 7) sorted by relevance

/drivers/infiniband/hw/mlx4/
Dah.c71 struct mlx4_ib_ah *ah = to_mah(ibah); in mlx4_ib_query_ah()
98 kfree(to_mah(ah)); in mlx4_ib_destroy_ah()
Dmlx4_ib.h238 static inline struct mlx4_ib_ah *to_mah(struct ib_ah *ibah) in to_mah() function
Dqp.c1215 struct mlx4_ib_ah *ah = to_mah(wr->wr.ud.ah); in build_mlx_header()
1414 memcpy(dseg->av, &to_mah(wr->wr.ud.ah)->av, sizeof (struct mlx4_av)); in set_datagram_seg()
/drivers/infiniband/hw/mthca/
Dmthca_provider.h318 static inline struct mthca_ah *to_mah(struct ib_ah *ibah) in to_mah() function
Dmthca_qp.c1493 mthca_ah_grh_present(to_mah(wr->wr.ud.ah)), in build_mlx_header()
1496 err = mthca_read_ah(dev, to_mah(wr->wr.ud.ah), &sqp->ud_header); in build_mlx_header()
1592 useg->lkey = cpu_to_be32(to_mah(wr->wr.ud.ah)->key); in set_tavor_ud_seg()
1593 useg->av_addr = cpu_to_be64(to_mah(wr->wr.ud.ah)->avdma); in set_tavor_ud_seg()
1602 memcpy(useg->av, to_mah(wr->wr.ud.ah)->av, MTHCA_AV_SIZE); in set_arbel_ud_seg()
Dmthca_av.c294 struct mthca_ah *ah = to_mah(ibah); in mthca_ah_query()
Dmthca_provider.c458 mthca_destroy_ah(to_mdev(ah->device), to_mah(ah)); in mthca_ah_destroy()