Home
last modified time | relevance | path

Searched refs:inits (Results 1 – 18 of 18) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_transform_v.c370 struct sclv_ratios_inits *inits, in calculate_inits() argument
374 inits->h_int_scale_ratio_luma = in calculate_inits()
376 inits->v_int_scale_ratio_luma = in calculate_inits()
378 inits->h_int_scale_ratio_chroma = in calculate_inits()
380 inits->v_int_scale_ratio_chroma = in calculate_inits()
383 inits->h_init_luma.integer = 1; in calculate_inits()
384 inits->v_init_luma.integer = 1; in calculate_inits()
385 inits->h_init_chroma.integer = 1; in calculate_inits()
386 inits->v_init_chroma.integer = 1; in calculate_inits()
391 struct sclv_ratios_inits *inits) in program_scl_ratios_inits() argument
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dce/
Ddce_transform.c280 struct scl_ratios_inits *inits) in calculate_inits() argument
285 inits->h_int_scale_ratio = in calculate_inits()
287 inits->v_int_scale_ratio = in calculate_inits()
296 inits->h_init.integer = dc_fixpt_floor(h_init); in calculate_inits()
297 inits->h_init.fraction = dc_fixpt_u0d19(h_init) << 5; in calculate_inits()
305 inits->v_init.integer = dc_fixpt_floor(v_init); in calculate_inits()
306 inits->v_init.fraction = dc_fixpt_u0d19(v_init) << 5; in calculate_inits()
313 struct sclh_ratios_inits *inits) in dce60_calculate_inits() argument
317 inits->h_int_scale_ratio = in dce60_calculate_inits()
319 inits->v_int_scale_ratio = in dce60_calculate_inits()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dpp/dcn10/
Ddcn10_dpp_dscl.c531 init_frac = dc_fixpt_u0d19(data->inits.h) << 5; in dpp1_dscl_set_manual_ratio_init()
532 init_int = dc_fixpt_floor(data->inits.h); in dpp1_dscl_set_manual_ratio_init()
537 init_frac = dc_fixpt_u0d19(data->inits.h_c) << 5; in dpp1_dscl_set_manual_ratio_init()
538 init_int = dc_fixpt_floor(data->inits.h_c); in dpp1_dscl_set_manual_ratio_init()
543 init_frac = dc_fixpt_u0d19(data->inits.v) << 5; in dpp1_dscl_set_manual_ratio_init()
544 init_int = dc_fixpt_floor(data->inits.v); in dpp1_dscl_set_manual_ratio_init()
550 struct fixed31_32 bot = dc_fixpt_add(data->inits.v, data->ratios.vert); in dpp1_dscl_set_manual_ratio_init()
559 init_frac = dc_fixpt_u0d19(data->inits.v_c) << 5; in dpp1_dscl_set_manual_ratio_init()
560 init_int = dc_fixpt_floor(data->inits.v_c); in dpp1_dscl_set_manual_ratio_init()
566 struct fixed31_32 bot = dc_fixpt_add(data->inits.v_c, data->ratios.vert_c); in dpp1_dscl_set_manual_ratio_init()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/
Ddc_spl_translate.c58 static void populate_inits_from_splinits(struct scl_inits *inits, in populate_inits_from_splinits() argument
61inits->h = dc_fixpt_from_int_dy(spl_inits->h_filter_init_int, spl_inits->h_filter_init_frac >> 5, … in populate_inits_from_splinits()
62inits->v = dc_fixpt_from_int_dy(spl_inits->v_filter_init_int, spl_inits->v_filter_init_frac >> 5, … in populate_inits_from_splinits()
63inits->h_c = dc_fixpt_from_int_dy(spl_inits->h_filter_init_int_c, spl_inits->h_filter_init_frac_c … in populate_inits_from_splinits()
64inits->v_c = dc_fixpt_from_int_dy(spl_inits->v_filter_init_int_c, spl_inits->v_filter_init_frac_c … in populate_inits_from_splinits()
218 populate_inits_from_splinits(&pipe_ctx->plane_res.scl_data.inits, &spl_out->dscl_prog_data->init); in translate_SPL_out_params_to_pipe_ctx()
/linux-6.12.1/drivers/acpi/numa/
Dhmat.c423 u32 *inits, *targs, value; in hmat_parse_locality() local
438 sizeof(*inits) * ipds + sizeof(*targs) * tpds; in hmat_parse_locality()
449 inits = (u32 *)(hmat_loc + 1); in hmat_parse_locality()
450 targs = inits + ipds; in hmat_parse_locality()
453 alloc_memory_initiator(inits[init]); in hmat_parse_locality()
459 inits[init], targs[targ], value, in hmat_parse_locality()
462 hmat_update_target(targs[targ], inits[init], in hmat_parse_locality()
636 u32 *inits, *targs; in hmat_initiator_perf() local
641 inits = (u32 *)(hmat_loc + 1); in hmat_initiator_perf()
642 targs = inits + ipds; in hmat_initiator_perf()
[all …]
/linux-6.12.1/sound/i2c/other/
Dak4xxx-adda.c261 const unsigned char *ptr, *inits; in snd_akm4xxx_init() local
269 inits = inits_ak4524; in snd_akm4xxx_init()
275 inits = inits_ak4528; in snd_akm4xxx_init()
281 inits = inits_ak4529; in snd_akm4xxx_init()
287 inits = inits_ak4355; in snd_akm4xxx_init()
293 inits = inits_ak4358; in snd_akm4xxx_init()
299 inits = inits_ak4381; in snd_akm4xxx_init()
311 inits = inits_ak4620; in snd_akm4xxx_init()
322 ptr = inits; in snd_akm4xxx_init()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dpp/dcn401/
Ddcn401_dpp_dscl.c588 init_frac = dc_fixpt_u0d19(data->inits.h) << 5; in dpp401_dscl_set_manual_ratio_init()
589 init_int = dc_fixpt_floor(data->inits.h); in dpp401_dscl_set_manual_ratio_init()
594 init_frac = dc_fixpt_u0d19(data->inits.h_c) << 5; in dpp401_dscl_set_manual_ratio_init()
595 init_int = dc_fixpt_floor(data->inits.h_c); in dpp401_dscl_set_manual_ratio_init()
600 init_frac = dc_fixpt_u0d19(data->inits.v) << 5; in dpp401_dscl_set_manual_ratio_init()
601 init_int = dc_fixpt_floor(data->inits.v); in dpp401_dscl_set_manual_ratio_init()
607 struct fixed31_32 bot = dc_fixpt_add(data->inits.v, data->ratios.vert); in dpp401_dscl_set_manual_ratio_init()
616 init_frac = dc_fixpt_u0d19(data->inits.v_c) << 5; in dpp401_dscl_set_manual_ratio_init()
617 init_int = dc_fixpt_floor(data->inits.v_c); in dpp401_dscl_set_manual_ratio_init()
623 struct fixed31_32 bot = dc_fixpt_add(data->inits.v_c, data->ratios.vert_c); in dpp401_dscl_set_manual_ratio_init()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/spl/
Ddc_spl.c625 &spl_scratch->scl_data.inits.h, in spl_calculate_inits_and_viewports()
636 &spl_scratch->scl_data.inits.h_c, in spl_calculate_inits_and_viewports()
647 &spl_scratch->scl_data.inits.v, in spl_calculate_inits_and_viewports()
658 &spl_scratch->scl_data.inits.v_c, in spl_calculate_inits_and_viewports()
1104 spl_fixpt_u0d19(scl_data->inits.h) << 5; in spl_set_manual_ratio_init_data()
1106 spl_fixpt_floor(scl_data->inits.h); in spl_set_manual_ratio_init_data()
1108 spl_fixpt_u0d19(scl_data->inits.h_c) << 5; in spl_set_manual_ratio_init_data()
1110 spl_fixpt_floor(scl_data->inits.h_c); in spl_set_manual_ratio_init_data()
1112 spl_fixpt_u0d19(scl_data->inits.v) << 5; in spl_set_manual_ratio_init_data()
1114 spl_fixpt_floor(scl_data->inits.v); in spl_set_manual_ratio_init_data()
[all …]
Ddc_spl_types.h143 struct spl_inits inits; member
/linux-6.12.1/drivers/clk/rockchip/
Dclk-rv1126.c1153 void (*inits)(struct device_node *np); member
1157 .inits = rv1126_pmu_clk_init,
1161 .inits = rv1126_clk_init,
1184 if (init_data->inits) in clk_rv1126_probe()
1185 init_data->inits(np); in clk_rv1126_probe()
Dclk-rk3399.c1618 void (*inits)(struct device_node *np); member
1622 .inits = rk3399_pmu_clk_init,
1626 .inits = rk3399_clk_init,
1646 if (init_data->inits) in clk_rk3399_probe()
1647 init_data->inits(np); in clk_rk3399_probe()
Dclk-rk3568.c1693 void (*inits)(struct device_node *np); member
1697 .inits = rk3568_pmu_clk_init,
1701 .inits = rk3568_clk_init,
1724 if (init_data->inits) in clk_rk3568_probe()
1725 init_data->inits(np); in clk_rk3568_probe()
Dclk-rk3576.c1780 void (*inits)(struct device_node *np); member
1784 .inits = rk3576_clk_init,
1804 if (init_data->inits) in clk_rk3576_probe()
1805 init_data->inits(dev->of_node); in clk_rk3576_probe()
/linux-6.12.1/drivers/clocksource/
Dtimer-microchip-pit64b.c493 static int inits; in mchp_pit64b_dt_init() local
495 switch (inits++) { in mchp_pit64b_dt_init()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/inc/hw/
Dtransform.h161 struct scl_inits inits; member
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/core/
Ddc_resource.c1301 &data->inits.h, in calculate_inits_and_viewports()
1311 &data->inits.h_c, in calculate_inits_and_viewports()
1321 &data->inits.v, in calculate_inits_and_viewports()
1331 &data->inits.v_c, in calculate_inits_and_viewports()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/calcs/
Ddcn_calcs.c401 input->scale_ratio_depth.vinit = pipe->plane_res.scl_data.inits.v.value/4294967296.0; in pipe_ctx_to_e2e_pipe_params()
409 input->scale_ratio_depth.vinit_c = pipe->plane_res.scl_data.inits.v_c.value/4294967296.0; in pipe_ctx_to_e2e_pipe_params()
/linux-6.12.1/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
Dmain.c674 const struct d11init *inits) in brcms_c_write_inits() argument
684 for (i = 0; inits[i].addr != cpu_to_le16(0xffff); i++) { in brcms_c_write_inits()
685 size = le16_to_cpu(inits[i].size); in brcms_c_write_inits()
686 offset = le16_to_cpu(inits[i].addr); in brcms_c_write_inits()
687 value = le32_to_cpu(inits[i].value); in brcms_c_write_inits()