Lines Matching refs:hclk
136 int calc_tacp(unsigned int cyc, unsigned long hclk, unsigned long *v) in calc_tacp() argument
220 unsigned long hclk = cfg->freq.hclk_tns; in s3c2410_calc_bank() local
234 ret = calc_0124(bt->tacs, hclk, &res, S3C2410_BANKCON_Tacs_SHIFT); in s3c2410_calc_bank()
235 ret |= calc_0124(bt->tcos, hclk, &res, S3C2410_BANKCON_Tcos_SHIFT); in s3c2410_calc_bank()
236 ret |= calc_0124(bt->tcah, hclk, &res, S3C2410_BANKCON_Tcah_SHIFT); in s3c2410_calc_bank()
237 ret |= calc_0124(bt->tcoh, hclk, &res, S3C2410_BANKCON_Tcoh_SHIFT); in s3c2410_calc_bank()
242 ret |= calc_tacp(bt->tacp, hclk, &res); in s3c2410_calc_bank()
243 ret |= calc_tacc(bt->tacc, bt->nwait_en, hclk, &res); in s3c2410_calc_bank()
299 unsigned long hclk = cfg->freq.hclk_tns; in s3c2410_iotiming_getbank() local
301 bt->tcah = get_0124(hclk, bankcon >> S3C2410_BANKCON_Tcah_SHIFT); in s3c2410_iotiming_getbank()
302 bt->tcoh = get_0124(hclk, bankcon >> S3C2410_BANKCON_Tcoh_SHIFT); in s3c2410_iotiming_getbank()
303 bt->tcos = get_0124(hclk, bankcon >> S3C2410_BANKCON_Tcos_SHIFT); in s3c2410_iotiming_getbank()
304 bt->tacs = get_0124(hclk, bankcon >> S3C2410_BANKCON_Tacs_SHIFT); in s3c2410_iotiming_getbank()
305 bt->tacc = get_tacc(hclk, bankcon >> S3C2410_BANKCON_Tacc_SHIFT); in s3c2410_iotiming_getbank()
320 unsigned long hclk = cfg->freq.hclk_tns; in s3c2410_iotiming_debugfs() local
329 tcah = get_0124(hclk, bankcon >> S3C2410_BANKCON_Tcah_SHIFT); in s3c2410_iotiming_debugfs()
330 tcoh = get_0124(hclk, bankcon >> S3C2410_BANKCON_Tcoh_SHIFT); in s3c2410_iotiming_debugfs()
331 tcos = get_0124(hclk, bankcon >> S3C2410_BANKCON_Tcos_SHIFT); in s3c2410_iotiming_debugfs()
332 tacs = get_0124(hclk, bankcon >> S3C2410_BANKCON_Tacs_SHIFT); in s3c2410_iotiming_debugfs()
333 tacc = get_tacc(hclk, bankcon >> S3C2410_BANKCON_Tacc_SHIFT); in s3c2410_iotiming_debugfs()