| /linux/drivers/mtd/nand/onenand/ |
| H A D | onenand_bbt.c | 59 struct bbm_info *bbm = this->bbm; in create_bbt() local 79 numblocks = this->chipsize >> (bbm->bbt_erase_shift - 1); in create_bbt() 103 bbm->bbt[i >> 3] |= 0x03 << (i & 0x6); in create_bbt() 116 from += (1 << bbm->bbt_erase_shift); in create_bbt() 147 struct bbm_info *bbm = this->bbm; in onenand_isbad_bbt() local 153 res = (bbm->bbt[block >> 3] >> (block & 0x06)) & 0x03; in onenand_isbad_bbt() 184 struct bbm_info *bbm = this->bbm; in onenand_scan_bbt() local 189 bbm->bbt = kzalloc(len, GFP_KERNEL); in onenand_scan_bbt() 190 if (!bbm->bbt) in onenand_scan_bbt() 194 bbm->bbt_erase_shift = this->erase_shift; in onenand_scan_bbt() [all …]
|
| /linux/drivers/input/keyboard/ |
| H A D | imx-sm-bbm-key.c | 96 pr_debug("BBM Button Power key pressed\n"); in scmi_imx_bbm_key_notifier() 100 pr_err("Unexpected BBM event: %s\n", __func__); in scmi_imx_bbm_key_notifier() 123 dev_err(dev, "failed to allocate the input device for SCMI IMX BBM\n"); in scmi_imx_bbm_pwrkey_init() 147 dev_err(dev, "Failed to register BBM Button Events %d:", ret); in scmi_imx_bbm_pwrkey_init() 208 { SCMI_PROTOCOL_IMX_BBM, "imx-bbm-key" }, 217 .name = "scmi-imx-bbm-key", 224 MODULE_DESCRIPTION("IMX SM BBM Key driver");
|
| /linux/drivers/firmware/arm_scmi/vendors/imx/ |
| H A D | Kconfig | 5 tristate "i.MX SCMI BBM EXTENSION" 9 This enables i.MX System BBM control logic which supports RTC 13 module will be called imx-sm-bbm.
|
| H A D | Makefile | 2 obj-$(CONFIG_IMX_SCMI_BBM_EXT) += imx-sm-bbm.o
|
| /linux/drivers/rtc/ |
| H A D | rtc-imx-sm-bbm.c | 86 pr_err("Unexpected bbm event: %s\n", __func__); in scmi_imx_bbm_rtc_notifier() 148 { SCMI_PROTOCOL_IMX_BBM, "imx-bbm-rtc" }, 154 .name = "scmi-imx-bbm-rtc", 161 MODULE_DESCRIPTION("IMX SM BBM RTC driver");
|
| H A D | Makefile | 80 obj-$(CONFIG_RTC_DRV_IMX_BBM_SCMI) += rtc-imx-sm-bbm.o
|
| H A D | Kconfig | 1882 tristate "NXP i.MX BBM SCMI RTC support" 1888 module will be called rtc-imx-sm-bbm.
|
| /linux/include/linux/mtd/ |
| H A D | onenand.h | 16 #include <linux/mtd/bbm.h> 80 * @bbm: [REPLACEABLE] pointer to Bad Block Management 135 void *bbm; member
|
| H A D | bbm.h | 3 * NAND family Bad Block Management (BBM) header file 124 * @priv: [OPTIONAL] pointer to private bbm date
|
| /linux/drivers/mtd/nand/ |
| H A D | ecc-sw-bch.c | 213 /* Reserve 2 bytes for the BBM */ in nand_ecc_sw_bch_init_ctx() 308 /* This engine does not provide BBM/free OOB bytes protection */ in nand_ecc_sw_bch_prepare_io_req() 347 /* This engine does not provide BBM/free OOB bytes protection */ in nand_ecc_sw_bch_finish_io_req()
|
| H A D | ecc-sw-hamming.c | 562 /* This engine does not provide BBM/free OOB bytes protection */ in nand_ecc_sw_hamming_prepare_io_req() 601 /* This engine does not provide BBM/free OOB bytes protection */ in nand_ecc_sw_hamming_finish_io_req()
|
| /linux/arch/arm64/kernel/ |
| H A D | relocate_kernel.S | 50 ldr x18, [x0, #KIMAGE_ARCH_ZERO_PAGE] /* x18 = zero page for BBM */
|
| /linux/Documentation/devicetree/bindings/mtd/ |
| H A D | raw-nand-chip.yaml | 66 find Bad Block Markers (BBM). These markers will help to
|
| /linux/drivers/mtd/nand/raw/ |
| H A D | qcom_nandc.c | 556 * The BBM and spare bytes bit flip won’t affect the ECC so don’t check 769 * leave the real/dummy BBM offsets empty (i.e, filled with in read_page_ecc() 1014 * itself. For the last codeword, we skip the bbm positions and in qcom_nandc_write_page() 1175 * that contains the BBM in qcom_nandc_block_bad() 1185 dev_warn(nandc->dev, "error when trying to read BBM\n"); in qcom_nandc_block_bad() 1210 * to mark the BBM as bad, we flash the entire last codeword with 0s. in qcom_nandc_block_markbad() 1230 dev_err(nandc->dev, "failure to update BBM\n"); in qcom_nandc_block_markbad() 1295 * Block Markers. In the last codeword, this position contains the real BBM
|
| H A D | nand_bbt.c | 59 #include <linux/mtd/bbm.h> 437 /* Ignore ECC errors when checking for BBM */ in scan_block_fast() 457 * No need to check for a bad BBT block if the BBM area overlaps with in bbt_block_checkbad() 458 * the bad block table marker area in OOB since writing a BBM here in bbt_block_checkbad() 1366 * This function allocates and initializes a nand_bbt_descr for BBM detection
|
| H A D | denali.c | 258 /* This chunk overwraps the BBM area. Must be split */ in denali_payload_xfer() 289 /* BBM at the beginning of the OOB area */ in denali_oob_xfer() 308 /* This chunk overwraps the BBM area. Must be split */ in denali_oob_xfer()
|
| H A D | cadence-nand-controller.c | 526 /* Offset of BBM. */ 528 /* Number of bytes reserved for BBM. */ 1417 dev_err(cdns_ctrl->dev, "read BBM failed\n"); in cadence_nand_read_bbm() 1568 /* BBM at the beginning of the OOB area. */ in cadence_nand_write_page_raw() 1773 /* BBM at the beginning of the OOB area. */ in cadence_nand_read_page_raw()
|
| /linux/drivers/mtd/nand/spi/ |
| H A D | winbond.c | 200 /* Extract BBM */ in w25n01jw_ooblayout_free() 230 /* Extract BBM */ in w35n01jw_ooblayout_free()
|
| /linux/sound/pci/asihpi/ |
| H A D | hpi6205.c | 795 /* GRANT phase. Set up the BBM status, tell the DSP about in outstream_host_buffer_allocate() 796 the buffer so it can start using BBM. in outstream_host_buffer_allocate() 901 /* there is no BBM buffer, write via message */ in outstream_write() 932 or enough to fit from current to end of BBM buffer */ in outstream_write() 949 * already written data into the BBM buffer, but the DSP won't know in outstream_write() 1210 or enough to fit from current to end of BBM buffer */ in instream_read()
|
| H A D | hpi.h | 396 process data, and BBM host buffer counters are updated.
|
| /linux/arch/arm64/mm/ |
| H A D | hugetlbpage.c | 526 * Break-before-make (BBM) is required for all user space mappings in huge_ptep_modify_prot_start()
|
| H A D | mmu.c | 2042 * Break-before-make (BBM) is required for all user space mappings in modify_prot_start_ptes()
|
| /linux/arch/arm64/kvm/hyp/nvhe/ |
| H A D | sys_regs.c | 139 MAX_FEAT(ID_AA64MMFR2_EL1, BBM, 2),
|
| /linux/tools/testing/selftests/kvm/arm64/ |
| H A D | set_id_regs.c | 186 REG_FTR_BITS(FTR_LOWER_SAFE, ID_AA64MMFR2_EL1, BBM, 0),
|
| /linux/arch/arm64/tools/ |
| H A D | sysreg | 2245 UnsignedEnum 55:52 BBM
|