/linux-6.6.21/drivers/infiniband/hw/mthca/ |
D | mthca_wqe.h | 116 static __always_inline void mthca_set_data_seg(struct mthca_data_seg *dseg, in mthca_set_data_seg() argument 119 dseg->byte_count = cpu_to_be32(sg->length); in mthca_set_data_seg() 120 dseg->lkey = cpu_to_be32(sg->lkey); in mthca_set_data_seg() 121 dseg->addr = cpu_to_be64(sg->addr); in mthca_set_data_seg() 124 static __always_inline void mthca_set_data_seg_inval(struct mthca_data_seg *dseg) in mthca_set_data_seg_inval() argument 126 dseg->byte_count = 0; in mthca_set_data_seg_inval() 127 dseg->lkey = cpu_to_be32(MTHCA_INVAL_LKEY); in mthca_set_data_seg_inval() 128 dseg->addr = 0; in mthca_set_data_seg_inval()
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_tx.c | 179 struct mlx5_wqe_data_seg *dseg) in mlx5e_txwqe_build_dsegs() argument 191 dseg->addr = cpu_to_be64(dma_addr); in mlx5e_txwqe_build_dsegs() 192 dseg->lkey = sq->mkey_be; in mlx5e_txwqe_build_dsegs() 193 dseg->byte_count = cpu_to_be32(headlen); in mlx5e_txwqe_build_dsegs() 197 dseg++; in mlx5e_txwqe_build_dsegs() 209 dseg->addr = cpu_to_be64(dma_addr); in mlx5e_txwqe_build_dsegs() 210 dseg->lkey = sq->mkey_be; in mlx5e_txwqe_build_dsegs() 211 dseg->byte_count = cpu_to_be32(fsz); in mlx5e_txwqe_build_dsegs() 215 dseg++; in mlx5e_txwqe_build_dsegs() 425 struct mlx5_wqe_data_seg *dseg; in mlx5e_sq_xmit_wqe() local [all …]
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | xdp.h | 200 struct mlx5_wqe_data_seg *dseg = in mlx5e_xdp_mpwqe_add_dseg() local 209 (struct mlx5_wqe_inline_seg *)dseg; in mlx5e_xdp_mpwqe_add_dseg() 221 dseg->addr = cpu_to_be64(xdptxd->dma_addr); in mlx5e_xdp_mpwqe_add_dseg() 222 dseg->byte_count = cpu_to_be32(dma_len); in mlx5e_xdp_mpwqe_add_dseg() 223 dseg->lkey = sq->mkey_be; in mlx5e_xdp_mpwqe_add_dseg()
|
D | xdp.c | 489 struct mlx5_wqe_data_seg *dseg; in mlx5e_xmit_xdp_frame() local 546 dseg = wqe->data; in mlx5e_xmit_xdp_frame() 551 memcpy(dseg, xdptxd->data + sizeof(eseg->inline_hdr.start), in mlx5e_xmit_xdp_frame() 555 dseg++; in mlx5e_xmit_xdp_frame() 560 dseg->addr = cpu_to_be64(dma_addr); in mlx5e_xmit_xdp_frame() 561 dseg->byte_count = cpu_to_be32(dma_len); in mlx5e_xmit_xdp_frame() 562 dseg->lkey = sq->mkey_be; in mlx5e_xmit_xdp_frame() 563 dseg++; in mlx5e_xmit_xdp_frame() 584 dseg->addr = cpu_to_be64(addr); in mlx5e_xmit_xdp_frame() 585 dseg->byte_count = cpu_to_be32(skb_frag_size(frag)); in mlx5e_xmit_xdp_frame() [all …]
|
/linux-6.6.21/drivers/infiniband/hw/mlx5/ |
D | wr.c | 102 static void set_datagram_seg(struct mlx5_wqe_datagram_seg *dseg, in set_datagram_seg() argument 105 memcpy(&dseg->av, &to_mah(ud_wr(wr)->ah)->av, sizeof(struct mlx5_av)); in set_datagram_seg() 106 dseg->av.dqp_dct = in set_datagram_seg() 108 dseg->av.key.qkey.qkey = cpu_to_be32(ud_wr(wr)->remote_qkey); in set_datagram_seg() 111 static void set_data_ptr_seg(struct mlx5_wqe_data_seg *dseg, struct ib_sge *sg) in set_data_ptr_seg() argument 113 dseg->byte_count = cpu_to_be32(sg->length); in set_data_ptr_seg() 114 dseg->lkey = cpu_to_be32(sg->lkey); in set_data_ptr_seg() 115 dseg->addr = cpu_to_be64(sg->addr); in set_data_ptr_seg() 217 static void set_reg_data_seg(struct mlx5_wqe_data_seg *dseg, in set_reg_data_seg() argument 223 dseg->addr = cpu_to_be64(mr->desc_map); in set_reg_data_seg() [all …]
|
D | odp.c | 1000 struct mlx5_wqe_data_seg *dseg = wqe; in pagefault_data_segments() local 1002 io_virt = be64_to_cpu(dseg->addr); in pagefault_data_segments() 1003 key = dseg->lkey; in pagefault_data_segments() 1004 byte_count = be32_to_cpu(dseg->byte_count); in pagefault_data_segments() 1013 wqe += sizeof(*dseg); in pagefault_data_segments()
|
/linux-6.6.21/drivers/infiniband/hw/mlx4/ |
D | qp.c | 3362 static void set_datagram_seg(struct mlx4_wqe_datagram_seg *dseg, in set_datagram_seg() argument 3365 memcpy(dseg->av, &to_mah(wr->ah)->av, sizeof (struct mlx4_av)); in set_datagram_seg() 3366 dseg->dqpn = cpu_to_be32(wr->remote_qpn); in set_datagram_seg() 3367 dseg->qkey = cpu_to_be32(wr->remote_qkey); in set_datagram_seg() 3368 dseg->vlan = to_mah(wr->ah)->av.eth.vlan; in set_datagram_seg() 3369 memcpy(dseg->mac, to_mah(wr->ah)->av.eth.mac, 6); in set_datagram_seg() 3373 struct mlx4_wqe_datagram_seg *dseg, in set_tunnel_datagram_seg() argument 3387 memcpy(dseg->av, &sqp_av, sizeof (struct mlx4_av)); in set_tunnel_datagram_seg() 3389 dseg->dqpn = cpu_to_be32(dev->dev->caps.spec_qps[port - 1].qp1_tunnel); in set_tunnel_datagram_seg() 3391 dseg->dqpn = cpu_to_be32(dev->dev->caps.spec_qps[port - 1].qp0_tunnel); in set_tunnel_datagram_seg() [all …]
|
/linux-6.6.21/include/uapi/linux/ |
D | apm_bios.h | 30 __u16 dseg; member
|
/linux-6.6.21/arch/x86/boot/ |
D | apm.c | 48 boot_params.apm_bios_info.dseg = oreg.dx; in query_apm_bios()
|
/linux-6.6.21/drivers/infiniband/hw/hns/ |
D | hns_roce_hw_v2.c | 94 static inline void set_data_seg_v2(struct hns_roce_v2_wqe_data_seg *dseg, in set_data_seg_v2() argument 97 dseg->lkey = cpu_to_le32(sg->lkey); in set_data_seg_v2() 98 dseg->addr = cpu_to_le64(sg->addr); in set_data_seg_v2() 99 dseg->len = cpu_to_le32(sg->length); in set_data_seg_v2() 171 struct hns_roce_v2_wqe_data_seg *dseg = in set_atomic_seg() local 174 (void *)dseg + sizeof(struct hns_roce_v2_wqe_data_seg); in set_atomic_seg() 176 set_data_seg_v2(dseg, wr->sg_list); in set_atomic_seg() 200 void *dseg; in fill_ext_sge_inl_data() local 208 dseg = hns_roce_get_extend_sge(qp, idx & (qp->sge.sge_cnt - 1)); in fill_ext_sge_inl_data() 209 left_len_in_pg = hr_hw_page_align((uintptr_t)dseg) - (uintptr_t)dseg; in fill_ext_sge_inl_data() [all …]
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
D | ktls_tx.c | 718 struct mlx5_wqe_data_seg *dseg; in tx_post_resync_dump() local 732 dseg = &wqe->data; in tx_post_resync_dump() 744 dseg->addr = cpu_to_be64(dma_addr); in tx_post_resync_dump() 745 dseg->lkey = sq->mkey_be; in tx_post_resync_dump() 746 dseg->byte_count = cpu_to_be32(fsz); in tx_post_resync_dump()
|
/linux-6.6.21/arch/x86/kernel/ |
D | apm_32.c | 2299 apm_info.bios.cseg_16, apm_info.bios.dseg); in apm_init() 2347 (unsigned long)__va((unsigned long)apm_info.bios.dseg << 4)); in apm_init()
|