Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/mtd/
Dssfdc.c62 static const chs_entry_t chs_table[] = { variable
81 while (chs_table[k].size > 0 && size > chs_table[k].size) in get_chs()
84 if (chs_table[k].size > 0) { in get_chs()
86 *cyl = chs_table[k].cyl; in get_chs()
88 *head = chs_table[k].head; in get_chs()
90 *sec = chs_table[k].sec; in get_chs()
Dsm_ftl.c541 static const struct chs_entry chs_table[] = { variable
643 for (i = 0 ; i < ARRAY_SIZE(chs_table) ; i++) { in sm_get_media_info()
644 if (chs_table[i].size == size_in_megs) { in sm_get_media_info()
645 ftl->cylinders = chs_table[i].cyl; in sm_get_media_info()
646 ftl->heads = chs_table[i].head; in sm_get_media_info()
647 ftl->sectors = chs_table[i].sec; in sm_get_media_info()
/linux-5.19.10/drivers/memstick/core/
Dms_block.c1686 static const struct chs_entry chs_table[] = { variable
1751 for (i = 0; chs_table[i].size; i++) { in msb_init_card()
1753 if (chs_table[i].size != raw_size_in_megs) in msb_init_card()
1756 msb->geometry.cylinders = chs_table[i].cyl; in msb_init_card()
1757 msb->geometry.heads = chs_table[i].head; in msb_init_card()
1758 msb->geometry.sectors = chs_table[i].sec; in msb_init_card()