Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/staging/android/
Dpersistent_ram.c114 int ecc_block_size = prz->ecc_block_size; in persistent_ram_update_ecc() local
116 int size = prz->ecc_block_size; in persistent_ram_update_ecc()
121 block = buffer->data + (start & ~(ecc_block_size - 1)); in persistent_ram_update_ecc()
122 par = prz->par_buffer + (start / ecc_block_size) * prz->ecc_size; in persistent_ram_update_ecc()
125 if (block + ecc_block_size > buffer_end) in persistent_ram_update_ecc()
128 block += ecc_block_size; in persistent_ram_update_ecc()
157 int size = prz->ecc_block_size; in persistent_ram_ecc_old()
170 block += prz->ecc_block_size; in persistent_ram_ecc_old()
185 prz->ecc_block_size = 128; in persistent_ram_init_ecc()
190 ecc_blocks = DIV_ROUND_UP(prz->buffer_size, prz->ecc_block_size); in persistent_ram_init_ecc()
Dpersistent_ram.h53 int ecc_block_size; member