Home
last modified time | relevance | path

Searched refs:ns2cyc (Results 1 – 1 of 1) sorted by relevance

/arch/avr32/mach-at32ap/
Dhsmc.c60 #define ns2cyc(x) ((((x) * mul) + 65535) >> 16) in smc_set_timing() macro
63 config->ncs_read_setup = ns2cyc(timing->ncs_read_setup); in smc_set_timing()
66 config->nrd_setup = ns2cyc(timing->nrd_setup); in smc_set_timing()
69 config->ncs_write_setup = ns2cyc(timing->ncs_write_setup); in smc_set_timing()
72 config->nwe_setup = ns2cyc(timing->nwe_setup); in smc_set_timing()
75 config->ncs_read_pulse = ns2cyc(timing->ncs_read_pulse); in smc_set_timing()
78 config->nrd_pulse = ns2cyc(timing->nrd_pulse); in smc_set_timing()
81 config->ncs_write_pulse = ns2cyc(timing->ncs_write_pulse); in smc_set_timing()
84 config->nwe_pulse = ns2cyc(timing->nwe_pulse); in smc_set_timing()
87 config->read_cycle = ns2cyc(timing->read_cycle); in smc_set_timing()
[all …]