| /netbsd/src/usr.sbin/grfconfig/ |
| D | grfconfig.c | 177 gv->htotal = atoi(cps[8]); in main() 201 (gv->htotal == 0) || in main() 249 if ((gv->htotal < (gv->disp_width / 4))) { in main() 253 gv->htotal *= 8; in main() 329 gv->pixel_clock / (gv->htotal * 1000), in main() 330 (gv->pixel_clock / (gv->htotal * 100)) in main() 332 gv->pixel_clock / (gv->htotal * gv->vtotal)); in main() 379 gv->htotal, in print_modeline()
|
| /netbsd/src/sys/dev/videomode/ |
| D | modelines2c.awk | 81 htotal = $7; 111 hrefresh= (dotclock * 1000000) / htotal; 121 hsyncstart, hsyncend, htotal, 130 hsyncstart/2, hsyncend/2, htotal/2,
|
| D | pickmode.c | 80 mref = this->dot_clock * 1000 / (this->htotal * this->vtotal); in pick_mode_by_ref() 133 (*preferred)->htotal), (*preferred)->vtotal); in sort_modes() 159 mtemp->htotal), mtemp->vtotal); in sort_modes() 173 modes[i].htotal), modes[i].vtotal)); in sort_modes()
|
| D | edid.c | 275 edid->edid_modes[i].htotal), edid->edid_modes[i].vtotal)); in edid_print() 280 edid->edid_modes[i].htotal, in edid_print() 295 edid->edid_preferred_mode->htotal), in edid_print() 318 mode->htotal), mode->vtotal); in edid_search_mode() 324 edid->edid_modes[i].htotal), edid->edid_modes[i].vtotal)) { in edid_search_mode() 405 vmp->htotal = hactive + hblank; in edid_det_timing()
|
| D | vesagtf.c | 620 vmp->htotal = total_pixels; in vesagtf_mode_params() 666 hf = 1000.0 * vmp->dot_clock / vmp->htotal; 678 vmp->hdisplay, vmp->hsync_start, vmp->hsync_end, vmp->htotal,
|
| D | videomode.h | 38 int htotal; member
|
| /netbsd/src/sys/external/bsd/drm2/dist/drm/ |
| D | drm_modes.c | 287 drm_mode->htotal = drm_mode->hdisplay + hblank; in drm_cvt_mode() 290 (drm_mode->htotal * CVT_HSYNC_PERCENTAGE) / 100; in drm_cvt_mode() 321 drm_mode->htotal = drm_mode->hdisplay + CVT_RB_H_BLANK; in drm_cvt_mode() 330 tmp = drm_mode->htotal; /* perform intermediate calcs in u64 */ in drm_cvt_mode() 523 drm_mode->htotal = total_pixels; in drm_gtf_mode_complex() 604 dmode->htotal = dmode->hsync_end + vm->hback_porch; in drm_display_mode_from_videomode() 645 vm->hback_porch = dmode->htotal - dmode->hsync_end; in drm_display_mode_to_videomode() 775 if (mode->htotal <= 0) in drm_mode_hsync() 778 calc_val = (mode->clock * 1000) / mode->htotal; /* hsync in Hz */ in drm_mode_hsync() 800 else if (mode->htotal > 0 && mode->vtotal > 0) { in drm_mode_vrefresh() [all …]
|
| /netbsd/src/sys/arch/arm/iomd/ |
| D | vidc20config.c | 352 modes[i].htotal * 2 / modes[i].vtotal + 1) / 2; in vidcvideo_coldinit() 485 vidcvideo_write(VIDC_HBSR, (vm->htotal - vm->hsync_start - 12) & ~1); in vidcvideo_setmode() 486 vidcvideo_write(VIDC_HDSR, (vm->htotal - vm->hsync_start - 18) & ~1); in vidcvideo_setmode() 488 (vm->htotal - vm->hsync_start + vm->hdisplay - 18) & ~1); in vidcvideo_setmode() 490 (vm->htotal - vm->hsync_start + vm->hdisplay - 12) & ~1); in vidcvideo_setmode() 491 vidcvideo_write(VIDC_HCR, (vm->htotal - 8) & ~3); in vidcvideo_setmode() 652 int frontporch = vidc_currentmode.timings.htotal - in vidcvideo_updatecursor()
|
| /netbsd/src/sys/external/bsd/drm2/dist/include/drm/ |
| D | drm_modes.h | 140 .htotal = (ht), .hskew = (hsk), .vdisplay = (vd), \ 157 .htotal = (hd), .vdisplay = (vd), .vsync_start = (vd), \ 287 int htotal; member 445 (m)->hdisplay, (m)->hsync_start, (m)->hsync_end, (m)->htotal, \
|
| /netbsd/src/sys/arch/amiga/dev/ |
| D | grf_ul.c | 382 ba->data = (md->htotal - md->hsync_start)/16 - 1; in ul_load_mon() 383 ba->data = (md->hblank_start + md->htotal - md->hsync_start)/16 - 1; in ul_load_mon() 384 ba->data = md->htotal/16 - 1; in ul_load_mon() 592 vm->htotal = md->htotal; in ul_getvmode()
|
| D | grfioctl.h | 92 u_short htotal; /* your monitor ! */ member
|
| D | grf_et.c | 658 vm->htotal *= 8; in et_getvmode() 884 etconsole_mode.gv.htotal /= 8; in et_setmonitor() 904 md->htotal /= 8; in et_setmonitor() 1181 HBE = gv->htotal - 1; in et_load_mon() 1182 HT = gv->htotal; in et_load_mon()
|
| D | grf_cl.c | 699 vm->htotal *= 8; in cl_getvmode() 1112 clconsole_mode.gv.htotal /= 8; in cl_setmonitor() 1132 md->htotal /= 8; in cl_setmonitor() 1465 HBE = gv->htotal - 1; in cl_load_mon() 1466 HT = gv->htotal; in cl_load_mon()
|
| D | grf_cv3d.c | 852 vm->htotal *= 8; in cv3d_getvmode() 1015 cv3dconsole_mode.gv.htotal /= 8; in cv3d_setmonitor() 1046 md->htotal /= 8; in cv3d_setmonitor() 1270 HBE = gv->htotal * hmul - 6; in cv3d_load_mon() 1271 HT = gv->htotal * hmul - 5; in cv3d_load_mon()
|
| /netbsd/src/sys/dev/ic/ |
| D | mc6845reg.h | 30 u_int8_t htotal, hdisple, hblanks, hblanke; member
|
| /netbsd/src/sys/external/bsd/drm2/dist/drm/i915/ |
| D | i915_irq.c | 592 u32 high1, high2, low, pixel, vbl_start, hsync_start, htotal; in i915_get_vblank_counter() local 609 htotal = mode->crtc_htotal; in i915_get_vblank_counter() 616 vbl_start *= htotal; in i915_get_vblank_counter() 619 vbl_start -= htotal - hsync_start; in i915_get_vblank_counter() 675 u32 htotal = mode->crtc_htotal; in __intel_get_crtc_scanline_from_timestamp() local 703 clock), 1000 * htotal); in __intel_get_crtc_scanline_from_timestamp() 779 int vbl_start, vbl_end, hsync_start, htotal, vtotal; in i915_get_crtc_scanoutpos() local 791 htotal = mode->crtc_htotal; in i915_get_crtc_scanoutpos() 829 vbl_start *= htotal; in i915_get_crtc_scanoutpos() 830 vbl_end *= htotal; in i915_get_crtc_scanoutpos() [all …]
|
| D | intel_pm.c | 718 unsigned int htotal, in intel_wm_method2() argument 729 if (WARN_ON_ONCE(htotal == 0)) in intel_wm_method2() 730 htotal = 1; in intel_wm_method2() 732 ret = (latency * pixel_rate) / (htotal * 10000); in intel_wm_method2() 1130 unsigned int clock, htotal, cpp, width, wm; in g4x_compute_wm() local 1156 htotal = adjusted_mode->crtc_htotal; in g4x_compute_wm() 1161 wm = intel_wm_method2(clock, htotal, width, cpp, latency); in g4x_compute_wm() 1169 large = intel_wm_method2(clock, htotal, width, cpp, latency); in g4x_compute_wm() 1603 unsigned int htotal, in vlv_wm_method2() argument 1610 ret = intel_wm_method2(pixel_rate, htotal, in vlv_wm_method2() [all …]
|
| /netbsd/src/sys/external/bsd/drm2/dist/drm/i2c/ |
| D | ch7006_mode.c | 120 .htotal = ht, \ 193 mode->mode.htotal != drm_mode->htotal || in ch7006_lookup_mode()
|
| /netbsd/src/sys/dev/pci/ |
| D | machfb.c | 932 int htotal, hdisplay, hsync_start, hsync_end; in mach64_get_mode() local 950 htotal = ((hdisplay & 0x01ff) + 1) << 3; in mach64_get_mode() 984 vrefresh = (dot_clock * 1000) / (htotal * vtotal); in mach64_get_mode() 985 vrefresh2 = ((dot_clock * 1000) - (vrefresh * htotal * vtotal)) * 100 / in mach64_get_mode() 986 (htotal * vtotal); in mach64_get_mode() 992 hsync_start, hsync_end, htotal, vsync_start, vsync_end, vtotal, in mach64_get_mode() 997 mode->htotal = htotal; in mach64_get_mode() 1073 ((mode->htotal >> 3) - 1); in mach64_calc_crtcregs()
|
| D | pm2fb.c | 1580 ((mode->htotal) >> 2) - 1); in pm2fb_set_dac() 1586 (mode->htotal - mode->hdisplay) >> 2); in pm2fb_set_dac() 1588 (mode->htotal - mode->hdisplay) >> 2); in pm2fb_set_dac() 1651 ((mode->htotal) >> 3) - 1); in pm2vfb_set_dac() 1657 (mode->htotal - mode->hdisplay) >> 3); in pm2vfb_set_dac() 1659 (mode->htotal - mode->hdisplay) >> 3); in pm2vfb_set_dac()
|
| /netbsd/src/sys/arch/sgimips/dev/ |
| D | crmfb.c | 1797 d = mode->htotal | (mode->vtotal << 12); in crmfb_set_mode() 1810 d = (mode->htotal - 5) | ((mode->hdisplay - 5) << 12); in crmfb_set_mode() 1815 d = mode->htotal | (mode->hdisplay << 12); in crmfb_set_mode() 1826 d |= (mode->htotal - 20); in crmfb_set_mode() 1830 d |= (mode->htotal - 54); in crmfb_set_mode() 1834 d |= (mode->htotal - 4); in crmfb_set_mode() 1837 tmp = mode->htotal - 19; in crmfb_set_mode() 1839 d |= ((tmp + mode->hdisplay - 2) % mode->htotal); in crmfb_set_mode()
|
| /netbsd/src/sys/arch/atari/dev/ |
| D | grfioctl.h | 100 u_short htotal; /* your monitor ! */ member
|
| D | grfabs_et.c | 527 regs->crt[CRT_ID_HOR_TOTAL] = mode->htotal; in et_loadmode() 571 ((mode->htotal & 0x100) ? 0x01 : 0x00) | in et_loadmode()
|
| /netbsd/src/sys/external/bsd/drm/dist/shared-core/ |
| D | drm_mode.h | 87 uint16_t hdisplay, hsync_start, hsync_end, htotal, hskew; member
|
| /netbsd/src/sys/arch/amiga/amiga/ |
| D | custom.h | 176 unsigned short htotal; member
|