Lines Matching refs:t
637 struct extif_timings *t; in calc_reg_timing() local
652 t = &hwa742.reg_timings; in calc_reg_timing()
653 memset(t, 0, sizeof(*t)); in calc_reg_timing()
654 t->clk_div = div; in calc_reg_timing()
655 t->cs_on_time = 0; in calc_reg_timing()
656 t->we_on_time = round_to_extif_ticks(t->cs_on_time + 2000, div); in calc_reg_timing()
657 t->re_on_time = round_to_extif_ticks(t->cs_on_time + 2000, div); in calc_reg_timing()
658 t->access_time = round_to_extif_ticks(t->re_on_time + 12200, div); in calc_reg_timing()
659 t->we_off_time = round_to_extif_ticks(t->we_on_time + 1000, div); in calc_reg_timing()
660 t->re_off_time = round_to_extif_ticks(t->re_on_time + 16000, div); in calc_reg_timing()
661 t->cs_off_time = round_to_extif_ticks(t->re_off_time + 1000, div); in calc_reg_timing()
662 t->we_cycle_time = round_to_extif_ticks(2 * systim + 2000, div); in calc_reg_timing()
663 if (t->we_cycle_time < t->we_off_time) in calc_reg_timing()
664 t->we_cycle_time = t->we_off_time; in calc_reg_timing()
665 t->re_cycle_time = round_to_extif_ticks(2 * systim + 2000, div); in calc_reg_timing()
666 if (t->re_cycle_time < t->re_off_time) in calc_reg_timing()
667 t->re_cycle_time = t->re_off_time; in calc_reg_timing()
668 t->cs_pulse_width = 0; in calc_reg_timing()
671 t->cs_on_time, t->cs_off_time, t->re_on_time, t->re_off_time); in calc_reg_timing()
673 t->we_on_time, t->we_off_time, t->re_cycle_time, in calc_reg_timing()
674 t->we_cycle_time); in calc_reg_timing()
676 t->access_time, t->cs_pulse_width); in calc_reg_timing()
678 return hwa742.extif->convert_timings(t); in calc_reg_timing()
683 struct extif_timings *t; in calc_lut_timing() local
699 t = &hwa742.lut_timings; in calc_lut_timing()
700 memset(t, 0, sizeof(*t)); in calc_lut_timing()
702 t->clk_div = div; in calc_lut_timing()
704 t->cs_on_time = 0; in calc_lut_timing()
705 t->we_on_time = round_to_extif_ticks(t->cs_on_time + 2000, div); in calc_lut_timing()
706 t->re_on_time = round_to_extif_ticks(t->cs_on_time + 2000, div); in calc_lut_timing()
707 t->access_time = round_to_extif_ticks(t->re_on_time + 4 * systim + in calc_lut_timing()
709 t->we_off_time = round_to_extif_ticks(t->we_on_time + 1000, div); in calc_lut_timing()
710 t->re_off_time = round_to_extif_ticks(t->re_on_time + 4 * systim + in calc_lut_timing()
712 t->cs_off_time = round_to_extif_ticks(t->re_off_time + 1000, div); in calc_lut_timing()
713 t->we_cycle_time = round_to_extif_ticks(2 * systim + 2000, div); in calc_lut_timing()
714 if (t->we_cycle_time < t->we_off_time) in calc_lut_timing()
715 t->we_cycle_time = t->we_off_time; in calc_lut_timing()
716 t->re_cycle_time = round_to_extif_ticks(2000 + 4 * systim + 26000, div); in calc_lut_timing()
717 if (t->re_cycle_time < t->re_off_time) in calc_lut_timing()
718 t->re_cycle_time = t->re_off_time; in calc_lut_timing()
719 t->cs_pulse_width = 0; in calc_lut_timing()
722 t->cs_on_time, t->cs_off_time, t->re_on_time, t->re_off_time); in calc_lut_timing()
724 t->we_on_time, t->we_off_time, t->re_cycle_time, in calc_lut_timing()
725 t->we_cycle_time); in calc_lut_timing()
727 t->access_time, t->cs_pulse_width); in calc_lut_timing()
729 return hwa742.extif->convert_timings(t); in calc_lut_timing()