Home
last modified time | relevance | path

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

/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 …]
/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 …]
/drivers/acpi/numa/
Dhmat.c299 u32 *inits, *targs, value; in hmat_parse_locality() local
314 sizeof(*inits) * ipds + sizeof(*targs) * tpds; in hmat_parse_locality()
325 inits = (u32 *)(hmat_loc + 1); in hmat_parse_locality()
326 targs = inits + ipds; in hmat_parse_locality()
329 alloc_memory_initiator(inits[init]); in hmat_parse_locality()
335 inits[init], targs[targ], value, in hmat_parse_locality()
340 if (target && target->processor_pxm == inits[init]) { in hmat_parse_locality()
343 if (node_state(pxm_to_node(inits[init]), N_CPU)) in hmat_parse_locality()
498 u32 *inits, *targs; in hmat_initiator_perf() local
503 inits = (u32 *)(hmat_loc + 1); in hmat_initiator_perf()
[all …]
/drivers/gpu/drm/amd/display/dc/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()
/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.c1612 void (*inits)(struct device_node *np); member
1616 .inits = rk3399_pmu_clk_init,
1620 .inits = rk3399_clk_init,
1645 if (init_data->inits) in clk_rk3399_probe()
1646 init_data->inits(np); in clk_rk3399_probe()
Dclk-rk3568.c1684 void (*inits)(struct device_node *np); member
1688 .inits = rk3568_pmu_clk_init,
1692 .inits = rk3568_clk_init,
1715 if (init_data->inits) in clk_rk3568_probe()
1716 init_data->inits(np); in clk_rk3568_probe()
Dclk-rk3588.c2506 void (*inits)(struct device_node *np); member
2510 .inits = rk3588_clk_init,
2530 if (init_data->inits) in clk_rk3588_probe()
2531 init_data->inits(dev->of_node); in clk_rk3588_probe()
/drivers/clocksource/
Dtimer-microchip-pit64b.c493 static int inits; in mchp_pit64b_dt_init() local
495 switch (inits++) { in mchp_pit64b_dt_init()
/drivers/gpu/drm/amd/display/dc/inc/hw/
Dtransform.h176 struct scl_inits inits; member
/drivers/gpu/drm/amd/display/dc/core/
Ddc_resource.c1342 &data->inits.h, in calculate_inits_and_viewports()
1352 &data->inits.h_c, in calculate_inits_and_viewports()
1362 &data->inits.v, in calculate_inits_and_viewports()
1372 &data->inits.v_c, in calculate_inits_and_viewports()
/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()
/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
Dmain.c681 const struct d11init *inits) in brcms_c_write_inits() argument
691 for (i = 0; inits[i].addr != cpu_to_le16(0xffff); i++) { in brcms_c_write_inits()
692 size = le16_to_cpu(inits[i].size); in brcms_c_write_inits()
693 offset = le16_to_cpu(inits[i].addr); in brcms_c_write_inits()
694 value = le32_to_cpu(inits[i].value); in brcms_c_write_inits()