/drivers/acpi/apei/ |
H A D | erst.c | 950 .erase = erst_clearer
|
/drivers/firmware/efi/ |
H A D | efi-pstore.c | 364 .erase = efi_pstore_erase,
|
/drivers/hid/usbhid/ |
H A D | hid-pidff.c | 543 * Stop and erase effect with effect_id 550 hid_dbg(pidff->hid, "starting to erase %d/%d\n", 1311 ff->erase = pidff_erase_effect;
|
/drivers/input/ |
H A D | ff-core.c | 201 if (ff->erase) { 202 error = ff->erase(dev, effect_id); 216 * input_ff_erase - erase a force-feedback effect from device 217 * @dev: input device to erase effect from 223 * file handle that is requesting erase. 242 * flush_effects - erase all effects owned by a file handle 309 * Once ff device is created you need to setup its upload, erase,
|
/drivers/input/joystick/iforce/ |
H A D | iforce-main.c | 440 ff->erase = iforce_erase_effect;
|
/drivers/input/misc/ |
H A D | uinput.c | 272 dev->ff->erase = uinput_dev_erase_effect;
|
/drivers/misc/eeprom/ |
H A D | eeprom_93xx46.c | 139 dev_err(&edev->spi->dev, "erase/write %sable error %d\n", 216 /* erase/write enable */ 240 /* erase/write disable */ 277 dev_err(&edev->spi->dev, "erase error %d\n", ret); 278 /* have to wait erase cycle time Tec ms */ 293 int erase = 0, ret; local 295 sscanf(buf, "%d", &erase); 296 if (erase) { 309 static DEVICE_ATTR(erase, S_IWUSR, NULL, eeprom_93xx46_store_erase); 362 dev_err(&spi->dev, "can't create erase interfac [all...] |
/drivers/mmc/card/ |
H A D | mmc_test.c | 36 * Limit the test area size to the maximum MMC HC erase group size. Note that 1564 static int mmc_test_area_init(struct mmc_test_card *test, int erase, int fill) argument 1614 if (erase) { 1634 * Prepare for large transfers. Do not erase the test area. 1642 * Prepare for large transfers. Do erase the test area.
|
/drivers/mtd/devices/ |
H A D | bcm47xxsflash.c | 67 static int bcm47xxsflash_erase(struct mtd_info *mtd, struct erase_info *erase) argument 75 b47s->cc_write(b47s, BCMA_CC_FLASHADDR, erase->addr); 86 b47s->cc_write(b47s, BCMA_CC_FLASHADDR, erase->addr << 1); 93 erase->state = MTD_ERASE_FAILED; 95 erase->state = MTD_ERASE_DONE; 97 if (erase->callback) 98 erase->callback(erase);
|
H A D | m25p80.c | 134 /* Wait till previous write/erase is done. */ 173 /* Send write enable, then erase commands. */ 213 nor->erase = m25p80_erase;
|
/drivers/mtd/ |
H A D | ftl.c | 102 /* Maximum number of outstanding erase requests per socket */ 152 partition. build_maps() reads all the erase unit headers, builds 153 the erase unit map, and then builds the virtual page map. 207 /* Set up erase unit maps */ 252 /* Pick anything reasonable for the erase count */ 264 printk(KERN_NOTICE "ftl_cs: format error: erase units " 328 Erase_xfer() schedules an asynchronous erase operation for a 338 struct erase_info *erase; local 344 /* Is there a free erase slot? Always in MTD. */ 347 erase 374 ftl_erase_callback(struct erase_info *erase) argument [all...] |
H A D | mtdblock.c | 69 struct erase_info erase; local 76 * First, let's erase the flash block. 80 erase.mtd = mtd; 81 erase.callback = erase_callback; 82 erase.addr = pos; 83 erase.len = len; 84 erase.priv = (u_long)&wait_q; 89 ret = mtd_erase(mtd, &erase); 93 printk (KERN_WARNING "mtdblock: erase of region [0x%lx, 0x%x] " 99 schedule(); /* Wait for erase t [all...] |
H A D | mtdchar.c | 686 struct erase_info *erase; local 691 erase=kzalloc(sizeof(struct erase_info),GFP_KERNEL); 692 if (!erase) 705 kfree(erase); 708 erase->addr = einfo64.start; 709 erase->len = einfo64.length; 715 kfree(erase); 718 erase->addr = einfo32.start; 719 erase->len = einfo32.length; 721 erase [all...] |
H A D | mtdconcat.c | 340 static int concat_dev_erase(struct mtd_info *mtd, struct erase_info *erase) argument 351 erase->mtd = mtd; 352 erase->callback = concat_erase_callback; 353 erase->priv = (unsigned long) &waitq; 359 err = mtd_erase(mtd, erase); 363 if (erase->state != MTD_ERASE_DONE 364 && erase->state != MTD_ERASE_FAILED) 369 err = (erase->state == MTD_ERASE_FAILED) ? -EIO : 0; 380 struct erase_info *erase; local 383 * Check for proper erase bloc [all...] |
H A D | mtdoops.c | 99 struct erase_info erase; local 106 erase.mtd = mtd; 107 erase.callback = mtdoops_erase_callback; 108 erase.addr = offset; 109 erase.len = mtd->erasesize; 110 erase.priv = (u_long)&wait_q; 115 ret = mtd_erase(mtd, &erase); 119 printk(KERN_WARNING "mtdoops: erase of region [0x%llx, 0x%llx] on \"%s\" failed\n", 120 (unsigned long long)erase.addr, 121 (unsigned long long)erase [all...] |
H A D | mtdswap.c | 58 * Frequency value 6 means 1/6 of the GC passes will pick an erase block based 61 * The lower freq2 should be chosen so that it makes sure the maximum erase 63 * trying to make erase differences large. 156 #define MTDSWAP_ERASE_RETRIES 3 /* Before marking erase block bad */ 169 * thread. The thread can consume a full erase block when moving a 189 MODULE_PARM_DESC(spare_eblocks, "Percentage of spare erase blocks for " 427 * Are there any erase blocks without MAGIC_CLEAN header, presumably 428 * because power was cut off after erase but before header write? We 429 * need to guestimate the erase count. 551 struct erase_info erase; local [all...] |
H A D | rfd_ftl.c | 27 MODULE_PARM_DESC(block_size, "Block size to use by RFD, defaults to erase unit size"); 39 /* An erase unit should start with this value */ 73 u_int block_size; /* size of erase unit */ 74 u_int total_blocks; /* number of erase units */ 75 u_int header_sectors_per_block; /* header sectors in erase unit */ 76 u_int data_sectors_per_block; /* data sectors in erase unit */ 163 /* each erase block has three bytes header, followed by the map */ 225 printk(KERN_WARNING PREFIX "'%s': no empty erase unit found\n", 269 static void erase_callback(struct erase_info *erase) argument 276 part = (struct partition*)erase 328 struct erase_info *erase; local [all...] |
H A D | sm_ftl.c | 407 /* If write fails. try to erase the block */ 453 * If erase succeeds, it updates free block fifo, otherwise marks block as bad 460 struct erase_info erase; local 462 erase.mtd = mtd; 463 erase.callback = sm_erase_callback; 464 erase.addr = sm_mkoffset(ftl, zone_num, block, 0); 465 erase.len = ftl->block_size; 466 erase.priv = (u_long)ftl; 474 sm_printk("attempted to erase the CIS!"); 478 if (mtd_erase(mtd, &erase)) { [all...] |
/drivers/mtd/nand/ |
H A D | denali.c | 916 * instability with the controller if you do a block erase 917 * and the last transaction was a SPARE_ACCESS. Block erase 1280 /* wait for erase to complete or failure to occur */ 1629 denali->nand.erase = denali_erase;
|
H A D | docg4.c | 178 /* good status values read after read/write/erase operations */ 268 * register. Operations known to take a long time (e.g., block erase) 890 /* only 2 bytes of address are written to specify erase block */ 1036 * For an unknown reason, block erase always fails if it's the first 1241 nand->erase = docg4_erase_block;
|
H A D | nand_base.c | 426 * (1) erase the affected block, to allow OOB marker to be written cleanly 441 /* Attempt erase before marking OOB */ 627 * Program and erase have their own busy handlers status and sequential 722 * Program and erase have their own busy handlers status, sequential 871 * Wait for command done. This applies to erase and program only. Erase can 990 * eg. erase/program a locked block 1049 * eg. erase/program a locked block 2454 /* We still need to erase leftover OOB data */ 2680 * single_erase - [GENERIC] NAND standard block erase command function 2684 * Standard erase comman [all...] |
/drivers/mtd/spi-nor/ |
H A D | fsl-quadspi.c | 752 /* Send write enable, then erase commands. */ 903 nor->erase = fsl_qspi_erase;
|
H A D | spi-nor.c | 27 #define MAX_READY_WAIT_JIFFIES (40 * HZ) /* M25P16 specs 40s max chip erase */ 240 /* Send write enable, then erase commands. */ 272 * one or more erase sectors. Return an error is there is a problem erasing. 295 /* whole-chip erase? */ 304 * to use "small sector erase", but that's not always optimal. 307 /* "sector"-at-a-time erase */ 310 if (nor->erase(nor, addr)) { 446 #define SPI_NOR_NO_ERASE 0x02 /* No erase command needed */ 570 /* SST -- large erase sizes are "overlays", "sectors" are 4K */ 902 !nor->read_reg || !nor->write_reg || !nor->erase) { [all...] |
/drivers/mtd/ubi/ |
H A D | attach.c | 40 * erased are put to the @erase list. 60 * the reason is a power cut, UBI puts this PEB to the @erase list, and all 61 * PEBs in the @erase list are scheduled for erasure later. 77 * to just erase this PEB - this is corruption type 1. 104 * @ec: erase counter of the physical eraseblock 109 * eraseblock @pnum and adds it to the "free", "erase", or "alien" lists. 114 * PEBs (corrupted due to power cuts) to the head of the erase list to make 115 * sure we erase them first and get rid of corruptions ASAP. This function 126 } else if (list == &ai->erase) { 127 dbg_bld("add to erase [all...] |
H A D | eba.c | 341 dbg_eba("erase LEB %d:%d, PEB %d", vol_id, lnum, pnum); 690 * this physical eraseblock went bad, the erase code will handle that. 1363 ubi_move_aeb_to_list(av, aeb, &ai->erase);
|