Home
last modified time | relevance | path

Searched refs:fdm (Results 1 – 4 of 4) sorted by relevance

/linux-5.19.10/arch/powerpc/platforms/pseries/
Drtas-fadump.c26 static struct rtas_fadump_mem_struct fdm; variable
30 const struct rtas_fadump_mem_struct *fdm) in rtas_fadump_update_config() argument
33 be64_to_cpu(fdm->rmr_region.destination_address); in rtas_fadump_update_config()
44 const struct rtas_fadump_mem_struct *fdm) in rtas_fadump_get_config() argument
47 be64_to_cpu(fdm->rmr_region.source_address); in rtas_fadump_get_config()
48 fadump_conf->boot_mem_sz[0] = be64_to_cpu(fdm->rmr_region.source_len); in rtas_fadump_get_config()
59 be64_to_cpu(fdm->cpu_state_data.destination_address); in rtas_fadump_get_config()
61 rtas_fadump_update_config(fadump_conf, fdm); in rtas_fadump_get_config()
68 memset(&fdm, 0, sizeof(struct rtas_fadump_mem_struct)); in rtas_fadump_init_mem_struct()
71 fdm.header.dump_format_version = cpu_to_be32(0x00000001); in rtas_fadump_init_mem_struct()
[all …]
/linux-5.19.10/arch/powerpc/platforms/powernv/
Dopal-fadump.c96 const struct opal_fadump_mem_struct *fdm) in opal_fadump_update_config() argument
98 pr_debug("Boot memory regions count: %d\n", be16_to_cpu(fdm->region_cnt)); in opal_fadump_update_config()
104 fadump_conf->boot_mem_dest_addr = be64_to_cpu(fdm->rgn[0].dest); in opal_fadump_update_config()
108 fadump_conf->fadumphdr_addr = be64_to_cpu(fdm->fadumphdr_addr); in opal_fadump_update_config()
116 const struct opal_fadump_mem_struct *fdm) in opal_fadump_get_config() argument
129 for (i = 0; i < be16_to_cpu(fdm->region_cnt); i++) { in opal_fadump_get_config()
130 base = be64_to_cpu(fdm->rgn[i].src); in opal_fadump_get_config()
131 size = be64_to_cpu(fdm->rgn[i].size); in opal_fadump_get_config()
146 fadump_conf->reserve_dump_area_start = be64_to_cpu(fdm->rgn[0].dest); in opal_fadump_get_config()
158 if (be16_to_cpu(fdm->region_cnt) > be16_to_cpu(fdm->registered_regions)) { in opal_fadump_get_config()
[all …]
/linux-5.19.10/drivers/mtd/nand/raw/
Dmtk_nand.c130 struct mtk_nfc_fdm fdm; member
199 poi = chip->oob_poi + (i + 1) * mtk_nand->fdm.reg_size; in oob_ptr()
203 poi = chip->oob_poi + i * mtk_nand->fdm.reg_size; in oob_ptr()
380 fmt |= mtk_nand->fdm.reg_size << PAGEFMT_FDM_SHIFT; in mtk_nfc_hw_runtime_config()
381 fmt |= mtk_nand->fdm.ecc_size << PAGEFMT_FDM_ECC_SHIFT; in mtk_nfc_hw_runtime_config()
385 nfc->ecc_cfg.len = chip->ecc.size + mtk_nand->fdm.ecc_size; in mtk_nfc_hw_runtime_config()
646 int size = chip->ecc.size + mtk_nand->fdm.reg_size; in mtk_nfc_sector_encode()
679 struct mtk_nfc_fdm *fdm = &mtk_nand->fdm; in mtk_nfc_format_subpage() local
697 memcpy(mtk_oob_ptr(chip, i), oob_ptr(chip, i), fdm->reg_size); in mtk_nfc_format_subpage()
713 struct mtk_nfc_fdm *fdm = &mtk_nand->fdm; in mtk_nfc_format_page() local
[all …]
/linux-5.19.10/drivers/crypto/nx/
Dnx_csbcpb.h104 #define NX_CPB_FDM(c) ((c)->cpb.hdr.fdm)
113 u8 fdm; member