Home
last modified time | relevance | path

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

12

/external/u-boot/board/freescale/m5253demo/
Dflash.c110 printf("MB in %d Sectors\n", info->sector_count); in flash_print_info()
113 info->size >> 10, info->sector_count); in flash_print_info()
116 for (i = 0; i < info->sector_count; ++i) { in flash_print_info()
144 info->sector_count = 0; in flash_get_size()
160 info->sector_count = 0; in flash_get_size()
162 info->sector_count = CONFIG_SYS_SST_SECT; in flash_get_size()
168 if (info->sector_count > CONFIG_SYS_MAX_FLASH_SECT) { in flash_get_size()
170 info->sector_count, CONFIG_SYS_MAX_FLASH_SECT); in flash_get_size()
171 info->sector_count = CONFIG_SYS_MAX_FLASH_SECT; in flash_get_size()
/external/u-boot/cmd/
Dflash.c69 if (ep == str || *ep != '\0' || first >= fp->sector_count) in abbrev_spec()
75 last < first || last >= fp->sector_count) in abbrev_spec()
102 for (i = 0; i < info->sector_count && !found; ++i) { in flash_sect_roundb()
104 if (i == info->sector_count - 1) { in flash_sect_roundb()
215 s_end = info->sector_count - 1; /* last sector */ in flash_fill_sect_ranges()
218 for (sect=0; sect < info->sector_count; ++sect) { in flash_fill_sect_ranges()
319 rcode = flash_erase (info, 0, info->sector_count-1); in do_flerase()
373 rcode = flash_erase (info, 0, info->sector_count-1); in do_flerase()
414 (s_last[bank] == info->sector_count) ? in flash_sect_erase()
472 for (i=0; i<info->sector_count; ++i) { in do_protect()
[all …]
Darmflash.c69 if (!info->sector_count) { in parse_bank()
77 for (i = 0; i < info->sector_count; ++i) { in parse_bank()
84 if (i == info->sector_count-1) in parse_bank()
Djffs2.c270 for (i = 0; i < flash->sector_count; i++) { in get_part_sector_size_nor()
275 if (i == flash->sector_count - 1) { in get_part_sector_size_nor()
/external/u-boot/common/
Dflash.c34 if (!info || info->sector_count == 0 || info->size == 0 || to < from) { in flash_protect()
38 s_end = info->sector_count - 1; /* index of last sector */ in flash_protect()
54 for (i=0; i<info->sector_count; ++i) { in flash_protect()
143 short s_end = info->sector_count - 1; in flash_write()
144 for (i=0; i<info->sector_count; ++i) { in flash_write()
Dupdate.c121 if (info->sector_count == 0) in update_flash_protect()
139 for (i = 0; i < info->sector_count; i++) { in update_flash_protect()
/external/u-boot/drivers/mtd/
Dst_smi.c155 info->sector_count = in flash_get_size()
311 sect_add = sector * (info->size / info->sector_count); in smi_sector_erase()
456 for (i = 1; i < flash_info[j].sector_count; i++) in flash_init()
459 flash_info->size / flash_info->sector_count; in flash_init()
481 info->size >> 20, info->sector_count); in flash_print_info()
484 info->size >> 10, info->sector_count); in flash_print_info()
487 for (i = 0; i < info->sector_count; ++i) { in flash_print_info()
496 size = (info->size) / (info->sector_count); in flash_print_info()
Dpic32_flash.c168 sect_end = info->start[sect] + info->size / info->sector_count; in flash_erase()
317 info->size >> 20, info->sector_count); in flash_print_info()
320 for (i = 0; i < info->sector_count; ++i) { in flash_print_info()
357 info->sector_count = CONFIG_SYS_MAX_FLASH_SECT; in pic32_flash_bank_init()
361 sect_size = info->size / info->sector_count; in pic32_flash_bank_init()
362 for (sect = 0; sect < info->sector_count; sect++) { in pic32_flash_bank_init()
Dcfi_mtd.c32 for (sect = 0; sect < fi->sector_count; sect++) { in cfi_mtd_erase()
36 if (sect < fi->sector_count - 1) { in cfi_mtd_erase()
145 for (sect = 0; sect < fi->sector_count; sect++) { in cfi_mtd_set_erasesize()
169 for (sect = 0; sect < fi->sector_count; sect++) { in cfi_mtd_set_erasesize()
Dstm32_flash.c40 flash_info[i].sector_count = CONFIG_SYS_MAX_FLASH_SECT; in flash_init()
66 info->size >> 20, info->sector_count); in flash_print_info()
69 for (i = 0; i < info->sector_count; ++i) { in flash_print_info()
Daltera_qspi.c68 info->size >> 20, info->sector_count); in flash_print_info()
337 flash->sector_count = mtd->size / mtd->erasesize; in altera_qspi_probe()
340 for (i = 1; i < flash->sector_count; i++) in altera_qspi_probe()
Dcfi_flash.c199 if (sect != (info->sector_count - 1)) in flash_sector_size()
765 if (info != saved_info || sector >= info->sector_count) in find_sector()
768 while ((sector < info->sector_count - 1) && in find_sector()
1219 info->size >> 10, info->sector_count); in flash_print_info()
1222 info->size >> 20, info->sector_count); in flash_print_info()
1268 for (i = 0; i < info->sector_count; ++i) { in flash_print_info()
1593 for (i = 0; i < info->sector_count; i++) { in flash_real_protect()
2258 info->sector_count = sect_cnt; in flash_get_size()
2436 for (k = 1; k < flash_info[i].sector_count; k++) in flash_init()
/external/u-boot/arch/arm/mach-at91/arm926ejs/
Deflash.c102 flash_info[0].sector_count = nlocks; in flash_init()
117 for (i=0; i<flash_info[0].sector_count; i++) { in flash_init()
136 printf("%d Sectors\n", info->sector_count); in flash_print_info()
139 for (i=0; i<info->sector_count; ++i) { in flash_print_info()
181 for (i=0; i<info->sector_count; i++) { in flash_real_protect()
/external/u-boot/include/
Dfis.h25 u8 sector_count; member
71 u8 sector_count; member
109 u8 sector_count; member
/external/u-boot/board/cobra5272/
Dflash.c39 info->size >> 20, info->sector_count); in flash_print_info()
42 for (i = 0; i < info->sector_count; i++) { in flash_print_info()
68 flash_info[i].sector_count = CONFIG_SYS_MAX_FLASH_SECT; in flash_init()
75 for (j = 0; j < flash_info[i].sector_count; j++) { in flash_init()
/external/u-boot/drivers/ata/
Dfsl_sata.c61 printf("sector_count: %02x\n\r", s->sector_count); in fsl_sata_dump_sfis()
338 h2d->sector_count = cfis->sector_count; in fsl_ata_exec_ata_cmd()
341 h2d->sector_count = (u8)(tag << 3); in fsl_ata_exec_ata_cmd()
525 cfis->sector_count = XFER_UDMA_6; in fsl_sata_set_features()
527 cfis->sector_count = XFER_UDMA_5; in fsl_sata_set_features()
529 cfis->sector_count = XFER_UDMA_4; in fsl_sata_set_features()
531 cfis->sector_count = XFER_UDMA_3; in fsl_sata_set_features()
555 cfis->sector_count = (u8)(blkcnt & 0xff); in fsl_sata_rw_cmd()
599 cfis->sector_count = blkcnt & 0xff; in fsl_sata_rw_cmd_ext()
Dsata_sil.c47 printf("sector_count: %02x\n", s->sector_count); in sil_sata_dump_fis()
186 pcmd->prb.fis.sector_count = XFER_UDMA_6; in sil_cmd_set_feature()
188 pcmd->prb.fis.sector_count = XFER_UDMA_5; in sil_cmd_set_feature()
190 pcmd->prb.fis.sector_count = XFER_UDMA_4; in sil_cmd_set_feature()
192 pcmd->prb.fis.sector_count = XFER_UDMA_3; in sil_cmd_set_feature()
293 pcmd->prb.fis.sector_count = (u8)blkcnt & 0xff; in sil_sata_rw_cmd()
341 pcmd->prb.fis.sector_count = blkcnt & 0xff; in sil_sata_rw_cmd_ext()
Dsata_mv.c624 (cfis->sector_count << CRQB_SECTCOUNT_COUNT_SHIFT) & in mv_ata_exec_ata_cmd()
679 cfis.sector_count = blkcnt & 0xff; in mv_sata_rw_cmd_ext()
706 cfis.sector_count = (u8)(blkcnt & 0xff); in mv_sata_rw_cmd()
767 out_le32(priv->regbase + PIO_SECTOR_COUNT, cfis->sector_count); in mv_ata_exec_ata_cmd_nondma()
837 cfis.sector_count = XFER_UDMA_6; in mv_sata_set_features()
839 cfis.sector_count = XFER_UDMA_5; in mv_sata_set_features()
841 cfis.sector_count = XFER_UDMA_4; in mv_sata_set_features()
843 cfis.sector_count = XFER_UDMA_3; in mv_sata_set_features()
/external/kernel-headers/original/uapi/linux/
Dhdreg.h81 __u8 sector_count; member
88 __u8 sector_count; member
99 __u8 sector_count; member
/external/vboot_reference/cgpt/
Dcgpt_common.c66 const uint64_t sector_count) { in Load() argument
71 if (!sector_count || !sector_bytes) { in Load()
73 __FUNCTION__, __LINE__, sector_count, sector_bytes); in Load()
77 if (sector_bytes > (UINT64_MAX / sector_count)) { in Load()
79 __FUNCTION__, __LINE__, sector_count, sector_bytes); in Load()
82 count = sector_bytes * sector_count; in Load()
131 const uint64_t sector_count) { in Save() argument
136 count = sector_bytes * sector_count; in Save()
Dcgpt.h81 const uint64_t sector_count);
96 const uint64_t sector_count);
/external/vboot_reference/firmware/include/
Dvboot_struct.h391 uint64_t sector_count; /* Sector count of partition */ member
422 uint64_t sector_count; member
/external/u-boot/drivers/usb/gadget/
Df_rockusb.c513 int sector_count; in cb_write_lba() local
516 sector_count = (int)get_unaligned_be16(&cbw->CDB[7]); in cb_write_lba()
518 f_rkusb->dl_size = sector_count * 512; in cb_write_lba()
522 f_rkusb->dl_size, sector_count, f_rkusb->lba); in cb_write_lba()
/external/u-boot/include/linux/mtd/
Dst_smi.h91 ushort sector_count; member
/external/u-boot/board/shmin/
Dshmin.c77 info->sector_count = CONFIG_SYS_ATMEL_TOTALSECT; in board_flash_get_legacy()

12