Lines Matching refs:hclk
132 static int calc_tacp(unsigned int cyc, unsigned long hclk, unsigned long *v) in calc_tacp() argument
216 unsigned long hclk = cfg->freq.hclk_tns; in s3c2410_calc_bank() local
230 ret = calc_0124(bt->tacs, hclk, &res, S3C2410_BANKCON_Tacs_SHIFT); in s3c2410_calc_bank()
231 ret |= calc_0124(bt->tcos, hclk, &res, S3C2410_BANKCON_Tcos_SHIFT); in s3c2410_calc_bank()
232 ret |= calc_0124(bt->tcah, hclk, &res, S3C2410_BANKCON_Tcah_SHIFT); in s3c2410_calc_bank()
233 ret |= calc_0124(bt->tcoh, hclk, &res, S3C2410_BANKCON_Tcoh_SHIFT); in s3c2410_calc_bank()
238 ret |= calc_tacp(bt->tacp, hclk, &res); in s3c2410_calc_bank()
239 ret |= calc_tacc(bt->tacc, bt->nwait_en, hclk, &res); in s3c2410_calc_bank()
295 unsigned long hclk = cfg->freq.hclk_tns; in s3c2410_iotiming_getbank() local
297 bt->tcah = get_0124(hclk, bankcon >> S3C2410_BANKCON_Tcah_SHIFT); in s3c2410_iotiming_getbank()
298 bt->tcoh = get_0124(hclk, bankcon >> S3C2410_BANKCON_Tcoh_SHIFT); in s3c2410_iotiming_getbank()
299 bt->tcos = get_0124(hclk, bankcon >> S3C2410_BANKCON_Tcos_SHIFT); in s3c2410_iotiming_getbank()
300 bt->tacs = get_0124(hclk, bankcon >> S3C2410_BANKCON_Tacs_SHIFT); in s3c2410_iotiming_getbank()
301 bt->tacc = get_tacc(hclk, bankcon >> S3C2410_BANKCON_Tacc_SHIFT); in s3c2410_iotiming_getbank()
316 unsigned long hclk = cfg->freq.hclk_tns; in s3c2410_iotiming_debugfs() local
325 tcah = get_0124(hclk, bankcon >> S3C2410_BANKCON_Tcah_SHIFT); in s3c2410_iotiming_debugfs()
326 tcoh = get_0124(hclk, bankcon >> S3C2410_BANKCON_Tcoh_SHIFT); in s3c2410_iotiming_debugfs()
327 tcos = get_0124(hclk, bankcon >> S3C2410_BANKCON_Tcos_SHIFT); in s3c2410_iotiming_debugfs()
328 tacs = get_0124(hclk, bankcon >> S3C2410_BANKCON_Tacs_SHIFT); in s3c2410_iotiming_debugfs()
329 tacc = get_tacc(hclk, bankcon >> S3C2410_BANKCON_Tacc_SHIFT); in s3c2410_iotiming_debugfs()