Home
last modified time | relevance | path

Searched refs:tsc (Results 1 – 25 of 56) sorted by relevance

123

/external/mesa3d/src/gallium/drivers/nvc0/
Dnvc0_screen.h54 } tsc; member
124 nvc0_screen_tsc_unlock(struct nvc0_screen *screen, struct nv50_tsc_entry *tsc) in nvc0_screen_tsc_unlock() argument
126 if (tsc->id >= 0) in nvc0_screen_tsc_unlock()
127 screen->tsc.lock[tsc->id / 32] &= ~(1 << (tsc->id % 32)); in nvc0_screen_tsc_unlock()
140 nvc0_screen_tsc_free(struct nvc0_screen *screen, struct nv50_tsc_entry *tsc) in nvc0_screen_tsc_free() argument
142 if (tsc->id >= 0) { in nvc0_screen_tsc_free()
143 screen->tsc.entries[tsc->id] = NULL; in nvc0_screen_tsc_free()
144 screen->tsc.lock[tsc->id / 32] &= ~(1 << (tsc->id % 32)); in nvc0_screen_tsc_free()
Dnvc0_tex.c364 struct nv50_tsc_entry *tsc = nv50_tsc_entry(nvc0->samplers[s][i]); in nvc0_validate_tsc() local
368 if (!tsc) { in nvc0_validate_tsc()
372 if (tsc->id < 0) { in nvc0_validate_tsc()
373 tsc->id = nvc0_screen_tsc_alloc(nvc0->screen, tsc); in nvc0_validate_tsc()
376 65536 + tsc->id * 32, NOUVEAU_BO_VRAM, in nvc0_validate_tsc()
377 32, tsc->tsc); in nvc0_validate_tsc()
380 nvc0->screen->tsc.lock[tsc->id / 32] |= 1 << (tsc->id % 32); in nvc0_validate_tsc()
382 commands[n++] = (tsc->id << 12) | (i << 4) | 1; in nvc0_validate_tsc()
407 struct nv50_tsc_entry *tsc = nv50_tsc_entry(nvc0->samplers[s][i]); in nve4_validate_tsc() local
409 if (!tsc) { in nve4_validate_tsc()
[all …]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nvc0/
Dnvc0_screen.h54 } tsc; member
124 nvc0_screen_tsc_unlock(struct nvc0_screen *screen, struct nv50_tsc_entry *tsc) in nvc0_screen_tsc_unlock() argument
126 if (tsc->id >= 0) in nvc0_screen_tsc_unlock()
127 screen->tsc.lock[tsc->id / 32] &= ~(1 << (tsc->id % 32)); in nvc0_screen_tsc_unlock()
140 nvc0_screen_tsc_free(struct nvc0_screen *screen, struct nv50_tsc_entry *tsc) in nvc0_screen_tsc_free() argument
142 if (tsc->id >= 0) { in nvc0_screen_tsc_free()
143 screen->tsc.entries[tsc->id] = NULL; in nvc0_screen_tsc_free()
144 screen->tsc.lock[tsc->id / 32] &= ~(1 << (tsc->id % 32)); in nvc0_screen_tsc_free()
Dnvc0_tex.c364 struct nv50_tsc_entry *tsc = nv50_tsc_entry(nvc0->samplers[s][i]); in nvc0_validate_tsc() local
368 if (!tsc) { in nvc0_validate_tsc()
372 if (tsc->id < 0) { in nvc0_validate_tsc()
373 tsc->id = nvc0_screen_tsc_alloc(nvc0->screen, tsc); in nvc0_validate_tsc()
376 65536 + tsc->id * 32, NOUVEAU_BO_VRAM, in nvc0_validate_tsc()
377 32, tsc->tsc); in nvc0_validate_tsc()
380 nvc0->screen->tsc.lock[tsc->id / 32] |= 1 << (tsc->id % 32); in nvc0_validate_tsc()
382 commands[n++] = (tsc->id << 12) | (i << 4) | 1; in nvc0_validate_tsc()
407 struct nv50_tsc_entry *tsc = nv50_tsc_entry(nvc0->samplers[s][i]); in nve4_validate_tsc() local
409 if (!tsc) { in nve4_validate_tsc()
[all …]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/
Dnv50_screen.h58 } tsc; member
125 nv50_screen_tsc_unlock(struct nv50_screen *screen, struct nv50_tsc_entry *tsc) in nv50_screen_tsc_unlock() argument
127 if (tsc->id >= 0) in nv50_screen_tsc_unlock()
128 screen->tsc.lock[tsc->id / 32] &= ~(1 << (tsc->id % 32)); in nv50_screen_tsc_unlock()
141 nv50_screen_tsc_free(struct nv50_screen *screen, struct nv50_tsc_entry *tsc) in nv50_screen_tsc_free() argument
143 if (tsc->id >= 0) { in nv50_screen_tsc_free()
144 screen->tsc.entries[tsc->id] = NULL; in nv50_screen_tsc_free()
145 screen->tsc.lock[tsc->id / 32] &= ~(1 << (tsc->id % 32)); in nv50_screen_tsc_free()
Dnv50_tex.c294 struct nv50_tsc_entry *tsc = nv50_tsc_entry(nv50->samplers[s][i]); in nv50_validate_tsc() local
296 if (!tsc) { in nv50_validate_tsc()
301 if (tsc->id < 0) { in nv50_validate_tsc()
302 tsc->id = nv50_screen_tsc_alloc(nv50->screen, tsc); in nv50_validate_tsc()
305 65536 + tsc->id * 32, in nv50_validate_tsc()
306 NOUVEAU_BO_VRAM, 32, tsc->tsc); in nv50_validate_tsc()
309 nv50->screen->tsc.lock[tsc->id / 32] |= 1 << (tsc->id % 32); in nv50_validate_tsc()
312 PUSH_DATA (push, (tsc->id << 12) | (i << 4) | 1); in nv50_validate_tsc()
/external/mesa3d/src/gallium/drivers/nv50/
Dnv50_screen.h58 } tsc; member
125 nv50_screen_tsc_unlock(struct nv50_screen *screen, struct nv50_tsc_entry *tsc) in nv50_screen_tsc_unlock() argument
127 if (tsc->id >= 0) in nv50_screen_tsc_unlock()
128 screen->tsc.lock[tsc->id / 32] &= ~(1 << (tsc->id % 32)); in nv50_screen_tsc_unlock()
141 nv50_screen_tsc_free(struct nv50_screen *screen, struct nv50_tsc_entry *tsc) in nv50_screen_tsc_free() argument
143 if (tsc->id >= 0) { in nv50_screen_tsc_free()
144 screen->tsc.entries[tsc->id] = NULL; in nv50_screen_tsc_free()
145 screen->tsc.lock[tsc->id / 32] &= ~(1 << (tsc->id % 32)); in nv50_screen_tsc_free()
Dnv50_tex.c294 struct nv50_tsc_entry *tsc = nv50_tsc_entry(nv50->samplers[s][i]); in nv50_validate_tsc() local
296 if (!tsc) { in nv50_validate_tsc()
301 if (tsc->id < 0) { in nv50_validate_tsc()
302 tsc->id = nv50_screen_tsc_alloc(nv50->screen, tsc); in nv50_validate_tsc()
305 65536 + tsc->id * 32, in nv50_validate_tsc()
306 NOUVEAU_BO_VRAM, 32, tsc->tsc); in nv50_validate_tsc()
309 nv50->screen->tsc.lock[tsc->id / 32] |= 1 << (tsc->id % 32); in nv50_validate_tsc()
312 PUSH_DATA (push, (tsc->id << 12) | (i << 4) | 1); in nv50_validate_tsc()
Dnv50_state.c463 so->tsc[0] = (0x00026000 | in nv50_sampler_state_create()
470 so->tsc[1] |= NVE4_TSC_1_CUBE_SEAMLESS; in nv50_sampler_state_create()
472 so->tsc[1] |= NVE4_TSC_1_FORCE_NONNORMALIZED_COORDS; in nv50_sampler_state_create()
477 so->tsc[1] |= NV50_TSC_1_MAGF_LINEAR; in nv50_sampler_state_create()
481 so->tsc[1] |= NV50_TSC_1_MAGF_NEAREST; in nv50_sampler_state_create()
487 so->tsc[1] |= NV50_TSC_1_MINF_LINEAR; in nv50_sampler_state_create()
491 so->tsc[1] |= NV50_TSC_1_MINF_NEAREST; in nv50_sampler_state_create()
497 so->tsc[1] |= NV50_TSC_1_MIPF_LINEAR; in nv50_sampler_state_create()
500 so->tsc[1] |= NV50_TSC_1_MIPF_NEAREST; in nv50_sampler_state_create()
504 so->tsc[1] |= NV50_TSC_1_MIPF_NONE; in nv50_sampler_state_create()
[all …]
/external/openssl/crypto/rand/
Drand_nw.c135 unsigned long tsc; in RAND_poll() local
161 mov tsc, eax in RAND_poll()
164 asm volatile("rdtsc":"=a"(tsc)::"edx"); in RAND_poll()
167 RAND_add(&tsc, sizeof(tsc), 1); in RAND_poll()
/external/chromium_org/third_party/openssl/openssl/crypto/rand/
Drand_nw.c135 unsigned long tsc; in RAND_poll() local
161 mov tsc, eax in RAND_poll()
164 asm volatile("rdtsc":"=a"(tsc)::"edx"); in RAND_poll()
167 RAND_add(&tsc, sizeof(tsc), 1); in RAND_poll()
/external/chromium_org/third_party/openssl/openssl/crypto/des/
Ddess.cpp14 void GetTSC(unsigned long& tsc) in GetTSC() argument
17 : "=eax" (tsc) in GetTSC()
23 void GetTSC(unsigned long& tsc) in GetTSC() argument
29 tsc=a; in GetTSC()
Ddes3s.cpp14 void GetTSC(unsigned long& tsc) in GetTSC() argument
17 : "=eax" (tsc) in GetTSC()
23 void GetTSC(unsigned long& tsc) in GetTSC() argument
29 tsc=a; in GetTSC()
/external/openssl/crypto/des/
Ddess.cpp14 void GetTSC(unsigned long& tsc) in GetTSC() argument
17 : "=eax" (tsc) in GetTSC()
23 void GetTSC(unsigned long& tsc) in GetTSC() argument
29 tsc=a; in GetTSC()
Ddes3s.cpp14 void GetTSC(unsigned long& tsc) in GetTSC() argument
17 : "=eax" (tsc) in GetTSC()
23 void GetTSC(unsigned long& tsc) in GetTSC() argument
29 tsc=a; in GetTSC()
/external/chromium_org/third_party/openssl/openssl/crypto/rc4/
Drc4s.cpp14 void GetTSC(unsigned long& tsc) in GetTSC() argument
17 : "=eax" (tsc) in GetTSC()
23 void GetTSC(unsigned long& tsc) in GetTSC() argument
29 tsc=a; in GetTSC()
/external/openssl/crypto/rc4/
Drc4s.cpp14 void GetTSC(unsigned long& tsc) in GetTSC() argument
17 : "=eax" (tsc) in GetTSC()
23 void GetTSC(unsigned long& tsc) in GetTSC() argument
29 tsc=a; in GetTSC()
/external/openssl/crypto/md5/
Dmd5s.cpp14 void GetTSC(unsigned long& tsc) in GetTSC() argument
17 : "=eax" (tsc) in GetTSC()
23 void GetTSC(unsigned long& tsc) in GetTSC() argument
29 tsc=a; in GetTSC()
/external/chromium_org/third_party/openssl/openssl/crypto/ripemd/asm/
Drips.cpp14 void GetTSC(unsigned long& tsc) in GetTSC() argument
17 : "=eax" (tsc) in GetTSC()
23 void GetTSC(unsigned long& tsc) in GetTSC() argument
29 tsc=a; in GetTSC()
/external/chromium_org/third_party/openssl/openssl/crypto/md5/
Dmd5s.cpp14 void GetTSC(unsigned long& tsc) in GetTSC() argument
17 : "=eax" (tsc) in GetTSC()
23 void GetTSC(unsigned long& tsc) in GetTSC() argument
29 tsc=a; in GetTSC()
/external/openssl/crypto/ripemd/asm/
Drips.cpp14 void GetTSC(unsigned long& tsc) in GetTSC() argument
17 : "=eax" (tsc) in GetTSC()
23 void GetTSC(unsigned long& tsc) in GetTSC() argument
29 tsc=a; in GetTSC()
/external/chromium_org/third_party/openssl/openssl/crypto/md4/
Dmd4s.cpp14 void GetTSC(unsigned long& tsc) in GetTSC() argument
17 : "=eax" (tsc) in GetTSC()
23 void GetTSC(unsigned long& tsc) in GetTSC() argument
29 tsc=a; in GetTSC()
/external/openssl/crypto/md4/
Dmd4s.cpp14 void GetTSC(unsigned long& tsc) in GetTSC() argument
17 : "=eax" (tsc) in GetTSC()
23 void GetTSC(unsigned long& tsc) in GetTSC() argument
29 tsc=a; in GetTSC()
/external/libvpx/libvpx/vpx_ports/
Dx86.h159 unsigned int tsc; in x86_readtsc() local
160 __asm__ __volatile__("rdtsc\n\t":"=a"(tsc):); in x86_readtsc()
161 return tsc; in x86_readtsc()
163 unsigned int tsc; in x86_readtsc()
164 asm volatile("rdtsc\n\t":"=a"(tsc):); in x86_readtsc()
165 return tsc; in x86_readtsc()
/external/stressapptest/src/
Dos.h147 uint64 tsc; in GetTimestamp() local
161 tsc = (static_cast<uint64>(tbu) << 32) | static_cast<uint64>(tbl); in GetTimestamp()
165 tsc = data.l64; in GetTimestamp()
168 tsc = 0; in GetTimestamp()
171 tsc = 0; in GetTimestamp()
173 return (tsc); in GetTimestamp()

123