bb_info
bios_parser_get_soc_bb_info(&bp->base, &bp->base.bb_info);
struct bp_soc_bb_info bb_info;
struct bp_soc_bb_info bb_info = {0};
if (dc->ctx->dc_bios->funcs->get_soc_bb_info(dc->ctx->dc_bios, &bb_info) == BP_RESULT_OK) {
if (bb_info.dram_clock_change_latency_100ns > 0)
dcn3_0_soc.dram_clock_change_latency_us = bb_info.dram_clock_change_latency_100ns * 10;
if (bb_info.dram_sr_enter_exit_latency_100ns > 0)
dcn3_0_soc.sr_enter_plus_exit_time_us = bb_info.dram_sr_enter_exit_latency_100ns * 10;
if (bb_info.dram_sr_exit_latency_100ns > 0)
dcn3_0_soc.sr_exit_time_us = bb_info.dram_sr_exit_latency_100ns * 10;
void dcn301_fpu_init_soc_bounding_box(struct bp_soc_bb_info bb_info)
if (bb_info.dram_clock_change_latency_100ns > 0)
dcn3_01_soc.dram_clock_change_latency_us = bb_info.dram_clock_change_latency_100ns * 10;
if (bb_info.dram_sr_enter_exit_latency_100ns > 0)
dcn3_01_soc.sr_enter_plus_exit_time_us = bb_info.dram_sr_enter_exit_latency_100ns * 10;
if (bb_info.dram_sr_exit_latency_100ns > 0)
dcn3_01_soc.sr_exit_time_us = bb_info.dram_sr_exit_latency_100ns * 10;
void dcn301_fpu_init_soc_bounding_box(struct bp_soc_bb_info bb_info);
void dcn302_fpu_init_soc_bounding_box(struct bp_soc_bb_info bb_info)
if (bb_info.dram_clock_change_latency_100ns > 0)
bb_info.dram_clock_change_latency_100ns * 10;
if (bb_info.dram_sr_enter_exit_latency_100ns > 0)
bb_info.dram_sr_enter_exit_latency_100ns * 10;
if (bb_info.dram_sr_exit_latency_100ns > 0)
bb_info.dram_sr_exit_latency_100ns * 10;
void dcn302_fpu_init_soc_bounding_box(struct bp_soc_bb_info bb_info);
void dcn303_fpu_init_soc_bounding_box(struct bp_soc_bb_info bb_info)
if (bb_info.dram_clock_change_latency_100ns > 0)
dcn3_03_soc.dram_clock_change_latency_us = bb_info.dram_clock_change_latency_100ns * 10;
if (bb_info.dram_sr_enter_exit_latency_100ns > 0)
dcn3_03_soc.sr_enter_plus_exit_time_us = bb_info.dram_sr_enter_exit_latency_100ns * 10;
if (bb_info.dram_sr_exit_latency_100ns > 0)
dcn3_03_soc.sr_exit_time_us = bb_info.dram_sr_exit_latency_100ns * 10;
void dcn303_fpu_init_soc_bounding_box(struct bp_soc_bb_info bb_info);
struct bp_soc_bb_info bb_info = {0};
if (dc->ctx->dc_bios->funcs->get_soc_bb_info(dc->ctx->dc_bios, &bb_info) == BP_RESULT_OK) {
if (bb_info.dram_clock_change_latency_100ns > 0)
bb_info.dram_clock_change_latency_100ns * 10;
if (bb_info.dram_sr_enter_exit_latency_100ns > 0)
bb_info.dram_sr_enter_exit_latency_100ns * 10;
if (bb_info.dram_sr_exit_latency_100ns > 0)
bb_info.dram_sr_exit_latency_100ns * 10;
struct bp_soc_bb_info bb_info = {0};
if (dc->ctx->dc_bios->funcs->get_soc_bb_info(dc->ctx->dc_bios, &bb_info) == BP_RESULT_OK) {
if (bb_info.dram_clock_change_latency_100ns > 0)
bb_info.dram_clock_change_latency_100ns * 10;
if (bb_info.dram_sr_enter_exit_latency_100ns > 0)
bb_info.dram_sr_enter_exit_latency_100ns * 10;
if (bb_info.dram_sr_exit_latency_100ns > 0)
bb_info.dram_sr_exit_latency_100ns * 10;
struct bp_soc_bb_info bb_info = {0};
if (dc->ctx->dc_bios->funcs->get_soc_bb_info(dc->ctx->dc_bios, &bb_info) == BP_RESULT_OK) {
dcn301_fpu_init_soc_bounding_box(bb_info);
struct bp_soc_bb_info bb_info = { 0 };
dc->ctx->dc_bios, &bb_info) == BP_RESULT_OK) {
dcn302_fpu_init_soc_bounding_box(bb_info);
struct bp_soc_bb_info bb_info = { 0 };
dc->ctx->dc_bios, &bb_info) == BP_RESULT_OK) {
dcn303_fpu_init_soc_bounding_box(bb_info);
if (dc->ctx->dc_bios->bb_info.dram_clock_change_latency_100ns)
dc->ctx->dc_bios->bb_info.dram_clock_change_latency_100ns / 10.0;
if (dc->ctx->dc_bios->bb_info.dram_sr_enter_exit_latency_100ns)
dc->ctx->dc_bios->bb_info.dram_sr_enter_exit_latency_100ns / 10.0;
if (dc->ctx->dc_bios->bb_info.dram_sr_exit_latency_100ns)
dc->ctx->dc_bios->bb_info.dram_sr_exit_latency_100ns / 10.0;
struct bb_info *bitbang = bus->priv;
struct bb_info *bitbang;
bitbang = kzalloc_obj(struct bb_info);
struct bb_info *bitbang = bus->priv;
struct bb_info *bitbang = container_of(ctrl, struct bb_info, ctrl);
struct bb_info *bitbang = container_of(ctrl, struct bb_info, ctrl);
struct bb_info *bitbang = container_of(ctrl, struct bb_info, ctrl);
struct bb_info *bitbang = container_of(ctrl, struct bb_info, ctrl);
struct bb_info *bitbang = container_of(ctrl, struct bb_info, ctrl);
struct bb_info *bitbang = container_of(ctrl, struct bb_info, ctrl);
struct bb_info *bitbang;
bitbang = devm_kzalloc(dev, sizeof(struct bb_info), GFP_KERNEL);