Home
last modified time | relevance | path

Searched refs:bb_info (Results 1 – 17 of 17) sorted by relevance

/linux/drivers/net/ethernet/freescale/fs_enet/
H A Dmii-bitbang.c27 struct bb_info { struct
57 struct bb_info *bitbang = container_of(ctrl, struct bb_info, ctrl); in mdio_dir()
70 struct bb_info *bitbang = container_of(ctrl, struct bb_info, ctrl); in mdio_read()
76 struct bb_info *bitbang = container_of(ctrl, struct bb_info, ctrl); in mdio()
89 struct bb_info *bitbang = container_of(ctrl, struct bb_info, ctrl); in mdc()
113 struct bb_info *bitbang = bus->priv; in fs_mii_bitbang_init()
152 struct bb_info *bitbang; in fs_enet_mdio_probe()
155 bitbang = kzalloc(sizeof(struct bb_info), GFP_KERNEL); in fs_enet_mdio_probe()
195 struct bb_info *bitbang = bus->priv; in fs_enet_mdio_remove()
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn302/
H A Ddcn302_fpu.c349 void dcn302_fpu_init_soc_bounding_box(struct bp_soc_bb_info bb_info) in dcn302_fpu_init_soc_bounding_box() argument
354 if (bb_info.dram_clock_change_latency_100ns > 0) in dcn302_fpu_init_soc_bounding_box()
356 bb_info.dram_clock_change_latency_100ns * 10; in dcn302_fpu_init_soc_bounding_box()
358 if (bb_info.dram_sr_enter_exit_latency_100ns > 0) in dcn302_fpu_init_soc_bounding_box()
360 bb_info.dram_sr_enter_exit_latency_100ns * 10; in dcn302_fpu_init_soc_bounding_box()
362 if (bb_info.dram_sr_exit_latency_100ns > 0) in dcn302_fpu_init_soc_bounding_box()
364 bb_info.dram_sr_exit_latency_100ns * 10; in dcn302_fpu_init_soc_bounding_box()
H A Ddcn302_fpu.h29 void dcn302_fpu_init_soc_bounding_box(struct bp_soc_bb_info bb_info);
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn303/
H A Ddcn303_fpu.c368 void dcn303_fpu_init_soc_bounding_box(struct bp_soc_bb_info bb_info) in dcn303_fpu_init_soc_bounding_box() argument
372 if (bb_info.dram_clock_change_latency_100ns > 0) in dcn303_fpu_init_soc_bounding_box()
373 dcn3_03_soc.dram_clock_change_latency_us = bb_info.dram_clock_change_latency_100ns * 10; in dcn303_fpu_init_soc_bounding_box()
375 if (bb_info.dram_sr_enter_exit_latency_100ns > 0) in dcn303_fpu_init_soc_bounding_box()
376 dcn3_03_soc.sr_enter_plus_exit_time_us = bb_info.dram_sr_enter_exit_latency_100ns * 10; in dcn303_fpu_init_soc_bounding_box()
378 if (bb_info.dram_sr_exit_latency_100ns > 0) in dcn303_fpu_init_soc_bounding_box()
379 dcn3_03_soc.sr_exit_time_us = bb_info.dram_sr_exit_latency_100ns * 10; in dcn303_fpu_init_soc_bounding_box()
H A Ddcn303_fpu.h30 void dcn303_fpu_init_soc_bounding_box(struct bp_soc_bb_info bb_info);
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn401/
H A Ddcn401_fpu.c141 struct bp_soc_bb_info bb_info = {0}; in dcn401_update_bw_bounding_box_fpu() local
142 if (dc->ctx->dc_bios->funcs->get_soc_bb_info(dc->ctx->dc_bios, &bb_info) == BP_RESULT_OK) { in dcn401_update_bw_bounding_box_fpu()
143 if (bb_info.dram_clock_change_latency_100ns > 0) in dcn401_update_bw_bounding_box_fpu()
145 bb_info.dram_clock_change_latency_100ns * 10; in dcn401_update_bw_bounding_box_fpu()
147 if (bb_info.dram_sr_enter_exit_latency_100ns > 0) in dcn401_update_bw_bounding_box_fpu()
149 bb_info.dram_sr_enter_exit_latency_100ns * 10; in dcn401_update_bw_bounding_box_fpu()
151 if (bb_info.dram_sr_exit_latency_100ns > 0) in dcn401_update_bw_bounding_box_fpu()
153 bb_info.dram_sr_exit_latency_100ns * 10; in dcn401_update_bw_bounding_box_fpu()
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn301/
H A Ddcn301_fpu.c398 void dcn301_fpu_init_soc_bounding_box(struct bp_soc_bb_info bb_info) in dcn301_fpu_init_soc_bounding_box() argument
402 if (bb_info.dram_clock_change_latency_100ns > 0) in dcn301_fpu_init_soc_bounding_box()
403 dcn3_01_soc.dram_clock_change_latency_us = bb_info.dram_clock_change_latency_100ns * 10; in dcn301_fpu_init_soc_bounding_box()
405 if (bb_info.dram_sr_enter_exit_latency_100ns > 0) in dcn301_fpu_init_soc_bounding_box()
406 dcn3_01_soc.sr_enter_plus_exit_time_us = bb_info.dram_sr_enter_exit_latency_100ns * 10; in dcn301_fpu_init_soc_bounding_box()
408 if (bb_info.dram_sr_exit_latency_100ns > 0) in dcn301_fpu_init_soc_bounding_box()
409 dcn3_01_soc.sr_exit_time_us = bb_info.dram_sr_exit_latency_100ns * 10; in dcn301_fpu_init_soc_bounding_box()
H A Ddcn301_fpu.h29 void dcn301_fpu_init_soc_bounding_box(struct bp_soc_bb_info bb_info);
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn30/
H A Ddcn30_fpu.c800 struct bp_soc_bb_info bb_info = {0}; in patch_dcn30_soc_bounding_box() local
802 if (dc->ctx->dc_bios->funcs->get_soc_bb_info(dc->ctx->dc_bios, &bb_info) == BP_RESULT_OK) { in patch_dcn30_soc_bounding_box()
803 if (bb_info.dram_clock_change_latency_100ns > 0) in patch_dcn30_soc_bounding_box()
804 dcn3_0_soc.dram_clock_change_latency_us = bb_info.dram_clock_change_latency_100ns * 10; in patch_dcn30_soc_bounding_box()
806 if (bb_info.dram_sr_enter_exit_latency_100ns > 0) in patch_dcn30_soc_bounding_box()
807 dcn3_0_soc.sr_enter_plus_exit_time_us = bb_info.dram_sr_enter_exit_latency_100ns * 10; in patch_dcn30_soc_bounding_box()
809 if (bb_info.dram_sr_exit_latency_100ns > 0) in patch_dcn30_soc_bounding_box()
810 dcn3_0_soc.sr_exit_time_us = bb_info.dram_sr_exit_latency_100ns * 10; in patch_dcn30_soc_bounding_box()
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn321/
H A Ddcn321_fpu.c663 struct bp_soc_bb_info bb_info = {0}; in dcn321_update_bw_bounding_box_fpu() local
665 if (dc->ctx->dc_bios->funcs->get_soc_bb_info(dc->ctx->dc_bios, &bb_info) == BP_RESULT_OK) { in dcn321_update_bw_bounding_box_fpu()
666 if (bb_info.dram_clock_change_latency_100ns > 0) in dcn321_update_bw_bounding_box_fpu()
669 bb_info.dram_clock_change_latency_100ns * 10; in dcn321_update_bw_bounding_box_fpu()
671 if (bb_info.dram_sr_enter_exit_latency_100ns > 0) in dcn321_update_bw_bounding_box_fpu()
674 bb_info.dram_sr_enter_exit_latency_100ns * 10; in dcn321_update_bw_bounding_box_fpu()
676 if (bb_info.dram_sr_exit_latency_100ns > 0) in dcn321_update_bw_bounding_box_fpu()
679 bb_info.dram_sr_exit_latency_100ns * 10; in dcn321_update_bw_bounding_box_fpu()
/linux/drivers/gpu/drm/amd/display/dc/
H A Ddc_bios_types.h186 struct bp_soc_bb_info bb_info; member
/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/
H A Ddml21_translation_helper.c293 if (in_dc->ctx->dc_bios->bb_info.dram_clock_change_latency_100ns > 0) in dml21_apply_soc_bb_overrides()
295 (in_dc->ctx->dc_bios->bb_info.dram_clock_change_latency_100ns + 9) / 10; in dml21_apply_soc_bb_overrides()
297 if (in_dc->ctx->dc_bios->bb_info.dram_sr_enter_exit_latency_100ns > 0) in dml21_apply_soc_bb_overrides()
299 (in_dc->ctx->dc_bios->bb_info.dram_sr_enter_exit_latency_100ns + 9) / 10; in dml21_apply_soc_bb_overrides()
301 if (in_dc->ctx->dc_bios->bb_info.dram_sr_exit_latency_100ns > 0) in dml21_apply_soc_bb_overrides()
303 (in_dc->ctx->dc_bios->bb_info.dram_sr_exit_latency_100ns + 9) / 10; in dml21_apply_soc_bb_overrides()
/linux/drivers/net/ethernet/renesas/
H A Dsh_eth.c1170 struct bb_info { struct
1178 struct bb_info *bitbang = container_of(ctrl, struct bb_info, ctrl); in sh_mdio_ctrl() argument
1207 struct bb_info *bitbang = container_of(ctrl, struct bb_info, ctrl); in sh_get_mdio()
3093 struct bb_info *bitbang; in sh_mdio_init()
3100 bitbang = devm_kzalloc(dev, sizeof(struct bb_info), GFP_KERNEL); in sh_mdio_init()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn302/
H A Ddcn302_resource.c974 struct bp_soc_bb_info bb_info = { 0 }; in init_soc_bounding_box() local
977 dc->ctx->dc_bios, &bb_info) == BP_RESULT_OK) { in init_soc_bounding_box()
980 dcn302_fpu_init_soc_bounding_box(bb_info); in init_soc_bounding_box()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn303/
H A Ddcn303_resource.c920 struct bp_soc_bb_info bb_info = { 0 }; in init_soc_bounding_box() local
923 dc->ctx->dc_bios, &bb_info) == BP_RESULT_OK) { in init_soc_bounding_box()
925 dcn303_fpu_init_soc_bounding_box(bb_info); in init_soc_bounding_box()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn301/
H A Ddcn301_resource.c1310 struct bp_soc_bb_info bb_info = {0}; in init_soc_bounding_box() local
1312 if (dc->ctx->dc_bios->funcs->get_soc_bb_info(dc->ctx->dc_bios, &bb_info) == BP_RESULT_OK) { in init_soc_bounding_box()
1314 dcn301_fpu_init_soc_bounding_box(bb_info); in init_soc_bounding_box()
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn32/
H A Ddcn32_fpu.c3099 struct bp_soc_bb_info bb_info = {0}; in dcn32_update_bw_bounding_box_fpu() local
3101 if (dc->ctx->dc_bios->funcs->get_soc_bb_info(dc->ctx->dc_bios, &bb_info) == BP_RESULT_OK) { in dcn32_update_bw_bounding_box_fpu()
3102 if (bb_info.dram_clock_change_latency_100ns > 0) in dcn32_update_bw_bounding_box_fpu()
3105 bb_info.dram_clock_change_latency_100ns * 10; in dcn32_update_bw_bounding_box_fpu()
3107 if (bb_info.dram_sr_enter_exit_latency_100ns > 0) in dcn32_update_bw_bounding_box_fpu()
3110 bb_info.dram_sr_enter_exit_latency_100ns * 10; in dcn32_update_bw_bounding_box_fpu()
3112 if (bb_info.dram_sr_exit_latency_100ns > 0) in dcn32_update_bw_bounding_box_fpu()
3115 bb_info.dram_sr_exit_latency_100ns * 10; in dcn32_update_bw_bounding_box_fpu()