Home
last modified time | relevance | path

Searched refs:offset_mask (Results 1 – 20 of 20) sorted by relevance

/linux-6.6.21/drivers/iommu/amd/
Dio_pgtable_v2.c320 unsigned long offset_mask, pte_pgsize; in iommu_v2_iova_to_phys() local
327 offset_mask = pte_pgsize - 1; in iommu_v2_iova_to_phys()
330 return (__pte & ~offset_mask) | (iova & offset_mask); in iommu_v2_iova_to_phys()
Dio_pgtable.c475 unsigned long offset_mask, pte_pgsize; in iommu_v1_iova_to_phys() local
483 offset_mask = pte_pgsize - 1; in iommu_v1_iova_to_phys()
486 return (__pte & ~offset_mask) | (iova & offset_mask); in iommu_v1_iova_to_phys()
/linux-6.6.21/drivers/soc/mediatek/
Dmtk-cmdq-helper.c196 u16 offset_mask = offset; in cmdq_pkt_write_mask() local
206 offset_mask |= CMDQ_WRITE_ENABLE_MASK; in cmdq_pkt_write_mask()
208 err = cmdq_pkt_write(pkt, subsys, offset_mask, value); in cmdq_pkt_write_mask()
/linux-6.6.21/drivers/gpu/drm/amd/display/include/
Dgpio_types.h80 uint32_t offset_mask; member
/linux-6.6.21/drivers/accel/habanalabs/common/mmu/
Dmmu.c480 u64 offset_mask, addr_mask, hop_shift, tmp_phys_addr; in hl_mmu_pa_page_with_offset() local
524 offset_mask = (1ull << hop_shift) - 1; in hl_mmu_pa_page_with_offset()
525 addr_mask = ~(offset_mask); in hl_mmu_pa_page_with_offset()
527 (virt_addr & offset_mask); in hl_mmu_pa_page_with_offset()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/gpio/dcn32/
Dhw_translate_dcn32.c319 info->offset_mask = info->offset - 1; in id_to_offset()
/linux-6.6.21/arch/x86/events/amd/
Dibs.c91 unsigned long offset_mask[1]; member
675 .offset_mask = { MSR_AMD64_IBSFETCH_REG_MASK },
700 .offset_mask = { MSR_AMD64_IBSOP_REG_MASK },
1072 offset = find_next_bit(perf_ibs->offset_mask, in perf_ibs_handle_irq()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/gpio/dce110/
Dhw_translate_dce110.c358 info->offset_mask = info->offset - 1; in id_to_offset()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/gpio/dcn20/
Dhw_translate_dcn20.c353 info->offset_mask = info->offset - 1; in id_to_offset()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/gpio/dcn21/
Dhw_translate_dcn21.c356 info->offset_mask = info->offset - 1; in id_to_offset()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/gpio/dcn30/
Dhw_translate_dcn30.c358 info->offset_mask = info->offset - 1; in id_to_offset()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/gpio/dcn315/
Dhw_translate_dcn315.c344 info->offset_mask = info->offset - 1; in id_to_offset()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/gpio/dce60/
Dhw_translate_dce60.c392 info->offset_mask = info->offset - 1; in id_to_offset()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/gpio/dce80/
Dhw_translate_dce80.c392 info->offset_mask = info->offset - 1; in id_to_offset()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/gpio/dce120/
Dhw_translate_dce120.c380 info->offset_mask = info->offset - 1; in id_to_offset()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/gpio/dcn10/
Dhw_translate_dcn10.c380 info->offset_mask = info->offset - 1; in id_to_offset()
/linux-6.6.21/drivers/mmc/host/
Dsdhci.c1122 unsigned int length_mask, offset_mask; in sdhci_prepare_data() local
1135 offset_mask = 0; in sdhci_prepare_data()
1144 offset_mask = 3; in sdhci_prepare_data()
1150 offset_mask = 3; in sdhci_prepare_data()
1153 if (unlikely(length_mask | offset_mask)) { in sdhci_prepare_data()
1161 if (sg->offset & offset_mask) { in sdhci_prepare_data()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/bios/
Dbios_parser.c1824 info->offset_mask = info->offset - 1; in bios_parser_get_gpio_pin_info()
Dbios_parser2.c689 info->offset_mask = info->offset - 1; in bios_parser_get_gpio_pin_info()
/linux-6.6.21/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.c6038 u16 data, offset, data_mask, offset_mask; in hclge_fd_parse_user_def_field() local
6053 offset_mask = be32_to_cpu(fs->m_ext.data[0]) & HCLGE_FD_USER_DEF_OFFSET; in hclge_fd_parse_user_def_field()
6067 if (offset_mask != HCLGE_FD_USER_DEF_OFFSET_UNMASK) { in hclge_fd_parse_user_def_field()