/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_display.c | 83 int vpos, hpos; in amdgpu_display_flip_work_func() local 97 &vpos, &hpos, NULL, NULL, in amdgpu_display_flip_work_func() 781 * fudged earlier start of vblank in *vpos and the distance 784 * \param *vpos Location where vertical scanout position should be stored. 791 * Returns vpos as a positive number while in active scanout area. 792 * Returns vpos as a negative number inside vblank, counting the number 806 unsigned int pipe, unsigned int flags, int *vpos, in amdgpu_display_get_crtc_scanoutpos() 832 *vpos = position & 0x1fff; in amdgpu_display_get_crtc_scanoutpos() 851 *hpos = *vpos - vbl_start; in amdgpu_display_get_crtc_scanoutpos() 868 if ((*vpos < vbl_star in amdgpu_display_get_crtc_scanoutpos() 805 amdgpu_display_get_crtc_scanoutpos(struct drm_device *dev, unsigned int pipe, unsigned int flags, int *vpos, int *hpos, ktime_t *stime, ktime_t *etime, const struct drm_display_mode *mode) amdgpu_display_get_crtc_scanoutpos() argument 928 amdgpu_crtc_get_scanout_position(struct drm_crtc *crtc, bool in_vblank_irq, int *vpos, int *hpos, ktime_t *stime, ktime_t *etime, const struct drm_display_mode *mode) amdgpu_crtc_get_scanout_position() argument [all...] |
/third_party/pulseaudio/src/modules/ |
H A D | module-position-event-sounds.c | 57 pa_log_warn("Failed to parse hpos/vpos property '%s'.", pos); in parse_pos() 62 pa_log_debug("Property hpos/vpos out of range %0.2f", *f); in parse_pos() 71 const char *hpos, *vpos, *role, *id; in sink_input_fixate_hook_callback() local 103 if (!(vpos = pa_proplist_gets(data->proplist, PA_PROP_EVENT_MOUSE_VPOS))) in sink_input_fixate_hook_callback() 104 vpos = pa_proplist_gets(data->proplist, PA_PROP_WINDOW_VPOS); in sink_input_fixate_hook_callback() 106 if (!hpos && !vpos) in sink_input_fixate_hook_callback() 121 if (vpos) { in sink_input_fixate_hook_callback() 122 if (parse_pos(vpos, &f) < 0) in sink_input_fixate_hook_callback()
|
/third_party/FreeBSD/sys/compat/linuxkpi/common/src/ |
H A D | adp.c | 255 unsigned long vpos; in remap_pfn_range() local 293 for (vpos = vaddr; vpos < end; vpos += PAGE_SIZE) { in remap_pfn_range() 294 status = LOS_ArchMmuQuery(&space->archMmu, (VADDR_T)vpos, NULL, NULL); in remap_pfn_range()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/ |
H A D | intel_vblank.c | 256 int *vpos, int *hpos, in i915_get_crtc_scanoutpos() 377 *vpos = position; in i915_get_crtc_scanoutpos() 380 *vpos = position / htotal; in i915_get_crtc_scanoutpos() 381 *hpos = position - (*vpos * htotal); in i915_get_crtc_scanoutpos() 254 i915_get_crtc_scanoutpos(struct drm_crtc *_crtc, bool in_vblank_irq, int *vpos, int *hpos, ktime_t *stime, ktime_t *etime, const struct drm_display_mode *mode) i915_get_crtc_scanoutpos() argument
|
H A D | dvo_ns2501.c | 219 u16 vpos; /* vertical position, 8e/8f */ member 246 .vpos = 16, 266 .vpos = 4, 285 .vpos = 7, 631 ns2501_writeb(dvo, NS2501_REG8E, conf->vpos & 0xff); in ns2501_mode_set() 632 ns2501_writeb(dvo, NS2501_REG8F, conf->vpos >> 8); in ns2501_mode_set()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
H A D | radeon_display.c | 293 int vpos, hpos; in radeon_crtc_handle_vblank() local 325 * distance to start of "fudged earlier" vblank in vpos, distance to in radeon_crtc_handle_vblank() 326 * start of real vblank in hpos. vpos >= 0 && hpos < 0 means we are in in radeon_crtc_handle_vblank() 345 &vpos, &hpos, NULL, NULL, in radeon_crtc_handle_vblank() 347 ((vpos >= 0 && hpos < 0) || (hpos >= 0 && !ASIC_IS_AVIVO(rdev)))) { in radeon_crtc_handle_vblank() 423 int vpos, hpos; in radeon_flip_work_func() local 461 &vpos, &hpos, NULL, NULL, in radeon_flip_work_func() 1795 * fudged earlier start of vblank in *vpos and the distance 1798 * \param *vpos Location where vertical scanout position should be stored. 1805 * Returns vpos a 1819 radeon_get_crtc_scanoutpos(struct drm_device *dev, unsigned int pipe, unsigned int flags, int *vpos, int *hpos, ktime_t *stime, ktime_t *etime, const struct drm_display_mode *mode) radeon_get_crtc_scanoutpos() argument 1994 radeon_get_crtc_scanout_position(struct drm_crtc *crtc, bool in_vblank_irq, int *vpos, int *hpos, ktime_t *stime, ktime_t *etime, const struct drm_display_mode *mode) radeon_get_crtc_scanout_position() argument [all...] |
H A D | radeon_kms.c | 766 int vpos, hpos, stat; in radeon_get_vblank_counter_kms() local 779 * vblank in vpos. vpos therefore will be >= 0 between start of vblank in radeon_get_vblank_counter_kms() 780 * and start of vsync, so vpos >= 0 means to bump the hw frame counter in radeon_get_vblank_counter_kms() 789 /* Ask radeon_get_crtc_scanoutpos to return vpos as in radeon_get_vblank_counter_kms() 795 &vpos, &hpos, NULL, NULL, in radeon_get_vblank_counter_kms() 805 pipe, vpos); in radeon_get_vblank_counter_kms() 808 * but before vsync where vpos would turn negative and in radeon_get_vblank_counter_kms() 811 if (vpos >= 0) in radeon_get_vblank_counter_kms()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/radeon/ |
H A D | radeon_display.c | 287 int vpos, hpos; in radeon_crtc_handle_vblank() local 319 * distance to start of "fudged earlier" vblank in vpos, distance to in radeon_crtc_handle_vblank() 320 * start of real vblank in hpos. vpos >= 0 && hpos < 0 means we are in in radeon_crtc_handle_vblank() 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() 1789 * fudged earlier start of vblank in *vpos and the distance 1792 * \param *vpos Location where vertical scanout position should be stored. 1799 * Returns vpos a 1813 radeon_get_crtc_scanoutpos(struct drm_device *dev, unsigned int pipe, unsigned int flags, int *vpos, int *hpos, ktime_t *stime, ktime_t *etime, const struct drm_display_mode *mode) radeon_get_crtc_scanoutpos() argument 1988 radeon_get_crtc_scanout_position(struct drm_crtc *crtc, bool in_vblank_irq, int *vpos, int *hpos, ktime_t *stime, ktime_t *etime, const struct drm_display_mode *mode) radeon_get_crtc_scanout_position() argument [all...] |
/third_party/mesa3d/src/gallium/auxiliary/vl/ |
H A D | vl_mc.c | 55 struct ureg_src vrect, vpos; in calc_position() local 60 vpos = ureg_DECL_vs_input(shader, VS_I_VPOS); in calc_position() 69 * t_vpos = (vpos + vrect) * block_scale in calc_position() 71 * o_vpos.zw = vpos in calc_position() 73 ureg_ADD(shader, ureg_writemask(t_vpos, TGSI_WRITEMASK_XY), vpos, vrect); in calc_position() 233 struct ureg_src vrect, vpos; in create_ycbcr_vert_shader() local 249 vpos = ureg_DECL_vs_input(shader, VS_I_VPOS); in create_ycbcr_vert_shader() 263 * t_vtex.z = vpos.y % 2 in create_ycbcr_vert_shader() 275 ureg_scalar(vpos, TGSI_SWIZZLE_Z), ureg_imm1f(shader, 0.5f)); in create_ycbcr_vert_shader() 279 ureg_IF(shader, ureg_scalar(vpos, TGSI_SWIZZLE_ in create_ycbcr_vert_shader() [all...] |
H A D | vl_idct.c | 146 struct ureg_src vpos; in create_mismatch_vert_shader() local 155 vpos = ureg_DECL_vs_input(shader, VS_I_VPOS); in create_mismatch_vert_shader() 167 * t_vpos = vpos + 7 / VL_BLOCK_WIDTH in create_mismatch_vert_shader() 178 ureg_MAD(shader, ureg_writemask(o_vpos, TGSI_WRITEMASK_XY), vpos, scale, scale); in create_mismatch_vert_shader() 181 ureg_MUL(shader, ureg_writemask(t_tex, TGSI_WRITEMASK_XY), vpos, scale); in create_mismatch_vert_shader() 262 struct ureg_src vrect, vpos; in create_stage1_vert_shader() local 272 vpos = ureg_DECL_vs_input(shader, VS_I_VPOS); in create_stage1_vert_shader() 288 * t_vpos = vpos + vrect in create_stage1_vert_shader() 290 * o_vpos.zw = vpos in create_stage1_vert_shader() 301 ureg_ADD(shader, ureg_writemask(t_tex, TGSI_WRITEMASK_XY), vpos, vrec in create_stage1_vert_shader() 396 struct ureg_src vrect, vpos; vl_idct_stage2_vert_shader() local [all...] |
H A D | vl_zscan.c | 124 struct ureg_src vrect, vpos, block_num; in create_vert_shader() local 141 vpos = ureg_DECL_vs_input(shader, VS_I_VPOS); in create_vert_shader() 152 * o_vpos.xy = (vpos + vrect) * scale in create_vert_shader() 163 ureg_ADD(shader, ureg_writemask(tmp, TGSI_WRITEMASK_XY), vpos, vrect); in create_vert_shader() 181 ureg_MOV(shader, ureg_writemask(o_vtex[i], TGSI_WRITEMASK_Z), vpos); in create_vert_shader()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/ |
H A D | dvo_ns2501.c | 219 u16 vpos; /* vertical position, 8e/8f */ member 246 .vpos = 16, 266 .vpos = 4, 285 .vpos = 7, 631 ns2501_writeb(dvo, NS2501_REG8E, conf->vpos & 0xff); in ns2501_mode_set() 632 ns2501_writeb(dvo, NS2501_REG8F, conf->vpos >> 8); in ns2501_mode_set()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/ |
H A 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() 1466 * fudged earlier start of vblank in *vpos and the distance 1469 * \param *vpos Location where vertical scanout position should be stored. 1476 * Returns vpos as a positive number while in active scanout area. 1477 * Returns vpos as a negative number inside vblank, counting the number 1491 unsigned int pipe, unsigned int flags, int *vpos, in amdgpu_display_get_crtc_scanoutpos() 1517 *vpos = position & 0x1fff; in amdgpu_display_get_crtc_scanoutpos() 1535 *hpos = *vpos - vbl_start; in amdgpu_display_get_crtc_scanoutpos() 1552 if ((*vpos < vbl_star in amdgpu_display_get_crtc_scanoutpos() 1490 amdgpu_display_get_crtc_scanoutpos(struct drm_device *dev, unsigned int pipe, unsigned int flags, int *vpos, int *hpos, ktime_t *stime, ktime_t *etime, const struct drm_display_mode *mode) amdgpu_display_get_crtc_scanoutpos() argument 1612 amdgpu_crtc_get_scanout_position(struct drm_crtc *crtc, bool in_vblank_irq, int *vpos, int *hpos, ktime_t *stime, ktime_t *etime, const struct drm_display_mode *mode) amdgpu_crtc_get_scanout_position() argument [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_server/ |
H A D | eap_server_peap.c | 782 const u8 *pos, *vpos; in eap_peap_process_phase2_soh() local 832 vpos = pos + 4; in eap_peap_process_phase2_soh() 833 mandatory = !!(vpos[0] & 0x80); in eap_peap_process_phase2_soh() 834 tlv_type = vpos[0] & 0x3f; in eap_peap_process_phase2_soh() 835 tlv_type = (tlv_type << 8) | vpos[1]; in eap_peap_process_phase2_soh() 836 vtlv_len = ((int) vpos[2] << 8) | vpos[3]; in eap_peap_process_phase2_soh() 837 vpos += 4; in eap_peap_process_phase2_soh() 838 if (vpos + vtlv_len > pos + left) { in eap_peap_process_phase2_soh() 846 soh_tlv = vpos; in eap_peap_process_phase2_soh() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_server/ |
H A D | eap_server_peap.c | 813 const u8 *pos, *vpos; in eap_peap_process_phase2_soh() local 863 vpos = pos + 4; in eap_peap_process_phase2_soh() 864 mandatory = !!(vpos[0] & 0x80); in eap_peap_process_phase2_soh() 865 tlv_type = vpos[0] & 0x3f; in eap_peap_process_phase2_soh() 866 tlv_type = (tlv_type << 8) | vpos[1]; in eap_peap_process_phase2_soh() 867 vtlv_len = ((int) vpos[2] << 8) | vpos[3]; in eap_peap_process_phase2_soh() 868 vpos += 4; in eap_peap_process_phase2_soh() 869 if (vpos + vtlv_len > pos + left) { in eap_peap_process_phase2_soh() 877 soh_tlv = vpos; in eap_peap_process_phase2_soh() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/vc4/ |
H A D | vc4_crtc.c | 84 int *vpos, int *hpos, in vc4_crtc_get_scanout_position() 117 *vpos = VC4_GET_FIELD(val, SCALER_DISPSTATX_LINE); in vc4_crtc_get_scanout_position() 121 *vpos /= 2; in vc4_crtc_get_scanout_position() 136 if (*vpos > fifo_lines) { in vc4_crtc_get_scanout_position() 145 * incrementing vpos. Therefore we choose HVS read position - in vc4_crtc_get_scanout_position() 149 *vpos -= fifo_lines + 1; in vc4_crtc_get_scanout_position() 175 *vpos = -vblank_lines; in vc4_crtc_get_scanout_position() 193 * No clue where we are inside vblank. Return a vpos of zero, in vc4_crtc_get_scanout_position() 198 *vpos = 0; in vc4_crtc_get_scanout_position() 82 vc4_crtc_get_scanout_position(struct drm_crtc *crtc, bool in_vblank_irq, int *vpos, int *hpos, ktime_t *stime, ktime_t *etime, const struct drm_display_mode *mode) vc4_crtc_get_scanout_position() argument
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i2c/ |
H A D | ch7006_mode.c | 334 int flicker, contrast, hpos, vpos; in ch7006_setup_properties() local 357 vpos = max(0, norm->vdisplay - round_fixed(mode->vdisplay*scale) in ch7006_setup_properties() 360 setbitf(state, CH7006_POV, VPOS_8, vpos); in ch7006_setup_properties() 361 setbitf(state, CH7006_VPOS, 0, vpos); in ch7006_setup_properties() 363 ch7006_dbg(client, "hpos: %d, vpos: %d\n", hpos, vpos); in ch7006_setup_properties()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i2c/ |
H A D | ch7006_mode.c | 334 int flicker, contrast, hpos, vpos; in ch7006_setup_properties() local 357 vpos = max(0, norm->vdisplay - round_fixed(mode->vdisplay*scale) in ch7006_setup_properties() 360 setbitf(state, CH7006_POV, VPOS_8, vpos); in ch7006_setup_properties() 361 setbitf(state, CH7006_VPOS, 0, vpos); in ch7006_setup_properties() 363 ch7006_dbg(client, "hpos: %d, vpos: %d\n", hpos, vpos); in ch7006_setup_properties()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/loongson/ |
H A D | lsdc_crtc.c | 132 static void lsdc_crtc0_scan_pos(struct lsdc_crtc *lcrtc, int *hpos, int *vpos) in lsdc_crtc0_scan_pos() argument 140 *vpos = val & 0xffff; in lsdc_crtc0_scan_pos() 143 static void lsdc_crtc1_scan_pos(struct lsdc_crtc *lcrtc, int *hpos, int *vpos) in lsdc_crtc1_scan_pos() argument 151 *vpos = val & 0xffff; in lsdc_crtc1_scan_pos() 899 int *vpos, in lsdc_crtc_get_scanout_position() 929 *vpos = y; in lsdc_crtc_get_scanout_position() 897 lsdc_crtc_get_scanout_position(struct drm_crtc *crtc, bool in_vblank_irq, int *vpos, int *hpos, ktime_t *stime, ktime_t *etime, const struct drm_display_mode *mode) lsdc_crtc_get_scanout_position() argument
|
/kernel/linux/linux-6.6/drivers/gpu/drm/vc4/ |
H A D | vc4_crtc.c | 99 int *vpos, int *hpos, in vc4_crtc_get_scanout_position() 133 *vpos = VC4_GET_FIELD(val, SCALER_DISPSTATX_LINE); in vc4_crtc_get_scanout_position() 137 *vpos /= 2; in vc4_crtc_get_scanout_position() 152 if (*vpos > fifo_lines) { in vc4_crtc_get_scanout_position() 161 * incrementing vpos. Therefore we choose HVS read position - in vc4_crtc_get_scanout_position() 165 *vpos -= fifo_lines + 1; in vc4_crtc_get_scanout_position() 191 *vpos = -vblank_lines; in vc4_crtc_get_scanout_position() 209 * No clue where we are inside vblank. Return a vpos of zero, in vc4_crtc_get_scanout_position() 214 *vpos = 0; in vc4_crtc_get_scanout_position() 97 vc4_crtc_get_scanout_position(struct drm_crtc *crtc, bool in_vblank_irq, int *vpos, int *hpos, ktime_t *stime, ktime_t *etime, const struct drm_display_mode *mode) vc4_crtc_get_scanout_position() argument
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/ |
H A D | nouveau_display.h | 55 bool in_vblank_irq, int *vpos, int *hpos,
|
H A D | nouveau_display.c | 84 nouveau_display_scanoutpos_head(struct drm_crtc *crtc, int *vpos, int *hpos, in nouveau_display_scanoutpos_head() argument 113 *vpos = calc(args.scan.vblanks, args.scan.vblanke, in nouveau_display_scanoutpos_head() 123 bool in_vblank_irq, int *vpos, int *hpos, in nouveau_display_scanoutpos() 127 return nouveau_display_scanoutpos_head(crtc, vpos, hpos, in nouveau_display_scanoutpos() 122 nouveau_display_scanoutpos(struct drm_crtc *crtc, bool in_vblank_irq, int *vpos, int *hpos, ktime_t *stime, ktime_t *etime, const struct drm_display_mode *mode) nouveau_display_scanoutpos() argument
|
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/ |
H A D | nouveau_display.h | 55 bool in_vblank_irq, int *vpos, int *hpos,
|
H A D | nouveau_display.c | 83 nouveau_display_scanoutpos_head(struct drm_crtc *crtc, int *vpos, int *hpos, in nouveau_display_scanoutpos_head() argument 108 *vpos = calc(args.vblanks, args.vblanke, args.vtotal, args.vline); in nouveau_display_scanoutpos_head() 117 bool in_vblank_irq, int *vpos, int *hpos, in nouveau_display_scanoutpos() 121 return nouveau_display_scanoutpos_head(crtc, vpos, hpos, in nouveau_display_scanoutpos() 116 nouveau_display_scanoutpos(struct drm_crtc *crtc, bool in_vblank_irq, int *vpos, int *hpos, ktime_t *stime, ktime_t *etime, const struct drm_display_mode *mode) nouveau_display_scanoutpos() argument
|
/third_party/node/deps/v8/src/snapshot/embedded/ |
H A D | embedded-file-writer.cc | 75 base::Vector<const byte> vpos(current_positions.data(), in WriteBuiltin() 78 vpos, SourcePositionTableIterator::kExternalOnly); in WriteBuiltin()
|