/freebsd-12-stable/lib/libusbhid/ |
H A D | data.c | 46 uint32_t hpos; local 57 hpos = h->pos; /* bit position of data */ 66 offs = hpos / 8; 67 end = (hpos + hsize) / 8 - offs; 73 data >>= hpos % 8; local 89 uint32_t hpos; local 102 hpos = h->pos; /* bit position of data */ 111 data <<= (hpos % 8); 112 mask <<= (hpos % 8); 115 offs = hpos / [all...] |
H A D | parse.c | 536 uint32_t hpos; local 540 hpos = 0; 552 if (hpos < temp) 553 hpos = temp; 561 if (lpos > hpos) 564 temp = hpos - lpos;
|
/freebsd-12-stable/contrib/libarchive/libarchive/ |
H A D | archive_read_support_filter_rpm.c | 42 size_t hpos; member in struct:rpm 196 rpm->hpos = 0; 202 n = 16 - rpm->hpos; 205 memcpy(rpm->header+rpm->hpos, b, n); 208 rpm->hpos += n; 210 if (rpm->hpos == 16) { 224 total = rpm->hpos; 236 n = rpm->hlen - rpm->hpos; 241 rpm->hpos += n; 242 if (rpm->hpos [all...] |
/freebsd-12-stable/contrib/wpa/src/tls/ |
H A D | tlsv1_common.c | 383 u8 *hpos; local 387 hpos = hash; 398 hpos += hlen; 406 hlen = hash + sizeof(hash) - hpos; 407 if (crypto_hash_finish(ctx, hpos, &hlen) < 0) 409 hpos += hlen; 410 return hpos - hash;
|
H A D | tlsv1_client_write.c | 581 u8 hash[100], *hpos; local 618 hpos = hash; 624 crypto_hash_finish(conn->verify.sha256_cert, hpos, &hlen) < 656 crypto_hash_finish(conn->verify.md5_cert, hpos, &hlen) < 0) { 664 hpos += MD5_MAC_LEN; 669 crypto_hash_finish(conn->verify.sha1_cert, hpos, &hlen) < 0) {
|
H A D | tlsv1_server_read.c | 891 u8 hash[MD5_MAC_LEN + SHA1_MAC_LEN], *hpos; local 956 hpos = hash; 988 crypto_hash_finish(conn->verify.sha256_cert, hpos, &hlen) < 1001 crypto_hash_finish(conn->verify.md5_cert, hpos, &hlen) < 0) { 1009 hpos += MD5_MAC_LEN; 1014 crypto_hash_finish(conn->verify.sha1_cert, hpos, &hlen) < 0) {
|
/freebsd-12-stable/sys/dev/usb/ |
H A D | usb_hid.c | 571 uint32_t hpos; local 576 hpos = 0; 593 if (hpos < temp) 594 hpos = temp; 600 if (lpos > hpos) 603 temp = hpos - lpos; 656 uint32_t hpos = loc->pos; local 662 DPRINTFN(11, "hid_get_data: loc %d/%d\n", hpos, hsize); 672 rpos = (hpos / 8); 682 data = (data >> (hpos 715 uint32_t hpos = loc->pos; local [all...] |
/freebsd-12-stable/sys/dev/usb/input/ |
H A D | wmt.c | 587 uint32_t hpos; local 591 hpos = 0; 602 if (hpos < temp) 603 hpos = temp; 611 if (lpos > hpos) 614 temp = hpos - lpos;
|
/freebsd-12-stable/sys/dev/drm2/ |
H A D | drm_irq.c | 554 int vpos, hpos, i; local 602 /* Get vertical and horizontal scanout pos. vpos, hpos. */ 603 vbl_status = dev->driver->get_scanout_position(dev, crtc, &vpos, &hpos); 648 delta_ns = (s64) vpos * linedur_ns + (s64) hpos * pixeldur_ns; 681 crtc, (int)vbl_status, hpos, vpos, (uintmax_t)raw_time.tv_sec,
|
H A D | drmP.h | 783 * \param *hpos Target location for current horizontal scanout position. 800 int *vpos, int *hpos);
|
/freebsd-12-stable/sys/dev/drm2/radeon/ |
H A D | radeon_drv.c | 85 int *vpos, int *hpos);
|
H A D | radeon_display.c | 280 int vpos, hpos; local 307 &vpos, &hpos)) && 1540 * \param *hpos Location where horizontal scanout position should go. 1556 int radeon_get_crtc_scanoutpos(struct drm_device *dev, int crtc, int *vpos, int *hpos) argument 1626 /* Only retrieve vpos from upper 16 bits, set hpos == 0. */ 1648 *hpos = (position >> 16) & 0x1fff;
|
H A D | radeon_pm.c | 788 int crtc, vpos, hpos, vbl_status; local 796 vbl_status = radeon_get_crtc_scanoutpos(rdev->ddev, crtc, &vpos, &hpos);
|
H A D | radeon_mode.h | 634 int *vpos, int *hpos);
|
/freebsd-12-stable/sys/dev/drm2/i915/ |
H A D | intel_sdvo_regs.h | 606 unsigned int hpos:1; member in struct:intel_sdvo_enhancements_reply
|
H A D | intel_sdvo.c | 169 struct drm_property *hpos; member in struct:intel_sdvo_connector 1802 if (intel_sdvo_connector->hpos) 1803 drm_property_destroy(dev, intel_sdvo_connector->hpos); 1975 CHECK_PROPERTY(hpos, HPOS) 2586 ENHANCEMENT(hpos, HPOS);
|
H A D | i915_irq.c | 184 int *vpos, int *hpos) 213 *hpos = 0; 223 *hpos = position - (*vpos * htotal); 183 i915_get_crtc_scanoutpos(struct drm_device *dev, int pipe, int *vpos, int *hpos) argument
|