Searched refs:bbm (Results 1 – 12 of 12) sorted by relevance
| /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 …]
|
| H A D | onenand_base.c | 2123 struct bbm_info *bbm = this->bbm; in onenand_block_isbad_nolock() local 2126 return bbm->isbad_bbt(mtd, ofs, allowbbt); in onenand_block_isbad_nolock() 2446 struct bbm_info *bbm = this->bbm; in onenand_default_block_markbad() local 2458 if (bbm->bbt) in onenand_default_block_markbad() 2459 bbm->bbt[block >> 2] |= 0x01 << ((block & 0x03) << 1); in onenand_default_block_markbad() 4005 if (this->bbm) { in onenand_release() 4006 struct bbm_info *bbm = this->bbm; in onenand_release() local 4007 kfree(bbm->bbt); in onenand_release() 4008 kfree(this->bbm); in onenand_release()
|
| /linux/drivers/virtio/ |
| H A D | virtio_mem.c | 223 } bbm; member 346 return addr / vm->bbm.bb_size; in virtio_mem_phys_to_bb_id() 355 return bb_id * vm->bbm.bb_size; in virtio_mem_bb_id_to_phys() 377 const unsigned long idx = bb_id - vm->bbm.first_bb_id; in virtio_mem_bbm_set_bb_state() 380 old_state = vm->bbm.bb_states[idx]; in virtio_mem_bbm_set_bb_state() 381 vm->bbm.bb_states[idx] = state; in virtio_mem_bbm_set_bb_state() 383 BUG_ON(vm->bbm.bb_count[old_state] == 0); in virtio_mem_bbm_set_bb_state() 384 vm->bbm.bb_count[old_state]--; in virtio_mem_bbm_set_bb_state() 385 vm->bbm.bb_count[state]++; in virtio_mem_bbm_set_bb_state() 394 return vm->bbm.bb_states[bb_id - vm->bbm.first_bb_id]; in virtio_mem_bbm_get_bb_state() [all …]
|
| /linux/drivers/mtd/nand/ |
| H A D | ecc-realtek.c | 131 int bbm; in rtl_ecc_ooblayout_free() local 137 bbm = section ? 0 : 2; in rtl_ecc_ooblayout_free() 138 oobregion->offset = section * RTL_ECC_FREE_SIZE + bbm; in rtl_ecc_ooblayout_free() 139 oobregion->length = RTL_ECC_FREE_SIZE - bbm; in rtl_ecc_ooblayout_free()
|
| /linux/drivers/firmware/arm_scmi/vendors/imx/ |
| H A D | Makefile | 2 obj-$(CONFIG_IMX_SCMI_BBM_EXT) += imx-sm-bbm.o
|
| H A D | Kconfig | 13 module will be called imx-sm-bbm.
|
| /linux/drivers/mtd/nand/raw/ |
| H A D | sunxi_nand.c | 768 static void sunxi_nfc_randomize_bbm(struct nand_chip *nand, int page, u8 *bbm) in sunxi_nfc_randomize_bbm() argument 772 bbm[0] ^= state; in sunxi_nfc_randomize_bbm() 773 bbm[1] ^= sunxi_nfc_randomizer_step(state, 8); in sunxi_nfc_randomize_bbm() 824 int step, bool bbm, int page) in sunxi_nfc_hw_ecc_get_prot_oob_bytes() argument 831 if (bbm && (nand->options & NAND_NEED_SCRAMBLING)) in sunxi_nfc_hw_ecc_get_prot_oob_bytes() 884 bool bbm, int page) in sunxi_nfc_hw_ecc_set_prot_oob_bytes() argument 890 if (bbm && (nand->options & NAND_NEED_SCRAMBLING)) { in sunxi_nfc_hw_ecc_set_prot_oob_bytes() 955 bool bbm, bool oob_required, int page) in sunxi_nfc_hw_ecc_read_chunk() argument 1030 bbm, page); in sunxi_nfc_hw_ecc_read_chunk() 1201 int *cur_off, bool bbm, in sunxi_nfc_hw_ecc_write_chunk() argument [all …]
|
| /linux/include/linux/mtd/ |
| H A D | onenand.h | 135 void *bbm; member
|
| /linux/drivers/input/keyboard/ |
| H A D | Makefile | 33 obj-$(CONFIG_KEYBOARD_IMX_BBM_SCMI) += imx-sm-bbm-key.o
|
| H A D | Kconfig | 461 module will be called scmi-imx-bbm-key.
|
| /linux/drivers/rtc/ |
| H A D | Makefile | 81 obj-$(CONFIG_RTC_DRV_IMX_BBM_SCMI) += rtc-imx-sm-bbm.o
|
| H A D | Kconfig | 1914 module will be called rtc-imx-sm-bbm.
|