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()
336 int blk_shift; member1949 softc->blk_shift = in saioctl()1954 softc->blk_shift = 0; in saioctl()1966 softc->blk_shift = 0; in saioctl()2689 if (softc->blk_shift != 0) { in sastart()2690 length = length >> softc->blk_shift; in sastart()2839 if (softc->blk_shift != 0) { in sadone()2841 softc->blk_shift; in sadone()3233 softc->blk_shift = in samount()3238 softc->blk_shift = 0; in samount()[all …]