Lines Matching refs:flash_parameters
118 return len & ~(fs->flash_parameters->write_block_size - 1U); in zms_round_down_write_block_size()
124 return (len + (fs->flash_parameters->write_block_size - 1U)) & in zms_round_up_write_block_size()
125 ~(fs->flash_parameters->write_block_size - 1U); in zms_round_up_write_block_size()
131 size_t write_block_size = fs->flash_parameters->write_block_size; in zms_al_size()
181 (void)memset(buf + len, fs->flash_parameters->erase_value, in zms_flash_al_wrt()
182 fs->flash_parameters->write_block_size - len); in zms_flash_al_wrt()
185 fs->flash_parameters->write_block_size); in zms_flash_al_wrt()
335 flash_params_get_erase_cap(fs->flash_parameters) & FLASH_ERASE_C_EXPLICIT; in zms_flash_erase_sector()
357 if (zms_flash_cmp_const(fs, addr, fs->flash_parameters->erase_value, fs->sector_size)) { in zms_flash_erase_sector()
679 memset(&garbage_ate, fs->flash_parameters->erase_value, sizeof(garbage_ate)); in zms_sector_close()
1331 fs->flash_parameters = flash_get_parameters(fs->flash_device); in zms_mount()
1332 if (fs->flash_parameters == NULL) { in zms_mount()
1338 write_block_size = fs->flash_parameters->write_block_size; in zms_mount()
1349 if (flash_params_get_erase_cap(fs->flash_parameters) & FLASH_ERASE_C_EXPLICIT) { in zms_mount()