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

1 2

  /src/sys/arch/hp300/stand/common/
fhpib.c 51 struct fhpibdevice *hd = (void *)hs->sc_addr; local in function:fhpibinit
53 if (hd->hpib_cid != HPIBC)
65 struct fhpibdevice *hd; local in function:fhpibreset
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 in function:fhpibsend
126 struct fhpibdevice *hd; local in function:fhpibrecv
162 struct fhpibdevice *hd; local in function:fhpibppoll
    [all...]
nhpib.c 52 struct nhpibdevice *hd = (void *)hs->sc_addr; local in function:nhpibinit
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 in function:nhpibreset
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 in function:nhpibsend
138 struct nhpibdevice *hd; local in function:nhpibrecv
172 struct nhpibdevice *hd; local in function:nhpibppoll
    [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 in function:scsireset
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 in function:scsiicmd
    [all...]
  /src/tests/lib/libusbhid/
t_usbhid.c 427 hid_data_t hd; local in function:ATF_TC_BODY
433 hd = hid_start_parse(hrd, 0, NO_REPORT_ID);
434 while (hid_get_item(hd, &hi) > 0) {
436 hid_end_parse(hd);
  /src/sys/dev/ic/
hpet.c 208 uint32_t hd0, hd; local in function:hpet_tsc_freq
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 in function:aac_startup
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/bin/pax/
cpio.c 286 HD_CPIO *hd; local in function:cpio_rd
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 in function:cpio_wr
558 HD_VCPIO *hd; local in function:vcpio_rd
682 HD_VCPIO *hd; local in function:vcpio_wr
864 HD_BCPIO *hd; local in function:bcpio_rd
979 HD_BCPIO *hd; local in function:bcpio_wr
    [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 in function:tar_id
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 in function:tar_rd
475 hd = (HD_TAR *)buf;
476 if (hd->linkflag != LONGLINKTYPE && hd->linkflag != LONGNAMETYPE)
592 HD_TAR *hd; local in function:tar_wr
780 HD_USTAR *hd; local in function:ustar_id
817 HD_USTAR *hd; local in function:ustar_rd
1055 HD_USTAR *hd; local in function:ustar_wr
    [all...]
  /src/games/hack/
hack.mkshop.c 290 int i = rn2(100), hd = rn2(dlevel); local in function:morguemon
292 if (hd > 10 && i < 10)
294 if (hd > 8 && i > 85)
  /src/sys/ufs/lfs/
lfs_balloc.c 709 struct lfs_splay *hd; local in function:lfs_deregister_all
715 hd = &ip->i_lfs_lbtree;
718 while ((lbp = SPLAY_MIN(lfs_splay, hd)) != NULL)
  /src/sys/dev/hil/
hil.c 515 const struct hildevice *hd; local in function:hilconfig
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/arch/sgimips/hpc/
hpc.c 399 const struct hpc_device *hd; local in function:hpc_attach
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/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 in function:fhpibreset
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 in function:fhpibsend
299 struct fhpibdevice *hd = sc->sc_regs; local in function:fhpibrecv
361 struct fhpibdevice *hd = sc->sc_regs; local in function:fhpibgo
457 struct fhpibdevice *hd = sc->sc_regs; local in function:fhpibdmadone
480 struct fhpibdevice *hd = sc->sc_regs; local in function:fhpibdone
524 struct fhpibdevice *hd = sc->sc_regs; local in function:fhpibintr
603 struct fhpibdevice *hd = sc->sc_regs; local in function:fhpibppoll
647 struct fhpibdevice *hd = sc->sc_regs; local in function:fhpibppwatch
    [all...]
nhpib.c 262 struct nhpibdevice *hd = sc->sc_regs; local in function:nhpibreset
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 in function:nhpibsend
354 struct nhpibdevice *hd = sc->sc_regs; local in function:nhpibrecv
405 struct nhpibdevice *hd = sc->sc_regs; local in function:nhpibgo
456 struct nhpibdevice *hd = sc->sc_regs; local in function:nhpibreadtimo
474 struct nhpibdevice *hd = sc->sc_regs; local in function:nhpibdone
506 struct nhpibdevice *hd = sc->sc_regs; local in function:nhpibintr
551 struct nhpibdevice *hd = sc->sc_regs; local in function:nhpibppoll
    [all...]
  /src/sys/dev/usb/
usbdi_util.c 591 usb_hid_descriptor_t *hd; local in function:usbd_get_hid_descriptor
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 in function:uhub_explore
    [all...]
uhso.c 634 const struct uhso_dev *hd; local in function:uhso_get_iface_spec
639 hd = uhso_lookup(uaa->uaa_vendor, uaa->uaa_product);
640 KASSERT(hd != NULL);
642 switch (hd->type) {
  /src/sys/arch/luna68k/stand/boot/
sc.c 141 struct scsidevice *hd = hs->sc_spc; local in function:screset
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 in function:scrun
420 struct scsidevice *hd = hs->sc_spc; local in function:scabort
653 struct scsidevice *hd; local in function:scintr
    [all...]
  /src/sys/dev/hid/
hid.c 507 struct hid_data *hd; local in function:hid_is_collection
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/usr.sbin/ifwatchd/
ifwatchd.c 266 const struct rt_msghdr *hd = msg; local in function:dispatch
268 if (hd->rtm_version != RTM_VERSION)
271 switch (hd->rtm_type) {
285 printf("unknown message ignored (%d)\n", hd->rtm_type);
  /src/sys/kern/
kern_hook.c 96 struct hook_desc *hd; local in function:hook_establish
100 hd = malloc(sizeof(*hd), M_DEVBUF, M_NOWAIT);
101 if (hd != NULL) {
104 hd->hk_fn = fn;
105 hd->hk_arg = arg;
106 LIST_INSERT_HEAD(list, hd, hk_list);
111 return (hd);
121 struct hook_desc *hd; local in function:hook_disestablish
123 LIST_FOREACH(hd, list, hk_list)
140 struct hook_desc *hd; local in function:hook_destroy
151 struct hook_desc *hd; local in function:hook_proc_run
247 struct hook_desc *hd; local in function:domountroothook
330 struct hook_desc *hd; local in function:doforkhooks
362 struct hook_desc *hd; local in function:docritpollhooks
479 struct hook_desc *hd; local in function:simplehook_destroy
496 struct hook_desc *hd, *nexthd; local in function:simplehook_dohooks
562 struct hook_desc *hd; local in function:simplehook_establish
    [all...]
  /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 in function:radeon_uvd_note_usage
905 radeon_uvd_count_handles(rdev, &sd, &hd);
907 (rdev->pm.dpm.hd != hd))
    [all...]
  /src/bin/ed/
main.c 316 char *hd; local in function:next_addr
323 for (hd = ibufp;; first = 0)
377 if (ibufp == hd)
  /src/sys/arch/hpcsh/dev/hd64461/
hd64461video.c 108 struct hpcfb_dspconf hd; member in struct:hd64461video_chip
270 hfa.ha_dspconflist = &hd64461video_chip.hd;
604 *dspconf = sc->sc_vc->hd; /* structure assignment */
  /src/sys/dev/scsipi/
ses.c 931 SesEncHdr hd; local in function:ses_getconfig
982 if (ses_enchdr((uint8_t *) sdata, amt, i, &hd)) {
988 "closure Length %d\n", hd.Subencid, hd.Ntypes, hd.VEnclen);
999 ntype += hd.Ntypes;

Completed in 76 milliseconds

1 2