Lines Matching refs:tmgs
789 struct pl35x_nand_timings tmgs = {}; in pl35x_nfc_setup_interface() local
819 tmgs.t_rc = val; in pl35x_nfc_setup_interface()
820 if (tmgs.t_rc != val || tmgs.t_rc < 2) in pl35x_nfc_setup_interface()
824 tmgs.t_wc = val; in pl35x_nfc_setup_interface()
825 if (tmgs.t_wc != val || tmgs.t_wc < 2) in pl35x_nfc_setup_interface()
832 tmgs.t_rea = 1; in pl35x_nfc_setup_interface()
835 tmgs.t_wp = val; in pl35x_nfc_setup_interface()
836 if (tmgs.t_wp != val || tmgs.t_wp < 1) in pl35x_nfc_setup_interface()
840 tmgs.t_clr = val; in pl35x_nfc_setup_interface()
841 if (tmgs.t_clr != val) in pl35x_nfc_setup_interface()
845 tmgs.t_ar = val; in pl35x_nfc_setup_interface()
846 if (tmgs.t_ar != val) in pl35x_nfc_setup_interface()
850 tmgs.t_rr = val; in pl35x_nfc_setup_interface()
851 if (tmgs.t_rr != val) in pl35x_nfc_setup_interface()
857 plnand->timings = PL35X_SMC_NAND_TRC_CYCLES(tmgs.t_rc) | in pl35x_nfc_setup_interface()
858 PL35X_SMC_NAND_TWC_CYCLES(tmgs.t_wc) | in pl35x_nfc_setup_interface()
859 PL35X_SMC_NAND_TREA_CYCLES(tmgs.t_rea) | in pl35x_nfc_setup_interface()
860 PL35X_SMC_NAND_TWP_CYCLES(tmgs.t_wp) | in pl35x_nfc_setup_interface()
861 PL35X_SMC_NAND_TCLR_CYCLES(tmgs.t_clr) | in pl35x_nfc_setup_interface()
862 PL35X_SMC_NAND_TAR_CYCLES(tmgs.t_ar) | in pl35x_nfc_setup_interface()
863 PL35X_SMC_NAND_TRR_CYCLES(tmgs.t_rr); in pl35x_nfc_setup_interface()