Lines Matching defs:entry

857 	emlxs_be2_flash_entry_t *entry;
990 entry = &flash_dir->entry[i];
992 if ((entry->type == 0) ||
993 (entry->type == (uint32_t)-1) ||
994 (entry->image_size == 0)) {
998 flash_dir->entry[i].type =
999 SWAP32(flash_dir->entry[i].type);
1000 flash_dir->entry[i].offset =
1001 SWAP32(flash_dir->entry[i].offset);
1002 flash_dir->entry[i].pad_size =
1003 SWAP32(flash_dir->entry[i].pad_size);
1004 flash_dir->entry[i].image_size =
1005 SWAP32(flash_dir->entry[i].image_size);
1006 flash_dir->entry[i].checksum =
1007 SWAP32(flash_dir->entry[i].checksum);
1008 flash_dir->entry[i].entry_point =
1009 SWAP32(flash_dir->entry[i].entry_point);
1010 flash_dir->entry[i].resv0 =
1011 SWAP32(flash_dir->entry[i].resv0);
1012 flash_dir->entry[i].resv1 =
1013 SWAP32(flash_dir->entry[i].resv1);
1042 entry = &flash_dir->entry[i];
1044 if ((entry->type == 0) ||
1045 (entry->type == (uint32_t)-1) ||
1046 (entry->image_size == 0)) {
1050 switch (entry->type) {
1094 entry->type);
1100 file->image_size = entry->image_size;
1101 image_size = BE_SWAP32(entry->image_size);
1104 file->image_offset = entry->offset;
1105 file->block_size = entry->pad_size;
1106 file->block_crc = entry->checksum;
1107 file->load_address = entry->entry_point;
1110 file->image_offset = entry->offset +
1113 /* Get entry block size and crc */
1156 /* Automatically create a backup file entry for firmware */
1230 emlxs_be3_flash_entry_t *entry;
1363 entry = &flash_dir->entry[i];
1365 if ((entry->type == 0) ||
1366 (entry->type == (uint32_t)-1) ||
1367 (entry->image_size == 0)) {
1371 flash_dir->entry[i].type =
1372 SWAP32(flash_dir->entry[i].type);
1373 flash_dir->entry[i].offset =
1374 SWAP32(flash_dir->entry[i].offset);
1375 flash_dir->entry[i].block_size =
1376 SWAP32(flash_dir->entry[i].block_size);
1377 flash_dir->entry[i].image_size =
1378 SWAP32(flash_dir->entry[i].image_size);
1379 flash_dir->entry[i].checksum =
1380 SWAP32(flash_dir->entry[i].checksum);
1381 flash_dir->entry[i].entry_point =
1382 SWAP32(flash_dir->entry[i].entry_point);
1383 flash_dir->entry[i].resv0 =
1384 SWAP32(flash_dir->entry[i].resv0);
1385 flash_dir->entry[i].resv1 =
1386 SWAP32(flash_dir->entry[i].resv1);
1418 entry = &flash_dir->entry[i];
1420 if ((entry->type == 0) ||
1421 (entry->type == (uint32_t)-1) ||
1422 (entry->image_size == 0)) {
1426 switch (entry->type) {
1483 entry->type);
1489 file->image_size = entry->image_size;
1492 file->image_offset = entry->offset;
1493 file->block_size = entry->block_size;
1494 file->block_crc = entry->checksum;
1495 file->load_address = entry->entry_point;
1497 file->image_offset = entry->offset +
1499 file->block_size = entry->block_size;
1523 /* Automatically create a backup file entry for firmware */
3719 "Unable to delete load entry: Mailbox cmd=%x status=%x",
3987 /* update next current load entry address */
5773 /* Make sure EROM entry has copy of boot bios entry */