Home
last modified time | relevance | path

Searched refs:chs_table (Results 1 – 2 of 2) sorted by relevance

/linux-2.6.39/drivers/mtd/
Dssfdc.c65 static const chs_entry_t chs_table[] = { variable
84 while (chs_table[k].size > 0 && size > chs_table[k].size) in get_chs()
87 if (chs_table[k].size > 0) { in get_chs()
89 *cyl = chs_table[k].cyl; in get_chs()
91 *head = chs_table[k].head; in get_chs()
93 *sec = chs_table[k].sec; in get_chs()
Dsm_ftl.c553 static const struct chs_entry chs_table[] = { variable
653 for (i = 0 ; i < ARRAY_SIZE(chs_table) ; i++) { in sm_get_media_info()
654 if (chs_table[i].size == size_in_megs) { in sm_get_media_info()
655 ftl->cylinders = chs_table[i].cyl; in sm_get_media_info()
656 ftl->heads = chs_table[i].head; in sm_get_media_info()
657 ftl->sectors = chs_table[i].sec; in sm_get_media_info()