/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_tx.c | 215 struct mlx5_wqe_data_seg *dseg) in mlx5e_txwqe_build_dsegs() argument 227 dseg->addr = cpu_to_be64(dma_addr); in mlx5e_txwqe_build_dsegs() 228 dseg->lkey = sq->mkey_be; in mlx5e_txwqe_build_dsegs() 229 dseg->byte_count = cpu_to_be32(headlen); in mlx5e_txwqe_build_dsegs() 233 dseg++; in mlx5e_txwqe_build_dsegs() 245 dseg->addr = cpu_to_be64(dma_addr); in mlx5e_txwqe_build_dsegs() 246 dseg->lkey = sq->mkey_be; in mlx5e_txwqe_build_dsegs() 247 dseg->byte_count = cpu_to_be32(fsz); in mlx5e_txwqe_build_dsegs() 251 dseg++; in mlx5e_txwqe_build_dsegs() 417 struct mlx5_wqe_data_seg *dseg; in mlx5e_sq_xmit_wqe() local [all …]
|
D | en_main.c | 1521 struct mlx5_wqe_data_seg *dseg; in mlx5e_open_xdpsq() local 1531 dseg = (struct mlx5_wqe_data_seg *)cseg + (ds_cnt - 1); in mlx5e_open_xdpsq() 1532 dseg->lkey = sq->mkey_be; in mlx5e_open_xdpsq()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | xdp.h | 145 struct mlx5_wqe_data_seg *dseg = in mlx5e_xdp_mpwqe_add_dseg() local 154 (struct mlx5_wqe_inline_seg *)dseg; in mlx5e_xdp_mpwqe_add_dseg() 166 dseg->addr = cpu_to_be64(xdptxd->dma_addr); in mlx5e_xdp_mpwqe_add_dseg() 167 dseg->byte_count = cpu_to_be32(dma_len); in mlx5e_xdp_mpwqe_add_dseg() 168 dseg->lkey = sq->mkey_be; in mlx5e_xdp_mpwqe_add_dseg()
|
D | xdp.c | 321 struct mlx5_wqe_data_seg *dseg = wqe->data; in mlx5e_xmit_xdp_frame() local 348 dseg++; in mlx5e_xmit_xdp_frame() 352 dseg->addr = cpu_to_be64(dma_addr); in mlx5e_xmit_xdp_frame() 353 dseg->byte_count = cpu_to_be32(dma_len); in mlx5e_xmit_xdp_frame()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
D | ktls_tx.c | 303 struct mlx5_wqe_data_seg *dseg; in tx_post_resync_dump() local 317 dseg = &wqe->data; in tx_post_resync_dump() 330 dseg->addr = cpu_to_be64(dma_addr); in tx_post_resync_dump() 331 dseg->lkey = sq->mkey_be; in tx_post_resync_dump() 332 dseg->byte_count = cpu_to_be32(fsz); in tx_post_resync_dump()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/ |
D | wr.c | 152 static void set_datagram_seg(struct mlx5_wqe_datagram_seg *dseg, in set_datagram_seg() argument 155 memcpy(&dseg->av, &to_mah(ud_wr(wr)->ah)->av, sizeof(struct mlx5_av)); in set_datagram_seg() 156 dseg->av.dqp_dct = in set_datagram_seg() 158 dseg->av.key.qkey.qkey = cpu_to_be32(ud_wr(wr)->remote_qkey); in set_datagram_seg() 161 static void set_data_ptr_seg(struct mlx5_wqe_data_seg *dseg, struct ib_sge *sg) in set_data_ptr_seg() argument 163 dseg->byte_count = cpu_to_be32(sg->length); in set_data_ptr_seg() 164 dseg->lkey = cpu_to_be32(sg->lkey); in set_data_ptr_seg() 165 dseg->addr = cpu_to_be64(sg->addr); in set_data_ptr_seg() 438 static void set_reg_data_seg(struct mlx5_wqe_data_seg *dseg, in set_reg_data_seg() argument 444 dseg->addr = cpu_to_be64(mr->desc_map); in set_reg_data_seg() [all …]
|
D | odp.c | 1074 struct mlx5_wqe_data_seg *dseg = wqe; in pagefault_data_segments() local 1076 io_virt = be64_to_cpu(dseg->addr); in pagefault_data_segments() 1077 key = be32_to_cpu(dseg->lkey); in pagefault_data_segments() 1078 byte_count = be32_to_cpu(dseg->byte_count); in pagefault_data_segments() 1087 wqe += sizeof(*dseg); in pagefault_data_segments()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/ |
D | hns_roce_hw_v2.c | 52 static void set_data_seg_v2(struct hns_roce_v2_wqe_data_seg *dseg, in set_data_seg_v2() argument 55 dseg->lkey = cpu_to_le32(sg->lkey); in set_data_seg_v2() 56 dseg->addr = cpu_to_le64(sg->addr); in set_data_seg_v2() 57 dseg->len = cpu_to_le32(sg->length); in set_data_seg_v2() 137 struct hns_roce_v2_wqe_data_seg *dseg = in set_atomic_seg() local 140 (void *)dseg + sizeof(struct hns_roce_v2_wqe_data_seg); in set_atomic_seg() 142 set_data_seg_v2(dseg, wr->sg_list); in set_atomic_seg() 169 void *dseg; in fill_ext_sge_inl_data() local 177 dseg = hns_roce_get_extend_sge(qp, idx & (qp->sge.sge_cnt - 1)); in fill_ext_sge_inl_data() 178 left_len_in_pg = hr_hw_page_align((uintptr_t)dseg) - (uintptr_t)dseg; in fill_ext_sge_inl_data() [all …]
|
D | hns_roce_hw_v1.c | 46 static void set_data_seg(struct hns_roce_wqe_data_seg *dseg, struct ib_sge *sg) in set_data_seg() argument 48 dseg->lkey = cpu_to_le32(sg->lkey); in set_data_seg() 49 dseg->addr = cpu_to_le64(sg->addr); in set_data_seg() 50 dseg->len = cpu_to_le32(sg->length); in set_data_seg() 69 struct hns_roce_wqe_data_seg *dseg = NULL; in hns_roce_v1_post_send() local 284 dseg = wqe; in hns_roce_v1_post_send() 305 set_data_seg(dseg + i, wr->sg_list + i); in hns_roce_v1_post_send()
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
D | apm_bios.h | 16 __u16 dseg; member
|
/kernel/linux/linux-5.10/arch/x86/boot/ |
D | apm.c | 48 boot_params.apm_bios_info.dseg = oreg.dx; in query_apm_bios()
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
D | apm_bios.h | 30 __u16 dseg; member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
D | apm_bios.h | 29 __u16 dseg; member
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/ |
D | qp.c | 3325 static void set_datagram_seg(struct mlx4_wqe_datagram_seg *dseg, in set_datagram_seg() argument 3328 memcpy(dseg->av, &to_mah(wr->ah)->av, sizeof (struct mlx4_av)); in set_datagram_seg() 3329 dseg->dqpn = cpu_to_be32(wr->remote_qpn); in set_datagram_seg() 3330 dseg->qkey = cpu_to_be32(wr->remote_qkey); in set_datagram_seg() 3331 dseg->vlan = to_mah(wr->ah)->av.eth.vlan; in set_datagram_seg() 3332 memcpy(dseg->mac, to_mah(wr->ah)->av.eth.mac, 6); in set_datagram_seg() 3336 struct mlx4_wqe_datagram_seg *dseg, in set_tunnel_datagram_seg() argument 3350 memcpy(dseg->av, &sqp_av, sizeof (struct mlx4_av)); in set_tunnel_datagram_seg() 3352 dseg->dqpn = cpu_to_be32(dev->dev->caps.spec_qps[port - 1].qp1_tunnel); in set_tunnel_datagram_seg() 3354 dseg->dqpn = cpu_to_be32(dev->dev->caps.spec_qps[port - 1].qp0_tunnel); in set_tunnel_datagram_seg() [all …]
|
/kernel/linux/linux-5.10/arch/x86/kernel/ |
D | apm_32.c | 2298 apm_info.bios.cseg_16, apm_info.bios.dseg); in apm_init() 2346 (unsigned long)__va((unsigned long)apm_info.bios.dseg << 4)); in apm_init()
|