Home
last modified time | relevance | path

Searched refs:GENMASK (Results 1 – 9 of 9) sorted by relevance

/xen-4.10.0-shim-comet/xen/include/asm-arm/
A Dgic_v3_defs.h136 (GENMASK(63, 59) | GENMASK(55, 52) | GENMASK(6, 5))
149 (BIT(63) | GENMASK(61, 59) | GENMASK(55, 52) | \
150 GENMASK(15, 12) | GENMASK(6, 0))
A Dprocessor.h729 #define HPFAR_MASK GENMASK(39, 4)
731 #define HPFAR_MASK GENMASK(31, 4)
/xen-4.10.0-shim-comet/xen/arch/arm/arm32/
A Dinsn.c22 #define BRANCH_INSN_IMM_MASK GENMASK(23, 0)
62 imm |= GENMASK(31, 24); in aarch32_get_branch_offset()
/xen-4.10.0-shim-comet/xen/arch/arm/
A Dgic-v3-its.c69 #define BUFPTR_MASK GENMASK(19, 5)
166 reg &= ~GENMASK(51, 16); in encode_rdbase()
222 ASSERT(!(itt_addr & ~GENMASK(51, 8))); in its_send_cmd_mapd()
278 #define BASER_RO_MASK (GENMASK(58, 56) | GENMASK(52, 48))
285 return (!(paddr & ~GENMASK(page_bits < 16 ? 47 : 51, page_bits))); in check_baser_phys_addr()
290 uint64_t ret = addr & GENMASK(47, page_bits); in encode_baser_phys_addr()
296 return ret | ((addr & GENMASK(51, 48)) >> (48 - 12)); in encode_baser_phys_addr()
313 if ( virt_to_maddr(buffer) & ~GENMASK(51, 12) ) in its_map_cbaser()
A Dvgic-v3-its.c98 #define DEV_TABLE_ITT_ADDR(x) ((x) & GENMASK(51, 8))
99 #define DEV_TABLE_ITT_SIZE(x) (BIT(((x) & GENMASK(4, 0)) + 1))
101 (((addr) & GENMASK(51, 8)) | (((bits) - 1) & GENMASK(4, 0)))
114 return (reg & GENMASK(47, 16)) | in get_baser_phys_addr()
115 ((reg & GENMASK(15, 12)) << 36); in get_baser_phys_addr()
117 return reg & GENMASK(47, 12); in get_baser_phys_addr()
286 return (its_cmd[word] >> shift) & GENMASK(size - 1, 0); in its_cmd_mask_field()
416 addr = d->arch.vgic.rdist_propbase & GENMASK(51, 12); in update_lpi_property()
895 #define ITS_CMD_OFFSET(reg) ((reg) & GENMASK(19, 5))
911 paddr_t addr = its->cbaser & GENMASK(51, 12); in vgic_its_handle_cmds()
A Dgic-v3-lpi.c134 return per_cpu(lpi_redist, cpu).redist_addr & GENMASK(51, 16); in gicv3_get_redist_address()
258 if ( virt_to_maddr(pendtable) & ~GENMASK(51, 16) ) in gicv3_lpi_allocate_pendtable()
302 if ( (virt_to_maddr(table) & ~GENMASK(51, 12)) ) in gicv3_lpi_set_proptable()
A Dguest_walk.c91 mask = GENMASK(31, (14 - n)); in guest_walk_sd()
94 mask = GENMASK((31 - n), 20); in guest_walk_sd()
114 mask = GENMASK(19, 12); in guest_walk_sd()
A Dgic-v3.c586 writel_relaxed(GENMASK(31, 0), GICD + GICD_IGROUPR + (i / 32) * 4); in gicv3_dist_init()
795 writel_relaxed(GENMASK(31, 0), GICD_RDIST_SGI_BASE + GICR_IGROUPR0); in gicv3_cpu_init()
/xen-4.10.0-shim-comet/xen/include/xen/
A Dbitops.h10 #define GENMASK(h, l) \ macro

Completed in 25 milliseconds