Lines Matching refs:pmecc
36 } pmecc; variable
73 pmecc.use_pmecc = strtol(param, NULL, 10); in atmel_find_pmecc_parameter_in_token()
76 pmecc.sector_per_page = strtol(param, NULL, 10); in atmel_find_pmecc_parameter_in_token()
79 pmecc.spare_size = strtol(param, NULL, 10); in atmel_find_pmecc_parameter_in_token()
82 pmecc.ecc_bits = strtol(param, NULL, 10); in atmel_find_pmecc_parameter_in_token()
85 pmecc.sector_size = strtol(param, NULL, 10); in atmel_find_pmecc_parameter_in_token()
88 pmecc.ecc_offset = strtol(param, NULL, 10); in atmel_find_pmecc_parameter_in_token()
251 tmp |= (pmecc.ecc_offset & 0x1ff) << 18; in atmel_vrec_header()
253 switch (pmecc.sector_size) { in atmel_vrec_header()
263 pmecc.sector_size); in atmel_vrec_header()
267 switch (pmecc.ecc_bits) { in atmel_vrec_header()
286 pmecc.ecc_bits); in atmel_vrec_header()
290 tmp |= (pmecc.spare_size & 0x1ff) << 4; in atmel_vrec_header()
292 switch (pmecc.sector_per_page) { in atmel_vrec_header()
308 pmecc.sector_per_page); in atmel_vrec_header()
312 if (pmecc.use_pmecc) in atmel_vrec_header()