Searched refs:mtr (Results 1 – 9 of 9) sorted by relevance
| /linux/drivers/infiniband/hw/hns/ |
| H A D | hns_roce_mr.c | 452 struct hns_roce_mtr *mtr = &mr->pbl_mtr; in hns_roce_map_mr_sg() local 473 mtr->hem_cfg.region[0].offset = 0; in hns_roce_map_mr_sg() 474 mtr->hem_cfg.region[0].count = mr->npages; in hns_roce_map_mr_sg() 475 mtr->hem_cfg.region[0].hopnum = mr->pbl_hop_num; in hns_roce_map_mr_sg() 476 mtr->hem_cfg.region_count = 1; in hns_roce_map_mr_sg() 477 ret = hns_roce_mtr_map(hr_dev, mtr, mr->page_list, mr->npages); in hns_roce_map_mr_sg() 492 static int mtr_map_region(struct hns_roce_dev *hr_dev, struct hns_roce_mtr *mtr, in mtr_map_region() argument 507 mtts = hns_roce_hem_list_find_mtt(hr_dev, &mtr->hem_list, in mtr_map_region() 568 static void mtr_free_bufs(struct hns_roce_dev *hr_dev, struct hns_roce_mtr *mtr) in mtr_free_bufs() argument 571 if (mtr->umem) { in mtr_free_bufs() [all …]
|
| H A D | hns_roce_hw_v2.c | 1050 return hns_roce_buf_offset(idx_que->mtr.kmem, in get_idx_buf() 3777 return hns_roce_buf_offset(hr_cq->mtr.kmem, n * hr_cq->cqe_size); in get_cqe_v2() 3889 to_hr_hw_page_shift(hr_cq->mtr.hem_cfg.ba_pg_shift)); in hns_roce_v2_write_cqc() 3891 to_hr_hw_page_shift(hr_cq->mtr.hem_cfg.buf_pg_shift)); in hns_roce_v2_write_cqc() 4669 ret = hns_roce_mtr_find(hr_dev, &hr_qp->mtr, hr_qp->rq.offset, mtts, in config_qp_rq_buf() 4678 wqe_sge_ba = hns_roce_get_mtr_ba(&hr_qp->mtr); in config_qp_rq_buf() 4709 to_hr_hw_page_shift(hr_qp->mtr.hem_cfg.ba_pg_shift)); in config_qp_rq_buf() 4713 to_hr_hw_page_shift(hr_qp->mtr.hem_cfg.buf_pg_shift)); in config_qp_rq_buf() 4746 ret = hns_roce_mtr_find(hr_dev, &hr_qp->mtr, hr_qp->sq.offset, in config_qp_sq_buf() 4754 ret = hns_roce_mtr_find(hr_dev, &hr_qp->mtr, in config_qp_sq_buf() [all …]
|
| /linux/drivers/edac/ |
| H A D | i5100_edac.c | 329 } mtr[I5100_CHANNELS][I5100_MAX_RANKS_PER_CHAN]; member 654 if (!priv->mtr[chan][chan_rank].present) in i5100_npages() 659 priv->mtr[chan][chan_rank].numcol + in i5100_npages() 660 priv->mtr[chan][chan_rank].numrow + in i5100_npages() 661 priv->mtr[chan][chan_rank].numbank; in i5100_npages() 685 priv->mtr[i][j].present = i5100_mtr_present(w); in i5100_init_mtr() 686 priv->mtr[i][j].ethrottle = i5100_mtr_ethrottle(w); in i5100_init_mtr() 687 priv->mtr[i][j].width = 4 + 4 * i5100_mtr_width(w); in i5100_init_mtr() 688 priv->mtr[i][j].numbank = 2 + i5100_mtr_numbank(w); in i5100_init_mtr() 689 priv->mtr[i][j].numrow = 13 + i5100_mtr_numrow(w); in i5100_init_mtr() [all …]
|
| H A D | skx_common.c | 318 static int get_width(u32 mtr) in get_width() argument 320 switch (GET_BITFIELD(mtr, 8, 9)) { in get_width() 457 int skx_get_dimm_info(u32 mtr, u32 mcmtr, u32 amap, struct dimm_info *dimm, in skx_get_dimm_info() argument 465 ranks = numrank(mtr); in skx_get_dimm_info() 466 rows = numrow(mtr); in skx_get_dimm_info() 467 cols = imc->hbm_mc ? 6 : numcol(mtr); in skx_get_dimm_info() 498 dimm->dtype = get_width(mtr); in skx_get_dimm_info()
|
| /linux/arch/alpha/include/asm/ |
| H A D | core_tsunami.h | 36 tsunami_64 mtr; member
|
| H A D | core_titan.h | 37 titan_64 mtr; member
|
| /linux/arch/alpha/kernel/ |
| H A D | core_tsunami.c | 397 printk("%s: CSR_MTR 0x%lx\n", __func__, TSUNAMI_cchip.mtr.csr); in tsunami_init_arch()
|
| H A D | core_titan.c | 373 printk("%s: CSR_MTR 0x%lx\n", __func__, TITAN_cchip->mtr.csr); in titan_init_arch()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | hwmon.c | 60 MLX5_SET(mtmp_reg, mtmp_in, mtr, 1); in mlx5_hwmon_reset_max_temp()
|