Home
last modified time | relevance | path

Searched refs:ccount (Results 1 – 24 of 24) sorted by relevance

/openbmc/u-boot/arch/xtensa/lib/
H A Dtime.c15 ulong ccount; in get_ccount() local
16 asm volatile ("rsr %0,"__stringify(CCOUNT) : "=a" (ccount)); in get_ccount()
17 return ccount; in get_ccount()
73 register ulong ccount; in get_timer() local
74 __asm__ volatile ("rsr %0, CCOUNT" : "=a"(ccount)); in get_timer()
75 return ccount / (CONFIG_SYS_CLK_FREQ / CONFIG_SYS_HZ) - base; in get_timer()
112 unsigned long ccount; in timer_get_us() local
114 __asm__ volatile ("rsr %0, CCOUNT" : "=a"(ccount)); in timer_get_us()
115 return ccount / (CONFIG_SYS_CLK_FREQ / 1000000); in timer_get_us()
/openbmc/qemu/tests/tcg/xtensa/
H A Dtest_timer.S9 rsr \delta, ccount
10 rsr \target, ccount
20 test ccount
21 rsr a3, ccount
22 rsr a4, ccount
27 rsr a3, ccount
28 rsr a4, ccount
31 wsr a2, ccount
33 rsr a3, ccount
80 wsr a2, ccount
[all …]
H A Dtest_sr.S81 test_sr ccount, 1
/openbmc/u-boot/board/siemens/common/
H A Dboard.c192 unsigned char i, idx, pos1, pos2, ccount; in set_env_gpios() local
208 ccount = 0; in set_env_gpios()
211 if (ccount++ < 1) in set_env_gpios()
218 if (pos2 <= pos1 || ccount > 2) in set_env_gpios()
/openbmc/qemu/hw/input/
H A Dps2.c277 int ccount; in ps2_cqueue_reset() local
283 ccount = (q->cwptr - q->rptr) & (PS2_BUFFER_SIZE - 1); in ps2_cqueue_reset()
284 q->count -= ccount; in ps2_cqueue_reset()
1028 int ccount = 0; in ps2_common_post_load() local
1032 ccount = (q->cwptr - q->rptr) & (PS2_BUFFER_SIZE - 1); in ps2_common_post_load()
1033 if (ccount > PS2_QUEUE_HEADROOM) { in ps2_common_post_load()
1034 ccount = PS2_QUEUE_HEADROOM; in ps2_common_post_load()
1039 if (q->count < ccount) { in ps2_common_post_load()
1040 q->count = ccount; in ps2_common_post_load()
1041 } else if (q->count > ccount + PS2_QUEUE_SIZE) { in ps2_common_post_load()
[all …]
/openbmc/qemu/target/xtensa/core-lx106/
H A Dgdb-config.c.inc67 XTREG( 44,176,32, 4, 4,0x02ea,0x000f,-2, 2,0x1000,ccount, 0,0,0,0,0,0)
H A Dxtensa-modules.c.inc6376 { "rsr.ccount", ICLASS_xt_iclass_rsr_ccount,
6379 { "wsr.ccount", ICLASS_xt_iclass_wsr_ccount,
6382 { "xsr.ccount", ICLASS_xt_iclass_xsr_ccount,
/openbmc/qemu/target/xtensa/core-dc232b/
H A Dgdb-config.c.inc209 XTREG(94, 376, 32, 4, 4, 0x02ea, 0x000f, -2, 2, 0x1000, ccount,
H A Dxtensa-modules.c.inc11821 { "rsr.ccount", 254 /* xt_iclass_rsr.ccount */,
11824 { "wsr.ccount", 255 /* xt_iclass_wsr.ccount */,
11827 { "xsr.ccount", 256 /* xt_iclass_xsr.ccount */,
12433 return 358; /* xsr.ccount */
12631 return 356; /* rsr.ccount */
12768 return 357; /* wsr.ccount */
/openbmc/qemu/target/xtensa/core-sample_controller/
H A Dgdb-config.c.inc103 XTREG( 79,316,32, 4, 4,0x02ea,0x000f,-2, 2,0x1000,ccount, 0,0,0,0,0,0)
H A Dxtensa-modules.c.inc9414 { "rsr.ccount", ICLASS_xt_iclass_rsr_ccount,
9417 { "wsr.ccount", ICLASS_xt_iclass_wsr_ccount,
9420 { "xsr.ccount", ICLASS_xt_iclass_xsr_ccount,
/openbmc/qemu/target/xtensa/core-dc233c/
H A Dgdb-config.c.inc120 XTREG(95, 380, 32, 4, 4, 0x02ea, 0x000f, -2, 2, 0x1000, ccount, 0, 0, 0, 0, 0, 0)
H A Dxtensa-modules.c.inc12470 { "rsr.ccount", ICLASS_xt_iclass_rsr_ccount,
12473 { "wsr.ccount", ICLASS_xt_iclass_wsr_ccount,
12476 { "xsr.ccount", ICLASS_xt_iclass_xsr_ccount,
/openbmc/qemu/target/xtensa/core-test_mmuhifi_c3/
H A Dgdb-config.c.inc117 XTREG( 82,376,32, 4, 4,0x02ea,0x000f,-2, 2,0x1000,ccount, 0,0,0,0,0,0)
H A Dxtensa-modules.c.inc27425 { "rsr.ccount", ICLASS_xt_iclass_rsr_ccount,
27428 { "wsr.ccount", ICLASS_xt_iclass_wsr_ccount,
27431 { "xsr.ccount", ICLASS_xt_iclass_xsr_ccount,
/openbmc/qemu/target/xtensa/core-de212/
H A Dgdb-config.c.inc112 XTREG( 88,352,32, 4, 4,0x02ea,0x000f,-2, 2,0x1000,ccount, 0,0,0,0,0,0)
H A Dxtensa-modules.c.inc11845 { "rsr.ccount", ICLASS_xt_iclass_rsr_ccount,
11848 { "wsr.ccount", ICLASS_xt_iclass_wsr_ccount,
11851 { "xsr.ccount", ICLASS_xt_iclass_xsr_ccount,
/openbmc/qemu/target/xtensa/core-test_kc705_be/
H A Dgdb-config.c.inc149 XTREG(114,504,32, 4, 4,0x02ea,0x000f,-2, 2,0x1000,ccount, 0,0,0,0,0,0)
H A Dxtensa-modules.c.inc34043 { "rsr.ccount", ICLASS_xt_iclass_rsr_ccount,
34046 { "wsr.ccount", ICLASS_xt_iclass_wsr_ccount,
34049 { "xsr.ccount", ICLASS_xt_iclass_xsr_ccount,
/openbmc/qemu/target/xtensa/core-de233_fpu/
H A Dgdb-config.c.inc153 XTREG(114,520,32, 4, 4,0x02ea,0x000f,-2, 2,0x1000,ccount, 0,0,0,0,0,0)
H A Dxtensa-modules.c.inc17152 { "rsr.ccount", ICLASS_xt_iclass_rsr_ccount,
17155 { "wsr.ccount", ICLASS_xt_iclass_wsr_ccount,
17158 { "xsr.ccount", ICLASS_xt_iclass_xsr_ccount,
/openbmc/qemu/target/xtensa/core-fsf/
H A Dxtensa-modules.c.inc8412 { "rsr.ccount", 191 /* xt_iclass_rsr.ccount */,
8415 { "wsr.ccount", 192 /* xt_iclass_wsr.ccount */,
8418 { "xsr.ccount", 193 /* xt_iclass_xsr.ccount */,
8892 return 235; /* xsr.ccount */
9037 return 233; /* rsr.ccount */
9136 return 234; /* wsr.ccount */
/openbmc/qemu/target/xtensa/core-dsp3400/
H A Dgdb-config.c.inc287 XTREG(208,1952,32, 4, 4,0x02ea,0x000f,-2, 2,0x1000,ccount, 0,0,0,0,0,0)
H A Dxtensa-modules.c.inc76121 { "rsr.ccount", ICLASS_xt_iclass_rsr_ccount,
76124 { "wsr.ccount", ICLASS_xt_iclass_wsr_ccount,
76127 { "xsr.ccount", ICLASS_xt_iclass_xsr_ccount,