Searched refs:dir_base (Results 1 – 2 of 2) sorted by relevance
/openbmc/qemu/target/loongarch/tcg/ |
H A D | tlb_helper.c | 21 static void get_dir_base_width(CPULoongArchState *env, uint64_t *dir_base, in get_dir_base_width() argument 26 *dir_base = FIELD_EX64(env->CSR_PWCL, CSR_PWCL, DIR1_BASE); in get_dir_base_width() 30 *dir_base = FIELD_EX64(env->CSR_PWCL, CSR_PWCL, DIR2_BASE); in get_dir_base_width() 34 *dir_base = FIELD_EX64(env->CSR_PWCH, CSR_PWCH, DIR3_BASE); in get_dir_base_width() 38 *dir_base = FIELD_EX64(env->CSR_PWCH, CSR_PWCH, DIR4_BASE); in get_dir_base_width() 43 *dir_base = FIELD_EX64(env->CSR_PWCL, CSR_PWCL, PTBASE); in get_dir_base_width() 516 uint64_t dir_base, dir_width; in helper_lddir() local 545 get_dir_base_width(env, &dir_base, &dir_width, level); in helper_lddir() 546 index = (badvaddr >> dir_base) & ((1 << dir_width) - 1); in helper_lddir() 560 uint64_t dir_base, dir_width; in helper_ldpte() local [all …]
|
/openbmc/linux/drivers/spi/ |
H A D | spi-gxp.c | 45 void __iomem *dir_base; member 150 memcpy_fromio(op->data.buf.in, spifi->dir_base + offset, op->data.nbytes); in gxp_spi_read() 278 spifi->dir_base = devm_platform_ioremap_resource(pdev, 2); in gxp_spifi_probe() 279 if (IS_ERR(spifi->dir_base)) in gxp_spifi_probe() 280 return PTR_ERR(spifi->dir_base); in gxp_spifi_probe()
|