Home
last modified time | relevance | path

Searched refs:xc (Results 1 – 25 of 629) sorted by relevance

12345678910>>...26

/netbsd-src/sys/dev/i2c/
H A Dxc3028.c81 xc3028_name(struct xc3028 *xc) in xc3028_name() argument
83 if (xc->type == XC3028L) in xc3028_name()
90 xc3028_firmware_name(struct xc3028 *xc) in xc3028_firmware_name() argument
92 if (xc->type == XC3028L) in xc3028_firmware_name()
99 xc3028_reset(struct xc3028 *xc) in xc3028_reset() argument
103 if (xc->reset) in xc3028_reset()
104 error = xc->reset(xc->reset_priv); in xc3028_reset()
110 xc3028_get_basefw(struct xc3028 *xc) in xc3028_get_basefw() argument
115 for (i = 0; i < xc->nfw; i++) { in xc3028_get_basefw()
116 fw = &xc->fw[i]; in xc3028_get_basefw()
[all …]
H A Dxc5k.c66 xc5k_reset(struct xc5k *xc) in xc5k_reset() argument
70 if (xc->reset) in xc5k_reset()
71 error = xc->reset(xc->reset_priv); in xc5k_reset()
77 xc5k_firmware_upload(struct xc5k *xc, const uint8_t *fw, size_t fwlen) in xc5k_firmware_upload() argument
94 error = xc5k_reset(xc); in xc5k_firmware_upload()
116 error = xc5k_write_buffer(xc, cmd, wrlen + 2); in xc5k_firmware_upload()
129 xc5k_firmware_open(struct xc5k *xc) in xc5k_firmware_open() argument
139 error = xc5k_read_2(xc, XC5K_REG_PRODUCT_ID, &product_id); in xc5k_firmware_open()
159 aprint_normal_dev(xc->parent, "xc5k: loading firmware '%s/%s'\n", in xc5k_firmware_open()
162 error = xc5k_firmware_upload(xc, fw, fwlen); in xc5k_firmware_open()
[all …]
/netbsd-src/sys/kern/
H A Dsubr_xcall.c357 xc_state_t *xc; in xc_wait() local
369 xc = &xc_high_pri; in xc_wait()
372 xc = &xc_low_pri; in xc_wait()
377 if (atomic_load_acquire(&xc->xc_donep) >= where) { in xc_wait()
383 mutex_enter(&xc->xc_lock); in xc_wait()
384 while (xc->xc_donep < where) { in xc_wait()
385 cv_wait(&xc->xc_busy, &xc->xc_lock); in xc_wait()
387 mutex_exit(&xc->xc_lock); in xc_wait()
398 xc_state_t *xc = &xc_low_pri; in xc_lowpri() local
402 mutex_enter(&xc->xc_lock); in xc_lowpri()
[all …]
H A Dsubr_cpufreq.c304 uint64_t xc; in cpufreq_get_raw() local
309 xc = xc_unicast(0, (*cf->cf_get_freq), cf->cf_cookie, &freq, ci); in cpufreq_get_raw()
310 xc_wait(xc); in cpufreq_get_raw()
423 uint64_t xc; in cpufreq_set_raw() local
428 xc = xc_unicast(0, (*cf->cf_set_freq), cf->cf_cookie, &freq, ci); in cpufreq_set_raw()
429 xc_wait(xc); in cpufreq_set_raw()
452 uint64_t xc; in cpufreq_set_all_raw() local
457 xc = xc_broadcast(0, (*cf->cf_set_freq), cf->cf_cookie, &freq); in cpufreq_set_all_raw()
458 xc_wait(xc); in cpufreq_set_all_raw()
/netbsd-src/share/examples/puffs/pgfs/
H A Dpgfs_db.c68 dumperror(struct Xconn *xc, const PGresult *res) in dumperror() argument
112 struct Xconn *xc; in getxc() local
116 TAILQ_FOREACH(xc, &xclist, list) { in getxc()
117 if (xc->blocker == NULL) { in getxc()
118 assert(xc->owner == NULL); in getxc()
119 xc->owner = cc; in getxc()
120 DPRINTF("xc %p acquire %p\n", xc, cc); in getxc()
121 return xc; in getxc()
123 assert(xc->owner == xc->blocker); in getxc()
132 relxc(struct Xconn *xc) in relxc() argument
[all …]
H A Dpgfs_puffs.c86 struct Xconn *xc; in pgfs_node_getattr() local
94 xc = begin_readonly(pu, "getattr"); in pgfs_node_getattr()
95 error = getattr(xc, fileid, va, GETATTR_ALL); in pgfs_node_getattr()
99 error = commit(xc); in pgfs_node_getattr()
105 rollback(xc); in pgfs_node_getattr()
129 struct Xconn *xc = NULL; in pgfs_node_readdir() local
158 if (xc == NULL) { in pgfs_node_readdir()
159 xc = begin(pu, "readdir1"); in pgfs_node_readdir()
161 error = lookupp(xc, parent_fileid, &child_fileid); in pgfs_node_readdir()
163 rollback(xc); in pgfs_node_readdir()
[all …]
H A Dpgfs_subs.c215 my_lo_truncate(struct Xconn *xc, int32_t fd, int32_t size) in my_lo_truncate() argument
222 error = sendcmd(xc, c, fd, size); in my_lo_truncate()
226 error = simplefetch(xc, INT4OID, &ret); in my_lo_truncate()
243 my_lo_lseek(struct Xconn *xc, int32_t fd, int32_t offset, int32_t whence, in my_lo_lseek() argument
251 error = sendcmd(xc, c, fd, offset, whence); in my_lo_lseek()
255 error = simplefetch(xc, INT4OID, &ret); in my_lo_lseek()
266 my_lo_read(struct Xconn *xc, int32_t fd, void *buf, size_t size, in my_lo_read() argument
274 error = sendcmdx(xc, 1, c, fd, (int32_t)size); in my_lo_read()
278 error = simplefetch(xc, BYTEA, buf, &resultsize); in my_lo_read()
290 my_lo_write(struct Xconn *xc, int32_t fd, const void *buf, size_t size, in my_lo_write() argument
[all …]
/netbsd-src/external/gpl2/rcs/dist/src/
H A Drcsfcmp.c162 register int xc, uc; local
185 Igeteof_(xfp, xc, xeof=true;)
189 if (xc != uc)
195 xc = 0;
201 if (xc != KDELIM) {
203 Igeteof_(xfp, xc, xeof=true;)
211 Igeteof_(xfp, xc, xeof=true;)
215 if (xc != uc)
217 switch (xc) {
221 *tp++ = xc;
[all …]
/netbsd-src/lib/libc/gdtoa/
H A Dsum.c44 ULong carry, *xc, *xa, *xb, *xe, y; local
59 xc = c->x;
60 xe = xc + b->wds;
67 Storeinc(xc, z, y);
69 while(xc < xe);
71 while(xc < xe) {
76 Storeinc(xc, z, y);
82 *xc++ = y & 0xffff;
84 while(xc < xe);
86 while(xc < xe) {
[all …]
H A Dmisc.c288 ULong *x, *xa, *xae, *xb, *xbe, *xc, *xc0; local
324 xc = xc0;
327 z = *x++ * (ULLong)y + *xc + carry;
330 *xc++ = z & 0xffffffffUL;
334 *xc = carry;
342 xc = xc0;
345 z = (*x & 0xffff) * y + (*xc & 0xffff) + carry;
347 z2 = (*x++ >> 16) * y + (*xc >> 16) + carry;
349 Storeinc(xc, z2, z);
352 *xc = carry;
[all …]
/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/chacha/asm/
H A Dchacha-s390x.pl56 my ($xc,$xc_)=map("\"$_\"",@t);
89 "&alr ($xc,@x[$d0])",
91 "&xr (@x[$b0],$xc)",
103 "&alr ($xc,@x[$d0])",
105 "&xr (@x[$b0],$xc)",
110 "&stm ($xc,$xc_,'$stdframe+4*8+4*$c0($sp)')", # reload pair of 'c's
111 "&lm ($xc,$xc_,'$stdframe+4*8+4*$c2($sp)')",
120 "&alr ($xc,@x[$d2])",
122 "&xr (@x[$b2],$xc)",
134 "&alr ($xc,@x[$d2])",
[all …]
H A Dchacha-armv4.pl68 my ($xc,$xc_) = (@t[0..1]);
104 "&add ($xc,$xc,$xd)",
108 "&eor (@x[$b0],@x[$b0],$xc,'ror#20')",
118 "&add ($xc,$xc,$xd)",
130 "&eor (@x[$b0],@x[$b0],$xc,'ror#25')",
136 "&str ($xc,'[sp,#4*(16+$c0)]')",
137 "&ldr ($xc,'[sp,#4*(16+$c2)]')",
147 "&add ($xc,$xc,$xd)",
151 "&eor (@x[$b2],@x[$b2],$xc,'ror#20')",
161 "&add ($xc,$xc,$xd)",
[all …]
H A Dchacha-x86.pl378 my ($xa,$xa_,$xb,$xb_,$xc,$xc_,$xd,$xd_)=map("xmm$_",(0..7));
416 &paddd ($xc,$xd);
418 &pxor ($xb,$xc);
430 &paddd ($xc,$xd);
433 &pxor ($xb,$xc);
443 ($xc,$xc_)=($xc_,$xc);
566 &movdqa ($xc, &QWP(16*8-128,"ebp"));
588 &movdqa (&QWP(16*8-128,"ebx"),$xc);
792 my ($xa,$xa_,$xb,$xb_,$xc,$xc_,$xd,$xd_)=map("xmm$_",(0..7));
830 &vpaddd ($xc,$xc,$xd);
[all …]
/netbsd-src/external/bsd/openldap/dist/servers/slapd/
H A Dschema_check.c358 ObjectClass *xc = NULL; in entry_schema_check() local
361 xc = socs[j]; in entry_schema_check()
369 if ( xc->soc_kind == LDAP_SCHEMA_AUXILIARY && in entry_schema_check()
370 is_object_subclass( oc, xc ) ) in entry_schema_check()
372 xc = NULL; in entry_schema_check()
378 if( xc != NULL ) { in entry_schema_check()
671 ObjectClass *xc = NULL; in structural_class() local
675 xc = socs[j]; in structural_class()
677 if( xc == NULL ) { in structural_class()
685 if( xc->soc_kind != LDAP_SCHEMA_STRUCTURAL ) { in structural_class()
[all …]
/netbsd-src/sys/dev/tprof/
H A Dtprof_x86_amd.c274 uint64_t xc; in tprof_amd_establish() local
282 xc = xc_broadcast(0, tprof_amd_establish_cpu, sc, NULL); in tprof_amd_establish()
283 xc_wait(xc); in tprof_amd_establish()
291 uint64_t xc; in tprof_amd_disestablish() local
293 xc = xc_broadcast(0, tprof_amd_disestablish_cpu, sc, NULL); in tprof_amd_disestablish()
294 xc_wait(xc); in tprof_amd_disestablish()
H A Dtprof_x86_intel.c277 uint64_t xc; in tprof_intel_establish() local
285 xc = xc_broadcast(0, tprof_intel_establish_cpu, sc, NULL); in tprof_intel_establish()
286 xc_wait(xc); in tprof_intel_establish()
294 uint64_t xc; in tprof_intel_disestablish() local
296 xc = xc_broadcast(0, tprof_intel_disestablish_cpu, sc, NULL); in tprof_intel_disestablish()
297 xc_wait(xc); in tprof_intel_disestablish()
/netbsd-src/crypto/external/bsd/openssl/dist/crypto/sha/
H A Dsha_local.h89 # define BODY_16_19(i,a,b,c,d,e,f,xi,xa,xb,xc,xd) \ argument
90 Xupdate(f,xi,xa,xb,xc,xd); \
94 # define BODY_20_31(i,a,b,c,d,e,f,xi,xa,xb,xc,xd) \ argument
95 Xupdate(f,xi,xa,xb,xc,xd); \
99 # define BODY_32_39(i,a,b,c,d,e,f,xa,xb,xc,xd) \ argument
100 Xupdate(f,xa,xa,xb,xc,xd); \
104 # define BODY_40_59(i,a,b,c,d,e,f,xa,xb,xc,xd) \ argument
105 Xupdate(f,xa,xa,xb,xc,xd); \
109 # define BODY_60_79(i,a,b,c,d,e,f,xa,xb,xc,xd) \ argument
110 Xupdate(f,xa,xa,xb,xc,xd); \
[all …]
/netbsd-src/sys/arch/x86/x86/
H A Dspectre.c320 uint64_t xc; in mitigation_v2_change() local
337 xc = xc_broadcast(XC_HIGHPRI, mitigation_v2_change_cpu, in mitigation_v2_change()
339 xc_wait(xc); in mitigation_v2_change()
505 uint64_t xc; in mitigation_v4_change() local
519 xc = xc_broadcast(0, mitigation_v4_change_cpu, in mitigation_v4_change()
521 xc_wait(xc); in mitigation_v4_change()
725 uint64_t xc; in mitigation_mds_change() local
740 xc = xc_broadcast(XC_HIGHPRI, mitigation_mds_change_cpu, in mitigation_mds_change()
742 xc_wait(xc); in mitigation_mds_change()
904 uint64_t xc; in mitigation_taa_change() local
[all …]
H A Dtsc.c376 uint64_t xc; in tsc_user_enable() local
378 xc = xc_broadcast(0, tsc_apply_cpu, (void *)true, NULL); in tsc_user_enable()
379 xc_wait(xc); in tsc_user_enable()
385 uint64_t xc; in tsc_user_disable() local
387 xc = xc_broadcast(0, tsc_apply_cpu, (void *)false, NULL); in tsc_user_disable()
388 xc_wait(xc); in tsc_user_disable()
/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/sha/
H A Dsha_local.h88 # define BODY_16_19(i,a,b,c,d,e,f,xi,xa,xb,xc,xd) \ argument
89 Xupdate(f,xi,xa,xb,xc,xd); \
93 # define BODY_20_31(i,a,b,c,d,e,f,xi,xa,xb,xc,xd) \ argument
94 Xupdate(f,xi,xa,xb,xc,xd); \
98 # define BODY_32_39(i,a,b,c,d,e,f,xa,xb,xc,xd) \ argument
99 Xupdate(f,xa,xa,xb,xc,xd); \
103 # define BODY_40_59(i,a,b,c,d,e,f,xa,xb,xc,xd) \ argument
104 Xupdate(f,xa,xa,xb,xc,xd); \
108 # define BODY_60_79(i,a,b,c,d,e,f,xa,xb,xc,xd) \ argument
109 Xupdate(f,xa,xa,xb,xc,xd); \
[all …]
/netbsd-src/crypto/external/bsd/openssl/dist/crypto/chacha/asm/
H A Dchacha-armv4.pl70 my ($xc,$xc_) = (@t[0..1]);
106 "&add ($xc,$xc,$xd)",
110 "&eor (@x[$b0],@x[$b0],$xc,'ror#20')",
120 "&add ($xc,$xc,$xd)",
132 "&eor (@x[$b0],@x[$b0],$xc,'ror#25')",
138 "&str ($xc,'[sp,#4*(16+$c0)]')",
139 "&ldr ($xc,'[sp,#4*(16+$c2)]')",
149 "&add ($xc,$xc,$xd)",
153 "&eor (@x[$b2],@x[$b2],$xc,'ror#20')",
163 "&add ($xc,$xc,$xd)",
[all …]
H A Dchacha-x86.pl377 my ($xa,$xa_,$xb,$xb_,$xc,$xc_,$xd,$xd_)=map("xmm$_",(0..7));
415 &paddd ($xc,$xd);
417 &pxor ($xb,$xc);
429 &paddd ($xc,$xd);
432 &pxor ($xb,$xc);
442 ($xc,$xc_)=($xc_,$xc);
565 &movdqa ($xc, &QWP(16*8-128,"ebp"));
587 &movdqa (&QWP(16*8-128,"ebx"),$xc);
791 my ($xa,$xa_,$xb,$xb_,$xc,$xc_,$xd,$xd_)=map("xmm$_",(0..7));
829 &vpaddd ($xc,$xc,$xd);
[all …]
/netbsd-src/external/gpl3/gdb/dist/sim/testsuite/frv/
H A Dbcnolr.cgs49 set_icc 0xc 0
112 set_icc 0xc 0
166 set_icc 0xc 0
229 set_icc 0xc 0
H A Dfcbnolr.cgs38 set_fcc 0xc 0
85 set_fcc 0xc 0
124 set_fcc 0xc 0
171 set_fcc 0xc 0
/netbsd-src/external/cddl/osnet/dev/cyclic/i386/
H A Dcyclic_machdep.c140 uint64_t xc; in xcall() local
142 xc = xc_unicast(XC_HIGHPRI, xcall_func, func, param, cpu_lookup(c->cpuid)); in xcall()
143 xc_wait(xc); in xcall()

12345678910>>...26