Home
last modified time | relevance | path

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

/linux-2.6.39/arch/cris/arch-v10/drivers/
Daxisflashmap.c274 struct partitiontable_head *ptable_head = NULL; in init_axis_flash() local
292 ptable_head = (struct partitiontable_head *)(FLASH_CACHED_ADDR + in init_axis_flash()
298 if (ptable_head && (ptable_head->magic == PARTITION_TABLE_MAGIC) in init_axis_flash()
299 && (ptable_head->size < in init_axis_flash()
302 && (*(unsigned long*)((void*)ptable_head + sizeof(*ptable_head) + in init_axis_flash()
303 ptable_head->size - in init_axis_flash()
312 ((unsigned long)ptable_head + sizeof(*ptable_head) + in init_axis_flash()
313 ptable_head->size); in init_axis_flash()
319 ((unsigned long)ptable_head + sizeof(*ptable_head)); in init_axis_flash()
330 ptable_ok = (csum == ptable_head->checksum); in init_axis_flash()
[all …]
/linux-2.6.39/arch/cris/arch-v32/drivers/
Daxisflashmap.c311 struct partitiontable_head *ptable_head = NULL; in init_axis_flash() local
418 ptable_head = &((struct partitiontable *) page)->head; in init_axis_flash()
445 if (ptable_head && (ptable_head->magic == PARTITION_TABLE_MAGIC) in init_axis_flash()
446 && (ptable_head->size < in init_axis_flash()
449 && (*(unsigned long*)((void*)ptable_head + sizeof(*ptable_head) + in init_axis_flash()
450 ptable_head->size - in init_axis_flash()
458 ((unsigned long)ptable_head + sizeof(*ptable_head) + in init_axis_flash()
459 ptable_head->size); in init_axis_flash()
465 ((unsigned long)ptable_head + sizeof(*ptable_head)); in init_axis_flash()
476 ptable_ok = (csum == ptable_head->checksum); in init_axis_flash()
[all …]