Home
last modified time | relevance | path

Searched refs:spare_size (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/drivers/spi/
H A Dspi-mtk-snfi.c298 u8 spare_size; member
538 u32 spare_size, spare_size_shift, pagesize_idx; in mtk_snand_setup_pagefmt() local
592 spare_size = oob_size / nsectors; in mtk_snand_setup_pagefmt()
596 spare_size /= 2; in mtk_snand_setup_pagefmt()
599 if (snf->caps->spare_sizes[i] <= spare_size) { in mtk_snand_setup_pagefmt()
600 spare_size = snf->caps->spare_sizes[i]; in mtk_snand_setup_pagefmt()
602 spare_size *= 2; in mtk_snand_setup_pagefmt()
623 snf->nfi_cfg.spare_size = spare_size; in mtk_snand_setup_pagefmt()
626 snf->caps->sector_size, spare_size, nsectors); in mtk_snand_setup_pagefmt()
840 (snf->nfi_cfg.nsectors - 1) * snf->nfi_cfg.spare_size; in mtk_snand_bm_swap()
[all …]
/openbmc/u-boot/tools/
H A Datmelimage.c32 int spare_size; member
79 pmecc.spare_size = strtol(param, NULL, 10); in atmel_find_pmecc_parameter_in_token()
290 tmp |= (pmecc.spare_size & 0x1ff) << 4; in atmel_vrec_header()
/openbmc/u-boot/drivers/mtd/nand/raw/
H A Dpxa3xx_nand.c207 unsigned int spare_size; member
1307 (chunk * (info->spare_size)), in pxa3xx_nand_read_page_raw()
1308 info->spare_size); in pxa3xx_nand_read_page_raw()
1527 info->spare_size = 40; in pxa_ecc_init()
1537 info->spare_size = 8; in pxa_ecc_init()
1552 info->spare_size = 32; in pxa_ecc_init()
1564 info->spare_size = 32; in pxa_ecc_init()
1576 info->spare_size = 32; in pxa_ecc_init()
1592 info->spare_size = 0; in pxa_ecc_init()
1606 info->spare_size = 0; in pxa_ecc_init()
[all …]
/openbmc/linux/drivers/mtd/nand/raw/
H A Dmtk_nand.c102 const u8 *spare_size; member
368 if (nfc->caps->spare_size[i] == spare) in mtk_nfc_hw_runtime_config()
1198 const u8 *spare = nfc->caps->spare_size; in mtk_nfc_set_spare_per_sector()
1466 .spare_size = spare_size_mt2701,
1475 .spare_size = spare_size_mt2712,
1484 .spare_size = spare_size_mt7622,
/openbmc/linux/drivers/mtd/nand/
H A Decc-mxic.c228 static const int spare_size[] = {32, 32, 96, 96}; in mxic_ecc_init_ctx() local
289 if (spare_size[idx] * steps <= mtd->oobsize) in mxic_ecc_init_ctx()
/openbmc/linux/drivers/gpu/drm/i915/gt/uc/
H A Dintel_guc_capture.c666 int spare_size = min_size * GUC_CAPTURE_OVERBUFFER_MULTIPLIER; in check_guc_capture_size() local
683 else if (spare_size > buffer_size) in check_guc_capture_size()
685 buffer_size, spare_size, min_size); in check_guc_capture_size()