Searched refs:bbm (Results 1 – 10 of 10) 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 …]
|
/linux/drivers/virtio/ |
H A D | virtio_mem.c | 223 } bbm; 228 * sbm.sb_states, bbm.bb_count, and bbm.bb_states 346 return addr / vm->bbm.bb_size; 355 return bb_id * vm->bbm.bb_size; 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 in virtio_mem_bbm_set_bb_state() 221 } bbm; global() member [all...] |
/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 | 660 static void sunxi_nfc_randomize_bbm(struct nand_chip *nand, int page, u8 *bbm) in sunxi_nfc_randomize_bbm() argument 664 bbm[0] ^= state; in sunxi_nfc_randomize_bbm() 665 bbm[1] ^= sunxi_nfc_randomizer_step(state, 8); in sunxi_nfc_randomize_bbm() 716 int step, bool bbm, int page) in sunxi_nfc_hw_ecc_get_prot_oob_bytes() argument 724 if (bbm && (nand->options & NAND_NEED_SCRAMBLING)) in sunxi_nfc_hw_ecc_get_prot_oob_bytes() 730 bool bbm, int page) in sunxi_nfc_hw_ecc_set_prot_oob_bytes() argument 736 if (bbm && (nand->options & NAND_NEED_SCRAMBLING)) { in sunxi_nfc_hw_ecc_set_prot_oob_bytes() 800 bool bbm, bool oob_required, int page) in sunxi_nfc_hw_ecc_read_chunk() argument 867 bbm, page); in sunxi_nfc_hw_ecc_read_chunk() 1033 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 | 34 obj-$(CONFIG_KEYBOARD_IMX_BBM_SCMI) += imx-sm-bbm-key.o
|
H A D | Kconfig | 466 module will be called scmi-imx-bbm-key.
|
/linux/drivers/rtc/ |
H A D | Makefile | 79 obj-$(CONFIG_RTC_DRV_IMX_BBM_SCMI) += rtc-imx-sm-bbm.o
|
H A D | Kconfig | 1860 module will be called rtc-imx-sm-bbm.
|