Lines Matching refs:timing
33 const struct smc_timing *timing) in smc_set_timing() argument
62 if (timing->ncs_read_setup > 0) in smc_set_timing()
63 config->ncs_read_setup = ns2cyc(timing->ncs_read_setup); in smc_set_timing()
65 if (timing->nrd_setup > 0) in smc_set_timing()
66 config->nrd_setup = ns2cyc(timing->nrd_setup); in smc_set_timing()
68 if (timing->ncs_write_setup > 0) in smc_set_timing()
69 config->ncs_write_setup = ns2cyc(timing->ncs_write_setup); in smc_set_timing()
71 if (timing->nwe_setup > 0) in smc_set_timing()
72 config->nwe_setup = ns2cyc(timing->nwe_setup); in smc_set_timing()
74 if (timing->ncs_read_pulse > 0) in smc_set_timing()
75 config->ncs_read_pulse = ns2cyc(timing->ncs_read_pulse); in smc_set_timing()
77 if (timing->nrd_pulse > 0) in smc_set_timing()
78 config->nrd_pulse = ns2cyc(timing->nrd_pulse); in smc_set_timing()
80 if (timing->ncs_write_pulse > 0) in smc_set_timing()
81 config->ncs_write_pulse = ns2cyc(timing->ncs_write_pulse); in smc_set_timing()
83 if (timing->nwe_pulse > 0) in smc_set_timing()
84 config->nwe_pulse = ns2cyc(timing->nwe_pulse); in smc_set_timing()
86 if (timing->read_cycle > 0) in smc_set_timing()
87 config->read_cycle = ns2cyc(timing->read_cycle); in smc_set_timing()
89 if (timing->write_cycle > 0) in smc_set_timing()
90 config->write_cycle = ns2cyc(timing->write_cycle); in smc_set_timing()
93 if (timing->ncs_read_recover > 0) in smc_set_timing()
94 recover = ns2cyc(timing->ncs_read_recover); in smc_set_timing()
104 if (timing->nrd_recover > 0) in smc_set_timing()
105 recover = ns2cyc(timing->nrd_recover); in smc_set_timing()
115 if (timing->ncs_write_recover > 0) in smc_set_timing()
116 recover = ns2cyc(timing->ncs_write_recover); in smc_set_timing()
126 if (timing->nwe_recover > 0) in smc_set_timing()
127 recover = ns2cyc(timing->nwe_recover); in smc_set_timing()