Searched refs:block0 (Results 1 - 2 of 2) sorted by relevance

/drivers/mtd/devices/
H A Ddocg3.c443 * @block0: the first plane block index
452 static int doc_read_seek(struct docg3 *docg3, int block0, int block1, int page, argument
458 block0, block1, page, ofs, wear);
477 sector = (block0 << DOC_ADDR_BLOCK_SHIFT) + (page & DOC_ADDR_PAGE_MASK);
493 * @block0: the first plane block index
501 static int doc_write_seek(struct docg3 *docg3, int block0, int block1, int page, argument
507 block0, block1, page, ofs);
524 sector = (block0 << DOC_ADDR_BLOCK_SHIFT) + (page & DOC_ADDR_PAGE_MASK);
667 * @block0: the first plane block index on flash memory
690 static int doc_read_page_prepare(struct docg3 *docg3, int block0, in argument
815 calc_block_sector(loff_t from, int *block0, int *block1, int *page, int *ofs, int reliable) argument
852 int block0, block1, page, ret, ofs = 0; local
1024 int block0, block1, page, ofs, is_good; local
1150 doc_erase_block(struct docg3 *docg3, int block0, int block1) argument
1196 int block0, block1, page, ret, ofs = 0; local
1252 int block0, block1, page, ret, ofs = 0; local
1404 int block0, block1, page, ret, pofs = 0, autoecc, oobdelta; local
[all...]
/drivers/staging/line6/
H A Dpod.c434 static int pod_resolve(const char *buf, short block0, short block1, argument
445 block = (value < 0x40) ? block0 : block1;
456 size_t count, short block0, short block1)
468 ret = pod_resolve(buf, block0, block1, sysex + SYSEX_DATA_OFS + 1);
487 size_t count, short block0,
499 ret = pod_resolve(buf, block0, block1, sysex + SYSEX_DATA_OFS);
455 pod_send_store_command(struct device *dev, const char *buf, size_t count, short block0, short block1) argument
486 pod_send_retrieve_command(struct device *dev, const char *buf, size_t count, short block0, short block1) argument

Completed in 71 milliseconds