Lines Matching refs:min_tck
683 const struct lpddr2_min_tck *min_tck, in get_sdram_tim_1_reg() argument
687 val = max(min_tck->tWTR, ns_x2_2_cycles(timings->tWTRx2)) - 1; in get_sdram_tim_1_reg()
694 val = max(min_tck->tRRD, ns_2_cycles(timings->tRRD)) - 1; in get_sdram_tim_1_reg()
701 val = max(min_tck->tRAS_MIN, ns_2_cycles(timings->tRASmin)) - 1; in get_sdram_tim_1_reg()
704 val = max(min_tck->tWR, ns_2_cycles(timings->tWR)) - 1; in get_sdram_tim_1_reg()
707 val = max(min_tck->tRCD, ns_2_cycles(timings->tRCD)) - 1; in get_sdram_tim_1_reg()
710 val = max(min_tck->tRP_AB, ns_2_cycles(timings->tRPab)) - 1; in get_sdram_tim_1_reg()
717 const struct lpddr2_min_tck *min_tck) in get_sdram_tim_2_reg() argument
720 val = max(min_tck->tCKE, timings->tCKE) - 1; in get_sdram_tim_2_reg()
723 val = max(min_tck->tRTP, ns_x2_2_cycles(timings->tRTPx2)) - 1; in get_sdram_tim_2_reg()
734 val = max(min_tck->tXP, ns_x2_2_cycles(timings->tXPx2)) - 1; in get_sdram_tim_2_reg()
741 const struct lpddr2_min_tck *min_tck, in get_sdram_tim_3_reg() argument
757 val = max(min_tck->tCKESR, ns_2_cycles(timings->tCKESR)) - 1; in get_sdram_tim_3_reg()
913 const struct lpddr2_min_tck *min_tck; in emif_calculate_regs() local
949 min_tck = cs0_dev_timings->min_tck; in emif_calculate_regs()
971 regs->sdram_tim1 = get_sdram_tim_1_reg(timings, min_tck, addressing); in emif_calculate_regs()
973 regs->sdram_tim2 = get_sdram_tim_2_reg(timings, min_tck); in emif_calculate_regs()
975 regs->sdram_tim3 = get_sdram_tim_3_reg(timings, min_tck, addressing); in emif_calculate_regs()