Lines Matching refs:addressing
64 const struct lpddr2_addressing *addressing; member
413 const struct lpddr2_addressing *addressing) in get_sdram_ref_ctrl_shdw() argument
419 t_refi = addressing->tREFI_ns / 100; in get_sdram_ref_ctrl_shdw()
433 const struct lpddr2_addressing *addressing) in get_sdram_tim_1_shdw() argument
440 if (addressing->num_banks == B8) in get_sdram_tim_1_shdw()
466 const struct lpddr2_addressing *addressing) in get_sdram_tim_1_shdw_derated() argument
477 if (addressing->num_banks == B8) { in get_sdram_tim_1_shdw_derated()
506 const struct lpddr2_addressing *addressing, in get_sdram_tim_2_shdw() argument
518 val = DIV_ROUND_UP(addressing->tRFCab_ps + 10000, t_ck) - 1; in get_sdram_tim_2_shdw()
532 const struct lpddr2_addressing *addressing, in get_sdram_tim_3_shdw() argument
537 val = timings->tRAS_max_ns / addressing->tREFI_ns - 1; in get_sdram_tim_3_shdw()
541 val = DIV_ROUND_UP(addressing->tRFCab_ps, t_ck) - 1; in get_sdram_tim_3_shdw()
570 static u32 get_zq_config_reg(const struct lpddr2_addressing *addressing, in get_zq_config_reg() argument
575 val = EMIF_ZQCS_INTERVAL_US * 1000 / addressing->tREFI_ns; in get_zq_config_reg()
599 static u32 get_temp_alert_config(const struct lpddr2_addressing *addressing, in get_temp_alert_config() argument
612 interval /= addressing->tREFI_ns; /* Convert to refresh cycles */ in get_temp_alert_config()
1138 const struct lpddr2_addressing *addressing; in emif_onetime_settings() local
1142 addressing = get_addressing_table(device_info); in emif_onetime_settings()
1155 zq = get_zq_config_reg(addressing, device_info->cs1_used, in emif_onetime_settings()
1165 temp_alert_cfg = get_temp_alert_config(addressing, in emif_onetime_settings()
1554 emif->addressing = get_addressing_table(emif->plat_data->device_info); in emif_probe()
1621 const struct lpddr2_addressing *addressing; in get_emif_reg_values() local
1633 addressing = emif_for_calc->addressing; in get_emif_reg_values()
1634 if (!timings || !addressing) { in get_emif_reg_values()
1651 regs->ref_ctrl_shdw = get_sdram_ref_ctrl_shdw(freq, addressing); in get_emif_reg_values()
1653 addressing); in get_emif_reg_values()
1655 addressing, type); in get_emif_reg_values()
1657 addressing, type, ip_rev, EMIF_NORMAL_TIMINGS); in get_emif_reg_values()
1694 addressing); in get_emif_reg_values()
1698 addressing); in get_emif_reg_values()
1701 min_tck, addressing, type, ip_rev, in get_emif_reg_values()