| /openbsd/src/lib/libusbhid/ |
| D | data.c | 37 uint32_t hpos; in hid_get_data() local 50 hpos = h->pos; /* bit position of data */ in hid_get_data() 59 offs = hpos / 8; in hid_get_data() 60 end = (hpos + hsize) / 8 - offs; in hid_get_data() 66 data >>= hpos % 8; in hid_get_data() 82 uint32_t hpos; in hid_set_data() local 97 hpos = h->pos; /* bit position of data */ in hid_set_data() 106 data <<= (hpos % 8); in hid_set_data() 107 mask <<= (hpos % 8); in hid_set_data() 110 offs = hpos / 8; in hid_set_data() [all …]
|
| D | parse.c | 541 uint32_t hpos; in hid_report_size() local 545 hpos = 0; in hid_report_size() 557 if (hpos < temp) in hid_report_size() 558 hpos = temp; in hid_report_size() 566 if (lpos > hpos) in hid_report_size() 569 temp = hpos - lpos; in hid_report_size()
|
| /openbsd/src/gnu/usr.bin/texinfo/info/ |
| D | window.c | 705 character_width (int character, int hpos) in character_width() argument 721 width = the_screen->width - hpos; in character_width() 724 width = ((hpos + 8) & 0xf8) - hpos; in character_width() 739 string_width (char *string, int hpos) in string_width() argument 758 this_char_width = character_width (string[i], hpos); in string_width() 760 hpos += this_char_width; in string_width() 789 register int i, hpos; in calculate_line_starts() local 806 hpos = 0; in calculate_line_starts() 847 cwidth = character_width (c, hpos); in calculate_line_starts() 850 cwidth = character_width (c, hpos); in calculate_line_starts() [all …]
|
| D | window.h | 218 extern int character_width (int character, int hpos); 222 extern int string_width (char *string, int hpos);
|
| D | display.c | 596 int vpos, hpos; in display_cursor_at_point() local 599 hpos = window_get_cursor_column (window); in display_cursor_at_point() 600 terminal_goto_xy (hpos, vpos); in display_cursor_at_point()
|
| D | info-utils.c | 485 printed_representation (unsigned char character, int hpos) in printed_representation() argument 506 tw = ((hpos + 8) & 0xf8) - hpos; in printed_representation()
|
| D | info-utils.h | 102 extern char *printed_representation (unsigned char character, int hpos);
|
| /openbsd/src/sys/dev/pci/drm/i915/display/ |
| D | dvo_ns2501.c | 217 u16 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()
|
| D | intel_vblank.c | 323 int *vpos, int *hpos, in i915_get_crtc_scanoutpos() argument 441 *hpos = 0; in i915_get_crtc_scanoutpos() 444 *hpos = position - (*vpos * htotal); in i915_get_crtc_scanoutpos()
|
| D | intel_sdvo.c | 143 struct drm_property *hpos; member 173 unsigned overscan_h, overscan_v, hpos, vpos, sharpness; member 1480 if (intel_sdvo_conn->hpos) in intel_sdvo_update_props() 1481 UPDATE_PROPERTY(sdvo_state->tv.hpos, HPOS); in intel_sdvo_update_props() 2398 else if (property == intel_sdvo_connector->hpos) in intel_sdvo_connector_atomic_get_property() 2399 *val = sdvo_state->tv.hpos; in intel_sdvo_connector_atomic_get_property() 2456 else if (property == intel_sdvo_connector->hpos) in intel_sdvo_connector_atomic_set_property() 2457 sdvo_state->tv.hpos = val; in intel_sdvo_connector_atomic_set_property() 3212 ENHANCEMENT(&sdvo_state->tv, hpos, HPOS); in intel_sdvo_create_enhance_property_tv()
|
| D | intel_sdvo_regs.h | 610 unsigned int hpos:1; member
|
| /openbsd/src/sys/dev/pci/drm/radeon/ |
| D | radeon_display.c | 287 int vpos, hpos; in radeon_crtc_handle_vblank() local 339 &vpos, &hpos, NULL, NULL, in radeon_crtc_handle_vblank() 341 ((vpos >= 0 && hpos < 0) || (hpos >= 0 && !ASIC_IS_AVIVO(rdev)))) { in radeon_crtc_handle_vblank() 417 int vpos, hpos; in radeon_flip_work_func() local 455 &vpos, &hpos, NULL, NULL, in radeon_flip_work_func() 1808 unsigned int flags, int *vpos, int *hpos, in radeon_get_crtc_scanoutpos() argument 1914 *hpos = (position >> 16) & 0x1fff; in radeon_get_crtc_scanoutpos() 1932 *hpos = *vpos - vbl_start; in radeon_get_crtc_scanoutpos() 1983 bool in_vblank_irq, int *vpos, int *hpos, in radeon_get_crtc_scanout_position() argument 1990 return radeon_get_crtc_scanoutpos(dev, pipe, 0, vpos, hpos, in radeon_get_crtc_scanout_position()
|
| D | radeon_mode.h | 835 unsigned int flags, int *vpos, int *hpos, 841 int *vpos, int *hpos,
|
| D | radeon_kms.c | 765 int vpos, hpos, stat; in radeon_get_vblank_counter_kms() local 794 &vpos, &hpos, NULL, NULL, in radeon_get_vblank_counter_kms()
|
| D | radeon_pm.c | 1843 int crtc, vpos, hpos, vbl_status; in radeon_pm_in_vbl() local 1854 &vpos, &hpos, NULL, NULL, in radeon_pm_in_vbl()
|
| /openbsd/src/sys/dev/hid/ |
| D | hid.c | 581 uint32_t hpos = loc->pos; in hid_get_data_sub() local 587 DPRINTF("hid_get_data_sub: loc %d/%d\n", hpos, hsize); in hid_get_data_sub() 597 rpos = (hpos / 8); in hid_get_data_sub() 607 data = (data >> (hpos % 8)); in hid_get_data_sub()
|
| /openbsd/src/sys/dev/pci/drm/amd/amdgpu/ |
| D | amdgpu_display.c | 130 int vpos, hpos; in amdgpu_display_flip_work_func() local 141 &vpos, &hpos, NULL, NULL, in amdgpu_display_flip_work_func() 1550 int *hpos, ktime_t *stime, ktime_t *etime, in amdgpu_display_get_crtc_scanoutpos() argument 1576 *hpos = (position >> 16) & 0x1fff; in amdgpu_display_get_crtc_scanoutpos() 1593 *hpos = *vpos - vbl_start; in amdgpu_display_get_crtc_scanoutpos() 1672 int *hpos, ktime_t *stime, ktime_t *etime, in amdgpu_crtc_get_scanout_position() argument 1678 return amdgpu_display_get_crtc_scanoutpos(dev, pipe, 0, vpos, hpos, in amdgpu_crtc_get_scanout_position()
|
| D | amdgpu_mode.h | 685 int *hpos, ktime_t *stime, ktime_t *etime, 701 int *hpos, ktime_t *stime, ktime_t *etime,
|
| D | amdgpu_kms.c | 1481 int vpos, hpos, stat; in amdgpu_get_vblank_counter_kms() local 1509 &vpos, &hpos, NULL, NULL, in amdgpu_get_vblank_counter_kms()
|
| /openbsd/src/sys/dev/pci/drm/include/drm/ |
| D | drm_vblank.h | 299 int *vpos, int *hpos,
|
| D | drm_modeset_helper_vtables.h | 490 bool in_vblank_irq, int *vpos, int *hpos,
|
| /openbsd/src/sys/dev/pci/drm/ |
| D | drm_vblank.c | 709 int vpos, hpos, i; in drm_crtc_vblank_helper_get_vblank_timestamp_internal() local 751 &vpos, &hpos, in drm_crtc_vblank_helper_get_vblank_timestamp_internal() 785 delta_ns = div_s64(1000000LL * (vpos * mode->crtc_htotal + hpos), in drm_crtc_vblank_helper_get_vblank_timestamp_internal() 801 pipe, hpos, vpos, in drm_crtc_vblank_helper_get_vblank_timestamp_internal()
|
| /openbsd/src/sys/dev/pci/drm/amd/display/dmub/inc/ |
| D | dmub_cmd.h | 1692 uint32_t hpos; member
|
| /openbsd/src/sys/dev/pci/drm/amd/display/amdgpu_dm/ |
| D | amdgpu_dm.c | 441 u32 vpos, hpos, v_blank_start, v_blank_end; in dm_pflip_high_irq() local 475 &v_blank_end, &hpos, &vpos) || in dm_pflip_high_irq() 8969 int planes_count = 0, vpos, hpos; in amdgpu_dm_commit_planes() local 9199 0, &vpos, &hpos, NULL, in amdgpu_dm_commit_planes()
|