Lines Matching refs:density
340 int density = dev_id >> ONENAND_DEVICE_DENSITY_SHIFT; in onenand_get_density() local
341 return (density & ONENAND_DEVICE_DENSITY_MASK); in onenand_get_density()
3169 int density; in onenand_otp_walk() local
3174 density = onenand_get_density(this->device_id); in onenand_otp_walk()
3175 if (density < ONENAND_DEVICE_DENSITY_512Mb) in onenand_otp_walk()
3378 unsigned int density, process, numbufs; in onenand_check_features() local
3381 density = onenand_get_density(this->device_id); in onenand_check_features()
3386 switch (density) { in onenand_check_features()
3460 int vcc, demuxed, ddp, density, flexonenand; in onenand_print_device_info() local
3465 density = onenand_get_density(device); in onenand_print_device_info()
3471 (16 << density), in onenand_print_device_info()
3556 int die, i, eraseshift, density; in flexonenand_get_size() local
3560 density = onenand_get_density(this->device_id); in flexonenand_get_size()
3561 blksperdie = ((loff_t)(16 << density) << 20) >> (this->erase_shift); in flexonenand_get_size()
3685 int ret, density, blksperdie, old, new, thisboundary; in flexonenand_set_boundary() local
3696 density = onenand_get_density(this->device_id); in flexonenand_set_boundary()
3697 blksperdie = ((16 << density) << 20) >> this->erase_shift; in flexonenand_set_boundary()
3823 int density; in onenand_probe() local
3843 density = onenand_get_density(dev_id); in onenand_probe()
3858 this->chipsize = (16 << density) << 20; in onenand_probe()