/dragonfly/lib/libu4bhid/ |
H A D | data.c | 43 uint32_t hpos; in hid_get_data() local 54 hpos = h->pos; /* bit position of data */ in hid_get_data() 63 offs = hpos / 8; in hid_get_data() 64 end = (hpos + hsize) / 8 - offs; in hid_get_data() 70 data >>= hpos % 8; in hid_get_data() 86 uint32_t hpos; in hid_set_data() local 99 hpos = h->pos; /* bit position of data */ in hid_set_data() 108 data <<= (hpos % 8); in hid_set_data() 109 mask <<= (hpos % 8); in hid_set_data() 112 offs = hpos / 8; in hid_set_data() [all …]
|
H A D | parse.c | 531 uint32_t hpos; in hid_report_size() local 535 hpos = 0; in hid_report_size() 547 if (hpos < temp) in hid_report_size() 548 hpos = temp; in hid_report_size() 556 if (lpos > hpos) in hid_report_size() 559 temp = hpos - lpos; in hid_report_size()
|
/dragonfly/contrib/libarchive/libarchive/ |
H A D | archive_read_support_filter_rpm.c | 42 size_t hpos; member 194 rpm->hpos = 0; in rpm_filter_read() 200 n = 16 - rpm->hpos; in rpm_filter_read() 203 memcpy(rpm->header+rpm->hpos, b, n); in rpm_filter_read() 206 rpm->hpos += n; in rpm_filter_read() 208 if (rpm->hpos == 16) { in rpm_filter_read() 222 total = rpm->hpos; in rpm_filter_read() 234 n = rpm->hlen - rpm->hpos; in rpm_filter_read() 239 rpm->hpos += n; in rpm_filter_read() 240 if (rpm->hpos == rpm->hlen) in rpm_filter_read() [all …]
|
/dragonfly/sys/bus/u4b/ |
H A D | usb_hid.c | 563 uint32_t hpos; in hid_report_size() local 568 hpos = 0; in hid_report_size() 585 if (hpos < temp) in hid_report_size() 586 hpos = temp; in hid_report_size() 592 if (lpos > hpos) in hid_report_size() 595 temp = hpos - lpos; in hid_report_size() 648 uint32_t hpos = loc->pos; in hid_get_data_sub() local 664 rpos = (hpos / 8); in hid_get_data_sub() 674 data = (data >> (hpos % 8)); in hid_get_data_sub() 707 uint32_t hpos = loc->pos; in hid_put_data_unsigned() local [all …]
|
/dragonfly/contrib/wpa_supplicant/src/tls/ |
H A D | tlsv1_common.c | 383 u8 *hpos; in tls_key_x_server_params_hash() local 387 hpos = hash; in tls_key_x_server_params_hash() 398 hpos += hlen; in tls_key_x_server_params_hash() 406 hlen = hash + sizeof(hash) - hpos; in tls_key_x_server_params_hash() 407 if (crypto_hash_finish(ctx, hpos, &hlen) < 0) in tls_key_x_server_params_hash() 409 hpos += hlen; in tls_key_x_server_params_hash() 410 return hpos - hash; in tls_key_x_server_params_hash()
|
H A D | tlsv1_client_write.c | 581 u8 hash[100], *hpos; in tls_write_client_certificate_verify() local 618 hpos = hash; in tls_write_client_certificate_verify() 624 crypto_hash_finish(conn->verify.sha256_cert, hpos, &hlen) < in tls_write_client_certificate_verify() 656 crypto_hash_finish(conn->verify.md5_cert, hpos, &hlen) < 0) { in tls_write_client_certificate_verify() 664 hpos += MD5_MAC_LEN; in tls_write_client_certificate_verify() 669 crypto_hash_finish(conn->verify.sha1_cert, hpos, &hlen) < 0) { in tls_write_client_certificate_verify()
|
H A D | tlsv1_server_read.c | 891 u8 hash[MD5_MAC_LEN + SHA1_MAC_LEN], *hpos; in tls_process_certificate_verify() local 956 hpos = hash; in tls_process_certificate_verify() 988 crypto_hash_finish(conn->verify.sha256_cert, hpos, &hlen) < in tls_process_certificate_verify() 1001 crypto_hash_finish(conn->verify.md5_cert, hpos, &hlen) < 0) { in tls_process_certificate_verify() 1009 hpos += MD5_MAC_LEN; in tls_process_certificate_verify() 1014 crypto_hash_finish(conn->verify.sha1_cert, hpos, &hlen) < 0) { in tls_process_certificate_verify()
|
/dragonfly/sys/dev/drm/i915/ |
H A D | dvo_ns2501.c | 217 uint16_t hpos; /* horizontal position + 256, 98/99 */ member 244 .hpos = 0, 264 .hpos = 0, 283 .hpos = 0, 628 ns2501_writeb(dvo, NS2501_REG98, conf->hpos & 0xff); in ns2501_mode_set() 629 ns2501_writeb(dvo, NS2501_REG99, conf->hpos >> 8); in ns2501_mode_set()
|
H A D | intel_sdvo.c | 157 struct drm_property *hpos; member 182 unsigned overscan_h, overscan_v, hpos, vpos, sharpness; member 1215 if (intel_sdvo_conn->hpos) in intel_sdvo_update_props() 1216 UPDATE_PROPERTY(sdvo_state->tv.hpos, HPOS); in intel_sdvo_update_props() 2082 else if (property == intel_sdvo_connector->hpos) in intel_sdvo_connector_atomic_get_property() 2083 *val = sdvo_state->tv.hpos; in intel_sdvo_connector_atomic_get_property() 2140 else if (property == intel_sdvo_connector->hpos) in intel_sdvo_connector_atomic_set_property() 2141 sdvo_state->tv.hpos = val; in intel_sdvo_connector_atomic_set_property() 2866 ENHANCEMENT(&sdvo_state->tv, hpos, HPOS); in intel_sdvo_create_enhance_property_tv()
|
H A D | intel_sdvo_regs.h | 604 unsigned int hpos:1; member
|
H A D | i915_irq.c | 902 bool in_vblank_irq, int *vpos, int *hpos, in i915_get_crtc_scanoutpos() argument 1006 *hpos = 0; in i915_get_crtc_scanoutpos() 1009 *hpos = position - (*vpos * htotal); in i915_get_crtc_scanoutpos()
|
/dragonfly/contrib/gdb-7/readline/ |
H A D | misc.c | 444 int hpos; in _rl_revert_all_lines() local 451 hpos = where_history (); in _rl_revert_all_lines() 453 entry = (hpos == history_length) ? previous_history () : current_history (); in _rl_revert_all_lines() 476 history_set_pos (hpos); in _rl_revert_all_lines()
|
/dragonfly/sys/dev/drm/amd/amdgpu/ |
H A D | amdgpu_display.c | 81 int vpos, hpos; in amdgpu_display_flip_work_func() local 95 &vpos, &hpos, NULL, NULL, in amdgpu_display_flip_work_func() 777 int *hpos, ktime_t *stime, ktime_t *etime, in amdgpu_display_get_crtc_scanoutpos() argument 803 *hpos = (position >> 16) & 0x1fff; in amdgpu_display_get_crtc_scanoutpos() 821 *hpos = *vpos - vbl_start; in amdgpu_display_get_crtc_scanoutpos()
|
H A D | amdgpu_drv.c | 1203 bool in_vblank_irq, int *vpos, int *hpos, in amdgpu_get_crtc_scanout_position() argument 1207 return amdgpu_display_get_crtc_scanoutpos(dev, pipe, 0, vpos, hpos, in amdgpu_get_crtc_scanout_position()
|
H A D | amdgpu_mode.h | 608 int *hpos, ktime_t *stime, ktime_t *etime,
|
H A D | amdgpu_kms.c | 994 int vpos, hpos, stat; in amdgpu_get_vblank_counter_kms() local 1022 &vpos, &hpos, NULL, NULL, in amdgpu_get_vblank_counter_kms()
|
/dragonfly/sys/dev/drm/radeon/ |
H A D | radeon_display.c | 279 int vpos, hpos; in radeon_crtc_handle_vblank() local 331 &vpos, &hpos, NULL, NULL, in radeon_crtc_handle_vblank() 333 ((vpos >= 0 && hpos < 0) || (hpos >= 0 && !ASIC_IS_AVIVO(rdev)))) { in radeon_crtc_handle_vblank() 409 int vpos, hpos; in radeon_flip_work_func() local 447 &vpos, &hpos, NULL, NULL, in radeon_flip_work_func() 1831 unsigned int flags, int *vpos, int *hpos, in radeon_get_crtc_scanoutpos() argument 1937 *hpos = (position >> 16) & 0x1fff; in radeon_get_crtc_scanoutpos() 1955 *hpos = *vpos - vbl_start; in radeon_get_crtc_scanoutpos()
|
H A D | radeon_drv.c | 131 unsigned int flags, int *vpos, int *hpos, 597 bool in_vblank_irq, int *vpos, int *hpos, in radeon_get_crtc_scanout_position() argument 601 return radeon_get_crtc_scanoutpos(dev, pipe, 0, vpos, hpos, in radeon_get_crtc_scanout_position()
|
H A D | radeon_kms.c | 797 int vpos, hpos, stat; in radeon_get_vblank_counter_kms() local 826 &vpos, &hpos, NULL, NULL, in radeon_get_vblank_counter_kms()
|
H A D | radeon_mode.h | 886 unsigned int flags, int *vpos, int *hpos,
|
H A D | radeon_pm.c | 1858 int crtc, vpos, hpos, vbl_status; in radeon_pm_in_vbl() local 1869 &vpos, &hpos, NULL, NULL, in radeon_pm_in_vbl()
|
/dragonfly/sys/dev/drm/ |
H A D | drm_vblank.c | 583 int vpos, hpos, i; in drm_calc_vbltimestamp_from_scanoutpos() local 631 &vpos, &hpos, in drm_calc_vbltimestamp_from_scanoutpos() 663 delta_ns = div_s64(1000000LL * (vpos * mode->crtc_htotal + hpos), in drm_calc_vbltimestamp_from_scanoutpos() 678 pipe, hpos, vpos, in drm_calc_vbltimestamp_from_scanoutpos()
|
/dragonfly/sys/dev/drm/include/drm/ |
H A D | drm_drv.h | 283 bool in_vblank_irq, int *vpos, int *hpos,
|
/dragonfly/sys/dev/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm.c | 4099 int r, vpos, hpos; in amdgpu_dm_do_flip() local 4137 0, &vpos, &hpos, NULL, in amdgpu_dm_do_flip()
|