Home
last modified time | relevance | path

Searched refs:bpc (Results 1 – 25 of 128) sorted by relevance

123456

/linux/drivers/pwm/
A Dpwm-berlin.c218 struct berlin_pwm_chip *bpc; in berlin_pwm_probe() local
221 bpc = devm_kzalloc(&pdev->dev, sizeof(*bpc), GFP_KERNEL); in berlin_pwm_probe()
222 if (!bpc) in berlin_pwm_probe()
226 if (IS_ERR(bpc->base)) in berlin_pwm_probe()
227 return PTR_ERR(bpc->base); in berlin_pwm_probe()
230 if (IS_ERR(bpc->clk)) in berlin_pwm_probe()
231 return PTR_ERR(bpc->clk); in berlin_pwm_probe()
237 bpc->chip.dev = &pdev->dev; in berlin_pwm_probe()
239 bpc->chip.npwm = 4; in berlin_pwm_probe()
241 ret = pwmchip_add(&bpc->chip); in berlin_pwm_probe()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dml/dsc/
A Drc_calc_fpu.c31 #define table_hash(mode, bpc, max_min) ((mode << 16) | (bpc << 8) | max_min) argument
37 #define TABLE_CASE(mode, bpc, max) case (table_hash(mode, BPC_##bpc, max)): \ argument
38 table = qp_table_##mode##_##bpc##bpc_##max; \
39 …table_size = sizeof(qp_table_##mode##_##bpc##bpc_##max)/sizeof(*qp_table_##mode##_##bpc##bpc_##max…
78 int sel = table_hash(mode, bpc, max_min); in get_qp_set()
177 enum bits_per_comp bpc, in _do_calc_rc_params() argument
199 …rc->rc_quant_incr_limit0 = ((bpc == BPC_8) ? 11 : (bpc == BPC_10 ? 15 : 19)) - ((minor_version == … in _do_calc_rc_params()
200 …rc->rc_quant_incr_limit1 = ((bpc == BPC_8) ? 11 : (bpc == BPC_10 ? 15 : 19)) - ((minor_version == … in _do_calc_rc_params()
237 rc->flatness_det_thresh = 2 << (bpc - 8); in _do_calc_rc_params()
239 get_qp_set(rc->qp_min, cm, bpc, DAL_MM_MIN, bpp); in _do_calc_rc_params()
[all …]
/linux/drivers/gpu/drm/panel/
A Dpanel-simple.c261 connector->display_info.bpc = panel->desc->bpc; in panel_simple_get_non_edid_modes()
623 if (desc->bpc != 6 && desc->bpc != 8) in panel_simple_probe()
641 if (desc->bpc != 6 && desc->bpc != 8) in panel_simple_probe()
722 .bpc = 6,
748 .bpc = 8,
772 .bpc = 6,
797 .bpc = 6,
821 .bpc = 6,
847 .bpc = 6,
869 .bpc = 8,
[all …]
A Dpanel-edp.c335 connector->display_info.bpc = panel->desc->bpc; in panel_edp_get_non_edid_modes()
837 } else if (desc->bpc != 6 && desc->bpc != 8 && desc->bpc != 10) { in panel_edp_probe()
906 .bpc = 6,
929 .bpc = 6,
955 .bpc = 6,
980 .bpc = 8,
1007 .bpc = 6,
1034 .bpc = 6,
1056 .bpc = 8,
1096 .bpc = 8,
[all …]
A Dpanel-boe-himax8279d.c32 unsigned int bpc; member
234 connector->display_info.bpc = pinfo->desc->bpc; in boe_panel_get_modes()
525 .bpc = 8,
825 .bpc = 8,
A Dpanel-innolux-p079zca.c32 unsigned int bpc; member
223 .bpc = 8,
370 .bpc = 8,
405 connector->display_info.bpc = innolux->desc->bpc; in innolux_panel_get_modes()
A Dpanel-seiko-43wvf1g.c28 unsigned int bpc; member
111 connector->display_info.bpc = panel->desc->bpc; in seiko_panel_get_fixed_modes()
301 .bpc = 8,
A Dpanel-boe-tv101wum-nl6.c23 unsigned int bpc; member
1275 .bpc = 8,
1304 .bpc = 8,
1332 .bpc = 8,
1359 .bpc = 8,
1387 .bpc = 8,
1414 .bpc = 8,
1441 .bpc = 8,
1473 connector->display_info.bpc = boe->desc->bpc; in boe_panel_get_modes()
A Dpanel-olimex-lcd-olinuxino.c45 u32 bpc; member
187 connector->display_info.bpc = lcd_info->bpc; in lcd_olinuxino_get_modes()
/linux/drivers/gpu/drm/i915/display/
A Dintel_qp_tables.c287 if (bpc == (_bpc)) \
288 return rc_range_##_minmax##qp444_##_bpc##bpc[_row][_col]; \
291 u8 intel_lookup_range_min_qp(int bpc, int buf_i, int bpp_i) in intel_lookup_range_min_qp() argument
297 MISSING_CASE(bpc); in intel_lookup_range_min_qp()
301 u8 intel_lookup_range_max_qp(int bpc, int buf_i, int bpp_i) in intel_lookup_range_max_qp() argument
307 MISSING_CASE(bpc); in intel_lookup_range_max_qp()
A Dintel_qp_tables.h11 u8 intel_lookup_range_min_qp(int bpc, int buf_i, int bpp_i);
12 u8 intel_lookup_range_max_qp(int bpc, int buf_i, int bpp_i);
A Dintel_hdmi.c1874 return clock * bpc / 8; in intel_hdmi_port_clock()
1884 switch (bpc) { in intel_hdmi_bpc_possible()
1910 MISSING_CASE(bpc); in intel_hdmi_bpc_possible()
1996 if (crtc_state->pipe_bpp < bpc * 3) in intel_hdmi_deep_color_possible()
2011 int bpc) in hdmi_deep_color_possible() argument
2043 int bpc; in intel_hdmi_compute_bpc() local
2045 for (bpc = 12; bpc >= 10; bpc -= 2) { in intel_hdmi_compute_bpc()
2050 return bpc; in intel_hdmi_compute_bpc()
2081 if (crtc_state->pipe_bpp > bpc * 3) in intel_hdmi_compute_clock()
2082 crtc_state->pipe_bpp = bpc * 3; in intel_hdmi_compute_clock()
[all …]
/linux/drivers/gpu/drm/mediatek/
A Dmtk_disp_drv.h16 unsigned int bpc, struct cmdq_pkt *cmdq_pkt);
26 unsigned int bpc, struct cmdq_pkt *cmdq_pkt);
35 unsigned int bpc, struct cmdq_pkt *cmdq_pkt);
39 unsigned int bpc, unsigned int cfg,
52 unsigned int bpc, struct cmdq_pkt *cmdq_pkt);
65 unsigned int bpc, struct cmdq_pkt *cmdq_pkt);
89 unsigned int bpc, struct cmdq_pkt *cmdq_pkt);
A Dmtk_drm_ddp_comp.c129 unsigned int bpc, unsigned int cfg, in mtk_dither_set_common() argument
133 if (bpc == 0) in mtk_dither_set_common()
136 if (bpc >= MTK_MIN_BPC) { in mtk_dither_set_common()
140 DITHER_LSB_ERR_SHIFT_R(MTK_MAX_BPC - bpc) | in mtk_dither_set_common()
141 DITHER_ADD_LSHIFT_R(MTK_MAX_BPC - bpc) | in mtk_dither_set_common()
145 DITHER_LSB_ERR_SHIFT_B(MTK_MAX_BPC - bpc) | in mtk_dither_set_common()
146 DITHER_ADD_LSHIFT_B(MTK_MAX_BPC - bpc) | in mtk_dither_set_common()
147 DITHER_LSB_ERR_SHIFT_G(MTK_MAX_BPC - bpc) | in mtk_dither_set_common()
148 DITHER_ADD_LSHIFT_G(MTK_MAX_BPC - bpc), in mtk_dither_set_common()
165 unsigned int bpc, struct cmdq_pkt *cmdq_pkt) in mtk_od_config() argument
[all …]
A Dmtk_drm_ddp_comp.h47 unsigned int bpc, struct cmdq_pkt *cmdq_pkt);
94 unsigned int vrefresh, unsigned int bpc, in mtk_ddp_comp_config() argument
98 comp->funcs->config(comp->dev, w, h, vrefresh, bpc, cmdq_pkt); in mtk_ddp_comp_config()
A Dmtk_drm_crtc.c237 unsigned int width, height, vrefresh, bpc = MTK_MAX_BPC; in mtk_crtc_ddp_hw_init() local
256 if (connector->display_info.bpc != 0 && in mtk_crtc_ddp_hw_init()
257 bpc > connector->display_info.bpc) in mtk_crtc_ddp_hw_init()
258 bpc = connector->display_info.bpc; in mtk_crtc_ddp_hw_init()
297 mtk_ddp_comp_config(comp, width, height, vrefresh, bpc, NULL); in mtk_crtc_ddp_hw_init()
/linux/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_connectors.c104 int bpc = 8; in amdgpu_connector_get_monitor_bpc() local
113 bpc = connector->display_info.bpc; in amdgpu_connector_get_monitor_bpc()
121 bpc = connector->display_info.bpc; in amdgpu_connector_get_monitor_bpc()
130 bpc = connector->display_info.bpc; in amdgpu_connector_get_monitor_bpc()
136 bpc = connector->display_info.bpc; in amdgpu_connector_get_monitor_bpc()
145 bpc = 6; in amdgpu_connector_get_monitor_bpc()
147 bpc = 8; in amdgpu_connector_get_monitor_bpc()
162 bpc = 12; in amdgpu_connector_get_monitor_bpc()
189 bpc = 8; in amdgpu_connector_get_monitor_bpc()
197 bpc = 8; in amdgpu_connector_get_monitor_bpc()
[all …]
A Datombios_crtc.c318 int bpc = amdgpu_crtc->bpc; in amdgpu_atombios_crtc_adjust_pll() local
359 switch (bpc) { in amdgpu_atombios_crtc_adjust_pll()
586 int bpc, in amdgpu_atombios_crtc_program_pll() argument
655 switch (bpc) { in amdgpu_atombios_crtc_program_pll()
686 switch (bpc) { in amdgpu_atombios_crtc_program_pll()
714 switch (bpc) { in amdgpu_atombios_crtc_program_pll()
757 amdgpu_crtc->bpc = 8; in amdgpu_atombios_crtc_prepare_pll()
773 amdgpu_crtc->bpc = amdgpu_connector_get_monitor_bpc(connector); in amdgpu_atombios_crtc_prepare_pll()
832 (amdgpu_crtc->bpc > 8)) in amdgpu_atombios_crtc_set_pll()
863 amdgpu_crtc->bpc, amdgpu_crtc->ss_enabled, &amdgpu_crtc->ss); in amdgpu_atombios_crtc_set_pll()
/linux/drivers/gpu/drm/radeon/
A Dradeon_connectors.c135 bpc = connector->display_info.bpc; in radeon_get_monitor_bpc()
143 bpc = connector->display_info.bpc; in radeon_get_monitor_bpc()
152 bpc = connector->display_info.bpc; in radeon_get_monitor_bpc()
158 bpc = connector->display_info.bpc; in radeon_get_monitor_bpc()
167 bpc = 6; in radeon_get_monitor_bpc()
169 bpc = 8; in radeon_get_monitor_bpc()
179 bpc = 8; in radeon_get_monitor_bpc()
191 bpc = 12; in radeon_get_monitor_bpc()
218 bpc = 8; in radeon_get_monitor_bpc()
227 bpc = 8; in radeon_get_monitor_bpc()
[all …]
A Devergreen_hdmi.c73 int bpc = 8; in evergreen_hdmi_update_acr() local
77 bpc = radeon_crtc->bpc; in evergreen_hdmi_update_acr()
80 if (bpc > 8) in evergreen_hdmi_update_acr()
318 void dce4_hdmi_set_color_depth(struct drm_encoder *encoder, u32 offset, int bpc) in dce4_hdmi_set_color_depth() argument
329 switch (bpc) { in dce4_hdmi_set_color_depth()
336 connector->name, bpc); in dce4_hdmi_set_color_depth()
/linux/drivers/gpu/drm/amd/display/dc/dsc/
A Drc_calc.c43 enum bits_per_comp bpc; in calc_rc_params() local
52 bpc = (pps->bits_per_component == 8) ? BPC_8 : (pps->bits_per_component == 10) in calc_rc_params()
58 _do_calc_rc_params(rc, mode, bpc, drm_bpp, is_navite_422_or_420, in calc_rc_params()
/linux/drivers/video/console/
A Dsticon.c178 int size, i, bpc, pitch; in sticon_set_font() local
187 bpc = pitch * h; in sticon_set_font()
188 size = bpc * op->charcount; in sticon_set_font()
199 new_font->bytes_per_char = bpc; in sticon_set_font()
217 memcpy(p, data, bpc); in sticon_set_font()
219 p += bpc; in sticon_set_font()
/linux/drivers/gpu/drm/bridge/
A Dtc358775.c273 u8 bpc; member
426 if (tc->bpc == 8) in tc_bridge_enable()
431 dsiclk = mode->crtc_clock * 3 * tc->bpc / tc->num_dsi_lanes / 1000; in tc_bridge_enable()
434 t1 = hactive * (tc->bpc * 3 / 8) / tc->num_dsi_lanes; in tc_bridge_enable()
436 t3 = ((t2 * byteclk) / 100) - (hactive * (tc->bpc * 3 / 8) / in tc_bridge_enable()
455 tc->bpc); in tc_bridge_enable()
511 tc->bpc = 8; in tc_mode_valid()
515 tc->bpc = 6; in tc_mode_valid()
/linux/drivers/gpu/drm/xlnx/
A Dzynqmp_dp.c1112 unsigned int bpc) in zynqmp_dp_set_format() argument
1148 if (display->bpc && bpc > display->bpc) { in zynqmp_dp_set_format()
1151 bpc, display->bpc); in zynqmp_dp_set_format()
1152 bpc = display->bpc; in zynqmp_dp_set_format()
1157 switch (bpc) { in zynqmp_dp_set_format()
1175 bpc); in zynqmp_dp_set_format()
1177 bpc = 8; in zynqmp_dp_set_format()
1182 config->bpp = bpc * num_colors; in zynqmp_dp_set_format()
/linux/drivers/gpu/drm/msm/dp/
A Ddp_debug.c102 u32 bpc; in dp_test_data_show() local
105 bpc = debug->link->test_video.test_bit_depth; in dp_test_data_show()
111 dp_link_bit_depth_to_bpc(bpc)); in dp_test_data_show()

Completed in 86 milliseconds

123456