Lines Matching refs:addressing
656 const struct lpddr2_addressing *addressing, in get_sdram_config_reg() argument
669 config_reg |= addressing->row_sz[cs0_device->io_width] << in get_sdram_config_reg()
672 config_reg |= addressing->num_banks << EMIF_REG_IBANK_SHIFT; in get_sdram_config_reg()
677 config_reg |= addressing->col_sz[cs0_device->io_width] << in get_sdram_config_reg()
684 const struct lpddr2_addressing *addressing) in get_sdram_ref_ctrl() argument
692 val = addressing->t_REFI_us_x10 * freq_khz / 10000; in get_sdram_ref_ctrl()
700 const struct lpddr2_addressing *addressing) in get_sdram_tim_1_reg() argument
706 if (addressing->num_banks == BANKS8) in get_sdram_tim_1_reg()
758 const struct lpddr2_addressing *addressing) in get_sdram_tim_3_reg() argument
761 val = min(timings->tRASmax * 10 / addressing->t_REFI_us_x10 - 1, 0xF); in get_sdram_tim_3_reg()
780 const struct lpddr2_addressing *addressing, in get_zq_config_reg() argument
787 addressing->t_REFI_us_x10; in get_zq_config_reg()
791 addressing->t_REFI_us_x10; in get_zq_config_reg()
818 const struct lpddr2_addressing *addressing, in get_temp_alert_config() argument
823 TEMP_ALERT_POLL_INTERVAL_MS * 10000 / addressing->t_REFI_us_x10; in get_temp_alert_config()
927 const struct lpddr2_addressing *addressing; in emif_calculate_regs() local
972 addressing = &(addressing_table[temp]); in emif_calculate_regs()
973 emif_assert(addressing); in emif_calculate_regs()
979 addressing, RL_BOOT); in emif_calculate_regs()
983 addressing, RL_FINAL); in emif_calculate_regs()
985 regs->ref_ctrl = get_sdram_ref_ctrl(freq, addressing); in emif_calculate_regs()
987 regs->sdram_tim1 = get_sdram_tim_1_reg(timings, min_tck, addressing); in emif_calculate_regs()
991 regs->sdram_tim3 = get_sdram_tim_3_reg(timings, min_tck, addressing); in emif_calculate_regs()
996 get_temp_alert_config(cs1_dev_details, addressing, 0); in emif_calculate_regs()
998 regs->zq_config = get_zq_config_reg(cs1_dev_details, addressing, in emif_calculate_regs()