Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/arm64/include/asm/
Dirqflags.h32 u32 pmr = read_sysreg_s(SYS_ICC_PMR_EL1); in arch_local_irq_enable() local
34 WARN_ON_ONCE(pmr != GIC_PRIO_IRQON && pmr != GIC_PRIO_IRQOFF); in arch_local_irq_enable()
51 u32 pmr = read_sysreg_s(SYS_ICC_PMR_EL1); in arch_local_irq_disable() local
53 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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/gpu/drm/etnaviv/
Detnaviv_perfmon.c538 const struct etnaviv_perfmon_request *pmr, u32 exec_state) in etnaviv_perfmon_process() argument
543 u32 *bo = pmr->bo_vma; in etnaviv_perfmon_process()
546 dom = meta->domains + pmr->domain; in etnaviv_perfmon_process()
547 sig = &dom->signal[pmr->signal]; in etnaviv_perfmon_process()
550 *(bo + pmr->offset) = val; in etnaviv_perfmon_process()
Detnaviv_perfmon.h36 const struct etnaviv_perfmon_request *pmr, u32 exec_state);
Detnaviv_gpu.c1273 const struct etnaviv_perfmon_request *pmr = submit->pmrs + i; in sync_point_perfmon_sample() local
1275 if (pmr->flags == flags) in sync_point_perfmon_sample()
1276 etnaviv_perfmon_process(gpu, pmr, submit->exec_state); in sync_point_perfmon_sample()
1308 const struct etnaviv_perfmon_request *pmr = submit->pmrs + i; in sync_point_perfmon_sample_post() local
1310 *pmr->bo_vma = pmr->sequence; in sync_point_perfmon_sample_post()
/kernel/linux/linux-5.10/arch/arm64/kernel/
Dprocess.c83 unsigned long pmr; in __cpu_do_idle_irqprio() local
93 pmr = gic_read_pmr(); in __cpu_do_idle_irqprio()
98 gic_write_pmr(pmr); in __cpu_do_idle_irqprio()
Dentry.S494 .macro test_irqs_unmasked res:req, pmr:req
496 sub \res, \pmr, #GIC_PRIO_IRQON
/kernel/linux/linux-5.10/net/ipv6/
Dmcast.c1592 struct mld2_report *pmr; in mld_newpack() local
1626 skb_put(skb, sizeof(*pmr)); in mld_newpack()
1627 pmr = (struct mld2_report *)skb_transport_header(skb); in mld_newpack()
1628 pmr->mld2r_type = ICMPV6_MLD2_REPORT; in mld_newpack()
1629 pmr->mld2r_resv1 = 0; in mld_newpack()
1630 pmr->mld2r_cksum = 0; in mld_newpack()
1631 pmr->mld2r_resv2 = 0; in mld_newpack()
1632 pmr->mld2r_ngrec = 0; in mld_newpack()
1639 struct mld2_report *pmr = in mld_sendpack() local
1657 pmr->mld2r_cksum = csum_ipv6_magic(&pip6->saddr, &pip6->daddr, mldlen, in mld_sendpack()
[all …]
/kernel/linux/linux-5.10/arch/arm64/kvm/
Dvgic-sys-reg-v3.c94 vmcr.pmr = (p->regval & ICC_PMR_EL1_MASK) >> ICC_PMR_EL1_SHIFT; in access_gic_pmr()
97 p->regval = (vmcr.pmr << ICC_PMR_EL1_SHIFT) & ICC_PMR_EL1_MASK; in access_gic_pmr()
/kernel/linux/linux-5.10/arch/arm64/kvm/vgic/
Dvgic-v2.c241 vmcr |= ((vmcrp->pmr >> GICV_PMR_PRIORITY_SHIFT) << in vgic_v2_set_vmcr()
271 vmcrp->pmr = ((vmcr & GICH_VMCR_PRIMASK_MASK) >> in vgic_v2_get_vmcr()
Dvgic-mmio-v2.c290 val = (vmcr.pmr & GICV_PMR_PRIORITY_MASK) >> in vgic_mmio_read_vcpuif()
337 vmcr.pmr = (val << GICV_PMR_PRIORITY_SHIFT) & in vgic_mmio_write_vcpuif()
Dvgic-v3.c228 vmcr |= (vmcrp->pmr << ICH_VMCR_PMR_SHIFT) & ICH_VMCR_PMR_MASK; in vgic_v3_set_vmcr()
261 vmcrp->pmr = (vmcr & ICH_VMCR_PMR_MASK) >> ICH_VMCR_PMR_SHIFT; in vgic_v3_get_vmcr()
Dvgic.h146 u32 pmr; /* Priority mask field in the GICC_PMR and member
Dvgic.c976 irq->priority < vmcr.pmr; in kvm_vgic_vcpu_pending_irq()
/kernel/linux/linux-5.10/arch/arm64/kvm/hyp/
Dvgic-v3-sr.c630 u8 lr_prio, pmr; in __vgic_v3_read_iar() local
642 pmr = (vmcr & ICH_VMCR_PMR_MASK) >> ICH_VMCR_PMR_SHIFT; in __vgic_v3_read_iar()
644 if (pmr <= lr_prio) in __vgic_v3_read_iar()
/kernel/linux/linux-5.10/drivers/irqchip/
Dirq-gic-v3.c671 u64 pmr; in do_read_iar() local
686 pmr = gic_read_pmr(); in do_read_iar()
692 gic_write_pmr(pmr); in do_read_iar()