htotal 183 arch/m68k/include/asm/amigahw.h unsigned short htotal; htotal 268 arch/m68k/include/asm/amigahw.h amiga_custom.htotal = 113; /* 31 kHz */ htotal 153 drivers/gpu/drm/amd/amdgpu/amdgpu_encoders.c unsigned hblank = native_mode->htotal - native_mode->hdisplay; htotal 166 drivers/gpu/drm/amd/amdgpu/amdgpu_encoders.c adjusted_mode->htotal = native_mode->hdisplay + hblank; htotal 2027 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c lvds->native_mode.htotal = lvds->native_mode.hdisplay + htotal 493 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c if (max_size < mode->htotal * mode->vtotal) htotal 494 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c max_size = mode->htotal * mode->vtotal; htotal 3467 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c native_mode->htotal == drm_mode->htotal && htotal 176 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c v->read_bandwidth[k] = v->swath_width_ysingle_dpp[k] * (dcn_bw_ceil2(v->byte_per_pixel_in_dety[k], 1.0) * v->v_ratio[k] +dcn_bw_ceil2(v->byte_per_pixel_in_detc[k], 2.0) / 2.0 * v->v_ratio[k] / 2) / (v->htotal[k] / v->pixel_clock[k]); htotal 194 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c v->write_bandwidth[k] = v->scaler_rec_out_width[k] / (v->htotal[k] / v->pixel_clock[k]) * 4.0; htotal 197 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c v->write_bandwidth[k] = v->scaler_rec_out_width[k] / (v->htotal[k] / v->pixel_clock[k]) * 1.5; htotal 242 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c if (v->output[k] == dcn_bw_writeback && v->output_format[k] == dcn_bw_444 && v->scaler_rec_out_width[k] / (v->htotal[k] / v->pixel_clock[k]) * 4.0 > (v->writeback_luma_buffer_size + v->writeback_chroma_buffer_size) * 1024.0 / v->write_back_latency) { htotal 245 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c else if (v->output[k] == dcn_bw_writeback && v->scaler_rec_out_width[k] / (v->htotal[k] / v->pixel_clock[k]) >dcn_bw_min2(v->writeback_luma_buffer_size, 2.0 * v->writeback_chroma_buffer_size) * 1024.0 / v->write_back_latency) { htotal 559 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c v->urgent_latency_support_us_per_state[i][j][k] = v->effective_detlb_lines_luma * (v->htotal[k] / v->pixel_clock[k]) / v->v_ratio[k] - v->effective_detlb_lines_luma * v->swath_width_yper_state[i][j][k] *dcn_bw_ceil2(v->byte_per_pixel_in_dety[k], 1.0) / (v->return_bw_per_state[i] / v->no_of_dpp[i][j][k]); htotal 562 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c v->urgent_latency_support_us_per_state[i][j][k] =dcn_bw_min2(v->effective_detlb_lines_luma * (v->htotal[k] / v->pixel_clock[k]) / v->v_ratio[k] - v->effective_detlb_lines_luma * v->swath_width_yper_state[i][j][k] *dcn_bw_ceil2(v->byte_per_pixel_in_dety[k], 1.0) / (v->return_bw_per_state[i] / v->no_of_dpp[i][j][k]), v->effective_detlb_lines_chroma * (v->htotal[k] / v->pixel_clock[k]) / (v->v_ratio[k] / 2.0) - v->effective_detlb_lines_chroma * v->swath_width_yper_state[i][j][k] / 2.0 *dcn_bw_ceil2(v->byte_per_pixel_in_detc[k], 2.0) / (v->return_bw_per_state[i] / v->no_of_dpp[i][j][k])); htotal 785 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c v->v_update_offset[k][j] = dcn_bw_ceil2(v->htotal[k] / 4.0, 1.0); htotal 802 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c v->line_times_for_prefetch[k] = v->maximum_vstartup - v->urgent_latency / (v->htotal[k] / v->pixel_clock[k]) - (v->time_calc + v->time_setup) / (v->htotal[k] / v->pixel_clock[k]) - (v->dst_y_after_scaler + v->dst_x_after_scaler / v->htotal[k]); htotal 804 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c v->prefetch_bw[k] = (v->meta_pte_bytes_per_frame[k] + 2.0 * v->meta_row_bytes[k] + 2.0 * v->dpte_bytes_per_row[k] + v->prefetch_lines_y[k] * v->swath_width_yper_state[i][j][k] *dcn_bw_ceil2(v->byte_per_pixel_in_dety[k], 1.0) + v->prefetch_lines_c[k] * v->swath_width_yper_state[i][j][k] / 2.0 *dcn_bw_ceil2(v->byte_per_pixel_in_detc[k], 2.0)) / (v->line_times_for_prefetch[k] * v->htotal[k] / v->pixel_clock[k]); htotal 810 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c v->htotal[k] / v->pixel_clock[k] / 4.0); htotal 812 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c v->time_for_meta_pte_without_immediate_flip = v->htotal[k] / v->pixel_clock[k] / 4.0; htotal 818 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c v->htotal[k] / v->pixel_clock[k] - v->time_for_meta_pte_without_immediate_flip, htotal 822 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c v->htotal[k] / v->pixel_clock[k] - v->time_for_meta_pte_without_immediate_flip, htotal 826 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c v->lines_for_meta_pte_without_immediate_flip[k] =dcn_bw_floor2(4.0 * (v->time_for_meta_pte_without_immediate_flip / (v->htotal[k] / v->pixel_clock[k]) + 0.125), 1.0) / 4; htotal 827 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c v->lines_for_meta_and_dpte_row_without_immediate_flip[k] =dcn_bw_floor2(4.0 * (v->time_for_meta_and_dpte_row_without_immediate_flip / (v->htotal[k] / v->pixel_clock[k]) + 0.125), 1.0) / 4; htotal 847 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c v->time_for_meta_pte_with_immediate_flip =dcn_bw_max5(v->meta_pte_bytes_per_frame[k] / v->prefetch_bw[k], v->meta_pte_bytes_per_frame[k] * v->total_immediate_flip_bytes[k] / (v->bw_available_for_immediate_flip * (v->meta_pte_bytes_per_frame[k] + v->meta_row_bytes[k] + v->dpte_bytes_per_row[k])), v->extra_latency, v->urgent_latency, v->htotal[k] / v->pixel_clock[k] / 4.0); htotal 850 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c v->time_for_meta_pte_with_immediate_flip = v->htotal[k] / v->pixel_clock[k] / 4.0; htotal 853 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c v->time_for_meta_and_dpte_row_with_immediate_flip =dcn_bw_max5((v->meta_row_bytes[k] + v->dpte_bytes_per_row[k]) / v->prefetch_bw[k], (v->meta_row_bytes[k] + v->dpte_bytes_per_row[k]) * v->total_immediate_flip_bytes[k] / (v->bw_available_for_immediate_flip * (v->meta_pte_bytes_per_frame[k] + v->meta_row_bytes[k] + v->dpte_bytes_per_row[k])), v->htotal[k] / v->pixel_clock[k] - v->time_for_meta_pte_with_immediate_flip, v->extra_latency, 2.0 * v->urgent_latency); htotal 856 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c v->time_for_meta_and_dpte_row_with_immediate_flip =dcn_bw_max2(v->htotal[k] / v->pixel_clock[k] - v->time_for_meta_pte_with_immediate_flip, v->extra_latency - v->time_for_meta_pte_with_immediate_flip); htotal 858 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c v->lines_for_meta_pte_with_immediate_flip[k] =dcn_bw_floor2(4.0 * (v->time_for_meta_pte_with_immediate_flip / (v->htotal[k] / v->pixel_clock[k]) + 0.125), 1.0) / 4; htotal 859 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c v->lines_for_meta_and_dpte_row_with_immediate_flip[k] =dcn_bw_floor2(4.0 * (v->time_for_meta_and_dpte_row_with_immediate_flip / (v->htotal[k] / v->pixel_clock[k]) + 0.125), 1.0) / 4; htotal 881 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c v->required_prefetch_pixel_data_bw_with_immediate_flip[i][j][k] = v->no_of_dpp[i][j][k] * (v->prefetch_lines_y[k] / v->line_times_to_request_prefetch_pixel_data_with_immediate_flip *dcn_bw_ceil2(v->byte_per_pixel_in_dety[k], 1.0) + v->prefetch_lines_c[k] / v->line_times_to_request_prefetch_pixel_data_with_immediate_flip *dcn_bw_ceil2(v->byte_per_pixel_in_detc[k], 2.0) / 2.0) * v->swath_width_yper_state[i][j][k] / (v->htotal[k] / v->pixel_clock[k]); htotal 907 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c v->required_prefetch_pixel_data_bw_without_immediate_flip[i][j][k] = v->no_of_dpp[i][j][k] * (v->prefetch_lines_y[k] / v->line_times_to_request_prefetch_pixel_data_without_immediate_flip *dcn_bw_ceil2(v->byte_per_pixel_in_dety[k], 1.0) + v->prefetch_lines_c[k] / v->line_times_to_request_prefetch_pixel_data_without_immediate_flip *dcn_bw_ceil2(v->byte_per_pixel_in_detc[k], 2.0) / 2.0) * v->swath_width_yper_state[i][j][k] / (v->htotal[k] / v->pixel_clock[k]); htotal 918 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c v->maximum_read_bandwidth_with_prefetch_with_immediate_flip = v->maximum_read_bandwidth_with_prefetch_with_immediate_flip +dcn_bw_max2(v->read_bandwidth[k], v->required_prefetch_pixel_data_bw_with_immediate_flip[i][j][k]) +dcn_bw_max2(v->meta_pte_bytes_per_frame[k] / (v->lines_for_meta_pte_with_immediate_flip[k] * v->htotal[k] / v->pixel_clock[k]), (v->meta_row_bytes[k] + v->dpte_bytes_per_row[k]) / (v->lines_for_meta_and_dpte_row_with_immediate_flip[k] * v->htotal[k] / v->pixel_clock[k])); htotal 1281 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c v->read_bandwidth_plane_luma[k] = v->swath_width_y[k] * v->dpp_per_plane[k] *dcn_bw_ceil2(v->byte_per_pixel_dety[k], 1.0) / (v->htotal[k] / v->pixel_clock[k]) * v->v_ratio[k]; htotal 1282 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c v->read_bandwidth_plane_chroma[k] = v->swath_width_y[k] / 2.0 * v->dpp_per_plane[k] *dcn_bw_ceil2(v->byte_per_pixel_detc[k], 2.0) / (v->htotal[k] / v->pixel_clock[k]) * v->v_ratio[k] / 2.0; htotal 1344 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c v->full_det_buffering_time_y[k] = v->lines_in_dety_rounded_down_to_swath[k] * (v->htotal[k] / v->pixel_clock[k]) / v->v_ratio[k]; htotal 1348 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c v->full_det_buffering_time_c[k] = v->lines_in_detc_rounded_down_to_swath[k] * (v->htotal[k] / v->pixel_clock[k]) / (v->v_ratio[k] / 2.0); htotal 1360 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c v->frame_time_for_min_full_det_buffering_time = v->vtotal[k] * v->htotal[k] / v->pixel_clock[k]; htotal 1364 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c v->frame_time_for_min_full_det_buffering_time = v->vtotal[k] * v->htotal[k] / v->pixel_clock[k]; htotal 1393 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c v->v_blank_time = (v->vtotal[k] - v->vactive[k]) * v->htotal[k] / v->pixel_clock[k]; htotal 1424 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c v->urgent_latency_support_us_luma = v->effective_det_plus_lb_lines_luma * (v->htotal[k] / v->pixel_clock[k]) / v->v_ratio[k] - v->effective_det_plus_lb_lines_luma * v->swath_width_y[k] * v->byte_per_pixel_dety[k] / (v->return_bw / v->dpp_per_plane[k]); htotal 1427 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c v->urgent_latency_support_us_chroma = v->effective_det_plus_lb_lines_chroma * (v->htotal[k] / v->pixel_clock[k]) / (v->v_ratio[k] / 2.0) - v->effective_det_plus_lb_lines_chroma * (v->swath_width_y[k] / 2.0) * v->byte_per_pixel_detc[k] / (v->return_bw / v->dpp_per_plane[k]); htotal 1653 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c v->v_update_offset_pix[k] = dcn_bw_ceil2(v->htotal[k] / 4.0, 1.0); htotal 1668 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c v->destination_lines_for_prefetch[k] =dcn_bw_floor2(4.0 * (v->v_startup[k] - v->t_wait / (v->htotal[k] / v->pixel_clock[k]) - (v->t_calc + v->t_setup) / (v->htotal[k] / v->pixel_clock[k]) - (v->dsty_after_scaler + v->dstx_after_scaler / v->htotal[k]) + 0.125), 1.0) / 4; htotal 1670 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c v->prefetch_bandwidth[k] = (v->meta_pte_bytes_frame[k] + 2.0 * v->meta_row_byte[k] + 2.0 * v->pixel_pte_bytes_per_row[k] + v->prefetch_source_lines_y[k] * v->swath_width_y[k] *dcn_bw_ceil2(v->byte_per_pixel_dety[k], 1.0) + v->prefetch_source_lines_c[k] * v->swath_width_y[k] / 2.0 *dcn_bw_ceil2(v->byte_per_pixel_detc[k], 2.0)) / (v->destination_lines_for_prefetch[k] * v->htotal[k] / v->pixel_clock[k]); htotal 1690 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c v->time_for_fetching_meta_pte =dcn_bw_max5(v->meta_pte_bytes_frame[k] / v->prefetch_bandwidth[k], v->meta_pte_bytes_frame[k] * v->tot_immediate_flip_bytes / (v->bandwidth_available_for_immediate_flip * (v->meta_pte_bytes_frame[k] + v->meta_row_byte[k] + v->pixel_pte_bytes_per_row[k])), v->urgent_extra_latency, v->urgent_latency, v->htotal[k] / v->pixel_clock[k] / 4.0); htotal 1693 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c v->time_for_fetching_meta_pte =dcn_bw_max3(v->meta_pte_bytes_frame[k] / v->prefetch_bandwidth[k], v->urgent_extra_latency, v->htotal[k] / v->pixel_clock[k] / 4.0); htotal 1697 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c v->time_for_fetching_meta_pte = v->htotal[k] / v->pixel_clock[k] / 4.0; htotal 1699 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c v->destination_lines_to_request_vm_inv_blank[k] =dcn_bw_floor2(4.0 * (v->time_for_fetching_meta_pte / (v->htotal[k] / v->pixel_clock[k]) + 0.125), 1.0) / 4; htotal 1702 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c v->time_for_fetching_row_in_vblank =dcn_bw_max5((v->meta_row_byte[k] + v->pixel_pte_bytes_per_row[k]) / v->prefetch_bandwidth[k], (v->meta_row_byte[k] + v->pixel_pte_bytes_per_row[k]) * v->tot_immediate_flip_bytes / (v->bandwidth_available_for_immediate_flip * (v->meta_pte_bytes_frame[k] + v->meta_row_byte[k] + v->pixel_pte_bytes_per_row[k])), v->urgent_extra_latency, 2.0 * v->urgent_latency, v->htotal[k] / v->pixel_clock[k] - v->time_for_fetching_meta_pte); htotal 1705 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c v->time_for_fetching_row_in_vblank =dcn_bw_max3((v->meta_row_byte[k] + v->pixel_pte_bytes_per_row[k]) / v->prefetch_bandwidth[k], v->urgent_extra_latency, v->htotal[k] / v->pixel_clock[k] - v->time_for_fetching_meta_pte); htotal 1709 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c v->time_for_fetching_row_in_vblank =dcn_bw_max2(v->urgent_extra_latency - v->time_for_fetching_meta_pte, v->htotal[k] / v->pixel_clock[k] - v->time_for_fetching_meta_pte); htotal 1711 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c v->destination_lines_to_request_row_in_vblank[k] =dcn_bw_floor2(4.0 * (v->time_for_fetching_row_in_vblank / (v->htotal[k] / v->pixel_clock[k]) + 0.125), 1.0) / 4; htotal 1744 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c v->required_prefetch_pix_data_bw = v->dpp_per_plane[k] * (v->prefetch_source_lines_y[k] / v->lines_to_request_prefetch_pixel_data *dcn_bw_ceil2(v->byte_per_pixel_dety[k], 1.0) + v->prefetch_source_lines_c[k] / v->lines_to_request_prefetch_pixel_data *dcn_bw_ceil2(v->byte_per_pixel_detc[k], 2.0) / 2.0) * v->swath_width_y[k] / (v->htotal[k] / v->pixel_clock[k]); htotal 1751 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c v->max_rd_bandwidth = v->max_rd_bandwidth +dcn_bw_max2(v->meta_pte_bytes_frame[k] / (v->destination_lines_to_request_vm_inv_blank[k] * v->htotal[k] / v->pixel_clock[k]), (v->meta_row_byte[k] + v->pixel_pte_bytes_per_row[k]) / (v->destination_lines_to_request_row_in_vblank[k] * v->htotal[k] / v->pixel_clock[k])); htotal 1828 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c v->effective_lb_latency_hiding_y = v->lb_latency_hiding_source_lines_y / v->v_ratio[k] * (v->htotal[k] / v->pixel_clock[k]); htotal 1829 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c v->effective_lb_latency_hiding_c = v->lb_latency_hiding_source_lines_c / (v->v_ratio[k] / 2.0) * (v->htotal[k] / v->pixel_clock[k]); htotal 1848 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c v->dppopp_buffering_y = (v->htotal[k] / v->pixel_clock[k]) * (v->dpp_output_buffer_lines_y + v->opp_output_buffer_lines); htotal 1849 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c v->max_det_buffering_time_y = v->full_det_buffering_time_y[k] + (v->lines_in_dety[k] - v->lines_in_dety_rounded_down_to_swath[k]) / v->swath_height_y[k] * (v->htotal[k] / v->pixel_clock[k]); htotal 1852 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c v->active_dram_clock_change_latency_margin_y = v->active_dram_clock_change_latency_margin_y - (1.0 - 1.0 / (v->active_dp_ps - 1.0)) * v->swath_height_y[k] * (v->htotal[k] / v->pixel_clock[k]); htotal 1855 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c v->dppopp_buffering_c = (v->htotal[k] / v->pixel_clock[k]) * (v->dpp_output_buffer_lines_c + v->opp_output_buffer_lines); htotal 1856 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c v->max_det_buffering_time_c = v->full_det_buffering_time_c[k] + (v->lines_in_detc[k] - v->lines_in_detc_rounded_down_to_swath[k]) / v->swath_height_c[k] * (v->htotal[k] / v->pixel_clock[k]); htotal 1859 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c v->active_dram_clock_change_latency_margin_c = v->active_dram_clock_change_latency_margin_c - (1.0 - 1.0 / (v->active_dp_ps - 1.0)) * v->swath_height_c[k] * (v->htotal[k] / v->pixel_clock[k]); htotal 1867 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c v->writeback_dram_clock_change_latency_margin = (v->writeback_luma_buffer_size + v->writeback_chroma_buffer_size) * 1024.0 / (v->scaler_rec_out_width[k] / (v->htotal[k] / v->pixel_clock[k]) * 4.0) - v->writeback_dram_clock_change_watermark; htotal 1870 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c v->writeback_dram_clock_change_latency_margin =dcn_bw_min2(v->writeback_luma_buffer_size, 2.0 * v->writeback_chroma_buffer_size) * 1024.0 / (v->scaler_rec_out_width[k] / (v->htotal[k] / v->pixel_clock[k])) - v->writeback_dram_clock_change_watermark; htotal 1878 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c v->v_blank_dram_clock_change_latency_margin[k] = (v->vtotal[k] - v->scaler_recout_height[k]) * (v->htotal[k] / v->pixel_clock[k]) -dcn_bw_max2(v->dram_clock_change_watermark, v->writeback_dram_clock_change_watermark); htotal 1926 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c v->wr_bandwidth = v->wr_bandwidth + v->scaler_rec_out_width[k] / (v->htotal[k] / v->pixel_clock[k]) * 4.0; htotal 1929 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c v->wr_bandwidth = v->wr_bandwidth + v->scaler_rec_out_width[k] / (v->htotal[k] / v->pixel_clock[k]) * 1.5; htotal 420 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->dest.htotal = pipe->stream->timing.h_total; htotal 421 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->dest.hblank_start = input->dest.htotal - pipe->stream->timing.h_front_porch; htotal 877 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c v->htotal[input_idx] = pipe->stream->timing.h_total; htotal 1085 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c dcn_bw_ceil2(v->byte_per_pixel_dety[k], 1.0) / (v->htotal[k] / v->pixel_clock[k]) * v->v_ratio[k]; htotal 1087 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c dcn_bw_ceil2(v->byte_per_pixel_detc[k], 2.0) / (v->htotal[k] / v->pixel_clock[k]) * v->v_ratio[k] / 2.0; htotal 1186 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c pipe->pipe_dlg_param.htotal = pipe->stream->timing.h_total; htotal 1227 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c hsplit_pipe->pipe_dlg_param.htotal = pipe->stream->timing.h_total; htotal 132 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c + pipe_dest->vupdate_offset) / pipe_dest->htotal) <= pipe_dest->vblank_end) { htotal 183 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.c + pipe_dest->vupdate_offset) / pipe_dest->htotal) <= pipe_dest->vblank_end) { htotal 1933 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.dest.htotal = timing->h_total; htotal 788 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20.c unsigned int htotal = dst->htotal; htotal 918 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20.c disp_dlg_regs->refcyc_per_htotal = (unsigned int) (ref_freq_to_pix_freq * (double) htotal htotal 929 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20.c min_dst_y_ttu_vblank = min_ttu_vblank * pclk_freq_in_mhz / (double) htotal; htotal 980 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20.c line_time_in_us = (htotal / pclk_freq_in_mhz); htotal 1027 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20.c - (double) (vready_offset + vupdate_width + vupdate_offset) / htotal htotal 1034 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20.c - (double) (vready_offset + vupdate_width + vupdate_offset) / htotal htotal 1065 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20.c dml_print("DML_DLG: %s: htotal = %d\n", __func__, htotal); htotal 1104 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20.c if (htotal <= 75) { htotal 1414 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20.c (unsigned int) (dst_y_per_row_vblank * (double) htotal htotal 1420 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20.c * (double) htotal * ref_freq_to_pix_freq htotal 1427 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20.c (unsigned int) (dst_y_per_row_vblank * (double) htotal htotal 1434 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20.c disp_dlg_regs->refcyc_per_pte_group_flip_l = (unsigned int) (dst_y_per_row_flip * htotal htotal 1436 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20.c disp_dlg_regs->refcyc_per_meta_chunk_flip_l = (unsigned int) (dst_y_per_row_flip * htotal htotal 1441 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20.c * htotal * ref_freq_to_pix_freq) / dpte_groups_per_row_ub_c; htotal 1443 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20.c * htotal * ref_freq_to_pix_freq) / meta_chunks_per_row_ub_c; htotal 1468 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20.c / (double) vratio_l * (double) htotal * ref_freq_to_pix_freq htotal 1473 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20.c / (double) vratio_l * (double) htotal * ref_freq_to_pix_freq htotal 1481 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20.c * (double) htotal * ref_freq_to_pix_freq htotal 1489 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20.c * (double) htotal * ref_freq_to_pix_freq htotal 1544 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20.c disp_ttu_regs->qos_level_high_wm = (unsigned int) (4.0 * (double) htotal htotal 788 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20v2.c unsigned int htotal = dst->htotal; htotal 918 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20v2.c disp_dlg_regs->refcyc_per_htotal = (unsigned int) (ref_freq_to_pix_freq * (double) htotal htotal 929 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20v2.c min_dst_y_ttu_vblank = min_ttu_vblank * pclk_freq_in_mhz / (double) htotal; htotal 980 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20v2.c line_time_in_us = (htotal / pclk_freq_in_mhz); htotal 1027 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20v2.c - (double) (vready_offset + vupdate_width + vupdate_offset) / htotal htotal 1034 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20v2.c - (double) (vready_offset + vupdate_width + vupdate_offset) / htotal htotal 1065 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20v2.c dml_print("DML_DLG: %s: htotal = %d\n", __func__, htotal); htotal 1104 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20v2.c if (htotal <= 75) { htotal 1414 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20v2.c (unsigned int) (dst_y_per_row_vblank * (double) htotal htotal 1420 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20v2.c * (double) htotal * ref_freq_to_pix_freq htotal 1427 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20v2.c (unsigned int) (dst_y_per_row_vblank * (double) htotal htotal 1434 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20v2.c disp_dlg_regs->refcyc_per_pte_group_flip_l = (unsigned int) (dst_y_per_row_flip * htotal htotal 1436 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20v2.c disp_dlg_regs->refcyc_per_meta_chunk_flip_l = (unsigned int) (dst_y_per_row_flip * htotal htotal 1441 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20v2.c * htotal * ref_freq_to_pix_freq) / dpte_groups_per_row_ub_c; htotal 1443 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20v2.c * htotal * ref_freq_to_pix_freq) / meta_chunks_per_row_ub_c; htotal 1468 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20v2.c / (double) vratio_l * (double) htotal * ref_freq_to_pix_freq htotal 1473 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20v2.c / (double) vratio_l * (double) htotal * ref_freq_to_pix_freq htotal 1481 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20v2.c * (double) htotal * ref_freq_to_pix_freq htotal 1489 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20v2.c * (double) htotal * ref_freq_to_pix_freq htotal 1544 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20v2.c disp_ttu_regs->qos_level_high_wm = (unsigned int) (4.0 * (double) htotal htotal 835 drivers/gpu/drm/amd/display/dc/dml/dcn21/display_rq_dlg_calc_21.c unsigned int htotal = dst->htotal; htotal 965 drivers/gpu/drm/amd/display/dc/dml/dcn21/display_rq_dlg_calc_21.c disp_dlg_regs->refcyc_per_htotal = (unsigned int) (ref_freq_to_pix_freq * (double) htotal htotal 976 drivers/gpu/drm/amd/display/dc/dml/dcn21/display_rq_dlg_calc_21.c min_dst_y_ttu_vblank = min_ttu_vblank * pclk_freq_in_mhz / (double) htotal; htotal 1032 drivers/gpu/drm/amd/display/dc/dml/dcn21/display_rq_dlg_calc_21.c line_time_in_us = (htotal / pclk_freq_in_mhz); htotal 1067 drivers/gpu/drm/amd/display/dc/dml/dcn21/display_rq_dlg_calc_21.c - (double) (vready_offset + vupdate_width + vupdate_offset) / htotal htotal 1074 drivers/gpu/drm/amd/display/dc/dml/dcn21/display_rq_dlg_calc_21.c - (double) (vready_offset + vupdate_width + vupdate_offset) / htotal htotal 1108 drivers/gpu/drm/amd/display/dc/dml/dcn21/display_rq_dlg_calc_21.c dml_print("DML_DLG: %s: htotal = %d\n", __func__, htotal); htotal 1154 drivers/gpu/drm/amd/display/dc/dml/dcn21/display_rq_dlg_calc_21.c if (htotal <= 75) { htotal 1492 drivers/gpu/drm/amd/display/dc/dml/dcn21/display_rq_dlg_calc_21.c (unsigned int) (dst_y_per_row_vblank * (double) htotal htotal 1498 drivers/gpu/drm/amd/display/dc/dml/dcn21/display_rq_dlg_calc_21.c * (double) htotal * ref_freq_to_pix_freq htotal 1505 drivers/gpu/drm/amd/display/dc/dml/dcn21/display_rq_dlg_calc_21.c (unsigned int) (dst_y_per_row_vblank * (double) htotal htotal 1512 drivers/gpu/drm/amd/display/dc/dml/dcn21/display_rq_dlg_calc_21.c disp_dlg_regs->refcyc_per_pte_group_flip_l = (unsigned int) (dst_y_per_row_flip * htotal htotal 1514 drivers/gpu/drm/amd/display/dc/dml/dcn21/display_rq_dlg_calc_21.c disp_dlg_regs->refcyc_per_meta_chunk_flip_l = (unsigned int) (dst_y_per_row_flip * htotal htotal 1519 drivers/gpu/drm/amd/display/dc/dml/dcn21/display_rq_dlg_calc_21.c * htotal * ref_freq_to_pix_freq) / dpte_groups_per_row_ub_c; htotal 1521 drivers/gpu/drm/amd/display/dc/dml/dcn21/display_rq_dlg_calc_21.c * htotal * ref_freq_to_pix_freq) / meta_chunks_per_row_ub_c; htotal 1568 drivers/gpu/drm/amd/display/dc/dml/dcn21/display_rq_dlg_calc_21.c / (double) vratio_l * (double) htotal * ref_freq_to_pix_freq htotal 1573 drivers/gpu/drm/amd/display/dc/dml/dcn21/display_rq_dlg_calc_21.c / (double) vratio_l * (double) htotal * ref_freq_to_pix_freq htotal 1581 drivers/gpu/drm/amd/display/dc/dml/dcn21/display_rq_dlg_calc_21.c * (double) htotal * ref_freq_to_pix_freq htotal 1589 drivers/gpu/drm/amd/display/dc/dml/dcn21/display_rq_dlg_calc_21.c * (double) htotal * ref_freq_to_pix_freq htotal 1644 drivers/gpu/drm/amd/display/dc/dml/dcn21/display_rq_dlg_calc_21.c disp_ttu_regs->qos_level_high_wm = (unsigned int) (4.0 * (double) htotal htotal 312 drivers/gpu/drm/amd/display/dc/dml/display_mode_structs.h unsigned int htotal; htotal 415 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c mode_lib->vba.HTotal[mode_lib->vba.NumberOfActivePlanes] = dst->htotal; htotal 992 drivers/gpu/drm/amd/display/dc/dml/dml1_display_rq_dlg_calc.c unsigned int htotal = e2e_pipe_param.pipe.dest.htotal; htotal 1137 drivers/gpu/drm/amd/display/dc/dml/dml1_display_rq_dlg_calc.c disp_dlg_regs->refcyc_per_htotal = (unsigned int) (ref_freq_to_pix_freq * (double) htotal htotal 1154 drivers/gpu/drm/amd/display/dc/dml/dml1_display_rq_dlg_calc.c min_dst_y_ttu_vblank = min_ttu_vblank * pclk_freq_in_mhz / (double) htotal; htotal 1206 drivers/gpu/drm/amd/display/dc/dml/dml1_display_rq_dlg_calc.c line_time_in_us = (htotal / pclk_freq_in_mhz); htotal 1272 drivers/gpu/drm/amd/display/dc/dml/dml1_display_rq_dlg_calc.c if (dst_x_after_scaler >= htotal) { htotal 1273 drivers/gpu/drm/amd/display/dc/dml/dml1_display_rq_dlg_calc.c dst_x_after_scaler = dst_x_after_scaler - htotal; htotal 1277 drivers/gpu/drm/amd/display/dc/dml/dml1_display_rq_dlg_calc.c DTRACE("DLG: %s: htotal = %d", __func__, htotal); htotal 1295 drivers/gpu/drm/amd/display/dc/dml/dml1_display_rq_dlg_calc.c line_o = (double) dst_y_after_scaler + dst_x_after_scaler / (double) htotal; htotal 1296 drivers/gpu/drm/amd/display/dc/dml/dml1_display_rq_dlg_calc.c line_setup = (double) (vupdate_offset + vupdate_width + vready_offset) / (double) htotal; htotal 1470 drivers/gpu/drm/amd/display/dc/dml/dml1_display_rq_dlg_calc.c if (htotal <= 75) { htotal 1517 drivers/gpu/drm/amd/display/dc/dml/dml1_display_rq_dlg_calc.c (unsigned int) (dst_y_per_row_vblank * (double) htotal htotal 1522 drivers/gpu/drm/amd/display/dc/dml/dml1_display_rq_dlg_calc.c (unsigned int) (dst_y_per_row_vblank * (double) htotal htotal 1527 drivers/gpu/drm/amd/display/dc/dml/dml1_display_rq_dlg_calc.c (unsigned int) (dst_y_per_row_vblank * (double) htotal htotal 1560 drivers/gpu/drm/amd/display/dc/dml/dml1_display_rq_dlg_calc.c / (double) vratio_l * (double) htotal * ref_freq_to_pix_freq htotal 1566 drivers/gpu/drm/amd/display/dc/dml/dml1_display_rq_dlg_calc.c / (double) vratio_c * (double) htotal * ref_freq_to_pix_freq htotal 1572 drivers/gpu/drm/amd/display/dc/dml/dml1_display_rq_dlg_calc.c / (double) vratio_l * (double) htotal * ref_freq_to_pix_freq htotal 1897 drivers/gpu/drm/amd/display/dc/dml/dml1_display_rq_dlg_calc.c disp_ttu_regs->qos_level_high_wm = (unsigned int) (4.0 * (double) htotal htotal 176 drivers/gpu/drm/amd/display/dc/inc/dcn_calcs.h float htotal[number_of_planes_minus_one + 1]; htotal 802 drivers/gpu/drm/arm/display/komeda/d71/d71_component.c denominator = (mode->htotal - 1) * v_out - 2 * v_in; htotal 476 drivers/gpu/drm/arm/malidp_hw.c unsigned long htotal = vm->hactive + vm->hfront_porch + htotal 489 drivers/gpu/drm/arm/malidp_hw.c a = 15 * input_size / (htotal * se_config->output_h); htotal 817 drivers/gpu/drm/arm/malidp_hw.c unsigned long htotal = vm->hactive + vm->hfront_porch + htotal 828 drivers/gpu/drm/arm/malidp_hw.c denominator = (htotal - 2) * se_config->output_h; htotal 113 drivers/gpu/drm/aspeed/aspeed_gfx_crtc.c writel(CRT_H_TOTAL(m->htotal - 1) | CRT_H_DE(m->hdisplay - 1), htotal 502 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c int hback_porch = mode->htotal - mode->hsync_end; htotal 36 drivers/gpu/drm/bridge/adv7511/adv7533.c hbp = mode->htotal - mode->hsync_end; htotal 46 drivers/gpu/drm/bridge/adv7511/adv7533.c regmap_write(adv->regmap_cec, 0x28, mode->htotal >> 4); htotal 47 drivers/gpu/drm/bridge/adv7511/adv7533.c regmap_write(adv->regmap_cec, 0x29, (mode->htotal << 4) & 0xff); htotal 445 drivers/gpu/drm/bridge/cdns-dsi.c unsigned int htotal; htotal 526 drivers/gpu/drm/bridge/cdns-dsi.c tmp = mode->htotal - htotal 589 drivers/gpu/drm/bridge/cdns-dsi.c dpi_htotal = mode_valid_check ? mode->htotal : mode->crtc_htotal; htotal 598 drivers/gpu/drm/bridge/cdns-dsi.c dsi_cfg->htotal = dsi_htotal + dsi_hfp_ext; htotal 813 drivers/gpu/drm/bridge/cdns-dsi.c tmp = dsi_cfg.htotal - htotal 821 drivers/gpu/drm/bridge/cdns-dsi.c tmp = dsi_cfg.htotal - htotal 828 drivers/gpu/drm/bridge/cdns-dsi.c tmp = DIV_ROUND_UP(dsi_cfg.htotal, nlanes) - htotal 1785 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c hblank = mode->htotal - mode->hdisplay; htotal 683 drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c u32 htotal, hsa, hbp, lbcc; htotal 685 drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c htotal = mode->htotal; htotal 687 drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c hbp = mode->htotal - mode->hsync_end; htotal 693 drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c lbcc = dw_mipi_dsi_get_hcomponent_lbcc(dsi, mode, htotal); htotal 724 drivers/gpu/drm/bridge/tc358767.c int left_margin = mode->htotal - mode->hsync_end; htotal 751 drivers/gpu/drm/bridge/tc358767.c dev_dbg(tc->dev, "total: %dx%d\n", mode->htotal, mode->vtotal); htotal 811 drivers/gpu/drm/bridge/tc358767.c FIELD_PREP(H_TOTAL, mode->htotal) | htotal 483 drivers/gpu/drm/bridge/ti-sn65dsi86.c (mode->htotal - mode->hsync_end) & 0xFF); htotal 178 drivers/gpu/drm/cirrus/cirrus.c int hsyncstart, hsyncend, htotal, hdispend; htotal 183 drivers/gpu/drm/cirrus/cirrus.c htotal = mode->htotal / 8; htotal 194 drivers/gpu/drm/cirrus/cirrus.c htotal -= 5; htotal 200 drivers/gpu/drm/cirrus/cirrus.c wreg_crt(cirrus, VGA_CRTC_H_TOTAL, htotal); htotal 232 drivers/gpu/drm/cirrus/cirrus.c if ((htotal + 5) & 0x40) htotal 234 drivers/gpu/drm/cirrus/cirrus.c if ((htotal + 5) & 0x80) htotal 1918 drivers/gpu/drm/drm_edid.c return (mode->htotal - mode->hdisplay == 160) && htotal 2339 drivers/gpu/drm/drm_edid.c mode->htotal = mode->hdisplay + hblank; htotal 2347 drivers/gpu/drm/drm_edid.c if (mode->hsync_end > mode->htotal) htotal 2348 drivers/gpu/drm/drm_edid.c mode->htotal = mode->hsync_end + 1; htotal 4766 drivers/gpu/drm/drm_edid.c mode->htotal = mode->hdisplay + hblank; htotal 454 drivers/gpu/drm/drm_mipi_dbi.c swap(mode->htotal, mode->vtotal); htotal 277 drivers/gpu/drm/drm_modes.c drm_mode->htotal = drm_mode->hdisplay + hblank; htotal 280 drivers/gpu/drm/drm_modes.c (drm_mode->htotal * CVT_HSYNC_PERCENTAGE) / 100; htotal 311 drivers/gpu/drm/drm_modes.c drm_mode->htotal = drm_mode->hdisplay + CVT_RB_H_BLANK; htotal 320 drivers/gpu/drm/drm_modes.c tmp = drm_mode->htotal; /* perform intermediate calcs in u64 */ htotal 512 drivers/gpu/drm/drm_modes.c drm_mode->htotal = total_pixels; htotal 593 drivers/gpu/drm/drm_modes.c dmode->htotal = dmode->hsync_end + vm->hback_porch; htotal 634 drivers/gpu/drm/drm_modes.c vm->hback_porch = dmode->htotal - dmode->hsync_end; htotal 764 drivers/gpu/drm/drm_modes.c if (mode->htotal <= 0) htotal 767 drivers/gpu/drm/drm_modes.c calc_val = (mode->clock * 1000) / mode->htotal; /* hsync in Hz */ htotal 789 drivers/gpu/drm/drm_modes.c else if (mode->htotal > 0 && mode->vtotal > 0) { htotal 793 drivers/gpu/drm/drm_modes.c den = mode->htotal * mode->vtotal; htotal 852 drivers/gpu/drm/drm_modes.c p->crtc_htotal = p->htotal; htotal 956 drivers/gpu/drm/drm_modes.c mode1->htotal == mode2->htotal && htotal 1124 drivers/gpu/drm/drm_modes.c mode->htotal < mode->hsync_end) htotal 1932 drivers/gpu/drm/drm_modes.c in->hsync_end > USHRT_MAX || in->htotal > USHRT_MAX || htotal 1942 drivers/gpu/drm/drm_modes.c out->htotal = in->htotal; htotal 2002 drivers/gpu/drm/drm_modes.c out->htotal = in->htotal; htotal 143 drivers/gpu/drm/exynos/exynos7_drm_decon.c unsigned long ideal_clk = mode->htotal * mode->vtotal * mode->vrefresh; htotal 162 drivers/gpu/drm/exynos/exynos7_drm_decon.c if (mode->htotal == 0 || mode->vtotal == 0) htotal 894 drivers/gpu/drm/exynos/exynos_drm_dsi.c | DSIM_MAIN_HBP(m->htotal - m->hsync_end); htotal 466 drivers/gpu/drm/exynos/exynos_drm_fimd.c if (mode->htotal == 0 || mode->vtotal == 0) htotal 1201 drivers/gpu/drm/exynos/exynos_hdmi.c hdmi_reg_writev(hdata, HDMI_H_BLANK_0, 2, m->htotal - m->hdisplay); htotal 1203 drivers/gpu/drm/exynos/exynos_hdmi.c (m->htotal << 12) | m->vtotal); htotal 1241 drivers/gpu/drm/exynos/exynos_hdmi.c val = ((m->htotal / 2) + (m->hsync_start - m->hdisplay)); htotal 1242 drivers/gpu/drm/exynos/exynos_hdmi.c val |= ((m->htotal / 2) + htotal 1269 drivers/gpu/drm/exynos/exynos_hdmi.c hdmi_reg_writev(hdata, HDMI_TG_H_FSZ_L, 2, m->htotal); htotal 1270 drivers/gpu/drm/exynos/exynos_hdmi.c hdmi_reg_writev(hdata, HDMI_TG_HACT_ST_L, 2, m->htotal - m->hdisplay); htotal 1291 drivers/gpu/drm/exynos/exynos_hdmi.c hdmi_reg_writev(hdata, HDMI_H_BLANK_0, 2, m->htotal - m->hdisplay); htotal 1293 drivers/gpu/drm/exynos/exynos_hdmi.c hdmi_reg_writev(hdata, HDMI_H_LINE_0, 2, m->htotal); htotal 1324 drivers/gpu/drm/exynos/exynos_hdmi.c (m->htotal / 2) + (m->hsync_start - m->hdisplay)); htotal 1326 drivers/gpu/drm/exynos/exynos_hdmi.c (m->htotal / 2) + (m->hsync_start - m->hdisplay)); htotal 1382 drivers/gpu/drm/exynos/exynos_hdmi.c hdmi_reg_writev(hdata, HDMI_TG_H_FSZ_L, 2, m->htotal); htotal 1384 drivers/gpu/drm/exynos/exynos_hdmi.c m->htotal - m->hdisplay - hquirk); htotal 1076 drivers/gpu/drm/exynos/exynos_mixer.c int hdisplay, vdisplay, htotal, vtotal, scan_val; htotal 1100 drivers/gpu/drm/exynos/exynos_mixer.c adjusted_mode->hsync_end = modes[i].htotal; htotal 1101 drivers/gpu/drm/exynos/exynos_mixer.c adjusted_mode->htotal = modes[i].htotal; htotal 524 drivers/gpu/drm/gma500/cdv_device.c .htotal = HTOTAL_A, htotal 549 drivers/gpu/drm/gma500/cdv_device.c .htotal = HTOTAL_B, htotal 787 drivers/gpu/drm/gma500/cdv_intel_display.c REG_WRITE(map->htotal, (adjusted_mode->crtc_hdisplay - 1) | htotal 933 drivers/gpu/drm/gma500/cdv_intel_display.c htot = REG_READ(map->htotal); htotal 939 drivers/gpu/drm/gma500/cdv_intel_display.c htot = p->htotal; htotal 951 drivers/gpu/drm/gma500/cdv_intel_display.c mode->htotal = ((htot & 0xffff0000) >> 16) + 1; htotal 882 drivers/gpu/drm/gma500/cdv_intel_dp.c adjusted_mode->htotal = fixed_mode->htotal; htotal 289 drivers/gpu/drm/gma500/cdv_intel_lvds.c adjusted_mode->htotal = panel_fixed_mode->htotal; htotal 545 drivers/gpu/drm/gma500/gma_display.c crtc_state->saveHTOTAL = REG_READ(map->htotal); htotal 599 drivers/gpu/drm/gma500/gma_display.c REG_WRITE(map->htotal, crtc_state->saveHTOTAL); htotal 155 drivers/gpu/drm/gma500/intel_bios.c panel_fixed_mode->htotal = panel_fixed_mode->hdisplay + htotal 180 drivers/gpu/drm/gma500/intel_bios.c if (panel_fixed_mode->hsync_end > panel_fixed_mode->htotal) htotal 181 drivers/gpu/drm/gma500/intel_bios.c panel_fixed_mode->htotal = panel_fixed_mode->hsync_end + 1; htotal 258 drivers/gpu/drm/gma500/intel_bios.c if (panel_fixed_mode->htotal > 0 && panel_fixed_mode->vtotal > 0) { htotal 190 drivers/gpu/drm/gma500/mdfld_device.c pipe->htotal = PSB_RVDC32(map->htotal); htotal 316 drivers/gpu/drm/gma500/mdfld_device.c PSB_WVDC32(pipe->htotal, map->htotal); htotal 445 drivers/gpu/drm/gma500/mdfld_device.c .htotal = HTOTAL_A, htotal 467 drivers/gpu/drm/gma500/mdfld_device.c .htotal = HTOTAL_B, htotal 490 drivers/gpu/drm/gma500/mdfld_device.c .htotal = HTOTAL_C, htotal 440 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c pclk_hbp = mode->htotal - mode->hsync_end; htotal 507 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c (mode->vtotal * mode->htotal * dsi_config->bpp / htotal 701 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c adjusted_mode->htotal = fixed_mode->htotal; htotal 799 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c REG_WRITE(HTOTAL_A, ((mode->htotal - 1) << 16) | (mode->hdisplay - 1)); htotal 800 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c REG_WRITE(HBLANK_A, ((mode->htotal - 1) << 16) | (mode->hdisplay - 1)); htotal 707 drivers/gpu/drm/gma500/mdfld_intel_display.c adjusted_mode->htotal); htotal 806 drivers/gpu/drm/gma500/mdfld_intel_display.c REG_WRITE(map->htotal, (mode->crtc_hdisplay - 1) | htotal 823 drivers/gpu/drm/gma500/mdfld_intel_display.c REG_WRITE(map->htotal, (adjusted_mode->crtc_hdisplay - 1) | htotal 55 drivers/gpu/drm/gma500/mdfld_tmd_vid.c mode->htotal = mode->hdisplay + ((ti->hblank_hi << 8) | \ htotal 71 drivers/gpu/drm/gma500/mdfld_tmd_vid.c dev_dbg(dev->dev, "htotal is %d\n", mode->htotal); htotal 81 drivers/gpu/drm/gma500/mdfld_tmd_vid.c mode->htotal = 499; htotal 42 drivers/gpu/drm/gma500/mdfld_tpo_vid.c mode->htotal = 887; htotal 442 drivers/gpu/drm/gma500/oaktrail_crtc.c REG_WRITE_WITH_AUX(map->htotal, (mode->crtc_hdisplay - 1) | htotal 461 drivers/gpu/drm/gma500/oaktrail_crtc.c REG_WRITE_WITH_AUX(map->htotal, (adjusted_mode->crtc_hdisplay - 1) | htotal 203 drivers/gpu/drm/gma500/oaktrail_device.c p->htotal = PSB_RVDC32(HTOTAL_A); htotal 323 drivers/gpu/drm/gma500/oaktrail_device.c PSB_WVDC32(p->htotal, HTOTAL_A); htotal 461 drivers/gpu/drm/gma500/oaktrail_device.c .htotal = HTOTAL_A, htotal 485 drivers/gpu/drm/gma500/oaktrail_device.c .htotal = HTOTAL_B, htotal 162 drivers/gpu/drm/gma500/oaktrail_hdmi.c u32 htotal, new_crtc_htotal; htotal 164 drivers/gpu/drm/gma500/oaktrail_hdmi.c htotal = (mode->crtc_hdisplay - 1) | ((mode->crtc_htotal - 1) << 16); htotal 771 drivers/gpu/drm/gma500/oaktrail_hdmi.c pipeb->htotal = PSB_RVDC32(HTOTAL_B); htotal 824 drivers/gpu/drm/gma500/oaktrail_hdmi.c PSB_WVDC32(pipeb->htotal, HTOTAL_B); htotal 234 drivers/gpu/drm/gma500/oaktrail_lvds.c mode->htotal = mode->hdisplay + ((ti->hblank_hi << 8) | \ htotal 250 drivers/gpu/drm/gma500/oaktrail_lvds.c pr_info("htotal is %d\n", mode->htotal); htotal 258 drivers/gpu/drm/gma500/psb_device.c .htotal = HTOTAL_A, htotal 282 drivers/gpu/drm/gma500/psb_device.c .htotal = HTOTAL_B, htotal 272 drivers/gpu/drm/gma500/psb_drv.h u32 htotal; htotal 306 drivers/gpu/drm/gma500/psb_drv.h u32 htotal; htotal 261 drivers/gpu/drm/gma500/psb_intel_display.c REG_WRITE(map->htotal, (adjusted_mode->crtc_hdisplay - 1) | htotal 388 drivers/gpu/drm/gma500/psb_intel_display.c htot = REG_READ(map->htotal); htotal 394 drivers/gpu/drm/gma500/psb_intel_display.c htot = p->htotal; htotal 406 drivers/gpu/drm/gma500/psb_intel_display.c mode->htotal = ((htot & 0xffff0000) >> 16) + 1; htotal 405 drivers/gpu/drm/gma500/psb_intel_lvds.c adjusted_mode->htotal = panel_fixed_mode->htotal; htotal 786 drivers/gpu/drm/gma500/psb_intel_sdvo.c mode->htotal = mode->hdisplay + dtd->part1.h_blank; htotal 787 drivers/gpu/drm/gma500/psb_intel_sdvo.c mode->htotal += (dtd->part1.h_high & 0xf) << 8; htotal 595 drivers/gpu/drm/gma500/tc35876x-dsi-lvds.c mode->htotal = 1440; htotal 605 drivers/gpu/drm/gma500/tc35876x-dsi-lvds.c dev_info(&dev->pdev->dev, "htotal = %d\n", mode->htotal); htotal 371 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_de.c writel(HIBMC_FIELD(HIBMC_CRT_HORZ_TOTAL_TOTAL, mode->htotal - 1) | htotal 475 drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c htot = mode->htotal; htotal 478 drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c hbp = mode->htotal - mode->hsync_end; htotal 183 drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c hbp = mode->htotal - mode->hsync_end; htotal 141 drivers/gpu/drm/i2c/ch7006_drv.c start_active = (drm_mode->htotal & ~0x7) - (drm_mode->hsync_start & ~0x7); htotal 115 drivers/gpu/drm/i2c/ch7006_mode.c .htotal = ht, \ htotal 188 drivers/gpu/drm/i2c/ch7006_mode.c mode->mode.htotal != drm_mode->htotal || htotal 1380 drivers/gpu/drm/i2c/tda998x_drv.c if (mode->htotal >= BIT(13)) htotal 1461 drivers/gpu/drm/i2c/tda998x_drv.c n_pix = mode->htotal; htotal 1466 drivers/gpu/drm/i2c/tda998x_drv.c de_pix_e = mode->htotal; htotal 1467 drivers/gpu/drm/i2c/tda998x_drv.c de_pix_s = mode->htotal - mode->hdisplay; htotal 1499 drivers/gpu/drm/i2c/tda998x_drv.c vs2_pix_s = vs2_pix_e = hs_pix_s + mode->htotal/2; htotal 532 drivers/gpu/drm/i915/display/dvo_ns2501.c mode->hdisplay, mode->htotal, mode->vdisplay, mode->vtotal); htotal 559 drivers/gpu/drm/i915/display/dvo_ns2501.c mode->hdisplay, mode->htotal, mode->vdisplay, mode->vtotal); htotal 775 drivers/gpu/drm/i915/display/icl_dsi.c u16 htotal, hactive, hsync_start, hsync_end, hsync_size; htotal 781 drivers/gpu/drm/i915/display/icl_dsi.c htotal = adjusted_mode->crtc_htotal; htotal 791 drivers/gpu/drm/i915/display/icl_dsi.c vsync_shift = hsync_start - htotal / 2; htotal 797 drivers/gpu/drm/i915/display/icl_dsi.c htotal /= 2; htotal 812 drivers/gpu/drm/i915/display/icl_dsi.c (hactive - 1) | ((htotal - 1) << 16)); htotal 122 drivers/gpu/drm/i915/display/intel_bios.c panel_fixed_mode->htotal = panel_fixed_mode->hdisplay + htotal 153 drivers/gpu/drm/i915/display/intel_bios.c if (panel_fixed_mode->hsync_end > panel_fixed_mode->htotal) htotal 154 drivers/gpu/drm/i915/display/intel_bios.c panel_fixed_mode->htotal = panel_fixed_mode->hsync_end + 1; htotal 8260 drivers/gpu/drm/i915/display/intel_display.c mode->htotal = pipe_config->base.adjusted_mode.crtc_htotal; htotal 15816 drivers/gpu/drm/i915/display/intel_display.c mode->htotal > htotal_max) htotal 17203 drivers/gpu/drm/i915/display/intel_display.c u32 htotal; htotal 17283 drivers/gpu/drm/i915/display/intel_display.c error->transcoder[i].htotal = I915_READ(HTOTAL(cpu_transcoder)); htotal 17346 drivers/gpu/drm/i915/display/intel_display.c err_printf(m, " HTOTAL: %08x\n", error->transcoder[i].htotal); htotal 2249 drivers/gpu/drm/i915/display/intel_hdmi.c adjusted_mode->htotal > 5460) htotal 840 drivers/gpu/drm/i915/display/intel_sdvo.c h_blank_len = mode->htotal - mode->hdisplay; htotal 892 drivers/gpu/drm/i915/display/intel_sdvo.c mode.htotal = mode.hdisplay + dtd->part1.h_blank; htotal 893 drivers/gpu/drm/i915/display/intel_sdvo.c mode.htotal += (dtd->part1.h_high & 0xf) << 8; htotal 315 drivers/gpu/drm/i915/display/intel_tv.c u16 hblank_start, hblank_end, htotal; htotal 389 drivers/gpu/drm/i915/display/intel_tv.c .hblank_start = 836, .htotal = 857, htotal 431 drivers/gpu/drm/i915/display/intel_tv.c .hblank_start = 836, .htotal = 857, htotal 474 drivers/gpu/drm/i915/display/intel_tv.c .hblank_start = 836, .htotal = 857, htotal 517 drivers/gpu/drm/i915/display/intel_tv.c .hblank_start = 836, .htotal = 857, htotal 560 drivers/gpu/drm/i915/display/intel_tv.c .hblank_start = 844, .htotal = 863, htotal 605 drivers/gpu/drm/i915/display/intel_tv.c .hblank_start = 844, .htotal = 863, htotal 647 drivers/gpu/drm/i915/display/intel_tv.c .hblank_start = 842, .htotal = 857, htotal 671 drivers/gpu/drm/i915/display/intel_tv.c .hblank_start = 859, .htotal = 863, htotal 695 drivers/gpu/drm/i915/display/intel_tv.c .hblank_start = 1580, .htotal = 1649, htotal 719 drivers/gpu/drm/i915/display/intel_tv.c .hblank_start = 1580, .htotal = 1979, htotal 743 drivers/gpu/drm/i915/display/intel_tv.c .hblank_start = 2155, .htotal = 2639, htotal 769 drivers/gpu/drm/i915/display/intel_tv.c .hblank_start = 2155, .htotal = 2199, htotal 796 drivers/gpu/drm/i915/display/intel_tv.c .hblank_start = 2155, .htotal = 2199, htotal 822 drivers/gpu/drm/i915/display/intel_tv.c .hblank_start = 2155, .htotal = 2639, htotal 848 drivers/gpu/drm/i915/display/intel_tv.c .hblank_start = 2155, .htotal = 2199, htotal 1001 drivers/gpu/drm/i915/display/intel_tv.c tv_mode->htotal - tv_mode->hblank_start; htotal 1004 drivers/gpu/drm/i915/display/intel_tv.c mode->htotal = tv_mode->htotal + 1; htotal 1055 drivers/gpu/drm/i915/display/intel_tv.c int new_htotal = mode->htotal * hdisplay / htotal 1058 drivers/gpu/drm/i915/display/intel_tv.c mode->clock = mode->clock * new_htotal / mode->htotal; htotal 1061 drivers/gpu/drm/i915/display/intel_tv.c mode->hsync_start = hdisplay + hsync_start * new_htotal / mode->htotal; htotal 1062 drivers/gpu/drm/i915/display/intel_tv.c mode->hsync_end = hdisplay + hsync_end * new_htotal / mode->htotal; htotal 1063 drivers/gpu/drm/i915/display/intel_tv.c mode->htotal = new_htotal; htotal 1105 drivers/gpu/drm/i915/display/intel_tv.c tv_mode.htotal = (hctl1 & TV_HTOTAL_MASK) >> TV_HTOTAL_SHIFT; htotal 1346 drivers/gpu/drm/i915/display/intel_tv.c (tv_mode->htotal << TV_HTOTAL_SHIFT); htotal 767 drivers/gpu/drm/i915/i915_irq.c u32 high1, high2, low, pixel, vbl_start, hsync_start, htotal; htotal 784 drivers/gpu/drm/i915/i915_irq.c htotal = mode->crtc_htotal; htotal 791 drivers/gpu/drm/i915/i915_irq.c vbl_start *= htotal; htotal 794 drivers/gpu/drm/i915/i915_irq.c vbl_start -= htotal - hsync_start; htotal 850 drivers/gpu/drm/i915/i915_irq.c u32 htotal = mode->crtc_htotal; htotal 878 drivers/gpu/drm/i915/i915_irq.c clock), 1000 * htotal); htotal 954 drivers/gpu/drm/i915/i915_irq.c int vbl_start, vbl_end, hsync_start, htotal, vtotal; htotal 966 drivers/gpu/drm/i915/i915_irq.c htotal = mode->crtc_htotal; htotal 1004 drivers/gpu/drm/i915/i915_irq.c vbl_start *= htotal; htotal 1005 drivers/gpu/drm/i915/i915_irq.c vbl_end *= htotal; htotal 1006 drivers/gpu/drm/i915/i915_irq.c vtotal *= htotal; htotal 1029 drivers/gpu/drm/i915/i915_irq.c position = (position + htotal - hsync_start) % vtotal; htotal 1055 drivers/gpu/drm/i915/i915_irq.c *vpos = position / htotal; htotal 1056 drivers/gpu/drm/i915/i915_irq.c *hpos = position - (*vpos * htotal); htotal 728 drivers/gpu/drm/i915/intel_pm.c unsigned int htotal, htotal 739 drivers/gpu/drm/i915/intel_pm.c if (WARN_ON_ONCE(htotal == 0)) htotal 740 drivers/gpu/drm/i915/intel_pm.c htotal = 1; htotal 742 drivers/gpu/drm/i915/intel_pm.c ret = (latency * pixel_rate) / (htotal * 10000); htotal 1120 drivers/gpu/drm/i915/intel_pm.c unsigned int clock, htotal, cpp, width, wm; htotal 1146 drivers/gpu/drm/i915/intel_pm.c htotal = adjusted_mode->crtc_htotal; htotal 1154 drivers/gpu/drm/i915/intel_pm.c wm = intel_wm_method2(clock, htotal, width, cpp, latency); htotal 1162 drivers/gpu/drm/i915/intel_pm.c large = intel_wm_method2(clock, htotal, width, cpp, latency); htotal 1591 drivers/gpu/drm/i915/intel_pm.c unsigned int htotal, htotal 1598 drivers/gpu/drm/i915/intel_pm.c ret = intel_wm_method2(pixel_rate, htotal, htotal 1628 drivers/gpu/drm/i915/intel_pm.c unsigned int clock, htotal, cpp, width, wm; htotal 1638 drivers/gpu/drm/i915/intel_pm.c htotal = adjusted_mode->crtc_htotal; htotal 1650 drivers/gpu/drm/i915/intel_pm.c wm = vlv_wm_method2(clock, htotal, width, cpp, htotal 2226 drivers/gpu/drm/i915/intel_pm.c int htotal = adjusted_mode->crtc_htotal; htotal 2231 drivers/gpu/drm/i915/intel_pm.c entries = intel_wm_method2(clock, htotal, htotal 2241 drivers/gpu/drm/i915/intel_pm.c entries = intel_wm_method2(clock, htotal, htotal 2382 drivers/gpu/drm/i915/intel_pm.c int htotal = adjusted_mode->crtc_htotal; htotal 2392 drivers/gpu/drm/i915/intel_pm.c entries = intel_wm_method2(clock, htotal, hdisplay, cpp, htotal 2464 drivers/gpu/drm/i915/intel_pm.c unsigned int htotal, htotal 2471 drivers/gpu/drm/i915/intel_pm.c ret = intel_wm_method2(pixel_rate, htotal, htotal 266 drivers/gpu/drm/ingenic/ingenic-drm.c hds = mode->htotal - mode->hsync_start; htotal 293 drivers/gpu/drm/ingenic/ingenic-drm.c regmap_write(priv->map, JZ_REG_LCD_REV, mode->htotal << 16); htotal 448 drivers/gpu/drm/mcde/mcde_dsi.c hbp = (mode->htotal - mode->hsync_end) * bpp - 4 - 6; htotal 462 drivers/gpu/drm/mcde/mcde_dsi.c hbp = (mode->htotal - mode->hsync_start) * bpp - 4 - 4 - 6; htotal 488 drivers/gpu/drm/mcde/mcde_dsi.c bpl = mode->clock * mode->htotal; htotal 528 drivers/gpu/drm/mediatek/mtk_dsi.c u32 htotal, htotal_bits, bit_per_pixel, overhead_cycles, overhead_bits; htotal 554 drivers/gpu/drm/mediatek/mtk_dsi.c htotal = dsi->vm.hactive + dsi->vm.hback_porch + dsi->vm.hfront_porch + htotal 556 drivers/gpu/drm/mediatek/mtk_dsi.c htotal_bits = htotal * bit_per_pixel; htotal 564 drivers/gpu/drm/mediatek/mtk_dsi.c htotal * dsi->lanes); htotal 1382 drivers/gpu/drm/mediatek/mtk_hdmi.c adjusted_mode->htotal); htotal 901 drivers/gpu/drm/meson/meson_venc.c dmt_mode->encp.max_pxcnt = mode->htotal - 1; htotal 902 drivers/gpu/drm/meson/meson_venc.c dmt_mode->encp.havon_begin = mode->htotal - mode->hsync_start; htotal 1016 drivers/gpu/drm/meson/meson_venc.c total_pixels_venc = mode->htotal; htotal 906 drivers/gpu/drm/mgag200/mgag200_mode.c int hdisplay, hsyncstart, hsyncend, htotal; htotal 1034 drivers/gpu/drm/mgag200/mgag200_mode.c htotal = mode->htotal / 8 - 1; htotal 1037 drivers/gpu/drm/mgag200/mgag200_mode.c if ((htotal & 0x07) == 0x06 || (htotal & 0x07) == 0x04) htotal 1038 drivers/gpu/drm/mgag200/mgag200_mode.c htotal++; htotal 1055 drivers/gpu/drm/mgag200/mgag200_mode.c WREG_CRT(0, htotal - 4); htotal 1058 drivers/gpu/drm/mgag200/mgag200_mode.c WREG_CRT(3, (htotal & 0x1F) | 0x80); htotal 1060 drivers/gpu/drm/mgag200/mgag200_mode.c WREG_CRT(5, ((htotal & 0x20) << 2) | (hsyncend & 0x1F)); htotal 1094 drivers/gpu/drm/mgag200/mgag200_mode.c ext_vga[1] = (((htotal - 4) & 0x100) >> 8) | htotal 1097 drivers/gpu/drm/mgag200/mgag200_mode.c (htotal & 0x40); htotal 1546 drivers/gpu/drm/mgag200/mgag200_mode.c if (!mode->htotal || !mode->vtotal || !mode->clock) htotal 1550 drivers/gpu/drm/mgag200/mgag200_mode.c total_area = mode->htotal * mode->vtotal; htotal 1615 drivers/gpu/drm/mgag200/mgag200_mode.c (mode->hsync_end % 8) != 0 || (mode->htotal % 8) != 0) { htotal 1670 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c line_time = (pclk_period * mode->htotal) / 1000; htotal 45 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_vid.c if ((mode->htotal < mode->hsync_end) htotal 54 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_vid.c mode->htotal, mode->hdisplay); htotal 74 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_vid.c timing->h_back_porch = mode->htotal - mode->hsync_end; htotal 258 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_vid.c mode.htotal >>= 1; htotal 265 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_vid.c mode.hdisplay, mode.htotal, htotal 61 drivers/gpu/drm/msm/disp/mdp4/mdp4_dsi_encoder.c hsync_start_x = (mode->htotal - mode->hsync_start); htotal 62 drivers/gpu/drm/msm/disp/mdp4/mdp4_dsi_encoder.c hsync_end_x = mode->htotal - (mode->hsync_start - mode->hdisplay) - 1; htotal 64 drivers/gpu/drm/msm/disp/mdp4/mdp4_dsi_encoder.c vsync_period = mode->vtotal * mode->htotal; htotal 65 drivers/gpu/drm/msm/disp/mdp4/mdp4_dsi_encoder.c vsync_len = (mode->vsync_end - mode->vsync_start) * mode->htotal; htotal 66 drivers/gpu/drm/msm/disp/mdp4/mdp4_dsi_encoder.c display_v_start = (mode->vtotal - mode->vsync_start) * mode->htotal + dsi_hsync_skew; htotal 67 drivers/gpu/drm/msm/disp/mdp4/mdp4_dsi_encoder.c display_v_end = vsync_period - ((mode->vsync_start - mode->vdisplay) * mode->htotal) + dsi_hsync_skew - 1; htotal 71 drivers/gpu/drm/msm/disp/mdp4/mdp4_dsi_encoder.c MDP4_DSI_HSYNC_CTRL_PERIOD(mode->htotal)); htotal 111 drivers/gpu/drm/msm/disp/mdp4/mdp4_dtv_encoder.c hsync_start_x = (mode->htotal - mode->hsync_start); htotal 112 drivers/gpu/drm/msm/disp/mdp4/mdp4_dtv_encoder.c hsync_end_x = mode->htotal - (mode->hsync_start - mode->hdisplay) - 1; htotal 114 drivers/gpu/drm/msm/disp/mdp4/mdp4_dtv_encoder.c vsync_period = mode->vtotal * mode->htotal; htotal 115 drivers/gpu/drm/msm/disp/mdp4/mdp4_dtv_encoder.c vsync_len = (mode->vsync_end - mode->vsync_start) * mode->htotal; htotal 116 drivers/gpu/drm/msm/disp/mdp4/mdp4_dtv_encoder.c display_v_start = (mode->vtotal - mode->vsync_start) * mode->htotal + dtv_hsync_skew; htotal 117 drivers/gpu/drm/msm/disp/mdp4/mdp4_dtv_encoder.c display_v_end = vsync_period - ((mode->vsync_start - mode->vdisplay) * mode->htotal) + dtv_hsync_skew - 1; htotal 121 drivers/gpu/drm/msm/disp/mdp4/mdp4_dtv_encoder.c MDP4_DTV_HSYNC_CTRL_PERIOD(mode->htotal)); htotal 282 drivers/gpu/drm/msm/disp/mdp4/mdp4_lcdc_encoder.c hsync_start_x = (mode->htotal - mode->hsync_start); htotal 283 drivers/gpu/drm/msm/disp/mdp4/mdp4_lcdc_encoder.c hsync_end_x = mode->htotal - (mode->hsync_start - mode->hdisplay) - 1; htotal 285 drivers/gpu/drm/msm/disp/mdp4/mdp4_lcdc_encoder.c vsync_period = mode->vtotal * mode->htotal; htotal 286 drivers/gpu/drm/msm/disp/mdp4/mdp4_lcdc_encoder.c vsync_len = (mode->vsync_end - mode->vsync_start) * mode->htotal; htotal 287 drivers/gpu/drm/msm/disp/mdp4/mdp4_lcdc_encoder.c display_v_start = (mode->vtotal - mode->vsync_start) * mode->htotal + lcdc_hsync_skew; htotal 288 drivers/gpu/drm/msm/disp/mdp4/mdp4_lcdc_encoder.c display_v_end = vsync_period - ((mode->vsync_start - mode->vdisplay) * mode->htotal) + lcdc_hsync_skew - 1; htotal 292 drivers/gpu/drm/msm/disp/mdp4/mdp4_lcdc_encoder.c MDP4_LCDC_HSYNC_CTRL_PERIOD(mode->htotal)); htotal 147 drivers/gpu/drm/msm/disp/mdp5/mdp5_encoder.c hsync_start_x = (mode->htotal - mode->hsync_start); htotal 148 drivers/gpu/drm/msm/disp/mdp5/mdp5_encoder.c hsync_end_x = mode->htotal - (mode->hsync_start - mode->hdisplay) - 1; htotal 150 drivers/gpu/drm/msm/disp/mdp5/mdp5_encoder.c vsync_period = mode->vtotal * mode->htotal; htotal 151 drivers/gpu/drm/msm/disp/mdp5/mdp5_encoder.c vsync_len = (mode->vsync_end - mode->vsync_start) * mode->htotal; htotal 152 drivers/gpu/drm/msm/disp/mdp5/mdp5_encoder.c display_v_start = (mode->vtotal - mode->vsync_start) * mode->htotal + dtv_hsync_skew; htotal 153 drivers/gpu/drm/msm/disp/mdp5/mdp5_encoder.c display_v_end = vsync_period - ((mode->vsync_start - mode->vdisplay) * mode->htotal) + dtv_hsync_skew - 1; htotal 161 drivers/gpu/drm/msm/disp/mdp5/mdp5_encoder.c display_v_start += mode->htotal - mode->hsync_start; htotal 169 drivers/gpu/drm/msm/disp/mdp5/mdp5_encoder.c MDP5_INTF_HSYNC_CTL_PERIOD(mode->htotal)); htotal 922 drivers/gpu/drm/msm/dsi/dsi_host.c u32 h_total = mode->htotal; htotal 1285 drivers/gpu/drm/msm/edp/edp_ctrl.c EDP_TOTAL_HOR_VER_HORIZ(mode->htotal) | htotal 1289 drivers/gpu/drm/msm/edp/edp_ctrl.c hstart_from_sync = mode->htotal - mode->hsync_start; htotal 214 drivers/gpu/drm/msm/hdmi/hdmi_bridge.c hstart = mode->htotal - mode->hsync_start; htotal 215 drivers/gpu/drm/msm/hdmi/hdmi_bridge.c hend = mode->htotal - mode->hsync_start + mode->hdisplay; htotal 221 drivers/gpu/drm/msm/hdmi/hdmi_bridge.c mode->htotal, mode->vtotal, hstart, hend, vstart, vend); htotal 224 drivers/gpu/drm/msm/hdmi/hdmi_bridge.c HDMI_TOTAL_H_TOTAL(mode->htotal - 1) | htotal 301 drivers/gpu/drm/nouveau/dispnv04/dfp.c regp->fp_horiz_regs[FP_TOTAL] = output_mode->htotal - 1; htotal 148 drivers/gpu/drm/nouveau/dispnv04/tvnv04.c regp->tv_htotal = adjusted_mode->htotal; htotal 213 drivers/gpu/drm/nouveau/dispnv04/tvnv17.c mode->htotal / 1000 * htotal 272 drivers/gpu/drm/nouveau/dispnv04/tvnv17.c mode->htotal = output_mode->htotal; htotal 273 drivers/gpu/drm/nouveau/dispnv04/tvnv17.c mode->hsync_start = (mode->hdisplay + (mode->htotal htotal 534 drivers/gpu/drm/nouveau/dispnv04/tvnv17.c regs->fp_horiz_regs[FP_TOTAL] = output_mode->htotal - 1; htotal 609 drivers/gpu/drm/nouveau/dispnv50/disp.c max_ac_packet = mode->htotal - mode->hdisplay; htotal 26 drivers/gpu/drm/nouveau/include/nvif/cl0046.h __u16 htotal; htotal 25 drivers/gpu/drm/nouveau/include/nvif/cl5070.h __u16 htotal; htotal 472 drivers/gpu/drm/nouveau/nouveau_bios.c mode->htotal = ROM16(mode_entry[21]) + 1; htotal 2065 drivers/gpu/drm/nouveau/nouveau_bios.c unsigned htotal; htotal 2070 drivers/gpu/drm/nouveau/nouveau_bios.c htotal = NVReadVgaCrtc(dev, 0, 0x06); htotal 2071 drivers/gpu/drm/nouveau/nouveau_bios.c htotal |= (NVReadVgaCrtc(dev, 0, 0x07) & 0x01) << 8; htotal 2072 drivers/gpu/drm/nouveau/nouveau_bios.c htotal |= (NVReadVgaCrtc(dev, 0, 0x07) & 0x20) << 4; htotal 2073 drivers/gpu/drm/nouveau/nouveau_bios.c htotal |= (NVReadVgaCrtc(dev, 0, 0x25) & 0x01) << 10; htotal 2074 drivers/gpu/drm/nouveau/nouveau_bios.c htotal |= (NVReadVgaCrtc(dev, 0, 0x41) & 0x01) << 11; htotal 2075 drivers/gpu/drm/nouveau/nouveau_bios.c return (htotal != 0); htotal 60 drivers/gpu/drm/nouveau/nvkm/engine/disp/head.c args->v0.htotal = head->arm.htotal; htotal 68 drivers/gpu/drm/nouveau/nvkm/engine/disp/head.c if (!args->v0.vtotal || !args->v0.htotal) htotal 14 drivers/gpu/drm/nouveau/nvkm/engine/disp/head.h u16 htotal; htotal 58 drivers/gpu/drm/nouveau/nvkm/engine/disp/headgf119.c state->htotal = (data & 0x0000ffff); htotal 57 drivers/gpu/drm/nouveau/nvkm/engine/disp/headgv100.c state->htotal = (data & 0x0000ffff); htotal 58 drivers/gpu/drm/nouveau/nvkm/engine/disp/headnv04.c state->htotal = nvkm_rd32(device, 0x680824 + hoff) & 0x0000ffff; htotal 59 drivers/gpu/drm/nouveau/nvkm/engine/disp/headnv04.c state->hblanke = state->htotal - 1; htotal 72 drivers/gpu/drm/nouveau/nvkm/engine/disp/headnv50.c state->htotal = (data & 0x0000ffff); htotal 338 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c h = head->asy.hblanke + head->asy.htotal - head->asy.hblanks - 7; htotal 415 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv04.c u32 htotal = nvkm_rdvgac(device, 0, 0x06); htotal 416 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv04.c htotal |= (nvkm_rdvgac(device, 0, 0x07) & 0x01) << 8; htotal 417 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv04.c htotal |= (nvkm_rdvgac(device, 0, 0x07) & 0x20) << 4; htotal 418 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv04.c htotal |= (nvkm_rdvgac(device, 0, 0x25) & 0x01) << 10; htotal 419 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv04.c htotal |= (nvkm_rdvgac(device, 0, 0x41) & 0x01) << 11; htotal 420 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv04.c if (!htotal) { htotal 263 drivers/gpu/drm/omapdrm/dss/venc.c .htotal = 864, htotal 278 drivers/gpu/drm/omapdrm/dss/venc.c .htotal = 858, htotal 530 drivers/gpu/drm/omapdrm/omap_crtc.c bandwidth = div_u64(bandwidth, mode->htotal * mode->vtotal); htotal 141 drivers/gpu/drm/panel/panel-arm-versatile.c .htotal = 320 + 6 + 6 + 6, htotal 165 drivers/gpu/drm/panel/panel-arm-versatile.c .htotal = 640 + 24 + 96 + 24, htotal 188 drivers/gpu/drm/panel/panel-arm-versatile.c .htotal = 176 + 2 + 3 + 3, htotal 212 drivers/gpu/drm/panel/panel-arm-versatile.c .htotal = 240 + 10 + 10 + 20, htotal 154 drivers/gpu/drm/panel/panel-feiyang-fy07024di26a30d.c .htotal = 1024 + 310 + 20 + 90, htotal 547 drivers/gpu/drm/panel/panel-ilitek-ili9322.c .htotal = 320 + 359 + 1 + 241, htotal 561 drivers/gpu/drm/panel/panel-ilitek-ili9322.c .htotal = 360 + 35 + 1 + 241, htotal 576 drivers/gpu/drm/panel/panel-ilitek-ili9322.c .htotal = 320 + 38 + 1 + 50, htotal 591 drivers/gpu/drm/panel/panel-ilitek-ili9322.c .htotal = 640 + 252 + 1 + 28, htotal 605 drivers/gpu/drm/panel/panel-ilitek-ili9322.c .htotal = 720 + 252 + 1 + 24, htotal 620 drivers/gpu/drm/panel/panel-ilitek-ili9322.c .htotal = 640 + 3 + 1 + 272, htotal 635 drivers/gpu/drm/panel/panel-ilitek-ili9322.c .htotal = 720 + 3 + 1 + 272, htotal 382 drivers/gpu/drm/panel/panel-ilitek-ili9881c.c .htotal = 720 + 10 + 20 + 30, htotal 233 drivers/gpu/drm/panel/panel-innolux-p079zca.c .htotal = 768 + 40 + 40 + 40, htotal 267 drivers/gpu/drm/panel/panel-innolux-p079zca.c .htotal = 1536 + 100 + 24 + 100, htotal 294 drivers/gpu/drm/panel/panel-jdi-lt070me05000.c .htotal = 1200 + 48 + 32 + 60, htotal 328 drivers/gpu/drm/panel/panel-kingdisplay-kd097d04.c .htotal = 1536 + 100 + 24 + 100, htotal 132 drivers/gpu/drm/panel/panel-lg-lb035q02.c .htotal = 320 + 20 + 2 + 68, htotal 204 drivers/gpu/drm/panel/panel-lg-lg4573.c .htotal = 480 + 10 + 59 + 10, htotal 114 drivers/gpu/drm/panel/panel-nec-nl8048hl11.c .htotal = 800 + 6 + 1 + 4, htotal 326 drivers/gpu/drm/panel/panel-novatek-nt39016.c .htotal = 320 + 10 + 50 + 20, htotal 172 drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c mode->htotal = lcd_mode->hactive + lcd_mode->hfp + htotal 79 drivers/gpu/drm/panel/panel-orisetech-otm8009a.c .htotal = 480 + 98 + 32 + 98, htotal 106 drivers/gpu/drm/panel/panel-osd-osd101t2587-53ts.c .htotal = 1920 + 152 + 52 + 20, htotal 161 drivers/gpu/drm/panel/panel-panasonic-vvx10f034n00.c .htotal = 1920 + 152 + 52 + 20, htotal 209 drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c .htotal = 800 + 1 + 2 + 46, htotal 216 drivers/gpu/drm/panel/panel-raydium-rm67191.c .htotal = 1080 + 20 + 2 + 34, htotal 91 drivers/gpu/drm/panel/panel-raydium-rm68200.c .htotal = 720 + 38 + 8 + 38, htotal 221 drivers/gpu/drm/panel/panel-rocktech-jh057n00900.c .htotal = 720 + 90 + 20 + 20, htotal 112 drivers/gpu/drm/panel/panel-ronbo-rb070d30.c .htotal = 1024 + 160 + 80 + 80, htotal 35 drivers/gpu/drm/panel/panel-samsung-s6d16d0.c .htotal = 864 + 154 + 16 + 32, htotal 615 drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c .htotal = 1440 + 1 + 1 + 1, htotal 634 drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c .htotal = 1600 + 1 + 1 + 1, htotal 50 drivers/gpu/drm/panel/panel-samsung-s6e63j0x03.c .htotal = 320 + 1 + 1 + 1, htotal 115 drivers/gpu/drm/panel/panel-samsung-s6e63m0.c .htotal = 480 + 16 + 2 + 16, htotal 273 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c .htotal = 2560 + 128 + 64 + 64, htotal 91 drivers/gpu/drm/panel/panel-sharp-ls037v7dw01.c .htotal = 480 + 1 + 2 + 28, htotal 205 drivers/gpu/drm/panel/panel-sharp-ls043t1le01.c .htotal = 540 + 48 + 80 + 32, htotal 520 drivers/gpu/drm/panel/panel-simple.c .htotal = 480 + 2 + 41 + 2, htotal 545 drivers/gpu/drm/panel/panel-simple.c .htotal = 800 + 0 + 255 + 0, htotal 596 drivers/gpu/drm/panel/panel-simple.c .htotal = 1024 + 156 + 8 + 156, htotal 641 drivers/gpu/drm/panel/panel-simple.c .htotal = 1366 + 20 + 70, htotal 665 drivers/gpu/drm/panel/panel-simple.c .htotal = 1366 + 40 + 40 + 32, htotal 688 drivers/gpu/drm/panel/panel-simple.c .htotal = 1366 + 48 + 32 + 20, htotal 711 drivers/gpu/drm/panel/panel-simple.c .htotal = 1920 + 172 + 80 + 60, htotal 767 drivers/gpu/drm/panel/panel-simple.c .htotal = 1280 + 82 + 2 + 84, htotal 791 drivers/gpu/drm/panel/panel-simple.c .htotal = 800 + 40 + 216 + 128, htotal 900 drivers/gpu/drm/panel/panel-simple.c .htotal = 1920 + 88 + 44 + 148, htotal 927 drivers/gpu/drm/panel/panel-simple.c .htotal = 1024 + 160 + 4 + 156, htotal 955 drivers/gpu/drm/panel/panel-simple.c .htotal = 800 + 40 + 48 + 40, htotal 977 drivers/gpu/drm/panel/panel-simple.c .htotal = 1024 + 30 + 30 + 30, htotal 1000 drivers/gpu/drm/panel/panel-simple.c .htotal = 1280 + 48 + 32 + 80, htotal 1012 drivers/gpu/drm/panel/panel-simple.c .htotal = 1280 + 48 + 32 + 80, htotal 1041 drivers/gpu/drm/panel/panel-simple.c .htotal = 480 + 5 + 5 + 40, htotal 1066 drivers/gpu/drm/panel/panel-simple.c .htotal = 800 + 40 + 40 + 48, htotal 1090 drivers/gpu/drm/panel/panel-simple.c .htotal = 800 + 49 + 33 + 17, htotal 1114 drivers/gpu/drm/panel/panel-simple.c .htotal = 1366 + 58 + 58 + 58, htotal 1137 drivers/gpu/drm/panel/panel-simple.c .htotal = 1366 + 48 + 32 + 20, htotal 1160 drivers/gpu/drm/panel/panel-simple.c .htotal = 800 + 40 + 128 + 88, htotal 1245 drivers/gpu/drm/panel/panel-simple.c .htotal = 320 + 20 + 68, htotal 1271 drivers/gpu/drm/panel/panel-simple.c .htotal = 480 + 2 + 41 + 2, htotal 1295 drivers/gpu/drm/panel/panel-simple.c .htotal = 640 + 16 + 30 + 114, htotal 1321 drivers/gpu/drm/panel/panel-simple.c .htotal = 800 + 40 + 128 + 88, htotal 1386 drivers/gpu/drm/panel/panel-simple.c .htotal = 800 + 168 + 64 + 88, htotal 1410 drivers/gpu/drm/panel/panel-simple.c .htotal = 800 + 20 + 24 + 20, htotal 1433 drivers/gpu/drm/panel/panel-simple.c .htotal = 480 + 5 + 1 + 40, htotal 1535 drivers/gpu/drm/panel/panel-simple.c .htotal = 800 + 85 + 86 + 85, htotal 1562 drivers/gpu/drm/panel/panel-simple.c .htotal = 480 + 2 + 41 + 2, htotal 1588 drivers/gpu/drm/panel/panel-simple.c .htotal = 800 + 210 + 20 + 46, htotal 1696 drivers/gpu/drm/panel/panel-simple.c .htotal = 1024 + 0 + 1 + 320, htotal 1758 drivers/gpu/drm/panel/panel-simple.c .htotal = 1366 + 16 + 34 + 50, htotal 1781 drivers/gpu/drm/panel/panel-simple.c .htotal = 2160 + 48 + 32 + 80, htotal 1809 drivers/gpu/drm/panel/panel-simple.c .htotal = 1024 + 128 + 64 + 128, htotal 1903 drivers/gpu/drm/panel/panel-simple.c .htotal = 320 + 20 + 30 + 38, htotal 1927 drivers/gpu/drm/panel/panel-simple.c .htotal = 800 + 88 + 80 + 88, htotal 1951 drivers/gpu/drm/panel/panel-simple.c .htotal = 1536 + 12 + 16 + 48, htotal 1974 drivers/gpu/drm/panel/panel-simple.c .htotal = 2048 + 150 + 5 + 5, htotal 1996 drivers/gpu/drm/panel/panel-simple.c .htotal = 1920 + 40 + 40+ 80, htotal 2019 drivers/gpu/drm/panel/panel-simple.c .htotal = 2560 + 48 + 32 + 80, htotal 2042 drivers/gpu/drm/panel/panel-simple.c .htotal = 800 + 0 + 1 + 160, htotal 2056 drivers/gpu/drm/panel/panel-simple.c .htotal = 480 + 3 + 42 + 2, htotal 2135 drivers/gpu/drm/panel/panel-simple.c .htotal = 480 + 2 + 41 + 2, htotal 2161 drivers/gpu/drm/panel/panel-simple.c .htotal = 1024 + 160 + 70 + 90, htotal 2184 drivers/gpu/drm/panel/panel-simple.c .htotal = 480 + 2 + 41 + 2, htotal 2237 drivers/gpu/drm/panel/panel-simple.c .htotal = 800 + 0 + 130 + 98, htotal 2290 drivers/gpu/drm/panel/panel-simple.c .htotal = 480 + 5 + 30 + 10, htotal 2318 drivers/gpu/drm/panel/panel-simple.c .htotal = 992, htotal 2347 drivers/gpu/drm/panel/panel-simple.c .htotal = 480 + 8 + 10 + 10, htotal 2374 drivers/gpu/drm/panel/panel-simple.c .htotal = 480 + 10 + 10 + 15, htotal 2399 drivers/gpu/drm/panel/panel-simple.c .htotal = 800 + 210 + 30 + 16, htotal 2425 drivers/gpu/drm/panel/panel-simple.c .htotal = 800 + 1 + 64 + 64, htotal 2449 drivers/gpu/drm/panel/panel-simple.c .htotal = 480 + 8 + 4 + 39, htotal 2503 drivers/gpu/drm/panel/panel-simple.c .htotal = 2560 + 48 + 32 + 80, htotal 2525 drivers/gpu/drm/panel/panel-simple.c .htotal = 1024 + 24 + 136 + 160, htotal 2548 drivers/gpu/drm/panel/panel-simple.c .htotal = 1366 + 64 + 48 + 128, htotal 2571 drivers/gpu/drm/panel/panel-simple.c .htotal = 1920 + 48 + 32 + 80, htotal 2597 drivers/gpu/drm/panel/panel-simple.c .htotal = 800 + 64 + 128 + 64, htotal 2624 drivers/gpu/drm/panel/panel-simple.c .htotal = 240 + 16 + 7 + 5, htotal 2700 drivers/gpu/drm/panel/panel-simple.c .htotal = 1024 + 168 + 64 + 88, htotal 2751 drivers/gpu/drm/panel/panel-simple.c .htotal = 800 + 1 + 64 + 64, htotal 2774 drivers/gpu/drm/panel/panel-simple.c .htotal = 1920 + 16 + 16 + 32, htotal 2802 drivers/gpu/drm/panel/panel-simple.c .htotal = 800 + 39 + 47 + 39, htotal 2876 drivers/gpu/drm/panel/panel-simple.c .htotal = 320 + 50 + 6 + 38, htotal 2904 drivers/gpu/drm/panel/panel-simple.c .htotal = 320 + 6 + 6 + 6, htotal 2933 drivers/gpu/drm/panel/panel-simple.c .htotal = 1280 + 192 + 128 + 64, htotal 2957 drivers/gpu/drm/panel/panel-simple.c .htotal = 800 + 40 + 128 + 88, htotal 2980 drivers/gpu/drm/panel/panel-simple.c .htotal = 1024 + 176 + 5 + 88, htotal 3038 drivers/gpu/drm/panel/panel-simple.c .htotal = 800 + 210 + 20 + 46, htotal 3064 drivers/gpu/drm/panel/panel-simple.c .htotal = 320 + 20 + 30 + 38, htotal 3090 drivers/gpu/drm/panel/panel-simple.c .htotal = 1024 + 24 + 136 + 160, htotal 3489 drivers/gpu/drm/panel/panel-simple.c .htotal = 1200 + 62 + 4 + 62, htotal 3517 drivers/gpu/drm/panel/panel-simple.c .htotal = 1200 + 120 + 20 + 21, htotal 3547 drivers/gpu/drm/panel/panel-simple.c .htotal = 800 + 32 + 1 + 57, htotal 3575 drivers/gpu/drm/panel/panel-simple.c .htotal = 720 + 12 + 4 + 112, htotal 3603 drivers/gpu/drm/panel/panel-simple.c .htotal = 1920 + 154 + 16 + 32, htotal 3632 drivers/gpu/drm/panel/panel-simple.c .htotal = 1080 + 2 + 2 + 2, htotal 3660 drivers/gpu/drm/panel/panel-simple.c .htotal = 1920 + 112 + 16 + 32, htotal 305 drivers/gpu/drm/panel/panel-sitronix-st7701.c .htotal = 480 + 38 + 12 + 12, htotal 165 drivers/gpu/drm/panel/panel-sitronix-st7789v.c .htotal = 240 + 38 + 10 + 10, htotal 512 drivers/gpu/drm/panel/panel-sony-acx565akm.c .htotal = 800 + 28 + 4 + 24, htotal 278 drivers/gpu/drm/panel/panel-tpo-td028ttec1.c .htotal = 480 + 24 + 8 + 8, htotal 337 drivers/gpu/drm/panel/panel-tpo-td043mtea1.c .htotal = 800 + 68 + 1 + 214, htotal 114 drivers/gpu/drm/panel/panel-tpo-tpg110.c .htotal = 800 + 40 + 1 + 216, htotal 131 drivers/gpu/drm/panel/panel-tpo-tpg110.c .htotal = 640 + 24 + 1 + 136, htotal 148 drivers/gpu/drm/panel/panel-tpo-tpg110.c .htotal = 480 + 2 + 1 + 43, htotal 165 drivers/gpu/drm/panel/panel-tpo-tpg110.c .htotal = 480 + 2 + 1 + 43, htotal 182 drivers/gpu/drm/panel/panel-tpo-tpg110.c .htotal = 400 + 20 + 1 + 108, htotal 535 drivers/gpu/drm/panel/panel-truly-nt35597.c .htotal = 1440 + 200 + 32 + 64, htotal 65 drivers/gpu/drm/pl111/pl111_display.c bw = div_u64(bw, mode->htotal * mode->vtotal); htotal 150 drivers/gpu/drm/pl111/pl111_display.c hbp = mode->htotal - mode->hsync_end - 1; htotal 1659 drivers/gpu/drm/radeon/radeon_atombios.c lvds->native_mode.htotal = lvds->native_mode.hdisplay + htotal 1265 drivers/gpu/drm/radeon/radeon_combios.c lvds->native_mode.htotal = lvds->native_mode.hdisplay + htotal 329 drivers/gpu/drm/radeon/radeon_encoders.c unsigned hblank = native_mode->htotal - native_mode->hdisplay; htotal 344 drivers/gpu/drm/radeon/radeon_encoders.c adjusted_mode->htotal = native_mode->hdisplay + hblank; htotal 845 drivers/gpu/drm/radeon/radeon_legacy_crtc.c htotal_cntl = mode->htotal & 0x7; htotal 67 drivers/gpu/drm/radeon/rs780_dpm.c if (crtc->mode.htotal && crtc->mode.vtotal) htotal 300 drivers/gpu/drm/rcar-du/rcar_du_crtc.c rcar_du_crtc_write(rcrtc, HDSR, mode->htotal - mode->hsync_start - 19); htotal 301 drivers/gpu/drm/rcar-du/rcar_du_crtc.c rcar_du_crtc_write(rcrtc, HDER, mode->htotal - mode->hsync_start + htotal 305 drivers/gpu/drm/rcar-du/rcar_du_crtc.c rcar_du_crtc_write(rcrtc, HCR, mode->htotal - 1); htotal 317 drivers/gpu/drm/rcar-du/rcar_du_crtc.c rcar_du_crtc_write(rcrtc, DESR, mode->htotal - mode->hsync_start - 1); htotal 784 drivers/gpu/drm/rcar-du/rcar_du_crtc.c if (mode->htotal - mode->hsync_start < 20) htotal 718 drivers/gpu/drm/rockchip/cdn-dp-reg.c val |= mode->htotal - mode->hsync_end; htotal 728 drivers/gpu/drm/rockchip/cdn-dp-reg.c val = mode->htotal | ((mode->htotal - mode->hsync_start) << 16); htotal 396 drivers/gpu/drm/rockchip/inno_hdmi.c value = mode->htotal; htotal 400 drivers/gpu/drm/rockchip/inno_hdmi.c value = mode->htotal - mode->hdisplay; htotal 230 drivers/gpu/drm/rockchip/rk3066_hdmi.c value = mode->htotal; htotal 234 drivers/gpu/drm/rockchip/rk3066_hdmi.c value = mode->htotal - mode->hdisplay; htotal 238 drivers/gpu/drm/rockchip/rk3066_hdmi.c value = mode->htotal - mode->hsync_start; htotal 829 drivers/gpu/drm/rockchip/rockchip_drm_vop.c dsp_stx = dest->x1 + crtc->mode.htotal - crtc->mode.hsync_start; htotal 1091 drivers/gpu/drm/rockchip/rockchip_drm_vop.c u16 htotal = adjusted_mode->htotal; htotal 1092 drivers/gpu/drm/rockchip/rockchip_drm_vop.c u16 hact_st = adjusted_mode->htotal - adjusted_mode->hsync_start; htotal 1179 drivers/gpu/drm/rockchip/rockchip_drm_vop.c VOP_REG_SET(vop, modeset, htotal_pw, (htotal << 16) | hsync_len); htotal 231 drivers/gpu/drm/rockchip/rockchip_lvds.c if ((mode->htotal - mode->hsync_start) & 0x01) htotal 97 drivers/gpu/drm/shmobile/shmob_drm_crtc.c | (mode->htotal / 8); /* HTCN */ htotal 104 drivers/gpu/drm/shmobile/shmob_drm_crtc.c value = ((mode->hdisplay & 7) << 24) | ((mode->htotal & 7) << 16) htotal 610 drivers/gpu/drm/shmobile/shmob_drm_crtc.c mode->htotal = sdev->pdata->panel.mode.htotal; htotal 125 drivers/gpu/drm/sti/sti_dvo.c timing.total_pixels = mode->htotal; htotal 128 drivers/gpu/drm/sti/sti_dvo.c timing.trailing_pixels = mode->htotal - mode->hsync_start; htotal 740 drivers/gpu/drm/sti/sti_hqvdp.c lfw = mode->htotal * (clk_get_rate(hqvdp->clk) / 1000000); htotal 193 drivers/gpu/drm/sti/sti_vtg.c clocksperline = mode->htotal; htotal 246 drivers/gpu/drm/sti/sti_vtg.c writel(mode->htotal, vtg->regs + VTG_CLKLN); htotal 337 drivers/gpu/drm/sti/sti_vtg.c return mode.htotal - mode.hsync_start + x; htotal 155 drivers/gpu/drm/sun4i/sun4i_hdmi_enc.c x = mode->htotal - mode->hsync_start; htotal 79 drivers/gpu/drm/sun4i/sun4i_rgb.c if ((mode->hdisplay < 1) || (mode->htotal < 1)) htotal 82 drivers/gpu/drm/sun4i/sun4i_rgb.c if ((mode->hdisplay > 0x7ff) || (mode->htotal > 0xfff)) htotal 372 drivers/gpu/drm/sun4i/sun4i_tcon.c block_space = mode->htotal * bpp / (tcon_div * lanes); htotal 435 drivers/gpu/drm/sun4i/sun4i_tcon.c SUN4I_TCON0_BASIC1_H_TOTAL(mode->htotal) | htotal 629 drivers/gpu/drm/sun4i/sun4i_tcon.c mode->htotal, bp); htotal 333 drivers/gpu/drm/sun4i/sun4i_tv.c mode->htotal = mode->hsync_end + tv_mode->hback_porch; htotal 383 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c return mode->htotal * Bpp / device->lanes; htotal 406 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c unsigned int hbp = mode->htotal - mode->hsync_end; htotal 461 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c u32 hsync_porch = (mode->htotal - mode->hdisplay) * 150; htotal 569 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c (mode->htotal - mode->hsync_end) * Bpp - HBP_PACKET_OVERHEAD); htotal 587 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c (mode->htotal - (mode->hsync_end - mode->hsync_start)) * Bpp - htotal 145 drivers/gpu/drm/sun4i/sun8i_vi_layer.c fps = (mode->clock * 1000) / (mode->vtotal * mode->htotal); htotal 1604 drivers/gpu/drm/tegra/dc.c ((mode->htotal - mode->hsync_end) << 0); htotal 553 drivers/gpu/drm/tegra/dsi.c hbp = (mode->htotal - mode->hsync_end) * mul / div; htotal 608 drivers/gpu/drm/tegra/dsi.c bclk = DIV_ROUND_UP(mode->htotal * mul, div * lanes); htotal 1201 drivers/gpu/drm/tegra/hdmi.c h_back_porch = mode->htotal - mode->hsync_end; htotal 976 drivers/gpu/drm/tegra/sor.c num = ((mode->htotal - mode->hdisplay) - 7) * link_rate; htotal 1096 drivers/gpu/drm/tegra/sor.c value = ((mode->vtotal & 0x7fff) << 16) | (mode->htotal & 0x7fff); htotal 1108 drivers/gpu/drm/tegra/sor.c hbe = hse + (mode->htotal - mode->hsync_end); htotal 1645 drivers/gpu/drm/tegra/sor.c hbp = mode->htotal - mode->hsync_end; htotal 2595 drivers/gpu/drm/tegra/sor.c max_ac = ((mode->htotal - mode->hdisplay) - SOR_REKEY - 18) / 32; htotal 2605 drivers/gpu/drm/tegra/sor.c (mode->htotal - mode->hsync_end) - 10; htotal 270 drivers/gpu/drm/tilcdc/tilcdc_crtc.c return (uint) div_u64(1000llu * mode->htotal * mode->vtotal, htotal 316 drivers/gpu/drm/tilcdc/tilcdc_crtc.c hbp = mode->htotal - mode->hsync_end; htotal 755 drivers/gpu/drm/tilcdc/tilcdc_crtc.c hbp = mode->htotal - mode->hsync_end; htotal 312 drivers/gpu/drm/vc4/vc4_crtc.c VC4_SET_FIELD((mode->htotal - htotal 357 drivers/gpu/drm/vc4/vc4_crtc.c VC4_SET_FIELD(mode->htotal * pixel_rep / 2, htotal 810 drivers/gpu/drm/vc4/vc4_dsi.c adjusted_mode->htotal = adjusted_mode->clock * mode->htotal / htotal 812 drivers/gpu/drm/vc4/vc4_dsi.c adjusted_mode->hsync_end += adjusted_mode->htotal - mode->htotal; htotal 813 drivers/gpu/drm/vc4/vc4_dsi.c adjusted_mode->hsync_start += adjusted_mode->htotal - mode->htotal; htotal 552 drivers/gpu/drm/vc4/vc4_hdmi.c VC4_SET_FIELD((mode->htotal - htotal 2222 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c mode->htotal = mode->hsync_end + 50; htotal 2228 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c mode->clock = (u32)mode->htotal * (u32)mode->vtotal / 100 * 6; htotal 71 drivers/gpu/drm/zte/zx_tvenc.c .htotal = 720 + 12 + 2 + 130, htotal 102 drivers/gpu/drm/zte/zx_tvenc.c .htotal = 720 + 16 + 2 + 120, htotal 983 drivers/media/i2c/adv7604.c u32 width = htotal(bt); htotal 1382 drivers/media/i2c/adv7604.c pix_clk = hfreq * htotal(bt); htotal 1055 drivers/media/i2c/adv7842.c u32 width = htotal(bt); htotal 1436 drivers/media/i2c/adv7842.c pix_clk = hfreq * htotal(bt); htotal 252 drivers/media/i2c/ths8200.c ths8200_write(sd, THS8200_DTG1_SPEC_G_LSB, (htotal(bt)/2) & 0xff); htotal 254 drivers/media/i2c/ths8200.c ((htotal(bt)/2) >> 8) & 0x0f); htotal 257 drivers/media/i2c/ths8200.c ths8200_write(sd, THS8200_DTG1_TOT_PIXELS_MSB, htotal(bt) >> 8); htotal 258 drivers/media/i2c/ths8200.c ths8200_write(sd, THS8200_DTG1_TOT_PIXELS_LSB, htotal(bt) & 0xff); htotal 308 drivers/media/i2c/ths8200.c (htotal(bt) >> 8) & 0x1f); htotal 309 drivers/media/i2c/ths8200.c ths8200_write(sd, THS8200_DTG2_HLENGTH_HDLY_LSB, htotal(bt)); htotal 356 drivers/media/i2c/ths8200.c "vertical: sync %d\n", __func__, htotal(bt), vtotal(bt), htotal 875 drivers/media/pci/cx88/cx88-core.c u32 bdelay, agcdelay, htotal; htotal 976 drivers/media/pci/cx88/cx88-core.c htotal = (u32)tmp64; htotal 979 drivers/media/pci/cx88/cx88-core.c htotal, cx_read(MO_HTOTAL), (u32)tmp64); htotal 980 drivers/media/pci/cx88/cx88-core.c cx_andor(MO_HTOTAL, 0x07ff, htotal); htotal 194 drivers/media/platform/xilinx/xilinx-tpg.c unsigned int htotal; htotal 197 drivers/media/platform/xilinx/xilinx-tpg.c htotal = min_t(unsigned int, XVTC_MAX_HSIZE, htotal 202 drivers/media/platform/xilinx/xilinx-tpg.c config.hsync_end = htotal - 1; htotal 203 drivers/media/platform/xilinx/xilinx-tpg.c config.hsize = htotal; htotal 755 drivers/video/fbdev/amifb.c u_short htotal; /* vmode */ htotal 1021 drivers/video/fbdev/amifb.c #define htotal2hw(htotal) (div8(htotal) - 1) htotal 1025 drivers/video/fbdev/amifb.c #define hcenter2hw(htotal) (div8(htotal)) htotal 1127 drivers/video/fbdev/amifb.c u_int htotal, vtotal; htotal 1216 drivers/video/fbdev/amifb.c par->htotal = down8((var->left_margin + par->xres + var->right_margin + htotal 1227 drivers/video/fbdev/amifb.c par->diwstop_h = par->htotal - htotal 1238 drivers/video/fbdev/amifb.c if (par->diwstop_h >= par->htotal + 8) { htotal 1261 drivers/video/fbdev/amifb.c if (par->htotal != PAL_HTOTAL) { htotal 1273 drivers/video/fbdev/amifb.c htotal = PAL_HTOTAL>>clk_shift; htotal 1291 drivers/video/fbdev/amifb.c if (par->htotal != NTSC_HTOTAL) { htotal 1303 drivers/video/fbdev/amifb.c htotal = NTSC_HTOTAL>>clk_shift; htotal 1328 drivers/video/fbdev/amifb.c par->diwstop_h = par->htotal - mod8(par->hsstrt) + 8 - (1 << clk_shift); htotal 1334 drivers/video/fbdev/amifb.c if (par->hbstrt >= par->htotal + 8) htotal 1335 drivers/video/fbdev/amifb.c par->hbstrt -= par->htotal; htotal 1336 drivers/video/fbdev/amifb.c par->hcenter = par->hsstrt + (par->htotal >> 1); htotal 1349 drivers/video/fbdev/amifb.c if (par->htotal > 2048) { htotal 1363 drivers/video/fbdev/amifb.c htotal = par->htotal>>clk_shift; htotal 1398 drivers/video/fbdev/amifb.c maxfetchstop = down16(par->htotal - 80); htotal 1431 drivers/video/fbdev/amifb.c if (par->htotal - fsize - 64 < par->bpp * 64) htotal 1560 drivers/video/fbdev/amifb.c var->left_margin = (par->htotal>>clk_shift) - var->xres - var->right_margin - var->hsync_len; htotal 1574 drivers/video/fbdev/amifb.c var->right_margin = ((par->htotal - down4(par->diwstop_h))>>clk_shift) + var->hsync_len; htotal 1575 drivers/video/fbdev/amifb.c var->left_margin = (par->htotal>>clk_shift) - var->xres - var->right_margin - var->hsync_len; htotal 1704 drivers/video/fbdev/amifb.c custom.htotal = htotal2hw(par->htotal); htotal 1726 drivers/video/fbdev/amifb.c amiga_audio_min_period = div16(par->htotal); htotal 1766 drivers/video/fbdev/amifb.c custom.hsstrt = hsstrt2hw(par->htotal + 16); htotal 1767 drivers/video/fbdev/amifb.c custom.hsstop = hsstop2hw(par->htotal + 16); htotal 1772 drivers/video/fbdev/amifb.c custom.hsstrt = hsstrt2hw(par->htotal + 16); htotal 1773 drivers/video/fbdev/amifb.c custom.hsstop = hsstop2hw(par->htotal + 16); htotal 1779 drivers/video/fbdev/amifb.c custom.htotal = htotal2hw(par->htotal); htotal 2155 drivers/video/fbdev/amifb.c h_end1 = par->htotal - 32; htotal 666 drivers/video/fbdev/cirrusfb.c int hdispend, hsyncstart, hsyncend, htotal; htotal 701 drivers/video/fbdev/cirrusfb.c htotal = (hsyncend + var->left_margin) / 8; htotal 736 drivers/video/fbdev/cirrusfb.c htotal /= 2; htotal 742 drivers/video/fbdev/cirrusfb.c htotal -= 5; htotal 751 drivers/video/fbdev/cirrusfb.c dev_dbg(info->device, "CRT0: %d\n", htotal); htotal 752 drivers/video/fbdev/cirrusfb.c vga_wcrt(regbase, VGA_CRTC_H_TOTAL, htotal); htotal 761 drivers/video/fbdev/cirrusfb.c dev_dbg(info->device, "CRT3: 128+%d\n", (htotal + 5) % 32); htotal 763 drivers/video/fbdev/cirrusfb.c 128 + ((htotal + 5) % 32)); htotal 769 drivers/video/fbdev/cirrusfb.c if ((htotal + 5) & 32) htotal 824 drivers/video/fbdev/cirrusfb.c if ((htotal + 5) & 64) htotal 826 drivers/video/fbdev/cirrusfb.c if ((htotal + 5) & 128) htotal 915 drivers/video/fbdev/cirrusfb.c vga_wcrt(regbase, VGA_CRTC_REGS, htotal / 2); htotal 1219 drivers/video/fbdev/cirrusfb.c if ((htotal + 5) & 256) htotal 44 drivers/video/fbdev/core/fbcvt.c u32 htotal; htotal 132 drivers/video/fbdev/core/fbcvt.c hsync = (FB_CVT_CELLSIZE * cvt->htotal)/100; htotal 177 drivers/video/fbdev/core/fbcvt.c pixclock = (cvt->f_refresh * cvt->vtotal * cvt->htotal)/1000; htotal 179 drivers/video/fbdev/core/fbcvt.c pixclock = (cvt->htotal * 1000000)/cvt->hperiod; htotal 365 drivers/video/fbdev/core/fbcvt.c cvt.htotal = cvt.active_pixels + cvt.hblank; htotal 368 drivers/video/fbdev/core/fbcvt.c cvt.hfreq = cvt.pixclock/cvt.htotal; htotal 721 drivers/video/fbdev/core/fbmon.c int vtotal, htotal; htotal 733 drivers/video/fbdev/core/fbmon.c htotal = mode->xres + mode->right_margin + mode->hsync_len htotal 744 drivers/video/fbdev/core/fbmon.c hscan = (pixclock + htotal / 2) / htotal; htotal 1023 drivers/video/fbdev/core/fbmon.c u32 htotal; htotal 1155 drivers/video/fbdev/core/fbmon.c timings->htotal = timings->hactive + timings->hblank; htotal 1156 drivers/video/fbdev/core/fbmon.c timings->dclk = timings->htotal * timings->hfreq; htotal 1166 drivers/video/fbdev/core/fbmon.c timings->htotal = timings->hactive + timings->hblank; htotal 1167 drivers/video/fbdev/core/fbmon.c timings->dclk = timings->htotal * timings->hfreq; htotal 1174 drivers/video/fbdev/core/fbmon.c timings->htotal = timings->hactive + timings->hblank; htotal 1175 drivers/video/fbdev/core/fbmon.c timings->hfreq = timings->dclk/timings->htotal; htotal 1296 drivers/video/fbdev/core/fbmon.c var->hsync_len = (timings->htotal * 8)/100; htotal 1314 drivers/video/fbdev/core/fbmon.c unsigned int htotal, vtotal; htotal 1342 drivers/video/fbdev/core/fbmon.c htotal = vm->hactive + vm->hfront_porch + vm->hback_porch + htotal 1347 drivers/video/fbdev/core/fbmon.c if (htotal && vtotal) { htotal 1348 drivers/video/fbdev/core/fbmon.c fbmode->refresh = vm->pixelclock / (htotal * vtotal); htotal 1435 drivers/video/fbdev/core/fbmon.c u32 hfreq, vfreq, htotal, vtotal, pixclock; htotal 1463 drivers/video/fbdev/core/fbmon.c htotal = var->xres + var->right_margin + var->hsync_len + htotal 1473 drivers/video/fbdev/core/fbmon.c hfreq = pixclock/htotal; htotal 849 drivers/video/fbdev/core/modedb.c u32 pixclock, hfreq, htotal, vtotal; htotal 871 drivers/video/fbdev/core/modedb.c htotal = var->xres + var->right_margin + var->hsync_len + htotal 881 drivers/video/fbdev/core/modedb.c if (!htotal || !vtotal) htotal 884 drivers/video/fbdev/core/modedb.c hfreq = pixclock/htotal; htotal 513 drivers/video/fbdev/gbefb.c timing->htotal = var->left_margin + var->xres + htotal 517 drivers/video/fbdev/gbefb.c timing->fields_sec = 1000 * timing->cfreq / timing->htotal * htotal 521 drivers/video/fbdev/gbefb.c timing->hblank_end = timing->htotal; htotal 548 drivers/video/fbdev/gbefb.c SET_GBE_FIELD(VT_XYMAX, MAXX, val, timing->htotal); htotal 596 drivers/video/fbdev/gbefb.c timing->htotal - (20 - timing->hblank_end)); htotal 606 drivers/video/fbdev/gbefb.c timing->htotal - (GBE_CRS_MAGIC - htotal 618 drivers/video/fbdev/gbefb.c temp += timing->htotal; /* allow blank to wrap around */ htotal 623 drivers/video/fbdev/gbefb.c GBE_PIXEN_MAGIC_OFF) % timing->htotal)); htotal 986 drivers/video/fbdev/gbefb.c var->left_margin = timing.htotal - timing.hsync_end; htotal 61 drivers/video/fbdev/geode/display_gx.c int hactive, hblankstart, hsyncstart, hsyncend, hblankend, htotal; htotal 134 drivers/video/fbdev/geode/display_gx.c htotal = hblankend; htotal 144 drivers/video/fbdev/geode/display_gx.c ((htotal - 1) << 16)); htotal 81 drivers/video/fbdev/geode/display_gx1.c int hactive, hblankstart, hsyncstart, hsyncend, hblankend, htotal; htotal 152 drivers/video/fbdev/geode/display_gx1.c htotal = hblankend; htotal 161 drivers/video/fbdev/geode/display_gx1.c val = (hactive - 1) | ((htotal - 1) << 16); htotal 349 drivers/video/fbdev/geode/lxfb_ops.c int hactive, hblankstart, hsyncstart, hsyncend, hblankend, htotal; htotal 469 drivers/video/fbdev/geode/lxfb_ops.c htotal = hblankend; htotal 478 drivers/video/fbdev/geode/lxfb_ops.c write_dc(par, DC_H_ACTIVE_TIMING, (hactive - 1) | ((htotal - 1) << 16)); htotal 1047 drivers/video/fbdev/intelfb/intelfbhw.c u32 hsync_start, hsync_end, hblank_start, hblank_end, htotal, hactive; htotal 1176 drivers/video/fbdev/intelfb/intelfbhw.c htotal = hsync_end + var->left_margin; htotal 1178 drivers/video/fbdev/intelfb/intelfbhw.c hblank_end = htotal; htotal 1181 drivers/video/fbdev/intelfb/intelfbhw.c hactive, hsync_start, hsync_end, htotal, hblank_start, htotal 1207 drivers/video/fbdev/intelfb/intelfbhw.c htotal--; htotal 1208 drivers/video/fbdev/intelfb/intelfbhw.c if (check_overflow(htotal, HTOTAL_MASK, "CRTC htotal")) htotal 1236 drivers/video/fbdev/intelfb/intelfbhw.c *ht = (htotal << HTOTAL_SHIFT) | (hactive << HACTIVE_SHIFT); htotal 256 drivers/video/fbdev/matrox/matroxfb_base.h u_int16_t htotal; htotal 226 drivers/video/fbdev/matrox/matroxfb_maven.c unsigned int htotal, unsigned int vtotal, htotal 239 drivers/video/fbdev/matrox/matroxfb_maven.c scrlen = htotal * (vtotal - 1); htotal 240 drivers/video/fbdev/matrox/matroxfb_maven.c fwant = htotal * vtotal; htotal 244 drivers/video/fbdev/matrox/matroxfb_maven.c fwant, fxtal, htotal, vtotal, fmax); htotal 277 drivers/video/fbdev/matrox/matroxfb_maven.c if (ln > htotal) htotal 299 drivers/video/fbdev/matrox/matroxfb_maven.c unsigned int htotal, unsigned int vtotal, htotal 305 drivers/video/fbdev/matrox/matroxfb_maven.c fvco = matroxfb_PLL_mavenclock(&maven1000_pll, ctl, htotal, vtotal, in, feed, &p, htotal2); htotal 748 drivers/video/fbdev/matrox/matroxfb_maven.c m->htotal = h - 2; htotal 801 drivers/video/fbdev/matrox/matroxfb_maven.c m->regs[0xA0] = m->htotal; htotal 802 drivers/video/fbdev/matrox/matroxfb_maven.c m->regs[0xA1] = m->htotal >> 8; htotal 873 drivers/video/fbdev/matrox/matroxfb_maven.c if (ib >= m->htotal + 2) { htotal 894 drivers/video/fbdev/matrox/matroxfb_maven.c a = m->vlines * (m->htotal + 2); htotal 895 drivers/video/fbdev/matrox/matroxfb_maven.c b = (mt->VTotal - 1) * (m->htotal + 2) + m->hcorr + 2; htotal 929 drivers/video/fbdev/mx3fb.c u32 htotal; htotal 997 drivers/video/fbdev/mx3fb.c htotal = var->xres + var->right_margin + var->hsync_len + htotal 1001 drivers/video/fbdev/mx3fb.c var->pixclock = (vtotal * htotal * 6UL) / 100UL; htotal 259 drivers/video/fbdev/neofb.c int htotal = (hsync_end + var->left_margin) >> 3; htotal 284 drivers/video/fbdev/neofb.c par->CRTC[0] = htotal - 5; htotal 287 drivers/video/fbdev/neofb.c par->CRTC[3] = ((htotal - 1) & 0x1F) | 0x80; htotal 289 drivers/video/fbdev/neofb.c par->CRTC[5] = (((htotal - 1) & 0x20) << 2) htotal 689 drivers/video/fbdev/pm2fb.c u32 hsstart, hsend, hbend, htotal; htotal 720 drivers/video/fbdev/pm2fb.c htotal = to3264(xres, depth, data64) + hbend - 1; htotal 812 drivers/video/fbdev/pm2fb.c pm2_WR(par, PM2R_H_TOTAL, htotal); htotal 725 drivers/video/fbdev/pm3fb.c const u32 htotal = xres + hbend; htotal 740 drivers/video/fbdev/pm3fb.c pm3fb_shift_bpp(bpp, htotal - 1)); htotal 607 drivers/video/fbdev/s3fb.c u32 htotal, hsstart; htotal 895 drivers/video/fbdev/s3fb.c htotal = info->var.xres + info->var.left_margin + info->var.right_margin + info->var.hsync_len; htotal 896 drivers/video/fbdev/s3fb.c htotal = ((htotal * hmul) / 8) - 5; htotal 897 drivers/video/fbdev/s3fb.c vga_wcrt(par->state.vgabase, 0x3C, (htotal + 1) / 2); htotal 902 drivers/video/fbdev/s3fb.c value = clamp((htotal + hsstart + 1) / 2 + 2, hsstart + 4, htotal + 1); htotal 27 drivers/video/fbdev/sis/initextlfb.c int *htotal, int *vtotal, unsigned char rateindex); htotal 164 drivers/video/fbdev/sis/initextlfb.c sisfb_gettotalfrommode(struct SiS_Private *SiS_Pr, unsigned char modeno, int *htotal, htotal 201 drivers/video/fbdev/sis/initextlfb.c *htotal = (((cr_data & 0xff) | ((unsigned short) (sr_data & 0x03) << 8)) + 5) * 8; htotal 697 drivers/video/fbdev/sis/sis.h int *htotal, int *vtotal, unsigned char rateindex); htotal 596 drivers/video/fbdev/sis/sis_main.c int htotal, vtotal; htotal 631 drivers/video/fbdev/sis/sis_main.c &htotal, &vtotal, rate_idx)) { htotal 632 drivers/video/fbdev/sis/sis_main.c dclock = (htotal * vtotal * rate) / 1000; htotal 635 drivers/video/fbdev/sis/sis_main.c hsync = dclock / htotal; htotal 1220 drivers/video/fbdev/sis/sis_main.c unsigned int htotal = 0, vtotal = 0; htotal 1226 drivers/video/fbdev/sis/sis_main.c htotal = var->left_margin + var->xres + var->right_margin + var->hsync_len; htotal 1243 drivers/video/fbdev/sis/sis_main.c if(!(htotal) || !(vtotal)) { htotal 1248 drivers/video/fbdev/sis/sis_main.c if(pixclock && htotal && vtotal) { htotal 1250 drivers/video/fbdev/sis/sis_main.c hrate = (drate * 1000) / htotal; htotal 1326 drivers/video/fbdev/sis/sis_main.c ivideo->current_htotal = htotal; htotal 1466 drivers/video/fbdev/sis/sis_main.c unsigned int htotal = 0, vtotal = 0, myrateindex = 0; htotal 1473 drivers/video/fbdev/sis/sis_main.c htotal = var->left_margin + var->xres + var->right_margin + var->hsync_len; htotal 1491 drivers/video/fbdev/sis/sis_main.c if(!(htotal) || !(vtotal)) { htotal 1549 drivers/video/fbdev/sis/sis_main.c } else if( (ivideo->current_htotal == htotal) && htotal 1554 drivers/video/fbdev/sis/sis_main.c hrate = (drate * 1000) / htotal; htotal 1556 drivers/video/fbdev/sis/sis_main.c } else if( ( (ivideo->current_htotal != htotal) || htotal 1570 drivers/video/fbdev/sis/sis_main.c } else if((pixclock) && (htotal) && (vtotal)) { htotal 1572 drivers/video/fbdev/sis/sis_main.c hrate = (drate * 1000) / htotal; htotal 550 drivers/video/fbdev/tdfxfb.c u32 htotal = hsyncend + info->var.left_margin; htotal 577 drivers/video/fbdev/tdfxfb.c htotal >>= 1; htotal 584 drivers/video/fbdev/tdfxfb.c ht = (htotal >> 3) - 1; htotal 1136 drivers/video/fbdev/tridentfb.c u32 htotal, hdispend, hsyncstart, hsyncend, hblankstart, hblankend; htotal 1147 drivers/video/fbdev/tridentfb.c htotal = (var->xres + var->left_margin + var->right_margin + htotal 1150 drivers/video/fbdev/tridentfb.c hblankend = htotal + 3; htotal 1206 drivers/video/fbdev/tridentfb.c write3X4(par, VGA_CRTC_H_TOTAL, htotal & 0xFF); htotal 1234 drivers/video/fbdev/tridentfb.c tmp = (htotal >> 8) & 0x01; htotal 767 drivers/video/fbdev/vermilion/vermilion.c u32 htotal, hactive, hblank_start, hblank_end, hsync_start, hsync_end; htotal 779 drivers/video/fbdev/vermilion/vermilion.c htotal = htotal 783 drivers/video/fbdev/vermilion/vermilion.c hblank_end = htotal; htotal 804 drivers/video/fbdev/vermilion/vermilion.c ": Set mode Hfreq : %d kHz, Vfreq : %d Hz.\n", clock / htotal, htotal 805 drivers/video/fbdev/vermilion/vermilion.c ((clock / htotal) * 1000) / vtotal); htotal 829 drivers/video/fbdev/vermilion/vermilion.c VML_WRITE32(par, VML_HTOTAL_A, ((htotal - 1) << 16) | (hactive - 1)); htotal 176 drivers/video/fbdev/via/viafbdev.c u32 htotal, vtotal; htotal 178 drivers/video/fbdev/via/viafbdev.c htotal = var->left_margin + var->xres + var->right_margin htotal 182 drivers/video/fbdev/via/viafbdev.c return PICOS2KHZ(var->pixclock) * 1000 / (htotal * vtotal); htotal 137 include/drm/drm_modes.h .htotal = (ht), .hskew = (hsk), .vdisplay = (vd), \ htotal 154 include/drm/drm_modes.h .htotal = (hd), .vdisplay = (vd), .vsync_start = (vd), \ htotal 284 include/drm/drm_modes.h int htotal; htotal 442 include/drm/drm_modes.h (m)->hdisplay, (m)->hsync_start, (m)->hsync_end, (m)->htotal, \ htotal 226 include/uapi/drm/drm_mode.h __u16 htotal; htotal 291 include/video/gbe.h short htotal; /* Horizontal total pixels */ htotal 87 tools/testing/selftests/net/tcp_mmap.c unsigned long htotal; htotal 98 tools/testing/selftests/net/tcp_mmap.c unsigned long temp = htotal; htotal 118 tools/testing/selftests/net/tcp_mmap.c htotal = temp;