Lines Matching full:density
361 * onenand_get_density - [DEFAULT] Get OneNAND density
364 * Get OneNAND density from device ID
368 int density = dev_id >> ONENAND_DEVICE_DENSITY_SHIFT; in onenand_get_density() local
369 return (density & ONENAND_DEVICE_DENSITY_MASK); in onenand_get_density()
3044 int density; in onenand_otp_walk() local
3049 density = onenand_get_density(this->device_id); in onenand_otp_walk()
3050 if (density < ONENAND_DEVICE_DENSITY_512Mb) in onenand_otp_walk()
3254 unsigned int density, process, numbufs; in onenand_check_features() local
3256 /* Lock scheme depends on density and process */ in onenand_check_features()
3257 density = onenand_get_density(this->device_id); in onenand_check_features()
3262 switch (density) { in onenand_check_features()
3342 int vcc, demuxed, ddp, density, flexonenand; in onenand_print_device_info() local
3347 density = onenand_get_density(device); in onenand_print_device_info()
3353 (16 << density), in onenand_print_device_info()
3438 int die, i, eraseshift, density; in flexonenand_get_size() local
3442 density = onenand_get_density(this->device_id); in flexonenand_get_size()
3443 blksperdie = ((loff_t)(16 << density) << 20) >> (this->erase_shift); in flexonenand_get_size()
3566 int ret, density, blksperdie, old, new, thisboundary; in flexonenand_set_boundary() local
3577 density = onenand_get_density(this->device_id); in flexonenand_set_boundary()
3578 blksperdie = ((16 << density) << 20) >> this->erase_shift; in flexonenand_set_boundary()
3704 int density; in onenand_probe() local
3724 density = onenand_get_density(dev_id); in onenand_probe()
3741 this->chipsize = (16 << density) << 20; in onenand_probe()
3764 /* Set density mask. it is used for DDP */ in onenand_probe()