Lines Matching refs:ecc_bit
144 u32 ecc_bit = ECC_CNFG_4BIT, dec_sz, enc_sz; in mtk_ecc_config() local
149 ecc_bit = ECC_CNFG_4BIT; in mtk_ecc_config()
152 ecc_bit = ECC_CNFG_6BIT; in mtk_ecc_config()
155 ecc_bit = ECC_CNFG_8BIT; in mtk_ecc_config()
158 ecc_bit = ECC_CNFG_10BIT; in mtk_ecc_config()
161 ecc_bit = ECC_CNFG_12BIT; in mtk_ecc_config()
164 ecc_bit = ECC_CNFG_14BIT; in mtk_ecc_config()
167 ecc_bit = ECC_CNFG_16BIT; in mtk_ecc_config()
170 ecc_bit = ECC_CNFG_18BIT; in mtk_ecc_config()
173 ecc_bit = ECC_CNFG_20BIT; in mtk_ecc_config()
176 ecc_bit = ECC_CNFG_22BIT; in mtk_ecc_config()
179 ecc_bit = ECC_CNFG_24BIT; in mtk_ecc_config()
182 ecc_bit = ECC_CNFG_28BIT; in mtk_ecc_config()
185 ecc_bit = ECC_CNFG_32BIT; in mtk_ecc_config()
188 ecc_bit = ECC_CNFG_36BIT; in mtk_ecc_config()
191 ecc_bit = ECC_CNFG_40BIT; in mtk_ecc_config()
194 ecc_bit = ECC_CNFG_44BIT; in mtk_ecc_config()
197 ecc_bit = ECC_CNFG_48BIT; in mtk_ecc_config()
200 ecc_bit = ECC_CNFG_52BIT; in mtk_ecc_config()
203 ecc_bit = ECC_CNFG_56BIT; in mtk_ecc_config()
206 ecc_bit = ECC_CNFG_60BIT; in mtk_ecc_config()
217 reg = ecc_bit | (config->mode << ECC_MODE_SHIFT); in mtk_ecc_config()
230 reg = ecc_bit | (config->mode << ECC_MODE_SHIFT); in mtk_ecc_config()