Home
last modified time | relevance | path

Searched refs:pmr (Results 1 – 18 of 18) sorted by relevance

/Linux-v6.1/arch/arm64/include/asm/
Dirqflags.h30 u32 pmr = read_sysreg_s(SYS_ICC_PMR_EL1); in arch_local_irq_enable() local
32 WARN_ON_ONCE(pmr != GIC_PRIO_IRQON && pmr != GIC_PRIO_IRQOFF); in arch_local_irq_enable()
49 u32 pmr = read_sysreg_s(SYS_ICC_PMR_EL1); in arch_local_irq_disable() local
51 WARN_ON_ONCE(pmr != GIC_PRIO_IRQON && pmr != GIC_PRIO_IRQOFF); in arch_local_irq_disable()
Ddaifflags.h82 u64 pmr; in local_daif_restore() local
90 pmr = GIC_PRIO_IRQOFF; in local_daif_restore()
92 pmr = GIC_PRIO_IRQON | GIC_PRIO_PSR_I_SET; in local_daif_restore()
114 gic_write_pmr(pmr); in local_daif_restore()
Dcpuidle.h11 unsigned long pmr; member
22 c->pmr = gic_read_pmr(); \
31 gic_write_pmr(c->pmr); \
/Linux-v6.1/drivers/mtd/maps/
Dscx200_docflash.c81 unsigned pmr; in init_scx200_docflash() local
103 pmr = inl(scx200_cb_base + SCx200_PMR); in init_scx200_docflash()
117 if (pmr & (1<<6)) in init_scx200_docflash()
157 pmr = inl(scx200_cb_base + SCx200_PMR); in init_scx200_docflash()
160 pmr &= ~(1<<6); in init_scx200_docflash()
162 pmr |= (1<<6); in init_scx200_docflash()
164 outl(pmr, scx200_cb_base + SCx200_PMR); in init_scx200_docflash()
/Linux-v6.1/drivers/ata/
Dsata_sis.c104 u8 pmr; in get_scr_cfg_addr() local
110 pci_read_config_byte(pdev, SIS_PMR, &pmr); in get_scr_cfg_addr()
111 if ((pmr & SIS_PMR_COMBINED) == 0) in get_scr_cfg_addr()
187 u8 pmr; in sis_init_one() local
213 pci_read_config_byte(pdev, SIS_PMR, &pmr); in sis_init_one()
219 switch (pmr & 0x30) { in sis_init_one()
228 if ((pmr & SIS_PMR_COMBINED) == 0) { in sis_init_one()
/Linux-v6.1/drivers/gpu/drm/etnaviv/
Detnaviv_perfmon.c570 const struct etnaviv_perfmon_request *pmr, u32 exec_state) in etnaviv_perfmon_process() argument
575 u32 *bo = pmr->bo_vma; in etnaviv_perfmon_process()
578 dom = meta->domains + pmr->domain; in etnaviv_perfmon_process()
579 sig = &dom->signal[pmr->signal]; in etnaviv_perfmon_process()
582 *(bo + pmr->offset) = val; in etnaviv_perfmon_process()
Detnaviv_perfmon.h36 const struct etnaviv_perfmon_request *pmr, u32 exec_state);
Detnaviv_gpu.c1284 const struct etnaviv_perfmon_request *pmr = submit->pmrs + i; in sync_point_perfmon_sample() local
1286 if (pmr->flags == flags) in sync_point_perfmon_sample()
1287 etnaviv_perfmon_process(gpu, pmr, submit->exec_state); in sync_point_perfmon_sample()
1319 const struct etnaviv_perfmon_request *pmr = submit->pmrs + i; in sync_point_perfmon_sample_post() local
1321 *pmr->bo_vma = pmr->sequence; in sync_point_perfmon_sample_post()
/Linux-v6.1/tools/testing/selftests/kvm/lib/aarch64/
Dgic.c109 void gic_set_priority_mask(uint64_t pmr) in gic_set_priority_mask() argument
112 gic_common_ops->gic_set_priority_mask(pmr); in gic_set_priority_mask()
/Linux-v6.1/net/ipv6/
Dmcast.c1737 struct mld2_report *pmr; in mld_newpack() local
1770 skb_put(skb, sizeof(*pmr)); in mld_newpack()
1771 pmr = (struct mld2_report *)skb_transport_header(skb); in mld_newpack()
1772 pmr->mld2r_type = ICMPV6_MLD2_REPORT; in mld_newpack()
1773 pmr->mld2r_resv1 = 0; in mld_newpack()
1774 pmr->mld2r_cksum = 0; in mld_newpack()
1775 pmr->mld2r_resv2 = 0; in mld_newpack()
1776 pmr->mld2r_ngrec = 0; in mld_newpack()
1783 struct mld2_report *pmr = in mld_sendpack() local
1801 pmr->mld2r_cksum = csum_ipv6_magic(&pip6->saddr, &pip6->daddr, mldlen, in mld_sendpack()
[all …]
/Linux-v6.1/arch/arm64/kvm/
Dvgic-sys-reg-v3.c93 vmcr.pmr = FIELD_GET(ICC_PMR_EL1_MASK, val); in set_gic_pmr()
105 *val = FIELD_PREP(ICC_PMR_EL1_MASK, vmcr.pmr); in get_gic_pmr()
/Linux-v6.1/arch/arm64/kvm/vgic/
Dvgic-v2.c226 vmcr |= ((vmcrp->pmr >> GICV_PMR_PRIORITY_SHIFT) << in vgic_v2_set_vmcr()
256 vmcrp->pmr = ((vmcr & GICH_VMCR_PRIMASK_MASK) >> in vgic_v2_get_vmcr()
Dvgic-mmio-v2.c301 val = (vmcr.pmr & GICV_PMR_PRIORITY_MASK) >> in vgic_mmio_read_vcpuif()
348 vmcr.pmr = (val << GICV_PMR_PRIORITY_SHIFT) & in vgic_mmio_write_vcpuif()
Dvgic-v3.c216 vmcr |= (vmcrp->pmr << ICH_VMCR_PMR_SHIFT) & ICH_VMCR_PMR_MASK; in vgic_v3_set_vmcr()
249 vmcrp->pmr = (vmcr & ICH_VMCR_PMR_MASK) >> ICH_VMCR_PMR_SHIFT; in vgic_v3_get_vmcr()
Dvgic.h151 u32 pmr; /* Priority mask field in the GICC_PMR and member
Dvgic.c978 irq->priority < vmcr.pmr; in kvm_vgic_vcpu_pending_irq()
/Linux-v6.1/arch/arm64/kvm/hyp/
Dvgic-v3-sr.c677 u8 lr_prio, pmr; in __vgic_v3_read_iar() local
689 pmr = (vmcr & ICH_VMCR_PMR_MASK) >> ICH_VMCR_PMR_SHIFT; in __vgic_v3_read_iar()
691 if (pmr <= lr_prio) in __vgic_v3_read_iar()
/Linux-v6.1/drivers/irqchip/
Dirq-gic-v3.c760 u64 pmr; in __gic_handle_irq_from_irqsoff() local
776 pmr = gic_read_pmr(); in __gic_handle_irq_from_irqsoff()
780 gic_write_pmr(pmr); in __gic_handle_irq_from_irqsoff()