Home
last modified time | relevance | path

Searched refs:t (Results 1 – 25 of 136) sorted by relevance

123456

/components/drivers/i2c/
A Ddev_i2c_dm.c32 struct i2c_timings *t = timings; in i2c_timings_ofw_parse() local
34 i2c_parse_timing(dev_np, "clock-frequency", &t->bus_freq_hz, I2C_MAX_STANDARD_MODE_FREQ, udef); in i2c_timings_ofw_parse()
36 …def = t->bus_freq_hz <= I2C_MAX_STANDARD_MODE_FREQ ? 1000 : t->bus_freq_hz <= I2C_MAX_FAST_MODE_FR… in i2c_timings_ofw_parse()
37 i2c_parse_timing(dev_np, "i2c-scl-rising-time-ns", &t->scl_rise_ns, def, udef); in i2c_timings_ofw_parse()
39 def = t->bus_freq_hz <= I2C_MAX_FAST_MODE_FREQ ? 300 : 120; in i2c_timings_ofw_parse()
40 i2c_parse_timing(dev_np, "i2c-scl-falling-time-ns", &t->scl_fall_ns, def, udef); in i2c_timings_ofw_parse()
42 i2c_parse_timing(dev_np, "i2c-scl-internal-delay-ns", &t->scl_int_delay_ns, 0, udef); in i2c_timings_ofw_parse()
43 i2c_parse_timing(dev_np, "i2c-sda-falling-time-ns", &t->sda_fall_ns, t->scl_fall_ns, udef); in i2c_timings_ofw_parse()
44 i2c_parse_timing(dev_np, "i2c-sda-hold-time-ns", &t->sda_hold_ns, 0, udef); in i2c_timings_ofw_parse()
45 i2c_parse_timing(dev_np, "i2c-digital-filter-width-ns", &t->digital_filter_width_ns, 0, udef); in i2c_timings_ofw_parse()
[all …]
/components/net/lwip/lwip-2.1.2/src/core/
A Dtimeouts.c73 #define TIME_LESS_THAN(t, compare_to) ( (((u32_t)((t)-(compare_to))) > LWIP_MAX_TIMEOUT) ? 1 : 0 ) argument
186 struct sys_timeo *timeout, *t; in sys_timeout_abs() local
213 for (t = next_timeout; t != NULL; t = t->next) { in sys_timeout_abs()
214 if ((t->next == NULL) || TIME_LESS_THAN(timeout->time, t->next->time)) { in sys_timeout_abs()
216 t->next = timeout; in sys_timeout_abs()
319 struct sys_timeo *prev_t, *t; in sys_untimeout() local
327 for (t = next_timeout, prev_t = NULL; t != NULL; prev_t = t, t = t->next) { in sys_untimeout()
328 if ((t->h == handler) && (t->arg == arg)) { in sys_untimeout()
408 struct sys_timeo *t; in sys_restart_timeouts() local
417 for (t = next_timeout; t != NULL; t = t->next) { in sys_restart_timeouts()
[all …]
A Dmemp.c103 struct memp *t, *h; in memp_sanity() local
105 t = *desc->tab; in memp_sanity()
106 if (t != NULL) { in memp_sanity()
107 for (h = t->next; (t != NULL) && (h != NULL); t = t->next, in memp_sanity()
109 if (t == h) { in memp_sanity()
/components/net/lwip/lwip-2.0.3/src/core/
A Dtimeouts.c244 for (t = next_timeout; t != NULL; t = t->next) { in sys_timeout_debug()
245 timeout->time -= t->time; in sys_timeout_debug()
246 if (t->next == NULL || t->next->time > timeout->time) { in sys_timeout_debug()
247 if (t->next != NULL) { in sys_timeout_debug()
257 t->next = timeout; in sys_timeout_debug()
275 struct sys_timeo *prev_t, *t; in sys_untimeout() local
281 for (t = next_timeout, prev_t = NULL; t != NULL; prev_t = t, t = t->next) { in sys_untimeout()
282 if ((t->h == handler) && (t->arg == arg)) { in sys_untimeout()
286 next_timeout = t->next; in sys_untimeout()
291 if (t->next != NULL) { in sys_untimeout()
[all …]
/components/net/lwip/lwip-1.4.1/src/core/
A Dtimers.c296 for(t = next_timeout; t != NULL; t = t->next) { in sys_timeout_debug()
297 timeout->time -= t->time; in sys_timeout_debug()
298 if (t->next == NULL || t->next->time > timeout->time) { in sys_timeout_debug()
299 if (t->next != NULL) { in sys_timeout_debug()
303 t->next = timeout; in sys_timeout_debug()
323 struct sys_timeo *prev_t, *t; in sys_untimeout() local
329 for (t = next_timeout, prev_t = NULL; t != NULL; prev_t = t, t = t->next) { in sys_untimeout()
330 if ((t->h == handler) && (t->arg == arg)) { in sys_untimeout()
334 next_timeout = t->next; in sys_untimeout()
339 if (t->next != NULL) { in sys_untimeout()
[all …]
/components/libc/compilers/common/
A Dctime.c351 if (t) in time()
352 *t = _t; in time()
397 t->tm_min += t->tm_sec / 60; in timegm()
402 t->tm_hour += t->tm_min / 60; in timegm()
407 t->tm_mday += t->tm_hour / 24; in timegm()
412 t->tm_year += t->tm_mon / 12; in timegm()
415 while (t->tm_mday > __spm[1 + t->tm_mon]) in timegm()
417 if (t->tm_mon == 1 && __isleap(t->tm_year + 1900)) in timegm()
421 t->tm_mday -= __spm[t->tm_mon]; in timegm()
453 day += t->tm_yday = __spm[t->tm_mon] + t->tm_mday - 1 + in timegm()
[all …]
/components/net/lwip/lwip-2.0.3/src/include/lwip/
A Dapi.h84 #define NETCONNTYPE_GROUP(t) ((t)&0xF0) argument
85 #define NETCONNTYPE_DATAGRAM(t) ((t)&0xE0) argument
88 #define NETCONNTYPE_ISIPV6(t) (((t)&NETCONN_TYPE_IPV6) != 0) argument
89 #define NETCONNTYPE_ISUDPLITE(t) (((t)&0xF3) == NETCONN_UDPLITE) argument
90 #define NETCONNTYPE_ISUDPNOCHKSUM(t) (((t)&0xF3) == NETCONN_UDPNOCHKSUM) argument
92 #define NETCONNTYPE_ISIPV6(t) (0)
93 #define NETCONNTYPE_ISUDPLITE(t) ((t) == NETCONN_UDPLITE)
94 #define NETCONNTYPE_ISUDPNOCHKSUM(t) ((t) == NETCONN_UDPNOCHKSUM)
293 #define netconn_new(t) netconn_new_with_proto_and_callback(t, 0, NULL) argument
294 #define netconn_new_with_callback(t, c) netconn_new_with_proto_and_callback(t, 0, c) argument
[all …]
/components/drivers/cputime/
A Dcputimer.c39 struct rt_cputimer *t; in _cputime_timeout_callback() local
41 clock_cpu_settimeout(t->timeout_tick, _cputime_timeout_callback, t); in _cputime_timeout_callback()
51 struct rt_cputimer *t; in _set_next_timeout() local
58 if (t != _cputimer_nowtimer && t->timeout_tick < _cputimer_nowtimer->timeout_tick) in _set_next_timeout()
60 _cputimer_nowtimer = t; in _set_next_timeout()
61 clock_cpu_settimeout(t->timeout_tick, _cputime_timeout_callback, t); in _set_next_timeout()
66 _cputimer_nowtimer = t; in _set_next_timeout()
67 clock_cpu_settimeout(t->timeout_tick, _cputime_timeout_callback, t); in _set_next_timeout()
148 struct rt_cputimer *t; in rt_cputimer_start() local
151 t = rt_list_entry(p, struct rt_cputimer, row); in rt_cputimer_start()
[all …]
/components/net/lwip/lwip-2.1.2/src/include/lwip/
A Dapi.h97 #define NETCONNTYPE_GROUP(t) ((t)&0xF0) argument
98 #define NETCONNTYPE_DATAGRAM(t) ((t)&0xE0) argument
101 #define NETCONNTYPE_ISIPV6(t) (((t)&NETCONN_TYPE_IPV6) != 0) argument
102 #define NETCONNTYPE_ISUDPLITE(t) (((t)&0xF3) == NETCONN_UDPLITE) argument
103 #define NETCONNTYPE_ISUDPNOCHKSUM(t) (((t)&0xF3) == NETCONN_UDPNOCHKSUM) argument
105 #define NETCONNTYPE_ISIPV6(t) (0)
106 #define NETCONNTYPE_ISUDPLITE(t) ((t) == NETCONN_UDPLITE)
107 #define NETCONNTYPE_ISUDPNOCHKSUM(t) ((t) == NETCONN_UDPNOCHKSUM)
310 #define netconn_new(t) netconn_new_with_proto_and_callback(t, 0, NULL) argument
311 #define netconn_new_with_callback(t, c) netconn_new_with_proto_and_callback(t, 0, c) argument
[all …]
/components/libc/posix/io/termios/
A Dtermios.c249 void cfmakeraw(struct termios *t) in cfmakeraw() argument
251 t->c_iflag &= ~(IGNBRK|BRKINT|PARMRK|ISTRIP|INLCR|IGNCR|ICRNL|IXON); in cfmakeraw()
252 t->c_oflag &= ~OPOST; in cfmakeraw()
253 t->c_lflag &= ~(ECHO|ECHONL|ICANON|ISIG|IEXTEN); in cfmakeraw()
254 t->c_cflag &= ~(CSIZE|PARENB); in cfmakeraw()
255 t->c_cflag |= CS8; in cfmakeraw()
256 t->c_cc[VMIN] = 1; in cfmakeraw()
257 t->c_cc[VTIME] = 0; in cfmakeraw()
/components/libc/cplusplus/cpp11/armclang/
A Dclock.cpp17 unsigned int t = std::time(nullptr); in __ARM_TPL_clock_realtime() local
18 __ts->tv_sec = t; in __ARM_TPL_clock_realtime()
25 unsigned int t = rt_tick_get(); in __ARM_TPL_clock_monotonic() local
26 __ts->tv_sec = t / RT_TICK_PER_SECOND; in __ARM_TPL_clock_monotonic()
27 __ts->tv_nsec = (t %RT_TICK_PER_SECOND) * NANOSECOND_PER_TICK ; in __ARM_TPL_clock_monotonic()
/components/lwp/arch/arm/common/
A Dreloc.c56 uint32_t t; in arch_elf_reloc() local
57 t = (v2 >> 8); in arch_elf_reloc()
58 if (t) /* 0 is UDF */ in arch_elf_reloc()
61 *(uint32_t*)addr = (uint32_t)((char*)text_start + dynsym[t].st_value); in arch_elf_reloc()
102 uint32_t t; in arch_elf_reloc() local
103 t = (v2 >> 8); in arch_elf_reloc()
104 if (t) /* 0 is UDF */ in arch_elf_reloc()
106 … *(uint32_t*)((char*)text_start + v1) = (uint32_t)((char*)text_start + dynsym[t].st_value); in arch_elf_reloc()
/components/lwp/arch/risc-v/common/
A Dreloc.c47 uint32_t t; in arch_elf_reloc() local
48 t = (v2 >> 8); in arch_elf_reloc()
49 if (t) /* 0 is UDF */ in arch_elf_reloc()
51 *(rt_size_t *)addr = (((rt_size_t)text_start) + dynsym[t].st_value); in arch_elf_reloc()
90 uint32_t t; in arch_elf_reloc() local
91 t = (v2 >> 8); in arch_elf_reloc()
92 if (t) /* 0 is UDF */ in arch_elf_reloc()
94 …nt32_t *)(((rt_size_t)text_start) + v1) = (uint32_t)(((rt_size_t)text_start) + dynsym[t].st_value); in arch_elf_reloc()
/components/libc/compilers/common/include/sys/
A Dtime.h106 int stime(const time_t *t);
107 time_t timegm(struct tm * const t);
113 char* asctime_r(const struct tm *t, char *buf);
115 struct tm* localtime_r(const time_t* t, struct tm* r);
119 struct tm* gmtime(const time_t* t);
120 struct tm* localtime(const time_t* t);
121 time_t mktime(struct tm* const t);
123 time_t time(time_t* t);
/components/net/lwip/port/
A Dsys_arch.c172 s32_t t; in sys_arch_sem_wait() local
181 t = RT_WAITING_FOREVER; in sys_arch_sem_wait()
187 t = 1; in sys_arch_sem_wait()
192 ret = rt_sem_take(*sem, t); in sys_arch_sem_wait()
401 s32_t t; in sys_arch_mbox_fetch() local
411 t = RT_WAITING_FOREVER; in sys_arch_mbox_fetch()
417 t = 1; in sys_arch_mbox_fetch()
510 rt_thread_t t; in sys_thread_new() local
516 RT_ASSERT(t != RT_NULL); in sys_thread_new()
519 rt_thread_startup(t); in sys_thread_new()
[all …]
/components/net/lwip/lwip-1.4.1/src/include/lwip/
A Dapi.h79 #define NETCONNTYPE_GROUP(t) (t&0xF0) argument
80 #define NETCONNTYPE_DATAGRAM(t) (t&0xE0) argument
212 #define netconn_new(t) netconn_new_with_proto_and_callback(t, 0, NULL) argument
213 #define netconn_new_with_callback(t, c) netconn_new_with_proto_and_callback(t, 0, c) argument
215 netconn *netconn_new_with_proto_and_callback(enum netconn_type t, u8_t proto,
/components/lwp/terminal/freebsd/
A Dtty.c766 if (t->__c_ispeed < B50) in ttydevsw_defparam()
767 t->__c_ispeed = B50; in ttydevsw_defparam()
768 else if (t->__c_ispeed > B115200) in ttydevsw_defparam()
769 t->__c_ispeed = B115200; in ttydevsw_defparam()
770 if (t->__c_ospeed < B50) in ttydevsw_defparam()
771 t->__c_ospeed = B50; in ttydevsw_defparam()
773 t->__c_ospeed = B115200; in ttydevsw_defparam()
774 t->c_cflag |= CREAD; in ttydevsw_defparam()
1189 if (t->__c_ispeed == 0) in tty_generic_ioctl()
1190 t->__c_ispeed = t->__c_ospeed; in tty_generic_ioctl()
[all …]
/components/net/lwip/lwip-1.4.1/src/include/ipv4/lwip/
A Dicmp.h95 #define ICMPH_TYPE_SET(hdr, t) ((hdr)->type = (t)) argument
102 void icmp_dest_unreach(struct pbuf *p, enum icmp_dur_type t);
103 void icmp_time_exceeded(struct pbuf *p, enum icmp_te_type t);
/components/drivers/pic/
A Dpic-gicv3.h77 #define GICD_TYPER_ID_BITS(t) ((((t) >> 19) & 0x1f) + 1) argument
78 #define GICD_TYPER_NUM_LPIS(t) ((((t) >> 11) & 0x1f) + 1) argument
79 #define GICD_TYPER_SPIS(t) ((((t) & 0x1f) + 1) * 32) argument
80 #define GICD_TYPER_ESPIS(t) (((t) & GICD_TYPER_ESPI) ? GICD_TYPER_SPIS((t) >> 27) : 0) argument
144 #define GICR_TYPER_NR_PPIS(t) (16 + ({ int __ppinum = (((t) >> 27) & 0x1f); __ppinum <= 2 ? __ppi… argument
/components/net/lwip/lwip-2.0.3/src/netif/ppp/
A DPPPD_FOLLOWUP37 Don't care.
43 Don't care.
151 Change on Makefile, don't care.
308 Solaris port, don't care.
370 We didn't merge 08ef47ca ;-)
443 Merge commit, we don't care.
449 Merge commit, we don't care.
455 Merge commit, we don't care.
461 Merge commit, we don't care.
467 Merge commit, we don't care.
[all …]
/components/net/lwip/lwip-2.1.2/src/netif/ppp/
A DPPPD_FOLLOWUP37 Don't care.
43 Don't care.
151 Change on Makefile, don't care.
308 Solaris port, don't care.
370 We didn't merge 08ef47ca ;-)
443 Merge commit, we don't care.
449 Merge commit, we don't care.
455 Merge commit, we don't care.
461 Merge commit, we don't care.
467 Merge commit, we don't care.
[all …]
/components/net/lwip/lwip-1.4.1/src/core/ipv4/
A Dinet_chksum.c138 u16_t *ps, t = 0; in lwip_standard_chksum() local
144 ((u8_t *)&t)[1] = *pb++; in lwip_standard_chksum()
157 ((u8_t *)&t)[0] = *(u8_t *)ps; in lwip_standard_chksum()
161 sum += t; in lwip_standard_chksum()
194 u16_t *ps, t = 0; in lwip_standard_chksum() local
201 ((u8_t *)&t)[1] = *pb++; in lwip_standard_chksum()
241 ((u8_t *)&t)[0] = *(u8_t *)ps; in lwip_standard_chksum()
244 sum += t; /* add end bytes */ in lwip_standard_chksum()
/components/net/lwip/lwip-2.1.2/test/sockets/
A Dsockets_stresstest.c457 sys_thread_t t; in sockets_stresstest_conn_client() local
464 LWIP_ASSERT("thread != NULL", t != 0); in sockets_stresstest_conn_client()
570 sys_thread_t t; in sockets_stresstest_start_clients() local
573 LWIP_ASSERT("thread != NULL", t != 0); in sockets_stresstest_start_clients()
611 sys_thread_t t; in sockets_stresstest_listener() local
615 LWIP_ASSERT("thread != NULL", t != 0); in sockets_stresstest_listener()
659 sys_thread_t t; in sockets_stresstest_init_loopback() local
672 LWIP_ASSERT("thread != NULL", t != 0); in sockets_stresstest_init_loopback()
678 sys_thread_t t; in sockets_stresstest_init_server() local
690 t = sys_thread_new("sockets_stresstest_listener", sockets_stresstest_listener, settings, 0, 0); in sockets_stresstest_init_server()
[all …]
/components/drivers/ktime/src/
A Dboottime.c27 rt_weak rt_err_t rt_ktime_boottime_get_s(time_t *t) in rt_ktime_boottime_get_s() argument
29 RT_ASSERT(t != RT_NULL); in rt_ktime_boottime_get_s()
33 *t = ns / (1000ULL * 1000 * 1000); in rt_ktime_boottime_get_s()
/components/libc/cplusplus/os/
A Dcxx_mail.h63 T *t = NULL; variable
71 rt_mb_recv(&mID, &t, tick);
73 return t;

Completed in 37 milliseconds

123456