Home
last modified time | relevance | path

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

/linux/arch/arm64/include/asm/
A 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()
A 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()
A Dcpuidle.h26 unsigned long pmr; member
37 c->pmr = gic_read_pmr(); \
46 gic_write_pmr(c->pmr); \
/linux/drivers/mtd/maps/
A 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/drivers/ata/
A 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/drivers/gpu/drm/etnaviv/
A 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()
A Detnaviv_perfmon.h36 const struct etnaviv_perfmon_request *pmr, u32 exec_state);
A 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/net/ipv6/
A Dmcast.c1743 struct mld2_report *pmr; in mld_newpack() local
1776 skb_put(skb, sizeof(*pmr)); in mld_newpack()
1779 pmr->mld2r_resv1 = 0; in mld_newpack()
1780 pmr->mld2r_cksum = 0; in mld_newpack()
1781 pmr->mld2r_resv2 = 0; in mld_newpack()
1782 pmr->mld2r_ngrec = 0; in mld_newpack()
1789 struct mld2_report *pmr = in mld_sendpack() local
1853 struct mld2_report *pmr; in add_grhead() local
1867 pmr->mld2r_ngrec = htons(ntohs(pmr->mld2r_ngrec)+1); in add_grhead()
1885 struct mld2_report *pmr; in add_grec() local
[all …]
/linux/arch/arm64/kvm/
A 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()
/linux/arch/arm64/kvm/vgic/
A 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()
A 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()
A 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()
A Dvgic.h146 u32 pmr; /* Priority mask field in the GICC_PMR and member
A Dvgic.c978 irq->priority < vmcr.pmr; in kvm_vgic_vcpu_pending_irq()
/linux/arch/arm64/kvm/hyp/
A 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/drivers/irqchip/
A Dirq-gic-v3.c676 u64 pmr; in do_read_iar() local
691 pmr = gic_read_pmr(); in do_read_iar()
697 gic_write_pmr(pmr); in do_read_iar()

Completed in 37 milliseconds