/kernel/linux/linux-5.10/fs/ubifs/ |
H A D | lprops.c | 53 int val1, val2, hpos; in move_up_lpt_heap() local 55 hpos = lprops->hpos; in move_up_lpt_heap() 56 if (!hpos) in move_up_lpt_heap() 61 int ppos = (hpos - 1) / 2; in move_up_lpt_heap() 67 heap->arr[ppos]->hpos = hpos; in move_up_lpt_heap() 68 heap->arr[hpos] = heap->arr[ppos]; in move_up_lpt_heap() 70 lprops->hpos = ppos; in move_up_lpt_heap() 71 hpos in move_up_lpt_heap() 87 adjust_lpt_heap(struct ubifs_info *c, struct ubifs_lpt_heap *heap, struct ubifs_lprops *lprops, int hpos, int cat) adjust_lpt_heap() argument 218 int hpos = lprops->hpos; remove_from_lpt_heap() local 247 int hpos = new_lprops->hpos; lpt_heap_replace() local [all...] |
/kernel/linux/linux-6.6/fs/ubifs/ |
H A D | lprops.c | 53 int val1, val2, hpos; in move_up_lpt_heap() local 55 hpos = lprops->hpos; in move_up_lpt_heap() 56 if (!hpos) in move_up_lpt_heap() 61 int ppos = (hpos - 1) / 2; in move_up_lpt_heap() 67 heap->arr[ppos]->hpos = hpos; in move_up_lpt_heap() 68 heap->arr[hpos] = heap->arr[ppos]; in move_up_lpt_heap() 70 lprops->hpos = ppos; in move_up_lpt_heap() 71 hpos in move_up_lpt_heap() 87 adjust_lpt_heap(struct ubifs_info *c, struct ubifs_lpt_heap *heap, struct ubifs_lprops *lprops, int hpos, int cat) adjust_lpt_heap() argument 218 int hpos = lprops->hpos; remove_from_lpt_heap() local 247 int hpos = new_lprops->hpos; lpt_heap_replace() local [all...] |
/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() 782 * to true start of vblank in *hpos. 785 * \param *hpos Location where horizontal scanout position should go. 807 int *hpos, ktime_t *stime, ktime_t *etime, in amdgpu_display_get_crtc_scanoutpos() 833 *hpos = (position >> 16) & 0x1fff; in amdgpu_display_get_crtc_scanoutpos() 850 /* Caller wants distance from real vbl_start in *hpos */ in amdgpu_display_get_crtc_scanoutpos() 851 *hpos = *vpos - vbl_start; in amdgpu_display_get_crtc_scanoutpos() 930 int *hpos, ktime_t *stime, ktime_t *etime, in amdgpu_crtc_get_scanout_position() 936 return amdgpu_display_get_crtc_scanoutpos(dev, pipe, 0, vpos, hpos, in amdgpu_crtc_get_scanout_position() 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...] |
H A D | amdgpu_mode.h | 599 int *hpos, ktime_t *stime, ktime_t *etime, 620 int *hpos, ktime_t *stime, ktime_t *etime,
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/ |
H A D | dvo_ns2501.c | 218 u16 hpos; /* horizontal position + 256, 98/99 */ member 245 .hpos = 0, 265 .hpos = 0, 284 .hpos = 0, 629 ns2501_writeb(dvo, NS2501_REG98, conf->hpos & 0xff); in ns2501_mode_set() 630 ns2501_writeb(dvo, NS2501_REG99, conf->hpos >> 8); in ns2501_mode_set()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/ |
H A D | dvo_ns2501.c | 218 u16 hpos; /* horizontal position + 256, 98/99 */ member 245 .hpos = 0, 265 .hpos = 0, 284 .hpos = 0, 629 ns2501_writeb(dvo, NS2501_REG98, conf->hpos & 0xff); in ns2501_mode_set() 630 ns2501_writeb(dvo, NS2501_REG99, conf->hpos >> 8); in ns2501_mode_set()
|
H A D | intel_vblank.c | 256 int *vpos, int *hpos, in i915_get_crtc_scanoutpos() 378 *hpos = 0; 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
|
/kernel/linux/linux-6.6/drivers/net/vxlan/ |
H A D | vxlan_vnifilter.c | 592 struct list_head *headp, *hpos; in vxlan_vnilist_update_group() local 600 list_for_each_prev(hpos, headp) { in vxlan_vnilist_update_group() 601 vent = list_entry(hpos, struct vxlan_vni_node, vlist); in vxlan_vnilist_update_group() 672 struct list_head *headp, *hpos; in __vxlan_vni_add_list() local 676 list_for_each_prev(hpos, headp) { in __vxlan_vni_add_list() 677 vent = list_entry(hpos, struct vxlan_vni_node, vlist); in __vxlan_vni_add_list() 683 list_add_rcu(&v->vlist, hpos); in __vxlan_vni_add_list()
|
/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 351 hpos = round_fixed((norm->hvirtual * aspect - mode->hdisplay * scale) in ch7006_setup_properties() 354 setbitf(state, CH7006_POV, HPOS_8, hpos); in ch7006_setup_properties() 355 setbitf(state, CH7006_HPOS, 0, hpos); 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 351 hpos = round_fixed((norm->hvirtual * aspect - mode->hdisplay * scale) in ch7006_setup_properties() 354 setbitf(state, CH7006_POV, HPOS_8, hpos); in ch7006_setup_properties() 355 setbitf(state, CH7006_HPOS, 0, hpos); 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 139 *hpos = val >> 16; 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 150 *hpos = val >> 16; in lsdc_crtc1_scan_pos() 900 int *hpos, in lsdc_crtc_get_scanout_position() 930 *hpos = 0; 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-5.10/drivers/gpu/drm/radeon/ |
H A D | radeon_display.c | 293 int vpos, hpos; in radeon_crtc_handle_vblank() local 326 * start of real vblank in hpos. vpos >= 0 && hpos < 0 means we are in in radeon_crtc_handle_vblank() 331 * vblank, not only at leading edge, so if update_pending for hpos >= 0 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() 1796 * to true start of vblank in *hpos 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...] |
/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 320 * start of real vblank in hpos. vpos >= 0 && hpos < 0 means we are in in radeon_crtc_handle_vblank() 325 * vblank, not only at leading edge, so if update_pending for hpos >= 0 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() 1790 * to true start of vblank in *hpos 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...] |
/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 112 *hpos = args.scan.hline; 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 107 *hpos = args.hline; 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
|
/kernel/linux/linux-5.10/include/drm/ |
H A D | drm_vblank.h | 265 int *vpos, int *hpos,
|
H A D | drm_modeset_helper_vtables.h | 475 * hpos: 497 bool in_vblank_irq, int *vpos, int *hpos,
|
/kernel/linux/linux-6.6/include/drm/ |
H A D | drm_vblank.h | 265 int *vpos, int *hpos,
|
H A D | drm_modeset_helper_vtables.h | 467 * hpos: 489 bool in_vblank_irq, int *vpos, int *hpos,
|
/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() 1467 * to true start of vblank in *hpos. 1470 * \param *hpos Location where horizontal scanout position should go. 1492 int *hpos, ktime_t *stime, ktime_t *etime, in amdgpu_display_get_crtc_scanoutpos() 1518 *hpos = (position >> 16) & 0x1fff; in amdgpu_display_get_crtc_scanoutpos() 1534 /* Caller wants distance from real vbl_start in *hpos */ in amdgpu_display_get_crtc_scanoutpos() 1535 *hpos = *vpos - vbl_start; in amdgpu_display_get_crtc_scanoutpos() 1614 int *hpos, ktime_t *stime, ktime_t *etime, in amdgpu_crtc_get_scanout_position() 1620 return amdgpu_display_get_crtc_scanoutpos(dev, pipe, 0, vpos, hpos, in amdgpu_crtc_get_scanout_position() 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...] |
H A D | amdgpu_mode.h | 587 int *hpos, ktime_t *stime, ktime_t *etime, 603 int *hpos, ktime_t *stime, ktime_t *etime,
|
/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() 118 *hpos = 0; in vc4_crtc_get_scanout_position() 123 /* Use hpos to correct for field offset in interlaced mode. */ in vc4_crtc_get_scanout_position() 125 *hpos += mode->crtc_htotal / 2; 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/ |
H A D | drm_vblank.c | 697 int vpos, hpos, i; in drm_crtc_vblank_helper_get_vblank_timestamp_internal() local 735 * Get vertical and horizontal scanout position vpos, hpos, in drm_crtc_vblank_helper_get_vblank_timestamp_internal() 739 &vpos, &hpos, in drm_crtc_vblank_helper_get_vblank_timestamp_internal() 773 delta_ns = div_s64(1000000LL * (vpos * mode->crtc_htotal + hpos), in drm_crtc_vblank_helper_get_vblank_timestamp_internal() 789 pipe, hpos, vpos, in drm_crtc_vblank_helper_get_vblank_timestamp_internal()
|