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.c98 unsigned long upr = mfspr(SPR_UPR); in print_cpuinfo() local
110 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()
[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
131 list_for_each_entry_safe(upr, tmp, &upr_list->list, list) { in slic_clear_upr_list()
132 list_del(&upr->list); in slic_clear_upr_list()
133 kfree(upr); in slic_clear_upr_list()
139 static void slic_start_upr(struct slic_device *sdev, struct slic_upr *upr) in slic_start_upr() argument
143 reg = (upr->type == SLIC_UPR_CONFIG) ? SLIC_REG_RCONFIG : in slic_start_upr()
145 slic_write(sdev, reg, lower_32_bits(upr->paddr)); in slic_start_upr()
149 static void slic_queue_upr(struct slic_device *sdev, struct slic_upr *upr) in slic_queue_upr() argument
156 INIT_LIST_HEAD(&upr->list); in slic_queue_upr()
157 list_add_tail(&upr->list, &upr_list->list); in slic_queue_upr()
[all …]
/openbmc/qemu/target/openrisc/
H A Dcpu.c194 cpu->env.upr = UPR_UP | UPR_DMP | UPR_IMP | UPR_PICP | UPR_TTP | UPR_PMP; in or1200_initfn()
213 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()