Home
last modified time | relevance | path

Searched refs:frqcr (Results 1 – 2 of 2) sorted by relevance

/linux-2.4.37.9/arch/sh/kernel/
Dtime.c357 unsigned short frqcr, ifc, pfc, bfc; in time_init() local
374 unsigned short frqcr; in time_init() member
448 frqcr = ctrl_inw(FRQCR); in time_init()
450 bfc = ((frqcr & 0x0700) >> 8)+1; in time_init()
451 ifc = ((frqcr & 0x0070) >> 4)+1; in time_init()
452 tmp = frqcr & 0x0007; in time_init()
455 tmp = (frqcr & 0x8000) >> 13; in time_init()
456 tmp |= (frqcr & 0x0030) >> 4; in time_init()
458 tmp = (frqcr & 0x4000) >> 12; in time_init()
459 tmp |= (frqcr & 0x000c) >> 2; in time_init()
[all …]
/linux-2.4.37.9/arch/sh64/kernel/
Dtime.c490 unsigned long frqcr, ifc, pfc; in time_init() local
529 frqcr = ctrl_inl(FRQCR); in time_init()
530 ifc = ifc_table[(frqcr>> 6) & 0x0007]; in time_init()
531 bfc = bfc_table[(frqcr>> 3) & 0x0007]; in time_init()
532 pfc = pfc_table[(frqcr>> 12) & 0x0007]; in time_init()