Home
last modified time | relevance | path

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

/OK3568_Linux_fs/external/recovery/update_engine/
H A Dupdate.c141 … update_cmd[i].flash_offset = (long long)rkimage_hdr.item[j].flash_offset * SECTOR_SIZE; in RK_ota_set_partition()
237 static int ota_recovery_cmds (long long flash_offset, const char *dest_path) in ota_recovery_cmds() argument
247 …LOGI("[%s:%d] parameter flash offset %#llx dest path %s\n", __func__, __LINE__, flash_offset, dest… in ota_recovery_cmds()
265 sprintf(data_buf, "nandwrite -p /dev/mtd0 -s %#llx %s; \n", flash_offset, dest_path); in ota_recovery_cmds()
277 if ( !(flash_offset % dd_bs) ) { in ota_recovery_cmds()
278 dd_seek = flash_offset / dd_bs; in ota_recovery_cmds()
280flash_offset, j, dd_bs, dd_seek, (dd_bs * dd_seek == flash_offset) ? "YES" : "NO" ); in ota_recovery_cmds()
284 dd_seek = flash_offset; in ota_recovery_cmds()
287 …d seek=%lld; \t###flash offset [%#10llx] \n", flash_name, dest_path, dd_bs, dd_seek, flash_offset); in ota_recovery_cmds()
355 LOGI("update_cmd.flash_offset = %lld.\n", update_cmd[i].flash_offset); in RK_ota_start()
[all …]
H A Dflash_image.c88 static int mtd_write(char *src_path, long long offset, long long size, long long flash_offset, char… in mtd_write() argument
90 …te %s, offset = %#llx size = %#llx flash_offset = %lld.\n", dest_path, offset, size, flash_offset); in mtd_write()
126 static int block_write(char *src_path, long long offset, long long size, long long flash_offset, ch… in block_write() argument
275 pcmd->flash_offset, pcmd->dest_path); in flash_normal()
278 pcmd->flash_offset, pcmd->dest_path); in flash_normal()
297 LOGI("pcmd->flash_offset = %lld.\n", pcmd->flash_offset); in flash_normal()
298 ret = mtd_write(src_path, pcmd->offset, pcmd->size, pcmd->flash_offset, pcmd->dest_path); in flash_normal()
748 pcmd->flash_offset = block_size; in flash_bootloader()
751 pcmd->flash_offset = 32 * 1024; in flash_bootloader()
H A Dupdate.h28 long long flash_offset; member
H A Drkimage.h49 unsigned int flash_offset; member
H A Drkimage.c58 LOGD("flash_offset = %d\n", pitem->flash_offset); in display_item()
/OK3568_Linux_fs/kernel/fs/jffs2/
H A Dmalloc.c192 ret[i].flash_offset = REF_EMPTY_NODE; in jffs2_alloc_refblock()
195 ret[i].flash_offset = REF_LINK_NODE; in jffs2_alloc_refblock()
215 if (ref && ref->flash_offset != REF_EMPTY_NODE) in jffs2_prealloc_raw_node_refs()
225 if (ref->flash_offset == REF_LINK_NODE) { in jffs2_prealloc_raw_node_refs()
236 nr, jeb->offset, jeb->last_node, jeb->last_node->flash_offset, in jffs2_prealloc_raw_node_refs()
H A Dnodelist.h88 uint32_t flash_offset; member
106 if (ref->flash_offset == REF_LINK_NODE) { in ref_next()
113 if (ref->flash_offset == REF_EMPTY_NODE) in ref_next()
136 #define ref_flags(ref) ((ref)->flash_offset & 3)
137 #define ref_offset(ref) ((ref)->flash_offset & ~3)
138 #define ref_obsolete(ref) (((ref)->flash_offset & 3) == REF_OBSOLETE)
139 #define mark_ref_normal(ref) do { (ref)->flash_offset = ref_offset(ref) | REF_NORMAL; } while(0)
H A Dnodelist.c96 frag->node->raw->flash_offset = ref_offset(frag->node->raw) | REF_PRISTINE; in jffs2_truncate_fragtree()
512 if (this[REFS_PER_BLOCK].flash_offset == REF_LINK_NODE) in jffs2_free_raw_node_refs()
597 dbg_noderef("Last node at %p is (%08x,%p)\n", ref, ref->flash_offset, in jffs2_link_node_ref()
600 while (ref->flash_offset != REF_EMPTY_NODE) { in jffs2_link_node_ref()
601 if (ref->flash_offset == REF_LINK_NODE) in jffs2_link_node_ref()
608 ref->flash_offset, ofs, ref->next_in_ino, len); in jffs2_link_node_ref()
610 ref->flash_offset = ofs; in jffs2_link_node_ref()
703 jeb = &c->blocks[ref->flash_offset / c->sector_size]; in __ref_totlen()
728 jeb = &c->blocks[ref->flash_offset / c->sector_size]; in __jffs2_ref_totlen()
H A Dnodemgmt.c597 blocknr = ref->flash_offset / c->sector_size; in jffs2_mark_node_obsolete()
600 ref->flash_offset); in jffs2_mark_node_obsolete()
624 ref->flash_offset, jeb->used_size); in jffs2_mark_node_obsolete()
635 ref->flash_offset, jeb->used_size); in jffs2_mark_node_obsolete()
673 ref->flash_offset = ref_offset(ref) | REF_OBSOLETE; in jffs2_mark_node_obsolete()
H A Derase.c227 if (SECTOR_ADDR((*prev)->flash_offset) == jeb->offset) { in jffs2_remove_node_refs_from_ino_list()
298 if (ref->flash_offset == REF_LINK_NODE) { in jffs2_free_jeb_node_refs()
304 if (ref->flash_offset != REF_EMPTY_NODE && ref->next_in_ino) in jffs2_free_jeb_node_refs()
H A Dreadinode.c114 jeb = &c->blocks[ref->flash_offset / c->sector_size]; in check_node_data()
120 ref->flash_offset |= REF_PRISTINE; in check_node_data()
617 jeb = &c->blocks[ref->flash_offset / c->sector_size]; in read_direntry()
625 ref->flash_offset = ref_offset(ref) | dirent_node_state(rd); in read_direntry()
819 jeb = &c->blocks[ref->flash_offset / c->sector_size]; in read_dnode()
827 ref->flash_offset = ref_offset(ref) | REF_NORMAL; in read_dnode()
H A Dgc.c938 if (SECTOR_ADDR(raw->flash_offset) == SECTOR_ADDR(fd->raw->flash_offset)) in jffs2_garbage_collect_deletion_dirent()
1230 jeb = &c->blocks[raw->flash_offset / c->sector_size]; in jffs2_garbage_collect_dnode()
1286 jeb = &c->blocks[raw->flash_offset / c->sector_size]; in jffs2_garbage_collect_dnode()
H A Dxattr.c191 raw->flash_offset = ref_offset(raw) | ((xd->node==raw) ? REF_PRISTINE : REF_NORMAL); in do_verify_xattr_datum()
497 raw->flash_offset = ref_offset(raw) | ((ref->node==raw) ? REF_PRISTINE : REF_NORMAL); in verify_xattr_ref()
1311 raw->flash_offset = ref_offset(raw) in jffs2_verify_xattr()
H A DREADME.Locking85 case. Any changes to _valid_ nodes (i.e. ->flash_offset & 1 == 0) in
H A Dsummary.c543 *pseudo_random += ref->node->flash_offset; in jffs2_sum_process_sum_data()
H A Dwbuf.c541 raw->flash_offset = ref_offset(raw) | REF_OBSOLETE; in jffs2_wbuf_recover()
/OK3568_Linux_fs/u-boot/board/freescale/s32v234evb/
H A Ds32v234evb.cfg22 * qspi: flash_offset: 0x1000
23 * sd/mmc: flash_offset: 0x1000
/OK3568_Linux_fs/u-boot/tools/
H A Dimximage.c301 uint32_t entry_point, uint32_t flash_offset) in set_imx_hdr_v1() argument
313 hdr_base = entry_point - imximage_init_loadsize + flash_offset; in set_imx_hdr_v1()
314 fhdr_v1->app_dest_ptr = hdr_base - flash_offset; in set_imx_hdr_v1()
327 uint32_t entry_point, uint32_t flash_offset) in set_imx_hdr_v2() argument
343 flash_offset; in set_imx_hdr_v2()
368 flash_offset + sizeof(flash_header_v2_t) + in set_imx_hdr_v2()
373 fhdr_v2->self = imximage_iram_free_start + flash_offset; in set_imx_hdr_v2()
418 next_hdr_v2->boot_data.start = hdr_base - flash_offset; in set_imx_hdr_v2()
/OK3568_Linux_fs/external/rkupdate/
H A DRKAndroidDevice.cpp15 unsigned int flash_offset;// ��д��Flash�е�λ��(��sectorΪ��λ) variable
1378 if (rkImageHead.item[i].flash_offset != 0xFFFFFFFF) in DownloadImage()
1389 m_dwBackupOffset = rkImageHead.item[i].flash_offset; in DownloadImage()
1493 if (rkImageHead.item[i].flash_offset == 0xFFFFFFFF) in DownloadImage()
1645 if (rkImageHead.item[i].flash_offset == 0xFFFFFFFF) in DownloadImage()
1824 if (rkImageHead.item[i].flash_offset != 0xFFFFFFFF) in UpgradePartition()
1828 if (rkImageHead.item[*iter].flash_offset > rkImageHead.item[i].flash_offset) in UpgradePartition()
1853 … dwFlagSector = rkImageHead.item[i].flash_offset + rkImageHead.item[i].part_size - 4; in UpgradePartition()
1862 m_dwBackupOffset = rkImageHead.item[i].flash_offset; in UpgradePartition()
1932 if ((bSameFw) && (uiFlag >= rkImageHead.item[vecUpgradePartition[i]].flash_offset)) in UpgradePartition()
[all …]
H A DRKAndroidDevice.h146 unsigned int flash_offset;// ��д��Flash�е�λ��(��sectorΪ��λ) member
/OK3568_Linux_fs/kernel/drivers/scsi/qla4xxx/
H A Dql4_83xx.c165 uint32_t flash_offset; in qla4_83xx_lockless_flash_read_u32() local
169 flash_offset = addr & (QLA83XX_FLASH_SECTOR_SIZE - 1); in qla4_83xx_lockless_flash_read_u32()
187 if ((flash_offset + (u32_word_count * sizeof(uint32_t))) > in qla4_83xx_lockless_flash_read_u32()
204 flash_offset = flash_offset + 4; in qla4_83xx_lockless_flash_read_u32()
206 if (flash_offset > (QLA83XX_FLASH_SECTOR_SIZE - 1)) { in qla4_83xx_lockless_flash_read_u32()
216 flash_offset = 0; in qla4_83xx_lockless_flash_read_u32()
/OK3568_Linux_fs/external/rktoolkit/update_recv/
H A DDefineHeader.h72 unsigned int flash_offset;// ��д��Flash�е�λ��(��sectorΪ��λ) member
/OK3568_Linux_fs/u-boot/include/
H A Dimximage.h198 uint32_t entry_point, uint32_t flash_offset);
/OK3568_Linux_fs/kernel/drivers/scsi/qla2xxx/
H A Dqla_nx2.c1035 uint32_t flash_offset; in qla8044_lockless_flash_read_u32() local
1039 flash_offset = addr & (QLA8044_FLASH_SECTOR_SIZE - 1); in qla8044_lockless_flash_read_u32()
1059 if ((flash_offset + (u32_word_count * sizeof(uint32_t))) > in qla8044_lockless_flash_read_u32()
1074 flash_offset = flash_offset + 4; in qla8044_lockless_flash_read_u32()
1075 if (flash_offset > (QLA8044_FLASH_SECTOR_SIZE - 1)) { in qla8044_lockless_flash_read_u32()
1086 flash_offset = 0; in qla8044_lockless_flash_read_u32()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_83xx_hw.c2643 u32 word, range, flash_offset, addr = flash_addr, ret; in qlcnic_83xx_lockless_flash_read32() local
2647 flash_offset = addr & (QLCNIC_FLASH_SECTOR_SIZE - 1); in qlcnic_83xx_lockless_flash_read32()
2656 range = flash_offset + (count * sizeof(u32)); in qlcnic_83xx_lockless_flash_read32()
2671 flash_offset = flash_offset + 4; in qlcnic_83xx_lockless_flash_read32()
2673 if (flash_offset > (QLCNIC_FLASH_SECTOR_SIZE - 1)) { in qlcnic_83xx_lockless_flash_read32()
2679 flash_offset = 0; in qlcnic_83xx_lockless_flash_read32()