Home
last modified time | relevance | path

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

/linux-5.19.10/arch/openrisc/kernel/
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 …]
Dtime.c166 u32 upr; in time_init() local
168 upr = mfspr(SPR_UPR); in time_init()
169 if (!(upr & SPR_UPR_TTP)) in time_init()
/linux-5.19.10/drivers/net/ethernet/alacritech/
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 …]