Searched refs:IDE_IN (Results 1 – 2 of 2) sorted by relevance
/drivers/ide/ |
D | qd65xx.c | 117 act_cyc = 9 - IDE_IN(active_time * clk / 1000 + 1, 2, 9); in qd6500_compute_timing() 118 rec_cyc = 15 - IDE_IN(recovery_time * clk / 1000 + 1, 0, 15); in qd6500_compute_timing() 120 act_cyc = 8 - IDE_IN(active_time * clk / 1000 + 1, 1, 8); in qd6500_compute_timing() 121 rec_cyc = 18 - IDE_IN(recovery_time * clk / 1000 + 1, 3, 18); in qd6500_compute_timing() 138 act_cyc = 17 - IDE_IN(active_time * clk / 1000 + 1, 2, 17); in qd6580_compute_timing() 139 rec_cyc = 15 - IDE_IN(recovery_time * clk / 1000 + 1, 2, 15); in qd6580_compute_timing()
|
D | qd65xx.h | 11 #define IDE_IN(a,b,c) ( ((a)<(b)) ? (b) : ( (a)>(c) ? (c) : (a)) ) macro
|