Home
last modified time | relevance | path

Searched refs:block_address (Results 1 – 2 of 2) sorted by relevance

/drivers/mtd/
Dssfdc.c202 int block_address, parity; in get_logical_address() local
213 block_address = ((int)oob_buf[offset[j]] << 8) | in get_logical_address()
217 if ((block_address & ~0x7FF) == 0x1000) { in get_logical_address()
218 parity = block_address & 0x01; in get_logical_address()
219 block_address &= 0x7FF; in get_logical_address()
220 block_address >>= 1; in get_logical_address()
222 if (get_parity(block_address, 10) != parity) { in get_logical_address()
225 block_address); in get_logical_address()
234 block_address = -2; in get_logical_address()
237 block_address); in get_logical_address()
[all …]
/drivers/memstick/core/
Dms_block.c796 msb->regs.param.block_address = cpu_to_be16(pba); in msb_set_overwrite_flag()
834 msb->regs.param.block_address = cpu_to_be16(pba); in msb_erase_block()
907 msb->regs.param.block_address = cpu_to_be16(pba); in msb_read_page()
954 msb->regs.param.block_address = cpu_to_be16(pba); in msb_read_oob()
1039 msb->regs.param.block_address = cpu_to_be16(pba); in msb_write_block()