Home
last modified time | relevance | path

Searched refs:num_slices (Results 1 – 15 of 15) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/xe/
Dxe_gt_ccs_mode.c20 int num_slices = hweight32(CCS_MASK(gt)); in __xe_gt_apply_ccs_mode() local
27 xe_assert(xe, num_engines && num_engines <= num_slices); in __xe_gt_apply_ccs_mode()
28 xe_assert(xe, !(num_slices % num_engines)); in __xe_gt_apply_ccs_mode()
48 for (width = num_slices / num_engines; width; width--) { in __xe_gt_apply_ccs_mode()
80 mode, config, num_engines, num_slices); in __xe_gt_apply_ccs_mode()
117 u32 num_engines, num_slices; in ccs_mode_store() local
134 num_slices = hweight32(CCS_MASK(gt)); in ccs_mode_store()
135 if (!num_engines || num_engines > num_slices || num_slices % num_engines) { in ccs_mode_store()
137 num_engines, num_slices); in ccs_mode_store()
/linux-6.12.1/drivers/net/ethernet/myricom/myri10ge/
Dmyri10ge.c200 int num_slices; member
960 if (mgp->num_slices > 1) { in myri10ge_reset()
975 cmd.data0 = mgp->num_slices; in myri10ge_reset()
987 cmd.data0 = mgp->num_slices; in myri10ge_reset()
1001 for (i = 0; i < mgp->num_slices; i++) { in myri10ge_reset()
1012 for (i = 0; i < mgp->num_slices; i++) { in myri10ge_reset()
1033 for (i = 0; i < mgp->num_slices; i++) { in myri10ge_reset()
1047 for (i = 0; i < mgp->num_slices; i++) { in myri10ge_reset()
1127 for (i = 0; i < mgp->num_slices; i++) { in myri10ge_setup_dca()
1767 for (i = 0; i < mgp->num_slices; i++) { in myri10ge_get_strings()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dsc/
Ddc_dsc.c746 static int inc_num_slices(union dsc_enc_slice_caps slice_caps, int num_slices) in inc_num_slices() argument
752 int new_num_slices = num_slices; in inc_num_slices()
769 if (new_num_slices == num_slices) // No bigger number of slices found in inc_num_slices()
777 static int dec_num_slices(union dsc_enc_slice_caps slice_caps, int num_slices) in dec_num_slices() argument
783 int new_num_slices = num_slices; in dec_num_slices()
800 if (new_num_slices == num_slices) { in dec_num_slices()
812 static int fit_num_slices_up(union dsc_enc_slice_caps slice_caps, int num_slices) in fit_num_slices_up() argument
818 int new_num_slices = num_slices; in fit_num_slices_up()
/linux-6.12.1/drivers/gpu/drm/i915/display/
Dintel_hdmi.h55 int num_slices, int output_format, bool hdmi_all_bpp,
Dintel_dp.c3768 int num_slices, int slice_width) in intel_dp_pcon_dsc_enc_bpp() argument
3779 num_slices, output_format, hdmi_all_bpp, in intel_dp_pcon_dsc_enc_bpp()
3790 int num_slices; in intel_dp_pcon_dsc_configure() local
3814 num_slices = intel_dp_pcon_dsc_enc_slices(intel_dp, crtc_state); in intel_dp_pcon_dsc_configure()
3815 if (!num_slices) in intel_dp_pcon_dsc_configure()
3819 num_slices); in intel_dp_pcon_dsc_configure()
3822 num_slices, slice_width); in intel_dp_pcon_dsc_configure()
Dintel_hdmi.c3242 intel_hdmi_dsc_get_bpp(int src_fractional_bpp, int slice_width, int num_slices, in intel_hdmi_dsc_get_bpp() argument
3313 target_bytes = DIV_ROUND_UP((num_slices * slice_width * bpp), 8); in intel_hdmi_dsc_get_bpp()
/linux-6.12.1/drivers/media/platform/mediatek/vcodec/decoder/vdec/
Dvdec_h264_req_common.h139 unsigned short num_slices; member
Dvdec_h264_req_common.c220 dst_params->num_slices = 0; in mtk_vdec_h264_copy_decode_params()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/inc/
Ddml_top_display_cfg_types.h261 unsigned int num_slices; member
/linux-6.12.1/drivers/media/platform/allegro-dvt/
Dallegro-mail.h84 u16 num_slices; member
Dallegro-mail.c149 dst[i++] = param->num_slices; in allegro_encode_config_blob()
Dallegro-core.c1253 param->num_slices = 1; in fill_create_channel_param()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/
Ddml2_dc_resource_mgmt.c514 …ane_state *plane, unsigned int slice_index, unsigned int *odm_slice_end_x, unsigned int num_slices) in is_plane_in_odm_slice() argument
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/
Ddml21_translation_helper.c387 timing->dsc.overrides.num_slices = stream->timing.dsc_cfg.num_slices_h; in populate_dml21_timing_config_from_stream_state()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/
Ddml2_core_dcn4_calcs.c7472 …m_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.dsc.overrides.num_slices != 0) in dml_core_mode_support()
7473 …stream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.dsc.overrides.num_slices; in dml_core_mode_support()
7585 …descriptors[display_cfg->plane_descriptors[k].stream_index].timing.dsc.overrides.num_slices != 0) { in dml_core_mode_support()
7595 …tream_descriptors[display_cfg->plane_descriptors[k].stream_index].timing.dsc.overrides.num_slices); in dml_core_mode_support()