Searched refs:smpt (Results 1 – 4 of 4) sorted by relevance
29 return (1ULL << mdev->smpt->info.page_shift) - 1ULL; in mic_system_page_mask()34 return (pa - mdev->smpt->info.base) >> mdev->smpt->info.page_shift; in mic_sys_addr_to_smpt()39 return mdev->smpt->info.base + (index * mdev->smpt->info.page_size); in mic_smpt_to_pa()50 mdev->smpt->info.page_size); in mic_smpt_align_low()55 return ALIGN(pa, mdev->smpt->info.page_size); in mic_smpt_align_high()61 return mdev->smpt->info.num_reg * mdev->smpt->info.page_size; in mic_max_system_memory()67 return mdev->smpt->info.base + mic_max_system_memory(mdev) - 1ULL; in mic_max_system_addr()74 return pa >= mdev->smpt->info.base && pa <= mic_max_system_addr(mdev); in mic_is_system_addr()81 struct mic_smpt_info *smpt_info = mdev->smpt; in mic_add_smpt_entry()108 struct mic_smpt_info *smpt_info = mdev->smpt; in mic_smpt_op()[all …]
525 dma_addr >> mdev->smpt->info.page_shift); in mic_x100_smpt_set()539 struct mic_smpt_hw_info *info = &mdev->smpt->info; in mic_x100_smpt_hw_init()
107 struct mic_smpt_info *smpt; member
109 if (mdev->smpt) { in mic_smpt_show()110 struct mic_smpt_info *smpt_info = mdev->smpt; in mic_smpt_show()