/external/u-boot/board/freescale/m5253demo/ |
D | flash.c | 110 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/ |
D | flash.c | 69 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 …]
|
D | armflash.c | 69 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()
|
D | jffs2.c | 270 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/ |
D | flash.c | 34 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()
|
D | update.c | 121 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/ |
D | st_smi.c | 155 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()
|
D | pic32_flash.c | 168 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()
|
D | cfi_mtd.c | 32 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()
|
D | stm32_flash.c | 40 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()
|
D | altera_qspi.c | 68 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()
|
D | cfi_flash.c | 199 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/ |
D | eflash.c | 102 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/ |
D | fis.h | 25 u8 sector_count; member 71 u8 sector_count; member 109 u8 sector_count; member
|
/external/u-boot/board/cobra5272/ |
D | flash.c | 39 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/ |
D | fsl_sata.c | 61 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()
|
D | sata_sil.c | 47 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()
|
D | sata_mv.c | 624 (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/ |
D | hdreg.h | 81 __u8 sector_count; member 88 __u8 sector_count; member 99 __u8 sector_count; member
|
/external/vboot_reference/cgpt/ |
D | cgpt_common.c | 66 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()
|
D | cgpt.h | 81 const uint64_t sector_count); 96 const uint64_t sector_count);
|
/external/vboot_reference/firmware/include/ |
D | vboot_struct.h | 391 uint64_t sector_count; /* Sector count of partition */ member 422 uint64_t sector_count; member
|
/external/u-boot/drivers/usb/gadget/ |
D | f_rockusb.c | 513 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/ |
D | st_smi.h | 91 ushort sector_count; member
|
/external/u-boot/board/shmin/ |
D | shmin.c | 77 info->sector_count = CONFIG_SYS_ATMEL_TOTALSECT; in board_flash_get_legacy()
|