Home
last modified time | relevance | path

Searched refs:rh (Results 1 – 8 of 8) sorted by relevance

/arch/powerpc/sysdev/
Dfsl_85xx_cache_sram.c60 offset = rh_alloc_align(cache_sram->rh, size, align, NULL); in mpc85xx_cache_sram_alloc()
78 rh_free(cache_sram->rh, ptr - cache_sram->base_virt); in mpc85xx_cache_sram_free()
119 cache_sram->rh = rh_create(sizeof(unsigned int)); in instantiate_cache_sram()
120 if (IS_ERR(cache_sram->rh)) { in instantiate_cache_sram()
123 ret = PTR_ERR(cache_sram->rh); in instantiate_cache_sram()
127 rh_attach_region(cache_sram->rh, 0, cache_sram->size); in instantiate_cache_sram()
150 rh_detach_region(cache_sram->rh, 0, cache_sram->size); in remove_cache_sram()
151 rh_destroy(cache_sram->rh); in remove_cache_sram()
Dppc4xx_ocm.c53 rh_info_t *rh; member
97 rh_free(ocm_reg->rh, offset); in ocm_free_region()
216 ocm->nc.rh = rh_create(ocm->alignment); in ocm_init_node()
217 rh_attach_region(ocm->nc.rh, 0, ocm->nc.memtotal); in ocm_init_node()
221 ocm->c.rh = rh_create(ocm->alignment); in ocm_init_node()
222 rh_attach_region(ocm->c.rh, 0, ocm->c.memtotal); in ocm_init_node()
337 offset = rh_alloc_align(ocm_reg->rh, size, align, NULL); in ppc4xx_ocm_alloc()
345 rh_free(ocm_reg->rh, offset); in ppc4xx_ocm_alloc()
/arch/arm/vfp/
Dvfp.h76 u64 rh, rma, rmb, rl; in mul64to128() local
89 rh = (u64)nh * mh; in mul64to128()
90 rh += ((u64)(rma < rmb) << 32) + (rma >> 32); in mul64to128()
94 rh += (rl < rma); in mul64to128()
97 *resh = rh; in mul64to128()
108 u64 rh, rl; in vfp_hi64multiply64() local
109 mul64to128(&rh, &rl, n, m); in vfp_hi64multiply64()
110 return rh | (rl != 0); in vfp_hi64multiply64()
/arch/arm/mm/
Dproc-v7-3level.S70 #define rh r2 macro
73 #define rh r3 macro
87 tst rh, #1 << (57 - 32) @ L_PTE_NONE
91 eor ip, rh, #1 << (55 - 32) @ toggle L_PTE_DIRTY in temp reg to
/arch/ia64/kernel/
Dsalinfo.c414 sal_log_record_header_t *rh; in salinfo_log_read_cpu() local
416 rh = (sal_log_record_header_t *)(data->log_buffer); in salinfo_log_read_cpu()
418 if (rh->severity == sal_log_severity_corrected) in salinfo_log_read_cpu()
435 sal_log_record_header_t *rh = (sal_log_record_header_t *)(data_saved->buffer); in salinfo_log_new_read() local
437 memcpy(data->log_buffer, rh, data->log_size); in salinfo_log_new_read()
439 if (rh->id == data_saved->id) { in salinfo_log_new_read()
490 sal_log_record_header_t *rh; in salinfo_log_clear() local
504 rh = (sal_log_record_header_t *)(data->log_buffer); in salinfo_log_clear()
506 if (rh->severity != sal_log_severity_corrected) in salinfo_log_clear()
Dmca.c458 sal_log_record_header_t *rh; in ia64_mca_log_sal_error_record() local
477 rh = (sal_log_record_header_t *)buffer; in ia64_mca_log_sal_error_record()
478 if (rh->severity == sal_log_severity_corrected) in ia64_mca_log_sal_error_record()
1335 sal_log_record_header_t *rh = IA64_LOG_CURR_BUFFER(SAL_INFO_TYPE_MCA); in ia64_mca_handler() local
1336 rh->severity = sal_log_severity_corrected; in ia64_mca_handler()
/arch/powerpc/include/asm/
Dfsl_85xx_cache_sram.h40 rh_info_t *rh; member
/arch/x86/kvm/
Di8254.c63 u64 rl, rh; in muldiv64() local
67 rh = (u64)u.l.high * (u64)b; in muldiv64()
68 rh += (rl >> 32); in muldiv64()
69 res.l.high = div64_u64(rh, c); in muldiv64()
70 res.l.low = div64_u64(((mod_64(rh, c) << 32) + (rl & 0xffffffff)), c); in muldiv64()