Searched refs:spare_size (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.1/drivers/spi/ |
D | spi-mtk-snfi.c | 268 u8 spare_size; member 507 u32 spare_size, spare_size_shift, pagesize_idx; in mtk_snand_setup_pagefmt() local 561 spare_size = oob_size / nsectors; in mtk_snand_setup_pagefmt() 565 spare_size /= 2; in mtk_snand_setup_pagefmt() 568 if (snf->caps->spare_sizes[i] <= spare_size) { in mtk_snand_setup_pagefmt() 569 spare_size = snf->caps->spare_sizes[i]; in mtk_snand_setup_pagefmt() 571 spare_size *= 2; in mtk_snand_setup_pagefmt() 578 dev_err(snf->dev, "unsupported spare size: %u\n", spare_size); in mtk_snand_setup_pagefmt() 592 snf->nfi_cfg.spare_size = spare_size; in mtk_snand_setup_pagefmt() 595 snf->caps->sector_size, spare_size, nsectors); in mtk_snand_setup_pagefmt() [all …]
|
/Linux-v6.1/drivers/mtd/nand/raw/ |
D | mtk_nand.c | 103 const u8 *spare_size; member 369 if (nfc->caps->spare_size[i] == spare) in mtk_nfc_hw_runtime_config() 1225 const u8 *spare = nfc->caps->spare_size; in mtk_nfc_set_spare_per_sector() 1477 .spare_size = spare_size_mt2701, 1486 .spare_size = spare_size_mt2712, 1495 .spare_size = spare_size_mt7622,
|
/Linux-v6.1/drivers/mtd/nand/ |
D | ecc-mxic.c | 228 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()
|
/Linux-v6.1/drivers/gpu/drm/i915/gt/uc/ |
D | intel_guc_capture.c | 658 int spare_size = min_size * GUC_CAPTURE_OVERBUFFER_MULTIPLIER; in check_guc_capture_size() local 667 else if (spare_size > buffer_size) in check_guc_capture_size() 669 buffer_size, spare_size, min_size); in check_guc_capture_size()
|