Home
last modified time | relevance | path

Searched refs:tcnt (Results 1 – 25 of 786) sorted by relevance

12345678910>>...32

/dports/comms/mlan3/mlan3-1.00/common/
H A Dsprintf.c145 tcnt = 0; in sprintf()
154 tmp[tcnt++] = '-'; in sprintf()
156 else if (width > tcnt) in sprintf()
165 tcnt += (width - tcnt); in sprintf()
168 for (i = 0; i < tcnt; i++) in sprintf()
195 tcnt = 0; in sprintf()
210 if (width > tcnt) in sprintf()
219 tcnt += (width - tcnt); in sprintf()
245 tcnt = 0; in sprintf()
255 tmp[tcnt++] = '-'; in sprintf()
[all …]
/dports/emulators/qemu/qemu-6.2.0/hw/timer/
H A Drenesas_tmr.c142 tcnt[1] = tmr->tcnt[1] + (elapsed & 0xff); in read_tcnt()
147 tcnt[1] = tmr->tcnt[1]; in read_tcnt()
155 tcnt[0] = tmr->tcnt[0] + elapsed; in read_tcnt()
158 tcnt[0] = tmr->tcnt[0] + ovf; in read_tcnt()
162 tcnt[0] = tmr->tcnt[0]; in read_tcnt()
168 tcnt[0] = tmr->tcnt[0]; in read_tcnt()
169 tcnt[1] = tmr->tcnt[1]; in read_tcnt()
377 uint16_t tcnt; in timer_events() local
393 tmr->tcnt[0] = (tcnt >> 8) & 0xff; in timer_events()
394 tmr->tcnt[1] = tcnt & 0xff; in timer_events()
[all …]
/dports/emulators/qemu60/qemu-6.0.0/hw/timer/
H A Drenesas_tmr.c142 tcnt[1] = tmr->tcnt[1] + (elapsed & 0xff); in read_tcnt()
147 tcnt[1] = tmr->tcnt[1]; in read_tcnt()
155 tcnt[0] = tmr->tcnt[0] + elapsed; in read_tcnt()
158 tcnt[0] = tmr->tcnt[0] + ovf; in read_tcnt()
162 tcnt[0] = tmr->tcnt[0]; in read_tcnt()
168 tcnt[0] = tmr->tcnt[0]; in read_tcnt()
169 tcnt[1] = tmr->tcnt[1]; in read_tcnt()
377 uint16_t tcnt; in timer_events() local
393 tmr->tcnt[0] = (tcnt >> 8) & 0xff; in timer_events()
394 tmr->tcnt[1] = tcnt & 0xff; in timer_events()
[all …]
/dports/emulators/qemu-devel/qemu-de8ed1055c2ce18c95f597eb10df360dcb534f99/hw/timer/
H A Drenesas_tmr.c142 tcnt[1] = tmr->tcnt[1] + (elapsed & 0xff); in read_tcnt()
147 tcnt[1] = tmr->tcnt[1]; in read_tcnt()
155 tcnt[0] = tmr->tcnt[0] + elapsed; in read_tcnt()
158 tcnt[0] = tmr->tcnt[0] + ovf; in read_tcnt()
162 tcnt[0] = tmr->tcnt[0]; in read_tcnt()
168 tcnt[0] = tmr->tcnt[0]; in read_tcnt()
169 tcnt[1] = tmr->tcnt[1]; in read_tcnt()
377 uint16_t tcnt; in timer_events() local
393 tmr->tcnt[0] = (tcnt >> 8) & 0xff; in timer_events()
394 tmr->tcnt[1] = tcnt & 0xff; in timer_events()
[all …]
/dports/devel/tinygo/tinygo-0.14.1/lib/CMSIS/CMSIS/RTOS/RTX/SRC/
H A Drt_Timer.c64 os_tmr.tcnt--; in rt_tmr_tick()
65 while ((os_tmr.tcnt == 0U) && ((p = os_tmr.next) != NULL)) { in rt_tmr_tick()
68 os_tmr.tcnt = p->tcnt; in rt_tmr_tick()
76 OS_ID rt_tmr_create (U16 tcnt, U16 info) { in rt_tmr_create() argument
81 U32 delta,itcnt = tcnt; in rt_tmr_create()
83 if ((tcnt == 0U) || (m_tmr == NULL)) { in rt_tmr_create()
92 delta = p->tcnt; in rt_tmr_create()
95 delta += p->tcnt; in rt_tmr_create()
99 p_tmr->tcnt = (U16)(delta - itcnt); in rt_tmr_create()
101 p->tcnt -= p_tmr->tcnt; in rt_tmr_create()
[all …]
/dports/emulators/qemu5/qemu-5.2.0/hw/timer/
H A Drenesas_tmr.c126 uint16_t tcnt[2]; in read_tcnt() local
139 tcnt[1] = tmr->tcnt[1] + (elapsed & 0xff); in read_tcnt()
144 tcnt[0] = tmr->tcnt[0] + elapsed; in read_tcnt()
148 tcnt[0] = tmr->tcnt[0] + ovf; in read_tcnt()
153 tcnt[0] = tmr->tcnt[0]; in read_tcnt()
154 tcnt[1] = tmr->tcnt[1]; in read_tcnt()
157 return tcnt[ch]; in read_tcnt()
361 uint16_t tcnt; in timer_events() local
377 tmr->tcnt[0] = (tcnt >> 8) & 0xff; in timer_events()
378 tmr->tcnt[1] = tcnt & 0xff; in timer_events()
[all …]
/dports/biology/sra-tools/sra-tools-2.11.0/ncbi-vdb/libs/klib/
H A Dtrieval.c54 unsigned int tcnt; member
66 ++ pb -> tcnt; in TTransCountTNodes()
82 pb . vcnt = pb . tcnt = 0; in TTransValidate()
90 ++ pb . tcnt; in TTransValidate()
98 if ( pb . tcnt != trans -> tcnt ) in TTransValidate()
101 trans -> tcnt, pb . tcnt ); in TTransValidate()
105 else if ( pb . tcnt == 0 && trans -> child != NULL ) in TTransValidate()
116 if ( trans -> child == NULL && pb . tcnt != 0 ) in TTransValidate()
118 if ( pb . tcnt + pb . vcnt > tt -> limit ) in TTransValidate()
H A Dtrie.c600 uint32_t tcnt; member
640 ++ pb -> tcnt; in CreateKids()
700 -- pb -> tcnt; in WhackKids()
756 ++ child -> tcnt; in MoveKids()
760 if ( child -> tcnt != 0 && ( child -> tcnt + child -> vcnt > tt -> limit ) ) in MoveKids()
791 pb . tcnt = 0; in TrieExplodeTrans()
803 if ( pb . tcnt != 0 ) in TrieExplodeTrans()
824 trans -> tcnt = pb . tcnt; in TrieExplodeTrans()
836 if ( child -> tcnt != 0 && ( child -> tcnt + child -> vcnt > tt -> limit ) ) in TrieExplodeTrans()
947 ++ trans -> tcnt; in TrieInsertEngine()
[all …]
/dports/biology/ncbi-vdb/ncbi-vdb-2.11.0/libs/klib/
H A Dtrieval.c54 unsigned int tcnt; member
66 ++ pb -> tcnt; in TTransCountTNodes()
82 pb . vcnt = pb . tcnt = 0; in TTransValidate()
90 ++ pb . tcnt; in TTransValidate()
98 if ( pb . tcnt != trans -> tcnt ) in TTransValidate()
101 trans -> tcnt, pb . tcnt ); in TTransValidate()
105 else if ( pb . tcnt == 0 && trans -> child != NULL ) in TTransValidate()
116 if ( trans -> child == NULL && pb . tcnt != 0 ) in TTransValidate()
118 if ( pb . tcnt + pb . vcnt > tt -> limit ) in TTransValidate()
H A Dtrie.c600 uint32_t tcnt; member
640 ++ pb -> tcnt; in CreateKids()
700 -- pb -> tcnt; in WhackKids()
756 ++ child -> tcnt; in MoveKids()
760 if ( child -> tcnt != 0 && ( child -> tcnt + child -> vcnt > tt -> limit ) ) in MoveKids()
791 pb . tcnt = 0; in TrieExplodeTrans()
803 if ( pb . tcnt != 0 ) in TrieExplodeTrans()
824 trans -> tcnt = pb . tcnt; in TrieExplodeTrans()
836 if ( child -> tcnt != 0 && ( child -> tcnt + child -> vcnt > tt -> limit ) ) in TrieExplodeTrans()
947 ++ trans -> tcnt; in TrieInsertEngine()
[all …]
/dports/emulators/mess/mame-mame0226/src/devices/cpu/h8/
H A Dh8_timer8.cpp172 return tcnt; in tcnt_r()
178 tcnt = data; in tcnt_w()
198 tcnt = 0x00; in device_reset()
230 tcnt = tt % counter_cycle; in update_counter()
281 event_delay = counter_cycle - tcnt; in recalc_event()
288 if(elem > tcnt) { in recalc_event()
290 new_delay = elem - tcnt; in recalc_event()
292 if(tcnt < counter_cycle) in recalc_event()
324 tcnt++; in timer_tick()
326 if(tcnt == tcor[0]) { in timer_tick()
[all …]
H A Dh8_watchdog.cpp29 return (spos + 0x100 - tcnt) << shift; in internal_update()
44 int next_tcnt = tcnt + int(epos - spos); in tcnt_update()
45 tcnt = next_tcnt; in tcnt_update()
64 tcnt = 0; in tcnt_update()
94 tcnt = data & 0xff; in wd_w()
124 tcnt = 0x00; in device_reset()
H A Dh8_timer16.cpp128 return tcnt; in tcnt_r()
134 COMBINE_DATA(&tcnt); in tcnt_w()
176 save_item(NAME(tcnt)); in device_start()
190 tcnt = 0; in device_reset()
235 int tt = tcnt + new_time - base_time; in update_counter()
236 tcnt = tt % counter_cycle; in update_counter()
248 tcnt = (((tcnt ^ 0xffff) + new_time - base_time) % counter_cycle) ^ 0xffff; in update_counter()
280 event_delay = counter_cycle - tcnt; in recalc_event()
288 if(tgr[i] > tcnt) { in recalc_event()
290 new_delay = tgr[i] - tcnt; in recalc_event()
[all …]
/dports/emulators/mame/mame-mame0226/src/devices/cpu/h8/
H A Dh8_timer8.cpp172 return tcnt; in tcnt_r()
178 tcnt = data; in tcnt_w()
198 tcnt = 0x00; in device_reset()
230 tcnt = tt % counter_cycle; in update_counter()
281 event_delay = counter_cycle - tcnt; in recalc_event()
288 if(elem > tcnt) { in recalc_event()
290 new_delay = elem - tcnt; in recalc_event()
292 if(tcnt < counter_cycle) in recalc_event()
324 tcnt++; in timer_tick()
326 if(tcnt == tcor[0]) { in timer_tick()
[all …]
H A Dh8_watchdog.cpp29 return (spos + 0x100 - tcnt) << shift; in internal_update()
44 int next_tcnt = tcnt + int(epos - spos); in tcnt_update()
45 tcnt = next_tcnt; in tcnt_update()
64 tcnt = 0; in tcnt_update()
94 tcnt = data & 0xff; in wd_w()
124 tcnt = 0x00; in device_reset()
H A Dh8_timer16.cpp128 return tcnt; in tcnt_r()
134 COMBINE_DATA(&tcnt); in tcnt_w()
176 save_item(NAME(tcnt)); in device_start()
190 tcnt = 0; in device_reset()
235 int tt = tcnt + new_time - base_time; in update_counter()
236 tcnt = tt % counter_cycle; in update_counter()
248 tcnt = (((tcnt ^ 0xffff) + new_time - base_time) % counter_cycle) ^ 0xffff; in update_counter()
280 event_delay = counter_cycle - tcnt; in recalc_event()
288 if(tgr[i] > tcnt) { in recalc_event()
290 new_delay = tgr[i] - tcnt; in recalc_event()
[all …]
/dports/math/mathomatic/mathomatic-ceb0861/
H A Dblt.h37 int tcnt; local
52 tcnt = cnt;
55 tdest += tcnt;
56 tsrc += tcnt;
57 while (--tcnt >= 0)
60 while (--tcnt >= 0)
/dports/biology/ncbi-blast+/ncbi-blast-2.12.0+-src/c++/include/util/bitset/
H A Dbmsse2.h114 bm::id_t BM_ALIGN16 tcnt[4] BM_ALIGN16ATTR; in sse2_bit_count() local
115 _mm_store_si128((__m128i*)tcnt, mcnt); in sse2_bit_count()
117 return tcnt[0] + tcnt[1] + tcnt[2] + tcnt[3]; in sse2_bit_count()
179 bm::id_t BM_ALIGN16 tcnt[4] BM_ALIGN16ATTR; in sse2_bit_count_op() local
180 _mm_store_si128((__m128i*)tcnt, mcnt); in sse2_bit_count_op()
182 return tcnt[0] + tcnt[1] + tcnt[2] + tcnt[3]; in sse2_bit_count_op()
222 bm::id_t BM_ALIGN16 tcnt[4] BM_ALIGN16ATTR; in sse2_bit_block_calc_count_change() local
234 _mm_store_si128((__m128i*)tcnt, tmp2); in sse2_bit_block_calc_count_change()
297 BM_INCWORD_BITCOUNT(count, tcnt[1]); in sse2_bit_block_calc_count_change()
328 _mm_store_si128((__m128i*)tcnt, mcnt); in sse2_bit_block_calc_count_change()
[all …]
/dports/biology/ncbi-cxx-toolkit/ncbi_cxx--25_2_0/include/util/bitset/
H A Dbmsse2.h114 bm::id_t BM_ALIGN16 tcnt[4] BM_ALIGN16ATTR; in sse2_bit_count() local
115 _mm_store_si128((__m128i*)tcnt, mcnt); in sse2_bit_count()
117 return tcnt[0] + tcnt[1] + tcnt[2] + tcnt[3]; in sse2_bit_count()
179 bm::id_t BM_ALIGN16 tcnt[4] BM_ALIGN16ATTR; in sse2_bit_count_op() local
180 _mm_store_si128((__m128i*)tcnt, mcnt); in sse2_bit_count_op()
182 return tcnt[0] + tcnt[1] + tcnt[2] + tcnt[3]; in sse2_bit_count_op()
222 bm::id_t BM_ALIGN16 tcnt[4] BM_ALIGN16ATTR; in sse2_bit_block_calc_count_change() local
234 _mm_store_si128((__m128i*)tcnt, tmp2); in sse2_bit_block_calc_count_change()
297 BM_INCWORD_BITCOUNT(count, tcnt[1]); in sse2_bit_block_calc_count_change()
328 _mm_store_si128((__m128i*)tcnt, mcnt); in sse2_bit_block_calc_count_change()
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/media/usb/pvrusb2/
H A Dpvrusb2-eeprom.c41 unsigned pcnt,tcnt; in pvr2_eeprom_fetch() local
77 for (tcnt = 0; tcnt < EEPROM_SIZE; tcnt += pcnt) { in pvr2_eeprom_fetch()
79 if (pcnt + tcnt > EEPROM_SIZE) pcnt = EEPROM_SIZE-tcnt; in pvr2_eeprom_fetch()
80 offs = tcnt + (eepromSize - EEPROM_SIZE); in pvr2_eeprom_fetch()
88 msg[1].buf = eeprom+tcnt; in pvr2_eeprom_fetch()
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/media/usb/pvrusb2/
H A Dpvrusb2-eeprom.c41 unsigned pcnt,tcnt; in pvr2_eeprom_fetch() local
77 for (tcnt = 0; tcnt < EEPROM_SIZE; tcnt += pcnt) { in pvr2_eeprom_fetch()
79 if (pcnt + tcnt > EEPROM_SIZE) pcnt = EEPROM_SIZE-tcnt; in pvr2_eeprom_fetch()
80 offs = tcnt + (eepromSize - EEPROM_SIZE); in pvr2_eeprom_fetch()
88 msg[1].buf = eeprom+tcnt; in pvr2_eeprom_fetch()
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/media/usb/pvrusb2/
H A Dpvrusb2-eeprom.c41 unsigned pcnt,tcnt; in pvr2_eeprom_fetch() local
77 for (tcnt = 0; tcnt < EEPROM_SIZE; tcnt += pcnt) { in pvr2_eeprom_fetch()
79 if (pcnt + tcnt > EEPROM_SIZE) pcnt = EEPROM_SIZE-tcnt; in pvr2_eeprom_fetch()
80 offs = tcnt + (eepromSize - EEPROM_SIZE); in pvr2_eeprom_fetch()
88 msg[1].buf = eeprom+tcnt; in pvr2_eeprom_fetch()
/dports/emulators/x49gp/x49gp/x49gp-code/
H A Ds3c2410_timer.c44 uint32_t tcnt; member
90 S3C2410_OFFSET(TIMER, TCNTO0, 0, timer->timeout[0].tcnt), in s3c2410_timer_data_init()
93 S3C2410_OFFSET(TIMER, TCNTO1, 0, timer->timeout[1].tcnt), in s3c2410_timer_data_init()
96 S3C2410_OFFSET(TIMER, TCNTO2, 0, timer->timeout[2].tcnt), in s3c2410_timer_data_init()
101 S3C2410_OFFSET(TIMER, TCNTO4, 0, timer->timeout[4].tcnt) in s3c2410_timer_data_init()
134 t->tcnt = t->tcntb; in s3c2410_timer_timeout()
172 if (t->tcnt) { in s3c2410_timer_next_interrupt()
173 irq += (t->tcnt - 1) * t->interval; in s3c2410_timer_next_interrupt()
245 t->tcnt = t->tcntb; in s3c2410_update_tcon()
278 return t->tcnt; in s3c2410_read_tcnt()
[all …]
/dports/net-mgmt/argus3/argus-3.0.8.2/argus/
H A DArgusEvents.c266 int ocnt = 0, cnt = 0, tcnt = 0, len = ARGUS_MAX_OS_BUF; in ArgusGenerateEventRecord() local
288 tcnt = strlen(buf); in ArgusGenerateEventRecord()
289 if ((cnt = read(fd, &ptr[tcnt], (ARGUS_MAX_OS_STATUS - tcnt))) > 0) { in ArgusGenerateEventRecord()
302 tcnt = strlen(rec->argus_event.data.array); in ArgusGenerateEventRecord()
303 cnt = read(fd, &rec->argus_event.data.array[tcnt], len - tcnt); in ArgusGenerateEventRecord()
319 tcnt = strlen(result); in ArgusGenerateEventRecord()
324 while ((!(feof(fd))) && (!(ferror(fd))) && (len > tcnt)) { in ArgusGenerateEventRecord()
325 if ((ptr = fgets(&result[tcnt], len - tcnt, fd)) == NULL) { in ArgusGenerateEventRecord()
331 tcnt += strlen(ptr); in ArgusGenerateEventRecord()
354 unsigned long slen = tcnt, dlen = ARGUS_MAX_OS_STATUS; in ArgusGenerateEventRecord()
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/phy/microchip/
H A Dsparx5_serdes.h52 int id, int tinst, int tcnt, in sdx5_addr() argument
58 WARN_ON((tinst) >= tcnt); in sdx5_addr()
80 int id, int tinst, int tcnt, in sdx5_rmw() argument
86 sdx5_addr(priv->regs, id, tinst, tcnt, in sdx5_rmw()
95 int id, int tinst, int tcnt, in sdx5_inst_rmw() argument
125 int id, int tinst, int tcnt, in sdx5_inst_addr() argument

12345678910>>...32