Searched refs:blk_shift (Results 1 – 5 of 5) sorted by relevance
210 cg->blk_shift = shift; in init_chip_geom()214 cg->blk_mask = ((1 << shift) - 1) << cg->blk_shift; in init_chip_geom()220 cg->lun_shift = shift + cg->blk_shift; in init_chip_geom()227 cg->lun_shift, cg->blk_shift); in init_chip_geom()246 *blk = (row & cg->blk_mask) >> cg->blk_shift; in nand_row_to_blkpg()268 *row |= ((block << cg->blk_shift) & cg->blk_mask); in page_to_row()
296 uint8_t blk_shift; member
678 row = (block << chip->chip_geom.blk_shift) & in generic_erase_block()714 row = (block << chip->chip_geom.blk_shift) & in generic_erase_block_intlv()
168 vhba_rwparm(uint8_t *cdb, uint64_t *offset, uint32_t *tl, uint64_t nblks, uint32_t blk_shift) in vhba_rwparm() argument228 *tl = cnt << blk_shift; in vhba_rwparm()229 *offset = lba << blk_shift; in vhba_rwparm()
395 int blk_shift; member2014 softc->blk_shift = in saioctl()2019 softc->blk_shift = 0; in saioctl()2031 softc->blk_shift = 0; in saioctl()2874 if (softc->blk_shift != 0) { in sastart()2875 length = length >> softc->blk_shift; in sastart()3141 if (softc->blk_shift != 0) { in sadone()3143 softc->blk_shift; in sadone()3542 softc->blk_shift = in samount()3547 softc->blk_shift = 0; in samount()[all …]