/netbsd/sys/dev/i2c/ |
H A D | xc3028.c | 104 error = xc->reset(xc->reset_priv); in xc3028_reset() 314 xc->fw = kmem_zalloc(sizeof(*xc->fw) * narr, KM_SLEEP); in xc3028_firmware_parse() 355 kmem_free(xc->fw, sizeof(*xc->fw) * xc->nfw); in xc3028_firmware_parse() 356 xc->nfw = 0; in xc3028_firmware_parse() 448 error = iic_exec(xc->i2c, I2C_OP_WRITE, xc->i2c_addr, in xc3028_read_2() 453 error = iic_exec(xc->i2c, I2C_OP_READ, xc->i2c_addr, in xc3028_read_2() 491 xc = kmem_alloc(sizeof(*xc), KM_SLEEP); in xc3028_open() 505 return xc; in xc3028_open() 508 kmem_free(xc, sizeof(*xc)); in xc3028_open() 523 kmem_free(xc->fw, sizeof(*xc->fw) * xc->nfw); in xc3028_close() [all …]
|
H A D | xc5k.c | 70 if (xc->reset) in xc5k_reset() 71 error = xc->reset(xc->reset_priv); in xc5k_reset() 203 error = iic_exec(xc->i2c, I2C_OP_WRITE, xc->i2c_addr, in xc5k_read_2() 208 error = iic_exec(xc->i2c, I2C_OP_READ, xc->i2c_addr, in xc5k_read_2() 221 return iic_exec(xc->i2c, I2C_OP_WRITE, xc->i2c_addr, in xc5k_write_buffer() 256 struct xc5k *xc; in xc5k_open() local 259 xc = kmem_alloc(sizeof(*xc), KM_SLEEP); in xc5k_open() 261 xc->i2c = i2c; in xc5k_open() 287 return xc; in xc5k_open() 290 kmem_free(xc, sizeof(*xc)); in xc5k_open() [all …]
|
/netbsd/sys/kern/ |
H A D | subr_xcall.c | 385 cv_wait(&xc->xc_busy, &xc->xc_lock); in xc_wait() 403 while (xc->xc_headp != xc->xc_donep) { in xc_lowpri() 404 cv_wait(&xc->xc_busy, &xc->xc_lock); in xc_lowpri() 424 KASSERT(xc->xc_donep < xc->xc_headp); in xc_lowpri() 449 if (xc->xc_headp == xc->xc_donep) { in xc_thread() 466 atomic_store_release(&xc->xc_donep, xc->xc_donep + 1); in xc_thread() 521 KASSERT(xc->xc_donep < xc->xc_headp); in xc__highpri_intr() 523 atomic_store_release(&xc->xc_donep, xc->xc_donep + 1); in xc__highpri_intr() 527 if (xc->xc_donep == xc->xc_headp) { in xc__highpri_intr() 546 while (xc->xc_headp != xc->xc_donep) { in xc_highpri() [all …]
|
H A D | subr_cpufreq.c | 304 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/share/examples/puffs/pgfs/ |
H A D | pgfs_db.c | 121 return xc; in getxc() 123 assert(xc->owner == xc->blocker); in getxc() 277 pqwait(xc); in fetch_noresult() 499 s->xc = xc; in fetchinit() 712 return xc; in begin() 729 return xc; in begin_readonly() 753 DPRINTF("xc %p rollback %p\n", xc, xc->owner); in rollback() 755 relxc(xc); in rollback() 768 DPRINTF("xc %p commit %p\n", xc, xc->owner); in commit() 769 relxc(xc); in commit() [all …]
|
H A D | pgfs_puffs.c | 105 rollback(xc); in pgfs_node_getattr() 223 rollback(xc); in pgfs_node_readdir() 229 rollback(xc); in pgfs_node_readdir() 235 rollback(xc); in pgfs_node_readdir() 279 rollback(xc); in pgfs_node_readdir() 364 rollback(xc); in pgfs_node_lookup() 413 rollback(xc); in pgfs_node_mkdir() 453 rollback(xc); in pgfs_node_create() 526 rollback(xc); in pgfs_node_write() 581 rollback(xc); in pgfs_node_read() [all …]
|
H A D | pgfs_subs.c | 351 error = sendcmd(xc, c, fd); in my_lo_close() 373 error = sendcmd(xc, c, fileid); in lo_lookup_by_fileid() 377 fetchinit(&s, xc); in lo_lookup_by_fileid() 418 error = my_lo_close(xc, fd); in getsize() 498 fetchinit(&s, xc); in getattr() 523 fetchinit(&s, xc); in getattr() 646 error = sendcmd(xc, c, fileid); in lookupp() 650 fetchinit(&s, xc); in lookupp() 736 return update_ctime(xc, child); in unlinkfile() 806 error = sendcmd(xc, c, fileid); in cleanupfile() [all …]
|
/netbsd/external/gpl2/rcs/dist/src/ |
H A D | rcsfcmp.c | 189 if (xc != uc) 195 xc = 0; 215 if (xc != uc) 217 switch (xc) { 221 *tp++ = xc; 229 (xc==KDELIM || xc==VDELIM) && (uc==KDELIM || uc==VDELIM) && 237 if (xc != uc) { 238 xc = discardkeyval(xc, xfp); 245 switch (xc) { 317 if (xc != uc) [all …]
|
/netbsd/lib/libc/gdtoa/ |
H A D | sum.c | 44 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 D | misc.c | 324 xc = xc0; 334 *xc = carry; 342 xc = xc0; 352 *xc = carry; 356 xc = xc0; 358 z2 = *xc; 367 *xc = z2; 374 xc = xc0; 387 for(xc0 = c->x, xc = xc0 + wc; wc > 0 && !*--xc; --wc) ; 605 xc = c->x; [all …]
|
/netbsd/crypto/external/bsd/openssl.old/dist/crypto/chacha/asm/ |
H A D | chacha-s390x.pl | 56 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 D | chacha-armv4.pl | 68 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 …]
|
/netbsd/external/gpl3/gdb/dist/ld/testsuite/ld-mips-elf/ |
H A D | compressed-plt-1-o32-mips16-word.od | 159 .*: b203 lw \$2,1010018c <f_du_dc@mips16plt\+0xc> 168 .*: b203 lw \$2,1010019c <f_lo_iu_dc@mips16plt\+0xc> 177 .*: b203 lw \$2,101001ac <f_iu_dc@mips16plt\+0xc> 186 .*: b203 lw \$2,101001bc <f_lo_du_dc@mips16plt\+0xc> 195 .*: b203 lw \$2,101001cc <f_du_ic_dc@mips16plt\+0xc> 204 .*: b203 lw \$2,101001dc <f_iu_du_dc@mips16plt\+0xc> 213 .*: b203 lw \$2,101001ec <f_lo_dc@mips16plt\+0xc> 222 .*: b203 lw \$2,101001fc <f_dc@mips16plt\+0xc> 231 .*: b203 lw \$2,1010020c <f_ic_dc@mips16plt\+0xc> 240 .*: b203 lw \$2,1010021c <f_iu_ic_dc@mips16plt\+0xc> [all …]
|
H A D | compressed-plt-1-o32-mips16.od | 159 .*: b203 lw \$2,1010018c <f_du_dc@mips16plt\+0xc> 168 .*: b203 lw \$2,1010019c <f_lo_iu_dc@mips16plt\+0xc> 177 .*: b203 lw \$2,101001ac <f_iu_dc@mips16plt\+0xc> 186 .*: b203 lw \$2,101001bc <f_lo_du_dc@mips16plt\+0xc> 195 .*: b203 lw \$2,101001cc <f_du_ic_dc@mips16plt\+0xc> 204 .*: b203 lw \$2,101001dc <f_iu_du_dc@mips16plt\+0xc> 213 .*: b203 lw \$2,101001ec <f_lo_dc@mips16plt\+0xc> 222 .*: b203 lw \$2,101001fc <f_dc@mips16plt\+0xc> 231 .*: b203 lw \$2,1010020c <f_ic_dc@mips16plt\+0xc> 240 .*: b203 lw \$2,1010021c <f_iu_ic_dc@mips16plt\+0xc> [all …]
|
H A D | compressed-plt-1-o32-mips16-got.od | 159 .*: b203 lw \$2,1010018c <f_du_dc@mips16plt\+0xc> 168 .*: b203 lw \$2,1010019c <f_lo_iu_dc@mips16plt\+0xc> 177 .*: b203 lw \$2,101001ac <f_iu_dc@mips16plt\+0xc> 186 .*: b203 lw \$2,101001bc <f_lo_du_dc@mips16plt\+0xc> 195 .*: b203 lw \$2,101001cc <f_du_ic_dc@mips16plt\+0xc> 204 .*: b203 lw \$2,101001dc <f_iu_du_dc@mips16plt\+0xc> 213 .*: b203 lw \$2,101001ec <f_lo_dc@mips16plt\+0xc> 222 .*: b203 lw \$2,101001fc <f_dc@mips16plt\+0xc> 231 .*: b203 lw \$2,1010020c <f_ic_dc@mips16plt\+0xc> 240 .*: b203 lw \$2,1010021c <f_iu_ic_dc@mips16plt\+0xc> [all …]
|
/netbsd/external/gpl3/gdb.old/dist/ld/testsuite/ld-mips-elf/ |
H A D | compressed-plt-1-o32-mips16-word.od | 159 .*: b203 lw \$2,1010018c <f_du_dc@mips16plt\+0xc> 168 .*: b203 lw \$2,1010019c <f_lo_iu_dc@mips16plt\+0xc> 177 .*: b203 lw \$2,101001ac <f_iu_dc@mips16plt\+0xc> 186 .*: b203 lw \$2,101001bc <f_lo_du_dc@mips16plt\+0xc> 195 .*: b203 lw \$2,101001cc <f_du_ic_dc@mips16plt\+0xc> 204 .*: b203 lw \$2,101001dc <f_iu_du_dc@mips16plt\+0xc> 213 .*: b203 lw \$2,101001ec <f_lo_dc@mips16plt\+0xc> 222 .*: b203 lw \$2,101001fc <f_dc@mips16plt\+0xc> 231 .*: b203 lw \$2,1010020c <f_ic_dc@mips16plt\+0xc> 240 .*: b203 lw \$2,1010021c <f_iu_ic_dc@mips16plt\+0xc> [all …]
|
H A D | compressed-plt-1-o32-mips16.od | 159 .*: b203 lw \$2,1010018c <f_du_dc@mips16plt\+0xc> 168 .*: b203 lw \$2,1010019c <f_lo_iu_dc@mips16plt\+0xc> 177 .*: b203 lw \$2,101001ac <f_iu_dc@mips16plt\+0xc> 186 .*: b203 lw \$2,101001bc <f_lo_du_dc@mips16plt\+0xc> 195 .*: b203 lw \$2,101001cc <f_du_ic_dc@mips16plt\+0xc> 204 .*: b203 lw \$2,101001dc <f_iu_du_dc@mips16plt\+0xc> 213 .*: b203 lw \$2,101001ec <f_lo_dc@mips16plt\+0xc> 222 .*: b203 lw \$2,101001fc <f_dc@mips16plt\+0xc> 231 .*: b203 lw \$2,1010020c <f_ic_dc@mips16plt\+0xc> 240 .*: b203 lw \$2,1010021c <f_iu_ic_dc@mips16plt\+0xc> [all …]
|
H A D | compressed-plt-1-o32-mips16-got.od | 159 .*: b203 lw \$2,1010018c <f_du_dc@mips16plt\+0xc> 168 .*: b203 lw \$2,1010019c <f_lo_iu_dc@mips16plt\+0xc> 177 .*: b203 lw \$2,101001ac <f_iu_dc@mips16plt\+0xc> 186 .*: b203 lw \$2,101001bc <f_lo_du_dc@mips16plt\+0xc> 195 .*: b203 lw \$2,101001cc <f_du_ic_dc@mips16plt\+0xc> 204 .*: b203 lw \$2,101001dc <f_iu_du_dc@mips16plt\+0xc> 213 .*: b203 lw \$2,101001ec <f_lo_dc@mips16plt\+0xc> 222 .*: b203 lw \$2,101001fc <f_dc@mips16plt\+0xc> 231 .*: b203 lw \$2,1010020c <f_ic_dc@mips16plt\+0xc> 240 .*: b203 lw \$2,1010021c <f_iu_ic_dc@mips16plt\+0xc> [all …]
|
/netbsd/external/bsd/openldap/dist/servers/slapd/ |
H A D | schema_check.c | 358 ObjectClass *xc = NULL; in entry_schema_check() local 361 xc = socs[j]; 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() 686 xc = NULL; in structural_class() 691 is_object_subclass( oc, xc ) ) in structural_class() 697 xc = NULL; in structural_class() [all …]
|
/netbsd/sys/dev/tprof/ |
H A D | tprof_x86_amd.c | 274 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 D | tprof_x86_intel.c | 277 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/crypto/external/bsd/openssl/dist/crypto/sha/ |
H A D | sha_local.h | 90 Xupdate(f,xi,xa,xb,xc,xd); \ 95 Xupdate(f,xi,xa,xb,xc,xd); \ 100 Xupdate(f,xa,xa,xb,xc,xd); \ 105 Xupdate(f,xa,xa,xb,xc,xd); \ 110 Xupdate(f,xa,xa,xb,xc,xd); \ 341 # define BODY_16_19(xa,xb,xc,xd) do { \ argument 342 Xupdate(T,xa,xa,xb,xc,xd); \ 347 # define BODY_20_39(xa,xb,xc,xd) do { \ argument 348 Xupdate(T,xa,xa,xb,xc,xd); \ 354 Xupdate(T,xa,xa,xb,xc,xd); \ [all …]
|
/netbsd/sys/arch/x86/x86/ |
H A D | spectre.c | 320 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 D | tsc.c | 364 uint64_t xc; in tsc_user_enable() local 366 xc = xc_broadcast(0, tsc_apply_cpu, (void *)true, NULL); in tsc_user_enable() 367 xc_wait(xc); in tsc_user_enable() 373 uint64_t xc; in tsc_user_disable() local 375 xc = xc_broadcast(0, tsc_apply_cpu, (void *)false, NULL); in tsc_user_disable() 376 xc_wait(xc); in tsc_user_disable()
|
/netbsd/crypto/external/bsd/openssl.old/dist/crypto/sha/ |
H A D | sha_local.h | 89 Xupdate(f,xi,xa,xb,xc,xd); \ 94 Xupdate(f,xi,xa,xb,xc,xd); \ 99 Xupdate(f,xa,xa,xb,xc,xd); \ 104 Xupdate(f,xa,xa,xb,xc,xd); \ 109 Xupdate(f,xa,xa,xb,xc,xd); \ 345 # define BODY_16_19(xa,xb,xc,xd) do { \ argument 346 Xupdate(T,xa,xa,xb,xc,xd); \ 351 # define BODY_20_39(xa,xb,xc,xd) do { \ argument 352 Xupdate(T,xa,xa,xb,xc,xd); \ 358 Xupdate(T,xa,xa,xb,xc,xd); \ [all …]
|