Lines Matching refs:mode
141 u32 setup, pulse, cycle, mode; in smc_set_configuration() local
161 mode = HSMC_BF(DBW, HSMC_DBW_8_BITS); in smc_set_configuration()
164 mode = HSMC_BF(DBW, HSMC_DBW_16_BITS); in smc_set_configuration()
167 mode = HSMC_BF(DBW, HSMC_DBW_32_BITS); in smc_set_configuration()
175 mode |= HSMC_BF(EXNW_MODE, HSMC_EXNW_MODE_DISABLED); in smc_set_configuration()
178 mode |= HSMC_BF(EXNW_MODE, HSMC_EXNW_MODE_RESERVED); in smc_set_configuration()
181 mode |= HSMC_BF(EXNW_MODE, HSMC_EXNW_MODE_FROZEN); in smc_set_configuration()
184 mode |= HSMC_BF(EXNW_MODE, HSMC_EXNW_MODE_READY); in smc_set_configuration()
191 mode |= HSMC_BF(TDF_CYCLES, config->tdf_cycles); in smc_set_configuration()
195 mode |= HSMC_BIT(READ_MODE); in smc_set_configuration()
197 mode |= HSMC_BIT(WRITE_MODE); in smc_set_configuration()
199 mode |= HSMC_BIT(BAT); in smc_set_configuration()
201 mode |= HSMC_BIT(TDF_MODE); in smc_set_configuration()
204 cs, setup, pulse, cycle, mode); in smc_set_configuration()
210 hsmc_writel(hsmc, MODE0 + offset, mode); in smc_set_configuration()