/freebsd-13-stable/sys/dev/hid/ |
H A D | hidbus.h | 145 #define HIDBUS_FOREACH_ITEM(hd, hi, tlc_index) \ 147 _iter <= (tlc_index) && hid_get_item((hd), (hi)); \
|
H A D | hid.c | 802 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 D | hidmap.c | 448 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 D | hidbus.c | 199 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 D | hmt.c | 658 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 D | usb_request.h | 59 struct mtx *mtx, struct usb_hub_descriptor *hd, 62 struct mtx *mtx, struct usb_hub_ss_descriptor *hd,
|
H A D | usb_request.c | 1494 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 D | proto.c | 126 HARDDRIVE_DEVICE_PATH *hd; local 133 hd = (HARDDRIVE_DEVICE_PATH *)md; 134 return (hd->PartitionNumber);
|
/freebsd-13-stable/sys/fs/unionfs/ |
H A D | union_subr.c | 113 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 D | parser.y | 394 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 D | main.c | 288 const char *hd; local 295 for (hd = ibufp;; first = 0) 350 if (ibufp == hd)
|
/freebsd-13-stable/sys/dev/usb/input/ |
H A D | wmt.c | 755 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 D | 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);
|
/freebsd-13-stable/sys/geom/part/ |
H A D | g_part_mbr.c | 199 uint32_t cyl, hd, sec; local 203 hd = lba % table->gpt_heads; 207 sec = hd = cyl = ~0; 210 *hdp = hd & 0xff;
|
H A D | g_part_ebr.c | 217 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 D | aacraid_cam.c | 753 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 D | suj.c | 175 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 D | mkimg.c | 369 u_int hd, sec; local 377 hd = lba % nheads; 383 *hdp = hd;
|
/freebsd-13-stable/stand/efi/loader/ |
H A D | main.c | 300 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 D | sockaddr.c | 540 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 D | atsectl.c | 132 root@cheri1:/root # dd if=/dev/isf0 bs=32k skip=1 count=1 | hd
|
/freebsd-13-stable/contrib/unbound/services/ |
H A D | listen_dnsport.c | 2414 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 D | biosdisk.c | 1162 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 D | drm_crtc.h | 114 #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 D | iir.c | 1113 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);
|