Searched refs:hd (Results 26 - 50 of 54) sorted by relevance

123

/freebsd-13-stable/sys/dev/hid/
H A Dhidbus.h145 #define HIDBUS_FOREACH_ITEM(hd, hi, tlc_index) \
147 _iter <= (tlc_index) && hid_get_item((hd), (hi)); \
H A Dhid.c802 struct hid_data *hd; local
806 hd = hid_start_parse(desc, size, hid_input);
807 if (hd == NULL)
810 while ((err = hid_get_item(hd, &hi))) {
815 hid_end_parse(hd);
905 struct hid_data *hd; local
910 hd = hid_start_parse(d_ptr, d_len, 1 << hid_input);
911 if (hd == NULL)
917 while (hid_get_item(hd, &hi)) {
947 hid_end_parse(hd);
[all...]
H A Dhidmap.c448 struct hid_data *hd; local
460 hd = hid_start_parse(d_ptr, d_len, 1 << hid_input);
461 HIDBUS_FOREACH_ITEM(hd, &hi, tlc_index) {
470 hid_end_parse(hd);
659 struct hid_data *hd; local
672 hd = hid_start_parse(d_ptr, d_len, 1 << hid_input);
673 HIDBUS_FOREACH_ITEM(hd, &hi, tlc_index) {
684 hid_end_parse(hd);
H A Dhidbus.c199 struct hid_data *hd; local
208 hd = hid_start_parse(data, len, 1 << hid_input);
209 while (hid_get_item(hd, &hi)) {
224 hid_end_parse(hd);
H A Dhmt.c658 struct hid_data *hd; local
721 hd = hid_start_parse(d_ptr, d_len, 1 << hid_input);
722 HIDBUS_FOREACH_ITEM(hd, &hi, tlc_index) {
815 hid_end_parse(hd);
/freebsd-13-stable/sys/dev/usb/
H A Dusb_request.h59 struct mtx *mtx, struct usb_hub_descriptor *hd,
62 struct mtx *mtx, struct usb_hub_ss_descriptor *hd,
H A Dusb_request.c1494 struct usb_hub_descriptor *hd, uint8_t nports)
1504 return (usbd_do_request(udev, mtx, &req, hd));
1516 struct usb_hub_ss_descriptor *hd, uint8_t nports)
1519 uint16_t len = sizeof(*hd) - 32 + 1 + ((nports + 7) / 8);
1526 return (usbd_do_request(udev, mtx, &req, hd));
1493 usbd_req_get_hub_descriptor(struct usb_device *udev, struct mtx *mtx, struct usb_hub_descriptor *hd, uint8_t nports) argument
1515 usbd_req_get_ss_hub_descriptor(struct usb_device *udev, struct mtx *mtx, struct usb_hub_ss_descriptor *hd, uint8_t nports) argument
/freebsd-13-stable/stand/efi/gptboot/
H A Dproto.c126 HARDDRIVE_DEVICE_PATH *hd; local
133 hd = (HARDDRIVE_DEVICE_PATH *)md;
134 return (hd->PartitionNumber);
/freebsd-13-stable/sys/fs/unionfs/
H A Dunion_subr.c113 struct unionfs_node_hashhead *hd; local
123 hd = unionfs_get_hashhead(dvp, path);
124 LIST_FOREACH(unp, hd, un_hash) {
151 struct unionfs_node_hashhead *hd; local
161 hd = unionfs_get_hashhead(dvp, path);
162 LIST_FOREACH(unp, hd, un_hash) {
169 LIST_INSERT_HEAD(hd, uncp, un_hash);
179 LIST_INSERT_HEAD(hd, uncp, un_hash);
335 struct unionfs_node_hashhead *hd; local
389 hd
736 static struct unionfs_node_hashhead *hd; local
[all...]
/freebsd-13-stable/usr.sbin/bluetooth/bthidd/
H A Dparser.y394 hid_data_t hd;
422 for (hd = hid_start_parse(d->desc, ~0, -1); hid_get_item(hd, &hi) > 0; ) {
470 hid_end_parse(hd);
/freebsd-13-stable/bin/ed/
H A Dmain.c288 const char *hd; local
295 for (hd = ibufp;; first = 0)
350 if (ibufp == hd)
/freebsd-13-stable/sys/dev/usb/input/
H A Dwmt.c755 struct hid_data *hd; local
773 hd = hid_start_parse(d_ptr, d_len, 1 << hid_feature);
774 while (hid_get_item(hd, &hi)) {
818 hid_end_parse(hd);
829 hd = hid_start_parse(d_ptr, d_len, 1 << hid_input);
830 while (hid_get_item(hd, &hi)) {
929 hid_end_parse(hd);
/freebsd-13-stable/contrib/netbsd-tests/lib/libusbhid/
H A Dt_usbhid.c427 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);
/freebsd-13-stable/sys/geom/part/
H A Dg_part_mbr.c199 uint32_t cyl, hd, sec; local
203 hd = lba % table->gpt_heads;
207 sec = hd = cyl = ~0;
210 *hdp = hd & 0xff;
H A Dg_part_ebr.c217 uint32_t cyl, hd, sec; local
221 hd = lba % table->gpt_heads;
225 sec = hd = cyl = ~0;
228 *hdp = hd & 0xff;
/freebsd-13-stable/sys/dev/aacraid/
H A Daacraid_cam.c753 struct scsi_mode_hdr_6 hd; member in struct:ms6_data
764 p->hd.datalen = sizeof(struct scsi_mode_hdr_6) - 1;
766 p->hd.dev_specific = 0x80; /* WP */
767 p->hd.dev_specific |= 0x10; /* DPOFUA */
769 p->hd.block_descr_len = 0;
771 p->hd.block_descr_len =
773 p->hd.datalen += p->hd.block_descr_len;
798 if (ccb->csio.dxfer_len <= p->hd.datalen + 8) {
807 p->hd
[all...]
/freebsd-13-stable/sbin/fsck_ffs/
H A Dsuj.c175 struct cghd *hd; local
186 hd = &cghash[HASH(cgx)];
187 LIST_FOREACH(sc, hd, sc_next)
199 LIST_INSERT_HEAD(hd, sc, sc_next);
211 struct inohd *hd; local
217 hd = &sc->sc_inohash[HASH(ino)];
218 LIST_FOREACH(sino, hd, si_next)
229 LIST_INSERT_HEAD(hd, sino, si_next);
243 struct blkhd *hd; local
248 hd
[all...]
/freebsd-13-stable/usr.bin/mkimg/
H A Dmkimg.c369 u_int hd, sec; local
377 hd = lba % nheads;
383 *hdp = hd;
/freebsd-13-stable/stand/efi/loader/
H A Dmain.c300 try_as_currdev(pdinfo_t *hd, pdinfo_t *pp) argument
1555 pdinfo_t *hd, *pd; local
1570 hd = efiblk_get_pdinfo(dev);
1571 if (STAILQ_EMPTY(&hd->pd_part)) {
1572 loaded_image->DeviceHandle = hd->pd_handle;
1576 STAILQ_FOREACH(pd, &hd->pd_part, pd_link) {
/freebsd-13-stable/contrib/apr/network_io/unix/
H A Dsockaddr.c540 struct hostent_data hd; local
572 gethostbyname_r(hostname, &hs, &hd);
812 struct hostent_data hd;
822 sizeof(struct in_addr), AF_INET, &hs, &hd);
/freebsd-13-stable/tools/tools/atsectl/
H A Datsectl.c132 root@cheri1:/root # dd if=/dev/isf0 bs=32k skip=1 count=1 | hd
/freebsd-13-stable/contrib/unbound/services/
H A Dlisten_dnsport.c2414 if((frame->hd.type != NGHTTP2_DATA &&
2415 frame->hd.type != NGHTTP2_HEADERS) ||
2416 !(frame->hd.flags & NGHTTP2_FLAG_END_STREAM)) {
2421 session, frame->hd.stream_id)))
2501 if(frame->hd.type != NGHTTP2_HEADERS ||
2506 if(!(h2_stream = http2_stream_create(frame->hd.stream_id))) {
2512 frame->hd.stream_id, h2_stream);
2602 if(frame->hd.type != NGHTTP2_HEADERS ||
2608 frame->hd.stream_id)))
/freebsd-13-stable/stand/i386/libi386/
H A Dbiosdisk.c1162 uint32_t x, bpc, cyl, hd, sec; local
1168 hd = x / bd->bd_sec; /* offset / blocks per track */
1186 v86.edx = (hd << 8) | bd->bd_unit;
/freebsd-13-stable/sys/dev/drm2/
H A Ddrm_crtc.h114 #define DRM_MODE(nm, t, c, hd, hss, hse, ht, hsk, vd, vss, vse, vt, vs, f) \
116 .hdisplay = (hd), .hsync_start = (hss), .hsync_end = (hse), \
/freebsd-13-stable/sys/dev/iir/
H A Diir.c1113 struct scsi_mode_hdr_6 hd; member in struct:mpd_data
1122 mpd.hd.datalen = sizeof(struct scsi_mode_hdr_6) +
1124 mpd.hd.dev_specific = (gdt->sc_hdr[t].hd_devtype & 2) ? 0x80 : 0;
1125 mpd.hd.block_descr_len = sizeof(struct scsi_mode_block_descr);

Completed in 347 milliseconds

123