Searched refs:dseg (Results 1 - 4 of 4) sorted by relevance

/freebsd-9.3-release/sys/ofed/drivers/infiniband/hw/mthca/
H A Dmthca_wqe.h116 static __always_inline void mthca_set_data_seg(struct mthca_data_seg *dseg, argument
119 dseg->byte_count = cpu_to_be32(sg->length);
120 dseg->lkey = cpu_to_be32(sg->lkey);
121 dseg->addr = cpu_to_be64(sg->addr);
124 static __always_inline void mthca_set_data_seg_inval(struct mthca_data_seg *dseg) argument
126 dseg->byte_count = 0;
127 dseg->lkey = cpu_to_be32(MTHCA_INVAL_LKEY);
128 dseg->addr = 0;
/freebsd-9.3-release/contrib/ofed/libmlx4/src/
H A Dqp.c140 static void set_datagram_seg(struct mlx4_wqe_datagram_seg *dseg, argument
143 memcpy(dseg->av, &to_mah(wr->wr.ud.ah)->av, sizeof (struct mlx4_av));
144 dseg->dqpn = htonl(wr->wr.ud.remote_qpn);
145 dseg->qkey = htonl(wr->wr.ud.remote_qkey);
146 dseg->vlan = htons(to_mah(wr->wr.ud.ah)->vlan);
147 memcpy(dseg->mac, to_mah(wr->wr.ud.ah)->mac, 6);
150 static void __set_data_seg(struct mlx4_wqe_data_seg *dseg, struct ibv_sge *sg) argument
152 dseg->byte_count = htonl(sg->length);
153 dseg->lkey = htonl(sg->lkey);
154 dseg
157 set_data_seg(struct mlx4_wqe_data_seg *dseg, struct ibv_sge *sg) argument
[all...]
/freebsd-9.3-release/sys/ofed/drivers/infiniband/hw/mlx4/
H A Dqp.c1759 static void set_datagram_seg(struct mlx4_wqe_datagram_seg *dseg, argument
1762 memcpy(dseg->av, &to_mah(wr->wr.ud.ah)->av, sizeof (struct mlx4_av));
1763 dseg->dqpn = cpu_to_be32(wr->wr.ud.remote_qpn);
1764 dseg->qkey = cpu_to_be32(wr->wr.ud.remote_qkey);
1765 dseg->vlan = to_mah(wr->wr.ud.ah)->av.eth.vlan;
1766 memcpy(dseg->mac, to_mah(wr->wr.ud.ah)->av.eth.mac, 6);
1767 *vlan = dseg->vlan;
1770 static void set_mlx_icrc_seg(void *dseg) argument
1772 u32 *t = dseg;
1773 struct mlx4_wqe_inline_seg *iseg = dseg;
1790 set_data_seg(struct mlx4_wqe_data_seg *dseg, struct ib_sge *sg) argument
1808 __set_data_seg(struct mlx4_wqe_data_seg *dseg, struct ib_sge *sg) argument
1937 struct mlx4_wqe_data_seg *dseg; local
[all...]
/freebsd-9.3-release/sys/dev/virtio/scsi/
H A Dvirtio_scsi.c951 struct bus_dma_segment *dseg; local
967 dseg = &((struct bus_dma_segment *)csio->data_ptr)[i];
969 (void *)(vm_offset_t) dseg->ds_addr, dseg->ds_len);
974 dseg = &((struct bus_dma_segment *)csio->data_ptr)[i];
976 (vm_paddr_t) dseg->ds_addr, dseg->ds_len);

Completed in 63 milliseconds