Home
last modified time | relevance | path

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

12345678910>>...21

/openbmc/u-boot/board/imgtec/malta/
H A Dflash-malta-boot.tcl22 flash erase sector 0xbe000000;
23 flash erase sector 0xbe020000;
24 flash erase sector 0xbe040000;
25 flash erase sector 0xbe060000;
26 flash erase sector 0xbe080000;
27 flash erase sector 0xbe0a0000;
28 flash erase sector 0xbe0c0000;
29 flash erase sector 0xbe0e0000;
/openbmc/phosphor-power/phosphor-regulators/test/
H A Dvalidate-regulators-config_tests.cpp568 configFile["chassis"][0].erase("comments"); in TEST()
569 configFile["chassis"][0].erase("devices"); in TEST()
575 configFile["chassis"][0].erase("number"); in TEST()
582 configFile["chassis"][0].erase("inventory_path"); in TEST()
660 configFile["rules"][0]["actions"][1]["compare_presence"].erase("fru"); in TEST()
676 configFile["rules"][0]["actions"][1]["compare_presence"].erase("value"); in TEST()
722 configFile["rules"][0]["actions"][1]["compare_vpd"].erase("value"); in TEST()
731 configFile["rules"][0]["actions"][1]["compare_vpd"].erase("value"); in TEST()
740 configFile["rules"][0]["actions"][1]["compare_vpd"].erase("fru"); in TEST()
748 configFile["rules"][0]["actions"][1]["compare_vpd"].erase("keyword"); in TEST()
[all …]
/openbmc/qemu/tests/qemu-iotests/
H A D293.out13 == erase slot 4 ==
25 == erase slot 0 and try it ==
28 == erase slot 2 and try it ==
50 == erase all keys of secret 2==
51 == erase all keys of secret 1==
52 == erase all keys of secret 0==
54 …ve keyslots match the (old) password that was given and erasing them will erase all the data in th…
64 == erase secret3 ==
74 qemu-img: Refusing to overwrite active keyslot 0 - please erase it first
85 == erase last secret (should fail) ==
[all …]
/openbmc/linux/Documentation/driver-api/mmc/
H A Dmmc-dev-attrs.rst35 preferred_erase_size Preferred erase size
47 "erase_size" is the minimum size, in bytes, of an erase
48 operation. For MMC, "erase_size" is the erase group size
54 SD/MMC cards can erase an arbitrarily large area up to and
58 1. A single erase command will make all other I/O on
62 duration of the erase - which could be a several
64 2. To be able to inform the user of erase progress.
65 3. The erase timeout becomes too large to be very
66 useful. Because the erase timeout contains a margin
67 which is multiplied by the size of the erase area,
[all …]
/openbmc/estoraged/src/test/
H A Dmeson.build5 'erase/verifyGeometry_test',
6 'erase/pattern_test',
7 'erase/zero_test',
8 'erase/crypto_test',
9 'erase/sanitize_test',
/openbmc/u-boot/doc/SPI/
H A DREADME.ti_qspi_dra_test21 Commands to erase/write u-boot/mlo to flash device
24 SF: Detected S25FL256S_64K with page size 256 Bytes, erase size 64 KiB, total 32 MiB, mapped at 5c0…
25 U-Boot# sf erase 0 0x10000
27 U-Boot# sf erase 0x20000 0x10000
29 U-Boot# sf erase 0x30000 0x10000
31 U-Boot# sf erase 0x40000 0x10000
33 U-Boot# sf erase 0x50000 0x10000
35 U-Boot# sf erase 0x60000 0x10000
H A DREADME.sandbox-spi25 sf erase 1000 1000; sf write 0 1000 1000"
36 SF: Detected W25Q128BV with page size 256 Bytes, erase size 4 KiB, total 16 MiB
38 0 erase: 1 ticks, 1024000 KiB/s 8192.000 Mbps
43 0 erase: 1 ticks, 1024000 KiB/s 8192.000 Mbps
/openbmc/u-boot/drivers/mtd/
H A Dmtdconcat.c346 static int concat_dev_erase(struct mtd_info *mtd, struct erase_info *erase) in concat_dev_erase() argument
357 erase->mtd = mtd; in concat_dev_erase()
358 erase->callback = concat_erase_callback; in concat_dev_erase()
359 erase->priv = (unsigned long) &waitq; in concat_dev_erase()
365 err = mtd_erase(mtd, erase); in concat_dev_erase()
369 if (erase->state != MTD_ERASE_DONE in concat_dev_erase()
370 && erase->state != MTD_ERASE_FAILED) in concat_dev_erase()
375 err = (erase->state == MTD_ERASE_FAILED) ? -EIO : 0; in concat_dev_erase()
386 struct erase_info *erase; in concat_erase() local
436 erase = kmalloc(sizeof (struct erase_info), GFP_KERNEL); in concat_erase()
[all …]
/openbmc/u-boot/drivers/mtd/nand/raw/
H A Dnand_util.c55 erase_info_t erase; in nand_erase_opts() local
68 memset(&erase, 0, sizeof(erase)); in nand_erase_opts()
71 erase.mtd = mtd; in nand_erase_opts()
72 erase.len = mtd->erasesize; in nand_erase_opts()
73 erase.addr = opts->offset; in nand_erase_opts()
86 erase.scrub = opts->scrub; in nand_erase_opts()
100 erase.addr += mtd->erasesize) { in nand_erase_opts()
104 if (opts->lim && (erase.addr >= (opts->offset + opts->lim))) { in nand_erase_opts()
109 int ret = mtd_block_isbad(mtd, erase.addr); in nand_erase_opts()
115 erase.addr); in nand_erase_opts()
[all …]
/openbmc/openbmc/meta-openembedded/meta-filesystems/recipes-utils/fatcat/fatcat/
H A D0001-Replace-std-ptr_fun-for-c-17.patch12 | s.erase(find_if(s.rbegin(), s.rend(), not1(ptr_fun<int, int>(isspace))).base(), s.end());
34 - s.erase(s.begin(), find_if(s.begin(), s.end(), not1(ptr_fun<int, int>(isspace))));
35 + s.erase(s.begin(), find_if(s.begin(), s.end(), [](unsigned char c) {return !isspace(c);}));
41 - s.erase(find_if(s.rbegin(), s.rend(), not1(ptr_fun<int, int>(isspace))).base(), s.end());
42 + s.erase(find_if(s.rbegin(), s.rend(), [](unsigned char c) {return !isspace(c);}).base(), s.end()…
/openbmc/entity-manager/src/
H A Dtopology.cpp100 boardNames.erase(boardFind); in remove()
108 it->second.erase(pathIt); in remove()
113 it = upstreamPorts.erase(it); in remove()
127 it->second.erase(pathIt); in remove()
132 it = downstreamPorts.erase(it); in remove()
/openbmc/phosphor-objmgr/src/
H A Dassociations.cpp45 assocMaps.ifaces.erase(iface); in updateEndpointsOnDbus()
78 delayedUpdatePaths.erase(assocPath); in scheduleUpdateEndpointsOnDbus()
123 owners->second.erase(assocs); in removeAssociation()
126 assocMaps.owners.erase(owners); in removeAssociation()
155 endpointsInDBus.erase(e); in removeAssociationEndpoints()
357 endpoint = assoc->second.erase(endpoint); in removeFromPendingAssociations()
366 assoc = assocMaps.pending.erase(assoc); in removeFromPendingAssociations()
482 endpoint = pending->second.erase(endpoint); in checkIfPendingAssociation()
487 assocMaps.pending.erase(objectPath); in checkIfPendingAssociation()
567 endpoints.erase(e); in removeAssociationIfacesEntry()
[all …]
/openbmc/phosphor-fan-presence/sensor-monitor/
H A Dalarm_timestamps.hpp89 void erase(const AlarmKey& key) in erase() function in sensor::monitor::AlarmTimestamps
91 size_t removed = timestamps.erase(key); in erase()
101 void erase(std::map<AlarmKey, uint64_t>::const_iterator& entry) in erase() function in sensor::monitor::AlarmTimestamps
103 timestamps.erase(entry); in erase()
151 it = timestamps.erase(it); in prune()
/openbmc/linux/drivers/cxl/
H A Dsecurity.c174 struct cxl_pass_erase erase; in cxl_pmem_security_passphrase_erase() local
177 erase = (struct cxl_pass_erase) { in cxl_pmem_security_passphrase_erase()
181 memcpy(erase.pass, key->data, NVDIMM_PASSPHRASE_LEN); in cxl_pmem_security_passphrase_erase()
184 .size_in = sizeof(erase), in cxl_pmem_security_passphrase_erase()
185 .payload_in = &erase, in cxl_pmem_security_passphrase_erase()
201 .erase = cxl_pmem_security_passphrase_erase,
/openbmc/linux/drivers/mtd/spi-nor/
H A Dcore.c183 return nor->controller_ops->erase(nor, offs); in spi_nor_controller_ops_erase()
1164 struct spi_nor_erase_type *erase; in spi_nor_set_4byte_opcodes() local
1168 erase = &map->erase_type[i]; in spi_nor_set_4byte_opcodes()
1169 erase->opcode = in spi_nor_set_4byte_opcodes()
1170 spi_nor_convert_3to4_erase(erase->opcode); in spi_nor_set_4byte_opcodes()
1483 } else if (nor->controller_ops->erase) { in spi_nor_erase_sector()
1508 static u64 spi_nor_div_by_erase_size(const struct spi_nor_erase_type *erase, in spi_nor_div_by_erase_size() argument
1512 *remainder = (u32)dividend & erase->size_mask; in spi_nor_div_by_erase_size()
1513 return dividend >> erase->size_shift; in spi_nor_div_by_erase_size()
1534 const struct spi_nor_erase_type *erase; in spi_nor_find_best_erase_type() local
[all …]
/openbmc/u-boot/doc/
H A DREADME.commands.spl22 nand erase 0x680000 0x20000 /* erase - one page */
30 nand erase 0x680000 0x20000 /* erase - one page */
/openbmc/linux/drivers/mtd/
H A Dmtdconcat.c369 struct erase_info *erase; in concat_erase() local
419 erase = kmalloc(sizeof (struct erase_info), GFP_KERNEL); in concat_erase()
421 if (!erase) in concat_erase()
424 *erase = *instr; in concat_erase()
433 if (subdev->size <= erase->addr) { in concat_erase()
434 erase->addr -= subdev->size; in concat_erase()
451 if (erase->addr + length > subdev->size) in concat_erase()
452 erase->len = subdev->size - erase->addr; in concat_erase()
454 erase->len = length; in concat_erase()
456 length -= erase->len; in concat_erase()
[all …]
H A Dmtdpstore.c186 struct erase_info erase; in mtdpstore_erase_do() local
191 erase.len = cxt->mtd->erasesize; in mtdpstore_erase_do()
192 erase.addr = off; in mtdpstore_erase_do()
193 ret = mtd_erase(cxt->mtd, &erase); in mtdpstore_erase_do()
198 (unsigned long long)erase.addr, in mtdpstore_erase_do()
199 (unsigned long long)erase.len, cxt->info.device); in mtdpstore_erase_do()
430 cxt->dev.zone.erase = mtdpstore_erase; in mtdpstore_notify_add()
451 struct erase_info erase; in mtdpstore_flush_removed_do() local
463 erase.len = mtd->erasesize; in mtdpstore_flush_removed_do()
464 erase.addr = off; in mtdpstore_flush_removed_do()
[all …]
/openbmc/phosphor-networkd/src/
H A Dnetwork_manager.cpp171 interfaces.erase(it->second->interfaceName()); in createInterface()
172 interfacesByIdx.erase(it); in createInterface()
274 interfacesByIdx.erase(iit); in removeInterface()
278 ignoredIntf.erase(info.idx); in removeInterface()
282 interfaces.erase(nit); in removeInterface()
284 intfInfo.erase(info.idx); in removeInterface()
313 it->second->addrs.erase(info.ifaddr); in removeAddress()
316 it->second.addrs.erase(info.ifaddr); in removeAddress()
351 it->second.staticNeighs.erase(*info.addr); in removeNeighbor()
355 it->second->staticNeighbors.erase(*info.addr); in removeNeighbor()
[all …]
/openbmc/linux/drivers/mtd/devices/
H A Dpowernv_flash.c168 static int powernv_flash_erase(struct mtd_info *mtd, struct erase_info *erase) in powernv_flash_erase() argument
172 rc = powernv_flash_async_op(mtd, FLASH_OP_ERASE, erase->addr, in powernv_flash_erase()
173 erase->len, NULL, NULL); in powernv_flash_erase()
175 erase->fail_addr = erase->addr; in powernv_flash_erase()
/openbmc/openpower-pnor-code-mgmt/ubi/
H A Ditem_updater_ubi.cpp53 std::bind(&ItemUpdaterUbi::erase, this, std::placeholders::_1)); in createVersionObject()
86 ItemUpdaterUbi::erase(id); in processPNORImage()
149 std::bind(&ItemUpdaterUbi::erase, this, std::placeholders::_1)); in processPNORImage()
163 ItemUpdaterUbi::erase(id); in processPNORImage()
316 bool ItemUpdaterUbi::erase(std::string entryId) in erase() function in openpower::software::updater::ItemUpdaterUbi
318 if (!ItemUpdater::erase(entryId)) in erase()
345 ItemUpdaterUbi::erase(activationIt.first); in deleteAll()
392 erase(versionsPQ.top().second); in freeSpace()
/openbmc/u-boot/arch/arm/cpu/armv8/fsl-layerscape/doc/
H A DREADME.qspi25 SF: Detected S25FL256S_64K with page size 256 Bytes, erase size 64 KiB, total 32 MiB
26 => sf erase 0 +<size of rcw image>
36 SF: Detected S25FL256S_64K with page size 256 Bytes, erase size 64 KiB, total 32 MiB
37 => sf erase 10000 +<size of u-boot image>
/openbmc/dbus-sensors/src/nvme/
H A DNVMeContext.hpp73 sensors.erase(found); in removeSensor()
83 sensors.erase(found); in removeSensor()
91 pollCursor = sensors.erase(found); in removeSensor()
/openbmc/linux/Documentation/networking/devlink/
H A Diosm.rst25 - erase_full_flash parameter is used to check if full erase is required for
27 If set, Full nand erase command will be sent to the device. By default,
28 only conditional erase support is enabled.
66 By default, conditional erase feature is supported.
75 2) If user want to do a full erase, below command need to be issued to set the
76 erase full flash param (To be set only if full erase required).
/openbmc/phosphor-logging/
H A Dlog_manager.cpp183 i = metalist.erase(i); in _commit()
217 erase(realErrors.front()); in createEntry()
224 erase(infoErrors.front()); in createEntry()
498 blockingErrors.erase(it); in checkAndRemoveBlockingError()
505 propChangedEntryCallback.erase(resolveFind); in checkAndRemoveBlockingError()
535 erase(e); in eraseAll()
549 erase(e); in eraseAll()
577 void Manager::erase(uint32_t entryId) in erase() function in phosphor::logging::internal::Manager
616 ids.erase(it); in erase()
627 entries.erase(entryFound); in erase()

12345678910>>...21