Lines Matching refs:ncycles
43 static int atmel_smc_cs_encode_ncycles(unsigned int ncycles, in atmel_smc_cs_encode_ncycles() argument
54 msb = ncycles / msbfactor; in atmel_smc_cs_encode_ncycles()
55 lsb = ncycles % msbfactor; in atmel_smc_cs_encode_ncycles()
94 unsigned int shift, unsigned int ncycles) in atmel_smc_cs_conf_set_timing() argument
112 ret = atmel_smc_cs_encode_ncycles(ncycles, 3, 1, 64, &val); in atmel_smc_cs_conf_set_timing()
136 unsigned int shift, unsigned int ncycles) in atmel_smc_cs_conf_set_setup() argument
151 ret = atmel_smc_cs_encode_ncycles(ncycles, 5, 1, 128, &val); in atmel_smc_cs_conf_set_setup()
175 unsigned int shift, unsigned int ncycles) in atmel_smc_cs_conf_set_pulse() argument
190 ret = atmel_smc_cs_encode_ncycles(ncycles, 6, 1, 256, &val); in atmel_smc_cs_conf_set_pulse()
214 unsigned int shift, unsigned int ncycles) in atmel_smc_cs_conf_set_cycle() argument
228 ret = atmel_smc_cs_encode_ncycles(ncycles, 7, 2, 256, &val); in atmel_smc_cs_conf_set_cycle()