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()
3037 int density; in onenand_otp_walk() local
3042 density = onenand_get_density(this->device_id); in onenand_otp_walk()
3043 if (density < ONENAND_DEVICE_DENSITY_512Mb) in onenand_otp_walk()
3246 unsigned int density, process, numbufs; in onenand_check_features() local
3248 /* Lock scheme depends on density and process */ in onenand_check_features()
3249 density = onenand_get_density(this->device_id); in onenand_check_features()
3254 switch (density) { in onenand_check_features()
3334 int vcc, demuxed, ddp, density, flexonenand; in onenand_print_device_info() local
3339 density = onenand_get_density(device); in onenand_print_device_info()
3345 (16 << density), in onenand_print_device_info()
3430 int die, i, eraseshift, density; in flexonenand_get_size() local
3434 density = onenand_get_density(this->device_id); in flexonenand_get_size()
3435 blksperdie = ((loff_t)(16 << density) << 20) >> (this->erase_shift); in flexonenand_get_size()
3559 int ret, density, blksperdie, old, new, thisboundary; in flexonenand_set_boundary() local
3570 density = onenand_get_density(this->device_id); in flexonenand_set_boundary()
3571 blksperdie = ((16 << density) << 20) >> this->erase_shift; in flexonenand_set_boundary()
3697 int density; in onenand_probe() local
3717 density = onenand_get_density(dev_id); in onenand_probe()
3734 this->chipsize = (16 << density) << 20; in onenand_probe()
3757 /* Set density mask. it is used for DDP */ in onenand_probe()