• Home
  • Raw
  • Download

Lines Matching refs:addressing

640 				const struct lpddr2_addressing *addressing,  in get_sdram_config_reg()  argument
653 config_reg |= addressing->row_sz[cs0_device->io_width] << in get_sdram_config_reg()
656 config_reg |= addressing->num_banks << EMIF_REG_IBANK_SHIFT; in get_sdram_config_reg()
661 config_reg |= addressing->col_sz[cs0_device->io_width] << in get_sdram_config_reg()
668 const struct lpddr2_addressing *addressing) in get_sdram_ref_ctrl() argument
676 val = addressing->t_REFI_us_x10 * freq_khz / 10000; in get_sdram_ref_ctrl()
684 const struct lpddr2_addressing *addressing) in get_sdram_tim_1_reg() argument
690 if (addressing->num_banks == BANKS8) in get_sdram_tim_1_reg()
742 const struct lpddr2_addressing *addressing) in get_sdram_tim_3_reg() argument
745 val = min(timings->tRASmax * 10 / addressing->t_REFI_us_x10 - 1, 0xF); in get_sdram_tim_3_reg()
764 const struct lpddr2_addressing *addressing, in get_zq_config_reg() argument
771 addressing->t_REFI_us_x10; in get_zq_config_reg()
775 addressing->t_REFI_us_x10; in get_zq_config_reg()
802 const struct lpddr2_addressing *addressing, in get_temp_alert_config() argument
807 TEMP_ALERT_POLL_INTERVAL_MS * 10000 / addressing->t_REFI_us_x10; in get_temp_alert_config()
911 const struct lpddr2_addressing *addressing; in emif_calculate_regs() local
956 addressing = &(addressing_table[temp]); in emif_calculate_regs()
957 emif_assert(addressing); in emif_calculate_regs()
963 addressing, RL_BOOT); in emif_calculate_regs()
967 addressing, RL_FINAL); in emif_calculate_regs()
969 regs->ref_ctrl = get_sdram_ref_ctrl(freq, addressing); in emif_calculate_regs()
971 regs->sdram_tim1 = get_sdram_tim_1_reg(timings, min_tck, addressing); in emif_calculate_regs()
975 regs->sdram_tim3 = get_sdram_tim_3_reg(timings, min_tck, addressing); in emif_calculate_regs()
980 get_temp_alert_config(cs1_dev_details, addressing, 0); in emif_calculate_regs()
982 regs->zq_config = get_zq_config_reg(cs1_dev_details, addressing, in emif_calculate_regs()