| /netbsd-src/sys/arch/bebox/stand/boot/ |
| H A D | siop.c | 102 siop_setuptables(struct siop_adapter *adp, struct siop_xfer *xfer, in siop_setuptables() argument 108 htoc32((adp->clock_div << 24) | (xs->target << 16)); in siop_setuptables() 130 siop_ma(struct siop_adapter *adp, struct scsi_xfer *xs) in siop_ma() argument 141 offset = readb(adp->addr + SIOP_SCRATCHA + 1); in siop_ma() 146 dbc = readl(adp->addr + SIOP_DBC) & 0x00ffffff; in siop_ma() 151 siop_clearfifo(struct siop_adapter *adp) in siop_clearfifo() argument 154 uint8_t ctest3 = readb(adp->addr + SIOP_CTEST3); in siop_clearfifo() 157 writeb(adp->addr + SIOP_CTEST3, ctest3 | CTEST3_CLF); in siop_clearfifo() 158 while ((readb(adp->addr + SIOP_CTEST3) & CTEST3_CLF) != 0) { in siop_clearfifo() 162 writeb(adp->addr + SIOP_CTEST3, in siop_clearfifo() [all …]
|
| /netbsd-src/sys/arch/prep/stand/boot/ |
| H A D | siop.c | 98 siop_setuptables(struct siop_adapter *adp, struct siop_xfer *xfer, in siop_setuptables() argument 104 htoc32((adp->clock_div << 24) | (xs->target << 16)); in siop_setuptables() 126 siop_ma(struct siop_adapter *adp, struct scsi_xfer *xs) in siop_ma() argument 137 offset = readb(adp->addr + SIOP_SCRATCHA + 1); in siop_ma() 142 dbc = readl(adp->addr + SIOP_DBC) & 0x00ffffff; in siop_ma() 147 siop_sdp(struct siop_adapter *adp, struct siop_xfer *xfer, struct scsi_xfer *xs, in siop_sdp() argument 171 siop_update_resid(adp, xfer, xs, offset); in siop_sdp() 201 siop_update_resid(struct siop_adapter *adp, struct siop_xfer *xfer, in siop_update_resid() argument 230 #define CALL_SCRIPT(ent) writel(adp->addr + SIOP_DSP, scriptaddr + ent); 233 siop_intr(struct siop_adapter *adp) in siop_intr() argument [all …]
|
| /netbsd-src/sys/arch/amiga/dev/ |
| H A D | amidisplaycc.c | 424 struct amidisplaycc_softc * adp; in amidisplaycc_attach() local 428 adp = device_private(self); in amidisplaycc_attach() 440 if (adp) { in amidisplaycc_attach() 445 amidisplaycc_consolescreen.device = adp; in amidisplaycc_attach() 446 adp->currentscreen = &amidisplaycc_consolescreen; in amidisplaycc_attach() 449 adp->currentscreen = NULL; in amidisplaycc_attach() 453 adp->ison = 1; in amidisplaycc_attach() 459 adp->gfxview = NULL; in amidisplaycc_attach() 460 adp->gfxon = 0; in amidisplaycc_attach() 461 adp->gfxwidth = amidisplaycc_screentab[0].wsdescr.ncols * in amidisplaycc_attach() [all …]
|
| H A D | zbus.c | 278 const struct aconfdata *adp, *eadp; in aconflookup() local 281 for (adp = aconftab; adp < eadp; adp++) in aconflookup() 282 if (adp->manid == mid && adp->prodid == pid) in aconflookup() 283 return(adp->name); in aconflookup()
|
| /netbsd-src/sys/fs/adosfs/ |
| H A D | adlookup.c | 77 struct anode *adp; /* anode of search dir */ in adosfs_lookup() local 87 adp = VTOA(vdp); in adosfs_lookup() 148 error = VFS_VGET(vdp->v_mount, (ino_t)adp->pblock, in adosfs_lookup() 163 hval = adoshash(pelt, plen, adp->ntabent, IS_INTER(adp->amp)); in adosfs_lookup() 164 bn = adp->tab[hval]; in adosfs_lookup() 165 i = uimin(adp->tabi[hval], 0); in adosfs_lookup() 176 if (--i < adp->tabi[hval]) in adosfs_lookup() 177 adp->tabi[hval] = i; in adosfs_lookup() 184 if (i != adp->tabi[hval]) in adosfs_lookup() 187 adp->tabi[hval] = -adp->tabi[hval]; in adosfs_lookup() [all …]
|
| H A D | advnops.c | 544 struct dirent ad, *adp; in adosfs_readdir() local 567 adp = &ad; in adosfs_readdir() 645 memset(adp, 0, sizeof *adp); in adosfs_readdir() 646 adp->d_fileno = ap->block; in adosfs_readdir() 652 adp->d_type = DT_REG; in adosfs_readdir() 655 adp->d_type = DT_DIR; in adosfs_readdir() 658 adp->d_type = DT_LNK; in adosfs_readdir() 661 adp->d_type = DT_UNKNOWN; in adosfs_readdir() 664 adp->d_namlen = strlen(ap->name); in adosfs_readdir() 665 memcpy(adp->d_name, ap->name, adp->d_namlen); in adosfs_readdir() [all …]
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/objects/ |
| H A D | obj_dat.c | 222 ADDED_OBJ ad, *adp; in OBJ_nid2obj() local 238 adp = lh_ADDED_OBJ_retrieve(added, &ad); in OBJ_nid2obj() 239 if (adp != NULL) in OBJ_nid2obj() 240 return adp->obj; in OBJ_nid2obj() 250 ADDED_OBJ ad, *adp; in OBJ_nid2sn() local 265 adp = lh_ADDED_OBJ_retrieve(added, &ad); in OBJ_nid2sn() 266 if (adp != NULL) in OBJ_nid2sn() 267 return adp->obj->sn; in OBJ_nid2sn() 277 ADDED_OBJ ad, *adp; in OBJ_nid2ln() local 292 adp = lh_ADDED_OBJ_retrieve(added, &ad); in OBJ_nid2ln() [all …]
|
| /netbsd-src/crypto/external/bsd/openssl/dist/crypto/objects/ |
| H A D | obj_dat.c | 222 ADDED_OBJ ad, *adp; in OBJ_nid2obj() local 242 adp = lh_ADDED_OBJ_retrieve(added, &ad); in OBJ_nid2obj() 243 if (adp != NULL) in OBJ_nid2obj() 244 return adp->obj; in OBJ_nid2obj() 252 ADDED_OBJ ad, *adp; in OBJ_nid2sn() local 272 adp = lh_ADDED_OBJ_retrieve(added, &ad); in OBJ_nid2sn() 273 if (adp != NULL) in OBJ_nid2sn() 274 return adp->obj->sn; in OBJ_nid2sn() 282 ADDED_OBJ ad, *adp; in OBJ_nid2ln() local 302 adp = lh_ADDED_OBJ_retrieve(added, &ad); in OBJ_nid2ln() [all …]
|
| /netbsd-src/external/cddl/osnet/dist/lib/libdtrace/common/ |
| H A D | dt_pid.c | 854 dtrace_argdesc_t *adp, int *nargs) in dt_pid_get_types() argument 959 bzero(adp, sizeof (dtrace_argdesc_t)); in dt_pid_get_types() 960 adp->dtargd_ndx = 0; in dt_pid_get_types() 961 adp->dtargd_id = pdp->dtpd_id; in dt_pid_get_types() 962 adp->dtargd_mapping = adp->dtargd_ndx; in dt_pid_get_types() 968 (void) snprintf(adp->dtargd_native, DTRACE_ARGTYPELEN, in dt_pid_get_types() 970 adp++; in dt_pid_get_types() 971 bzero(adp, sizeof (dtrace_argdesc_t)); in dt_pid_get_types() 972 adp->dtargd_ndx = 1; in dt_pid_get_types() 973 adp->dtargd_id = pdp->dtpd_id; in dt_pid_get_types() [all …]
|
| H A D | dt_provider.c | 251 dtrace_argdesc_t *adp = adv; in dt_probe_discover() local 259 for (nc = -1, i = 0; i < adc; i++, adp++) { in dt_probe_discover() 260 bzero(adp, sizeof (dtrace_argdesc_t)); in dt_probe_discover() 261 adp->dtargd_ndx = i; in dt_probe_discover() 262 adp->dtargd_id = pdp->dtpd_id; in dt_probe_discover() 264 if (dt_ioctl(dtp, DTRACEIOC_PROBEARG, adp) != 0) { in dt_probe_discover() 269 if (adp->dtargd_ndx == DTRACE_ARGNONE) in dt_probe_discover() 272 nc = MAX(nc, adp->dtargd_mapping); in dt_probe_discover() 326 for (adp = adv, i = 0; i < xc; i++, adp++) { in dt_probe_discover() 328 adp->dtargd_native, &dtt) != 0) { in dt_probe_discover() [all …]
|
| H A D | dt_printf.c | 2004 dt_fprinta(const dtrace_aggdata_t *adp, void *arg) in dt_fprinta() argument 2006 const dtrace_aggdesc_t *agg = adp->dtada_desc; in dt_fprinta() 2014 adp->dtada_data, adp->dtada_size, &id) != 0 || pfw->pfw_aid != id) in dt_fprinta() 2018 recp, nrecs, adp->dtada_data, adp->dtada_size, &adp, 1) == -1) in dt_fprinta()
|
| H A D | dt_map.c | 433 dtrace_aggdesc_t **adp) argument 444 *adp = dtp->dt_aggdesc[aggid];
|
| /netbsd-src/external/bsd/am-utils/dist/libamu/ |
| H A D | misc_rpc.c | 181 struct authdes_cred *adp; in getcreds() local 194 adp = (struct authdes_cred *) rp->rq_clntcred; in getcreds() 196 if (sscanf(adp->adc_fullname.name, "unix.%lu@", (u_long *) u) == 1) in getcreds()
|
| /netbsd-src/external/bsd/openldap/dist/servers/slapd/ |
| H A D | schema_prep.c | 1236 AttributeDescription ** adp = (AttributeDescription **) in slap_schema_load() local 1239 assert( *adp == NULL ); in slap_schema_load() 1241 rc = slap_str2ad( ad_map[i].ssam_name, adp, &text ); in slap_schema_load() 1251 (*adp)->ad_type->sat_check = ad_map[i].ssam_check; in slap_schema_load() 1254 (*adp)->ad_type->sat_flags |= ad_map[i].ssam_flags; in slap_schema_load() 1262 syntax = (*adp)->ad_type->sat_syntax; in slap_schema_load() 1274 (*adp)->ad_type->sat_syntax = syn; in slap_schema_load() 1286 *mr = *(*adp)->ad_type->sat_equality; in slap_schema_load() 1289 mr->smr_syntax = (*adp)->ad_type->sat_syntax; in slap_schema_load() 1307 (*adp)->ad_type->sat_equality = mr; in slap_schema_load()
|
| /netbsd-src/external/bsd/elftoolchain/dist/libdwarf/ |
| H A D | libdwarf_abbrev.c | 71 uint64_t form, int64_t ic, uint64_t adoff, Dwarf_AttrDef *adp, in _dwarf_attrdef_add() argument 98 if (adp != NULL) in _dwarf_attrdef_add() 99 *adp = ad; in _dwarf_attrdef_add()
|
| /netbsd-src/sys/crypto/aes/ |
| H A D | aes_ccm.c | 91 const uint8_t *adp = ad; in aes_ccm_init() local 152 xor(auth + i, auth + i, adp, MIN(adlen, 16 - i)); in aes_ccm_init() 153 adp += MIN(adlen, 16 - i); in aes_ccm_init() 159 aes_cbcmac_update1(enc, adp, adlen - (adlen % 16), in aes_ccm_init() 169 xor(auth, auth, adp, adlen); in aes_ccm_init()
|
| /netbsd-src/external/bsd/openldap/dist/contrib/slapd-modules/samba4/ |
| H A D | vernum.c | 408 AttributeDescription **adp; member 429 code = register_at( as[ i ].desc, as[ i ].adp, 0 ); in vernum_initialize() 438 if ( is_at_no_user_mod( (*as[ i ].adp)->ad_type ) ) { in vernum_initialize() 439 (*as[ i ].adp)->ad_type->sat_flags |= in vernum_initialize()
|
| H A D | pguid.c | 409 AttributeDescription **adp; member 431 code = register_at( as[ i ].desc, as[ i ].adp, 0 ); in pguid_initialize() 440 if ( is_at_no_user_mod( (*as[ i ].adp)->ad_type ) ) { in pguid_initialize() 441 (*as[ i ].adp)->ad_type->sat_flags |= in pguid_initialize()
|
| H A D | rdnval.c | 601 AttributeDescription **adp; member 621 code = register_at( as[ i ].desc, as[ i ].adp, 0 ); in rdnval_initialize() 630 if ( is_at_no_user_mod( (*as[ i ].adp)->ad_type ) ) { in rdnval_initialize() 631 (*as[ i ].adp)->ad_type->sat_flags |= in rdnval_initialize()
|
| /netbsd-src/external/bsd/openldap/dist/contrib/slapd-modules/smbk5pwd/ |
| H A D | smbk5pwd.c | 848 AttributeDescription **adp; in smbk5pwd_modules_init() member 897 *(krb5_ad[ i ].adp) = NULL; in smbk5pwd_modules_init() 899 rc = slap_str2ad( krb5_ad[ i ].name, krb5_ad[ i ].adp, &text ); in smbk5pwd_modules_init() 957 *(samba_ad[ i ].adp) = NULL; in smbk5pwd_modules_init() 959 rc = slap_str2ad( samba_ad[ i ].name, samba_ad[ i ].adp, &text ); in smbk5pwd_modules_init() 985 *(shadow_ad[ i ].adp) = NULL; in smbk5pwd_modules_init() 987 rc = slap_str2ad( shadow_ad[ i ].name, shadow_ad[ i ].adp, &text ); in smbk5pwd_modules_init()
|
| /netbsd-src/sys/arch/arm/xscale/ |
| H A D | pxa2x0_ac97.c | 686 struct acu_dma *ad, **adp; in acu_free() local 688 for (adp = &sc->sc_dmas; (ad = *adp) != NULL; adp = &ad->ad_next) { in acu_free() 697 *adp = ad->ad_next; in acu_free()
|
| /netbsd-src/external/bsd/openldap/dist/contrib/slapd-modules/usn/ |
| H A D | usn.c | 51 AttributeDescription **adp; member 317 code = register_at( as[i].desc, as[i].adp, 0 ); in usn_init()
|
| /netbsd-src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/ |
| H A D | imx7ulp-com.dts | 35 adp-disable;
|
| H A D | imx7ulp-evk.dts | 74 adp-disable;
|
| /netbsd-src/sys/fs/ntfs/ |
| H A D | ntfs_subr.c | 721 struct ntvattrdef *adp; in ntfs_ntlookupattr() local 738 adp = ntmp->ntm_ad; in ntfs_ntlookupattr() 739 for (i = 0; i < ntmp->ntm_adnum; i++, adp++){ in ntfs_ntlookupattr() 740 if (syslen != adp->ad_namelen || in ntfs_ntlookupattr() 741 strncmp(sys, adp->ad_name, syslen) != 0) in ntfs_ntlookupattr() 744 *attrtype = adp->ad_type; in ntfs_ntlookupattr()
|