Home
last modified time | relevance | path

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

/drivers/ata/
Dpata_mpc52xx.c75 #define CALC_CLKCYC(c,v) ((((v)+(c)-1)/(c))) macro
278 t0 = CALC_CLKCYC(ipb_period, 1000 * ataspec_t0[pio]); in mpc52xx_ata_compute_pio_timings()
279 t1 = CALC_CLKCYC(ipb_period, 1000 * ataspec_t1[pio]); in mpc52xx_ata_compute_pio_timings()
280 t2_8 = CALC_CLKCYC(ipb_period, 1000 * ataspec_t2_8[pio]); in mpc52xx_ata_compute_pio_timings()
281 t2_16 = CALC_CLKCYC(ipb_period, 1000 * ataspec_t2_16[pio]); in mpc52xx_ata_compute_pio_timings()
282 t2i = CALC_CLKCYC(ipb_period, 1000 * ataspec_t2i[pio]); in mpc52xx_ata_compute_pio_timings()
283 t4 = CALC_CLKCYC(ipb_period, 1000 * ataspec_t4[pio]); in mpc52xx_ata_compute_pio_timings()
284 ta = CALC_CLKCYC(ipb_period, 1000 * ataspec_ta[pio]); in mpc52xx_ata_compute_pio_timings()
370 tslot = CALC_CLKCYC(priv->ipb_period, 1000000); in mpc52xx_ata_hw_init()