Home
last modified time | relevance | path

Searched refs:id (Results 1 – 25 of 51) sorted by relevance

123

/picolibc-latest/newlib/libc/machine/spu/
Dspu_timer_svcs.c63 int id; in spu_timer_alloc() local
70 id = spu_extract ((spu_sub ((unsigned) 31, in spu_timer_alloc()
75 if (id == -1) in spu_timer_alloc()
79 __spu_timers_avail &= ~(1 << (id)); in spu_timer_alloc()
80 id = (SPU_TIMER_NTIMERS - 1) - id; in spu_timer_alloc()
83 (__spu_timers + id)->func = func; in spu_timer_alloc()
84 (__spu_timers + id)->intvl = interval; in spu_timer_alloc()
85 (__spu_timers + id)->id = id; in spu_timer_alloc()
86 (__spu_timers + id)->state = SPU_TIMER_STOPPED; in spu_timer_alloc()
89 (__spu_timers + id)->next = __spu_timers_stopped; in spu_timer_alloc()
[all …]
Dspu_timer_free.c47 spu_timer_free (int id) in spu_timer_free() argument
52 if (id < 0 || id >= SPU_TIMER_NTIMERS) in spu_timer_free()
55 if (__spu_timers[id].state == SPU_TIMER_STOPPED) in spu_timer_free()
64 while (t && (t->id != id)) in spu_timer_free()
76 __spu_timers_avail |= (1 << (id)); in spu_timer_free()
77 __spu_timers[id].state = SPU_TIMER_FREE; in spu_timer_free()
86 return (__spu_timers[id].state == SPU_TIMER_FREE) ? in spu_timer_free()
Dspu_timer_stop.c44 spu_timer_stop (int id) in spu_timer_stop() argument
49 if (id < 0 || id >= SPU_TIMER_NTIMERS) in spu_timer_stop()
57 if (__spu_timers[id].state == SPU_TIMER_ACTIVE || in spu_timer_stop()
58 __spu_timers[id].state == SPU_TIMER_HANDLED) in spu_timer_stop()
64 t = (__spu_timers[id].state == SPU_TIMER_ACTIVE) in spu_timer_stop()
67 pn = (__spu_timers[id].state == SPU_TIMER_ACTIVE) in spu_timer_stop()
70 while (t && t->id != id) in spu_timer_stop()
94 __spu_timers[id].state = SPU_TIMER_STOPPED; in spu_timer_stop()
Dspu_timer_slih_reg.c66 unsigned int id; in spu_slih_register() local
70 id = SPU_EVENT_ID (mask); in spu_slih_register()
71 __spu_slih_handlers[id] = (func) ? func : __spu_default_slih; in spu_slih_register()
72 mask &= ~(0x80000000 >> id); in spu_slih_register()
Dspu_timer_slih.c107 __spu_timer_start (int id, int reset) in __spu_timer_start() argument
111 spu_timer_t *start = &__spu_timers[id]; in __spu_timer_start()
201 (*active->func) (active->id); in spu_clock_slih()
209 __spu_timer_start (handled->id, 0); in spu_clock_slih()
Dspu_timer_internal.h58 int id __attribute__ ((__aligned__ (16))); member
101 extern void __spu_timer_start (int id, int reset);
/picolibc-latest/newlib/libc/sys/amdgcn/
Dlock.c53 int id = __gcn_thread_id (); in __gcn_lock_acquire_int() local
58 _try, *lock_ptr, id); in __gcn_lock_acquire_int()
63 while (!__atomic_compare_exchange_n (lock_ptr, &expected, id, 0, in __gcn_lock_acquire_int()
78 _try, *lock_ptr, id); in __gcn_lock_acquire_int()
100 int id = __gcn_thread_id (); in __gcn_lock_acquire_recursive_int() local
105 lock_ptr, _try, *lock_ptr, id); in __gcn_lock_acquire_recursive_int()
110 if ((lock_value & 0xffffff) == id) in __gcn_lock_acquire_recursive_int()
115 lock_value = ((count + 1) << 24) | id; in __gcn_lock_acquire_recursive_int()
121 lock_ptr, _try, *lock_ptr, id); in __gcn_lock_acquire_recursive_int()
159 int id = __gcn_thread_id (); in __gcn_lock_release_recursive() local
[all …]
/picolibc-latest/newlib/libc/xdr/
Dxdr_float_vax.c191 struct ieee_double id; in xdr_double() local
209 id = lim->ieee; in xdr_double()
213 id.exp = vd.exp - VAX_DBL_BIAS + IEEE_DBL_BIAS; in xdr_double()
214 id.mantissa1 = (vd.mantissa1 << 13) | (vd.mantissa2 >> 3); in xdr_double()
215 id.mantissa2 = ((vd.mantissa2 & MASK (3)) << 29) | in xdr_double()
218 id.sign = vd.sign; in xdr_double()
219 lp = (int32_t *) & id; in xdr_double()
223 lp = (int32_t *) & id; in xdr_double()
229 if ((id.mantissa2 == lim->ieee.mantissa2) && in xdr_double()
230 (id.mantissa1 == lim->ieee.mantissa1) && in xdr_double()
[all …]
/picolibc-latest/newlib/libm/math/
Dsf_atan.c53 __int32_t ix, hx, id; in atanf() local
70 id = -1; in atanf()
75 id = 0; in atanf()
78 id = 1; in atanf()
83 id = 2; in atanf()
86 id = 3; in atanf()
99 if (id < 0) in atanf()
102 z = atanhi[id] - ((x * (s1 + s2) - atanlo[id]) - x); in atanf()
Ds_atan.c106 __int32_t ix, hx, id; in atan64() local
125 id = -1; in atan64()
130 id = 0; in atan64()
133 id = 1; in atan64()
138 id = 2; in atan64()
141 id = 3; in atan64()
154 if (id < 0) in atan64()
157 z = atanhi[id] - ((x * (s1 + s2) - atanlo[id]) - x); in atan64()
/picolibc-latest/newlib/libm/ld/common/
Ds_atanl.c31 int id; in atanl() local
52 id = -1; in atanl()
57 id = 0; x = (2.0l*x-one)/(2.0l+x); in atanl()
59 id = 1; x = (x-one)/(x+one); in atanl()
63 id = 2; x = (x-1.5l)/(one+1.5l*x); in atanl()
65 id = 3; x = -1.0l/x; in atanl()
74 if (id<0) return x - x*(s1+s2); in atanl()
76 z = atanhi[id] - ((x*(s1+s2) - atanlo[id]) - x); in atanl()
/picolibc-latest/newlib/libc/machine/amdgcn/
Dmlock.c76 void *id = reent; in __malloc_lock() local
78 if (id == __heap_lock_id) in __malloc_lock()
97 __heap_lock_id = id; in __malloc_lock()
103 void *id = reent; in __malloc_unlock() local
105 if (id != __heap_lock_id) in __malloc_unlock()
/picolibc-latest/newlib/libc/misc/
Dubsan.c53 __ubsan_handle_out_of_bounds(struct out_of_bounds_data *data, void *id);
56 __ubsan_handle_out_of_bounds(struct out_of_bounds_data *data, void *id) in __ubsan_handle_out_of_bounds() argument
58 (void) id; in __ubsan_handle_out_of_bounds()
/picolibc-latest/newlib/libc/machine/spu/include/
Dspu_timer.h47 extern int spu_timer_free (int id);
48 extern int spu_timer_start (int id);
49 extern int spu_timer_stop (int id);
/picolibc-latest/scripts/
Dcross-m68k-linux-gnu.txt2 c = ['m68k-linux-gnu-gcc', '-march=68020', '-static', '-nostdlib', '-Wl,--build-id=none']
3 cpp = ['m68k-linux-gnu-g++', '-march=68020', '-static', '-nostdlib', '-Wl,--build-id=none']
19 link_spec = '--build-id=none'
Dcross-mips-linux-gnu.txt6 c = ['mips-linux-gnu-gcc', '-nostdlib', '-Wl,--build-id=none']
7 cpp = ['mips-linux-gnu-g++', '-nostdlib', '-Wl,--build-id=none']
22 link_spec = '--build-id=none'
Dcross-power9-fp128.txt2 … '-mfloat128-hardware', '-mvsx', '-mfloat128', '-mcpu=power9', '-Wno-psabi', '-Wl,--build=id=none']
3 … '-mfloat128-hardware', '-mvsx', '-mfloat128', '-mcpu=power9', '-Wno-psabi', '-Wl,--build=id=none']
19 link_spec = '--build-id=none --no-warn-rwx-segments'
Dcross-aarch64-linux-gnu.txt6 c = ['aarch64-linux-gnu-gcc', '-nostdlib', '-Wl,--build-id=none', '-Wl,--no-warn-rwx-segments']
7 cpp = ['aarch64-linux-gnu-g++', '-nostdlib', '-Wl,--build-id=none', '-Wl,--no-warn-rwx-segments']
25 link_spec = '--build-id=none --no-warn-rwx-segments'
Drun-power962 -device ipmi-bmc-sim,id=bmc0 \
67 -chardev stdio,id=s1 \
Drun-sparc46 -chardev stdio,id=con,mux=on \
Drun-sh62 -chardev stdio,id=con,mux=on \
/picolibc-latest/newlib/libc/picolib/machine/m68k/
Dinterrupt.c76 #define i(id,name) [id] = m68k_ ## name ## _isr argument
/picolibc-latest/newlib/libm/test/
Dmath.c107 int id) in ffcheck_id() argument
117 thedouble(p->qs[id].msw, p->qs[id].lsw, &correct.value); in ffcheck_id()
153 if (p->qs[id].merror != merror) in ffcheck_id()
157 name, p->line, merror, p->qs[id].merror); in ffcheck_id()
160 if (p->qs[id].errno_val != errno) in ffcheck_id()
163 name, p->line, errno, p->qs[id].errno_val); in ffcheck_id()
186 int id) in fffcheck_id() argument
200 thedouble(p->qs[id].msw,p->qs[id].lsw, &correct_double.value); in fffcheck_id()
238 if (p->qs[id].merror != merror) in fffcheck_id()
242 name, p->line, merror, p->qs[id].merror); in fffcheck_id()
[all …]
/picolibc-latest/
Dfind-copyright434 id = license_ids[type]
436 id = 1
437 license_ids[type] = id + 1
438 name = "%s-%d" % (type, id)
448 for id in range(1,license_ids[type]):
450 name = "%s-%d" % (type, id)
481 for id in range(1,license_ids[type]):
485 name = "%s-%d" % (type, id)
/picolibc-latest/hello-world/
Drun-aarch64++49 chardev=stdio,mux=on,id=stdio0

123