Home
last modified time | relevance | path

Searched defs:mtr (Results 1 – 13 of 13) sorted by relevance

/linux/drivers/infiniband/hw/hns/
H A Dhns_roce_mr.c452 struct hns_roce_mtr *mtr = &mr->pbl_mtr; in hns_roce_map_mr_sg() local
492 static int mtr_map_region(struct hns_roce_dev *hr_dev, struct hns_roce_mtr *mtr, 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()
583 static int mtr_alloc_bufs(struct hns_roce_dev *hr_dev, struct hns_roce_mtr *mtr, in mtr_alloc_bufs()
617 static int cal_mtr_pg_cnt(struct hns_roce_mtr *mtr) in cal_mtr_pg_cnt()
631 static bool need_split_huge_page(struct hns_roce_mtr *mtr) in need_split_huge_page()
641 static int mtr_map_bufs(struct hns_roce_dev *hr_dev, struct hns_roce_mtr *mtr) in mtr_map_bufs()
691 int hns_roce_mtr_map(struct hns_roce_dev *hr_dev, struct hns_roce_mtr *mtr, in hns_roce_mtr_map()
772 struct hns_roce_mtr *mtr, u32 start_index, in hns_roce_get_mhop_mtt()
801 int hns_roce_mtr_find(struct hns_roce_dev *hr_dev, struct hns_roce_mtr *mtr, in hns_roce_mtr_find()
[all …]
H A Dhns_roce_device.h426 struct hns_roce_mtr mtr; member
447 struct hns_roce_mtr mtr; member
618 struct hns_roce_mtr mtr; member
716 struct hns_roce_mtr mtr; member
1202 static inline dma_addr_t hns_roce_get_mtr_ba(struct hns_roce_mtr *mtr) in hns_roce_get_mtr_ba()
/linux/drivers/edac/
H A Di7300_edac.c106 u16 mtr[MAX_SLOTS][MAX_BRANCHES]; /* Memory Technlogy Reg */ member
173 #define MTR_DIMMS_PRESENT(mtr) ((mtr) & (1 << 8)) argument
174 #define MTR_DIMMS_ETHROTTLE(mtr) ((mtr) & (1 << 7)) argument
175 #define MTR_DRAM_WIDTH(mtr) (((mtr) & (1 << 6)) ? 8 : 4) argument
176 #define MTR_DRAM_BANKS(mtr) (((mtr) & (1 << 5)) ? 8 : 4) argument
177 #define MTR_DIMM_RANKS(mtr) (((mtr) & (1 << 4)) ? 1 : 0) argument
178 #define MTR_DIMM_ROWS(mtr) (((mtr) >> 2) & 0x3) argument
180 #define MTR_DIMM_ROWS_ADDR_BITS(mtr) (MTR_DIMM_ROWS(mtr) + 13) argument
181 #define MTR_DIMM_COLS(mtr) ((mtr) & 0x3) argument
182 #define MTR_DIMM_COLS_ADDR_BITS(mtr) (MTR_DIMM_COLS(mtr) + 10) argument
[all …]
H A Di5400_edac.c287 #define MTR_DIMMS_PRESENT(mtr) ((mtr) & (1 << 10)) argument
288 #define MTR_DIMMS_ETHROTTLE(mtr) ((mtr) & (1 << 9)) argument
289 #define MTR_DRAM_WIDTH(mtr) (((mtr) & (1 << 8)) ? 8 : 4) argument
290 #define MTR_DRAM_BANKS(mtr) (((mtr) & (1 << 6)) ? 8 : 4) argument
291 #define MTR_DRAM_BANKS_ADDR_BITS(mtr) ((MTR_DRAM_BANKS(mtr) == 8) ? 3 : 2) argument
292 #define MTR_DIMM_RANK(mtr) (((mtr) >> 5) & 0x1) argument
293 #define MTR_DIMM_RANK_ADDR_BITS(mtr) (MTR_DIMM_RANK(mtr) ? 2 : 1) argument
294 #define MTR_DIMM_ROWS(mtr) (((mtr) >> 2) & 0x3) argument
295 #define MTR_DIMM_ROWS_ADDR_BITS(mtr) (MTR_DIMM_ROWS(mtr) + 13) argument
296 #define MTR_DIMM_COLS(mtr) ((mtr) & 0x3) argument
[all …]
H A Di5000_edac.c279 #define MTR_DIMMS_PRESENT(mtr) ((mtr) & (0x1 << 8)) argument
280 #define MTR_DRAM_WIDTH(mtr) ((((mtr) >> 6) & 0x1) ? 8 : 4) argument
281 #define MTR_DRAM_BANKS(mtr) ((((mtr) >> 5) & 0x1) ? 8 : 4) argument
282 #define MTR_DRAM_BANKS_ADDR_BITS(mtr) ((MTR_DRAM_BANKS(mtr) == 8) ? 3 : 2) argument
283 #define MTR_DIMM_RANK(mtr) (((mtr) >> 4) & 0x1) argument
284 #define MTR_DIMM_RANK_ADDR_BITS(mtr) (MTR_DIMM_RANK(mtr) ? 2 : 1) argument
285 #define MTR_DIMM_ROWS(mtr) (((mtr) >> 2) & 0x3) argument
286 #define MTR_DIMM_ROWS_ADDR_BITS(mtr) (MTR_DIMM_ROWS(mtr) + 13) argument
287 #define MTR_DIMM_COLS(mtr) ((mtr) & 0x3) argument
288 #define MTR_DIMM_COLS_ADDR_BITS(mtr) (MTR_DIMM_COLS(mtr) + 10) argument
[all …]
H A Dsb_edac.c215 #define RANK_DISABLE(mtr) GET_BITFIELD(mtr, 16, 19) argument
216 #define IS_DIMM_PRESENT(mtr) GET_BITFIELD(mtr, 14, 14) argument
217 #define RANK_CNT_BITS(mtr) GET_BITFIELD(mtr, 12, 13) argument
218 #define RANK_WIDTH_BITS(mtr) GET_BITFIELD(mtr, 2, 4) argument
219 #define COL_WIDTH_BITS(mtr) GET_BITFIELD(mtr, 0, 1) argument
699 static inline int numrank(enum type type, u32 mtr) in numrank()
716 static inline int numrow(u32 mtr) in numrow()
729 static inline int numcol(u32 mtr) in numcol()
935 static enum dev_type knl_get_width(struct sbridge_pvt *pvt, u32 mtr) in knl_get_width()
941 static enum dev_type sbridge_get_width(struct sbridge_pvt *pvt, u32 mtr) in sbridge_get_width()
[all …]
H A Dskx_common.c318 static int get_width(u32 mtr) in get_width()
457 int skx_get_dimm_info(u32 mtr, u32 mcmtr, u32 amap, struct dimm_info *dimm, in skx_get_dimm_info()
H A Dskx_base.c183 u32 mtr, mcmtr, amap, mcddrtcfg; in skx_get_dimm_config() local
H A Di10nm_base.c1075 u32 mtr, mcddrtcfg = 0; in i10nm_get_dimm_config() local
H A Di5100_edac.c329 } mtr[I5100_CHANNELS][I5100_MAX_RANKS_PER_CHAN]; member
/linux/arch/alpha/include/asm/
H A Dcore_tsunami.h36 tsunami_64 mtr; member
H A Dcore_titan.h37 titan_64 mtr; member
/linux/include/linux/mlx5/
H A Dmlx5_ifc.h11733 u8 mtr[0x1]; member