Lines Matching full:addressing
44 * @addressing table with addressing information from the spec
64 const struct lpddr2_addressing *addressing; member
301 /* Find addressing table entry based on the device's type and density */
371 const struct lpddr2_addressing *addressing) in get_sdram_ref_ctrl_shdw() argument
377 t_refi = addressing->tREFI_ns / 100; in get_sdram_ref_ctrl_shdw()
391 const struct lpddr2_addressing *addressing) in get_sdram_tim_1_shdw() argument
398 if (addressing->num_banks == B8) in get_sdram_tim_1_shdw()
424 const struct lpddr2_addressing *addressing) in get_sdram_tim_1_shdw_derated() argument
435 if (addressing->num_banks == B8) { in get_sdram_tim_1_shdw_derated()
464 const struct lpddr2_addressing *addressing, in get_sdram_tim_2_shdw() argument
476 val = DIV_ROUND_UP(addressing->tRFCab_ps + 10000, t_ck) - 1; in get_sdram_tim_2_shdw()
490 const struct lpddr2_addressing *addressing, in get_sdram_tim_3_shdw() argument
495 val = timings->tRAS_max_ns / addressing->tREFI_ns - 1; in get_sdram_tim_3_shdw()
499 val = DIV_ROUND_UP(addressing->tRFCab_ps, t_ck) - 1; in get_sdram_tim_3_shdw()
528 static u32 get_zq_config_reg(const struct lpddr2_addressing *addressing, in get_zq_config_reg() argument
533 val = EMIF_ZQCS_INTERVAL_US * 1000 / addressing->tREFI_ns; in get_zq_config_reg()
557 static u32 get_temp_alert_config(const struct lpddr2_addressing *addressing, in get_temp_alert_config() argument
570 interval /= addressing->tREFI_ns; /* Convert to refresh cycles */ in get_temp_alert_config()
1095 const struct lpddr2_addressing *addressing; in emif_onetime_settings() local
1099 addressing = get_addressing_table(device_info); in emif_onetime_settings()
1112 zq = get_zq_config_reg(addressing, device_info->cs1_used, in emif_onetime_settings()
1122 temp_alert_cfg = get_temp_alert_config(addressing, in emif_onetime_settings()
1511 emif->addressing = get_addressing_table(emif->plat_data->device_info); in emif_probe()
1575 const struct lpddr2_addressing *addressing; in get_emif_reg_values() local
1586 addressing = emif_for_calc->addressing; in get_emif_reg_values()
1587 if (!timings || !addressing) { in get_emif_reg_values()
1602 regs->ref_ctrl_shdw = get_sdram_ref_ctrl_shdw(freq, addressing); in get_emif_reg_values()
1604 addressing); in get_emif_reg_values()
1606 addressing, type); in get_emif_reg_values()
1608 addressing, type, ip_rev, EMIF_NORMAL_TIMINGS); in get_emif_reg_values()
1645 addressing); in get_emif_reg_values()
1649 addressing); in get_emif_reg_values()
1652 min_tck, addressing, type, ip_rev, in get_emif_reg_values()