Home
last modified time | relevance | path

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

/bsp/allwinner/libraries/drivers/sdmmc/
A Ddrv_sdmmc.c69 struct rt_partition *part_table; in _register_blk_part_device() local
91 part_table = rt_malloc(sizeof(struct rt_partition) * alloc_part_count); in _register_blk_part_device()
92 if (!part_table) in _register_blk_part_device()
115 part_table[0].offset = 8 * 1024 * 1024; in _register_blk_part_device()
116part_table[0].size = dev_sdmmc->geometry.bytes_per_sector * dev_sdmmc->geometry.sector_count - par… in _register_blk_part_device()
117 part_table[0].flags = PARTITION_WRITEABLE; in _register_blk_part_device()
137 part_table = new_part_table; in _register_blk_part_device()
150 part_table[part_count].flags = PARTITION_WRITEABLE; in _register_blk_part_device()
158 ret = rt_partition_init(dev_name, part_table, part_count); in _register_blk_part_device()
167 if (part_table != NULL) in _register_blk_part_device()
[all …]

Completed in 5 milliseconds