Home
last modified time | relevance | path

Searched refs:upr (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/arch/openrisc/kernel/
H A Dsetup.c110 if (!(upr & SPR_UPR_UP)) { in print_cpuinfo()
116 if (upr & SPR_UPR_DCP) in print_cpuinfo()
123 if (upr & SPR_UPR_ICP) in print_cpuinfo()
131 if (upr & SPR_UPR_DMP) in print_cpuinfo()
135 if (upr & SPR_UPR_IMP) in print_cpuinfo()
141 if (upr & SPR_UPR_DUP) in print_cpuinfo()
143 if (upr & SPR_UPR_PCUP) in print_cpuinfo()
145 if (upr & SPR_UPR_PMP) in print_cpuinfo()
147 if (upr & SPR_UPR_PICP) in print_cpuinfo()
149 if (upr & SPR_UPR_TTP) in print_cpuinfo()
[all …]
H A Dtime.c168 u32 upr; in time_init() local
170 upr = mfspr(SPR_UPR); in time_init()
171 if (!(upr & SPR_UPR_TTP)) in time_init()
/openbmc/linux/drivers/net/ethernet/alacritech/
H A Dslicoss.c127 struct slic_upr *upr; in slic_clear_upr_list() local
133 kfree(upr); in slic_clear_upr_list()
187 return upr; in slic_dequeue_upr()
193 struct slic_upr *upr; in slic_new_upr() local
195 upr = kmalloc(sizeof(*upr), GFP_ATOMIC); in slic_new_upr()
196 if (!upr) in slic_new_upr()
198 upr->type = type; in slic_new_upr()
199 upr->paddr = paddr; in slic_new_upr()
658 if (!upr) { in slic_handle_upr_irq()
671 kfree(upr); in slic_handle_upr_irq()
[all …]
/openbmc/qemu/target/openrisc/
H A Dcpu.c188 cpu->env.upr = UPR_UP | UPR_DMP | UPR_IMP | UPR_PICP | UPR_TTP | UPR_PMP; in or1200_initfn()
207 cpu->env.upr = UPR_UP | UPR_DMP | UPR_IMP | UPR_PICP | UPR_TTP | UPR_PMP; in openrisc_any_initfn()
H A Dmachine.c100 VMSTATE_UINT32(upr, CPUOpenRISCState),
H A Dcpu.h273 uint32_t upr; /* Unit presence register */ member
H A Dsys_helper.c242 return env->upr; in HELPER()