Searched refs:MEDIA_INFO (Results 1 – 1 of 1) sorted by relevance
117 #define MEDIA_INFO(us) ((struct alauda_info *)us->extra)->port[MEDIA_PORT(us)] macro425 MEDIA_INFO(us).capacity = 1 << media_info->chipshift; in alauda_init_media()427 MEDIA_INFO(us).capacity >> 20); in alauda_init_media()429 MEDIA_INFO(us).pageshift = media_info->pageshift; in alauda_init_media()430 MEDIA_INFO(us).blockshift = media_info->blockshift; in alauda_init_media()431 MEDIA_INFO(us).zoneshift = media_info->zoneshift; in alauda_init_media()433 MEDIA_INFO(us).pagesize = 1 << media_info->pageshift; in alauda_init_media()434 MEDIA_INFO(us).blocksize = 1 << media_info->blockshift; in alauda_init_media()435 MEDIA_INFO(us).zonesize = 1 << media_info->zoneshift; in alauda_init_media()437 MEDIA_INFO(us).uzonesize = ((1 << media_info->zoneshift) / 128) * 125; in alauda_init_media()[all …]