Home
last modified time | relevance | path

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

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