Searched refs:spare_size (Results 1 – 6 of 6) sorted by relevance
/linux/drivers/spi/ |
H A D | spi-mtk-snfi.c | 298 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() 609 dev_err(snf->dev, "unsupported spare size: %u\n", spare_size); 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() [all …]
|
H A D | spi-airoha-snfi.c | 219 u8 spare_size; member 478 switch (as_ctrl->nfi_cfg.spare_size) { in airoha_snand_nfi_config() 577 max_len += as_ctrl->nfi_cfg.spare_size; in airoha_snand_adjust_op_size() 1005 as_ctrl->nfi_cfg.spare_size = 16; in airoha_snand_nfi_setup()
|
/linux/drivers/mtd/nand/raw/ |
H A D | mtk_nand.c | 102 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,
|
/linux/drivers/mtd/nand/ |
H A 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/drivers/gpu/drm/i915/gt/uc/ |
H A D | intel_guc_capture.c | 662 int spare_size = min_size * GUC_CAPTURE_OVERBUFFER_MULTIPLIER; in check_guc_capture_size() local 679 else if (spare_size > buffer_size) in check_guc_capture_size() 681 buffer_size, spare_size, min_size); in check_guc_capture_size()
|
/linux/kernel/trace/ |
H A D | trace.c | 7232 unsigned int spare_size; member 7968 if (page_size != info->spare_size) { in tracing_buffers_read() 7983 info->spare_size = page_size; in tracing_buffers_read()
|