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