HomeSort by: relevance | last modified time | path
    Searched defs:hd (Results 1 - 25 of 41) sorted by relevancy

1 2

  /src/sys/arch/hp300/stand/common/
fhpib.c 51 struct fhpibdevice *hd = (void *)hs->sc_addr; local
53 if (hd->hpib_cid != HPIBC)
65 struct fhpibdevice *hd; local
67 hd = (void *)hs->sc_addr;
68 hd->hpib_cid = 0xFF;
70 hd->hpib_cmd = CT_8BIT;
71 hd->hpib_ar = AR_ARONC;
72 hd->hpib_cmd |= CT_IFC;
73 hd->hpib_cmd |= CT_INITFIFO;
75 hd->hpib_cmd &= ~CT_IFC
86 struct fhpibdevice *hd; local
126 struct fhpibdevice *hd; local
162 struct fhpibdevice *hd; local
    [all...]
nhpib.c 52 struct nhpibdevice *hd = (void *)hs->sc_addr; local
54 if ((int)hd == internalhpib) {
58 else if (hd->hpib_cid == HPIBB) {
60 hs->sc_ba = hd->hpib_csa & CSA_BA;
72 struct nhpibdevice *hd; local
74 hd = (void *)hs->sc_addr;
75 hd->hpib_acr = AUX_SSWRST;
76 hd->hpib_ar = hs->sc_ba;
77 hd->hpib_lim = 0;
78 hd->hpib_mim = 0
102 struct nhpibdevice *hd; local
138 struct nhpibdevice *hd; local
172 struct nhpibdevice *hd; local
    [all...]
scsi.c 65 static int wait_for_select(volatile struct scsidevice *hd);
68 static int ixfer_in(volatile struct scsidevice *hd, int, uint8_t *);
121 volatile struct scsidevice *hd; local
126 hd = (void *)hs->sc_addr;
127 hd->scsi_id = 0xFF;
132 hd->scsi_csr = 0;
133 hd->scsi_sctl = SCTL_DISABLE | SCTL_CTRLRST;
134 hd->scsi_scmd = 0;
135 hd->scsi_tmod = 0;
136 hd->scsi_pctl = 0
270 volatile struct scsidevice *hd = (void *)hs->sc_addr; local
    [all...]
  /src/sys/dev/ic/
hpet.c 208 uint32_t hd0, hd; local
240 hd = bus_space_read_4(sc->sc_memt, sc->sc_memh, HPET_MCOUNT_LO);
244 val = (uint64_t)(hd - hd0) * sc->sc_period / 100000000;
aac.c 818 struct aac_drive *hd; local
826 hd = sc->sc_hdr;
828 for (i = 0; i < AAC_MAX_CONTAINERS; i++, hd++) {
862 hd->hd_present = 1;
863 hd->hd_size = le32toh(mir.MntTable[0].Capacity);
865 hd->hd_size += (u_int64_t)
867 hd->hd_devtype = le32toh(mir.MntTable[0].VolType);
868 hd->hd_size &= ~0x1f;
  /src/tests/lib/libusbhid/
t_usbhid.c 427 hid_data_t hd; local
433 hd = hid_start_parse(hrd, 0, NO_REPORT_ID);
434 while (hid_get_item(hd, &hi) > 0) {
436 hid_end_parse(hd);
  /src/bin/pax/
cpio.c 286 HD_CPIO *hd; local
293 hd = (HD_CPIO *)buf;
300 arcn->sb.st_dev = (dev_t)asc_u32(hd->c_dev, sizeof(hd->c_dev), OCT);
301 arcn->sb.st_ino = (ino_t)asc_u32(hd->c_ino, sizeof(hd->c_ino), OCT);
302 arcn->sb.st_mode = (mode_t)asc_u32(hd->c_mode, sizeof(hd->c_mode), OCT);
303 arcn->sb.st_uid = (uid_t)asc_u32(hd->c_uid, sizeof(hd->c_uid), OCT)
384 HD_CPIO *hd; local
558 HD_VCPIO *hd; local
682 HD_VCPIO *hd; local
864 HD_BCPIO *hd; local
979 HD_BCPIO *hd; local
    [all...]
tar.c 112 check_sum(char *hd, size_t hdlen, char *bl, size_t bllen, int quiet)
116 hdck = asc_u32(hd, hdlen, OCT);
379 HD_TAR *hd; local
385 hd = (HD_TAR *)blk;
395 if (hd->name[0] == '\0')
407 return check_sum(hd->chksum, sizeof(hd->chksum), blk, BLKMULT, 1);
459 HD_TAR *hd; local
475 hd = (HD_TAR *)buf;
476 if (hd->linkflag != LONGLINKTYPE && hd->linkflag != LONGNAMETYPE)
592 HD_TAR *hd; local
780 HD_USTAR *hd; local
817 HD_USTAR *hd; local
1055 HD_USTAR *hd; local
    [all...]
  /src/games/hack/
hack.mkshop.c 290 int i = rn2(100), hd = rn2(dlevel); local
292 if (hd > 10 && i < 10)
294 if (hd > 8 && i > 85)
  /src/sys/dev/hil/
hil.c 515 const struct hildevice *hd; local
533 for (hd = hildevs; hd->minid >= 0; hd++)
534 if (sc->sc_cmdbuf[0] >= hd->minid &&
535 sc->sc_cmdbuf[0] <= hd->maxid) {
539 ha.ha_type = hd->type;
540 ha.ha_descr = hd->descr;
  /src/sys/ufs/lfs/
lfs_balloc.c 717 struct lfs_splay *hd; local
723 hd = &ip->i_lfs_lbtree;
726 while ((lbp = SPLAY_MIN(lfs_splay, hd)) != NULL)
  /src/sys/arch/hp300/dev/
fhpib.c 92 #define FHPIBWAIT(hd, m) while (((hd)->hpib_intr & (m)) == 0) DELAY(1)
196 struct fhpibdevice *hd = sc->sc_regs; local
198 hd->hpib_cid = 0xFF;
200 hd->hpib_cmd = CT_8BIT;
201 hd->hpib_ar = AR_ARONC;
202 fhpibifc(hd);
203 hd->hpib_ie = IDS_IE;
204 hd->hpib_data = C_DCL;
210 hd->hpib_ie |= IDS_WDMA
238 struct fhpibdevice *hd = sc->sc_regs; local
299 struct fhpibdevice *hd = sc->sc_regs; local
361 struct fhpibdevice *hd = sc->sc_regs; local
457 struct fhpibdevice *hd = sc->sc_regs; local
480 struct fhpibdevice *hd = sc->sc_regs; local
524 struct fhpibdevice *hd = sc->sc_regs; local
603 struct fhpibdevice *hd = sc->sc_regs; local
647 struct fhpibdevice *hd = sc->sc_regs; local
    [all...]
nhpib.c 262 struct nhpibdevice *hd = sc->sc_regs; local
264 hd->hpib_acr = AUX_SSWRST;
265 hd->hpib_ar = hs->sc_ba;
266 hd->hpib_lim = LIS_ERR;
267 hd->hpib_mim = 0;
268 hd->hpib_acr = AUX_CDAI;
269 hd->hpib_acr = AUX_CSHDW;
270 hd->hpib_acr = AUX_SSTD1;
271 hd->hpib_acr = AUX_SVSTD1;
272 hd->hpib_acr = AUX_CPP
299 struct nhpibdevice *hd = sc->sc_regs; local
354 struct nhpibdevice *hd = sc->sc_regs; local
405 struct nhpibdevice *hd = sc->sc_regs; local
456 struct nhpibdevice *hd = sc->sc_regs; local
474 struct nhpibdevice *hd = sc->sc_regs; local
506 struct nhpibdevice *hd = sc->sc_regs; local
551 struct nhpibdevice *hd = sc->sc_regs; local
    [all...]
  /src/sys/arch/luna68k/stand/boot/
sc.c 141 struct scsidevice *hd = hs->sc_spc; local
149 hd->scsi_sctl = SCTL_DISABLE | SCTL_CTRLRST;
150 hd->scsi_scmd = 0;
151 hd->scsi_pctl = 0;
152 hd->scsi_temp = 0;
153 hd->scsi_tch = 0;
154 hd->scsi_tcm = 0;
155 hd->scsi_tcl = 0;
156 hd->scsi_ints = 0;
165 hd->scsi_bdid = SCSI_ID
363 struct scsidevice *hd; local
420 struct scsidevice *hd = hs->sc_spc; local
653 struct scsidevice *hd; local
    [all...]
  /src/sys/arch/sgimips/hpc/
hpc.c 399 const struct hpc_device *hd; local
515 hd = (hpctype == 3) ? hpc3_devices : hpc1_devices;
516 for (; hd->hd_name != NULL; hd++) {
517 if (!(hd->hd_sysmask & sysmask) || hd->hd_base != sc->sc_base)
520 ha.ha_name = hd->hd_name;
521 ha.ha_devoff = hd->hd_devoff;
522 ha.ha_dmaoff = hd->hd_dmaoff;
523 ha.ha_irq = hd->hd_irq
    [all...]
  /src/sys/dev/hid/
hid.c 507 struct hid_data *hd; local
511 hd = hid_start_parse(desc, size, hid_input);
512 if (hd == NULL)
516 while (hid_get_item(hd, &hi)) {
532 hid_end_parse(hd);
540 hid_end_parse(hd);
  /src/sys/dev/usb/
usbdi_util.c 591 usb_hid_descriptor_t *hd; local
602 for (; end - p >= sizeof(*hd); p += hd->bLength) {
603 hd = (usb_hid_descriptor_t *)p;
604 if (hd->bLength < sizeof(*hd) || hd->bLength > end - p)
606 if (hd->bLength >= USB_HID_DESCRIPTOR_SIZE(0) &&
607 hd->bDescriptorType == UDESC_HID)
608 return hd;
    [all...]
uhub.c 207 usbd_get_hub_desc(struct usbd_device *dev, usb_hub_descriptor_t *hd, int speed)
232 nports = hd->bNbrPorts = UHD_SS_NPORTS_MAX;
235 hd->bDescLength = USB_HUB_DESCRIPTOR_SIZE +
237 memcpy(hd->DeviceRemovable, hssd.DeviceRemovable, rmvlen);
238 hd->bDescriptorType = hssd.bDescriptorType;
239 hd->bNbrPorts = hssd.bNbrPorts;
240 hd->wHubCharacteristics[0] = hssd.wHubCharacteristics[0];
241 hd->wHubCharacteristics[1] = hssd.wHubCharacteristics[1];
242 hd->bPwrOn2PwrGood = hssd.bPwrOn2PwrGood;
243 hd->bHubContrCurrent = hssd.bHubContrCurrent
532 usb_hub_descriptor_t *hd = &dev->ud_hub->uh_hubdesc; local
    [all...]
  /src/external/bsd/wpa/dist/src/crypto/
crypto_gnutls.c 23 gcry_md_hd_t hd; local
30 if (gcry_md_open(&hd, algo, 0) != GPG_ERR_NO_ERROR)
33 gcry_md_write(hd, addr[i], len[i]);
34 p = gcry_md_read(hd, algo);
37 gcry_md_close(hd);
50 gcry_cipher_hd_t hd; local
63 gcry_cipher_open(&hd, GCRY_CIPHER_DES, GCRY_CIPHER_MODE_ECB, 0);
64 gcry_err_code(gcry_cipher_setkey(hd, pkey, 8));
65 gcry_cipher_encrypt(hd, cypher, 8, clear, 8);
66 gcry_cipher_close(hd);
105 gcry_md_hd_t hd; local
217 gcry_cipher_hd_t hd; local
239 gcry_cipher_hd_t hd = ctx; local
247 gcry_cipher_hd_t hd = ctx; local
254 gcry_cipher_hd_t hd; local
273 gcry_cipher_hd_t hd = ctx; local
281 gcry_cipher_hd_t hd = ctx; local
    [all...]
  /src/external/cddl/osnet/dist/tools/ctf/cvt/
hash.c 160 struct hash_data *hd = arg; local
164 if (hd->hd_hash->h_cmp(hd->hd_key, node) == 0) {
165 if ((cbrc = hd->hd_fun(node, hd->hd_private)) < 0)
178 struct hash_data hd; local
180 hd.hd_hash = hash;
181 hd.hd_fun = fun;
182 hd.hd_key = key;
183 hd.hd_private = private
193 struct hash_data *hd = arg; local
206 struct hash_data hd; local
    [all...]
  /src/sys/kern/
kern_hook.c 97 struct hook_desc *hd; local
101 hd = malloc(sizeof(*hd), M_DEVBUF, M_NOWAIT);
102 if (hd != NULL) {
105 hd->hk_fn = fn;
106 hd->hk_arg = arg;
107 LIST_INSERT_HEAD(list, hd, hk_list);
112 return (hd);
122 struct hook_desc *hd; local
124 LIST_FOREACH(hd, list, hk_list)
141 struct hook_desc *hd; local
152 struct hook_desc *hd; local
248 struct hook_desc *hd; local
331 struct hook_desc *hd; local
363 struct hook_desc *hd; local
480 struct hook_desc *hd; local
497 struct hook_desc *hd, *nexthd; local
563 struct hook_desc *hd; local
    [all...]
  /src/usr.sbin/ifwatchd/
ifwatchd.c 266 const struct rt_msghdr *hd = msg; local
268 if (hd->rtm_version != RTM_VERSION)
271 switch (hd->rtm_type) {
285 printf("unknown message ignored (%d)\n", hd->rtm_type);
  /src/bin/ed/
main.c 316 char *hd; local
323 for (hd = ibufp;; first = 0)
377 if (ibufp == hd)
  /src/sys/external/bsd/drm2/dist/drm/radeon/
radeon_uvd.c 854 * @hd: number of HD streams
856 * Count the number of open SD/HD streams as a hint for power mangement
859 unsigned *sd, unsigned *hd)
864 *hd = 0;
871 ++(*hd);
885 &rdev->pm.dpm.hd);
904 unsigned hd = 0, sd = 0; local
905 radeon_uvd_count_handles(rdev, &sd, &hd);
907 (rdev->pm.dpm.hd != hd))
    [all...]
  /src/external/gpl3/binutils/dist/gas/config/
kvx-parse.c 723 struct token_list *hd = lst1;
724 while (hd->next)
726 hd->len += lst2->len;
727 hd = hd->next;
730 hd->len += lst2->len;
731 hd->next = lst2;
720 struct token_list *hd = lst1; local

Completed in 60 milliseconds

1 2